From 28da8399877a4af80eb97f7d7a41092fb96d16cb Mon Sep 17 00:00:00 2001 From: jfcarroll Date: Thu, 2 Jun 2022 12:03:26 -0700 Subject: [PATCH] Latest update for winrt PiperOrigin-RevId: 452591835 --- .../Windows.AI.MachineLearning.Preview.h | 96 +- .../winrt/Windows.AI.MachineLearning.h | 308 +- .../Windows.ApplicationModel.Activation.h | 196 +- .../Windows.ApplicationModel.AppExtensions.h | 80 +- .../Windows.ApplicationModel.AppService.h | 72 +- ...nModel.Appointments.AppointmentsProvider.h | 58 +- ...plicationModel.Appointments.DataProvider.h | 158 +- .../Windows.ApplicationModel.Appointments.h | 492 +- .../Windows.ApplicationModel.Background.h | 364 +- ...indows.ApplicationModel.Calls.Background.h | 40 +- .../Windows.ApplicationModel.Calls.Provider.h | 36 +- .../winrt/Windows.ApplicationModel.Calls.h | 444 +- .../winrt/Windows.ApplicationModel.Chat.h | 504 +- ...s.ApplicationModel.CommunicationBlocking.h | 24 +- ...s.ApplicationModel.Contacts.DataProvider.h | 86 +- ...ndows.ApplicationModel.Contacts.Provider.h | 28 +- .../winrt/Windows.ApplicationModel.Contacts.h | 868 +- ...ows.ApplicationModel.ConversationalAgent.h | 212 +- .../winrt/Windows.ApplicationModel.Core.h | 190 +- ...licationModel.DataTransfer.DragDrop.Core.h | 76 +- ...s.ApplicationModel.DataTransfer.DragDrop.h | 6 +- ...pplicationModel.DataTransfer.ShareTarget.h | 44 +- .../Windows.ApplicationModel.DataTransfer.h | 386 +- ...dows.ApplicationModel.Email.DataProvider.h | 320 +- .../winrt/Windows.ApplicationModel.Email.h | 756 +- ...cationModel.ExtendedExecution.Foreground.h | 24 +- ...ndows.ApplicationModel.ExtendedExecution.h | 28 +- .../Windows.ApplicationModel.Holographic.h | 14 +- .../Windows.ApplicationModel.LockScreen.h | 64 +- ...ndows.ApplicationModel.Payments.Provider.h | 42 +- .../winrt/Windows.ApplicationModel.Payments.h | 252 +- ...ows.ApplicationModel.Preview.Holographic.h | 18 +- ...ws.ApplicationModel.Preview.InkWorkspace.h | 10 +- .../Windows.ApplicationModel.Preview.Notes.h | 62 +- .../Windows.ApplicationModel.Resources.Core.h | 102 +- ...ws.ApplicationModel.Resources.Management.h | 30 +- .../Windows.ApplicationModel.Resources.h | 26 +- .../Windows.ApplicationModel.Search.Core.h | 62 +- .../winrt/Windows.ApplicationModel.Search.h | 140 +- ...ows.ApplicationModel.SocialInfo.Provider.h | 44 +- .../Windows.ApplicationModel.SocialInfo.h | 126 +- ...ApplicationModel.Store.LicenseManagement.h | 30 +- ...cationModel.Store.Preview.InstallControl.h | 260 +- .../Windows.ApplicationModel.Store.Preview.h | 114 +- .../winrt/Windows.ApplicationModel.Store.h | 170 +- ...ows.ApplicationModel.UserActivities.Core.h | 10 +- .../Windows.ApplicationModel.UserActivities.h | 132 +- ...plicationModel.UserDataAccounts.Provider.h | 28 +- ...ationModel.UserDataAccounts.SystemAccess.h | 192 +- ...indows.ApplicationModel.UserDataAccounts.h | 92 +- ...licationModel.UserDataTasks.DataProvider.h | 98 +- .../Windows.ApplicationModel.UserDataTasks.h | 202 +- .../Windows.ApplicationModel.VoiceCommands.h | 116 +- .../Windows.ApplicationModel.Wallet.System.h | 24 +- .../winrt/Windows.ApplicationModel.Wallet.h | 210 +- .../winrt/Windows.ApplicationModel.h | 364 +- .../generated/winrt/Windows.Data.Html.h | 8 +- .../generated/winrt/Windows.Data.Json.h | 78 +- .../generated/winrt/Windows.Data.Pdf.h | 70 +- .../generated/winrt/Windows.Data.Text.h | 126 +- .../generated/winrt/Windows.Data.Xml.Dom.h | 234 +- .../generated/winrt/Windows.Data.Xml.Xsl.h | 12 +- .../winrt/Windows.Devices.Adc.Provider.h | 28 +- .../generated/winrt/Windows.Devices.Adc.h | 32 +- .../generated/winrt/Windows.Devices.AllJoyn.h | 344 +- .../winrt/Windows.Devices.Background.h | 16 +- .../Windows.Devices.Bluetooth.Advertisement.h | 216 +- .../Windows.Devices.Bluetooth.Background.h | 60 +- ...evices.Bluetooth.GenericAttributeProfile.h | 750 +- .../winrt/Windows.Devices.Bluetooth.Rfcomm.h | 76 +- .../winrt/Windows.Devices.Bluetooth.h | 328 +- .../generated/winrt/Windows.Devices.Custom.h | 32 +- .../winrt/Windows.Devices.Display.Core.h | 300 +- .../generated/winrt/Windows.Devices.Display.h | 54 +- .../winrt/Windows.Devices.Enumeration.Pnp.h | 66 +- .../winrt/Windows.Devices.Enumeration.h | 260 +- .../Windows.Devices.Geolocation.Geofencing.h | 58 +- .../winrt/Windows.Devices.Geolocation.h | 190 +- .../winrt/Windows.Devices.Gpio.Provider.h | 40 +- .../generated/winrt/Windows.Devices.Gpio.h | 94 +- .../generated/winrt/Windows.Devices.Haptics.h | 56 +- .../Windows.Devices.HumanInterfaceDevice.h | 182 +- .../winrt/Windows.Devices.I2c.Provider.h | 36 +- .../generated/winrt/Windows.Devices.I2c.h | 48 +- .../winrt/Windows.Devices.Input.Preview.h | 106 +- .../generated/winrt/Windows.Devices.Input.h | 104 +- .../winrt/Windows.Devices.Lights.Effects.h | 160 +- .../generated/winrt/Windows.Devices.Lights.h | 112 +- .../generated/winrt/Windows.Devices.Midi.h | 114 +- .../Windows.Devices.Perception.Provider.h | 110 +- .../winrt/Windows.Devices.Perception.h | 510 +- .../Windows.Devices.PointOfService.Provider.h | 232 +- .../winrt/Windows.Devices.PointOfService.h | 1418 +-- .../winrt/Windows.Devices.Portable.h | 14 +- .../generated/winrt/Windows.Devices.Power.h | 32 +- .../Windows.Devices.Printers.Extensions.h | 64 +- .../winrt/Windows.Devices.Printers.h | 18 +- .../winrt/Windows.Devices.Pwm.Provider.h | 28 +- .../generated/winrt/Windows.Devices.Pwm.h | 44 +- .../generated/winrt/Windows.Devices.Radios.h | 28 +- .../winrt/Windows.Devices.Scanners.h | 134 +- .../winrt/Windows.Devices.Sensors.Custom.h | 40 +- .../generated/winrt/Windows.Devices.Sensors.h | 702 +- .../Windows.Devices.SerialCommunication.h | 88 +- .../winrt/Windows.Devices.SmartCards.h | 412 +- .../generated/winrt/Windows.Devices.Sms.h | 358 +- .../winrt/Windows.Devices.Spi.Provider.h | 44 +- .../generated/winrt/Windows.Devices.Spi.h | 62 +- .../generated/winrt/Windows.Devices.Usb.h | 270 +- .../generated/winrt/Windows.Devices.WiFi.h | 70 +- .../Windows.Devices.WiFiDirect.Services.h | 154 +- .../winrt/Windows.Devices.WiFiDirect.h | 110 +- .../windows/generated/winrt/Windows.Devices.h | 22 +- .../winrt/Windows.Embedded.DeviceLockdown.h | 16 +- .../winrt/Windows.Foundation.Collections.h | 94 +- .../winrt/Windows.Foundation.Diagnostics.h | 402 +- .../winrt/Windows.Foundation.Metadata.h | 26 +- .../winrt/Windows.Foundation.Numerics.h | 6 +- .../generated/winrt/Windows.Foundation.h | 338 +- .../winrt/Windows.Gaming.Input.Custom.h | 66 +- .../Windows.Gaming.Input.ForceFeedback.h | 64 +- .../winrt/Windows.Gaming.Input.Preview.h | 10 +- .../generated/winrt/Windows.Gaming.Input.h | 244 +- .../Windows.Gaming.Preview.GamesEnumeration.h | 112 +- .../generated/winrt/Windows.Gaming.UI.h | 60 +- .../winrt/Windows.Gaming.XboxLive.Storage.h | 82 +- .../winrt/Windows.Globalization.Collation.h | 14 +- ...Windows.Globalization.DateTimeFormatting.h | 66 +- .../winrt/Windows.Globalization.Fonts.h | 40 +- .../Windows.Globalization.NumberFormatting.h | 124 +- ...dows.Globalization.PhoneNumberFormatting.h | 46 +- .../generated/winrt/Windows.Globalization.h | 738 +- .../winrt/Windows.Graphics.Capture.h | 62 +- .../Windows.Graphics.DirectX.Direct3D11.h | 10 +- .../winrt/Windows.Graphics.DirectX.h | 6 +- .../winrt/Windows.Graphics.Display.Core.h | 50 +- .../winrt/Windows.Graphics.Display.h | 268 +- .../winrt/Windows.Graphics.Effects.h | 10 +- .../winrt/Windows.Graphics.Holographic.h | 280 +- .../winrt/Windows.Graphics.Imaging.h | 218 +- .../Windows.Graphics.Printing.OptionDetails.h | 200 +- .../Windows.Graphics.Printing.PrintTicket.h | 166 +- .../Windows.Graphics.Printing.Workflow.h | 92 +- .../winrt/Windows.Graphics.Printing.h | 214 +- .../winrt/Windows.Graphics.Printing3D.h | 318 +- .../generated/winrt/Windows.Graphics.h | 6 +- .../generated/winrt/Windows.Management.Core.h | 8 +- .../Windows.Management.Deployment.Preview.h | 12 +- .../winrt/Windows.Management.Deployment.h | 338 +- .../winrt/Windows.Management.Policies.h | 38 +- .../winrt/Windows.Management.Update.h | 20 +- .../winrt/Windows.Management.Workplace.h | 18 +- .../generated/winrt/Windows.Management.h | 56 +- .../winrt/Windows.Media.AppBroadcasting.h | 42 +- .../winrt/Windows.Media.AppRecording.h | 62 +- .../generated/winrt/Windows.Media.Audio.h | 604 +- .../winrt/Windows.Media.Capture.Core.h | 34 +- .../winrt/Windows.Media.Capture.Frames.h | 192 +- .../generated/winrt/Windows.Media.Capture.h | 1298 +-- .../generated/winrt/Windows.Media.Casting.h | 94 +- .../winrt/Windows.Media.ClosedCaptioning.h | 30 +- .../winrt/Windows.Media.ContentRestrictions.h | 48 +- .../generated/winrt/Windows.Media.Control.h | 154 +- .../winrt/Windows.Media.Core.Preview.h | 18 +- .../generated/winrt/Windows.Media.Core.h | 1000 +- .../winrt/Windows.Media.Devices.Core.h | 166 +- .../generated/winrt/Windows.Media.Devices.h | 674 +- .../winrt/Windows.Media.DialProtocol.h | 80 +- .../generated/winrt/Windows.Media.Editing.h | 150 +- .../generated/winrt/Windows.Media.Effects.h | 166 +- .../winrt/Windows.Media.FaceAnalysis.h | 46 +- .../generated/winrt/Windows.Media.Import.h | 280 +- .../winrt/Windows.Media.MediaProperties.h | 318 +- .../generated/winrt/Windows.Media.Miracast.h | 236 +- .../generated/winrt/Windows.Media.Ocr.h | 34 +- .../generated/winrt/Windows.Media.PlayTo.h | 220 +- .../generated/winrt/Windows.Media.Playback.h | 860 +- .../generated/winrt/Windows.Media.Playlists.h | 16 +- .../Windows.Media.Protection.PlayReady.h | 358 +- .../winrt/Windows.Media.Protection.h | 74 +- .../generated/winrt/Windows.Media.Render.h | 6 +- .../winrt/Windows.Media.SpeechRecognition.h | 190 +- .../winrt/Windows.Media.SpeechSynthesis.h | 62 +- .../winrt/Windows.Media.Streaming.Adaptive.h | 260 +- .../winrt/Windows.Media.Transcoding.h | 48 +- .../windows/generated/winrt/Windows.Media.h | 492 +- .../Windows.Networking.BackgroundTransfer.h | 238 +- .../winrt/Windows.Networking.Connectivity.h | 280 +- .../Windows.Networking.NetworkOperators.h | 872 +- .../winrt/Windows.Networking.Proximity.h | 170 +- .../Windows.Networking.PushNotifications.h | 72 +- ...indows.Networking.ServiceDiscovery.Dnssd.h | 68 +- .../winrt/Windows.Networking.Sockets.h | 488 +- .../generated/winrt/Windows.Networking.Vpn.h | 446 +- .../winrt/Windows.Networking.XboxLive.h | 180 +- .../generated/winrt/Windows.Networking.h | 40 +- .../Windows.Perception.Automation.Core.h | 8 +- .../winrt/Windows.Perception.People.h | 52 +- .../Windows.Perception.Spatial.Preview.h | 26 +- .../Windows.Perception.Spatial.Surfaces.h | 74 +- .../winrt/Windows.Perception.Spatial.h | 216 +- .../generated/winrt/Windows.Perception.h | 16 +- .../winrt/Windows.Phone.ApplicationModel.h | 8 +- .../Windows.Phone.Devices.Notification.h | 12 +- .../winrt/Windows.Phone.Devices.Power.h | 18 +- .../Windows.Phone.Management.Deployment.h | 54 +- .../winrt/Windows.Phone.Media.Devices.h | 20 +- .../Windows.Phone.Notification.Management.h | 326 +- ...s.Phone.PersonalInformation.Provisioning.h | 16 +- .../winrt/Windows.Phone.PersonalInformation.h | 200 +- .../winrt/Windows.Phone.Speech.Recognition.h | 6 +- .../winrt/Windows.Phone.StartScreen.h | 36 +- .../winrt/Windows.Phone.System.Power.h | 20 +- .../winrt/Windows.Phone.System.Profile.h | 8 +- ...one.System.UserProfile.GameServices.Core.h | 28 +- .../generated/winrt/Windows.Phone.System.h | 10 +- .../generated/winrt/Windows.Phone.UI.Input.h | 50 +- ...ws.Security.Authentication.Identity.Core.h | 60 +- ...ecurity.Authentication.Identity.Provider.h | 84 +- ...Windows.Security.Authentication.Identity.h | 20 +- ...Windows.Security.Authentication.OnlineId.h | 72 +- ...Windows.Security.Authentication.Web.Core.h | 120 +- ...ows.Security.Authentication.Web.Provider.h | 134 +- .../Windows.Security.Authentication.Web.h | 28 +- ...curity.Authorization.AppCapabilityAccess.h | 28 +- .../winrt/Windows.Security.Credentials.UI.h | 70 +- .../winrt/Windows.Security.Credentials.h | 104 +- ...ndows.Security.Cryptography.Certificates.h | 422 +- .../Windows.Security.Cryptography.Core.h | 356 +- ...ows.Security.Cryptography.DataProtection.h | 16 +- .../winrt/Windows.Security.Cryptography.h | 28 +- .../winrt/Windows.Security.DataProtection.h | 34 +- .../winrt/Windows.Security.EnterpriseData.h | 228 +- ....Security.ExchangeActiveSyncProvisioning.h | 78 +- .../winrt/Windows.Security.Isolation.h | 182 +- .../winrt/Windows.Services.Cortana.h | 54 +- .../winrt/Windows.Services.Maps.Guidance.h | 228 +- .../winrt/Windows.Services.Maps.LocalSearch.h | 62 +- .../winrt/Windows.Services.Maps.OfflineMaps.h | 34 +- .../generated/winrt/Windows.Services.Maps.h | 228 +- .../generated/winrt/Windows.Services.Store.h | 396 +- .../winrt/Windows.Services.TargetedContent.h | 140 +- .../winrt/Windows.Storage.AccessCache.h | 58 +- .../winrt/Windows.Storage.BulkAccess.h | 56 +- .../winrt/Windows.Storage.Compression.h | 18 +- .../winrt/Windows.Storage.FileProperties.h | 178 +- .../winrt/Windows.Storage.Pickers.Provider.h | 82 +- .../generated/winrt/Windows.Storage.Pickers.h | 110 +- .../winrt/Windows.Storage.Provider.h | 238 +- .../generated/winrt/Windows.Storage.Search.h | 184 +- .../generated/winrt/Windows.Storage.Streams.h | 188 +- .../windows/generated/winrt/Windows.Storage.h | 546 +- .../Windows.System.Diagnostics.DevicePortal.h | 42 +- .../Windows.System.Diagnostics.Telemetry.h | 20 +- ...indows.System.Diagnostics.TraceReporting.h | 38 +- .../winrt/Windows.System.Diagnostics.h | 116 +- .../generated/winrt/Windows.System.Display.h | 10 +- ...ndows.System.Implementation.FileExplorer.h | 22 +- .../winrt/Windows.System.Inventory.h | 16 +- .../winrt/Windows.System.Power.Diagnostics.h | 18 +- .../generated/winrt/Windows.System.Power.h | 134 +- .../generated/winrt/Windows.System.Preview.h | 30 +- ...ndows.System.Profile.SystemManufacturers.h | 34 +- .../generated/winrt/Windows.System.Profile.h | 138 +- .../winrt/Windows.System.RemoteDesktop.h | 8 +- .../winrt/Windows.System.RemoteSystems.h | 330 +- .../winrt/Windows.System.Threading.Core.h | 26 +- .../winrt/Windows.System.Threading.h | 26 +- .../generated/winrt/Windows.System.Update.h | 82 +- .../winrt/Windows.System.UserProfile.h | 122 +- .../windows/generated/winrt/Windows.System.h | 592 +- .../winrt/Windows.UI.Accessibility.h | 18 +- .../winrt/Windows.UI.ApplicationSettings.h | 86 +- .../winrt/Windows.UI.Composition.Core.h | 18 +- .../winrt/Windows.UI.Composition.Desktop.h | 8 +- .../Windows.UI.Composition.Diagnostics.h | 18 +- .../winrt/Windows.UI.Composition.Effects.h | 30 +- .../Windows.UI.Composition.Interactions.h | 282 +- .../winrt/Windows.UI.Composition.Scenes.h | 158 +- .../generated/winrt/Windows.UI.Composition.h | 1440 +-- .../winrt/Windows.UI.Core.AnimationMetrics.h | 42 +- .../Windows.UI.Core.Preview.Communications.h | 102 +- .../generated/winrt/Windows.UI.Core.Preview.h | 22 +- .../windows/generated/winrt/Windows.UI.Core.h | 502 +- .../generated/winrt/Windows.UI.Input.Core.h | 14 +- .../winrt/Windows.UI.Input.Inking.Analysis.h | 70 +- .../winrt/Windows.UI.Input.Inking.Core.h | 112 +- .../winrt/Windows.UI.Input.Inking.Preview.h | 10 +- .../generated/winrt/Windows.UI.Input.Inking.h | 420 +- .../Windows.UI.Input.Preview.Injection.h | 144 +- .../winrt/Windows.UI.Input.Preview.h | 8 +- .../winrt/Windows.UI.Input.Spatial.h | 326 +- .../generated/winrt/Windows.UI.Input.h | 642 +- .../Windows.UI.Notifications.Management.h | 26 +- .../winrt/Windows.UI.Notifications.h | 486 +- .../generated/winrt/Windows.UI.Popups.h | 60 +- .../generated/winrt/Windows.UI.Shell.h | 36 +- .../generated/winrt/Windows.UI.StartScreen.h | 232 +- .../generated/winrt/Windows.UI.Text.Core.h | 208 +- .../windows/generated/winrt/Windows.UI.Text.h | 458 +- .../winrt/Windows.UI.UIAutomation.Core.h | 26 +- .../generated/winrt/Windows.UI.UIAutomation.h | 12 +- .../winrt/Windows.UI.ViewManagement.Core.h | 92 +- .../winrt/Windows.UI.ViewManagement.h | 400 +- .../generated/winrt/Windows.UI.WebUI.Core.h | 108 +- .../generated/winrt/Windows.UI.WebUI.h | 176 +- .../Windows.UI.WindowManagement.Preview.h | 8 +- .../winrt/Windows.UI.WindowManagement.h | 226 +- .../winrt/Windows.UI.Xaml.Automation.Peers.h | 502 +- .../Windows.UI.Xaml.Automation.Provider.h | 270 +- .../winrt/Windows.UI.Xaml.Automation.Text.h | 6 +- .../winrt/Windows.UI.Xaml.Automation.h | 396 +- .../winrt/Windows.UI.Xaml.Controls.Maps.h | 1250 +-- .../Windows.UI.Xaml.Controls.Primitives.h | 1326 +-- .../winrt/Windows.UI.Xaml.Controls.h | 8580 ++++++++--------- .../winrt/Windows.UI.Xaml.Core.Direct.h | 112 +- .../generated/winrt/Windows.UI.Xaml.Data.h | 204 +- .../winrt/Windows.UI.Xaml.Documents.h | 776 +- .../generated/winrt/Windows.UI.Xaml.Hosting.h | 132 +- .../generated/winrt/Windows.UI.Xaml.Input.h | 526 +- .../generated/winrt/Windows.UI.Xaml.Interop.h | 64 +- .../generated/winrt/Windows.UI.Xaml.Markup.h | 189 +- .../winrt/Windows.UI.Xaml.Media.Animation.h | 862 +- .../winrt/Windows.UI.Xaml.Media.Imaging.h | 166 +- .../winrt/Windows.UI.Xaml.Media.Media3D.h | 110 +- .../generated/winrt/Windows.UI.Xaml.Media.h | 800 +- .../winrt/Windows.UI.Xaml.Navigation.h | 60 +- .../winrt/Windows.UI.Xaml.Printing.h | 48 +- .../winrt/Windows.UI.Xaml.Resources.h | 16 +- .../generated/winrt/Windows.UI.Xaml.Shapes.h | 146 +- .../windows/generated/winrt/Windows.UI.Xaml.h | 1798 ++-- .../windows/generated/winrt/Windows.UI.h | 294 +- .../generated/winrt/Windows.Web.AtomPub.h | 44 +- .../winrt/Windows.Web.Http.Diagnostics.h | 88 +- .../winrt/Windows.Web.Http.Filters.h | 88 +- .../winrt/Windows.Web.Http.Headers.h | 444 +- .../generated/winrt/Windows.Web.Http.h | 240 +- .../generated/winrt/Windows.Web.Syndication.h | 290 +- .../generated/winrt/Windows.Web.UI.Interop.h | 90 +- .../windows/generated/winrt/Windows.Web.UI.h | 254 +- .../windows/generated/winrt/Windows.Web.h | 10 +- .../windows/generated/winrt/base.h | 309 +- .../winrt/impl/Windows.AI.MachineLearning.0.h | 310 +- .../winrt/impl/Windows.AI.MachineLearning.1.h | 2 +- .../winrt/impl/Windows.AI.MachineLearning.2.h | 2 +- .../Windows.AI.MachineLearning.Preview.0.h | 98 +- .../Windows.AI.MachineLearning.Preview.1.h | 2 +- .../Windows.AI.MachineLearning.Preview.2.h | 2 +- .../winrt/impl/Windows.ApplicationModel.0.h | 369 +- .../winrt/impl/Windows.ApplicationModel.1.h | 2 +- .../winrt/impl/Windows.ApplicationModel.2.h | 2 +- .../Windows.ApplicationModel.Activation.0.h | 199 +- .../Windows.ApplicationModel.Activation.1.h | 2 +- .../Windows.ApplicationModel.Activation.2.h | 2 +- ...Windows.ApplicationModel.AppExtensions.0.h | 86 +- ...Windows.ApplicationModel.AppExtensions.1.h | 2 +- ...Windows.ApplicationModel.AppExtensions.2.h | 2 +- .../Windows.ApplicationModel.AppService.0.h | 74 +- .../Windows.ApplicationModel.AppService.1.h | 2 +- .../Windows.ApplicationModel.AppService.2.h | 2 +- .../Windows.ApplicationModel.Appointments.0.h | 491 +- .../Windows.ApplicationModel.Appointments.1.h | 2 +- .../Windows.ApplicationModel.Appointments.2.h | 2 +- ...odel.Appointments.AppointmentsProvider.0.h | 58 +- ...odel.Appointments.AppointmentsProvider.1.h | 2 +- ...odel.Appointments.AppointmentsProvider.2.h | 2 +- ...icationModel.Appointments.DataProvider.0.h | 160 +- ...icationModel.Appointments.DataProvider.1.h | 2 +- ...icationModel.Appointments.DataProvider.2.h | 2 +- .../Windows.ApplicationModel.Background.0.h | 365 +- .../Windows.ApplicationModel.Background.1.h | 2 +- .../Windows.ApplicationModel.Background.2.h | 2 +- .../impl/Windows.ApplicationModel.Calls.0.h | 444 +- .../impl/Windows.ApplicationModel.Calls.1.h | 2 +- .../impl/Windows.ApplicationModel.Calls.2.h | 4 +- ...dows.ApplicationModel.Calls.Background.0.h | 36 +- ...dows.ApplicationModel.Calls.Background.1.h | 2 +- ...dows.ApplicationModel.Calls.Background.2.h | 2 +- ...indows.ApplicationModel.Calls.Provider.0.h | 36 +- ...indows.ApplicationModel.Calls.Provider.1.h | 2 +- ...indows.ApplicationModel.Calls.Provider.2.h | 2 +- .../impl/Windows.ApplicationModel.Chat.0.h | 500 +- .../impl/Windows.ApplicationModel.Chat.1.h | 2 +- .../impl/Windows.ApplicationModel.Chat.2.h | 4 +- ...ApplicationModel.CommunicationBlocking.0.h | 24 +- ...ApplicationModel.CommunicationBlocking.1.h | 2 +- ...ApplicationModel.CommunicationBlocking.2.h | 2 +- .../Windows.ApplicationModel.Contacts.0.h | 873 +- .../Windows.ApplicationModel.Contacts.1.h | 2 +- .../Windows.ApplicationModel.Contacts.2.h | 2 +- ...ApplicationModel.Contacts.DataProvider.0.h | 82 +- ...ApplicationModel.Contacts.DataProvider.1.h | 2 +- ...ApplicationModel.Contacts.DataProvider.2.h | 2 +- ...ows.ApplicationModel.Contacts.Provider.0.h | 30 +- ...ows.ApplicationModel.Contacts.Provider.1.h | 2 +- ...ows.ApplicationModel.Contacts.Provider.2.h | 2 +- ...s.ApplicationModel.ConversationalAgent.0.h | 213 +- ...s.ApplicationModel.ConversationalAgent.1.h | 2 +- ...s.ApplicationModel.ConversationalAgent.2.h | 2 +- .../impl/Windows.ApplicationModel.Core.0.h | 160 +- .../impl/Windows.ApplicationModel.Core.1.h | 2 +- .../impl/Windows.ApplicationModel.Core.2.h | 16 +- .../Windows.ApplicationModel.DataTransfer.0.h | 372 +- .../Windows.ApplicationModel.DataTransfer.1.h | 2 +- .../Windows.ApplicationModel.DataTransfer.2.h | 10 +- ...ApplicationModel.DataTransfer.DragDrop.0.h | 2 +- ...ApplicationModel.DataTransfer.DragDrop.1.h | 2 +- ...ApplicationModel.DataTransfer.DragDrop.2.h | 2 +- ...cationModel.DataTransfer.DragDrop.Core.0.h | 73 +- ...cationModel.DataTransfer.DragDrop.Core.1.h | 2 +- ...cationModel.DataTransfer.DragDrop.Core.2.h | 2 +- ...licationModel.DataTransfer.ShareTarget.0.h | 49 +- ...licationModel.DataTransfer.ShareTarget.1.h | 2 +- ...licationModel.DataTransfer.ShareTarget.2.h | 2 +- .../impl/Windows.ApplicationModel.Email.0.h | 755 +- .../impl/Windows.ApplicationModel.Email.1.h | 2 +- .../impl/Windows.ApplicationModel.Email.2.h | 2 +- ...ws.ApplicationModel.Email.DataProvider.0.h | 322 +- ...ws.ApplicationModel.Email.DataProvider.1.h | 2 +- ...ws.ApplicationModel.Email.DataProvider.2.h | 2 +- ...ows.ApplicationModel.ExtendedExecution.0.h | 25 +- ...ows.ApplicationModel.ExtendedExecution.1.h | 2 +- ...ows.ApplicationModel.ExtendedExecution.2.h | 2 +- ...tionModel.ExtendedExecution.Foreground.0.h | 21 +- ...tionModel.ExtendedExecution.Foreground.1.h | 2 +- ...tionModel.ExtendedExecution.Foreground.2.h | 2 +- .../Windows.ApplicationModel.Holographic.0.h | 10 +- .../Windows.ApplicationModel.Holographic.1.h | 2 +- .../Windows.ApplicationModel.Holographic.2.h | 2 +- .../Windows.ApplicationModel.LockScreen.0.h | 65 +- .../Windows.ApplicationModel.LockScreen.1.h | 2 +- .../Windows.ApplicationModel.LockScreen.2.h | 2 +- .../Windows.ApplicationModel.Payments.0.h | 249 +- .../Windows.ApplicationModel.Payments.1.h | 2 +- .../Windows.ApplicationModel.Payments.2.h | 2 +- ...ows.ApplicationModel.Payments.Provider.0.h | 40 +- ...ows.ApplicationModel.Payments.Provider.1.h | 2 +- ...ows.ApplicationModel.Payments.Provider.2.h | 2 +- ...s.ApplicationModel.Preview.Holographic.0.h | 14 +- ...s.ApplicationModel.Preview.Holographic.1.h | 2 +- ...s.ApplicationModel.Preview.Holographic.2.h | 2 +- ....ApplicationModel.Preview.InkWorkspace.0.h | 6 +- ....ApplicationModel.Preview.InkWorkspace.1.h | 2 +- ....ApplicationModel.Preview.InkWorkspace.2.h | 2 +- ...Windows.ApplicationModel.Preview.Notes.0.h | 58 +- ...Windows.ApplicationModel.Preview.Notes.1.h | 2 +- ...Windows.ApplicationModel.Preview.Notes.2.h | 2 +- .../Windows.ApplicationModel.Resources.0.h | 22 +- .../Windows.ApplicationModel.Resources.1.h | 2 +- .../Windows.ApplicationModel.Resources.2.h | 2 +- ...indows.ApplicationModel.Resources.Core.0.h | 104 +- ...indows.ApplicationModel.Resources.Core.1.h | 2 +- ...indows.ApplicationModel.Resources.Core.2.h | 2 +- ....ApplicationModel.Resources.Management.0.h | 32 +- ....ApplicationModel.Resources.Management.1.h | 2 +- ....ApplicationModel.Resources.Management.2.h | 2 +- .../impl/Windows.ApplicationModel.Search.0.h | 142 +- .../impl/Windows.ApplicationModel.Search.1.h | 2 +- .../impl/Windows.ApplicationModel.Search.2.h | 2 +- .../Windows.ApplicationModel.Search.Core.0.h | 62 +- .../Windows.ApplicationModel.Search.Core.1.h | 2 +- .../Windows.ApplicationModel.Search.Core.2.h | 2 +- .../Windows.ApplicationModel.SocialInfo.0.h | 126 +- .../Windows.ApplicationModel.SocialInfo.1.h | 2 +- .../Windows.ApplicationModel.SocialInfo.2.h | 2 +- ...s.ApplicationModel.SocialInfo.Provider.0.h | 46 +- ...s.ApplicationModel.SocialInfo.Provider.1.h | 2 +- ...s.ApplicationModel.SocialInfo.Provider.2.h | 2 +- .../impl/Windows.ApplicationModel.Store.0.h | 169 +- .../impl/Windows.ApplicationModel.Store.1.h | 2 +- .../impl/Windows.ApplicationModel.Store.2.h | 2 +- ...plicationModel.Store.LicenseManagement.0.h | 28 +- ...plicationModel.Store.LicenseManagement.1.h | 2 +- ...plicationModel.Store.LicenseManagement.2.h | 2 +- ...Windows.ApplicationModel.Store.Preview.0.h | 117 +- ...Windows.ApplicationModel.Store.Preview.1.h | 2 +- ...Windows.ApplicationModel.Store.Preview.2.h | 2 +- ...tionModel.Store.Preview.InstallControl.0.h | 261 +- ...tionModel.Store.Preview.InstallControl.1.h | 2 +- ...tionModel.Store.Preview.InstallControl.2.h | 2 +- ...indows.ApplicationModel.UserActivities.0.h | 131 +- ...indows.ApplicationModel.UserActivities.1.h | 2 +- ...indows.ApplicationModel.UserActivities.2.h | 2 +- ...s.ApplicationModel.UserActivities.Core.0.h | 6 +- ...s.ApplicationModel.UserActivities.Core.1.h | 2 +- ...s.ApplicationModel.UserActivities.Core.2.h | 2 +- ...dows.ApplicationModel.UserDataAccounts.0.h | 109 +- ...dows.ApplicationModel.UserDataAccounts.1.h | 2 +- ...dows.ApplicationModel.UserDataAccounts.2.h | 2 +- ...icationModel.UserDataAccounts.Provider.0.h | 28 +- ...icationModel.UserDataAccounts.Provider.1.h | 2 +- ...icationModel.UserDataAccounts.Provider.2.h | 2 +- ...ionModel.UserDataAccounts.SystemAccess.0.h | 190 +- ...ionModel.UserDataAccounts.SystemAccess.1.h | 2 +- ...ionModel.UserDataAccounts.SystemAccess.2.h | 2 +- ...Windows.ApplicationModel.UserDataTasks.0.h | 203 +- ...Windows.ApplicationModel.UserDataTasks.1.h | 2 +- ...Windows.ApplicationModel.UserDataTasks.2.h | 2 +- ...cationModel.UserDataTasks.DataProvider.0.h | 94 +- ...cationModel.UserDataTasks.DataProvider.1.h | 2 +- ...cationModel.UserDataTasks.DataProvider.2.h | 2 +- ...Windows.ApplicationModel.VoiceCommands.0.h | 116 +- ...Windows.ApplicationModel.VoiceCommands.1.h | 2 +- ...Windows.ApplicationModel.VoiceCommands.2.h | 2 +- .../impl/Windows.ApplicationModel.Wallet.0.h | 212 +- .../impl/Windows.ApplicationModel.Wallet.1.h | 2 +- .../impl/Windows.ApplicationModel.Wallet.2.h | 2 +- ...Windows.ApplicationModel.Wallet.System.0.h | 25 +- ...Windows.ApplicationModel.Wallet.System.1.h | 2 +- ...Windows.ApplicationModel.Wallet.System.2.h | 2 +- .../winrt/impl/Windows.Data.Html.0.h | 4 +- .../winrt/impl/Windows.Data.Html.1.h | 2 +- .../winrt/impl/Windows.Data.Html.2.h | 2 +- .../winrt/impl/Windows.Data.Json.0.h | 74 +- .../winrt/impl/Windows.Data.Json.1.h | 2 +- .../winrt/impl/Windows.Data.Json.2.h | 2 +- .../generated/winrt/impl/Windows.Data.Pdf.0.h | 67 +- .../generated/winrt/impl/Windows.Data.Pdf.1.h | 2 +- .../generated/winrt/impl/Windows.Data.Pdf.2.h | 2 +- .../winrt/impl/Windows.Data.Text.0.h | 127 +- .../winrt/impl/Windows.Data.Text.1.h | 2 +- .../winrt/impl/Windows.Data.Text.2.h | 2 +- .../winrt/impl/Windows.Data.Xml.Dom.0.h | 231 +- .../winrt/impl/Windows.Data.Xml.Dom.1.h | 2 +- .../winrt/impl/Windows.Data.Xml.Dom.2.h | 2 +- .../winrt/impl/Windows.Data.Xml.Xsl.0.h | 8 +- .../winrt/impl/Windows.Data.Xml.Xsl.1.h | 2 +- .../winrt/impl/Windows.Data.Xml.Xsl.2.h | 2 +- .../generated/winrt/impl/Windows.Devices.0.h | 18 +- .../generated/winrt/impl/Windows.Devices.1.h | 2 +- .../generated/winrt/impl/Windows.Devices.2.h | 2 +- .../winrt/impl/Windows.Devices.Adc.0.h | 36 +- .../winrt/impl/Windows.Devices.Adc.1.h | 2 +- .../winrt/impl/Windows.Devices.Adc.2.h | 2 +- .../impl/Windows.Devices.Adc.Provider.0.h | 28 +- .../impl/Windows.Devices.Adc.Provider.1.h | 2 +- .../impl/Windows.Devices.Adc.Provider.2.h | 2 +- .../winrt/impl/Windows.Devices.AllJoyn.0.h | 346 +- .../winrt/impl/Windows.Devices.AllJoyn.1.h | 2 +- .../winrt/impl/Windows.Devices.AllJoyn.2.h | 2 +- .../winrt/impl/Windows.Devices.Background.0.h | 12 +- .../winrt/impl/Windows.Devices.Background.1.h | 2 +- .../winrt/impl/Windows.Devices.Background.2.h | 2 +- .../winrt/impl/Windows.Devices.Bluetooth.0.h | 341 +- .../winrt/impl/Windows.Devices.Bluetooth.1.h | 2 +- .../winrt/impl/Windows.Devices.Bluetooth.2.h | 2 +- ...indows.Devices.Bluetooth.Advertisement.0.h | 217 +- ...indows.Devices.Bluetooth.Advertisement.1.h | 2 +- ...indows.Devices.Bluetooth.Advertisement.2.h | 2 +- .../Windows.Devices.Bluetooth.Background.0.h | 67 +- .../Windows.Devices.Bluetooth.Background.1.h | 2 +- .../Windows.Devices.Bluetooth.Background.2.h | 2 +- ...ices.Bluetooth.GenericAttributeProfile.0.h | 754 +- ...ices.Bluetooth.GenericAttributeProfile.1.h | 2 +- ...ices.Bluetooth.GenericAttributeProfile.2.h | 2 +- .../impl/Windows.Devices.Bluetooth.Rfcomm.0.h | 87 +- .../impl/Windows.Devices.Bluetooth.Rfcomm.1.h | 2 +- .../impl/Windows.Devices.Bluetooth.Rfcomm.2.h | 2 +- .../winrt/impl/Windows.Devices.Custom.0.h | 32 +- .../winrt/impl/Windows.Devices.Custom.1.h | 2 +- .../winrt/impl/Windows.Devices.Custom.2.h | 2 +- .../winrt/impl/Windows.Devices.Display.0.h | 53 +- .../winrt/impl/Windows.Devices.Display.1.h | 2 +- .../winrt/impl/Windows.Devices.Display.2.h | 2 +- .../impl/Windows.Devices.Display.Core.0.h | 301 +- .../impl/Windows.Devices.Display.Core.1.h | 2 +- .../impl/Windows.Devices.Display.Core.2.h | 2 +- .../impl/Windows.Devices.Enumeration.0.h | 259 +- .../impl/Windows.Devices.Enumeration.1.h | 2 +- .../impl/Windows.Devices.Enumeration.2.h | 2 +- .../impl/Windows.Devices.Enumeration.Pnp.0.h | 64 +- .../impl/Windows.Devices.Enumeration.Pnp.1.h | 2 +- .../impl/Windows.Devices.Enumeration.Pnp.2.h | 2 +- .../impl/Windows.Devices.Geolocation.0.h | 188 +- .../impl/Windows.Devices.Geolocation.1.h | 2 +- .../impl/Windows.Devices.Geolocation.2.h | 2 +- ...Windows.Devices.Geolocation.Geofencing.0.h | 59 +- ...Windows.Devices.Geolocation.Geofencing.1.h | 2 +- ...Windows.Devices.Geolocation.Geofencing.2.h | 2 +- .../winrt/impl/Windows.Devices.Gpio.0.h | 96 +- .../winrt/impl/Windows.Devices.Gpio.1.h | 2 +- .../winrt/impl/Windows.Devices.Gpio.2.h | 2 +- .../impl/Windows.Devices.Gpio.Provider.0.h | 40 +- .../impl/Windows.Devices.Gpio.Provider.1.h | 2 +- .../impl/Windows.Devices.Gpio.Provider.2.h | 2 +- .../winrt/impl/Windows.Devices.Haptics.0.h | 57 +- .../winrt/impl/Windows.Devices.Haptics.1.h | 2 +- .../winrt/impl/Windows.Devices.Haptics.2.h | 2 +- .../Windows.Devices.HumanInterfaceDevice.0.h | 183 +- .../Windows.Devices.HumanInterfaceDevice.1.h | 2 +- .../Windows.Devices.HumanInterfaceDevice.2.h | 2 +- .../winrt/impl/Windows.Devices.I2c.0.h | 52 +- .../winrt/impl/Windows.Devices.I2c.1.h | 2 +- .../winrt/impl/Windows.Devices.I2c.2.h | 2 +- .../impl/Windows.Devices.I2c.Provider.0.h | 40 +- .../impl/Windows.Devices.I2c.Provider.1.h | 2 +- .../impl/Windows.Devices.I2c.Provider.2.h | 2 +- .../winrt/impl/Windows.Devices.Input.0.h | 104 +- .../winrt/impl/Windows.Devices.Input.1.h | 2 +- .../winrt/impl/Windows.Devices.Input.2.h | 2 +- .../impl/Windows.Devices.Input.Preview.0.h | 112 +- .../impl/Windows.Devices.Input.Preview.1.h | 2 +- .../impl/Windows.Devices.Input.Preview.2.h | 2 +- .../winrt/impl/Windows.Devices.Lights.0.h | 110 +- .../winrt/impl/Windows.Devices.Lights.1.h | 2 +- .../winrt/impl/Windows.Devices.Lights.2.h | 2 +- .../impl/Windows.Devices.Lights.Effects.0.h | 156 +- .../impl/Windows.Devices.Lights.Effects.1.h | 2 +- .../impl/Windows.Devices.Lights.Effects.2.h | 2 +- .../winrt/impl/Windows.Devices.Midi.0.h | 111 +- .../winrt/impl/Windows.Devices.Midi.1.h | 2 +- .../winrt/impl/Windows.Devices.Midi.2.h | 2 +- .../winrt/impl/Windows.Devices.Perception.0.h | 509 +- .../winrt/impl/Windows.Devices.Perception.1.h | 2 +- .../winrt/impl/Windows.Devices.Perception.2.h | 2 +- .../Windows.Devices.Perception.Provider.0.h | 107 +- .../Windows.Devices.Perception.Provider.1.h | 2 +- .../Windows.Devices.Perception.Provider.2.h | 2 +- .../impl/Windows.Devices.PointOfService.0.h | 1417 ++- .../impl/Windows.Devices.PointOfService.1.h | 2 +- .../impl/Windows.Devices.PointOfService.2.h | 2 +- ...indows.Devices.PointOfService.Provider.0.h | 234 +- ...indows.Devices.PointOfService.Provider.1.h | 2 +- ...indows.Devices.PointOfService.Provider.2.h | 2 +- .../winrt/impl/Windows.Devices.Portable.0.h | 10 +- .../winrt/impl/Windows.Devices.Portable.1.h | 2 +- .../winrt/impl/Windows.Devices.Portable.2.h | 2 +- .../winrt/impl/Windows.Devices.Power.0.h | 30 +- .../winrt/impl/Windows.Devices.Power.1.h | 2 +- .../winrt/impl/Windows.Devices.Power.2.h | 2 +- .../winrt/impl/Windows.Devices.Printers.0.h | 18 +- .../winrt/impl/Windows.Devices.Printers.1.h | 2 +- .../winrt/impl/Windows.Devices.Printers.2.h | 2 +- .../Windows.Devices.Printers.Extensions.0.h | 60 +- .../Windows.Devices.Printers.Extensions.1.h | 2 +- .../Windows.Devices.Printers.Extensions.2.h | 2 +- .../winrt/impl/Windows.Devices.Pwm.0.h | 48 +- .../winrt/impl/Windows.Devices.Pwm.1.h | 2 +- .../winrt/impl/Windows.Devices.Pwm.2.h | 2 +- .../impl/Windows.Devices.Pwm.Provider.0.h | 28 +- .../impl/Windows.Devices.Pwm.Provider.1.h | 2 +- .../impl/Windows.Devices.Pwm.Provider.2.h | 2 +- .../winrt/impl/Windows.Devices.Radios.0.h | 29 +- .../winrt/impl/Windows.Devices.Radios.1.h | 2 +- .../winrt/impl/Windows.Devices.Radios.2.h | 2 +- .../winrt/impl/Windows.Devices.Scanners.0.h | 137 +- .../winrt/impl/Windows.Devices.Scanners.1.h | 2 +- .../winrt/impl/Windows.Devices.Scanners.2.h | 2 +- .../winrt/impl/Windows.Devices.Sensors.0.h | 706 +- .../winrt/impl/Windows.Devices.Sensors.1.h | 2 +- .../winrt/impl/Windows.Devices.Sensors.2.h | 2 +- .../impl/Windows.Devices.Sensors.Custom.0.h | 42 +- .../impl/Windows.Devices.Sensors.Custom.1.h | 2 +- .../impl/Windows.Devices.Sensors.Custom.2.h | 2 +- .../Windows.Devices.SerialCommunication.0.h | 85 +- .../Windows.Devices.SerialCommunication.1.h | 2 +- .../Windows.Devices.SerialCommunication.2.h | 2 +- .../winrt/impl/Windows.Devices.SmartCards.0.h | 410 +- .../winrt/impl/Windows.Devices.SmartCards.1.h | 2 +- .../winrt/impl/Windows.Devices.SmartCards.2.h | 2 +- .../winrt/impl/Windows.Devices.Sms.0.h | 357 +- .../winrt/impl/Windows.Devices.Sms.1.h | 2 +- .../winrt/impl/Windows.Devices.Sms.2.h | 2 +- .../winrt/impl/Windows.Devices.Spi.0.h | 66 +- .../winrt/impl/Windows.Devices.Spi.1.h | 2 +- .../winrt/impl/Windows.Devices.Spi.2.h | 2 +- .../impl/Windows.Devices.Spi.Provider.0.h | 48 +- .../impl/Windows.Devices.Spi.Provider.1.h | 2 +- .../impl/Windows.Devices.Spi.Provider.2.h | 2 +- .../winrt/impl/Windows.Devices.Usb.0.h | 271 +- .../winrt/impl/Windows.Devices.Usb.1.h | 2 +- .../winrt/impl/Windows.Devices.Usb.2.h | 2 +- .../winrt/impl/Windows.Devices.WiFi.0.h | 71 +- .../winrt/impl/Windows.Devices.WiFi.1.h | 2 +- .../winrt/impl/Windows.Devices.WiFi.2.h | 2 +- .../winrt/impl/Windows.Devices.WiFiDirect.0.h | 112 +- .../winrt/impl/Windows.Devices.WiFiDirect.1.h | 2 +- .../winrt/impl/Windows.Devices.WiFiDirect.2.h | 2 +- .../Windows.Devices.WiFiDirect.Services.0.h | 160 +- .../Windows.Devices.WiFiDirect.Services.1.h | 2 +- .../Windows.Devices.WiFiDirect.Services.2.h | 2 +- .../impl/Windows.Embedded.DeviceLockdown.0.h | 16 +- .../impl/Windows.Embedded.DeviceLockdown.1.h | 2 +- .../impl/Windows.Embedded.DeviceLockdown.2.h | 2 +- .../winrt/impl/Windows.Foundation.0.h | 286 +- .../winrt/impl/Windows.Foundation.1.h | 11 +- .../winrt/impl/Windows.Foundation.2.h | 2 +- .../impl/Windows.Foundation.Collections.0.h | 90 +- .../impl/Windows.Foundation.Collections.1.h | 2 +- .../impl/Windows.Foundation.Collections.2.h | 2 +- .../impl/Windows.Foundation.Diagnostics.0.h | 395 +- .../impl/Windows.Foundation.Diagnostics.1.h | 2 +- .../impl/Windows.Foundation.Diagnostics.2.h | 4 +- .../impl/Windows.Foundation.Metadata.0.h | 22 +- .../impl/Windows.Foundation.Metadata.1.h | 2 +- .../impl/Windows.Foundation.Metadata.2.h | 2 +- .../impl/Windows.Foundation.Numerics.0.h | 2 +- .../impl/Windows.Foundation.Numerics.1.h | 2 +- .../impl/Windows.Foundation.Numerics.2.h | 2 +- .../winrt/impl/Windows.Gaming.Input.0.h | 200 +- .../winrt/impl/Windows.Gaming.Input.1.h | 2 +- .../winrt/impl/Windows.Gaming.Input.2.h | 26 +- .../impl/Windows.Gaming.Input.Custom.0.h | 66 +- .../impl/Windows.Gaming.Input.Custom.1.h | 2 +- .../impl/Windows.Gaming.Input.Custom.2.h | 2 +- .../Windows.Gaming.Input.ForceFeedback.0.h | 61 +- .../Windows.Gaming.Input.ForceFeedback.1.h | 2 +- .../Windows.Gaming.Input.ForceFeedback.2.h | 2 +- .../impl/Windows.Gaming.Input.Preview.0.h | 6 +- .../impl/Windows.Gaming.Input.Preview.1.h | 2 +- .../impl/Windows.Gaming.Input.Preview.2.h | 2 +- ...indows.Gaming.Preview.GamesEnumeration.0.h | 103 +- ...indows.Gaming.Preview.GamesEnumeration.1.h | 2 +- ...indows.Gaming.Preview.GamesEnumeration.2.h | 8 +- .../winrt/impl/Windows.Gaming.UI.0.h | 48 +- .../winrt/impl/Windows.Gaming.UI.1.h | 2 +- .../winrt/impl/Windows.Gaming.UI.2.h | 6 +- .../impl/Windows.Gaming.XboxLive.Storage.0.h | 80 +- .../impl/Windows.Gaming.XboxLive.Storage.1.h | 2 +- .../impl/Windows.Gaming.XboxLive.Storage.2.h | 2 +- .../winrt/impl/Windows.Globalization.0.h | 736 +- .../winrt/impl/Windows.Globalization.1.h | 2 +- .../winrt/impl/Windows.Globalization.2.h | 2 +- .../impl/Windows.Globalization.Collation.0.h | 10 +- .../impl/Windows.Globalization.Collation.1.h | 2 +- .../impl/Windows.Globalization.Collation.2.h | 2 +- ...ndows.Globalization.DateTimeFormatting.0.h | 63 +- ...ndows.Globalization.DateTimeFormatting.1.h | 2 +- ...ndows.Globalization.DateTimeFormatting.2.h | 2 +- .../impl/Windows.Globalization.Fonts.0.h | 36 +- .../impl/Windows.Globalization.Fonts.1.h | 2 +- .../impl/Windows.Globalization.Fonts.2.h | 2 +- ...Windows.Globalization.NumberFormatting.0.h | 125 +- ...Windows.Globalization.NumberFormatting.1.h | 2 +- ...Windows.Globalization.NumberFormatting.2.h | 2 +- ...ws.Globalization.PhoneNumberFormatting.0.h | 42 +- ...ws.Globalization.PhoneNumberFormatting.1.h | 2 +- ...ws.Globalization.PhoneNumberFormatting.2.h | 2 +- .../generated/winrt/impl/Windows.Graphics.0.h | 2 +- .../generated/winrt/impl/Windows.Graphics.1.h | 2 +- .../generated/winrt/impl/Windows.Graphics.2.h | 2 +- .../winrt/impl/Windows.Graphics.Capture.0.h | 63 +- .../winrt/impl/Windows.Graphics.Capture.1.h | 2 +- .../winrt/impl/Windows.Graphics.Capture.2.h | 2 +- .../winrt/impl/Windows.Graphics.DirectX.0.h | 2 +- .../winrt/impl/Windows.Graphics.DirectX.1.h | 2 +- .../winrt/impl/Windows.Graphics.DirectX.2.h | 2 +- .../Windows.Graphics.DirectX.Direct3D11.0.h | 6 +- .../Windows.Graphics.DirectX.Direct3D11.1.h | 2 +- .../Windows.Graphics.DirectX.Direct3D11.2.h | 2 +- .../winrt/impl/Windows.Graphics.Display.0.h | 250 +- .../winrt/impl/Windows.Graphics.Display.1.h | 2 +- .../winrt/impl/Windows.Graphics.Display.2.h | 14 +- .../impl/Windows.Graphics.Display.Core.0.h | 51 +- .../impl/Windows.Graphics.Display.Core.1.h | 2 +- .../impl/Windows.Graphics.Display.Core.2.h | 2 +- .../winrt/impl/Windows.Graphics.Effects.0.h | 6 +- .../winrt/impl/Windows.Graphics.Effects.1.h | 2 +- .../winrt/impl/Windows.Graphics.Effects.2.h | 2 +- .../impl/Windows.Graphics.Holographic.0.h | 279 +- .../impl/Windows.Graphics.Holographic.1.h | 2 +- .../impl/Windows.Graphics.Holographic.2.h | 4 +- .../winrt/impl/Windows.Graphics.Imaging.0.h | 216 +- .../winrt/impl/Windows.Graphics.Imaging.1.h | 2 +- .../winrt/impl/Windows.Graphics.Imaging.2.h | 2 +- .../winrt/impl/Windows.Graphics.Printing.0.h | 215 +- .../winrt/impl/Windows.Graphics.Printing.1.h | 2 +- .../winrt/impl/Windows.Graphics.Printing.2.h | 2 +- ...indows.Graphics.Printing.OptionDetails.0.h | 201 +- ...indows.Graphics.Printing.OptionDetails.1.h | 2 +- ...indows.Graphics.Printing.OptionDetails.2.h | 2 +- .../Windows.Graphics.Printing.PrintTicket.0.h | 167 +- .../Windows.Graphics.Printing.PrintTicket.1.h | 2 +- .../Windows.Graphics.Printing.PrintTicket.2.h | 2 +- .../Windows.Graphics.Printing.Workflow.0.h | 89 +- .../Windows.Graphics.Printing.Workflow.1.h | 2 +- .../Windows.Graphics.Printing.Workflow.2.h | 2 +- .../impl/Windows.Graphics.Printing3D.0.h | 319 +- .../impl/Windows.Graphics.Printing3D.1.h | 2 +- .../impl/Windows.Graphics.Printing3D.2.h | 2 +- .../winrt/impl/Windows.Management.0.h | 53 +- .../winrt/impl/Windows.Management.1.h | 2 +- .../winrt/impl/Windows.Management.2.h | 2 +- .../winrt/impl/Windows.Management.Core.0.h | 4 +- .../winrt/impl/Windows.Management.Core.1.h | 2 +- .../winrt/impl/Windows.Management.Core.2.h | 2 +- .../impl/Windows.Management.Deployment.0.h | 338 +- .../impl/Windows.Management.Deployment.1.h | 2 +- .../impl/Windows.Management.Deployment.2.h | 2 +- .../Windows.Management.Deployment.Preview.0.h | 8 +- .../Windows.Management.Deployment.Preview.1.h | 2 +- .../Windows.Management.Deployment.Preview.2.h | 2 +- .../impl/Windows.Management.Policies.0.h | 34 +- .../impl/Windows.Management.Policies.1.h | 2 +- .../impl/Windows.Management.Policies.2.h | 2 +- .../winrt/impl/Windows.Management.Update.0.h | 20 +- .../winrt/impl/Windows.Management.Update.1.h | 2 +- .../winrt/impl/Windows.Management.Update.2.h | 2 +- .../impl/Windows.Management.Workplace.0.h | 14 +- .../impl/Windows.Management.Workplace.1.h | 2 +- .../impl/Windows.Management.Workplace.2.h | 2 +- .../generated/winrt/impl/Windows.Media.0.h | 443 +- .../generated/winrt/impl/Windows.Media.1.h | 2 +- .../generated/winrt/impl/Windows.Media.2.h | 26 +- .../impl/Windows.Media.AppBroadcasting.0.h | 38 +- .../impl/Windows.Media.AppBroadcasting.1.h | 2 +- .../impl/Windows.Media.AppBroadcasting.2.h | 2 +- .../winrt/impl/Windows.Media.AppRecording.0.h | 60 +- .../winrt/impl/Windows.Media.AppRecording.1.h | 2 +- .../winrt/impl/Windows.Media.AppRecording.2.h | 2 +- .../winrt/impl/Windows.Media.Audio.0.h | 610 +- .../winrt/impl/Windows.Media.Audio.1.h | 2 +- .../winrt/impl/Windows.Media.Audio.2.h | 2 +- .../winrt/impl/Windows.Media.Capture.0.h | 1307 ++- .../winrt/impl/Windows.Media.Capture.1.h | 2 +- .../winrt/impl/Windows.Media.Capture.2.h | 2 +- .../winrt/impl/Windows.Media.Capture.Core.0.h | 31 +- .../winrt/impl/Windows.Media.Capture.Core.1.h | 2 +- .../winrt/impl/Windows.Media.Capture.Core.2.h | 2 +- .../impl/Windows.Media.Capture.Frames.0.h | 195 +- .../impl/Windows.Media.Capture.Frames.1.h | 2 +- .../impl/Windows.Media.Capture.Frames.2.h | 2 +- .../winrt/impl/Windows.Media.Casting.0.h | 95 +- .../winrt/impl/Windows.Media.Casting.1.h | 2 +- .../winrt/impl/Windows.Media.Casting.2.h | 2 +- .../impl/Windows.Media.ClosedCaptioning.0.h | 26 +- .../impl/Windows.Media.ClosedCaptioning.1.h | 2 +- .../impl/Windows.Media.ClosedCaptioning.2.h | 2 +- .../Windows.Media.ContentRestrictions.0.h | 46 +- .../Windows.Media.ContentRestrictions.1.h | 2 +- .../Windows.Media.ContentRestrictions.2.h | 2 +- .../winrt/impl/Windows.Media.Control.0.h | 157 +- .../winrt/impl/Windows.Media.Control.1.h | 2 +- .../winrt/impl/Windows.Media.Control.2.h | 2 +- .../winrt/impl/Windows.Media.Core.0.h | 1010 +- .../winrt/impl/Windows.Media.Core.1.h | 2 +- .../winrt/impl/Windows.Media.Core.2.h | 2 +- .../winrt/impl/Windows.Media.Core.Preview.0.h | 10 +- .../winrt/impl/Windows.Media.Core.Preview.1.h | 2 +- .../winrt/impl/Windows.Media.Core.Preview.2.h | 4 +- .../winrt/impl/Windows.Media.Devices.0.h | 664 +- .../winrt/impl/Windows.Media.Devices.1.h | 2 +- .../winrt/impl/Windows.Media.Devices.2.h | 6 +- .../winrt/impl/Windows.Media.Devices.Core.0.h | 166 +- .../winrt/impl/Windows.Media.Devices.Core.1.h | 2 +- .../winrt/impl/Windows.Media.Devices.Core.2.h | 2 +- .../winrt/impl/Windows.Media.DialProtocol.0.h | 79 +- .../winrt/impl/Windows.Media.DialProtocol.1.h | 2 +- .../winrt/impl/Windows.Media.DialProtocol.2.h | 2 +- .../winrt/impl/Windows.Media.Editing.0.h | 161 +- .../winrt/impl/Windows.Media.Editing.1.h | 2 +- .../winrt/impl/Windows.Media.Editing.2.h | 2 +- .../winrt/impl/Windows.Media.Effects.0.h | 163 +- .../winrt/impl/Windows.Media.Effects.1.h | 2 +- .../winrt/impl/Windows.Media.Effects.2.h | 2 +- .../winrt/impl/Windows.Media.FaceAnalysis.0.h | 51 +- .../winrt/impl/Windows.Media.FaceAnalysis.1.h | 2 +- .../winrt/impl/Windows.Media.FaceAnalysis.2.h | 2 +- .../winrt/impl/Windows.Media.Import.0.h | 283 +- .../winrt/impl/Windows.Media.Import.1.h | 2 +- .../winrt/impl/Windows.Media.Import.2.h | 2 +- .../impl/Windows.Media.MediaProperties.0.h | 319 +- .../impl/Windows.Media.MediaProperties.1.h | 2 +- .../impl/Windows.Media.MediaProperties.2.h | 2 +- .../winrt/impl/Windows.Media.Miracast.0.h | 237 +- .../winrt/impl/Windows.Media.Miracast.1.h | 2 +- .../winrt/impl/Windows.Media.Miracast.2.h | 2 +- .../winrt/impl/Windows.Media.Ocr.0.h | 36 +- .../winrt/impl/Windows.Media.Ocr.1.h | 2 +- .../winrt/impl/Windows.Media.Ocr.2.h | 2 +- .../winrt/impl/Windows.Media.PlayTo.0.h | 218 +- .../winrt/impl/Windows.Media.PlayTo.1.h | 2 +- .../winrt/impl/Windows.Media.PlayTo.2.h | 2 +- .../winrt/impl/Windows.Media.Playback.0.h | 850 +- .../winrt/impl/Windows.Media.Playback.1.h | 2 +- .../winrt/impl/Windows.Media.Playback.2.h | 6 +- .../winrt/impl/Windows.Media.Playlists.0.h | 18 +- .../winrt/impl/Windows.Media.Playlists.1.h | 2 +- .../winrt/impl/Windows.Media.Playlists.2.h | 2 +- .../winrt/impl/Windows.Media.Protection.0.h | 74 +- .../winrt/impl/Windows.Media.Protection.1.h | 2 +- .../winrt/impl/Windows.Media.Protection.2.h | 2 +- .../Windows.Media.Protection.PlayReady.0.h | 356 +- .../Windows.Media.Protection.PlayReady.1.h | 2 +- .../Windows.Media.Protection.PlayReady.2.h | 2 +- .../winrt/impl/Windows.Media.Render.0.h | 2 +- .../winrt/impl/Windows.Media.Render.1.h | 2 +- .../winrt/impl/Windows.Media.Render.2.h | 2 +- .../impl/Windows.Media.SpeechRecognition.0.h | 190 +- .../impl/Windows.Media.SpeechRecognition.1.h | 2 +- .../impl/Windows.Media.SpeechRecognition.2.h | 2 +- .../impl/Windows.Media.SpeechSynthesis.0.h | 70 +- .../impl/Windows.Media.SpeechSynthesis.1.h | 2 +- .../impl/Windows.Media.SpeechSynthesis.2.h | 2 +- .../impl/Windows.Media.Streaming.Adaptive.0.h | 261 +- .../impl/Windows.Media.Streaming.Adaptive.1.h | 2 +- .../impl/Windows.Media.Streaming.Adaptive.2.h | 2 +- .../winrt/impl/Windows.Media.Transcoding.0.h | 46 +- .../winrt/impl/Windows.Media.Transcoding.1.h | 2 +- .../winrt/impl/Windows.Media.Transcoding.2.h | 2 +- .../winrt/impl/Windows.Networking.0.h | 36 +- .../winrt/impl/Windows.Networking.1.h | 2 +- .../winrt/impl/Windows.Networking.2.h | 2 +- .../Windows.Networking.BackgroundTransfer.0.h | 240 +- .../Windows.Networking.BackgroundTransfer.1.h | 2 +- .../Windows.Networking.BackgroundTransfer.2.h | 2 +- .../impl/Windows.Networking.Connectivity.0.h | 274 +- .../impl/Windows.Networking.Connectivity.1.h | 2 +- .../impl/Windows.Networking.Connectivity.2.h | 4 +- .../Windows.Networking.NetworkOperators.0.h | 868 +- .../Windows.Networking.NetworkOperators.1.h | 2 +- .../Windows.Networking.NetworkOperators.2.h | 4 +- .../impl/Windows.Networking.Proximity.0.h | 164 +- .../impl/Windows.Networking.Proximity.1.h | 2 +- .../impl/Windows.Networking.Proximity.2.h | 6 +- .../Windows.Networking.PushNotifications.0.h | 69 +- .../Windows.Networking.PushNotifications.1.h | 2 +- .../Windows.Networking.PushNotifications.2.h | 4 +- ...dows.Networking.ServiceDiscovery.Dnssd.0.h | 66 +- ...dows.Networking.ServiceDiscovery.Dnssd.1.h | 2 +- ...dows.Networking.ServiceDiscovery.Dnssd.2.h | 2 +- .../winrt/impl/Windows.Networking.Sockets.0.h | 493 +- .../winrt/impl/Windows.Networking.Sockets.1.h | 2 +- .../winrt/impl/Windows.Networking.Sockets.2.h | 2 +- .../winrt/impl/Windows.Networking.Vpn.0.h | 443 +- .../winrt/impl/Windows.Networking.Vpn.1.h | 2 +- .../winrt/impl/Windows.Networking.Vpn.2.h | 2 +- .../impl/Windows.Networking.XboxLive.0.h | 182 +- .../impl/Windows.Networking.XboxLive.1.h | 2 +- .../impl/Windows.Networking.XboxLive.2.h | 2 +- .../winrt/impl/Windows.Perception.0.h | 12 +- .../winrt/impl/Windows.Perception.1.h | 2 +- .../winrt/impl/Windows.Perception.2.h | 2 +- .../Windows.Perception.Automation.Core.0.h | 4 +- .../Windows.Perception.Automation.Core.1.h | 2 +- .../Windows.Perception.Automation.Core.2.h | 2 +- .../winrt/impl/Windows.Perception.People.0.h | 58 +- .../winrt/impl/Windows.Perception.People.1.h | 2 +- .../winrt/impl/Windows.Perception.People.2.h | 2 +- .../winrt/impl/Windows.Perception.Spatial.0.h | 211 +- .../winrt/impl/Windows.Perception.Spatial.1.h | 2 +- .../winrt/impl/Windows.Perception.Spatial.2.h | 4 +- .../Windows.Perception.Spatial.Preview.0.h | 22 +- .../Windows.Perception.Spatial.Preview.1.h | 2 +- .../Windows.Perception.Spatial.Preview.2.h | 2 +- .../Windows.Perception.Spatial.Surfaces.0.h | 76 +- .../Windows.Perception.Spatial.Surfaces.1.h | 2 +- .../Windows.Perception.Spatial.Surfaces.2.h | 2 +- .../impl/Windows.Phone.ApplicationModel.0.h | 4 +- .../impl/Windows.Phone.ApplicationModel.1.h | 2 +- .../impl/Windows.Phone.ApplicationModel.2.h | 2 +- .../Windows.Phone.Devices.Notification.0.h | 8 +- .../Windows.Phone.Devices.Notification.1.h | 2 +- .../Windows.Phone.Devices.Notification.2.h | 2 +- .../impl/Windows.Phone.Devices.Power.0.h | 14 +- .../impl/Windows.Phone.Devices.Power.1.h | 2 +- .../impl/Windows.Phone.Devices.Power.2.h | 2 +- .../Windows.Phone.Management.Deployment.0.h | 57 +- .../Windows.Phone.Management.Deployment.1.h | 2 +- .../Windows.Phone.Management.Deployment.2.h | 2 +- .../impl/Windows.Phone.Media.Devices.0.h | 16 +- .../impl/Windows.Phone.Media.Devices.1.h | 2 +- .../impl/Windows.Phone.Media.Devices.2.h | 2 +- .../Windows.Phone.Notification.Management.0.h | 323 +- .../Windows.Phone.Notification.Management.1.h | 2 +- .../Windows.Phone.Notification.Management.2.h | 2 +- .../Windows.Phone.PersonalInformation.0.h | 201 +- .../Windows.Phone.PersonalInformation.1.h | 2 +- .../Windows.Phone.PersonalInformation.2.h | 2 +- ...Phone.PersonalInformation.Provisioning.0.h | 12 +- ...Phone.PersonalInformation.Provisioning.1.h | 2 +- ...Phone.PersonalInformation.Provisioning.2.h | 2 +- .../impl/Windows.Phone.Speech.Recognition.0.h | 2 +- .../impl/Windows.Phone.Speech.Recognition.1.h | 2 +- .../impl/Windows.Phone.Speech.Recognition.2.h | 2 +- .../winrt/impl/Windows.Phone.StartScreen.0.h | 36 +- .../winrt/impl/Windows.Phone.StartScreen.1.h | 2 +- .../winrt/impl/Windows.Phone.StartScreen.2.h | 2 +- .../winrt/impl/Windows.Phone.System.0.h | 6 +- .../winrt/impl/Windows.Phone.System.1.h | 2 +- .../winrt/impl/Windows.Phone.System.2.h | 2 +- .../winrt/impl/Windows.Phone.System.Power.0.h | 12 +- .../winrt/impl/Windows.Phone.System.Power.1.h | 2 +- .../winrt/impl/Windows.Phone.System.Power.2.h | 4 +- .../impl/Windows.Phone.System.Profile.0.h | 4 +- .../impl/Windows.Phone.System.Profile.1.h | 2 +- .../impl/Windows.Phone.System.Profile.2.h | 2 +- ...e.System.UserProfile.GameServices.Core.0.h | 25 +- ...e.System.UserProfile.GameServices.Core.1.h | 2 +- ...e.System.UserProfile.GameServices.Core.2.h | 2 +- .../winrt/impl/Windows.Phone.UI.Input.0.h | 30 +- .../winrt/impl/Windows.Phone.UI.Input.1.h | 2 +- .../winrt/impl/Windows.Phone.UI.Input.2.h | 10 +- ...ndows.Security.Authentication.Identity.0.h | 24 +- ...ndows.Security.Authentication.Identity.1.h | 2 +- ...ndows.Security.Authentication.Identity.2.h | 2 +- ....Security.Authentication.Identity.Core.0.h | 58 +- ....Security.Authentication.Identity.Core.1.h | 2 +- ....Security.Authentication.Identity.Core.2.h | 2 +- ...urity.Authentication.Identity.Provider.0.h | 81 +- ...urity.Authentication.Identity.Provider.1.h | 2 +- ...urity.Authentication.Identity.Provider.2.h | 4 +- ...ndows.Security.Authentication.OnlineId.0.h | 69 +- ...ndows.Security.Authentication.OnlineId.1.h | 2 +- ...ndows.Security.Authentication.OnlineId.2.h | 2 +- .../Windows.Security.Authentication.Web.0.h | 25 +- .../Windows.Security.Authentication.Web.1.h | 2 +- .../Windows.Security.Authentication.Web.2.h | 2 +- ...ndows.Security.Authentication.Web.Core.0.h | 119 +- ...ndows.Security.Authentication.Web.Core.1.h | 2 +- ...ndows.Security.Authentication.Web.Core.2.h | 2 +- ...s.Security.Authentication.Web.Provider.0.h | 137 +- ...s.Security.Authentication.Web.Provider.1.h | 2 +- ...s.Security.Authentication.Web.Provider.2.h | 2 +- ...rity.Authorization.AppCapabilityAccess.0.h | 26 +- ...rity.Authorization.AppCapabilityAccess.1.h | 2 +- ...rity.Authorization.AppCapabilityAccess.2.h | 2 +- .../impl/Windows.Security.Credentials.0.h | 104 +- .../impl/Windows.Security.Credentials.1.h | 2 +- .../impl/Windows.Security.Credentials.2.h | 2 +- .../impl/Windows.Security.Credentials.UI.0.h | 70 +- .../impl/Windows.Security.Credentials.UI.1.h | 2 +- .../impl/Windows.Security.Credentials.UI.2.h | 2 +- .../impl/Windows.Security.Cryptography.0.h | 24 +- .../impl/Windows.Security.Cryptography.1.h | 2 +- .../impl/Windows.Security.Cryptography.2.h | 2 +- ...ows.Security.Cryptography.Certificates.0.h | 421 +- ...ows.Security.Cryptography.Certificates.1.h | 2 +- ...ows.Security.Cryptography.Certificates.2.h | 2 +- .../Windows.Security.Cryptography.Core.0.h | 360 +- .../Windows.Security.Cryptography.Core.1.h | 2 +- .../Windows.Security.Cryptography.Core.2.h | 2 +- ...s.Security.Cryptography.DataProtection.0.h | 13 +- ...s.Security.Cryptography.DataProtection.1.h | 2 +- ...s.Security.Cryptography.DataProtection.2.h | 2 +- .../impl/Windows.Security.DataProtection.0.h | 31 +- .../impl/Windows.Security.DataProtection.1.h | 2 +- .../impl/Windows.Security.DataProtection.2.h | 2 +- .../impl/Windows.Security.EnterpriseData.0.h | 210 +- .../impl/Windows.Security.EnterpriseData.1.h | 2 +- .../impl/Windows.Security.EnterpriseData.2.h | 10 +- ...ecurity.ExchangeActiveSyncProvisioning.0.h | 75 +- ...ecurity.ExchangeActiveSyncProvisioning.1.h | 2 +- ...ecurity.ExchangeActiveSyncProvisioning.2.h | 2 +- .../winrt/impl/Windows.Security.Isolation.0.h | 181 +- .../winrt/impl/Windows.Security.Isolation.1.h | 2 +- .../winrt/impl/Windows.Security.Isolation.2.h | 2 +- .../winrt/impl/Windows.Services.Cortana.0.h | 51 +- .../winrt/impl/Windows.Services.Cortana.1.h | 2 +- .../winrt/impl/Windows.Services.Cortana.2.h | 2 +- .../winrt/impl/Windows.Services.Maps.0.h | 226 +- .../winrt/impl/Windows.Services.Maps.1.h | 2 +- .../winrt/impl/Windows.Services.Maps.2.h | 2 +- .../impl/Windows.Services.Maps.Guidance.0.h | 228 +- .../impl/Windows.Services.Maps.Guidance.1.h | 2 +- .../impl/Windows.Services.Maps.Guidance.2.h | 2 +- .../Windows.Services.Maps.LocalSearch.0.h | 64 +- .../Windows.Services.Maps.LocalSearch.1.h | 2 +- .../Windows.Services.Maps.LocalSearch.2.h | 2 +- .../Windows.Services.Maps.OfflineMaps.0.h | 35 +- .../Windows.Services.Maps.OfflineMaps.1.h | 2 +- .../Windows.Services.Maps.OfflineMaps.2.h | 2 +- .../winrt/impl/Windows.Services.Store.0.h | 397 +- .../winrt/impl/Windows.Services.Store.1.h | 2 +- .../winrt/impl/Windows.Services.Store.2.h | 2 +- .../impl/Windows.Services.TargetedContent.0.h | 144 +- .../impl/Windows.Services.TargetedContent.1.h | 2 +- .../impl/Windows.Services.TargetedContent.2.h | 2 +- .../generated/winrt/impl/Windows.Storage.0.h | 553 +- .../generated/winrt/impl/Windows.Storage.1.h | 2 +- .../generated/winrt/impl/Windows.Storage.2.h | 2 +- .../impl/Windows.Storage.AccessCache.0.h | 57 +- .../impl/Windows.Storage.AccessCache.1.h | 2 +- .../impl/Windows.Storage.AccessCache.2.h | 2 +- .../winrt/impl/Windows.Storage.BulkAccess.0.h | 57 +- .../winrt/impl/Windows.Storage.BulkAccess.1.h | 2 +- .../winrt/impl/Windows.Storage.BulkAccess.2.h | 2 +- .../impl/Windows.Storage.Compression.0.h | 18 +- .../impl/Windows.Storage.Compression.1.h | 2 +- .../impl/Windows.Storage.Compression.2.h | 2 +- .../impl/Windows.Storage.FileProperties.0.h | 179 +- .../impl/Windows.Storage.FileProperties.1.h | 2 +- .../impl/Windows.Storage.FileProperties.2.h | 2 +- .../winrt/impl/Windows.Storage.Pickers.0.h | 111 +- .../winrt/impl/Windows.Storage.Pickers.1.h | 2 +- .../winrt/impl/Windows.Storage.Pickers.2.h | 2 +- .../impl/Windows.Storage.Pickers.Provider.0.h | 82 +- .../impl/Windows.Storage.Pickers.Provider.1.h | 2 +- .../impl/Windows.Storage.Pickers.Provider.2.h | 2 +- .../winrt/impl/Windows.Storage.Provider.0.h | 236 +- .../winrt/impl/Windows.Storage.Provider.1.h | 2 +- .../winrt/impl/Windows.Storage.Provider.2.h | 2 +- .../winrt/impl/Windows.Storage.Search.0.h | 189 +- .../winrt/impl/Windows.Storage.Search.1.h | 2 +- .../winrt/impl/Windows.Storage.Search.2.h | 2 +- .../winrt/impl/Windows.Storage.Streams.0.h | 186 +- .../winrt/impl/Windows.Storage.Streams.1.h | 2 +- .../winrt/impl/Windows.Storage.Streams.2.h | 2 +- .../generated/winrt/impl/Windows.System.0.h | 581 +- .../generated/winrt/impl/Windows.System.1.h | 2 +- .../generated/winrt/impl/Windows.System.2.h | 10 +- .../winrt/impl/Windows.System.Diagnostics.0.h | 116 +- .../winrt/impl/Windows.System.Diagnostics.1.h | 2 +- .../winrt/impl/Windows.System.Diagnostics.2.h | 2 +- ...indows.System.Diagnostics.DevicePortal.0.h | 42 +- ...indows.System.Diagnostics.DevicePortal.1.h | 2 +- ...indows.System.Diagnostics.DevicePortal.2.h | 2 +- .../Windows.System.Diagnostics.Telemetry.0.h | 16 +- .../Windows.System.Diagnostics.Telemetry.1.h | 2 +- .../Windows.System.Diagnostics.Telemetry.2.h | 2 +- ...dows.System.Diagnostics.TraceReporting.0.h | 35 +- ...dows.System.Diagnostics.TraceReporting.1.h | 2 +- ...dows.System.Diagnostics.TraceReporting.2.h | 2 +- .../winrt/impl/Windows.System.Display.0.h | 6 +- .../winrt/impl/Windows.System.Display.1.h | 2 +- .../winrt/impl/Windows.System.Display.2.h | 2 +- ...ows.System.Implementation.FileExplorer.0.h | 20 +- ...ows.System.Implementation.FileExplorer.1.h | 2 +- ...ows.System.Implementation.FileExplorer.2.h | 2 +- .../winrt/impl/Windows.System.Inventory.0.h | 20 +- .../winrt/impl/Windows.System.Inventory.1.h | 2 +- .../winrt/impl/Windows.System.Inventory.2.h | 2 +- .../winrt/impl/Windows.System.Power.0.h | 94 +- .../winrt/impl/Windows.System.Power.1.h | 2 +- .../winrt/impl/Windows.System.Power.2.h | 20 +- .../impl/Windows.System.Power.Diagnostics.0.h | 14 +- .../impl/Windows.System.Power.Diagnostics.1.h | 2 +- .../impl/Windows.System.Power.Diagnostics.2.h | 2 +- .../winrt/impl/Windows.System.Preview.0.h | 27 +- .../winrt/impl/Windows.System.Preview.1.h | 2 +- .../winrt/impl/Windows.System.Preview.2.h | 2 +- .../winrt/impl/Windows.System.Profile.0.h | 125 +- .../winrt/impl/Windows.System.Profile.1.h | 2 +- .../winrt/impl/Windows.System.Profile.2.h | 8 +- ...ows.System.Profile.SystemManufacturers.0.h | 30 +- ...ows.System.Profile.SystemManufacturers.1.h | 2 +- ...ows.System.Profile.SystemManufacturers.2.h | 2 +- .../impl/Windows.System.RemoteDesktop.0.h | 4 +- .../impl/Windows.System.RemoteDesktop.1.h | 2 +- .../impl/Windows.System.RemoteDesktop.2.h | 2 +- .../impl/Windows.System.RemoteSystems.0.h | 330 +- .../impl/Windows.System.RemoteSystems.1.h | 2 +- .../impl/Windows.System.RemoteSystems.2.h | 2 +- .../winrt/impl/Windows.System.Threading.0.h | 22 +- .../winrt/impl/Windows.System.Threading.1.h | 2 +- .../winrt/impl/Windows.System.Threading.2.h | 2 +- .../impl/Windows.System.Threading.Core.0.h | 22 +- .../impl/Windows.System.Threading.Core.1.h | 2 +- .../impl/Windows.System.Threading.Core.2.h | 2 +- .../winrt/impl/Windows.System.Update.0.h | 79 +- .../winrt/impl/Windows.System.Update.1.h | 2 +- .../winrt/impl/Windows.System.Update.2.h | 4 +- .../winrt/impl/Windows.System.UserProfile.0.h | 116 +- .../winrt/impl/Windows.System.UserProfile.1.h | 2 +- .../winrt/impl/Windows.System.UserProfile.2.h | 4 +- .../generated/winrt/impl/Windows.UI.0.h | 290 +- .../generated/winrt/impl/Windows.UI.1.h | 2 +- .../generated/winrt/impl/Windows.UI.2.h | 2 +- .../winrt/impl/Windows.UI.Accessibility.0.h | 14 +- .../winrt/impl/Windows.UI.Accessibility.1.h | 2 +- .../winrt/impl/Windows.UI.Accessibility.2.h | 2 +- .../impl/Windows.UI.ApplicationSettings.0.h | 86 +- .../impl/Windows.UI.ApplicationSettings.1.h | 2 +- .../impl/Windows.UI.ApplicationSettings.2.h | 2 +- .../winrt/impl/Windows.UI.Composition.0.h | 1437 ++- .../winrt/impl/Windows.UI.Composition.1.h | 2 +- .../winrt/impl/Windows.UI.Composition.2.h | 2 +- .../impl/Windows.UI.Composition.Core.0.h | 14 +- .../impl/Windows.UI.Composition.Core.1.h | 2 +- .../impl/Windows.UI.Composition.Core.2.h | 2 +- .../impl/Windows.UI.Composition.Desktop.0.h | 4 +- .../impl/Windows.UI.Composition.Desktop.1.h | 2 +- .../impl/Windows.UI.Composition.Desktop.2.h | 2 +- .../Windows.UI.Composition.Diagnostics.0.h | 14 +- .../Windows.UI.Composition.Diagnostics.1.h | 2 +- .../Windows.UI.Composition.Diagnostics.2.h | 2 +- .../impl/Windows.UI.Composition.Effects.0.h | 26 +- .../impl/Windows.UI.Composition.Effects.1.h | 2 +- .../impl/Windows.UI.Composition.Effects.2.h | 2 +- .../Windows.UI.Composition.Interactions.0.h | 278 +- .../Windows.UI.Composition.Interactions.1.h | 2 +- .../Windows.UI.Composition.Interactions.2.h | 2 +- .../impl/Windows.UI.Composition.Scenes.0.h | 154 +- .../impl/Windows.UI.Composition.Scenes.1.h | 2 +- .../impl/Windows.UI.Composition.Scenes.2.h | 2 +- .../generated/winrt/impl/Windows.UI.Core.0.h | 501 +- .../generated/winrt/impl/Windows.UI.Core.1.h | 2 +- .../generated/winrt/impl/Windows.UI.Core.2.h | 2 +- .../impl/Windows.UI.Core.AnimationMetrics.0.h | 43 +- .../impl/Windows.UI.Core.AnimationMetrics.1.h | 2 +- .../impl/Windows.UI.Core.AnimationMetrics.2.h | 2 +- .../winrt/impl/Windows.UI.Core.Preview.0.h | 18 +- .../winrt/impl/Windows.UI.Core.Preview.1.h | 2 +- .../winrt/impl/Windows.UI.Core.Preview.2.h | 2 +- ...Windows.UI.Core.Preview.Communications.0.h | 98 +- ...Windows.UI.Core.Preview.Communications.1.h | 2 +- ...Windows.UI.Core.Preview.Communications.2.h | 2 +- .../generated/winrt/impl/Windows.UI.Input.0.h | 639 +- .../generated/winrt/impl/Windows.UI.Input.1.h | 2 +- .../generated/winrt/impl/Windows.UI.Input.2.h | 2 +- .../winrt/impl/Windows.UI.Input.Core.0.h | 10 +- .../winrt/impl/Windows.UI.Input.Core.1.h | 2 +- .../winrt/impl/Windows.UI.Input.Core.2.h | 2 +- .../winrt/impl/Windows.UI.Input.Inking.0.h | 419 +- .../winrt/impl/Windows.UI.Input.Inking.1.h | 2 +- .../winrt/impl/Windows.UI.Input.Inking.2.h | 2 +- .../impl/Windows.UI.Input.Inking.Analysis.0.h | 68 +- .../impl/Windows.UI.Input.Inking.Analysis.1.h | 2 +- .../impl/Windows.UI.Input.Inking.Analysis.2.h | 2 +- .../impl/Windows.UI.Input.Inking.Core.0.h | 109 +- .../impl/Windows.UI.Input.Inking.Core.1.h | 2 +- .../impl/Windows.UI.Input.Inking.Core.2.h | 2 +- .../impl/Windows.UI.Input.Inking.Preview.0.h | 6 +- .../impl/Windows.UI.Input.Inking.Preview.1.h | 2 +- .../impl/Windows.UI.Input.Inking.Preview.2.h | 2 +- .../winrt/impl/Windows.UI.Input.Preview.0.h | 4 +- .../winrt/impl/Windows.UI.Input.Preview.1.h | 2 +- .../winrt/impl/Windows.UI.Input.Preview.2.h | 2 +- .../Windows.UI.Input.Preview.Injection.0.h | 140 +- .../Windows.UI.Input.Preview.Injection.1.h | 2 +- .../Windows.UI.Input.Preview.Injection.2.h | 2 +- .../winrt/impl/Windows.UI.Input.Spatial.0.h | 332 +- .../winrt/impl/Windows.UI.Input.Spatial.1.h | 2 +- .../winrt/impl/Windows.UI.Input.Spatial.2.h | 2 +- .../winrt/impl/Windows.UI.Notifications.0.h | 486 +- .../winrt/impl/Windows.UI.Notifications.1.h | 2 +- .../winrt/impl/Windows.UI.Notifications.2.h | 2 +- .../Windows.UI.Notifications.Management.0.h | 27 +- .../Windows.UI.Notifications.Management.1.h | 2 +- .../Windows.UI.Notifications.Management.2.h | 2 +- .../winrt/impl/Windows.UI.Popups.0.h | 61 +- .../winrt/impl/Windows.UI.Popups.1.h | 2 +- .../winrt/impl/Windows.UI.Popups.2.h | 2 +- .../generated/winrt/impl/Windows.UI.Shell.0.h | 33 +- .../generated/winrt/impl/Windows.UI.Shell.1.h | 2 +- .../generated/winrt/impl/Windows.UI.Shell.2.h | 2 +- .../winrt/impl/Windows.UI.StartScreen.0.h | 234 +- .../winrt/impl/Windows.UI.StartScreen.1.h | 2 +- .../winrt/impl/Windows.UI.StartScreen.2.h | 2 +- .../generated/winrt/impl/Windows.UI.Text.0.h | 454 +- .../generated/winrt/impl/Windows.UI.Text.1.h | 2 +- .../generated/winrt/impl/Windows.UI.Text.2.h | 2 +- .../winrt/impl/Windows.UI.Text.Core.0.h | 217 +- .../winrt/impl/Windows.UI.Text.Core.1.h | 2 +- .../winrt/impl/Windows.UI.Text.Core.2.h | 2 +- .../winrt/impl/Windows.UI.UIAutomation.0.h | 8 +- .../winrt/impl/Windows.UI.UIAutomation.1.h | 2 +- .../winrt/impl/Windows.UI.UIAutomation.2.h | 2 +- .../impl/Windows.UI.UIAutomation.Core.0.h | 22 +- .../impl/Windows.UI.UIAutomation.Core.1.h | 2 +- .../impl/Windows.UI.UIAutomation.Core.2.h | 2 +- .../winrt/impl/Windows.UI.ViewManagement.0.h | 398 +- .../winrt/impl/Windows.UI.ViewManagement.1.h | 2 +- .../winrt/impl/Windows.UI.ViewManagement.2.h | 4 +- .../impl/Windows.UI.ViewManagement.Core.0.h | 93 +- .../impl/Windows.UI.ViewManagement.Core.1.h | 2 +- .../impl/Windows.UI.ViewManagement.Core.2.h | 2 +- .../generated/winrt/impl/Windows.UI.WebUI.0.h | 145 +- .../generated/winrt/impl/Windows.UI.WebUI.1.h | 2 +- .../generated/winrt/impl/Windows.UI.WebUI.2.h | 18 +- .../winrt/impl/Windows.UI.WebUI.Core.0.h | 108 +- .../winrt/impl/Windows.UI.WebUI.Core.1.h | 2 +- .../winrt/impl/Windows.UI.WebUI.Core.2.h | 2 +- .../impl/Windows.UI.WindowManagement.0.h | 233 +- .../impl/Windows.UI.WindowManagement.1.h | 2 +- .../impl/Windows.UI.WindowManagement.2.h | 2 +- .../Windows.UI.WindowManagement.Preview.0.h | 4 +- .../Windows.UI.WindowManagement.Preview.1.h | 2 +- .../Windows.UI.WindowManagement.Preview.2.h | 2 +- .../generated/winrt/impl/Windows.UI.Xaml.0.h | 1754 ++-- .../generated/winrt/impl/Windows.UI.Xaml.1.h | 2 +- .../generated/winrt/impl/Windows.UI.Xaml.2.h | 49 +- .../winrt/impl/Windows.UI.Xaml.Automation.0.h | 396 +- .../winrt/impl/Windows.UI.Xaml.Automation.1.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Automation.2.h | 2 +- .../impl/Windows.UI.Xaml.Automation.Peers.0.h | 404 +- .../impl/Windows.UI.Xaml.Automation.Peers.1.h | 2 +- .../impl/Windows.UI.Xaml.Automation.Peers.2.h | 99 +- .../Windows.UI.Xaml.Automation.Provider.0.h | 266 +- .../Windows.UI.Xaml.Automation.Provider.1.h | 2 +- .../Windows.UI.Xaml.Automation.Provider.2.h | 2 +- .../impl/Windows.UI.Xaml.Automation.Text.0.h | 2 +- .../impl/Windows.UI.Xaml.Automation.Text.1.h | 2 +- .../impl/Windows.UI.Xaml.Automation.Text.2.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Controls.0.h | 8451 ++++++++-------- .../winrt/impl/Windows.UI.Xaml.Controls.1.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Controls.2.h | 133 +- .../impl/Windows.UI.Xaml.Controls.Maps.0.h | 1254 ++- .../impl/Windows.UI.Xaml.Controls.Maps.1.h | 2 +- .../impl/Windows.UI.Xaml.Controls.Maps.2.h | 2 +- .../Windows.UI.Xaml.Controls.Primitives.0.h | 1307 ++- .../Windows.UI.Xaml.Controls.Primitives.1.h | 2 +- .../Windows.UI.Xaml.Controls.Primitives.2.h | 18 +- .../impl/Windows.UI.Xaml.Core.Direct.0.h | 108 +- .../impl/Windows.UI.Xaml.Core.Direct.1.h | 2 +- .../impl/Windows.UI.Xaml.Core.Direct.2.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Data.0.h | 202 +- .../winrt/impl/Windows.UI.Xaml.Data.1.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Data.2.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Documents.0.h | 770 +- .../winrt/impl/Windows.UI.Xaml.Documents.1.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Documents.2.h | 4 +- .../winrt/impl/Windows.UI.Xaml.Hosting.0.h | 129 +- .../winrt/impl/Windows.UI.Xaml.Hosting.1.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Hosting.2.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Input.0.h | 507 +- .../winrt/impl/Windows.UI.Xaml.Input.1.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Input.2.h | 12 +- .../winrt/impl/Windows.UI.Xaml.Interop.0.h | 60 +- .../winrt/impl/Windows.UI.Xaml.Interop.1.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Interop.2.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Markup.0.h | 130 +- .../winrt/impl/Windows.UI.Xaml.Markup.1.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Markup.2.h | 4 +- .../winrt/impl/Windows.UI.Xaml.Media.0.h | 772 +- .../winrt/impl/Windows.UI.Xaml.Media.1.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Media.2.h | 26 +- .../impl/Windows.UI.Xaml.Media.Animation.0.h | 854 +- .../impl/Windows.UI.Xaml.Media.Animation.1.h | 2 +- .../impl/Windows.UI.Xaml.Media.Animation.2.h | 6 +- .../impl/Windows.UI.Xaml.Media.Imaging.0.h | 161 +- .../impl/Windows.UI.Xaml.Media.Imaging.1.h | 2 +- .../impl/Windows.UI.Xaml.Media.Imaging.2.h | 4 +- .../impl/Windows.UI.Xaml.Media.Media3D.0.h | 106 +- .../impl/Windows.UI.Xaml.Media.Media3D.1.h | 2 +- .../impl/Windows.UI.Xaml.Media.Media3D.2.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Navigation.0.h | 56 +- .../winrt/impl/Windows.UI.Xaml.Navigation.1.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Navigation.2.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Printing.0.h | 44 +- .../winrt/impl/Windows.UI.Xaml.Printing.1.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Printing.2.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Resources.0.h | 10 +- .../winrt/impl/Windows.UI.Xaml.Resources.1.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Resources.2.h | 4 +- .../winrt/impl/Windows.UI.Xaml.Shapes.0.h | 142 +- .../winrt/impl/Windows.UI.Xaml.Shapes.1.h | 2 +- .../winrt/impl/Windows.UI.Xaml.Shapes.2.h | 2 +- .../generated/winrt/impl/Windows.Web.0.h | 11 +- .../generated/winrt/impl/Windows.Web.1.h | 2 +- .../generated/winrt/impl/Windows.Web.2.h | 2 +- .../winrt/impl/Windows.Web.AtomPub.0.h | 49 +- .../winrt/impl/Windows.Web.AtomPub.1.h | 2 +- .../winrt/impl/Windows.Web.AtomPub.2.h | 2 +- .../generated/winrt/impl/Windows.Web.Http.0.h | 239 +- .../generated/winrt/impl/Windows.Web.Http.1.h | 2 +- .../generated/winrt/impl/Windows.Web.Http.2.h | 2 +- .../impl/Windows.Web.Http.Diagnostics.0.h | 89 +- .../impl/Windows.Web.Http.Diagnostics.1.h | 2 +- .../impl/Windows.Web.Http.Diagnostics.2.h | 2 +- .../winrt/impl/Windows.Web.Http.Filters.0.h | 93 +- .../winrt/impl/Windows.Web.Http.Filters.1.h | 2 +- .../winrt/impl/Windows.Web.Http.Filters.2.h | 2 +- .../winrt/impl/Windows.Web.Http.Headers.0.h | 444 +- .../winrt/impl/Windows.Web.Http.Headers.1.h | 2 +- .../winrt/impl/Windows.Web.Http.Headers.2.h | 2 +- .../winrt/impl/Windows.Web.Syndication.0.h | 291 +- .../winrt/impl/Windows.Web.Syndication.1.h | 2 +- .../winrt/impl/Windows.Web.Syndication.2.h | 2 +- .../generated/winrt/impl/Windows.Web.UI.0.h | 256 +- .../generated/winrt/impl/Windows.Web.UI.1.h | 2 +- .../generated/winrt/impl/Windows.Web.UI.2.h | 2 +- .../winrt/impl/Windows.Web.UI.Interop.0.h | 91 +- .../winrt/impl/Windows.Web.UI.Interop.1.h | 2 +- .../winrt/impl/Windows.Web.UI.Interop.2.h | 2 +- .../windows/generated/winrt/winrt.ixx | 2 +- 1366 files changed, 69568 insertions(+), 70576 deletions(-) diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.Preview.h b/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.Preview.h index 5000b4ee..b6ed115b 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.Preview.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.Preview.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_AI_MachineLearning_Preview_H #define WINRT_Windows_AI_MachineLearning_Preview_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.AI.MachineLearning.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,253 +15,253 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.AI.MachineLearning.Preview.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) consume_Windows_AI_MachineLearning_Preview_IImageVariableDescriptorPreview::BitmapPixelFormat() const + template auto consume_Windows_AI_MachineLearning_Preview_IImageVariableDescriptorPreview::BitmapPixelFormat() const { winrt::Windows::Graphics::Imaging::BitmapPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IImageVariableDescriptorPreview)->get_BitmapPixelFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_AI_MachineLearning_Preview_IImageVariableDescriptorPreview::Width() const + template auto consume_Windows_AI_MachineLearning_Preview_IImageVariableDescriptorPreview::Width() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IImageVariableDescriptorPreview)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_AI_MachineLearning_Preview_IImageVariableDescriptorPreview::Height() const + template auto consume_Windows_AI_MachineLearning_Preview_IImageVariableDescriptorPreview::Height() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IImageVariableDescriptorPreview)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::LearningModelDeviceKindPreview) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::PreferredDeviceKind() const + template auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::PreferredDeviceKind() const { winrt::Windows::AI::MachineLearning::Preview::LearningModelDeviceKindPreview value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->get_PreferredDeviceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::PreferredDeviceKind(winrt::Windows::AI::MachineLearning::Preview::LearningModelDeviceKindPreview const& value) const + template auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::PreferredDeviceKind(winrt::Windows::AI::MachineLearning::Preview::LearningModelDeviceKindPreview const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->put_PreferredDeviceKind(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::IsTracingEnabled() const + template auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::IsTracingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->get_IsTracingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::IsTracingEnabled(bool value) const + template auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::IsTracingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->put_IsTracingEnabled(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::MaxBatchSize() const + template auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::MaxBatchSize() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->get_MaxBatchSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::MaxBatchSize(int32_t value) const + template auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::MaxBatchSize(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->put_MaxBatchSize(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::MinimizeMemoryAllocation() const + template auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::MinimizeMemoryAllocation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->get_MinimizeMemoryAllocation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::MinimizeMemoryAllocation(bool value) const + template auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::MinimizeMemoryAllocation(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->put_MinimizeMemoryAllocation(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::ReclaimMemoryAfterEvaluation() const + template auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::ReclaimMemoryAfterEvaluation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->get_ReclaimMemoryAfterEvaluation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::ReclaimMemoryAfterEvaluation(bool value) const + template auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview::ReclaimMemoryAfterEvaluation(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->put_ReclaimMemoryAfterEvaluation(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreview::Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreview::Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelBindingPreview)->Bind(*(void**)(&name), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreview::Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::Collections::IPropertySet const& metadata) const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreview::Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::Collections::IPropertySet const& metadata) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelBindingPreview)->BindWithProperties(*(void**)(&name), *(void**)(&value), *(void**)(&metadata))); } - template WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreview::Clear() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreview::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelBindingPreview)->Clear()); } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::LearningModelBindingPreview) consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreviewFactory::CreateFromModel(winrt::Windows::AI::MachineLearning::Preview::LearningModelPreview const& model) const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreviewFactory::CreateFromModel(winrt::Windows::AI::MachineLearning::Preview::LearningModelPreview const& model) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelBindingPreviewFactory)->CreateFromModel(*(void**)(&model), &value)); return winrt::Windows::AI::MachineLearning::Preview::LearningModelBindingPreview{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview::Author() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview::Author() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelDescriptionPreview)->get_Author(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview::Name() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelDescriptionPreview)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview::Domain() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview::Domain() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelDescriptionPreview)->get_Domain(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview::Description() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelDescriptionPreview)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview::Version() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview::Version() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelDescriptionPreview)->get_Version(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview::Metadata() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview::Metadata() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelDescriptionPreview)->get_Metadata(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview::InputFeatures() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview::InputFeatures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelDescriptionPreview)->get_InputFeatures(&value)); return winrt::Windows::Foundation::Collections::IIterable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview::OutputFeatures() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview::OutputFeatures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelDescriptionPreview)->get_OutputFeatures(&value)); return winrt::Windows::Foundation::Collections::IIterable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_Preview_ILearningModelEvaluationResultPreview::CorrelationId() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelEvaluationResultPreview::CorrelationId() const { void* correlationId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelEvaluationResultPreview)->get_CorrelationId(&correlationId)); return hstring{ correlationId, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_AI_MachineLearning_Preview_ILearningModelEvaluationResultPreview::Outputs() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelEvaluationResultPreview::Outputs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelEvaluationResultPreview)->get_Outputs(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview::EvaluateAsync(winrt::Windows::AI::MachineLearning::Preview::LearningModelBindingPreview const& binding, param::hstring const& correlationId) const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview::EvaluateAsync(winrt::Windows::AI::MachineLearning::Preview::LearningModelBindingPreview const& binding, param::hstring const& correlationId) const { void* evalOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelPreview)->EvaluateAsync(*(void**)(&binding), *(void**)(&correlationId), &evalOperation)); return winrt::Windows::Foundation::IAsyncOperation{ evalOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview::EvaluateFeaturesAsync(param::map const& features, param::hstring const& correlationId) const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview::EvaluateFeaturesAsync(param::map const& features, param::hstring const& correlationId) const { void* evalOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelPreview)->EvaluateFeaturesAsync(*(void**)(&features), *(void**)(&correlationId), &evalOperation)); return winrt::Windows::Foundation::IAsyncOperation{ evalOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::LearningModelDescriptionPreview) consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview::Description() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview::Description() const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelPreview)->get_Description(&returnValue)); return winrt::Windows::AI::MachineLearning::Preview::LearningModelDescriptionPreview{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::InferencingOptionsPreview) consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview::InferencingOptions() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview::InferencingOptions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelPreview)->get_InferencingOptions(&value)); return winrt::Windows::AI::MachineLearning::Preview::InferencingOptionsPreview{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview::InferencingOptions(winrt::Windows::AI::MachineLearning::Preview::InferencingOptionsPreview const& value) const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview::InferencingOptions(winrt::Windows::AI::MachineLearning::Preview::InferencingOptionsPreview const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelPreview)->put_InferencingOptions(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_AI_MachineLearning_Preview_ILearningModelPreviewStatics::LoadModelFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelPreviewStatics::LoadModelFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const { void* modelCreationOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelPreviewStatics)->LoadModelFromStorageFileAsync(*(void**)(&modelFile), &modelCreationOperation)); return winrt::Windows::Foundation::IAsyncOperation{ modelCreationOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_AI_MachineLearning_Preview_ILearningModelPreviewStatics::LoadModelFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelPreviewStatics::LoadModelFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const { void* modelCreationOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelPreviewStatics)->LoadModelFromStreamAsync(*(void**)(&modelStream), &modelCreationOperation)); return winrt::Windows::Foundation::IAsyncOperation{ modelCreationOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview::Name() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview::Description() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::LearningModelFeatureKindPreview) consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview::ModelFeatureKind() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview::ModelFeatureKind() const { winrt::Windows::AI::MachineLearning::Preview::LearningModelFeatureKindPreview value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview)->get_ModelFeatureKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview::IsRequired() const + template auto consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview::IsRequired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview)->get_IsRequired(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::FeatureElementKindPreview) consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview::KeyKind() const + template auto consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview::KeyKind() const { winrt::Windows::AI::MachineLearning::Preview::FeatureElementKindPreview value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IMapVariableDescriptorPreview)->get_KeyKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview::ValidStringKeys() const + template auto consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview::ValidStringKeys() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IMapVariableDescriptorPreview)->get_ValidStringKeys(&value)); return winrt::Windows::Foundation::Collections::IIterable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview::ValidIntegerKeys() const + template auto consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview::ValidIntegerKeys() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IMapVariableDescriptorPreview)->get_ValidIntegerKeys(&value)); return winrt::Windows::Foundation::Collections::IIterable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview) consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview::Fields() const + template auto consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview::Fields() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IMapVariableDescriptorPreview)->get_Fields(&value)); return winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview) consume_Windows_AI_MachineLearning_Preview_ISequenceVariableDescriptorPreview::ElementType() const + template auto consume_Windows_AI_MachineLearning_Preview_ISequenceVariableDescriptorPreview::ElementType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ISequenceVariableDescriptorPreview)->get_ElementType(&value)); return winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::FeatureElementKindPreview) consume_Windows_AI_MachineLearning_Preview_ITensorVariableDescriptorPreview::DataType() const + template auto consume_Windows_AI_MachineLearning_Preview_ITensorVariableDescriptorPreview::DataType() const { winrt::Windows::AI::MachineLearning::Preview::FeatureElementKindPreview value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ITensorVariableDescriptorPreview)->get_DataType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_AI_MachineLearning_Preview_ITensorVariableDescriptorPreview::Shape() const + template auto consume_Windows_AI_MachineLearning_Preview_ITensorVariableDescriptorPreview::Shape() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ITensorVariableDescriptorPreview)->get_Shape(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.h b/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.h index c2b31115..7c1fbf15 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_AI_MachineLearning_H #define WINRT_Windows_AI_MachineLearning_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Graphics.2.h" @@ -17,895 +17,895 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.AI.MachineLearning.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) consume_Windows_AI_MachineLearning_IImageFeatureDescriptor::BitmapPixelFormat() const + template auto consume_Windows_AI_MachineLearning_IImageFeatureDescriptor::BitmapPixelFormat() const { winrt::Windows::Graphics::Imaging::BitmapPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IImageFeatureDescriptor)->get_BitmapPixelFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) consume_Windows_AI_MachineLearning_IImageFeatureDescriptor::BitmapAlphaMode() const + template auto consume_Windows_AI_MachineLearning_IImageFeatureDescriptor::BitmapAlphaMode() const { winrt::Windows::Graphics::Imaging::BitmapAlphaMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IImageFeatureDescriptor)->get_BitmapAlphaMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_AI_MachineLearning_IImageFeatureDescriptor::Width() const + template auto consume_Windows_AI_MachineLearning_IImageFeatureDescriptor::Width() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IImageFeatureDescriptor)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_AI_MachineLearning_IImageFeatureDescriptor::Height() const + template auto consume_Windows_AI_MachineLearning_IImageFeatureDescriptor::Height() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IImageFeatureDescriptor)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_AI_MachineLearning_IImageFeatureValue::VideoFrame() const + template auto consume_Windows_AI_MachineLearning_IImageFeatureValue::VideoFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IImageFeatureValue)->get_VideoFrame(&value)); return winrt::Windows::Media::VideoFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::ImageFeatureValue) consume_Windows_AI_MachineLearning_IImageFeatureValueStatics::CreateFromVideoFrame(winrt::Windows::Media::VideoFrame const& image) const + template auto consume_Windows_AI_MachineLearning_IImageFeatureValueStatics::CreateFromVideoFrame(winrt::Windows::Media::VideoFrame const& image) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IImageFeatureValueStatics)->CreateFromVideoFrame(*(void**)(&image), &result)); return winrt::Windows::AI::MachineLearning::ImageFeatureValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModel::Author() const + template auto consume_Windows_AI_MachineLearning_ILearningModel::Author() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_Author(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModel::Name() const + template auto consume_Windows_AI_MachineLearning_ILearningModel::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModel::Domain() const + template auto consume_Windows_AI_MachineLearning_ILearningModel::Domain() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_Domain(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModel::Description() const + template auto consume_Windows_AI_MachineLearning_ILearningModel::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_AI_MachineLearning_ILearningModel::Version() const + template auto consume_Windows_AI_MachineLearning_ILearningModel::Version() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_Version(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_AI_MachineLearning_ILearningModel::Metadata() const + template auto consume_Windows_AI_MachineLearning_ILearningModel::Metadata() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_Metadata(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ILearningModel::InputFeatures() const + template auto consume_Windows_AI_MachineLearning_ILearningModel::InputFeatures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_InputFeatures(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ILearningModel::OutputFeatures() const + template auto consume_Windows_AI_MachineLearning_ILearningModel::OutputFeatures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_OutputFeatures(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelBinding::Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_AI_MachineLearning_ILearningModelBinding::Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelBinding)->Bind(*(void**)(&name), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelBinding::Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::Collections::IPropertySet const& props) const + template auto consume_Windows_AI_MachineLearning_ILearningModelBinding::Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::Collections::IPropertySet const& props) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelBinding)->BindWithProperties(*(void**)(&name), *(void**)(&value), *(void**)(&props))); } - template WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelBinding::Clear() const + template auto consume_Windows_AI_MachineLearning_ILearningModelBinding::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelBinding)->Clear()); } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelBinding) consume_Windows_AI_MachineLearning_ILearningModelBindingFactory::CreateFromSession(winrt::Windows::AI::MachineLearning::LearningModelSession const& session) const + template auto consume_Windows_AI_MachineLearning_ILearningModelBindingFactory::CreateFromSession(winrt::Windows::AI::MachineLearning::LearningModelSession const& session) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelBindingFactory)->CreateFromSession(*(void**)(&session), &value)); return winrt::Windows::AI::MachineLearning::LearningModelBinding{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DisplayAdapterId) consume_Windows_AI_MachineLearning_ILearningModelDevice::AdapterId() const + template auto consume_Windows_AI_MachineLearning_ILearningModelDevice::AdapterId() const { winrt::Windows::Graphics::DisplayAdapterId value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelDevice)->get_AdapterId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice) consume_Windows_AI_MachineLearning_ILearningModelDevice::Direct3D11Device() const + template auto consume_Windows_AI_MachineLearning_ILearningModelDevice::Direct3D11Device() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelDevice)->get_Direct3D11Device(&value)); return winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelDevice) consume_Windows_AI_MachineLearning_ILearningModelDeviceFactory::Create(winrt::Windows::AI::MachineLearning::LearningModelDeviceKind const& deviceKind) const + template auto consume_Windows_AI_MachineLearning_ILearningModelDeviceFactory::Create(winrt::Windows::AI::MachineLearning::LearningModelDeviceKind const& deviceKind) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelDeviceFactory)->Create(static_cast(deviceKind), &value)); return winrt::Windows::AI::MachineLearning::LearningModelDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelDevice) consume_Windows_AI_MachineLearning_ILearningModelDeviceStatics::CreateFromDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const + template auto consume_Windows_AI_MachineLearning_ILearningModelDeviceStatics::CreateFromDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelDeviceStatics)->CreateFromDirect3D11Device(*(void**)(&device), &result)); return winrt::Windows::AI::MachineLearning::LearningModelDevice{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult::CorrelationId() const + template auto consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult::CorrelationId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelEvaluationResult)->get_CorrelationId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult::ErrorStatus() const + template auto consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult::ErrorStatus() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelEvaluationResult)->get_ErrorStatus(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult::Succeeded() const + template auto consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult::Succeeded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelEvaluationResult)->get_Succeeded(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult::Outputs() const + template auto consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult::Outputs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelEvaluationResult)->get_Outputs(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor::Name() const + template auto consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor::Description() const + template auto consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelFeatureKind) consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor::Kind() const + template auto consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor::Kind() const { winrt::Windows::AI::MachineLearning::LearningModelFeatureKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor::IsRequired() const + template auto consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor::IsRequired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor)->get_IsRequired(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelFeatureKind) consume_Windows_AI_MachineLearning_ILearningModelFeatureValue::Kind() const + template auto consume_Windows_AI_MachineLearning_ILearningModelFeatureValue::Kind() const { winrt::Windows::AI::MachineLearning::LearningModelFeatureKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelFeatureValue)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) consume_Windows_AI_MachineLearning_ILearningModelSession::Model() const + template auto consume_Windows_AI_MachineLearning_ILearningModelSession::Model() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSession)->get_Model(&value)); return winrt::Windows::AI::MachineLearning::LearningModel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelDevice) consume_Windows_AI_MachineLearning_ILearningModelSession::Device() const + template auto consume_Windows_AI_MachineLearning_ILearningModelSession::Device() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSession)->get_Device(&value)); return winrt::Windows::AI::MachineLearning::LearningModelDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_AI_MachineLearning_ILearningModelSession::EvaluationProperties() const + template auto consume_Windows_AI_MachineLearning_ILearningModelSession::EvaluationProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSession)->get_EvaluationProperties(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_AI_MachineLearning_ILearningModelSession::EvaluateAsync(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const + template auto consume_Windows_AI_MachineLearning_ILearningModelSession::EvaluateAsync(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSession)->EvaluateAsync(*(void**)(&bindings), *(void**)(&correlationId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_AI_MachineLearning_ILearningModelSession::EvaluateFeaturesAsync(param::map const& features, param::hstring const& correlationId) const + template auto consume_Windows_AI_MachineLearning_ILearningModelSession::EvaluateFeaturesAsync(param::map const& features, param::hstring const& correlationId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSession)->EvaluateFeaturesAsync(*(void**)(&features), *(void**)(&correlationId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult) consume_Windows_AI_MachineLearning_ILearningModelSession::Evaluate(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const + template auto consume_Windows_AI_MachineLearning_ILearningModelSession::Evaluate(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSession)->Evaluate(*(void**)(&bindings), *(void**)(&correlationId), &result)); return winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult) consume_Windows_AI_MachineLearning_ILearningModelSession::EvaluateFeatures(param::map const& features, param::hstring const& correlationId) const + template auto consume_Windows_AI_MachineLearning_ILearningModelSession::EvaluateFeatures(param::map const& features, param::hstring const& correlationId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSession)->EvaluateFeatures(*(void**)(&features), *(void**)(&correlationId), &result)); return winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelSession) consume_Windows_AI_MachineLearning_ILearningModelSessionFactory::CreateFromModel(winrt::Windows::AI::MachineLearning::LearningModel const& model) const + template auto consume_Windows_AI_MachineLearning_ILearningModelSessionFactory::CreateFromModel(winrt::Windows::AI::MachineLearning::LearningModel const& model) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionFactory)->CreateFromModel(*(void**)(&model), &value)); return winrt::Windows::AI::MachineLearning::LearningModelSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelSession) consume_Windows_AI_MachineLearning_ILearningModelSessionFactory::CreateFromModelOnDevice(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn) const + template auto consume_Windows_AI_MachineLearning_ILearningModelSessionFactory::CreateFromModelOnDevice(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionFactory)->CreateFromModelOnDevice(*(void**)(&model), *(void**)(&deviceToRunOn), &value)); return winrt::Windows::AI::MachineLearning::LearningModelSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelSession) consume_Windows_AI_MachineLearning_ILearningModelSessionFactory2::CreateFromModelOnDeviceWithSessionOptions(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn, winrt::Windows::AI::MachineLearning::LearningModelSessionOptions const& learningModelSessionOptions) const + template auto consume_Windows_AI_MachineLearning_ILearningModelSessionFactory2::CreateFromModelOnDeviceWithSessionOptions(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn, winrt::Windows::AI::MachineLearning::LearningModelSessionOptions const& learningModelSessionOptions) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionFactory2)->CreateFromModelOnDeviceWithSessionOptions(*(void**)(&model), *(void**)(&deviceToRunOn), *(void**)(&learningModelSessionOptions), &value)); return winrt::Windows::AI::MachineLearning::LearningModelSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions::BatchSizeOverride() const + template auto consume_Windows_AI_MachineLearning_ILearningModelSessionOptions::BatchSizeOverride() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions)->get_BatchSizeOverride(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions::BatchSizeOverride(uint32_t value) const + template auto consume_Windows_AI_MachineLearning_ILearningModelSessionOptions::BatchSizeOverride(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions)->put_BatchSizeOverride(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions2::CloseModelOnSessionCreation() const + template auto consume_Windows_AI_MachineLearning_ILearningModelSessionOptions2::CloseModelOnSessionCreation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions2)->get_CloseModelOnSessionCreation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions2::CloseModelOnSessionCreation(bool value) const + template auto consume_Windows_AI_MachineLearning_ILearningModelSessionOptions2::CloseModelOnSessionCreation(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions2)->put_CloseModelOnSessionCreation(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions3::OverrideNamedDimension(param::hstring const& name, uint32_t dimension) const + template auto consume_Windows_AI_MachineLearning_ILearningModelSessionOptions3::OverrideNamedDimension(param::hstring const& name, uint32_t dimension) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions3)->OverrideNamedDimension(*(void**)(&name), dimension)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const + template auto consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelStatics)->LoadFromStorageFileAsync(*(void**)(&modelFile), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const + template auto consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelStatics)->LoadFromStreamAsync(*(void**)(&modelStream), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromFilePath(param::hstring const& filePath) const + template auto consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromFilePath(param::hstring const& filePath) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelStatics)->LoadFromFilePath(*(void**)(&filePath), &result)); return winrt::Windows::AI::MachineLearning::LearningModel{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const + template auto consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelStatics)->LoadFromStream(*(void**)(&modelStream), &result)); return winrt::Windows::AI::MachineLearning::LearningModel{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const + template auto consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelStatics)->LoadFromStorageFileWithOperatorProviderAsync(*(void**)(&modelFile), *(void**)(&operatorProvider), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const + template auto consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelStatics)->LoadFromStreamWithOperatorProviderAsync(*(void**)(&modelStream), *(void**)(&operatorProvider), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromFilePath(param::hstring const& filePath, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const + template auto consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromFilePath(param::hstring const& filePath, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelStatics)->LoadFromFilePathWithOperatorProvider(*(void**)(&filePath), *(void**)(&operatorProvider), &result)); return winrt::Windows::AI::MachineLearning::LearningModel{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const + template auto consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelStatics)->LoadFromStreamWithOperatorProvider(*(void**)(&modelStream), *(void**)(&operatorProvider), &result)); return winrt::Windows::AI::MachineLearning::LearningModel{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorKind) consume_Windows_AI_MachineLearning_IMapFeatureDescriptor::KeyKind() const + template auto consume_Windows_AI_MachineLearning_IMapFeatureDescriptor::KeyKind() const { winrt::Windows::AI::MachineLearning::TensorKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IMapFeatureDescriptor)->get_KeyKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor) consume_Windows_AI_MachineLearning_IMapFeatureDescriptor::ValueDescriptor() const + template auto consume_Windows_AI_MachineLearning_IMapFeatureDescriptor::ValueDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IMapFeatureDescriptor)->get_ValueDescriptor(&value)); return winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor) consume_Windows_AI_MachineLearning_ISequenceFeatureDescriptor::ElementDescriptor() const + template auto consume_Windows_AI_MachineLearning_ISequenceFeatureDescriptor::ElementDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ISequenceFeatureDescriptor)->get_ElementDescriptor(&value)); return winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorKind) consume_Windows_AI_MachineLearning_ITensor::TensorKind() const + template auto consume_Windows_AI_MachineLearning_ITensor::TensorKind() const { winrt::Windows::AI::MachineLearning::TensorKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensor)->get_TensorKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ITensor::Shape() const + template auto consume_Windows_AI_MachineLearning_ITensor::Shape() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensor)->get_Shape(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ITensorBoolean::GetAsVectorView() const + template auto consume_Windows_AI_MachineLearning_ITensorBoolean::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorBoolean)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics::Create() const + template auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorBooleanStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorBoolean{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics::Create(param::iterable const& shape) const + template auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics::Create(param::iterable const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorBooleanStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorBoolean{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics::CreateFromArray(param::iterable const& shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics::CreateFromArray(param::iterable const& shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorBooleanStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorBoolean{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const + template auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorBooleanStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorBoolean{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorBooleanStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorBoolean{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorBooleanStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorBoolean{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ITensorDouble::GetAsVectorView() const + template auto consume_Windows_AI_MachineLearning_ITensorDouble::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorDouble)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics::Create() const + template auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorDoubleStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorDouble{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics::Create(param::iterable const& shape) const + template auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics::Create(param::iterable const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorDoubleStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorDouble{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics::CreateFromArray(param::iterable const& shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics::CreateFromArray(param::iterable const& shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorDoubleStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorDouble{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const + template auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorDoubleStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorDouble{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorDoubleStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorDouble{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorDoubleStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorDouble{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorKind) consume_Windows_AI_MachineLearning_ITensorFeatureDescriptor::TensorKind() const + template auto consume_Windows_AI_MachineLearning_ITensorFeatureDescriptor::TensorKind() const { winrt::Windows::AI::MachineLearning::TensorKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFeatureDescriptor)->get_TensorKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ITensorFeatureDescriptor::Shape() const + template auto consume_Windows_AI_MachineLearning_ITensorFeatureDescriptor::Shape() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFeatureDescriptor)->get_Shape(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ITensorFloat::GetAsVectorView() const + template auto consume_Windows_AI_MachineLearning_ITensorFloat::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ITensorFloat16Bit::GetAsVectorView() const + template auto consume_Windows_AI_MachineLearning_ITensorFloat16Bit::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat16Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics::Create() const + template auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat16BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorFloat16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics::Create(param::iterable const& shape) const + template auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics::Create(param::iterable const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat16BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat16BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const + template auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat16BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat16BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat16BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics::Create() const + template auto consume_Windows_AI_MachineLearning_ITensorFloatStatics::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloatStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorFloat{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics::Create(param::iterable const& shape) const + template auto consume_Windows_AI_MachineLearning_ITensorFloatStatics::Create(param::iterable const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloatStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics::CreateFromArray(param::iterable const& shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorFloatStatics::CreateFromArray(param::iterable const& shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloatStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const + template auto consume_Windows_AI_MachineLearning_ITensorFloatStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloatStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorFloatStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloatStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_AI_MachineLearning_ITensorFloatStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloatStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ITensorInt16Bit::GetAsVectorView() const + template auto consume_Windows_AI_MachineLearning_ITensorInt16Bit::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt16Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics::Create() const + template auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt16BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorInt16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics::Create(param::iterable const& shape) const + template auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics::Create(param::iterable const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt16BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorInt16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt16BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const + template auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt16BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt16BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt16BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorInt16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ITensorInt32Bit::GetAsVectorView() const + template auto consume_Windows_AI_MachineLearning_ITensorInt32Bit::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt32Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics::Create() const + template auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt32BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorInt32Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics::Create(param::iterable const& shape) const + template auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics::Create(param::iterable const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt32BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorInt32Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt32BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt32Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const + template auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt32BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt32Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt32BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt32Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt32BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorInt32Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ITensorInt64Bit::GetAsVectorView() const + template auto consume_Windows_AI_MachineLearning_ITensorInt64Bit::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt64Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics::Create() const + template auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt64BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorInt64Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics::Create(param::iterable const& shape) const + template auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics::Create(param::iterable const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt64BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorInt64Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt64BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt64Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const + template auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt64BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt64Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt64BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt64Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt64BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorInt64Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ITensorInt8Bit::GetAsVectorView() const + template auto consume_Windows_AI_MachineLearning_ITensorInt8Bit::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt8Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics::Create() const + template auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt8BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorInt8Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics::Create(param::iterable const& shape) const + template auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics::Create(param::iterable const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt8BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorInt8Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt8BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt8Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const + template auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt8BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt8Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt8BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt8Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt8BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorInt8Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ITensorString::GetAsVectorView() const + template auto consume_Windows_AI_MachineLearning_ITensorString::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorString)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) consume_Windows_AI_MachineLearning_ITensorStringStatics::Create() const + template auto consume_Windows_AI_MachineLearning_ITensorStringStatics::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorStringStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorString{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) consume_Windows_AI_MachineLearning_ITensorStringStatics::Create(param::iterable const& shape) const + template auto consume_Windows_AI_MachineLearning_ITensorStringStatics::Create(param::iterable const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorStringStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorString{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) consume_Windows_AI_MachineLearning_ITensorStringStatics::CreateFromArray(param::iterable const& shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorStringStatics::CreateFromArray(param::iterable const& shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorStringStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorString{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) consume_Windows_AI_MachineLearning_ITensorStringStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const + template auto consume_Windows_AI_MachineLearning_ITensorStringStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorStringStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorString{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) consume_Windows_AI_MachineLearning_ITensorStringStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorStringStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorStringStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorString{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ITensorUInt16Bit::GetAsVectorView() const + template auto consume_Windows_AI_MachineLearning_ITensorUInt16Bit::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt16Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics::Create() const + template auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt16BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorUInt16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics::Create(param::iterable const& shape) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics::Create(param::iterable const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt16BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt16BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt16BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt16BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt16BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt16Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ITensorUInt32Bit::GetAsVectorView() const + template auto consume_Windows_AI_MachineLearning_ITensorUInt32Bit::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt32Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics::Create() const + template auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt32BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorUInt32Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics::Create(param::iterable const& shape) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics::Create(param::iterable const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt32BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt32Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt32BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt32Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt32BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt32Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt32BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt32Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt32BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt32Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ITensorUInt64Bit::GetAsVectorView() const + template auto consume_Windows_AI_MachineLearning_ITensorUInt64Bit::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt64Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics::Create() const + template auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt64BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorUInt64Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics::Create(param::iterable const& shape) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics::Create(param::iterable const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt64BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt64Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt64BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt64Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt64BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt64Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt64BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt64Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt64BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt64Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_AI_MachineLearning_ITensorUInt8Bit::GetAsVectorView() const + template auto consume_Windows_AI_MachineLearning_ITensorUInt8Bit::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt8Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics::Create() const + template auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt8BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorUInt8Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics::Create(param::iterable const& shape) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics::Create(param::iterable const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt8BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt8Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics::CreateFromArray(param::iterable const& shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt8BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt8Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics::CreateFromIterable(param::iterable const& shape, param::iterable const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt8BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt8Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics2::CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt8BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt8Bit{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics2::CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt8BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Activation.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Activation.h index 641ab01e..812b410f 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Activation.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Activation.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Activation_H #define WINRT_Windows_ApplicationModel_Activation_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.2.h" #include "winrt/impl/Windows.ApplicationModel.Background.2.h" @@ -33,565 +33,565 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Activation.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::ActivationKind) consume_Windows_ApplicationModel_Activation_IActivatedEventArgs::Kind() const + template auto consume_Windows_ApplicationModel_Activation_IActivatedEventArgs::Kind() const { winrt::Windows::ApplicationModel::Activation::ActivationKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::ApplicationExecutionState) consume_Windows_ApplicationModel_Activation_IActivatedEventArgs::PreviousExecutionState() const + template auto consume_Windows_ApplicationModel_Activation_IActivatedEventArgs::PreviousExecutionState() const { winrt::Windows::ApplicationModel::Activation::ApplicationExecutionState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs)->get_PreviousExecutionState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::SplashScreen) consume_Windows_ApplicationModel_Activation_IActivatedEventArgs::SplashScreen() const + template auto consume_Windows_ApplicationModel_Activation_IActivatedEventArgs::SplashScreen() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs)->get_SplashScreen(&value)); return winrt::Windows::ApplicationModel::Activation::SplashScreen{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Activation_IActivatedEventArgsWithUser::User() const + template auto consume_Windows_ApplicationModel_Activation_IActivatedEventArgsWithUser::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgsWithUser)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Activation_IApplicationViewActivatedEventArgs::CurrentlyShownApplicationViewId() const + template auto consume_Windows_ApplicationModel_Activation_IApplicationViewActivatedEventArgs::CurrentlyShownApplicationViewId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IApplicationViewActivatedEventArgs)->get_CurrentlyShownApplicationViewId(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderActivatedEventArgs::Verb() const + template auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderActivatedEventArgs::Verb() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs)->get_Verb(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::AddAppointmentOperation) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderAddAppointmentActivatedEventArgs::AddAppointmentOperation() const + template auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderAddAppointmentActivatedEventArgs::AddAppointmentOperation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderAddAppointmentActivatedEventArgs)->get_AddAppointmentOperation(&value)); return winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::AddAppointmentOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::RemoveAppointmentOperation) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderRemoveAppointmentActivatedEventArgs::RemoveAppointmentOperation() const + template auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderRemoveAppointmentActivatedEventArgs::RemoveAppointmentOperation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderRemoveAppointmentActivatedEventArgs)->get_RemoveAppointmentOperation(&value)); return winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::RemoveAppointmentOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderReplaceAppointmentActivatedEventArgs::ReplaceAppointmentOperation() const + template auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderReplaceAppointmentActivatedEventArgs::ReplaceAppointmentOperation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderReplaceAppointmentActivatedEventArgs)->get_ReplaceAppointmentOperation(&value)); return winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs::InstanceStartDate() const + template auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs::InstanceStartDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs)->get_InstanceStartDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs::LocalId() const + template auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs::LocalId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs)->get_LocalId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs::RoamingId() const + template auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs::RoamingId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs)->get_RoamingId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowTimeFrameActivatedEventArgs::TimeToShow() const + template auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowTimeFrameActivatedEventArgs::TimeToShow() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs)->get_TimeToShow(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowTimeFrameActivatedEventArgs::Duration() const + template auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowTimeFrameActivatedEventArgs::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance) consume_Windows_ApplicationModel_Activation_IBackgroundActivatedEventArgs::TaskInstance() const + template auto consume_Windows_ApplicationModel_Activation_IBackgroundActivatedEventArgs::TaskInstance() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IBackgroundActivatedEventArgs)->get_TaskInstance(&value)); return winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IBarcodeScannerPreviewActivatedEventArgs::ConnectionId() const + template auto consume_Windows_ApplicationModel_Activation_IBarcodeScannerPreviewActivatedEventArgs::ConnectionId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IBarcodeScannerPreviewActivatedEventArgs)->get_ConnectionId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::CachedFileUpdaterUI) consume_Windows_ApplicationModel_Activation_ICachedFileUpdaterActivatedEventArgs::CachedFileUpdaterUI() const + template auto consume_Windows_ApplicationModel_Activation_ICachedFileUpdaterActivatedEventArgs::CachedFileUpdaterUI() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ICachedFileUpdaterActivatedEventArgs)->get_CachedFileUpdaterUI(&value)); return winrt::Windows::Storage::Provider::CachedFileUpdaterUI{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_Activation_ICameraSettingsActivatedEventArgs::VideoDeviceController() const + template auto consume_Windows_ApplicationModel_Activation_ICameraSettingsActivatedEventArgs::VideoDeviceController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs)->get_VideoDeviceController(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_Activation_ICameraSettingsActivatedEventArgs::VideoDeviceExtension() const + template auto consume_Windows_ApplicationModel_Activation_ICameraSettingsActivatedEventArgs::VideoDeviceExtension() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs)->get_VideoDeviceExtension(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::CommandLineActivationOperation) consume_Windows_ApplicationModel_Activation_ICommandLineActivatedEventArgs::Operation() const + template auto consume_Windows_ApplicationModel_Activation_ICommandLineActivatedEventArgs::Operation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ICommandLineActivatedEventArgs)->get_Operation(&value)); return winrt::Windows::ApplicationModel::Activation::CommandLineActivationOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation::Arguments() const + template auto consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation::Arguments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation)->get_Arguments(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation::CurrentDirectoryPath() const + template auto consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation::CurrentDirectoryPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation)->get_CurrentDirectoryPath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation::ExitCode(int32_t value) const + template auto consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation::ExitCode(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation)->put_ExitCode(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation::ExitCode() const + template auto consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation::ExitCode() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation)->get_ExitCode(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation::GetDeferral() const + template auto consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactActivatedEventArgs::Verb() const + template auto consume_Windows_ApplicationModel_Activation_IContactActivatedEventArgs::Verb() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactActivatedEventArgs)->get_Verb(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactCallActivatedEventArgs::ServiceId() const + template auto consume_Windows_ApplicationModel_Activation_IContactCallActivatedEventArgs::ServiceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs)->get_ServiceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactCallActivatedEventArgs::ServiceUserId() const + template auto consume_Windows_ApplicationModel_Activation_IContactCallActivatedEventArgs::ServiceUserId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs)->get_ServiceUserId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Activation_IContactCallActivatedEventArgs::Contact() const + template auto consume_Windows_ApplicationModel_Activation_IContactCallActivatedEventArgs::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs)->get_Contact(&value)); return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactAddress) consume_Windows_ApplicationModel_Activation_IContactMapActivatedEventArgs::Address() const + template auto consume_Windows_ApplicationModel_Activation_IContactMapActivatedEventArgs::Address() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactMapActivatedEventArgs)->get_Address(&value)); return winrt::Windows::ApplicationModel::Contacts::ContactAddress{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Activation_IContactMapActivatedEventArgs::Contact() const + template auto consume_Windows_ApplicationModel_Activation_IContactMapActivatedEventArgs::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactMapActivatedEventArgs)->get_Contact(&value)); return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactMessageActivatedEventArgs::ServiceId() const + template auto consume_Windows_ApplicationModel_Activation_IContactMessageActivatedEventArgs::ServiceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs)->get_ServiceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactMessageActivatedEventArgs::ServiceUserId() const + template auto consume_Windows_ApplicationModel_Activation_IContactMessageActivatedEventArgs::ServiceUserId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs)->get_ServiceUserId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Activation_IContactMessageActivatedEventArgs::Contact() const + template auto consume_Windows_ApplicationModel_Activation_IContactMessageActivatedEventArgs::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs)->get_Contact(&value)); return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactPanel) consume_Windows_ApplicationModel_Activation_IContactPanelActivatedEventArgs::ContactPanel() const + template auto consume_Windows_ApplicationModel_Activation_IContactPanelActivatedEventArgs::ContactPanel() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactPanelActivatedEventArgs)->get_ContactPanel(&value)); return winrt::Windows::ApplicationModel::Contacts::ContactPanel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Activation_IContactPanelActivatedEventArgs::Contact() const + template auto consume_Windows_ApplicationModel_Activation_IContactPanelActivatedEventArgs::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactPanelActivatedEventArgs)->get_Contact(&value)); return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Provider::ContactPickerUI) consume_Windows_ApplicationModel_Activation_IContactPickerActivatedEventArgs::ContactPickerUI() const + template auto consume_Windows_ApplicationModel_Activation_IContactPickerActivatedEventArgs::ContactPickerUI() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactPickerActivatedEventArgs)->get_ContactPickerUI(&value)); return winrt::Windows::ApplicationModel::Contacts::Provider::ContactPickerUI{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactPostActivatedEventArgs::ServiceId() const + template auto consume_Windows_ApplicationModel_Activation_IContactPostActivatedEventArgs::ServiceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs)->get_ServiceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactPostActivatedEventArgs::ServiceUserId() const + template auto consume_Windows_ApplicationModel_Activation_IContactPostActivatedEventArgs::ServiceUserId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs)->get_ServiceUserId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Activation_IContactPostActivatedEventArgs::Contact() const + template auto consume_Windows_ApplicationModel_Activation_IContactPostActivatedEventArgs::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs)->get_Contact(&value)); return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactVideoCallActivatedEventArgs::ServiceId() const + template auto consume_Windows_ApplicationModel_Activation_IContactVideoCallActivatedEventArgs::ServiceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs)->get_ServiceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactVideoCallActivatedEventArgs::ServiceUserId() const + template auto consume_Windows_ApplicationModel_Activation_IContactVideoCallActivatedEventArgs::ServiceUserId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs)->get_ServiceUserId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Activation_IContactVideoCallActivatedEventArgs::Contact() const + template auto consume_Windows_ApplicationModel_Activation_IContactVideoCallActivatedEventArgs::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs)->get_Contact(&value)); return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactsProviderActivatedEventArgs::Verb() const + template auto consume_Windows_ApplicationModel_Activation_IContactsProviderActivatedEventArgs::Verb() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContactsProviderActivatedEventArgs)->get_Verb(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_Activation_IContinuationActivatedEventArgs::ContinuationData() const + template auto consume_Windows_ApplicationModel_Activation_IContinuationActivatedEventArgs::ContinuationData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IContinuationActivatedEventArgs)->get_ContinuationData(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IDeviceActivatedEventArgs::DeviceInformationId() const + template auto consume_Windows_ApplicationModel_Activation_IDeviceActivatedEventArgs::DeviceInformationId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IDeviceActivatedEventArgs)->get_DeviceInformationId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IDeviceActivatedEventArgs::Verb() const + template auto consume_Windows_ApplicationModel_Activation_IDeviceActivatedEventArgs::Verb() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IDeviceActivatedEventArgs)->get_Verb(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_ApplicationModel_Activation_IDevicePairingActivatedEventArgs::DeviceInformation() const + template auto consume_Windows_ApplicationModel_Activation_IDevicePairingActivatedEventArgs::DeviceInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IDevicePairingActivatedEventArgs)->get_DeviceInformation(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IDialReceiverActivatedEventArgs::AppName() const + template auto consume_Windows_ApplicationModel_Activation_IDialReceiverActivatedEventArgs::AppName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IDialReceiverActivatedEventArgs)->get_AppName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgs::Files() const + template auto consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgs::Files() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgs)->get_Files(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgs::Verb() const + template auto consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgs::Verb() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgs)->get_Verb(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgsWithCallerPackageFamilyName::CallerPackageFamilyName() const + template auto consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgsWithCallerPackageFamilyName::CallerPackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithCallerPackageFamilyName)->get_CallerPackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFileQueryResult) consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgsWithNeighboringFiles::NeighboringFilesQuery() const + template auto consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgsWithNeighboringFiles::NeighboringFilesQuery() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithNeighboringFiles)->get_NeighboringFilesQuery(&value)); return winrt::Windows::Storage::Search::StorageFileQueryResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI) consume_Windows_ApplicationModel_Activation_IFileOpenPickerActivatedEventArgs::FileOpenPickerUI() const + template auto consume_Windows_ApplicationModel_Activation_IFileOpenPickerActivatedEventArgs::FileOpenPickerUI() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs)->get_FileOpenPickerUI(&value)); return winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IFileOpenPickerActivatedEventArgs2::CallerPackageFamilyName() const + template auto consume_Windows_ApplicationModel_Activation_IFileOpenPickerActivatedEventArgs2::CallerPackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs2)->get_CallerPackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Activation_IFileOpenPickerContinuationEventArgs::Files() const + template auto consume_Windows_ApplicationModel_Activation_IFileOpenPickerContinuationEventArgs::Files() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IFileOpenPickerContinuationEventArgs)->get_Files(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI) consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs::FileSavePickerUI() const + template auto consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs::FileSavePickerUI() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs)->get_FileSavePickerUI(&value)); return winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs2::CallerPackageFamilyName() const + template auto consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs2::CallerPackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2)->get_CallerPackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs2::EnterpriseId() const + template auto consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs2::EnterpriseId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2)->get_EnterpriseId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_ApplicationModel_Activation_IFileSavePickerContinuationEventArgs::File() const + template auto consume_Windows_ApplicationModel_Activation_IFileSavePickerContinuationEventArgs::File() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IFileSavePickerContinuationEventArgs)->get_File(&value)); return winrt::Windows::Storage::StorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_ApplicationModel_Activation_IFolderPickerContinuationEventArgs::Folder() const + template auto consume_Windows_ApplicationModel_Activation_IFolderPickerContinuationEventArgs::Folder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IFolderPickerContinuationEventArgs)->get_Folder(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs::Arguments() const + template auto consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs::Arguments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs)->get_Arguments(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs::TileId() const + template auto consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs::TileId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs)->get_TileId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::TileActivatedInfo) consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs2::TileActivatedInfo() const + template auto consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs2::TileActivatedInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs2)->get_TileActivatedInfo(&value)); return winrt::Windows::ApplicationModel::Activation::TileActivatedInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_Activation_ILockScreenActivatedEventArgs::Info() const + template auto consume_Windows_ApplicationModel_Activation_ILockScreenActivatedEventArgs::Info() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ILockScreenActivatedEventArgs)->get_Info(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::LockScreenCallUI) consume_Windows_ApplicationModel_Activation_ILockScreenCallActivatedEventArgs::CallUI() const + template auto consume_Windows_ApplicationModel_Activation_ILockScreenCallActivatedEventArgs::CallUI() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ILockScreenCallActivatedEventArgs)->get_CallUI(&value)); return winrt::Windows::ApplicationModel::Calls::LockScreenCallUI{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IPickerReturnedActivatedEventArgs::PickerOperationId() const + template auto consume_Windows_ApplicationModel_Activation_IPickerReturnedActivatedEventArgs::PickerOperationId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IPickerReturnedActivatedEventArgs)->get_PickerOperationId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Activation_IPrelaunchActivatedEventArgs::PrelaunchActivated() const + template auto consume_Windows_ApplicationModel_Activation_IPrelaunchActivatedEventArgs::PrelaunchActivated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IPrelaunchActivatedEventArgs)->get_PrelaunchActivated(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow) consume_Windows_ApplicationModel_Activation_IPrint3DWorkflowActivatedEventArgs::Workflow() const + template auto consume_Windows_ApplicationModel_Activation_IPrint3DWorkflowActivatedEventArgs::Workflow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IPrint3DWorkflowActivatedEventArgs)->get_Workflow(&value)); return winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::Extensions::PrintTaskConfiguration) consume_Windows_ApplicationModel_Activation_IPrintTaskSettingsActivatedEventArgs::Configuration() const + template auto consume_Windows_ApplicationModel_Activation_IPrintTaskSettingsActivatedEventArgs::Configuration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IPrintTaskSettingsActivatedEventArgs)->get_Configuration(&value)); return winrt::Windows::Devices::Printers::Extensions::PrintTaskConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgs::Uri() const + template auto consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData::CallerPackageFamilyName() const + template auto consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData::CallerPackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData)->get_CallerPackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData::Data() const + template auto consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData)->get_Data(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::ProtocolForResultsOperation) consume_Windows_ApplicationModel_Activation_IProtocolForResultsActivatedEventArgs::ProtocolForResultsOperation() const + template auto consume_Windows_ApplicationModel_Activation_IProtocolForResultsActivatedEventArgs::ProtocolForResultsOperation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IProtocolForResultsActivatedEventArgs)->get_ProtocolForResultsOperation(&value)); return winrt::Windows::System::ProtocolForResultsOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_Activation_IRestrictedLaunchActivatedEventArgs::SharedContext() const + template auto consume_Windows_ApplicationModel_Activation_IRestrictedLaunchActivatedEventArgs::SharedContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IRestrictedLaunchActivatedEventArgs)->get_SharedContext(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgs::QueryText() const + template auto consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgs::QueryText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgs)->get_QueryText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgs::Language() const + template auto consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgs::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgs)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneQueryLinguisticDetails) consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgsWithLinguisticDetails::LinguisticDetails() const + template auto consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgsWithLinguisticDetails::LinguisticDetails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgsWithLinguisticDetails)->get_LinguisticDetails(&value)); return winrt::Windows::ApplicationModel::Search::SearchPaneQueryLinguisticDetails{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation) consume_Windows_ApplicationModel_Activation_IShareTargetActivatedEventArgs::ShareOperation() const + template auto consume_Windows_ApplicationModel_Activation_IShareTargetActivatedEventArgs::ShareOperation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IShareTargetActivatedEventArgs)->get_ShareOperation(&value)); return winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_ApplicationModel_Activation_ISplashScreen::ImageLocation() const + template auto consume_Windows_ApplicationModel_Activation_ISplashScreen::ImageLocation() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ISplashScreen)->get_ImageLocation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Activation_ISplashScreen::Dismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Activation_ISplashScreen::Dismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ISplashScreen)->add_Dismissed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_ApplicationModel_Activation_ISplashScreen::Dismissed_revoker consume_Windows_ApplicationModel_Activation_ISplashScreen::Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Activation_ISplashScreen::Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Dismissed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Activation_ISplashScreen::Dismissed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_ApplicationModel_Activation_ISplashScreen::Dismissed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ISplashScreen)->remove_Dismissed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IStartupTaskActivatedEventArgs::TaskId() const + template auto consume_Windows_ApplicationModel_Activation_IStartupTaskActivatedEventArgs::TaskId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IStartupTaskActivatedEventArgs)->get_TaskId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Activation_ITileActivatedInfo::RecentlyShownNotifications() const + template auto consume_Windows_ApplicationModel_Activation_ITileActivatedInfo::RecentlyShownNotifications() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ITileActivatedInfo)->get_RecentlyShownNotifications(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IToastNotificationActivatedEventArgs::Argument() const + template auto consume_Windows_ApplicationModel_Activation_IToastNotificationActivatedEventArgs::Argument() const { void* argument{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IToastNotificationActivatedEventArgs)->get_Argument(&argument)); return hstring{ argument, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_Activation_IToastNotificationActivatedEventArgs::UserInput() const + template auto consume_Windows_ApplicationModel_Activation_IToastNotificationActivatedEventArgs::UserInput() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IToastNotificationActivatedEventArgs)->get_UserInput(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderOperation) consume_Windows_ApplicationModel_Activation_IUserDataAccountProviderActivatedEventArgs::Operation() const + template auto consume_Windows_ApplicationModel_Activation_IUserDataAccountProviderActivatedEventArgs::Operation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IUserDataAccountProviderActivatedEventArgs)->get_Operation(&value)); return winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ActivationViewSwitcher) consume_Windows_ApplicationModel_Activation_IViewSwitcherProvider::ViewSwitcher() const + template auto consume_Windows_ApplicationModel_Activation_IViewSwitcherProvider::ViewSwitcher() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IViewSwitcherProvider)->get_ViewSwitcher(&value)); return winrt::Windows::UI::ViewManagement::ActivationViewSwitcher{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult) consume_Windows_ApplicationModel_Activation_IVoiceCommandActivatedEventArgs::Result() const + template auto consume_Windows_ApplicationModel_Activation_IVoiceCommandActivatedEventArgs::Result() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IVoiceCommandActivatedEventArgs)->get_Result(&value)); return winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IWalletActionActivatedEventArgs::ItemId() const + template auto consume_Windows_ApplicationModel_Activation_IWalletActionActivatedEventArgs::ItemId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs)->get_ItemId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletActionKind) consume_Windows_ApplicationModel_Activation_IWalletActionActivatedEventArgs::ActionKind() const + template auto consume_Windows_ApplicationModel_Activation_IWalletActionActivatedEventArgs::ActionKind() const { winrt::Windows::ApplicationModel::Wallet::WalletActionKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs)->get_ActionKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IWalletActionActivatedEventArgs::ActionId() const + template auto consume_Windows_ApplicationModel_Activation_IWalletActionActivatedEventArgs::ActionId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs)->get_ActionId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderOperation) consume_Windows_ApplicationModel_Activation_IWebAccountProviderActivatedEventArgs::Operation() const + template auto consume_Windows_ApplicationModel_Activation_IWebAccountProviderActivatedEventArgs::Operation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IWebAccountProviderActivatedEventArgs)->get_Operation(&value)); return winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::WebAuthenticationResult) consume_Windows_ApplicationModel_Activation_IWebAuthenticationBrokerContinuationEventArgs::WebAuthenticationResult() const + template auto consume_Windows_ApplicationModel_Activation_IWebAuthenticationBrokerContinuationEventArgs::WebAuthenticationResult() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IWebAuthenticationBrokerContinuationEventArgs)->get_WebAuthenticationResult(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.AppExtensions.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.AppExtensions.h index ab05835d..721edc5c 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.AppExtensions.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.AppExtensions.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_AppExtensions_H #define WINRT_Windows_ApplicationModel_AppExtensions_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.ApplicationModel.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -14,203 +14,203 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.AppExtensions.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppExtensions_IAppExtension::Id() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtension::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtension)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppExtensions_IAppExtension::DisplayName() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtension::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtension)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppExtensions_IAppExtension::Description() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtension::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtension)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_AppExtensions_IAppExtension::Package() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtension::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtension)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_ApplicationModel_AppExtensions_IAppExtension::AppInfo() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtension::AppInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtension)->get_AppInfo(&value)); return winrt::Windows::ApplicationModel::AppInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_AppExtensions_IAppExtension::GetExtensionPropertiesAsync() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtension::GetExtensionPropertiesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtension)->GetExtensionPropertiesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_AppExtensions_IAppExtension::GetPublicFolderAsync() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtension::GetPublicFolderAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtension)->GetPublicFolderAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::FindAllAsync() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::FindAllAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->FindAllAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::RequestRemovePackageAsync(param::hstring const& packageFullName) const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::RequestRemovePackageAsync(param::hstring const& packageFullName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->RequestRemovePackageAsync(*(void**)(&packageFullName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageInstalled(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageInstalled(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->add_PackageInstalled(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageInstalled_revoker consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageInstalled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageInstalled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PackageInstalled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageInstalled(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageInstalled(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->remove_PackageInstalled(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->add_PackageUpdating(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUpdating_revoker consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PackageUpdating(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUpdating(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUpdating(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->remove_PackageUpdating(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->add_PackageUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUpdated_revoker consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PackageUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->remove_PackageUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->add_PackageUninstalling(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUninstalling_revoker consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PackageUninstalling(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUninstalling(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageUninstalling(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->remove_PackageUninstalling(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->add_PackageStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageStatusChanged_revoker consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PackageStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog::PackageStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->remove_PackageStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalogStatics::Open(param::hstring const& appExtensionName) const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalogStatics::Open(param::hstring const& appExtensionName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalogStatics)->Open(*(void**)(&appExtensionName), &value)); return winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageInstalledEventArgs::AppExtensionName() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageInstalledEventArgs::AppExtensionName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageInstalledEventArgs)->get_AppExtensionName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageInstalledEventArgs::Package() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageInstalledEventArgs::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageInstalledEventArgs)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageInstalledEventArgs::Extensions() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageInstalledEventArgs::Extensions() const { void* values{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageInstalledEventArgs)->get_Extensions(&values)); return winrt::Windows::Foundation::Collections::IVectorView{ values, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageStatusChangedEventArgs::AppExtensionName() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageStatusChangedEventArgs::AppExtensionName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageStatusChangedEventArgs)->get_AppExtensionName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageStatusChangedEventArgs::Package() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageStatusChangedEventArgs::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageStatusChangedEventArgs)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUninstallingEventArgs::AppExtensionName() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUninstallingEventArgs::AppExtensionName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageUninstallingEventArgs)->get_AppExtensionName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUninstallingEventArgs::Package() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUninstallingEventArgs::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageUninstallingEventArgs)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatedEventArgs::AppExtensionName() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatedEventArgs::AppExtensionName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageUpdatedEventArgs)->get_AppExtensionName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatedEventArgs::Package() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatedEventArgs::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageUpdatedEventArgs)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatedEventArgs::Extensions() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatedEventArgs::Extensions() const { void* values{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageUpdatedEventArgs)->get_Extensions(&values)); return winrt::Windows::Foundation::Collections::IVectorView{ values, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatingEventArgs::AppExtensionName() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatingEventArgs::AppExtensionName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageUpdatingEventArgs)->get_AppExtensionName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatingEventArgs::Package() const + template auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatingEventArgs::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageUpdatingEventArgs)->get_Package(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.AppService.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.AppService.h index b97aa523..7019c7b2 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.AppService.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.AppService.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_AppService_H #define WINRT_Windows_ApplicationModel_AppService_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.ApplicationModel.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -15,183 +15,183 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.AppService.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_AppService_IAppServiceCatalogStatics::FindAppServiceProvidersAsync(param::hstring const& appServiceName) const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceCatalogStatics::FindAppServiceProvidersAsync(param::hstring const& appServiceName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceCatalogStatics)->FindAppServiceProvidersAsync(*(void**)(&appServiceName), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::AppServiceClosedStatus) consume_Windows_ApplicationModel_AppService_IAppServiceClosedEventArgs::Status() const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceClosedEventArgs::Status() const { winrt::Windows::ApplicationModel::AppService::AppServiceClosedStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceClosedEventArgs)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppService_IAppServiceConnection::AppServiceName() const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection::AppServiceName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection)->get_AppServiceName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppService_IAppServiceConnection::AppServiceName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection::AppServiceName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection)->put_AppServiceName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppService_IAppServiceConnection::PackageFamilyName() const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection::PackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection)->get_PackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppService_IAppServiceConnection::PackageFamilyName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection::PackageFamilyName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection)->put_PackageFamilyName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_AppService_IAppServiceConnection::OpenAsync() const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection::OpenAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection)->OpenAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_AppService_IAppServiceConnection::SendMessageAsync(winrt::Windows::Foundation::Collections::ValueSet const& message) const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection::SendMessageAsync(winrt::Windows::Foundation::Collections::ValueSet const& message) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection)->SendMessageAsync(*(void**)(&message), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_AppService_IAppServiceConnection::RequestReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection::RequestReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection)->add_RequestReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_AppService_IAppServiceConnection::RequestReceived_revoker consume_Windows_ApplicationModel_AppService_IAppServiceConnection::RequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection::RequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RequestReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppService_IAppServiceConnection::RequestReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection::RequestReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection)->remove_RequestReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_AppService_IAppServiceConnection::ServiceClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection::ServiceClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection)->add_ServiceClosed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_AppService_IAppServiceConnection::ServiceClosed_revoker consume_Windows_ApplicationModel_AppService_IAppServiceConnection::ServiceClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection::ServiceClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ServiceClosed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppService_IAppServiceConnection::ServiceClosed(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection::ServiceClosed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection)->remove_ServiceClosed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_AppService_IAppServiceConnection2::OpenRemoteAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest) const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection2::OpenRemoteAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection2)->OpenRemoteAsync(*(void**)(&remoteSystemConnectionRequest), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_AppService_IAppServiceConnection2::User() const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection2::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection2)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppService_IAppServiceConnection2::User(winrt::Windows::System::User const& value) const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection2::User(winrt::Windows::System::User const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection2)->put_User(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_AppService_IAppServiceConnectionStatics::SendStatelessMessageAsync(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& connection, winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& connectionRequest, winrt::Windows::Foundation::Collections::ValueSet const& message) const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceConnectionStatics::SendStatelessMessageAsync(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& connection, winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& connectionRequest, winrt::Windows::Foundation::Collections::ValueSet const& message) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnectionStatics)->SendStatelessMessageAsync(*(void**)(&connection), *(void**)(&connectionRequest), *(void**)(&message), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppService_IAppServiceDeferral::Complete() const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_AppService_IAppServiceRequest::Message() const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceRequest::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceRequest)->get_Message(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_AppService_IAppServiceRequest::SendResponseAsync(winrt::Windows::Foundation::Collections::ValueSet const& message) const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceRequest::SendResponseAsync(winrt::Windows::Foundation::Collections::ValueSet const& message) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceRequest)->SendResponseAsync(*(void**)(&message), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::AppServiceRequest) consume_Windows_ApplicationModel_AppService_IAppServiceRequestReceivedEventArgs::Request() const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceRequestReceivedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceRequestReceivedEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::AppService::AppServiceRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::AppServiceDeferral) consume_Windows_ApplicationModel_AppService_IAppServiceRequestReceivedEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceRequestReceivedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceRequestReceivedEventArgs)->GetDeferral(&result)); return winrt::Windows::ApplicationModel::AppService::AppServiceDeferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_AppService_IAppServiceResponse::Message() const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceResponse::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceResponse)->get_Message(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::AppServiceResponseStatus) consume_Windows_ApplicationModel_AppService_IAppServiceResponse::Status() const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceResponse::Status() const { winrt::Windows::ApplicationModel::AppService::AppServiceResponseStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceResponse)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails::Name() const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceTriggerDetails)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails::CallerPackageFamilyName() const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails::CallerPackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceTriggerDetails)->get_CallerPackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::AppServiceConnection) consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails::AppServiceConnection() const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails::AppServiceConnection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceTriggerDetails)->get_AppServiceConnection(&value)); return winrt::Windows::ApplicationModel::AppService::AppServiceConnection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails2::IsRemoteSystemConnection() const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails2::IsRemoteSystemConnection() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceTriggerDetails2)->get_IsRemoteSystemConnection(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails3::CheckCallerForCapabilityAsync(param::hstring const& capabilityName) const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails3::CheckCallerForCapabilityAsync(param::hstring const& capabilityName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceTriggerDetails3)->CheckCallerForCapabilityAsync(*(void**)(&capabilityName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails4::CallerRemoteConnectionToken() const + template auto consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails4::CallerRemoteConnectionToken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceTriggerDetails4)->get_CallerRemoteConnectionToken(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_AppService_IStatelessAppServiceResponse::Message() const + template auto consume_Windows_ApplicationModel_AppService_IStatelessAppServiceResponse::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IStatelessAppServiceResponse)->get_Message(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::StatelessAppServiceResponseStatus) consume_Windows_ApplicationModel_AppService_IStatelessAppServiceResponse::Status() const + template auto consume_Windows_ApplicationModel_AppService_IStatelessAppServiceResponse::Status() const { winrt::Windows::ApplicationModel::AppService::StatelessAppServiceResponseStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IStatelessAppServiceResponse)->get_Status(reinterpret_cast(&value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.AppointmentsProvider.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.AppointmentsProvider.h index b5a0983b..1e7afe8e 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.AppointmentsProvider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.AppointmentsProvider.h @@ -1,146 +1,146 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Appointments_AppointmentsProvider_H #define WINRT_Windows_ApplicationModel_Appointments_AppointmentsProvider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.Appointments.h" #include "winrt/impl/Windows.ApplicationModel.Appointments.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation::AppointmentInformation() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation::AppointmentInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAddAppointmentOperation)->get_AppointmentInformation(&value)); return winrt::Windows::ApplicationModel::Appointments::Appointment{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation::SourcePackageFamilyName() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation::SourcePackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAddAppointmentOperation)->get_SourcePackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation::ReportCompleted(param::hstring const& itemId) const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation::ReportCompleted(param::hstring const& itemId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAddAppointmentOperation)->ReportCompleted(*(void**)(&itemId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation::ReportCanceled() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation::ReportCanceled() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAddAppointmentOperation)->ReportCanceled()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation::ReportError(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation::ReportError(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAddAppointmentOperation)->ReportError(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation::DismissUI() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation::DismissUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAddAppointmentOperation)->DismissUI()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics::AddAppointment() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics::AddAppointment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAppointmentsProviderLaunchActionVerbsStatics)->get_AddAppointment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics::ReplaceAppointment() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics::ReplaceAppointment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAppointmentsProviderLaunchActionVerbsStatics)->get_ReplaceAppointment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics::RemoveAppointment() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics::RemoveAppointment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAppointmentsProviderLaunchActionVerbsStatics)->get_RemoveAppointment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics::ShowTimeFrame() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics::ShowTimeFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAppointmentsProviderLaunchActionVerbsStatics)->get_ShowTimeFrame(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics2::ShowAppointmentDetails() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics2::ShowAppointmentDetails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAppointmentsProviderLaunchActionVerbsStatics2)->get_ShowAppointmentDetails(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation::AppointmentId() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation::AppointmentId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IRemoveAppointmentOperation)->get_AppointmentId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation::InstanceStartDate() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation::InstanceStartDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IRemoveAppointmentOperation)->get_InstanceStartDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation::SourcePackageFamilyName() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation::SourcePackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IRemoveAppointmentOperation)->get_SourcePackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation::ReportCompleted() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation::ReportCompleted() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IRemoveAppointmentOperation)->ReportCompleted()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation::ReportCanceled() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation::ReportCanceled() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IRemoveAppointmentOperation)->ReportCanceled()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation::ReportError(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation::ReportError(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IRemoveAppointmentOperation)->ReportError(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation::DismissUI() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation::DismissUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IRemoveAppointmentOperation)->DismissUI()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation::AppointmentId() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation::AppointmentId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IReplaceAppointmentOperation)->get_AppointmentId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation::AppointmentInformation() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation::AppointmentInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IReplaceAppointmentOperation)->get_AppointmentInformation(&value)); return winrt::Windows::ApplicationModel::Appointments::Appointment{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation::InstanceStartDate() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation::InstanceStartDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IReplaceAppointmentOperation)->get_InstanceStartDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation::SourcePackageFamilyName() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation::SourcePackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IReplaceAppointmentOperation)->get_SourcePackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation::ReportCompleted(param::hstring const& itemId) const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation::ReportCompleted(param::hstring const& itemId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IReplaceAppointmentOperation)->ReportCompleted(*(void**)(&itemId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation::ReportCanceled() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation::ReportCanceled() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IReplaceAppointmentOperation)->ReportCanceled()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation::ReportError(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation::ReportError(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IReplaceAppointmentOperation)->ReportError(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation::DismissUI() const + template auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation::DismissUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IReplaceAppointmentOperation)->DismissUI()); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.DataProvider.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.DataProvider.h index 0308d751..e86a613f 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.DataProvider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.DataProvider.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Appointments_DataProvider_H #define WINRT_Windows_ApplicationModel_Appointments_DataProvider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.Appointments.h" #include "winrt/impl/Windows.ApplicationModel.Appointments.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,431 +13,431 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest::AppointmentCalendarLocalId() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest::AppointmentCalendarLocalId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCancelMeetingRequest)->get_AppointmentCalendarLocalId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest::AppointmentLocalId() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest::AppointmentLocalId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCancelMeetingRequest)->get_AppointmentLocalId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest::AppointmentOriginalStartTime() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest::AppointmentOriginalStartTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCancelMeetingRequest)->get_AppointmentOriginalStartTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest::Subject() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCancelMeetingRequest)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest::Comment() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest::Comment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCancelMeetingRequest)->get_Comment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest::NotifyInvitees() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest::NotifyInvitees() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCancelMeetingRequest)->get_NotifyInvitees(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCancelMeetingRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCancelMeetingRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCancelMeetingRequest) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCancelMeetingRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCancelMeetingRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCancelMeetingRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest::AppointmentCalendarLocalId() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest::AppointmentCalendarLocalId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCreateOrUpdateAppointmentRequest)->get_AppointmentCalendarLocalId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest::Appointment() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest::Appointment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCreateOrUpdateAppointmentRequest)->get_Appointment(&value)); return winrt::Windows::ApplicationModel::Appointments::Appointment{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest::NotifyInvitees() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest::NotifyInvitees() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCreateOrUpdateAppointmentRequest)->get_NotifyInvitees(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest::ChangedProperties() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest::ChangedProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCreateOrUpdateAppointmentRequest)->get_ChangedProperties(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest::ReportCompletedAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& createdOrUpdatedAppointment) const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest::ReportCompletedAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& createdOrUpdatedAppointment) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCreateOrUpdateAppointmentRequest)->ReportCompletedAsync(*(void**)(&createdOrUpdatedAppointment), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCreateOrUpdateAppointmentRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCreateOrUpdateAppointmentRequest) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCreateOrUpdateAppointmentRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::AppointmentCalendarLocalId() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::AppointmentCalendarLocalId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarForwardMeetingRequest)->get_AppointmentCalendarLocalId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::AppointmentLocalId() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::AppointmentLocalId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarForwardMeetingRequest)->get_AppointmentLocalId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::AppointmentOriginalStartTime() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::AppointmentOriginalStartTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarForwardMeetingRequest)->get_AppointmentOriginalStartTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::Invitees() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::Invitees() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarForwardMeetingRequest)->get_Invitees(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::Subject() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarForwardMeetingRequest)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::ForwardHeader() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::ForwardHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarForwardMeetingRequest)->get_ForwardHeader(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::Comment() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::Comment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarForwardMeetingRequest)->get_Comment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarForwardMeetingRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarForwardMeetingRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarForwardMeetingRequest) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarForwardMeetingRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarForwardMeetingRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarForwardMeetingRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::AppointmentCalendarLocalId() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::AppointmentCalendarLocalId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarProposeNewTimeForMeetingRequest)->get_AppointmentCalendarLocalId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::AppointmentLocalId() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::AppointmentLocalId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarProposeNewTimeForMeetingRequest)->get_AppointmentLocalId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::AppointmentOriginalStartTime() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::AppointmentOriginalStartTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarProposeNewTimeForMeetingRequest)->get_AppointmentOriginalStartTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::NewStartTime() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::NewStartTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarProposeNewTimeForMeetingRequest)->get_NewStartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::NewDuration() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::NewDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarProposeNewTimeForMeetingRequest)->get_NewDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::Subject() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarProposeNewTimeForMeetingRequest)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::Comment() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::Comment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarProposeNewTimeForMeetingRequest)->get_Comment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarProposeNewTimeForMeetingRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarProposeNewTimeForMeetingRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarProposeNewTimeForMeetingRequest) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarProposeNewTimeForMeetingRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequest::AppointmentCalendarLocalId() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequest::AppointmentCalendarLocalId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarSyncManagerSyncRequest)->get_AppointmentCalendarLocalId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarSyncManagerSyncRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarSyncManagerSyncRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarSyncManagerSyncRequest) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarSyncManagerSyncRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarSyncManagerSyncRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarSyncManagerSyncRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::AppointmentCalendarLocalId() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::AppointmentCalendarLocalId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarUpdateMeetingResponseRequest)->get_AppointmentCalendarLocalId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::AppointmentLocalId() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::AppointmentLocalId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarUpdateMeetingResponseRequest)->get_AppointmentLocalId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::AppointmentOriginalStartTime() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::AppointmentOriginalStartTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarUpdateMeetingResponseRequest)->get_AppointmentOriginalStartTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::Response() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::Response() const { winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse response{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarUpdateMeetingResponseRequest)->get_Response(reinterpret_cast(&response))); return response; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::Subject() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarUpdateMeetingResponseRequest)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::Comment() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::Comment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarUpdateMeetingResponseRequest)->get_Comment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::SendUpdate() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::SendUpdate() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarUpdateMeetingResponseRequest)->get_SendUpdate(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarUpdateMeetingResponseRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarUpdateMeetingResponseRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarUpdateMeetingResponseRequest) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarUpdateMeetingResponseRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarUpdateMeetingResponseRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarUpdateMeetingResponseRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::SyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::SyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->add_SyncRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::SyncRequested_revoker consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SyncRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::SyncRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::SyncRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->remove_SyncRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::CreateOrUpdateAppointmentRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::CreateOrUpdateAppointmentRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->add_CreateOrUpdateAppointmentRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::CreateOrUpdateAppointmentRequested_revoker consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::CreateOrUpdateAppointmentRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::CreateOrUpdateAppointmentRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CreateOrUpdateAppointmentRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::CreateOrUpdateAppointmentRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::CreateOrUpdateAppointmentRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->remove_CreateOrUpdateAppointmentRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::CancelMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::CancelMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->add_CancelMeetingRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::CancelMeetingRequested_revoker consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::CancelMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::CancelMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CancelMeetingRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::CancelMeetingRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::CancelMeetingRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->remove_CancelMeetingRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::ForwardMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::ForwardMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->add_ForwardMeetingRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::ForwardMeetingRequested_revoker consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::ForwardMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::ForwardMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ForwardMeetingRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::ForwardMeetingRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::ForwardMeetingRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->remove_ForwardMeetingRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::ProposeNewTimeForMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::ProposeNewTimeForMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->add_ProposeNewTimeForMeetingRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::ProposeNewTimeForMeetingRequested_revoker consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::ProposeNewTimeForMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::ProposeNewTimeForMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ProposeNewTimeForMeetingRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::ProposeNewTimeForMeetingRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::ProposeNewTimeForMeetingRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->remove_ProposeNewTimeForMeetingRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::UpdateMeetingResponseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::UpdateMeetingResponseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->add_UpdateMeetingResponseRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::UpdateMeetingResponseRequested_revoker consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::UpdateMeetingResponseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::UpdateMeetingResponseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UpdateMeetingResponseRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::UpdateMeetingResponseRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::UpdateMeetingResponseRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->remove_UpdateMeetingResponseRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::Start() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->Start()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderTriggerDetails::Connection() const + template auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderTriggerDetails::Connection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderTriggerDetails)->get_Connection(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.h index 05f28a31..2157002f 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Appointments_H #define WINRT_Windows_ApplicationModel_Appointments_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,1335 +15,1335 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Appointments.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Appointments_IAppointment::StartTime() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::StartTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_StartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment::StartTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::StartTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_StartTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Appointments_IAppointment::Duration() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment::Duration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Duration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Duration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointment::Location() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_Location(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment::Location(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Location(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Location(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointment::Subject() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment::Subject(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Subject(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Subject(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointment::Details() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Details() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_Details(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment::Details(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Details(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Details(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Appointments_IAppointment::Reminder() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Reminder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_Reminder(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment::Reminder(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Reminder(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Reminder(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentOrganizer) consume_Windows_ApplicationModel_Appointments_IAppointment::Organizer() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Organizer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_Organizer(&value)); return winrt::Windows::ApplicationModel::Appointments::AppointmentOrganizer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment::Organizer(winrt::Windows::ApplicationModel::Appointments::AppointmentOrganizer const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Organizer(winrt::Windows::ApplicationModel::Appointments::AppointmentOrganizer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Organizer(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Appointments_IAppointment::Invitees() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Invitees() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_Invitees(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence) consume_Windows_ApplicationModel_Appointments_IAppointment::Recurrence() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Recurrence() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_Recurrence(&value)); return winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment::Recurrence(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Recurrence(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Recurrence(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentBusyStatus) consume_Windows_ApplicationModel_Appointments_IAppointment::BusyStatus() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::BusyStatus() const { winrt::Windows::ApplicationModel::Appointments::AppointmentBusyStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_BusyStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment::BusyStatus(winrt::Windows::ApplicationModel::Appointments::AppointmentBusyStatus const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::BusyStatus(winrt::Windows::ApplicationModel::Appointments::AppointmentBusyStatus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_BusyStatus(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointment::AllDay() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::AllDay() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_AllDay(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment::AllDay(bool value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::AllDay(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_AllDay(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentSensitivity) consume_Windows_ApplicationModel_Appointments_IAppointment::Sensitivity() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Sensitivity() const { winrt::Windows::ApplicationModel::Appointments::AppointmentSensitivity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_Sensitivity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment::Sensitivity(winrt::Windows::ApplicationModel::Appointments::AppointmentSensitivity const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Sensitivity(winrt::Windows::ApplicationModel::Appointments::AppointmentSensitivity const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Sensitivity(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Appointments_IAppointment::Uri() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment::Uri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment::Uri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Uri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointment2::LocalId() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::LocalId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_LocalId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointment2::CalendarId() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::CalendarId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_CalendarId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointment2::RoamingId() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::RoamingId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_RoamingId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment2::RoamingId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::RoamingId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->put_RoamingId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Appointments_IAppointment2::OriginalStartTime() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::OriginalStartTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_OriginalStartTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointment2::IsResponseRequested() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::IsResponseRequested() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_IsResponseRequested(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment2::IsResponseRequested(bool value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::IsResponseRequested(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->put_IsResponseRequested(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointment2::AllowNewTimeProposal() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::AllowNewTimeProposal() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_AllowNewTimeProposal(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment2::AllowNewTimeProposal(bool value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::AllowNewTimeProposal(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->put_AllowNewTimeProposal(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointment2::OnlineMeetingLink() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::OnlineMeetingLink() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_OnlineMeetingLink(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment2::OnlineMeetingLink(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::OnlineMeetingLink(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->put_OnlineMeetingLink(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Appointments_IAppointment2::ReplyTime() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::ReplyTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_ReplyTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment2::ReplyTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::ReplyTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->put_ReplyTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse) consume_Windows_ApplicationModel_Appointments_IAppointment2::UserResponse() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::UserResponse() const { winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_UserResponse(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment2::UserResponse(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::UserResponse(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->put_UserResponse(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointment2::HasInvitees() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::HasInvitees() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_HasInvitees(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointment2::IsCanceledMeeting() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::IsCanceledMeeting() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_IsCanceledMeeting(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment2::IsCanceledMeeting(bool value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::IsCanceledMeeting(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->put_IsCanceledMeeting(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointment2::IsOrganizedByUser() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::IsOrganizedByUser() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_IsOrganizedByUser(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment2::IsOrganizedByUser(bool value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment2::IsOrganizedByUser(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->put_IsOrganizedByUser(value)); } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Appointments_IAppointment3::ChangeNumber() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment3::ChangeNumber() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment3)->get_ChangeNumber(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Appointments_IAppointment3::RemoteChangeNumber() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment3::RemoteChangeNumber() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment3)->get_RemoteChangeNumber(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment3::RemoteChangeNumber(uint64_t value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment3::RemoteChangeNumber(uint64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment3)->put_RemoteChangeNumber(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentDetailsKind) consume_Windows_ApplicationModel_Appointments_IAppointment3::DetailsKind() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment3::DetailsKind() const { winrt::Windows::ApplicationModel::Appointments::AppointmentDetailsKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment3)->get_DetailsKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment3::DetailsKind(winrt::Windows::ApplicationModel::Appointments::AppointmentDetailsKind const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointment3::DetailsKind(winrt::Windows::ApplicationModel::Appointments::AppointmentDetailsKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment3)->put_DetailsKind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::DisplayColor() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::DisplayColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->get_DisplayColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::DisplayName() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::DisplayName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::LocalId() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::LocalId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->get_LocalId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::IsHidden() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::IsHidden() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->get_IsHidden(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppReadAccess) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::OtherAppReadAccess() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::OtherAppReadAccess() const { winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppReadAccess value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->get_OtherAppReadAccess(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::OtherAppReadAccess(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppReadAccess const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::OtherAppReadAccess(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppReadAccess const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->put_OtherAppReadAccess(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppWriteAccess) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::OtherAppWriteAccess() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::OtherAppWriteAccess() const { winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppWriteAccess value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->get_OtherAppWriteAccess(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::OtherAppWriteAccess(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppWriteAccess const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::OtherAppWriteAccess(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppWriteAccess const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->put_OtherAppWriteAccess(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::SourceDisplayName() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::SourceDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->get_SourceDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentSummaryCardView) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::SummaryCardView() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::SummaryCardView() const { winrt::Windows::ApplicationModel::Appointments::AppointmentSummaryCardView value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->get_SummaryCardView(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::SummaryCardView(winrt::Windows::ApplicationModel::Appointments::AppointmentSummaryCardView const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::SummaryCardView(winrt::Windows::ApplicationModel::Appointments::AppointmentSummaryCardView const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->put_SummaryCardView(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->FindAppointmentsAsync(impl::bind_in(rangeStart), impl::bind_in(rangeLength), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength, winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& options) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength, winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->FindAppointmentsAsyncWithOptions(impl::bind_in(rangeStart), impl::bind_in(rangeLength), *(void**)(&options), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::FindExceptionsFromMasterAsync(param::hstring const& masterLocalId) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::FindExceptionsFromMasterAsync(param::hstring const& masterLocalId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->FindExceptionsFromMasterAsync(*(void**)(&masterLocalId), &value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::FindAllInstancesAsync(param::hstring const& masterLocalId, winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::FindAllInstancesAsync(param::hstring const& masterLocalId, winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->FindAllInstancesAsync(*(void**)(&masterLocalId), impl::bind_in(rangeStart), impl::bind_in(rangeLength), &value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::FindAllInstancesAsync(param::hstring const& masterLocalId, winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength, winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& pOptions) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::FindAllInstancesAsync(param::hstring const& masterLocalId, winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength, winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& pOptions) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->FindAllInstancesAsyncWithOptions(*(void**)(&masterLocalId), impl::bind_in(rangeStart), impl::bind_in(rangeLength), *(void**)(&pOptions), &value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::GetAppointmentAsync(param::hstring const& localId) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::GetAppointmentAsync(param::hstring const& localId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->GetAppointmentAsync(*(void**)(&localId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::GetAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::GetAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->GetAppointmentInstanceAsync(*(void**)(&localId), impl::bind_in(instanceStartTime), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::FindUnexpandedAppointmentsAsync() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::FindUnexpandedAppointmentsAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->FindUnexpandedAppointmentsAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::FindUnexpandedAppointmentsAsync(winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& options) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::FindUnexpandedAppointmentsAsync(winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->FindUnexpandedAppointmentsAsyncWithOptions(*(void**)(&options), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::DeleteAsync() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::DeleteAsync() const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->DeleteAsync(&asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::SaveAsync() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::SaveAsync() const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->SaveAsync(&asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::DeleteAppointmentAsync(param::hstring const& localId) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::DeleteAppointmentAsync(param::hstring const& localId) const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->DeleteAppointmentAsync(*(void**)(&localId), &asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::DeleteAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::DeleteAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->DeleteAppointmentInstanceAsync(*(void**)(&localId), impl::bind_in(instanceStartTime), &asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::SaveAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& pAppointment) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar::SaveAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& pAppointment) const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->SaveAppointmentAsync(*(void**)(&pAppointment), &asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncManager) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::SyncManager() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::SyncManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_SyncManager(&value)); return winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::RemoteId() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::RemoteId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_RemoteId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::RemoteId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::RemoteId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_RemoteId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::DisplayColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::DisplayColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_DisplayColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::IsHidden(bool value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::IsHidden(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_IsHidden(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::UserDataAccountId() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::UserDataAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_UserDataAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanCreateOrUpdateAppointments() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanCreateOrUpdateAppointments() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_CanCreateOrUpdateAppointments(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanCreateOrUpdateAppointments(bool value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanCreateOrUpdateAppointments(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_CanCreateOrUpdateAppointments(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanCancelMeetings() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanCancelMeetings() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_CanCancelMeetings(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanCancelMeetings(bool value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanCancelMeetings(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_CanCancelMeetings(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanForwardMeetings() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanForwardMeetings() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_CanForwardMeetings(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanForwardMeetings(bool value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanForwardMeetings(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_CanForwardMeetings(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanProposeNewTimeForMeetings() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanProposeNewTimeForMeetings() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_CanProposeNewTimeForMeetings(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanProposeNewTimeForMeetings(bool value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanProposeNewTimeForMeetings(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_CanProposeNewTimeForMeetings(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanUpdateMeetingResponses() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanUpdateMeetingResponses() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_CanUpdateMeetingResponses(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanUpdateMeetingResponses(bool value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanUpdateMeetingResponses(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_CanUpdateMeetingResponses(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanNotifyInvitees() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanNotifyInvitees() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_CanNotifyInvitees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanNotifyInvitees(bool value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::CanNotifyInvitees(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_CanNotifyInvitees(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::MustNofityInvitees() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::MustNofityInvitees() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_MustNofityInvitees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::MustNofityInvitees(bool value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::MustNofityInvitees(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_MustNofityInvitees(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::TryCreateOrUpdateAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, bool notifyInvitees) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::TryCreateOrUpdateAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, bool notifyInvitees) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->TryCreateOrUpdateAppointmentAsync(*(void**)(&appointment), notifyInvitees, &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::TryCancelMeetingAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, param::hstring const& subject, param::hstring const& comment, bool notifyInvitees) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::TryCancelMeetingAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, param::hstring const& subject, param::hstring const& comment, bool notifyInvitees) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->TryCancelMeetingAsync(*(void**)(&meeting), *(void**)(&subject), *(void**)(&comment), notifyInvitees, &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::TryForwardMeetingAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, param::async_iterable const& invitees, param::hstring const& subject, param::hstring const& forwardHeader, param::hstring const& comment) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::TryForwardMeetingAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, param::async_iterable const& invitees, param::hstring const& subject, param::hstring const& forwardHeader, param::hstring const& comment) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->TryForwardMeetingAsync(*(void**)(&meeting), *(void**)(&invitees), *(void**)(&subject), *(void**)(&forwardHeader), *(void**)(&comment), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::TryProposeNewTimeForMeetingAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, winrt::Windows::Foundation::DateTime const& newStartTime, winrt::Windows::Foundation::TimeSpan const& newDuration, param::hstring const& subject, param::hstring const& comment) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::TryProposeNewTimeForMeetingAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, winrt::Windows::Foundation::DateTime const& newStartTime, winrt::Windows::Foundation::TimeSpan const& newDuration, param::hstring const& subject, param::hstring const& comment) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->TryProposeNewTimeForMeetingAsync(*(void**)(&meeting), impl::bind_in(newStartTime), impl::bind_in(newDuration), *(void**)(&subject), *(void**)(&comment), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::TryUpdateMeetingResponseAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse const& response, param::hstring const& subject, param::hstring const& comment, bool sendUpdate) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2::TryUpdateMeetingResponseAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse const& response, param::hstring const& subject, param::hstring const& comment, bool sendUpdate) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->TryUpdateMeetingResponseAsync(*(void**)(&meeting), static_cast(response), *(void**)(&subject), *(void**)(&comment), sendUpdate, &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar3::RegisterSyncManagerAsync() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar3::RegisterSyncManagerAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar3)->RegisterSyncManagerAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncStatus) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager::Status() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager::Status() const { winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager::LastSuccessfulSyncTime() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager::LastSuccessfulSyncTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager)->get_LastSuccessfulSyncTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager::LastAttemptedSyncTime() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager::LastAttemptedSyncTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager)->get_LastAttemptedSyncTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager::SyncAsync() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager::SyncAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager)->SyncAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager::SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager::SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager)->add_SyncStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager::SyncStatusChanged_revoker consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager::SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager::SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SyncStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager::SyncStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager::SyncStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager)->remove_SyncStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager2::Status(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncStatus const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager2::Status(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncStatus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager2)->put_Status(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager2::LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager2::LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager2)->put_LastSuccessfulSyncTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager2::LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager2::LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager2)->put_LastAttemptedSyncTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentConflictType) consume_Windows_ApplicationModel_Appointments_IAppointmentConflictResult::Type() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentConflictResult::Type() const { winrt::Windows::ApplicationModel::Appointments::AppointmentConflictType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentConflictResult)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Appointments_IAppointmentConflictResult::Date() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentConflictResult::Date() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentConflictResult)->get_Date(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) consume_Windows_ApplicationModel_Appointments_IAppointmentException::Appointment() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentException::Appointment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentException)->get_Appointment(&value)); return winrt::Windows::ApplicationModel::Appointments::Appointment{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Appointments_IAppointmentException::ExceptionProperties() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentException::ExceptionProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentException)->get_ExceptionProperties(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentException::IsDeleted() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentException::IsDeleted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentException)->get_IsDeleted(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantRole) consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee::Role() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee::Role() const { winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantRole value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentInvitee)->get_Role(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee::Role(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantRole const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee::Role(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantRole const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentInvitee)->put_Role(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse) consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee::Response() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee::Response() const { winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentInvitee)->get_Response(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee::Response(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee::Response(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentInvitee)->put_Response(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser)->ShowAddAppointmentAsync(*(void**)(&appointment), impl::bind_in(selection), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser)->ShowAddAppointmentWithPlacementAsync(*(void**)(&appointment), impl::bind_in(selection), static_cast(preferredPlacement), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser)->ShowReplaceAppointmentAsync(*(void**)(&appointmentId), *(void**)(&appointment), impl::bind_in(selection), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser)->ShowReplaceAppointmentWithPlacementAsync(*(void**)(&appointmentId), *(void**)(&appointment), impl::bind_in(selection), static_cast(preferredPlacement), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser)->ShowReplaceAppointmentWithPlacementAndDateAsync(*(void**)(&appointmentId), *(void**)(&appointment), impl::bind_in(selection), static_cast(preferredPlacement), impl::bind_in(instanceStartDate), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser)->ShowRemoveAppointmentAsync(*(void**)(&appointmentId), impl::bind_in(selection), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser)->ShowRemoveAppointmentWithPlacementAsync(*(void**)(&appointmentId), impl::bind_in(selection), static_cast(preferredPlacement), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser)->ShowRemoveAppointmentWithPlacementAndDateAsync(*(void**)(&appointmentId), impl::bind_in(selection), static_cast(preferredPlacement), impl::bind_in(instanceStartDate), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowTimeFrameAsync(winrt::Windows::Foundation::DateTime const& timeToShow, winrt::Windows::Foundation::TimeSpan const& duration) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowTimeFrameAsync(winrt::Windows::Foundation::DateTime const& timeToShow, winrt::Windows::Foundation::TimeSpan const& duration) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser)->ShowTimeFrameAsync(impl::bind_in(timeToShow), impl::bind_in(duration), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowAppointmentDetailsAsync(param::hstring const& appointmentId) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowAppointmentDetailsAsync(param::hstring const& appointmentId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser)->ShowAppointmentDetailsAsync(*(void**)(&appointmentId), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowAppointmentDetailsAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::DateTime const& instanceStartDate) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowAppointmentDetailsAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::DateTime const& instanceStartDate) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser)->ShowAppointmentDetailsWithDateAsync(*(void**)(&appointmentId), impl::bind_in(instanceStartDate), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser)->ShowEditNewAppointmentAsync(*(void**)(&appointment), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::RequestStoreAsync(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType const& options) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::RequestStoreAsync(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser)->RequestStoreAsync(static_cast(options), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::User() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics)->ShowAddAppointmentAsync(*(void**)(&appointment), impl::bind_in(selection), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics)->ShowAddAppointmentWithPlacementAsync(*(void**)(&appointment), impl::bind_in(selection), static_cast(preferredPlacement), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics)->ShowReplaceAppointmentAsync(*(void**)(&appointmentId), *(void**)(&appointment), impl::bind_in(selection), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics)->ShowReplaceAppointmentWithPlacementAsync(*(void**)(&appointmentId), *(void**)(&appointment), impl::bind_in(selection), static_cast(preferredPlacement), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics)->ShowReplaceAppointmentWithPlacementAndDateAsync(*(void**)(&appointmentId), *(void**)(&appointment), impl::bind_in(selection), static_cast(preferredPlacement), impl::bind_in(instanceStartDate), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics)->ShowRemoveAppointmentAsync(*(void**)(&appointmentId), impl::bind_in(selection), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics)->ShowRemoveAppointmentWithPlacementAsync(*(void**)(&appointmentId), impl::bind_in(selection), static_cast(preferredPlacement), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics)->ShowRemoveAppointmentWithPlacementAndDateAsync(*(void**)(&appointmentId), impl::bind_in(selection), static_cast(preferredPlacement), impl::bind_in(instanceStartDate), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowTimeFrameAsync(winrt::Windows::Foundation::DateTime const& timeToShow, winrt::Windows::Foundation::TimeSpan const& duration) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics::ShowTimeFrameAsync(winrt::Windows::Foundation::DateTime const& timeToShow, winrt::Windows::Foundation::TimeSpan const& duration) const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics)->ShowTimeFrameAsync(impl::bind_in(timeToShow), impl::bind_in(duration), &asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2::ShowAppointmentDetailsAsync(param::hstring const& appointmentId) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2::ShowAppointmentDetailsAsync(param::hstring const& appointmentId) const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics2)->ShowAppointmentDetailsAsync(*(void**)(&appointmentId), &asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2::ShowAppointmentDetailsAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::DateTime const& instanceStartDate) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2::ShowAppointmentDetailsAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::DateTime const& instanceStartDate) const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics2)->ShowAppointmentDetailsWithDateAsync(*(void**)(&appointmentId), impl::bind_in(instanceStartDate), &asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2::ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2::ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics2)->ShowEditNewAppointmentAsync(*(void**)(&appointment), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2::RequestStoreAsync(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType const& options) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2::RequestStoreAsync(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics2)->RequestStoreAsync(static_cast(options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentManagerForUser) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics3::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics3::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics3)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::ApplicationModel::Appointments::AppointmentManagerForUser{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant::DisplayName() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentParticipant)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant::DisplayName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentParticipant)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant::Address() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant::Address() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentParticipant)->get_Address(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant::Address(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant::Address(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentParticipant)->put_Address(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Subject() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Location() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_Location(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::StartTime() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::StartTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_StartTime(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Duration() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Duration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_Duration(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Reminder() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Reminder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_Reminder(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::BusyStatus() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::BusyStatus() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_BusyStatus(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Sensitivity() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Sensitivity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_Sensitivity(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::OriginalStartTime() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::OriginalStartTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_OriginalStartTime(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::IsResponseRequested() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::IsResponseRequested() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_IsResponseRequested(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::AllowNewTimeProposal() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::AllowNewTimeProposal() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_AllowNewTimeProposal(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::AllDay() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::AllDay() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_AllDay(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Details() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Details() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_Details(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::OnlineMeetingLink() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::OnlineMeetingLink() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_OnlineMeetingLink(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::ReplyTime() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::ReplyTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_ReplyTime(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Organizer() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Organizer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_Organizer(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::UserResponse() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::UserResponse() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_UserResponse(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::HasInvitees() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::HasInvitees() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_HasInvitees(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::IsCanceledMeeting() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::IsCanceledMeeting() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_IsCanceledMeeting(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::IsOrganizedByUser() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::IsOrganizedByUser() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_IsOrganizedByUser(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Recurrence() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Recurrence() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_Recurrence(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Uri() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_Uri(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Invitees() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::Invitees() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_Invitees(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::DefaultProperties() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics::DefaultProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_DefaultProperties(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics2::ChangeNumber() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics2::ChangeNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics2)->get_ChangeNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics2::RemoteChangeNumber() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics2::RemoteChangeNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics2)->get_RemoteChangeNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics2::DetailsKind() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics2::DetailsKind() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics2)->get_DetailsKind(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrenceUnit) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Unit() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Unit() const { winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrenceUnit value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->get_Unit(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Unit(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrenceUnit const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Unit(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrenceUnit const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->put_Unit(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Occurrences() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Occurrences() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->get_Occurrences(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Occurrences(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Occurrences(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->put_Occurrences(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Until() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Until() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->get_Until(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Until(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Until(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->put_Until(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Interval() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Interval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->get_Interval(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Interval(uint32_t value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Interval(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->put_Interval(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentDaysOfWeek) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::DaysOfWeek() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::DaysOfWeek() const { winrt::Windows::ApplicationModel::Appointments::AppointmentDaysOfWeek value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->get_DaysOfWeek(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::DaysOfWeek(winrt::Windows::ApplicationModel::Appointments::AppointmentDaysOfWeek const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::DaysOfWeek(winrt::Windows::ApplicationModel::Appointments::AppointmentDaysOfWeek const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->put_DaysOfWeek(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentWeekOfMonth) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::WeekOfMonth() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::WeekOfMonth() const { winrt::Windows::ApplicationModel::Appointments::AppointmentWeekOfMonth value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->get_WeekOfMonth(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::WeekOfMonth(winrt::Windows::ApplicationModel::Appointments::AppointmentWeekOfMonth const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::WeekOfMonth(winrt::Windows::ApplicationModel::Appointments::AppointmentWeekOfMonth const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->put_WeekOfMonth(static_cast(value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Month() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Month() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->get_Month(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Month(uint32_t value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Month(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->put_Month(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Day() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Day() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->get_Day(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Day(uint32_t value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence::Day(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->put_Day(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::RecurrenceType) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence2::RecurrenceType() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence2::RecurrenceType() const { winrt::Windows::ApplicationModel::Appointments::RecurrenceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence2)->get_RecurrenceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence2::TimeZone() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence2::TimeZone() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence2)->get_TimeZone(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence2::TimeZone(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence2::TimeZone(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence2)->put_TimeZone(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence3::CalendarIdentifier() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence3::CalendarIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence3)->get_CalendarIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeTracker) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ChangeTracker() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ChangeTracker() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->get_ChangeTracker(&value)); return winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeTracker{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::CreateAppointmentCalendarAsync(param::hstring const& name) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::CreateAppointmentCalendarAsync(param::hstring const& name) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->CreateAppointmentCalendarAsync(*(void**)(&name), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::GetAppointmentCalendarAsync(param::hstring const& calendarId) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::GetAppointmentCalendarAsync(param::hstring const& calendarId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->GetAppointmentCalendarAsync(*(void**)(&calendarId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::GetAppointmentAsync(param::hstring const& localId) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::GetAppointmentAsync(param::hstring const& localId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->GetAppointmentAsync(*(void**)(&localId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::GetAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::GetAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->GetAppointmentInstanceAsync(*(void**)(&localId), impl::bind_in(instanceStartTime), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::FindAppointmentCalendarsAsync() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::FindAppointmentCalendarsAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->FindAppointmentCalendarsAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::FindAppointmentCalendarsAsync(winrt::Windows::ApplicationModel::Appointments::FindAppointmentCalendarsOptions const& options) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::FindAppointmentCalendarsAsync(winrt::Windows::ApplicationModel::Appointments::FindAppointmentCalendarsOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->FindAppointmentCalendarsAsyncWithOptions(static_cast(options), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->FindAppointmentsAsync(impl::bind_in(rangeStart), impl::bind_in(rangeLength), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength, winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& options) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength, winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->FindAppointmentsAsyncWithOptions(impl::bind_in(rangeStart), impl::bind_in(rangeLength), *(void**)(&options), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::FindConflictAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::FindConflictAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->FindConflictAsync(*(void**)(&appointment), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::FindConflictAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::DateTime const& instanceStartTime) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::FindConflictAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::DateTime const& instanceStartTime) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->FindConflictAsyncWithInstanceStart(*(void**)(&appointment), impl::bind_in(instanceStartTime), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::MoveAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar const& destinationCalendar) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::MoveAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar const& destinationCalendar) const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->MoveAppointmentAsync(*(void**)(&appointment), *(void**)(&destinationCalendar), &asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->ShowAddAppointmentAsync(*(void**)(&appointment), impl::bind_in(selection), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ShowReplaceAppointmentAsync(param::hstring const& localId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ShowReplaceAppointmentAsync(param::hstring const& localId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->ShowReplaceAppointmentAsync(*(void**)(&localId), *(void**)(&appointment), impl::bind_in(selection), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ShowReplaceAppointmentAsync(param::hstring const& localId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ShowReplaceAppointmentAsync(param::hstring const& localId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->ShowReplaceAppointmentWithPlacementAndDateAsync(*(void**)(&localId), *(void**)(&appointment), impl::bind_in(selection), static_cast(preferredPlacement), impl::bind_in(instanceStartDate), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ShowRemoveAppointmentAsync(param::hstring const& localId, winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ShowRemoveAppointmentAsync(param::hstring const& localId, winrt::Windows::Foundation::Rect const& selection) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->ShowRemoveAppointmentAsync(*(void**)(&localId), impl::bind_in(selection), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ShowRemoveAppointmentAsync(param::hstring const& localId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ShowRemoveAppointmentAsync(param::hstring const& localId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->ShowRemoveAppointmentWithPlacementAndDateAsync(*(void**)(&localId), impl::bind_in(selection), static_cast(preferredPlacement), impl::bind_in(instanceStartDate), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ShowAppointmentDetailsAsync(param::hstring const& localId) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ShowAppointmentDetailsAsync(param::hstring const& localId) const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->ShowAppointmentDetailsAsync(*(void**)(&localId), &asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ShowAppointmentDetailsAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartDate) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ShowAppointmentDetailsAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartDate) const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->ShowAppointmentDetailsWithDateAsync(*(void**)(&localId), impl::bind_in(instanceStartDate), &asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->ShowEditNewAppointmentAsync(*(void**)(&appointment), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore::FindLocalIdsFromRoamingIdAsync(param::hstring const& roamingId) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore::FindLocalIdsFromRoamingIdAsync(param::hstring const& roamingId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->FindLocalIdsFromRoamingIdAsync(*(void**)(&roamingId), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Appointments_IAppointmentStore2::StoreChanged(winrt::Windows::Foundation::TypedEventHandler const& pHandler) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore2::StoreChanged(winrt::Windows::Foundation::TypedEventHandler const& pHandler) const { winrt::event_token pToken{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore2)->add_StoreChanged(*(void**)(&pHandler), put_abi(pToken))); return pToken; } - template typename consume_Windows_ApplicationModel_Appointments_IAppointmentStore2::StoreChanged_revoker consume_Windows_ApplicationModel_Appointments_IAppointmentStore2::StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& pHandler) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore2::StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& pHandler) const { return impl::make_event_revoker(this, StoreChanged(pHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentStore2::StoreChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore2::StoreChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore2)->remove_StoreChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Appointments_IAppointmentStore2::CreateAppointmentCalendarAsync(param::hstring const& name, param::hstring const& userDataAccountId) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore2::CreateAppointmentCalendarAsync(param::hstring const& name, param::hstring const& userDataAccountId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore2)->CreateAppointmentCalendarInAccountAsync(*(void**)(&name), *(void**)(&userDataAccountId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeTracker) consume_Windows_ApplicationModel_Appointments_IAppointmentStore3::GetChangeTracker(param::hstring const& identity) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore3::GetChangeTracker(param::hstring const& identity) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore3)->GetChangeTracker(*(void**)(&identity), &result)); return winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeTracker{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChange::Appointment() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChange::Appointment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChange)->get_Appointment(&value)); return winrt::Windows::ApplicationModel::Appointments::Appointment{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeType) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChange::ChangeType() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChange::ChangeType() const { winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChange)->get_ChangeType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChange2::AppointmentCalendar() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChange2::AppointmentCalendar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChange2)->get_AppointmentCalendar(&value)); return winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeReader::ReadBatchAsync() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeReader::ReadBatchAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeReader)->ReadBatchAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeReader::AcceptChanges() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeReader::AcceptChanges() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeReader)->AcceptChanges()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeReader::AcceptChangesThrough(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChange const& lastChangeToAccept) const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeReader::AcceptChangesThrough(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChange const& lastChangeToAccept) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeReader)->AcceptChangesThrough(*(void**)(&lastChangeToAccept))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeReader) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker::GetChangeReader() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker::GetChangeReader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeTracker)->GetChangeReader(&value)); return winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker::Enable() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker::Enable() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeTracker)->Enable()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker::Reset() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker::Reset() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeTracker)->Reset()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker2::IsTracking() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker2::IsTracking() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeTracker2)->get_IsTracking(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangedDeferral::Complete() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangedDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangedDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangedDeferral) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangedEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangedEventArgs)->GetDeferral(&result)); return winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangedDeferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions::CalendarIds() const + template auto consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions::CalendarIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions)->get_CalendarIds(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions::FetchProperties() const + template auto consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions::FetchProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions)->get_FetchProperties(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions::IncludeHidden() const + template auto consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions::IncludeHidden() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions)->get_IncludeHidden(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions::IncludeHidden(bool value) const + template auto consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions::IncludeHidden(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions)->put_IncludeHidden(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions::MaxCount() const + template auto consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions::MaxCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions)->get_MaxCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions::MaxCount(uint32_t value) const + template auto consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions::MaxCount(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions)->put_MaxCount(value)); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Background.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Background.h index cbb37098..bf42e341 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Background.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Background.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Background_H #define WINRT_Windows_ApplicationModel_Background_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.ApplicationModel.Activation.2.h" #include "winrt/impl/Windows.ApplicationModel.Calls.Background.2.h" @@ -28,989 +28,989 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Background.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Background_IActivitySensorTrigger::SubscribedActivities() const + template auto consume_Windows_ApplicationModel_Background_IActivitySensorTrigger::SubscribedActivities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IActivitySensorTrigger)->get_SubscribedActivities(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IActivitySensorTrigger::ReportInterval() const + template auto consume_Windows_ApplicationModel_Background_IActivitySensorTrigger::ReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IActivitySensorTrigger)->get_ReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Background_IActivitySensorTrigger::SupportedActivities() const + template auto consume_Windows_ApplicationModel_Background_IActivitySensorTrigger::SupportedActivities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IActivitySensorTrigger)->get_SupportedActivities(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IActivitySensorTrigger::MinimumReportInterval() const + template auto consume_Windows_ApplicationModel_Background_IActivitySensorTrigger::MinimumReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IActivitySensorTrigger)->get_MinimumReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::ActivitySensorTrigger) consume_Windows_ApplicationModel_Background_IActivitySensorTriggerFactory::Create(uint32_t reportIntervalInMilliseconds) const + template auto consume_Windows_ApplicationModel_Background_IActivitySensorTriggerFactory::Create(uint32_t reportIntervalInMilliseconds) const { void* activityTrigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IActivitySensorTriggerFactory)->Create(reportIntervalInMilliseconds, &activityTrigger)); return winrt::Windows::ApplicationModel::Background::ActivitySensorTrigger{ activityTrigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Background_IAlarmApplicationManagerStatics::RequestAccessAsync() const + template auto consume_Windows_ApplicationModel_Background_IAlarmApplicationManagerStatics::RequestAccessAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAlarmApplicationManagerStatics)->RequestAccessAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::AlarmAccessStatus) consume_Windows_ApplicationModel_Background_IAlarmApplicationManagerStatics::GetAccessStatus() const + template auto consume_Windows_ApplicationModel_Background_IAlarmApplicationManagerStatics::GetAccessStatus() const { winrt::Windows::ApplicationModel::Background::AlarmAccessStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAlarmApplicationManagerStatics)->GetAccessStatus(reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IAppBroadcastTrigger::ProviderInfo(winrt::Windows::ApplicationModel::Background::AppBroadcastTriggerProviderInfo const& value) const + template auto consume_Windows_ApplicationModel_Background_IAppBroadcastTrigger::ProviderInfo(winrt::Windows::ApplicationModel::Background::AppBroadcastTriggerProviderInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTrigger)->put_ProviderInfo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::AppBroadcastTriggerProviderInfo) consume_Windows_ApplicationModel_Background_IAppBroadcastTrigger::ProviderInfo() const + template auto consume_Windows_ApplicationModel_Background_IAppBroadcastTrigger::ProviderInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTrigger)->get_ProviderInfo(&value)); return winrt::Windows::ApplicationModel::Background::AppBroadcastTriggerProviderInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::AppBroadcastTrigger) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerFactory::CreateAppBroadcastTrigger(param::hstring const& providerKey) const + template auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerFactory::CreateAppBroadcastTrigger(param::hstring const& providerKey) const { void* broadcastTrigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerFactory)->CreateAppBroadcastTrigger(*(void**)(&providerKey), &broadcastTrigger)); return winrt::Windows::ApplicationModel::Background::AppBroadcastTrigger{ broadcastTrigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::DisplayNameResource(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::DisplayNameResource(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->put_DisplayNameResource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::DisplayNameResource() const + template auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::DisplayNameResource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->get_DisplayNameResource(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::LogoResource(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::LogoResource(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->put_LogoResource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::LogoResource() const + template auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::LogoResource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->get_LogoResource(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::VideoKeyFrameInterval(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::VideoKeyFrameInterval(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->put_VideoKeyFrameInterval(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::VideoKeyFrameInterval() const + template auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::VideoKeyFrameInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->get_VideoKeyFrameInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::MaxVideoBitrate(uint32_t value) const + template auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::MaxVideoBitrate(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->put_MaxVideoBitrate(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::MaxVideoBitrate() const + template auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::MaxVideoBitrate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->get_MaxVideoBitrate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::MaxVideoWidth(uint32_t value) const + template auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::MaxVideoWidth(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->put_MaxVideoWidth(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::MaxVideoWidth() const + template auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::MaxVideoWidth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->get_MaxVideoWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::MaxVideoHeight(uint32_t value) const + template auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::MaxVideoHeight(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->put_MaxVideoHeight(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::MaxVideoHeight() const + template auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo::MaxVideoHeight() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->get_MaxVideoHeight(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Background_IApplicationTrigger::RequestAsync() const + template auto consume_Windows_ApplicationModel_Background_IApplicationTrigger::RequestAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IApplicationTrigger)->RequestAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Background_IApplicationTrigger::RequestAsync(winrt::Windows::Foundation::Collections::ValueSet const& arguments) const + template auto consume_Windows_ApplicationModel_Background_IApplicationTrigger::RequestAsync(winrt::Windows::Foundation::Collections::ValueSet const& arguments) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IApplicationTrigger)->RequestAsyncWithArguments(*(void**)(&arguments), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_Background_IApplicationTriggerDetails::Arguments() const + template auto consume_Windows_ApplicationModel_Background_IApplicationTriggerDetails::Arguments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IApplicationTriggerDetails)->get_Arguments(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics::RequestAccessAsync() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics::RequestAccessAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundExecutionManagerStatics)->RequestAccessAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics::RequestAccessAsync(param::hstring const& applicationId) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics::RequestAccessAsync(param::hstring const& applicationId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundExecutionManagerStatics)->RequestAccessForApplicationAsync(*(void**)(&applicationId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics::RemoveAccess() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics::RemoveAccess() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundExecutionManagerStatics)->RemoveAccess()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics::RemoveAccess(param::hstring const& applicationId) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics::RemoveAccess(param::hstring const& applicationId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundExecutionManagerStatics)->RemoveAccessForApplication(*(void**)(&applicationId))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundAccessStatus) consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics::GetAccessStatus() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics::GetAccessStatus() const { winrt::Windows::ApplicationModel::Background::BackgroundAccessStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundExecutionManagerStatics)->GetAccessStatus(reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundAccessStatus) consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics::GetAccessStatus(param::hstring const& applicationId) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics::GetAccessStatus(param::hstring const& applicationId) const { winrt::Windows::ApplicationModel::Background::BackgroundAccessStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundExecutionManagerStatics)->GetAccessStatusForApplication(*(void**)(&applicationId), reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics2::RequestAccessKindAsync(winrt::Windows::ApplicationModel::Background::BackgroundAccessRequestKind const& requestedAccess, param::hstring const& reason) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics2::RequestAccessKindAsync(winrt::Windows::ApplicationModel::Background::BackgroundAccessRequestKind const& requestedAccess, param::hstring const& reason) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundExecutionManagerStatics2)->RequestAccessKindAsync(static_cast(requestedAccess), *(void**)(&reason), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTask::Run(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTask::Run(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTask)->Run(*(void**)(&taskInstance))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder::TaskEntryPoint(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder::TaskEntryPoint(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder)->put_TaskEntryPoint(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder::TaskEntryPoint() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder::TaskEntryPoint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder)->get_TaskEntryPoint(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder::SetTrigger(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger const& trigger) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder::SetTrigger(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger const& trigger) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder)->SetTrigger(*(void**)(&trigger))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder::AddCondition(winrt::Windows::ApplicationModel::Background::IBackgroundCondition const& condition) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder::AddCondition(winrt::Windows::ApplicationModel::Background::IBackgroundCondition const& condition) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder)->AddCondition(*(void**)(&condition))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder::Name(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder::Name() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistration) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder::Register() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder::Register() const { void* task{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder)->Register(&task)); return winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistration{ task, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder2::CancelOnConditionLoss(bool value) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder2::CancelOnConditionLoss(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder2)->put_CancelOnConditionLoss(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder2::CancelOnConditionLoss() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder2::CancelOnConditionLoss() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder2)->get_CancelOnConditionLoss(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder3::IsNetworkRequested(bool value) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder3::IsNetworkRequested(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder3)->put_IsNetworkRequested(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder3::IsNetworkRequested() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder3::IsNetworkRequested() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder3)->get_IsNetworkRequested(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder4::TaskGroup() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder4::TaskGroup() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder4)->get_TaskGroup(&value)); return winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder4::TaskGroup(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup const& value) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder4::TaskGroup(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder4)->put_TaskGroup(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder5::SetTaskEntryPointClsid(winrt::guid const& TaskEntryPoint) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder5::SetTaskEntryPointClsid(winrt::guid const& TaskEntryPoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder5)->SetTaskEntryPointClsid(impl::bind_in(TaskEntryPoint))); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Background_IBackgroundTaskCompletedEventArgs::InstanceId() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskCompletedEventArgs::InstanceId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskCompletedEventArgs)->get_InstanceId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskCompletedEventArgs::CheckResult() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskCompletedEventArgs::CheckResult() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskCompletedEventArgs)->CheckResult()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskDeferral::Complete() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::InstanceId() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::InstanceId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance)->get_InstanceId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistration) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::Task() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::Task() const { void* task{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance)->get_Task(&task)); return winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistration{ task, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::Progress() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::Progress() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance)->get_Progress(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::Progress(uint32_t value) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::Progress(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance)->put_Progress(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::TriggerDetails() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::TriggerDetails() const { void* triggerDetails{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance)->get_TriggerDetails(&triggerDetails)); return winrt::Windows::Foundation::IInspectable{ triggerDetails, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::Canceled(winrt::Windows::ApplicationModel::Background::BackgroundTaskCanceledEventHandler const& cancelHandler) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::Canceled(winrt::Windows::ApplicationModel::Background::BackgroundTaskCanceledEventHandler const& cancelHandler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance)->add_Canceled(*(void**)(&cancelHandler), put_abi(cookie))); return cookie; } - template typename consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::Canceled_revoker consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::Canceled(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskCanceledEventHandler const& cancelHandler) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::Canceled(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskCanceledEventHandler const& cancelHandler) const { return impl::make_event_revoker(this, Canceled(cancelHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::Canceled(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::Canceled(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance)->remove_Canceled(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::SuspendedCount() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::SuspendedCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance)->get_SuspendedCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskDeferral) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::GetDeferral() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance)->GetDeferral(&deferral)); return winrt::Windows::ApplicationModel::Background::BackgroundTaskDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance2::GetThrottleCount(winrt::Windows::ApplicationModel::Background::BackgroundTaskThrottleCounter const& counter) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance2::GetThrottleCount(winrt::Windows::ApplicationModel::Background::BackgroundTaskThrottleCounter const& counter) const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance2)->GetThrottleCount(static_cast(counter), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance4::User() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance4::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance4)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Background_IBackgroundTaskProgressEventArgs::InstanceId() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskProgressEventArgs::InstanceId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskProgressEventArgs)->get_InstanceId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IBackgroundTaskProgressEventArgs::Progress() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskProgressEventArgs::Progress() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskProgressEventArgs)->get_Progress(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::TaskId() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::TaskId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration)->get_TaskId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Name() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Progress(winrt::Windows::ApplicationModel::Background::BackgroundTaskProgressEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Progress(winrt::Windows::ApplicationModel::Background::BackgroundTaskProgressEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration)->add_Progress(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Progress_revoker consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Progress(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskProgressEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Progress(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskProgressEventHandler const& handler) const { return impl::make_event_revoker(this, Progress(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Progress(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Progress(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration)->remove_Progress(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Completed(winrt::Windows::ApplicationModel::Background::BackgroundTaskCompletedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Completed(winrt::Windows::ApplicationModel::Background::BackgroundTaskCompletedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration)->add_Completed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Completed_revoker consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Completed(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskCompletedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Completed(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskCompletedEventHandler const& handler) const { return impl::make_event_revoker(this, Completed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Completed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Completed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration)->remove_Completed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Unregister(bool cancelTask) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration::Unregister(bool cancelTask) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration)->Unregister(cancelTask)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration2::Trigger() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration2::Trigger() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration2)->get_Trigger(&value)); return winrt::Windows::ApplicationModel::Background::IBackgroundTrigger{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration3::TaskGroup() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration3::TaskGroup() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration3)->get_TaskGroup(&value)); return winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup::Id() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationGroup)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup::Name() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationGroup)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup::BackgroundActivated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup::BackgroundActivated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationGroup)->add_BackgroundActivated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup::BackgroundActivated_revoker consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup::BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup::BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BackgroundActivated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup::BackgroundActivated(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup::BackgroundActivated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationGroup)->remove_BackgroundActivated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup::AllTasks() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup::AllTasks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationGroup)->get_AllTasks(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroupFactory::Create(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroupFactory::Create(param::hstring const& id) const { void* group{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationGroupFactory)->Create(*(void**)(&id), &group)); return winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup{ group, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroupFactory::CreateWithName(param::hstring const& id, param::hstring const& name) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroupFactory::CreateWithName(param::hstring const& id, param::hstring const& name) const { void* group{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationGroupFactory)->CreateWithName(*(void**)(&id), *(void**)(&name), &group)); return winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup{ group, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics::AllTasks() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics::AllTasks() const { void* tasks{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationStatics)->get_AllTasks(&tasks)); return winrt::Windows::Foundation::Collections::IMapView{ tasks, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics2::AllTaskGroups() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics2::AllTaskGroups() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationStatics2)->get_AllTaskGroups(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics2::GetTaskGroup(param::hstring const& groupId) const + template auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics2::GetTaskGroup(param::hstring const& groupId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationStatics2)->GetTaskGroup(*(void**)(&groupId), &value)); return winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundWorkCostValue) consume_Windows_ApplicationModel_Background_IBackgroundWorkCostStatics::CurrentBackgroundWorkCost() const + template auto consume_Windows_ApplicationModel_Background_IBackgroundWorkCostStatics::CurrentBackgroundWorkCost() const { winrt::Windows::ApplicationModel::Background::BackgroundWorkCostValue value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundWorkCostStatics)->get_CurrentBackgroundWorkCost(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger::Advertisement() const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger::Advertisement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger)->get_Advertisement(&value)); return winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2::PreferredTransmitPowerLevelInDBm() const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2::PreferredTransmitPowerLevelInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2)->get_PreferredTransmitPowerLevelInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2::PreferredTransmitPowerLevelInDBm(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2::PreferredTransmitPowerLevelInDBm(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2)->put_PreferredTransmitPowerLevelInDBm(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2::UseExtendedFormat() const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2::UseExtendedFormat() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2)->get_UseExtendedFormat(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2::UseExtendedFormat(bool value) const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2::UseExtendedFormat(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2)->put_UseExtendedFormat(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2::IsAnonymous() const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2::IsAnonymous() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2)->get_IsAnonymous(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2::IsAnonymous(bool value) const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2::IsAnonymous(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2)->put_IsAnonymous(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2::IncludeTransmitPowerLevel() const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2::IncludeTransmitPowerLevel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2)->get_IncludeTransmitPowerLevel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2::IncludeTransmitPowerLevel(bool value) const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2::IncludeTransmitPowerLevel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2)->put_IncludeTransmitPowerLevel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger::MinSamplingInterval() const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger::MinSamplingInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementWatcherTrigger)->get_MinSamplingInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger::MaxSamplingInterval() const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger::MaxSamplingInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementWatcherTrigger)->get_MaxSamplingInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger::MinOutOfRangeTimeout() const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger::MinOutOfRangeTimeout() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementWatcherTrigger)->get_MinOutOfRangeTimeout(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger::MaxOutOfRangeTimeout() const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger::MaxOutOfRangeTimeout() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementWatcherTrigger)->get_MaxOutOfRangeTimeout(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger::SignalStrengthFilter() const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger::SignalStrengthFilter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementWatcherTrigger)->get_SignalStrengthFilter(&value)); return winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger::SignalStrengthFilter(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter const& value) const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger::SignalStrengthFilter(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementWatcherTrigger)->put_SignalStrengthFilter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger::AdvertisementFilter() const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger::AdvertisementFilter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementWatcherTrigger)->get_AdvertisementFilter(&value)); return winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger::AdvertisementFilter(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& value) const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger::AdvertisementFilter(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementWatcherTrigger)->put_AdvertisementFilter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger2::AllowExtendedAdvertisements() const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger2::AllowExtendedAdvertisements() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementWatcherTrigger2)->get_AllowExtendedAdvertisements(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger2::AllowExtendedAdvertisements(bool value) const + template auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger2::AllowExtendedAdvertisements(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementWatcherTrigger2)->put_AllowExtendedAdvertisements(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::CachedFileTarget) consume_Windows_ApplicationModel_Background_ICachedFileUpdaterTriggerDetails::UpdateTarget() const + template auto consume_Windows_ApplicationModel_Background_ICachedFileUpdaterTriggerDetails::UpdateTarget() const { winrt::Windows::Storage::Provider::CachedFileTarget value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ICachedFileUpdaterTriggerDetails)->get_UpdateTarget(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateRequest) consume_Windows_ApplicationModel_Background_ICachedFileUpdaterTriggerDetails::UpdateRequest() const + template auto consume_Windows_ApplicationModel_Background_ICachedFileUpdaterTriggerDetails::UpdateRequest() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ICachedFileUpdaterTriggerDetails)->get_UpdateRequest(&value)); return winrt::Windows::Storage::Provider::FileUpdateRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_ICachedFileUpdaterTriggerDetails::CanRequestUserInput() const + template auto consume_Windows_ApplicationModel_Background_ICachedFileUpdaterTriggerDetails::CanRequestUserInput() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ICachedFileUpdaterTriggerDetails)->get_CanRequestUserInput(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Background_IContentPrefetchTrigger::WaitInterval() const + template auto consume_Windows_ApplicationModel_Background_IContentPrefetchTrigger::WaitInterval() const { winrt::Windows::Foundation::TimeSpan waitInterval{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IContentPrefetchTrigger)->get_WaitInterval(put_abi(waitInterval))); return waitInterval; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::ContentPrefetchTrigger) consume_Windows_ApplicationModel_Background_IContentPrefetchTriggerFactory::Create(winrt::Windows::Foundation::TimeSpan const& waitInterval) const + template auto consume_Windows_ApplicationModel_Background_IContentPrefetchTriggerFactory::Create(winrt::Windows::Foundation::TimeSpan const& waitInterval) const { void* trigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IContentPrefetchTriggerFactory)->Create(impl::bind_in(waitInterval), &trigger)); return winrt::Windows::ApplicationModel::Background::ContentPrefetchTrigger{ trigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_ICustomSystemEventTrigger::TriggerId() const + template auto consume_Windows_ApplicationModel_Background_ICustomSystemEventTrigger::TriggerId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ICustomSystemEventTrigger)->get_TriggerId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::CustomSystemEventTriggerRecurrence) consume_Windows_ApplicationModel_Background_ICustomSystemEventTrigger::Recurrence() const + template auto consume_Windows_ApplicationModel_Background_ICustomSystemEventTrigger::Recurrence() const { winrt::Windows::ApplicationModel::Background::CustomSystemEventTriggerRecurrence value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ICustomSystemEventTrigger)->get_Recurrence(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::CustomSystemEventTrigger) consume_Windows_ApplicationModel_Background_ICustomSystemEventTriggerFactory::Create(param::hstring const& triggerId, winrt::Windows::ApplicationModel::Background::CustomSystemEventTriggerRecurrence const& recurrence) const + template auto consume_Windows_ApplicationModel_Background_ICustomSystemEventTriggerFactory::Create(param::hstring const& triggerId, winrt::Windows::ApplicationModel::Background::CustomSystemEventTriggerRecurrence const& recurrence) const { void* trigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ICustomSystemEventTriggerFactory)->Create(*(void**)(&triggerId), static_cast(recurrence), &trigger)); return winrt::Windows::ApplicationModel::Background::CustomSystemEventTrigger{ trigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger::DeviceId() const + template auto consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IDeviceConnectionChangeTrigger)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger::CanMaintainConnection() const + template auto consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger::CanMaintainConnection() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IDeviceConnectionChangeTrigger)->get_CanMaintainConnection(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger::MaintainConnection() const + template auto consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger::MaintainConnection() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IDeviceConnectionChangeTrigger)->get_MaintainConnection(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger::MaintainConnection(bool value) const + template auto consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger::MaintainConnection(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IDeviceConnectionChangeTrigger)->put_MaintainConnection(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTriggerStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTriggerStatics::FromIdAsync(param::hstring const& deviceId) const { void* deviceChangeTrigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IDeviceConnectionChangeTriggerStatics)->FromIdAsync(*(void**)(&deviceId), &deviceChangeTrigger)); return winrt::Windows::Foundation::IAsyncOperation{ deviceChangeTrigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IDeviceManufacturerNotificationTrigger::TriggerQualifier() const + template auto consume_Windows_ApplicationModel_Background_IDeviceManufacturerNotificationTrigger::TriggerQualifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IDeviceManufacturerNotificationTrigger)->get_TriggerQualifier(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IDeviceManufacturerNotificationTrigger::OneShot() const + template auto consume_Windows_ApplicationModel_Background_IDeviceManufacturerNotificationTrigger::OneShot() const { bool oneShot{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IDeviceManufacturerNotificationTrigger)->get_OneShot(&oneShot)); return oneShot; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::DeviceManufacturerNotificationTrigger) consume_Windows_ApplicationModel_Background_IDeviceManufacturerNotificationTriggerFactory::Create(param::hstring const& triggerQualifier, bool oneShot) const + template auto consume_Windows_ApplicationModel_Background_IDeviceManufacturerNotificationTriggerFactory::Create(param::hstring const& triggerQualifier, bool oneShot) const { void* trigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IDeviceManufacturerNotificationTriggerFactory)->Create(*(void**)(&triggerQualifier), oneShot, &trigger)); return winrt::Windows::ApplicationModel::Background::DeviceManufacturerNotificationTrigger{ trigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Background_IDeviceServicingTrigger::RequestAsync(param::hstring const& deviceId, winrt::Windows::Foundation::TimeSpan const& expectedDuration) const + template auto consume_Windows_ApplicationModel_Background_IDeviceServicingTrigger::RequestAsync(param::hstring const& deviceId, winrt::Windows::Foundation::TimeSpan const& expectedDuration) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IDeviceServicingTrigger)->RequestAsyncSimple(*(void**)(&deviceId), impl::bind_in(expectedDuration), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Background_IDeviceServicingTrigger::RequestAsync(param::hstring const& deviceId, winrt::Windows::Foundation::TimeSpan const& expectedDuration, param::hstring const& arguments) const + template auto consume_Windows_ApplicationModel_Background_IDeviceServicingTrigger::RequestAsync(param::hstring const& deviceId, winrt::Windows::Foundation::TimeSpan const& expectedDuration, param::hstring const& arguments) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IDeviceServicingTrigger)->RequestAsyncWithArguments(*(void**)(&deviceId), impl::bind_in(expectedDuration), *(void**)(&arguments), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Background_IDeviceUseTrigger::RequestAsync(param::hstring const& deviceId) const + template auto consume_Windows_ApplicationModel_Background_IDeviceUseTrigger::RequestAsync(param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IDeviceUseTrigger)->RequestAsyncSimple(*(void**)(&deviceId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Background_IDeviceUseTrigger::RequestAsync(param::hstring const& deviceId, param::hstring const& arguments) const + template auto consume_Windows_ApplicationModel_Background_IDeviceUseTrigger::RequestAsync(param::hstring const& deviceId, param::hstring const& arguments) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IDeviceUseTrigger)->RequestAsyncWithArguments(*(void**)(&deviceId), *(void**)(&arguments), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic) consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTrigger::Characteristic() const + template auto consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTrigger::Characteristic() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGattCharacteristicNotificationTrigger)->get_Characteristic(&value)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Background::BluetoothEventTriggeringMode) consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTrigger2::EventTriggeringMode() const + template auto consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTrigger2::EventTriggeringMode() const { winrt::Windows::Devices::Bluetooth::Background::BluetoothEventTriggeringMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGattCharacteristicNotificationTrigger2)->get_EventTriggeringMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::GattCharacteristicNotificationTrigger) consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTriggerFactory::Create(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic const& characteristic) const + template auto consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTriggerFactory::Create(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic const& characteristic) const { void* gattCharacteristicNotificationTrigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGattCharacteristicNotificationTriggerFactory)->Create(*(void**)(&characteristic), &gattCharacteristicNotificationTrigger)); return winrt::Windows::ApplicationModel::Background::GattCharacteristicNotificationTrigger{ gattCharacteristicNotificationTrigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::GattCharacteristicNotificationTrigger) consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTriggerFactory2::Create(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic const& characteristic, winrt::Windows::Devices::Bluetooth::Background::BluetoothEventTriggeringMode const& eventTriggeringMode) const + template auto consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTriggerFactory2::Create(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic const& characteristic, winrt::Windows::Devices::Bluetooth::Background::BluetoothEventTriggeringMode const& eventTriggeringMode) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGattCharacteristicNotificationTriggerFactory2)->CreateWithEventTriggeringMode(*(void**)(&characteristic), static_cast(eventTriggeringMode), &result)); return winrt::Windows::ApplicationModel::Background::GattCharacteristicNotificationTrigger{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger::TriggerId() const + template auto consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger::TriggerId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGattServiceProviderTrigger)->get_TriggerId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalService) consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger::Service() const + template auto consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger::Service() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGattServiceProviderTrigger)->get_Service(&value)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalService{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger::AdvertisingParameters(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters const& value) const + template auto consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger::AdvertisingParameters(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGattServiceProviderTrigger)->put_AdvertisingParameters(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters) consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger::AdvertisingParameters() const + template auto consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger::AdvertisingParameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGattServiceProviderTrigger)->get_AdvertisingParameters(&value)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::GattServiceProviderTrigger) consume_Windows_ApplicationModel_Background_IGattServiceProviderTriggerResult::Trigger() const + template auto consume_Windows_ApplicationModel_Background_IGattServiceProviderTriggerResult::Trigger() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGattServiceProviderTriggerResult)->get_Trigger(&value)); return winrt::Windows::ApplicationModel::Background::GattServiceProviderTrigger{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_ApplicationModel_Background_IGattServiceProviderTriggerResult::Error() const + template auto consume_Windows_ApplicationModel_Background_IGattServiceProviderTriggerResult::Error() const { winrt::Windows::Devices::Bluetooth::BluetoothError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGattServiceProviderTriggerResult)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Background_IGattServiceProviderTriggerStatics::CreateAsync(param::hstring const& triggerId, winrt::guid const& serviceUuid) const + template auto consume_Windows_ApplicationModel_Background_IGattServiceProviderTriggerStatics::CreateAsync(param::hstring const& triggerId, winrt::guid const& serviceUuid) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGattServiceProviderTriggerStatics)->CreateAsync(*(void**)(&triggerId), impl::bind_in(serviceUuid), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::VisitMonitoringScope) consume_Windows_ApplicationModel_Background_IGeovisitTrigger::MonitoringScope() const + template auto consume_Windows_ApplicationModel_Background_IGeovisitTrigger::MonitoringScope() const { winrt::Windows::Devices::Geolocation::VisitMonitoringScope value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGeovisitTrigger)->get_MonitoringScope(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IGeovisitTrigger::MonitoringScope(winrt::Windows::Devices::Geolocation::VisitMonitoringScope const& value) const + template auto consume_Windows_ApplicationModel_Background_IGeovisitTrigger::MonitoringScope(winrt::Windows::Devices::Geolocation::VisitMonitoringScope const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGeovisitTrigger)->put_MonitoringScope(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::LocationTriggerType) consume_Windows_ApplicationModel_Background_ILocationTrigger::TriggerType() const + template auto consume_Windows_ApplicationModel_Background_ILocationTrigger::TriggerType() const { winrt::Windows::ApplicationModel::Background::LocationTriggerType triggerType{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ILocationTrigger)->get_TriggerType(reinterpret_cast(&triggerType))); return triggerType; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::LocationTrigger) consume_Windows_ApplicationModel_Background_ILocationTriggerFactory::Create(winrt::Windows::ApplicationModel::Background::LocationTriggerType const& triggerType) const + template auto consume_Windows_ApplicationModel_Background_ILocationTriggerFactory::Create(winrt::Windows::ApplicationModel::Background::LocationTriggerType const& triggerType) const { void* locationTrigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ILocationTriggerFactory)->Create(static_cast(triggerType), &locationTrigger)); return winrt::Windows::ApplicationModel::Background::LocationTrigger{ locationTrigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IMaintenanceTrigger::FreshnessTime() const + template auto consume_Windows_ApplicationModel_Background_IMaintenanceTrigger::FreshnessTime() const { uint32_t freshnessTime{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IMaintenanceTrigger)->get_FreshnessTime(&freshnessTime)); return freshnessTime; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IMaintenanceTrigger::OneShot() const + template auto consume_Windows_ApplicationModel_Background_IMaintenanceTrigger::OneShot() const { bool oneShot{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IMaintenanceTrigger)->get_OneShot(&oneShot)); return oneShot; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::MaintenanceTrigger) consume_Windows_ApplicationModel_Background_IMaintenanceTriggerFactory::Create(uint32_t freshnessTime, bool oneShot) const + template auto consume_Windows_ApplicationModel_Background_IMaintenanceTriggerFactory::Create(uint32_t freshnessTime, bool oneShot) const { void* trigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IMaintenanceTriggerFactory)->Create(freshnessTime, oneShot, &trigger)); return winrt::Windows::ApplicationModel::Background::MaintenanceTrigger{ trigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Background_IMediaProcessingTrigger::RequestAsync() const + template auto consume_Windows_ApplicationModel_Background_IMediaProcessingTrigger::RequestAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IMediaProcessingTrigger)->RequestAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Background_IMediaProcessingTrigger::RequestAsync(winrt::Windows::Foundation::Collections::ValueSet const& arguments) const + template auto consume_Windows_ApplicationModel_Background_IMediaProcessingTrigger::RequestAsync(winrt::Windows::Foundation::Collections::ValueSet const& arguments) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IMediaProcessingTrigger)->RequestAsyncWithArguments(*(void**)(&arguments), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_INetworkOperatorNotificationTrigger::NetworkAccountId() const + template auto consume_Windows_ApplicationModel_Background_INetworkOperatorNotificationTrigger::NetworkAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::INetworkOperatorNotificationTrigger)->get_NetworkAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::NetworkOperatorNotificationTrigger) consume_Windows_ApplicationModel_Background_INetworkOperatorNotificationTriggerFactory::Create(param::hstring const& networkAccountId) const + template auto consume_Windows_ApplicationModel_Background_INetworkOperatorNotificationTriggerFactory::Create(param::hstring const& networkAccountId) const { void* trigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::INetworkOperatorNotificationTriggerFactory)->Create(*(void**)(&networkAccountId), &trigger)); return winrt::Windows::ApplicationModel::Background::NetworkOperatorNotificationTrigger{ trigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IPhoneTrigger::OneShot() const + template auto consume_Windows_ApplicationModel_Background_IPhoneTrigger::OneShot() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IPhoneTrigger)->get_OneShot(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::Background::PhoneTriggerType) consume_Windows_ApplicationModel_Background_IPhoneTrigger::TriggerType() const + template auto consume_Windows_ApplicationModel_Background_IPhoneTrigger::TriggerType() const { winrt::Windows::ApplicationModel::Calls::Background::PhoneTriggerType result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IPhoneTrigger)->get_TriggerType(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::PhoneTrigger) consume_Windows_ApplicationModel_Background_IPhoneTriggerFactory::Create(winrt::Windows::ApplicationModel::Calls::Background::PhoneTriggerType const& type, bool oneShot) const + template auto consume_Windows_ApplicationModel_Background_IPhoneTriggerFactory::Create(winrt::Windows::ApplicationModel::Calls::Background::PhoneTriggerType const& type, bool oneShot) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IPhoneTriggerFactory)->Create(static_cast(type), oneShot, &result)); return winrt::Windows::ApplicationModel::Background::PhoneTrigger{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::PushNotificationTrigger) consume_Windows_ApplicationModel_Background_IPushNotificationTriggerFactory::Create(param::hstring const& applicationId) const + template auto consume_Windows_ApplicationModel_Background_IPushNotificationTriggerFactory::Create(param::hstring const& applicationId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IPushNotificationTriggerFactory)->Create(*(void**)(&applicationId), &value)); return winrt::Windows::ApplicationModel::Background::PushNotificationTrigger{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Background::RfcommInboundConnectionInformation) consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger::InboundConnection() const + template auto consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger::InboundConnection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IRfcommConnectionTrigger)->get_InboundConnection(&value)); return winrt::Windows::Devices::Bluetooth::Background::RfcommInboundConnectionInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Background::RfcommOutboundConnectionInformation) consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger::OutboundConnection() const + template auto consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger::OutboundConnection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IRfcommConnectionTrigger)->get_OutboundConnection(&value)); return winrt::Windows::Devices::Bluetooth::Background::RfcommOutboundConnectionInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger::AllowMultipleConnections() const + template auto consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger::AllowMultipleConnections() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IRfcommConnectionTrigger)->get_AllowMultipleConnections(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger::AllowMultipleConnections(bool value) const + template auto consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger::AllowMultipleConnections(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IRfcommConnectionTrigger)->put_AllowMultipleConnections(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketProtectionLevel) consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger::ProtectionLevel() const + template auto consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger::ProtectionLevel() const { winrt::Windows::Networking::Sockets::SocketProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IRfcommConnectionTrigger)->get_ProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger::ProtectionLevel(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& value) const + template auto consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger::ProtectionLevel(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IRfcommConnectionTrigger)->put_ProtectionLevel(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger::RemoteHostName() const + template auto consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger::RemoteHostName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IRfcommConnectionTrigger)->get_RemoteHostName(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger::RemoteHostName(winrt::Windows::Networking::HostName const& value) const + template auto consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger::RemoteHostName(winrt::Windows::Networking::HostName const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IRfcommConnectionTrigger)->put_RemoteHostName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SensorDataThresholdTrigger) consume_Windows_ApplicationModel_Background_ISensorDataThresholdTriggerFactory::Create(winrt::Windows::Devices::Sensors::ISensorDataThreshold const& threshold) const + template auto consume_Windows_ApplicationModel_Background_ISensorDataThresholdTriggerFactory::Create(winrt::Windows::Devices::Sensors::ISensorDataThreshold const& threshold) const { void* trigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISensorDataThresholdTriggerFactory)->Create(*(void**)(&threshold), &trigger)); return winrt::Windows::ApplicationModel::Background::SensorDataThresholdTrigger{ trigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardTriggerType) consume_Windows_ApplicationModel_Background_ISmartCardTrigger::TriggerType() const + template auto consume_Windows_ApplicationModel_Background_ISmartCardTrigger::TriggerType() const { winrt::Windows::Devices::SmartCards::SmartCardTriggerType triggerType{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISmartCardTrigger)->get_TriggerType(reinterpret_cast(&triggerType))); return triggerType; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SmartCardTrigger) consume_Windows_ApplicationModel_Background_ISmartCardTriggerFactory::Create(winrt::Windows::Devices::SmartCards::SmartCardTriggerType const& triggerType) const + template auto consume_Windows_ApplicationModel_Background_ISmartCardTriggerFactory::Create(winrt::Windows::Devices::SmartCards::SmartCardTriggerType const& triggerType) const { void* trigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISmartCardTriggerFactory)->Create(static_cast(triggerType), &trigger)); return winrt::Windows::ApplicationModel::Background::SmartCardTrigger{ trigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SmsMessageReceivedTrigger) consume_Windows_ApplicationModel_Background_ISmsMessageReceivedTriggerFactory::Create(winrt::Windows::Devices::Sms::SmsFilterRules const& filterRules) const + template auto consume_Windows_ApplicationModel_Background_ISmsMessageReceivedTriggerFactory::Create(winrt::Windows::Devices::Sms::SmsFilterRules const& filterRules) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISmsMessageReceivedTriggerFactory)->Create(*(void**)(&filterRules), &value)); return winrt::Windows::ApplicationModel::Background::SmsMessageReceivedTrigger{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_ISocketActivityTrigger::IsWakeFromLowPowerSupported() const + template auto consume_Windows_ApplicationModel_Background_ISocketActivityTrigger::IsWakeFromLowPowerSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISocketActivityTrigger)->get_IsWakeFromLowPowerSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::StorageLibraryChangeTrackerTrigger) consume_Windows_ApplicationModel_Background_IStorageLibraryChangeTrackerTriggerFactory::Create(winrt::Windows::Storage::StorageLibraryChangeTracker const& tracker) const + template auto consume_Windows_ApplicationModel_Background_IStorageLibraryChangeTrackerTriggerFactory::Create(winrt::Windows::Storage::StorageLibraryChangeTracker const& tracker) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IStorageLibraryChangeTrackerTriggerFactory)->Create(*(void**)(&tracker), &result)); return winrt::Windows::ApplicationModel::Background::StorageLibraryChangeTrackerTrigger{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::StorageLibraryContentChangedTrigger) consume_Windows_ApplicationModel_Background_IStorageLibraryContentChangedTriggerStatics::Create(winrt::Windows::Storage::StorageLibrary const& storageLibrary) const + template auto consume_Windows_ApplicationModel_Background_IStorageLibraryContentChangedTriggerStatics::Create(winrt::Windows::Storage::StorageLibrary const& storageLibrary) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IStorageLibraryContentChangedTriggerStatics)->Create(*(void**)(&storageLibrary), &result)); return winrt::Windows::ApplicationModel::Background::StorageLibraryContentChangedTrigger{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::StorageLibraryContentChangedTrigger) consume_Windows_ApplicationModel_Background_IStorageLibraryContentChangedTriggerStatics::CreateFromLibraries(param::iterable const& storageLibraries) const + template auto consume_Windows_ApplicationModel_Background_IStorageLibraryContentChangedTriggerStatics::CreateFromLibraries(param::iterable const& storageLibraries) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IStorageLibraryContentChangedTriggerStatics)->CreateFromLibraries(*(void**)(&storageLibraries), &result)); return winrt::Windows::ApplicationModel::Background::StorageLibraryContentChangedTrigger{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SystemConditionType) consume_Windows_ApplicationModel_Background_ISystemCondition::ConditionType() const + template auto consume_Windows_ApplicationModel_Background_ISystemCondition::ConditionType() const { winrt::Windows::ApplicationModel::Background::SystemConditionType conditionType{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISystemCondition)->get_ConditionType(reinterpret_cast(&conditionType))); return conditionType; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SystemCondition) consume_Windows_ApplicationModel_Background_ISystemConditionFactory::Create(winrt::Windows::ApplicationModel::Background::SystemConditionType const& conditionType) const + template auto consume_Windows_ApplicationModel_Background_ISystemConditionFactory::Create(winrt::Windows::ApplicationModel::Background::SystemConditionType const& conditionType) const { void* condition{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISystemConditionFactory)->Create(static_cast(conditionType), &condition)); return winrt::Windows::ApplicationModel::Background::SystemCondition{ condition, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_ISystemTrigger::OneShot() const + template auto consume_Windows_ApplicationModel_Background_ISystemTrigger::OneShot() const { bool oneShot{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISystemTrigger)->get_OneShot(&oneShot)); return oneShot; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SystemTriggerType) consume_Windows_ApplicationModel_Background_ISystemTrigger::TriggerType() const + template auto consume_Windows_ApplicationModel_Background_ISystemTrigger::TriggerType() const { winrt::Windows::ApplicationModel::Background::SystemTriggerType triggerType{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISystemTrigger)->get_TriggerType(reinterpret_cast(&triggerType))); return triggerType; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SystemTrigger) consume_Windows_ApplicationModel_Background_ISystemTriggerFactory::Create(winrt::Windows::ApplicationModel::Background::SystemTriggerType const& triggerType, bool oneShot) const + template auto consume_Windows_ApplicationModel_Background_ISystemTriggerFactory::Create(winrt::Windows::ApplicationModel::Background::SystemTriggerType const& triggerType, bool oneShot) const { void* trigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISystemTriggerFactory)->Create(static_cast(triggerType), oneShot, &trigger)); return winrt::Windows::ApplicationModel::Background::SystemTrigger{ trigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_ITimeTrigger::FreshnessTime() const + template auto consume_Windows_ApplicationModel_Background_ITimeTrigger::FreshnessTime() const { uint32_t freshnessTime{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ITimeTrigger)->get_FreshnessTime(&freshnessTime)); return freshnessTime; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_ITimeTrigger::OneShot() const + template auto consume_Windows_ApplicationModel_Background_ITimeTrigger::OneShot() const { bool oneShot{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ITimeTrigger)->get_OneShot(&oneShot)); return oneShot; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::TimeTrigger) consume_Windows_ApplicationModel_Background_ITimeTriggerFactory::Create(uint32_t freshnessTime, bool oneShot) const + template auto consume_Windows_ApplicationModel_Background_ITimeTriggerFactory::Create(uint32_t freshnessTime, bool oneShot) const { void* trigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ITimeTriggerFactory)->Create(freshnessTime, oneShot, &trigger)); return winrt::Windows::ApplicationModel::Background::TimeTrigger{ trigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::ToastNotificationActionTrigger) consume_Windows_ApplicationModel_Background_IToastNotificationActionTriggerFactory::Create(param::hstring const& applicationId) const + template auto consume_Windows_ApplicationModel_Background_IToastNotificationActionTriggerFactory::Create(param::hstring const& applicationId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IToastNotificationActionTriggerFactory)->Create(*(void**)(&applicationId), &value)); return winrt::Windows::ApplicationModel::Background::ToastNotificationActionTrigger{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::ToastNotificationHistoryChangedTrigger) consume_Windows_ApplicationModel_Background_IToastNotificationHistoryChangedTriggerFactory::Create(param::hstring const& applicationId) const + template auto consume_Windows_ApplicationModel_Background_IToastNotificationHistoryChangedTriggerFactory::Create(param::hstring const& applicationId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IToastNotificationHistoryChangedTriggerFactory)->Create(*(void**)(&applicationId), &value)); return winrt::Windows::ApplicationModel::Background::ToastNotificationHistoryChangedTrigger{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::UserNotificationChangedTrigger) consume_Windows_ApplicationModel_Background_IUserNotificationChangedTriggerFactory::Create(winrt::Windows::UI::Notifications::NotificationKinds const& notificationKinds) const + template auto consume_Windows_ApplicationModel_Background_IUserNotificationChangedTriggerFactory::Create(winrt::Windows::UI::Notifications::NotificationKinds const& notificationKinds) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IUserNotificationChangedTriggerFactory)->Create(static_cast(notificationKinds), &value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.Background.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.Background.h index ae31e800..8957377a 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.Background.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.Background.h @@ -1,113 +1,113 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Calls_Background_H #define WINRT_Windows_ApplicationModel_Calls_Background_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.Calls.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.ApplicationModel.Calls.Background.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Background_IPhoneCallBlockedTriggerDetails::PhoneNumber() const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneCallBlockedTriggerDetails::PhoneNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneCallBlockedTriggerDetails)->get_PhoneNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Calls_Background_IPhoneCallBlockedTriggerDetails::LineId() const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneCallBlockedTriggerDetails::LineId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneCallBlockedTriggerDetails)->get_LineId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::Background::PhoneCallBlockedReason) consume_Windows_ApplicationModel_Calls_Background_IPhoneCallBlockedTriggerDetails::CallBlockedReason() const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneCallBlockedTriggerDetails::CallBlockedReason() const { winrt::Windows::ApplicationModel::Calls::Background::PhoneCallBlockedReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneCallBlockedTriggerDetails)->get_CallBlockedReason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Calls_Background_IPhoneCallOriginDataRequestTriggerDetails::RequestId() const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneCallOriginDataRequestTriggerDetails::RequestId() const { winrt::guid result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneCallOriginDataRequestTriggerDetails)->get_RequestId(put_abi(result))); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Background_IPhoneCallOriginDataRequestTriggerDetails::PhoneNumber() const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneCallOriginDataRequestTriggerDetails::PhoneNumber() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneCallOriginDataRequestTriggerDetails)->get_PhoneNumber(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails::LineId() const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails::LineId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneIncomingCallDismissedTriggerDetails)->get_LineId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails::PhoneNumber() const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails::PhoneNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneIncomingCallDismissedTriggerDetails)->get_PhoneNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails::DisplayName() const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneIncomingCallDismissedTriggerDetails)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails::DismissalTime() const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails::DismissalTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneIncomingCallDismissedTriggerDetails)->get_DismissalTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails::TextReplyMessage() const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails::TextReplyMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneIncomingCallDismissedTriggerDetails)->get_TextReplyMessage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::Background::PhoneIncomingCallDismissedReason) consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails::Reason() const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails::Reason() const { winrt::Windows::ApplicationModel::Calls::Background::PhoneIncomingCallDismissedReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneIncomingCallDismissedTriggerDetails)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Calls_Background_IPhoneLineChangedTriggerDetails::LineId() const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneLineChangedTriggerDetails::LineId() const { winrt::guid result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneLineChangedTriggerDetails)->get_LineId(put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::Background::PhoneLineChangeKind) consume_Windows_ApplicationModel_Calls_Background_IPhoneLineChangedTriggerDetails::ChangeType() const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneLineChangedTriggerDetails::ChangeType() const { winrt::Windows::ApplicationModel::Calls::Background::PhoneLineChangeKind result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneLineChangedTriggerDetails)->get_ChangeType(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_Background_IPhoneLineChangedTriggerDetails::HasLinePropertyChanged(winrt::Windows::ApplicationModel::Calls::Background::PhoneLineProperties const& lineProperty) const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneLineChangedTriggerDetails::HasLinePropertyChanged(winrt::Windows::ApplicationModel::Calls::Background::PhoneLineProperties const& lineProperty) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneLineChangedTriggerDetails)->HasLinePropertyChanged(static_cast(lineProperty), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Calls_Background_IPhoneNewVoicemailMessageTriggerDetails::LineId() const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneNewVoicemailMessageTriggerDetails::LineId() const { winrt::guid result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneNewVoicemailMessageTriggerDetails)->get_LineId(put_abi(result))); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Calls_Background_IPhoneNewVoicemailMessageTriggerDetails::VoicemailCount() const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneNewVoicemailMessageTriggerDetails::VoicemailCount() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneNewVoicemailMessageTriggerDetails)->get_VoicemailCount(&result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Background_IPhoneNewVoicemailMessageTriggerDetails::OperatorMessage() const + template auto consume_Windows_ApplicationModel_Calls_Background_IPhoneNewVoicemailMessageTriggerDetails::OperatorMessage() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneNewVoicemailMessageTriggerDetails)->get_OperatorMessage(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.Provider.h index 072e37ba..540b28d8 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.Provider.h @@ -1,88 +1,88 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Calls_Provider_H #define WINRT_Windows_ApplicationModel_Calls_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.Calls.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Storage.2.h" #include "winrt/impl/Windows.ApplicationModel.Calls.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin::Category() const + template auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin::Category() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin)->get_Category(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin::Category(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin::Category(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin)->put_Category(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin::CategoryDescription() const + template auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin::CategoryDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin)->get_CategoryDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin::CategoryDescription(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin::CategoryDescription(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin)->put_CategoryDescription(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin::Location() const + template auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin)->get_Location(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin::Location(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin::Location(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin)->put_Location(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin2::DisplayName() const + template auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin2::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin2)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin2::DisplayName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin2::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin2)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin3::DisplayPicture() const + template auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin3::DisplayPicture() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin3)->get_DisplayPicture(&value)); return winrt::Windows::Storage::StorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin3::DisplayPicture(winrt::Windows::Storage::StorageFile const& value) const + template auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin3::DisplayPicture(winrt::Windows::Storage::StorageFile const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin3)->put_DisplayPicture(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics::IsCurrentAppActiveCallOriginApp() const + template auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics::IsCurrentAppActiveCallOriginApp() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOriginManagerStatics)->get_IsCurrentAppActiveCallOriginApp(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics::ShowPhoneCallOriginSettingsUI() const + template auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics::ShowPhoneCallOriginSettingsUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOriginManagerStatics)->ShowPhoneCallOriginSettingsUI()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics::SetCallOrigin(winrt::guid const& requestId, winrt::Windows::ApplicationModel::Calls::Provider::PhoneCallOrigin const& callOrigin) const + template auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics::SetCallOrigin(winrt::guid const& requestId, winrt::Windows::ApplicationModel::Calls::Provider::PhoneCallOrigin const& callOrigin) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOriginManagerStatics)->SetCallOrigin(impl::bind_in(requestId), *(void**)(&callOrigin))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics2::RequestSetAsActiveCallOriginAppAsync() const + template auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics2::RequestSetAsActiveCallOriginAppAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOriginManagerStatics2)->RequestSetAsActiveCallOriginAppAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics3::IsSupported() const + template auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics3::IsSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOriginManagerStatics3)->get_IsSupported(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.h index c9240bbe..12286096 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Calls_H #define WINRT_Windows_ApplicationModel_Calls_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.ApplicationModel.Contacts.2.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" @@ -16,1133 +16,1133 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Calls.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia) consume_Windows_ApplicationModel_Calls_ICallAnswerEventArgs::AcceptedMedia() const + template auto consume_Windows_ApplicationModel_Calls_ICallAnswerEventArgs::AcceptedMedia() const { winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ICallAnswerEventArgs)->get_AcceptedMedia(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallRejectReason) consume_Windows_ApplicationModel_Calls_ICallRejectEventArgs::RejectReason() const + template auto consume_Windows_ApplicationModel_Calls_ICallRejectEventArgs::RejectReason() const { winrt::Windows::ApplicationModel::Calls::VoipPhoneCallRejectReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ICallRejectEventArgs)->get_RejectReason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallState) consume_Windows_ApplicationModel_Calls_ICallStateChangeEventArgs::State() const + template auto consume_Windows_ApplicationModel_Calls_ICallStateChangeEventArgs::State() const { winrt::Windows::ApplicationModel::Calls::VoipPhoneCallState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ICallStateChangeEventArgs)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_ILockScreenCallEndCallDeferral::Complete() const + template auto consume_Windows_ApplicationModel_Calls_ILockScreenCallEndCallDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ILockScreenCallEndCallDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::LockScreenCallEndCallDeferral) consume_Windows_ApplicationModel_Calls_ILockScreenCallEndRequestedEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Calls_ILockScreenCallEndRequestedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ILockScreenCallEndRequestedEventArgs)->GetDeferral(&value)); return winrt::Windows::ApplicationModel::Calls::LockScreenCallEndCallDeferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Calls_ILockScreenCallEndRequestedEventArgs::Deadline() const + template auto consume_Windows_ApplicationModel_Calls_ILockScreenCallEndRequestedEventArgs::Deadline() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ILockScreenCallEndRequestedEventArgs)->get_Deadline(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::Dismiss() const + template auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::Dismiss() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ILockScreenCallUI)->Dismiss()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::EndRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::EndRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ILockScreenCallUI)->add_EndRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::EndRequested_revoker consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EndRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::EndRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::EndRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ILockScreenCallUI)->remove_EndRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ILockScreenCallUI)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::Closed_revoker consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ILockScreenCallUI)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::CallTitle() const + template auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::CallTitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ILockScreenCallUI)->get_CallTitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::CallTitle(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI::CallTitle(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ILockScreenCallUI)->put_CallTitle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IMuteChangeEventArgs::Muted() const + template auto consume_Windows_ApplicationModel_Calls_IMuteChangeEventArgs::Muted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IMuteChangeEventArgs)->get_Muted(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics::BlockUnknownNumbers() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics::BlockUnknownNumbers() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallBlockingStatics)->get_BlockUnknownNumbers(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics::BlockUnknownNumbers(bool value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics::BlockUnknownNumbers(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallBlockingStatics)->put_BlockUnknownNumbers(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics::BlockPrivateNumbers() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics::BlockPrivateNumbers() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallBlockingStatics)->get_BlockPrivateNumbers(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics::BlockPrivateNumbers(bool value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics::BlockPrivateNumbers(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallBlockingStatics)->put_BlockPrivateNumbers(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics::SetCallBlockingListAsync(param::async_iterable const& phoneNumberList) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics::SetCallBlockingListAsync(param::async_iterable const& phoneNumberList) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallBlockingStatics)->SetCallBlockingListAsync(*(void**)(&phoneNumberList), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::Id() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryAddress) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::Address() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::Address() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_Address(&value)); return winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryAddress{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::Address(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryAddress const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::Address(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryAddress const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_Address(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::Duration() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::Duration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_Duration(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::Duration(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::Duration(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_Duration(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsCallerIdBlocked() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsCallerIdBlocked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_IsCallerIdBlocked(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsCallerIdBlocked(bool value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsCallerIdBlocked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_IsCallerIdBlocked(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsEmergency() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsEmergency() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_IsEmergency(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsEmergency(bool value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsEmergency(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_IsEmergency(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsIncoming() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsIncoming() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_IsIncoming(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsIncoming(bool value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsIncoming(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_IsIncoming(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsMissed() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsMissed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_IsMissed(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsMissed(bool value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsMissed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_IsMissed(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsRinging() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsRinging() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_IsRinging(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsRinging(bool value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsRinging(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_IsRinging(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsSeen() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsSeen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_IsSeen(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsSeen(bool value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsSeen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_IsSeen(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsSuppressed() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsSuppressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_IsSuppressed(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsSuppressed(bool value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsSuppressed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_IsSuppressed(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsVoicemail() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsVoicemail() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_IsVoicemail(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsVoicemail(bool value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::IsVoicemail(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_IsVoicemail(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryMedia) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::Media() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::Media() const { winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryMedia value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_Media(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::Media(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryMedia const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::Media(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryMedia const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_Media(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryOtherAppReadAccess) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::OtherAppReadAccess() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::OtherAppReadAccess() const { winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryOtherAppReadAccess value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_OtherAppReadAccess(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::OtherAppReadAccess(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryOtherAppReadAccess const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::OtherAppReadAccess(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryOtherAppReadAccess const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_OtherAppReadAccess(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::RemoteId() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::RemoteId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_RemoteId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::RemoteId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::RemoteId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_RemoteId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::SourceDisplayName() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::SourceDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_SourceDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::SourceId() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::SourceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_SourceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::SourceId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::SourceId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_SourceId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistorySourceIdKind) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::SourceIdKind() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::SourceIdKind() const { winrt::Windows::ApplicationModel::Calls::PhoneCallHistorySourceIdKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_SourceIdKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::SourceIdKind(winrt::Windows::ApplicationModel::Calls::PhoneCallHistorySourceIdKind const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::SourceIdKind(winrt::Windows::ApplicationModel::Calls::PhoneCallHistorySourceIdKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_SourceIdKind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::StartTime() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::StartTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_StartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::StartTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry::StartTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_StartTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress::ContactId() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress::ContactId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryAddress)->get_ContactId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress::ContactId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress::ContactId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryAddress)->put_ContactId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress::DisplayName() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryAddress)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress::DisplayName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryAddress)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress::RawAddress() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress::RawAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryAddress)->get_RawAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress::RawAddress(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress::RawAddress(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryAddress)->put_RawAddress(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryRawAddressKind) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress::RawAddressKind() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress::RawAddressKind() const { winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryRawAddressKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryAddress)->get_RawAddressKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress::RawAddressKind(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryRawAddressKind const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress::RawAddressKind(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryRawAddressKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryAddress)->put_RawAddressKind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryAddress) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddressFactory::Create(param::hstring const& rawAddress, winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryRawAddressKind const& rawAddressKind) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddressFactory::Create(param::hstring const& rawAddress, winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryRawAddressKind const& rawAddressKind) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryAddressFactory)->Create(*(void**)(&rawAddress), static_cast(rawAddressKind), &result)); return winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryAddress{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryDesiredMedia) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryQueryOptions::DesiredMedia() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryQueryOptions::DesiredMedia() const { winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryDesiredMedia value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryQueryOptions)->get_DesiredMedia(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryQueryOptions::DesiredMedia(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryDesiredMedia const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryQueryOptions::DesiredMedia(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryDesiredMedia const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryQueryOptions)->put_DesiredMedia(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryQueryOptions::SourceIds() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryQueryOptions::SourceIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryQueryOptions)->get_SourceIds(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryReader::ReadBatchAsync() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryReader::ReadBatchAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryReader)->ReadBatchAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerForUser::RequestStoreAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType const& accessType) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerForUser::RequestStoreAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType const& accessType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryManagerForUser)->RequestStoreAsync(static_cast(accessType), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerForUser::User() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerForUser::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryManagerForUser)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerStatics::RequestStoreAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType const& accessType) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerStatics::RequestStoreAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType const& accessType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryManagerStatics)->RequestStoreAsync(static_cast(accessType), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryManagerForUser) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerStatics2::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerStatics2::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryManagerStatics2)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryManagerForUser{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::GetEntryAsync(param::hstring const& callHistoryEntryId) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::GetEntryAsync(param::hstring const& callHistoryEntryId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryStore)->GetEntryAsync(*(void**)(&callHistoryEntryId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryReader) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::GetEntryReader() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::GetEntryReader() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryStore)->GetEntryReader(&result)); return winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryReader) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::GetEntryReader(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryOptions const& queryOptions) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::GetEntryReader(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryOptions const& queryOptions) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryStore)->GetEntryReaderWithOptions(*(void**)(&queryOptions), &result)); return winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::SaveEntryAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry const& callHistoryEntry) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::SaveEntryAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry const& callHistoryEntry) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryStore)->SaveEntryAsync(*(void**)(&callHistoryEntry), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::DeleteEntryAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry const& callHistoryEntry) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::DeleteEntryAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry const& callHistoryEntry) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryStore)->DeleteEntryAsync(*(void**)(&callHistoryEntry), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::DeleteEntriesAsync(param::async_iterable const& callHistoryEntries) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::DeleteEntriesAsync(param::async_iterable const& callHistoryEntries) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryStore)->DeleteEntriesAsync(*(void**)(&callHistoryEntries), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::MarkEntryAsSeenAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry const& callHistoryEntry) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::MarkEntryAsSeenAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry const& callHistoryEntry) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryStore)->MarkEntryAsSeenAsync(*(void**)(&callHistoryEntry), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::MarkEntriesAsSeenAsync(param::async_iterable const& callHistoryEntries) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::MarkEntriesAsSeenAsync(param::async_iterable const& callHistoryEntries) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryStore)->MarkEntriesAsSeenAsync(*(void**)(&callHistoryEntries), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::GetUnseenCountAsync() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::GetUnseenCountAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryStore)->GetUnseenCountAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::MarkAllAsSeenAsync() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::MarkAllAsSeenAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryStore)->MarkAllAsSeenAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::GetSourcesUnseenCountAsync(param::async_iterable const& sourceIds) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::GetSourcesUnseenCountAsync(param::async_iterable const& sourceIds) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryStore)->GetSourcesUnseenCountAsync(*(void**)(&sourceIds), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::MarkSourcesAsSeenAsync(param::async_iterable const& sourceIds) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore::MarkSourcesAsSeenAsync(param::async_iterable const& sourceIds) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryStore)->MarkSourcesAsSeenAsync(*(void**)(&sourceIds), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics::ShowPhoneCallUI(param::hstring const& phoneNumber, param::hstring const& displayName) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics::ShowPhoneCallUI(param::hstring const& phoneNumber, param::hstring const& displayName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics)->ShowPhoneCallUI(*(void**)(&phoneNumber), *(void**)(&displayName))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2::CallStateChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2::CallStateChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2)->add_CallStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2::CallStateChanged_revoker consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2::CallStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2::CallStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, CallStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2::CallStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2::CallStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2)->remove_CallStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2::IsCallActive() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2::IsCallActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2)->get_IsCallActive(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2::IsCallIncoming() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2::IsCallIncoming() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2)->get_IsCallIncoming(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2::ShowPhoneCallSettingsUI() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2::ShowPhoneCallSettingsUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2)->ShowPhoneCallSettingsUI()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2::RequestStoreAsync() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2::RequestStoreAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2)->RequestStoreAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_IPhoneCallStore::IsEmergencyPhoneNumberAsync(param::hstring const& number) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallStore::IsEmergencyPhoneNumberAsync(param::hstring const& number) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallStore)->IsEmergencyPhoneNumberAsync(*(void**)(&number), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_IPhoneCallStore::GetDefaultLineAsync() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallStore::GetDefaultLineAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallStore)->GetDefaultLineAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher) consume_Windows_ApplicationModel_Calls_IPhoneCallStore::RequestLineWatcher() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallStore::RequestLineWatcher() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallStore)->RequestLineWatcher(&result)); return winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallVideoCapabilities::IsVideoCallingCapable() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallVideoCapabilities::IsVideoCallingCapable() const { bool pValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallVideoCapabilities)->get_IsVideoCallingCapable(&pValue)); return pValue; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_IPhoneCallVideoCapabilitiesManagerStatics::GetCapabilitiesAsync(param::hstring const& phoneNumber) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneCallVideoCapabilitiesManagerStatics::GetCapabilitiesAsync(param::hstring const& phoneNumber) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallVideoCapabilitiesManagerStatics)->GetCapabilitiesAsync(*(void**)(&phoneNumber), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::Number() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::Number() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->get_Number(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::Number(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::Number(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->put_Number(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::DisplayName() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::DisplayName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::Contact() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->get_Contact(&value)); return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::Contact(winrt::Windows::ApplicationModel::Contacts::Contact const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::Contact(winrt::Windows::ApplicationModel::Contacts::Contact const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->put_Contact(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactPhone) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::ContactPhone() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::ContactPhone() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->get_ContactPhone(&value)); return winrt::Windows::ApplicationModel::Contacts::ContactPhone{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::ContactPhone(winrt::Windows::ApplicationModel::Contacts::ContactPhone const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::ContactPhone(winrt::Windows::ApplicationModel::Contacts::ContactPhone const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->put_ContactPhone(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallMedia) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::Media() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::Media() const { winrt::Windows::ApplicationModel::Calls::PhoneCallMedia value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->get_Media(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::Media(winrt::Windows::ApplicationModel::Calls::PhoneCallMedia const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::Media(winrt::Windows::ApplicationModel::Calls::PhoneCallMedia const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->put_Media(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneAudioRoutingEndpoint) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::AudioEndpoint() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::AudioEndpoint() const { winrt::Windows::ApplicationModel::Calls::PhoneAudioRoutingEndpoint value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->get_AudioEndpoint(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::AudioEndpoint(winrt::Windows::ApplicationModel::Calls::PhoneAudioRoutingEndpoint const& value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions::AudioEndpoint(winrt::Windows::ApplicationModel::Calls::PhoneAudioRoutingEndpoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->put_AudioEndpoint(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IPhoneLine::LineChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::LineChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->add_LineChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Calls_IPhoneLine::LineChanged_revoker consume_Windows_ApplicationModel_Calls_IPhoneLine::LineChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::LineChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LineChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLine::LineChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::LineChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->remove_LineChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Calls_IPhoneLine::Id() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::Id() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_Id(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_Calls_IPhoneLine::DisplayColor() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::DisplayColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_DisplayColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneNetworkState) consume_Windows_ApplicationModel_Calls_IPhoneLine::NetworkState() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::NetworkState() const { winrt::Windows::ApplicationModel::Calls::PhoneNetworkState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_NetworkState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneLine::DisplayName() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneVoicemail) consume_Windows_ApplicationModel_Calls_IPhoneLine::Voicemail() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::Voicemail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_Voicemail(&value)); return winrt::Windows::ApplicationModel::Calls::PhoneVoicemail{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneLine::NetworkName() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::NetworkName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_NetworkName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineCellularDetails) consume_Windows_ApplicationModel_Calls_IPhoneLine::CellularDetails() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::CellularDetails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_CellularDetails(&value)); return winrt::Windows::ApplicationModel::Calls::PhoneLineCellularDetails{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineTransport) consume_Windows_ApplicationModel_Calls_IPhoneLine::Transport() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::Transport() const { winrt::Windows::ApplicationModel::Calls::PhoneLineTransport value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_Transport(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneLine::CanDial() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::CanDial() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_CanDial(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneLine::SupportsTile() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::SupportsTile() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_SupportsTile(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallVideoCapabilities) consume_Windows_ApplicationModel_Calls_IPhoneLine::VideoCallingCapabilities() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::VideoCallingCapabilities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_VideoCallingCapabilities(&value)); return winrt::Windows::ApplicationModel::Calls::PhoneCallVideoCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineConfiguration) consume_Windows_ApplicationModel_Calls_IPhoneLine::LineConfiguration() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::LineConfiguration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_LineConfiguration(&value)); return winrt::Windows::ApplicationModel::Calls::PhoneLineConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_IPhoneLine::IsImmediateDialNumberAsync(param::hstring const& number) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::IsImmediateDialNumberAsync(param::hstring const& number) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->IsImmediateDialNumberAsync(*(void**)(&number), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLine::Dial(param::hstring const& number, param::hstring const& displayName) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::Dial(param::hstring const& number, param::hstring const& displayName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->Dial(*(void**)(&number), *(void**)(&displayName))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLine::DialWithOptions(winrt::Windows::ApplicationModel::Calls::PhoneDialOptions const& options) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine::DialWithOptions(winrt::Windows::ApplicationModel::Calls::PhoneDialOptions const& options) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->DialWithOptions(*(void**)(&options))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLine2::EnableTextReply(bool value) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine2::EnableTextReply(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine2)->EnableTextReply(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneLine2::TransportDeviceId() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLine2::TransportDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine2)->get_TransportDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneSimState) consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails::SimState() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails::SimState() const { winrt::Windows::ApplicationModel::Calls::PhoneSimState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineCellularDetails)->get_SimState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails::SimSlotIndex() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails::SimSlotIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineCellularDetails)->get_SimSlotIndex(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails::IsModemOn() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails::IsModemOn() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineCellularDetails)->get_IsModemOn(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails::RegistrationRejectCode() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails::RegistrationRejectCode() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineCellularDetails)->get_RegistrationRejectCode(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails::GetNetworkOperatorDisplayText(winrt::Windows::ApplicationModel::Calls::PhoneLineNetworkOperatorDisplayTextLocation const& location) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails::GetNetworkOperatorDisplayText(winrt::Windows::ApplicationModel::Calls::PhoneLineNetworkOperatorDisplayTextLocation const& location) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineCellularDetails)->GetNetworkOperatorDisplayText(static_cast(location), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneLineConfiguration::IsVideoCallingEnabled() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineConfiguration::IsVideoCallingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineConfiguration)->get_IsVideoCallingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_ApplicationModel_Calls_IPhoneLineConfiguration::ExtendedProperties() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineConfiguration::ExtendedProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineConfiguration)->get_ExtendedProperties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_IPhoneLineStatics::FromIdAsync(winrt::guid const& lineId) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineStatics::FromIdAsync(winrt::guid const& lineId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineStatics)->FromIdAsync(impl::bind_in(lineId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::DeviceId() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineTransport) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::Transport() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::Transport() const { winrt::Windows::ApplicationModel::Calls::PhoneLineTransport value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->get_Transport(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::RequestAccessAsync() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::RequestAccessAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->RequestAccessAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::RegisterApp() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::RegisterApp() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->RegisterApp()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::RegisterAppForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::RegisterAppForUser(winrt::Windows::System::User const& user) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->RegisterAppForUser(*(void**)(&user))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::UnregisterApp() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::UnregisterApp() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->UnregisterApp()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::UnregisterAppForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::UnregisterAppForUser(winrt::Windows::System::User const& user) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->UnregisterAppForUser(*(void**)(&user))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::IsRegistered() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::IsRegistered() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->IsRegistered(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::Connect() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::Connect() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->Connect(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::ConnectAsync() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice::ConnectAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->ConnectAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineTransportDevice) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDeviceStatics::FromId(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDeviceStatics::FromId(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDeviceStatics)->FromId(*(void**)(&id), &result)); return winrt::Windows::ApplicationModel::Calls::PhoneLineTransportDevice{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDeviceStatics::GetDeviceSelector() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDeviceStatics::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDeviceStatics)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDeviceStatics::GetDeviceSelector(winrt::Windows::ApplicationModel::Calls::PhoneLineTransport const& transport) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDeviceStatics::GetDeviceSelector(winrt::Windows::ApplicationModel::Calls::PhoneLineTransport const& transport) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDeviceStatics)->GetDeviceSelectorForPhoneLineTransport(static_cast(transport), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::Start() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::Stop() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->Stop()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->add_LineAdded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineAdded_revoker consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LineAdded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineAdded(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineAdded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->remove_LineAdded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->add_LineRemoved(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineRemoved_revoker consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LineRemoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->remove_LineRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->add_LineUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineUpdated_revoker consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LineUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::LineUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->remove_LineUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::EnumerationCompleted_revoker consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->remove_EnumerationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->add_Stopped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::Stopped_revoker consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::Stopped(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::Stopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->remove_Stopped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherStatus) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::Status() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher::Status() const { winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->get_Status(reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcherEventArgs::LineId() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcherEventArgs::LineId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcherEventArgs)->get_LineId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneVoicemail::Number() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneVoicemail::Number() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneVoicemail)->get_Number(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Calls_IPhoneVoicemail::MessageCount() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneVoicemail::MessageCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneVoicemail)->get_MessageCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneVoicemailType) consume_Windows_ApplicationModel_Calls_IPhoneVoicemail::Type() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneVoicemail::Type() const { winrt::Windows::ApplicationModel::Calls::PhoneVoicemailType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneVoicemail)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Calls_IPhoneVoicemail::DialVoicemailAsync() const + template auto consume_Windows_ApplicationModel_Calls_IPhoneVoicemail::DialVoicemailAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneVoicemail)->DialVoicemailAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::ReserveCallResourcesAsync(param::hstring const& taskEntryPoint) const + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::ReserveCallResourcesAsync(param::hstring const& taskEntryPoint) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator)->ReserveCallResourcesAsync(*(void**)(&taskEntryPoint), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::MuteStateChanged(winrt::Windows::Foundation::TypedEventHandler const& muteChangeHandler) const + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::MuteStateChanged(winrt::Windows::Foundation::TypedEventHandler const& muteChangeHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator)->add_MuteStateChanged(*(void**)(&muteChangeHandler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::MuteStateChanged_revoker consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::MuteStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& muteChangeHandler) const + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::MuteStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& muteChangeHandler) const { return impl::make_event_revoker(this, MuteStateChanged(muteChangeHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::MuteStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::MuteStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator)->remove_MuteStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::RequestNewIncomingCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, winrt::Windows::Foundation::Uri const& contactImage, param::hstring const& serviceName, winrt::Windows::Foundation::Uri const& brandingImage, param::hstring const& callDetails, winrt::Windows::Foundation::Uri const& ringtone, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media, winrt::Windows::Foundation::TimeSpan const& ringTimeout) const + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::RequestNewIncomingCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, winrt::Windows::Foundation::Uri const& contactImage, param::hstring const& serviceName, winrt::Windows::Foundation::Uri const& brandingImage, param::hstring const& callDetails, winrt::Windows::Foundation::Uri const& ringtone, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media, winrt::Windows::Foundation::TimeSpan const& ringTimeout) const { void* call{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator)->RequestNewIncomingCall(*(void**)(&context), *(void**)(&contactName), *(void**)(&contactNumber), *(void**)(&contactImage), *(void**)(&serviceName), *(void**)(&brandingImage), *(void**)(&callDetails), *(void**)(&ringtone), static_cast(media), impl::bind_in(ringTimeout), &call)); return winrt::Windows::ApplicationModel::Calls::VoipPhoneCall{ call, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::RequestNewOutgoingCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& serviceName, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::RequestNewOutgoingCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& serviceName, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const { void* call{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator)->RequestNewOutgoingCall(*(void**)(&context), *(void**)(&contactName), *(void**)(&serviceName), static_cast(media), &call)); return winrt::Windows::ApplicationModel::Calls::VoipPhoneCall{ call, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::NotifyMuted() const + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::NotifyMuted() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator)->NotifyMuted()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::NotifyUnmuted() const + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::NotifyUnmuted() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator)->NotifyUnmuted()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::RequestOutgoingUpgradeToVideoCall(winrt::guid const& callUpgradeGuid, param::hstring const& context, param::hstring const& contactName, param::hstring const& serviceName) const + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::RequestOutgoingUpgradeToVideoCall(winrt::guid const& callUpgradeGuid, param::hstring const& context, param::hstring const& contactName, param::hstring const& serviceName) const { void* call{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator)->RequestOutgoingUpgradeToVideoCall(impl::bind_in(callUpgradeGuid), *(void**)(&context), *(void**)(&contactName), *(void**)(&serviceName), &call)); return winrt::Windows::ApplicationModel::Calls::VoipPhoneCall{ call, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::RequestIncomingUpgradeToVideoCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, winrt::Windows::Foundation::Uri const& contactImage, param::hstring const& serviceName, winrt::Windows::Foundation::Uri const& brandingImage, param::hstring const& callDetails, winrt::Windows::Foundation::Uri const& ringtone, winrt::Windows::Foundation::TimeSpan const& ringTimeout) const + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::RequestIncomingUpgradeToVideoCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, winrt::Windows::Foundation::Uri const& contactImage, param::hstring const& serviceName, winrt::Windows::Foundation::Uri const& brandingImage, param::hstring const& callDetails, winrt::Windows::Foundation::Uri const& ringtone, winrt::Windows::Foundation::TimeSpan const& ringTimeout) const { void* call{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator)->RequestIncomingUpgradeToVideoCall(*(void**)(&context), *(void**)(&contactName), *(void**)(&contactNumber), *(void**)(&contactImage), *(void**)(&serviceName), *(void**)(&brandingImage), *(void**)(&callDetails), *(void**)(&ringtone), impl::bind_in(ringTimeout), &call)); return winrt::Windows::ApplicationModel::Calls::VoipPhoneCall{ call, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::TerminateCellularCall(winrt::guid const& callUpgradeGuid) const + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::TerminateCellularCall(winrt::guid const& callUpgradeGuid) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator)->TerminateCellularCall(impl::bind_in(callUpgradeGuid))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::CancelUpgrade(winrt::guid const& callUpgradeGuid) const + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator::CancelUpgrade(winrt::guid const& callUpgradeGuid) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator)->CancelUpgrade(impl::bind_in(callUpgradeGuid))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator2::SetupNewAcceptedCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, param::hstring const& serviceName, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator2::SetupNewAcceptedCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, param::hstring const& serviceName, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const { void* call{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator2)->SetupNewAcceptedCall(*(void**)(&context), *(void**)(&contactName), *(void**)(&contactNumber), *(void**)(&serviceName), static_cast(media), &call)); return winrt::Windows::ApplicationModel::Calls::VoipPhoneCall{ call, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator3::RequestNewAppInitiatedCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, param::hstring const& serviceName, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator3::RequestNewAppInitiatedCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, param::hstring const& serviceName, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const { void* call{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator3)->RequestNewAppInitiatedCall(*(void**)(&context), *(void**)(&contactName), *(void**)(&contactNumber), *(void**)(&serviceName), static_cast(media), &call)); return winrt::Windows::ApplicationModel::Calls::VoipPhoneCall{ call, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator3::RequestNewIncomingCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, winrt::Windows::Foundation::Uri const& contactImage, param::hstring const& serviceName, winrt::Windows::Foundation::Uri const& brandingImage, param::hstring const& callDetails, winrt::Windows::Foundation::Uri const& ringtone, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media, winrt::Windows::Foundation::TimeSpan const& ringTimeout, param::hstring const& contactRemoteId) const + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator3::RequestNewIncomingCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, winrt::Windows::Foundation::Uri const& contactImage, param::hstring const& serviceName, winrt::Windows::Foundation::Uri const& brandingImage, param::hstring const& callDetails, winrt::Windows::Foundation::Uri const& ringtone, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media, winrt::Windows::Foundation::TimeSpan const& ringTimeout, param::hstring const& contactRemoteId) const { void* call{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator3)->RequestNewIncomingCallWithContactRemoteId(*(void**)(&context), *(void**)(&contactName), *(void**)(&contactNumber), *(void**)(&contactImage), *(void**)(&serviceName), *(void**)(&brandingImage), *(void**)(&callDetails), *(void**)(&ringtone), static_cast(media), impl::bind_in(ringTimeout), *(void**)(&contactRemoteId), &call)); return winrt::Windows::ApplicationModel::Calls::VoipPhoneCall{ call, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator4::ReserveCallResourcesAsync() const + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator4::ReserveCallResourcesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator4)->ReserveOneProcessCallResourcesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipCallCoordinator) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinatorStatics::GetDefault() const + template auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinatorStatics::GetDefault() const { void* coordinator{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinatorStatics)->GetDefault(&coordinator)); return winrt::Windows::ApplicationModel::Calls::VoipCallCoordinator{ coordinator, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::EndRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::EndRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->add_EndRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::EndRequested_revoker consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EndRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::EndRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::EndRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->remove_EndRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::HoldRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::HoldRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->add_HoldRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::HoldRequested_revoker consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::HoldRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::HoldRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, HoldRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::HoldRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::HoldRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->remove_HoldRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::ResumeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::ResumeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->add_ResumeRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::ResumeRequested_revoker consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::ResumeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::ResumeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ResumeRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::ResumeRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::ResumeRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->remove_ResumeRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::AnswerRequested(winrt::Windows::Foundation::TypedEventHandler const& acceptHandler) const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::AnswerRequested(winrt::Windows::Foundation::TypedEventHandler const& acceptHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->add_AnswerRequested(*(void**)(&acceptHandler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::AnswerRequested_revoker consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::AnswerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& acceptHandler) const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::AnswerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& acceptHandler) const { return impl::make_event_revoker(this, AnswerRequested(acceptHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::AnswerRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::AnswerRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->remove_AnswerRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::RejectRequested(winrt::Windows::Foundation::TypedEventHandler const& rejectHandler) const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::RejectRequested(winrt::Windows::Foundation::TypedEventHandler const& rejectHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->add_RejectRequested(*(void**)(&rejectHandler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::RejectRequested_revoker consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::RejectRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& rejectHandler) const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::RejectRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& rejectHandler) const { return impl::make_event_revoker(this, RejectRequested(rejectHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::RejectRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::RejectRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->remove_RejectRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::NotifyCallHeld() const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::NotifyCallHeld() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->NotifyCallHeld()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::NotifyCallActive() const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::NotifyCallActive() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->NotifyCallActive()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::NotifyCallEnded() const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::NotifyCallEnded() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->NotifyCallEnded()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::ContactName() const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::ContactName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->get_ContactName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::ContactName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::ContactName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->put_ContactName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::StartTime() const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::StartTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->get_StartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::StartTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::StartTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->put_StartTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::CallMedia() const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::CallMedia() const { winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->get_CallMedia(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::CallMedia(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& value) const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::CallMedia(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->put_CallMedia(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::NotifyCallReady() const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall::NotifyCallReady() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->NotifyCallReady()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall2::TryShowAppUI() const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall2::TryShowAppUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall2)->TryShowAppUI()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall3::NotifyCallAccepted(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const + template auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall3::NotifyCallAccepted(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall3)->NotifyCallAccepted(static_cast(media))); } @@ -2997,10 +2997,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Calls { return impl::call_factory([&](IPhoneCallManagerStatics2 const& f) { return f.CallStateChanged(handler); }); } - inline PhoneCallManager::CallStateChanged_revoker PhoneCallManager::CallStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto PhoneCallManager::CallStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.CallStateChanged(handler) }; + return PhoneCallManager::CallStateChanged_revoker{ f, f.CallStateChanged(handler) }; } inline auto PhoneCallManager::CallStateChanged(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Chat.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Chat.h index 17a811ed..330797bf 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Chat.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Chat.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Chat_H #define WINRT_Windows_ApplicationModel_Chat_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,1361 +15,1361 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Chat.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatCapabilities::IsOnline() const + template auto consume_Windows_ApplicationModel_Chat_IChatCapabilities::IsOnline() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatCapabilities)->get_IsOnline(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatCapabilities::IsChatCapable() const + template auto consume_Windows_ApplicationModel_Chat_IChatCapabilities::IsChatCapable() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatCapabilities)->get_IsChatCapable(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatCapabilities::IsFileTransferCapable() const + template auto consume_Windows_ApplicationModel_Chat_IChatCapabilities::IsFileTransferCapable() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatCapabilities)->get_IsFileTransferCapable(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatCapabilities::IsGeoLocationPushCapable() const + template auto consume_Windows_ApplicationModel_Chat_IChatCapabilities::IsGeoLocationPushCapable() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatCapabilities)->get_IsGeoLocationPushCapable(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatCapabilities::IsIntegratedMessagingCapable() const + template auto consume_Windows_ApplicationModel_Chat_IChatCapabilities::IsIntegratedMessagingCapable() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatCapabilities)->get_IsIntegratedMessagingCapable(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics::GetCachedCapabilitiesAsync(param::hstring const& address) const + template auto consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics::GetCachedCapabilitiesAsync(param::hstring const& address) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatCapabilitiesManagerStatics)->GetCachedCapabilitiesAsync(*(void**)(&address), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics::GetCapabilitiesFromNetworkAsync(param::hstring const& address) const + template auto consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics::GetCapabilitiesFromNetworkAsync(param::hstring const& address) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatCapabilitiesManagerStatics)->GetCapabilitiesFromNetworkAsync(*(void**)(&address), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics2::GetCachedCapabilitiesAsync(param::hstring const& address, param::hstring const& transportId) const + template auto consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics2::GetCachedCapabilitiesAsync(param::hstring const& address, param::hstring const& transportId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatCapabilitiesManagerStatics2)->GetCachedCapabilitiesForTransportAsync(*(void**)(&address), *(void**)(&transportId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics2::GetCapabilitiesFromNetworkAsync(param::hstring const& address, param::hstring const& transportId) const + template auto consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics2::GetCapabilitiesFromNetworkAsync(param::hstring const& address, param::hstring const& transportId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatCapabilitiesManagerStatics2)->GetCapabilitiesFromNetworkForTransportAsync(*(void**)(&address), *(void**)(&transportId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatConversation::HasUnreadMessages() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::HasUnreadMessages() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->get_HasUnreadMessages(&result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatConversation::Id() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::Id() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->get_Id(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatConversation::Subject() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::Subject() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->get_Subject(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversation::Subject(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::Subject(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->put_Subject(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatConversation::IsConversationMuted() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::IsConversationMuted() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->get_IsConversationMuted(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversation::IsConversationMuted(bool value) const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::IsConversationMuted(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->put_IsConversationMuted(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatConversation::MostRecentMessageId() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::MostRecentMessageId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->get_MostRecentMessageId(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Chat_IChatConversation::Participants() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::Participants() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->get_Participants(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo) consume_Windows_ApplicationModel_Chat_IChatConversation::ThreadingInfo() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::ThreadingInfo() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->get_ThreadingInfo(&result)); return winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatConversation::DeleteAsync() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::DeleteAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->DeleteAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageReader) consume_Windows_ApplicationModel_Chat_IChatConversation::GetMessageReader() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::GetMessageReader() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->GetMessageReader(&result)); return winrt::Windows::ApplicationModel::Chat::ChatMessageReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatConversation::MarkMessagesAsReadAsync() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::MarkMessagesAsReadAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->MarkAllMessagesAsReadAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatConversation::MarkMessagesAsReadAsync(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::MarkMessagesAsReadAsync(winrt::Windows::Foundation::DateTime const& value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->MarkMessagesAsReadAsync(impl::bind_in(value), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatConversation::SaveAsync() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::SaveAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->SaveAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversation::NotifyLocalParticipantComposing(param::hstring const& transportId, param::hstring const& participantAddress, bool isComposing) const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::NotifyLocalParticipantComposing(param::hstring const& transportId, param::hstring const& participantAddress, bool isComposing) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->NotifyLocalParticipantComposing(*(void**)(&transportId), *(void**)(&participantAddress), isComposing)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversation::NotifyRemoteParticipantComposing(param::hstring const& transportId, param::hstring const& participantAddress, bool isComposing) const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::NotifyRemoteParticipantComposing(param::hstring const& transportId, param::hstring const& participantAddress, bool isComposing) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->NotifyRemoteParticipantComposing(*(void**)(&transportId), *(void**)(&participantAddress), isComposing)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Chat_IChatConversation::RemoteParticipantComposingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::RemoteParticipantComposingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->add_RemoteParticipantComposingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Chat_IChatConversation::RemoteParticipantComposingChanged_revoker consume_Windows_ApplicationModel_Chat_IChatConversation::RemoteParticipantComposingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::RemoteParticipantComposingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RemoteParticipantComposingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversation::RemoteParticipantComposingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Chat_IChatConversation::RemoteParticipantComposingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->remove_RemoteParticipantComposingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatConversation2::CanModifyParticipants() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation2::CanModifyParticipants() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation2)->get_CanModifyParticipants(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversation2::CanModifyParticipants(bool value) const + template auto consume_Windows_ApplicationModel_Chat_IChatConversation2::CanModifyParticipants(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation2)->put_CanModifyParticipants(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Chat_IChatConversationReader::ReadBatchAsync() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversationReader::ReadBatchAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationReader)->ReadBatchAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Chat_IChatConversationReader::ReadBatchAsync(int32_t count) const + template auto consume_Windows_ApplicationModel_Chat_IChatConversationReader::ReadBatchAsync(int32_t count) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationReader)->ReadBatchWithCountAsync(count, &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::ContactId() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::ContactId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationThreadingInfo)->get_ContactId(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::ContactId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::ContactId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationThreadingInfo)->put_ContactId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::Custom() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::Custom() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationThreadingInfo)->get_Custom(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::Custom(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::Custom(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationThreadingInfo)->put_Custom(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::ConversationId() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::ConversationId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationThreadingInfo)->get_ConversationId(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::ConversationId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::ConversationId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationThreadingInfo)->put_ConversationId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::Participants() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::Participants() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationThreadingInfo)->get_Participants(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingKind) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::Kind() const + template auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::Kind() const { winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingKind result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationThreadingInfo)->get_Kind(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::Kind(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingKind const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo::Kind(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationThreadingInfo)->put_Kind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatItemKind) consume_Windows_ApplicationModel_Chat_IChatItem::ItemKind() const + template auto consume_Windows_ApplicationModel_Chat_IChatItem::ItemKind() const { winrt::Windows::ApplicationModel::Chat::ChatItemKind result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatItem)->get_ItemKind(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Chat_IChatMessage::Attachments() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::Attachments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_Attachments(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessage::Body() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::Body() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_Body(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage::Body(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::Body(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->put_Body(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessage::From() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::From() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_From(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessage::Id() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage::IsForwardingDisabled() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::IsForwardingDisabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_IsForwardingDisabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage::IsIncoming() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::IsIncoming() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_IsIncoming(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage::IsRead() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::IsRead() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_IsRead(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Chat_IChatMessage::LocalTimestamp() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::LocalTimestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_LocalTimestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Chat_IChatMessage::NetworkTimestamp() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::NetworkTimestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_NetworkTimestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Chat_IChatMessage::Recipients() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::Recipients() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_Recipients(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_ApplicationModel_Chat_IChatMessage::RecipientSendStatuses() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::RecipientSendStatuses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_RecipientSendStatuses(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageStatus) consume_Windows_ApplicationModel_Chat_IChatMessage::Status() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::Status() const { winrt::Windows::ApplicationModel::Chat::ChatMessageStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessage::Subject() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessage::TransportFriendlyName() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::TransportFriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_TransportFriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessage::TransportId() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::TransportId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_TransportId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage::TransportId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage::TransportId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->put_TransportId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Chat_IChatMessage2::EstimatedDownloadSize() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::EstimatedDownloadSize() const { uint64_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_EstimatedDownloadSize(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::EstimatedDownloadSize(uint64_t value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::EstimatedDownloadSize(uint64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_EstimatedDownloadSize(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::From(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::From(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_From(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage2::IsAutoReply() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::IsAutoReply() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_IsAutoReply(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::IsAutoReply(bool value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::IsAutoReply(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_IsAutoReply(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::IsForwardingDisabled(bool value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::IsForwardingDisabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_IsForwardingDisabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage2::IsReplyDisabled() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::IsReplyDisabled() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_IsReplyDisabled(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::IsIncoming(bool value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::IsIncoming(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_IsIncoming(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::IsRead(bool value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::IsRead(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_IsRead(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage2::IsSeen() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::IsSeen() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_IsSeen(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::IsSeen(bool value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::IsSeen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_IsSeen(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage2::IsSimMessage() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::IsSimMessage() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_IsSimMessage(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::LocalTimestamp(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::LocalTimestamp(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_LocalTimestamp(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageKind) consume_Windows_ApplicationModel_Chat_IChatMessage2::MessageKind() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::MessageKind() const { winrt::Windows::ApplicationModel::Chat::ChatMessageKind result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_MessageKind(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::MessageKind(winrt::Windows::ApplicationModel::Chat::ChatMessageKind const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::MessageKind(winrt::Windows::ApplicationModel::Chat::ChatMessageKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_MessageKind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageOperatorKind) consume_Windows_ApplicationModel_Chat_IChatMessage2::MessageOperatorKind() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::MessageOperatorKind() const { winrt::Windows::ApplicationModel::Chat::ChatMessageOperatorKind result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_MessageOperatorKind(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::MessageOperatorKind(winrt::Windows::ApplicationModel::Chat::ChatMessageOperatorKind const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::MessageOperatorKind(winrt::Windows::ApplicationModel::Chat::ChatMessageOperatorKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_MessageOperatorKind(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::NetworkTimestamp(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::NetworkTimestamp(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_NetworkTimestamp(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage2::IsReceivedDuringQuietHours() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::IsReceivedDuringQuietHours() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_IsReceivedDuringQuietHours(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::IsReceivedDuringQuietHours(bool value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::IsReceivedDuringQuietHours(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_IsReceivedDuringQuietHours(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::RemoteId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::RemoteId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_RemoteId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::Status(winrt::Windows::ApplicationModel::Chat::ChatMessageStatus const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::Status(winrt::Windows::ApplicationModel::Chat::ChatMessageStatus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_Status(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::Subject(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::Subject(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_Subject(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage2::ShouldSuppressNotification() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::ShouldSuppressNotification() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_ShouldSuppressNotification(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::ShouldSuppressNotification(bool value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::ShouldSuppressNotification(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_ShouldSuppressNotification(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo) consume_Windows_ApplicationModel_Chat_IChatMessage2::ThreadingInfo() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::ThreadingInfo() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_ThreadingInfo(&result)); return winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2::ThreadingInfo(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::ThreadingInfo(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_ThreadingInfo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Chat_IChatMessage2::RecipientsDeliveryInfos() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage2::RecipientsDeliveryInfos() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_RecipientsDeliveryInfos(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessage3::RemoteId() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage3::RemoteId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage3)->get_RemoteId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessage4::SyncId() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage4::SyncId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage4)->get_SyncId(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage4::SyncId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessage4::SyncId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage4)->put_SyncId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment::DataStreamReference() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment::DataStreamReference() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment)->get_DataStreamReference(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment::DataStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment::DataStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment)->put_DataStreamReference(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment::GroupId() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment::GroupId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment)->get_GroupId(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment::GroupId(uint32_t value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment::GroupId(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment)->put_GroupId(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment::MimeType() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment::MimeType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment)->get_MimeType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment::MimeType(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment::MimeType(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment)->put_MimeType(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment::Text() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment::Text(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2::Thumbnail() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2::Thumbnail() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment2)->get_Thumbnail(&result)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2::Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2::Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment2)->put_Thumbnail(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2::TransferProgress() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2::TransferProgress() const { double result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment2)->get_TransferProgress(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2::TransferProgress(double value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2::TransferProgress(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment2)->put_TransferProgress(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2::OriginalFileName() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2::OriginalFileName() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment2)->get_OriginalFileName(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2::OriginalFileName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2::OriginalFileName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment2)->put_OriginalFileName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageAttachment) consume_Windows_ApplicationModel_Chat_IChatMessageAttachmentFactory::CreateChatMessageAttachment(param::hstring const& mimeType, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& dataStreamReference) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachmentFactory::CreateChatMessageAttachment(param::hstring const& mimeType, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& dataStreamReference) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachmentFactory)->CreateChatMessageAttachment(*(void**)(&mimeType), *(void**)(&dataStreamReference), &value)); return winrt::Windows::ApplicationModel::Chat::ChatMessageAttachment{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageBlockingStatic::MarkMessageAsBlockedAsync(param::hstring const& localChatMessageId, bool blocked) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageBlockingStatic::MarkMessageAsBlockedAsync(param::hstring const& localChatMessageId, bool blocked) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageBlockingStatic)->MarkMessageAsBlockedAsync(*(void**)(&localChatMessageId), blocked, &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageChangeType) consume_Windows_ApplicationModel_Chat_IChatMessageChange::ChangeType() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageChange::ChangeType() const { winrt::Windows::ApplicationModel::Chat::ChatMessageChangeType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChange)->get_ChangeType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessage) consume_Windows_ApplicationModel_Chat_IChatMessageChange::Message() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageChange::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChange)->get_Message(&value)); return winrt::Windows::ApplicationModel::Chat::ChatMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageChangeReader::AcceptChanges() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageChangeReader::AcceptChanges() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChangeReader)->AcceptChanges()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageChangeReader::AcceptChangesThrough(winrt::Windows::ApplicationModel::Chat::ChatMessageChange const& lastChangeToAcknowledge) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageChangeReader::AcceptChangesThrough(winrt::Windows::ApplicationModel::Chat::ChatMessageChange const& lastChangeToAcknowledge) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChangeReader)->AcceptChangesThrough(*(void**)(&lastChangeToAcknowledge))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Chat_IChatMessageChangeReader::ReadBatchAsync() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageChangeReader::ReadBatchAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChangeReader)->ReadBatchAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageChangeTracker::Enable() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageChangeTracker::Enable() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChangeTracker)->Enable()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageChangeReader) consume_Windows_ApplicationModel_Chat_IChatMessageChangeTracker::GetChangeReader() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageChangeTracker::GetChangeReader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChangeTracker)->GetChangeReader(&value)); return winrt::Windows::ApplicationModel::Chat::ChatMessageChangeReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageChangeTracker::Reset() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageChangeTracker::Reset() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChangeTracker)->Reset()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageChangedDeferral::Complete() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageChangedDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChangedDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageChangedDeferral) consume_Windows_ApplicationModel_Chat_IChatMessageChangedEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageChangedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChangedEventArgs)->GetDeferral(&result)); return winrt::Windows::ApplicationModel::Chat::ChatMessageChangedDeferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatMessageManager2Statics::RegisterTransportAsync() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageManager2Statics::RegisterTransportAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageManager2Statics)->RegisterTransportAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatMessageManager2Statics::GetTransportAsync(param::hstring const& transportId) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageManager2Statics::GetTransportAsync(param::hstring const& transportId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageManager2Statics)->GetTransportAsync(*(void**)(&transportId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic::GetTransportsAsync() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic::GetTransportsAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageManagerStatic)->GetTransportsAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic::RequestStoreAsync() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic::RequestStoreAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageManagerStatic)->RequestStoreAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic::ShowComposeSmsMessageAsync(winrt::Windows::ApplicationModel::Chat::ChatMessage const& message) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic::ShowComposeSmsMessageAsync(winrt::Windows::ApplicationModel::Chat::ChatMessage const& message) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageManagerStatic)->ShowComposeSmsMessageAsync(*(void**)(&message), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic::ShowSmsSettings() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic::ShowSmsSettings() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageManagerStatic)->ShowSmsSettings()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatics3::RequestSyncManagerAsync() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatics3::RequestSyncManagerAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageManagerStatics3)->RequestSyncManagerAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessage) consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails::ChatMessage() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails::ChatMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageNotificationTriggerDetails)->get_ChatMessage(&value)); return winrt::Windows::ApplicationModel::Chat::ChatMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2::ShouldDisplayToast() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2::ShouldDisplayToast() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageNotificationTriggerDetails2)->get_ShouldDisplayToast(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2::ShouldUpdateDetailText() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2::ShouldUpdateDetailText() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageNotificationTriggerDetails2)->get_ShouldUpdateDetailText(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2::ShouldUpdateBadge() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2::ShouldUpdateBadge() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageNotificationTriggerDetails2)->get_ShouldUpdateBadge(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2::ShouldUpdateActionCenter() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2::ShouldUpdateActionCenter() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageNotificationTriggerDetails2)->get_ShouldUpdateActionCenter(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Chat_IChatMessageReader::ReadBatchAsync() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageReader::ReadBatchAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageReader)->ReadBatchAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Chat_IChatMessageReader2::ReadBatchAsync(int32_t count) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageReader2::ReadBatchAsync(int32_t count) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageReader2)->ReadBatchWithCountAsync(count, &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageChangeTracker) consume_Windows_ApplicationModel_Chat_IChatMessageStore::ChangeTracker() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore::ChangeTracker() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore)->get_ChangeTracker(&value)); return winrt::Windows::ApplicationModel::Chat::ChatMessageChangeTracker{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageStore::DeleteMessageAsync(param::hstring const& localMessageId) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore::DeleteMessageAsync(param::hstring const& localMessageId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore)->DeleteMessageAsync(*(void**)(&localMessageId), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageStore::DownloadMessageAsync(param::hstring const& localChatMessageId) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore::DownloadMessageAsync(param::hstring const& localChatMessageId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore)->DownloadMessageAsync(*(void**)(&localChatMessageId), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatMessageStore::GetMessageAsync(param::hstring const& localChatMessageId) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore::GetMessageAsync(param::hstring const& localChatMessageId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore)->GetMessageAsync(*(void**)(&localChatMessageId), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageReader) consume_Windows_ApplicationModel_Chat_IChatMessageStore::GetMessageReader() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore::GetMessageReader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore)->GetMessageReader1(&value)); return winrt::Windows::ApplicationModel::Chat::ChatMessageReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageReader) consume_Windows_ApplicationModel_Chat_IChatMessageStore::GetMessageReader(winrt::Windows::Foundation::TimeSpan const& recentTimeLimit) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore::GetMessageReader(winrt::Windows::Foundation::TimeSpan const& recentTimeLimit) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore)->GetMessageReader2(impl::bind_in(recentTimeLimit), &value)); return winrt::Windows::ApplicationModel::Chat::ChatMessageReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageStore::MarkMessageReadAsync(param::hstring const& localChatMessageId) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore::MarkMessageReadAsync(param::hstring const& localChatMessageId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore)->MarkMessageReadAsync(*(void**)(&localChatMessageId), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageStore::RetrySendMessageAsync(param::hstring const& localChatMessageId) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore::RetrySendMessageAsync(param::hstring const& localChatMessageId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore)->RetrySendMessageAsync(*(void**)(&localChatMessageId), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageStore::SendMessageAsync(winrt::Windows::ApplicationModel::Chat::ChatMessage const& chatMessage) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore::SendMessageAsync(winrt::Windows::ApplicationModel::Chat::ChatMessage const& chatMessage) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore)->SendMessageAsync(*(void**)(&chatMessage), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageValidationResult) consume_Windows_ApplicationModel_Chat_IChatMessageStore::ValidateMessage(winrt::Windows::ApplicationModel::Chat::ChatMessage const& chatMessage) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore::ValidateMessage(winrt::Windows::ApplicationModel::Chat::ChatMessage const& chatMessage) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore)->ValidateMessage(*(void**)(&chatMessage), &value)); return winrt::Windows::ApplicationModel::Chat::ChatMessageValidationResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Chat_IChatMessageStore::MessageChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore::MessageChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore)->add_MessageChanged(*(void**)(&value), put_abi(returnValue))); return returnValue; } - template typename consume_Windows_ApplicationModel_Chat_IChatMessageStore::MessageChanged_revoker consume_Windows_ApplicationModel_Chat_IChatMessageStore::MessageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore::MessageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, MessageChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageStore::MessageChanged(winrt::event_token const& value) const noexcept + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore::MessageChanged(winrt::event_token const& value) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore)->remove_MessageChanged(impl::bind_in(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::ForwardMessageAsync(param::hstring const& localChatMessageId, param::async_iterable const& addresses) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::ForwardMessageAsync(param::hstring const& localChatMessageId, param::async_iterable const& addresses) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->ForwardMessageAsync(*(void**)(&localChatMessageId), *(void**)(&addresses), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetConversationAsync(param::hstring const& conversationId) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetConversationAsync(param::hstring const& conversationId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->GetConversationAsync(*(void**)(&conversationId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetConversationAsync(param::hstring const& conversationId, param::async_iterable const& transportIds) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetConversationAsync(param::hstring const& conversationId, param::async_iterable const& transportIds) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->GetConversationForTransportsAsync(*(void**)(&conversationId), *(void**)(&transportIds), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetConversationFromThreadingInfoAsync(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo const& threadingInfo) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetConversationFromThreadingInfoAsync(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo const& threadingInfo) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->GetConversationFromThreadingInfoAsync(*(void**)(&threadingInfo), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatConversationReader) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetConversationReader() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetConversationReader() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->GetConversationReader(&result)); return winrt::Windows::ApplicationModel::Chat::ChatConversationReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatConversationReader) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetConversationReader(param::iterable const& transportIds) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetConversationReader(param::iterable const& transportIds) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->GetConversationForTransportsReader(*(void**)(&transportIds), &result)); return winrt::Windows::ApplicationModel::Chat::ChatConversationReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetMessageByRemoteIdAsync(param::hstring const& transportId, param::hstring const& remoteId) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetMessageByRemoteIdAsync(param::hstring const& transportId, param::hstring const& remoteId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->GetMessageByRemoteIdAsync(*(void**)(&transportId), *(void**)(&remoteId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetUnseenCountAsync() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetUnseenCountAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->GetUnseenCountAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetUnseenCountAsync(param::async_iterable const& transportIds) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetUnseenCountAsync(param::async_iterable const& transportIds) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->GetUnseenCountForTransportsReaderAsync(*(void**)(&transportIds), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::MarkAsSeenAsync() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::MarkAsSeenAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->MarkAsSeenAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::MarkAsSeenAsync(param::async_iterable const& transportIds) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::MarkAsSeenAsync(param::async_iterable const& transportIds) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->MarkAsSeenForTransportsAsync(*(void**)(&transportIds), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatSearchReader) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetSearchReader(winrt::Windows::ApplicationModel::Chat::ChatQueryOptions const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::GetSearchReader(winrt::Windows::ApplicationModel::Chat::ChatQueryOptions const& value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->GetSearchReader(*(void**)(&value), &result)); return winrt::Windows::ApplicationModel::Chat::ChatSearchReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::SaveMessageAsync(winrt::Windows::ApplicationModel::Chat::ChatMessage const& chatMessage) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::SaveMessageAsync(winrt::Windows::ApplicationModel::Chat::ChatMessage const& chatMessage) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->SaveMessageAsync(*(void**)(&chatMessage), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::TryCancelDownloadMessageAsync(param::hstring const& localChatMessageId) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::TryCancelDownloadMessageAsync(param::hstring const& localChatMessageId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->TryCancelDownloadMessageAsync(*(void**)(&localChatMessageId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::TryCancelSendMessageAsync(param::hstring const& localChatMessageId) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::TryCancelSendMessageAsync(param::hstring const& localChatMessageId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->TryCancelSendMessageAsync(*(void**)(&localChatMessageId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::StoreChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::StoreChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->add_StoreChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Chat_IChatMessageStore2::StoreChanged_revoker consume_Windows_ApplicationModel_Chat_IChatMessageStore2::StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StoreChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageStore2::StoreChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2::StoreChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->remove_StoreChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IChatMessageStore3::GetMessageBySyncIdAsync(param::hstring const& syncId) const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStore3::GetMessageBySyncIdAsync(param::hstring const& syncId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore3)->GetMessageBySyncIdAsync(*(void**)(&syncId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessageStoreChangedEventArgs::Id() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStoreChangedEventArgs::Id() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStoreChangedEventArgs)->get_Id(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatStoreChangedEventKind) consume_Windows_ApplicationModel_Chat_IChatMessageStoreChangedEventArgs::Kind() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageStoreChangedEventArgs::Kind() const { winrt::Windows::ApplicationModel::Chat::ChatStoreChangedEventKind result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStoreChangedEventArgs)->get_Kind(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessageTransport::IsAppSetAsNotificationProvider() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageTransport::IsAppSetAsNotificationProvider() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransport)->get_IsAppSetAsNotificationProvider(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessageTransport::IsActive() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageTransport::IsActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransport)->get_IsActive(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessageTransport::TransportFriendlyName() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageTransport::TransportFriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransport)->get_TransportFriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessageTransport::TransportId() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageTransport::TransportId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransport)->get_TransportId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageTransport::RequestSetAsNotificationProviderAsync() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageTransport::RequestSetAsNotificationProviderAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransport)->RequestSetAsNotificationProviderAsync(&value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageTransportConfiguration) consume_Windows_ApplicationModel_Chat_IChatMessageTransport2::Configuration() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageTransport2::Configuration() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransport2)->get_Configuration(&result)); return winrt::Windows::ApplicationModel::Chat::ChatMessageTransportConfiguration{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageTransportKind) consume_Windows_ApplicationModel_Chat_IChatMessageTransport2::TransportKind() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageTransport2::TransportKind() const { winrt::Windows::ApplicationModel::Chat::ChatMessageTransportKind result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransport2)->get_TransportKind(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration::MaxAttachmentCount() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration::MaxAttachmentCount() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransportConfiguration)->get_MaxAttachmentCount(&result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration::MaxMessageSizeInKilobytes() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration::MaxMessageSizeInKilobytes() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransportConfiguration)->get_MaxMessageSizeInKilobytes(&result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration::MaxRecipientCount() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration::MaxRecipientCount() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransportConfiguration)->get_MaxRecipientCount(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration::SupportedVideoFormat() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration::SupportedVideoFormat() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransportConfiguration)->get_SupportedVideoFormat(&result)); return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration::ExtendedProperties() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration::ExtendedProperties() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransportConfiguration)->get_ExtendedProperties(&result)); return winrt::Windows::Foundation::Collections::IMapView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult::MaxPartCount() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult::MaxPartCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageValidationResult)->get_MaxPartCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult::PartCount() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult::PartCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageValidationResult)->get_PartCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult::RemainingCharacterCountInPart() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult::RemainingCharacterCountInPart() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageValidationResult)->get_RemainingCharacterCountInPart(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageValidationStatus) consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult::Status() const + template auto consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult::Status() const { winrt::Windows::ApplicationModel::Chat::ChatMessageValidationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageValidationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatQueryOptions::SearchString() const + template auto consume_Windows_ApplicationModel_Chat_IChatQueryOptions::SearchString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatQueryOptions)->get_SearchString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatQueryOptions::SearchString(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatQueryOptions::SearchString(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatQueryOptions)->put_SearchString(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::TransportAddress() const + template auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::TransportAddress() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->get_TransportAddress(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::TransportAddress(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::TransportAddress(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->put_TransportAddress(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::DeliveryTime() const + template auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::DeliveryTime() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->get_DeliveryTime(&result)); return winrt::Windows::Foundation::IReference{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::DeliveryTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::DeliveryTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->put_DeliveryTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::ReadTime() const + template auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::ReadTime() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->get_ReadTime(&result)); return winrt::Windows::Foundation::IReference{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::ReadTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::ReadTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->put_ReadTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatTransportErrorCodeCategory) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::TransportErrorCodeCategory() const + template auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::TransportErrorCodeCategory() const { winrt::Windows::ApplicationModel::Chat::ChatTransportErrorCodeCategory result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->get_TransportErrorCodeCategory(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatTransportInterpretedErrorCode) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::TransportInterpretedErrorCode() const + template auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::TransportInterpretedErrorCode() const { winrt::Windows::ApplicationModel::Chat::ChatTransportInterpretedErrorCode result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->get_TransportInterpretedErrorCode(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::TransportErrorCode() const + template auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::TransportErrorCode() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->get_TransportErrorCode(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::IsErrorPermanent() const + template auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::IsErrorPermanent() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->get_IsErrorPermanent(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageStatus) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::Status() const + template auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo::Status() const { winrt::Windows::ApplicationModel::Chat::ChatMessageStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->get_Status(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Chat_IChatSearchReader::ReadBatchAsync() const + template auto consume_Windows_ApplicationModel_Chat_IChatSearchReader::ReadBatchAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSearchReader)->ReadBatchAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Chat_IChatSearchReader::ReadBatchAsync(int32_t count) const + template auto consume_Windows_ApplicationModel_Chat_IChatSearchReader::ReadBatchAsync(int32_t count) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSearchReader)->ReadBatchWithCountAsync(count, &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration::IsSyncEnabled() const + template auto consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration::IsSyncEnabled() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSyncConfiguration)->get_IsSyncEnabled(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration::IsSyncEnabled(bool value) const + template auto consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration::IsSyncEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSyncConfiguration)->put_IsSyncEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatRestoreHistorySpan) consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration::RestoreHistorySpan() const + template auto consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration::RestoreHistorySpan() const { winrt::Windows::ApplicationModel::Chat::ChatRestoreHistorySpan result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSyncConfiguration)->get_RestoreHistorySpan(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration::RestoreHistorySpan(winrt::Windows::ApplicationModel::Chat::ChatRestoreHistorySpan const& value) const + template auto consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration::RestoreHistorySpan(winrt::Windows::ApplicationModel::Chat::ChatRestoreHistorySpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSyncConfiguration)->put_RestoreHistorySpan(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatSyncConfiguration) consume_Windows_ApplicationModel_Chat_IChatSyncManager::Configuration() const + template auto consume_Windows_ApplicationModel_Chat_IChatSyncManager::Configuration() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSyncManager)->get_Configuration(&result)); return winrt::Windows::ApplicationModel::Chat::ChatSyncConfiguration{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatSyncManager::AssociateAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const + template auto consume_Windows_ApplicationModel_Chat_IChatSyncManager::AssociateAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSyncManager)->AssociateAccountAsync(*(void**)(&webAccount), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatSyncManager::UnassociateAccountAsync() const + template auto consume_Windows_ApplicationModel_Chat_IChatSyncManager::UnassociateAccountAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSyncManager)->UnassociateAccountAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatSyncManager::IsAccountAssociated(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const + template auto consume_Windows_ApplicationModel_Chat_IChatSyncManager::IsAccountAssociated(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSyncManager)->IsAccountAssociated(*(void**)(&webAccount), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatSyncManager::StartSync() const + template auto consume_Windows_ApplicationModel_Chat_IChatSyncManager::StartSync() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSyncManager)->StartSync()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatSyncManager::SetConfigurationAsync(winrt::Windows::ApplicationModel::Chat::ChatSyncConfiguration const& configuration) const + template auto consume_Windows_ApplicationModel_Chat_IChatSyncManager::SetConfigurationAsync(winrt::Windows::ApplicationModel::Chat::ChatSyncConfiguration const& configuration) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSyncManager)->SetConfigurationAsync(*(void**)(&configuration), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage::TransportId() const + template auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage::TransportId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessage)->get_TransportId(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage::Title() const + template auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage::Title() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessage)->get_Title(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage::Text() const + template auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage::Text() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessage)->get_Text(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage::IsPinRequired() const + template auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage::IsPinRequired() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessage)->get_IsPinRequired(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage::Actions() const + template auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage::Actions() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessage)->get_Actions(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage::SendResponseAsync(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAction const& action) const + template auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage::SendResponseAsync(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAction const& action) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessage)->SendResponseAsync(*(void**)(&action), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage::SendResponseWithPinAsync(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAction const& action, param::hstring const& pin) const + template auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage::SendResponseWithPinAsync(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAction const& action, param::hstring const& pin) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessage)->SendResponseWithPinAsync(*(void**)(&action), *(void**)(&pin), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAction::Label() const + template auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAction::Label() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessageAction)->get_Label(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableEventArgs::IsMessageAvailable() const + template auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableEventArgs::IsMessageAvailable() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessageAvailableEventArgs)->get_IsMessageAvailable(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessage) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableEventArgs::Message() const + template auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableEventArgs::Message() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessageAvailableEventArgs)->get_Message(&result)); return winrt::Windows::ApplicationModel::Chat::RcsEndUserMessage{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableTriggerDetails::Title() const + template auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableTriggerDetails::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessageAvailableTriggerDetails)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableTriggerDetails::Text() const + template auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableTriggerDetails::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessageAvailableTriggerDetails)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageManager::MessageAvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageManager::MessageAvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessageManager)->add_MessageAvailableChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageManager::MessageAvailableChanged_revoker consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageManager::MessageAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageManager::MessageAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MessageAvailableChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageManager::MessageAvailableChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageManager::MessageAvailableChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessageManager)->remove_MessageAvailableChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageManager) consume_Windows_ApplicationModel_Chat_IRcsManagerStatics::GetEndUserMessageManager() const + template auto consume_Windows_ApplicationModel_Chat_IRcsManagerStatics::GetEndUserMessageManager() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsManagerStatics)->GetEndUserMessageManager(&result)); return winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Chat_IRcsManagerStatics::GetTransportsAsync() const + template auto consume_Windows_ApplicationModel_Chat_IRcsManagerStatics::GetTransportsAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsManagerStatics)->GetTransportsAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Chat_IRcsManagerStatics::GetTransportAsync(param::hstring const& transportId) const + template auto consume_Windows_ApplicationModel_Chat_IRcsManagerStatics::GetTransportAsync(param::hstring const& transportId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsManagerStatics)->GetTransportAsync(*(void**)(&transportId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IRcsManagerStatics::LeaveConversationAsync(winrt::Windows::ApplicationModel::Chat::ChatConversation const& conversation) const + template auto consume_Windows_ApplicationModel_Chat_IRcsManagerStatics::LeaveConversationAsync(winrt::Windows::ApplicationModel::Chat::ChatConversation const& conversation) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsManagerStatics)->LeaveConversationAsync(*(void**)(&conversation), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Chat_IRcsManagerStatics2::TransportListChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Chat_IRcsManagerStatics2::TransportListChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsManagerStatics2)->add_TransportListChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Chat_IRcsManagerStatics2::TransportListChanged_revoker consume_Windows_ApplicationModel_Chat_IRcsManagerStatics2::TransportListChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Chat_IRcsManagerStatics2::TransportListChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, TransportListChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IRcsManagerStatics2::TransportListChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Chat_IRcsManagerStatics2::TransportListChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsManagerStatics2)->remove_TransportListChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::RcsServiceKind) consume_Windows_ApplicationModel_Chat_IRcsServiceKindSupportedChangedEventArgs::ServiceKind() const + template auto consume_Windows_ApplicationModel_Chat_IRcsServiceKindSupportedChangedEventArgs::ServiceKind() const { winrt::Windows::ApplicationModel::Chat::RcsServiceKind result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsServiceKindSupportedChangedEventArgs)->get_ServiceKind(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_ApplicationModel_Chat_IRcsTransport::ExtendedProperties() const + template auto consume_Windows_ApplicationModel_Chat_IRcsTransport::ExtendedProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransport)->get_ExtendedProperties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IRcsTransport::IsActive() const + template auto consume_Windows_ApplicationModel_Chat_IRcsTransport::IsActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransport)->get_IsActive(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRcsTransport::TransportFriendlyName() const + template auto consume_Windows_ApplicationModel_Chat_IRcsTransport::TransportFriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransport)->get_TransportFriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRcsTransport::TransportId() const + template auto consume_Windows_ApplicationModel_Chat_IRcsTransport::TransportId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransport)->get_TransportId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::RcsTransportConfiguration) consume_Windows_ApplicationModel_Chat_IRcsTransport::Configuration() const + template auto consume_Windows_ApplicationModel_Chat_IRcsTransport::Configuration() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransport)->get_Configuration(&result)); return winrt::Windows::ApplicationModel::Chat::RcsTransportConfiguration{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IRcsTransport::IsStoreAndForwardEnabled(winrt::Windows::ApplicationModel::Chat::RcsServiceKind const& serviceKind) const + template auto consume_Windows_ApplicationModel_Chat_IRcsTransport::IsStoreAndForwardEnabled(winrt::Windows::ApplicationModel::Chat::RcsServiceKind const& serviceKind) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransport)->IsStoreAndForwardEnabled(static_cast(serviceKind), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IRcsTransport::IsServiceKindSupported(winrt::Windows::ApplicationModel::Chat::RcsServiceKind const& serviceKind) const + template auto consume_Windows_ApplicationModel_Chat_IRcsTransport::IsServiceKindSupported(winrt::Windows::ApplicationModel::Chat::RcsServiceKind const& serviceKind) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransport)->IsServiceKindSupported(static_cast(serviceKind), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Chat_IRcsTransport::ServiceKindSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Chat_IRcsTransport::ServiceKindSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransport)->add_ServiceKindSupportedChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Chat_IRcsTransport::ServiceKindSupportedChanged_revoker consume_Windows_ApplicationModel_Chat_IRcsTransport::ServiceKindSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Chat_IRcsTransport::ServiceKindSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ServiceKindSupportedChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IRcsTransport::ServiceKindSupportedChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Chat_IRcsTransport::ServiceKindSupportedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransport)->remove_ServiceKindSupportedChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration::MaxAttachmentCount() const + template auto consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration::MaxAttachmentCount() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransportConfiguration)->get_MaxAttachmentCount(&result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration::MaxMessageSizeInKilobytes() const + template auto consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration::MaxMessageSizeInKilobytes() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransportConfiguration)->get_MaxMessageSizeInKilobytes(&result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration::MaxGroupMessageSizeInKilobytes() const + template auto consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration::MaxGroupMessageSizeInKilobytes() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransportConfiguration)->get_MaxGroupMessageSizeInKilobytes(&result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration::MaxRecipientCount() const + template auto consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration::MaxRecipientCount() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransportConfiguration)->get_MaxRecipientCount(&result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration::MaxFileSizeInKilobytes() const + template auto consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration::MaxFileSizeInKilobytes() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransportConfiguration)->get_MaxFileSizeInKilobytes(&result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration::WarningFileSizeInKilobytes() const + template auto consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration::WarningFileSizeInKilobytes() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransportConfiguration)->get_WarningFileSizeInKilobytes(&result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRemoteParticipantComposingChangedEventArgs::TransportId() const + template auto consume_Windows_ApplicationModel_Chat_IRemoteParticipantComposingChangedEventArgs::TransportId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRemoteParticipantComposingChangedEventArgs)->get_TransportId(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRemoteParticipantComposingChangedEventArgs::ParticipantAddress() const + template auto consume_Windows_ApplicationModel_Chat_IRemoteParticipantComposingChangedEventArgs::ParticipantAddress() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRemoteParticipantComposingChangedEventArgs)->get_ParticipantAddress(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IRemoteParticipantComposingChangedEventArgs::IsComposing() const + template auto consume_Windows_ApplicationModel_Chat_IRemoteParticipantComposingChangedEventArgs::IsComposing() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRemoteParticipantComposingChangedEventArgs)->get_IsComposing(&result)); @@ -3584,10 +3584,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Chat { return impl::call_factory([&](IRcsManagerStatics2 const& f) { return f.TransportListChanged(handler); }); } - inline RcsManager::TransportListChanged_revoker RcsManager::TransportListChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto RcsManager::TransportListChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.TransportListChanged(handler) }; + return RcsManager::TransportListChanged_revoker{ f, f.TransportListChanged(handler) }; } inline auto RcsManager::TransportListChanged(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.CommunicationBlocking.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.CommunicationBlocking.h index af1df87a..148b6363 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.CommunicationBlocking.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.CommunicationBlocking.h @@ -1,60 +1,60 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_CommunicationBlocking_H #define WINRT_Windows_ApplicationModel_CommunicationBlocking_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.ApplicationModel.CommunicationBlocking.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics::IsBlockingActive() const + template auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics::IsBlockingActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAccessManagerStatics)->get_IsBlockingActive(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics::IsBlockedNumberAsync(param::hstring const& number) const + template auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics::IsBlockedNumberAsync(param::hstring const& number) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAccessManagerStatics)->IsBlockedNumberAsync(*(void**)(&number), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics::ShowBlockNumbersUI(param::iterable const& phoneNumbers) const + template auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics::ShowBlockNumbersUI(param::iterable const& phoneNumbers) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAccessManagerStatics)->ShowBlockNumbersUI(*(void**)(&phoneNumbers), &value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics::ShowUnblockNumbersUI(param::iterable const& phoneNumbers) const + template auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics::ShowUnblockNumbersUI(param::iterable const& phoneNumbers) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAccessManagerStatics)->ShowUnblockNumbersUI(*(void**)(&phoneNumbers), &value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics::ShowBlockedCallsUI() const + template auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics::ShowBlockedCallsUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAccessManagerStatics)->ShowBlockedCallsUI()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics::ShowBlockedMessagesUI() const + template auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics::ShowBlockedMessagesUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAccessManagerStatics)->ShowBlockedMessagesUI()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAppManagerStatics::IsCurrentAppActiveBlockingApp() const + template auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAppManagerStatics::IsCurrentAppActiveBlockingApp() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAppManagerStatics)->get_IsCurrentAppActiveBlockingApp(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAppManagerStatics::ShowCommunicationBlockingSettingsUI() const + template auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAppManagerStatics::ShowCommunicationBlockingSettingsUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAppManagerStatics)->ShowCommunicationBlockingSettingsUI()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAppManagerStatics2::RequestSetAsActiveBlockingAppAsync() const + template auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAppManagerStatics2::RequestSetAsActiveBlockingAppAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAppManagerStatics2)->RequestSetAsActiveBlockingAppAsync(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.DataProvider.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.DataProvider.h index f79b4168..3554fd5e 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.DataProvider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.DataProvider.h @@ -1,234 +1,234 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Contacts_DataProvider_H #define WINRT_Windows_ApplicationModel_Contacts_DataProvider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.Contacts.h" #include "winrt/impl/Windows.ApplicationModel.Contacts.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection::SyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection::SyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection)->add_SyncRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection::SyncRequested_revoker consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection::SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection::SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SyncRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection::SyncRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection::SyncRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection)->remove_SyncRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection::ServerSearchReadBatchRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection::ServerSearchReadBatchRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection)->add_ServerSearchReadBatchRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection::ServerSearchReadBatchRequested_revoker consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection::ServerSearchReadBatchRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection::ServerSearchReadBatchRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ServerSearchReadBatchRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection::ServerSearchReadBatchRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection::ServerSearchReadBatchRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection)->remove_ServerSearchReadBatchRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection::Start() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection)->Start()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2::CreateOrUpdateContactRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2::CreateOrUpdateContactRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection2)->add_CreateOrUpdateContactRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2::CreateOrUpdateContactRequested_revoker consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2::CreateOrUpdateContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2::CreateOrUpdateContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CreateOrUpdateContactRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2::CreateOrUpdateContactRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2::CreateOrUpdateContactRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection2)->remove_CreateOrUpdateContactRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2::DeleteContactRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2::DeleteContactRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection2)->add_DeleteContactRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2::DeleteContactRequested_revoker consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2::DeleteContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2::DeleteContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DeleteContactRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2::DeleteContactRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2::DeleteContactRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection2)->remove_DeleteContactRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderTriggerDetails::Connection() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderTriggerDetails::Connection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderTriggerDetails)->get_Connection(&value)); return winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest::ContactListId() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest::ContactListId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListCreateOrUpdateContactRequest)->get_ContactListId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest::Contact() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListCreateOrUpdateContactRequest)->get_Contact(&value)); return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest::ReportCompletedAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& createdOrUpdatedContact) const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest::ReportCompletedAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& createdOrUpdatedContact) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListCreateOrUpdateContactRequest)->ReportCompletedAsync(*(void**)(&createdOrUpdatedContact), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListCreateOrUpdateContactRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListCreateOrUpdateContactRequest) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListCreateOrUpdateContactRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListCreateOrUpdateContactRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequestEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListCreateOrUpdateContactRequestEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest::ContactListId() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest::ContactListId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListDeleteContactRequest)->get_ContactListId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest::ContactId() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest::ContactId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListDeleteContactRequest)->get_ContactId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListDeleteContactRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListDeleteContactRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListDeleteContactRequest) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListDeleteContactRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListDeleteContactRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequestEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListDeleteContactRequestEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest::SessionId() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest::SessionId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListServerSearchReadBatchRequest)->get_SessionId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest::ContactListId() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest::ContactListId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListServerSearchReadBatchRequest)->get_ContactListId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest::Options() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest::Options() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListServerSearchReadBatchRequest)->get_Options(&value)); return winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest::SuggestedBatchSize() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest::SuggestedBatchSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListServerSearchReadBatchRequest)->get_SuggestedBatchSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest::SaveContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest::SaveContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListServerSearchReadBatchRequest)->SaveContactAsync(*(void**)(&contact), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListServerSearchReadBatchRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest::ReportFailedAsync(winrt::Windows::ApplicationModel::Contacts::ContactBatchStatus const& batchStatus) const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest::ReportFailedAsync(winrt::Windows::ApplicationModel::Contacts::ContactBatchStatus const& batchStatus) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListServerSearchReadBatchRequest)->ReportFailedAsync(static_cast(batchStatus), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListServerSearchReadBatchRequest) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListServerSearchReadBatchRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListServerSearchReadBatchRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListServerSearchReadBatchRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequest::ContactListId() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequest::ContactListId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListSyncManagerSyncRequest)->get_ContactListId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListSyncManagerSyncRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListSyncManagerSyncRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListSyncManagerSyncRequest) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListSyncManagerSyncRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListSyncManagerSyncRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListSyncManagerSyncRequestEventArgs)->GetDeferral(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.Provider.h index cb8e2105..ed00cadc 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.Provider.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Contacts_Provider_H #define WINRT_Windows_ApplicationModel_Contacts_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.Contacts.h" #include "winrt/impl/Windows.ApplicationModel.Contacts.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,61 +13,61 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Contacts.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Provider::AddContactResult) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::AddContact(param::hstring const& id, winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const + template auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::AddContact(param::hstring const& id, winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const { winrt::Windows::ApplicationModel::Contacts::Provider::AddContactResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI)->AddContact(*(void**)(&id), *(void**)(&contact), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::RemoveContact(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::RemoveContact(param::hstring const& id) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI)->RemoveContact(*(void**)(&id))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::ContainsContact(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::ContainsContact(param::hstring const& id) const { bool isContained{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI)->ContainsContact(*(void**)(&id), &isContained)); return isContained; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::DesiredFields() const + template auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::DesiredFields() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI)->get_DesiredFields(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::SelectionMode() const + template auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::SelectionMode() const { winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI)->get_SelectionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::ContactRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::ContactRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI)->add_ContactRemoved(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::ContactRemoved_revoker consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::ContactRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::ContactRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContactRemoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::ContactRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI::ContactRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI)->remove_ContactRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Provider::AddContactResult) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI2::AddContact(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const + template auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI2::AddContact(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const { winrt::Windows::ApplicationModel::Contacts::Provider::AddContactResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI2)->AddContact(*(void**)(&contact), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI2::DesiredFieldsWithContactFieldType() const + template auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI2::DesiredFieldsWithContactFieldType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI2)->get_DesiredFieldsWithContactFieldType(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_Provider_IContactRemovedEventArgs::Id() const + template auto consume_Windows_ApplicationModel_Contacts_Provider_IContactRemovedEventArgs::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::Provider::IContactRemovedEventArgs)->get_Id(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.h index 58c907a1..74bfe3e8 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Contacts_H #define WINRT_Windows_ApplicationModel_Contacts_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Data.Text.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -18,2321 +18,2321 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Contacts.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Contacts_IAggregateContactManager::FindRawContactsAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const + template auto consume_Windows_ApplicationModel_Contacts_IAggregateContactManager::FindRawContactsAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IAggregateContactManager)->FindRawContactsAsync(*(void**)(&contact), &value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IAggregateContactManager::TryLinkContactsAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& primaryContact, winrt::Windows::ApplicationModel::Contacts::Contact const& secondaryContact) const + template auto consume_Windows_ApplicationModel_Contacts_IAggregateContactManager::TryLinkContactsAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& primaryContact, winrt::Windows::ApplicationModel::Contacts::Contact const& secondaryContact) const { void* contact{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IAggregateContactManager)->TryLinkContactsAsync(*(void**)(&primaryContact), *(void**)(&secondaryContact), &contact)); return winrt::Windows::Foundation::IAsyncOperation{ contact, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IAggregateContactManager::UnlinkRawContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const + template auto consume_Windows_ApplicationModel_Contacts_IAggregateContactManager::UnlinkRawContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IAggregateContactManager)->UnlinkRawContactAsync(*(void**)(&contact), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IAggregateContactManager::TrySetPreferredSourceForPictureAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& aggregateContact, winrt::Windows::ApplicationModel::Contacts::Contact const& rawContact) const + template auto consume_Windows_ApplicationModel_Contacts_IAggregateContactManager::TrySetPreferredSourceForPictureAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& aggregateContact, winrt::Windows::ApplicationModel::Contacts::Contact const& rawContact) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IAggregateContactManager)->TrySetPreferredSourceForPictureAsync(*(void**)(&aggregateContact), *(void**)(&rawContact), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IAggregateContactManager2::SetRemoteIdentificationInformationAsync(param::hstring const& contactListId, param::hstring const& remoteSourceId, param::hstring const& accountId) const + template auto consume_Windows_ApplicationModel_Contacts_IAggregateContactManager2::SetRemoteIdentificationInformationAsync(param::hstring const& contactListId, param::hstring const& remoteSourceId, param::hstring const& accountId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IAggregateContactManager2)->SetRemoteIdentificationInformationAsync(*(void**)(&contactListId), *(void**)(&remoteSourceId), *(void**)(&accountId), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact::Name() const + template auto consume_Windows_ApplicationModel_Contacts_IContact::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact::Name(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContact::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Contacts_IContact::Thumbnail() const + template auto consume_Windows_ApplicationModel_Contacts_IContact::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact)->get_Thumbnail(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact::Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContact::Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact)->put_Thumbnail(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_IContact::Fields() const + template auto consume_Windows_ApplicationModel_Contacts_IContact::Fields() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact)->get_Fields(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact2::Id() const + template auto consume_Windows_ApplicationModel_Contacts_IContact2::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact2::Id(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContact2::Id(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->put_Id(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact2::Notes() const + template auto consume_Windows_ApplicationModel_Contacts_IContact2::Notes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_Notes(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact2::Notes(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContact2::Notes(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->put_Notes(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_IContact2::Phones() const + template auto consume_Windows_ApplicationModel_Contacts_IContact2::Phones() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_Phones(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_IContact2::Emails() const + template auto consume_Windows_ApplicationModel_Contacts_IContact2::Emails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_Emails(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_IContact2::Addresses() const + template auto consume_Windows_ApplicationModel_Contacts_IContact2::Addresses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_Addresses(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_IContact2::ConnectedServiceAccounts() const + template auto consume_Windows_ApplicationModel_Contacts_IContact2::ConnectedServiceAccounts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_ConnectedServiceAccounts(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_IContact2::ImportantDates() const + template auto consume_Windows_ApplicationModel_Contacts_IContact2::ImportantDates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_ImportantDates(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_IContact2::DataSuppliers() const + template auto consume_Windows_ApplicationModel_Contacts_IContact2::DataSuppliers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_DataSuppliers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_IContact2::JobInfo() const + template auto consume_Windows_ApplicationModel_Contacts_IContact2::JobInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_JobInfo(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_IContact2::SignificantOthers() const + template auto consume_Windows_ApplicationModel_Contacts_IContact2::SignificantOthers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_SignificantOthers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_IContact2::Websites() const + template auto consume_Windows_ApplicationModel_Contacts_IContact2::Websites() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_Websites(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_ApplicationModel_Contacts_IContact2::ProviderProperties() const + template auto consume_Windows_ApplicationModel_Contacts_IContact2::ProviderProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_ProviderProperties(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3::ContactListId() const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::ContactListId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_ContactListId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Contacts_IContact3::DisplayPictureUserUpdateTime() const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::DisplayPictureUserUpdateTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_DisplayPictureUserUpdateTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact3::DisplayPictureUserUpdateTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::DisplayPictureUserUpdateTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->put_DisplayPictureUserUpdateTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContact3::IsMe() const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::IsMe() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_IsMe(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3::AggregateId() const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::AggregateId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_AggregateId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3::RemoteId() const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::RemoteId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_RemoteId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact3::RemoteId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::RemoteId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->put_RemoteId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3::RingToneToken() const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::RingToneToken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_RingToneToken(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact3::RingToneToken(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::RingToneToken(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->put_RingToneToken(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContact3::IsDisplayPictureManuallySet() const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::IsDisplayPictureManuallySet() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_IsDisplayPictureManuallySet(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Contacts_IContact3::LargeDisplayPicture() const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::LargeDisplayPicture() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_LargeDisplayPicture(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Contacts_IContact3::SmallDisplayPicture() const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::SmallDisplayPicture() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_SmallDisplayPicture(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Contacts_IContact3::SourceDisplayPicture() const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::SourceDisplayPicture() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_SourceDisplayPicture(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact3::SourceDisplayPicture(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::SourceDisplayPicture(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->put_SourceDisplayPicture(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3::TextToneToken() const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::TextToneToken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_TextToneToken(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact3::TextToneToken(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::TextToneToken(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->put_TextToneToken(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContact3::IsAggregate() const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::IsAggregate() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_IsAggregate(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3::FullName() const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::FullName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_FullName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3::DisplayNameOverride() const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::DisplayNameOverride() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_DisplayNameOverride(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact3::DisplayNameOverride(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::DisplayNameOverride(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->put_DisplayNameOverride(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3::Nickname() const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::Nickname() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_Nickname(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact3::Nickname(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::Nickname(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->put_Nickname(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3::SortName() const + template auto consume_Windows_ApplicationModel_Contacts_IContact3::SortName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_SortName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAddress::StreetAddress() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAddress::StreetAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->get_StreetAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAddress::StreetAddress(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAddress::StreetAddress(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->put_StreetAddress(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAddress::Locality() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAddress::Locality() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->get_Locality(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAddress::Locality(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAddress::Locality(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->put_Locality(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAddress::Region() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAddress::Region() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->get_Region(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAddress::Region(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAddress::Region(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->put_Region(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAddress::Country() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAddress::Country() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->get_Country(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAddress::Country(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAddress::Country(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->put_Country(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAddress::PostalCode() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAddress::PostalCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->get_PostalCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAddress::PostalCode(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAddress::PostalCode(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->put_PostalCode(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactAddressKind) consume_Windows_ApplicationModel_Contacts_IContactAddress::Kind() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAddress::Kind() const { winrt::Windows::ApplicationModel::Contacts::ContactAddressKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAddress::Kind(winrt::Windows::ApplicationModel::Contacts::ContactAddressKind const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAddress::Kind(winrt::Windows::ApplicationModel::Contacts::ContactAddressKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->put_Kind(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAddress::Description() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAddress::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAddress::Description(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAddress::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAnnotation::Id() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAnnotation::AnnotationListId() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation::AnnotationListId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation)->get_AnnotationListId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAnnotation::ContactId() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation::ContactId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation)->get_ContactId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAnnotation::ContactId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation::ContactId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation)->put_ContactId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAnnotation::RemoteId() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation::RemoteId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation)->get_RemoteId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAnnotation::RemoteId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation::RemoteId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation)->put_RemoteId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations) consume_Windows_ApplicationModel_Contacts_IContactAnnotation::SupportedOperations() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation::SupportedOperations() const { winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation)->get_SupportedOperations(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAnnotation::SupportedOperations(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation::SupportedOperations(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation)->put_SupportedOperations(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactAnnotation::IsDisabled() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation::IsDisabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation)->get_IsDisabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_Contacts_IContactAnnotation::ProviderProperties() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation::ProviderProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation)->get_ProviderProperties(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAnnotation2::ContactListId() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation2::ContactListId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation2)->get_ContactListId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAnnotation2::ContactListId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation2::ContactListId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation2)->put_ContactListId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::Id() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationList)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::ProviderPackageFamilyName() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::ProviderPackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationList)->get_ProviderPackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::UserDataAccountId() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::UserDataAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationList)->get_UserDataAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::DeleteAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::DeleteAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationList)->DeleteAsync(&value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::TrySaveAnnotationAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotation const& annotation) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::TrySaveAnnotationAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotation const& annotation) const { void* ppResult{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationList)->TrySaveAnnotationAsync(*(void**)(&annotation), &ppResult)); return winrt::Windows::Foundation::IAsyncOperation{ ppResult, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::GetAnnotationAsync(param::hstring const& annotationId) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::GetAnnotationAsync(param::hstring const& annotationId) const { void* annotation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationList)->GetAnnotationAsync(*(void**)(&annotationId), &annotation)); return winrt::Windows::Foundation::IAsyncOperation{ annotation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::FindAnnotationsByRemoteIdAsync(param::hstring const& remoteId) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::FindAnnotationsByRemoteIdAsync(param::hstring const& remoteId) const { void* annotations{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationList)->FindAnnotationsByRemoteIdAsync(*(void**)(&remoteId), &annotations)); return winrt::Windows::Foundation::IAsyncOperation>{ annotations, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::FindAnnotationsAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::FindAnnotationsAsync() const { void* annotations{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationList)->FindAnnotationsAsync(&annotations)); return winrt::Windows::Foundation::IAsyncOperation>{ annotations, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::DeleteAnnotationAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotation const& annotation) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList::DeleteAnnotationAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotation const& annotation) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationList)->DeleteAnnotationAsync(*(void**)(&annotation), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore::FindContactIdsByEmailAsync(param::hstring const& emailAddress) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore::FindContactIdsByEmailAsync(param::hstring const& emailAddress) const { void* contactIds{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationStore)->FindContactIdsByEmailAsync(*(void**)(&emailAddress), &contactIds)); return winrt::Windows::Foundation::IAsyncOperation>{ contactIds, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore::FindContactIdsByPhoneNumberAsync(param::hstring const& phoneNumber) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore::FindContactIdsByPhoneNumberAsync(param::hstring const& phoneNumber) const { void* contactIds{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationStore)->FindContactIdsByPhoneNumberAsync(*(void**)(&phoneNumber), &contactIds)); return winrt::Windows::Foundation::IAsyncOperation>{ contactIds, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore::FindAnnotationsForContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore::FindAnnotationsForContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const { void* annotations{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationStore)->FindAnnotationsForContactAsync(*(void**)(&contact), &annotations)); return winrt::Windows::Foundation::IAsyncOperation>{ annotations, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore::DisableAnnotationAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotation const& annotation) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore::DisableAnnotationAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotation const& annotation) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationStore)->DisableAnnotationAsync(*(void**)(&annotation), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore::CreateAnnotationListAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore::CreateAnnotationListAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationStore)->CreateAnnotationListAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore::CreateAnnotationListAsync(param::hstring const& userDataAccountId) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore::CreateAnnotationListAsync(param::hstring const& userDataAccountId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationStore)->CreateAnnotationListInAccountAsync(*(void**)(&userDataAccountId), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore::GetAnnotationListAsync(param::hstring const& annotationListId) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore::GetAnnotationListAsync(param::hstring const& annotationListId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationStore)->GetAnnotationListAsync(*(void**)(&annotationListId), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore::FindAnnotationListsAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore::FindAnnotationListsAsync() const { void* lists{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationStore)->FindAnnotationListsAsync(&lists)); return winrt::Windows::Foundation::IAsyncOperation>{ lists, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore2::FindAnnotationsForContactListAsync(param::hstring const& contactListId) const + template auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore2::FindAnnotationsForContactListAsync(param::hstring const& contactListId) const { void* annotations{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationStore2)->FindAnnotationsForContactListAsync(*(void**)(&contactListId), &annotations)); return winrt::Windows::Foundation::IAsyncOperation>{ annotations, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Contacts_IContactBatch::Contacts() const + template auto consume_Windows_ApplicationModel_Contacts_IContactBatch::Contacts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactBatch)->get_Contacts(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactBatchStatus) consume_Windows_ApplicationModel_Contacts_IContactBatch::Status() const + template auto consume_Windows_ApplicationModel_Contacts_IContactBatch::Status() const { winrt::Windows::ApplicationModel::Contacts::ContactBatchStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactBatch)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactCardDelayedDataLoader::SetData(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const + template auto consume_Windows_ApplicationModel_Contacts_IContactCardDelayedDataLoader::SetData(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactCardDelayedDataLoader)->SetData(*(void**)(&contact))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactCardHeaderKind) consume_Windows_ApplicationModel_Contacts_IContactCardOptions::HeaderKind() const + template auto consume_Windows_ApplicationModel_Contacts_IContactCardOptions::HeaderKind() const { winrt::Windows::ApplicationModel::Contacts::ContactCardHeaderKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactCardOptions)->get_HeaderKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactCardOptions::HeaderKind(winrt::Windows::ApplicationModel::Contacts::ContactCardHeaderKind const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactCardOptions::HeaderKind(winrt::Windows::ApplicationModel::Contacts::ContactCardHeaderKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactCardOptions)->put_HeaderKind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactCardTabKind) consume_Windows_ApplicationModel_Contacts_IContactCardOptions::InitialTabKind() const + template auto consume_Windows_ApplicationModel_Contacts_IContactCardOptions::InitialTabKind() const { winrt::Windows::ApplicationModel::Contacts::ContactCardTabKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactCardOptions)->get_InitialTabKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactCardOptions::InitialTabKind(winrt::Windows::ApplicationModel::Contacts::ContactCardTabKind const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactCardOptions::InitialTabKind(winrt::Windows::ApplicationModel::Contacts::ContactCardTabKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactCardOptions)->put_InitialTabKind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_IContactCardOptions2::ServerSearchContactListIds() const + template auto consume_Windows_ApplicationModel_Contacts_IContactCardOptions2::ServerSearchContactListIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactCardOptions2)->get_ServerSearchContactListIds(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeType) consume_Windows_ApplicationModel_Contacts_IContactChange::ChangeType() const + template auto consume_Windows_ApplicationModel_Contacts_IContactChange::ChangeType() const { winrt::Windows::ApplicationModel::Contacts::ContactChangeType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChange)->get_ChangeType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Contacts_IContactChange::Contact() const + template auto consume_Windows_ApplicationModel_Contacts_IContactChange::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChange)->get_Contact(&value)); return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactChangeReader::AcceptChanges() const + template auto consume_Windows_ApplicationModel_Contacts_IContactChangeReader::AcceptChanges() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChangeReader)->AcceptChanges()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactChangeReader::AcceptChangesThrough(winrt::Windows::ApplicationModel::Contacts::ContactChange const& lastChangeToAccept) const + template auto consume_Windows_ApplicationModel_Contacts_IContactChangeReader::AcceptChangesThrough(winrt::Windows::ApplicationModel::Contacts::ContactChange const& lastChangeToAccept) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChangeReader)->AcceptChangesThrough(*(void**)(&lastChangeToAccept))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Contacts_IContactChangeReader::ReadBatchAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactChangeReader::ReadBatchAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChangeReader)->ReadBatchAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactChangeTracker::Enable() const + template auto consume_Windows_ApplicationModel_Contacts_IContactChangeTracker::Enable() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChangeTracker)->Enable()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeReader) consume_Windows_ApplicationModel_Contacts_IContactChangeTracker::GetChangeReader() const + template auto consume_Windows_ApplicationModel_Contacts_IContactChangeTracker::GetChangeReader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChangeTracker)->GetChangeReader(&value)); return winrt::Windows::ApplicationModel::Contacts::ContactChangeReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactChangeTracker::Reset() const + template auto consume_Windows_ApplicationModel_Contacts_IContactChangeTracker::Reset() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChangeTracker)->Reset()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactChangeTracker2::IsTracking() const + template auto consume_Windows_ApplicationModel_Contacts_IContactChangeTracker2::IsTracking() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChangeTracker2)->get_IsTracking(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactChangedDeferral::Complete() const + template auto consume_Windows_ApplicationModel_Contacts_IContactChangedDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChangedDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangedDeferral) consume_Windows_ApplicationModel_Contacts_IContactChangedEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Contacts_IContactChangedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChangedEventArgs)->GetDeferral(&value)); return winrt::Windows::ApplicationModel::Contacts::ContactChangedDeferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount::Id() const + template auto consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactConnectedServiceAccount)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount::Id(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount::Id(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactConnectedServiceAccount)->put_Id(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount::ServiceName() const + template auto consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount::ServiceName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactConnectedServiceAccount)->get_ServiceName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount::ServiceName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount::ServiceName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactConnectedServiceAccount)->put_ServiceName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactDate::Day() const + template auto consume_Windows_ApplicationModel_Contacts_IContactDate::Day() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->get_Day(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactDate::Day(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactDate::Day(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->put_Day(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactDate::Month() const + template auto consume_Windows_ApplicationModel_Contacts_IContactDate::Month() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->get_Month(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactDate::Month(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactDate::Month(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->put_Month(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactDate::Year() const + template auto consume_Windows_ApplicationModel_Contacts_IContactDate::Year() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->get_Year(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactDate::Year(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactDate::Year(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->put_Year(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactDateKind) consume_Windows_ApplicationModel_Contacts_IContactDate::Kind() const + template auto consume_Windows_ApplicationModel_Contacts_IContactDate::Kind() const { winrt::Windows::ApplicationModel::Contacts::ContactDateKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactDate::Kind(winrt::Windows::ApplicationModel::Contacts::ContactDateKind const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactDate::Kind(winrt::Windows::ApplicationModel::Contacts::ContactDateKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->put_Kind(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactDate::Description() const + template auto consume_Windows_ApplicationModel_Contacts_IContactDate::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactDate::Description(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactDate::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactEmail::Address() const + template auto consume_Windows_ApplicationModel_Contacts_IContactEmail::Address() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactEmail)->get_Address(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactEmail::Address(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactEmail::Address(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactEmail)->put_Address(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactEmailKind) consume_Windows_ApplicationModel_Contacts_IContactEmail::Kind() const + template auto consume_Windows_ApplicationModel_Contacts_IContactEmail::Kind() const { winrt::Windows::ApplicationModel::Contacts::ContactEmailKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactEmail)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactEmail::Kind(winrt::Windows::ApplicationModel::Contacts::ContactEmailKind const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactEmail::Kind(winrt::Windows::ApplicationModel::Contacts::ContactEmailKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactEmail)->put_Kind(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactEmail::Description() const + template auto consume_Windows_ApplicationModel_Contacts_IContactEmail::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactEmail)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactEmail::Description(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactEmail::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactEmail)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactFieldType) consume_Windows_ApplicationModel_Contacts_IContactField::Type() const + template auto consume_Windows_ApplicationModel_Contacts_IContactField::Type() const { winrt::Windows::ApplicationModel::Contacts::ContactFieldType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactField)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory) consume_Windows_ApplicationModel_Contacts_IContactField::Category() const + template auto consume_Windows_ApplicationModel_Contacts_IContactField::Category() const { winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactField)->get_Category(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactField::Name() const + template auto consume_Windows_ApplicationModel_Contacts_IContactField::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactField)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactField::Value() const + template auto consume_Windows_ApplicationModel_Contacts_IContactField::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactField)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactField) consume_Windows_ApplicationModel_Contacts_IContactFieldFactory::CreateField(param::hstring const& value, winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type) const + template auto consume_Windows_ApplicationModel_Contacts_IContactFieldFactory::CreateField(param::hstring const& value, winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type) const { void* field{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactFieldFactory)->CreateField_Default(*(void**)(&value), static_cast(type), &field)); return winrt::Windows::ApplicationModel::Contacts::ContactField{ field, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactField) consume_Windows_ApplicationModel_Contacts_IContactFieldFactory::CreateField(param::hstring const& value, winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const + template auto consume_Windows_ApplicationModel_Contacts_IContactFieldFactory::CreateField(param::hstring const& value, winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const { void* field{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactFieldFactory)->CreateField_Category(*(void**)(&value), static_cast(type), static_cast(category), &field)); return winrt::Windows::ApplicationModel::Contacts::ContactField{ field, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactField) consume_Windows_ApplicationModel_Contacts_IContactFieldFactory::CreateField(param::hstring const& name, param::hstring const& value, winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const + template auto consume_Windows_ApplicationModel_Contacts_IContactFieldFactory::CreateField(param::hstring const& name, param::hstring const& value, winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const { void* field{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactFieldFactory)->CreateField_Custom(*(void**)(&name), *(void**)(&value), static_cast(type), static_cast(category), &field)); return winrt::Windows::ApplicationModel::Contacts::ContactField{ field, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactInformation::Name() const + template auto consume_Windows_ApplicationModel_Contacts_IContactInformation::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInformation)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactInformation::GetThumbnailAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactInformation::GetThumbnailAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInformation)->GetThumbnailAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Contacts_IContactInformation::Emails() const + template auto consume_Windows_ApplicationModel_Contacts_IContactInformation::Emails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInformation)->get_Emails(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Contacts_IContactInformation::PhoneNumbers() const + template auto consume_Windows_ApplicationModel_Contacts_IContactInformation::PhoneNumbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInformation)->get_PhoneNumbers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Contacts_IContactInformation::Locations() const + template auto consume_Windows_ApplicationModel_Contacts_IContactInformation::Locations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInformation)->get_Locations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Contacts_IContactInformation::InstantMessages() const + template auto consume_Windows_ApplicationModel_Contacts_IContactInformation::InstantMessages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInformation)->get_InstantMessages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Contacts_IContactInformation::CustomFields() const + template auto consume_Windows_ApplicationModel_Contacts_IContactInformation::CustomFields() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInformation)->get_CustomFields(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Contacts_IContactInformation::QueryCustomFields(param::hstring const& customName) const + template auto consume_Windows_ApplicationModel_Contacts_IContactInformation::QueryCustomFields(param::hstring const& customName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInformation)->QueryCustomFields(*(void**)(&customName), &value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField::UserName() const + template auto consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField::UserName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInstantMessageField)->get_UserName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField::Service() const + template auto consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField::Service() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInstantMessageField)->get_Service(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField::DisplayText() const + template auto consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField::DisplayText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInstantMessageField)->get_DisplayText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField::LaunchUri() const + template auto consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField::LaunchUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInstantMessageField)->get_LaunchUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField) consume_Windows_ApplicationModel_Contacts_IContactInstantMessageFieldFactory::CreateInstantMessage(param::hstring const& userName) const + template auto consume_Windows_ApplicationModel_Contacts_IContactInstantMessageFieldFactory::CreateInstantMessage(param::hstring const& userName) const { void* field{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInstantMessageFieldFactory)->CreateInstantMessage_Default(*(void**)(&userName), &field)); return winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField{ field, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField) consume_Windows_ApplicationModel_Contacts_IContactInstantMessageFieldFactory::CreateInstantMessage(param::hstring const& userName, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const + template auto consume_Windows_ApplicationModel_Contacts_IContactInstantMessageFieldFactory::CreateInstantMessage(param::hstring const& userName, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const { void* field{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInstantMessageFieldFactory)->CreateInstantMessage_Category(*(void**)(&userName), static_cast(category), &field)); return winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField{ field, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField) consume_Windows_ApplicationModel_Contacts_IContactInstantMessageFieldFactory::CreateInstantMessage(param::hstring const& userName, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category, param::hstring const& service, param::hstring const& displayText, winrt::Windows::Foundation::Uri const& verb) const + template auto consume_Windows_ApplicationModel_Contacts_IContactInstantMessageFieldFactory::CreateInstantMessage(param::hstring const& userName, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category, param::hstring const& service, param::hstring const& displayText, winrt::Windows::Foundation::Uri const& verb) const { void* field{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInstantMessageFieldFactory)->CreateInstantMessage_All(*(void**)(&userName), static_cast(category), *(void**)(&service), *(void**)(&displayText), *(void**)(&verb), &field)); return winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField{ field, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactJobInfo::CompanyName() const + template auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo::CompanyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->get_CompanyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactJobInfo::CompanyName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo::CompanyName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->put_CompanyName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactJobInfo::CompanyYomiName() const + template auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo::CompanyYomiName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->get_CompanyYomiName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactJobInfo::CompanyYomiName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo::CompanyYomiName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->put_CompanyYomiName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Department() const + template auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Department() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->get_Department(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Department(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Department(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->put_Department(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Title() const + template auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Title(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Manager() const + template auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Manager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->get_Manager(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Manager(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Manager(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->put_Manager(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Office() const + template auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Office() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->get_Office(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Office(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Office(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->put_Office(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactJobInfo::CompanyAddress() const + template auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo::CompanyAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->get_CompanyAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactJobInfo::CompanyAddress(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo::CompanyAddress(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->put_CompanyAddress(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Description() const + template auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Description(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics::Call() const + template auto consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics::Call() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactLaunchActionVerbsStatics)->get_Call(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics::Message() const + template auto consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactLaunchActionVerbsStatics)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics::Map() const + template auto consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics::Map() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactLaunchActionVerbsStatics)->get_Map(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics::Post() const + template auto consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics::Post() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactLaunchActionVerbsStatics)->get_Post(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics::VideoCall() const + template auto consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics::VideoCall() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactLaunchActionVerbsStatics)->get_VideoCall(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactList::Id() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactList::DisplayName() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactList::DisplayName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactList::SourceDisplayName() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::SourceDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->get_SourceDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactList::IsHidden() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::IsHidden() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->get_IsHidden(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactList::IsHidden(bool value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::IsHidden(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->put_IsHidden(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppReadAccess) consume_Windows_ApplicationModel_Contacts_IContactList::OtherAppReadAccess() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::OtherAppReadAccess() const { winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppReadAccess value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->get_OtherAppReadAccess(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactList::OtherAppReadAccess(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppReadAccess const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::OtherAppReadAccess(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppReadAccess const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->put_OtherAppReadAccess(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppWriteAccess) consume_Windows_ApplicationModel_Contacts_IContactList::OtherAppWriteAccess() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::OtherAppWriteAccess() const { winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppWriteAccess value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->get_OtherAppWriteAccess(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactList::OtherAppWriteAccess(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppWriteAccess const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::OtherAppWriteAccess(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppWriteAccess const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->put_OtherAppWriteAccess(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker) consume_Windows_ApplicationModel_Contacts_IContactList::ChangeTracker() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::ChangeTracker() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->get_ChangeTracker(&value)); return winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListSyncManager) consume_Windows_ApplicationModel_Contacts_IContactList::SyncManager() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::SyncManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->get_SyncManager(&value)); return winrt::Windows::ApplicationModel::Contacts::ContactListSyncManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactList::SupportsServerSearch() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::SupportsServerSearch() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->get_SupportsServerSearch(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactList::UserDataAccountId() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::UserDataAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->get_UserDataAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_IContactList::ContactChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::ContactChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->add_ContactChanged(*(void**)(&value), put_abi(returnValue))); return returnValue; } - template typename consume_Windows_ApplicationModel_Contacts_IContactList::ContactChanged_revoker consume_Windows_ApplicationModel_Contacts_IContactList::ContactChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::ContactChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, ContactChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactList::ContactChanged(winrt::event_token const& value) const noexcept + template auto consume_Windows_ApplicationModel_Contacts_IContactList::ContactChanged(winrt::event_token const& value) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->remove_ContactChanged(impl::bind_in(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IContactList::SaveAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::SaveAsync() const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->SaveAsync(&returnValue)); return winrt::Windows::Foundation::IAsyncAction{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IContactList::DeleteAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::DeleteAsync() const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->DeleteAsync(&returnValue)); return winrt::Windows::Foundation::IAsyncAction{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactList::GetContactFromRemoteIdAsync(param::hstring const& remoteId) const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::GetContactFromRemoteIdAsync(param::hstring const& remoteId) const { void* contact{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->GetContactFromRemoteIdAsync(*(void**)(&remoteId), &contact)); return winrt::Windows::Foundation::IAsyncOperation{ contact, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactList::GetMeContactAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::GetMeContactAsync() const { void* meContact{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->GetMeContactAsync(&meContact)); return winrt::Windows::Foundation::IAsyncOperation{ meContact, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactReader) consume_Windows_ApplicationModel_Contacts_IContactList::GetContactReader() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::GetContactReader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->GetContactReader(&value)); return winrt::Windows::ApplicationModel::Contacts::ContactReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactReader) consume_Windows_ApplicationModel_Contacts_IContactList::GetContactReader(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions const& options) const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::GetContactReader(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions const& options) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->GetContactReaderWithOptions(*(void**)(&options), &value)); return winrt::Windows::ApplicationModel::Contacts::ContactReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IContactList::SaveContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::SaveContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->SaveContactAsync(*(void**)(&contact), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IContactList::DeleteContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::DeleteContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->DeleteContactAsync(*(void**)(&contact), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactList::GetContactAsync(param::hstring const& contactId) const + template auto consume_Windows_ApplicationModel_Contacts_IContactList::GetContactAsync(param::hstring const& contactId) const { void* contacts{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->GetContactAsync(*(void**)(&contactId), &contacts)); return winrt::Windows::Foundation::IAsyncOperation{ contacts, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IContactList2::RegisterSyncManagerAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList2::RegisterSyncManagerAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList2)->RegisterSyncManagerAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactList2::SupportsServerSearch(bool value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactList2::SupportsServerSearch(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList2)->put_SupportsServerSearch(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListSyncConstraints) consume_Windows_ApplicationModel_Contacts_IContactList2::SyncConstraints() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList2::SyncConstraints() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList2)->get_SyncConstraints(&value)); return winrt::Windows::ApplicationModel::Contacts::ContactListSyncConstraints{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListLimitedWriteOperations) consume_Windows_ApplicationModel_Contacts_IContactList3::LimitedWriteOperations() const + template auto consume_Windows_ApplicationModel_Contacts_IContactList3::LimitedWriteOperations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList3)->get_LimitedWriteOperations(&value)); return winrt::Windows::ApplicationModel::Contacts::ContactListLimitedWriteOperations{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker) consume_Windows_ApplicationModel_Contacts_IContactList3::GetChangeTracker(param::hstring const& identity) const + template auto consume_Windows_ApplicationModel_Contacts_IContactList3::GetChangeTracker(param::hstring const& identity) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList3)->GetChangeTracker(*(void**)(&identity), &result)); return winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactListLimitedWriteOperations::TryCreateOrUpdateContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListLimitedWriteOperations::TryCreateOrUpdateContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListLimitedWriteOperations)->TryCreateOrUpdateContactAsync(*(void**)(&contact), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactListLimitedWriteOperations::TryDeleteContactAsync(param::hstring const& contactId) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListLimitedWriteOperations::TryDeleteContactAsync(param::hstring const& contactId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListLimitedWriteOperations)->TryDeleteContactAsync(*(void**)(&contactId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::CanSyncDescriptions() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::CanSyncDescriptions() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_CanSyncDescriptions(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::CanSyncDescriptions(bool value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::CanSyncDescriptions(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_CanSyncDescriptions(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxHomePhoneNumbers() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxHomePhoneNumbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxHomePhoneNumbers(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxHomePhoneNumbers(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxHomePhoneNumbers(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxHomePhoneNumbers(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxMobilePhoneNumbers() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxMobilePhoneNumbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxMobilePhoneNumbers(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxMobilePhoneNumbers(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxMobilePhoneNumbers(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxMobilePhoneNumbers(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxWorkPhoneNumbers() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxWorkPhoneNumbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxWorkPhoneNumbers(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxWorkPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxWorkPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxWorkPhoneNumbers(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherPhoneNumbers() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherPhoneNumbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxOtherPhoneNumbers(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxOtherPhoneNumbers(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxPagerPhoneNumbers() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxPagerPhoneNumbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxPagerPhoneNumbers(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxPagerPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxPagerPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxPagerPhoneNumbers(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxBusinessFaxPhoneNumbers() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxBusinessFaxPhoneNumbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxBusinessFaxPhoneNumbers(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxBusinessFaxPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxBusinessFaxPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxBusinessFaxPhoneNumbers(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxHomeFaxPhoneNumbers() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxHomeFaxPhoneNumbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxHomeFaxPhoneNumbers(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxHomeFaxPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxHomeFaxPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxHomeFaxPhoneNumbers(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxCompanyPhoneNumbers() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxCompanyPhoneNumbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxCompanyPhoneNumbers(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxCompanyPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxCompanyPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxCompanyPhoneNumbers(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxAssistantPhoneNumbers() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxAssistantPhoneNumbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxAssistantPhoneNumbers(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxAssistantPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxAssistantPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxAssistantPhoneNumbers(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxRadioPhoneNumbers() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxRadioPhoneNumbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxRadioPhoneNumbers(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxRadioPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxRadioPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxRadioPhoneNumbers(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxPersonalEmailAddresses() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxPersonalEmailAddresses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxPersonalEmailAddresses(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxPersonalEmailAddresses(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxPersonalEmailAddresses(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxPersonalEmailAddresses(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxWorkEmailAddresses() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxWorkEmailAddresses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxWorkEmailAddresses(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxWorkEmailAddresses(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxWorkEmailAddresses(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxWorkEmailAddresses(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherEmailAddresses() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherEmailAddresses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxOtherEmailAddresses(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherEmailAddresses(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherEmailAddresses(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxOtherEmailAddresses(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxHomeAddresses() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxHomeAddresses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxHomeAddresses(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxHomeAddresses(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxHomeAddresses(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxHomeAddresses(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxWorkAddresses() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxWorkAddresses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxWorkAddresses(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxWorkAddresses(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxWorkAddresses(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxWorkAddresses(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherAddresses() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherAddresses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxOtherAddresses(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherAddresses(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherAddresses(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxOtherAddresses(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxBirthdayDates() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxBirthdayDates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxBirthdayDates(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxBirthdayDates(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxBirthdayDates(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxBirthdayDates(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxAnniversaryDates() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxAnniversaryDates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxAnniversaryDates(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxAnniversaryDates(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxAnniversaryDates(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxAnniversaryDates(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherDates() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherDates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxOtherDates(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherDates(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherDates(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxOtherDates(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherRelationships() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherRelationships() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxOtherRelationships(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherRelationships(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxOtherRelationships(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxOtherRelationships(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxSpouseRelationships() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxSpouseRelationships() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxSpouseRelationships(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxSpouseRelationships(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxSpouseRelationships(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxSpouseRelationships(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxPartnerRelationships() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxPartnerRelationships() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxPartnerRelationships(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxPartnerRelationships(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxPartnerRelationships(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxPartnerRelationships(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxSiblingRelationships() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxSiblingRelationships() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxSiblingRelationships(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxSiblingRelationships(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxSiblingRelationships(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxSiblingRelationships(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxParentRelationships() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxParentRelationships() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxParentRelationships(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxParentRelationships(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxParentRelationships(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxParentRelationships(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxChildRelationships() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxChildRelationships() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxChildRelationships(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxChildRelationships(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxChildRelationships(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxChildRelationships(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxJobInfo() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxJobInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxJobInfo(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxJobInfo(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxJobInfo(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxJobInfo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxWebsites() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxWebsites() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxWebsites(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxWebsites(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints::MaxWebsites(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxWebsites(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListSyncStatus) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager::Status() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager::Status() const { winrt::Windows::ApplicationModel::Contacts::ContactListSyncStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager::LastSuccessfulSyncTime() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager::LastSuccessfulSyncTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager)->get_LastSuccessfulSyncTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager::LastAttemptedSyncTime() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager::LastAttemptedSyncTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager)->get_LastAttemptedSyncTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager::SyncAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager::SyncAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager)->SyncAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager::SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager::SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager)->add_SyncStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Contacts_IContactListSyncManager::SyncStatusChanged_revoker consume_Windows_ApplicationModel_Contacts_IContactListSyncManager::SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager::SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SyncStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager::SyncStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager::SyncStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager)->remove_SyncStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager2::Status(winrt::Windows::ApplicationModel::Contacts::ContactListSyncStatus const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager2::Status(winrt::Windows::ApplicationModel::Contacts::ContactListSyncStatus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager2)->put_Status(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager2::LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager2::LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager2)->put_LastSuccessfulSyncTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager2::LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager2::LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager2)->put_LastAttemptedSyncTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLocationField::UnstructuredAddress() const + template auto consume_Windows_ApplicationModel_Contacts_IContactLocationField::UnstructuredAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactLocationField)->get_UnstructuredAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLocationField::Street() const + template auto consume_Windows_ApplicationModel_Contacts_IContactLocationField::Street() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactLocationField)->get_Street(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLocationField::City() const + template auto consume_Windows_ApplicationModel_Contacts_IContactLocationField::City() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactLocationField)->get_City(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLocationField::Region() const + template auto consume_Windows_ApplicationModel_Contacts_IContactLocationField::Region() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactLocationField)->get_Region(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLocationField::Country() const + template auto consume_Windows_ApplicationModel_Contacts_IContactLocationField::Country() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactLocationField)->get_Country(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLocationField::PostalCode() const + template auto consume_Windows_ApplicationModel_Contacts_IContactLocationField::PostalCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactLocationField)->get_PostalCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactLocationField) consume_Windows_ApplicationModel_Contacts_IContactLocationFieldFactory::CreateLocation(param::hstring const& unstructuredAddress) const + template auto consume_Windows_ApplicationModel_Contacts_IContactLocationFieldFactory::CreateLocation(param::hstring const& unstructuredAddress) const { void* field{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactLocationFieldFactory)->CreateLocation_Default(*(void**)(&unstructuredAddress), &field)); return winrt::Windows::ApplicationModel::Contacts::ContactLocationField{ field, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactLocationField) consume_Windows_ApplicationModel_Contacts_IContactLocationFieldFactory::CreateLocation(param::hstring const& unstructuredAddress, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const + template auto consume_Windows_ApplicationModel_Contacts_IContactLocationFieldFactory::CreateLocation(param::hstring const& unstructuredAddress, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const { void* field{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactLocationFieldFactory)->CreateLocation_Category(*(void**)(&unstructuredAddress), static_cast(category), &field)); return winrt::Windows::ApplicationModel::Contacts::ContactLocationField{ field, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactLocationField) consume_Windows_ApplicationModel_Contacts_IContactLocationFieldFactory::CreateLocation(param::hstring const& unstructuredAddress, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category, param::hstring const& street, param::hstring const& city, param::hstring const& region, param::hstring const& country, param::hstring const& postalCode) const + template auto consume_Windows_ApplicationModel_Contacts_IContactLocationFieldFactory::CreateLocation(param::hstring const& unstructuredAddress, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category, param::hstring const& street, param::hstring const& city, param::hstring const& region, param::hstring const& country, param::hstring const& postalCode) const { void* field{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactLocationFieldFactory)->CreateLocation_All(*(void**)(&unstructuredAddress), static_cast(category), *(void**)(&street), *(void**)(&city), *(void**)(®ion), *(void**)(&country), *(void**)(&postalCode), &field)); return winrt::Windows::ApplicationModel::Contacts::ContactLocationField{ field, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser)->ConvertContactToVCardAsync(*(void**)(&contact), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, uint32_t maxBytes) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, uint32_t maxBytes) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser)->ConvertContactToVCardAsyncWithMaxBytes(*(void**)(&contact), maxBytes, &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::ConvertVCardToContactAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& vCard) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::ConvertVCardToContactAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& vCard) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser)->ConvertVCardToContactAsync(*(void**)(&vCard), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::RequestStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactStoreAccessType const& accessType) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::RequestStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactStoreAccessType const& accessType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser)->RequestStoreAsync(static_cast(accessType), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::RequestAnnotationStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType const& accessType) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::RequestAnnotationStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType const& accessType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser)->RequestAnnotationStoreAsync(static_cast(accessType), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::SystemDisplayNameOrder() const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::SystemDisplayNameOrder() const { winrt::Windows::ApplicationModel::Contacts::ContactNameOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser)->get_SystemDisplayNameOrder(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::SystemDisplayNameOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::SystemDisplayNameOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser)->put_SystemDisplayNameOrder(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::SystemSortOrder() const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::SystemSortOrder() const { winrt::Windows::ApplicationModel::Contacts::ContactNameOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser)->get_SystemSortOrder(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::SystemSortOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::SystemSortOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser)->put_SystemSortOrder(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::User() const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser2::ShowFullContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::FullContactCardOptions const& fullContactCardOptions) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser2::ShowFullContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::FullContactCardOptions const& fullContactCardOptions) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser2)->ShowFullContactCard(*(void**)(&contact), *(void**)(&fullContactCardOptions))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics::ShowContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics::ShowContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics)->ShowContactCard(*(void**)(&contact), impl::bind_in(selection))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics::ShowContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics::ShowContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics)->ShowContactCardWithPlacement(*(void**)(&contact), impl::bind_in(selection), static_cast(preferredPlacement))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactCardDelayedDataLoader) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics::ShowDelayLoadedContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics::ShowDelayLoadedContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { void* dataLoader{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics)->ShowDelayLoadedContactCard(*(void**)(&contact), impl::bind_in(selection), static_cast(preferredPlacement), &dataLoader)); return winrt::Windows::ApplicationModel::Contacts::ContactCardDelayedDataLoader{ dataLoader, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics2::RequestStoreAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics2::RequestStoreAsync() const { void* store{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics2)->RequestStoreAsync(&store)); return winrt::Windows::Foundation::IAsyncOperation{ store, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const { void* vCard{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->ConvertContactToVCardAsync(*(void**)(&contact), &vCard)); return winrt::Windows::Foundation::IAsyncOperation{ vCard, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, uint32_t maxBytes) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, uint32_t maxBytes) const { void* vCard{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->ConvertContactToVCardAsyncWithMaxBytes(*(void**)(&contact), maxBytes, &vCard)); return winrt::Windows::Foundation::IAsyncOperation{ vCard, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::ConvertVCardToContactAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& vCard) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::ConvertVCardToContactAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& vCard) const { void* contact{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->ConvertVCardToContactAsync(*(void**)(&vCard), &contact)); return winrt::Windows::Foundation::IAsyncOperation{ contact, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::RequestStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactStoreAccessType const& accessType) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::RequestStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactStoreAccessType const& accessType) const { void* store{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->RequestStoreAsyncWithAccessType(static_cast(accessType), &store)); return winrt::Windows::Foundation::IAsyncOperation{ store, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::RequestAnnotationStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType const& accessType) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::RequestAnnotationStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType const& accessType) const { void* store{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->RequestAnnotationStoreAsync(static_cast(accessType), &store)); return winrt::Windows::Foundation::IAsyncOperation{ store, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::IsShowContactCardSupported() const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::IsShowContactCardSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->IsShowContactCardSupported(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::ShowContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::ApplicationModel::Contacts::ContactCardOptions const& contactCardOptions) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::ShowContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::ApplicationModel::Contacts::ContactCardOptions const& contactCardOptions) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->ShowContactCardWithOptions(*(void**)(&contact), impl::bind_in(selection), static_cast(preferredPlacement), *(void**)(&contactCardOptions))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::IsShowDelayLoadedContactCardSupported() const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::IsShowDelayLoadedContactCardSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->IsShowDelayLoadedContactCardSupported(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactCardDelayedDataLoader) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::ShowDelayLoadedContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::ApplicationModel::Contacts::ContactCardOptions const& contactCardOptions) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::ShowDelayLoadedContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::ApplicationModel::Contacts::ContactCardOptions const& contactCardOptions) const { void* dataLoader{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->ShowDelayLoadedContactCardWithOptions(*(void**)(&contact), impl::bind_in(selection), static_cast(preferredPlacement), *(void**)(&contactCardOptions), &dataLoader)); return winrt::Windows::ApplicationModel::Contacts::ContactCardDelayedDataLoader{ dataLoader, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::ShowFullContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::FullContactCardOptions const& fullContactCardOptions) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::ShowFullContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::FullContactCardOptions const& fullContactCardOptions) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->ShowFullContactCard(*(void**)(&contact), *(void**)(&fullContactCardOptions))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::SystemDisplayNameOrder() const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::SystemDisplayNameOrder() const { winrt::Windows::ApplicationModel::Contacts::ContactNameOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->get_SystemDisplayNameOrder(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::SystemDisplayNameOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::SystemDisplayNameOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->put_SystemDisplayNameOrder(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::SystemSortOrder() const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::SystemSortOrder() const { winrt::Windows::ApplicationModel::Contacts::ContactNameOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->get_SystemSortOrder(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::SystemSortOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3::SystemSortOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->put_SystemSortOrder(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactManagerForUser) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics4::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics4::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics4)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::ApplicationModel::Contacts::ContactManagerForUser{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics5::IsShowFullContactCardSupportedAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics5::IsShowFullContactCardSupportedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics5)->IsShowFullContactCardSupportedAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics5::IncludeMiddleNameInSystemDisplayAndSort() const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics5::IncludeMiddleNameInSystemDisplayAndSort() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics5)->get_IncludeMiddleNameInSystemDisplayAndSort(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics5::IncludeMiddleNameInSystemDisplayAndSort(bool value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics5::IncludeMiddleNameInSystemDisplayAndSort(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics5)->put_IncludeMiddleNameInSystemDisplayAndSort(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactMatchReasonKind) consume_Windows_ApplicationModel_Contacts_IContactMatchReason::Field() const + template auto consume_Windows_ApplicationModel_Contacts_IContactMatchReason::Field() const { winrt::Windows::ApplicationModel::Contacts::ContactMatchReasonKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactMatchReason)->get_Field(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Contacts_IContactMatchReason::Segments() const + template auto consume_Windows_ApplicationModel_Contacts_IContactMatchReason::Segments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactMatchReason)->get_Segments(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactMatchReason::Text() const + template auto consume_Windows_ApplicationModel_Contacts_IContactMatchReason::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactMatchReason)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName::FirstName() const + template auto consume_Windows_ApplicationModel_Contacts_IContactName::FirstName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->get_FirstName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactName::FirstName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactName::FirstName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->put_FirstName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName::LastName() const + template auto consume_Windows_ApplicationModel_Contacts_IContactName::LastName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->get_LastName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactName::LastName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactName::LastName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->put_LastName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName::MiddleName() const + template auto consume_Windows_ApplicationModel_Contacts_IContactName::MiddleName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->get_MiddleName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactName::MiddleName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactName::MiddleName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->put_MiddleName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName::YomiGivenName() const + template auto consume_Windows_ApplicationModel_Contacts_IContactName::YomiGivenName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->get_YomiGivenName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactName::YomiGivenName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactName::YomiGivenName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->put_YomiGivenName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName::YomiFamilyName() const + template auto consume_Windows_ApplicationModel_Contacts_IContactName::YomiFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->get_YomiFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactName::YomiFamilyName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactName::YomiFamilyName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->put_YomiFamilyName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName::HonorificNameSuffix() const + template auto consume_Windows_ApplicationModel_Contacts_IContactName::HonorificNameSuffix() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->get_HonorificNameSuffix(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactName::HonorificNameSuffix(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactName::HonorificNameSuffix(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->put_HonorificNameSuffix(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName::HonorificNamePrefix() const + template auto consume_Windows_ApplicationModel_Contacts_IContactName::HonorificNamePrefix() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->get_HonorificNamePrefix(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactName::HonorificNamePrefix(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactName::HonorificNamePrefix(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->put_HonorificNamePrefix(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName::DisplayName() const + template auto consume_Windows_ApplicationModel_Contacts_IContactName::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName::YomiDisplayName() const + template auto consume_Windows_ApplicationModel_Contacts_IContactName::YomiDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->get_YomiDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPanel::ClosePanel() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPanel::ClosePanel() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanel)->ClosePanel()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Contacts_IContactPanel::HeaderColor() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPanel::HeaderColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanel)->get_HeaderColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPanel::HeaderColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactPanel::HeaderColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanel)->put_HeaderColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_IContactPanel::LaunchFullAppRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Contacts_IContactPanel::LaunchFullAppRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanel)->add_LaunchFullAppRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Contacts_IContactPanel::LaunchFullAppRequested_revoker consume_Windows_ApplicationModel_Contacts_IContactPanel::LaunchFullAppRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Contacts_IContactPanel::LaunchFullAppRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LaunchFullAppRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPanel::LaunchFullAppRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Contacts_IContactPanel::LaunchFullAppRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanel)->remove_LaunchFullAppRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_IContactPanel::Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Contacts_IContactPanel::Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanel)->add_Closing(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Contacts_IContactPanel::Closing_revoker consume_Windows_ApplicationModel_Contacts_IContactPanel::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Contacts_IContactPanel::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closing(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPanel::Closing(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Contacts_IContactPanel::Closing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanel)->remove_Closing(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Contacts_IContactPanelClosingEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPanelClosingEventArgs::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanelClosingEventArgs)->GetDeferral(&deferral)); return winrt::Windows::Foundation::Deferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactPanelLaunchFullAppRequestedEventArgs::Handled() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPanelLaunchFullAppRequestedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanelLaunchFullAppRequestedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPanelLaunchFullAppRequestedEventArgs::Handled(bool value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactPanelLaunchFullAppRequestedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanelLaunchFullAppRequestedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactPhone::Number() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPhone::Number() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPhone)->get_Number(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPhone::Number(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactPhone::Number(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPhone)->put_Number(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactPhoneKind) consume_Windows_ApplicationModel_Contacts_IContactPhone::Kind() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPhone::Kind() const { winrt::Windows::ApplicationModel::Contacts::ContactPhoneKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPhone)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPhone::Kind(winrt::Windows::ApplicationModel::Contacts::ContactPhoneKind const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactPhone::Kind(winrt::Windows::ApplicationModel::Contacts::ContactPhoneKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPhone)->put_Kind(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactPhone::Description() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPhone::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPhone)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPhone::Description(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactPhone::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPhone)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactPicker::CommitButtonText() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPicker::CommitButtonText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker)->get_CommitButtonText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPicker::CommitButtonText(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactPicker::CommitButtonText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker)->put_CommitButtonText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode) consume_Windows_ApplicationModel_Contacts_IContactPicker::SelectionMode() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPicker::SelectionMode() const { winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker)->get_SelectionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPicker::SelectionMode(winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactPicker::SelectionMode(winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker)->put_SelectionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_IContactPicker::DesiredFields() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPicker::DesiredFields() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker)->get_DesiredFields(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactPicker::PickSingleContactAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPicker::PickSingleContactAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker)->PickSingleContactAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Contacts_IContactPicker::PickMultipleContactsAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPicker::PickMultipleContactsAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker)->PickMultipleContactsAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_IContactPicker2::DesiredFieldsWithContactFieldType() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPicker2::DesiredFieldsWithContactFieldType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker2)->get_DesiredFieldsWithContactFieldType(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactPicker2::PickContactAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPicker2::PickContactAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker2)->PickContactAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Contacts_IContactPicker2::PickContactsAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPicker2::PickContactsAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker2)->PickContactsAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Contacts_IContactPicker3::User() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPicker3::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker3)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactPicker) consume_Windows_ApplicationModel_Contacts_IContactPickerStatics::CreateForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_Contacts_IContactPickerStatics::CreateForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPickerStatics)->CreateForUser(*(void**)(&user), &result)); return winrt::Windows::ApplicationModel::Contacts::ContactPicker{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactPickerStatics::IsSupportedAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactPickerStatics::IsSupportedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPickerStatics)->IsSupportedAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQueryTextSearch) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::TextSearch() const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::TextSearch() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->get_TextSearch(&value)); return winrt::Windows::ApplicationModel::Contacts::ContactQueryTextSearch{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::ContactListIds() const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::ContactListIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->get_ContactListIds(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::IncludeContactsFromHiddenLists() const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::IncludeContactsFromHiddenLists() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->get_IncludeContactsFromHiddenLists(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::IncludeContactsFromHiddenLists(bool value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::IncludeContactsFromHiddenLists(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->put_IncludeContactsFromHiddenLists(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQueryDesiredFields) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::DesiredFields() const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::DesiredFields() const { winrt::Windows::ApplicationModel::Contacts::ContactQueryDesiredFields value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->get_DesiredFields(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::DesiredFields(winrt::Windows::ApplicationModel::Contacts::ContactQueryDesiredFields const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::DesiredFields(winrt::Windows::ApplicationModel::Contacts::ContactQueryDesiredFields const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->put_DesiredFields(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::DesiredOperations() const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::DesiredOperations() const { winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->get_DesiredOperations(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::DesiredOperations(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::DesiredOperations(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->put_DesiredOperations(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::AnnotationListIds() const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions::AnnotationListIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->get_AnnotationListIds(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions) consume_Windows_ApplicationModel_Contacts_IContactQueryOptionsFactory::CreateWithText(param::hstring const& text) const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptionsFactory::CreateWithText(param::hstring const& text) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptionsFactory)->CreateWithText(*(void**)(&text), &result)); return winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions) consume_Windows_ApplicationModel_Contacts_IContactQueryOptionsFactory::CreateWithTextAndFields(param::hstring const& text, winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchFields const& fields) const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptionsFactory::CreateWithTextAndFields(param::hstring const& text, winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchFields const& fields) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptionsFactory)->CreateWithTextAndFields(*(void**)(&text), static_cast(fields), &result)); return winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchFields) consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch::Fields() const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch::Fields() const { winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchFields value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryTextSearch)->get_Fields(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch::Fields(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchFields const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch::Fields(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchFields const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryTextSearch)->put_Fields(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch::Text() const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryTextSearch)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch::Text(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryTextSearch)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchScope) consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch::SearchScope() const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch::SearchScope() const { winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchScope value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryTextSearch)->get_SearchScope(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch::SearchScope(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchScope const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch::SearchScope(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchScope const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryTextSearch)->put_SearchScope(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactReader::ReadBatchAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactReader::ReadBatchAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactReader)->ReadBatchAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Contacts_IContactReader::GetMatchingPropertiesWithMatchReason(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const + template auto consume_Windows_ApplicationModel_Contacts_IContactReader::GetMatchingPropertiesWithMatchReason(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const { void* ppRetVal{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactReader)->GetMatchingPropertiesWithMatchReason(*(void**)(&contact), &ppRetVal)); return winrt::Windows::Foundation::Collections::IVectorView{ ppRetVal, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactSignificantOther::Name() const + template auto consume_Windows_ApplicationModel_Contacts_IContactSignificantOther::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactSignificantOther)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactSignificantOther::Name(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactSignificantOther::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactSignificantOther)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactSignificantOther::Description() const + template auto consume_Windows_ApplicationModel_Contacts_IContactSignificantOther::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactSignificantOther)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactSignificantOther::Description(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactSignificantOther::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactSignificantOther)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactRelationship) consume_Windows_ApplicationModel_Contacts_IContactSignificantOther2::Relationship() const + template auto consume_Windows_ApplicationModel_Contacts_IContactSignificantOther2::Relationship() const { winrt::Windows::ApplicationModel::Contacts::ContactRelationship value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactSignificantOther2)->get_Relationship(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactSignificantOther2::Relationship(winrt::Windows::ApplicationModel::Contacts::ContactRelationship const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactSignificantOther2::Relationship(winrt::Windows::ApplicationModel::Contacts::ContactRelationship const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactSignificantOther2)->put_Relationship(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Contacts_IContactStore::FindContactsAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactStore::FindContactsAsync() const { void* contacts{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore)->FindContactsAsync(&contacts)); return winrt::Windows::Foundation::IAsyncOperation>{ contacts, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Contacts_IContactStore::FindContactsAsync(param::hstring const& searchText) const + template auto consume_Windows_ApplicationModel_Contacts_IContactStore::FindContactsAsync(param::hstring const& searchText) const { void* contacts{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore)->FindContactsWithSearchTextAsync(*(void**)(&searchText), &contacts)); return winrt::Windows::Foundation::IAsyncOperation>{ contacts, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactStore::GetContactAsync(param::hstring const& contactId) const + template auto consume_Windows_ApplicationModel_Contacts_IContactStore::GetContactAsync(param::hstring const& contactId) const { void* contacts{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore)->GetContactAsync(*(void**)(&contactId), &contacts)); return winrt::Windows::Foundation::IAsyncOperation{ contacts, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker) consume_Windows_ApplicationModel_Contacts_IContactStore2::ChangeTracker() const + template auto consume_Windows_ApplicationModel_Contacts_IContactStore2::ChangeTracker() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore2)->get_ChangeTracker(&value)); return winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_IContactStore2::ContactChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactStore2::ContactChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore2)->add_ContactChanged(*(void**)(&value), put_abi(returnValue))); return returnValue; } - template typename consume_Windows_ApplicationModel_Contacts_IContactStore2::ContactChanged_revoker consume_Windows_ApplicationModel_Contacts_IContactStore2::ContactChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactStore2::ContactChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, ContactChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactStore2::ContactChanged(winrt::event_token const& value) const noexcept + template auto consume_Windows_ApplicationModel_Contacts_IContactStore2::ContactChanged(winrt::event_token const& value) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore2)->remove_ContactChanged(impl::bind_in(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::AggregateContactManager) consume_Windows_ApplicationModel_Contacts_IContactStore2::AggregateContactManager() const + template auto consume_Windows_ApplicationModel_Contacts_IContactStore2::AggregateContactManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore2)->get_AggregateContactManager(&value)); return winrt::Windows::ApplicationModel::Contacts::AggregateContactManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Contacts_IContactStore2::FindContactListsAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactStore2::FindContactListsAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore2)->FindContactListsAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactStore2::GetContactListAsync(param::hstring const& contactListId) const + template auto consume_Windows_ApplicationModel_Contacts_IContactStore2::GetContactListAsync(param::hstring const& contactListId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore2)->GetContactListAsync(*(void**)(&contactListId), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactStore2::CreateContactListAsync(param::hstring const& displayName) const + template auto consume_Windows_ApplicationModel_Contacts_IContactStore2::CreateContactListAsync(param::hstring const& displayName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore2)->CreateContactListAsync(*(void**)(&displayName), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactStore2::GetMeContactAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IContactStore2::GetMeContactAsync() const { void* meContact{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore2)->GetMeContactAsync(&meContact)); return winrt::Windows::Foundation::IAsyncOperation{ meContact, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactReader) consume_Windows_ApplicationModel_Contacts_IContactStore2::GetContactReader() const + template auto consume_Windows_ApplicationModel_Contacts_IContactStore2::GetContactReader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore2)->GetContactReader(&value)); return winrt::Windows::ApplicationModel::Contacts::ContactReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactReader) consume_Windows_ApplicationModel_Contacts_IContactStore2::GetContactReader(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions const& options) const + template auto consume_Windows_ApplicationModel_Contacts_IContactStore2::GetContactReader(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions const& options) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore2)->GetContactReaderWithOptions(*(void**)(&options), &value)); return winrt::Windows::ApplicationModel::Contacts::ContactReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IContactStore2::CreateContactListAsync(param::hstring const& displayName, param::hstring const& userDataAccountId) const + template auto consume_Windows_ApplicationModel_Contacts_IContactStore2::CreateContactListAsync(param::hstring const& displayName, param::hstring const& userDataAccountId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore2)->CreateContactListInAccountAsync(*(void**)(&displayName), *(void**)(&userDataAccountId), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker) consume_Windows_ApplicationModel_Contacts_IContactStore3::GetChangeTracker(param::hstring const& identity) const + template auto consume_Windows_ApplicationModel_Contacts_IContactStore3::GetChangeTracker(param::hstring const& identity) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore3)->GetChangeTracker(*(void**)(&identity), &result)); return winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Contacts_IContactWebsite::Uri() const + template auto consume_Windows_ApplicationModel_Contacts_IContactWebsite::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactWebsite)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactWebsite::Uri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactWebsite::Uri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactWebsite)->put_Uri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactWebsite::Description() const + template auto consume_Windows_ApplicationModel_Contacts_IContactWebsite::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactWebsite)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactWebsite::Description(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactWebsite::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactWebsite)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactWebsite2::RawValue() const + template auto consume_Windows_ApplicationModel_Contacts_IContactWebsite2::RawValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactWebsite2)->get_RawValue(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactWebsite2::RawValue(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IContactWebsite2::RawValue(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactWebsite2)->put_RawValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ViewSizePreference) consume_Windows_ApplicationModel_Contacts_IFullContactCardOptions::DesiredRemainingView() const + template auto consume_Windows_ApplicationModel_Contacts_IFullContactCardOptions::DesiredRemainingView() const { winrt::Windows::UI::ViewManagement::ViewSizePreference value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IFullContactCardOptions)->get_DesiredRemainingView(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IFullContactCardOptions::DesiredRemainingView(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const + template auto consume_Windows_ApplicationModel_Contacts_IFullContactCardOptions::DesiredRemainingView(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IFullContactCardOptions)->put_DesiredRemainingView(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics::Email() const + template auto consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics::Email() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IKnownContactFieldStatics)->get_Email(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics::PhoneNumber() const + template auto consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics::PhoneNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IKnownContactFieldStatics)->get_PhoneNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics::Location() const + template auto consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IKnownContactFieldStatics)->get_Location(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics::InstantMessage() const + template auto consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics::InstantMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IKnownContactFieldStatics)->get_InstantMessage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactFieldType) consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics::ConvertNameToType(param::hstring const& name) const + template auto consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics::ConvertNameToType(param::hstring const& name) const { winrt::Windows::ApplicationModel::Contacts::ContactFieldType type{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IKnownContactFieldStatics)->ConvertNameToType(*(void**)(&name), reinterpret_cast(&type))); return type; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics::ConvertTypeToName(winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type) const + template auto consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics::ConvertTypeToName(winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type) const { void* name{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IKnownContactFieldStatics)->ConvertTypeToName(static_cast(type), &name)); return hstring{ name, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Contacts_IPinnedContactIdsQueryResult::ContactIds() const + template auto consume_Windows_ApplicationModel_Contacts_IPinnedContactIdsQueryResult::ContactIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactIdsQueryResult)->get_ContactIds(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Contacts_IPinnedContactManager::User() const + template auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManager::User() const { void* user{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactManager)->get_User(&user)); return winrt::Windows::System::User{ user, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IPinnedContactManager::IsPinSurfaceSupported(winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const + template auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManager::IsPinSurfaceSupported(winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactManager)->IsPinSurfaceSupported(static_cast(surface), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IPinnedContactManager::IsContactPinned(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const + template auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManager::IsContactPinned(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactManager)->IsContactPinned(*(void**)(&contact), static_cast(surface), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IPinnedContactManager::RequestPinContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const + template auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManager::RequestPinContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactManager)->RequestPinContactAsync(*(void**)(&contact), static_cast(surface), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IPinnedContactManager::RequestPinContactsAsync(param::async_iterable const& contacts, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const + template auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManager::RequestPinContactsAsync(param::async_iterable const& contacts, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactManager)->RequestPinContactsAsync(*(void**)(&contacts), static_cast(surface), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IPinnedContactManager::RequestUnpinContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const + template auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManager::RequestUnpinContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactManager)->RequestUnpinContactAsync(*(void**)(&contact), static_cast(surface), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IPinnedContactManager::SignalContactActivity(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const + template auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManager::SignalContactActivity(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactManager)->SignalContactActivity(*(void**)(&contact))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Contacts_IPinnedContactManager::GetPinnedContactIdsAsync() const + template auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManager::GetPinnedContactIdsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactManager)->GetPinnedContactIdsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::PinnedContactManager) consume_Windows_ApplicationModel_Contacts_IPinnedContactManagerStatics::GetDefault() const + template auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManagerStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactManagerStatics)->GetDefault(&result)); return winrt::Windows::ApplicationModel::Contacts::PinnedContactManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::PinnedContactManager) consume_Windows_ApplicationModel_Contacts_IPinnedContactManagerStatics::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManagerStatics::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactManagerStatics)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::ApplicationModel::Contacts::PinnedContactManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IPinnedContactManagerStatics::IsSupported() const + template auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManagerStatics::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactManagerStatics)->IsSupported(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ConversationalAgent.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ConversationalAgent.h index 4fddfc62..a9f86b80 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ConversationalAgent.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ConversationalAgent.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_ConversationalAgent_H #define WINRT_Windows_ApplicationModel_ConversationalAgent_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,579 +14,579 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.ConversationalAgent.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::SignalId() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::SignalId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->get_SignalId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::ModelId() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::ModelId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->get_ModelId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::DisplayName() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::IsActive() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::IsActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->get_IsActive(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::SetEnabled(bool value) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::SetEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->SetEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::SetEnabledAsync(bool value) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::SetEnabledAsync(bool value) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->SetEnabledAsync(value, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityInfo) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::AvailabilityInfo() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::AvailabilityInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->get_AvailabilityInfo(&value)); return winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->add_AvailabilityChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::AvailabilityChanged_revoker consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AvailabilityChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::AvailabilityChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::AvailabilityChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->remove_AvailabilityChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::SetModelData(param::hstring const& dataType, winrt::Windows::Storage::Streams::IInputStream const& data) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::SetModelData(param::hstring const& dataType, winrt::Windows::Storage::Streams::IInputStream const& data) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->SetModelData(*(void**)(&dataType), *(void**)(&data))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::SetModelDataAsync(param::hstring const& dataType, winrt::Windows::Storage::Streams::IInputStream const& data) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::SetModelDataAsync(param::hstring const& dataType, winrt::Windows::Storage::Streams::IInputStream const& data) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->SetModelDataAsync(*(void**)(&dataType), *(void**)(&data), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::GetModelDataType() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::GetModelDataType() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->GetModelDataType(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::GetModelDataTypeAsync() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::GetModelDataTypeAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->GetModelDataTypeAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::GetModelData() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::GetModelData() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->GetModelData(&result)); return winrt::Windows::Storage::Streams::IInputStream{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::GetModelDataAsync() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::GetModelDataAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->GetModelDataAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::ClearModelData() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::ClearModelData() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->ClearModelData()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::ClearModelDataAsync() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::ClearModelDataAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->ClearModelDataAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::TrainingStepsCompleted() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::TrainingStepsCompleted() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->get_TrainingStepsCompleted(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::TrainingStepsRemaining() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::TrainingStepsRemaining() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->get_TrainingStepsRemaining(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::TrainingDataFormat() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::TrainingDataFormat() const { winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->get_TrainingDataFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationTrainingStatus) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::ApplyTrainingData(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat const& trainingDataFormat, winrt::Windows::Storage::Streams::IInputStream const& trainingData) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::ApplyTrainingData(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat const& trainingDataFormat, winrt::Windows::Storage::Streams::IInputStream const& trainingData) const { winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationTrainingStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->ApplyTrainingData(static_cast(trainingDataFormat), *(void**)(&trainingData), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::ApplyTrainingDataAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat const& trainingDataFormat, winrt::Windows::Storage::Streams::IInputStream const& trainingData) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::ApplyTrainingDataAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat const& trainingDataFormat, winrt::Windows::Storage::Streams::IInputStream const& trainingData) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->ApplyTrainingDataAsync(static_cast(trainingDataFormat), *(void**)(&trainingData), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::ClearTrainingData() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::ClearTrainingData() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->ClearTrainingData()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::ClearTrainingDataAsync() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration::ClearTrainingDataAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->ClearTrainingDataAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::ProviderId() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::Kind() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::Kind() const { winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::CanCreateConfigurations() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::CanCreateConfigurations() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->get_CanCreateConfigurations(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::SupportedModelDataTypes() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::SupportedModelDataTypes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->get_SupportedModelDataTypes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::SupportedTrainingDataFormats() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::SupportedTrainingDataFormats() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->get_SupportedTrainingDataFormats(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::SupportedPowerStates() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::SupportedPowerStates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->get_SupportedPowerStates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::GetSupportedModelIdsForSignalId(param::hstring const& signalId) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::GetSupportedModelIdsForSignalId(param::hstring const& signalId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->GetSupportedModelIdsForSignalId(*(void**)(&signalId), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::GetSupportedModelIdsForSignalIdAsync(param::hstring const& signalId) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::GetSupportedModelIdsForSignalIdAsync(param::hstring const& signalId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->GetSupportedModelIdsForSignalIdAsync(*(void**)(&signalId), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::CreateConfiguration(param::hstring const& signalId, param::hstring const& modelId, param::hstring const& displayName) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::CreateConfiguration(param::hstring const& signalId, param::hstring const& modelId, param::hstring const& displayName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->CreateConfiguration(*(void**)(&signalId), *(void**)(&modelId), *(void**)(&displayName))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::CreateConfigurationAsync(param::hstring const& signalId, param::hstring const& modelId, param::hstring const& displayName) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::CreateConfigurationAsync(param::hstring const& signalId, param::hstring const& modelId, param::hstring const& displayName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->CreateConfigurationAsync(*(void**)(&signalId), *(void**)(&modelId), *(void**)(&displayName), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::GetConfigurations() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::GetConfigurations() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->GetConfigurations(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::GetConfigurationsAsync() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::GetConfigurationsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->GetConfigurationsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::GetConfiguration(param::hstring const& signalId, param::hstring const& modelId) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::GetConfiguration(param::hstring const& signalId, param::hstring const& modelId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->GetConfiguration(*(void**)(&signalId), *(void**)(&modelId), &result)); return winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::GetConfigurationAsync(param::hstring const& signalId, param::hstring const& modelId) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::GetConfigurationAsync(param::hstring const& signalId, param::hstring const& modelId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->GetConfigurationAsync(*(void**)(&signalId), *(void**)(&modelId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::RemoveConfiguration(param::hstring const& signalId, param::hstring const& modelId) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::RemoveConfiguration(param::hstring const& signalId, param::hstring const& modelId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->RemoveConfiguration(*(void**)(&signalId), *(void**)(&modelId))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::RemoveConfigurationAsync(param::hstring const& signalId, param::hstring const& modelId) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector::RemoveConfigurationAsync(param::hstring const& signalId, param::hstring const& modelId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->RemoveConfigurationAsync(*(void**)(&signalId), *(void**)(&modelId), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager::GetAllActivationSignalDetectors() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager::GetAllActivationSignalDetectors() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentDetectorManager)->GetAllActivationSignalDetectors(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager::GetAllActivationSignalDetectorsAsync() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager::GetAllActivationSignalDetectorsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentDetectorManager)->GetAllActivationSignalDetectorsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager::GetActivationSignalDetectors(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind const& kind) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager::GetActivationSignalDetectors(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind const& kind) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentDetectorManager)->GetActivationSignalDetectors(static_cast(kind), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager::GetActivationSignalDetectorsAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind const& kind) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager::GetActivationSignalDetectorsAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind const& kind) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentDetectorManager)->GetActivationSignalDetectorsAsync(static_cast(kind), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentDetectorManager) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManagerStatics::Default() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManagerStatics::Default() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentDetectorManagerStatics)->get_Default(&value)); return winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentDetectorManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SessionInterrupted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SessionInterrupted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->add_SessionInterrupted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SessionInterrupted_revoker consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SessionInterrupted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SessionInterrupted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SessionInterrupted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SessionInterrupted(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SessionInterrupted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->remove_SessionInterrupted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SignalDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SignalDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->add_SignalDetected(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SignalDetected_revoker consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SignalDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SignalDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SignalDetected(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SignalDetected(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SignalDetected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->remove_SignalDetected(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SystemStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SystemStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->add_SystemStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SystemStateChanged_revoker consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SystemStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SystemStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SystemStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SystemStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SystemStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->remove_SystemStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentState) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::AgentState() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::AgentState() const { winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->get_AgentState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSignal) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::Signal() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::Signal() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->get_Signal(&value)); return winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSignal{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::IsIndicatorLightAvailable() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::IsIndicatorLightAvailable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->get_IsIndicatorLightAvailable(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::IsScreenAvailable() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::IsScreenAvailable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->get_IsScreenAvailable(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::IsUserAuthenticated() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::IsUserAuthenticated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->get_IsUserAuthenticated(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::IsVoiceActivationAvailable() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::IsVoiceActivationAvailable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->get_IsVoiceActivationAvailable(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::IsInterruptible() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::IsInterruptible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->get_IsInterruptible(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::IsInterrupted() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::IsInterrupted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->get_IsInterrupted(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::RequestInterruptibleAsync(bool interruptible) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::RequestInterruptibleAsync(bool interruptible) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->RequestInterruptibleAsync(interruptible, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::RequestInterruptible(bool interruptible) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::RequestInterruptible(bool interruptible) const { winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->RequestInterruptible(interruptible, reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::RequestAgentStateChangeAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentState const& state) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::RequestAgentStateChangeAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentState const& state) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->RequestAgentStateChangeAsync(static_cast(state), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::RequestAgentStateChange(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentState const& state) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::RequestAgentStateChange(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentState const& state) const { winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->RequestAgentStateChange(static_cast(state), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::RequestForegroundActivationAsync() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::RequestForegroundActivationAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->RequestForegroundActivationAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::RequestForegroundActivation() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::RequestForegroundActivation() const { winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->RequestForegroundActivation(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetAudioClientAsync() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetAudioClientAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetAudioClientAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetAudioClient() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetAudioClient() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetAudioClient(&result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::CreateAudioDeviceInputNodeAsync(winrt::Windows::Media::Audio::AudioGraph const& graph) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::CreateAudioDeviceInputNodeAsync(winrt::Windows::Media::Audio::AudioGraph const& graph) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->CreateAudioDeviceInputNodeAsync(*(void**)(&graph), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioDeviceInputNode) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::CreateAudioDeviceInputNode(winrt::Windows::Media::Audio::AudioGraph const& graph) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::CreateAudioDeviceInputNode(winrt::Windows::Media::Audio::AudioGraph const& graph) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->CreateAudioDeviceInputNode(*(void**)(&graph), &result)); return winrt::Windows::Media::Audio::AudioDeviceInputNode{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetAudioCaptureDeviceIdAsync() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetAudioCaptureDeviceIdAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetAudioCaptureDeviceIdAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetAudioCaptureDeviceId() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetAudioCaptureDeviceId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetAudioCaptureDeviceId(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetAudioRenderDeviceIdAsync() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetAudioRenderDeviceIdAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetAudioRenderDeviceIdAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetAudioRenderDeviceId() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetAudioRenderDeviceId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetAudioRenderDeviceId(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetSignalModelIdAsync() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetSignalModelIdAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetSignalModelIdAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetSignalModelId() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetSignalModelId() const { uint32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetSignalModelId(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SetSignalModelIdAsync(uint32_t signalModelId) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SetSignalModelIdAsync(uint32_t signalModelId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->SetSignalModelIdAsync(signalModelId, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SetSignalModelId(uint32_t signalModelId) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::SetSignalModelId(uint32_t signalModelId) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->SetSignalModelId(signalModelId, &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetSupportedSignalModelIdsAsync() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetSupportedSignalModelIdsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetSupportedSignalModelIdsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetSupportedSignalModelIds() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession::GetSupportedSignalModelIds() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetSupportedSignalModelIds(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSessionStatics::GetCurrentSessionAsync() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSessionStatics::GetCurrentSessionAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSessionStatics)->GetCurrentSessionAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSessionStatics::GetCurrentSessionSync() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSessionStatics::GetCurrentSessionSync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSessionStatics)->GetCurrentSessionSync(&result)); return winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::IsSignalVerificationRequired() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::IsSignalVerificationRequired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->get_IsSignalVerificationRequired(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::IsSignalVerificationRequired(bool value) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::IsSignalVerificationRequired(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->put_IsSignalVerificationRequired(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalId() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->get_SignalId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->put_SignalId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalName() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->get_SignalName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->put_SignalName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalContext() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->get_SignalContext(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalContext(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalContext(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->put_SignalContext(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalStart() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalStart() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->get_SignalStart(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalStart(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalStart(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->put_SignalStart(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalEnd() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalEnd() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->get_SignalEnd(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalEnd(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal::SignalEnd(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->put_SignalEnd(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSystemStateChangeType) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSystemStateChangedEventArgs::SystemStateChangeType() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSystemStateChangedEventArgs::SystemStateChangeType() const { winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSystemStateChangeType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSystemStateChangedEventArgs)->get_SystemStateChangeType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityChangeKind) consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityChangedEventArgs::Kind() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityChangedEventArgs::Kind() const { winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityChangeKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IDetectionConfigurationAvailabilityChangedEventArgs)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo::IsEnabled() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IDetectionConfigurationAvailabilityInfo)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo::HasSystemResourceAccess() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo::HasSystemResourceAccess() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IDetectionConfigurationAvailabilityInfo)->get_HasSystemResourceAccess(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo::HasPermission() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo::HasPermission() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IDetectionConfigurationAvailabilityInfo)->get_HasPermission(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo::HasLockScreenPermission() const + template auto consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo::HasLockScreenPermission() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IDetectionConfigurationAvailabilityInfo)->get_HasLockScreenPermission(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Core.h index 126d565c..083489b9 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Core.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Core_H #define WINRT_Windows_ApplicationModel_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.ApplicationModel.2.h" #include "winrt/impl/Windows.ApplicationModel.Activation.2.h" @@ -16,399 +16,399 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppDisplayInfo) consume_Windows_ApplicationModel_Core_IAppListEntry::DisplayInfo() const + template auto consume_Windows_ApplicationModel_Core_IAppListEntry::DisplayInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IAppListEntry)->get_DisplayInfo(&value)); return winrt::Windows::ApplicationModel::AppDisplayInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Core_IAppListEntry::LaunchAsync() const + template auto consume_Windows_ApplicationModel_Core_IAppListEntry::LaunchAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IAppListEntry)->LaunchAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Core_IAppListEntry2::AppUserModelId() const + template auto consume_Windows_ApplicationModel_Core_IAppListEntry2::AppUserModelId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IAppListEntry2)->get_AppUserModelId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Core_IAppListEntry3::LaunchForUserAsync(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_Core_IAppListEntry3::LaunchForUserAsync(winrt::Windows::System::User const& user) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IAppListEntry3)->LaunchForUserAsync(*(void**)(&user), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_ApplicationModel_Core_IAppListEntry4::AppInfo() const + template auto consume_Windows_ApplicationModel_Core_IAppListEntry4::AppInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IAppListEntry4)->get_AppInfo(&value)); return winrt::Windows::ApplicationModel::AppInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Core_ICoreApplication::Id() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplication::Suspending(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication::Suspending(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication)->add_Suspending(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Core_ICoreApplication::Suspending_revoker consume_Windows_ApplicationModel_Core_ICoreApplication::Suspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication::Suspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Suspending(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplication::Suspending(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Core_ICoreApplication::Suspending(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication)->remove_Suspending(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplication::Resuming(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication::Resuming(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication)->add_Resuming(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Core_ICoreApplication::Resuming_revoker consume_Windows_ApplicationModel_Core_ICoreApplication::Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication::Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Resuming(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplication::Resuming(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Core_ICoreApplication::Resuming(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication)->remove_Resuming(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_ApplicationModel_Core_ICoreApplication::Properties() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationView) consume_Windows_ApplicationModel_Core_ICoreApplication::GetCurrentView() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication::GetCurrentView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication)->GetCurrentView(&value)); return winrt::Windows::ApplicationModel::Core::CoreApplicationView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplication::Run(winrt::Windows::ApplicationModel::Core::IFrameworkViewSource const& viewSource) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication::Run(winrt::Windows::ApplicationModel::Core::IFrameworkViewSource const& viewSource) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication)->Run(*(void**)(&viewSource))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplication::RunWithActivationFactories(winrt::Windows::Foundation::IGetActivationFactory const& activationFactoryCallback) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication::RunWithActivationFactories(winrt::Windows::Foundation::IGetActivationFactory const& activationFactoryCallback) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication)->RunWithActivationFactories(*(void**)(&activationFactoryCallback))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplication2::BackgroundActivated(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication2::BackgroundActivated(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication2)->add_BackgroundActivated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Core_ICoreApplication2::BackgroundActivated_revoker consume_Windows_ApplicationModel_Core_ICoreApplication2::BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication2::BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, BackgroundActivated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplication2::BackgroundActivated(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Core_ICoreApplication2::BackgroundActivated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication2)->remove_BackgroundActivated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplication2::LeavingBackground(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication2::LeavingBackground(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication2)->add_LeavingBackground(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Core_ICoreApplication2::LeavingBackground_revoker consume_Windows_ApplicationModel_Core_ICoreApplication2::LeavingBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication2::LeavingBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, LeavingBackground(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplication2::LeavingBackground(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Core_ICoreApplication2::LeavingBackground(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication2)->remove_LeavingBackground(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplication2::EnteredBackground(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication2::EnteredBackground(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication2)->add_EnteredBackground(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Core_ICoreApplication2::EnteredBackground_revoker consume_Windows_ApplicationModel_Core_ICoreApplication2::EnteredBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication2::EnteredBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, EnteredBackground(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplication2::EnteredBackground(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Core_ICoreApplication2::EnteredBackground(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication2)->remove_EnteredBackground(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplication2::EnablePrelaunch(bool value) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication2::EnablePrelaunch(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication2)->EnablePrelaunch(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Core_ICoreApplication3::RequestRestartAsync(param::hstring const& launchArguments) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication3::RequestRestartAsync(param::hstring const& launchArguments) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication3)->RequestRestartAsync(*(void**)(&launchArguments), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Core_ICoreApplication3::RequestRestartForUserAsync(winrt::Windows::System::User const& user, param::hstring const& launchArguments) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplication3::RequestRestartForUserAsync(winrt::Windows::System::User const& user, param::hstring const& launchArguments) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication3)->RequestRestartForUserAsync(*(void**)(&user), *(void**)(&launchArguments), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationExit::Exit() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationExit::Exit() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationExit)->Exit()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplicationExit::Exiting(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationExit::Exiting(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationExit)->add_Exiting(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Core_ICoreApplicationExit::Exiting_revoker consume_Windows_ApplicationModel_Core_ICoreApplicationExit::Exiting(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationExit::Exiting(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Exiting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationExit::Exiting(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationExit::Exiting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationExit)->remove_Exiting(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplicationUnhandledError::UnhandledErrorDetected(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationUnhandledError::UnhandledErrorDetected(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationUnhandledError)->add_UnhandledErrorDetected(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Core_ICoreApplicationUnhandledError::UnhandledErrorDetected_revoker consume_Windows_ApplicationModel_Core_ICoreApplicationUnhandledError::UnhandledErrorDetected(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationUnhandledError::UnhandledErrorDetected(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, UnhandledErrorDetected(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationUnhandledError::UnhandledErrorDetected(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationUnhandledError::UnhandledErrorDetected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationUnhandledError)->remove_UnhandledErrorDetected(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationUseCount::IncrementApplicationUseCount() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationUseCount::IncrementApplicationUseCount() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationUseCount)->IncrementApplicationUseCount()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationUseCount::DecrementApplicationUseCount() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationUseCount::DecrementApplicationUseCount() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationUseCount)->DecrementApplicationUseCount()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindow) consume_Windows_ApplicationModel_Core_ICoreApplicationView::CoreWindow() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationView::CoreWindow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView)->get_CoreWindow(&value)); return winrt::Windows::UI::Core::CoreWindow{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplicationView::Activated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationView::Activated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView)->add_Activated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Core_ICoreApplicationView::Activated_revoker consume_Windows_ApplicationModel_Core_ICoreApplicationView::Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationView::Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Activated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationView::Activated(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationView::Activated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView)->remove_Activated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Core_ICoreApplicationView::IsMain() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationView::IsMain() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView)->get_IsMain(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Core_ICoreApplicationView::IsHosted() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationView::IsHosted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView)->get_IsHosted(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) consume_Windows_ApplicationModel_Core_ICoreApplicationView2::Dispatcher() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationView2::Dispatcher() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView2)->get_Dispatcher(&value)); return winrt::Windows::UI::Core::CoreDispatcher{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Core_ICoreApplicationView3::IsComponent() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationView3::IsComponent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView3)->get_IsComponent(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar) consume_Windows_ApplicationModel_Core_ICoreApplicationView3::TitleBar() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationView3::TitleBar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView3)->get_TitleBar(&value)); return winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplicationView3::HostedViewClosing(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationView3::HostedViewClosing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView3)->add_HostedViewClosing(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Core_ICoreApplicationView3::HostedViewClosing_revoker consume_Windows_ApplicationModel_Core_ICoreApplicationView3::HostedViewClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationView3::HostedViewClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, HostedViewClosing(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationView3::HostedViewClosing(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationView3::HostedViewClosing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView3)->remove_HostedViewClosing(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_ApplicationModel_Core_ICoreApplicationView5::Properties() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationView5::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView5)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_ApplicationModel_Core_ICoreApplicationView6::DispatcherQueue() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationView6::DispatcherQueue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView6)->get_DispatcherQueue(&value)); return winrt::Windows::System::DispatcherQueue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::ExtendViewIntoTitleBar(bool value) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::ExtendViewIntoTitleBar(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->put_ExtendViewIntoTitleBar(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::ExtendViewIntoTitleBar() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::ExtendViewIntoTitleBar() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->get_ExtendViewIntoTitleBar(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::SystemOverlayLeftInset() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::SystemOverlayLeftInset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->get_SystemOverlayLeftInset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::SystemOverlayRightInset() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::SystemOverlayRightInset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->get_SystemOverlayRightInset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::Height() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::Height() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::LayoutMetricsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::LayoutMetricsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->add_LayoutMetricsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::LayoutMetricsChanged_revoker consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::LayoutMetricsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::LayoutMetricsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LayoutMetricsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::LayoutMetricsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::LayoutMetricsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->remove_LayoutMetricsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::IsVisible() const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::IsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->get_IsVisible(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::IsVisibleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::IsVisibleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->add_IsVisibleChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::IsVisibleChanged_revoker consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::IsVisibleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::IsVisibleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsVisibleChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::IsVisibleChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar::IsVisibleChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->remove_IsVisibleChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication::Views() const + template auto consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication::Views() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreImmersiveApplication)->get_Views(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationView) consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication::CreateNewView(param::hstring const& runtimeType, param::hstring const& entryPoint) const + template auto consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication::CreateNewView(param::hstring const& runtimeType, param::hstring const& entryPoint) const { void* view{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreImmersiveApplication)->CreateNewView(*(void**)(&runtimeType), *(void**)(&entryPoint), &view)); return winrt::Windows::ApplicationModel::Core::CoreApplicationView{ view, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationView) consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication::MainView() const + template auto consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication::MainView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreImmersiveApplication)->get_MainView(&value)); return winrt::Windows::ApplicationModel::Core::CoreApplicationView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationView) consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication2::CreateNewView() const + template auto consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication2::CreateNewView() const { void* view{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreImmersiveApplication2)->CreateNewViewFromMainView(&view)); return winrt::Windows::ApplicationModel::Core::CoreApplicationView{ view, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationView) consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication3::CreateNewView(winrt::Windows::ApplicationModel::Core::IFrameworkViewSource const& viewSource) const + template auto consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication3::CreateNewView(winrt::Windows::ApplicationModel::Core::IFrameworkViewSource const& viewSource) const { void* view{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreImmersiveApplication3)->CreateNewViewWithViewSource(*(void**)(&viewSource), &view)); return winrt::Windows::ApplicationModel::Core::CoreApplicationView{ view, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_IFrameworkView::Initialize(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& applicationView) const + template auto consume_Windows_ApplicationModel_Core_IFrameworkView::Initialize(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& applicationView) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IFrameworkView)->Initialize(*(void**)(&applicationView))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_IFrameworkView::SetWindow(winrt::Windows::UI::Core::CoreWindow const& window) const + template auto consume_Windows_ApplicationModel_Core_IFrameworkView::SetWindow(winrt::Windows::UI::Core::CoreWindow const& window) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IFrameworkView)->SetWindow(*(void**)(&window))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_IFrameworkView::Load(param::hstring const& entryPoint) const + template auto consume_Windows_ApplicationModel_Core_IFrameworkView::Load(param::hstring const& entryPoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IFrameworkView)->Load(*(void**)(&entryPoint))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_IFrameworkView::Run() const + template auto consume_Windows_ApplicationModel_Core_IFrameworkView::Run() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IFrameworkView)->Run()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_IFrameworkView::Uninitialize() const + template auto consume_Windows_ApplicationModel_Core_IFrameworkView::Uninitialize() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IFrameworkView)->Uninitialize()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::IFrameworkView) consume_Windows_ApplicationModel_Core_IFrameworkViewSource::CreateView() const + template auto consume_Windows_ApplicationModel_Core_IFrameworkViewSource::CreateView() const { void* viewProvider{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IFrameworkViewSource)->CreateView(&viewProvider)); return winrt::Windows::ApplicationModel::Core::IFrameworkView{ viewProvider, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Core_IHostedViewClosingEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Core_IHostedViewClosingEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IHostedViewClosingEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Core_IUnhandledError::Handled() const + template auto consume_Windows_ApplicationModel_Core_IUnhandledError::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IUnhandledError)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_IUnhandledError::Propagate() const + template auto consume_Windows_ApplicationModel_Core_IUnhandledError::Propagate() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IUnhandledError)->Propagate()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::UnhandledError) consume_Windows_ApplicationModel_Core_IUnhandledErrorDetectedEventArgs::UnhandledError() const + template auto consume_Windows_ApplicationModel_Core_IUnhandledErrorDetectedEventArgs::UnhandledError() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IUnhandledErrorDetectedEventArgs)->get_UnhandledError(&value)); @@ -1055,10 +1055,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core { return impl::call_factory([&](ICoreApplication const& f) { return f.Suspending(handler); }); } - inline CoreApplication::Suspending_revoker CoreApplication::Suspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto CoreApplication::Suspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.Suspending(handler) }; + return CoreApplication::Suspending_revoker{ f, f.Suspending(handler) }; } inline auto CoreApplication::Suspending(winrt::event_token const& token) { @@ -1068,10 +1068,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core { return impl::call_factory([&](ICoreApplication const& f) { return f.Resuming(handler); }); } - inline CoreApplication::Resuming_revoker CoreApplication::Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto CoreApplication::Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.Resuming(handler) }; + return CoreApplication::Resuming_revoker{ f, f.Resuming(handler) }; } inline auto CoreApplication::Resuming(winrt::event_token const& token) { @@ -1097,10 +1097,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core { return impl::call_factory([&](ICoreApplication2 const& f) { return f.BackgroundActivated(handler); }); } - inline CoreApplication::BackgroundActivated_revoker CoreApplication::BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto CoreApplication::BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.BackgroundActivated(handler) }; + return CoreApplication::BackgroundActivated_revoker{ f, f.BackgroundActivated(handler) }; } inline auto CoreApplication::BackgroundActivated(winrt::event_token const& token) { @@ -1110,10 +1110,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core { return impl::call_factory([&](ICoreApplication2 const& f) { return f.LeavingBackground(handler); }); } - inline CoreApplication::LeavingBackground_revoker CoreApplication::LeavingBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto CoreApplication::LeavingBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.LeavingBackground(handler) }; + return CoreApplication::LeavingBackground_revoker{ f, f.LeavingBackground(handler) }; } inline auto CoreApplication::LeavingBackground(winrt::event_token const& token) { @@ -1123,10 +1123,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core { return impl::call_factory([&](ICoreApplication2 const& f) { return f.EnteredBackground(handler); }); } - inline CoreApplication::EnteredBackground_revoker CoreApplication::EnteredBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto CoreApplication::EnteredBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.EnteredBackground(handler) }; + return CoreApplication::EnteredBackground_revoker{ f, f.EnteredBackground(handler) }; } inline auto CoreApplication::EnteredBackground(winrt::event_token const& token) { @@ -1152,10 +1152,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core { return impl::call_factory([&](ICoreApplicationExit const& f) { return f.Exiting(handler); }); } - inline CoreApplication::Exiting_revoker CoreApplication::Exiting(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto CoreApplication::Exiting(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.Exiting(handler) }; + return CoreApplication::Exiting_revoker{ f, f.Exiting(handler) }; } inline auto CoreApplication::Exiting(winrt::event_token const& token) { @@ -1165,10 +1165,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core { return impl::call_factory([&](ICoreApplicationUnhandledError const& f) { return f.UnhandledErrorDetected(handler); }); } - inline CoreApplication::UnhandledErrorDetected_revoker CoreApplication::UnhandledErrorDetected(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto CoreApplication::UnhandledErrorDetected(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.UnhandledErrorDetected(handler) }; + return CoreApplication::UnhandledErrorDetected_revoker{ f, f.UnhandledErrorDetected(handler) }; } inline auto CoreApplication::UnhandledErrorDetected(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.DragDrop.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.DragDrop.Core.h index 5274165f..dc0c1766 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.DragDrop.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.DragDrop.Core.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_DataTransfer_DragDrop_Core_H #define WINRT_Windows_ApplicationModel_DataTransfer_DragDrop_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.DataTransfer.DragDrop.h" #include "winrt/impl/Windows.ApplicationModel.DataTransfer.2.h" #include "winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.2.h" @@ -14,181 +14,181 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager::TargetRequested(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager::TargetRequested(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragDropManager)->add_TargetRequested(*(void**)(&value), put_abi(returnValue))); return returnValue; } - template typename consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager::TargetRequested_revoker consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager::TargetRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager::TargetRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, TargetRequested(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager::TargetRequested(winrt::event_token const& value) const noexcept + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager::TargetRequested(winrt::event_token const& value) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragDropManager)->remove_TargetRequested(impl::bind_in(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager::AreConcurrentOperationsEnabled() const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager::AreConcurrentOperationsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragDropManager)->get_AreConcurrentOperationsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager::AreConcurrentOperationsEnabled(bool value) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager::AreConcurrentOperationsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragDropManager)->put_AreConcurrentOperationsEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragDropManager) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManagerStatics::GetForCurrentView() const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManagerStatics::GetForCurrentView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragDropManagerStatics)->GetForCurrentView(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragDropManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo::Data() const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragInfo)->get_Data(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackageView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::DragDropModifiers) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo::Modifiers() const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo::Modifiers() const { winrt::Windows::ApplicationModel::DataTransfer::DragDrop::DragDropModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragInfo)->get_Modifiers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo::Position() const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragInfo)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo2::AllowedOperations() const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo2::AllowedOperations() const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragInfo2)->get_AllowedOperations(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation::Data() const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragOperation)->get_Data(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation::SetPointerId(uint32_t pointerId) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation::SetPointerId(uint32_t pointerId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragOperation)->SetPointerId(pointerId)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation::SetDragUIContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation::SetDragUIContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragOperation)->SetDragUIContentFromSoftwareBitmap(*(void**)(&softwareBitmap))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation::SetDragUIContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation::SetDragUIContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragOperation)->SetDragUIContentFromSoftwareBitmapWithAnchorPoint(*(void**)(&softwareBitmap), impl::bind_in(anchorPoint))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIContentMode) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation::DragUIContentMode() const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation::DragUIContentMode() const { winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIContentMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragOperation)->get_DragUIContentMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation::DragUIContentMode(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIContentMode const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation::DragUIContentMode(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIContentMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragOperation)->put_DragUIContentMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation::StartAsync() const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation::StartAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragOperation)->StartAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation2::AllowedOperations() const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation2::AllowedOperations() const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragOperation2)->get_AllowedOperations(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation2::AllowedOperations(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation2::AllowedOperations(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragOperation2)->put_AllowedOperations(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->SetContentFromSoftwareBitmap(*(void**)(&softwareBitmap))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->SetContentFromSoftwareBitmapWithAnchorPoint(*(void**)(&softwareBitmap), impl::bind_in(anchorPoint))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::IsContentVisible() const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::IsContentVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->get_IsContentVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::IsContentVisible(bool value) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::IsContentVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->put_IsContentVisible(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::Caption() const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::Caption() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->get_Caption(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::Caption(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::Caption(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->put_Caption(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::IsCaptionVisible() const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::IsCaptionVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->get_IsCaptionVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::IsCaptionVisible(bool value) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::IsCaptionVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->put_IsCaptionVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::IsGlyphVisible() const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::IsGlyphVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->get_IsGlyphVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::IsGlyphVisible(bool value) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::IsGlyphVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->put_IsGlyphVisible(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::Clear() const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->Clear()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget::EnterAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIOverride const& dragUIOverride) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget::EnterAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIOverride const& dragUIOverride) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDropOperationTarget)->EnterAsync(*(void**)(&dragInfo), *(void**)(&dragUIOverride), &returnValue)); return winrt::Windows::Foundation::IAsyncOperation{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget::OverAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIOverride const& dragUIOverride) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget::OverAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIOverride const& dragUIOverride) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDropOperationTarget)->OverAsync(*(void**)(&dragInfo), *(void**)(&dragUIOverride), &returnValue)); return winrt::Windows::Foundation::IAsyncOperation{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget::LeaveAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget::LeaveAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDropOperationTarget)->LeaveAsync(*(void**)(&dragInfo), &returnValue)); return winrt::Windows::Foundation::IAsyncAction{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget::DropAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget::DropAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDropOperationTarget)->DropAsync(*(void**)(&dragInfo), &returnValue)); return winrt::Windows::Foundation::IAsyncOperation{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTargetRequestedEventArgs::SetTarget(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDropOperationTarget const& target) const + template auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTargetRequestedEventArgs::SetTarget(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDropOperationTarget const& target) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDropOperationTargetRequestedEventArgs)->SetTarget(*(void**)(&target))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.DragDrop.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.DragDrop.h index 176557a7..d27f8cbd 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.DragDrop.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.DragDrop.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_DataTransfer_DragDrop_H #define WINRT_Windows_ApplicationModel_DataTransfer_DragDrop_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.DataTransfer.h" #include "winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.2.h" namespace winrt::impl diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.ShareTarget.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.ShareTarget.h index 568f89c2..079ff7e0 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.ShareTarget.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.ShareTarget.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_DataTransfer_ShareTarget_H #define WINRT_Windows_ApplicationModel_DataTransfer_ShareTarget_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.DataTransfer.h" #include "winrt/impl/Windows.ApplicationModel.Contacts.2.h" #include "winrt/impl/Windows.ApplicationModel.DataTransfer.2.h" @@ -14,93 +14,93 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink::Title() const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IQuickLink)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink::Title(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IQuickLink)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink::Thumbnail() const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IQuickLink)->get_Thumbnail(&value)); return winrt::Windows::Storage::Streams::RandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink::Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink::Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IQuickLink)->put_Thumbnail(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink::Id() const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IQuickLink)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink::Id(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink::Id(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IQuickLink)->put_Id(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink::SupportedDataFormats() const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink::SupportedDataFormats() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IQuickLink)->get_SupportedDataFormats(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink::SupportedFileTypes() const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink::SupportedFileTypes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IQuickLink)->get_SupportedFileTypes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::Data() const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation)->get_Data(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackageView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::QuickLinkId() const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::QuickLinkId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation)->get_QuickLinkId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::RemoveThisQuickLink() const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::RemoveThisQuickLink() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation)->RemoveThisQuickLink()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::ReportStarted() const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::ReportStarted() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation)->ReportStarted()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::ReportDataRetrieved() const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::ReportDataRetrieved() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation)->ReportDataRetrieved()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::ReportSubmittedBackgroundTask() const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::ReportSubmittedBackgroundTask() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation)->ReportSubmittedBackgroundTask()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::ReportCompleted(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink const& quicklink) const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::ReportCompleted(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink const& quicklink) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation)->ReportCompletedWithQuickLink(*(void**)(&quicklink))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::ReportCompleted() const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::ReportCompleted() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation)->ReportCompleted()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::ReportError(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation::ReportError(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation)->ReportError(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation2::DismissUI() const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation2::DismissUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation2)->DismissUI()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation3::Contacts() const + template auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation3::Contacts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation3)->get_Contacts(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.h index a1397bec..148e574e 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_DataTransfer_H #define WINRT_Windows_ApplicationModel_DataTransfer_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -16,963 +16,963 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.DataTransfer.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions::IsRoamable() const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions::IsRoamable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardContentOptions)->get_IsRoamable(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions::IsRoamable(bool value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions::IsRoamable(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardContentOptions)->put_IsRoamable(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions::IsAllowedInHistory() const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions::IsAllowedInHistory() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardContentOptions)->get_IsAllowedInHistory(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions::IsAllowedInHistory(bool value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions::IsAllowedInHistory(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardContentOptions)->put_IsAllowedInHistory(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions::RoamingFormats() const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions::RoamingFormats() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardContentOptions)->get_RoamingFormats(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions::HistoryFormats() const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions::HistoryFormats() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardContentOptions)->get_HistoryFormats(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItem::Id() const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItem::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardHistoryItem)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItem::Timestamp() const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItem::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardHistoryItem)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItem::Content() const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItem::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardHistoryItem)->get_Content(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackageView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItemsResultStatus) consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItemsResult::Status() const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItemsResult::Status() const { winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItemsResultStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardHistoryItemsResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItemsResult::Items() const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItemsResult::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardHistoryItemsResult)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics::GetContent() const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics::GetContent() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics)->GetContent(&result)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackageView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics::SetContent(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& content) const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics::SetContent(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& content) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics)->SetContent(*(void**)(&content))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics::Flush() const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics::Flush() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics)->Flush()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics::Clear() const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics)->Clear()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics::ContentChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics::ContentChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics)->add_ContentChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics::ContentChanged_revoker consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics::ContentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics::ContentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, ContentChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics::ContentChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics::ContentChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics)->remove_ContentChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::GetHistoryItemsAsync() const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::GetHistoryItemsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->GetHistoryItemsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::ClearHistory() const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::ClearHistory() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->ClearHistory(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::DeleteItemFromHistory(winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItem const& item) const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::DeleteItemFromHistory(winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItem const& item) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->DeleteItemFromHistory(*(void**)(&item), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::SetHistoryItemAsContentStatus) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::SetHistoryItemAsContent(winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItem const& item) const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::SetHistoryItemAsContent(winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItem const& item) const { winrt::Windows::ApplicationModel::DataTransfer::SetHistoryItemAsContentStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->SetHistoryItemAsContent(*(void**)(&item), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::IsHistoryEnabled() const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::IsHistoryEnabled() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->IsHistoryEnabled(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::IsRoamingEnabled() const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::IsRoamingEnabled() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->IsRoamingEnabled(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::SetContentWithOptions(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& content, winrt::Windows::ApplicationModel::DataTransfer::ClipboardContentOptions const& options) const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::SetContentWithOptions(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& content, winrt::Windows::ApplicationModel::DataTransfer::ClipboardContentOptions const& options) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->SetContentWithOptions(*(void**)(&content), *(void**)(&options), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::HistoryChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::HistoryChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->add_HistoryChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::HistoryChanged_revoker consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, HistoryChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::HistoryChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::HistoryChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->remove_HistoryChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::RoamingEnabledChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::RoamingEnabledChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->add_RoamingEnabledChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::RoamingEnabledChanged_revoker consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::RoamingEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::RoamingEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, RoamingEnabledChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::RoamingEnabledChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::RoamingEnabledChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->remove_RoamingEnabledChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::HistoryEnabledChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::HistoryEnabledChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->add_HistoryEnabledChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::HistoryEnabledChanged_revoker consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::HistoryEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::HistoryEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, HistoryEnabledChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::HistoryEnabledChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2::HistoryEnabledChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->remove_HistoryEnabledChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::GetView() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::GetView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->GetView(&result)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackageView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackagePropertySet) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::Properties() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->get_Properties(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackagePropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::RequestedOperation() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::RequestedOperation() const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->get_RequestedOperation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::RequestedOperation(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::RequestedOperation(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->put_RequestedOperation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::OperationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::OperationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->add_OperationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_DataTransfer_IDataPackage::OperationCompleted_revoker consume_Windows_ApplicationModel_DataTransfer_IDataPackage::OperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::OperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, OperationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::OperationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::OperationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->remove_OperationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::Destroyed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::Destroyed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->add_Destroyed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_DataTransfer_IDataPackage::Destroyed_revoker consume_Windows_ApplicationModel_DataTransfer_IDataPackage::Destroyed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::Destroyed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Destroyed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::Destroyed(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::Destroyed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->remove_Destroyed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetData(param::hstring const& formatId, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetData(param::hstring const& formatId, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->SetData(*(void**)(&formatId), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetDataProvider(param::hstring const& formatId, winrt::Windows::ApplicationModel::DataTransfer::DataProviderHandler const& delayRenderer) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetDataProvider(param::hstring const& formatId, winrt::Windows::ApplicationModel::DataTransfer::DataProviderHandler const& delayRenderer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->SetDataProvider(*(void**)(&formatId), *(void**)(&delayRenderer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetText(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->SetText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->SetUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetHtmlFormat(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetHtmlFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->SetHtmlFormat(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::ResourceMap() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::ResourceMap() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->get_ResourceMap(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetRtf(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetRtf(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->SetRtf(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetBitmap(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetBitmap(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->SetBitmap(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetStorageItems(param::iterable const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetStorageItems(param::iterable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->SetStorageItemsReadOnly(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetStorageItems(param::iterable const& value, bool readOnly) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage::SetStorageItems(param::iterable const& value, bool readOnly) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->SetStorageItems(*(void**)(&value), readOnly)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage2::SetApplicationLink(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage2::SetApplicationLink(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage2)->SetApplicationLink(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage2::SetWebLink(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage2::SetWebLink(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage2)->SetWebLink(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataPackage3::ShareCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage3::ShareCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage3)->add_ShareCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_DataTransfer_IDataPackage3::ShareCompleted_revoker consume_Windows_ApplicationModel_DataTransfer_IDataPackage3::ShareCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage3::ShareCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ShareCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage3::ShareCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage3::ShareCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage3)->remove_ShareCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataPackage4::ShareCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage4::ShareCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage4)->add_ShareCanceled(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_DataTransfer_IDataPackage4::ShareCanceled_revoker consume_Windows_ApplicationModel_DataTransfer_IDataPackage4::ShareCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage4::ShareCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ShareCanceled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage4::ShareCanceled(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage4::ShareCanceled(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage4)->remove_ShareCanceled(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::Title() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::Title(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::Description() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::Description(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::Thumbnail() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->get_Thumbnail(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->put_Thumbnail(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::FileTypes() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::FileTypes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->get_FileTypes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::ApplicationName() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::ApplicationName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->get_ApplicationName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::ApplicationName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::ApplicationName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->put_ApplicationName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::ApplicationListingUri() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::ApplicationListingUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->get_ApplicationListingUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::ApplicationListingUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet::ApplicationListingUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->put_ApplicationListingUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::ContentSourceWebLink() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::ContentSourceWebLink() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet2)->get_ContentSourceWebLink(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::ContentSourceWebLink(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::ContentSourceWebLink(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet2)->put_ContentSourceWebLink(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::ContentSourceApplicationLink() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::ContentSourceApplicationLink() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet2)->get_ContentSourceApplicationLink(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::ContentSourceApplicationLink(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::ContentSourceApplicationLink(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet2)->put_ContentSourceApplicationLink(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::PackageFamilyName() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::PackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet2)->get_PackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::PackageFamilyName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::PackageFamilyName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet2)->put_PackageFamilyName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::Square30x30Logo() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::Square30x30Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet2)->get_Square30x30Logo(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::Square30x30Logo(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::Square30x30Logo(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet2)->put_Square30x30Logo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::LogoBackgroundColor() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::LogoBackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet2)->get_LogoBackgroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::LogoBackgroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2::LogoBackgroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet2)->put_LogoBackgroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet3::EnterpriseId() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet3::EnterpriseId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet3)->get_EnterpriseId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet3::EnterpriseId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet3::EnterpriseId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet3)->put_EnterpriseId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet4::ContentSourceUserActivityJson() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet4::ContentSourceUserActivityJson() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet4)->get_ContentSourceUserActivityJson(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet4::ContentSourceUserActivityJson(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet4::ContentSourceUserActivityJson(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet4)->put_ContentSourceUserActivityJson(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView::Title() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView::Description() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView::Thumbnail() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView)->get_Thumbnail(&value)); return winrt::Windows::Storage::Streams::RandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView::FileTypes() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView::FileTypes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView)->get_FileTypes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView::ApplicationName() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView::ApplicationName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView)->get_ApplicationName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView::ApplicationListingUri() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView::ApplicationListingUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView)->get_ApplicationListingUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2::PackageFamilyName() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2::PackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView2)->get_PackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2::ContentSourceWebLink() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2::ContentSourceWebLink() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView2)->get_ContentSourceWebLink(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2::ContentSourceApplicationLink() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2::ContentSourceApplicationLink() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView2)->get_ContentSourceApplicationLink(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2::Square30x30Logo() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2::Square30x30Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView2)->get_Square30x30Logo(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2::LogoBackgroundColor() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2::LogoBackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView2)->get_LogoBackgroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView3::EnterpriseId() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView3::EnterpriseId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView3)->get_EnterpriseId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView4::ContentSourceUserActivityJson() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView4::ContentSourceUserActivityJson() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView4)->get_ContentSourceUserActivityJson(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView5::IsFromRoamingClipboard() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView5::IsFromRoamingClipboard() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView5)->get_IsFromRoamingClipboard(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackagePropertySetView) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::Properties() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->get_Properties(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackagePropertySetView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::RequestedOperation() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::RequestedOperation() const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->get_RequestedOperation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::ReportOperationCompleted(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::ReportOperationCompleted(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->ReportOperationCompleted(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::AvailableFormats() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::AvailableFormats() const { void* formatIds{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->get_AvailableFormats(&formatIds)); return winrt::Windows::Foundation::Collections::IVectorView{ formatIds, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::Contains(param::hstring const& formatId) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::Contains(param::hstring const& formatId) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->Contains(*(void**)(&formatId), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetDataAsync(param::hstring const& formatId) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetDataAsync(param::hstring const& formatId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->GetDataAsync(*(void**)(&formatId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetTextAsync() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetTextAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->GetTextAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetTextAsync(param::hstring const& formatId) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetTextAsync(param::hstring const& formatId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->GetCustomTextAsync(*(void**)(&formatId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetUriAsync() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetUriAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->GetUriAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetHtmlFormatAsync() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetHtmlFormatAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->GetHtmlFormatAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetResourceMapAsync() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetResourceMapAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->GetResourceMapAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetRtfAsync() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetRtfAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->GetRtfAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetBitmapAsync() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetBitmapAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->GetBitmapAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetStorageItemsAsync() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView::GetStorageItemsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->GetStorageItemsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView2::GetApplicationLinkAsync() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView2::GetApplicationLinkAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView2)->GetApplicationLinkAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView2::GetWebLinkAsync() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView2::GetWebLinkAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView2)->GetWebLinkAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView3::RequestAccessAsync() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView3::RequestAccessAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView3)->RequestAccessAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView3::RequestAccessAsync(param::hstring const& enterpriseId) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView3::RequestAccessAsync(param::hstring const& enterpriseId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView3)->RequestAccessWithEnterpriseIdAsync(*(void**)(&enterpriseId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView3::UnlockAndAssumeEnterpriseIdentity() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView3::UnlockAndAssumeEnterpriseIdentity() const { winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView3)->UnlockAndAssumeEnterpriseIdentity(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView4::SetAcceptedFormatId(param::hstring const& formatId) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView4::SetAcceptedFormatId(param::hstring const& formatId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView4)->SetAcceptedFormatId(*(void**)(&formatId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataProviderDeferral::Complete() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataProviderDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataProviderDeferral)->Complete()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest::FormatId() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest::FormatId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataProviderRequest)->get_FormatId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest::Deadline() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest::Deadline() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataProviderRequest)->get_Deadline(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataProviderDeferral) consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest::GetDeferral() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataProviderRequest)->GetDeferral(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataProviderDeferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest::SetData(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest::SetData(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataProviderRequest)->SetData(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) consume_Windows_ApplicationModel_DataTransfer_IDataRequest::Data() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataRequest::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataRequest)->get_Data(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataRequest::Data(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataRequest::Data(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataRequest)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_DataTransfer_IDataRequest::Deadline() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataRequest::Deadline() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataRequest)->get_Deadline(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataRequest::FailWithDisplayText(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataRequest::FailWithDisplayText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataRequest)->FailWithDisplayText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataRequestDeferral) consume_Windows_ApplicationModel_DataTransfer_IDataRequest::GetDeferral() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataRequest::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataRequest)->GetDeferral(&result)); return winrt::Windows::ApplicationModel::DataTransfer::DataRequestDeferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataRequestDeferral::Complete() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataRequestDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataRequestDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataRequest) consume_Windows_ApplicationModel_DataTransfer_IDataRequestedEventArgs::Request() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataRequestedEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::DataRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::DataRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->add_DataRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::DataRequested_revoker consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::DataRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::DataRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DataRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::DataRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::DataRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->remove_DataRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::TargetApplicationChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::TargetApplicationChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->add_TargetApplicationChosen(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::TargetApplicationChosen_revoker consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::TargetApplicationChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::TargetApplicationChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TargetApplicationChosen(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::TargetApplicationChosen(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::TargetApplicationChosen(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->remove_TargetApplicationChosen(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2::ShareProvidersRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2::ShareProvidersRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager2)->add_ShareProvidersRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2::ShareProvidersRequested_revoker consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2::ShareProvidersRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2::ShareProvidersRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ShareProvidersRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2::ShareProvidersRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2::ShareProvidersRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager2)->remove_ShareProvidersRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics::ShowShareUI() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics::ShowShareUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics)->ShowShareUI()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics::GetForCurrentView() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics::GetForCurrentView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics)->GetForCurrentView(&result)); return winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics2::IsSupported() const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics2::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics2)->IsSupported(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics3::ShowShareUI(winrt::Windows::ApplicationModel::DataTransfer::ShareUIOptions const& options) const + template auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics3::ShowShareUI(winrt::Windows::ApplicationModel::DataTransfer::ShareUIOptions const& options) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics3)->ShowShareUIWithOptions(*(void**)(&options))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IHtmlFormatHelperStatics::GetStaticFragment(param::hstring const& htmlFormat) const + template auto consume_Windows_ApplicationModel_DataTransfer_IHtmlFormatHelperStatics::GetStaticFragment(param::hstring const& htmlFormat) const { void* htmlFragment{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IHtmlFormatHelperStatics)->GetStaticFragment(*(void**)(&htmlFormat), &htmlFragment)); return hstring{ htmlFragment, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IHtmlFormatHelperStatics::CreateHtmlFormat(param::hstring const& htmlFragment) const + template auto consume_Windows_ApplicationModel_DataTransfer_IHtmlFormatHelperStatics::CreateHtmlFormat(param::hstring const& htmlFragment) const { void* htmlFormat{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IHtmlFormatHelperStatics)->CreateHtmlFormat(*(void**)(&htmlFragment), &htmlFormat)); return hstring{ htmlFormat, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_ApplicationModel_DataTransfer_IOperationCompletedEventArgs::Operation() const + template auto consume_Windows_ApplicationModel_DataTransfer_IOperationCompletedEventArgs::Operation() const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IOperationCompletedEventArgs)->get_Operation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IOperationCompletedEventArgs2::AcceptedFormatId() const + template auto consume_Windows_ApplicationModel_DataTransfer_IOperationCompletedEventArgs2::AcceptedFormatId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IOperationCompletedEventArgs2)->get_AcceptedFormatId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareTargetInfo) consume_Windows_ApplicationModel_DataTransfer_IShareCompletedEventArgs::ShareTarget() const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareCompletedEventArgs::ShareTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareCompletedEventArgs)->get_ShareTarget(&value)); return winrt::Windows::ApplicationModel::DataTransfer::ShareTargetInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IShareProvider::Title() const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareProvider::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProvider)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_ApplicationModel_DataTransfer_IShareProvider::DisplayIcon() const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareProvider::DisplayIcon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProvider)->get_DisplayIcon(&value)); return winrt::Windows::Storage::Streams::RandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_DataTransfer_IShareProvider::BackgroundColor() const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareProvider::BackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProvider)->get_BackgroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_DataTransfer_IShareProvider::Tag() const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareProvider::Tag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProvider)->get_Tag(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IShareProvider::Tag(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareProvider::Tag(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProvider)->put_Tag(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareProvider) consume_Windows_ApplicationModel_DataTransfer_IShareProviderFactory::Create(param::hstring const& title, winrt::Windows::Storage::Streams::RandomAccessStreamReference const& displayIcon, winrt::Windows::UI::Color const& backgroundColor, winrt::Windows::ApplicationModel::DataTransfer::ShareProviderHandler const& handler) const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareProviderFactory::Create(param::hstring const& title, winrt::Windows::Storage::Streams::RandomAccessStreamReference const& displayIcon, winrt::Windows::UI::Color const& backgroundColor, winrt::Windows::ApplicationModel::DataTransfer::ShareProviderHandler const& handler) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProviderFactory)->Create(*(void**)(&title), *(void**)(&displayIcon), impl::bind_in(backgroundColor), *(void**)(&handler), &result)); return winrt::Windows::ApplicationModel::DataTransfer::ShareProvider{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) consume_Windows_ApplicationModel_DataTransfer_IShareProviderOperation::Data() const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareProviderOperation::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProviderOperation)->get_Data(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackageView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareProvider) consume_Windows_ApplicationModel_DataTransfer_IShareProviderOperation::Provider() const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareProviderOperation::Provider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProviderOperation)->get_Provider(&value)); return winrt::Windows::ApplicationModel::DataTransfer::ShareProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IShareProviderOperation::ReportCompleted() const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareProviderOperation::ReportCompleted() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProviderOperation)->ReportCompleted()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_DataTransfer_IShareProvidersRequestedEventArgs::Providers() const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareProvidersRequestedEventArgs::Providers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProvidersRequestedEventArgs)->get_Providers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) consume_Windows_ApplicationModel_DataTransfer_IShareProvidersRequestedEventArgs::Data() const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareProvidersRequestedEventArgs::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProvidersRequestedEventArgs)->get_Data(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackageView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_DataTransfer_IShareProvidersRequestedEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareProvidersRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProvidersRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IShareTargetInfo::AppUserModelId() const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareTargetInfo::AppUserModelId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareTargetInfo)->get_AppUserModelId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareProvider) consume_Windows_ApplicationModel_DataTransfer_IShareTargetInfo::ShareProvider() const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareTargetInfo::ShareProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareTargetInfo)->get_ShareProvider(&value)); return winrt::Windows::ApplicationModel::DataTransfer::ShareProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareUITheme) consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions::Theme() const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions::Theme() const { winrt::Windows::ApplicationModel::DataTransfer::ShareUITheme value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareUIOptions)->get_Theme(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions::Theme(winrt::Windows::ApplicationModel::DataTransfer::ShareUITheme const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions::Theme(winrt::Windows::ApplicationModel::DataTransfer::ShareUITheme const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareUIOptions)->put_Theme(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions::SelectionRect() const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions::SelectionRect() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareUIOptions)->get_SelectionRect(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions::SelectionRect(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions::SelectionRect(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareUIOptions)->put_SelectionRect(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_ISharedStorageAccessManagerStatics::AddFile(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_ApplicationModel_DataTransfer_ISharedStorageAccessManagerStatics::AddFile(winrt::Windows::Storage::IStorageFile const& file) const { void* outToken{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ISharedStorageAccessManagerStatics)->AddFile(*(void**)(&file), &outToken)); return hstring{ outToken, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_DataTransfer_ISharedStorageAccessManagerStatics::RedeemTokenForFileAsync(param::hstring const& token) const + template auto consume_Windows_ApplicationModel_DataTransfer_ISharedStorageAccessManagerStatics::RedeemTokenForFileAsync(param::hstring const& token) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ISharedStorageAccessManagerStatics)->RedeemTokenForFileAsync(*(void**)(&token), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ISharedStorageAccessManagerStatics::RemoveFile(param::hstring const& token) const + template auto consume_Windows_ApplicationModel_DataTransfer_ISharedStorageAccessManagerStatics::RemoveFile(param::hstring const& token) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ISharedStorageAccessManagerStatics)->RemoveFile(*(void**)(&token))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics::Text() const + template auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IStandardDataFormatsStatics)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics::Uri() const + template auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IStandardDataFormatsStatics)->get_Uri(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics::Html() const + template auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics::Html() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IStandardDataFormatsStatics)->get_Html(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics::Rtf() const + template auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics::Rtf() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IStandardDataFormatsStatics)->get_Rtf(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics::Bitmap() const + template auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics::Bitmap() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IStandardDataFormatsStatics)->get_Bitmap(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics::StorageItems() const + template auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics::StorageItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IStandardDataFormatsStatics)->get_StorageItems(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics2::WebLink() const + template auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics2::WebLink() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IStandardDataFormatsStatics2)->get_WebLink(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics2::ApplicationLink() const + template auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics2::ApplicationLink() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IStandardDataFormatsStatics2)->get_ApplicationLink(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics3::UserActivityJsonArray() const + template auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics3::UserActivityJsonArray() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IStandardDataFormatsStatics3)->get_UserActivityJsonArray(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_ITargetApplicationChosenEventArgs::ApplicationName() const + template auto consume_Windows_ApplicationModel_DataTransfer_ITargetApplicationChosenEventArgs::ApplicationName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ITargetApplicationChosenEventArgs)->get_ApplicationName(&value)); @@ -2628,10 +2628,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::DataTransfer { return impl::call_factory([&](IClipboardStatics const& f) { return f.ContentChanged(handler); }); } - inline Clipboard::ContentChanged_revoker Clipboard::ContentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto Clipboard::ContentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.ContentChanged(handler) }; + return Clipboard::ContentChanged_revoker{ f, f.ContentChanged(handler) }; } inline auto Clipboard::ContentChanged(winrt::event_token const& token) { @@ -2669,10 +2669,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::DataTransfer { return impl::call_factory([&](IClipboardStatics2 const& f) { return f.HistoryChanged(handler); }); } - inline Clipboard::HistoryChanged_revoker Clipboard::HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto Clipboard::HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.HistoryChanged(handler) }; + return Clipboard::HistoryChanged_revoker{ f, f.HistoryChanged(handler) }; } inline auto Clipboard::HistoryChanged(winrt::event_token const& token) { @@ -2682,10 +2682,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::DataTransfer { return impl::call_factory([&](IClipboardStatics2 const& f) { return f.RoamingEnabledChanged(handler); }); } - inline Clipboard::RoamingEnabledChanged_revoker Clipboard::RoamingEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto Clipboard::RoamingEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.RoamingEnabledChanged(handler) }; + return Clipboard::RoamingEnabledChanged_revoker{ f, f.RoamingEnabledChanged(handler) }; } inline auto Clipboard::RoamingEnabledChanged(winrt::event_token const& token) { @@ -2695,10 +2695,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::DataTransfer { return impl::call_factory([&](IClipboardStatics2 const& f) { return f.HistoryEnabledChanged(handler); }); } - inline Clipboard::HistoryEnabledChanged_revoker Clipboard::HistoryEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto Clipboard::HistoryEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.HistoryEnabledChanged(handler) }; + return Clipboard::HistoryEnabledChanged_revoker{ f, f.HistoryEnabledChanged(handler) }; } inline auto Clipboard::HistoryEnabledChanged(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Email.DataProvider.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Email.DataProvider.h index 3418ea88..d261c875 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Email.DataProvider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Email.DataProvider.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Email_DataProvider_H #define WINRT_Windows_ApplicationModel_Email_DataProvider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.Email.h" #include "winrt/impl/Windows.ApplicationModel.Email.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -14,881 +14,881 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Email.DataProvider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::MailboxSyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::MailboxSyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->add_MailboxSyncRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::MailboxSyncRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::MailboxSyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::MailboxSyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MailboxSyncRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::MailboxSyncRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::MailboxSyncRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_MailboxSyncRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DownloadMessageRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DownloadMessageRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->add_DownloadMessageRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DownloadMessageRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DownloadMessageRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DownloadMessageRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DownloadMessageRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DownloadMessageRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DownloadMessageRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_DownloadMessageRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DownloadAttachmentRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DownloadAttachmentRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->add_DownloadAttachmentRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DownloadAttachmentRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DownloadAttachmentRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DownloadAttachmentRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DownloadAttachmentRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DownloadAttachmentRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DownloadAttachmentRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_DownloadAttachmentRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::CreateFolderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::CreateFolderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->add_CreateFolderRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::CreateFolderRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::CreateFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::CreateFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CreateFolderRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::CreateFolderRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::CreateFolderRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_CreateFolderRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DeleteFolderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DeleteFolderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->add_DeleteFolderRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DeleteFolderRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DeleteFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DeleteFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DeleteFolderRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DeleteFolderRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::DeleteFolderRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_DeleteFolderRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::EmptyFolderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::EmptyFolderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->add_EmptyFolderRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::EmptyFolderRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::EmptyFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::EmptyFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EmptyFolderRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::EmptyFolderRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::EmptyFolderRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_EmptyFolderRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::MoveFolderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::MoveFolderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->add_MoveFolderRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::MoveFolderRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::MoveFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::MoveFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MoveFolderRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::MoveFolderRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::MoveFolderRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_MoveFolderRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::UpdateMeetingResponseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::UpdateMeetingResponseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->add_UpdateMeetingResponseRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::UpdateMeetingResponseRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::UpdateMeetingResponseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::UpdateMeetingResponseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UpdateMeetingResponseRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::UpdateMeetingResponseRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::UpdateMeetingResponseRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_UpdateMeetingResponseRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ForwardMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ForwardMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->add_ForwardMeetingRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ForwardMeetingRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ForwardMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ForwardMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ForwardMeetingRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ForwardMeetingRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ForwardMeetingRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_ForwardMeetingRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ProposeNewTimeForMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ProposeNewTimeForMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->add_ProposeNewTimeForMeetingRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ProposeNewTimeForMeetingRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ProposeNewTimeForMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ProposeNewTimeForMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ProposeNewTimeForMeetingRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ProposeNewTimeForMeetingRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ProposeNewTimeForMeetingRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_ProposeNewTimeForMeetingRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::SetAutoReplySettingsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::SetAutoReplySettingsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->add_SetAutoReplySettingsRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::SetAutoReplySettingsRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::SetAutoReplySettingsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::SetAutoReplySettingsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SetAutoReplySettingsRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::SetAutoReplySettingsRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::SetAutoReplySettingsRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_SetAutoReplySettingsRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::GetAutoReplySettingsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::GetAutoReplySettingsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->add_GetAutoReplySettingsRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::GetAutoReplySettingsRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::GetAutoReplySettingsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::GetAutoReplySettingsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, GetAutoReplySettingsRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::GetAutoReplySettingsRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::GetAutoReplySettingsRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_GetAutoReplySettingsRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ResolveRecipientsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ResolveRecipientsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->add_ResolveRecipientsRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ResolveRecipientsRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ResolveRecipientsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ResolveRecipientsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ResolveRecipientsRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ResolveRecipientsRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ResolveRecipientsRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_ResolveRecipientsRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ValidateCertificatesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ValidateCertificatesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->add_ValidateCertificatesRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ValidateCertificatesRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ValidateCertificatesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ValidateCertificatesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ValidateCertificatesRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ValidateCertificatesRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ValidateCertificatesRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_ValidateCertificatesRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ServerSearchReadBatchRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ServerSearchReadBatchRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->add_ServerSearchReadBatchRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ServerSearchReadBatchRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ServerSearchReadBatchRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ServerSearchReadBatchRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ServerSearchReadBatchRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ServerSearchReadBatchRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::ServerSearchReadBatchRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_ServerSearchReadBatchRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::Start() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->Start()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderTriggerDetails::Connection() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderTriggerDetails::Connection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderTriggerDetails)->get_Connection(&value)); return winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest::EmailMailboxId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest::EmailMailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxCreateFolderRequest)->get_EmailMailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest::ParentFolderId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest::ParentFolderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxCreateFolderRequest)->get_ParentFolderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest::Name() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxCreateFolderRequest)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest::ReportCompletedAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& folder) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest::ReportCompletedAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& folder) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxCreateFolderRequest)->ReportCompletedAsync(*(void**)(&folder), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest::ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxCreateFolderStatus const& status) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest::ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxCreateFolderStatus const& status) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxCreateFolderRequest)->ReportFailedAsync(static_cast(status), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxCreateFolderRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxCreateFolderRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxCreateFolderRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxCreateFolderRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest::EmailMailboxId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest::EmailMailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDeleteFolderRequest)->get_EmailMailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest::EmailFolderId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest::EmailFolderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDeleteFolderRequest)->get_EmailFolderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDeleteFolderRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest::ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxDeleteFolderStatus const& status) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest::ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxDeleteFolderStatus const& status) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDeleteFolderRequest)->ReportFailedAsync(static_cast(status), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDeleteFolderRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDeleteFolderRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDeleteFolderRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDeleteFolderRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest::EmailMailboxId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest::EmailMailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadAttachmentRequest)->get_EmailMailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest::EmailMessageId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest::EmailMessageId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadAttachmentRequest)->get_EmailMessageId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest::EmailAttachmentId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest::EmailAttachmentId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadAttachmentRequest)->get_EmailAttachmentId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadAttachmentRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadAttachmentRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadAttachmentRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadAttachmentRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadAttachmentRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadAttachmentRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest::EmailMailboxId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest::EmailMailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadMessageRequest)->get_EmailMailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest::EmailMessageId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest::EmailMessageId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadMessageRequest)->get_EmailMessageId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadMessageRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadMessageRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadMessageRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadMessageRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadMessageRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadMessageRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest::EmailMailboxId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest::EmailMailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxEmptyFolderRequest)->get_EmailMailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest::EmailFolderId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest::EmailFolderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxEmptyFolderRequest)->get_EmailFolderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxEmptyFolderRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest::ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxEmptyFolderStatus const& status) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest::ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxEmptyFolderStatus const& status) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxEmptyFolderRequest)->ReportFailedAsync(static_cast(status), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxEmptyFolderRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxEmptyFolderRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxEmptyFolderRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxEmptyFolderRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::EmailMailboxId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::EmailMailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxForwardMeetingRequest)->get_EmailMailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::EmailMessageId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::EmailMessageId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxForwardMeetingRequest)->get_EmailMessageId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::Recipients() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::Recipients() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxForwardMeetingRequest)->get_Recipients(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::Subject() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxForwardMeetingRequest)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::ForwardHeaderType() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::ForwardHeaderType() const { winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxForwardMeetingRequest)->get_ForwardHeaderType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::ForwardHeader() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::ForwardHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxForwardMeetingRequest)->get_ForwardHeader(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::Comment() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::Comment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxForwardMeetingRequest)->get_Comment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxForwardMeetingRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxForwardMeetingRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxForwardMeetingRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxForwardMeetingRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxForwardMeetingRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxForwardMeetingRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest::EmailMailboxId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest::EmailMailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxGetAutoReplySettingsRequest)->get_EmailMailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest::RequestedFormat() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest::RequestedFormat() const { winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxGetAutoReplySettingsRequest)->get_RequestedFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest::ReportCompletedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings const& autoReplySettings) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest::ReportCompletedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings const& autoReplySettings) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxGetAutoReplySettingsRequest)->ReportCompletedAsync(*(void**)(&autoReplySettings), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxGetAutoReplySettingsRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxGetAutoReplySettingsRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxGetAutoReplySettingsRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxGetAutoReplySettingsRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxGetAutoReplySettingsRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest::EmailMailboxId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest::EmailMailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxMoveFolderRequest)->get_EmailMailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest::EmailFolderId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest::EmailFolderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxMoveFolderRequest)->get_EmailFolderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest::NewParentFolderId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest::NewParentFolderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxMoveFolderRequest)->get_NewParentFolderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest::NewFolderName() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest::NewFolderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxMoveFolderRequest)->get_NewFolderName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxMoveFolderRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxMoveFolderRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxMoveFolderRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxMoveFolderRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxMoveFolderRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxMoveFolderRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest::EmailMailboxId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest::EmailMailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxProposeNewTimeForMeetingRequest)->get_EmailMailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest::EmailMessageId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest::EmailMessageId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxProposeNewTimeForMeetingRequest)->get_EmailMessageId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest::NewStartTime() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest::NewStartTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxProposeNewTimeForMeetingRequest)->get_NewStartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest::NewDuration() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest::NewDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxProposeNewTimeForMeetingRequest)->get_NewDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest::Subject() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxProposeNewTimeForMeetingRequest)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest::Comment() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest::Comment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxProposeNewTimeForMeetingRequest)->get_Comment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxProposeNewTimeForMeetingRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxProposeNewTimeForMeetingRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxProposeNewTimeForMeetingRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxProposeNewTimeForMeetingRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxProposeNewTimeForMeetingRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxProposeNewTimeForMeetingRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest::EmailMailboxId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest::EmailMailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxResolveRecipientsRequest)->get_EmailMailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest::Recipients() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest::Recipients() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxResolveRecipientsRequest)->get_Recipients(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest::ReportCompletedAsync(param::async_iterable const& resolutionResults) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest::ReportCompletedAsync(param::async_iterable const& resolutionResults) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxResolveRecipientsRequest)->ReportCompletedAsync(*(void**)(&resolutionResults), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxResolveRecipientsRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxResolveRecipientsRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxResolveRecipientsRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxResolveRecipientsRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxResolveRecipientsRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest::SessionId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest::SessionId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxServerSearchReadBatchRequest)->get_SessionId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest::EmailMailboxId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest::EmailMailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxServerSearchReadBatchRequest)->get_EmailMailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest::EmailFolderId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest::EmailFolderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxServerSearchReadBatchRequest)->get_EmailFolderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQueryOptions) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest::Options() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest::Options() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxServerSearchReadBatchRequest)->get_Options(&value)); return winrt::Windows::ApplicationModel::Email::EmailQueryOptions{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest::SuggestedBatchSize() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest::SuggestedBatchSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxServerSearchReadBatchRequest)->get_SuggestedBatchSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest::SaveMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest::SaveMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxServerSearchReadBatchRequest)->SaveMessageAsync(*(void**)(&message), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxServerSearchReadBatchRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest::ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailBatchStatus const& batchStatus) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest::ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailBatchStatus const& batchStatus) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxServerSearchReadBatchRequest)->ReportFailedAsync(static_cast(batchStatus), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxServerSearchReadBatchRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxServerSearchReadBatchRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxServerSearchReadBatchRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxServerSearchReadBatchRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest::EmailMailboxId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest::EmailMailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxSetAutoReplySettingsRequest)->get_EmailMailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest::AutoReplySettings() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest::AutoReplySettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxSetAutoReplySettingsRequest)->get_AutoReplySettings(&value)); return winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxSetAutoReplySettingsRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxSetAutoReplySettingsRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSetAutoReplySettingsRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxSetAutoReplySettingsRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSetAutoReplySettingsRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxSetAutoReplySettingsRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequest::EmailMailboxId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequest::EmailMailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxSyncManagerSyncRequest)->get_EmailMailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxSyncManagerSyncRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxSyncManagerSyncRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSyncManagerSyncRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxSyncManagerSyncRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSyncManagerSyncRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxSyncManagerSyncRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest::EmailMailboxId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest::EmailMailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxUpdateMeetingResponseRequest)->get_EmailMailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest::EmailMessageId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest::EmailMessageId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxUpdateMeetingResponseRequest)->get_EmailMessageId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMeetingResponseType) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest::Response() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest::Response() const { winrt::Windows::ApplicationModel::Email::EmailMeetingResponseType response{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxUpdateMeetingResponseRequest)->get_Response(reinterpret_cast(&response))); return response; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest::Subject() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxUpdateMeetingResponseRequest)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest::Comment() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest::Comment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxUpdateMeetingResponseRequest)->get_Comment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest::SendUpdate() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest::SendUpdate() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxUpdateMeetingResponseRequest)->get_SendUpdate(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxUpdateMeetingResponseRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxUpdateMeetingResponseRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxUpdateMeetingResponseRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxUpdateMeetingResponseRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxUpdateMeetingResponseRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxUpdateMeetingResponseRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest::EmailMailboxId() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest::EmailMailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxValidateCertificatesRequest)->get_EmailMailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest::Certificates() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest::Certificates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxValidateCertificatesRequest)->get_Certificates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest::ReportCompletedAsync(param::async_iterable const& validationStatuses) const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest::ReportCompletedAsync(param::async_iterable const& validationStatuses) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxValidateCertificatesRequest)->ReportCompletedAsync(*(void**)(&validationStatuses), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxValidateCertificatesRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxValidateCertificatesRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxValidateCertificatesRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxValidateCertificatesRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxValidateCertificatesRequestEventArgs)->GetDeferral(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Email.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Email.h index 313cd3dc..5fed8fee 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Email.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Email.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Email_H #define WINRT_Windows_ApplicationModel_Email_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.ApplicationModel.Appointments.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -16,2023 +16,2023 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Email.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailAttachment::FileName() const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment::FileName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment)->get_FileName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailAttachment::FileName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment::FileName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment)->put_FileName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Email_IEmailAttachment::Data() const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment)->get_Data(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailAttachment::Data(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment::Data(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailAttachment2::Id() const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment2::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailAttachment2::ContentId() const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment2::ContentId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->get_ContentId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailAttachment2::ContentId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment2::ContentId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->put_ContentId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailAttachment2::ContentLocation() const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment2::ContentLocation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->get_ContentLocation(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailAttachment2::ContentLocation(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment2::ContentLocation(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->put_ContentLocation(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailAttachmentDownloadState) consume_Windows_ApplicationModel_Email_IEmailAttachment2::DownloadState() const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment2::DownloadState() const { winrt::Windows::ApplicationModel::Email::EmailAttachmentDownloadState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->get_DownloadState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailAttachment2::DownloadState(winrt::Windows::ApplicationModel::Email::EmailAttachmentDownloadState const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment2::DownloadState(winrt::Windows::ApplicationModel::Email::EmailAttachmentDownloadState const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->put_DownloadState(static_cast(value))); } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Email_IEmailAttachment2::EstimatedDownloadSizeInBytes() const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment2::EstimatedDownloadSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->get_EstimatedDownloadSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailAttachment2::EstimatedDownloadSizeInBytes(uint64_t value) const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment2::EstimatedDownloadSizeInBytes(uint64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->put_EstimatedDownloadSizeInBytes(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailAttachment2::IsFromBaseMessage() const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment2::IsFromBaseMessage() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->get_IsFromBaseMessage(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailAttachment2::IsInline() const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment2::IsInline() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->get_IsInline(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailAttachment2::IsInline(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment2::IsInline(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->put_IsInline(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailAttachment2::MimeType() const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment2::MimeType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->get_MimeType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailAttachment2::MimeType(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachment2::MimeType(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->put_MimeType(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailAttachment) consume_Windows_ApplicationModel_Email_IEmailAttachmentFactory::Create(param::hstring const& fileName, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& data) const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachmentFactory::Create(param::hstring const& fileName, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachmentFactory)->Create(*(void**)(&fileName), *(void**)(&data), &result)); return winrt::Windows::ApplicationModel::Email::EmailAttachment{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailAttachment) consume_Windows_ApplicationModel_Email_IEmailAttachmentFactory2::Create(param::hstring const& fileName, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& data, param::hstring const& mimeType) const + template auto consume_Windows_ApplicationModel_Email_IEmailAttachmentFactory2::Create(param::hstring const& fileName, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& data, param::hstring const& mimeType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachmentFactory2)->Create(*(void**)(&fileName), *(void**)(&data), *(void**)(&mimeType), &result)); return winrt::Windows::ApplicationModel::Email::EmailAttachment{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailConversation::Id() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversation::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailConversation::MailboxId() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversation::MailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_MailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailFlagState) consume_Windows_ApplicationModel_Email_IEmailConversation::FlagState() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversation::FlagState() const { winrt::Windows::ApplicationModel::Email::EmailFlagState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_FlagState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailConversation::HasAttachment() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversation::HasAttachment() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_HasAttachment(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailImportance) consume_Windows_ApplicationModel_Email_IEmailConversation::Importance() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversation::Importance() const { winrt::Windows::ApplicationModel::Email::EmailImportance value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_Importance(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind) consume_Windows_ApplicationModel_Email_IEmailConversation::LastEmailResponseKind() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversation::LastEmailResponseKind() const { winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_LastEmailResponseKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Email_IEmailConversation::MessageCount() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversation::MessageCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_MessageCount(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailConversation::MostRecentMessageId() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversation::MostRecentMessageId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_MostRecentMessageId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Email_IEmailConversation::MostRecentMessageTime() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversation::MostRecentMessageTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_MostRecentMessageTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailConversation::Preview() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversation::Preview() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_Preview(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipient) consume_Windows_ApplicationModel_Email_IEmailConversation::LatestSender() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversation::LatestSender() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_LatestSender(&value)); return winrt::Windows::ApplicationModel::Email::EmailRecipient{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailConversation::Subject() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversation::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Email_IEmailConversation::UnreadMessageCount() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversation::UnreadMessageCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_UnreadMessageCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Email_IEmailConversation::FindMessagesAsync() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversation::FindMessagesAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->FindMessagesAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Email_IEmailConversation::FindMessagesAsync(uint32_t count) const + template auto consume_Windows_ApplicationModel_Email_IEmailConversation::FindMessagesAsync(uint32_t count) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->FindMessagesWithCountAsync(count, &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Email_IEmailConversationBatch::Conversations() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversationBatch::Conversations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversationBatch)->get_Conversations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailBatchStatus) consume_Windows_ApplicationModel_Email_IEmailConversationBatch::Status() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversationBatch::Status() const { winrt::Windows::ApplicationModel::Email::EmailBatchStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversationBatch)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailConversationReader::ReadBatchAsync() const + template auto consume_Windows_ApplicationModel_Email_IEmailConversationReader::ReadBatchAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversationReader)->ReadBatchAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailFolder::Id() const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailFolder::RemoteId() const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::RemoteId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->get_RemoteId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailFolder::RemoteId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::RemoteId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->put_RemoteId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailFolder::MailboxId() const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::MailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->get_MailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailFolder::ParentFolderId() const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::ParentFolderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->get_ParentFolderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailFolder::DisplayName() const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailFolder::DisplayName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailFolder::IsSyncEnabled() const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::IsSyncEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->get_IsSyncEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailFolder::IsSyncEnabled(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::IsSyncEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->put_IsSyncEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Email_IEmailFolder::LastSuccessfulSyncTime() const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::LastSuccessfulSyncTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->get_LastSuccessfulSyncTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailFolder::LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->put_LastSuccessfulSyncTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailSpecialFolderKind) consume_Windows_ApplicationModel_Email_IEmailFolder::Kind() const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::Kind() const { winrt::Windows::ApplicationModel::Email::EmailSpecialFolderKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailFolder::CreateFolderAsync(param::hstring const& name) const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::CreateFolderAsync(param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->CreateFolderAsync(*(void**)(&name), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailFolder::DeleteAsync() const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::DeleteAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->DeleteAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Email_IEmailFolder::FindChildFoldersAsync() const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::FindChildFoldersAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->FindChildFoldersAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) consume_Windows_ApplicationModel_Email_IEmailFolder::GetConversationReader() const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::GetConversationReader() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->GetConversationReader(&result)); return winrt::Windows::ApplicationModel::Email::EmailConversationReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) consume_Windows_ApplicationModel_Email_IEmailFolder::GetConversationReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::GetConversationReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->GetConversationReaderWithOptions(*(void**)(&options), &result)); return winrt::Windows::ApplicationModel::Email::EmailConversationReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailFolder::GetMessageAsync(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::GetMessageAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->GetMessageAsync(*(void**)(&id), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) consume_Windows_ApplicationModel_Email_IEmailFolder::GetMessageReader() const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::GetMessageReader() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->GetMessageReader(&result)); return winrt::Windows::ApplicationModel::Email::EmailMessageReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) consume_Windows_ApplicationModel_Email_IEmailFolder::GetMessageReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::GetMessageReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->GetMessageReaderWithOptions(*(void**)(&options), &result)); return winrt::Windows::ApplicationModel::Email::EmailMessageReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailFolder::GetMessageCountsAsync() const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::GetMessageCountsAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->GetMessageCountsAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailFolder::TryMoveAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& newParentFolder) const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::TryMoveAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& newParentFolder) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->TryMoveAsync(*(void**)(&newParentFolder), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailFolder::TryMoveAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& newParentFolder, param::hstring const& newFolderName) const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::TryMoveAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& newParentFolder, param::hstring const& newFolderName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->TryMoveWithNewNameAsync(*(void**)(&newParentFolder), *(void**)(&newFolderName), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailFolder::TrySaveAsync() const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::TrySaveAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->TrySaveAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailFolder::SaveMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const + template auto consume_Windows_ApplicationModel_Email_IEmailFolder::SaveMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->SaveMessageAsync(*(void**)(&message), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanEdit() const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanEdit() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_CanEdit(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanEdit(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanEdit(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_CanEdit(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanExtractData() const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanExtractData() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_CanExtractData(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanExtractData(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanExtractData(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_CanExtractData(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanForward() const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanForward() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_CanForward(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanForward(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanForward(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_CanForward(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanModifyRecipientsOnResponse() const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanModifyRecipientsOnResponse() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_CanModifyRecipientsOnResponse(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanModifyRecipientsOnResponse(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanModifyRecipientsOnResponse(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_CanModifyRecipientsOnResponse(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanPrintData() const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanPrintData() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_CanPrintData(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanPrintData(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanPrintData(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_CanPrintData(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanRemoveIrmOnResponse() const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanRemoveIrmOnResponse() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_CanRemoveIrmOnResponse(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanRemoveIrmOnResponse(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanRemoveIrmOnResponse(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_CanRemoveIrmOnResponse(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanReply() const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanReply() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_CanReply(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanReply(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanReply(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_CanReply(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanReplyAll() const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanReplyAll() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_CanReplyAll(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanReplyAll(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::CanReplyAll(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_CanReplyAll(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::ExpirationDate() const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::ExpirationDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_ExpirationDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::ExpirationDate(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::ExpirationDate(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_ExpirationDate(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::IsIrmOriginator() const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::IsIrmOriginator() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_IsIrmOriginator(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::IsIrmOriginator(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::IsIrmOriginator(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_IsIrmOriginator(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::IsProgramaticAccessAllowed() const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::IsProgramaticAccessAllowed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_IsProgramaticAccessAllowed(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::IsProgramaticAccessAllowed(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::IsProgramaticAccessAllowed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_IsProgramaticAccessAllowed(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailIrmTemplate) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::Template() const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::Template() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_Template(&value)); return winrt::Windows::ApplicationModel::Email::EmailIrmTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo::Template(winrt::Windows::ApplicationModel::Email::EmailIrmTemplate const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo::Template(winrt::Windows::ApplicationModel::Email::EmailIrmTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_Template(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailIrmInfo) consume_Windows_ApplicationModel_Email_IEmailIrmInfoFactory::Create(winrt::Windows::Foundation::DateTime const& expiration, winrt::Windows::ApplicationModel::Email::EmailIrmTemplate const& irmTemplate) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmInfoFactory::Create(winrt::Windows::Foundation::DateTime const& expiration, winrt::Windows::ApplicationModel::Email::EmailIrmTemplate const& irmTemplate) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfoFactory)->Create(impl::bind_in(expiration), *(void**)(&irmTemplate), &result)); return winrt::Windows::ApplicationModel::Email::EmailIrmInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailIrmTemplate::Id() const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmTemplate::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmTemplate)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmTemplate::Id(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmTemplate::Id(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmTemplate)->put_Id(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailIrmTemplate::Description() const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmTemplate::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmTemplate)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmTemplate::Description(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmTemplate::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmTemplate)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailIrmTemplate::Name() const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmTemplate::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmTemplate)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmTemplate::Name(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmTemplate::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmTemplate)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailIrmTemplate) consume_Windows_ApplicationModel_Email_IEmailIrmTemplateFactory::Create(param::hstring const& id, param::hstring const& name, param::hstring const& description) const + template auto consume_Windows_ApplicationModel_Email_IEmailIrmTemplateFactory::Create(param::hstring const& id, param::hstring const& name, param::hstring const& description) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmTemplateFactory)->Create(*(void**)(&id), *(void**)(&name), *(void**)(&description), &result)); return winrt::Windows::ApplicationModel::Email::EmailIrmTemplate{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Email_IEmailItemCounts::Flagged() const + template auto consume_Windows_ApplicationModel_Email_IEmailItemCounts::Flagged() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailItemCounts)->get_Flagged(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Email_IEmailItemCounts::Important() const + template auto consume_Windows_ApplicationModel_Email_IEmailItemCounts::Important() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailItemCounts)->get_Important(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Email_IEmailItemCounts::Total() const + template auto consume_Windows_ApplicationModel_Email_IEmailItemCounts::Total() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailItemCounts)->get_Total(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Email_IEmailItemCounts::Unread() const + template auto consume_Windows_ApplicationModel_Email_IEmailItemCounts::Unread() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailItemCounts)->get_Unread(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxCapabilities) consume_Windows_ApplicationModel_Email_IEmailMailbox::Capabilities() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::Capabilities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_Capabilities(&value)); return winrt::Windows::ApplicationModel::Email::EmailMailboxCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxChangeTracker) consume_Windows_ApplicationModel_Email_IEmailMailbox::ChangeTracker() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::ChangeTracker() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_ChangeTracker(&value)); return winrt::Windows::ApplicationModel::Email::EmailMailboxChangeTracker{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailbox::DisplayName() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailbox::DisplayName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailbox::Id() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailbox::IsOwnedByCurrentApp() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::IsOwnedByCurrentApp() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_IsOwnedByCurrentApp(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailbox::IsDataEncryptedUnderLock() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::IsDataEncryptedUnderLock() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_IsDataEncryptedUnderLock(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailbox::MailAddress() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::MailAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_MailAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailbox::MailAddress(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::MailAddress(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->put_MailAddress(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Email_IEmailMailbox::MailAddressAliases() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::MailAddressAliases() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_MailAddressAliases(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess) consume_Windows_ApplicationModel_Email_IEmailMailbox::OtherAppReadAccess() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::OtherAppReadAccess() const { winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_OtherAppReadAccess(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailbox::OtherAppReadAccess(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::OtherAppReadAccess(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->put_OtherAppReadAccess(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess) consume_Windows_ApplicationModel_Email_IEmailMailbox::OtherAppWriteAccess() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::OtherAppWriteAccess() const { winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_OtherAppWriteAccess(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailbox::OtherAppWriteAccess(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::OtherAppWriteAccess(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->put_OtherAppWriteAccess(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxPolicies) consume_Windows_ApplicationModel_Email_IEmailMailbox::Policies() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::Policies() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_Policies(&value)); return winrt::Windows::ApplicationModel::Email::EmailMailboxPolicies{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailbox::SourceDisplayName() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::SourceDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_SourceDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxSyncManager) consume_Windows_ApplicationModel_Email_IEmailMailbox::SyncManager() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::SyncManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_SyncManager(&value)); return winrt::Windows::ApplicationModel::Email::EmailMailboxSyncManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailbox::UserDataAccountId() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::UserDataAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_UserDataAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) consume_Windows_ApplicationModel_Email_IEmailMailbox::GetConversationReader() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::GetConversationReader() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->GetConversationReader(&result)); return winrt::Windows::ApplicationModel::Email::EmailConversationReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) consume_Windows_ApplicationModel_Email_IEmailMailbox::GetConversationReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::GetConversationReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->GetConversationReaderWithOptions(*(void**)(&options), &result)); return winrt::Windows::ApplicationModel::Email::EmailConversationReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) consume_Windows_ApplicationModel_Email_IEmailMailbox::GetMessageReader() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::GetMessageReader() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->GetMessageReader(&result)); return winrt::Windows::ApplicationModel::Email::EmailMessageReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) consume_Windows_ApplicationModel_Email_IEmailMailbox::GetMessageReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::GetMessageReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->GetMessageReaderWithOptions(*(void**)(&options), &result)); return winrt::Windows::ApplicationModel::Email::EmailMessageReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox::DeleteAsync() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::DeleteAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->DeleteAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailbox::GetConversationAsync(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::GetConversationAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->GetConversationAsync(*(void**)(&id), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailbox::GetFolderAsync(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::GetFolderAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->GetFolderAsync(*(void**)(&id), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailbox::GetMessageAsync(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::GetMessageAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->GetMessageAsync(*(void**)(&id), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailbox::GetSpecialFolderAsync(winrt::Windows::ApplicationModel::Email::EmailSpecialFolderKind const& folderType) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::GetSpecialFolderAsync(winrt::Windows::ApplicationModel::Email::EmailSpecialFolderKind const& folderType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->GetSpecialFolderAsync(static_cast(folderType), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox::SaveAsync() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::SaveAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->SaveAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox::MarkMessageAsSeenAsync(param::hstring const& messageId) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::MarkMessageAsSeenAsync(param::hstring const& messageId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->MarkMessageAsSeenAsync(*(void**)(&messageId), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox::MarkFolderAsSeenAsync(param::hstring const& folderId) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::MarkFolderAsSeenAsync(param::hstring const& folderId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->MarkFolderAsSeenAsync(*(void**)(&folderId), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox::MarkMessageReadAsync(param::hstring const& messageId, bool isRead) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::MarkMessageReadAsync(param::hstring const& messageId, bool isRead) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->MarkMessageReadAsync(*(void**)(&messageId), isRead, &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox::ChangeMessageFlagStateAsync(param::hstring const& messageId, winrt::Windows::ApplicationModel::Email::EmailFlagState const& flagState) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::ChangeMessageFlagStateAsync(param::hstring const& messageId, winrt::Windows::ApplicationModel::Email::EmailFlagState const& flagState) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->ChangeMessageFlagStateAsync(*(void**)(&messageId), static_cast(flagState), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailbox::TryMoveMessageAsync(param::hstring const& messageId, param::hstring const& newParentFolderId) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::TryMoveMessageAsync(param::hstring const& messageId, param::hstring const& newParentFolderId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->TryMoveMessageAsync(*(void**)(&messageId), *(void**)(&newParentFolderId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailbox::TryMoveFolderAsync(param::hstring const& folderId, param::hstring const& newParentFolderId) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::TryMoveFolderAsync(param::hstring const& folderId, param::hstring const& newParentFolderId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->TryMoveFolderAsync(*(void**)(&folderId), *(void**)(&newParentFolderId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailbox::TryMoveFolderAsync(param::hstring const& folderId, param::hstring const& newParentFolderId, param::hstring const& newFolderName) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::TryMoveFolderAsync(param::hstring const& folderId, param::hstring const& newParentFolderId, param::hstring const& newFolderName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->TryMoveFolderWithNewNameAsync(*(void**)(&folderId), *(void**)(&newParentFolderId), *(void**)(&newFolderName), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox::DeleteMessageAsync(param::hstring const& messageId) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::DeleteMessageAsync(param::hstring const& messageId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->DeleteMessageAsync(*(void**)(&messageId), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox::MarkFolderSyncEnabledAsync(param::hstring const& folderId, bool isSyncEnabled) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::MarkFolderSyncEnabledAsync(param::hstring const& folderId, bool isSyncEnabled) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->MarkFolderSyncEnabledAsync(*(void**)(&folderId), isSyncEnabled, &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox::SendMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::SendMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->SendMessageAsync(*(void**)(&message), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox::SaveDraftAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::SaveDraftAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->SaveDraftAsync(*(void**)(&message), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox::DownloadMessageAsync(param::hstring const& messageId) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::DownloadMessageAsync(param::hstring const& messageId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->DownloadMessageAsync(*(void**)(&messageId), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox::DownloadAttachmentAsync(param::hstring const& attachmentId) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::DownloadAttachmentAsync(param::hstring const& attachmentId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->DownloadAttachmentAsync(*(void**)(&attachmentId), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailbox::CreateResponseMessageAsync(param::hstring const& messageId, winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind const& responseType, param::hstring const& subject, winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& responseHeaderType, param::hstring const& responseHeader) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::CreateResponseMessageAsync(param::hstring const& messageId, winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind const& responseType, param::hstring const& subject, winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& responseHeaderType, param::hstring const& responseHeader) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->CreateResponseMessageAsync(*(void**)(&messageId), static_cast(responseType), *(void**)(&subject), static_cast(responseHeaderType), *(void**)(&responseHeader), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailbox::TryUpdateMeetingResponseAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& meeting, winrt::Windows::ApplicationModel::Email::EmailMeetingResponseType const& response, param::hstring const& subject, param::hstring const& comment, bool sendUpdate) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::TryUpdateMeetingResponseAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& meeting, winrt::Windows::ApplicationModel::Email::EmailMeetingResponseType const& response, param::hstring const& subject, param::hstring const& comment, bool sendUpdate) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->TryUpdateMeetingResponseAsync(*(void**)(&meeting), static_cast(response), *(void**)(&subject), *(void**)(&comment), sendUpdate, &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailbox::TryForwardMeetingAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& meeting, param::async_iterable const& recipients, param::hstring const& subject, winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& forwardHeaderType, param::hstring const& forwardHeader, param::hstring const& comment) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::TryForwardMeetingAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& meeting, param::async_iterable const& recipients, param::hstring const& subject, winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& forwardHeaderType, param::hstring const& forwardHeader, param::hstring const& comment) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->TryForwardMeetingAsync(*(void**)(&meeting), *(void**)(&recipients), *(void**)(&subject), static_cast(forwardHeaderType), *(void**)(&forwardHeader), *(void**)(&comment), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailbox::TryProposeNewTimeForMeetingAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& meeting, winrt::Windows::Foundation::DateTime const& newStartTime, winrt::Windows::Foundation::TimeSpan const& newDuration, param::hstring const& subject, param::hstring const& comment) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::TryProposeNewTimeForMeetingAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& meeting, winrt::Windows::Foundation::DateTime const& newStartTime, winrt::Windows::Foundation::TimeSpan const& newDuration, param::hstring const& subject, param::hstring const& comment) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->TryProposeNewTimeForMeetingAsync(*(void**)(&meeting), impl::bind_in(newStartTime), impl::bind_in(newDuration), *(void**)(&subject), *(void**)(&comment), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_IEmailMailbox::MailboxChanged(winrt::Windows::Foundation::TypedEventHandler const& pHandler) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::MailboxChanged(winrt::Windows::Foundation::TypedEventHandler const& pHandler) const { winrt::event_token pToken{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->add_MailboxChanged(*(void**)(&pHandler), put_abi(pToken))); return pToken; } - template typename consume_Windows_ApplicationModel_Email_IEmailMailbox::MailboxChanged_revoker consume_Windows_ApplicationModel_Email_IEmailMailbox::MailboxChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& pHandler) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::MailboxChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& pHandler) const { return impl::make_event_revoker(this, MailboxChanged(pHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailbox::MailboxChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::MailboxChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->remove_MailboxChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox::SendMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message, bool smartSend) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::SendMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message, bool smartSend) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->SmartSendMessageAsync(*(void**)(&message), smartSend, &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailbox::TrySetAutoReplySettingsAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings const& autoReplySettings) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::TrySetAutoReplySettingsAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings const& autoReplySettings) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->TrySetAutoReplySettingsAsync(*(void**)(&autoReplySettings), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailbox::TryGetAutoReplySettingsAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind const& requestedFormat) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox::TryGetAutoReplySettingsAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind const& requestedFormat) const { void* autoReplySettings{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->TryGetAutoReplySettingsAsync(static_cast(requestedFormat), &autoReplySettings)); return winrt::Windows::Foundation::IAsyncOperation{ autoReplySettings, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailbox2::LinkedMailboxId() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox2::LinkedMailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox2)->get_LinkedMailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailbox2::NetworkAccountId() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox2::NetworkAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox2)->get_NetworkAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailbox2::NetworkId() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox2::NetworkId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox2)->get_NetworkId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Email_IEmailMailbox3::ResolveRecipientsAsync(param::async_iterable const& recipients) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox3::ResolveRecipientsAsync(param::async_iterable const& recipients) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox3)->ResolveRecipientsAsync(*(void**)(&recipients), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Email_IEmailMailbox3::ValidateCertificatesAsync(param::async_iterable const& certificates) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox3::ValidateCertificatesAsync(param::async_iterable const& certificates) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox3)->ValidateCertificatesAsync(*(void**)(&certificates), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailbox3::TryEmptyFolderAsync(param::hstring const& folderId) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox3::TryEmptyFolderAsync(param::hstring const& folderId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox3)->TryEmptyFolderAsync(*(void**)(&folderId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailbox3::TryCreateFolderAsync(param::hstring const& parentFolderId, param::hstring const& name) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox3::TryCreateFolderAsync(param::hstring const& parentFolderId, param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox3)->TryCreateFolderAsync(*(void**)(&parentFolderId), *(void**)(&name), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailbox3::TryDeleteFolderAsync(param::hstring const& folderId) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox3::TryDeleteFolderAsync(param::hstring const& folderId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox3)->TryDeleteFolderAsync(*(void**)(&folderId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox4::RegisterSyncManagerAsync() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox4::RegisterSyncManagerAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox4)->RegisterSyncManagerAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxChangeTracker) consume_Windows_ApplicationModel_Email_IEmailMailbox5::GetChangeTracker(param::hstring const& identity) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailbox5::GetChangeTracker(param::hstring const& identity) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox5)->GetChangeTracker(*(void**)(&identity), &result)); return winrt::Windows::ApplicationModel::Email::EmailMailboxChangeTracker{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxActionKind) consume_Windows_ApplicationModel_Email_IEmailMailboxAction::Kind() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAction::Kind() const { winrt::Windows::ApplicationModel::Email::EmailMailboxActionKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAction)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Email_IEmailMailboxAction::ChangeNumber() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAction::ChangeNumber() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAction)->get_ChangeNumber(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply::IsEnabled() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReply)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply::IsEnabled(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReply)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply::Response() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply::Response() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReply)->get_Response(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply::Response(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply::Response(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReply)->put_Response(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::IsEnabled() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::IsEnabled(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::ResponseKind() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::ResponseKind() const { winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->get_ResponseKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::ResponseKind(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::ResponseKind(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->put_ResponseKind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::StartTime() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::StartTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->get_StartTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::StartTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::StartTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->put_StartTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::EndTime() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::EndTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->get_EndTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::EndTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::EndTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->put_EndTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReply) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::InternalReply() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::InternalReply() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->get_InternalReply(&value)); return winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReply{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReply) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::KnownExternalReply() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::KnownExternalReply() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->get_KnownExternalReply(&value)); return winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReply{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReply) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::UnknownExternalReply() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings::UnknownExternalReply() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->get_UnknownExternalReply(&value)); return winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReply{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities::CanForwardMeetings() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities::CanForwardMeetings() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities)->get_CanForwardMeetings(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities::CanGetAndSetExternalAutoReplies() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities::CanGetAndSetExternalAutoReplies() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities)->get_CanGetAndSetExternalAutoReplies(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities::CanGetAndSetInternalAutoReplies() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities::CanGetAndSetInternalAutoReplies() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities)->get_CanGetAndSetInternalAutoReplies(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities::CanUpdateMeetingResponses() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities::CanUpdateMeetingResponses() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities)->get_CanUpdateMeetingResponses(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities::CanServerSearchFolders() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities::CanServerSearchFolders() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities)->get_CanServerSearchFolders(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities::CanServerSearchMailbox() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities::CanServerSearchMailbox() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities)->get_CanServerSearchMailbox(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities::CanProposeNewTimeForMeetings() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities::CanProposeNewTimeForMeetings() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities)->get_CanProposeNewTimeForMeetings(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities::CanSmartSend() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities::CanSmartSend() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities)->get_CanSmartSend(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2::CanResolveRecipients() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2::CanResolveRecipients() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities2)->get_CanResolveRecipients(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2::CanValidateCertificates() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2::CanValidateCertificates() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities2)->get_CanValidateCertificates(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2::CanEmptyFolder() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2::CanEmptyFolder() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities2)->get_CanEmptyFolder(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2::CanCreateFolder() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2::CanCreateFolder() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities2)->get_CanCreateFolder(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2::CanDeleteFolder() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2::CanDeleteFolder() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities2)->get_CanDeleteFolder(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2::CanMoveFolder() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2::CanMoveFolder() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities2)->get_CanMoveFolder(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanForwardMeetings(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanForwardMeetings(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanForwardMeetings(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanGetAndSetExternalAutoReplies(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanGetAndSetExternalAutoReplies(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanGetAndSetExternalAutoReplies(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanGetAndSetInternalAutoReplies(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanGetAndSetInternalAutoReplies(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanGetAndSetInternalAutoReplies(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanUpdateMeetingResponses(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanUpdateMeetingResponses(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanUpdateMeetingResponses(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanServerSearchFolders(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanServerSearchFolders(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanServerSearchFolders(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanServerSearchMailbox(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanServerSearchMailbox(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanServerSearchMailbox(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanProposeNewTimeForMeetings(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanProposeNewTimeForMeetings(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanProposeNewTimeForMeetings(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanSmartSend(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanSmartSend(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanSmartSend(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanResolveRecipients(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanResolveRecipients(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanResolveRecipients(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanValidateCertificates(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanValidateCertificates(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanValidateCertificates(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanEmptyFolder(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanEmptyFolder(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanEmptyFolder(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanCreateFolder(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanCreateFolder(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanCreateFolder(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanDeleteFolder(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanDeleteFolder(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanDeleteFolder(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanMoveFolder(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3::CanMoveFolder(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanMoveFolder(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxChangeType) consume_Windows_ApplicationModel_Email_IEmailMailboxChange::ChangeType() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxChange::ChangeType() const { winrt::Windows::ApplicationModel::Email::EmailMailboxChangeType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChange)->get_ChangeType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Email_IEmailMailboxChange::MailboxActions() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxChange::MailboxActions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChange)->get_MailboxActions(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessage) consume_Windows_ApplicationModel_Email_IEmailMailboxChange::Message() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxChange::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChange)->get_Message(&value)); return winrt::Windows::ApplicationModel::Email::EmailMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailFolder) consume_Windows_ApplicationModel_Email_IEmailMailboxChange::Folder() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxChange::Folder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChange)->get_Folder(&value)); return winrt::Windows::ApplicationModel::Email::EmailFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxChangeReader::AcceptChanges() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangeReader::AcceptChanges() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChangeReader)->AcceptChanges()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxChangeReader::AcceptChangesThrough(winrt::Windows::ApplicationModel::Email::EmailMailboxChange const& lastChangeToAcknowledge) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangeReader::AcceptChangesThrough(winrt::Windows::ApplicationModel::Email::EmailMailboxChange const& lastChangeToAcknowledge) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChangeReader)->AcceptChangesThrough(*(void**)(&lastChangeToAcknowledge))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Email_IEmailMailboxChangeReader::ReadBatchAsync() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangeReader::ReadBatchAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChangeReader)->ReadBatchAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker::IsTracking() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker::IsTracking() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChangeTracker)->get_IsTracking(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker::Enable() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker::Enable() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChangeTracker)->Enable()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxChangeReader) consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker::GetChangeReader() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker::GetChangeReader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChangeTracker)->GetChangeReader(&value)); return winrt::Windows::ApplicationModel::Email::EmailMailboxChangeReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker::Reset() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker::Reset() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChangeTracker)->Reset()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxChangedDeferral::Complete() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangedDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChangedDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxChangedDeferral) consume_Windows_ApplicationModel_Email_IEmailMailboxChangedEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChangedEventArgs)->GetDeferral(&result)); return winrt::Windows::ApplicationModel::Email::EmailMailboxChangedDeferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxCreateFolderStatus) consume_Windows_ApplicationModel_Email_IEmailMailboxCreateFolderResult::Status() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCreateFolderResult::Status() const { winrt::Windows::ApplicationModel::Email::EmailMailboxCreateFolderStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCreateFolderResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailFolder) consume_Windows_ApplicationModel_Email_IEmailMailboxCreateFolderResult::Folder() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxCreateFolderResult::Folder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCreateFolderResult)->get_Folder(&value)); return winrt::Windows::ApplicationModel::Email::EmailFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies::AllowedSmimeEncryptionAlgorithmNegotiation() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies::AllowedSmimeEncryptionAlgorithmNegotiation() const { winrt::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies)->get_AllowedSmimeEncryptionAlgorithmNegotiation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies::AllowSmimeSoftCertificates() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies::AllowSmimeSoftCertificates() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies)->get_AllowSmimeSoftCertificates(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies::RequiredSmimeEncryptionAlgorithm() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies::RequiredSmimeEncryptionAlgorithm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies)->get_RequiredSmimeEncryptionAlgorithm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies::RequiredSmimeSigningAlgorithm() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies::RequiredSmimeSigningAlgorithm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies)->get_RequiredSmimeSigningAlgorithm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies2::MustEncryptSmimeMessages() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies2::MustEncryptSmimeMessages() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies2)->get_MustEncryptSmimeMessages(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies2::MustSignSmimeMessages() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies2::MustSignSmimeMessages() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies2)->get_MustSignSmimeMessages(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3::AllowedSmimeEncryptionAlgorithmNegotiation(winrt::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3::AllowedSmimeEncryptionAlgorithmNegotiation(winrt::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies3)->put_AllowedSmimeEncryptionAlgorithmNegotiation(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3::AllowSmimeSoftCertificates(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3::AllowSmimeSoftCertificates(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies3)->put_AllowSmimeSoftCertificates(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3::RequiredSmimeEncryptionAlgorithm(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3::RequiredSmimeEncryptionAlgorithm(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies3)->put_RequiredSmimeEncryptionAlgorithm(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3::RequiredSmimeSigningAlgorithm(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3::RequiredSmimeSigningAlgorithm(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies3)->put_RequiredSmimeSigningAlgorithm(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3::MustEncryptSmimeMessages(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3::MustEncryptSmimeMessages(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies3)->put_MustEncryptSmimeMessages(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3::MustSignSmimeMessages(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3::MustSignSmimeMessages(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies3)->put_MustSignSmimeMessages(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxSyncStatus) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager::Status() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager::Status() const { winrt::Windows::ApplicationModel::Email::EmailMailboxSyncStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager::LastSuccessfulSyncTime() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager::LastSuccessfulSyncTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager)->get_LastSuccessfulSyncTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager::LastAttemptedSyncTime() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager::LastAttemptedSyncTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager)->get_LastAttemptedSyncTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager::SyncAsync() const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager::SyncAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager)->SyncAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager::SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager::SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager)->add_SyncStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager::SyncStatusChanged_revoker consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager::SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager::SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SyncStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager::SyncStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager::SyncStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager)->remove_SyncStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager2::Status(winrt::Windows::ApplicationModel::Email::EmailMailboxSyncStatus const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager2::Status(winrt::Windows::ApplicationModel::Email::EmailMailboxSyncStatus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager2)->put_Status(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager2::LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager2::LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager2)->put_LastSuccessfulSyncTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager2::LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager2::LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager2)->put_LastAttemptedSyncTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailManagerForUser::ShowComposeNewEmailAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const + template auto consume_Windows_ApplicationModel_Email_IEmailManagerForUser::ShowComposeNewEmailAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailManagerForUser)->ShowComposeNewEmailAsync(*(void**)(&message), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailManagerForUser::RequestStoreAsync(winrt::Windows::ApplicationModel::Email::EmailStoreAccessType const& accessType) const + template auto consume_Windows_ApplicationModel_Email_IEmailManagerForUser::RequestStoreAsync(winrt::Windows::ApplicationModel::Email::EmailStoreAccessType const& accessType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailManagerForUser)->RequestStoreAsync(static_cast(accessType), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Email_IEmailManagerForUser::User() const + template auto consume_Windows_ApplicationModel_Email_IEmailManagerForUser::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailManagerForUser)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailManagerStatics::ShowComposeNewEmailAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const + template auto consume_Windows_ApplicationModel_Email_IEmailManagerStatics::ShowComposeNewEmailAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailManagerStatics)->ShowComposeNewEmailAsync(*(void**)(&message), &asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailManagerStatics2::RequestStoreAsync(winrt::Windows::ApplicationModel::Email::EmailStoreAccessType const& accessType) const + template auto consume_Windows_ApplicationModel_Email_IEmailManagerStatics2::RequestStoreAsync(winrt::Windows::ApplicationModel::Email::EmailStoreAccessType const& accessType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailManagerStatics2)->RequestStoreAsync(static_cast(accessType), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailManagerForUser) consume_Windows_ApplicationModel_Email_IEmailManagerStatics3::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_Email_IEmailManagerStatics3::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailManagerStatics3)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::ApplicationModel::Email::EmailManagerForUser{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::AllowNewTimeProposal() const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::AllowNewTimeProposal() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_AllowNewTimeProposal(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::AllowNewTimeProposal(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::AllowNewTimeProposal(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_AllowNewTimeProposal(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::AppointmentRoamingId() const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::AppointmentRoamingId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_AppointmentRoamingId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::AppointmentRoamingId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::AppointmentRoamingId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_AppointmentRoamingId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::AppointmentOriginalStartTime() const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::AppointmentOriginalStartTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_AppointmentOriginalStartTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::AppointmentOriginalStartTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::AppointmentOriginalStartTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_AppointmentOriginalStartTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::Duration() const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::Duration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::Duration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_Duration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::IsAllDay() const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::IsAllDay() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_IsAllDay(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::IsAllDay(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::IsAllDay(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_IsAllDay(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::IsResponseRequested() const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::IsResponseRequested() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_IsResponseRequested(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::IsResponseRequested(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::IsResponseRequested(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_IsResponseRequested(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::Location() const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_Location(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::Location(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::Location(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_Location(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::ProposedStartTime() const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::ProposedStartTime() const { void* proposedStartTime{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_ProposedStartTime(&proposedStartTime)); return winrt::Windows::Foundation::IReference{ proposedStartTime, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::ProposedStartTime(winrt::Windows::Foundation::IReference const& proposedStartTime) const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::ProposedStartTime(winrt::Windows::Foundation::IReference const& proposedStartTime) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_ProposedStartTime(*(void**)(&proposedStartTime))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::ProposedDuration() const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::ProposedDuration() const { void* duration{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_ProposedDuration(&duration)); return winrt::Windows::Foundation::IReference{ duration, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::ProposedDuration(winrt::Windows::Foundation::IReference const& duration) const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::ProposedDuration(winrt::Windows::Foundation::IReference const& duration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_ProposedDuration(*(void**)(&duration))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::RecurrenceStartTime() const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::RecurrenceStartTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_RecurrenceStartTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::RecurrenceStartTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::RecurrenceStartTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_RecurrenceStartTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::Recurrence() const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::Recurrence() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_Recurrence(&value)); return winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::Recurrence(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::Recurrence(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_Recurrence(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::RemoteChangeNumber() const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::RemoteChangeNumber() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_RemoteChangeNumber(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::RemoteChangeNumber(uint64_t value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::RemoteChangeNumber(uint64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_RemoteChangeNumber(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::StartTime() const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::StartTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_StartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::StartTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo::StartTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_StartTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo2::IsReportedOutOfDateByServer() const + template auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo2::IsReportedOutOfDateByServer() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo2)->get_IsReportedOutOfDateByServer(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage::Subject() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage::Subject(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage::Subject(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage)->put_Subject(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage::Body() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage::Body() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage)->get_Body(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage::Body(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage::Body(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage)->put_Body(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Email_IEmailMessage::To() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage::To() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage)->get_To(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Email_IEmailMessage::CC() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage::CC() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage)->get_CC(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Email_IEmailMessage::Bcc() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage::Bcc() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage)->get_Bcc(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Email_IEmailMessage::Attachments() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage::Attachments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage)->get_Attachments(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2::Id() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2::RemoteId() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::RemoteId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_RemoteId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::RemoteId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::RemoteId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_RemoteId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2::MailboxId() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::MailboxId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_MailboxId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2::ConversationId() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::ConversationId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_ConversationId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2::FolderId() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::FolderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_FolderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMessage2::AllowInternetImages() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::AllowInternetImages() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_AllowInternetImages(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::AllowInternetImages(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::AllowInternetImages(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_AllowInternetImages(value)); } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Email_IEmailMessage2::ChangeNumber() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::ChangeNumber() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_ChangeNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageDownloadState) consume_Windows_ApplicationModel_Email_IEmailMessage2::DownloadState() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::DownloadState() const { winrt::Windows::ApplicationModel::Email::EmailMessageDownloadState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_DownloadState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::DownloadState(winrt::Windows::ApplicationModel::Email::EmailMessageDownloadState const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::DownloadState(winrt::Windows::ApplicationModel::Email::EmailMessageDownloadState const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_DownloadState(static_cast(value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Email_IEmailMessage2::EstimatedDownloadSizeInBytes() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::EstimatedDownloadSizeInBytes() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_EstimatedDownloadSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::EstimatedDownloadSizeInBytes(uint32_t value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::EstimatedDownloadSizeInBytes(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_EstimatedDownloadSizeInBytes(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailFlagState) consume_Windows_ApplicationModel_Email_IEmailMessage2::FlagState() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::FlagState() const { winrt::Windows::ApplicationModel::Email::EmailFlagState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_FlagState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::FlagState(winrt::Windows::ApplicationModel::Email::EmailFlagState const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::FlagState(winrt::Windows::ApplicationModel::Email::EmailFlagState const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_FlagState(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMessage2::HasPartialBodies() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::HasPartialBodies() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_HasPartialBodies(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailImportance) consume_Windows_ApplicationModel_Email_IEmailMessage2::Importance() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::Importance() const { winrt::Windows::ApplicationModel::Email::EmailImportance value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_Importance(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::Importance(winrt::Windows::ApplicationModel::Email::EmailImportance const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::Importance(winrt::Windows::ApplicationModel::Email::EmailImportance const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_Importance(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2::InResponseToMessageId() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::InResponseToMessageId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_InResponseToMessageId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailIrmInfo) consume_Windows_ApplicationModel_Email_IEmailMessage2::IrmInfo() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::IrmInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_IrmInfo(&value)); return winrt::Windows::ApplicationModel::Email::EmailIrmInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::IrmInfo(winrt::Windows::ApplicationModel::Email::EmailIrmInfo const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::IrmInfo(winrt::Windows::ApplicationModel::Email::EmailIrmInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_IrmInfo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMessage2::IsDraftMessage() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::IsDraftMessage() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_IsDraftMessage(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMessage2::IsRead() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::IsRead() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_IsRead(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::IsRead(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::IsRead(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_IsRead(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMessage2::IsSeen() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::IsSeen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_IsSeen(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::IsSeen(bool value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::IsSeen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_IsSeen(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMessage2::IsServerSearchMessage() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::IsServerSearchMessage() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_IsServerSearchMessage(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMessage2::IsSmartSendable() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::IsSmartSendable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_IsSmartSendable(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2::MessageClass() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::MessageClass() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_MessageClass(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::MessageClass(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::MessageClass(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_MessageClass(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2::NormalizedSubject() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::NormalizedSubject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_NormalizedSubject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Email_IEmailMessage2::OriginalCodePage() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::OriginalCodePage() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_OriginalCodePage(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::OriginalCodePage(int32_t value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::OriginalCodePage(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_OriginalCodePage(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2::Preview() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::Preview() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_Preview(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::Preview(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::Preview(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_Preview(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind) consume_Windows_ApplicationModel_Email_IEmailMessage2::LastResponseKind() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::LastResponseKind() const { winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_LastResponseKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::LastResponseKind(winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::LastResponseKind(winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_LastResponseKind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipient) consume_Windows_ApplicationModel_Email_IEmailMessage2::Sender() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::Sender() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_Sender(&value)); return winrt::Windows::ApplicationModel::Email::EmailRecipient{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::Sender(winrt::Windows::ApplicationModel::Email::EmailRecipient const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::Sender(winrt::Windows::ApplicationModel::Email::EmailRecipient const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_Sender(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Email_IEmailMessage2::SentTime() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::SentTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_SentTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::SentTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::SentTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_SentTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMeetingInfo) consume_Windows_ApplicationModel_Email_IEmailMessage2::MeetingInfo() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::MeetingInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_MeetingInfo(&value)); return winrt::Windows::ApplicationModel::Email::EmailMeetingInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::MeetingInfo(winrt::Windows::ApplicationModel::Email::EmailMeetingInfo const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::MeetingInfo(winrt::Windows::ApplicationModel::Email::EmailMeetingInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_MeetingInfo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Email_IEmailMessage2::GetBodyStream(winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& type) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::GetBodyStream(winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& type) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->GetBodyStream(static_cast(type), &result)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2::SetBodyStream(winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& type, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage2::SetBodyStream(winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& type, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->SetBodyStream(static_cast(type), *(void**)(&stream))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Email_IEmailMessage3::SmimeData() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage3::SmimeData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage3)->get_SmimeData(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage3::SmimeData(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage3::SmimeData(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage3)->put_SmimeData(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageSmimeKind) consume_Windows_ApplicationModel_Email_IEmailMessage3::SmimeKind() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage3::SmimeKind() const { winrt::Windows::ApplicationModel::Email::EmailMessageSmimeKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage3)->get_SmimeKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage3::SmimeKind(winrt::Windows::ApplicationModel::Email::EmailMessageSmimeKind const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage3::SmimeKind(winrt::Windows::ApplicationModel::Email::EmailMessageSmimeKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage3)->put_SmimeKind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Email_IEmailMessage4::ReplyTo() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage4::ReplyTo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage4)->get_ReplyTo(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipient) consume_Windows_ApplicationModel_Email_IEmailMessage4::SentRepresenting() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage4::SentRepresenting() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage4)->get_SentRepresenting(&value)); return winrt::Windows::ApplicationModel::Email::EmailRecipient{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage4::SentRepresenting(winrt::Windows::ApplicationModel::Email::EmailRecipient const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailMessage4::SentRepresenting(winrt::Windows::ApplicationModel::Email::EmailRecipient const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage4)->put_SentRepresenting(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Email_IEmailMessageBatch::Messages() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessageBatch::Messages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessageBatch)->get_Messages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailBatchStatus) consume_Windows_ApplicationModel_Email_IEmailMessageBatch::Status() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessageBatch::Status() const { winrt::Windows::ApplicationModel::Email::EmailBatchStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessageBatch)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailMessageReader::ReadBatchAsync() const + template auto consume_Windows_ApplicationModel_Email_IEmailMessageReader::ReadBatchAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessageReader)->ReadBatchAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQueryTextSearch) consume_Windows_ApplicationModel_Email_IEmailQueryOptions::TextSearch() const + template auto consume_Windows_ApplicationModel_Email_IEmailQueryOptions::TextSearch() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptions)->get_TextSearch(&value)); return winrt::Windows::ApplicationModel::Email::EmailQueryTextSearch{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQuerySortDirection) consume_Windows_ApplicationModel_Email_IEmailQueryOptions::SortDirection() const + template auto consume_Windows_ApplicationModel_Email_IEmailQueryOptions::SortDirection() const { winrt::Windows::ApplicationModel::Email::EmailQuerySortDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptions)->get_SortDirection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailQueryOptions::SortDirection(winrt::Windows::ApplicationModel::Email::EmailQuerySortDirection const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailQueryOptions::SortDirection(winrt::Windows::ApplicationModel::Email::EmailQuerySortDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptions)->put_SortDirection(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQuerySortProperty) consume_Windows_ApplicationModel_Email_IEmailQueryOptions::SortProperty() const + template auto consume_Windows_ApplicationModel_Email_IEmailQueryOptions::SortProperty() const { winrt::Windows::ApplicationModel::Email::EmailQuerySortProperty value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptions)->get_SortProperty(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailQueryOptions::SortProperty(winrt::Windows::ApplicationModel::Email::EmailQuerySortProperty const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailQueryOptions::SortProperty(winrt::Windows::ApplicationModel::Email::EmailQuerySortProperty const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptions)->put_SortProperty(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQueryKind) consume_Windows_ApplicationModel_Email_IEmailQueryOptions::Kind() const + template auto consume_Windows_ApplicationModel_Email_IEmailQueryOptions::Kind() const { winrt::Windows::ApplicationModel::Email::EmailQueryKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptions)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailQueryOptions::Kind(winrt::Windows::ApplicationModel::Email::EmailQueryKind const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailQueryOptions::Kind(winrt::Windows::ApplicationModel::Email::EmailQueryKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptions)->put_Kind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Email_IEmailQueryOptions::FolderIds() const + template auto consume_Windows_ApplicationModel_Email_IEmailQueryOptions::FolderIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptions)->get_FolderIds(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQueryOptions) consume_Windows_ApplicationModel_Email_IEmailQueryOptionsFactory::CreateWithText(param::hstring const& text) const + template auto consume_Windows_ApplicationModel_Email_IEmailQueryOptionsFactory::CreateWithText(param::hstring const& text) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptionsFactory)->CreateWithText(*(void**)(&text), &result)); return winrt::Windows::ApplicationModel::Email::EmailQueryOptions{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQueryOptions) consume_Windows_ApplicationModel_Email_IEmailQueryOptionsFactory::CreateWithTextAndFields(param::hstring const& text, winrt::Windows::ApplicationModel::Email::EmailQuerySearchFields const& fields) const + template auto consume_Windows_ApplicationModel_Email_IEmailQueryOptionsFactory::CreateWithTextAndFields(param::hstring const& text, winrt::Windows::ApplicationModel::Email::EmailQuerySearchFields const& fields) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptionsFactory)->CreateWithTextAndFields(*(void**)(&text), static_cast(fields), &result)); return winrt::Windows::ApplicationModel::Email::EmailQueryOptions{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQuerySearchFields) consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch::Fields() const + template auto consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch::Fields() const { winrt::Windows::ApplicationModel::Email::EmailQuerySearchFields value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryTextSearch)->get_Fields(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch::Fields(winrt::Windows::ApplicationModel::Email::EmailQuerySearchFields const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch::Fields(winrt::Windows::ApplicationModel::Email::EmailQuerySearchFields const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryTextSearch)->put_Fields(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQuerySearchScope) consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch::SearchScope() const + template auto consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch::SearchScope() const { winrt::Windows::ApplicationModel::Email::EmailQuerySearchScope value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryTextSearch)->get_SearchScope(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch::SearchScope(winrt::Windows::ApplicationModel::Email::EmailQuerySearchScope const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch::SearchScope(winrt::Windows::ApplicationModel::Email::EmailQuerySearchScope const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryTextSearch)->put_SearchScope(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch::Text() const + template auto consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryTextSearch)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch::Text(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryTextSearch)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailRecipient::Name() const + template auto consume_Windows_ApplicationModel_Email_IEmailRecipient::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailRecipient)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailRecipient::Name(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailRecipient::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailRecipient)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailRecipient::Address() const + template auto consume_Windows_ApplicationModel_Email_IEmailRecipient::Address() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailRecipient)->get_Address(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailRecipient::Address(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailRecipient::Address(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailRecipient)->put_Address(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipient) consume_Windows_ApplicationModel_Email_IEmailRecipientFactory::Create(param::hstring const& address) const + template auto consume_Windows_ApplicationModel_Email_IEmailRecipientFactory::Create(param::hstring const& address) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailRecipientFactory)->Create(*(void**)(&address), &result)); return winrt::Windows::ApplicationModel::Email::EmailRecipient{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipient) consume_Windows_ApplicationModel_Email_IEmailRecipientFactory::CreateWithName(param::hstring const& address, param::hstring const& name) const + template auto consume_Windows_ApplicationModel_Email_IEmailRecipientFactory::CreateWithName(param::hstring const& address, param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailRecipientFactory)->CreateWithName(*(void**)(&address), *(void**)(&name), &result)); return winrt::Windows::ApplicationModel::Email::EmailRecipient{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus) consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult::Status() const + template auto consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult::Status() const { winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailRecipientResolutionResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult::PublicKeys() const + template auto consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult::PublicKeys() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailRecipientResolutionResult)->get_PublicKeys(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult2::Status(winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult2::Status(winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailRecipientResolutionResult2)->put_Status(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult2::SetPublicKeys(param::iterable const& value) const + template auto consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult2::SetPublicKeys(param::iterable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailRecipientResolutionResult2)->SetPublicKeys(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Email_IEmailStore::FindMailboxesAsync() const + template auto consume_Windows_ApplicationModel_Email_IEmailStore::FindMailboxesAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailStore)->FindMailboxesAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) consume_Windows_ApplicationModel_Email_IEmailStore::GetConversationReader() const + template auto consume_Windows_ApplicationModel_Email_IEmailStore::GetConversationReader() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailStore)->GetConversationReader(&result)); return winrt::Windows::ApplicationModel::Email::EmailConversationReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) consume_Windows_ApplicationModel_Email_IEmailStore::GetConversationReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const + template auto consume_Windows_ApplicationModel_Email_IEmailStore::GetConversationReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailStore)->GetConversationReaderWithOptions(*(void**)(&options), &result)); return winrt::Windows::ApplicationModel::Email::EmailConversationReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) consume_Windows_ApplicationModel_Email_IEmailStore::GetMessageReader() const + template auto consume_Windows_ApplicationModel_Email_IEmailStore::GetMessageReader() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailStore)->GetMessageReader(&result)); return winrt::Windows::ApplicationModel::Email::EmailMessageReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) consume_Windows_ApplicationModel_Email_IEmailStore::GetMessageReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const + template auto consume_Windows_ApplicationModel_Email_IEmailStore::GetMessageReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailStore)->GetMessageReaderWithOptions(*(void**)(&options), &result)); return winrt::Windows::ApplicationModel::Email::EmailMessageReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailStore::GetMailboxAsync(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Email_IEmailStore::GetMailboxAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailStore)->GetMailboxAsync(*(void**)(&id), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailStore::GetConversationAsync(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Email_IEmailStore::GetConversationAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailStore)->GetConversationAsync(*(void**)(&id), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailStore::GetFolderAsync(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Email_IEmailStore::GetFolderAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailStore)->GetFolderAsync(*(void**)(&id), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailStore::GetMessageAsync(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Email_IEmailStore::GetMessageAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailStore)->GetMessageAsync(*(void**)(&id), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailStore::CreateMailboxAsync(param::hstring const& accountName, param::hstring const& accountAddress) const + template auto consume_Windows_ApplicationModel_Email_IEmailStore::CreateMailboxAsync(param::hstring const& accountName, param::hstring const& accountAddress) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailStore)->CreateMailboxAsync(*(void**)(&accountName), *(void**)(&accountAddress), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Email_IEmailStore::CreateMailboxAsync(param::hstring const& accountName, param::hstring const& accountAddress, param::hstring const& userDataAccountId) const + template auto consume_Windows_ApplicationModel_Email_IEmailStore::CreateMailboxAsync(param::hstring const& accountName, param::hstring const& accountAddress, param::hstring const& userDataAccountId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailStore)->CreateMailboxInAccountAsync(*(void**)(&accountName), *(void**)(&accountAddress), *(void**)(&userDataAccountId), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ExtendedExecution.Foreground.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ExtendedExecution.Foreground.h index 7c281800..9f3b26d7 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ExtendedExecution.Foreground.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ExtendedExecution.Foreground.h @@ -1,59 +1,59 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_ExtendedExecution_Foreground_H #define WINRT_Windows_ApplicationModel_ExtendedExecution_Foreground_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.ExtendedExecution.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundRevokedReason) consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundRevokedEventArgs::Reason() const + template auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundRevokedEventArgs::Reason() const { winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundRevokedReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundRevokedEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::Description() const + template auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundSession)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::Description(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundSession)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::Revoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::Revoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundSession)->add_Revoked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::Revoked_revoker consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::Revoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::Revoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Revoked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::Revoked(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::Revoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundSession)->remove_Revoked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::RequestExtensionAsync() const + template auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::RequestExtensionAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundSession)->RequestExtensionAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundReason) consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::Reason() const + template auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::Reason() const { winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundSession)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::Reason(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundReason const& value) const + template auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession::Reason(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundReason const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundSession)->put_Reason(static_cast(value))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ExtendedExecution.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ExtendedExecution.h index f6a7ec87..8d91dd97 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ExtendedExecution.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ExtendedExecution.h @@ -1,67 +1,67 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_ExtendedExecution_H #define WINRT_Windows_ApplicationModel_ExtendedExecution_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.ApplicationModel.ExtendedExecution.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionRevokedReason) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionRevokedEventArgs::Reason() const + template auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionRevokedEventArgs::Reason() const { winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionRevokedReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionRevokedEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionReason) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::Reason() const + template auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::Reason() const { winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::Reason(winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionReason const& value) const + template auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::Reason(winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionReason const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession)->put_Reason(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::Description() const + template auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::Description(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::PercentProgress() const + template auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::PercentProgress() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession)->get_PercentProgress(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::PercentProgress(uint32_t value) const + template auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::PercentProgress(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession)->put_PercentProgress(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::Revoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::Revoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession)->add_Revoked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::Revoked_revoker consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::Revoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::Revoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Revoked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::Revoked(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::Revoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession)->remove_Revoked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::RequestExtensionAsync() const + template auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession::RequestExtensionAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession)->RequestExtensionAsync(&operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Holographic.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Holographic.h index eb75a923..520fafcf 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Holographic.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Holographic.h @@ -1,30 +1,30 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Holographic_H #define WINRT_Windows_ApplicationModel_Holographic_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.Numerics.2.h" #include "winrt/impl/Windows.Perception.Spatial.2.h" #include "winrt/impl/Windows.ApplicationModel.Holographic.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Holographic_IHolographicKeyboard::SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const + template auto consume_Windows_ApplicationModel_Holographic_IHolographicKeyboard::SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Holographic::IHolographicKeyboard)->SetPlacementOverride(*(void**)(&coordinateSystem), impl::bind_in(topCenterPosition), impl::bind_in(orientation))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Holographic_IHolographicKeyboard::SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::quaternion const& orientation, winrt::Windows::Foundation::Numerics::float2 const& maxSize) const + template auto consume_Windows_ApplicationModel_Holographic_IHolographicKeyboard::SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::quaternion const& orientation, winrt::Windows::Foundation::Numerics::float2 const& maxSize) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Holographic::IHolographicKeyboard)->SetPlacementOverrideWithMaxSize(*(void**)(&coordinateSystem), impl::bind_in(topCenterPosition), impl::bind_in(orientation), impl::bind_in(maxSize))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Holographic_IHolographicKeyboard::ResetPlacementOverride() const + template auto consume_Windows_ApplicationModel_Holographic_IHolographicKeyboard::ResetPlacementOverride() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Holographic::IHolographicKeyboard)->ResetPlacementOverride()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Holographic::HolographicKeyboard) consume_Windows_ApplicationModel_Holographic_IHolographicKeyboardStatics::GetDefault() const + template auto consume_Windows_ApplicationModel_Holographic_IHolographicKeyboardStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Holographic::IHolographicKeyboardStatics)->GetDefault(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.LockScreen.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.LockScreen.h index e45e67e5..df9e2e50 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.LockScreen.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.LockScreen.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_LockScreen_H #define WINRT_Windows_ApplicationModel_LockScreen_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,149 +13,149 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.LockScreen.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost::RequestUnlock() const + template auto consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost::RequestUnlock() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockApplicationHost)->RequestUnlock()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost::Unlocking(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost::Unlocking(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockApplicationHost)->add_Unlocking(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost::Unlocking_revoker consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost::Unlocking(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost::Unlocking(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Unlocking(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost::Unlocking(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost::Unlocking(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockApplicationHost)->remove_Unlocking(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::LockScreen::LockApplicationHost) consume_Windows_ApplicationModel_LockScreen_ILockApplicationHostStatics::GetForCurrentView() const + template auto consume_Windows_ApplicationModel_LockScreen_ILockApplicationHostStatics::GetForCurrentView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockApplicationHostStatics)->GetForCurrentView(&result)); return winrt::Windows::ApplicationModel::LockScreen::LockApplicationHost{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge::Logo() const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge::Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenBadge)->get_Logo(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge::Glyph() const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge::Glyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenBadge)->get_Glyph(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge::Number() const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge::Number() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenBadge)->get_Number(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge::AutomationName() const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge::AutomationName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenBadge)->get_AutomationName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge::LaunchApp() const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge::LaunchApp() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenBadge)->LaunchApp()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::LockScreenImageChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::LockScreenImageChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->add_LockScreenImageChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::LockScreenImageChanged_revoker consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::LockScreenImageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::LockScreenImageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LockScreenImageChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::LockScreenImageChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::LockScreenImageChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->remove_LockScreenImageChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::LockScreenImage() const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::LockScreenImage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->get_LockScreenImage(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::BadgesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::BadgesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->add_BadgesChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::BadgesChanged_revoker consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::BadgesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::BadgesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BadgesChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::BadgesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::BadgesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->remove_BadgesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::Badges() const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::Badges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->get_Badges(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::DetailTextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::DetailTextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->add_DetailTextChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::DetailTextChanged_revoker consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::DetailTextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::DetailTextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DetailTextChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::DetailTextChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::DetailTextChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->remove_DetailTextChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::DetailText() const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::DetailText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->get_DetailText(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::AlarmIconChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::AlarmIconChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->add_AlarmIconChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::AlarmIconChanged_revoker consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::AlarmIconChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::AlarmIconChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AlarmIconChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::AlarmIconChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::AlarmIconChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->remove_AlarmIconChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::AlarmIcon() const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo::AlarmIcon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->get_AlarmIcon(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingDeferral::Complete() const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenUnlockingDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::LockScreen::LockScreenUnlockingDeferral) consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingEventArgs::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenUnlockingEventArgs)->GetDeferral(&deferral)); return winrt::Windows::ApplicationModel::LockScreen::LockScreenUnlockingDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingEventArgs::Deadline() const + template auto consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingEventArgs::Deadline() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenUnlockingEventArgs)->get_Deadline(put_abi(value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Payments.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Payments.Provider.h index 50f15b05..bfac65db 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Payments.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Payments.Provider.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Payments_Provider_H #define WINRT_Windows_ApplicationModel_Payments_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.Payments.h" #include "winrt/impl/Windows.ApplicationModel.Payments.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,99 +13,99 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Payments.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppCanMakePaymentTriggerDetails::Request() const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppCanMakePaymentTriggerDetails::Request() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentAppCanMakePaymentTriggerDetails)->get_Request(&result)); return winrt::Windows::ApplicationModel::Payments::PaymentRequest{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppCanMakePaymentTriggerDetails::ReportCanMakePaymentResult(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResult const& value) const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppCanMakePaymentTriggerDetails::ReportCanMakePaymentResult(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResult const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentAppCanMakePaymentTriggerDetails)->ReportCanMakePaymentResult(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManager::RegisterAsync(param::async_iterable const& supportedPaymentMethodIds) const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManager::RegisterAsync(param::async_iterable const& supportedPaymentMethodIds) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentAppManager)->RegisterAsync(*(void**)(&supportedPaymentMethodIds), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManager::UnregisterAsync() const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManager::UnregisterAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentAppManager)->UnregisterAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::Provider::PaymentAppManager) consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManagerStatics::Current() const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManagerStatics::Current() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentAppManagerStatics)->get_Current(&value)); return winrt::Windows::ApplicationModel::Payments::Provider::PaymentAppManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::PaymentRequest() const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::PaymentRequest() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction)->get_PaymentRequest(&value)); return winrt::Windows::ApplicationModel::Payments::PaymentRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::PayerEmail() const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::PayerEmail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction)->get_PayerEmail(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::PayerEmail(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::PayerEmail(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction)->put_PayerEmail(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::PayerName() const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::PayerName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction)->get_PayerName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::PayerName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::PayerName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction)->put_PayerName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::PayerPhoneNumber() const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::PayerPhoneNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction)->get_PayerPhoneNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::PayerPhoneNumber(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::PayerPhoneNumber(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction)->put_PayerPhoneNumber(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::UpdateShippingAddressAsync(winrt::Windows::ApplicationModel::Payments::PaymentAddress const& shippingAddress) const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::UpdateShippingAddressAsync(winrt::Windows::ApplicationModel::Payments::PaymentAddress const& shippingAddress) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction)->UpdateShippingAddressAsync(*(void**)(&shippingAddress), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::UpdateSelectedShippingOptionAsync(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption const& selectedShippingOption) const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::UpdateSelectedShippingOptionAsync(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption const& selectedShippingOption) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction)->UpdateSelectedShippingOptionAsync(*(void**)(&selectedShippingOption), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::AcceptAsync(winrt::Windows::ApplicationModel::Payments::PaymentToken const& paymentToken) const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::AcceptAsync(winrt::Windows::ApplicationModel::Payments::PaymentToken const& paymentToken) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction)->AcceptAsync(*(void**)(&paymentToken), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::Reject() const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction::Reject() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction)->Reject()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequestCompletionStatus) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransactionAcceptResult::Status() const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransactionAcceptResult::Status() const { winrt::Windows::ApplicationModel::Payments::PaymentRequestCompletionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransactionAcceptResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransactionStatics::FromIdAsync(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransactionStatics::FromIdAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransactionStatics)->FromIdAsync(*(void**)(&id), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Payments.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Payments.h index e3b3cddd..5c21c93d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Payments.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Payments.h @@ -1,682 +1,682 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Payments_H #define WINRT_Windows_ApplicationModel_Payments_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.ApplicationModel.Payments.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress::Country() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::Country() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->get_Country(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress::Country(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::Country(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_Country(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Payments_IPaymentAddress::AddressLines() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::AddressLines() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->get_AddressLines(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress::AddressLines(param::async_vector_view const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::AddressLines(param::async_vector_view const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_AddressLines(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress::Region() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::Region() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->get_Region(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress::Region(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::Region(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_Region(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress::City() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::City() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->get_City(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress::City(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::City(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_City(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress::DependentLocality() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::DependentLocality() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->get_DependentLocality(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress::DependentLocality(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::DependentLocality(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_DependentLocality(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress::PostalCode() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::PostalCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->get_PostalCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress::PostalCode(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::PostalCode(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_PostalCode(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress::SortingCode() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::SortingCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->get_SortingCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress::SortingCode(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::SortingCode(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_SortingCode(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress::LanguageCode() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::LanguageCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->get_LanguageCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress::LanguageCode(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::LanguageCode(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_LanguageCode(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress::Organization() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::Organization() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->get_Organization(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress::Organization(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::Organization(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_Organization(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress::Recipient() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::Recipient() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->get_Recipient(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress::Recipient(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::Recipient(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_Recipient(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress::PhoneNumber() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::PhoneNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->get_PhoneNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress::PhoneNumber(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::PhoneNumber(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_PhoneNumber(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_Payments_IPaymentAddress::Properties() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentAddress::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResultStatus) consume_Windows_ApplicationModel_Payments_IPaymentCanMakePaymentResult::Status() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentCanMakePaymentResult::Status() const { winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResultStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentCanMakePaymentResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResult) consume_Windows_ApplicationModel_Payments_IPaymentCanMakePaymentResultFactory::Create(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResultStatus const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentCanMakePaymentResultFactory::Create(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResultStatus const& value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentCanMakePaymentResultFactory)->Create(static_cast(value), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount::Currency() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount::Currency() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentCurrencyAmount)->get_Currency(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount::Currency(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount::Currency(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentCurrencyAmount)->put_Currency(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount::CurrencySystem() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount::CurrencySystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentCurrencyAmount)->get_CurrencySystem(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount::CurrencySystem(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount::CurrencySystem(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentCurrencyAmount)->put_CurrencySystem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount::Value() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentCurrencyAmount)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount::Value(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount::Value(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentCurrencyAmount)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount) consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmountFactory::Create(param::hstring const& value, param::hstring const& currency) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmountFactory::Create(param::hstring const& value, param::hstring const& currency) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentCurrencyAmountFactory)->Create(*(void**)(&value), *(void**)(¤cy), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount) consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmountFactory::CreateWithCurrencySystem(param::hstring const& value, param::hstring const& currency, param::hstring const& currencySystem) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmountFactory::CreateWithCurrencySystem(param::hstring const& value, param::hstring const& currency, param::hstring const& currencySystem) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentCurrencyAmountFactory)->CreateWithCurrencySystem(*(void**)(&value), *(void**)(¤cy), *(void**)(¤cySystem), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentItem) consume_Windows_ApplicationModel_Payments_IPaymentDetails::Total() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetails::Total() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetails)->get_Total(&value)); return winrt::Windows::ApplicationModel::Payments::PaymentItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentDetails::Total(winrt::Windows::ApplicationModel::Payments::PaymentItem const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetails::Total(winrt::Windows::ApplicationModel::Payments::PaymentItem const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetails)->put_Total(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Payments_IPaymentDetails::DisplayItems() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetails::DisplayItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetails)->get_DisplayItems(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentDetails::DisplayItems(param::async_vector_view const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetails::DisplayItems(param::async_vector_view const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetails)->put_DisplayItems(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Payments_IPaymentDetails::ShippingOptions() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetails::ShippingOptions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetails)->get_ShippingOptions(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentDetails::ShippingOptions(param::async_vector_view const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetails::ShippingOptions(param::async_vector_view const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetails)->put_ShippingOptions(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Payments_IPaymentDetails::Modifiers() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetails::Modifiers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetails)->get_Modifiers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentDetails::Modifiers(param::async_vector_view const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetails::Modifiers(param::async_vector_view const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetails)->put_Modifiers(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetails) consume_Windows_ApplicationModel_Payments_IPaymentDetailsFactory::Create(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsFactory::Create(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetailsFactory)->Create(*(void**)(&total), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentDetails{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetails) consume_Windows_ApplicationModel_Payments_IPaymentDetailsFactory::CreateWithDisplayItems(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& displayItems) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsFactory::CreateWithDisplayItems(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& displayItems) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetailsFactory)->CreateWithDisplayItems(*(void**)(&total), *(void**)(&displayItems), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentDetails{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier::JsonData() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier::JsonData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetailsModifier)->get_JsonData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier::SupportedMethodIds() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier::SupportedMethodIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetailsModifier)->get_SupportedMethodIds(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentItem) consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier::Total() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier::Total() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetailsModifier)->get_Total(&value)); return winrt::Windows::ApplicationModel::Payments::PaymentItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier::AdditionalDisplayItems() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier::AdditionalDisplayItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetailsModifier)->get_AdditionalDisplayItems(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier) consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifierFactory::Create(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifierFactory::Create(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetailsModifierFactory)->Create(*(void**)(&supportedMethodIds), *(void**)(&total), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier) consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifierFactory::CreateWithAdditionalDisplayItems(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& additionalDisplayItems) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifierFactory::CreateWithAdditionalDisplayItems(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& additionalDisplayItems) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetailsModifierFactory)->CreateWithAdditionalDisplayItems(*(void**)(&supportedMethodIds), *(void**)(&total), *(void**)(&additionalDisplayItems), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier) consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifierFactory::CreateWithAdditionalDisplayItemsAndJsonData(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& additionalDisplayItems, param::hstring const& jsonData) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifierFactory::CreateWithAdditionalDisplayItemsAndJsonData(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& additionalDisplayItems, param::hstring const& jsonData) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetailsModifierFactory)->CreateWithAdditionalDisplayItemsAndJsonData(*(void**)(&supportedMethodIds), *(void**)(&total), *(void**)(&additionalDisplayItems), *(void**)(&jsonData), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentItem::Label() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentItem::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentItem)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentItem::Label(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentItem::Label(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentItem)->put_Label(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount) consume_Windows_ApplicationModel_Payments_IPaymentItem::Amount() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentItem::Amount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentItem)->get_Amount(&value)); return winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentItem::Amount(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentItem::Amount(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentItem)->put_Amount(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Payments_IPaymentItem::Pending() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentItem::Pending() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentItem)->get_Pending(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentItem::Pending(bool value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentItem::Pending(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentItem)->put_Pending(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentItem) consume_Windows_ApplicationModel_Payments_IPaymentItemFactory::Create(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentItemFactory::Create(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentItemFactory)->Create(*(void**)(&label), *(void**)(&amount), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentItem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Payments_IPaymentMediator::GetSupportedMethodIdsAsync() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentMediator::GetSupportedMethodIdsAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentMediator)->GetSupportedMethodIdsAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Payments_IPaymentMediator::SubmitPaymentRequestAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentMediator::SubmitPaymentRequestAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentMediator)->SubmitPaymentRequestAsync(*(void**)(&paymentRequest), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Payments_IPaymentMediator::SubmitPaymentRequestAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest, winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedHandler const& changeHandler) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentMediator::SubmitPaymentRequestAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest, winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedHandler const& changeHandler) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentMediator)->SubmitPaymentRequestWithChangeHandlerAsync(*(void**)(&paymentRequest), *(void**)(&changeHandler), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Payments_IPaymentMediator2::CanMakePaymentAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentMediator2::CanMakePaymentAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentMediator2)->CanMakePaymentAsync(*(void**)(&paymentRequest), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfo::PackageFullName() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfo::PackageFullName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentMerchantInfo)->get_PackageFullName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfo::Uri() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfo::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentMerchantInfo)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo) consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfoFactory::Create(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfoFactory::Create(winrt::Windows::Foundation::Uri const& uri) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentMerchantInfoFactory)->Create(*(void**)(&uri), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Payments_IPaymentMethodData::SupportedMethodIds() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentMethodData::SupportedMethodIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentMethodData)->get_SupportedMethodIds(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentMethodData::JsonData() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentMethodData::JsonData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentMethodData)->get_JsonData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentMethodData) consume_Windows_ApplicationModel_Payments_IPaymentMethodDataFactory::Create(param::iterable const& supportedMethodIds) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentMethodDataFactory::Create(param::iterable const& supportedMethodIds) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentMethodDataFactory)->Create(*(void**)(&supportedMethodIds), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentMethodData{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentMethodData) consume_Windows_ApplicationModel_Payments_IPaymentMethodDataFactory::CreateWithJsonData(param::iterable const& supportedMethodIds, param::hstring const& jsonData) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentMethodDataFactory::CreateWithJsonData(param::iterable const& supportedMethodIds, param::hstring const& jsonData) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentMethodDataFactory)->CreateWithJsonData(*(void**)(&supportedMethodIds), *(void**)(&jsonData), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentMethodData{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence) consume_Windows_ApplicationModel_Payments_IPaymentOptions::RequestPayerEmail() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentOptions::RequestPayerEmail() const { winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->get_RequestPayerEmail(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentOptions::RequestPayerEmail(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentOptions::RequestPayerEmail(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->put_RequestPayerEmail(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence) consume_Windows_ApplicationModel_Payments_IPaymentOptions::RequestPayerName() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentOptions::RequestPayerName() const { winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->get_RequestPayerName(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentOptions::RequestPayerName(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentOptions::RequestPayerName(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->put_RequestPayerName(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence) consume_Windows_ApplicationModel_Payments_IPaymentOptions::RequestPayerPhoneNumber() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentOptions::RequestPayerPhoneNumber() const { winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->get_RequestPayerPhoneNumber(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentOptions::RequestPayerPhoneNumber(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentOptions::RequestPayerPhoneNumber(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->put_RequestPayerPhoneNumber(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Payments_IPaymentOptions::RequestShipping() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentOptions::RequestShipping() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->get_RequestShipping(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentOptions::RequestShipping(bool value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentOptions::RequestShipping(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->put_RequestShipping(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingType) consume_Windows_ApplicationModel_Payments_IPaymentOptions::ShippingType() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentOptions::ShippingType() const { winrt::Windows::ApplicationModel::Payments::PaymentShippingType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->get_ShippingType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentOptions::ShippingType(winrt::Windows::ApplicationModel::Payments::PaymentShippingType const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentOptions::ShippingType(winrt::Windows::ApplicationModel::Payments::PaymentShippingType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->put_ShippingType(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo) consume_Windows_ApplicationModel_Payments_IPaymentRequest::MerchantInfo() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequest::MerchantInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequest)->get_MerchantInfo(&value)); return winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetails) consume_Windows_ApplicationModel_Payments_IPaymentRequest::Details() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequest::Details() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequest)->get_Details(&value)); return winrt::Windows::ApplicationModel::Payments::PaymentDetails{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Payments_IPaymentRequest::MethodData() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequest::MethodData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequest)->get_MethodData(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentOptions) consume_Windows_ApplicationModel_Payments_IPaymentRequest::Options() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequest::Options() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequest)->get_Options(&value)); return winrt::Windows::ApplicationModel::Payments::PaymentOptions{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentRequest2::Id() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequest2::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequest2)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequestChangeKind) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs::ChangeKind() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs::ChangeKind() const { winrt::Windows::ApplicationModel::Payments::PaymentRequestChangeKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedArgs)->get_ChangeKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentAddress) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs::ShippingAddress() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs::ShippingAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedArgs)->get_ShippingAddress(&value)); return winrt::Windows::ApplicationModel::Payments::PaymentAddress{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs::SelectedShippingOption() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs::SelectedShippingOption() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedArgs)->get_SelectedShippingOption(&value)); return winrt::Windows::ApplicationModel::Payments::PaymentShippingOption{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs::Acknowledge(winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult const& changeResult) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs::Acknowledge(winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult const& changeResult) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedArgs)->Acknowledge(*(void**)(&changeResult))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult::ChangeAcceptedByMerchant() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult::ChangeAcceptedByMerchant() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResult)->get_ChangeAcceptedByMerchant(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult::ChangeAcceptedByMerchant(bool value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult::ChangeAcceptedByMerchant(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResult)->put_ChangeAcceptedByMerchant(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult::Message() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResult)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult::Message(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult::Message(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResult)->put_Message(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetails) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult::UpdatedPaymentDetails() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult::UpdatedPaymentDetails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResult)->get_UpdatedPaymentDetails(&value)); return winrt::Windows::ApplicationModel::Payments::PaymentDetails{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult::UpdatedPaymentDetails(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult::UpdatedPaymentDetails(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResult)->put_UpdatedPaymentDetails(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResultFactory::Create(bool changeAcceptedByMerchant) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResultFactory::Create(bool changeAcceptedByMerchant) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResultFactory)->Create(changeAcceptedByMerchant, &result)); return winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResultFactory::CreateWithPaymentDetails(bool changeAcceptedByMerchant, winrt::Windows::ApplicationModel::Payments::PaymentDetails const& updatedPaymentDetails) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResultFactory::CreateWithPaymentDetails(bool changeAcceptedByMerchant, winrt::Windows::ApplicationModel::Payments::PaymentDetails const& updatedPaymentDetails) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResultFactory)->CreateWithPaymentDetails(changeAcceptedByMerchant, *(void**)(&updatedPaymentDetails), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory::Create(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory::Create(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestFactory)->Create(*(void**)(&details), *(void**)(&methodData), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentRequest{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory::CreateWithMerchantInfo(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory::CreateWithMerchantInfo(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestFactory)->CreateWithMerchantInfo(*(void**)(&details), *(void**)(&methodData), *(void**)(&merchantInfo), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentRequest{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory::CreateWithMerchantInfoAndOptions(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo, winrt::Windows::ApplicationModel::Payments::PaymentOptions const& options) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory::CreateWithMerchantInfoAndOptions(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo, winrt::Windows::ApplicationModel::Payments::PaymentOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestFactory)->CreateWithMerchantInfoAndOptions(*(void**)(&details), *(void**)(&methodData), *(void**)(&merchantInfo), *(void**)(&options), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentRequest{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory2::CreateWithMerchantInfoOptionsAndId(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo, winrt::Windows::ApplicationModel::Payments::PaymentOptions const& options, param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory2::CreateWithMerchantInfoOptionsAndId(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo, winrt::Windows::ApplicationModel::Payments::PaymentOptions const& options, param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestFactory2)->CreateWithMerchantInfoOptionsAndId(*(void**)(&details), *(void**)(&methodData), *(void**)(&merchantInfo), *(void**)(&options), *(void**)(&id), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentRequest{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequestStatus) consume_Windows_ApplicationModel_Payments_IPaymentRequestSubmitResult::Status() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestSubmitResult::Status() const { winrt::Windows::ApplicationModel::Payments::PaymentRequestStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestSubmitResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentResponse) consume_Windows_ApplicationModel_Payments_IPaymentRequestSubmitResult::Response() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentRequestSubmitResult::Response() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestSubmitResult)->get_Response(&value)); return winrt::Windows::ApplicationModel::Payments::PaymentResponse{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentToken) consume_Windows_ApplicationModel_Payments_IPaymentResponse::PaymentToken() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentResponse::PaymentToken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentResponse)->get_PaymentToken(&value)); return winrt::Windows::ApplicationModel::Payments::PaymentToken{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption) consume_Windows_ApplicationModel_Payments_IPaymentResponse::ShippingOption() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentResponse::ShippingOption() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentResponse)->get_ShippingOption(&value)); return winrt::Windows::ApplicationModel::Payments::PaymentShippingOption{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentAddress) consume_Windows_ApplicationModel_Payments_IPaymentResponse::ShippingAddress() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentResponse::ShippingAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentResponse)->get_ShippingAddress(&value)); return winrt::Windows::ApplicationModel::Payments::PaymentAddress{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentResponse::PayerEmail() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentResponse::PayerEmail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentResponse)->get_PayerEmail(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentResponse::PayerName() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentResponse::PayerName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentResponse)->get_PayerName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentResponse::PayerPhoneNumber() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentResponse::PayerPhoneNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentResponse)->get_PayerPhoneNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Payments_IPaymentResponse::CompleteAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequestCompletionStatus const& status) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentResponse::CompleteAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequestCompletionStatus const& status) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentResponse)->CompleteAsync(static_cast(status), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentShippingOption::Label() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOption::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentShippingOption::Label(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOption::Label(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption)->put_Label(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount) consume_Windows_ApplicationModel_Payments_IPaymentShippingOption::Amount() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOption::Amount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption)->get_Amount(&value)); return winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentShippingOption::Amount(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOption::Amount(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption)->put_Amount(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentShippingOption::Tag() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOption::Tag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption)->get_Tag(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentShippingOption::Tag(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOption::Tag(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption)->put_Tag(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Payments_IPaymentShippingOption::IsSelected() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOption::IsSelected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption)->get_IsSelected(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentShippingOption::IsSelected(bool value) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOption::IsSelected(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption)->put_IsSelected(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption) consume_Windows_ApplicationModel_Payments_IPaymentShippingOptionFactory::Create(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOptionFactory::Create(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentShippingOptionFactory)->Create(*(void**)(&label), *(void**)(&amount), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentShippingOption{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption) consume_Windows_ApplicationModel_Payments_IPaymentShippingOptionFactory::CreateWithSelected(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount, bool selected) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOptionFactory::CreateWithSelected(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount, bool selected) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentShippingOptionFactory)->CreateWithSelected(*(void**)(&label), *(void**)(&amount), selected, &result)); return winrt::Windows::ApplicationModel::Payments::PaymentShippingOption{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption) consume_Windows_ApplicationModel_Payments_IPaymentShippingOptionFactory::CreateWithSelectedAndTag(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount, bool selected, param::hstring const& tag) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOptionFactory::CreateWithSelectedAndTag(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount, bool selected, param::hstring const& tag) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentShippingOptionFactory)->CreateWithSelectedAndTag(*(void**)(&label), *(void**)(&amount), selected, *(void**)(&tag), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentShippingOption{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentToken::PaymentMethodId() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentToken::PaymentMethodId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentToken)->get_PaymentMethodId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentToken::JsonDetails() const + template auto consume_Windows_ApplicationModel_Payments_IPaymentToken::JsonDetails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentToken)->get_JsonDetails(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentToken) consume_Windows_ApplicationModel_Payments_IPaymentTokenFactory::Create(param::hstring const& paymentMethodId) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentTokenFactory::Create(param::hstring const& paymentMethodId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentTokenFactory)->Create(*(void**)(&paymentMethodId), &result)); return winrt::Windows::ApplicationModel::Payments::PaymentToken{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentToken) consume_Windows_ApplicationModel_Payments_IPaymentTokenFactory::CreateWithJsonDetails(param::hstring const& paymentMethodId, param::hstring const& jsonDetails) const + template auto consume_Windows_ApplicationModel_Payments_IPaymentTokenFactory::CreateWithJsonDetails(param::hstring const& paymentMethodId, param::hstring const& jsonDetails) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentTokenFactory)->CreateWithJsonDetails(*(void**)(&paymentMethodId), *(void**)(&jsonDetails), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.Holographic.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.Holographic.h index 5139c41b..0206d1d3 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.Holographic.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.Holographic.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Preview_Holographic_H #define WINRT_Windows_ApplicationModel_Preview_Holographic_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.ApplicationModel.Activation.2.h" #include "winrt/impl/Windows.Foundation.Numerics.2.h" @@ -13,31 +13,31 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Preview.Holographic.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Preview_Holographic_IHolographicApplicationPreviewStatics::IsCurrentViewPresentedOnHolographicDisplay() const + template auto consume_Windows_ApplicationModel_Preview_Holographic_IHolographicApplicationPreviewStatics::IsCurrentViewPresentedOnHolographicDisplay() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Holographic::IHolographicApplicationPreviewStatics)->IsCurrentViewPresentedOnHolographicDisplay(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Preview_Holographic_IHolographicApplicationPreviewStatics::IsHolographicActivation(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& activatedEventArgs) const + template auto consume_Windows_ApplicationModel_Preview_Holographic_IHolographicApplicationPreviewStatics::IsHolographicActivation(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& activatedEventArgs) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Holographic::IHolographicApplicationPreviewStatics)->IsHolographicActivation(*(void**)(&activatedEventArgs), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreview::SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::float3 const& normal) const + template auto consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreview::SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::float3 const& normal) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Holographic::IHolographicKeyboardPlacementOverridePreview)->SetPlacementOverride(*(void**)(&coordinateSystem), impl::bind_in(topCenterPosition), impl::bind_in(normal))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreview::SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::float3 const& normal, winrt::Windows::Foundation::Numerics::float2 const& maxSize) const + template auto consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreview::SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::float3 const& normal, winrt::Windows::Foundation::Numerics::float2 const& maxSize) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Holographic::IHolographicKeyboardPlacementOverridePreview)->SetPlacementOverrideWithMaxSize(*(void**)(&coordinateSystem), impl::bind_in(topCenterPosition), impl::bind_in(normal), impl::bind_in(maxSize))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreview::ResetPlacementOverride() const + template auto consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreview::ResetPlacementOverride() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Holographic::IHolographicKeyboardPlacementOverridePreview)->ResetPlacementOverride()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Preview::Holographic::HolographicKeyboardPlacementOverridePreview) consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreviewStatics::GetForCurrentView() const + template auto consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreviewStatics::GetForCurrentView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Holographic::IHolographicKeyboardPlacementOverridePreviewStatics)->GetForCurrentView(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.InkWorkspace.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.InkWorkspace.h index c9094927..d1dbbc17 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.InkWorkspace.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.InkWorkspace.h @@ -1,24 +1,24 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Preview_InkWorkspace_H #define WINRT_Windows_ApplicationModel_Preview_InkWorkspace_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Graphics.Imaging.2.h" #include "winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Preview_InkWorkspace_IInkWorkspaceHostedAppManager::SetThumbnailAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const + template auto consume_Windows_ApplicationModel_Preview_InkWorkspace_IInkWorkspaceHostedAppManager::SetThumbnailAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::InkWorkspace::IInkWorkspaceHostedAppManager)->SetThumbnailAsync(*(void**)(&bitmap), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Preview::InkWorkspace::InkWorkspaceHostedAppManager) consume_Windows_ApplicationModel_Preview_InkWorkspace_IInkWorkspaceHostedAppManagerStatics::GetForCurrentApp() const + template auto consume_Windows_ApplicationModel_Preview_InkWorkspace_IInkWorkspaceHostedAppManagerStatics::GetForCurrentApp() const { void* current{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::InkWorkspace::IInkWorkspaceHostedAppManagerStatics)->GetForCurrentApp(¤t)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.Notes.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.Notes.h index 750c93f8..bc403f70 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.Notes.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.Notes.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Preview_Notes_H #define WINRT_Windows_ApplicationModel_Preview_Notes_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Graphics.Imaging.2.h" @@ -13,139 +13,139 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Preview.Notes.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Preview_Notes_INotePlacementChangedPreviewEventArgs::ViewId() const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotePlacementChangedPreviewEventArgs::ViewId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotePlacementChangedPreviewEventArgs)->get_ViewId(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Preview_Notes_INoteVisibilityChangedPreviewEventArgs::ViewId() const + template auto consume_Windows_ApplicationModel_Preview_Notes_INoteVisibilityChangedPreviewEventArgs::ViewId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INoteVisibilityChangedPreviewEventArgs)->get_ViewId(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Preview_Notes_INoteVisibilityChangedPreviewEventArgs::IsVisible() const + template auto consume_Windows_ApplicationModel_Preview_Notes_INoteVisibilityChangedPreviewEventArgs::IsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INoteVisibilityChangedPreviewEventArgs)->get_IsVisible(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::IsScreenLocked() const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::IsScreenLocked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->get_IsScreenLocked(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::ShowNote(int32_t noteViewId) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::ShowNote(int32_t noteViewId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->ShowNote(noteViewId)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::ShowNoteRelativeTo(int32_t noteViewId, int32_t anchorNoteViewId) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::ShowNoteRelativeTo(int32_t noteViewId, int32_t anchorNoteViewId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->ShowNoteRelativeTo(noteViewId, anchorNoteViewId)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::ShowNoteWithPlacement(int32_t noteViewId, winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::ShowNoteWithPlacement(int32_t noteViewId, winrt::Windows::Storage::Streams::IBuffer const& data) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->ShowNoteWithPlacement(noteViewId, *(void**)(&data))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::HideNote(int32_t noteViewId) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::HideNote(int32_t noteViewId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->HideNote(noteViewId)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::GetNotePlacement(int32_t noteViewId) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::GetNotePlacement(int32_t noteViewId) const { void* data{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->GetNotePlacement(noteViewId, &data)); return winrt::Windows::Storage::Streams::IBuffer{ data, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::TrySetNoteSize(int32_t noteViewId, winrt::Windows::Foundation::Size const& size) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::TrySetNoteSize(int32_t noteViewId, winrt::Windows::Foundation::Size const& size) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->TrySetNoteSize(noteViewId, impl::bind_in(size), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::SetFocusToNextView() const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::SetFocusToNextView() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->SetFocusToNextView()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::SetNotesThumbnailAsync(winrt::Windows::Storage::Streams::IBuffer const& thumbnail) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::SetNotesThumbnailAsync(winrt::Windows::Storage::Streams::IBuffer const& thumbnail) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->SetNotesThumbnailAsync(*(void**)(&thumbnail), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::SystemLockStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::SystemLockStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->add_SystemLockStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::SystemLockStateChanged_revoker consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::SystemLockStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::SystemLockStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SystemLockStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::SystemLockStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::SystemLockStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->remove_SystemLockStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::NotePlacementChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::NotePlacementChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->add_NotePlacementChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::NotePlacementChanged_revoker consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::NotePlacementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::NotePlacementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NotePlacementChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::NotePlacementChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::NotePlacementChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->remove_NotePlacementChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::NoteVisibilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::NoteVisibilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->add_NoteVisibilityChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::NoteVisibilityChanged_revoker consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::NoteVisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::NoteVisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NoteVisibilityChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::NoteVisibilityChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview::NoteVisibilityChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->remove_NoteVisibilityChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2::ShowNoteRelativeTo(int32_t noteViewId, int32_t anchorNoteViewId, winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreviewShowNoteOptions const& options) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2::ShowNoteRelativeTo(int32_t noteViewId, int32_t anchorNoteViewId, winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreviewShowNoteOptions const& options) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview2)->ShowNoteRelativeToWithOptions(noteViewId, anchorNoteViewId, *(void**)(&options))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2::ShowNoteWithPlacement(int32_t noteViewId, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreviewShowNoteOptions const& options) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2::ShowNoteWithPlacement(int32_t noteViewId, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreviewShowNoteOptions const& options) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview2)->ShowNoteWithPlacementWithOptions(noteViewId, *(void**)(&data), *(void**)(&options))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2::SetFocusToPreviousView() const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2::SetFocusToPreviousView() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview2)->SetFocusToPreviousView()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2::SetThumbnailImageForTaskSwitcherAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2::SetThumbnailImageForTaskSwitcherAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview2)->SetThumbnailImageForTaskSwitcherAsync(*(void**)(&bitmap), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewShowNoteOptions::ShowWithFocus() const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewShowNoteOptions::ShowWithFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreviewShowNoteOptions)->get_ShowWithFocus(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewShowNoteOptions::ShowWithFocus(bool value) const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewShowNoteOptions::ShowWithFocus(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreviewShowNoteOptions)->put_ShowWithFocus(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewStatics::GetForCurrentApp() const + template auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewStatics::GetForCurrentApp() const { void* current{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreviewStatics)->GetForCurrentApp(¤t)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.Core.h index b9f8d8bd..8a261cce 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.Core.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Resources_Core_H #define WINRT_Windows_ApplicationModel_Resources_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.Resources.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,269 +15,269 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Resources.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Resources_Core_INamedResource::Uri() const + template auto consume_Windows_ApplicationModel_Resources_Core_INamedResource::Uri() const { void* uri{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::INamedResource)->get_Uri(&uri)); return winrt::Windows::Foundation::Uri{ uri, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Resources_Core_INamedResource::Candidates() const + template auto consume_Windows_ApplicationModel_Resources_Core_INamedResource::Candidates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::INamedResource)->get_Candidates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate) consume_Windows_ApplicationModel_Resources_Core_INamedResource::Resolve() const + template auto consume_Windows_ApplicationModel_Resources_Core_INamedResource::Resolve() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::INamedResource)->Resolve(&result)); return winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate) consume_Windows_ApplicationModel_Resources_Core_INamedResource::Resolve(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& resourceContext) const + template auto consume_Windows_ApplicationModel_Resources_Core_INamedResource::Resolve(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& resourceContext) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::INamedResource)->ResolveForContext(*(void**)(&resourceContext), &result)); return winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Resources_Core_INamedResource::ResolveAll() const + template auto consume_Windows_ApplicationModel_Resources_Core_INamedResource::ResolveAll() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::INamedResource)->ResolveAll(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Resources_Core_INamedResource::ResolveAll(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& resourceContext) const + template auto consume_Windows_ApplicationModel_Resources_Core_INamedResource::ResolveAll(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& resourceContext) const { void* instances{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::INamedResource)->ResolveAllForContext(*(void**)(&resourceContext), &instances)); return winrt::Windows::Foundation::Collections::IVectorView{ instances, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate::Qualifiers() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate::Qualifiers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate)->get_Qualifiers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate::IsMatch() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate::IsMatch() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate)->get_IsMatch(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate::IsMatchAsDefault() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate::IsMatchAsDefault() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate)->get_IsMatchAsDefault(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate::IsDefault() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate::IsDefault() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate)->get_IsDefault(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate::ValueAsString() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate::ValueAsString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate)->get_ValueAsString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate::GetValueAsFileAsync() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate::GetValueAsFileAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate)->GetValueAsFileAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate::GetQualifierValue(param::hstring const& qualifierName) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate::GetQualifierValue(param::hstring const& qualifierName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate)->GetQualifierValue(*(void**)(&qualifierName), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate2::GetValueAsStreamAsync() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate2::GetValueAsStreamAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate2)->GetValueAsStreamAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidateKind) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate3::Kind() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate3::Kind() const { winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidateKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate3)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableMap) consume_Windows_ApplicationModel_Resources_Core_IResourceContext::QualifierValues() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceContext::QualifierValues() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContext)->get_QualifierValues(&value)); return winrt::Windows::Foundation::Collections::IObservableMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceContext::Reset() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceContext::Reset() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContext)->Reset()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceContext::Reset(param::iterable const& qualifierNames) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceContext::Reset(param::iterable const& qualifierNames) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContext)->ResetQualifierValues(*(void**)(&qualifierNames))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceContext::OverrideToMatch(param::iterable const& result) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceContext::OverrideToMatch(param::iterable const& result) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContext)->OverrideToMatch(*(void**)(&result))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) consume_Windows_ApplicationModel_Resources_Core_IResourceContext::Clone() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceContext::Clone() const { void* clone{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContext)->Clone(&clone)); return winrt::Windows::ApplicationModel::Resources::Core::ResourceContext{ clone, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Resources_Core_IResourceContext::Languages() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceContext::Languages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContext)->get_Languages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceContext::Languages(param::async_vector_view const& languages) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceContext::Languages(param::async_vector_view const& languages) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContext)->put_Languages(*(void**)(&languages))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics::CreateMatchingContext(param::iterable const& result) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics::CreateMatchingContext(param::iterable const& result) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContextStatics)->CreateMatchingContext(*(void**)(&result), &value)); return winrt::Windows::ApplicationModel::Resources::Core::ResourceContext{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2::GetForCurrentView() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2::GetForCurrentView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContextStatics2)->GetForCurrentView(&value)); return winrt::Windows::ApplicationModel::Resources::Core::ResourceContext{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2::SetGlobalQualifierValue(param::hstring const& key, param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2::SetGlobalQualifierValue(param::hstring const& key, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContextStatics2)->SetGlobalQualifierValue(*(void**)(&key), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2::ResetGlobalQualifierValues() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2::ResetGlobalQualifierValues() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContextStatics2)->ResetGlobalQualifierValues()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2::ResetGlobalQualifierValues(param::iterable const& qualifierNames) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2::ResetGlobalQualifierValues(param::iterable const& qualifierNames) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContextStatics2)->ResetGlobalQualifierValuesForSpecifiedQualifiers(*(void**)(&qualifierNames))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2::GetForViewIndependentUse() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2::GetForViewIndependentUse() const { void* loader{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContextStatics2)->GetForViewIndependentUse(&loader)); return winrt::Windows::ApplicationModel::Resources::Core::ResourceContext{ loader, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics3::SetGlobalQualifierValue(param::hstring const& key, param::hstring const& value, winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifierPersistence const& persistence) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics3::SetGlobalQualifierValue(param::hstring const& key, param::hstring const& value, winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifierPersistence const& persistence) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContextStatics3)->SetGlobalQualifierValueWithPersistence(*(void**)(&key), *(void**)(&value), static_cast(persistence))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics4::GetForUIContext(winrt::Windows::UI::UIContext const& context) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics4::GetForUIContext(winrt::Windows::UI::UIContext const& context) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContextStatics4)->GetForUIContext(*(void**)(&context), &value)); return winrt::Windows::ApplicationModel::Resources::Core::ResourceContext{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceMap) consume_Windows_ApplicationModel_Resources_Core_IResourceManager::MainResourceMap() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceManager::MainResourceMap() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceManager)->get_MainResourceMap(&value)); return winrt::Windows::ApplicationModel::Resources::Core::ResourceMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_ApplicationModel_Resources_Core_IResourceManager::AllResourceMaps() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceManager::AllResourceMaps() const { void* maps{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceManager)->get_AllResourceMaps(&maps)); return winrt::Windows::Foundation::Collections::IMapView{ maps, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) consume_Windows_ApplicationModel_Resources_Core_IResourceManager::DefaultContext() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceManager::DefaultContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceManager)->get_DefaultContext(&value)); return winrt::Windows::ApplicationModel::Resources::Core::ResourceContext{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceManager::LoadPriFiles(param::iterable const& files) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceManager::LoadPriFiles(param::iterable const& files) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceManager)->LoadPriFiles(*(void**)(&files))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceManager::UnloadPriFiles(param::iterable const& files) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceManager::UnloadPriFiles(param::iterable const& files) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceManager)->UnloadPriFiles(*(void**)(&files))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Resources_Core_IResourceManager2::GetAllNamedResourcesForPackage(param::hstring const& packageName, winrt::Windows::ApplicationModel::Resources::Core::ResourceLayoutInfo const& resourceLayoutInfo) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceManager2::GetAllNamedResourcesForPackage(param::hstring const& packageName, winrt::Windows::ApplicationModel::Resources::Core::ResourceLayoutInfo const& resourceLayoutInfo) const { void* table{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceManager2)->GetAllNamedResourcesForPackage(*(void**)(&packageName), impl::bind_in(resourceLayoutInfo), &table)); return winrt::Windows::Foundation::Collections::IVectorView{ table, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Resources_Core_IResourceManager2::GetAllSubtreesForPackage(param::hstring const& packageName, winrt::Windows::ApplicationModel::Resources::Core::ResourceLayoutInfo const& resourceLayoutInfo) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceManager2::GetAllSubtreesForPackage(param::hstring const& packageName, winrt::Windows::ApplicationModel::Resources::Core::ResourceLayoutInfo const& resourceLayoutInfo) const { void* table{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceManager2)->GetAllSubtreesForPackage(*(void**)(&packageName), impl::bind_in(resourceLayoutInfo), &table)); return winrt::Windows::Foundation::Collections::IVectorView{ table, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceManager) consume_Windows_ApplicationModel_Resources_Core_IResourceManagerStatics::Current() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceManagerStatics::Current() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceManagerStatics)->get_Current(&value)); return winrt::Windows::ApplicationModel::Resources::Core::ResourceManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Resources_Core_IResourceManagerStatics::IsResourceReference(param::hstring const& resourceReference) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceManagerStatics::IsResourceReference(param::hstring const& resourceReference) const { bool isReference{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceManagerStatics)->IsResourceReference(*(void**)(&resourceReference), &isReference)); return isReference; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Resources_Core_IResourceMap::Uri() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceMap::Uri() const { void* uri{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceMap)->get_Uri(&uri)); return winrt::Windows::Foundation::Uri{ uri, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate) consume_Windows_ApplicationModel_Resources_Core_IResourceMap::GetValue(param::hstring const& resource) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceMap::GetValue(param::hstring const& resource) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceMap)->GetValue(*(void**)(&resource), &value)); return winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate) consume_Windows_ApplicationModel_Resources_Core_IResourceMap::GetValue(param::hstring const& resource, winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& context) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceMap::GetValue(param::hstring const& resource, winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& context) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceMap)->GetValueForContext(*(void**)(&resource), *(void**)(&context), &value)); return winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceMap) consume_Windows_ApplicationModel_Resources_Core_IResourceMap::GetSubtree(param::hstring const& reference) const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceMap::GetSubtree(param::hstring const& reference) const { void* map{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceMap)->GetSubtree(*(void**)(&reference), &map)); return winrt::Windows::ApplicationModel::Resources::Core::ResourceMap{ map, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier::QualifierName() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier::QualifierName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceQualifier)->get_QualifierName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier::QualifierValue() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier::QualifierValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceQualifier)->get_QualifierValue(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier::IsDefault() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier::IsDefault() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceQualifier)->get_IsDefault(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier::IsMatch() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier::IsMatch() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceQualifier)->get_IsMatch(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier::Score() const + template auto consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier::Score() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceQualifier)->get_Score(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.Management.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.Management.h index a017ac59..58fe3b8a 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.Management.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.Management.h @@ -1,84 +1,84 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Resources_Management_H #define WINRT_Windows_ApplicationModel_Resources_Management_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.Resources.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.ApplicationModel.Resources.Management.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Management::IndexedResourceType) consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate::Type() const + template auto consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate::Type() const { winrt::Windows::ApplicationModel::Resources::Management::IndexedResourceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceCandidate)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate::Uri() const + template auto consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceCandidate)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate::Metadata() const + template auto consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate::Metadata() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceCandidate)->get_Metadata(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate::Qualifiers() const + template auto consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate::Qualifiers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceCandidate)->get_Qualifiers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate::ValueAsString() const + template auto consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate::ValueAsString() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceCandidate)->get_ValueAsString(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate::GetQualifierValue(param::hstring const& qualifierName) const + template auto consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate::GetQualifierValue(param::hstring const& qualifierName) const { void* qualifierValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceCandidate)->GetQualifierValue(*(void**)(&qualifierName), &qualifierValue)); return hstring{ qualifierValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceQualifier::QualifierName() const + template auto consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceQualifier::QualifierName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceQualifier)->get_QualifierName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceQualifier::QualifierValue() const + template auto consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceQualifier::QualifierValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceQualifier)->get_QualifierValue(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Management::IndexedResourceCandidate) consume_Windows_ApplicationModel_Resources_Management_IResourceIndexer::IndexFilePath(winrt::Windows::Foundation::Uri const& filePath) const + template auto consume_Windows_ApplicationModel_Resources_Management_IResourceIndexer::IndexFilePath(winrt::Windows::Foundation::Uri const& filePath) const { void* candidate{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Management::IResourceIndexer)->IndexFilePath(*(void**)(&filePath), &candidate)); return winrt::Windows::ApplicationModel::Resources::Management::IndexedResourceCandidate{ candidate, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Resources_Management_IResourceIndexer::IndexFileContentsAsync(winrt::Windows::Foundation::Uri const& file) const + template auto consume_Windows_ApplicationModel_Resources_Management_IResourceIndexer::IndexFileContentsAsync(winrt::Windows::Foundation::Uri const& file) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Management::IResourceIndexer)->IndexFileContentsAsync(*(void**)(&file), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Management::ResourceIndexer) consume_Windows_ApplicationModel_Resources_Management_IResourceIndexerFactory::CreateResourceIndexer(winrt::Windows::Foundation::Uri const& projectRoot) const + template auto consume_Windows_ApplicationModel_Resources_Management_IResourceIndexerFactory::CreateResourceIndexer(winrt::Windows::Foundation::Uri const& projectRoot) const { void* indexer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Management::IResourceIndexerFactory)->CreateResourceIndexer(*(void**)(&projectRoot), &indexer)); return winrt::Windows::ApplicationModel::Resources::Management::ResourceIndexer{ indexer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Management::ResourceIndexer) consume_Windows_ApplicationModel_Resources_Management_IResourceIndexerFactory2::CreateResourceIndexerWithExtension(winrt::Windows::Foundation::Uri const& projectRoot, winrt::Windows::Foundation::Uri const& extensionDllPath) const + template auto consume_Windows_ApplicationModel_Resources_Management_IResourceIndexerFactory2::CreateResourceIndexerWithExtension(winrt::Windows::Foundation::Uri const& projectRoot, winrt::Windows::Foundation::Uri const& extensionDllPath) const { void* indexer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Management::IResourceIndexerFactory2)->CreateResourceIndexerWithExtension(*(void**)(&projectRoot), *(void**)(&extensionDllPath), &indexer)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.h index 194df637..6e8bf7d8 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.h @@ -1,72 +1,72 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Resources_H #define WINRT_Windows_ApplicationModel_Resources_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.UI.2.h" #include "winrt/impl/Windows.ApplicationModel.Resources.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_IResourceLoader::GetString(param::hstring const& resource) const + template auto consume_Windows_ApplicationModel_Resources_IResourceLoader::GetString(param::hstring const& resource) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::IResourceLoader)->GetString(*(void**)(&resource), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_IResourceLoader2::GetStringForUri(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_ApplicationModel_Resources_IResourceLoader2::GetStringForUri(winrt::Windows::Foundation::Uri const& uri) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::IResourceLoader2)->GetStringForUri(*(void**)(&uri), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) consume_Windows_ApplicationModel_Resources_IResourceLoaderFactory::CreateResourceLoaderByName(param::hstring const& name) const + template auto consume_Windows_ApplicationModel_Resources_IResourceLoaderFactory::CreateResourceLoaderByName(param::hstring const& name) const { void* loader{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::IResourceLoaderFactory)->CreateResourceLoaderByName(*(void**)(&name), &loader)); return winrt::Windows::ApplicationModel::Resources::ResourceLoader{ loader, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics::GetStringForReference(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics::GetStringForReference(winrt::Windows::Foundation::Uri const& uri) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics)->GetStringForReference(*(void**)(&uri), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2::GetForCurrentView() const + template auto consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2::GetForCurrentView() const { void* loader{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics2)->GetForCurrentView(&loader)); return winrt::Windows::ApplicationModel::Resources::ResourceLoader{ loader, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2::GetForCurrentView(param::hstring const& name) const + template auto consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2::GetForCurrentView(param::hstring const& name) const { void* loader{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics2)->GetForCurrentViewWithName(*(void**)(&name), &loader)); return winrt::Windows::ApplicationModel::Resources::ResourceLoader{ loader, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2::GetForViewIndependentUse() const + template auto consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2::GetForViewIndependentUse() const { void* loader{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics2)->GetForViewIndependentUse(&loader)); return winrt::Windows::ApplicationModel::Resources::ResourceLoader{ loader, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2::GetForViewIndependentUse(param::hstring const& name) const + template auto consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2::GetForViewIndependentUse(param::hstring const& name) const { void* loader{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics2)->GetForViewIndependentUseWithName(*(void**)(&name), &loader)); return winrt::Windows::ApplicationModel::Resources::ResourceLoader{ loader, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics3::GetForUIContext(winrt::Windows::UI::UIContext const& context) const + template auto consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics3::GetForUIContext(winrt::Windows::UI::UIContext const& context) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics3)->GetForUIContext(*(void**)(&context), &result)); return winrt::Windows::ApplicationModel::Resources::ResourceLoader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics4::GetDefaultPriPath(param::hstring const& packageFullName) const + template auto consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics4::GetDefaultPriPath(param::hstring const& packageFullName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics4)->GetDefaultPriPath(*(void**)(&packageFullName), &value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Search.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Search.Core.h index 20a523f3..1946f4a1 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Search.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Search.Core.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Search_Core_H #define WINRT_Windows_ApplicationModel_Search_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.Search.h" #include "winrt/impl/Windows.ApplicationModel.Search.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -14,143 +14,143 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Search.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionKind) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion::Kind() const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion::Kind() const { winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestion)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion::Text() const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestion)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion::Tag() const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion::Tag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestion)->get_Tag(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion::DetailText() const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion::DetailText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestion)->get_DetailText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion::Image() const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion::Image() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestion)->get_Image(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion::ImageAlternateText() const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion::ImageAlternateText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestion)->get_ImageAlternateText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SearchHistoryEnabled() const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SearchHistoryEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->get_SearchHistoryEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SearchHistoryEnabled(bool value) const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SearchHistoryEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->put_SearchHistoryEnabled(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SearchHistoryContext() const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SearchHistoryContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->get_SearchHistoryContext(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SearchHistoryContext(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SearchHistoryContext(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->put_SearchHistoryContext(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->SetLocalContentSuggestionSettings(*(void**)(&settings))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SetQuery(param::hstring const& queryText) const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SetQuery(param::hstring const& queryText) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->SetQuery(*(void**)(&queryText))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SetQuery(param::hstring const& queryText, param::hstring const& language) const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SetQuery(param::hstring const& queryText, param::hstring const& language) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->SetQueryWithLanguage(*(void**)(&queryText), *(void**)(&language))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SetQuery(param::hstring const& queryText, param::hstring const& language, winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails const& linguisticDetails) const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SetQuery(param::hstring const& queryText, param::hstring const& language, winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails const& linguisticDetails) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->SetQueryWithSearchQueryLinguisticDetails(*(void**)(&queryText), *(void**)(&language), *(void**)(&linguisticDetails))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::Suggestions() const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::Suggestions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->get_Suggestions(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::AddToHistory(param::hstring const& queryText) const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::AddToHistory(param::hstring const& queryText) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->AddToHistory(*(void**)(&queryText))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::AddToHistory(param::hstring const& queryText, param::hstring const& language) const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::AddToHistory(param::hstring const& queryText, param::hstring const& language) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->AddToHistoryWithLanguage(*(void**)(&queryText), *(void**)(&language))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::ClearHistory() const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::ClearHistory() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->ClearHistory()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->add_SuggestionsRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SuggestionsRequested_revoker consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SuggestionsRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SuggestionsRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::SuggestionsRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->remove_SuggestionsRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::RequestingFocusOnKeyboardInput(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::RequestingFocusOnKeyboardInput(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->add_RequestingFocusOnKeyboardInput(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::RequestingFocusOnKeyboardInput_revoker consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::RequestingFocusOnKeyboardInput(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::RequestingFocusOnKeyboardInput(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RequestingFocusOnKeyboardInput(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::RequestingFocusOnKeyboardInput(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager::RequestingFocusOnKeyboardInput(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->remove_RequestingFocusOnKeyboardInput(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs::QueryText() const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs::QueryText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionsRequestedEventArgs)->get_QueryText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs::Language() const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionsRequestedEventArgs)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs::LinguisticDetails() const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs::LinguisticDetails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionsRequestedEventArgs)->get_LinguisticDetails(&value)); return winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchSuggestionsRequest) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionsRequestedEventArgs)->get_Request(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Search.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Search.h index 144cce0b..85684178 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Search.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Search.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Search_H #define WINRT_Windows_ApplicationModel_Search_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,353 +14,353 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Search.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings::Enabled(bool value) const + template auto consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings::Enabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ILocalContentSuggestionSettings)->put_Enabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings::Enabled() const + template auto consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings::Enabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ILocalContentSuggestionSettings)->get_Enabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings::Locations() const + template auto consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings::Locations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ILocalContentSuggestionSettings)->get_Locations(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings::AqsFilter(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings::AqsFilter(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ILocalContentSuggestionSettings)->put_AqsFilter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings::AqsFilter() const + template auto consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings::AqsFilter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ILocalContentSuggestionSettings)->get_AqsFilter(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings::PropertiesToMatch() const + template auto consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings::PropertiesToMatch() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ILocalContentSuggestionSettings)->get_PropertiesToMatch(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane::SearchHistoryEnabled(bool value) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::SearchHistoryEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->put_SearchHistoryEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_ISearchPane::SearchHistoryEnabled() const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::SearchHistoryEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->get_SearchHistoryEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane::SearchHistoryContext(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::SearchHistoryContext(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->put_SearchHistoryContext(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPane::SearchHistoryContext() const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::SearchHistoryContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->get_SearchHistoryContext(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane::PlaceholderText(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::PlaceholderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->put_PlaceholderText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPane::PlaceholderText() const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::PlaceholderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->get_PlaceholderText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPane::QueryText() const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::QueryText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->get_QueryText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPane::Language() const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_ISearchPane::Visible() const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::Visible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->get_Visible(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Search_ISearchPane::VisibilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::VisibilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->add_VisibilityChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Search_ISearchPane::VisibilityChanged_revoker consume_Windows_ApplicationModel_Search_ISearchPane::VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, VisibilityChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane::VisibilityChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Search_ISearchPane::VisibilityChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->remove_VisibilityChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Search_ISearchPane::QueryChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::QueryChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->add_QueryChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Search_ISearchPane::QueryChanged_revoker consume_Windows_ApplicationModel_Search_ISearchPane::QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, QueryChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane::QueryChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Search_ISearchPane::QueryChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->remove_QueryChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Search_ISearchPane::SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->add_SuggestionsRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Search_ISearchPane::SuggestionsRequested_revoker consume_Windows_ApplicationModel_Search_ISearchPane::SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SuggestionsRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane::SuggestionsRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Search_ISearchPane::SuggestionsRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->remove_SuggestionsRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Search_ISearchPane::QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->add_QuerySubmitted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Search_ISearchPane::QuerySubmitted_revoker consume_Windows_ApplicationModel_Search_ISearchPane::QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, QuerySubmitted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane::QuerySubmitted(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Search_ISearchPane::QuerySubmitted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->remove_QuerySubmitted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Search_ISearchPane::ResultSuggestionChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::ResultSuggestionChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->add_ResultSuggestionChosen(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Search_ISearchPane::ResultSuggestionChosen_revoker consume_Windows_ApplicationModel_Search_ISearchPane::ResultSuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::ResultSuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ResultSuggestionChosen(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane::ResultSuggestionChosen(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Search_ISearchPane::ResultSuggestionChosen(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->remove_ResultSuggestionChosen(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane::SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->SetLocalContentSuggestionSettings(*(void**)(&settings))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane::Show() const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::Show() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->ShowOverloadDefault()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane::Show(param::hstring const& query) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::Show(param::hstring const& query) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->ShowOverloadWithQuery(*(void**)(&query))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane::ShowOnKeyboardInput(bool value) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::ShowOnKeyboardInput(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->put_ShowOnKeyboardInput(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_ISearchPane::ShowOnKeyboardInput() const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::ShowOnKeyboardInput() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->get_ShowOnKeyboardInput(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_ISearchPane::TrySetQueryText(param::hstring const& query) const + template auto consume_Windows_ApplicationModel_Search_ISearchPane::TrySetQueryText(param::hstring const& query) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->TrySetQueryText(*(void**)(&query), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPaneQueryChangedEventArgs::QueryText() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneQueryChangedEventArgs::QueryText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneQueryChangedEventArgs)->get_QueryText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPaneQueryChangedEventArgs::Language() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneQueryChangedEventArgs::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneQueryChangedEventArgs)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneQueryLinguisticDetails) consume_Windows_ApplicationModel_Search_ISearchPaneQueryChangedEventArgs::LinguisticDetails() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneQueryChangedEventArgs::LinguisticDetails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneQueryChangedEventArgs)->get_LinguisticDetails(&value)); return winrt::Windows::ApplicationModel::Search::SearchPaneQueryLinguisticDetails{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Search_ISearchPaneQueryLinguisticDetails::QueryTextAlternatives() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneQueryLinguisticDetails::QueryTextAlternatives() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneQueryLinguisticDetails)->get_QueryTextAlternatives(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Search_ISearchPaneQueryLinguisticDetails::QueryTextCompositionStart() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneQueryLinguisticDetails::QueryTextCompositionStart() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneQueryLinguisticDetails)->get_QueryTextCompositionStart(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Search_ISearchPaneQueryLinguisticDetails::QueryTextCompositionLength() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneQueryLinguisticDetails::QueryTextCompositionLength() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneQueryLinguisticDetails)->get_QueryTextCompositionLength(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgs::QueryText() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgs::QueryText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneQuerySubmittedEventArgs)->get_QueryText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgs::Language() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgs::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneQuerySubmittedEventArgs)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneQueryLinguisticDetails) consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails::LinguisticDetails() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails::LinguisticDetails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails)->get_LinguisticDetails(&value)); return winrt::Windows::ApplicationModel::Search::SearchPaneQueryLinguisticDetails{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPaneResultSuggestionChosenEventArgs::Tag() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneResultSuggestionChosenEventArgs::Tag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneResultSuggestionChosenEventArgs)->get_Tag(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPane) consume_Windows_ApplicationModel_Search_ISearchPaneStatics::GetForCurrentView() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneStatics::GetForCurrentView() const { void* searchPane{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneStatics)->GetForCurrentView(&searchPane)); return winrt::Windows::ApplicationModel::Search::SearchPane{ searchPane, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPaneStaticsWithHideThisApplication::HideThisApplication() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneStaticsWithHideThisApplication::HideThisApplication() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneStaticsWithHideThisApplication)->HideThisApplication()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequest::IsCanceled() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequest::IsCanceled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequest)->get_IsCanceled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchSuggestionCollection) consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequest::SearchSuggestionCollection() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequest::SearchSuggestionCollection() const { void* collection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequest)->get_SearchSuggestionCollection(&collection)); return winrt::Windows::ApplicationModel::Search::SearchSuggestionCollection{ collection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequestDeferral) consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequest::GetDeferral() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequest::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequest)->GetDeferral(&deferral)); return winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequestDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequestDeferral::Complete() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequestDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequestDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequest) consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequestedEventArgs::Request() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequestedEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_ISearchPaneVisibilityChangedEventArgs::Visible() const + template auto consume_Windows_ApplicationModel_Search_ISearchPaneVisibilityChangedEventArgs::Visible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneVisibilityChangedEventArgs)->get_Visible(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetails::QueryTextAlternatives() const + template auto consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetails::QueryTextAlternatives() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchQueryLinguisticDetails)->get_QueryTextAlternatives(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetails::QueryTextCompositionStart() const + template auto consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetails::QueryTextCompositionStart() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchQueryLinguisticDetails)->get_QueryTextCompositionStart(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetails::QueryTextCompositionLength() const + template auto consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetails::QueryTextCompositionLength() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchQueryLinguisticDetails)->get_QueryTextCompositionLength(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails) consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetailsFactory::CreateInstance(param::iterable const& queryTextAlternatives, uint32_t queryTextCompositionStart, uint32_t queryTextCompositionLength) const + template auto consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetailsFactory::CreateInstance(param::iterable const& queryTextAlternatives, uint32_t queryTextCompositionStart, uint32_t queryTextCompositionLength) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchQueryLinguisticDetailsFactory)->CreateInstance(*(void**)(&queryTextAlternatives), queryTextCompositionStart, queryTextCompositionLength, &value)); return winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection::Size() const + template auto consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection::Size() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchSuggestionCollection)->get_Size(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection::AppendQuerySuggestion(param::hstring const& text) const + template auto consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection::AppendQuerySuggestion(param::hstring const& text) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchSuggestionCollection)->AppendQuerySuggestion(*(void**)(&text))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection::AppendQuerySuggestions(param::iterable const& suggestions) const + template auto consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection::AppendQuerySuggestions(param::iterable const& suggestions) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchSuggestionCollection)->AppendQuerySuggestions(*(void**)(&suggestions))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection::AppendResultSuggestion(param::hstring const& text, param::hstring const& detailText, param::hstring const& tag, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& image, param::hstring const& imageAlternateText) const + template auto consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection::AppendResultSuggestion(param::hstring const& text, param::hstring const& detailText, param::hstring const& tag, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& image, param::hstring const& imageAlternateText) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchSuggestionCollection)->AppendResultSuggestion(*(void**)(&text), *(void**)(&detailText), *(void**)(&tag), *(void**)(&image), *(void**)(&imageAlternateText))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection::AppendSearchSeparator(param::hstring const& label) const + template auto consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection::AppendSearchSeparator(param::hstring const& label) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchSuggestionCollection)->AppendSearchSeparator(*(void**)(&label))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequest::IsCanceled() const + template auto consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequest::IsCanceled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchSuggestionsRequest)->get_IsCanceled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchSuggestionCollection) consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequest::SearchSuggestionCollection() const + template auto consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequest::SearchSuggestionCollection() const { void* collection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchSuggestionsRequest)->get_SearchSuggestionCollection(&collection)); return winrt::Windows::ApplicationModel::Search::SearchSuggestionCollection{ collection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchSuggestionsRequestDeferral) consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequest::GetDeferral() const + template auto consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequest::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchSuggestionsRequest)->GetDeferral(&deferral)); return winrt::Windows::ApplicationModel::Search::SearchSuggestionsRequestDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequestDeferral::Complete() const + template auto consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequestDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchSuggestionsRequestDeferral)->Complete()); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.SocialInfo.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.SocialInfo.Provider.h index b495d519..80461e7b 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.SocialInfo.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.SocialInfo.Provider.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_SocialInfo_Provider_H #define WINRT_Windows_ApplicationModel_SocialInfo_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.SocialInfo.h" #include "winrt/impl/Windows.ApplicationModel.SocialInfo.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,105 +13,105 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::OwnerRemoteId() const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::OwnerRemoteId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialDashboardItemUpdater)->get_OwnerRemoteId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::Content() const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialDashboardItemUpdater)->get_Content(&value)); return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::Timestamp() const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialDashboardItemUpdater)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::Timestamp(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::Timestamp(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialDashboardItemUpdater)->put_Timestamp(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::Thumbnail(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::Thumbnail(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialDashboardItemUpdater)->put_Thumbnail(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::Thumbnail() const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialDashboardItemUpdater)->get_Thumbnail(&value)); return winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::CommitAsync() const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::CommitAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialDashboardItemUpdater)->CommitAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::TargetUri() const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::TargetUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialDashboardItemUpdater)->get_TargetUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::TargetUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater::TargetUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialDashboardItemUpdater)->put_TargetUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater::OwnerRemoteId() const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater::OwnerRemoteId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialFeedUpdater)->get_OwnerRemoteId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater::Kind() const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater::Kind() const { winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialFeedUpdater)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater::Items() const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialFeedUpdater)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater::CommitAsync() const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater::CommitAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialFeedUpdater)->CommitAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics::CreateSocialFeedUpdaterAsync(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind const& kind, winrt::Windows::ApplicationModel::SocialInfo::SocialFeedUpdateMode const& mode, param::hstring const& ownerRemoteId) const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics::CreateSocialFeedUpdaterAsync(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind const& kind, winrt::Windows::ApplicationModel::SocialInfo::SocialFeedUpdateMode const& mode, param::hstring const& ownerRemoteId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialInfoProviderManagerStatics)->CreateSocialFeedUpdaterAsync(static_cast(kind), static_cast(mode), *(void**)(&ownerRemoteId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics::CreateDashboardItemUpdaterAsync(param::hstring const& ownerRemoteId) const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics::CreateDashboardItemUpdaterAsync(param::hstring const& ownerRemoteId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialInfoProviderManagerStatics)->CreateDashboardItemUpdaterAsync(*(void**)(&ownerRemoteId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics::UpdateBadgeCountValue(param::hstring const& itemRemoteId, int32_t newCount) const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics::UpdateBadgeCountValue(param::hstring const& itemRemoteId, int32_t newCount) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialInfoProviderManagerStatics)->UpdateBadgeCountValue(*(void**)(&itemRemoteId), newCount)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics::ReportNewContentAvailable(param::hstring const& contactRemoteId, winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind const& kind) const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics::ReportNewContentAvailable(param::hstring const& contactRemoteId, winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind const& kind) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialInfoProviderManagerStatics)->ReportNewContentAvailable(*(void**)(&contactRemoteId), static_cast(kind))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics::ProvisionAsync() const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics::ProvisionAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialInfoProviderManagerStatics)->ProvisionAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics::DeprovisionAsync() const + template auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics::DeprovisionAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialInfoProviderManagerStatics)->DeprovisionAsync(&operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.SocialInfo.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.SocialInfo.h index ea9df912..4d848dce 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.SocialInfo.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.SocialInfo.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_SocialInfo_H #define WINRT_Windows_ApplicationModel_SocialInfo_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,313 +14,313 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.SocialInfo.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialUserInfo) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::Author() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::Author() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem)->get_Author(&value)); return winrt::Windows::ApplicationModel::SocialInfo::SocialUserInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::PrimaryContent() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::PrimaryContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem)->get_PrimaryContent(&value)); return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::SecondaryContent() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::SecondaryContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem)->get_SecondaryContent(&value)); return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::Timestamp() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::Timestamp(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::Timestamp(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem)->put_Timestamp(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::TargetUri() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::TargetUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem)->get_TargetUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::TargetUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::TargetUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem)->put_TargetUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::Thumbnails() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::Thumbnails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem)->get_Thumbnails(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::SharedItem() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::SharedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem)->get_SharedItem(&value)); return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem::SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem)->put_SharedItem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent::Title() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent::Title(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent::Message() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent::Message(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent::Message(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent)->put_Message(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent::TargetUri() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent::TargetUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent)->get_TargetUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent::TargetUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent::TargetUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent)->put_TargetUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialUserInfo) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::Author() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::Author() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->get_Author(&value)); return winrt::Windows::ApplicationModel::SocialInfo::SocialUserInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::PrimaryContent() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::PrimaryContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->get_PrimaryContent(&value)); return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::SecondaryContent() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::SecondaryContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->get_SecondaryContent(&value)); return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::Timestamp() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::Timestamp(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::Timestamp(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->put_Timestamp(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::TargetUri() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::TargetUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->get_TargetUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::TargetUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::TargetUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->put_TargetUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::Thumbnails() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::Thumbnails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->get_Thumbnails(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::SharedItem() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::SharedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->get_SharedItem(&value)); return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->put_SharedItem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::BadgeStyle() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::BadgeStyle() const { winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->get_BadgeStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::BadgeStyle(winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::BadgeStyle(winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->put_BadgeStyle(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::BadgeCountValue() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::BadgeCountValue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->get_BadgeCountValue(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::BadgeCountValue(int32_t value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::BadgeCountValue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->put_BadgeCountValue(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::RemoteId() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::RemoteId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->get_RemoteId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::RemoteId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::RemoteId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->put_RemoteId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::ChildItem() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::ChildItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->get_ChildItem(&value)); return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::ChildItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::ChildItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->put_ChildItem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::Style() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::Style() const { winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->get_Style(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::Style(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem::Style(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->put_Style(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::OriginalSource() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::OriginalSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem)->get_OriginalSource(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::OriginalSource(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::OriginalSource(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem)->put_OriginalSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::Content() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem)->get_Content(&value)); return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::Timestamp() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::Timestamp(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::Timestamp(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem)->put_Timestamp(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::TargetUri() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::TargetUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem)->get_TargetUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::TargetUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::TargetUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem)->put_TargetUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::Thumbnail(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::Thumbnail(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem)->put_Thumbnail(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::Thumbnail() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem)->get_Thumbnail(&value)); return winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail::TargetUri() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail::TargetUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail)->get_TargetUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail::TargetUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail::TargetUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail)->put_TargetUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail::ImageUri() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail::ImageUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail)->get_ImageUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail::ImageUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail::ImageUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail)->put_ImageUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapSize) consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail::BitmapSize() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail::BitmapSize() const { winrt::Windows::Graphics::Imaging::BitmapSize value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail)->get_BitmapSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail::BitmapSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail::BitmapSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail)->put_BitmapSize(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail::SetImageAsync(winrt::Windows::Storage::Streams::IInputStream const& image) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail::SetImageAsync(winrt::Windows::Storage::Streams::IInputStream const& image) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail)->SetImageAsync(*(void**)(&image), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo::DisplayName() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo::DisplayName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo::UserName() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo::UserName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo)->get_UserName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo::UserName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo::UserName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo)->put_UserName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo::RemoteId() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo::RemoteId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo)->get_RemoteId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo::RemoteId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo::RemoteId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo)->put_RemoteId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo::TargetUri() const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo::TargetUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo)->get_TargetUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo::TargetUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo::TargetUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo)->put_TargetUri(*(void**)(&value))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.LicenseManagement.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.LicenseManagement.h index b061c3ce..42958559 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.LicenseManagement.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.LicenseManagement.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_LicenseManagement_H #define WINRT_Windows_ApplicationModel_Store_LicenseManagement_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.Store.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,73 +13,73 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics::AddLicenseAsync(winrt::Windows::Storage::Streams::IBuffer const& license) const + template auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics::AddLicenseAsync(winrt::Windows::Storage::Streams::IBuffer const& license) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseManagerStatics)->AddLicenseAsync(*(void**)(&license), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics::GetSatisfactionInfosAsync(param::async_iterable const& contentIds, param::async_iterable const& keyIds) const + template auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics::GetSatisfactionInfosAsync(param::async_iterable const& contentIds, param::async_iterable const& keyIds) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseManagerStatics)->GetSatisfactionInfosAsync(*(void**)(&contentIds), *(void**)(&keyIds), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics2::RefreshLicensesAsync(winrt::Windows::ApplicationModel::Store::LicenseManagement::LicenseRefreshOption const& refreshOption) const + template auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics2::RefreshLicensesAsync(winrt::Windows::ApplicationModel::Store::LicenseManagement::LicenseRefreshOption const& refreshOption) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseManagerStatics2)->RefreshLicensesAsync(static_cast(refreshOption), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo::SatisfiedByDevice() const + template auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo::SatisfiedByDevice() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo)->get_SatisfiedByDevice(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo::SatisfiedByOpenLicense() const + template auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo::SatisfiedByOpenLicense() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo)->get_SatisfiedByOpenLicense(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo::SatisfiedByTrial() const + template auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo::SatisfiedByTrial() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo)->get_SatisfiedByTrial(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo::SatisfiedByPass() const + template auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo::SatisfiedByPass() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo)->get_SatisfiedByPass(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo::SatisfiedByInstallMedia() const + template auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo::SatisfiedByInstallMedia() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo)->get_SatisfiedByInstallMedia(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo::SatisfiedBySignedInUser() const + template auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo::SatisfiedBySignedInUser() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo)->get_SatisfiedBySignedInUser(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo::IsSatisfied() const + template auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo::IsSatisfied() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo)->get_IsSatisfied(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionResult::LicenseSatisfactionInfos() const + template auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionResult::LicenseSatisfactionInfos() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionResult)->get_LicenseSatisfactionInfos(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionResult::ExtendedError() const + template auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionResult)->get_ExtendedError(put_abi(value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.Preview.InstallControl.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.Preview.InstallControl.h index 6295a04c..4f3a0382 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.Preview.InstallControl.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.Preview.InstallControl.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_Preview_InstallControl_H #define WINRT_Windows_ApplicationModel_Store_Preview_InstallControl_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.Store.Preview.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,669 +14,669 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::ProductId() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::ProductId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->get_ProductId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::PackageFamilyName() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::PackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->get_PackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallType) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::InstallType() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::InstallType() const { winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->get_InstallType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::IsUserInitiated() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::IsUserInitiated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->get_IsUserInitiated(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallStatus) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::GetCurrentStatus() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::GetCurrentStatus() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->GetCurrentStatus(&result)); return winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallStatus{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Cancel() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Cancel() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->Cancel()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Pause() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->Pause()); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Restart() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Restart() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->Restart()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->add_Completed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Completed_revoker consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Completed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Completed(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Completed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->remove_Completed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->add_StatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::StatusChanged_revoker consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::StatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::StatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->remove_StatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2::Cancel(param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2::Cancel(param::hstring const& correlationVector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem2)->CancelWithTelemetry(*(void**)(&correlationVector))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2::Pause(param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2::Pause(param::hstring const& correlationVector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem2)->PauseWithTelemetry(*(void**)(&correlationVector))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2::Restart(param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2::Restart(param::hstring const& correlationVector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem2)->RestartWithTelemetry(*(void**)(&correlationVector))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem3::Children() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem3::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem3)->get_Children(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem3::ItemOperationsMightAffectOtherItems() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem3::ItemOperationsMightAffectOtherItems() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem3)->get_ItemOperationsMightAffectOtherItems(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem4::LaunchAfterInstall() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem4::LaunchAfterInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem4)->get_LaunchAfterInstall(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem4::LaunchAfterInstall(bool value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem4::LaunchAfterInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem4)->put_LaunchAfterInstall(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToDesktopAfterInstall() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToDesktopAfterInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->get_PinToDesktopAfterInstall(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToDesktopAfterInstall(bool value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToDesktopAfterInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->put_PinToDesktopAfterInstall(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToStartAfterInstall() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToStartAfterInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->get_PinToStartAfterInstall(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToStartAfterInstall(bool value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToStartAfterInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->put_PinToStartAfterInstall(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToTaskbarAfterInstall() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToTaskbarAfterInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->get_PinToTaskbarAfterInstall(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToTaskbarAfterInstall(bool value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToTaskbarAfterInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->put_PinToTaskbarAfterInstall(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::CompletedInstallToastNotificationMode() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::CompletedInstallToastNotificationMode() const { winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->get_CompletedInstallToastNotificationMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::CompletedInstallToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::CompletedInstallToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->put_CompletedInstallToastNotificationMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::InstallInProgressToastNotificationMode() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::InstallInProgressToastNotificationMode() const { winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->get_InstallInProgressToastNotificationMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::InstallInProgressToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::InstallInProgressToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->put_InstallInProgressToastNotificationMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::AppInstallItems() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::AppInstallItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->get_AppInstallItems(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::Cancel(param::hstring const& productId) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::Cancel(param::hstring const& productId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->Cancel(*(void**)(&productId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::Pause(param::hstring const& productId) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::Pause(param::hstring const& productId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->Pause(*(void**)(&productId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::Restart(param::hstring const& productId) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::Restart(param::hstring const& productId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->Restart(*(void**)(&productId))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->add_ItemCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemCompleted_revoker consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->remove_ItemCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->add_ItemStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemStatusChanged_revoker consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->remove_ItemStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AutoUpdateSetting) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::AutoUpdateSetting() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::AutoUpdateSetting() const { winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AutoUpdateSetting value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->get_AutoUpdateSetting(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::AutoUpdateSetting(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AutoUpdateSetting const& value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::AutoUpdateSetting(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AutoUpdateSetting const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->put_AutoUpdateSetting(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::AcquisitionIdentity() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::AcquisitionIdentity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->get_AcquisitionIdentity(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::AcquisitionIdentity(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::AcquisitionIdentity(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->put_AcquisitionIdentity(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::GetIsApplicableAsync(param::hstring const& productId, param::hstring const& skuId) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::GetIsApplicableAsync(param::hstring const& productId, param::hstring const& skuId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->GetIsApplicableAsync(*(void**)(&productId), *(void**)(&skuId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::StartAppInstallAsync(param::hstring const& productId, param::hstring const& skuId, bool repair, bool forceUseOfNonRemovableStorage) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::StartAppInstallAsync(param::hstring const& productId, param::hstring const& skuId, bool repair, bool forceUseOfNonRemovableStorage) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->StartAppInstallAsync(*(void**)(&productId), *(void**)(&skuId), repair, forceUseOfNonRemovableStorage, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::UpdateAppByPackageFamilyNameAsync(param::hstring const& packageFamilyName) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::UpdateAppByPackageFamilyNameAsync(param::hstring const& packageFamilyName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->UpdateAppByPackageFamilyNameAsync(*(void**)(&packageFamilyName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->SearchForUpdatesAsync(*(void**)(&productId), *(void**)(&skuId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::SearchForAllUpdatesAsync() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::SearchForAllUpdatesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->SearchForAllUpdatesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::IsStoreBlockedByPolicyAsync(param::hstring const& storeClientName, param::hstring const& storeClientPublisher) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::IsStoreBlockedByPolicyAsync(param::hstring const& storeClientName, param::hstring const& storeClientPublisher) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->IsStoreBlockedByPolicyAsync(*(void**)(&storeClientName), *(void**)(&storeClientPublisher), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::GetIsAppAllowedToInstallAsync(param::hstring const& productId) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::GetIsAppAllowedToInstallAsync(param::hstring const& productId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->GetIsAppAllowedToInstallAsync(*(void**)(&productId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::StartAppInstallAsync(param::hstring const& productId, param::hstring const& skuId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& catalogId, param::hstring const& bundleId, param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::StartAppInstallAsync(param::hstring const& productId, param::hstring const& skuId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& catalogId, param::hstring const& bundleId, param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2)->StartAppInstallWithTelemetryAsync(*(void**)(&productId), *(void**)(&skuId), repair, forceUseOfNonRemovableStorage, *(void**)(&catalogId), *(void**)(&bundleId), *(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::UpdateAppByPackageFamilyNameAsync(param::hstring const& packageFamilyName, param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::UpdateAppByPackageFamilyNameAsync(param::hstring const& packageFamilyName, param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2)->UpdateAppByPackageFamilyNameWithTelemetryAsync(*(void**)(&packageFamilyName), *(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2)->SearchForUpdatesWithTelemetryAsync(*(void**)(&productId), *(void**)(&skuId), *(void**)(&catalogId), *(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::SearchForAllUpdatesAsync(param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::SearchForAllUpdatesAsync(param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2)->SearchForAllUpdatesWithTelemetryAsync(*(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::GetIsAppAllowedToInstallAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::GetIsAppAllowedToInstallAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2)->GetIsAppAllowedToInstallWithTelemetryAsync(*(void**)(&productId), *(void**)(&skuId), *(void**)(&catalogId), *(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::Cancel(param::hstring const& productId, param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::Cancel(param::hstring const& productId, param::hstring const& correlationVector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2)->CancelWithTelemetry(*(void**)(&productId), *(void**)(&correlationVector))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::Pause(param::hstring const& productId, param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::Pause(param::hstring const& productId, param::hstring const& correlationVector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2)->PauseWithTelemetry(*(void**)(&productId), *(void**)(&correlationVector))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::Restart(param::hstring const& productId, param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::Restart(param::hstring const& productId, param::hstring const& correlationVector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2)->RestartWithTelemetry(*(void**)(&productId), *(void**)(&correlationVector))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::StartProductInstallAsync(param::hstring const& productId, param::hstring const& catalogId, param::hstring const& flightId, param::hstring const& clientId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& correlationVector, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::StartProductInstallAsync(param::hstring const& productId, param::hstring const& catalogId, param::hstring const& flightId, param::hstring const& clientId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& correlationVector, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3)->StartProductInstallAsync(*(void**)(&productId), *(void**)(&catalogId), *(void**)(&flightId), *(void**)(&clientId), repair, forceUseOfNonRemovableStorage, *(void**)(&correlationVector), *(void**)(&targetVolume), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::StartProductInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& catalogId, param::hstring const& flightId, param::hstring const& clientId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& correlationVector, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::StartProductInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& catalogId, param::hstring const& flightId, param::hstring const& clientId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& correlationVector, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3)->StartProductInstallForUserAsync(*(void**)(&user), *(void**)(&productId), *(void**)(&catalogId), *(void**)(&flightId), *(void**)(&clientId), repair, forceUseOfNonRemovableStorage, *(void**)(&correlationVector), *(void**)(&targetVolume), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::UpdateAppByPackageFamilyNameForUserAsync(winrt::Windows::System::User const& user, param::hstring const& packageFamilyName, param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::UpdateAppByPackageFamilyNameForUserAsync(winrt::Windows::System::User const& user, param::hstring const& packageFamilyName, param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3)->UpdateAppByPackageFamilyNameForUserAsync(*(void**)(&user), *(void**)(&packageFamilyName), *(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::SearchForUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::SearchForUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3)->SearchForUpdatesForUserAsync(*(void**)(&user), *(void**)(&productId), *(void**)(&skuId), *(void**)(&catalogId), *(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::SearchForAllUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::SearchForAllUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3)->SearchForAllUpdatesForUserAsync(*(void**)(&user), *(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::GetIsAppAllowedToInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::GetIsAppAllowedToInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3)->GetIsAppAllowedToInstallForUserAsync(*(void**)(&user), *(void**)(&productId), *(void**)(&skuId), *(void**)(&catalogId), *(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::GetIsApplicableForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::GetIsApplicableForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3)->GetIsApplicableForUserAsync(*(void**)(&user), *(void**)(&productId), *(void**)(&skuId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::MoveToFrontOfDownloadQueue(param::hstring const& productId, param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::MoveToFrontOfDownloadQueue(param::hstring const& productId, param::hstring const& correlationVector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3)->MoveToFrontOfDownloadQueue(*(void**)(&productId), *(void**)(&correlationVector))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4::GetFreeUserEntitlementAsync(param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4::GetFreeUserEntitlementAsync(param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const { void* ppAsyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager4)->GetFreeUserEntitlementAsync(*(void**)(&storeId), *(void**)(&campaignId), *(void**)(&correlationVector), &ppAsyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ ppAsyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4::GetFreeUserEntitlementForUserAsync(winrt::Windows::System::User const& user, param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4::GetFreeUserEntitlementForUserAsync(winrt::Windows::System::User const& user, param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const { void* ppAsyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager4)->GetFreeUserEntitlementForUserAsync(*(void**)(&user), *(void**)(&storeId), *(void**)(&campaignId), *(void**)(&correlationVector), &ppAsyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ ppAsyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4::GetFreeDeviceEntitlementAsync(param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4::GetFreeDeviceEntitlementAsync(param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const { void* ppAsyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager4)->GetFreeDeviceEntitlementAsync(*(void**)(&storeId), *(void**)(&campaignId), *(void**)(&correlationVector), &ppAsyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ ppAsyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager5::AppInstallItemsWithGroupSupport() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager5::AppInstallItemsWithGroupSupport() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager5)->get_AppInstallItemsWithGroupSupport(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::SearchForAllUpdatesAsync(param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::SearchForAllUpdatesAsync(param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6)->SearchForAllUpdatesWithUpdateOptionsAsync(*(void**)(&correlationVector), *(void**)(&clientId), *(void**)(&updateOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::SearchForAllUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::SearchForAllUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6)->SearchForAllUpdatesWithUpdateOptionsForUserAsync(*(void**)(&user), *(void**)(&correlationVector), *(void**)(&clientId), *(void**)(&updateOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6)->SearchForUpdatesWithUpdateOptionsAsync(*(void**)(&productId), *(void**)(&skuId), *(void**)(&correlationVector), *(void**)(&clientId), *(void**)(&updateOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::SearchForUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::SearchForUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6)->SearchForUpdatesWithUpdateOptionsForUserAsync(*(void**)(&user), *(void**)(&productId), *(void**)(&skuId), *(void**)(&correlationVector), *(void**)(&clientId), *(void**)(&updateOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::StartProductInstallAsync(param::hstring const& productId, param::hstring const& flightId, param::hstring const& clientId, param::hstring const& correlationVector, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallOptions const& installOptions) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::StartProductInstallAsync(param::hstring const& productId, param::hstring const& flightId, param::hstring const& clientId, param::hstring const& correlationVector, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallOptions const& installOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6)->StartProductInstallWithOptionsAsync(*(void**)(&productId), *(void**)(&flightId), *(void**)(&clientId), *(void**)(&correlationVector), *(void**)(&installOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::StartProductInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& flightId, param::hstring const& clientId, param::hstring const& correlationVector, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallOptions const& installOptions) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::StartProductInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& flightId, param::hstring const& clientId, param::hstring const& correlationVector, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallOptions const& installOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6)->StartProductInstallWithOptionsForUserAsync(*(void**)(&user), *(void**)(&productId), *(void**)(&flightId), *(void**)(&clientId), *(void**)(&correlationVector), *(void**)(&installOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::GetIsPackageIdentityAllowedToInstallAsync(param::hstring const& correlationVector, param::hstring const& packageIdentityName, param::hstring const& publisherCertificateName) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::GetIsPackageIdentityAllowedToInstallAsync(param::hstring const& correlationVector, param::hstring const& packageIdentityName, param::hstring const& publisherCertificateName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6)->GetIsPackageIdentityAllowedToInstallAsync(*(void**)(&correlationVector), *(void**)(&packageIdentityName), *(void**)(&publisherCertificateName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::GetIsPackageIdentityAllowedToInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector, param::hstring const& packageIdentityName, param::hstring const& publisherCertificateName) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::GetIsPackageIdentityAllowedToInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector, param::hstring const& packageIdentityName, param::hstring const& publisherCertificateName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6)->GetIsPackageIdentityAllowedToInstallForUserAsync(*(void**)(&user), *(void**)(&correlationVector), *(void**)(&packageIdentityName), *(void**)(&publisherCertificateName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager7::CanInstallForAllUsers() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager7::CanInstallForAllUsers() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager7)->get_CanInstallForAllUsers(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManagerItemEventArgs::Item() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManagerItemEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManagerItemEventArgs)->get_Item(&value)); return winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::CatalogId() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::CatalogId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->get_CatalogId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::CatalogId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::CatalogId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_CatalogId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::ForceUseOfNonRemovableStorage() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::ForceUseOfNonRemovableStorage() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->get_ForceUseOfNonRemovableStorage(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::ForceUseOfNonRemovableStorage(bool value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::ForceUseOfNonRemovableStorage(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_ForceUseOfNonRemovableStorage(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::AllowForcedAppRestart() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::AllowForcedAppRestart() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->get_AllowForcedAppRestart(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::AllowForcedAppRestart(bool value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::AllowForcedAppRestart(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_AllowForcedAppRestart(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::Repair() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::Repair() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->get_Repair(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::Repair(bool value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::Repair(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_Repair(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::TargetVolume() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::TargetVolume() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->get_TargetVolume(&value)); return winrt::Windows::Management::Deployment::PackageVolume{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_TargetVolume(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::LaunchAfterInstall() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::LaunchAfterInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->get_LaunchAfterInstall(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::LaunchAfterInstall(bool value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::LaunchAfterInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_LaunchAfterInstall(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToDesktopAfterInstall() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToDesktopAfterInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_PinToDesktopAfterInstall(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToDesktopAfterInstall(bool value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToDesktopAfterInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_PinToDesktopAfterInstall(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToStartAfterInstall() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToStartAfterInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_PinToStartAfterInstall(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToStartAfterInstall(bool value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToStartAfterInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_PinToStartAfterInstall(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToTaskbarAfterInstall() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToTaskbarAfterInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_PinToTaskbarAfterInstall(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToTaskbarAfterInstall(bool value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToTaskbarAfterInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_PinToTaskbarAfterInstall(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::CompletedInstallToastNotificationMode() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::CompletedInstallToastNotificationMode() const { winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_CompletedInstallToastNotificationMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::CompletedInstallToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::CompletedInstallToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_CompletedInstallToastNotificationMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::InstallInProgressToastNotificationMode() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::InstallInProgressToastNotificationMode() const { winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_InstallInProgressToastNotificationMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::InstallInProgressToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::InstallInProgressToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_InstallInProgressToastNotificationMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::InstallForAllUsers() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::InstallForAllUsers() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_InstallForAllUsers(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::InstallForAllUsers(bool value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::InstallForAllUsers(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_InstallForAllUsers(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::StageButDoNotInstall() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::StageButDoNotInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_StageButDoNotInstall(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::StageButDoNotInstall(bool value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::StageButDoNotInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_StageButDoNotInstall(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::CampaignId() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::CampaignId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_CampaignId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::CampaignId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::CampaignId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_CampaignId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::ExtendedCampaignId() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::ExtendedCampaignId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_ExtendedCampaignId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::ExtendedCampaignId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::ExtendedCampaignId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_ExtendedCampaignId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallState) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus::InstallState() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus::InstallState() const { winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus)->get_InstallState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus::DownloadSizeInBytes() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus::DownloadSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus)->get_DownloadSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus::BytesDownloaded() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus::BytesDownloaded() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus)->get_BytesDownloaded(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus::PercentComplete() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus::PercentComplete() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus)->get_PercentComplete(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus::ErrorCode() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus::ErrorCode() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus)->get_ErrorCode(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus2::User() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus2::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus2)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus2::ReadyForLaunch() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus2::ReadyForLaunch() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus2)->get_ReadyForLaunch(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus3::IsStaged() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus3::IsStaged() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus3)->get_IsStaged(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions::CatalogId() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions::CatalogId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions)->get_CatalogId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions::CatalogId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions::CatalogId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions)->put_CatalogId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions::AllowForcedAppRestart() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions::AllowForcedAppRestart() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions)->get_AllowForcedAppRestart(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions::AllowForcedAppRestart(bool value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions::AllowForcedAppRestart(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions)->put_AllowForcedAppRestart(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions2::AutomaticallyDownloadAndInstallUpdateIfFound() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions2::AutomaticallyDownloadAndInstallUpdateIfFound() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions2)->get_AutomaticallyDownloadAndInstallUpdateIfFound(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions2::AutomaticallyDownloadAndInstallUpdateIfFound(bool value) const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions2::AutomaticallyDownloadAndInstallUpdateIfFound(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions2)->put_AutomaticallyDownloadAndInstallUpdateIfFound(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementStatus) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IGetEntitlementResult::Status() const + template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IGetEntitlementResult::Status() const { winrt::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IGetEntitlementResult)->get_Status(reinterpret_cast(&value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.Preview.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.Preview.h index ff9f4145..52c86f7b 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.Preview.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.Preview.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_Preview_H #define WINRT_Windows_ApplicationModel_Store_Preview_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.Store.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -17,305 +17,305 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Store.Preview.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::DeliveryOptimizationDownloadMode) consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettings::DownloadMode() const + template auto consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettings::DownloadMode() const { winrt::Windows::ApplicationModel::Store::Preview::DeliveryOptimizationDownloadMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IDeliveryOptimizationSettings)->get_DownloadMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::DeliveryOptimizationDownloadModeSource) consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettings::DownloadModeSource() const + template auto consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettings::DownloadModeSource() const { winrt::Windows::ApplicationModel::Store::Preview::DeliveryOptimizationDownloadModeSource value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IDeliveryOptimizationSettings)->get_DownloadModeSource(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::DeliveryOptimizationSettings) consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettingsStatics::GetCurrentSettings() const + template auto consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettingsStatics::GetCurrentSettings() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IDeliveryOptimizationSettingsStatics)->GetCurrentSettings(&result)); return winrt::Windows::ApplicationModel::Store::Preview::DeliveryOptimizationSettings{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics::SetSystemConfiguration(param::hstring const& catalogHardwareManufacturerId, param::hstring const& catalogStoreContentModifierId, winrt::Windows::Foundation::DateTime const& systemConfigurationExpiration, param::hstring const& catalogHardwareDescriptor) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics::SetSystemConfiguration(param::hstring const& catalogHardwareManufacturerId, param::hstring const& catalogStoreContentModifierId, winrt::Windows::Foundation::DateTime const& systemConfigurationExpiration, param::hstring const& catalogHardwareDescriptor) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics)->SetSystemConfiguration(*(void**)(&catalogHardwareManufacturerId), *(void**)(&catalogStoreContentModifierId), impl::bind_in(systemConfigurationExpiration), *(void**)(&catalogHardwareDescriptor))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics::SetMobileOperatorConfiguration(param::hstring const& mobileOperatorId, uint32_t appDownloadLimitInMegabytes, uint32_t updateDownloadLimitInMegabytes) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics::SetMobileOperatorConfiguration(param::hstring const& mobileOperatorId, uint32_t appDownloadLimitInMegabytes, uint32_t updateDownloadLimitInMegabytes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics)->SetMobileOperatorConfiguration(*(void**)(&mobileOperatorId), appDownloadLimitInMegabytes, updateDownloadLimitInMegabytes)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics::SetStoreWebAccountId(param::hstring const& webAccountId) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics::SetStoreWebAccountId(param::hstring const& webAccountId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics)->SetStoreWebAccountId(*(void**)(&webAccountId))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics::IsStoreWebAccountId(param::hstring const& webAccountId) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics::IsStoreWebAccountId(param::hstring const& webAccountId) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics)->IsStoreWebAccountId(*(void**)(&webAccountId), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::StoreHardwareManufacturerInfo) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics::HardwareManufacturerInfo() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics::HardwareManufacturerInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics)->get_HardwareManufacturerInfo(&value)); return winrt::Windows::ApplicationModel::Store::Preview::StoreHardwareManufacturerInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics::FilterUnsupportedSystemFeaturesAsync(param::async_iterable const& systemFeatures) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics::FilterUnsupportedSystemFeaturesAsync(param::async_iterable const& systemFeatures) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics)->FilterUnsupportedSystemFeaturesAsync(*(void**)(&systemFeatures), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics2::PurchasePromptingPolicy() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics2::PurchasePromptingPolicy() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics2)->get_PurchasePromptingPolicy(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics2::PurchasePromptingPolicy(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics2::PurchasePromptingPolicy(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics2)->put_PurchasePromptingPolicy(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3::HasStoreWebAccount() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3::HasStoreWebAccount() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics3)->HasStoreWebAccount(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3::HasStoreWebAccountForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3::HasStoreWebAccountForUser(winrt::Windows::System::User const& user) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics3)->HasStoreWebAccountForUser(*(void**)(&user), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3::GetStoreLogDataAsync(winrt::Windows::ApplicationModel::Store::Preview::StoreLogOptions const& options) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3::GetStoreLogDataAsync(winrt::Windows::ApplicationModel::Store::Preview::StoreLogOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics3)->GetStoreLogDataAsync(static_cast(options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3::SetStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3::SetStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics3)->SetStoreWebAccountIdForUser(*(void**)(&user), *(void**)(&webAccountId))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3::IsStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3::IsStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics3)->IsStoreWebAccountIdForUser(*(void**)(&user), *(void**)(&webAccountId), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3::GetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3::GetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics3)->GetPurchasePromptingPolicyForUser(*(void**)(&user), &value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3::SetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user, winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3::SetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user, winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics3)->SetPurchasePromptingPolicyForUser(*(void**)(&user), *(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4::GetStoreWebAccountId() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4::GetStoreWebAccountId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics4)->GetStoreWebAccountId(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4::GetStoreWebAccountIdForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4::GetStoreWebAccountIdForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics4)->GetStoreWebAccountIdForUser(*(void**)(&user), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4::SetEnterpriseStoreWebAccountId(param::hstring const& webAccountId) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4::SetEnterpriseStoreWebAccountId(param::hstring const& webAccountId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics4)->SetEnterpriseStoreWebAccountId(*(void**)(&webAccountId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4::SetEnterpriseStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4::SetEnterpriseStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics4)->SetEnterpriseStoreWebAccountIdForUser(*(void**)(&user), *(void**)(&webAccountId))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4::GetEnterpriseStoreWebAccountId() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4::GetEnterpriseStoreWebAccountId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics4)->GetEnterpriseStoreWebAccountId(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4::GetEnterpriseStoreWebAccountIdForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4::GetEnterpriseStoreWebAccountIdForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics4)->GetEnterpriseStoreWebAccountIdForUser(*(void**)(&user), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4::ShouldRestrictToEnterpriseStoreOnly() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4::ShouldRestrictToEnterpriseStoreOnly() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics4)->ShouldRestrictToEnterpriseStoreOnly(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4::ShouldRestrictToEnterpriseStoreOnlyForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4::ShouldRestrictToEnterpriseStoreOnlyForUser(winrt::Windows::System::User const& user) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics4)->ShouldRestrictToEnterpriseStoreOnlyForUser(*(void**)(&user), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5::IsPinToDesktopSupported() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5::IsPinToDesktopSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics5)->IsPinToDesktopSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5::IsPinToTaskbarSupported() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5::IsPinToTaskbarSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics5)->IsPinToTaskbarSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5::IsPinToStartSupported() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5::IsPinToStartSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics5)->IsPinToStartSupported(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5::PinToDesktop(param::hstring const& appPackageFamilyName) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5::PinToDesktop(param::hstring const& appPackageFamilyName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics5)->PinToDesktop(*(void**)(&appPackageFamilyName))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5::PinToDesktopForUser(winrt::Windows::System::User const& user, param::hstring const& appPackageFamilyName) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5::PinToDesktopForUser(winrt::Windows::System::User const& user, param::hstring const& appPackageFamilyName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics5)->PinToDesktopForUser(*(void**)(&user), *(void**)(&appPackageFamilyName))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo::HardwareManufacturerId() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo::HardwareManufacturerId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreHardwareManufacturerInfo)->get_HardwareManufacturerId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo::StoreContentModifierId() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo::StoreContentModifierId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreHardwareManufacturerInfo)->get_StoreContentModifierId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo::ModelName() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo::ModelName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreHardwareManufacturerInfo)->get_ModelName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo::ManufacturerName() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo::ManufacturerName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreHardwareManufacturerInfo)->get_ManufacturerName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_IStorePreview::RequestProductPurchaseByProductIdAndSkuIdAsync(param::hstring const& productId, param::hstring const& skuId) const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreview::RequestProductPurchaseByProductIdAndSkuIdAsync(param::hstring const& productId, param::hstring const& skuId) const { void* requestPurchaseBySkuIdOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreview)->RequestProductPurchaseByProductIdAndSkuIdAsync(*(void**)(&productId), *(void**)(&skuId), &requestPurchaseBySkuIdOperation)); return winrt::Windows::Foundation::IAsyncOperation{ requestPurchaseBySkuIdOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Store_Preview_IStorePreview::LoadAddOnProductInfosAsync() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreview::LoadAddOnProductInfosAsync() const { void* loadAddOnProductInfosOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreview)->LoadAddOnProductInfosAsync(&loadAddOnProductInfosOperation)); return winrt::Windows::Foundation::IAsyncOperation>{ loadAddOnProductInfosOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo::ProductId() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo::ProductId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewProductInfo)->get_ProductId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo::ProductType() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo::ProductType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewProductInfo)->get_ProductType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo::Title() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewProductInfo)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo::Description() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewProductInfo)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo::SkuInfoList() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo::SkuInfoList() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewProductInfo)->get_SkuInfoList(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::StorePreviewProductPurchaseStatus) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewPurchaseResults::ProductPurchaseStatus() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewPurchaseResults::ProductPurchaseStatus() const { winrt::Windows::ApplicationModel::Store::Preview::StorePreviewProductPurchaseStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewPurchaseResults)->get_ProductPurchaseStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::ProductId() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::ProductId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewSkuInfo)->get_ProductId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::SkuId() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::SkuId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewSkuInfo)->get_SkuId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::SkuType() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::SkuType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewSkuInfo)->get_SkuType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::Title() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewSkuInfo)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::Description() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewSkuInfo)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::CustomDeveloperData() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::CustomDeveloperData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewSkuInfo)->get_CustomDeveloperData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::CurrencyCode() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::CurrencyCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewSkuInfo)->get_CurrencyCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::FormattedListPrice() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::FormattedListPrice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewSkuInfo)->get_FormattedListPrice(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::ExtendedData() const + template auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo::ExtendedData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewSkuInfo)->get_ExtendedData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_IWebAuthenticationCoreManagerHelper::RequestTokenWithUIElementHostingAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::UI::Xaml::UIElement const& uiElement) const + template auto consume_Windows_ApplicationModel_Store_Preview_IWebAuthenticationCoreManagerHelper::RequestTokenWithUIElementHostingAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::UI::Xaml::UIElement const& uiElement) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IWebAuthenticationCoreManagerHelper)->RequestTokenWithUIElementHostingAsync(*(void**)(&request), *(void**)(&uiElement), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_Preview_IWebAuthenticationCoreManagerHelper::RequestTokenWithUIElementHostingAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::UI::Xaml::UIElement const& uiElement) const + template auto consume_Windows_ApplicationModel_Store_Preview_IWebAuthenticationCoreManagerHelper::RequestTokenWithUIElementHostingAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::UI::Xaml::UIElement const& uiElement) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IWebAuthenticationCoreManagerHelper)->RequestTokenWithUIElementHostingAndWebAccountAsync(*(void**)(&request), *(void**)(&webAccount), *(void**)(&uiElement), &asyncInfo)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.h index 0b5dc49c..0298adb3 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_H #define WINRT_Windows_ApplicationModel_Store_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,481 +13,481 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Store.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::LicenseInformation) consume_Windows_ApplicationModel_Store_ICurrentApp::LicenseInformation() const + template auto consume_Windows_ApplicationModel_Store_ICurrentApp::LicenseInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentApp)->get_LicenseInformation(&value)); return winrt::Windows::ApplicationModel::Store::LicenseInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Store_ICurrentApp::LinkUri() const + template auto consume_Windows_ApplicationModel_Store_ICurrentApp::LinkUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentApp)->get_LinkUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Store_ICurrentApp::AppId() const + template auto consume_Windows_ApplicationModel_Store_ICurrentApp::AppId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentApp)->get_AppId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentApp::RequestAppPurchaseAsync(bool includeReceipt) const + template auto consume_Windows_ApplicationModel_Store_ICurrentApp::RequestAppPurchaseAsync(bool includeReceipt) const { void* requestAppPurchaseOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentApp)->RequestAppPurchaseAsync(includeReceipt, &requestAppPurchaseOperation)); return winrt::Windows::Foundation::IAsyncOperation{ requestAppPurchaseOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentApp::RequestProductPurchaseAsync(param::hstring const& productId, bool includeReceipt) const + template auto consume_Windows_ApplicationModel_Store_ICurrentApp::RequestProductPurchaseAsync(param::hstring const& productId, bool includeReceipt) const { void* requestProductPurchaseOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentApp)->RequestProductPurchaseAsync(*(void**)(&productId), includeReceipt, &requestProductPurchaseOperation)); return winrt::Windows::Foundation::IAsyncOperation{ requestProductPurchaseOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentApp::LoadListingInformationAsync() const + template auto consume_Windows_ApplicationModel_Store_ICurrentApp::LoadListingInformationAsync() const { void* loadListingOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentApp)->LoadListingInformationAsync(&loadListingOperation)); return winrt::Windows::Foundation::IAsyncOperation{ loadListingOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentApp::GetAppReceiptAsync() const + template auto consume_Windows_ApplicationModel_Store_ICurrentApp::GetAppReceiptAsync() const { void* appReceiptOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentApp)->GetAppReceiptAsync(&appReceiptOperation)); return winrt::Windows::Foundation::IAsyncOperation{ appReceiptOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentApp::GetProductReceiptAsync(param::hstring const& productId) const + template auto consume_Windows_ApplicationModel_Store_ICurrentApp::GetProductReceiptAsync(param::hstring const& productId) const { void* getProductReceiptOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentApp)->GetProductReceiptAsync(*(void**)(&productId), &getProductReceiptOperation)); return winrt::Windows::Foundation::IAsyncOperation{ getProductReceiptOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentApp2Statics::GetCustomerPurchaseIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const + template auto consume_Windows_ApplicationModel_Store_ICurrentApp2Statics::GetCustomerPurchaseIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentApp2Statics)->GetCustomerPurchaseIdAsync(*(void**)(&serviceTicket), *(void**)(&publisherUserId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentApp2Statics::GetCustomerCollectionsIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const + template auto consume_Windows_ApplicationModel_Store_ICurrentApp2Statics::GetCustomerCollectionsIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentApp2Statics)->GetCustomerCollectionsIdAsync(*(void**)(&serviceTicket), *(void**)(&publisherUserId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::LicenseInformation) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::LicenseInformation() const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::LicenseInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulator)->get_LicenseInformation(&value)); return winrt::Windows::ApplicationModel::Store::LicenseInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::LinkUri() const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::LinkUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulator)->get_LinkUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::AppId() const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::AppId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulator)->get_AppId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::RequestAppPurchaseAsync(bool includeReceipt) const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::RequestAppPurchaseAsync(bool includeReceipt) const { void* requestAppPurchaseOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulator)->RequestAppPurchaseAsync(includeReceipt, &requestAppPurchaseOperation)); return winrt::Windows::Foundation::IAsyncOperation{ requestAppPurchaseOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::RequestProductPurchaseAsync(param::hstring const& productId, bool includeReceipt) const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::RequestProductPurchaseAsync(param::hstring const& productId, bool includeReceipt) const { void* requestProductPurchaseOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulator)->RequestProductPurchaseAsync(*(void**)(&productId), includeReceipt, &requestProductPurchaseOperation)); return winrt::Windows::Foundation::IAsyncOperation{ requestProductPurchaseOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::LoadListingInformationAsync() const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::LoadListingInformationAsync() const { void* loadListingOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulator)->LoadListingInformationAsync(&loadListingOperation)); return winrt::Windows::Foundation::IAsyncOperation{ loadListingOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::GetAppReceiptAsync() const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::GetAppReceiptAsync() const { void* appReceiptOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulator)->GetAppReceiptAsync(&appReceiptOperation)); return winrt::Windows::Foundation::IAsyncOperation{ appReceiptOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::GetProductReceiptAsync(param::hstring const& productId) const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::GetProductReceiptAsync(param::hstring const& productId) const { void* getProductReceiptOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulator)->GetProductReceiptAsync(*(void**)(&productId), &getProductReceiptOperation)); return winrt::Windows::Foundation::IAsyncOperation{ getProductReceiptOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::ReloadSimulatorAsync(winrt::Windows::Storage::StorageFile const& simulatorSettingsFile) const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator::ReloadSimulatorAsync(winrt::Windows::Storage::StorageFile const& simulatorSettingsFile) const { void* reloadSimulatorOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulator)->ReloadSimulatorAsync(*(void**)(&simulatorSettingsFile), &reloadSimulatorOperation)); return winrt::Windows::Foundation::IAsyncAction{ reloadSimulatorOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorStaticsWithFiltering::LoadListingInformationByProductIdsAsync(param::async_iterable const& productIds) const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorStaticsWithFiltering::LoadListingInformationByProductIdsAsync(param::async_iterable const& productIds) const { void* loadListingOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulatorStaticsWithFiltering)->LoadListingInformationByProductIdsAsync(*(void**)(&productIds), &loadListingOperation)); return winrt::Windows::Foundation::IAsyncOperation{ loadListingOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorStaticsWithFiltering::LoadListingInformationByKeywordsAsync(param::async_iterable const& keywords) const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorStaticsWithFiltering::LoadListingInformationByKeywordsAsync(param::async_iterable const& keywords) const { void* loadListingOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulatorStaticsWithFiltering)->LoadListingInformationByKeywordsAsync(*(void**)(&keywords), &loadListingOperation)); return winrt::Windows::Foundation::IAsyncOperation{ loadListingOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithCampaignId::GetAppPurchaseCampaignIdAsync() const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithCampaignId::GetAppPurchaseCampaignIdAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulatorWithCampaignId)->GetAppPurchaseCampaignIdAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables::ReportConsumableFulfillmentAsync(param::hstring const& productId, winrt::guid const& transactionId) const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables::ReportConsumableFulfillmentAsync(param::hstring const& productId, winrt::guid const& transactionId) const { void* reportConsumableFulfillmentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulatorWithConsumables)->ReportConsumableFulfillmentAsync(*(void**)(&productId), impl::bind_in(transactionId), &reportConsumableFulfillmentOperation)); return winrt::Windows::Foundation::IAsyncOperation{ reportConsumableFulfillmentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables::RequestProductPurchaseAsync(param::hstring const& productId) const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables::RequestProductPurchaseAsync(param::hstring const& productId) const { void* requestProductPurchaseWithResultsOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulatorWithConsumables)->RequestProductPurchaseWithResultsAsync(*(void**)(&productId), &requestProductPurchaseWithResultsOperation)); return winrt::Windows::Foundation::IAsyncOperation{ requestProductPurchaseWithResultsOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables::RequestProductPurchaseAsync(param::hstring const& productId, param::hstring const& offerId, winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties const& displayProperties) const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables::RequestProductPurchaseAsync(param::hstring const& productId, param::hstring const& offerId, winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties const& displayProperties) const { void* requestProductPurchaseWithDisplayPropertiesOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulatorWithConsumables)->RequestProductPurchaseWithDisplayPropertiesAsync(*(void**)(&productId), *(void**)(&offerId), *(void**)(&displayProperties), &requestProductPurchaseWithDisplayPropertiesOperation)); return winrt::Windows::Foundation::IAsyncOperation{ requestProductPurchaseWithDisplayPropertiesOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables::GetUnfulfilledConsumablesAsync() const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables::GetUnfulfilledConsumablesAsync() const { void* getUnfulfilledConsumablesOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulatorWithConsumables)->GetUnfulfilledConsumablesAsync(&getUnfulfilledConsumablesOperation)); return winrt::Windows::Foundation::IAsyncOperation>{ getUnfulfilledConsumablesOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppStaticsWithFiltering::LoadListingInformationByProductIdsAsync(param::async_iterable const& productIds) const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppStaticsWithFiltering::LoadListingInformationByProductIdsAsync(param::async_iterable const& productIds) const { void* loadListingOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppStaticsWithFiltering)->LoadListingInformationByProductIdsAsync(*(void**)(&productIds), &loadListingOperation)); return winrt::Windows::Foundation::IAsyncOperation{ loadListingOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppStaticsWithFiltering::LoadListingInformationByKeywordsAsync(param::async_iterable const& keywords) const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppStaticsWithFiltering::LoadListingInformationByKeywordsAsync(param::async_iterable const& keywords) const { void* loadListingOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppStaticsWithFiltering)->LoadListingInformationByKeywordsAsync(*(void**)(&keywords), &loadListingOperation)); return winrt::Windows::Foundation::IAsyncOperation{ loadListingOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_ICurrentAppStaticsWithFiltering::ReportProductFulfillment(param::hstring const& productId) const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppStaticsWithFiltering::ReportProductFulfillment(param::hstring const& productId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppStaticsWithFiltering)->ReportProductFulfillment(*(void**)(&productId))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppWithCampaignId::GetAppPurchaseCampaignIdAsync() const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppWithCampaignId::GetAppPurchaseCampaignIdAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppWithCampaignId)->GetAppPurchaseCampaignIdAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables::ReportConsumableFulfillmentAsync(param::hstring const& productId, winrt::guid const& transactionId) const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables::ReportConsumableFulfillmentAsync(param::hstring const& productId, winrt::guid const& transactionId) const { void* reportConsumableFulfillmentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppWithConsumables)->ReportConsumableFulfillmentAsync(*(void**)(&productId), impl::bind_in(transactionId), &reportConsumableFulfillmentOperation)); return winrt::Windows::Foundation::IAsyncOperation{ reportConsumableFulfillmentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables::RequestProductPurchaseAsync(param::hstring const& productId) const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables::RequestProductPurchaseAsync(param::hstring const& productId) const { void* requestProductPurchaseWithResultsOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppWithConsumables)->RequestProductPurchaseWithResultsAsync(*(void**)(&productId), &requestProductPurchaseWithResultsOperation)); return winrt::Windows::Foundation::IAsyncOperation{ requestProductPurchaseWithResultsOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables::RequestProductPurchaseAsync(param::hstring const& productId, param::hstring const& offerId, winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties const& displayProperties) const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables::RequestProductPurchaseAsync(param::hstring const& productId, param::hstring const& offerId, winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties const& displayProperties) const { void* requestProductPurchaseWithDisplayPropertiesOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppWithConsumables)->RequestProductPurchaseWithDisplayPropertiesAsync(*(void**)(&productId), *(void**)(&offerId), *(void**)(&displayProperties), &requestProductPurchaseWithDisplayPropertiesOperation)); return winrt::Windows::Foundation::IAsyncOperation{ requestProductPurchaseWithDisplayPropertiesOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables::GetUnfulfilledConsumablesAsync() const + template auto consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables::GetUnfulfilledConsumablesAsync() const { void* getUnfulfilledConsumablesOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppWithConsumables)->GetUnfulfilledConsumablesAsync(&getUnfulfilledConsumablesOperation)); return winrt::Windows::Foundation::IAsyncOperation>{ getUnfulfilledConsumablesOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_ApplicationModel_Store_ILicenseInformation::ProductLicenses() const + template auto consume_Windows_ApplicationModel_Store_ILicenseInformation::ProductLicenses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ILicenseInformation)->get_ProductLicenses(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_ILicenseInformation::IsActive() const + template auto consume_Windows_ApplicationModel_Store_ILicenseInformation::IsActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ILicenseInformation)->get_IsActive(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_ILicenseInformation::IsTrial() const + template auto consume_Windows_ApplicationModel_Store_ILicenseInformation::IsTrial() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ILicenseInformation)->get_IsTrial(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Store_ILicenseInformation::ExpirationDate() const + template auto consume_Windows_ApplicationModel_Store_ILicenseInformation::ExpirationDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ILicenseInformation)->get_ExpirationDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Store_ILicenseInformation::LicenseChanged(winrt::Windows::ApplicationModel::Store::LicenseChangedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Store_ILicenseInformation::LicenseChanged(winrt::Windows::ApplicationModel::Store::LicenseChangedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ILicenseInformation)->add_LicenseChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_ApplicationModel_Store_ILicenseInformation::LicenseChanged_revoker consume_Windows_ApplicationModel_Store_ILicenseInformation::LicenseChanged(auto_revoke_t, winrt::Windows::ApplicationModel::Store::LicenseChangedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Store_ILicenseInformation::LicenseChanged(auto_revoke_t, winrt::Windows::ApplicationModel::Store::LicenseChangedEventHandler const& handler) const { return impl::make_event_revoker(this, LicenseChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_ILicenseInformation::LicenseChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_ApplicationModel_Store_ILicenseInformation::LicenseChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ILicenseInformation)->remove_LicenseChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IListingInformation::CurrentMarket() const + template auto consume_Windows_ApplicationModel_Store_IListingInformation::CurrentMarket() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IListingInformation)->get_CurrentMarket(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IListingInformation::Description() const + template auto consume_Windows_ApplicationModel_Store_IListingInformation::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IListingInformation)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_ApplicationModel_Store_IListingInformation::ProductListings() const + template auto consume_Windows_ApplicationModel_Store_IListingInformation::ProductListings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IListingInformation)->get_ProductListings(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IListingInformation::FormattedPrice() const + template auto consume_Windows_ApplicationModel_Store_IListingInformation::FormattedPrice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IListingInformation)->get_FormattedPrice(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IListingInformation::Name() const + template auto consume_Windows_ApplicationModel_Store_IListingInformation::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IListingInformation)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Store_IListingInformation::AgeRating() const + template auto consume_Windows_ApplicationModel_Store_IListingInformation::AgeRating() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IListingInformation)->get_AgeRating(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IListingInformation2::FormattedBasePrice() const + template auto consume_Windows_ApplicationModel_Store_IListingInformation2::FormattedBasePrice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IListingInformation2)->get_FormattedBasePrice(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Store_IListingInformation2::SaleEndDate() const + template auto consume_Windows_ApplicationModel_Store_IListingInformation2::SaleEndDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IListingInformation2)->get_SaleEndDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_IListingInformation2::IsOnSale() const + template auto consume_Windows_ApplicationModel_Store_IListingInformation2::IsOnSale() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IListingInformation2)->get_IsOnSale(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IListingInformation2::CurrencyCode() const + template auto consume_Windows_ApplicationModel_Store_IListingInformation2::CurrencyCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IListingInformation2)->get_CurrencyCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductLicense::ProductId() const + template auto consume_Windows_ApplicationModel_Store_IProductLicense::ProductId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductLicense)->get_ProductId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_IProductLicense::IsActive() const + template auto consume_Windows_ApplicationModel_Store_IProductLicense::IsActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductLicense)->get_IsActive(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Store_IProductLicense::ExpirationDate() const + template auto consume_Windows_ApplicationModel_Store_IProductLicense::ExpirationDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductLicense)->get_ExpirationDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_IProductLicenseWithFulfillment::IsConsumable() const + template auto consume_Windows_ApplicationModel_Store_IProductLicenseWithFulfillment::IsConsumable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductLicenseWithFulfillment)->get_IsConsumable(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductListing::ProductId() const + template auto consume_Windows_ApplicationModel_Store_IProductListing::ProductId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListing)->get_ProductId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductListing::FormattedPrice() const + template auto consume_Windows_ApplicationModel_Store_IProductListing::FormattedPrice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListing)->get_FormattedPrice(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductListing::Name() const + template auto consume_Windows_ApplicationModel_Store_IProductListing::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListing)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductListing2::FormattedBasePrice() const + template auto consume_Windows_ApplicationModel_Store_IProductListing2::FormattedBasePrice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListing2)->get_FormattedBasePrice(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Store_IProductListing2::SaleEndDate() const + template auto consume_Windows_ApplicationModel_Store_IProductListing2::SaleEndDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListing2)->get_SaleEndDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_IProductListing2::IsOnSale() const + template auto consume_Windows_ApplicationModel_Store_IProductListing2::IsOnSale() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListing2)->get_IsOnSale(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductListing2::CurrencyCode() const + template auto consume_Windows_ApplicationModel_Store_IProductListing2::CurrencyCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListing2)->get_CurrencyCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::ProductType) consume_Windows_ApplicationModel_Store_IProductListingWithConsumables::ProductType() const + template auto consume_Windows_ApplicationModel_Store_IProductListingWithConsumables::ProductType() const { winrt::Windows::ApplicationModel::Store::ProductType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListingWithConsumables)->get_ProductType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductListingWithMetadata::Description() const + template auto consume_Windows_ApplicationModel_Store_IProductListingWithMetadata::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListingWithMetadata)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_ApplicationModel_Store_IProductListingWithMetadata::Keywords() const + template auto consume_Windows_ApplicationModel_Store_IProductListingWithMetadata::Keywords() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListingWithMetadata)->get_Keywords(&value)); return winrt::Windows::Foundation::Collections::IIterable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::ProductType) consume_Windows_ApplicationModel_Store_IProductListingWithMetadata::ProductType() const + template auto consume_Windows_ApplicationModel_Store_IProductListingWithMetadata::ProductType() const { winrt::Windows::ApplicationModel::Store::ProductType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListingWithMetadata)->get_ProductType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductListingWithMetadata::Tag() const + template auto consume_Windows_ApplicationModel_Store_IProductListingWithMetadata::Tag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListingWithMetadata)->get_Tag(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Store_IProductListingWithMetadata::ImageUri() const + template auto consume_Windows_ApplicationModel_Store_IProductListingWithMetadata::ImageUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListingWithMetadata)->get_ImageUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties::Name() const + template auto consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductPurchaseDisplayProperties)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties::Name(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductPurchaseDisplayProperties)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties::Description() const + template auto consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductPurchaseDisplayProperties)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties::Description(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductPurchaseDisplayProperties)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties::Image() const + template auto consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties::Image() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductPurchaseDisplayProperties)->get_Image(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties::Image(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties::Image(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductPurchaseDisplayProperties)->put_Image(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties) consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayPropertiesFactory::CreateProductPurchaseDisplayProperties(param::hstring const& name) const + template auto consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayPropertiesFactory::CreateProductPurchaseDisplayProperties(param::hstring const& name) const { void* displayProperties{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductPurchaseDisplayPropertiesFactory)->CreateProductPurchaseDisplayProperties(*(void**)(&name), &displayProperties)); return winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties{ displayProperties, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::ProductPurchaseStatus) consume_Windows_ApplicationModel_Store_IPurchaseResults::Status() const + template auto consume_Windows_ApplicationModel_Store_IPurchaseResults::Status() const { winrt::Windows::ApplicationModel::Store::ProductPurchaseStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IPurchaseResults)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Store_IPurchaseResults::TransactionId() const + template auto consume_Windows_ApplicationModel_Store_IPurchaseResults::TransactionId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IPurchaseResults)->get_TransactionId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IPurchaseResults::ReceiptXml() const + template auto consume_Windows_ApplicationModel_Store_IPurchaseResults::ReceiptXml() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IPurchaseResults)->get_ReceiptXml(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IPurchaseResults::OfferId() const + template auto consume_Windows_ApplicationModel_Store_IPurchaseResults::OfferId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IPurchaseResults)->get_OfferId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IUnfulfilledConsumable::ProductId() const + template auto consume_Windows_ApplicationModel_Store_IUnfulfilledConsumable::ProductId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IUnfulfilledConsumable)->get_ProductId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Store_IUnfulfilledConsumable::TransactionId() const + template auto consume_Windows_ApplicationModel_Store_IUnfulfilledConsumable::TransactionId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IUnfulfilledConsumable)->get_TransactionId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IUnfulfilledConsumable::OfferId() const + template auto consume_Windows_ApplicationModel_Store_IUnfulfilledConsumable::OfferId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IUnfulfilledConsumable)->get_OfferId(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserActivities.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserActivities.Core.h index 105a26d6..ac746e4d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserActivities.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserActivities.Core.h @@ -1,24 +1,24 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserActivities_Core_H #define WINRT_Windows_ApplicationModel_UserActivities_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.UserActivities.h" #include "winrt/impl/Windows.ApplicationModel.UserActivities.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.ApplicationModel.UserActivities.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivitySession) consume_Windows_ApplicationModel_UserActivities_Core_ICoreUserActivityManagerStatics::CreateUserActivitySessionInBackground(winrt::Windows::ApplicationModel::UserActivities::UserActivity const& activity) const + template auto consume_Windows_ApplicationModel_UserActivities_Core_ICoreUserActivityManagerStatics::CreateUserActivitySessionInBackground(winrt::Windows::ApplicationModel::UserActivities::UserActivity const& activity) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::Core::ICoreUserActivityManagerStatics)->CreateUserActivitySessionInBackground(*(void**)(&activity), &result)); return winrt::Windows::ApplicationModel::UserActivities::UserActivitySession{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserActivities_Core_ICoreUserActivityManagerStatics::DeleteUserActivitySessionsInTimeRangeAsync(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel const& channel, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime) const + template auto consume_Windows_ApplicationModel_UserActivities_Core_ICoreUserActivityManagerStatics::DeleteUserActivitySessionsInTimeRangeAsync(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel const& channel, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::Core::ICoreUserActivityManagerStatics)->DeleteUserActivitySessionsInTimeRangeAsync(*(void**)(&channel), impl::bind_in(startTime), impl::bind_in(endTime), &operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserActivities.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserActivities.h index 00cae3bd..3a0b8c71 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserActivities.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserActivities.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserActivities_H #define WINRT_Windows_ApplicationModel_UserActivities_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -16,343 +16,343 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.UserActivities.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityState) consume_Windows_ApplicationModel_UserActivities_IUserActivity::State() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity::State() const { winrt::Windows::ApplicationModel::UserActivities::UserActivityState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivity::ActivityId() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity::ActivityId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->get_ActivityId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityVisualElements) consume_Windows_ApplicationModel_UserActivities_IUserActivity::VisualElements() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity::VisualElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->get_VisualElements(&value)); return winrt::Windows::ApplicationModel::UserActivities::UserActivityVisualElements{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_UserActivities_IUserActivity::ContentUri() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity::ContentUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->get_ContentUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivity::ContentUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity::ContentUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->put_ContentUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivity::ContentType() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity::ContentType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->get_ContentType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivity::ContentType(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity::ContentType(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->put_ContentType(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_UserActivities_IUserActivity::FallbackUri() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity::FallbackUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->get_FallbackUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivity::FallbackUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity::FallbackUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->put_FallbackUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_UserActivities_IUserActivity::ActivationUri() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity::ActivationUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->get_ActivationUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivity::ActivationUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity::ActivationUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->put_ActivationUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo) consume_Windows_ApplicationModel_UserActivities_IUserActivity::ContentInfo() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity::ContentInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->get_ContentInfo(&value)); return winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivity::ContentInfo(winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo const& value) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity::ContentInfo(winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->put_ContentInfo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserActivities_IUserActivity::SaveAsync() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity::SaveAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->SaveAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivitySession) consume_Windows_ApplicationModel_UserActivities_IUserActivity::CreateSession() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity::CreateSession() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->CreateSession(&result)); return winrt::Windows::ApplicationModel::UserActivities::UserActivitySession{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivity2::ToJson() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity2::ToJson() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity2)->ToJson(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserActivities_IUserActivity3::IsRoamable() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity3::IsRoamable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity3)->get_IsRoamable(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivity3::IsRoamable(bool value) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivity3::IsRoamable(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity3)->put_IsRoamable(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution::IconUri() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution::IconUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityAttribution)->get_IconUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution::IconUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution::IconUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityAttribution)->put_IconUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution::AlternateText() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution::AlternateText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityAttribution)->get_AlternateText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution::AlternateText(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution::AlternateText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityAttribution)->put_AlternateText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution::AddImageQuery() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution::AddImageQuery() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityAttribution)->get_AddImageQuery(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution::AddImageQuery(bool value) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution::AddImageQuery(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityAttribution)->put_AddImageQuery(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution) consume_Windows_ApplicationModel_UserActivities_IUserActivityAttributionFactory::CreateWithUri(winrt::Windows::Foundation::Uri const& iconUri) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityAttributionFactory::CreateWithUri(winrt::Windows::Foundation::Uri const& iconUri) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityAttributionFactory)->CreateWithUri(*(void**)(&iconUri), &value)); return winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel::GetOrCreateUserActivityAsync(param::hstring const& activityId) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel::GetOrCreateUserActivityAsync(param::hstring const& activityId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannel)->GetOrCreateUserActivityAsync(*(void**)(&activityId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel::DeleteActivityAsync(param::hstring const& activityId) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel::DeleteActivityAsync(param::hstring const& activityId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannel)->DeleteActivityAsync(*(void**)(&activityId), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel::DeleteAllActivitiesAsync() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel::DeleteAllActivitiesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannel)->DeleteAllActivitiesAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel2::GetRecentUserActivitiesAsync(int32_t maxUniqueActivities) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel2::GetRecentUserActivitiesAsync(int32_t maxUniqueActivities) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannel2)->GetRecentUserActivitiesAsync(maxUniqueActivities, &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel2::GetSessionHistoryItemsForUserActivityAsync(param::hstring const& activityId, winrt::Windows::Foundation::DateTime const& startTime) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel2::GetSessionHistoryItemsForUserActivityAsync(param::hstring const& activityId, winrt::Windows::Foundation::DateTime const& startTime) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannel2)->GetSessionHistoryItemsForUserActivityAsync(*(void**)(&activityId), impl::bind_in(startTime), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics::GetDefault() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannelStatics)->GetDefault(&result)); return winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics2::DisableAutoSessionCreation() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics2::DisableAutoSessionCreation() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannelStatics2)->DisableAutoSessionCreation()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics2::TryGetForWebAccount(winrt::Windows::Security::Credentials::WebAccount const& account) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics2::TryGetForWebAccount(winrt::Windows::Security::Credentials::WebAccount const& account) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannelStatics2)->TryGetForWebAccount(*(void**)(&account), &result)); return winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics3::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics3::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannelStatics3)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivityContentInfo::ToJson() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityContentInfo::ToJson() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo)->ToJson(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityContentInfo) consume_Windows_ApplicationModel_UserActivities_IUserActivityContentInfoStatics::FromJson(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityContentInfoStatics::FromJson(param::hstring const& value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfoStatics)->FromJson(*(void**)(&value), &result)); return winrt::Windows::ApplicationModel::UserActivities::UserActivityContentInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivity) consume_Windows_ApplicationModel_UserActivities_IUserActivityFactory::CreateWithActivityId(param::hstring const& activityId) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityFactory::CreateWithActivityId(param::hstring const& activityId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityFactory)->CreateWithActivityId(*(void**)(&activityId), &value)); return winrt::Windows::ApplicationModel::UserActivities::UserActivity{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityRequest::SetUserActivity(winrt::Windows::ApplicationModel::UserActivities::UserActivity const& activity) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityRequest::SetUserActivity(winrt::Windows::ApplicationModel::UserActivities::UserActivity const& activity) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequest)->SetUserActivity(*(void**)(&activity))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager::UserActivityRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager::UserActivityRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestManager)->add_UserActivityRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager::UserActivityRequested_revoker consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager::UserActivityRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager::UserActivityRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UserActivityRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager::UserActivityRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager::UserActivityRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestManager)->remove_UserActivityRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestManager) consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManagerStatics::GetForCurrentView() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManagerStatics::GetForCurrentView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestManagerStatics)->GetForCurrentView(&result)); return winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityRequest) consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestedEventArgs::Request() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestedEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::UserActivities::UserActivityRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestedEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivitySession::ActivityId() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivitySession::ActivityId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivitySession)->get_ActivityId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivity) consume_Windows_ApplicationModel_UserActivities_IUserActivitySessionHistoryItem::UserActivity() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivitySessionHistoryItem::UserActivity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivitySessionHistoryItem)->get_UserActivity(&value)); return winrt::Windows::ApplicationModel::UserActivities::UserActivity{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_UserActivities_IUserActivitySessionHistoryItem::StartTime() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivitySessionHistoryItem::StartTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivitySessionHistoryItem)->get_StartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_UserActivities_IUserActivitySessionHistoryItem::EndTime() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivitySessionHistoryItem::EndTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivitySessionHistoryItem)->get_EndTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivity) consume_Windows_ApplicationModel_UserActivities_IUserActivityStatics::TryParseFromJson(param::hstring const& json) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityStatics::TryParseFromJson(param::hstring const& json) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityStatics)->TryParseFromJson(*(void**)(&json), &result)); return winrt::Windows::ApplicationModel::UserActivities::UserActivity{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_UserActivities_IUserActivityStatics::TryParseFromJsonArray(param::hstring const& json) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityStatics::TryParseFromJsonArray(param::hstring const& json) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityStatics)->TryParseFromJsonArray(*(void**)(&json), &result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivityStatics::ToJsonArray(param::iterable const& activities) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityStatics::ToJsonArray(param::iterable const& activities) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityStatics)->ToJsonArray(*(void**)(&activities), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::DisplayText() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::DisplayText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements)->get_DisplayText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::DisplayText(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::DisplayText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements)->put_DisplayText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::Description() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::Description(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::BackgroundColor() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::BackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements)->get_BackgroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::BackgroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::BackgroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements)->put_BackgroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::Attribution() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::Attribution() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements)->get_Attribution(&value)); return winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::Attribution(winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution const& value) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::Attribution(winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements)->put_Attribution(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::Content(winrt::Windows::UI::Shell::IAdaptiveCard const& value) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::Content(winrt::Windows::UI::Shell::IAdaptiveCard const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements)->put_Content(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Shell::IAdaptiveCard) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::Content() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements)->get_Content(&value)); return winrt::Windows::UI::Shell::IAdaptiveCard{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements2::AttributionDisplayText() const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements2::AttributionDisplayText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements2)->get_AttributionDisplayText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements2::AttributionDisplayText(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements2::AttributionDisplayText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements2)->put_AttributionDisplayText(*(void**)(&value))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.Provider.h index ddae502b..5cefdabd 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.Provider.h @@ -1,74 +1,74 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_Provider_H #define WINRT_Windows_ApplicationModel_UserDataAccounts_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.UserDataAccounts.h" #include "winrt/impl/Windows.ApplicationModel.UserDataAccounts.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountPartnerAccountInfo::DisplayName() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountPartnerAccountInfo::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountPartnerAccountInfo)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountPartnerAccountInfo::Priority() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountPartnerAccountInfo::Priority() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountPartnerAccountInfo)->get_Priority(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::UserDataAccountProviderPartnerAccountKind) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountPartnerAccountInfo::AccountKind() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountPartnerAccountInfo::AccountKind() const { winrt::Windows::ApplicationModel::UserDataAccounts::Provider::UserDataAccountProviderPartnerAccountKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountPartnerAccountInfo)->get_AccountKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountContentKinds) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderAddAccountOperation::ContentKinds() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderAddAccountOperation::ContentKinds() const { winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountContentKinds value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderAddAccountOperation)->get_ContentKinds(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderAddAccountOperation::PartnerAccountInfos() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderAddAccountOperation::PartnerAccountInfos() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderAddAccountOperation)->get_PartnerAccountInfos(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderAddAccountOperation::ReportCompleted(param::hstring const& userDataAccountId) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderAddAccountOperation::ReportCompleted(param::hstring const& userDataAccountId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderAddAccountOperation)->ReportCompleted(*(void**)(&userDataAccountId))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::UserDataAccountProviderOperationKind) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderOperation::Kind() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderOperation::Kind() const { winrt::Windows::ApplicationModel::UserDataAccounts::Provider::UserDataAccountProviderOperationKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderOperation)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderResolveErrorsOperation::UserDataAccountId() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderResolveErrorsOperation::UserDataAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderResolveErrorsOperation)->get_UserDataAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderResolveErrorsOperation::ReportCompleted() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderResolveErrorsOperation::ReportCompleted() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderResolveErrorsOperation)->ReportCompleted()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderSettingsOperation::UserDataAccountId() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderSettingsOperation::UserDataAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderSettingsOperation)->get_UserDataAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderSettingsOperation::ReportCompleted() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderSettingsOperation::ReportCompleted() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderSettingsOperation)->ReportCompleted()); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.SystemAccess.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.SystemAccess.h index 2be506fb..5e060230 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.SystemAccess.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.SystemAccess.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_SystemAccess_H #define WINRT_Windows_ApplicationModel_UserDataAccounts_SystemAccess_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.UserDataAccounts.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,473 +13,473 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::AccountName() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::AccountName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_AccountName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::AccountName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::AccountName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_AccountName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::DeviceAccountTypeId() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::DeviceAccountTypeId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_DeviceAccountTypeId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::DeviceAccountTypeId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::DeviceAccountTypeId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_DeviceAccountTypeId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountServerType) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::ServerType() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::ServerType() const { winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountServerType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_ServerType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::ServerType(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountServerType const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::ServerType(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountServerType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_ServerType(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::EmailAddress() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::EmailAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_EmailAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::EmailAddress(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::EmailAddress(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_EmailAddress(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::Domain() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::Domain() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_Domain(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::Domain(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::Domain(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_Domain(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::EmailSyncEnabled() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::EmailSyncEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_EmailSyncEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::EmailSyncEnabled(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::EmailSyncEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_EmailSyncEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::ContactsSyncEnabled() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::ContactsSyncEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_ContactsSyncEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::ContactsSyncEnabled(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::ContactsSyncEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_ContactsSyncEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::CalendarSyncEnabled() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::CalendarSyncEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_CalendarSyncEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::CalendarSyncEnabled(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::CalendarSyncEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_CalendarSyncEnabled(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::IncomingServerAddress() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::IncomingServerAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_IncomingServerAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::IncomingServerAddress(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::IncomingServerAddress(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_IncomingServerAddress(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::IncomingServerPort() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::IncomingServerPort() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_IncomingServerPort(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::IncomingServerPort(int32_t value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::IncomingServerPort(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_IncomingServerPort(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::IncomingServerRequiresSsl() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::IncomingServerRequiresSsl() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_IncomingServerRequiresSsl(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::IncomingServerRequiresSsl(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::IncomingServerRequiresSsl(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_IncomingServerRequiresSsl(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::IncomingServerUsername() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::IncomingServerUsername() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_IncomingServerUsername(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::IncomingServerUsername(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::IncomingServerUsername(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_IncomingServerUsername(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::OutgoingServerAddress() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::OutgoingServerAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_OutgoingServerAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::OutgoingServerAddress(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::OutgoingServerAddress(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_OutgoingServerAddress(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::OutgoingServerPort() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::OutgoingServerPort() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_OutgoingServerPort(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::OutgoingServerPort(int32_t value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::OutgoingServerPort(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_OutgoingServerPort(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::OutgoingServerRequiresSsl() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::OutgoingServerRequiresSsl() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_OutgoingServerRequiresSsl(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::OutgoingServerRequiresSsl(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::OutgoingServerRequiresSsl(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_OutgoingServerRequiresSsl(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::OutgoingServerUsername() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::OutgoingServerUsername() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_OutgoingServerUsername(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::OutgoingServerUsername(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration::OutgoingServerUsername(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_OutgoingServerUsername(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IncomingServerCredential() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IncomingServerCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_IncomingServerCredential(&value)); return winrt::Windows::Security::Credentials::PasswordCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IncomingServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IncomingServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_IncomingServerCredential(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::OutgoingServerCredential() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::OutgoingServerCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_OutgoingServerCredential(&value)); return winrt::Windows::Security::Credentials::PasswordCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::OutgoingServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::OutgoingServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_OutgoingServerCredential(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::OAuthRefreshToken() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::OAuthRefreshToken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_OAuthRefreshToken(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::OAuthRefreshToken(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::OAuthRefreshToken(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_OAuthRefreshToken(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsExternallyManaged() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsExternallyManaged() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_IsExternallyManaged(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsExternallyManaged(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsExternallyManaged(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_IsExternallyManaged(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountIconId) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AccountIconId() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AccountIconId() const { winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountIconId value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_AccountIconId(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AccountIconId(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountIconId const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AccountIconId(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountIconId const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_AccountIconId(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountAuthenticationType) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AuthenticationType() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AuthenticationType() const { winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountAuthenticationType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_AuthenticationType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AuthenticationType(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountAuthenticationType const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AuthenticationType(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountAuthenticationType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_AuthenticationType(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsSsoAuthenticationSupported() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsSsoAuthenticationSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_IsSsoAuthenticationSupported(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::SsoAccountId() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::SsoAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_SsoAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::SsoAccountId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::SsoAccountId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_SsoAccountId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AlwaysDownloadFullMessage() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AlwaysDownloadFullMessage() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_AlwaysDownloadFullMessage(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AlwaysDownloadFullMessage(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AlwaysDownloadFullMessage(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_AlwaysDownloadFullMessage(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::DoesPolicyAllowMailSync() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::DoesPolicyAllowMailSync() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_DoesPolicyAllowMailSync(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::SyncScheduleKind() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::SyncScheduleKind() const { winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_SyncScheduleKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::SyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::SyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_SyncScheduleKind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountMailAgeFilter) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::MailAgeFilter() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::MailAgeFilter() const { winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountMailAgeFilter value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_MailAgeFilter(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::MailAgeFilter(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountMailAgeFilter const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::MailAgeFilter(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountMailAgeFilter const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_MailAgeFilter(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsClientAuthenticationCertificateRequired() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsClientAuthenticationCertificateRequired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_IsClientAuthenticationCertificateRequired(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsClientAuthenticationCertificateRequired(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsClientAuthenticationCertificateRequired(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_IsClientAuthenticationCertificateRequired(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AutoSelectAuthenticationCertificate() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AutoSelectAuthenticationCertificate() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_AutoSelectAuthenticationCertificate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AutoSelectAuthenticationCertificate(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AutoSelectAuthenticationCertificate(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_AutoSelectAuthenticationCertificate(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AuthenticationCertificateId() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AuthenticationCertificateId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_AuthenticationCertificateId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AuthenticationCertificateId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::AuthenticationCertificateId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_AuthenticationCertificateId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CardDavSyncScheduleKind() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CardDavSyncScheduleKind() const { winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_CardDavSyncScheduleKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CardDavSyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CardDavSyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_CardDavSyncScheduleKind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CalDavSyncScheduleKind() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CalDavSyncScheduleKind() const { winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_CalDavSyncScheduleKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CalDavSyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CalDavSyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_CalDavSyncScheduleKind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CardDavServerUrl() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CardDavServerUrl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_CardDavServerUrl(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CardDavServerUrl(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CardDavServerUrl(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_CardDavServerUrl(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CardDavRequiresSsl() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CardDavRequiresSsl() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_CardDavRequiresSsl(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CardDavRequiresSsl(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CardDavRequiresSsl(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_CardDavRequiresSsl(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CalDavServerUrl() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CalDavServerUrl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_CalDavServerUrl(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CalDavServerUrl(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CalDavServerUrl(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_CalDavServerUrl(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CalDavRequiresSsl() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CalDavRequiresSsl() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_CalDavRequiresSsl(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CalDavRequiresSsl(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::CalDavRequiresSsl(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_CalDavRequiresSsl(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::WasModifiedByUser() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::WasModifiedByUser() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_WasModifiedByUser(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::WasModifiedByUser(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::WasModifiedByUser(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_WasModifiedByUser(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::WasIncomingServerCertificateHashConfirmed() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::WasIncomingServerCertificateHashConfirmed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_WasIncomingServerCertificateHashConfirmed(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::WasIncomingServerCertificateHashConfirmed(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::WasIncomingServerCertificateHashConfirmed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_WasIncomingServerCertificateHashConfirmed(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IncomingServerCertificateHash() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IncomingServerCertificateHash() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_IncomingServerCertificateHash(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IncomingServerCertificateHash(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IncomingServerCertificateHash(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_IncomingServerCertificateHash(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsOutgoingServerAuthenticationRequired() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsOutgoingServerAuthenticationRequired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_IsOutgoingServerAuthenticationRequired(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsOutgoingServerAuthenticationRequired(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsOutgoingServerAuthenticationRequired(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_IsOutgoingServerAuthenticationRequired(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsOutgoingServerAuthenticationEnabled() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsOutgoingServerAuthenticationEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_IsOutgoingServerAuthenticationEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsOutgoingServerAuthenticationEnabled(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsOutgoingServerAuthenticationEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_IsOutgoingServerAuthenticationEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::WasOutgoingServerCertificateHashConfirmed() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::WasOutgoingServerCertificateHashConfirmed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_WasOutgoingServerCertificateHashConfirmed(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::WasOutgoingServerCertificateHashConfirmed(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::WasOutgoingServerCertificateHashConfirmed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_WasOutgoingServerCertificateHashConfirmed(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::OutgoingServerCertificateHash() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::OutgoingServerCertificateHash() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_OutgoingServerCertificateHash(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::OutgoingServerCertificateHash(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::OutgoingServerCertificateHash(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_OutgoingServerCertificateHash(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsSyncScheduleManagedBySystem() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsSyncScheduleManagedBySystem() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_IsSyncScheduleManagedBySystem(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsSyncScheduleManagedBySystem(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2::IsSyncScheduleManagedBySystem(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_IsSyncScheduleManagedBySystem(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics::AddAndShowDeviceAccountsAsync(param::async_iterable const& accounts) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics::AddAndShowDeviceAccountsAsync(param::async_iterable const& accounts) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IUserDataAccountSystemAccessManagerStatics)->AddAndShowDeviceAccountsAsync(*(void**)(&accounts), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2::SuppressLocalAccountWithAccountAsync(param::hstring const& userDataAccountId) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2::SuppressLocalAccountWithAccountAsync(param::hstring const& userDataAccountId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IUserDataAccountSystemAccessManagerStatics2)->SuppressLocalAccountWithAccountAsync(*(void**)(&userDataAccountId), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2::CreateDeviceAccountAsync(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountConfiguration const& account) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2::CreateDeviceAccountAsync(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountConfiguration const& account) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IUserDataAccountSystemAccessManagerStatics2)->CreateDeviceAccountAsync(*(void**)(&account), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2::DeleteDeviceAccountAsync(param::hstring const& accountId) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2::DeleteDeviceAccountAsync(param::hstring const& accountId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IUserDataAccountSystemAccessManagerStatics2)->DeleteDeviceAccountAsync(*(void**)(&accountId), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2::GetDeviceAccountConfigurationAsync(param::hstring const& accountId) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2::GetDeviceAccountConfigurationAsync(param::hstring const& accountId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IUserDataAccountSystemAccessManagerStatics2)->GetDeviceAccountConfigurationAsync(*(void**)(&accountId), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.h index fc97f59e..f42938f4 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_H #define WINRT_Windows_ApplicationModel_UserDataAccounts_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.ApplicationModel.Appointments.2.h" #include "winrt/impl/Windows.ApplicationModel.Contacts.2.h" @@ -18,243 +18,243 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.UserDataAccounts.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::Id() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::UserDisplayName() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::UserDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->get_UserDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::UserDisplayName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::UserDisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->put_UserDisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountOtherAppReadAccess) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::OtherAppReadAccess() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::OtherAppReadAccess() const { winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountOtherAppReadAccess value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->get_OtherAppReadAccess(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::OtherAppReadAccess(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountOtherAppReadAccess const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::OtherAppReadAccess(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountOtherAppReadAccess const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->put_OtherAppReadAccess(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::Icon() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->get_Icon(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::DeviceAccountTypeId() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::DeviceAccountTypeId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->get_DeviceAccountTypeId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::PackageFamilyName() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::PackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->get_PackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::SaveAsync() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::SaveAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->SaveAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::DeleteAsync() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::DeleteAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->DeleteAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::FindAppointmentCalendarsAsync() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::FindAppointmentCalendarsAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->FindAppointmentCalendarsAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::FindEmailMailboxesAsync() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::FindEmailMailboxesAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->FindEmailMailboxesAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::FindContactListsAsync() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::FindContactListsAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->FindContactListsAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::FindContactAnnotationListsAsync() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount::FindContactAnnotationListsAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->FindContactAnnotationListsAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount2::EnterpriseId() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount2::EnterpriseId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount2)->get_EnterpriseId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount2::IsProtectedUnderLock() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount2::IsProtectedUnderLock() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount2)->get_IsProtectedUnderLock(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount3::ExplictReadAccessPackageFamilyNames() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount3::ExplictReadAccessPackageFamilyNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount3)->get_ExplictReadAccessPackageFamilyNames(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount3::DisplayName() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount3::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount3)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount3::DisplayName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount3::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount3)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4::CanShowCreateContactGroup() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4::CanShowCreateContactGroup() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount4)->get_CanShowCreateContactGroup(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4::CanShowCreateContactGroup(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4::CanShowCreateContactGroup(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount4)->put_CanShowCreateContactGroup(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4::ProviderProperties() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4::ProviderProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount4)->get_ProviderProperties(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4::FindUserDataTaskListsAsync() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4::FindUserDataTaskListsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount4)->FindUserDataTaskListsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4::FindContactGroupsAsync() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4::FindContactGroupsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount4)->FindContactGroupsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4::TryShowCreateContactGroupAsync() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4::TryShowCreateContactGroupAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount4)->TryShowCreateContactGroupAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4::IsProtectedUnderLock(bool value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4::IsProtectedUnderLock(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount4)->put_IsProtectedUnderLock(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4::Icon(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4::Icon(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount4)->put_Icon(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerForUser::RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType const& storeAccessType) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerForUser::RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType const& storeAccessType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountManagerForUser)->RequestStoreAsync(static_cast(storeAccessType), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerForUser::User() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerForUser::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountManagerForUser)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics::RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType const& storeAccessType) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics::RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType const& storeAccessType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountManagerStatics)->RequestStoreAsync(static_cast(storeAccessType), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics::ShowAddAccountAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountContentKinds const& contentKinds) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics::ShowAddAccountAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountContentKinds const& contentKinds) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountManagerStatics)->ShowAddAccountAsync(static_cast(contentKinds), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics::ShowAccountSettingsAsync(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics::ShowAccountSettingsAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountManagerStatics)->ShowAccountSettingsAsync(*(void**)(&id), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics::ShowAccountErrorResolverAsync(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics::ShowAccountErrorResolverAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountManagerStatics)->ShowAccountErrorResolverAsync(*(void**)(&id), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountManagerForUser) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics2::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics2::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountManagerStatics2)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountManagerForUser{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore::FindAccountsAsync() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore::FindAccountsAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore)->FindAccountsAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore::GetAccountAsync(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore::GetAccountAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore)->GetAccountAsync(*(void**)(&id), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore::CreateAccountAsync(param::hstring const& userDisplayName) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore::CreateAccountAsync(param::hstring const& userDisplayName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore)->CreateAccountAsync(*(void**)(&userDisplayName), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2::CreateAccountAsync(param::hstring const& userDisplayName, param::hstring const& packageRelativeAppId) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2::CreateAccountAsync(param::hstring const& userDisplayName, param::hstring const& packageRelativeAppId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore2)->CreateAccountWithPackageRelativeAppIdAsync(*(void**)(&userDisplayName), *(void**)(&packageRelativeAppId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2::StoreChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2::StoreChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore2)->add_StoreChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2::StoreChanged_revoker consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2::StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2::StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StoreChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2::StoreChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2::StoreChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore2)->remove_StoreChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore3::CreateAccountAsync(param::hstring const& userDisplayName, param::hstring const& packageRelativeAppId, param::hstring const& enterpriseId) const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore3::CreateAccountAsync(param::hstring const& userDisplayName, param::hstring const& packageRelativeAppId, param::hstring const& enterpriseId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore3)->CreateAccountWithPackageRelativeAppIdAndEnterpriseIdAsync(*(void**)(&userDisplayName), *(void**)(&packageRelativeAppId), *(void**)(&enterpriseId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStoreChangedEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStoreChangedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStoreChangedEventArgs)->GetDeferral(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataTasks.DataProvider.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataTasks.DataProvider.h index 75055ca7..c7ff4cd3 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataTasks.DataProvider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataTasks.DataProvider.h @@ -1,266 +1,266 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataTasks_DataProvider_H #define WINRT_Windows_ApplicationModel_UserDataTasks_DataProvider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.UserDataTasks.h" #include "winrt/impl/Windows.ApplicationModel.UserDataTasks.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::CreateOrUpdateTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::CreateOrUpdateTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->add_CreateOrUpdateTaskRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::CreateOrUpdateTaskRequested_revoker consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::CreateOrUpdateTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::CreateOrUpdateTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CreateOrUpdateTaskRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::CreateOrUpdateTaskRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::CreateOrUpdateTaskRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->remove_CreateOrUpdateTaskRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::SyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::SyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->add_SyncRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::SyncRequested_revoker consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SyncRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::SyncRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::SyncRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->remove_SyncRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::SkipOccurrenceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::SkipOccurrenceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->add_SkipOccurrenceRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::SkipOccurrenceRequested_revoker consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::SkipOccurrenceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::SkipOccurrenceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SkipOccurrenceRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::SkipOccurrenceRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::SkipOccurrenceRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->remove_SkipOccurrenceRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::CompleteTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::CompleteTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->add_CompleteTaskRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::CompleteTaskRequested_revoker consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::CompleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::CompleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CompleteTaskRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::CompleteTaskRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::CompleteTaskRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->remove_CompleteTaskRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::DeleteTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::DeleteTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->add_DeleteTaskRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::DeleteTaskRequested_revoker consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::DeleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::DeleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DeleteTaskRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::DeleteTaskRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::DeleteTaskRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->remove_DeleteTaskRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::Start() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->Start()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderTriggerDetails::Connection() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderTriggerDetails::Connection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderTriggerDetails)->get_Connection(&value)); return winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest::TaskListId() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest::TaskListId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCompleteTaskRequest)->get_TaskListId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest::TaskId() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest::TaskId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCompleteTaskRequest)->get_TaskId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest::ReportCompletedAsync(param::hstring const& completedTaskId) const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest::ReportCompletedAsync(param::hstring const& completedTaskId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCompleteTaskRequest)->ReportCompletedAsync(*(void**)(&completedTaskId), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCompleteTaskRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCompleteTaskRequest) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCompleteTaskRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCompleteTaskRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCompleteTaskRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest::TaskListId() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest::TaskListId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCreateOrUpdateTaskRequest)->get_TaskListId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest::Task() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest::Task() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCreateOrUpdateTaskRequest)->get_Task(&value)); return winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest::ReportCompletedAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& createdOrUpdatedUserDataTask) const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest::ReportCompletedAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& createdOrUpdatedUserDataTask) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCreateOrUpdateTaskRequest)->ReportCompletedAsync(*(void**)(&createdOrUpdatedUserDataTask), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCreateOrUpdateTaskRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCreateOrUpdateTaskRequest) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCreateOrUpdateTaskRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCreateOrUpdateTaskRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCreateOrUpdateTaskRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest::TaskListId() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest::TaskListId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListDeleteTaskRequest)->get_TaskListId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest::TaskId() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest::TaskId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListDeleteTaskRequest)->get_TaskId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListDeleteTaskRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListDeleteTaskRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListDeleteTaskRequest) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListDeleteTaskRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListDeleteTaskRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListDeleteTaskRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest::TaskListId() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest::TaskListId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSkipOccurrenceRequest)->get_TaskListId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest::TaskId() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest::TaskId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSkipOccurrenceRequest)->get_TaskId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSkipOccurrenceRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSkipOccurrenceRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSkipOccurrenceRequest) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSkipOccurrenceRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSkipOccurrenceRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSkipOccurrenceRequestEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequest::TaskListId() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequest::TaskListId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSyncManagerSyncRequest)->get_TaskListId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequest::ReportCompletedAsync() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSyncManagerSyncRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequest::ReportFailedAsync() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSyncManagerSyncRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSyncManagerSyncRequest) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequestEventArgs::Request() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSyncManagerSyncRequestEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSyncManagerSyncRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequestEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequestEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSyncManagerSyncRequestEventArgs)->GetDeferral(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataTasks.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataTasks.h index dbfff210..bb70c69d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataTasks.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataTasks.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataTasks_H #define WINRT_Windows_ApplicationModel_UserDataTasks_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,521 +13,521 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.UserDataTasks.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Id() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::ListId() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::ListId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_ListId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::RemoteId() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::RemoteId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_RemoteId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::RemoteId(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::RemoteId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_RemoteId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::CompletedDate() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::CompletedDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_CompletedDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::CompletedDate(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::CompletedDate(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_CompletedDate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Details() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Details() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_Details(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Details(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Details(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_Details(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::DetailsKind() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::DetailsKind() const { winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_DetailsKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::DetailsKind(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::DetailsKind(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_DetailsKind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::DueDate() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::DueDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_DueDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::DueDate(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::DueDate(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_DueDate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskKind) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Kind() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Kind() const { winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Priority() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Priority() const { winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_Priority(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Priority(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Priority(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_Priority(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceProperties) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::RecurrenceProperties() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::RecurrenceProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_RecurrenceProperties(&value)); return winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::RecurrenceProperties(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceProperties const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::RecurrenceProperties(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceProperties const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_RecurrenceProperties(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationProperties) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::RegenerationProperties() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::RegenerationProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_RegenerationProperties(&value)); return winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::RegenerationProperties(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationProperties const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::RegenerationProperties(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationProperties const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_RegenerationProperties(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Reminder() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Reminder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_Reminder(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Reminder(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Reminder(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_Reminder(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Sensitivity() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Sensitivity() const { winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_Sensitivity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Sensitivity(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Sensitivity(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_Sensitivity(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Subject() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Subject(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::Subject(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_Subject(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::StartDate() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::StartDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_StartDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::StartDate(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask::StartDate(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_StartDate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskBatch::Tasks() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskBatch::Tasks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskBatch)->get_Tasks(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::Id() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::UserDataAccountId() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::UserDataAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->get_UserDataAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::DisplayName() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::DisplayName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::SourceDisplayName() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::SourceDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->get_SourceDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::OtherAppReadAccess() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::OtherAppReadAccess() const { winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->get_OtherAppReadAccess(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::OtherAppReadAccess(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::OtherAppReadAccess(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->put_OtherAppReadAccess(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::OtherAppWriteAccess() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::OtherAppWriteAccess() const { winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->get_OtherAppWriteAccess(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::OtherAppWriteAccess(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::OtherAppWriteAccess(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->put_OtherAppWriteAccess(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListLimitedWriteOperations) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::LimitedWriteOperations() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::LimitedWriteOperations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->get_LimitedWriteOperations(&value)); return winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListLimitedWriteOperations{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncManager) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::SyncManager() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::SyncManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->get_SyncManager(&value)); return winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::RegisterSyncManagerAsync() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::RegisterSyncManagerAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->RegisterSyncManagerAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskReader) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::GetTaskReader() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::GetTaskReader() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->GetTaskReader(&result)); return winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskReader) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::GetTaskReader(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryOptions const& options) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::GetTaskReader(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryOptions const& options) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->GetTaskReaderWithOptions(*(void**)(&options), &value)); return winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::GetTaskAsync(param::hstring const& userDataTask) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::GetTaskAsync(param::hstring const& userDataTask) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->GetTaskAsync(*(void**)(&userDataTask), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::SaveTaskAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& userDataTask) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::SaveTaskAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& userDataTask) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->SaveTaskAsync(*(void**)(&userDataTask), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::DeleteTaskAsync(param::hstring const& userDataTaskId) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::DeleteTaskAsync(param::hstring const& userDataTaskId) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->DeleteTaskAsync(*(void**)(&userDataTaskId), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::DeleteAsync() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::DeleteAsync() const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->DeleteAsync(&asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::SaveAsync() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList::SaveAsync() const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->SaveAsync(&asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations::TryCompleteTaskAsync(param::hstring const& userDataTaskId) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations::TryCompleteTaskAsync(param::hstring const& userDataTaskId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListLimitedWriteOperations)->TryCompleteTaskAsync(*(void**)(&userDataTaskId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations::TryCreateOrUpdateTaskAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& userDataTask) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations::TryCreateOrUpdateTaskAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& userDataTask) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListLimitedWriteOperations)->TryCreateOrUpdateTaskAsync(*(void**)(&userDataTask), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations::TryDeleteTaskAsync(param::hstring const& userDataTaskId) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations::TryDeleteTaskAsync(param::hstring const& userDataTaskId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListLimitedWriteOperations)->TryDeleteTaskAsync(*(void**)(&userDataTaskId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations::TrySkipOccurrenceAsync(param::hstring const& userDataTaskId) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations::TrySkipOccurrenceAsync(param::hstring const& userDataTaskId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListLimitedWriteOperations)->TrySkipOccurrenceAsync(*(void**)(&userDataTaskId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::LastAttemptedSyncTime() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::LastAttemptedSyncTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager)->get_LastAttemptedSyncTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager)->put_LastAttemptedSyncTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::LastSuccessfulSyncTime() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::LastSuccessfulSyncTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager)->get_LastSuccessfulSyncTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager)->put_LastSuccessfulSyncTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::Status() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::Status() const { winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::Status(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::Status(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager)->put_Status(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::SyncAsync() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::SyncAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager)->SyncAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager)->add_SyncStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::SyncStatusChanged_revoker consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SyncStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::SyncStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager::SyncStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager)->remove_SyncStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManager::RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskStoreAccessType const& accessType) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManager::RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskStoreAccessType const& accessType) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskManager)->RequestStoreAsync(static_cast(accessType), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManager::User() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManager::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskManager)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskManager) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManagerStatics::GetDefault() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManagerStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskManagerStatics)->GetDefault(&result)); return winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskManager) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManagerStatics::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManagerStatics::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskManagerStatics)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions::SortProperty() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions::SortProperty() const { winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskQueryOptions)->get_SortProperty(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions::SortProperty(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions::SortProperty(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskQueryOptions)->put_SortProperty(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions::Kind() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions::Kind() const { winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskQueryOptions)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions::Kind(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions::Kind(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskQueryOptions)->put_Kind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskReader::ReadBatchAsync() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskReader::ReadBatchAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskReader)->ReadBatchAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Unit() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Unit() const { winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->get_Unit(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Unit(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Unit(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->put_Unit(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Occurrences() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Occurrences() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->get_Occurrences(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Occurrences(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Occurrences(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->put_Occurrences(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Until() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Until() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->get_Until(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Until(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Until(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->put_Until(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Interval() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Interval() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->get_Interval(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Interval(int32_t value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Interval(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->put_Interval(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::DaysOfWeek() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::DaysOfWeek() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->get_DaysOfWeek(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::DaysOfWeek(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::DaysOfWeek(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->put_DaysOfWeek(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::WeekOfMonth() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::WeekOfMonth() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->get_WeekOfMonth(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::WeekOfMonth(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::WeekOfMonth(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->put_WeekOfMonth(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Month() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Month() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->get_Month(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Month(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Month(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->put_Month(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Day() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Day() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->get_Day(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Day(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties::Day(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->put_Day(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties::Unit() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties::Unit() const { winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties)->get_Unit(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties::Unit(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties::Unit(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties)->put_Unit(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties::Occurrences() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties::Occurrences() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties)->get_Occurrences(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties::Occurrences(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties::Occurrences(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties)->put_Occurrences(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties::Until() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties::Until() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties)->get_Until(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties::Until(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties::Until(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties)->put_Until(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties::Interval() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties::Interval() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties)->get_Interval(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties::Interval(int32_t value) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties::Interval(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties)->put_Interval(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore::CreateListAsync(param::hstring const& name) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore::CreateListAsync(param::hstring const& name) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskStore)->CreateListAsync(*(void**)(&name), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore::CreateListAsync(param::hstring const& name, param::hstring const& userDataAccountId) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore::CreateListAsync(param::hstring const& name, param::hstring const& userDataAccountId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskStore)->CreateListInAccountAsync(*(void**)(&name), *(void**)(&userDataAccountId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore::FindListsAsync() const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore::FindListsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskStore)->FindListsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore::GetListAsync(param::hstring const& taskListId) const + template auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore::GetListAsync(param::hstring const& taskListId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskStore)->GetListAsync(*(void**)(&taskListId), &operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.VoiceCommands.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.VoiceCommands.h index 363790b8..f7ba5af4 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.VoiceCommands.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.VoiceCommands.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_VoiceCommands_H #define WINRT_Windows_ApplicationModel_VoiceCommands_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.ApplicationModel.AppService.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -16,303 +16,303 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.VoiceCommands.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommand::CommandName() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommand::CommandName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommand)->get_CommandName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView>) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommand::Properties() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommand::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommand)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommand::SpeechRecognitionResult() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommand::SpeechRecognitionResult() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommand)->get_SpeechRecognitionResult(&value)); return winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandCompletionReason) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandCompletedEventArgs::Reason() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandCompletedEventArgs::Reason() const { winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandCompletionReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandCompletedEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandConfirmationResult::Confirmed() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandConfirmationResult::Confirmed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandConfirmationResult)->get_Confirmed(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::Title() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::Title(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::TextLine1() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::TextLine1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->get_TextLine1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::TextLine1(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::TextLine1(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->put_TextLine1(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::TextLine2() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::TextLine2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->get_TextLine2(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::TextLine2(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::TextLine2(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->put_TextLine2(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::TextLine3() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::TextLine3() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->get_TextLine3(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::TextLine3(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::TextLine3(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->put_TextLine3(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::Image() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::Image() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->get_Image(&value)); return winrt::Windows::Storage::IStorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::Image(winrt::Windows::Storage::IStorageFile const& value) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::Image(winrt::Windows::Storage::IStorageFile const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->put_Image(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::AppContext() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::AppContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->get_AppContext(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::AppContext(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::AppContext(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->put_AppContext(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::AppLaunchArgument() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::AppLaunchArgument() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->get_AppLaunchArgument(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::AppLaunchArgument(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::AppLaunchArgument(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->put_AppLaunchArgument(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTileType) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::ContentTileType() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::ContentTileType() const { winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTileType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->get_ContentTileType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::ContentTileType(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTileType const& value) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile::ContentTileType(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTileType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->put_ContentTileType(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinition::Language() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinition::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandDefinition)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinition::Name() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinition::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandDefinition)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinition::SetPhraseListAsync(param::hstring const& phraseListName, param::async_iterable const& phraseList) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinition::SetPhraseListAsync(param::hstring const& phraseListName, param::async_iterable const& phraseList) const { void* updateAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandDefinition)->SetPhraseListAsync(*(void**)(&phraseListName), *(void**)(&phraseList), &updateAction)); return winrt::Windows::Foundation::IAsyncAction{ updateAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinitionManagerStatics::InstallCommandDefinitionsFromStorageFileAsync(winrt::Windows::Storage::StorageFile const& file) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinitionManagerStatics::InstallCommandDefinitionsFromStorageFileAsync(winrt::Windows::Storage::StorageFile const& file) const { void* installAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandDefinitionManagerStatics)->InstallCommandDefinitionsFromStorageFileAsync(*(void**)(&file), &installAction)); return winrt::Windows::Foundation::IAsyncAction{ installAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinitionManagerStatics::InstalledCommandDefinitions() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinitionManagerStatics::InstalledCommandDefinitions() const { void* voiceCommandDefinitions{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandDefinitionManagerStatics)->get_InstalledCommandDefinitions(&voiceCommandDefinitions)); return winrt::Windows::Foundation::Collections::IMapView{ voiceCommandDefinitions, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDisambiguationResult::SelectedItem() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDisambiguationResult::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandDisambiguationResult)->get_SelectedItem(&value)); return winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse::Message() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponse)->get_Message(&value)); return winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse::Message(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& value) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse::Message(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponse)->put_Message(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse::RepeatMessage() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse::RepeatMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponse)->get_RepeatMessage(&value)); return winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse::RepeatMessage(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& value) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse::RepeatMessage(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponse)->put_RepeatMessage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse::AppLaunchArgument() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse::AppLaunchArgument() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponse)->get_AppLaunchArgument(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse::AppLaunchArgument(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse::AppLaunchArgument(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponse)->put_AppLaunchArgument(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse::VoiceCommandContentTiles() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse::VoiceCommandContentTiles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponse)->get_VoiceCommandContentTiles(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics::MaxSupportedVoiceCommandContentTiles() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics::MaxSupportedVoiceCommandContentTiles() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponseStatics)->get_MaxSupportedVoiceCommandContentTiles(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics::CreateResponse(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& userMessage) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics::CreateResponse(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& userMessage) const { void* response{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponseStatics)->CreateResponse(*(void**)(&userMessage), &response)); return winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse{ response, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics::CreateResponse(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, param::iterable const& contentTiles) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics::CreateResponse(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, param::iterable const& contentTiles) const { void* response{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponseStatics)->CreateResponseWithTiles(*(void**)(&message), *(void**)(&contentTiles), &response)); return winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse{ response, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics::CreateResponseForPrompt(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& repeatMessage) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics::CreateResponseForPrompt(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& repeatMessage) const { void* response{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponseStatics)->CreateResponseForPrompt(*(void**)(&message), *(void**)(&repeatMessage), &response)); return winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse{ response, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics::CreateResponseForPrompt(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& repeatMessage, param::iterable const& contentTiles) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics::CreateResponseForPrompt(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& repeatMessage, param::iterable const& contentTiles) const { void* response{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponseStatics)->CreateResponseForPromptWithTiles(*(void**)(&message), *(void**)(&repeatMessage), *(void**)(&contentTiles), &response)); return winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse{ response, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::GetVoiceCommandAsync() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::GetVoiceCommandAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection)->GetVoiceCommandAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::RequestConfirmationAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::RequestConfirmationAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection)->RequestConfirmationAsync(*(void**)(&response), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::RequestDisambiguationAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::RequestDisambiguationAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection)->RequestDisambiguationAsync(*(void**)(&response), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::ReportProgressAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::ReportProgressAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection)->ReportProgressAsync(*(void**)(&response), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::ReportSuccessAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::ReportSuccessAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection)->ReportSuccessAsync(*(void**)(&response), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::ReportFailureAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::ReportFailureAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection)->ReportFailureAsync(*(void**)(&response), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::RequestAppLaunchAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::RequestAppLaunchAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection)->RequestAppLaunchAsync(*(void**)(&response), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::Language() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::Language() const { void* language{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection)->get_Language(&language)); return winrt::Windows::Globalization::Language{ language, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::VoiceCommandCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::VoiceCommandCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection)->add_VoiceCommandCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::VoiceCommandCompleted_revoker consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::VoiceCommandCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::VoiceCommandCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, VoiceCommandCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::VoiceCommandCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection::VoiceCommandCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection)->remove_VoiceCommandCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandServiceConnection) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnectionStatics::FromAppServiceTriggerDetails(winrt::Windows::ApplicationModel::AppService::AppServiceTriggerDetails const& triggerDetails) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnectionStatics::FromAppServiceTriggerDetails(winrt::Windows::ApplicationModel::AppService::AppServiceTriggerDetails const& triggerDetails) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnectionStatics)->FromAppServiceTriggerDetails(*(void**)(&triggerDetails), &value)); return winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandServiceConnection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage::DisplayMessage() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage::DisplayMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandUserMessage)->get_DisplayMessage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage::DisplayMessage(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage::DisplayMessage(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandUserMessage)->put_DisplayMessage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage::SpokenMessage() const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage::SpokenMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandUserMessage)->get_SpokenMessage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage::SpokenMessage(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage::SpokenMessage(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandUserMessage)->put_SpokenMessage(*(void**)(&value))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Wallet.System.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Wallet.System.h index ea912d75..7c6b4564 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Wallet.System.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Wallet.System.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Wallet_System_H #define WINRT_Windows_ApplicationModel_Wallet_System_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.Wallet.h" #include "winrt/impl/Windows.ApplicationModel.Wallet.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -14,51 +14,51 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Wallet.System.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore::GetItemsAsync() const + template auto consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore::GetItemsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::System::IWalletItemSystemStore)->GetItemsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore::DeleteAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const + template auto consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore::DeleteAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::System::IWalletItemSystemStore)->DeleteAsync(*(void**)(&item), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore::ImportItemAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const + template auto consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore::ImportItemAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::System::IWalletItemSystemStore)->ImportItemAsync(*(void**)(&stream), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::System::WalletItemAppAssociation) consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore::GetAppStatusForItem(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const + template auto consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore::GetAppStatusForItem(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const { winrt::Windows::ApplicationModel::Wallet::System::WalletItemAppAssociation result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::System::IWalletItemSystemStore)->GetAppStatusForItem(*(void**)(&item), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore::LaunchAppForItemAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const + template auto consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore::LaunchAppForItemAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::System::IWalletItemSystemStore)->LaunchAppForItemAsync(*(void**)(&item), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2::ItemsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2::ItemsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::System::IWalletItemSystemStore2)->add_ItemsChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2::ItemsChanged_revoker consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2::ItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2::ItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2::ItemsChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2::ItemsChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::System::IWalletItemSystemStore2)->remove_ItemsChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Wallet_System_IWalletManagerSystemStatics::RequestStoreAsync() const + template auto consume_Windows_ApplicationModel_Wallet_System_IWalletManagerSystemStatics::RequestStoreAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::System::IWalletManagerSystemStatics)->RequestStoreAsync(&operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Wallet.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Wallet.h index 78eb8ef7..57045a41 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Wallet.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Wallet.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Wallet_H #define WINRT_Windows_ApplicationModel_Wallet_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.ApplicationModel.h" #include "winrt/impl/Windows.Devices.Geolocation.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -15,535 +15,535 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.Wallet.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletBarcodeSymbology) consume_Windows_ApplicationModel_Wallet_IWalletBarcode::Symbology() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletBarcode::Symbology() const { winrt::Windows::ApplicationModel::Wallet::WalletBarcodeSymbology value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletBarcode)->get_Symbology(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletBarcode::Value() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletBarcode::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletBarcode)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Wallet_IWalletBarcode::GetImageAsync() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletBarcode::GetImageAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletBarcode)->GetImageAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletBarcode) consume_Windows_ApplicationModel_Wallet_IWalletBarcodeFactory::CreateWalletBarcode(winrt::Windows::ApplicationModel::Wallet::WalletBarcodeSymbology const& symbology, param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletBarcodeFactory::CreateWalletBarcode(winrt::Windows::ApplicationModel::Wallet::WalletBarcodeSymbology const& symbology, param::hstring const& value) const { void* barcode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletBarcodeFactory)->CreateWalletBarcode(static_cast(symbology), *(void**)(&value), &barcode)); return winrt::Windows::ApplicationModel::Wallet::WalletBarcode{ barcode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletBarcode) consume_Windows_ApplicationModel_Wallet_IWalletBarcodeFactory::CreateCustomWalletBarcode(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& streamToBarcodeImage) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletBarcodeFactory::CreateCustomWalletBarcode(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& streamToBarcodeImage) const { void* barcode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletBarcodeFactory)->CreateCustomWalletBarcode(*(void**)(&streamToBarcodeImage), &barcode)); return winrt::Windows::ApplicationModel::Wallet::WalletBarcode{ barcode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletItem::DisplayName() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::DisplayName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletItem::Id() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Wallet_IWalletItem::IsAcknowledged() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::IsAcknowledged() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_IsAcknowledged(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::IsAcknowledged(bool value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::IsAcknowledged(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_IsAcknowledged(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletItem::IssuerDisplayName() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::IssuerDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_IssuerDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::IssuerDisplayName(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::IssuerDisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_IssuerDisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Wallet_IWalletItem::LastUpdated() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::LastUpdated() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_LastUpdated(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::LastUpdated(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::LastUpdated(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_LastUpdated(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletItemKind) consume_Windows_ApplicationModel_Wallet_IWalletItem::Kind() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::Kind() const { winrt::Windows::ApplicationModel::Wallet::WalletItemKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletBarcode) consume_Windows_ApplicationModel_Wallet_IWalletItem::Barcode() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::Barcode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_Barcode(&value)); return winrt::Windows::ApplicationModel::Wallet::WalletBarcode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::Barcode(winrt::Windows::ApplicationModel::Wallet::WalletBarcode const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::Barcode(winrt::Windows::ApplicationModel::Wallet::WalletBarcode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_Barcode(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Wallet_IWalletItem::ExpirationDate() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::ExpirationDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_ExpirationDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::ExpirationDate(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::ExpirationDate(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_ExpirationDate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Wallet_IWalletItem::Logo159x159() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::Logo159x159() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_Logo159x159(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::Logo159x159(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::Logo159x159(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_Logo159x159(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Wallet_IWalletItem::Logo336x336() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::Logo336x336() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_Logo336x336(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::Logo336x336(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::Logo336x336(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_Logo336x336(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Wallet_IWalletItem::Logo99x99() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::Logo99x99() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_Logo99x99(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::Logo99x99(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::Logo99x99(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_Logo99x99(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletItem::DisplayMessage() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::DisplayMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_DisplayMessage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::DisplayMessage(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::DisplayMessage(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_DisplayMessage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Wallet_IWalletItem::IsDisplayMessageLaunchable() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::IsDisplayMessageLaunchable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_IsDisplayMessageLaunchable(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::IsDisplayMessageLaunchable(bool value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::IsDisplayMessageLaunchable(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_IsDisplayMessageLaunchable(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletItem::LogoText() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::LogoText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_LogoText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::LogoText(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::LogoText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_LogoText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_Wallet_IWalletItem::HeaderColor() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::HeaderColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_HeaderColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::HeaderColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::HeaderColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_HeaderColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_Wallet_IWalletItem::BodyColor() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::BodyColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_BodyColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::BodyColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::BodyColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_BodyColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_Wallet_IWalletItem::HeaderFontColor() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::HeaderFontColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_HeaderFontColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::HeaderFontColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::HeaderFontColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_HeaderFontColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_Wallet_IWalletItem::BodyFontColor() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::BodyFontColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_BodyFontColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::BodyFontColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::BodyFontColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_BodyFontColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Wallet_IWalletItem::HeaderBackgroundImage() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::HeaderBackgroundImage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_HeaderBackgroundImage(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::HeaderBackgroundImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::HeaderBackgroundImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_HeaderBackgroundImage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Wallet_IWalletItem::BodyBackgroundImage() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::BodyBackgroundImage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_BodyBackgroundImage(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::BodyBackgroundImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::BodyBackgroundImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_BodyBackgroundImage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Wallet_IWalletItem::LogoImage() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::LogoImage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_LogoImage(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::LogoImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::LogoImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_LogoImage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Wallet_IWalletItem::PromotionalImage() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::PromotionalImage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_PromotionalImage(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::PromotionalImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::PromotionalImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_PromotionalImage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Wallet_IWalletItem::RelevantDate() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::RelevantDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_RelevantDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::RelevantDate(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::RelevantDate(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_RelevantDate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletItem::RelevantDateDisplayMessage() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::RelevantDateDisplayMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_RelevantDateDisplayMessage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::RelevantDateDisplayMessage(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::RelevantDateDisplayMessage(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_RelevantDateDisplayMessage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_ApplicationModel_Wallet_IWalletItem::TransactionHistory() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::TransactionHistory() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_TransactionHistory(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_ApplicationModel_Wallet_IWalletItem::RelevantLocations() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::RelevantLocations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_RelevantLocations(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Wallet_IWalletItem::IsMoreTransactionHistoryLaunchable() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::IsMoreTransactionHistoryLaunchable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_IsMoreTransactionHistoryLaunchable(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem::IsMoreTransactionHistoryLaunchable(bool value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::IsMoreTransactionHistoryLaunchable(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_IsMoreTransactionHistoryLaunchable(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_ApplicationModel_Wallet_IWalletItem::DisplayProperties() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::DisplayProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_DisplayProperties(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_ApplicationModel_Wallet_IWalletItem::Verbs() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItem::Verbs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_Verbs(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::Name() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::Name(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::Value() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::Value(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::Value(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::AutoDetectLinks() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::AutoDetectLinks() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->get_AutoDetectLinks(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::AutoDetectLinks(bool value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::AutoDetectLinks(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->put_AutoDetectLinks(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletDetailViewPosition) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::DetailViewPosition() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::DetailViewPosition() const { winrt::Windows::ApplicationModel::Wallet::WalletDetailViewPosition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->get_DetailViewPosition(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::DetailViewPosition(winrt::Windows::ApplicationModel::Wallet::WalletDetailViewPosition const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::DetailViewPosition(winrt::Windows::ApplicationModel::Wallet::WalletDetailViewPosition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->put_DetailViewPosition(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletSummaryViewPosition) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::SummaryViewPosition() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::SummaryViewPosition() const { winrt::Windows::ApplicationModel::Wallet::WalletSummaryViewPosition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->get_SummaryViewPosition(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::SummaryViewPosition(winrt::Windows::ApplicationModel::Wallet::WalletSummaryViewPosition const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty::SummaryViewPosition(winrt::Windows::ApplicationModel::Wallet::WalletSummaryViewPosition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->put_SummaryViewPosition(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletItemCustomProperty) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomPropertyFactory::CreateWalletItemCustomProperty(param::hstring const& name, param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomPropertyFactory::CreateWalletItemCustomProperty(param::hstring const& name, param::hstring const& value) const { void* walletItemCustomProperty{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomPropertyFactory)->CreateWalletItemCustomProperty(*(void**)(&name), *(void**)(&value), &walletItemCustomProperty)); return winrt::Windows::ApplicationModel::Wallet::WalletItemCustomProperty{ walletItemCustomProperty, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletItem) consume_Windows_ApplicationModel_Wallet_IWalletItemFactory::CreateWalletItem(winrt::Windows::ApplicationModel::Wallet::WalletItemKind const& kind, param::hstring const& displayName) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemFactory::CreateWalletItem(winrt::Windows::ApplicationModel::Wallet::WalletItemKind const& kind, param::hstring const& displayName) const { void* walletItem{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemFactory)->CreateWalletItem(static_cast(kind), *(void**)(&displayName), &walletItem)); return winrt::Windows::ApplicationModel::Wallet::WalletItem{ walletItem, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Wallet_IWalletItemStore::AddAsync(param::hstring const& id, winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore::AddAsync(param::hstring const& id, winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemStore)->AddAsync(*(void**)(&id), *(void**)(&item), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Wallet_IWalletItemStore::ClearAsync() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore::ClearAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemStore)->ClearAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Wallet_IWalletItemStore::GetWalletItemAsync(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore::GetWalletItemAsync(param::hstring const& id) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemStore)->GetWalletItemAsync(*(void**)(&id), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Wallet_IWalletItemStore::GetItemsAsync() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore::GetItemsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemStore)->GetItemsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_Wallet_IWalletItemStore::GetItemsAsync(winrt::Windows::ApplicationModel::Wallet::WalletItemKind const& kind) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore::GetItemsAsync(winrt::Windows::ApplicationModel::Wallet::WalletItemKind const& kind) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemStore)->GetItemsWithKindAsync(static_cast(kind), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Wallet_IWalletItemStore::ImportItemAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore::ImportItemAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemStore)->ImportItemAsync(*(void**)(&stream), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Wallet_IWalletItemStore::DeleteAsync(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore::DeleteAsync(param::hstring const& id) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemStore)->DeleteAsync(*(void**)(&id), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Wallet_IWalletItemStore::ShowAsync() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore::ShowAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemStore)->ShowAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Wallet_IWalletItemStore::ShowAsync(param::hstring const& id) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore::ShowAsync(param::hstring const& id) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemStore)->ShowItemAsync(*(void**)(&id), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Wallet_IWalletItemStore::UpdateAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore::UpdateAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemStore)->UpdateAsync(*(void**)(&item), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Wallet_IWalletItemStore2::ItemsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore2::ItemsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemStore2)->add_ItemsChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_ApplicationModel_Wallet_IWalletItemStore2::ItemsChanged_revoker consume_Windows_ApplicationModel_Wallet_IWalletItemStore2::ItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore2::ItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItemStore2::ItemsChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore2::ItemsChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemStore2)->remove_ItemsChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_Wallet_IWalletManagerStatics::RequestStoreAsync() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletManagerStatics::RequestStoreAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletManagerStatics)->RequestStoreAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation::Position() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation::Position() const { winrt::Windows::Devices::Geolocation::BasicGeoposition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletRelevantLocation)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation::Position(winrt::Windows::Devices::Geolocation::BasicGeoposition const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation::Position(winrt::Windows::Devices::Geolocation::BasicGeoposition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletRelevantLocation)->put_Position(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation::DisplayMessage() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation::DisplayMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletRelevantLocation)->get_DisplayMessage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation::DisplayMessage(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation::DisplayMessage(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletRelevantLocation)->put_DisplayMessage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletTransaction::Description() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletTransaction::Description(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletTransaction::DisplayAmount() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction::DisplayAmount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->get_DisplayAmount(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletTransaction::DisplayAmount(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction::DisplayAmount(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->put_DisplayAmount(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Wallet_IWalletTransaction::IgnoreTimeOfDay() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction::IgnoreTimeOfDay() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->get_IgnoreTimeOfDay(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletTransaction::IgnoreTimeOfDay(bool value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction::IgnoreTimeOfDay(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->put_IgnoreTimeOfDay(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletTransaction::DisplayLocation() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction::DisplayLocation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->get_DisplayLocation(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletTransaction::DisplayLocation(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction::DisplayLocation(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->put_DisplayLocation(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_Wallet_IWalletTransaction::TransactionDate() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction::TransactionDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->get_TransactionDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletTransaction::TransactionDate(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction::TransactionDate(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->put_TransactionDate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Wallet_IWalletTransaction::IsLaunchable() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction::IsLaunchable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->get_IsLaunchable(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletTransaction::IsLaunchable(bool value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction::IsLaunchable(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->put_IsLaunchable(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletVerb::Name() const + template auto consume_Windows_ApplicationModel_Wallet_IWalletVerb::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletVerb)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletVerb::Name(param::hstring const& value) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletVerb::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletVerb)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletVerb) consume_Windows_ApplicationModel_Wallet_IWalletVerbFactory::CreateWalletVerb(param::hstring const& name) const + template auto consume_Windows_ApplicationModel_Wallet_IWalletVerbFactory::CreateWalletVerb(param::hstring const& name) const { void* WalletVerb{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletVerbFactory)->CreateWalletVerb(*(void**)(&name), &WalletVerb)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.h b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.h index 7cb18236..ced48ac1 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_H #define WINRT_Windows_ApplicationModel_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.ApplicationModel.Activation.2.h" #include "winrt/impl/Windows.ApplicationModel.Core.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -16,1040 +16,1040 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.ApplicationModel.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IAppDisplayInfo::DisplayName() const + template auto consume_Windows_ApplicationModel_IAppDisplayInfo::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppDisplayInfo)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IAppDisplayInfo::Description() const + template auto consume_Windows_ApplicationModel_IAppDisplayInfo::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppDisplayInfo)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_ApplicationModel_IAppDisplayInfo::GetLogo(winrt::Windows::Foundation::Size const& size) const + template auto consume_Windows_ApplicationModel_IAppDisplayInfo::GetLogo(winrt::Windows::Foundation::Size const& size) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppDisplayInfo)->GetLogo(impl::bind_in(size), &value)); return winrt::Windows::Storage::Streams::RandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IAppInfo::Id() const + template auto consume_Windows_ApplicationModel_IAppInfo::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IAppInfo::AppUserModelId() const + template auto consume_Windows_ApplicationModel_IAppInfo::AppUserModelId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo)->get_AppUserModelId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppDisplayInfo) consume_Windows_ApplicationModel_IAppInfo::DisplayInfo() const + template auto consume_Windows_ApplicationModel_IAppInfo::DisplayInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo)->get_DisplayInfo(&value)); return winrt::Windows::ApplicationModel::AppDisplayInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IAppInfo::PackageFamilyName() const + template auto consume_Windows_ApplicationModel_IAppInfo::PackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo)->get_PackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IAppInfo2::Package() const + template auto consume_Windows_ApplicationModel_IAppInfo2::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo2)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppExecutionContext) consume_Windows_ApplicationModel_IAppInfo3::ExecutionContext() const + template auto consume_Windows_ApplicationModel_IAppInfo3::ExecutionContext() const { winrt::Windows::ApplicationModel::AppExecutionContext value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo3)->get_ExecutionContext(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_ApplicationModel_IAppInfo4::SupportedFileExtensions() const + template auto consume_Windows_ApplicationModel_IAppInfo4::SupportedFileExtensions() const { uint32_t value_impl_size{}; void** value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo4)->get_SupportedFileExtensions(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_ApplicationModel_IAppInfoStatics::Current() const + template auto consume_Windows_ApplicationModel_IAppInfoStatics::Current() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfoStatics)->get_Current(&value)); return winrt::Windows::ApplicationModel::AppInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_ApplicationModel_IAppInfoStatics::GetFromAppUserModelId(param::hstring const& appUserModelId) const + template auto consume_Windows_ApplicationModel_IAppInfoStatics::GetFromAppUserModelId(param::hstring const& appUserModelId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfoStatics)->GetFromAppUserModelId(*(void**)(&appUserModelId), &result)); return winrt::Windows::ApplicationModel::AppInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_ApplicationModel_IAppInfoStatics::GetFromAppUserModelIdForUser(winrt::Windows::System::User const& user, param::hstring const& appUserModelId) const + template auto consume_Windows_ApplicationModel_IAppInfoStatics::GetFromAppUserModelIdForUser(winrt::Windows::System::User const& user, param::hstring const& appUserModelId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfoStatics)->GetFromAppUserModelIdForUser(*(void**)(&user), *(void**)(&appUserModelId), &result)); return winrt::Windows::ApplicationModel::AppInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_IAppInstallerInfo::Uri() const + template auto consume_Windows_ApplicationModel_IAppInstallerInfo::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInstallerInfo)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IAppInstance::Key() const + template auto consume_Windows_ApplicationModel_IAppInstance::Key() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInstance)->get_Key(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IAppInstance::IsCurrentInstance() const + template auto consume_Windows_ApplicationModel_IAppInstance::IsCurrentInstance() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInstance)->get_IsCurrentInstance(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IAppInstance::RedirectActivationTo() const + template auto consume_Windows_ApplicationModel_IAppInstance::RedirectActivationTo() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInstance)->RedirectActivationTo()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInstance) consume_Windows_ApplicationModel_IAppInstanceStatics::RecommendedInstance() const + template auto consume_Windows_ApplicationModel_IAppInstanceStatics::RecommendedInstance() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInstanceStatics)->get_RecommendedInstance(&value)); return winrt::Windows::ApplicationModel::AppInstance{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs) consume_Windows_ApplicationModel_IAppInstanceStatics::GetActivatedEventArgs() const + template auto consume_Windows_ApplicationModel_IAppInstanceStatics::GetActivatedEventArgs() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInstanceStatics)->GetActivatedEventArgs(&result)); return winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInstance) consume_Windows_ApplicationModel_IAppInstanceStatics::FindOrRegisterInstanceForKey(param::hstring const& key) const + template auto consume_Windows_ApplicationModel_IAppInstanceStatics::FindOrRegisterInstanceForKey(param::hstring const& key) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInstanceStatics)->FindOrRegisterInstanceForKey(*(void**)(&key), &result)); return winrt::Windows::ApplicationModel::AppInstance{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IAppInstanceStatics::Unregister() const + template auto consume_Windows_ApplicationModel_IAppInstanceStatics::Unregister() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInstanceStatics)->Unregister()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_ApplicationModel_IAppInstanceStatics::GetInstances() const + template auto consume_Windows_ApplicationModel_IAppInstanceStatics::GetInstances() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInstanceStatics)->GetInstances(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ICameraApplicationManagerStatics::ShowInstalledApplicationsUI() const + template auto consume_Windows_ApplicationModel_ICameraApplicationManagerStatics::ShowInstalledApplicationsUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ICameraApplicationManagerStatics)->ShowInstalledApplicationsUI()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IDesignModeStatics::DesignModeEnabled() const + template auto consume_Windows_ApplicationModel_IDesignModeStatics::DesignModeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IDesignModeStatics)->get_DesignModeEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IDesignModeStatics2::DesignMode2Enabled() const + template auto consume_Windows_ApplicationModel_IDesignModeStatics2::DesignMode2Enabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IDesignModeStatics2)->get_DesignMode2Enabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_IEnteredBackgroundEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_IEnteredBackgroundEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IEnteredBackgroundEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics::LaunchFullTrustProcessForCurrentAppAsync() const + template auto consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics::LaunchFullTrustProcessForCurrentAppAsync() const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IFullTrustProcessLauncherStatics)->LaunchFullTrustProcessForCurrentAppAsync(&asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics::LaunchFullTrustProcessForCurrentAppAsync(param::hstring const& parameterGroupId) const + template auto consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics::LaunchFullTrustProcessForCurrentAppAsync(param::hstring const& parameterGroupId) const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IFullTrustProcessLauncherStatics)->LaunchFullTrustProcessForCurrentAppWithParametersAsync(*(void**)(¶meterGroupId), &asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics::LaunchFullTrustProcessForAppAsync(param::hstring const& fullTrustPackageRelativeAppId) const + template auto consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics::LaunchFullTrustProcessForAppAsync(param::hstring const& fullTrustPackageRelativeAppId) const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IFullTrustProcessLauncherStatics)->LaunchFullTrustProcessForAppAsync(*(void**)(&fullTrustPackageRelativeAppId), &asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics::LaunchFullTrustProcessForAppAsync(param::hstring const& fullTrustPackageRelativeAppId, param::hstring const& parameterGroupId) const + template auto consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics::LaunchFullTrustProcessForAppAsync(param::hstring const& fullTrustPackageRelativeAppId, param::hstring const& parameterGroupId) const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IFullTrustProcessLauncherStatics)->LaunchFullTrustProcessForAppWithParametersAsync(*(void**)(&fullTrustPackageRelativeAppId), *(void**)(¶meterGroupId), &asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_ILeavingBackgroundEventArgs::GetDeferral() const + template auto consume_Windows_ApplicationModel_ILeavingBackgroundEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ILeavingBackgroundEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ILimitedAccessFeatureRequestResult::FeatureId() const + template auto consume_Windows_ApplicationModel_ILimitedAccessFeatureRequestResult::FeatureId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ILimitedAccessFeatureRequestResult)->get_FeatureId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::LimitedAccessFeatureStatus) consume_Windows_ApplicationModel_ILimitedAccessFeatureRequestResult::Status() const + template auto consume_Windows_ApplicationModel_ILimitedAccessFeatureRequestResult::Status() const { winrt::Windows::ApplicationModel::LimitedAccessFeatureStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ILimitedAccessFeatureRequestResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_ApplicationModel_ILimitedAccessFeatureRequestResult::EstimatedRemovalDate() const + template auto consume_Windows_ApplicationModel_ILimitedAccessFeatureRequestResult::EstimatedRemovalDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ILimitedAccessFeatureRequestResult)->get_EstimatedRemovalDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::LimitedAccessFeatureRequestResult) consume_Windows_ApplicationModel_ILimitedAccessFeaturesStatics::TryUnlockFeature(param::hstring const& featureId, param::hstring const& token, param::hstring const& attestation) const + template auto consume_Windows_ApplicationModel_ILimitedAccessFeaturesStatics::TryUnlockFeature(param::hstring const& featureId, param::hstring const& token, param::hstring const& attestation) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ILimitedAccessFeaturesStatics)->TryUnlockFeature(*(void**)(&featureId), *(void**)(&token), *(void**)(&attestation), &result)); return winrt::Windows::ApplicationModel::LimitedAccessFeatureRequestResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageId) consume_Windows_ApplicationModel_IPackage::Id() const + template auto consume_Windows_ApplicationModel_IPackage::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage)->get_Id(&value)); return winrt::Windows::ApplicationModel::PackageId{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_ApplicationModel_IPackage::InstalledLocation() const + template auto consume_Windows_ApplicationModel_IPackage::InstalledLocation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage)->get_InstalledLocation(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackage::IsFramework() const + template auto consume_Windows_ApplicationModel_IPackage::IsFramework() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage)->get_IsFramework(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_IPackage::Dependencies() const + template auto consume_Windows_ApplicationModel_IPackage::Dependencies() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage)->get_Dependencies(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage2::DisplayName() const + template auto consume_Windows_ApplicationModel_IPackage2::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage2)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage2::PublisherDisplayName() const + template auto consume_Windows_ApplicationModel_IPackage2::PublisherDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage2)->get_PublisherDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage2::Description() const + template auto consume_Windows_ApplicationModel_IPackage2::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage2)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_IPackage2::Logo() const + template auto consume_Windows_ApplicationModel_IPackage2::Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage2)->get_Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackage2::IsResourcePackage() const + template auto consume_Windows_ApplicationModel_IPackage2::IsResourcePackage() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage2)->get_IsResourcePackage(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackage2::IsBundle() const + template auto consume_Windows_ApplicationModel_IPackage2::IsBundle() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage2)->get_IsBundle(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackage2::IsDevelopmentMode() const + template auto consume_Windows_ApplicationModel_IPackage2::IsDevelopmentMode() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage2)->get_IsDevelopmentMode(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageStatus) consume_Windows_ApplicationModel_IPackage3::Status() const + template auto consume_Windows_ApplicationModel_IPackage3::Status() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage3)->get_Status(&value)); return winrt::Windows::ApplicationModel::PackageStatus{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_IPackage3::InstalledDate() const + template auto consume_Windows_ApplicationModel_IPackage3::InstalledDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage3)->get_InstalledDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_IPackage3::GetAppListEntriesAsync() const + template auto consume_Windows_ApplicationModel_IPackage3::GetAppListEntriesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage3)->GetAppListEntriesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageSignatureKind) consume_Windows_ApplicationModel_IPackage4::SignatureKind() const + template auto consume_Windows_ApplicationModel_IPackage4::SignatureKind() const { winrt::Windows::ApplicationModel::PackageSignatureKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage4)->get_SignatureKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackage4::IsOptional() const + template auto consume_Windows_ApplicationModel_IPackage4::IsOptional() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage4)->get_IsOptional(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_IPackage4::VerifyContentIntegrityAsync() const + template auto consume_Windows_ApplicationModel_IPackage4::VerifyContentIntegrityAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage4)->VerifyContentIntegrityAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_IPackage5::GetContentGroupsAsync() const + template auto consume_Windows_ApplicationModel_IPackage5::GetContentGroupsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage5)->GetContentGroupsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_IPackage5::GetContentGroupAsync(param::hstring const& name) const + template auto consume_Windows_ApplicationModel_IPackage5::GetContentGroupAsync(param::hstring const& name) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage5)->GetContentGroupAsync(*(void**)(&name), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_IPackage5::StageContentGroupsAsync(param::async_iterable const& names) const + template auto consume_Windows_ApplicationModel_IPackage5::StageContentGroupsAsync(param::async_iterable const& names) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage5)->StageContentGroupsAsync(*(void**)(&names), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_IPackage5::StageContentGroupsAsync(param::async_iterable const& names, bool moveToHeadOfQueue) const + template auto consume_Windows_ApplicationModel_IPackage5::StageContentGroupsAsync(param::async_iterable const& names, bool moveToHeadOfQueue) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage5)->StageContentGroupsWithPriorityAsync(*(void**)(&names), moveToHeadOfQueue, &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_IPackage5::SetInUseAsync(bool inUse) const + template auto consume_Windows_ApplicationModel_IPackage5::SetInUseAsync(bool inUse) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage5)->SetInUseAsync(inUse, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInstallerInfo) consume_Windows_ApplicationModel_IPackage6::GetAppInstallerInfo() const + template auto consume_Windows_ApplicationModel_IPackage6::GetAppInstallerInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage6)->GetAppInstallerInfo(&value)); return winrt::Windows::ApplicationModel::AppInstallerInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_IPackage6::CheckUpdateAvailabilityAsync() const + template auto consume_Windows_ApplicationModel_IPackage6::CheckUpdateAvailabilityAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage6)->CheckUpdateAvailabilityAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_ApplicationModel_IPackage7::MutableLocation() const + template auto consume_Windows_ApplicationModel_IPackage7::MutableLocation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage7)->get_MutableLocation(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_ApplicationModel_IPackage7::EffectiveLocation() const + template auto consume_Windows_ApplicationModel_IPackage7::EffectiveLocation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage7)->get_EffectiveLocation(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_ApplicationModel_IPackage8::EffectiveExternalLocation() const + template auto consume_Windows_ApplicationModel_IPackage8::EffectiveExternalLocation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_EffectiveExternalLocation(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_ApplicationModel_IPackage8::MachineExternalLocation() const + template auto consume_Windows_ApplicationModel_IPackage8::MachineExternalLocation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_MachineExternalLocation(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_ApplicationModel_IPackage8::UserExternalLocation() const + template auto consume_Windows_ApplicationModel_IPackage8::UserExternalLocation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_UserExternalLocation(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage8::InstalledPath() const + template auto consume_Windows_ApplicationModel_IPackage8::InstalledPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_InstalledPath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage8::MutablePath() const + template auto consume_Windows_ApplicationModel_IPackage8::MutablePath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_MutablePath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage8::EffectivePath() const + template auto consume_Windows_ApplicationModel_IPackage8::EffectivePath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_EffectivePath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage8::EffectiveExternalPath() const + template auto consume_Windows_ApplicationModel_IPackage8::EffectiveExternalPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_EffectiveExternalPath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage8::MachineExternalPath() const + template auto consume_Windows_ApplicationModel_IPackage8::MachineExternalPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_MachineExternalPath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage8::UserExternalPath() const + template auto consume_Windows_ApplicationModel_IPackage8::UserExternalPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_UserExternalPath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_ApplicationModel_IPackage8::GetLogoAsRandomAccessStreamReference(winrt::Windows::Foundation::Size const& size) const + template auto consume_Windows_ApplicationModel_IPackage8::GetLogoAsRandomAccessStreamReference(winrt::Windows::Foundation::Size const& size) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->GetLogoAsRandomAccessStreamReference(impl::bind_in(size), &result)); return winrt::Windows::Storage::Streams::RandomAccessStreamReference{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_IPackage8::GetAppListEntries() const + template auto consume_Windows_ApplicationModel_IPackage8::GetAppListEntries() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->GetAppListEntries(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackage8::IsStub() const + template auto consume_Windows_ApplicationModel_IPackage8::IsStub() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_IsStub(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_IPackageCatalog::PackageStaging(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_IPackageCatalog::PackageStaging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog)->add_PackageStaging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_IPackageCatalog::PackageStaging_revoker consume_Windows_ApplicationModel_IPackageCatalog::PackageStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_IPackageCatalog::PackageStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PackageStaging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IPackageCatalog::PackageStaging(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_IPackageCatalog::PackageStaging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog)->remove_PackageStaging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_IPackageCatalog::PackageInstalling(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_IPackageCatalog::PackageInstalling(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog)->add_PackageInstalling(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_IPackageCatalog::PackageInstalling_revoker consume_Windows_ApplicationModel_IPackageCatalog::PackageInstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_IPackageCatalog::PackageInstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PackageInstalling(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IPackageCatalog::PackageInstalling(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_IPackageCatalog::PackageInstalling(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog)->remove_PackageInstalling(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_IPackageCatalog::PackageUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_IPackageCatalog::PackageUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog)->add_PackageUpdating(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_IPackageCatalog::PackageUpdating_revoker consume_Windows_ApplicationModel_IPackageCatalog::PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_IPackageCatalog::PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PackageUpdating(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IPackageCatalog::PackageUpdating(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_IPackageCatalog::PackageUpdating(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog)->remove_PackageUpdating(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_IPackageCatalog::PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_IPackageCatalog::PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog)->add_PackageUninstalling(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_IPackageCatalog::PackageUninstalling_revoker consume_Windows_ApplicationModel_IPackageCatalog::PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_IPackageCatalog::PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PackageUninstalling(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IPackageCatalog::PackageUninstalling(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_IPackageCatalog::PackageUninstalling(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog)->remove_PackageUninstalling(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_IPackageCatalog::PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_IPackageCatalog::PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog)->add_PackageStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_IPackageCatalog::PackageStatusChanged_revoker consume_Windows_ApplicationModel_IPackageCatalog::PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_IPackageCatalog::PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PackageStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IPackageCatalog::PackageStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_IPackageCatalog::PackageStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog)->remove_PackageStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_IPackageCatalog2::PackageContentGroupStaging(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_IPackageCatalog2::PackageContentGroupStaging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog2)->add_PackageContentGroupStaging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_ApplicationModel_IPackageCatalog2::PackageContentGroupStaging_revoker consume_Windows_ApplicationModel_IPackageCatalog2::PackageContentGroupStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_ApplicationModel_IPackageCatalog2::PackageContentGroupStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PackageContentGroupStaging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IPackageCatalog2::PackageContentGroupStaging(winrt::event_token const& token) const noexcept + template auto consume_Windows_ApplicationModel_IPackageCatalog2::PackageContentGroupStaging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog2)->remove_PackageContentGroupStaging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_IPackageCatalog2::AddOptionalPackageAsync(param::hstring const& optionalPackageFamilyName) const + template auto consume_Windows_ApplicationModel_IPackageCatalog2::AddOptionalPackageAsync(param::hstring const& optionalPackageFamilyName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog2)->AddOptionalPackageAsync(*(void**)(&optionalPackageFamilyName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_IPackageCatalog3::RemoveOptionalPackagesAsync(param::async_iterable const& optionalPackageFamilyNames) const + template auto consume_Windows_ApplicationModel_IPackageCatalog3::RemoveOptionalPackagesAsync(param::async_iterable const& optionalPackageFamilyNames) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog3)->RemoveOptionalPackagesAsync(*(void**)(&optionalPackageFamilyNames), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_ApplicationModel_IPackageCatalog4::AddResourcePackageAsync(param::hstring const& resourcePackageFamilyName, param::hstring const& resourceID, winrt::Windows::ApplicationModel::AddResourcePackageOptions const& options) const + template auto consume_Windows_ApplicationModel_IPackageCatalog4::AddResourcePackageAsync(param::hstring const& resourcePackageFamilyName, param::hstring const& resourceID, winrt::Windows::ApplicationModel::AddResourcePackageOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog4)->AddResourcePackageAsync(*(void**)(&resourcePackageFamilyName), *(void**)(&resourceID), static_cast(options), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_IPackageCatalog4::RemoveResourcePackagesAsync(param::async_iterable const& resourcePackages) const + template auto consume_Windows_ApplicationModel_IPackageCatalog4::RemoveResourcePackagesAsync(param::async_iterable const& resourcePackages) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog4)->RemoveResourcePackagesAsync(*(void**)(&resourcePackages), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageCatalogAddOptionalPackageResult::Package() const + template auto consume_Windows_ApplicationModel_IPackageCatalogAddOptionalPackageResult::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogAddOptionalPackageResult)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageCatalogAddOptionalPackageResult::ExtendedError() const + template auto consume_Windows_ApplicationModel_IPackageCatalogAddOptionalPackageResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogAddOptionalPackageResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageCatalogAddResourcePackageResult::Package() const + template auto consume_Windows_ApplicationModel_IPackageCatalogAddResourcePackageResult::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogAddResourcePackageResult)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageCatalogAddResourcePackageResult::IsComplete() const + template auto consume_Windows_ApplicationModel_IPackageCatalogAddResourcePackageResult::IsComplete() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogAddResourcePackageResult)->get_IsComplete(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageCatalogAddResourcePackageResult::ExtendedError() const + template auto consume_Windows_ApplicationModel_IPackageCatalogAddResourcePackageResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogAddResourcePackageResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_IPackageCatalogRemoveOptionalPackagesResult::PackagesRemoved() const + template auto consume_Windows_ApplicationModel_IPackageCatalogRemoveOptionalPackagesResult::PackagesRemoved() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogRemoveOptionalPackagesResult)->get_PackagesRemoved(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageCatalogRemoveOptionalPackagesResult::ExtendedError() const + template auto consume_Windows_ApplicationModel_IPackageCatalogRemoveOptionalPackagesResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogRemoveOptionalPackagesResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_ApplicationModel_IPackageCatalogRemoveResourcePackagesResult::PackagesRemoved() const + template auto consume_Windows_ApplicationModel_IPackageCatalogRemoveResourcePackagesResult::PackagesRemoved() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogRemoveResourcePackagesResult)->get_PackagesRemoved(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageCatalogRemoveResourcePackagesResult::ExtendedError() const + template auto consume_Windows_ApplicationModel_IPackageCatalogRemoveResourcePackagesResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogRemoveResourcePackagesResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageCatalog) consume_Windows_ApplicationModel_IPackageCatalogStatics::OpenForCurrentPackage() const + template auto consume_Windows_ApplicationModel_IPackageCatalogStatics::OpenForCurrentPackage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogStatics)->OpenForCurrentPackage(&value)); return winrt::Windows::ApplicationModel::PackageCatalog{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageCatalog) consume_Windows_ApplicationModel_IPackageCatalogStatics::OpenForCurrentUser() const + template auto consume_Windows_ApplicationModel_IPackageCatalogStatics::OpenForCurrentUser() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogStatics)->OpenForCurrentUser(&value)); return winrt::Windows::ApplicationModel::PackageCatalog{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageContentGroup::Package() const + template auto consume_Windows_ApplicationModel_IPackageContentGroup::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroup)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageContentGroup::Name() const + template auto consume_Windows_ApplicationModel_IPackageContentGroup::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroup)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageContentGroupState) consume_Windows_ApplicationModel_IPackageContentGroup::State() const + template auto consume_Windows_ApplicationModel_IPackageContentGroup::State() const { winrt::Windows::ApplicationModel::PackageContentGroupState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroup)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageContentGroup::IsRequired() const + template auto consume_Windows_ApplicationModel_IPackageContentGroup::IsRequired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroup)->get_IsRequired(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs::ActivityId() const + template auto consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs::ActivityId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs)->get_ActivityId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs::Package() const + template auto consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs::Progress() const + template auto consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs::Progress() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs)->get_Progress(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs::IsComplete() const + template auto consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs::IsComplete() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs)->get_IsComplete(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs::ErrorCode() const + template auto consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs::ErrorCode() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs)->get_ErrorCode(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs::ContentGroupName() const + template auto consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs::ContentGroupName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs)->get_ContentGroupName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs::IsContentGroupRequired() const + template auto consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs::IsContentGroupRequired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs)->get_IsContentGroupRequired(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageContentGroupStatics::RequiredGroupName() const + template auto consume_Windows_ApplicationModel_IPackageContentGroupStatics::RequiredGroupName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroupStatics)->get_RequiredGroupName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageId::Name() const + template auto consume_Windows_ApplicationModel_IPackageId::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageId)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageVersion) consume_Windows_ApplicationModel_IPackageId::Version() const + template auto consume_Windows_ApplicationModel_IPackageId::Version() const { winrt::Windows::ApplicationModel::PackageVersion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageId)->get_Version(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::ProcessorArchitecture) consume_Windows_ApplicationModel_IPackageId::Architecture() const + template auto consume_Windows_ApplicationModel_IPackageId::Architecture() const { winrt::Windows::System::ProcessorArchitecture value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageId)->get_Architecture(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageId::ResourceId() const + template auto consume_Windows_ApplicationModel_IPackageId::ResourceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageId)->get_ResourceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageId::Publisher() const + template auto consume_Windows_ApplicationModel_IPackageId::Publisher() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageId)->get_Publisher(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageId::PublisherId() const + template auto consume_Windows_ApplicationModel_IPackageId::PublisherId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageId)->get_PublisherId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageId::FullName() const + template auto consume_Windows_ApplicationModel_IPackageId::FullName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageId)->get_FullName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageId::FamilyName() const + template auto consume_Windows_ApplicationModel_IPackageId::FamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageId)->get_FamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageIdWithMetadata::ProductId() const + template auto consume_Windows_ApplicationModel_IPackageIdWithMetadata::ProductId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageIdWithMetadata)->get_ProductId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageIdWithMetadata::Author() const + template auto consume_Windows_ApplicationModel_IPackageIdWithMetadata::Author() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageIdWithMetadata)->get_Author(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_IPackageInstallingEventArgs::ActivityId() const + template auto consume_Windows_ApplicationModel_IPackageInstallingEventArgs::ActivityId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageInstallingEventArgs)->get_ActivityId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageInstallingEventArgs::Package() const + template auto consume_Windows_ApplicationModel_IPackageInstallingEventArgs::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageInstallingEventArgs)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_IPackageInstallingEventArgs::Progress() const + template auto consume_Windows_ApplicationModel_IPackageInstallingEventArgs::Progress() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageInstallingEventArgs)->get_Progress(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageInstallingEventArgs::IsComplete() const + template auto consume_Windows_ApplicationModel_IPackageInstallingEventArgs::IsComplete() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageInstallingEventArgs)->get_IsComplete(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageInstallingEventArgs::ErrorCode() const + template auto consume_Windows_ApplicationModel_IPackageInstallingEventArgs::ErrorCode() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageInstallingEventArgs)->get_ErrorCode(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_IPackageStagingEventArgs::ActivityId() const + template auto consume_Windows_ApplicationModel_IPackageStagingEventArgs::ActivityId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStagingEventArgs)->get_ActivityId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageStagingEventArgs::Package() const + template auto consume_Windows_ApplicationModel_IPackageStagingEventArgs::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStagingEventArgs)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_IPackageStagingEventArgs::Progress() const + template auto consume_Windows_ApplicationModel_IPackageStagingEventArgs::Progress() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStagingEventArgs)->get_Progress(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStagingEventArgs::IsComplete() const + template auto consume_Windows_ApplicationModel_IPackageStagingEventArgs::IsComplete() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStagingEventArgs)->get_IsComplete(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageStagingEventArgs::ErrorCode() const + template auto consume_Windows_ApplicationModel_IPackageStagingEventArgs::ErrorCode() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStagingEventArgs)->get_ErrorCode(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageStatics::Current() const + template auto consume_Windows_ApplicationModel_IPackageStatics::Current() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatics)->get_Current(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus::VerifyIsOK() const + template auto consume_Windows_ApplicationModel_IPackageStatus::VerifyIsOK() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->VerifyIsOK(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus::NotAvailable() const + template auto consume_Windows_ApplicationModel_IPackageStatus::NotAvailable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_NotAvailable(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus::PackageOffline() const + template auto consume_Windows_ApplicationModel_IPackageStatus::PackageOffline() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_PackageOffline(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus::DataOffline() const + template auto consume_Windows_ApplicationModel_IPackageStatus::DataOffline() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_DataOffline(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus::Disabled() const + template auto consume_Windows_ApplicationModel_IPackageStatus::Disabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_Disabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus::NeedsRemediation() const + template auto consume_Windows_ApplicationModel_IPackageStatus::NeedsRemediation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_NeedsRemediation(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus::LicenseIssue() const + template auto consume_Windows_ApplicationModel_IPackageStatus::LicenseIssue() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_LicenseIssue(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus::Modified() const + template auto consume_Windows_ApplicationModel_IPackageStatus::Modified() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_Modified(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus::Tampered() const + template auto consume_Windows_ApplicationModel_IPackageStatus::Tampered() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_Tampered(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus::DependencyIssue() const + template auto consume_Windows_ApplicationModel_IPackageStatus::DependencyIssue() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_DependencyIssue(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus::Servicing() const + template auto consume_Windows_ApplicationModel_IPackageStatus::Servicing() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_Servicing(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus::DeploymentInProgress() const + template auto consume_Windows_ApplicationModel_IPackageStatus::DeploymentInProgress() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_DeploymentInProgress(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus2::IsPartiallyStaged() const + template auto consume_Windows_ApplicationModel_IPackageStatus2::IsPartiallyStaged() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus2)->get_IsPartiallyStaged(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageStatusChangedEventArgs::Package() const + template auto consume_Windows_ApplicationModel_IPackageStatusChangedEventArgs::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatusChangedEventArgs)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_IPackageUninstallingEventArgs::ActivityId() const + template auto consume_Windows_ApplicationModel_IPackageUninstallingEventArgs::ActivityId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUninstallingEventArgs)->get_ActivityId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageUninstallingEventArgs::Package() const + template auto consume_Windows_ApplicationModel_IPackageUninstallingEventArgs::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUninstallingEventArgs)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_IPackageUninstallingEventArgs::Progress() const + template auto consume_Windows_ApplicationModel_IPackageUninstallingEventArgs::Progress() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUninstallingEventArgs)->get_Progress(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageUninstallingEventArgs::IsComplete() const + template auto consume_Windows_ApplicationModel_IPackageUninstallingEventArgs::IsComplete() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUninstallingEventArgs)->get_IsComplete(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageUninstallingEventArgs::ErrorCode() const + template auto consume_Windows_ApplicationModel_IPackageUninstallingEventArgs::ErrorCode() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUninstallingEventArgs)->get_ErrorCode(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageUpdateAvailability) consume_Windows_ApplicationModel_IPackageUpdateAvailabilityResult::Availability() const + template auto consume_Windows_ApplicationModel_IPackageUpdateAvailabilityResult::Availability() const { winrt::Windows::ApplicationModel::PackageUpdateAvailability value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUpdateAvailabilityResult)->get_Availability(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageUpdateAvailabilityResult::ExtendedError() const + template auto consume_Windows_ApplicationModel_IPackageUpdateAvailabilityResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUpdateAvailabilityResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_IPackageUpdatingEventArgs::ActivityId() const + template auto consume_Windows_ApplicationModel_IPackageUpdatingEventArgs::ActivityId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUpdatingEventArgs)->get_ActivityId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageUpdatingEventArgs::SourcePackage() const + template auto consume_Windows_ApplicationModel_IPackageUpdatingEventArgs::SourcePackage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUpdatingEventArgs)->get_SourcePackage(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageUpdatingEventArgs::TargetPackage() const + template auto consume_Windows_ApplicationModel_IPackageUpdatingEventArgs::TargetPackage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUpdatingEventArgs)->get_TargetPackage(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_IPackageUpdatingEventArgs::Progress() const + template auto consume_Windows_ApplicationModel_IPackageUpdatingEventArgs::Progress() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUpdatingEventArgs)->get_Progress(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageUpdatingEventArgs::IsComplete() const + template auto consume_Windows_ApplicationModel_IPackageUpdatingEventArgs::IsComplete() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUpdatingEventArgs)->get_IsComplete(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageUpdatingEventArgs::ErrorCode() const + template auto consume_Windows_ApplicationModel_IPackageUpdatingEventArgs::ErrorCode() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUpdatingEventArgs)->get_ErrorCode(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_IPackageWithMetadata::InstallDate() const + template auto consume_Windows_ApplicationModel_IPackageWithMetadata::InstallDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageWithMetadata)->get_InstallDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageWithMetadata::GetThumbnailToken() const + template auto consume_Windows_ApplicationModel_IPackageWithMetadata::GetThumbnailToken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageWithMetadata)->GetThumbnailToken(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IPackageWithMetadata::Launch(param::hstring const& parameters) const + template auto consume_Windows_ApplicationModel_IPackageWithMetadata::Launch(param::hstring const& parameters) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageWithMetadata)->Launch(*(void**)(¶meters))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_IStartupTask::RequestEnableAsync() const + template auto consume_Windows_ApplicationModel_IStartupTask::RequestEnableAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IStartupTask)->RequestEnableAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IStartupTask::Disable() const + template auto consume_Windows_ApplicationModel_IStartupTask::Disable() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IStartupTask)->Disable()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::StartupTaskState) consume_Windows_ApplicationModel_IStartupTask::State() const + template auto consume_Windows_ApplicationModel_IStartupTask::State() const { winrt::Windows::ApplicationModel::StartupTaskState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IStartupTask)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IStartupTask::TaskId() const + template auto consume_Windows_ApplicationModel_IStartupTask::TaskId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IStartupTask)->get_TaskId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_ApplicationModel_IStartupTaskStatics::GetForCurrentPackageAsync() const + template auto consume_Windows_ApplicationModel_IStartupTaskStatics::GetForCurrentPackageAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IStartupTaskStatics)->GetForCurrentPackageAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_ApplicationModel_IStartupTaskStatics::GetAsync(param::hstring const& taskId) const + template auto consume_Windows_ApplicationModel_IStartupTaskStatics::GetAsync(param::hstring const& taskId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IStartupTaskStatics)->GetAsync(*(void**)(&taskId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ISuspendingDeferral::Complete() const + template auto consume_Windows_ApplicationModel_ISuspendingDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ISuspendingDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SuspendingOperation) consume_Windows_ApplicationModel_ISuspendingEventArgs::SuspendingOperation() const + template auto consume_Windows_ApplicationModel_ISuspendingEventArgs::SuspendingOperation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ISuspendingEventArgs)->get_SuspendingOperation(&value)); return winrt::Windows::ApplicationModel::SuspendingOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SuspendingDeferral) consume_Windows_ApplicationModel_ISuspendingOperation::GetDeferral() const + template auto consume_Windows_ApplicationModel_ISuspendingOperation::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ISuspendingOperation)->GetDeferral(&deferral)); return winrt::Windows::ApplicationModel::SuspendingDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_ISuspendingOperation::Deadline() const + template auto consume_Windows_ApplicationModel_ISuspendingOperation::Deadline() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ISuspendingOperation)->get_Deadline(put_abi(value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Data.Html.h b/internal/platform/implementation/windows/generated/winrt/Windows.Data.Html.h index 28e60242..60d118c4 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Data.Html.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Data.Html.h @@ -1,15 +1,15 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Html_H #define WINRT_Windows_Data_Html_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Data.Html.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Html_IHtmlUtilities::ConvertToText(param::hstring const& html) const + template auto consume_Windows_Data_Html_IHtmlUtilities::ConvertToText(param::hstring const& html) const { void* text{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Html::IHtmlUtilities)->ConvertToText(*(void**)(&html), &text)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Data.Json.h b/internal/platform/implementation/windows/generated/winrt/Windows.Data.Json.h index 00d33264..decebd32 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Data.Json.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Data.Json.h @@ -1,225 +1,225 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Json_H #define WINRT_Windows_Data_Json_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Data.Json.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonObject) consume_Windows_Data_Json_IJsonArray::GetObjectAt(uint32_t index) const + template auto consume_Windows_Data_Json_IJsonArray::GetObjectAt(uint32_t index) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonArray)->GetObjectAt(index, &returnValue)); return winrt::Windows::Data::Json::JsonObject{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonArray) consume_Windows_Data_Json_IJsonArray::GetArrayAt(uint32_t index) const + template auto consume_Windows_Data_Json_IJsonArray::GetArrayAt(uint32_t index) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonArray)->GetArrayAt(index, &returnValue)); return winrt::Windows::Data::Json::JsonArray{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Json_IJsonArray::GetStringAt(uint32_t index) const + template auto consume_Windows_Data_Json_IJsonArray::GetStringAt(uint32_t index) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonArray)->GetStringAt(index, &returnValue)); return hstring{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Data_Json_IJsonArray::GetNumberAt(uint32_t index) const + template auto consume_Windows_Data_Json_IJsonArray::GetNumberAt(uint32_t index) const { double returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonArray)->GetNumberAt(index, &returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Json_IJsonArray::GetBooleanAt(uint32_t index) const + template auto consume_Windows_Data_Json_IJsonArray::GetBooleanAt(uint32_t index) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonArray)->GetBooleanAt(index, &returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonArray) consume_Windows_Data_Json_IJsonArrayStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Data_Json_IJsonArrayStatics::Parse(param::hstring const& input) const { void* jsonArray{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonArrayStatics)->Parse(*(void**)(&input), &jsonArray)); return winrt::Windows::Data::Json::JsonArray{ jsonArray, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Json_IJsonArrayStatics::TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonArray& result) const + template auto consume_Windows_Data_Json_IJsonArrayStatics::TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonArray& result) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonArrayStatics)->TryParse(*(void**)(&input), impl::bind_out(result), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonErrorStatus) consume_Windows_Data_Json_IJsonErrorStatics2::GetJsonStatus(int32_t hresult) const + template auto consume_Windows_Data_Json_IJsonErrorStatics2::GetJsonStatus(int32_t hresult) const { winrt::Windows::Data::Json::JsonErrorStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonErrorStatics2)->GetJsonStatus(hresult, reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) consume_Windows_Data_Json_IJsonObject::GetNamedValue(param::hstring const& name) const + template auto consume_Windows_Data_Json_IJsonObject::GetNamedValue(param::hstring const& name) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonObject)->GetNamedValue(*(void**)(&name), &returnValue)); return winrt::Windows::Data::Json::JsonValue{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Json_IJsonObject::SetNamedValue(param::hstring const& name, winrt::Windows::Data::Json::IJsonValue const& value) const + template auto consume_Windows_Data_Json_IJsonObject::SetNamedValue(param::hstring const& name, winrt::Windows::Data::Json::IJsonValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonObject)->SetNamedValue(*(void**)(&name), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonObject) consume_Windows_Data_Json_IJsonObject::GetNamedObject(param::hstring const& name) const + template auto consume_Windows_Data_Json_IJsonObject::GetNamedObject(param::hstring const& name) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonObject)->GetNamedObject(*(void**)(&name), &returnValue)); return winrt::Windows::Data::Json::JsonObject{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonArray) consume_Windows_Data_Json_IJsonObject::GetNamedArray(param::hstring const& name) const + template auto consume_Windows_Data_Json_IJsonObject::GetNamedArray(param::hstring const& name) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonObject)->GetNamedArray(*(void**)(&name), &returnValue)); return winrt::Windows::Data::Json::JsonArray{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Json_IJsonObject::GetNamedString(param::hstring const& name) const + template auto consume_Windows_Data_Json_IJsonObject::GetNamedString(param::hstring const& name) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonObject)->GetNamedString(*(void**)(&name), &returnValue)); return hstring{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Data_Json_IJsonObject::GetNamedNumber(param::hstring const& name) const + template auto consume_Windows_Data_Json_IJsonObject::GetNamedNumber(param::hstring const& name) const { double returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonObject)->GetNamedNumber(*(void**)(&name), &returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Json_IJsonObject::GetNamedBoolean(param::hstring const& name) const + template auto consume_Windows_Data_Json_IJsonObject::GetNamedBoolean(param::hstring const& name) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonObject)->GetNamedBoolean(*(void**)(&name), &returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonObject) consume_Windows_Data_Json_IJsonObjectStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Data_Json_IJsonObjectStatics::Parse(param::hstring const& input) const { void* jsonObject{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonObjectStatics)->Parse(*(void**)(&input), &jsonObject)); return winrt::Windows::Data::Json::JsonObject{ jsonObject, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Json_IJsonObjectStatics::TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonObject& result) const + template auto consume_Windows_Data_Json_IJsonObjectStatics::TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonObject& result) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonObjectStatics)->TryParse(*(void**)(&input), impl::bind_out(result), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) consume_Windows_Data_Json_IJsonObjectWithDefaultValues::GetNamedValue(param::hstring const& name, winrt::Windows::Data::Json::JsonValue const& defaultValue) const + template auto consume_Windows_Data_Json_IJsonObjectWithDefaultValues::GetNamedValue(param::hstring const& name, winrt::Windows::Data::Json::JsonValue const& defaultValue) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonObjectWithDefaultValues)->GetNamedValueOrDefault(*(void**)(&name), *(void**)(&defaultValue), &returnValue)); return winrt::Windows::Data::Json::JsonValue{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonObject) consume_Windows_Data_Json_IJsonObjectWithDefaultValues::GetNamedObject(param::hstring const& name, winrt::Windows::Data::Json::JsonObject const& defaultValue) const + template auto consume_Windows_Data_Json_IJsonObjectWithDefaultValues::GetNamedObject(param::hstring const& name, winrt::Windows::Data::Json::JsonObject const& defaultValue) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonObjectWithDefaultValues)->GetNamedObjectOrDefault(*(void**)(&name), *(void**)(&defaultValue), &returnValue)); return winrt::Windows::Data::Json::JsonObject{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Json_IJsonObjectWithDefaultValues::GetNamedString(param::hstring const& name, param::hstring const& defaultValue) const + template auto consume_Windows_Data_Json_IJsonObjectWithDefaultValues::GetNamedString(param::hstring const& name, param::hstring const& defaultValue) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonObjectWithDefaultValues)->GetNamedStringOrDefault(*(void**)(&name), *(void**)(&defaultValue), &returnValue)); return hstring{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonArray) consume_Windows_Data_Json_IJsonObjectWithDefaultValues::GetNamedArray(param::hstring const& name, winrt::Windows::Data::Json::JsonArray const& defaultValue) const + template auto consume_Windows_Data_Json_IJsonObjectWithDefaultValues::GetNamedArray(param::hstring const& name, winrt::Windows::Data::Json::JsonArray const& defaultValue) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonObjectWithDefaultValues)->GetNamedArrayOrDefault(*(void**)(&name), *(void**)(&defaultValue), &returnValue)); return winrt::Windows::Data::Json::JsonArray{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Data_Json_IJsonObjectWithDefaultValues::GetNamedNumber(param::hstring const& name, double defaultValue) const + template auto consume_Windows_Data_Json_IJsonObjectWithDefaultValues::GetNamedNumber(param::hstring const& name, double defaultValue) const { double returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonObjectWithDefaultValues)->GetNamedNumberOrDefault(*(void**)(&name), defaultValue, &returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Json_IJsonObjectWithDefaultValues::GetNamedBoolean(param::hstring const& name, bool defaultValue) const + template auto consume_Windows_Data_Json_IJsonObjectWithDefaultValues::GetNamedBoolean(param::hstring const& name, bool defaultValue) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonObjectWithDefaultValues)->GetNamedBooleanOrDefault(*(void**)(&name), defaultValue, &returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValueType) consume_Windows_Data_Json_IJsonValue::ValueType() const + template auto consume_Windows_Data_Json_IJsonValue::ValueType() const { winrt::Windows::Data::Json::JsonValueType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValue)->get_ValueType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Json_IJsonValue::Stringify() const + template auto consume_Windows_Data_Json_IJsonValue::Stringify() const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValue)->Stringify(&returnValue)); return hstring{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Json_IJsonValue::GetString() const + template auto consume_Windows_Data_Json_IJsonValue::GetString() const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValue)->GetString(&returnValue)); return hstring{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Data_Json_IJsonValue::GetNumber() const + template auto consume_Windows_Data_Json_IJsonValue::GetNumber() const { double returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValue)->GetNumber(&returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Json_IJsonValue::GetBoolean() const + template auto consume_Windows_Data_Json_IJsonValue::GetBoolean() const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValue)->GetBoolean(&returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonArray) consume_Windows_Data_Json_IJsonValue::GetArray() const + template auto consume_Windows_Data_Json_IJsonValue::GetArray() const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValue)->GetArray(&returnValue)); return winrt::Windows::Data::Json::JsonArray{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonObject) consume_Windows_Data_Json_IJsonValue::GetObject() const + template auto consume_Windows_Data_Json_IJsonValue::GetObject() const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValue)->GetObject(&returnValue)); return winrt::Windows::Data::Json::JsonObject{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) consume_Windows_Data_Json_IJsonValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Data_Json_IJsonValueStatics::Parse(param::hstring const& input) const { void* jsonValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValueStatics)->Parse(*(void**)(&input), &jsonValue)); return winrt::Windows::Data::Json::JsonValue{ jsonValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Json_IJsonValueStatics::TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonValue& result) const + template auto consume_Windows_Data_Json_IJsonValueStatics::TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonValue& result) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValueStatics)->TryParse(*(void**)(&input), impl::bind_out(result), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) consume_Windows_Data_Json_IJsonValueStatics::CreateBooleanValue(bool input) const + template auto consume_Windows_Data_Json_IJsonValueStatics::CreateBooleanValue(bool input) const { void* jsonValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValueStatics)->CreateBooleanValue(input, &jsonValue)); return winrt::Windows::Data::Json::JsonValue{ jsonValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) consume_Windows_Data_Json_IJsonValueStatics::CreateNumberValue(double input) const + template auto consume_Windows_Data_Json_IJsonValueStatics::CreateNumberValue(double input) const { void* jsonValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValueStatics)->CreateNumberValue(input, &jsonValue)); return winrt::Windows::Data::Json::JsonValue{ jsonValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) consume_Windows_Data_Json_IJsonValueStatics::CreateStringValue(param::hstring const& input) const + template auto consume_Windows_Data_Json_IJsonValueStatics::CreateStringValue(param::hstring const& input) const { void* jsonValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValueStatics)->CreateStringValue(*(void**)(&input), &jsonValue)); return winrt::Windows::Data::Json::JsonValue{ jsonValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) consume_Windows_Data_Json_IJsonValueStatics2::CreateNullValue() const + template auto consume_Windows_Data_Json_IJsonValueStatics2::CreateNullValue() const { void* jsonValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValueStatics2)->CreateNullValue(&jsonValue)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Data.Pdf.h b/internal/platform/implementation/windows/generated/winrt/Windows.Data.Pdf.h index 090dbbe2..beefa8c4 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Data.Pdf.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Data.Pdf.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Pdf_H #define WINRT_Windows_Data_Pdf_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Storage.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" @@ -13,183 +13,183 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Data.Pdf.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Data::Pdf::PdfPage) consume_Windows_Data_Pdf_IPdfDocument::GetPage(uint32_t pageIndex) const + template auto consume_Windows_Data_Pdf_IPdfDocument::GetPage(uint32_t pageIndex) const { void* pdfPage{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfDocument)->GetPage(pageIndex, &pdfPage)); return winrt::Windows::Data::Pdf::PdfPage{ pdfPage, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Pdf_IPdfDocument::PageCount() const + template auto consume_Windows_Data_Pdf_IPdfDocument::PageCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfDocument)->get_PageCount(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Pdf_IPdfDocument::IsPasswordProtected() const + template auto consume_Windows_Data_Pdf_IPdfDocument::IsPasswordProtected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfDocument)->get_IsPasswordProtected(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Data_Pdf_IPdfDocumentStatics::LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Data_Pdf_IPdfDocumentStatics::LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfDocumentStatics)->LoadFromFileAsync(*(void**)(&file), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Data_Pdf_IPdfDocumentStatics::LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& password) const + template auto consume_Windows_Data_Pdf_IPdfDocumentStatics::LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& password) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfDocumentStatics)->LoadFromFileWithPasswordAsync(*(void**)(&file), *(void**)(&password), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Data_Pdf_IPdfDocumentStatics::LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream) const + template auto consume_Windows_Data_Pdf_IPdfDocumentStatics::LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfDocumentStatics)->LoadFromStreamAsync(*(void**)(&inputStream), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Data_Pdf_IPdfDocumentStatics::LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream, param::hstring const& password) const + template auto consume_Windows_Data_Pdf_IPdfDocumentStatics::LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream, param::hstring const& password) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfDocumentStatics)->LoadFromStreamWithPasswordAsync(*(void**)(&inputStream), *(void**)(&password), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Data_Pdf_IPdfPage::RenderToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& outputStream) const + template auto consume_Windows_Data_Pdf_IPdfPage::RenderToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& outputStream) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPage)->RenderToStreamAsync(*(void**)(&outputStream), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Data_Pdf_IPdfPage::RenderToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& outputStream, winrt::Windows::Data::Pdf::PdfPageRenderOptions const& options) const + template auto consume_Windows_Data_Pdf_IPdfPage::RenderToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& outputStream, winrt::Windows::Data::Pdf::PdfPageRenderOptions const& options) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPage)->RenderWithOptionsToStreamAsync(*(void**)(&outputStream), *(void**)(&options), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Data_Pdf_IPdfPage::PreparePageAsync() const + template auto consume_Windows_Data_Pdf_IPdfPage::PreparePageAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPage)->PreparePageAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Pdf_IPdfPage::Index() const + template auto consume_Windows_Data_Pdf_IPdfPage::Index() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPage)->get_Index(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Data_Pdf_IPdfPage::Size() const + template auto consume_Windows_Data_Pdf_IPdfPage::Size() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPage)->get_Size(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Pdf::PdfPageDimensions) consume_Windows_Data_Pdf_IPdfPage::Dimensions() const + template auto consume_Windows_Data_Pdf_IPdfPage::Dimensions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPage)->get_Dimensions(&value)); return winrt::Windows::Data::Pdf::PdfPageDimensions{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Pdf::PdfPageRotation) consume_Windows_Data_Pdf_IPdfPage::Rotation() const + template auto consume_Windows_Data_Pdf_IPdfPage::Rotation() const { winrt::Windows::Data::Pdf::PdfPageRotation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPage)->get_Rotation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Data_Pdf_IPdfPage::PreferredZoom() const + template auto consume_Windows_Data_Pdf_IPdfPage::PreferredZoom() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPage)->get_PreferredZoom(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Data_Pdf_IPdfPageDimensions::MediaBox() const + template auto consume_Windows_Data_Pdf_IPdfPageDimensions::MediaBox() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageDimensions)->get_MediaBox(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Data_Pdf_IPdfPageDimensions::CropBox() const + template auto consume_Windows_Data_Pdf_IPdfPageDimensions::CropBox() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageDimensions)->get_CropBox(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Data_Pdf_IPdfPageDimensions::BleedBox() const + template auto consume_Windows_Data_Pdf_IPdfPageDimensions::BleedBox() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageDimensions)->get_BleedBox(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Data_Pdf_IPdfPageDimensions::TrimBox() const + template auto consume_Windows_Data_Pdf_IPdfPageDimensions::TrimBox() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageDimensions)->get_TrimBox(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Data_Pdf_IPdfPageDimensions::ArtBox() const + template auto consume_Windows_Data_Pdf_IPdfPageDimensions::ArtBox() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageDimensions)->get_ArtBox(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Data_Pdf_IPdfPageRenderOptions::SourceRect() const + template auto consume_Windows_Data_Pdf_IPdfPageRenderOptions::SourceRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->get_SourceRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Pdf_IPdfPageRenderOptions::SourceRect(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_Data_Pdf_IPdfPageRenderOptions::SourceRect(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->put_SourceRect(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Pdf_IPdfPageRenderOptions::DestinationWidth() const + template auto consume_Windows_Data_Pdf_IPdfPageRenderOptions::DestinationWidth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->get_DestinationWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Pdf_IPdfPageRenderOptions::DestinationWidth(uint32_t value) const + template auto consume_Windows_Data_Pdf_IPdfPageRenderOptions::DestinationWidth(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->put_DestinationWidth(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Pdf_IPdfPageRenderOptions::DestinationHeight() const + template auto consume_Windows_Data_Pdf_IPdfPageRenderOptions::DestinationHeight() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->get_DestinationHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Pdf_IPdfPageRenderOptions::DestinationHeight(uint32_t value) const + template auto consume_Windows_Data_Pdf_IPdfPageRenderOptions::DestinationHeight(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->put_DestinationHeight(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Data_Pdf_IPdfPageRenderOptions::BackgroundColor() const + template auto consume_Windows_Data_Pdf_IPdfPageRenderOptions::BackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->get_BackgroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Pdf_IPdfPageRenderOptions::BackgroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Data_Pdf_IPdfPageRenderOptions::BackgroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->put_BackgroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Pdf_IPdfPageRenderOptions::IsIgnoringHighContrast() const + template auto consume_Windows_Data_Pdf_IPdfPageRenderOptions::IsIgnoringHighContrast() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->get_IsIgnoringHighContrast(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Pdf_IPdfPageRenderOptions::IsIgnoringHighContrast(bool value) const + template auto consume_Windows_Data_Pdf_IPdfPageRenderOptions::IsIgnoringHighContrast(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->put_IsIgnoringHighContrast(value)); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Data_Pdf_IPdfPageRenderOptions::BitmapEncoderId() const + template auto consume_Windows_Data_Pdf_IPdfPageRenderOptions::BitmapEncoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->get_BitmapEncoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Pdf_IPdfPageRenderOptions::BitmapEncoderId(winrt::guid const& value) const + template auto consume_Windows_Data_Pdf_IPdfPageRenderOptions::BitmapEncoderId(winrt::guid const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->put_BitmapEncoderId(impl::bind_in(value))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Data.Text.h b/internal/platform/implementation/windows/generated/winrt/Windows.Data.Text.h index 440d7f36..f4b55f77 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Data.Text.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Data.Text.h @@ -1,364 +1,364 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Text_H #define WINRT_Windows_Data_Text_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.UI.Text.Core.2.h" #include "winrt/impl/Windows.Data.Text.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextSegment) consume_Windows_Data_Text_IAlternateWordForm::SourceTextSegment() const + template auto consume_Windows_Data_Text_IAlternateWordForm::SourceTextSegment() const { winrt::Windows::Data::Text::TextSegment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IAlternateWordForm)->get_SourceTextSegment(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_IAlternateWordForm::AlternateText() const + template auto consume_Windows_Data_Text_IAlternateWordForm::AlternateText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IAlternateWordForm)->get_AlternateText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Text::AlternateNormalizationFormat) consume_Windows_Data_Text_IAlternateWordForm::NormalizationFormat() const + template auto consume_Windows_Data_Text_IAlternateWordForm::NormalizationFormat() const { winrt::Windows::Data::Text::AlternateNormalizationFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IAlternateWordForm)->get_NormalizationFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_ISelectableWordSegment::Text() const + template auto consume_Windows_Data_Text_ISelectableWordSegment::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ISelectableWordSegment)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextSegment) consume_Windows_Data_Text_ISelectableWordSegment::SourceTextSegment() const + template auto consume_Windows_Data_Text_ISelectableWordSegment::SourceTextSegment() const { winrt::Windows::Data::Text::TextSegment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ISelectableWordSegment)->get_SourceTextSegment(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_ISelectableWordsSegmenter::ResolvedLanguage() const + template auto consume_Windows_Data_Text_ISelectableWordsSegmenter::ResolvedLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ISelectableWordsSegmenter)->get_ResolvedLanguage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Text::SelectableWordSegment) consume_Windows_Data_Text_ISelectableWordsSegmenter::GetTokenAt(param::hstring const& text, uint32_t startIndex) const + template auto consume_Windows_Data_Text_ISelectableWordsSegmenter::GetTokenAt(param::hstring const& text, uint32_t startIndex) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ISelectableWordsSegmenter)->GetTokenAt(*(void**)(&text), startIndex, &result)); return winrt::Windows::Data::Text::SelectableWordSegment{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Data_Text_ISelectableWordsSegmenter::GetTokens(param::hstring const& text) const + template auto consume_Windows_Data_Text_ISelectableWordsSegmenter::GetTokens(param::hstring const& text) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ISelectableWordsSegmenter)->GetTokens(*(void**)(&text), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Text_ISelectableWordsSegmenter::Tokenize(param::hstring const& text, uint32_t startIndex, winrt::Windows::Data::Text::SelectableWordSegmentsTokenizingHandler const& handler) const + template auto consume_Windows_Data_Text_ISelectableWordsSegmenter::Tokenize(param::hstring const& text, uint32_t startIndex, winrt::Windows::Data::Text::SelectableWordSegmentsTokenizingHandler const& handler) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ISelectableWordsSegmenter)->Tokenize(*(void**)(&text), startIndex, *(void**)(&handler))); } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Text::SelectableWordsSegmenter) consume_Windows_Data_Text_ISelectableWordsSegmenterFactory::CreateWithLanguage(param::hstring const& language) const + template auto consume_Windows_Data_Text_ISelectableWordsSegmenterFactory::CreateWithLanguage(param::hstring const& language) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ISelectableWordsSegmenterFactory)->CreateWithLanguage(*(void**)(&language), &result)); return winrt::Windows::Data::Text::SelectableWordsSegmenter{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Data_Text_ISemanticTextQuery::Find(param::hstring const& content) const + template auto consume_Windows_Data_Text_ISemanticTextQuery::Find(param::hstring const& content) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ISemanticTextQuery)->Find(*(void**)(&content), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Data_Text_ISemanticTextQuery::FindInProperty(param::hstring const& propertyContent, param::hstring const& propertyName) const + template auto consume_Windows_Data_Text_ISemanticTextQuery::FindInProperty(param::hstring const& propertyContent, param::hstring const& propertyName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ISemanticTextQuery)->FindInProperty(*(void**)(&propertyContent), *(void**)(&propertyName), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Text::SemanticTextQuery) consume_Windows_Data_Text_ISemanticTextQueryFactory::Create(param::hstring const& aqsFilter) const + template auto consume_Windows_Data_Text_ISemanticTextQueryFactory::Create(param::hstring const& aqsFilter) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ISemanticTextQueryFactory)->Create(*(void**)(&aqsFilter), &result)); return winrt::Windows::Data::Text::SemanticTextQuery{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Text::SemanticTextQuery) consume_Windows_Data_Text_ISemanticTextQueryFactory::CreateWithLanguage(param::hstring const& aqsFilter, param::hstring const& filterLanguage) const + template auto consume_Windows_Data_Text_ISemanticTextQueryFactory::CreateWithLanguage(param::hstring const& aqsFilter, param::hstring const& filterLanguage) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ISemanticTextQueryFactory)->CreateWithLanguage(*(void**)(&aqsFilter), *(void**)(&filterLanguage), &result)); return winrt::Windows::Data::Text::SemanticTextQuery{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_ITextConversionGenerator::ResolvedLanguage() const + template auto consume_Windows_Data_Text_ITextConversionGenerator::ResolvedLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextConversionGenerator)->get_ResolvedLanguage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_ITextConversionGenerator::LanguageAvailableButNotInstalled() const + template auto consume_Windows_Data_Text_ITextConversionGenerator::LanguageAvailableButNotInstalled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextConversionGenerator)->get_LanguageAvailableButNotInstalled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Data_Text_ITextConversionGenerator::GetCandidatesAsync(param::hstring const& input) const + template auto consume_Windows_Data_Text_ITextConversionGenerator::GetCandidatesAsync(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextConversionGenerator)->GetCandidatesAsync(*(void**)(&input), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Data_Text_ITextConversionGenerator::GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates) const + template auto consume_Windows_Data_Text_ITextConversionGenerator::GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextConversionGenerator)->GetCandidatesWithMaxCountAsync(*(void**)(&input), maxCandidates, &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextConversionGenerator) consume_Windows_Data_Text_ITextConversionGeneratorFactory::Create(param::hstring const& languageTag) const + template auto consume_Windows_Data_Text_ITextConversionGeneratorFactory::Create(param::hstring const& languageTag) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextConversionGeneratorFactory)->Create(*(void**)(&languageTag), &result)); return winrt::Windows::Data::Text::TextConversionGenerator{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_ITextPhoneme::DisplayText() const + template auto consume_Windows_Data_Text_ITextPhoneme::DisplayText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextPhoneme)->get_DisplayText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_ITextPhoneme::ReadingText() const + template auto consume_Windows_Data_Text_ITextPhoneme::ReadingText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextPhoneme)->get_ReadingText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_ITextPredictionGenerator::ResolvedLanguage() const + template auto consume_Windows_Data_Text_ITextPredictionGenerator::ResolvedLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextPredictionGenerator)->get_ResolvedLanguage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_ITextPredictionGenerator::LanguageAvailableButNotInstalled() const + template auto consume_Windows_Data_Text_ITextPredictionGenerator::LanguageAvailableButNotInstalled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextPredictionGenerator)->get_LanguageAvailableButNotInstalled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Data_Text_ITextPredictionGenerator::GetCandidatesAsync(param::hstring const& input) const + template auto consume_Windows_Data_Text_ITextPredictionGenerator::GetCandidatesAsync(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextPredictionGenerator)->GetCandidatesAsync(*(void**)(&input), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Data_Text_ITextPredictionGenerator::GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates) const + template auto consume_Windows_Data_Text_ITextPredictionGenerator::GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextPredictionGenerator)->GetCandidatesWithMaxCountAsync(*(void**)(&input), maxCandidates, &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Data_Text_ITextPredictionGenerator2::GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates, winrt::Windows::Data::Text::TextPredictionOptions const& predictionOptions, param::async_iterable const& previousStrings) const + template auto consume_Windows_Data_Text_ITextPredictionGenerator2::GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates, winrt::Windows::Data::Text::TextPredictionOptions const& predictionOptions, param::async_iterable const& previousStrings) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextPredictionGenerator2)->GetCandidatesWithParametersAsync(*(void**)(&input), maxCandidates, static_cast(predictionOptions), *(void**)(&previousStrings), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Data_Text_ITextPredictionGenerator2::GetNextWordCandidatesAsync(uint32_t maxCandidates, param::async_iterable const& previousStrings) const + template auto consume_Windows_Data_Text_ITextPredictionGenerator2::GetNextWordCandidatesAsync(uint32_t maxCandidates, param::async_iterable const& previousStrings) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextPredictionGenerator2)->GetNextWordCandidatesAsync(maxCandidates, *(void**)(&previousStrings), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextInputScope) consume_Windows_Data_Text_ITextPredictionGenerator2::InputScope() const + template auto consume_Windows_Data_Text_ITextPredictionGenerator2::InputScope() const { winrt::Windows::UI::Text::Core::CoreTextInputScope value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextPredictionGenerator2)->get_InputScope(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Text_ITextPredictionGenerator2::InputScope(winrt::Windows::UI::Text::Core::CoreTextInputScope const& value) const + template auto consume_Windows_Data_Text_ITextPredictionGenerator2::InputScope(winrt::Windows::UI::Text::Core::CoreTextInputScope const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextPredictionGenerator2)->put_InputScope(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextPredictionGenerator) consume_Windows_Data_Text_ITextPredictionGeneratorFactory::Create(param::hstring const& languageTag) const + template auto consume_Windows_Data_Text_ITextPredictionGeneratorFactory::Create(param::hstring const& languageTag) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextPredictionGeneratorFactory)->Create(*(void**)(&languageTag), &result)); return winrt::Windows::Data::Text::TextPredictionGenerator{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_ITextReverseConversionGenerator::ResolvedLanguage() const + template auto consume_Windows_Data_Text_ITextReverseConversionGenerator::ResolvedLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextReverseConversionGenerator)->get_ResolvedLanguage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_ITextReverseConversionGenerator::LanguageAvailableButNotInstalled() const + template auto consume_Windows_Data_Text_ITextReverseConversionGenerator::LanguageAvailableButNotInstalled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextReverseConversionGenerator)->get_LanguageAvailableButNotInstalled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Data_Text_ITextReverseConversionGenerator::ConvertBackAsync(param::hstring const& input) const + template auto consume_Windows_Data_Text_ITextReverseConversionGenerator::ConvertBackAsync(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextReverseConversionGenerator)->ConvertBackAsync(*(void**)(&input), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Data_Text_ITextReverseConversionGenerator2::GetPhonemesAsync(param::hstring const& input) const + template auto consume_Windows_Data_Text_ITextReverseConversionGenerator2::GetPhonemesAsync(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextReverseConversionGenerator2)->GetPhonemesAsync(*(void**)(&input), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextReverseConversionGenerator) consume_Windows_Data_Text_ITextReverseConversionGeneratorFactory::Create(param::hstring const& languageTag) const + template auto consume_Windows_Data_Text_ITextReverseConversionGeneratorFactory::Create(param::hstring const& languageTag) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextReverseConversionGeneratorFactory)->Create(*(void**)(&languageTag), &result)); return winrt::Windows::Data::Text::TextReverseConversionGenerator{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Text_IUnicodeCharactersStatics::GetCodepointFromSurrogatePair(uint32_t highSurrogate, uint32_t lowSurrogate) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::GetCodepointFromSurrogatePair(uint32_t highSurrogate, uint32_t lowSurrogate) const { uint32_t codepoint{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->GetCodepointFromSurrogatePair(highSurrogate, lowSurrogate, &codepoint)); return codepoint; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Text_IUnicodeCharactersStatics::GetSurrogatePairFromCodepoint(uint32_t codepoint, char16_t& highSurrogate, char16_t& lowSurrogate) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::GetSurrogatePairFromCodepoint(uint32_t codepoint, char16_t& highSurrogate, char16_t& lowSurrogate) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->GetSurrogatePairFromCodepoint(codepoint, &highSurrogate, &lowSurrogate)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics::IsHighSurrogate(uint32_t codepoint) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::IsHighSurrogate(uint32_t codepoint) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsHighSurrogate(codepoint, &value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics::IsLowSurrogate(uint32_t codepoint) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::IsLowSurrogate(uint32_t codepoint) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsLowSurrogate(codepoint, &value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics::IsSupplementary(uint32_t codepoint) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::IsSupplementary(uint32_t codepoint) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsSupplementary(codepoint, &value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics::IsNoncharacter(uint32_t codepoint) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::IsNoncharacter(uint32_t codepoint) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsNoncharacter(codepoint, &value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics::IsWhitespace(uint32_t codepoint) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::IsWhitespace(uint32_t codepoint) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsWhitespace(codepoint, &value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics::IsAlphabetic(uint32_t codepoint) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::IsAlphabetic(uint32_t codepoint) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsAlphabetic(codepoint, &value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics::IsCased(uint32_t codepoint) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::IsCased(uint32_t codepoint) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsCased(codepoint, &value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics::IsUppercase(uint32_t codepoint) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::IsUppercase(uint32_t codepoint) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsUppercase(codepoint, &value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics::IsLowercase(uint32_t codepoint) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::IsLowercase(uint32_t codepoint) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsLowercase(codepoint, &value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics::IsIdStart(uint32_t codepoint) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::IsIdStart(uint32_t codepoint) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsIdStart(codepoint, &value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics::IsIdContinue(uint32_t codepoint) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::IsIdContinue(uint32_t codepoint) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsIdContinue(codepoint, &value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics::IsGraphemeBase(uint32_t codepoint) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::IsGraphemeBase(uint32_t codepoint) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsGraphemeBase(codepoint, &value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics::IsGraphemeExtend(uint32_t codepoint) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::IsGraphemeExtend(uint32_t codepoint) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsGraphemeExtend(codepoint, &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Text::UnicodeNumericType) consume_Windows_Data_Text_IUnicodeCharactersStatics::GetNumericType(uint32_t codepoint) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::GetNumericType(uint32_t codepoint) const { winrt::Windows::Data::Text::UnicodeNumericType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->GetNumericType(codepoint, reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Text::UnicodeGeneralCategory) consume_Windows_Data_Text_IUnicodeCharactersStatics::GetGeneralCategory(uint32_t codepoint) const + template auto consume_Windows_Data_Text_IUnicodeCharactersStatics::GetGeneralCategory(uint32_t codepoint) const { winrt::Windows::Data::Text::UnicodeGeneralCategory value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->GetGeneralCategory(codepoint, reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_IWordSegment::Text() const + template auto consume_Windows_Data_Text_IWordSegment::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IWordSegment)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextSegment) consume_Windows_Data_Text_IWordSegment::SourceTextSegment() const + template auto consume_Windows_Data_Text_IWordSegment::SourceTextSegment() const { winrt::Windows::Data::Text::TextSegment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IWordSegment)->get_SourceTextSegment(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Data_Text_IWordSegment::AlternateForms() const + template auto consume_Windows_Data_Text_IWordSegment::AlternateForms() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IWordSegment)->get_AlternateForms(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_IWordsSegmenter::ResolvedLanguage() const + template auto consume_Windows_Data_Text_IWordsSegmenter::ResolvedLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IWordsSegmenter)->get_ResolvedLanguage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Text::WordSegment) consume_Windows_Data_Text_IWordsSegmenter::GetTokenAt(param::hstring const& text, uint32_t startIndex) const + template auto consume_Windows_Data_Text_IWordsSegmenter::GetTokenAt(param::hstring const& text, uint32_t startIndex) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IWordsSegmenter)->GetTokenAt(*(void**)(&text), startIndex, &result)); return winrt::Windows::Data::Text::WordSegment{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Data_Text_IWordsSegmenter::GetTokens(param::hstring const& text) const + template auto consume_Windows_Data_Text_IWordsSegmenter::GetTokens(param::hstring const& text) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IWordsSegmenter)->GetTokens(*(void**)(&text), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Text_IWordsSegmenter::Tokenize(param::hstring const& text, uint32_t startIndex, winrt::Windows::Data::Text::WordSegmentsTokenizingHandler const& handler) const + template auto consume_Windows_Data_Text_IWordsSegmenter::Tokenize(param::hstring const& text, uint32_t startIndex, winrt::Windows::Data::Text::WordSegmentsTokenizingHandler const& handler) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IWordsSegmenter)->Tokenize(*(void**)(&text), startIndex, *(void**)(&handler))); } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Text::WordsSegmenter) consume_Windows_Data_Text_IWordsSegmenterFactory::CreateWithLanguage(param::hstring const& language) const + template auto consume_Windows_Data_Text_IWordsSegmenterFactory::CreateWithLanguage(param::hstring const& language) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IWordsSegmenterFactory)->CreateWithLanguage(*(void**)(&language), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Data.Xml.Dom.h b/internal/platform/implementation/windows/generated/winrt/Windows.Data.Xml.Dom.h index 583cd136..9b8126de 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Data.Xml.Dom.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Data.Xml.Dom.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Xml_Dom_H #define WINRT_Windows_Data_Xml_Dom_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Storage.2.h" @@ -13,637 +13,637 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Data.Xml.Dom.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IDtdEntity::PublicId() const + template auto consume_Windows_Data_Xml_Dom_IDtdEntity::PublicId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IDtdEntity)->get_PublicId(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IDtdEntity::SystemId() const + template auto consume_Windows_Data_Xml_Dom_IDtdEntity::SystemId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IDtdEntity)->get_SystemId(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IDtdEntity::NotationName() const + template auto consume_Windows_Data_Xml_Dom_IDtdEntity::NotationName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IDtdEntity)->get_NotationName(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IDtdNotation::PublicId() const + template auto consume_Windows_Data_Xml_Dom_IDtdNotation::PublicId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IDtdNotation)->get_PublicId(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IDtdNotation::SystemId() const + template auto consume_Windows_Data_Xml_Dom_IDtdNotation::SystemId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IDtdNotation)->get_SystemId(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlAttribute::Name() const + template auto consume_Windows_Data_Xml_Dom_IXmlAttribute::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlAttribute)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Xml_Dom_IXmlAttribute::Specified() const + template auto consume_Windows_Data_Xml_Dom_IXmlAttribute::Specified() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlAttribute)->get_Specified(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlAttribute::Value() const + template auto consume_Windows_Data_Xml_Dom_IXmlAttribute::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlAttribute)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlAttribute::Value(param::hstring const& value) const + template auto consume_Windows_Data_Xml_Dom_IXmlAttribute::Value(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlAttribute)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlCharacterData::Data() const + template auto consume_Windows_Data_Xml_Dom_IXmlCharacterData::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlCharacterData)->get_Data(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlCharacterData::Data(param::hstring const& value) const + template auto consume_Windows_Data_Xml_Dom_IXmlCharacterData::Data(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlCharacterData)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Xml_Dom_IXmlCharacterData::Length() const + template auto consume_Windows_Data_Xml_Dom_IXmlCharacterData::Length() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlCharacterData)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlCharacterData::SubstringData(uint32_t offset, uint32_t count) const + template auto consume_Windows_Data_Xml_Dom_IXmlCharacterData::SubstringData(uint32_t offset, uint32_t count) const { void* data{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlCharacterData)->SubstringData(offset, count, &data)); return hstring{ data, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlCharacterData::AppendData(param::hstring const& data) const + template auto consume_Windows_Data_Xml_Dom_IXmlCharacterData::AppendData(param::hstring const& data) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlCharacterData)->AppendData(*(void**)(&data))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlCharacterData::InsertData(uint32_t offset, param::hstring const& data) const + template auto consume_Windows_Data_Xml_Dom_IXmlCharacterData::InsertData(uint32_t offset, param::hstring const& data) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlCharacterData)->InsertData(offset, *(void**)(&data))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlCharacterData::DeleteData(uint32_t offset, uint32_t count) const + template auto consume_Windows_Data_Xml_Dom_IXmlCharacterData::DeleteData(uint32_t offset, uint32_t count) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlCharacterData)->DeleteData(offset, count)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlCharacterData::ReplaceData(uint32_t offset, uint32_t count, param::hstring const& data) const + template auto consume_Windows_Data_Xml_Dom_IXmlCharacterData::ReplaceData(uint32_t offset, uint32_t count, param::hstring const& data) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlCharacterData)->ReplaceData(offset, count, *(void**)(&data))); } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocumentType) consume_Windows_Data_Xml_Dom_IXmlDocument::Doctype() const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::Doctype() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->get_Doctype(&value)); return winrt::Windows::Data::Xml::Dom::XmlDocumentType{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDomImplementation) consume_Windows_Data_Xml_Dom_IXmlDocument::Implementation() const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::Implementation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->get_Implementation(&value)); return winrt::Windows::Data::Xml::Dom::XmlDomImplementation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlElement) consume_Windows_Data_Xml_Dom_IXmlDocument::DocumentElement() const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::DocumentElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->get_DocumentElement(&value)); return winrt::Windows::Data::Xml::Dom::XmlElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlElement) consume_Windows_Data_Xml_Dom_IXmlDocument::CreateElement(param::hstring const& tagName) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::CreateElement(param::hstring const& tagName) const { void* newElement{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->CreateElement(*(void**)(&tagName), &newElement)); return winrt::Windows::Data::Xml::Dom::XmlElement{ newElement, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocumentFragment) consume_Windows_Data_Xml_Dom_IXmlDocument::CreateDocumentFragment() const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::CreateDocumentFragment() const { void* newDocumentFragment{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->CreateDocumentFragment(&newDocumentFragment)); return winrt::Windows::Data::Xml::Dom::XmlDocumentFragment{ newDocumentFragment, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlText) consume_Windows_Data_Xml_Dom_IXmlDocument::CreateTextNode(param::hstring const& data) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::CreateTextNode(param::hstring const& data) const { void* newTextNode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->CreateTextNode(*(void**)(&data), &newTextNode)); return winrt::Windows::Data::Xml::Dom::XmlText{ newTextNode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlComment) consume_Windows_Data_Xml_Dom_IXmlDocument::CreateComment(param::hstring const& data) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::CreateComment(param::hstring const& data) const { void* newComment{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->CreateComment(*(void**)(&data), &newComment)); return winrt::Windows::Data::Xml::Dom::XmlComment{ newComment, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlProcessingInstruction) consume_Windows_Data_Xml_Dom_IXmlDocument::CreateProcessingInstruction(param::hstring const& target, param::hstring const& data) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::CreateProcessingInstruction(param::hstring const& target, param::hstring const& data) const { void* newProcessingInstruction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->CreateProcessingInstruction(*(void**)(&target), *(void**)(&data), &newProcessingInstruction)); return winrt::Windows::Data::Xml::Dom::XmlProcessingInstruction{ newProcessingInstruction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) consume_Windows_Data_Xml_Dom_IXmlDocument::CreateAttribute(param::hstring const& name) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::CreateAttribute(param::hstring const& name) const { void* newAttribute{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->CreateAttribute(*(void**)(&name), &newAttribute)); return winrt::Windows::Data::Xml::Dom::XmlAttribute{ newAttribute, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlEntityReference) consume_Windows_Data_Xml_Dom_IXmlDocument::CreateEntityReference(param::hstring const& name) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::CreateEntityReference(param::hstring const& name) const { void* newEntityReference{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->CreateEntityReference(*(void**)(&name), &newEntityReference)); return winrt::Windows::Data::Xml::Dom::XmlEntityReference{ newEntityReference, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNodeList) consume_Windows_Data_Xml_Dom_IXmlDocument::GetElementsByTagName(param::hstring const& tagName) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::GetElementsByTagName(param::hstring const& tagName) const { void* elements{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->GetElementsByTagName(*(void**)(&tagName), &elements)); return winrt::Windows::Data::Xml::Dom::XmlNodeList{ elements, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlCDataSection) consume_Windows_Data_Xml_Dom_IXmlDocument::CreateCDataSection(param::hstring const& data) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::CreateCDataSection(param::hstring const& data) const { void* newCDataSection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->CreateCDataSection(*(void**)(&data), &newCDataSection)); return winrt::Windows::Data::Xml::Dom::XmlCDataSection{ newCDataSection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlDocument::DocumentUri() const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::DocumentUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->get_DocumentUri(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) consume_Windows_Data_Xml_Dom_IXmlDocument::CreateAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::CreateAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName) const { void* newAttribute{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->CreateAttributeNS(*(void**)(&namespaceUri), *(void**)(&qualifiedName), &newAttribute)); return winrt::Windows::Data::Xml::Dom::XmlAttribute{ newAttribute, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlElement) consume_Windows_Data_Xml_Dom_IXmlDocument::CreateElementNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::CreateElementNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName) const { void* newElement{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->CreateElementNS(*(void**)(&namespaceUri), *(void**)(&qualifiedName), &newElement)); return winrt::Windows::Data::Xml::Dom::XmlElement{ newElement, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlElement) consume_Windows_Data_Xml_Dom_IXmlDocument::GetElementById(param::hstring const& elementId) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::GetElementById(param::hstring const& elementId) const { void* element{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->GetElementById(*(void**)(&elementId), &element)); return winrt::Windows::Data::Xml::Dom::XmlElement{ element, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlDocument::ImportNode(winrt::Windows::Data::Xml::Dom::IXmlNode const& node, bool deep) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocument::ImportNode(winrt::Windows::Data::Xml::Dom::IXmlNode const& node, bool deep) const { void* newNode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocument)->ImportNode(*(void**)(&node), deep, &newNode)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ newNode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlDocumentIO::LoadXml(param::hstring const& xml) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocumentIO::LoadXml(param::hstring const& xml) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocumentIO)->LoadXml(*(void**)(&xml))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlDocumentIO::LoadXml(param::hstring const& xml, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocumentIO::LoadXml(param::hstring const& xml, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocumentIO)->LoadXmlWithSettings(*(void**)(&xml), *(void**)(&loadSettings))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Data_Xml_Dom_IXmlDocumentIO::SaveToFileAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocumentIO::SaveToFileAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocumentIO)->SaveToFileAsync(*(void**)(&file), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlDocumentIO2::LoadXmlFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocumentIO2::LoadXmlFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocumentIO2)->LoadXmlFromBuffer(*(void**)(&buffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlDocumentIO2::LoadXmlFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocumentIO2::LoadXmlFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocumentIO2)->LoadXmlFromBufferWithSettings(*(void**)(&buffer), *(void**)(&loadSettings))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Data_Xml_Dom_IXmlDocumentStatics::LoadFromUriAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocumentStatics::LoadFromUriAsync(winrt::Windows::Foundation::Uri const& uri) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocumentStatics)->LoadFromUriAsync(*(void**)(&uri), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Data_Xml_Dom_IXmlDocumentStatics::LoadFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocumentStatics::LoadFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocumentStatics)->LoadFromUriWithSettingsAsync(*(void**)(&uri), *(void**)(&loadSettings), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Data_Xml_Dom_IXmlDocumentStatics::LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocumentStatics::LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocumentStatics)->LoadFromFileAsync(*(void**)(&file), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Data_Xml_Dom_IXmlDocumentStatics::LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const + template auto consume_Windows_Data_Xml_Dom_IXmlDocumentStatics::LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocumentStatics)->LoadFromFileWithSettingsAsync(*(void**)(&file), *(void**)(&loadSettings), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlDocumentType::Name() const + template auto consume_Windows_Data_Xml_Dom_IXmlDocumentType::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocumentType)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNamedNodeMap) consume_Windows_Data_Xml_Dom_IXmlDocumentType::Entities() const + template auto consume_Windows_Data_Xml_Dom_IXmlDocumentType::Entities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocumentType)->get_Entities(&value)); return winrt::Windows::Data::Xml::Dom::XmlNamedNodeMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNamedNodeMap) consume_Windows_Data_Xml_Dom_IXmlDocumentType::Notations() const + template auto consume_Windows_Data_Xml_Dom_IXmlDocumentType::Notations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocumentType)->get_Notations(&value)); return winrt::Windows::Data::Xml::Dom::XmlNamedNodeMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Xml_Dom_IXmlDomImplementation::HasFeature(param::hstring const& feature, winrt::Windows::Foundation::IInspectable const& version) const + template auto consume_Windows_Data_Xml_Dom_IXmlDomImplementation::HasFeature(param::hstring const& feature, winrt::Windows::Foundation::IInspectable const& version) const { bool featureSupported{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDomImplementation)->HasFeature(*(void**)(&feature), *(void**)(&version), &featureSupported)); return featureSupported; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlElement::TagName() const + template auto consume_Windows_Data_Xml_Dom_IXmlElement::TagName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlElement)->get_TagName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlElement::GetAttribute(param::hstring const& attributeName) const + template auto consume_Windows_Data_Xml_Dom_IXmlElement::GetAttribute(param::hstring const& attributeName) const { void* attributeValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlElement)->GetAttribute(*(void**)(&attributeName), &attributeValue)); return hstring{ attributeValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlElement::SetAttribute(param::hstring const& attributeName, param::hstring const& attributeValue) const + template auto consume_Windows_Data_Xml_Dom_IXmlElement::SetAttribute(param::hstring const& attributeName, param::hstring const& attributeValue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlElement)->SetAttribute(*(void**)(&attributeName), *(void**)(&attributeValue))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlElement::RemoveAttribute(param::hstring const& attributeName) const + template auto consume_Windows_Data_Xml_Dom_IXmlElement::RemoveAttribute(param::hstring const& attributeName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlElement)->RemoveAttribute(*(void**)(&attributeName))); } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) consume_Windows_Data_Xml_Dom_IXmlElement::GetAttributeNode(param::hstring const& attributeName) const + template auto consume_Windows_Data_Xml_Dom_IXmlElement::GetAttributeNode(param::hstring const& attributeName) const { void* attributeNode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlElement)->GetAttributeNode(*(void**)(&attributeName), &attributeNode)); return winrt::Windows::Data::Xml::Dom::XmlAttribute{ attributeNode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) consume_Windows_Data_Xml_Dom_IXmlElement::SetAttributeNode(winrt::Windows::Data::Xml::Dom::XmlAttribute const& newAttribute) const + template auto consume_Windows_Data_Xml_Dom_IXmlElement::SetAttributeNode(winrt::Windows::Data::Xml::Dom::XmlAttribute const& newAttribute) const { void* previousAttribute{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlElement)->SetAttributeNode(*(void**)(&newAttribute), &previousAttribute)); return winrt::Windows::Data::Xml::Dom::XmlAttribute{ previousAttribute, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) consume_Windows_Data_Xml_Dom_IXmlElement::RemoveAttributeNode(winrt::Windows::Data::Xml::Dom::XmlAttribute const& attributeNode) const + template auto consume_Windows_Data_Xml_Dom_IXmlElement::RemoveAttributeNode(winrt::Windows::Data::Xml::Dom::XmlAttribute const& attributeNode) const { void* removedAttribute{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlElement)->RemoveAttributeNode(*(void**)(&attributeNode), &removedAttribute)); return winrt::Windows::Data::Xml::Dom::XmlAttribute{ removedAttribute, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNodeList) consume_Windows_Data_Xml_Dom_IXmlElement::GetElementsByTagName(param::hstring const& tagName) const + template auto consume_Windows_Data_Xml_Dom_IXmlElement::GetElementsByTagName(param::hstring const& tagName) const { void* elements{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlElement)->GetElementsByTagName(*(void**)(&tagName), &elements)); return winrt::Windows::Data::Xml::Dom::XmlNodeList{ elements, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlElement::SetAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName, param::hstring const& value) const + template auto consume_Windows_Data_Xml_Dom_IXmlElement::SetAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlElement)->SetAttributeNS(*(void**)(&namespaceUri), *(void**)(&qualifiedName), *(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlElement::GetAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const + template auto consume_Windows_Data_Xml_Dom_IXmlElement::GetAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlElement)->GetAttributeNS(*(void**)(&namespaceUri), *(void**)(&localName), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlElement::RemoveAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const + template auto consume_Windows_Data_Xml_Dom_IXmlElement::RemoveAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlElement)->RemoveAttributeNS(*(void**)(&namespaceUri), *(void**)(&localName))); } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) consume_Windows_Data_Xml_Dom_IXmlElement::SetAttributeNodeNS(winrt::Windows::Data::Xml::Dom::XmlAttribute const& newAttribute) const + template auto consume_Windows_Data_Xml_Dom_IXmlElement::SetAttributeNodeNS(winrt::Windows::Data::Xml::Dom::XmlAttribute const& newAttribute) const { void* previousAttribute{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlElement)->SetAttributeNodeNS(*(void**)(&newAttribute), &previousAttribute)); return winrt::Windows::Data::Xml::Dom::XmlAttribute{ previousAttribute, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) consume_Windows_Data_Xml_Dom_IXmlElement::GetAttributeNodeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const + template auto consume_Windows_Data_Xml_Dom_IXmlElement::GetAttributeNodeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const { void* previousAttribute{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlElement)->GetAttributeNodeNS(*(void**)(&namespaceUri), *(void**)(&localName), &previousAttribute)); return winrt::Windows::Data::Xml::Dom::XmlAttribute{ previousAttribute, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Xml_Dom_IXmlLoadSettings::MaxElementDepth() const + template auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings::MaxElementDepth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->get_MaxElementDepth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlLoadSettings::MaxElementDepth(uint32_t value) const + template auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings::MaxElementDepth(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->put_MaxElementDepth(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Xml_Dom_IXmlLoadSettings::ProhibitDtd() const + template auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings::ProhibitDtd() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->get_ProhibitDtd(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlLoadSettings::ProhibitDtd(bool value) const + template auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings::ProhibitDtd(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->put_ProhibitDtd(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Xml_Dom_IXmlLoadSettings::ResolveExternals() const + template auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings::ResolveExternals() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->get_ResolveExternals(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlLoadSettings::ResolveExternals(bool value) const + template auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings::ResolveExternals(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->put_ResolveExternals(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Xml_Dom_IXmlLoadSettings::ValidateOnParse() const + template auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings::ValidateOnParse() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->get_ValidateOnParse(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlLoadSettings::ValidateOnParse(bool value) const + template auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings::ValidateOnParse(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->put_ValidateOnParse(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Xml_Dom_IXmlLoadSettings::ElementContentWhiteSpace() const + template auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings::ElementContentWhiteSpace() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->get_ElementContentWhiteSpace(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlLoadSettings::ElementContentWhiteSpace(bool value) const + template auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings::ElementContentWhiteSpace(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->put_ElementContentWhiteSpace(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap::Length() const + template auto consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap::Length() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNamedNodeMap)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap::Item(uint32_t index) const + template auto consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap::Item(uint32_t index) const { void* node{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNamedNodeMap)->Item(index, &node)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ node, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap::GetNamedItem(param::hstring const& name) const + template auto consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap::GetNamedItem(param::hstring const& name) const { void* node{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNamedNodeMap)->GetNamedItem(*(void**)(&name), &node)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ node, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap::SetNamedItem(winrt::Windows::Data::Xml::Dom::IXmlNode const& node) const + template auto consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap::SetNamedItem(winrt::Windows::Data::Xml::Dom::IXmlNode const& node) const { void* previousNode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNamedNodeMap)->SetNamedItem(*(void**)(&node), &previousNode)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ previousNode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap::RemoveNamedItem(param::hstring const& name) const + template auto consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap::RemoveNamedItem(param::hstring const& name) const { void* previousNode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNamedNodeMap)->RemoveNamedItem(*(void**)(&name), &previousNode)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ previousNode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap::GetNamedItemNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& name) const + template auto consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap::GetNamedItemNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& name) const { void* node{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNamedNodeMap)->GetNamedItemNS(*(void**)(&namespaceUri), *(void**)(&name), &node)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ node, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap::RemoveNamedItemNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& name) const + template auto consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap::RemoveNamedItemNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& name) const { void* previousNode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNamedNodeMap)->RemoveNamedItemNS(*(void**)(&namespaceUri), *(void**)(&name), &previousNode)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ previousNode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap::SetNamedItemNS(winrt::Windows::Data::Xml::Dom::IXmlNode const& node) const + template auto consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap::SetNamedItemNS(winrt::Windows::Data::Xml::Dom::IXmlNode const& node) const { void* previousNode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNamedNodeMap)->SetNamedItemNS(*(void**)(&node), &previousNode)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ previousNode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IXmlNode::NodeValue() const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::NodeValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->get_NodeValue(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlNode::NodeValue(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::NodeValue(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->put_NodeValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::NodeType) consume_Windows_Data_Xml_Dom_IXmlNode::NodeType() const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::NodeType() const { winrt::Windows::Data::Xml::Dom::NodeType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->get_NodeType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlNode::NodeName() const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::NodeName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->get_NodeName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode::ParentNode() const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::ParentNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->get_ParentNode(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNodeList) consume_Windows_Data_Xml_Dom_IXmlNode::ChildNodes() const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::ChildNodes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->get_ChildNodes(&value)); return winrt::Windows::Data::Xml::Dom::XmlNodeList{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode::FirstChild() const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::FirstChild() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->get_FirstChild(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode::LastChild() const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::LastChild() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->get_LastChild(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode::PreviousSibling() const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::PreviousSibling() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->get_PreviousSibling(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode::NextSibling() const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::NextSibling() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->get_NextSibling(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNamedNodeMap) consume_Windows_Data_Xml_Dom_IXmlNode::Attributes() const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::Attributes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->get_Attributes(&value)); return winrt::Windows::Data::Xml::Dom::XmlNamedNodeMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Data_Xml_Dom_IXmlNode::HasChildNodes() const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::HasChildNodes() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->HasChildNodes(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_Data_Xml_Dom_IXmlNode::OwnerDocument() const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::OwnerDocument() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->get_OwnerDocument(&value)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode::InsertBefore(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild, winrt::Windows::Data::Xml::Dom::IXmlNode const& referenceChild) const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::InsertBefore(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild, winrt::Windows::Data::Xml::Dom::IXmlNode const& referenceChild) const { void* insertedChild{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->InsertBefore(*(void**)(&newChild), *(void**)(&referenceChild), &insertedChild)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ insertedChild, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode::ReplaceChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild, winrt::Windows::Data::Xml::Dom::IXmlNode const& referenceChild) const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::ReplaceChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild, winrt::Windows::Data::Xml::Dom::IXmlNode const& referenceChild) const { void* previousChild{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->ReplaceChild(*(void**)(&newChild), *(void**)(&referenceChild), &previousChild)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ previousChild, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode::RemoveChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& childNode) const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::RemoveChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& childNode) const { void* removedChild{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->RemoveChild(*(void**)(&childNode), &removedChild)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ removedChild, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode::AppendChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild) const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::AppendChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild) const { void* appendedChild{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->AppendChild(*(void**)(&newChild), &appendedChild)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ appendedChild, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode::CloneNode(bool deep) const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::CloneNode(bool deep) const { void* newNode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->CloneNode(deep, &newNode)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ newNode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IXmlNode::NamespaceUri() const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::NamespaceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->get_NamespaceUri(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IXmlNode::LocalName() const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::LocalName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->get_LocalName(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IXmlNode::Prefix() const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::Prefix() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->get_Prefix(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlNode::Normalize() const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::Normalize() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->Normalize()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlNode::Prefix(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_Data_Xml_Dom_IXmlNode::Prefix(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->put_Prefix(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Xml_Dom_IXmlNodeList::Length() const + template auto consume_Windows_Data_Xml_Dom_IXmlNodeList::Length() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNodeList)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNodeList::Item(uint32_t index) const + template auto consume_Windows_Data_Xml_Dom_IXmlNodeList::Item(uint32_t index) const { void* node{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNodeList)->Item(index, &node)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ node, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNodeSelector::SelectSingleNode(param::hstring const& xpath) const + template auto consume_Windows_Data_Xml_Dom_IXmlNodeSelector::SelectSingleNode(param::hstring const& xpath) const { void* node{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNodeSelector)->SelectSingleNode(*(void**)(&xpath), &node)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ node, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNodeList) consume_Windows_Data_Xml_Dom_IXmlNodeSelector::SelectNodes(param::hstring const& xpath) const + template auto consume_Windows_Data_Xml_Dom_IXmlNodeSelector::SelectNodes(param::hstring const& xpath) const { void* nodelist{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNodeSelector)->SelectNodes(*(void**)(&xpath), &nodelist)); return winrt::Windows::Data::Xml::Dom::XmlNodeList{ nodelist, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNodeSelector::SelectSingleNodeNS(param::hstring const& xpath, winrt::Windows::Foundation::IInspectable const& namespaces) const + template auto consume_Windows_Data_Xml_Dom_IXmlNodeSelector::SelectSingleNodeNS(param::hstring const& xpath, winrt::Windows::Foundation::IInspectable const& namespaces) const { void* node{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNodeSelector)->SelectSingleNodeNS(*(void**)(&xpath), *(void**)(&namespaces), &node)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ node, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNodeList) consume_Windows_Data_Xml_Dom_IXmlNodeSelector::SelectNodesNS(param::hstring const& xpath, winrt::Windows::Foundation::IInspectable const& namespaces) const + template auto consume_Windows_Data_Xml_Dom_IXmlNodeSelector::SelectNodesNS(param::hstring const& xpath, winrt::Windows::Foundation::IInspectable const& namespaces) const { void* nodelist{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNodeSelector)->SelectNodesNS(*(void**)(&xpath), *(void**)(&namespaces), &nodelist)); return winrt::Windows::Data::Xml::Dom::XmlNodeList{ nodelist, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlNodeSerializer::GetXml() const + template auto consume_Windows_Data_Xml_Dom_IXmlNodeSerializer::GetXml() const { void* outerXml{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNodeSerializer)->GetXml(&outerXml)); return hstring{ outerXml, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlNodeSerializer::InnerText() const + template auto consume_Windows_Data_Xml_Dom_IXmlNodeSerializer::InnerText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNodeSerializer)->get_InnerText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlNodeSerializer::InnerText(param::hstring const& value) const + template auto consume_Windows_Data_Xml_Dom_IXmlNodeSerializer::InnerText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNodeSerializer)->put_InnerText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction::Target() const + template auto consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction::Target() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlProcessingInstruction)->get_Target(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction::Data() const + template auto consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlProcessingInstruction)->get_Data(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction::Data(param::hstring const& value) const + template auto consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction::Data(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlProcessingInstruction)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlText) consume_Windows_Data_Xml_Dom_IXmlText::SplitText(uint32_t offset) const + template auto consume_Windows_Data_Xml_Dom_IXmlText::SplitText(uint32_t offset) const { void* secondPart{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlText)->SplitText(offset, &secondPart)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Data.Xml.Xsl.h b/internal/platform/implementation/windows/generated/winrt/Windows.Data.Xml.Xsl.h index 8ae25ebc..90464efc 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Data.Xml.Xsl.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Data.Xml.Xsl.h @@ -1,28 +1,28 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Xml_Xsl_H #define WINRT_Windows_Data_Xml_Xsl_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Data.Xml.Dom.2.h" #include "winrt/impl/Windows.Data.Xml.Xsl.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Xsl_IXsltProcessor::TransformToString(winrt::Windows::Data::Xml::Dom::IXmlNode const& inputNode) const + template auto consume_Windows_Data_Xml_Xsl_IXsltProcessor::TransformToString(winrt::Windows::Data::Xml::Dom::IXmlNode const& inputNode) const { void* output{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Xsl::IXsltProcessor)->TransformToString(*(void**)(&inputNode), &output)); return hstring{ output, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_Data_Xml_Xsl_IXsltProcessor2::TransformToDocument(winrt::Windows::Data::Xml::Dom::IXmlNode const& inputNode) const + template auto consume_Windows_Data_Xml_Xsl_IXsltProcessor2::TransformToDocument(winrt::Windows::Data::Xml::Dom::IXmlNode const& inputNode) const { void* output{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Xsl::IXsltProcessor2)->TransformToDocument(*(void**)(&inputNode), &output)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ output, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Xsl::XsltProcessor) consume_Windows_Data_Xml_Xsl_IXsltProcessorFactory::CreateInstance(winrt::Windows::Data::Xml::Dom::XmlDocument const& document) const + template auto consume_Windows_Data_Xml_Xsl_IXsltProcessorFactory::CreateInstance(winrt::Windows::Data::Xml::Dom::XmlDocument const& document) const { void* xsltProcessor{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Xsl::IXsltProcessorFactory)->CreateInstance(*(void**)(&document), &xsltProcessor)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Adc.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Adc.Provider.h index da9fc1f9..5d8a00c9 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Adc.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Adc.Provider.h @@ -1,71 +1,71 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Adc_Provider_H #define WINRT_Windows_Devices_Adc_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.Adc.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Devices.Adc.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::ChannelCount() const + template auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::ChannelCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->get_ChannelCount(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::ResolutionInBits() const + template auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::ResolutionInBits() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->get_ResolutionInBits(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::MinValue() const + template auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::MinValue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->get_MinValue(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::MaxValue() const + template auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::MaxValue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->get_MaxValue(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::ChannelMode() const + template auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::ChannelMode() const { winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->get_ChannelMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::ChannelMode(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode const& value) const + template auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::ChannelMode(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->put_ChannelMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::IsChannelModeSupported(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode const& channelMode) const + template auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::IsChannelModeSupported(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode const& channelMode) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->IsChannelModeSupported(static_cast(channelMode), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::AcquireChannel(int32_t channel) const + template auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::AcquireChannel(int32_t channel) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->AcquireChannel(channel)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::ReleaseChannel(int32_t channel) const + template auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::ReleaseChannel(int32_t channel) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->ReleaseChannel(channel)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::ReadValue(int32_t channelNumber) const + template auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider::ReadValue(int32_t channelNumber) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->ReadValue(channelNumber, &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Adc_Provider_IAdcProvider::GetControllers() const + template auto consume_Windows_Devices_Adc_Provider_IAdcProvider::GetControllers() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcProvider)->GetControllers(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Adc.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Adc.h index c43f4e95..1c1a6b62 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Adc.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Adc.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Adc_H #define WINRT_Windows_Devices_Adc_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Devices.Adc.Provider.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,77 +13,77 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Adc.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Adc::AdcController) consume_Windows_Devices_Adc_IAdcChannel::Controller() const + template auto consume_Windows_Devices_Adc_IAdcChannel::Controller() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcChannel)->get_Controller(&value)); return winrt::Windows::Devices::Adc::AdcController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_IAdcChannel::ReadValue() const + template auto consume_Windows_Devices_Adc_IAdcChannel::ReadValue() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcChannel)->ReadValue(&result)); return result; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Adc_IAdcChannel::ReadRatio() const + template auto consume_Windows_Devices_Adc_IAdcChannel::ReadRatio() const { double result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcChannel)->ReadRatio(&result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_IAdcController::ChannelCount() const + template auto consume_Windows_Devices_Adc_IAdcController::ChannelCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcController)->get_ChannelCount(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_IAdcController::ResolutionInBits() const + template auto consume_Windows_Devices_Adc_IAdcController::ResolutionInBits() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcController)->get_ResolutionInBits(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_IAdcController::MinValue() const + template auto consume_Windows_Devices_Adc_IAdcController::MinValue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcController)->get_MinValue(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_IAdcController::MaxValue() const + template auto consume_Windows_Devices_Adc_IAdcController::MaxValue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcController)->get_MaxValue(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Adc::AdcChannelMode) consume_Windows_Devices_Adc_IAdcController::ChannelMode() const + template auto consume_Windows_Devices_Adc_IAdcController::ChannelMode() const { winrt::Windows::Devices::Adc::AdcChannelMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcController)->get_ChannelMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Adc_IAdcController::ChannelMode(winrt::Windows::Devices::Adc::AdcChannelMode const& value) const + template auto consume_Windows_Devices_Adc_IAdcController::ChannelMode(winrt::Windows::Devices::Adc::AdcChannelMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcController)->put_ChannelMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Adc_IAdcController::IsChannelModeSupported(winrt::Windows::Devices::Adc::AdcChannelMode const& channelMode) const + template auto consume_Windows_Devices_Adc_IAdcController::IsChannelModeSupported(winrt::Windows::Devices::Adc::AdcChannelMode const& channelMode) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcController)->IsChannelModeSupported(static_cast(channelMode), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Adc::AdcChannel) consume_Windows_Devices_Adc_IAdcController::OpenChannel(int32_t channelNumber) const + template auto consume_Windows_Devices_Adc_IAdcController::OpenChannel(int32_t channelNumber) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcController)->OpenChannel(channelNumber, &result)); return winrt::Windows::Devices::Adc::AdcChannel{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Adc_IAdcControllerStatics::GetControllersAsync(winrt::Windows::Devices::Adc::Provider::IAdcProvider const& provider) const + template auto consume_Windows_Devices_Adc_IAdcControllerStatics::GetControllersAsync(winrt::Windows::Devices::Adc::Provider::IAdcProvider const& provider) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcControllerStatics)->GetControllersAsync(*(void**)(&provider), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Adc_IAdcControllerStatics2::GetDefaultAsync() const + template auto consume_Windows_Devices_Adc_IAdcControllerStatics2::GetDefaultAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcControllerStatics2)->GetDefaultAsync(&operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.AllJoyn.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.AllJoyn.h index a4ad480f..67e54d40 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.AllJoyn.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.AllJoyn.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_AllJoyn_H #define WINRT_Windows_Devices_AllJoyn_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -17,933 +17,933 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.AllJoyn.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::IsEnabled() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::IsEnabled(bool value) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::DefaultAppName() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::DefaultAppName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_DefaultAppName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::DefaultAppName(param::hstring const& value) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::DefaultAppName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_DefaultAppName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::AppNames() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::AppNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_AppNames(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::DateOfManufacture() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::DateOfManufacture() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_DateOfManufacture(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::DateOfManufacture(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::DateOfManufacture(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_DateOfManufacture(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::DefaultDescription() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::DefaultDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_DefaultDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::DefaultDescription(param::hstring const& value) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::DefaultDescription(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_DefaultDescription(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::Descriptions() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::Descriptions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_Descriptions(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::DefaultManufacturer() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::DefaultManufacturer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_DefaultManufacturer(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::DefaultManufacturer(param::hstring const& value) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::DefaultManufacturer(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_DefaultManufacturer(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::Manufacturers() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::Manufacturers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_Manufacturers(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::ModelNumber() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::ModelNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_ModelNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::ModelNumber(param::hstring const& value) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::ModelNumber(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_ModelNumber(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::SoftwareVersion() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::SoftwareVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_SoftwareVersion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::SoftwareVersion(param::hstring const& value) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::SoftwareVersion(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_SoftwareVersion(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::SupportUrl() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::SupportUrl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_SupportUrl(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::SupportUrl(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::SupportUrl(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_SupportUrl(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::AppId() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::AppId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_AppId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData::AppId(winrt::guid const& value) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData::AppId(winrt::guid const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_AppId(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::Status() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::Status() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_Status(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::Properties() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::AJSoftwareVersion() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::AJSoftwareVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_AJSoftwareVersion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::AppId() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::AppId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_AppId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::DateOfManufacture() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::DateOfManufacture() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_DateOfManufacture(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::DefaultLanguage() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::DefaultLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_DefaultLanguage(&value)); return winrt::Windows::Globalization::Language{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::DeviceId() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::HardwareVersion() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::HardwareVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_HardwareVersion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::ModelNumber() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::ModelNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_ModelNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::SoftwareVersion() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::SoftwareVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_SoftwareVersion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::SupportedLanguages() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::SupportedLanguages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_SupportedLanguages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::SupportUrl() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::SupportUrl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_SupportUrl(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::AppName() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::AppName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_AppName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::Description() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::DeviceName() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::DeviceName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_DeviceName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::Manufacturer() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView::Manufacturer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_Manufacturer(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataViewStatics::GetDataBySessionPortAsync(param::hstring const& uniqueName, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment, uint16_t sessionPort) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataViewStatics::GetDataBySessionPortAsync(param::hstring const& uniqueName, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment, uint16_t sessionPort) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataViewStatics)->GetDataBySessionPortAsync(*(void**)(&uniqueName), *(void**)(&busAttachment), sessionPort, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataViewStatics::GetDataBySessionPortAsync(param::hstring const& uniqueName, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment, uint16_t sessionPort, winrt::Windows::Globalization::Language const& language) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataViewStatics::GetDataBySessionPortAsync(param::hstring const& uniqueName, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment, uint16_t sessionPort, winrt::Windows::Globalization::Language const& language) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataViewStatics)->GetDataBySessionPortWithLanguageAsync(*(void**)(&uniqueName), *(void**)(&busAttachment), sessionPort, *(void**)(&language), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoiner::Accept() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoiner::Accept() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoiner)->Accept()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs::UniqueName() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs::UniqueName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoinerEventArgs)->get_UniqueName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs::SessionPort() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs::SessionPort() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoinerEventArgs)->get_SessionPort(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynTrafficType) consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs::TrafficType() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs::TrafficType() const { winrt::Windows::Devices::AllJoyn::AllJoynTrafficType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoinerEventArgs)->get_TrafficType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs::SamePhysicalNode() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs::SamePhysicalNode() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoinerEventArgs)->get_SamePhysicalNode(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs::SameNetwork() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs::SameNetwork() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoinerEventArgs)->get_SameNetwork(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs::Accept() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs::Accept() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoinerEventArgs)->Accept()); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynAcceptSessionJoinerEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgsFactory::Create(param::hstring const& uniqueName, uint16_t sessionPort, winrt::Windows::Devices::AllJoyn::AllJoynTrafficType const& trafficType, uint8_t proximity, winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoiner const& acceptSessionJoiner) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgsFactory::Create(param::hstring const& uniqueName, uint16_t sessionPort, winrt::Windows::Devices::AllJoyn::AllJoynTrafficType const& trafficType, uint8_t proximity, winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoiner const& acceptSessionJoiner) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoinerEventArgsFactory)->Create(*(void**)(&uniqueName), sessionPort, static_cast(trafficType), proximity, *(void**)(&acceptSessionJoiner), &result)); return winrt::Windows::Devices::AllJoyn::AllJoynAcceptSessionJoinerEventArgs{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism) consume_Windows_Devices_AllJoyn_IAllJoynAuthenticationCompleteEventArgs::AuthenticationMechanism() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAuthenticationCompleteEventArgs::AuthenticationMechanism() const { winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAuthenticationCompleteEventArgs)->get_AuthenticationMechanism(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAuthenticationCompleteEventArgs::PeerUniqueName() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAuthenticationCompleteEventArgs::PeerUniqueName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAuthenticationCompleteEventArgs)->get_PeerUniqueName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_AllJoyn_IAllJoynAuthenticationCompleteEventArgs::Succeeded() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynAuthenticationCompleteEventArgs::Succeeded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAuthenticationCompleteEventArgs)->get_Succeeded(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynAboutData) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::AboutData() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::AboutData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->get_AboutData(&value)); return winrt::Windows::Devices::AllJoyn::AllJoynAboutData{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::ConnectionSpecification() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::ConnectionSpecification() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->get_ConnectionSpecification(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentState) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::State() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::State() const { winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::UniqueName() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::UniqueName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->get_UniqueName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::PingAsync(param::hstring const& uniqueName) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::PingAsync(param::hstring const& uniqueName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->PingAsync(*(void**)(&uniqueName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::Connect() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::Connect() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->Connect()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::Disconnect() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::Disconnect() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->Disconnect()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->add_StateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::StateChanged_revoker consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::StateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::StateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->remove_StateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::AuthenticationMechanisms() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::AuthenticationMechanisms() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->get_AuthenticationMechanisms(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::CredentialsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::CredentialsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->add_CredentialsRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::CredentialsRequested_revoker consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::CredentialsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::CredentialsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CredentialsRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::CredentialsRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::CredentialsRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->remove_CredentialsRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::CredentialsVerificationRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::CredentialsVerificationRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->add_CredentialsVerificationRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::CredentialsVerificationRequested_revoker consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::CredentialsVerificationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::CredentialsVerificationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CredentialsVerificationRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::CredentialsVerificationRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::CredentialsVerificationRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->remove_CredentialsVerificationRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::AuthenticationComplete(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::AuthenticationComplete(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->add_AuthenticationComplete(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::AuthenticationComplete_revoker consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::AuthenticationComplete(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::AuthenticationComplete(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AuthenticationComplete(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::AuthenticationComplete(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment::AuthenticationComplete(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->remove_AuthenticationComplete(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::GetAboutDataAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::GetAboutDataAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment2)->GetAboutDataAsync(*(void**)(&serviceInfo), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::GetAboutDataAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo, winrt::Windows::Globalization::Language const& language) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::GetAboutDataAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo, winrt::Windows::Globalization::Language const& language) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment2)->GetAboutDataWithLanguageAsync(*(void**)(&serviceInfo), *(void**)(&language), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::AcceptSessionJoinerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::AcceptSessionJoinerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment2)->add_AcceptSessionJoinerRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::AcceptSessionJoinerRequested_revoker consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::AcceptSessionJoinerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::AcceptSessionJoinerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AcceptSessionJoinerRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::AcceptSessionJoinerRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::AcceptSessionJoinerRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment2)->remove_AcceptSessionJoinerRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::SessionJoined(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::SessionJoined(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment2)->add_SessionJoined(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::SessionJoined_revoker consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::SessionJoined(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::SessionJoined(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SessionJoined(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::SessionJoined(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2::SessionJoined(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment2)->remove_SessionJoined(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentFactory::Create(param::hstring const& connectionSpecification) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentFactory::Create(param::hstring const& connectionSpecification) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachmentFactory)->Create(*(void**)(&connectionSpecification), &result)); return winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentState) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStateChangedEventArgs::State() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStateChangedEventArgs::State() const { winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachmentStateChangedEventArgs)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStateChangedEventArgs::Status() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStateChangedEventArgs::Status() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachmentStateChangedEventArgs)->get_Status(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStatics::GetDefault() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStatics::GetDefault() const { void* defaultBusAttachment{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachmentStatics)->GetDefault(&defaultBusAttachment)); return winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment{ defaultBusAttachment, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStatics::GetWatcher(param::iterable const& requiredInterfaces) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStatics::GetWatcher(param::iterable const& requiredInterfaces) const { void* deviceWatcher{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachmentStatics)->GetWatcher(*(void**)(&requiredInterfaces), &deviceWatcher)); return winrt::Windows::Devices::Enumeration::DeviceWatcher{ deviceWatcher, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusObject::Start() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusObject::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusObject)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusObject::Stop() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusObject::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusObject)->Stop()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusObject::AddProducer(winrt::Windows::Devices::AllJoyn::IAllJoynProducer const& producer) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusObject::AddProducer(winrt::Windows::Devices::AllJoyn::IAllJoynProducer const& producer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusObject)->AddProducer(*(void**)(&producer))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment) consume_Windows_Devices_AllJoyn_IAllJoynBusObject::BusAttachment() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusObject::BusAttachment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusObject)->get_BusAttachment(&value)); return winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSession) consume_Windows_Devices_AllJoyn_IAllJoynBusObject::Session() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusObject::Session() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusObject)->get_Session(&value)); return winrt::Windows::Devices::AllJoyn::AllJoynSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynBusObject::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusObject::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusObject)->add_Stopped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_AllJoyn_IAllJoynBusObject::Stopped_revoker consume_Windows_Devices_AllJoyn_IAllJoynBusObject::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusObject::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusObject::Stopped(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusObject::Stopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusObject)->remove_Stopped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusObject) consume_Windows_Devices_AllJoyn_IAllJoynBusObjectFactory::Create(param::hstring const& objectPath) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusObjectFactory::Create(param::hstring const& objectPath) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusObjectFactory)->Create(*(void**)(&objectPath), &result)); return winrt::Windows::Devices::AllJoyn::AllJoynBusObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusObject) consume_Windows_Devices_AllJoyn_IAllJoynBusObjectFactory::CreateWithBusAttachment(param::hstring const& objectPath, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusObjectFactory::CreateWithBusAttachment(param::hstring const& objectPath, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusObjectFactory)->CreateWithBusAttachment(*(void**)(&objectPath), *(void**)(&busAttachment), &result)); return winrt::Windows::Devices::AllJoyn::AllJoynBusObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynBusObjectStoppedEventArgs::Status() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusObjectStoppedEventArgs::Status() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusObjectStoppedEventArgs)->get_Status(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusObjectStoppedEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynBusObjectStoppedEventArgsFactory::Create(int32_t status) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynBusObjectStoppedEventArgsFactory::Create(int32_t status) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusObjectStoppedEventArgsFactory)->Create(status, &result)); return winrt::Windows::Devices::AllJoyn::AllJoynBusObjectStoppedEventArgs{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism) consume_Windows_Devices_AllJoyn_IAllJoynCredentials::AuthenticationMechanism() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentials::AuthenticationMechanism() const { winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentials)->get_AuthenticationMechanism(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Devices_AllJoyn_IAllJoynCredentials::Certificate() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentials::Certificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentials)->get_Certificate(&value)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynCredentials::Certificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentials::Certificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentials)->put_Certificate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Devices_AllJoyn_IAllJoynCredentials::PasswordCredential() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentials::PasswordCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentials)->get_PasswordCredential(&value)); return winrt::Windows::Security::Credentials::PasswordCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynCredentials::PasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentials::PasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentials)->put_PasswordCredential(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_AllJoyn_IAllJoynCredentials::Timeout() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentials::Timeout() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentials)->get_Timeout(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynCredentials::Timeout(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentials::Timeout(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentials)->put_Timeout(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs::AttemptCount() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs::AttemptCount() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsRequestedEventArgs)->get_AttemptCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynCredentials) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs::Credentials() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs::Credentials() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsRequestedEventArgs)->get_Credentials(&value)); return winrt::Windows::Devices::AllJoyn::AllJoynCredentials{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs::PeerUniqueName() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs::PeerUniqueName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsRequestedEventArgs)->get_PeerUniqueName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs::RequestedUserName() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs::RequestedUserName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsRequestedEventArgs)->get_RequestedUserName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs::GetDeferral() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs::AuthenticationMechanism() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs::AuthenticationMechanism() const { winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsVerificationRequestedEventArgs)->get_AuthenticationMechanism(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs::PeerUniqueName() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs::PeerUniqueName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsVerificationRequestedEventArgs)->get_PeerUniqueName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs::PeerCertificate() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs::PeerCertificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsVerificationRequestedEventArgs)->get_PeerCertificate(&value)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs::PeerCertificateErrorSeverity() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs::PeerCertificateErrorSeverity() const { winrt::Windows::Networking::Sockets::SocketSslErrorSeverity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsVerificationRequestedEventArgs)->get_PeerCertificateErrorSeverity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs::PeerCertificateErrors() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs::PeerCertificateErrors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsVerificationRequestedEventArgs)->get_PeerCertificateErrors(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs::PeerIntermediateCertificates() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs::PeerIntermediateCertificates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsVerificationRequestedEventArgs)->get_PeerIntermediateCertificates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs::Accept() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs::Accept() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsVerificationRequestedEventArgs)->Accept()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs::GetDeferral() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsVerificationRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynMessageInfo::SenderUniqueName() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynMessageInfo::SenderUniqueName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynMessageInfo)->get_SenderUniqueName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynMessageInfo) consume_Windows_Devices_AllJoyn_IAllJoynMessageInfoFactory::Create(param::hstring const& senderUniqueName) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynMessageInfoFactory::Create(param::hstring const& senderUniqueName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynMessageInfoFactory)->Create(*(void**)(&senderUniqueName), &result)); return winrt::Windows::Devices::AllJoyn::AllJoynMessageInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynProducer::SetBusObject(winrt::Windows::Devices::AllJoyn::AllJoynBusObject const& busObject) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynProducer::SetBusObject(winrt::Windows::Devices::AllJoyn::AllJoynBusObject const& busObject) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynProducer)->SetBusObject(*(void**)(&busObject))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynProducerStoppedEventArgs::Status() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynProducerStoppedEventArgs::Status() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynProducerStoppedEventArgs)->get_Status(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynProducerStoppedEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynProducerStoppedEventArgsFactory::Create(int32_t status) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynProducerStoppedEventArgsFactory::Create(int32_t status) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynProducerStoppedEventArgsFactory)->Create(status, &result)); return winrt::Windows::Devices::AllJoyn::AllJoynProducerStoppedEventArgs{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynServiceInfo::UniqueName() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynServiceInfo::UniqueName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynServiceInfo)->get_UniqueName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynServiceInfo::ObjectPath() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynServiceInfo::ObjectPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynServiceInfo)->get_ObjectPath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_AllJoyn_IAllJoynServiceInfo::SessionPort() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynServiceInfo::SessionPort() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynServiceInfo)->get_SessionPort(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo) consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoFactory::Create(param::hstring const& uniqueName, param::hstring const& objectPath, uint16_t sessionPort) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoFactory::Create(param::hstring const& uniqueName, param::hstring const& objectPath, uint16_t sessionPort) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynServiceInfoFactory)->Create(*(void**)(&uniqueName), *(void**)(&objectPath), sessionPort, &result)); return winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoRemovedEventArgs::UniqueName() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoRemovedEventArgs::UniqueName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynServiceInfoRemovedEventArgs)->get_UniqueName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfoRemovedEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoRemovedEventArgsFactory::Create(param::hstring const& uniqueName) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoRemovedEventArgsFactory::Create(param::hstring const& uniqueName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynServiceInfoRemovedEventArgsFactory)->Create(*(void**)(&uniqueName), &result)); return winrt::Windows::Devices::AllJoyn::AllJoynServiceInfoRemovedEventArgs{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoStatics::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynServiceInfoStatics)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynSession::Id() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSession::Id() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSession)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynSession::Status() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSession::Status() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSession)->get_Status(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_AllJoyn_IAllJoynSession::RemoveMemberAsync(param::hstring const& uniqueName) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSession::RemoveMemberAsync(param::hstring const& uniqueName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSession)->RemoveMemberAsync(*(void**)(&uniqueName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynSession::MemberAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSession::MemberAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSession)->add_MemberAdded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_AllJoyn_IAllJoynSession::MemberAdded_revoker consume_Windows_Devices_AllJoyn_IAllJoynSession::MemberAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSession::MemberAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MemberAdded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynSession::MemberAdded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_AllJoyn_IAllJoynSession::MemberAdded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSession)->remove_MemberAdded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynSession::MemberRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSession::MemberRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSession)->add_MemberRemoved(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_AllJoyn_IAllJoynSession::MemberRemoved_revoker consume_Windows_Devices_AllJoyn_IAllJoynSession::MemberRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSession::MemberRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MemberRemoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynSession::MemberRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_AllJoyn_IAllJoynSession::MemberRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSession)->remove_MemberRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynSession::Lost(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSession::Lost(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSession)->add_Lost(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_AllJoyn_IAllJoynSession::Lost_revoker consume_Windows_Devices_AllJoyn_IAllJoynSession::Lost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSession::Lost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Lost(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynSession::Lost(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_AllJoyn_IAllJoynSession::Lost(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSession)->remove_Lost(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSession) consume_Windows_Devices_AllJoyn_IAllJoynSessionJoinedEventArgs::Session() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSessionJoinedEventArgs::Session() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSessionJoinedEventArgs)->get_Session(&value)); return winrt::Windows::Devices::AllJoyn::AllJoynSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSessionJoinedEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynSessionJoinedEventArgsFactory::Create(winrt::Windows::Devices::AllJoyn::AllJoynSession const& session) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSessionJoinedEventArgsFactory::Create(winrt::Windows::Devices::AllJoyn::AllJoynSession const& session) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSessionJoinedEventArgsFactory)->Create(*(void**)(&session), &result)); return winrt::Windows::Devices::AllJoyn::AllJoynSessionJoinedEventArgs{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSessionLostReason) consume_Windows_Devices_AllJoyn_IAllJoynSessionLostEventArgs::Reason() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSessionLostEventArgs::Reason() const { winrt::Windows::Devices::AllJoyn::AllJoynSessionLostReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSessionLostEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSessionLostEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynSessionLostEventArgsFactory::Create(winrt::Windows::Devices::AllJoyn::AllJoynSessionLostReason const& reason) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSessionLostEventArgsFactory::Create(winrt::Windows::Devices::AllJoyn::AllJoynSessionLostReason const& reason) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSessionLostEventArgsFactory)->Create(static_cast(reason), &result)); return winrt::Windows::Devices::AllJoyn::AllJoynSessionLostEventArgs{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberAddedEventArgs::UniqueName() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberAddedEventArgs::UniqueName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSessionMemberAddedEventArgs)->get_UniqueName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberAddedEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberAddedEventArgsFactory::Create(param::hstring const& uniqueName) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberAddedEventArgsFactory::Create(param::hstring const& uniqueName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSessionMemberAddedEventArgsFactory)->Create(*(void**)(&uniqueName), &result)); return winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberAddedEventArgs{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberRemovedEventArgs::UniqueName() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberRemovedEventArgs::UniqueName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSessionMemberRemovedEventArgs)->get_UniqueName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberRemovedEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberRemovedEventArgsFactory::Create(param::hstring const& uniqueName) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberRemovedEventArgsFactory::Create(param::hstring const& uniqueName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSessionMemberRemovedEventArgsFactory)->Create(*(void**)(&uniqueName), &result)); return winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberRemovedEventArgs{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_AllJoyn_IAllJoynSessionStatics::GetFromServiceInfoAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSessionStatics::GetFromServiceInfoAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSessionStatics)->GetFromServiceInfoAsync(*(void**)(&serviceInfo), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_AllJoyn_IAllJoynSessionStatics::GetFromServiceInfoAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynSessionStatics::GetFromServiceInfoAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSessionStatics)->GetFromServiceInfoAndBusAttachmentAsync(*(void**)(&serviceInfo), *(void**)(&busAttachment), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::Ok() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::Ok() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_Ok(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::Fail() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::Fail() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_Fail(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::OperationTimedOut() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::OperationTimedOut() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_OperationTimedOut(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::OtherEndClosed() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::OtherEndClosed() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_OtherEndClosed(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::ConnectionRefused() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::ConnectionRefused() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_ConnectionRefused(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::AuthenticationFailed() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::AuthenticationFailed() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_AuthenticationFailed(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::AuthenticationRejectedByUser() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::AuthenticationRejectedByUser() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_AuthenticationRejectedByUser(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::SslConnectFailed() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::SslConnectFailed() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_SslConnectFailed(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::SslIdentityVerificationFailed() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::SslIdentityVerificationFailed() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_SslIdentityVerificationFailed(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InsufficientSecurity() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InsufficientSecurity() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InsufficientSecurity(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InvalidArgument1() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InvalidArgument1() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InvalidArgument1(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InvalidArgument2() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InvalidArgument2() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InvalidArgument2(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InvalidArgument3() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InvalidArgument3() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InvalidArgument3(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InvalidArgument4() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InvalidArgument4() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InvalidArgument4(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InvalidArgument5() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InvalidArgument5() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InvalidArgument5(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InvalidArgument6() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InvalidArgument6() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InvalidArgument6(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InvalidArgument7() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InvalidArgument7() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InvalidArgument7(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InvalidArgument8() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics::InvalidArgument8() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InvalidArgument8(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynWatcherStoppedEventArgs::Status() const + template auto consume_Windows_Devices_AllJoyn_IAllJoynWatcherStoppedEventArgs::Status() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynWatcherStoppedEventArgs)->get_Status(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynWatcherStoppedEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynWatcherStoppedEventArgsFactory::Create(int32_t status) const + template auto consume_Windows_Devices_AllJoyn_IAllJoynWatcherStoppedEventArgsFactory::Create(int32_t status) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynWatcherStoppedEventArgsFactory)->Create(status, &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Background.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Background.h index 35b964cf..db367eb9 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Background.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Background.h @@ -1,41 +1,41 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Background_H #define WINRT_Windows_Devices_Background_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Devices.Background.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Background_IDeviceServicingDetails::DeviceId() const + template auto consume_Windows_Devices_Background_IDeviceServicingDetails::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Background::IDeviceServicingDetails)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Background_IDeviceServicingDetails::Arguments() const + template auto consume_Windows_Devices_Background_IDeviceServicingDetails::Arguments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Background::IDeviceServicingDetails)->get_Arguments(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Background_IDeviceServicingDetails::ExpectedDuration() const + template auto consume_Windows_Devices_Background_IDeviceServicingDetails::ExpectedDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Background::IDeviceServicingDetails)->get_ExpectedDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Background_IDeviceUseDetails::DeviceId() const + template auto consume_Windows_Devices_Background_IDeviceUseDetails::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Background::IDeviceUseDetails)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Background_IDeviceUseDetails::Arguments() const + template auto consume_Windows_Devices_Background_IDeviceUseDetails::Arguments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Background::IDeviceUseDetails)->get_Arguments(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Advertisement.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Advertisement.h index d29158d2..d0b25637 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Advertisement.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Advertisement.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_Advertisement_H #define WINRT_Windows_Devices_Bluetooth_Advertisement_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.Bluetooth.h" #include "winrt/impl/Windows.Devices.Bluetooth.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -14,575 +14,575 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Bluetooth.Advertisement.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::Flags() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::Flags() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement)->get_Flags(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::Flags(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::Flags(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement)->put_Flags(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::LocalName() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::LocalName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement)->get_LocalName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::LocalName(param::hstring const& value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::LocalName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement)->put_LocalName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::ServiceUuids() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::ServiceUuids() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement)->get_ServiceUuids(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::ManufacturerData() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::ManufacturerData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement)->get_ManufacturerData(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::DataSections() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::DataSections() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement)->get_DataSections(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::GetManufacturerDataByCompanyId(uint16_t companyId) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::GetManufacturerDataByCompanyId(uint16_t companyId) const { void* dataList{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement)->GetManufacturerDataByCompanyId(companyId, &dataList)); return winrt::Windows::Foundation::Collections::IVectorView{ dataList, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::GetSectionsByType(uint8_t type) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement::GetSectionsByType(uint8_t type) const { void* sectionList{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement)->GetSectionsByType(type, §ionList)); return winrt::Windows::Foundation::Collections::IVectorView{ sectionList, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern::DataType() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern::DataType() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementBytePattern)->get_DataType(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern::DataType(uint8_t value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern::DataType(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementBytePattern)->put_DataType(value)); } - template WINRT_IMPL_AUTO(int16_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern::Offset() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern::Offset() const { int16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementBytePattern)->get_Offset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern::Offset(int16_t value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern::Offset(int16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementBytePattern)->put_Offset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern::Data() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementBytePattern)->get_Data(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementBytePattern)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementBytePattern) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePatternFactory::Create(uint8_t dataType, int16_t offset, winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePatternFactory::Create(uint8_t dataType, int16_t offset, winrt::Windows::Storage::Streams::IBuffer const& data) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementBytePatternFactory)->Create(dataType, offset, *(void**)(&data), &value)); return winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementBytePattern{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection::DataType() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection::DataType() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataSection)->get_DataType(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection::DataType(uint8_t value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection::DataType(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataSection)->put_DataType(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection::Data() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataSection)->get_Data(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataSection)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementDataSection) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSectionFactory::Create(uint8_t dataType, winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSectionFactory::Create(uint8_t dataType, winrt::Windows::Storage::Streams::IBuffer const& data) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataSectionFactory)->Create(dataType, *(void**)(&data), &value)); return winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementDataSection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::Flags() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::Flags() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_Flags(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::IncompleteService16BitUuids() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::IncompleteService16BitUuids() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_IncompleteService16BitUuids(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::CompleteService16BitUuids() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::CompleteService16BitUuids() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_CompleteService16BitUuids(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::IncompleteService32BitUuids() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::IncompleteService32BitUuids() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_IncompleteService32BitUuids(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::CompleteService32BitUuids() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::CompleteService32BitUuids() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_CompleteService32BitUuids(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::IncompleteService128BitUuids() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::IncompleteService128BitUuids() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_IncompleteService128BitUuids(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::CompleteService128BitUuids() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::CompleteService128BitUuids() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_CompleteService128BitUuids(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::ShortenedLocalName() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::ShortenedLocalName() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_ShortenedLocalName(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::CompleteLocalName() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::CompleteLocalName() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_CompleteLocalName(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::TxPowerLevel() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::TxPowerLevel() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_TxPowerLevel(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::SlaveConnectionIntervalRange() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::SlaveConnectionIntervalRange() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_SlaveConnectionIntervalRange(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::ServiceSolicitation16BitUuids() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::ServiceSolicitation16BitUuids() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_ServiceSolicitation16BitUuids(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::ServiceSolicitation32BitUuids() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::ServiceSolicitation32BitUuids() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_ServiceSolicitation32BitUuids(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::ServiceSolicitation128BitUuids() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::ServiceSolicitation128BitUuids() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_ServiceSolicitation128BitUuids(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::ServiceData16BitUuids() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::ServiceData16BitUuids() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_ServiceData16BitUuids(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::ServiceData32BitUuids() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::ServiceData32BitUuids() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_ServiceData32BitUuids(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::ServiceData128BitUuids() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::ServiceData128BitUuids() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_ServiceData128BitUuids(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::PublicTargetAddress() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::PublicTargetAddress() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_PublicTargetAddress(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::RandomTargetAddress() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::RandomTargetAddress() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_RandomTargetAddress(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::Appearance() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::Appearance() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_Appearance(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::AdvertisingInterval() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::AdvertisingInterval() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_AdvertisingInterval(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::ManufacturerSpecificData() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics::ManufacturerSpecificData() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_ManufacturerSpecificData(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementFilter::Advertisement() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementFilter::Advertisement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementFilter)->get_Advertisement(&value)); return winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementFilter::Advertisement(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement const& value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementFilter::Advertisement(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementFilter)->put_Advertisement(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementFilter::BytePatterns() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementFilter::BytePatterns() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementFilter)->get_BytePatterns(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatus) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher::Status() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher::Status() const { winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher::Advertisement() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher::Advertisement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher)->get_Advertisement(&value)); return winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher::Start() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher::Stop() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher)->Stop()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher)->add_StatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher::StatusChanged_revoker consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher::StatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher::StatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher)->remove_StatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2::PreferredTransmitPowerLevelInDBm() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2::PreferredTransmitPowerLevelInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2)->get_PreferredTransmitPowerLevelInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2::PreferredTransmitPowerLevelInDBm(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2::PreferredTransmitPowerLevelInDBm(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2)->put_PreferredTransmitPowerLevelInDBm(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2::UseExtendedAdvertisement() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2::UseExtendedAdvertisement() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2)->get_UseExtendedAdvertisement(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2::UseExtendedAdvertisement(bool value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2::UseExtendedAdvertisement(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2)->put_UseExtendedAdvertisement(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2::IsAnonymous() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2::IsAnonymous() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2)->get_IsAnonymous(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2::IsAnonymous(bool value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2::IsAnonymous(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2)->put_IsAnonymous(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2::IncludeTransmitPowerLevel() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2::IncludeTransmitPowerLevel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2)->get_IncludeTransmitPowerLevel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2::IncludeTransmitPowerLevel(bool value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2::IncludeTransmitPowerLevel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2)->put_IncludeTransmitPowerLevel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisher) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherFactory::Create(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement const& advertisement) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherFactory::Create(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement const& advertisement) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisherFactory)->Create(*(void**)(&advertisement), &value)); return winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisher{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatus) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs::Status() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs::Status() const { winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisherStatusChangedEventArgs)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs::Error() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs::Error() const { winrt::Windows::Devices::Bluetooth::BluetoothError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisherStatusChangedEventArgs)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2::SelectedTransmitPowerLevelInDBm() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2::SelectedTransmitPowerLevelInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2)->get_SelectedTransmitPowerLevelInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int16_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs::RawSignalStrengthInDBm() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs::RawSignalStrengthInDBm() const { int16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs)->get_RawSignalStrengthInDBm(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs::BluetoothAddress() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs::BluetoothAddress() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs)->get_BluetoothAddress(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementType) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs::AdvertisementType() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs::AdvertisementType() const { winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs)->get_AdvertisementType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs::Timestamp() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs::Advertisement() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs::Advertisement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs)->get_Advertisement(&value)); return winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothAddressType) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2::BluetoothAddressType() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2::BluetoothAddressType() const { winrt::Windows::Devices::Bluetooth::BluetoothAddressType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs2)->get_BluetoothAddressType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2::TransmitPowerLevelInDBm() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2::TransmitPowerLevelInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs2)->get_TransmitPowerLevelInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2::IsAnonymous() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2::IsAnonymous() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs2)->get_IsAnonymous(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2::IsConnectable() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2::IsConnectable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs2)->get_IsConnectable(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2::IsScannable() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2::IsScannable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs2)->get_IsScannable(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2::IsDirected() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2::IsDirected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs2)->get_IsDirected(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2::IsScanResponse() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2::IsScanResponse() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs2)->get_IsScanResponse(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::MinSamplingInterval() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::MinSamplingInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->get_MinSamplingInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::MaxSamplingInterval() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::MaxSamplingInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->get_MaxSamplingInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::MinOutOfRangeTimeout() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::MinOutOfRangeTimeout() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->get_MinOutOfRangeTimeout(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::MaxOutOfRangeTimeout() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::MaxOutOfRangeTimeout() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->get_MaxOutOfRangeTimeout(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcherStatus) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Status() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Status() const { winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcherStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEScanningMode) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::ScanningMode() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::ScanningMode() const { winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEScanningMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->get_ScanningMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::ScanningMode(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEScanningMode const& value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::ScanningMode(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEScanningMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->put_ScanningMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::SignalStrengthFilter() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::SignalStrengthFilter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->get_SignalStrengthFilter(&value)); return winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::SignalStrengthFilter(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter const& value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::SignalStrengthFilter(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->put_SignalStrengthFilter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::AdvertisementFilter() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::AdvertisementFilter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->get_AdvertisementFilter(&value)); return winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::AdvertisementFilter(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::AdvertisementFilter(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->put_AdvertisementFilter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Start() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Stop() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->Stop()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Received(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Received(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->add_Received(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Received_revoker consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Received(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Received(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Received(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Received(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Received(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->remove_Received(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->add_Stopped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Stopped_revoker consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Stopped(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher::Stopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->remove_Stopped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher2::AllowExtendedAdvertisements() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher2::AllowExtendedAdvertisements() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher2)->get_AllowExtendedAdvertisements(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher2::AllowExtendedAdvertisements(bool value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher2::AllowExtendedAdvertisements(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher2)->put_AllowExtendedAdvertisements(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcherFactory::Create(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& advertisementFilter) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcherFactory::Create(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& advertisementFilter) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcherFactory)->Create(*(void**)(&advertisementFilter), &value)); return winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcherStoppedEventArgs::Error() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcherStoppedEventArgs::Error() const { winrt::Windows::Devices::Bluetooth::BluetoothError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcherStoppedEventArgs)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData::CompanyId() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData::CompanyId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEManufacturerData)->get_CompanyId(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData::CompanyId(uint16_t value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData::CompanyId(uint16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEManufacturerData)->put_CompanyId(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData::Data() const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEManufacturerData)->get_Data(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEManufacturerData)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEManufacturerData) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerDataFactory::Create(uint16_t companyId, winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerDataFactory::Create(uint16_t companyId, winrt::Windows::Storage::Streams::IBuffer const& data) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEManufacturerDataFactory)->Create(companyId, *(void**)(&data), &value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Background.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Background.h index d7a6ef70..61fb0b08 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Background.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Background.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_Background_H #define WINRT_Windows_Devices_Bluetooth_Background_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.Bluetooth.h" #include "winrt/impl/Windows.Devices.Bluetooth.2.h" #include "winrt/impl/Windows.Devices.Bluetooth.Advertisement.2.h" @@ -18,155 +18,155 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Bluetooth.Background.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatus) consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails::Status() const + template auto consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails::Status() const { winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementPublisherTriggerDetails)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails::Error() const + template auto consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails::Error() const { winrt::Windows::Devices::Bluetooth::BluetoothError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementPublisherTriggerDetails)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails2::SelectedTransmitPowerLevelInDBm() const + template auto consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails2::SelectedTransmitPowerLevelInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementPublisherTriggerDetails2)->get_SelectedTransmitPowerLevelInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementWatcherTriggerDetails::Error() const + template auto consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementWatcherTriggerDetails::Error() const { winrt::Windows::Devices::Bluetooth::BluetoothError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementWatcherTriggerDetails)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementWatcherTriggerDetails::Advertisements() const + template auto consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementWatcherTriggerDetails::Advertisements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementWatcherTriggerDetails)->get_Advertisements(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter) consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementWatcherTriggerDetails::SignalStrengthFilter() const + template auto consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementWatcherTriggerDetails::SignalStrengthFilter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementWatcherTriggerDetails)->get_SignalStrengthFilter(&value)); return winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic) consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails::Characteristic() const + template auto consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails::Characteristic() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IGattCharacteristicNotificationTriggerDetails)->get_Characteristic(&value)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails::Value() const + template auto consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IGattCharacteristicNotificationTriggerDetails)->get_Value(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails2::Error() const + template auto consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails2::Error() const { winrt::Windows::Devices::Bluetooth::BluetoothError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IGattCharacteristicNotificationTriggerDetails2)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Background::BluetoothEventTriggeringMode) consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails2::EventTriggeringMode() const + template auto consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails2::EventTriggeringMode() const { winrt::Windows::Devices::Bluetooth::Background::BluetoothEventTriggeringMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IGattCharacteristicNotificationTriggerDetails2)->get_EventTriggeringMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails2::ValueChangedEvents() const + template auto consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails2::ValueChangedEvents() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IGattCharacteristicNotificationTriggerDetails2)->get_ValueChangedEvents(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection::TriggerId() const + template auto consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection::TriggerId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IGattServiceProviderConnection)->get_TriggerId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalService) consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection::Service() const + template auto consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection::Service() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IGattServiceProviderConnection)->get_Service(&value)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalService{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection::Start() const + template auto consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IGattServiceProviderConnection)->Start()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnectionStatics::AllServices() const + template auto consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnectionStatics::AllServices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IGattServiceProviderConnectionStatics)->get_AllServices(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Background::GattServiceProviderConnection) consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderTriggerDetails::Connection() const + template auto consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderTriggerDetails::Connection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IGattServiceProviderTriggerDetails)->get_Connection(&value)); return winrt::Windows::Devices::Bluetooth::Background::GattServiceProviderConnection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocket) consume_Windows_Devices_Bluetooth_Background_IRfcommConnectionTriggerDetails::Socket() const + template auto consume_Windows_Devices_Bluetooth_Background_IRfcommConnectionTriggerDetails::Socket() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IRfcommConnectionTriggerDetails)->get_Socket(&value)); return winrt::Windows::Networking::Sockets::StreamSocket{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Background_IRfcommConnectionTriggerDetails::Incoming() const + template auto consume_Windows_Devices_Bluetooth_Background_IRfcommConnectionTriggerDetails::Incoming() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IRfcommConnectionTriggerDetails)->get_Incoming(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDevice) consume_Windows_Devices_Bluetooth_Background_IRfcommConnectionTriggerDetails::RemoteDevice() const + template auto consume_Windows_Devices_Bluetooth_Background_IRfcommConnectionTriggerDetails::RemoteDevice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IRfcommConnectionTriggerDetails)->get_RemoteDevice(&value)); return winrt::Windows::Devices::Bluetooth::BluetoothDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation::SdpRecord() const + template auto consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation::SdpRecord() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IRfcommInboundConnectionInformation)->get_SdpRecord(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation::SdpRecord(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation::SdpRecord(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IRfcommInboundConnectionInformation)->put_SdpRecord(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation::LocalServiceId() const + template auto consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation::LocalServiceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IRfcommInboundConnectionInformation)->get_LocalServiceId(&value)); return winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation::LocalServiceId(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& value) const + template auto consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation::LocalServiceId(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IRfcommInboundConnectionInformation)->put_LocalServiceId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities) consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation::ServiceCapabilities() const + template auto consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation::ServiceCapabilities() const { winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IRfcommInboundConnectionInformation)->get_ServiceCapabilities(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation::ServiceCapabilities(winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities const& value) const + template auto consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation::ServiceCapabilities(winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IRfcommInboundConnectionInformation)->put_ServiceCapabilities(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Background_IRfcommOutboundConnectionInformation::RemoteServiceId() const + template auto consume_Windows_Devices_Bluetooth_Background_IRfcommOutboundConnectionInformation::RemoteServiceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IRfcommOutboundConnectionInformation)->get_RemoteServiceId(&value)); return winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Background_IRfcommOutboundConnectionInformation::RemoteServiceId(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& value) const + template auto consume_Windows_Devices_Bluetooth_Background_IRfcommOutboundConnectionInformation::RemoteServiceId(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IRfcommOutboundConnectionInformation)->put_RemoteServiceId(*(void**)(&value))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.GenericAttributeProfile.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.GenericAttributeProfile.h index af18224c..a77ffa68 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.GenericAttributeProfile.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.GenericAttributeProfile.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_GenericAttributeProfile_H #define WINRT_Windows_Devices_Bluetooth_GenericAttributeProfile_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.Bluetooth.h" #include "winrt/impl/Windows.Devices.Bluetooth.2.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" @@ -15,2141 +15,2141 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::GetDescriptors(winrt::guid const& descriptorUuid) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::GetDescriptors(winrt::guid const& descriptorUuid) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->GetDescriptors(impl::bind_in(descriptorUuid), &value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::CharacteristicProperties() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::CharacteristicProperties() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->get_CharacteristicProperties(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ProtectionLevel() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ProtectionLevel() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->get_ProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->put_ProtectionLevel(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::UserDescription() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::UserDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->get_UserDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::Uuid() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::Uuid() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->get_Uuid(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::AttributeHandle() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::AttributeHandle() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->get_AttributeHandle(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::PresentationFormats() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::PresentationFormats() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->get_PresentationFormats(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ReadValueAsync() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ReadValueAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->ReadValueAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ReadValueAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ReadValueAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->ReadValueWithCacheModeAsync(static_cast(cacheMode), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->WriteValueAsync(*(void**)(&value), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption const& writeOption) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption const& writeOption) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->WriteValueWithOptionAsync(*(void**)(&value), static_cast(writeOption), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ReadClientCharacteristicConfigurationDescriptorAsync() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ReadClientCharacteristicConfigurationDescriptorAsync() const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->ReadClientCharacteristicConfigurationDescriptorAsync(&asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::WriteClientCharacteristicConfigurationDescriptorAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue const& clientCharacteristicConfigurationDescriptorValue) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::WriteClientCharacteristicConfigurationDescriptorAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue const& clientCharacteristicConfigurationDescriptorValue) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->WriteClientCharacteristicConfigurationDescriptorAsync(static_cast(clientCharacteristicConfigurationDescriptorValue), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& valueChangedHandler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& valueChangedHandler) const { winrt::event_token valueChangedEventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->add_ValueChanged(*(void**)(&valueChangedHandler), put_abi(valueChangedEventCookie))); return valueChangedEventCookie; } - template typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ValueChanged_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& valueChangedHandler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& valueChangedHandler) const { return impl::make_event_revoker(this, ValueChanged(valueChangedHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ValueChanged(winrt::event_token const& valueChangedEventCookie) const noexcept + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic::ValueChanged(winrt::event_token const& valueChangedEventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->remove_ValueChanged(impl::bind_in(valueChangedEventCookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic2::Service() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic2::Service() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic2)->get_Service(&value)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic2::GetAllDescriptors() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic2::GetAllDescriptors() const { void* descriptors{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic2)->GetAllDescriptors(&descriptors)); return winrt::Windows::Foundation::Collections::IVectorView{ descriptors, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3::GetDescriptorsAsync() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3::GetDescriptorsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic3)->GetDescriptorsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3::GetDescriptorsAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3::GetDescriptorsAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic3)->GetDescriptorsWithCacheModeAsync(static_cast(cacheMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3::GetDescriptorsForUuidAsync(winrt::guid const& descriptorUuid) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3::GetDescriptorsForUuidAsync(winrt::guid const& descriptorUuid) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic3)->GetDescriptorsForUuidAsync(impl::bind_in(descriptorUuid), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3::GetDescriptorsForUuidAsync(winrt::guid const& descriptorUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3::GetDescriptorsForUuidAsync(winrt::guid const& descriptorUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic3)->GetDescriptorsForUuidWithCacheModeAsync(impl::bind_in(descriptorUuid), static_cast(cacheMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3::WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3::WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic3)->WriteValueWithResultAsync(*(void**)(&value), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3::WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption const& writeOption) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3::WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption const& writeOption) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic3)->WriteValueWithResultAndOptionAsync(*(void**)(&value), static_cast(writeOption), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3::WriteClientCharacteristicConfigurationDescriptorWithResultAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue const& clientCharacteristicConfigurationDescriptorValue) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3::WriteClientCharacteristicConfigurationDescriptorWithResultAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue const& clientCharacteristicConfigurationDescriptorValue) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic3)->WriteClientCharacteristicConfigurationDescriptorWithResultAsync(static_cast(clientCharacteristicConfigurationDescriptorValue), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicStatics::ConvertShortIdToUuid(uint16_t shortId) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicStatics::ConvertShortIdToUuid(uint16_t shortId) const { winrt::guid characteristicUuid{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicStatics)->ConvertShortIdToUuid(shortId, put_abi(characteristicUuid))); return characteristicUuid; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::BatteryLevel() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::BatteryLevel() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_BatteryLevel(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::BloodPressureFeature() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::BloodPressureFeature() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_BloodPressureFeature(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::BloodPressureMeasurement() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::BloodPressureMeasurement() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_BloodPressureMeasurement(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::BodySensorLocation() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::BodySensorLocation() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_BodySensorLocation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::CscFeature() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::CscFeature() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_CscFeature(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::CscMeasurement() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::CscMeasurement() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_CscMeasurement(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::GlucoseFeature() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::GlucoseFeature() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_GlucoseFeature(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::GlucoseMeasurement() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::GlucoseMeasurement() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_GlucoseMeasurement(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::GlucoseMeasurementContext() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::GlucoseMeasurementContext() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_GlucoseMeasurementContext(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::HeartRateControlPoint() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::HeartRateControlPoint() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_HeartRateControlPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::HeartRateMeasurement() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::HeartRateMeasurement() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_HeartRateMeasurement(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::IntermediateCuffPressure() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::IntermediateCuffPressure() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_IntermediateCuffPressure(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::IntermediateTemperature() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::IntermediateTemperature() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_IntermediateTemperature(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::MeasurementInterval() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::MeasurementInterval() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_MeasurementInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::RecordAccessControlPoint() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::RecordAccessControlPoint() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_RecordAccessControlPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::RscFeature() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::RscFeature() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_RscFeature(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::RscMeasurement() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::RscMeasurement() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_RscMeasurement(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::SCControlPoint() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::SCControlPoint() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_SCControlPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::SensorLocation() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::SensorLocation() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_SensorLocation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::TemperatureMeasurement() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::TemperatureMeasurement() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_TemperatureMeasurement(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::TemperatureType() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics::TemperatureType() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_TemperatureType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::AlertCategoryId() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::AlertCategoryId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_AlertCategoryId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::AlertCategoryIdBitMask() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::AlertCategoryIdBitMask() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_AlertCategoryIdBitMask(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::AlertLevel() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::AlertLevel() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_AlertLevel(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::AlertNotificationControlPoint() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::AlertNotificationControlPoint() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_AlertNotificationControlPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::AlertStatus() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::AlertStatus() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_AlertStatus(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::GapAppearance() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::GapAppearance() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_GapAppearance(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::BootKeyboardInputReport() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::BootKeyboardInputReport() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_BootKeyboardInputReport(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::BootKeyboardOutputReport() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::BootKeyboardOutputReport() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_BootKeyboardOutputReport(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::BootMouseInputReport() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::BootMouseInputReport() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_BootMouseInputReport(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::CurrentTime() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::CurrentTime() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_CurrentTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::CyclingPowerControlPoint() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::CyclingPowerControlPoint() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_CyclingPowerControlPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::CyclingPowerFeature() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::CyclingPowerFeature() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_CyclingPowerFeature(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::CyclingPowerMeasurement() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::CyclingPowerMeasurement() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_CyclingPowerMeasurement(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::CyclingPowerVector() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::CyclingPowerVector() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_CyclingPowerVector(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::DateTime() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::DateTime() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_DateTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::DayDateTime() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::DayDateTime() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_DayDateTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::DayOfWeek() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::DayOfWeek() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_DayOfWeek(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::GapDeviceName() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::GapDeviceName() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_GapDeviceName(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::DstOffset() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::DstOffset() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_DstOffset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::ExactTime256() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::ExactTime256() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_ExactTime256(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::FirmwareRevisionString() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::FirmwareRevisionString() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_FirmwareRevisionString(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::HardwareRevisionString() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::HardwareRevisionString() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_HardwareRevisionString(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::HidControlPoint() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::HidControlPoint() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_HidControlPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::HidInformation() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::HidInformation() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_HidInformation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::Ieee1107320601RegulatoryCertificationDataList() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::Ieee1107320601RegulatoryCertificationDataList() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_Ieee1107320601RegulatoryCertificationDataList(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::LnControlPoint() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::LnControlPoint() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_LnControlPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::LnFeature() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::LnFeature() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_LnFeature(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::LocalTimeInformation() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::LocalTimeInformation() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_LocalTimeInformation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::LocationAndSpeed() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::LocationAndSpeed() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_LocationAndSpeed(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::ManufacturerNameString() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::ManufacturerNameString() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_ManufacturerNameString(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::ModelNumberString() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::ModelNumberString() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_ModelNumberString(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::Navigation() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::Navigation() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_Navigation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::NewAlert() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::NewAlert() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_NewAlert(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::GapPeripheralPreferredConnectionParameters() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::GapPeripheralPreferredConnectionParameters() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_GapPeripheralPreferredConnectionParameters(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::GapPeripheralPrivacyFlag() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::GapPeripheralPrivacyFlag() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_GapPeripheralPrivacyFlag(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::PnpId() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::PnpId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_PnpId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::PositionQuality() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::PositionQuality() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_PositionQuality(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::ProtocolMode() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::ProtocolMode() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_ProtocolMode(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::GapReconnectionAddress() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::GapReconnectionAddress() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_GapReconnectionAddress(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::ReferenceTimeInformation() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::ReferenceTimeInformation() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_ReferenceTimeInformation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::Report() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::Report() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_Report(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::ReportMap() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::ReportMap() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_ReportMap(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::RingerControlPoint() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::RingerControlPoint() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_RingerControlPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::RingerSetting() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::RingerSetting() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_RingerSetting(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::ScanIntervalWindow() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::ScanIntervalWindow() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_ScanIntervalWindow(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::ScanRefresh() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::ScanRefresh() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_ScanRefresh(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::SerialNumberString() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::SerialNumberString() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_SerialNumberString(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::GattServiceChanged() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::GattServiceChanged() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_GattServiceChanged(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::SoftwareRevisionString() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::SoftwareRevisionString() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_SoftwareRevisionString(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::SupportedNewAlertCategory() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::SupportedNewAlertCategory() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_SupportedNewAlertCategory(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::SupportUnreadAlertCategory() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::SupportUnreadAlertCategory() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_SupportUnreadAlertCategory(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::SystemId() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::SystemId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_SystemId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::TimeAccuracy() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::TimeAccuracy() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_TimeAccuracy(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::TimeSource() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::TimeSource() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_TimeSource(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::TimeUpdateControlPoint() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::TimeUpdateControlPoint() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_TimeUpdateControlPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::TimeUpdateState() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::TimeUpdateState() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_TimeUpdateState(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::TimeWithDst() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::TimeWithDst() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_TimeWithDst(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::TimeZone() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::TimeZone() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_TimeZone(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::TxPowerLevel() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::TxPowerLevel() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_TxPowerLevel(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::UnreadAlertStatus() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2::UnreadAlertStatus() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_UnreadAlertStatus(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicsResult::Status() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicsResult::Status() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicsResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicsResult::ProtocolError() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicsResult::ProtocolError() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicsResult)->get_ProtocolError(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicsResult::Characteristics() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicsResult::Characteristics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicsResult)->get_Characteristics(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult::SubscribedClient() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult::SubscribedClient() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattClientNotificationResult)->get_SubscribedClient(&value)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult::Status() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult::Status() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattClientNotificationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult::ProtocolError() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult::ProtocolError() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattClientNotificationResult)->get_ProtocolError(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult2::BytesSent() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult2::BytesSent() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattClientNotificationResult2)->get_BytesSent(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor::ProtectionLevel() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor::ProtectionLevel() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor)->get_ProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor::ProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor::ProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor)->put_ProtectionLevel(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor::Uuid() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor::Uuid() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor)->get_Uuid(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor::AttributeHandle() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor::AttributeHandle() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor)->get_AttributeHandle(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor::ReadValueAsync() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor::ReadValueAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor)->ReadValueAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor::ReadValueAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor::ReadValueAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor)->ReadValueWithCacheModeAsync(static_cast(cacheMode), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor::WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor::WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor)->WriteValueAsync(*(void**)(&value), &action)); return winrt::Windows::Foundation::IAsyncOperation{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor2::WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor2::WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor2)->WriteValueWithResultAsync(*(void**)(&value), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorStatics::ConvertShortIdToUuid(uint16_t shortId) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorStatics::ConvertShortIdToUuid(uint16_t shortId) const { winrt::guid descriptorUuid{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorStatics)->ConvertShortIdToUuid(shortId, put_abi(descriptorUuid))); return descriptorUuid; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics::CharacteristicAggregateFormat() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics::CharacteristicAggregateFormat() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorUuidsStatics)->get_CharacteristicAggregateFormat(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics::CharacteristicExtendedProperties() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics::CharacteristicExtendedProperties() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorUuidsStatics)->get_CharacteristicExtendedProperties(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics::CharacteristicPresentationFormat() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics::CharacteristicPresentationFormat() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorUuidsStatics)->get_CharacteristicPresentationFormat(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics::CharacteristicUserDescription() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics::CharacteristicUserDescription() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorUuidsStatics)->get_CharacteristicUserDescription(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics::ClientCharacteristicConfiguration() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics::ClientCharacteristicConfiguration() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorUuidsStatics)->get_ClientCharacteristicConfiguration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics::ServerCharacteristicConfiguration() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics::ServerCharacteristicConfiguration() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorUuidsStatics)->get_ServerCharacteristicConfiguration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorsResult::Status() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorsResult::Status() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorsResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorsResult::ProtocolError() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorsResult::ProtocolError() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorsResult)->get_ProtocolError(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorsResult::Descriptors() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorsResult::Descriptors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorsResult)->get_Descriptors(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService::GetCharacteristics(winrt::guid const& characteristicUuid) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService::GetCharacteristics(winrt::guid const& characteristicUuid) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService)->GetCharacteristics(impl::bind_in(characteristicUuid), &value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService::GetIncludedServices(winrt::guid const& serviceUuid) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService::GetIncludedServices(winrt::guid const& serviceUuid) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService)->GetIncludedServices(impl::bind_in(serviceUuid), &value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService::DeviceId() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService::Uuid() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService::Uuid() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService)->get_Uuid(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService::AttributeHandle() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService::AttributeHandle() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService)->get_AttributeHandle(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothLEDevice) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2::Device() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2::Device() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService2)->get_Device(&value)); return winrt::Windows::Devices::Bluetooth::BluetoothLEDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2::ParentServices() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2::ParentServices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService2)->get_ParentServices(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2::GetAllCharacteristics() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2::GetAllCharacteristics() const { void* characteristics{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService2)->GetAllCharacteristics(&characteristics)); return winrt::Windows::Foundation::Collections::IVectorView{ characteristics, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2::GetAllIncludedServices() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2::GetAllIncludedServices() const { void* includedServices{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService2)->GetAllIncludedServices(&includedServices)); return winrt::Windows::Foundation::Collections::IVectorView{ includedServices, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::DeviceAccessInformation() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::DeviceAccessInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->get_DeviceAccessInformation(&value)); return winrt::Windows::Devices::Enumeration::DeviceAccessInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::Session() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::Session() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->get_Session(&value)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::SharingMode() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::SharingMode() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->get_SharingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::RequestAccessAsync() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::RequestAccessAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->RequestAccessAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::OpenAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode const& sharingMode) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::OpenAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode const& sharingMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->OpenAsync(static_cast(sharingMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::GetCharacteristicsAsync() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::GetCharacteristicsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->GetCharacteristicsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::GetCharacteristicsAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::GetCharacteristicsAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->GetCharacteristicsWithCacheModeAsync(static_cast(cacheMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::GetCharacteristicsForUuidAsync(winrt::guid const& characteristicUuid) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::GetCharacteristicsForUuidAsync(winrt::guid const& characteristicUuid) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->GetCharacteristicsForUuidAsync(impl::bind_in(characteristicUuid), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::GetCharacteristicsForUuidAsync(winrt::guid const& characteristicUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::GetCharacteristicsForUuidAsync(winrt::guid const& characteristicUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->GetCharacteristicsForUuidWithCacheModeAsync(impl::bind_in(characteristicUuid), static_cast(cacheMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::GetIncludedServicesAsync() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::GetIncludedServicesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->GetIncludedServicesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::GetIncludedServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::GetIncludedServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->GetIncludedServicesWithCacheModeAsync(static_cast(cacheMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->GetIncludedServicesForUuidAsync(impl::bind_in(serviceUuid), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3::GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->GetIncludedServicesForUuidWithCacheModeAsync(impl::bind_in(serviceUuid), static_cast(cacheMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics::FromIdAsync(param::hstring const& deviceId) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServiceStatics)->FromIdAsync(*(void**)(&deviceId), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics::GetDeviceSelectorFromUuid(winrt::guid const& serviceUuid) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics::GetDeviceSelectorFromUuid(winrt::guid const& serviceUuid) const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServiceStatics)->GetDeviceSelectorFromUuid(impl::bind_in(serviceUuid), &selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics::GetDeviceSelectorFromShortId(uint16_t serviceShortId) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics::GetDeviceSelectorFromShortId(uint16_t serviceShortId) const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServiceStatics)->GetDeviceSelectorFromShortId(serviceShortId, &selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics::ConvertShortIdToUuid(uint16_t shortId) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics::ConvertShortIdToUuid(uint16_t shortId) const { winrt::guid serviceUuid{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServiceStatics)->ConvertShortIdToUuid(shortId, put_abi(serviceUuid))); return serviceUuid; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2::FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode const& sharingMode) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2::FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode const& sharingMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServiceStatics2)->FromIdWithSharingModeAsync(*(void**)(&deviceId), static_cast(sharingMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2::GetDeviceSelectorForBluetoothDeviceId(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2::GetDeviceSelectorForBluetoothDeviceId(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServiceStatics2)->GetDeviceSelectorForBluetoothDeviceId(*(void**)(&bluetoothDeviceId), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2::GetDeviceSelectorForBluetoothDeviceId(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2::GetDeviceSelectorForBluetoothDeviceId(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServiceStatics2)->GetDeviceSelectorForBluetoothDeviceIdWithCacheMode(*(void**)(&bluetoothDeviceId), static_cast(cacheMode), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2::GetDeviceSelectorForBluetoothDeviceIdAndUuid(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::guid const& serviceUuid) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2::GetDeviceSelectorForBluetoothDeviceIdAndUuid(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::guid const& serviceUuid) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServiceStatics2)->GetDeviceSelectorForBluetoothDeviceIdAndUuid(*(void**)(&bluetoothDeviceId), impl::bind_in(serviceUuid), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2::GetDeviceSelectorForBluetoothDeviceIdAndUuid(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2::GetDeviceSelectorForBluetoothDeviceIdAndUuid(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServiceStatics2)->GetDeviceSelectorForBluetoothDeviceIdAndUuidWithCacheMode(*(void**)(&bluetoothDeviceId), impl::bind_in(serviceUuid), static_cast(cacheMode), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServicesResult::Status() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServicesResult::Status() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServicesResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServicesResult::ProtocolError() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServicesResult::ProtocolError() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServicesResult)->get_ProtocolError(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServicesResult::Services() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServicesResult::Services() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServicesResult)->get_Services(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::Uuid() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::Uuid() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->get_Uuid(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::StaticValue() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::StaticValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->get_StaticValue(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::CharacteristicProperties() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::CharacteristicProperties() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->get_CharacteristicProperties(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::ReadProtectionLevel() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::ReadProtectionLevel() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->get_ReadProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::WriteProtectionLevel() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::WriteProtectionLevel() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->get_WriteProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::CreateDescriptorAsync(winrt::guid const& descriptorUuid, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptorParameters const& parameters) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::CreateDescriptorAsync(winrt::guid const& descriptorUuid, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptorParameters const& parameters) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->CreateDescriptorAsync(impl::bind_in(descriptorUuid), *(void**)(¶meters), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::Descriptors() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::Descriptors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->get_Descriptors(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::UserDescription() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::UserDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->get_UserDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::PresentationFormats() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::PresentationFormats() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->get_PresentationFormats(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::SubscribedClients() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::SubscribedClients() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->get_SubscribedClients(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::SubscribedClientsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::SubscribedClientsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->add_SubscribedClientsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::SubscribedClientsChanged_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::SubscribedClientsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::SubscribedClientsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SubscribedClientsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::SubscribedClientsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::SubscribedClientsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->remove_SubscribedClientsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::ReadRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::ReadRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->add_ReadRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::ReadRequested_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReadRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::ReadRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::ReadRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->remove_ReadRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::WriteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::WriteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->add_WriteRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::WriteRequested_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::WriteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::WriteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, WriteRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::WriteRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::WriteRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->remove_WriteRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::NotifyValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::NotifyValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->NotifyValueAsync(*(void**)(&value), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::NotifyValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient const& subscribedClient) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic::NotifyValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient const& subscribedClient) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->NotifyValueForSubscribedClientAsync(*(void**)(&value), *(void**)(&subscribedClient), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::StaticValue(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::StaticValue(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters)->put_StaticValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::StaticValue() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::StaticValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters)->get_StaticValue(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::CharacteristicProperties(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::CharacteristicProperties(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters)->put_CharacteristicProperties(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::CharacteristicProperties() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::CharacteristicProperties() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters)->get_CharacteristicProperties(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::ReadProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::ReadProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters)->put_ReadProtectionLevel(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::ReadProtectionLevel() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::ReadProtectionLevel() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters)->get_ReadProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::WriteProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::WriteProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters)->put_WriteProtectionLevel(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::WriteProtectionLevel() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::WriteProtectionLevel() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters)->get_WriteProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::UserDescription(param::hstring const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::UserDescription(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters)->put_UserDescription(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::UserDescription() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::UserDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters)->get_UserDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::PresentationFormats() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters::PresentationFormats() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters)->get_PresentationFormats(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicResult::Characteristic() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicResult::Characteristic() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicResult)->get_Characteristic(&value)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicResult::Error() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicResult::Error() const { winrt::Windows::Devices::Bluetooth::BluetoothError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicResult)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::Uuid() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::Uuid() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor)->get_Uuid(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::StaticValue() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::StaticValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor)->get_StaticValue(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::ReadProtectionLevel() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::ReadProtectionLevel() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor)->get_ReadProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::WriteProtectionLevel() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::WriteProtectionLevel() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor)->get_WriteProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::ReadRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::ReadRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor)->add_ReadRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::ReadRequested_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReadRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::ReadRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::ReadRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor)->remove_ReadRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::WriteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::WriteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor)->add_WriteRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::WriteRequested_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::WriteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::WriteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, WriteRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::WriteRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor::WriteRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor)->remove_WriteRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters::StaticValue(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters::StaticValue(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters)->put_StaticValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters::StaticValue() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters::StaticValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters)->get_StaticValue(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters::ReadProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters::ReadProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters)->put_ReadProtectionLevel(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters::ReadProtectionLevel() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters::ReadProtectionLevel() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters)->get_ReadProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters::WriteProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters::WriteProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters)->put_WriteProtectionLevel(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters::WriteProtectionLevel() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters::WriteProtectionLevel() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters)->get_WriteProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorResult::Descriptor() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorResult::Descriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorResult)->get_Descriptor(&value)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorResult::Error() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorResult::Error() const { winrt::Windows::Devices::Bluetooth::BluetoothError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorResult)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalService::Uuid() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalService::Uuid() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalService)->get_Uuid(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalService::CreateCharacteristicAsync(winrt::guid const& characteristicUuid, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristicParameters const& parameters) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalService::CreateCharacteristicAsync(winrt::guid const& characteristicUuid, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristicParameters const& parameters) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalService)->CreateCharacteristicAsync(impl::bind_in(characteristicUuid), *(void**)(¶meters), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalService::Characteristics() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalService::Characteristics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalService)->get_Characteristics(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat::FormatType() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat::FormatType() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormat)->get_FormatType(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat::Exponent() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat::Exponent() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormat)->get_Exponent(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat::Unit() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat::Unit() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormat)->get_Unit(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat::Namespace() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat::Namespace() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormat)->get_Namespace(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat::Description() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat::Description() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormat)->get_Description(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatStatics::BluetoothSigAssignedNumbers() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatStatics::BluetoothSigAssignedNumbers() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatStatics)->get_BluetoothSigAssignedNumbers(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattPresentationFormat) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatStatics2::FromParts(uint8_t formatType, int32_t exponent, uint16_t unit, uint8_t namespaceId, uint16_t description) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatStatics2::FromParts(uint8_t formatType, int32_t exponent, uint16_t unit, uint8_t namespaceId, uint16_t description) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatStatics2)->FromParts(formatType, exponent, unit, namespaceId, description, &result)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattPresentationFormat{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Boolean() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Boolean() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Boolean(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Bit2() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Bit2() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Bit2(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Nibble() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Nibble() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Nibble(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::UInt8() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::UInt8() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_UInt8(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::UInt12() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::UInt12() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_UInt12(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::UInt16() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::UInt16() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_UInt16(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::UInt24() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::UInt24() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_UInt24(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::UInt32() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::UInt32() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_UInt32(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::UInt48() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::UInt48() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_UInt48(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::UInt64() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::UInt64() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_UInt64(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::UInt128() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::UInt128() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_UInt128(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SInt8() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SInt8() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SInt8(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SInt12() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SInt12() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SInt12(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SInt16() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SInt16() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SInt16(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SInt24() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SInt24() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SInt24(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SInt32() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SInt32() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SInt32(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SInt48() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SInt48() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SInt48(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SInt64() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SInt64() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SInt64(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SInt128() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SInt128() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SInt128(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Float32() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Float32() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Float32(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Float64() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Float64() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Float64(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SFloat() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::SFloat() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SFloat(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Float() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Float() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Float(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::DUInt16() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::DUInt16() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_DUInt16(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Utf8() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Utf8() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Utf8(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Utf16() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Utf16() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Utf16(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Struct() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics::Struct() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Struct(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InvalidHandle() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InvalidHandle() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InvalidHandle(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::ReadNotPermitted() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::ReadNotPermitted() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_ReadNotPermitted(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::WriteNotPermitted() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::WriteNotPermitted() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_WriteNotPermitted(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InvalidPdu() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InvalidPdu() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InvalidPdu(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InsufficientAuthentication() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InsufficientAuthentication() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InsufficientAuthentication(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::RequestNotSupported() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::RequestNotSupported() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_RequestNotSupported(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InvalidOffset() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InvalidOffset() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InvalidOffset(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InsufficientAuthorization() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InsufficientAuthorization() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InsufficientAuthorization(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::PrepareQueueFull() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::PrepareQueueFull() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_PrepareQueueFull(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::AttributeNotFound() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::AttributeNotFound() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_AttributeNotFound(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::AttributeNotLong() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::AttributeNotLong() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_AttributeNotLong(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InsufficientEncryptionKeySize() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InsufficientEncryptionKeySize() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InsufficientEncryptionKeySize(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InvalidAttributeValueLength() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InvalidAttributeValueLength() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InvalidAttributeValueLength(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::UnlikelyError() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::UnlikelyError() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_UnlikelyError(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InsufficientEncryption() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InsufficientEncryption() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InsufficientEncryption(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::UnsupportedGroupType() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::UnsupportedGroupType() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_UnsupportedGroupType(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InsufficientResources() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics::InsufficientResources() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InsufficientResources(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult::Status() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult::Status() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadClientCharacteristicConfigurationDescriptorResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult::ClientCharacteristicConfigurationDescriptor() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult::ClientCharacteristicConfigurationDescriptor() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadClientCharacteristicConfigurationDescriptorResult)->get_ClientCharacteristicConfigurationDescriptor(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult2::ProtocolError() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult2::ProtocolError() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadClientCharacteristicConfigurationDescriptorResult2)->get_ProtocolError(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::Offset() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::Offset() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest)->get_Offset(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::Length() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::Length() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::State() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::State() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest)->add_StateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::StateChanged_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::StateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::StateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest)->remove_StateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::RespondWithValue(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::RespondWithValue(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest)->RespondWithValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::RespondWithProtocolError(uint8_t protocolError) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest::RespondWithProtocolError(uint8_t protocolError) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest)->RespondWithProtocolError(protocolError)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequestedEventArgs::Session() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequestedEventArgs::Session() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequestedEventArgs)->get_Session(&value)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequestedEventArgs::GetDeferral() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequestedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequestedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequestedEventArgs::GetRequestAsync() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequestedEventArgs::GetRequestAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequestedEventArgs)->GetRequestAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult::Status() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult::Status() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult::Value() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadResult)->get_Value(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult2::ProtocolError() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult2::ProtocolError() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadResult2)->get_ProtocolError(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction::WriteValue(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic const& characteristic, winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction::WriteValue(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic const& characteristic, winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReliableWriteTransaction)->WriteValue(*(void**)(&characteristic), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction::CommitAsync() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction::CommitAsync() const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReliableWriteTransaction)->CommitAsync(&asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction2::CommitWithResultAsync() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction2::CommitWithResultAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReliableWriteTransaction2)->CommitWithResultAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattRequestStateChangedEventArgs::State() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattRequestStateChangedEventArgs::State() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattRequestStateChangedEventArgs)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattRequestStateChangedEventArgs::Error() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattRequestStateChangedEventArgs::Error() const { winrt::Windows::Devices::Bluetooth::BluetoothError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattRequestStateChangedEventArgs)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalService) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::Service() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::Service() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider)->get_Service(&value)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalService{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::AdvertisementStatus() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::AdvertisementStatus() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider)->get_AdvertisementStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::AdvertisementStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::AdvertisementStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider)->add_AdvertisementStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::AdvertisementStatusChanged_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::AdvertisementStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::AdvertisementStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AdvertisementStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::AdvertisementStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::AdvertisementStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider)->remove_AdvertisementStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::StartAdvertising() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::StartAdvertising() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider)->StartAdvertising()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::StartAdvertising(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters const& parameters) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::StartAdvertising(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters const& parameters) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider)->StartAdvertisingWithParameters(*(void**)(¶meters))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::StopAdvertising() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider::StopAdvertising() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider)->StopAdvertising()); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisementStatusChangedEventArgs::Error() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisementStatusChangedEventArgs::Error() const { winrt::Windows::Devices::Bluetooth::BluetoothError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisementStatusChangedEventArgs)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisementStatusChangedEventArgs::Status() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisementStatusChangedEventArgs::Status() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisementStatusChangedEventArgs)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters::IsConnectable(bool value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters::IsConnectable(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisingParameters)->put_IsConnectable(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters::IsConnectable() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters::IsConnectable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisingParameters)->get_IsConnectable(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters::IsDiscoverable(bool value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters::IsDiscoverable(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisingParameters)->put_IsDiscoverable(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters::IsDiscoverable() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters::IsDiscoverable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisingParameters)->get_IsDiscoverable(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters2::ServiceData(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters2::ServiceData(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisingParameters2)->put_ServiceData(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters2::ServiceData() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters2::ServiceData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisingParameters2)->get_ServiceData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderResult::Error() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderResult::Error() const { winrt::Windows::Devices::Bluetooth::BluetoothError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderResult)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProvider) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderResult::ServiceProvider() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderResult::ServiceProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderResult)->get_ServiceProvider(&value)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderStatics::CreateAsync(winrt::guid const& serviceUuid) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderStatics::CreateAsync(winrt::guid const& serviceUuid) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderStatics)->CreateAsync(impl::bind_in(serviceUuid), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::Battery() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::Battery() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_Battery(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::BloodPressure() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::BloodPressure() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_BloodPressure(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::CyclingSpeedAndCadence() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::CyclingSpeedAndCadence() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_CyclingSpeedAndCadence(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::GenericAccess() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::GenericAccess() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_GenericAccess(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::GenericAttribute() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::GenericAttribute() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_GenericAttribute(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::Glucose() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::Glucose() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_Glucose(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::HealthThermometer() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::HealthThermometer() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_HealthThermometer(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::HeartRate() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::HeartRate() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_HeartRate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::RunningSpeedAndCadence() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics::RunningSpeedAndCadence() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_RunningSpeedAndCadence(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::AlertNotification() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::AlertNotification() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_AlertNotification(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::CurrentTime() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::CurrentTime() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_CurrentTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::CyclingPower() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::CyclingPower() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_CyclingPower(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::DeviceInformation() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::DeviceInformation() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_DeviceInformation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::HumanInterfaceDevice() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::HumanInterfaceDevice() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_HumanInterfaceDevice(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::ImmediateAlert() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::ImmediateAlert() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_ImmediateAlert(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::LinkLoss() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::LinkLoss() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_LinkLoss(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::LocationAndNavigation() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::LocationAndNavigation() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_LocationAndNavigation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::NextDstChange() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::NextDstChange() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_NextDstChange(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::PhoneAlertStatus() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::PhoneAlertStatus() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_PhoneAlertStatus(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::ReferenceTimeUpdate() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::ReferenceTimeUpdate() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_ReferenceTimeUpdate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::ScanParameters() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::ScanParameters() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_ScanParameters(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::TxPower() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2::TxPower() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_TxPower(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::DeviceId() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->get_DeviceId(&value)); return winrt::Windows::Devices::Bluetooth::BluetoothDeviceId{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::CanMaintainConnection() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::CanMaintainConnection() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->get_CanMaintainConnection(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::MaintainConnection(bool value) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::MaintainConnection(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->put_MaintainConnection(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::MaintainConnection() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::MaintainConnection() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->get_MaintainConnection(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::MaxPduSize() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::MaxPduSize() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->get_MaxPduSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::SessionStatus() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::SessionStatus() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->get_SessionStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::MaxPduSizeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::MaxPduSizeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->add_MaxPduSizeChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::MaxPduSizeChanged_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::MaxPduSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::MaxPduSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MaxPduSizeChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::MaxPduSizeChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::MaxPduSizeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->remove_MaxPduSizeChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::SessionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::SessionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->add_SessionStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::SessionStatusChanged_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SessionStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::SessionStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession::SessionStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->remove_SessionStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatics::FromDeviceIdAsync(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& deviceId) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatics::FromDeviceIdAsync(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSessionStatics)->FromDeviceIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatusChangedEventArgs::Error() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatusChangedEventArgs::Error() const { winrt::Windows::Devices::Bluetooth::BluetoothError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSessionStatusChangedEventArgs)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatusChangedEventArgs::Status() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatusChangedEventArgs::Status() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSessionStatusChangedEventArgs)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient::Session() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient::Session() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient)->get_Session(&value)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient::MaxNotificationSize() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient::MaxNotificationSize() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient)->get_MaxNotificationSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient::MaxNotificationSizeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient::MaxNotificationSizeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient)->add_MaxNotificationSizeChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient::MaxNotificationSizeChanged_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient::MaxNotificationSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient::MaxNotificationSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MaxNotificationSizeChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient::MaxNotificationSizeChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient::MaxNotificationSizeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient)->remove_MaxNotificationSizeChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattValueChangedEventArgs::CharacteristicValue() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattValueChangedEventArgs::CharacteristicValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattValueChangedEventArgs)->get_CharacteristicValue(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattValueChangedEventArgs::Timestamp() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattValueChangedEventArgs::Timestamp() const { winrt::Windows::Foundation::DateTime timestamp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattValueChangedEventArgs)->get_Timestamp(put_abi(timestamp))); return timestamp; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::Value() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest)->get_Value(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::Offset() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::Offset() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest)->get_Offset(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::Option() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::Option() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest)->get_Option(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::State() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::State() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest)->add_StateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::StateChanged_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::StateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::StateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest)->remove_StateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::Respond() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::Respond() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest)->Respond()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::RespondWithProtocolError(uint8_t protocolError) const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest::RespondWithProtocolError(uint8_t protocolError) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest)->RespondWithProtocolError(protocolError)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequestedEventArgs::Session() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequestedEventArgs::Session() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequestedEventArgs)->get_Session(&value)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequestedEventArgs::GetDeferral() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequestedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequestedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequestedEventArgs::GetRequestAsync() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequestedEventArgs::GetRequestAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequestedEventArgs)->GetRequestAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteResult::Status() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteResult::Status() const { winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteResult::ProtocolError() const + template auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteResult::ProtocolError() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteResult)->get_ProtocolError(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Rfcomm.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Rfcomm.h index 41016076..847c8823 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Rfcomm.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Rfcomm.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_Rfcomm_H #define WINRT_Windows_Devices_Bluetooth_Rfcomm_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.Bluetooth.h" #include "winrt/impl/Windows.Devices.Bluetooth.2.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" @@ -17,205 +17,205 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Bluetooth.Rfcomm.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService::ConnectionHostName() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService::ConnectionHostName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService)->get_ConnectionHostName(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService::ConnectionServiceName() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService::ConnectionServiceName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService)->get_ConnectionServiceName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService::ServiceId() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService::ServiceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService)->get_ServiceId(&value)); return winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketProtectionLevel) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService::ProtectionLevel() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService::ProtectionLevel() const { winrt::Windows::Networking::Sockets::SocketProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService)->get_ProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketProtectionLevel) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService::MaxProtectionLevel() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService::MaxProtectionLevel() const { winrt::Windows::Networking::Sockets::SocketProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService)->get_MaxProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService::GetSdpRawAttributesAsync() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService::GetSdpRawAttributesAsync() const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService)->GetSdpRawAttributesAsync(&asyncOp)); return winrt::Windows::Foundation::IAsyncOperation>{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService::GetSdpRawAttributesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService::GetSdpRawAttributesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService)->GetSdpRawAttributesWithCacheModeAsync(static_cast(cacheMode), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation>{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDevice) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService2::Device() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService2::Device() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService2)->get_Device(&value)); return winrt::Windows::Devices::Bluetooth::BluetoothDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService3::DeviceAccessInformation() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService3::DeviceAccessInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService3)->get_DeviceAccessInformation(&value)); return winrt::Windows::Devices::Enumeration::DeviceAccessInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService3::RequestAccessAsync() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService3::RequestAccessAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService3)->RequestAccessAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics::FromIdAsync(param::hstring const& deviceId) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServiceStatics)->FromIdAsync(*(void**)(&deviceId), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics::GetDeviceSelector(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics::GetDeviceSelector(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServiceStatics)->GetDeviceSelector(*(void**)(&serviceId), &selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2::GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice) const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2::GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice) const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServiceStatics2)->GetDeviceSelectorForBluetoothDevice(*(void**)(&bluetoothDevice), &selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2::GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2::GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServiceStatics2)->GetDeviceSelectorForBluetoothDeviceWithCacheMode(*(void**)(&bluetoothDevice), static_cast(cacheMode), &selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2::GetDeviceSelectorForBluetoothDeviceAndServiceId(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2::GetDeviceSelectorForBluetoothDeviceAndServiceId(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServiceStatics2)->GetDeviceSelectorForBluetoothDeviceAndServiceId(*(void**)(&bluetoothDevice), *(void**)(&serviceId), &selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2::GetDeviceSelectorForBluetoothDeviceAndServiceId(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2::GetDeviceSelectorForBluetoothDeviceAndServiceId(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServiceStatics2)->GetDeviceSelectorForBluetoothDeviceAndServiceIdWithCacheMode(*(void**)(&bluetoothDevice), *(void**)(&serviceId), static_cast(cacheMode), &selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServicesResult::Error() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServicesResult::Error() const { winrt::Windows::Devices::Bluetooth::BluetoothError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServicesResult)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServicesResult::Services() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServicesResult::Services() const { void* services{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServicesResult)->get_Services(&services)); return winrt::Windows::Foundation::Collections::IVectorView{ services, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceId::Uuid() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceId::Uuid() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId)->get_Uuid(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceId::AsShortId() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceId::AsShortId() const { uint32_t shortId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId)->AsShortId(&shortId)); return shortId; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceId::AsString() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceId::AsString() const { void* id{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId)->AsString(&id)); return hstring{ id, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics::FromUuid(winrt::guid const& uuid) const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics::FromUuid(winrt::guid const& uuid) const { void* serviceId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceIdStatics)->FromUuid(impl::bind_in(uuid), &serviceId)); return winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId{ serviceId, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics::FromShortId(uint32_t shortId) const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics::FromShortId(uint32_t shortId) const { void* serviceId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceIdStatics)->FromShortId(shortId, &serviceId)); return winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId{ serviceId, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics::SerialPort() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics::SerialPort() const { void* serviceId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceIdStatics)->get_SerialPort(&serviceId)); return winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId{ serviceId, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics::ObexObjectPush() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics::ObexObjectPush() const { void* serviceId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceIdStatics)->get_ObexObjectPush(&serviceId)); return winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId{ serviceId, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics::ObexFileTransfer() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics::ObexFileTransfer() const { void* serviceId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceIdStatics)->get_ObexFileTransfer(&serviceId)); return winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId{ serviceId, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics::PhoneBookAccessPce() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics::PhoneBookAccessPce() const { void* serviceId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceIdStatics)->get_PhoneBookAccessPce(&serviceId)); return winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId{ serviceId, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics::PhoneBookAccessPse() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics::PhoneBookAccessPse() const { void* serviceId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceIdStatics)->get_PhoneBookAccessPse(&serviceId)); return winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId{ serviceId, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics::GenericFileTransfer() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics::GenericFileTransfer() const { void* serviceId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceIdStatics)->get_GenericFileTransfer(&serviceId)); return winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId{ serviceId, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider::ServiceId() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider::ServiceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider)->get_ServiceId(&value)); return winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider::SdpRawAttributes() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider::SdpRawAttributes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider)->get_SdpRawAttributes(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider::StartAdvertising(winrt::Windows::Networking::Sockets::StreamSocketListener const& listener) const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider::StartAdvertising(winrt::Windows::Networking::Sockets::StreamSocketListener const& listener) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider)->StartAdvertising(*(void**)(&listener))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider::StopAdvertising() const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider::StopAdvertising() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider)->StopAdvertising()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider2::StartAdvertising(winrt::Windows::Networking::Sockets::StreamSocketListener const& listener, bool radioDiscoverable) const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider2::StartAdvertising(winrt::Windows::Networking::Sockets::StreamSocketListener const& listener, bool radioDiscoverable) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider2)->StartAdvertisingWithRadioDiscoverability(*(void**)(&listener), radioDiscoverable)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProviderStatics::CreateAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const + template auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProviderStatics::CreateAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProviderStatics)->CreateAsync(*(void**)(&serviceId), &asyncOp)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.h index 79f8ddf9..40ca174f 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_H #define WINRT_Windows_Devices_Bluetooth_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.2.h" #include "winrt/impl/Windows.Devices.Bluetooth.Rfcomm.2.h" @@ -18,935 +18,935 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Bluetooth.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothAdapter::DeviceId() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Devices_Bluetooth_IBluetoothAdapter::BluetoothAddress() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter::BluetoothAddress() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter)->get_BluetoothAddress(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothAdapter::IsClassicSupported() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter::IsClassicSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter)->get_IsClassicSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothAdapter::IsLowEnergySupported() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter::IsLowEnergySupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter)->get_IsLowEnergySupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothAdapter::IsPeripheralRoleSupported() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter::IsPeripheralRoleSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter)->get_IsPeripheralRoleSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothAdapter::IsCentralRoleSupported() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter::IsCentralRoleSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter)->get_IsCentralRoleSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothAdapter::IsAdvertisementOffloadSupported() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter::IsAdvertisementOffloadSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter)->get_IsAdvertisementOffloadSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothAdapter::GetRadioAsync() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter::GetRadioAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter)->GetRadioAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothAdapter2::AreClassicSecureConnectionsSupported() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter2::AreClassicSecureConnectionsSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter2)->get_AreClassicSecureConnectionsSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothAdapter2::AreLowEnergySecureConnectionsSupported() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter2::AreLowEnergySecureConnectionsSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter2)->get_AreLowEnergySecureConnectionsSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothAdapter3::IsExtendedAdvertisingSupported() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter3::IsExtendedAdvertisingSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter3)->get_IsExtendedAdvertisingSupported(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Bluetooth_IBluetoothAdapter3::MaxAdvertisementDataLength() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter3::MaxAdvertisementDataLength() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter3)->get_MaxAdvertisementDataLength(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothAdapterStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothAdapterStatics::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapterStatics)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothAdapterStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothAdapterStatics::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapterStatics)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothAdapterStatics::GetDefaultAsync() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothAdapterStatics::GetDefaultAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapterStatics)->GetDefaultAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice::RawValue() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice::RawValue() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothClassOfDevice)->get_RawValue(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothMajorClass) consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice::MajorClass() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice::MajorClass() const { winrt::Windows::Devices::Bluetooth::BluetoothMajorClass value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothClassOfDevice)->get_MajorClass(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothMinorClass) consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice::MinorClass() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice::MinorClass() const { winrt::Windows::Devices::Bluetooth::BluetoothMinorClass value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothClassOfDevice)->get_MinorClass(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities) consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice::ServiceCapabilities() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice::ServiceCapabilities() const { winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothClassOfDevice)->get_ServiceCapabilities(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice) consume_Windows_Devices_Bluetooth_IBluetoothClassOfDeviceStatics::FromRawValue(uint32_t rawValue) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothClassOfDeviceStatics::FromRawValue(uint32_t rawValue) const { void* classOfDevice{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothClassOfDeviceStatics)->FromRawValue(rawValue, &classOfDevice)); return winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice{ classOfDevice, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice) consume_Windows_Devices_Bluetooth_IBluetoothClassOfDeviceStatics::FromParts(winrt::Windows::Devices::Bluetooth::BluetoothMajorClass const& majorClass, winrt::Windows::Devices::Bluetooth::BluetoothMinorClass const& minorClass, winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities const& serviceCapabilities) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothClassOfDeviceStatics::FromParts(winrt::Windows::Devices::Bluetooth::BluetoothMajorClass const& majorClass, winrt::Windows::Devices::Bluetooth::BluetoothMinorClass const& minorClass, winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities const& serviceCapabilities) const { void* classOfDevice{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothClassOfDeviceStatics)->FromParts(static_cast(majorClass), static_cast(minorClass), static_cast(serviceCapabilities), &classOfDevice)); return winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice{ classOfDevice, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDevice::DeviceId() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Devices_Bluetooth_IBluetoothDevice::HostName() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::HostName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->get_HostName(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDevice::Name() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice) consume_Windows_Devices_Bluetooth_IBluetoothDevice::ClassOfDevice() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::ClassOfDevice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->get_ClassOfDevice(&value)); return winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_IBluetoothDevice::SdpRecords() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::SdpRecords() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->get_SdpRecords(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_IBluetoothDevice::RfcommServices() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::RfcommServices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->get_RfcommServices(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus) consume_Windows_Devices_Bluetooth_IBluetoothDevice::ConnectionStatus() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::ConnectionStatus() const { winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->get_ConnectionStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Devices_Bluetooth_IBluetoothDevice::BluetoothAddress() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::BluetoothAddress() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->get_BluetoothAddress(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_IBluetoothDevice::NameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::NameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->add_NameChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_IBluetoothDevice::NameChanged_revoker consume_Windows_Devices_Bluetooth_IBluetoothDevice::NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NameChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothDevice::NameChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::NameChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->remove_NameChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_IBluetoothDevice::SdpRecordsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::SdpRecordsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->add_SdpRecordsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_IBluetoothDevice::SdpRecordsChanged_revoker consume_Windows_Devices_Bluetooth_IBluetoothDevice::SdpRecordsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::SdpRecordsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SdpRecordsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothDevice::SdpRecordsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::SdpRecordsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->remove_SdpRecordsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_IBluetoothDevice::ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->add_ConnectionStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_IBluetoothDevice::ConnectionStatusChanged_revoker consume_Windows_Devices_Bluetooth_IBluetoothDevice::ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ConnectionStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothDevice::ConnectionStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice::ConnectionStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->remove_ConnectionStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_Bluetooth_IBluetoothDevice2::DeviceInformation() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice2::DeviceInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice2)->get_DeviceInformation(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) consume_Windows_Devices_Bluetooth_IBluetoothDevice3::DeviceAccessInformation() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice3::DeviceAccessInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice3)->get_DeviceAccessInformation(&value)); return winrt::Windows::Devices::Enumeration::DeviceAccessInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothDevice3::RequestAccessAsync() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice3::RequestAccessAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice3)->RequestAccessAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothDevice3::GetRfcommServicesAsync() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice3::GetRfcommServicesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice3)->GetRfcommServicesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothDevice3::GetRfcommServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice3::GetRfcommServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice3)->GetRfcommServicesWithCacheModeAsync(static_cast(cacheMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothDevice3::GetRfcommServicesForIdAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice3::GetRfcommServicesForIdAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice3)->GetRfcommServicesForIdAsync(*(void**)(&serviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothDevice3::GetRfcommServicesForIdAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice3::GetRfcommServicesForIdAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice3)->GetRfcommServicesForIdWithCacheModeAsync(*(void**)(&serviceId), static_cast(cacheMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId) consume_Windows_Devices_Bluetooth_IBluetoothDevice4::BluetoothDeviceId() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice4::BluetoothDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice4)->get_BluetoothDeviceId(&value)); return winrt::Windows::Devices::Bluetooth::BluetoothDeviceId{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothDevice5::WasSecureConnectionUsedForPairing() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDevice5::WasSecureConnectionUsedForPairing() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice5)->get_WasSecureConnectionUsedForPairing(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDeviceId::Id() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceId::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceId)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothDeviceId::IsClassicDevice() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceId::IsClassicDevice() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceId)->get_IsClassicDevice(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothDeviceId::IsLowEnergyDevice() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceId::IsLowEnergyDevice() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceId)->get_IsLowEnergyDevice(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId) consume_Windows_Devices_Bluetooth_IBluetoothDeviceIdStatics::FromId(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceIdStatics::FromId(param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceIdStatics)->FromId(*(void**)(&deviceId), &result)); return winrt::Windows::Devices::Bluetooth::BluetoothDeviceId{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceStatics)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics::FromHostNameAsync(winrt::Windows::Networking::HostName const& hostName) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics::FromHostNameAsync(winrt::Windows::Networking::HostName const& hostName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceStatics)->FromHostNameAsync(*(void**)(&hostName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics::FromBluetoothAddressAsync(uint64_t address) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics::FromBluetoothAddressAsync(uint64_t address) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceStatics)->FromBluetoothAddressAsync(address, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics::GetDeviceSelector() const { void* deviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceStatics)->GetDeviceSelector(&deviceSelector)); return hstring{ deviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2::GetDeviceSelectorFromPairingState(bool pairingState) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2::GetDeviceSelectorFromPairingState(bool pairingState) const { void* deviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceStatics2)->GetDeviceSelectorFromPairingState(pairingState, &deviceSelector)); return hstring{ deviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2::GetDeviceSelectorFromConnectionStatus(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus const& connectionStatus) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2::GetDeviceSelectorFromConnectionStatus(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus const& connectionStatus) const { void* deviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceStatics2)->GetDeviceSelectorFromConnectionStatus(static_cast(connectionStatus), &deviceSelector)); return hstring{ deviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2::GetDeviceSelectorFromDeviceName(param::hstring const& deviceName) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2::GetDeviceSelectorFromDeviceName(param::hstring const& deviceName) const { void* deviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceStatics2)->GetDeviceSelectorFromDeviceName(*(void**)(&deviceName), &deviceSelector)); return hstring{ deviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2::GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2::GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress) const { void* deviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceStatics2)->GetDeviceSelectorFromBluetoothAddress(bluetoothAddress, &deviceSelector)); return hstring{ deviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2::GetDeviceSelectorFromClassOfDevice(winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice const& classOfDevice) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2::GetDeviceSelectorFromClassOfDevice(winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice const& classOfDevice) const { void* deviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceStatics2)->GetDeviceSelectorFromClassOfDevice(*(void**)(&classOfDevice), &deviceSelector)); return hstring{ deviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearance::RawValue() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearance::RawValue() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearance)->get_RawValue(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearance::Category() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearance::Category() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearance)->get_Category(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearance::SubCategory() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearance::SubCategory() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearance)->get_SubCategory(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Uncategorized() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Uncategorized() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Uncategorized(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Phone() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Phone() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Phone(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Computer() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Computer() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Computer(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Watch() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Watch() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Watch(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Clock() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Clock() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Clock(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Display() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Display() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Display(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::RemoteControl() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::RemoteControl() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_RemoteControl(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::EyeGlasses() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::EyeGlasses() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_EyeGlasses(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Tag() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Tag() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Tag(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Keyring() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Keyring() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Keyring(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::MediaPlayer() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::MediaPlayer() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_MediaPlayer(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::BarcodeScanner() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::BarcodeScanner() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_BarcodeScanner(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Thermometer() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Thermometer() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Thermometer(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::HeartRate() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::HeartRate() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_HeartRate(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::BloodPressure() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::BloodPressure() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_BloodPressure(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::HumanInterfaceDevice() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::HumanInterfaceDevice() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_HumanInterfaceDevice(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::GlucoseMeter() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::GlucoseMeter() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_GlucoseMeter(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::RunningWalking() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::RunningWalking() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_RunningWalking(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Cycling() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::Cycling() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Cycling(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::PulseOximeter() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::PulseOximeter() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_PulseOximeter(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::WeightScale() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::WeightScale() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_WeightScale(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::OutdoorSportActivity() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics::OutdoorSportActivity() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_OutdoorSportActivity(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceStatics::FromRawValue(uint16_t rawValue) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceStatics::FromRawValue(uint16_t rawValue) const { void* appearance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceStatics)->FromRawValue(rawValue, &appearance)); return winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance{ appearance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceStatics::FromParts(uint16_t appearanceCategory, uint16_t appearanceSubCategory) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceStatics::FromParts(uint16_t appearanceCategory, uint16_t appearanceSubCategory) const { void* appearance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceStatics)->FromParts(appearanceCategory, appearanceSubCategory, &appearance)); return winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance{ appearance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::Generic() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::Generic() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_Generic(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::SportsWatch() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::SportsWatch() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_SportsWatch(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::ThermometerEar() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::ThermometerEar() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_ThermometerEar(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::HeartRateBelt() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::HeartRateBelt() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_HeartRateBelt(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::BloodPressureArm() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::BloodPressureArm() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_BloodPressureArm(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::BloodPressureWrist() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::BloodPressureWrist() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_BloodPressureWrist(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::Keyboard() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::Keyboard() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_Keyboard(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::Mouse() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::Mouse() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_Mouse(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::Joystick() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::Joystick() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_Joystick(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::Gamepad() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::Gamepad() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_Gamepad(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::DigitizerTablet() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::DigitizerTablet() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_DigitizerTablet(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::CardReader() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::CardReader() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_CardReader(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::DigitalPen() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::DigitalPen() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_DigitalPen(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::BarcodeScanner() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::BarcodeScanner() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_BarcodeScanner(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::RunningWalkingInShoe() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::RunningWalkingInShoe() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_RunningWalkingInShoe(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::RunningWalkingOnShoe() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::RunningWalkingOnShoe() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_RunningWalkingOnShoe(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::RunningWalkingOnHip() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::RunningWalkingOnHip() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_RunningWalkingOnHip(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::CyclingComputer() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::CyclingComputer() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_CyclingComputer(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::CyclingSpeedSensor() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::CyclingSpeedSensor() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_CyclingSpeedSensor(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::CyclingCadenceSensor() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::CyclingCadenceSensor() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_CyclingCadenceSensor(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::CyclingPowerSensor() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::CyclingPowerSensor() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_CyclingPowerSensor(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::CyclingSpeedCadenceSensor() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::CyclingSpeedCadenceSensor() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_CyclingSpeedCadenceSensor(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::OximeterFingertip() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::OximeterFingertip() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_OximeterFingertip(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::OximeterWristWorn() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::OximeterWristWorn() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_OximeterWristWorn(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::LocationDisplay() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::LocationDisplay() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_LocationDisplay(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::LocationNavigationDisplay() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::LocationNavigationDisplay() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_LocationNavigationDisplay(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::LocationPod() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::LocationPod() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_LocationPod(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::LocationNavigationPod() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics::LocationNavigationPod() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_LocationNavigationPod(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::DeviceId() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::Name() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::GattServices() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::GattServices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->get_GattServices(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::ConnectionStatus() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::ConnectionStatus() const { winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->get_ConnectionStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::BluetoothAddress() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::BluetoothAddress() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->get_BluetoothAddress(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::GetGattService(winrt::guid const& serviceUuid) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::GetGattService(winrt::guid const& serviceUuid) const { void* service{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->GetGattService(impl::bind_in(serviceUuid), &service)); return winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService{ service, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::NameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::NameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->add_NameChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::NameChanged_revoker consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NameChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::NameChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::NameChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->remove_NameChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::GattServicesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::GattServicesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->add_GattServicesChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::GattServicesChanged_revoker consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::GattServicesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::GattServicesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, GattServicesChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::GattServicesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::GattServicesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->remove_GattServicesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->add_ConnectionStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::ConnectionStatusChanged_revoker consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ConnectionStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::ConnectionStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice::ConnectionStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->remove_ConnectionStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice2::DeviceInformation() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice2::DeviceInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice2)->get_DeviceInformation(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice2::Appearance() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice2::Appearance() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice2)->get_Appearance(&value)); return winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothAddressType) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice2::BluetoothAddressType() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice2::BluetoothAddressType() const { winrt::Windows::Devices::Bluetooth::BluetoothAddressType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice2)->get_BluetoothAddressType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3::DeviceAccessInformation() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3::DeviceAccessInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice3)->get_DeviceAccessInformation(&value)); return winrt::Windows::Devices::Enumeration::DeviceAccessInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3::RequestAccessAsync() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3::RequestAccessAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice3)->RequestAccessAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3::GetGattServicesAsync() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3::GetGattServicesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice3)->GetGattServicesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3::GetGattServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3::GetGattServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice3)->GetGattServicesWithCacheModeAsync(static_cast(cacheMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3::GetGattServicesForUuidAsync(winrt::guid const& serviceUuid) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3::GetGattServicesForUuidAsync(winrt::guid const& serviceUuid) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice3)->GetGattServicesForUuidAsync(impl::bind_in(serviceUuid), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3::GetGattServicesForUuidAsync(winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3::GetGattServicesForUuidAsync(winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice3)->GetGattServicesForUuidWithCacheModeAsync(impl::bind_in(serviceUuid), static_cast(cacheMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice4::BluetoothDeviceId() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice4::BluetoothDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice4)->get_BluetoothDeviceId(&value)); return winrt::Windows::Devices::Bluetooth::BluetoothDeviceId{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice5::WasSecureConnectionUsedForPairing() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice5::WasSecureConnectionUsedForPairing() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice5)->get_WasSecureConnectionUsedForPairing(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDeviceStatics)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics::FromBluetoothAddressAsync(uint64_t bluetoothAddress) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics::FromBluetoothAddressAsync(uint64_t bluetoothAddress) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDeviceStatics)->FromBluetoothAddressAsync(bluetoothAddress, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics::GetDeviceSelector() const { void* deviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDeviceStatics)->GetDeviceSelector(&deviceSelector)); return hstring{ deviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2::GetDeviceSelectorFromPairingState(bool pairingState) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2::GetDeviceSelectorFromPairingState(bool pairingState) const { void* deviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDeviceStatics2)->GetDeviceSelectorFromPairingState(pairingState, &deviceSelector)); return hstring{ deviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2::GetDeviceSelectorFromConnectionStatus(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus const& connectionStatus) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2::GetDeviceSelectorFromConnectionStatus(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus const& connectionStatus) const { void* deviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDeviceStatics2)->GetDeviceSelectorFromConnectionStatus(static_cast(connectionStatus), &deviceSelector)); return hstring{ deviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2::GetDeviceSelectorFromDeviceName(param::hstring const& deviceName) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2::GetDeviceSelectorFromDeviceName(param::hstring const& deviceName) const { void* deviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDeviceStatics2)->GetDeviceSelectorFromDeviceName(*(void**)(&deviceName), &deviceSelector)); return hstring{ deviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2::GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2::GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress) const { void* deviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDeviceStatics2)->GetDeviceSelectorFromBluetoothAddress(bluetoothAddress, &deviceSelector)); return hstring{ deviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2::GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress, winrt::Windows::Devices::Bluetooth::BluetoothAddressType const& bluetoothAddressType) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2::GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress, winrt::Windows::Devices::Bluetooth::BluetoothAddressType const& bluetoothAddressType) const { void* deviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDeviceStatics2)->GetDeviceSelectorFromBluetoothAddressWithBluetoothAddressType(bluetoothAddress, static_cast(bluetoothAddressType), &deviceSelector)); return hstring{ deviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2::GetDeviceSelectorFromAppearance(winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance const& appearance) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2::GetDeviceSelectorFromAppearance(winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance const& appearance) const { void* deviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDeviceStatics2)->GetDeviceSelectorFromAppearance(*(void**)(&appearance), &deviceSelector)); return hstring{ deviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2::FromBluetoothAddressAsync(uint64_t bluetoothAddress, winrt::Windows::Devices::Bluetooth::BluetoothAddressType const& bluetoothAddressType) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2::FromBluetoothAddressAsync(uint64_t bluetoothAddress, winrt::Windows::Devices::Bluetooth::BluetoothAddressType const& bluetoothAddressType) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDeviceStatics2)->FromBluetoothAddressWithBluetoothAddressTypeAsync(bluetoothAddress, static_cast(bluetoothAddressType), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter::InRangeThresholdInDBm() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter::InRangeThresholdInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter)->get_InRangeThresholdInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter::InRangeThresholdInDBm(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter::InRangeThresholdInDBm(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter)->put_InRangeThresholdInDBm(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter::OutOfRangeThresholdInDBm() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter::OutOfRangeThresholdInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter)->get_OutOfRangeThresholdInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter::OutOfRangeThresholdInDBm(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter::OutOfRangeThresholdInDBm(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter)->put_OutOfRangeThresholdInDBm(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter::OutOfRangeTimeout() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter::OutOfRangeTimeout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter)->get_OutOfRangeTimeout(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter::OutOfRangeTimeout(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter::OutOfRangeTimeout(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter)->put_OutOfRangeTimeout(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter::SamplingInterval() const + template auto consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter::SamplingInterval() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter)->get_SamplingInterval(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter::SamplingInterval(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter::SamplingInterval(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter)->put_SamplingInterval(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_IBluetoothUuidHelperStatics::FromShortId(uint32_t shortId) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothUuidHelperStatics::FromShortId(uint32_t shortId) const { winrt::guid result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothUuidHelperStatics)->FromShortId(shortId, put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Bluetooth_IBluetoothUuidHelperStatics::TryGetShortId(winrt::guid const& uuid) const + template auto consume_Windows_Devices_Bluetooth_IBluetoothUuidHelperStatics::TryGetShortId(winrt::guid const& uuid) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothUuidHelperStatics)->TryGetShortId(impl::bind_in(uuid), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Custom.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Custom.h index 9251db7b..20e3979d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Custom.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Custom.h @@ -1,90 +1,90 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Custom_H #define WINRT_Windows_Devices_Custom_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.Devices.Custom.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Devices_Custom_ICustomDevice::InputStream() const + template auto consume_Windows_Devices_Custom_ICustomDevice::InputStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::ICustomDevice)->get_InputStream(&value)); return winrt::Windows::Storage::Streams::IInputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Devices_Custom_ICustomDevice::OutputStream() const + template auto consume_Windows_Devices_Custom_ICustomDevice::OutputStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::ICustomDevice)->get_OutputStream(&value)); return winrt::Windows::Storage::Streams::IOutputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Custom_ICustomDevice::SendIOControlAsync(winrt::Windows::Devices::Custom::IIOControlCode const& ioControlCode, winrt::Windows::Storage::Streams::IBuffer const& inputBuffer, winrt::Windows::Storage::Streams::IBuffer const& outputBuffer) const + template auto consume_Windows_Devices_Custom_ICustomDevice::SendIOControlAsync(winrt::Windows::Devices::Custom::IIOControlCode const& ioControlCode, winrt::Windows::Storage::Streams::IBuffer const& inputBuffer, winrt::Windows::Storage::Streams::IBuffer const& outputBuffer) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::ICustomDevice)->SendIOControlAsync(*(void**)(&ioControlCode), *(void**)(&inputBuffer), *(void**)(&outputBuffer), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Custom_ICustomDevice::TrySendIOControlAsync(winrt::Windows::Devices::Custom::IIOControlCode const& ioControlCode, winrt::Windows::Storage::Streams::IBuffer const& inputBuffer, winrt::Windows::Storage::Streams::IBuffer const& outputBuffer) const + template auto consume_Windows_Devices_Custom_ICustomDevice::TrySendIOControlAsync(winrt::Windows::Devices::Custom::IIOControlCode const& ioControlCode, winrt::Windows::Storage::Streams::IBuffer const& inputBuffer, winrt::Windows::Storage::Streams::IBuffer const& outputBuffer) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::ICustomDevice)->TrySendIOControlAsync(*(void**)(&ioControlCode), *(void**)(&inputBuffer), *(void**)(&outputBuffer), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Custom_ICustomDeviceStatics::GetDeviceSelector(winrt::guid const& classGuid) const + template auto consume_Windows_Devices_Custom_ICustomDeviceStatics::GetDeviceSelector(winrt::guid const& classGuid) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::ICustomDeviceStatics)->GetDeviceSelector(impl::bind_in(classGuid), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Custom_ICustomDeviceStatics::FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::Custom::DeviceAccessMode const& desiredAccess, winrt::Windows::Devices::Custom::DeviceSharingMode const& sharingMode) const + template auto consume_Windows_Devices_Custom_ICustomDeviceStatics::FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::Custom::DeviceAccessMode const& desiredAccess, winrt::Windows::Devices::Custom::DeviceSharingMode const& sharingMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::ICustomDeviceStatics)->FromIdAsync(*(void**)(&deviceId), static_cast(desiredAccess), static_cast(sharingMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Custom::IOControlAccessMode) consume_Windows_Devices_Custom_IIOControlCode::AccessMode() const + template auto consume_Windows_Devices_Custom_IIOControlCode::AccessMode() const { winrt::Windows::Devices::Custom::IOControlAccessMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::IIOControlCode)->get_AccessMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Custom::IOControlBufferingMethod) consume_Windows_Devices_Custom_IIOControlCode::BufferingMethod() const + template auto consume_Windows_Devices_Custom_IIOControlCode::BufferingMethod() const { winrt::Windows::Devices::Custom::IOControlBufferingMethod value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::IIOControlCode)->get_BufferingMethod(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Custom_IIOControlCode::Function() const + template auto consume_Windows_Devices_Custom_IIOControlCode::Function() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::IIOControlCode)->get_Function(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Custom_IIOControlCode::DeviceType() const + template auto consume_Windows_Devices_Custom_IIOControlCode::DeviceType() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::IIOControlCode)->get_DeviceType(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Custom_IIOControlCode::ControlCode() const + template auto consume_Windows_Devices_Custom_IIOControlCode::ControlCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::IIOControlCode)->get_ControlCode(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Custom::IOControlCode) consume_Windows_Devices_Custom_IIOControlCodeFactory::CreateIOControlCode(uint16_t deviceType, uint16_t function, winrt::Windows::Devices::Custom::IOControlAccessMode const& accessMode, winrt::Windows::Devices::Custom::IOControlBufferingMethod const& bufferingMethod) const + template auto consume_Windows_Devices_Custom_IIOControlCodeFactory::CreateIOControlCode(uint16_t deviceType, uint16_t function, winrt::Windows::Devices::Custom::IOControlAccessMode const& accessMode, winrt::Windows::Devices::Custom::IOControlBufferingMethod const& bufferingMethod) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::IIOControlCodeFactory)->CreateIOControlCode(deviceType, function, static_cast(accessMode), static_cast(bufferingMethod), &instance)); return winrt::Windows::Devices::Custom::IOControlCode{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Custom_IKnownDeviceTypesStatics::Unknown() const + template auto consume_Windows_Devices_Custom_IKnownDeviceTypesStatics::Unknown() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::IKnownDeviceTypesStatics)->get_Unknown(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Display.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Display.Core.h index a72c2ef7..d2336cea 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Display.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Display.Core.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Display_Core_H #define WINRT_Windows_Devices_Display_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.Display.h" #include "winrt/impl/Windows.Devices.Display.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -17,819 +17,819 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Display.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DisplayAdapterId) consume_Windows_Devices_Display_Core_IDisplayAdapter::Id() const + template auto consume_Windows_Devices_Display_Core_IDisplayAdapter::Id() const { winrt::Windows::Graphics::DisplayAdapterId value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayAdapter)->get_Id(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Display_Core_IDisplayAdapter::DeviceInterfacePath() const + template auto consume_Windows_Devices_Display_Core_IDisplayAdapter::DeviceInterfacePath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayAdapter)->get_DeviceInterfacePath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplayAdapter::SourceCount() const + template auto consume_Windows_Devices_Display_Core_IDisplayAdapter::SourceCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayAdapter)->get_SourceCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplayAdapter::PciVendorId() const + template auto consume_Windows_Devices_Display_Core_IDisplayAdapter::PciVendorId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayAdapter)->get_PciVendorId(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplayAdapter::PciDeviceId() const + template auto consume_Windows_Devices_Display_Core_IDisplayAdapter::PciDeviceId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayAdapter)->get_PciDeviceId(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplayAdapter::PciSubSystemId() const + template auto consume_Windows_Devices_Display_Core_IDisplayAdapter::PciSubSystemId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayAdapter)->get_PciSubSystemId(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplayAdapter::PciRevision() const + template auto consume_Windows_Devices_Display_Core_IDisplayAdapter::PciRevision() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayAdapter)->get_PciRevision(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Display_Core_IDisplayAdapter::Properties() const + template auto consume_Windows_Devices_Display_Core_IDisplayAdapter::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayAdapter)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayAdapter) consume_Windows_Devices_Display_Core_IDisplayAdapterStatics::FromId(winrt::Windows::Graphics::DisplayAdapterId const& id) const + template auto consume_Windows_Devices_Display_Core_IDisplayAdapterStatics::FromId(winrt::Windows::Graphics::DisplayAdapterId const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayAdapterStatics)->FromId(impl::bind_in(id), &result)); return winrt::Windows::Devices::Display::Core::DisplayAdapter{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplaySource) consume_Windows_Devices_Display_Core_IDisplayDevice::CreateScanoutSource(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const + template auto consume_Windows_Devices_Display_Core_IDisplayDevice::CreateScanoutSource(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayDevice)->CreateScanoutSource(*(void**)(&target), &result)); return winrt::Windows::Devices::Display::Core::DisplaySource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplaySurface) consume_Windows_Devices_Display_Core_IDisplayDevice::CreatePrimary(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription const& desc) const + template auto consume_Windows_Devices_Display_Core_IDisplayDevice::CreatePrimary(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription const& desc) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayDevice)->CreatePrimary(*(void**)(&target), *(void**)(&desc), &result)); return winrt::Windows::Devices::Display::Core::DisplaySurface{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTaskPool) consume_Windows_Devices_Display_Core_IDisplayDevice::CreateTaskPool() const + template auto consume_Windows_Devices_Display_Core_IDisplayDevice::CreateTaskPool() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayDevice)->CreateTaskPool(&result)); return winrt::Windows::Devices::Display::Core::DisplayTaskPool{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayFence) consume_Windows_Devices_Display_Core_IDisplayDevice::CreatePeriodicFence(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Foundation::TimeSpan const& offsetFromVBlank) const + template auto consume_Windows_Devices_Display_Core_IDisplayDevice::CreatePeriodicFence(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Foundation::TimeSpan const& offsetFromVBlank) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayDevice)->CreatePeriodicFence(*(void**)(&target), impl::bind_in(offsetFromVBlank), &result)); return winrt::Windows::Devices::Display::Core::DisplayFence{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayDevice::WaitForVBlank(winrt::Windows::Devices::Display::Core::DisplaySource const& source) const + template auto consume_Windows_Devices_Display_Core_IDisplayDevice::WaitForVBlank(winrt::Windows::Devices::Display::Core::DisplaySource const& source) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayDevice)->WaitForVBlank(*(void**)(&source))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayScanout) consume_Windows_Devices_Display_Core_IDisplayDevice::CreateSimpleScanout(winrt::Windows::Devices::Display::Core::DisplaySource const& pSource, winrt::Windows::Devices::Display::Core::DisplaySurface const& pSurface, uint32_t SubResourceIndex, uint32_t SyncInterval) const + template auto consume_Windows_Devices_Display_Core_IDisplayDevice::CreateSimpleScanout(winrt::Windows::Devices::Display::Core::DisplaySource const& pSource, winrt::Windows::Devices::Display::Core::DisplaySurface const& pSurface, uint32_t SubResourceIndex, uint32_t SyncInterval) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayDevice)->CreateSimpleScanout(*(void**)(&pSource), *(void**)(&pSurface), SubResourceIndex, SyncInterval, &result)); return winrt::Windows::Devices::Display::Core::DisplayScanout{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayDevice::IsCapabilitySupported(winrt::Windows::Devices::Display::Core::DisplayDeviceCapability const& capability) const + template auto consume_Windows_Devices_Display_Core_IDisplayDevice::IsCapabilitySupported(winrt::Windows::Devices::Display::Core::DisplayDeviceCapability const& capability) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayDevice)->IsCapabilitySupported(static_cast(capability), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Display_Core_IDisplayManager::GetCurrentTargets() const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::GetCurrentTargets() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->GetCurrentTargets(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Display_Core_IDisplayManager::GetCurrentAdapters() const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::GetCurrentAdapters() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->GetCurrentAdapters(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResult) consume_Windows_Devices_Display_Core_IDisplayManager::TryAcquireTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::TryAcquireTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const { winrt::Windows::Devices::Display::Core::DisplayManagerResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->TryAcquireTarget(*(void**)(&target), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManager::ReleaseTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::ReleaseTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->ReleaseTarget(*(void**)(&target))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) consume_Windows_Devices_Display_Core_IDisplayManager::TryReadCurrentStateForAllTargets() const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::TryReadCurrentStateForAllTargets() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->TryReadCurrentStateForAllTargets(&result)); return winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) consume_Windows_Devices_Display_Core_IDisplayManager::TryAcquireTargetsAndReadCurrentState(param::iterable const& targets) const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::TryAcquireTargetsAndReadCurrentState(param::iterable const& targets) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->TryAcquireTargetsAndReadCurrentState(*(void**)(&targets), &result)); return winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) consume_Windows_Devices_Display_Core_IDisplayManager::TryAcquireTargetsAndCreateEmptyState(param::iterable const& targets) const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::TryAcquireTargetsAndCreateEmptyState(param::iterable const& targets) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->TryAcquireTargetsAndCreateEmptyState(*(void**)(&targets), &result)); return winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) consume_Windows_Devices_Display_Core_IDisplayManager::TryAcquireTargetsAndCreateSubstate(winrt::Windows::Devices::Display::Core::DisplayState const& existingState, param::iterable const& targets) const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::TryAcquireTargetsAndCreateSubstate(winrt::Windows::Devices::Display::Core::DisplayState const& existingState, param::iterable const& targets) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->TryAcquireTargetsAndCreateSubstate(*(void**)(&existingState), *(void**)(&targets), &result)); return winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayDevice) consume_Windows_Devices_Display_Core_IDisplayManager::CreateDisplayDevice(winrt::Windows::Devices::Display::Core::DisplayAdapter const& adapter) const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::CreateDisplayDevice(winrt::Windows::Devices::Display::Core::DisplayAdapter const& adapter) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->CreateDisplayDevice(*(void**)(&adapter), &result)); return winrt::Windows::Devices::Display::Core::DisplayDevice{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Display_Core_IDisplayManager::Enabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::Enabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->add_Enabled(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Display_Core_IDisplayManager::Enabled_revoker consume_Windows_Devices_Display_Core_IDisplayManager::Enabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::Enabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Enabled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManager::Enabled(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Display_Core_IDisplayManager::Enabled(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->remove_Enabled(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Display_Core_IDisplayManager::Disabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::Disabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->add_Disabled(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Display_Core_IDisplayManager::Disabled_revoker consume_Windows_Devices_Display_Core_IDisplayManager::Disabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::Disabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Disabled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManager::Disabled(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Display_Core_IDisplayManager::Disabled(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->remove_Disabled(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Display_Core_IDisplayManager::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->add_Changed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Display_Core_IDisplayManager::Changed_revoker consume_Windows_Devices_Display_Core_IDisplayManager::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Changed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManager::Changed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Display_Core_IDisplayManager::Changed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->remove_Changed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Display_Core_IDisplayManager::PathsFailedOrInvalidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::PathsFailedOrInvalidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->add_PathsFailedOrInvalidated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Display_Core_IDisplayManager::PathsFailedOrInvalidated_revoker consume_Windows_Devices_Display_Core_IDisplayManager::PathsFailedOrInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::PathsFailedOrInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PathsFailedOrInvalidated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManager::PathsFailedOrInvalidated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Display_Core_IDisplayManager::PathsFailedOrInvalidated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->remove_PathsFailedOrInvalidated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManager::Start() const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManager::Stop() const + template auto consume_Windows_Devices_Display_Core_IDisplayManager::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->Stop()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs::Handled() const + template auto consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerChangedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs::Handled(bool value) const + template auto consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerChangedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs::GetDeferral() const + template auto consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerChangedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs::Handled() const + template auto consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerDisabledEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs::Handled(bool value) const + template auto consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerDisabledEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs::GetDeferral() const + template auto consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerDisabledEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs::Handled() const + template auto consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerEnabledEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs::Handled(bool value) const + template auto consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerEnabledEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs::GetDeferral() const + template auto consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerEnabledEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs::Handled() const + template auto consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerPathsFailedOrInvalidatedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs::Handled(bool value) const + template auto consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerPathsFailedOrInvalidatedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs::GetDeferral() const + template auto consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerPathsFailedOrInvalidatedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResult) consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState::ErrorCode() const + template auto consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState::ErrorCode() const { winrt::Windows::Devices::Display::Core::DisplayManagerResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerResultWithState)->get_ErrorCode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState::ExtendedErrorCode() const + template auto consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState::ExtendedErrorCode() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerResultWithState)->get_ExtendedErrorCode(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayState) consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState::State() const + template auto consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState::State() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerResultWithState)->get_State(&value)); return winrt::Windows::Devices::Display::Core::DisplayState{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManager) consume_Windows_Devices_Display_Core_IDisplayManagerStatics::Create(winrt::Windows::Devices::Display::Core::DisplayManagerOptions const& options) const + template auto consume_Windows_Devices_Display_Core_IDisplayManagerStatics::Create(winrt::Windows::Devices::Display::Core::DisplayManagerOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerStatics)->Create(static_cast(options), &result)); return winrt::Windows::Devices::Display::Core::DisplayManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_Devices_Display_Core_IDisplayModeInfo::SourceResolution() const + template auto consume_Windows_Devices_Display_Core_IDisplayModeInfo::SourceResolution() const { winrt::Windows::Graphics::SizeInt32 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayModeInfo)->get_SourceResolution(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayModeInfo::IsStereo() const + template auto consume_Windows_Devices_Display_Core_IDisplayModeInfo::IsStereo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayModeInfo)->get_IsStereo(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Devices_Display_Core_IDisplayModeInfo::SourcePixelFormat() const + template auto consume_Windows_Devices_Display_Core_IDisplayModeInfo::SourcePixelFormat() const { winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayModeInfo)->get_SourcePixelFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_Devices_Display_Core_IDisplayModeInfo::TargetResolution() const + template auto consume_Windows_Devices_Display_Core_IDisplayModeInfo::TargetResolution() const { winrt::Windows::Graphics::SizeInt32 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayModeInfo)->get_TargetResolution(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPresentationRate) consume_Windows_Devices_Display_Core_IDisplayModeInfo::PresentationRate() const + template auto consume_Windows_Devices_Display_Core_IDisplayModeInfo::PresentationRate() const { winrt::Windows::Devices::Display::Core::DisplayPresentationRate value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayModeInfo)->get_PresentationRate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayModeInfo::IsInterlaced() const + template auto consume_Windows_Devices_Display_Core_IDisplayModeInfo::IsInterlaced() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayModeInfo)->get_IsInterlaced(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayBitsPerChannel) consume_Windows_Devices_Display_Core_IDisplayModeInfo::GetWireFormatSupportedBitsPerChannel(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& encoding) const + template auto consume_Windows_Devices_Display_Core_IDisplayModeInfo::GetWireFormatSupportedBitsPerChannel(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& encoding) const { winrt::Windows::Devices::Display::Core::DisplayBitsPerChannel result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayModeInfo)->GetWireFormatSupportedBitsPerChannel(static_cast(encoding), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayModeInfo::IsWireFormatSupported(winrt::Windows::Devices::Display::Core::DisplayWireFormat const& wireFormat) const + template auto consume_Windows_Devices_Display_Core_IDisplayModeInfo::IsWireFormatSupported(winrt::Windows::Devices::Display::Core::DisplayWireFormat const& wireFormat) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayModeInfo)->IsWireFormatSupported(*(void**)(&wireFormat), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Display_Core_IDisplayModeInfo::Properties() const + template auto consume_Windows_Devices_Display_Core_IDisplayModeInfo::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayModeInfo)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayView) consume_Windows_Devices_Display_Core_IDisplayPath::View() const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::View() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_View(&value)); return winrt::Windows::Devices::Display::Core::DisplayView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTarget) consume_Windows_Devices_Display_Core_IDisplayPath::Target() const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::Target() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_Target(&value)); return winrt::Windows::Devices::Display::Core::DisplayTarget{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPathStatus) consume_Windows_Devices_Display_Core_IDisplayPath::Status() const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::Status() const { winrt::Windows::Devices::Display::Core::DisplayPathStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Display_Core_IDisplayPath::SourceResolution() const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::SourceResolution() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_SourceResolution(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath::SourceResolution(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::SourceResolution(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->put_SourceResolution(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Devices_Display_Core_IDisplayPath::SourcePixelFormat() const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::SourcePixelFormat() const { winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_SourcePixelFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath::SourcePixelFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::SourcePixelFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->put_SourcePixelFormat(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayPath::IsStereo() const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::IsStereo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_IsStereo(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath::IsStereo(bool value) const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::IsStereo(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->put_IsStereo(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Display_Core_IDisplayPath::TargetResolution() const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::TargetResolution() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_TargetResolution(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath::TargetResolution(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::TargetResolution(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->put_TargetResolution(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Display_Core_IDisplayPath::PresentationRate() const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::PresentationRate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_PresentationRate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath::PresentationRate(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::PresentationRate(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->put_PresentationRate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Display_Core_IDisplayPath::IsInterlaced() const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::IsInterlaced() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_IsInterlaced(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath::IsInterlaced(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::IsInterlaced(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->put_IsInterlaced(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormat) consume_Windows_Devices_Display_Core_IDisplayPath::WireFormat() const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::WireFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_WireFormat(&value)); return winrt::Windows::Devices::Display::Core::DisplayWireFormat{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath::WireFormat(winrt::Windows::Devices::Display::Core::DisplayWireFormat const& value) const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::WireFormat(winrt::Windows::Devices::Display::Core::DisplayWireFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->put_WireFormat(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayRotation) consume_Windows_Devices_Display_Core_IDisplayPath::Rotation() const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::Rotation() const { winrt::Windows::Devices::Display::Core::DisplayRotation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_Rotation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath::Rotation(winrt::Windows::Devices::Display::Core::DisplayRotation const& value) const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::Rotation(winrt::Windows::Devices::Display::Core::DisplayRotation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->put_Rotation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPathScaling) consume_Windows_Devices_Display_Core_IDisplayPath::Scaling() const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::Scaling() const { winrt::Windows::Devices::Display::Core::DisplayPathScaling value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_Scaling(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath::Scaling(winrt::Windows::Devices::Display::Core::DisplayPathScaling const& value) const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::Scaling(winrt::Windows::Devices::Display::Core::DisplayPathScaling const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->put_Scaling(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Display_Core_IDisplayPath::FindModes(winrt::Windows::Devices::Display::Core::DisplayModeQueryOptions const& flags) const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::FindModes(winrt::Windows::Devices::Display::Core::DisplayModeQueryOptions const& flags) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->FindModes(static_cast(flags), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath::ApplyPropertiesFromMode(winrt::Windows::Devices::Display::Core::DisplayModeInfo const& modeResult) const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::ApplyPropertiesFromMode(winrt::Windows::Devices::Display::Core::DisplayModeInfo const& modeResult) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->ApplyPropertiesFromMode(*(void**)(&modeResult))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Devices_Display_Core_IDisplayPath::Properties() const + template auto consume_Windows_Devices_Display_Core_IDisplayPath::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription::Width() const + template auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription::Width() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription::Height() const + template auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription::Height() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription::Format() const + template auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription::Format() const { winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription)->get_Format(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXColorSpace) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription::ColorSpace() const + template auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription::ColorSpace() const { winrt::Windows::Graphics::DirectX::DirectXColorSpace value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription)->get_ColorSpace(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription::IsStereo() const + template auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription::IsStereo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription)->get_IsStereo(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription::MultisampleDescription() const + template auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription::MultisampleDescription() const { winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription)->get_MultisampleDescription(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription::Properties() const + template auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionFactory::CreateInstance(uint32_t width, uint32_t height, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXColorSpace const& colorSpace, bool isStereo, winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription const& multisampleDescription) const + template auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionFactory::CreateInstance(uint32_t width, uint32_t height, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXColorSpace const& colorSpace, bool isStereo, winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription const& multisampleDescription) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescriptionFactory)->CreateInstance(width, height, static_cast(pixelFormat), static_cast(colorSpace), isStereo, impl::bind_in(multisampleDescription), &value)); return winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionStatics::CreateWithProperties(param::iterable> const& extraProperties, uint32_t width, uint32_t height, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXColorSpace const& colorSpace, bool isStereo, winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription const& multisampleDescription) const + template auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionStatics::CreateWithProperties(param::iterable> const& extraProperties, uint32_t width, uint32_t height, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXColorSpace const& colorSpace, bool isStereo, winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription const& multisampleDescription) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescriptionStatics)->CreateWithProperties(*(void**)(&extraProperties), width, height, static_cast(pixelFormat), static_cast(colorSpace), isStereo, impl::bind_in(multisampleDescription), &result)); return winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DisplayAdapterId) consume_Windows_Devices_Display_Core_IDisplaySource::AdapterId() const + template auto consume_Windows_Devices_Display_Core_IDisplaySource::AdapterId() const { winrt::Windows::Graphics::DisplayAdapterId value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplaySource)->get_AdapterId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplaySource::SourceId() const + template auto consume_Windows_Devices_Display_Core_IDisplaySource::SourceId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplaySource)->get_SourceId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Display_Core_IDisplaySource::GetMetadata(winrt::guid const& Key) const + template auto consume_Windows_Devices_Display_Core_IDisplaySource::GetMetadata(winrt::guid const& Key) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplaySource)->GetMetadata(impl::bind_in(Key), &result)); return winrt::Windows::Storage::Streams::IBuffer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayState::IsReadOnly() const + template auto consume_Windows_Devices_Display_Core_IDisplayState::IsReadOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->get_IsReadOnly(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayState::IsStale() const + template auto consume_Windows_Devices_Display_Core_IDisplayState::IsStale() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->get_IsStale(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Display_Core_IDisplayState::Targets() const + template auto consume_Windows_Devices_Display_Core_IDisplayState::Targets() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->get_Targets(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Display_Core_IDisplayState::Views() const + template auto consume_Windows_Devices_Display_Core_IDisplayState::Views() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->get_Views(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Devices_Display_Core_IDisplayState::Properties() const + template auto consume_Windows_Devices_Display_Core_IDisplayState::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPath) consume_Windows_Devices_Display_Core_IDisplayState::ConnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const + template auto consume_Windows_Devices_Display_Core_IDisplayState::ConnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->ConnectTarget(*(void**)(&target), &result)); return winrt::Windows::Devices::Display::Core::DisplayPath{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPath) consume_Windows_Devices_Display_Core_IDisplayState::ConnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayView const& view) const + template auto consume_Windows_Devices_Display_Core_IDisplayState::ConnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayView const& view) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->ConnectTargetToView(*(void**)(&target), *(void**)(&view), &result)); return winrt::Windows::Devices::Display::Core::DisplayPath{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayState::CanConnectTargetToView(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayView const& view) const + template auto consume_Windows_Devices_Display_Core_IDisplayState::CanConnectTargetToView(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayView const& view) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->CanConnectTargetToView(*(void**)(&target), *(void**)(&view), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayView) consume_Windows_Devices_Display_Core_IDisplayState::GetViewForTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const + template auto consume_Windows_Devices_Display_Core_IDisplayState::GetViewForTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->GetViewForTarget(*(void**)(&target), &result)); return winrt::Windows::Devices::Display::Core::DisplayView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPath) consume_Windows_Devices_Display_Core_IDisplayState::GetPathForTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const + template auto consume_Windows_Devices_Display_Core_IDisplayState::GetPathForTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->GetPathForTarget(*(void**)(&target), &result)); return winrt::Windows::Devices::Display::Core::DisplayPath{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayState::DisconnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const + template auto consume_Windows_Devices_Display_Core_IDisplayState::DisconnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->DisconnectTarget(*(void**)(&target))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayStateOperationResult) consume_Windows_Devices_Display_Core_IDisplayState::TryFunctionalize(winrt::Windows::Devices::Display::Core::DisplayStateFunctionalizeOptions const& options) const + template auto consume_Windows_Devices_Display_Core_IDisplayState::TryFunctionalize(winrt::Windows::Devices::Display::Core::DisplayStateFunctionalizeOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->TryFunctionalize(static_cast(options), &result)); return winrt::Windows::Devices::Display::Core::DisplayStateOperationResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayStateOperationResult) consume_Windows_Devices_Display_Core_IDisplayState::TryApply(winrt::Windows::Devices::Display::Core::DisplayStateApplyOptions const& options) const + template auto consume_Windows_Devices_Display_Core_IDisplayState::TryApply(winrt::Windows::Devices::Display::Core::DisplayStateApplyOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->TryApply(static_cast(options), &result)); return winrt::Windows::Devices::Display::Core::DisplayStateOperationResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayState) consume_Windows_Devices_Display_Core_IDisplayState::Clone() const + template auto consume_Windows_Devices_Display_Core_IDisplayState::Clone() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->Clone(&result)); return winrt::Windows::Devices::Display::Core::DisplayState{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayStateOperationStatus) consume_Windows_Devices_Display_Core_IDisplayStateOperationResult::Status() const + template auto consume_Windows_Devices_Display_Core_IDisplayStateOperationResult::Status() const { winrt::Windows::Devices::Display::Core::DisplayStateOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayStateOperationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Devices_Display_Core_IDisplayStateOperationResult::ExtendedErrorCode() const + template auto consume_Windows_Devices_Display_Core_IDisplayStateOperationResult::ExtendedErrorCode() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayStateOperationResult)->get_ExtendedErrorCode(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayAdapter) consume_Windows_Devices_Display_Core_IDisplayTarget::Adapter() const + template auto consume_Windows_Devices_Display_Core_IDisplayTarget::Adapter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_Adapter(&value)); return winrt::Windows::Devices::Display::Core::DisplayAdapter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Display_Core_IDisplayTarget::DeviceInterfacePath() const + template auto consume_Windows_Devices_Display_Core_IDisplayTarget::DeviceInterfacePath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_DeviceInterfacePath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplayTarget::AdapterRelativeId() const + template auto consume_Windows_Devices_Display_Core_IDisplayTarget::AdapterRelativeId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_AdapterRelativeId(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayTarget::IsConnected() const + template auto consume_Windows_Devices_Display_Core_IDisplayTarget::IsConnected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_IsConnected(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayTarget::IsVirtualModeEnabled() const + template auto consume_Windows_Devices_Display_Core_IDisplayTarget::IsVirtualModeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_IsVirtualModeEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayTarget::IsVirtualTopologyEnabled() const + template auto consume_Windows_Devices_Display_Core_IDisplayTarget::IsVirtualTopologyEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_IsVirtualTopologyEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitorUsageKind) consume_Windows_Devices_Display_Core_IDisplayTarget::UsageKind() const + template auto consume_Windows_Devices_Display_Core_IDisplayTarget::UsageKind() const { winrt::Windows::Devices::Display::DisplayMonitorUsageKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_UsageKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTargetPersistence) consume_Windows_Devices_Display_Core_IDisplayTarget::MonitorPersistence() const + template auto consume_Windows_Devices_Display_Core_IDisplayTarget::MonitorPersistence() const { winrt::Windows::Devices::Display::Core::DisplayTargetPersistence value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_MonitorPersistence(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Display_Core_IDisplayTarget::StableMonitorId() const + template auto consume_Windows_Devices_Display_Core_IDisplayTarget::StableMonitorId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_StableMonitorId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitor) consume_Windows_Devices_Display_Core_IDisplayTarget::TryGetMonitor() const + template auto consume_Windows_Devices_Display_Core_IDisplayTarget::TryGetMonitor() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->TryGetMonitor(&result)); return winrt::Windows::Devices::Display::DisplayMonitor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Display_Core_IDisplayTarget::Properties() const + template auto consume_Windows_Devices_Display_Core_IDisplayTarget::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayTarget::IsStale() const + template auto consume_Windows_Devices_Display_Core_IDisplayTarget::IsStale() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_IsStale(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayTarget::IsSame(winrt::Windows::Devices::Display::Core::DisplayTarget const& otherTarget) const + template auto consume_Windows_Devices_Display_Core_IDisplayTarget::IsSame(winrt::Windows::Devices::Display::Core::DisplayTarget const& otherTarget) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->IsSame(*(void**)(&otherTarget), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayTarget::IsEqual(winrt::Windows::Devices::Display::Core::DisplayTarget const& otherTarget) const + template auto consume_Windows_Devices_Display_Core_IDisplayTarget::IsEqual(winrt::Windows::Devices::Display::Core::DisplayTarget const& otherTarget) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->IsEqual(*(void**)(&otherTarget), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayTask::SetScanout(winrt::Windows::Devices::Display::Core::DisplayScanout const& scanout) const + template auto consume_Windows_Devices_Display_Core_IDisplayTask::SetScanout(winrt::Windows::Devices::Display::Core::DisplayScanout const& scanout) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTask)->SetScanout(*(void**)(&scanout))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayTask::SetWait(winrt::Windows::Devices::Display::Core::DisplayFence const& readyFence, uint64_t readyFenceValue) const + template auto consume_Windows_Devices_Display_Core_IDisplayTask::SetWait(winrt::Windows::Devices::Display::Core::DisplayFence const& readyFence, uint64_t readyFenceValue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTask)->SetWait(*(void**)(&readyFence), readyFenceValue)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTask) consume_Windows_Devices_Display_Core_IDisplayTaskPool::CreateTask() const + template auto consume_Windows_Devices_Display_Core_IDisplayTaskPool::CreateTask() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTaskPool)->CreateTask(&result)); return winrt::Windows::Devices::Display::Core::DisplayTask{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayTaskPool::ExecuteTask(winrt::Windows::Devices::Display::Core::DisplayTask const& task) const + template auto consume_Windows_Devices_Display_Core_IDisplayTaskPool::ExecuteTask(winrt::Windows::Devices::Display::Core::DisplayTask const& task) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTaskPool)->ExecuteTask(*(void**)(&task))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Display_Core_IDisplayView::Paths() const + template auto consume_Windows_Devices_Display_Core_IDisplayView::Paths() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayView)->get_Paths(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Display_Core_IDisplayView::ContentResolution() const + template auto consume_Windows_Devices_Display_Core_IDisplayView::ContentResolution() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayView)->get_ContentResolution(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayView::ContentResolution(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_Display_Core_IDisplayView::ContentResolution(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayView)->put_ContentResolution(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayView::SetPrimaryPath(winrt::Windows::Devices::Display::Core::DisplayPath const& path) const + template auto consume_Windows_Devices_Display_Core_IDisplayView::SetPrimaryPath(winrt::Windows::Devices::Display::Core::DisplayPath const& path) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayView)->SetPrimaryPath(*(void**)(&path))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Devices_Display_Core_IDisplayView::Properties() const + template auto consume_Windows_Devices_Display_Core_IDisplayView::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayView)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding) consume_Windows_Devices_Display_Core_IDisplayWireFormat::PixelEncoding() const + template auto consume_Windows_Devices_Display_Core_IDisplayWireFormat::PixelEncoding() const { winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayWireFormat)->get_PixelEncoding(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Display_Core_IDisplayWireFormat::BitsPerChannel() const + template auto consume_Windows_Devices_Display_Core_IDisplayWireFormat::BitsPerChannel() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayWireFormat)->get_BitsPerChannel(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace) consume_Windows_Devices_Display_Core_IDisplayWireFormat::ColorSpace() const + template auto consume_Windows_Devices_Display_Core_IDisplayWireFormat::ColorSpace() const { winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayWireFormat)->get_ColorSpace(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf) consume_Windows_Devices_Display_Core_IDisplayWireFormat::Eotf() const + template auto consume_Windows_Devices_Display_Core_IDisplayWireFormat::Eotf() const { winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayWireFormat)->get_Eotf(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata) consume_Windows_Devices_Display_Core_IDisplayWireFormat::HdrMetadata() const + template auto consume_Windows_Devices_Display_Core_IDisplayWireFormat::HdrMetadata() const { winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayWireFormat)->get_HdrMetadata(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Display_Core_IDisplayWireFormat::Properties() const + template auto consume_Windows_Devices_Display_Core_IDisplayWireFormat::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayWireFormat)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormat) consume_Windows_Devices_Display_Core_IDisplayWireFormatFactory::CreateInstance(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& pixelEncoding, int32_t bitsPerChannel, winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace const& colorSpace, winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf const& eotf, winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata const& hdrMetadata) const + template auto consume_Windows_Devices_Display_Core_IDisplayWireFormatFactory::CreateInstance(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& pixelEncoding, int32_t bitsPerChannel, winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace const& colorSpace, winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf const& eotf, winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata const& hdrMetadata) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayWireFormatFactory)->CreateInstance(static_cast(pixelEncoding), bitsPerChannel, static_cast(colorSpace), static_cast(eotf), static_cast(hdrMetadata), &value)); return winrt::Windows::Devices::Display::Core::DisplayWireFormat{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormat) consume_Windows_Devices_Display_Core_IDisplayWireFormatStatics::CreateWithProperties(param::iterable> const& extraProperties, winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& pixelEncoding, int32_t bitsPerChannel, winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace const& colorSpace, winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf const& eotf, winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata const& hdrMetadata) const + template auto consume_Windows_Devices_Display_Core_IDisplayWireFormatStatics::CreateWithProperties(param::iterable> const& extraProperties, winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& pixelEncoding, int32_t bitsPerChannel, winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace const& colorSpace, winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf const& eotf, winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata const& hdrMetadata) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayWireFormatStatics)->CreateWithProperties(*(void**)(&extraProperties), static_cast(pixelEncoding), bitsPerChannel, static_cast(colorSpace), static_cast(eotf), static_cast(hdrMetadata), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Display.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Display.h index 57f7aac9..eaec6106 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Display.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Display.h @@ -1,157 +1,157 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Display_H #define WINRT_Windows_Devices_Display_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Graphics.2.h" #include "winrt/impl/Windows.Devices.Display.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Display_IDisplayMonitor::DeviceId() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Display_IDisplayMonitor::DisplayName() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitorConnectionKind) consume_Windows_Devices_Display_IDisplayMonitor::ConnectionKind() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::ConnectionKind() const { winrt::Windows::Devices::Display::DisplayMonitorConnectionKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_ConnectionKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitorPhysicalConnectorKind) consume_Windows_Devices_Display_IDisplayMonitor::PhysicalConnector() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::PhysicalConnector() const { winrt::Windows::Devices::Display::DisplayMonitorPhysicalConnectorKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_PhysicalConnector(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Display_IDisplayMonitor::DisplayAdapterDeviceId() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::DisplayAdapterDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_DisplayAdapterDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DisplayAdapterId) consume_Windows_Devices_Display_IDisplayMonitor::DisplayAdapterId() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::DisplayAdapterId() const { winrt::Windows::Graphics::DisplayAdapterId value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_DisplayAdapterId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_IDisplayMonitor::DisplayAdapterTargetId() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::DisplayAdapterTargetId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_DisplayAdapterTargetId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitorUsageKind) consume_Windows_Devices_Display_IDisplayMonitor::UsageKind() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::UsageKind() const { winrt::Windows::Devices::Display::DisplayMonitorUsageKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_UsageKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_Devices_Display_IDisplayMonitor::NativeResolutionInRawPixels() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::NativeResolutionInRawPixels() const { winrt::Windows::Graphics::SizeInt32 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_NativeResolutionInRawPixels(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Display_IDisplayMonitor::PhysicalSizeInInches() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::PhysicalSizeInInches() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_PhysicalSizeInInches(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Display_IDisplayMonitor::RawDpiX() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::RawDpiX() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_RawDpiX(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Display_IDisplayMonitor::RawDpiY() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::RawDpiY() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_RawDpiY(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Devices_Display_IDisplayMonitor::RedPrimary() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::RedPrimary() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_RedPrimary(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Devices_Display_IDisplayMonitor::GreenPrimary() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::GreenPrimary() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_GreenPrimary(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Devices_Display_IDisplayMonitor::BluePrimary() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::BluePrimary() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_BluePrimary(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Devices_Display_IDisplayMonitor::WhitePoint() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::WhitePoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_WhitePoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Display_IDisplayMonitor::MaxLuminanceInNits() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::MaxLuminanceInNits() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_MaxLuminanceInNits(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Display_IDisplayMonitor::MinLuminanceInNits() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::MinLuminanceInNits() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_MinLuminanceInNits(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Display_IDisplayMonitor::MaxAverageFullFrameLuminanceInNits() const + template auto consume_Windows_Devices_Display_IDisplayMonitor::MaxAverageFullFrameLuminanceInNits() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_MaxAverageFullFrameLuminanceInNits(&value)); return value; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Devices_Display_IDisplayMonitor::GetDescriptor(winrt::Windows::Devices::Display::DisplayMonitorDescriptorKind const& descriptorKind) const + template auto consume_Windows_Devices_Display_IDisplayMonitor::GetDescriptor(winrt::Windows::Devices::Display::DisplayMonitorDescriptorKind const& descriptorKind) const { uint32_t result_impl_size{}; uint8_t* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->GetDescriptor(static_cast(descriptorKind), &result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_IDisplayMonitor2::IsDolbyVisionSupportedInHdrMode() const + template auto consume_Windows_Devices_Display_IDisplayMonitor2::IsDolbyVisionSupportedInHdrMode() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor2)->get_IsDolbyVisionSupportedInHdrMode(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Display_IDisplayMonitorStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Display_IDisplayMonitorStatics::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitorStatics)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Display_IDisplayMonitorStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Display_IDisplayMonitorStatics::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitorStatics)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Display_IDisplayMonitorStatics::FromInterfaceIdAsync(param::hstring const& deviceInterfaceId) const + template auto consume_Windows_Devices_Display_IDisplayMonitorStatics::FromInterfaceIdAsync(param::hstring const& deviceInterfaceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitorStatics)->FromInterfaceIdAsync(*(void**)(&deviceInterfaceId), &operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.Pnp.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.Pnp.h index e33efc35..a28b02bc 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.Pnp.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.Pnp.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Enumeration_Pnp_H #define WINRT_Windows_Devices_Enumeration_Pnp_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.Enumeration.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,157 +13,157 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Enumeration.Pnp.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType) consume_Windows_Devices_Enumeration_Pnp_IPnpObject::Type() const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObject::Type() const { winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObject)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_Pnp_IPnpObject::Id() const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObject::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObject)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Enumeration_Pnp_IPnpObject::Properties() const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObject::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObject)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_Pnp_IPnpObject::Update(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate const& updateInfo) const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObject::Update(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate const& updateInfo) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObject)->Update(*(void**)(&updateInfo))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics::CreateFromIdAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::hstring const& id, param::async_iterable const& requestedProperties) const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics::CreateFromIdAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::hstring const& id, param::async_iterable const& requestedProperties) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectStatics)->CreateFromIdAsync(static_cast(type), *(void**)(&id), *(void**)(&requestedProperties), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics::FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable const& requestedProperties) const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics::FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable const& requestedProperties) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectStatics)->FindAllAsync(static_cast(type), *(void**)(&requestedProperties), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics::FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable const& requestedProperties, param::hstring const& aqsFilter) const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics::FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable const& requestedProperties, param::hstring const& aqsFilter) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectStatics)->FindAllAsyncAqsFilter(static_cast(type), *(void**)(&requestedProperties), *(void**)(&aqsFilter), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics::CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable const& requestedProperties) const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics::CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable const& requestedProperties) const { void* watcher{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectStatics)->CreateWatcher(static_cast(type), *(void**)(&requestedProperties), &watcher)); return winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher{ watcher, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics::CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable const& requestedProperties, param::hstring const& aqsFilter) const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics::CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable const& requestedProperties, param::hstring const& aqsFilter) const { void* watcher{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectStatics)->CreateWatcherAqsFilter(static_cast(type), *(void**)(&requestedProperties), *(void**)(&aqsFilter), &watcher)); return winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher{ watcher, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectUpdate::Type() const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectUpdate::Type() const { winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectUpdate)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectUpdate::Id() const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectUpdate::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectUpdate)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectUpdate::Properties() const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectUpdate::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectUpdate)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->add_Added(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Added_revoker consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Added(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Added(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Added(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->remove_Added(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->add_Updated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Updated_revoker consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Updated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Updated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Updated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->remove_Updated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->add_Removed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Removed_revoker consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Removed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Removed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Removed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->remove_Removed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::EnumerationCompleted_revoker consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->remove_EnumerationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->add_Stopped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Stopped_revoker consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Stopped(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Stopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->remove_Stopped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherStatus) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Status() const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Status() const { winrt::Windows::Devices::Enumeration::DeviceWatcherStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->get_Status(reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Start() const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Stop() const + template auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->Stop()); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.h index d3bcd21b..eda7d6b9 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Enumeration_H #define WINRT_Windows_Devices_Enumeration_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.ApplicationModel.Background.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -17,689 +17,689 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Enumeration.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessStatus) consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs::Status() const + template auto consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs::Status() const { winrt::Windows::Devices::Enumeration::DeviceAccessStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceAccessChangedEventArgs)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs2::Id() const + template auto consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs2::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceAccessChangedEventArgs2)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDeviceAccessInformation::AccessChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDeviceAccessInformation::AccessChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceAccessInformation)->add_AccessChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Devices_Enumeration_IDeviceAccessInformation::AccessChanged_revoker consume_Windows_Devices_Enumeration_IDeviceAccessInformation::AccessChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDeviceAccessInformation::AccessChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AccessChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceAccessInformation::AccessChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Devices_Enumeration_IDeviceAccessInformation::AccessChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceAccessInformation)->remove_AccessChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessStatus) consume_Windows_Devices_Enumeration_IDeviceAccessInformation::CurrentStatus() const + template auto consume_Windows_Devices_Enumeration_IDeviceAccessInformation::CurrentStatus() const { winrt::Windows::Devices::Enumeration::DeviceAccessStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceAccessInformation)->get_CurrentStatus(reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) consume_Windows_Devices_Enumeration_IDeviceAccessInformationStatics::CreateFromId(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Enumeration_IDeviceAccessInformationStatics::CreateFromId(param::hstring const& deviceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceAccessInformationStatics)->CreateFromId(*(void**)(&deviceId), &value)); return winrt::Windows::Devices::Enumeration::DeviceAccessInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) consume_Windows_Devices_Enumeration_IDeviceAccessInformationStatics::CreateFromDeviceClassId(winrt::guid const& deviceClassId) const + template auto consume_Windows_Devices_Enumeration_IDeviceAccessInformationStatics::CreateFromDeviceClassId(winrt::guid const& deviceClassId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceAccessInformationStatics)->CreateFromDeviceClassId(impl::bind_in(deviceClassId), &value)); return winrt::Windows::Devices::Enumeration::DeviceAccessInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) consume_Windows_Devices_Enumeration_IDeviceAccessInformationStatics::CreateFromDeviceClass(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const + template auto consume_Windows_Devices_Enumeration_IDeviceAccessInformationStatics::CreateFromDeviceClass(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceAccessInformationStatics)->CreateFromDeviceClass(static_cast(deviceClass), &value)); return winrt::Windows::Devices::Enumeration::DeviceAccessInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_IDeviceConnectionChangeTriggerDetails::DeviceId() const + template auto consume_Windows_Devices_Enumeration_IDeviceConnectionChangeTriggerDetails::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceConnectionChangeTriggerDetails)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_Enumeration_IDeviceDisconnectButtonClickedEventArgs::Device() const + template auto consume_Windows_Devices_Enumeration_IDeviceDisconnectButtonClickedEventArgs::Device() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceDisconnectButtonClickedEventArgs)->get_Device(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_IDeviceInformation::Id() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformation::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_IDeviceInformation::Name() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformation::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Enumeration_IDeviceInformation::IsEnabled() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformation::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Enumeration_IDeviceInformation::IsDefault() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformation::IsDefault() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation)->get_IsDefault(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::EnclosureLocation) consume_Windows_Devices_Enumeration_IDeviceInformation::EnclosureLocation() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformation::EnclosureLocation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation)->get_EnclosureLocation(&value)); return winrt::Windows::Devices::Enumeration::EnclosureLocation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Enumeration_IDeviceInformation::Properties() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformation::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceInformation::Update(winrt::Windows::Devices::Enumeration::DeviceInformationUpdate const& updateInfo) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformation::Update(winrt::Windows::Devices::Enumeration::DeviceInformationUpdate const& updateInfo) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation)->Update(*(void**)(&updateInfo))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformation::GetThumbnailAsync() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformation::GetThumbnailAsync() const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation)->GetThumbnailAsync(&asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformation::GetGlyphThumbnailAsync() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformation::GetGlyphThumbnailAsync() const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation)->GetGlyphThumbnailAsync(&asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformationKind) consume_Windows_Devices_Enumeration_IDeviceInformation2::Kind() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformation2::Kind() const { winrt::Windows::Devices::Enumeration::DeviceInformationKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation2)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformationPairing) consume_Windows_Devices_Enumeration_IDeviceInformation2::Pairing() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformation2::Pairing() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation2)->get_Pairing(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformationPairing{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationCustomPairing)->PairAsync(static_cast(pairingKindsSupported), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationCustomPairing)->PairWithProtectionLevelAsync(static_cast(pairingKindsSupported), static_cast(minProtectionLevel), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel, winrt::Windows::Devices::Enumeration::IDevicePairingSettings const& devicePairingSettings) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel, winrt::Windows::Devices::Enumeration::IDevicePairingSettings const& devicePairingSettings) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationCustomPairing)->PairWithProtectionLevelAndSettingsAsync(static_cast(pairingKindsSupported), static_cast(minProtectionLevel), *(void**)(&devicePairingSettings), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing::PairingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing::PairingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationCustomPairing)->add_PairingRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing::PairingRequested_revoker consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing::PairingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing::PairingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PairingRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing::PairingRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing::PairingRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationCustomPairing)->remove_PairingRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Enumeration_IDeviceInformationPairing::IsPaired() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationPairing::IsPaired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairing)->get_IsPaired(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Enumeration_IDeviceInformationPairing::CanPair() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationPairing::CanPair() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairing)->get_CanPair(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformationPairing::PairAsync() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationPairing::PairAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairing)->PairAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformationPairing::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationPairing::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairing)->PairWithProtectionLevelAsync(static_cast(minProtectionLevel), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel) consume_Windows_Devices_Enumeration_IDeviceInformationPairing2::ProtectionLevel() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationPairing2::ProtectionLevel() const { winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairing2)->get_ProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformationCustomPairing) consume_Windows_Devices_Enumeration_IDeviceInformationPairing2::Custom() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationPairing2::Custom() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairing2)->get_Custom(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformationCustomPairing{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformationPairing2::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel, winrt::Windows::Devices::Enumeration::IDevicePairingSettings const& devicePairingSettings) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationPairing2::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel, winrt::Windows::Devices::Enumeration::IDevicePairingSettings const& devicePairingSettings) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairing2)->PairWithProtectionLevelAndSettingsAsync(static_cast(minProtectionLevel), *(void**)(&devicePairingSettings), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformationPairing2::UnpairAsync() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationPairing2::UnpairAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairing2)->UnpairAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Enumeration_IDeviceInformationPairingStatics::TryRegisterForAllInboundPairingRequests(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationPairingStatics::TryRegisterForAllInboundPairingRequests(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairingStatics)->TryRegisterForAllInboundPairingRequests(static_cast(pairingKindsSupported), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Enumeration_IDeviceInformationPairingStatics2::TryRegisterForAllInboundPairingRequestsWithProtectionLevel(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationPairingStatics2::TryRegisterForAllInboundPairingRequestsWithProtectionLevel(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairingStatics2)->TryRegisterForAllInboundPairingRequestsWithProtectionLevel(static_cast(pairingKindsSupported), static_cast(minProtectionLevel), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformationStatics::CreateFromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics::CreateFromIdAsync(param::hstring const& deviceId) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics)->CreateFromIdAsync(*(void**)(&deviceId), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformationStatics::CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable const& additionalProperties) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics::CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable const& additionalProperties) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics)->CreateFromIdAsyncAdditionalProperties(*(void**)(&deviceId), *(void**)(&additionalProperties), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformationStatics::FindAllAsync() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics::FindAllAsync() const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics)->FindAllAsync(&asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformationStatics::FindAllAsync(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics::FindAllAsync(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics)->FindAllAsyncDeviceClass(static_cast(deviceClass), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformationStatics::FindAllAsync(param::hstring const& aqsFilter) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics::FindAllAsync(param::hstring const& aqsFilter) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics)->FindAllAsyncAqsFilter(*(void**)(&aqsFilter), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformationStatics::FindAllAsync(param::hstring const& aqsFilter, param::async_iterable const& additionalProperties) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics::FindAllAsync(param::hstring const& aqsFilter, param::async_iterable const& additionalProperties) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics)->FindAllAsyncAqsFilterAndAdditionalProperties(*(void**)(&aqsFilter), *(void**)(&additionalProperties), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) consume_Windows_Devices_Enumeration_IDeviceInformationStatics::CreateWatcher() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics::CreateWatcher() const { void* watcher{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics)->CreateWatcher(&watcher)); return winrt::Windows::Devices::Enumeration::DeviceWatcher{ watcher, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) consume_Windows_Devices_Enumeration_IDeviceInformationStatics::CreateWatcher(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics::CreateWatcher(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const { void* watcher{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics)->CreateWatcherDeviceClass(static_cast(deviceClass), &watcher)); return winrt::Windows::Devices::Enumeration::DeviceWatcher{ watcher, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) consume_Windows_Devices_Enumeration_IDeviceInformationStatics::CreateWatcher(param::hstring const& aqsFilter) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics::CreateWatcher(param::hstring const& aqsFilter) const { void* watcher{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics)->CreateWatcherAqsFilter(*(void**)(&aqsFilter), &watcher)); return winrt::Windows::Devices::Enumeration::DeviceWatcher{ watcher, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) consume_Windows_Devices_Enumeration_IDeviceInformationStatics::CreateWatcher(param::hstring const& aqsFilter, param::iterable const& additionalProperties) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics::CreateWatcher(param::hstring const& aqsFilter, param::iterable const& additionalProperties) const { void* watcher{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics)->CreateWatcherAqsFilterAndAdditionalProperties(*(void**)(&aqsFilter), *(void**)(&additionalProperties), &watcher)); return winrt::Windows::Devices::Enumeration::DeviceWatcher{ watcher, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_IDeviceInformationStatics2::GetAqsFilterFromDeviceClass(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics2::GetAqsFilterFromDeviceClass(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const { void* aqsFilter{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics2)->GetAqsFilterFromDeviceClass(static_cast(deviceClass), &aqsFilter)); return hstring{ aqsFilter, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformationStatics2::CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics2::CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics2)->CreateFromIdAsyncWithKindAndAdditionalProperties(*(void**)(&deviceId), *(void**)(&additionalProperties), static_cast(kind), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDeviceInformationStatics2::FindAllAsync(param::hstring const& aqsFilter, param::async_iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics2::FindAllAsync(param::hstring const& aqsFilter, param::async_iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics2)->FindAllAsyncWithKindAqsFilterAndAdditionalProperties(*(void**)(&aqsFilter), *(void**)(&additionalProperties), static_cast(kind), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) consume_Windows_Devices_Enumeration_IDeviceInformationStatics2::CreateWatcher(param::hstring const& aqsFilter, param::iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics2::CreateWatcher(param::hstring const& aqsFilter, param::iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const { void* watcher{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics2)->CreateWatcherWithKindAqsFilterAndAdditionalProperties(*(void**)(&aqsFilter), *(void**)(&additionalProperties), static_cast(kind), &watcher)); return winrt::Windows::Devices::Enumeration::DeviceWatcher{ watcher, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_IDeviceInformationUpdate::Id() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationUpdate::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationUpdate)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Enumeration_IDeviceInformationUpdate::Properties() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationUpdate::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationUpdate)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformationKind) consume_Windows_Devices_Enumeration_IDeviceInformationUpdate2::Kind() const + template auto consume_Windows_Devices_Enumeration_IDeviceInformationUpdate2::Kind() const { winrt::Windows::Devices::Enumeration::DeviceInformationKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationUpdate2)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs::DeviceInformation() const + template auto consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs::DeviceInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePairingRequestedEventArgs)->get_DeviceInformation(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePairingKinds) consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs::PairingKind() const + template auto consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs::PairingKind() const { winrt::Windows::Devices::Enumeration::DevicePairingKinds value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePairingRequestedEventArgs)->get_PairingKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs::Pin() const + template auto consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs::Pin() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePairingRequestedEventArgs)->get_Pin(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs::Accept() const + template auto consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs::Accept() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePairingRequestedEventArgs)->Accept()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs::Accept(param::hstring const& pin) const + template auto consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs::Accept(param::hstring const& pin) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePairingRequestedEventArgs)->AcceptWithPin(*(void**)(&pin))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs::GetDeferral() const + template auto consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePairingRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs2::AcceptWithPasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const + template auto consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs2::AcceptWithPasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePairingRequestedEventArgs2)->AcceptWithPasswordCredential(*(void**)(&passwordCredential))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePairingResultStatus) consume_Windows_Devices_Enumeration_IDevicePairingResult::Status() const + template auto consume_Windows_Devices_Enumeration_IDevicePairingResult::Status() const { winrt::Windows::Devices::Enumeration::DevicePairingResultStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePairingResult)->get_Status(reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel) consume_Windows_Devices_Enumeration_IDevicePairingResult::ProtectionLevelUsed() const + template auto consume_Windows_Devices_Enumeration_IDevicePairingResult::ProtectionLevelUsed() const { winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePairingResult)->get_ProtectionLevelUsed(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePickerFilter) consume_Windows_Devices_Enumeration_IDevicePicker::Filter() const + template auto consume_Windows_Devices_Enumeration_IDevicePicker::Filter() const { void* filter{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->get_Filter(&filter)); return winrt::Windows::Devices::Enumeration::DevicePickerFilter{ filter, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePickerAppearance) consume_Windows_Devices_Enumeration_IDevicePicker::Appearance() const + template auto consume_Windows_Devices_Enumeration_IDevicePicker::Appearance() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->get_Appearance(&value)); return winrt::Windows::Devices::Enumeration::DevicePickerAppearance{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Enumeration_IDevicePicker::RequestedProperties() const + template auto consume_Windows_Devices_Enumeration_IDevicePicker::RequestedProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->get_RequestedProperties(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDevicePicker::DeviceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDevicePicker::DeviceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->add_DeviceSelected(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Enumeration_IDevicePicker::DeviceSelected_revoker consume_Windows_Devices_Enumeration_IDevicePicker::DeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDevicePicker::DeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DeviceSelected(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePicker::DeviceSelected(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Enumeration_IDevicePicker::DeviceSelected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->remove_DeviceSelected(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDevicePicker::DisconnectButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDevicePicker::DisconnectButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->add_DisconnectButtonClicked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Enumeration_IDevicePicker::DisconnectButtonClicked_revoker consume_Windows_Devices_Enumeration_IDevicePicker::DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDevicePicker::DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DisconnectButtonClicked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePicker::DisconnectButtonClicked(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Enumeration_IDevicePicker::DisconnectButtonClicked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->remove_DisconnectButtonClicked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDevicePicker::DevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDevicePicker::DevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->add_DevicePickerDismissed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Enumeration_IDevicePicker::DevicePickerDismissed_revoker consume_Windows_Devices_Enumeration_IDevicePicker::DevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDevicePicker::DevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DevicePickerDismissed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePicker::DevicePickerDismissed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Enumeration_IDevicePicker::DevicePickerDismissed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->remove_DevicePickerDismissed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePicker::Show(winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_Devices_Enumeration_IDevicePicker::Show(winrt::Windows::Foundation::Rect const& selection) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->Show(impl::bind_in(selection))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePicker::Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& placement) const + template auto consume_Windows_Devices_Enumeration_IDevicePicker::Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& placement) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->ShowWithPlacement(impl::bind_in(selection), static_cast(placement))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDevicePicker::PickSingleDeviceAsync(winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_Devices_Enumeration_IDevicePicker::PickSingleDeviceAsync(winrt::Windows::Foundation::Rect const& selection) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->PickSingleDeviceAsync(impl::bind_in(selection), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Enumeration_IDevicePicker::PickSingleDeviceAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& placement) const + template auto consume_Windows_Devices_Enumeration_IDevicePicker::PickSingleDeviceAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& placement) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->PickSingleDeviceAsyncWithPlacement(impl::bind_in(selection), static_cast(placement), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePicker::Hide() const + template auto consume_Windows_Devices_Enumeration_IDevicePicker::Hide() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->Hide()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePicker::SetDisplayStatus(winrt::Windows::Devices::Enumeration::DeviceInformation const& device, param::hstring const& status, winrt::Windows::Devices::Enumeration::DevicePickerDisplayStatusOptions const& options) const + template auto consume_Windows_Devices_Enumeration_IDevicePicker::SetDisplayStatus(winrt::Windows::Devices::Enumeration::DeviceInformation const& device, param::hstring const& status, winrt::Windows::Devices::Enumeration::DevicePickerDisplayStatusOptions const& options) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->SetDisplayStatus(*(void**)(&device), *(void**)(&status), static_cast(options))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_IDevicePickerAppearance::Title() const + template auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerAppearance)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePickerAppearance::Title(param::hstring const& value) const + template auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerAppearance)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Enumeration_IDevicePickerAppearance::ForegroundColor() const + template auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance::ForegroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerAppearance)->get_ForegroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePickerAppearance::ForegroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance::ForegroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerAppearance)->put_ForegroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Enumeration_IDevicePickerAppearance::BackgroundColor() const + template auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance::BackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerAppearance)->get_BackgroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePickerAppearance::BackgroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance::BackgroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerAppearance)->put_BackgroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Enumeration_IDevicePickerAppearance::AccentColor() const + template auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance::AccentColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerAppearance)->get_AccentColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePickerAppearance::AccentColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance::AccentColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerAppearance)->put_AccentColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Enumeration_IDevicePickerAppearance::SelectedForegroundColor() const + template auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance::SelectedForegroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerAppearance)->get_SelectedForegroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePickerAppearance::SelectedForegroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance::SelectedForegroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerAppearance)->put_SelectedForegroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Enumeration_IDevicePickerAppearance::SelectedBackgroundColor() const + template auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance::SelectedBackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerAppearance)->get_SelectedBackgroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePickerAppearance::SelectedBackgroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance::SelectedBackgroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerAppearance)->put_SelectedBackgroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Enumeration_IDevicePickerAppearance::SelectedAccentColor() const + template auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance::SelectedAccentColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerAppearance)->get_SelectedAccentColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePickerAppearance::SelectedAccentColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance::SelectedAccentColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerAppearance)->put_SelectedAccentColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Enumeration_IDevicePickerFilter::SupportedDeviceClasses() const + template auto consume_Windows_Devices_Enumeration_IDevicePickerFilter::SupportedDeviceClasses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerFilter)->get_SupportedDeviceClasses(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Enumeration_IDevicePickerFilter::SupportedDeviceSelectors() const + template auto consume_Windows_Devices_Enumeration_IDevicePickerFilter::SupportedDeviceSelectors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerFilter)->get_SupportedDeviceSelectors(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_Enumeration_IDeviceSelectedEventArgs::SelectedDevice() const + template auto consume_Windows_Devices_Enumeration_IDeviceSelectedEventArgs::SelectedDevice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceSelectedEventArgs)->get_SelectedDevice(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceUnpairingResultStatus) consume_Windows_Devices_Enumeration_IDeviceUnpairingResult::Status() const + template auto consume_Windows_Devices_Enumeration_IDeviceUnpairingResult::Status() const { winrt::Windows::Devices::Enumeration::DeviceUnpairingResultStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceUnpairingResult)->get_Status(reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDeviceWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->add_Added(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Enumeration_IDeviceWatcher::Added_revoker consume_Windows_Devices_Enumeration_IDeviceWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Added(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceWatcher::Added(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::Added(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->remove_Added(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDeviceWatcher::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->add_Updated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Enumeration_IDeviceWatcher::Updated_revoker consume_Windows_Devices_Enumeration_IDeviceWatcher::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Updated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceWatcher::Updated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::Updated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->remove_Updated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDeviceWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->add_Removed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Enumeration_IDeviceWatcher::Removed_revoker consume_Windows_Devices_Enumeration_IDeviceWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Removed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceWatcher::Removed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::Removed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->remove_Removed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDeviceWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Enumeration_IDeviceWatcher::EnumerationCompleted_revoker consume_Windows_Devices_Enumeration_IDeviceWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->remove_EnumerationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDeviceWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->add_Stopped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Enumeration_IDeviceWatcher::Stopped_revoker consume_Windows_Devices_Enumeration_IDeviceWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceWatcher::Stopped(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::Stopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->remove_Stopped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherStatus) consume_Windows_Devices_Enumeration_IDeviceWatcher::Status() const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::Status() const { winrt::Windows::Devices::Enumeration::DeviceWatcherStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->get_Status(reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceWatcher::Start() const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceWatcher::Stop() const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::DeviceWatcherTrigger) consume_Windows_Devices_Enumeration_IDeviceWatcher2::GetBackgroundTrigger(param::iterable const& requestedEventKinds) const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcher2::GetBackgroundTrigger(param::iterable const& requestedEventKinds) const { void* trigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher2)->GetBackgroundTrigger(*(void**)(&requestedEventKinds), &trigger)); return winrt::Windows::ApplicationModel::Background::DeviceWatcherTrigger{ trigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherEventKind) consume_Windows_Devices_Enumeration_IDeviceWatcherEvent::Kind() const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcherEvent::Kind() const { winrt::Windows::Devices::Enumeration::DeviceWatcherEventKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcherEvent)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_Enumeration_IDeviceWatcherEvent::DeviceInformation() const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcherEvent::DeviceInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcherEvent)->get_DeviceInformation(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformationUpdate) consume_Windows_Devices_Enumeration_IDeviceWatcherEvent::DeviceInformationUpdate() const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcherEvent::DeviceInformationUpdate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcherEvent)->get_DeviceInformationUpdate(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformationUpdate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Enumeration_IDeviceWatcherTriggerDetails::DeviceWatcherEvents() const + template auto consume_Windows_Devices_Enumeration_IDeviceWatcherTriggerDetails::DeviceWatcherEvents() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcherTriggerDetails)->get_DeviceWatcherEvents(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Enumeration_IEnclosureLocation::InDock() const + template auto consume_Windows_Devices_Enumeration_IEnclosureLocation::InDock() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IEnclosureLocation)->get_InDock(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Enumeration_IEnclosureLocation::InLid() const + template auto consume_Windows_Devices_Enumeration_IEnclosureLocation::InLid() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IEnclosureLocation)->get_InLid(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Panel) consume_Windows_Devices_Enumeration_IEnclosureLocation::Panel() const + template auto consume_Windows_Devices_Enumeration_IEnclosureLocation::Panel() const { winrt::Windows::Devices::Enumeration::Panel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IEnclosureLocation)->get_Panel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Enumeration_IEnclosureLocation2::RotationAngleInDegreesClockwise() const + template auto consume_Windows_Devices_Enumeration_IEnclosureLocation2::RotationAngleInDegreesClockwise() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IEnclosureLocation2)->get_RotationAngleInDegreesClockwise(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Geolocation.Geofencing.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Geolocation.Geofencing.h index f65fd614..f4304ea2 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Geolocation.Geofencing.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Geolocation.Geofencing.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Geolocation_Geofencing_H #define WINRT_Windows_Devices_Geolocation_Geofencing_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.Geolocation.h" #include "winrt/impl/Windows.Devices.Geolocation.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,149 +13,149 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Geolocation.Geofencing.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Geolocation_Geofencing_IGeofence::StartTime() const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofence::StartTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofence)->get_StartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Geolocation_Geofencing_IGeofence::Duration() const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofence::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofence)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Geolocation_Geofencing_IGeofence::DwellTime() const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofence::DwellTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofence)->get_DwellTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Geolocation_Geofencing_IGeofence::Id() const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofence::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofence)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates) consume_Windows_Devices_Geolocation_Geofencing_IGeofence::MonitoredStates() const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofence::MonitoredStates() const { winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofence)->get_MonitoredStates(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::IGeoshape) consume_Windows_Devices_Geolocation_Geofencing_IGeofence::Geoshape() const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofence::Geoshape() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofence)->get_Geoshape(&value)); return winrt::Windows::Devices::Geolocation::IGeoshape{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Geolocation_Geofencing_IGeofence::SingleUse() const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofence::SingleUse() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofence)->get_SingleUse(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory::Create(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape) const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory::Create(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape) const { void* geofence{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceFactory)->Create(*(void**)(&id), *(void**)(&geoshape), &geofence)); return winrt::Windows::Devices::Geolocation::Geofencing::Geofence{ geofence, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory::CreateWithMonitorStates(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse) const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory::CreateWithMonitorStates(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse) const { void* geofence{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceFactory)->CreateWithMonitorStates(*(void**)(&id), *(void**)(&geoshape), static_cast(monitoredStates), singleUse, &geofence)); return winrt::Windows::Devices::Geolocation::Geofencing::Geofence{ geofence, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory::CreateWithMonitorStatesAndDwellTime(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse, winrt::Windows::Foundation::TimeSpan const& dwellTime) const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory::CreateWithMonitorStatesAndDwellTime(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse, winrt::Windows::Foundation::TimeSpan const& dwellTime) const { void* geofence{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceFactory)->CreateWithMonitorStatesAndDwellTime(*(void**)(&id), *(void**)(&geoshape), static_cast(monitoredStates), singleUse, impl::bind_in(dwellTime), &geofence)); return winrt::Windows::Devices::Geolocation::Geofencing::Geofence{ geofence, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory::CreateWithMonitorStatesDwellTimeStartTimeAndDuration(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse, winrt::Windows::Foundation::TimeSpan const& dwellTime, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory::CreateWithMonitorStatesDwellTimeStartTimeAndDuration(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse, winrt::Windows::Foundation::TimeSpan const& dwellTime, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const { void* geofence{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceFactory)->CreateWithMonitorStatesDwellTimeStartTimeAndDuration(*(void**)(&id), *(void**)(&geoshape), static_cast(monitoredStates), singleUse, impl::bind_in(dwellTime), impl::bind_in(startTime), impl::bind_in(duration), &geofence)); return winrt::Windows::Devices::Geolocation::Geofencing::Geofence{ geofence, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitorStatus) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::Status() const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::Status() const { winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitorStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::Geofences() const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::Geofences() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor)->get_Geofences(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::LastKnownGeoposition() const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::LastKnownGeoposition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor)->get_LastKnownGeoposition(&value)); return winrt::Windows::Devices::Geolocation::Geoposition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::GeofenceStateChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::GeofenceStateChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor)->add_GeofenceStateChanged(*(void**)(&eventHandler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::GeofenceStateChanged_revoker consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::GeofenceStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::GeofenceStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, GeofenceStateChanged(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::GeofenceStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::GeofenceStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor)->remove_GeofenceStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::ReadReports() const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::ReadReports() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor)->ReadReports(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor)->add_StatusChanged(*(void**)(&eventHandler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::StatusChanged_revoker consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, StatusChanged(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::StatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor::StatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor)->remove_StatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitorStatics::Current() const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitorStatics::Current() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitorStatics)->get_Current(&value)); return winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::GeofenceState) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport::NewState() const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport::NewState() const { winrt::Windows::Devices::Geolocation::Geofencing::GeofenceState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceStateChangeReport)->get_NewState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport::Geofence() const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport::Geofence() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceStateChangeReport)->get_Geofence(&value)); return winrt::Windows::Devices::Geolocation::Geofencing::Geofence{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport::Geoposition() const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport::Geoposition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceStateChangeReport)->get_Geoposition(&value)); return winrt::Windows::Devices::Geolocation::Geoposition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::GeofenceRemovalReason) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport::RemovalReason() const + template auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport::RemovalReason() const { winrt::Windows::Devices::Geolocation::Geofencing::GeofenceRemovalReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceStateChangeReport)->get_RemovalReason(reinterpret_cast(&value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Geolocation.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Geolocation.h index 2aeeb742..37cb4a00 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Geolocation.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Geolocation.h @@ -1,536 +1,536 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Geolocation_H #define WINRT_Windows_Devices_Geolocation_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Devices.Geolocation.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Geolocation_ICivicAddress::Country() const + template auto consume_Windows_Devices_Geolocation_ICivicAddress::Country() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::ICivicAddress)->get_Country(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Geolocation_ICivicAddress::State() const + template auto consume_Windows_Devices_Geolocation_ICivicAddress::State() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::ICivicAddress)->get_State(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Geolocation_ICivicAddress::City() const + template auto consume_Windows_Devices_Geolocation_ICivicAddress::City() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::ICivicAddress)->get_City(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Geolocation_ICivicAddress::PostalCode() const + template auto consume_Windows_Devices_Geolocation_ICivicAddress::PostalCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::ICivicAddress)->get_PostalCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Geolocation_ICivicAddress::Timestamp() const + template auto consume_Windows_Devices_Geolocation_ICivicAddress::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::ICivicAddress)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) consume_Windows_Devices_Geolocation_IGeoboundingBox::NorthwestCorner() const + template auto consume_Windows_Devices_Geolocation_IGeoboundingBox::NorthwestCorner() const { winrt::Windows::Devices::Geolocation::BasicGeoposition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoboundingBox)->get_NorthwestCorner(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) consume_Windows_Devices_Geolocation_IGeoboundingBox::SoutheastCorner() const + template auto consume_Windows_Devices_Geolocation_IGeoboundingBox::SoutheastCorner() const { winrt::Windows::Devices::Geolocation::BasicGeoposition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoboundingBox)->get_SoutheastCorner(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) consume_Windows_Devices_Geolocation_IGeoboundingBox::Center() const + template auto consume_Windows_Devices_Geolocation_IGeoboundingBox::Center() const { winrt::Windows::Devices::Geolocation::BasicGeoposition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoboundingBox)->get_Center(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Geolocation_IGeoboundingBox::MinAltitude() const + template auto consume_Windows_Devices_Geolocation_IGeoboundingBox::MinAltitude() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoboundingBox)->get_MinAltitude(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Geolocation_IGeoboundingBox::MaxAltitude() const + template auto consume_Windows_Devices_Geolocation_IGeoboundingBox::MaxAltitude() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoboundingBox)->get_MaxAltitude(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Devices_Geolocation_IGeoboundingBoxFactory::Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner) const + template auto consume_Windows_Devices_Geolocation_IGeoboundingBoxFactory::Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoboundingBoxFactory)->Create(impl::bind_in(northwestCorner), impl::bind_in(southeastCorner), &value)); return winrt::Windows::Devices::Geolocation::GeoboundingBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Devices_Geolocation_IGeoboundingBoxFactory::CreateWithAltitudeReference(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const + template auto consume_Windows_Devices_Geolocation_IGeoboundingBoxFactory::CreateWithAltitudeReference(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoboundingBoxFactory)->CreateWithAltitudeReference(impl::bind_in(northwestCorner), impl::bind_in(southeastCorner), static_cast(altitudeReferenceSystem), &value)); return winrt::Windows::Devices::Geolocation::GeoboundingBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Devices_Geolocation_IGeoboundingBoxFactory::CreateWithAltitudeReferenceAndSpatialReference(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const + template auto consume_Windows_Devices_Geolocation_IGeoboundingBoxFactory::CreateWithAltitudeReferenceAndSpatialReference(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoboundingBoxFactory)->CreateWithAltitudeReferenceAndSpatialReference(impl::bind_in(northwestCorner), impl::bind_in(southeastCorner), static_cast(altitudeReferenceSystem), spatialReferenceId, &value)); return winrt::Windows::Devices::Geolocation::GeoboundingBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics::TryCompute(param::iterable const& positions) const + template auto consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics::TryCompute(param::iterable const& positions) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoboundingBoxStatics)->TryCompute(*(void**)(&positions), &value)); return winrt::Windows::Devices::Geolocation::GeoboundingBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics::TryCompute(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem) const + template auto consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics::TryCompute(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoboundingBoxStatics)->TryComputeWithAltitudeReference(*(void**)(&positions), static_cast(altitudeRefSystem), &value)); return winrt::Windows::Devices::Geolocation::GeoboundingBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics::TryCompute(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem, uint32_t spatialReferenceId) const + template auto consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics::TryCompute(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem, uint32_t spatialReferenceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoboundingBoxStatics)->TryComputeWithAltitudeReferenceAndSpatialReference(*(void**)(&positions), static_cast(altitudeRefSystem), spatialReferenceId, &value)); return winrt::Windows::Devices::Geolocation::GeoboundingBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) consume_Windows_Devices_Geolocation_IGeocircle::Center() const + template auto consume_Windows_Devices_Geolocation_IGeocircle::Center() const { winrt::Windows::Devices::Geolocation::BasicGeoposition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocircle)->get_Center(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Geolocation_IGeocircle::Radius() const + template auto consume_Windows_Devices_Geolocation_IGeocircle::Radius() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocircle)->get_Radius(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geocircle) consume_Windows_Devices_Geolocation_IGeocircleFactory::Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius) const + template auto consume_Windows_Devices_Geolocation_IGeocircleFactory::Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocircleFactory)->Create(impl::bind_in(position), radius, &value)); return winrt::Windows::Devices::Geolocation::Geocircle{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geocircle) consume_Windows_Devices_Geolocation_IGeocircleFactory::CreateWithAltitudeReferenceSystem(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const + template auto consume_Windows_Devices_Geolocation_IGeocircleFactory::CreateWithAltitudeReferenceSystem(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocircleFactory)->CreateWithAltitudeReferenceSystem(impl::bind_in(position), radius, static_cast(altitudeReferenceSystem), &value)); return winrt::Windows::Devices::Geolocation::Geocircle{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geocircle) consume_Windows_Devices_Geolocation_IGeocircleFactory::CreateWithAltitudeReferenceSystemAndSpatialReferenceId(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const + template auto consume_Windows_Devices_Geolocation_IGeocircleFactory::CreateWithAltitudeReferenceSystemAndSpatialReferenceId(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocircleFactory)->CreateWithAltitudeReferenceSystemAndSpatialReferenceId(impl::bind_in(position), radius, static_cast(altitudeReferenceSystem), spatialReferenceId, &value)); return winrt::Windows::Devices::Geolocation::Geocircle{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Geolocation_IGeocoordinate::Latitude() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinate::Latitude() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinate)->get_Latitude(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Geolocation_IGeocoordinate::Longitude() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinate::Longitude() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinate)->get_Longitude(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Geolocation_IGeocoordinate::Altitude() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinate::Altitude() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinate)->get_Altitude(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Geolocation_IGeocoordinate::Accuracy() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinate::Accuracy() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinate)->get_Accuracy(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Geolocation_IGeocoordinate::AltitudeAccuracy() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinate::AltitudeAccuracy() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinate)->get_AltitudeAccuracy(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Geolocation_IGeocoordinate::Heading() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinate::Heading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinate)->get_Heading(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Geolocation_IGeocoordinate::Speed() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinate::Speed() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinate)->get_Speed(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Geolocation_IGeocoordinate::Timestamp() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinate::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinate)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData::PositionDilutionOfPrecision() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData::PositionDilutionOfPrecision() const { void* ppValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData)->get_PositionDilutionOfPrecision(&ppValue)); return winrt::Windows::Foundation::IReference{ ppValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData::HorizontalDilutionOfPrecision() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData::HorizontalDilutionOfPrecision() const { void* ppValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData)->get_HorizontalDilutionOfPrecision(&ppValue)); return winrt::Windows::Foundation::IReference{ ppValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData::VerticalDilutionOfPrecision() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData::VerticalDilutionOfPrecision() const { void* ppValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData)->get_VerticalDilutionOfPrecision(&ppValue)); return winrt::Windows::Foundation::IReference{ ppValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2::GeometricDilutionOfPrecision() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2::GeometricDilutionOfPrecision() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2)->get_GeometricDilutionOfPrecision(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2::TimeDilutionOfPrecision() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2::TimeDilutionOfPrecision() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2)->get_TimeDilutionOfPrecision(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Devices_Geolocation_IGeocoordinateWithPoint::Point() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinateWithPoint::Point() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateWithPoint)->get_Point(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionSource) consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionData::PositionSource() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionData::PositionSource() const { winrt::Windows::Devices::Geolocation::PositionSource pValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionData)->get_PositionSource(reinterpret_cast(&pValue))); return pValue; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeocoordinateSatelliteData) consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionData::SatelliteData() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionData::SatelliteData() const { void* ppValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionData)->get_SatelliteData(&ppValue)); return winrt::Windows::Devices::Geolocation::GeocoordinateSatelliteData{ ppValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionSourceTimestamp::PositionSourceTimestamp() const + template auto consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionSourceTimestamp::PositionSourceTimestamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionSourceTimestamp)->get_PositionSourceTimestamp(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionAccuracy) consume_Windows_Devices_Geolocation_IGeolocator::DesiredAccuracy() const + template auto consume_Windows_Devices_Geolocation_IGeolocator::DesiredAccuracy() const { winrt::Windows::Devices::Geolocation::PositionAccuracy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->get_DesiredAccuracy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeolocator::DesiredAccuracy(winrt::Windows::Devices::Geolocation::PositionAccuracy const& value) const + template auto consume_Windows_Devices_Geolocation_IGeolocator::DesiredAccuracy(winrt::Windows::Devices::Geolocation::PositionAccuracy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->put_DesiredAccuracy(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Geolocation_IGeolocator::MovementThreshold() const + template auto consume_Windows_Devices_Geolocation_IGeolocator::MovementThreshold() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->get_MovementThreshold(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeolocator::MovementThreshold(double value) const + template auto consume_Windows_Devices_Geolocation_IGeolocator::MovementThreshold(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->put_MovementThreshold(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Geolocation_IGeolocator::ReportInterval() const + template auto consume_Windows_Devices_Geolocation_IGeolocator::ReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->get_ReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeolocator::ReportInterval(uint32_t value) const + template auto consume_Windows_Devices_Geolocation_IGeolocator::ReportInterval(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->put_ReportInterval(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionStatus) consume_Windows_Devices_Geolocation_IGeolocator::LocationStatus() const + template auto consume_Windows_Devices_Geolocation_IGeolocator::LocationStatus() const { winrt::Windows::Devices::Geolocation::PositionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->get_LocationStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Geolocation_IGeolocator::GetGeopositionAsync() const + template auto consume_Windows_Devices_Geolocation_IGeolocator::GetGeopositionAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->GetGeopositionAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Geolocation_IGeolocator::GetGeopositionAsync(winrt::Windows::Foundation::TimeSpan const& maximumAge, winrt::Windows::Foundation::TimeSpan const& timeout) const + template auto consume_Windows_Devices_Geolocation_IGeolocator::GetGeopositionAsync(winrt::Windows::Foundation::TimeSpan const& maximumAge, winrt::Windows::Foundation::TimeSpan const& timeout) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->GetGeopositionAsyncWithAgeAndTimeout(impl::bind_in(maximumAge), impl::bind_in(timeout), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Geolocation_IGeolocator::PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Geolocation_IGeolocator::PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->add_PositionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Geolocation_IGeolocator::PositionChanged_revoker consume_Windows_Devices_Geolocation_IGeolocator::PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Geolocation_IGeolocator::PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PositionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeolocator::PositionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Geolocation_IGeolocator::PositionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->remove_PositionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Geolocation_IGeolocator::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Geolocation_IGeolocator::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->add_StatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Geolocation_IGeolocator::StatusChanged_revoker consume_Windows_Devices_Geolocation_IGeolocator::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Geolocation_IGeolocator::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeolocator::StatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Geolocation_IGeolocator::StatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->remove_StatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeolocator2::AllowFallbackToConsentlessPositions() const + template auto consume_Windows_Devices_Geolocation_IGeolocator2::AllowFallbackToConsentlessPositions() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator2)->AllowFallbackToConsentlessPositions()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Geolocation_IGeolocatorStatics::RequestAccessAsync() const + template auto consume_Windows_Devices_Geolocation_IGeolocatorStatics::RequestAccessAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocatorStatics)->RequestAccessAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Geolocation_IGeolocatorStatics::GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime) const + template auto consume_Windows_Devices_Geolocation_IGeolocatorStatics::GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocatorStatics)->GetGeopositionHistoryAsync(impl::bind_in(startTime), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Geolocation_IGeolocatorStatics::GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const + template auto consume_Windows_Devices_Geolocation_IGeolocatorStatics::GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocatorStatics)->GetGeopositionHistoryWithDurationAsync(impl::bind_in(startTime), impl::bind_in(duration), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Geolocation_IGeolocatorStatics2::IsDefaultGeopositionRecommended() const + template auto consume_Windows_Devices_Geolocation_IGeolocatorStatics2::IsDefaultGeopositionRecommended() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocatorStatics2)->get_IsDefaultGeopositionRecommended(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeolocatorStatics2::DefaultGeoposition(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_Geolocation_IGeolocatorStatics2::DefaultGeoposition(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocatorStatics2)->put_DefaultGeoposition(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Geolocation_IGeolocatorStatics2::DefaultGeoposition() const + template auto consume_Windows_Devices_Geolocation_IGeolocatorStatics2::DefaultGeoposition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocatorStatics2)->get_DefaultGeoposition(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Geolocation_IGeolocatorWithScalarAccuracy::DesiredAccuracyInMeters() const + template auto consume_Windows_Devices_Geolocation_IGeolocatorWithScalarAccuracy::DesiredAccuracyInMeters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocatorWithScalarAccuracy)->get_DesiredAccuracyInMeters(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeolocatorWithScalarAccuracy::DesiredAccuracyInMeters(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_Geolocation_IGeolocatorWithScalarAccuracy::DesiredAccuracyInMeters(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocatorWithScalarAccuracy)->put_DesiredAccuracyInMeters(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Geolocation_IGeopath::Positions() const + template auto consume_Windows_Devices_Geolocation_IGeopath::Positions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeopath)->get_Positions(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_Devices_Geolocation_IGeopathFactory::Create(param::iterable const& positions) const + template auto consume_Windows_Devices_Geolocation_IGeopathFactory::Create(param::iterable const& positions) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeopathFactory)->Create(*(void**)(&positions), &value)); return winrt::Windows::Devices::Geolocation::Geopath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_Devices_Geolocation_IGeopathFactory::CreateWithAltitudeReference(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const + template auto consume_Windows_Devices_Geolocation_IGeopathFactory::CreateWithAltitudeReference(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeopathFactory)->CreateWithAltitudeReference(*(void**)(&positions), static_cast(altitudeReferenceSystem), &value)); return winrt::Windows::Devices::Geolocation::Geopath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_Devices_Geolocation_IGeopathFactory::CreateWithAltitudeReferenceAndSpatialReference(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const + template auto consume_Windows_Devices_Geolocation_IGeopathFactory::CreateWithAltitudeReferenceAndSpatialReference(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeopathFactory)->CreateWithAltitudeReferenceAndSpatialReference(*(void**)(&positions), static_cast(altitudeReferenceSystem), spatialReferenceId, &value)); return winrt::Windows::Devices::Geolocation::Geopath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) consume_Windows_Devices_Geolocation_IGeopoint::Position() const + template auto consume_Windows_Devices_Geolocation_IGeopoint::Position() const { winrt::Windows::Devices::Geolocation::BasicGeoposition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeopoint)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Devices_Geolocation_IGeopointFactory::Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position) const + template auto consume_Windows_Devices_Geolocation_IGeopointFactory::Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeopointFactory)->Create(impl::bind_in(position), &value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Devices_Geolocation_IGeopointFactory::CreateWithAltitudeReferenceSystem(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const + template auto consume_Windows_Devices_Geolocation_IGeopointFactory::CreateWithAltitudeReferenceSystem(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeopointFactory)->CreateWithAltitudeReferenceSystem(impl::bind_in(position), static_cast(altitudeReferenceSystem), &value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Devices_Geolocation_IGeopointFactory::CreateWithAltitudeReferenceSystemAndSpatialReferenceId(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const + template auto consume_Windows_Devices_Geolocation_IGeopointFactory::CreateWithAltitudeReferenceSystemAndSpatialReferenceId(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeopointFactory)->CreateWithAltitudeReferenceSystemAndSpatialReferenceId(impl::bind_in(position), static_cast(altitudeReferenceSystem), spatialReferenceId, &value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geocoordinate) consume_Windows_Devices_Geolocation_IGeoposition::Coordinate() const + template auto consume_Windows_Devices_Geolocation_IGeoposition::Coordinate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoposition)->get_Coordinate(&value)); return winrt::Windows::Devices::Geolocation::Geocoordinate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::CivicAddress) consume_Windows_Devices_Geolocation_IGeoposition::CivicAddress() const + template auto consume_Windows_Devices_Geolocation_IGeoposition::CivicAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoposition)->get_CivicAddress(&value)); return winrt::Windows::Devices::Geolocation::CivicAddress{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::VenueData) consume_Windows_Devices_Geolocation_IGeoposition2::VenueData() const + template auto consume_Windows_Devices_Geolocation_IGeoposition2::VenueData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoposition2)->get_VenueData(&value)); return winrt::Windows::Devices::Geolocation::VenueData{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoshapeType) consume_Windows_Devices_Geolocation_IGeoshape::GeoshapeType() const + template auto consume_Windows_Devices_Geolocation_IGeoshape::GeoshapeType() const { winrt::Windows::Devices::Geolocation::GeoshapeType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoshape)->get_GeoshapeType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Geolocation_IGeoshape::SpatialReferenceId() const + template auto consume_Windows_Devices_Geolocation_IGeoshape::SpatialReferenceId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoshape)->get_SpatialReferenceId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem) consume_Windows_Devices_Geolocation_IGeoshape::AltitudeReferenceSystem() const + template auto consume_Windows_Devices_Geolocation_IGeoshape::AltitudeReferenceSystem() const { winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoshape)->get_AltitudeReferenceSystem(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) consume_Windows_Devices_Geolocation_IGeovisit::Position() const + template auto consume_Windows_Devices_Geolocation_IGeovisit::Position() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisit)->get_Position(&value)); return winrt::Windows::Devices::Geolocation::Geoposition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::VisitStateChange) consume_Windows_Devices_Geolocation_IGeovisit::StateChange() const + template auto consume_Windows_Devices_Geolocation_IGeovisit::StateChange() const { winrt::Windows::Devices::Geolocation::VisitStateChange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisit)->get_StateChange(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Geolocation_IGeovisit::Timestamp() const + template auto consume_Windows_Devices_Geolocation_IGeovisit::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisit)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::VisitMonitoringScope) consume_Windows_Devices_Geolocation_IGeovisitMonitor::MonitoringScope() const + template auto consume_Windows_Devices_Geolocation_IGeovisitMonitor::MonitoringScope() const { winrt::Windows::Devices::Geolocation::VisitMonitoringScope value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisitMonitor)->get_MonitoringScope(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeovisitMonitor::Start(winrt::Windows::Devices::Geolocation::VisitMonitoringScope const& value) const + template auto consume_Windows_Devices_Geolocation_IGeovisitMonitor::Start(winrt::Windows::Devices::Geolocation::VisitMonitoringScope const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisitMonitor)->Start(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeovisitMonitor::Stop() const + template auto consume_Windows_Devices_Geolocation_IGeovisitMonitor::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisitMonitor)->Stop()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Geolocation_IGeovisitMonitor::VisitStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Geolocation_IGeovisitMonitor::VisitStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisitMonitor)->add_VisitStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Geolocation_IGeovisitMonitor::VisitStateChanged_revoker consume_Windows_Devices_Geolocation_IGeovisitMonitor::VisitStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Geolocation_IGeovisitMonitor::VisitStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, VisitStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeovisitMonitor::VisitStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Geolocation_IGeovisitMonitor::VisitStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisitMonitor)->remove_VisitStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Geolocation_IGeovisitMonitorStatics::GetLastReportAsync() const + template auto consume_Windows_Devices_Geolocation_IGeovisitMonitorStatics::GetLastReportAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisitMonitorStatics)->GetLastReportAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geovisit) consume_Windows_Devices_Geolocation_IGeovisitStateChangedEventArgs::Visit() const + template auto consume_Windows_Devices_Geolocation_IGeovisitStateChangedEventArgs::Visit() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisitStateChangedEventArgs)->get_Visit(&value)); return winrt::Windows::Devices::Geolocation::Geovisit{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Geolocation_IGeovisitTriggerDetails::ReadReports() const + template auto consume_Windows_Devices_Geolocation_IGeovisitTriggerDetails::ReadReports() const { void* values{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisitTriggerDetails)->ReadReports(&values)); return winrt::Windows::Foundation::Collections::IVectorView{ values, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) consume_Windows_Devices_Geolocation_IPositionChangedEventArgs::Position() const + template auto consume_Windows_Devices_Geolocation_IPositionChangedEventArgs::Position() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IPositionChangedEventArgs)->get_Position(&value)); return winrt::Windows::Devices::Geolocation::Geoposition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionStatus) consume_Windows_Devices_Geolocation_IStatusChangedEventArgs::Status() const + template auto consume_Windows_Devices_Geolocation_IStatusChangedEventArgs::Status() const { winrt::Windows::Devices::Geolocation::PositionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IStatusChangedEventArgs)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Geolocation_IVenueData::Id() const + template auto consume_Windows_Devices_Geolocation_IVenueData::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IVenueData)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Geolocation_IVenueData::Level() const + template auto consume_Windows_Devices_Geolocation_IVenueData::Level() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IVenueData)->get_Level(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Gpio.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Gpio.Provider.h index e805b876..4395494e 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Gpio.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Gpio.Provider.h @@ -1,104 +1,104 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Gpio_Provider_H #define WINRT_Windows_Devices_Gpio_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.Gpio.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Devices.Gpio.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Gpio_Provider_IGpioControllerProvider::PinCount() const + template auto consume_Windows_Devices_Gpio_Provider_IGpioControllerProvider::PinCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioControllerProvider)->get_PinCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider) consume_Windows_Devices_Gpio_Provider_IGpioControllerProvider::OpenPinProvider(int32_t pin, winrt::Windows::Devices::Gpio::Provider::ProviderGpioSharingMode const& sharingMode) const + template auto consume_Windows_Devices_Gpio_Provider_IGpioControllerProvider::OpenPinProvider(int32_t pin, winrt::Windows::Devices::Gpio::Provider::ProviderGpioSharingMode const& sharingMode) const { void* gpioPinProvider{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioControllerProvider)->OpenPinProvider(pin, static_cast(sharingMode), &gpioPinProvider)); return winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider{ gpioPinProvider, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->add_ValueChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::ValueChanged_revoker consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ValueChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::ValueChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::ValueChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->remove_ValueChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::DebounceTimeout() const + template auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::DebounceTimeout() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->get_DebounceTimeout(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::DebounceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::DebounceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->put_DebounceTimeout(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::PinNumber() const + template auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::PinNumber() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->get_PinNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::ProviderGpioSharingMode) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::SharingMode() const + template auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::SharingMode() const { winrt::Windows::Devices::Gpio::Provider::ProviderGpioSharingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->get_SharingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::IsDriveModeSupported(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode const& driveMode) const + template auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::IsDriveModeSupported(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode const& driveMode) const { bool supported{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->IsDriveModeSupported(static_cast(driveMode), &supported)); return supported; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::GetDriveMode() const + template auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::GetDriveMode() const { winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->GetDriveMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::SetDriveMode(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode const& value) const + template auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::SetDriveMode(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->SetDriveMode(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::Write(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinValue const& value) const + template auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::Write(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->Write(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinValue) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::Read() const + template auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider::Read() const { winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinValue value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->Read(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinEdge) consume_Windows_Devices_Gpio_Provider_IGpioPinProviderValueChangedEventArgs::Edge() const + template auto consume_Windows_Devices_Gpio_Provider_IGpioPinProviderValueChangedEventArgs::Edge() const { winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinEdge value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProviderValueChangedEventArgs)->get_Edge(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::GpioPinProviderValueChangedEventArgs) consume_Windows_Devices_Gpio_Provider_IGpioPinProviderValueChangedEventArgsFactory::Create(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinEdge const& edge) const + template auto consume_Windows_Devices_Gpio_Provider_IGpioPinProviderValueChangedEventArgsFactory::Create(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinEdge const& edge) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProviderValueChangedEventArgsFactory)->Create(static_cast(edge), &value)); return winrt::Windows::Devices::Gpio::Provider::GpioPinProviderValueChangedEventArgs{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Gpio_Provider_IGpioProvider::GetControllers() const + template auto consume_Windows_Devices_Gpio_Provider_IGpioProvider::GetControllers() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioProvider)->GetControllers(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Gpio.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Gpio.h index a0d8ad01..ff972e40 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Gpio.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Gpio.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Gpio_H #define WINRT_Windows_Devices_Gpio_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Devices.Gpio.Provider.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,241 +13,241 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Gpio.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioChangeCounter::Polarity(winrt::Windows::Devices::Gpio::GpioChangePolarity const& value) const + template auto consume_Windows_Devices_Gpio_IGpioChangeCounter::Polarity(winrt::Windows::Devices::Gpio::GpioChangePolarity const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeCounter)->put_Polarity(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangePolarity) consume_Windows_Devices_Gpio_IGpioChangeCounter::Polarity() const + template auto consume_Windows_Devices_Gpio_IGpioChangeCounter::Polarity() const { winrt::Windows::Devices::Gpio::GpioChangePolarity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeCounter)->get_Polarity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Gpio_IGpioChangeCounter::IsStarted() const + template auto consume_Windows_Devices_Gpio_IGpioChangeCounter::IsStarted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeCounter)->get_IsStarted(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioChangeCounter::Start() const + template auto consume_Windows_Devices_Gpio_IGpioChangeCounter::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeCounter)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioChangeCounter::Stop() const + template auto consume_Windows_Devices_Gpio_IGpioChangeCounter::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeCounter)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeCount) consume_Windows_Devices_Gpio_IGpioChangeCounter::Read() const + template auto consume_Windows_Devices_Gpio_IGpioChangeCounter::Read() const { winrt::Windows::Devices::Gpio::GpioChangeCount value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeCounter)->Read(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeCount) consume_Windows_Devices_Gpio_IGpioChangeCounter::Reset() const + template auto consume_Windows_Devices_Gpio_IGpioChangeCounter::Reset() const { winrt::Windows::Devices::Gpio::GpioChangeCount value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeCounter)->Reset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeCounter) consume_Windows_Devices_Gpio_IGpioChangeCounterFactory::Create(winrt::Windows::Devices::Gpio::GpioPin const& pin) const + template auto consume_Windows_Devices_Gpio_IGpioChangeCounterFactory::Create(winrt::Windows::Devices::Gpio::GpioPin const& pin) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeCounterFactory)->Create(*(void**)(&pin), &value)); return winrt::Windows::Devices::Gpio::GpioChangeCounter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Gpio_IGpioChangeReader::Capacity() const + template auto consume_Windows_Devices_Gpio_IGpioChangeReader::Capacity() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->get_Capacity(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Gpio_IGpioChangeReader::Length() const + template auto consume_Windows_Devices_Gpio_IGpioChangeReader::Length() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Gpio_IGpioChangeReader::IsEmpty() const + template auto consume_Windows_Devices_Gpio_IGpioChangeReader::IsEmpty() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->get_IsEmpty(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Gpio_IGpioChangeReader::IsOverflowed() const + template auto consume_Windows_Devices_Gpio_IGpioChangeReader::IsOverflowed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->get_IsOverflowed(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioChangeReader::Polarity(winrt::Windows::Devices::Gpio::GpioChangePolarity const& value) const + template auto consume_Windows_Devices_Gpio_IGpioChangeReader::Polarity(winrt::Windows::Devices::Gpio::GpioChangePolarity const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->put_Polarity(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangePolarity) consume_Windows_Devices_Gpio_IGpioChangeReader::Polarity() const + template auto consume_Windows_Devices_Gpio_IGpioChangeReader::Polarity() const { winrt::Windows::Devices::Gpio::GpioChangePolarity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->get_Polarity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Gpio_IGpioChangeReader::IsStarted() const + template auto consume_Windows_Devices_Gpio_IGpioChangeReader::IsStarted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->get_IsStarted(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioChangeReader::Start() const + template auto consume_Windows_Devices_Gpio_IGpioChangeReader::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioChangeReader::Stop() const + template auto consume_Windows_Devices_Gpio_IGpioChangeReader::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->Stop()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioChangeReader::Clear() const + template auto consume_Windows_Devices_Gpio_IGpioChangeReader::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->Clear()); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeRecord) consume_Windows_Devices_Gpio_IGpioChangeReader::GetNextItem() const + template auto consume_Windows_Devices_Gpio_IGpioChangeReader::GetNextItem() const { winrt::Windows::Devices::Gpio::GpioChangeRecord value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->GetNextItem(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeRecord) consume_Windows_Devices_Gpio_IGpioChangeReader::PeekNextItem() const + template auto consume_Windows_Devices_Gpio_IGpioChangeReader::PeekNextItem() const { winrt::Windows::Devices::Gpio::GpioChangeRecord value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->PeekNextItem(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Gpio_IGpioChangeReader::GetAllItems() const + template auto consume_Windows_Devices_Gpio_IGpioChangeReader::GetAllItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->GetAllItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Gpio_IGpioChangeReader::WaitForItemsAsync(int32_t count) const + template auto consume_Windows_Devices_Gpio_IGpioChangeReader::WaitForItemsAsync(int32_t count) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->WaitForItemsAsync(count, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeReader) consume_Windows_Devices_Gpio_IGpioChangeReaderFactory::Create(winrt::Windows::Devices::Gpio::GpioPin const& pin) const + template auto consume_Windows_Devices_Gpio_IGpioChangeReaderFactory::Create(winrt::Windows::Devices::Gpio::GpioPin const& pin) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReaderFactory)->Create(*(void**)(&pin), &value)); return winrt::Windows::Devices::Gpio::GpioChangeReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeReader) consume_Windows_Devices_Gpio_IGpioChangeReaderFactory::CreateWithCapacity(winrt::Windows::Devices::Gpio::GpioPin const& pin, int32_t minCapacity) const + template auto consume_Windows_Devices_Gpio_IGpioChangeReaderFactory::CreateWithCapacity(winrt::Windows::Devices::Gpio::GpioPin const& pin, int32_t minCapacity) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReaderFactory)->CreateWithCapacity(*(void**)(&pin), minCapacity, &value)); return winrt::Windows::Devices::Gpio::GpioChangeReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Gpio_IGpioController::PinCount() const + template auto consume_Windows_Devices_Gpio_IGpioController::PinCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioController)->get_PinCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioPin) consume_Windows_Devices_Gpio_IGpioController::OpenPin(int32_t pinNumber) const + template auto consume_Windows_Devices_Gpio_IGpioController::OpenPin(int32_t pinNumber) const { void* pin{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioController)->OpenPin(pinNumber, &pin)); return winrt::Windows::Devices::Gpio::GpioPin{ pin, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioPin) consume_Windows_Devices_Gpio_IGpioController::OpenPin(int32_t pinNumber, winrt::Windows::Devices::Gpio::GpioSharingMode const& sharingMode) const + template auto consume_Windows_Devices_Gpio_IGpioController::OpenPin(int32_t pinNumber, winrt::Windows::Devices::Gpio::GpioSharingMode const& sharingMode) const { void* pin{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioController)->OpenPinWithSharingMode(pinNumber, static_cast(sharingMode), &pin)); return winrt::Windows::Devices::Gpio::GpioPin{ pin, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Gpio_IGpioController::TryOpenPin(int32_t pinNumber, winrt::Windows::Devices::Gpio::GpioSharingMode const& sharingMode, winrt::Windows::Devices::Gpio::GpioPin& pin, winrt::Windows::Devices::Gpio::GpioOpenStatus& openStatus) const + template auto consume_Windows_Devices_Gpio_IGpioController::TryOpenPin(int32_t pinNumber, winrt::Windows::Devices::Gpio::GpioSharingMode const& sharingMode, winrt::Windows::Devices::Gpio::GpioPin& pin, winrt::Windows::Devices::Gpio::GpioOpenStatus& openStatus) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioController)->TryOpenPin(pinNumber, static_cast(sharingMode), impl::bind_out(pin), reinterpret_cast(&openStatus), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioController) consume_Windows_Devices_Gpio_IGpioControllerStatics::GetDefault() const + template auto consume_Windows_Devices_Gpio_IGpioControllerStatics::GetDefault() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioControllerStatics)->GetDefault(&value)); return winrt::Windows::Devices::Gpio::GpioController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Gpio_IGpioControllerStatics2::GetControllersAsync(winrt::Windows::Devices::Gpio::Provider::IGpioProvider const& provider) const + template auto consume_Windows_Devices_Gpio_IGpioControllerStatics2::GetControllersAsync(winrt::Windows::Devices::Gpio::Provider::IGpioProvider const& provider) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioControllerStatics2)->GetControllersAsync(*(void**)(&provider), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Gpio_IGpioControllerStatics2::GetDefaultAsync() const + template auto consume_Windows_Devices_Gpio_IGpioControllerStatics2::GetDefaultAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioControllerStatics2)->GetDefaultAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Gpio_IGpioPin::ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Gpio_IGpioPin::ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->add_ValueChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Gpio_IGpioPin::ValueChanged_revoker consume_Windows_Devices_Gpio_IGpioPin::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Gpio_IGpioPin::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ValueChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioPin::ValueChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Gpio_IGpioPin::ValueChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->remove_ValueChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Gpio_IGpioPin::DebounceTimeout() const + template auto consume_Windows_Devices_Gpio_IGpioPin::DebounceTimeout() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->get_DebounceTimeout(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioPin::DebounceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Gpio_IGpioPin::DebounceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->put_DebounceTimeout(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Gpio_IGpioPin::PinNumber() const + template auto consume_Windows_Devices_Gpio_IGpioPin::PinNumber() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->get_PinNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioSharingMode) consume_Windows_Devices_Gpio_IGpioPin::SharingMode() const + template auto consume_Windows_Devices_Gpio_IGpioPin::SharingMode() const { winrt::Windows::Devices::Gpio::GpioSharingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->get_SharingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Gpio_IGpioPin::IsDriveModeSupported(winrt::Windows::Devices::Gpio::GpioPinDriveMode const& driveMode) const + template auto consume_Windows_Devices_Gpio_IGpioPin::IsDriveModeSupported(winrt::Windows::Devices::Gpio::GpioPinDriveMode const& driveMode) const { bool supported{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->IsDriveModeSupported(static_cast(driveMode), &supported)); return supported; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioPinDriveMode) consume_Windows_Devices_Gpio_IGpioPin::GetDriveMode() const + template auto consume_Windows_Devices_Gpio_IGpioPin::GetDriveMode() const { winrt::Windows::Devices::Gpio::GpioPinDriveMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->GetDriveMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioPin::SetDriveMode(winrt::Windows::Devices::Gpio::GpioPinDriveMode const& value) const + template auto consume_Windows_Devices_Gpio_IGpioPin::SetDriveMode(winrt::Windows::Devices::Gpio::GpioPinDriveMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->SetDriveMode(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioPin::Write(winrt::Windows::Devices::Gpio::GpioPinValue const& value) const + template auto consume_Windows_Devices_Gpio_IGpioPin::Write(winrt::Windows::Devices::Gpio::GpioPinValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->Write(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioPinValue) consume_Windows_Devices_Gpio_IGpioPin::Read() const + template auto consume_Windows_Devices_Gpio_IGpioPin::Read() const { winrt::Windows::Devices::Gpio::GpioPinValue value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->Read(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioPinEdge) consume_Windows_Devices_Gpio_IGpioPinValueChangedEventArgs::Edge() const + template auto consume_Windows_Devices_Gpio_IGpioPinValueChangedEventArgs::Edge() const { winrt::Windows::Devices::Gpio::GpioPinEdge value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPinValueChangedEventArgs)->get_Edge(reinterpret_cast(&value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Haptics.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Haptics.h index c66e0250..cdc1b1a2 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Haptics.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Haptics.h @@ -1,152 +1,152 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Haptics_H #define WINRT_Windows_Devices_Haptics_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Devices.Haptics.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics::Click() const + template auto consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics::Click() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IKnownSimpleHapticsControllerWaveformsStatics)->get_Click(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics::BuzzContinuous() const + template auto consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics::BuzzContinuous() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IKnownSimpleHapticsControllerWaveformsStatics)->get_BuzzContinuous(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics::RumbleContinuous() const + template auto consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics::RumbleContinuous() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IKnownSimpleHapticsControllerWaveformsStatics)->get_RumbleContinuous(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics::Press() const + template auto consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics::Press() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IKnownSimpleHapticsControllerWaveformsStatics)->get_Press(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics::Release() const + template auto consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics::Release() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IKnownSimpleHapticsControllerWaveformsStatics)->get_Release(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Haptics_ISimpleHapticsController::Id() const + template auto consume_Windows_Devices_Haptics_ISimpleHapticsController::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Haptics_ISimpleHapticsController::SupportedFeedback() const + template auto consume_Windows_Devices_Haptics_ISimpleHapticsController::SupportedFeedback() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->get_SupportedFeedback(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Haptics_ISimpleHapticsController::IsIntensitySupported() const + template auto consume_Windows_Devices_Haptics_ISimpleHapticsController::IsIntensitySupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->get_IsIntensitySupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Haptics_ISimpleHapticsController::IsPlayCountSupported() const + template auto consume_Windows_Devices_Haptics_ISimpleHapticsController::IsPlayCountSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->get_IsPlayCountSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Haptics_ISimpleHapticsController::IsPlayDurationSupported() const + template auto consume_Windows_Devices_Haptics_ISimpleHapticsController::IsPlayDurationSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->get_IsPlayDurationSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Haptics_ISimpleHapticsController::IsReplayPauseIntervalSupported() const + template auto consume_Windows_Devices_Haptics_ISimpleHapticsController::IsReplayPauseIntervalSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->get_IsReplayPauseIntervalSupported(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Haptics_ISimpleHapticsController::StopFeedback() const + template auto consume_Windows_Devices_Haptics_ISimpleHapticsController::StopFeedback() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->StopFeedback()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Haptics_ISimpleHapticsController::SendHapticFeedback(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback) const + template auto consume_Windows_Devices_Haptics_ISimpleHapticsController::SendHapticFeedback(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->SendHapticFeedback(*(void**)(&feedback))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Haptics_ISimpleHapticsController::SendHapticFeedback(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity) const + template auto consume_Windows_Devices_Haptics_ISimpleHapticsController::SendHapticFeedback(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->SendHapticFeedbackWithIntensity(*(void**)(&feedback), intensity)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Haptics_ISimpleHapticsController::SendHapticFeedbackForDuration(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity, winrt::Windows::Foundation::TimeSpan const& playDuration) const + template auto consume_Windows_Devices_Haptics_ISimpleHapticsController::SendHapticFeedbackForDuration(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity, winrt::Windows::Foundation::TimeSpan const& playDuration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->SendHapticFeedbackForDuration(*(void**)(&feedback), intensity, impl::bind_in(playDuration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Haptics_ISimpleHapticsController::SendHapticFeedbackForPlayCount(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity, int32_t playCount, winrt::Windows::Foundation::TimeSpan const& replayPauseInterval) const + template auto consume_Windows_Devices_Haptics_ISimpleHapticsController::SendHapticFeedbackForPlayCount(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity, int32_t playCount, winrt::Windows::Foundation::TimeSpan const& replayPauseInterval) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->SendHapticFeedbackForPlayCount(*(void**)(&feedback), intensity, playCount, impl::bind_in(replayPauseInterval))); } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Haptics_ISimpleHapticsControllerFeedback::Waveform() const + template auto consume_Windows_Devices_Haptics_ISimpleHapticsControllerFeedback::Waveform() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsControllerFeedback)->get_Waveform(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Haptics_ISimpleHapticsControllerFeedback::Duration() const + template auto consume_Windows_Devices_Haptics_ISimpleHapticsControllerFeedback::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsControllerFeedback)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Haptics_IVibrationDevice::Id() const + template auto consume_Windows_Devices_Haptics_IVibrationDevice::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IVibrationDevice)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_Devices_Haptics_IVibrationDevice::SimpleHapticsController() const + template auto consume_Windows_Devices_Haptics_IVibrationDevice::SimpleHapticsController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IVibrationDevice)->get_SimpleHapticsController(&value)); return winrt::Windows::Devices::Haptics::SimpleHapticsController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Haptics_IVibrationDeviceStatics::RequestAccessAsync() const + template auto consume_Windows_Devices_Haptics_IVibrationDeviceStatics::RequestAccessAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IVibrationDeviceStatics)->RequestAccessAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Haptics_IVibrationDeviceStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Haptics_IVibrationDeviceStatics::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IVibrationDeviceStatics)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Haptics_IVibrationDeviceStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Haptics_IVibrationDeviceStatics::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IVibrationDeviceStatics)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Haptics_IVibrationDeviceStatics::GetDefaultAsync() const + template auto consume_Windows_Devices_Haptics_IVibrationDeviceStatics::GetDefaultAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IVibrationDeviceStatics)->GetDefaultAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Haptics_IVibrationDeviceStatics::FindAllAsync() const + template auto consume_Windows_Devices_Haptics_IVibrationDeviceStatics::FindAllAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IVibrationDeviceStatics)->FindAllAsync(&operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.HumanInterfaceDevice.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.HumanInterfaceDevice.h index 8a8c1456..a93b4f99 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.HumanInterfaceDevice.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.HumanInterfaceDevice.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_HumanInterfaceDevice_H #define WINRT_Windows_Devices_HumanInterfaceDevice_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,515 +14,515 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.HumanInterfaceDevice.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl::Id() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControl)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl::UsagePage() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl::UsagePage() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControl)->get_UsagePage(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl::UsageId() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl::UsageId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControl)->get_UsageId(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl::IsActive() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl::IsActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControl)->get_IsActive(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl::IsActive(bool value) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl::IsActive(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControl)->put_IsActive(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl::ControlDescription() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl::ControlDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControl)->get_ControlDescription(&value)); return winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription::Id() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription::ReportId() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription::ReportId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription)->get_ReportId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription::ReportType() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription::ReportType() const { winrt::Windows::Devices::HumanInterfaceDevice::HidReportType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription)->get_ReportType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription::UsagePage() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription::UsagePage() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription)->get_UsagePage(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription::UsageId() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription::UsageId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription)->get_UsageId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription::ParentCollections() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription::ParentCollections() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription)->get_ParentCollections(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription2::IsAbsolute() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription2::IsAbsolute() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription2)->get_IsAbsolute(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidCollection::Id() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidCollection::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidCollection)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidCollectionType) consume_Windows_Devices_HumanInterfaceDevice_IHidCollection::Type() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidCollection::Type() const { winrt::Windows::Devices::HumanInterfaceDevice::HidCollectionType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidCollection)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidCollection::UsagePage() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidCollection::UsagePage() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidCollection)->get_UsagePage(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidCollection::UsageId() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidCollection::UsageId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidCollection)->get_UsageId(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::VendorId() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::VendorId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->get_VendorId(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::ProductId() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::ProductId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->get_ProductId(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::Version() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::Version() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->get_Version(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::UsagePage() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::UsagePage() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->get_UsagePage(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::UsageId() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::UsageId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->get_UsageId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::GetInputReportAsync() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::GetInputReportAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->GetInputReportAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::GetInputReportAsync(uint16_t reportId) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::GetInputReportAsync(uint16_t reportId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->GetInputReportByIdAsync(reportId, &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::GetFeatureReportAsync() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::GetFeatureReportAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->GetFeatureReportAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::GetFeatureReportAsync(uint16_t reportId) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::GetFeatureReportAsync(uint16_t reportId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->GetFeatureReportByIdAsync(reportId, &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidOutputReport) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::CreateOutputReport() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::CreateOutputReport() const { void* outputReport{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->CreateOutputReport(&outputReport)); return winrt::Windows::Devices::HumanInterfaceDevice::HidOutputReport{ outputReport, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidOutputReport) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::CreateOutputReport(uint16_t reportId) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::CreateOutputReport(uint16_t reportId) const { void* outputReport{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->CreateOutputReportById(reportId, &outputReport)); return winrt::Windows::Devices::HumanInterfaceDevice::HidOutputReport{ outputReport, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::CreateFeatureReport() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::CreateFeatureReport() const { void* featureReport{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->CreateFeatureReport(&featureReport)); return winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport{ featureReport, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::CreateFeatureReport(uint16_t reportId) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::CreateFeatureReport(uint16_t reportId) const { void* featureReport{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->CreateFeatureReportById(reportId, &featureReport)); return winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport{ featureReport, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::SendOutputReportAsync(winrt::Windows::Devices::HumanInterfaceDevice::HidOutputReport const& outputReport) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::SendOutputReportAsync(winrt::Windows::Devices::HumanInterfaceDevice::HidOutputReport const& outputReport) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->SendOutputReportAsync(*(void**)(&outputReport), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::SendFeatureReportAsync(winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport const& featureReport) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::SendFeatureReportAsync(winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport const& featureReport) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->SendFeatureReportAsync(*(void**)(&featureReport), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::GetBooleanControlDescriptions(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType const& reportType, uint16_t usagePage, uint16_t usageId) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::GetBooleanControlDescriptions(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType const& reportType, uint16_t usagePage, uint16_t usageId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->GetBooleanControlDescriptions(static_cast(reportType), usagePage, usageId, &value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::GetNumericControlDescriptions(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType const& reportType, uint16_t usagePage, uint16_t usageId) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::GetNumericControlDescriptions(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType const& reportType, uint16_t usagePage, uint16_t usageId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->GetNumericControlDescriptions(static_cast(reportType), usagePage, usageId, &value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::InputReportReceived(winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::InputReportReceived(winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->add_InputReportReceived(*(void**)(&reportHandler), put_abi(token))); return token; } - template typename consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::InputReportReceived_revoker consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::InputReportReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::InputReportReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const { return impl::make_event_revoker(this, InputReportReceived(reportHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::InputReportReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice::InputReportReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->remove_InputReportReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_HumanInterfaceDevice_IHidDeviceStatics::GetDeviceSelector(uint16_t usagePage, uint16_t usageId) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDeviceStatics::GetDeviceSelector(uint16_t usagePage, uint16_t usageId) const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDeviceStatics)->GetDeviceSelector(usagePage, usageId, &selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_HumanInterfaceDevice_IHidDeviceStatics::GetDeviceSelector(uint16_t usagePage, uint16_t usageId, uint16_t vendorId, uint16_t productId) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDeviceStatics::GetDeviceSelector(uint16_t usagePage, uint16_t usageId, uint16_t vendorId, uint16_t productId) const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDeviceStatics)->GetDeviceSelectorVidPid(usagePage, usageId, vendorId, productId, &selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_HumanInterfaceDevice_IHidDeviceStatics::FromIdAsync(param::hstring const& deviceId, winrt::Windows::Storage::FileAccessMode const& accessMode) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidDeviceStatics::FromIdAsync(param::hstring const& deviceId, winrt::Windows::Storage::FileAccessMode const& accessMode) const { void* hidDevice{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDeviceStatics)->FromIdAsync(*(void**)(&deviceId), static_cast(accessMode), &hidDevice)); return winrt::Windows::Foundation::IAsyncOperation{ hidDevice, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport::Id() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport::Id() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidFeatureReport)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport::Data() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidFeatureReport)->get_Data(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidFeatureReport)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport::GetBooleanControl(uint16_t usagePage, uint16_t usageId) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport::GetBooleanControl(uint16_t usagePage, uint16_t usageId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidFeatureReport)->GetBooleanControl(usagePage, usageId, &value)); return winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport::GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport::GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidFeatureReport)->GetBooleanControlByDescription(*(void**)(&controlDescription), &value)); return winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport::GetNumericControl(uint16_t usagePage, uint16_t usageId) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport::GetNumericControl(uint16_t usagePage, uint16_t usageId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidFeatureReport)->GetNumericControl(usagePage, usageId, &value)); return winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport::GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport::GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidFeatureReport)->GetNumericControlByDescription(*(void**)(&controlDescription), &value)); return winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport::Id() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport::Id() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReport)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport::Data() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReport)->get_Data(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport::ActivatedBooleanControls() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport::ActivatedBooleanControls() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReport)->get_ActivatedBooleanControls(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport::TransitionedBooleanControls() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport::TransitionedBooleanControls() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReport)->get_TransitionedBooleanControls(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport::GetBooleanControl(uint16_t usagePage, uint16_t usageId) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport::GetBooleanControl(uint16_t usagePage, uint16_t usageId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReport)->GetBooleanControl(usagePage, usageId, &value)); return winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport::GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport::GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReport)->GetBooleanControlByDescription(*(void**)(&controlDescription), &value)); return winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport::GetNumericControl(uint16_t usagePage, uint16_t usageId) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport::GetNumericControl(uint16_t usagePage, uint16_t usageId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReport)->GetNumericControl(usagePage, usageId, &value)); return winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport::GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport::GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReport)->GetNumericControlByDescription(*(void**)(&controlDescription), &value)); return winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidInputReport) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReportReceivedEventArgs::Report() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReportReceivedEventArgs::Report() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReportReceivedEventArgs)->get_Report(&value)); return winrt::Windows::Devices::HumanInterfaceDevice::HidInputReport{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::Id() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::IsGrouped() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::IsGrouped() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->get_IsGrouped(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::UsagePage() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::UsagePage() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->get_UsagePage(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::UsageId() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::UsageId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->get_UsageId(&value)); return value; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::Value() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::Value() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->get_Value(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::Value(int64_t value) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::Value(int64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->put_Value(value)); } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::ScaledValue() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::ScaledValue() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->get_ScaledValue(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::ScaledValue(int64_t value) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::ScaledValue(int64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->put_ScaledValue(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::ControlDescription() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl::ControlDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->get_ControlDescription(&value)); return winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::Id() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::ReportId() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::ReportId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_ReportId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::ReportType() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::ReportType() const { winrt::Windows::Devices::HumanInterfaceDevice::HidReportType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_ReportType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::ReportSize() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::ReportSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_ReportSize(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::ReportCount() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::ReportCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_ReportCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::UsagePage() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::UsagePage() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_UsagePage(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::UsageId() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::UsageId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_UsageId(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::LogicalMinimum() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::LogicalMinimum() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_LogicalMinimum(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::LogicalMaximum() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::LogicalMaximum() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_LogicalMaximum(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::PhysicalMinimum() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::PhysicalMinimum() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_PhysicalMinimum(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::PhysicalMaximum() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::PhysicalMaximum() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_PhysicalMaximum(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::UnitExponent() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::UnitExponent() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_UnitExponent(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::Unit() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::Unit() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_Unit(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::IsAbsolute() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::IsAbsolute() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_IsAbsolute(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::HasNull() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::HasNull() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_HasNull(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::ParentCollections() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription::ParentCollections() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_ParentCollections(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport::Id() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport::Id() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidOutputReport)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport::Data() const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidOutputReport)->get_Data(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidOutputReport)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport::GetBooleanControl(uint16_t usagePage, uint16_t usageId) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport::GetBooleanControl(uint16_t usagePage, uint16_t usageId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidOutputReport)->GetBooleanControl(usagePage, usageId, &value)); return winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport::GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport::GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidOutputReport)->GetBooleanControlByDescription(*(void**)(&controlDescription), &value)); return winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport::GetNumericControl(uint16_t usagePage, uint16_t usageId) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport::GetNumericControl(uint16_t usagePage, uint16_t usageId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidOutputReport)->GetNumericControl(usagePage, usageId, &value)); return winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport::GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const + template auto consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport::GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidOutputReport)->GetNumericControlByDescription(*(void**)(&controlDescription), &value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.I2c.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.I2c.Provider.h index 27a48fd6..c67ba6b7 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.I2c.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.I2c.Provider.h @@ -1,92 +1,92 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_I2c_Provider_H #define WINRT_Windows_Devices_I2c_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.I2c.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Devices.I2c.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::II2cDeviceProvider) consume_Windows_Devices_I2c_Provider_II2cControllerProvider::GetDeviceProvider(winrt::Windows::Devices::I2c::Provider::ProviderI2cConnectionSettings const& settings) const + template auto consume_Windows_Devices_I2c_Provider_II2cControllerProvider::GetDeviceProvider(winrt::Windows::Devices::I2c::Provider::ProviderI2cConnectionSettings const& settings) const { void* device{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::II2cControllerProvider)->GetDeviceProvider(*(void**)(&settings), &device)); return winrt::Windows::Devices::I2c::Provider::II2cDeviceProvider{ device, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_I2c_Provider_II2cDeviceProvider::DeviceId() const + template auto consume_Windows_Devices_I2c_Provider_II2cDeviceProvider::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::II2cDeviceProvider)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_Provider_II2cDeviceProvider::Write(array_view buffer) const + template auto consume_Windows_Devices_I2c_Provider_II2cDeviceProvider::Write(array_view buffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::II2cDeviceProvider)->Write(buffer.size(), get_abi(buffer))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferResult) consume_Windows_Devices_I2c_Provider_II2cDeviceProvider::WritePartial(array_view buffer) const + template auto consume_Windows_Devices_I2c_Provider_II2cDeviceProvider::WritePartial(array_view buffer) const { winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::II2cDeviceProvider)->WritePartial(buffer.size(), get_abi(buffer), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_Provider_II2cDeviceProvider::Read(array_view buffer) const + template auto consume_Windows_Devices_I2c_Provider_II2cDeviceProvider::Read(array_view buffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::II2cDeviceProvider)->Read(buffer.size(), put_abi(buffer))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferResult) consume_Windows_Devices_I2c_Provider_II2cDeviceProvider::ReadPartial(array_view buffer) const + template auto consume_Windows_Devices_I2c_Provider_II2cDeviceProvider::ReadPartial(array_view buffer) const { winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::II2cDeviceProvider)->ReadPartial(buffer.size(), put_abi(buffer), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_Provider_II2cDeviceProvider::WriteRead(array_view writeBuffer, array_view readBuffer) const + template auto consume_Windows_Devices_I2c_Provider_II2cDeviceProvider::WriteRead(array_view writeBuffer, array_view readBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::II2cDeviceProvider)->WriteRead(writeBuffer.size(), get_abi(writeBuffer), readBuffer.size(), put_abi(readBuffer))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferResult) consume_Windows_Devices_I2c_Provider_II2cDeviceProvider::WriteReadPartial(array_view writeBuffer, array_view readBuffer) const + template auto consume_Windows_Devices_I2c_Provider_II2cDeviceProvider::WriteReadPartial(array_view writeBuffer, array_view readBuffer) const { winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::II2cDeviceProvider)->WriteReadPartial(writeBuffer.size(), get_abi(writeBuffer), readBuffer.size(), put_abi(readBuffer), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_I2c_Provider_II2cProvider::GetControllersAsync() const + template auto consume_Windows_Devices_I2c_Provider_II2cProvider::GetControllersAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::II2cProvider)->GetControllersAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings::SlaveAddress() const + template auto consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings::SlaveAddress() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::IProviderI2cConnectionSettings)->get_SlaveAddress(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings::SlaveAddress(int32_t value) const + template auto consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings::SlaveAddress(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::IProviderI2cConnectionSettings)->put_SlaveAddress(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cBusSpeed) consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings::BusSpeed() const + template auto consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings::BusSpeed() const { winrt::Windows::Devices::I2c::Provider::ProviderI2cBusSpeed value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::IProviderI2cConnectionSettings)->get_BusSpeed(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings::BusSpeed(winrt::Windows::Devices::I2c::Provider::ProviderI2cBusSpeed const& value) const + template auto consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings::BusSpeed(winrt::Windows::Devices::I2c::Provider::ProviderI2cBusSpeed const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::IProviderI2cConnectionSettings)->put_BusSpeed(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cSharingMode) consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings::SharingMode() const + template auto consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings::SharingMode() const { winrt::Windows::Devices::I2c::Provider::ProviderI2cSharingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::IProviderI2cConnectionSettings)->get_SharingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings::SharingMode(winrt::Windows::Devices::I2c::Provider::ProviderI2cSharingMode const& value) const + template auto consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings::SharingMode(winrt::Windows::Devices::I2c::Provider::ProviderI2cSharingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::IProviderI2cConnectionSettings)->put_SharingMode(static_cast(value))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.I2c.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.I2c.h index 135e403b..09a2d333 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.I2c.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.I2c.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_I2c_H #define WINRT_Windows_Devices_I2c_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Devices.I2c.Provider.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,115 +13,115 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.I2c.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_I2c_II2cConnectionSettings::SlaveAddress() const + template auto consume_Windows_Devices_I2c_II2cConnectionSettings::SlaveAddress() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cConnectionSettings)->get_SlaveAddress(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_II2cConnectionSettings::SlaveAddress(int32_t value) const + template auto consume_Windows_Devices_I2c_II2cConnectionSettings::SlaveAddress(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cConnectionSettings)->put_SlaveAddress(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cBusSpeed) consume_Windows_Devices_I2c_II2cConnectionSettings::BusSpeed() const + template auto consume_Windows_Devices_I2c_II2cConnectionSettings::BusSpeed() const { winrt::Windows::Devices::I2c::I2cBusSpeed value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cConnectionSettings)->get_BusSpeed(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_II2cConnectionSettings::BusSpeed(winrt::Windows::Devices::I2c::I2cBusSpeed const& value) const + template auto consume_Windows_Devices_I2c_II2cConnectionSettings::BusSpeed(winrt::Windows::Devices::I2c::I2cBusSpeed const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cConnectionSettings)->put_BusSpeed(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cSharingMode) consume_Windows_Devices_I2c_II2cConnectionSettings::SharingMode() const + template auto consume_Windows_Devices_I2c_II2cConnectionSettings::SharingMode() const { winrt::Windows::Devices::I2c::I2cSharingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cConnectionSettings)->get_SharingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_II2cConnectionSettings::SharingMode(winrt::Windows::Devices::I2c::I2cSharingMode const& value) const + template auto consume_Windows_Devices_I2c_II2cConnectionSettings::SharingMode(winrt::Windows::Devices::I2c::I2cSharingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cConnectionSettings)->put_SharingMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cConnectionSettings) consume_Windows_Devices_I2c_II2cConnectionSettingsFactory::Create(int32_t slaveAddress) const + template auto consume_Windows_Devices_I2c_II2cConnectionSettingsFactory::Create(int32_t slaveAddress) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cConnectionSettingsFactory)->Create(slaveAddress, &value)); return winrt::Windows::Devices::I2c::I2cConnectionSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cDevice) consume_Windows_Devices_I2c_II2cController::GetDevice(winrt::Windows::Devices::I2c::I2cConnectionSettings const& settings) const + template auto consume_Windows_Devices_I2c_II2cController::GetDevice(winrt::Windows::Devices::I2c::I2cConnectionSettings const& settings) const { void* device{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cController)->GetDevice(*(void**)(&settings), &device)); return winrt::Windows::Devices::I2c::I2cDevice{ device, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_I2c_II2cControllerStatics::GetControllersAsync(winrt::Windows::Devices::I2c::Provider::II2cProvider const& provider) const + template auto consume_Windows_Devices_I2c_II2cControllerStatics::GetControllersAsync(winrt::Windows::Devices::I2c::Provider::II2cProvider const& provider) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cControllerStatics)->GetControllersAsync(*(void**)(&provider), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_I2c_II2cControllerStatics::GetDefaultAsync() const + template auto consume_Windows_Devices_I2c_II2cControllerStatics::GetDefaultAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cControllerStatics)->GetDefaultAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_I2c_II2cDevice::DeviceId() const + template auto consume_Windows_Devices_I2c_II2cDevice::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cDevice)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cConnectionSettings) consume_Windows_Devices_I2c_II2cDevice::ConnectionSettings() const + template auto consume_Windows_Devices_I2c_II2cDevice::ConnectionSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cDevice)->get_ConnectionSettings(&value)); return winrt::Windows::Devices::I2c::I2cConnectionSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_II2cDevice::Write(array_view buffer) const + template auto consume_Windows_Devices_I2c_II2cDevice::Write(array_view buffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cDevice)->Write(buffer.size(), get_abi(buffer))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cTransferResult) consume_Windows_Devices_I2c_II2cDevice::WritePartial(array_view buffer) const + template auto consume_Windows_Devices_I2c_II2cDevice::WritePartial(array_view buffer) const { winrt::Windows::Devices::I2c::I2cTransferResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cDevice)->WritePartial(buffer.size(), get_abi(buffer), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_II2cDevice::Read(array_view buffer) const + template auto consume_Windows_Devices_I2c_II2cDevice::Read(array_view buffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cDevice)->Read(buffer.size(), put_abi(buffer))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cTransferResult) consume_Windows_Devices_I2c_II2cDevice::ReadPartial(array_view buffer) const + template auto consume_Windows_Devices_I2c_II2cDevice::ReadPartial(array_view buffer) const { winrt::Windows::Devices::I2c::I2cTransferResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cDevice)->ReadPartial(buffer.size(), put_abi(buffer), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_II2cDevice::WriteRead(array_view writeBuffer, array_view readBuffer) const + template auto consume_Windows_Devices_I2c_II2cDevice::WriteRead(array_view writeBuffer, array_view readBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cDevice)->WriteRead(writeBuffer.size(), get_abi(writeBuffer), readBuffer.size(), put_abi(readBuffer))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cTransferResult) consume_Windows_Devices_I2c_II2cDevice::WriteReadPartial(array_view writeBuffer, array_view readBuffer) const + template auto consume_Windows_Devices_I2c_II2cDevice::WriteReadPartial(array_view writeBuffer, array_view readBuffer) const { winrt::Windows::Devices::I2c::I2cTransferResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cDevice)->WriteReadPartial(writeBuffer.size(), get_abi(writeBuffer), readBuffer.size(), put_abi(readBuffer), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_I2c_II2cDeviceStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_I2c_II2cDeviceStatics::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cDeviceStatics)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_I2c_II2cDeviceStatics::GetDeviceSelector(param::hstring const& friendlyName) const + template auto consume_Windows_Devices_I2c_II2cDeviceStatics::GetDeviceSelector(param::hstring const& friendlyName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cDeviceStatics)->GetDeviceSelectorFromFriendlyName(*(void**)(&friendlyName), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_I2c_II2cDeviceStatics::FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::I2c::I2cConnectionSettings const& settings) const + template auto consume_Windows_Devices_I2c_II2cDeviceStatics::FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::I2c::I2cConnectionSettings const& settings) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cDeviceStatics)->FromIdAsync(*(void**)(&deviceId), *(void**)(&settings), &operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Input.Preview.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Input.Preview.h index f4da9f3a..05cc658a 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Input.Preview.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Input.Preview.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Input_Preview_H #define WINRT_Windows_Devices_Input_Preview_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.Input.h" #include "winrt/impl/Windows.Devices.HumanInterfaceDevice.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,263 +13,263 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Input.Preview.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Input_Preview_IGazeDevicePreview::Id() const + template auto consume_Windows_Devices_Input_Preview_IGazeDevicePreview::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDevicePreview)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Input_Preview_IGazeDevicePreview::CanTrackEyes() const + template auto consume_Windows_Devices_Input_Preview_IGazeDevicePreview::CanTrackEyes() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDevicePreview)->get_CanTrackEyes(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Input_Preview_IGazeDevicePreview::CanTrackHead() const + template auto consume_Windows_Devices_Input_Preview_IGazeDevicePreview::CanTrackHead() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDevicePreview)->get_CanTrackHead(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDeviceConfigurationStatePreview) consume_Windows_Devices_Input_Preview_IGazeDevicePreview::ConfigurationState() const + template auto consume_Windows_Devices_Input_Preview_IGazeDevicePreview::ConfigurationState() const { winrt::Windows::Devices::Input::Preview::GazeDeviceConfigurationStatePreview value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDevicePreview)->get_ConfigurationState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Input_Preview_IGazeDevicePreview::RequestCalibrationAsync() const + template auto consume_Windows_Devices_Input_Preview_IGazeDevicePreview::RequestCalibrationAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDevicePreview)->RequestCalibrationAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Input_Preview_IGazeDevicePreview::GetNumericControlDescriptions(uint16_t usagePage, uint16_t usageId) const + template auto consume_Windows_Devices_Input_Preview_IGazeDevicePreview::GetNumericControlDescriptions(uint16_t usagePage, uint16_t usageId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDevicePreview)->GetNumericControlDescriptions(usagePage, usageId, &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Input_Preview_IGazeDevicePreview::GetBooleanControlDescriptions(uint16_t usagePage, uint16_t usageId) const + template auto consume_Windows_Devices_Input_Preview_IGazeDevicePreview::GetBooleanControlDescriptions(uint16_t usagePage, uint16_t usageId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDevicePreview)->GetBooleanControlDescriptions(usagePage, usageId, &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDevicePreview) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherAddedPreviewEventArgs::Device() const + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherAddedPreviewEventArgs::Device() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherAddedPreviewEventArgs)->get_Device(&value)); return winrt::Windows::Devices::Input::Preview::GazeDevicePreview{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview)->add_Added(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Added_revoker consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Added(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Added(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Added(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview)->remove_Added(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview)->add_Removed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Removed_revoker consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Removed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Removed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Removed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview)->remove_Removed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview)->add_Updated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Updated_revoker consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Updated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Updated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Updated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview)->remove_Updated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::EnumerationCompleted_revoker consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::EnumerationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview)->remove_EnumerationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Start() const + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Stop() const + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDevicePreview) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherRemovedPreviewEventArgs::Device() const + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherRemovedPreviewEventArgs::Device() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherRemovedPreviewEventArgs)->get_Device(&value)); return winrt::Windows::Devices::Input::Preview::GazeDevicePreview{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDevicePreview) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherUpdatedPreviewEventArgs::Device() const + template auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherUpdatedPreviewEventArgs::Device() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherUpdatedPreviewEventArgs)->get_Device(&value)); return winrt::Windows::Devices::Input::Preview::GazeDevicePreview{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Input_Preview_IGazeEnteredPreviewEventArgs::Handled() const + template auto consume_Windows_Devices_Input_Preview_IGazeEnteredPreviewEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeEnteredPreviewEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeEnteredPreviewEventArgs::Handled(bool value) const + template auto consume_Windows_Devices_Input_Preview_IGazeEnteredPreviewEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeEnteredPreviewEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazePointPreview) consume_Windows_Devices_Input_Preview_IGazeEnteredPreviewEventArgs::CurrentPoint() const + template auto consume_Windows_Devices_Input_Preview_IGazeEnteredPreviewEventArgs::CurrentPoint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeEnteredPreviewEventArgs)->get_CurrentPoint(&value)); return winrt::Windows::Devices::Input::Preview::GazePointPreview{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Input_Preview_IGazeExitedPreviewEventArgs::Handled() const + template auto consume_Windows_Devices_Input_Preview_IGazeExitedPreviewEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeExitedPreviewEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeExitedPreviewEventArgs::Handled(bool value) const + template auto consume_Windows_Devices_Input_Preview_IGazeExitedPreviewEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeExitedPreviewEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazePointPreview) consume_Windows_Devices_Input_Preview_IGazeExitedPreviewEventArgs::CurrentPoint() const + template auto consume_Windows_Devices_Input_Preview_IGazeExitedPreviewEventArgs::CurrentPoint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeExitedPreviewEventArgs)->get_CurrentPoint(&value)); return winrt::Windows::Devices::Input::Preview::GazePointPreview{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview)->add_GazeMoved(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeMoved_revoker consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, GazeMoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeMoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeMoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview)->remove_GazeMoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview)->add_GazeEntered(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeEntered_revoker consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, GazeEntered(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeEntered(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeEntered(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview)->remove_GazeEntered(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview)->add_GazeExited(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeExited_revoker consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, GazeExited(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeExited(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview::GazeExited(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview)->remove_GazeExited(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview) consume_Windows_Devices_Input_Preview_IGazeInputSourcePreviewStatics::GetForCurrentView() const + template auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreviewStatics::GetForCurrentView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreviewStatics)->GetForCurrentView(&result)); return winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview) consume_Windows_Devices_Input_Preview_IGazeInputSourcePreviewStatics::CreateWatcher() const + template auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreviewStatics::CreateWatcher() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreviewStatics)->CreateWatcher(&result)); return winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs::Handled() const + template auto consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeMovedPreviewEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs::Handled(bool value) const + template auto consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeMovedPreviewEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazePointPreview) consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs::CurrentPoint() const + template auto consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs::CurrentPoint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeMovedPreviewEventArgs)->get_CurrentPoint(&value)); return winrt::Windows::Devices::Input::Preview::GazePointPreview{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs::GetIntermediatePoints() const + template auto consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs::GetIntermediatePoints() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeMovedPreviewEventArgs)->GetIntermediatePoints(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDevicePreview) consume_Windows_Devices_Input_Preview_IGazePointPreview::SourceDevice() const + template auto consume_Windows_Devices_Input_Preview_IGazePointPreview::SourceDevice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazePointPreview)->get_SourceDevice(&value)); return winrt::Windows::Devices::Input::Preview::GazeDevicePreview{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Input_Preview_IGazePointPreview::EyeGazePosition() const + template auto consume_Windows_Devices_Input_Preview_IGazePointPreview::EyeGazePosition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazePointPreview)->get_EyeGazePosition(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Input_Preview_IGazePointPreview::HeadGazePosition() const + template auto consume_Windows_Devices_Input_Preview_IGazePointPreview::HeadGazePosition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazePointPreview)->get_HeadGazePosition(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Devices_Input_Preview_IGazePointPreview::Timestamp() const + template auto consume_Windows_Devices_Input_Preview_IGazePointPreview::Timestamp() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazePointPreview)->get_Timestamp(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidInputReport) consume_Windows_Devices_Input_Preview_IGazePointPreview::HidInputReport() const + template auto consume_Windows_Devices_Input_Preview_IGazePointPreview::HidInputReport() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazePointPreview)->get_HidInputReport(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Input.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Input.h index 3c0dc919..d848ba39 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Input.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Input.h @@ -1,274 +1,274 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Input_H #define WINRT_Windows_Devices_Input_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Devices.Input.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Input_IKeyboardCapabilities::KeyboardPresent() const + template auto consume_Windows_Devices_Input_IKeyboardCapabilities::KeyboardPresent() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IKeyboardCapabilities)->get_KeyboardPresent(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Input_IMouseCapabilities::MousePresent() const + template auto consume_Windows_Devices_Input_IMouseCapabilities::MousePresent() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IMouseCapabilities)->get_MousePresent(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Input_IMouseCapabilities::VerticalWheelPresent() const + template auto consume_Windows_Devices_Input_IMouseCapabilities::VerticalWheelPresent() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IMouseCapabilities)->get_VerticalWheelPresent(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Input_IMouseCapabilities::HorizontalWheelPresent() const + template auto consume_Windows_Devices_Input_IMouseCapabilities::HorizontalWheelPresent() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IMouseCapabilities)->get_HorizontalWheelPresent(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Input_IMouseCapabilities::SwapButtons() const + template auto consume_Windows_Devices_Input_IMouseCapabilities::SwapButtons() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IMouseCapabilities)->get_SwapButtons(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Input_IMouseCapabilities::NumberOfButtons() const + template auto consume_Windows_Devices_Input_IMouseCapabilities::NumberOfButtons() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IMouseCapabilities)->get_NumberOfButtons(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_IMouseDevice::MouseMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_IMouseDevice::MouseMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IMouseDevice)->add_MouseMoved(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Devices_Input_IMouseDevice::MouseMoved_revoker consume_Windows_Devices_Input_IMouseDevice::MouseMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_IMouseDevice::MouseMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MouseMoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_IMouseDevice::MouseMoved(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Devices_Input_IMouseDevice::MouseMoved(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IMouseDevice)->remove_MouseMoved(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::MouseDevice) consume_Windows_Devices_Input_IMouseDeviceStatics::GetForCurrentView() const + template auto consume_Windows_Devices_Input_IMouseDeviceStatics::GetForCurrentView() const { void* mouseDevice{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IMouseDeviceStatics)->GetForCurrentView(&mouseDevice)); return winrt::Windows::Devices::Input::MouseDevice{ mouseDevice, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::MouseDelta) consume_Windows_Devices_Input_IMouseEventArgs::MouseDelta() const + template auto consume_Windows_Devices_Input_IMouseEventArgs::MouseDelta() const { winrt::Windows::Devices::Input::MouseDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IMouseEventArgs)->get_MouseDelta(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Input_IPenButtonListener::IsSupported() const + template auto consume_Windows_Devices_Input_IPenButtonListener::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenButtonListener)->IsSupported(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_IPenButtonListener::IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_IPenButtonListener::IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenButtonListener)->add_IsSupportedChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Input_IPenButtonListener::IsSupportedChanged_revoker consume_Windows_Devices_Input_IPenButtonListener::IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_IPenButtonListener::IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsSupportedChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_IPenButtonListener::IsSupportedChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Input_IPenButtonListener::IsSupportedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenButtonListener)->remove_IsSupportedChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_IPenButtonListener::TailButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_IPenButtonListener::TailButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenButtonListener)->add_TailButtonClicked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Input_IPenButtonListener::TailButtonClicked_revoker consume_Windows_Devices_Input_IPenButtonListener::TailButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_IPenButtonListener::TailButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TailButtonClicked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_IPenButtonListener::TailButtonClicked(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Input_IPenButtonListener::TailButtonClicked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenButtonListener)->remove_TailButtonClicked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_IPenButtonListener::TailButtonDoubleClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_IPenButtonListener::TailButtonDoubleClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenButtonListener)->add_TailButtonDoubleClicked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Input_IPenButtonListener::TailButtonDoubleClicked_revoker consume_Windows_Devices_Input_IPenButtonListener::TailButtonDoubleClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_IPenButtonListener::TailButtonDoubleClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TailButtonDoubleClicked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_IPenButtonListener::TailButtonDoubleClicked(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Input_IPenButtonListener::TailButtonDoubleClicked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenButtonListener)->remove_TailButtonDoubleClicked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_IPenButtonListener::TailButtonLongPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_IPenButtonListener::TailButtonLongPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenButtonListener)->add_TailButtonLongPressed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Input_IPenButtonListener::TailButtonLongPressed_revoker consume_Windows_Devices_Input_IPenButtonListener::TailButtonLongPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_IPenButtonListener::TailButtonLongPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TailButtonLongPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_IPenButtonListener::TailButtonLongPressed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Input_IPenButtonListener::TailButtonLongPressed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenButtonListener)->remove_TailButtonLongPressed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PenButtonListener) consume_Windows_Devices_Input_IPenButtonListenerStatics::GetDefault() const + template auto consume_Windows_Devices_Input_IPenButtonListenerStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenButtonListenerStatics)->GetDefault(&result)); return winrt::Windows::Devices::Input::PenButtonListener{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Input_IPenDevice::PenId() const + template auto consume_Windows_Devices_Input_IPenDevice::PenId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenDevice)->get_PenId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PenDevice) consume_Windows_Devices_Input_IPenDeviceStatics::GetFromPointerId(uint32_t pointerId) const + template auto consume_Windows_Devices_Input_IPenDeviceStatics::GetFromPointerId(uint32_t pointerId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenDeviceStatics)->GetFromPointerId(pointerId, &result)); return winrt::Windows::Devices::Input::PenDevice{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Input_IPenDockListener::IsSupported() const + template auto consume_Windows_Devices_Input_IPenDockListener::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenDockListener)->IsSupported(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_IPenDockListener::IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_IPenDockListener::IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenDockListener)->add_IsSupportedChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Input_IPenDockListener::IsSupportedChanged_revoker consume_Windows_Devices_Input_IPenDockListener::IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_IPenDockListener::IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsSupportedChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_IPenDockListener::IsSupportedChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Input_IPenDockListener::IsSupportedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenDockListener)->remove_IsSupportedChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_IPenDockListener::Docked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_IPenDockListener::Docked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenDockListener)->add_Docked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Input_IPenDockListener::Docked_revoker consume_Windows_Devices_Input_IPenDockListener::Docked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_IPenDockListener::Docked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Docked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_IPenDockListener::Docked(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Input_IPenDockListener::Docked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenDockListener)->remove_Docked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_IPenDockListener::Undocked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_IPenDockListener::Undocked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenDockListener)->add_Undocked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Input_IPenDockListener::Undocked_revoker consume_Windows_Devices_Input_IPenDockListener::Undocked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Input_IPenDockListener::Undocked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Undocked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_IPenDockListener::Undocked(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Input_IPenDockListener::Undocked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenDockListener)->remove_Undocked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PenDockListener) consume_Windows_Devices_Input_IPenDockListenerStatics::GetDefault() const + template auto consume_Windows_Devices_Input_IPenDockListenerStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenDockListenerStatics)->GetDefault(&result)); return winrt::Windows::Devices::Input::PenDockListener{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_Devices_Input_IPointerDevice::PointerDeviceType() const + template auto consume_Windows_Devices_Input_IPointerDevice::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPointerDevice)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Input_IPointerDevice::IsIntegrated() const + template auto consume_Windows_Devices_Input_IPointerDevice::IsIntegrated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPointerDevice)->get_IsIntegrated(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Input_IPointerDevice::MaxContacts() const + template auto consume_Windows_Devices_Input_IPointerDevice::MaxContacts() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPointerDevice)->get_MaxContacts(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Devices_Input_IPointerDevice::PhysicalDeviceRect() const + template auto consume_Windows_Devices_Input_IPointerDevice::PhysicalDeviceRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPointerDevice)->get_PhysicalDeviceRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Devices_Input_IPointerDevice::ScreenRect() const + template auto consume_Windows_Devices_Input_IPointerDevice::ScreenRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPointerDevice)->get_ScreenRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Input_IPointerDevice::SupportedUsages() const + template auto consume_Windows_Devices_Input_IPointerDevice::SupportedUsages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPointerDevice)->get_SupportedUsages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Input_IPointerDevice2::MaxPointersWithZDistance() const + template auto consume_Windows_Devices_Input_IPointerDevice2::MaxPointersWithZDistance() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPointerDevice2)->get_MaxPointersWithZDistance(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDevice) consume_Windows_Devices_Input_IPointerDeviceStatics::GetPointerDevice(uint32_t pointerId) const + template auto consume_Windows_Devices_Input_IPointerDeviceStatics::GetPointerDevice(uint32_t pointerId) const { void* pointerDevice{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPointerDeviceStatics)->GetPointerDevice(pointerId, &pointerDevice)); return winrt::Windows::Devices::Input::PointerDevice{ pointerDevice, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Input_IPointerDeviceStatics::GetPointerDevices() const + template auto consume_Windows_Devices_Input_IPointerDeviceStatics::GetPointerDevices() const { void* pointerDevices{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPointerDeviceStatics)->GetPointerDevices(&pointerDevices)); return winrt::Windows::Foundation::Collections::IVectorView{ pointerDevices, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Input_ITouchCapabilities::TouchPresent() const + template auto consume_Windows_Devices_Input_ITouchCapabilities::TouchPresent() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::ITouchCapabilities)->get_TouchPresent(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Input_ITouchCapabilities::Contacts() const + template auto consume_Windows_Devices_Input_ITouchCapabilities::Contacts() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::ITouchCapabilities)->get_Contacts(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Lights.Effects.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Lights.Effects.h index 98dd9e0f..c308c14a 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Lights.Effects.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Lights.Effects.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Lights_Effects_H #define WINRT_Windows_Devices_Lights_Effects_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.Lights.h" #include "winrt/impl/Windows.Devices.Lights.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -15,381 +15,381 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Lights.Effects.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::Duration() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::Duration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::Duration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->put_Duration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::StartDelay() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::StartDelay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->get_StartDelay(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->put_StartDelay(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::UpdateInterval() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::UpdateInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->get_UpdateInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::UpdateInterval(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::UpdateInterval(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->put_UpdateInterval(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::SuggestedBitmapSize() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::SuggestedBitmapSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->get_SuggestedBitmapSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::BitmapRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::BitmapRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->add_BitmapRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::BitmapRequested_revoker consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BitmapRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::BitmapRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect::BitmapRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->remove_BitmapRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayBitmapEffect) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffectFactory::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffectFactory::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffectFactory)->CreateInstance(*(void**)(&lampArray), lampIndexes.size(), get_abi(lampIndexes), &value)); return winrt::Windows::Devices::Lights::Effects::LampArrayBitmapEffect{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapRequestedEventArgs::SinceStarted() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapRequestedEventArgs::SinceStarted() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapRequestedEventArgs)->get_SinceStarted(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapRequestedEventArgs::UpdateBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapRequestedEventArgs::UpdateBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapRequestedEventArgs)->UpdateBitmap(*(void**)(&bitmap))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::Color() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::AttackDuration() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::AttackDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_AttackDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::AttackDuration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::AttackDuration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_AttackDuration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::SustainDuration() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::SustainDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_SustainDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::SustainDuration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::SustainDuration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_SustainDuration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::DecayDuration() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::DecayDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_DecayDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::DecayDuration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::DecayDuration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_DecayDuration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::RepetitionDelay() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::RepetitionDelay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_RepetitionDelay(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::RepetitionDelay(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::RepetitionDelay(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_RepetitionDelay(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::StartDelay() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::StartDelay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_StartDelay(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_StartDelay(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::Occurrences() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::Occurrences() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_Occurrences(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::Occurrences(int32_t value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::Occurrences(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_Occurrences(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::RepetitionMode() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::RepetitionMode() const { winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_RepetitionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::RepetitionMode(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect::RepetitionMode(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_RepetitionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayBlinkEffect) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffectFactory::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffectFactory::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffectFactory)->CreateInstance(*(void**)(&lampArray), lampIndexes.size(), get_abi(lampIndexes), &value)); return winrt::Windows::Devices::Lights::Effects::LampArrayBlinkEffect{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::Color() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::RampDuration() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::RampDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->get_RampDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::RampDuration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::RampDuration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->put_RampDuration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::StartDelay() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::StartDelay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->get_StartDelay(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->put_StartDelay(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::CompletionBehavior() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::CompletionBehavior() const { winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->get_CompletionBehavior(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::CompletionBehavior(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect::CompletionBehavior(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->put_CompletionBehavior(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayColorRampEffect) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffectFactory::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffectFactory::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffectFactory)->CreateInstance(*(void**)(&lampArray), lampIndexes.size(), get_abi(lampIndexes), &value)); return winrt::Windows::Devices::Lights::Effects::LampArrayColorRampEffect{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::Duration() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::Duration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::Duration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect)->put_Duration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::UpdateInterval() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::UpdateInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect)->get_UpdateInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::UpdateInterval(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::UpdateInterval(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect)->put_UpdateInterval(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::UpdateRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::UpdateRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect)->add_UpdateRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::UpdateRequested_revoker consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::UpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::UpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UpdateRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::UpdateRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect::UpdateRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect)->remove_UpdateRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayCustomEffect) consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffectFactory::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffectFactory::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffectFactory)->CreateInstance(*(void**)(&lampArray), lampIndexes.size(), get_abi(lampIndexes), &value)); return winrt::Windows::Devices::Lights::Effects::LampArrayCustomEffect{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_Effects_ILampArrayEffect::ZIndex() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffect::ZIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffect)->get_ZIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffect::ZIndex(int32_t value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffect::ZIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffect)->put_ZIndex(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Append(winrt::Windows::Devices::Lights::Effects::ILampArrayEffect const& effect) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Append(winrt::Windows::Devices::Lights::Effects::ILampArrayEffect const& effect) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->Append(*(void**)(&effect))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::OverrideZIndex(int32_t zIndex) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::OverrideZIndex(int32_t zIndex) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->OverrideZIndex(zIndex)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Start() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Stop() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->Stop()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Pause() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->Pause()); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayEffectStartMode) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::EffectStartMode() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::EffectStartMode() const { winrt::Windows::Devices::Lights::Effects::LampArrayEffectStartMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->get_EffectStartMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::EffectStartMode(winrt::Windows::Devices::Lights::Effects::LampArrayEffectStartMode const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::EffectStartMode(winrt::Windows::Devices::Lights::Effects::LampArrayEffectStartMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->put_EffectStartMode(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Occurrences() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Occurrences() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->get_Occurrences(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Occurrences(int32_t value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::Occurrences(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->put_Occurrences(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::RepetitionMode() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::RepetitionMode() const { winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->get_RepetitionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::RepetitionMode(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist::RepetitionMode(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->put_RepetitionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics::StartAll(param::iterable const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics::StartAll(param::iterable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylistStatics)->StartAll(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics::StopAll(param::iterable const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics::StopAll(param::iterable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylistStatics)->StopAll(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics::PauseAll(param::iterable const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics::PauseAll(param::iterable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylistStatics)->PauseAll(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::Color() const + template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::Duration() const + template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::Duration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::Duration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->put_Duration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::StartDelay() const + template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::StartDelay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->get_StartDelay(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->put_StartDelay(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::CompletionBehavior() const + template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::CompletionBehavior() const { winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->get_CompletionBehavior(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::CompletionBehavior(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior const& value) const + template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect::CompletionBehavior(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->put_CompletionBehavior(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArraySolidEffect) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffectFactory::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const + template auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffectFactory::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffectFactory)->CreateInstance(*(void**)(&lampArray), lampIndexes.size(), get_abi(lampIndexes), &value)); return winrt::Windows::Devices::Lights::Effects::LampArraySolidEffect{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs::SinceStarted() const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs::SinceStarted() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayUpdateRequestedEventArgs)->get_SinceStarted(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs::SetColor(winrt::Windows::UI::Color const& desiredColor) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs::SetColor(winrt::Windows::UI::Color const& desiredColor) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayUpdateRequestedEventArgs)->SetColor(impl::bind_in(desiredColor))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs::SetColorForIndex(int32_t lampIndex, winrt::Windows::UI::Color const& desiredColor) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs::SetColorForIndex(int32_t lampIndex, winrt::Windows::UI::Color const& desiredColor) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayUpdateRequestedEventArgs)->SetColorForIndex(lampIndex, impl::bind_in(desiredColor))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs::SetSingleColorForIndices(winrt::Windows::UI::Color const& desiredColor, array_view lampIndexes) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs::SetSingleColorForIndices(winrt::Windows::UI::Color const& desiredColor, array_view lampIndexes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayUpdateRequestedEventArgs)->SetSingleColorForIndices(impl::bind_in(desiredColor), lampIndexes.size(), get_abi(lampIndexes))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs::SetColorsForIndices(array_view desiredColors, array_view lampIndexes) const + template auto consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs::SetColorsForIndices(array_view desiredColors, array_view lampIndexes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayUpdateRequestedEventArgs)->SetColorsForIndices(desiredColors.size(), get_abi(desiredColors), lampIndexes.size(), get_abi(lampIndexes))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Lights.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Lights.h index cb99c385..b8fecc02 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Lights.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Lights.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Lights_H #define WINRT_Windows_Devices_Lights_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Numerics.2.h" @@ -15,293 +15,293 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Lights.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Lights_ILamp::DeviceId() const + template auto consume_Windows_Devices_Lights_ILamp::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILamp)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Lights_ILamp::IsEnabled() const + template auto consume_Windows_Devices_Lights_ILamp::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILamp)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILamp::IsEnabled(bool value) const + template auto consume_Windows_Devices_Lights_ILamp::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILamp)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Lights_ILamp::BrightnessLevel() const + template auto consume_Windows_Devices_Lights_ILamp::BrightnessLevel() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILamp)->get_BrightnessLevel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILamp::BrightnessLevel(float value) const + template auto consume_Windows_Devices_Lights_ILamp::BrightnessLevel(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILamp)->put_BrightnessLevel(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Lights_ILamp::IsColorSettable() const + template auto consume_Windows_Devices_Lights_ILamp::IsColorSettable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILamp)->get_IsColorSettable(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Lights_ILamp::Color() const + template auto consume_Windows_Devices_Lights_ILamp::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILamp)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILamp::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Devices_Lights_ILamp::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILamp)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Lights_ILamp::AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Lights_ILamp::AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILamp)->add_AvailabilityChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Lights_ILamp::AvailabilityChanged_revoker consume_Windows_Devices_Lights_ILamp::AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Lights_ILamp::AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AvailabilityChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILamp::AvailabilityChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Lights_ILamp::AvailabilityChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILamp)->remove_AvailabilityChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Lights_ILampArray::DeviceId() const + template auto consume_Windows_Devices_Lights_ILampArray::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Lights_ILampArray::HardwareVendorId() const + template auto consume_Windows_Devices_Lights_ILampArray::HardwareVendorId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_HardwareVendorId(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Lights_ILampArray::HardwareProductId() const + template auto consume_Windows_Devices_Lights_ILampArray::HardwareProductId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_HardwareProductId(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Lights_ILampArray::HardwareVersion() const + template auto consume_Windows_Devices_Lights_ILampArray::HardwareVersion() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_HardwareVersion(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::LampArrayKind) consume_Windows_Devices_Lights_ILampArray::LampArrayKind() const + template auto consume_Windows_Devices_Lights_ILampArray::LampArrayKind() const { winrt::Windows::Devices::Lights::LampArrayKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_LampArrayKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_ILampArray::LampCount() const + template auto consume_Windows_Devices_Lights_ILampArray::LampCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_LampCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_ILampArray::MinUpdateInterval() const + template auto consume_Windows_Devices_Lights_ILampArray::MinUpdateInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_MinUpdateInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Devices_Lights_ILampArray::BoundingBox() const + template auto consume_Windows_Devices_Lights_ILampArray::BoundingBox() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_BoundingBox(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Lights_ILampArray::IsEnabled() const + template auto consume_Windows_Devices_Lights_ILampArray::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray::IsEnabled(bool value) const + template auto consume_Windows_Devices_Lights_ILampArray::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Lights_ILampArray::BrightnessLevel() const + template auto consume_Windows_Devices_Lights_ILampArray::BrightnessLevel() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_BrightnessLevel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray::BrightnessLevel(double value) const + template auto consume_Windows_Devices_Lights_ILampArray::BrightnessLevel(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->put_BrightnessLevel(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Lights_ILampArray::IsConnected() const + template auto consume_Windows_Devices_Lights_ILampArray::IsConnected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_IsConnected(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Lights_ILampArray::SupportsVirtualKeys() const + template auto consume_Windows_Devices_Lights_ILampArray::SupportsVirtualKeys() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_SupportsVirtualKeys(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::LampInfo) consume_Windows_Devices_Lights_ILampArray::GetLampInfo(int32_t lampIndex) const + template auto consume_Windows_Devices_Lights_ILampArray::GetLampInfo(int32_t lampIndex) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->GetLampInfo(lampIndex, &result)); return winrt::Windows::Devices::Lights::LampInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Devices_Lights_ILampArray::GetIndicesForKey(winrt::Windows::System::VirtualKey const& key) const + template auto consume_Windows_Devices_Lights_ILampArray::GetIndicesForKey(winrt::Windows::System::VirtualKey const& key) const { uint32_t result_impl_size{}; int32_t* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->GetIndicesForKey(static_cast(key), &result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Devices_Lights_ILampArray::GetIndicesForPurposes(winrt::Windows::Devices::Lights::LampPurposes const& purposes) const + template auto consume_Windows_Devices_Lights_ILampArray::GetIndicesForPurposes(winrt::Windows::Devices::Lights::LampPurposes const& purposes) const { uint32_t result_impl_size{}; int32_t* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->GetIndicesForPurposes(static_cast(purposes), &result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray::SetColor(winrt::Windows::UI::Color const& desiredColor) const + template auto consume_Windows_Devices_Lights_ILampArray::SetColor(winrt::Windows::UI::Color const& desiredColor) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->SetColor(impl::bind_in(desiredColor))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray::SetColorForIndex(int32_t lampIndex, winrt::Windows::UI::Color const& desiredColor) const + template auto consume_Windows_Devices_Lights_ILampArray::SetColorForIndex(int32_t lampIndex, winrt::Windows::UI::Color const& desiredColor) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->SetColorForIndex(lampIndex, impl::bind_in(desiredColor))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray::SetSingleColorForIndices(winrt::Windows::UI::Color const& desiredColor, array_view lampIndexes) const + template auto consume_Windows_Devices_Lights_ILampArray::SetSingleColorForIndices(winrt::Windows::UI::Color const& desiredColor, array_view lampIndexes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->SetSingleColorForIndices(impl::bind_in(desiredColor), lampIndexes.size(), get_abi(lampIndexes))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray::SetColorsForIndices(array_view desiredColors, array_view lampIndexes) const + template auto consume_Windows_Devices_Lights_ILampArray::SetColorsForIndices(array_view desiredColors, array_view lampIndexes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->SetColorsForIndices(desiredColors.size(), get_abi(desiredColors), lampIndexes.size(), get_abi(lampIndexes))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray::SetColorsForKey(winrt::Windows::UI::Color const& desiredColor, winrt::Windows::System::VirtualKey const& key) const + template auto consume_Windows_Devices_Lights_ILampArray::SetColorsForKey(winrt::Windows::UI::Color const& desiredColor, winrt::Windows::System::VirtualKey const& key) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->SetColorsForKey(impl::bind_in(desiredColor), static_cast(key))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray::SetColorsForKeys(array_view desiredColors, array_view keys) const + template auto consume_Windows_Devices_Lights_ILampArray::SetColorsForKeys(array_view desiredColors, array_view keys) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->SetColorsForKeys(desiredColors.size(), get_abi(desiredColors), keys.size(), get_abi(keys))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray::SetColorsForPurposes(winrt::Windows::UI::Color const& desiredColor, winrt::Windows::Devices::Lights::LampPurposes const& purposes) const + template auto consume_Windows_Devices_Lights_ILampArray::SetColorsForPurposes(winrt::Windows::UI::Color const& desiredColor, winrt::Windows::Devices::Lights::LampPurposes const& purposes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->SetColorsForPurposes(impl::bind_in(desiredColor), static_cast(purposes))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Lights_ILampArray::SendMessageAsync(int32_t messageId, winrt::Windows::Storage::Streams::IBuffer const& message) const + template auto consume_Windows_Devices_Lights_ILampArray::SendMessageAsync(int32_t messageId, winrt::Windows::Storage::Streams::IBuffer const& message) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->SendMessageAsync(messageId, *(void**)(&message), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Lights_ILampArray::RequestMessageAsync(int32_t messageId) const + template auto consume_Windows_Devices_Lights_ILampArray::RequestMessageAsync(int32_t messageId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->RequestMessageAsync(messageId, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Lights_ILampArrayStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Lights_ILampArrayStatics::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArrayStatics)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Lights_ILampArrayStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Lights_ILampArrayStatics::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArrayStatics)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Lights_ILampAvailabilityChangedEventArgs::IsAvailable() const + template auto consume_Windows_Devices_Lights_ILampAvailabilityChangedEventArgs::IsAvailable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampAvailabilityChangedEventArgs)->get_IsAvailable(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_ILampInfo::Index() const + template auto consume_Windows_Devices_Lights_ILampInfo::Index() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->get_Index(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::LampPurposes) consume_Windows_Devices_Lights_ILampInfo::Purposes() const + template auto consume_Windows_Devices_Lights_ILampInfo::Purposes() const { winrt::Windows::Devices::Lights::LampPurposes value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->get_Purposes(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Devices_Lights_ILampInfo::Position() const + template auto consume_Windows_Devices_Lights_ILampInfo::Position() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_ILampInfo::RedLevelCount() const + template auto consume_Windows_Devices_Lights_ILampInfo::RedLevelCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->get_RedLevelCount(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_ILampInfo::GreenLevelCount() const + template auto consume_Windows_Devices_Lights_ILampInfo::GreenLevelCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->get_GreenLevelCount(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_ILampInfo::BlueLevelCount() const + template auto consume_Windows_Devices_Lights_ILampInfo::BlueLevelCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->get_BlueLevelCount(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_ILampInfo::GainLevelCount() const + template auto consume_Windows_Devices_Lights_ILampInfo::GainLevelCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->get_GainLevelCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Lights_ILampInfo::FixedColor() const + template auto consume_Windows_Devices_Lights_ILampInfo::FixedColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->get_FixedColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Lights_ILampInfo::GetNearestSupportedColor(winrt::Windows::UI::Color const& desiredColor) const + template auto consume_Windows_Devices_Lights_ILampInfo::GetNearestSupportedColor(winrt::Windows::UI::Color const& desiredColor) const { winrt::Windows::UI::Color result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->GetNearestSupportedColor(impl::bind_in(desiredColor), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_ILampInfo::UpdateLatency() const + template auto consume_Windows_Devices_Lights_ILampInfo::UpdateLatency() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->get_UpdateLatency(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Lights_ILampStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Lights_ILampStatics::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampStatics)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Lights_ILampStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Lights_ILampStatics::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampStatics)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Lights_ILampStatics::GetDefaultAsync() const + template auto consume_Windows_Devices_Lights_ILampStatics::GetDefaultAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampStatics)->GetDefaultAsync(&operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Midi.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Midi.h index 002d84fc..12c6e5b8 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Midi.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Midi.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Midi_H #define WINRT_Windows_Devices_Midi_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,315 +13,315 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Midi.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiChannelPressureMessage::Channel() const + template auto consume_Windows_Devices_Midi_IMidiChannelPressureMessage::Channel() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiChannelPressureMessage)->get_Channel(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiChannelPressureMessage::Pressure() const + template auto consume_Windows_Devices_Midi_IMidiChannelPressureMessage::Pressure() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiChannelPressureMessage)->get_Pressure(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiChannelPressureMessage) consume_Windows_Devices_Midi_IMidiChannelPressureMessageFactory::CreateMidiChannelPressureMessage(uint8_t channel, uint8_t pressure) const + template auto consume_Windows_Devices_Midi_IMidiChannelPressureMessageFactory::CreateMidiChannelPressureMessage(uint8_t channel, uint8_t pressure) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiChannelPressureMessageFactory)->CreateMidiChannelPressureMessage(channel, pressure, &value)); return winrt::Windows::Devices::Midi::MidiChannelPressureMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiControlChangeMessage::Channel() const + template auto consume_Windows_Devices_Midi_IMidiControlChangeMessage::Channel() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiControlChangeMessage)->get_Channel(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiControlChangeMessage::Controller() const + template auto consume_Windows_Devices_Midi_IMidiControlChangeMessage::Controller() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiControlChangeMessage)->get_Controller(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiControlChangeMessage::ControlValue() const + template auto consume_Windows_Devices_Midi_IMidiControlChangeMessage::ControlValue() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiControlChangeMessage)->get_ControlValue(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiControlChangeMessage) consume_Windows_Devices_Midi_IMidiControlChangeMessageFactory::CreateMidiControlChangeMessage(uint8_t channel, uint8_t controller, uint8_t controlValue) const + template auto consume_Windows_Devices_Midi_IMidiControlChangeMessageFactory::CreateMidiControlChangeMessage(uint8_t channel, uint8_t controller, uint8_t controlValue) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiControlChangeMessageFactory)->CreateMidiControlChangeMessage(channel, controller, controlValue, &value)); return winrt::Windows::Devices::Midi::MidiControlChangeMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Midi_IMidiInPort::MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Midi_IMidiInPort::MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiInPort)->add_MessageReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Midi_IMidiInPort::MessageReceived_revoker consume_Windows_Devices_Midi_IMidiInPort::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Midi_IMidiInPort::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MessageReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Midi_IMidiInPort::MessageReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Midi_IMidiInPort::MessageReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiInPort)->remove_MessageReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Midi_IMidiInPort::DeviceId() const + template auto consume_Windows_Devices_Midi_IMidiInPort::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiInPort)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Midi_IMidiInPortStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Midi_IMidiInPortStatics::FromIdAsync(param::hstring const& deviceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiInPortStatics)->FromIdAsync(*(void**)(&deviceId), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Midi_IMidiInPortStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Midi_IMidiInPortStatics::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiInPortStatics)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Midi_IMidiMessage::Timestamp() const + template auto consume_Windows_Devices_Midi_IMidiMessage::Timestamp() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiMessage)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Midi_IMidiMessage::RawData() const + template auto consume_Windows_Devices_Midi_IMidiMessage::RawData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiMessage)->get_RawData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiMessageType) consume_Windows_Devices_Midi_IMidiMessage::Type() const + template auto consume_Windows_Devices_Midi_IMidiMessage::Type() const { winrt::Windows::Devices::Midi::MidiMessageType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiMessage)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::IMidiMessage) consume_Windows_Devices_Midi_IMidiMessageReceivedEventArgs::Message() const + template auto consume_Windows_Devices_Midi_IMidiMessageReceivedEventArgs::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiMessageReceivedEventArgs)->get_Message(&value)); return winrt::Windows::Devices::Midi::IMidiMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiNoteOffMessage::Channel() const + template auto consume_Windows_Devices_Midi_IMidiNoteOffMessage::Channel() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiNoteOffMessage)->get_Channel(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiNoteOffMessage::Note() const + template auto consume_Windows_Devices_Midi_IMidiNoteOffMessage::Note() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiNoteOffMessage)->get_Note(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiNoteOffMessage::Velocity() const + template auto consume_Windows_Devices_Midi_IMidiNoteOffMessage::Velocity() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiNoteOffMessage)->get_Velocity(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiNoteOffMessage) consume_Windows_Devices_Midi_IMidiNoteOffMessageFactory::CreateMidiNoteOffMessage(uint8_t channel, uint8_t note, uint8_t velocity) const + template auto consume_Windows_Devices_Midi_IMidiNoteOffMessageFactory::CreateMidiNoteOffMessage(uint8_t channel, uint8_t note, uint8_t velocity) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiNoteOffMessageFactory)->CreateMidiNoteOffMessage(channel, note, velocity, &value)); return winrt::Windows::Devices::Midi::MidiNoteOffMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiNoteOnMessage::Channel() const + template auto consume_Windows_Devices_Midi_IMidiNoteOnMessage::Channel() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiNoteOnMessage)->get_Channel(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiNoteOnMessage::Note() const + template auto consume_Windows_Devices_Midi_IMidiNoteOnMessage::Note() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiNoteOnMessage)->get_Note(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiNoteOnMessage::Velocity() const + template auto consume_Windows_Devices_Midi_IMidiNoteOnMessage::Velocity() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiNoteOnMessage)->get_Velocity(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiNoteOnMessage) consume_Windows_Devices_Midi_IMidiNoteOnMessageFactory::CreateMidiNoteOnMessage(uint8_t channel, uint8_t note, uint8_t velocity) const + template auto consume_Windows_Devices_Midi_IMidiNoteOnMessageFactory::CreateMidiNoteOnMessage(uint8_t channel, uint8_t note, uint8_t velocity) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiNoteOnMessageFactory)->CreateMidiNoteOnMessage(channel, note, velocity, &value)); return winrt::Windows::Devices::Midi::MidiNoteOnMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Midi_IMidiOutPort::SendMessage(winrt::Windows::Devices::Midi::IMidiMessage const& midiMessage) const + template auto consume_Windows_Devices_Midi_IMidiOutPort::SendMessage(winrt::Windows::Devices::Midi::IMidiMessage const& midiMessage) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiOutPort)->SendMessage(*(void**)(&midiMessage))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Midi_IMidiOutPort::SendBuffer(winrt::Windows::Storage::Streams::IBuffer const& midiData) const + template auto consume_Windows_Devices_Midi_IMidiOutPort::SendBuffer(winrt::Windows::Storage::Streams::IBuffer const& midiData) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiOutPort)->SendBuffer(*(void**)(&midiData))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Midi_IMidiOutPort::DeviceId() const + template auto consume_Windows_Devices_Midi_IMidiOutPort::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiOutPort)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Midi_IMidiOutPortStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Midi_IMidiOutPortStatics::FromIdAsync(param::hstring const& deviceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiOutPortStatics)->FromIdAsync(*(void**)(&deviceId), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Midi_IMidiOutPortStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Midi_IMidiOutPortStatics::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiOutPortStatics)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiPitchBendChangeMessage::Channel() const + template auto consume_Windows_Devices_Midi_IMidiPitchBendChangeMessage::Channel() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiPitchBendChangeMessage)->get_Channel(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Midi_IMidiPitchBendChangeMessage::Bend() const + template auto consume_Windows_Devices_Midi_IMidiPitchBendChangeMessage::Bend() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiPitchBendChangeMessage)->get_Bend(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiPitchBendChangeMessage) consume_Windows_Devices_Midi_IMidiPitchBendChangeMessageFactory::CreateMidiPitchBendChangeMessage(uint8_t channel, uint16_t bend) const + template auto consume_Windows_Devices_Midi_IMidiPitchBendChangeMessageFactory::CreateMidiPitchBendChangeMessage(uint8_t channel, uint16_t bend) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiPitchBendChangeMessageFactory)->CreateMidiPitchBendChangeMessage(channel, bend, &value)); return winrt::Windows::Devices::Midi::MidiPitchBendChangeMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessage::Channel() const + template auto consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessage::Channel() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiPolyphonicKeyPressureMessage)->get_Channel(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessage::Note() const + template auto consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessage::Note() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiPolyphonicKeyPressureMessage)->get_Note(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessage::Pressure() const + template auto consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessage::Pressure() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiPolyphonicKeyPressureMessage)->get_Pressure(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiPolyphonicKeyPressureMessage) consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessageFactory::CreateMidiPolyphonicKeyPressureMessage(uint8_t channel, uint8_t note, uint8_t pressure) const + template auto consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessageFactory::CreateMidiPolyphonicKeyPressureMessage(uint8_t channel, uint8_t note, uint8_t pressure) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiPolyphonicKeyPressureMessageFactory)->CreateMidiPolyphonicKeyPressureMessage(channel, note, pressure, &value)); return winrt::Windows::Devices::Midi::MidiPolyphonicKeyPressureMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiProgramChangeMessage::Channel() const + template auto consume_Windows_Devices_Midi_IMidiProgramChangeMessage::Channel() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiProgramChangeMessage)->get_Channel(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiProgramChangeMessage::Program() const + template auto consume_Windows_Devices_Midi_IMidiProgramChangeMessage::Program() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiProgramChangeMessage)->get_Program(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiProgramChangeMessage) consume_Windows_Devices_Midi_IMidiProgramChangeMessageFactory::CreateMidiProgramChangeMessage(uint8_t channel, uint8_t program) const + template auto consume_Windows_Devices_Midi_IMidiProgramChangeMessageFactory::CreateMidiProgramChangeMessage(uint8_t channel, uint8_t program) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiProgramChangeMessageFactory)->CreateMidiProgramChangeMessage(channel, program, &value)); return winrt::Windows::Devices::Midi::MidiProgramChangeMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Midi_IMidiSongPositionPointerMessage::Beats() const + template auto consume_Windows_Devices_Midi_IMidiSongPositionPointerMessage::Beats() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiSongPositionPointerMessage)->get_Beats(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiSongPositionPointerMessage) consume_Windows_Devices_Midi_IMidiSongPositionPointerMessageFactory::CreateMidiSongPositionPointerMessage(uint16_t beats) const + template auto consume_Windows_Devices_Midi_IMidiSongPositionPointerMessageFactory::CreateMidiSongPositionPointerMessage(uint16_t beats) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiSongPositionPointerMessageFactory)->CreateMidiSongPositionPointerMessage(beats, &value)); return winrt::Windows::Devices::Midi::MidiSongPositionPointerMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiSongSelectMessage::Song() const + template auto consume_Windows_Devices_Midi_IMidiSongSelectMessage::Song() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiSongSelectMessage)->get_Song(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiSongSelectMessage) consume_Windows_Devices_Midi_IMidiSongSelectMessageFactory::CreateMidiSongSelectMessage(uint8_t song) const + template auto consume_Windows_Devices_Midi_IMidiSongSelectMessageFactory::CreateMidiSongSelectMessage(uint8_t song) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiSongSelectMessageFactory)->CreateMidiSongSelectMessage(song, &value)); return winrt::Windows::Devices::Midi::MidiSongSelectMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_Midi_IMidiSynthesizer::AudioDevice() const + template auto consume_Windows_Devices_Midi_IMidiSynthesizer::AudioDevice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiSynthesizer)->get_AudioDevice(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Midi_IMidiSynthesizer::Volume() const + template auto consume_Windows_Devices_Midi_IMidiSynthesizer::Volume() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiSynthesizer)->get_Volume(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Midi_IMidiSynthesizer::Volume(double value) const + template auto consume_Windows_Devices_Midi_IMidiSynthesizer::Volume(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiSynthesizer)->put_Volume(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Midi_IMidiSynthesizerStatics::CreateAsync() const + template auto consume_Windows_Devices_Midi_IMidiSynthesizerStatics::CreateAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiSynthesizerStatics)->CreateAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Midi_IMidiSynthesizerStatics::CreateAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& audioDevice) const + template auto consume_Windows_Devices_Midi_IMidiSynthesizerStatics::CreateAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& audioDevice) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiSynthesizerStatics)->CreateFromAudioDeviceAsync(*(void**)(&audioDevice), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Midi_IMidiSynthesizerStatics::IsSynthesizer(winrt::Windows::Devices::Enumeration::DeviceInformation const& midiDevice) const + template auto consume_Windows_Devices_Midi_IMidiSynthesizerStatics::IsSynthesizer(winrt::Windows::Devices::Enumeration::DeviceInformation const& midiDevice) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiSynthesizerStatics)->IsSynthesizer(*(void**)(&midiDevice), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiSystemExclusiveMessage) consume_Windows_Devices_Midi_IMidiSystemExclusiveMessageFactory::CreateMidiSystemExclusiveMessage(winrt::Windows::Storage::Streams::IBuffer const& rawData) const + template auto consume_Windows_Devices_Midi_IMidiSystemExclusiveMessageFactory::CreateMidiSystemExclusiveMessage(winrt::Windows::Storage::Streams::IBuffer const& rawData) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiSystemExclusiveMessageFactory)->CreateMidiSystemExclusiveMessage(*(void**)(&rawData), &value)); return winrt::Windows::Devices::Midi::MidiSystemExclusiveMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiTimeCodeMessage::FrameType() const + template auto consume_Windows_Devices_Midi_IMidiTimeCodeMessage::FrameType() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiTimeCodeMessage)->get_FrameType(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiTimeCodeMessage::Values() const + template auto consume_Windows_Devices_Midi_IMidiTimeCodeMessage::Values() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiTimeCodeMessage)->get_Values(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiTimeCodeMessage) consume_Windows_Devices_Midi_IMidiTimeCodeMessageFactory::CreateMidiTimeCodeMessage(uint8_t frameType, uint8_t values) const + template auto consume_Windows_Devices_Midi_IMidiTimeCodeMessageFactory::CreateMidiTimeCodeMessage(uint8_t frameType, uint8_t values) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiTimeCodeMessageFactory)->CreateMidiTimeCodeMessage(frameType, values, &value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Perception.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Perception.Provider.h index 806c9a0b..4a3f772b 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Perception.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Perception.Provider.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Perception_Provider_H #define WINRT_Windows_Devices_Perception_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.Perception.h" #include "winrt/impl/Windows.Devices.Perception.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -16,273 +16,273 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Perception.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IKnownPerceptionFrameKindStatics::Color() const + template auto consume_Windows_Devices_Perception_Provider_IKnownPerceptionFrameKindStatics::Color() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IKnownPerceptionFrameKindStatics)->get_Color(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IKnownPerceptionFrameKindStatics::Depth() const + template auto consume_Windows_Devices_Perception_Provider_IKnownPerceptionFrameKindStatics::Depth() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IKnownPerceptionFrameKindStatics)->get_Depth(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IKnownPerceptionFrameKindStatics::Infrared() const + template auto consume_Windows_Devices_Perception_Provider_IKnownPerceptionFrameKindStatics::Infrared() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IKnownPerceptionFrameKindStatics)->get_Infrared(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Perception_Provider_IPerceptionControlGroup::FrameProviderIds() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionControlGroup::FrameProviderIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionControlGroup)->get_FrameProviderIds(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup) consume_Windows_Devices_Perception_Provider_IPerceptionControlGroupFactory::Create(param::iterable const& ids) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionControlGroupFactory::Create(param::iterable const& ids) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionControlGroupFactory)->Create(*(void**)(&ids), &result)); return winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IPerceptionCorrelation::TargetId() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionCorrelation::TargetId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelation)->get_TargetId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Devices_Perception_Provider_IPerceptionCorrelation::Position() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionCorrelation::Position() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelation)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_Devices_Perception_Provider_IPerceptionCorrelation::Orientation() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionCorrelation::Orientation() const { winrt::Windows::Foundation::Numerics::quaternion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelation)->get_Orientation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionCorrelation) consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationFactory::Create(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationFactory::Create(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelationFactory)->Create(*(void**)(&targetId), impl::bind_in(position), impl::bind_in(orientation), &result)); return winrt::Windows::Devices::Perception::Provider::PerceptionCorrelation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationGroup::RelativeLocations() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationGroup::RelativeLocations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelationGroup)->get_RelativeLocations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup) consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationGroupFactory::Create(param::iterable const& relativeLocations) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationGroupFactory::Create(param::iterable const& relativeLocations) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelationGroupFactory)->Create(*(void**)(&relativeLocations), &result)); return winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Perception_Provider_IPerceptionFaceAuthenticationGroup::FrameProviderIds() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFaceAuthenticationGroup::FrameProviderIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFaceAuthenticationGroup)->get_FrameProviderIds(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup) consume_Windows_Devices_Perception_Provider_IPerceptionFaceAuthenticationGroupFactory::Create(param::iterable const& ids, winrt::Windows::Devices::Perception::Provider::PerceptionStartFaceAuthenticationHandler const& startHandler, winrt::Windows::Devices::Perception::Provider::PerceptionStopFaceAuthenticationHandler const& stopHandler) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFaceAuthenticationGroupFactory::Create(param::iterable const& ids, winrt::Windows::Devices::Perception::Provider::PerceptionStartFaceAuthenticationHandler const& startHandler, winrt::Windows::Devices::Perception::Provider::PerceptionStopFaceAuthenticationHandler const& stopHandler) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFaceAuthenticationGroupFactory)->Create(*(void**)(&ids), *(void**)(&startHandler), *(void**)(&stopHandler), &result)); return winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Perception_Provider_IPerceptionFrame::RelativeTime() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrame::RelativeTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrame)->get_RelativeTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrame::RelativeTime(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrame::RelativeTime(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrame)->put_RelativeTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Devices_Perception_Provider_IPerceptionFrame::Properties() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrame::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrame)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IMemoryBuffer) consume_Windows_Devices_Perception_Provider_IPerceptionFrame::FrameData() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrame::FrameData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrame)->get_FrameData(&value)); return winrt::Windows::Foundation::IMemoryBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider::FrameProviderInfo() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider::FrameProviderInfo() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider)->get_FrameProviderInfo(&result)); return winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider::Available() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider::Available() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider)->get_Available(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider::Properties() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider::Start() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider::Stop() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider)->Stop()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider::SetProperty(winrt::Windows::Devices::Perception::Provider::PerceptionPropertyChangeRequest const& value) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider::SetProperty(winrt::Windows::Devices::Perception::Provider::PerceptionPropertyChangeRequest const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider)->SetProperty(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::Id() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::Id(param::hstring const& value) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::Id(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo)->put_Id(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::DisplayName() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::DisplayName(param::hstring const& value) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::DeviceKind() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::DeviceKind() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo)->get_DeviceKind(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::DeviceKind(param::hstring const& value) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::DeviceKind(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo)->put_DeviceKind(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::FrameKind() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::FrameKind() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo)->get_FrameKind(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::FrameKind(param::hstring const& value) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::FrameKind(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo)->put_FrameKind(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::Hidden() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::Hidden() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo)->get_Hidden(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::Hidden(bool value) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo::Hidden(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo)->put_Hidden(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManager::GetFrameProvider(winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManager::GetFrameProvider(winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager)->GetFrameProvider(*(void**)(&frameProviderInfo), &result)); return winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::RegisterFrameProviderInfo(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::RegisterFrameProviderInfo(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManagerServiceStatics)->RegisterFrameProviderInfo(*(void**)(&manager), *(void**)(&frameProviderInfo))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::UnregisterFrameProviderInfo(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::UnregisterFrameProviderInfo(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManagerServiceStatics)->UnregisterFrameProviderInfo(*(void**)(&manager), *(void**)(&frameProviderInfo))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::RegisterFaceAuthenticationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& faceAuthenticationGroup) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::RegisterFaceAuthenticationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& faceAuthenticationGroup) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManagerServiceStatics)->RegisterFaceAuthenticationGroup(*(void**)(&manager), *(void**)(&faceAuthenticationGroup))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::UnregisterFaceAuthenticationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& faceAuthenticationGroup) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::UnregisterFaceAuthenticationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& faceAuthenticationGroup) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManagerServiceStatics)->UnregisterFaceAuthenticationGroup(*(void**)(&manager), *(void**)(&faceAuthenticationGroup))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::RegisterControlGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup const& controlGroup) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::RegisterControlGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup const& controlGroup) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManagerServiceStatics)->RegisterControlGroup(*(void**)(&manager), *(void**)(&controlGroup))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::UnregisterControlGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup const& controlGroup) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::UnregisterControlGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup const& controlGroup) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManagerServiceStatics)->UnregisterControlGroup(*(void**)(&manager), *(void**)(&controlGroup))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::RegisterCorrelationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup const& correlationGroup) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::RegisterCorrelationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup const& correlationGroup) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManagerServiceStatics)->RegisterCorrelationGroup(*(void**)(&manager), *(void**)(&correlationGroup))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::UnregisterCorrelationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup const& correlationGroup) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::UnregisterCorrelationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup const& correlationGroup) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManagerServiceStatics)->UnregisterCorrelationGroup(*(void**)(&manager), *(void**)(&correlationGroup))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::UpdateAvailabilityForProvider(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider const& provider, bool available) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::UpdateAvailabilityForProvider(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider const& provider, bool available) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManagerServiceStatics)->UpdateAvailabilityForProvider(*(void**)(&provider), available)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::PublishFrameForProvider(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider const& provider, winrt::Windows::Devices::Perception::Provider::PerceptionFrame const& frame) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics::PublishFrameForProvider(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider const& provider, winrt::Windows::Devices::Perception::Provider::PerceptionFrame const& frame) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManagerServiceStatics)->PublishFrameForProvider(*(void**)(&provider), *(void**)(&frame))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest::Name() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionPropertyChangeRequest)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest::Value() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionPropertyChangeRequest)->get_Value(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus) consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest::Status() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest::Status() const { winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionPropertyChangeRequest)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest::Status(winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus const& value) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest::Status(winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionPropertyChangeRequest)->put_Status(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest::GetDeferral() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionPropertyChangeRequest)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionFrame) consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocator::AllocateFrame() const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocator::AllocateFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionVideoFrameAllocator)->AllocateFrame(&value)); return winrt::Windows::Devices::Perception::Provider::PerceptionFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionFrame) consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocator::CopyFromVideoFrame(winrt::Windows::Media::VideoFrame const& frame) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocator::CopyFromVideoFrame(winrt::Windows::Media::VideoFrame const& frame) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionVideoFrameAllocator)->CopyFromVideoFrame(*(void**)(&frame), &value)); return winrt::Windows::Devices::Perception::Provider::PerceptionFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionVideoFrameAllocator) consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocatorFactory::Create(uint32_t maxOutstandingFrameCountForWrite, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, winrt::Windows::Foundation::Size const& resolution, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const + template auto consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocatorFactory::Create(uint32_t maxOutstandingFrameCountForWrite, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, winrt::Windows::Foundation::Size const& resolution, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionVideoFrameAllocatorFactory)->Create(maxOutstandingFrameCountForWrite, static_cast(format), impl::bind_in(resolution), static_cast(alpha), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Perception.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Perception.h index 86a19596..0bb20bd6 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Perception.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Perception.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Perception_H #define WINRT_Windows_Devices_Perception_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -17,1367 +17,1367 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Perception.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics::FocalLength() const + template auto consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics::FocalLength() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownCameraIntrinsicsPropertiesStatics)->get_FocalLength(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics::PrincipalPoint() const + template auto consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics::PrincipalPoint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownCameraIntrinsicsPropertiesStatics)->get_PrincipalPoint(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics::RadialDistortion() const + template auto consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics::RadialDistortion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownCameraIntrinsicsPropertiesStatics)->get_RadialDistortion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics::TangentialDistortion() const + template auto consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics::TangentialDistortion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownCameraIntrinsicsPropertiesStatics)->get_TangentialDistortion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionColorFrameSourcePropertiesStatics::Exposure() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionColorFrameSourcePropertiesStatics::Exposure() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionColorFrameSourcePropertiesStatics)->get_Exposure(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionColorFrameSourcePropertiesStatics::AutoExposureEnabled() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionColorFrameSourcePropertiesStatics::AutoExposureEnabled() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionColorFrameSourcePropertiesStatics)->get_AutoExposureEnabled(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionColorFrameSourcePropertiesStatics::ExposureCompensation() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionColorFrameSourcePropertiesStatics::ExposureCompensation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionColorFrameSourcePropertiesStatics)->get_ExposureCompensation(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionDepthFrameSourcePropertiesStatics::MinDepth() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionDepthFrameSourcePropertiesStatics::MinDepth() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionDepthFrameSourcePropertiesStatics)->get_MinDepth(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionDepthFrameSourcePropertiesStatics::MaxDepth() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionDepthFrameSourcePropertiesStatics::MaxDepth() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionDepthFrameSourcePropertiesStatics)->get_MaxDepth(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics::Id() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionFrameSourcePropertiesStatics)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics::PhysicalDeviceIds() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics::PhysicalDeviceIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionFrameSourcePropertiesStatics)->get_PhysicalDeviceIds(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics::FrameKind() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics::FrameKind() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionFrameSourcePropertiesStatics)->get_FrameKind(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics::DeviceModelVersion() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics::DeviceModelVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionFrameSourcePropertiesStatics)->get_DeviceModelVersion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics::EnclosureLocation() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics::EnclosureLocation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionFrameSourcePropertiesStatics)->get_EnclosureLocation(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics2::DeviceId() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics2::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionFrameSourcePropertiesStatics2)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics::Exposure() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics::Exposure() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionInfraredFrameSourcePropertiesStatics)->get_Exposure(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics::AutoExposureEnabled() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics::AutoExposureEnabled() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionInfraredFrameSourcePropertiesStatics)->get_AutoExposureEnabled(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics::ExposureCompensation() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics::ExposureCompensation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionInfraredFrameSourcePropertiesStatics)->get_ExposureCompensation(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics::ActiveIlluminationEnabled() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics::ActiveIlluminationEnabled() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionInfraredFrameSourcePropertiesStatics)->get_ActiveIlluminationEnabled(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics::AmbientSubtractionEnabled() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics::AmbientSubtractionEnabled() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionInfraredFrameSourcePropertiesStatics)->get_AmbientSubtractionEnabled(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics::StructureLightPatternEnabled() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics::StructureLightPatternEnabled() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionInfraredFrameSourcePropertiesStatics)->get_StructureLightPatternEnabled(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics::InterleavedIlluminationEnabled() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics::InterleavedIlluminationEnabled() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionInfraredFrameSourcePropertiesStatics)->get_InterleavedIlluminationEnabled(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics::VideoProfile() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics::VideoProfile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionVideoFrameSourcePropertiesStatics)->get_VideoProfile(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics::SupportedVideoProfiles() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics::SupportedVideoProfiles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionVideoFrameSourcePropertiesStatics)->get_SupportedVideoProfiles(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics::AvailableVideoProfiles() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics::AvailableVideoProfiles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionVideoFrameSourcePropertiesStatics)->get_AvailableVideoProfiles(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics::IsMirrored() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics::IsMirrored() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionVideoFrameSourcePropertiesStatics)->get_IsMirrored(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics::CameraIntrinsics() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics::CameraIntrinsics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionVideoFrameSourcePropertiesStatics)->get_CameraIntrinsics(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics::BitmapPixelFormat() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics::BitmapPixelFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionVideoProfilePropertiesStatics)->get_BitmapPixelFormat(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics::BitmapAlphaMode() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics::BitmapAlphaMode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionVideoProfilePropertiesStatics)->get_BitmapAlphaMode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics::Width() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics::Width() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionVideoProfilePropertiesStatics)->get_Width(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics::Height() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics::Height() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionVideoProfilePropertiesStatics)->get_Height(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics::FrameDuration() const + template auto consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics::FrameDuration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IKnownPerceptionVideoProfilePropertiesStatics)->get_FrameDuration(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Devices_Perception_IPerceptionColorFrame::VideoFrame() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrame::VideoFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrame)->get_VideoFrame(&value)); return winrt::Windows::Media::VideoFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Perception_IPerceptionColorFrameArrivedEventArgs::RelativeTime() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameArrivedEventArgs::RelativeTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameArrivedEventArgs)->get_RelativeTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrame) consume_Windows_Devices_Perception_IPerceptionColorFrameArrivedEventArgs::TryOpenFrame() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameArrivedEventArgs::TryOpenFrame() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameArrivedEventArgs)->TryOpenFrame(&result)); return winrt::Windows::Devices::Perception::PerceptionColorFrame{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameReader::FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameReader::FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameReader)->add_FrameArrived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionColorFrameReader::FrameArrived_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameReader::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameReader::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameArrived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameReader::FrameArrived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameReader::FrameArrived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameReader)->remove_FrameArrived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameSource) consume_Windows_Devices_Perception_IPerceptionColorFrameReader::Source() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameReader::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameReader)->get_Source(&value)); return winrt::Windows::Devices::Perception::PerceptionColorFrameSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionColorFrameReader::IsPaused() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameReader::IsPaused() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameReader)->get_IsPaused(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameReader::IsPaused(bool value) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameReader::IsPaused(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameReader)->put_IsPaused(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrame) consume_Windows_Devices_Perception_IPerceptionColorFrameReader::TryReadLatestFrame() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameReader::TryReadLatestFrame() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameReader)->TryReadLatestFrame(&result)); return winrt::Windows::Devices::Perception::PerceptionColorFrame{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::AvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::AvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->add_AvailableChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionColorFrameSource::AvailableChanged_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSource::AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AvailableChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::AvailableChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::AvailableChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->remove_AvailableChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::ActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::ActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->add_ActiveChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionColorFrameSource::ActiveChanged_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSource::ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ActiveChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::ActiveChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::ActiveChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->remove_ActiveChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->add_PropertiesChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionColorFrameSource::PropertiesChanged_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSource::PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PropertiesChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::PropertiesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::PropertiesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->remove_PropertiesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->add_VideoProfileChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionColorFrameSource::VideoProfileChanged_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSource::VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, VideoProfileChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::VideoProfileChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::VideoProfileChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->remove_VideoProfileChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->add_CameraIntrinsicsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionColorFrameSource::CameraIntrinsicsChanged_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSource::CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CameraIntrinsicsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->remove_CameraIntrinsicsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::Id() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::DisplayName() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::DeviceKind() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::DeviceKind() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_DeviceKind(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::Available() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::Available() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_Available(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::Active() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::Active() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_Active(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::IsControlled() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::IsControlled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_IsControlled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::Properties() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::SupportedVideoProfiles() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::SupportedVideoProfiles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_SupportedVideoProfiles(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::AvailableVideoProfiles() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::AvailableVideoProfiles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_AvailableVideoProfiles(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionVideoProfile) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::VideoProfile() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::VideoProfile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_VideoProfile(&value)); return winrt::Windows::Devices::Perception::PerceptionVideoProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::CameraIntrinsics() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::CameraIntrinsics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_CameraIntrinsics(&value)); return winrt::Windows::Media::Devices::Core::CameraIntrinsics{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionControlSession) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::AcquireControlSession() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::AcquireControlSession() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->AcquireControlSession(&value)); return winrt::Windows::Devices::Perception::PerceptionControlSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::CanControlIndependentlyFrom(param::hstring const& targetId) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::CanControlIndependentlyFrom(param::hstring const& targetId) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->CanControlIndependentlyFrom(*(void**)(&targetId), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::IsCorrelatedWith(param::hstring const& targetId) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::IsCorrelatedWith(param::hstring const& targetId) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->IsCorrelatedWith(*(void**)(&targetId), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const { bool hasResult{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->TryGetTransformTo(*(void**)(&targetId), impl::bind_out(result), &hasResult)); return hasResult; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& correlatedDepthFrameSource) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& correlatedDepthFrameSource) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->TryGetDepthCorrelatedCameraIntrinsicsAsync(*(void**)(&correlatedDepthFrameSource), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetSourceId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& correlatedDepthFrameSource) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetSourceId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& correlatedDepthFrameSource) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->TryGetDepthCorrelatedCoordinateMapperAsync(*(void**)(&targetSourceId), *(void**)(&correlatedDepthFrameSource), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->TrySetVideoProfileAsync(*(void**)(&controlSession), *(void**)(&profile), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameReader) consume_Windows_Devices_Perception_IPerceptionColorFrameSource::OpenReader() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource::OpenReader() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->OpenReader(&result)); return winrt::Windows::Devices::Perception::PerceptionColorFrameReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionColorFrameSource2::DeviceId() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource2::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource2)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameSource) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceAddedEventArgs::FrameSource() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceAddedEventArgs::FrameSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceAddedEventArgs)->get_FrameSource(&value)); return winrt::Windows::Devices::Perception::PerceptionColorFrameSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameSource) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceRemovedEventArgs::FrameSource() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceRemovedEventArgs::FrameSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceRemovedEventArgs)->get_FrameSource(&value)); return winrt::Windows::Devices::Perception::PerceptionColorFrameSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics::CreateWatcher() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics::CreateWatcher() const { void* watcher{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceStatics)->CreateWatcher(&watcher)); return winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher{ watcher, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics::FindAllAsync() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics::FindAllAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceStatics)->FindAllAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics::FromIdAsync(param::hstring const& id) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics::FromIdAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceStatics)->FromIdAsync(*(void**)(&id), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics::RequestAccessAsync() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics::RequestAccessAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceStatics)->RequestAccessAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::SourceAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::SourceAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->add_SourceAdded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::SourceAdded_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceAdded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::SourceAdded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::SourceAdded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->remove_SourceAdded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::SourceRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::SourceRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->add_SourceRemoved(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::SourceRemoved_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceRemoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::SourceRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::SourceRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->remove_SourceRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->add_Stopped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::Stopped_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::Stopped(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::Stopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->remove_Stopped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::EnumerationCompleted_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->remove_EnumerationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherStatus) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::Status() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::Status() const { winrt::Windows::Devices::Enumeration::DeviceWatcherStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::Start() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::Stop() const + template auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->Stop()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionControlSession::ControlLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionControlSession::ControlLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionControlSession)->add_ControlLost(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionControlSession::ControlLost_revoker consume_Windows_Devices_Perception_IPerceptionControlSession::ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionControlSession::ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ControlLost(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionControlSession::ControlLost(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionControlSession::ControlLost(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionControlSession)->remove_ControlLost(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Perception_IPerceptionControlSession::TrySetPropertyAsync(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_Devices_Perception_IPerceptionControlSession::TrySetPropertyAsync(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionControlSession)->TrySetPropertyAsync(*(void**)(&name), *(void**)(&value), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics::UnprojectPixelAtCorrelatedDepth(winrt::Windows::Foundation::Point const& pixelCoordinate, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics::UnprojectPixelAtCorrelatedDepth(winrt::Windows::Foundation::Point const& pixelCoordinate, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame) const { winrt::Windows::Foundation::Numerics::float3 result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthCorrelatedCameraIntrinsics)->UnprojectPixelAtCorrelatedDepth(impl::bind_in(pixelCoordinate), *(void**)(&depthFrame), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics::UnprojectPixelsAtCorrelatedDepth(array_view sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics::UnprojectPixelsAtCorrelatedDepth(array_view sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthCorrelatedCameraIntrinsics)->UnprojectPixelsAtCorrelatedDepth(sourceCoordinates.size(), get_abi(sourceCoordinates), *(void**)(&depthFrame), results.size(), put_abi(results))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics::UnprojectRegionPixelsAtCorrelatedDepthAsync(winrt::Windows::Foundation::Rect const& region, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics::UnprojectRegionPixelsAtCorrelatedDepthAsync(winrt::Windows::Foundation::Rect const& region, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthCorrelatedCameraIntrinsics)->UnprojectRegionPixelsAtCorrelatedDepthAsync(impl::bind_in(region), *(void**)(&depthFrame), results.size(), put_abi(results), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics::UnprojectAllPixelsAtCorrelatedDepthAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics::UnprojectAllPixelsAtCorrelatedDepthAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthCorrelatedCameraIntrinsics)->UnprojectAllPixelsAtCorrelatedDepthAsync(*(void**)(&depthFrame), results.size(), put_abi(results), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper::MapPixelToTarget(winrt::Windows::Foundation::Point const& sourcePixelCoordinate, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper::MapPixelToTarget(winrt::Windows::Foundation::Point const& sourcePixelCoordinate, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthCorrelatedCoordinateMapper)->MapPixelToTarget(impl::bind_in(sourcePixelCoordinate), *(void**)(&depthFrame), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper::MapPixelsToTarget(array_view sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper::MapPixelsToTarget(array_view sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthCorrelatedCoordinateMapper)->MapPixelsToTarget(sourceCoordinates.size(), get_abi(sourceCoordinates), *(void**)(&depthFrame), results.size(), put_abi(results))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper::MapRegionOfPixelsToTargetAsync(winrt::Windows::Foundation::Rect const& region, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view targetCoordinates) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper::MapRegionOfPixelsToTargetAsync(winrt::Windows::Foundation::Rect const& region, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view targetCoordinates) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthCorrelatedCoordinateMapper)->MapRegionOfPixelsToTargetAsync(impl::bind_in(region), *(void**)(&depthFrame), targetCoordinates.size(), put_abi(targetCoordinates), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper::MapAllPixelsToTargetAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view targetCoordinates) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper::MapAllPixelsToTargetAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view targetCoordinates) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthCorrelatedCoordinateMapper)->MapAllPixelsToTargetAsync(*(void**)(&depthFrame), targetCoordinates.size(), put_abi(targetCoordinates), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Devices_Perception_IPerceptionDepthFrame::VideoFrame() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrame::VideoFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrame)->get_VideoFrame(&value)); return winrt::Windows::Media::VideoFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Perception_IPerceptionDepthFrameArrivedEventArgs::RelativeTime() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameArrivedEventArgs::RelativeTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameArrivedEventArgs)->get_RelativeTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrame) consume_Windows_Devices_Perception_IPerceptionDepthFrameArrivedEventArgs::TryOpenFrame() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameArrivedEventArgs::TryOpenFrame() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameArrivedEventArgs)->TryOpenFrame(&result)); return winrt::Windows::Devices::Perception::PerceptionDepthFrame{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameReader::FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameReader::FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameReader)->add_FrameArrived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionDepthFrameReader::FrameArrived_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameReader::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameReader::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameArrived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameReader::FrameArrived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameReader::FrameArrived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameReader)->remove_FrameArrived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource) consume_Windows_Devices_Perception_IPerceptionDepthFrameReader::Source() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameReader::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameReader)->get_Source(&value)); return winrt::Windows::Devices::Perception::PerceptionDepthFrameSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionDepthFrameReader::IsPaused() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameReader::IsPaused() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameReader)->get_IsPaused(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameReader::IsPaused(bool value) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameReader::IsPaused(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameReader)->put_IsPaused(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrame) consume_Windows_Devices_Perception_IPerceptionDepthFrameReader::TryReadLatestFrame() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameReader::TryReadLatestFrame() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameReader)->TryReadLatestFrame(&result)); return winrt::Windows::Devices::Perception::PerceptionDepthFrame{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::AvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::AvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->add_AvailableChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::AvailableChanged_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AvailableChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::AvailableChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::AvailableChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->remove_AvailableChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::ActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::ActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->add_ActiveChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::ActiveChanged_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ActiveChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::ActiveChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::ActiveChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->remove_ActiveChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->add_PropertiesChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::PropertiesChanged_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PropertiesChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::PropertiesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::PropertiesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->remove_PropertiesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->add_VideoProfileChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::VideoProfileChanged_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, VideoProfileChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::VideoProfileChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::VideoProfileChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->remove_VideoProfileChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->add_CameraIntrinsicsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::CameraIntrinsicsChanged_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CameraIntrinsicsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->remove_CameraIntrinsicsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::Id() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::DisplayName() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::DeviceKind() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::DeviceKind() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_DeviceKind(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::Available() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::Available() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_Available(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::Active() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::Active() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_Active(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::IsControlled() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::IsControlled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_IsControlled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::Properties() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::SupportedVideoProfiles() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::SupportedVideoProfiles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_SupportedVideoProfiles(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::AvailableVideoProfiles() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::AvailableVideoProfiles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_AvailableVideoProfiles(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionVideoProfile) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::VideoProfile() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::VideoProfile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_VideoProfile(&value)); return winrt::Windows::Devices::Perception::PerceptionVideoProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::CameraIntrinsics() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::CameraIntrinsics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_CameraIntrinsics(&value)); return winrt::Windows::Media::Devices::Core::CameraIntrinsics{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionControlSession) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::AcquireControlSession() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::AcquireControlSession() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->AcquireControlSession(&result)); return winrt::Windows::Devices::Perception::PerceptionControlSession{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::CanControlIndependentlyFrom(param::hstring const& targetId) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::CanControlIndependentlyFrom(param::hstring const& targetId) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->CanControlIndependentlyFrom(*(void**)(&targetId), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::IsCorrelatedWith(param::hstring const& targetId) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::IsCorrelatedWith(param::hstring const& targetId) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->IsCorrelatedWith(*(void**)(&targetId), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const { bool hasResult{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->TryGetTransformTo(*(void**)(&targetId), impl::bind_out(result), &hasResult)); return hasResult; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& target) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& target) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->TryGetDepthCorrelatedCameraIntrinsicsAsync(*(void**)(&target), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& depthFrameSourceToMapWith) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& depthFrameSourceToMapWith) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->TryGetDepthCorrelatedCoordinateMapperAsync(*(void**)(&targetId), *(void**)(&depthFrameSourceToMapWith), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->TrySetVideoProfileAsync(*(void**)(&controlSession), *(void**)(&profile), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameReader) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::OpenReader() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource::OpenReader() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->OpenReader(&result)); return winrt::Windows::Devices::Perception::PerceptionDepthFrameReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource2::DeviceId() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource2::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource2)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceAddedEventArgs::FrameSource() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceAddedEventArgs::FrameSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceAddedEventArgs)->get_FrameSource(&value)); return winrt::Windows::Devices::Perception::PerceptionDepthFrameSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceRemovedEventArgs::FrameSource() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceRemovedEventArgs::FrameSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceRemovedEventArgs)->get_FrameSource(&value)); return winrt::Windows::Devices::Perception::PerceptionDepthFrameSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics::CreateWatcher() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics::CreateWatcher() const { void* watcher{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceStatics)->CreateWatcher(&watcher)); return winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher{ watcher, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics::FindAllAsync() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics::FindAllAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceStatics)->FindAllAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics::FromIdAsync(param::hstring const& id) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics::FromIdAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceStatics)->FromIdAsync(*(void**)(&id), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics::RequestAccessAsync() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics::RequestAccessAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceStatics)->RequestAccessAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::SourceAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::SourceAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->add_SourceAdded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::SourceAdded_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceAdded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::SourceAdded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::SourceAdded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->remove_SourceAdded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::SourceRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::SourceRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->add_SourceRemoved(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::SourceRemoved_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceRemoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::SourceRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::SourceRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->remove_SourceRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->add_Stopped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::Stopped_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::Stopped(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::Stopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->remove_Stopped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::EnumerationCompleted_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->remove_EnumerationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherStatus) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::Status() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::Status() const { winrt::Windows::Devices::Enumeration::DeviceWatcherStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::Start() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::Stop() const + template auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::CollectionChange) consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertiesChangedEventArgs::CollectionChange() const + template auto consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertiesChangedEventArgs::CollectionChange() const { winrt::Windows::Foundation::Collections::CollectionChange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionFrameSourcePropertiesChangedEventArgs)->get_CollectionChange(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertiesChangedEventArgs::Key() const + template auto consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertiesChangedEventArgs::Key() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionFrameSourcePropertiesChangedEventArgs)->get_Key(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus) consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertyChangeResult::Status() const + template auto consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertyChangeResult::Status() const { winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionFrameSourcePropertyChangeResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertyChangeResult::NewValue() const + template auto consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertyChangeResult::NewValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionFrameSourcePropertyChangeResult)->get_NewValue(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Devices_Perception_IPerceptionInfraredFrame::VideoFrame() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrame::VideoFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrame)->get_VideoFrame(&value)); return winrt::Windows::Media::VideoFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Perception_IPerceptionInfraredFrameArrivedEventArgs::RelativeTime() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameArrivedEventArgs::RelativeTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameArrivedEventArgs)->get_RelativeTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrame) consume_Windows_Devices_Perception_IPerceptionInfraredFrameArrivedEventArgs::TryOpenFrame() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameArrivedEventArgs::TryOpenFrame() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameArrivedEventArgs)->TryOpenFrame(&result)); return winrt::Windows::Devices::Perception::PerceptionInfraredFrame{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader::FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader::FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameReader)->add_FrameArrived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader::FrameArrived_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameArrived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader::FrameArrived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader::FrameArrived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameReader)->remove_FrameArrived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource) consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader::Source() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameReader)->get_Source(&value)); return winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader::IsPaused() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader::IsPaused() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameReader)->get_IsPaused(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader::IsPaused(bool value) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader::IsPaused(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameReader)->put_IsPaused(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrame) consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader::TryReadLatestFrame() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader::TryReadLatestFrame() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameReader)->TryReadLatestFrame(&result)); return winrt::Windows::Devices::Perception::PerceptionInfraredFrame{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::AvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::AvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->add_AvailableChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::AvailableChanged_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AvailableChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::AvailableChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::AvailableChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->remove_AvailableChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::ActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::ActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->add_ActiveChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::ActiveChanged_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ActiveChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::ActiveChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::ActiveChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->remove_ActiveChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->add_PropertiesChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::PropertiesChanged_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PropertiesChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::PropertiesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::PropertiesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->remove_PropertiesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->add_VideoProfileChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::VideoProfileChanged_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, VideoProfileChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::VideoProfileChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::VideoProfileChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->remove_VideoProfileChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->add_CameraIntrinsicsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::CameraIntrinsicsChanged_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CameraIntrinsicsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->remove_CameraIntrinsicsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::Id() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::DisplayName() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::DeviceKind() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::DeviceKind() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_DeviceKind(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::Available() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::Available() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_Available(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::Active() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::Active() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_Active(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::IsControlled() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::IsControlled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_IsControlled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::Properties() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::SupportedVideoProfiles() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::SupportedVideoProfiles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_SupportedVideoProfiles(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::AvailableVideoProfiles() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::AvailableVideoProfiles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_AvailableVideoProfiles(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionVideoProfile) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::VideoProfile() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::VideoProfile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_VideoProfile(&value)); return winrt::Windows::Devices::Perception::PerceptionVideoProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::CameraIntrinsics() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::CameraIntrinsics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_CameraIntrinsics(&value)); return winrt::Windows::Media::Devices::Core::CameraIntrinsics{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionControlSession) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::AcquireControlSession() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::AcquireControlSession() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->AcquireControlSession(&result)); return winrt::Windows::Devices::Perception::PerceptionControlSession{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::CanControlIndependentlyFrom(param::hstring const& targetId) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::CanControlIndependentlyFrom(param::hstring const& targetId) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->CanControlIndependentlyFrom(*(void**)(&targetId), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::IsCorrelatedWith(param::hstring const& targetId) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::IsCorrelatedWith(param::hstring const& targetId) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->IsCorrelatedWith(*(void**)(&targetId), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const { bool hasResult{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->TryGetTransformTo(*(void**)(&targetId), impl::bind_out(result), &hasResult)); return hasResult; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& target) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& target) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->TryGetDepthCorrelatedCameraIntrinsicsAsync(*(void**)(&target), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& depthFrameSourceToMapWith) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& depthFrameSourceToMapWith) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->TryGetDepthCorrelatedCoordinateMapperAsync(*(void**)(&targetId), *(void**)(&depthFrameSourceToMapWith), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->TrySetVideoProfileAsync(*(void**)(&controlSession), *(void**)(&profile), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameReader) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::OpenReader() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource::OpenReader() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->OpenReader(&result)); return winrt::Windows::Devices::Perception::PerceptionInfraredFrameReader{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource2::DeviceId() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource2::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource2)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceAddedEventArgs::FrameSource() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceAddedEventArgs::FrameSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceAddedEventArgs)->get_FrameSource(&value)); return winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceRemovedEventArgs::FrameSource() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceRemovedEventArgs::FrameSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceRemovedEventArgs)->get_FrameSource(&value)); return winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics::CreateWatcher() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics::CreateWatcher() const { void* watcher{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceStatics)->CreateWatcher(&watcher)); return winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher{ watcher, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics::FindAllAsync() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics::FindAllAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceStatics)->FindAllAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics::FromIdAsync(param::hstring const& id) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics::FromIdAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceStatics)->FromIdAsync(*(void**)(&id), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics::RequestAccessAsync() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics::RequestAccessAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceStatics)->RequestAccessAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::SourceAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::SourceAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->add_SourceAdded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::SourceAdded_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceAdded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::SourceAdded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::SourceAdded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->remove_SourceAdded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::SourceRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::SourceRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->add_SourceRemoved(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::SourceRemoved_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceRemoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::SourceRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::SourceRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->remove_SourceRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->add_Stopped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::Stopped_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::Stopped(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::Stopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->remove_Stopped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::EnumerationCompleted_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->remove_EnumerationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherStatus) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::Status() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::Status() const { winrt::Windows::Devices::Enumeration::DeviceWatcherStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::Start() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::Stop() const + template auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) consume_Windows_Devices_Perception_IPerceptionVideoProfile::BitmapPixelFormat() const + template auto consume_Windows_Devices_Perception_IPerceptionVideoProfile::BitmapPixelFormat() const { winrt::Windows::Graphics::Imaging::BitmapPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionVideoProfile)->get_BitmapPixelFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) consume_Windows_Devices_Perception_IPerceptionVideoProfile::BitmapAlphaMode() const + template auto consume_Windows_Devices_Perception_IPerceptionVideoProfile::BitmapAlphaMode() const { winrt::Windows::Graphics::Imaging::BitmapAlphaMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionVideoProfile)->get_BitmapAlphaMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Perception_IPerceptionVideoProfile::Width() const + template auto consume_Windows_Devices_Perception_IPerceptionVideoProfile::Width() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionVideoProfile)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Perception_IPerceptionVideoProfile::Height() const + template auto consume_Windows_Devices_Perception_IPerceptionVideoProfile::Height() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionVideoProfile)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Perception_IPerceptionVideoProfile::FrameDuration() const + template auto consume_Windows_Devices_Perception_IPerceptionVideoProfile::FrameDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionVideoProfile)->get_FrameDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionVideoProfile::IsEqual(winrt::Windows::Devices::Perception::PerceptionVideoProfile const& other) const + template auto consume_Windows_Devices_Perception_IPerceptionVideoProfile::IsEqual(winrt::Windows::Devices::Perception::PerceptionVideoProfile const& other) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionVideoProfile)->IsEqual(*(void**)(&other), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.PointOfService.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.PointOfService.Provider.h index 2c9a8aed..cf00a3bc 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.PointOfService.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.PointOfService.Provider.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_PointOfService_Provider_H #define WINRT_Windows_Devices_PointOfService_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.PointOfService.h" #include "winrt/impl/Windows.Devices.PointOfService.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -15,629 +15,629 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.PointOfService.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest::ReportCompletedAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerDisableScannerRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest::ReportFailedAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerDisableScannerRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest2::ReportFailedAsync(int32_t reason) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest2::ReportFailedAsync(int32_t reason) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerDisableScannerRequest2)->ReportFailedWithFailedReasonAsync(reason, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest2::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest2::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerDisableScannerRequest2)->ReportFailedWithFailedReasonAndDescriptionAsync(reason, *(void**)(&failedReasonDescription), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerDisableScannerRequest) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequestEventArgs::Request() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerDisableScannerRequestEventArgs)->get_Request(&value)); return winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerDisableScannerRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequestEventArgs::GetDeferral() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequestEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerDisableScannerRequestEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest::ReportCompletedAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerEnableScannerRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest::ReportFailedAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerEnableScannerRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest2::ReportFailedAsync(int32_t reason) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest2::ReportFailedAsync(int32_t reason) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerEnableScannerRequest2)->ReportFailedWithFailedReasonAsync(reason, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest2::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest2::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerEnableScannerRequest2)->ReportFailedWithFailedReasonAndDescriptionAsync(reason, *(void**)(&failedReasonDescription), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerEnableScannerRequest) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequestEventArgs::Request() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerEnableScannerRequestEventArgs)->get_Request(&value)); return winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerEnableScannerRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequestEventArgs::GetDeferral() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequestEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerEnableScannerRequestEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader::StartAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader::StartAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReader)->StartAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader::StopAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader::StopAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReader)->StopAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader::TryAcquireLatestFrameAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader::TryAcquireLatestFrameAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReader)->TryAcquireLatestFrameAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader::Connection() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader::Connection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReader)->get_Connection(&value)); return winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader::FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader::FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReader)->add_FrameArrived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader::FrameArrived_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameArrived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader::FrameArrived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader::FrameArrived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReader)->remove_FrameArrived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReaderFrameArrivedEventArgs::GetDeferral() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReaderFrameArrivedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReaderFrameArrivedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest::Symbology() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest::Symbology() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequest)->get_Symbology(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest::ReportCompletedAsync(winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes const& attributes) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest::ReportCompletedAsync(winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes const& attributes) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequest)->ReportCompletedAsync(*(void**)(&attributes), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest::ReportFailedAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest2::ReportFailedAsync(int32_t reason) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest2::ReportFailedAsync(int32_t reason) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequest2)->ReportFailedWithFailedReasonAsync(reason, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest2::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest2::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequest2)->ReportFailedWithFailedReasonAndDescriptionAsync(reason, *(void**)(&failedReasonDescription), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerGetSymbologyAttributesRequest) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequestEventArgs::Request() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequestEventArgs)->get_Request(&value)); return winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerGetSymbologyAttributesRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequestEventArgs::GetDeferral() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequestEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequestEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest::ReportCompletedAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerHideVideoPreviewRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest::ReportFailedAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerHideVideoPreviewRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest2::ReportFailedAsync(int32_t reason) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest2::ReportFailedAsync(int32_t reason) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerHideVideoPreviewRequest2)->ReportFailedWithFailedReasonAsync(reason, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest2::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest2::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerHideVideoPreviewRequest2)->ReportFailedWithFailedReasonAndDescriptionAsync(reason, *(void**)(&failedReasonDescription), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerHideVideoPreviewRequest) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequestEventArgs::Request() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerHideVideoPreviewRequestEventArgs)->get_Request(&value)); return winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerHideVideoPreviewRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequestEventArgs::GetDeferral() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequestEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerHideVideoPreviewRequestEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::Id() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::VideoDeviceId() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::VideoDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->get_VideoDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::SupportedSymbologies() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::SupportedSymbologies() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->get_SupportedSymbologies(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::CompanyName() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::CompanyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->get_CompanyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::CompanyName(param::hstring const& value) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::CompanyName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->put_CompanyName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::Name() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::Name(param::hstring const& value) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::Version() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::Version() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->get_Version(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::Version(param::hstring const& value) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::Version(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->put_Version(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::Start() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->Start()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::ReportScannedDataAsync(winrt::Windows::Devices::PointOfService::BarcodeScannerReport const& report) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::ReportScannedDataAsync(winrt::Windows::Devices::PointOfService::BarcodeScannerReport const& report) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->ReportScannedDataAsync(*(void**)(&report), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::ReportTriggerStateAsync(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerTriggerState const& state) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::ReportTriggerStateAsync(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerTriggerState const& state) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->ReportTriggerStateAsync(static_cast(state), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::ReportErrorAsync(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData const& errorData) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::ReportErrorAsync(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData const& errorData) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->ReportErrorAsync(*(void**)(&errorData), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::ReportErrorAsync(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData const& errorData, bool isRetriable, winrt::Windows::Devices::PointOfService::BarcodeScannerReport const& scanReport) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::ReportErrorAsync(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData const& errorData, bool isRetriable, winrt::Windows::Devices::PointOfService::BarcodeScannerReport const& scanReport) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->ReportErrorAsyncWithScanReport(*(void**)(&errorData), isRetriable, *(void**)(&scanReport), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::EnableScannerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::EnableScannerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->add_EnableScannerRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::EnableScannerRequested_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::EnableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::EnableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnableScannerRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::EnableScannerRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::EnableScannerRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->remove_EnableScannerRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::DisableScannerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::DisableScannerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->add_DisableScannerRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::DisableScannerRequested_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::DisableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::DisableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DisableScannerRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::DisableScannerRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::DisableScannerRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->remove_DisableScannerRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::SetActiveSymbologiesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::SetActiveSymbologiesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->add_SetActiveSymbologiesRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::SetActiveSymbologiesRequested_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::SetActiveSymbologiesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::SetActiveSymbologiesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SetActiveSymbologiesRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::SetActiveSymbologiesRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::SetActiveSymbologiesRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->remove_SetActiveSymbologiesRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::StartSoftwareTriggerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::StartSoftwareTriggerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->add_StartSoftwareTriggerRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::StartSoftwareTriggerRequested_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::StartSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::StartSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StartSoftwareTriggerRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::StartSoftwareTriggerRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::StartSoftwareTriggerRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->remove_StartSoftwareTriggerRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::StopSoftwareTriggerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::StopSoftwareTriggerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->add_StopSoftwareTriggerRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::StopSoftwareTriggerRequested_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::StopSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::StopSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StopSoftwareTriggerRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::StopSoftwareTriggerRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::StopSoftwareTriggerRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->remove_StopSoftwareTriggerRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::GetBarcodeSymbologyAttributesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::GetBarcodeSymbologyAttributesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->add_GetBarcodeSymbologyAttributesRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::GetBarcodeSymbologyAttributesRequested_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::GetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::GetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, GetBarcodeSymbologyAttributesRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::GetBarcodeSymbologyAttributesRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::GetBarcodeSymbologyAttributesRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->remove_GetBarcodeSymbologyAttributesRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::SetBarcodeSymbologyAttributesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::SetBarcodeSymbologyAttributesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->add_SetBarcodeSymbologyAttributesRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::SetBarcodeSymbologyAttributesRequested_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::SetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::SetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SetBarcodeSymbologyAttributesRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::SetBarcodeSymbologyAttributesRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::SetBarcodeSymbologyAttributesRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->remove_SetBarcodeSymbologyAttributesRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::HideVideoPreviewRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::HideVideoPreviewRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->add_HideVideoPreviewRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::HideVideoPreviewRequested_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::HideVideoPreviewRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::HideVideoPreviewRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, HideVideoPreviewRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::HideVideoPreviewRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection::HideVideoPreviewRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->remove_HideVideoPreviewRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection2::CreateFrameReaderAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection2::CreateFrameReaderAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection2)->CreateFrameReaderAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection2::CreateFrameReaderAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& preferredFormat) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection2::CreateFrameReaderAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& preferredFormat) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection2)->CreateFrameReaderWithFormatAsync(static_cast(preferredFormat), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection2::CreateFrameReaderAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& preferredFormat, winrt::Windows::Graphics::Imaging::BitmapSize const& preferredSize) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection2::CreateFrameReaderAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& preferredFormat, winrt::Windows::Graphics::Imaging::BitmapSize const& preferredSize) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection2)->CreateFrameReaderWithFormatAndSizeAsync(static_cast(preferredFormat), impl::bind_in(preferredSize), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderTriggerDetails::Connection() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderTriggerDetails::Connection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderTriggerDetails)->get_Connection(&value)); return winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest::Symbologies() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest::Symbologies() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequest)->get_Symbologies(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest::ReportCompletedAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest::ReportFailedAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest2::ReportFailedAsync(int32_t reason) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest2::ReportFailedAsync(int32_t reason) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequest2)->ReportFailedWithFailedReasonAsync(reason, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest2::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest2::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequest2)->ReportFailedWithFailedReasonAndDescriptionAsync(reason, *(void**)(&failedReasonDescription), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetActiveSymbologiesRequest) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequestEventArgs::Request() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequestEventArgs)->get_Request(&value)); return winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetActiveSymbologiesRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequestEventArgs::GetDeferral() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequestEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequestEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest::Symbology() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest::Symbology() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequest)->get_Symbology(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest::Attributes() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest::Attributes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequest)->get_Attributes(&value)); return winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest::ReportCompletedAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest::ReportFailedAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest2::ReportFailedAsync(int32_t reason) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest2::ReportFailedAsync(int32_t reason) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequest2)->ReportFailedWithFailedReasonAsync(reason, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest2::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest2::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequest2)->ReportFailedWithFailedReasonAndDescriptionAsync(reason, *(void**)(&failedReasonDescription), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetSymbologyAttributesRequest) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequestEventArgs::Request() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequestEventArgs)->get_Request(&value)); return winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetSymbologyAttributesRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequestEventArgs::GetDeferral() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequestEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequestEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest::ReportCompletedAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStartSoftwareTriggerRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest::ReportFailedAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStartSoftwareTriggerRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest2::ReportFailedAsync(int32_t reason) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest2::ReportFailedAsync(int32_t reason) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStartSoftwareTriggerRequest2)->ReportFailedWithFailedReasonAsync(reason, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest2::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest2::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStartSoftwareTriggerRequest2)->ReportFailedWithFailedReasonAndDescriptionAsync(reason, *(void**)(&failedReasonDescription), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStartSoftwareTriggerRequest) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequestEventArgs::Request() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStartSoftwareTriggerRequestEventArgs)->get_Request(&value)); return winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStartSoftwareTriggerRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequestEventArgs::GetDeferral() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequestEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStartSoftwareTriggerRequestEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest::ReportCompletedAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest::ReportCompletedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStopSoftwareTriggerRequest)->ReportCompletedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest::ReportFailedAsync() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest::ReportFailedAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStopSoftwareTriggerRequest)->ReportFailedAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest2::ReportFailedAsync(int32_t reason) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest2::ReportFailedAsync(int32_t reason) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStopSoftwareTriggerRequest2)->ReportFailedWithFailedReasonAsync(reason, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest2::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest2::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStopSoftwareTriggerRequest2)->ReportFailedWithFailedReasonAndDescriptionAsync(reason, *(void**)(&failedReasonDescription), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStopSoftwareTriggerRequest) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequestEventArgs::Request() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequestEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStopSoftwareTriggerRequestEventArgs)->get_Request(&value)); return winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStopSoftwareTriggerRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequestEventArgs::GetDeferral() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequestEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStopSoftwareTriggerRequestEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame::Format() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame::Format() const { winrt::Windows::Graphics::Imaging::BitmapPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerVideoFrame)->get_Format(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame::Width() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame::Width() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerVideoFrame)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame::Height() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame::Height() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerVideoFrame)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame::PixelData() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame::PixelData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerVideoFrame)->get_PixelData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder::IsCheckDigitValidationSupported() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder::IsCheckDigitValidationSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder)->get_IsCheckDigitValidationSupported(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder::IsCheckDigitValidationSupported(bool value) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder::IsCheckDigitValidationSupported(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder)->put_IsCheckDigitValidationSupported(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder::IsCheckDigitTransmissionSupported() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder::IsCheckDigitTransmissionSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder)->get_IsCheckDigitTransmissionSupported(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder::IsCheckDigitTransmissionSupported(bool value) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder::IsCheckDigitTransmissionSupported(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder)->put_IsCheckDigitTransmissionSupported(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder::IsDecodeLengthSupported() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder::IsDecodeLengthSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder)->get_IsDecodeLengthSupported(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder::IsDecodeLengthSupported(bool value) const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder::IsDecodeLengthSupported(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder)->put_IsDecodeLengthSupported(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes) consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder::CreateAttributes() const + template auto consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder::CreateAttributes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder)->CreateAttributes(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.PointOfService.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.PointOfService.h index 731794ab..7c08f5ae 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.PointOfService.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.PointOfService.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_PointOfService_H #define WINRT_Windows_Devices_PointOfService_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,3946 +15,3946 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.PointOfService.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IBarcodeScanner::DeviceId() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScanner::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeScannerCapabilities) consume_Windows_Devices_PointOfService_IBarcodeScanner::Capabilities() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScanner::Capabilities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->get_Capabilities(&value)); return winrt::Windows::Devices::PointOfService::BarcodeScannerCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IBarcodeScanner::ClaimScannerAsync() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScanner::ClaimScannerAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->ClaimScannerAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IBarcodeScanner::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const + template auto consume_Windows_Devices_PointOfService_IBarcodeScanner::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->CheckHealthAsync(static_cast(level), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_PointOfService_IBarcodeScanner::GetSupportedSymbologiesAsync() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScanner::GetSupportedSymbologiesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->GetSupportedSymbologiesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IBarcodeScanner::IsSymbologySupportedAsync(uint32_t barcodeSymbology) const + template auto consume_Windows_Devices_PointOfService_IBarcodeScanner::IsSymbologySupportedAsync(uint32_t barcodeSymbology) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->IsSymbologySupportedAsync(barcodeSymbology, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IBarcodeScanner::RetrieveStatisticsAsync(param::async_iterable const& statisticsCategories) const + template auto consume_Windows_Devices_PointOfService_IBarcodeScanner::RetrieveStatisticsAsync(param::async_iterable const& statisticsCategories) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->RetrieveStatisticsAsync(*(void**)(&statisticsCategories), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_PointOfService_IBarcodeScanner::GetSupportedProfiles() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScanner::GetSupportedProfiles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->GetSupportedProfiles(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeScanner::IsProfileSupported(param::hstring const& profile) const + template auto consume_Windows_Devices_PointOfService_IBarcodeScanner::IsProfileSupported(param::hstring const& profile) const { bool isSupported{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->IsProfileSupported(*(void**)(&profile), &isSupported)); return isSupported; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IBarcodeScanner::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IBarcodeScanner::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->add_StatusUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IBarcodeScanner::StatusUpdated_revoker consume_Windows_Devices_PointOfService_IBarcodeScanner::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IBarcodeScanner::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StatusUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IBarcodeScanner::StatusUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IBarcodeScanner::StatusUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->remove_StatusUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IBarcodeScanner2::VideoDeviceId() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScanner2::VideoDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner2)->get_VideoDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType) consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities::PowerReportingType() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities::PowerReportingType() const { winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities)->get_PowerReportingType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities::IsStatisticsReportingSupported() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities::IsStatisticsReportingSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities)->get_IsStatisticsReportingSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities::IsStatisticsUpdatingSupported() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities::IsStatisticsUpdatingSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities)->get_IsStatisticsUpdatingSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities::IsImagePreviewSupported() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities::IsImagePreviewSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities)->get_IsImagePreviewSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities1::IsSoftwareTriggerSupported() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities1::IsSoftwareTriggerSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities1)->get_IsSoftwareTriggerSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities2::IsVideoPreviewSupported() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities2::IsVideoPreviewSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities2)->get_IsVideoPreviewSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeScannerReport) consume_Windows_Devices_PointOfService_IBarcodeScannerDataReceivedEventArgs::Report() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerDataReceivedEventArgs::Report() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerDataReceivedEventArgs)->get_Report(&value)); return winrt::Windows::Devices::PointOfService::BarcodeScannerReport{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeScannerReport) consume_Windows_Devices_PointOfService_IBarcodeScannerErrorOccurredEventArgs::PartialInputData() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerErrorOccurredEventArgs::PartialInputData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerErrorOccurredEventArgs)->get_PartialInputData(&value)); return winrt::Windows::Devices::PointOfService::BarcodeScannerReport{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeScannerErrorOccurredEventArgs::IsRetriable() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerErrorOccurredEventArgs::IsRetriable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerErrorOccurredEventArgs)->get_IsRetriable(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData) consume_Windows_Devices_PointOfService_IBarcodeScannerErrorOccurredEventArgs::ErrorData() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerErrorOccurredEventArgs::ErrorData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerErrorOccurredEventArgs)->get_ErrorData(&value)); return winrt::Windows::Devices::PointOfService::UnifiedPosErrorData{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) consume_Windows_Devices_PointOfService_IBarcodeScannerImagePreviewReceivedEventArgs::Preview() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerImagePreviewReceivedEventArgs::Preview() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerImagePreviewReceivedEventArgs)->get_Preview(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeScannerReport::ScanDataType() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerReport::ScanDataType() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerReport)->get_ScanDataType(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_PointOfService_IBarcodeScannerReport::ScanData() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerReport::ScanData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerReport)->get_ScanData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_PointOfService_IBarcodeScannerReport::ScanDataLabel() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerReport::ScanDataLabel() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerReport)->get_ScanDataLabel(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeScannerReport) consume_Windows_Devices_PointOfService_IBarcodeScannerReportFactory::CreateInstance(uint32_t scanDataType, winrt::Windows::Storage::Streams::IBuffer const& scanData, winrt::Windows::Storage::Streams::IBuffer const& scanDataLabel) const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerReportFactory::CreateInstance(uint32_t scanDataType, winrt::Windows::Storage::Streams::IBuffer const& scanData, winrt::Windows::Storage::Streams::IBuffer const& scanDataLabel) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerReportFactory)->CreateInstance(scanDataType, *(void**)(&scanData), *(void**)(&scanDataLabel), &result)); return winrt::Windows::Devices::PointOfService::BarcodeScannerReport{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IBarcodeScannerStatics::GetDefaultAsync() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerStatics::GetDefaultAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerStatics)->GetDefaultAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IBarcodeScannerStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerStatics::FromIdAsync(param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerStatics)->FromIdAsync(*(void**)(&deviceId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IBarcodeScannerStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerStatics::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerStatics)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IBarcodeScannerStatics2::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerStatics2::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerStatics2)->GetDeviceSelectorWithConnectionTypes(static_cast(connectionTypes), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeScannerStatus) consume_Windows_Devices_PointOfService_IBarcodeScannerStatusUpdatedEventArgs::Status() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerStatusUpdatedEventArgs::Status() const { winrt::Windows::Devices::PointOfService::BarcodeScannerStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerStatusUpdatedEventArgs)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeScannerStatusUpdatedEventArgs::ExtendedStatus() const + template auto consume_Windows_Devices_PointOfService_IBarcodeScannerStatusUpdatedEventArgs::ExtendedStatus() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerStatusUpdatedEventArgs)->get_ExtendedStatus(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Unknown() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Unknown() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Unknown(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean8() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean8() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean8(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean8Add2() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean8Add2() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean8Add2(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean8Add5() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean8Add5() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean8Add5(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Eanv() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Eanv() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Eanv(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::EanvAdd2() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::EanvAdd2() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_EanvAdd2(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::EanvAdd5() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::EanvAdd5() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_EanvAdd5(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean13() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean13() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean13(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean13Add2() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean13Add2() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean13Add2(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean13Add5() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean13Add5() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean13Add5(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Isbn() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Isbn() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Isbn(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::IsbnAdd5() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::IsbnAdd5() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_IsbnAdd5(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ismn() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ismn() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ismn(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::IsmnAdd2() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::IsmnAdd2() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_IsmnAdd2(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::IsmnAdd5() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::IsmnAdd5() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_IsmnAdd5(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Issn() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Issn() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Issn(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::IssnAdd2() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::IssnAdd2() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_IssnAdd2(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::IssnAdd5() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::IssnAdd5() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_IssnAdd5(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean99() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean99() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean99(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean99Add2() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean99Add2() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean99Add2(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean99Add5() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ean99Add5() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean99Add5(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Upca() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Upca() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Upca(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UpcaAdd2() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UpcaAdd2() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UpcaAdd2(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UpcaAdd5() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UpcaAdd5() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UpcaAdd5(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Upce() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Upce() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Upce(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UpceAdd2() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UpceAdd2() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UpceAdd2(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UpceAdd5() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UpceAdd5() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UpceAdd5(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UpcCoupon() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UpcCoupon() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UpcCoupon(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::TfStd() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::TfStd() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_TfStd(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::TfDis() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::TfDis() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_TfDis(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::TfInt() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::TfInt() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_TfInt(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::TfInd() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::TfInd() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_TfInd(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::TfMat() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::TfMat() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_TfMat(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::TfIata() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::TfIata() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_TfIata(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Gs1DatabarType1() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Gs1DatabarType1() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Gs1DatabarType1(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Gs1DatabarType2() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Gs1DatabarType2() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Gs1DatabarType2(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Gs1DatabarType3() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Gs1DatabarType3() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Gs1DatabarType3(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code39() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code39() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code39(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code39Ex() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code39Ex() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code39Ex(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Trioptic39() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Trioptic39() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Trioptic39(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code32() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code32() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code32(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Pzn() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Pzn() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Pzn(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code93() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code93() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code93(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code93Ex() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code93Ex() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code93Ex(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code128() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code128() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code128(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Gs1128() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Gs1128() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Gs1128(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Gs1128Coupon() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Gs1128Coupon() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Gs1128Coupon(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UccEan128() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UccEan128() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UccEan128(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Sisac() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Sisac() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Sisac(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Isbt() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Isbt() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Isbt(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Codabar() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Codabar() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Codabar(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code11() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code11() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code11(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Msi() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Msi() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Msi(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Plessey() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Plessey() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Plessey(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Telepen() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Telepen() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Telepen(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code16k() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code16k() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code16k(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::CodablockA() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::CodablockA() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_CodablockA(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::CodablockF() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::CodablockF() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_CodablockF(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Codablock128() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Codablock128() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Codablock128(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code49() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Code49() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code49(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Aztec() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Aztec() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Aztec(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::DataCode() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::DataCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_DataCode(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::DataMatrix() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::DataMatrix() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_DataMatrix(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::HanXin() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::HanXin() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_HanXin(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Maxicode() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Maxicode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Maxicode(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::MicroPdf417() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::MicroPdf417() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_MicroPdf417(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::MicroQr() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::MicroQr() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_MicroQr(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Pdf417() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Pdf417() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Pdf417(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Qr() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Qr() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Qr(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::MsTag() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::MsTag() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_MsTag(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ccab() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ccab() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ccab(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ccc() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Ccc() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ccc(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Tlc39() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Tlc39() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Tlc39(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::AusPost() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::AusPost() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_AusPost(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::CanPost() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::CanPost() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_CanPost(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::ChinaPost() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::ChinaPost() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_ChinaPost(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::DutchKix() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::DutchKix() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_DutchKix(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::InfoMail() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::InfoMail() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_InfoMail(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::ItalianPost25() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::ItalianPost25() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_ItalianPost25(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::ItalianPost39() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::ItalianPost39() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_ItalianPost39(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::JapanPost() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::JapanPost() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_JapanPost(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::KoreanPost() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::KoreanPost() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_KoreanPost(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::SwedenPost() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::SwedenPost() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_SwedenPost(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UkPost() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UkPost() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UkPost(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UsIntelligent() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UsIntelligent() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UsIntelligent(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UsIntelligentPkg() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UsIntelligentPkg() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UsIntelligentPkg(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UsPlanet() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UsPlanet() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UsPlanet(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UsPostNet() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::UsPostNet() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UsPostNet(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Us4StateFics() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Us4StateFics() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Us4StateFics(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::OcrA() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::OcrA() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_OcrA(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::OcrB() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::OcrB() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_OcrB(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Micr() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::Micr() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Micr(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::ExtendedBase() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::ExtendedBase() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_ExtendedBase(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::GetName(uint32_t scanDataType) const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics::GetName(uint32_t scanDataType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->GetName(scanDataType, &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics2::Gs1DWCode() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics2::Gs1DWCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics2)->get_Gs1DWCode(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::IsCheckDigitValidationEnabled() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::IsCheckDigitValidationEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->get_IsCheckDigitValidationEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::IsCheckDigitValidationEnabled(bool value) const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::IsCheckDigitValidationEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->put_IsCheckDigitValidationEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::IsCheckDigitValidationSupported() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::IsCheckDigitValidationSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->get_IsCheckDigitValidationSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::IsCheckDigitTransmissionEnabled() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::IsCheckDigitTransmissionEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->get_IsCheckDigitTransmissionEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::IsCheckDigitTransmissionEnabled(bool value) const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::IsCheckDigitTransmissionEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->put_IsCheckDigitTransmissionEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::IsCheckDigitTransmissionSupported() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::IsCheckDigitTransmissionSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->get_IsCheckDigitTransmissionSupported(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::DecodeLength1() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::DecodeLength1() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->get_DecodeLength1(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::DecodeLength1(uint32_t value) const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::DecodeLength1(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->put_DecodeLength1(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::DecodeLength2() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::DecodeLength2() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->get_DecodeLength2(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::DecodeLength2(uint32_t value) const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::DecodeLength2(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->put_DecodeLength2(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeSymbologyDecodeLengthKind) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::DecodeLengthKind() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::DecodeLengthKind() const { winrt::Windows::Devices::PointOfService::BarcodeSymbologyDecodeLengthKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->get_DecodeLengthKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::DecodeLengthKind(winrt::Windows::Devices::PointOfService::BarcodeSymbologyDecodeLengthKind const& value) const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::DecodeLengthKind(winrt::Windows::Devices::PointOfService::BarcodeSymbologyDecodeLengthKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->put_DecodeLengthKind(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::IsDecodeLengthSupported() const + template auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes::IsDecodeLengthSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->get_IsDecodeLengthSupported(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ICashDrawer::DeviceId() const + template auto consume_Windows_Devices_PointOfService_ICashDrawer::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawer)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerCapabilities) consume_Windows_Devices_PointOfService_ICashDrawer::Capabilities() const + template auto consume_Windows_Devices_PointOfService_ICashDrawer::Capabilities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawer)->get_Capabilities(&value)); return winrt::Windows::Devices::PointOfService::CashDrawerCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerStatus) consume_Windows_Devices_PointOfService_ICashDrawer::Status() const + template auto consume_Windows_Devices_PointOfService_ICashDrawer::Status() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawer)->get_Status(&value)); return winrt::Windows::Devices::PointOfService::CashDrawerStatus{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICashDrawer::IsDrawerOpen() const + template auto consume_Windows_Devices_PointOfService_ICashDrawer::IsDrawerOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawer)->get_IsDrawerOpen(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerEventSource) consume_Windows_Devices_PointOfService_ICashDrawer::DrawerEventSource() const + template auto consume_Windows_Devices_PointOfService_ICashDrawer::DrawerEventSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawer)->get_DrawerEventSource(&value)); return winrt::Windows::Devices::PointOfService::CashDrawerEventSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ICashDrawer::ClaimDrawerAsync() const + template auto consume_Windows_Devices_PointOfService_ICashDrawer::ClaimDrawerAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawer)->ClaimDrawerAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ICashDrawer::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const + template auto consume_Windows_Devices_PointOfService_ICashDrawer::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawer)->CheckHealthAsync(static_cast(level), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ICashDrawer::GetStatisticsAsync(param::async_iterable const& statisticsCategories) const + template auto consume_Windows_Devices_PointOfService_ICashDrawer::GetStatisticsAsync(param::async_iterable const& statisticsCategories) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawer)->GetStatisticsAsync(*(void**)(&statisticsCategories), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_ICashDrawer::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_ICashDrawer::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawer)->add_StatusUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_ICashDrawer::StatusUpdated_revoker consume_Windows_Devices_PointOfService_ICashDrawer::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_ICashDrawer::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StatusUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICashDrawer::StatusUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_ICashDrawer::StatusUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawer)->remove_StatusUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType) consume_Windows_Devices_PointOfService_ICashDrawerCapabilities::PowerReportingType() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCapabilities::PowerReportingType() const { winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCapabilities)->get_PowerReportingType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICashDrawerCapabilities::IsStatisticsReportingSupported() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCapabilities::IsStatisticsReportingSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCapabilities)->get_IsStatisticsReportingSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICashDrawerCapabilities::IsStatisticsUpdatingSupported() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCapabilities::IsStatisticsUpdatingSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCapabilities)->get_IsStatisticsUpdatingSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICashDrawerCapabilities::IsStatusReportingSupported() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCapabilities::IsStatusReportingSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCapabilities)->get_IsStatusReportingSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICashDrawerCapabilities::IsStatusMultiDrawerDetectSupported() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCapabilities::IsStatusMultiDrawerDetectSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCapabilities)->get_IsStatusMultiDrawerDetectSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICashDrawerCapabilities::IsDrawerOpenSensorAvailable() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCapabilities::IsDrawerOpenSensorAvailable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCapabilities)->get_IsDrawerOpenSensorAvailable(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::AlarmTimeout(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::AlarmTimeout(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm)->put_AlarmTimeout(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::AlarmTimeout() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::AlarmTimeout() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm)->get_AlarmTimeout(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::BeepFrequency(uint32_t value) const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::BeepFrequency(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm)->put_BeepFrequency(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::BeepFrequency() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::BeepFrequency() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm)->get_BeepFrequency(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::BeepDuration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::BeepDuration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm)->put_BeepDuration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::BeepDuration() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::BeepDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm)->get_BeepDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::BeepDelay(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::BeepDelay(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm)->put_BeepDelay(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::BeepDelay() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::BeepDelay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm)->get_BeepDelay(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::AlarmTimeoutExpired(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::AlarmTimeoutExpired(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm)->add_AlarmTimeoutExpired(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::AlarmTimeoutExpired_revoker consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::AlarmTimeoutExpired(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::AlarmTimeoutExpired(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AlarmTimeoutExpired(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::AlarmTimeoutExpired(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::AlarmTimeoutExpired(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm)->remove_AlarmTimeoutExpired(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::StartAsync() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm::StartAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm)->StartAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_ICashDrawerEventSource::DrawerClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_ICashDrawerEventSource::DrawerClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerEventSource)->add_DrawerClosed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_ICashDrawerEventSource::DrawerClosed_revoker consume_Windows_Devices_PointOfService_ICashDrawerEventSource::DrawerClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_ICashDrawerEventSource::DrawerClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DrawerClosed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICashDrawerEventSource::DrawerClosed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_ICashDrawerEventSource::DrawerClosed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerEventSource)->remove_DrawerClosed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_ICashDrawerEventSource::DrawerOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_ICashDrawerEventSource::DrawerOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerEventSource)->add_DrawerOpened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_ICashDrawerEventSource::DrawerOpened_revoker consume_Windows_Devices_PointOfService_ICashDrawerEventSource::DrawerOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_ICashDrawerEventSource::DrawerOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DrawerOpened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICashDrawerEventSource::DrawerOpened(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_ICashDrawerEventSource::DrawerOpened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerEventSource)->remove_DrawerOpened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawer) consume_Windows_Devices_PointOfService_ICashDrawerEventSourceEventArgs::CashDrawer() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerEventSourceEventArgs::CashDrawer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerEventSourceEventArgs)->get_CashDrawer(&value)); return winrt::Windows::Devices::PointOfService::CashDrawer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ICashDrawerStatics::GetDefaultAsync() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerStatics::GetDefaultAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerStatics)->GetDefaultAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ICashDrawerStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_PointOfService_ICashDrawerStatics::FromIdAsync(param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerStatics)->FromIdAsync(*(void**)(&deviceId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ICashDrawerStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerStatics::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerStatics)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ICashDrawerStatics2::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const + template auto consume_Windows_Devices_PointOfService_ICashDrawerStatics2::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerStatics2)->GetDeviceSelectorWithConnectionTypes(static_cast(connectionTypes), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerStatusKind) consume_Windows_Devices_PointOfService_ICashDrawerStatus::StatusKind() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerStatus::StatusKind() const { winrt::Windows::Devices::PointOfService::CashDrawerStatusKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerStatus)->get_StatusKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_ICashDrawerStatus::ExtendedStatus() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerStatus::ExtendedStatus() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerStatus)->get_ExtendedStatus(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerStatus) consume_Windows_Devices_PointOfService_ICashDrawerStatusUpdatedEventArgs::Status() const + template auto consume_Windows_Devices_PointOfService_ICashDrawerStatusUpdatedEventArgs::Status() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerStatusUpdatedEventArgs)->get_Status(&value)); return winrt::Windows::Devices::PointOfService::CashDrawerStatus{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::DeviceId() const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::IsEnabled() const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::IsDisabledOnDataReceived(bool value) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::IsDisabledOnDataReceived(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->put_IsDisabledOnDataReceived(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::IsDisabledOnDataReceived() const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::IsDisabledOnDataReceived() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->get_IsDisabledOnDataReceived(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::IsDecodeDataEnabled(bool value) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::IsDecodeDataEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->put_IsDecodeDataEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::IsDecodeDataEnabled() const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::IsDecodeDataEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->get_IsDecodeDataEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::EnableAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::EnableAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->EnableAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::DisableAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::DisableAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->DisableAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::RetainDevice() const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::RetainDevice() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->RetainDevice()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::SetActiveSymbologiesAsync(param::async_iterable const& symbologies) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::SetActiveSymbologiesAsync(param::async_iterable const& symbologies) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->SetActiveSymbologiesAsync(*(void**)(&symbologies), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->ResetStatisticsAsync(*(void**)(&statisticsCategories), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::UpdateStatisticsAsync(param::async_iterable> const& statistics) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::UpdateStatisticsAsync(param::async_iterable> const& statistics) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->UpdateStatisticsAsync(*(void**)(&statistics), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::SetActiveProfileAsync(param::hstring const& profile) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::SetActiveProfileAsync(param::hstring const& profile) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->SetActiveProfileAsync(*(void**)(&profile), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::DataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::DataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->add_DataReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::DataReceived_revoker consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DataReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::DataReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::DataReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->remove_DataReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::TriggerPressed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::TriggerPressed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->add_TriggerPressed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::TriggerPressed_revoker consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::TriggerPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::TriggerPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, TriggerPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::TriggerPressed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::TriggerPressed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->remove_TriggerPressed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::TriggerReleased(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::TriggerReleased(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->add_TriggerReleased(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::TriggerReleased_revoker consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::TriggerReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::TriggerReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, TriggerReleased(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::TriggerReleased(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::TriggerReleased(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->remove_TriggerReleased(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ReleaseDeviceRequested(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ReleaseDeviceRequested(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->add_ReleaseDeviceRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ReleaseDeviceRequested_revoker consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, ReleaseDeviceRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->remove_ReleaseDeviceRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ImagePreviewReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ImagePreviewReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->add_ImagePreviewReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ImagePreviewReceived_revoker consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ImagePreviewReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ImagePreviewReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ImagePreviewReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ImagePreviewReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ImagePreviewReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->remove_ImagePreviewReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->add_ErrorOccurred(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ErrorOccurred_revoker consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ErrorOccurred(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ErrorOccurred(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner::ErrorOccurred(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->remove_ErrorOccurred(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner1::StartSoftwareTriggerAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner1::StartSoftwareTriggerAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner1)->StartSoftwareTriggerAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner1::StopSoftwareTriggerAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner1::StopSoftwareTriggerAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner1)->StopSoftwareTriggerAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner2::GetSymbologyAttributesAsync(uint32_t barcodeSymbology) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner2::GetSymbologyAttributesAsync(uint32_t barcodeSymbology) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner2)->GetSymbologyAttributesAsync(barcodeSymbology, &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner2::SetSymbologyAttributesAsync(uint32_t barcodeSymbology, winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes const& attributes) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner2::SetSymbologyAttributesAsync(uint32_t barcodeSymbology, winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes const& attributes) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner2)->SetSymbologyAttributesAsync(barcodeSymbology, *(void**)(&attributes), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3::ShowVideoPreviewAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3::ShowVideoPreviewAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner3)->ShowVideoPreviewAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3::HideVideoPreview() const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3::HideVideoPreview() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner3)->HideVideoPreview()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3::IsVideoPreviewShownOnEnable(bool value) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3::IsVideoPreviewShownOnEnable(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner3)->put_IsVideoPreviewShownOnEnable(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3::IsVideoPreviewShownOnEnable() const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3::IsVideoPreviewShownOnEnable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner3)->get_IsVideoPreviewShownOnEnable(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner4)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4::Closed_revoker consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner4)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedCashDrawer::DeviceId() const + template auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedCashDrawer::IsEnabled() const + template auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedCashDrawer::IsDrawerOpen() const + template auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer::IsDrawerOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->get_IsDrawerOpen(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerCloseAlarm) consume_Windows_Devices_PointOfService_IClaimedCashDrawer::CloseAlarm() const + template auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer::CloseAlarm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->get_CloseAlarm(&value)); return winrt::Windows::Devices::PointOfService::CashDrawerCloseAlarm{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedCashDrawer::OpenDrawerAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer::OpenDrawerAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->OpenDrawerAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedCashDrawer::EnableAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer::EnableAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->EnableAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedCashDrawer::DisableAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer::DisableAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->DisableAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedCashDrawer::RetainDeviceAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer::RetainDeviceAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->RetainDeviceAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedCashDrawer::ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const + template auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer::ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->ResetStatisticsAsync(*(void**)(&statisticsCategories), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedCashDrawer::UpdateStatisticsAsync(param::async_iterable> const& statistics) const + template auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer::UpdateStatisticsAsync(param::async_iterable> const& statistics) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->UpdateStatisticsAsync(*(void**)(&statistics), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedCashDrawer::ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer::ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->add_ReleaseDeviceRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedCashDrawer::ReleaseDeviceRequested_revoker consume_Windows_Devices_PointOfService_IClaimedCashDrawer::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReleaseDeviceRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedCashDrawer::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->remove_ReleaseDeviceRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedCashDrawer2::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer2::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer2)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedCashDrawer2::Closed_revoker consume_Windows_Devices_PointOfService_IClaimedCashDrawer2::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer2::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedCashDrawer2::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer2::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer2)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::JournalPrintJob) consume_Windows_Devices_PointOfService_IClaimedJournalPrinter::CreateJob() const + template auto consume_Windows_Devices_PointOfService_IClaimedJournalPrinter::CreateJob() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedJournalPrinter)->CreateJob(&value)); return winrt::Windows::Devices::PointOfService::JournalPrintJob{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedLineDisplay::DeviceId() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCapabilities) consume_Windows_Devices_PointOfService_IClaimedLineDisplay::Capabilities() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay::Capabilities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay)->get_Capabilities(&value)); return winrt::Windows::Devices::PointOfService::LineDisplayCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedLineDisplay::PhysicalDeviceName() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay::PhysicalDeviceName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay)->get_PhysicalDeviceName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedLineDisplay::PhysicalDeviceDescription() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay::PhysicalDeviceDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay)->get_PhysicalDeviceDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedLineDisplay::DeviceControlDescription() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay::DeviceControlDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay)->get_DeviceControlDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedLineDisplay::DeviceControlVersion() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay::DeviceControlVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay)->get_DeviceControlVersion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedLineDisplay::DeviceServiceVersion() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay::DeviceServiceVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay)->get_DeviceServiceVersion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayWindow) consume_Windows_Devices_PointOfService_IClaimedLineDisplay::DefaultWindow() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay::DefaultWindow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay)->get_DefaultWindow(&value)); return winrt::Windows::Devices::PointOfService::LineDisplayWindow{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedLineDisplay::RetainDevice() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay::RetainDevice() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay)->RetainDevice()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedLineDisplay::ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay::ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay)->add_ReleaseDeviceRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedLineDisplay::ReleaseDeviceRequested_revoker consume_Windows_Devices_PointOfService_IClaimedLineDisplay::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReleaseDeviceRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedLineDisplay::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay)->remove_ReleaseDeviceRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::GetStatisticsAsync(param::async_iterable const& statisticsCategories) const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::GetStatisticsAsync(param::async_iterable const& statisticsCategories) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->GetStatisticsAsync(*(void**)(&statisticsCategories), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->CheckHealthAsync(static_cast(level), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::CheckPowerStatusAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::CheckPowerStatusAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->CheckPowerStatusAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->add_StatusUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::StatusUpdated_revoker consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StatusUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::StatusUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::StatusUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->remove_StatusUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::SupportedScreenSizesInCharacters() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::SupportedScreenSizesInCharacters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->get_SupportedScreenSizesInCharacters(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::MaxBitmapSizeInPixels() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::MaxBitmapSizeInPixels() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->get_MaxBitmapSizeInPixels(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::SupportedCharacterSets() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::SupportedCharacterSets() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->get_SupportedCharacterSets(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCustomGlyphs) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::CustomGlyphs() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::CustomGlyphs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->get_CustomGlyphs(&value)); return winrt::Windows::Devices::PointOfService::LineDisplayCustomGlyphs{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayAttributes) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::GetAttributes() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::GetAttributes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->GetAttributes(&value)); return winrt::Windows::Devices::PointOfService::LineDisplayAttributes{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::TryUpdateAttributesAsync(winrt::Windows::Devices::PointOfService::LineDisplayAttributes const& attributes) const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::TryUpdateAttributesAsync(winrt::Windows::Devices::PointOfService::LineDisplayAttributes const& attributes) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->TryUpdateAttributesAsync(*(void**)(&attributes), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::TrySetDescriptorAsync(uint32_t descriptor, winrt::Windows::Devices::PointOfService::LineDisplayDescriptorState const& descriptorState) const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::TrySetDescriptorAsync(uint32_t descriptor, winrt::Windows::Devices::PointOfService::LineDisplayDescriptorState const& descriptorState) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->TrySetDescriptorAsync(descriptor, static_cast(descriptorState), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::TryClearDescriptorsAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::TryClearDescriptorsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->TryClearDescriptorsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::TryCreateWindowAsync(winrt::Windows::Foundation::Rect const& viewport, winrt::Windows::Foundation::Size const& windowSize) const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::TryCreateWindowAsync(winrt::Windows::Foundation::Rect const& viewport, winrt::Windows::Foundation::Size const& windowSize) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->TryCreateWindowAsync(impl::bind_in(viewport), impl::bind_in(windowSize), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap) const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->TryStoreStorageFileBitmapAsync(*(void**)(&bitmap), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment) const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->TryStoreStorageFileBitmapWithAlignmentAsync(*(void**)(&bitmap), static_cast(horizontalAlignment), static_cast(verticalAlignment), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment, int32_t widthInPixels) const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2::TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment, int32_t widthInPixels) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->TryStoreStorageFileBitmapWithAlignmentAndWidthAsync(*(void**)(&bitmap), static_cast(horizontalAlignment), static_cast(verticalAlignment), widthInPixels, &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedLineDisplay3::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay3::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay3)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedLineDisplay3::Closed_revoker consume_Windows_Devices_PointOfService_IClaimedLineDisplay3::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay3::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedLineDisplay3::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay3::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay3)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedLineDisplayStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplayStatics::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplayStatics)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedLineDisplayStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplayStatics::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplayStatics)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedLineDisplayStatics::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const + template auto consume_Windows_Devices_PointOfService_IClaimedLineDisplayStatics::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplayStatics)->GetDeviceSelectorWithConnectionTypes(static_cast(connectionTypes), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::DeviceId() const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::IsEnabled() const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::IsDisabledOnDataReceived(bool value) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::IsDisabledOnDataReceived(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->put_IsDisabledOnDataReceived(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::IsDisabledOnDataReceived() const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::IsDisabledOnDataReceived() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->get_IsDisabledOnDataReceived(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::IsDecodeDataEnabled(bool value) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::IsDecodeDataEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->put_IsDecodeDataEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::IsDecodeDataEnabled() const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::IsDecodeDataEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->get_IsDecodeDataEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::IsDeviceAuthenticated() const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::IsDeviceAuthenticated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->get_IsDeviceAuthenticated(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::DataEncryptionAlgorithm(uint32_t value) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::DataEncryptionAlgorithm(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->put_DataEncryptionAlgorithm(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::DataEncryptionAlgorithm() const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::DataEncryptionAlgorithm() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->get_DataEncryptionAlgorithm(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::TracksToRead(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackIds const& value) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::TracksToRead(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackIds const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->put_TracksToRead(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackIds) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::TracksToRead() const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::TracksToRead() const { winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackIds value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->get_TracksToRead(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::IsTransmitSentinelsEnabled(bool value) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::IsTransmitSentinelsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->put_IsTransmitSentinelsEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::IsTransmitSentinelsEnabled() const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::IsTransmitSentinelsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->get_IsTransmitSentinelsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::EnableAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::EnableAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->EnableAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::DisableAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::DisableAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->DisableAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::RetainDevice() const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::RetainDevice() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->RetainDevice()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::SetErrorReportingType(winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorReportingType const& value) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::SetErrorReportingType(winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorReportingType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->SetErrorReportingType(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::RetrieveDeviceAuthenticationDataAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::RetrieveDeviceAuthenticationDataAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->RetrieveDeviceAuthenticationDataAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::AuthenticateDeviceAsync(array_view responseToken) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::AuthenticateDeviceAsync(array_view responseToken) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->AuthenticateDeviceAsync(responseToken.size(), get_abi(responseToken), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::DeAuthenticateDeviceAsync(array_view responseToken) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::DeAuthenticateDeviceAsync(array_view responseToken) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->DeAuthenticateDeviceAsync(responseToken.size(), get_abi(responseToken), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::UpdateKeyAsync(param::hstring const& key, param::hstring const& keyName) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::UpdateKeyAsync(param::hstring const& key, param::hstring const& keyName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->UpdateKeyAsync(*(void**)(&key), *(void**)(&keyName), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->ResetStatisticsAsync(*(void**)(&statisticsCategories), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::UpdateStatisticsAsync(param::async_iterable> const& statistics) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::UpdateStatisticsAsync(param::async_iterable> const& statistics) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->UpdateStatisticsAsync(*(void**)(&statistics), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::BankCardDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::BankCardDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->add_BankCardDataReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::BankCardDataReceived_revoker consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::BankCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::BankCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BankCardDataReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::BankCardDataReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::BankCardDataReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->remove_BankCardDataReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::AamvaCardDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::AamvaCardDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->add_AamvaCardDataReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::AamvaCardDataReceived_revoker consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::AamvaCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::AamvaCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AamvaCardDataReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::AamvaCardDataReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::AamvaCardDataReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->remove_AamvaCardDataReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::VendorSpecificDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::VendorSpecificDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->add_VendorSpecificDataReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::VendorSpecificDataReceived_revoker consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::VendorSpecificDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::VendorSpecificDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, VendorSpecificDataReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::VendorSpecificDataReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::VendorSpecificDataReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->remove_VendorSpecificDataReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::ReleaseDeviceRequested(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::ReleaseDeviceRequested(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->add_ReleaseDeviceRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::ReleaseDeviceRequested_revoker consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, ReleaseDeviceRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->remove_ReleaseDeviceRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->add_ErrorOccurred(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::ErrorOccurred_revoker consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ErrorOccurred(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::ErrorOccurred(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader::ErrorOccurred(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->remove_ErrorOccurred(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader2)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2::Closed_revoker consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader2)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::DeviceId() const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::IsEnabled() const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::CharacterSet(uint32_t value) const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::CharacterSet(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->put_CharacterSet(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::CharacterSet() const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::CharacterSet() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->get_CharacterSet(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::IsCoverOpen() const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::IsCoverOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->get_IsCoverOpen(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::IsCharacterSetMappingEnabled(bool value) const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::IsCharacterSetMappingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->put_IsCharacterSetMappingEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::IsCharacterSetMappingEnabled() const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::IsCharacterSetMappingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->get_IsCharacterSetMappingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::MapMode(winrt::Windows::Devices::PointOfService::PosPrinterMapMode const& value) const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::MapMode(winrt::Windows::Devices::PointOfService::PosPrinterMapMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->put_MapMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterMapMode) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::MapMode() const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::MapMode() const { winrt::Windows::Devices::PointOfService::PosPrinterMapMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->get_MapMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::ClaimedReceiptPrinter) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::Receipt() const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::Receipt() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->get_Receipt(&value)); return winrt::Windows::Devices::PointOfService::ClaimedReceiptPrinter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::ClaimedSlipPrinter) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::Slip() const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::Slip() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->get_Slip(&value)); return winrt::Windows::Devices::PointOfService::ClaimedSlipPrinter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::ClaimedJournalPrinter) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::Journal() const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::Journal() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->get_Journal(&value)); return winrt::Windows::Devices::PointOfService::ClaimedJournalPrinter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::EnableAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::EnableAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->EnableAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::DisableAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::DisableAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->DisableAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::RetainDeviceAsync() const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::RetainDeviceAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->RetainDeviceAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->ResetStatisticsAsync(*(void**)(&statisticsCategories), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::UpdateStatisticsAsync(param::async_iterable> const& statistics) const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::UpdateStatisticsAsync(param::async_iterable> const& statistics) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->UpdateStatisticsAsync(*(void**)(&statistics), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->add_ReleaseDeviceRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedPosPrinter::ReleaseDeviceRequested_revoker consume_Windows_Devices_PointOfService_IClaimedPosPrinter::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReleaseDeviceRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedPosPrinter::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->remove_ReleaseDeviceRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedPosPrinter2::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter2::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter2)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IClaimedPosPrinter2::Closed_revoker consume_Windows_Devices_PointOfService_IClaimedPosPrinter2::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter2::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedPosPrinter2::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter2::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter2)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter::SidewaysMaxLines() const + template auto consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter::SidewaysMaxLines() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedReceiptPrinter)->get_SidewaysMaxLines(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter::SidewaysMaxChars() const + template auto consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter::SidewaysMaxChars() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedReceiptPrinter)->get_SidewaysMaxChars(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter::LinesToPaperCut() const + template auto consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter::LinesToPaperCut() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedReceiptPrinter)->get_LinesToPaperCut(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter::PageSize() const + template auto consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter::PageSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedReceiptPrinter)->get_PageSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter::PrintArea() const + template auto consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter::PrintArea() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedReceiptPrinter)->get_PrintArea(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::ReceiptPrintJob) consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter::CreateJob() const + template auto consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter::CreateJob() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedReceiptPrinter)->CreateJob(&value)); return winrt::Windows::Devices::PointOfService::ReceiptPrintJob{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::SidewaysMaxLines() const + template auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::SidewaysMaxLines() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->get_SidewaysMaxLines(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::SidewaysMaxChars() const + template auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::SidewaysMaxChars() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->get_SidewaysMaxChars(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::MaxLines() const + template auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::MaxLines() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->get_MaxLines(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::LinesNearEndToEnd() const + template auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::LinesNearEndToEnd() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->get_LinesNearEndToEnd(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterPrintSide) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::PrintSide() const + template auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::PrintSide() const { winrt::Windows::Devices::PointOfService::PosPrinterPrintSide value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->get_PrintSide(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::PageSize() const + template auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::PageSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->get_PageSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::PrintArea() const + template auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::PrintArea() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->get_PrintArea(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::OpenJaws() const + template auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::OpenJaws() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->OpenJaws()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::CloseJaws() const + template auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::CloseJaws() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->CloseJaws()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::InsertSlipAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const + template auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::InsertSlipAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->InsertSlipAsync(impl::bind_in(timeout), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::RemoveSlipAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const + template auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::RemoveSlipAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->RemoveSlipAsync(impl::bind_in(timeout), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::ChangePrintSide(winrt::Windows::Devices::PointOfService::PosPrinterPrintSide const& printSide) const + template auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::ChangePrintSide(winrt::Windows::Devices::PointOfService::PosPrinterPrintSide const& printSide) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->ChangePrintSide(static_cast(printSide))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::SlipPrintJob) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::CreateJob() const + template auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter::CreateJob() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->CreateJob(&value)); return winrt::Windows::Devices::PointOfService::SlipPrintJob{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::CharactersPerLine(uint32_t value) const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::CharactersPerLine(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->put_CharactersPerLine(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::CharactersPerLine() const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::CharactersPerLine() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_CharactersPerLine(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::LineHeight(uint32_t value) const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::LineHeight(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->put_LineHeight(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::LineHeight() const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::LineHeight() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_LineHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::LineSpacing(uint32_t value) const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::LineSpacing(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->put_LineSpacing(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::LineSpacing() const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::LineSpacing() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_LineSpacing(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::LineWidth() const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::LineWidth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_LineWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsLetterQuality(bool value) const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsLetterQuality(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->put_IsLetterQuality(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsLetterQuality() const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsLetterQuality() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_IsLetterQuality(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsPaperNearEnd() const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsPaperNearEnd() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_IsPaperNearEnd(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::ColorCartridge(winrt::Windows::Devices::PointOfService::PosPrinterColorCartridge const& value) const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::ColorCartridge(winrt::Windows::Devices::PointOfService::PosPrinterColorCartridge const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->put_ColorCartridge(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterColorCartridge) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::ColorCartridge() const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::ColorCartridge() const { winrt::Windows::Devices::PointOfService::PosPrinterColorCartridge value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_ColorCartridge(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsCoverOpen() const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsCoverOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_IsCoverOpen(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsCartridgeRemoved() const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsCartridgeRemoved() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_IsCartridgeRemoved(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsCartridgeEmpty() const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsCartridgeEmpty() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_IsCartridgeEmpty(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsHeadCleaning() const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsHeadCleaning() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_IsHeadCleaning(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsPaperEmpty() const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsPaperEmpty() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_IsPaperEmpty(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsReadyToPrint() const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::IsReadyToPrint() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_IsReadyToPrint(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::ValidateData(param::hstring const& data) const + template auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation::ValidateData(param::hstring const& data) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->ValidateData(*(void**)(&data), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsPrinterPresent() const + template auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsPrinterPresent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsPrinterPresent(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsDualColorSupported() const + template auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsDualColorSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsDualColorSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterColorCapabilities) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::ColorCartridgeCapabilities() const + template auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::ColorCartridgeCapabilities() const { winrt::Windows::Devices::PointOfService::PosPrinterColorCapabilities value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_ColorCartridgeCapabilities(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterCartridgeSensors) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::CartridgeSensors() const + template auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::CartridgeSensors() const { winrt::Windows::Devices::PointOfService::PosPrinterCartridgeSensors value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_CartridgeSensors(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsBoldSupported() const + template auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsBoldSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsBoldSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsItalicSupported() const + template auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsItalicSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsItalicSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsUnderlineSupported() const + template auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsUnderlineSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsUnderlineSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsDoubleHighPrintSupported() const + template auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsDoubleHighPrintSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsDoubleHighPrintSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsDoubleWidePrintSupported() const + template auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsDoubleWidePrintSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsDoubleWidePrintSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsDoubleHighDoubleWidePrintSupported() const + template auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsDoubleHighDoubleWidePrintSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsDoubleHighDoubleWidePrintSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsPaperEmptySensorSupported() const + template auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsPaperEmptySensorSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsPaperEmptySensorSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsPaperNearEndSensorSupported() const + template auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::IsPaperNearEndSensorSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsPaperNearEndSensorSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::SupportedCharactersPerLine() const + template auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities::SupportedCharactersPerLine() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_SupportedCharactersPerLine(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::IsBarcodeSupported() const + template auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::IsBarcodeSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_IsBarcodeSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::IsBitmapSupported() const + template auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::IsBitmapSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_IsBitmapSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::IsLeft90RotationSupported() const + template auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::IsLeft90RotationSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_IsLeft90RotationSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::IsRight90RotationSupported() const + template auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::IsRight90RotationSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_IsRight90RotationSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::Is180RotationSupported() const + template auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::Is180RotationSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_Is180RotationSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::IsPrintAreaSupported() const + template auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::IsPrintAreaSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_IsPrintAreaSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterRuledLineCapabilities) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::RuledLineCapabilities() const + template auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::RuledLineCapabilities() const { winrt::Windows::Devices::PointOfService::PosPrinterRuledLineCapabilities value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_RuledLineCapabilities(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::SupportedBarcodeRotations() const + template auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::SupportedBarcodeRotations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_SupportedBarcodeRotations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::SupportedBitmapRotations() const + template auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities::SupportedBitmapRotations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_SupportedBitmapRotations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IJournalPrintJob::Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const + template auto consume_Windows_Devices_PointOfService_IJournalPrintJob::Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrintJob)->Print(*(void**)(&data), *(void**)(&printOptions))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IJournalPrintJob::FeedPaperByLine(int32_t lineCount) const + template auto consume_Windows_Devices_PointOfService_IJournalPrintJob::FeedPaperByLine(int32_t lineCount) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrintJob)->FeedPaperByLine(lineCount)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IJournalPrintJob::FeedPaperByMapModeUnit(int32_t distance) const + template auto consume_Windows_Devices_PointOfService_IJournalPrintJob::FeedPaperByMapModeUnit(int32_t distance) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrintJob)->FeedPaperByMapModeUnit(distance)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2::IsReverseVideoSupported() const + template auto consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2::IsReverseVideoSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrinterCapabilities2)->get_IsReverseVideoSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2::IsStrikethroughSupported() const + template auto consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2::IsStrikethroughSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrinterCapabilities2)->get_IsStrikethroughSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2::IsSuperscriptSupported() const + template auto consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2::IsSuperscriptSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrinterCapabilities2)->get_IsSuperscriptSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2::IsSubscriptSupported() const + template auto consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2::IsSubscriptSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrinterCapabilities2)->get_IsSubscriptSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2::IsReversePaperFeedByLineSupported() const + template auto consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2::IsReversePaperFeedByLineSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrinterCapabilities2)->get_IsReversePaperFeedByLineSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2::IsReversePaperFeedByMapModeUnitSupported() const + template auto consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2::IsReversePaperFeedByMapModeUnitSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrinterCapabilities2)->get_IsReversePaperFeedByMapModeUnitSupported(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplay::DeviceId() const + template auto consume_Windows_Devices_PointOfService_ILineDisplay::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplay)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCapabilities) consume_Windows_Devices_PointOfService_ILineDisplay::Capabilities() const + template auto consume_Windows_Devices_PointOfService_ILineDisplay::Capabilities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplay)->get_Capabilities(&value)); return winrt::Windows::Devices::PointOfService::LineDisplayCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplay::PhysicalDeviceName() const + template auto consume_Windows_Devices_PointOfService_ILineDisplay::PhysicalDeviceName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplay)->get_PhysicalDeviceName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplay::PhysicalDeviceDescription() const + template auto consume_Windows_Devices_PointOfService_ILineDisplay::PhysicalDeviceDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplay)->get_PhysicalDeviceDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplay::DeviceControlDescription() const + template auto consume_Windows_Devices_PointOfService_ILineDisplay::DeviceControlDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplay)->get_DeviceControlDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplay::DeviceControlVersion() const + template auto consume_Windows_Devices_PointOfService_ILineDisplay::DeviceControlVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplay)->get_DeviceControlVersion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplay::DeviceServiceVersion() const + template auto consume_Windows_Devices_PointOfService_ILineDisplay::DeviceServiceVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplay)->get_DeviceServiceVersion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplay::ClaimAsync() const + template auto consume_Windows_Devices_PointOfService_ILineDisplay::ClaimAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplay)->ClaimAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplay2::CheckPowerStatusAsync() const + template auto consume_Windows_Devices_PointOfService_ILineDisplay2::CheckPowerStatusAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplay2)->CheckPowerStatusAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayAttributes::IsPowerNotifyEnabled() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes::IsPowerNotifyEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->get_IsPowerNotifyEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayAttributes::IsPowerNotifyEnabled(bool value) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes::IsPowerNotifyEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->put_IsPowerNotifyEnabled(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_PointOfService_ILineDisplayAttributes::Brightness() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes::Brightness() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->get_Brightness(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayAttributes::Brightness(int32_t value) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes::Brightness(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->put_Brightness(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_PointOfService_ILineDisplayAttributes::BlinkRate() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes::BlinkRate() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->get_BlinkRate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayAttributes::BlinkRate(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes::BlinkRate(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->put_BlinkRate(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_PointOfService_ILineDisplayAttributes::ScreenSizeInCharacters() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes::ScreenSizeInCharacters() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->get_ScreenSizeInCharacters(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayAttributes::ScreenSizeInCharacters(winrt::Windows::Foundation::Size const& value) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes::ScreenSizeInCharacters(winrt::Windows::Foundation::Size const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->put_ScreenSizeInCharacters(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_PointOfService_ILineDisplayAttributes::CharacterSet() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes::CharacterSet() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->get_CharacterSet(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayAttributes::CharacterSet(int32_t value) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes::CharacterSet(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->put_CharacterSet(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayAttributes::IsCharacterSetMappingEnabled() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes::IsCharacterSetMappingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->get_IsCharacterSetMappingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayAttributes::IsCharacterSetMappingEnabled(bool value) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes::IsCharacterSetMappingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->put_IsCharacterSetMappingEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayWindow) consume_Windows_Devices_PointOfService_ILineDisplayAttributes::CurrentWindow() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes::CurrentWindow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->get_CurrentWindow(&value)); return winrt::Windows::Devices::PointOfService::LineDisplayWindow{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayAttributes::CurrentWindow(winrt::Windows::Devices::PointOfService::LineDisplayWindow const& value) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes::CurrentWindow(winrt::Windows::Devices::PointOfService::LineDisplayWindow const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->put_CurrentWindow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::IsStatisticsReportingSupported() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::IsStatisticsReportingSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_IsStatisticsReportingSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::IsStatisticsUpdatingSupported() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::IsStatisticsUpdatingSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_IsStatisticsUpdatingSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::PowerReportingType() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::PowerReportingType() const { winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_PowerReportingType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::CanChangeScreenSize() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::CanChangeScreenSize() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_CanChangeScreenSize(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::CanDisplayBitmaps() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::CanDisplayBitmaps() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_CanDisplayBitmaps(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::CanReadCharacterAtCursor() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::CanReadCharacterAtCursor() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_CanReadCharacterAtCursor(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::CanMapCharacterSets() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::CanMapCharacterSets() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_CanMapCharacterSets(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::CanDisplayCustomGlyphs() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::CanDisplayCustomGlyphs() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_CanDisplayCustomGlyphs(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayTextAttributeGranularity) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::CanReverse() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::CanReverse() const { winrt::Windows::Devices::PointOfService::LineDisplayTextAttributeGranularity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_CanReverse(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayTextAttributeGranularity) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::CanBlink() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::CanBlink() const { winrt::Windows::Devices::PointOfService::LineDisplayTextAttributeGranularity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_CanBlink(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::CanChangeBlinkRate() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::CanChangeBlinkRate() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_CanChangeBlinkRate(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::IsBrightnessSupported() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::IsBrightnessSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_IsBrightnessSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::IsCursorSupported() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::IsCursorSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_IsCursorSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::IsHorizontalMarqueeSupported() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::IsHorizontalMarqueeSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_IsHorizontalMarqueeSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::IsVerticalMarqueeSupported() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::IsVerticalMarqueeSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_IsVerticalMarqueeSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::IsInterCharacterWaitSupported() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::IsInterCharacterWaitSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_IsInterCharacterWaitSupported(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::SupportedDescriptors() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::SupportedDescriptors() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_SupportedDescriptors(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::SupportedWindows() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities::SupportedWindows() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_SupportedWindows(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursor::CanCustomize() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursor::CanCustomize() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursor)->get_CanCustomize(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursor::IsBlinkSupported() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursor::IsBlinkSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursor)->get_IsBlinkSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursor::IsBlockSupported() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursor::IsBlockSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursor)->get_IsBlockSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursor::IsHalfBlockSupported() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursor::IsHalfBlockSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursor)->get_IsHalfBlockSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursor::IsUnderlineSupported() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursor::IsUnderlineSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursor)->get_IsUnderlineSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursor::IsReverseSupported() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursor::IsReverseSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursor)->get_IsReverseSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursor::IsOtherSupported() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursor::IsOtherSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursor)->get_IsOtherSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCursorAttributes) consume_Windows_Devices_PointOfService_ILineDisplayCursor::GetAttributes() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursor::GetAttributes() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursor)->GetAttributes(&result)); return winrt::Windows::Devices::PointOfService::LineDisplayCursorAttributes{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayCursor::TryUpdateAttributesAsync(winrt::Windows::Devices::PointOfService::LineDisplayCursorAttributes const& attributes) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursor::TryUpdateAttributesAsync(winrt::Windows::Devices::PointOfService::LineDisplayCursorAttributes const& attributes) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursor)->TryUpdateAttributesAsync(*(void**)(&attributes), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes::IsBlinkEnabled() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes::IsBlinkEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes)->get_IsBlinkEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes::IsBlinkEnabled(bool value) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes::IsBlinkEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes)->put_IsBlinkEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCursorType) consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes::CursorType() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes::CursorType() const { winrt::Windows::Devices::PointOfService::LineDisplayCursorType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes)->get_CursorType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes::CursorType(winrt::Windows::Devices::PointOfService::LineDisplayCursorType const& value) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes::CursorType(winrt::Windows::Devices::PointOfService::LineDisplayCursorType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes)->put_CursorType(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes::IsAutoAdvanceEnabled() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes::IsAutoAdvanceEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes)->get_IsAutoAdvanceEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes::IsAutoAdvanceEnabled(bool value) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes::IsAutoAdvanceEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes)->put_IsAutoAdvanceEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes::Position() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes::Position(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes::Position(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes)->put_Position(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_PointOfService_ILineDisplayCustomGlyphs::SizeInPixels() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCustomGlyphs::SizeInPixels() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCustomGlyphs)->get_SizeInPixels(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_PointOfService_ILineDisplayCustomGlyphs::SupportedGlyphCodes() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCustomGlyphs::SupportedGlyphCodes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCustomGlyphs)->get_SupportedGlyphCodes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayCustomGlyphs::TryRedefineAsync(uint32_t glyphCode, winrt::Windows::Storage::Streams::IBuffer const& glyphData) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayCustomGlyphs::TryRedefineAsync(uint32_t glyphCode, winrt::Windows::Storage::Streams::IBuffer const& glyphData) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCustomGlyphs)->TryRedefineAsync(glyphCode, *(void**)(&glyphData), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayMarqueeFormat) consume_Windows_Devices_PointOfService_ILineDisplayMarquee::Format() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayMarquee::Format() const { winrt::Windows::Devices::PointOfService::LineDisplayMarqueeFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayMarquee)->get_Format(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayMarquee::Format(winrt::Windows::Devices::PointOfService::LineDisplayMarqueeFormat const& value) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayMarquee::Format(winrt::Windows::Devices::PointOfService::LineDisplayMarqueeFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayMarquee)->put_Format(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_PointOfService_ILineDisplayMarquee::RepeatWaitInterval() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayMarquee::RepeatWaitInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayMarquee)->get_RepeatWaitInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayMarquee::RepeatWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayMarquee::RepeatWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayMarquee)->put_RepeatWaitInterval(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_PointOfService_ILineDisplayMarquee::ScrollWaitInterval() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayMarquee::ScrollWaitInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayMarquee)->get_ScrollWaitInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayMarquee::ScrollWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayMarquee::ScrollWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayMarquee)->put_ScrollWaitInterval(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayMarquee::TryStartScrollingAsync(winrt::Windows::Devices::PointOfService::LineDisplayScrollDirection const& direction) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayMarquee::TryStartScrollingAsync(winrt::Windows::Devices::PointOfService::LineDisplayScrollDirection const& direction) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayMarquee)->TryStartScrollingAsync(static_cast(direction), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayMarquee::TryStopScrollingAsync() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayMarquee::TryStopScrollingAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayMarquee)->TryStopScrollingAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayStatics::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayStatics)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayStatics::GetDefaultAsync() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayStatics::GetDefaultAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayStatics)->GetDefaultAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplayStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayStatics::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayStatics)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplayStatics::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayStatics::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayStatics)->GetDeviceSelectorWithConnectionTypes(static_cast(connectionTypes), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayStatisticsCategorySelector) consume_Windows_Devices_PointOfService_ILineDisplayStatics2::StatisticsCategorySelector() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayStatics2::StatisticsCategorySelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayStatics2)->get_StatisticsCategorySelector(&value)); return winrt::Windows::Devices::PointOfService::LineDisplayStatisticsCategorySelector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplayStatisticsCategorySelector::AllStatistics() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayStatisticsCategorySelector::AllStatistics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayStatisticsCategorySelector)->get_AllStatistics(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplayStatisticsCategorySelector::UnifiedPosStatistics() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayStatisticsCategorySelector::UnifiedPosStatistics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayStatisticsCategorySelector)->get_UnifiedPosStatistics(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplayStatisticsCategorySelector::ManufacturerStatistics() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayStatisticsCategorySelector::ManufacturerStatistics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayStatisticsCategorySelector)->get_ManufacturerStatistics(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayPowerStatus) consume_Windows_Devices_PointOfService_ILineDisplayStatusUpdatedEventArgs::Status() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayStatusUpdatedEventArgs::Status() const { winrt::Windows::Devices::PointOfService::LineDisplayPowerStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayStatusUpdatedEventArgs)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplayStoredBitmap::EscapeSequence() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayStoredBitmap::EscapeSequence() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayStoredBitmap)->get_EscapeSequence(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayStoredBitmap::TryDeleteAsync() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayStoredBitmap::TryDeleteAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayStoredBitmap)->TryDeleteAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_PointOfService_ILineDisplayWindow::SizeInCharacters() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow::SizeInCharacters() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow)->get_SizeInCharacters(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_PointOfService_ILineDisplayWindow::InterCharacterWaitInterval() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow::InterCharacterWaitInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow)->get_InterCharacterWaitInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayWindow::InterCharacterWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow::InterCharacterWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow)->put_InterCharacterWaitInterval(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayWindow::TryRefreshAsync() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow::TryRefreshAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow)->TryRefreshAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayWindow::TryDisplayTextAsync(param::hstring const& text, winrt::Windows::Devices::PointOfService::LineDisplayTextAttribute const& displayAttribute) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow::TryDisplayTextAsync(param::hstring const& text, winrt::Windows::Devices::PointOfService::LineDisplayTextAttribute const& displayAttribute) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow)->TryDisplayTextAsync(*(void**)(&text), static_cast(displayAttribute), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayWindow::TryDisplayTextAsync(param::hstring const& text, winrt::Windows::Devices::PointOfService::LineDisplayTextAttribute const& displayAttribute, winrt::Windows::Foundation::Point const& startPosition) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow::TryDisplayTextAsync(param::hstring const& text, winrt::Windows::Devices::PointOfService::LineDisplayTextAttribute const& displayAttribute, winrt::Windows::Foundation::Point const& startPosition) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow)->TryDisplayTextAtPositionAsync(*(void**)(&text), static_cast(displayAttribute), impl::bind_in(startPosition), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayWindow::TryDisplayTextAsync(param::hstring const& text) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow::TryDisplayTextAsync(param::hstring const& text) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow)->TryDisplayTextNormalAsync(*(void**)(&text), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayWindow::TryScrollTextAsync(winrt::Windows::Devices::PointOfService::LineDisplayScrollDirection const& direction, uint32_t numberOfColumnsOrRows) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow::TryScrollTextAsync(winrt::Windows::Devices::PointOfService::LineDisplayScrollDirection const& direction, uint32_t numberOfColumnsOrRows) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow)->TryScrollTextAsync(static_cast(direction), numberOfColumnsOrRows, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayWindow::TryClearTextAsync() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow::TryClearTextAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow)->TryClearTextAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCursor) consume_Windows_Devices_PointOfService_ILineDisplayWindow2::Cursor() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2::Cursor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow2)->get_Cursor(&value)); return winrt::Windows::Devices::PointOfService::LineDisplayCursor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayMarquee) consume_Windows_Devices_PointOfService_ILineDisplayWindow2::Marquee() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2::Marquee() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow2)->get_Marquee(&value)); return winrt::Windows::Devices::PointOfService::LineDisplayMarquee{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayWindow2::ReadCharacterAtCursorAsync() const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2::ReadCharacterAtCursorAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow2)->ReadCharacterAtCursorAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayWindow2::TryDisplayStoredBitmapAtCursorAsync(winrt::Windows::Devices::PointOfService::LineDisplayStoredBitmap const& bitmap) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2::TryDisplayStoredBitmapAtCursorAsync(winrt::Windows::Devices::PointOfService::LineDisplayStoredBitmap const& bitmap) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow2)->TryDisplayStoredBitmapAtCursorAsync(*(void**)(&bitmap), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayWindow2::TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2::TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow2)->TryDisplayStorageFileBitmapAtCursorAsync(*(void**)(&bitmap), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayWindow2::TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2::TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow2)->TryDisplayStorageFileBitmapAtCursorWithAlignmentAsync(*(void**)(&bitmap), static_cast(horizontalAlignment), static_cast(verticalAlignment), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayWindow2::TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment, int32_t widthInPixels) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2::TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment, int32_t widthInPixels) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow2)->TryDisplayStorageFileBitmapAtCursorWithAlignmentAndWidthAsync(*(void**)(&bitmap), static_cast(horizontalAlignment), static_cast(verticalAlignment), widthInPixels, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayWindow2::TryDisplayStorageFileBitmapAtPointAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Foundation::Point const& offsetInPixels) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2::TryDisplayStorageFileBitmapAtPointAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Foundation::Point const& offsetInPixels) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow2)->TryDisplayStorageFileBitmapAtPointAsync(*(void**)(&bitmap), impl::bind_in(offsetInPixels), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_ILineDisplayWindow2::TryDisplayStorageFileBitmapAtPointAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Foundation::Point const& offsetInPixels, int32_t widthInPixels) const + template auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2::TryDisplayStorageFileBitmapAtPointAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Foundation::Point const& offsetInPixels, int32_t widthInPixels) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow2)->TryDisplayStorageFileBitmapAtPointWithWidthAsync(*(void**)(&bitmap), impl::bind_in(offsetInPixels), widthInPixels, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReader::DeviceId() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReader::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReader)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderCapabilities) consume_Windows_Devices_PointOfService_IMagneticStripeReader::Capabilities() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReader::Capabilities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReader)->get_Capabilities(&value)); return winrt::Windows::Devices::PointOfService::MagneticStripeReaderCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Devices_PointOfService_IMagneticStripeReader::SupportedCardTypes() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReader::SupportedCardTypes() const { uint32_t value_impl_size{}; uint32_t* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReader)->get_SupportedCardTypes(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderAuthenticationProtocol) consume_Windows_Devices_PointOfService_IMagneticStripeReader::DeviceAuthenticationProtocol() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReader::DeviceAuthenticationProtocol() const { winrt::Windows::Devices::PointOfService::MagneticStripeReaderAuthenticationProtocol value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReader)->get_DeviceAuthenticationProtocol(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IMagneticStripeReader::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReader::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReader)->CheckHealthAsync(static_cast(level), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IMagneticStripeReader::ClaimReaderAsync() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReader::ClaimReaderAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReader)->ClaimReaderAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IMagneticStripeReader::RetrieveStatisticsAsync(param::async_iterable const& statisticsCategories) const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReader::RetrieveStatisticsAsync(param::async_iterable const& statisticsCategories) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReader)->RetrieveStatisticsAsync(*(void**)(&statisticsCategories), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorReportingType) consume_Windows_Devices_PointOfService_IMagneticStripeReader::GetErrorReportingType() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReader::GetErrorReportingType() const { winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorReportingType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReader)->GetErrorReportingType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IMagneticStripeReader::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReader::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReader)->add_StatusUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IMagneticStripeReader::StatusUpdated_revoker consume_Windows_Devices_PointOfService_IMagneticStripeReader::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReader::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StatusUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IMagneticStripeReader::StatusUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReader::StatusUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReader)->remove_StatusUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Report() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Report() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_Report(&value)); return winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::LicenseNumber() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::LicenseNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_LicenseNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::ExpirationDate() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::ExpirationDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_ExpirationDate(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Restrictions() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Restrictions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_Restrictions(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Class() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Class() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_Class(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Endorsements() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Endorsements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_Endorsements(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::BirthDate() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::BirthDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_BirthDate(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::FirstName() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::FirstName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_FirstName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Surname() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Surname() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_Surname(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Suffix() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Suffix() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_Suffix(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Gender() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Gender() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_Gender(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::HairColor() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::HairColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_HairColor(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::EyeColor() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::EyeColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_EyeColor(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Height() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Height() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_Height(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Weight() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Weight() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_Weight(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Address() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::Address() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_Address(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::City() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::City() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_City(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::State() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::State() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_State(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::PostalCode() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs::PostalCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs)->get_PostalCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::Report() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::Report() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderBankCardDataReceivedEventArgs)->get_Report(&value)); return winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::AccountNumber() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::AccountNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderBankCardDataReceivedEventArgs)->get_AccountNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::ExpirationDate() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::ExpirationDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderBankCardDataReceivedEventArgs)->get_ExpirationDate(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::ServiceCode() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::ServiceCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderBankCardDataReceivedEventArgs)->get_ServiceCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::Title() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderBankCardDataReceivedEventArgs)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::FirstName() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::FirstName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderBankCardDataReceivedEventArgs)->get_FirstName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::MiddleInitial() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::MiddleInitial() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderBankCardDataReceivedEventArgs)->get_MiddleInitial(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::Surname() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::Surname() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderBankCardDataReceivedEventArgs)->get_Surname(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::Suffix() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs::Suffix() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderBankCardDataReceivedEventArgs)->get_Suffix(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::CardAuthentication() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::CardAuthentication() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_CardAuthentication(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::SupportedEncryptionAlgorithms() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::SupportedEncryptionAlgorithms() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_SupportedEncryptionAlgorithms(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderAuthenticationLevel) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::AuthenticationLevel() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::AuthenticationLevel() const { winrt::Windows::Devices::PointOfService::MagneticStripeReaderAuthenticationLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_AuthenticationLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::IsIsoSupported() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::IsIsoSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_IsIsoSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::IsJisOneSupported() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::IsJisOneSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_IsJisOneSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::IsJisTwoSupported() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::IsJisTwoSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_IsJisTwoSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::PowerReportingType() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::PowerReportingType() const { winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_PowerReportingType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::IsStatisticsReportingSupported() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::IsStatisticsReportingSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_IsStatisticsReportingSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::IsStatisticsUpdatingSupported() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::IsStatisticsUpdatingSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_IsStatisticsUpdatingSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::IsTrackDataMaskingSupported() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::IsTrackDataMaskingSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_IsTrackDataMaskingSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::IsTransmitSentinelsSupported() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities::IsTransmitSentinelsSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_IsTransmitSentinelsSupported(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics::Unknown() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics::Unknown() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCardTypesStatics)->get_Unknown(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics::Bank() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics::Bank() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCardTypesStatics)->get_Bank(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics::Aamva() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics::Aamva() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCardTypesStatics)->get_Aamva(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics::ExtendedBase() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics::ExtendedBase() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCardTypesStatics)->get_ExtendedBase(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderEncryptionAlgorithmsStatics::None() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderEncryptionAlgorithmsStatics::None() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderEncryptionAlgorithmsStatics)->get_None(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderEncryptionAlgorithmsStatics::TripleDesDukpt() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderEncryptionAlgorithmsStatics::TripleDesDukpt() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderEncryptionAlgorithmsStatics)->get_TripleDesDukpt(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderEncryptionAlgorithmsStatics::ExtendedBase() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderEncryptionAlgorithmsStatics::ExtendedBase() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderEncryptionAlgorithmsStatics)->get_ExtendedBase(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType) consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs::Track1Status() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs::Track1Status() const { winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderErrorOccurredEventArgs)->get_Track1Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType) consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs::Track2Status() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs::Track2Status() const { winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderErrorOccurredEventArgs)->get_Track2Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType) consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs::Track3Status() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs::Track3Status() const { winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderErrorOccurredEventArgs)->get_Track3Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType) consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs::Track4Status() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs::Track4Status() const { winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderErrorOccurredEventArgs)->get_Track4Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData) consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs::ErrorData() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs::ErrorData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderErrorOccurredEventArgs)->get_ErrorData(&value)); return winrt::Windows::Devices::PointOfService::UnifiedPosErrorData{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport) consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs::PartialInputData() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs::PartialInputData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderErrorOccurredEventArgs)->get_PartialInputData(&value)); return winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::CardType() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::CardType() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderReport)->get_CardType(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackData) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::Track1() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::Track1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderReport)->get_Track1(&value)); return winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackData{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackData) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::Track2() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::Track2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderReport)->get_Track2(&value)); return winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackData{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackData) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::Track3() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::Track3() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderReport)->get_Track3(&value)); return winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackData{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackData) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::Track4() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::Track4() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderReport)->get_Track4(&value)); return winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackData{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::Properties() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderReport)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::CardAuthenticationData() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::CardAuthenticationData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderReport)->get_CardAuthenticationData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::CardAuthenticationDataLength() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::CardAuthenticationDataLength() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderReport)->get_CardAuthenticationDataLength(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::AdditionalSecurityInformation() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport::AdditionalSecurityInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderReport)->get_AdditionalSecurityInformation(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics::GetDefaultAsync() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics::GetDefaultAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatics)->GetDefaultAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics::FromIdAsync(param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatics)->FromIdAsync(*(void**)(&deviceId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatics)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics2::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics2::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatics2)->GetDeviceSelectorWithConnectionTypes(static_cast(connectionTypes), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderStatus) consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatusUpdatedEventArgs::Status() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatusUpdatedEventArgs::Status() const { winrt::Windows::Devices::PointOfService::MagneticStripeReaderStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatusUpdatedEventArgs)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatusUpdatedEventArgs::ExtendedStatus() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatusUpdatedEventArgs::ExtendedStatus() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatusUpdatedEventArgs)->get_ExtendedStatus(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_PointOfService_IMagneticStripeReaderTrackData::Data() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderTrackData::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderTrackData)->get_Data(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_PointOfService_IMagneticStripeReaderTrackData::DiscretionaryData() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderTrackData::DiscretionaryData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderTrackData)->get_DiscretionaryData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_PointOfService_IMagneticStripeReaderTrackData::EncryptedData() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderTrackData::EncryptedData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderTrackData)->get_EncryptedData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport) consume_Windows_Devices_PointOfService_IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs::Report() const + template auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs::Report() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs)->get_Report(&value)); return winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IPosPrinter::DeviceId() const + template auto consume_Windows_Devices_PointOfService_IPosPrinter::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterCapabilities) consume_Windows_Devices_PointOfService_IPosPrinter::Capabilities() const + template auto consume_Windows_Devices_PointOfService_IPosPrinter::Capabilities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter)->get_Capabilities(&value)); return winrt::Windows::Devices::PointOfService::PosPrinterCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_PointOfService_IPosPrinter::SupportedCharacterSets() const + template auto consume_Windows_Devices_PointOfService_IPosPrinter::SupportedCharacterSets() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter)->get_SupportedCharacterSets(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_PointOfService_IPosPrinter::SupportedTypeFaces() const + template auto consume_Windows_Devices_PointOfService_IPosPrinter::SupportedTypeFaces() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter)->get_SupportedTypeFaces(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterStatus) consume_Windows_Devices_PointOfService_IPosPrinter::Status() const + template auto consume_Windows_Devices_PointOfService_IPosPrinter::Status() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter)->get_Status(&value)); return winrt::Windows::Devices::PointOfService::PosPrinterStatus{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IPosPrinter::ClaimPrinterAsync() const + template auto consume_Windows_Devices_PointOfService_IPosPrinter::ClaimPrinterAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter)->ClaimPrinterAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IPosPrinter::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const + template auto consume_Windows_Devices_PointOfService_IPosPrinter::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter)->CheckHealthAsync(static_cast(level), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IPosPrinter::GetStatisticsAsync(param::async_iterable const& statisticsCategories) const + template auto consume_Windows_Devices_PointOfService_IPosPrinter::GetStatisticsAsync(param::async_iterable const& statisticsCategories) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter)->GetStatisticsAsync(*(void**)(&statisticsCategories), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IPosPrinter::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IPosPrinter::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter)->add_StatusUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_PointOfService_IPosPrinter::StatusUpdated_revoker consume_Windows_Devices_PointOfService_IPosPrinter::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_PointOfService_IPosPrinter::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StatusUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinter::StatusUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_PointOfService_IPosPrinter::StatusUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter)->remove_StatusUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_PointOfService_IPosPrinter2::SupportedBarcodeSymbologies() const + template auto consume_Windows_Devices_PointOfService_IPosPrinter2::SupportedBarcodeSymbologies() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter2)->get_SupportedBarcodeSymbologies(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterFontProperty) consume_Windows_Devices_PointOfService_IPosPrinter2::GetFontProperty(param::hstring const& typeface) const + template auto consume_Windows_Devices_PointOfService_IPosPrinter2::GetFontProperty(param::hstring const& typeface) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter2)->GetFontProperty(*(void**)(&typeface), &result)); return winrt::Windows::Devices::PointOfService::PosPrinterFontProperty{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::PowerReportingType() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::PowerReportingType() const { winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_PowerReportingType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::IsStatisticsReportingSupported() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::IsStatisticsReportingSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_IsStatisticsReportingSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::IsStatisticsUpdatingSupported() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::IsStatisticsUpdatingSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_IsStatisticsUpdatingSupported(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::DefaultCharacterSet() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::DefaultCharacterSet() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_DefaultCharacterSet(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::HasCoverSensor() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::HasCoverSensor() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_HasCoverSensor(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::CanMapCharacterSet() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::CanMapCharacterSet() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_CanMapCharacterSet(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::IsTransactionSupported() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::IsTransactionSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_IsTransactionSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::ReceiptPrinterCapabilities) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::Receipt() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::Receipt() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_Receipt(&value)); return winrt::Windows::Devices::PointOfService::ReceiptPrinterCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::SlipPrinterCapabilities) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::Slip() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::Slip() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_Slip(&value)); return winrt::Windows::Devices::PointOfService::SlipPrinterCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::JournalPrinterCapabilities) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::Journal() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities::Journal() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_Journal(&value)); return winrt::Windows::Devices::PointOfService::JournalPrinterCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IPosPrinterCharacterSetIdsStatics::Utf16LE() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterCharacterSetIdsStatics::Utf16LE() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCharacterSetIdsStatics)->get_Utf16LE(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IPosPrinterCharacterSetIdsStatics::Ascii() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterCharacterSetIdsStatics::Ascii() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCharacterSetIdsStatics)->get_Ascii(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IPosPrinterCharacterSetIdsStatics::Ansi() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterCharacterSetIdsStatics::Ansi() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCharacterSetIdsStatics)->get_Ansi(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IPosPrinterFontProperty::TypeFace() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterFontProperty::TypeFace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterFontProperty)->get_TypeFace(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterFontProperty::IsScalableToAnySize() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterFontProperty::IsScalableToAnySize() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterFontProperty)->get_IsScalableToAnySize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_PointOfService_IPosPrinterFontProperty::CharacterSizes() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterFontProperty::CharacterSizes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterFontProperty)->get_CharacterSizes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterJob::Print(param::hstring const& data) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterJob::Print(param::hstring const& data) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterJob)->Print(*(void**)(&data))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterJob::PrintLine(param::hstring const& data) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterJob::PrintLine(param::hstring const& data) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterJob)->PrintLine(*(void**)(&data))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterJob::PrintLine() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterJob::PrintLine() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterJob)->PrintNewline()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IPosPrinterJob::ExecuteAsync() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterJob::ExecuteAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterJob)->ExecuteAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::TypeFace() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::TypeFace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_TypeFace(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::TypeFace(param::hstring const& value) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::TypeFace(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_TypeFace(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::CharacterHeight() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::CharacterHeight() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_CharacterHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::CharacterHeight(uint32_t value) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::CharacterHeight(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_CharacterHeight(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Bold() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Bold() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_Bold(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Bold(bool value) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Bold(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_Bold(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Italic() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Italic() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_Italic(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Italic(bool value) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Italic(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_Italic(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Underline() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Underline() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_Underline(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Underline(bool value) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Underline(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_Underline(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::ReverseVideo() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::ReverseVideo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_ReverseVideo(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::ReverseVideo(bool value) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::ReverseVideo(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_ReverseVideo(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Strikethrough() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Strikethrough() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_Strikethrough(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Strikethrough(bool value) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Strikethrough(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_Strikethrough(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Superscript() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Superscript() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_Superscript(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Superscript(bool value) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Superscript(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_Superscript(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Subscript() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Subscript() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_Subscript(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Subscript(bool value) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Subscript(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_Subscript(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::DoubleWide() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::DoubleWide() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_DoubleWide(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::DoubleWide(bool value) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::DoubleWide(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_DoubleWide(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::DoubleHigh() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::DoubleHigh() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_DoubleHigh(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::DoubleHigh(bool value) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::DoubleHigh(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_DoubleHigh(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterAlignment) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Alignment() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Alignment() const { winrt::Windows::Devices::PointOfService::PosPrinterAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_Alignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Alignment(winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& value) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::Alignment(winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_Alignment(static_cast(value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::CharacterSet() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::CharacterSet() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_CharacterSet(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::CharacterSet(uint32_t value) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions::CharacterSet(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_CharacterSet(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IPosPrinterStatics::GetDefaultAsync() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterStatics::GetDefaultAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterStatics)->GetDefaultAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_PointOfService_IPosPrinterStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterStatics::FromIdAsync(param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterStatics)->FromIdAsync(*(void**)(&deviceId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IPosPrinterStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterStatics::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterStatics)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IPosPrinterStatics2::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const + template auto consume_Windows_Devices_PointOfService_IPosPrinterStatics2::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterStatics2)->GetDeviceSelectorWithConnectionTypes(static_cast(connectionTypes), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterStatusKind) consume_Windows_Devices_PointOfService_IPosPrinterStatus::StatusKind() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterStatus::StatusKind() const { winrt::Windows::Devices::PointOfService::PosPrinterStatusKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterStatus)->get_StatusKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IPosPrinterStatus::ExtendedStatus() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterStatus::ExtendedStatus() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterStatus)->get_ExtendedStatus(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterStatus) consume_Windows_Devices_PointOfService_IPosPrinterStatusUpdatedEventArgs::Status() const + template auto consume_Windows_Devices_PointOfService_IPosPrinterStatusUpdatedEventArgs::Status() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterStatusUpdatedEventArgs)->get_Status(&value)); return winrt::Windows::Devices::PointOfService::PosPrinterStatus{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::SetBarcodeRotation(winrt::Windows::Devices::PointOfService::PosPrinterRotation const& value) const + template auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::SetBarcodeRotation(winrt::Windows::Devices::PointOfService::PosPrinterRotation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->SetBarcodeRotation(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::SetPrintRotation(winrt::Windows::Devices::PointOfService::PosPrinterRotation const& value, bool includeBitmaps) const + template auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::SetPrintRotation(winrt::Windows::Devices::PointOfService::PosPrinterRotation const& value, bool includeBitmaps) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->SetPrintRotation(static_cast(value), includeBitmaps)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::SetPrintArea(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::SetPrintArea(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->SetPrintArea(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::SetBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const + template auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::SetBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->SetBitmap(bitmapNumber, *(void**)(&bitmap), static_cast(alignment))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::SetBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment, uint32_t width) const + template auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::SetBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment, uint32_t width) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->SetBitmapCustomWidthStandardAlign(bitmapNumber, *(void**)(&bitmap), static_cast(alignment), width)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::SetCustomAlignedBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance) const + template auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::SetCustomAlignedBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->SetCustomAlignedBitmap(bitmapNumber, *(void**)(&bitmap), alignmentDistance)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::SetCustomAlignedBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance, uint32_t width) const + template auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::SetCustomAlignedBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance, uint32_t width) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->SetBitmapCustomWidthCustomAlign(bitmapNumber, *(void**)(&bitmap), alignmentDistance, width)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::PrintSavedBitmap(uint32_t bitmapNumber) const + template auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::PrintSavedBitmap(uint32_t bitmapNumber) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->PrintSavedBitmap(bitmapNumber)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::DrawRuledLine(param::hstring const& positionList, winrt::Windows::Devices::PointOfService::PosPrinterLineDirection const& lineDirection, uint32_t lineWidth, winrt::Windows::Devices::PointOfService::PosPrinterLineStyle const& lineStyle, uint32_t lineColor) const + template auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::DrawRuledLine(param::hstring const& positionList, winrt::Windows::Devices::PointOfService::PosPrinterLineDirection const& lineDirection, uint32_t lineWidth, winrt::Windows::Devices::PointOfService::PosPrinterLineStyle const& lineStyle, uint32_t lineColor) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->DrawRuledLine(*(void**)(&positionList), static_cast(lineDirection), lineWidth, static_cast(lineStyle), lineColor)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::PrintBarcode(param::hstring const& data, uint32_t symbology, uint32_t height, uint32_t width, winrt::Windows::Devices::PointOfService::PosPrinterBarcodeTextPosition const& textPosition, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const + template auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::PrintBarcode(param::hstring const& data, uint32_t symbology, uint32_t height, uint32_t width, winrt::Windows::Devices::PointOfService::PosPrinterBarcodeTextPosition const& textPosition, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->PrintBarcode(*(void**)(&data), symbology, height, width, static_cast(textPosition), static_cast(alignment))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::PrintBarcodeCustomAlign(param::hstring const& data, uint32_t symbology, uint32_t height, uint32_t width, winrt::Windows::Devices::PointOfService::PosPrinterBarcodeTextPosition const& textPosition, uint32_t alignmentDistance) const + template auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::PrintBarcodeCustomAlign(param::hstring const& data, uint32_t symbology, uint32_t height, uint32_t width, winrt::Windows::Devices::PointOfService::PosPrinterBarcodeTextPosition const& textPosition, uint32_t alignmentDistance) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->PrintBarcodeCustomAlign(*(void**)(&data), symbology, height, width, static_cast(textPosition), alignmentDistance)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::PrintBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const + template auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::PrintBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->PrintBitmap(*(void**)(&bitmap), static_cast(alignment))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::PrintBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment, uint32_t width) const + template auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::PrintBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment, uint32_t width) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->PrintBitmapCustomWidthStandardAlign(*(void**)(&bitmap), static_cast(alignment), width)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::PrintCustomAlignedBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance) const + template auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::PrintCustomAlignedBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->PrintCustomAlignedBitmap(*(void**)(&bitmap), alignmentDistance)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::PrintCustomAlignedBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance, uint32_t width) const + template auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob::PrintCustomAlignedBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance, uint32_t width) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->PrintBitmapCustomWidthCustomAlign(*(void**)(&bitmap), alignmentDistance, width)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptPrintJob::MarkFeed(winrt::Windows::Devices::PointOfService::PosPrinterMarkFeedKind const& kind) const + template auto consume_Windows_Devices_PointOfService_IReceiptPrintJob::MarkFeed(winrt::Windows::Devices::PointOfService::PosPrinterMarkFeedKind const& kind) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrintJob)->MarkFeed(static_cast(kind))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptPrintJob::CutPaper(double percentage) const + template auto consume_Windows_Devices_PointOfService_IReceiptPrintJob::CutPaper(double percentage) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrintJob)->CutPaper(percentage)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptPrintJob::CutPaper() const + template auto consume_Windows_Devices_PointOfService_IReceiptPrintJob::CutPaper() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrintJob)->CutPaperDefault()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptPrintJob2::StampPaper() const + template auto consume_Windows_Devices_PointOfService_IReceiptPrintJob2::StampPaper() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrintJob2)->StampPaper()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptPrintJob2::Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const + template auto consume_Windows_Devices_PointOfService_IReceiptPrintJob2::Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrintJob2)->Print(*(void**)(&data), *(void**)(&printOptions))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptPrintJob2::FeedPaperByLine(int32_t lineCount) const + template auto consume_Windows_Devices_PointOfService_IReceiptPrintJob2::FeedPaperByLine(int32_t lineCount) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrintJob2)->FeedPaperByLine(lineCount)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptPrintJob2::FeedPaperByMapModeUnit(int32_t distance) const + template auto consume_Windows_Devices_PointOfService_IReceiptPrintJob2::FeedPaperByMapModeUnit(int32_t distance) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrintJob2)->FeedPaperByMapModeUnit(distance)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities::CanCutPaper() const + template auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities::CanCutPaper() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities)->get_CanCutPaper(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities::IsStampSupported() const + template auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities::IsStampSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities)->get_IsStampSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterMarkFeedCapabilities) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities::MarkFeedCapabilities() const + template auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities::MarkFeedCapabilities() const { winrt::Windows::Devices::PointOfService::PosPrinterMarkFeedCapabilities value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities)->get_MarkFeedCapabilities(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2::IsReverseVideoSupported() const + template auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2::IsReverseVideoSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities2)->get_IsReverseVideoSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2::IsStrikethroughSupported() const + template auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2::IsStrikethroughSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities2)->get_IsStrikethroughSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2::IsSuperscriptSupported() const + template auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2::IsSuperscriptSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities2)->get_IsSuperscriptSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2::IsSubscriptSupported() const + template auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2::IsSubscriptSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities2)->get_IsSubscriptSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2::IsReversePaperFeedByLineSupported() const + template auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2::IsReversePaperFeedByLineSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities2)->get_IsReversePaperFeedByLineSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2::IsReversePaperFeedByMapModeUnitSupported() const + template auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2::IsReversePaperFeedByMapModeUnitSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities2)->get_IsReversePaperFeedByMapModeUnitSupported(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ISlipPrintJob::Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const + template auto consume_Windows_Devices_PointOfService_ISlipPrintJob::Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrintJob)->Print(*(void**)(&data), *(void**)(&printOptions))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ISlipPrintJob::FeedPaperByLine(int32_t lineCount) const + template auto consume_Windows_Devices_PointOfService_ISlipPrintJob::FeedPaperByLine(int32_t lineCount) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrintJob)->FeedPaperByLine(lineCount)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ISlipPrintJob::FeedPaperByMapModeUnit(int32_t distance) const + template auto consume_Windows_Devices_PointOfService_ISlipPrintJob::FeedPaperByMapModeUnit(int32_t distance) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrintJob)->FeedPaperByMapModeUnit(distance)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities::IsFullLengthSupported() const + template auto consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities::IsFullLengthSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities)->get_IsFullLengthSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities::IsBothSidesPrintingSupported() const + template auto consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities::IsBothSidesPrintingSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities)->get_IsBothSidesPrintingSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2::IsReverseVideoSupported() const + template auto consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2::IsReverseVideoSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities2)->get_IsReverseVideoSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2::IsStrikethroughSupported() const + template auto consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2::IsStrikethroughSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities2)->get_IsStrikethroughSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2::IsSuperscriptSupported() const + template auto consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2::IsSuperscriptSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities2)->get_IsSuperscriptSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2::IsSubscriptSupported() const + template auto consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2::IsSubscriptSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities2)->get_IsSubscriptSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2::IsReversePaperFeedByLineSupported() const + template auto consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2::IsReversePaperFeedByLineSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities2)->get_IsReversePaperFeedByLineSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2::IsReversePaperFeedByMapModeUnitSupported() const + template auto consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2::IsReversePaperFeedByMapModeUnitSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities2)->get_IsReversePaperFeedByMapModeUnitSupported(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IUnifiedPosErrorData::Message() const + template auto consume_Windows_Devices_PointOfService_IUnifiedPosErrorData::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IUnifiedPosErrorData)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosErrorSeverity) consume_Windows_Devices_PointOfService_IUnifiedPosErrorData::Severity() const + template auto consume_Windows_Devices_PointOfService_IUnifiedPosErrorData::Severity() const { winrt::Windows::Devices::PointOfService::UnifiedPosErrorSeverity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IUnifiedPosErrorData)->get_Severity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosErrorReason) consume_Windows_Devices_PointOfService_IUnifiedPosErrorData::Reason() const + template auto consume_Windows_Devices_PointOfService_IUnifiedPosErrorData::Reason() const { winrt::Windows::Devices::PointOfService::UnifiedPosErrorReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IUnifiedPosErrorData)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IUnifiedPosErrorData::ExtendedReason() const + template auto consume_Windows_Devices_PointOfService_IUnifiedPosErrorData::ExtendedReason() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IUnifiedPosErrorData)->get_ExtendedReason(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData) consume_Windows_Devices_PointOfService_IUnifiedPosErrorDataFactory::CreateInstance(param::hstring const& message, winrt::Windows::Devices::PointOfService::UnifiedPosErrorSeverity const& severity, winrt::Windows::Devices::PointOfService::UnifiedPosErrorReason const& reason, uint32_t extendedReason) const + template auto consume_Windows_Devices_PointOfService_IUnifiedPosErrorDataFactory::CreateInstance(param::hstring const& message, winrt::Windows::Devices::PointOfService::UnifiedPosErrorSeverity const& severity, winrt::Windows::Devices::PointOfService::UnifiedPosErrorReason const& reason, uint32_t extendedReason) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IUnifiedPosErrorDataFactory)->CreateInstance(*(void**)(&message), static_cast(severity), static_cast(reason), extendedReason, &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Portable.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Portable.h index 62e86818..1b974dfe 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Portable.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Portable.h @@ -1,35 +1,35 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Portable_H #define WINRT_Windows_Devices_Portable_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Storage.2.h" #include "winrt/impl/Windows.Devices.Portable.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Portable_IServiceDeviceStatics::GetDeviceSelector(winrt::Windows::Devices::Portable::ServiceDeviceType const& serviceType) const + template auto consume_Windows_Devices_Portable_IServiceDeviceStatics::GetDeviceSelector(winrt::Windows::Devices::Portable::ServiceDeviceType const& serviceType) const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Portable::IServiceDeviceStatics)->GetDeviceSelector(static_cast(serviceType), &selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Portable_IServiceDeviceStatics::GetDeviceSelectorFromServiceId(winrt::guid const& serviceId) const + template auto consume_Windows_Devices_Portable_IServiceDeviceStatics::GetDeviceSelectorFromServiceId(winrt::guid const& serviceId) const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Portable::IServiceDeviceStatics)->GetDeviceSelectorFromServiceId(impl::bind_in(serviceId), &selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Devices_Portable_IStorageDeviceStatics::FromId(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Portable_IStorageDeviceStatics::FromId(param::hstring const& deviceId) const { void* deviceRoot{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Portable::IStorageDeviceStatics)->FromId(*(void**)(&deviceId), &deviceRoot)); return winrt::Windows::Storage::StorageFolder{ deviceRoot, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Portable_IStorageDeviceStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Portable_IStorageDeviceStatics::GetDeviceSelector() const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Portable::IStorageDeviceStatics)->GetDeviceSelector(&selector)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Power.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Power.h index a43926dd..2450f7c8 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Power.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Power.h @@ -1,86 +1,86 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Power_H #define WINRT_Windows_Devices_Power_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.System.Power.2.h" #include "winrt/impl/Windows.Devices.Power.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Power_IBattery::DeviceId() const + template auto consume_Windows_Devices_Power_IBattery::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBattery)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Power::BatteryReport) consume_Windows_Devices_Power_IBattery::GetReport() const + template auto consume_Windows_Devices_Power_IBattery::GetReport() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBattery)->GetReport(&result)); return winrt::Windows::Devices::Power::BatteryReport{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Power_IBattery::ReportUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Power_IBattery::ReportUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBattery)->add_ReportUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Power_IBattery::ReportUpdated_revoker consume_Windows_Devices_Power_IBattery::ReportUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Power_IBattery::ReportUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReportUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Power_IBattery::ReportUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Power_IBattery::ReportUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBattery)->remove_ReportUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Power_IBatteryReport::ChargeRateInMilliwatts() const + template auto consume_Windows_Devices_Power_IBatteryReport::ChargeRateInMilliwatts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBatteryReport)->get_ChargeRateInMilliwatts(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Power_IBatteryReport::DesignCapacityInMilliwattHours() const + template auto consume_Windows_Devices_Power_IBatteryReport::DesignCapacityInMilliwattHours() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBatteryReport)->get_DesignCapacityInMilliwattHours(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Power_IBatteryReport::FullChargeCapacityInMilliwattHours() const + template auto consume_Windows_Devices_Power_IBatteryReport::FullChargeCapacityInMilliwattHours() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBatteryReport)->get_FullChargeCapacityInMilliwattHours(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Power_IBatteryReport::RemainingCapacityInMilliwattHours() const + template auto consume_Windows_Devices_Power_IBatteryReport::RemainingCapacityInMilliwattHours() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBatteryReport)->get_RemainingCapacityInMilliwattHours(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Power::BatteryStatus) consume_Windows_Devices_Power_IBatteryReport::Status() const + template auto consume_Windows_Devices_Power_IBatteryReport::Status() const { winrt::Windows::System::Power::BatteryStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBatteryReport)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Power::Battery) consume_Windows_Devices_Power_IBatteryStatics::AggregateBattery() const + template auto consume_Windows_Devices_Power_IBatteryStatics::AggregateBattery() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBatteryStatics)->get_AggregateBattery(&result)); return winrt::Windows::Devices::Power::Battery{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Power_IBatteryStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Power_IBatteryStatics::FromIdAsync(param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBatteryStatics)->FromIdAsync(*(void**)(&deviceId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Power_IBatteryStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Power_IBatteryStatics::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBatteryStatics)->GetDeviceSelector(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Printers.Extensions.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Printers.Extensions.h index 19cd8f15..28c8a5df 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Printers.Extensions.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Printers.Extensions.h @@ -1,157 +1,157 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Printers_Extensions_H #define WINRT_Windows_Devices_Printers_Extensions_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.Printers.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Devices.Printers.Extensions.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow::DeviceID() const + template auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow::DeviceID() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow)->get_DeviceID(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow::GetPrintModelPackage() const + template auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow::GetPrintModelPackage() const { void* printModelPackage{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow)->GetPrintModelPackage(&printModelPackage)); return winrt::Windows::Foundation::IInspectable{ printModelPackage, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow::IsPrintReady() const + template auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow::IsPrintReady() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow)->get_IsPrintReady(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow::IsPrintReady(bool value) const + template auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow::IsPrintReady(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow)->put_IsPrintReady(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow::PrintRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow::PrintRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow)->add_PrintRequested(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow::PrintRequested_revoker consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow::PrintRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow::PrintRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, PrintRequested(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow::PrintRequested(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow::PrintRequested(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow)->remove_PrintRequested(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2::PrinterChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2::PrinterChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow2)->add_PrinterChanged(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2::PrinterChanged_revoker consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2::PrinterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2::PrinterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, PrinterChanged(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2::PrinterChanged(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2::PrinterChanged(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow2)->remove_PrinterChanged(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowStatus) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs::Status() const + template auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs::Status() const { winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrintRequestedEventArgs)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs::SetExtendedStatus(winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowDetail const& value) const + template auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs::SetExtendedStatus(winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowDetail const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrintRequestedEventArgs)->SetExtendedStatus(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs::SetSource(winrt::Windows::Foundation::IInspectable const& source) const + template auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs::SetSource(winrt::Windows::Foundation::IInspectable const& source) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrintRequestedEventArgs)->SetSource(*(void**)(&source))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs::SetSourceChanged(bool value) const + template auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs::SetSourceChanged(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrintRequestedEventArgs)->SetSourceChanged(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrinterChangedEventArgs::NewDeviceId() const + template auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrinterChangedEventArgs::NewDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrinterChangedEventArgs)->get_NewDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Devices_Printers_Extensions_IPrintExtensionContextStatic::FromDeviceId(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Printers_Extensions_IPrintExtensionContextStatic::FromDeviceId(param::hstring const& deviceId) const { void* context{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintExtensionContextStatic)->FromDeviceId(*(void**)(&deviceId), &context)); return winrt::Windows::Foundation::IInspectable{ context, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Printers_Extensions_IPrintNotificationEventDetails::PrinterName() const + template auto consume_Windows_Devices_Printers_Extensions_IPrintNotificationEventDetails::PrinterName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintNotificationEventDetails)->get_PrinterName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Printers_Extensions_IPrintNotificationEventDetails::EventData() const + template auto consume_Windows_Devices_Printers_Extensions_IPrintNotificationEventDetails::EventData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintNotificationEventDetails)->get_EventData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrintNotificationEventDetails::EventData(param::hstring const& value) const + template auto consume_Windows_Devices_Printers_Extensions_IPrintNotificationEventDetails::EventData(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintNotificationEventDetails)->put_EventData(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration::PrinterExtensionContext() const + template auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration::PrinterExtensionContext() const { void* context{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfiguration)->get_PrinterExtensionContext(&context)); return winrt::Windows::Foundation::IInspectable{ context, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration::SaveRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration::SaveRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfiguration)->add_SaveRequested(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration::SaveRequested_revoker consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration::SaveRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration::SaveRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, SaveRequested(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration::SaveRequested(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration::SaveRequested(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfiguration)->remove_SaveRequested(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest::Cancel() const + template auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest::Cancel() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequest)->Cancel()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest::Save(winrt::Windows::Foundation::IInspectable const& printerExtensionContext) const + template auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest::Save(winrt::Windows::Foundation::IInspectable const& printerExtensionContext) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequest)->Save(*(void**)(&printerExtensionContext))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::Extensions::PrintTaskConfigurationSaveRequestedDeferral) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest::GetDeferral() const + template auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequest)->GetDeferral(&deferral)); return winrt::Windows::Devices::Printers::Extensions::PrintTaskConfigurationSaveRequestedDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest::Deadline() const + template auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest::Deadline() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequest)->get_Deadline(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequestedDeferral::Complete() const + template auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequestedDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequestedDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::Extensions::PrintTaskConfigurationSaveRequest) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequestedEventArgs::Request() const + template auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequestedEventArgs::Request() const { void* context{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequestedEventArgs)->get_Request(&context)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Printers.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Printers.h index 1333a113..44402657 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Printers.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Printers.h @@ -1,48 +1,48 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Printers_H #define WINRT_Windows_Devices_Printers_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.Devices.Printers.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::PrintSchema) consume_Windows_Devices_Printers_IPrint3DDevice::PrintSchema() const + template auto consume_Windows_Devices_Printers_IPrint3DDevice::PrintSchema() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::IPrint3DDevice)->get_PrintSchema(&value)); return winrt::Windows::Devices::Printers::PrintSchema{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Printers_IPrint3DDeviceStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Printers_IPrint3DDeviceStatics::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::IPrint3DDeviceStatics)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Printers_IPrint3DDeviceStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Printers_IPrint3DDeviceStatics::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::IPrint3DDeviceStatics)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Printers_IPrintSchema::GetDefaultPrintTicketAsync() const + template auto consume_Windows_Devices_Printers_IPrintSchema::GetDefaultPrintTicketAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::IPrintSchema)->GetDefaultPrintTicketAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Printers_IPrintSchema::GetCapabilitiesAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& constrainTicket) const + template auto consume_Windows_Devices_Printers_IPrintSchema::GetCapabilitiesAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& constrainTicket) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::IPrintSchema)->GetCapabilitiesAsync(*(void**)(&constrainTicket), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Printers_IPrintSchema::MergeAndValidateWithDefaultPrintTicketAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& deltaTicket) const + template auto consume_Windows_Devices_Printers_IPrintSchema::MergeAndValidateWithDefaultPrintTicketAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& deltaTicket) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::IPrintSchema)->MergeAndValidateWithDefaultPrintTicketAsync(*(void**)(&deltaTicket), &operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Pwm.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Pwm.Provider.h index ab8e7fca..c3b9a86f 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Pwm.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Pwm.Provider.h @@ -1,67 +1,67 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Pwm_Provider_H #define WINRT_Windows_Devices_Pwm_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.Pwm.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Devices.Pwm.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::PinCount() const + template auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::PinCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->get_PinCount(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::ActualFrequency() const + template auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::ActualFrequency() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->get_ActualFrequency(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::SetDesiredFrequency(double frequency) const + template auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::SetDesiredFrequency(double frequency) const { double result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->SetDesiredFrequency(frequency, &result)); return result; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::MaxFrequency() const + template auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::MaxFrequency() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->get_MaxFrequency(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::MinFrequency() const + template auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::MinFrequency() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->get_MinFrequency(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::AcquirePin(int32_t pin) const + template auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::AcquirePin(int32_t pin) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->AcquirePin(pin)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::ReleasePin(int32_t pin) const + template auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::ReleasePin(int32_t pin) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->ReleasePin(pin)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::EnablePin(int32_t pin) const + template auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::EnablePin(int32_t pin) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->EnablePin(pin)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::DisablePin(int32_t pin) const + template auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::DisablePin(int32_t pin) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->DisablePin(pin)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::SetPulseParameters(int32_t pin, double dutyCycle, bool invertPolarity) const + template auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider::SetPulseParameters(int32_t pin, double dutyCycle, bool invertPolarity) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->SetPulseParameters(pin, dutyCycle, invertPolarity)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Pwm_Provider_IPwmProvider::GetControllers() const + template auto consume_Windows_Devices_Pwm_Provider_IPwmProvider::GetControllers() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmProvider)->GetControllers(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Pwm.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Pwm.h index 694f589d..a9380ea3 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Pwm.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Pwm.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Pwm_H #define WINRT_Windows_Devices_Pwm_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Devices.Pwm.Provider.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,107 +13,107 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Pwm.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Pwm_IPwmController::PinCount() const + template auto consume_Windows_Devices_Pwm_IPwmController::PinCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmController)->get_PinCount(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_IPwmController::ActualFrequency() const + template auto consume_Windows_Devices_Pwm_IPwmController::ActualFrequency() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmController)->get_ActualFrequency(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_IPwmController::SetDesiredFrequency(double desiredFrequency) const + template auto consume_Windows_Devices_Pwm_IPwmController::SetDesiredFrequency(double desiredFrequency) const { double result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmController)->SetDesiredFrequency(desiredFrequency, &result)); return result; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_IPwmController::MinFrequency() const + template auto consume_Windows_Devices_Pwm_IPwmController::MinFrequency() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmController)->get_MinFrequency(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_IPwmController::MaxFrequency() const + template auto consume_Windows_Devices_Pwm_IPwmController::MaxFrequency() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmController)->get_MaxFrequency(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Pwm::PwmPin) consume_Windows_Devices_Pwm_IPwmController::OpenPin(int32_t pinNumber) const + template auto consume_Windows_Devices_Pwm_IPwmController::OpenPin(int32_t pinNumber) const { void* pin{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmController)->OpenPin(pinNumber, &pin)); return winrt::Windows::Devices::Pwm::PwmPin{ pin, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Pwm_IPwmControllerStatics::GetControllersAsync(winrt::Windows::Devices::Pwm::Provider::IPwmProvider const& provider) const + template auto consume_Windows_Devices_Pwm_IPwmControllerStatics::GetControllersAsync(winrt::Windows::Devices::Pwm::Provider::IPwmProvider const& provider) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmControllerStatics)->GetControllersAsync(*(void**)(&provider), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Pwm_IPwmControllerStatics2::GetDefaultAsync() const + template auto consume_Windows_Devices_Pwm_IPwmControllerStatics2::GetDefaultAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmControllerStatics2)->GetDefaultAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Pwm_IPwmControllerStatics3::GetDeviceSelector() const + template auto consume_Windows_Devices_Pwm_IPwmControllerStatics3::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmControllerStatics3)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Pwm_IPwmControllerStatics3::GetDeviceSelector(param::hstring const& friendlyName) const + template auto consume_Windows_Devices_Pwm_IPwmControllerStatics3::GetDeviceSelector(param::hstring const& friendlyName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmControllerStatics3)->GetDeviceSelectorFromFriendlyName(*(void**)(&friendlyName), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Pwm_IPwmControllerStatics3::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Pwm_IPwmControllerStatics3::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmControllerStatics3)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Pwm::PwmController) consume_Windows_Devices_Pwm_IPwmPin::Controller() const + template auto consume_Windows_Devices_Pwm_IPwmPin::Controller() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmPin)->get_Controller(&value)); return winrt::Windows::Devices::Pwm::PwmController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_IPwmPin::GetActiveDutyCyclePercentage() const + template auto consume_Windows_Devices_Pwm_IPwmPin::GetActiveDutyCyclePercentage() const { double result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmPin)->GetActiveDutyCyclePercentage(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_IPwmPin::SetActiveDutyCyclePercentage(double dutyCyclePercentage) const + template auto consume_Windows_Devices_Pwm_IPwmPin::SetActiveDutyCyclePercentage(double dutyCyclePercentage) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmPin)->SetActiveDutyCyclePercentage(dutyCyclePercentage)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Pwm::PwmPulsePolarity) consume_Windows_Devices_Pwm_IPwmPin::Polarity() const + template auto consume_Windows_Devices_Pwm_IPwmPin::Polarity() const { winrt::Windows::Devices::Pwm::PwmPulsePolarity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmPin)->get_Polarity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_IPwmPin::Polarity(winrt::Windows::Devices::Pwm::PwmPulsePolarity const& value) const + template auto consume_Windows_Devices_Pwm_IPwmPin::Polarity(winrt::Windows::Devices::Pwm::PwmPulsePolarity const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmPin)->put_Polarity(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_IPwmPin::Start() const + template auto consume_Windows_Devices_Pwm_IPwmPin::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmPin)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_IPwmPin::Stop() const + template auto consume_Windows_Devices_Pwm_IPwmPin::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmPin)->Stop()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Pwm_IPwmPin::IsStarted() const + template auto consume_Windows_Devices_Pwm_IPwmPin::IsStarted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmPin)->get_IsStarted(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Radios.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Radios.h index b6d004cc..4c5f2d81 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Radios.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Radios.h @@ -1,74 +1,74 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Radios_H #define WINRT_Windows_Devices_Radios_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Devices.Radios.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Radios_IRadio::SetStateAsync(winrt::Windows::Devices::Radios::RadioState const& value) const + template auto consume_Windows_Devices_Radios_IRadio::SetStateAsync(winrt::Windows::Devices::Radios::RadioState const& value) const { void* retval{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadio)->SetStateAsync(static_cast(value), &retval)); return winrt::Windows::Foundation::IAsyncOperation{ retval, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Radios_IRadio::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Radios_IRadio::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadio)->add_StateChanged(*(void**)(&handler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Devices_Radios_IRadio::StateChanged_revoker consume_Windows_Devices_Radios_IRadio::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Radios_IRadio::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Radios_IRadio::StateChanged(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Devices_Radios_IRadio::StateChanged(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadio)->remove_StateChanged(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Radios::RadioState) consume_Windows_Devices_Radios_IRadio::State() const + template auto consume_Windows_Devices_Radios_IRadio::State() const { winrt::Windows::Devices::Radios::RadioState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadio)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Radios_IRadio::Name() const + template auto consume_Windows_Devices_Radios_IRadio::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadio)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Radios::RadioKind) consume_Windows_Devices_Radios_IRadio::Kind() const + template auto consume_Windows_Devices_Radios_IRadio::Kind() const { winrt::Windows::Devices::Radios::RadioKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadio)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Radios_IRadioStatics::GetRadiosAsync() const + template auto consume_Windows_Devices_Radios_IRadioStatics::GetRadiosAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadioStatics)->GetRadiosAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Radios_IRadioStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Radios_IRadioStatics::GetDeviceSelector() const { void* deviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadioStatics)->GetDeviceSelector(&deviceSelector)); return hstring{ deviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Radios_IRadioStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Radios_IRadioStatics::FromIdAsync(param::hstring const& deviceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadioStatics)->FromIdAsync(*(void**)(&deviceId), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Radios_IRadioStatics::RequestAccessAsync() const + template auto consume_Windows_Devices_Radios_IRadioStatics::RequestAccessAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadioStatics)->RequestAccessAsync(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Scanners.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Scanners.h index 698f42c8..b714843e 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Scanners.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Scanners.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Scanners_H #define WINRT_Windows_Devices_Scanners_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,359 +15,359 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Scanners.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Scanners_IImageScanner::DeviceId() const + template auto consume_Windows_Devices_Scanners_IImageScanner::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScanner)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerScanSource) consume_Windows_Devices_Scanners_IImageScanner::DefaultScanSource() const + template auto consume_Windows_Devices_Scanners_IImageScanner::DefaultScanSource() const { winrt::Windows::Devices::Scanners::ImageScannerScanSource value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScanner)->get_DefaultScanSource(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScanner::IsScanSourceSupported(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& value) const + template auto consume_Windows_Devices_Scanners_IImageScanner::IsScanSourceSupported(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScanner)->IsScanSourceSupported(static_cast(value), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerFlatbedConfiguration) consume_Windows_Devices_Scanners_IImageScanner::FlatbedConfiguration() const + template auto consume_Windows_Devices_Scanners_IImageScanner::FlatbedConfiguration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScanner)->get_FlatbedConfiguration(&value)); return winrt::Windows::Devices::Scanners::ImageScannerFlatbedConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerFeederConfiguration) consume_Windows_Devices_Scanners_IImageScanner::FeederConfiguration() const + template auto consume_Windows_Devices_Scanners_IImageScanner::FeederConfiguration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScanner)->get_FeederConfiguration(&value)); return winrt::Windows::Devices::Scanners::ImageScannerFeederConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerAutoConfiguration) consume_Windows_Devices_Scanners_IImageScanner::AutoConfiguration() const + template auto consume_Windows_Devices_Scanners_IImageScanner::AutoConfiguration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScanner)->get_AutoConfiguration(&value)); return winrt::Windows::Devices::Scanners::ImageScannerAutoConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScanner::IsPreviewSupported(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource) const + template auto consume_Windows_Devices_Scanners_IImageScanner::IsPreviewSupported(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScanner)->IsPreviewSupported(static_cast(scanSource), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Scanners_IImageScanner::ScanPreviewToStreamAsync(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource, winrt::Windows::Storage::Streams::IRandomAccessStream const& targetStream) const + template auto consume_Windows_Devices_Scanners_IImageScanner::ScanPreviewToStreamAsync(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource, winrt::Windows::Storage::Streams::IRandomAccessStream const& targetStream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScanner)->ScanPreviewToStreamAsync(static_cast(scanSource), *(void**)(&targetStream), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Devices_Scanners_IImageScanner::ScanFilesToFolderAsync(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource, winrt::Windows::Storage::StorageFolder const& storageFolder) const + template auto consume_Windows_Devices_Scanners_IImageScanner::ScanFilesToFolderAsync(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource, winrt::Windows::Storage::StorageFolder const& storageFolder) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScanner)->ScanFilesToFolderAsync(static_cast(scanSource), *(void**)(&storageFolder), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::CanAutoDetectPageSize() const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::CanAutoDetectPageSize() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_CanAutoDetectPageSize(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::AutoDetectPageSize() const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::AutoDetectPageSize() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_AutoDetectPageSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::AutoDetectPageSize(bool value) const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::AutoDetectPageSize(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->put_AutoDetectPageSize(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintMediaSize) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::PageSize() const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::PageSize() const { winrt::Windows::Graphics::Printing::PrintMediaSize value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_PageSize(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::PageSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::PageSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->put_PageSize(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintOrientation) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::PageOrientation() const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::PageOrientation() const { winrt::Windows::Graphics::Printing::PrintOrientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_PageOrientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::PageOrientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::PageOrientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->put_PageOrientation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::PageSizeDimensions() const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::PageSizeDimensions() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_PageSizeDimensions(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::IsPageSizeSupported(winrt::Windows::Graphics::Printing::PrintMediaSize const& pageSize, winrt::Windows::Graphics::Printing::PrintOrientation const& pageOrientation) const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::IsPageSizeSupported(winrt::Windows::Graphics::Printing::PrintMediaSize const& pageSize, winrt::Windows::Graphics::Printing::PrintOrientation const& pageOrientation) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->IsPageSizeSupported(static_cast(pageSize), static_cast(pageOrientation), &result)); return result; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::MaxNumberOfPages() const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::MaxNumberOfPages() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_MaxNumberOfPages(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::MaxNumberOfPages(uint32_t value) const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::MaxNumberOfPages(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->put_MaxNumberOfPages(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::CanScanDuplex() const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::CanScanDuplex() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_CanScanDuplex(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::Duplex() const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::Duplex() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_Duplex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::Duplex(bool value) const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::Duplex(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->put_Duplex(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::CanScanAhead() const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::CanScanAhead() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_CanScanAhead(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::ScanAhead() const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::ScanAhead() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_ScanAhead(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::ScanAhead(bool value) const + template auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration::ScanAhead(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->put_ScanAhead(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerFormat) consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration::DefaultFormat() const + template auto consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration::DefaultFormat() const { winrt::Windows::Devices::Scanners::ImageScannerFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration)->get_DefaultFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerFormat) consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration::Format() const + template auto consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration::Format() const { winrt::Windows::Devices::Scanners::ImageScannerFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration)->get_Format(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration::Format(winrt::Windows::Devices::Scanners::ImageScannerFormat const& value) const + template auto consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration::Format(winrt::Windows::Devices::Scanners::ImageScannerFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration)->put_Format(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration::IsFormatSupported(winrt::Windows::Devices::Scanners::ImageScannerFormat const& value) const + template auto consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration::IsFormatSupported(winrt::Windows::Devices::Scanners::ImageScannerFormat const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration)->IsFormatSupported(static_cast(value), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerPreviewResult::Succeeded() const + template auto consume_Windows_Devices_Scanners_IImageScannerPreviewResult::Succeeded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerPreviewResult)->get_Succeeded(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerFormat) consume_Windows_Devices_Scanners_IImageScannerPreviewResult::Format() const + template auto consume_Windows_Devices_Scanners_IImageScannerPreviewResult::Format() const { winrt::Windows::Devices::Scanners::ImageScannerFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerPreviewResult)->get_Format(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Scanners_IImageScannerScanResult::ScannedFiles() const + template auto consume_Windows_Devices_Scanners_IImageScannerScanResult::ScannedFiles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerScanResult)->get_ScannedFiles(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::MinScanArea() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::MinScanArea() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_MinScanArea(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::MaxScanArea() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::MaxScanArea() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_MaxScanArea(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::SelectedScanRegion() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::SelectedScanRegion() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_SelectedScanRegion(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::SelectedScanRegion(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::SelectedScanRegion(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->put_SelectedScanRegion(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::AutoCroppingMode() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::AutoCroppingMode() const { winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_AutoCroppingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::AutoCroppingMode(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode const& value) const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::AutoCroppingMode(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->put_AutoCroppingMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::IsAutoCroppingModeSupported(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode const& value) const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::IsAutoCroppingModeSupported(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->IsAutoCroppingModeSupported(static_cast(value), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerResolution) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::MinResolution() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::MinResolution() const { winrt::Windows::Devices::Scanners::ImageScannerResolution value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_MinResolution(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerResolution) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::MaxResolution() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::MaxResolution() const { winrt::Windows::Devices::Scanners::ImageScannerResolution value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_MaxResolution(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerResolution) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::OpticalResolution() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::OpticalResolution() const { winrt::Windows::Devices::Scanners::ImageScannerResolution value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_OpticalResolution(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerResolution) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::DesiredResolution() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::DesiredResolution() const { winrt::Windows::Devices::Scanners::ImageScannerResolution value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_DesiredResolution(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::DesiredResolution(winrt::Windows::Devices::Scanners::ImageScannerResolution const& value) const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::DesiredResolution(winrt::Windows::Devices::Scanners::ImageScannerResolution const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->put_DesiredResolution(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerResolution) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::ActualResolution() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::ActualResolution() const { winrt::Windows::Devices::Scanners::ImageScannerResolution value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_ActualResolution(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerColorMode) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::DefaultColorMode() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::DefaultColorMode() const { winrt::Windows::Devices::Scanners::ImageScannerColorMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_DefaultColorMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerColorMode) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::ColorMode() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::ColorMode() const { winrt::Windows::Devices::Scanners::ImageScannerColorMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_ColorMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::ColorMode(winrt::Windows::Devices::Scanners::ImageScannerColorMode const& value) const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::ColorMode(winrt::Windows::Devices::Scanners::ImageScannerColorMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->put_ColorMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::IsColorModeSupported(winrt::Windows::Devices::Scanners::ImageScannerColorMode const& value) const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::IsColorModeSupported(winrt::Windows::Devices::Scanners::ImageScannerColorMode const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->IsColorModeSupported(static_cast(value), &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::MinBrightness() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::MinBrightness() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_MinBrightness(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::MaxBrightness() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::MaxBrightness() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_MaxBrightness(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::BrightnessStep() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::BrightnessStep() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_BrightnessStep(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::DefaultBrightness() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::DefaultBrightness() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_DefaultBrightness(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::Brightness() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::Brightness() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_Brightness(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::Brightness(int32_t value) const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::Brightness(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->put_Brightness(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::MinContrast() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::MinContrast() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_MinContrast(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::MaxContrast() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::MaxContrast() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_MaxContrast(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::ContrastStep() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::ContrastStep() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_ContrastStep(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::DefaultContrast() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::DefaultContrast() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_DefaultContrast(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::Contrast() const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::Contrast() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_Contrast(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::Contrast(int32_t value) const + template auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration::Contrast(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->put_Contrast(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Scanners_IImageScannerStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Scanners_IImageScannerStatics::FromIdAsync(param::hstring const& deviceId) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerStatics)->FromIdAsync(*(void**)(&deviceId), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Scanners_IImageScannerStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Scanners_IImageScannerStatics::GetDeviceSelector() const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerStatics)->GetDeviceSelector(&selector)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sensors.Custom.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sensors.Custom.h index bb270c62..df932797 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sensors.Custom.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sensors.Custom.h @@ -1,106 +1,106 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Sensors_Custom_H #define WINRT_Windows_Devices_Sensors_Custom_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.Sensors.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Devices.Sensors.Custom.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Custom::CustomSensorReading) consume_Windows_Devices_Sensors_Custom_ICustomSensor::GetCurrentReading() const + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensor::GetCurrentReading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor)->GetCurrentReading(&value)); return winrt::Windows::Devices::Sensors::Custom::CustomSensorReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_Custom_ICustomSensor::MinimumReportInterval() const + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensor::MinimumReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor)->get_MinimumReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_Custom_ICustomSensor::ReportInterval(uint32_t value) const + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensor::ReportInterval(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor)->put_ReportInterval(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_Custom_ICustomSensor::ReportInterval() const + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensor::ReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor)->get_ReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_Custom_ICustomSensor::DeviceId() const + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensor::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_Custom_ICustomSensor::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensor::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor)->add_ReadingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Sensors_Custom_ICustomSensor::ReadingChanged_revoker consume_Windows_Devices_Sensors_Custom_ICustomSensor::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensor::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReadingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_Custom_ICustomSensor::ReadingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensor::ReadingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor)->remove_ReadingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_Custom_ICustomSensor2::ReportLatency(uint32_t value) const + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensor2::ReportLatency(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor2)->put_ReportLatency(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_Custom_ICustomSensor2::ReportLatency() const + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensor2::ReportLatency() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor2)->get_ReportLatency(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_Custom_ICustomSensor2::MaxBatchSize() const + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensor2::MaxBatchSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor2)->get_MaxBatchSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_Custom_ICustomSensorReading::Timestamp() const + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensorReading::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensorReading)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Sensors_Custom_ICustomSensorReading::Properties() const + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensorReading::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensorReading)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Sensors_Custom_ICustomSensorReading2::PerformanceCount() const + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensorReading2::PerformanceCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensorReading2)->get_PerformanceCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Custom::CustomSensorReading) consume_Windows_Devices_Sensors_Custom_ICustomSensorReadingChangedEventArgs::Reading() const + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensorReadingChangedEventArgs::Reading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensorReadingChangedEventArgs)->get_Reading(&value)); return winrt::Windows::Devices::Sensors::Custom::CustomSensorReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_Custom_ICustomSensorStatics::GetDeviceSelector(winrt::guid const& interfaceId) const + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensorStatics::GetDeviceSelector(winrt::guid const& interfaceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensorStatics)->GetDeviceSelector(impl::bind_in(interfaceId), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_Custom_ICustomSensorStatics::FromIdAsync(param::hstring const& sensorId) const + template auto consume_Windows_Devices_Sensors_Custom_ICustomSensorStatics::FromIdAsync(param::hstring const& sensorId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensorStatics)->FromIdAsync(*(void**)(&sensorId), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sensors.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sensors.h index a6a5c057..9469c271 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sensors.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sensors.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Sensors_H #define WINRT_Windows_Devices_Sensors_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,1943 +13,1943 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Sensors.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AccelerometerReading) consume_Windows_Devices_Sensors_IAccelerometer::GetCurrentReading() const + template auto consume_Windows_Devices_Sensors_IAccelerometer::GetCurrentReading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer)->GetCurrentReading(&value)); return winrt::Windows::Devices::Sensors::AccelerometerReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IAccelerometer::MinimumReportInterval() const + template auto consume_Windows_Devices_Sensors_IAccelerometer::MinimumReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer)->get_MinimumReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAccelerometer::ReportInterval(uint32_t value) const + template auto consume_Windows_Devices_Sensors_IAccelerometer::ReportInterval(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer)->put_ReportInterval(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IAccelerometer::ReportInterval() const + template auto consume_Windows_Devices_Sensors_IAccelerometer::ReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer)->get_ReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IAccelerometer::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IAccelerometer::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer)->add_ReadingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Sensors_IAccelerometer::ReadingChanged_revoker consume_Windows_Devices_Sensors_IAccelerometer::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IAccelerometer::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReadingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAccelerometer::ReadingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Sensors_IAccelerometer::ReadingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer)->remove_ReadingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IAccelerometer::Shaken(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IAccelerometer::Shaken(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer)->add_Shaken(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Sensors_IAccelerometer::Shaken_revoker consume_Windows_Devices_Sensors_IAccelerometer::Shaken(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IAccelerometer::Shaken(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Shaken(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAccelerometer::Shaken(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Sensors_IAccelerometer::Shaken(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer)->remove_Shaken(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAccelerometer2::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const + template auto consume_Windows_Devices_Sensors_IAccelerometer2::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer2)->put_ReadingTransform(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Devices_Sensors_IAccelerometer2::ReadingTransform() const + template auto consume_Windows_Devices_Sensors_IAccelerometer2::ReadingTransform() const { winrt::Windows::Graphics::Display::DisplayOrientations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer2)->get_ReadingTransform(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAccelerometer3::ReportLatency(uint32_t value) const + template auto consume_Windows_Devices_Sensors_IAccelerometer3::ReportLatency(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer3)->put_ReportLatency(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IAccelerometer3::ReportLatency() const + template auto consume_Windows_Devices_Sensors_IAccelerometer3::ReportLatency() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer3)->get_ReportLatency(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IAccelerometer3::MaxBatchSize() const + template auto consume_Windows_Devices_Sensors_IAccelerometer3::MaxBatchSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer3)->get_MaxBatchSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AccelerometerReadingType) consume_Windows_Devices_Sensors_IAccelerometer4::ReadingType() const + template auto consume_Windows_Devices_Sensors_IAccelerometer4::ReadingType() const { winrt::Windows::Devices::Sensors::AccelerometerReadingType type{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer4)->get_ReadingType(reinterpret_cast(&type))); return type; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AccelerometerDataThreshold) consume_Windows_Devices_Sensors_IAccelerometer5::ReportThreshold() const + template auto consume_Windows_Devices_Sensors_IAccelerometer5::ReportThreshold() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer5)->get_ReportThreshold(&value)); return winrt::Windows::Devices::Sensors::AccelerometerDataThreshold{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IAccelerometerDataThreshold::XAxisInGForce() const + template auto consume_Windows_Devices_Sensors_IAccelerometerDataThreshold::XAxisInGForce() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerDataThreshold)->get_XAxisInGForce(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAccelerometerDataThreshold::XAxisInGForce(double value) const + template auto consume_Windows_Devices_Sensors_IAccelerometerDataThreshold::XAxisInGForce(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerDataThreshold)->put_XAxisInGForce(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IAccelerometerDataThreshold::YAxisInGForce() const + template auto consume_Windows_Devices_Sensors_IAccelerometerDataThreshold::YAxisInGForce() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerDataThreshold)->get_YAxisInGForce(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAccelerometerDataThreshold::YAxisInGForce(double value) const + template auto consume_Windows_Devices_Sensors_IAccelerometerDataThreshold::YAxisInGForce(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerDataThreshold)->put_YAxisInGForce(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IAccelerometerDataThreshold::ZAxisInGForce() const + template auto consume_Windows_Devices_Sensors_IAccelerometerDataThreshold::ZAxisInGForce() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerDataThreshold)->get_ZAxisInGForce(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAccelerometerDataThreshold::ZAxisInGForce(double value) const + template auto consume_Windows_Devices_Sensors_IAccelerometerDataThreshold::ZAxisInGForce(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerDataThreshold)->put_ZAxisInGForce(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IAccelerometerDeviceId::DeviceId() const + template auto consume_Windows_Devices_Sensors_IAccelerometerDeviceId::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerDeviceId)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IAccelerometerReading::Timestamp() const + template auto consume_Windows_Devices_Sensors_IAccelerometerReading::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerReading)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IAccelerometerReading::AccelerationX() const + template auto consume_Windows_Devices_Sensors_IAccelerometerReading::AccelerationX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerReading)->get_AccelerationX(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IAccelerometerReading::AccelerationY() const + template auto consume_Windows_Devices_Sensors_IAccelerometerReading::AccelerationY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerReading)->get_AccelerationY(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IAccelerometerReading::AccelerationZ() const + template auto consume_Windows_Devices_Sensors_IAccelerometerReading::AccelerationZ() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerReading)->get_AccelerationZ(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Sensors_IAccelerometerReading2::PerformanceCount() const + template auto consume_Windows_Devices_Sensors_IAccelerometerReading2::PerformanceCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerReading2)->get_PerformanceCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Sensors_IAccelerometerReading2::Properties() const + template auto consume_Windows_Devices_Sensors_IAccelerometerReading2::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerReading2)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AccelerometerReading) consume_Windows_Devices_Sensors_IAccelerometerReadingChangedEventArgs::Reading() const + template auto consume_Windows_Devices_Sensors_IAccelerometerReadingChangedEventArgs::Reading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerReadingChangedEventArgs)->get_Reading(&value)); return winrt::Windows::Devices::Sensors::AccelerometerReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IAccelerometerShakenEventArgs::Timestamp() const + template auto consume_Windows_Devices_Sensors_IAccelerometerShakenEventArgs::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerShakenEventArgs)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Accelerometer) consume_Windows_Devices_Sensors_IAccelerometerStatics::GetDefault() const + template auto consume_Windows_Devices_Sensors_IAccelerometerStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerStatics)->GetDefault(&result)); return winrt::Windows::Devices::Sensors::Accelerometer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Accelerometer) consume_Windows_Devices_Sensors_IAccelerometerStatics2::GetDefault(winrt::Windows::Devices::Sensors::AccelerometerReadingType const& readingType) const + template auto consume_Windows_Devices_Sensors_IAccelerometerStatics2::GetDefault(winrt::Windows::Devices::Sensors::AccelerometerReadingType const& readingType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerStatics2)->GetDefaultWithAccelerometerReadingType(static_cast(readingType), &result)); return winrt::Windows::Devices::Sensors::Accelerometer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_IAccelerometerStatics3::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Sensors_IAccelerometerStatics3::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerStatics3)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IAccelerometerStatics3::GetDeviceSelector(winrt::Windows::Devices::Sensors::AccelerometerReadingType const& readingType) const + template auto consume_Windows_Devices_Sensors_IAccelerometerStatics3::GetDeviceSelector(winrt::Windows::Devices::Sensors::AccelerometerReadingType const& readingType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerStatics3)->GetDeviceSelector(static_cast(readingType), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_IActivitySensor::GetCurrentReadingAsync() const + template auto consume_Windows_Devices_Sensors_IActivitySensor::GetCurrentReadingAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensor)->GetCurrentReadingAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Sensors_IActivitySensor::SubscribedActivities() const + template auto consume_Windows_Devices_Sensors_IActivitySensor::SubscribedActivities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensor)->get_SubscribedActivities(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IActivitySensor::PowerInMilliwatts() const + template auto consume_Windows_Devices_Sensors_IActivitySensor::PowerInMilliwatts() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensor)->get_PowerInMilliwatts(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IActivitySensor::DeviceId() const + template auto consume_Windows_Devices_Sensors_IActivitySensor::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensor)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Sensors_IActivitySensor::SupportedActivities() const + template auto consume_Windows_Devices_Sensors_IActivitySensor::SupportedActivities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensor)->get_SupportedActivities(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IActivitySensor::MinimumReportInterval() const + template auto consume_Windows_Devices_Sensors_IActivitySensor::MinimumReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensor)->get_MinimumReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IActivitySensor::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IActivitySensor::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensor)->add_ReadingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Sensors_IActivitySensor::ReadingChanged_revoker consume_Windows_Devices_Sensors_IActivitySensor::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IActivitySensor::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReadingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IActivitySensor::ReadingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Sensors_IActivitySensor::ReadingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensor)->remove_ReadingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IActivitySensorReading::Timestamp() const + template auto consume_Windows_Devices_Sensors_IActivitySensorReading::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensorReading)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ActivityType) consume_Windows_Devices_Sensors_IActivitySensorReading::Activity() const + template auto consume_Windows_Devices_Sensors_IActivitySensorReading::Activity() const { winrt::Windows::Devices::Sensors::ActivityType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensorReading)->get_Activity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ActivitySensorReadingConfidence) consume_Windows_Devices_Sensors_IActivitySensorReading::Confidence() const + template auto consume_Windows_Devices_Sensors_IActivitySensorReading::Confidence() const { winrt::Windows::Devices::Sensors::ActivitySensorReadingConfidence value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensorReading)->get_Confidence(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ActivitySensorReading) consume_Windows_Devices_Sensors_IActivitySensorReadingChangeReport::Reading() const + template auto consume_Windows_Devices_Sensors_IActivitySensorReadingChangeReport::Reading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensorReadingChangeReport)->get_Reading(&value)); return winrt::Windows::Devices::Sensors::ActivitySensorReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ActivitySensorReading) consume_Windows_Devices_Sensors_IActivitySensorReadingChangedEventArgs::Reading() const + template auto consume_Windows_Devices_Sensors_IActivitySensorReadingChangedEventArgs::Reading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensorReadingChangedEventArgs)->get_Reading(&value)); return winrt::Windows::Devices::Sensors::ActivitySensorReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_IActivitySensorStatics::GetDefaultAsync() const + template auto consume_Windows_Devices_Sensors_IActivitySensorStatics::GetDefaultAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensorStatics)->GetDefaultAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IActivitySensorStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Sensors_IActivitySensorStatics::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensorStatics)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_IActivitySensorStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Sensors_IActivitySensorStatics::FromIdAsync(param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensorStatics)->FromIdAsync(*(void**)(&deviceId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Sensors_IActivitySensorStatics::GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime) const + template auto consume_Windows_Devices_Sensors_IActivitySensorStatics::GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensorStatics)->GetSystemHistoryAsync(impl::bind_in(fromTime), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Sensors_IActivitySensorStatics::GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime, winrt::Windows::Foundation::TimeSpan const& duration) const + template auto consume_Windows_Devices_Sensors_IActivitySensorStatics::GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime, winrt::Windows::Foundation::TimeSpan const& duration) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensorStatics)->GetSystemHistoryWithDurationAsync(impl::bind_in(fromTime), impl::bind_in(duration), &result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Sensors_IActivitySensorTriggerDetails::ReadReports() const + template auto consume_Windows_Devices_Sensors_IActivitySensorTriggerDetails::ReadReports() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensorTriggerDetails)->ReadReports(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AltimeterReading) consume_Windows_Devices_Sensors_IAltimeter::GetCurrentReading() const + template auto consume_Windows_Devices_Sensors_IAltimeter::GetCurrentReading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter)->GetCurrentReading(&value)); return winrt::Windows::Devices::Sensors::AltimeterReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IAltimeter::DeviceId() const + template auto consume_Windows_Devices_Sensors_IAltimeter::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IAltimeter::MinimumReportInterval() const + template auto consume_Windows_Devices_Sensors_IAltimeter::MinimumReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter)->get_MinimumReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAltimeter::ReportInterval(uint32_t value) const + template auto consume_Windows_Devices_Sensors_IAltimeter::ReportInterval(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter)->put_ReportInterval(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IAltimeter::ReportInterval() const + template auto consume_Windows_Devices_Sensors_IAltimeter::ReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter)->get_ReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IAltimeter::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IAltimeter::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter)->add_ReadingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Sensors_IAltimeter::ReadingChanged_revoker consume_Windows_Devices_Sensors_IAltimeter::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IAltimeter::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReadingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAltimeter::ReadingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Sensors_IAltimeter::ReadingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter)->remove_ReadingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAltimeter2::ReportLatency(uint32_t value) const + template auto consume_Windows_Devices_Sensors_IAltimeter2::ReportLatency(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter2)->put_ReportLatency(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IAltimeter2::ReportLatency() const + template auto consume_Windows_Devices_Sensors_IAltimeter2::ReportLatency() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter2)->get_ReportLatency(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IAltimeter2::MaxBatchSize() const + template auto consume_Windows_Devices_Sensors_IAltimeter2::MaxBatchSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter2)->get_MaxBatchSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IAltimeterReading::Timestamp() const + template auto consume_Windows_Devices_Sensors_IAltimeterReading::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeterReading)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IAltimeterReading::AltitudeChangeInMeters() const + template auto consume_Windows_Devices_Sensors_IAltimeterReading::AltitudeChangeInMeters() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeterReading)->get_AltitudeChangeInMeters(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Sensors_IAltimeterReading2::PerformanceCount() const + template auto consume_Windows_Devices_Sensors_IAltimeterReading2::PerformanceCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeterReading2)->get_PerformanceCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Sensors_IAltimeterReading2::Properties() const + template auto consume_Windows_Devices_Sensors_IAltimeterReading2::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeterReading2)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AltimeterReading) consume_Windows_Devices_Sensors_IAltimeterReadingChangedEventArgs::Reading() const + template auto consume_Windows_Devices_Sensors_IAltimeterReadingChangedEventArgs::Reading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeterReadingChangedEventArgs)->get_Reading(&value)); return winrt::Windows::Devices::Sensors::AltimeterReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Altimeter) consume_Windows_Devices_Sensors_IAltimeterStatics::GetDefault() const + template auto consume_Windows_Devices_Sensors_IAltimeterStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeterStatics)->GetDefault(&result)); return winrt::Windows::Devices::Sensors::Altimeter{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::BarometerReading) consume_Windows_Devices_Sensors_IBarometer::GetCurrentReading() const + template auto consume_Windows_Devices_Sensors_IBarometer::GetCurrentReading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer)->GetCurrentReading(&value)); return winrt::Windows::Devices::Sensors::BarometerReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IBarometer::DeviceId() const + template auto consume_Windows_Devices_Sensors_IBarometer::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IBarometer::MinimumReportInterval() const + template auto consume_Windows_Devices_Sensors_IBarometer::MinimumReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer)->get_MinimumReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IBarometer::ReportInterval(uint32_t value) const + template auto consume_Windows_Devices_Sensors_IBarometer::ReportInterval(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer)->put_ReportInterval(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IBarometer::ReportInterval() const + template auto consume_Windows_Devices_Sensors_IBarometer::ReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer)->get_ReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IBarometer::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IBarometer::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer)->add_ReadingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Sensors_IBarometer::ReadingChanged_revoker consume_Windows_Devices_Sensors_IBarometer::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IBarometer::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReadingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IBarometer::ReadingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Sensors_IBarometer::ReadingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer)->remove_ReadingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IBarometer2::ReportLatency(uint32_t value) const + template auto consume_Windows_Devices_Sensors_IBarometer2::ReportLatency(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer2)->put_ReportLatency(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IBarometer2::ReportLatency() const + template auto consume_Windows_Devices_Sensors_IBarometer2::ReportLatency() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer2)->get_ReportLatency(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IBarometer2::MaxBatchSize() const + template auto consume_Windows_Devices_Sensors_IBarometer2::MaxBatchSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer2)->get_MaxBatchSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::BarometerDataThreshold) consume_Windows_Devices_Sensors_IBarometer3::ReportThreshold() const + template auto consume_Windows_Devices_Sensors_IBarometer3::ReportThreshold() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer3)->get_ReportThreshold(&value)); return winrt::Windows::Devices::Sensors::BarometerDataThreshold{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IBarometerDataThreshold::Hectopascals() const + template auto consume_Windows_Devices_Sensors_IBarometerDataThreshold::Hectopascals() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometerDataThreshold)->get_Hectopascals(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IBarometerDataThreshold::Hectopascals(double value) const + template auto consume_Windows_Devices_Sensors_IBarometerDataThreshold::Hectopascals(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometerDataThreshold)->put_Hectopascals(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IBarometerReading::Timestamp() const + template auto consume_Windows_Devices_Sensors_IBarometerReading::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometerReading)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IBarometerReading::StationPressureInHectopascals() const + template auto consume_Windows_Devices_Sensors_IBarometerReading::StationPressureInHectopascals() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometerReading)->get_StationPressureInHectopascals(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Sensors_IBarometerReading2::PerformanceCount() const + template auto consume_Windows_Devices_Sensors_IBarometerReading2::PerformanceCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometerReading2)->get_PerformanceCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Sensors_IBarometerReading2::Properties() const + template auto consume_Windows_Devices_Sensors_IBarometerReading2::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometerReading2)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::BarometerReading) consume_Windows_Devices_Sensors_IBarometerReadingChangedEventArgs::Reading() const + template auto consume_Windows_Devices_Sensors_IBarometerReadingChangedEventArgs::Reading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometerReadingChangedEventArgs)->get_Reading(&value)); return winrt::Windows::Devices::Sensors::BarometerReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Barometer) consume_Windows_Devices_Sensors_IBarometerStatics::GetDefault() const + template auto consume_Windows_Devices_Sensors_IBarometerStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometerStatics)->GetDefault(&result)); return winrt::Windows::Devices::Sensors::Barometer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_IBarometerStatics2::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Sensors_IBarometerStatics2::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometerStatics2)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IBarometerStatics2::GetDeviceSelector() const + template auto consume_Windows_Devices_Sensors_IBarometerStatics2::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometerStatics2)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::CompassReading) consume_Windows_Devices_Sensors_ICompass::GetCurrentReading() const + template auto consume_Windows_Devices_Sensors_ICompass::GetCurrentReading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass)->GetCurrentReading(&value)); return winrt::Windows::Devices::Sensors::CompassReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_ICompass::MinimumReportInterval() const + template auto consume_Windows_Devices_Sensors_ICompass::MinimumReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass)->get_MinimumReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ICompass::ReportInterval(uint32_t value) const + template auto consume_Windows_Devices_Sensors_ICompass::ReportInterval(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass)->put_ReportInterval(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_ICompass::ReportInterval() const + template auto consume_Windows_Devices_Sensors_ICompass::ReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass)->get_ReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_ICompass::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_ICompass::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass)->add_ReadingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Sensors_ICompass::ReadingChanged_revoker consume_Windows_Devices_Sensors_ICompass::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_ICompass::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReadingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ICompass::ReadingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Sensors_ICompass::ReadingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass)->remove_ReadingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ICompass2::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const + template auto consume_Windows_Devices_Sensors_ICompass2::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass2)->put_ReadingTransform(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Devices_Sensors_ICompass2::ReadingTransform() const + template auto consume_Windows_Devices_Sensors_ICompass2::ReadingTransform() const { winrt::Windows::Graphics::Display::DisplayOrientations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass2)->get_ReadingTransform(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ICompass3::ReportLatency(uint32_t value) const + template auto consume_Windows_Devices_Sensors_ICompass3::ReportLatency(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass3)->put_ReportLatency(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_ICompass3::ReportLatency() const + template auto consume_Windows_Devices_Sensors_ICompass3::ReportLatency() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass3)->get_ReportLatency(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_ICompass3::MaxBatchSize() const + template auto consume_Windows_Devices_Sensors_ICompass3::MaxBatchSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass3)->get_MaxBatchSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::CompassDataThreshold) consume_Windows_Devices_Sensors_ICompass4::ReportThreshold() const + template auto consume_Windows_Devices_Sensors_ICompass4::ReportThreshold() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass4)->get_ReportThreshold(&value)); return winrt::Windows::Devices::Sensors::CompassDataThreshold{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_ICompassDataThreshold::Degrees() const + template auto consume_Windows_Devices_Sensors_ICompassDataThreshold::Degrees() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassDataThreshold)->get_Degrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ICompassDataThreshold::Degrees(double value) const + template auto consume_Windows_Devices_Sensors_ICompassDataThreshold::Degrees(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassDataThreshold)->put_Degrees(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_ICompassDeviceId::DeviceId() const + template auto consume_Windows_Devices_Sensors_ICompassDeviceId::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassDeviceId)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_ICompassReading::Timestamp() const + template auto consume_Windows_Devices_Sensors_ICompassReading::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassReading)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_ICompassReading::HeadingMagneticNorth() const + template auto consume_Windows_Devices_Sensors_ICompassReading::HeadingMagneticNorth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassReading)->get_HeadingMagneticNorth(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Sensors_ICompassReading::HeadingTrueNorth() const + template auto consume_Windows_Devices_Sensors_ICompassReading::HeadingTrueNorth() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassReading)->get_HeadingTrueNorth(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Sensors_ICompassReading2::PerformanceCount() const + template auto consume_Windows_Devices_Sensors_ICompassReading2::PerformanceCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassReading2)->get_PerformanceCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Sensors_ICompassReading2::Properties() const + template auto consume_Windows_Devices_Sensors_ICompassReading2::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassReading2)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::CompassReading) consume_Windows_Devices_Sensors_ICompassReadingChangedEventArgs::Reading() const + template auto consume_Windows_Devices_Sensors_ICompassReadingChangedEventArgs::Reading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassReadingChangedEventArgs)->get_Reading(&value)); return winrt::Windows::Devices::Sensors::CompassReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerAccuracy) consume_Windows_Devices_Sensors_ICompassReadingHeadingAccuracy::HeadingAccuracy() const + template auto consume_Windows_Devices_Sensors_ICompassReadingHeadingAccuracy::HeadingAccuracy() const { winrt::Windows::Devices::Sensors::MagnetometerAccuracy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassReadingHeadingAccuracy)->get_HeadingAccuracy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Compass) consume_Windows_Devices_Sensors_ICompassStatics::GetDefault() const + template auto consume_Windows_Devices_Sensors_ICompassStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassStatics)->GetDefault(&result)); return winrt::Windows::Devices::Sensors::Compass{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_ICompassStatics2::GetDeviceSelector() const + template auto consume_Windows_Devices_Sensors_ICompassStatics2::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassStatics2)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_ICompassStatics2::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Sensors_ICompassStatics2::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassStatics2)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::GyrometerReading) consume_Windows_Devices_Sensors_IGyrometer::GetCurrentReading() const + template auto consume_Windows_Devices_Sensors_IGyrometer::GetCurrentReading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer)->GetCurrentReading(&value)); return winrt::Windows::Devices::Sensors::GyrometerReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IGyrometer::MinimumReportInterval() const + template auto consume_Windows_Devices_Sensors_IGyrometer::MinimumReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer)->get_MinimumReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IGyrometer::ReportInterval(uint32_t value) const + template auto consume_Windows_Devices_Sensors_IGyrometer::ReportInterval(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer)->put_ReportInterval(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IGyrometer::ReportInterval() const + template auto consume_Windows_Devices_Sensors_IGyrometer::ReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer)->get_ReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IGyrometer::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IGyrometer::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer)->add_ReadingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Sensors_IGyrometer::ReadingChanged_revoker consume_Windows_Devices_Sensors_IGyrometer::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IGyrometer::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReadingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IGyrometer::ReadingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Sensors_IGyrometer::ReadingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer)->remove_ReadingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IGyrometer2::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const + template auto consume_Windows_Devices_Sensors_IGyrometer2::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer2)->put_ReadingTransform(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Devices_Sensors_IGyrometer2::ReadingTransform() const + template auto consume_Windows_Devices_Sensors_IGyrometer2::ReadingTransform() const { winrt::Windows::Graphics::Display::DisplayOrientations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer2)->get_ReadingTransform(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IGyrometer3::ReportLatency(uint32_t value) const + template auto consume_Windows_Devices_Sensors_IGyrometer3::ReportLatency(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer3)->put_ReportLatency(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IGyrometer3::ReportLatency() const + template auto consume_Windows_Devices_Sensors_IGyrometer3::ReportLatency() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer3)->get_ReportLatency(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IGyrometer3::MaxBatchSize() const + template auto consume_Windows_Devices_Sensors_IGyrometer3::MaxBatchSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer3)->get_MaxBatchSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::GyrometerDataThreshold) consume_Windows_Devices_Sensors_IGyrometer4::ReportThreshold() const + template auto consume_Windows_Devices_Sensors_IGyrometer4::ReportThreshold() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer4)->get_ReportThreshold(&value)); return winrt::Windows::Devices::Sensors::GyrometerDataThreshold{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IGyrometerDataThreshold::XAxisInDegreesPerSecond() const + template auto consume_Windows_Devices_Sensors_IGyrometerDataThreshold::XAxisInDegreesPerSecond() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerDataThreshold)->get_XAxisInDegreesPerSecond(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IGyrometerDataThreshold::XAxisInDegreesPerSecond(double value) const + template auto consume_Windows_Devices_Sensors_IGyrometerDataThreshold::XAxisInDegreesPerSecond(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerDataThreshold)->put_XAxisInDegreesPerSecond(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IGyrometerDataThreshold::YAxisInDegreesPerSecond() const + template auto consume_Windows_Devices_Sensors_IGyrometerDataThreshold::YAxisInDegreesPerSecond() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerDataThreshold)->get_YAxisInDegreesPerSecond(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IGyrometerDataThreshold::YAxisInDegreesPerSecond(double value) const + template auto consume_Windows_Devices_Sensors_IGyrometerDataThreshold::YAxisInDegreesPerSecond(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerDataThreshold)->put_YAxisInDegreesPerSecond(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IGyrometerDataThreshold::ZAxisInDegreesPerSecond() const + template auto consume_Windows_Devices_Sensors_IGyrometerDataThreshold::ZAxisInDegreesPerSecond() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerDataThreshold)->get_ZAxisInDegreesPerSecond(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IGyrometerDataThreshold::ZAxisInDegreesPerSecond(double value) const + template auto consume_Windows_Devices_Sensors_IGyrometerDataThreshold::ZAxisInDegreesPerSecond(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerDataThreshold)->put_ZAxisInDegreesPerSecond(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IGyrometerDeviceId::DeviceId() const + template auto consume_Windows_Devices_Sensors_IGyrometerDeviceId::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerDeviceId)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IGyrometerReading::Timestamp() const + template auto consume_Windows_Devices_Sensors_IGyrometerReading::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerReading)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IGyrometerReading::AngularVelocityX() const + template auto consume_Windows_Devices_Sensors_IGyrometerReading::AngularVelocityX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerReading)->get_AngularVelocityX(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IGyrometerReading::AngularVelocityY() const + template auto consume_Windows_Devices_Sensors_IGyrometerReading::AngularVelocityY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerReading)->get_AngularVelocityY(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IGyrometerReading::AngularVelocityZ() const + template auto consume_Windows_Devices_Sensors_IGyrometerReading::AngularVelocityZ() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerReading)->get_AngularVelocityZ(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Sensors_IGyrometerReading2::PerformanceCount() const + template auto consume_Windows_Devices_Sensors_IGyrometerReading2::PerformanceCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerReading2)->get_PerformanceCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Sensors_IGyrometerReading2::Properties() const + template auto consume_Windows_Devices_Sensors_IGyrometerReading2::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerReading2)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::GyrometerReading) consume_Windows_Devices_Sensors_IGyrometerReadingChangedEventArgs::Reading() const + template auto consume_Windows_Devices_Sensors_IGyrometerReadingChangedEventArgs::Reading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerReadingChangedEventArgs)->get_Reading(&value)); return winrt::Windows::Devices::Sensors::GyrometerReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Gyrometer) consume_Windows_Devices_Sensors_IGyrometerStatics::GetDefault() const + template auto consume_Windows_Devices_Sensors_IGyrometerStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerStatics)->GetDefault(&result)); return winrt::Windows::Devices::Sensors::Gyrometer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IGyrometerStatics2::GetDeviceSelector() const + template auto consume_Windows_Devices_Sensors_IGyrometerStatics2::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerStatics2)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_IGyrometerStatics2::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Sensors_IGyrometerStatics2::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerStatics2)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IHingeAngleReading::Timestamp() const + template auto consume_Windows_Devices_Sensors_IHingeAngleReading::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleReading)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IHingeAngleReading::AngleInDegrees() const + template auto consume_Windows_Devices_Sensors_IHingeAngleReading::AngleInDegrees() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleReading)->get_AngleInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Sensors_IHingeAngleReading::Properties() const + template auto consume_Windows_Devices_Sensors_IHingeAngleReading::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleReading)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_IHingeAngleSensor::GetCurrentReadingAsync() const + template auto consume_Windows_Devices_Sensors_IHingeAngleSensor::GetCurrentReadingAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensor)->GetCurrentReadingAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IHingeAngleSensor::DeviceId() const + template auto consume_Windows_Devices_Sensors_IHingeAngleSensor::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensor)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IHingeAngleSensor::MinReportThresholdInDegrees() const + template auto consume_Windows_Devices_Sensors_IHingeAngleSensor::MinReportThresholdInDegrees() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensor)->get_MinReportThresholdInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IHingeAngleSensor::ReportThresholdInDegrees() const + template auto consume_Windows_Devices_Sensors_IHingeAngleSensor::ReportThresholdInDegrees() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensor)->get_ReportThresholdInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IHingeAngleSensor::ReportThresholdInDegrees(double value) const + template auto consume_Windows_Devices_Sensors_IHingeAngleSensor::ReportThresholdInDegrees(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensor)->put_ReportThresholdInDegrees(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IHingeAngleSensor::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IHingeAngleSensor::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensor)->add_ReadingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Sensors_IHingeAngleSensor::ReadingChanged_revoker consume_Windows_Devices_Sensors_IHingeAngleSensor::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IHingeAngleSensor::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReadingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IHingeAngleSensor::ReadingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Sensors_IHingeAngleSensor::ReadingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensor)->remove_ReadingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::HingeAngleReading) consume_Windows_Devices_Sensors_IHingeAngleSensorReadingChangedEventArgs::Reading() const + template auto consume_Windows_Devices_Sensors_IHingeAngleSensorReadingChangedEventArgs::Reading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensorReadingChangedEventArgs)->get_Reading(&value)); return winrt::Windows::Devices::Sensors::HingeAngleReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IHingeAngleSensorStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Sensors_IHingeAngleSensorStatics::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensorStatics)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_IHingeAngleSensorStatics::GetDefaultAsync() const + template auto consume_Windows_Devices_Sensors_IHingeAngleSensorStatics::GetDefaultAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensorStatics)->GetDefaultAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_IHingeAngleSensorStatics::GetRelatedToAdjacentPanelsAsync(param::hstring const& firstPanelId, param::hstring const& secondPanelId) const + template auto consume_Windows_Devices_Sensors_IHingeAngleSensorStatics::GetRelatedToAdjacentPanelsAsync(param::hstring const& firstPanelId, param::hstring const& secondPanelId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensorStatics)->GetRelatedToAdjacentPanelsAsync(*(void**)(&firstPanelId), *(void**)(&secondPanelId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_IHingeAngleSensorStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Sensors_IHingeAngleSensorStatics::FromIdAsync(param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensorStatics)->FromIdAsync(*(void**)(&deviceId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::InclinometerReading) consume_Windows_Devices_Sensors_IInclinometer::GetCurrentReading() const + template auto consume_Windows_Devices_Sensors_IInclinometer::GetCurrentReading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer)->GetCurrentReading(&value)); return winrt::Windows::Devices::Sensors::InclinometerReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IInclinometer::MinimumReportInterval() const + template auto consume_Windows_Devices_Sensors_IInclinometer::MinimumReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer)->get_MinimumReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IInclinometer::ReportInterval(uint32_t value) const + template auto consume_Windows_Devices_Sensors_IInclinometer::ReportInterval(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer)->put_ReportInterval(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IInclinometer::ReportInterval() const + template auto consume_Windows_Devices_Sensors_IInclinometer::ReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer)->get_ReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IInclinometer::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IInclinometer::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer)->add_ReadingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Sensors_IInclinometer::ReadingChanged_revoker consume_Windows_Devices_Sensors_IInclinometer::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IInclinometer::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReadingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IInclinometer::ReadingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Sensors_IInclinometer::ReadingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer)->remove_ReadingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IInclinometer2::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const + template auto consume_Windows_Devices_Sensors_IInclinometer2::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer2)->put_ReadingTransform(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Devices_Sensors_IInclinometer2::ReadingTransform() const + template auto consume_Windows_Devices_Sensors_IInclinometer2::ReadingTransform() const { winrt::Windows::Graphics::Display::DisplayOrientations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer2)->get_ReadingTransform(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SensorReadingType) consume_Windows_Devices_Sensors_IInclinometer2::ReadingType() const + template auto consume_Windows_Devices_Sensors_IInclinometer2::ReadingType() const { winrt::Windows::Devices::Sensors::SensorReadingType type{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer2)->get_ReadingType(reinterpret_cast(&type))); return type; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IInclinometer3::ReportLatency(uint32_t value) const + template auto consume_Windows_Devices_Sensors_IInclinometer3::ReportLatency(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer3)->put_ReportLatency(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IInclinometer3::ReportLatency() const + template auto consume_Windows_Devices_Sensors_IInclinometer3::ReportLatency() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer3)->get_ReportLatency(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IInclinometer3::MaxBatchSize() const + template auto consume_Windows_Devices_Sensors_IInclinometer3::MaxBatchSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer3)->get_MaxBatchSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::InclinometerDataThreshold) consume_Windows_Devices_Sensors_IInclinometer4::ReportThreshold() const + template auto consume_Windows_Devices_Sensors_IInclinometer4::ReportThreshold() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer4)->get_ReportThreshold(&value)); return winrt::Windows::Devices::Sensors::InclinometerDataThreshold{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IInclinometerDataThreshold::PitchInDegrees() const + template auto consume_Windows_Devices_Sensors_IInclinometerDataThreshold::PitchInDegrees() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerDataThreshold)->get_PitchInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IInclinometerDataThreshold::PitchInDegrees(float value) const + template auto consume_Windows_Devices_Sensors_IInclinometerDataThreshold::PitchInDegrees(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerDataThreshold)->put_PitchInDegrees(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IInclinometerDataThreshold::RollInDegrees() const + template auto consume_Windows_Devices_Sensors_IInclinometerDataThreshold::RollInDegrees() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerDataThreshold)->get_RollInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IInclinometerDataThreshold::RollInDegrees(float value) const + template auto consume_Windows_Devices_Sensors_IInclinometerDataThreshold::RollInDegrees(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerDataThreshold)->put_RollInDegrees(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IInclinometerDataThreshold::YawInDegrees() const + template auto consume_Windows_Devices_Sensors_IInclinometerDataThreshold::YawInDegrees() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerDataThreshold)->get_YawInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IInclinometerDataThreshold::YawInDegrees(float value) const + template auto consume_Windows_Devices_Sensors_IInclinometerDataThreshold::YawInDegrees(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerDataThreshold)->put_YawInDegrees(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IInclinometerDeviceId::DeviceId() const + template auto consume_Windows_Devices_Sensors_IInclinometerDeviceId::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerDeviceId)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IInclinometerReading::Timestamp() const + template auto consume_Windows_Devices_Sensors_IInclinometerReading::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerReading)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IInclinometerReading::PitchDegrees() const + template auto consume_Windows_Devices_Sensors_IInclinometerReading::PitchDegrees() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerReading)->get_PitchDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IInclinometerReading::RollDegrees() const + template auto consume_Windows_Devices_Sensors_IInclinometerReading::RollDegrees() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerReading)->get_RollDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IInclinometerReading::YawDegrees() const + template auto consume_Windows_Devices_Sensors_IInclinometerReading::YawDegrees() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerReading)->get_YawDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Sensors_IInclinometerReading2::PerformanceCount() const + template auto consume_Windows_Devices_Sensors_IInclinometerReading2::PerformanceCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerReading2)->get_PerformanceCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Sensors_IInclinometerReading2::Properties() const + template auto consume_Windows_Devices_Sensors_IInclinometerReading2::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerReading2)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::InclinometerReading) consume_Windows_Devices_Sensors_IInclinometerReadingChangedEventArgs::Reading() const + template auto consume_Windows_Devices_Sensors_IInclinometerReadingChangedEventArgs::Reading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerReadingChangedEventArgs)->get_Reading(&value)); return winrt::Windows::Devices::Sensors::InclinometerReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerAccuracy) consume_Windows_Devices_Sensors_IInclinometerReadingYawAccuracy::YawAccuracy() const + template auto consume_Windows_Devices_Sensors_IInclinometerReadingYawAccuracy::YawAccuracy() const { winrt::Windows::Devices::Sensors::MagnetometerAccuracy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerReadingYawAccuracy)->get_YawAccuracy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Inclinometer) consume_Windows_Devices_Sensors_IInclinometerStatics::GetDefault() const + template auto consume_Windows_Devices_Sensors_IInclinometerStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerStatics)->GetDefault(&result)); return winrt::Windows::Devices::Sensors::Inclinometer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Inclinometer) consume_Windows_Devices_Sensors_IInclinometerStatics2::GetDefaultForRelativeReadings() const + template auto consume_Windows_Devices_Sensors_IInclinometerStatics2::GetDefaultForRelativeReadings() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerStatics2)->GetDefaultForRelativeReadings(&result)); return winrt::Windows::Devices::Sensors::Inclinometer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Inclinometer) consume_Windows_Devices_Sensors_IInclinometerStatics3::GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingtype) const + template auto consume_Windows_Devices_Sensors_IInclinometerStatics3::GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingtype) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerStatics3)->GetDefaultWithSensorReadingType(static_cast(sensorReadingtype), &result)); return winrt::Windows::Devices::Sensors::Inclinometer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IInclinometerStatics4::GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType) const + template auto consume_Windows_Devices_Sensors_IInclinometerStatics4::GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerStatics4)->GetDeviceSelector(static_cast(readingType), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_IInclinometerStatics4::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Sensors_IInclinometerStatics4::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerStatics4)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::LightSensorReading) consume_Windows_Devices_Sensors_ILightSensor::GetCurrentReading() const + template auto consume_Windows_Devices_Sensors_ILightSensor::GetCurrentReading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor)->GetCurrentReading(&value)); return winrt::Windows::Devices::Sensors::LightSensorReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_ILightSensor::MinimumReportInterval() const + template auto consume_Windows_Devices_Sensors_ILightSensor::MinimumReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor)->get_MinimumReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ILightSensor::ReportInterval(uint32_t value) const + template auto consume_Windows_Devices_Sensors_ILightSensor::ReportInterval(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor)->put_ReportInterval(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_ILightSensor::ReportInterval() const + template auto consume_Windows_Devices_Sensors_ILightSensor::ReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor)->get_ReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_ILightSensor::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_ILightSensor::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor)->add_ReadingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Sensors_ILightSensor::ReadingChanged_revoker consume_Windows_Devices_Sensors_ILightSensor::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_ILightSensor::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReadingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ILightSensor::ReadingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Sensors_ILightSensor::ReadingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor)->remove_ReadingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ILightSensor2::ReportLatency(uint32_t value) const + template auto consume_Windows_Devices_Sensors_ILightSensor2::ReportLatency(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor2)->put_ReportLatency(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_ILightSensor2::ReportLatency() const + template auto consume_Windows_Devices_Sensors_ILightSensor2::ReportLatency() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor2)->get_ReportLatency(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_ILightSensor2::MaxBatchSize() const + template auto consume_Windows_Devices_Sensors_ILightSensor2::MaxBatchSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor2)->get_MaxBatchSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::LightSensorDataThreshold) consume_Windows_Devices_Sensors_ILightSensor3::ReportThreshold() const + template auto consume_Windows_Devices_Sensors_ILightSensor3::ReportThreshold() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor3)->get_ReportThreshold(&value)); return winrt::Windows::Devices::Sensors::LightSensorDataThreshold{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ILightSensorDataThreshold::LuxPercentage() const + template auto consume_Windows_Devices_Sensors_ILightSensorDataThreshold::LuxPercentage() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorDataThreshold)->get_LuxPercentage(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ILightSensorDataThreshold::LuxPercentage(float value) const + template auto consume_Windows_Devices_Sensors_ILightSensorDataThreshold::LuxPercentage(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorDataThreshold)->put_LuxPercentage(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ILightSensorDataThreshold::AbsoluteLux() const + template auto consume_Windows_Devices_Sensors_ILightSensorDataThreshold::AbsoluteLux() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorDataThreshold)->get_AbsoluteLux(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ILightSensorDataThreshold::AbsoluteLux(float value) const + template auto consume_Windows_Devices_Sensors_ILightSensorDataThreshold::AbsoluteLux(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorDataThreshold)->put_AbsoluteLux(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_ILightSensorDeviceId::DeviceId() const + template auto consume_Windows_Devices_Sensors_ILightSensorDeviceId::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorDeviceId)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_ILightSensorReading::Timestamp() const + template auto consume_Windows_Devices_Sensors_ILightSensorReading::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorReading)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ILightSensorReading::IlluminanceInLux() const + template auto consume_Windows_Devices_Sensors_ILightSensorReading::IlluminanceInLux() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorReading)->get_IlluminanceInLux(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Sensors_ILightSensorReading2::PerformanceCount() const + template auto consume_Windows_Devices_Sensors_ILightSensorReading2::PerformanceCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorReading2)->get_PerformanceCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Sensors_ILightSensorReading2::Properties() const + template auto consume_Windows_Devices_Sensors_ILightSensorReading2::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorReading2)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::LightSensorReading) consume_Windows_Devices_Sensors_ILightSensorReadingChangedEventArgs::Reading() const + template auto consume_Windows_Devices_Sensors_ILightSensorReadingChangedEventArgs::Reading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorReadingChangedEventArgs)->get_Reading(&value)); return winrt::Windows::Devices::Sensors::LightSensorReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::LightSensor) consume_Windows_Devices_Sensors_ILightSensorStatics::GetDefault() const + template auto consume_Windows_Devices_Sensors_ILightSensorStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorStatics)->GetDefault(&result)); return winrt::Windows::Devices::Sensors::LightSensor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_ILightSensorStatics2::GetDeviceSelector() const + template auto consume_Windows_Devices_Sensors_ILightSensorStatics2::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorStatics2)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_ILightSensorStatics2::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Sensors_ILightSensorStatics2::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorStatics2)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerReading) consume_Windows_Devices_Sensors_IMagnetometer::GetCurrentReading() const + template auto consume_Windows_Devices_Sensors_IMagnetometer::GetCurrentReading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer)->GetCurrentReading(&value)); return winrt::Windows::Devices::Sensors::MagnetometerReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IMagnetometer::MinimumReportInterval() const + template auto consume_Windows_Devices_Sensors_IMagnetometer::MinimumReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer)->get_MinimumReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IMagnetometer::ReportInterval(uint32_t value) const + template auto consume_Windows_Devices_Sensors_IMagnetometer::ReportInterval(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer)->put_ReportInterval(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IMagnetometer::ReportInterval() const + template auto consume_Windows_Devices_Sensors_IMagnetometer::ReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer)->get_ReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IMagnetometer::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IMagnetometer::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer)->add_ReadingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Sensors_IMagnetometer::ReadingChanged_revoker consume_Windows_Devices_Sensors_IMagnetometer::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IMagnetometer::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReadingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IMagnetometer::ReadingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Sensors_IMagnetometer::ReadingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer)->remove_ReadingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IMagnetometer2::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const + template auto consume_Windows_Devices_Sensors_IMagnetometer2::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer2)->put_ReadingTransform(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Devices_Sensors_IMagnetometer2::ReadingTransform() const + template auto consume_Windows_Devices_Sensors_IMagnetometer2::ReadingTransform() const { winrt::Windows::Graphics::Display::DisplayOrientations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer2)->get_ReadingTransform(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IMagnetometer3::ReportLatency(uint32_t value) const + template auto consume_Windows_Devices_Sensors_IMagnetometer3::ReportLatency(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer3)->put_ReportLatency(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IMagnetometer3::ReportLatency() const + template auto consume_Windows_Devices_Sensors_IMagnetometer3::ReportLatency() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer3)->get_ReportLatency(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IMagnetometer3::MaxBatchSize() const + template auto consume_Windows_Devices_Sensors_IMagnetometer3::MaxBatchSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer3)->get_MaxBatchSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerDataThreshold) consume_Windows_Devices_Sensors_IMagnetometer4::ReportThreshold() const + template auto consume_Windows_Devices_Sensors_IMagnetometer4::ReportThreshold() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer4)->get_ReportThreshold(&value)); return winrt::Windows::Devices::Sensors::MagnetometerDataThreshold{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IMagnetometerDataThreshold::XAxisMicroteslas() const + template auto consume_Windows_Devices_Sensors_IMagnetometerDataThreshold::XAxisMicroteslas() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerDataThreshold)->get_XAxisMicroteslas(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IMagnetometerDataThreshold::XAxisMicroteslas(float value) const + template auto consume_Windows_Devices_Sensors_IMagnetometerDataThreshold::XAxisMicroteslas(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerDataThreshold)->put_XAxisMicroteslas(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IMagnetometerDataThreshold::YAxisMicroteslas() const + template auto consume_Windows_Devices_Sensors_IMagnetometerDataThreshold::YAxisMicroteslas() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerDataThreshold)->get_YAxisMicroteslas(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IMagnetometerDataThreshold::YAxisMicroteslas(float value) const + template auto consume_Windows_Devices_Sensors_IMagnetometerDataThreshold::YAxisMicroteslas(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerDataThreshold)->put_YAxisMicroteslas(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IMagnetometerDataThreshold::ZAxisMicroteslas() const + template auto consume_Windows_Devices_Sensors_IMagnetometerDataThreshold::ZAxisMicroteslas() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerDataThreshold)->get_ZAxisMicroteslas(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IMagnetometerDataThreshold::ZAxisMicroteslas(float value) const + template auto consume_Windows_Devices_Sensors_IMagnetometerDataThreshold::ZAxisMicroteslas(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerDataThreshold)->put_ZAxisMicroteslas(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IMagnetometerDeviceId::DeviceId() const + template auto consume_Windows_Devices_Sensors_IMagnetometerDeviceId::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerDeviceId)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IMagnetometerReading::Timestamp() const + template auto consume_Windows_Devices_Sensors_IMagnetometerReading::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerReading)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IMagnetometerReading::MagneticFieldX() const + template auto consume_Windows_Devices_Sensors_IMagnetometerReading::MagneticFieldX() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerReading)->get_MagneticFieldX(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IMagnetometerReading::MagneticFieldY() const + template auto consume_Windows_Devices_Sensors_IMagnetometerReading::MagneticFieldY() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerReading)->get_MagneticFieldY(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IMagnetometerReading::MagneticFieldZ() const + template auto consume_Windows_Devices_Sensors_IMagnetometerReading::MagneticFieldZ() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerReading)->get_MagneticFieldZ(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerAccuracy) consume_Windows_Devices_Sensors_IMagnetometerReading::DirectionalAccuracy() const + template auto consume_Windows_Devices_Sensors_IMagnetometerReading::DirectionalAccuracy() const { winrt::Windows::Devices::Sensors::MagnetometerAccuracy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerReading)->get_DirectionalAccuracy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Sensors_IMagnetometerReading2::PerformanceCount() const + template auto consume_Windows_Devices_Sensors_IMagnetometerReading2::PerformanceCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerReading2)->get_PerformanceCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Sensors_IMagnetometerReading2::Properties() const + template auto consume_Windows_Devices_Sensors_IMagnetometerReading2::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerReading2)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerReading) consume_Windows_Devices_Sensors_IMagnetometerReadingChangedEventArgs::Reading() const + template auto consume_Windows_Devices_Sensors_IMagnetometerReadingChangedEventArgs::Reading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerReadingChangedEventArgs)->get_Reading(&value)); return winrt::Windows::Devices::Sensors::MagnetometerReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Magnetometer) consume_Windows_Devices_Sensors_IMagnetometerStatics::GetDefault() const + template auto consume_Windows_Devices_Sensors_IMagnetometerStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerStatics)->GetDefault(&result)); return winrt::Windows::Devices::Sensors::Magnetometer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IMagnetometerStatics2::GetDeviceSelector() const + template auto consume_Windows_Devices_Sensors_IMagnetometerStatics2::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerStatics2)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_IMagnetometerStatics2::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Sensors_IMagnetometerStatics2::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerStatics2)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensorReading) consume_Windows_Devices_Sensors_IOrientationSensor::GetCurrentReading() const + template auto consume_Windows_Devices_Sensors_IOrientationSensor::GetCurrentReading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor)->GetCurrentReading(&value)); return winrt::Windows::Devices::Sensors::OrientationSensorReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IOrientationSensor::MinimumReportInterval() const + template auto consume_Windows_Devices_Sensors_IOrientationSensor::MinimumReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor)->get_MinimumReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IOrientationSensor::ReportInterval(uint32_t value) const + template auto consume_Windows_Devices_Sensors_IOrientationSensor::ReportInterval(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor)->put_ReportInterval(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IOrientationSensor::ReportInterval() const + template auto consume_Windows_Devices_Sensors_IOrientationSensor::ReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor)->get_ReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IOrientationSensor::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IOrientationSensor::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor)->add_ReadingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Sensors_IOrientationSensor::ReadingChanged_revoker consume_Windows_Devices_Sensors_IOrientationSensor::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IOrientationSensor::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReadingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IOrientationSensor::ReadingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Sensors_IOrientationSensor::ReadingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor)->remove_ReadingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IOrientationSensor2::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const + template auto consume_Windows_Devices_Sensors_IOrientationSensor2::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor2)->put_ReadingTransform(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Devices_Sensors_IOrientationSensor2::ReadingTransform() const + template auto consume_Windows_Devices_Sensors_IOrientationSensor2::ReadingTransform() const { winrt::Windows::Graphics::Display::DisplayOrientations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor2)->get_ReadingTransform(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SensorReadingType) consume_Windows_Devices_Sensors_IOrientationSensor2::ReadingType() const + template auto consume_Windows_Devices_Sensors_IOrientationSensor2::ReadingType() const { winrt::Windows::Devices::Sensors::SensorReadingType type{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor2)->get_ReadingType(reinterpret_cast(&type))); return type; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IOrientationSensor3::ReportLatency(uint32_t value) const + template auto consume_Windows_Devices_Sensors_IOrientationSensor3::ReportLatency(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor3)->put_ReportLatency(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IOrientationSensor3::ReportLatency() const + template auto consume_Windows_Devices_Sensors_IOrientationSensor3::ReportLatency() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor3)->get_ReportLatency(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IOrientationSensor3::MaxBatchSize() const + template auto consume_Windows_Devices_Sensors_IOrientationSensor3::MaxBatchSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor3)->get_MaxBatchSize(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IOrientationSensorDeviceId::DeviceId() const + template auto consume_Windows_Devices_Sensors_IOrientationSensorDeviceId::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorDeviceId)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IOrientationSensorReading::Timestamp() const + template auto consume_Windows_Devices_Sensors_IOrientationSensorReading::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorReading)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SensorRotationMatrix) consume_Windows_Devices_Sensors_IOrientationSensorReading::RotationMatrix() const + template auto consume_Windows_Devices_Sensors_IOrientationSensorReading::RotationMatrix() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorReading)->get_RotationMatrix(&value)); return winrt::Windows::Devices::Sensors::SensorRotationMatrix{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SensorQuaternion) consume_Windows_Devices_Sensors_IOrientationSensorReading::Quaternion() const + template auto consume_Windows_Devices_Sensors_IOrientationSensorReading::Quaternion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorReading)->get_Quaternion(&value)); return winrt::Windows::Devices::Sensors::SensorQuaternion{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Sensors_IOrientationSensorReading2::PerformanceCount() const + template auto consume_Windows_Devices_Sensors_IOrientationSensorReading2::PerformanceCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorReading2)->get_PerformanceCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Sensors_IOrientationSensorReading2::Properties() const + template auto consume_Windows_Devices_Sensors_IOrientationSensorReading2::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorReading2)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensorReading) consume_Windows_Devices_Sensors_IOrientationSensorReadingChangedEventArgs::Reading() const + template auto consume_Windows_Devices_Sensors_IOrientationSensorReadingChangedEventArgs::Reading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorReadingChangedEventArgs)->get_Reading(&value)); return winrt::Windows::Devices::Sensors::OrientationSensorReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerAccuracy) consume_Windows_Devices_Sensors_IOrientationSensorReadingYawAccuracy::YawAccuracy() const + template auto consume_Windows_Devices_Sensors_IOrientationSensorReadingYawAccuracy::YawAccuracy() const { winrt::Windows::Devices::Sensors::MagnetometerAccuracy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorReadingYawAccuracy)->get_YawAccuracy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensor) consume_Windows_Devices_Sensors_IOrientationSensorStatics::GetDefault() const + template auto consume_Windows_Devices_Sensors_IOrientationSensorStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorStatics)->GetDefault(&result)); return winrt::Windows::Devices::Sensors::OrientationSensor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensor) consume_Windows_Devices_Sensors_IOrientationSensorStatics2::GetDefaultForRelativeReadings() const + template auto consume_Windows_Devices_Sensors_IOrientationSensorStatics2::GetDefaultForRelativeReadings() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorStatics2)->GetDefaultForRelativeReadings(&result)); return winrt::Windows::Devices::Sensors::OrientationSensor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensor) consume_Windows_Devices_Sensors_IOrientationSensorStatics3::GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingtype) const + template auto consume_Windows_Devices_Sensors_IOrientationSensorStatics3::GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingtype) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorStatics3)->GetDefaultWithSensorReadingType(static_cast(sensorReadingtype), &result)); return winrt::Windows::Devices::Sensors::OrientationSensor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensor) consume_Windows_Devices_Sensors_IOrientationSensorStatics3::GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingType, winrt::Windows::Devices::Sensors::SensorOptimizationGoal const& optimizationGoal) const + template auto consume_Windows_Devices_Sensors_IOrientationSensorStatics3::GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingType, winrt::Windows::Devices::Sensors::SensorOptimizationGoal const& optimizationGoal) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorStatics3)->GetDefaultWithSensorReadingTypeAndSensorOptimizationGoal(static_cast(sensorReadingType), static_cast(optimizationGoal), &result)); return winrt::Windows::Devices::Sensors::OrientationSensor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IOrientationSensorStatics4::GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType) const + template auto consume_Windows_Devices_Sensors_IOrientationSensorStatics4::GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorStatics4)->GetDeviceSelector(static_cast(readingType), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IOrientationSensorStatics4::GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType, winrt::Windows::Devices::Sensors::SensorOptimizationGoal const& optimizationGoal) const + template auto consume_Windows_Devices_Sensors_IOrientationSensorStatics4::GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType, winrt::Windows::Devices::Sensors::SensorOptimizationGoal const& optimizationGoal) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorStatics4)->GetDeviceSelectorWithSensorReadingTypeAndSensorOptimizationGoal(static_cast(readingType), static_cast(optimizationGoal), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_IOrientationSensorStatics4::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Sensors_IOrientationSensorStatics4::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorStatics4)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IPedometer::DeviceId() const + template auto consume_Windows_Devices_Sensors_IPedometer::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometer)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IPedometer::PowerInMilliwatts() const + template auto consume_Windows_Devices_Sensors_IPedometer::PowerInMilliwatts() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometer)->get_PowerInMilliwatts(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IPedometer::MinimumReportInterval() const + template auto consume_Windows_Devices_Sensors_IPedometer::MinimumReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometer)->get_MinimumReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IPedometer::ReportInterval(uint32_t value) const + template auto consume_Windows_Devices_Sensors_IPedometer::ReportInterval(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometer)->put_ReportInterval(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IPedometer::ReportInterval() const + template auto consume_Windows_Devices_Sensors_IPedometer::ReportInterval() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometer)->get_ReportInterval(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IPedometer::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IPedometer::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometer)->add_ReadingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Sensors_IPedometer::ReadingChanged_revoker consume_Windows_Devices_Sensors_IPedometer::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IPedometer::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReadingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IPedometer::ReadingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Sensors_IPedometer::ReadingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometer)->remove_ReadingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Devices_Sensors_IPedometer2::GetCurrentReadings() const + template auto consume_Windows_Devices_Sensors_IPedometer2::GetCurrentReadings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometer2)->GetCurrentReadings(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::PedometerDataThreshold) consume_Windows_Devices_Sensors_IPedometerDataThresholdFactory::Create(winrt::Windows::Devices::Sensors::Pedometer const& sensor, int32_t stepGoal) const + template auto consume_Windows_Devices_Sensors_IPedometerDataThresholdFactory::Create(winrt::Windows::Devices::Sensors::Pedometer const& sensor, int32_t stepGoal) const { void* threshold{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometerDataThresholdFactory)->Create(*(void**)(&sensor), stepGoal, &threshold)); return winrt::Windows::Devices::Sensors::PedometerDataThreshold{ threshold, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::PedometerStepKind) consume_Windows_Devices_Sensors_IPedometerReading::StepKind() const + template auto consume_Windows_Devices_Sensors_IPedometerReading::StepKind() const { winrt::Windows::Devices::Sensors::PedometerStepKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometerReading)->get_StepKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sensors_IPedometerReading::CumulativeSteps() const + template auto consume_Windows_Devices_Sensors_IPedometerReading::CumulativeSteps() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometerReading)->get_CumulativeSteps(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IPedometerReading::Timestamp() const + template auto consume_Windows_Devices_Sensors_IPedometerReading::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometerReading)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Sensors_IPedometerReading::CumulativeStepsDuration() const + template auto consume_Windows_Devices_Sensors_IPedometerReading::CumulativeStepsDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometerReading)->get_CumulativeStepsDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::PedometerReading) consume_Windows_Devices_Sensors_IPedometerReadingChangedEventArgs::Reading() const + template auto consume_Windows_Devices_Sensors_IPedometerReadingChangedEventArgs::Reading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometerReadingChangedEventArgs)->get_Reading(&value)); return winrt::Windows::Devices::Sensors::PedometerReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_IPedometerStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Sensors_IPedometerStatics::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometerStatics)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_IPedometerStatics::GetDefaultAsync() const + template auto consume_Windows_Devices_Sensors_IPedometerStatics::GetDefaultAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometerStatics)->GetDefaultAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IPedometerStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Sensors_IPedometerStatics::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometerStatics)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Sensors_IPedometerStatics::GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime) const + template auto consume_Windows_Devices_Sensors_IPedometerStatics::GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometerStatics)->GetSystemHistoryAsync(impl::bind_in(fromTime), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Sensors_IPedometerStatics::GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime, winrt::Windows::Foundation::TimeSpan const& duration) const + template auto consume_Windows_Devices_Sensors_IPedometerStatics::GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime, winrt::Windows::Foundation::TimeSpan const& duration) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometerStatics)->GetSystemHistoryWithDurationAsync(impl::bind_in(fromTime), impl::bind_in(duration), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Sensors_IPedometerStatics2::GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails) const + template auto consume_Windows_Devices_Sensors_IPedometerStatics2::GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometerStatics2)->GetReadingsFromTriggerDetails(*(void**)(&triggerDetails), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IProximitySensor::DeviceId() const + template auto consume_Windows_Devices_Sensors_IProximitySensor::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensor)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Sensors_IProximitySensor::MaxDistanceInMillimeters() const + template auto consume_Windows_Devices_Sensors_IProximitySensor::MaxDistanceInMillimeters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensor)->get_MaxDistanceInMillimeters(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Sensors_IProximitySensor::MinDistanceInMillimeters() const + template auto consume_Windows_Devices_Sensors_IProximitySensor::MinDistanceInMillimeters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensor)->get_MinDistanceInMillimeters(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensorReading) consume_Windows_Devices_Sensors_IProximitySensor::GetCurrentReading() const + template auto consume_Windows_Devices_Sensors_IProximitySensor::GetCurrentReading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensor)->GetCurrentReading(&value)); return winrt::Windows::Devices::Sensors::ProximitySensorReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IProximitySensor::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IProximitySensor::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensor)->add_ReadingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Sensors_IProximitySensor::ReadingChanged_revoker consume_Windows_Devices_Sensors_IProximitySensor::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_IProximitySensor::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReadingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IProximitySensor::ReadingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Sensors_IProximitySensor::ReadingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensor)->remove_ReadingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensorDisplayOnOffController) consume_Windows_Devices_Sensors_IProximitySensor::CreateDisplayOnOffController() const + template auto consume_Windows_Devices_Sensors_IProximitySensor::CreateDisplayOnOffController() const { void* controller{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensor)->CreateDisplayOnOffController(&controller)); return winrt::Windows::Devices::Sensors::ProximitySensorDisplayOnOffController{ controller, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensorDataThreshold) consume_Windows_Devices_Sensors_IProximitySensorDataThresholdFactory::Create(winrt::Windows::Devices::Sensors::ProximitySensor const& sensor) const + template auto consume_Windows_Devices_Sensors_IProximitySensorDataThresholdFactory::Create(winrt::Windows::Devices::Sensors::ProximitySensor const& sensor) const { void* threshold{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensorDataThresholdFactory)->Create(*(void**)(&sensor), &threshold)); return winrt::Windows::Devices::Sensors::ProximitySensorDataThreshold{ threshold, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IProximitySensorReading::Timestamp() const + template auto consume_Windows_Devices_Sensors_IProximitySensorReading::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensorReading)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Sensors_IProximitySensorReading::IsDetected() const + template auto consume_Windows_Devices_Sensors_IProximitySensorReading::IsDetected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensorReading)->get_IsDetected(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Sensors_IProximitySensorReading::DistanceInMillimeters() const + template auto consume_Windows_Devices_Sensors_IProximitySensorReading::DistanceInMillimeters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensorReading)->get_DistanceInMillimeters(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensorReading) consume_Windows_Devices_Sensors_IProximitySensorReadingChangedEventArgs::Reading() const + template auto consume_Windows_Devices_Sensors_IProximitySensorReadingChangedEventArgs::Reading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensorReadingChangedEventArgs)->get_Reading(&value)); return winrt::Windows::Devices::Sensors::ProximitySensorReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IProximitySensorStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Sensors_IProximitySensorStatics::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensorStatics)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensor) consume_Windows_Devices_Sensors_IProximitySensorStatics::FromId(param::hstring const& sensorId) const + template auto consume_Windows_Devices_Sensors_IProximitySensorStatics::FromId(param::hstring const& sensorId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensorStatics)->FromId(*(void**)(&sensorId), &result)); return winrt::Windows::Devices::Sensors::ProximitySensor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Sensors_IProximitySensorStatics2::GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails) const + template auto consume_Windows_Devices_Sensors_IProximitySensorStatics2::GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensorStatics2)->GetReadingsFromTriggerDetails(*(void**)(&triggerDetails), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_ISensorDataThresholdTriggerDetails::DeviceId() const + template auto consume_Windows_Devices_Sensors_ISensorDataThresholdTriggerDetails::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SensorType) consume_Windows_Devices_Sensors_ISensorDataThresholdTriggerDetails::SensorType() const + template auto consume_Windows_Devices_Sensors_ISensorDataThresholdTriggerDetails::SensorType() const { winrt::Windows::Devices::Sensors::SensorType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails)->get_SensorType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorQuaternion::W() const + template auto consume_Windows_Devices_Sensors_ISensorQuaternion::W() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorQuaternion)->get_W(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorQuaternion::X() const + template auto consume_Windows_Devices_Sensors_ISensorQuaternion::X() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorQuaternion)->get_X(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorQuaternion::Y() const + template auto consume_Windows_Devices_Sensors_ISensorQuaternion::Y() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorQuaternion)->get_Y(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorQuaternion::Z() const + template auto consume_Windows_Devices_Sensors_ISensorQuaternion::Z() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorQuaternion)->get_Z(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix::M11() const + template auto consume_Windows_Devices_Sensors_ISensorRotationMatrix::M11() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M11(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix::M12() const + template auto consume_Windows_Devices_Sensors_ISensorRotationMatrix::M12() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M12(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix::M13() const + template auto consume_Windows_Devices_Sensors_ISensorRotationMatrix::M13() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M13(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix::M21() const + template auto consume_Windows_Devices_Sensors_ISensorRotationMatrix::M21() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M21(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix::M22() const + template auto consume_Windows_Devices_Sensors_ISensorRotationMatrix::M22() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M22(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix::M23() const + template auto consume_Windows_Devices_Sensors_ISensorRotationMatrix::M23() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M23(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix::M31() const + template auto consume_Windows_Devices_Sensors_ISensorRotationMatrix::M31() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M31(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix::M32() const + template auto consume_Windows_Devices_Sensors_ISensorRotationMatrix::M32() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M32(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix::M33() const + template auto consume_Windows_Devices_Sensors_ISensorRotationMatrix::M33() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M33(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientation) consume_Windows_Devices_Sensors_ISimpleOrientationSensor::GetCurrentOrientation() const + template auto consume_Windows_Devices_Sensors_ISimpleOrientationSensor::GetCurrentOrientation() const { winrt::Windows::Devices::Sensors::SimpleOrientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensor)->GetCurrentOrientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_ISimpleOrientationSensor::OrientationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_ISimpleOrientationSensor::OrientationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensor)->add_OrientationChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Sensors_ISimpleOrientationSensor::OrientationChanged_revoker consume_Windows_Devices_Sensors_ISimpleOrientationSensor::OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Sensors_ISimpleOrientationSensor::OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, OrientationChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ISimpleOrientationSensor::OrientationChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Sensors_ISimpleOrientationSensor::OrientationChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensor)->remove_OrientationChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ISimpleOrientationSensor2::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const + template auto consume_Windows_Devices_Sensors_ISimpleOrientationSensor2::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensor2)->put_ReadingTransform(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Devices_Sensors_ISimpleOrientationSensor2::ReadingTransform() const + template auto consume_Windows_Devices_Sensors_ISimpleOrientationSensor2::ReadingTransform() const { winrt::Windows::Graphics::Display::DisplayOrientations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensor2)->get_ReadingTransform(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_ISimpleOrientationSensorDeviceId::DeviceId() const + template auto consume_Windows_Devices_Sensors_ISimpleOrientationSensorDeviceId::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensorDeviceId)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_ISimpleOrientationSensorOrientationChangedEventArgs::Timestamp() const + template auto consume_Windows_Devices_Sensors_ISimpleOrientationSensorOrientationChangedEventArgs::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensorOrientationChangedEventArgs)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientation) consume_Windows_Devices_Sensors_ISimpleOrientationSensorOrientationChangedEventArgs::Orientation() const + template auto consume_Windows_Devices_Sensors_ISimpleOrientationSensorOrientationChangedEventArgs::Orientation() const { winrt::Windows::Devices::Sensors::SimpleOrientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensorOrientationChangedEventArgs)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientationSensor) consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics::GetDefault() const + template auto consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensorStatics)->GetDefault(&result)); return winrt::Windows::Devices::Sensors::SimpleOrientationSensor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics2::GetDeviceSelector() const + template auto consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics2::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensorStatics2)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics2::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics2::FromIdAsync(param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensorStatics2)->FromIdAsync(*(void**)(&deviceId), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.SerialCommunication.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.SerialCommunication.h index a003a585..5fd12f99 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.SerialCommunication.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.SerialCommunication.h @@ -1,230 +1,230 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_SerialCommunication_H #define WINRT_Windows_Devices_SerialCommunication_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.Devices.SerialCommunication.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialError) consume_Windows_Devices_SerialCommunication_IErrorReceivedEventArgs::Error() const + template auto consume_Windows_Devices_SerialCommunication_IErrorReceivedEventArgs::Error() const { winrt::Windows::Devices::SerialCommunication::SerialError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::IErrorReceivedEventArgs)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialPinChange) consume_Windows_Devices_SerialCommunication_IPinChangedEventArgs::PinChange() const + template auto consume_Windows_Devices_SerialCommunication_IPinChangedEventArgs::PinChange() const { winrt::Windows::Devices::SerialCommunication::SerialPinChange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::IPinChangedEventArgs)->get_PinChange(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_SerialCommunication_ISerialDevice::BaudRate() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::BaudRate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_BaudRate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice::BaudRate(uint32_t value) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::BaudRate(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_BaudRate(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SerialCommunication_ISerialDevice::BreakSignalState() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::BreakSignalState() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_BreakSignalState(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice::BreakSignalState(bool value) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::BreakSignalState(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_BreakSignalState(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_SerialCommunication_ISerialDevice::BytesReceived() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::BytesReceived() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_BytesReceived(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SerialCommunication_ISerialDevice::CarrierDetectState() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::CarrierDetectState() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_CarrierDetectState(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SerialCommunication_ISerialDevice::ClearToSendState() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::ClearToSendState() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_ClearToSendState(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_SerialCommunication_ISerialDevice::DataBits() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::DataBits() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_DataBits(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice::DataBits(uint16_t value) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::DataBits(uint16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_DataBits(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SerialCommunication_ISerialDevice::DataSetReadyState() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::DataSetReadyState() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_DataSetReadyState(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialHandshake) consume_Windows_Devices_SerialCommunication_ISerialDevice::Handshake() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::Handshake() const { winrt::Windows::Devices::SerialCommunication::SerialHandshake value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_Handshake(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice::Handshake(winrt::Windows::Devices::SerialCommunication::SerialHandshake const& value) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::Handshake(winrt::Windows::Devices::SerialCommunication::SerialHandshake const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_Handshake(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SerialCommunication_ISerialDevice::IsDataTerminalReadyEnabled() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::IsDataTerminalReadyEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_IsDataTerminalReadyEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice::IsDataTerminalReadyEnabled(bool value) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::IsDataTerminalReadyEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_IsDataTerminalReadyEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SerialCommunication_ISerialDevice::IsRequestToSendEnabled() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::IsRequestToSendEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_IsRequestToSendEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice::IsRequestToSendEnabled(bool value) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::IsRequestToSendEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_IsRequestToSendEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialParity) consume_Windows_Devices_SerialCommunication_ISerialDevice::Parity() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::Parity() const { winrt::Windows::Devices::SerialCommunication::SerialParity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_Parity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice::Parity(winrt::Windows::Devices::SerialCommunication::SerialParity const& value) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::Parity(winrt::Windows::Devices::SerialCommunication::SerialParity const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_Parity(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SerialCommunication_ISerialDevice::PortName() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::PortName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_PortName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_SerialCommunication_ISerialDevice::ReadTimeout() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::ReadTimeout() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_ReadTimeout(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice::ReadTimeout(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::ReadTimeout(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_ReadTimeout(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialStopBitCount) consume_Windows_Devices_SerialCommunication_ISerialDevice::StopBits() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::StopBits() const { winrt::Windows::Devices::SerialCommunication::SerialStopBitCount value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_StopBits(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice::StopBits(winrt::Windows::Devices::SerialCommunication::SerialStopBitCount const& value) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::StopBits(winrt::Windows::Devices::SerialCommunication::SerialStopBitCount const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_StopBits(static_cast(value))); } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_SerialCommunication_ISerialDevice::UsbVendorId() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::UsbVendorId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_UsbVendorId(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_SerialCommunication_ISerialDevice::UsbProductId() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::UsbProductId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_UsbProductId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_SerialCommunication_ISerialDevice::WriteTimeout() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::WriteTimeout() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_WriteTimeout(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice::WriteTimeout(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::WriteTimeout(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_WriteTimeout(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Devices_SerialCommunication_ISerialDevice::InputStream() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::InputStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_InputStream(&value)); return winrt::Windows::Storage::Streams::IInputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Devices_SerialCommunication_ISerialDevice::OutputStream() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::OutputStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_OutputStream(&value)); return winrt::Windows::Storage::Streams::IOutputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_SerialCommunication_ISerialDevice::ErrorReceived(winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::ErrorReceived(winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->add_ErrorReceived(*(void**)(&reportHandler), put_abi(token))); return token; } - template typename consume_Windows_Devices_SerialCommunication_ISerialDevice::ErrorReceived_revoker consume_Windows_Devices_SerialCommunication_ISerialDevice::ErrorReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::ErrorReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const { return impl::make_event_revoker(this, ErrorReceived(reportHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice::ErrorReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::ErrorReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->remove_ErrorReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_SerialCommunication_ISerialDevice::PinChanged(winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::PinChanged(winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->add_PinChanged(*(void**)(&reportHandler), put_abi(token))); return token; } - template typename consume_Windows_Devices_SerialCommunication_ISerialDevice::PinChanged_revoker consume_Windows_Devices_SerialCommunication_ISerialDevice::PinChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::PinChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const { return impl::make_event_revoker(this, PinChanged(reportHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice::PinChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_SerialCommunication_ISerialDevice::PinChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->remove_PinChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDeviceStatics)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics::GetDeviceSelector(param::hstring const& portName) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics::GetDeviceSelector(param::hstring const& portName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDeviceStatics)->GetDeviceSelectorFromPortName(*(void**)(&portName), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics::GetDeviceSelectorFromUsbVidPid(uint16_t vendorId, uint16_t productId) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics::GetDeviceSelectorFromUsbVidPid(uint16_t vendorId, uint16_t productId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDeviceStatics)->GetDeviceSelectorFromUsbVidPid(vendorId, productId, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics::FromIdAsync(param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDeviceStatics)->FromIdAsync(*(void**)(&deviceId), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.SmartCards.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.SmartCards.h index f1ff01dc..69edd766 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.SmartCards.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.SmartCards.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_SmartCards_H #define WINRT_Windows_Devices_SmartCards_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,1137 +14,1137 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.SmartCards.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCard) consume_Windows_Devices_SmartCards_ICardAddedEventArgs::SmartCard() const + template auto consume_Windows_Devices_SmartCards_ICardAddedEventArgs::SmartCard() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ICardAddedEventArgs)->get_SmartCard(&value)); return winrt::Windows::Devices::SmartCards::SmartCard{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCard) consume_Windows_Devices_SmartCards_ICardRemovedEventArgs::SmartCard() const + template auto consume_Windows_Devices_SmartCards_ICardRemovedEventArgs::SmartCard() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ICardRemovedEventArgs)->get_SmartCard(&value)); return winrt::Windows::Devices::SmartCards::SmartCard{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_IKnownSmartCardAppletIds::PaymentSystemEnvironment() const + template auto consume_Windows_Devices_SmartCards_IKnownSmartCardAppletIds::PaymentSystemEnvironment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::IKnownSmartCardAppletIds)->get_PaymentSystemEnvironment(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_IKnownSmartCardAppletIds::ProximityPaymentSystemEnvironment() const + template auto consume_Windows_Devices_SmartCards_IKnownSmartCardAppletIds::ProximityPaymentSystemEnvironment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::IKnownSmartCardAppletIds)->get_ProximityPaymentSystemEnvironment(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardReader) consume_Windows_Devices_SmartCards_ISmartCard::Reader() const + template auto consume_Windows_Devices_SmartCards_ISmartCard::Reader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCard)->get_Reader(&value)); return winrt::Windows::Devices::SmartCards::SmartCardReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCard::GetStatusAsync() const + template auto consume_Windows_Devices_SmartCards_ISmartCard::GetStatusAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCard)->GetStatusAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCard::GetAnswerToResetAsync() const + template auto consume_Windows_Devices_SmartCards_ISmartCard::GetAnswerToResetAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCard)->GetAnswerToResetAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::DisplayName() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::DisplayName(param::hstring const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::AppletIds() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::AppletIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->get_AppletIds(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::SmartCardEmulationCategory() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::SmartCardEmulationCategory() const { winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->get_SmartCardEmulationCategory(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::SmartCardEmulationCategory(winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::SmartCardEmulationCategory(winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->put_SmartCardEmulationCategory(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulationType) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::SmartCardEmulationType() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::SmartCardEmulationType() const { winrt::Windows::Devices::SmartCards::SmartCardEmulationType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->get_SmartCardEmulationType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::SmartCardEmulationType(winrt::Windows::Devices::SmartCards::SmartCardEmulationType const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::SmartCardEmulationType(winrt::Windows::Devices::SmartCards::SmartCardEmulationType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->put_SmartCardEmulationType(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::AutomaticEnablement() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::AutomaticEnablement() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->get_AutomaticEnablement(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::AutomaticEnablement(bool value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup::AutomaticEnablement(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->put_AutomaticEnablement(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2::Logo() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2::Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup2)->get_Logo(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2::Logo(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2::Logo(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup2)->put_Logo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2::Description() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup2)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2::Description(param::hstring const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup2)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2::Properties() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup2)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2::SecureUserAuthenticationRequired() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2::SecureUserAuthenticationRequired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup2)->get_SecureUserAuthenticationRequired(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2::SecureUserAuthenticationRequired(bool value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2::SecureUserAuthenticationRequired(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup2)->put_SecureUserAuthenticationRequired(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupFactory::Create(param::hstring const& displayName, param::vector const& appletIds, winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory const& emulationCategory, winrt::Windows::Devices::SmartCards::SmartCardEmulationType const& emulationType) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupFactory::Create(param::hstring const& displayName, param::vector const& appletIds, winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory const& emulationCategory, winrt::Windows::Devices::SmartCards::SmartCardEmulationType const& emulationType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupFactory)->Create(*(void**)(&displayName), *(void**)(&appletIds), static_cast(emulationCategory), static_cast(emulationType), &result)); return winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupActivationPolicy) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration::ActivationPolicy() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration::ActivationPolicy() const { winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupActivationPolicy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration)->get_ActivationPolicy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration::AppletIdGroup() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration::AppletIdGroup() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration)->get_AppletIdGroup(&value)); return winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration::RequestActivationPolicyChangeAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupActivationPolicy const& policy) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration::RequestActivationPolicyChangeAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupActivationPolicy const& policy) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration)->RequestActivationPolicyChangeAsync(static_cast(policy), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration::Id() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration::Id() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration)->get_Id(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration::SetAutomaticResponseApdusAsync(param::async_iterable const& apdus) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration::SetAutomaticResponseApdusAsync(param::async_iterable const& apdus) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration)->SetAutomaticResponseApdusAsync(*(void**)(&apdus), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration2::SmartCardReaderId() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration2::SmartCardReaderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration2)->get_SmartCardReaderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration2::SetPropertiesAsync(winrt::Windows::Foundation::Collections::ValueSet const& props) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration2::SetPropertiesAsync(winrt::Windows::Foundation::Collections::ValueSet const& props) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration2)->SetPropertiesAsync(*(void**)(&props), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupStatics::MaxAppletIds() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupStatics::MaxAppletIds() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupStatics)->get_MaxAppletIds(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::CommandApdu() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::CommandApdu() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu)->get_CommandApdu(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::CommandApdu(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::CommandApdu(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu)->put_CommandApdu(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::CommandApduBitMask() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::CommandApduBitMask() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu)->get_CommandApduBitMask(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::CommandApduBitMask(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::CommandApduBitMask(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu)->put_CommandApduBitMask(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::ShouldMatchLength() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::ShouldMatchLength() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu)->get_ShouldMatchLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::ShouldMatchLength(bool value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::ShouldMatchLength(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu)->put_ShouldMatchLength(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::AppletId() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::AppletId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu)->get_AppletId(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::AppletId(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::AppletId(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu)->put_AppletId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::ResponseApdu() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::ResponseApdu() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu)->get_ResponseApdu(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::ResponseApdu(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu::ResponseApdu(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu)->put_ResponseApdu(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2::InputState() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2::InputState() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu2)->get_InputState(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2::InputState(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2::InputState(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu2)->put_InputState(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2::OutputState() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2::OutputState() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu2)->get_OutputState(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2::OutputState(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2::OutputState(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu2)->put_OutputState(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu3::AllowWhenCryptogramGeneratorNotPrepared() const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu3::AllowWhenCryptogramGeneratorNotPrepared() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu3)->get_AllowWhenCryptogramGeneratorNotPrepared(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu3::AllowWhenCryptogramGeneratorNotPrepared(bool value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu3::AllowWhenCryptogramGeneratorNotPrepared(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu3)->put_AllowWhenCryptogramGeneratorNotPrepared(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardAutomaticResponseApdu) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApduFactory::Create(winrt::Windows::Storage::Streams::IBuffer const& commandApdu, winrt::Windows::Storage::Streams::IBuffer const& responseApdu) const + template auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApduFactory::Create(winrt::Windows::Storage::Streams::IBuffer const& commandApdu, winrt::Windows::Storage::Streams::IBuffer const& responseApdu) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApduFactory)->Create(*(void**)(&commandApdu), *(void**)(&responseApdu), &result)); return winrt::Windows::Devices::SmartCards::SmartCardAutomaticResponseApdu{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardChallengeContext::Challenge() const + template auto consume_Windows_Devices_SmartCards_ISmartCardChallengeContext::Challenge() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardChallengeContext)->get_Challenge(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardChallengeContext::VerifyResponseAsync(winrt::Windows::Storage::Streams::IBuffer const& response) const + template auto consume_Windows_Devices_SmartCards_ISmartCardChallengeContext::VerifyResponseAsync(winrt::Windows::Storage::Streams::IBuffer const& response) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardChallengeContext)->VerifyResponseAsync(*(void**)(&response), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_SmartCards_ISmartCardChallengeContext::ProvisionAsync(winrt::Windows::Storage::Streams::IBuffer const& response, bool formatCard) const + template auto consume_Windows_Devices_SmartCards_ISmartCardChallengeContext::ProvisionAsync(winrt::Windows::Storage::Streams::IBuffer const& response, bool formatCard) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardChallengeContext)->ProvisionAsync(*(void**)(&response), formatCard, &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_SmartCards_ISmartCardChallengeContext::ProvisionAsync(winrt::Windows::Storage::Streams::IBuffer const& response, bool formatCard, winrt::guid const& newCardId) const + template auto consume_Windows_Devices_SmartCards_ISmartCardChallengeContext::ProvisionAsync(winrt::Windows::Storage::Streams::IBuffer const& response, bool formatCard, winrt::guid const& newCardId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardChallengeContext)->ProvisionAsyncWithNewCardId(*(void**)(&response), formatCard, impl::bind_in(newCardId), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_SmartCards_ISmartCardChallengeContext::ChangeAdministrativeKeyAsync(winrt::Windows::Storage::Streams::IBuffer const& response, winrt::Windows::Storage::Streams::IBuffer const& newAdministrativeKey) const + template auto consume_Windows_Devices_SmartCards_ISmartCardChallengeContext::ChangeAdministrativeKeyAsync(winrt::Windows::Storage::Streams::IBuffer const& response, winrt::Windows::Storage::Streams::IBuffer const& newAdministrativeKey) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardChallengeContext)->ChangeAdministrativeKeyAsync(*(void**)(&response), *(void**)(&newAdministrativeKey), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardConnect::ConnectAsync() const + template auto consume_Windows_Devices_SmartCards_ISmartCardConnect::ConnectAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardConnect)->ConnectAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardConnection::TransmitAsync(winrt::Windows::Storage::Streams::IBuffer const& command) const + template auto consume_Windows_Devices_SmartCards_ISmartCardConnection::TransmitAsync(winrt::Windows::Storage::Streams::IBuffer const& command) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardConnection)->TransmitAsync(*(void**)(&command), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::SupportedCryptogramMaterialTypes() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::SupportedCryptogramMaterialTypes() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->get_SupportedCryptogramMaterialTypes(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::SupportedCryptogramAlgorithms() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::SupportedCryptogramAlgorithms() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->get_SupportedCryptogramAlgorithms(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::SupportedCryptogramMaterialPackageFormats() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::SupportedCryptogramMaterialPackageFormats() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->get_SupportedCryptogramMaterialPackageFormats(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::SupportedCryptogramMaterialPackageConfirmationResponseFormats() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::SupportedCryptogramMaterialPackageConfirmationResponseFormats() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->get_SupportedCryptogramMaterialPackageConfirmationResponseFormats(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::SupportedSmartCardCryptogramStorageKeyCapabilities() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::SupportedSmartCardCryptogramStorageKeyCapabilities() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->get_SupportedSmartCardCryptogramStorageKeyCapabilities(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::DeleteCryptogramMaterialStorageKeyAsync(param::hstring const& storageKeyName) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::DeleteCryptogramMaterialStorageKeyAsync(param::hstring const& storageKeyName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->DeleteCryptogramMaterialStorageKeyAsync(*(void**)(&storageKeyName), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::CreateCryptogramMaterialStorageKeyAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& storageKeyName, winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyAlgorithm const& algorithm, winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities const& capabilities) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::CreateCryptogramMaterialStorageKeyAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& storageKeyName, winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyAlgorithm const& algorithm, winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities const& capabilities) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->CreateCryptogramMaterialStorageKeyAsync(static_cast(promptingBehavior), *(void**)(&storageKeyName), static_cast(algorithm), static_cast(capabilities), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::RequestCryptogramMaterialStorageKeyInfoAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& storageKeyName, winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& format) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::RequestCryptogramMaterialStorageKeyInfoAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& storageKeyName, winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& format) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->RequestCryptogramMaterialStorageKeyInfoAsync(static_cast(promptingBehavior), *(void**)(&storageKeyName), static_cast(format), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::ImportCryptogramMaterialPackageAsync(winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat const& format, param::hstring const& storageKeyName, param::hstring const& materialPackageName, winrt::Windows::Storage::Streams::IBuffer const& cryptogramMaterialPackage) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::ImportCryptogramMaterialPackageAsync(winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat const& format, param::hstring const& storageKeyName, param::hstring const& materialPackageName, winrt::Windows::Storage::Streams::IBuffer const& cryptogramMaterialPackage) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->ImportCryptogramMaterialPackageAsync(static_cast(format), *(void**)(&storageKeyName), *(void**)(&materialPackageName), *(void**)(&cryptogramMaterialPackage), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::TryProvePossessionOfCryptogramMaterialPackageAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageConfirmationResponseFormat const& responseFormat, param::hstring const& materialPackageName, param::hstring const& materialName, winrt::Windows::Storage::Streams::IBuffer const& challenge) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::TryProvePossessionOfCryptogramMaterialPackageAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageConfirmationResponseFormat const& responseFormat, param::hstring const& materialPackageName, param::hstring const& materialName, winrt::Windows::Storage::Streams::IBuffer const& challenge) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->TryProvePossessionOfCryptogramMaterialPackageAsync(static_cast(promptingBehavior), static_cast(responseFormat), *(void**)(&materialPackageName), *(void**)(&materialName), *(void**)(&challenge), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::RequestUnlockCryptogramMaterialForUseAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::RequestUnlockCryptogramMaterialForUseAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->RequestUnlockCryptogramMaterialForUseAsync(static_cast(promptingBehavior), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::DeleteCryptogramMaterialPackageAsync(param::hstring const& materialPackageName) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator::DeleteCryptogramMaterialPackageAsync(param::hstring const& materialPackageName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->DeleteCryptogramMaterialPackageAsync(*(void**)(&materialPackageName), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2::ValidateRequestApduAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, winrt::Windows::Storage::Streams::IBuffer const& apduToValidate, param::async_iterable const& cryptogramPlacementSteps) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2::ValidateRequestApduAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, winrt::Windows::Storage::Streams::IBuffer const& apduToValidate, param::async_iterable const& cryptogramPlacementSteps) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator2)->ValidateRequestApduAsync(static_cast(promptingBehavior), *(void**)(&apduToValidate), *(void**)(&cryptogramPlacementSteps), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2::GetAllCryptogramStorageKeyCharacteristicsAsync() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2::GetAllCryptogramStorageKeyCharacteristicsAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator2)->GetAllCryptogramStorageKeyCharacteristicsAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2::GetAllCryptogramMaterialPackageCharacteristicsAsync() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2::GetAllCryptogramMaterialPackageCharacteristicsAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator2)->GetAllCryptogramMaterialPackageCharacteristicsAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2::GetAllCryptogramMaterialPackageCharacteristicsAsync(param::hstring const& storageKeyName) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2::GetAllCryptogramMaterialPackageCharacteristicsAsync(param::hstring const& storageKeyName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator2)->GetAllCryptogramMaterialPackageCharacteristicsWithStorageKeyAsync(*(void**)(&storageKeyName), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2::GetAllCryptogramMaterialCharacteristicsAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& materialPackageName) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2::GetAllCryptogramMaterialCharacteristicsAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& materialPackageName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator2)->GetAllCryptogramMaterialCharacteristicsAsync(static_cast(promptingBehavior), *(void**)(&materialPackageName), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGeneratorStatics::GetSmartCardCryptogramGeneratorAsync() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGeneratorStatics::GetSmartCardCryptogramGeneratorAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGeneratorStatics)->GetSmartCardCryptogramGeneratorAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGeneratorStatics2::IsSupported() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGeneratorStatics2::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGeneratorStatics2)->IsSupported(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult::OperationStatus() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult::OperationStatus() const { winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult)->get_OperationStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult::Characteristics() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult::Characteristics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult)->get_Characteristics(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult::OperationStatus() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult::OperationStatus() const { winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult)->get_OperationStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult::Characteristics() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult::Characteristics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult)->get_Characteristics(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult::OperationStatus() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult::OperationStatus() const { winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult)->get_OperationStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult::Characteristics() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult::Characteristics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult)->get_Characteristics(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics::MaterialName() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics::MaterialName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics)->get_MaterialName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics::AllowedAlgorithms() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics::AllowedAlgorithms() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics)->get_AllowedAlgorithms(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics::AllowedProofOfPossessionAlgorithms() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics::AllowedProofOfPossessionAlgorithms() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics)->get_AllowedProofOfPossessionAlgorithms(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics::AllowedValidations() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics::AllowedValidations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics)->get_AllowedValidations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialType) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics::MaterialType() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics::MaterialType() const { winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics)->get_MaterialType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialProtectionMethod) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics::ProtectionMethod() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics::ProtectionMethod() const { winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialProtectionMethod value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics)->get_ProtectionMethod(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics::ProtectionVersion() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics::ProtectionVersion() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics)->get_ProtectionVersion(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics::MaterialLength() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics::MaterialLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics)->get_MaterialLength(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics::PackageName() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics::PackageName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialPackageCharacteristics)->get_PackageName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics::StorageKeyName() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics::StorageKeyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialPackageCharacteristics)->get_StorageKeyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics::DateImported() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics::DateImported() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialPackageCharacteristics)->get_DateImported(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics::PackageFormat() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics::PackageFormat() const { winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialPackageCharacteristics)->get_PackageFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPossessionProof::OperationStatus() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPossessionProof::OperationStatus() const { winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialPossessionProof)->get_OperationStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPossessionProof::Proof() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPossessionProof::Proof() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialPossessionProof)->get_Proof(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::Algorithm() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::Algorithm() const { winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->get_Algorithm(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::Algorithm(winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::Algorithm(winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_Algorithm(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::SourceData() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::SourceData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->get_SourceData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::SourceData(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::SourceData(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_SourceData(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramMaterialPackageName() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramMaterialPackageName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->get_CryptogramMaterialPackageName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramMaterialPackageName(param::hstring const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramMaterialPackageName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_CryptogramMaterialPackageName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramMaterialName() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramMaterialName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->get_CryptogramMaterialName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramMaterialName(param::hstring const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramMaterialName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_CryptogramMaterialName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::TemplateOffset() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::TemplateOffset() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->get_TemplateOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::TemplateOffset(int32_t value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::TemplateOffset(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_TemplateOffset(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramOffset() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramOffset() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->get_CryptogramOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramOffset(int32_t value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramOffset(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_CryptogramOffset(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramLength() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->get_CryptogramLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramLength(int32_t value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramLength(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_CryptogramLength(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementOptions) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramPlacementOptions() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramPlacementOptions() const { winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->get_CryptogramPlacementOptions(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramPlacementOptions(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementOptions const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::CryptogramPlacementOptions(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_CryptogramPlacementOptions(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::ChainedOutputStep() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::ChainedOutputStep() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->get_ChainedOutputStep(&value)); return winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::ChainedOutputStep(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep::ChainedOutputStep(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_ChainedOutputStep(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics::StorageKeyName() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics::StorageKeyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyCharacteristics)->get_StorageKeyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics::DateCreated() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics::DateCreated() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyCharacteristics)->get_DateCreated(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyAlgorithm) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics::Algorithm() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics::Algorithm() const { winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyAlgorithm value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyCharacteristics)->get_Algorithm(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics::Capabilities() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics::Capabilities() const { winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyCharacteristics)->get_Capabilities(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo::OperationStatus() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo::OperationStatus() const { winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo)->get_OperationStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo::PublicKeyBlobType() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo::PublicKeyBlobType() const { winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo)->get_PublicKeyBlobType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo::PublicKey() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo::PublicKey() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo)->get_PublicKey(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptographicKeyAttestationStatus) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo::AttestationStatus() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo::AttestationStatus() const { winrt::Windows::Devices::SmartCards::SmartCardCryptographicKeyAttestationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo)->get_AttestationStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo::Attestation() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo::Attestation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo)->get_Attestation(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo::AttestationCertificateChain() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo::AttestationCertificateChain() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo)->get_AttestationCertificateChain(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo::Capabilities() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo::Capabilities() const { winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo)->get_Capabilities(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo2::OperationalRequirements() const + template auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo2::OperationalRequirements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo2)->get_OperationalRequirements(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulatorEnablementPolicy) consume_Windows_Devices_SmartCards_ISmartCardEmulator::EnablementPolicy() const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulator::EnablementPolicy() const { winrt::Windows::Devices::SmartCards::SmartCardEmulatorEnablementPolicy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulator)->get_EnablementPolicy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_SmartCards_ISmartCardEmulator2::ApduReceived(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulator2::ApduReceived(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulator2)->add_ApduReceived(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Devices_SmartCards_ISmartCardEmulator2::ApduReceived_revoker consume_Windows_Devices_SmartCards_ISmartCardEmulator2::ApduReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulator2::ApduReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, ApduReceived(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardEmulator2::ApduReceived(winrt::event_token const& value) const noexcept + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulator2::ApduReceived(winrt::event_token const& value) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulator2)->remove_ApduReceived(impl::bind_in(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_SmartCards_ISmartCardEmulator2::ConnectionDeactivated(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulator2::ConnectionDeactivated(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulator2)->add_ConnectionDeactivated(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Devices_SmartCards_ISmartCardEmulator2::ConnectionDeactivated_revoker consume_Windows_Devices_SmartCards_ISmartCardEmulator2::ConnectionDeactivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulator2::ConnectionDeactivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, ConnectionDeactivated(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardEmulator2::ConnectionDeactivated(winrt::event_token const& value) const noexcept + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulator2::ConnectionDeactivated(winrt::event_token const& value) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulator2)->remove_ConnectionDeactivated(impl::bind_in(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardEmulator2::Start() const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulator2::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulator2)->Start()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SmartCards_ISmartCardEmulator2::IsHostCardEmulationSupported() const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulator2::IsHostCardEmulationSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulator2)->IsHostCardEmulationSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs::CommandApdu() const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs::CommandApdu() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgs)->get_CommandApdu(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionProperties) consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs::ConnectionProperties() const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs::ConnectionProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgs)->get_ConnectionProperties(&value)); return winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs::TryRespondAsync(winrt::Windows::Storage::Streams::IBuffer const& responseApdu) const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs::TryRespondAsync(winrt::Windows::Storage::Streams::IBuffer const& responseApdu) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgs)->TryRespondAsync(*(void**)(&responseApdu), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardAutomaticResponseStatus) consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs::AutomaticResponseStatus() const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs::AutomaticResponseStatus() const { winrt::Windows::Devices::SmartCards::SmartCardAutomaticResponseStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgs)->get_AutomaticResponseStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs2::State() const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs2::State() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgs2)->get_State(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs2::TryRespondAsync(winrt::Windows::Storage::Streams::IBuffer const& responseApdu, winrt::Windows::Foundation::IReference const& nextState) const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs2::TryRespondAsync(winrt::Windows::Storage::Streams::IBuffer const& responseApdu, winrt::Windows::Foundation::IReference const& nextState) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgs2)->TryRespondWithStateAsync(*(void**)(&responseApdu), *(void**)(&nextState), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgsWithCryptograms::TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable const& cryptogramPlacementSteps) const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgsWithCryptograms::TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable const& cryptogramPlacementSteps) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgsWithCryptograms)->TryRespondWithCryptogramsAsync(*(void**)(&responseTemplate), *(void**)(&cryptogramPlacementSteps), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgsWithCryptograms::TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable const& cryptogramPlacementSteps, winrt::Windows::Foundation::IReference const& nextState) const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgsWithCryptograms::TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable const& cryptogramPlacementSteps, winrt::Windows::Foundation::IReference const& nextState) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgsWithCryptograms)->TryRespondWithCryptogramsAndStateAsync(*(void**)(&responseTemplate), *(void**)(&cryptogramPlacementSteps), *(void**)(&nextState), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionProperties) consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionDeactivatedEventArgs::ConnectionProperties() const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionDeactivatedEventArgs::ConnectionProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorConnectionDeactivatedEventArgs)->get_ConnectionProperties(&value)); return winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionDeactivatedReason) consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionDeactivatedEventArgs::Reason() const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionDeactivatedEventArgs::Reason() const { winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionDeactivatedReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorConnectionDeactivatedEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionProperties::Id() const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionProperties::Id() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorConnectionProperties)->get_Id(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionSource) consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionProperties::Source() const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionProperties::Source() const { winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionSource value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorConnectionProperties)->get_Source(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics::GetDefaultAsync() const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics::GetDefaultAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorStatics)->GetDefaultAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2::GetAppletIdGroupRegistrationsAsync() const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2::GetAppletIdGroupRegistrationsAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorStatics2)->GetAppletIdGroupRegistrationsAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2::RegisterAppletIdGroupAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup const& appletIdGroup) const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2::RegisterAppletIdGroupAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup const& appletIdGroup) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorStatics2)->RegisterAppletIdGroupAsync(*(void**)(&appletIdGroup), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2::UnregisterAppletIdGroupAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupRegistration const& registration) const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2::UnregisterAppletIdGroupAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupRegistration const& registration) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorStatics2)->UnregisterAppletIdGroupAsync(*(void**)(®istration), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2::MaxAppletIdGroupRegistrations() const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2::MaxAppletIdGroupRegistrations() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorStatics2)->get_MaxAppletIdGroupRegistrations(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics3::IsSupported() const + template auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics3::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorStatics3)->IsSupported(&result)); return result; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::MinLength() const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::MinLength() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->get_MinLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::MinLength(uint32_t value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::MinLength(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->put_MinLength(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::MaxLength() const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::MaxLength() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->get_MaxLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::MaxLength(uint32_t value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::MaxLength(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->put_MaxLength(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::UppercaseLetters() const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::UppercaseLetters() const { winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->get_UppercaseLetters(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::UppercaseLetters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::UppercaseLetters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->put_UppercaseLetters(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::LowercaseLetters() const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::LowercaseLetters() const { winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->get_LowercaseLetters(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::LowercaseLetters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::LowercaseLetters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->put_LowercaseLetters(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::Digits() const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::Digits() const { winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->get_Digits(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::Digits(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::Digits(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->put_Digits(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::SpecialCharacters() const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::SpecialCharacters() const { winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->get_SpecialCharacters(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::SpecialCharacters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy::SpecialCharacters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->put_SpecialCharacters(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardPinResetDeferral::Complete() const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinResetDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinResetDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest::Challenge() const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest::Challenge() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinResetRequest)->get_Challenge(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest::Deadline() const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest::Deadline() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinResetRequest)->get_Deadline(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardPinResetDeferral) consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest::GetDeferral() const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinResetRequest)->GetDeferral(&result)); return winrt::Windows::Devices::SmartCards::SmartCardPinResetDeferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest::SetResponse(winrt::Windows::Storage::Streams::IBuffer const& response) const + template auto consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest::SetResponse(winrt::Windows::Storage::Streams::IBuffer const& response) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinResetRequest)->SetResponse(*(void**)(&response))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCard) consume_Windows_Devices_SmartCards_ISmartCardProvisioning::SmartCard() const + template auto consume_Windows_Devices_SmartCards_ISmartCardProvisioning::SmartCard() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioning)->get_SmartCard(&value)); return winrt::Windows::Devices::SmartCards::SmartCard{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardProvisioning::GetIdAsync() const + template auto consume_Windows_Devices_SmartCards_ISmartCardProvisioning::GetIdAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioning)->GetIdAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardProvisioning::GetNameAsync() const + template auto consume_Windows_Devices_SmartCards_ISmartCardProvisioning::GetNameAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioning)->GetNameAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardProvisioning::GetChallengeContextAsync() const + template auto consume_Windows_Devices_SmartCards_ISmartCardProvisioning::GetChallengeContextAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioning)->GetChallengeContextAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardProvisioning::RequestPinChangeAsync() const + template auto consume_Windows_Devices_SmartCards_ISmartCardProvisioning::RequestPinChangeAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioning)->RequestPinChangeAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardProvisioning::RequestPinResetAsync(winrt::Windows::Devices::SmartCards::SmartCardPinResetHandler const& handler) const + template auto consume_Windows_Devices_SmartCards_ISmartCardProvisioning::RequestPinResetAsync(winrt::Windows::Devices::SmartCards::SmartCardPinResetHandler const& handler) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioning)->RequestPinResetAsync(*(void**)(&handler), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardProvisioning2::GetAuthorityKeyContainerNameAsync() const + template auto consume_Windows_Devices_SmartCards_ISmartCardProvisioning2::GetAuthorityKeyContainerNameAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioning2)->GetAuthorityKeyContainerNameAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics::FromSmartCardAsync(winrt::Windows::Devices::SmartCards::SmartCard const& card) const + template auto consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics::FromSmartCardAsync(winrt::Windows::Devices::SmartCards::SmartCard const& card) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioningStatics)->FromSmartCardAsync(*(void**)(&card), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics::RequestVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy) const + template auto consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics::RequestVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioningStatics)->RequestVirtualSmartCardCreationAsync(*(void**)(&friendlyName), *(void**)(&administrativeKey), *(void**)(&pinPolicy), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics::RequestVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy, winrt::guid const& cardId) const + template auto consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics::RequestVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy, winrt::guid const& cardId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioningStatics)->RequestVirtualSmartCardCreationAsyncWithCardId(*(void**)(&friendlyName), *(void**)(&administrativeKey), *(void**)(&pinPolicy), impl::bind_in(cardId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics::RequestVirtualSmartCardDeletionAsync(winrt::Windows::Devices::SmartCards::SmartCard const& card) const + template auto consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics::RequestVirtualSmartCardDeletionAsync(winrt::Windows::Devices::SmartCards::SmartCard const& card) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioningStatics)->RequestVirtualSmartCardDeletionAsync(*(void**)(&card), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics2::RequestAttestedVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy) const + template auto consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics2::RequestAttestedVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioningStatics2)->RequestAttestedVirtualSmartCardCreationAsync(*(void**)(&friendlyName), *(void**)(&administrativeKey), *(void**)(&pinPolicy), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics2::RequestAttestedVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy, winrt::guid const& cardId) const + template auto consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics2::RequestAttestedVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy, winrt::guid const& cardId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioningStatics2)->RequestAttestedVirtualSmartCardCreationAsyncWithCardId(*(void**)(&friendlyName), *(void**)(&administrativeKey), *(void**)(&pinPolicy), impl::bind_in(cardId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardReader::DeviceId() const + template auto consume_Windows_Devices_SmartCards_ISmartCardReader::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReader)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardReader::Name() const + template auto consume_Windows_Devices_SmartCards_ISmartCardReader::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReader)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardReaderKind) consume_Windows_Devices_SmartCards_ISmartCardReader::Kind() const + template auto consume_Windows_Devices_SmartCards_ISmartCardReader::Kind() const { winrt::Windows::Devices::SmartCards::SmartCardReaderKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReader)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardReader::GetStatusAsync() const + template auto consume_Windows_Devices_SmartCards_ISmartCardReader::GetStatusAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReader)->GetStatusAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_SmartCards_ISmartCardReader::FindAllCardsAsync() const + template auto consume_Windows_Devices_SmartCards_ISmartCardReader::FindAllCardsAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReader)->FindAllCardsAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_SmartCards_ISmartCardReader::CardAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_SmartCards_ISmartCardReader::CardAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReader)->add_CardAdded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_SmartCards_ISmartCardReader::CardAdded_revoker consume_Windows_Devices_SmartCards_ISmartCardReader::CardAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_SmartCards_ISmartCardReader::CardAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CardAdded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardReader::CardAdded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_SmartCards_ISmartCardReader::CardAdded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReader)->remove_CardAdded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_SmartCards_ISmartCardReader::CardRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_SmartCards_ISmartCardReader::CardRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReader)->add_CardRemoved(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_SmartCards_ISmartCardReader::CardRemoved_revoker consume_Windows_Devices_SmartCards_ISmartCardReader::CardRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_SmartCards_ISmartCardReader::CardRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CardRemoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardReader::CardRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_SmartCards_ISmartCardReader::CardRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReader)->remove_CardRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardReaderStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_SmartCards_ISmartCardReaderStatics::GetDeviceSelector() const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReaderStatics)->GetDeviceSelector(&selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardReaderStatics::GetDeviceSelector(winrt::Windows::Devices::SmartCards::SmartCardReaderKind const& kind) const + template auto consume_Windows_Devices_SmartCards_ISmartCardReaderStatics::GetDeviceSelector(winrt::Windows::Devices::SmartCards::SmartCardReaderKind const& kind) const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReaderStatics)->GetDeviceSelectorWithKind(static_cast(kind), &selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardReaderStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_SmartCards_ISmartCardReaderStatics::FromIdAsync(param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReaderStatics)->FromIdAsync(*(void**)(&deviceId), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardTriggerType) consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails::TriggerType() const + template auto consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails::TriggerType() const { winrt::Windows::Devices::SmartCards::SmartCardTriggerType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardTriggerDetails)->get_TriggerType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails::SourceAppletId() const + template auto consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails::SourceAppletId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardTriggerDetails)->get_SourceAppletId(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails::TriggerData() const + template auto consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails::TriggerData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardTriggerDetails)->get_TriggerData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulator) consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails2::Emulator() const + template auto consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails2::Emulator() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardTriggerDetails2)->get_Emulator(&value)); return winrt::Windows::Devices::SmartCards::SmartCardEmulator{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails2::TryLaunchCurrentAppAsync(param::hstring const& arguments) const + template auto consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails2::TryLaunchCurrentAppAsync(param::hstring const& arguments) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardTriggerDetails2)->TryLaunchCurrentAppAsync(*(void**)(&arguments), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails2::TryLaunchCurrentAppAsync(param::hstring const& arguments, winrt::Windows::Devices::SmartCards::SmartCardLaunchBehavior const& behavior) const + template auto consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails2::TryLaunchCurrentAppAsync(param::hstring const& arguments, winrt::Windows::Devices::SmartCards::SmartCardLaunchBehavior const& behavior) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardTriggerDetails2)->TryLaunchCurrentAppWithBehaviorAsync(*(void**)(&arguments), static_cast(behavior), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCard) consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails3::SmartCard() const + template auto consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails3::SmartCard() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardTriggerDetails3)->get_SmartCard(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sms.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sms.h index 1baa042a..7a3fed68 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sms.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sms.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Sms_H #define WINRT_Windows_Devices_Sms_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,988 +13,988 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Sms.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sms_ISmsAppMessage::Timestamp() const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsAppMessage::To() const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::To() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_To(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage::To(param::hstring const& value) const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::To(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_To(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsAppMessage::From() const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::From() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_From(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsAppMessage::Body() const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::Body() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_Body(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage::Body(param::hstring const& value) const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::Body(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_Body(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsAppMessage::CallbackNumber() const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::CallbackNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_CallbackNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage::CallbackNumber(param::hstring const& value) const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::CallbackNumber(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_CallbackNumber(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Sms_ISmsAppMessage::IsDeliveryNotificationEnabled() const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::IsDeliveryNotificationEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_IsDeliveryNotificationEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage::IsDeliveryNotificationEnabled(bool value) const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::IsDeliveryNotificationEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_IsDeliveryNotificationEnabled(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsAppMessage::RetryAttemptCount() const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::RetryAttemptCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_RetryAttemptCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage::RetryAttemptCount(int32_t value) const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::RetryAttemptCount(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_RetryAttemptCount(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncoding) consume_Windows_Devices_Sms_ISmsAppMessage::Encoding() const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::Encoding() const { winrt::Windows::Devices::Sms::SmsEncoding value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_Encoding(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage::Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_Encoding(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsAppMessage::PortNumber() const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::PortNumber() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_PortNumber(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage::PortNumber(int32_t value) const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::PortNumber(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_PortNumber(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsAppMessage::TeleserviceId() const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::TeleserviceId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_TeleserviceId(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage::TeleserviceId(int32_t value) const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::TeleserviceId(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_TeleserviceId(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsAppMessage::ProtocolId() const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::ProtocolId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_ProtocolId(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage::ProtocolId(int32_t value) const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::ProtocolId(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_ProtocolId(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Sms_ISmsAppMessage::BinaryBody() const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::BinaryBody() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_BinaryBody(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage::BinaryBody(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_Sms_ISmsAppMessage::BinaryBody(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_BinaryBody(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDataFormat) consume_Windows_Devices_Sms_ISmsBinaryMessage::Format() const + template auto consume_Windows_Devices_Sms_ISmsBinaryMessage::Format() const { winrt::Windows::Devices::Sms::SmsDataFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBinaryMessage)->get_Format(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsBinaryMessage::Format(winrt::Windows::Devices::Sms::SmsDataFormat const& value) const + template auto consume_Windows_Devices_Sms_ISmsBinaryMessage::Format(winrt::Windows::Devices::Sms::SmsDataFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBinaryMessage)->put_Format(static_cast(value))); } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Devices_Sms_ISmsBinaryMessage::GetData() const + template auto consume_Windows_Devices_Sms_ISmsBinaryMessage::GetData() const { uint32_t value_impl_size{}; uint8_t* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBinaryMessage)->GetData(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsBinaryMessage::SetData(array_view value) const + template auto consume_Windows_Devices_Sms_ISmsBinaryMessage::SetData(array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBinaryMessage)->SetData(value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sms_ISmsBroadcastMessage::Timestamp() const + template auto consume_Windows_Devices_Sms_ISmsBroadcastMessage::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsBroadcastMessage::To() const + template auto consume_Windows_Devices_Sms_ISmsBroadcastMessage::To() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_To(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsBroadcastMessage::Body() const + template auto consume_Windows_Devices_Sms_ISmsBroadcastMessage::Body() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_Body(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsBroadcastMessage::Channel() const + template auto consume_Windows_Devices_Sms_ISmsBroadcastMessage::Channel() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_Channel(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsGeographicalScope) consume_Windows_Devices_Sms_ISmsBroadcastMessage::GeographicalScope() const + template auto consume_Windows_Devices_Sms_ISmsBroadcastMessage::GeographicalScope() const { winrt::Windows::Devices::Sms::SmsGeographicalScope value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_GeographicalScope(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsBroadcastMessage::MessageCode() const + template auto consume_Windows_Devices_Sms_ISmsBroadcastMessage::MessageCode() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_MessageCode(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsBroadcastMessage::UpdateNumber() const + template auto consume_Windows_Devices_Sms_ISmsBroadcastMessage::UpdateNumber() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_UpdateNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsBroadcastType) consume_Windows_Devices_Sms_ISmsBroadcastMessage::BroadcastType() const + template auto consume_Windows_Devices_Sms_ISmsBroadcastMessage::BroadcastType() const { winrt::Windows::Devices::Sms::SmsBroadcastType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_BroadcastType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Sms_ISmsBroadcastMessage::IsEmergencyAlert() const + template auto consume_Windows_Devices_Sms_ISmsBroadcastMessage::IsEmergencyAlert() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_IsEmergencyAlert(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Sms_ISmsBroadcastMessage::IsUserPopupRequested() const + template auto consume_Windows_Devices_Sms_ISmsBroadcastMessage::IsUserPopupRequested() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_IsUserPopupRequested(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SendSmsMessageOperation) consume_Windows_Devices_Sms_ISmsDevice::SendMessageAsync(winrt::Windows::Devices::Sms::ISmsMessage const& message) const + template auto consume_Windows_Devices_Sms_ISmsDevice::SendMessageAsync(winrt::Windows::Devices::Sms::ISmsMessage const& message) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice)->SendMessageAsync(*(void**)(&message), &asyncInfo)); return winrt::Windows::Devices::Sms::SendSmsMessageOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncodedLength) consume_Windows_Devices_Sms_ISmsDevice::CalculateLength(winrt::Windows::Devices::Sms::SmsTextMessage const& message) const + template auto consume_Windows_Devices_Sms_ISmsDevice::CalculateLength(winrt::Windows::Devices::Sms::SmsTextMessage const& message) const { winrt::Windows::Devices::Sms::SmsEncodedLength encodedLength{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice)->CalculateLength(*(void**)(&message), put_abi(encodedLength))); return encodedLength; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsDevice::AccountPhoneNumber() const + template auto consume_Windows_Devices_Sms_ISmsDevice::AccountPhoneNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice)->get_AccountPhoneNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) consume_Windows_Devices_Sms_ISmsDevice::CellularClass() const + template auto consume_Windows_Devices_Sms_ISmsDevice::CellularClass() const { winrt::Windows::Devices::Sms::CellularClass value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice)->get_CellularClass(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDeviceMessageStore) consume_Windows_Devices_Sms_ISmsDevice::MessageStore() const + template auto consume_Windows_Devices_Sms_ISmsDevice::MessageStore() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice)->get_MessageStore(&value)); return winrt::Windows::Devices::Sms::SmsDeviceMessageStore{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDeviceStatus) consume_Windows_Devices_Sms_ISmsDevice::DeviceStatus() const + template auto consume_Windows_Devices_Sms_ISmsDevice::DeviceStatus() const { winrt::Windows::Devices::Sms::SmsDeviceStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice)->get_DeviceStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sms_ISmsDevice::SmsMessageReceived(winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Sms_ISmsDevice::SmsMessageReceived(winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice)->add_SmsMessageReceived(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Devices_Sms_ISmsDevice::SmsMessageReceived_revoker consume_Windows_Devices_Sms_ISmsDevice::SmsMessageReceived(auto_revoke_t, winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Sms_ISmsDevice::SmsMessageReceived(auto_revoke_t, winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, SmsMessageReceived(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsDevice::SmsMessageReceived(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Devices_Sms_ISmsDevice::SmsMessageReceived(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice)->remove_SmsMessageReceived(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sms_ISmsDevice::SmsDeviceStatusChanged(winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Sms_ISmsDevice::SmsDeviceStatusChanged(winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice)->add_SmsDeviceStatusChanged(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Devices_Sms_ISmsDevice::SmsDeviceStatusChanged_revoker consume_Windows_Devices_Sms_ISmsDevice::SmsDeviceStatusChanged(auto_revoke_t, winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Sms_ISmsDevice::SmsDeviceStatusChanged(auto_revoke_t, winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, SmsDeviceStatusChanged(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsDevice::SmsDeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Devices_Sms_ISmsDevice::SmsDeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice)->remove_SmsDeviceStatusChanged(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsDevice2::SmscAddress() const + template auto consume_Windows_Devices_Sms_ISmsDevice2::SmscAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2)->get_SmscAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsDevice2::SmscAddress(param::hstring const& value) const + template auto consume_Windows_Devices_Sms_ISmsDevice2::SmscAddress(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2)->put_SmscAddress(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsDevice2::DeviceId() const + template auto consume_Windows_Devices_Sms_ISmsDevice2::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsDevice2::ParentDeviceId() const + template auto consume_Windows_Devices_Sms_ISmsDevice2::ParentDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2)->get_ParentDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsDevice2::AccountPhoneNumber() const + template auto consume_Windows_Devices_Sms_ISmsDevice2::AccountPhoneNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2)->get_AccountPhoneNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) consume_Windows_Devices_Sms_ISmsDevice2::CellularClass() const + template auto consume_Windows_Devices_Sms_ISmsDevice2::CellularClass() const { winrt::Windows::Devices::Sms::CellularClass value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2)->get_CellularClass(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDeviceStatus) consume_Windows_Devices_Sms_ISmsDevice2::DeviceStatus() const + template auto consume_Windows_Devices_Sms_ISmsDevice2::DeviceStatus() const { winrt::Windows::Devices::Sms::SmsDeviceStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2)->get_DeviceStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncodedLength) consume_Windows_Devices_Sms_ISmsDevice2::CalculateLength(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const + template auto consume_Windows_Devices_Sms_ISmsDevice2::CalculateLength(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const { winrt::Windows::Devices::Sms::SmsEncodedLength value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2)->CalculateLength(*(void**)(&message), put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sms_ISmsDevice2::SendMessageAndGetResultAsync(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const + template auto consume_Windows_Devices_Sms_ISmsDevice2::SendMessageAndGetResultAsync(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2)->SendMessageAndGetResultAsync(*(void**)(&message), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sms_ISmsDevice2::DeviceStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Sms_ISmsDevice2::DeviceStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2)->add_DeviceStatusChanged(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Devices_Sms_ISmsDevice2::DeviceStatusChanged_revoker consume_Windows_Devices_Sms_ISmsDevice2::DeviceStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Sms_ISmsDevice2::DeviceStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, DeviceStatusChanged(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsDevice2::DeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Devices_Sms_ISmsDevice2::DeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2)->remove_DeviceStatusChanged(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsDevice2Statics::GetDeviceSelector() const + template auto consume_Windows_Devices_Sms_ISmsDevice2Statics::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2Statics)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDevice2) consume_Windows_Devices_Sms_ISmsDevice2Statics::FromId(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Sms_ISmsDevice2Statics::FromId(param::hstring const& deviceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2Statics)->FromId(*(void**)(&deviceId), &value)); return winrt::Windows::Devices::Sms::SmsDevice2{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDevice2) consume_Windows_Devices_Sms_ISmsDevice2Statics::GetDefault() const + template auto consume_Windows_Devices_Sms_ISmsDevice2Statics::GetDefault() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2Statics)->GetDefault(&value)); return winrt::Windows::Devices::Sms::SmsDevice2{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDevice2) consume_Windows_Devices_Sms_ISmsDevice2Statics::FromParentId(param::hstring const& parentDeviceId) const + template auto consume_Windows_Devices_Sms_ISmsDevice2Statics::FromParentId(param::hstring const& parentDeviceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2Statics)->FromParentId(*(void**)(&parentDeviceId), &value)); return winrt::Windows::Devices::Sms::SmsDevice2{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Sms_ISmsDeviceMessageStore::DeleteMessageAsync(uint32_t messageId) const + template auto consume_Windows_Devices_Sms_ISmsDeviceMessageStore::DeleteMessageAsync(uint32_t messageId) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDeviceMessageStore)->DeleteMessageAsync(messageId, &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Sms_ISmsDeviceMessageStore::DeleteMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const + template auto consume_Windows_Devices_Sms_ISmsDeviceMessageStore::DeleteMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDeviceMessageStore)->DeleteMessagesAsync(static_cast(messageFilter), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sms_ISmsDeviceMessageStore::GetMessageAsync(uint32_t messageId) const + template auto consume_Windows_Devices_Sms_ISmsDeviceMessageStore::GetMessageAsync(uint32_t messageId) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDeviceMessageStore)->GetMessageAsync(messageId, &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress, int32_t>) consume_Windows_Devices_Sms_ISmsDeviceMessageStore::GetMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const + template auto consume_Windows_Devices_Sms_ISmsDeviceMessageStore::GetMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDeviceMessageStore)->GetMessagesAsync(static_cast(messageFilter), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperationWithProgress, int32_t>{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sms_ISmsDeviceMessageStore::MaxMessages() const + template auto consume_Windows_Devices_Sms_ISmsDeviceMessageStore::MaxMessages() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDeviceMessageStore)->get_MaxMessages(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsDeviceStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Sms_ISmsDeviceStatics::GetDeviceSelector() const { void* phstrDeviceClassSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDeviceStatics)->GetDeviceSelector(&phstrDeviceClassSelector)); return hstring{ phstrDeviceClassSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sms_ISmsDeviceStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Sms_ISmsDeviceStatics::FromIdAsync(param::hstring const& deviceId) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDeviceStatics)->FromIdAsync(*(void**)(&deviceId), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sms_ISmsDeviceStatics::GetDefaultAsync() const + template auto consume_Windows_Devices_Sms_ISmsDeviceStatics::GetDefaultAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDeviceStatics)->GetDefaultAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Sms_ISmsDeviceStatics2::FromNetworkAccountIdAsync(param::hstring const& networkAccountId) const + template auto consume_Windows_Devices_Sms_ISmsDeviceStatics2::FromNetworkAccountIdAsync(param::hstring const& networkAccountId) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDeviceStatics2)->FromNetworkAccountIdAsync(*(void**)(&networkAccountId), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageType) consume_Windows_Devices_Sms_ISmsFilterRule::MessageType() const + template auto consume_Windows_Devices_Sms_ISmsFilterRule::MessageType() const { winrt::Windows::Devices::Sms::SmsMessageType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_MessageType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Sms_ISmsFilterRule::ImsiPrefixes() const + template auto consume_Windows_Devices_Sms_ISmsFilterRule::ImsiPrefixes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_ImsiPrefixes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Sms_ISmsFilterRule::DeviceIds() const + template auto consume_Windows_Devices_Sms_ISmsFilterRule::DeviceIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_DeviceIds(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Sms_ISmsFilterRule::SenderNumbers() const + template auto consume_Windows_Devices_Sms_ISmsFilterRule::SenderNumbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_SenderNumbers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Sms_ISmsFilterRule::TextMessagePrefixes() const + template auto consume_Windows_Devices_Sms_ISmsFilterRule::TextMessagePrefixes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_TextMessagePrefixes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Sms_ISmsFilterRule::PortNumbers() const + template auto consume_Windows_Devices_Sms_ISmsFilterRule::PortNumbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_PortNumbers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) consume_Windows_Devices_Sms_ISmsFilterRule::CellularClass() const + template auto consume_Windows_Devices_Sms_ISmsFilterRule::CellularClass() const { winrt::Windows::Devices::Sms::CellularClass value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_CellularClass(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsFilterRule::CellularClass(winrt::Windows::Devices::Sms::CellularClass const& value) const + template auto consume_Windows_Devices_Sms_ISmsFilterRule::CellularClass(winrt::Windows::Devices::Sms::CellularClass const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->put_CellularClass(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Sms_ISmsFilterRule::ProtocolIds() const + template auto consume_Windows_Devices_Sms_ISmsFilterRule::ProtocolIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_ProtocolIds(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Sms_ISmsFilterRule::TeleserviceIds() const + template auto consume_Windows_Devices_Sms_ISmsFilterRule::TeleserviceIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_TeleserviceIds(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Sms_ISmsFilterRule::WapApplicationIds() const + template auto consume_Windows_Devices_Sms_ISmsFilterRule::WapApplicationIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_WapApplicationIds(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Sms_ISmsFilterRule::WapContentTypes() const + template auto consume_Windows_Devices_Sms_ISmsFilterRule::WapContentTypes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_WapContentTypes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Sms_ISmsFilterRule::BroadcastTypes() const + template auto consume_Windows_Devices_Sms_ISmsFilterRule::BroadcastTypes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_BroadcastTypes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Sms_ISmsFilterRule::BroadcastChannels() const + template auto consume_Windows_Devices_Sms_ISmsFilterRule::BroadcastChannels() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_BroadcastChannels(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsFilterRule) consume_Windows_Devices_Sms_ISmsFilterRuleFactory::CreateFilterRule(winrt::Windows::Devices::Sms::SmsMessageType const& messageType) const + template auto consume_Windows_Devices_Sms_ISmsFilterRuleFactory::CreateFilterRule(winrt::Windows::Devices::Sms::SmsMessageType const& messageType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRuleFactory)->CreateFilterRule(static_cast(messageType), &value)); return winrt::Windows::Devices::Sms::SmsFilterRule{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsFilterActionType) consume_Windows_Devices_Sms_ISmsFilterRules::ActionType() const + template auto consume_Windows_Devices_Sms_ISmsFilterRules::ActionType() const { winrt::Windows::Devices::Sms::SmsFilterActionType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRules)->get_ActionType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_Sms_ISmsFilterRules::Rules() const + template auto consume_Windows_Devices_Sms_ISmsFilterRules::Rules() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRules)->get_Rules(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsFilterRules) consume_Windows_Devices_Sms_ISmsFilterRulesFactory::CreateFilterRules(winrt::Windows::Devices::Sms::SmsFilterActionType const& actionType) const + template auto consume_Windows_Devices_Sms_ISmsFilterRulesFactory::CreateFilterRules(winrt::Windows::Devices::Sms::SmsFilterActionType const& actionType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRulesFactory)->CreateFilterRules(static_cast(actionType), &value)); return winrt::Windows::Devices::Sms::SmsFilterRules{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sms_ISmsMessage::Id() const + template auto consume_Windows_Devices_Sms_ISmsMessage::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessage)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageClass) consume_Windows_Devices_Sms_ISmsMessage::MessageClass() const + template auto consume_Windows_Devices_Sms_ISmsMessage::MessageClass() const { winrt::Windows::Devices::Sms::SmsMessageClass value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessage)->get_MessageClass(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageType) consume_Windows_Devices_Sms_ISmsMessageBase::MessageType() const + template auto consume_Windows_Devices_Sms_ISmsMessageBase::MessageType() const { winrt::Windows::Devices::Sms::SmsMessageType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageBase)->get_MessageType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsMessageBase::DeviceId() const + template auto consume_Windows_Devices_Sms_ISmsMessageBase::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageBase)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) consume_Windows_Devices_Sms_ISmsMessageBase::CellularClass() const + template auto consume_Windows_Devices_Sms_ISmsMessageBase::CellularClass() const { winrt::Windows::Devices::Sms::CellularClass value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageBase)->get_CellularClass(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageClass) consume_Windows_Devices_Sms_ISmsMessageBase::MessageClass() const + template auto consume_Windows_Devices_Sms_ISmsMessageBase::MessageClass() const { winrt::Windows::Devices::Sms::SmsMessageClass value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageBase)->get_MessageClass(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsMessageBase::SimIccId() const + template auto consume_Windows_Devices_Sms_ISmsMessageBase::SimIccId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageBase)->get_SimIccId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsTextMessage) consume_Windows_Devices_Sms_ISmsMessageReceivedEventArgs::TextMessage() const + template auto consume_Windows_Devices_Sms_ISmsMessageReceivedEventArgs::TextMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageReceivedEventArgs)->get_TextMessage(&value)); return winrt::Windows::Devices::Sms::SmsTextMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsBinaryMessage) consume_Windows_Devices_Sms_ISmsMessageReceivedEventArgs::BinaryMessage() const + template auto consume_Windows_Devices_Sms_ISmsMessageReceivedEventArgs::BinaryMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageReceivedEventArgs)->get_BinaryMessage(&value)); return winrt::Windows::Devices::Sms::SmsBinaryMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageType) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::MessageType() const + template auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::MessageType() const { winrt::Windows::Devices::Sms::SmsMessageType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails)->get_MessageType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsTextMessage2) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::TextMessage() const + template auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::TextMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails)->get_TextMessage(&value)); return winrt::Windows::Devices::Sms::SmsTextMessage2{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsWapMessage) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::WapMessage() const + template auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::WapMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails)->get_WapMessage(&value)); return winrt::Windows::Devices::Sms::SmsWapMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsAppMessage) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::AppMessage() const + template auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::AppMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails)->get_AppMessage(&value)); return winrt::Windows::Devices::Sms::SmsAppMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsBroadcastMessage) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::BroadcastMessage() const + template auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::BroadcastMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails)->get_BroadcastMessage(&value)); return winrt::Windows::Devices::Sms::SmsBroadcastMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsVoicemailMessage) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::VoicemailMessage() const + template auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::VoicemailMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails)->get_VoicemailMessage(&value)); return winrt::Windows::Devices::Sms::SmsVoicemailMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsStatusMessage) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::StatusMessage() const + template auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::StatusMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails)->get_StatusMessage(&value)); return winrt::Windows::Devices::Sms::SmsStatusMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::Drop() const + template auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::Drop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails)->Drop()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::Accept() const + template auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails::Accept() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails)->Accept()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsMessageRegistration::Id() const + template auto consume_Windows_Devices_Sms_ISmsMessageRegistration::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageRegistration)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsMessageRegistration::Unregister() const + template auto consume_Windows_Devices_Sms_ISmsMessageRegistration::Unregister() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageRegistration)->Unregister()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sms_ISmsMessageRegistration::MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Sms_ISmsMessageRegistration::MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageRegistration)->add_MessageReceived(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Devices_Sms_ISmsMessageRegistration::MessageReceived_revoker consume_Windows_Devices_Sms_ISmsMessageRegistration::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Devices_Sms_ISmsMessageRegistration::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, MessageReceived(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsMessageRegistration::MessageReceived(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Devices_Sms_ISmsMessageRegistration::MessageReceived(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageRegistration)->remove_MessageReceived(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Sms_ISmsMessageRegistrationStatics::AllRegistrations() const + template auto consume_Windows_Devices_Sms_ISmsMessageRegistrationStatics::AllRegistrations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageRegistrationStatics)->get_AllRegistrations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageRegistration) consume_Windows_Devices_Sms_ISmsMessageRegistrationStatics::Register(param::hstring const& id, winrt::Windows::Devices::Sms::SmsFilterRules const& filterRules) const + template auto consume_Windows_Devices_Sms_ISmsMessageRegistrationStatics::Register(param::hstring const& id, winrt::Windows::Devices::Sms::SmsFilterRules const& filterRules) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageRegistrationStatics)->Register(*(void**)(&id), *(void**)(&filterRules), &value)); return winrt::Windows::Devices::Sms::SmsMessageRegistration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsReceivedEventDetails::DeviceId() const + template auto consume_Windows_Devices_Sms_ISmsReceivedEventDetails::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsReceivedEventDetails)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sms_ISmsReceivedEventDetails::MessageIndex() const + template auto consume_Windows_Devices_Sms_ISmsReceivedEventDetails::MessageIndex() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsReceivedEventDetails)->get_MessageIndex(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageClass) consume_Windows_Devices_Sms_ISmsReceivedEventDetails2::MessageClass() const + template auto consume_Windows_Devices_Sms_ISmsReceivedEventDetails2::MessageClass() const { winrt::Windows::Devices::Sms::SmsMessageClass value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsReceivedEventDetails2)->get_MessageClass(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsBinaryMessage) consume_Windows_Devices_Sms_ISmsReceivedEventDetails2::BinaryMessage() const + template auto consume_Windows_Devices_Sms_ISmsReceivedEventDetails2::BinaryMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsReceivedEventDetails2)->get_BinaryMessage(&value)); return winrt::Windows::Devices::Sms::SmsBinaryMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Sms_ISmsSendMessageResult::IsSuccessful() const + template auto consume_Windows_Devices_Sms_ISmsSendMessageResult::IsSuccessful() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsSendMessageResult)->get_IsSuccessful(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Sms_ISmsSendMessageResult::MessageReferenceNumbers() const + template auto consume_Windows_Devices_Sms_ISmsSendMessageResult::MessageReferenceNumbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsSendMessageResult)->get_MessageReferenceNumbers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) consume_Windows_Devices_Sms_ISmsSendMessageResult::CellularClass() const + template auto consume_Windows_Devices_Sms_ISmsSendMessageResult::CellularClass() const { winrt::Windows::Devices::Sms::CellularClass value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsSendMessageResult)->get_CellularClass(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsModemErrorCode) consume_Windows_Devices_Sms_ISmsSendMessageResult::ModemErrorCode() const + template auto consume_Windows_Devices_Sms_ISmsSendMessageResult::ModemErrorCode() const { winrt::Windows::Devices::Sms::SmsModemErrorCode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsSendMessageResult)->get_ModemErrorCode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Sms_ISmsSendMessageResult::IsErrorTransient() const + template auto consume_Windows_Devices_Sms_ISmsSendMessageResult::IsErrorTransient() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsSendMessageResult)->get_IsErrorTransient(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsSendMessageResult::NetworkCauseCode() const + template auto consume_Windows_Devices_Sms_ISmsSendMessageResult::NetworkCauseCode() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsSendMessageResult)->get_NetworkCauseCode(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsSendMessageResult::TransportFailureCause() const + template auto consume_Windows_Devices_Sms_ISmsSendMessageResult::TransportFailureCause() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsSendMessageResult)->get_TransportFailureCause(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsStatusMessage::To() const + template auto consume_Windows_Devices_Sms_ISmsStatusMessage::To() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsStatusMessage)->get_To(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsStatusMessage::From() const + template auto consume_Windows_Devices_Sms_ISmsStatusMessage::From() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsStatusMessage)->get_From(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsStatusMessage::Body() const + template auto consume_Windows_Devices_Sms_ISmsStatusMessage::Body() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsStatusMessage)->get_Body(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsStatusMessage::Status() const + template auto consume_Windows_Devices_Sms_ISmsStatusMessage::Status() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsStatusMessage)->get_Status(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsStatusMessage::MessageReferenceNumber() const + template auto consume_Windows_Devices_Sms_ISmsStatusMessage::MessageReferenceNumber() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsStatusMessage)->get_MessageReferenceNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sms_ISmsStatusMessage::ServiceCenterTimestamp() const + template auto consume_Windows_Devices_Sms_ISmsStatusMessage::ServiceCenterTimestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsStatusMessage)->get_ServiceCenterTimestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sms_ISmsStatusMessage::DischargeTime() const + template auto consume_Windows_Devices_Sms_ISmsStatusMessage::DischargeTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsStatusMessage)->get_DischargeTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sms_ISmsTextMessage::Timestamp() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sms_ISmsTextMessage::PartReferenceId() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage::PartReferenceId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->get_PartReferenceId(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sms_ISmsTextMessage::PartNumber() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage::PartNumber() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->get_PartNumber(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sms_ISmsTextMessage::PartCount() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage::PartCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->get_PartCount(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsTextMessage::To() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage::To() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->get_To(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage::To(param::hstring const& value) const + template auto consume_Windows_Devices_Sms_ISmsTextMessage::To(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->put_To(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsTextMessage::From() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage::From() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->get_From(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage::From(param::hstring const& value) const + template auto consume_Windows_Devices_Sms_ISmsTextMessage::From(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->put_From(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsTextMessage::Body() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage::Body() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->get_Body(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage::Body(param::hstring const& value) const + template auto consume_Windows_Devices_Sms_ISmsTextMessage::Body(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->put_Body(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncoding) consume_Windows_Devices_Sms_ISmsTextMessage::Encoding() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage::Encoding() const { winrt::Windows::Devices::Sms::SmsEncoding value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->get_Encoding(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage::Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const + template auto consume_Windows_Devices_Sms_ISmsTextMessage::Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->put_Encoding(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Sms_ISmsTextMessage::ToBinaryMessages(winrt::Windows::Devices::Sms::SmsDataFormat const& format) const + template auto consume_Windows_Devices_Sms_ISmsTextMessage::ToBinaryMessages(winrt::Windows::Devices::Sms::SmsDataFormat const& format) const { void* messages{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->ToBinaryMessages(static_cast(format), &messages)); return winrt::Windows::Foundation::Collections::IVectorView{ messages, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sms_ISmsTextMessage2::Timestamp() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage2::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsTextMessage2::To() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage2::To() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->get_To(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage2::To(param::hstring const& value) const + template auto consume_Windows_Devices_Sms_ISmsTextMessage2::To(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->put_To(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsTextMessage2::From() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage2::From() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->get_From(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsTextMessage2::Body() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage2::Body() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->get_Body(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage2::Body(param::hstring const& value) const + template auto consume_Windows_Devices_Sms_ISmsTextMessage2::Body(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->put_Body(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncoding) consume_Windows_Devices_Sms_ISmsTextMessage2::Encoding() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage2::Encoding() const { winrt::Windows::Devices::Sms::SmsEncoding value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->get_Encoding(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage2::Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const + template auto consume_Windows_Devices_Sms_ISmsTextMessage2::Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->put_Encoding(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsTextMessage2::CallbackNumber() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage2::CallbackNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->get_CallbackNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage2::CallbackNumber(param::hstring const& value) const + template auto consume_Windows_Devices_Sms_ISmsTextMessage2::CallbackNumber(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->put_CallbackNumber(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Sms_ISmsTextMessage2::IsDeliveryNotificationEnabled() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage2::IsDeliveryNotificationEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->get_IsDeliveryNotificationEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage2::IsDeliveryNotificationEnabled(bool value) const + template auto consume_Windows_Devices_Sms_ISmsTextMessage2::IsDeliveryNotificationEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->put_IsDeliveryNotificationEnabled(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsTextMessage2::RetryAttemptCount() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage2::RetryAttemptCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->get_RetryAttemptCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage2::RetryAttemptCount(int32_t value) const + template auto consume_Windows_Devices_Sms_ISmsTextMessage2::RetryAttemptCount(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->put_RetryAttemptCount(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsTextMessage2::TeleserviceId() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage2::TeleserviceId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->get_TeleserviceId(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsTextMessage2::ProtocolId() const + template auto consume_Windows_Devices_Sms_ISmsTextMessage2::ProtocolId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->get_ProtocolId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsTextMessage) consume_Windows_Devices_Sms_ISmsTextMessageStatics::FromBinaryMessage(winrt::Windows::Devices::Sms::SmsBinaryMessage const& binaryMessage) const + template auto consume_Windows_Devices_Sms_ISmsTextMessageStatics::FromBinaryMessage(winrt::Windows::Devices::Sms::SmsBinaryMessage const& binaryMessage) const { void* textMessage{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessageStatics)->FromBinaryMessage(*(void**)(&binaryMessage), &textMessage)); return winrt::Windows::Devices::Sms::SmsTextMessage{ textMessage, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsTextMessage) consume_Windows_Devices_Sms_ISmsTextMessageStatics::FromBinaryData(winrt::Windows::Devices::Sms::SmsDataFormat const& format, array_view value) const + template auto consume_Windows_Devices_Sms_ISmsTextMessageStatics::FromBinaryData(winrt::Windows::Devices::Sms::SmsDataFormat const& format, array_view value) const { void* textMessage{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessageStatics)->FromBinaryData(static_cast(format), value.size(), get_abi(value), &textMessage)); return winrt::Windows::Devices::Sms::SmsTextMessage{ textMessage, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sms_ISmsVoicemailMessage::Timestamp() const + template auto consume_Windows_Devices_Sms_ISmsVoicemailMessage::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsVoicemailMessage)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsVoicemailMessage::To() const + template auto consume_Windows_Devices_Sms_ISmsVoicemailMessage::To() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsVoicemailMessage)->get_To(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsVoicemailMessage::Body() const + template auto consume_Windows_Devices_Sms_ISmsVoicemailMessage::Body() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsVoicemailMessage)->get_Body(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Sms_ISmsVoicemailMessage::MessageCount() const + template auto consume_Windows_Devices_Sms_ISmsVoicemailMessage::MessageCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsVoicemailMessage)->get_MessageCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sms_ISmsWapMessage::Timestamp() const + template auto consume_Windows_Devices_Sms_ISmsWapMessage::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsWapMessage)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsWapMessage::To() const + template auto consume_Windows_Devices_Sms_ISmsWapMessage::To() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsWapMessage)->get_To(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsWapMessage::From() const + template auto consume_Windows_Devices_Sms_ISmsWapMessage::From() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsWapMessage)->get_From(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsWapMessage::ApplicationId() const + template auto consume_Windows_Devices_Sms_ISmsWapMessage::ApplicationId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsWapMessage)->get_ApplicationId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsWapMessage::ContentType() const + template auto consume_Windows_Devices_Sms_ISmsWapMessage::ContentType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsWapMessage)->get_ContentType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Sms_ISmsWapMessage::BinaryBody() const + template auto consume_Windows_Devices_Sms_ISmsWapMessage::BinaryBody() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsWapMessage)->get_BinaryBody(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Devices_Sms_ISmsWapMessage::Headers() const + template auto consume_Windows_Devices_Sms_ISmsWapMessage::Headers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsWapMessage)->get_Headers(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Spi.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Spi.Provider.h index 27d9f9cb..b4f7593a 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Spi.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Spi.Provider.h @@ -1,108 +1,108 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Spi_Provider_H #define WINRT_Windows_Devices_Spi_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.Spi.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Devices.Spi.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::ChipSelectLine() const + template auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::ChipSelectLine() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->get_ChipSelectLine(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::ChipSelectLine(int32_t value) const + template auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::ChipSelectLine(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->put_ChipSelectLine(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ProviderSpiMode) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::Mode() const + template auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::Mode() const { winrt::Windows::Devices::Spi::Provider::ProviderSpiMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::Mode(winrt::Windows::Devices::Spi::Provider::ProviderSpiMode const& value) const + template auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::Mode(winrt::Windows::Devices::Spi::Provider::ProviderSpiMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::DataBitLength() const + template auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::DataBitLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->get_DataBitLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::DataBitLength(int32_t value) const + template auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::DataBitLength(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->put_DataBitLength(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::ClockFrequency() const + template auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::ClockFrequency() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->get_ClockFrequency(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::ClockFrequency(int32_t value) const + template auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::ClockFrequency(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->put_ClockFrequency(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ProviderSpiSharingMode) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::SharingMode() const + template auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::SharingMode() const { winrt::Windows::Devices::Spi::Provider::ProviderSpiSharingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->get_SharingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::SharingMode(winrt::Windows::Devices::Spi::Provider::ProviderSpiSharingMode const& value) const + template auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings::SharingMode(winrt::Windows::Devices::Spi::Provider::ProviderSpiSharingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->put_SharingMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ProviderSpiConnectionSettings) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettingsFactory::Create(int32_t chipSelectLine) const + template auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettingsFactory::Create(int32_t chipSelectLine) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettingsFactory)->Create(chipSelectLine, &value)); return winrt::Windows::Devices::Spi::Provider::ProviderSpiConnectionSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ISpiDeviceProvider) consume_Windows_Devices_Spi_Provider_ISpiControllerProvider::GetDeviceProvider(winrt::Windows::Devices::Spi::Provider::ProviderSpiConnectionSettings const& settings) const + template auto consume_Windows_Devices_Spi_Provider_ISpiControllerProvider::GetDeviceProvider(winrt::Windows::Devices::Spi::Provider::ProviderSpiConnectionSettings const& settings) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::ISpiControllerProvider)->GetDeviceProvider(*(void**)(&settings), &result)); return winrt::Windows::Devices::Spi::Provider::ISpiDeviceProvider{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider::DeviceId() const + template auto consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::ISpiDeviceProvider)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ProviderSpiConnectionSettings) consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider::ConnectionSettings() const + template auto consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider::ConnectionSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::ISpiDeviceProvider)->get_ConnectionSettings(&value)); return winrt::Windows::Devices::Spi::Provider::ProviderSpiConnectionSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider::Write(array_view buffer) const + template auto consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider::Write(array_view buffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::ISpiDeviceProvider)->Write(buffer.size(), get_abi(buffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider::Read(array_view buffer) const + template auto consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider::Read(array_view buffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::ISpiDeviceProvider)->Read(buffer.size(), put_abi(buffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider::TransferSequential(array_view writeBuffer, array_view readBuffer) const + template auto consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider::TransferSequential(array_view writeBuffer, array_view readBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::ISpiDeviceProvider)->TransferSequential(writeBuffer.size(), get_abi(writeBuffer), readBuffer.size(), put_abi(readBuffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider::TransferFullDuplex(array_view writeBuffer, array_view readBuffer) const + template auto consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider::TransferFullDuplex(array_view writeBuffer, array_view readBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::ISpiDeviceProvider)->TransferFullDuplex(writeBuffer.size(), get_abi(writeBuffer), readBuffer.size(), put_abi(readBuffer))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Spi_Provider_ISpiProvider::GetControllersAsync() const + template auto consume_Windows_Devices_Spi_Provider_ISpiProvider::GetControllersAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::ISpiProvider)->GetControllersAsync(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Spi.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Spi.h index b28f360c..be598332 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Spi.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Spi.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Spi_H #define WINRT_Windows_Devices_Spi_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Devices.Spi.Provider.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,151 +13,151 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Spi.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_ISpiBusInfo::ChipSelectLineCount() const + template auto consume_Windows_Devices_Spi_ISpiBusInfo::ChipSelectLineCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiBusInfo)->get_ChipSelectLineCount(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_ISpiBusInfo::MinClockFrequency() const + template auto consume_Windows_Devices_Spi_ISpiBusInfo::MinClockFrequency() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiBusInfo)->get_MinClockFrequency(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_ISpiBusInfo::MaxClockFrequency() const + template auto consume_Windows_Devices_Spi_ISpiBusInfo::MaxClockFrequency() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiBusInfo)->get_MaxClockFrequency(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Spi_ISpiBusInfo::SupportedDataBitLengths() const + template auto consume_Windows_Devices_Spi_ISpiBusInfo::SupportedDataBitLengths() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiBusInfo)->get_SupportedDataBitLengths(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_ISpiConnectionSettings::ChipSelectLine() const + template auto consume_Windows_Devices_Spi_ISpiConnectionSettings::ChipSelectLine() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->get_ChipSelectLine(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiConnectionSettings::ChipSelectLine(int32_t value) const + template auto consume_Windows_Devices_Spi_ISpiConnectionSettings::ChipSelectLine(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->put_ChipSelectLine(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiMode) consume_Windows_Devices_Spi_ISpiConnectionSettings::Mode() const + template auto consume_Windows_Devices_Spi_ISpiConnectionSettings::Mode() const { winrt::Windows::Devices::Spi::SpiMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiConnectionSettings::Mode(winrt::Windows::Devices::Spi::SpiMode const& value) const + template auto consume_Windows_Devices_Spi_ISpiConnectionSettings::Mode(winrt::Windows::Devices::Spi::SpiMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_ISpiConnectionSettings::DataBitLength() const + template auto consume_Windows_Devices_Spi_ISpiConnectionSettings::DataBitLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->get_DataBitLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiConnectionSettings::DataBitLength(int32_t value) const + template auto consume_Windows_Devices_Spi_ISpiConnectionSettings::DataBitLength(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->put_DataBitLength(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_ISpiConnectionSettings::ClockFrequency() const + template auto consume_Windows_Devices_Spi_ISpiConnectionSettings::ClockFrequency() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->get_ClockFrequency(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiConnectionSettings::ClockFrequency(int32_t value) const + template auto consume_Windows_Devices_Spi_ISpiConnectionSettings::ClockFrequency(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->put_ClockFrequency(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiSharingMode) consume_Windows_Devices_Spi_ISpiConnectionSettings::SharingMode() const + template auto consume_Windows_Devices_Spi_ISpiConnectionSettings::SharingMode() const { winrt::Windows::Devices::Spi::SpiSharingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->get_SharingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiConnectionSettings::SharingMode(winrt::Windows::Devices::Spi::SpiSharingMode const& value) const + template auto consume_Windows_Devices_Spi_ISpiConnectionSettings::SharingMode(winrt::Windows::Devices::Spi::SpiSharingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->put_SharingMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiConnectionSettings) consume_Windows_Devices_Spi_ISpiConnectionSettingsFactory::Create(int32_t chipSelectLine) const + template auto consume_Windows_Devices_Spi_ISpiConnectionSettingsFactory::Create(int32_t chipSelectLine) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettingsFactory)->Create(chipSelectLine, &value)); return winrt::Windows::Devices::Spi::SpiConnectionSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiDevice) consume_Windows_Devices_Spi_ISpiController::GetDevice(winrt::Windows::Devices::Spi::SpiConnectionSettings const& settings) const + template auto consume_Windows_Devices_Spi_ISpiController::GetDevice(winrt::Windows::Devices::Spi::SpiConnectionSettings const& settings) const { void* device{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiController)->GetDevice(*(void**)(&settings), &device)); return winrt::Windows::Devices::Spi::SpiDevice{ device, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Spi_ISpiControllerStatics::GetDefaultAsync() const + template auto consume_Windows_Devices_Spi_ISpiControllerStatics::GetDefaultAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiControllerStatics)->GetDefaultAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_Spi_ISpiControllerStatics::GetControllersAsync(winrt::Windows::Devices::Spi::Provider::ISpiProvider const& provider) const + template auto consume_Windows_Devices_Spi_ISpiControllerStatics::GetControllersAsync(winrt::Windows::Devices::Spi::Provider::ISpiProvider const& provider) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiControllerStatics)->GetControllersAsync(*(void**)(&provider), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Spi_ISpiDevice::DeviceId() const + template auto consume_Windows_Devices_Spi_ISpiDevice::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiDevice)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiConnectionSettings) consume_Windows_Devices_Spi_ISpiDevice::ConnectionSettings() const + template auto consume_Windows_Devices_Spi_ISpiDevice::ConnectionSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiDevice)->get_ConnectionSettings(&value)); return winrt::Windows::Devices::Spi::SpiConnectionSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiDevice::Write(array_view buffer) const + template auto consume_Windows_Devices_Spi_ISpiDevice::Write(array_view buffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiDevice)->Write(buffer.size(), get_abi(buffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiDevice::Read(array_view buffer) const + template auto consume_Windows_Devices_Spi_ISpiDevice::Read(array_view buffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiDevice)->Read(buffer.size(), put_abi(buffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiDevice::TransferSequential(array_view writeBuffer, array_view readBuffer) const + template auto consume_Windows_Devices_Spi_ISpiDevice::TransferSequential(array_view writeBuffer, array_view readBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiDevice)->TransferSequential(writeBuffer.size(), get_abi(writeBuffer), readBuffer.size(), put_abi(readBuffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiDevice::TransferFullDuplex(array_view writeBuffer, array_view readBuffer) const + template auto consume_Windows_Devices_Spi_ISpiDevice::TransferFullDuplex(array_view writeBuffer, array_view readBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiDevice)->TransferFullDuplex(writeBuffer.size(), get_abi(writeBuffer), readBuffer.size(), put_abi(readBuffer))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Spi_ISpiDeviceStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_Spi_ISpiDeviceStatics::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiDeviceStatics)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Spi_ISpiDeviceStatics::GetDeviceSelector(param::hstring const& friendlyName) const + template auto consume_Windows_Devices_Spi_ISpiDeviceStatics::GetDeviceSelector(param::hstring const& friendlyName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiDeviceStatics)->GetDeviceSelectorFromFriendlyName(*(void**)(&friendlyName), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiBusInfo) consume_Windows_Devices_Spi_ISpiDeviceStatics::GetBusInfo(param::hstring const& busId) const + template auto consume_Windows_Devices_Spi_ISpiDeviceStatics::GetBusInfo(param::hstring const& busId) const { void* busInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiDeviceStatics)->GetBusInfo(*(void**)(&busId), &busInfo)); return winrt::Windows::Devices::Spi::SpiBusInfo{ busInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Spi_ISpiDeviceStatics::FromIdAsync(param::hstring const& busId, winrt::Windows::Devices::Spi::SpiConnectionSettings const& settings) const + template auto consume_Windows_Devices_Spi_ISpiDeviceStatics::FromIdAsync(param::hstring const& busId, winrt::Windows::Devices::Spi::SpiConnectionSettings const& settings) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiDeviceStatics)->FromIdAsync(*(void**)(&busId), *(void**)(&settings), &operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Usb.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Usb.h index d44e4fe9..6f056554 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Usb.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Usb.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Usb_H #define WINRT_Windows_Devices_Usb_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,755 +13,755 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.Usb.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbBulkInEndpointDescriptor::MaxPacketSize() const + template auto consume_Windows_Devices_Usb_IUsbBulkInEndpointDescriptor::MaxPacketSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkInEndpointDescriptor)->get_MaxPacketSize(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbBulkInEndpointDescriptor::EndpointNumber() const + template auto consume_Windows_Devices_Usb_IUsbBulkInEndpointDescriptor::EndpointNumber() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkInEndpointDescriptor)->get_EndpointNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkInPipe) consume_Windows_Devices_Usb_IUsbBulkInEndpointDescriptor::Pipe() const + template auto consume_Windows_Devices_Usb_IUsbBulkInEndpointDescriptor::Pipe() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkInEndpointDescriptor)->get_Pipe(&value)); return winrt::Windows::Devices::Usb::UsbBulkInPipe{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbBulkInPipe::MaxTransferSizeBytes() const + template auto consume_Windows_Devices_Usb_IUsbBulkInPipe::MaxTransferSizeBytes() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkInPipe)->get_MaxTransferSizeBytes(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkInEndpointDescriptor) consume_Windows_Devices_Usb_IUsbBulkInPipe::EndpointDescriptor() const + template auto consume_Windows_Devices_Usb_IUsbBulkInPipe::EndpointDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkInPipe)->get_EndpointDescriptor(&value)); return winrt::Windows::Devices::Usb::UsbBulkInEndpointDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Usb_IUsbBulkInPipe::ClearStallAsync() const + template auto consume_Windows_Devices_Usb_IUsbBulkInPipe::ClearStallAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkInPipe)->ClearStallAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbBulkInPipe::ReadOptions(winrt::Windows::Devices::Usb::UsbReadOptions const& value) const + template auto consume_Windows_Devices_Usb_IUsbBulkInPipe::ReadOptions(winrt::Windows::Devices::Usb::UsbReadOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkInPipe)->put_ReadOptions(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbReadOptions) consume_Windows_Devices_Usb_IUsbBulkInPipe::ReadOptions() const + template auto consume_Windows_Devices_Usb_IUsbBulkInPipe::ReadOptions() const { winrt::Windows::Devices::Usb::UsbReadOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkInPipe)->get_ReadOptions(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbBulkInPipe::FlushBuffer() const + template auto consume_Windows_Devices_Usb_IUsbBulkInPipe::FlushBuffer() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkInPipe)->FlushBuffer()); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Devices_Usb_IUsbBulkInPipe::InputStream() const + template auto consume_Windows_Devices_Usb_IUsbBulkInPipe::InputStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkInPipe)->get_InputStream(&value)); return winrt::Windows::Storage::Streams::IInputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbBulkOutEndpointDescriptor::MaxPacketSize() const + template auto consume_Windows_Devices_Usb_IUsbBulkOutEndpointDescriptor::MaxPacketSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkOutEndpointDescriptor)->get_MaxPacketSize(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbBulkOutEndpointDescriptor::EndpointNumber() const + template auto consume_Windows_Devices_Usb_IUsbBulkOutEndpointDescriptor::EndpointNumber() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkOutEndpointDescriptor)->get_EndpointNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkOutPipe) consume_Windows_Devices_Usb_IUsbBulkOutEndpointDescriptor::Pipe() const + template auto consume_Windows_Devices_Usb_IUsbBulkOutEndpointDescriptor::Pipe() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkOutEndpointDescriptor)->get_Pipe(&value)); return winrt::Windows::Devices::Usb::UsbBulkOutPipe{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor) consume_Windows_Devices_Usb_IUsbBulkOutPipe::EndpointDescriptor() const + template auto consume_Windows_Devices_Usb_IUsbBulkOutPipe::EndpointDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkOutPipe)->get_EndpointDescriptor(&value)); return winrt::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Usb_IUsbBulkOutPipe::ClearStallAsync() const + template auto consume_Windows_Devices_Usb_IUsbBulkOutPipe::ClearStallAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkOutPipe)->ClearStallAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbBulkOutPipe::WriteOptions(winrt::Windows::Devices::Usb::UsbWriteOptions const& value) const + template auto consume_Windows_Devices_Usb_IUsbBulkOutPipe::WriteOptions(winrt::Windows::Devices::Usb::UsbWriteOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkOutPipe)->put_WriteOptions(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbWriteOptions) consume_Windows_Devices_Usb_IUsbBulkOutPipe::WriteOptions() const + template auto consume_Windows_Devices_Usb_IUsbBulkOutPipe::WriteOptions() const { winrt::Windows::Devices::Usb::UsbWriteOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkOutPipe)->get_WriteOptions(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Devices_Usb_IUsbBulkOutPipe::OutputStream() const + template auto consume_Windows_Devices_Usb_IUsbBulkOutPipe::OutputStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkOutPipe)->get_OutputStream(&value)); return winrt::Windows::Storage::Streams::IOutputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Usb_IUsbConfiguration::UsbInterfaces() const + template auto consume_Windows_Devices_Usb_IUsbConfiguration::UsbInterfaces() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbConfiguration)->get_UsbInterfaces(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbConfigurationDescriptor) consume_Windows_Devices_Usb_IUsbConfiguration::ConfigurationDescriptor() const + template auto consume_Windows_Devices_Usb_IUsbConfiguration::ConfigurationDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbConfiguration)->get_ConfigurationDescriptor(&value)); return winrt::Windows::Devices::Usb::UsbConfigurationDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Usb_IUsbConfiguration::Descriptors() const + template auto consume_Windows_Devices_Usb_IUsbConfiguration::Descriptors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbConfiguration)->get_Descriptors(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbConfigurationDescriptor::ConfigurationValue() const + template auto consume_Windows_Devices_Usb_IUsbConfigurationDescriptor::ConfigurationValue() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbConfigurationDescriptor)->get_ConfigurationValue(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbConfigurationDescriptor::MaxPowerMilliamps() const + template auto consume_Windows_Devices_Usb_IUsbConfigurationDescriptor::MaxPowerMilliamps() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbConfigurationDescriptor)->get_MaxPowerMilliamps(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Usb_IUsbConfigurationDescriptor::SelfPowered() const + template auto consume_Windows_Devices_Usb_IUsbConfigurationDescriptor::SelfPowered() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbConfigurationDescriptor)->get_SelfPowered(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Usb_IUsbConfigurationDescriptor::RemoteWakeup() const + template auto consume_Windows_Devices_Usb_IUsbConfigurationDescriptor::RemoteWakeup() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbConfigurationDescriptor)->get_RemoteWakeup(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Usb_IUsbConfigurationDescriptorStatics::TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbConfigurationDescriptor& parsed) const + template auto consume_Windows_Devices_Usb_IUsbConfigurationDescriptorStatics::TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbConfigurationDescriptor& parsed) const { bool success{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbConfigurationDescriptorStatics)->TryParse(*(void**)(&descriptor), impl::bind_out(parsed), &success)); return success; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbConfigurationDescriptor) consume_Windows_Devices_Usb_IUsbConfigurationDescriptorStatics::Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const + template auto consume_Windows_Devices_Usb_IUsbConfigurationDescriptorStatics::Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const { void* parsed{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbConfigurationDescriptorStatics)->Parse(*(void**)(&descriptor), &parsed)); return winrt::Windows::Devices::Usb::UsbConfigurationDescriptor{ parsed, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbTransferDirection) consume_Windows_Devices_Usb_IUsbControlRequestType::Direction() const + template auto consume_Windows_Devices_Usb_IUsbControlRequestType::Direction() const { winrt::Windows::Devices::Usb::UsbTransferDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbControlRequestType)->get_Direction(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbControlRequestType::Direction(winrt::Windows::Devices::Usb::UsbTransferDirection const& value) const + template auto consume_Windows_Devices_Usb_IUsbControlRequestType::Direction(winrt::Windows::Devices::Usb::UsbTransferDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbControlRequestType)->put_Direction(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbControlTransferType) consume_Windows_Devices_Usb_IUsbControlRequestType::ControlTransferType() const + template auto consume_Windows_Devices_Usb_IUsbControlRequestType::ControlTransferType() const { winrt::Windows::Devices::Usb::UsbControlTransferType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbControlRequestType)->get_ControlTransferType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbControlRequestType::ControlTransferType(winrt::Windows::Devices::Usb::UsbControlTransferType const& value) const + template auto consume_Windows_Devices_Usb_IUsbControlRequestType::ControlTransferType(winrt::Windows::Devices::Usb::UsbControlTransferType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbControlRequestType)->put_ControlTransferType(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbControlRecipient) consume_Windows_Devices_Usb_IUsbControlRequestType::Recipient() const + template auto consume_Windows_Devices_Usb_IUsbControlRequestType::Recipient() const { winrt::Windows::Devices::Usb::UsbControlRecipient value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbControlRequestType)->get_Recipient(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbControlRequestType::Recipient(winrt::Windows::Devices::Usb::UsbControlRecipient const& value) const + template auto consume_Windows_Devices_Usb_IUsbControlRequestType::Recipient(winrt::Windows::Devices::Usb::UsbControlRecipient const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbControlRequestType)->put_Recipient(static_cast(value))); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbControlRequestType::AsByte() const + template auto consume_Windows_Devices_Usb_IUsbControlRequestType::AsByte() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbControlRequestType)->get_AsByte(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbControlRequestType::AsByte(uint8_t value) const + template auto consume_Windows_Devices_Usb_IUsbControlRequestType::AsByte(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbControlRequestType)->put_AsByte(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbDescriptor::Length() const + template auto consume_Windows_Devices_Usb_IUsbDescriptor::Length() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDescriptor)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbDescriptor::DescriptorType() const + template auto consume_Windows_Devices_Usb_IUsbDescriptor::DescriptorType() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDescriptor)->get_DescriptorType(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbDescriptor::ReadDescriptorBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Devices_Usb_IUsbDescriptor::ReadDescriptorBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDescriptor)->ReadDescriptorBuffer(*(void**)(&buffer))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Usb_IUsbDevice::SendControlOutTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Devices_Usb_IUsbDevice::SendControlOutTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDevice)->SendControlOutTransferAsync(*(void**)(&setupPacket), *(void**)(&buffer), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Usb_IUsbDevice::SendControlOutTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket) const + template auto consume_Windows_Devices_Usb_IUsbDevice::SendControlOutTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDevice)->SendControlOutTransferAsyncNoBuffer(*(void**)(&setupPacket), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Usb_IUsbDevice::SendControlInTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Devices_Usb_IUsbDevice::SendControlInTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDevice)->SendControlInTransferAsync(*(void**)(&setupPacket), *(void**)(&buffer), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Usb_IUsbDevice::SendControlInTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket) const + template auto consume_Windows_Devices_Usb_IUsbDevice::SendControlInTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDevice)->SendControlInTransferAsyncNoBuffer(*(void**)(&setupPacket), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterface) consume_Windows_Devices_Usb_IUsbDevice::DefaultInterface() const + template auto consume_Windows_Devices_Usb_IUsbDevice::DefaultInterface() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDevice)->get_DefaultInterface(&value)); return winrt::Windows::Devices::Usb::UsbInterface{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceDescriptor) consume_Windows_Devices_Usb_IUsbDevice::DeviceDescriptor() const + template auto consume_Windows_Devices_Usb_IUsbDevice::DeviceDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDevice)->get_DeviceDescriptor(&value)); return winrt::Windows::Devices::Usb::UsbDeviceDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbConfiguration) consume_Windows_Devices_Usb_IUsbDevice::Configuration() const + template auto consume_Windows_Devices_Usb_IUsbDevice::Configuration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDevice)->get_Configuration(&value)); return winrt::Windows::Devices::Usb::UsbConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbDeviceClass::ClassCode() const + template auto consume_Windows_Devices_Usb_IUsbDeviceClass::ClassCode() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClass)->get_ClassCode(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbDeviceClass::ClassCode(uint8_t value) const + template auto consume_Windows_Devices_Usb_IUsbDeviceClass::ClassCode(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClass)->put_ClassCode(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Usb_IUsbDeviceClass::SubclassCode() const + template auto consume_Windows_Devices_Usb_IUsbDeviceClass::SubclassCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClass)->get_SubclassCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbDeviceClass::SubclassCode(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_Usb_IUsbDeviceClass::SubclassCode(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClass)->put_SubclassCode(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Usb_IUsbDeviceClass::ProtocolCode() const + template auto consume_Windows_Devices_Usb_IUsbDeviceClass::ProtocolCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClass)->get_ProtocolCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbDeviceClass::ProtocolCode(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Devices_Usb_IUsbDeviceClass::ProtocolCode(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClass)->put_ProtocolCode(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::CdcControl() const + template auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::CdcControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClassesStatics)->get_CdcControl(&value)); return winrt::Windows::Devices::Usb::UsbDeviceClass{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::Physical() const + template auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::Physical() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClassesStatics)->get_Physical(&value)); return winrt::Windows::Devices::Usb::UsbDeviceClass{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::PersonalHealthcare() const + template auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::PersonalHealthcare() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClassesStatics)->get_PersonalHealthcare(&value)); return winrt::Windows::Devices::Usb::UsbDeviceClass{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::ActiveSync() const + template auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::ActiveSync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClassesStatics)->get_ActiveSync(&value)); return winrt::Windows::Devices::Usb::UsbDeviceClass{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::PalmSync() const + template auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::PalmSync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClassesStatics)->get_PalmSync(&value)); return winrt::Windows::Devices::Usb::UsbDeviceClass{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::DeviceFirmwareUpdate() const + template auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::DeviceFirmwareUpdate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClassesStatics)->get_DeviceFirmwareUpdate(&value)); return winrt::Windows::Devices::Usb::UsbDeviceClass{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::Irda() const + template auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::Irda() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClassesStatics)->get_Irda(&value)); return winrt::Windows::Devices::Usb::UsbDeviceClass{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::Measurement() const + template auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::Measurement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClassesStatics)->get_Measurement(&value)); return winrt::Windows::Devices::Usb::UsbDeviceClass{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::VendorSpecific() const + template auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics::VendorSpecific() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClassesStatics)->get_VendorSpecific(&value)); return winrt::Windows::Devices::Usb::UsbDeviceClass{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbDeviceDescriptor::BcdUsb() const + template auto consume_Windows_Devices_Usb_IUsbDeviceDescriptor::BcdUsb() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceDescriptor)->get_BcdUsb(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbDeviceDescriptor::MaxPacketSize0() const + template auto consume_Windows_Devices_Usb_IUsbDeviceDescriptor::MaxPacketSize0() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceDescriptor)->get_MaxPacketSize0(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbDeviceDescriptor::VendorId() const + template auto consume_Windows_Devices_Usb_IUsbDeviceDescriptor::VendorId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceDescriptor)->get_VendorId(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbDeviceDescriptor::ProductId() const + template auto consume_Windows_Devices_Usb_IUsbDeviceDescriptor::ProductId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceDescriptor)->get_ProductId(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbDeviceDescriptor::BcdDeviceRevision() const + template auto consume_Windows_Devices_Usb_IUsbDeviceDescriptor::BcdDeviceRevision() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceDescriptor)->get_BcdDeviceRevision(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbDeviceDescriptor::NumberOfConfigurations() const + template auto consume_Windows_Devices_Usb_IUsbDeviceDescriptor::NumberOfConfigurations() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceDescriptor)->get_NumberOfConfigurations(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Usb_IUsbDeviceStatics::GetDeviceSelector(uint32_t vendorId, uint32_t productId, winrt::guid const& winUsbInterfaceClass) const + template auto consume_Windows_Devices_Usb_IUsbDeviceStatics::GetDeviceSelector(uint32_t vendorId, uint32_t productId, winrt::guid const& winUsbInterfaceClass) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceStatics)->GetDeviceSelector(vendorId, productId, impl::bind_in(winUsbInterfaceClass), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Usb_IUsbDeviceStatics::GetDeviceSelector(winrt::guid const& winUsbInterfaceClass) const + template auto consume_Windows_Devices_Usb_IUsbDeviceStatics::GetDeviceSelector(winrt::guid const& winUsbInterfaceClass) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceStatics)->GetDeviceSelectorGuidOnly(impl::bind_in(winUsbInterfaceClass), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Usb_IUsbDeviceStatics::GetDeviceSelector(uint32_t vendorId, uint32_t productId) const + template auto consume_Windows_Devices_Usb_IUsbDeviceStatics::GetDeviceSelector(uint32_t vendorId, uint32_t productId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceStatics)->GetDeviceSelectorVidPidOnly(vendorId, productId, &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Usb_IUsbDeviceStatics::GetDeviceClassSelector(winrt::Windows::Devices::Usb::UsbDeviceClass const& usbClass) const + template auto consume_Windows_Devices_Usb_IUsbDeviceStatics::GetDeviceClassSelector(winrt::Windows::Devices::Usb::UsbDeviceClass const& usbClass) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceStatics)->GetDeviceClassSelector(*(void**)(&usbClass), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_Usb_IUsbDeviceStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_Usb_IUsbDeviceStatics::FromIdAsync(param::hstring const& deviceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceStatics)->FromIdAsync(*(void**)(&deviceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbEndpointDescriptor::EndpointNumber() const + template auto consume_Windows_Devices_Usb_IUsbEndpointDescriptor::EndpointNumber() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbEndpointDescriptor)->get_EndpointNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbTransferDirection) consume_Windows_Devices_Usb_IUsbEndpointDescriptor::Direction() const + template auto consume_Windows_Devices_Usb_IUsbEndpointDescriptor::Direction() const { winrt::Windows::Devices::Usb::UsbTransferDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbEndpointDescriptor)->get_Direction(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbEndpointType) consume_Windows_Devices_Usb_IUsbEndpointDescriptor::EndpointType() const + template auto consume_Windows_Devices_Usb_IUsbEndpointDescriptor::EndpointType() const { winrt::Windows::Devices::Usb::UsbEndpointType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbEndpointDescriptor)->get_EndpointType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkInEndpointDescriptor) consume_Windows_Devices_Usb_IUsbEndpointDescriptor::AsBulkInEndpointDescriptor() const + template auto consume_Windows_Devices_Usb_IUsbEndpointDescriptor::AsBulkInEndpointDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbEndpointDescriptor)->get_AsBulkInEndpointDescriptor(&value)); return winrt::Windows::Devices::Usb::UsbBulkInEndpointDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor) consume_Windows_Devices_Usb_IUsbEndpointDescriptor::AsInterruptInEndpointDescriptor() const + template auto consume_Windows_Devices_Usb_IUsbEndpointDescriptor::AsInterruptInEndpointDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbEndpointDescriptor)->get_AsInterruptInEndpointDescriptor(&value)); return winrt::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor) consume_Windows_Devices_Usb_IUsbEndpointDescriptor::AsBulkOutEndpointDescriptor() const + template auto consume_Windows_Devices_Usb_IUsbEndpointDescriptor::AsBulkOutEndpointDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbEndpointDescriptor)->get_AsBulkOutEndpointDescriptor(&value)); return winrt::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor) consume_Windows_Devices_Usb_IUsbEndpointDescriptor::AsInterruptOutEndpointDescriptor() const + template auto consume_Windows_Devices_Usb_IUsbEndpointDescriptor::AsInterruptOutEndpointDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbEndpointDescriptor)->get_AsInterruptOutEndpointDescriptor(&value)); return winrt::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Usb_IUsbEndpointDescriptorStatics::TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbEndpointDescriptor& parsed) const + template auto consume_Windows_Devices_Usb_IUsbEndpointDescriptorStatics::TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbEndpointDescriptor& parsed) const { bool success{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbEndpointDescriptorStatics)->TryParse(*(void**)(&descriptor), impl::bind_out(parsed), &success)); return success; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbEndpointDescriptor) consume_Windows_Devices_Usb_IUsbEndpointDescriptorStatics::Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const + template auto consume_Windows_Devices_Usb_IUsbEndpointDescriptorStatics::Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const { void* parsed{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbEndpointDescriptorStatics)->Parse(*(void**)(&descriptor), &parsed)); return winrt::Windows::Devices::Usb::UsbEndpointDescriptor{ parsed, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Usb_IUsbInterface::BulkInPipes() const + template auto consume_Windows_Devices_Usb_IUsbInterface::BulkInPipes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterface)->get_BulkInPipes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Usb_IUsbInterface::InterruptInPipes() const + template auto consume_Windows_Devices_Usb_IUsbInterface::InterruptInPipes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterface)->get_InterruptInPipes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Usb_IUsbInterface::BulkOutPipes() const + template auto consume_Windows_Devices_Usb_IUsbInterface::BulkOutPipes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterface)->get_BulkOutPipes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Usb_IUsbInterface::InterruptOutPipes() const + template auto consume_Windows_Devices_Usb_IUsbInterface::InterruptOutPipes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterface)->get_InterruptOutPipes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Usb_IUsbInterface::InterfaceSettings() const + template auto consume_Windows_Devices_Usb_IUsbInterface::InterfaceSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterface)->get_InterfaceSettings(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbInterface::InterfaceNumber() const + template auto consume_Windows_Devices_Usb_IUsbInterface::InterfaceNumber() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterface)->get_InterfaceNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Usb_IUsbInterface::Descriptors() const + template auto consume_Windows_Devices_Usb_IUsbInterface::Descriptors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterface)->get_Descriptors(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbInterfaceDescriptor::ClassCode() const + template auto consume_Windows_Devices_Usb_IUsbInterfaceDescriptor::ClassCode() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceDescriptor)->get_ClassCode(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbInterfaceDescriptor::SubclassCode() const + template auto consume_Windows_Devices_Usb_IUsbInterfaceDescriptor::SubclassCode() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceDescriptor)->get_SubclassCode(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbInterfaceDescriptor::ProtocolCode() const + template auto consume_Windows_Devices_Usb_IUsbInterfaceDescriptor::ProtocolCode() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceDescriptor)->get_ProtocolCode(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbInterfaceDescriptor::AlternateSettingNumber() const + template auto consume_Windows_Devices_Usb_IUsbInterfaceDescriptor::AlternateSettingNumber() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceDescriptor)->get_AlternateSettingNumber(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbInterfaceDescriptor::InterfaceNumber() const + template auto consume_Windows_Devices_Usb_IUsbInterfaceDescriptor::InterfaceNumber() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceDescriptor)->get_InterfaceNumber(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Usb_IUsbInterfaceDescriptorStatics::TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbInterfaceDescriptor& parsed) const + template auto consume_Windows_Devices_Usb_IUsbInterfaceDescriptorStatics::TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbInterfaceDescriptor& parsed) const { bool success{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceDescriptorStatics)->TryParse(*(void**)(&descriptor), impl::bind_out(parsed), &success)); return success; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterfaceDescriptor) consume_Windows_Devices_Usb_IUsbInterfaceDescriptorStatics::Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const + template auto consume_Windows_Devices_Usb_IUsbInterfaceDescriptorStatics::Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const { void* parsed{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceDescriptorStatics)->Parse(*(void**)(&descriptor), &parsed)); return winrt::Windows::Devices::Usb::UsbInterfaceDescriptor{ parsed, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Usb_IUsbInterfaceSetting::BulkInEndpoints() const + template auto consume_Windows_Devices_Usb_IUsbInterfaceSetting::BulkInEndpoints() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceSetting)->get_BulkInEndpoints(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Usb_IUsbInterfaceSetting::InterruptInEndpoints() const + template auto consume_Windows_Devices_Usb_IUsbInterfaceSetting::InterruptInEndpoints() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceSetting)->get_InterruptInEndpoints(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Usb_IUsbInterfaceSetting::BulkOutEndpoints() const + template auto consume_Windows_Devices_Usb_IUsbInterfaceSetting::BulkOutEndpoints() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceSetting)->get_BulkOutEndpoints(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Usb_IUsbInterfaceSetting::InterruptOutEndpoints() const + template auto consume_Windows_Devices_Usb_IUsbInterfaceSetting::InterruptOutEndpoints() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceSetting)->get_InterruptOutEndpoints(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Usb_IUsbInterfaceSetting::Selected() const + template auto consume_Windows_Devices_Usb_IUsbInterfaceSetting::Selected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceSetting)->get_Selected(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Usb_IUsbInterfaceSetting::SelectSettingAsync() const + template auto consume_Windows_Devices_Usb_IUsbInterfaceSetting::SelectSettingAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceSetting)->SelectSettingAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterfaceDescriptor) consume_Windows_Devices_Usb_IUsbInterfaceSetting::InterfaceDescriptor() const + template auto consume_Windows_Devices_Usb_IUsbInterfaceSetting::InterfaceDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceSetting)->get_InterfaceDescriptor(&value)); return winrt::Windows::Devices::Usb::UsbInterfaceDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_Usb_IUsbInterfaceSetting::Descriptors() const + template auto consume_Windows_Devices_Usb_IUsbInterfaceSetting::Descriptors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceSetting)->get_Descriptors(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor::MaxPacketSize() const + template auto consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor::MaxPacketSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptInEndpointDescriptor)->get_MaxPacketSize(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor::EndpointNumber() const + template auto consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor::EndpointNumber() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptInEndpointDescriptor)->get_EndpointNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor::Interval() const + template auto consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor::Interval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptInEndpointDescriptor)->get_Interval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptInPipe) consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor::Pipe() const + template auto consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor::Pipe() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptInEndpointDescriptor)->get_Pipe(&value)); return winrt::Windows::Devices::Usb::UsbInterruptInPipe{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Usb_IUsbInterruptInEventArgs::InterruptData() const + template auto consume_Windows_Devices_Usb_IUsbInterruptInEventArgs::InterruptData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptInEventArgs)->get_InterruptData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor) consume_Windows_Devices_Usb_IUsbInterruptInPipe::EndpointDescriptor() const + template auto consume_Windows_Devices_Usb_IUsbInterruptInPipe::EndpointDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptInPipe)->get_EndpointDescriptor(&value)); return winrt::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Usb_IUsbInterruptInPipe::ClearStallAsync() const + template auto consume_Windows_Devices_Usb_IUsbInterruptInPipe::ClearStallAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptInPipe)->ClearStallAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Usb_IUsbInterruptInPipe::DataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Usb_IUsbInterruptInPipe::DataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptInPipe)->add_DataReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_Usb_IUsbInterruptInPipe::DataReceived_revoker consume_Windows_Devices_Usb_IUsbInterruptInPipe::DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_Usb_IUsbInterruptInPipe::DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DataReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbInterruptInPipe::DataReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_Usb_IUsbInterruptInPipe::DataReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptInPipe)->remove_DataReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor::MaxPacketSize() const + template auto consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor::MaxPacketSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptOutEndpointDescriptor)->get_MaxPacketSize(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor::EndpointNumber() const + template auto consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor::EndpointNumber() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptOutEndpointDescriptor)->get_EndpointNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor::Interval() const + template auto consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor::Interval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptOutEndpointDescriptor)->get_Interval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptOutPipe) consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor::Pipe() const + template auto consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor::Pipe() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptOutEndpointDescriptor)->get_Pipe(&value)); return winrt::Windows::Devices::Usb::UsbInterruptOutPipe{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor) consume_Windows_Devices_Usb_IUsbInterruptOutPipe::EndpointDescriptor() const + template auto consume_Windows_Devices_Usb_IUsbInterruptOutPipe::EndpointDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptOutPipe)->get_EndpointDescriptor(&value)); return winrt::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Usb_IUsbInterruptOutPipe::ClearStallAsync() const + template auto consume_Windows_Devices_Usb_IUsbInterruptOutPipe::ClearStallAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptOutPipe)->ClearStallAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbInterruptOutPipe::WriteOptions(winrt::Windows::Devices::Usb::UsbWriteOptions const& value) const + template auto consume_Windows_Devices_Usb_IUsbInterruptOutPipe::WriteOptions(winrt::Windows::Devices::Usb::UsbWriteOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptOutPipe)->put_WriteOptions(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbWriteOptions) consume_Windows_Devices_Usb_IUsbInterruptOutPipe::WriteOptions() const + template auto consume_Windows_Devices_Usb_IUsbInterruptOutPipe::WriteOptions() const { winrt::Windows::Devices::Usb::UsbWriteOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptOutPipe)->get_WriteOptions(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Devices_Usb_IUsbInterruptOutPipe::OutputStream() const + template auto consume_Windows_Devices_Usb_IUsbInterruptOutPipe::OutputStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptOutPipe)->get_OutputStream(&value)); return winrt::Windows::Storage::Streams::IOutputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbControlRequestType) consume_Windows_Devices_Usb_IUsbSetupPacket::RequestType() const + template auto consume_Windows_Devices_Usb_IUsbSetupPacket::RequestType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->get_RequestType(&value)); return winrt::Windows::Devices::Usb::UsbControlRequestType{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbSetupPacket::RequestType(winrt::Windows::Devices::Usb::UsbControlRequestType const& value) const + template auto consume_Windows_Devices_Usb_IUsbSetupPacket::RequestType(winrt::Windows::Devices::Usb::UsbControlRequestType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->put_RequestType(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbSetupPacket::Request() const + template auto consume_Windows_Devices_Usb_IUsbSetupPacket::Request() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->get_Request(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbSetupPacket::Request(uint8_t value) const + template auto consume_Windows_Devices_Usb_IUsbSetupPacket::Request(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->put_Request(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbSetupPacket::Value() const + template auto consume_Windows_Devices_Usb_IUsbSetupPacket::Value() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->get_Value(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbSetupPacket::Value(uint32_t value) const + template auto consume_Windows_Devices_Usb_IUsbSetupPacket::Value(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->put_Value(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbSetupPacket::Index() const + template auto consume_Windows_Devices_Usb_IUsbSetupPacket::Index() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->get_Index(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbSetupPacket::Index(uint32_t value) const + template auto consume_Windows_Devices_Usb_IUsbSetupPacket::Index(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->put_Index(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbSetupPacket::Length() const + template auto consume_Windows_Devices_Usb_IUsbSetupPacket::Length() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbSetupPacket::Length(uint32_t value) const + template auto consume_Windows_Devices_Usb_IUsbSetupPacket::Length(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->put_Length(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbSetupPacket) consume_Windows_Devices_Usb_IUsbSetupPacketFactory::CreateWithEightByteBuffer(winrt::Windows::Storage::Streams::IBuffer const& eightByteBuffer) const + template auto consume_Windows_Devices_Usb_IUsbSetupPacketFactory::CreateWithEightByteBuffer(winrt::Windows::Storage::Streams::IBuffer const& eightByteBuffer) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacketFactory)->CreateWithEightByteBuffer(*(void**)(&eightByteBuffer), &value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFi.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFi.h index 4447c849..766a2f6e 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFi.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFi.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_WiFi_H #define WINRT_Windows_Devices_WiFi_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,187 +14,187 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.WiFi.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAdapter) consume_Windows_Devices_WiFi_IWiFiAdapter::NetworkAdapter() const + template auto consume_Windows_Devices_WiFi_IWiFiAdapter::NetworkAdapter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapter)->get_NetworkAdapter(&value)); return winrt::Windows::Networking::Connectivity::NetworkAdapter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_WiFi_IWiFiAdapter::ScanAsync() const + template auto consume_Windows_Devices_WiFi_IWiFiAdapter::ScanAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapter)->ScanAsync(&value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFi::WiFiNetworkReport) consume_Windows_Devices_WiFi_IWiFiAdapter::NetworkReport() const + template auto consume_Windows_Devices_WiFi_IWiFiAdapter::NetworkReport() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapter)->get_NetworkReport(&value)); return winrt::Windows::Devices::WiFi::WiFiNetworkReport{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFi_IWiFiAdapter::AvailableNetworksChanged(winrt::Windows::Foundation::TypedEventHandler const& args) const + template auto consume_Windows_Devices_WiFi_IWiFiAdapter::AvailableNetworksChanged(winrt::Windows::Foundation::TypedEventHandler const& args) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapter)->add_AvailableNetworksChanged(*(void**)(&args), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Devices_WiFi_IWiFiAdapter::AvailableNetworksChanged_revoker consume_Windows_Devices_WiFi_IWiFiAdapter::AvailableNetworksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& args) const + template auto consume_Windows_Devices_WiFi_IWiFiAdapter::AvailableNetworksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& args) const { return impl::make_event_revoker(this, AvailableNetworksChanged(args)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFi_IWiFiAdapter::AvailableNetworksChanged(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Devices_WiFi_IWiFiAdapter::AvailableNetworksChanged(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapter)->remove_AvailableNetworksChanged(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_WiFi_IWiFiAdapter::ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind) const + template auto consume_Windows_Devices_WiFi_IWiFiAdapter::ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapter)->ConnectAsync(*(void**)(&availableNetwork), static_cast(reconnectionKind), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_WiFi_IWiFiAdapter::ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const + template auto consume_Windows_Devices_WiFi_IWiFiAdapter::ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapter)->ConnectWithPasswordCredentialAsync(*(void**)(&availableNetwork), static_cast(reconnectionKind), *(void**)(&passwordCredential), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_WiFi_IWiFiAdapter::ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential, param::hstring const& ssid) const + template auto consume_Windows_Devices_WiFi_IWiFiAdapter::ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential, param::hstring const& ssid) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapter)->ConnectWithPasswordCredentialAndSsidAsync(*(void**)(&availableNetwork), static_cast(reconnectionKind), *(void**)(&passwordCredential), *(void**)(&ssid), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFi_IWiFiAdapter::Disconnect() const + template auto consume_Windows_Devices_WiFi_IWiFiAdapter::Disconnect() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapter)->Disconnect()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_WiFi_IWiFiAdapter2::GetWpsConfigurationAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork) const + template auto consume_Windows_Devices_WiFi_IWiFiAdapter2::GetWpsConfigurationAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapter2)->GetWpsConfigurationAsync(*(void**)(&availableNetwork), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_WiFi_IWiFiAdapter2::ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential, param::hstring const& ssid, winrt::Windows::Devices::WiFi::WiFiConnectionMethod const& connectionMethod) const + template auto consume_Windows_Devices_WiFi_IWiFiAdapter2::ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential, param::hstring const& ssid, winrt::Windows::Devices::WiFi::WiFiConnectionMethod const& connectionMethod) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapter2)->ConnectWithPasswordCredentialAndSsidAndConnectionMethodAsync(*(void**)(&availableNetwork), static_cast(reconnectionKind), *(void**)(&passwordCredential), *(void**)(&ssid), static_cast(connectionMethod), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Devices_WiFi_IWiFiAdapterStatics::FindAllAdaptersAsync() const + template auto consume_Windows_Devices_WiFi_IWiFiAdapterStatics::FindAllAdaptersAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapterStatics)->FindAllAdaptersAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFi_IWiFiAdapterStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_WiFi_IWiFiAdapterStatics::GetDeviceSelector() const { void* deviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapterStatics)->GetDeviceSelector(&deviceSelector)); return hstring{ deviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_WiFi_IWiFiAdapterStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_WiFi_IWiFiAdapterStatics::FromIdAsync(param::hstring const& deviceId) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapterStatics)->FromIdAsync(*(void**)(&deviceId), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_WiFi_IWiFiAdapterStatics::RequestAccessAsync() const + template auto consume_Windows_Devices_WiFi_IWiFiAdapterStatics::RequestAccessAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapterStatics)->RequestAccessAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::Uptime() const + template auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::Uptime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_Uptime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::Ssid() const + template auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::Ssid() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_Ssid(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::Bssid() const + template auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::Bssid() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_Bssid(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::ChannelCenterFrequencyInKilohertz() const + template auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::ChannelCenterFrequencyInKilohertz() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_ChannelCenterFrequencyInKilohertz(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::NetworkRssiInDecibelMilliwatts() const + template auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::NetworkRssiInDecibelMilliwatts() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_NetworkRssiInDecibelMilliwatts(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::SignalBars() const + template auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::SignalBars() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_SignalBars(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFi::WiFiNetworkKind) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::NetworkKind() const + template auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::NetworkKind() const { winrt::Windows::Devices::WiFi::WiFiNetworkKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_NetworkKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFi::WiFiPhyKind) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::PhyKind() const + template auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::PhyKind() const { winrt::Windows::Devices::WiFi::WiFiPhyKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_PhyKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkSecuritySettings) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::SecuritySettings() const + template auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::SecuritySettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_SecuritySettings(&value)); return winrt::Windows::Networking::Connectivity::NetworkSecuritySettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::BeaconInterval() const + template auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::BeaconInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_BeaconInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::IsWiFiDirect() const + template auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork::IsWiFiDirect() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_IsWiFiDirect(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFi::WiFiConnectionStatus) consume_Windows_Devices_WiFi_IWiFiConnectionResult::ConnectionStatus() const + template auto consume_Windows_Devices_WiFi_IWiFiConnectionResult::ConnectionStatus() const { winrt::Windows::Devices::WiFi::WiFiConnectionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiConnectionResult)->get_ConnectionStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_WiFi_IWiFiNetworkReport::Timestamp() const + template auto consume_Windows_Devices_WiFi_IWiFiNetworkReport::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiNetworkReport)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_WiFi_IWiFiNetworkReport::AvailableNetworks() const + template auto consume_Windows_Devices_WiFi_IWiFiNetworkReport::AvailableNetworks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiNetworkReport)->get_AvailableNetworks(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFi::WiFiWpsConfigurationStatus) consume_Windows_Devices_WiFi_IWiFiWpsConfigurationResult::Status() const + template auto consume_Windows_Devices_WiFi_IWiFiWpsConfigurationResult::Status() const { winrt::Windows::Devices::WiFi::WiFiWpsConfigurationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiWpsConfigurationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_WiFi_IWiFiWpsConfigurationResult::SupportedWpsKinds() const + template auto consume_Windows_Devices_WiFi_IWiFiWpsConfigurationResult::SupportedWpsKinds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiWpsConfigurationResult)->get_SupportedWpsKinds(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.Services.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.Services.h index eff24de4..d34c2222 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.Services.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.Services.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_WiFiDirect_Services_H #define WINRT_Windows_Devices_WiFiDirect_Services_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.WiFiDirect.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -16,401 +16,401 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.WiFiDirect.Services.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::RemoteServiceInfo() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::RemoteServiceInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->get_RemoteServiceInfo(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::SupportedConfigurationMethods() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::SupportedConfigurationMethods() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->get_SupportedConfigurationMethods(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::PreferGroupOwnerMode() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::PreferGroupOwnerMode() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->get_PreferGroupOwnerMode(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::PreferGroupOwnerMode(bool value) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::PreferGroupOwnerMode(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->put_PreferGroupOwnerMode(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::SessionInfo() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::SessionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->get_SessionInfo(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::SessionInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::SessionInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->put_SessionInfo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceError) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::ServiceError() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::ServiceError() const { winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->get_ServiceError(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::SessionDeferred(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::SessionDeferred(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->add_SessionDeferred(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::SessionDeferred_revoker consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::SessionDeferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::SessionDeferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SessionDeferred(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::SessionDeferred(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::SessionDeferred(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->remove_SessionDeferred(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::GetProvisioningInfoAsync(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod const& selectedConfigurationMethod) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::GetProvisioningInfoAsync(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod const& selectedConfigurationMethod) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->GetProvisioningInfoAsync(static_cast(selectedConfigurationMethod), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::ConnectAsync() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::ConnectAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->ConnectAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::ConnectAsync(param::hstring const& pin) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService::ConnectAsync(param::hstring const& pin) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->ConnectAsyncWithPin(*(void**)(&pin), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ServiceName() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ServiceName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_ServiceName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ServiceNamePrefixes() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ServiceNamePrefixes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_ServiceNamePrefixes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ServiceInfo() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ServiceInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_ServiceInfo(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ServiceInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ServiceInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->put_ServiceInfo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AutoAcceptSession() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AutoAcceptSession() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_AutoAcceptSession(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AutoAcceptSession(bool value) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AutoAcceptSession(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->put_AutoAcceptSession(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::PreferGroupOwnerMode() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::PreferGroupOwnerMode() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_PreferGroupOwnerMode(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::PreferGroupOwnerMode(bool value) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::PreferGroupOwnerMode(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->put_PreferGroupOwnerMode(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::PreferredConfigurationMethods() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::PreferredConfigurationMethods() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_PreferredConfigurationMethods(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceStatus) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ServiceStatus() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ServiceStatus() const { winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_ServiceStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ServiceStatus(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceStatus const& value) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ServiceStatus(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceStatus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->put_ServiceStatus(static_cast(value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::CustomServiceStatusCode() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::CustomServiceStatusCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_CustomServiceStatusCode(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::CustomServiceStatusCode(uint32_t value) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::CustomServiceStatusCode(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->put_CustomServiceStatusCode(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::DeferredSessionInfo() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::DeferredSessionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_DeferredSessionInfo(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::DeferredSessionInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::DeferredSessionInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->put_DeferredSessionInfo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertisementStatus) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AdvertisementStatus() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AdvertisementStatus() const { winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertisementStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_AdvertisementStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceError) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ServiceError() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ServiceError() const { winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_ServiceError(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::SessionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::SessionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->add_SessionRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::SessionRequested_revoker consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::SessionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::SessionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SessionRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::SessionRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::SessionRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->remove_SessionRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AutoAcceptSessionConnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AutoAcceptSessionConnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->add_AutoAcceptSessionConnected(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AutoAcceptSessionConnected_revoker consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AutoAcceptSessionConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AutoAcceptSessionConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AutoAcceptSessionConnected(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AutoAcceptSessionConnected(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AutoAcceptSessionConnected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->remove_AutoAcceptSessionConnected(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AdvertisementStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AdvertisementStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->add_AdvertisementStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AdvertisementStatusChanged_revoker consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AdvertisementStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AdvertisementStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AdvertisementStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AdvertisementStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::AdvertisementStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->remove_AdvertisementStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ConnectAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInfo) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ConnectAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInfo) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->ConnectAsync(*(void**)(&deviceInfo), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ConnectAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInfo, param::hstring const& pin) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::ConnectAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInfo, param::hstring const& pin) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->ConnectAsyncWithPin(*(void**)(&deviceInfo), *(void**)(&pin), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::Start() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::Stop() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiserFactory::CreateWiFiDirectServiceAdvertiser(param::hstring const& serviceName) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiserFactory::CreateWiFiDirectServiceAdvertiser(param::hstring const& serviceName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiserFactory)->CreateWiFiDirectServiceAdvertiser(*(void**)(&serviceName), &result)); return winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs::Session() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs::Session() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs)->get_Session(&value)); return winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs::SessionInfo() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs::SessionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs)->get_SessionInfo(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceProvisioningInfo::SelectedConfigurationMethod() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceProvisioningInfo::SelectedConfigurationMethod() const { winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceProvisioningInfo)->get_SelectedConfigurationMethod(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceProvisioningInfo::IsGroupFormationNeeded() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceProvisioningInfo::IsGroupFormationNeeded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceProvisioningInfo)->get_IsGroupFormationNeeded(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceRemotePortAddedEventArgs::EndpointPairs() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceRemotePortAddedEventArgs::EndpointPairs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceRemotePortAddedEventArgs)->get_EndpointPairs(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceIPProtocol) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceRemotePortAddedEventArgs::Protocol() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceRemotePortAddedEventArgs::Protocol() const { winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceIPProtocol value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceRemotePortAddedEventArgs)->get_Protocol(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::ServiceName() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::ServiceName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->get_ServiceName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionStatus) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::Status() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::Status() const { winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionErrorStatus) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::ErrorStatus() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::ErrorStatus() const { winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionErrorStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->get_ErrorStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::SessionId() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::SessionId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->get_SessionId(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::AdvertisementId() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::AdvertisementId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->get_AdvertisementId(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::ServiceAddress() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::ServiceAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->get_ServiceAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::SessionAddress() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::SessionAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->get_SessionAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::GetConnectionEndpointPairs() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::GetConnectionEndpointPairs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->GetConnectionEndpointPairs(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::SessionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::SessionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->add_SessionStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::SessionStatusChanged_revoker consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SessionStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::SessionStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::SessionStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->remove_SessionStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::AddStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& value) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::AddStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->AddStreamSocketListenerAsync(*(void**)(&value), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::AddDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& value) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::AddDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->AddDatagramSocketAsync(*(void**)(&value), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::RemotePortAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::RemotePortAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->add_RemotePortAdded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::RemotePortAdded_revoker consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::RemotePortAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::RemotePortAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RemotePortAdded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::RemotePortAdded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession::RemotePortAdded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->remove_RemotePortAdded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionDeferredEventArgs::DeferredSessionInfo() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionDeferredEventArgs::DeferredSessionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionDeferredEventArgs)->get_DeferredSessionInfo(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequest::DeviceInformation() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequest::DeviceInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionRequest)->get_DeviceInformation(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceProvisioningInfo) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequest::ProvisioningInfo() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequest::ProvisioningInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionRequest)->get_ProvisioningInfo(&value)); return winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceProvisioningInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequest::SessionInfo() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequest::SessionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionRequest)->get_SessionInfo(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionRequest) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequestedEventArgs::GetSessionRequest() const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequestedEventArgs::GetSessionRequest() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionRequestedEventArgs)->GetSessionRequest(&value)); return winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceStatics::GetSelector(param::hstring const& serviceName) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceStatics::GetSelector(param::hstring const& serviceName) const { void* serviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceStatics)->GetSelector(*(void**)(&serviceName), &serviceSelector)); return hstring{ serviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceStatics::GetSelector(param::hstring const& serviceName, winrt::Windows::Storage::Streams::IBuffer const& serviceInfoFilter) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceStatics::GetSelector(param::hstring const& serviceName, winrt::Windows::Storage::Streams::IBuffer const& serviceInfoFilter) const { void* serviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceStatics)->GetSelectorWithFilter(*(void**)(&serviceName), *(void**)(&serviceInfoFilter), &serviceSelector)); return hstring{ serviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceStatics::FromIdAsync(param::hstring const& deviceId) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceStatics)->FromIdAsync(*(void**)(&deviceId), &asyncOp)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.h index cd43e46f..6ef0f307 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_WiFiDirect_H #define WINRT_Windows_Devices_WiFiDirect_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Devices.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -16,277 +16,277 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.WiFiDirect.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement::InformationElements() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement::InformationElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement)->get_InformationElements(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement::InformationElements(param::vector const& value) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement::InformationElements(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement)->put_InformationElements(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementListenStateDiscoverability) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement::ListenStateDiscoverability() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement::ListenStateDiscoverability() const { winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementListenStateDiscoverability value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement)->get_ListenStateDiscoverability(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement::ListenStateDiscoverability(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementListenStateDiscoverability const& value) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement::ListenStateDiscoverability(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementListenStateDiscoverability const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement)->put_ListenStateDiscoverability(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement::IsAutonomousGroupOwnerEnabled() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement::IsAutonomousGroupOwnerEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement)->get_IsAutonomousGroupOwnerEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement::IsAutonomousGroupOwnerEnabled(bool value) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement::IsAutonomousGroupOwnerEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement)->put_IsAutonomousGroupOwnerEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectLegacySettings) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement::LegacySettings() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement::LegacySettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement)->get_LegacySettings(&value)); return winrt::Windows::Devices::WiFiDirect::WiFiDirectLegacySettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement2::SupportedConfigurationMethods() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement2::SupportedConfigurationMethods() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement2)->get_SupportedConfigurationMethods(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisement) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher::Advertisement() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher::Advertisement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisher)->get_Advertisement(&value)); return winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatus) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher::Status() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher::Status() const { winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisher)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisher)->add_StatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher::StatusChanged_revoker consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher::StatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher::StatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisher)->remove_StatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher::Start() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher::Stop() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisher)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatus) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisherStatusChangedEventArgs::Status() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisherStatusChangedEventArgs::Status() const { winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisherStatusChangedEventArgs)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectError) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisherStatusChangedEventArgs::Error() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisherStatusChangedEventArgs::Error() const { winrt::Windows::Devices::WiFiDirect::WiFiDirectError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisherStatusChangedEventArgs)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener::ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener::ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionListener)->add_ConnectionRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener::ConnectionRequested_revoker consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener::ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener::ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ConnectionRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener::ConnectionRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener::ConnectionRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionListener)->remove_ConnectionRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(int16_t) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters::GroupOwnerIntent() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters::GroupOwnerIntent() const { int16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParameters)->get_GroupOwnerIntent(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters::GroupOwnerIntent(int16_t value) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters::GroupOwnerIntent(int16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParameters)->put_GroupOwnerIntent(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters2::PreferenceOrderedConfigurationMethods() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters2::PreferenceOrderedConfigurationMethods() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParameters2)->get_PreferenceOrderedConfigurationMethods(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectPairingProcedure) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters2::PreferredPairingProcedure() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters2::PreferredPairingProcedure() const { winrt::Windows::Devices::WiFiDirect::WiFiDirectPairingProcedure value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParameters2)->get_PreferredPairingProcedure(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters2::PreferredPairingProcedure(winrt::Windows::Devices::WiFiDirect::WiFiDirectPairingProcedure const& value) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters2::PreferredPairingProcedure(winrt::Windows::Devices::WiFiDirect::WiFiDirectPairingProcedure const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParameters2)->put_PreferredPairingProcedure(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePairingKinds) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParametersStatics::GetDevicePairingKinds(winrt::Windows::Devices::WiFiDirect::WiFiDirectConfigurationMethod const& configurationMethod) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParametersStatics::GetDevicePairingKinds(winrt::Windows::Devices::WiFiDirect::WiFiDirectConfigurationMethod const& configurationMethod) const { winrt::Windows::Devices::Enumeration::DevicePairingKinds result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParametersStatics)->GetDevicePairingKinds(static_cast(configurationMethod), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionRequest::DeviceInformation() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionRequest::DeviceInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionRequest)->get_DeviceInformation(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionRequest) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionRequestedEventArgs::GetConnectionRequest() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionRequestedEventArgs::GetConnectionRequest() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionRequestedEventArgs)->GetConnectionRequest(&result)); return winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionRequest{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionStatus) consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice::ConnectionStatus() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice::ConnectionStatus() const { winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectDevice)->get_ConnectionStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice::DeviceId() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectDevice)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice::ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice::ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectDevice)->add_ConnectionStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice::ConnectionStatusChanged_revoker consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice::ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice::ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ConnectionStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice::ConnectionStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice::ConnectionStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectDevice)->remove_ConnectionStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice::GetConnectionEndpointPairs() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice::GetConnectionEndpointPairs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectDevice)->GetConnectionEndpointPairs(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics::GetDeviceSelector() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics::GetDeviceSelector() const { void* deviceSelector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectDeviceStatics)->GetDeviceSelector(&deviceSelector)); return hstring{ deviceSelector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics::FromIdAsync(param::hstring const& deviceId) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics::FromIdAsync(param::hstring const& deviceId) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectDeviceStatics)->FromIdAsync(*(void**)(&deviceId), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics2::GetDeviceSelector(winrt::Windows::Devices::WiFiDirect::WiFiDirectDeviceSelectorType const& type) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics2::GetDeviceSelector(winrt::Windows::Devices::WiFiDirect::WiFiDirectDeviceSelectorType const& type) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectDeviceStatics2)->GetDeviceSelector(static_cast(type), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics2::FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionParameters const& connectionParameters) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics2::FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionParameters const& connectionParameters) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectDeviceStatics2)->FromIdAsync(*(void**)(&deviceId), *(void**)(&connectionParameters), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement::Oui() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement::Oui() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElement)->get_Oui(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement::Oui(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement::Oui(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElement)->put_Oui(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement::OuiType() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement::OuiType() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElement)->get_OuiType(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement::OuiType(uint8_t value) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement::OuiType(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElement)->put_OuiType(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement::Value() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElement)->get_Value(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement::Value(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement::Value(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElement)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElementStatics::CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElementStatics::CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElementStatics)->CreateFromBuffer(*(void**)(&buffer), &result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElementStatics::CreateFromDeviceInformation(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInformation) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElementStatics::CreateFromDeviceInformation(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInformation) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElementStatics)->CreateFromDeviceInformation(*(void**)(&deviceInformation), &result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings::IsEnabled() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectLegacySettings)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings::IsEnabled(bool value) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectLegacySettings)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings::Ssid() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings::Ssid() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectLegacySettings)->get_Ssid(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings::Ssid(param::hstring const& value) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings::Ssid(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectLegacySettings)->put_Ssid(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings::Passphrase() const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings::Passphrase() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectLegacySettings)->get_Passphrase(&value)); return winrt::Windows::Security::Credentials::PasswordCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings::Passphrase(winrt::Windows::Security::Credentials::PasswordCredential const& value) const + template auto consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings::Passphrase(winrt::Windows::Security::Credentials::PasswordCredential const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectLegacySettings)->put_Passphrase(*(void**)(&value))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.h b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.h index fcf3dcfe..e92d31c4 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Devices.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Devices.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_H #define WINRT_Windows_Devices_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Devices.Adc.Provider.2.h" #include "winrt/impl/Windows.Devices.Gpio.Provider.2.h" #include "winrt/impl/Windows.Devices.I2c.Provider.2.h" @@ -14,49 +14,49 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Devices.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider) consume_Windows_Devices_ILowLevelDevicesAggregateProvider::AdcControllerProvider() const + template auto consume_Windows_Devices_ILowLevelDevicesAggregateProvider::AdcControllerProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::ILowLevelDevicesAggregateProvider)->get_AdcControllerProvider(&value)); return winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider) consume_Windows_Devices_ILowLevelDevicesAggregateProvider::PwmControllerProvider() const + template auto consume_Windows_Devices_ILowLevelDevicesAggregateProvider::PwmControllerProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::ILowLevelDevicesAggregateProvider)->get_PwmControllerProvider(&value)); return winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::IGpioControllerProvider) consume_Windows_Devices_ILowLevelDevicesAggregateProvider::GpioControllerProvider() const + template auto consume_Windows_Devices_ILowLevelDevicesAggregateProvider::GpioControllerProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::ILowLevelDevicesAggregateProvider)->get_GpioControllerProvider(&value)); return winrt::Windows::Devices::Gpio::Provider::IGpioControllerProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::II2cControllerProvider) consume_Windows_Devices_ILowLevelDevicesAggregateProvider::I2cControllerProvider() const + template auto consume_Windows_Devices_ILowLevelDevicesAggregateProvider::I2cControllerProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::ILowLevelDevicesAggregateProvider)->get_I2cControllerProvider(&value)); return winrt::Windows::Devices::I2c::Provider::II2cControllerProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ISpiControllerProvider) consume_Windows_Devices_ILowLevelDevicesAggregateProvider::SpiControllerProvider() const + template auto consume_Windows_Devices_ILowLevelDevicesAggregateProvider::SpiControllerProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::ILowLevelDevicesAggregateProvider)->get_SpiControllerProvider(&value)); return winrt::Windows::Devices::Spi::Provider::ISpiControllerProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::LowLevelDevicesAggregateProvider) consume_Windows_Devices_ILowLevelDevicesAggregateProviderFactory::Create(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider const& adc, winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider const& pwm, winrt::Windows::Devices::Gpio::Provider::IGpioControllerProvider const& gpio, winrt::Windows::Devices::I2c::Provider::II2cControllerProvider const& i2c, winrt::Windows::Devices::Spi::Provider::ISpiControllerProvider const& spi) const + template auto consume_Windows_Devices_ILowLevelDevicesAggregateProviderFactory::Create(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider const& adc, winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider const& pwm, winrt::Windows::Devices::Gpio::Provider::IGpioControllerProvider const& gpio, winrt::Windows::Devices::I2c::Provider::II2cControllerProvider const& i2c, winrt::Windows::Devices::Spi::Provider::ISpiControllerProvider const& spi) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::ILowLevelDevicesAggregateProviderFactory)->Create(*(void**)(&adc), *(void**)(&pwm), *(void**)(&gpio), *(void**)(&i2c), *(void**)(&spi), &value)); return winrt::Windows::Devices::LowLevelDevicesAggregateProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::ILowLevelDevicesAggregateProvider) consume_Windows_Devices_ILowLevelDevicesControllerStatics::DefaultProvider() const + template auto consume_Windows_Devices_ILowLevelDevicesControllerStatics::DefaultProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::ILowLevelDevicesControllerStatics)->get_DefaultProvider(&value)); return winrt::Windows::Devices::ILowLevelDevicesAggregateProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Devices_ILowLevelDevicesControllerStatics::DefaultProvider(winrt::Windows::Devices::ILowLevelDevicesAggregateProvider const& value) const + template auto consume_Windows_Devices_ILowLevelDevicesControllerStatics::DefaultProvider(winrt::Windows::Devices::ILowLevelDevicesAggregateProvider const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::ILowLevelDevicesControllerStatics)->put_DefaultProvider(*(void**)(&value))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Embedded.DeviceLockdown.h b/internal/platform/implementation/windows/generated/winrt/Windows.Embedded.DeviceLockdown.h index 9f1d9beb..0ead3932 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Embedded.DeviceLockdown.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Embedded.DeviceLockdown.h @@ -1,41 +1,41 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Embedded_DeviceLockdown_H #define WINRT_Windows_Embedded_DeviceLockdown_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Embedded.DeviceLockdown.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileInformation::Name() const + template auto consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileInformation::Name() const { void* phProfileName{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Embedded::DeviceLockdown::IDeviceLockdownProfileInformation)->get_Name(&phProfileName)); return hstring{ phProfileName, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics::GetSupportedLockdownProfiles() const + template auto consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics::GetSupportedLockdownProfiles() const { void* ppProfileIDs{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Embedded::DeviceLockdown::IDeviceLockdownProfileStatics)->GetSupportedLockdownProfiles(&ppProfileIDs)); return winrt::Windows::Foundation::Collections::IVectorView{ ppProfileIDs, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics::GetCurrentLockdownProfile() const + template auto consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics::GetCurrentLockdownProfile() const { winrt::guid pProfileID{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Embedded::DeviceLockdown::IDeviceLockdownProfileStatics)->GetCurrentLockdownProfile(put_abi(pProfileID))); return pProfileID; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics::ApplyLockdownProfileAsync(winrt::guid const& profileID) const + template auto consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics::ApplyLockdownProfileAsync(winrt::guid const& profileID) const { void* ppWaitableOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Embedded::DeviceLockdown::IDeviceLockdownProfileStatics)->ApplyLockdownProfileAsync(impl::bind_in(profileID), &ppWaitableOperation)); return winrt::Windows::Foundation::IAsyncAction{ ppWaitableOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Embedded::DeviceLockdown::DeviceLockdownProfileInformation) consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics::GetLockdownProfileInformation(winrt::guid const& profileID) const + template auto consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics::GetLockdownProfileInformation(winrt::guid const& profileID) const { void* ppInformation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Embedded::DeviceLockdown::IDeviceLockdownProfileStatics)->GetLockdownProfileInformation(impl::bind_in(profileID), &ppInformation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Collections.h b/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Collections.h index 4ba15a0c..0656857b 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Collections.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Collections.h @@ -1,249 +1,249 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_Collections_H #define WINRT_Windows_Foundation_Collections_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Foundation.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterator) consume_Windows_Foundation_Collections_IIterable::First() const + template auto consume_Windows_Foundation_Collections_IIterable::First() const { void* winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IIterable)->First(&winrt_impl_result)); return winrt::Windows::Foundation::Collections::IIterator{ winrt_impl_result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(T) consume_Windows_Foundation_Collections_IIterator::Current() const + template auto consume_Windows_Foundation_Collections_IIterator::Current() const { T winrt_impl_result{ empty_value() }; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IIterator)->get_Current(put_abi(winrt_impl_result))); return winrt_impl_result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Collections_IIterator::HasCurrent() const + template auto consume_Windows_Foundation_Collections_IIterator::HasCurrent() const { bool winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IIterator)->get_HasCurrent(&winrt_impl_result)); return winrt_impl_result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Collections_IIterator::MoveNext() const + template auto consume_Windows_Foundation_Collections_IIterator::MoveNext() const { bool winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IIterator)->MoveNext(&winrt_impl_result)); return winrt_impl_result; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_Collections_IIterator::GetMany(array_view items) const + template auto consume_Windows_Foundation_Collections_IIterator::GetMany(array_view items) const { uint32_t winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IIterator)->GetMany(items.size(), put_abi(items), &winrt_impl_result)); return winrt_impl_result; } - template WINRT_IMPL_AUTO(K) consume_Windows_Foundation_Collections_IKeyValuePair::Key() const + template auto consume_Windows_Foundation_Collections_IKeyValuePair::Key() const { K winrt_impl_result{ empty_value() }; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IKeyValuePair)->get_Key(put_abi(winrt_impl_result))); return winrt_impl_result; } - template WINRT_IMPL_AUTO(V) consume_Windows_Foundation_Collections_IKeyValuePair::Value() const + template auto consume_Windows_Foundation_Collections_IKeyValuePair::Value() const { V winrt_impl_result{ empty_value() }; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IKeyValuePair)->get_Value(put_abi(winrt_impl_result))); return winrt_impl_result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::CollectionChange) consume_Windows_Foundation_Collections_IMapChangedEventArgs::CollectionChange() const + template auto consume_Windows_Foundation_Collections_IMapChangedEventArgs::CollectionChange() const { winrt::Windows::Foundation::Collections::CollectionChange winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMapChangedEventArgs)->get_CollectionChange(reinterpret_cast(&winrt_impl_result))); return winrt_impl_result; } - template WINRT_IMPL_AUTO(K) consume_Windows_Foundation_Collections_IMapChangedEventArgs::Key() const + template auto consume_Windows_Foundation_Collections_IMapChangedEventArgs::Key() const { K winrt_impl_result{ empty_value() }; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMapChangedEventArgs)->get_Key(put_abi(winrt_impl_result))); return winrt_impl_result; } - template WINRT_IMPL_AUTO(V) consume_Windows_Foundation_Collections_IMapView::Lookup(impl::param_type const& key) const + template auto consume_Windows_Foundation_Collections_IMapView::Lookup(impl::param_type const& key) const { V winrt_impl_result{ empty_value() }; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMapView)->Lookup(impl::bind_in(key), put_abi(winrt_impl_result))); return winrt_impl_result; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_Collections_IMapView::Size() const + template auto consume_Windows_Foundation_Collections_IMapView::Size() const { uint32_t winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMapView)->get_Size(&winrt_impl_result)); return winrt_impl_result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Collections_IMapView::HasKey(impl::param_type const& key) const + template auto consume_Windows_Foundation_Collections_IMapView::HasKey(impl::param_type const& key) const { bool winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMapView)->HasKey(impl::bind_in(key), &winrt_impl_result)); return winrt_impl_result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IMapView::Split(winrt::Windows::Foundation::Collections::IMapView& first, winrt::Windows::Foundation::Collections::IMapView& second) const + template auto consume_Windows_Foundation_Collections_IMapView::Split(winrt::Windows::Foundation::Collections::IMapView& first, winrt::Windows::Foundation::Collections::IMapView& second) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMapView)->Split(impl::bind_out(first), impl::bind_out(second))); } - template WINRT_IMPL_AUTO(V) consume_Windows_Foundation_Collections_IMap::Lookup(impl::param_type const& key) const + template auto consume_Windows_Foundation_Collections_IMap::Lookup(impl::param_type const& key) const { V winrt_impl_result{ empty_value() }; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMap)->Lookup(impl::bind_in(key), put_abi(winrt_impl_result))); return winrt_impl_result; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_Collections_IMap::Size() const + template auto consume_Windows_Foundation_Collections_IMap::Size() const { uint32_t winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMap)->get_Size(&winrt_impl_result)); return winrt_impl_result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Collections_IMap::HasKey(impl::param_type const& key) const + template auto consume_Windows_Foundation_Collections_IMap::HasKey(impl::param_type const& key) const { bool winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMap)->HasKey(impl::bind_in(key), &winrt_impl_result)); return winrt_impl_result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Foundation_Collections_IMap::GetView() const + template auto consume_Windows_Foundation_Collections_IMap::GetView() const { void* winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMap)->GetView(&winrt_impl_result)); return winrt::Windows::Foundation::Collections::IMapView{ winrt_impl_result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Collections_IMap::Insert(impl::param_type const& key, impl::param_type const& value) const + template auto consume_Windows_Foundation_Collections_IMap::Insert(impl::param_type const& key, impl::param_type const& value) const { bool winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMap)->Insert(impl::bind_in(key), impl::bind_in(value), &winrt_impl_result)); return winrt_impl_result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IMap::Remove(impl::param_type const& key) const + template auto consume_Windows_Foundation_Collections_IMap::Remove(impl::param_type const& key) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMap)->Remove(impl::bind_in(key))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IMap::Clear() const + template auto consume_Windows_Foundation_Collections_IMap::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMap)->Clear()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Foundation_Collections_IObservableMap::MapChanged(winrt::Windows::Foundation::Collections::MapChangedEventHandler const& vhnd) const + template auto consume_Windows_Foundation_Collections_IObservableMap::MapChanged(winrt::Windows::Foundation::Collections::MapChangedEventHandler const& vhnd) const { winrt::event_token winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IObservableMap)->add_MapChanged(*(void**)(&vhnd), put_abi(winrt_impl_result))); return winrt_impl_result; } - template typename consume_Windows_Foundation_Collections_IObservableMap::MapChanged_revoker consume_Windows_Foundation_Collections_IObservableMap::MapChanged(auto_revoke_t, winrt::Windows::Foundation::Collections::MapChangedEventHandler const& vhnd) const + template auto consume_Windows_Foundation_Collections_IObservableMap::MapChanged(auto_revoke_t, winrt::Windows::Foundation::Collections::MapChangedEventHandler const& vhnd) const { return impl::make_event_revoker(this, MapChanged(vhnd)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IObservableMap::MapChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Foundation_Collections_IObservableMap::MapChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IObservableMap)->remove_MapChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Foundation_Collections_IObservableVector::VectorChanged(winrt::Windows::Foundation::Collections::VectorChangedEventHandler const& vhnd) const + template auto consume_Windows_Foundation_Collections_IObservableVector::VectorChanged(winrt::Windows::Foundation::Collections::VectorChangedEventHandler const& vhnd) const { winrt::event_token winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IObservableVector)->add_VectorChanged(*(void**)(&vhnd), put_abi(winrt_impl_result))); return winrt_impl_result; } - template typename consume_Windows_Foundation_Collections_IObservableVector::VectorChanged_revoker consume_Windows_Foundation_Collections_IObservableVector::VectorChanged(auto_revoke_t, winrt::Windows::Foundation::Collections::VectorChangedEventHandler const& vhnd) const + template auto consume_Windows_Foundation_Collections_IObservableVector::VectorChanged(auto_revoke_t, winrt::Windows::Foundation::Collections::VectorChangedEventHandler const& vhnd) const { return impl::make_event_revoker(this, VectorChanged(vhnd)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IObservableVector::VectorChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Foundation_Collections_IObservableVector::VectorChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IObservableVector)->remove_VectorChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::CollectionChange) consume_Windows_Foundation_Collections_IVectorChangedEventArgs::CollectionChange() const + template auto consume_Windows_Foundation_Collections_IVectorChangedEventArgs::CollectionChange() const { winrt::Windows::Foundation::Collections::CollectionChange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVectorChangedEventArgs)->get_CollectionChange(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_Collections_IVectorChangedEventArgs::Index() const + template auto consume_Windows_Foundation_Collections_IVectorChangedEventArgs::Index() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVectorChangedEventArgs)->get_Index(&value)); return value; } - template WINRT_IMPL_AUTO(T) consume_Windows_Foundation_Collections_IVectorView::GetAt(uint32_t index) const + template auto consume_Windows_Foundation_Collections_IVectorView::GetAt(uint32_t index) const { T winrt_impl_result{ empty_value() }; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVectorView)->GetAt(index, put_abi(winrt_impl_result))); return winrt_impl_result; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_Collections_IVectorView::Size() const + template auto consume_Windows_Foundation_Collections_IVectorView::Size() const { uint32_t winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVectorView)->get_Size(&winrt_impl_result)); return winrt_impl_result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Collections_IVectorView::IndexOf(impl::param_type const& value, uint32_t& index) const + template auto consume_Windows_Foundation_Collections_IVectorView::IndexOf(impl::param_type const& value, uint32_t& index) const { bool winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVectorView)->IndexOf(impl::bind_in(value), &index, &winrt_impl_result)); return winrt_impl_result; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_Collections_IVectorView::GetMany(uint32_t startIndex, array_view items) const + template auto consume_Windows_Foundation_Collections_IVectorView::GetMany(uint32_t startIndex, array_view items) const { uint32_t winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVectorView)->GetMany(startIndex, items.size(), put_abi(items), &winrt_impl_result)); return winrt_impl_result; } - template WINRT_IMPL_AUTO(T) consume_Windows_Foundation_Collections_IVector::GetAt(uint32_t index) const + template auto consume_Windows_Foundation_Collections_IVector::GetAt(uint32_t index) const { T winrt_impl_result{ empty_value() }; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector)->GetAt(index, put_abi(winrt_impl_result))); return winrt_impl_result; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_Collections_IVector::Size() const + template auto consume_Windows_Foundation_Collections_IVector::Size() const { uint32_t winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector)->get_Size(&winrt_impl_result)); return winrt_impl_result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Foundation_Collections_IVector::GetView() const + template auto consume_Windows_Foundation_Collections_IVector::GetView() const { void* winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector)->GetView(&winrt_impl_result)); return winrt::Windows::Foundation::Collections::IVectorView{ winrt_impl_result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Collections_IVector::IndexOf(impl::param_type const& value, uint32_t& index) const + template auto consume_Windows_Foundation_Collections_IVector::IndexOf(impl::param_type const& value, uint32_t& index) const { bool winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector)->IndexOf(impl::bind_in(value), &index, &winrt_impl_result)); return winrt_impl_result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IVector::SetAt(uint32_t index, impl::param_type const& value) const + template auto consume_Windows_Foundation_Collections_IVector::SetAt(uint32_t index, impl::param_type const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector)->SetAt(index, impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IVector::InsertAt(uint32_t index, impl::param_type const& value) const + template auto consume_Windows_Foundation_Collections_IVector::InsertAt(uint32_t index, impl::param_type const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector)->InsertAt(index, impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IVector::RemoveAt(uint32_t index) const + template auto consume_Windows_Foundation_Collections_IVector::RemoveAt(uint32_t index) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector)->RemoveAt(index)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IVector::Append(impl::param_type const& value) const + template auto consume_Windows_Foundation_Collections_IVector::Append(impl::param_type const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector)->Append(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IVector::RemoveAtEnd() const + template auto consume_Windows_Foundation_Collections_IVector::RemoveAtEnd() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector)->RemoveAtEnd()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IVector::Clear() const + template auto consume_Windows_Foundation_Collections_IVector::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector)->Clear()); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_Collections_IVector::GetMany(uint32_t startIndex, array_view items) const + template auto consume_Windows_Foundation_Collections_IVector::GetMany(uint32_t startIndex, array_view items) const { uint32_t winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector)->GetMany(startIndex, items.size(), put_abi(items), &winrt_impl_result)); return winrt_impl_result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IVector::ReplaceAll(array_view items) const + template auto consume_Windows_Foundation_Collections_IVector::ReplaceAll(array_view items) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector)->ReplaceAll(items.size(), get_abi(items))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Diagnostics.h b/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Diagnostics.h index 5c783969..76f19f27 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Diagnostics.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Diagnostics.h @@ -1,886 +1,886 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_Diagnostics_H #define WINRT_Windows_Foundation_Diagnostics_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Foundation.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Storage.2.h" #include "winrt/impl/Windows.Foundation.Diagnostics.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TraceOperationCreation(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, param::hstring const& operationName, uint64_t relatedContext) const + template auto consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TraceOperationCreation(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, param::hstring const& operationName, uint64_t relatedContext) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics)->TraceOperationCreation(static_cast(traceLevel), static_cast(source), impl::bind_in(platformId), operationId, *(void**)(&operationName), relatedContext)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TraceOperationCompletion(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::AsyncStatus const& status) const + template auto consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TraceOperationCompletion(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::AsyncStatus const& status) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics)->TraceOperationCompletion(static_cast(traceLevel), static_cast(source), impl::bind_in(platformId), operationId, static_cast(status))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TraceOperationRelation(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::Diagnostics::CausalityRelation const& relation) const + template auto consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TraceOperationRelation(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::Diagnostics::CausalityRelation const& relation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics)->TraceOperationRelation(static_cast(traceLevel), static_cast(source), impl::bind_in(platformId), operationId, static_cast(relation))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TraceSynchronousWorkStart(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork const& work) const + template auto consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TraceSynchronousWorkStart(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork const& work) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics)->TraceSynchronousWorkStart(static_cast(traceLevel), static_cast(source), impl::bind_in(platformId), operationId, static_cast(work))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TraceSynchronousWorkCompletion(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork const& work) const + template auto consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TraceSynchronousWorkCompletion(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork const& work) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics)->TraceSynchronousWorkCompletion(static_cast(traceLevel), static_cast(source), static_cast(work))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TracingStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TracingStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics)->add_TracingStatusChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TracingStatusChanged_revoker consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, TracingStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TracingStatusChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics::TracingStatusChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics)->remove_TracingStatusChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_Diagnostics_IErrorDetails::Description() const + template auto consume_Windows_Foundation_Diagnostics_IErrorDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IErrorDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_Diagnostics_IErrorDetails::LongDescription() const + template auto consume_Windows_Foundation_Diagnostics_IErrorDetails::LongDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IErrorDetails)->get_LongDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Foundation_Diagnostics_IErrorDetails::HelpUri() const + template auto consume_Windows_Foundation_Diagnostics_IErrorDetails::HelpUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IErrorDetails)->get_HelpUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Foundation_Diagnostics_IErrorDetailsStatics::CreateFromHResultAsync(int32_t errorCode) const + template auto consume_Windows_Foundation_Diagnostics_IErrorDetailsStatics::CreateFromHResultAsync(int32_t errorCode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IErrorDetailsStatics)->CreateFromHResultAsync(errorCode, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IErrorReportingSettings::SetErrorOptions(winrt::Windows::Foundation::Diagnostics::ErrorOptions const& value) const + template auto consume_Windows_Foundation_Diagnostics_IErrorReportingSettings::SetErrorOptions(winrt::Windows::Foundation::Diagnostics::ErrorOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IErrorReportingSettings)->SetErrorOptions(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::ErrorOptions) consume_Windows_Foundation_Diagnostics_IErrorReportingSettings::GetErrorOptions() const + template auto consume_Windows_Foundation_Diagnostics_IErrorReportingSettings::GetErrorOptions() const { winrt::Windows::Foundation::Diagnostics::ErrorOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IErrorReportingSettings)->GetErrorOptions(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_Diagnostics_IFileLoggingSession::Name() const + template auto consume_Windows_Foundation_Diagnostics_IFileLoggingSession::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IFileLoggingSession)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IFileLoggingSession::AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const + template auto consume_Windows_Foundation_Diagnostics_IFileLoggingSession::AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IFileLoggingSession)->AddLoggingChannel(*(void**)(&loggingChannel))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IFileLoggingSession::AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& maxLevel) const + template auto consume_Windows_Foundation_Diagnostics_IFileLoggingSession::AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& maxLevel) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IFileLoggingSession)->AddLoggingChannelWithLevel(*(void**)(&loggingChannel), static_cast(maxLevel))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IFileLoggingSession::RemoveLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const + template auto consume_Windows_Foundation_Diagnostics_IFileLoggingSession::RemoveLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IFileLoggingSession)->RemoveLoggingChannel(*(void**)(&loggingChannel))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Foundation_Diagnostics_IFileLoggingSession::CloseAndSaveToFileAsync() const + template auto consume_Windows_Foundation_Diagnostics_IFileLoggingSession::CloseAndSaveToFileAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IFileLoggingSession)->CloseAndSaveToFileAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Foundation_Diagnostics_IFileLoggingSession::LogFileGenerated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Foundation_Diagnostics_IFileLoggingSession::LogFileGenerated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IFileLoggingSession)->add_LogFileGenerated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Foundation_Diagnostics_IFileLoggingSession::LogFileGenerated_revoker consume_Windows_Foundation_Diagnostics_IFileLoggingSession::LogFileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Foundation_Diagnostics_IFileLoggingSession::LogFileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LogFileGenerated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IFileLoggingSession::LogFileGenerated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Foundation_Diagnostics_IFileLoggingSession::LogFileGenerated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IFileLoggingSession)->remove_LogFileGenerated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::FileLoggingSession) consume_Windows_Foundation_Diagnostics_IFileLoggingSessionFactory::Create(param::hstring const& name) const + template auto consume_Windows_Foundation_Diagnostics_IFileLoggingSessionFactory::Create(param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IFileLoggingSessionFactory)->Create(*(void**)(&name), &result)); return winrt::Windows::Foundation::Diagnostics::FileLoggingSession{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Foundation_Diagnostics_ILogFileGeneratedEventArgs::File() const + template auto consume_Windows_Foundation_Diagnostics_ILogFileGeneratedEventArgs::File() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILogFileGeneratedEventArgs)->get_File(&value)); return winrt::Windows::Storage::StorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_Diagnostics_ILoggingActivity::Name() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingActivity::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingActivity)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Foundation_Diagnostics_ILoggingActivity::Id() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingActivity::Id() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingActivity)->get_Id(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannel) consume_Windows_Foundation_Diagnostics_ILoggingActivity2::Channel() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingActivity2::Channel() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingActivity2)->get_Channel(&value)); return winrt::Windows::Foundation::Diagnostics::LoggingChannel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingActivity2::StopActivity(param::hstring const& stopEventName) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingActivity2::StopActivity(param::hstring const& stopEventName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingActivity2)->StopActivity(*(void**)(&stopEventName))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingActivity2::StopActivity(param::hstring const& stopEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingActivity2::StopActivity(param::hstring const& stopEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingActivity2)->StopActivityWithFields(*(void**)(&stopEventName), *(void**)(&fields))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingActivity2::StopActivity(param::hstring const& stopEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingActivity2::StopActivity(param::hstring const& stopEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingActivity2)->StopActivityWithFieldsAndOptions(*(void**)(&stopEventName), *(void**)(&fields), *(void**)(&options))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) consume_Windows_Foundation_Diagnostics_ILoggingActivityFactory::CreateLoggingActivity(param::hstring const& activityName, winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingActivityFactory::CreateLoggingActivity(param::hstring const& activityName, winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const { void* loggingActivity{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingActivityFactory)->CreateLoggingActivity(*(void**)(&activityName), *(void**)(&loggingChannel), &loggingActivity)); return winrt::Windows::Foundation::Diagnostics::LoggingActivity{ loggingActivity, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) consume_Windows_Foundation_Diagnostics_ILoggingActivityFactory::CreateLoggingActivityWithLevel(param::hstring const& activityName, winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingActivityFactory::CreateLoggingActivityWithLevel(param::hstring const& activityName, winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const { void* loggingActivity{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingActivityFactory)->CreateLoggingActivityWithLevel(*(void**)(&activityName), *(void**)(&loggingChannel), static_cast(level), &loggingActivity)); return winrt::Windows::Foundation::Diagnostics::LoggingActivity{ loggingActivity, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_Diagnostics_ILoggingChannel::Name() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannel::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannel)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Diagnostics_ILoggingChannel::Enabled() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannel::Enabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannel)->get_Enabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingLevel) consume_Windows_Foundation_Diagnostics_ILoggingChannel::Level() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannel::Level() const { winrt::Windows::Foundation::Diagnostics::LoggingLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannel)->get_Level(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingChannel::LogMessage(param::hstring const& eventString) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannel::LogMessage(param::hstring const& eventString) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannel)->LogMessage(*(void**)(&eventString))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingChannel::LogMessage(param::hstring const& eventString, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannel::LogMessage(param::hstring const& eventString, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannel)->LogMessageWithLevel(*(void**)(&eventString), static_cast(level))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingChannel::LogValuePair(param::hstring const& value1, int32_t value2) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannel::LogValuePair(param::hstring const& value1, int32_t value2) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannel)->LogValuePair(*(void**)(&value1), value2)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingChannel::LogValuePair(param::hstring const& value1, int32_t value2, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannel::LogValuePair(param::hstring const& value1, int32_t value2, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannel)->LogValuePairWithLevel(*(void**)(&value1), value2, static_cast(level))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Foundation_Diagnostics_ILoggingChannel::LoggingEnabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannel::LoggingEnabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannel)->add_LoggingEnabled(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Foundation_Diagnostics_ILoggingChannel::LoggingEnabled_revoker consume_Windows_Foundation_Diagnostics_ILoggingChannel::LoggingEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannel::LoggingEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LoggingEnabled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingChannel::LoggingEnabled(winrt::event_token const& token) const noexcept + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannel::LoggingEnabled(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannel)->remove_LoggingEnabled(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Foundation_Diagnostics_ILoggingChannel2::Id() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannel2::Id() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannel2)->get_Id(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannel) consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory::Create(param::hstring const& name) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory::Create(param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannelFactory)->Create(*(void**)(&name), &result)); return winrt::Windows::Foundation::Diagnostics::LoggingChannel{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannel) consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory2::CreateWithOptions(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions const& options) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory2::CreateWithOptions(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannelFactory2)->CreateWithOptions(*(void**)(&name), *(void**)(&options), &result)); return winrt::Windows::Foundation::Diagnostics::LoggingChannel{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannel) consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory2::CreateWithOptionsAndId(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions const& options, winrt::guid const& id) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory2::CreateWithOptionsAndId(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions const& options, winrt::guid const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannelFactory2)->CreateWithOptionsAndId(*(void**)(&name), *(void**)(&options), impl::bind_in(id), &result)); return winrt::Windows::Foundation::Diagnostics::LoggingChannel{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Foundation_Diagnostics_ILoggingChannelOptions::Group() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannelOptions::Group() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptions)->get_Group(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingChannelOptions::Group(winrt::guid const& value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannelOptions::Group(winrt::guid const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptions)->put_Group(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions) consume_Windows_Foundation_Diagnostics_ILoggingChannelOptionsFactory::Create(winrt::guid const& group) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingChannelOptionsFactory::Create(winrt::guid const& group) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptionsFactory)->Create(impl::bind_in(group), &result)); return winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::Clear() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->Clear()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::BeginStruct(param::hstring const& name) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::BeginStruct(param::hstring const& name) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->BeginStruct(*(void**)(&name))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::BeginStruct(param::hstring const& name, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::BeginStruct(param::hstring const& name, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->BeginStructWithTags(*(void**)(&name), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::EndStruct() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::EndStruct() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->EndStruct()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddEmpty(param::hstring const& name) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddEmpty(param::hstring const& name) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddEmpty(*(void**)(&name))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddEmpty(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddEmpty(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddEmptyWithFormat(*(void**)(&name), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddEmpty(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddEmpty(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddEmptyWithFormatAndTags(*(void**)(&name), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt8(param::hstring const& name, uint8_t value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt8(param::hstring const& name, uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt8(*(void**)(&name), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt8(param::hstring const& name, uint8_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt8(param::hstring const& name, uint8_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt8WithFormat(*(void**)(&name), value, static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt8(param::hstring const& name, uint8_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt8(param::hstring const& name, uint8_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt8WithFormatAndTags(*(void**)(&name), value, static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt8Array(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt8Array(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt8Array(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt8Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt8Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt8ArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt8Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt8Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt8ArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt16(param::hstring const& name, int16_t value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt16(param::hstring const& name, int16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt16(*(void**)(&name), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt16(param::hstring const& name, int16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt16(param::hstring const& name, int16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt16WithFormat(*(void**)(&name), value, static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt16(param::hstring const& name, int16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt16(param::hstring const& name, int16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt16WithFormatAndTags(*(void**)(&name), value, static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt16Array(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt16Array(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt16Array(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt16ArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt16ArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt16(param::hstring const& name, uint16_t value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt16(param::hstring const& name, uint16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt16(*(void**)(&name), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt16(param::hstring const& name, uint16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt16(param::hstring const& name, uint16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt16WithFormat(*(void**)(&name), value, static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt16(param::hstring const& name, uint16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt16(param::hstring const& name, uint16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt16WithFormatAndTags(*(void**)(&name), value, static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt16Array(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt16Array(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt16Array(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt16ArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt16ArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt32(param::hstring const& name, int32_t value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt32(param::hstring const& name, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt32(*(void**)(&name), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt32(param::hstring const& name, int32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt32(param::hstring const& name, int32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt32WithFormat(*(void**)(&name), value, static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt32(param::hstring const& name, int32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt32(param::hstring const& name, int32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt32WithFormatAndTags(*(void**)(&name), value, static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt32Array(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt32Array(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt32Array(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt32ArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt32ArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt32(param::hstring const& name, uint32_t value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt32(param::hstring const& name, uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt32(*(void**)(&name), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt32(param::hstring const& name, uint32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt32(param::hstring const& name, uint32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt32WithFormat(*(void**)(&name), value, static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt32(param::hstring const& name, uint32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt32(param::hstring const& name, uint32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt32WithFormatAndTags(*(void**)(&name), value, static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt32Array(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt32Array(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt32Array(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt32ArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt32ArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt64(param::hstring const& name, int64_t value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt64(param::hstring const& name, int64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt64(*(void**)(&name), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt64(param::hstring const& name, int64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt64(param::hstring const& name, int64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt64WithFormat(*(void**)(&name), value, static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt64(param::hstring const& name, int64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt64(param::hstring const& name, int64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt64WithFormatAndTags(*(void**)(&name), value, static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt64Array(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt64Array(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt64Array(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt64ArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt64ArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt64(param::hstring const& name, uint64_t value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt64(param::hstring const& name, uint64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt64(*(void**)(&name), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt64(param::hstring const& name, uint64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt64(param::hstring const& name, uint64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt64WithFormat(*(void**)(&name), value, static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt64(param::hstring const& name, uint64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt64(param::hstring const& name, uint64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt64WithFormatAndTags(*(void**)(&name), value, static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt64Array(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt64Array(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt64Array(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt64ArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddUInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt64ArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSingle(param::hstring const& name, float value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSingle(param::hstring const& name, float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddSingle(*(void**)(&name), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSingle(param::hstring const& name, float value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSingle(param::hstring const& name, float value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddSingleWithFormat(*(void**)(&name), value, static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSingle(param::hstring const& name, float value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSingle(param::hstring const& name, float value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddSingleWithFormatAndTags(*(void**)(&name), value, static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSingleArray(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSingleArray(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddSingleArray(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSingleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSingleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddSingleArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSingleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSingleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddSingleArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDouble(param::hstring const& name, double value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDouble(param::hstring const& name, double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddDouble(*(void**)(&name), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDouble(param::hstring const& name, double value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDouble(param::hstring const& name, double value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddDoubleWithFormat(*(void**)(&name), value, static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDouble(param::hstring const& name, double value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDouble(param::hstring const& name, double value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddDoubleWithFormatAndTags(*(void**)(&name), value, static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDoubleArray(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDoubleArray(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddDoubleArray(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDoubleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDoubleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddDoubleArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDoubleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDoubleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddDoubleArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddChar16(param::hstring const& name, char16_t value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddChar16(param::hstring const& name, char16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddChar16(*(void**)(&name), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddChar16(param::hstring const& name, char16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddChar16(param::hstring const& name, char16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddChar16WithFormat(*(void**)(&name), value, static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddChar16(param::hstring const& name, char16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddChar16(param::hstring const& name, char16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddChar16WithFormatAndTags(*(void**)(&name), value, static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddChar16Array(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddChar16Array(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddChar16Array(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddChar16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddChar16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddChar16ArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddChar16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddChar16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddChar16ArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddBoolean(param::hstring const& name, bool value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddBoolean(param::hstring const& name, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddBoolean(*(void**)(&name), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddBoolean(param::hstring const& name, bool value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddBoolean(param::hstring const& name, bool value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddBooleanWithFormat(*(void**)(&name), value, static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddBoolean(param::hstring const& name, bool value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddBoolean(param::hstring const& name, bool value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddBooleanWithFormatAndTags(*(void**)(&name), value, static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddBooleanArray(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddBooleanArray(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddBooleanArray(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddBooleanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddBooleanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddBooleanArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddBooleanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddBooleanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddBooleanArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddString(param::hstring const& name, param::hstring const& value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddString(param::hstring const& name, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddString(*(void**)(&name), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddString(param::hstring const& name, param::hstring const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddString(param::hstring const& name, param::hstring const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddStringWithFormat(*(void**)(&name), *(void**)(&value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddString(param::hstring const& name, param::hstring const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddString(param::hstring const& name, param::hstring const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddStringWithFormatAndTags(*(void**)(&name), *(void**)(&value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddStringArray(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddStringArray(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddStringArray(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddStringArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddStringArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddStringArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddStringArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddStringArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddStringArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddGuid(param::hstring const& name, winrt::guid const& value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddGuid(param::hstring const& name, winrt::guid const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddGuid(*(void**)(&name), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddGuid(param::hstring const& name, winrt::guid const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddGuid(param::hstring const& name, winrt::guid const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddGuidWithFormat(*(void**)(&name), impl::bind_in(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddGuid(param::hstring const& name, winrt::guid const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddGuid(param::hstring const& name, winrt::guid const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddGuidWithFormatAndTags(*(void**)(&name), impl::bind_in(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddGuidArray(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddGuidArray(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddGuidArray(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddGuidArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddGuidArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddGuidArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddGuidArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddGuidArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddGuidArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddDateTime(*(void**)(&name), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddDateTimeWithFormat(*(void**)(&name), impl::bind_in(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddDateTimeWithFormatAndTags(*(void**)(&name), impl::bind_in(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDateTimeArray(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDateTimeArray(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddDateTimeArray(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDateTimeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDateTimeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddDateTimeArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDateTimeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddDateTimeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddDateTimeArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddTimeSpan(*(void**)(&name), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddTimeSpanWithFormat(*(void**)(&name), impl::bind_in(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddTimeSpanWithFormatAndTags(*(void**)(&name), impl::bind_in(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddTimeSpanArray(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddTimeSpanArray(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddTimeSpanArray(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddTimeSpanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddTimeSpanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddTimeSpanArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddTimeSpanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddTimeSpanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddTimeSpanArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddPoint(*(void**)(&name), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddPointWithFormat(*(void**)(&name), impl::bind_in(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddPointWithFormatAndTags(*(void**)(&name), impl::bind_in(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddPointArray(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddPointArray(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddPointArray(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddPointArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddPointArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddPointArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddPointArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddPointArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddPointArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddSize(*(void**)(&name), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddSizeWithFormat(*(void**)(&name), impl::bind_in(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddSizeWithFormatAndTags(*(void**)(&name), impl::bind_in(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSizeArray(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSizeArray(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddSizeArray(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSizeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSizeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddSizeArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSizeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddSizeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddSizeArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddRect(*(void**)(&name), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddRectWithFormat(*(void**)(&name), impl::bind_in(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddRectWithFormatAndTags(*(void**)(&name), impl::bind_in(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddRectArray(param::hstring const& name, array_view value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddRectArray(param::hstring const& name, array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddRectArray(*(void**)(&name), value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddRectArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddRectArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddRectArrayWithFormat(*(void**)(&name), value.size(), get_abi(value), static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields::AddRectArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingFields::AddRectArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddRectArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast(format), tags)); } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_Foundation_Diagnostics_ILoggingOptions::Keywords() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingOptions::Keywords() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->get_Keywords(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingOptions::Keywords(int64_t value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingOptions::Keywords(int64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->put_Keywords(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Foundation_Diagnostics_ILoggingOptions::Tags() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingOptions::Tags() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->get_Tags(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingOptions::Tags(int32_t value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingOptions::Tags(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->put_Tags(value)); } - template WINRT_IMPL_AUTO(int16_t) consume_Windows_Foundation_Diagnostics_ILoggingOptions::Task() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingOptions::Task() const { int16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->get_Task(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingOptions::Task(int16_t value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingOptions::Task(int16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->put_Task(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingOpcode) consume_Windows_Foundation_Diagnostics_ILoggingOptions::Opcode() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingOptions::Opcode() const { winrt::Windows::Foundation::Diagnostics::LoggingOpcode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->get_Opcode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingOptions::Opcode(winrt::Windows::Foundation::Diagnostics::LoggingOpcode const& value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingOptions::Opcode(winrt::Windows::Foundation::Diagnostics::LoggingOpcode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->put_Opcode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Foundation_Diagnostics_ILoggingOptions::ActivityId() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingOptions::ActivityId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->get_ActivityId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingOptions::ActivityId(winrt::guid const& value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingOptions::ActivityId(winrt::guid const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->put_ActivityId(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Foundation_Diagnostics_ILoggingOptions::RelatedActivityId() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingOptions::RelatedActivityId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->get_RelatedActivityId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingOptions::RelatedActivityId(winrt::guid const& value) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingOptions::RelatedActivityId(winrt::guid const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->put_RelatedActivityId(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingOptions) consume_Windows_Foundation_Diagnostics_ILoggingOptionsFactory::CreateWithKeywords(int64_t keywords) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingOptionsFactory::CreateWithKeywords(int64_t keywords) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptionsFactory)->CreateWithKeywords(keywords, &result)); return winrt::Windows::Foundation::Diagnostics::LoggingOptions{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_Diagnostics_ILoggingSession::Name() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingSession::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingSession)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Foundation_Diagnostics_ILoggingSession::SaveToFileAsync(winrt::Windows::Storage::IStorageFolder const& folder, param::hstring const& fileName) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingSession::SaveToFileAsync(winrt::Windows::Storage::IStorageFolder const& folder, param::hstring const& fileName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingSession)->SaveToFileAsync(*(void**)(&folder), *(void**)(&fileName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingSession::AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingSession::AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingSession)->AddLoggingChannel(*(void**)(&loggingChannel))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingSession::AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& maxLevel) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingSession::AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& maxLevel) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingSession)->AddLoggingChannelWithLevel(*(void**)(&loggingChannel), static_cast(maxLevel))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingSession::RemoveLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingSession::RemoveLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingSession)->RemoveLoggingChannel(*(void**)(&loggingChannel))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingSession) consume_Windows_Foundation_Diagnostics_ILoggingSessionFactory::Create(param::hstring const& name) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingSessionFactory::Create(param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingSessionFactory)->Create(*(void**)(&name), &result)); return winrt::Windows::Foundation::Diagnostics::LoggingSession{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Diagnostics_ILoggingTarget::IsEnabled() const + template auto consume_Windows_Foundation_Diagnostics_ILoggingTarget::IsEnabled() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingTarget)->IsEnabled(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Diagnostics_ILoggingTarget::IsEnabled(winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingTarget::IsEnabled(winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingTarget)->IsEnabledWithLevel(static_cast(level), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Diagnostics_ILoggingTarget::IsEnabled(winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, int64_t keywords) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingTarget::IsEnabled(winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, int64_t keywords) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingTarget)->IsEnabledWithLevelAndKeywords(static_cast(level), keywords, &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingTarget::LogEvent(param::hstring const& eventName) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingTarget::LogEvent(param::hstring const& eventName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingTarget)->LogEvent(*(void**)(&eventName))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingTarget::LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingTarget::LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingTarget)->LogEventWithFields(*(void**)(&eventName), *(void**)(&fields))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingTarget::LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingTarget::LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingTarget)->LogEventWithFieldsAndLevel(*(void**)(&eventName), *(void**)(&fields), static_cast(level))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingTarget::LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingTarget::LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingTarget)->LogEventWithFieldsAndOptions(*(void**)(&eventName), *(void**)(&fields), static_cast(level), *(void**)(&options))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) consume_Windows_Foundation_Diagnostics_ILoggingTarget::StartActivity(param::hstring const& startEventName) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingTarget::StartActivity(param::hstring const& startEventName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingTarget)->StartActivity(*(void**)(&startEventName), &result)); return winrt::Windows::Foundation::Diagnostics::LoggingActivity{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) consume_Windows_Foundation_Diagnostics_ILoggingTarget::StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingTarget::StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingTarget)->StartActivityWithFields(*(void**)(&startEventName), *(void**)(&fields), &result)); return winrt::Windows::Foundation::Diagnostics::LoggingActivity{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) consume_Windows_Foundation_Diagnostics_ILoggingTarget::StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingTarget::StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingTarget)->StartActivityWithFieldsAndLevel(*(void**)(&startEventName), *(void**)(&fields), static_cast(level), &result)); return winrt::Windows::Foundation::Diagnostics::LoggingActivity{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) consume_Windows_Foundation_Diagnostics_ILoggingTarget::StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const + template auto consume_Windows_Foundation_Diagnostics_ILoggingTarget::StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingTarget)->StartActivityWithFieldsAndOptions(*(void**)(&startEventName), *(void**)(&fields), static_cast(level), *(void**)(&options), &result)); return winrt::Windows::Foundation::Diagnostics::LoggingActivity{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Diagnostics_ITracingStatusChangedEventArgs::Enabled() const + template auto consume_Windows_Foundation_Diagnostics_ITracingStatusChangedEventArgs::Enabled() const { bool enabled{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ITracingStatusChangedEventArgs)->get_Enabled(&enabled)); return enabled; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel) consume_Windows_Foundation_Diagnostics_ITracingStatusChangedEventArgs::TraceLevel() const + template auto consume_Windows_Foundation_Diagnostics_ITracingStatusChangedEventArgs::TraceLevel() const { winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ITracingStatusChangedEventArgs)->get_TraceLevel(reinterpret_cast(&value))); @@ -2448,10 +2448,10 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Diagnostics { return impl::call_factory([&](IAsyncCausalityTracerStatics const& f) { return f.TracingStatusChanged(handler); }); } - inline AsyncCausalityTracer::TracingStatusChanged_revoker AsyncCausalityTracer::TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto AsyncCausalityTracer::TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.TracingStatusChanged(handler) }; + return AsyncCausalityTracer::TracingStatusChanged_revoker{ f, f.TracingStatusChanged(handler) }; } inline auto AsyncCausalityTracer::TracingStatusChanged(winrt::event_token const& cookie) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Metadata.h b/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Metadata.h index d608d6f6..1bf47d5e 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Metadata.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Metadata.h @@ -1,70 +1,70 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_Metadata_H #define WINRT_Windows_Foundation_Metadata_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Foundation.h" #include "winrt/impl/Windows.Foundation.Metadata.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics::IsTypePresent(param::hstring const& typeName) const + template auto consume_Windows_Foundation_Metadata_IApiInformationStatics::IsTypePresent(param::hstring const& typeName) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Metadata::IApiInformationStatics)->IsTypePresent(*(void**)(&typeName), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics::IsMethodPresent(param::hstring const& typeName, param::hstring const& methodName) const + template auto consume_Windows_Foundation_Metadata_IApiInformationStatics::IsMethodPresent(param::hstring const& typeName, param::hstring const& methodName) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Metadata::IApiInformationStatics)->IsMethodPresent(*(void**)(&typeName), *(void**)(&methodName), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics::IsMethodPresent(param::hstring const& typeName, param::hstring const& methodName, uint32_t inputParameterCount) const + template auto consume_Windows_Foundation_Metadata_IApiInformationStatics::IsMethodPresent(param::hstring const& typeName, param::hstring const& methodName, uint32_t inputParameterCount) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Metadata::IApiInformationStatics)->IsMethodPresentWithArity(*(void**)(&typeName), *(void**)(&methodName), inputParameterCount, &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics::IsEventPresent(param::hstring const& typeName, param::hstring const& eventName) const + template auto consume_Windows_Foundation_Metadata_IApiInformationStatics::IsEventPresent(param::hstring const& typeName, param::hstring const& eventName) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Metadata::IApiInformationStatics)->IsEventPresent(*(void**)(&typeName), *(void**)(&eventName), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics::IsPropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const + template auto consume_Windows_Foundation_Metadata_IApiInformationStatics::IsPropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Metadata::IApiInformationStatics)->IsPropertyPresent(*(void**)(&typeName), *(void**)(&propertyName), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics::IsReadOnlyPropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const + template auto consume_Windows_Foundation_Metadata_IApiInformationStatics::IsReadOnlyPropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Metadata::IApiInformationStatics)->IsReadOnlyPropertyPresent(*(void**)(&typeName), *(void**)(&propertyName), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics::IsWriteablePropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const + template auto consume_Windows_Foundation_Metadata_IApiInformationStatics::IsWriteablePropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Metadata::IApiInformationStatics)->IsWriteablePropertyPresent(*(void**)(&typeName), *(void**)(&propertyName), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics::IsEnumNamedValuePresent(param::hstring const& enumTypeName, param::hstring const& valueName) const + template auto consume_Windows_Foundation_Metadata_IApiInformationStatics::IsEnumNamedValuePresent(param::hstring const& enumTypeName, param::hstring const& valueName) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Metadata::IApiInformationStatics)->IsEnumNamedValuePresent(*(void**)(&enumTypeName), *(void**)(&valueName), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics::IsApiContractPresent(param::hstring const& contractName, uint16_t majorVersion) const + template auto consume_Windows_Foundation_Metadata_IApiInformationStatics::IsApiContractPresent(param::hstring const& contractName, uint16_t majorVersion) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Metadata::IApiInformationStatics)->IsApiContractPresentByMajor(*(void**)(&contractName), majorVersion, &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics::IsApiContractPresent(param::hstring const& contractName, uint16_t majorVersion, uint16_t minorVersion) const + template auto consume_Windows_Foundation_Metadata_IApiInformationStatics::IsApiContractPresent(param::hstring const& contractName, uint16_t majorVersion, uint16_t minorVersion) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Metadata::IApiInformationStatics)->IsApiContractPresentByMajorAndMinor(*(void**)(&contractName), majorVersion, minorVersion, &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Numerics.h b/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Numerics.h index 66067b3f..e5f8394b 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Numerics.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Numerics.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_Numerics_H #define WINRT_Windows_Foundation_Numerics_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Foundation.h" #include "winrt/impl/Windows.Foundation.Numerics.2.h" namespace winrt::impl diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.h b/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.h index 321c5d4d..7dd549f1 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.h @@ -1,797 +1,797 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_H #define WINRT_Windows_Foundation_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Foundation.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncAction::Completed(winrt::Windows::Foundation::AsyncActionCompletedHandler const& handler) const + template auto consume_Windows_Foundation_IAsyncAction::Completed(winrt::Windows::Foundation::AsyncActionCompletedHandler const& handler) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncAction)->put_Completed(*(void**)(&handler))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncActionCompletedHandler) consume_Windows_Foundation_IAsyncAction::Completed() const + template auto consume_Windows_Foundation_IAsyncAction::Completed() const { void* handler{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncAction)->get_Completed(&handler)); return winrt::Windows::Foundation::AsyncActionCompletedHandler{ handler, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncAction::GetResults() const + template auto consume_Windows_Foundation_IAsyncAction::GetResults() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncAction)->GetResults()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncActionWithProgress::Progress(winrt::Windows::Foundation::AsyncActionProgressHandler const& handler) const + template auto consume_Windows_Foundation_IAsyncActionWithProgress::Progress(winrt::Windows::Foundation::AsyncActionProgressHandler const& handler) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncActionWithProgress)->put_Progress(*(void**)(&handler))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncActionProgressHandler) consume_Windows_Foundation_IAsyncActionWithProgress::Progress() const + template auto consume_Windows_Foundation_IAsyncActionWithProgress::Progress() const { void* winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncActionWithProgress)->get_Progress(&winrt_impl_result)); return winrt::Windows::Foundation::AsyncActionProgressHandler{ winrt_impl_result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncActionWithProgress::Completed(winrt::Windows::Foundation::AsyncActionWithProgressCompletedHandler const& handler) const + template auto consume_Windows_Foundation_IAsyncActionWithProgress::Completed(winrt::Windows::Foundation::AsyncActionWithProgressCompletedHandler const& handler) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncActionWithProgress)->put_Completed(*(void**)(&handler))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncActionWithProgressCompletedHandler) consume_Windows_Foundation_IAsyncActionWithProgress::Completed() const + template auto consume_Windows_Foundation_IAsyncActionWithProgress::Completed() const { void* winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncActionWithProgress)->get_Completed(&winrt_impl_result)); return winrt::Windows::Foundation::AsyncActionWithProgressCompletedHandler{ winrt_impl_result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncActionWithProgress::GetResults() const + template auto consume_Windows_Foundation_IAsyncActionWithProgress::GetResults() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncActionWithProgress)->GetResults()); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_IAsyncInfo::Id() const + template auto consume_Windows_Foundation_IAsyncInfo::Id() const { uint32_t winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncInfo)->get_Id(&winrt_impl_result)); return winrt_impl_result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncStatus) consume_Windows_Foundation_IAsyncInfo::Status() const + template auto consume_Windows_Foundation_IAsyncInfo::Status() const { winrt::Windows::Foundation::AsyncStatus winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncInfo)->get_Status(reinterpret_cast(&winrt_impl_result))); return winrt_impl_result; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Foundation_IAsyncInfo::ErrorCode() const + template auto consume_Windows_Foundation_IAsyncInfo::ErrorCode() const { winrt::hresult winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncInfo)->get_ErrorCode(put_abi(winrt_impl_result))); return winrt_impl_result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncInfo::Cancel() const + template auto consume_Windows_Foundation_IAsyncInfo::Cancel() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncInfo)->Cancel()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncInfo::Close() const + template auto consume_Windows_Foundation_IAsyncInfo::Close() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncInfo)->Close()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncOperationWithProgress::Progress(winrt::Windows::Foundation::AsyncOperationProgressHandler const& handler) const + template auto consume_Windows_Foundation_IAsyncOperationWithProgress::Progress(winrt::Windows::Foundation::AsyncOperationProgressHandler const& handler) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncOperationWithProgress)->put_Progress(*(void**)(&handler))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncOperationProgressHandler) consume_Windows_Foundation_IAsyncOperationWithProgress::Progress() const + template auto consume_Windows_Foundation_IAsyncOperationWithProgress::Progress() const { void* winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncOperationWithProgress)->get_Progress(&winrt_impl_result)); return winrt::Windows::Foundation::AsyncOperationProgressHandler{ winrt_impl_result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncOperationWithProgress::Completed(winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler const& handler) const + template auto consume_Windows_Foundation_IAsyncOperationWithProgress::Completed(winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler const& handler) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncOperationWithProgress)->put_Completed(*(void**)(&handler))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler) consume_Windows_Foundation_IAsyncOperationWithProgress::Completed() const + template auto consume_Windows_Foundation_IAsyncOperationWithProgress::Completed() const { void* winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncOperationWithProgress)->get_Completed(&winrt_impl_result)); return winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler{ winrt_impl_result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(TResult) consume_Windows_Foundation_IAsyncOperationWithProgress::GetResults() const + template auto consume_Windows_Foundation_IAsyncOperationWithProgress::GetResults() const { TResult winrt_impl_result{ empty_value() }; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncOperationWithProgress)->GetResults(put_abi(winrt_impl_result))); return winrt_impl_result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncOperation::Completed(winrt::Windows::Foundation::AsyncOperationCompletedHandler const& handler) const + template auto consume_Windows_Foundation_IAsyncOperation::Completed(winrt::Windows::Foundation::AsyncOperationCompletedHandler const& handler) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncOperation)->put_Completed(*(void**)(&handler))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncOperationCompletedHandler) consume_Windows_Foundation_IAsyncOperation::Completed() const + template auto consume_Windows_Foundation_IAsyncOperation::Completed() const { void* winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncOperation)->get_Completed(&winrt_impl_result)); return winrt::Windows::Foundation::AsyncOperationCompletedHandler{ winrt_impl_result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(TResult) consume_Windows_Foundation_IAsyncOperation::GetResults() const + template auto consume_Windows_Foundation_IAsyncOperation::GetResults() const { TResult winrt_impl_result{ empty_value() }; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncOperation)->GetResults(put_abi(winrt_impl_result))); return winrt_impl_result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IClosable::Close() const + template auto consume_Windows_Foundation_IClosable::Close() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IClosable)->Close()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IDeferral::Complete() const + template auto consume_Windows_Foundation_IDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Foundation_IDeferralFactory::Create(winrt::Windows::Foundation::DeferralCompletedHandler const& handler) const + template auto consume_Windows_Foundation_IDeferralFactory::Create(winrt::Windows::Foundation::DeferralCompletedHandler const& handler) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IDeferralFactory)->Create(*(void**)(&handler), &result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IGetActivationFactory::GetActivationFactory(param::hstring const& activatableClassId) const + template auto consume_Windows_Foundation_IGetActivationFactory::GetActivationFactory(param::hstring const& activatableClassId) const { void* factory{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IGetActivationFactory)->GetActivationFactory(*(void**)(&activatableClassId), &factory)); return winrt::Windows::Foundation::IInspectable{ factory, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Foundation_IGuidHelperStatics::CreateNewGuid() const + template auto consume_Windows_Foundation_IGuidHelperStatics::CreateNewGuid() const { winrt::guid result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IGuidHelperStatics)->CreateNewGuid(put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Foundation_IGuidHelperStatics::Empty() const + template auto consume_Windows_Foundation_IGuidHelperStatics::Empty() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IGuidHelperStatics)->get_Empty(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_IGuidHelperStatics::Equals(winrt::guid const& target, winrt::guid const& value) const + template auto consume_Windows_Foundation_IGuidHelperStatics::Equals(winrt::guid const& target, winrt::guid const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IGuidHelperStatics)->Equals(impl::bind_in(target), impl::bind_in(value), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IMemoryBufferReference) consume_Windows_Foundation_IMemoryBuffer::CreateReference() const + template auto consume_Windows_Foundation_IMemoryBuffer::CreateReference() const { void* reference{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IMemoryBuffer)->CreateReference(&reference)); return winrt::Windows::Foundation::IMemoryBufferReference{ reference, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::MemoryBuffer) consume_Windows_Foundation_IMemoryBufferFactory::Create(uint32_t capacity) const + template auto consume_Windows_Foundation_IMemoryBufferFactory::Create(uint32_t capacity) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IMemoryBufferFactory)->Create(capacity, &value)); return winrt::Windows::Foundation::MemoryBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_IMemoryBufferReference::Capacity() const + template auto consume_Windows_Foundation_IMemoryBufferReference::Capacity() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IMemoryBufferReference)->get_Capacity(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Foundation_IMemoryBufferReference::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Foundation_IMemoryBufferReference::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IMemoryBufferReference)->add_Closed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Foundation_IMemoryBufferReference::Closed_revoker consume_Windows_Foundation_IMemoryBufferReference::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Foundation_IMemoryBufferReference::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IMemoryBufferReference::Closed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Foundation_IMemoryBufferReference::Closed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Foundation::IMemoryBufferReference)->remove_Closed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::PropertyType) consume_Windows_Foundation_IPropertyValue::Type() const + template auto consume_Windows_Foundation_IPropertyValue::Type() const { winrt::Windows::Foundation::PropertyType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_IPropertyValue::IsNumericScalar() const + template auto consume_Windows_Foundation_IPropertyValue::IsNumericScalar() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->get_IsNumericScalar(&value)); return value; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Foundation_IPropertyValue::GetUInt8() const + template auto consume_Windows_Foundation_IPropertyValue::GetUInt8() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetUInt8(&value)); return value; } - template WINRT_IMPL_AUTO(int16_t) consume_Windows_Foundation_IPropertyValue::GetInt16() const + template auto consume_Windows_Foundation_IPropertyValue::GetInt16() const { int16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetInt16(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Foundation_IPropertyValue::GetUInt16() const + template auto consume_Windows_Foundation_IPropertyValue::GetUInt16() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetUInt16(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Foundation_IPropertyValue::GetInt32() const + template auto consume_Windows_Foundation_IPropertyValue::GetInt32() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetInt32(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_IPropertyValue::GetUInt32() const + template auto consume_Windows_Foundation_IPropertyValue::GetUInt32() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetUInt32(&value)); return value; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_Foundation_IPropertyValue::GetInt64() const + template auto consume_Windows_Foundation_IPropertyValue::GetInt64() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetInt64(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Foundation_IPropertyValue::GetUInt64() const + template auto consume_Windows_Foundation_IPropertyValue::GetUInt64() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetUInt64(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Foundation_IPropertyValue::GetSingle() const + template auto consume_Windows_Foundation_IPropertyValue::GetSingle() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetSingle(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Foundation_IPropertyValue::GetDouble() const + template auto consume_Windows_Foundation_IPropertyValue::GetDouble() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetDouble(&value)); return value; } - template WINRT_IMPL_AUTO(char16_t) consume_Windows_Foundation_IPropertyValue::GetChar16() const + template auto consume_Windows_Foundation_IPropertyValue::GetChar16() const { char16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetChar16(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_IPropertyValue::GetBoolean() const + template auto consume_Windows_Foundation_IPropertyValue::GetBoolean() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetBoolean(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IPropertyValue::GetString() const + template auto consume_Windows_Foundation_IPropertyValue::GetString() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetString(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Foundation_IPropertyValue::GetGuid() const + template auto consume_Windows_Foundation_IPropertyValue::GetGuid() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetGuid(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Foundation_IPropertyValue::GetDateTime() const + template auto consume_Windows_Foundation_IPropertyValue::GetDateTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetDateTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Foundation_IPropertyValue::GetTimeSpan() const + template auto consume_Windows_Foundation_IPropertyValue::GetTimeSpan() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetTimeSpan(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Foundation_IPropertyValue::GetPoint() const + template auto consume_Windows_Foundation_IPropertyValue::GetPoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Foundation_IPropertyValue::GetSize() const + template auto consume_Windows_Foundation_IPropertyValue::GetSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Foundation_IPropertyValue::GetRect() const + template auto consume_Windows_Foundation_IPropertyValue::GetRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetUInt8Array(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetUInt8Array(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetUInt8Array(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetInt16Array(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetInt16Array(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetInt16Array(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetUInt16Array(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetUInt16Array(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetUInt16Array(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetInt32Array(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetInt32Array(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetInt32Array(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetUInt32Array(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetUInt32Array(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetUInt32Array(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetInt64Array(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetInt64Array(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetInt64Array(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetUInt64Array(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetUInt64Array(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetUInt64Array(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetSingleArray(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetSingleArray(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetSingleArray(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetDoubleArray(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetDoubleArray(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetDoubleArray(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetChar16Array(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetChar16Array(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetChar16Array(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetBooleanArray(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetBooleanArray(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetBooleanArray(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetStringArray(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetStringArray(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetStringArray(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetInspectableArray(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetInspectableArray(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetInspectableArray(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetGuidArray(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetGuidArray(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetGuidArray(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetDateTimeArray(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetDateTimeArray(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetDateTimeArray(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetTimeSpanArray(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetTimeSpanArray(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetTimeSpanArray(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetPointArray(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetPointArray(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetPointArray(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetSizeArray(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetSizeArray(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetSizeArray(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue::GetRectArray(com_array& value) const + template auto consume_Windows_Foundation_IPropertyValue::GetRectArray(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetRectArray(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateEmpty() const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateEmpty() const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateEmpty(&propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateUInt8(uint8_t value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateUInt8(uint8_t value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateUInt8(value, &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateInt16(int16_t value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateInt16(int16_t value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateInt16(value, &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateUInt16(uint16_t value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateUInt16(uint16_t value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateUInt16(value, &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateInt32(int32_t value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateInt32(int32_t value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateInt32(value, &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateUInt32(uint32_t value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateUInt32(uint32_t value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateUInt32(value, &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateInt64(int64_t value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateInt64(int64_t value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateInt64(value, &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateUInt64(uint64_t value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateUInt64(uint64_t value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateUInt64(value, &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateSingle(float value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateSingle(float value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateSingle(value, &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateDouble(double value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateDouble(double value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateDouble(value, &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateChar16(char16_t value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateChar16(char16_t value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateChar16(value, &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateBoolean(bool value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateBoolean(bool value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateBoolean(value, &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateString(param::hstring const& value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateString(param::hstring const& value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateString(*(void**)(&value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateInspectable(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateInspectable(winrt::Windows::Foundation::IInspectable const& value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateInspectable(*(void**)(&value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateGuid(winrt::guid const& value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateGuid(winrt::guid const& value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateGuid(impl::bind_in(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateDateTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateDateTime(winrt::Windows::Foundation::DateTime const& value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateDateTime(impl::bind_in(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateTimeSpan(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateTimeSpan(winrt::Windows::Foundation::TimeSpan const& value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateTimeSpan(impl::bind_in(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreatePoint(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreatePoint(winrt::Windows::Foundation::Point const& value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreatePoint(impl::bind_in(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateSize(winrt::Windows::Foundation::Size const& value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateSize(winrt::Windows::Foundation::Size const& value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateSize(impl::bind_in(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateRect(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateRect(winrt::Windows::Foundation::Rect const& value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateRect(impl::bind_in(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateUInt8Array(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateUInt8Array(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateUInt8Array(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateInt16Array(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateInt16Array(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateInt16Array(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateUInt16Array(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateUInt16Array(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateUInt16Array(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateInt32Array(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateInt32Array(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateInt32Array(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateUInt32Array(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateUInt32Array(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateUInt32Array(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateInt64Array(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateInt64Array(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateInt64Array(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateUInt64Array(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateUInt64Array(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateUInt64Array(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateSingleArray(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateSingleArray(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateSingleArray(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateDoubleArray(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateDoubleArray(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateDoubleArray(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateChar16Array(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateChar16Array(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateChar16Array(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateBooleanArray(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateBooleanArray(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateBooleanArray(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateStringArray(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateStringArray(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateStringArray(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateInspectableArray(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateInspectableArray(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateInspectableArray(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateGuidArray(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateGuidArray(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateGuidArray(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateDateTimeArray(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateDateTimeArray(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateDateTimeArray(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateTimeSpanArray(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateTimeSpanArray(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateTimeSpanArray(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreatePointArray(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreatePointArray(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreatePointArray(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateSizeArray(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateSizeArray(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateSizeArray(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics::CreateRectArray(array_view value) const + template auto consume_Windows_Foundation_IPropertyValueStatics::CreateRectArray(array_view value) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValueStatics)->CreateRectArray(value.size(), get_abi(value), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Foundation_IReferenceArray::Value() const + template auto consume_Windows_Foundation_IReferenceArray::Value() const { uint32_t winrt_impl_result_impl_size{}; T* winrt_impl_result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IReferenceArray)->get_Value(&winrt_impl_result_impl_size, &winrt_impl_result)); return com_array{ winrt_impl_result, winrt_impl_result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(T) consume_Windows_Foundation_IReference::Value() const + template auto consume_Windows_Foundation_IReference::Value() const { T winrt_impl_result{ empty_value() }; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IReference)->get_Value(put_abi(winrt_impl_result))); return winrt_impl_result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IStringable::ToString() const + template auto consume_Windows_Foundation_IStringable::ToString() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IStringable)->ToString(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriEscapeStatics::UnescapeComponent(param::hstring const& toUnescape) const + template auto consume_Windows_Foundation_IUriEscapeStatics::UnescapeComponent(param::hstring const& toUnescape) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriEscapeStatics)->UnescapeComponent(*(void**)(&toUnescape), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriEscapeStatics::EscapeComponent(param::hstring const& toEscape) const + template auto consume_Windows_Foundation_IUriEscapeStatics::EscapeComponent(param::hstring const& toEscape) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriEscapeStatics)->EscapeComponent(*(void**)(&toEscape), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass::AbsoluteUri() const + template auto consume_Windows_Foundation_IUriRuntimeClass::AbsoluteUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_AbsoluteUri(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass::DisplayUri() const + template auto consume_Windows_Foundation_IUriRuntimeClass::DisplayUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_DisplayUri(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass::Domain() const + template auto consume_Windows_Foundation_IUriRuntimeClass::Domain() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Domain(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass::Extension() const + template auto consume_Windows_Foundation_IUriRuntimeClass::Extension() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Extension(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass::Fragment() const + template auto consume_Windows_Foundation_IUriRuntimeClass::Fragment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Fragment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass::Host() const + template auto consume_Windows_Foundation_IUriRuntimeClass::Host() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Host(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass::Password() const + template auto consume_Windows_Foundation_IUriRuntimeClass::Password() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Password(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass::Path() const + template auto consume_Windows_Foundation_IUriRuntimeClass::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Path(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass::Query() const + template auto consume_Windows_Foundation_IUriRuntimeClass::Query() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Query(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::WwwFormUrlDecoder) consume_Windows_Foundation_IUriRuntimeClass::QueryParsed() const + template auto consume_Windows_Foundation_IUriRuntimeClass::QueryParsed() const { void* ppWwwFormUrlDecoder{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_QueryParsed(&ppWwwFormUrlDecoder)); return winrt::Windows::Foundation::WwwFormUrlDecoder{ ppWwwFormUrlDecoder, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass::RawUri() const + template auto consume_Windows_Foundation_IUriRuntimeClass::RawUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_RawUri(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass::SchemeName() const + template auto consume_Windows_Foundation_IUriRuntimeClass::SchemeName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_SchemeName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass::UserName() const + template auto consume_Windows_Foundation_IUriRuntimeClass::UserName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_UserName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Foundation_IUriRuntimeClass::Port() const + template auto consume_Windows_Foundation_IUriRuntimeClass::Port() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Port(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_IUriRuntimeClass::Suspicious() const + template auto consume_Windows_Foundation_IUriRuntimeClass::Suspicious() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Suspicious(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_IUriRuntimeClass::Equals(winrt::Windows::Foundation::Uri const& pUri) const + template auto consume_Windows_Foundation_IUriRuntimeClass::Equals(winrt::Windows::Foundation::Uri const& pUri) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->Equals(*(void**)(&pUri), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Foundation_IUriRuntimeClass::CombineUri(param::hstring const& relativeUri) const + template auto consume_Windows_Foundation_IUriRuntimeClass::CombineUri(param::hstring const& relativeUri) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->CombineUri(*(void**)(&relativeUri), &instance)); return winrt::Windows::Foundation::Uri{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Foundation_IUriRuntimeClassFactory::CreateUri(param::hstring const& uri) const + template auto consume_Windows_Foundation_IUriRuntimeClassFactory::CreateUri(param::hstring const& uri) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClassFactory)->CreateUri(*(void**)(&uri), &instance)); return winrt::Windows::Foundation::Uri{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Foundation_IUriRuntimeClassFactory::CreateWithRelativeUri(param::hstring const& baseUri, param::hstring const& relativeUri) const + template auto consume_Windows_Foundation_IUriRuntimeClassFactory::CreateWithRelativeUri(param::hstring const& baseUri, param::hstring const& relativeUri) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClassFactory)->CreateWithRelativeUri(*(void**)(&baseUri), *(void**)(&relativeUri), &instance)); return winrt::Windows::Foundation::Uri{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClassWithAbsoluteCanonicalUri::AbsoluteCanonicalUri() const + template auto consume_Windows_Foundation_IUriRuntimeClassWithAbsoluteCanonicalUri::AbsoluteCanonicalUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClassWithAbsoluteCanonicalUri)->get_AbsoluteCanonicalUri(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClassWithAbsoluteCanonicalUri::DisplayIri() const + template auto consume_Windows_Foundation_IUriRuntimeClassWithAbsoluteCanonicalUri::DisplayIri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClassWithAbsoluteCanonicalUri)->get_DisplayIri(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IWwwFormUrlDecoderEntry::Name() const + template auto consume_Windows_Foundation_IWwwFormUrlDecoderEntry::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IWwwFormUrlDecoderEntry)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IWwwFormUrlDecoderEntry::Value() const + template auto consume_Windows_Foundation_IWwwFormUrlDecoderEntry::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IWwwFormUrlDecoderEntry)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IWwwFormUrlDecoderRuntimeClass::GetFirstValueByName(param::hstring const& name) const + template auto consume_Windows_Foundation_IWwwFormUrlDecoderRuntimeClass::GetFirstValueByName(param::hstring const& name) const { void* phstrValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IWwwFormUrlDecoderRuntimeClass)->GetFirstValueByName(*(void**)(&name), &phstrValue)); return hstring{ phstrValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::WwwFormUrlDecoder) consume_Windows_Foundation_IWwwFormUrlDecoderRuntimeClassFactory::CreateWwwFormUrlDecoder(param::hstring const& query) const + template auto consume_Windows_Foundation_IWwwFormUrlDecoderRuntimeClassFactory::CreateWwwFormUrlDecoder(param::hstring const& query) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IWwwFormUrlDecoderRuntimeClassFactory)->CreateWwwFormUrlDecoder(*(void**)(&query), &instance)); @@ -3321,34 +3321,45 @@ namespace winrt::impl return async.GetResults(); } + template struct disconnect_aware_handler { - disconnect_aware_handler(coroutine_handle<> handle, int32_t* failure) noexcept - : m_handle(handle), m_failure(failure) { } + disconnect_aware_handler(Awaiter* awaiter, coroutine_handle<> handle) noexcept + : m_awaiter(awaiter), m_handle(handle) { } disconnect_aware_handler(disconnect_aware_handler&& other) noexcept : m_context(std::move(other.m_context)) - , m_handle(std::exchange(other.m_handle, {})) - , m_failure(other.m_failure) { } + , m_awaiter(std::exchange(other.m_awaiter, {})) + , m_handle(std::exchange(other.m_handle, {})) { } ~disconnect_aware_handler() { if (m_handle) Complete(); } - void operator()() + template + void operator()(Async&&, Windows::Foundation::AsyncStatus status) { + m_awaiter->status = status; Complete(); } private: resume_apartment_context m_context; + Awaiter* m_awaiter; coroutine_handle<> m_handle; - int32_t* m_failure; void Complete() { - resume_apartment(m_context, std::exchange(m_handle, {}), m_failure); + if (m_awaiter->suspending.exchange(false, std::memory_order_release)) + { + m_handle = nullptr; // resumption deferred to await_suspend + } + else + { + resume_apartment(m_context, std::exchange(m_handle, {}), &m_awaiter->failure); + } + } }; @@ -3361,6 +3372,7 @@ namespace winrt::impl Async const& async; Windows::Foundation::AsyncStatus status = Windows::Foundation::AsyncStatus::Started; int32_t failure = 0; + std::atomic suspending{ true }; void enable_cancellation(cancellable_promise* promise) { @@ -3375,14 +3387,18 @@ namespace winrt::impl return false; } - void await_suspend(coroutine_handle<> handle) + auto await_suspend(coroutine_handle<> handle) { auto extend_lifetime = async; - async.Completed([this, handler = disconnect_aware_handler{ handle, &failure }](auto&&, auto operation_status) mutable + async.Completed(disconnect_aware_handler(this, handle)); +#ifdef _RESUMABLE_FUNCTIONS_SUPPORTED + if (!suspending.exchange(false, std::memory_order_acquire)) { - status = operation_status; - handler(); - }); + handle.resume(); + } +#else + return suspending.exchange(false, std::memory_order_acquire); +#endif } auto await_resume() const @@ -4070,4 +4086,12 @@ WINRT_EXPORT namespace winrt } #endif } + +#ifdef __cpp_lib_format +template +auto std::formatter::format(winrt::Windows::Foundation::IStringable const& obj, FormatContext& fc) +{ + return std::formatter::format(obj.ToString(), fc); +} +#endif #endif diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.Custom.h b/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.Custom.h index ce266d79..6867177e 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.Custom.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.Custom.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Input_Custom_H #define WINRT_Windows_Gaming_Input_Custom_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Gaming.Input.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Gaming.Input.2.h" @@ -13,149 +13,149 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Gaming.Input.Custom.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Gaming_Input_Custom_ICustomGameControllerFactory::CreateGameController(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const + template auto consume_Windows_Gaming_Input_Custom_ICustomGameControllerFactory::CreateGameController(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory)->CreateGameController(*(void**)(&provider), &value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_ICustomGameControllerFactory::OnGameControllerAdded(winrt::Windows::Gaming::Input::IGameController const& value) const + template auto consume_Windows_Gaming_Input_Custom_ICustomGameControllerFactory::OnGameControllerAdded(winrt::Windows::Gaming::Input::IGameController const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory)->OnGameControllerAdded(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_ICustomGameControllerFactory::OnGameControllerRemoved(winrt::Windows::Gaming::Input::IGameController const& value) const + template auto consume_Windows_Gaming_Input_Custom_ICustomGameControllerFactory::OnGameControllerRemoved(winrt::Windows::Gaming::Input::IGameController const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory)->OnGameControllerRemoved(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics::RegisterCustomFactoryForGipInterface(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::guid const& interfaceId) const + template auto consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics::RegisterCustomFactoryForGipInterface(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::guid const& interfaceId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGameControllerFactoryManagerStatics)->RegisterCustomFactoryForGipInterface(*(void**)(&factory), impl::bind_in(interfaceId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics::RegisterCustomFactoryForHardwareId(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, uint16_t hardwareVendorId, uint16_t hardwareProductId) const + template auto consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics::RegisterCustomFactoryForHardwareId(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, uint16_t hardwareVendorId, uint16_t hardwareProductId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGameControllerFactoryManagerStatics)->RegisterCustomFactoryForHardwareId(*(void**)(&factory), hardwareVendorId, hardwareProductId)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics::RegisterCustomFactoryForXusbType(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::Windows::Gaming::Input::Custom::XusbDeviceType const& xusbType, winrt::Windows::Gaming::Input::Custom::XusbDeviceSubtype const& xusbSubtype) const + template auto consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics::RegisterCustomFactoryForXusbType(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::Windows::Gaming::Input::Custom::XusbDeviceType const& xusbType, winrt::Windows::Gaming::Input::Custom::XusbDeviceSubtype const& xusbSubtype) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGameControllerFactoryManagerStatics)->RegisterCustomFactoryForXusbType(*(void**)(&factory), static_cast(xusbType), static_cast(xusbSubtype))); } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::IGameController) consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics2::TryGetFactoryControllerFromGameController(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::Windows::Gaming::Input::IGameController const& gameController) const + template auto consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics2::TryGetFactoryControllerFromGameController(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::Windows::Gaming::Input::IGameController const& gameController) const { void* factoryController{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGameControllerFactoryManagerStatics2)->TryGetFactoryControllerFromGameController(*(void**)(&factory), *(void**)(&gameController), &factoryController)); return winrt::Windows::Gaming::Input::IGameController{ factoryController, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGameControllerInputSink::OnInputResumed(uint64_t timestamp) const + template auto consume_Windows_Gaming_Input_Custom_IGameControllerInputSink::OnInputResumed(uint64_t timestamp) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGameControllerInputSink)->OnInputResumed(timestamp)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGameControllerInputSink::OnInputSuspended(uint64_t timestamp) const + template auto consume_Windows_Gaming_Input_Custom_IGameControllerInputSink::OnInputSuspended(uint64_t timestamp) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGameControllerInputSink)->OnInputSuspended(timestamp)); } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::Custom::GameControllerVersionInfo) consume_Windows_Gaming_Input_Custom_IGameControllerProvider::FirmwareVersionInfo() const + template auto consume_Windows_Gaming_Input_Custom_IGameControllerProvider::FirmwareVersionInfo() const { winrt::Windows::Gaming::Input::Custom::GameControllerVersionInfo value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider)->get_FirmwareVersionInfo(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Gaming_Input_Custom_IGameControllerProvider::HardwareProductId() const + template auto consume_Windows_Gaming_Input_Custom_IGameControllerProvider::HardwareProductId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider)->get_HardwareProductId(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Gaming_Input_Custom_IGameControllerProvider::HardwareVendorId() const + template auto consume_Windows_Gaming_Input_Custom_IGameControllerProvider::HardwareVendorId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider)->get_HardwareVendorId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::Custom::GameControllerVersionInfo) consume_Windows_Gaming_Input_Custom_IGameControllerProvider::HardwareVersionInfo() const + template auto consume_Windows_Gaming_Input_Custom_IGameControllerProvider::HardwareVersionInfo() const { winrt::Windows::Gaming::Input::Custom::GameControllerVersionInfo value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider)->get_HardwareVersionInfo(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Input_Custom_IGameControllerProvider::IsConnected() const + template auto consume_Windows_Gaming_Input_Custom_IGameControllerProvider::IsConnected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider)->get_IsConnected(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Gaming_Input_Custom_IGipFirmwareUpdateResult::ExtendedErrorCode() const + template auto consume_Windows_Gaming_Input_Custom_IGipFirmwareUpdateResult::ExtendedErrorCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGipFirmwareUpdateResult)->get_ExtendedErrorCode(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Gaming_Input_Custom_IGipFirmwareUpdateResult::FinalComponentId() const + template auto consume_Windows_Gaming_Input_Custom_IGipFirmwareUpdateResult::FinalComponentId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGipFirmwareUpdateResult)->get_FinalComponentId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::Custom::GipFirmwareUpdateStatus) consume_Windows_Gaming_Input_Custom_IGipFirmwareUpdateResult::Status() const + template auto consume_Windows_Gaming_Input_Custom_IGipFirmwareUpdateResult::Status() const { winrt::Windows::Gaming::Input::Custom::GipFirmwareUpdateStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGipFirmwareUpdateResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGipGameControllerInputSink::OnKeyReceived(uint64_t timestamp, uint8_t keyCode, bool isPressed) const + template auto consume_Windows_Gaming_Input_Custom_IGipGameControllerInputSink::OnKeyReceived(uint64_t timestamp, uint8_t keyCode, bool isPressed) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGipGameControllerInputSink)->OnKeyReceived(timestamp, keyCode, isPressed)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGipGameControllerInputSink::OnMessageReceived(uint64_t timestamp, winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, uint8_t sequenceId, array_view messageBuffer) const + template auto consume_Windows_Gaming_Input_Custom_IGipGameControllerInputSink::OnMessageReceived(uint64_t timestamp, winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, uint8_t sequenceId, array_view messageBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGipGameControllerInputSink)->OnMessageReceived(timestamp, static_cast(messageClass), messageId, sequenceId, messageBuffer.size(), get_abi(messageBuffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGipGameControllerProvider::SendMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view messageBuffer) const + template auto consume_Windows_Gaming_Input_Custom_IGipGameControllerProvider::SendMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view messageBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGipGameControllerProvider)->SendMessage(static_cast(messageClass), messageId, messageBuffer.size(), get_abi(messageBuffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGipGameControllerProvider::SendReceiveMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view requestMessageBuffer, array_view responseMessageBuffer) const + template auto consume_Windows_Gaming_Input_Custom_IGipGameControllerProvider::SendReceiveMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view requestMessageBuffer, array_view responseMessageBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGipGameControllerProvider)->SendReceiveMessage(static_cast(messageClass), messageId, requestMessageBuffer.size(), get_abi(requestMessageBuffer), responseMessageBuffer.size(), put_abi(responseMessageBuffer))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Gaming_Input_Custom_IGipGameControllerProvider::UpdateFirmwareAsync(winrt::Windows::Storage::Streams::IInputStream const& firmwareImage) const + template auto consume_Windows_Gaming_Input_Custom_IGipGameControllerProvider::UpdateFirmwareAsync(winrt::Windows::Storage::Streams::IInputStream const& firmwareImage) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGipGameControllerProvider)->UpdateFirmwareAsync(*(void**)(&firmwareImage), &result)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IHidGameControllerInputSink::OnInputReportReceived(uint64_t timestamp, uint8_t reportId, array_view reportBuffer) const + template auto consume_Windows_Gaming_Input_Custom_IHidGameControllerInputSink::OnInputReportReceived(uint64_t timestamp, uint8_t reportId, array_view reportBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IHidGameControllerInputSink)->OnInputReportReceived(timestamp, reportId, reportBuffer.size(), get_abi(reportBuffer))); } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider::UsageId() const + template auto consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider::UsageId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IHidGameControllerProvider)->get_UsageId(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider::UsagePage() const + template auto consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider::UsagePage() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IHidGameControllerProvider)->get_UsagePage(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider::GetFeatureReport(uint8_t reportId, array_view reportBuffer) const + template auto consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider::GetFeatureReport(uint8_t reportId, array_view reportBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IHidGameControllerProvider)->GetFeatureReport(reportId, reportBuffer.size(), put_abi(reportBuffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider::SendFeatureReport(uint8_t reportId, array_view reportBuffer) const + template auto consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider::SendFeatureReport(uint8_t reportId, array_view reportBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IHidGameControllerProvider)->SendFeatureReport(reportId, reportBuffer.size(), get_abi(reportBuffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider::SendOutputReport(uint8_t reportId, array_view reportBuffer) const + template auto consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider::SendOutputReport(uint8_t reportId, array_view reportBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IHidGameControllerProvider)->SendOutputReport(reportId, reportBuffer.size(), get_abi(reportBuffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IXusbGameControllerInputSink::OnInputReceived(uint64_t timestamp, uint8_t reportId, array_view inputBuffer) const + template auto consume_Windows_Gaming_Input_Custom_IXusbGameControllerInputSink::OnInputReceived(uint64_t timestamp, uint8_t reportId, array_view inputBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IXusbGameControllerInputSink)->OnInputReceived(timestamp, reportId, inputBuffer.size(), get_abi(inputBuffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IXusbGameControllerProvider::SetVibration(double lowFrequencyMotorSpeed, double highFrequencyMotorSpeed) const + template auto consume_Windows_Gaming_Input_Custom_IXusbGameControllerProvider::SetVibration(double lowFrequencyMotorSpeed, double highFrequencyMotorSpeed) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IXusbGameControllerProvider)->SetVibration(lowFrequencyMotorSpeed, highFrequencyMotorSpeed)); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.ForceFeedback.h b/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.ForceFeedback.h index bb250344..a0da8023 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.ForceFeedback.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.ForceFeedback.h @@ -1,160 +1,160 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Input_ForceFeedback_H #define WINRT_Windows_Gaming_Input_ForceFeedback_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Gaming.Input.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Numerics.2.h" #include "winrt/impl/Windows.Gaming.Input.ForceFeedback.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffectKind) consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffect::Kind() const + template auto consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffect::Kind() const { winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffectKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IConditionForceEffect)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffect::SetParameters(winrt::Windows::Foundation::Numerics::float3 const& direction, float positiveCoefficient, float negativeCoefficient, float maxPositiveMagnitude, float maxNegativeMagnitude, float deadZone, float bias) const + template auto consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffect::SetParameters(winrt::Windows::Foundation::Numerics::float3 const& direction, float positiveCoefficient, float negativeCoefficient, float maxPositiveMagnitude, float maxNegativeMagnitude, float deadZone, float bias) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IConditionForceEffect)->SetParameters(impl::bind_in(direction), positiveCoefficient, negativeCoefficient, maxPositiveMagnitude, maxNegativeMagnitude, deadZone, bias)); } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffect) consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffectFactory::CreateInstance(winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffectKind const& effectKind) const + template auto consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffectFactory::CreateInstance(winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffectKind const& effectKind) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IConditionForceEffectFactory)->CreateInstance(static_cast(effectKind), &value)); return winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffect{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IConstantForceEffect::SetParameters(winrt::Windows::Foundation::Numerics::float3 const& vector, winrt::Windows::Foundation::TimeSpan const& duration) const + template auto consume_Windows_Gaming_Input_ForceFeedback_IConstantForceEffect::SetParameters(winrt::Windows::Foundation::Numerics::float3 const& vector, winrt::Windows::Foundation::TimeSpan const& duration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IConstantForceEffect)->SetParameters(impl::bind_in(vector), impl::bind_in(duration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IConstantForceEffect::SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3 const& vector, float attackGain, float sustainGain, float releaseGain, winrt::Windows::Foundation::TimeSpan const& startDelay, winrt::Windows::Foundation::TimeSpan const& attackDuration, winrt::Windows::Foundation::TimeSpan const& sustainDuration, winrt::Windows::Foundation::TimeSpan const& releaseDuration, uint32_t repeatCount) const + template auto consume_Windows_Gaming_Input_ForceFeedback_IConstantForceEffect::SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3 const& vector, float attackGain, float sustainGain, float releaseGain, winrt::Windows::Foundation::TimeSpan const& startDelay, winrt::Windows::Foundation::TimeSpan const& attackDuration, winrt::Windows::Foundation::TimeSpan const& sustainDuration, winrt::Windows::Foundation::TimeSpan const& releaseDuration, uint32_t repeatCount) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IConstantForceEffect)->SetParametersWithEnvelope(impl::bind_in(vector), attackGain, sustainGain, releaseGain, impl::bind_in(startDelay), impl::bind_in(attackDuration), impl::bind_in(sustainDuration), impl::bind_in(releaseDuration), repeatCount)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect::Gain() const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect::Gain() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect)->get_Gain(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect::Gain(double value) const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect::Gain(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect)->put_Gain(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackEffectState) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect::State() const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect::State() const { winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackEffectState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect::Start() const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect::Stop() const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect)->Stop()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::AreEffectsPaused() const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::AreEffectsPaused() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->get_AreEffectsPaused(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::MasterGain() const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::MasterGain() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->get_MasterGain(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::MasterGain(double value) const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::MasterGain(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->put_MasterGain(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::IsEnabled() const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackEffectAxes) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::SupportedAxes() const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::SupportedAxes() const { winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackEffectAxes value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->get_SupportedAxes(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::LoadEffectAsync(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect const& effect) const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::LoadEffectAsync(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect const& effect) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->LoadEffectAsync(*(void**)(&effect), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::PauseAllEffects() const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::PauseAllEffects() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->PauseAllEffects()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::ResumeAllEffects() const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::ResumeAllEffects() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->ResumeAllEffects()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::StopAllEffects() const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::StopAllEffects() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->StopAllEffects()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::TryDisableAsync() const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::TryDisableAsync() const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->TryDisableAsync(&asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::TryEnableAsync() const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::TryEnableAsync() const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->TryEnableAsync(&asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::TryResetAsync() const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::TryResetAsync() const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->TryResetAsync(&asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::TryUnloadEffectAsync(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect const& effect) const + template auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor::TryUnloadEffectAsync(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect const& effect) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->TryUnloadEffectAsync(*(void**)(&effect), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffectKind) consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffect::Kind() const + template auto consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffect::Kind() const { winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffectKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IPeriodicForceEffect)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffect::SetParameters(winrt::Windows::Foundation::Numerics::float3 const& vector, float frequency, float phase, float bias, winrt::Windows::Foundation::TimeSpan const& duration) const + template auto consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffect::SetParameters(winrt::Windows::Foundation::Numerics::float3 const& vector, float frequency, float phase, float bias, winrt::Windows::Foundation::TimeSpan const& duration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IPeriodicForceEffect)->SetParameters(impl::bind_in(vector), frequency, phase, bias, impl::bind_in(duration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffect::SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3 const& vector, float frequency, float phase, float bias, float attackGain, float sustainGain, float releaseGain, winrt::Windows::Foundation::TimeSpan const& startDelay, winrt::Windows::Foundation::TimeSpan const& attackDuration, winrt::Windows::Foundation::TimeSpan const& sustainDuration, winrt::Windows::Foundation::TimeSpan const& releaseDuration, uint32_t repeatCount) const + template auto consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffect::SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3 const& vector, float frequency, float phase, float bias, float attackGain, float sustainGain, float releaseGain, winrt::Windows::Foundation::TimeSpan const& startDelay, winrt::Windows::Foundation::TimeSpan const& attackDuration, winrt::Windows::Foundation::TimeSpan const& sustainDuration, winrt::Windows::Foundation::TimeSpan const& releaseDuration, uint32_t repeatCount) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IPeriodicForceEffect)->SetParametersWithEnvelope(impl::bind_in(vector), frequency, phase, bias, attackGain, sustainGain, releaseGain, impl::bind_in(startDelay), impl::bind_in(attackDuration), impl::bind_in(sustainDuration), impl::bind_in(releaseDuration), repeatCount)); } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffect) consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffectFactory::CreateInstance(winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffectKind const& effectKind) const + template auto consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffectFactory::CreateInstance(winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffectKind const& effectKind) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IPeriodicForceEffectFactory)->CreateInstance(static_cast(effectKind), &value)); return winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffect{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IRampForceEffect::SetParameters(winrt::Windows::Foundation::Numerics::float3 const& startVector, winrt::Windows::Foundation::Numerics::float3 const& endVector, winrt::Windows::Foundation::TimeSpan const& duration) const + template auto consume_Windows_Gaming_Input_ForceFeedback_IRampForceEffect::SetParameters(winrt::Windows::Foundation::Numerics::float3 const& startVector, winrt::Windows::Foundation::Numerics::float3 const& endVector, winrt::Windows::Foundation::TimeSpan const& duration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IRampForceEffect)->SetParameters(impl::bind_in(startVector), impl::bind_in(endVector), impl::bind_in(duration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IRampForceEffect::SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3 const& startVector, winrt::Windows::Foundation::Numerics::float3 const& endVector, float attackGain, float sustainGain, float releaseGain, winrt::Windows::Foundation::TimeSpan const& startDelay, winrt::Windows::Foundation::TimeSpan const& attackDuration, winrt::Windows::Foundation::TimeSpan const& sustainDuration, winrt::Windows::Foundation::TimeSpan const& releaseDuration, uint32_t repeatCount) const + template auto consume_Windows_Gaming_Input_ForceFeedback_IRampForceEffect::SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3 const& startVector, winrt::Windows::Foundation::Numerics::float3 const& endVector, float attackGain, float sustainGain, float releaseGain, winrt::Windows::Foundation::TimeSpan const& startDelay, winrt::Windows::Foundation::TimeSpan const& attackDuration, winrt::Windows::Foundation::TimeSpan const& sustainDuration, winrt::Windows::Foundation::TimeSpan const& releaseDuration, uint32_t repeatCount) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IRampForceEffect)->SetParametersWithEnvelope(impl::bind_in(startVector), impl::bind_in(endVector), attackGain, sustainGain, releaseGain, impl::bind_in(startDelay), impl::bind_in(attackDuration), impl::bind_in(sustainDuration), impl::bind_in(releaseDuration), repeatCount)); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.Preview.h b/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.Preview.h index d8696b16..35aecfec 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.Preview.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.Preview.h @@ -1,23 +1,23 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Input_Preview_H #define WINRT_Windows_Gaming_Input_Preview_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Gaming.Input.h" #include "winrt/impl/Windows.Gaming.Input.Custom.2.h" #include "winrt/impl/Windows.Gaming.Input.Preview.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_Input_Preview_IGameControllerProviderInfoStatics::GetParentProviderId(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const + template auto consume_Windows_Gaming_Input_Preview_IGameControllerProviderInfoStatics::GetParentProviderId(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Preview::IGameControllerProviderInfoStatics)->GetParentProviderId(*(void**)(&provider), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_Input_Preview_IGameControllerProviderInfoStatics::GetProviderId(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const + template auto consume_Windows_Gaming_Input_Preview_IGameControllerProviderInfoStatics::GetProviderId(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Preview::IGameControllerProviderInfoStatics)->GetProviderId(*(void**)(&provider), &value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.h b/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.h index 961e11e1..78b2397c 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Input_H #define WINRT_Windows_Gaming_Input_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Devices.Haptics.2.h" #include "winrt/impl/Windows.Devices.Power.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -15,509 +15,509 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Gaming.Input.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) consume_Windows_Gaming_Input_IArcadeStick::GetButtonLabel(winrt::Windows::Gaming::Input::ArcadeStickButtons const& button) const + template auto consume_Windows_Gaming_Input_IArcadeStick::GetButtonLabel(winrt::Windows::Gaming::Input::ArcadeStickButtons const& button) const { winrt::Windows::Gaming::Input::GameControllerButtonLabel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IArcadeStick)->GetButtonLabel(static_cast(button), reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ArcadeStickReading) consume_Windows_Gaming_Input_IArcadeStick::GetCurrentReading() const + template auto consume_Windows_Gaming_Input_IArcadeStick::GetCurrentReading() const { winrt::Windows::Gaming::Input::ArcadeStickReading value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IArcadeStick)->GetCurrentReading(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IArcadeStickStatics::ArcadeStickAdded(winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IArcadeStickStatics::ArcadeStickAdded(winrt::Windows::Foundation::EventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IArcadeStickStatics)->add_ArcadeStickAdded(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Input_IArcadeStickStatics::ArcadeStickAdded_revoker consume_Windows_Gaming_Input_IArcadeStickStatics::ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IArcadeStickStatics::ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const { return impl::make_event_revoker(this, ArcadeStickAdded(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IArcadeStickStatics::ArcadeStickAdded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Input_IArcadeStickStatics::ArcadeStickAdded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IArcadeStickStatics)->remove_ArcadeStickAdded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IArcadeStickStatics::ArcadeStickRemoved(winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IArcadeStickStatics::ArcadeStickRemoved(winrt::Windows::Foundation::EventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IArcadeStickStatics)->add_ArcadeStickRemoved(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Input_IArcadeStickStatics::ArcadeStickRemoved_revoker consume_Windows_Gaming_Input_IArcadeStickStatics::ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IArcadeStickStatics::ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const { return impl::make_event_revoker(this, ArcadeStickRemoved(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IArcadeStickStatics::ArcadeStickRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Input_IArcadeStickStatics::ArcadeStickRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IArcadeStickStatics)->remove_ArcadeStickRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Gaming_Input_IArcadeStickStatics::ArcadeSticks() const + template auto consume_Windows_Gaming_Input_IArcadeStickStatics::ArcadeSticks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IArcadeStickStatics)->get_ArcadeSticks(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ArcadeStick) consume_Windows_Gaming_Input_IArcadeStickStatics2::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const + template auto consume_Windows_Gaming_Input_IArcadeStickStatics2::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IArcadeStickStatics2)->FromGameController(*(void**)(&gameController), &value)); return winrt::Windows::Gaming::Input::ArcadeStick{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerSwitchKind) consume_Windows_Gaming_Input_IFlightStick::HatSwitchKind() const + template auto consume_Windows_Gaming_Input_IFlightStick::HatSwitchKind() const { winrt::Windows::Gaming::Input::GameControllerSwitchKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IFlightStick)->get_HatSwitchKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) consume_Windows_Gaming_Input_IFlightStick::GetButtonLabel(winrt::Windows::Gaming::Input::FlightStickButtons const& button) const + template auto consume_Windows_Gaming_Input_IFlightStick::GetButtonLabel(winrt::Windows::Gaming::Input::FlightStickButtons const& button) const { winrt::Windows::Gaming::Input::GameControllerButtonLabel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IFlightStick)->GetButtonLabel(static_cast(button), reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::FlightStickReading) consume_Windows_Gaming_Input_IFlightStick::GetCurrentReading() const + template auto consume_Windows_Gaming_Input_IFlightStick::GetCurrentReading() const { winrt::Windows::Gaming::Input::FlightStickReading value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IFlightStick)->GetCurrentReading(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IFlightStickStatics::FlightStickAdded(winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IFlightStickStatics::FlightStickAdded(winrt::Windows::Foundation::EventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IFlightStickStatics)->add_FlightStickAdded(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Input_IFlightStickStatics::FlightStickAdded_revoker consume_Windows_Gaming_Input_IFlightStickStatics::FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IFlightStickStatics::FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const { return impl::make_event_revoker(this, FlightStickAdded(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IFlightStickStatics::FlightStickAdded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Input_IFlightStickStatics::FlightStickAdded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IFlightStickStatics)->remove_FlightStickAdded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IFlightStickStatics::FlightStickRemoved(winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IFlightStickStatics::FlightStickRemoved(winrt::Windows::Foundation::EventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IFlightStickStatics)->add_FlightStickRemoved(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Input_IFlightStickStatics::FlightStickRemoved_revoker consume_Windows_Gaming_Input_IFlightStickStatics::FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IFlightStickStatics::FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const { return impl::make_event_revoker(this, FlightStickRemoved(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IFlightStickStatics::FlightStickRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Input_IFlightStickStatics::FlightStickRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IFlightStickStatics)->remove_FlightStickRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Gaming_Input_IFlightStickStatics::FlightSticks() const + template auto consume_Windows_Gaming_Input_IFlightStickStatics::FlightSticks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IFlightStickStatics)->get_FlightSticks(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::FlightStick) consume_Windows_Gaming_Input_IFlightStickStatics::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const + template auto consume_Windows_Gaming_Input_IFlightStickStatics::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IFlightStickStatics)->FromGameController(*(void**)(&gameController), &value)); return winrt::Windows::Gaming::Input::FlightStick{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IGameController::HeadsetConnected(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Gaming_Input_IGameController::HeadsetConnected(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGameController)->add_HeadsetConnected(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Input_IGameController::HeadsetConnected_revoker consume_Windows_Gaming_Input_IGameController::HeadsetConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Gaming_Input_IGameController::HeadsetConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, HeadsetConnected(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IGameController::HeadsetConnected(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Input_IGameController::HeadsetConnected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGameController)->remove_HeadsetConnected(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IGameController::HeadsetDisconnected(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Gaming_Input_IGameController::HeadsetDisconnected(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGameController)->add_HeadsetDisconnected(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Input_IGameController::HeadsetDisconnected_revoker consume_Windows_Gaming_Input_IGameController::HeadsetDisconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Gaming_Input_IGameController::HeadsetDisconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, HeadsetDisconnected(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IGameController::HeadsetDisconnected(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Input_IGameController::HeadsetDisconnected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGameController)->remove_HeadsetDisconnected(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IGameController::UserChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Gaming_Input_IGameController::UserChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGameController)->add_UserChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Input_IGameController::UserChanged_revoker consume_Windows_Gaming_Input_IGameController::UserChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Gaming_Input_IGameController::UserChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, UserChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IGameController::UserChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Input_IGameController::UserChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGameController)->remove_UserChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::Headset) consume_Windows_Gaming_Input_IGameController::Headset() const + template auto consume_Windows_Gaming_Input_IGameController::Headset() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGameController)->get_Headset(&value)); return winrt::Windows::Gaming::Input::Headset{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Input_IGameController::IsWireless() const + template auto consume_Windows_Gaming_Input_IGameController::IsWireless() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGameController)->get_IsWireless(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Gaming_Input_IGameController::User() const + template auto consume_Windows_Gaming_Input_IGameController::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGameController)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Power::BatteryReport) consume_Windows_Gaming_Input_IGameControllerBatteryInfo::TryGetBatteryReport() const + template auto consume_Windows_Gaming_Input_IGameControllerBatteryInfo::TryGetBatteryReport() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGameControllerBatteryInfo)->TryGetBatteryReport(&value)); return winrt::Windows::Devices::Power::BatteryReport{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GamepadVibration) consume_Windows_Gaming_Input_IGamepad::Vibration() const + template auto consume_Windows_Gaming_Input_IGamepad::Vibration() const { winrt::Windows::Gaming::Input::GamepadVibration value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGamepad)->get_Vibration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IGamepad::Vibration(winrt::Windows::Gaming::Input::GamepadVibration const& value) const + template auto consume_Windows_Gaming_Input_IGamepad::Vibration(winrt::Windows::Gaming::Input::GamepadVibration const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGamepad)->put_Vibration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GamepadReading) consume_Windows_Gaming_Input_IGamepad::GetCurrentReading() const + template auto consume_Windows_Gaming_Input_IGamepad::GetCurrentReading() const { winrt::Windows::Gaming::Input::GamepadReading value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGamepad)->GetCurrentReading(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) consume_Windows_Gaming_Input_IGamepad2::GetButtonLabel(winrt::Windows::Gaming::Input::GamepadButtons const& button) const + template auto consume_Windows_Gaming_Input_IGamepad2::GetButtonLabel(winrt::Windows::Gaming::Input::GamepadButtons const& button) const { winrt::Windows::Gaming::Input::GameControllerButtonLabel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGamepad2)->GetButtonLabel(static_cast(button), reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IGamepadStatics::GamepadAdded(winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IGamepadStatics::GamepadAdded(winrt::Windows::Foundation::EventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGamepadStatics)->add_GamepadAdded(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Input_IGamepadStatics::GamepadAdded_revoker consume_Windows_Gaming_Input_IGamepadStatics::GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IGamepadStatics::GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const { return impl::make_event_revoker(this, GamepadAdded(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IGamepadStatics::GamepadAdded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Input_IGamepadStatics::GamepadAdded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGamepadStatics)->remove_GamepadAdded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IGamepadStatics::GamepadRemoved(winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IGamepadStatics::GamepadRemoved(winrt::Windows::Foundation::EventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGamepadStatics)->add_GamepadRemoved(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Input_IGamepadStatics::GamepadRemoved_revoker consume_Windows_Gaming_Input_IGamepadStatics::GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IGamepadStatics::GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const { return impl::make_event_revoker(this, GamepadRemoved(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IGamepadStatics::GamepadRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Input_IGamepadStatics::GamepadRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGamepadStatics)->remove_GamepadRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Gaming_Input_IGamepadStatics::Gamepads() const + template auto consume_Windows_Gaming_Input_IGamepadStatics::Gamepads() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGamepadStatics)->get_Gamepads(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::Gamepad) consume_Windows_Gaming_Input_IGamepadStatics2::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const + template auto consume_Windows_Gaming_Input_IGamepadStatics2::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGamepadStatics2)->FromGameController(*(void**)(&gameController), &value)); return winrt::Windows::Gaming::Input::Gamepad{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_Input_IHeadset::CaptureDeviceId() const + template auto consume_Windows_Gaming_Input_IHeadset::CaptureDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IHeadset)->get_CaptureDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_Input_IHeadset::RenderDeviceId() const + template auto consume_Windows_Gaming_Input_IHeadset::RenderDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IHeadset)->get_RenderDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Input_IRacingWheel::HasClutch() const + template auto consume_Windows_Gaming_Input_IRacingWheel::HasClutch() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheel)->get_HasClutch(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Input_IRacingWheel::HasHandbrake() const + template auto consume_Windows_Gaming_Input_IRacingWheel::HasHandbrake() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheel)->get_HasHandbrake(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Input_IRacingWheel::HasPatternShifter() const + template auto consume_Windows_Gaming_Input_IRacingWheel::HasPatternShifter() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheel)->get_HasPatternShifter(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Gaming_Input_IRacingWheel::MaxPatternShifterGear() const + template auto consume_Windows_Gaming_Input_IRacingWheel::MaxPatternShifterGear() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheel)->get_MaxPatternShifterGear(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Gaming_Input_IRacingWheel::MaxWheelAngle() const + template auto consume_Windows_Gaming_Input_IRacingWheel::MaxWheelAngle() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheel)->get_MaxWheelAngle(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor) consume_Windows_Gaming_Input_IRacingWheel::WheelMotor() const + template auto consume_Windows_Gaming_Input_IRacingWheel::WheelMotor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheel)->get_WheelMotor(&value)); return winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) consume_Windows_Gaming_Input_IRacingWheel::GetButtonLabel(winrt::Windows::Gaming::Input::RacingWheelButtons const& button) const + template auto consume_Windows_Gaming_Input_IRacingWheel::GetButtonLabel(winrt::Windows::Gaming::Input::RacingWheelButtons const& button) const { winrt::Windows::Gaming::Input::GameControllerButtonLabel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheel)->GetButtonLabel(static_cast(button), reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::RacingWheelReading) consume_Windows_Gaming_Input_IRacingWheel::GetCurrentReading() const + template auto consume_Windows_Gaming_Input_IRacingWheel::GetCurrentReading() const { winrt::Windows::Gaming::Input::RacingWheelReading value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheel)->GetCurrentReading(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IRacingWheelStatics::RacingWheelAdded(winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IRacingWheelStatics::RacingWheelAdded(winrt::Windows::Foundation::EventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheelStatics)->add_RacingWheelAdded(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Input_IRacingWheelStatics::RacingWheelAdded_revoker consume_Windows_Gaming_Input_IRacingWheelStatics::RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IRacingWheelStatics::RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const { return impl::make_event_revoker(this, RacingWheelAdded(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IRacingWheelStatics::RacingWheelAdded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Input_IRacingWheelStatics::RacingWheelAdded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheelStatics)->remove_RacingWheelAdded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IRacingWheelStatics::RacingWheelRemoved(winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IRacingWheelStatics::RacingWheelRemoved(winrt::Windows::Foundation::EventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheelStatics)->add_RacingWheelRemoved(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Input_IRacingWheelStatics::RacingWheelRemoved_revoker consume_Windows_Gaming_Input_IRacingWheelStatics::RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IRacingWheelStatics::RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const { return impl::make_event_revoker(this, RacingWheelRemoved(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IRacingWheelStatics::RacingWheelRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Input_IRacingWheelStatics::RacingWheelRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheelStatics)->remove_RacingWheelRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Gaming_Input_IRacingWheelStatics::RacingWheels() const + template auto consume_Windows_Gaming_Input_IRacingWheelStatics::RacingWheels() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheelStatics)->get_RacingWheels(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::RacingWheel) consume_Windows_Gaming_Input_IRacingWheelStatics2::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const + template auto consume_Windows_Gaming_Input_IRacingWheelStatics2::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheelStatics2)->FromGameController(*(void**)(&gameController), &value)); return winrt::Windows::Gaming::Input::RacingWheel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Gaming_Input_IRawGameController::AxisCount() const + template auto consume_Windows_Gaming_Input_IRawGameController::AxisCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController)->get_AxisCount(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Gaming_Input_IRawGameController::ButtonCount() const + template auto consume_Windows_Gaming_Input_IRawGameController::ButtonCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController)->get_ButtonCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Gaming_Input_IRawGameController::ForceFeedbackMotors() const + template auto consume_Windows_Gaming_Input_IRawGameController::ForceFeedbackMotors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController)->get_ForceFeedbackMotors(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Gaming_Input_IRawGameController::HardwareProductId() const + template auto consume_Windows_Gaming_Input_IRawGameController::HardwareProductId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController)->get_HardwareProductId(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Gaming_Input_IRawGameController::HardwareVendorId() const + template auto consume_Windows_Gaming_Input_IRawGameController::HardwareVendorId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController)->get_HardwareVendorId(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Gaming_Input_IRawGameController::SwitchCount() const + template auto consume_Windows_Gaming_Input_IRawGameController::SwitchCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController)->get_SwitchCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) consume_Windows_Gaming_Input_IRawGameController::GetButtonLabel(int32_t buttonIndex) const + template auto consume_Windows_Gaming_Input_IRawGameController::GetButtonLabel(int32_t buttonIndex) const { winrt::Windows::Gaming::Input::GameControllerButtonLabel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController)->GetButtonLabel(buttonIndex, reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Gaming_Input_IRawGameController::GetCurrentReading(array_view buttonArray, array_view switchArray, array_view axisArray) const + template auto consume_Windows_Gaming_Input_IRawGameController::GetCurrentReading(array_view buttonArray, array_view switchArray, array_view axisArray) const { uint64_t timestamp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController)->GetCurrentReading(buttonArray.size(), put_abi(buttonArray), switchArray.size(), put_abi(switchArray), axisArray.size(), put_abi(axisArray), ×tamp)); return timestamp; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerSwitchKind) consume_Windows_Gaming_Input_IRawGameController::GetSwitchKind(int32_t switchIndex) const + template auto consume_Windows_Gaming_Input_IRawGameController::GetSwitchKind(int32_t switchIndex) const { winrt::Windows::Gaming::Input::GameControllerSwitchKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController)->GetSwitchKind(switchIndex, reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Gaming_Input_IRawGameController2::SimpleHapticsControllers() const + template auto consume_Windows_Gaming_Input_IRawGameController2::SimpleHapticsControllers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController2)->get_SimpleHapticsControllers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_Input_IRawGameController2::NonRoamableId() const + template auto consume_Windows_Gaming_Input_IRawGameController2::NonRoamableId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController2)->get_NonRoamableId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_Input_IRawGameController2::DisplayName() const + template auto consume_Windows_Gaming_Input_IRawGameController2::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController2)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IRawGameControllerStatics::RawGameControllerAdded(winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IRawGameControllerStatics::RawGameControllerAdded(winrt::Windows::Foundation::EventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameControllerStatics)->add_RawGameControllerAdded(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Input_IRawGameControllerStatics::RawGameControllerAdded_revoker consume_Windows_Gaming_Input_IRawGameControllerStatics::RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IRawGameControllerStatics::RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const { return impl::make_event_revoker(this, RawGameControllerAdded(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IRawGameControllerStatics::RawGameControllerAdded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Input_IRawGameControllerStatics::RawGameControllerAdded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameControllerStatics)->remove_RawGameControllerAdded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IRawGameControllerStatics::RawGameControllerRemoved(winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IRawGameControllerStatics::RawGameControllerRemoved(winrt::Windows::Foundation::EventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameControllerStatics)->add_RawGameControllerRemoved(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Input_IRawGameControllerStatics::RawGameControllerRemoved_revoker consume_Windows_Gaming_Input_IRawGameControllerStatics::RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IRawGameControllerStatics::RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const { return impl::make_event_revoker(this, RawGameControllerRemoved(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IRawGameControllerStatics::RawGameControllerRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Input_IRawGameControllerStatics::RawGameControllerRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameControllerStatics)->remove_RawGameControllerRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Gaming_Input_IRawGameControllerStatics::RawGameControllers() const + template auto consume_Windows_Gaming_Input_IRawGameControllerStatics::RawGameControllers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameControllerStatics)->get_RawGameControllers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::RawGameController) consume_Windows_Gaming_Input_IRawGameControllerStatics::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const + template auto consume_Windows_Gaming_Input_IRawGameControllerStatics::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameControllerStatics)->FromGameController(*(void**)(&gameController), &value)); return winrt::Windows::Gaming::Input::RawGameController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::UINavigationReading) consume_Windows_Gaming_Input_IUINavigationController::GetCurrentReading() const + template auto consume_Windows_Gaming_Input_IUINavigationController::GetCurrentReading() const { winrt::Windows::Gaming::Input::UINavigationReading value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IUINavigationController)->GetCurrentReading(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) consume_Windows_Gaming_Input_IUINavigationController::GetOptionalButtonLabel(winrt::Windows::Gaming::Input::OptionalUINavigationButtons const& button) const + template auto consume_Windows_Gaming_Input_IUINavigationController::GetOptionalButtonLabel(winrt::Windows::Gaming::Input::OptionalUINavigationButtons const& button) const { winrt::Windows::Gaming::Input::GameControllerButtonLabel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IUINavigationController)->GetOptionalButtonLabel(static_cast(button), reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) consume_Windows_Gaming_Input_IUINavigationController::GetRequiredButtonLabel(winrt::Windows::Gaming::Input::RequiredUINavigationButtons const& button) const + template auto consume_Windows_Gaming_Input_IUINavigationController::GetRequiredButtonLabel(winrt::Windows::Gaming::Input::RequiredUINavigationButtons const& button) const { winrt::Windows::Gaming::Input::GameControllerButtonLabel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IUINavigationController)->GetRequiredButtonLabel(static_cast(button), reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IUINavigationControllerStatics::UINavigationControllerAdded(winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IUINavigationControllerStatics::UINavigationControllerAdded(winrt::Windows::Foundation::EventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IUINavigationControllerStatics)->add_UINavigationControllerAdded(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Input_IUINavigationControllerStatics::UINavigationControllerAdded_revoker consume_Windows_Gaming_Input_IUINavigationControllerStatics::UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IUINavigationControllerStatics::UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const { return impl::make_event_revoker(this, UINavigationControllerAdded(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IUINavigationControllerStatics::UINavigationControllerAdded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Input_IUINavigationControllerStatics::UINavigationControllerAdded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IUINavigationControllerStatics)->remove_UINavigationControllerAdded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IUINavigationControllerStatics::UINavigationControllerRemoved(winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IUINavigationControllerStatics::UINavigationControllerRemoved(winrt::Windows::Foundation::EventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IUINavigationControllerStatics)->add_UINavigationControllerRemoved(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Input_IUINavigationControllerStatics::UINavigationControllerRemoved_revoker consume_Windows_Gaming_Input_IUINavigationControllerStatics::UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Gaming_Input_IUINavigationControllerStatics::UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const { return impl::make_event_revoker(this, UINavigationControllerRemoved(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IUINavigationControllerStatics::UINavigationControllerRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Input_IUINavigationControllerStatics::UINavigationControllerRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IUINavigationControllerStatics)->remove_UINavigationControllerRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Gaming_Input_IUINavigationControllerStatics::UINavigationControllers() const + template auto consume_Windows_Gaming_Input_IUINavigationControllerStatics::UINavigationControllers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IUINavigationControllerStatics)->get_UINavigationControllers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::UINavigationController) consume_Windows_Gaming_Input_IUINavigationControllerStatics2::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const + template auto consume_Windows_Gaming_Input_IUINavigationControllerStatics2::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IUINavigationControllerStatics2)->FromGameController(*(void**)(&gameController), &value)); @@ -1426,10 +1426,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input { return impl::call_factory([&](IArcadeStickStatics const& f) { return f.ArcadeStickAdded(value); }); } - inline ArcadeStick::ArcadeStickAdded_revoker ArcadeStick::ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) + inline auto ArcadeStick::ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) { auto f = get_activation_factory(); - return { f, f.ArcadeStickAdded(value) }; + return ArcadeStick::ArcadeStickAdded_revoker{ f, f.ArcadeStickAdded(value) }; } inline auto ArcadeStick::ArcadeStickAdded(winrt::event_token const& token) { @@ -1439,10 +1439,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input { return impl::call_factory([&](IArcadeStickStatics const& f) { return f.ArcadeStickRemoved(value); }); } - inline ArcadeStick::ArcadeStickRemoved_revoker ArcadeStick::ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) + inline auto ArcadeStick::ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) { auto f = get_activation_factory(); - return { f, f.ArcadeStickRemoved(value) }; + return ArcadeStick::ArcadeStickRemoved_revoker{ f, f.ArcadeStickRemoved(value) }; } inline auto ArcadeStick::ArcadeStickRemoved(winrt::event_token const& token) { @@ -1460,10 +1460,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input { return impl::call_factory([&](IFlightStickStatics const& f) { return f.FlightStickAdded(value); }); } - inline FlightStick::FlightStickAdded_revoker FlightStick::FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) + inline auto FlightStick::FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) { auto f = get_activation_factory(); - return { f, f.FlightStickAdded(value) }; + return FlightStick::FlightStickAdded_revoker{ f, f.FlightStickAdded(value) }; } inline auto FlightStick::FlightStickAdded(winrt::event_token const& token) { @@ -1473,10 +1473,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input { return impl::call_factory([&](IFlightStickStatics const& f) { return f.FlightStickRemoved(value); }); } - inline FlightStick::FlightStickRemoved_revoker FlightStick::FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) + inline auto FlightStick::FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) { auto f = get_activation_factory(); - return { f, f.FlightStickRemoved(value) }; + return FlightStick::FlightStickRemoved_revoker{ f, f.FlightStickRemoved(value) }; } inline auto FlightStick::FlightStickRemoved(winrt::event_token const& token) { @@ -1494,10 +1494,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input { return impl::call_factory([&](IGamepadStatics const& f) { return f.GamepadAdded(value); }); } - inline Gamepad::GamepadAdded_revoker Gamepad::GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) + inline auto Gamepad::GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) { auto f = get_activation_factory(); - return { f, f.GamepadAdded(value) }; + return Gamepad::GamepadAdded_revoker{ f, f.GamepadAdded(value) }; } inline auto Gamepad::GamepadAdded(winrt::event_token const& token) { @@ -1507,10 +1507,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input { return impl::call_factory([&](IGamepadStatics const& f) { return f.GamepadRemoved(value); }); } - inline Gamepad::GamepadRemoved_revoker Gamepad::GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) + inline auto Gamepad::GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) { auto f = get_activation_factory(); - return { f, f.GamepadRemoved(value) }; + return Gamepad::GamepadRemoved_revoker{ f, f.GamepadRemoved(value) }; } inline auto Gamepad::GamepadRemoved(winrt::event_token const& token) { @@ -1528,10 +1528,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input { return impl::call_factory([&](IRacingWheelStatics const& f) { return f.RacingWheelAdded(value); }); } - inline RacingWheel::RacingWheelAdded_revoker RacingWheel::RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) + inline auto RacingWheel::RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) { auto f = get_activation_factory(); - return { f, f.RacingWheelAdded(value) }; + return RacingWheel::RacingWheelAdded_revoker{ f, f.RacingWheelAdded(value) }; } inline auto RacingWheel::RacingWheelAdded(winrt::event_token const& token) { @@ -1541,10 +1541,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input { return impl::call_factory([&](IRacingWheelStatics const& f) { return f.RacingWheelRemoved(value); }); } - inline RacingWheel::RacingWheelRemoved_revoker RacingWheel::RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) + inline auto RacingWheel::RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) { auto f = get_activation_factory(); - return { f, f.RacingWheelRemoved(value) }; + return RacingWheel::RacingWheelRemoved_revoker{ f, f.RacingWheelRemoved(value) }; } inline auto RacingWheel::RacingWheelRemoved(winrt::event_token const& token) { @@ -1562,10 +1562,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input { return impl::call_factory([&](IRawGameControllerStatics const& f) { return f.RawGameControllerAdded(value); }); } - inline RawGameController::RawGameControllerAdded_revoker RawGameController::RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) + inline auto RawGameController::RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) { auto f = get_activation_factory(); - return { f, f.RawGameControllerAdded(value) }; + return RawGameController::RawGameControllerAdded_revoker{ f, f.RawGameControllerAdded(value) }; } inline auto RawGameController::RawGameControllerAdded(winrt::event_token const& token) { @@ -1575,10 +1575,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input { return impl::call_factory([&](IRawGameControllerStatics const& f) { return f.RawGameControllerRemoved(value); }); } - inline RawGameController::RawGameControllerRemoved_revoker RawGameController::RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) + inline auto RawGameController::RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) { auto f = get_activation_factory(); - return { f, f.RawGameControllerRemoved(value) }; + return RawGameController::RawGameControllerRemoved_revoker{ f, f.RawGameControllerRemoved(value) }; } inline auto RawGameController::RawGameControllerRemoved(winrt::event_token const& token) { @@ -1596,10 +1596,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input { return impl::call_factory([&](IUINavigationControllerStatics const& f) { return f.UINavigationControllerAdded(value); }); } - inline UINavigationController::UINavigationControllerAdded_revoker UINavigationController::UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) + inline auto UINavigationController::UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) { auto f = get_activation_factory(); - return { f, f.UINavigationControllerAdded(value) }; + return UINavigationController::UINavigationControllerAdded_revoker{ f, f.UINavigationControllerAdded(value) }; } inline auto UINavigationController::UINavigationControllerAdded(winrt::event_token const& token) { @@ -1609,10 +1609,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input { return impl::call_factory([&](IUINavigationControllerStatics const& f) { return f.UINavigationControllerRemoved(value); }); } - inline UINavigationController::UINavigationControllerRemoved_revoker UINavigationController::UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) + inline auto UINavigationController::UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) { auto f = get_activation_factory(); - return { f, f.UINavigationControllerRemoved(value) }; + return UINavigationController::UINavigationControllerRemoved_revoker{ f, f.UINavigationControllerRemoved(value) }; } inline auto UINavigationController::UINavigationControllerRemoved(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Preview.GamesEnumeration.h b/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Preview.GamesEnumeration.h index 42577105..eb1b360c 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Preview.GamesEnumeration.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Preview.GamesEnumeration.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Preview_GamesEnumeration_H #define WINRT_Windows_Gaming_Preview_GamesEnumeration_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.ApplicationModel.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,255 +13,255 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Gaming.Preview.GamesEnumeration.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppDisplayInfo) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry::DisplayInfo() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry::DisplayInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry)->get_DisplayInfo(&value)); return winrt::Windows::ApplicationModel::AppDisplayInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry::LaunchAsync() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry::LaunchAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry)->LaunchAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListCategory) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry::Category() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry::Category() const { winrt::Windows::Gaming::Preview::GamesEnumeration::GameListCategory value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry)->get_Category(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry::Properties() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry::SetCategoryAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListCategory const& value) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry::SetCategoryAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListCategory const& value) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry)->SetCategoryAsync(static_cast(value), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntryLaunchableState) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2::LaunchableState() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2::LaunchableState() const { winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntryLaunchableState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry2)->get_LaunchableState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2::LauncherExecutable() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2::LauncherExecutable() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry2)->get_LauncherExecutable(&value)); return winrt::Windows::Storage::IStorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2::LaunchParameters() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2::LaunchParameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry2)->get_LaunchParameters(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2::SetLauncherExecutableFileAsync(winrt::Windows::Storage::IStorageFile const& executableFile) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2::SetLauncherExecutableFileAsync(winrt::Windows::Storage::IStorageFile const& executableFile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry2)->SetLauncherExecutableFileAsync(*(void**)(&executableFile), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2::SetLauncherExecutableFileAsync(winrt::Windows::Storage::IStorageFile const& executableFile, param::hstring const& launchParams) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2::SetLauncherExecutableFileAsync(winrt::Windows::Storage::IStorageFile const& executableFile, param::hstring const& launchParams) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry2)->SetLauncherExecutableFileWithParamsAsync(*(void**)(&executableFile), *(void**)(&launchParams), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2::TitleId() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2::TitleId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry2)->get_TitleId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2::SetTitleIdAsync(param::hstring const& id) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2::SetTitleIdAsync(param::hstring const& id) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry2)->SetTitleIdAsync(*(void**)(&id), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Preview::GamesEnumeration::GameModeConfiguration) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2::GameModeConfiguration() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2::GameModeConfiguration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry2)->get_GameModeConfiguration(&value)); return winrt::Windows::Gaming::Preview::GamesEnumeration::GameModeConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::FindAllAsync() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::FindAllAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics)->FindAllAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::FindAllAsync(param::hstring const& packageFamilyName) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::FindAllAsync(param::hstring const& packageFamilyName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics)->FindAllAsyncPackageFamilyName(*(void**)(&packageFamilyName), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameAdded(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameAdded(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics)->add_GameAdded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameAdded_revoker consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameAdded(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameAdded(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const { return impl::make_event_revoker(this, GameAdded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameAdded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameAdded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics)->remove_GameAdded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameRemoved(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameRemoved(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics)->add_GameRemoved(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameRemoved_revoker consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameRemoved(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameRemoved(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler) const { return impl::make_event_revoker(this, GameRemoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics)->remove_GameRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameUpdated(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameUpdated(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics)->add_GameUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameUpdated_revoker consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameUpdated(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameUpdated(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const { return impl::make_event_revoker(this, GameUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics::GameUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics)->remove_GameUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics2::MergeEntriesAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& left, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& right) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics2::MergeEntriesAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& left, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& right) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics2)->MergeEntriesAsync(*(void**)(&left), *(void**)(&right), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics2::UnmergeEntryAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& mergedEntry) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics2::UnmergeEntryAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& mergedEntry) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics2)->UnmergeEntryAsync(*(void**)(&mergedEntry), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::IsEnabled() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::IsEnabled(bool value) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::RelatedProcessNames() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::RelatedProcessNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_RelatedProcessNames(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::PercentGpuTimeAllocatedToGame() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::PercentGpuTimeAllocatedToGame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_PercentGpuTimeAllocatedToGame(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::PercentGpuTimeAllocatedToGame(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::PercentGpuTimeAllocatedToGame(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->put_PercentGpuTimeAllocatedToGame(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::PercentGpuMemoryAllocatedToGame() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::PercentGpuMemoryAllocatedToGame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_PercentGpuMemoryAllocatedToGame(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::PercentGpuMemoryAllocatedToGame(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::PercentGpuMemoryAllocatedToGame(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->put_PercentGpuMemoryAllocatedToGame(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::PercentGpuMemoryAllocatedToSystemCompositor() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::PercentGpuMemoryAllocatedToSystemCompositor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_PercentGpuMemoryAllocatedToSystemCompositor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::PercentGpuMemoryAllocatedToSystemCompositor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::PercentGpuMemoryAllocatedToSystemCompositor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->put_PercentGpuMemoryAllocatedToSystemCompositor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::MaxCpuCount() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::MaxCpuCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_MaxCpuCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::MaxCpuCount(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::MaxCpuCount(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->put_MaxCpuCount(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::CpuExclusivityMaskLow() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::CpuExclusivityMaskLow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_CpuExclusivityMaskLow(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::CpuExclusivityMaskLow(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::CpuExclusivityMaskLow(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->put_CpuExclusivityMaskLow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::CpuExclusivityMaskHigh() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::CpuExclusivityMaskHigh() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_CpuExclusivityMaskHigh(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::CpuExclusivityMaskHigh(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::CpuExclusivityMaskHigh(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->put_CpuExclusivityMaskHigh(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::AffinitizeToExclusiveCpus() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::AffinitizeToExclusiveCpus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_AffinitizeToExclusiveCpus(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::AffinitizeToExclusiveCpus(bool value) const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::AffinitizeToExclusiveCpus(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->put_AffinitizeToExclusiveCpus(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::SaveAsync() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration::SaveAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->SaveAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfiguration::GamingRelatedProcessNames() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfiguration::GamingRelatedProcessNames() const { void* processNames{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeUserConfiguration)->get_GamingRelatedProcessNames(&processNames)); return winrt::Windows::Foundation::Collections::IVector{ processNames, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfiguration::SaveAsync() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfiguration::SaveAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeUserConfiguration)->SaveAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Preview::GamesEnumeration::GameModeUserConfiguration) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfigurationStatics::GetDefault() const + template auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfigurationStatics::GetDefault() const { void* userConfiguration{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeUserConfigurationStatics)->GetDefault(&userConfiguration)); @@ -678,10 +678,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Preview::GamesEnumeration { return impl::call_factory([&](IGameListStatics const& f) { return f.GameAdded(handler); }); } - inline GameList::GameAdded_revoker GameList::GameAdded(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) + inline auto GameList::GameAdded(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.GameAdded(handler) }; + return GameList::GameAdded_revoker{ f, f.GameAdded(handler) }; } inline auto GameList::GameAdded(winrt::event_token const& token) { @@ -691,10 +691,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Preview::GamesEnumeration { return impl::call_factory([&](IGameListStatics const& f) { return f.GameRemoved(handler); }); } - inline GameList::GameRemoved_revoker GameList::GameRemoved(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler) + inline auto GameList::GameRemoved(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.GameRemoved(handler) }; + return GameList::GameRemoved_revoker{ f, f.GameRemoved(handler) }; } inline auto GameList::GameRemoved(winrt::event_token const& token) { @@ -704,10 +704,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Preview::GamesEnumeration { return impl::call_factory([&](IGameListStatics const& f) { return f.GameUpdated(handler); }); } - inline GameList::GameUpdated_revoker GameList::GameUpdated(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) + inline auto GameList::GameUpdated(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.GameUpdated(handler) }; + return GameList::GameUpdated_revoker{ f, f.GameUpdated(handler) }; } inline auto GameList::GameUpdated(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.UI.h b/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.UI.h index 9b7c80f4..78a4fdb5 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.UI.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.UI.h @@ -1,132 +1,132 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_UI_H #define WINRT_Windows_Gaming_UI_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.ApplicationModel.Activation.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Gaming.UI.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_UI_IGameBarStatics::VisibilityChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Gaming_UI_IGameBarStatics::VisibilityChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameBarStatics)->add_VisibilityChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Gaming_UI_IGameBarStatics::VisibilityChanged_revoker consume_Windows_Gaming_UI_IGameBarStatics::VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Gaming_UI_IGameBarStatics::VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, VisibilityChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_UI_IGameBarStatics::VisibilityChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_UI_IGameBarStatics::VisibilityChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameBarStatics)->remove_VisibilityChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_UI_IGameBarStatics::IsInputRedirectedChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Gaming_UI_IGameBarStatics::IsInputRedirectedChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameBarStatics)->add_IsInputRedirectedChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Gaming_UI_IGameBarStatics::IsInputRedirectedChanged_revoker consume_Windows_Gaming_UI_IGameBarStatics::IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Gaming_UI_IGameBarStatics::IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, IsInputRedirectedChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_UI_IGameBarStatics::IsInputRedirectedChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_UI_IGameBarStatics::IsInputRedirectedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameBarStatics)->remove_IsInputRedirectedChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_UI_IGameBarStatics::Visible() const + template auto consume_Windows_Gaming_UI_IGameBarStatics::Visible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameBarStatics)->get_Visible(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_UI_IGameBarStatics::IsInputRedirected() const + template auto consume_Windows_Gaming_UI_IGameBarStatics::IsInputRedirected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameBarStatics)->get_IsInputRedirected(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs::AppId() const + template auto consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs::AppId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatMessageReceivedEventArgs)->get_AppId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs::AppDisplayName() const + template auto consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs::AppDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatMessageReceivedEventArgs)->get_AppDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs::SenderName() const + template auto consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs::SenderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatMessageReceivedEventArgs)->get_SenderName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs::Message() const + template auto consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatMessageReceivedEventArgs)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::UI::GameChatMessageOrigin) consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs::Origin() const + template auto consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs::Origin() const { winrt::Windows::Gaming::UI::GameChatMessageOrigin value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatMessageReceivedEventArgs)->get_Origin(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::UI::GameChatOverlayPosition) consume_Windows_Gaming_UI_IGameChatOverlay::DesiredPosition() const + template auto consume_Windows_Gaming_UI_IGameChatOverlay::DesiredPosition() const { winrt::Windows::Gaming::UI::GameChatOverlayPosition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatOverlay)->get_DesiredPosition(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_UI_IGameChatOverlay::DesiredPosition(winrt::Windows::Gaming::UI::GameChatOverlayPosition const& value) const + template auto consume_Windows_Gaming_UI_IGameChatOverlay::DesiredPosition(winrt::Windows::Gaming::UI::GameChatOverlayPosition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatOverlay)->put_DesiredPosition(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_UI_IGameChatOverlay::AddMessage(param::hstring const& sender, param::hstring const& message, winrt::Windows::Gaming::UI::GameChatMessageOrigin const& origin) const + template auto consume_Windows_Gaming_UI_IGameChatOverlay::AddMessage(param::hstring const& sender, param::hstring const& message, winrt::Windows::Gaming::UI::GameChatMessageOrigin const& origin) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatOverlay)->AddMessage(*(void**)(&sender), *(void**)(&message), static_cast(origin))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_UI_IGameChatOverlayMessageSource::MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Gaming_UI_IGameChatOverlayMessageSource::MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatOverlayMessageSource)->add_MessageReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Gaming_UI_IGameChatOverlayMessageSource::MessageReceived_revoker consume_Windows_Gaming_UI_IGameChatOverlayMessageSource::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Gaming_UI_IGameChatOverlayMessageSource::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MessageReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_UI_IGameChatOverlayMessageSource::MessageReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Gaming_UI_IGameChatOverlayMessageSource::MessageReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatOverlayMessageSource)->remove_MessageReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_UI_IGameChatOverlayMessageSource::SetDelayBeforeClosingAfterMessageReceived(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Gaming_UI_IGameChatOverlayMessageSource::SetDelayBeforeClosingAfterMessageReceived(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatOverlayMessageSource)->SetDelayBeforeClosingAfterMessageReceived(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::UI::GameChatOverlay) consume_Windows_Gaming_UI_IGameChatOverlayStatics::GetDefault() const + template auto consume_Windows_Gaming_UI_IGameChatOverlayStatics::GetDefault() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatOverlayStatics)->GetDefault(&value)); return winrt::Windows::Gaming::UI::GameChatOverlay{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Gaming_UI_IGameUIProviderActivatedEventArgs::GameUIArgs() const + template auto consume_Windows_Gaming_UI_IGameUIProviderActivatedEventArgs::GameUIArgs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameUIProviderActivatedEventArgs)->get_GameUIArgs(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Gaming_UI_IGameUIProviderActivatedEventArgs::ReportCompleted(winrt::Windows::Foundation::Collections::ValueSet const& results) const + template auto consume_Windows_Gaming_UI_IGameUIProviderActivatedEventArgs::ReportCompleted(winrt::Windows::Foundation::Collections::ValueSet const& results) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameUIProviderActivatedEventArgs)->ReportCompleted(*(void**)(&results))); } @@ -319,10 +319,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::UI { return impl::call_factory([&](IGameBarStatics const& f) { return f.VisibilityChanged(handler); }); } - inline GameBar::VisibilityChanged_revoker GameBar::VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto GameBar::VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.VisibilityChanged(handler) }; + return GameBar::VisibilityChanged_revoker{ f, f.VisibilityChanged(handler) }; } inline auto GameBar::VisibilityChanged(winrt::event_token const& token) { @@ -332,10 +332,10 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::UI { return impl::call_factory([&](IGameBarStatics const& f) { return f.IsInputRedirectedChanged(handler); }); } - inline GameBar::IsInputRedirectedChanged_revoker GameBar::IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto GameBar::IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.IsInputRedirectedChanged(handler) }; + return GameBar::IsInputRedirectedChanged_revoker{ f, f.IsInputRedirectedChanged(handler) }; } inline auto GameBar::IsInputRedirectedChanged(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.XboxLive.Storage.h b/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.XboxLive.Storage.h index 6f6ec421..d6c656f3 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.XboxLive.Storage.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.XboxLive.Storage.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_XboxLive_Storage_H #define WINRT_Windows_Gaming_XboxLive_Storage_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" @@ -13,229 +13,229 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Gaming.XboxLive.Storage.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobGetResult::Status() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobGetResult::Status() const { winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobGetResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobGetResult::Value() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobGetResult::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobGetResult)->get_Value(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfo::Name() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfo::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfo)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfo::Size() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfo::Size() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfo)->get_Size(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoGetResult::Status() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoGetResult::Status() const { winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoGetResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoGetResult::Value() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoGetResult::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoGetResult)->get_Value(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoQuery::GetBlobInfoAsync() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoQuery::GetBlobInfoAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoQuery)->GetBlobInfoAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoQuery::GetBlobInfoAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoQuery::GetBlobInfoAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoQuery)->GetBlobInfoWithIndexAndMaxAsync(startIndex, maxNumberOfItems, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoQuery::GetItemCountAsync() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoQuery::GetItemCountAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoQuery)->GetItemCountAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer::Name() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainer)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveProvider) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer::Provider() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer::Provider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainer)->get_Provider(&value)); return winrt::Windows::Gaming::XboxLive::Storage::GameSaveProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer::SubmitUpdatesAsync(param::async_map_view const& blobsToWrite, param::async_iterable const& blobsToDelete, param::hstring const& displayName) const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer::SubmitUpdatesAsync(param::async_map_view const& blobsToWrite, param::async_iterable const& blobsToDelete, param::hstring const& displayName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainer)->SubmitUpdatesAsync(*(void**)(&blobsToWrite), *(void**)(&blobsToDelete), *(void**)(&displayName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer::ReadAsync(param::async_map_view const& blobsToRead) const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer::ReadAsync(param::async_map_view const& blobsToRead) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainer)->ReadAsync(*(void**)(&blobsToRead), &action)); return winrt::Windows::Foundation::IAsyncOperation{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer::GetAsync(param::async_iterable const& blobsToRead) const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer::GetAsync(param::async_iterable const& blobsToRead) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainer)->GetAsync(*(void**)(&blobsToRead), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer::SubmitPropertySetUpdatesAsync(winrt::Windows::Foundation::Collections::IPropertySet const& blobsToWrite, param::async_iterable const& blobsToDelete, param::hstring const& displayName) const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer::SubmitPropertySetUpdatesAsync(winrt::Windows::Foundation::Collections::IPropertySet const& blobsToWrite, param::async_iterable const& blobsToDelete, param::hstring const& displayName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainer)->SubmitPropertySetUpdatesAsync(*(void**)(&blobsToWrite), *(void**)(&blobsToDelete), *(void**)(&displayName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveBlobInfoQuery) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer::CreateBlobInfoQuery(param::hstring const& blobNamePrefix) const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer::CreateBlobInfoQuery(param::hstring const& blobNamePrefix) const { void* query{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainer)->CreateBlobInfoQuery(*(void**)(&blobNamePrefix), &query)); return winrt::Windows::Gaming::XboxLive::Storage::GameSaveBlobInfoQuery{ query, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo::Name() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfo)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo::TotalSize() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo::TotalSize() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfo)->get_TotalSize(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo::DisplayName() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfo)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo::LastModifiedTime() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo::LastModifiedTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfo)->get_LastModifiedTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo::NeedsSync() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo::NeedsSync() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfo)->get_NeedsSync(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoGetResult::Status() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoGetResult::Status() const { winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoGetResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoGetResult::Value() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoGetResult::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoGetResult)->get_Value(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoQuery::GetContainerInfoAsync() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoQuery::GetContainerInfoAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoQuery)->GetContainerInfoAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoQuery::GetContainerInfoAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoQuery::GetContainerInfoAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoQuery)->GetContainerInfoWithIndexAndMaxAsync(startIndex, maxNumberOfItems, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoQuery::GetItemCountAsync() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoQuery::GetItemCountAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoQuery)->GetItemCountAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus) consume_Windows_Gaming_XboxLive_Storage_IGameSaveOperationResult::Status() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveOperationResult::Status() const { winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveOperationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider::User() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProvider)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainer) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider::CreateContainer(param::hstring const& name) const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider::CreateContainer(param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProvider)->CreateContainer(*(void**)(&name), &result)); return winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider::DeleteContainerAsync(param::hstring const& name) const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider::DeleteContainerAsync(param::hstring const& name) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProvider)->DeleteContainerAsync(*(void**)(&name), &action)); return winrt::Windows::Foundation::IAsyncOperation{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfoQuery) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider::CreateContainerInfoQuery() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider::CreateContainerInfoQuery() const { void* query{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProvider)->CreateContainerInfoQuery(&query)); return winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfoQuery{ query, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfoQuery) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider::CreateContainerInfoQuery(param::hstring const& containerNamePrefix) const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider::CreateContainerInfoQuery(param::hstring const& containerNamePrefix) const { void* query{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProvider)->CreateContainerInfoQueryWithName(*(void**)(&containerNamePrefix), &query)); return winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfoQuery{ query, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider::GetRemainingBytesInQuotaAsync() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider::GetRemainingBytesInQuotaAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProvider)->GetRemainingBytesInQuotaAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider::ContainersChangedSinceLastSync() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider::ContainersChangedSinceLastSync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProvider)->get_ContainersChangedSinceLastSync(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderGetResult::Status() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderGetResult::Status() const { winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProviderGetResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveProvider) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderGetResult::Value() const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderGetResult::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProviderGetResult)->get_Value(&value)); return winrt::Windows::Gaming::XboxLive::Storage::GameSaveProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderStatics::GetForUserAsync(winrt::Windows::System::User const& user, param::hstring const& serviceConfigId) const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderStatics::GetForUserAsync(winrt::Windows::System::User const& user, param::hstring const& serviceConfigId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProviderStatics)->GetForUserAsync(*(void**)(&user), *(void**)(&serviceConfigId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderStatics::GetSyncOnDemandForUserAsync(winrt::Windows::System::User const& user, param::hstring const& serviceConfigId) const + template auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderStatics::GetSyncOnDemandForUserAsync(winrt::Windows::System::User const& user, param::hstring const& serviceConfigId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProviderStatics)->GetSyncOnDemandForUserAsync(*(void**)(&user), *(void**)(&serviceConfigId), &operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.Collation.h b/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.Collation.h index 1a83cb99..ebe8673c 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.Collation.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.Collation.h @@ -1,35 +1,35 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_Collation_H #define WINRT_Windows_Globalization_Collation_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Globalization.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Globalization.Collation.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_Collation_ICharacterGrouping::First() const + template auto consume_Windows_Globalization_Collation_ICharacterGrouping::First() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Collation::ICharacterGrouping)->get_First(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_Collation_ICharacterGrouping::Label() const + template auto consume_Windows_Globalization_Collation_ICharacterGrouping::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Collation::ICharacterGrouping)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_Collation_ICharacterGroupings::Lookup(param::hstring const& text) const + template auto consume_Windows_Globalization_Collation_ICharacterGroupings::Lookup(param::hstring const& text) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Collation::ICharacterGroupings)->Lookup(*(void**)(&text), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Collation::CharacterGroupings) consume_Windows_Globalization_Collation_ICharacterGroupingsFactory::Create(param::hstring const& language) const + template auto consume_Windows_Globalization_Collation_ICharacterGroupingsFactory::Create(param::hstring const& language) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Collation::ICharacterGroupingsFactory)->Create(*(void**)(&language), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.DateTimeFormatting.h b/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.DateTimeFormatting.h index c2ed37bd..f690df1f 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.DateTimeFormatting.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.DateTimeFormatting.h @@ -1,190 +1,190 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_DateTimeFormatting_H #define WINRT_Windows_Globalization_DateTimeFormatting_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Globalization.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Globalization.DateTimeFormatting.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::Languages() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::Languages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_Languages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::GeographicRegion() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::GeographicRegion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_GeographicRegion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::Calendar() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::Calendar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_Calendar(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::Clock() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::Clock() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_Clock(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::NumeralSystem() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::NumeralSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_NumeralSystem(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::NumeralSystem(param::hstring const& value) const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::NumeralSystem(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->put_NumeralSystem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::Patterns() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::Patterns() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_Patterns(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::Template() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::Template() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_Template(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::Format(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::Format(winrt::Windows::Foundation::DateTime const& value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->Format(impl::bind_in(value), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::YearFormat) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::IncludeYear() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::IncludeYear() const { winrt::Windows::Globalization::DateTimeFormatting::YearFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_IncludeYear(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::MonthFormat) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::IncludeMonth() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::IncludeMonth() const { winrt::Windows::Globalization::DateTimeFormatting::MonthFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_IncludeMonth(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::IncludeDayOfWeek() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::IncludeDayOfWeek() const { winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_IncludeDayOfWeek(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DayFormat) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::IncludeDay() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::IncludeDay() const { winrt::Windows::Globalization::DateTimeFormatting::DayFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_IncludeDay(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::HourFormat) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::IncludeHour() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::IncludeHour() const { winrt::Windows::Globalization::DateTimeFormatting::HourFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_IncludeHour(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::IncludeMinute() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::IncludeMinute() const { winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_IncludeMinute(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::SecondFormat) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::IncludeSecond() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::IncludeSecond() const { winrt::Windows::Globalization::DateTimeFormatting::SecondFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_IncludeSecond(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::ResolvedLanguage() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::ResolvedLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_ResolvedLanguage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::ResolvedGeographicRegion() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter::ResolvedGeographicRegion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_ResolvedGeographicRegion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter2::Format(winrt::Windows::Foundation::DateTime const& datetime, param::hstring const& timeZoneId) const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter2::Format(winrt::Windows::Foundation::DateTime const& datetime, param::hstring const& timeZoneId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter2)->FormatUsingTimeZone(impl::bind_in(datetime), *(void**)(&timeZoneId), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory::CreateDateTimeFormatter(param::hstring const& formatTemplate) const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory::CreateDateTimeFormatter(param::hstring const& formatTemplate) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatterFactory)->CreateDateTimeFormatter(*(void**)(&formatTemplate), &result)); return winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory::CreateDateTimeFormatterLanguages(param::hstring const& formatTemplate, param::iterable const& languages) const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory::CreateDateTimeFormatterLanguages(param::hstring const& formatTemplate, param::iterable const& languages) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatterFactory)->CreateDateTimeFormatterLanguages(*(void**)(&formatTemplate), *(void**)(&languages), &result)); return winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory::CreateDateTimeFormatterContext(param::hstring const& formatTemplate, param::iterable const& languages, param::hstring const& geographicRegion, param::hstring const& calendar, param::hstring const& clock) const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory::CreateDateTimeFormatterContext(param::hstring const& formatTemplate, param::iterable const& languages, param::hstring const& geographicRegion, param::hstring const& calendar, param::hstring const& clock) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatterFactory)->CreateDateTimeFormatterContext(*(void**)(&formatTemplate), *(void**)(&languages), *(void**)(&geographicRegion), *(void**)(&calendar), *(void**)(&clock), &result)); return winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory::CreateDateTimeFormatterDate(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat) const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory::CreateDateTimeFormatterDate(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatterFactory)->CreateDateTimeFormatterDate(static_cast(yearFormat), static_cast(monthFormat), static_cast(dayFormat), static_cast(dayOfWeekFormat), &result)); return winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory::CreateDateTimeFormatterTime(winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat) const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory::CreateDateTimeFormatterTime(winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatterFactory)->CreateDateTimeFormatterTime(static_cast(hourFormat), static_cast(minuteFormat), static_cast(secondFormat), &result)); return winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory::CreateDateTimeFormatterDateTimeLanguages(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat, winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat, param::iterable const& languages) const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory::CreateDateTimeFormatterDateTimeLanguages(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat, winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat, param::iterable const& languages) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatterFactory)->CreateDateTimeFormatterDateTimeLanguages(static_cast(yearFormat), static_cast(monthFormat), static_cast(dayFormat), static_cast(dayOfWeekFormat), static_cast(hourFormat), static_cast(minuteFormat), static_cast(secondFormat), *(void**)(&languages), &result)); return winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory::CreateDateTimeFormatterDateTimeContext(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat, winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat, param::iterable const& languages, param::hstring const& geographicRegion, param::hstring const& calendar, param::hstring const& clock) const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory::CreateDateTimeFormatterDateTimeContext(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat, winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat, param::iterable const& languages, param::hstring const& geographicRegion, param::hstring const& calendar, param::hstring const& clock) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatterFactory)->CreateDateTimeFormatterDateTimeContext(static_cast(yearFormat), static_cast(monthFormat), static_cast(dayFormat), static_cast(dayOfWeekFormat), static_cast(hourFormat), static_cast(minuteFormat), static_cast(secondFormat), *(void**)(&languages), *(void**)(&geographicRegion), *(void**)(&calendar), *(void**)(&clock), &result)); return winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics::LongDate() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics::LongDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatterStatics)->get_LongDate(&value)); return winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics::LongTime() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics::LongTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatterStatics)->get_LongTime(&value)); return winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics::ShortDate() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics::ShortDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatterStatics)->get_ShortDate(&value)); return winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics::ShortTime() const + template auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics::ShortTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatterStatics)->get_ShortTime(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.Fonts.h b/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.Fonts.h index 92202804..81977507 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.Fonts.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.Fonts.h @@ -1,113 +1,113 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_Fonts_H #define WINRT_Windows_Globalization_Fonts_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Globalization.h" #include "winrt/impl/Windows.UI.Text.2.h" #include "winrt/impl/Windows.Globalization.Fonts.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_Fonts_ILanguageFont::FontFamily() const + template auto consume_Windows_Globalization_Fonts_ILanguageFont::FontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFont)->get_FontFamily(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_Globalization_Fonts_ILanguageFont::FontWeight() const + template auto consume_Windows_Globalization_Fonts_ILanguageFont::FontWeight() const { winrt::Windows::UI::Text::FontWeight weight{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFont)->get_FontWeight(put_abi(weight))); return weight; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) consume_Windows_Globalization_Fonts_ILanguageFont::FontStretch() const + template auto consume_Windows_Globalization_Fonts_ILanguageFont::FontStretch() const { winrt::Windows::UI::Text::FontStretch stretch{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFont)->get_FontStretch(reinterpret_cast(&stretch))); return stretch; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_Globalization_Fonts_ILanguageFont::FontStyle() const + template auto consume_Windows_Globalization_Fonts_ILanguageFont::FontStyle() const { winrt::Windows::UI::Text::FontStyle style{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFont)->get_FontStyle(reinterpret_cast(&style))); return style; } - template WINRT_IMPL_AUTO(double) consume_Windows_Globalization_Fonts_ILanguageFont::ScaleFactor() const + template auto consume_Windows_Globalization_Fonts_ILanguageFont::ScaleFactor() const { double scale{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFont)->get_ScaleFactor(&scale)); return scale; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup::UITextFont() const + template auto consume_Windows_Globalization_Fonts_ILanguageFontGroup::UITextFont() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFontGroup)->get_UITextFont(&value)); return winrt::Windows::Globalization::Fonts::LanguageFont{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup::UIHeadingFont() const + template auto consume_Windows_Globalization_Fonts_ILanguageFontGroup::UIHeadingFont() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFontGroup)->get_UIHeadingFont(&value)); return winrt::Windows::Globalization::Fonts::LanguageFont{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup::UITitleFont() const + template auto consume_Windows_Globalization_Fonts_ILanguageFontGroup::UITitleFont() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFontGroup)->get_UITitleFont(&value)); return winrt::Windows::Globalization::Fonts::LanguageFont{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup::UICaptionFont() const + template auto consume_Windows_Globalization_Fonts_ILanguageFontGroup::UICaptionFont() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFontGroup)->get_UICaptionFont(&value)); return winrt::Windows::Globalization::Fonts::LanguageFont{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup::UINotificationHeadingFont() const + template auto consume_Windows_Globalization_Fonts_ILanguageFontGroup::UINotificationHeadingFont() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFontGroup)->get_UINotificationHeadingFont(&value)); return winrt::Windows::Globalization::Fonts::LanguageFont{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup::TraditionalDocumentFont() const + template auto consume_Windows_Globalization_Fonts_ILanguageFontGroup::TraditionalDocumentFont() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFontGroup)->get_TraditionalDocumentFont(&value)); return winrt::Windows::Globalization::Fonts::LanguageFont{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup::ModernDocumentFont() const + template auto consume_Windows_Globalization_Fonts_ILanguageFontGroup::ModernDocumentFont() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFontGroup)->get_ModernDocumentFont(&value)); return winrt::Windows::Globalization::Fonts::LanguageFont{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup::DocumentHeadingFont() const + template auto consume_Windows_Globalization_Fonts_ILanguageFontGroup::DocumentHeadingFont() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFontGroup)->get_DocumentHeadingFont(&value)); return winrt::Windows::Globalization::Fonts::LanguageFont{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup::FixedWidthTextFont() const + template auto consume_Windows_Globalization_Fonts_ILanguageFontGroup::FixedWidthTextFont() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFontGroup)->get_FixedWidthTextFont(&value)); return winrt::Windows::Globalization::Fonts::LanguageFont{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup::DocumentAlternate1Font() const + template auto consume_Windows_Globalization_Fonts_ILanguageFontGroup::DocumentAlternate1Font() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFontGroup)->get_DocumentAlternate1Font(&value)); return winrt::Windows::Globalization::Fonts::LanguageFont{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup::DocumentAlternate2Font() const + template auto consume_Windows_Globalization_Fonts_ILanguageFontGroup::DocumentAlternate2Font() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFontGroup)->get_DocumentAlternate2Font(&value)); return winrt::Windows::Globalization::Fonts::LanguageFont{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFontGroup) consume_Windows_Globalization_Fonts_ILanguageFontGroupFactory::CreateLanguageFontGroup(param::hstring const& languageTag) const + template auto consume_Windows_Globalization_Fonts_ILanguageFontGroupFactory::CreateLanguageFontGroup(param::hstring const& languageTag) const { void* recommendedFonts{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFontGroupFactory)->CreateLanguageFontGroup(*(void**)(&languageTag), &recommendedFonts)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.NumberFormatting.h b/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.NumberFormatting.h index 49cbd959..4e7c079c 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.NumberFormatting.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.NumberFormatting.h @@ -1,336 +1,336 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_NumberFormatting_H #define WINRT_Windows_Globalization_NumberFormatting_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Globalization.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Globalization.NumberFormatting.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter::Currency() const + template auto consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter::Currency() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatter)->get_Currency(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter::Currency(param::hstring const& value) const + template auto consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter::Currency(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatter)->put_Currency(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::CurrencyFormatterMode) consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter2::Mode() const + template auto consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter2::Mode() const { winrt::Windows::Globalization::NumberFormatting::CurrencyFormatterMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatter2)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter2::Mode(winrt::Windows::Globalization::NumberFormatting::CurrencyFormatterMode const& value) const + template auto consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter2::Mode(winrt::Windows::Globalization::NumberFormatting::CurrencyFormatterMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatter2)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter2::ApplyRoundingForCurrency(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& roundingAlgorithm) const + template auto consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter2::ApplyRoundingForCurrency(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& roundingAlgorithm) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatter2)->ApplyRoundingForCurrency(static_cast(roundingAlgorithm))); } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::CurrencyFormatter) consume_Windows_Globalization_NumberFormatting_ICurrencyFormatterFactory::CreateCurrencyFormatterCode(param::hstring const& currencyCode) const + template auto consume_Windows_Globalization_NumberFormatting_ICurrencyFormatterFactory::CreateCurrencyFormatterCode(param::hstring const& currencyCode) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatterFactory)->CreateCurrencyFormatterCode(*(void**)(¤cyCode), &result)); return winrt::Windows::Globalization::NumberFormatting::CurrencyFormatter{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::CurrencyFormatter) consume_Windows_Globalization_NumberFormatting_ICurrencyFormatterFactory::CreateCurrencyFormatterCodeContext(param::hstring const& currencyCode, param::iterable const& languages, param::hstring const& geographicRegion) const + template auto consume_Windows_Globalization_NumberFormatting_ICurrencyFormatterFactory::CreateCurrencyFormatterCodeContext(param::hstring const& currencyCode, param::iterable const& languages, param::hstring const& geographicRegion) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatterFactory)->CreateCurrencyFormatterCodeContext(*(void**)(¤cyCode), *(void**)(&languages), *(void**)(&geographicRegion), &result)); return winrt::Windows::Globalization::NumberFormatting::CurrencyFormatter{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::DecimalFormatter) consume_Windows_Globalization_NumberFormatting_IDecimalFormatterFactory::CreateDecimalFormatter(param::iterable const& languages, param::hstring const& geographicRegion) const + template auto consume_Windows_Globalization_NumberFormatting_IDecimalFormatterFactory::CreateDecimalFormatter(param::iterable const& languages, param::hstring const& geographicRegion) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::IDecimalFormatterFactory)->CreateDecimalFormatter(*(void**)(&languages), *(void**)(&geographicRegion), &result)); return winrt::Windows::Globalization::NumberFormatting::DecimalFormatter{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm) consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder::RoundingAlgorithm() const + template auto consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder::RoundingAlgorithm() const { winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::IIncrementNumberRounder)->get_RoundingAlgorithm(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder::RoundingAlgorithm(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& value) const + template auto consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder::RoundingAlgorithm(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::IIncrementNumberRounder)->put_RoundingAlgorithm(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder::Increment() const + template auto consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder::Increment() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::IIncrementNumberRounder)->get_Increment(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder::Increment(double value) const + template auto consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder::Increment(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::IIncrementNumberRounder)->put_Increment(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatter::Format(int64_t value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatter::Format(int64_t value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatter)->FormatInt(value, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatter::Format(uint64_t value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatter::Format(uint64_t value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatter)->FormatUInt(value, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatter::Format(double value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatter::Format(double value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatter)->FormatDouble(value, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatter2::FormatInt(int64_t value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatter2::FormatInt(int64_t value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatter2)->FormatInt(value, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatter2::FormatUInt(uint64_t value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatter2::FormatUInt(uint64_t value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatter2)->FormatUInt(value, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatter2::FormatDouble(double value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatter2::FormatDouble(double value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatter2)->FormatDouble(value, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::Languages() const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::Languages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->get_Languages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::GeographicRegion() const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::GeographicRegion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->get_GeographicRegion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::IntegerDigits() const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::IntegerDigits() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->get_IntegerDigits(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::IntegerDigits(int32_t value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::IntegerDigits(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->put_IntegerDigits(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::FractionDigits() const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::FractionDigits() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->get_FractionDigits(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::FractionDigits(int32_t value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::FractionDigits(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->put_FractionDigits(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::IsGrouped() const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::IsGrouped() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->get_IsGrouped(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::IsGrouped(bool value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::IsGrouped(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->put_IsGrouped(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::IsDecimalPointAlwaysDisplayed() const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::IsDecimalPointAlwaysDisplayed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->get_IsDecimalPointAlwaysDisplayed(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::IsDecimalPointAlwaysDisplayed(bool value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::IsDecimalPointAlwaysDisplayed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->put_IsDecimalPointAlwaysDisplayed(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::NumeralSystem() const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::NumeralSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->get_NumeralSystem(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::NumeralSystem(param::hstring const& value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::NumeralSystem(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->put_NumeralSystem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::ResolvedLanguage() const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::ResolvedLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->get_ResolvedLanguage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::ResolvedGeographicRegion() const + template auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions::ResolvedGeographicRegion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->get_ResolvedGeographicRegion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Globalization_NumberFormatting_INumberParser::ParseInt(param::hstring const& text) const + template auto consume_Windows_Globalization_NumberFormatting_INumberParser::ParseInt(param::hstring const& text) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberParser)->ParseInt(*(void**)(&text), &result)); return winrt::Windows::Foundation::IReference{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Globalization_NumberFormatting_INumberParser::ParseUInt(param::hstring const& text) const + template auto consume_Windows_Globalization_NumberFormatting_INumberParser::ParseUInt(param::hstring const& text) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberParser)->ParseUInt(*(void**)(&text), &result)); return winrt::Windows::Foundation::IReference{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Globalization_NumberFormatting_INumberParser::ParseDouble(param::hstring const& text) const + template auto consume_Windows_Globalization_NumberFormatting_INumberParser::ParseDouble(param::hstring const& text) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberParser)->ParseDouble(*(void**)(&text), &result)); return winrt::Windows::Foundation::IReference{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_NumberFormatting_INumberRounder::RoundInt32(int32_t value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberRounder::RoundInt32(int32_t value) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberRounder)->RoundInt32(value, &result)); return result; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Globalization_NumberFormatting_INumberRounder::RoundUInt32(uint32_t value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberRounder::RoundUInt32(uint32_t value) const { uint32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberRounder)->RoundUInt32(value, &result)); return result; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_Globalization_NumberFormatting_INumberRounder::RoundInt64(int64_t value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberRounder::RoundInt64(int64_t value) const { int64_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberRounder)->RoundInt64(value, &result)); return result; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Globalization_NumberFormatting_INumberRounder::RoundUInt64(uint64_t value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberRounder::RoundUInt64(uint64_t value) const { uint64_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberRounder)->RoundUInt64(value, &result)); return result; } - template WINRT_IMPL_AUTO(float) consume_Windows_Globalization_NumberFormatting_INumberRounder::RoundSingle(float value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberRounder::RoundSingle(float value) const { float result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberRounder)->RoundSingle(value, &result)); return result; } - template WINRT_IMPL_AUTO(double) consume_Windows_Globalization_NumberFormatting_INumberRounder::RoundDouble(double value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberRounder::RoundDouble(double value) const { double result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberRounder)->RoundDouble(value, &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::INumberRounder) consume_Windows_Globalization_NumberFormatting_INumberRounderOption::NumberRounder() const + template auto consume_Windows_Globalization_NumberFormatting_INumberRounderOption::NumberRounder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberRounderOption)->get_NumberRounder(&value)); return winrt::Windows::Globalization::NumberFormatting::INumberRounder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_INumberRounderOption::NumberRounder(winrt::Windows::Globalization::NumberFormatting::INumberRounder const& value) const + template auto consume_Windows_Globalization_NumberFormatting_INumberRounderOption::NumberRounder(winrt::Windows::Globalization::NumberFormatting::INumberRounder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberRounderOption)->put_NumberRounder(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator::Languages() const + template auto consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator::Languages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumeralSystemTranslator)->get_Languages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator::ResolvedLanguage() const + template auto consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator::ResolvedLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumeralSystemTranslator)->get_ResolvedLanguage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator::NumeralSystem() const + template auto consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator::NumeralSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumeralSystemTranslator)->get_NumeralSystem(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator::NumeralSystem(param::hstring const& value) const + template auto consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator::NumeralSystem(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumeralSystemTranslator)->put_NumeralSystem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator::TranslateNumerals(param::hstring const& value) const + template auto consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator::TranslateNumerals(param::hstring const& value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumeralSystemTranslator)->TranslateNumerals(*(void**)(&value), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::NumeralSystemTranslator) consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslatorFactory::Create(param::iterable const& languages) const + template auto consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslatorFactory::Create(param::iterable const& languages) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumeralSystemTranslatorFactory)->Create(*(void**)(&languages), &result)); return winrt::Windows::Globalization::NumberFormatting::NumeralSystemTranslator{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::PercentFormatter) consume_Windows_Globalization_NumberFormatting_IPercentFormatterFactory::CreatePercentFormatter(param::iterable const& languages, param::hstring const& geographicRegion) const + template auto consume_Windows_Globalization_NumberFormatting_IPercentFormatterFactory::CreatePercentFormatter(param::iterable const& languages, param::hstring const& geographicRegion) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::IPercentFormatterFactory)->CreatePercentFormatter(*(void**)(&languages), *(void**)(&geographicRegion), &result)); return winrt::Windows::Globalization::NumberFormatting::PercentFormatter{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::PermilleFormatter) consume_Windows_Globalization_NumberFormatting_IPermilleFormatterFactory::CreatePermilleFormatter(param::iterable const& languages, param::hstring const& geographicRegion) const + template auto consume_Windows_Globalization_NumberFormatting_IPermilleFormatterFactory::CreatePermilleFormatter(param::iterable const& languages, param::hstring const& geographicRegion) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::IPermilleFormatterFactory)->CreatePermilleFormatter(*(void**)(&languages), *(void**)(&geographicRegion), &result)); return winrt::Windows::Globalization::NumberFormatting::PermilleFormatter{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Globalization_NumberFormatting_ISignedZeroOption::IsZeroSigned() const + template auto consume_Windows_Globalization_NumberFormatting_ISignedZeroOption::IsZeroSigned() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ISignedZeroOption)->get_IsZeroSigned(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_ISignedZeroOption::IsZeroSigned(bool value) const + template auto consume_Windows_Globalization_NumberFormatting_ISignedZeroOption::IsZeroSigned(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ISignedZeroOption)->put_IsZeroSigned(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm) consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder::RoundingAlgorithm() const + template auto consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder::RoundingAlgorithm() const { winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ISignificantDigitsNumberRounder)->get_RoundingAlgorithm(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder::RoundingAlgorithm(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& value) const + template auto consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder::RoundingAlgorithm(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ISignificantDigitsNumberRounder)->put_RoundingAlgorithm(static_cast(value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder::SignificantDigits() const + template auto consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder::SignificantDigits() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ISignificantDigitsNumberRounder)->get_SignificantDigits(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder::SignificantDigits(uint32_t value) const + template auto consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder::SignificantDigits(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ISignificantDigitsNumberRounder)->put_SignificantDigits(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_NumberFormatting_ISignificantDigitsOption::SignificantDigits() const + template auto consume_Windows_Globalization_NumberFormatting_ISignificantDigitsOption::SignificantDigits() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ISignificantDigitsOption)->get_SignificantDigits(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_ISignificantDigitsOption::SignificantDigits(int32_t value) const + template auto consume_Windows_Globalization_NumberFormatting_ISignificantDigitsOption::SignificantDigits(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ISignificantDigitsOption)->put_SignificantDigits(value)); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.PhoneNumberFormatting.h b/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.PhoneNumberFormatting.h index 44b9652f..7b7b96eb 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.PhoneNumberFormatting.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.PhoneNumberFormatting.h @@ -1,129 +1,129 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_PhoneNumberFormatting_H #define WINRT_Windows_Globalization_PhoneNumberFormatting_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Globalization.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Globalization.PhoneNumberFormatting.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter::Format(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& number) const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter::Format(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& number) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatter)->Format(*(void**)(&number), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter::Format(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& number, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberFormat const& numberFormat) const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter::Format(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& number, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberFormat const& numberFormat) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatter)->FormatWithOutputFormat(*(void**)(&number), static_cast(numberFormat), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter::FormatPartialString(param::hstring const& number) const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter::FormatPartialString(param::hstring const& number) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatter)->FormatPartialString(*(void**)(&number), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter::FormatString(param::hstring const& number) const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter::FormatString(param::hstring const& number) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatter)->FormatString(*(void**)(&number), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter::FormatStringWithLeftToRightMarkers(param::hstring const& number) const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter::FormatStringWithLeftToRightMarkers(param::hstring const& number) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatter)->FormatStringWithLeftToRightMarkers(*(void**)(&number), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics::TryCreate(param::hstring const& regionCode, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberFormatter& phoneNumber) const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics::TryCreate(param::hstring const& regionCode, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberFormatter& phoneNumber) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatterStatics)->TryCreate(*(void**)(®ionCode), impl::bind_out(phoneNumber))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics::GetCountryCodeForRegion(param::hstring const& regionCode) const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics::GetCountryCodeForRegion(param::hstring const& regionCode) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatterStatics)->GetCountryCodeForRegion(*(void**)(®ionCode), &result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics::GetNationalDirectDialingPrefixForRegion(param::hstring const& regionCode, bool stripNonDigit) const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics::GetNationalDirectDialingPrefixForRegion(param::hstring const& regionCode, bool stripNonDigit) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatterStatics)->GetNationalDirectDialingPrefixForRegion(*(void**)(®ionCode), stripNonDigit, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics::WrapWithLeftToRightMarkers(param::hstring const& number) const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics::WrapWithLeftToRightMarkers(param::hstring const& number) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatterStatics)->WrapWithLeftToRightMarkers(*(void**)(&number), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo::CountryCode() const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo::CountryCode() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo)->get_CountryCode(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo::PhoneNumber() const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo::PhoneNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo)->get_PhoneNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo::GetLengthOfGeographicalAreaCode() const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo::GetLengthOfGeographicalAreaCode() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo)->GetLengthOfGeographicalAreaCode(&result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo::GetNationalSignificantNumber() const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo::GetNationalSignificantNumber() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo)->GetNationalSignificantNumber(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo::GetLengthOfNationalDestinationCode() const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo::GetLengthOfNationalDestinationCode() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo)->GetLengthOfNationalDestinationCode(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::PhoneNumberFormatting::PredictedPhoneNumberKind) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo::PredictNumberKind() const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo::PredictNumberKind() const { winrt::Windows::Globalization::PhoneNumberFormatting::PredictedPhoneNumberKind result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo)->PredictNumberKind(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo::GetGeographicRegionCode() const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo::GetGeographicRegionCode() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo)->GetGeographicRegionCode(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberMatchResult) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo::CheckNumberMatch(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& otherNumber) const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo::CheckNumberMatch(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& otherNumber) const { winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberMatchResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo)->CheckNumberMatch(*(void**)(&otherNumber), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoFactory::Create(param::hstring const& number) const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoFactory::Create(param::hstring const& number) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfoFactory)->Create(*(void**)(&number), &result)); return winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberParseResult) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoStatics::TryParse(param::hstring const& input, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo& phoneNumber) const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoStatics::TryParse(param::hstring const& input, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo& phoneNumber) const { winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberParseResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfoStatics)->TryParse(*(void**)(&input), impl::bind_out(phoneNumber), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberParseResult) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoStatics::TryParse(param::hstring const& input, param::hstring const& regionCode, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo& phoneNumber) const + template auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoStatics::TryParse(param::hstring const& input, param::hstring const& regionCode, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo& phoneNumber) const { winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberParseResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfoStatics)->TryParseWithRegion(*(void**)(&input), *(void**)(®ionCode), impl::bind_out(phoneNumber), reinterpret_cast(&result))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.h b/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.h index 10adb3a7..be9f9982 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.h @@ -1,2150 +1,2150 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_H #define WINRT_Windows_Globalization_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.System.2.h" #include "winrt/impl/Windows.Globalization.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IApplicationLanguagesStatics::PrimaryLanguageOverride() const + template auto consume_Windows_Globalization_IApplicationLanguagesStatics::PrimaryLanguageOverride() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IApplicationLanguagesStatics)->get_PrimaryLanguageOverride(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_IApplicationLanguagesStatics::PrimaryLanguageOverride(param::hstring const& value) const + template auto consume_Windows_Globalization_IApplicationLanguagesStatics::PrimaryLanguageOverride(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IApplicationLanguagesStatics)->put_PrimaryLanguageOverride(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Globalization_IApplicationLanguagesStatics::Languages() const + template auto consume_Windows_Globalization_IApplicationLanguagesStatics::Languages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IApplicationLanguagesStatics)->get_Languages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Globalization_IApplicationLanguagesStatics::ManifestLanguages() const + template auto consume_Windows_Globalization_IApplicationLanguagesStatics::ManifestLanguages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IApplicationLanguagesStatics)->get_ManifestLanguages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Globalization_IApplicationLanguagesStatics2::GetLanguagesForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_Globalization_IApplicationLanguagesStatics2::GetLanguagesForUser(winrt::Windows::System::User const& user) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IApplicationLanguagesStatics2)->GetLanguagesForUser(*(void**)(&user), &value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Calendar) consume_Windows_Globalization_ICalendar::Clone() const + template auto consume_Windows_Globalization_ICalendar::Clone() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->Clone(&value)); return winrt::Windows::Globalization::Calendar{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::SetToMin() const + template auto consume_Windows_Globalization_ICalendar::SetToMin() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->SetToMin()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::SetToMax() const + template auto consume_Windows_Globalization_ICalendar::SetToMax() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->SetToMax()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Globalization_ICalendar::Languages() const + template auto consume_Windows_Globalization_ICalendar::Languages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Languages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::NumeralSystem() const + template auto consume_Windows_Globalization_ICalendar::NumeralSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumeralSystem(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::NumeralSystem(param::hstring const& value) const + template auto consume_Windows_Globalization_ICalendar::NumeralSystem(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_NumeralSystem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::GetCalendarSystem() const + template auto consume_Windows_Globalization_ICalendar::GetCalendarSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->GetCalendarSystem(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::ChangeCalendarSystem(param::hstring const& value) const + template auto consume_Windows_Globalization_ICalendar::ChangeCalendarSystem(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->ChangeCalendarSystem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::GetClock() const + template auto consume_Windows_Globalization_ICalendar::GetClock() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->GetClock(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::ChangeClock(param::hstring const& value) const + template auto consume_Windows_Globalization_ICalendar::ChangeClock(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->ChangeClock(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Globalization_ICalendar::GetDateTime() const + template auto consume_Windows_Globalization_ICalendar::GetDateTime() const { winrt::Windows::Foundation::DateTime result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->GetDateTime(put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::SetDateTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_Globalization_ICalendar::SetDateTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->SetDateTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::SetToNow() const + template auto consume_Windows_Globalization_ICalendar::SetToNow() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->SetToNow()); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::FirstEra() const + template auto consume_Windows_Globalization_ICalendar::FirstEra() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_FirstEra(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::LastEra() const + template auto consume_Windows_Globalization_ICalendar::LastEra() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_LastEra(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::NumberOfEras() const + template auto consume_Windows_Globalization_ICalendar::NumberOfEras() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumberOfEras(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::Era() const + template auto consume_Windows_Globalization_ICalendar::Era() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Era(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::Era(int32_t value) const + template auto consume_Windows_Globalization_ICalendar::Era(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Era(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::AddEras(int32_t eras) const + template auto consume_Windows_Globalization_ICalendar::AddEras(int32_t eras) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddEras(eras)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::EraAsString() const + template auto consume_Windows_Globalization_ICalendar::EraAsString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->EraAsFullString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::EraAsString(int32_t idealLength) const + template auto consume_Windows_Globalization_ICalendar::EraAsString(int32_t idealLength) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->EraAsString(idealLength, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::FirstYearInThisEra() const + template auto consume_Windows_Globalization_ICalendar::FirstYearInThisEra() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_FirstYearInThisEra(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::LastYearInThisEra() const + template auto consume_Windows_Globalization_ICalendar::LastYearInThisEra() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_LastYearInThisEra(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::NumberOfYearsInThisEra() const + template auto consume_Windows_Globalization_ICalendar::NumberOfYearsInThisEra() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumberOfYearsInThisEra(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::Year() const + template auto consume_Windows_Globalization_ICalendar::Year() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Year(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::Year(int32_t value) const + template auto consume_Windows_Globalization_ICalendar::Year(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Year(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::AddYears(int32_t years) const + template auto consume_Windows_Globalization_ICalendar::AddYears(int32_t years) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddYears(years)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::YearAsString() const + template auto consume_Windows_Globalization_ICalendar::YearAsString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->YearAsString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::YearAsTruncatedString(int32_t remainingDigits) const + template auto consume_Windows_Globalization_ICalendar::YearAsTruncatedString(int32_t remainingDigits) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->YearAsTruncatedString(remainingDigits, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::YearAsPaddedString(int32_t minDigits) const + template auto consume_Windows_Globalization_ICalendar::YearAsPaddedString(int32_t minDigits) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->YearAsPaddedString(minDigits, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::FirstMonthInThisYear() const + template auto consume_Windows_Globalization_ICalendar::FirstMonthInThisYear() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_FirstMonthInThisYear(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::LastMonthInThisYear() const + template auto consume_Windows_Globalization_ICalendar::LastMonthInThisYear() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_LastMonthInThisYear(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::NumberOfMonthsInThisYear() const + template auto consume_Windows_Globalization_ICalendar::NumberOfMonthsInThisYear() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumberOfMonthsInThisYear(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::Month() const + template auto consume_Windows_Globalization_ICalendar::Month() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Month(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::Month(int32_t value) const + template auto consume_Windows_Globalization_ICalendar::Month(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Month(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::AddMonths(int32_t months) const + template auto consume_Windows_Globalization_ICalendar::AddMonths(int32_t months) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddMonths(months)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::MonthAsString() const + template auto consume_Windows_Globalization_ICalendar::MonthAsString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->MonthAsFullString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::MonthAsString(int32_t idealLength) const + template auto consume_Windows_Globalization_ICalendar::MonthAsString(int32_t idealLength) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->MonthAsString(idealLength, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::MonthAsSoloString() const + template auto consume_Windows_Globalization_ICalendar::MonthAsSoloString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->MonthAsFullSoloString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::MonthAsSoloString(int32_t idealLength) const + template auto consume_Windows_Globalization_ICalendar::MonthAsSoloString(int32_t idealLength) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->MonthAsSoloString(idealLength, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::MonthAsNumericString() const + template auto consume_Windows_Globalization_ICalendar::MonthAsNumericString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->MonthAsNumericString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::MonthAsPaddedNumericString(int32_t minDigits) const + template auto consume_Windows_Globalization_ICalendar::MonthAsPaddedNumericString(int32_t minDigits) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->MonthAsPaddedNumericString(minDigits, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::AddWeeks(int32_t weeks) const + template auto consume_Windows_Globalization_ICalendar::AddWeeks(int32_t weeks) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddWeeks(weeks)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::FirstDayInThisMonth() const + template auto consume_Windows_Globalization_ICalendar::FirstDayInThisMonth() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_FirstDayInThisMonth(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::LastDayInThisMonth() const + template auto consume_Windows_Globalization_ICalendar::LastDayInThisMonth() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_LastDayInThisMonth(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::NumberOfDaysInThisMonth() const + template auto consume_Windows_Globalization_ICalendar::NumberOfDaysInThisMonth() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumberOfDaysInThisMonth(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::Day() const + template auto consume_Windows_Globalization_ICalendar::Day() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Day(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::Day(int32_t value) const + template auto consume_Windows_Globalization_ICalendar::Day(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Day(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::AddDays(int32_t days) const + template auto consume_Windows_Globalization_ICalendar::AddDays(int32_t days) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddDays(days)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::DayAsString() const + template auto consume_Windows_Globalization_ICalendar::DayAsString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->DayAsString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::DayAsPaddedString(int32_t minDigits) const + template auto consume_Windows_Globalization_ICalendar::DayAsPaddedString(int32_t minDigits) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->DayAsPaddedString(minDigits, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) consume_Windows_Globalization_ICalendar::DayOfWeek() const + template auto consume_Windows_Globalization_ICalendar::DayOfWeek() const { winrt::Windows::Globalization::DayOfWeek value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_DayOfWeek(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::DayOfWeekAsString() const + template auto consume_Windows_Globalization_ICalendar::DayOfWeekAsString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->DayOfWeekAsFullString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::DayOfWeekAsString(int32_t idealLength) const + template auto consume_Windows_Globalization_ICalendar::DayOfWeekAsString(int32_t idealLength) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->DayOfWeekAsString(idealLength, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::DayOfWeekAsSoloString() const + template auto consume_Windows_Globalization_ICalendar::DayOfWeekAsSoloString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->DayOfWeekAsFullSoloString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::DayOfWeekAsSoloString(int32_t idealLength) const + template auto consume_Windows_Globalization_ICalendar::DayOfWeekAsSoloString(int32_t idealLength) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->DayOfWeekAsSoloString(idealLength, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::FirstPeriodInThisDay() const + template auto consume_Windows_Globalization_ICalendar::FirstPeriodInThisDay() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_FirstPeriodInThisDay(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::LastPeriodInThisDay() const + template auto consume_Windows_Globalization_ICalendar::LastPeriodInThisDay() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_LastPeriodInThisDay(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::NumberOfPeriodsInThisDay() const + template auto consume_Windows_Globalization_ICalendar::NumberOfPeriodsInThisDay() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumberOfPeriodsInThisDay(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::Period() const + template auto consume_Windows_Globalization_ICalendar::Period() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Period(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::Period(int32_t value) const + template auto consume_Windows_Globalization_ICalendar::Period(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Period(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::AddPeriods(int32_t periods) const + template auto consume_Windows_Globalization_ICalendar::AddPeriods(int32_t periods) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddPeriods(periods)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::PeriodAsString() const + template auto consume_Windows_Globalization_ICalendar::PeriodAsString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->PeriodAsFullString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::PeriodAsString(int32_t idealLength) const + template auto consume_Windows_Globalization_ICalendar::PeriodAsString(int32_t idealLength) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->PeriodAsString(idealLength, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::FirstHourInThisPeriod() const + template auto consume_Windows_Globalization_ICalendar::FirstHourInThisPeriod() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_FirstHourInThisPeriod(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::LastHourInThisPeriod() const + template auto consume_Windows_Globalization_ICalendar::LastHourInThisPeriod() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_LastHourInThisPeriod(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::NumberOfHoursInThisPeriod() const + template auto consume_Windows_Globalization_ICalendar::NumberOfHoursInThisPeriod() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumberOfHoursInThisPeriod(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::Hour() const + template auto consume_Windows_Globalization_ICalendar::Hour() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Hour(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::Hour(int32_t value) const + template auto consume_Windows_Globalization_ICalendar::Hour(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Hour(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::AddHours(int32_t hours) const + template auto consume_Windows_Globalization_ICalendar::AddHours(int32_t hours) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddHours(hours)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::HourAsString() const + template auto consume_Windows_Globalization_ICalendar::HourAsString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->HourAsString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::HourAsPaddedString(int32_t minDigits) const + template auto consume_Windows_Globalization_ICalendar::HourAsPaddedString(int32_t minDigits) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->HourAsPaddedString(minDigits, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::Minute() const + template auto consume_Windows_Globalization_ICalendar::Minute() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Minute(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::Minute(int32_t value) const + template auto consume_Windows_Globalization_ICalendar::Minute(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Minute(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::AddMinutes(int32_t minutes) const + template auto consume_Windows_Globalization_ICalendar::AddMinutes(int32_t minutes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddMinutes(minutes)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::MinuteAsString() const + template auto consume_Windows_Globalization_ICalendar::MinuteAsString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->MinuteAsString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::MinuteAsPaddedString(int32_t minDigits) const + template auto consume_Windows_Globalization_ICalendar::MinuteAsPaddedString(int32_t minDigits) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->MinuteAsPaddedString(minDigits, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::Second() const + template auto consume_Windows_Globalization_ICalendar::Second() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Second(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::Second(int32_t value) const + template auto consume_Windows_Globalization_ICalendar::Second(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Second(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::AddSeconds(int32_t seconds) const + template auto consume_Windows_Globalization_ICalendar::AddSeconds(int32_t seconds) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddSeconds(seconds)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::SecondAsString() const + template auto consume_Windows_Globalization_ICalendar::SecondAsString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->SecondAsString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::SecondAsPaddedString(int32_t minDigits) const + template auto consume_Windows_Globalization_ICalendar::SecondAsPaddedString(int32_t minDigits) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->SecondAsPaddedString(minDigits, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::Nanosecond() const + template auto consume_Windows_Globalization_ICalendar::Nanosecond() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Nanosecond(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::Nanosecond(int32_t value) const + template auto consume_Windows_Globalization_ICalendar::Nanosecond(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Nanosecond(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::AddNanoseconds(int32_t nanoseconds) const + template auto consume_Windows_Globalization_ICalendar::AddNanoseconds(int32_t nanoseconds) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddNanoseconds(nanoseconds)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::NanosecondAsString() const + template auto consume_Windows_Globalization_ICalendar::NanosecondAsString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->NanosecondAsString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::NanosecondAsPaddedString(int32_t minDigits) const + template auto consume_Windows_Globalization_ICalendar::NanosecondAsPaddedString(int32_t minDigits) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->NanosecondAsPaddedString(minDigits, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::Compare(winrt::Windows::Globalization::Calendar const& other) const + template auto consume_Windows_Globalization_ICalendar::Compare(winrt::Windows::Globalization::Calendar const& other) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->Compare(*(void**)(&other), &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::CompareDateTime(winrt::Windows::Foundation::DateTime const& other) const + template auto consume_Windows_Globalization_ICalendar::CompareDateTime(winrt::Windows::Foundation::DateTime const& other) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->CompareDateTime(impl::bind_in(other), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar::CopyTo(winrt::Windows::Globalization::Calendar const& other) const + template auto consume_Windows_Globalization_ICalendar::CopyTo(winrt::Windows::Globalization::Calendar const& other) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->CopyTo(*(void**)(&other))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::FirstMinuteInThisHour() const + template auto consume_Windows_Globalization_ICalendar::FirstMinuteInThisHour() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_FirstMinuteInThisHour(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::LastMinuteInThisHour() const + template auto consume_Windows_Globalization_ICalendar::LastMinuteInThisHour() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_LastMinuteInThisHour(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::NumberOfMinutesInThisHour() const + template auto consume_Windows_Globalization_ICalendar::NumberOfMinutesInThisHour() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumberOfMinutesInThisHour(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::FirstSecondInThisMinute() const + template auto consume_Windows_Globalization_ICalendar::FirstSecondInThisMinute() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_FirstSecondInThisMinute(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::LastSecondInThisMinute() const + template auto consume_Windows_Globalization_ICalendar::LastSecondInThisMinute() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_LastSecondInThisMinute(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar::NumberOfSecondsInThisMinute() const + template auto consume_Windows_Globalization_ICalendar::NumberOfSecondsInThisMinute() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumberOfSecondsInThisMinute(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar::ResolvedLanguage() const + template auto consume_Windows_Globalization_ICalendar::ResolvedLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_ResolvedLanguage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Globalization_ICalendar::IsDaylightSavingTime() const + template auto consume_Windows_Globalization_ICalendar::IsDaylightSavingTime() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_IsDaylightSavingTime(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Calendar) consume_Windows_Globalization_ICalendarFactory::CreateCalendarDefaultCalendarAndClock(param::iterable const& languages) const + template auto consume_Windows_Globalization_ICalendarFactory::CreateCalendarDefaultCalendarAndClock(param::iterable const& languages) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarFactory)->CreateCalendarDefaultCalendarAndClock(*(void**)(&languages), &result)); return winrt::Windows::Globalization::Calendar{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Calendar) consume_Windows_Globalization_ICalendarFactory::CreateCalendar(param::iterable const& languages, param::hstring const& calendar, param::hstring const& clock) const + template auto consume_Windows_Globalization_ICalendarFactory::CreateCalendar(param::iterable const& languages, param::hstring const& calendar, param::hstring const& clock) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarFactory)->CreateCalendar(*(void**)(&languages), *(void**)(&calendar), *(void**)(&clock), &result)); return winrt::Windows::Globalization::Calendar{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Calendar) consume_Windows_Globalization_ICalendarFactory2::CreateCalendarWithTimeZone(param::iterable const& languages, param::hstring const& calendar, param::hstring const& clock, param::hstring const& timeZoneId) const + template auto consume_Windows_Globalization_ICalendarFactory2::CreateCalendarWithTimeZone(param::iterable const& languages, param::hstring const& calendar, param::hstring const& clock, param::hstring const& timeZoneId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarFactory2)->CreateCalendarWithTimeZone(*(void**)(&languages), *(void**)(&calendar), *(void**)(&clock), *(void**)(&timeZoneId), &result)); return winrt::Windows::Globalization::Calendar{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics::Gregorian() const + template auto consume_Windows_Globalization_ICalendarIdentifiersStatics::Gregorian() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_Gregorian(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics::Hebrew() const + template auto consume_Windows_Globalization_ICalendarIdentifiersStatics::Hebrew() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_Hebrew(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics::Hijri() const + template auto consume_Windows_Globalization_ICalendarIdentifiersStatics::Hijri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_Hijri(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics::Japanese() const + template auto consume_Windows_Globalization_ICalendarIdentifiersStatics::Japanese() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_Japanese(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics::Julian() const + template auto consume_Windows_Globalization_ICalendarIdentifiersStatics::Julian() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_Julian(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics::Korean() const + template auto consume_Windows_Globalization_ICalendarIdentifiersStatics::Korean() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_Korean(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics::Taiwan() const + template auto consume_Windows_Globalization_ICalendarIdentifiersStatics::Taiwan() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_Taiwan(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics::Thai() const + template auto consume_Windows_Globalization_ICalendarIdentifiersStatics::Thai() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_Thai(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics::UmAlQura() const + template auto consume_Windows_Globalization_ICalendarIdentifiersStatics::UmAlQura() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_UmAlQura(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics2::Persian() const + template auto consume_Windows_Globalization_ICalendarIdentifiersStatics2::Persian() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics2)->get_Persian(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics3::ChineseLunar() const + template auto consume_Windows_Globalization_ICalendarIdentifiersStatics3::ChineseLunar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics3)->get_ChineseLunar(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics3::JapaneseLunar() const + template auto consume_Windows_Globalization_ICalendarIdentifiersStatics3::JapaneseLunar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics3)->get_JapaneseLunar(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics3::KoreanLunar() const + template auto consume_Windows_Globalization_ICalendarIdentifiersStatics3::KoreanLunar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics3)->get_KoreanLunar(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics3::TaiwanLunar() const + template auto consume_Windows_Globalization_ICalendarIdentifiersStatics3::TaiwanLunar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics3)->get_TaiwanLunar(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics3::VietnameseLunar() const + template auto consume_Windows_Globalization_ICalendarIdentifiersStatics3::VietnameseLunar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics3)->get_VietnameseLunar(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IClockIdentifiersStatics::TwelveHour() const + template auto consume_Windows_Globalization_IClockIdentifiersStatics::TwelveHour() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IClockIdentifiersStatics)->get_TwelveHour(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IClockIdentifiersStatics::TwentyFourHour() const + template auto consume_Windows_Globalization_IClockIdentifiersStatics::TwentyFourHour() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IClockIdentifiersStatics)->get_TwentyFourHour(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyAmount::Amount() const + template auto consume_Windows_Globalization_ICurrencyAmount::Amount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyAmount)->get_Amount(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyAmount::Currency() const + template auto consume_Windows_Globalization_ICurrencyAmount::Currency() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyAmount)->get_Currency(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::CurrencyAmount) consume_Windows_Globalization_ICurrencyAmountFactory::Create(param::hstring const& amount, param::hstring const& currency) const + template auto consume_Windows_Globalization_ICurrencyAmountFactory::Create(param::hstring const& amount, param::hstring const& currency) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyAmountFactory)->Create(*(void**)(&amount), *(void**)(¤cy), &result)); return winrt::Windows::Globalization::CurrencyAmount{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::AED() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::AED() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_AED(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::AFN() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::AFN() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_AFN(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::ALL() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::ALL() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ALL(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::AMD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::AMD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_AMD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::ANG() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::ANG() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ANG(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::AOA() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::AOA() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_AOA(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::ARS() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::ARS() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ARS(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::AUD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::AUD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_AUD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::AWG() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::AWG() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_AWG(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::AZN() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::AZN() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_AZN(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::BAM() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::BAM() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BAM(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::BBD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::BBD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BBD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::BDT() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::BDT() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BDT(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::BGN() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::BGN() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BGN(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::BHD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::BHD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BHD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::BIF() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::BIF() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BIF(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::BMD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::BMD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BMD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::BND() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::BND() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BND(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::BOB() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::BOB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BOB(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::BRL() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::BRL() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BRL(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::BSD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::BSD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BSD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::BTN() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::BTN() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BTN(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::BWP() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::BWP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BWP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::BYR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::BYR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BYR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::BZD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::BZD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BZD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::CAD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::CAD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CAD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::CDF() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::CDF() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CDF(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::CHF() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::CHF() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CHF(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::CLP() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::CLP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CLP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::CNY() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::CNY() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CNY(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::COP() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::COP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_COP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::CRC() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::CRC() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CRC(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::CUP() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::CUP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CUP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::CVE() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::CVE() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CVE(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::CZK() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::CZK() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CZK(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::DJF() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::DJF() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_DJF(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::DKK() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::DKK() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_DKK(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::DOP() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::DOP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_DOP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::DZD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::DZD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_DZD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::EGP() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::EGP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_EGP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::ERN() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::ERN() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ERN(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::ETB() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::ETB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ETB(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::EUR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::EUR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_EUR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::FJD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::FJD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_FJD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::FKP() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::FKP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_FKP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::GBP() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::GBP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_GBP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::GEL() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::GEL() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_GEL(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::GHS() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::GHS() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_GHS(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::GIP() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::GIP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_GIP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::GMD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::GMD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_GMD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::GNF() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::GNF() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_GNF(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::GTQ() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::GTQ() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_GTQ(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::GYD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::GYD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_GYD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::HKD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::HKD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_HKD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::HNL() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::HNL() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_HNL(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::HRK() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::HRK() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_HRK(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::HTG() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::HTG() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_HTG(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::HUF() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::HUF() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_HUF(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::IDR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::IDR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_IDR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::ILS() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::ILS() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ILS(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::INR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::INR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_INR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::IQD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::IQD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_IQD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::IRR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::IRR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_IRR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::ISK() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::ISK() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ISK(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::JMD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::JMD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_JMD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::JOD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::JOD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_JOD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::JPY() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::JPY() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_JPY(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::KES() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::KES() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KES(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::KGS() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::KGS() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KGS(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::KHR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::KHR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KHR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::KMF() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::KMF() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KMF(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::KPW() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::KPW() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KPW(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::KRW() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::KRW() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KRW(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::KWD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::KWD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KWD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::KYD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::KYD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KYD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::KZT() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::KZT() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KZT(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::LAK() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::LAK() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_LAK(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::LBP() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::LBP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_LBP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::LKR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::LKR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_LKR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::LRD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::LRD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_LRD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::LSL() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::LSL() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_LSL(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::LTL() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::LTL() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_LTL(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::LVL() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::LVL() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_LVL(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::LYD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::LYD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_LYD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::MAD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::MAD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MAD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::MDL() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::MDL() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MDL(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::MGA() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::MGA() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MGA(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::MKD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::MKD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MKD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::MMK() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::MMK() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MMK(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::MNT() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::MNT() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MNT(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::MOP() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::MOP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MOP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::MRO() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::MRO() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MRO(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::MUR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::MUR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MUR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::MVR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::MVR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MVR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::MWK() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::MWK() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MWK(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::MXN() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::MXN() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MXN(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::MYR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::MYR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MYR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::MZN() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::MZN() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MZN(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::NAD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::NAD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_NAD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::NGN() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::NGN() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_NGN(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::NIO() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::NIO() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_NIO(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::NOK() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::NOK() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_NOK(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::NPR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::NPR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_NPR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::NZD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::NZD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_NZD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::OMR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::OMR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_OMR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::PAB() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::PAB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_PAB(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::PEN() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::PEN() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_PEN(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::PGK() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::PGK() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_PGK(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::PHP() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::PHP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_PHP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::PKR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::PKR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_PKR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::PLN() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::PLN() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_PLN(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::PYG() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::PYG() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_PYG(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::QAR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::QAR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_QAR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::RON() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::RON() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_RON(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::RSD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::RSD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_RSD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::RUB() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::RUB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_RUB(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::RWF() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::RWF() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_RWF(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::SAR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::SAR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SAR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::SBD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::SBD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SBD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::SCR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::SCR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SCR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::SDG() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::SDG() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SDG(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::SEK() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::SEK() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SEK(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::SGD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::SGD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SGD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::SHP() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::SHP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SHP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::SLL() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::SLL() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SLL(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::SOS() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::SOS() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SOS(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::SRD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::SRD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SRD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::STD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::STD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_STD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::SYP() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::SYP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SYP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::SZL() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::SZL() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SZL(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::THB() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::THB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_THB(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::TJS() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::TJS() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_TJS(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::TMT() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::TMT() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_TMT(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::TND() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::TND() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_TND(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::TOP() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::TOP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_TOP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::TRY() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::TRY() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_TRY(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::TTD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::TTD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_TTD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::TWD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::TWD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_TWD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::TZS() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::TZS() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_TZS(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::UAH() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::UAH() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_UAH(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::UGX() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::UGX() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_UGX(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::USD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::USD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_USD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::UYU() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::UYU() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_UYU(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::UZS() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::UZS() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_UZS(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::VEF() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::VEF() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_VEF(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::VND() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::VND() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_VND(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::VUV() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::VUV() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_VUV(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::WST() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::WST() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_WST(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::XAF() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::XAF() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_XAF(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::XCD() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::XCD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_XCD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::XOF() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::XOF() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_XOF(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::XPF() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::XPF() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_XPF(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::XXX() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::XXX() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_XXX(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::YER() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::YER() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_YER(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::ZAR() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::ZAR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ZAR(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::ZMW() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::ZMW() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ZMW(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics::ZWL() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics::ZWL() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ZWL(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics2::BYN() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics2::BYN() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics2)->get_BYN(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics3::MRU() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics3::MRU() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics3)->get_MRU(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics3::SSP() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics3::SSP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics3)->get_SSP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics3::STN() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics3::STN() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics3)->get_STN(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics3::VES() const + template auto consume_Windows_Globalization_ICurrencyIdentifiersStatics3::VES() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics3)->get_VES(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IGeographicRegion::Code() const + template auto consume_Windows_Globalization_IGeographicRegion::Code() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegion)->get_Code(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IGeographicRegion::CodeTwoLetter() const + template auto consume_Windows_Globalization_IGeographicRegion::CodeTwoLetter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegion)->get_CodeTwoLetter(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IGeographicRegion::CodeThreeLetter() const + template auto consume_Windows_Globalization_IGeographicRegion::CodeThreeLetter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegion)->get_CodeThreeLetter(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IGeographicRegion::CodeThreeDigit() const + template auto consume_Windows_Globalization_IGeographicRegion::CodeThreeDigit() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegion)->get_CodeThreeDigit(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IGeographicRegion::DisplayName() const + template auto consume_Windows_Globalization_IGeographicRegion::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegion)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IGeographicRegion::NativeName() const + template auto consume_Windows_Globalization_IGeographicRegion::NativeName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegion)->get_NativeName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Globalization_IGeographicRegion::CurrenciesInUse() const + template auto consume_Windows_Globalization_IGeographicRegion::CurrenciesInUse() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegion)->get_CurrenciesInUse(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::GeographicRegion) consume_Windows_Globalization_IGeographicRegionFactory::CreateGeographicRegion(param::hstring const& geographicRegionCode) const + template auto consume_Windows_Globalization_IGeographicRegionFactory::CreateGeographicRegion(param::hstring const& geographicRegionCode) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegionFactory)->CreateGeographicRegion(*(void**)(&geographicRegionCode), &result)); return winrt::Windows::Globalization::GeographicRegion{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Globalization_IGeographicRegionStatics::IsSupported(param::hstring const& geographicRegionCode) const + template auto consume_Windows_Globalization_IGeographicRegionStatics::IsSupported(param::hstring const& geographicRegionCode) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegionStatics)->IsSupported(*(void**)(&geographicRegionCode), &result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IJapanesePhoneme::DisplayText() const + template auto consume_Windows_Globalization_IJapanesePhoneme::DisplayText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IJapanesePhoneme)->get_DisplayText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IJapanesePhoneme::YomiText() const + template auto consume_Windows_Globalization_IJapanesePhoneme::YomiText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IJapanesePhoneme)->get_YomiText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Globalization_IJapanesePhoneme::IsPhraseStart() const + template auto consume_Windows_Globalization_IJapanesePhoneme::IsPhraseStart() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IJapanesePhoneme)->get_IsPhraseStart(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Globalization_IJapanesePhoneticAnalyzerStatics::GetWords(param::hstring const& input) const + template auto consume_Windows_Globalization_IJapanesePhoneticAnalyzerStatics::GetWords(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IJapanesePhoneticAnalyzerStatics)->GetWords(*(void**)(&input), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Globalization_IJapanesePhoneticAnalyzerStatics::GetWords(param::hstring const& input, bool monoRuby) const + template auto consume_Windows_Globalization_IJapanesePhoneticAnalyzerStatics::GetWords(param::hstring const& input, bool monoRuby) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IJapanesePhoneticAnalyzerStatics)->GetWordsWithMonoRubyOption(*(void**)(&input), monoRuby, &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ILanguage::LanguageTag() const + template auto consume_Windows_Globalization_ILanguage::LanguageTag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguage)->get_LanguageTag(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ILanguage::DisplayName() const + template auto consume_Windows_Globalization_ILanguage::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguage)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ILanguage::NativeName() const + template auto consume_Windows_Globalization_ILanguage::NativeName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguage)->get_NativeName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ILanguage::Script() const + template auto consume_Windows_Globalization_ILanguage::Script() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguage)->get_Script(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::LanguageLayoutDirection) consume_Windows_Globalization_ILanguage2::LayoutDirection() const + template auto consume_Windows_Globalization_ILanguage2::LayoutDirection() const { winrt::Windows::Globalization::LanguageLayoutDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguage2)->get_LayoutDirection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ILanguage3::AbbreviatedName() const + template auto consume_Windows_Globalization_ILanguage3::AbbreviatedName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguage3)->get_AbbreviatedName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Globalization_ILanguageExtensionSubtags::GetExtensionSubtags(param::hstring const& singleton) const + template auto consume_Windows_Globalization_ILanguageExtensionSubtags::GetExtensionSubtags(param::hstring const& singleton) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguageExtensionSubtags)->GetExtensionSubtags(*(void**)(&singleton), &value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) consume_Windows_Globalization_ILanguageFactory::CreateLanguage(param::hstring const& languageTag) const + template auto consume_Windows_Globalization_ILanguageFactory::CreateLanguage(param::hstring const& languageTag) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguageFactory)->CreateLanguage(*(void**)(&languageTag), &result)); return winrt::Windows::Globalization::Language{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Globalization_ILanguageStatics::IsWellFormed(param::hstring const& languageTag) const + template auto consume_Windows_Globalization_ILanguageStatics::IsWellFormed(param::hstring const& languageTag) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguageStatics)->IsWellFormed(*(void**)(&languageTag), &result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ILanguageStatics::CurrentInputMethodLanguageTag() const + template auto consume_Windows_Globalization_ILanguageStatics::CurrentInputMethodLanguageTag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguageStatics)->get_CurrentInputMethodLanguageTag(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Globalization_ILanguageStatics2::TrySetInputMethodLanguageTag(param::hstring const& languageTag) const + template auto consume_Windows_Globalization_ILanguageStatics2::TrySetInputMethodLanguageTag(param::hstring const& languageTag) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguageStatics2)->TrySetInputMethodLanguageTag(*(void**)(&languageTag), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Globalization_ILanguageStatics3::GetMuiCompatibleLanguageListFromLanguageTags(param::iterable const& languageTags) const + template auto consume_Windows_Globalization_ILanguageStatics3::GetMuiCompatibleLanguageListFromLanguageTags(param::iterable const& languageTags) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguageStatics3)->GetMuiCompatibleLanguageListFromLanguageTags(*(void**)(&languageTags), &result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Arab() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Arab() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Arab(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::ArabExt() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::ArabExt() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_ArabExt(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Bali() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Bali() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Bali(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Beng() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Beng() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Beng(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Cham() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Cham() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Cham(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Deva() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Deva() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Deva(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::FullWide() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::FullWide() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_FullWide(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Gujr() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Gujr() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Gujr(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Guru() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Guru() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Guru(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::HaniDec() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::HaniDec() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_HaniDec(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Java() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Java() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Java(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Kali() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Kali() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Kali(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Khmr() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Khmr() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Khmr(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Knda() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Knda() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Knda(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Lana() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Lana() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Lana(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::LanaTham() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::LanaTham() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_LanaTham(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Laoo() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Laoo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Laoo(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Latn() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Latn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Latn(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Lepc() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Lepc() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Lepc(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Limb() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Limb() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Limb(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Mlym() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Mlym() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Mlym(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Mong() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Mong() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Mong(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Mtei() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Mtei() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Mtei(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Mymr() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Mymr() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Mymr(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::MymrShan() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::MymrShan() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_MymrShan(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Nkoo() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Nkoo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Nkoo(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Olck() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Olck() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Olck(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Orya() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Orya() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Orya(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Saur() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Saur() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Saur(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Sund() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Sund() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Sund(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Talu() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Talu() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Talu(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::TamlDec() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::TamlDec() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_TamlDec(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Telu() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Telu() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Telu(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Thai() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Thai() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Thai(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Tibt() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Tibt() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Tibt(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Vaii() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics::Vaii() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Vaii(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::Brah() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::Brah() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_Brah(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::Osma() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::Osma() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_Osma(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::MathBold() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::MathBold() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_MathBold(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::MathDbl() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::MathDbl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_MathDbl(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::MathSans() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::MathSans() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_MathSans(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::MathSanb() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::MathSanb() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_MathSanb(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::MathMono() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::MathMono() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_MathMono(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::ZmthBold() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::ZmthBold() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_ZmthBold(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::ZmthDbl() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::ZmthDbl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_ZmthDbl(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::ZmthSans() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::ZmthSans() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_ZmthSans(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::ZmthSanb() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::ZmthSanb() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_ZmthSanb(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::ZmthMono() const + template auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2::ZmthMono() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_ZmthMono(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ITimeZoneOnCalendar::GetTimeZone() const + template auto consume_Windows_Globalization_ITimeZoneOnCalendar::GetTimeZone() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ITimeZoneOnCalendar)->GetTimeZone(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ITimeZoneOnCalendar::ChangeTimeZone(param::hstring const& timeZoneId) const + template auto consume_Windows_Globalization_ITimeZoneOnCalendar::ChangeTimeZone(param::hstring const& timeZoneId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ITimeZoneOnCalendar)->ChangeTimeZone(*(void**)(&timeZoneId))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ITimeZoneOnCalendar::TimeZoneAsString() const + template auto consume_Windows_Globalization_ITimeZoneOnCalendar::TimeZoneAsString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ITimeZoneOnCalendar)->TimeZoneAsFullString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ITimeZoneOnCalendar::TimeZoneAsString(int32_t idealLength) const + template auto consume_Windows_Globalization_ITimeZoneOnCalendar::TimeZoneAsString(int32_t idealLength) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ITimeZoneOnCalendar)->TimeZoneAsString(idealLength, &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Capture.h b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Capture.h index 26996828..86b32e57 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Capture.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Capture.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Capture_H #define WINRT_Windows_Graphics_Capture_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Graphics.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Graphics.2.h" @@ -18,153 +18,153 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Graphics.Capture.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame::Surface() const + template auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame::Surface() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IDirect3D11CaptureFrame)->get_Surface(&value)); return winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame::SystemRelativeTime() const + template auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame::SystemRelativeTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IDirect3D11CaptureFrame)->get_SystemRelativeTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame::ContentSize() const + template auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame::ContentSize() const { winrt::Windows::Graphics::SizeInt32 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IDirect3D11CaptureFrame)->get_ContentSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool::Recreate(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size) const + template auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool::Recreate(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool)->Recreate(*(void**)(&device), static_cast(pixelFormat), numberOfBuffers, impl::bind_in(size))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::Direct3D11CaptureFrame) consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool::TryGetNextFrame() const + template auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool::TryGetNextFrame() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool)->TryGetNextFrame(&result)); return winrt::Windows::Graphics::Capture::Direct3D11CaptureFrame{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool::FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool::FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool)->add_FrameArrived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool::FrameArrived_revoker consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameArrived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool::FrameArrived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool::FrameArrived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool)->remove_FrameArrived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureSession) consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool::CreateCaptureSession(winrt::Windows::Graphics::Capture::GraphicsCaptureItem const& item) const + template auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool::CreateCaptureSession(winrt::Windows::Graphics::Capture::GraphicsCaptureItem const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool)->CreateCaptureSession(*(void**)(&item), &result)); return winrt::Windows::Graphics::Capture::GraphicsCaptureSession{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool::DispatcherQueue() const + template auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool::DispatcherQueue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool)->get_DispatcherQueue(&value)); return winrt::Windows::System::DispatcherQueue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool) consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePoolStatics::Create(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size) const + template auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePoolStatics::Create(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePoolStatics)->Create(*(void**)(&device), static_cast(pixelFormat), numberOfBuffers, impl::bind_in(size), &result)); return winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool) consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePoolStatics2::CreateFreeThreaded(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size) const + template auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePoolStatics2::CreateFreeThreaded(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePoolStatics2)->CreateFreeThreaded(*(void**)(&device), static_cast(pixelFormat), numberOfBuffers, impl::bind_in(size), &result)); return winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Capture_IGraphicsCaptureAccessStatics::RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request) const + template auto consume_Windows_Graphics_Capture_IGraphicsCaptureAccessStatics::RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureAccessStatics)->RequestAccessAsync(static_cast(request), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Capture_IGraphicsCaptureItem::DisplayName() const + template auto consume_Windows_Graphics_Capture_IGraphicsCaptureItem::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureItem)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_Graphics_Capture_IGraphicsCaptureItem::Size() const + template auto consume_Windows_Graphics_Capture_IGraphicsCaptureItem::Size() const { winrt::Windows::Graphics::SizeInt32 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureItem)->get_Size(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Capture_IGraphicsCaptureItem::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Capture_IGraphicsCaptureItem::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureItem)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Capture_IGraphicsCaptureItem::Closed_revoker consume_Windows_Graphics_Capture_IGraphicsCaptureItem::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Capture_IGraphicsCaptureItem::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Capture_IGraphicsCaptureItem::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Capture_IGraphicsCaptureItem::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureItem)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics::CreateFromVisual(winrt::Windows::UI::Composition::Visual const& visual) const + template auto consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics::CreateFromVisual(winrt::Windows::UI::Composition::Visual const& visual) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics)->CreateFromVisual(*(void**)(&visual), &result)); return winrt::Windows::Graphics::Capture::GraphicsCaptureItem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2::TryCreateFromWindowId(winrt::Windows::UI::WindowId const& windowId) const + template auto consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2::TryCreateFromWindowId(winrt::Windows::UI::WindowId const& windowId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics2)->TryCreateFromWindowId(impl::bind_in(windowId), &result)); return winrt::Windows::Graphics::Capture::GraphicsCaptureItem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2::TryCreateFromDisplayId(winrt::Windows::Graphics::DisplayId const& displayId) const + template auto consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2::TryCreateFromDisplayId(winrt::Windows::Graphics::DisplayId const& displayId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics2)->TryCreateFromDisplayId(impl::bind_in(displayId), &result)); return winrt::Windows::Graphics::Capture::GraphicsCaptureItem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Capture_IGraphicsCapturePicker::PickSingleItemAsync() const + template auto consume_Windows_Graphics_Capture_IGraphicsCapturePicker::PickSingleItemAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCapturePicker)->PickSingleItemAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Capture_IGraphicsCaptureSession::StartCapture() const + template auto consume_Windows_Graphics_Capture_IGraphicsCaptureSession::StartCapture() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSession)->StartCapture()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Capture_IGraphicsCaptureSession2::IsCursorCaptureEnabled() const + template auto consume_Windows_Graphics_Capture_IGraphicsCaptureSession2::IsCursorCaptureEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSession2)->get_IsCursorCaptureEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Capture_IGraphicsCaptureSession2::IsCursorCaptureEnabled(bool value) const + template auto consume_Windows_Graphics_Capture_IGraphicsCaptureSession2::IsCursorCaptureEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSession2)->put_IsCursorCaptureEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Capture_IGraphicsCaptureSession3::IsBorderRequired() const + template auto consume_Windows_Graphics_Capture_IGraphicsCaptureSession3::IsBorderRequired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3)->get_IsBorderRequired(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Capture_IGraphicsCaptureSession3::IsBorderRequired(bool value) const + template auto consume_Windows_Graphics_Capture_IGraphicsCaptureSession3::IsBorderRequired(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3)->put_IsBorderRequired(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Capture_IGraphicsCaptureSessionStatics::IsSupported() const + template auto consume_Windows_Graphics_Capture_IGraphicsCaptureSessionStatics::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSessionStatics)->IsSupported(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.DirectX.Direct3D11.h b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.DirectX.Direct3D11.h index ecf331d5..5245c323 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.DirectX.Direct3D11.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.DirectX.Direct3D11.h @@ -1,20 +1,20 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_DirectX_Direct3D11_H #define WINRT_Windows_Graphics_DirectX_Direct3D11_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Graphics.DirectX.h" #include "winrt/impl/Windows.Graphics.DirectX.Direct3D11.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_DirectX_Direct3D11_IDirect3DDevice::Trim() const + template auto consume_Windows_Graphics_DirectX_Direct3D11_IDirect3DDevice::Trim() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice)->Trim()); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DSurfaceDescription) consume_Windows_Graphics_DirectX_Direct3D11_IDirect3DSurface::Description() const + template auto consume_Windows_Graphics_DirectX_Direct3D11_IDirect3DSurface::Description() const { winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DSurfaceDescription value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface)->get_Description(put_abi(value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.DirectX.h b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.DirectX.h index 275faeed..f551a2b6 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.DirectX.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.DirectX.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_DirectX_H #define WINRT_Windows_Graphics_DirectX_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Graphics.h" #include "winrt/impl/Windows.Graphics.DirectX.2.h" namespace winrt::impl diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Display.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Display.Core.h index 5d465503..eb83f086 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Display.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Display.Core.h @@ -1,140 +1,140 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Display_Core_H #define WINRT_Windows_Graphics_Display_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Graphics.Display.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Graphics.Display.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::GetSupportedDisplayModes() const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::GetSupportedDisplayModes() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformation)->GetSupportedDisplayModes(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::GetCurrentDisplayMode() const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::GetCurrentDisplayMode() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformation)->GetCurrentDisplayMode(&result)); return winrt::Windows::Graphics::Display::Core::HdmiDisplayMode{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::SetDefaultDisplayModeAsync() const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::SetDefaultDisplayModeAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformation)->SetDefaultDisplayModeAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode) const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformation)->RequestSetCurrentDisplayModeAsync(*(void**)(&mode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode, winrt::Windows::Graphics::Display::Core::HdmiDisplayHdrOption const& hdrOption) const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode, winrt::Windows::Graphics::Display::Core::HdmiDisplayHdrOption const& hdrOption) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformation)->RequestSetCurrentDisplayModeWithHdrAsync(*(void**)(&mode), static_cast(hdrOption), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode, winrt::Windows::Graphics::Display::Core::HdmiDisplayHdrOption const& hdrOption, winrt::Windows::Graphics::Display::Core::HdmiDisplayHdr2086Metadata const& hdrMetadata) const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode, winrt::Windows::Graphics::Display::Core::HdmiDisplayHdrOption const& hdrOption, winrt::Windows::Graphics::Display::Core::HdmiDisplayHdr2086Metadata const& hdrMetadata) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformation)->RequestSetCurrentDisplayModeWithHdrAndMetadataAsync(*(void**)(&mode), static_cast(hdrOption), impl::bind_in(hdrMetadata), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::DisplayModesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::DisplayModesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformation)->add_DisplayModesChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::DisplayModesChanged_revoker consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::DisplayModesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::DisplayModesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, DisplayModesChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::DisplayModesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation::DisplayModesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformation)->remove_DisplayModesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::Core::HdmiDisplayInformation) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformationStatics::GetForCurrentView() const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformationStatics::GetForCurrentView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformationStatics)->GetForCurrentView(&result)); return winrt::Windows::Graphics::Display::Core::HdmiDisplayInformation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::ResolutionWidthInRawPixels() const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::ResolutionWidthInRawPixels() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_ResolutionWidthInRawPixels(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::ResolutionHeightInRawPixels() const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::ResolutionHeightInRawPixels() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_ResolutionHeightInRawPixels(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::RefreshRate() const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::RefreshRate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_RefreshRate(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::StereoEnabled() const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::StereoEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_StereoEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::BitsPerPixel() const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::BitsPerPixel() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_BitsPerPixel(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::IsEqual(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode) const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::IsEqual(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->IsEqual(*(void**)(&mode), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::Core::HdmiDisplayColorSpace) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::ColorSpace() const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::ColorSpace() const { winrt::Windows::Graphics::Display::Core::HdmiDisplayColorSpace value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_ColorSpace(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::Core::HdmiDisplayPixelEncoding) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::PixelEncoding() const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::PixelEncoding() const { winrt::Windows::Graphics::Display::Core::HdmiDisplayPixelEncoding value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_PixelEncoding(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::IsSdrLuminanceSupported() const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::IsSdrLuminanceSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_IsSdrLuminanceSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::IsSmpte2084Supported() const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::IsSmpte2084Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_IsSmpte2084Supported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::Is2086MetadataSupported() const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode::Is2086MetadataSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_Is2086MetadataSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode2::IsDolbyVisionLowLatencySupported() const + template auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode2::IsDolbyVisionLowLatencySupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode2)->get_IsDolbyVisionLowLatencySupported(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Display.h b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Display.h index 169dafc6..7b8de7ed 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Display.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Display.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Display_H #define WINRT_Windows_Graphics_Display_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Graphics.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,627 +14,627 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Graphics.Display.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::AdvancedColorKind) consume_Windows_Graphics_Display_IAdvancedColorInfo::CurrentAdvancedColorKind() const + template auto consume_Windows_Graphics_Display_IAdvancedColorInfo::CurrentAdvancedColorKind() const { winrt::Windows::Graphics::Display::AdvancedColorKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->get_CurrentAdvancedColorKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Graphics_Display_IAdvancedColorInfo::RedPrimary() const + template auto consume_Windows_Graphics_Display_IAdvancedColorInfo::RedPrimary() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->get_RedPrimary(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Graphics_Display_IAdvancedColorInfo::GreenPrimary() const + template auto consume_Windows_Graphics_Display_IAdvancedColorInfo::GreenPrimary() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->get_GreenPrimary(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Graphics_Display_IAdvancedColorInfo::BluePrimary() const + template auto consume_Windows_Graphics_Display_IAdvancedColorInfo::BluePrimary() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->get_BluePrimary(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Graphics_Display_IAdvancedColorInfo::WhitePoint() const + template auto consume_Windows_Graphics_Display_IAdvancedColorInfo::WhitePoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->get_WhitePoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IAdvancedColorInfo::MaxLuminanceInNits() const + template auto consume_Windows_Graphics_Display_IAdvancedColorInfo::MaxLuminanceInNits() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->get_MaxLuminanceInNits(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IAdvancedColorInfo::MinLuminanceInNits() const + template auto consume_Windows_Graphics_Display_IAdvancedColorInfo::MinLuminanceInNits() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->get_MinLuminanceInNits(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IAdvancedColorInfo::MaxAverageFullFrameLuminanceInNits() const + template auto consume_Windows_Graphics_Display_IAdvancedColorInfo::MaxAverageFullFrameLuminanceInNits() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->get_MaxAverageFullFrameLuminanceInNits(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IAdvancedColorInfo::SdrWhiteLevelInNits() const + template auto consume_Windows_Graphics_Display_IAdvancedColorInfo::SdrWhiteLevelInNits() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->get_SdrWhiteLevelInNits(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IAdvancedColorInfo::IsHdrMetadataFormatCurrentlySupported(winrt::Windows::Graphics::Display::HdrMetadataFormat const& format) const + template auto consume_Windows_Graphics_Display_IAdvancedColorInfo::IsHdrMetadataFormatCurrentlySupported(winrt::Windows::Graphics::Display::HdrMetadataFormat const& format) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->IsHdrMetadataFormatCurrentlySupported(static_cast(format), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IAdvancedColorInfo::IsAdvancedColorKindAvailable(winrt::Windows::Graphics::Display::AdvancedColorKind const& kind) const + template auto consume_Windows_Graphics_Display_IAdvancedColorInfo::IsAdvancedColorKindAvailable(winrt::Windows::Graphics::Display::AdvancedColorKind const& kind) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->IsAdvancedColorKindAvailable(static_cast(kind), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IBrightnessOverride::IsSupported() const + template auto consume_Windows_Graphics_Display_IBrightnessOverride::IsSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->get_IsSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IBrightnessOverride::IsOverrideActive() const + template auto consume_Windows_Graphics_Display_IBrightnessOverride::IsOverrideActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->get_IsOverrideActive(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Display_IBrightnessOverride::BrightnessLevel() const + template auto consume_Windows_Graphics_Display_IBrightnessOverride::BrightnessLevel() const { double level{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->get_BrightnessLevel(&level)); return level; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IBrightnessOverride::SetBrightnessLevel(double brightnessLevel, winrt::Windows::Graphics::Display::DisplayBrightnessOverrideOptions const& options) const + template auto consume_Windows_Graphics_Display_IBrightnessOverride::SetBrightnessLevel(double brightnessLevel, winrt::Windows::Graphics::Display::DisplayBrightnessOverrideOptions const& options) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->SetBrightnessLevel(brightnessLevel, static_cast(options))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IBrightnessOverride::SetBrightnessScenario(winrt::Windows::Graphics::Display::DisplayBrightnessScenario const& scenario, winrt::Windows::Graphics::Display::DisplayBrightnessOverrideOptions const& options) const + template auto consume_Windows_Graphics_Display_IBrightnessOverride::SetBrightnessScenario(winrt::Windows::Graphics::Display::DisplayBrightnessScenario const& scenario, winrt::Windows::Graphics::Display::DisplayBrightnessOverrideOptions const& options) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->SetBrightnessScenario(static_cast(scenario), static_cast(options))); } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Display_IBrightnessOverride::GetLevelForScenario(winrt::Windows::Graphics::Display::DisplayBrightnessScenario const& scenario) const + template auto consume_Windows_Graphics_Display_IBrightnessOverride::GetLevelForScenario(winrt::Windows::Graphics::Display::DisplayBrightnessScenario const& scenario) const { double brightnessLevel{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->GetLevelForScenario(static_cast(scenario), &brightnessLevel)); return brightnessLevel; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IBrightnessOverride::StartOverride() const + template auto consume_Windows_Graphics_Display_IBrightnessOverride::StartOverride() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->StartOverride()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IBrightnessOverride::StopOverride() const + template auto consume_Windows_Graphics_Display_IBrightnessOverride::StopOverride() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->StopOverride()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IBrightnessOverride::IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IBrightnessOverride::IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->add_IsSupportedChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IBrightnessOverride::IsSupportedChanged_revoker consume_Windows_Graphics_Display_IBrightnessOverride::IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IBrightnessOverride::IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsSupportedChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IBrightnessOverride::IsSupportedChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IBrightnessOverride::IsSupportedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->remove_IsSupportedChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IBrightnessOverride::IsOverrideActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IBrightnessOverride::IsOverrideActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->add_IsOverrideActiveChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IBrightnessOverride::IsOverrideActiveChanged_revoker consume_Windows_Graphics_Display_IBrightnessOverride::IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IBrightnessOverride::IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsOverrideActiveChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IBrightnessOverride::IsOverrideActiveChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IBrightnessOverride::IsOverrideActiveChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->remove_IsOverrideActiveChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IBrightnessOverride::BrightnessLevelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IBrightnessOverride::BrightnessLevelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->add_BrightnessLevelChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IBrightnessOverride::BrightnessLevelChanged_revoker consume_Windows_Graphics_Display_IBrightnessOverride::BrightnessLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IBrightnessOverride::BrightnessLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BrightnessLevelChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IBrightnessOverride::BrightnessLevelChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IBrightnessOverride::BrightnessLevelChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->remove_BrightnessLevelChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Display_IBrightnessOverrideSettings::DesiredLevel() const + template auto consume_Windows_Graphics_Display_IBrightnessOverrideSettings::DesiredLevel() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverrideSettings)->get_DesiredLevel(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IBrightnessOverrideSettings::DesiredNits() const + template auto consume_Windows_Graphics_Display_IBrightnessOverrideSettings::DesiredNits() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverrideSettings)->get_DesiredNits(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverrideSettings) consume_Windows_Graphics_Display_IBrightnessOverrideSettingsStatics::CreateFromLevel(double level) const + template auto consume_Windows_Graphics_Display_IBrightnessOverrideSettingsStatics::CreateFromLevel(double level) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverrideSettingsStatics)->CreateFromLevel(level, &result)); return winrt::Windows::Graphics::Display::BrightnessOverrideSettings{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverrideSettings) consume_Windows_Graphics_Display_IBrightnessOverrideSettingsStatics::CreateFromNits(float nits) const + template auto consume_Windows_Graphics_Display_IBrightnessOverrideSettingsStatics::CreateFromNits(float nits) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverrideSettingsStatics)->CreateFromNits(nits, &result)); return winrt::Windows::Graphics::Display::BrightnessOverrideSettings{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverrideSettings) consume_Windows_Graphics_Display_IBrightnessOverrideSettingsStatics::CreateFromDisplayBrightnessOverrideScenario(winrt::Windows::Graphics::Display::DisplayBrightnessOverrideScenario const& overrideScenario) const + template auto consume_Windows_Graphics_Display_IBrightnessOverrideSettingsStatics::CreateFromDisplayBrightnessOverrideScenario(winrt::Windows::Graphics::Display::DisplayBrightnessOverrideScenario const& overrideScenario) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverrideSettingsStatics)->CreateFromDisplayBrightnessOverrideScenario(static_cast(overrideScenario), &result)); return winrt::Windows::Graphics::Display::BrightnessOverrideSettings{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverride) consume_Windows_Graphics_Display_IBrightnessOverrideStatics::GetDefaultForSystem() const + template auto consume_Windows_Graphics_Display_IBrightnessOverrideStatics::GetDefaultForSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverrideStatics)->GetDefaultForSystem(&value)); return winrt::Windows::Graphics::Display::BrightnessOverride{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverride) consume_Windows_Graphics_Display_IBrightnessOverrideStatics::GetForCurrentView() const + template auto consume_Windows_Graphics_Display_IBrightnessOverrideStatics::GetForCurrentView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverrideStatics)->GetForCurrentView(&value)); return winrt::Windows::Graphics::Display::BrightnessOverride{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Display_IBrightnessOverrideStatics::SaveForSystemAsync(winrt::Windows::Graphics::Display::BrightnessOverride const& value) const + template auto consume_Windows_Graphics_Display_IBrightnessOverrideStatics::SaveForSystemAsync(winrt::Windows::Graphics::Display::BrightnessOverride const& value) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverrideStatics)->SaveForSystemAsync(*(void**)(&value), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayColorOverrideScenario) consume_Windows_Graphics_Display_IColorOverrideSettings::DesiredDisplayColorOverrideScenario() const + template auto consume_Windows_Graphics_Display_IColorOverrideSettings::DesiredDisplayColorOverrideScenario() const { winrt::Windows::Graphics::Display::DisplayColorOverrideScenario value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IColorOverrideSettings)->get_DesiredDisplayColorOverrideScenario(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::ColorOverrideSettings) consume_Windows_Graphics_Display_IColorOverrideSettingsStatics::CreateFromDisplayColorOverrideScenario(winrt::Windows::Graphics::Display::DisplayColorOverrideScenario const& overrideScenario) const + template auto consume_Windows_Graphics_Display_IColorOverrideSettingsStatics::CreateFromDisplayColorOverrideScenario(winrt::Windows::Graphics::Display::DisplayColorOverrideScenario const& overrideScenario) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IColorOverrideSettingsStatics)->CreateFromDisplayColorOverrideScenario(static_cast(overrideScenario), &result)); return winrt::Windows::Graphics::Display::ColorOverrideSettings{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::ColorOverrideSettings) consume_Windows_Graphics_Display_IDisplayEnhancementOverride::ColorOverrideSettings() const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::ColorOverrideSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->get_ColorOverrideSettings(&value)); return winrt::Windows::Graphics::Display::ColorOverrideSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayEnhancementOverride::ColorOverrideSettings(winrt::Windows::Graphics::Display::ColorOverrideSettings const& value) const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::ColorOverrideSettings(winrt::Windows::Graphics::Display::ColorOverrideSettings const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->put_ColorOverrideSettings(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverrideSettings) consume_Windows_Graphics_Display_IDisplayEnhancementOverride::BrightnessOverrideSettings() const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::BrightnessOverrideSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->get_BrightnessOverrideSettings(&value)); return winrt::Windows::Graphics::Display::BrightnessOverrideSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayEnhancementOverride::BrightnessOverrideSettings(winrt::Windows::Graphics::Display::BrightnessOverrideSettings const& value) const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::BrightnessOverrideSettings(winrt::Windows::Graphics::Display::BrightnessOverrideSettings const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->put_BrightnessOverrideSettings(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IDisplayEnhancementOverride::CanOverride() const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::CanOverride() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->get_CanOverride(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IDisplayEnhancementOverride::IsOverrideActive() const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::IsOverrideActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->get_IsOverrideActive(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilities) consume_Windows_Graphics_Display_IDisplayEnhancementOverride::GetCurrentDisplayEnhancementOverrideCapabilities() const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::GetCurrentDisplayEnhancementOverrideCapabilities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->GetCurrentDisplayEnhancementOverrideCapabilities(&value)); return winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayEnhancementOverride::RequestOverride() const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::RequestOverride() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->RequestOverride()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayEnhancementOverride::StopOverride() const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::StopOverride() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->StopOverride()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayEnhancementOverride::CanOverrideChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::CanOverrideChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->add_CanOverrideChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IDisplayEnhancementOverride::CanOverrideChanged_revoker consume_Windows_Graphics_Display_IDisplayEnhancementOverride::CanOverrideChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::CanOverrideChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CanOverrideChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayEnhancementOverride::CanOverrideChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::CanOverrideChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->remove_CanOverrideChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayEnhancementOverride::IsOverrideActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::IsOverrideActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->add_IsOverrideActiveChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IDisplayEnhancementOverride::IsOverrideActiveChanged_revoker consume_Windows_Graphics_Display_IDisplayEnhancementOverride::IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsOverrideActiveChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayEnhancementOverride::IsOverrideActiveChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::IsOverrideActiveChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->remove_IsOverrideActiveChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayEnhancementOverride::DisplayEnhancementOverrideCapabilitiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::DisplayEnhancementOverrideCapabilitiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->add_DisplayEnhancementOverrideCapabilitiesChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IDisplayEnhancementOverride::DisplayEnhancementOverrideCapabilitiesChanged_revoker consume_Windows_Graphics_Display_IDisplayEnhancementOverride::DisplayEnhancementOverrideCapabilitiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::DisplayEnhancementOverrideCapabilitiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DisplayEnhancementOverrideCapabilitiesChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayEnhancementOverride::DisplayEnhancementOverrideCapabilitiesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride::DisplayEnhancementOverrideCapabilitiesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->remove_DisplayEnhancementOverrideCapabilitiesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilities::IsBrightnessControlSupported() const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilities::IsBrightnessControlSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilities)->get_IsBrightnessControlSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilities::IsBrightnessNitsControlSupported() const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilities::IsBrightnessNitsControlSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilities)->get_IsBrightnessNitsControlSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilities::GetSupportedNitRanges() const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilities::GetSupportedNitRanges() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilities)->GetSupportedNitRanges(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilities) consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilitiesChangedEventArgs::Capabilities() const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilitiesChangedEventArgs::Capabilities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilitiesChangedEventArgs)->get_Capabilities(&value)); return winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayEnhancementOverride) consume_Windows_Graphics_Display_IDisplayEnhancementOverrideStatics::GetForCurrentView() const + template auto consume_Windows_Graphics_Display_IDisplayEnhancementOverrideStatics::GetForCurrentView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideStatics)->GetForCurrentView(&result)); return winrt::Windows::Graphics::Display::DisplayEnhancementOverride{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Graphics_Display_IDisplayInformation::CurrentOrientation() const + template auto consume_Windows_Graphics_Display_IDisplayInformation::CurrentOrientation() const { winrt::Windows::Graphics::Display::DisplayOrientations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->get_CurrentOrientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Graphics_Display_IDisplayInformation::NativeOrientation() const + template auto consume_Windows_Graphics_Display_IDisplayInformation::NativeOrientation() const { winrt::Windows::Graphics::Display::DisplayOrientations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->get_NativeOrientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayInformation::OrientationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayInformation::OrientationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->add_OrientationChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IDisplayInformation::OrientationChanged_revoker consume_Windows_Graphics_Display_IDisplayInformation::OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayInformation::OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, OrientationChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayInformation::OrientationChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IDisplayInformation::OrientationChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->remove_OrientationChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::ResolutionScale) consume_Windows_Graphics_Display_IDisplayInformation::ResolutionScale() const + template auto consume_Windows_Graphics_Display_IDisplayInformation::ResolutionScale() const { winrt::Windows::Graphics::Display::ResolutionScale value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->get_ResolutionScale(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IDisplayInformation::LogicalDpi() const + template auto consume_Windows_Graphics_Display_IDisplayInformation::LogicalDpi() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->get_LogicalDpi(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IDisplayInformation::RawDpiX() const + template auto consume_Windows_Graphics_Display_IDisplayInformation::RawDpiX() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->get_RawDpiX(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IDisplayInformation::RawDpiY() const + template auto consume_Windows_Graphics_Display_IDisplayInformation::RawDpiY() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->get_RawDpiY(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayInformation::DpiChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayInformation::DpiChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->add_DpiChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IDisplayInformation::DpiChanged_revoker consume_Windows_Graphics_Display_IDisplayInformation::DpiChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayInformation::DpiChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DpiChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayInformation::DpiChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IDisplayInformation::DpiChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->remove_DpiChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IDisplayInformation::StereoEnabled() const + template auto consume_Windows_Graphics_Display_IDisplayInformation::StereoEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->get_StereoEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayInformation::StereoEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayInformation::StereoEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->add_StereoEnabledChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IDisplayInformation::StereoEnabledChanged_revoker consume_Windows_Graphics_Display_IDisplayInformation::StereoEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayInformation::StereoEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StereoEnabledChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayInformation::StereoEnabledChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IDisplayInformation::StereoEnabledChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->remove_StereoEnabledChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Display_IDisplayInformation::GetColorProfileAsync() const + template auto consume_Windows_Graphics_Display_IDisplayInformation::GetColorProfileAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->GetColorProfileAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayInformation::ColorProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayInformation::ColorProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->add_ColorProfileChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IDisplayInformation::ColorProfileChanged_revoker consume_Windows_Graphics_Display_IDisplayInformation::ColorProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayInformation::ColorProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ColorProfileChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayInformation::ColorProfileChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IDisplayInformation::ColorProfileChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->remove_ColorProfileChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Display_IDisplayInformation2::RawPixelsPerViewPixel() const + template auto consume_Windows_Graphics_Display_IDisplayInformation2::RawPixelsPerViewPixel() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation2)->get_RawPixelsPerViewPixel(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Graphics_Display_IDisplayInformation3::DiagonalSizeInInches() const + template auto consume_Windows_Graphics_Display_IDisplayInformation3::DiagonalSizeInInches() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation3)->get_DiagonalSizeInInches(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Display_IDisplayInformation4::ScreenWidthInRawPixels() const + template auto consume_Windows_Graphics_Display_IDisplayInformation4::ScreenWidthInRawPixels() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation4)->get_ScreenWidthInRawPixels(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Display_IDisplayInformation4::ScreenHeightInRawPixels() const + template auto consume_Windows_Graphics_Display_IDisplayInformation4::ScreenHeightInRawPixels() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation4)->get_ScreenHeightInRawPixels(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::AdvancedColorInfo) consume_Windows_Graphics_Display_IDisplayInformation5::GetAdvancedColorInfo() const + template auto consume_Windows_Graphics_Display_IDisplayInformation5::GetAdvancedColorInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation5)->GetAdvancedColorInfo(&value)); return winrt::Windows::Graphics::Display::AdvancedColorInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayInformation5::AdvancedColorInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayInformation5::AdvancedColorInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation5)->add_AdvancedColorInfoChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IDisplayInformation5::AdvancedColorInfoChanged_revoker consume_Windows_Graphics_Display_IDisplayInformation5::AdvancedColorInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayInformation5::AdvancedColorInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AdvancedColorInfoChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayInformation5::AdvancedColorInfoChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IDisplayInformation5::AdvancedColorInfoChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation5)->remove_AdvancedColorInfoChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayInformation) consume_Windows_Graphics_Display_IDisplayInformationStatics::GetForCurrentView() const + template auto consume_Windows_Graphics_Display_IDisplayInformationStatics::GetForCurrentView() const { void* current{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformationStatics)->GetForCurrentView(¤t)); return winrt::Windows::Graphics::Display::DisplayInformation{ current, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Graphics_Display_IDisplayInformationStatics::AutoRotationPreferences() const + template auto consume_Windows_Graphics_Display_IDisplayInformationStatics::AutoRotationPreferences() const { winrt::Windows::Graphics::Display::DisplayOrientations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformationStatics)->get_AutoRotationPreferences(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayInformationStatics::AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const + template auto consume_Windows_Graphics_Display_IDisplayInformationStatics::AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformationStatics)->put_AutoRotationPreferences(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayInformationStatics::DisplayContentsInvalidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayInformationStatics::DisplayContentsInvalidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformationStatics)->add_DisplayContentsInvalidated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IDisplayInformationStatics::DisplayContentsInvalidated_revoker consume_Windows_Graphics_Display_IDisplayInformationStatics::DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayInformationStatics::DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DisplayContentsInvalidated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayInformationStatics::DisplayContentsInvalidated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IDisplayInformationStatics::DisplayContentsInvalidated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformationStatics)->remove_DisplayContentsInvalidated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::CurrentOrientation() const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::CurrentOrientation() const { winrt::Windows::Graphics::Display::DisplayOrientations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->get_CurrentOrientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::NativeOrientation() const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::NativeOrientation() const { winrt::Windows::Graphics::Display::DisplayOrientations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->get_NativeOrientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::AutoRotationPreferences() const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::AutoRotationPreferences() const { winrt::Windows::Graphics::Display::DisplayOrientations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->get_AutoRotationPreferences(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->put_AutoRotationPreferences(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::OrientationChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::OrientationChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->add_OrientationChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IDisplayPropertiesStatics::OrientationChanged_revoker consume_Windows_Graphics_Display_IDisplayPropertiesStatics::OrientationChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::OrientationChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const { return impl::make_event_revoker(this, OrientationChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::OrientationChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::OrientationChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->remove_OrientationChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::ResolutionScale) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::ResolutionScale() const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::ResolutionScale() const { winrt::Windows::Graphics::Display::ResolutionScale value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->get_ResolutionScale(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::LogicalDpi() const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::LogicalDpi() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->get_LogicalDpi(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::LogicalDpiChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::LogicalDpiChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->add_LogicalDpiChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IDisplayPropertiesStatics::LogicalDpiChanged_revoker consume_Windows_Graphics_Display_IDisplayPropertiesStatics::LogicalDpiChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::LogicalDpiChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const { return impl::make_event_revoker(this, LogicalDpiChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::LogicalDpiChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::LogicalDpiChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->remove_LogicalDpiChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::StereoEnabled() const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::StereoEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->get_StereoEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::StereoEnabledChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::StereoEnabledChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->add_StereoEnabledChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IDisplayPropertiesStatics::StereoEnabledChanged_revoker consume_Windows_Graphics_Display_IDisplayPropertiesStatics::StereoEnabledChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::StereoEnabledChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const { return impl::make_event_revoker(this, StereoEnabledChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::StereoEnabledChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::StereoEnabledChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->remove_StereoEnabledChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::GetColorProfileAsync() const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::GetColorProfileAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->GetColorProfileAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::ColorProfileChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::ColorProfileChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->add_ColorProfileChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IDisplayPropertiesStatics::ColorProfileChanged_revoker consume_Windows_Graphics_Display_IDisplayPropertiesStatics::ColorProfileChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::ColorProfileChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const { return impl::make_event_revoker(this, ColorProfileChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::ColorProfileChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::ColorProfileChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->remove_ColorProfileChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::DisplayContentsInvalidated(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::DisplayContentsInvalidated(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->add_DisplayContentsInvalidated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Display_IDisplayPropertiesStatics::DisplayContentsInvalidated_revoker consume_Windows_Graphics_Display_IDisplayPropertiesStatics::DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const { return impl::make_event_revoker(this, DisplayContentsInvalidated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayPropertiesStatics::DisplayContentsInvalidated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics::DisplayContentsInvalidated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->remove_DisplayContentsInvalidated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Graphics_Display_IDisplayServicesStatics::FindAll() const + template auto consume_Windows_Graphics_Display_IDisplayServicesStatics::FindAll() const { uint32_t result_impl_size{}; struct struct_Windows_Graphics_DisplayId* result{}; @@ -1622,10 +1622,10 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display { return impl::call_factory([&](IDisplayInformationStatics const& f) { return f.DisplayContentsInvalidated(handler); }); } - inline DisplayInformation::DisplayContentsInvalidated_revoker DisplayInformation::DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) + inline auto DisplayInformation::DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.DisplayContentsInvalidated(handler) }; + return DisplayInformation::DisplayContentsInvalidated_revoker{ f, f.DisplayContentsInvalidated(handler) }; } inline auto DisplayInformation::DisplayContentsInvalidated(winrt::event_token const& token) { @@ -1651,10 +1651,10 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display { return impl::call_factory([&](IDisplayPropertiesStatics const& f) { return f.OrientationChanged(handler); }); } - inline DisplayProperties::OrientationChanged_revoker DisplayProperties::OrientationChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) + inline auto DisplayProperties::OrientationChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.OrientationChanged(handler) }; + return DisplayProperties::OrientationChanged_revoker{ f, f.OrientationChanged(handler) }; } inline auto DisplayProperties::OrientationChanged(winrt::event_token const& token) { @@ -1672,10 +1672,10 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display { return impl::call_factory([&](IDisplayPropertiesStatics const& f) { return f.LogicalDpiChanged(handler); }); } - inline DisplayProperties::LogicalDpiChanged_revoker DisplayProperties::LogicalDpiChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) + inline auto DisplayProperties::LogicalDpiChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.LogicalDpiChanged(handler) }; + return DisplayProperties::LogicalDpiChanged_revoker{ f, f.LogicalDpiChanged(handler) }; } inline auto DisplayProperties::LogicalDpiChanged(winrt::event_token const& token) { @@ -1689,10 +1689,10 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display { return impl::call_factory([&](IDisplayPropertiesStatics const& f) { return f.StereoEnabledChanged(handler); }); } - inline DisplayProperties::StereoEnabledChanged_revoker DisplayProperties::StereoEnabledChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) + inline auto DisplayProperties::StereoEnabledChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.StereoEnabledChanged(handler) }; + return DisplayProperties::StereoEnabledChanged_revoker{ f, f.StereoEnabledChanged(handler) }; } inline auto DisplayProperties::StereoEnabledChanged(winrt::event_token const& token) { @@ -1706,10 +1706,10 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display { return impl::call_factory([&](IDisplayPropertiesStatics const& f) { return f.ColorProfileChanged(handler); }); } - inline DisplayProperties::ColorProfileChanged_revoker DisplayProperties::ColorProfileChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) + inline auto DisplayProperties::ColorProfileChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.ColorProfileChanged(handler) }; + return DisplayProperties::ColorProfileChanged_revoker{ f, f.ColorProfileChanged(handler) }; } inline auto DisplayProperties::ColorProfileChanged(winrt::event_token const& token) { @@ -1719,10 +1719,10 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display { return impl::call_factory([&](IDisplayPropertiesStatics const& f) { return f.DisplayContentsInvalidated(handler); }); } - inline DisplayProperties::DisplayContentsInvalidated_revoker DisplayProperties::DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) + inline auto DisplayProperties::DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.DisplayContentsInvalidated(handler) }; + return DisplayProperties::DisplayContentsInvalidated_revoker{ f, f.DisplayContentsInvalidated(handler) }; } inline auto DisplayProperties::DisplayContentsInvalidated(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Effects.h b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Effects.h index 911401ae..24fefb0a 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Effects.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Effects.h @@ -1,22 +1,22 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Effects_H #define WINRT_Windows_Graphics_Effects_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Graphics.h" #include "winrt/impl/Windows.Graphics.Effects.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Effects_IGraphicsEffect::Name() const + template auto consume_Windows_Graphics_Effects_IGraphicsEffect::Name() const { void* name{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Effects::IGraphicsEffect)->get_Name(&name)); return hstring{ name, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Effects_IGraphicsEffect::Name(param::hstring const& name) const + template auto consume_Windows_Graphics_Effects_IGraphicsEffect::Name(param::hstring const& name) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Effects::IGraphicsEffect)->put_Name(*(void**)(&name))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Holographic.h b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Holographic.h index 8b560af8..c52c6cee 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Holographic.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Holographic.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Holographic_H #define WINRT_Windows_Graphics_Holographic_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Graphics.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -18,743 +18,743 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Graphics.Holographic.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Graphics_Holographic_IHolographicCamera::RenderTargetSize() const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera::RenderTargetSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera)->get_RenderTargetSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Holographic_IHolographicCamera::ViewportScaleFactor() const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera::ViewportScaleFactor() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera)->get_ViewportScaleFactor(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCamera::ViewportScaleFactor(double value) const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera::ViewportScaleFactor(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera)->put_ViewportScaleFactor(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicCamera::IsStereo() const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera::IsStereo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera)->get_IsStereo(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Holographic_IHolographicCamera::Id() const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCamera::SetNearPlaneDistance(double value) const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera::SetNearPlaneDistance(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera)->SetNearPlaneDistance(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCamera::SetFarPlaneDistance(double value) const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera::SetFarPlaneDistance(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera)->SetFarPlaneDistance(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCameraViewportParameters) consume_Windows_Graphics_Holographic_IHolographicCamera2::LeftViewportParameters() const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera2::LeftViewportParameters() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera2)->get_LeftViewportParameters(&result)); return winrt::Windows::Graphics::Holographic::HolographicCameraViewportParameters{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCameraViewportParameters) consume_Windows_Graphics_Holographic_IHolographicCamera2::RightViewportParameters() const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera2::RightViewportParameters() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera2)->get_RightViewportParameters(&result)); return winrt::Windows::Graphics::Holographic::HolographicCameraViewportParameters{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDisplay) consume_Windows_Graphics_Holographic_IHolographicCamera2::Display() const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera2::Display() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera2)->get_Display(&result)); return winrt::Windows::Graphics::Holographic::HolographicDisplay{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicCamera3::IsPrimaryLayerEnabled() const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera3::IsPrimaryLayerEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera3)->get_IsPrimaryLayerEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCamera3::IsPrimaryLayerEnabled(bool value) const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera3::IsPrimaryLayerEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera3)->put_IsPrimaryLayerEnabled(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Holographic_IHolographicCamera3::MaxQuadLayerCount() const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera3::MaxQuadLayerCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera3)->get_MaxQuadLayerCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Holographic_IHolographicCamera3::QuadLayers() const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera3::QuadLayers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera3)->get_QuadLayers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicCamera4::CanOverrideViewport() const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera4::CanOverrideViewport() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera4)->get_CanOverrideViewport(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicCamera5::IsHardwareContentProtectionSupported() const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera5::IsHardwareContentProtectionSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera5)->get_IsHardwareContentProtectionSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicCamera5::IsHardwareContentProtectionEnabled() const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera5::IsHardwareContentProtectionEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera5)->get_IsHardwareContentProtectionEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCamera5::IsHardwareContentProtectionEnabled(bool value) const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera5::IsHardwareContentProtectionEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera5)->put_IsHardwareContentProtectionEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicViewConfiguration) consume_Windows_Graphics_Holographic_IHolographicCamera6::ViewConfiguration() const + template auto consume_Windows_Graphics_Holographic_IHolographicCamera6::ViewConfiguration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera6)->get_ViewConfiguration(&value)); return winrt::Windows::Graphics::Holographic::HolographicViewConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCamera) consume_Windows_Graphics_Holographic_IHolographicCameraPose::HolographicCamera() const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraPose::HolographicCamera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraPose)->get_HolographicCamera(&value)); return winrt::Windows::Graphics::Holographic::HolographicCamera{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Graphics_Holographic_IHolographicCameraPose::Viewport() const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraPose::Viewport() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraPose)->get_Viewport(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Graphics_Holographic_IHolographicCameraPose::TryGetViewTransform(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraPose::TryGetViewTransform(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraPose)->TryGetViewTransform(*(void**)(&coordinateSystem), &value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicStereoTransform) consume_Windows_Graphics_Holographic_IHolographicCameraPose::ProjectionTransform() const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraPose::ProjectionTransform() const { winrt::Windows::Graphics::Holographic::HolographicStereoTransform value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraPose)->get_ProjectionTransform(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Graphics_Holographic_IHolographicCameraPose::TryGetCullingFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraPose::TryGetCullingFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraPose)->TryGetCullingFrustum(*(void**)(&coordinateSystem), &value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Graphics_Holographic_IHolographicCameraPose::TryGetVisibleFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraPose::TryGetVisibleFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraPose)->TryGetVisibleFrustum(*(void**)(&coordinateSystem), &value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Holographic_IHolographicCameraPose::NearPlaneDistance() const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraPose::NearPlaneDistance() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraPose)->get_NearPlaneDistance(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Holographic_IHolographicCameraPose::FarPlaneDistance() const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraPose::FarPlaneDistance() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraPose)->get_FarPlaneDistance(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraPose2::OverrideViewTransform(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Graphics::Holographic::HolographicStereoTransform const& coordinateSystemToViewTransform) const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraPose2::OverrideViewTransform(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Graphics::Holographic::HolographicStereoTransform const& coordinateSystemToViewTransform) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraPose2)->OverrideViewTransform(*(void**)(&coordinateSystem), impl::bind_in(coordinateSystemToViewTransform))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraPose2::OverrideProjectionTransform(winrt::Windows::Graphics::Holographic::HolographicStereoTransform const& projectionTransform) const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraPose2::OverrideProjectionTransform(winrt::Windows::Graphics::Holographic::HolographicStereoTransform const& projectionTransform) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraPose2)->OverrideProjectionTransform(impl::bind_in(projectionTransform))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraPose2::OverrideViewport(winrt::Windows::Foundation::Rect const& leftViewport, winrt::Windows::Foundation::Rect const& rightViewport) const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraPose2::OverrideViewport(winrt::Windows::Foundation::Rect const& leftViewport, winrt::Windows::Foundation::Rect const& rightViewport) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraPose2)->OverrideViewport(impl::bind_in(leftViewport), impl::bind_in(rightViewport))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters::SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position) const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters::SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters)->SetFocusPoint(*(void**)(&coordinateSystem), impl::bind_in(position))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters::SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::float3 const& normal) const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters::SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::float3 const& normal) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters)->SetFocusPointWithNormal(*(void**)(&coordinateSystem), impl::bind_in(position), impl::bind_in(normal))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters::SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::float3 const& normal, winrt::Windows::Foundation::Numerics::float3 const& linearVelocity) const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters::SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::float3 const& normal, winrt::Windows::Foundation::Numerics::float3 const& linearVelocity) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters)->SetFocusPointWithNormalLinearVelocity(*(void**)(&coordinateSystem), impl::bind_in(position), impl::bind_in(normal), impl::bind_in(linearVelocity))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters::Direct3D11Device() const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters::Direct3D11Device() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters)->get_Direct3D11Device(&value)); return winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters::Direct3D11BackBuffer() const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters::Direct3D11BackBuffer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters)->get_Direct3D11BackBuffer(&value)); return winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicReprojectionMode) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters2::ReprojectionMode() const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters2::ReprojectionMode() const { winrt::Windows::Graphics::Holographic::HolographicReprojectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters2)->get_ReprojectionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters2::ReprojectionMode(winrt::Windows::Graphics::Holographic::HolographicReprojectionMode const& value) const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters2::ReprojectionMode(winrt::Windows::Graphics::Holographic::HolographicReprojectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters2)->put_ReprojectionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters2::CommitDirect3D11DepthBuffer(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& value) const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters2::CommitDirect3D11DepthBuffer(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters2)->CommitDirect3D11DepthBuffer(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters3::IsContentProtectionEnabled() const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters3::IsContentProtectionEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters3)->get_IsContentProtectionEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters3::IsContentProtectionEnabled(bool value) const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters3::IsContentProtectionEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters3)->put_IsContentProtectionEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4::DepthReprojectionMethod() const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4::DepthReprojectionMethod() const { winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4)->get_DepthReprojectionMethod(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4::DepthReprojectionMethod(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod const& value) const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4::DepthReprojectionMethod(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4)->put_DepthReprojectionMethod(static_cast(value))); } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Graphics_Holographic_IHolographicCameraViewportParameters::HiddenAreaMesh() const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraViewportParameters::HiddenAreaMesh() const { uint32_t value_impl_size{}; winrt::Windows::Foundation::Numerics::float2* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraViewportParameters)->get_HiddenAreaMesh(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Graphics_Holographic_IHolographicCameraViewportParameters::VisibleAreaMesh() const + template auto consume_Windows_Graphics_Holographic_IHolographicCameraViewportParameters::VisibleAreaMesh() const { uint32_t value_impl_size{}; winrt::Windows::Foundation::Numerics::float2* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraViewportParameters)->get_VisibleAreaMesh(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Holographic_IHolographicDisplay::DisplayName() const + template auto consume_Windows_Graphics_Holographic_IHolographicDisplay::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicDisplay)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Graphics_Holographic_IHolographicDisplay::MaxViewportSize() const + template auto consume_Windows_Graphics_Holographic_IHolographicDisplay::MaxViewportSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicDisplay)->get_MaxViewportSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicDisplay::IsStereo() const + template auto consume_Windows_Graphics_Holographic_IHolographicDisplay::IsStereo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicDisplay)->get_IsStereo(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicDisplay::IsOpaque() const + template auto consume_Windows_Graphics_Holographic_IHolographicDisplay::IsOpaque() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicDisplay)->get_IsOpaque(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicAdapterId) consume_Windows_Graphics_Holographic_IHolographicDisplay::AdapterId() const + template auto consume_Windows_Graphics_Holographic_IHolographicDisplay::AdapterId() const { winrt::Windows::Graphics::Holographic::HolographicAdapterId value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicDisplay)->get_AdapterId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocator) consume_Windows_Graphics_Holographic_IHolographicDisplay::SpatialLocator() const + template auto consume_Windows_Graphics_Holographic_IHolographicDisplay::SpatialLocator() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicDisplay)->get_SpatialLocator(&value)); return winrt::Windows::Perception::Spatial::SpatialLocator{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Holographic_IHolographicDisplay2::RefreshRate() const + template auto consume_Windows_Graphics_Holographic_IHolographicDisplay2::RefreshRate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicDisplay2)->get_RefreshRate(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicViewConfiguration) consume_Windows_Graphics_Holographic_IHolographicDisplay3::TryGetViewConfiguration(winrt::Windows::Graphics::Holographic::HolographicViewConfigurationKind const& kind) const + template auto consume_Windows_Graphics_Holographic_IHolographicDisplay3::TryGetViewConfiguration(winrt::Windows::Graphics::Holographic::HolographicViewConfigurationKind const& kind) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicDisplay3)->TryGetViewConfiguration(static_cast(kind), &result)); return winrt::Windows::Graphics::Holographic::HolographicViewConfiguration{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDisplay) consume_Windows_Graphics_Holographic_IHolographicDisplayStatics::GetDefault() const + template auto consume_Windows_Graphics_Holographic_IHolographicDisplayStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicDisplayStatics)->GetDefault(&result)); return winrt::Windows::Graphics::Holographic::HolographicDisplay{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Holographic_IHolographicFrame::AddedCameras() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrame::AddedCameras() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrame)->get_AddedCameras(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Holographic_IHolographicFrame::RemovedCameras() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrame::RemovedCameras() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrame)->get_RemovedCameras(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCameraRenderingParameters) consume_Windows_Graphics_Holographic_IHolographicFrame::GetRenderingParameters(winrt::Windows::Graphics::Holographic::HolographicCameraPose const& cameraPose) const + template auto consume_Windows_Graphics_Holographic_IHolographicFrame::GetRenderingParameters(winrt::Windows::Graphics::Holographic::HolographicCameraPose const& cameraPose) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrame)->GetRenderingParameters(*(void**)(&cameraPose), &value)); return winrt::Windows::Graphics::Holographic::HolographicCameraRenderingParameters{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFrame::Duration() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrame::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrame)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFramePrediction) consume_Windows_Graphics_Holographic_IHolographicFrame::CurrentPrediction() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrame::CurrentPrediction() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrame)->get_CurrentPrediction(&value)); return winrt::Windows::Graphics::Holographic::HolographicFramePrediction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicFrame::UpdateCurrentPrediction() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrame::UpdateCurrentPrediction() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrame)->UpdateCurrentPrediction()); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFramePresentResult) consume_Windows_Graphics_Holographic_IHolographicFrame::PresentUsingCurrentPrediction() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrame::PresentUsingCurrentPrediction() const { winrt::Windows::Graphics::Holographic::HolographicFramePresentResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrame)->PresentUsingCurrentPrediction(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFramePresentResult) consume_Windows_Graphics_Holographic_IHolographicFrame::PresentUsingCurrentPrediction(winrt::Windows::Graphics::Holographic::HolographicFramePresentWaitBehavior const& waitBehavior) const + template auto consume_Windows_Graphics_Holographic_IHolographicFrame::PresentUsingCurrentPrediction(winrt::Windows::Graphics::Holographic::HolographicFramePresentWaitBehavior const& waitBehavior) const { winrt::Windows::Graphics::Holographic::HolographicFramePresentResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrame)->PresentUsingCurrentPredictionWithBehavior(static_cast(waitBehavior), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicFrame::WaitForFrameToFinish() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrame::WaitForFrameToFinish() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrame)->WaitForFrameToFinish()); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicQuadLayerUpdateParameters) consume_Windows_Graphics_Holographic_IHolographicFrame2::GetQuadLayerUpdateParameters(winrt::Windows::Graphics::Holographic::HolographicQuadLayer const& layer) const + template auto consume_Windows_Graphics_Holographic_IHolographicFrame2::GetQuadLayerUpdateParameters(winrt::Windows::Graphics::Holographic::HolographicQuadLayer const& layer) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrame2)->GetQuadLayerUpdateParameters(*(void**)(&layer), &value)); return winrt::Windows::Graphics::Holographic::HolographicQuadLayerUpdateParameters{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFrameId) consume_Windows_Graphics_Holographic_IHolographicFrame3::Id() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrame3::Id() const { winrt::Windows::Graphics::Holographic::HolographicFrameId value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrame3)->get_Id(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Holographic_IHolographicFramePrediction::CameraPoses() const + template auto consume_Windows_Graphics_Holographic_IHolographicFramePrediction::CameraPoses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFramePrediction)->get_CameraPoses(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) consume_Windows_Graphics_Holographic_IHolographicFramePrediction::Timestamp() const + template auto consume_Windows_Graphics_Holographic_IHolographicFramePrediction::Timestamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFramePrediction)->get_Timestamp(&value)); return winrt::Windows::Perception::PerceptionTimestamp{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Holographic_IHolographicFramePresentationMonitor::ReadReports() const + template auto consume_Windows_Graphics_Holographic_IHolographicFramePresentationMonitor::ReadReports() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFramePresentationMonitor)->ReadReports(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport::CompositorGpuDuration() const + template auto consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport::CompositorGpuDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFramePresentationReport)->get_CompositorGpuDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport::AppGpuDuration() const + template auto consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport::AppGpuDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFramePresentationReport)->get_AppGpuDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport::AppGpuOverrun() const + template auto consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport::AppGpuOverrun() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFramePresentationReport)->get_AppGpuOverrun(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport::MissedPresentationOpportunityCount() const + template auto consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport::MissedPresentationOpportunityCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFramePresentationReport)->get_MissedPresentationOpportunityCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport::PresentationCount() const + template auto consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport::PresentationCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFramePresentationReport)->get_PresentationCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFrameId) consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport::FrameId() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport::FrameId() const { winrt::Windows::Graphics::Holographic::HolographicFrameId value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrameRenderingReport)->get_FrameId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport::MissedLatchCount() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport::MissedLatchCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrameRenderingReport)->get_MissedLatchCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport::SystemRelativeFrameReadyTime() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport::SystemRelativeFrameReadyTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrameRenderingReport)->get_SystemRelativeFrameReadyTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport::SystemRelativeActualGpuFinishTime() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport::SystemRelativeActualGpuFinishTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrameRenderingReport)->get_SystemRelativeActualGpuFinishTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport::SystemRelativeTargetLatchTime() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport::SystemRelativeTargetLatchTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrameRenderingReport)->get_SystemRelativeTargetLatchTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Holographic_IHolographicFrameScanoutMonitor::ReadReports() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrameScanoutMonitor::ReadReports() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutMonitor)->ReadReports(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFrameRenderingReport) consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport::RenderingReport() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport::RenderingReport() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutReport)->get_RenderingReport(&value)); return winrt::Windows::Graphics::Holographic::HolographicFrameRenderingReport{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport::MissedScanoutCount() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport::MissedScanoutCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutReport)->get_MissedScanoutCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport::SystemRelativeLatchTime() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport::SystemRelativeLatchTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutReport)->get_SystemRelativeLatchTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport::SystemRelativeScanoutStartTime() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport::SystemRelativeScanoutStartTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutReport)->get_SystemRelativeScanoutStartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport::SystemRelativePhotonTime() const + template auto consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport::SystemRelativePhotonTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutReport)->get_SystemRelativePhotonTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Graphics_Holographic_IHolographicQuadLayer::PixelFormat() const + template auto consume_Windows_Graphics_Holographic_IHolographicQuadLayer::PixelFormat() const { winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicQuadLayer)->get_PixelFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Graphics_Holographic_IHolographicQuadLayer::Size() const + template auto consume_Windows_Graphics_Holographic_IHolographicQuadLayer::Size() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicQuadLayer)->get_Size(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicQuadLayer) consume_Windows_Graphics_Holographic_IHolographicQuadLayerFactory::Create(winrt::Windows::Foundation::Size const& size) const + template auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerFactory::Create(winrt::Windows::Foundation::Size const& size) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicQuadLayerFactory)->Create(impl::bind_in(size), &value)); return winrt::Windows::Graphics::Holographic::HolographicQuadLayer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicQuadLayer) consume_Windows_Graphics_Holographic_IHolographicQuadLayerFactory::CreateWithPixelFormat(winrt::Windows::Foundation::Size const& size, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat) const + template auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerFactory::CreateWithPixelFormat(winrt::Windows::Foundation::Size const& size, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicQuadLayerFactory)->CreateWithPixelFormat(impl::bind_in(size), static_cast(pixelFormat), &value)); return winrt::Windows::Graphics::Holographic::HolographicQuadLayer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters::AcquireBufferToUpdateContent() const + template auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters::AcquireBufferToUpdateContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters)->AcquireBufferToUpdateContent(&value)); return winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters::UpdateViewport(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters::UpdateViewport(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters)->UpdateViewport(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters::UpdateContentProtectionEnabled(bool value) const + template auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters::UpdateContentProtectionEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters)->UpdateContentProtectionEnabled(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters::UpdateExtents(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters::UpdateExtents(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters)->UpdateExtents(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters::UpdateLocationWithStationaryMode(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const + template auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters::UpdateLocationWithStationaryMode(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters)->UpdateLocationWithStationaryMode(*(void**)(&coordinateSystem), impl::bind_in(position), impl::bind_in(orientation))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters::UpdateLocationWithDisplayRelativeMode(winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const + template auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters::UpdateLocationWithDisplayRelativeMode(winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters)->UpdateLocationWithDisplayRelativeMode(impl::bind_in(position), impl::bind_in(orientation))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters2::CanAcquireWithHardwareProtection() const + template auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters2::CanAcquireWithHardwareProtection() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters2)->get_CanAcquireWithHardwareProtection(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters2::AcquireBufferToUpdateContentWithHardwareProtection() const + template auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters2::AcquireBufferToUpdateContentWithHardwareProtection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters2)->AcquireBufferToUpdateContentWithHardwareProtection(&value)); return winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicAdapterId) consume_Windows_Graphics_Holographic_IHolographicSpace::PrimaryAdapterId() const + template auto consume_Windows_Graphics_Holographic_IHolographicSpace::PrimaryAdapterId() const { winrt::Windows::Graphics::Holographic::HolographicAdapterId value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace)->get_PrimaryAdapterId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicSpace::SetDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& value) const + template auto consume_Windows_Graphics_Holographic_IHolographicSpace::SetDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace)->SetDirect3D11Device(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Holographic_IHolographicSpace::CameraAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Holographic_IHolographicSpace::CameraAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace)->add_CameraAdded(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Graphics_Holographic_IHolographicSpace::CameraAdded_revoker consume_Windows_Graphics_Holographic_IHolographicSpace::CameraAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Holographic_IHolographicSpace::CameraAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CameraAdded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicSpace::CameraAdded(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Graphics_Holographic_IHolographicSpace::CameraAdded(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace)->remove_CameraAdded(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Holographic_IHolographicSpace::CameraRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Holographic_IHolographicSpace::CameraRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace)->add_CameraRemoved(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Graphics_Holographic_IHolographicSpace::CameraRemoved_revoker consume_Windows_Graphics_Holographic_IHolographicSpace::CameraRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Holographic_IHolographicSpace::CameraRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CameraRemoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicSpace::CameraRemoved(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Graphics_Holographic_IHolographicSpace::CameraRemoved(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace)->remove_CameraRemoved(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFrame) consume_Windows_Graphics_Holographic_IHolographicSpace::CreateNextFrame() const + template auto consume_Windows_Graphics_Holographic_IHolographicSpace::CreateNextFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace)->CreateNextFrame(&value)); return winrt::Windows::Graphics::Holographic::HolographicFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicSpaceUserPresence) consume_Windows_Graphics_Holographic_IHolographicSpace2::UserPresence() const + template auto consume_Windows_Graphics_Holographic_IHolographicSpace2::UserPresence() const { winrt::Windows::Graphics::Holographic::HolographicSpaceUserPresence value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace2)->get_UserPresence(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Holographic_IHolographicSpace2::UserPresenceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Holographic_IHolographicSpace2::UserPresenceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace2)->add_UserPresenceChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Holographic_IHolographicSpace2::UserPresenceChanged_revoker consume_Windows_Graphics_Holographic_IHolographicSpace2::UserPresenceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Graphics_Holographic_IHolographicSpace2::UserPresenceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UserPresenceChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicSpace2::UserPresenceChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Holographic_IHolographicSpace2::UserPresenceChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace2)->remove_UserPresenceChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicSpace2::WaitForNextFrameReady() const + template auto consume_Windows_Graphics_Holographic_IHolographicSpace2::WaitForNextFrameReady() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace2)->WaitForNextFrameReady()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicSpace2::WaitForNextFrameReadyWithHeadStart(winrt::Windows::Foundation::TimeSpan const& requestedHeadStartDuration) const + template auto consume_Windows_Graphics_Holographic_IHolographicSpace2::WaitForNextFrameReadyWithHeadStart(winrt::Windows::Foundation::TimeSpan const& requestedHeadStartDuration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace2)->WaitForNextFrameReadyWithHeadStart(impl::bind_in(requestedHeadStartDuration))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFramePresentationMonitor) consume_Windows_Graphics_Holographic_IHolographicSpace2::CreateFramePresentationMonitor(uint32_t maxQueuedReports) const + template auto consume_Windows_Graphics_Holographic_IHolographicSpace2::CreateFramePresentationMonitor(uint32_t maxQueuedReports) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace2)->CreateFramePresentationMonitor(maxQueuedReports, &result)); return winrt::Windows::Graphics::Holographic::HolographicFramePresentationMonitor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFrameScanoutMonitor) consume_Windows_Graphics_Holographic_IHolographicSpace3::CreateFrameScanoutMonitor(uint32_t maxQueuedReports) const + template auto consume_Windows_Graphics_Holographic_IHolographicSpace3::CreateFrameScanoutMonitor(uint32_t maxQueuedReports) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace3)->CreateFrameScanoutMonitor(maxQueuedReports, &result)); return winrt::Windows::Graphics::Holographic::HolographicFrameScanoutMonitor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCamera) consume_Windows_Graphics_Holographic_IHolographicSpaceCameraAddedEventArgs::Camera() const + template auto consume_Windows_Graphics_Holographic_IHolographicSpaceCameraAddedEventArgs::Camera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpaceCameraAddedEventArgs)->get_Camera(&value)); return winrt::Windows::Graphics::Holographic::HolographicCamera{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Graphics_Holographic_IHolographicSpaceCameraAddedEventArgs::GetDeferral() const + template auto consume_Windows_Graphics_Holographic_IHolographicSpaceCameraAddedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpaceCameraAddedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCamera) consume_Windows_Graphics_Holographic_IHolographicSpaceCameraRemovedEventArgs::Camera() const + template auto consume_Windows_Graphics_Holographic_IHolographicSpaceCameraRemovedEventArgs::Camera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpaceCameraRemovedEventArgs)->get_Camera(&value)); return winrt::Windows::Graphics::Holographic::HolographicCamera{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicSpace) consume_Windows_Graphics_Holographic_IHolographicSpaceStatics::CreateForCoreWindow(winrt::Windows::UI::Core::CoreWindow const& window) const + template auto consume_Windows_Graphics_Holographic_IHolographicSpaceStatics::CreateForCoreWindow(winrt::Windows::UI::Core::CoreWindow const& window) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics)->CreateForCoreWindow(*(void**)(&window), &value)); return winrt::Windows::Graphics::Holographic::HolographicSpace{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2::IsSupported() const + template auto consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2::IsSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2)->get_IsSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2::IsAvailable() const + template auto consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2::IsAvailable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2)->get_IsAvailable(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2::IsAvailableChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2::IsAvailableChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2)->add_IsAvailableChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2::IsAvailableChanged_revoker consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2::IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2::IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, IsAvailableChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2::IsAvailableChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2::IsAvailableChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2)->remove_IsAvailableChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicSpaceStatics3::IsConfigured() const + template auto consume_Windows_Graphics_Holographic_IHolographicSpaceStatics3::IsConfigured() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics3)->get_IsConfigured(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::NativeRenderTargetSize() const + template auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::NativeRenderTargetSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->get_NativeRenderTargetSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::RenderTargetSize() const + template auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::RenderTargetSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->get_RenderTargetSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::RequestRenderTargetSize(winrt::Windows::Foundation::Size const& size) const + template auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::RequestRenderTargetSize(winrt::Windows::Foundation::Size const& size) const { winrt::Windows::Foundation::Size result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->RequestRenderTargetSize(impl::bind_in(size), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::SupportedPixelFormats() const + template auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::SupportedPixelFormats() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->get_SupportedPixelFormats(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::PixelFormat() const + template auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::PixelFormat() const { winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->get_PixelFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::PixelFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const + template auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::PixelFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->put_PixelFormat(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::IsStereo() const + template auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::IsStereo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->get_IsStereo(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::RefreshRate() const + template auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::RefreshRate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->get_RefreshRate(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicViewConfigurationKind) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::Kind() const + template auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::Kind() const { winrt::Windows::Graphics::Holographic::HolographicViewConfigurationKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDisplay) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::Display() const + template auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::Display() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->get_Display(&value)); return winrt::Windows::Graphics::Holographic::HolographicDisplay{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::IsEnabled() const + template auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::IsEnabled(bool value) const + template auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration2::SupportedDepthReprojectionMethods() const + template auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration2::SupportedDepthReprojectionMethods() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration2)->get_SupportedDepthReprojectionMethods(&value)); @@ -2011,10 +2011,10 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic { return impl::call_factory([&](IHolographicSpaceStatics2 const& f) { return f.IsAvailableChanged(handler); }); } - inline HolographicSpace::IsAvailableChanged_revoker HolographicSpace::IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto HolographicSpace::IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.IsAvailableChanged(handler) }; + return HolographicSpace::IsAvailableChanged_revoker{ f, f.IsAvailableChanged(handler) }; } inline auto HolographicSpace::IsAvailableChanged(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Imaging.h b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Imaging.h index c68a9e5f..aa0c2bed 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Imaging.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Imaging.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Imaging_H #define WINRT_Windows_Graphics_Imaging_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Graphics.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,606 +14,606 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Graphics.Imaging.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Graphics_Imaging_IBitmapBuffer::GetPlaneCount() const + template auto consume_Windows_Graphics_Imaging_IBitmapBuffer::GetPlaneCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapBuffer)->GetPlaneCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPlaneDescription) consume_Windows_Graphics_Imaging_IBitmapBuffer::GetPlaneDescription(int32_t index) const + template auto consume_Windows_Graphics_Imaging_IBitmapBuffer::GetPlaneDescription(int32_t index) const { winrt::Windows::Graphics::Imaging::BitmapPlaneDescription value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapBuffer)->GetPlaneDescription(index, put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapCodecInformation::CodecId() const + template auto consume_Windows_Graphics_Imaging_IBitmapCodecInformation::CodecId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapCodecInformation)->get_CodecId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Imaging_IBitmapCodecInformation::FileExtensions() const + template auto consume_Windows_Graphics_Imaging_IBitmapCodecInformation::FileExtensions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapCodecInformation)->get_FileExtensions(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Imaging_IBitmapCodecInformation::FriendlyName() const + template auto consume_Windows_Graphics_Imaging_IBitmapCodecInformation::FriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapCodecInformation)->get_FriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Imaging_IBitmapCodecInformation::MimeTypes() const + template auto consume_Windows_Graphics_Imaging_IBitmapCodecInformation::MimeTypes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapCodecInformation)->get_MimeTypes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPropertiesView) consume_Windows_Graphics_Imaging_IBitmapDecoder::BitmapContainerProperties() const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoder::BitmapContainerProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoder)->get_BitmapContainerProperties(&value)); return winrt::Windows::Graphics::Imaging::BitmapPropertiesView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapCodecInformation) consume_Windows_Graphics_Imaging_IBitmapDecoder::DecoderInformation() const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoder::DecoderInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoder)->get_DecoderInformation(&value)); return winrt::Windows::Graphics::Imaging::BitmapCodecInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapDecoder::FrameCount() const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoder::FrameCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoder)->get_FrameCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_IBitmapDecoder::GetPreviewAsync() const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoder::GetPreviewAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoder)->GetPreviewAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_IBitmapDecoder::GetFrameAsync(uint32_t frameIndex) const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoder::GetFrameAsync(uint32_t frameIndex) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoder)->GetFrameAsync(frameIndex, &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::BmpDecoderId() const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::BmpDecoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->get_BmpDecoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::JpegDecoderId() const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::JpegDecoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->get_JpegDecoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::PngDecoderId() const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::PngDecoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->get_PngDecoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::TiffDecoderId() const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::TiffDecoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->get_TiffDecoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::GifDecoderId() const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::GifDecoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->get_GifDecoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::JpegXRDecoderId() const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::JpegXRDecoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->get_JpegXRDecoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::IcoDecoderId() const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::IcoDecoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->get_IcoDecoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::GetDecoderInformationEnumerator() const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::GetDecoderInformationEnumerator() const { void* decoderInformationEnumerator{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->GetDecoderInformationEnumerator(&decoderInformationEnumerator)); return winrt::Windows::Foundation::Collections::IVectorView{ decoderInformationEnumerator, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::CreateAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::CreateAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->CreateAsync(*(void**)(&stream), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::CreateAsync(winrt::guid const& decoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics::CreateAsync(winrt::guid const& decoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->CreateWithIdAsync(impl::bind_in(decoderId), *(void**)(&stream), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics2::HeifDecoderId() const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics2::HeifDecoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics2)->get_HeifDecoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics2::WebpDecoderId() const + template auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics2::WebpDecoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics2)->get_WebpDecoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapCodecInformation) consume_Windows_Graphics_Imaging_IBitmapEncoder::EncoderInformation() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoder::EncoderInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->get_EncoderInformation(&value)); return winrt::Windows::Graphics::Imaging::BitmapCodecInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapProperties) consume_Windows_Graphics_Imaging_IBitmapEncoder::BitmapProperties() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoder::BitmapProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->get_BitmapProperties(&value)); return winrt::Windows::Graphics::Imaging::BitmapProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapProperties) consume_Windows_Graphics_Imaging_IBitmapEncoder::BitmapContainerProperties() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoder::BitmapContainerProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->get_BitmapContainerProperties(&value)); return winrt::Windows::Graphics::Imaging::BitmapProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Imaging_IBitmapEncoder::IsThumbnailGenerated() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoder::IsThumbnailGenerated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->get_IsThumbnailGenerated(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapEncoder::IsThumbnailGenerated(bool value) const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoder::IsThumbnailGenerated(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->put_IsThumbnailGenerated(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapEncoder::GeneratedThumbnailWidth() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoder::GeneratedThumbnailWidth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->get_GeneratedThumbnailWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapEncoder::GeneratedThumbnailWidth(uint32_t value) const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoder::GeneratedThumbnailWidth(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->put_GeneratedThumbnailWidth(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapEncoder::GeneratedThumbnailHeight() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoder::GeneratedThumbnailHeight() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->get_GeneratedThumbnailHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapEncoder::GeneratedThumbnailHeight(uint32_t value) const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoder::GeneratedThumbnailHeight(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->put_GeneratedThumbnailHeight(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapTransform) consume_Windows_Graphics_Imaging_IBitmapEncoder::BitmapTransform() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoder::BitmapTransform() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->get_BitmapTransform(&value)); return winrt::Windows::Graphics::Imaging::BitmapTransform{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapEncoder::SetPixelData(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode, uint32_t width, uint32_t height, double dpiX, double dpiY, array_view pixels) const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoder::SetPixelData(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode, uint32_t width, uint32_t height, double dpiX, double dpiY, array_view pixels) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->SetPixelData(static_cast(pixelFormat), static_cast(alphaMode), width, height, dpiX, dpiY, pixels.size(), get_abi(pixels))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Graphics_Imaging_IBitmapEncoder::GoToNextFrameAsync() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoder::GoToNextFrameAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->GoToNextFrameAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Graphics_Imaging_IBitmapEncoder::GoToNextFrameAsync(param::async_iterable> const& encodingOptions) const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoder::GoToNextFrameAsync(param::async_iterable> const& encodingOptions) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->GoToNextFrameWithEncodingOptionsAsync(*(void**)(&encodingOptions), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Graphics_Imaging_IBitmapEncoder::FlushAsync() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoder::FlushAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->FlushAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::BmpEncoderId() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::BmpEncoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->get_BmpEncoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::JpegEncoderId() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::JpegEncoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->get_JpegEncoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::PngEncoderId() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::PngEncoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->get_PngEncoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::TiffEncoderId() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::TiffEncoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->get_TiffEncoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::GifEncoderId() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::GifEncoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->get_GifEncoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::JpegXREncoderId() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::JpegXREncoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->get_JpegXREncoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::GetEncoderInformationEnumerator() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::GetEncoderInformationEnumerator() const { void* encoderInformationEnumerator{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->GetEncoderInformationEnumerator(&encoderInformationEnumerator)); return winrt::Windows::Foundation::Collections::IVectorView{ encoderInformationEnumerator, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->CreateAsync(impl::bind_in(encoderId), *(void**)(&stream), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::async_iterable> const& encodingOptions) const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::async_iterable> const& encodingOptions) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->CreateWithEncodingOptionsAsync(impl::bind_in(encoderId), *(void**)(&stream), *(void**)(&encodingOptions), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::CreateForTranscodingAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Graphics::Imaging::BitmapDecoder const& bitmapDecoder) const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::CreateForTranscodingAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Graphics::Imaging::BitmapDecoder const& bitmapDecoder) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->CreateForTranscodingAsync(*(void**)(&stream), *(void**)(&bitmapDecoder), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::CreateForInPlacePropertyEncodingAsync(winrt::Windows::Graphics::Imaging::BitmapDecoder const& bitmapDecoder) const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics::CreateForInPlacePropertyEncodingAsync(winrt::Windows::Graphics::Imaging::BitmapDecoder const& bitmapDecoder) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->CreateForInPlacePropertyEncodingAsync(*(void**)(&bitmapDecoder), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics2::HeifEncoderId() const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics2::HeifEncoderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics2)->get_HeifEncoderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapEncoderWithSoftwareBitmap::SetSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const + template auto consume_Windows_Graphics_Imaging_IBitmapEncoderWithSoftwareBitmap::SetSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderWithSoftwareBitmap)->SetSoftwareBitmap(*(void**)(&bitmap))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_IBitmapFrame::GetThumbnailAsync() const + template auto consume_Windows_Graphics_Imaging_IBitmapFrame::GetThumbnailAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->GetThumbnailAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPropertiesView) consume_Windows_Graphics_Imaging_IBitmapFrame::BitmapProperties() const + template auto consume_Windows_Graphics_Imaging_IBitmapFrame::BitmapProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_BitmapProperties(&value)); return winrt::Windows::Graphics::Imaging::BitmapPropertiesView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) consume_Windows_Graphics_Imaging_IBitmapFrame::BitmapPixelFormat() const + template auto consume_Windows_Graphics_Imaging_IBitmapFrame::BitmapPixelFormat() const { winrt::Windows::Graphics::Imaging::BitmapPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_BitmapPixelFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) consume_Windows_Graphics_Imaging_IBitmapFrame::BitmapAlphaMode() const + template auto consume_Windows_Graphics_Imaging_IBitmapFrame::BitmapAlphaMode() const { winrt::Windows::Graphics::Imaging::BitmapAlphaMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_BitmapAlphaMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Imaging_IBitmapFrame::DpiX() const + template auto consume_Windows_Graphics_Imaging_IBitmapFrame::DpiX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_DpiX(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Imaging_IBitmapFrame::DpiY() const + template auto consume_Windows_Graphics_Imaging_IBitmapFrame::DpiY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_DpiY(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapFrame::PixelWidth() const + template auto consume_Windows_Graphics_Imaging_IBitmapFrame::PixelWidth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_PixelWidth(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapFrame::PixelHeight() const + template auto consume_Windows_Graphics_Imaging_IBitmapFrame::PixelHeight() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_PixelHeight(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapFrame::OrientedPixelWidth() const + template auto consume_Windows_Graphics_Imaging_IBitmapFrame::OrientedPixelWidth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_OrientedPixelWidth(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapFrame::OrientedPixelHeight() const + template auto consume_Windows_Graphics_Imaging_IBitmapFrame::OrientedPixelHeight() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_OrientedPixelHeight(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_IBitmapFrame::GetPixelDataAsync() const + template auto consume_Windows_Graphics_Imaging_IBitmapFrame::GetPixelDataAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->GetPixelDataAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_IBitmapFrame::GetPixelDataAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode, winrt::Windows::Graphics::Imaging::BitmapTransform const& transform, winrt::Windows::Graphics::Imaging::ExifOrientationMode const& exifOrientationMode, winrt::Windows::Graphics::Imaging::ColorManagementMode const& colorManagementMode) const + template auto consume_Windows_Graphics_Imaging_IBitmapFrame::GetPixelDataAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode, winrt::Windows::Graphics::Imaging::BitmapTransform const& transform, winrt::Windows::Graphics::Imaging::ExifOrientationMode const& exifOrientationMode, winrt::Windows::Graphics::Imaging::ColorManagementMode const& colorManagementMode) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->GetPixelDataTransformedAsync(static_cast(pixelFormat), static_cast(alphaMode), *(void**)(&transform), static_cast(exifOrientationMode), static_cast(colorManagementMode), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_IBitmapFrameWithSoftwareBitmap::GetSoftwareBitmapAsync() const + template auto consume_Windows_Graphics_Imaging_IBitmapFrameWithSoftwareBitmap::GetSoftwareBitmapAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrameWithSoftwareBitmap)->GetSoftwareBitmapAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_IBitmapFrameWithSoftwareBitmap::GetSoftwareBitmapAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode) const + template auto consume_Windows_Graphics_Imaging_IBitmapFrameWithSoftwareBitmap::GetSoftwareBitmapAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrameWithSoftwareBitmap)->GetSoftwareBitmapConvertedAsync(static_cast(pixelFormat), static_cast(alphaMode), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_IBitmapFrameWithSoftwareBitmap::GetSoftwareBitmapAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode, winrt::Windows::Graphics::Imaging::BitmapTransform const& transform, winrt::Windows::Graphics::Imaging::ExifOrientationMode const& exifOrientationMode, winrt::Windows::Graphics::Imaging::ColorManagementMode const& colorManagementMode) const + template auto consume_Windows_Graphics_Imaging_IBitmapFrameWithSoftwareBitmap::GetSoftwareBitmapAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode, winrt::Windows::Graphics::Imaging::BitmapTransform const& transform, winrt::Windows::Graphics::Imaging::ExifOrientationMode const& exifOrientationMode, winrt::Windows::Graphics::Imaging::ColorManagementMode const& colorManagementMode) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrameWithSoftwareBitmap)->GetSoftwareBitmapTransformedAsync(static_cast(pixelFormat), static_cast(alphaMode), *(void**)(&transform), static_cast(exifOrientationMode), static_cast(colorManagementMode), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Graphics_Imaging_IBitmapProperties::SetPropertiesAsync(param::async_iterable> const& propertiesToSet) const + template auto consume_Windows_Graphics_Imaging_IBitmapProperties::SetPropertiesAsync(param::async_iterable> const& propertiesToSet) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapProperties)->SetPropertiesAsync(*(void**)(&propertiesToSet), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_IBitmapPropertiesView::GetPropertiesAsync(param::async_iterable const& propertiesToRetrieve) const + template auto consume_Windows_Graphics_Imaging_IBitmapPropertiesView::GetPropertiesAsync(param::async_iterable const& propertiesToRetrieve) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapPropertiesView)->GetPropertiesAsync(*(void**)(&propertiesToRetrieve), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapTransform::ScaledWidth() const + template auto consume_Windows_Graphics_Imaging_IBitmapTransform::ScaledWidth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->get_ScaledWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapTransform::ScaledWidth(uint32_t value) const + template auto consume_Windows_Graphics_Imaging_IBitmapTransform::ScaledWidth(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->put_ScaledWidth(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapTransform::ScaledHeight() const + template auto consume_Windows_Graphics_Imaging_IBitmapTransform::ScaledHeight() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->get_ScaledHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapTransform::ScaledHeight(uint32_t value) const + template auto consume_Windows_Graphics_Imaging_IBitmapTransform::ScaledHeight(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->put_ScaledHeight(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapInterpolationMode) consume_Windows_Graphics_Imaging_IBitmapTransform::InterpolationMode() const + template auto consume_Windows_Graphics_Imaging_IBitmapTransform::InterpolationMode() const { winrt::Windows::Graphics::Imaging::BitmapInterpolationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->get_InterpolationMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapTransform::InterpolationMode(winrt::Windows::Graphics::Imaging::BitmapInterpolationMode const& value) const + template auto consume_Windows_Graphics_Imaging_IBitmapTransform::InterpolationMode(winrt::Windows::Graphics::Imaging::BitmapInterpolationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->put_InterpolationMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapFlip) consume_Windows_Graphics_Imaging_IBitmapTransform::Flip() const + template auto consume_Windows_Graphics_Imaging_IBitmapTransform::Flip() const { winrt::Windows::Graphics::Imaging::BitmapFlip value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->get_Flip(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapTransform::Flip(winrt::Windows::Graphics::Imaging::BitmapFlip const& value) const + template auto consume_Windows_Graphics_Imaging_IBitmapTransform::Flip(winrt::Windows::Graphics::Imaging::BitmapFlip const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->put_Flip(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapRotation) consume_Windows_Graphics_Imaging_IBitmapTransform::Rotation() const + template auto consume_Windows_Graphics_Imaging_IBitmapTransform::Rotation() const { winrt::Windows::Graphics::Imaging::BitmapRotation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->get_Rotation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapTransform::Rotation(winrt::Windows::Graphics::Imaging::BitmapRotation const& value) const + template auto consume_Windows_Graphics_Imaging_IBitmapTransform::Rotation(winrt::Windows::Graphics::Imaging::BitmapRotation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->put_Rotation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapBounds) consume_Windows_Graphics_Imaging_IBitmapTransform::Bounds() const + template auto consume_Windows_Graphics_Imaging_IBitmapTransform::Bounds() const { winrt::Windows::Graphics::Imaging::BitmapBounds value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->get_Bounds(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapTransform::Bounds(winrt::Windows::Graphics::Imaging::BitmapBounds const& value) const + template auto consume_Windows_Graphics_Imaging_IBitmapTransform::Bounds(winrt::Windows::Graphics::Imaging::BitmapBounds const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->put_Bounds(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Graphics_Imaging_IBitmapTypedValue::Value() const + template auto consume_Windows_Graphics_Imaging_IBitmapTypedValue::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTypedValue)->get_Value(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::PropertyType) consume_Windows_Graphics_Imaging_IBitmapTypedValue::Type() const + template auto consume_Windows_Graphics_Imaging_IBitmapTypedValue::Type() const { winrt::Windows::Foundation::PropertyType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTypedValue)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapTypedValue) consume_Windows_Graphics_Imaging_IBitmapTypedValueFactory::Create(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::PropertyType const& type) const + template auto consume_Windows_Graphics_Imaging_IBitmapTypedValueFactory::Create(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::PropertyType const& type) const { void* bitmapTypedValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTypedValueFactory)->Create(*(void**)(&value), static_cast(type), &bitmapTypedValue)); return winrt::Windows::Graphics::Imaging::BitmapTypedValue{ bitmapTypedValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Graphics_Imaging_IPixelDataProvider::DetachPixelData() const + template auto consume_Windows_Graphics_Imaging_IPixelDataProvider::DetachPixelData() const { uint32_t pixelData_impl_size{}; uint8_t* pixelData{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IPixelDataProvider)->DetachPixelData(&pixelData_impl_size, &pixelData)); return com_array{ pixelData, pixelData_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) consume_Windows_Graphics_Imaging_ISoftwareBitmap::BitmapPixelFormat() const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmap::BitmapPixelFormat() const { winrt::Windows::Graphics::Imaging::BitmapPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->get_BitmapPixelFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) consume_Windows_Graphics_Imaging_ISoftwareBitmap::BitmapAlphaMode() const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmap::BitmapAlphaMode() const { winrt::Windows::Graphics::Imaging::BitmapAlphaMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->get_BitmapAlphaMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Graphics_Imaging_ISoftwareBitmap::PixelWidth() const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmap::PixelWidth() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->get_PixelWidth(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Graphics_Imaging_ISoftwareBitmap::PixelHeight() const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmap::PixelHeight() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->get_PixelHeight(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Imaging_ISoftwareBitmap::IsReadOnly() const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmap::IsReadOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->get_IsReadOnly(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_ISoftwareBitmap::DpiX(double value) const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmap::DpiX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->put_DpiX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Imaging_ISoftwareBitmap::DpiX() const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmap::DpiX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->get_DpiX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_ISoftwareBitmap::DpiY(double value) const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmap::DpiY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->put_DpiY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Imaging_ISoftwareBitmap::DpiY() const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmap::DpiY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->get_DpiY(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapBuffer) consume_Windows_Graphics_Imaging_ISoftwareBitmap::LockBuffer(winrt::Windows::Graphics::Imaging::BitmapBufferAccessMode const& mode) const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmap::LockBuffer(winrt::Windows::Graphics::Imaging::BitmapBufferAccessMode const& mode) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->LockBuffer(static_cast(mode), &value)); return winrt::Windows::Graphics::Imaging::BitmapBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_ISoftwareBitmap::CopyTo(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmap::CopyTo(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->CopyTo(*(void**)(&bitmap))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_ISoftwareBitmap::CopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmap::CopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->CopyFromBuffer(*(void**)(&buffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_ISoftwareBitmap::CopyToBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmap::CopyToBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->CopyToBuffer(*(void**)(&buffer))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Graphics_Imaging_ISoftwareBitmap::GetReadOnlyView() const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmap::GetReadOnlyView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->GetReadOnlyView(&value)); return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Graphics_Imaging_ISoftwareBitmapFactory::Create(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmapFactory::Create(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmapFactory)->Create(static_cast(format), width, height, &value)); return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Graphics_Imaging_ISoftwareBitmapFactory::CreateWithAlpha(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmapFactory::CreateWithAlpha(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmapFactory)->CreateWithAlpha(static_cast(format), width, height, static_cast(alpha), &value)); return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics::Copy(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source) const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics::Copy(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmapStatics)->Copy(*(void**)(&source), &value)); return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics::Convert(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format) const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics::Convert(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmapStatics)->Convert(*(void**)(&source), static_cast(format), &value)); return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics::Convert(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics::Convert(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmapStatics)->ConvertWithAlpha(*(void**)(&source), static_cast(format), static_cast(alpha), &value)); return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics::CreateCopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics::CreateCopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmapStatics)->CreateCopyFromBuffer(*(void**)(&source), static_cast(format), width, height, &value)); return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics::CreateCopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics::CreateCopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmapStatics)->CreateCopyWithAlphaFromBuffer(*(void**)(&source), static_cast(format), width, height, static_cast(alpha), &value)); return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics::CreateCopyFromSurfaceAsync(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface) const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics::CreateCopyFromSurfaceAsync(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmapStatics)->CreateCopyFromSurfaceAsync(*(void**)(&surface), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics::CreateCopyFromSurfaceAsync(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const + template auto consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics::CreateCopyFromSurfaceAsync(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmapStatics)->CreateCopyWithAlphaFromSurfaceAsync(*(void**)(&surface), static_cast(alpha), &value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.OptionDetails.h b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.OptionDetails.h index e831641d..9f04607b 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.OptionDetails.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.OptionDetails.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing_OptionDetails_H #define WINRT_Windows_Graphics_Printing_OptionDetails_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Graphics.Printing.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,497 +14,497 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Graphics.Printing.OptionDetails.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails::WarningText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails::WarningText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintBindingOptionDetails)->put_WarningText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails::WarningText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails::WarningText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintBindingOptionDetails)->get_WarningText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails::Description(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintBindingOptionDetails)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails::Description() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintBindingOptionDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails::WarningText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails::WarningText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintBorderingOptionDetails)->put_WarningText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails::WarningText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails::WarningText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintBorderingOptionDetails)->get_WarningText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails::Description(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintBorderingOptionDetails)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails::Description() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintBorderingOptionDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails::WarningText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails::WarningText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCollationOptionDetails)->put_WarningText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails::WarningText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails::WarningText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCollationOptionDetails)->get_WarningText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails::Description(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCollationOptionDetails)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails::Description() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCollationOptionDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails::WarningText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails::WarningText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintColorModeOptionDetails)->put_WarningText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails::WarningText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails::WarningText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintColorModeOptionDetails)->get_WarningText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails::Description(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintColorModeOptionDetails)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails::Description() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintColorModeOptionDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails::WarningText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails::WarningText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCopiesOptionDetails)->put_WarningText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails::WarningText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails::WarningText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCopiesOptionDetails)->get_WarningText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails::Description(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCopiesOptionDetails)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails::Description() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCopiesOptionDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemDetails::ItemId() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemDetails::ItemId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemDetails)->get_ItemId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemDetails::ItemDisplayName(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemDetails::ItemDisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemDetails)->put_ItemDisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemDetails::ItemDisplayName() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemDetails::ItemDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemDetails)->get_ItemDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails::AddItem(param::hstring const& itemId, param::hstring const& displayName) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails::AddItem(param::hstring const& itemId, param::hstring const& displayName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemListOptionDetails)->AddItem(*(void**)(&itemId), *(void**)(&displayName))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails2::AddItem(param::hstring const& itemId, param::hstring const& displayName, param::hstring const& description, winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& icon) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails2::AddItem(param::hstring const& itemId, param::hstring const& displayName, param::hstring const& description, winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& icon) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemListOptionDetails2)->AddItem(*(void**)(&itemId), *(void**)(&displayName), *(void**)(&description), *(void**)(&icon))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3::WarningText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3::WarningText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemListOptionDetails3)->put_WarningText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3::WarningText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3::WarningText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemListOptionDetails3)->get_WarningText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3::Description(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemListOptionDetails3)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3::Description() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemListOptionDetails3)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomOptionDetails::DisplayName(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomOptionDetails::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomOptionDetails)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomOptionDetails::DisplayName() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomOptionDetails::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomOptionDetails)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails::MaxCharacters(uint32_t value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails::MaxCharacters(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomTextOptionDetails)->put_MaxCharacters(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails::MaxCharacters() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails::MaxCharacters() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomTextOptionDetails)->get_MaxCharacters(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2::WarningText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2::WarningText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomTextOptionDetails2)->put_WarningText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2::WarningText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2::WarningText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomTextOptionDetails2)->get_WarningText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2::Description(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomTextOptionDetails2)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2::Description() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomTextOptionDetails2)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails::WarningText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails::WarningText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomToggleOptionDetails)->put_WarningText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails::WarningText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails::WarningText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomToggleOptionDetails)->get_WarningText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails::Description(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomToggleOptionDetails)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails::Description() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomToggleOptionDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails::WarningText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails::WarningText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintDuplexOptionDetails)->put_WarningText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails::WarningText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails::WarningText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintDuplexOptionDetails)->get_WarningText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails::Description(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintDuplexOptionDetails)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails::Description() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintDuplexOptionDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails::WarningText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails::WarningText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintHolePunchOptionDetails)->put_WarningText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails::WarningText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails::WarningText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintHolePunchOptionDetails)->get_WarningText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails::Description(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintHolePunchOptionDetails)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails::Description() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintHolePunchOptionDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Printing_OptionDetails_IPrintItemListOptionDetails::Items() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintItemListOptionDetails::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintItemListOptionDetails)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails::WarningText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails::WarningText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintMediaSizeOptionDetails)->put_WarningText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails::WarningText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails::WarningText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintMediaSizeOptionDetails)->get_WarningText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails::Description(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintMediaSizeOptionDetails)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails::Description() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintMediaSizeOptionDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails::WarningText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails::WarningText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintMediaTypeOptionDetails)->put_WarningText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails::WarningText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails::WarningText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintMediaTypeOptionDetails)->get_WarningText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails::Description(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintMediaTypeOptionDetails)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails::Description() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintMediaTypeOptionDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_OptionDetails_IPrintNumberOptionDetails::MinValue() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintNumberOptionDetails::MinValue() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintNumberOptionDetails)->get_MinValue(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_OptionDetails_IPrintNumberOptionDetails::MaxValue() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintNumberOptionDetails::MaxValue() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintNumberOptionDetails)->get_MaxValue(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails::OptionId() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails::OptionId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails)->get_OptionId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintOptionType) consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails::OptionType() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails::OptionType() const { winrt::Windows::Graphics::Printing::OptionDetails::PrintOptionType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails)->get_OptionType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails::ErrorText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails::ErrorText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails)->put_ErrorText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails::ErrorText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails::ErrorText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails)->get_ErrorText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails::State(winrt::Windows::Graphics::Printing::OptionDetails::PrintOptionStates const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails::State(winrt::Windows::Graphics::Printing::OptionDetails::PrintOptionStates const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails)->put_State(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintOptionStates) consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails::State() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails::State() const { winrt::Windows::Graphics::Printing::OptionDetails::PrintOptionStates value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails::Value() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails)->get_Value(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails::TrySetValue(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails::TrySetValue(winrt::Windows::Foundation::IInspectable const& value) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails)->TrySetValue(*(void**)(&value), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails::WarningText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails::WarningText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOrientationOptionDetails)->put_WarningText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails::WarningText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails::WarningText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOrientationOptionDetails)->get_WarningText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails::Description(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOrientationOptionDetails)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails::Description() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOrientationOptionDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails::WarningText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails::WarningText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintPageRangeOptionDetails)->put_WarningText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails::WarningText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails::WarningText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintPageRangeOptionDetails)->get_WarningText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails::Description(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintPageRangeOptionDetails)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails::Description() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintPageRangeOptionDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails::WarningText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails::WarningText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintQualityOptionDetails)->put_WarningText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails::WarningText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails::WarningText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintQualityOptionDetails)->get_WarningText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails::Description(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintQualityOptionDetails)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails::Description() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintQualityOptionDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails::WarningText(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails::WarningText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintStapleOptionDetails)->put_WarningText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails::WarningText() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails::WarningText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintStapleOptionDetails)->get_WarningText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails::Description(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintStapleOptionDetails)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails::Description() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintStapleOptionDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionChangedEventArgs::OptionId() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionChangedEventArgs::OptionId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionChangedEventArgs)->get_OptionId(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::Options() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::Options() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails)->get_Options(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintCustomItemListOptionDetails) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::CreateItemListOption(param::hstring const& optionId, param::hstring const& displayName) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::CreateItemListOption(param::hstring const& optionId, param::hstring const& displayName) const { void* itemListOption{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails)->CreateItemListOption(*(void**)(&optionId), *(void**)(&displayName), &itemListOption)); return winrt::Windows::Graphics::Printing::OptionDetails::PrintCustomItemListOptionDetails{ itemListOption, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintCustomTextOptionDetails) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::CreateTextOption(param::hstring const& optionId, param::hstring const& displayName) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::CreateTextOption(param::hstring const& optionId, param::hstring const& displayName) const { void* textOption{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails)->CreateTextOption(*(void**)(&optionId), *(void**)(&displayName), &textOption)); return winrt::Windows::Graphics::Printing::OptionDetails::PrintCustomTextOptionDetails{ textOption, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::OptionChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::OptionChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails)->add_OptionChanged(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::OptionChanged_revoker consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::OptionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::OptionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, OptionChanged(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::OptionChanged(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::OptionChanged(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails)->remove_OptionChanged(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::BeginValidation(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::BeginValidation(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails)->add_BeginValidation(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::BeginValidation_revoker consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::BeginValidation(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::BeginValidation(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, BeginValidation(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::BeginValidation(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails::BeginValidation(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails)->remove_BeginValidation(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintCustomToggleOptionDetails) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails2::CreateToggleOption(param::hstring const& optionId, param::hstring const& displayName) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails2::CreateToggleOption(param::hstring const& optionId, param::hstring const& displayName) const { void* toggleOption{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails2)->CreateToggleOption(*(void**)(&optionId), *(void**)(&displayName), &toggleOption)); return winrt::Windows::Graphics::Printing::OptionDetails::PrintCustomToggleOptionDetails{ toggleOption, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetailsStatic::GetFromPrintTaskOptions(winrt::Windows::Graphics::Printing::PrintTaskOptions const& printTaskOptions) const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetailsStatic::GetFromPrintTaskOptions(winrt::Windows::Graphics::Printing::PrintTaskOptions const& printTaskOptions) const { void* printTaskOptionDetails{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetailsStatic)->GetFromPrintTaskOptions(*(void**)(&printTaskOptions), &printTaskOptionDetails)); return winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails{ printTaskOptionDetails, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_OptionDetails_IPrintTextOptionDetails::MaxCharacters() const + template auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTextOptionDetails::MaxCharacters() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintTextOptionDetails)->get_MaxCharacters(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.PrintTicket.h b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.PrintTicket.h index ef15dd2c..d8c001d6 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.PrintTicket.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.PrintTicket.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing_PrintTicket_H #define WINRT_Windows_Graphics_Printing_PrintTicket_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Graphics.Printing.h" #include "winrt/impl/Windows.Data.Xml.Dom.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,477 +13,477 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Graphics.Printing.PrintTicket.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::Name() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::XmlNamespace() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::XmlNamespace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_XmlNamespace(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::XmlNode() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::XmlNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_XmlNode(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentBindingFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentBindingFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_DocumentBindingFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentCollateFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentCollateFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_DocumentCollateFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentDuplexFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentDuplexFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_DocumentDuplexFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentHolePunchFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentHolePunchFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_DocumentHolePunchFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentInputBinFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentInputBinFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_DocumentInputBinFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentNUpFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentNUpFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_DocumentNUpFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentStapleFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::DocumentStapleFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_DocumentStapleFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::JobPasscodeFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::JobPasscodeFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_JobPasscodeFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageBorderlessFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageBorderlessFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_PageBorderlessFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageMediaSizeFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageMediaSizeFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_PageMediaSizeFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageMediaTypeFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageMediaTypeFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_PageMediaTypeFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageOrientationFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageOrientationFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_PageOrientationFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageOutputColorFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageOutputColorFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_PageOutputColorFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageOutputQualityFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageOutputQualityFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_PageOutputQualityFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageResolutionFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::PageResolutionFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->get_PageResolutionFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::GetFeature(param::hstring const& name, param::hstring const& xmlNamespace) const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::GetFeature(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->GetFeature(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterDefinition) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::GetParameterDefinition(param::hstring const& name, param::hstring const& xmlNamespace) const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities::GetParameterDefinition(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities)->GetParameterDefinition(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterDefinition{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::Name() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::XmlNamespace() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::XmlNamespace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->get_XmlNamespace(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::XmlNode() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::XmlNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->get_XmlNode(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::DisplayName() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::GetOption(param::hstring const& name, param::hstring const& xmlNamespace) const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::GetOption(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->GetOption(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::Options() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::Options() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->get_Options(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::GetSelectedOption() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::GetSelectedOption() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->GetSelectedOption(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::SetSelectedOption(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption const& value) const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::SetSelectedOption(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->SetSelectedOption(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeatureSelectionType) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::SelectionType() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature::SelectionType() const { winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeatureSelectionType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->get_SelectionType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::Name() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::XmlNamespace() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::XmlNamespace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption)->get_XmlNamespace(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::XmlNode() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::XmlNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption)->get_XmlNode(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::DisplayName() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::GetPropertyNode(param::hstring const& name, param::hstring const& xmlNamespace) const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::GetPropertyNode(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption)->GetPropertyNode(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::GetScoredPropertyNode(param::hstring const& name, param::hstring const& xmlNamespace) const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::GetScoredPropertyNode(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption)->GetScoredPropertyNode(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::GetPropertyValue(param::hstring const& name, param::hstring const& xmlNamespace) const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::GetPropertyValue(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption)->GetPropertyValue(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::GetScoredPropertyValue(param::hstring const& name, param::hstring const& xmlNamespace) const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption::GetScoredPropertyValue(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption)->GetScoredPropertyValue(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::Name() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::XmlNamespace() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::XmlNamespace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_XmlNamespace(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::XmlNode() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::XmlNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_XmlNode(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterDataType) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::DataType() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::DataType() const { winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterDataType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_DataType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::UnitType() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::UnitType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_UnitType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::RangeMin() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::RangeMin() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_RangeMin(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::RangeMax() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition::RangeMax() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_RangeMax(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer::Name() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterInitializer)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer::XmlNamespace() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer::XmlNamespace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterInitializer)->get_XmlNamespace(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer::XmlNode() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer::XmlNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterInitializer)->get_XmlNode(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer::Value(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue const& value) const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer::Value(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterInitializer)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer::Value() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterInitializer)->get_Value(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValueType) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue::Type() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue::Type() const { winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValueType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketValue)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue::GetValueAsInteger() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue::GetValueAsInteger() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketValue)->GetValueAsInteger(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue::GetValueAsString() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue::GetValueAsString() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketValue)->GetValueAsString(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::Name() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::XmlNamespace() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::XmlNamespace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_XmlNamespace(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::XmlNode() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::XmlNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_XmlNode(&value)); return winrt::Windows::Data::Xml::Dom::IXmlNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketCapabilities) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::GetCapabilities() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::GetCapabilities() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->GetCapabilities(&result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketCapabilities{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentBindingFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentBindingFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_DocumentBindingFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentCollateFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentCollateFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_DocumentCollateFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentDuplexFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentDuplexFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_DocumentDuplexFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentHolePunchFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentHolePunchFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_DocumentHolePunchFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentInputBinFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentInputBinFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_DocumentInputBinFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentNUpFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentNUpFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_DocumentNUpFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentStapleFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::DocumentStapleFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_DocumentStapleFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::JobPasscodeFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::JobPasscodeFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_JobPasscodeFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageBorderlessFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageBorderlessFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_PageBorderlessFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageMediaSizeFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageMediaSizeFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_PageMediaSizeFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageMediaTypeFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageMediaTypeFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_PageMediaTypeFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageOrientationFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageOrientationFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_PageOrientationFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageOutputColorFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageOutputColorFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_PageOutputColorFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageOutputQualityFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageOutputQualityFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_PageOutputQualityFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageResolutionFeature() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::PageResolutionFeature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->get_PageResolutionFeature(&value)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::GetFeature(param::hstring const& name, param::hstring const& xmlNamespace) const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::GetFeature(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->GetFeature(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::NotifyXmlChangedAsync() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::NotifyXmlChangedAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->NotifyXmlChangedAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::ValidateAsync() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::ValidateAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->ValidateAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterInitializer) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::GetParameterInitializer(param::hstring const& name, param::hstring const& xmlNamespace) const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::GetParameterInitializer(param::hstring const& name, param::hstring const& xmlNamespace) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->GetParameterInitializer(*(void**)(&name), *(void**)(&xmlNamespace), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterInitializer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterInitializer) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::SetParameterInitializerAsInteger(param::hstring const& name, param::hstring const& xmlNamespace, int32_t integerValue) const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::SetParameterInitializerAsInteger(param::hstring const& name, param::hstring const& xmlNamespace, int32_t integerValue) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->SetParameterInitializerAsInteger(*(void**)(&name), *(void**)(&xmlNamespace), integerValue, &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterInitializer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterInitializer) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::SetParameterInitializerAsString(param::hstring const& name, param::hstring const& xmlNamespace, param::hstring const& stringValue) const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::SetParameterInitializerAsString(param::hstring const& name, param::hstring const& xmlNamespace, param::hstring const& stringValue) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->SetParameterInitializerAsString(*(void**)(&name), *(void**)(&xmlNamespace), *(void**)(&stringValue), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterInitializer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::MergeAndValidateTicket(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& deltaShemaTicket) const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket::MergeAndValidateTicket(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& deltaShemaTicket) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->MergeAndValidateTicket(*(void**)(&deltaShemaTicket), &result)); return winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicketValidationResult::Validated() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicketValidationResult::Validated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicketValidationResult)->get_Validated(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicketValidationResult::ExtendedError() const + template auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicketValidationResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicketValidationResult)->get_ExtendedError(put_abi(value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.Workflow.h b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.Workflow.h index feaff3c6..8ee56f16 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.Workflow.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.Workflow.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing_Workflow_H #define WINRT_Windows_Graphics_Printing_Workflow_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Graphics.Printing.h" #include "winrt/impl/Windows.ApplicationModel.Activation.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -14,235 +14,235 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Graphics.Printing.Workflow.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::SetupRequested(winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::SetupRequested(winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession)->add_SetupRequested(*(void**)(&setupEventHandler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::SetupRequested_revoker consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const { return impl::make_event_revoker(this, SetupRequested(setupEventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::SetupRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::SetupRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession)->remove_SetupRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::Submitted(winrt::Windows::Foundation::TypedEventHandler const& submittedEventHandler) const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::Submitted(winrt::Windows::Foundation::TypedEventHandler const& submittedEventHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession)->add_Submitted(*(void**)(&submittedEventHandler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::Submitted_revoker consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::Submitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& submittedEventHandler) const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::Submitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& submittedEventHandler) const { return impl::make_event_revoker(this, Submitted(submittedEventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::Submitted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::Submitted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession)->remove_Submitted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSessionStatus) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::Status() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::Status() const { winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSessionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::Start() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession)->Start()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs::GetUserPrintTicketAsync() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs::GetUserPrintTicketAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSetupRequestedEventArgs)->GetUserPrintTicketAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowConfiguration) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs::Configuration() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs::Configuration() const { void* configuration{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSetupRequestedEventArgs)->get_Configuration(&configuration)); return winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowConfiguration{ configuration, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs::SetRequiresUI() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs::SetRequiresUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSetupRequestedEventArgs)->SetRequiresUI()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs::GetDeferral() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSetupRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration::SourceAppDisplayName() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration::SourceAppDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowConfiguration)->get_SourceAppDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration::JobTitle() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration::JobTitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowConfiguration)->get_JobTitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration::SessionId() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration::SessionId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowConfiguration)->get_SessionId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::SetupRequested(winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::SetupRequested(winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession)->add_SetupRequested(*(void**)(&setupEventHandler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::SetupRequested_revoker consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const { return impl::make_event_revoker(this, SetupRequested(setupEventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::SetupRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::SetupRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession)->remove_SetupRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::XpsDataAvailable(winrt::Windows::Foundation::TypedEventHandler const& xpsDataAvailableEventHandler) const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::XpsDataAvailable(winrt::Windows::Foundation::TypedEventHandler const& xpsDataAvailableEventHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession)->add_XpsDataAvailable(*(void**)(&xpsDataAvailableEventHandler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::XpsDataAvailable_revoker consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::XpsDataAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& xpsDataAvailableEventHandler) const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::XpsDataAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& xpsDataAvailableEventHandler) const { return impl::make_event_revoker(this, XpsDataAvailable(xpsDataAvailableEventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::XpsDataAvailable(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::XpsDataAvailable(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession)->remove_XpsDataAvailable(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSessionStatus) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::Status() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::Status() const { winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSessionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::Start() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession)->Start()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSetupRequestedEventArgs::GetUserPrintTicketAsync() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSetupRequestedEventArgs::GetUserPrintTicketAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSetupRequestedEventArgs)->GetUserPrintTicketAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowConfiguration) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSetupRequestedEventArgs::Configuration() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSetupRequestedEventArgs::Configuration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSetupRequestedEventArgs)->get_Configuration(&value)); return winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSetupRequestedEventArgs::GetDeferral() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSetupRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSetupRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSourceContent::GetJobPrintTicketAsync() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSourceContent::GetJobPrintTicketAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSourceContent)->GetJobPrintTicketAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSpoolStreamContent) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSourceContent::GetSourceSpoolDataAsStreamContent() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSourceContent::GetSourceSpoolDataAsStreamContent() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSourceContent)->GetSourceSpoolDataAsStreamContent(&result)); return winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSpoolStreamContent{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowObjectModelSourceFileContent) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSourceContent::GetSourceSpoolDataAsXpsObjectModel() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSourceContent::GetSourceSpoolDataAsXpsObjectModel() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSourceContent)->GetSourceSpoolDataAsXpsObjectModel(&result)); return winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowObjectModelSourceFileContent{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSpoolStreamContent::GetInputStream() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSpoolStreamContent::GetInputStream() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSpoolStreamContent)->GetInputStream(&result)); return winrt::Windows::Storage::Streams::IInputStream{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowStreamTarget::GetOutputStream() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowStreamTarget::GetOutputStream() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowStreamTarget)->GetOutputStream(&result)); return winrt::Windows::Storage::Streams::IOutputStream{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedOperation) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedEventArgs::Operation() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedEventArgs::Operation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSubmittedEventArgs)->get_Operation(&value)); return winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowTarget) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedEventArgs::GetTarget(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& jobPrintTicket) const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedEventArgs::GetTarget(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& jobPrintTicket) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSubmittedEventArgs)->GetTarget(*(void**)(&jobPrintTicket), &result)); return winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowTarget{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedEventArgs::GetDeferral() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSubmittedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedOperation::Complete(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedStatus const& status) const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedOperation::Complete(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedStatus const& status) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSubmittedOperation)->Complete(static_cast(status))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowConfiguration) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedOperation::Configuration() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedOperation::Configuration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSubmittedOperation)->get_Configuration(&value)); return winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSourceContent) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedOperation::XpsContent() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedOperation::XpsContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSubmittedOperation)->get_XpsContent(&value)); return winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSourceContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowStreamTarget) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTarget::TargetAsStream() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTarget::TargetAsStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowTarget)->get_TargetAsStream(&value)); return winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowStreamTarget{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowObjectModelTargetPackage) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTarget::TargetAsXpsObjectModelPackage() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTarget::TargetAsXpsObjectModelPackage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowTarget)->get_TargetAsXpsObjectModelPackage(&value)); return winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowObjectModelTargetPackage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTriggerDetails::PrintWorkflowSession() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTriggerDetails::PrintWorkflowSession() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowTriggerDetails)->get_PrintWorkflowSession(&value)); return winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowUIActivatedEventArgs::PrintWorkflowSession() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowUIActivatedEventArgs::PrintWorkflowSession() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowUIActivatedEventArgs)->get_PrintWorkflowSession(&value)); return winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedOperation) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowXpsDataAvailableEventArgs::Operation() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowXpsDataAvailableEventArgs::Operation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowXpsDataAvailableEventArgs)->get_Operation(&value)); return winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowXpsDataAvailableEventArgs::GetDeferral() const + template auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowXpsDataAvailableEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowXpsDataAvailableEventArgs)->GetDeferral(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.h b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.h index 252e4071..e6df23b1 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing_H #define WINRT_Windows_Graphics_Printing_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Graphics.h" #include "winrt/impl/Windows.ApplicationModel.DataTransfer.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -14,553 +14,553 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Graphics.Printing.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_IPrintManager::PrintTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing_IPrintManager::PrintTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintManager)->add_PrintTaskRequested(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Graphics_Printing_IPrintManager::PrintTaskRequested_revoker consume_Windows_Graphics_Printing_IPrintManager::PrintTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing_IPrintManager::PrintTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, PrintTaskRequested(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintManager::PrintTaskRequested(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Graphics_Printing_IPrintManager::PrintTaskRequested(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintManager)->remove_PrintTaskRequested(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintManager) consume_Windows_Graphics_Printing_IPrintManagerStatic::GetForCurrentView() const + template auto consume_Windows_Graphics_Printing_IPrintManagerStatic::GetForCurrentView() const { void* printingManager{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintManagerStatic)->GetForCurrentView(&printingManager)); return winrt::Windows::Graphics::Printing::PrintManager{ printingManager, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Printing_IPrintManagerStatic::ShowPrintUIAsync() const + template auto consume_Windows_Graphics_Printing_IPrintManagerStatic::ShowPrintUIAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintManagerStatic)->ShowPrintUIAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_IPrintManagerStatic2::IsSupported() const + template auto consume_Windows_Graphics_Printing_IPrintManagerStatic2::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintManagerStatic2)->IsSupported(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintPageInfo::MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const + template auto consume_Windows_Graphics_Printing_IPrintPageInfo::MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->put_MediaSize(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintMediaSize) consume_Windows_Graphics_Printing_IPrintPageInfo::MediaSize() const + template auto consume_Windows_Graphics_Printing_IPrintPageInfo::MediaSize() const { winrt::Windows::Graphics::Printing::PrintMediaSize value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->get_MediaSize(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintPageInfo::PageSize(winrt::Windows::Foundation::Size const& value) const + template auto consume_Windows_Graphics_Printing_IPrintPageInfo::PageSize(winrt::Windows::Foundation::Size const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->put_PageSize(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Graphics_Printing_IPrintPageInfo::PageSize() const + template auto consume_Windows_Graphics_Printing_IPrintPageInfo::PageSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->get_PageSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintPageInfo::DpiX(uint32_t value) const + template auto consume_Windows_Graphics_Printing_IPrintPageInfo::DpiX(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->put_DpiX(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_IPrintPageInfo::DpiX() const + template auto consume_Windows_Graphics_Printing_IPrintPageInfo::DpiX() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->get_DpiX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintPageInfo::DpiY(uint32_t value) const + template auto consume_Windows_Graphics_Printing_IPrintPageInfo::DpiY(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->put_DpiY(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_IPrintPageInfo::DpiY() const + template auto consume_Windows_Graphics_Printing_IPrintPageInfo::DpiY() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->get_DpiY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintPageInfo::Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const + template auto consume_Windows_Graphics_Printing_IPrintPageInfo::Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->put_Orientation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintOrientation) consume_Windows_Graphics_Printing_IPrintPageInfo::Orientation() const + template auto consume_Windows_Graphics_Printing_IPrintPageInfo::Orientation() const { winrt::Windows::Graphics::Printing::PrintOrientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Graphics_Printing_IPrintPageRange::FirstPageNumber() const + template auto consume_Windows_Graphics_Printing_IPrintPageRange::FirstPageNumber() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRange)->get_FirstPageNumber(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Graphics_Printing_IPrintPageRange::LastPageNumber() const + template auto consume_Windows_Graphics_Printing_IPrintPageRange::LastPageNumber() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRange)->get_LastPageNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintPageRange) consume_Windows_Graphics_Printing_IPrintPageRangeFactory::Create(int32_t firstPage, int32_t lastPage) const + template auto consume_Windows_Graphics_Printing_IPrintPageRangeFactory::Create(int32_t firstPage, int32_t lastPage) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRangeFactory)->Create(firstPage, lastPage, &result)); return winrt::Windows::Graphics::Printing::PrintPageRange{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintPageRange) consume_Windows_Graphics_Printing_IPrintPageRangeFactory::CreateWithSinglePage(int32_t page) const + template auto consume_Windows_Graphics_Printing_IPrintPageRangeFactory::CreateWithSinglePage(int32_t page) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRangeFactory)->CreateWithSinglePage(page, &result)); return winrt::Windows::Graphics::Printing::PrintPageRange{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintPageRangeOptions::AllowAllPages(bool value) const + template auto consume_Windows_Graphics_Printing_IPrintPageRangeOptions::AllowAllPages(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRangeOptions)->put_AllowAllPages(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_IPrintPageRangeOptions::AllowAllPages() const + template auto consume_Windows_Graphics_Printing_IPrintPageRangeOptions::AllowAllPages() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRangeOptions)->get_AllowAllPages(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintPageRangeOptions::AllowCurrentPage(bool value) const + template auto consume_Windows_Graphics_Printing_IPrintPageRangeOptions::AllowCurrentPage(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRangeOptions)->put_AllowCurrentPage(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_IPrintPageRangeOptions::AllowCurrentPage() const + template auto consume_Windows_Graphics_Printing_IPrintPageRangeOptions::AllowCurrentPage() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRangeOptions)->get_AllowCurrentPage(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintPageRangeOptions::AllowCustomSetOfPages(bool value) const + template auto consume_Windows_Graphics_Printing_IPrintPageRangeOptions::AllowCustomSetOfPages(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRangeOptions)->put_AllowCustomSetOfPages(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_IPrintPageRangeOptions::AllowCustomSetOfPages() const + template auto consume_Windows_Graphics_Printing_IPrintPageRangeOptions::AllowCustomSetOfPages() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRangeOptions)->get_AllowCustomSetOfPages(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackagePropertySet) consume_Windows_Graphics_Printing_IPrintTask::Properties() const + template auto consume_Windows_Graphics_Printing_IPrintTask::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask)->get_Properties(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackagePropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::IPrintDocumentSource) consume_Windows_Graphics_Printing_IPrintTask::Source() const + template auto consume_Windows_Graphics_Printing_IPrintTask::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask)->get_Source(&value)); return winrt::Windows::Graphics::Printing::IPrintDocumentSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskOptions) consume_Windows_Graphics_Printing_IPrintTask::Options() const + template auto consume_Windows_Graphics_Printing_IPrintTask::Options() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask)->get_Options(&value)); return winrt::Windows::Graphics::Printing::PrintTaskOptions{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_IPrintTask::Previewing(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing_IPrintTask::Previewing(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask)->add_Previewing(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Graphics_Printing_IPrintTask::Previewing_revoker consume_Windows_Graphics_Printing_IPrintTask::Previewing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing_IPrintTask::Previewing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, Previewing(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTask::Previewing(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Graphics_Printing_IPrintTask::Previewing(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask)->remove_Previewing(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_IPrintTask::Submitting(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing_IPrintTask::Submitting(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask)->add_Submitting(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Graphics_Printing_IPrintTask::Submitting_revoker consume_Windows_Graphics_Printing_IPrintTask::Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing_IPrintTask::Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, Submitting(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTask::Submitting(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Graphics_Printing_IPrintTask::Submitting(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask)->remove_Submitting(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_IPrintTask::Progressing(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing_IPrintTask::Progressing(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask)->add_Progressing(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Graphics_Printing_IPrintTask::Progressing_revoker consume_Windows_Graphics_Printing_IPrintTask::Progressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing_IPrintTask::Progressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, Progressing(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTask::Progressing(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Graphics_Printing_IPrintTask::Progressing(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask)->remove_Progressing(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_IPrintTask::Completed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing_IPrintTask::Completed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask)->add_Completed(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Graphics_Printing_IPrintTask::Completed_revoker consume_Windows_Graphics_Printing_IPrintTask::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing_IPrintTask::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, Completed(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTask::Completed(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Graphics_Printing_IPrintTask::Completed(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask)->remove_Completed(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTask2::IsPreviewEnabled(bool value) const + template auto consume_Windows_Graphics_Printing_IPrintTask2::IsPreviewEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask2)->put_IsPreviewEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_IPrintTask2::IsPreviewEnabled() const + template auto consume_Windows_Graphics_Printing_IPrintTask2::IsPreviewEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask2)->get_IsPreviewEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskCompletion) consume_Windows_Graphics_Printing_IPrintTaskCompletedEventArgs::Completion() const + template auto consume_Windows_Graphics_Printing_IPrintTaskCompletedEventArgs::Completion() const { winrt::Windows::Graphics::Printing::PrintTaskCompletion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskCompletedEventArgs)->get_Completion(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptions::Bordering(winrt::Windows::Graphics::Printing::PrintBordering const& value) const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptions::Bordering(winrt::Windows::Graphics::Printing::PrintBordering const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptions)->put_Bordering(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintBordering) consume_Windows_Graphics_Printing_IPrintTaskOptions::Bordering() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptions::Bordering() const { winrt::Windows::Graphics::Printing::PrintBordering value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptions)->get_Bordering(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_Graphics_Printing_IPrintTaskOptions::GetPagePrintTicket(winrt::Windows::Graphics::Printing::PrintPageInfo const& printPageInfo) const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptions::GetPagePrintTicket(winrt::Windows::Graphics::Printing::PrintPageInfo const& printPageInfo) const { void* printTicket{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptions)->GetPagePrintTicket(*(void**)(&printPageInfo), &printTicket)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ printTicket, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintPageRangeOptions) consume_Windows_Graphics_Printing_IPrintTaskOptions2::PageRangeOptions() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptions2::PageRangeOptions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptions2)->get_PageRangeOptions(&value)); return winrt::Windows::Graphics::Printing::PrintPageRangeOptions{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing_IPrintTaskOptions2::CustomPageRanges() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptions2::CustomPageRanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptions2)->get_CustomPageRanges(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintPageDescription) consume_Windows_Graphics_Printing_IPrintTaskOptionsCore::GetPageDescription(uint32_t jobPageNumber) const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCore::GetPageDescription(uint32_t jobPageNumber) const { winrt::Windows::Graphics::Printing::PrintPageDescription description{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCore)->GetPageDescription(jobPageNumber, put_abi(description))); return description; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_MediaSize(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintMediaSize) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::MediaSize() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::MediaSize() const { winrt::Windows::Graphics::Printing::PrintMediaSize value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_MediaSize(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::MediaType(winrt::Windows::Graphics::Printing::PrintMediaType const& value) const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::MediaType(winrt::Windows::Graphics::Printing::PrintMediaType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_MediaType(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintMediaType) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::MediaType() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::MediaType() const { winrt::Windows::Graphics::Printing::PrintMediaType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_MediaType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_Orientation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintOrientation) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Orientation() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Orientation() const { winrt::Windows::Graphics::Printing::PrintOrientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::PrintQuality(winrt::Windows::Graphics::Printing::PrintQuality const& value) const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::PrintQuality(winrt::Windows::Graphics::Printing::PrintQuality const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_PrintQuality(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintQuality) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::PrintQuality() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::PrintQuality() const { winrt::Windows::Graphics::Printing::PrintQuality value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_PrintQuality(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::ColorMode(winrt::Windows::Graphics::Printing::PrintColorMode const& value) const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::ColorMode(winrt::Windows::Graphics::Printing::PrintColorMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_ColorMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintColorMode) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::ColorMode() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::ColorMode() const { winrt::Windows::Graphics::Printing::PrintColorMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_ColorMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Duplex(winrt::Windows::Graphics::Printing::PrintDuplex const& value) const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Duplex(winrt::Windows::Graphics::Printing::PrintDuplex const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_Duplex(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintDuplex) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Duplex() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Duplex() const { winrt::Windows::Graphics::Printing::PrintDuplex value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_Duplex(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Collation(winrt::Windows::Graphics::Printing::PrintCollation const& value) const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Collation(winrt::Windows::Graphics::Printing::PrintCollation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_Collation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintCollation) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Collation() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Collation() const { winrt::Windows::Graphics::Printing::PrintCollation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_Collation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Staple(winrt::Windows::Graphics::Printing::PrintStaple const& value) const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Staple(winrt::Windows::Graphics::Printing::PrintStaple const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_Staple(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintStaple) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Staple() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Staple() const { winrt::Windows::Graphics::Printing::PrintStaple value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_Staple(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::HolePunch(winrt::Windows::Graphics::Printing::PrintHolePunch const& value) const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::HolePunch(winrt::Windows::Graphics::Printing::PrintHolePunch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_HolePunch(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintHolePunch) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::HolePunch() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::HolePunch() const { winrt::Windows::Graphics::Printing::PrintHolePunch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_HolePunch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Binding(winrt::Windows::Graphics::Printing::PrintBinding const& value) const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Binding(winrt::Windows::Graphics::Printing::PrintBinding const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_Binding(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintBinding) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Binding() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::Binding() const { winrt::Windows::Graphics::Printing::PrintBinding value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_Binding(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::MinCopies() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::MinCopies() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_MinCopies(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::MaxCopies() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::MaxCopies() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_MaxCopies(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::NumberOfCopies(uint32_t value) const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::NumberOfCopies(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_NumberOfCopies(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::NumberOfCopies() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties::NumberOfCopies() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_NumberOfCopies(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreUIConfiguration::DisplayedOptions() const + template auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreUIConfiguration::DisplayedOptions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreUIConfiguration)->get_DisplayedOptions(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_IPrintTaskProgressingEventArgs::DocumentPageCount() const + template auto consume_Windows_Graphics_Printing_IPrintTaskProgressingEventArgs::DocumentPageCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskProgressingEventArgs)->get_DocumentPageCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Graphics_Printing_IPrintTaskRequest::Deadline() const + template auto consume_Windows_Graphics_Printing_IPrintTaskRequest::Deadline() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskRequest)->get_Deadline(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTask) consume_Windows_Graphics_Printing_IPrintTaskRequest::CreatePrintTask(param::hstring const& title, winrt::Windows::Graphics::Printing::PrintTaskSourceRequestedHandler const& handler) const + template auto consume_Windows_Graphics_Printing_IPrintTaskRequest::CreatePrintTask(param::hstring const& title, winrt::Windows::Graphics::Printing::PrintTaskSourceRequestedHandler const& handler) const { void* task{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskRequest)->CreatePrintTask(*(void**)(&title), *(void**)(&handler), &task)); return winrt::Windows::Graphics::Printing::PrintTask{ task, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskRequestedDeferral) consume_Windows_Graphics_Printing_IPrintTaskRequest::GetDeferral() const + template auto consume_Windows_Graphics_Printing_IPrintTaskRequest::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskRequest)->GetDeferral(&deferral)); return winrt::Windows::Graphics::Printing::PrintTaskRequestedDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskRequestedDeferral::Complete() const + template auto consume_Windows_Graphics_Printing_IPrintTaskRequestedDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskRequestedDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskRequest) consume_Windows_Graphics_Printing_IPrintTaskRequestedEventArgs::Request() const + template auto consume_Windows_Graphics_Printing_IPrintTaskRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskRequestedEventArgs)->get_Request(&value)); return winrt::Windows::Graphics::Printing::PrintTaskRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedArgs::Deadline() const + template auto consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedArgs::Deadline() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedArgs)->get_Deadline(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedArgs::SetSource(winrt::Windows::Graphics::Printing::IPrintDocumentSource const& source) const + template auto consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedArgs::SetSource(winrt::Windows::Graphics::Printing::IPrintDocumentSource const& source) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedArgs)->SetSource(*(void**)(&source))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskSourceRequestedDeferral) consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedArgs::GetDeferral() const + template auto consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedArgs::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedArgs)->GetDeferral(&deferral)); return winrt::Windows::Graphics::Printing::PrintTaskSourceRequestedDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedDeferral::Complete() const + template auto consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedDeferral)->Complete()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport::IsPrinterTargetEnabled(bool value) const + template auto consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport::IsPrinterTargetEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskTargetDeviceSupport)->put_IsPrinterTargetEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport::IsPrinterTargetEnabled() const + template auto consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport::IsPrinterTargetEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskTargetDeviceSupport)->get_IsPrinterTargetEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport::Is3DManufacturingTargetEnabled(bool value) const + template auto consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport::Is3DManufacturingTargetEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskTargetDeviceSupport)->put_Is3DManufacturingTargetEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport::Is3DManufacturingTargetEnabled() const + template auto consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport::Is3DManufacturingTargetEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskTargetDeviceSupport)->get_Is3DManufacturingTargetEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::MediaSize() const + template auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::MediaSize() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic)->get_MediaSize(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::MediaType() const + template auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::MediaType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic)->get_MediaType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::Orientation() const + template auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::Orientation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic)->get_Orientation(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::PrintQuality() const + template auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::PrintQuality() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic)->get_PrintQuality(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::ColorMode() const + template auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::ColorMode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic)->get_ColorMode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::Duplex() const + template auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::Duplex() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic)->get_Duplex(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::Collation() const + template auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::Collation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic)->get_Collation(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::Staple() const + template auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::Staple() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic)->get_Staple(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::HolePunch() const + template auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::HolePunch() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic)->get_HolePunch(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::Binding() const + template auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::Binding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic)->get_Binding(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::Copies() const + template auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::Copies() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic)->get_Copies(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::NUp() const + template auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::NUp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic)->get_NUp(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::InputBin() const + template auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic::InputBin() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic)->get_InputBin(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic2::Bordering() const + template auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic2::Bordering() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic2)->get_Bordering(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic3::CustomPageRanges() const + template auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic3::CustomPageRanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic3)->get_CustomPageRanges(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing3D.h b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing3D.h index f5e5af9e..a953e3b2 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing3D.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing3D.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing3D_H #define WINRT_Windows_Graphics_Printing3D_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Graphics.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,837 +15,837 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Graphics.Printing3D.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing3D_IPrint3DManager::TaskRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing3D_IPrint3DManager::TaskRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DManager)->add_TaskRequested(*(void**)(&eventHandler), put_abi(token))); return token; } - template typename consume_Windows_Graphics_Printing3D_IPrint3DManager::TaskRequested_revoker consume_Windows_Graphics_Printing3D_IPrint3DManager::TaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing3D_IPrint3DManager::TaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, TaskRequested(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrint3DManager::TaskRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Graphics_Printing3D_IPrint3DManager::TaskRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DManager)->remove_TaskRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DManager) consume_Windows_Graphics_Printing3D_IPrint3DManagerStatics::GetForCurrentView() const + template auto consume_Windows_Graphics_Printing3D_IPrint3DManagerStatics::GetForCurrentView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DManagerStatics)->GetForCurrentView(&result)); return winrt::Windows::Graphics::Printing3D::Print3DManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Printing3D_IPrint3DManagerStatics::ShowPrintUIAsync() const + template auto consume_Windows_Graphics_Printing3D_IPrint3DManagerStatics::ShowPrintUIAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DManagerStatics)->ShowPrintUIAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage) consume_Windows_Graphics_Printing3D_IPrint3DTask::Source() const + template auto consume_Windows_Graphics_Printing3D_IPrint3DTask::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTask)->get_Source(&value)); return winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing3D_IPrint3DTask::Submitting(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing3D_IPrint3DTask::Submitting(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTask)->add_Submitting(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Graphics_Printing3D_IPrint3DTask::Submitting_revoker consume_Windows_Graphics_Printing3D_IPrint3DTask::Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing3D_IPrint3DTask::Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, Submitting(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrint3DTask::Submitting(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Graphics_Printing3D_IPrint3DTask::Submitting(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTask)->remove_Submitting(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing3D_IPrint3DTask::Completed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing3D_IPrint3DTask::Completed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTask)->add_Completed(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Graphics_Printing3D_IPrint3DTask::Completed_revoker consume_Windows_Graphics_Printing3D_IPrint3DTask::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing3D_IPrint3DTask::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, Completed(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrint3DTask::Completed(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Graphics_Printing3D_IPrint3DTask::Completed(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTask)->remove_Completed(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing3D_IPrint3DTask::SourceChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing3D_IPrint3DTask::SourceChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTask)->add_SourceChanged(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Graphics_Printing3D_IPrint3DTask::SourceChanged_revoker consume_Windows_Graphics_Printing3D_IPrint3DTask::SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Graphics_Printing3D_IPrint3DTask::SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, SourceChanged(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrint3DTask::SourceChanged(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Graphics_Printing3D_IPrint3DTask::SourceChanged(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTask)->remove_SourceChanged(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DTaskCompletion) consume_Windows_Graphics_Printing3D_IPrint3DTaskCompletedEventArgs::Completion() const + template auto consume_Windows_Graphics_Printing3D_IPrint3DTaskCompletedEventArgs::Completion() const { winrt::Windows::Graphics::Printing3D::Print3DTaskCompletion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTaskCompletedEventArgs)->get_Completion(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DTaskDetail) consume_Windows_Graphics_Printing3D_IPrint3DTaskCompletedEventArgs::ExtendedStatus() const + template auto consume_Windows_Graphics_Printing3D_IPrint3DTaskCompletedEventArgs::ExtendedStatus() const { winrt::Windows::Graphics::Printing3D::Print3DTaskDetail value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTaskCompletedEventArgs)->get_ExtendedStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DTask) consume_Windows_Graphics_Printing3D_IPrint3DTaskRequest::CreateTask(param::hstring const& title, param::hstring const& printerId, winrt::Windows::Graphics::Printing3D::Print3DTaskSourceRequestedHandler const& handler) const + template auto consume_Windows_Graphics_Printing3D_IPrint3DTaskRequest::CreateTask(param::hstring const& title, param::hstring const& printerId, winrt::Windows::Graphics::Printing3D::Print3DTaskSourceRequestedHandler const& handler) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTaskRequest)->CreateTask(*(void**)(&title), *(void**)(&printerId), *(void**)(&handler), &result)); return winrt::Windows::Graphics::Printing3D::Print3DTask{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DTaskRequest) consume_Windows_Graphics_Printing3D_IPrint3DTaskRequestedEventArgs::Request() const + template auto consume_Windows_Graphics_Printing3D_IPrint3DTaskRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTaskRequestedEventArgs)->get_Request(&value)); return winrt::Windows::Graphics::Printing3D::Print3DTaskRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage) consume_Windows_Graphics_Printing3D_IPrint3DTaskSourceChangedEventArgs::Source() const + template auto consume_Windows_Graphics_Printing3D_IPrint3DTaskSourceChangedEventArgs::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTaskSourceChangedEventArgs)->get_Source(&value)); return winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrint3DTaskSourceRequestedArgs::SetSource(winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage const& source) const + template auto consume_Windows_Graphics_Printing3D_IPrint3DTaskSourceRequestedArgs::SetSource(winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage const& source) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTaskSourceRequestedArgs)->SetSource(*(void**)(&source))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::SaveAsync() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::SaveAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage)->SaveAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::PrintTicket() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::PrintTicket() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage)->get_PrintTicket(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::PrintTicket(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::PrintTicket(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage)->put_PrintTicket(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::ModelPart() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::ModelPart() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage)->get_ModelPart(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::ModelPart(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::ModelPart(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage)->put_ModelPart(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::Thumbnail() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage)->get_Thumbnail(&value)); return winrt::Windows::Graphics::Printing3D::Printing3DTextureResource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::Thumbnail(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::Thumbnail(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage)->put_Thumbnail(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::Textures() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::Textures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage)->get_Textures(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::LoadModelFromPackageAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::LoadModelFromPackageAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage)->LoadModelFromPackageAsync(*(void**)(&value), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::SaveModelToPackageAsync(winrt::Windows::Graphics::Printing3D::Printing3DModel const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage::SaveModelToPackageAsync(winrt::Windows::Graphics::Printing3D::Printing3DModel const& value) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage)->SaveModelToPackageAsync(*(void**)(&value), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DPackageCompression) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage2::Compression() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage2::Compression() const { winrt::Windows::Graphics::Printing3D::Printing3DPackageCompression value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage2)->get_Compression(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage2::Compression(winrt::Windows::Graphics::Printing3D::Printing3DPackageCompression const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage2::Compression(winrt::Windows::Graphics::Printing3D::Printing3DPackageCompression const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage2)->put_Compression(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackageStatics::LoadAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackageStatics::LoadAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackageStatics)->LoadAsync(*(void**)(&value), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial::Name() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterial)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial::Name(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterial)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DColorMaterial) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial::Color() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial::Color() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterial)->get_Color(&value)); return winrt::Windows::Graphics::Printing3D::Printing3DColorMaterial{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial::Color(winrt::Windows::Graphics::Printing3D::Printing3DColorMaterial const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial::Color(winrt::Windows::Graphics::Printing3D::Printing3DColorMaterial const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterial)->put_Color(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroup::Bases() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroup::Bases() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterialGroup)->get_Bases(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroup::MaterialGroupId() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroup::MaterialGroupId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterialGroup)->get_MaterialGroupId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroupFactory::Create(uint32_t MaterialGroupId) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroupFactory::Create(uint32_t MaterialGroupId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterialGroupFactory)->Create(MaterialGroupId, &result)); return winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialStatics::Abs() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialStatics::Abs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterialStatics)->get_Abs(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialStatics::Pla() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialStatics::Pla() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterialStatics)->get_Pla(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial::Value() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial::Value() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterial)->get_Value(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial::Value(uint32_t value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial::Value(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterial)->put_Value(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial2::Color() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial2::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterial2)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial2::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial2::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterial2)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroup::Colors() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroup::Colors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterialGroup)->get_Colors(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroup::MaterialGroupId() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroup::MaterialGroupId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterialGroup)->get_MaterialGroupId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DColorMaterialGroup) consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroupFactory::Create(uint32_t MaterialGroupId) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroupFactory::Create(uint32_t MaterialGroupId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterialGroupFactory)->Create(MaterialGroupId, &result)); return winrt::Windows::Graphics::Printing3D::Printing3DColorMaterialGroup{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DMesh) consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Mesh() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Mesh() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->get_Mesh(&value)); return winrt::Windows::Graphics::Printing3D::Printing3DMesh{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Mesh(winrt::Windows::Graphics::Printing3D::Printing3DMesh const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Mesh(winrt::Windows::Graphics::Printing3D::Printing3DMesh const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->put_Mesh(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Components() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Components() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->get_Components(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource) consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Thumbnail() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->get_Thumbnail(&value)); return winrt::Windows::Graphics::Printing3D::Printing3DTextureResource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Thumbnail(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Thumbnail(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->put_Thumbnail(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DObjectType) consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Type() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Type() const { winrt::Windows::Graphics::Printing3D::Printing3DObjectType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Type(winrt::Windows::Graphics::Printing3D::Printing3DObjectType const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Type(winrt::Windows::Graphics::Printing3D::Printing3DObjectType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->put_Type(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Name() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Name(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing3D_IPrinting3DComponent::PartNumber() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent::PartNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->get_PartNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DComponent::PartNumber(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent::PartNumber(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->put_PartNumber(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DComponent) consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix::Component() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix::Component() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponentWithMatrix)->get_Component(&value)); return winrt::Windows::Graphics::Printing3D::Printing3DComponent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix::Component(winrt::Windows::Graphics::Printing3D::Printing3DComponent const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix::Component(winrt::Windows::Graphics::Printing3D::Printing3DComponent const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponentWithMatrix)->put_Component(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix::Matrix() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix::Matrix() const { winrt::Windows::Foundation::Numerics::float4x4 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponentWithMatrix)->get_Matrix(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix::Matrix(winrt::Windows::Foundation::Numerics::float4x4 const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix::Matrix(winrt::Windows::Foundation::Numerics::float4x4 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponentWithMatrix)->put_Matrix(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterial::Values() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterial::Values() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterial)->get_Values(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup::Composites() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup::Composites() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterialGroup)->get_Composites(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup::MaterialGroupId() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup::MaterialGroupId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterialGroup)->get_MaterialGroupId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup::MaterialIndices() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup::MaterialIndices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterialGroup)->get_MaterialIndices(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup) consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup2::BaseMaterialGroup() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup2::BaseMaterialGroup() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterialGroup2)->get_BaseMaterialGroup(&value)); return winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup2::BaseMaterialGroup(winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup2::BaseMaterialGroup(winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterialGroup2)->put_BaseMaterialGroup(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DCompositeMaterialGroup) consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroupFactory::Create(uint32_t MaterialGroupId) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroupFactory::Create(uint32_t MaterialGroupId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterialGroupFactory)->Create(MaterialGroupId, &result)); return winrt::Windows::Graphics::Printing3D::Printing3DCompositeMaterialGroup{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions::MaxReductionArea() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions::MaxReductionArea() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DFaceReductionOptions)->get_MaxReductionArea(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions::MaxReductionArea(double value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions::MaxReductionArea(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DFaceReductionOptions)->put_MaxReductionArea(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions::TargetTriangleCount() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions::TargetTriangleCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DFaceReductionOptions)->get_TargetTriangleCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions::TargetTriangleCount(uint32_t value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions::TargetTriangleCount(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DFaceReductionOptions)->put_TargetTriangleCount(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions::MaxEdgeLength() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions::MaxEdgeLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DFaceReductionOptions)->get_MaxEdgeLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions::MaxEdgeLength(double value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions::MaxEdgeLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DFaceReductionOptions)->put_MaxEdgeLength(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DMaterial::BaseGroups() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMaterial::BaseGroups() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMaterial)->get_BaseGroups(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DMaterial::ColorGroups() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMaterial::ColorGroups() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMaterial)->get_ColorGroups(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DMaterial::Texture2CoordGroups() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMaterial::Texture2CoordGroups() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMaterial)->get_Texture2CoordGroups(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DMaterial::CompositeGroups() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMaterial::CompositeGroups() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMaterial)->get_CompositeGroups(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DMaterial::MultiplePropertyGroups() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMaterial::MultiplePropertyGroups() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMaterial)->get_MultiplePropertyGroups(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::VertexCount() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::VertexCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->get_VertexCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::VertexCount(uint32_t value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::VertexCount(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->put_VertexCount(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::IndexCount() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::IndexCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->get_IndexCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::IndexCount(uint32_t value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::IndexCount(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->put_IndexCount(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::VertexPositionsDescription() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::VertexPositionsDescription() const { winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->get_VertexPositionsDescription(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::VertexPositionsDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::VertexPositionsDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->put_VertexPositionsDescription(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::VertexNormalsDescription() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::VertexNormalsDescription() const { winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->get_VertexNormalsDescription(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::VertexNormalsDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::VertexNormalsDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->put_VertexNormalsDescription(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::TriangleIndicesDescription() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::TriangleIndicesDescription() const { winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->get_TriangleIndicesDescription(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::TriangleIndicesDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::TriangleIndicesDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->put_TriangleIndicesDescription(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::TriangleMaterialIndicesDescription() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::TriangleMaterialIndicesDescription() const { winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->get_TriangleMaterialIndicesDescription(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::TriangleMaterialIndicesDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::TriangleMaterialIndicesDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->put_TriangleMaterialIndicesDescription(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::GetVertexPositions() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::GetVertexPositions() const { void* buffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->GetVertexPositions(&buffer)); return winrt::Windows::Storage::Streams::IBuffer{ buffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::CreateVertexPositions(uint32_t value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::CreateVertexPositions(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->CreateVertexPositions(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::GetVertexNormals() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::GetVertexNormals() const { void* buffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->GetVertexNormals(&buffer)); return winrt::Windows::Storage::Streams::IBuffer{ buffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::CreateVertexNormals(uint32_t value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::CreateVertexNormals(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->CreateVertexNormals(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::GetTriangleIndices() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::GetTriangleIndices() const { void* buffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->GetTriangleIndices(&buffer)); return winrt::Windows::Storage::Streams::IBuffer{ buffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::CreateTriangleIndices(uint32_t value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::CreateTriangleIndices(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->CreateTriangleIndices(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::GetTriangleMaterialIndices() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::GetTriangleMaterialIndices() const { void* buffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->GetTriangleMaterialIndices(&buffer)); return winrt::Windows::Storage::Streams::IBuffer{ buffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::CreateTriangleMaterialIndices(uint32_t value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::CreateTriangleMaterialIndices(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->CreateTriangleMaterialIndices(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::BufferDescriptionSet() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::BufferDescriptionSet() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->get_BufferDescriptionSet(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::BufferSet() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::BufferSet() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->get_BufferSet(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Printing3D_IPrinting3DMesh::VerifyAsync(winrt::Windows::Graphics::Printing3D::Printing3DMeshVerificationMode const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh::VerifyAsync(winrt::Windows::Graphics::Printing3D::Printing3DMeshVerificationMode const& value) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->VerifyAsync(static_cast(value), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing3D_IPrinting3DMeshVerificationResult::IsValid() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMeshVerificationResult::IsValid() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMeshVerificationResult)->get_IsValid(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Printing3D_IPrinting3DMeshVerificationResult::NonmanifoldTriangles() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMeshVerificationResult::NonmanifoldTriangles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMeshVerificationResult)->get_NonmanifoldTriangles(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Printing3D_IPrinting3DMeshVerificationResult::ReversedNormalTriangles() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMeshVerificationResult::ReversedNormalTriangles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMeshVerificationResult)->get_ReversedNormalTriangles(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DModelUnit) consume_Windows_Graphics_Printing3D_IPrinting3DModel::Unit() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel::Unit() const { winrt::Windows::Graphics::Printing3D::Printing3DModelUnit value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->get_Unit(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DModel::Unit(winrt::Windows::Graphics::Printing3D::Printing3DModelUnit const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel::Unit(winrt::Windows::Graphics::Printing3D::Printing3DModelUnit const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->put_Unit(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DModel::Textures() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel::Textures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->get_Textures(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DModel::Meshes() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel::Meshes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->get_Meshes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DModel::Components() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel::Components() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->get_Components(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DMaterial) consume_Windows_Graphics_Printing3D_IPrinting3DModel::Material() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel::Material() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->get_Material(&value)); return winrt::Windows::Graphics::Printing3D::Printing3DMaterial{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DModel::Material(winrt::Windows::Graphics::Printing3D::Printing3DMaterial const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel::Material(winrt::Windows::Graphics::Printing3D::Printing3DMaterial const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->put_Material(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DComponent) consume_Windows_Graphics_Printing3D_IPrinting3DModel::Build() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel::Build() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->get_Build(&value)); return winrt::Windows::Graphics::Printing3D::Printing3DComponent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DModel::Build(winrt::Windows::Graphics::Printing3D::Printing3DComponent const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel::Build(winrt::Windows::Graphics::Printing3D::Printing3DComponent const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->put_Build(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing3D_IPrinting3DModel::Version() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel::Version() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->get_Version(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DModel::Version(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel::Version(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->put_Version(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DModel::RequiredExtensions() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel::RequiredExtensions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->get_RequiredExtensions(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Graphics_Printing3D_IPrinting3DModel::Metadata() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel::Metadata() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->get_Metadata(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Graphics_Printing3D_IPrinting3DModel::RepairAsync() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel::RepairAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->RepairAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DModel) consume_Windows_Graphics_Printing3D_IPrinting3DModel::Clone() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel::Clone() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->Clone(&value)); return winrt::Windows::Graphics::Printing3D::Printing3DModel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Printing3D_IPrinting3DModel2::TryPartialRepairAsync() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel2::TryPartialRepairAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel2)->TryPartialRepairAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Printing3D_IPrinting3DModel2::TryPartialRepairAsync(winrt::Windows::Foundation::TimeSpan const& maxWaitTime) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel2::TryPartialRepairAsync(winrt::Windows::Foundation::TimeSpan const& maxWaitTime) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel2)->TryPartialRepairWithTimeAsync(impl::bind_in(maxWaitTime), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Graphics_Printing3D_IPrinting3DModel2::TryReduceFacesAsync() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel2::TryReduceFacesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel2)->TryReduceFacesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Graphics_Printing3D_IPrinting3DModel2::TryReduceFacesAsync(winrt::Windows::Graphics::Printing3D::Printing3DFaceReductionOptions const& printing3DFaceReductionOptions) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel2::TryReduceFacesAsync(winrt::Windows::Graphics::Printing3D::Printing3DFaceReductionOptions const& printing3DFaceReductionOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel2)->TryReduceFacesWithOptionsAsync(*(void**)(&printing3DFaceReductionOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Graphics_Printing3D_IPrinting3DModel2::TryReduceFacesAsync(winrt::Windows::Graphics::Printing3D::Printing3DFaceReductionOptions const& printing3DFaceReductionOptions, winrt::Windows::Foundation::TimeSpan const& maxWait) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel2::TryReduceFacesAsync(winrt::Windows::Graphics::Printing3D::Printing3DFaceReductionOptions const& printing3DFaceReductionOptions, winrt::Windows::Foundation::TimeSpan const& maxWait) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel2)->TryReduceFacesWithOptionsAndTimeAsync(*(void**)(&printing3DFaceReductionOptions), impl::bind_in(maxWait), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Graphics_Printing3D_IPrinting3DModel2::RepairWithProgressAsync() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModel2::RepairWithProgressAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel2)->RepairWithProgressAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource) consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture::TextureResource() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture::TextureResource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModelTexture)->get_TextureResource(&value)); return winrt::Windows::Graphics::Printing3D::Printing3DTextureResource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture::TextureResource(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture::TextureResource(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModelTexture)->put_TextureResource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior) consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture::TileStyleU() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture::TileStyleU() const { winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModelTexture)->get_TileStyleU(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture::TileStyleU(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture::TileStyleU(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModelTexture)->put_TileStyleU(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior) consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture::TileStyleV() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture::TileStyleV() const { winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModelTexture)->get_TileStyleV(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture::TileStyleV(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture::TileStyleV(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModelTexture)->put_TileStyleV(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterial::MaterialIndices() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterial::MaterialIndices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterial)->get_MaterialIndices(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroup::MultipleProperties() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroup::MultipleProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterialGroup)->get_MultipleProperties(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroup::MaterialGroupIndices() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroup::MaterialGroupIndices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterialGroup)->get_MaterialGroupIndices(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroup::MaterialGroupId() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroup::MaterialGroupId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterialGroup)->get_MaterialGroupId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DMultiplePropertyMaterialGroup) consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroupFactory::Create(uint32_t MaterialGroupId) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroupFactory::Create(uint32_t MaterialGroupId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterialGroupFactory)->Create(MaterialGroupId, &result)); return winrt::Windows::Graphics::Printing3D::Printing3DMultiplePropertyMaterialGroup{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial::Texture() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial::Texture() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterial)->get_Texture(&value)); return winrt::Windows::Graphics::Printing3D::Printing3DModelTexture{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial::Texture(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial::Texture(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterial)->put_Texture(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial::U() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial::U() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterial)->get_U(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial::U(double value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial::U(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterial)->put_U(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial::V() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial::V() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterial)->get_V(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial::V(double value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial::V(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterial)->put_V(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup::Texture2Coords() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup::Texture2Coords() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterialGroup)->get_Texture2Coords(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup::MaterialGroupId() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup::MaterialGroupId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterialGroup)->get_MaterialGroupId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup2::Texture() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup2::Texture() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterialGroup2)->get_Texture(&value)); return winrt::Windows::Graphics::Printing3D::Printing3DModelTexture{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup2::Texture(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup2::Texture(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterialGroup2)->put_Texture(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTexture2CoordMaterialGroup) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroupFactory::Create(uint32_t MaterialGroupId) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroupFactory::Create(uint32_t MaterialGroupId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterialGroupFactory)->Create(MaterialGroupId, &result)); return winrt::Windows::Graphics::Printing3D::Printing3DTexture2CoordMaterialGroup{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource::TextureData() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource::TextureData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTextureResource)->get_TextureData(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource::TextureData(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource::TextureData(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTextureResource)->put_TextureData(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource::Name() const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTextureResource)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource::Name(param::hstring const& value) const + template auto consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTextureResource)->put_Name(*(void**)(&value))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.h b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.h index 26ca2ec3..8209cc17 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_H #define WINRT_Windows_Graphics_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Graphics.2.h" namespace winrt::impl { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Management.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.Management.Core.h index f37fe0b1..9f5f38c0 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Management.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Management.Core.h @@ -1,17 +1,17 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Core_H #define WINRT_Windows_Management_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Management.h" #include "winrt/impl/Windows.Storage.2.h" #include "winrt/impl/Windows.Management.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationData) consume_Windows_Management_Core_IApplicationDataManagerStatics::CreateForPackageFamily(param::hstring const& packageFamilyName) const + template auto consume_Windows_Management_Core_IApplicationDataManagerStatics::CreateForPackageFamily(param::hstring const& packageFamilyName) const { void* applicationData{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Core::IApplicationDataManagerStatics)->CreateForPackageFamily(*(void**)(&packageFamilyName), &applicationData)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Management.Deployment.Preview.h b/internal/platform/implementation/windows/generated/winrt/Windows.Management.Deployment.Preview.h index 20a070a2..15723cda 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Management.Deployment.Preview.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Management.Deployment.Preview.h @@ -1,28 +1,28 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Deployment_Preview_H #define WINRT_Windows_Management_Deployment_Preview_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Management.Deployment.h" #include "winrt/impl/Windows.Management.Deployment.Preview.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::Preview::InstalledClassicAppInfo) consume_Windows_Management_Deployment_Preview_IClassicAppManagerStatics::FindInstalledApp(param::hstring const& appUninstallKey) const + template auto consume_Windows_Management_Deployment_Preview_IClassicAppManagerStatics::FindInstalledApp(param::hstring const& appUninstallKey) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::Preview::IClassicAppManagerStatics)->FindInstalledApp(*(void**)(&appUninstallKey), &result)); return winrt::Windows::Management::Deployment::Preview::InstalledClassicAppInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Deployment_Preview_IInstalledClassicAppInfo::DisplayName() const + template auto consume_Windows_Management_Deployment_Preview_IInstalledClassicAppInfo::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::Preview::IInstalledClassicAppInfo)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Deployment_Preview_IInstalledClassicAppInfo::DisplayVersion() const + template auto consume_Windows_Management_Deployment_Preview_IInstalledClassicAppInfo::DisplayVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::Preview::IInstalledClassicAppInfo)->get_DisplayVersion(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Management.Deployment.h b/internal/platform/implementation/windows/generated/winrt/Windows.Management.Deployment.h index b6132273..edcc55bd 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Management.Deployment.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Management.Deployment.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Deployment_H #define WINRT_Windows_Management_Deployment_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Management.h" #include "winrt/impl/Windows.ApplicationModel.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,925 +13,925 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Management.Deployment.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IAddPackageOptions::DependencyPackageUris() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::DependencyPackageUris() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_DependencyPackageUris(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) consume_Windows_Management_Deployment_IAddPackageOptions::TargetVolume() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::TargetVolume() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_TargetVolume(&value)); return winrt::Windows::Management::Deployment::PackageVolume{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions::TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_TargetVolume(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IAddPackageOptions::OptionalPackageFamilyNames() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::OptionalPackageFamilyNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_OptionalPackageFamilyNames(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IAddPackageOptions::OptionalPackageUris() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::OptionalPackageUris() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_OptionalPackageUris(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IAddPackageOptions::RelatedPackageUris() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::RelatedPackageUris() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_RelatedPackageUris(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Management_Deployment_IAddPackageOptions::ExternalLocationUri() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::ExternalLocationUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_ExternalLocationUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions::ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_ExternalLocationUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::StubPackageOption) consume_Windows_Management_Deployment_IAddPackageOptions::StubPackageOption() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::StubPackageOption() const { winrt::Windows::Management::Deployment::StubPackageOption value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_StubPackageOption(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions::StubPackageOption(winrt::Windows::Management::Deployment::StubPackageOption const& value) const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::StubPackageOption(winrt::Windows::Management::Deployment::StubPackageOption const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_StubPackageOption(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions::DeveloperMode() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::DeveloperMode() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_DeveloperMode(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions::DeveloperMode(bool value) const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::DeveloperMode(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_DeveloperMode(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions::ForceAppShutdown() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::ForceAppShutdown() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_ForceAppShutdown(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions::ForceAppShutdown(bool value) const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::ForceAppShutdown(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_ForceAppShutdown(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions::ForceTargetAppShutdown() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::ForceTargetAppShutdown() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_ForceTargetAppShutdown(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions::ForceTargetAppShutdown(bool value) const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::ForceTargetAppShutdown(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_ForceTargetAppShutdown(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions::ForceUpdateFromAnyVersion() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::ForceUpdateFromAnyVersion() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_ForceUpdateFromAnyVersion(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions::ForceUpdateFromAnyVersion(bool value) const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::ForceUpdateFromAnyVersion(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_ForceUpdateFromAnyVersion(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions::InstallAllResources() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::InstallAllResources() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_InstallAllResources(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions::InstallAllResources(bool value) const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::InstallAllResources(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_InstallAllResources(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions::RequiredContentGroupOnly() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::RequiredContentGroupOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_RequiredContentGroupOnly(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions::RequiredContentGroupOnly(bool value) const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::RequiredContentGroupOnly(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_RequiredContentGroupOnly(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions::RetainFilesOnFailure() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::RetainFilesOnFailure() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_RetainFilesOnFailure(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions::RetainFilesOnFailure(bool value) const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::RetainFilesOnFailure(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_RetainFilesOnFailure(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions::StageInPlace() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::StageInPlace() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_StageInPlace(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions::StageInPlace(bool value) const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::StageInPlace(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_StageInPlace(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions::AllowUnsigned() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::AllowUnsigned() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_AllowUnsigned(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions::AllowUnsigned(bool value) const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::AllowUnsigned(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_AllowUnsigned(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions::DeferRegistrationWhenPackagesAreInUse() const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::DeferRegistrationWhenPackagesAreInUse() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_DeferRegistrationWhenPackagesAreInUse(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions::DeferRegistrationWhenPackagesAreInUse(bool value) const + template auto consume_Windows_Management_Deployment_IAddPackageOptions::DeferRegistrationWhenPackagesAreInUse(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_DeferRegistrationWhenPackagesAreInUse(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Deployment_IDeploymentResult::ErrorText() const + template auto consume_Windows_Management_Deployment_IDeploymentResult::ErrorText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IDeploymentResult)->get_ErrorText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Management_Deployment_IDeploymentResult::ActivityId() const + template auto consume_Windows_Management_Deployment_IDeploymentResult::ActivityId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IDeploymentResult)->get_ActivityId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Management_Deployment_IDeploymentResult::ExtendedErrorCode() const + template auto consume_Windows_Management_Deployment_IDeploymentResult::ExtendedErrorCode() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IDeploymentResult)->get_ExtendedErrorCode(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IDeploymentResult2::IsRegistered() const + template auto consume_Windows_Management_Deployment_IDeploymentResult2::IsRegistered() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IDeploymentResult2)->get_IsRegistered(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager::AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const + template auto consume_Windows_Management_Deployment_IPackageManager::AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->AddPackageAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast(deploymentOptions), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager::UpdatePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const + template auto consume_Windows_Management_Deployment_IPackageManager::UpdatePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->UpdatePackageAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast(deploymentOptions), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager::RemovePackageAsync(param::hstring const& packageFullName) const + template auto consume_Windows_Management_Deployment_IPackageManager::RemovePackageAsync(param::hstring const& packageFullName) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->RemovePackageAsync(*(void**)(&packageFullName), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris) const + template auto consume_Windows_Management_Deployment_IPackageManager::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->StagePackageAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager::RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const + template auto consume_Windows_Management_Deployment_IPackageManager::RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->RegisterPackageAsync(*(void**)(&manifestUri), *(void**)(&dependencyPackageUris), static_cast(deploymentOptions), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Management_Deployment_IPackageManager::FindPackages() const + template auto consume_Windows_Management_Deployment_IPackageManager::FindPackages() const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->FindPackages(&packageCollection)); return winrt::Windows::Foundation::Collections::IIterable{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Management_Deployment_IPackageManager::FindPackagesForUser(param::hstring const& userSecurityId) const + template auto consume_Windows_Management_Deployment_IPackageManager::FindPackagesForUser(param::hstring const& userSecurityId) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->FindPackagesByUserSecurityId(*(void**)(&userSecurityId), &packageCollection)); return winrt::Windows::Foundation::Collections::IIterable{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Management_Deployment_IPackageManager::FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const + template auto consume_Windows_Management_Deployment_IPackageManager::FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->FindPackagesByNamePublisher(*(void**)(&packageName), *(void**)(&packagePublisher), &packageCollection)); return winrt::Windows::Foundation::Collections::IIterable{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Management_Deployment_IPackageManager::FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher) const + template auto consume_Windows_Management_Deployment_IPackageManager::FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->FindPackagesByUserSecurityIdNamePublisher(*(void**)(&userSecurityId), *(void**)(&packageName), *(void**)(&packagePublisher), &packageCollection)); return winrt::Windows::Foundation::Collections::IIterable{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Management_Deployment_IPackageManager::FindUsers(param::hstring const& packageFullName) const + template auto consume_Windows_Management_Deployment_IPackageManager::FindUsers(param::hstring const& packageFullName) const { void* users{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->FindUsers(*(void**)(&packageFullName), &users)); return winrt::Windows::Foundation::Collections::IIterable{ users, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IPackageManager::SetPackageState(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageState const& packageState) const + template auto consume_Windows_Management_Deployment_IPackageManager::SetPackageState(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageState const& packageState) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->SetPackageState(*(void**)(&packageFullName), static_cast(packageState))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_Management_Deployment_IPackageManager::FindPackage(param::hstring const& packageFullName) const + template auto consume_Windows_Management_Deployment_IPackageManager::FindPackage(param::hstring const& packageFullName) const { void* packageInformation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->FindPackageByPackageFullName(*(void**)(&packageFullName), &packageInformation)); return winrt::Windows::ApplicationModel::Package{ packageInformation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager::CleanupPackageForUserAsync(param::hstring const& packageName, param::hstring const& userSecurityId) const + template auto consume_Windows_Management_Deployment_IPackageManager::CleanupPackageForUserAsync(param::hstring const& packageName, param::hstring const& userSecurityId) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->CleanupPackageForUserAsync(*(void**)(&packageName), *(void**)(&userSecurityId), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Management_Deployment_IPackageManager::FindPackages(param::hstring const& packageFamilyName) const + template auto consume_Windows_Management_Deployment_IPackageManager::FindPackages(param::hstring const& packageFamilyName) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->FindPackagesByPackageFamilyName(*(void**)(&packageFamilyName), &packageCollection)); return winrt::Windows::Foundation::Collections::IIterable{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Management_Deployment_IPackageManager::FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageFamilyName) const + template auto consume_Windows_Management_Deployment_IPackageManager::FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageFamilyName) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->FindPackagesByUserSecurityIdPackageFamilyName(*(void**)(&userSecurityId), *(void**)(&packageFamilyName), &packageCollection)); return winrt::Windows::Foundation::Collections::IIterable{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_Management_Deployment_IPackageManager::FindPackageForUser(param::hstring const& userSecurityId, param::hstring const& packageFullName) const + template auto consume_Windows_Management_Deployment_IPackageManager::FindPackageForUser(param::hstring const& userSecurityId, param::hstring const& packageFullName) const { void* packageInformation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->FindPackageByUserSecurityIdPackageFullName(*(void**)(&userSecurityId), *(void**)(&packageFullName), &packageInformation)); return winrt::Windows::ApplicationModel::Package{ packageInformation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager2::RemovePackageAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::RemovalOptions const& removalOptions) const + template auto consume_Windows_Management_Deployment_IPackageManager2::RemovePackageAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::RemovalOptions const& removalOptions) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager2)->RemovePackageWithOptionsAsync(*(void**)(&packageFullName), static_cast(removalOptions), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager2::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const + template auto consume_Windows_Management_Deployment_IPackageManager2::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager2)->StagePackageWithOptionsAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast(deploymentOptions), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager2::RegisterPackageByFullNameAsync(param::hstring const& mainPackageFullName, param::async_iterable const& dependencyPackageFullNames, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const + template auto consume_Windows_Management_Deployment_IPackageManager2::RegisterPackageByFullNameAsync(param::hstring const& mainPackageFullName, param::async_iterable const& dependencyPackageFullNames, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager2)->RegisterPackageByFullNameAsync(*(void**)(&mainPackageFullName), *(void**)(&dependencyPackageFullNames), static_cast(deploymentOptions), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Management_Deployment_IPackageManager2::FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const + template auto consume_Windows_Management_Deployment_IPackageManager2::FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager2)->FindPackagesWithPackageTypes(static_cast(packageTypes), &packageCollection)); return winrt::Windows::Foundation::Collections::IIterable{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Management_Deployment_IPackageManager2::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const + template auto consume_Windows_Management_Deployment_IPackageManager2::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager2)->FindPackagesByUserSecurityIdWithPackageTypes(*(void**)(&userSecurityId), static_cast(packageTypes), &packageCollection)); return winrt::Windows::Foundation::Collections::IIterable{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Management_Deployment_IPackageManager2::FindPackagesWithPackageTypes(param::hstring const& packageName, param::hstring const& packagePublisher, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const + template auto consume_Windows_Management_Deployment_IPackageManager2::FindPackagesWithPackageTypes(param::hstring const& packageName, param::hstring const& packagePublisher, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager2)->FindPackagesByNamePublisherWithPackageTypes(*(void**)(&packageName), *(void**)(&packagePublisher), static_cast(packageTypes), &packageCollection)); return winrt::Windows::Foundation::Collections::IIterable{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Management_Deployment_IPackageManager2::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const + template auto consume_Windows_Management_Deployment_IPackageManager2::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager2)->FindPackagesByUserSecurityIdNamePublisherWithPackageTypes(*(void**)(&userSecurityId), *(void**)(&packageName), *(void**)(&packagePublisher), static_cast(packageTypes), &packageCollection)); return winrt::Windows::Foundation::Collections::IIterable{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Management_Deployment_IPackageManager2::FindPackagesWithPackageTypes(param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const + template auto consume_Windows_Management_Deployment_IPackageManager2::FindPackagesWithPackageTypes(param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager2)->FindPackagesByPackageFamilyNameWithPackageTypes(*(void**)(&packageFamilyName), static_cast(packageTypes), &packageCollection)); return winrt::Windows::Foundation::Collections::IIterable{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Management_Deployment_IPackageManager2::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const + template auto consume_Windows_Management_Deployment_IPackageManager2::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager2)->FindPackagesByUserSecurityIdPackageFamilyNameWithPackageTypes(*(void**)(&userSecurityId), *(void**)(&packageFamilyName), static_cast(packageTypes), &packageCollection)); return winrt::Windows::Foundation::Collections::IIterable{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager2::StageUserDataAsync(param::hstring const& packageFullName) const + template auto consume_Windows_Management_Deployment_IPackageManager2::StageUserDataAsync(param::hstring const& packageFullName) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager2)->StageUserDataAsync(*(void**)(&packageFullName), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Management_Deployment_IPackageManager3::AddPackageVolumeAsync(param::hstring const& packageStorePath) const + template auto consume_Windows_Management_Deployment_IPackageManager3::AddPackageVolumeAsync(param::hstring const& packageStorePath) const { void* packageVolume{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->AddPackageVolumeAsync(*(void**)(&packageStorePath), &packageVolume)); return winrt::Windows::Foundation::IAsyncOperation{ packageVolume, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager3::AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const + template auto consume_Windows_Management_Deployment_IPackageManager3::AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->AddPackageToVolumeAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast(deploymentOptions), *(void**)(&targetVolume), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IPackageManager3::ClearPackageStatus(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageStatus const& status) const + template auto consume_Windows_Management_Deployment_IPackageManager3::ClearPackageStatus(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageStatus const& status) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->ClearPackageStatus(*(void**)(&packageFullName), static_cast(status))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager3::RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& appDataVolume) const + template auto consume_Windows_Management_Deployment_IPackageManager3::RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& appDataVolume) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->RegisterPackageWithAppDataVolumeAsync(*(void**)(&manifestUri), *(void**)(&dependencyPackageUris), static_cast(deploymentOptions), *(void**)(&appDataVolume), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) consume_Windows_Management_Deployment_IPackageManager3::FindPackageVolume(param::hstring const& volumeName) const + template auto consume_Windows_Management_Deployment_IPackageManager3::FindPackageVolume(param::hstring const& volumeName) const { void* volume{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->FindPackageVolumeByName(*(void**)(&volumeName), &volume)); return winrt::Windows::Management::Deployment::PackageVolume{ volume, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Management_Deployment_IPackageManager3::FindPackageVolumes() const + template auto consume_Windows_Management_Deployment_IPackageManager3::FindPackageVolumes() const { void* volumeCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->FindPackageVolumes(&volumeCollection)); return winrt::Windows::Foundation::Collections::IIterable{ volumeCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) consume_Windows_Management_Deployment_IPackageManager3::GetDefaultPackageVolume() const + template auto consume_Windows_Management_Deployment_IPackageManager3::GetDefaultPackageVolume() const { void* volume{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->GetDefaultPackageVolume(&volume)); return winrt::Windows::Management::Deployment::PackageVolume{ volume, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager3::MovePackageToVolumeAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const + template auto consume_Windows_Management_Deployment_IPackageManager3::MovePackageToVolumeAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->MovePackageToVolumeAsync(*(void**)(&packageFullName), static_cast(deploymentOptions), *(void**)(&targetVolume), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager3::RemovePackageVolumeAsync(winrt::Windows::Management::Deployment::PackageVolume const& volume) const + template auto consume_Windows_Management_Deployment_IPackageManager3::RemovePackageVolumeAsync(winrt::Windows::Management::Deployment::PackageVolume const& volume) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->RemovePackageVolumeAsync(*(void**)(&volume), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IPackageManager3::SetDefaultPackageVolume(winrt::Windows::Management::Deployment::PackageVolume const& volume) const + template auto consume_Windows_Management_Deployment_IPackageManager3::SetDefaultPackageVolume(winrt::Windows::Management::Deployment::PackageVolume const& volume) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->SetDefaultPackageVolume(*(void**)(&volume))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IPackageManager3::SetPackageStatus(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageStatus const& status) const + template auto consume_Windows_Management_Deployment_IPackageManager3::SetPackageStatus(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageStatus const& status) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->SetPackageStatus(*(void**)(&packageFullName), static_cast(status))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager3::SetPackageVolumeOfflineAsync(winrt::Windows::Management::Deployment::PackageVolume const& packageVolume) const + template auto consume_Windows_Management_Deployment_IPackageManager3::SetPackageVolumeOfflineAsync(winrt::Windows::Management::Deployment::PackageVolume const& packageVolume) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->SetPackageVolumeOfflineAsync(*(void**)(&packageVolume), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager3::SetPackageVolumeOnlineAsync(winrt::Windows::Management::Deployment::PackageVolume const& packageVolume) const + template auto consume_Windows_Management_Deployment_IPackageManager3::SetPackageVolumeOnlineAsync(winrt::Windows::Management::Deployment::PackageVolume const& packageVolume) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->SetPackageVolumeOnlineAsync(*(void**)(&packageVolume), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager3::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const + template auto consume_Windows_Management_Deployment_IPackageManager3::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->StagePackageToVolumeAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast(deploymentOptions), *(void**)(&targetVolume), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager3::StageUserDataAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const + template auto consume_Windows_Management_Deployment_IPackageManager3::StageUserDataAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->StageUserDataWithOptionsAsync(*(void**)(&packageFullName), static_cast(deploymentOptions), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Management_Deployment_IPackageManager4::GetPackageVolumesAsync() const + template auto consume_Windows_Management_Deployment_IPackageManager4::GetPackageVolumesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager4)->GetPackageVolumesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager5::AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& externalPackageUris) const + template auto consume_Windows_Management_Deployment_IPackageManager5::AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& externalPackageUris) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager5)->AddPackageToVolumeAndOptionalPackagesAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast(deploymentOptions), *(void**)(&targetVolume), *(void**)(&optionalPackageFamilyNames), *(void**)(&externalPackageUris), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager5::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& externalPackageUris) const + template auto consume_Windows_Management_Deployment_IPackageManager5::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& externalPackageUris) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager5)->StagePackageToVolumeAndOptionalPackagesAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast(deploymentOptions), *(void**)(&targetVolume), *(void**)(&optionalPackageFamilyNames), *(void**)(&externalPackageUris), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager5::RegisterPackageByFamilyNameAsync(param::hstring const& mainPackageFamilyName, param::async_iterable const& dependencyPackageFamilyNames, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& appDataVolume, param::async_iterable const& optionalPackageFamilyNames) const + template auto consume_Windows_Management_Deployment_IPackageManager5::RegisterPackageByFamilyNameAsync(param::hstring const& mainPackageFamilyName, param::async_iterable const& dependencyPackageFamilyNames, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& appDataVolume, param::async_iterable const& optionalPackageFamilyNames) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager5)->RegisterPackageByFamilyNameAndOptionalPackagesAsync(*(void**)(&mainPackageFamilyName), *(void**)(&dependencyPackageFamilyNames), static_cast(deploymentOptions), *(void**)(&appDataVolume), *(void**)(&optionalPackageFamilyNames), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageManagerDebugSettings) consume_Windows_Management_Deployment_IPackageManager5::DebugSettings() const + template auto consume_Windows_Management_Deployment_IPackageManager5::DebugSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager5)->get_DebugSettings(&value)); return winrt::Windows::Management::Deployment::PackageManagerDebugSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager6::ProvisionPackageForAllUsersAsync(param::hstring const& packageFamilyName) const + template auto consume_Windows_Management_Deployment_IPackageManager6::ProvisionPackageForAllUsersAsync(param::hstring const& packageFamilyName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager6)->ProvisionPackageForAllUsersAsync(*(void**)(&packageFamilyName), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager6::AddPackageByAppInstallerFileAsync(winrt::Windows::Foundation::Uri const& appInstallerFileUri, winrt::Windows::Management::Deployment::AddPackageByAppInstallerOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const + template auto consume_Windows_Management_Deployment_IPackageManager6::AddPackageByAppInstallerFileAsync(winrt::Windows::Foundation::Uri const& appInstallerFileUri, winrt::Windows::Management::Deployment::AddPackageByAppInstallerOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager6)->AddPackageByAppInstallerFileAsync(*(void**)(&appInstallerFileUri), static_cast(options), *(void**)(&targetVolume), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager6::RequestAddPackageByAppInstallerFileAsync(winrt::Windows::Foundation::Uri const& appInstallerFileUri, winrt::Windows::Management::Deployment::AddPackageByAppInstallerOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const + template auto consume_Windows_Management_Deployment_IPackageManager6::RequestAddPackageByAppInstallerFileAsync(winrt::Windows::Foundation::Uri const& appInstallerFileUri, winrt::Windows::Management::Deployment::AddPackageByAppInstallerOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager6)->RequestAddPackageByAppInstallerFileAsync(*(void**)(&appInstallerFileUri), static_cast(options), *(void**)(&targetVolume), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager6::AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& packageUrisToInstall, param::async_iterable const& relatedPackageUris) const + template auto consume_Windows_Management_Deployment_IPackageManager6::AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& packageUrisToInstall, param::async_iterable const& relatedPackageUris) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager6)->AddPackageToVolumeAndRelatedSetAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast(options), *(void**)(&targetVolume), *(void**)(&optionalPackageFamilyNames), *(void**)(&packageUrisToInstall), *(void**)(&relatedPackageUris), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager6::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& packageUrisToInstall, param::async_iterable const& relatedPackageUris) const + template auto consume_Windows_Management_Deployment_IPackageManager6::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& packageUrisToInstall, param::async_iterable const& relatedPackageUris) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager6)->StagePackageToVolumeAndRelatedSetAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast(options), *(void**)(&targetVolume), *(void**)(&optionalPackageFamilyNames), *(void**)(&packageUrisToInstall), *(void**)(&relatedPackageUris), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager6::RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& relatedPackageUris) const + template auto consume_Windows_Management_Deployment_IPackageManager6::RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& relatedPackageUris) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager6)->RequestAddPackageAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast(deploymentOptions), *(void**)(&targetVolume), *(void**)(&optionalPackageFamilyNames), *(void**)(&relatedPackageUris), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager7::RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& relatedPackageUris, param::async_iterable const& packageUrisToInstall) const + template auto consume_Windows_Management_Deployment_IPackageManager7::RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& relatedPackageUris, param::async_iterable const& packageUrisToInstall) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager7)->RequestAddPackageAndRelatedSetAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast(deploymentOptions), *(void**)(&targetVolume), *(void**)(&optionalPackageFamilyNames), *(void**)(&relatedPackageUris), *(void**)(&packageUrisToInstall), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager8::DeprovisionPackageForAllUsersAsync(param::hstring const& packageFamilyName) const + template auto consume_Windows_Management_Deployment_IPackageManager8::DeprovisionPackageForAllUsersAsync(param::hstring const& packageFamilyName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager8)->DeprovisionPackageForAllUsersAsync(*(void**)(&packageFamilyName), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IPackageManager9::FindProvisionedPackages() const + template auto consume_Windows_Management_Deployment_IPackageManager9::FindProvisionedPackages() const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager9)->FindProvisionedPackages(&packageCollection)); return winrt::Windows::Foundation::Collections::IVector{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager9::AddPackageByUriAsync(winrt::Windows::Foundation::Uri const& packageUri, winrt::Windows::Management::Deployment::AddPackageOptions const& options) const + template auto consume_Windows_Management_Deployment_IPackageManager9::AddPackageByUriAsync(winrt::Windows::Foundation::Uri const& packageUri, winrt::Windows::Management::Deployment::AddPackageOptions const& options) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager9)->AddPackageByUriAsync(*(void**)(&packageUri), *(void**)(&options), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager9::StagePackageByUriAsync(winrt::Windows::Foundation::Uri const& packageUri, winrt::Windows::Management::Deployment::StagePackageOptions const& options) const + template auto consume_Windows_Management_Deployment_IPackageManager9::StagePackageByUriAsync(winrt::Windows::Foundation::Uri const& packageUri, winrt::Windows::Management::Deployment::StagePackageOptions const& options) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager9)->StagePackageByUriAsync(*(void**)(&packageUri), *(void**)(&options), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager9::RegisterPackageByUriAsync(winrt::Windows::Foundation::Uri const& manifestUri, winrt::Windows::Management::Deployment::RegisterPackageOptions const& options) const + template auto consume_Windows_Management_Deployment_IPackageManager9::RegisterPackageByUriAsync(winrt::Windows::Foundation::Uri const& manifestUri, winrt::Windows::Management::Deployment::RegisterPackageOptions const& options) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager9)->RegisterPackageByUriAsync(*(void**)(&manifestUri), *(void**)(&options), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Management_Deployment_IPackageManager9::RegisterPackagesByFullNameAsync(param::async_iterable const& packageFullNames, winrt::Windows::Management::Deployment::RegisterPackageOptions const& options) const + template auto consume_Windows_Management_Deployment_IPackageManager9::RegisterPackagesByFullNameAsync(param::async_iterable const& packageFullNames, winrt::Windows::Management::Deployment::RegisterPackageOptions const& options) const { void* deploymentOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager9)->RegisterPackagesByFullNameAsync(*(void**)(&packageFullNames), *(void**)(&options), &deploymentOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ deploymentOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IPackageManager9::SetPackageStubPreference(param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageStubPreference const& useStub) const + template auto consume_Windows_Management_Deployment_IPackageManager9::SetPackageStubPreference(param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageStubPreference const& useStub) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager9)->SetPackageStubPreference(*(void**)(&packageFamilyName), static_cast(useStub))); } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageStubPreference) consume_Windows_Management_Deployment_IPackageManager9::GetPackageStubPreference(param::hstring const& packageFamilyName) const + template auto consume_Windows_Management_Deployment_IPackageManager9::GetPackageStubPreference(param::hstring const& packageFamilyName) const { winrt::Windows::Management::Deployment::PackageStubPreference value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager9)->GetPackageStubPreference(*(void**)(&packageFamilyName), reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Management_Deployment_IPackageManagerDebugSettings::SetContentGroupStateAsync(winrt::Windows::ApplicationModel::Package const& package, param::hstring const& contentGroupName, winrt::Windows::ApplicationModel::PackageContentGroupState const& state) const + template auto consume_Windows_Management_Deployment_IPackageManagerDebugSettings::SetContentGroupStateAsync(winrt::Windows::ApplicationModel::Package const& package, param::hstring const& contentGroupName, winrt::Windows::ApplicationModel::PackageContentGroupState const& state) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManagerDebugSettings)->SetContentGroupStateAsync(*(void**)(&package), *(void**)(&contentGroupName), static_cast(state), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Management_Deployment_IPackageManagerDebugSettings::SetContentGroupStateAsync(winrt::Windows::ApplicationModel::Package const& package, param::hstring const& contentGroupName, winrt::Windows::ApplicationModel::PackageContentGroupState const& state, double completionPercentage) const + template auto consume_Windows_Management_Deployment_IPackageManagerDebugSettings::SetContentGroupStateAsync(winrt::Windows::ApplicationModel::Package const& package, param::hstring const& contentGroupName, winrt::Windows::ApplicationModel::PackageContentGroupState const& state, double completionPercentage) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManagerDebugSettings)->SetContentGroupStateWithPercentageAsync(*(void**)(&package), *(void**)(&contentGroupName), static_cast(state), completionPercentage, &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Deployment_IPackageUserInformation::UserSecurityId() const + template auto consume_Windows_Management_Deployment_IPackageUserInformation::UserSecurityId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageUserInformation)->get_UserSecurityId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageInstallState) consume_Windows_Management_Deployment_IPackageUserInformation::InstallState() const + template auto consume_Windows_Management_Deployment_IPackageUserInformation::InstallState() const { winrt::Windows::Management::Deployment::PackageInstallState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageUserInformation)->get_InstallState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IPackageVolume::IsOffline() const + template auto consume_Windows_Management_Deployment_IPackageVolume::IsOffline() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->get_IsOffline(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IPackageVolume::IsSystemVolume() const + template auto consume_Windows_Management_Deployment_IPackageVolume::IsSystemVolume() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->get_IsSystemVolume(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Deployment_IPackageVolume::MountPoint() const + template auto consume_Windows_Management_Deployment_IPackageVolume::MountPoint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->get_MountPoint(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Deployment_IPackageVolume::Name() const + template auto consume_Windows_Management_Deployment_IPackageVolume::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Deployment_IPackageVolume::PackageStorePath() const + template auto consume_Windows_Management_Deployment_IPackageVolume::PackageStorePath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->get_PackageStorePath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IPackageVolume::SupportsHardLinks() const + template auto consume_Windows_Management_Deployment_IPackageVolume::SupportsHardLinks() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->get_SupportsHardLinks(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IPackageVolume::FindPackages() const + template auto consume_Windows_Management_Deployment_IPackageVolume::FindPackages() const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->FindPackages(&packageCollection)); return winrt::Windows::Foundation::Collections::IVector{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IPackageVolume::FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const + template auto consume_Windows_Management_Deployment_IPackageVolume::FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->FindPackagesByNamePublisher(*(void**)(&packageName), *(void**)(&packagePublisher), &packageCollection)); return winrt::Windows::Foundation::Collections::IVector{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IPackageVolume::FindPackages(param::hstring const& packageFamilyName) const + template auto consume_Windows_Management_Deployment_IPackageVolume::FindPackages(param::hstring const& packageFamilyName) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->FindPackagesByPackageFamilyName(*(void**)(&packageFamilyName), &packageCollection)); return winrt::Windows::Foundation::Collections::IVector{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IPackageVolume::FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const + template auto consume_Windows_Management_Deployment_IPackageVolume::FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->FindPackagesWithPackageTypes(static_cast(packageTypes), &packageCollection)); return winrt::Windows::Foundation::Collections::IVector{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IPackageVolume::FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageName, param::hstring const& packagePublisher) const + template auto consume_Windows_Management_Deployment_IPackageVolume::FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageName, param::hstring const& packagePublisher) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->FindPackagesByNamePublisherWithPackagesTypes(static_cast(packageTypes), *(void**)(&packageName), *(void**)(&packagePublisher), &packageCollection)); return winrt::Windows::Foundation::Collections::IVector{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IPackageVolume::FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageFamilyName) const + template auto consume_Windows_Management_Deployment_IPackageVolume::FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageFamilyName) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->FindPackagesByPackageFamilyNameWithPackageTypes(static_cast(packageTypes), *(void**)(&packageFamilyName), &packageCollection)); return winrt::Windows::Foundation::Collections::IVector{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IPackageVolume::FindPackage(param::hstring const& packageFullName) const + template auto consume_Windows_Management_Deployment_IPackageVolume::FindPackage(param::hstring const& packageFullName) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->FindPackageByPackageFullName(*(void**)(&packageFullName), &packageCollection)); return winrt::Windows::Foundation::Collections::IVector{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IPackageVolume::FindPackagesForUser(param::hstring const& userSecurityId) const + template auto consume_Windows_Management_Deployment_IPackageVolume::FindPackagesForUser(param::hstring const& userSecurityId) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->FindPackagesByUserSecurityId(*(void**)(&userSecurityId), &packageCollection)); return winrt::Windows::Foundation::Collections::IVector{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IPackageVolume::FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher) const + template auto consume_Windows_Management_Deployment_IPackageVolume::FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->FindPackagesByUserSecurityIdNamePublisher(*(void**)(&userSecurityId), *(void**)(&packageName), *(void**)(&packagePublisher), &packageCollection)); return winrt::Windows::Foundation::Collections::IVector{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IPackageVolume::FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageFamilyName) const + template auto consume_Windows_Management_Deployment_IPackageVolume::FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageFamilyName) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->FindPackagesByUserSecurityIdPackageFamilyName(*(void**)(&userSecurityId), *(void**)(&packageFamilyName), &packageCollection)); return winrt::Windows::Foundation::Collections::IVector{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IPackageVolume::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const + template auto consume_Windows_Management_Deployment_IPackageVolume::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->FindPackagesByUserSecurityIdWithPackageTypes(*(void**)(&userSecurityId), static_cast(packageTypes), &packageCollection)); return winrt::Windows::Foundation::Collections::IVector{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IPackageVolume::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageName, param::hstring const& packagePublisher) const + template auto consume_Windows_Management_Deployment_IPackageVolume::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageName, param::hstring const& packagePublisher) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->FindPackagesByUserSecurityIdNamePublisherWithPackageTypes(*(void**)(&userSecurityId), static_cast(packageTypes), *(void**)(&packageName), *(void**)(&packagePublisher), &packageCollection)); return winrt::Windows::Foundation::Collections::IVector{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IPackageVolume::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageFamilyName) const + template auto consume_Windows_Management_Deployment_IPackageVolume::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageFamilyName) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->FindPackagesByUserSecurityIdPackageFamilyNameWithPackagesTypes(*(void**)(&userSecurityId), static_cast(packageTypes), *(void**)(&packageFamilyName), &packageCollection)); return winrt::Windows::Foundation::Collections::IVector{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IPackageVolume::FindPackageForUser(param::hstring const& userSecurityId, param::hstring const& packageFullName) const + template auto consume_Windows_Management_Deployment_IPackageVolume::FindPackageForUser(param::hstring const& userSecurityId, param::hstring const& packageFullName) const { void* packageCollection{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->FindPackageByUserSecurityIdPackageFullName(*(void**)(&userSecurityId), *(void**)(&packageFullName), &packageCollection)); return winrt::Windows::Foundation::Collections::IVector{ packageCollection, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IPackageVolume2::IsFullTrustPackageSupported() const + template auto consume_Windows_Management_Deployment_IPackageVolume2::IsFullTrustPackageSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume2)->get_IsFullTrustPackageSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IPackageVolume2::IsAppxInstallSupported() const + template auto consume_Windows_Management_Deployment_IPackageVolume2::IsAppxInstallSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume2)->get_IsAppxInstallSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Management_Deployment_IPackageVolume2::GetAvailableSpaceAsync() const + template auto consume_Windows_Management_Deployment_IPackageVolume2::GetAvailableSpaceAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume2)->GetAvailableSpaceAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IRegisterPackageOptions::DependencyPackageUris() const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::DependencyPackageUris() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_DependencyPackageUris(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) consume_Windows_Management_Deployment_IRegisterPackageOptions::AppDataVolume() const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::AppDataVolume() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_AppDataVolume(&value)); return winrt::Windows::Management::Deployment::PackageVolume{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions::AppDataVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::AppDataVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_AppDataVolume(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IRegisterPackageOptions::OptionalPackageFamilyNames() const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::OptionalPackageFamilyNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_OptionalPackageFamilyNames(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Management_Deployment_IRegisterPackageOptions::ExternalLocationUri() const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::ExternalLocationUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_ExternalLocationUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions::ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_ExternalLocationUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IRegisterPackageOptions::DeveloperMode() const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::DeveloperMode() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_DeveloperMode(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions::DeveloperMode(bool value) const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::DeveloperMode(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_DeveloperMode(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IRegisterPackageOptions::ForceAppShutdown() const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::ForceAppShutdown() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_ForceAppShutdown(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions::ForceAppShutdown(bool value) const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::ForceAppShutdown(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_ForceAppShutdown(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IRegisterPackageOptions::ForceTargetAppShutdown() const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::ForceTargetAppShutdown() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_ForceTargetAppShutdown(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions::ForceTargetAppShutdown(bool value) const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::ForceTargetAppShutdown(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_ForceTargetAppShutdown(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IRegisterPackageOptions::ForceUpdateFromAnyVersion() const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::ForceUpdateFromAnyVersion() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_ForceUpdateFromAnyVersion(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions::ForceUpdateFromAnyVersion(bool value) const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::ForceUpdateFromAnyVersion(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_ForceUpdateFromAnyVersion(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IRegisterPackageOptions::InstallAllResources() const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::InstallAllResources() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_InstallAllResources(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions::InstallAllResources(bool value) const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::InstallAllResources(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_InstallAllResources(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IRegisterPackageOptions::StageInPlace() const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::StageInPlace() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_StageInPlace(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions::StageInPlace(bool value) const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::StageInPlace(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_StageInPlace(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IRegisterPackageOptions::AllowUnsigned() const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::AllowUnsigned() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_AllowUnsigned(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions::AllowUnsigned(bool value) const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::AllowUnsigned(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_AllowUnsigned(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IRegisterPackageOptions::DeferRegistrationWhenPackagesAreInUse() const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::DeferRegistrationWhenPackagesAreInUse() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_DeferRegistrationWhenPackagesAreInUse(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions::DeferRegistrationWhenPackagesAreInUse(bool value) const + template auto consume_Windows_Management_Deployment_IRegisterPackageOptions::DeferRegistrationWhenPackagesAreInUse(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_DeferRegistrationWhenPackagesAreInUse(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IStagePackageOptions::DependencyPackageUris() const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::DependencyPackageUris() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_DependencyPackageUris(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) consume_Windows_Management_Deployment_IStagePackageOptions::TargetVolume() const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::TargetVolume() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_TargetVolume(&value)); return winrt::Windows::Management::Deployment::PackageVolume{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions::TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_TargetVolume(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IStagePackageOptions::OptionalPackageFamilyNames() const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::OptionalPackageFamilyNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_OptionalPackageFamilyNames(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IStagePackageOptions::OptionalPackageUris() const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::OptionalPackageUris() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_OptionalPackageUris(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Management_Deployment_IStagePackageOptions::RelatedPackageUris() const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::RelatedPackageUris() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_RelatedPackageUris(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Management_Deployment_IStagePackageOptions::ExternalLocationUri() const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::ExternalLocationUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_ExternalLocationUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions::ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_ExternalLocationUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::StubPackageOption) consume_Windows_Management_Deployment_IStagePackageOptions::StubPackageOption() const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::StubPackageOption() const { winrt::Windows::Management::Deployment::StubPackageOption value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_StubPackageOption(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions::StubPackageOption(winrt::Windows::Management::Deployment::StubPackageOption const& value) const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::StubPackageOption(winrt::Windows::Management::Deployment::StubPackageOption const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_StubPackageOption(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IStagePackageOptions::DeveloperMode() const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::DeveloperMode() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_DeveloperMode(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions::DeveloperMode(bool value) const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::DeveloperMode(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_DeveloperMode(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IStagePackageOptions::ForceUpdateFromAnyVersion() const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::ForceUpdateFromAnyVersion() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_ForceUpdateFromAnyVersion(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions::ForceUpdateFromAnyVersion(bool value) const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::ForceUpdateFromAnyVersion(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_ForceUpdateFromAnyVersion(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IStagePackageOptions::InstallAllResources() const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::InstallAllResources() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_InstallAllResources(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions::InstallAllResources(bool value) const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::InstallAllResources(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_InstallAllResources(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IStagePackageOptions::RequiredContentGroupOnly() const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::RequiredContentGroupOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_RequiredContentGroupOnly(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions::RequiredContentGroupOnly(bool value) const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::RequiredContentGroupOnly(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_RequiredContentGroupOnly(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IStagePackageOptions::StageInPlace() const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::StageInPlace() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_StageInPlace(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions::StageInPlace(bool value) const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::StageInPlace(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_StageInPlace(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IStagePackageOptions::AllowUnsigned() const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::AllowUnsigned() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_AllowUnsigned(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions::AllowUnsigned(bool value) const + template auto consume_Windows_Management_Deployment_IStagePackageOptions::AllowUnsigned(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_AllowUnsigned(value)); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Management.Policies.h b/internal/platform/implementation/windows/generated/winrt/Windows.Management.Policies.h index 10abd0c4..45031c84 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Management.Policies.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Management.Policies.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Policies_H #define WINRT_Windows_Management_Policies_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Management.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" @@ -13,93 +13,93 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Management.Policies.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Policies_INamedPolicyData::Area() const + template auto consume_Windows_Management_Policies_INamedPolicyData::Area() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->get_Area(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Policies_INamedPolicyData::Name() const + template auto consume_Windows_Management_Policies_INamedPolicyData::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Policies::NamedPolicyKind) consume_Windows_Management_Policies_INamedPolicyData::Kind() const + template auto consume_Windows_Management_Policies_INamedPolicyData::Kind() const { winrt::Windows::Management::Policies::NamedPolicyKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Policies_INamedPolicyData::IsManaged() const + template auto consume_Windows_Management_Policies_INamedPolicyData::IsManaged() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->get_IsManaged(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Policies_INamedPolicyData::IsUserPolicy() const + template auto consume_Windows_Management_Policies_INamedPolicyData::IsUserPolicy() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->get_IsUserPolicy(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Management_Policies_INamedPolicyData::User() const + template auto consume_Windows_Management_Policies_INamedPolicyData::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Policies_INamedPolicyData::GetBoolean() const + template auto consume_Windows_Management_Policies_INamedPolicyData::GetBoolean() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->GetBoolean(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Management_Policies_INamedPolicyData::GetBinary() const + template auto consume_Windows_Management_Policies_INamedPolicyData::GetBinary() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->GetBinary(&result)); return winrt::Windows::Storage::Streams::IBuffer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Management_Policies_INamedPolicyData::GetInt32() const + template auto consume_Windows_Management_Policies_INamedPolicyData::GetInt32() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->GetInt32(&result)); return result; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_Management_Policies_INamedPolicyData::GetInt64() const + template auto consume_Windows_Management_Policies_INamedPolicyData::GetInt64() const { int64_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->GetInt64(&result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Policies_INamedPolicyData::GetString() const + template auto consume_Windows_Management_Policies_INamedPolicyData::GetString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->GetString(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Management_Policies_INamedPolicyData::Changed(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const + template auto consume_Windows_Management_Policies_INamedPolicyData::Changed(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->add_Changed(*(void**)(&changedHandler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Management_Policies_INamedPolicyData::Changed_revoker consume_Windows_Management_Policies_INamedPolicyData::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const + template auto consume_Windows_Management_Policies_INamedPolicyData::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const { return impl::make_event_revoker(this, Changed(changedHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Policies_INamedPolicyData::Changed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Management_Policies_INamedPolicyData::Changed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->remove_Changed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Policies::NamedPolicyData) consume_Windows_Management_Policies_INamedPolicyStatics::GetPolicyFromPath(param::hstring const& area, param::hstring const& name) const + template auto consume_Windows_Management_Policies_INamedPolicyStatics::GetPolicyFromPath(param::hstring const& area, param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyStatics)->GetPolicyFromPath(*(void**)(&area), *(void**)(&name), &result)); return winrt::Windows::Management::Policies::NamedPolicyData{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Policies::NamedPolicyData) consume_Windows_Management_Policies_INamedPolicyStatics::GetPolicyFromPathForUser(winrt::Windows::System::User const& user, param::hstring const& area, param::hstring const& name) const + template auto consume_Windows_Management_Policies_INamedPolicyStatics::GetPolicyFromPathForUser(winrt::Windows::System::User const& user, param::hstring const& area, param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyStatics)->GetPolicyFromPathForUser(*(void**)(&user), *(void**)(&area), *(void**)(&name), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Management.Update.h b/internal/platform/implementation/windows/generated/winrt/Windows.Management.Update.h index 5298010e..a66c4808 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Management.Update.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Management.Update.h @@ -1,52 +1,52 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Update_H #define WINRT_Windows_Management_Update_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Management.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Management.Update.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Update_IPreviewBuildsManager::ArePreviewBuildsAllowed() const + template auto consume_Windows_Management_Update_IPreviewBuildsManager::ArePreviewBuildsAllowed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Update::IPreviewBuildsManager)->get_ArePreviewBuildsAllowed(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_Update_IPreviewBuildsManager::ArePreviewBuildsAllowed(bool value) const + template auto consume_Windows_Management_Update_IPreviewBuildsManager::ArePreviewBuildsAllowed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Update::IPreviewBuildsManager)->put_ArePreviewBuildsAllowed(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Update::PreviewBuildsState) consume_Windows_Management_Update_IPreviewBuildsManager::GetCurrentState() const + template auto consume_Windows_Management_Update_IPreviewBuildsManager::GetCurrentState() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Update::IPreviewBuildsManager)->GetCurrentState(&result)); return winrt::Windows::Management::Update::PreviewBuildsState{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Management_Update_IPreviewBuildsManager::SyncAsync() const + template auto consume_Windows_Management_Update_IPreviewBuildsManager::SyncAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Update::IPreviewBuildsManager)->SyncAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Update::PreviewBuildsManager) consume_Windows_Management_Update_IPreviewBuildsManagerStatics::GetDefault() const + template auto consume_Windows_Management_Update_IPreviewBuildsManagerStatics::GetDefault() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Update::IPreviewBuildsManagerStatics)->GetDefault(&value)); return winrt::Windows::Management::Update::PreviewBuildsManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Update_IPreviewBuildsManagerStatics::IsSupported() const + template auto consume_Windows_Management_Update_IPreviewBuildsManagerStatics::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Update::IPreviewBuildsManagerStatics)->IsSupported(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Management_Update_IPreviewBuildsState::Properties() const + template auto consume_Windows_Management_Update_IPreviewBuildsState::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Update::IPreviewBuildsState)->get_Properties(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Management.Workplace.h b/internal/platform/implementation/windows/generated/winrt/Windows.Management.Workplace.h index af8ba124..a3632c4d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Management.Workplace.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Management.Workplace.h @@ -1,46 +1,46 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Workplace_H #define WINRT_Windows_Management_Workplace_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Management.h" #include "winrt/impl/Windows.Management.Workplace.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Workplace_IMdmAllowPolicyStatics::IsBrowserAllowed() const + template auto consume_Windows_Management_Workplace_IMdmAllowPolicyStatics::IsBrowserAllowed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Workplace::IMdmAllowPolicyStatics)->IsBrowserAllowed(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Workplace_IMdmAllowPolicyStatics::IsCameraAllowed() const + template auto consume_Windows_Management_Workplace_IMdmAllowPolicyStatics::IsCameraAllowed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Workplace::IMdmAllowPolicyStatics)->IsCameraAllowed(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Workplace_IMdmAllowPolicyStatics::IsMicrosoftAccountAllowed() const + template auto consume_Windows_Management_Workplace_IMdmAllowPolicyStatics::IsMicrosoftAccountAllowed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Workplace::IMdmAllowPolicyStatics)->IsMicrosoftAccountAllowed(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Workplace_IMdmAllowPolicyStatics::IsStoreAllowed() const + template auto consume_Windows_Management_Workplace_IMdmAllowPolicyStatics::IsStoreAllowed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Workplace::IMdmAllowPolicyStatics)->IsStoreAllowed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Workplace::MessagingSyncPolicy) consume_Windows_Management_Workplace_IMdmPolicyStatics2::GetMessagingSyncPolicy() const + template auto consume_Windows_Management_Workplace_IMdmPolicyStatics2::GetMessagingSyncPolicy() const { winrt::Windows::Management::Workplace::MessagingSyncPolicy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Workplace::IMdmPolicyStatics2)->GetMessagingSyncPolicy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Management_Workplace_IWorkplaceSettingsStatics::IsMicrosoftAccountOptional() const + template auto consume_Windows_Management_Workplace_IWorkplaceSettingsStatics::IsMicrosoftAccountOptional() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Workplace::IWorkplaceSettingsStatics)->get_IsMicrosoftAccountOptional(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Management.h b/internal/platform/implementation/windows/generated/winrt/Windows.Management.h index 194ccc68..5ca1016a 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Management.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Management.h @@ -1,145 +1,145 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_H #define WINRT_Windows_Management_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Management.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Management_IMdmAlert::Data() const + template auto consume_Windows_Management_IMdmAlert::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->get_Data(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_IMdmAlert::Data(param::hstring const& value) const + template auto consume_Windows_Management_IMdmAlert::Data(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Management::MdmAlertDataType) consume_Windows_Management_IMdmAlert::Format() const + template auto consume_Windows_Management_IMdmAlert::Format() const { winrt::Windows::Management::MdmAlertDataType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->get_Format(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_IMdmAlert::Format(winrt::Windows::Management::MdmAlertDataType const& value) const + template auto consume_Windows_Management_IMdmAlert::Format(winrt::Windows::Management::MdmAlertDataType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->put_Format(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Management::MdmAlertMark) consume_Windows_Management_IMdmAlert::Mark() const + template auto consume_Windows_Management_IMdmAlert::Mark() const { winrt::Windows::Management::MdmAlertMark value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->get_Mark(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_IMdmAlert::Mark(winrt::Windows::Management::MdmAlertMark const& value) const + template auto consume_Windows_Management_IMdmAlert::Mark(winrt::Windows::Management::MdmAlertMark const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->put_Mark(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Management_IMdmAlert::Source() const + template auto consume_Windows_Management_IMdmAlert::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->get_Source(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_IMdmAlert::Source(param::hstring const& value) const + template auto consume_Windows_Management_IMdmAlert::Source(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->put_Source(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Management_IMdmAlert::Status() const + template auto consume_Windows_Management_IMdmAlert::Status() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->get_Status(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Management_IMdmAlert::Target() const + template auto consume_Windows_Management_IMdmAlert::Target() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->get_Target(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_IMdmAlert::Target(param::hstring const& value) const + template auto consume_Windows_Management_IMdmAlert::Target(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->put_Target(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Management_IMdmAlert::Type() const + template auto consume_Windows_Management_IMdmAlert::Type() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->get_Type(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_IMdmAlert::Type(param::hstring const& value) const + template auto consume_Windows_Management_IMdmAlert::Type(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->put_Type(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Management_IMdmSession::Alerts() const + template auto consume_Windows_Management_IMdmSession::Alerts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSession)->get_Alerts(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Management_IMdmSession::ExtendedError() const + template auto consume_Windows_Management_IMdmSession::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSession)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Management_IMdmSession::Id() const + template auto consume_Windows_Management_IMdmSession::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSession)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Management::MdmSessionState) consume_Windows_Management_IMdmSession::State() const + template auto consume_Windows_Management_IMdmSession::State() const { winrt::Windows::Management::MdmSessionState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSession)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Management_IMdmSession::AttachAsync() const + template auto consume_Windows_Management_IMdmSession::AttachAsync() const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSession)->AttachAsync(&action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_IMdmSession::Delete() const + template auto consume_Windows_Management_IMdmSession::Delete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSession)->Delete()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Management_IMdmSession::StartAsync() const + template auto consume_Windows_Management_IMdmSession::StartAsync() const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSession)->StartAsync(&action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Management_IMdmSession::StartAsync(param::async_iterable const& alerts) const + template auto consume_Windows_Management_IMdmSession::StartAsync(param::async_iterable const& alerts) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSession)->StartWithAlertsAsync(*(void**)(&alerts), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Management_IMdmSessionManagerStatics::SessionIds() const + template auto consume_Windows_Management_IMdmSessionManagerStatics::SessionIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSessionManagerStatics)->get_SessionIds(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Management::MdmSession) consume_Windows_Management_IMdmSessionManagerStatics::TryCreateSession() const + template auto consume_Windows_Management_IMdmSessionManagerStatics::TryCreateSession() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSessionManagerStatics)->TryCreateSession(&result)); return winrt::Windows::Management::MdmSession{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Management_IMdmSessionManagerStatics::DeleteSessionById(param::hstring const& sessionId) const + template auto consume_Windows_Management_IMdmSessionManagerStatics::DeleteSessionById(param::hstring const& sessionId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSessionManagerStatics)->DeleteSessionById(*(void**)(&sessionId))); } - template WINRT_IMPL_AUTO(winrt::Windows::Management::MdmSession) consume_Windows_Management_IMdmSessionManagerStatics::GetSessionById(param::hstring const& sessionId) const + template auto consume_Windows_Management_IMdmSessionManagerStatics::GetSessionById(param::hstring const& sessionId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSessionManagerStatics)->GetSessionById(*(void**)(&sessionId), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.AppBroadcasting.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.AppBroadcasting.h index 9ed1d728..6f0d7837 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.AppBroadcasting.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.AppBroadcasting.h @@ -1,114 +1,114 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_AppBroadcasting_H #define WINRT_Windows_Media_AppBroadcasting_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.System.2.h" #include "winrt/impl/Windows.Media.AppBroadcasting.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor::IsCurrentAppBroadcasting() const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor::IsCurrentAppBroadcasting() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingMonitor)->get_IsCurrentAppBroadcasting(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor::IsCurrentAppBroadcastingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor::IsCurrentAppBroadcastingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingMonitor)->add_IsCurrentAppBroadcastingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor::IsCurrentAppBroadcastingChanged_revoker consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor::IsCurrentAppBroadcastingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor::IsCurrentAppBroadcastingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsCurrentAppBroadcastingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor::IsCurrentAppBroadcastingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor::IsCurrentAppBroadcastingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingMonitor)->remove_IsCurrentAppBroadcastingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatus::CanStartBroadcast() const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatus::CanStartBroadcast() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatus)->get_CanStartBroadcast(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AppBroadcasting::AppBroadcastingStatusDetails) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatus::Details() const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatus::Details() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatus)->get_Details(&value)); return winrt::Windows::Media::AppBroadcasting::AppBroadcastingStatusDetails{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails::IsAnyAppBroadcasting() const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails::IsAnyAppBroadcasting() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails)->get_IsAnyAppBroadcasting(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails::IsCaptureResourceUnavailable() const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails::IsCaptureResourceUnavailable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails)->get_IsCaptureResourceUnavailable(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails::IsGameStreamInProgress() const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails::IsGameStreamInProgress() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails)->get_IsGameStreamInProgress(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails::IsGpuConstrained() const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails::IsGpuConstrained() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails)->get_IsGpuConstrained(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails::IsAppInactive() const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails::IsAppInactive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails)->get_IsAppInactive(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails::IsBlockedForApp() const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails::IsBlockedForApp() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails)->get_IsBlockedForApp(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails::IsDisabledByUser() const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails::IsDisabledByUser() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails)->get_IsDisabledByUser(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails::IsDisabledBySystem() const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails::IsDisabledBySystem() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails)->get_IsDisabledBySystem(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AppBroadcasting::AppBroadcastingStatus) consume_Windows_Media_AppBroadcasting_IAppBroadcastingUI::GetStatus() const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingUI::GetStatus() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingUI)->GetStatus(&result)); return winrt::Windows::Media::AppBroadcasting::AppBroadcastingStatus{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_AppBroadcasting_IAppBroadcastingUI::ShowBroadcastUI() const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingUI::ShowBroadcastUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingUI)->ShowBroadcastUI()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AppBroadcasting::AppBroadcastingUI) consume_Windows_Media_AppBroadcasting_IAppBroadcastingUIStatics::GetDefault() const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingUIStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingUIStatics)->GetDefault(&result)); return winrt::Windows::Media::AppBroadcasting::AppBroadcastingUI{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AppBroadcasting::AppBroadcastingUI) consume_Windows_Media_AppBroadcasting_IAppBroadcastingUIStatics::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingUIStatics::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingUIStatics)->GetForUser(*(void**)(&user), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.AppRecording.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.AppRecording.h index f405fef7..bc10037e 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.AppRecording.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.AppRecording.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_AppRecording_H #define WINRT_Windows_Media_AppRecording_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,169 +13,169 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.AppRecording.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Media::AppRecording::AppRecordingStatus) consume_Windows_Media_AppRecording_IAppRecordingManager::GetStatus() const + template auto consume_Windows_Media_AppRecording_IAppRecordingManager::GetStatus() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingManager)->GetStatus(&result)); return winrt::Windows::Media::AppRecording::AppRecordingStatus{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_AppRecording_IAppRecordingManager::StartRecordingToFileAsync(winrt::Windows::Storage::StorageFile const& file) const + template auto consume_Windows_Media_AppRecording_IAppRecordingManager::StartRecordingToFileAsync(winrt::Windows::Storage::StorageFile const& file) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingManager)->StartRecordingToFileAsync(*(void**)(&file), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_AppRecording_IAppRecordingManager::RecordTimeSpanToFileAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration, winrt::Windows::Storage::StorageFile const& file) const + template auto consume_Windows_Media_AppRecording_IAppRecordingManager::RecordTimeSpanToFileAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration, winrt::Windows::Storage::StorageFile const& file) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingManager)->RecordTimeSpanToFileAsync(impl::bind_in(startTime), impl::bind_in(duration), *(void**)(&file), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_AppRecording_IAppRecordingManager::SupportedScreenshotMediaEncodingSubtypes() const + template auto consume_Windows_Media_AppRecording_IAppRecordingManager::SupportedScreenshotMediaEncodingSubtypes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingManager)->get_SupportedScreenshotMediaEncodingSubtypes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_AppRecording_IAppRecordingManager::SaveScreenshotToFilesAsync(winrt::Windows::Storage::StorageFolder const& folder, param::hstring const& filenamePrefix, winrt::Windows::Media::AppRecording::AppRecordingSaveScreenshotOption const& option, param::async_iterable const& requestedFormats) const + template auto consume_Windows_Media_AppRecording_IAppRecordingManager::SaveScreenshotToFilesAsync(winrt::Windows::Storage::StorageFolder const& folder, param::hstring const& filenamePrefix, winrt::Windows::Media::AppRecording::AppRecordingSaveScreenshotOption const& option, param::async_iterable const& requestedFormats) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingManager)->SaveScreenshotToFilesAsync(*(void**)(&folder), *(void**)(&filenamePrefix), static_cast(option), *(void**)(&requestedFormats), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AppRecording::AppRecordingManager) consume_Windows_Media_AppRecording_IAppRecordingManagerStatics::GetDefault() const + template auto consume_Windows_Media_AppRecording_IAppRecordingManagerStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingManagerStatics)->GetDefault(&result)); return winrt::Windows::Media::AppRecording::AppRecordingManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingResult::Succeeded() const + template auto consume_Windows_Media_AppRecording_IAppRecordingResult::Succeeded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingResult)->get_Succeeded(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_AppRecording_IAppRecordingResult::ExtendedError() const + template auto consume_Windows_Media_AppRecording_IAppRecordingResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_AppRecording_IAppRecordingResult::Duration() const + template auto consume_Windows_Media_AppRecording_IAppRecordingResult::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingResult)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingResult::IsFileTruncated() const + template auto consume_Windows_Media_AppRecording_IAppRecordingResult::IsFileTruncated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingResult)->get_IsFileTruncated(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingSaveScreenshotResult::Succeeded() const + template auto consume_Windows_Media_AppRecording_IAppRecordingSaveScreenshotResult::Succeeded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingSaveScreenshotResult)->get_Succeeded(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_AppRecording_IAppRecordingSaveScreenshotResult::ExtendedError() const + template auto consume_Windows_Media_AppRecording_IAppRecordingSaveScreenshotResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingSaveScreenshotResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_AppRecording_IAppRecordingSaveScreenshotResult::SavedScreenshotInfos() const + template auto consume_Windows_Media_AppRecording_IAppRecordingSaveScreenshotResult::SavedScreenshotInfos() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingSaveScreenshotResult)->get_SavedScreenshotInfos(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Media_AppRecording_IAppRecordingSavedScreenshotInfo::File() const + template auto consume_Windows_Media_AppRecording_IAppRecordingSavedScreenshotInfo::File() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingSavedScreenshotInfo)->get_File(&value)); return winrt::Windows::Storage::StorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_AppRecording_IAppRecordingSavedScreenshotInfo::MediaEncodingSubtype() const + template auto consume_Windows_Media_AppRecording_IAppRecordingSavedScreenshotInfo::MediaEncodingSubtype() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingSavedScreenshotInfo)->get_MediaEncodingSubtype(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatus::CanRecord() const + template auto consume_Windows_Media_AppRecording_IAppRecordingStatus::CanRecord() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatus)->get_CanRecord(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatus::CanRecordTimeSpan() const + template auto consume_Windows_Media_AppRecording_IAppRecordingStatus::CanRecordTimeSpan() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatus)->get_CanRecordTimeSpan(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_AppRecording_IAppRecordingStatus::HistoricalBufferDuration() const + template auto consume_Windows_Media_AppRecording_IAppRecordingStatus::HistoricalBufferDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatus)->get_HistoricalBufferDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AppRecording::AppRecordingStatusDetails) consume_Windows_Media_AppRecording_IAppRecordingStatus::Details() const + template auto consume_Windows_Media_AppRecording_IAppRecordingStatus::Details() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatus)->get_Details(&value)); return winrt::Windows::Media::AppRecording::AppRecordingStatusDetails{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsAnyAppBroadcasting() const + template auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsAnyAppBroadcasting() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsAnyAppBroadcasting(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsCaptureResourceUnavailable() const + template auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsCaptureResourceUnavailable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsCaptureResourceUnavailable(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsGameStreamInProgress() const + template auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsGameStreamInProgress() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsGameStreamInProgress(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsTimeSpanRecordingDisabled() const + template auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsTimeSpanRecordingDisabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsTimeSpanRecordingDisabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsGpuConstrained() const + template auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsGpuConstrained() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsGpuConstrained(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsAppInactive() const + template auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsAppInactive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsAppInactive(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsBlockedForApp() const + template auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsBlockedForApp() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsBlockedForApp(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsDisabledByUser() const + template auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsDisabledByUser() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsDisabledByUser(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsDisabledBySystem() const + template auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails::IsDisabledBySystem() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsDisabledBySystem(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Audio.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Audio.h index 99c2faf1..6b292cea 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Audio.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Audio.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Audio_H #define WINRT_Windows_Media_Audio_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -23,1597 +23,1597 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Audio.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Media_Audio_IAudioDeviceInputNode::Device() const + template auto consume_Windows_Media_Audio_IAudioDeviceInputNode::Device() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioDeviceInputNode)->get_Device(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Media_Audio_IAudioDeviceOutputNode::Device() const + template auto consume_Windows_Media_Audio_IAudioDeviceOutputNode::Device() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioDeviceOutputNode)->get_Device(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFileInputNode::PlaybackSpeedFactor(double value) const + template auto consume_Windows_Media_Audio_IAudioFileInputNode::PlaybackSpeedFactor(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->put_PlaybackSpeedFactor(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioFileInputNode::PlaybackSpeedFactor() const + template auto consume_Windows_Media_Audio_IAudioFileInputNode::PlaybackSpeedFactor() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->get_PlaybackSpeedFactor(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Audio_IAudioFileInputNode::Position() const + template auto consume_Windows_Media_Audio_IAudioFileInputNode::Position() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFileInputNode::Seek(winrt::Windows::Foundation::TimeSpan const& position) const + template auto consume_Windows_Media_Audio_IAudioFileInputNode::Seek(winrt::Windows::Foundation::TimeSpan const& position) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->Seek(impl::bind_in(position))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Audio_IAudioFileInputNode::StartTime() const + template auto consume_Windows_Media_Audio_IAudioFileInputNode::StartTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->get_StartTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFileInputNode::StartTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Audio_IAudioFileInputNode::StartTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->put_StartTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Audio_IAudioFileInputNode::EndTime() const + template auto consume_Windows_Media_Audio_IAudioFileInputNode::EndTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->get_EndTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFileInputNode::EndTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Audio_IAudioFileInputNode::EndTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->put_EndTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Audio_IAudioFileInputNode::LoopCount() const + template auto consume_Windows_Media_Audio_IAudioFileInputNode::LoopCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->get_LoopCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFileInputNode::LoopCount(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Audio_IAudioFileInputNode::LoopCount(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->put_LoopCount(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Audio_IAudioFileInputNode::Duration() const + template auto consume_Windows_Media_Audio_IAudioFileInputNode::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Media_Audio_IAudioFileInputNode::SourceFile() const + template auto consume_Windows_Media_Audio_IAudioFileInputNode::SourceFile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->get_SourceFile(&value)); return winrt::Windows::Storage::StorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IAudioFileInputNode::FileCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IAudioFileInputNode::FileCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->add_FileCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Audio_IAudioFileInputNode::FileCompleted_revoker consume_Windows_Media_Audio_IAudioFileInputNode::FileCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IAudioFileInputNode::FileCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FileCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFileInputNode::FileCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Audio_IAudioFileInputNode::FileCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->remove_FileCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) consume_Windows_Media_Audio_IAudioFileOutputNode::File() const + template auto consume_Windows_Media_Audio_IAudioFileOutputNode::File() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileOutputNode)->get_File(&value)); return winrt::Windows::Storage::IStorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_Audio_IAudioFileOutputNode::FileEncodingProfile() const + template auto consume_Windows_Media_Audio_IAudioFileOutputNode::FileEncodingProfile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileOutputNode)->get_FileEncodingProfile(&value)); return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Audio_IAudioFileOutputNode::FinalizeAsync() const + template auto consume_Windows_Media_Audio_IAudioFileOutputNode::FinalizeAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileOutputNode)->FinalizeAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) consume_Windows_Media_Audio_IAudioFrameCompletedEventArgs::Frame() const + template auto consume_Windows_Media_Audio_IAudioFrameCompletedEventArgs::Frame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameCompletedEventArgs)->get_Frame(&value)); return winrt::Windows::Media::AudioFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFrameInputNode::PlaybackSpeedFactor(double value) const + template auto consume_Windows_Media_Audio_IAudioFrameInputNode::PlaybackSpeedFactor(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameInputNode)->put_PlaybackSpeedFactor(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioFrameInputNode::PlaybackSpeedFactor() const + template auto consume_Windows_Media_Audio_IAudioFrameInputNode::PlaybackSpeedFactor() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameInputNode)->get_PlaybackSpeedFactor(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFrameInputNode::AddFrame(winrt::Windows::Media::AudioFrame const& frame) const + template auto consume_Windows_Media_Audio_IAudioFrameInputNode::AddFrame(winrt::Windows::Media::AudioFrame const& frame) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameInputNode)->AddFrame(*(void**)(&frame))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFrameInputNode::DiscardQueuedFrames() const + template auto consume_Windows_Media_Audio_IAudioFrameInputNode::DiscardQueuedFrames() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameInputNode)->DiscardQueuedFrames()); } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Audio_IAudioFrameInputNode::QueuedSampleCount() const + template auto consume_Windows_Media_Audio_IAudioFrameInputNode::QueuedSampleCount() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameInputNode)->get_QueuedSampleCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IAudioFrameInputNode::AudioFrameCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IAudioFrameInputNode::AudioFrameCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameInputNode)->add_AudioFrameCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Audio_IAudioFrameInputNode::AudioFrameCompleted_revoker consume_Windows_Media_Audio_IAudioFrameInputNode::AudioFrameCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IAudioFrameInputNode::AudioFrameCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AudioFrameCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFrameInputNode::AudioFrameCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Audio_IAudioFrameInputNode::AudioFrameCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameInputNode)->remove_AudioFrameCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IAudioFrameInputNode::QuantumStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IAudioFrameInputNode::QuantumStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameInputNode)->add_QuantumStarted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Audio_IAudioFrameInputNode::QuantumStarted_revoker consume_Windows_Media_Audio_IAudioFrameInputNode::QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IAudioFrameInputNode::QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, QuantumStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFrameInputNode::QuantumStarted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Audio_IAudioFrameInputNode::QuantumStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameInputNode)->remove_QuantumStarted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) consume_Windows_Media_Audio_IAudioFrameOutputNode::GetFrame() const + template auto consume_Windows_Media_Audio_IAudioFrameOutputNode::GetFrame() const { void* audioFrame{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameOutputNode)->GetFrame(&audioFrame)); return winrt::Windows::Media::AudioFrame{ audioFrame, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFrameInputNode) consume_Windows_Media_Audio_IAudioGraph::CreateFrameInputNode() const + template auto consume_Windows_Media_Audio_IAudioGraph::CreateFrameInputNode() const { void* frameInputNode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->CreateFrameInputNode(&frameInputNode)); return winrt::Windows::Media::Audio::AudioFrameInputNode{ frameInputNode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFrameInputNode) consume_Windows_Media_Audio_IAudioGraph::CreateFrameInputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const + template auto consume_Windows_Media_Audio_IAudioGraph::CreateFrameInputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const { void* frameInputNode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->CreateFrameInputNodeWithFormat(*(void**)(&encodingProperties), &frameInputNode)); return winrt::Windows::Media::Audio::AudioFrameInputNode{ frameInputNode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Audio_IAudioGraph::CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category) const + template auto consume_Windows_Media_Audio_IAudioGraph::CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->CreateDeviceInputNodeAsync(static_cast(category), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Audio_IAudioGraph::CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const + template auto consume_Windows_Media_Audio_IAudioGraph::CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->CreateDeviceInputNodeWithFormatAsync(static_cast(category), *(void**)(&encodingProperties), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Audio_IAudioGraph::CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const + template auto consume_Windows_Media_Audio_IAudioGraph::CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->CreateDeviceInputNodeWithFormatOnDeviceAsync(static_cast(category), *(void**)(&encodingProperties), *(void**)(&device), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFrameOutputNode) consume_Windows_Media_Audio_IAudioGraph::CreateFrameOutputNode() const + template auto consume_Windows_Media_Audio_IAudioGraph::CreateFrameOutputNode() const { void* frameOutputNode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->CreateFrameOutputNode(&frameOutputNode)); return winrt::Windows::Media::Audio::AudioFrameOutputNode{ frameOutputNode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFrameOutputNode) consume_Windows_Media_Audio_IAudioGraph::CreateFrameOutputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const + template auto consume_Windows_Media_Audio_IAudioGraph::CreateFrameOutputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const { void* frameOutputNode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->CreateFrameOutputNodeWithFormat(*(void**)(&encodingProperties), &frameOutputNode)); return winrt::Windows::Media::Audio::AudioFrameOutputNode{ frameOutputNode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Audio_IAudioGraph::CreateDeviceOutputNodeAsync() const + template auto consume_Windows_Media_Audio_IAudioGraph::CreateDeviceOutputNodeAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->CreateDeviceOutputNodeAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Audio_IAudioGraph::CreateFileInputNodeAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Media_Audio_IAudioGraph::CreateFileInputNodeAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->CreateFileInputNodeAsync(*(void**)(&file), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Audio_IAudioGraph::CreateFileOutputNodeAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Media_Audio_IAudioGraph::CreateFileOutputNodeAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->CreateFileOutputNodeAsync(*(void**)(&file), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Audio_IAudioGraph::CreateFileOutputNodeAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& fileEncodingProfile) const + template auto consume_Windows_Media_Audio_IAudioGraph::CreateFileOutputNodeAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& fileEncodingProfile) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->CreateFileOutputNodeWithFileProfileAsync(*(void**)(&file), *(void**)(&fileEncodingProfile), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioSubmixNode) consume_Windows_Media_Audio_IAudioGraph::CreateSubmixNode() const + template auto consume_Windows_Media_Audio_IAudioGraph::CreateSubmixNode() const { void* submixNode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->CreateSubmixNode(&submixNode)); return winrt::Windows::Media::Audio::AudioSubmixNode{ submixNode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioSubmixNode) consume_Windows_Media_Audio_IAudioGraph::CreateSubmixNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const + template auto consume_Windows_Media_Audio_IAudioGraph::CreateSubmixNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const { void* submixNode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->CreateSubmixNodeWithFormat(*(void**)(&encodingProperties), &submixNode)); return winrt::Windows::Media::Audio::AudioSubmixNode{ submixNode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraph::Start() const + template auto consume_Windows_Media_Audio_IAudioGraph::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraph::Stop() const + template auto consume_Windows_Media_Audio_IAudioGraph::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->Stop()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraph::ResetAllNodes() const + template auto consume_Windows_Media_Audio_IAudioGraph::ResetAllNodes() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->ResetAllNodes()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IAudioGraph::QuantumStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IAudioGraph::QuantumStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->add_QuantumStarted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Audio_IAudioGraph::QuantumStarted_revoker consume_Windows_Media_Audio_IAudioGraph::QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IAudioGraph::QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, QuantumStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraph::QuantumStarted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Audio_IAudioGraph::QuantumStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->remove_QuantumStarted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IAudioGraph::QuantumProcessed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IAudioGraph::QuantumProcessed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->add_QuantumProcessed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Audio_IAudioGraph::QuantumProcessed_revoker consume_Windows_Media_Audio_IAudioGraph::QuantumProcessed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IAudioGraph::QuantumProcessed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, QuantumProcessed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraph::QuantumProcessed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Audio_IAudioGraph::QuantumProcessed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->remove_QuantumProcessed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IAudioGraph::UnrecoverableErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IAudioGraph::UnrecoverableErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->add_UnrecoverableErrorOccurred(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Audio_IAudioGraph::UnrecoverableErrorOccurred_revoker consume_Windows_Media_Audio_IAudioGraph::UnrecoverableErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IAudioGraph::UnrecoverableErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UnrecoverableErrorOccurred(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraph::UnrecoverableErrorOccurred(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Audio_IAudioGraph::UnrecoverableErrorOccurred(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->remove_UnrecoverableErrorOccurred(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Audio_IAudioGraph::CompletedQuantumCount() const + template auto consume_Windows_Media_Audio_IAudioGraph::CompletedQuantumCount() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->get_CompletedQuantumCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Audio_IAudioGraph::EncodingProperties() const + template auto consume_Windows_Media_Audio_IAudioGraph::EncodingProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->get_EncodingProperties(&value)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Audio_IAudioGraph::LatencyInSamples() const + template auto consume_Windows_Media_Audio_IAudioGraph::LatencyInSamples() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->get_LatencyInSamples(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Media_Audio_IAudioGraph::PrimaryRenderDevice() const + template auto consume_Windows_Media_Audio_IAudioGraph::PrimaryRenderDevice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->get_PrimaryRenderDevice(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AudioProcessing) consume_Windows_Media_Audio_IAudioGraph::RenderDeviceAudioProcessing() const + template auto consume_Windows_Media_Audio_IAudioGraph::RenderDeviceAudioProcessing() const { winrt::Windows::Media::AudioProcessing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->get_RenderDeviceAudioProcessing(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Audio_IAudioGraph::SamplesPerQuantum() const + template auto consume_Windows_Media_Audio_IAudioGraph::SamplesPerQuantum() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->get_SamplesPerQuantum(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFrameInputNode) consume_Windows_Media_Audio_IAudioGraph2::CreateFrameInputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const + template auto consume_Windows_Media_Audio_IAudioGraph2::CreateFrameInputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const { void* frameInputNode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph2)->CreateFrameInputNodeWithFormatAndEmitter(*(void**)(&encodingProperties), *(void**)(&emitter), &frameInputNode)); return winrt::Windows::Media::Audio::AudioFrameInputNode{ frameInputNode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Audio_IAudioGraph2::CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Devices::Enumeration::DeviceInformation const& device, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const + template auto consume_Windows_Media_Audio_IAudioGraph2::CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Devices::Enumeration::DeviceInformation const& device, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph2)->CreateDeviceInputNodeWithFormatAndEmitterOnDeviceAsync(static_cast(category), *(void**)(&encodingProperties), *(void**)(&device), *(void**)(&emitter), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Audio_IAudioGraph2::CreateFileInputNodeAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const + template auto consume_Windows_Media_Audio_IAudioGraph2::CreateFileInputNodeAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph2)->CreateFileInputNodeWithEmitterAsync(*(void**)(&file), *(void**)(&emitter), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioSubmixNode) consume_Windows_Media_Audio_IAudioGraph2::CreateSubmixNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const + template auto consume_Windows_Media_Audio_IAudioGraph2::CreateSubmixNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const { void* submixNode{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph2)->CreateSubmixNodeWithFormatAndEmitter(*(void**)(&encodingProperties), *(void**)(&emitter), &submixNode)); return winrt::Windows::Media::Audio::AudioSubmixNode{ submixNode, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioGraphBatchUpdater) consume_Windows_Media_Audio_IAudioGraph2::CreateBatchUpdater() const + template auto consume_Windows_Media_Audio_IAudioGraph2::CreateBatchUpdater() const { void* updater{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph2)->CreateBatchUpdater(&updater)); return winrt::Windows::Media::Audio::AudioGraphBatchUpdater{ updater, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Audio_IAudioGraph3::CreateMediaSourceAudioInputNodeAsync(winrt::Windows::Media::Core::MediaSource const& mediaSource) const + template auto consume_Windows_Media_Audio_IAudioGraph3::CreateMediaSourceAudioInputNodeAsync(winrt::Windows::Media::Core::MediaSource const& mediaSource) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph3)->CreateMediaSourceAudioInputNodeAsync(*(void**)(&mediaSource), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Audio_IAudioGraph3::CreateMediaSourceAudioInputNodeAsync(winrt::Windows::Media::Core::MediaSource const& mediaSource, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const + template auto consume_Windows_Media_Audio_IAudioGraph3::CreateMediaSourceAudioInputNodeAsync(winrt::Windows::Media::Core::MediaSource const& mediaSource, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph3)->CreateMediaSourceAudioInputNodeWithEmitterAsync(*(void**)(&mediaSource), *(void**)(&emitter), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::IAudioNode) consume_Windows_Media_Audio_IAudioGraphConnection::Destination() const + template auto consume_Windows_Media_Audio_IAudioGraphConnection::Destination() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphConnection)->get_Destination(&value)); return winrt::Windows::Media::Audio::IAudioNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraphConnection::Gain(double value) const + template auto consume_Windows_Media_Audio_IAudioGraphConnection::Gain(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphConnection)->put_Gain(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioGraphConnection::Gain() const + template auto consume_Windows_Media_Audio_IAudioGraphConnection::Gain() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphConnection)->get_Gain(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Audio_IAudioGraphSettings::EncodingProperties() const + template auto consume_Windows_Media_Audio_IAudioGraphSettings::EncodingProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->get_EncodingProperties(&value)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraphSettings::EncodingProperties(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& value) const + template auto consume_Windows_Media_Audio_IAudioGraphSettings::EncodingProperties(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->put_EncodingProperties(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Media_Audio_IAudioGraphSettings::PrimaryRenderDevice() const + template auto consume_Windows_Media_Audio_IAudioGraphSettings::PrimaryRenderDevice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->get_PrimaryRenderDevice(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraphSettings::PrimaryRenderDevice(winrt::Windows::Devices::Enumeration::DeviceInformation const& value) const + template auto consume_Windows_Media_Audio_IAudioGraphSettings::PrimaryRenderDevice(winrt::Windows::Devices::Enumeration::DeviceInformation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->put_PrimaryRenderDevice(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::QuantumSizeSelectionMode) consume_Windows_Media_Audio_IAudioGraphSettings::QuantumSizeSelectionMode() const + template auto consume_Windows_Media_Audio_IAudioGraphSettings::QuantumSizeSelectionMode() const { winrt::Windows::Media::Audio::QuantumSizeSelectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->get_QuantumSizeSelectionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraphSettings::QuantumSizeSelectionMode(winrt::Windows::Media::Audio::QuantumSizeSelectionMode const& value) const + template auto consume_Windows_Media_Audio_IAudioGraphSettings::QuantumSizeSelectionMode(winrt::Windows::Media::Audio::QuantumSizeSelectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->put_QuantumSizeSelectionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Audio_IAudioGraphSettings::DesiredSamplesPerQuantum() const + template auto consume_Windows_Media_Audio_IAudioGraphSettings::DesiredSamplesPerQuantum() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->get_DesiredSamplesPerQuantum(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraphSettings::DesiredSamplesPerQuantum(int32_t value) const + template auto consume_Windows_Media_Audio_IAudioGraphSettings::DesiredSamplesPerQuantum(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->put_DesiredSamplesPerQuantum(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Render::AudioRenderCategory) consume_Windows_Media_Audio_IAudioGraphSettings::AudioRenderCategory() const + template auto consume_Windows_Media_Audio_IAudioGraphSettings::AudioRenderCategory() const { winrt::Windows::Media::Render::AudioRenderCategory value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->get_AudioRenderCategory(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraphSettings::AudioRenderCategory(winrt::Windows::Media::Render::AudioRenderCategory const& value) const + template auto consume_Windows_Media_Audio_IAudioGraphSettings::AudioRenderCategory(winrt::Windows::Media::Render::AudioRenderCategory const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->put_AudioRenderCategory(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AudioProcessing) consume_Windows_Media_Audio_IAudioGraphSettings::DesiredRenderDeviceAudioProcessing() const + template auto consume_Windows_Media_Audio_IAudioGraphSettings::DesiredRenderDeviceAudioProcessing() const { winrt::Windows::Media::AudioProcessing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->get_DesiredRenderDeviceAudioProcessing(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraphSettings::DesiredRenderDeviceAudioProcessing(winrt::Windows::Media::AudioProcessing const& value) const + template auto consume_Windows_Media_Audio_IAudioGraphSettings::DesiredRenderDeviceAudioProcessing(winrt::Windows::Media::AudioProcessing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->put_DesiredRenderDeviceAudioProcessing(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraphSettings2::MaxPlaybackSpeedFactor(double value) const + template auto consume_Windows_Media_Audio_IAudioGraphSettings2::MaxPlaybackSpeedFactor(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings2)->put_MaxPlaybackSpeedFactor(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioGraphSettings2::MaxPlaybackSpeedFactor() const + template auto consume_Windows_Media_Audio_IAudioGraphSettings2::MaxPlaybackSpeedFactor() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings2)->get_MaxPlaybackSpeedFactor(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioGraphSettings) consume_Windows_Media_Audio_IAudioGraphSettingsFactory::Create(winrt::Windows::Media::Render::AudioRenderCategory const& audioRenderCategory) const + template auto consume_Windows_Media_Audio_IAudioGraphSettingsFactory::Create(winrt::Windows::Media::Render::AudioRenderCategory const& audioRenderCategory) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettingsFactory)->Create(static_cast(audioRenderCategory), &value)); return winrt::Windows::Media::Audio::AudioGraphSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Audio_IAudioGraphStatics::CreateAsync(winrt::Windows::Media::Audio::AudioGraphSettings const& settings) const + template auto consume_Windows_Media_Audio_IAudioGraphStatics::CreateAsync(winrt::Windows::Media::Audio::AudioGraphSettings const& settings) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphStatics)->CreateAsync(*(void**)(&settings), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioGraphUnrecoverableError) consume_Windows_Media_Audio_IAudioGraphUnrecoverableErrorOccurredEventArgs::Error() const + template auto consume_Windows_Media_Audio_IAudioGraphUnrecoverableErrorOccurredEventArgs::Error() const { winrt::Windows::Media::Audio::AudioGraphUnrecoverableError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphUnrecoverableErrorOccurredEventArgs)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Audio_IAudioInputNode::OutgoingConnections() const + template auto consume_Windows_Media_Audio_IAudioInputNode::OutgoingConnections() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioInputNode)->get_OutgoingConnections(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioInputNode::AddOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination) const + template auto consume_Windows_Media_Audio_IAudioInputNode::AddOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioInputNode)->AddOutgoingConnection(*(void**)(&destination))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioInputNode::AddOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination, double gain) const + template auto consume_Windows_Media_Audio_IAudioInputNode::AddOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination, double gain) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioInputNode)->AddOutgoingConnectionWithGain(*(void**)(&destination), gain)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioInputNode::RemoveOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination) const + template auto consume_Windows_Media_Audio_IAudioInputNode::RemoveOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioInputNode)->RemoveOutgoingConnection(*(void**)(&destination))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitter) consume_Windows_Media_Audio_IAudioInputNode2::Emitter() const + template auto consume_Windows_Media_Audio_IAudioInputNode2::Emitter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioInputNode2)->get_Emitter(&value)); return winrt::Windows::Media::Audio::AudioNodeEmitter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_Audio_IAudioNode::EffectDefinitions() const + template auto consume_Windows_Media_Audio_IAudioNode::EffectDefinitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->get_EffectDefinitions(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNode::OutgoingGain(double value) const + template auto consume_Windows_Media_Audio_IAudioNode::OutgoingGain(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->put_OutgoingGain(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNode::OutgoingGain() const + template auto consume_Windows_Media_Audio_IAudioNode::OutgoingGain() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->get_OutgoingGain(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Audio_IAudioNode::EncodingProperties() const + template auto consume_Windows_Media_Audio_IAudioNode::EncodingProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->get_EncodingProperties(&value)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Audio_IAudioNode::ConsumeInput() const + template auto consume_Windows_Media_Audio_IAudioNode::ConsumeInput() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->get_ConsumeInput(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNode::ConsumeInput(bool value) const + template auto consume_Windows_Media_Audio_IAudioNode::ConsumeInput(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->put_ConsumeInput(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNode::Start() const + template auto consume_Windows_Media_Audio_IAudioNode::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNode::Stop() const + template auto consume_Windows_Media_Audio_IAudioNode::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->Stop()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNode::Reset() const + template auto consume_Windows_Media_Audio_IAudioNode::Reset() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->Reset()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNode::DisableEffectsByDefinition(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const + template auto consume_Windows_Media_Audio_IAudioNode::DisableEffectsByDefinition(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->DisableEffectsByDefinition(*(void**)(&definition))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNode::EnableEffectsByDefinition(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const + template auto consume_Windows_Media_Audio_IAudioNode::EnableEffectsByDefinition(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->EnableEffectsByDefinition(*(void**)(&definition))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Media_Audio_IAudioNodeEmitter::Position() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter::Position() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeEmitter::Position(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter::Position(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->put_Position(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Media_Audio_IAudioNodeEmitter::Direction() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter::Direction() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->get_Direction(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeEmitter::Direction(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter::Direction(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->put_Direction(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterShape) consume_Windows_Media_Audio_IAudioNodeEmitter::Shape() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter::Shape() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->get_Shape(&value)); return winrt::Windows::Media::Audio::AudioNodeEmitterShape{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel) consume_Windows_Media_Audio_IAudioNodeEmitter::DecayModel() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter::DecayModel() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->get_DecayModel(&value)); return winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitter::Gain() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter::Gain() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->get_Gain(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeEmitter::Gain(double value) const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter::Gain(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->put_Gain(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitter::DistanceScale() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter::DistanceScale() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->get_DistanceScale(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeEmitter::DistanceScale(double value) const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter::DistanceScale(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->put_DistanceScale(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitter::DopplerScale() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter::DopplerScale() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->get_DopplerScale(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeEmitter::DopplerScale(double value) const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter::DopplerScale(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->put_DopplerScale(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Media_Audio_IAudioNodeEmitter::DopplerVelocity() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter::DopplerVelocity() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->get_DopplerVelocity(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeEmitter::DopplerVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter::DopplerVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->put_DopplerVelocity(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Audio_IAudioNodeEmitter::IsDopplerDisabled() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter::IsDopplerDisabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->get_IsDopplerDisabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::SpatialAudioModel) consume_Windows_Media_Audio_IAudioNodeEmitter2::SpatialAudioModel() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter2::SpatialAudioModel() const { winrt::Windows::Media::Audio::SpatialAudioModel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter2)->get_SpatialAudioModel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeEmitter2::SpatialAudioModel(winrt::Windows::Media::Audio::SpatialAudioModel const& value) const + template auto consume_Windows_Media_Audio_IAudioNodeEmitter2::SpatialAudioModel(winrt::Windows::Media::Audio::SpatialAudioModel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter2)->put_SpatialAudioModel(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitterConeProperties::InnerAngle() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitterConeProperties::InnerAngle() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterConeProperties)->get_InnerAngle(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitterConeProperties::OuterAngle() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitterConeProperties::OuterAngle() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterConeProperties)->get_OuterAngle(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitterConeProperties::OuterAngleGain() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitterConeProperties::OuterAngleGain() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterConeProperties)->get_OuterAngleGain(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterDecayKind) consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel::Kind() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel::Kind() const { winrt::Windows::Media::Audio::AudioNodeEmitterDecayKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterDecayModel)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel::MinGain() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel::MinGain() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterDecayModel)->get_MinGain(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel::MaxGain() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel::MaxGain() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterDecayModel)->get_MaxGain(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterNaturalDecayModelProperties) consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel::NaturalProperties() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel::NaturalProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterDecayModel)->get_NaturalProperties(&value)); return winrt::Windows::Media::Audio::AudioNodeEmitterNaturalDecayModelProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel) consume_Windows_Media_Audio_IAudioNodeEmitterDecayModelStatics::CreateNatural(double minGain, double maxGain, double unityGainDistance, double cutoffDistance) const + template auto consume_Windows_Media_Audio_IAudioNodeEmitterDecayModelStatics::CreateNatural(double minGain, double maxGain, double unityGainDistance, double cutoffDistance) const { void* decayModel{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterDecayModelStatics)->CreateNatural(minGain, maxGain, unityGainDistance, cutoffDistance, &decayModel)); return winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel{ decayModel, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel) consume_Windows_Media_Audio_IAudioNodeEmitterDecayModelStatics::CreateCustom(double minGain, double maxGain) const + template auto consume_Windows_Media_Audio_IAudioNodeEmitterDecayModelStatics::CreateCustom(double minGain, double maxGain) const { void* decayModel{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterDecayModelStatics)->CreateCustom(minGain, maxGain, &decayModel)); return winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel{ decayModel, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitter) consume_Windows_Media_Audio_IAudioNodeEmitterFactory::CreateAudioNodeEmitter(winrt::Windows::Media::Audio::AudioNodeEmitterShape const& shape, winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel const& decayModel, winrt::Windows::Media::Audio::AudioNodeEmitterSettings const& settings) const + template auto consume_Windows_Media_Audio_IAudioNodeEmitterFactory::CreateAudioNodeEmitter(winrt::Windows::Media::Audio::AudioNodeEmitterShape const& shape, winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel const& decayModel, winrt::Windows::Media::Audio::AudioNodeEmitterSettings const& settings) const { void* emitter{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterFactory)->CreateAudioNodeEmitter(*(void**)(&shape), *(void**)(&decayModel), static_cast(settings), &emitter)); return winrt::Windows::Media::Audio::AudioNodeEmitter{ emitter, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitterNaturalDecayModelProperties::UnityGainDistance() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitterNaturalDecayModelProperties::UnityGainDistance() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterNaturalDecayModelProperties)->get_UnityGainDistance(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitterNaturalDecayModelProperties::CutoffDistance() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitterNaturalDecayModelProperties::CutoffDistance() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterNaturalDecayModelProperties)->get_CutoffDistance(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterShapeKind) consume_Windows_Media_Audio_IAudioNodeEmitterShape::Kind() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitterShape::Kind() const { winrt::Windows::Media::Audio::AudioNodeEmitterShapeKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterShape)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterConeProperties) consume_Windows_Media_Audio_IAudioNodeEmitterShape::ConeProperties() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitterShape::ConeProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterShape)->get_ConeProperties(&value)); return winrt::Windows::Media::Audio::AudioNodeEmitterConeProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterShape) consume_Windows_Media_Audio_IAudioNodeEmitterShapeStatics::CreateCone(double innerAngle, double outerAngle, double outerAngleGain) const + template auto consume_Windows_Media_Audio_IAudioNodeEmitterShapeStatics::CreateCone(double innerAngle, double outerAngle, double outerAngleGain) const { void* shape{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterShapeStatics)->CreateCone(innerAngle, outerAngle, outerAngleGain, &shape)); return winrt::Windows::Media::Audio::AudioNodeEmitterShape{ shape, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterShape) consume_Windows_Media_Audio_IAudioNodeEmitterShapeStatics::CreateOmnidirectional() const + template auto consume_Windows_Media_Audio_IAudioNodeEmitterShapeStatics::CreateOmnidirectional() const { void* shape{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterShapeStatics)->CreateOmnidirectional(&shape)); return winrt::Windows::Media::Audio::AudioNodeEmitterShape{ shape, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Media_Audio_IAudioNodeListener::Position() const + template auto consume_Windows_Media_Audio_IAudioNodeListener::Position() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeListener)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeListener::Position(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_Media_Audio_IAudioNodeListener::Position(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeListener)->put_Position(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_Media_Audio_IAudioNodeListener::Orientation() const + template auto consume_Windows_Media_Audio_IAudioNodeListener::Orientation() const { winrt::Windows::Foundation::Numerics::quaternion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeListener)->get_Orientation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeListener::Orientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const + template auto consume_Windows_Media_Audio_IAudioNodeListener::Orientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeListener)->put_Orientation(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeListener::SpeedOfSound() const + template auto consume_Windows_Media_Audio_IAudioNodeListener::SpeedOfSound() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeListener)->get_SpeedOfSound(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeListener::SpeedOfSound(double value) const + template auto consume_Windows_Media_Audio_IAudioNodeListener::SpeedOfSound(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeListener)->put_SpeedOfSound(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Media_Audio_IAudioNodeListener::DopplerVelocity() const + template auto consume_Windows_Media_Audio_IAudioNodeListener::DopplerVelocity() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeListener)->get_DopplerVelocity(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeListener::DopplerVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_Media_Audio_IAudioNodeListener::DopplerVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeListener)->put_DopplerVelocity(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeWithListener::Listener(winrt::Windows::Media::Audio::AudioNodeListener const& value) const + template auto consume_Windows_Media_Audio_IAudioNodeWithListener::Listener(winrt::Windows::Media::Audio::AudioNodeListener const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeWithListener)->put_Listener(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeListener) consume_Windows_Media_Audio_IAudioNodeWithListener::Listener() const + template auto consume_Windows_Media_Audio_IAudioNodeWithListener::Listener() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeWithListener)->get_Listener(&value)); return winrt::Windows::Media::Audio::AudioNodeListener{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioPlaybackConnection::Start() const + template auto consume_Windows_Media_Audio_IAudioPlaybackConnection::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnection)->Start()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Audio_IAudioPlaybackConnection::StartAsync() const + template auto consume_Windows_Media_Audio_IAudioPlaybackConnection::StartAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnection)->StartAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_IAudioPlaybackConnection::DeviceId() const + template auto consume_Windows_Media_Audio_IAudioPlaybackConnection::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnection)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioPlaybackConnectionState) consume_Windows_Media_Audio_IAudioPlaybackConnection::State() const + template auto consume_Windows_Media_Audio_IAudioPlaybackConnection::State() const { winrt::Windows::Media::Audio::AudioPlaybackConnectionState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnection)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioPlaybackConnectionOpenResult) consume_Windows_Media_Audio_IAudioPlaybackConnection::Open() const + template auto consume_Windows_Media_Audio_IAudioPlaybackConnection::Open() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnection)->Open(&result)); return winrt::Windows::Media::Audio::AudioPlaybackConnectionOpenResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Audio_IAudioPlaybackConnection::OpenAsync() const + template auto consume_Windows_Media_Audio_IAudioPlaybackConnection::OpenAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnection)->OpenAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IAudioPlaybackConnection::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IAudioPlaybackConnection::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnection)->add_StateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Audio_IAudioPlaybackConnection::StateChanged_revoker consume_Windows_Media_Audio_IAudioPlaybackConnection::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IAudioPlaybackConnection::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioPlaybackConnection::StateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Audio_IAudioPlaybackConnection::StateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnection)->remove_StateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioPlaybackConnectionOpenResultStatus) consume_Windows_Media_Audio_IAudioPlaybackConnectionOpenResult::Status() const + template auto consume_Windows_Media_Audio_IAudioPlaybackConnectionOpenResult::Status() const { winrt::Windows::Media::Audio::AudioPlaybackConnectionOpenResultStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnectionOpenResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Audio_IAudioPlaybackConnectionOpenResult::ExtendedError() const + template auto consume_Windows_Media_Audio_IAudioPlaybackConnectionOpenResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnectionOpenResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_IAudioPlaybackConnectionStatics::GetDeviceSelector() const + template auto consume_Windows_Media_Audio_IAudioPlaybackConnectionStatics::GetDeviceSelector() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnectionStatics)->GetDeviceSelector(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioPlaybackConnection) consume_Windows_Media_Audio_IAudioPlaybackConnectionStatics::TryCreateFromId(param::hstring const& id) const + template auto consume_Windows_Media_Audio_IAudioPlaybackConnectionStatics::TryCreateFromId(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnectionStatics)->TryCreateFromId(*(void**)(&id), &result)); return winrt::Windows::Media::Audio::AudioPlaybackConnection{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IAudioStateMonitor::SoundLevelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IAudioStateMonitor::SoundLevelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioStateMonitor)->add_SoundLevelChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Audio_IAudioStateMonitor::SoundLevelChanged_revoker consume_Windows_Media_Audio_IAudioStateMonitor::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IAudioStateMonitor::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SoundLevelChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioStateMonitor::SoundLevelChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Audio_IAudioStateMonitor::SoundLevelChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioStateMonitor)->remove_SoundLevelChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SoundLevel) consume_Windows_Media_Audio_IAudioStateMonitor::SoundLevel() const + template auto consume_Windows_Media_Audio_IAudioStateMonitor::SoundLevel() const { winrt::Windows::Media::SoundLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioStateMonitor)->get_SoundLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Audio_IAudioStateMonitorStatics::CreateForRenderMonitoring() const + template auto consume_Windows_Media_Audio_IAudioStateMonitorStatics::CreateForRenderMonitoring() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioStateMonitorStatics)->CreateForRenderMonitoring(&result)); return winrt::Windows::Media::Audio::AudioStateMonitor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Audio_IAudioStateMonitorStatics::CreateForRenderMonitoring(winrt::Windows::Media::Render::AudioRenderCategory const& category) const + template auto consume_Windows_Media_Audio_IAudioStateMonitorStatics::CreateForRenderMonitoring(winrt::Windows::Media::Render::AudioRenderCategory const& category) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioStateMonitorStatics)->CreateForRenderMonitoringWithCategory(static_cast(category), &result)); return winrt::Windows::Media::Audio::AudioStateMonitor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Audio_IAudioStateMonitorStatics::CreateForRenderMonitoring(winrt::Windows::Media::Render::AudioRenderCategory const& category, winrt::Windows::Media::Devices::AudioDeviceRole const& role) const + template auto consume_Windows_Media_Audio_IAudioStateMonitorStatics::CreateForRenderMonitoring(winrt::Windows::Media::Render::AudioRenderCategory const& category, winrt::Windows::Media::Devices::AudioDeviceRole const& role) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioStateMonitorStatics)->CreateForRenderMonitoringWithCategoryAndDeviceRole(static_cast(category), static_cast(role), &result)); return winrt::Windows::Media::Audio::AudioStateMonitor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Audio_IAudioStateMonitorStatics::CreateForRenderMonitoringWithCategoryAndDeviceId(winrt::Windows::Media::Render::AudioRenderCategory const& category, param::hstring const& deviceId) const + template auto consume_Windows_Media_Audio_IAudioStateMonitorStatics::CreateForRenderMonitoringWithCategoryAndDeviceId(winrt::Windows::Media::Render::AudioRenderCategory const& category, param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioStateMonitorStatics)->CreateForRenderMonitoringWithCategoryAndDeviceId(static_cast(category), *(void**)(&deviceId), &result)); return winrt::Windows::Media::Audio::AudioStateMonitor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Audio_IAudioStateMonitorStatics::CreateForCaptureMonitoring() const + template auto consume_Windows_Media_Audio_IAudioStateMonitorStatics::CreateForCaptureMonitoring() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioStateMonitorStatics)->CreateForCaptureMonitoring(&result)); return winrt::Windows::Media::Audio::AudioStateMonitor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Audio_IAudioStateMonitorStatics::CreateForCaptureMonitoring(winrt::Windows::Media::Capture::MediaCategory const& category) const + template auto consume_Windows_Media_Audio_IAudioStateMonitorStatics::CreateForCaptureMonitoring(winrt::Windows::Media::Capture::MediaCategory const& category) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioStateMonitorStatics)->CreateForCaptureMonitoringWithCategory(static_cast(category), &result)); return winrt::Windows::Media::Audio::AudioStateMonitor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Audio_IAudioStateMonitorStatics::CreateForCaptureMonitoring(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::Devices::AudioDeviceRole const& role) const + template auto consume_Windows_Media_Audio_IAudioStateMonitorStatics::CreateForCaptureMonitoring(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::Devices::AudioDeviceRole const& role) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioStateMonitorStatics)->CreateForCaptureMonitoringWithCategoryAndDeviceRole(static_cast(category), static_cast(role), &result)); return winrt::Windows::Media::Audio::AudioStateMonitor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Audio_IAudioStateMonitorStatics::CreateForCaptureMonitoringWithCategoryAndDeviceId(winrt::Windows::Media::Capture::MediaCategory const& category, param::hstring const& deviceId) const + template auto consume_Windows_Media_Audio_IAudioStateMonitorStatics::CreateForCaptureMonitoringWithCategoryAndDeviceId(winrt::Windows::Media::Capture::MediaCategory const& category, param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioStateMonitorStatics)->CreateForCaptureMonitoringWithCategoryAndDeviceId(static_cast(category), *(void**)(&deviceId), &result)); return winrt::Windows::Media::Audio::AudioStateMonitor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioDeviceNodeCreationStatus) consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult::Status() const + template auto consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult::Status() const { winrt::Windows::Media::Audio::AudioDeviceNodeCreationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioDeviceInputNodeResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioDeviceInputNode) consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult::DeviceInputNode() const + template auto consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult::DeviceInputNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioDeviceInputNodeResult)->get_DeviceInputNode(&value)); return winrt::Windows::Media::Audio::AudioDeviceInputNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult2::ExtendedError() const + template auto consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult2::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioDeviceInputNodeResult2)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioDeviceNodeCreationStatus) consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult::Status() const + template auto consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult::Status() const { winrt::Windows::Media::Audio::AudioDeviceNodeCreationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioDeviceOutputNodeResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioDeviceOutputNode) consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult::DeviceOutputNode() const + template auto consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult::DeviceOutputNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioDeviceOutputNodeResult)->get_DeviceOutputNode(&value)); return winrt::Windows::Media::Audio::AudioDeviceOutputNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult2::ExtendedError() const + template auto consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult2::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioDeviceOutputNodeResult2)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFileNodeCreationStatus) consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult::Status() const + template auto consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult::Status() const { winrt::Windows::Media::Audio::AudioFileNodeCreationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioFileInputNodeResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFileInputNode) consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult::FileInputNode() const + template auto consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult::FileInputNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioFileInputNodeResult)->get_FileInputNode(&value)); return winrt::Windows::Media::Audio::AudioFileInputNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult2::ExtendedError() const + template auto consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult2::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioFileInputNodeResult2)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFileNodeCreationStatus) consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult::Status() const + template auto consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult::Status() const { winrt::Windows::Media::Audio::AudioFileNodeCreationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioFileOutputNodeResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFileOutputNode) consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult::FileOutputNode() const + template auto consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult::FileOutputNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioFileOutputNodeResult)->get_FileOutputNode(&value)); return winrt::Windows::Media::Audio::AudioFileOutputNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult2::ExtendedError() const + template auto consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult2::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioFileOutputNodeResult2)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioGraphCreationStatus) consume_Windows_Media_Audio_ICreateAudioGraphResult::Status() const + template auto consume_Windows_Media_Audio_ICreateAudioGraphResult::Status() const { winrt::Windows::Media::Audio::AudioGraphCreationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioGraphResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioGraph) consume_Windows_Media_Audio_ICreateAudioGraphResult::Graph() const + template auto consume_Windows_Media_Audio_ICreateAudioGraphResult::Graph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioGraphResult)->get_Graph(&value)); return winrt::Windows::Media::Audio::AudioGraph{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Audio_ICreateAudioGraphResult2::ExtendedError() const + template auto consume_Windows_Media_Audio_ICreateAudioGraphResult2::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioGraphResult2)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::MediaSourceAudioInputNodeCreationStatus) consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult::Status() const + template auto consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult::Status() const { winrt::Windows::Media::Audio::MediaSourceAudioInputNodeCreationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateMediaSourceAudioInputNodeResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::MediaSourceAudioInputNode) consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult::Node() const + template auto consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult::Node() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateMediaSourceAudioInputNodeResult)->get_Node(&value)); return winrt::Windows::Media::Audio::MediaSourceAudioInputNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult2::ExtendedError() const + template auto consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult2::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateMediaSourceAudioInputNodeResult2)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IEchoEffectDefinition::WetDryMix(double value) const + template auto consume_Windows_Media_Audio_IEchoEffectDefinition::WetDryMix(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEchoEffectDefinition)->put_WetDryMix(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IEchoEffectDefinition::WetDryMix() const + template auto consume_Windows_Media_Audio_IEchoEffectDefinition::WetDryMix() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEchoEffectDefinition)->get_WetDryMix(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IEchoEffectDefinition::Feedback(double value) const + template auto consume_Windows_Media_Audio_IEchoEffectDefinition::Feedback(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEchoEffectDefinition)->put_Feedback(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IEchoEffectDefinition::Feedback() const + template auto consume_Windows_Media_Audio_IEchoEffectDefinition::Feedback() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEchoEffectDefinition)->get_Feedback(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IEchoEffectDefinition::Delay(double value) const + template auto consume_Windows_Media_Audio_IEchoEffectDefinition::Delay(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEchoEffectDefinition)->put_Delay(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IEchoEffectDefinition::Delay() const + template auto consume_Windows_Media_Audio_IEchoEffectDefinition::Delay() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEchoEffectDefinition)->get_Delay(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::EchoEffectDefinition) consume_Windows_Media_Audio_IEchoEffectDefinitionFactory::Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const + template auto consume_Windows_Media_Audio_IEchoEffectDefinitionFactory::Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEchoEffectDefinitionFactory)->Create(*(void**)(&audioGraph), &value)); return winrt::Windows::Media::Audio::EchoEffectDefinition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IEqualizerBand::Bandwidth() const + template auto consume_Windows_Media_Audio_IEqualizerBand::Bandwidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEqualizerBand)->get_Bandwidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IEqualizerBand::Bandwidth(double value) const + template auto consume_Windows_Media_Audio_IEqualizerBand::Bandwidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEqualizerBand)->put_Bandwidth(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IEqualizerBand::FrequencyCenter() const + template auto consume_Windows_Media_Audio_IEqualizerBand::FrequencyCenter() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEqualizerBand)->get_FrequencyCenter(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IEqualizerBand::FrequencyCenter(double value) const + template auto consume_Windows_Media_Audio_IEqualizerBand::FrequencyCenter(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEqualizerBand)->put_FrequencyCenter(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IEqualizerBand::Gain() const + template auto consume_Windows_Media_Audio_IEqualizerBand::Gain() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEqualizerBand)->get_Gain(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IEqualizerBand::Gain(double value) const + template auto consume_Windows_Media_Audio_IEqualizerBand::Gain(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEqualizerBand)->put_Gain(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Audio_IEqualizerEffectDefinition::Bands() const + template auto consume_Windows_Media_Audio_IEqualizerEffectDefinition::Bands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEqualizerEffectDefinition)->get_Bands(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::EqualizerEffectDefinition) consume_Windows_Media_Audio_IEqualizerEffectDefinitionFactory::Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const + template auto consume_Windows_Media_Audio_IEqualizerEffectDefinitionFactory::Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEqualizerEffectDefinitionFactory)->Create(*(void**)(&audioGraph), &value)); return winrt::Windows::Media::Audio::EqualizerEffectDefinition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Audio_IFrameInputNodeQuantumStartedEventArgs::RequiredSamples() const + template auto consume_Windows_Media_Audio_IFrameInputNodeQuantumStartedEventArgs::RequiredSamples() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IFrameInputNodeQuantumStartedEventArgs)->get_RequiredSamples(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_ILimiterEffectDefinition::Release(uint32_t value) const + template auto consume_Windows_Media_Audio_ILimiterEffectDefinition::Release(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ILimiterEffectDefinition)->put_Release(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Audio_ILimiterEffectDefinition::Release() const + template auto consume_Windows_Media_Audio_ILimiterEffectDefinition::Release() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ILimiterEffectDefinition)->get_Release(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_ILimiterEffectDefinition::Loudness(uint32_t value) const + template auto consume_Windows_Media_Audio_ILimiterEffectDefinition::Loudness(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ILimiterEffectDefinition)->put_Loudness(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Audio_ILimiterEffectDefinition::Loudness() const + template auto consume_Windows_Media_Audio_ILimiterEffectDefinition::Loudness() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ILimiterEffectDefinition)->get_Loudness(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::LimiterEffectDefinition) consume_Windows_Media_Audio_ILimiterEffectDefinitionFactory::Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const + template auto consume_Windows_Media_Audio_ILimiterEffectDefinitionFactory::Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ILimiterEffectDefinitionFactory)->Create(*(void**)(&audioGraph), &value)); return winrt::Windows::Media::Audio::LimiterEffectDefinition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IMediaSourceAudioInputNode::PlaybackSpeedFactor(double value) const + template auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode::PlaybackSpeedFactor(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->put_PlaybackSpeedFactor(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IMediaSourceAudioInputNode::PlaybackSpeedFactor() const + template auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode::PlaybackSpeedFactor() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->get_PlaybackSpeedFactor(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Audio_IMediaSourceAudioInputNode::Position() const + template auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode::Position() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IMediaSourceAudioInputNode::Seek(winrt::Windows::Foundation::TimeSpan const& position) const + template auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode::Seek(winrt::Windows::Foundation::TimeSpan const& position) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->Seek(impl::bind_in(position))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Audio_IMediaSourceAudioInputNode::StartTime() const + template auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode::StartTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->get_StartTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IMediaSourceAudioInputNode::StartTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode::StartTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->put_StartTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Audio_IMediaSourceAudioInputNode::EndTime() const + template auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode::EndTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->get_EndTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IMediaSourceAudioInputNode::EndTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode::EndTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->put_EndTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Audio_IMediaSourceAudioInputNode::LoopCount() const + template auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode::LoopCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->get_LoopCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IMediaSourceAudioInputNode::LoopCount(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode::LoopCount(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->put_LoopCount(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Audio_IMediaSourceAudioInputNode::Duration() const + template auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Audio_IMediaSourceAudioInputNode::MediaSource() const + template auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode::MediaSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->get_MediaSource(&value)); return winrt::Windows::Media::Core::MediaSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IMediaSourceAudioInputNode::MediaSourceCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode::MediaSourceCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->add_MediaSourceCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Audio_IMediaSourceAudioInputNode::MediaSourceCompleted_revoker consume_Windows_Media_Audio_IMediaSourceAudioInputNode::MediaSourceCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode::MediaSourceCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MediaSourceCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IMediaSourceAudioInputNode::MediaSourceCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode::MediaSourceCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->remove_MediaSourceCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::WetDryMix(double value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::WetDryMix(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_WetDryMix(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition::WetDryMix() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::WetDryMix() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_WetDryMix(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::ReflectionsDelay(uint32_t value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::ReflectionsDelay(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_ReflectionsDelay(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Audio_IReverbEffectDefinition::ReflectionsDelay() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::ReflectionsDelay() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_ReflectionsDelay(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::ReverbDelay(uint8_t value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::ReverbDelay(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_ReverbDelay(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition::ReverbDelay() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::ReverbDelay() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_ReverbDelay(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::RearDelay(uint8_t value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::RearDelay(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_RearDelay(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition::RearDelay() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::RearDelay() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_RearDelay(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::PositionLeft(uint8_t value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::PositionLeft(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_PositionLeft(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition::PositionLeft() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::PositionLeft() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_PositionLeft(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::PositionRight(uint8_t value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::PositionRight(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_PositionRight(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition::PositionRight() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::PositionRight() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_PositionRight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::PositionMatrixLeft(uint8_t value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::PositionMatrixLeft(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_PositionMatrixLeft(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition::PositionMatrixLeft() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::PositionMatrixLeft() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_PositionMatrixLeft(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::PositionMatrixRight(uint8_t value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::PositionMatrixRight(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_PositionMatrixRight(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition::PositionMatrixRight() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::PositionMatrixRight() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_PositionMatrixRight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::EarlyDiffusion(uint8_t value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::EarlyDiffusion(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_EarlyDiffusion(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition::EarlyDiffusion() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::EarlyDiffusion() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_EarlyDiffusion(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::LateDiffusion(uint8_t value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::LateDiffusion(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_LateDiffusion(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition::LateDiffusion() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::LateDiffusion() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_LateDiffusion(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::LowEQGain(uint8_t value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::LowEQGain(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_LowEQGain(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition::LowEQGain() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::LowEQGain() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_LowEQGain(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::LowEQCutoff(uint8_t value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::LowEQCutoff(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_LowEQCutoff(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition::LowEQCutoff() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::LowEQCutoff() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_LowEQCutoff(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::HighEQGain(uint8_t value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::HighEQGain(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_HighEQGain(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition::HighEQGain() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::HighEQGain() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_HighEQGain(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::HighEQCutoff(uint8_t value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::HighEQCutoff(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_HighEQCutoff(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition::HighEQCutoff() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::HighEQCutoff() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_HighEQCutoff(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::RoomFilterFreq(double value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::RoomFilterFreq(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_RoomFilterFreq(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition::RoomFilterFreq() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::RoomFilterFreq() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_RoomFilterFreq(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::RoomFilterMain(double value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::RoomFilterMain(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_RoomFilterMain(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition::RoomFilterMain() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::RoomFilterMain() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_RoomFilterMain(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::RoomFilterHF(double value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::RoomFilterHF(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_RoomFilterHF(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition::RoomFilterHF() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::RoomFilterHF() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_RoomFilterHF(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::ReflectionsGain(double value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::ReflectionsGain(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_ReflectionsGain(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition::ReflectionsGain() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::ReflectionsGain() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_ReflectionsGain(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::ReverbGain(double value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::ReverbGain(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_ReverbGain(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition::ReverbGain() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::ReverbGain() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_ReverbGain(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::DecayTime(double value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::DecayTime(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_DecayTime(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition::DecayTime() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::DecayTime() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_DecayTime(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::Density(double value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::Density(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_Density(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition::Density() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::Density() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_Density(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::RoomSize(double value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::RoomSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_RoomSize(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition::RoomSize() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::RoomSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_RoomSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition::DisableLateField(bool value) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::DisableLateField(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_DisableLateField(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Audio_IReverbEffectDefinition::DisableLateField() const + template auto consume_Windows_Media_Audio_IReverbEffectDefinition::DisableLateField() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_DisableLateField(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::ReverbEffectDefinition) consume_Windows_Media_Audio_IReverbEffectDefinitionFactory::Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const + template auto consume_Windows_Media_Audio_IReverbEffectDefinitionFactory::Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinitionFactory)->Create(*(void**)(&audioGraph), &value)); return winrt::Windows::Media::Audio::ReverbEffectDefinition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::SetDefaultSpatialAudioFormatStatus) consume_Windows_Media_Audio_ISetDefaultSpatialAudioFormatResult::Status() const + template auto consume_Windows_Media_Audio_ISetDefaultSpatialAudioFormatResult::Status() const { winrt::Windows::Media::Audio::SetDefaultSpatialAudioFormatStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISetDefaultSpatialAudioFormatResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::DeviceId() const + template auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioDeviceConfiguration)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::IsSpatialAudioSupported() const + template auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::IsSpatialAudioSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioDeviceConfiguration)->get_IsSpatialAudioSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::IsSpatialAudioFormatSupported(param::hstring const& subtype) const + template auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::IsSpatialAudioFormatSupported(param::hstring const& subtype) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioDeviceConfiguration)->IsSpatialAudioFormatSupported(*(void**)(&subtype), &result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::ActiveSpatialAudioFormat() const + template auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::ActiveSpatialAudioFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioDeviceConfiguration)->get_ActiveSpatialAudioFormat(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::DefaultSpatialAudioFormat() const + template auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::DefaultSpatialAudioFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioDeviceConfiguration)->get_DefaultSpatialAudioFormat(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::SetDefaultSpatialAudioFormatAsync(param::hstring const& subtype) const + template auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::SetDefaultSpatialAudioFormatAsync(param::hstring const& subtype) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioDeviceConfiguration)->SetDefaultSpatialAudioFormatAsync(*(void**)(&subtype), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::ConfigurationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::ConfigurationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioDeviceConfiguration)->add_ConfigurationChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::ConfigurationChanged_revoker consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::ConfigurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::ConfigurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ConfigurationChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::ConfigurationChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration::ConfigurationChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioDeviceConfiguration)->remove_ConfigurationChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::SpatialAudioDeviceConfiguration) consume_Windows_Media_Audio_ISpatialAudioDeviceConfigurationStatics::GetForDeviceId(param::hstring const& deviceId) const + template auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfigurationStatics::GetForDeviceId(param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioDeviceConfigurationStatics)->GetForDeviceId(*(void**)(&deviceId), &result)); return winrt::Windows::Media::Audio::SpatialAudioDeviceConfiguration{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration::ReportLicenseChangedAsync(param::hstring const& subtype) const + template auto consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration::ReportLicenseChangedAsync(param::hstring const& subtype) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatConfiguration)->ReportLicenseChangedAsync(*(void**)(&subtype), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration::ReportConfigurationChangedAsync(param::hstring const& subtype) const + template auto consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration::ReportConfigurationChangedAsync(param::hstring const& subtype) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatConfiguration)->ReportConfigurationChangedAsync(*(void**)(&subtype), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::MixedRealitySpatialAudioFormatPolicy) consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration::MixedRealityExclusiveModePolicy() const + template auto consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration::MixedRealityExclusiveModePolicy() const { winrt::Windows::Media::Audio::MixedRealitySpatialAudioFormatPolicy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatConfiguration)->get_MixedRealityExclusiveModePolicy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration::MixedRealityExclusiveModePolicy(winrt::Windows::Media::Audio::MixedRealitySpatialAudioFormatPolicy const& value) const + template auto consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration::MixedRealityExclusiveModePolicy(winrt::Windows::Media::Audio::MixedRealitySpatialAudioFormatPolicy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatConfiguration)->put_MixedRealityExclusiveModePolicy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::SpatialAudioFormatConfiguration) consume_Windows_Media_Audio_ISpatialAudioFormatConfigurationStatics::GetDefault() const + template auto consume_Windows_Media_Audio_ISpatialAudioFormatConfigurationStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatConfigurationStatics)->GetDefault(&result)); return winrt::Windows::Media::Audio::SpatialAudioFormatConfiguration{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics::WindowsSonic() const + template auto consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics::WindowsSonic() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics)->get_WindowsSonic(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics::DolbyAtmosForHeadphones() const + template auto consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics::DolbyAtmosForHeadphones() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics)->get_DolbyAtmosForHeadphones(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics::DolbyAtmosForHomeTheater() const + template auto consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics::DolbyAtmosForHomeTheater() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics)->get_DolbyAtmosForHomeTheater(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics::DolbyAtmosForSpeakers() const + template auto consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics::DolbyAtmosForSpeakers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics)->get_DolbyAtmosForSpeakers(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics::DTSHeadphoneX() const + template auto consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics::DTSHeadphoneX() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics)->get_DTSHeadphoneX(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics::DTSXUltra() const + template auto consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics::DTSXUltra() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics)->get_DTSXUltra(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics2::DTSXForHomeTheater() const + template auto consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics2::DTSXForHomeTheater() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics2)->get_DTSXForHomeTheater(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.Core.h index 6ddeffae..99d91bbe 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.Core.h @@ -1,88 +1,88 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Capture_Core_H #define WINRT_Windows_Media_Capture_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.Capture.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Media.Capture.2.h" #include "winrt/impl/Windows.Media.Capture.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs::Frame() const + template auto consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs::Frame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Core::IVariablePhotoCapturedEventArgs)->get_Frame(&value)); return winrt::Windows::Media::Capture::CapturedFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs::CaptureTimeOffset() const + template auto consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs::CaptureTimeOffset() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Core::IVariablePhotoCapturedEventArgs)->get_CaptureTimeOffset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs::UsedFrameControllerIndex() const + template auto consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs::UsedFrameControllerIndex() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Core::IVariablePhotoCapturedEventArgs)->get_UsedFrameControllerIndex(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrameControlValues) consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs::CapturedFrameControlValues() const + template auto consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs::CapturedFrameControlValues() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Core::IVariablePhotoCapturedEventArgs)->get_CapturedFrameControlValues(&value)); return winrt::Windows::Media::Capture::CapturedFrameControlValues{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::StartAsync() const + template auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::StartAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture)->StartAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::StopAsync() const + template auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::StopAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture)->StopAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::FinishAsync() const + template auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::FinishAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture)->FinishAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::PhotoCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::PhotoCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture)->add_PhotoCaptured(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::PhotoCaptured_revoker consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PhotoCaptured(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::PhotoCaptured(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::PhotoCaptured(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture)->remove_PhotoCaptured(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture)->add_Stopped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::Stopped_revoker consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::Stopped(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture::Stopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture)->remove_Stopped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture2::UpdateSettingsAsync() const + template auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture2::UpdateSettingsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture2)->UpdateSettingsAsync(&operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.Frames.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.Frames.h index e8903972..544e1f68 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.Frames.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.Frames.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Capture_Frames_H #define WINRT_Windows_Media_Capture_Frames_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.Capture.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -23,543 +23,543 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Capture.Frames.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) consume_Windows_Media_Capture_Frames_IAudioMediaFrame::FrameReference() const + template auto consume_Windows_Media_Capture_Frames_IAudioMediaFrame::FrameReference() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IAudioMediaFrame)->get_FrameReference(&value)); return winrt::Windows::Media::Capture::Frames::MediaFrameReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Capture_Frames_IAudioMediaFrame::AudioEncodingProperties() const + template auto consume_Windows_Media_Capture_Frames_IAudioMediaFrame::AudioEncodingProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IAudioMediaFrame)->get_AudioEncodingProperties(&value)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) consume_Windows_Media_Capture_Frames_IAudioMediaFrame::GetAudioFrame() const + template auto consume_Windows_Media_Capture_Frames_IAudioMediaFrame::GetAudioFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IAudioMediaFrame)->GetAudioFrame(&value)); return winrt::Windows::Media::AudioFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) consume_Windows_Media_Capture_Frames_IBufferMediaFrame::FrameReference() const + template auto consume_Windows_Media_Capture_Frames_IBufferMediaFrame::FrameReference() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IBufferMediaFrame)->get_FrameReference(&value)); return winrt::Windows::Media::Capture::Frames::MediaFrameReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Capture_Frames_IBufferMediaFrame::Buffer() const + template auto consume_Windows_Media_Capture_Frames_IBufferMediaFrame::Buffer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IBufferMediaFrame)->get_Buffer(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) consume_Windows_Media_Capture_Frames_IDepthMediaFrame::FrameReference() const + template auto consume_Windows_Media_Capture_Frames_IDepthMediaFrame::FrameReference() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IDepthMediaFrame)->get_FrameReference(&value)); return winrt::Windows::Media::Capture::Frames::MediaFrameReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrame) consume_Windows_Media_Capture_Frames_IDepthMediaFrame::VideoMediaFrame() const + template auto consume_Windows_Media_Capture_Frames_IDepthMediaFrame::VideoMediaFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IDepthMediaFrame)->get_VideoMediaFrame(&value)); return winrt::Windows::Media::Capture::Frames::VideoMediaFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::DepthMediaFrameFormat) consume_Windows_Media_Capture_Frames_IDepthMediaFrame::DepthFormat() const + template auto consume_Windows_Media_Capture_Frames_IDepthMediaFrame::DepthFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IDepthMediaFrame)->get_DepthFormat(&value)); return winrt::Windows::Media::Capture::Frames::DepthMediaFrameFormat{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::DepthCorrelatedCoordinateMapper) consume_Windows_Media_Capture_Frames_IDepthMediaFrame::TryCreateCoordinateMapper(winrt::Windows::Media::Devices::Core::CameraIntrinsics const& cameraIntrinsics, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_Media_Capture_Frames_IDepthMediaFrame::TryCreateCoordinateMapper(winrt::Windows::Media::Devices::Core::CameraIntrinsics const& cameraIntrinsics, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IDepthMediaFrame)->TryCreateCoordinateMapper(*(void**)(&cameraIntrinsics), *(void**)(&coordinateSystem), &value)); return winrt::Windows::Media::Devices::Core::DepthCorrelatedCoordinateMapper{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_Frames_IDepthMediaFrame2::MaxReliableDepth() const + template auto consume_Windows_Media_Capture_Frames_IDepthMediaFrame2::MaxReliableDepth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IDepthMediaFrame2)->get_MaxReliableDepth(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_Frames_IDepthMediaFrame2::MinReliableDepth() const + template auto consume_Windows_Media_Capture_Frames_IDepthMediaFrame2::MinReliableDepth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IDepthMediaFrame2)->get_MinReliableDepth(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrameFormat) consume_Windows_Media_Capture_Frames_IDepthMediaFrameFormat::VideoFormat() const + template auto consume_Windows_Media_Capture_Frames_IDepthMediaFrameFormat::VideoFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IDepthMediaFrameFormat)->get_VideoFormat(&value)); return winrt::Windows::Media::Capture::Frames::VideoMediaFrameFormat{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Capture_Frames_IDepthMediaFrameFormat::DepthScaleInMeters() const + template auto consume_Windows_Media_Capture_Frames_IDepthMediaFrameFormat::DepthScaleInMeters() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IDepthMediaFrameFormat)->get_DepthScaleInMeters(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) consume_Windows_Media_Capture_Frames_IInfraredMediaFrame::FrameReference() const + template auto consume_Windows_Media_Capture_Frames_IInfraredMediaFrame::FrameReference() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IInfraredMediaFrame)->get_FrameReference(&value)); return winrt::Windows::Media::Capture::Frames::MediaFrameReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrame) consume_Windows_Media_Capture_Frames_IInfraredMediaFrame::VideoMediaFrame() const + template auto consume_Windows_Media_Capture_Frames_IInfraredMediaFrame::VideoMediaFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IInfraredMediaFrame)->get_VideoMediaFrame(&value)); return winrt::Windows::Media::Capture::Frames::VideoMediaFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_Frames_IInfraredMediaFrame::IsIlluminated() const + template auto consume_Windows_Media_Capture_Frames_IInfraredMediaFrame::IsIlluminated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IInfraredMediaFrame)->get_IsIlluminated(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_Frames_IMediaFrameFormat::MajorType() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameFormat::MajorType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameFormat)->get_MajorType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_Frames_IMediaFrameFormat::Subtype() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameFormat::Subtype() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameFormat)->get_Subtype(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_Capture_Frames_IMediaFrameFormat::FrameRate() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameFormat::FrameRate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameFormat)->get_FrameRate(&value)); return winrt::Windows::Media::MediaProperties::MediaRatio{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Media_Capture_Frames_IMediaFrameFormat::Properties() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameFormat::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameFormat)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrameFormat) consume_Windows_Media_Capture_Frames_IMediaFrameFormat::VideoFormat() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameFormat::VideoFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameFormat)->get_VideoFormat(&value)); return winrt::Windows::Media::Capture::Frames::VideoMediaFrameFormat{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Capture_Frames_IMediaFrameFormat2::AudioEncodingProperties() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameFormat2::AudioEncodingProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameFormat2)->get_AudioEncodingProperties(&value)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_Frames_IMediaFrameReader::FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReader::FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReader)->add_FrameArrived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_Frames_IMediaFrameReader::FrameArrived_revoker consume_Windows_Media_Capture_Frames_IMediaFrameReader::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReader::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameArrived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_Frames_IMediaFrameReader::FrameArrived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReader::FrameArrived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReader)->remove_FrameArrived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) consume_Windows_Media_Capture_Frames_IMediaFrameReader::TryAcquireLatestFrame() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReader::TryAcquireLatestFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReader)->TryAcquireLatestFrame(&value)); return winrt::Windows::Media::Capture::Frames::MediaFrameReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_Frames_IMediaFrameReader::StartAsync() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReader::StartAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReader)->StartAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_Frames_IMediaFrameReader::StopAsync() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReader::StopAsync() const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReader)->StopAsync(&action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_Frames_IMediaFrameReader2::AcquisitionMode(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode const& value) const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReader2::AcquisitionMode(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReader2)->put_AcquisitionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode) consume_Windows_Media_Capture_Frames_IMediaFrameReader2::AcquisitionMode() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReader2::AcquisitionMode() const { winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReader2)->get_AcquisitionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceKind) consume_Windows_Media_Capture_Frames_IMediaFrameReference::SourceKind() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReference::SourceKind() const { winrt::Windows::Media::Capture::Frames::MediaFrameSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReference)->get_SourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameFormat) consume_Windows_Media_Capture_Frames_IMediaFrameReference::Format() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReference::Format() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReference)->get_Format(&value)); return winrt::Windows::Media::Capture::Frames::MediaFrameFormat{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_Frames_IMediaFrameReference::SystemRelativeTime() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReference::SystemRelativeTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReference)->get_SystemRelativeTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_Frames_IMediaFrameReference::Duration() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReference::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReference)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Media_Capture_Frames_IMediaFrameReference::Properties() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReference::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReference)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::BufferMediaFrame) consume_Windows_Media_Capture_Frames_IMediaFrameReference::BufferMediaFrame() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReference::BufferMediaFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReference)->get_BufferMediaFrame(&value)); return winrt::Windows::Media::Capture::Frames::BufferMediaFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrame) consume_Windows_Media_Capture_Frames_IMediaFrameReference::VideoMediaFrame() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReference::VideoMediaFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReference)->get_VideoMediaFrame(&value)); return winrt::Windows::Media::Capture::Frames::VideoMediaFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Media_Capture_Frames_IMediaFrameReference::CoordinateSystem() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReference::CoordinateSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReference)->get_CoordinateSystem(&value)); return winrt::Windows::Perception::Spatial::SpatialCoordinateSystem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::AudioMediaFrame) consume_Windows_Media_Capture_Frames_IMediaFrameReference2::AudioMediaFrame() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameReference2::AudioMediaFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReference2)->get_AudioMediaFrame(&value)); return winrt::Windows::Media::Capture::Frames::AudioMediaFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceInfo) consume_Windows_Media_Capture_Frames_IMediaFrameSource::Info() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSource::Info() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSource)->get_Info(&value)); return winrt::Windows::Media::Capture::Frames::MediaFrameSourceInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceController) consume_Windows_Media_Capture_Frames_IMediaFrameSource::Controller() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSource::Controller() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSource)->get_Controller(&value)); return winrt::Windows::Media::Capture::Frames::MediaFrameSourceController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Capture_Frames_IMediaFrameSource::SupportedFormats() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSource::SupportedFormats() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSource)->get_SupportedFormats(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameFormat) consume_Windows_Media_Capture_Frames_IMediaFrameSource::CurrentFormat() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSource::CurrentFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSource)->get_CurrentFormat(&value)); return winrt::Windows::Media::Capture::Frames::MediaFrameFormat{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_Frames_IMediaFrameSource::SetFormatAsync(winrt::Windows::Media::Capture::Frames::MediaFrameFormat const& format) const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSource::SetFormatAsync(winrt::Windows::Media::Capture::Frames::MediaFrameFormat const& format) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSource)->SetFormatAsync(*(void**)(&format), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_Frames_IMediaFrameSource::FormatChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSource::FormatChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSource)->add_FormatChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_Frames_IMediaFrameSource::FormatChanged_revoker consume_Windows_Media_Capture_Frames_IMediaFrameSource::FormatChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSource::FormatChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FormatChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_Frames_IMediaFrameSource::FormatChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSource::FormatChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSource)->remove_FormatChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) consume_Windows_Media_Capture_Frames_IMediaFrameSource::TryGetCameraIntrinsics(winrt::Windows::Media::Capture::Frames::MediaFrameFormat const& format) const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSource::TryGetCameraIntrinsics(winrt::Windows::Media::Capture::Frames::MediaFrameFormat const& format) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSource)->TryGetCameraIntrinsics(*(void**)(&format), &value)); return winrt::Windows::Media::Devices::Core::CameraIntrinsics{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_Frames_IMediaFrameSourceController::GetPropertyAsync(param::hstring const& propertyId) const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceController::GetPropertyAsync(param::hstring const& propertyId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceController)->GetPropertyAsync(*(void**)(&propertyId), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_Frames_IMediaFrameSourceController::SetPropertyAsync(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceController::SetPropertyAsync(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceController)->SetPropertyAsync(*(void**)(&propertyId), *(void**)(&propertyValue), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceController) consume_Windows_Media_Capture_Frames_IMediaFrameSourceController::VideoDeviceController() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceController::VideoDeviceController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceController)->get_VideoDeviceController(&value)); return winrt::Windows::Media::Devices::VideoDeviceController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_Frames_IMediaFrameSourceController2::GetPropertyByExtendedIdAsync(array_view extendedPropertyId, winrt::Windows::Foundation::IReference const& maxPropertyValueSize) const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceController2::GetPropertyByExtendedIdAsync(array_view extendedPropertyId, winrt::Windows::Foundation::IReference const& maxPropertyValueSize) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceController2)->GetPropertyByExtendedIdAsync(extendedPropertyId.size(), get_abi(extendedPropertyId), *(void**)(&maxPropertyValueSize), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_Frames_IMediaFrameSourceController2::SetPropertyByExtendedIdAsync(array_view extendedPropertyId, array_view propertyValue) const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceController2::SetPropertyByExtendedIdAsync(array_view extendedPropertyId, array_view propertyValue) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceController2)->SetPropertyByExtendedIdAsync(extendedPropertyId.size(), get_abi(extendedPropertyId), propertyValue.size(), get_abi(propertyValue), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AudioDeviceController) consume_Windows_Media_Capture_Frames_IMediaFrameSourceController3::AudioDeviceController() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceController3::AudioDeviceController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceController3)->get_AudioDeviceController(&value)); return winrt::Windows::Media::Devices::AudioDeviceController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceGetPropertyStatus) consume_Windows_Media_Capture_Frames_IMediaFrameSourceGetPropertyResult::Status() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceGetPropertyResult::Status() const { winrt::Windows::Media::Capture::Frames::MediaFrameSourceGetPropertyStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGetPropertyResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Media_Capture_Frames_IMediaFrameSourceGetPropertyResult::Value() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceGetPropertyResult::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGetPropertyResult)->get_Value(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroup::Id() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroup::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGroup)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroup::DisplayName() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroup::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGroup)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroup::SourceInfos() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroup::SourceInfos() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGroup)->get_SourceInfos(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroupStatics::FindAllAsync() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroupStatics::FindAllAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGroupStatics)->FindAllAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroupStatics::FromIdAsync(param::hstring const& id) const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroupStatics::FromIdAsync(param::hstring const& id) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGroupStatics)->FromIdAsync(*(void**)(&id), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroupStatics::GetDeviceSelector() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroupStatics::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGroupStatics)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo::Id() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaStreamType) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo::MediaStreamType() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo::MediaStreamType() const { winrt::Windows::Media::Capture::MediaStreamType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo)->get_MediaStreamType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceKind) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo::SourceKind() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo::SourceKind() const { winrt::Windows::Media::Capture::Frames::MediaFrameSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo)->get_SourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo::SourceGroup() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo::SourceGroup() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo)->get_SourceGroup(&value)); return winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo::DeviceInformation() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo::DeviceInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo)->get_DeviceInformation(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo::Properties() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo::CoordinateSystem() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo::CoordinateSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo)->get_CoordinateSystem(&value)); return winrt::Windows::Perception::Spatial::SpatialCoordinateSystem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo2::ProfileId() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo2::ProfileId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo2)->get_ProfileId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo2::VideoProfileMediaDescription() const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo2::VideoProfileMediaDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo2)->get_VideoProfileMediaDescription(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Panel) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo3::GetRelativePanel(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const + template auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo3::GetRelativePanel(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const { winrt::Windows::Devices::Enumeration::Panel result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo3)->GetRelativePanel(*(void**)(&displayRegion), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader::FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader::FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader)->add_FrameArrived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader::FrameArrived_revoker consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameArrived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader::FrameArrived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader::FrameArrived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader)->remove_FrameArrived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReference) consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader::TryAcquireLatestFrame() const + template auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader::TryAcquireLatestFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader)->TryAcquireLatestFrame(&value)); return winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader::StartAsync() const + template auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader::StartAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader)->StartAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader::StopAsync() const + template auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader::StopAsync() const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader)->StopAsync(&action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader2::AcquisitionMode(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode const& value) const + template auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader2::AcquisitionMode(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader2)->put_AcquisitionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode) consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader2::AcquisitionMode() const + template auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader2::AcquisitionMode() const { winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader2)->get_AcquisitionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReference::TryGetFrameReferenceBySourceId(param::hstring const& sourceId) const + template auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReference::TryGetFrameReferenceBySourceId(param::hstring const& sourceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReference)->TryGetFrameReferenceBySourceId(*(void**)(&sourceId), &value)); return winrt::Windows::Media::Capture::Frames::MediaFrameReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) consume_Windows_Media_Capture_Frames_IVideoMediaFrame::FrameReference() const + template auto consume_Windows_Media_Capture_Frames_IVideoMediaFrame::FrameReference() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IVideoMediaFrame)->get_FrameReference(&value)); return winrt::Windows::Media::Capture::Frames::MediaFrameReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrameFormat) consume_Windows_Media_Capture_Frames_IVideoMediaFrame::VideoFormat() const + template auto consume_Windows_Media_Capture_Frames_IVideoMediaFrame::VideoFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IVideoMediaFrame)->get_VideoFormat(&value)); return winrt::Windows::Media::Capture::Frames::VideoMediaFrameFormat{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Media_Capture_Frames_IVideoMediaFrame::SoftwareBitmap() const + template auto consume_Windows_Media_Capture_Frames_IVideoMediaFrame::SoftwareBitmap() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IVideoMediaFrame)->get_SoftwareBitmap(&value)); return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) consume_Windows_Media_Capture_Frames_IVideoMediaFrame::Direct3DSurface() const + template auto consume_Windows_Media_Capture_Frames_IVideoMediaFrame::Direct3DSurface() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IVideoMediaFrame)->get_Direct3DSurface(&value)); return winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) consume_Windows_Media_Capture_Frames_IVideoMediaFrame::CameraIntrinsics() const + template auto consume_Windows_Media_Capture_Frames_IVideoMediaFrame::CameraIntrinsics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IVideoMediaFrame)->get_CameraIntrinsics(&value)); return winrt::Windows::Media::Devices::Core::CameraIntrinsics{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::InfraredMediaFrame) consume_Windows_Media_Capture_Frames_IVideoMediaFrame::InfraredMediaFrame() const + template auto consume_Windows_Media_Capture_Frames_IVideoMediaFrame::InfraredMediaFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IVideoMediaFrame)->get_InfraredMediaFrame(&value)); return winrt::Windows::Media::Capture::Frames::InfraredMediaFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::DepthMediaFrame) consume_Windows_Media_Capture_Frames_IVideoMediaFrame::DepthMediaFrame() const + template auto consume_Windows_Media_Capture_Frames_IVideoMediaFrame::DepthMediaFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IVideoMediaFrame)->get_DepthMediaFrame(&value)); return winrt::Windows::Media::Capture::Frames::DepthMediaFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_Capture_Frames_IVideoMediaFrame::GetVideoFrame() const + template auto consume_Windows_Media_Capture_Frames_IVideoMediaFrame::GetVideoFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IVideoMediaFrame)->GetVideoFrame(&value)); return winrt::Windows::Media::VideoFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameFormat) consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat::MediaFrameFormat() const + template auto consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat::MediaFrameFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IVideoMediaFrameFormat)->get_MediaFrameFormat(&value)); return winrt::Windows::Media::Capture::Frames::MediaFrameFormat{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::DepthMediaFrameFormat) consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat::DepthFormat() const + template auto consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat::DepthFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IVideoMediaFrameFormat)->get_DepthFormat(&value)); return winrt::Windows::Media::Capture::Frames::DepthMediaFrameFormat{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat::Width() const + template auto consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat::Width() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IVideoMediaFrameFormat)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat::Height() const + template auto consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat::Height() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IVideoMediaFrameFormat)->get_Height(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.h index 6ec53392..7cb10d5a 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Capture_H #define WINRT_Windows_Media_Capture_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -28,3443 +28,3443 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Capture.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) consume_Windows_Media_Capture_IAdvancedCapturedPhoto::Frame() const + template auto consume_Windows_Media_Capture_IAdvancedCapturedPhoto::Frame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAdvancedCapturedPhoto)->get_Frame(&value)); return winrt::Windows::Media::Capture::CapturedFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AdvancedPhotoMode) consume_Windows_Media_Capture_IAdvancedCapturedPhoto::Mode() const + template auto consume_Windows_Media_Capture_IAdvancedCapturedPhoto::Mode() const { winrt::Windows::Media::Devices::AdvancedPhotoMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAdvancedCapturedPhoto)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Media_Capture_IAdvancedCapturedPhoto::Context() const + template auto consume_Windows_Media_Capture_IAdvancedCapturedPhoto::Context() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAdvancedCapturedPhoto)->get_Context(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_IAdvancedCapturedPhoto2::FrameBoundsRelativeToReferencePhoto() const + template auto consume_Windows_Media_Capture_IAdvancedCapturedPhoto2::FrameBoundsRelativeToReferencePhoto() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAdvancedCapturedPhoto2)->get_FrameBoundsRelativeToReferencePhoto(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IAdvancedPhotoCapture::CaptureAsync() const + template auto consume_Windows_Media_Capture_IAdvancedPhotoCapture::CaptureAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAdvancedPhotoCapture)->CaptureAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IAdvancedPhotoCapture::CaptureAsync(winrt::Windows::Foundation::IInspectable const& context) const + template auto consume_Windows_Media_Capture_IAdvancedPhotoCapture::CaptureAsync(winrt::Windows::Foundation::IInspectable const& context) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAdvancedPhotoCapture)->CaptureWithContextAsync(*(void**)(&context), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAdvancedPhotoCapture::OptionalReferencePhotoCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAdvancedPhotoCapture::OptionalReferencePhotoCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAdvancedPhotoCapture)->add_OptionalReferencePhotoCaptured(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAdvancedPhotoCapture::OptionalReferencePhotoCaptured_revoker consume_Windows_Media_Capture_IAdvancedPhotoCapture::OptionalReferencePhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAdvancedPhotoCapture::OptionalReferencePhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, OptionalReferencePhotoCaptured(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAdvancedPhotoCapture::OptionalReferencePhotoCaptured(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAdvancedPhotoCapture::OptionalReferencePhotoCaptured(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAdvancedPhotoCapture)->remove_OptionalReferencePhotoCaptured(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAdvancedPhotoCapture::AllPhotosCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAdvancedPhotoCapture::AllPhotosCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAdvancedPhotoCapture)->add_AllPhotosCaptured(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAdvancedPhotoCapture::AllPhotosCaptured_revoker consume_Windows_Media_Capture_IAdvancedPhotoCapture::AllPhotosCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAdvancedPhotoCapture::AllPhotosCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AllPhotosCaptured(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAdvancedPhotoCapture::AllPhotosCaptured(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAdvancedPhotoCapture::AllPhotosCaptured(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAdvancedPhotoCapture)->remove_AllPhotosCaptured(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IAdvancedPhotoCapture::FinishAsync() const + template auto consume_Windows_Media_Capture_IAdvancedPhotoCapture::FinishAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAdvancedPhotoCapture)->FinishAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService::PlugInState(winrt::Windows::Media::Capture::AppBroadcastPlugInState const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService::PlugInState(winrt::Windows::Media::Capture::AppBroadcastPlugInState const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->put_PlugInState(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugInState) consume_Windows_Media_Capture_IAppBroadcastBackgroundService::PlugInState() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService::PlugInState() const { winrt::Windows::Media::Capture::AppBroadcastPlugInState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->get_PlugInState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService::SignInInfo(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService::SignInInfo(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->put_SignInInfo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo) consume_Windows_Media_Capture_IAppBroadcastBackgroundService::SignInInfo() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService::SignInInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->get_SignInInfo(&value)); return winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService::StreamInfo(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService::StreamInfo(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->put_StreamInfo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo) consume_Windows_Media_Capture_IAppBroadcastBackgroundService::StreamInfo() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService::StreamInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->get_StreamInfo(&value)); return winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastBackgroundService::AppId() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService::AppId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->get_AppId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastBackgroundService::BroadcastTitle() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService::BroadcastTitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->get_BroadcastTitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService::ViewerCount(uint32_t value) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService::ViewerCount(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->put_ViewerCount(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastBackgroundService::ViewerCount() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService::ViewerCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->get_ViewerCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService::TerminateBroadcast(winrt::Windows::Media::Capture::AppBroadcastTerminationReason const& reason, uint32_t providerSpecificReason) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService::TerminateBroadcast(winrt::Windows::Media::Capture::AppBroadcastTerminationReason const& reason, uint32_t providerSpecificReason) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->TerminateBroadcast(static_cast(reason), providerSpecificReason)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundService::HeartbeatRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService::HeartbeatRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->add_HeartbeatRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastBackgroundService::HeartbeatRequested_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundService::HeartbeatRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService::HeartbeatRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, HeartbeatRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService::HeartbeatRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService::HeartbeatRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->remove_HeartbeatRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastBackgroundService::TitleId() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService::TitleId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->get_TitleId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastTitle(param::hstring const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastTitle(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->put_BroadcastTitle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastLanguage() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->get_BroadcastLanguage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastLanguage(param::hstring const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastLanguage(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->put_BroadcastLanguage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastChannel() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastChannel() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->get_BroadcastChannel(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastChannel(param::hstring const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastChannel(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->put_BroadcastChannel(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastTitleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastTitleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->add_BroadcastTitleChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastTitleChanged_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastTitleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastTitleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BroadcastTitleChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastTitleChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastTitleChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->remove_BroadcastTitleChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastLanguageChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastLanguageChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->add_BroadcastLanguageChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastLanguageChanged_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BroadcastLanguageChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastLanguageChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastLanguageChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->remove_BroadcastLanguageChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastChannelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastChannelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->add_BroadcastChannelChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastChannelChanged_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastChannelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastChannelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BroadcastChannelChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastChannelChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2::BroadcastChannelChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->remove_BroadcastChannelChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastSignInState) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::SignInState() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::SignInState() const { winrt::Windows::Media::Capture::AppBroadcastSignInState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo)->get_SignInState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::OAuthRequestUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::OAuthRequestUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo)->put_OAuthRequestUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::OAuthRequestUri() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::OAuthRequestUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo)->get_OAuthRequestUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::OAuthCallbackUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::OAuthCallbackUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo)->put_OAuthCallbackUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::OAuthCallbackUri() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::OAuthCallbackUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo)->get_OAuthCallbackUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::WebAuthenticationResult) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::AuthenticationResult() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::AuthenticationResult() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo)->get_AuthenticationResult(&value)); return winrt::Windows::Security::Authentication::Web::WebAuthenticationResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::UserName(param::hstring const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::UserName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo)->put_UserName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::UserName() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::UserName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo)->get_UserName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::SignInStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::SignInStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo)->add_SignInStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::SignInStateChanged_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::SignInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::SignInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SignInStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::SignInStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo::SignInStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo)->remove_SignInStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2::UserNameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2::UserNameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo2)->add_UserNameChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2::UserNameChanged_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2::UserNameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2::UserNameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UserNameChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2::UserNameChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2::UserNameChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo2)->remove_UserNameChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamState) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::StreamState() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::StreamState() const { winrt::Windows::Media::Capture::AppBroadcastStreamState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->get_StreamState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::DesiredVideoEncodingBitrate(uint64_t value) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::DesiredVideoEncodingBitrate(uint64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->put_DesiredVideoEncodingBitrate(value)); } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::DesiredVideoEncodingBitrate() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::DesiredVideoEncodingBitrate() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->get_DesiredVideoEncodingBitrate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::BandwidthTestBitrate(uint64_t value) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::BandwidthTestBitrate(uint64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->put_BandwidthTestBitrate(value)); } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::BandwidthTestBitrate() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::BandwidthTestBitrate() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->get_BandwidthTestBitrate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::AudioCodec(param::hstring const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::AudioCodec(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->put_AudioCodec(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::AudioCodec() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::AudioCodec() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->get_AudioCodec(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamReader) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::BroadcastStreamReader() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::BroadcastStreamReader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->get_BroadcastStreamReader(&value)); return winrt::Windows::Media::Capture::AppBroadcastStreamReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::StreamStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::StreamStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->add_StreamStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::StreamStateChanged_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StreamStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::StreamStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::StreamStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->remove_StreamStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::VideoEncodingResolutionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::VideoEncodingResolutionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->add_VideoEncodingResolutionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::VideoEncodingResolutionChanged_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::VideoEncodingResolutionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::VideoEncodingResolutionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, VideoEncodingResolutionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::VideoEncodingResolutionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::VideoEncodingResolutionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->remove_VideoEncodingResolutionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::VideoEncodingBitrateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::VideoEncodingBitrateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->add_VideoEncodingBitrateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::VideoEncodingBitrateChanged_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::VideoEncodingBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::VideoEncodingBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, VideoEncodingBitrateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::VideoEncodingBitrateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo::VideoEncodingBitrateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->remove_VideoEncodingBitrateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo2::ReportProblemWithStream() const + template auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo2::ReportProblemWithStream() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo2)->ReportProblemWithStream()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastCameraCaptureState) consume_Windows_Media_Capture_IAppBroadcastCameraCaptureStateChangedEventArgs::State() const + template auto consume_Windows_Media_Capture_IAppBroadcastCameraCaptureStateChangedEventArgs::State() const { winrt::Windows::Media::Capture::AppBroadcastCameraCaptureState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastCameraCaptureStateChangedEventArgs)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastCameraCaptureStateChangedEventArgs::ErrorCode() const + template auto consume_Windows_Media_Capture_IAppBroadcastCameraCaptureStateChangedEventArgs::ErrorCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastCameraCaptureStateChangedEventArgs)->get_ErrorCode(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsBroadcastEnabled() const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsBroadcastEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_IsBroadcastEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsDisabledByPolicy() const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsDisabledByPolicy() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_IsDisabledByPolicy(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsGpuConstrained() const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsGpuConstrained() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_IsGpuConstrained(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::HasHardwareEncoder() const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::HasHardwareEncoder() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_HasHardwareEncoder(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsAudioCaptureEnabled(bool value) const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsAudioCaptureEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_IsAudioCaptureEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsAudioCaptureEnabled() const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsAudioCaptureEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_IsAudioCaptureEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsMicrophoneCaptureEnabledByDefault(bool value) const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsMicrophoneCaptureEnabledByDefault(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_IsMicrophoneCaptureEnabledByDefault(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsMicrophoneCaptureEnabledByDefault() const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsMicrophoneCaptureEnabledByDefault() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_IsMicrophoneCaptureEnabledByDefault(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsEchoCancellationEnabled(bool value) const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsEchoCancellationEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_IsEchoCancellationEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsEchoCancellationEnabled() const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsEchoCancellationEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_IsEchoCancellationEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::SystemAudioGain(double value) const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::SystemAudioGain(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_SystemAudioGain(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::SystemAudioGain() const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::SystemAudioGain() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_SystemAudioGain(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::MicrophoneGain(double value) const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::MicrophoneGain(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_MicrophoneGain(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::MicrophoneGain() const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::MicrophoneGain() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_MicrophoneGain(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsCameraCaptureEnabledByDefault(bool value) const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsCameraCaptureEnabledByDefault(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_IsCameraCaptureEnabledByDefault(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsCameraCaptureEnabledByDefault() const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsCameraCaptureEnabledByDefault() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_IsCameraCaptureEnabledByDefault(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::SelectedCameraId(param::hstring const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::SelectedCameraId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_SelectedCameraId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::SelectedCameraId() const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::SelectedCameraId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_SelectedCameraId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::CameraOverlayLocation(winrt::Windows::Media::Capture::AppBroadcastCameraOverlayLocation const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::CameraOverlayLocation(winrt::Windows::Media::Capture::AppBroadcastCameraOverlayLocation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_CameraOverlayLocation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastCameraOverlayLocation) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::CameraOverlayLocation() const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::CameraOverlayLocation() const { winrt::Windows::Media::Capture::AppBroadcastCameraOverlayLocation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_CameraOverlayLocation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::CameraOverlaySize(winrt::Windows::Media::Capture::AppBroadcastCameraOverlaySize const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::CameraOverlaySize(winrt::Windows::Media::Capture::AppBroadcastCameraOverlaySize const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_CameraOverlaySize(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastCameraOverlaySize) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::CameraOverlaySize() const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::CameraOverlaySize() const { winrt::Windows::Media::Capture::AppBroadcastCameraOverlaySize value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_CameraOverlaySize(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsCursorImageCaptureEnabled(bool value) const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsCursorImageCaptureEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_IsCursorImageCaptureEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsCursorImageCaptureEnabled() const + template auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings::IsCursorImageCaptureEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_IsCursorImageCaptureEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastHeartbeatRequestedEventArgs::Handled(bool value) const + template auto consume_Windows_Media_Capture_IAppBroadcastHeartbeatRequestedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastHeartbeatRequestedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastHeartbeatRequestedEventArgs::Handled() const + template auto consume_Windows_Media_Capture_IAppBroadcastHeartbeatRequestedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastHeartbeatRequestedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastGlobalSettings) consume_Windows_Media_Capture_IAppBroadcastManagerStatics::GetGlobalSettings() const + template auto consume_Windows_Media_Capture_IAppBroadcastManagerStatics::GetGlobalSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastManagerStatics)->GetGlobalSettings(&value)); return winrt::Windows::Media::Capture::AppBroadcastGlobalSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastManagerStatics::ApplyGlobalSettings(winrt::Windows::Media::Capture::AppBroadcastGlobalSettings const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastManagerStatics::ApplyGlobalSettings(winrt::Windows::Media::Capture::AppBroadcastGlobalSettings const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastManagerStatics)->ApplyGlobalSettings(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastProviderSettings) consume_Windows_Media_Capture_IAppBroadcastManagerStatics::GetProviderSettings() const + template auto consume_Windows_Media_Capture_IAppBroadcastManagerStatics::GetProviderSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastManagerStatics)->GetProviderSettings(&value)); return winrt::Windows::Media::Capture::AppBroadcastProviderSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastManagerStatics::ApplyProviderSettings(winrt::Windows::Media::Capture::AppBroadcastProviderSettings const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastManagerStatics::ApplyProviderSettings(winrt::Windows::Media::Capture::AppBroadcastProviderSettings const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastManagerStatics)->ApplyProviderSettings(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureState) consume_Windows_Media_Capture_IAppBroadcastMicrophoneCaptureStateChangedEventArgs::State() const + template auto consume_Windows_Media_Capture_IAppBroadcastMicrophoneCaptureStateChangedEventArgs::State() const { winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastMicrophoneCaptureStateChangedEventArgs)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastMicrophoneCaptureStateChangedEventArgs::ErrorCode() const + template auto consume_Windows_Media_Capture_IAppBroadcastMicrophoneCaptureStateChangedEventArgs::ErrorCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastMicrophoneCaptureStateChangedEventArgs)->get_ErrorCode(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastPlugIn::AppId() const + template auto consume_Windows_Media_Capture_IAppBroadcastPlugIn::AppId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPlugIn)->get_AppId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastProviderSettings) consume_Windows_Media_Capture_IAppBroadcastPlugIn::ProviderSettings() const + template auto consume_Windows_Media_Capture_IAppBroadcastPlugIn::ProviderSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPlugIn)->get_ProviderSettings(&value)); return winrt::Windows::Media::Capture::AppBroadcastProviderSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Media_Capture_IAppBroadcastPlugIn::Logo() const + template auto consume_Windows_Media_Capture_IAppBroadcastPlugIn::Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPlugIn)->get_Logo(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastPlugIn::DisplayName() const + template auto consume_Windows_Media_Capture_IAppBroadcastPlugIn::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPlugIn)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastPlugInManager::IsBroadcastProviderAvailable() const + template auto consume_Windows_Media_Capture_IAppBroadcastPlugInManager::IsBroadcastProviderAvailable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPlugInManager)->get_IsBroadcastProviderAvailable(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Capture_IAppBroadcastPlugInManager::PlugInList() const + template auto consume_Windows_Media_Capture_IAppBroadcastPlugInManager::PlugInList() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPlugInManager)->get_PlugInList(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugIn) consume_Windows_Media_Capture_IAppBroadcastPlugInManager::DefaultPlugIn() const + template auto consume_Windows_Media_Capture_IAppBroadcastPlugInManager::DefaultPlugIn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPlugInManager)->get_DefaultPlugIn(&value)); return winrt::Windows::Media::Capture::AppBroadcastPlugIn{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastPlugInManager::DefaultPlugIn(winrt::Windows::Media::Capture::AppBroadcastPlugIn const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastPlugInManager::DefaultPlugIn(winrt::Windows::Media::Capture::AppBroadcastPlugIn const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPlugInManager)->put_DefaultPlugIn(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugInManager) consume_Windows_Media_Capture_IAppBroadcastPlugInManagerStatics::GetDefault() const + template auto consume_Windows_Media_Capture_IAppBroadcastPlugInManagerStatics::GetDefault() const { void* ppInstance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPlugInManagerStatics)->GetDefault(&ppInstance)); return winrt::Windows::Media::Capture::AppBroadcastPlugInManager{ ppInstance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugInManager) consume_Windows_Media_Capture_IAppBroadcastPlugInManagerStatics::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_Media_Capture_IAppBroadcastPlugInManagerStatics::GetForUser(winrt::Windows::System::User const& user) const { void* ppInstance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPlugInManagerStatics)->GetForUser(*(void**)(&user), &ppInstance)); return winrt::Windows::Media::Capture::AppBroadcastPlugInManager{ ppInstance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugInState) consume_Windows_Media_Capture_IAppBroadcastPlugInStateChangedEventArgs::PlugInState() const + template auto consume_Windows_Media_Capture_IAppBroadcastPlugInStateChangedEventArgs::PlugInState() const { winrt::Windows::Media::Capture::AppBroadcastPlugInState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPlugInStateChangedEventArgs)->get_PlugInState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastPreview::StopPreview() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreview::StopPreview() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreview)->StopPreview()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreviewState) consume_Windows_Media_Capture_IAppBroadcastPreview::PreviewState() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreview::PreviewState() const { winrt::Windows::Media::Capture::AppBroadcastPreviewState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreview)->get_PreviewState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_IAppBroadcastPreview::ErrorCode() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreview::ErrorCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreview)->get_ErrorCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastPreview::PreviewStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastPreview::PreviewStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreview)->add_PreviewStateChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastPreview::PreviewStateChanged_revoker consume_Windows_Media_Capture_IAppBroadcastPreview::PreviewStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastPreview::PreviewStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, PreviewStateChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastPreview::PreviewStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastPreview::PreviewStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreview)->remove_PreviewStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreviewStreamReader) consume_Windows_Media_Capture_IAppBroadcastPreview::PreviewStreamReader() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreview::PreviewStreamReader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreview)->get_PreviewStreamReader(&value)); return winrt::Windows::Media::Capture::AppBroadcastPreviewStreamReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreviewState) consume_Windows_Media_Capture_IAppBroadcastPreviewStateChangedEventArgs::PreviewState() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStateChangedEventArgs::PreviewState() const { winrt::Windows::Media::Capture::AppBroadcastPreviewState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStateChangedEventArgs)->get_PreviewState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastPreviewStateChangedEventArgs::ErrorCode() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStateChangedEventArgs::ErrorCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStateChangedEventArgs)->get_ErrorCode(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoWidth() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoWidth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader)->get_VideoWidth(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoHeight() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoHeight() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader)->get_VideoHeight(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoStride() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoStride() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader)->get_VideoStride(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoBitmapPixelFormat() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoBitmapPixelFormat() const { winrt::Windows::Graphics::Imaging::BitmapPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader)->get_VideoBitmapPixelFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoBitmapAlphaMode() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoBitmapAlphaMode() const { winrt::Windows::Graphics::Imaging::BitmapAlphaMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader)->get_VideoBitmapAlphaMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreviewStreamVideoFrame) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::TryGetNextVideoFrame() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::TryGetNextVideoFrame() const { void* frame{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader)->TryGetNextVideoFrame(&frame)); return winrt::Windows::Media::Capture::AppBroadcastPreviewStreamVideoFrame{ frame, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoFrameArrived(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoFrameArrived(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader)->add_VideoFrameArrived(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoFrameArrived_revoker consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, VideoFrameArrived(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoFrameArrived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader::VideoFrameArrived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader)->remove_VideoFrameArrived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreviewStreamVideoHeader) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoFrame::VideoHeader() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoFrame::VideoHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoFrame)->get_VideoHeader(&value)); return winrt::Windows::Media::Capture::AppBroadcastPreviewStreamVideoHeader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoFrame::VideoBuffer() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoFrame::VideoBuffer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoFrame)->get_VideoBuffer(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader::AbsoluteTimestamp() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader::AbsoluteTimestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoHeader)->get_AbsoluteTimestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader::RelativeTimestamp() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader::RelativeTimestamp() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoHeader)->get_RelativeTimestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader::Duration() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoHeader)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader::FrameId() const + template auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader::FrameId() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoHeader)->get_FrameId(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastProviderSettings::DefaultBroadcastTitle(param::hstring const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings::DefaultBroadcastTitle(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->put_DefaultBroadcastTitle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastProviderSettings::DefaultBroadcastTitle() const + template auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings::DefaultBroadcastTitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->get_DefaultBroadcastTitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastProviderSettings::AudioEncodingBitrate(uint32_t value) const + template auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings::AudioEncodingBitrate(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->put_AudioEncodingBitrate(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastProviderSettings::AudioEncodingBitrate() const + template auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings::AudioEncodingBitrate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->get_AudioEncodingBitrate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastProviderSettings::CustomVideoEncodingBitrate(uint32_t value) const + template auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings::CustomVideoEncodingBitrate(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->put_CustomVideoEncodingBitrate(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastProviderSettings::CustomVideoEncodingBitrate() const + template auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings::CustomVideoEncodingBitrate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->get_CustomVideoEncodingBitrate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastProviderSettings::CustomVideoEncodingHeight(uint32_t value) const + template auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings::CustomVideoEncodingHeight(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->put_CustomVideoEncodingHeight(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastProviderSettings::CustomVideoEncodingHeight() const + template auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings::CustomVideoEncodingHeight() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->get_CustomVideoEncodingHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastProviderSettings::CustomVideoEncodingWidth(uint32_t value) const + template auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings::CustomVideoEncodingWidth(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->put_CustomVideoEncodingWidth(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastProviderSettings::CustomVideoEncodingWidth() const + template auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings::CustomVideoEncodingWidth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->get_CustomVideoEncodingWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastProviderSettings::VideoEncodingBitrateMode(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingBitrateMode const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings::VideoEncodingBitrateMode(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingBitrateMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->put_VideoEncodingBitrateMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingBitrateMode) consume_Windows_Media_Capture_IAppBroadcastProviderSettings::VideoEncodingBitrateMode() const + template auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings::VideoEncodingBitrateMode() const { winrt::Windows::Media::Capture::AppBroadcastVideoEncodingBitrateMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->get_VideoEncodingBitrateMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastProviderSettings::VideoEncodingResolutionMode(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingResolutionMode const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings::VideoEncodingResolutionMode(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingResolutionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->put_VideoEncodingResolutionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingResolutionMode) consume_Windows_Media_Capture_IAppBroadcastProviderSettings::VideoEncodingResolutionMode() const + template auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings::VideoEncodingResolutionMode() const { winrt::Windows::Media::Capture::AppBroadcastVideoEncodingResolutionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->get_VideoEncodingResolutionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastCaptureTargetType) consume_Windows_Media_Capture_IAppBroadcastServices::CaptureTargetType() const + template auto consume_Windows_Media_Capture_IAppBroadcastServices::CaptureTargetType() const { winrt::Windows::Media::Capture::AppBroadcastCaptureTargetType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->get_CaptureTargetType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastServices::CaptureTargetType(winrt::Windows::Media::Capture::AppBroadcastCaptureTargetType const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastServices::CaptureTargetType(winrt::Windows::Media::Capture::AppBroadcastCaptureTargetType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->put_CaptureTargetType(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastServices::BroadcastTitle() const + template auto consume_Windows_Media_Capture_IAppBroadcastServices::BroadcastTitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->get_BroadcastTitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastServices::BroadcastTitle(param::hstring const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastServices::BroadcastTitle(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->put_BroadcastTitle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastServices::BroadcastLanguage() const + template auto consume_Windows_Media_Capture_IAppBroadcastServices::BroadcastLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->get_BroadcastLanguage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastServices::BroadcastLanguage(param::hstring const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastServices::BroadcastLanguage(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->put_BroadcastLanguage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastServices::UserName() const + template auto consume_Windows_Media_Capture_IAppBroadcastServices::UserName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->get_UserName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastServices::CanCapture() const + template auto consume_Windows_Media_Capture_IAppBroadcastServices::CanCapture() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->get_CanCapture(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IAppBroadcastServices::EnterBroadcastModeAsync(winrt::Windows::Media::Capture::AppBroadcastPlugIn const& plugIn) const + template auto consume_Windows_Media_Capture_IAppBroadcastServices::EnterBroadcastModeAsync(winrt::Windows::Media::Capture::AppBroadcastPlugIn const& plugIn) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->EnterBroadcastModeAsync(*(void**)(&plugIn), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastServices::ExitBroadcastMode(winrt::Windows::Media::Capture::AppBroadcastExitBroadcastModeReason const& reason) const + template auto consume_Windows_Media_Capture_IAppBroadcastServices::ExitBroadcastMode(winrt::Windows::Media::Capture::AppBroadcastExitBroadcastModeReason const& reason) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->ExitBroadcastMode(static_cast(reason))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastServices::StartBroadcast() const + template auto consume_Windows_Media_Capture_IAppBroadcastServices::StartBroadcast() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->StartBroadcast()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastServices::PauseBroadcast() const + template auto consume_Windows_Media_Capture_IAppBroadcastServices::PauseBroadcast() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->PauseBroadcast()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastServices::ResumeBroadcast() const + template auto consume_Windows_Media_Capture_IAppBroadcastServices::ResumeBroadcast() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->ResumeBroadcast()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreview) consume_Windows_Media_Capture_IAppBroadcastServices::StartPreview(winrt::Windows::Foundation::Size const& desiredSize) const + template auto consume_Windows_Media_Capture_IAppBroadcastServices::StartPreview(winrt::Windows::Foundation::Size const& desiredSize) const { void* preview{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->StartPreview(impl::bind_in(desiredSize), &preview)); return winrt::Windows::Media::Capture::AppBroadcastPreview{ preview, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastState) consume_Windows_Media_Capture_IAppBroadcastServices::State() const + template auto consume_Windows_Media_Capture_IAppBroadcastServices::State() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->get_State(&value)); return winrt::Windows::Media::Capture::AppBroadcastState{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastSignInState) consume_Windows_Media_Capture_IAppBroadcastSignInStateChangedEventArgs::SignInState() const + template auto consume_Windows_Media_Capture_IAppBroadcastSignInStateChangedEventArgs::SignInState() const { winrt::Windows::Media::Capture::AppBroadcastSignInState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastSignInStateChangedEventArgs)->get_SignInState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastSignInResult) consume_Windows_Media_Capture_IAppBroadcastSignInStateChangedEventArgs::Result() const + template auto consume_Windows_Media_Capture_IAppBroadcastSignInStateChangedEventArgs::Result() const { winrt::Windows::Media::Capture::AppBroadcastSignInResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastSignInStateChangedEventArgs)->get_Result(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastState::IsCaptureTargetRunning() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::IsCaptureTargetRunning() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_IsCaptureTargetRunning(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastState::ViewerCount() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::ViewerCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_ViewerCount(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastState::ShouldCaptureMicrophone() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::ShouldCaptureMicrophone() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_ShouldCaptureMicrophone(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState::ShouldCaptureMicrophone(bool value) const + template auto consume_Windows_Media_Capture_IAppBroadcastState::ShouldCaptureMicrophone(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->put_ShouldCaptureMicrophone(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState::RestartMicrophoneCapture() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::RestartMicrophoneCapture() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->RestartMicrophoneCapture()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastState::ShouldCaptureCamera() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::ShouldCaptureCamera() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_ShouldCaptureCamera(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState::ShouldCaptureCamera(bool value) const + template auto consume_Windows_Media_Capture_IAppBroadcastState::ShouldCaptureCamera(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->put_ShouldCaptureCamera(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState::RestartCameraCapture() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::RestartCameraCapture() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->RestartCameraCapture()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Media_Capture_IAppBroadcastState::EncodedVideoSize() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::EncodedVideoSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_EncodedVideoSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureState) consume_Windows_Media_Capture_IAppBroadcastState::MicrophoneCaptureState() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::MicrophoneCaptureState() const { winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_MicrophoneCaptureState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastState::MicrophoneCaptureError() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::MicrophoneCaptureError() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_MicrophoneCaptureError(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastCameraCaptureState) consume_Windows_Media_Capture_IAppBroadcastState::CameraCaptureState() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::CameraCaptureState() const { winrt::Windows::Media::Capture::AppBroadcastCameraCaptureState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_CameraCaptureState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastState::CameraCaptureError() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::CameraCaptureError() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_CameraCaptureError(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamState) consume_Windows_Media_Capture_IAppBroadcastState::StreamState() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::StreamState() const { winrt::Windows::Media::Capture::AppBroadcastStreamState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_StreamState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugInState) consume_Windows_Media_Capture_IAppBroadcastState::PlugInState() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::PlugInState() const { winrt::Windows::Media::Capture::AppBroadcastPlugInState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_PlugInState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Capture_IAppBroadcastState::OAuthRequestUri() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::OAuthRequestUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_OAuthRequestUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Capture_IAppBroadcastState::OAuthCallbackUri() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::OAuthCallbackUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_OAuthCallbackUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::WebAuthenticationResult) consume_Windows_Media_Capture_IAppBroadcastState::AuthenticationResult() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::AuthenticationResult() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_AuthenticationResult(&value)); return winrt::Windows::Security::Authentication::Web::WebAuthenticationResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState::AuthenticationResult(winrt::Windows::Security::Authentication::Web::WebAuthenticationResult const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastState::AuthenticationResult(winrt::Windows::Security::Authentication::Web::WebAuthenticationResult const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->put_AuthenticationResult(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState::SignInState(winrt::Windows::Media::Capture::AppBroadcastSignInState const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastState::SignInState(winrt::Windows::Media::Capture::AppBroadcastSignInState const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->put_SignInState(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastSignInState) consume_Windows_Media_Capture_IAppBroadcastState::SignInState() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::SignInState() const { winrt::Windows::Media::Capture::AppBroadcastSignInState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_SignInState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastTerminationReason) consume_Windows_Media_Capture_IAppBroadcastState::TerminationReason() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::TerminationReason() const { winrt::Windows::Media::Capture::AppBroadcastTerminationReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_TerminationReason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastState::TerminationReasonPlugInSpecific() const + template auto consume_Windows_Media_Capture_IAppBroadcastState::TerminationReasonPlugInSpecific() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_TerminationReasonPlugInSpecific(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastState::ViewerCountChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastState::ViewerCountChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->add_ViewerCountChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastState::ViewerCountChanged_revoker consume_Windows_Media_Capture_IAppBroadcastState::ViewerCountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastState::ViewerCountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, ViewerCountChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState::ViewerCountChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastState::ViewerCountChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->remove_ViewerCountChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastState::MicrophoneCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastState::MicrophoneCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->add_MicrophoneCaptureStateChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastState::MicrophoneCaptureStateChanged_revoker consume_Windows_Media_Capture_IAppBroadcastState::MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastState::MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, MicrophoneCaptureStateChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState::MicrophoneCaptureStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastState::MicrophoneCaptureStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->remove_MicrophoneCaptureStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastState::CameraCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastState::CameraCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->add_CameraCaptureStateChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastState::CameraCaptureStateChanged_revoker consume_Windows_Media_Capture_IAppBroadcastState::CameraCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastState::CameraCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, CameraCaptureStateChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState::CameraCaptureStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastState::CameraCaptureStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->remove_CameraCaptureStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastState::PlugInStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastState::PlugInStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->add_PlugInStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastState::PlugInStateChanged_revoker consume_Windows_Media_Capture_IAppBroadcastState::PlugInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastState::PlugInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PlugInStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState::PlugInStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastState::PlugInStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->remove_PlugInStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastState::StreamStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastState::StreamStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->add_StreamStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastState::StreamStateChanged_revoker consume_Windows_Media_Capture_IAppBroadcastState::StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppBroadcastState::StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StreamStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState::StreamStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastState::StreamStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->remove_StreamStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastState::CaptureTargetClosed(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastState::CaptureTargetClosed(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->add_CaptureTargetClosed(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastState::CaptureTargetClosed_revoker consume_Windows_Media_Capture_IAppBroadcastState::CaptureTargetClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastState::CaptureTargetClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, CaptureTargetClosed(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState::CaptureTargetClosed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastState::CaptureTargetClosed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->remove_CaptureTargetClosed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamAudioHeader) consume_Windows_Media_Capture_IAppBroadcastStreamAudioFrame::AudioHeader() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamAudioFrame::AudioHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamAudioFrame)->get_AudioHeader(&value)); return winrt::Windows::Media::Capture::AppBroadcastStreamAudioHeader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Capture_IAppBroadcastStreamAudioFrame::AudioBuffer() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamAudioFrame::AudioBuffer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamAudioFrame)->get_AudioBuffer(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader::AbsoluteTimestamp() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader::AbsoluteTimestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamAudioHeader)->get_AbsoluteTimestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader::RelativeTimestamp() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader::RelativeTimestamp() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamAudioHeader)->get_RelativeTimestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader::Duration() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamAudioHeader)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader::HasDiscontinuity() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader::HasDiscontinuity() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamAudioHeader)->get_HasDiscontinuity(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader::FrameId() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader::FrameId() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamAudioHeader)->get_FrameId(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastStreamReader::AudioChannels() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamReader::AudioChannels() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->get_AudioChannels(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastStreamReader::AudioSampleRate() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamReader::AudioSampleRate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->get_AudioSampleRate(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Capture_IAppBroadcastStreamReader::AudioAacSequence() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamReader::AudioAacSequence() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->get_AudioAacSequence(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastStreamReader::AudioBitrate() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamReader::AudioBitrate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->get_AudioBitrate(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamAudioFrame) consume_Windows_Media_Capture_IAppBroadcastStreamReader::TryGetNextAudioFrame() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamReader::TryGetNextAudioFrame() const { void* frame{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->TryGetNextAudioFrame(&frame)); return winrt::Windows::Media::Capture::AppBroadcastStreamAudioFrame{ frame, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastStreamReader::VideoWidth() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamReader::VideoWidth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->get_VideoWidth(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastStreamReader::VideoHeight() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamReader::VideoHeight() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->get_VideoHeight(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastStreamReader::VideoBitrate() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamReader::VideoBitrate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->get_VideoBitrate(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamVideoFrame) consume_Windows_Media_Capture_IAppBroadcastStreamReader::TryGetNextVideoFrame() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamReader::TryGetNextVideoFrame() const { void* frame{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->TryGetNextVideoFrame(&frame)); return winrt::Windows::Media::Capture::AppBroadcastStreamVideoFrame{ frame, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastStreamReader::AudioFrameArrived(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamReader::AudioFrameArrived(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->add_AudioFrameArrived(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastStreamReader::AudioFrameArrived_revoker consume_Windows_Media_Capture_IAppBroadcastStreamReader::AudioFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamReader::AudioFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, AudioFrameArrived(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastStreamReader::AudioFrameArrived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastStreamReader::AudioFrameArrived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->remove_AudioFrameArrived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastStreamReader::VideoFrameArrived(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamReader::VideoFrameArrived(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->add_VideoFrameArrived(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppBroadcastStreamReader::VideoFrameArrived_revoker consume_Windows_Media_Capture_IAppBroadcastStreamReader::VideoFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamReader::VideoFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, VideoFrameArrived(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastStreamReader::VideoFrameArrived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppBroadcastStreamReader::VideoFrameArrived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->remove_VideoFrameArrived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamState) consume_Windows_Media_Capture_IAppBroadcastStreamStateChangedEventArgs::StreamState() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamStateChangedEventArgs::StreamState() const { winrt::Windows::Media::Capture::AppBroadcastStreamState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamStateChangedEventArgs)->get_StreamState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamVideoHeader) consume_Windows_Media_Capture_IAppBroadcastStreamVideoFrame::VideoHeader() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamVideoFrame::VideoHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamVideoFrame)->get_VideoHeader(&value)); return winrt::Windows::Media::Capture::AppBroadcastStreamVideoHeader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Capture_IAppBroadcastStreamVideoFrame::VideoBuffer() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamVideoFrame::VideoBuffer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamVideoFrame)->get_VideoBuffer(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader::AbsoluteTimestamp() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader::AbsoluteTimestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamVideoHeader)->get_AbsoluteTimestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader::RelativeTimestamp() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader::RelativeTimestamp() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamVideoHeader)->get_RelativeTimestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader::Duration() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamVideoHeader)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader::IsKeyFrame() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader::IsKeyFrame() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamVideoHeader)->get_IsKeyFrame(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader::HasDiscontinuity() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader::HasDiscontinuity() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamVideoHeader)->get_HasDiscontinuity(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader::FrameId() const + template auto consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader::FrameId() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamVideoHeader)->get_FrameId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastBackgroundService) consume_Windows_Media_Capture_IAppBroadcastTriggerDetails::BackgroundService() const + template auto consume_Windows_Media_Capture_IAppBroadcastTriggerDetails::BackgroundService() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastTriggerDetails)->get_BackgroundService(&value)); return winrt::Windows::Media::Capture::AppBroadcastBackgroundService{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastViewerCountChangedEventArgs::ViewerCount() const + template auto consume_Windows_Media_Capture_IAppBroadcastViewerCountChangedEventArgs::ViewerCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastViewerCountChangedEventArgs)->get_ViewerCount(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCapture::IsCapturingAudio() const + template auto consume_Windows_Media_Capture_IAppCapture::IsCapturingAudio() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCapture)->get_IsCapturingAudio(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCapture::IsCapturingVideo() const + template auto consume_Windows_Media_Capture_IAppCapture::IsCapturingVideo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCapture)->get_IsCapturingVideo(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppCapture::CapturingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppCapture::CapturingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCapture)->add_CapturingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppCapture::CapturingChanged_revoker consume_Windows_Media_Capture_IAppCapture::CapturingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppCapture::CapturingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CapturingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCapture::CapturingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppCapture::CapturingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCapture)->remove_CapturingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleGameBarKey(winrt::Windows::System::VirtualKey const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleGameBarKey(winrt::Windows::System::VirtualKey const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_ToggleGameBarKey(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleGameBarKey() const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleGameBarKey() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_ToggleGameBarKey(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleGameBarKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleGameBarKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_ToggleGameBarKeyModifiers(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleGameBarKeyModifiers() const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleGameBarKeyModifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_ToggleGameBarKeyModifiers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::SaveHistoricalVideoKey(winrt::Windows::System::VirtualKey const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::SaveHistoricalVideoKey(winrt::Windows::System::VirtualKey const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_SaveHistoricalVideoKey(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::SaveHistoricalVideoKey() const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::SaveHistoricalVideoKey() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_SaveHistoricalVideoKey(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::SaveHistoricalVideoKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::SaveHistoricalVideoKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_SaveHistoricalVideoKeyModifiers(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::SaveHistoricalVideoKeyModifiers() const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::SaveHistoricalVideoKeyModifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_SaveHistoricalVideoKeyModifiers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleRecordingKey(winrt::Windows::System::VirtualKey const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleRecordingKey(winrt::Windows::System::VirtualKey const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_ToggleRecordingKey(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleRecordingKey() const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleRecordingKey() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_ToggleRecordingKey(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleRecordingKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleRecordingKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_ToggleRecordingKeyModifiers(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleRecordingKeyModifiers() const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleRecordingKeyModifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_ToggleRecordingKeyModifiers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::TakeScreenshotKey(winrt::Windows::System::VirtualKey const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::TakeScreenshotKey(winrt::Windows::System::VirtualKey const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_TakeScreenshotKey(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::TakeScreenshotKey() const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::TakeScreenshotKey() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_TakeScreenshotKey(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::TakeScreenshotKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::TakeScreenshotKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_TakeScreenshotKeyModifiers(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::TakeScreenshotKeyModifiers() const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::TakeScreenshotKeyModifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_TakeScreenshotKeyModifiers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleRecordingIndicatorKey(winrt::Windows::System::VirtualKey const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleRecordingIndicatorKey(winrt::Windows::System::VirtualKey const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_ToggleRecordingIndicatorKey(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleRecordingIndicatorKey() const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleRecordingIndicatorKey() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_ToggleRecordingIndicatorKey(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleRecordingIndicatorKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleRecordingIndicatorKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_ToggleRecordingIndicatorKeyModifiers(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleRecordingIndicatorKeyModifiers() const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys::ToggleRecordingIndicatorKeyModifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_ToggleRecordingIndicatorKeyModifiers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2::ToggleMicrophoneCaptureKey(winrt::Windows::System::VirtualKey const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2::ToggleMicrophoneCaptureKey(winrt::Windows::System::VirtualKey const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys2)->put_ToggleMicrophoneCaptureKey(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2::ToggleMicrophoneCaptureKey() const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2::ToggleMicrophoneCaptureKey() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys2)->get_ToggleMicrophoneCaptureKey(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2::ToggleMicrophoneCaptureKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2::ToggleMicrophoneCaptureKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys2)->put_ToggleMicrophoneCaptureKeyModifiers(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2::ToggleMicrophoneCaptureKeyModifiers() const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2::ToggleMicrophoneCaptureKeyModifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys2)->get_ToggleMicrophoneCaptureKeyModifiers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3::ToggleCameraCaptureKey(winrt::Windows::System::VirtualKey const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3::ToggleCameraCaptureKey(winrt::Windows::System::VirtualKey const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3)->put_ToggleCameraCaptureKey(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3::ToggleCameraCaptureKey() const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3::ToggleCameraCaptureKey() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3)->get_ToggleCameraCaptureKey(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3::ToggleCameraCaptureKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3::ToggleCameraCaptureKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3)->put_ToggleCameraCaptureKeyModifiers(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3::ToggleCameraCaptureKeyModifiers() const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3::ToggleCameraCaptureKeyModifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3)->get_ToggleCameraCaptureKeyModifiers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3::ToggleBroadcastKey(winrt::Windows::System::VirtualKey const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3::ToggleBroadcastKey(winrt::Windows::System::VirtualKey const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3)->put_ToggleBroadcastKey(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3::ToggleBroadcastKey() const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3::ToggleBroadcastKey() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3)->get_ToggleBroadcastKey(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3::ToggleBroadcastKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3::ToggleBroadcastKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3)->put_ToggleBroadcastKeyModifiers(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3::ToggleBroadcastKeyModifiers() const + template auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3::ToggleBroadcastKeyModifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3)->get_ToggleBroadcastKeyModifiers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IAppCaptureDurationGeneratedEventArgs::Duration() const + template auto consume_Windows_Media_Capture_IAppCaptureDurationGeneratedEventArgs::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureDurationGeneratedEventArgs)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Media_Capture_IAppCaptureFileGeneratedEventArgs::File() const + template auto consume_Windows_Media_Capture_IAppCaptureFileGeneratedEventArgs::File() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureFileGeneratedEventArgs)->get_File(&value)); return winrt::Windows::Storage::StorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureSettings) consume_Windows_Media_Capture_IAppCaptureManagerStatics::GetCurrentSettings() const + template auto consume_Windows_Media_Capture_IAppCaptureManagerStatics::GetCurrentSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureManagerStatics)->GetCurrentSettings(&value)); return winrt::Windows::Media::Capture::AppCaptureSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureManagerStatics::ApplySettings(winrt::Windows::Media::Capture::AppCaptureSettings const& appCaptureSettings) const + template auto consume_Windows_Media_Capture_IAppCaptureManagerStatics::ApplySettings(winrt::Windows::Media::Capture::AppCaptureSettings const& appCaptureSettings) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureManagerStatics)->ApplySettings(*(void**)(&appCaptureSettings))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter::AddStringEvent(param::hstring const& name, param::hstring const& value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const + template auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter::AddStringEvent(param::hstring const& name, param::hstring const& value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMetadataWriter)->AddStringEvent(*(void**)(&name), *(void**)(&value), static_cast(priority))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter::AddInt32Event(param::hstring const& name, int32_t value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const + template auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter::AddInt32Event(param::hstring const& name, int32_t value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMetadataWriter)->AddInt32Event(*(void**)(&name), value, static_cast(priority))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter::AddDoubleEvent(param::hstring const& name, double value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const + template auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter::AddDoubleEvent(param::hstring const& name, double value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMetadataWriter)->AddDoubleEvent(*(void**)(&name), value, static_cast(priority))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter::StartStringState(param::hstring const& name, param::hstring const& value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const + template auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter::StartStringState(param::hstring const& name, param::hstring const& value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMetadataWriter)->StartStringState(*(void**)(&name), *(void**)(&value), static_cast(priority))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter::StartInt32State(param::hstring const& name, int32_t value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const + template auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter::StartInt32State(param::hstring const& name, int32_t value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMetadataWriter)->StartInt32State(*(void**)(&name), value, static_cast(priority))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter::StartDoubleState(param::hstring const& name, double value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const + template auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter::StartDoubleState(param::hstring const& name, double value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMetadataWriter)->StartDoubleState(*(void**)(&name), value, static_cast(priority))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter::StopState(param::hstring const& name) const + template auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter::StopState(param::hstring const& name) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMetadataWriter)->StopState(*(void**)(&name))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter::StopAllStates() const + template auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter::StopAllStates() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMetadataWriter)->StopAllStates()); } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Capture_IAppCaptureMetadataWriter::RemainingStorageBytesAvailable() const + template auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter::RemainingStorageBytesAvailable() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMetadataWriter)->get_RemainingStorageBytesAvailable(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppCaptureMetadataWriter::MetadataPurged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter::MetadataPurged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMetadataWriter)->add_MetadataPurged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppCaptureMetadataWriter::MetadataPurged_revoker consume_Windows_Media_Capture_IAppCaptureMetadataWriter::MetadataPurged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter::MetadataPurged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MetadataPurged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter::MetadataPurged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter::MetadataPurged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMetadataWriter)->remove_MetadataPurged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureState) consume_Windows_Media_Capture_IAppCaptureMicrophoneCaptureStateChangedEventArgs::State() const + template auto consume_Windows_Media_Capture_IAppCaptureMicrophoneCaptureStateChangedEventArgs::State() const { winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMicrophoneCaptureStateChangedEventArgs)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppCaptureMicrophoneCaptureStateChangedEventArgs::ErrorCode() const + template auto consume_Windows_Media_Capture_IAppCaptureMicrophoneCaptureStateChangedEventArgs::ErrorCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMicrophoneCaptureStateChangedEventArgs)->get_ErrorCode(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureRecordOperation::StopRecording() const + template auto consume_Windows_Media_Capture_IAppCaptureRecordOperation::StopRecording() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->StopRecording()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureRecordingState) consume_Windows_Media_Capture_IAppCaptureRecordOperation::State() const + template auto consume_Windows_Media_Capture_IAppCaptureRecordOperation::State() const { winrt::Windows::Media::Capture::AppCaptureRecordingState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_IAppCaptureRecordOperation::ErrorCode() const + template auto consume_Windows_Media_Capture_IAppCaptureRecordOperation::ErrorCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->get_ErrorCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_IAppCaptureRecordOperation::Duration() const + template auto consume_Windows_Media_Capture_IAppCaptureRecordOperation::Duration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->get_Duration(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Media_Capture_IAppCaptureRecordOperation::File() const + template auto consume_Windows_Media_Capture_IAppCaptureRecordOperation::File() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->get_File(&value)); return winrt::Windows::Storage::StorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_IAppCaptureRecordOperation::IsFileTruncated() const + template auto consume_Windows_Media_Capture_IAppCaptureRecordOperation::IsFileTruncated() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->get_IsFileTruncated(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppCaptureRecordOperation::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureRecordOperation::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->add_StateChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppCaptureRecordOperation::StateChanged_revoker consume_Windows_Media_Capture_IAppCaptureRecordOperation::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureRecordOperation::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, StateChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureRecordOperation::StateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppCaptureRecordOperation::StateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->remove_StateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppCaptureRecordOperation::DurationGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureRecordOperation::DurationGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->add_DurationGenerated(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppCaptureRecordOperation::DurationGenerated_revoker consume_Windows_Media_Capture_IAppCaptureRecordOperation::DurationGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureRecordOperation::DurationGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, DurationGenerated(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureRecordOperation::DurationGenerated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppCaptureRecordOperation::DurationGenerated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->remove_DurationGenerated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppCaptureRecordOperation::FileGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureRecordOperation::FileGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->add_FileGenerated(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppCaptureRecordOperation::FileGenerated_revoker consume_Windows_Media_Capture_IAppCaptureRecordOperation::FileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureRecordOperation::FileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, FileGenerated(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureRecordOperation::FileGenerated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppCaptureRecordOperation::FileGenerated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->remove_FileGenerated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureRecordingState) consume_Windows_Media_Capture_IAppCaptureRecordingStateChangedEventArgs::State() const + template auto consume_Windows_Media_Capture_IAppCaptureRecordingStateChangedEventArgs::State() const { winrt::Windows::Media::Capture::AppCaptureRecordingState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordingStateChangedEventArgs)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppCaptureRecordingStateChangedEventArgs::ErrorCode() const + template auto consume_Windows_Media_Capture_IAppCaptureRecordingStateChangedEventArgs::ErrorCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordingStateChangedEventArgs)->get_ErrorCode(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureRecordOperation) consume_Windows_Media_Capture_IAppCaptureServices::Record() const + template auto consume_Windows_Media_Capture_IAppCaptureServices::Record() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureServices)->Record(&operation)); return winrt::Windows::Media::Capture::AppCaptureRecordOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureRecordOperation) consume_Windows_Media_Capture_IAppCaptureServices::RecordTimeSpan(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const + template auto consume_Windows_Media_Capture_IAppCaptureServices::RecordTimeSpan(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureServices)->RecordTimeSpan(impl::bind_in(startTime), impl::bind_in(duration), &operation)); return winrt::Windows::Media::Capture::AppCaptureRecordOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureServices::CanCapture() const + template auto consume_Windows_Media_Capture_IAppCaptureServices::CanCapture() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureServices)->get_CanCapture(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureState) consume_Windows_Media_Capture_IAppCaptureServices::State() const + template auto consume_Windows_Media_Capture_IAppCaptureServices::State() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureServices)->get_State(&value)); return winrt::Windows::Media::Capture::AppCaptureState{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings::AppCaptureDestinationFolder(winrt::Windows::Storage::StorageFolder const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::AppCaptureDestinationFolder(winrt::Windows::Storage::StorageFolder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_AppCaptureDestinationFolder(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Media_Capture_IAppCaptureSettings::AppCaptureDestinationFolder() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::AppCaptureDestinationFolder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_AppCaptureDestinationFolder(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings::AudioEncodingBitrate(uint32_t value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::AudioEncodingBitrate(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_AudioEncodingBitrate(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppCaptureSettings::AudioEncodingBitrate() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::AudioEncodingBitrate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_AudioEncodingBitrate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings::IsAudioCaptureEnabled(bool value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::IsAudioCaptureEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_IsAudioCaptureEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings::IsAudioCaptureEnabled() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::IsAudioCaptureEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_IsAudioCaptureEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings::CustomVideoEncodingBitrate(uint32_t value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::CustomVideoEncodingBitrate(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_CustomVideoEncodingBitrate(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppCaptureSettings::CustomVideoEncodingBitrate() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::CustomVideoEncodingBitrate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_CustomVideoEncodingBitrate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings::CustomVideoEncodingHeight(uint32_t value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::CustomVideoEncodingHeight(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_CustomVideoEncodingHeight(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppCaptureSettings::CustomVideoEncodingHeight() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::CustomVideoEncodingHeight() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_CustomVideoEncodingHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings::CustomVideoEncodingWidth(uint32_t value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::CustomVideoEncodingWidth(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_CustomVideoEncodingWidth(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppCaptureSettings::CustomVideoEncodingWidth() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::CustomVideoEncodingWidth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_CustomVideoEncodingWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings::HistoricalBufferLength(uint32_t value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::HistoricalBufferLength(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_HistoricalBufferLength(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppCaptureSettings::HistoricalBufferLength() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::HistoricalBufferLength() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_HistoricalBufferLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings::HistoricalBufferLengthUnit(winrt::Windows::Media::Capture::AppCaptureHistoricalBufferLengthUnit const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::HistoricalBufferLengthUnit(winrt::Windows::Media::Capture::AppCaptureHistoricalBufferLengthUnit const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_HistoricalBufferLengthUnit(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureHistoricalBufferLengthUnit) consume_Windows_Media_Capture_IAppCaptureSettings::HistoricalBufferLengthUnit() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::HistoricalBufferLengthUnit() const { winrt::Windows::Media::Capture::AppCaptureHistoricalBufferLengthUnit value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_HistoricalBufferLengthUnit(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings::IsHistoricalCaptureEnabled(bool value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::IsHistoricalCaptureEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_IsHistoricalCaptureEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings::IsHistoricalCaptureEnabled() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::IsHistoricalCaptureEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_IsHistoricalCaptureEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings::IsHistoricalCaptureOnBatteryAllowed(bool value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::IsHistoricalCaptureOnBatteryAllowed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_IsHistoricalCaptureOnBatteryAllowed(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings::IsHistoricalCaptureOnBatteryAllowed() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::IsHistoricalCaptureOnBatteryAllowed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_IsHistoricalCaptureOnBatteryAllowed(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings::IsHistoricalCaptureOnWirelessDisplayAllowed(bool value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::IsHistoricalCaptureOnWirelessDisplayAllowed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_IsHistoricalCaptureOnWirelessDisplayAllowed(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings::IsHistoricalCaptureOnWirelessDisplayAllowed() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::IsHistoricalCaptureOnWirelessDisplayAllowed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_IsHistoricalCaptureOnWirelessDisplayAllowed(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings::MaximumRecordLength(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::MaximumRecordLength(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_MaximumRecordLength(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IAppCaptureSettings::MaximumRecordLength() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::MaximumRecordLength() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_MaximumRecordLength(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings::ScreenshotDestinationFolder(winrt::Windows::Storage::StorageFolder const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::ScreenshotDestinationFolder(winrt::Windows::Storage::StorageFolder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_ScreenshotDestinationFolder(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Media_Capture_IAppCaptureSettings::ScreenshotDestinationFolder() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::ScreenshotDestinationFolder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_ScreenshotDestinationFolder(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings::VideoEncodingBitrateMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingBitrateMode const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::VideoEncodingBitrateMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingBitrateMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_VideoEncodingBitrateMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureVideoEncodingBitrateMode) consume_Windows_Media_Capture_IAppCaptureSettings::VideoEncodingBitrateMode() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::VideoEncodingBitrateMode() const { winrt::Windows::Media::Capture::AppCaptureVideoEncodingBitrateMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_VideoEncodingBitrateMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings::VideoEncodingResolutionMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingResolutionMode const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::VideoEncodingResolutionMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingResolutionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_VideoEncodingResolutionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureVideoEncodingResolutionMode) consume_Windows_Media_Capture_IAppCaptureSettings::VideoEncodingResolutionMode() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::VideoEncodingResolutionMode() const { winrt::Windows::Media::Capture::AppCaptureVideoEncodingResolutionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_VideoEncodingResolutionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings::IsAppCaptureEnabled(bool value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::IsAppCaptureEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_IsAppCaptureEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings::IsAppCaptureEnabled() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::IsAppCaptureEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_IsAppCaptureEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings::IsCpuConstrained() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::IsCpuConstrained() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_IsCpuConstrained(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings::IsDisabledByPolicy() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::IsDisabledByPolicy() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_IsDisabledByPolicy(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings::IsMemoryConstrained() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::IsMemoryConstrained() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_IsMemoryConstrained(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings::HasHardwareEncoder() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings::HasHardwareEncoder() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_HasHardwareEncoder(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings2::IsGpuConstrained() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings2::IsGpuConstrained() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings2)->get_IsGpuConstrained(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureAlternateShortcutKeys) consume_Windows_Media_Capture_IAppCaptureSettings2::AlternateShortcutKeys() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings2::AlternateShortcutKeys() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings2)->get_AlternateShortcutKeys(&value)); return winrt::Windows::Media::Capture::AppCaptureAlternateShortcutKeys{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings3::IsMicrophoneCaptureEnabled(bool value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings3::IsMicrophoneCaptureEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings3)->put_IsMicrophoneCaptureEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings3::IsMicrophoneCaptureEnabled() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings3::IsMicrophoneCaptureEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings3)->get_IsMicrophoneCaptureEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings4::IsMicrophoneCaptureEnabledByDefault(bool value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings4::IsMicrophoneCaptureEnabledByDefault(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings4)->put_IsMicrophoneCaptureEnabledByDefault(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings4::IsMicrophoneCaptureEnabledByDefault() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings4::IsMicrophoneCaptureEnabledByDefault() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings4)->get_IsMicrophoneCaptureEnabledByDefault(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings4::SystemAudioGain(double value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings4::SystemAudioGain(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings4)->put_SystemAudioGain(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Capture_IAppCaptureSettings4::SystemAudioGain() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings4::SystemAudioGain() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings4)->get_SystemAudioGain(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings4::MicrophoneGain(double value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings4::MicrophoneGain(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings4)->put_MicrophoneGain(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Capture_IAppCaptureSettings4::MicrophoneGain() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings4::MicrophoneGain() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings4)->get_MicrophoneGain(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings4::VideoEncodingFrameRateMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingFrameRateMode const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings4::VideoEncodingFrameRateMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingFrameRateMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings4)->put_VideoEncodingFrameRateMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureVideoEncodingFrameRateMode) consume_Windows_Media_Capture_IAppCaptureSettings4::VideoEncodingFrameRateMode() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings4::VideoEncodingFrameRateMode() const { winrt::Windows::Media::Capture::AppCaptureVideoEncodingFrameRateMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings4)->get_VideoEncodingFrameRateMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings5::IsEchoCancellationEnabled(bool value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings5::IsEchoCancellationEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings5)->put_IsEchoCancellationEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings5::IsEchoCancellationEnabled() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings5::IsEchoCancellationEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings5)->get_IsEchoCancellationEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings5::IsCursorImageCaptureEnabled(bool value) const + template auto consume_Windows_Media_Capture_IAppCaptureSettings5::IsCursorImageCaptureEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings5)->put_IsCursorImageCaptureEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings5::IsCursorImageCaptureEnabled() const + template auto consume_Windows_Media_Capture_IAppCaptureSettings5::IsCursorImageCaptureEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings5)->get_IsCursorImageCaptureEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureState::IsTargetRunning() const + template auto consume_Windows_Media_Capture_IAppCaptureState::IsTargetRunning() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->get_IsTargetRunning(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureState::IsHistoricalCaptureEnabled() const + template auto consume_Windows_Media_Capture_IAppCaptureState::IsHistoricalCaptureEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->get_IsHistoricalCaptureEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureState::ShouldCaptureMicrophone() const + template auto consume_Windows_Media_Capture_IAppCaptureState::ShouldCaptureMicrophone() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->get_ShouldCaptureMicrophone(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureState::ShouldCaptureMicrophone(bool value) const + template auto consume_Windows_Media_Capture_IAppCaptureState::ShouldCaptureMicrophone(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->put_ShouldCaptureMicrophone(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureState::RestartMicrophoneCapture() const + template auto consume_Windows_Media_Capture_IAppCaptureState::RestartMicrophoneCapture() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->RestartMicrophoneCapture()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureState) consume_Windows_Media_Capture_IAppCaptureState::MicrophoneCaptureState() const + template auto consume_Windows_Media_Capture_IAppCaptureState::MicrophoneCaptureState() const { winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->get_MicrophoneCaptureState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppCaptureState::MicrophoneCaptureError() const + template auto consume_Windows_Media_Capture_IAppCaptureState::MicrophoneCaptureError() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->get_MicrophoneCaptureError(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppCaptureState::MicrophoneCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureState::MicrophoneCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->add_MicrophoneCaptureStateChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppCaptureState::MicrophoneCaptureStateChanged_revoker consume_Windows_Media_Capture_IAppCaptureState::MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureState::MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, MicrophoneCaptureStateChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureState::MicrophoneCaptureStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppCaptureState::MicrophoneCaptureStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->remove_MicrophoneCaptureStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppCaptureState::CaptureTargetClosed(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureState::CaptureTargetClosed(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->add_CaptureTargetClosed(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IAppCaptureState::CaptureTargetClosed_revoker consume_Windows_Media_Capture_IAppCaptureState::CaptureTargetClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IAppCaptureState::CaptureTargetClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, CaptureTargetClosed(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureState::CaptureTargetClosed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IAppCaptureState::CaptureTargetClosed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->remove_CaptureTargetClosed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCapture) consume_Windows_Media_Capture_IAppCaptureStatics::GetForCurrentView() const + template auto consume_Windows_Media_Capture_IAppCaptureStatics::GetForCurrentView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureStatics)->GetForCurrentView(&value)); return winrt::Windows::Media::Capture::AppCapture{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IAppCaptureStatics2::SetAllowedAsync(bool allowed) const + template auto consume_Windows_Media_Capture_IAppCaptureStatics2::SetAllowedAsync(bool allowed) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureStatics2)->SetAllowedAsync(allowed, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIPhotoCaptureSettings) consume_Windows_Media_Capture_ICameraCaptureUI::PhotoSettings() const + template auto consume_Windows_Media_Capture_ICameraCaptureUI::PhotoSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUI)->get_PhotoSettings(&value)); return winrt::Windows::Media::Capture::CameraCaptureUIPhotoCaptureSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIVideoCaptureSettings) consume_Windows_Media_Capture_ICameraCaptureUI::VideoSettings() const + template auto consume_Windows_Media_Capture_ICameraCaptureUI::VideoSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUI)->get_VideoSettings(&value)); return winrt::Windows::Media::Capture::CameraCaptureUIVideoCaptureSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_ICameraCaptureUI::CaptureFileAsync(winrt::Windows::Media::Capture::CameraCaptureUIMode const& mode) const + template auto consume_Windows_Media_Capture_ICameraCaptureUI::CaptureFileAsync(winrt::Windows::Media::Capture::CameraCaptureUIMode const& mode) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUI)->CaptureFileAsync(static_cast(mode), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIPhotoFormat) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::Format() const + template auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::Format() const { winrt::Windows::Media::Capture::CameraCaptureUIPhotoFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings)->get_Format(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::Format(winrt::Windows::Media::Capture::CameraCaptureUIPhotoFormat const& value) const + template auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::Format(winrt::Windows::Media::Capture::CameraCaptureUIPhotoFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings)->put_Format(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIMaxPhotoResolution) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::MaxResolution() const + template auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::MaxResolution() const { winrt::Windows::Media::Capture::CameraCaptureUIMaxPhotoResolution value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings)->get_MaxResolution(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::MaxResolution(winrt::Windows::Media::Capture::CameraCaptureUIMaxPhotoResolution const& value) const + template auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::MaxResolution(winrt::Windows::Media::Capture::CameraCaptureUIMaxPhotoResolution const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings)->put_MaxResolution(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::CroppedSizeInPixels() const + template auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::CroppedSizeInPixels() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings)->get_CroppedSizeInPixels(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::CroppedSizeInPixels(winrt::Windows::Foundation::Size const& value) const + template auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::CroppedSizeInPixels(winrt::Windows::Foundation::Size const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings)->put_CroppedSizeInPixels(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::CroppedAspectRatio() const + template auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::CroppedAspectRatio() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings)->get_CroppedAspectRatio(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::CroppedAspectRatio(winrt::Windows::Foundation::Size const& value) const + template auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::CroppedAspectRatio(winrt::Windows::Foundation::Size const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings)->put_CroppedAspectRatio(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::AllowCropping() const + template auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::AllowCropping() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings)->get_AllowCropping(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::AllowCropping(bool value) const + template auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings::AllowCropping(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings)->put_AllowCropping(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIVideoFormat) consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings::Format() const + template auto consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings::Format() const { winrt::Windows::Media::Capture::CameraCaptureUIVideoFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings)->get_Format(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings::Format(winrt::Windows::Media::Capture::CameraCaptureUIVideoFormat const& value) const + template auto consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings::Format(winrt::Windows::Media::Capture::CameraCaptureUIVideoFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings)->put_Format(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIMaxVideoResolution) consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings::MaxResolution() const + template auto consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings::MaxResolution() const { winrt::Windows::Media::Capture::CameraCaptureUIMaxVideoResolution value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings)->get_MaxResolution(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings::MaxResolution(winrt::Windows::Media::Capture::CameraCaptureUIMaxVideoResolution const& value) const + template auto consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings::MaxResolution(winrt::Windows::Media::Capture::CameraCaptureUIMaxVideoResolution const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings)->put_MaxResolution(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings::MaxDurationInSeconds() const + template auto consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings::MaxDurationInSeconds() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings)->get_MaxDurationInSeconds(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings::MaxDurationInSeconds(float value) const + template auto consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings::MaxDurationInSeconds(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings)->put_MaxDurationInSeconds(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings::AllowTrimming() const + template auto consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings::AllowTrimming() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings)->get_AllowTrimming(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings::AllowTrimming(bool value) const + template auto consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings::AllowTrimming(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings)->put_AllowTrimming(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraOptionsUIStatics::Show(winrt::Windows::Media::Capture::MediaCapture const& mediaCapture) const + template auto consume_Windows_Media_Capture_ICameraOptionsUIStatics::Show(winrt::Windows::Media::Capture::MediaCapture const& mediaCapture) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraOptionsUIStatics)->Show(*(void**)(&mediaCapture))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_ICapturedFrame::Width() const + template auto consume_Windows_Media_Capture_ICapturedFrame::Width() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrame)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_ICapturedFrame::Height() const + template auto consume_Windows_Media_Capture_ICapturedFrame::Height() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrame)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrameControlValues) consume_Windows_Media_Capture_ICapturedFrame2::ControlValues() const + template auto consume_Windows_Media_Capture_ICapturedFrame2::ControlValues() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrame2)->get_ControlValues(&value)); return winrt::Windows::Media::Capture::CapturedFrameControlValues{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPropertySet) consume_Windows_Media_Capture_ICapturedFrame2::BitmapProperties() const + template auto consume_Windows_Media_Capture_ICapturedFrame2::BitmapProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrame2)->get_BitmapProperties(&value)); return winrt::Windows::Graphics::Imaging::BitmapPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_ICapturedFrameControlValues::Exposure() const + template auto consume_Windows_Media_Capture_ICapturedFrameControlValues::Exposure() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_Exposure(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_ICapturedFrameControlValues::ExposureCompensation() const + template auto consume_Windows_Media_Capture_ICapturedFrameControlValues::ExposureCompensation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_ExposureCompensation(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_ICapturedFrameControlValues::IsoSpeed() const + template auto consume_Windows_Media_Capture_ICapturedFrameControlValues::IsoSpeed() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_IsoSpeed(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_ICapturedFrameControlValues::Focus() const + template auto consume_Windows_Media_Capture_ICapturedFrameControlValues::Focus() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_Focus(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_ICapturedFrameControlValues::SceneMode() const + template auto consume_Windows_Media_Capture_ICapturedFrameControlValues::SceneMode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_SceneMode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_ICapturedFrameControlValues::Flashed() const + template auto consume_Windows_Media_Capture_ICapturedFrameControlValues::Flashed() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_Flashed(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_ICapturedFrameControlValues::FlashPowerPercent() const + template auto consume_Windows_Media_Capture_ICapturedFrameControlValues::FlashPowerPercent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_FlashPowerPercent(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_ICapturedFrameControlValues::WhiteBalance() const + template auto consume_Windows_Media_Capture_ICapturedFrameControlValues::WhiteBalance() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_WhiteBalance(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_ICapturedFrameControlValues::ZoomFactor() const + template auto consume_Windows_Media_Capture_ICapturedFrameControlValues::ZoomFactor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_ZoomFactor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_ICapturedFrameControlValues2::FocusState() const + template auto consume_Windows_Media_Capture_ICapturedFrameControlValues2::FocusState() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues2)->get_FocusState(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_ICapturedFrameControlValues2::IsoDigitalGain() const + template auto consume_Windows_Media_Capture_ICapturedFrameControlValues2::IsoDigitalGain() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues2)->get_IsoDigitalGain(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_ICapturedFrameControlValues2::IsoAnalogGain() const + template auto consume_Windows_Media_Capture_ICapturedFrameControlValues2::IsoAnalogGain() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues2)->get_IsoAnalogGain(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_Capture_ICapturedFrameControlValues2::SensorFrameRate() const + template auto consume_Windows_Media_Capture_ICapturedFrameControlValues2::SensorFrameRate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues2)->get_SensorFrameRate(&value)); return winrt::Windows::Media::MediaProperties::MediaRatio{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_ICapturedFrameControlValues2::WhiteBalanceGain() const + template auto consume_Windows_Media_Capture_ICapturedFrameControlValues2::WhiteBalanceGain() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues2)->get_WhiteBalanceGain(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Media_Capture_ICapturedFrameWithSoftwareBitmap::SoftwareBitmap() const + template auto consume_Windows_Media_Capture_ICapturedFrameWithSoftwareBitmap::SoftwareBitmap() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameWithSoftwareBitmap)->get_SoftwareBitmap(&value)); return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) consume_Windows_Media_Capture_ICapturedPhoto::Frame() const + template auto consume_Windows_Media_Capture_ICapturedPhoto::Frame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedPhoto)->get_Frame(&value)); return winrt::Windows::Media::Capture::CapturedFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) consume_Windows_Media_Capture_ICapturedPhoto::Thumbnail() const + template auto consume_Windows_Media_Capture_ICapturedPhoto::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedPhoto)->get_Thumbnail(&value)); return winrt::Windows::Media::Capture::CapturedFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarTargetCapturePolicy) consume_Windows_Media_Capture_IGameBarServices::TargetCapturePolicy() const + template auto consume_Windows_Media_Capture_IGameBarServices::TargetCapturePolicy() const { winrt::Windows::Media::Capture::GameBarTargetCapturePolicy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServices)->get_TargetCapturePolicy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IGameBarServices::EnableCapture() const + template auto consume_Windows_Media_Capture_IGameBarServices::EnableCapture() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServices)->EnableCapture()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IGameBarServices::DisableCapture() const + template auto consume_Windows_Media_Capture_IGameBarServices::DisableCapture() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServices)->DisableCapture()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarServicesTargetInfo) consume_Windows_Media_Capture_IGameBarServices::TargetInfo() const + template auto consume_Windows_Media_Capture_IGameBarServices::TargetInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServices)->get_TargetInfo(&value)); return winrt::Windows::Media::Capture::GameBarServicesTargetInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IGameBarServices::SessionId() const + template auto consume_Windows_Media_Capture_IGameBarServices::SessionId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServices)->get_SessionId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastServices) consume_Windows_Media_Capture_IGameBarServices::AppBroadcastServices() const + template auto consume_Windows_Media_Capture_IGameBarServices::AppBroadcastServices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServices)->get_AppBroadcastServices(&value)); return winrt::Windows::Media::Capture::AppBroadcastServices{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureServices) consume_Windows_Media_Capture_IGameBarServices::AppCaptureServices() const + template auto consume_Windows_Media_Capture_IGameBarServices::AppCaptureServices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServices)->get_AppCaptureServices(&value)); return winrt::Windows::Media::Capture::AppCaptureServices{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IGameBarServices::CommandReceived(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IGameBarServices::CommandReceived(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServices)->add_CommandReceived(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IGameBarServices::CommandReceived_revoker consume_Windows_Media_Capture_IGameBarServices::CommandReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IGameBarServices::CommandReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, CommandReceived(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IGameBarServices::CommandReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IGameBarServices::CommandReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServices)->remove_CommandReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarCommand) consume_Windows_Media_Capture_IGameBarServicesCommandEventArgs::Command() const + template auto consume_Windows_Media_Capture_IGameBarServicesCommandEventArgs::Command() const { winrt::Windows::Media::Capture::GameBarCommand value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServicesCommandEventArgs)->get_Command(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarCommandOrigin) consume_Windows_Media_Capture_IGameBarServicesCommandEventArgs::Origin() const + template auto consume_Windows_Media_Capture_IGameBarServicesCommandEventArgs::Origin() const { winrt::Windows::Media::Capture::GameBarCommandOrigin value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServicesCommandEventArgs)->get_Origin(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IGameBarServicesManager::GameBarServicesCreated(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IGameBarServicesManager::GameBarServicesCreated(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServicesManager)->add_GameBarServicesCreated(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IGameBarServicesManager::GameBarServicesCreated_revoker consume_Windows_Media_Capture_IGameBarServicesManager::GameBarServicesCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Capture_IGameBarServicesManager::GameBarServicesCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, GameBarServicesCreated(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IGameBarServicesManager::GameBarServicesCreated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IGameBarServicesManager::GameBarServicesCreated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServicesManager)->remove_GameBarServicesCreated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarServices) consume_Windows_Media_Capture_IGameBarServicesManagerGameBarServicesCreatedEventArgs::GameBarServices() const + template auto consume_Windows_Media_Capture_IGameBarServicesManagerGameBarServicesCreatedEventArgs::GameBarServices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServicesManagerGameBarServicesCreatedEventArgs)->get_GameBarServices(&value)); return winrt::Windows::Media::Capture::GameBarServices{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarServicesManager) consume_Windows_Media_Capture_IGameBarServicesManagerStatics::GetDefault() const + template auto consume_Windows_Media_Capture_IGameBarServicesManagerStatics::GetDefault() const { void* ppInstance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServicesManagerStatics)->GetDefault(&ppInstance)); return winrt::Windows::Media::Capture::GameBarServicesManager{ ppInstance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IGameBarServicesTargetInfo::DisplayName() const + template auto consume_Windows_Media_Capture_IGameBarServicesTargetInfo::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServicesTargetInfo)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IGameBarServicesTargetInfo::AppId() const + template auto consume_Windows_Media_Capture_IGameBarServicesTargetInfo::AppId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServicesTargetInfo)->get_AppId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IGameBarServicesTargetInfo::TitleId() const + template auto consume_Windows_Media_Capture_IGameBarServicesTargetInfo::TitleId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServicesTargetInfo)->get_TitleId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarServicesDisplayMode) consume_Windows_Media_Capture_IGameBarServicesTargetInfo::DisplayMode() const + template auto consume_Windows_Media_Capture_IGameBarServicesTargetInfo::DisplayMode() const { winrt::Windows::Media::Capture::GameBarServicesDisplayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServicesTargetInfo)->get_DisplayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagMediaRecording::StartAsync() const + template auto consume_Windows_Media_Capture_ILowLagMediaRecording::StartAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagMediaRecording)->StartAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagMediaRecording::StopAsync() const + template auto consume_Windows_Media_Capture_ILowLagMediaRecording::StopAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagMediaRecording)->StopAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagMediaRecording::FinishAsync() const + template auto consume_Windows_Media_Capture_ILowLagMediaRecording::FinishAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagMediaRecording)->FinishAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagMediaRecording2::PauseAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const + template auto consume_Windows_Media_Capture_ILowLagMediaRecording2::PauseAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagMediaRecording2)->PauseAsync(static_cast(behavior), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagMediaRecording2::ResumeAsync() const + template auto consume_Windows_Media_Capture_ILowLagMediaRecording2::ResumeAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagMediaRecording2)->ResumeAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_ILowLagMediaRecording3::PauseWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const + template auto consume_Windows_Media_Capture_ILowLagMediaRecording3::PauseWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagMediaRecording3)->PauseWithResultAsync(static_cast(behavior), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_ILowLagMediaRecording3::StopWithResultAsync() const + template auto consume_Windows_Media_Capture_ILowLagMediaRecording3::StopWithResultAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagMediaRecording3)->StopWithResultAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_ILowLagPhotoCapture::CaptureAsync() const + template auto consume_Windows_Media_Capture_ILowLagPhotoCapture::CaptureAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagPhotoCapture)->CaptureAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagPhotoCapture::FinishAsync() const + template auto consume_Windows_Media_Capture_ILowLagPhotoCapture::FinishAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagPhotoCapture)->FinishAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture::StartAsync() const + template auto consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture::StartAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagPhotoSequenceCapture)->StartAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture::StopAsync() const + template auto consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture::StopAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagPhotoSequenceCapture)->StopAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture::FinishAsync() const + template auto consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture::FinishAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagPhotoSequenceCapture)->FinishAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture::PhotoCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture::PhotoCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagPhotoSequenceCapture)->add_PhotoCaptured(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture::PhotoCaptured_revoker consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture::PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture::PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PhotoCaptured(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture::PhotoCaptured(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture::PhotoCaptured(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagPhotoSequenceCapture)->remove_PhotoCaptured(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture::InitializeAsync() const + template auto consume_Windows_Media_Capture_IMediaCapture::InitializeAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->InitializeAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture::InitializeAsync(winrt::Windows::Media::Capture::MediaCaptureInitializationSettings const& mediaCaptureInitializationSettings) const + template auto consume_Windows_Media_Capture_IMediaCapture::InitializeAsync(winrt::Windows::Media::Capture::MediaCaptureInitializationSettings const& mediaCaptureInitializationSettings) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->InitializeWithSettingsAsync(*(void**)(&mediaCaptureInitializationSettings), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture::StartRecordToStorageFileAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Media_Capture_IMediaCapture::StartRecordToStorageFileAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::IStorageFile const& file) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->StartRecordToStorageFileAsync(*(void**)(&encodingProfile), *(void**)(&file), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture::StartRecordToStreamAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const + template auto consume_Windows_Media_Capture_IMediaCapture::StartRecordToStreamAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->StartRecordToStreamAsync(*(void**)(&encodingProfile), *(void**)(&stream), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture::StartRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const + template auto consume_Windows_Media_Capture_IMediaCapture::StartRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->StartRecordToCustomSinkAsync(*(void**)(&encodingProfile), *(void**)(&customMediaSink), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture::StartRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const + template auto consume_Windows_Media_Capture_IMediaCapture::StartRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->StartRecordToCustomSinkIdAsync(*(void**)(&encodingProfile), *(void**)(&customSinkActivationId), *(void**)(&customSinkSettings), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture::StopRecordAsync() const + template auto consume_Windows_Media_Capture_IMediaCapture::StopRecordAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->StopRecordAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture::CapturePhotoToStorageFileAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type, winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Media_Capture_IMediaCapture::CapturePhotoToStorageFileAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type, winrt::Windows::Storage::IStorageFile const& file) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->CapturePhotoToStorageFileAsync(*(void**)(&type), *(void**)(&file), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture::CapturePhotoToStreamAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const + template auto consume_Windows_Media_Capture_IMediaCapture::CapturePhotoToStreamAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->CapturePhotoToStreamAsync(*(void**)(&type), *(void**)(&stream), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture::AddEffectAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, param::hstring const& effectActivationID, winrt::Windows::Foundation::Collections::IPropertySet const& effectSettings) const + template auto consume_Windows_Media_Capture_IMediaCapture::AddEffectAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, param::hstring const& effectActivationID, winrt::Windows::Foundation::Collections::IPropertySet const& effectSettings) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->AddEffectAsync(static_cast(mediaStreamType), *(void**)(&effectActivationID), *(void**)(&effectSettings), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture::ClearEffectsAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const + template auto consume_Windows_Media_Capture_IMediaCapture::ClearEffectsAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->ClearEffectsAsync(static_cast(mediaStreamType), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture::SetEncoderProperty(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::guid const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const + template auto consume_Windows_Media_Capture_IMediaCapture::SetEncoderProperty(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::guid const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->SetEncoderProperty(static_cast(mediaStreamType), impl::bind_in(propertyId), *(void**)(&propertyValue))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Media_Capture_IMediaCapture::GetEncoderProperty(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::guid const& propertyId) const + template auto consume_Windows_Media_Capture_IMediaCapture::GetEncoderProperty(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::guid const& propertyId) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->GetEncoderProperty(static_cast(mediaStreamType), impl::bind_in(propertyId), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IMediaCapture::Failed(winrt::Windows::Media::Capture::MediaCaptureFailedEventHandler const& errorEventHandler) const + template auto consume_Windows_Media_Capture_IMediaCapture::Failed(winrt::Windows::Media::Capture::MediaCaptureFailedEventHandler const& errorEventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->add_Failed(*(void**)(&errorEventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Media_Capture_IMediaCapture::Failed_revoker consume_Windows_Media_Capture_IMediaCapture::Failed(auto_revoke_t, winrt::Windows::Media::Capture::MediaCaptureFailedEventHandler const& errorEventHandler) const + template auto consume_Windows_Media_Capture_IMediaCapture::Failed(auto_revoke_t, winrt::Windows::Media::Capture::MediaCaptureFailedEventHandler const& errorEventHandler) const { return impl::make_event_revoker(this, Failed(errorEventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture::Failed(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Media_Capture_IMediaCapture::Failed(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->remove_Failed(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IMediaCapture::RecordLimitationExceeded(winrt::Windows::Media::Capture::RecordLimitationExceededEventHandler const& recordLimitationExceededEventHandler) const + template auto consume_Windows_Media_Capture_IMediaCapture::RecordLimitationExceeded(winrt::Windows::Media::Capture::RecordLimitationExceededEventHandler const& recordLimitationExceededEventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->add_RecordLimitationExceeded(*(void**)(&recordLimitationExceededEventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Media_Capture_IMediaCapture::RecordLimitationExceeded_revoker consume_Windows_Media_Capture_IMediaCapture::RecordLimitationExceeded(auto_revoke_t, winrt::Windows::Media::Capture::RecordLimitationExceededEventHandler const& recordLimitationExceededEventHandler) const + template auto consume_Windows_Media_Capture_IMediaCapture::RecordLimitationExceeded(auto_revoke_t, winrt::Windows::Media::Capture::RecordLimitationExceededEventHandler const& recordLimitationExceededEventHandler) const { return impl::make_event_revoker(this, RecordLimitationExceeded(recordLimitationExceededEventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture::RecordLimitationExceeded(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Media_Capture_IMediaCapture::RecordLimitationExceeded(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->remove_RecordLimitationExceeded(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureSettings) consume_Windows_Media_Capture_IMediaCapture::MediaCaptureSettings() const + template auto consume_Windows_Media_Capture_IMediaCapture::MediaCaptureSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->get_MediaCaptureSettings(&value)); return winrt::Windows::Media::Capture::MediaCaptureSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AudioDeviceController) consume_Windows_Media_Capture_IMediaCapture::AudioDeviceController() const + template auto consume_Windows_Media_Capture_IMediaCapture::AudioDeviceController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->get_AudioDeviceController(&value)); return winrt::Windows::Media::Devices::AudioDeviceController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceController) consume_Windows_Media_Capture_IMediaCapture::VideoDeviceController() const + template auto consume_Windows_Media_Capture_IMediaCapture::VideoDeviceController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->get_VideoDeviceController(&value)); return winrt::Windows::Media::Devices::VideoDeviceController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture::SetPreviewMirroring(bool value) const + template auto consume_Windows_Media_Capture_IMediaCapture::SetPreviewMirroring(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->SetPreviewMirroring(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IMediaCapture::GetPreviewMirroring() const + template auto consume_Windows_Media_Capture_IMediaCapture::GetPreviewMirroring() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->GetPreviewMirroring(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture::SetPreviewRotation(winrt::Windows::Media::Capture::VideoRotation const& value) const + template auto consume_Windows_Media_Capture_IMediaCapture::SetPreviewRotation(winrt::Windows::Media::Capture::VideoRotation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->SetPreviewRotation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::VideoRotation) consume_Windows_Media_Capture_IMediaCapture::GetPreviewRotation() const + template auto consume_Windows_Media_Capture_IMediaCapture::GetPreviewRotation() const { winrt::Windows::Media::Capture::VideoRotation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->GetPreviewRotation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture::SetRecordRotation(winrt::Windows::Media::Capture::VideoRotation const& value) const + template auto consume_Windows_Media_Capture_IMediaCapture::SetRecordRotation(winrt::Windows::Media::Capture::VideoRotation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->SetRecordRotation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::VideoRotation) consume_Windows_Media_Capture_IMediaCapture::GetRecordRotation() const + template auto consume_Windows_Media_Capture_IMediaCapture::GetRecordRotation() const { winrt::Windows::Media::Capture::VideoRotation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->GetRecordRotation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture2::PrepareLowLagRecordToStorageFileAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Media_Capture_IMediaCapture2::PrepareLowLagRecordToStorageFileAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::IStorageFile const& file) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture2)->PrepareLowLagRecordToStorageFileAsync(*(void**)(&encodingProfile), *(void**)(&file), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture2::PrepareLowLagRecordToStreamAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const + template auto consume_Windows_Media_Capture_IMediaCapture2::PrepareLowLagRecordToStreamAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture2)->PrepareLowLagRecordToStreamAsync(*(void**)(&encodingProfile), *(void**)(&stream), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture2::PrepareLowLagRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const + template auto consume_Windows_Media_Capture_IMediaCapture2::PrepareLowLagRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture2)->PrepareLowLagRecordToCustomSinkAsync(*(void**)(&encodingProfile), *(void**)(&customMediaSink), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture2::PrepareLowLagRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const + template auto consume_Windows_Media_Capture_IMediaCapture2::PrepareLowLagRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture2)->PrepareLowLagRecordToCustomSinkIdAsync(*(void**)(&encodingProfile), *(void**)(&customSinkActivationId), *(void**)(&customSinkSettings), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture2::PrepareLowLagPhotoCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const + template auto consume_Windows_Media_Capture_IMediaCapture2::PrepareLowLagPhotoCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture2)->PrepareLowLagPhotoCaptureAsync(*(void**)(&type), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture2::PrepareLowLagPhotoSequenceCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const + template auto consume_Windows_Media_Capture_IMediaCapture2::PrepareLowLagPhotoSequenceCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture2)->PrepareLowLagPhotoSequenceCaptureAsync(*(void**)(&type), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture2::SetEncodingPropertiesAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& mediaEncodingProperties, winrt::Windows::Media::MediaProperties::MediaPropertySet const& encoderProperties) const + template auto consume_Windows_Media_Capture_IMediaCapture2::SetEncodingPropertiesAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& mediaEncodingProperties, winrt::Windows::Media::MediaProperties::MediaPropertySet const& encoderProperties) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture2)->SetEncodingPropertiesAsync(static_cast(mediaStreamType), *(void**)(&mediaEncodingProperties), *(void**)(&encoderProperties), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture3::PrepareVariablePhotoSequenceCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const + template auto consume_Windows_Media_Capture_IMediaCapture3::PrepareVariablePhotoSequenceCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture3)->PrepareVariablePhotoSequenceCaptureAsync(*(void**)(&type), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IMediaCapture3::FocusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IMediaCapture3::FocusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture3)->add_FocusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IMediaCapture3::FocusChanged_revoker consume_Windows_Media_Capture_IMediaCapture3::FocusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IMediaCapture3::FocusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FocusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture3::FocusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IMediaCapture3::FocusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture3)->remove_FocusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IMediaCapture3::PhotoConfirmationCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IMediaCapture3::PhotoConfirmationCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture3)->add_PhotoConfirmationCaptured(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IMediaCapture3::PhotoConfirmationCaptured_revoker consume_Windows_Media_Capture_IMediaCapture3::PhotoConfirmationCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IMediaCapture3::PhotoConfirmationCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PhotoConfirmationCaptured(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture3::PhotoConfirmationCaptured(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IMediaCapture3::PhotoConfirmationCaptured(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture3)->remove_PhotoConfirmationCaptured(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture4::AddAudioEffectAsync(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const + template auto consume_Windows_Media_Capture_IMediaCapture4::AddAudioEffectAsync(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const { void* op{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->AddAudioEffectAsync(*(void**)(&definition), &op)); return winrt::Windows::Foundation::IAsyncOperation{ op, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture4::AddVideoEffectAsync(winrt::Windows::Media::Effects::IVideoEffectDefinition const& definition, winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const + template auto consume_Windows_Media_Capture_IMediaCapture4::AddVideoEffectAsync(winrt::Windows::Media::Effects::IVideoEffectDefinition const& definition, winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const { void* op{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->AddVideoEffectAsync(*(void**)(&definition), static_cast(mediaStreamType), &op)); return winrt::Windows::Foundation::IAsyncOperation{ op, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture4::PauseRecordAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const + template auto consume_Windows_Media_Capture_IMediaCapture4::PauseRecordAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->PauseRecordAsync(static_cast(behavior), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture4::ResumeRecordAsync() const + template auto consume_Windows_Media_Capture_IMediaCapture4::ResumeRecordAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->ResumeRecordAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IMediaCapture4::CameraStreamStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IMediaCapture4::CameraStreamStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->add_CameraStreamStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IMediaCapture4::CameraStreamStateChanged_revoker consume_Windows_Media_Capture_IMediaCapture4::CameraStreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IMediaCapture4::CameraStreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CameraStreamStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture4::CameraStreamStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IMediaCapture4::CameraStreamStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->remove_CameraStreamStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::CameraStreamState) consume_Windows_Media_Capture_IMediaCapture4::CameraStreamState() const + template auto consume_Windows_Media_Capture_IMediaCapture4::CameraStreamState() const { winrt::Windows::Media::Devices::CameraStreamState streamState{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->get_CameraStreamState(reinterpret_cast(&streamState))); return streamState; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture4::GetPreviewFrameAsync() const + template auto consume_Windows_Media_Capture_IMediaCapture4::GetPreviewFrameAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->GetPreviewFrameAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture4::GetPreviewFrameAsync(winrt::Windows::Media::VideoFrame const& destination) const + template auto consume_Windows_Media_Capture_IMediaCapture4::GetPreviewFrameAsync(winrt::Windows::Media::VideoFrame const& destination) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->GetPreviewFrameCopyAsync(*(void**)(&destination), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IMediaCapture4::ThermalStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IMediaCapture4::ThermalStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->add_ThermalStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IMediaCapture4::ThermalStatusChanged_revoker consume_Windows_Media_Capture_IMediaCapture4::ThermalStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IMediaCapture4::ThermalStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ThermalStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture4::ThermalStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IMediaCapture4::ThermalStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->remove_ThermalStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureThermalStatus) consume_Windows_Media_Capture_IMediaCapture4::ThermalStatus() const + template auto consume_Windows_Media_Capture_IMediaCapture4::ThermalStatus() const { winrt::Windows::Media::Capture::MediaCaptureThermalStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->get_ThermalStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture4::PrepareAdvancedPhotoCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& encodingProperties) const + template auto consume_Windows_Media_Capture_IMediaCapture4::PrepareAdvancedPhotoCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& encodingProperties) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->PrepareAdvancedPhotoCaptureAsync(*(void**)(&encodingProperties), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture5::RemoveEffectAsync(winrt::Windows::Media::IMediaExtension const& effect) const + template auto consume_Windows_Media_Capture_IMediaCapture5::RemoveEffectAsync(winrt::Windows::Media::IMediaExtension const& effect) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture5)->RemoveEffectAsync(*(void**)(&effect), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture5::PauseRecordWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const + template auto consume_Windows_Media_Capture_IMediaCapture5::PauseRecordWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture5)->PauseRecordWithResultAsync(static_cast(behavior), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture5::StopRecordWithResultAsync() const + template auto consume_Windows_Media_Capture_IMediaCapture5::StopRecordWithResultAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture5)->StopRecordWithResultAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Media_Capture_IMediaCapture5::FrameSources() const + template auto consume_Windows_Media_Capture_IMediaCapture5::FrameSources() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture5)->get_FrameSources(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture5::CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource) const + template auto consume_Windows_Media_Capture_IMediaCapture5::CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture5)->CreateFrameReaderAsync(*(void**)(&inputSource), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture5::CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource, param::hstring const& outputSubtype) const + template auto consume_Windows_Media_Capture_IMediaCapture5::CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource, param::hstring const& outputSubtype) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture5)->CreateFrameReaderWithSubtypeAsync(*(void**)(&inputSource), *(void**)(&outputSubtype), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture5::CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource, param::hstring const& outputSubtype, winrt::Windows::Graphics::Imaging::BitmapSize const& outputSize) const + template auto consume_Windows_Media_Capture_IMediaCapture5::CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource, param::hstring const& outputSubtype, winrt::Windows::Graphics::Imaging::BitmapSize const& outputSize) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture5)->CreateFrameReaderWithSubtypeAndSizeAsync(*(void**)(&inputSource), *(void**)(&outputSubtype), impl::bind_in(outputSize), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IMediaCapture6::CaptureDeviceExclusiveControlStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IMediaCapture6::CaptureDeviceExclusiveControlStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture6)->add_CaptureDeviceExclusiveControlStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IMediaCapture6::CaptureDeviceExclusiveControlStatusChanged_revoker consume_Windows_Media_Capture_IMediaCapture6::CaptureDeviceExclusiveControlStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IMediaCapture6::CaptureDeviceExclusiveControlStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CaptureDeviceExclusiveControlStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture6::CaptureDeviceExclusiveControlStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IMediaCapture6::CaptureDeviceExclusiveControlStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture6)->remove_CaptureDeviceExclusiveControlStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Capture_IMediaCapture6::CreateMultiSourceFrameReaderAsync(param::async_iterable const& inputSources) const + template auto consume_Windows_Media_Capture_IMediaCapture6::CreateMultiSourceFrameReaderAsync(param::async_iterable const& inputSources) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture6)->CreateMultiSourceFrameReaderAsync(*(void**)(&inputSources), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureRelativePanelWatcher) consume_Windows_Media_Capture_IMediaCapture7::CreateRelativePanelWatcher(winrt::Windows::Media::Capture::StreamingCaptureMode const& captureMode, winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const + template auto consume_Windows_Media_Capture_IMediaCapture7::CreateRelativePanelWatcher(winrt::Windows::Media::Capture::StreamingCaptureMode const& captureMode, winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture7)->CreateRelativePanelWatcher(static_cast(captureMode), *(void**)(&displayRegion), &result)); return winrt::Windows::Media::Capture::MediaCaptureRelativePanelWatcher{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs::DeviceId() const + template auto consume_Windows_Media_Capture_IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureDeviceExclusiveControlStatus) consume_Windows_Media_Capture_IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs::Status() const + template auto consume_Windows_Media_Capture_IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs::Status() const { winrt::Windows::Media::Capture::MediaCaptureDeviceExclusiveControlStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureFailedEventArgs::Message() const + template auto consume_Windows_Media_Capture_IMediaCaptureFailedEventArgs::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureFailedEventArgs)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IMediaCaptureFailedEventArgs::Code() const + template auto consume_Windows_Media_Capture_IMediaCaptureFailedEventArgs::Code() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureFailedEventArgs)->get_Code(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaCaptureFocusState) consume_Windows_Media_Capture_IMediaCaptureFocusChangedEventArgs::FocusState() const + template auto consume_Windows_Media_Capture_IMediaCaptureFocusChangedEventArgs::FocusState() const { winrt::Windows::Media::Devices::MediaCaptureFocusState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureFocusChangedEventArgs)->get_FocusState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings::AudioDeviceId(param::hstring const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings::AudioDeviceId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings)->put_AudioDeviceId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings::AudioDeviceId() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings::AudioDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings)->get_AudioDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings::VideoDeviceId(param::hstring const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings::VideoDeviceId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings)->put_VideoDeviceId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings::VideoDeviceId() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings::VideoDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings)->get_VideoDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings::StreamingCaptureMode(winrt::Windows::Media::Capture::StreamingCaptureMode const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings::StreamingCaptureMode(winrt::Windows::Media::Capture::StreamingCaptureMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings)->put_StreamingCaptureMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::StreamingCaptureMode) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings::StreamingCaptureMode() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings::StreamingCaptureMode() const { winrt::Windows::Media::Capture::StreamingCaptureMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings)->get_StreamingCaptureMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings::PhotoCaptureSource(winrt::Windows::Media::Capture::PhotoCaptureSource const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings::PhotoCaptureSource(winrt::Windows::Media::Capture::PhotoCaptureSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings)->put_PhotoCaptureSource(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::PhotoCaptureSource) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings::PhotoCaptureSource() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings::PhotoCaptureSource() const { winrt::Windows::Media::Capture::PhotoCaptureSource value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings)->get_PhotoCaptureSource(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2::MediaCategory(winrt::Windows::Media::Capture::MediaCategory const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2::MediaCategory(winrt::Windows::Media::Capture::MediaCategory const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings2)->put_MediaCategory(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCategory) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2::MediaCategory() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2::MediaCategory() const { winrt::Windows::Media::Capture::MediaCategory value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings2)->get_MediaCategory(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2::AudioProcessing(winrt::Windows::Media::AudioProcessing const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2::AudioProcessing(winrt::Windows::Media::AudioProcessing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings2)->put_AudioProcessing(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AudioProcessing) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2::AudioProcessing() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2::AudioProcessing() const { winrt::Windows::Media::AudioProcessing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings2)->get_AudioProcessing(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3::AudioSource(winrt::Windows::Media::Core::IMediaSource const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3::AudioSource(winrt::Windows::Media::Core::IMediaSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings3)->put_AudioSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaSource) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3::AudioSource() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3::AudioSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings3)->get_AudioSource(&value)); return winrt::Windows::Media::Core::IMediaSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3::VideoSource(winrt::Windows::Media::Core::IMediaSource const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3::VideoSource(winrt::Windows::Media::Core::IMediaSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings3)->put_VideoSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaSource) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3::VideoSource() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3::VideoSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings3)->get_VideoSource(&value)); return winrt::Windows::Media::Core::IMediaSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureVideoProfile) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4::VideoProfile() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4::VideoProfile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings4)->get_VideoProfile(&value)); return winrt::Windows::Media::Capture::MediaCaptureVideoProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4::VideoProfile(winrt::Windows::Media::Capture::MediaCaptureVideoProfile const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4::VideoProfile(winrt::Windows::Media::Capture::MediaCaptureVideoProfile const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings4)->put_VideoProfile(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4::PreviewMediaDescription() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4::PreviewMediaDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings4)->get_PreviewMediaDescription(&value)); return winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4::PreviewMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4::PreviewMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings4)->put_PreviewMediaDescription(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4::RecordMediaDescription() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4::RecordMediaDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings4)->get_RecordMediaDescription(&value)); return winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4::RecordMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4::RecordMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings4)->put_RecordMediaDescription(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4::PhotoMediaDescription() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4::PhotoMediaDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings4)->get_PhotoMediaDescription(&value)); return winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4::PhotoMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4::PhotoMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings4)->put_PhotoMediaDescription(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5::SourceGroup() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5::SourceGroup() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings5)->get_SourceGroup(&value)); return winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5::SourceGroup(winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5::SourceGroup(winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings5)->put_SourceGroup(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureSharingMode) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5::SharingMode() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5::SharingMode() const { winrt::Windows::Media::Capture::MediaCaptureSharingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings5)->get_SharingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5::SharingMode(winrt::Windows::Media::Capture::MediaCaptureSharingMode const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5::SharingMode(winrt::Windows::Media::Capture::MediaCaptureSharingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings5)->put_SharingMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureMemoryPreference) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5::MemoryPreference() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5::MemoryPreference() const { winrt::Windows::Media::Capture::MediaCaptureMemoryPreference value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings5)->get_MemoryPreference(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5::MemoryPreference(winrt::Windows::Media::Capture::MediaCaptureMemoryPreference const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5::MemoryPreference(winrt::Windows::Media::Capture::MediaCaptureMemoryPreference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings5)->put_MemoryPreference(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings6::AlwaysPlaySystemShutterSound() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings6::AlwaysPlaySystemShutterSound() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings6)->get_AlwaysPlaySystemShutterSound(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings6::AlwaysPlaySystemShutterSound(bool value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings6::AlwaysPlaySystemShutterSound(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings6)->put_AlwaysPlaySystemShutterSound(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7::DeviceUriPasswordCredential() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7::DeviceUriPasswordCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings7)->get_DeviceUriPasswordCredential(&value)); return winrt::Windows::Security::Credentials::PasswordCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7::DeviceUriPasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7::DeviceUriPasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings7)->put_DeviceUriPasswordCredential(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7::DeviceUri() const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7::DeviceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings7)->get_DeviceUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7::DeviceUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7::DeviceUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings7)->put_DeviceUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_Capture_IMediaCapturePauseResult::LastFrame() const + template auto consume_Windows_Media_Capture_IMediaCapturePauseResult::LastFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapturePauseResult)->get_LastFrame(&value)); return winrt::Windows::Media::VideoFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IMediaCapturePauseResult::RecordDuration() const + template auto consume_Windows_Media_Capture_IMediaCapturePauseResult::RecordDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapturePauseResult)->get_RecordDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Panel) consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher::RelativePanel() const + template auto consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher::RelativePanel() const { winrt::Windows::Devices::Enumeration::Panel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher)->get_RelativePanel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher)->add_Changed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher::Changed_revoker consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Changed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher::Changed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher::Changed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher)->remove_Changed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher::Start() const + template auto consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher::Stop() const + template auto consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher)->Stop()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureSettings::AudioDeviceId() const + template auto consume_Windows_Media_Capture_IMediaCaptureSettings::AudioDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings)->get_AudioDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureSettings::VideoDeviceId() const + template auto consume_Windows_Media_Capture_IMediaCaptureSettings::VideoDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings)->get_VideoDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::StreamingCaptureMode) consume_Windows_Media_Capture_IMediaCaptureSettings::StreamingCaptureMode() const + template auto consume_Windows_Media_Capture_IMediaCaptureSettings::StreamingCaptureMode() const { winrt::Windows::Media::Capture::StreamingCaptureMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings)->get_StreamingCaptureMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::PhotoCaptureSource) consume_Windows_Media_Capture_IMediaCaptureSettings::PhotoCaptureSource() const + template auto consume_Windows_Media_Capture_IMediaCaptureSettings::PhotoCaptureSource() const { winrt::Windows::Media::Capture::PhotoCaptureSource value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings)->get_PhotoCaptureSource(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::VideoDeviceCharacteristic) consume_Windows_Media_Capture_IMediaCaptureSettings::VideoDeviceCharacteristic() const + template auto consume_Windows_Media_Capture_IMediaCaptureSettings::VideoDeviceCharacteristic() const { winrt::Windows::Media::Capture::VideoDeviceCharacteristic value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings)->get_VideoDeviceCharacteristic(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IMediaCaptureSettings2::ConcurrentRecordAndPhotoSupported() const + template auto consume_Windows_Media_Capture_IMediaCaptureSettings2::ConcurrentRecordAndPhotoSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings2)->get_ConcurrentRecordAndPhotoSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IMediaCaptureSettings2::ConcurrentRecordAndPhotoSequenceSupported() const + template auto consume_Windows_Media_Capture_IMediaCaptureSettings2::ConcurrentRecordAndPhotoSequenceSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings2)->get_ConcurrentRecordAndPhotoSequenceSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IMediaCaptureSettings2::CameraSoundRequiredForRegion() const + template auto consume_Windows_Media_Capture_IMediaCaptureSettings2::CameraSoundRequiredForRegion() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings2)->get_CameraSoundRequiredForRegion(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_IMediaCaptureSettings2::Horizontal35mmEquivalentFocalLength() const + template auto consume_Windows_Media_Capture_IMediaCaptureSettings2::Horizontal35mmEquivalentFocalLength() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings2)->get_Horizontal35mmEquivalentFocalLength(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_IMediaCaptureSettings2::PitchOffsetDegrees() const + template auto consume_Windows_Media_Capture_IMediaCaptureSettings2::PitchOffsetDegrees() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings2)->get_PitchOffsetDegrees(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Capture_IMediaCaptureSettings2::Vertical35mmEquivalentFocalLength() const + template auto consume_Windows_Media_Capture_IMediaCaptureSettings2::Vertical35mmEquivalentFocalLength() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings2)->get_Vertical35mmEquivalentFocalLength(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCategory) consume_Windows_Media_Capture_IMediaCaptureSettings2::MediaCategory() const + template auto consume_Windows_Media_Capture_IMediaCaptureSettings2::MediaCategory() const { winrt::Windows::Media::Capture::MediaCategory value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings2)->get_MediaCategory(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AudioProcessing) consume_Windows_Media_Capture_IMediaCaptureSettings2::AudioProcessing() const + template auto consume_Windows_Media_Capture_IMediaCaptureSettings2::AudioProcessing() const { winrt::Windows::Media::AudioProcessing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings2)->get_AudioProcessing(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice) consume_Windows_Media_Capture_IMediaCaptureSettings3::Direct3D11Device() const + template auto consume_Windows_Media_Capture_IMediaCaptureSettings3::Direct3D11Device() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings3)->get_Direct3D11Device(&value)); return winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IMediaCaptureStatics::IsVideoProfileSupported(param::hstring const& videoDeviceId) const + template auto consume_Windows_Media_Capture_IMediaCaptureStatics::IsVideoProfileSupported(param::hstring const& videoDeviceId) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureStatics)->IsVideoProfileSupported(*(void**)(&videoDeviceId), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Capture_IMediaCaptureStatics::FindAllVideoProfiles(param::hstring const& videoDeviceId) const + template auto consume_Windows_Media_Capture_IMediaCaptureStatics::FindAllVideoProfiles(param::hstring const& videoDeviceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureStatics)->FindAllVideoProfiles(*(void**)(&videoDeviceId), &value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Capture_IMediaCaptureStatics::FindConcurrentProfiles(param::hstring const& videoDeviceId) const + template auto consume_Windows_Media_Capture_IMediaCaptureStatics::FindConcurrentProfiles(param::hstring const& videoDeviceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureStatics)->FindConcurrentProfiles(*(void**)(&videoDeviceId), &value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Capture_IMediaCaptureStatics::FindKnownVideoProfiles(param::hstring const& videoDeviceId, winrt::Windows::Media::Capture::KnownVideoProfile const& name) const + template auto consume_Windows_Media_Capture_IMediaCaptureStatics::FindKnownVideoProfiles(param::hstring const& videoDeviceId, winrt::Windows::Media::Capture::KnownVideoProfile const& name) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureStatics)->FindKnownVideoProfiles(*(void**)(&videoDeviceId), static_cast(name), &value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_Capture_IMediaCaptureStopResult::LastFrame() const + template auto consume_Windows_Media_Capture_IMediaCaptureStopResult::LastFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureStopResult)->get_LastFrame(&value)); return winrt::Windows::Media::VideoFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IMediaCaptureStopResult::RecordDuration() const + template auto consume_Windows_Media_Capture_IMediaCaptureStopResult::RecordDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureStopResult)->get_RecordDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCaptureVideoPreview::StartPreviewAsync() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoPreview::StartPreviewAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoPreview)->StartPreviewAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCaptureVideoPreview::StartPreviewToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoPreview::StartPreviewToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoPreview)->StartPreviewToCustomSinkAsync(*(void**)(&encodingProfile), *(void**)(&customMediaSink), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCaptureVideoPreview::StartPreviewToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoPreview::StartPreviewToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoPreview)->StartPreviewToCustomSinkIdAsync(*(void**)(&encodingProfile), *(void**)(&customSinkActivationId), *(void**)(&customSinkSettings), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCaptureVideoPreview::StopPreviewAsync() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoPreview::StopPreviewAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoPreview)->StopPreviewAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureVideoProfile::Id() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoProfile::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfile)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureVideoProfile::VideoDeviceId() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoProfile::VideoDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfile)->get_VideoDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Capture_IMediaCaptureVideoProfile::SupportedPreviewMediaDescription() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoProfile::SupportedPreviewMediaDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfile)->get_SupportedPreviewMediaDescription(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Capture_IMediaCaptureVideoProfile::SupportedRecordMediaDescription() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoProfile::SupportedRecordMediaDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfile)->get_SupportedRecordMediaDescription(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Capture_IMediaCaptureVideoProfile::SupportedPhotoMediaDescription() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoProfile::SupportedPhotoMediaDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfile)->get_SupportedPhotoMediaDescription(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Capture_IMediaCaptureVideoProfile::GetConcurrency() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoProfile::GetConcurrency() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfile)->GetConcurrency(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Capture_IMediaCaptureVideoProfile2::FrameSourceInfos() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoProfile2::FrameSourceInfos() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfile2)->get_FrameSourceInfos(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Media_Capture_IMediaCaptureVideoProfile2::Properties() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoProfile2::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfile2)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription::Width() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription::Width() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription::Height() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription::Height() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription::FrameRate() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription::FrameRate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription)->get_FrameRate(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription::IsVariablePhotoSequenceSupported() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription::IsVariablePhotoSequenceSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription)->get_IsVariablePhotoSequenceSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription::IsHdrVideoSupported() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription::IsHdrVideoSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription)->get_IsHdrVideoSupported(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription2::Subtype() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription2::Subtype() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription2)->get_Subtype(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription2::Properties() const + template auto consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription2::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription2)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) consume_Windows_Media_Capture_IOptionalReferencePhotoCapturedEventArgs::Frame() const + template auto consume_Windows_Media_Capture_IOptionalReferencePhotoCapturedEventArgs::Frame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IOptionalReferencePhotoCapturedEventArgs)->get_Frame(&value)); return winrt::Windows::Media::Capture::CapturedFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Media_Capture_IOptionalReferencePhotoCapturedEventArgs::Context() const + template auto consume_Windows_Media_Capture_IOptionalReferencePhotoCapturedEventArgs::Context() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IOptionalReferencePhotoCapturedEventArgs)->get_Context(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) consume_Windows_Media_Capture_IPhotoCapturedEventArgs::Frame() const + template auto consume_Windows_Media_Capture_IPhotoCapturedEventArgs::Frame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IPhotoCapturedEventArgs)->get_Frame(&value)); return winrt::Windows::Media::Capture::CapturedFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) consume_Windows_Media_Capture_IPhotoCapturedEventArgs::Thumbnail() const + template auto consume_Windows_Media_Capture_IPhotoCapturedEventArgs::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IPhotoCapturedEventArgs)->get_Thumbnail(&value)); return winrt::Windows::Media::Capture::CapturedFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IPhotoCapturedEventArgs::CaptureTimeOffset() const + template auto consume_Windows_Media_Capture_IPhotoCapturedEventArgs::CaptureTimeOffset() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IPhotoCapturedEventArgs)->get_CaptureTimeOffset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) consume_Windows_Media_Capture_IPhotoConfirmationCapturedEventArgs::Frame() const + template auto consume_Windows_Media_Capture_IPhotoConfirmationCapturedEventArgs::Frame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IPhotoConfirmationCapturedEventArgs)->get_Frame(&value)); return winrt::Windows::Media::Capture::CapturedFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IPhotoConfirmationCapturedEventArgs::CaptureTimeOffset() const + template auto consume_Windows_Media_Capture_IPhotoConfirmationCapturedEventArgs::CaptureTimeOffset() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IPhotoConfirmationCapturedEventArgs)->get_CaptureTimeOffset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaSource) consume_Windows_Media_Capture_IScreenCapture::AudioSource() const + template auto consume_Windows_Media_Capture_IScreenCapture::AudioSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IScreenCapture)->get_AudioSource(&value)); return winrt::Windows::Media::Core::IMediaSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaSource) consume_Windows_Media_Capture_IScreenCapture::VideoSource() const + template auto consume_Windows_Media_Capture_IScreenCapture::VideoSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IScreenCapture)->get_VideoSource(&value)); return winrt::Windows::Media::Core::IMediaSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IScreenCapture::IsAudioSuspended() const + template auto consume_Windows_Media_Capture_IScreenCapture::IsAudioSuspended() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IScreenCapture)->get_IsAudioSuspended(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IScreenCapture::IsVideoSuspended() const + template auto consume_Windows_Media_Capture_IScreenCapture::IsVideoSuspended() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IScreenCapture)->get_IsVideoSuspended(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IScreenCapture::SourceSuspensionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IScreenCapture::SourceSuspensionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IScreenCapture)->add_SourceSuspensionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Capture_IScreenCapture::SourceSuspensionChanged_revoker consume_Windows_Media_Capture_IScreenCapture::SourceSuspensionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Capture_IScreenCapture::SourceSuspensionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceSuspensionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IScreenCapture::SourceSuspensionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Capture_IScreenCapture::SourceSuspensionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IScreenCapture)->remove_SourceSuspensionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::ScreenCapture) consume_Windows_Media_Capture_IScreenCaptureStatics::GetForCurrentView() const + template auto consume_Windows_Media_Capture_IScreenCaptureStatics::GetForCurrentView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IScreenCaptureStatics)->GetForCurrentView(&value)); return winrt::Windows::Media::Capture::ScreenCapture{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_ISourceSuspensionChangedEventArgs::IsAudioSuspended() const + template auto consume_Windows_Media_Capture_ISourceSuspensionChangedEventArgs::IsAudioSuspended() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ISourceSuspensionChangedEventArgs)->get_IsAudioSuspended(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_ISourceSuspensionChangedEventArgs::IsVideoSuspended() const + template auto consume_Windows_Media_Capture_ISourceSuspensionChangedEventArgs::IsVideoSuspended() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ISourceSuspensionChangedEventArgs)->get_IsVideoSuspended(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_Capture_IVideoStreamConfiguration::InputProperties() const + template auto consume_Windows_Media_Capture_IVideoStreamConfiguration::InputProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IVideoStreamConfiguration)->get_InputProperties(&value)); return winrt::Windows::Media::MediaProperties::VideoEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_Capture_IVideoStreamConfiguration::OutputProperties() const + template auto consume_Windows_Media_Capture_IVideoStreamConfiguration::OutputProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IVideoStreamConfiguration)->get_OutputProperties(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Casting.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Casting.h index b4895f8a..9d4b2a17 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Casting.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Casting.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Casting_H #define WINRT_Windows_Media_Casting_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -15,235 +15,235 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Casting.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingConnectionState) consume_Windows_Media_Casting_ICastingConnection::State() const + template auto consume_Windows_Media_Casting_ICastingConnection::State() const { winrt::Windows::Media::Casting::CastingConnectionState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnection)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingDevice) consume_Windows_Media_Casting_ICastingConnection::Device() const + template auto consume_Windows_Media_Casting_ICastingConnection::Device() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnection)->get_Device(&value)); return winrt::Windows::Media::Casting::CastingDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingSource) consume_Windows_Media_Casting_ICastingConnection::Source() const + template auto consume_Windows_Media_Casting_ICastingConnection::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnection)->get_Source(&value)); return winrt::Windows::Media::Casting::CastingSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingConnection::Source(winrt::Windows::Media::Casting::CastingSource const& value) const + template auto consume_Windows_Media_Casting_ICastingConnection::Source(winrt::Windows::Media::Casting::CastingSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnection)->put_Source(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Casting_ICastingConnection::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Casting_ICastingConnection::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnection)->add_StateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Casting_ICastingConnection::StateChanged_revoker consume_Windows_Media_Casting_ICastingConnection::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Casting_ICastingConnection::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingConnection::StateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Casting_ICastingConnection::StateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnection)->remove_StateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Casting_ICastingConnection::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Casting_ICastingConnection::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnection)->add_ErrorOccurred(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Casting_ICastingConnection::ErrorOccurred_revoker consume_Windows_Media_Casting_ICastingConnection::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Casting_ICastingConnection::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ErrorOccurred(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingConnection::ErrorOccurred(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Casting_ICastingConnection::ErrorOccurred(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnection)->remove_ErrorOccurred(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Casting_ICastingConnection::RequestStartCastingAsync(winrt::Windows::Media::Casting::CastingSource const& value) const + template auto consume_Windows_Media_Casting_ICastingConnection::RequestStartCastingAsync(winrt::Windows::Media::Casting::CastingSource const& value) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnection)->RequestStartCastingAsync(*(void**)(&value), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Casting_ICastingConnection::DisconnectAsync() const + template auto consume_Windows_Media_Casting_ICastingConnection::DisconnectAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnection)->DisconnectAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingConnectionErrorStatus) consume_Windows_Media_Casting_ICastingConnectionErrorOccurredEventArgs::ErrorStatus() const + template auto consume_Windows_Media_Casting_ICastingConnectionErrorOccurredEventArgs::ErrorStatus() const { winrt::Windows::Media::Casting::CastingConnectionErrorStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnectionErrorOccurredEventArgs)->get_ErrorStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Casting_ICastingConnectionErrorOccurredEventArgs::Message() const + template auto consume_Windows_Media_Casting_ICastingConnectionErrorOccurredEventArgs::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnectionErrorOccurredEventArgs)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Casting_ICastingDevice::Id() const + template auto consume_Windows_Media_Casting_ICastingDevice::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevice)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Casting_ICastingDevice::FriendlyName() const + template auto consume_Windows_Media_Casting_ICastingDevice::FriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevice)->get_FriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) consume_Windows_Media_Casting_ICastingDevice::Icon() const + template auto consume_Windows_Media_Casting_ICastingDevice::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevice)->get_Icon(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Casting_ICastingDevice::GetSupportedCastingPlaybackTypesAsync() const + template auto consume_Windows_Media_Casting_ICastingDevice::GetSupportedCastingPlaybackTypesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevice)->GetSupportedCastingPlaybackTypesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingConnection) consume_Windows_Media_Casting_ICastingDevice::CreateCastingConnection() const + template auto consume_Windows_Media_Casting_ICastingDevice::CreateCastingConnection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevice)->CreateCastingConnection(&value)); return winrt::Windows::Media::Casting::CastingConnection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingDevicePickerFilter) consume_Windows_Media_Casting_ICastingDevicePicker::Filter() const + template auto consume_Windows_Media_Casting_ICastingDevicePicker::Filter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePicker)->get_Filter(&value)); return winrt::Windows::Media::Casting::CastingDevicePickerFilter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePickerAppearance) consume_Windows_Media_Casting_ICastingDevicePicker::Appearance() const + template auto consume_Windows_Media_Casting_ICastingDevicePicker::Appearance() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePicker)->get_Appearance(&value)); return winrt::Windows::Devices::Enumeration::DevicePickerAppearance{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Casting_ICastingDevicePicker::CastingDeviceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Casting_ICastingDevicePicker::CastingDeviceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePicker)->add_CastingDeviceSelected(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Casting_ICastingDevicePicker::CastingDeviceSelected_revoker consume_Windows_Media_Casting_ICastingDevicePicker::CastingDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Casting_ICastingDevicePicker::CastingDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CastingDeviceSelected(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingDevicePicker::CastingDeviceSelected(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Casting_ICastingDevicePicker::CastingDeviceSelected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePicker)->remove_CastingDeviceSelected(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Casting_ICastingDevicePicker::CastingDevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Casting_ICastingDevicePicker::CastingDevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePicker)->add_CastingDevicePickerDismissed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Casting_ICastingDevicePicker::CastingDevicePickerDismissed_revoker consume_Windows_Media_Casting_ICastingDevicePicker::CastingDevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Casting_ICastingDevicePicker::CastingDevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CastingDevicePickerDismissed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingDevicePicker::CastingDevicePickerDismissed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Casting_ICastingDevicePicker::CastingDevicePickerDismissed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePicker)->remove_CastingDevicePickerDismissed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingDevicePicker::Show(winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_Media_Casting_ICastingDevicePicker::Show(winrt::Windows::Foundation::Rect const& selection) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePicker)->Show(impl::bind_in(selection))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingDevicePicker::Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const + template auto consume_Windows_Media_Casting_ICastingDevicePicker::Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePicker)->ShowWithPlacement(impl::bind_in(selection), static_cast(preferredPlacement))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingDevicePicker::Hide() const + template auto consume_Windows_Media_Casting_ICastingDevicePicker::Hide() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePicker)->Hide()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Casting_ICastingDevicePickerFilter::SupportsAudio() const + template auto consume_Windows_Media_Casting_ICastingDevicePickerFilter::SupportsAudio() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePickerFilter)->get_SupportsAudio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingDevicePickerFilter::SupportsAudio(bool value) const + template auto consume_Windows_Media_Casting_ICastingDevicePickerFilter::SupportsAudio(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePickerFilter)->put_SupportsAudio(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Casting_ICastingDevicePickerFilter::SupportsVideo() const + template auto consume_Windows_Media_Casting_ICastingDevicePickerFilter::SupportsVideo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePickerFilter)->get_SupportsVideo(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingDevicePickerFilter::SupportsVideo(bool value) const + template auto consume_Windows_Media_Casting_ICastingDevicePickerFilter::SupportsVideo(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePickerFilter)->put_SupportsVideo(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Casting_ICastingDevicePickerFilter::SupportsPictures() const + template auto consume_Windows_Media_Casting_ICastingDevicePickerFilter::SupportsPictures() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePickerFilter)->get_SupportsPictures(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingDevicePickerFilter::SupportsPictures(bool value) const + template auto consume_Windows_Media_Casting_ICastingDevicePickerFilter::SupportsPictures(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePickerFilter)->put_SupportsPictures(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_Casting_ICastingDevicePickerFilter::SupportedCastingSources() const + template auto consume_Windows_Media_Casting_ICastingDevicePickerFilter::SupportedCastingSources() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePickerFilter)->get_SupportedCastingSources(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingDevice) consume_Windows_Media_Casting_ICastingDeviceSelectedEventArgs::SelectedCastingDevice() const + template auto consume_Windows_Media_Casting_ICastingDeviceSelectedEventArgs::SelectedCastingDevice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDeviceSelectedEventArgs)->get_SelectedCastingDevice(&value)); return winrt::Windows::Media::Casting::CastingDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Casting_ICastingDeviceStatics::GetDeviceSelector(winrt::Windows::Media::Casting::CastingPlaybackTypes const& type) const + template auto consume_Windows_Media_Casting_ICastingDeviceStatics::GetDeviceSelector(winrt::Windows::Media::Casting::CastingPlaybackTypes const& type) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDeviceStatics)->GetDeviceSelector(static_cast(type), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Casting_ICastingDeviceStatics::GetDeviceSelectorFromCastingSourceAsync(winrt::Windows::Media::Casting::CastingSource const& castingSource) const + template auto consume_Windows_Media_Casting_ICastingDeviceStatics::GetDeviceSelectorFromCastingSourceAsync(winrt::Windows::Media::Casting::CastingSource const& castingSource) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDeviceStatics)->GetDeviceSelectorFromCastingSourceAsync(*(void**)(&castingSource), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Casting_ICastingDeviceStatics::FromIdAsync(param::hstring const& value) const + template auto consume_Windows_Media_Casting_ICastingDeviceStatics::FromIdAsync(param::hstring const& value) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDeviceStatics)->FromIdAsync(*(void**)(&value), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Casting_ICastingDeviceStatics::DeviceInfoSupportsCastingAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const + template auto consume_Windows_Media_Casting_ICastingDeviceStatics::DeviceInfoSupportsCastingAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDeviceStatics)->DeviceInfoSupportsCastingAsync(*(void**)(&device), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Casting_ICastingSource::PreferredSourceUri() const + template auto consume_Windows_Media_Casting_ICastingSource::PreferredSourceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingSource)->get_PreferredSourceUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingSource::PreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Media_Casting_ICastingSource::PreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingSource)->put_PreferredSourceUri(*(void**)(&value))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.ClosedCaptioning.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.ClosedCaptioning.h index f6945eac..12a2bb7b 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.ClosedCaptioning.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.ClosedCaptioning.h @@ -1,83 +1,83 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_ClosedCaptioning_H #define WINRT_Windows_Media_ClosedCaptioning_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.UI.2.h" #include "winrt/impl/Windows.Media.ClosedCaptioning.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::FontColor() const + template auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::FontColor() const { winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_FontColor(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::ComputedFontColor() const + template auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::ComputedFontColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_ComputedFontColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::FontOpacity() const + template auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::FontOpacity() const { winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_FontOpacity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionSize) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::FontSize() const + template auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::FontSize() const { winrt::Windows::Media::ClosedCaptioning::ClosedCaptionSize value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_FontSize(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionStyle) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::FontStyle() const + template auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::FontStyle() const { winrt::Windows::Media::ClosedCaptioning::ClosedCaptionStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_FontStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionEdgeEffect) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::FontEffect() const + template auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::FontEffect() const { winrt::Windows::Media::ClosedCaptioning::ClosedCaptionEdgeEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_FontEffect(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::BackgroundColor() const + template auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::BackgroundColor() const { winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_BackgroundColor(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::ComputedBackgroundColor() const + template auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::ComputedBackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_ComputedBackgroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::BackgroundOpacity() const + template auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::BackgroundOpacity() const { winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_BackgroundOpacity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::RegionColor() const + template auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::RegionColor() const { winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_RegionColor(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::ComputedRegionColor() const + template auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::ComputedRegionColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_ComputedRegionColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::RegionOpacity() const + template auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics::RegionOpacity() const { winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_RegionOpacity(reinterpret_cast(&value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.ContentRestrictions.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.ContentRestrictions.h index 4731433a..29a52403 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.ContentRestrictions.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.ContentRestrictions.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_ContentRestrictions_H #define WINRT_Windows_Media_ContentRestrictions_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,113 +13,113 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.ContentRestrictions.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_ContentRestrictions_IContentRestrictionsBrowsePolicy::GeographicRegion() const + template auto consume_Windows_Media_ContentRestrictions_IContentRestrictionsBrowsePolicy::GeographicRegion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IContentRestrictionsBrowsePolicy)->get_GeographicRegion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_ContentRestrictions_IContentRestrictionsBrowsePolicy::MaxBrowsableAgeRating() const + template auto consume_Windows_Media_ContentRestrictions_IContentRestrictionsBrowsePolicy::MaxBrowsableAgeRating() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IContentRestrictionsBrowsePolicy)->get_MaxBrowsableAgeRating(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_ContentRestrictions_IContentRestrictionsBrowsePolicy::PreferredAgeRating() const + template auto consume_Windows_Media_ContentRestrictions_IContentRestrictionsBrowsePolicy::PreferredAgeRating() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IContentRestrictionsBrowsePolicy)->get_PreferredAgeRating(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Id() const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Id(param::hstring const& value) const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Id(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->put_Id(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Title() const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Title(param::hstring const& value) const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Image() const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Image() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->get_Image(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->put_Image(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::ContentRestrictions::RatedContentCategory) consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Category() const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Category() const { winrt::Windows::Media::ContentRestrictions::RatedContentCategory value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->get_Category(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Category(winrt::Windows::Media::ContentRestrictions::RatedContentCategory const& value) const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Category(winrt::Windows::Media::ContentRestrictions::RatedContentCategory const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->put_Category(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Ratings() const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Ratings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->get_Ratings(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Ratings(param::vector const& value) const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription::Ratings(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->put_Ratings(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::ContentRestrictions::RatedContentDescription) consume_Windows_Media_ContentRestrictions_IRatedContentDescriptionFactory::Create(param::hstring const& id, param::hstring const& title, winrt::Windows::Media::ContentRestrictions::RatedContentCategory const& category) const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentDescriptionFactory::Create(param::hstring const& id, param::hstring const& title, winrt::Windows::Media::ContentRestrictions::RatedContentCategory const& category) const { void* RatedContentDescription{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescriptionFactory)->Create(*(void**)(&id), *(void**)(&title), static_cast(category), &RatedContentDescription)); return winrt::Windows::Media::ContentRestrictions::RatedContentDescription{ RatedContentDescription, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions::GetBrowsePolicyAsync() const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions::GetBrowsePolicyAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentRestrictions)->GetBrowsePolicyAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions::GetRestrictionLevelAsync(winrt::Windows::Media::ContentRestrictions::RatedContentDescription const& RatedContentDescription) const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions::GetRestrictionLevelAsync(winrt::Windows::Media::ContentRestrictions::RatedContentDescription const& RatedContentDescription) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentRestrictions)->GetRestrictionLevelAsync(*(void**)(&RatedContentDescription), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions::RequestContentAccessAsync(winrt::Windows::Media::ContentRestrictions::RatedContentDescription const& RatedContentDescription) const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions::RequestContentAccessAsync(winrt::Windows::Media::ContentRestrictions::RatedContentDescription const& RatedContentDescription) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentRestrictions)->RequestContentAccessAsync(*(void**)(&RatedContentDescription), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions::RestrictionsChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions::RestrictionsChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentRestrictions)->add_RestrictionsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions::RestrictionsChanged_revoker consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions::RestrictionsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions::RestrictionsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, RestrictionsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions::RestrictionsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions::RestrictionsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentRestrictions)->remove_RestrictionsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::ContentRestrictions::RatedContentRestrictions) consume_Windows_Media_ContentRestrictions_IRatedContentRestrictionsFactory::CreateWithMaxAgeRating(uint32_t maxAgeRating) const + template auto consume_Windows_Media_ContentRestrictions_IRatedContentRestrictionsFactory::CreateWithMaxAgeRating(uint32_t maxAgeRating) const { void* ratedContentRestrictions{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentRestrictionsFactory)->CreateWithMaxAgeRating(maxAgeRating, &ratedContentRestrictions)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Control.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Control.h index 770f0e61..c4183ca2 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Control.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Control.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Control_H #define WINRT_Windows_Media_Control_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,425 +14,425 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Control.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::SourceAppUserModelId() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::SourceAppUserModelId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->get_SourceAppUserModelId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryGetMediaPropertiesAsync() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryGetMediaPropertiesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryGetMediaPropertiesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionTimelineProperties) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::GetTimelineProperties() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::GetTimelineProperties() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->GetTimelineProperties(&result)); return winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionTimelineProperties{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionPlaybackInfo) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::GetPlaybackInfo() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::GetPlaybackInfo() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->GetPlaybackInfo(&result)); return winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionPlaybackInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryPlayAsync() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryPlayAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryPlayAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryPauseAsync() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryPauseAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryPauseAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryStopAsync() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryStopAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryStopAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryRecordAsync() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryRecordAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryRecordAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryFastForwardAsync() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryFastForwardAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryFastForwardAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryRewindAsync() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryRewindAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryRewindAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TrySkipNextAsync() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TrySkipNextAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TrySkipNextAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TrySkipPreviousAsync() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TrySkipPreviousAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TrySkipPreviousAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryChangeChannelUpAsync() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryChangeChannelUpAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryChangeChannelUpAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryChangeChannelDownAsync() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryChangeChannelDownAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryChangeChannelDownAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryTogglePlayPauseAsync() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryTogglePlayPauseAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryTogglePlayPauseAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryChangeAutoRepeatModeAsync(winrt::Windows::Media::MediaPlaybackAutoRepeatMode const& requestedAutoRepeatMode) const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryChangeAutoRepeatModeAsync(winrt::Windows::Media::MediaPlaybackAutoRepeatMode const& requestedAutoRepeatMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryChangeAutoRepeatModeAsync(static_cast(requestedAutoRepeatMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryChangePlaybackRateAsync(double requestedPlaybackRate) const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryChangePlaybackRateAsync(double requestedPlaybackRate) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryChangePlaybackRateAsync(requestedPlaybackRate, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryChangeShuffleActiveAsync(bool requestedShuffleState) const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryChangeShuffleActiveAsync(bool requestedShuffleState) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryChangeShuffleActiveAsync(requestedShuffleState, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryChangePlaybackPositionAsync(int64_t requestedPlaybackPosition) const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TryChangePlaybackPositionAsync(int64_t requestedPlaybackPosition) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryChangePlaybackPositionAsync(requestedPlaybackPosition, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TimelinePropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TimelinePropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->add_TimelinePropertiesChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TimelinePropertiesChanged_revoker consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TimelinePropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TimelinePropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TimelinePropertiesChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TimelinePropertiesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::TimelinePropertiesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->remove_TimelinePropertiesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::PlaybackInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::PlaybackInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->add_PlaybackInfoChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::PlaybackInfoChanged_revoker consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::PlaybackInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::PlaybackInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PlaybackInfoChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::PlaybackInfoChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::PlaybackInfoChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->remove_PlaybackInfoChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::MediaPropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::MediaPropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->add_MediaPropertiesChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::MediaPropertiesChanged_revoker consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::MediaPropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::MediaPropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MediaPropertiesChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::MediaPropertiesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession::MediaPropertiesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->remove_MediaPropertiesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::GetCurrentSession() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::GetCurrentSession() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager)->GetCurrentSession(&result)); return winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::GetSessions() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::GetSessions() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager)->GetSessions(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::CurrentSessionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::CurrentSessionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager)->add_CurrentSessionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::CurrentSessionChanged_revoker consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::CurrentSessionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::CurrentSessionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CurrentSessionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::CurrentSessionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::CurrentSessionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager)->remove_CurrentSessionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::SessionsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::SessionsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager)->add_SessionsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::SessionsChanged_revoker consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::SessionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::SessionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SessionsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::SessionsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager::SessionsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager)->remove_SessionsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManagerStatics::RequestAsync() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManagerStatics::RequestAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManagerStatics)->RequestAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::Title() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::Subtitle() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::Subtitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties)->get_Subtitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::AlbumArtist() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::AlbumArtist() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties)->get_AlbumArtist(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::Artist() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::Artist() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties)->get_Artist(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::AlbumTitle() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::AlbumTitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties)->get_AlbumTitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::TrackNumber() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::TrackNumber() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties)->get_TrackNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::Genres() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::Genres() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties)->get_Genres(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::AlbumTrackCount() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::AlbumTrackCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties)->get_AlbumTrackCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::PlaybackType() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::PlaybackType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties)->get_PlaybackType(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::Thumbnail() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties)->get_Thumbnail(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsPlayEnabled() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsPlayEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsPlayEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsPauseEnabled() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsPauseEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsPauseEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsStopEnabled() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsStopEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsStopEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsRecordEnabled() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsRecordEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsRecordEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsFastForwardEnabled() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsFastForwardEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsFastForwardEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsRewindEnabled() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsRewindEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsRewindEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsNextEnabled() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsNextEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsNextEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsPreviousEnabled() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsPreviousEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsPreviousEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsChannelUpEnabled() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsChannelUpEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsChannelUpEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsChannelDownEnabled() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsChannelDownEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsChannelDownEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsPlayPauseToggleEnabled() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsPlayPauseToggleEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsPlayPauseToggleEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsShuffleEnabled() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsShuffleEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsShuffleEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsRepeatEnabled() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsRepeatEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsRepeatEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsPlaybackRateEnabled() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsPlaybackRateEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsPlaybackRateEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsPlaybackPositionEnabled() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls::IsPlaybackPositionEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsPlaybackPositionEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionPlaybackControls) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo::Controls() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo::Controls() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackInfo)->get_Controls(&value)); return winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionPlaybackControls{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionPlaybackStatus) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo::PlaybackStatus() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo::PlaybackStatus() const { winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionPlaybackStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackInfo)->get_PlaybackStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo::PlaybackType() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo::PlaybackType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackInfo)->get_PlaybackType(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo::AutoRepeatMode() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo::AutoRepeatMode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackInfo)->get_AutoRepeatMode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo::PlaybackRate() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo::PlaybackRate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackInfo)->get_PlaybackRate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo::IsShuffleActive() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo::IsShuffleActive() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackInfo)->get_IsShuffleActive(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties::StartTime() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties::StartTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionTimelineProperties)->get_StartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties::EndTime() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties::EndTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionTimelineProperties)->get_EndTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties::MinSeekTime() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties::MinSeekTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionTimelineProperties)->get_MinSeekTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties::MaxSeekTime() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties::MaxSeekTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionTimelineProperties)->get_MaxSeekTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties::Position() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties::Position() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionTimelineProperties)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties::LastUpdatedTime() const + template auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties::LastUpdatedTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionTimelineProperties)->get_LastUpdatedTime(put_abi(value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Core.Preview.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Core.Preview.h index c276cb2c..a9301b05 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Core.Preview.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Core.Preview.h @@ -1,34 +1,34 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Core_Preview_H #define WINRT_Windows_Media_Core_Preview_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.Core.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Media.2.h" #include "winrt/impl/Windows.Media.Core.Preview.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Media::SoundLevel) consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics::SoundLevel() const + template auto consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics::SoundLevel() const { winrt::Windows::Media::SoundLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::Preview::ISoundLevelBrokerStatics)->get_SoundLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics::SoundLevelChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics::SoundLevelChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::Preview::ISoundLevelBrokerStatics)->add_SoundLevelChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics::SoundLevelChanged_revoker consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, SoundLevelChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics::SoundLevelChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics::SoundLevelChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::Preview::ISoundLevelBrokerStatics)->remove_SoundLevelChanged(impl::bind_in(token)); } @@ -70,10 +70,10 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core::Preview { return impl::call_factory([&](ISoundLevelBrokerStatics const& f) { return f.SoundLevelChanged(handler); }); } - inline SoundLevelBroker::SoundLevelChanged_revoker SoundLevelBroker::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto SoundLevelBroker::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.SoundLevelChanged(handler) }; + return SoundLevelBroker::SoundLevelChanged_revoker{ f, f.SoundLevelChanged(handler) }; } inline auto SoundLevelBroker::SoundLevelChanged(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Core.h index b6c39ba9..776b4042 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Core.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Core_H #define WINRT_Windows_Media_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.ApplicationModel.AppService.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -31,2617 +31,2617 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Core_IAudioStreamDescriptor::EncodingProperties() const + template auto consume_Windows_Media_Core_IAudioStreamDescriptor::EncodingProperties() const { void* encodingProperties{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioStreamDescriptor)->get_EncodingProperties(&encodingProperties)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ encodingProperties, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IAudioStreamDescriptor2::LeadingEncoderPadding(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Core_IAudioStreamDescriptor2::LeadingEncoderPadding(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioStreamDescriptor2)->put_LeadingEncoderPadding(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Core_IAudioStreamDescriptor2::LeadingEncoderPadding() const + template auto consume_Windows_Media_Core_IAudioStreamDescriptor2::LeadingEncoderPadding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioStreamDescriptor2)->get_LeadingEncoderPadding(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IAudioStreamDescriptor2::TrailingEncoderPadding(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Core_IAudioStreamDescriptor2::TrailingEncoderPadding(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioStreamDescriptor2)->put_TrailingEncoderPadding(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Core_IAudioStreamDescriptor2::TrailingEncoderPadding() const + template auto consume_Windows_Media_Core_IAudioStreamDescriptor2::TrailingEncoderPadding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioStreamDescriptor2)->get_TrailingEncoderPadding(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::AudioStreamDescriptor) consume_Windows_Media_Core_IAudioStreamDescriptor3::Copy() const + template auto consume_Windows_Media_Core_IAudioStreamDescriptor3::Copy() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioStreamDescriptor3)->Copy(&result)); return winrt::Windows::Media::Core::AudioStreamDescriptor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::AudioStreamDescriptor) consume_Windows_Media_Core_IAudioStreamDescriptorFactory::Create(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const + template auto consume_Windows_Media_Core_IAudioStreamDescriptorFactory::Create(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioStreamDescriptorFactory)->Create(*(void**)(&encodingProperties), &result)); return winrt::Windows::Media::Core::AudioStreamDescriptor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IAudioTrack::OpenFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IAudioTrack::OpenFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrack)->add_OpenFailed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IAudioTrack::OpenFailed_revoker consume_Windows_Media_Core_IAudioTrack::OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IAudioTrack::OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, OpenFailed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IAudioTrack::OpenFailed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IAudioTrack::OpenFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrack)->remove_OpenFailed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Core_IAudioTrack::GetEncodingProperties() const + template auto consume_Windows_Media_Core_IAudioTrack::GetEncodingProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrack)->GetEncodingProperties(&value)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Core_IAudioTrack::PlaybackItem() const + template auto consume_Windows_Media_Core_IAudioTrack::PlaybackItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrack)->get_PlaybackItem(&value)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IAudioTrack::Name() const + template auto consume_Windows_Media_Core_IAudioTrack::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrack)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::AudioTrackSupportInfo) consume_Windows_Media_Core_IAudioTrack::SupportInfo() const + template auto consume_Windows_Media_Core_IAudioTrack::SupportInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrack)->get_SupportInfo(&value)); return winrt::Windows::Media::Core::AudioTrackSupportInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Core_IAudioTrackOpenFailedEventArgs::ExtendedError() const + template auto consume_Windows_Media_Core_IAudioTrackOpenFailedEventArgs::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrackOpenFailedEventArgs)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaDecoderStatus) consume_Windows_Media_Core_IAudioTrackSupportInfo::DecoderStatus() const + template auto consume_Windows_Media_Core_IAudioTrackSupportInfo::DecoderStatus() const { winrt::Windows::Media::Core::MediaDecoderStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrackSupportInfo)->get_DecoderStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::AudioDecoderDegradation) consume_Windows_Media_Core_IAudioTrackSupportInfo::Degradation() const + template auto consume_Windows_Media_Core_IAudioTrackSupportInfo::Degradation() const { winrt::Windows::Media::Core::AudioDecoderDegradation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrackSupportInfo)->get_Degradation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::AudioDecoderDegradationReason) consume_Windows_Media_Core_IAudioTrackSupportInfo::DegradationReason() const + template auto consume_Windows_Media_Core_IAudioTrackSupportInfo::DegradationReason() const { winrt::Windows::Media::Core::AudioDecoderDegradationReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrackSupportInfo)->get_DegradationReason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceStatus) consume_Windows_Media_Core_IAudioTrackSupportInfo::MediaSourceStatus() const + template auto consume_Windows_Media_Core_IAudioTrackSupportInfo::MediaSourceStatus() const { winrt::Windows::Media::Core::MediaSourceStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrackSupportInfo)->get_MediaSourceStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IChapterCue::Title(param::hstring const& value) const + template auto consume_Windows_Media_Core_IChapterCue::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IChapterCue)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IChapterCue::Title() const + template auto consume_Windows_Media_Core_IChapterCue::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IChapterCue)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::CodecKind) consume_Windows_Media_Core_ICodecInfo::Kind() const + template auto consume_Windows_Media_Core_ICodecInfo::Kind() const { winrt::Windows::Media::Core::CodecKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecInfo)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::CodecCategory) consume_Windows_Media_Core_ICodecInfo::Category() const + template auto consume_Windows_Media_Core_ICodecInfo::Category() const { winrt::Windows::Media::Core::CodecCategory value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecInfo)->get_Category(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Core_ICodecInfo::Subtypes() const + template auto consume_Windows_Media_Core_ICodecInfo::Subtypes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecInfo)->get_Subtypes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecInfo::DisplayName() const + template auto consume_Windows_Media_Core_ICodecInfo::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecInfo)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_ICodecInfo::IsTrusted() const + template auto consume_Windows_Media_Core_ICodecInfo::IsTrusted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecInfo)->get_IsTrusted(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Media_Core_ICodecQuery::FindAllAsync(winrt::Windows::Media::Core::CodecKind const& kind, winrt::Windows::Media::Core::CodecCategory const& category, param::hstring const& subType) const + template auto consume_Windows_Media_Core_ICodecQuery::FindAllAsync(winrt::Windows::Media::Core::CodecKind const& kind, winrt::Windows::Media::Core::CodecCategory const& category, param::hstring const& subType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecQuery)->FindAllAsync(static_cast(kind), static_cast(category), *(void**)(&subType), &value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatDV25() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatDV25() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatDV25(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatDV50() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatDV50() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatDV50(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatDvc() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatDvc() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatDvc(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatDvh1() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatDvh1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatDvh1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatDvhD() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatDvhD() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatDvhD(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatDvsd() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatDvsd() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatDvsd(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatDvsl() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatDvsl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatDvsl(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatH263() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatH263() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatH263(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatH264() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatH264() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatH264(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatH265() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatH265() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatH265(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatH264ES() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatH264ES() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatH264ES(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatHevc() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatHevc() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatHevc(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatHevcES() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatHevcES() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatHevcES(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatM4S2() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatM4S2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatM4S2(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatMjpg() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatMjpg() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatMjpg(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatMP43() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatMP43() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatMP43(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatMP4S() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatMP4S() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatMP4S(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatMP4V() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatMP4V() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatMP4V(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatMpeg2() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatMpeg2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatMpeg2(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatVP80() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatVP80() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatVP80(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatVP90() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatVP90() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatVP90(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatMpg1() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatMpg1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatMpg1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatMss1() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatMss1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatMss1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatMss2() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatMss2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatMss2(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatWmv1() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatWmv1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatWmv1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatWmv2() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatWmv2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatWmv2(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatWmv3() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatWmv3() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatWmv3(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatWvc1() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormatWvc1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormatWvc1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormat420O() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::VideoFormat420O() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_VideoFormat420O(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatAac() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatAac() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatAac(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatAdts() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatAdts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatAdts(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatAlac() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatAlac() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatAlac(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatAmrNB() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatAmrNB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatAmrNB(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatAmrWB() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatAmrWB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatAmrWB(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatAmrWP() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatAmrWP() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatAmrWP(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatDolbyAC3() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatDolbyAC3() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatDolbyAC3(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatDolbyAC3Spdif() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatDolbyAC3Spdif() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatDolbyAC3Spdif(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatDolbyDDPlus() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatDolbyDDPlus() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatDolbyDDPlus(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatDrm() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatDrm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatDrm(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatDts() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatDts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatDts(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatFlac() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatFlac() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatFlac(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatFloat() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatFloat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatFloat(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatMP3() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatMP3() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatMP3(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatMPeg() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatMPeg() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatMPeg(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatMsp1() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatMsp1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatMsp1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatOpus() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatOpus() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatOpus(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatPcm() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatPcm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatPcm(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatWmaSpdif() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatWmaSpdif() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatWmaSpdif(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatWMAudioLossless() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatWMAudioLossless() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatWMAudioLossless(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatWMAudioV8() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatWMAudioV8() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatWMAudioV8(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatWMAudioV9() const + template auto consume_Windows_Media_Core_ICodecSubtypesStatics::AudioFormatWMAudioV9() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecSubtypesStatics)->get_AudioFormatWMAudioV9(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IDataCue::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Media_Core_IDataCue::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IDataCue)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Core_IDataCue::Data() const + template auto consume_Windows_Media_Core_IDataCue::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IDataCue)->get_Data(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::PropertySet) consume_Windows_Media_Core_IDataCue2::Properties() const + template auto consume_Windows_Media_Core_IDataCue2::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IDataCue2)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::PropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::FaceDetectionEffectFrame) consume_Windows_Media_Core_IFaceDetectedEventArgs::ResultFrame() const + template auto consume_Windows_Media_Core_IFaceDetectedEventArgs::ResultFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectedEventArgs)->get_ResultFrame(&value)); return winrt::Windows::Media::Core::FaceDetectionEffectFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IFaceDetectionEffect::Enabled(bool value) const + template auto consume_Windows_Media_Core_IFaceDetectionEffect::Enabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffect)->put_Enabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IFaceDetectionEffect::Enabled() const + template auto consume_Windows_Media_Core_IFaceDetectionEffect::Enabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffect)->get_Enabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IFaceDetectionEffect::DesiredDetectionInterval(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Core_IFaceDetectionEffect::DesiredDetectionInterval(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffect)->put_DesiredDetectionInterval(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IFaceDetectionEffect::DesiredDetectionInterval() const + template auto consume_Windows_Media_Core_IFaceDetectionEffect::DesiredDetectionInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffect)->get_DesiredDetectionInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IFaceDetectionEffect::FaceDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IFaceDetectionEffect::FaceDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffect)->add_FaceDetected(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_Core_IFaceDetectionEffect::FaceDetected_revoker consume_Windows_Media_Core_IFaceDetectionEffect::FaceDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IFaceDetectionEffect::FaceDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FaceDetected(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IFaceDetectionEffect::FaceDetected(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_Core_IFaceDetectionEffect::FaceDetected(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffect)->remove_FaceDetected(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IFaceDetectionEffectDefinition::DetectionMode(winrt::Windows::Media::Core::FaceDetectionMode const& value) const + template auto consume_Windows_Media_Core_IFaceDetectionEffectDefinition::DetectionMode(winrt::Windows::Media::Core::FaceDetectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffectDefinition)->put_DetectionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::FaceDetectionMode) consume_Windows_Media_Core_IFaceDetectionEffectDefinition::DetectionMode() const + template auto consume_Windows_Media_Core_IFaceDetectionEffectDefinition::DetectionMode() const { winrt::Windows::Media::Core::FaceDetectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffectDefinition)->get_DetectionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IFaceDetectionEffectDefinition::SynchronousDetectionEnabled(bool value) const + template auto consume_Windows_Media_Core_IFaceDetectionEffectDefinition::SynchronousDetectionEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffectDefinition)->put_SynchronousDetectionEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IFaceDetectionEffectDefinition::SynchronousDetectionEnabled() const + template auto consume_Windows_Media_Core_IFaceDetectionEffectDefinition::SynchronousDetectionEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffectDefinition)->get_SynchronousDetectionEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Core_IFaceDetectionEffectFrame::DetectedFaces() const + template auto consume_Windows_Media_Core_IFaceDetectionEffectFrame::DetectedFaces() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffectFrame)->get_DetectedFaces(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IHighDynamicRangeControl::Enabled(bool value) const + template auto consume_Windows_Media_Core_IHighDynamicRangeControl::Enabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IHighDynamicRangeControl)->put_Enabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IHighDynamicRangeControl::Enabled() const + template auto consume_Windows_Media_Core_IHighDynamicRangeControl::Enabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IHighDynamicRangeControl)->get_Enabled(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Core_IHighDynamicRangeOutput::Certainty() const + template auto consume_Windows_Media_Core_IHighDynamicRangeOutput::Certainty() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IHighDynamicRangeOutput)->get_Certainty(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Core_IHighDynamicRangeOutput::FrameControllers() const + template auto consume_Windows_Media_Core_IHighDynamicRangeOutput::FrameControllers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IHighDynamicRangeOutput)->get_FrameControllers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextPoint) consume_Windows_Media_Core_IImageCue::Position() const + template auto consume_Windows_Media_Core_IImageCue::Position() const { winrt::Windows::Media::Core::TimedTextPoint value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IImageCue)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IImageCue::Position(winrt::Windows::Media::Core::TimedTextPoint const& value) const + template auto consume_Windows_Media_Core_IImageCue::Position(winrt::Windows::Media::Core::TimedTextPoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IImageCue)->put_Position(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSize) consume_Windows_Media_Core_IImageCue::Extent() const + template auto consume_Windows_Media_Core_IImageCue::Extent() const { winrt::Windows::Media::Core::TimedTextSize value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IImageCue)->get_Extent(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IImageCue::Extent(winrt::Windows::Media::Core::TimedTextSize const& value) const + template auto consume_Windows_Media_Core_IImageCue::Extent(winrt::Windows::Media::Core::TimedTextSize const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IImageCue)->put_Extent(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IImageCue::SoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& value) const + template auto consume_Windows_Media_Core_IImageCue::SoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IImageCue)->put_SoftwareBitmap(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Media_Core_IImageCue::SoftwareBitmap() const + template auto consume_Windows_Media_Core_IImageCue::SoftwareBitmap() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IImageCue)->get_SoftwareBitmap(&value)); return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) consume_Windows_Media_Core_IInitializeMediaStreamSourceRequestedEventArgs::Source() const + template auto consume_Windows_Media_Core_IInitializeMediaStreamSourceRequestedEventArgs::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IInitializeMediaStreamSourceRequestedEventArgs)->get_Source(&value)); return winrt::Windows::Media::Core::MediaStreamSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_Media_Core_IInitializeMediaStreamSourceRequestedEventArgs::RandomAccessStream() const + template auto consume_Windows_Media_Core_IInitializeMediaStreamSourceRequestedEventArgs::RandomAccessStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IInitializeMediaStreamSourceRequestedEventArgs)->get_RandomAccessStream(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Core_IInitializeMediaStreamSourceRequestedEventArgs::GetDeferral() const + template auto consume_Windows_Media_Core_IInitializeMediaStreamSourceRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IInitializeMediaStreamSourceRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Media_Core_ILowLightFusionResult::Frame() const + template auto consume_Windows_Media_Core_ILowLightFusionResult::Frame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ILowLightFusionResult)->get_Frame(&value)); return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Core_ILowLightFusionStatics::SupportedBitmapPixelFormats() const + template auto consume_Windows_Media_Core_ILowLightFusionStatics::SupportedBitmapPixelFormats() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ILowLightFusionStatics)->get_SupportedBitmapPixelFormats(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Core_ILowLightFusionStatics::MaxSupportedFrameCount() const + template auto consume_Windows_Media_Core_ILowLightFusionStatics::MaxSupportedFrameCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ILowLightFusionStatics)->get_MaxSupportedFrameCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Media_Core_ILowLightFusionStatics::FuseAsync(param::async_iterable const& frameSet) const + template auto consume_Windows_Media_Core_ILowLightFusionStatics::FuseAsync(param::async_iterable const& frameSet) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ILowLightFusionStatics)->FuseAsync(*(void**)(&frameSet), &result)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaBinder::Binding(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaBinder::Binding(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBinder)->add_Binding(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMediaBinder::Binding_revoker consume_Windows_Media_Core_IMediaBinder::Binding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaBinder::Binding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Binding(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBinder::Binding(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMediaBinder::Binding(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBinder)->remove_Binding(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IMediaBinder::Token() const + template auto consume_Windows_Media_Core_IMediaBinder::Token() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBinder)->get_Token(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBinder::Token(param::hstring const& value) const + template auto consume_Windows_Media_Core_IMediaBinder::Token(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBinder)->put_Token(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaBinder::Source() const + template auto consume_Windows_Media_Core_IMediaBinder::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBinder)->get_Source(&value)); return winrt::Windows::Media::Core::MediaSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaBindingEventArgs::Canceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaBindingEventArgs::Canceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBindingEventArgs)->add_Canceled(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMediaBindingEventArgs::Canceled_revoker consume_Windows_Media_Core_IMediaBindingEventArgs::Canceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaBindingEventArgs::Canceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Canceled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBindingEventArgs::Canceled(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMediaBindingEventArgs::Canceled(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBindingEventArgs)->remove_Canceled(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaBinder) consume_Windows_Media_Core_IMediaBindingEventArgs::MediaBinder() const + template auto consume_Windows_Media_Core_IMediaBindingEventArgs::MediaBinder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBindingEventArgs)->get_MediaBinder(&value)); return winrt::Windows::Media::Core::MediaBinder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Core_IMediaBindingEventArgs::GetDeferral() const + template auto consume_Windows_Media_Core_IMediaBindingEventArgs::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBindingEventArgs)->GetDeferral(&deferral)); return winrt::Windows::Foundation::Deferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBindingEventArgs::SetUri(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Media_Core_IMediaBindingEventArgs::SetUri(winrt::Windows::Foundation::Uri const& uri) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBindingEventArgs)->SetUri(*(void**)(&uri))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBindingEventArgs::SetStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& contentType) const + template auto consume_Windows_Media_Core_IMediaBindingEventArgs::SetStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& contentType) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBindingEventArgs)->SetStream(*(void**)(&stream), *(void**)(&contentType))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBindingEventArgs::SetStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream, param::hstring const& contentType) const + template auto consume_Windows_Media_Core_IMediaBindingEventArgs::SetStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream, param::hstring const& contentType) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBindingEventArgs)->SetStreamReference(*(void**)(&stream), *(void**)(&contentType))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBindingEventArgs2::SetAdaptiveMediaSource(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource const& mediaSource) const + template auto consume_Windows_Media_Core_IMediaBindingEventArgs2::SetAdaptiveMediaSource(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource const& mediaSource) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBindingEventArgs2)->SetAdaptiveMediaSource(*(void**)(&mediaSource))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBindingEventArgs2::SetStorageFile(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Media_Core_IMediaBindingEventArgs2::SetStorageFile(winrt::Windows::Storage::IStorageFile const& file) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBindingEventArgs2)->SetStorageFile(*(void**)(&file))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBindingEventArgs3::SetDownloadOperation(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation const& downloadOperation) const + template auto consume_Windows_Media_Core_IMediaBindingEventArgs3::SetDownloadOperation(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation const& downloadOperation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBindingEventArgs3)->SetDownloadOperation(*(void**)(&downloadOperation))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaCue::StartTime(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Core_IMediaCue::StartTime(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaCue)->put_StartTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMediaCue::StartTime() const + template auto consume_Windows_Media_Core_IMediaCue::StartTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaCue)->get_StartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaCue::Duration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Core_IMediaCue::Duration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaCue)->put_Duration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMediaCue::Duration() const + template auto consume_Windows_Media_Core_IMediaCue::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaCue)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaCue::Id(param::hstring const& value) const + template auto consume_Windows_Media_Core_IMediaCue::Id(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaCue)->put_Id(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IMediaCue::Id() const + template auto consume_Windows_Media_Core_IMediaCue::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaCue)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaCue) consume_Windows_Media_Core_IMediaCueEventArgs::Cue() const + template auto consume_Windows_Media_Core_IMediaCueEventArgs::Cue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaCueEventArgs)->get_Cue(&value)); return winrt::Windows::Media::Core::IMediaCue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaSource2::OpenOperationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaSource2::OpenOperationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource2)->add_OpenOperationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMediaSource2::OpenOperationCompleted_revoker consume_Windows_Media_Core_IMediaSource2::OpenOperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaSource2::OpenOperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, OpenOperationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaSource2::OpenOperationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMediaSource2::OpenOperationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource2)->remove_OpenOperationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Media_Core_IMediaSource2::CustomProperties() const + template auto consume_Windows_Media_Core_IMediaSource2::CustomProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource2)->get_CustomProperties(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Core_IMediaSource2::Duration() const + template auto consume_Windows_Media_Core_IMediaSource2::Duration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource2)->get_Duration(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IMediaSource2::IsOpen() const + template auto consume_Windows_Media_Core_IMediaSource2::IsOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource2)->get_IsOpen(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) consume_Windows_Media_Core_IMediaSource2::ExternalTimedTextSources() const + template auto consume_Windows_Media_Core_IMediaSource2::ExternalTimedTextSources() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource2)->get_ExternalTimedTextSources(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) consume_Windows_Media_Core_IMediaSource2::ExternalTimedMetadataTracks() const + template auto consume_Windows_Media_Core_IMediaSource2::ExternalTimedMetadataTracks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource2)->get_ExternalTimedMetadataTracks(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaSource3::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaSource3::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource3)->add_StateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMediaSource3::StateChanged_revoker consume_Windows_Media_Core_IMediaSource3::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaSource3::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaSource3::StateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMediaSource3::StateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource3)->remove_StateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceState) consume_Windows_Media_Core_IMediaSource3::State() const + template auto consume_Windows_Media_Core_IMediaSource3::State() const { winrt::Windows::Media::Core::MediaSourceState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource3)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaSource3::Reset() const + template auto consume_Windows_Media_Core_IMediaSource3::Reset() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource3)->Reset()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource) consume_Windows_Media_Core_IMediaSource4::AdaptiveMediaSource() const + template auto consume_Windows_Media_Core_IMediaSource4::AdaptiveMediaSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource4)->get_AdaptiveMediaSource(&value)); return winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) consume_Windows_Media_Core_IMediaSource4::MediaStreamSource() const + template auto consume_Windows_Media_Core_IMediaSource4::MediaStreamSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource4)->get_MediaStreamSource(&value)); return winrt::Windows::Media::Core::MediaStreamSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseStreamSource) consume_Windows_Media_Core_IMediaSource4::MseStreamSource() const + template auto consume_Windows_Media_Core_IMediaSource4::MseStreamSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource4)->get_MseStreamSource(&value)); return winrt::Windows::Media::Core::MseStreamSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Core_IMediaSource4::Uri() const + template auto consume_Windows_Media_Core_IMediaSource4::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource4)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Core_IMediaSource4::OpenAsync() const + template auto consume_Windows_Media_Core_IMediaSource4::OpenAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource4)->OpenAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation) consume_Windows_Media_Core_IMediaSource5::DownloadOperation() const + template auto consume_Windows_Media_Core_IMediaSource5::DownloadOperation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource5)->get_DownloadOperation(&value)); return winrt::Windows::Networking::BackgroundTransfer::DownloadOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaSourceAppServiceConnection::InitializeMediaStreamSourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaSourceAppServiceConnection::InitializeMediaStreamSourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceAppServiceConnection)->add_InitializeMediaStreamSourceRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMediaSourceAppServiceConnection::InitializeMediaStreamSourceRequested_revoker consume_Windows_Media_Core_IMediaSourceAppServiceConnection::InitializeMediaStreamSourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaSourceAppServiceConnection::InitializeMediaStreamSourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, InitializeMediaStreamSourceRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaSourceAppServiceConnection::InitializeMediaStreamSourceRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMediaSourceAppServiceConnection::InitializeMediaStreamSourceRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceAppServiceConnection)->remove_InitializeMediaStreamSourceRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaSourceAppServiceConnection::Start() const + template auto consume_Windows_Media_Core_IMediaSourceAppServiceConnection::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceAppServiceConnection)->Start()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceAppServiceConnection) consume_Windows_Media_Core_IMediaSourceAppServiceConnectionFactory::Create(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& appServiceConnection) const + template auto consume_Windows_Media_Core_IMediaSourceAppServiceConnectionFactory::Create(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& appServiceConnection) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceAppServiceConnectionFactory)->Create(*(void**)(&appServiceConnection), &result)); return winrt::Windows::Media::Core::MediaSourceAppServiceConnection{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Core_IMediaSourceError::ExtendedError() const + template auto consume_Windows_Media_Core_IMediaSourceError::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceError)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceError) consume_Windows_Media_Core_IMediaSourceOpenOperationCompletedEventArgs::Error() const + template auto consume_Windows_Media_Core_IMediaSourceOpenOperationCompletedEventArgs::Error() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceOpenOperationCompletedEventArgs)->get_Error(&value)); return winrt::Windows::Media::Core::MediaSourceError{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceState) consume_Windows_Media_Core_IMediaSourceStateChangedEventArgs::OldState() const + template auto consume_Windows_Media_Core_IMediaSourceStateChangedEventArgs::OldState() const { winrt::Windows::Media::Core::MediaSourceState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceStateChangedEventArgs)->get_OldState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceState) consume_Windows_Media_Core_IMediaSourceStateChangedEventArgs::NewState() const + template auto consume_Windows_Media_Core_IMediaSourceStateChangedEventArgs::NewState() const { winrt::Windows::Media::Core::MediaSourceState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceStateChangedEventArgs)->get_NewState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics::CreateFromAdaptiveMediaSource(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource const& mediaSource) const + template auto consume_Windows_Media_Core_IMediaSourceStatics::CreateFromAdaptiveMediaSource(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource const& mediaSource) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceStatics)->CreateFromAdaptiveMediaSource(*(void**)(&mediaSource), &result)); return winrt::Windows::Media::Core::MediaSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics::CreateFromMediaStreamSource(winrt::Windows::Media::Core::MediaStreamSource const& mediaSource) const + template auto consume_Windows_Media_Core_IMediaSourceStatics::CreateFromMediaStreamSource(winrt::Windows::Media::Core::MediaStreamSource const& mediaSource) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceStatics)->CreateFromMediaStreamSource(*(void**)(&mediaSource), &result)); return winrt::Windows::Media::Core::MediaSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics::CreateFromMseStreamSource(winrt::Windows::Media::Core::MseStreamSource const& mediaSource) const + template auto consume_Windows_Media_Core_IMediaSourceStatics::CreateFromMseStreamSource(winrt::Windows::Media::Core::MseStreamSource const& mediaSource) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceStatics)->CreateFromMseStreamSource(*(void**)(&mediaSource), &result)); return winrt::Windows::Media::Core::MediaSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics::CreateFromIMediaSource(winrt::Windows::Media::Core::IMediaSource const& mediaSource) const + template auto consume_Windows_Media_Core_IMediaSourceStatics::CreateFromIMediaSource(winrt::Windows::Media::Core::IMediaSource const& mediaSource) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceStatics)->CreateFromIMediaSource(*(void**)(&mediaSource), &result)); return winrt::Windows::Media::Core::MediaSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics::CreateFromStorageFile(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Media_Core_IMediaSourceStatics::CreateFromStorageFile(winrt::Windows::Storage::IStorageFile const& file) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceStatics)->CreateFromStorageFile(*(void**)(&file), &result)); return winrt::Windows::Media::Core::MediaSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics::CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& contentType) const + template auto consume_Windows_Media_Core_IMediaSourceStatics::CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& contentType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceStatics)->CreateFromStream(*(void**)(&stream), *(void**)(&contentType), &result)); return winrt::Windows::Media::Core::MediaSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics::CreateFromStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream, param::hstring const& contentType) const + template auto consume_Windows_Media_Core_IMediaSourceStatics::CreateFromStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream, param::hstring const& contentType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceStatics)->CreateFromStreamReference(*(void**)(&stream), *(void**)(&contentType), &result)); return winrt::Windows::Media::Core::MediaSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics::CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Media_Core_IMediaSourceStatics::CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceStatics)->CreateFromUri(*(void**)(&uri), &result)); return winrt::Windows::Media::Core::MediaSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics2::CreateFromMediaBinder(winrt::Windows::Media::Core::MediaBinder const& binder) const + template auto consume_Windows_Media_Core_IMediaSourceStatics2::CreateFromMediaBinder(winrt::Windows::Media::Core::MediaBinder const& binder) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceStatics2)->CreateFromMediaBinder(*(void**)(&binder), &result)); return winrt::Windows::Media::Core::MediaSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics3::CreateFromMediaFrameSource(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& frameSource) const + template auto consume_Windows_Media_Core_IMediaSourceStatics3::CreateFromMediaFrameSource(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& frameSource) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceStatics3)->CreateFromMediaFrameSource(*(void**)(&frameSource), &result)); return winrt::Windows::Media::Core::MediaSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics4::CreateFromDownloadOperation(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation const& downloadOperation) const + template auto consume_Windows_Media_Core_IMediaSourceStatics4::CreateFromDownloadOperation(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation const& downloadOperation) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceStatics4)->CreateFromDownloadOperation(*(void**)(&downloadOperation), &result)); return winrt::Windows::Media::Core::MediaSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IMediaStreamDescriptor::IsSelected() const + template auto consume_Windows_Media_Core_IMediaStreamDescriptor::IsSelected() const { bool selected{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamDescriptor)->get_IsSelected(&selected)); return selected; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamDescriptor::Name(param::hstring const& value) const + template auto consume_Windows_Media_Core_IMediaStreamDescriptor::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamDescriptor)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IMediaStreamDescriptor::Name() const + template auto consume_Windows_Media_Core_IMediaStreamDescriptor::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamDescriptor)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamDescriptor::Language(param::hstring const& value) const + template auto consume_Windows_Media_Core_IMediaStreamDescriptor::Language(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamDescriptor)->put_Language(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IMediaStreamDescriptor::Language() const + template auto consume_Windows_Media_Core_IMediaStreamDescriptor::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamDescriptor)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamDescriptor2::Label(param::hstring const& value) const + template auto consume_Windows_Media_Core_IMediaStreamDescriptor2::Label(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamDescriptor2)->put_Label(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IMediaStreamDescriptor2::Label() const + template auto consume_Windows_Media_Core_IMediaStreamDescriptor2::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamDescriptor2)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaStreamSample::Processed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaStreamSample::Processed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->add_Processed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMediaStreamSample::Processed_revoker consume_Windows_Media_Core_IMediaStreamSample::Processed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaStreamSample::Processed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Processed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSample::Processed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMediaStreamSample::Processed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->remove_Processed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::Buffer) consume_Windows_Media_Core_IMediaStreamSample::Buffer() const + template auto consume_Windows_Media_Core_IMediaStreamSample::Buffer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->get_Buffer(&value)); return winrt::Windows::Storage::Streams::Buffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMediaStreamSample::Timestamp() const + template auto consume_Windows_Media_Core_IMediaStreamSample::Timestamp() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSamplePropertySet) consume_Windows_Media_Core_IMediaStreamSample::ExtendedProperties() const + template auto consume_Windows_Media_Core_IMediaStreamSample::ExtendedProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->get_ExtendedProperties(&value)); return winrt::Windows::Media::Core::MediaStreamSamplePropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSampleProtectionProperties) consume_Windows_Media_Core_IMediaStreamSample::Protection() const + template auto consume_Windows_Media_Core_IMediaStreamSample::Protection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->get_Protection(&value)); return winrt::Windows::Media::Core::MediaStreamSampleProtectionProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSample::DecodeTimestamp(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Core_IMediaStreamSample::DecodeTimestamp(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->put_DecodeTimestamp(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMediaStreamSample::DecodeTimestamp() const + template auto consume_Windows_Media_Core_IMediaStreamSample::DecodeTimestamp() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->get_DecodeTimestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSample::Duration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Core_IMediaStreamSample::Duration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->put_Duration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMediaStreamSample::Duration() const + template auto consume_Windows_Media_Core_IMediaStreamSample::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSample::KeyFrame(bool value) const + template auto consume_Windows_Media_Core_IMediaStreamSample::KeyFrame(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->put_KeyFrame(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IMediaStreamSample::KeyFrame() const + template auto consume_Windows_Media_Core_IMediaStreamSample::KeyFrame() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->get_KeyFrame(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSample::Discontinuous(bool value) const + template auto consume_Windows_Media_Core_IMediaStreamSample::Discontinuous(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->put_Discontinuous(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IMediaStreamSample::Discontinuous() const + template auto consume_Windows_Media_Core_IMediaStreamSample::Discontinuous() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->get_Discontinuous(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) consume_Windows_Media_Core_IMediaStreamSample2::Direct3D11Surface() const + template auto consume_Windows_Media_Core_IMediaStreamSample2::Direct3D11Surface() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample2)->get_Direct3D11Surface(&value)); return winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties::SetKeyIdentifier(array_view value) const + template auto consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties::SetKeyIdentifier(array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSampleProtectionProperties)->SetKeyIdentifier(value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties::GetKeyIdentifier(com_array& value) const + template auto consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties::GetKeyIdentifier(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSampleProtectionProperties)->GetKeyIdentifier(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties::SetInitializationVector(array_view value) const + template auto consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties::SetInitializationVector(array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSampleProtectionProperties)->SetInitializationVector(value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties::GetInitializationVector(com_array& value) const + template auto consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties::GetInitializationVector(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSampleProtectionProperties)->GetInitializationVector(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties::SetSubSampleMapping(array_view value) const + template auto consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties::SetSubSampleMapping(array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSampleProtectionProperties)->SetSubSampleMapping(value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties::GetSubSampleMapping(com_array& value) const + template auto consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties::GetSubSampleMapping(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSampleProtectionProperties)->GetSubSampleMapping(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSample) consume_Windows_Media_Core_IMediaStreamSampleStatics::CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, winrt::Windows::Foundation::TimeSpan const& timestamp) const + template auto consume_Windows_Media_Core_IMediaStreamSampleStatics::CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, winrt::Windows::Foundation::TimeSpan const& timestamp) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSampleStatics)->CreateFromBuffer(*(void**)(&buffer), impl::bind_in(timestamp), &value)); return winrt::Windows::Media::Core::MediaStreamSample{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Core_IMediaStreamSampleStatics::CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, uint32_t count, winrt::Windows::Foundation::TimeSpan const& timestamp) const + template auto consume_Windows_Media_Core_IMediaStreamSampleStatics::CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, uint32_t count, winrt::Windows::Foundation::TimeSpan const& timestamp) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSampleStatics)->CreateFromStreamAsync(*(void**)(&stream), count, impl::bind_in(timestamp), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSample) consume_Windows_Media_Core_IMediaStreamSampleStatics2::CreateFromDirect3D11Surface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Foundation::TimeSpan const& timestamp) const + template auto consume_Windows_Media_Core_IMediaStreamSampleStatics2::CreateFromDirect3D11Surface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Foundation::TimeSpan const& timestamp) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSampleStatics2)->CreateFromDirect3D11Surface(*(void**)(&surface), impl::bind_in(timestamp), &result)); return winrt::Windows::Media::Core::MediaStreamSample{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaStreamSource::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaStreamSource::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMediaStreamSource::Closed_revoker consume_Windows_Media_Core_IMediaStreamSource::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaStreamSource::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMediaStreamSource::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaStreamSource::Starting(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaStreamSource::Starting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->add_Starting(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMediaStreamSource::Starting_revoker consume_Windows_Media_Core_IMediaStreamSource::Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaStreamSource::Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Starting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource::Starting(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMediaStreamSource::Starting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->remove_Starting(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaStreamSource::Paused(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaStreamSource::Paused(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->add_Paused(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMediaStreamSource::Paused_revoker consume_Windows_Media_Core_IMediaStreamSource::Paused(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaStreamSource::Paused(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Paused(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource::Paused(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMediaStreamSource::Paused(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->remove_Paused(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaStreamSource::SampleRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaStreamSource::SampleRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->add_SampleRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMediaStreamSource::SampleRequested_revoker consume_Windows_Media_Core_IMediaStreamSource::SampleRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaStreamSource::SampleRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SampleRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource::SampleRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMediaStreamSource::SampleRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->remove_SampleRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaStreamSource::SwitchStreamsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaStreamSource::SwitchStreamsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->add_SwitchStreamsRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMediaStreamSource::SwitchStreamsRequested_revoker consume_Windows_Media_Core_IMediaStreamSource::SwitchStreamsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaStreamSource::SwitchStreamsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SwitchStreamsRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource::SwitchStreamsRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMediaStreamSource::SwitchStreamsRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->remove_SwitchStreamsRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource::NotifyError(winrt::Windows::Media::Core::MediaStreamSourceErrorStatus const& errorStatus) const + template auto consume_Windows_Media_Core_IMediaStreamSource::NotifyError(winrt::Windows::Media::Core::MediaStreamSourceErrorStatus const& errorStatus) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->NotifyError(static_cast(errorStatus))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource::AddStreamDescriptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor) const + template auto consume_Windows_Media_Core_IMediaStreamSource::AddStreamDescriptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->AddStreamDescriptor(*(void**)(&descriptor))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource::MediaProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const + template auto consume_Windows_Media_Core_IMediaStreamSource::MediaProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->put_MediaProtectionManager(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionManager) consume_Windows_Media_Core_IMediaStreamSource::MediaProtectionManager() const + template auto consume_Windows_Media_Core_IMediaStreamSource::MediaProtectionManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->get_MediaProtectionManager(&value)); return winrt::Windows::Media::Protection::MediaProtectionManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource::Duration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Core_IMediaStreamSource::Duration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->put_Duration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMediaStreamSource::Duration() const + template auto consume_Windows_Media_Core_IMediaStreamSource::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource::CanSeek(bool value) const + template auto consume_Windows_Media_Core_IMediaStreamSource::CanSeek(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->put_CanSeek(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IMediaStreamSource::CanSeek() const + template auto consume_Windows_Media_Core_IMediaStreamSource::CanSeek() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->get_CanSeek(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource::BufferTime(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Core_IMediaStreamSource::BufferTime(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->put_BufferTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMediaStreamSource::BufferTime() const + template auto consume_Windows_Media_Core_IMediaStreamSource::BufferTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->get_BufferTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource::SetBufferedRange(winrt::Windows::Foundation::TimeSpan const& startOffset, winrt::Windows::Foundation::TimeSpan const& endOffset) const + template auto consume_Windows_Media_Core_IMediaStreamSource::SetBufferedRange(winrt::Windows::Foundation::TimeSpan const& startOffset, winrt::Windows::Foundation::TimeSpan const& endOffset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->SetBufferedRange(impl::bind_in(startOffset), impl::bind_in(endOffset))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::MusicProperties) consume_Windows_Media_Core_IMediaStreamSource::MusicProperties() const + template auto consume_Windows_Media_Core_IMediaStreamSource::MusicProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->get_MusicProperties(&value)); return winrt::Windows::Storage::FileProperties::MusicProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::VideoProperties) consume_Windows_Media_Core_IMediaStreamSource::VideoProperties() const + template auto consume_Windows_Media_Core_IMediaStreamSource::VideoProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->get_VideoProperties(&value)); return winrt::Windows::Storage::FileProperties::VideoProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource::Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_Media_Core_IMediaStreamSource::Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->put_Thumbnail(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Media_Core_IMediaStreamSource::Thumbnail() const + template auto consume_Windows_Media_Core_IMediaStreamSource::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->get_Thumbnail(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource::AddProtectionKey(winrt::Windows::Media::Core::IMediaStreamDescriptor const& streamDescriptor, array_view keyIdentifier, array_view licenseData) const + template auto consume_Windows_Media_Core_IMediaStreamSource::AddProtectionKey(winrt::Windows::Media::Core::IMediaStreamDescriptor const& streamDescriptor, array_view keyIdentifier, array_view licenseData) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->AddProtectionKey(*(void**)(&streamDescriptor), keyIdentifier.size(), get_abi(keyIdentifier), licenseData.size(), get_abi(licenseData))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaStreamSource2::SampleRendered(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaStreamSource2::SampleRendered(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource2)->add_SampleRendered(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMediaStreamSource2::SampleRendered_revoker consume_Windows_Media_Core_IMediaStreamSource2::SampleRendered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMediaStreamSource2::SampleRendered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SampleRendered(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource2::SampleRendered(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMediaStreamSource2::SampleRendered(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource2)->remove_SampleRendered(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource3::MaxSupportedPlaybackRate(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Core_IMediaStreamSource3::MaxSupportedPlaybackRate(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource3)->put_MaxSupportedPlaybackRate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Core_IMediaStreamSource3::MaxSupportedPlaybackRate() const + template auto consume_Windows_Media_Core_IMediaStreamSource3::MaxSupportedPlaybackRate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource3)->get_MaxSupportedPlaybackRate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource4::IsLive(bool value) const + template auto consume_Windows_Media_Core_IMediaStreamSource4::IsLive(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource4)->put_IsLive(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IMediaStreamSource4::IsLive() const + template auto consume_Windows_Media_Core_IMediaStreamSource4::IsLive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource4)->get_IsLive(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceClosedRequest) consume_Windows_Media_Core_IMediaStreamSourceClosedEventArgs::Request() const + template auto consume_Windows_Media_Core_IMediaStreamSourceClosedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceClosedEventArgs)->get_Request(&value)); return winrt::Windows::Media::Core::MediaStreamSourceClosedRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceClosedReason) consume_Windows_Media_Core_IMediaStreamSourceClosedRequest::Reason() const + template auto consume_Windows_Media_Core_IMediaStreamSourceClosedRequest::Reason() const { winrt::Windows::Media::Core::MediaStreamSourceClosedReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceClosedRequest)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) consume_Windows_Media_Core_IMediaStreamSourceFactory::CreateFromDescriptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor) const + template auto consume_Windows_Media_Core_IMediaStreamSourceFactory::CreateFromDescriptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceFactory)->CreateFromDescriptor(*(void**)(&descriptor), &result)); return winrt::Windows::Media::Core::MediaStreamSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) consume_Windows_Media_Core_IMediaStreamSourceFactory::CreateFromDescriptors(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor2) const + template auto consume_Windows_Media_Core_IMediaStreamSourceFactory::CreateFromDescriptors(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor2) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceFactory)->CreateFromDescriptors(*(void**)(&descriptor), *(void**)(&descriptor2), &result)); return winrt::Windows::Media::Core::MediaStreamSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMediaStreamSourceSampleRenderedEventArgs::SampleLag() const + template auto consume_Windows_Media_Core_IMediaStreamSourceSampleRenderedEventArgs::SampleLag() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSampleRenderedEventArgs)->get_SampleLag(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaStreamDescriptor) consume_Windows_Media_Core_IMediaStreamSourceSampleRequest::StreamDescriptor() const + template auto consume_Windows_Media_Core_IMediaStreamSourceSampleRequest::StreamDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSampleRequest)->get_StreamDescriptor(&value)); return winrt::Windows::Media::Core::IMediaStreamDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceSampleRequestDeferral) consume_Windows_Media_Core_IMediaStreamSourceSampleRequest::GetDeferral() const + template auto consume_Windows_Media_Core_IMediaStreamSourceSampleRequest::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSampleRequest)->GetDeferral(&deferral)); return winrt::Windows::Media::Core::MediaStreamSourceSampleRequestDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSourceSampleRequest::Sample(winrt::Windows::Media::Core::MediaStreamSample const& value) const + template auto consume_Windows_Media_Core_IMediaStreamSourceSampleRequest::Sample(winrt::Windows::Media::Core::MediaStreamSample const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSampleRequest)->put_Sample(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSample) consume_Windows_Media_Core_IMediaStreamSourceSampleRequest::Sample() const + template auto consume_Windows_Media_Core_IMediaStreamSourceSampleRequest::Sample() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSampleRequest)->get_Sample(&value)); return winrt::Windows::Media::Core::MediaStreamSample{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSourceSampleRequest::ReportSampleProgress(uint32_t progress) const + template auto consume_Windows_Media_Core_IMediaStreamSourceSampleRequest::ReportSampleProgress(uint32_t progress) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSampleRequest)->ReportSampleProgress(progress)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSourceSampleRequestDeferral::Complete() const + template auto consume_Windows_Media_Core_IMediaStreamSourceSampleRequestDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSampleRequestDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceSampleRequest) consume_Windows_Media_Core_IMediaStreamSourceSampleRequestedEventArgs::Request() const + template auto consume_Windows_Media_Core_IMediaStreamSourceSampleRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSampleRequestedEventArgs)->get_Request(&value)); return winrt::Windows::Media::Core::MediaStreamSourceSampleRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceStartingRequest) consume_Windows_Media_Core_IMediaStreamSourceStartingEventArgs::Request() const + template auto consume_Windows_Media_Core_IMediaStreamSourceStartingEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceStartingEventArgs)->get_Request(&value)); return winrt::Windows::Media::Core::MediaStreamSourceStartingRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Core_IMediaStreamSourceStartingRequest::StartPosition() const + template auto consume_Windows_Media_Core_IMediaStreamSourceStartingRequest::StartPosition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceStartingRequest)->get_StartPosition(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceStartingRequestDeferral) consume_Windows_Media_Core_IMediaStreamSourceStartingRequest::GetDeferral() const + template auto consume_Windows_Media_Core_IMediaStreamSourceStartingRequest::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceStartingRequest)->GetDeferral(&deferral)); return winrt::Windows::Media::Core::MediaStreamSourceStartingRequestDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSourceStartingRequest::SetActualStartPosition(winrt::Windows::Foundation::TimeSpan const& position) const + template auto consume_Windows_Media_Core_IMediaStreamSourceStartingRequest::SetActualStartPosition(winrt::Windows::Foundation::TimeSpan const& position) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceStartingRequest)->SetActualStartPosition(impl::bind_in(position))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSourceStartingRequestDeferral::Complete() const + template auto consume_Windows_Media_Core_IMediaStreamSourceStartingRequestDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceStartingRequestDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaStreamDescriptor) consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequest::OldStreamDescriptor() const + template auto consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequest::OldStreamDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequest)->get_OldStreamDescriptor(&value)); return winrt::Windows::Media::Core::IMediaStreamDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaStreamDescriptor) consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequest::NewStreamDescriptor() const + template auto consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequest::NewStreamDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequest)->get_NewStreamDescriptor(&value)); return winrt::Windows::Media::Core::IMediaStreamDescriptor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequestDeferral) consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequest::GetDeferral() const + template auto consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequest::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequest)->GetDeferral(&deferral)); return winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequestDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequestDeferral::Complete() const + template auto consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequestDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequestDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequest) consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequestedEventArgs::Request() const + template auto consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequestedEventArgs)->get_Request(&value)); return winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IMediaTrack::Id() const + template auto consume_Windows_Media_Core_IMediaTrack::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaTrack)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IMediaTrack::Language() const + template auto consume_Windows_Media_Core_IMediaTrack::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaTrack)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaTrackKind) consume_Windows_Media_Core_IMediaTrack::TrackKind() const + template auto consume_Windows_Media_Core_IMediaTrack::TrackKind() const { winrt::Windows::Media::Core::MediaTrackKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaTrack)->get_TrackKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaTrack::Label(param::hstring const& value) const + template auto consume_Windows_Media_Core_IMediaTrack::Label(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaTrack)->put_Label(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IMediaTrack::Label() const + template auto consume_Windows_Media_Core_IMediaTrack::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaTrack)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseSourceBuffer::UpdateStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::UpdateStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->add_UpdateStarting(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMseSourceBuffer::UpdateStarting_revoker consume_Windows_Media_Core_IMseSourceBuffer::UpdateStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::UpdateStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UpdateStarting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer::UpdateStarting(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMseSourceBuffer::UpdateStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->remove_UpdateStarting(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseSourceBuffer::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->add_Updated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMseSourceBuffer::Updated_revoker consume_Windows_Media_Core_IMseSourceBuffer::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Updated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer::Updated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMseSourceBuffer::Updated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->remove_Updated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseSourceBuffer::UpdateEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::UpdateEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->add_UpdateEnded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMseSourceBuffer::UpdateEnded_revoker consume_Windows_Media_Core_IMseSourceBuffer::UpdateEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::UpdateEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UpdateEnded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer::UpdateEnded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMseSourceBuffer::UpdateEnded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->remove_UpdateEnded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseSourceBuffer::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->add_ErrorOccurred(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMseSourceBuffer::ErrorOccurred_revoker consume_Windows_Media_Core_IMseSourceBuffer::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ErrorOccurred(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer::ErrorOccurred(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMseSourceBuffer::ErrorOccurred(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->remove_ErrorOccurred(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseSourceBuffer::Aborted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::Aborted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->add_Aborted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMseSourceBuffer::Aborted_revoker consume_Windows_Media_Core_IMseSourceBuffer::Aborted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::Aborted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Aborted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer::Aborted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMseSourceBuffer::Aborted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->remove_Aborted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseAppendMode) consume_Windows_Media_Core_IMseSourceBuffer::Mode() const + template auto consume_Windows_Media_Core_IMseSourceBuffer::Mode() const { winrt::Windows::Media::Core::MseAppendMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer::Mode(winrt::Windows::Media::Core::MseAppendMode const& value) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::Mode(winrt::Windows::Media::Core::MseAppendMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IMseSourceBuffer::IsUpdating() const + template auto consume_Windows_Media_Core_IMseSourceBuffer::IsUpdating() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->get_IsUpdating(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Core_IMseSourceBuffer::Buffered() const + template auto consume_Windows_Media_Core_IMseSourceBuffer::Buffered() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->get_Buffered(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMseSourceBuffer::TimestampOffset() const + template auto consume_Windows_Media_Core_IMseSourceBuffer::TimestampOffset() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->get_TimestampOffset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer::TimestampOffset(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::TimestampOffset(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->put_TimestampOffset(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMseSourceBuffer::AppendWindowStart() const + template auto consume_Windows_Media_Core_IMseSourceBuffer::AppendWindowStart() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->get_AppendWindowStart(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer::AppendWindowStart(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::AppendWindowStart(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->put_AppendWindowStart(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Core_IMseSourceBuffer::AppendWindowEnd() const + template auto consume_Windows_Media_Core_IMseSourceBuffer::AppendWindowEnd() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->get_AppendWindowEnd(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer::AppendWindowEnd(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::AppendWindowEnd(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->put_AppendWindowEnd(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer::AppendBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::AppendBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->AppendBuffer(*(void**)(&buffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer::AppendStream(winrt::Windows::Storage::Streams::IInputStream const& stream) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::AppendStream(winrt::Windows::Storage::Streams::IInputStream const& stream) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->AppendStream(*(void**)(&stream))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer::AppendStream(winrt::Windows::Storage::Streams::IInputStream const& stream, uint64_t maxSize) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::AppendStream(winrt::Windows::Storage::Streams::IInputStream const& stream, uint64_t maxSize) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->AppendStreamMaxSize(*(void**)(&stream), maxSize)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer::Abort() const + template auto consume_Windows_Media_Core_IMseSourceBuffer::Abort() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->Abort()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer::Remove(winrt::Windows::Foundation::TimeSpan const& start, winrt::Windows::Foundation::IReference const& end) const + template auto consume_Windows_Media_Core_IMseSourceBuffer::Remove(winrt::Windows::Foundation::TimeSpan const& start, winrt::Windows::Foundation::IReference const& end) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->Remove(impl::bind_in(start), *(void**)(&end))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseSourceBufferList::SourceBufferAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseSourceBufferList::SourceBufferAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBufferList)->add_SourceBufferAdded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMseSourceBufferList::SourceBufferAdded_revoker consume_Windows_Media_Core_IMseSourceBufferList::SourceBufferAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseSourceBufferList::SourceBufferAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceBufferAdded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBufferList::SourceBufferAdded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMseSourceBufferList::SourceBufferAdded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBufferList)->remove_SourceBufferAdded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseSourceBufferList::SourceBufferRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseSourceBufferList::SourceBufferRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBufferList)->add_SourceBufferRemoved(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMseSourceBufferList::SourceBufferRemoved_revoker consume_Windows_Media_Core_IMseSourceBufferList::SourceBufferRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseSourceBufferList::SourceBufferRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceBufferRemoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBufferList::SourceBufferRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMseSourceBufferList::SourceBufferRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBufferList)->remove_SourceBufferRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Core_IMseSourceBufferList::Buffers() const + template auto consume_Windows_Media_Core_IMseSourceBufferList::Buffers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBufferList)->get_Buffers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseStreamSource::Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseStreamSource::Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->add_Opened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMseStreamSource::Opened_revoker consume_Windows_Media_Core_IMseStreamSource::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseStreamSource::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Opened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseStreamSource::Opened(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMseStreamSource::Opened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->remove_Opened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseStreamSource::Ended(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseStreamSource::Ended(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->add_Ended(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMseStreamSource::Ended_revoker consume_Windows_Media_Core_IMseStreamSource::Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseStreamSource::Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Ended(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseStreamSource::Ended(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMseStreamSource::Ended(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->remove_Ended(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseStreamSource::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseStreamSource::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IMseStreamSource::Closed_revoker consume_Windows_Media_Core_IMseStreamSource::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IMseStreamSource::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseStreamSource::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IMseStreamSource::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseSourceBufferList) consume_Windows_Media_Core_IMseStreamSource::SourceBuffers() const + template auto consume_Windows_Media_Core_IMseStreamSource::SourceBuffers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->get_SourceBuffers(&value)); return winrt::Windows::Media::Core::MseSourceBufferList{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseSourceBufferList) consume_Windows_Media_Core_IMseStreamSource::ActiveSourceBuffers() const + template auto consume_Windows_Media_Core_IMseStreamSource::ActiveSourceBuffers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->get_ActiveSourceBuffers(&value)); return winrt::Windows::Media::Core::MseSourceBufferList{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseReadyState) consume_Windows_Media_Core_IMseStreamSource::ReadyState() const + template auto consume_Windows_Media_Core_IMseStreamSource::ReadyState() const { winrt::Windows::Media::Core::MseReadyState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->get_ReadyState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Core_IMseStreamSource::Duration() const + template auto consume_Windows_Media_Core_IMseStreamSource::Duration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->get_Duration(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseStreamSource::Duration(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Core_IMseStreamSource::Duration(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->put_Duration(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseSourceBuffer) consume_Windows_Media_Core_IMseStreamSource::AddSourceBuffer(param::hstring const& mimeType) const + template auto consume_Windows_Media_Core_IMseStreamSource::AddSourceBuffer(param::hstring const& mimeType) const { void* buffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->AddSourceBuffer(*(void**)(&mimeType), &buffer)); return winrt::Windows::Media::Core::MseSourceBuffer{ buffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseStreamSource::RemoveSourceBuffer(winrt::Windows::Media::Core::MseSourceBuffer const& buffer) const + template auto consume_Windows_Media_Core_IMseStreamSource::RemoveSourceBuffer(winrt::Windows::Media::Core::MseSourceBuffer const& buffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->RemoveSourceBuffer(*(void**)(&buffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseStreamSource::EndOfStream(winrt::Windows::Media::Core::MseEndOfStreamStatus const& status) const + template auto consume_Windows_Media_Core_IMseStreamSource::EndOfStream(winrt::Windows::Media::Core::MseEndOfStreamStatus const& status) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->EndOfStream(static_cast(status))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Core_IMseStreamSource2::LiveSeekableRange() const + template auto consume_Windows_Media_Core_IMseStreamSource2::LiveSeekableRange() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource2)->get_LiveSeekableRange(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseStreamSource2::LiveSeekableRange(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Core_IMseStreamSource2::LiveSeekableRange(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource2)->put_LiveSeekableRange(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IMseStreamSourceStatics::IsContentTypeSupported(param::hstring const& contentType) const + template auto consume_Windows_Media_Core_IMseStreamSourceStatics::IsContentTypeSupported(param::hstring const& contentType) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSourceStatics)->IsContentTypeSupported(*(void**)(&contentType), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::HighDynamicRangeControl) consume_Windows_Media_Core_ISceneAnalysisEffect::HighDynamicRangeAnalyzer() const + template auto consume_Windows_Media_Core_ISceneAnalysisEffect::HighDynamicRangeAnalyzer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISceneAnalysisEffect)->get_HighDynamicRangeAnalyzer(&value)); return winrt::Windows::Media::Core::HighDynamicRangeControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ISceneAnalysisEffect::DesiredAnalysisInterval(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Core_ISceneAnalysisEffect::DesiredAnalysisInterval(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISceneAnalysisEffect)->put_DesiredAnalysisInterval(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_ISceneAnalysisEffect::DesiredAnalysisInterval() const + template auto consume_Windows_Media_Core_ISceneAnalysisEffect::DesiredAnalysisInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISceneAnalysisEffect)->get_DesiredAnalysisInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_ISceneAnalysisEffect::SceneAnalyzed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_ISceneAnalysisEffect::SceneAnalyzed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISceneAnalysisEffect)->add_SceneAnalyzed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_Core_ISceneAnalysisEffect::SceneAnalyzed_revoker consume_Windows_Media_Core_ISceneAnalysisEffect::SceneAnalyzed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_ISceneAnalysisEffect::SceneAnalyzed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SceneAnalyzed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ISceneAnalysisEffect::SceneAnalyzed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_Core_ISceneAnalysisEffect::SceneAnalyzed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISceneAnalysisEffect)->remove_SceneAnalyzed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrameControlValues) consume_Windows_Media_Core_ISceneAnalysisEffectFrame::FrameControlValues() const + template auto consume_Windows_Media_Core_ISceneAnalysisEffectFrame::FrameControlValues() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISceneAnalysisEffectFrame)->get_FrameControlValues(&value)); return winrt::Windows::Media::Capture::CapturedFrameControlValues{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::HighDynamicRangeOutput) consume_Windows_Media_Core_ISceneAnalysisEffectFrame::HighDynamicRange() const + template auto consume_Windows_Media_Core_ISceneAnalysisEffectFrame::HighDynamicRange() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISceneAnalysisEffectFrame)->get_HighDynamicRange(&value)); return winrt::Windows::Media::Core::HighDynamicRangeOutput{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::SceneAnalysisRecommendation) consume_Windows_Media_Core_ISceneAnalysisEffectFrame2::AnalysisRecommendation() const + template auto consume_Windows_Media_Core_ISceneAnalysisEffectFrame2::AnalysisRecommendation() const { winrt::Windows::Media::Core::SceneAnalysisRecommendation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISceneAnalysisEffectFrame2)->get_AnalysisRecommendation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::SceneAnalysisEffectFrame) consume_Windows_Media_Core_ISceneAnalyzedEventArgs::ResultFrame() const + template auto consume_Windows_Media_Core_ISceneAnalyzedEventArgs::ResultFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISceneAnalyzedEventArgs)->get_ResultFrame(&value)); return winrt::Windows::Media::Core::SceneAnalysisEffectFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_ISingleSelectMediaTrackList::SelectedIndexChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_ISingleSelectMediaTrackList::SelectedIndexChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISingleSelectMediaTrackList)->add_SelectedIndexChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_ISingleSelectMediaTrackList::SelectedIndexChanged_revoker consume_Windows_Media_Core_ISingleSelectMediaTrackList::SelectedIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_ISingleSelectMediaTrackList::SelectedIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectedIndexChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ISingleSelectMediaTrackList::SelectedIndexChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_ISingleSelectMediaTrackList::SelectedIndexChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISingleSelectMediaTrackList)->remove_SelectedIndexChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ISingleSelectMediaTrackList::SelectedIndex(int32_t value) const + template auto consume_Windows_Media_Core_ISingleSelectMediaTrackList::SelectedIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISingleSelectMediaTrackList)->put_SelectedIndex(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Core_ISingleSelectMediaTrackList::SelectedIndex() const + template auto consume_Windows_Media_Core_ISingleSelectMediaTrackList::SelectedIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISingleSelectMediaTrackList)->get_SelectedIndex(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ISpeechCue::Text() const + template auto consume_Windows_Media_Core_ISpeechCue::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISpeechCue)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ISpeechCue::Text(param::hstring const& value) const + template auto consume_Windows_Media_Core_ISpeechCue::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISpeechCue)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Core_ISpeechCue::StartPositionInInput() const + template auto consume_Windows_Media_Core_ISpeechCue::StartPositionInInput() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISpeechCue)->get_StartPositionInInput(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ISpeechCue::StartPositionInInput(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Core_ISpeechCue::StartPositionInInput(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISpeechCue)->put_StartPositionInInput(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Core_ISpeechCue::EndPositionInInput() const + template auto consume_Windows_Media_Core_ISpeechCue::EndPositionInInput() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISpeechCue)->get_EndPositionInInput(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ISpeechCue::EndPositionInInput(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Core_ISpeechCue::EndPositionInInput(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISpeechCue)->put_EndPositionInInput(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) consume_Windows_Media_Core_ITimedMetadataStreamDescriptor::EncodingProperties() const + template auto consume_Windows_Media_Core_ITimedMetadataStreamDescriptor::EncodingProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataStreamDescriptor)->get_EncodingProperties(&value)); return winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataStreamDescriptor) consume_Windows_Media_Core_ITimedMetadataStreamDescriptor::Copy() const + template auto consume_Windows_Media_Core_ITimedMetadataStreamDescriptor::Copy() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataStreamDescriptor)->Copy(&result)); return winrt::Windows::Media::Core::TimedMetadataStreamDescriptor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataStreamDescriptor) consume_Windows_Media_Core_ITimedMetadataStreamDescriptorFactory::Create(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties const& encodingProperties) const + template auto consume_Windows_Media_Core_ITimedMetadataStreamDescriptorFactory::Create(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties const& encodingProperties) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataStreamDescriptorFactory)->Create(*(void**)(&encodingProperties), &result)); return winrt::Windows::Media::Core::TimedMetadataStreamDescriptor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_ITimedMetadataTrack::CueEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_ITimedMetadataTrack::CueEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->add_CueEntered(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_ITimedMetadataTrack::CueEntered_revoker consume_Windows_Media_Core_ITimedMetadataTrack::CueEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_ITimedMetadataTrack::CueEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CueEntered(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedMetadataTrack::CueEntered(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_ITimedMetadataTrack::CueEntered(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->remove_CueEntered(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_ITimedMetadataTrack::CueExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_ITimedMetadataTrack::CueExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->add_CueExited(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_ITimedMetadataTrack::CueExited_revoker consume_Windows_Media_Core_ITimedMetadataTrack::CueExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_ITimedMetadataTrack::CueExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CueExited(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedMetadataTrack::CueExited(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_ITimedMetadataTrack::CueExited(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->remove_CueExited(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_ITimedMetadataTrack::TrackFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_ITimedMetadataTrack::TrackFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->add_TrackFailed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_ITimedMetadataTrack::TrackFailed_revoker consume_Windows_Media_Core_ITimedMetadataTrack::TrackFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_ITimedMetadataTrack::TrackFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TrackFailed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedMetadataTrack::TrackFailed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_ITimedMetadataTrack::TrackFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->remove_TrackFailed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Core_ITimedMetadataTrack::Cues() const + template auto consume_Windows_Media_Core_ITimedMetadataTrack::Cues() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->get_Cues(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Core_ITimedMetadataTrack::ActiveCues() const + template auto consume_Windows_Media_Core_ITimedMetadataTrack::ActiveCues() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->get_ActiveCues(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataKind) consume_Windows_Media_Core_ITimedMetadataTrack::TimedMetadataKind() const + template auto consume_Windows_Media_Core_ITimedMetadataTrack::TimedMetadataKind() const { winrt::Windows::Media::Core::TimedMetadataKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->get_TimedMetadataKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ITimedMetadataTrack::DispatchType() const + template auto consume_Windows_Media_Core_ITimedMetadataTrack::DispatchType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->get_DispatchType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedMetadataTrack::AddCue(winrt::Windows::Media::Core::IMediaCue const& cue) const + template auto consume_Windows_Media_Core_ITimedMetadataTrack::AddCue(winrt::Windows::Media::Core::IMediaCue const& cue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->AddCue(*(void**)(&cue))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedMetadataTrack::RemoveCue(winrt::Windows::Media::Core::IMediaCue const& cue) const + template auto consume_Windows_Media_Core_ITimedMetadataTrack::RemoveCue(winrt::Windows::Media::Core::IMediaCue const& cue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->RemoveCue(*(void**)(&cue))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Core_ITimedMetadataTrack2::PlaybackItem() const + template auto consume_Windows_Media_Core_ITimedMetadataTrack2::PlaybackItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack2)->get_PlaybackItem(&value)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ITimedMetadataTrack2::Name() const + template auto consume_Windows_Media_Core_ITimedMetadataTrack2::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack2)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataTrackErrorCode) consume_Windows_Media_Core_ITimedMetadataTrackError::ErrorCode() const + template auto consume_Windows_Media_Core_ITimedMetadataTrackError::ErrorCode() const { winrt::Windows::Media::Core::TimedMetadataTrackErrorCode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrackError)->get_ErrorCode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Core_ITimedMetadataTrackError::ExtendedError() const + template auto consume_Windows_Media_Core_ITimedMetadataTrackError::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrackError)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataTrack) consume_Windows_Media_Core_ITimedMetadataTrackFactory::Create(param::hstring const& id, param::hstring const& language, winrt::Windows::Media::Core::TimedMetadataKind const& kind) const + template auto consume_Windows_Media_Core_ITimedMetadataTrackFactory::Create(param::hstring const& id, param::hstring const& language, winrt::Windows::Media::Core::TimedMetadataKind const& kind) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrackFactory)->Create(*(void**)(&id), *(void**)(&language), static_cast(kind), &value)); return winrt::Windows::Media::Core::TimedMetadataTrack{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataTrackError) consume_Windows_Media_Core_ITimedMetadataTrackFailedEventArgs::Error() const + template auto consume_Windows_Media_Core_ITimedMetadataTrackFailedEventArgs::Error() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrackFailedEventArgs)->get_Error(&value)); return winrt::Windows::Media::Core::TimedMetadataTrackError{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Core_ITimedMetadataTrackProvider::TimedMetadataTracks() const + template auto consume_Windows_Media_Core_ITimedMetadataTrackProvider::TimedMetadataTracks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrackProvider)->get_TimedMetadataTracks(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBoutenType) consume_Windows_Media_Core_ITimedTextBouten::Type() const + template auto consume_Windows_Media_Core_ITimedTextBouten::Type() const { winrt::Windows::Media::Core::TimedTextBoutenType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextBouten::Type(winrt::Windows::Media::Core::TimedTextBoutenType const& value) const + template auto consume_Windows_Media_Core_ITimedTextBouten::Type(winrt::Windows::Media::Core::TimedTextBoutenType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->put_Type(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_Core_ITimedTextBouten::Color() const + template auto consume_Windows_Media_Core_ITimedTextBouten::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextBouten::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Media_Core_ITimedTextBouten::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBoutenPosition) consume_Windows_Media_Core_ITimedTextBouten::Position() const + template auto consume_Windows_Media_Core_ITimedTextBouten::Position() const { winrt::Windows::Media::Core::TimedTextBoutenPosition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->get_Position(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextBouten::Position(winrt::Windows::Media::Core::TimedTextBoutenPosition const& value) const + template auto consume_Windows_Media_Core_ITimedTextBouten::Position(winrt::Windows::Media::Core::TimedTextBoutenPosition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->put_Position(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRegion) consume_Windows_Media_Core_ITimedTextCue::CueRegion() const + template auto consume_Windows_Media_Core_ITimedTextCue::CueRegion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextCue)->get_CueRegion(&value)); return winrt::Windows::Media::Core::TimedTextRegion{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextCue::CueRegion(winrt::Windows::Media::Core::TimedTextRegion const& value) const + template auto consume_Windows_Media_Core_ITimedTextCue::CueRegion(winrt::Windows::Media::Core::TimedTextRegion const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextCue)->put_CueRegion(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextStyle) consume_Windows_Media_Core_ITimedTextCue::CueStyle() const + template auto consume_Windows_Media_Core_ITimedTextCue::CueStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextCue)->get_CueStyle(&value)); return winrt::Windows::Media::Core::TimedTextStyle{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextCue::CueStyle(winrt::Windows::Media::Core::TimedTextStyle const& value) const + template auto consume_Windows_Media_Core_ITimedTextCue::CueStyle(winrt::Windows::Media::Core::TimedTextStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextCue)->put_CueStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_Core_ITimedTextCue::Lines() const + template auto consume_Windows_Media_Core_ITimedTextCue::Lines() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextCue)->get_Lines(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ITimedTextLine::Text() const + template auto consume_Windows_Media_Core_ITimedTextLine::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextLine)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextLine::Text(param::hstring const& value) const + template auto consume_Windows_Media_Core_ITimedTextLine::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextLine)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_Core_ITimedTextLine::Subformats() const + template auto consume_Windows_Media_Core_ITimedTextLine::Subformats() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextLine)->get_Subformats(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ITimedTextRegion::Name() const + template auto consume_Windows_Media_Core_ITimedTextRegion::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion::Name(param::hstring const& value) const + template auto consume_Windows_Media_Core_ITimedTextRegion::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextPoint) consume_Windows_Media_Core_ITimedTextRegion::Position() const + template auto consume_Windows_Media_Core_ITimedTextRegion::Position() const { winrt::Windows::Media::Core::TimedTextPoint value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion::Position(winrt::Windows::Media::Core::TimedTextPoint const& value) const + template auto consume_Windows_Media_Core_ITimedTextRegion::Position(winrt::Windows::Media::Core::TimedTextPoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_Position(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSize) consume_Windows_Media_Core_ITimedTextRegion::Extent() const + template auto consume_Windows_Media_Core_ITimedTextRegion::Extent() const { winrt::Windows::Media::Core::TimedTextSize value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_Extent(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion::Extent(winrt::Windows::Media::Core::TimedTextSize const& value) const + template auto consume_Windows_Media_Core_ITimedTextRegion::Extent(winrt::Windows::Media::Core::TimedTextSize const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_Extent(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_Core_ITimedTextRegion::Background() const + template auto consume_Windows_Media_Core_ITimedTextRegion::Background() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_Background(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion::Background(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Media_Core_ITimedTextRegion::Background(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_Background(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextWritingMode) consume_Windows_Media_Core_ITimedTextRegion::WritingMode() const + template auto consume_Windows_Media_Core_ITimedTextRegion::WritingMode() const { winrt::Windows::Media::Core::TimedTextWritingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_WritingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion::WritingMode(winrt::Windows::Media::Core::TimedTextWritingMode const& value) const + template auto consume_Windows_Media_Core_ITimedTextRegion::WritingMode(winrt::Windows::Media::Core::TimedTextWritingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_WritingMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextDisplayAlignment) consume_Windows_Media_Core_ITimedTextRegion::DisplayAlignment() const + template auto consume_Windows_Media_Core_ITimedTextRegion::DisplayAlignment() const { winrt::Windows::Media::Core::TimedTextDisplayAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_DisplayAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion::DisplayAlignment(winrt::Windows::Media::Core::TimedTextDisplayAlignment const& value) const + template auto consume_Windows_Media_Core_ITimedTextRegion::DisplayAlignment(winrt::Windows::Media::Core::TimedTextDisplayAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_DisplayAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextDouble) consume_Windows_Media_Core_ITimedTextRegion::LineHeight() const + template auto consume_Windows_Media_Core_ITimedTextRegion::LineHeight() const { winrt::Windows::Media::Core::TimedTextDouble value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_LineHeight(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion::LineHeight(winrt::Windows::Media::Core::TimedTextDouble const& value) const + template auto consume_Windows_Media_Core_ITimedTextRegion::LineHeight(winrt::Windows::Media::Core::TimedTextDouble const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_LineHeight(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_ITimedTextRegion::IsOverflowClipped() const + template auto consume_Windows_Media_Core_ITimedTextRegion::IsOverflowClipped() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_IsOverflowClipped(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion::IsOverflowClipped(bool value) const + template auto consume_Windows_Media_Core_ITimedTextRegion::IsOverflowClipped(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_IsOverflowClipped(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextPadding) consume_Windows_Media_Core_ITimedTextRegion::Padding() const + template auto consume_Windows_Media_Core_ITimedTextRegion::Padding() const { winrt::Windows::Media::Core::TimedTextPadding value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_Padding(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion::Padding(winrt::Windows::Media::Core::TimedTextPadding const& value) const + template auto consume_Windows_Media_Core_ITimedTextRegion::Padding(winrt::Windows::Media::Core::TimedTextPadding const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_Padding(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextWrapping) consume_Windows_Media_Core_ITimedTextRegion::TextWrapping() const + template auto consume_Windows_Media_Core_ITimedTextRegion::TextWrapping() const { winrt::Windows::Media::Core::TimedTextWrapping value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_TextWrapping(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion::TextWrapping(winrt::Windows::Media::Core::TimedTextWrapping const& value) const + template auto consume_Windows_Media_Core_ITimedTextRegion::TextWrapping(winrt::Windows::Media::Core::TimedTextWrapping const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_TextWrapping(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Core_ITimedTextRegion::ZIndex() const + template auto consume_Windows_Media_Core_ITimedTextRegion::ZIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_ZIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion::ZIndex(int32_t value) const + template auto consume_Windows_Media_Core_ITimedTextRegion::ZIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_ZIndex(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextScrollMode) consume_Windows_Media_Core_ITimedTextRegion::ScrollMode() const + template auto consume_Windows_Media_Core_ITimedTextRegion::ScrollMode() const { winrt::Windows::Media::Core::TimedTextScrollMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_ScrollMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion::ScrollMode(winrt::Windows::Media::Core::TimedTextScrollMode const& value) const + template auto consume_Windows_Media_Core_ITimedTextRegion::ScrollMode(winrt::Windows::Media::Core::TimedTextScrollMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_ScrollMode(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ITimedTextRuby::Text() const + template auto consume_Windows_Media_Core_ITimedTextRuby::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRuby::Text(param::hstring const& value) const + template auto consume_Windows_Media_Core_ITimedTextRuby::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyPosition) consume_Windows_Media_Core_ITimedTextRuby::Position() const + template auto consume_Windows_Media_Core_ITimedTextRuby::Position() const { winrt::Windows::Media::Core::TimedTextRubyPosition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->get_Position(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRuby::Position(winrt::Windows::Media::Core::TimedTextRubyPosition const& value) const + template auto consume_Windows_Media_Core_ITimedTextRuby::Position(winrt::Windows::Media::Core::TimedTextRubyPosition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->put_Position(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyAlign) consume_Windows_Media_Core_ITimedTextRuby::Align() const + template auto consume_Windows_Media_Core_ITimedTextRuby::Align() const { winrt::Windows::Media::Core::TimedTextRubyAlign value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->get_Align(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRuby::Align(winrt::Windows::Media::Core::TimedTextRubyAlign const& value) const + template auto consume_Windows_Media_Core_ITimedTextRuby::Align(winrt::Windows::Media::Core::TimedTextRubyAlign const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->put_Align(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyReserve) consume_Windows_Media_Core_ITimedTextRuby::Reserve() const + template auto consume_Windows_Media_Core_ITimedTextRuby::Reserve() const { winrt::Windows::Media::Core::TimedTextRubyReserve value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->get_Reserve(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRuby::Reserve(winrt::Windows::Media::Core::TimedTextRubyReserve const& value) const + template auto consume_Windows_Media_Core_ITimedTextRuby::Reserve(winrt::Windows::Media::Core::TimedTextRubyReserve const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->put_Reserve(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_ITimedTextSource::Resolved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_ITimedTextSource::Resolved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSource)->add_Resolved(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_ITimedTextSource::Resolved_revoker consume_Windows_Media_Core_ITimedTextSource::Resolved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_ITimedTextSource::Resolved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Resolved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextSource::Resolved(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_ITimedTextSource::Resolved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSource)->remove_Resolved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataTrackError) consume_Windows_Media_Core_ITimedTextSourceResolveResultEventArgs::Error() const + template auto consume_Windows_Media_Core_ITimedTextSourceResolveResultEventArgs::Error() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSourceResolveResultEventArgs)->get_Error(&value)); return winrt::Windows::Media::Core::TimedMetadataTrackError{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Core_ITimedTextSourceResolveResultEventArgs::Tracks() const + template auto consume_Windows_Media_Core_ITimedTextSourceResolveResultEventArgs::Tracks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSourceResolveResultEventArgs)->get_Tracks(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) consume_Windows_Media_Core_ITimedTextSourceStatics::CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const + template auto consume_Windows_Media_Core_ITimedTextSourceStatics::CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSourceStatics)->CreateFromStream(*(void**)(&stream), &value)); return winrt::Windows::Media::Core::TimedTextSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) consume_Windows_Media_Core_ITimedTextSourceStatics::CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Media_Core_ITimedTextSourceStatics::CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSourceStatics)->CreateFromUri(*(void**)(&uri), &value)); return winrt::Windows::Media::Core::TimedTextSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) consume_Windows_Media_Core_ITimedTextSourceStatics::CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& defaultLanguage) const + template auto consume_Windows_Media_Core_ITimedTextSourceStatics::CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& defaultLanguage) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSourceStatics)->CreateFromStreamWithLanguage(*(void**)(&stream), *(void**)(&defaultLanguage), &value)); return winrt::Windows::Media::Core::TimedTextSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) consume_Windows_Media_Core_ITimedTextSourceStatics::CreateFromUri(winrt::Windows::Foundation::Uri const& uri, param::hstring const& defaultLanguage) const + template auto consume_Windows_Media_Core_ITimedTextSourceStatics::CreateFromUri(winrt::Windows::Foundation::Uri const& uri, param::hstring const& defaultLanguage) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSourceStatics)->CreateFromUriWithLanguage(*(void**)(&uri), *(void**)(&defaultLanguage), &value)); return winrt::Windows::Media::Core::TimedTextSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) consume_Windows_Media_Core_ITimedTextSourceStatics2::CreateFromStreamWithIndex(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Storage::Streams::IRandomAccessStream const& indexStream) const + template auto consume_Windows_Media_Core_ITimedTextSourceStatics2::CreateFromStreamWithIndex(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Storage::Streams::IRandomAccessStream const& indexStream) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSourceStatics2)->CreateFromStreamWithIndex(*(void**)(&stream), *(void**)(&indexStream), &result)); return winrt::Windows::Media::Core::TimedTextSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) consume_Windows_Media_Core_ITimedTextSourceStatics2::CreateFromUriWithIndex(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Uri const& indexUri) const + template auto consume_Windows_Media_Core_ITimedTextSourceStatics2::CreateFromUriWithIndex(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Uri const& indexUri) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSourceStatics2)->CreateFromUriWithIndex(*(void**)(&uri), *(void**)(&indexUri), &result)); return winrt::Windows::Media::Core::TimedTextSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) consume_Windows_Media_Core_ITimedTextSourceStatics2::CreateFromStreamWithIndex(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Storage::Streams::IRandomAccessStream const& indexStream, param::hstring const& defaultLanguage) const + template auto consume_Windows_Media_Core_ITimedTextSourceStatics2::CreateFromStreamWithIndex(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Storage::Streams::IRandomAccessStream const& indexStream, param::hstring const& defaultLanguage) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSourceStatics2)->CreateFromStreamWithIndexAndLanguage(*(void**)(&stream), *(void**)(&indexStream), *(void**)(&defaultLanguage), &result)); return winrt::Windows::Media::Core::TimedTextSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) consume_Windows_Media_Core_ITimedTextSourceStatics2::CreateFromUriWithIndex(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Uri const& indexUri, param::hstring const& defaultLanguage) const + template auto consume_Windows_Media_Core_ITimedTextSourceStatics2::CreateFromUriWithIndex(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Uri const& indexUri, param::hstring const& defaultLanguage) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSourceStatics2)->CreateFromUriWithIndexAndLanguage(*(void**)(&uri), *(void**)(&indexUri), *(void**)(&defaultLanguage), &result)); return winrt::Windows::Media::Core::TimedTextSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ITimedTextStyle::Name() const + template auto consume_Windows_Media_Core_ITimedTextStyle::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle::Name(param::hstring const& value) const + template auto consume_Windows_Media_Core_ITimedTextStyle::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ITimedTextStyle::FontFamily() const + template auto consume_Windows_Media_Core_ITimedTextStyle::FontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->get_FontFamily(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle::FontFamily(param::hstring const& value) const + template auto consume_Windows_Media_Core_ITimedTextStyle::FontFamily(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_FontFamily(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextDouble) consume_Windows_Media_Core_ITimedTextStyle::FontSize() const + template auto consume_Windows_Media_Core_ITimedTextStyle::FontSize() const { winrt::Windows::Media::Core::TimedTextDouble value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->get_FontSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle::FontSize(winrt::Windows::Media::Core::TimedTextDouble const& value) const + template auto consume_Windows_Media_Core_ITimedTextStyle::FontSize(winrt::Windows::Media::Core::TimedTextDouble const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_FontSize(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextWeight) consume_Windows_Media_Core_ITimedTextStyle::FontWeight() const + template auto consume_Windows_Media_Core_ITimedTextStyle::FontWeight() const { winrt::Windows::Media::Core::TimedTextWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->get_FontWeight(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle::FontWeight(winrt::Windows::Media::Core::TimedTextWeight const& value) const + template auto consume_Windows_Media_Core_ITimedTextStyle::FontWeight(winrt::Windows::Media::Core::TimedTextWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_FontWeight(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_Core_ITimedTextStyle::Foreground() const + template auto consume_Windows_Media_Core_ITimedTextStyle::Foreground() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->get_Foreground(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle::Foreground(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Media_Core_ITimedTextStyle::Foreground(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_Foreground(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_Core_ITimedTextStyle::Background() const + template auto consume_Windows_Media_Core_ITimedTextStyle::Background() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->get_Background(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle::Background(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Media_Core_ITimedTextStyle::Background(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_Background(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_ITimedTextStyle::IsBackgroundAlwaysShown() const + template auto consume_Windows_Media_Core_ITimedTextStyle::IsBackgroundAlwaysShown() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->get_IsBackgroundAlwaysShown(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle::IsBackgroundAlwaysShown(bool value) const + template auto consume_Windows_Media_Core_ITimedTextStyle::IsBackgroundAlwaysShown(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_IsBackgroundAlwaysShown(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextFlowDirection) consume_Windows_Media_Core_ITimedTextStyle::FlowDirection() const + template auto consume_Windows_Media_Core_ITimedTextStyle::FlowDirection() const { winrt::Windows::Media::Core::TimedTextFlowDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->get_FlowDirection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle::FlowDirection(winrt::Windows::Media::Core::TimedTextFlowDirection const& value) const + template auto consume_Windows_Media_Core_ITimedTextStyle::FlowDirection(winrt::Windows::Media::Core::TimedTextFlowDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_FlowDirection(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextLineAlignment) consume_Windows_Media_Core_ITimedTextStyle::LineAlignment() const + template auto consume_Windows_Media_Core_ITimedTextStyle::LineAlignment() const { winrt::Windows::Media::Core::TimedTextLineAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->get_LineAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle::LineAlignment(winrt::Windows::Media::Core::TimedTextLineAlignment const& value) const + template auto consume_Windows_Media_Core_ITimedTextStyle::LineAlignment(winrt::Windows::Media::Core::TimedTextLineAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_LineAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_Core_ITimedTextStyle::OutlineColor() const + template auto consume_Windows_Media_Core_ITimedTextStyle::OutlineColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->get_OutlineColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle::OutlineColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Media_Core_ITimedTextStyle::OutlineColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_OutlineColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextDouble) consume_Windows_Media_Core_ITimedTextStyle::OutlineThickness() const + template auto consume_Windows_Media_Core_ITimedTextStyle::OutlineThickness() const { winrt::Windows::Media::Core::TimedTextDouble value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->get_OutlineThickness(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle::OutlineThickness(winrt::Windows::Media::Core::TimedTextDouble const& value) const + template auto consume_Windows_Media_Core_ITimedTextStyle::OutlineThickness(winrt::Windows::Media::Core::TimedTextDouble const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_OutlineThickness(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextDouble) consume_Windows_Media_Core_ITimedTextStyle::OutlineRadius() const + template auto consume_Windows_Media_Core_ITimedTextStyle::OutlineRadius() const { winrt::Windows::Media::Core::TimedTextDouble value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->get_OutlineRadius(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle::OutlineRadius(winrt::Windows::Media::Core::TimedTextDouble const& value) const + template auto consume_Windows_Media_Core_ITimedTextStyle::OutlineRadius(winrt::Windows::Media::Core::TimedTextDouble const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_OutlineRadius(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextFontStyle) consume_Windows_Media_Core_ITimedTextStyle2::FontStyle() const + template auto consume_Windows_Media_Core_ITimedTextStyle2::FontStyle() const { winrt::Windows::Media::Core::TimedTextFontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->get_FontStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle2::FontStyle(winrt::Windows::Media::Core::TimedTextFontStyle const& value) const + template auto consume_Windows_Media_Core_ITimedTextStyle2::FontStyle(winrt::Windows::Media::Core::TimedTextFontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->put_FontStyle(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_ITimedTextStyle2::IsUnderlineEnabled() const + template auto consume_Windows_Media_Core_ITimedTextStyle2::IsUnderlineEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->get_IsUnderlineEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle2::IsUnderlineEnabled(bool value) const + template auto consume_Windows_Media_Core_ITimedTextStyle2::IsUnderlineEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->put_IsUnderlineEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_ITimedTextStyle2::IsLineThroughEnabled() const + template auto consume_Windows_Media_Core_ITimedTextStyle2::IsLineThroughEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->get_IsLineThroughEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle2::IsLineThroughEnabled(bool value) const + template auto consume_Windows_Media_Core_ITimedTextStyle2::IsLineThroughEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->put_IsLineThroughEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_ITimedTextStyle2::IsOverlineEnabled() const + template auto consume_Windows_Media_Core_ITimedTextStyle2::IsOverlineEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->get_IsOverlineEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle2::IsOverlineEnabled(bool value) const + template auto consume_Windows_Media_Core_ITimedTextStyle2::IsOverlineEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->put_IsOverlineEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRuby) consume_Windows_Media_Core_ITimedTextStyle3::Ruby() const + template auto consume_Windows_Media_Core_ITimedTextStyle3::Ruby() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->get_Ruby(&value)); return winrt::Windows::Media::Core::TimedTextRuby{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBouten) consume_Windows_Media_Core_ITimedTextStyle3::Bouten() const + template auto consume_Windows_Media_Core_ITimedTextStyle3::Bouten() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->get_Bouten(&value)); return winrt::Windows::Media::Core::TimedTextBouten{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_ITimedTextStyle3::IsTextCombined() const + template auto consume_Windows_Media_Core_ITimedTextStyle3::IsTextCombined() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->get_IsTextCombined(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle3::IsTextCombined(bool value) const + template auto consume_Windows_Media_Core_ITimedTextStyle3::IsTextCombined(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->put_IsTextCombined(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Core_ITimedTextStyle3::FontAngleInDegrees() const + template auto consume_Windows_Media_Core_ITimedTextStyle3::FontAngleInDegrees() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->get_FontAngleInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle3::FontAngleInDegrees(double value) const + template auto consume_Windows_Media_Core_ITimedTextStyle3::FontAngleInDegrees(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->put_FontAngleInDegrees(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Core_ITimedTextSubformat::StartIndex() const + template auto consume_Windows_Media_Core_ITimedTextSubformat::StartIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSubformat)->get_StartIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextSubformat::StartIndex(int32_t value) const + template auto consume_Windows_Media_Core_ITimedTextSubformat::StartIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSubformat)->put_StartIndex(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Core_ITimedTextSubformat::Length() const + template auto consume_Windows_Media_Core_ITimedTextSubformat::Length() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSubformat)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextSubformat::Length(int32_t value) const + template auto consume_Windows_Media_Core_ITimedTextSubformat::Length(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSubformat)->put_Length(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextStyle) consume_Windows_Media_Core_ITimedTextSubformat::SubformatStyle() const + template auto consume_Windows_Media_Core_ITimedTextSubformat::SubformatStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSubformat)->get_SubformatStyle(&value)); return winrt::Windows::Media::Core::TimedTextStyle{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextSubformat::SubformatStyle(winrt::Windows::Media::Core::TimedTextStyle const& value) const + template auto consume_Windows_Media_Core_ITimedTextSubformat::SubformatStyle(winrt::Windows::Media::Core::TimedTextStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSubformat)->put_SubformatStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IVideoStabilizationEffect::Enabled(bool value) const + template auto consume_Windows_Media_Core_IVideoStabilizationEffect::Enabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoStabilizationEffect)->put_Enabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IVideoStabilizationEffect::Enabled() const + template auto consume_Windows_Media_Core_IVideoStabilizationEffect::Enabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoStabilizationEffect)->get_Enabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IVideoStabilizationEffect::EnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IVideoStabilizationEffect::EnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoStabilizationEffect)->add_EnabledChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_Core_IVideoStabilizationEffect::EnabledChanged_revoker consume_Windows_Media_Core_IVideoStabilizationEffect::EnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IVideoStabilizationEffect::EnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnabledChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IVideoStabilizationEffect::EnabledChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_Core_IVideoStabilizationEffect::EnabledChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoStabilizationEffect)->remove_EnabledChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::VideoStreamConfiguration) consume_Windows_Media_Core_IVideoStabilizationEffect::GetRecommendedStreamConfiguration(winrt::Windows::Media::Devices::VideoDeviceController const& controller, winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& desiredProperties) const + template auto consume_Windows_Media_Core_IVideoStabilizationEffect::GetRecommendedStreamConfiguration(winrt::Windows::Media::Devices::VideoDeviceController const& controller, winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& desiredProperties) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoStabilizationEffect)->GetRecommendedStreamConfiguration(*(void**)(&controller), *(void**)(&desiredProperties), &value)); return winrt::Windows::Media::Capture::VideoStreamConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::VideoStabilizationEffectEnabledChangedReason) consume_Windows_Media_Core_IVideoStabilizationEffectEnabledChangedEventArgs::Reason() const + template auto consume_Windows_Media_Core_IVideoStabilizationEffectEnabledChangedEventArgs::Reason() const { winrt::Windows::Media::Core::VideoStabilizationEffectEnabledChangedReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoStabilizationEffectEnabledChangedEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_Core_IVideoStreamDescriptor::EncodingProperties() const + template auto consume_Windows_Media_Core_IVideoStreamDescriptor::EncodingProperties() const { void* encodingProperties{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoStreamDescriptor)->get_EncodingProperties(&encodingProperties)); return winrt::Windows::Media::MediaProperties::VideoEncodingProperties{ encodingProperties, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::VideoStreamDescriptor) consume_Windows_Media_Core_IVideoStreamDescriptor2::Copy() const + template auto consume_Windows_Media_Core_IVideoStreamDescriptor2::Copy() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoStreamDescriptor2)->Copy(&result)); return winrt::Windows::Media::Core::VideoStreamDescriptor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::VideoStreamDescriptor) consume_Windows_Media_Core_IVideoStreamDescriptorFactory::Create(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& encodingProperties) const + template auto consume_Windows_Media_Core_IVideoStreamDescriptorFactory::Create(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& encodingProperties) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoStreamDescriptorFactory)->Create(*(void**)(&encodingProperties), &result)); return winrt::Windows::Media::Core::VideoStreamDescriptor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IVideoTrack::OpenFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IVideoTrack::OpenFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoTrack)->add_OpenFailed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Core_IVideoTrack::OpenFailed_revoker consume_Windows_Media_Core_IVideoTrack::OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Core_IVideoTrack::OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, OpenFailed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IVideoTrack::OpenFailed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Core_IVideoTrack::OpenFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoTrack)->remove_OpenFailed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_Core_IVideoTrack::GetEncodingProperties() const + template auto consume_Windows_Media_Core_IVideoTrack::GetEncodingProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoTrack)->GetEncodingProperties(&value)); return winrt::Windows::Media::MediaProperties::VideoEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Core_IVideoTrack::PlaybackItem() const + template auto consume_Windows_Media_Core_IVideoTrack::PlaybackItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoTrack)->get_PlaybackItem(&value)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IVideoTrack::Name() const + template auto consume_Windows_Media_Core_IVideoTrack::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoTrack)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::VideoTrackSupportInfo) consume_Windows_Media_Core_IVideoTrack::SupportInfo() const + template auto consume_Windows_Media_Core_IVideoTrack::SupportInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoTrack)->get_SupportInfo(&value)); return winrt::Windows::Media::Core::VideoTrackSupportInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Core_IVideoTrackOpenFailedEventArgs::ExtendedError() const + template auto consume_Windows_Media_Core_IVideoTrackOpenFailedEventArgs::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoTrackOpenFailedEventArgs)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaDecoderStatus) consume_Windows_Media_Core_IVideoTrackSupportInfo::DecoderStatus() const + template auto consume_Windows_Media_Core_IVideoTrackSupportInfo::DecoderStatus() const { winrt::Windows::Media::Core::MediaDecoderStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoTrackSupportInfo)->get_DecoderStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceStatus) consume_Windows_Media_Core_IVideoTrackSupportInfo::MediaSourceStatus() const + template auto consume_Windows_Media_Core_IVideoTrackSupportInfo::MediaSourceStatus() const { winrt::Windows::Media::Core::MediaSourceStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoTrackSupportInfo)->get_MediaSourceStatus(reinterpret_cast(&value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Devices.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Devices.Core.h index 2ab8878f..f9bf7d7a 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Devices.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Devices.Core.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Devices_Core_H #define WINRT_Windows_Media_Devices_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.Devices.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,445 +15,445 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Devices.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_Media_Devices_Core_ICameraIntrinsics::FocalLength() const + template auto consume_Windows_Media_Devices_Core_ICameraIntrinsics::FocalLength() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics)->get_FocalLength(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_Media_Devices_Core_ICameraIntrinsics::PrincipalPoint() const + template auto consume_Windows_Media_Devices_Core_ICameraIntrinsics::PrincipalPoint() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics)->get_PrincipalPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Media_Devices_Core_ICameraIntrinsics::RadialDistortion() const + template auto consume_Windows_Media_Devices_Core_ICameraIntrinsics::RadialDistortion() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics)->get_RadialDistortion(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_Media_Devices_Core_ICameraIntrinsics::TangentialDistortion() const + template auto consume_Windows_Media_Devices_Core_ICameraIntrinsics::TangentialDistortion() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics)->get_TangentialDistortion(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_Core_ICameraIntrinsics::ImageWidth() const + template auto consume_Windows_Media_Devices_Core_ICameraIntrinsics::ImageWidth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics)->get_ImageWidth(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_Core_ICameraIntrinsics::ImageHeight() const + template auto consume_Windows_Media_Devices_Core_ICameraIntrinsics::ImageHeight() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics)->get_ImageHeight(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Media_Devices_Core_ICameraIntrinsics::ProjectOntoFrame(winrt::Windows::Foundation::Numerics::float3 const& coordinate) const + template auto consume_Windows_Media_Devices_Core_ICameraIntrinsics::ProjectOntoFrame(winrt::Windows::Foundation::Numerics::float3 const& coordinate) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics)->ProjectOntoFrame(impl::bind_in(coordinate), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_Media_Devices_Core_ICameraIntrinsics::UnprojectAtUnitDepth(winrt::Windows::Foundation::Point const& pixelCoordinate) const + template auto consume_Windows_Media_Devices_Core_ICameraIntrinsics::UnprojectAtUnitDepth(winrt::Windows::Foundation::Point const& pixelCoordinate) const { winrt::Windows::Foundation::Numerics::float2 result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics)->UnprojectAtUnitDepth(impl::bind_in(pixelCoordinate), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_ICameraIntrinsics::ProjectManyOntoFrame(array_view coordinates, array_view results) const + template auto consume_Windows_Media_Devices_Core_ICameraIntrinsics::ProjectManyOntoFrame(array_view coordinates, array_view results) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics)->ProjectManyOntoFrame(coordinates.size(), get_abi(coordinates), results.size(), put_abi(results))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_ICameraIntrinsics::UnprojectPixelsAtUnitDepth(array_view pixelCoordinates, array_view results) const + template auto consume_Windows_Media_Devices_Core_ICameraIntrinsics::UnprojectPixelsAtUnitDepth(array_view pixelCoordinates, array_view results) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics)->UnprojectPixelsAtUnitDepth(pixelCoordinates.size(), get_abi(pixelCoordinates), results.size(), put_abi(results))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) consume_Windows_Media_Devices_Core_ICameraIntrinsics2::UndistortedProjectionTransform() const + template auto consume_Windows_Media_Devices_Core_ICameraIntrinsics2::UndistortedProjectionTransform() const { winrt::Windows::Foundation::Numerics::float4x4 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics2)->get_UndistortedProjectionTransform(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Media_Devices_Core_ICameraIntrinsics2::DistortPoint(winrt::Windows::Foundation::Point const& input) const + template auto consume_Windows_Media_Devices_Core_ICameraIntrinsics2::DistortPoint(winrt::Windows::Foundation::Point const& input) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics2)->DistortPoint(impl::bind_in(input), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_ICameraIntrinsics2::DistortPoints(array_view inputs, array_view results) const + template auto consume_Windows_Media_Devices_Core_ICameraIntrinsics2::DistortPoints(array_view inputs, array_view results) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics2)->DistortPoints(inputs.size(), get_abi(inputs), results.size(), put_abi(results))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Media_Devices_Core_ICameraIntrinsics2::UndistortPoint(winrt::Windows::Foundation::Point const& input) const + template auto consume_Windows_Media_Devices_Core_ICameraIntrinsics2::UndistortPoint(winrt::Windows::Foundation::Point const& input) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics2)->UndistortPoint(impl::bind_in(input), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_ICameraIntrinsics2::UndistortPoints(array_view inputs, array_view results) const + template auto consume_Windows_Media_Devices_Core_ICameraIntrinsics2::UndistortPoints(array_view inputs, array_view results) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics2)->UndistortPoints(inputs.size(), get_abi(inputs), results.size(), put_abi(results))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) consume_Windows_Media_Devices_Core_ICameraIntrinsicsFactory::Create(winrt::Windows::Foundation::Numerics::float2 const& focalLength, winrt::Windows::Foundation::Numerics::float2 const& principalPoint, winrt::Windows::Foundation::Numerics::float3 const& radialDistortion, winrt::Windows::Foundation::Numerics::float2 const& tangentialDistortion, uint32_t imageWidth, uint32_t imageHeight) const + template auto consume_Windows_Media_Devices_Core_ICameraIntrinsicsFactory::Create(winrt::Windows::Foundation::Numerics::float2 const& focalLength, winrt::Windows::Foundation::Numerics::float2 const& principalPoint, winrt::Windows::Foundation::Numerics::float3 const& radialDistortion, winrt::Windows::Foundation::Numerics::float2 const& tangentialDistortion, uint32_t imageWidth, uint32_t imageHeight) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsicsFactory)->Create(impl::bind_in(focalLength), impl::bind_in(principalPoint), impl::bind_in(radialDistortion), impl::bind_in(tangentialDistortion), imageWidth, imageHeight, &result)); return winrt::Windows::Media::Devices::Core::CameraIntrinsics{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper::UnprojectPoint(winrt::Windows::Foundation::Point const& sourcePoint, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem) const + template auto consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper::UnprojectPoint(winrt::Windows::Foundation::Point const& sourcePoint, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem) const { winrt::Windows::Foundation::Numerics::float3 result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IDepthCorrelatedCoordinateMapper)->UnprojectPoint(impl::bind_in(sourcePoint), *(void**)(&targetCoordinateSystem), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper::UnprojectPoints(array_view sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, array_view results) const + template auto consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper::UnprojectPoints(array_view sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, array_view results) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IDepthCorrelatedCoordinateMapper)->UnprojectPoints(sourcePoints.size(), get_abi(sourcePoints), *(void**)(&targetCoordinateSystem), results.size(), put_abi(results))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper::MapPoint(winrt::Windows::Foundation::Point const& sourcePoint, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, winrt::Windows::Media::Devices::Core::CameraIntrinsics const& targetCameraIntrinsics) const + template auto consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper::MapPoint(winrt::Windows::Foundation::Point const& sourcePoint, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, winrt::Windows::Media::Devices::Core::CameraIntrinsics const& targetCameraIntrinsics) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IDepthCorrelatedCoordinateMapper)->MapPoint(impl::bind_in(sourcePoint), *(void**)(&targetCoordinateSystem), *(void**)(&targetCameraIntrinsics), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper::MapPoints(array_view sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, winrt::Windows::Media::Devices::Core::CameraIntrinsics const& targetCameraIntrinsics, array_view results) const + template auto consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper::MapPoints(array_view sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, winrt::Windows::Media::Devices::Core::CameraIntrinsics const& targetCameraIntrinsics, array_view results) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IDepthCorrelatedCoordinateMapper)->MapPoints(sourcePoints.size(), get_abi(sourcePoints), *(void**)(&targetCoordinateSystem), *(void**)(&targetCameraIntrinsics), results.size(), put_abi(results))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameExposureCapabilities) consume_Windows_Media_Devices_Core_IFrameControlCapabilities::Exposure() const + template auto consume_Windows_Media_Devices_Core_IFrameControlCapabilities::Exposure() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameControlCapabilities)->get_Exposure(&value)); return winrt::Windows::Media::Devices::Core::FrameExposureCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameExposureCompensationCapabilities) consume_Windows_Media_Devices_Core_IFrameControlCapabilities::ExposureCompensation() const + template auto consume_Windows_Media_Devices_Core_IFrameControlCapabilities::ExposureCompensation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameControlCapabilities)->get_ExposureCompensation(&value)); return winrt::Windows::Media::Devices::Core::FrameExposureCompensationCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameIsoSpeedCapabilities) consume_Windows_Media_Devices_Core_IFrameControlCapabilities::IsoSpeed() const + template auto consume_Windows_Media_Devices_Core_IFrameControlCapabilities::IsoSpeed() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameControlCapabilities)->get_IsoSpeed(&value)); return winrt::Windows::Media::Devices::Core::FrameIsoSpeedCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameFocusCapabilities) consume_Windows_Media_Devices_Core_IFrameControlCapabilities::Focus() const + template auto consume_Windows_Media_Devices_Core_IFrameControlCapabilities::Focus() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameControlCapabilities)->get_Focus(&value)); return winrt::Windows::Media::Devices::Core::FrameFocusCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameControlCapabilities::PhotoConfirmationSupported() const + template auto consume_Windows_Media_Devices_Core_IFrameControlCapabilities::PhotoConfirmationSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameControlCapabilities)->get_PhotoConfirmationSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameFlashCapabilities) consume_Windows_Media_Devices_Core_IFrameControlCapabilities2::Flash() const + template auto consume_Windows_Media_Devices_Core_IFrameControlCapabilities2::Flash() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameControlCapabilities2)->get_Flash(&value)); return winrt::Windows::Media::Devices::Core::FrameFlashCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameExposureControl) consume_Windows_Media_Devices_Core_IFrameController::ExposureControl() const + template auto consume_Windows_Media_Devices_Core_IFrameController::ExposureControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameController)->get_ExposureControl(&value)); return winrt::Windows::Media::Devices::Core::FrameExposureControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameExposureCompensationControl) consume_Windows_Media_Devices_Core_IFrameController::ExposureCompensationControl() const + template auto consume_Windows_Media_Devices_Core_IFrameController::ExposureCompensationControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameController)->get_ExposureCompensationControl(&value)); return winrt::Windows::Media::Devices::Core::FrameExposureCompensationControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameIsoSpeedControl) consume_Windows_Media_Devices_Core_IFrameController::IsoSpeedControl() const + template auto consume_Windows_Media_Devices_Core_IFrameController::IsoSpeedControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameController)->get_IsoSpeedControl(&value)); return winrt::Windows::Media::Devices::Core::FrameIsoSpeedControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameFocusControl) consume_Windows_Media_Devices_Core_IFrameController::FocusControl() const + template auto consume_Windows_Media_Devices_Core_IFrameController::FocusControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameController)->get_FocusControl(&value)); return winrt::Windows::Media::Devices::Core::FrameFocusControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Devices_Core_IFrameController::PhotoConfirmationEnabled() const + template auto consume_Windows_Media_Devices_Core_IFrameController::PhotoConfirmationEnabled() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameController)->get_PhotoConfirmationEnabled(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameController::PhotoConfirmationEnabled(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Devices_Core_IFrameController::PhotoConfirmationEnabled(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameController)->put_PhotoConfirmationEnabled(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameFlashControl) consume_Windows_Media_Devices_Core_IFrameController2::FlashControl() const + template auto consume_Windows_Media_Devices_Core_IFrameController2::FlashControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameController2)->get_FlashControl(&value)); return winrt::Windows::Media::Devices::Core::FrameFlashControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameExposureCapabilities::Supported() const + template auto consume_Windows_Media_Devices_Core_IFrameExposureCapabilities::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCapabilities)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Devices_Core_IFrameExposureCapabilities::Min() const + template auto consume_Windows_Media_Devices_Core_IFrameExposureCapabilities::Min() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCapabilities)->get_Min(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Devices_Core_IFrameExposureCapabilities::Max() const + template auto consume_Windows_Media_Devices_Core_IFrameExposureCapabilities::Max() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCapabilities)->get_Max(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Devices_Core_IFrameExposureCapabilities::Step() const + template auto consume_Windows_Media_Devices_Core_IFrameExposureCapabilities::Step() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCapabilities)->get_Step(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities::Supported() const + template auto consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCompensationCapabilities)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities::Min() const + template auto consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities::Min() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCompensationCapabilities)->get_Min(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities::Max() const + template auto consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities::Max() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCompensationCapabilities)->get_Max(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities::Step() const + template auto consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities::Step() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCompensationCapabilities)->get_Step(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Devices_Core_IFrameExposureCompensationControl::Value() const + template auto consume_Windows_Media_Devices_Core_IFrameExposureCompensationControl::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCompensationControl)->get_Value(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameExposureCompensationControl::Value(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Devices_Core_IFrameExposureCompensationControl::Value(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCompensationControl)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameExposureControl::Auto() const + template auto consume_Windows_Media_Devices_Core_IFrameExposureControl::Auto() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureControl)->get_Auto(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameExposureControl::Auto(bool value) const + template auto consume_Windows_Media_Devices_Core_IFrameExposureControl::Auto(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureControl)->put_Auto(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Devices_Core_IFrameExposureControl::Value() const + template auto consume_Windows_Media_Devices_Core_IFrameExposureControl::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureControl)->get_Value(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameExposureControl::Value(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Devices_Core_IFrameExposureControl::Value(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureControl)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameFlashCapabilities::Supported() const + template auto consume_Windows_Media_Devices_Core_IFrameFlashCapabilities::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashCapabilities)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameFlashCapabilities::RedEyeReductionSupported() const + template auto consume_Windows_Media_Devices_Core_IFrameFlashCapabilities::RedEyeReductionSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashCapabilities)->get_RedEyeReductionSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameFlashCapabilities::PowerSupported() const + template auto consume_Windows_Media_Devices_Core_IFrameFlashCapabilities::PowerSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashCapabilities)->get_PowerSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameFlashMode) consume_Windows_Media_Devices_Core_IFrameFlashControl::Mode() const + template auto consume_Windows_Media_Devices_Core_IFrameFlashControl::Mode() const { winrt::Windows::Media::Devices::Core::FrameFlashMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashControl)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameFlashControl::Mode(winrt::Windows::Media::Devices::Core::FrameFlashMode const& value) const + template auto consume_Windows_Media_Devices_Core_IFrameFlashControl::Mode(winrt::Windows::Media::Devices::Core::FrameFlashMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashControl)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameFlashControl::Auto() const + template auto consume_Windows_Media_Devices_Core_IFrameFlashControl::Auto() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashControl)->get_Auto(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameFlashControl::Auto(bool value) const + template auto consume_Windows_Media_Devices_Core_IFrameFlashControl::Auto(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashControl)->put_Auto(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameFlashControl::RedEyeReduction() const + template auto consume_Windows_Media_Devices_Core_IFrameFlashControl::RedEyeReduction() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashControl)->get_RedEyeReduction(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameFlashControl::RedEyeReduction(bool value) const + template auto consume_Windows_Media_Devices_Core_IFrameFlashControl::RedEyeReduction(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashControl)->put_RedEyeReduction(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_Core_IFrameFlashControl::PowerPercent() const + template auto consume_Windows_Media_Devices_Core_IFrameFlashControl::PowerPercent() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashControl)->get_PowerPercent(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameFlashControl::PowerPercent(float value) const + template auto consume_Windows_Media_Devices_Core_IFrameFlashControl::PowerPercent(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashControl)->put_PowerPercent(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameFocusCapabilities::Supported() const + template auto consume_Windows_Media_Devices_Core_IFrameFocusCapabilities::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFocusCapabilities)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_Core_IFrameFocusCapabilities::Min() const + template auto consume_Windows_Media_Devices_Core_IFrameFocusCapabilities::Min() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFocusCapabilities)->get_Min(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_Core_IFrameFocusCapabilities::Max() const + template auto consume_Windows_Media_Devices_Core_IFrameFocusCapabilities::Max() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFocusCapabilities)->get_Max(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_Core_IFrameFocusCapabilities::Step() const + template auto consume_Windows_Media_Devices_Core_IFrameFocusCapabilities::Step() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFocusCapabilities)->get_Step(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Devices_Core_IFrameFocusControl::Value() const + template auto consume_Windows_Media_Devices_Core_IFrameFocusControl::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFocusControl)->get_Value(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameFocusControl::Value(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Devices_Core_IFrameFocusControl::Value(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFocusControl)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities::Supported() const + template auto consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameIsoSpeedCapabilities)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities::Min() const + template auto consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities::Min() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameIsoSpeedCapabilities)->get_Min(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities::Max() const + template auto consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities::Max() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameIsoSpeedCapabilities)->get_Max(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities::Step() const + template auto consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities::Step() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameIsoSpeedCapabilities)->get_Step(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl::Auto() const + template auto consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl::Auto() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameIsoSpeedControl)->get_Auto(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl::Auto(bool value) const + template auto consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl::Auto(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameIsoSpeedControl)->put_Auto(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl::Value() const + template auto consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameIsoSpeedControl)->get_Value(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl::Value(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl::Value(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameIsoSpeedControl)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController::Supported() const + template auto consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController::MaxPhotosPerSecond() const + template auto consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController::MaxPhotosPerSecond() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController)->get_MaxPhotosPerSecond(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController::PhotosPerSecondLimit() const + template auto consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController::PhotosPerSecondLimit() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController)->get_PhotosPerSecondLimit(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController::PhotosPerSecondLimit(float value) const + template auto consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController::PhotosPerSecondLimit(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController)->put_PhotosPerSecondLimit(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController::GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const + template auto consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController::GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController)->GetHighestConcurrentFrameRate(*(void**)(&captureProperties), &value)); return winrt::Windows::Media::MediaProperties::MediaRatio{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController::GetCurrentFrameRate() const + template auto consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController::GetCurrentFrameRate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController)->GetCurrentFrameRate(&value)); return winrt::Windows::Media::MediaProperties::MediaRatio{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameControlCapabilities) consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController::FrameCapabilities() const + template auto consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController::FrameCapabilities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController)->get_FrameCapabilities(&value)); return winrt::Windows::Media::Devices::Core::FrameControlCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController::DesiredFrameControllers() const + template auto consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController::DesiredFrameControllers() const { void* items{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController)->get_DesiredFrameControllers(&items)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Devices.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Devices.h index 502ae31c..6b6fe136 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Devices.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Devices.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Devices_H #define WINRT_Windows_Media_Devices_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -17,1832 +17,1832 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Devices.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AdvancedPhotoMode) consume_Windows_Media_Devices_IAdvancedPhotoCaptureSettings::Mode() const + template auto consume_Windows_Media_Devices_IAdvancedPhotoCaptureSettings::Mode() const { winrt::Windows::Media::Devices::AdvancedPhotoMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedPhotoCaptureSettings)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAdvancedPhotoCaptureSettings::Mode(winrt::Windows::Media::Devices::AdvancedPhotoMode const& value) const + template auto consume_Windows_Media_Devices_IAdvancedPhotoCaptureSettings::Mode(winrt::Windows::Media::Devices::AdvancedPhotoMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedPhotoCaptureSettings)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IAdvancedPhotoControl::Supported() const + template auto consume_Windows_Media_Devices_IAdvancedPhotoControl::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedPhotoControl)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_IAdvancedPhotoControl::SupportedModes() const + template auto consume_Windows_Media_Devices_IAdvancedPhotoControl::SupportedModes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedPhotoControl)->get_SupportedModes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AdvancedPhotoMode) consume_Windows_Media_Devices_IAdvancedPhotoControl::Mode() const + template auto consume_Windows_Media_Devices_IAdvancedPhotoControl::Mode() const { winrt::Windows::Media::Devices::AdvancedPhotoMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedPhotoControl)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAdvancedPhotoControl::Configure(winrt::Windows::Media::Devices::AdvancedPhotoCaptureSettings const& settings) const + template auto consume_Windows_Media_Devices_IAdvancedPhotoControl::Configure(winrt::Windows::Media::Devices::AdvancedPhotoCaptureSettings const& settings) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedPhotoControl)->Configure(*(void**)(&settings))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController::SetDeviceProperty(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController::SetDeviceProperty(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController)->SetDeviceProperty(*(void**)(&propertyId), *(void**)(&propertyValue))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController::GetDeviceProperty(param::hstring const& propertyId) const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController::GetDeviceProperty(param::hstring const& propertyId) const { void* propertyValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController)->GetDeviceProperty(*(void**)(&propertyId), &propertyValue)); return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::LowLagPhotoSequenceControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::LowLagPhotoSequence() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::LowLagPhotoSequence() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2)->get_LowLagPhotoSequence(&value)); return winrt::Windows::Media::Devices::LowLagPhotoSequenceControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::LowLagPhotoControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::LowLagPhoto() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::LowLagPhoto() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2)->get_LowLagPhoto(&value)); return winrt::Windows::Media::Devices::LowLagPhotoControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::SceneModeControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::SceneModeControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::SceneModeControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2)->get_SceneModeControl(&value)); return winrt::Windows::Media::Devices::SceneModeControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::TorchControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::TorchControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::TorchControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2)->get_TorchControl(&value)); return winrt::Windows::Media::Devices::TorchControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::FlashControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::FlashControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::FlashControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2)->get_FlashControl(&value)); return winrt::Windows::Media::Devices::FlashControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::WhiteBalanceControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::WhiteBalanceControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::WhiteBalanceControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2)->get_WhiteBalanceControl(&value)); return winrt::Windows::Media::Devices::WhiteBalanceControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ExposureControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::ExposureControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::ExposureControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2)->get_ExposureControl(&value)); return winrt::Windows::Media::Devices::ExposureControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::FocusControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::FocusControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::FocusControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2)->get_FocusControl(&value)); return winrt::Windows::Media::Devices::FocusControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ExposureCompensationControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::ExposureCompensationControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::ExposureCompensationControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2)->get_ExposureCompensationControl(&value)); return winrt::Windows::Media::Devices::ExposureCompensationControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::IsoSpeedControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::IsoSpeedControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::IsoSpeedControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2)->get_IsoSpeedControl(&value)); return winrt::Windows::Media::Devices::IsoSpeedControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::RegionsOfInterestControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::RegionsOfInterestControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::RegionsOfInterestControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2)->get_RegionsOfInterestControl(&value)); return winrt::Windows::Media::Devices::RegionsOfInterestControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::CaptureUse) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::PrimaryUse() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::PrimaryUse() const { winrt::Windows::Media::Devices::CaptureUse value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2)->get_PrimaryUse(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::PrimaryUse(winrt::Windows::Media::Devices::CaptureUse const& value) const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2::PrimaryUse(winrt::Windows::Media::Devices::CaptureUse const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2)->put_PrimaryUse(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::VariablePhotoSequenceController) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController3::VariablePhotoSequenceController() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController3::VariablePhotoSequenceController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController3)->get_VariablePhotoSequenceController(&value)); return winrt::Windows::Media::Devices::Core::VariablePhotoSequenceController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::PhotoConfirmationControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController3::PhotoConfirmationControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController3::PhotoConfirmationControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController3)->get_PhotoConfirmationControl(&value)); return winrt::Windows::Media::Devices::PhotoConfirmationControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ZoomControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController3::ZoomControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController3::ZoomControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController3)->get_ZoomControl(&value)); return winrt::Windows::Media::Devices::ZoomControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ExposurePriorityVideoControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4::ExposurePriorityVideoControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4::ExposurePriorityVideoControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController4)->get_ExposurePriorityVideoControl(&value)); return winrt::Windows::Media::Devices::ExposurePriorityVideoControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaCaptureOptimization) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4::DesiredOptimization() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4::DesiredOptimization() const { winrt::Windows::Media::Devices::MediaCaptureOptimization value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController4)->get_DesiredOptimization(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4::DesiredOptimization(winrt::Windows::Media::Devices::MediaCaptureOptimization const& value) const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4::DesiredOptimization(winrt::Windows::Media::Devices::MediaCaptureOptimization const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController4)->put_DesiredOptimization(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::HdrVideoControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4::HdrVideoControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4::HdrVideoControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController4)->get_HdrVideoControl(&value)); return winrt::Windows::Media::Devices::HdrVideoControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::OpticalImageStabilizationControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4::OpticalImageStabilizationControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4::OpticalImageStabilizationControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController4)->get_OpticalImageStabilizationControl(&value)); return winrt::Windows::Media::Devices::OpticalImageStabilizationControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AdvancedPhotoControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4::AdvancedPhotoControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4::AdvancedPhotoControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController4)->get_AdvancedPhotoControl(&value)); return winrt::Windows::Media::Devices::AdvancedPhotoControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5::Id() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController5)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceControllerGetDevicePropertyResult) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5::GetDevicePropertyById(param::hstring const& propertyId, winrt::Windows::Foundation::IReference const& maxPropertyValueSize) const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5::GetDevicePropertyById(param::hstring const& propertyId, winrt::Windows::Foundation::IReference const& maxPropertyValueSize) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController5)->GetDevicePropertyById(*(void**)(&propertyId), *(void**)(&maxPropertyValueSize), &value)); return winrt::Windows::Media::Devices::VideoDeviceControllerGetDevicePropertyResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceControllerSetDevicePropertyStatus) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5::SetDevicePropertyById(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5::SetDevicePropertyById(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const { winrt::Windows::Media::Devices::VideoDeviceControllerSetDevicePropertyStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController5)->SetDevicePropertyById(*(void**)(&propertyId), *(void**)(&propertyValue), reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceControllerGetDevicePropertyResult) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5::GetDevicePropertyByExtendedId(array_view extendedPropertyId, winrt::Windows::Foundation::IReference const& maxPropertyValueSize) const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5::GetDevicePropertyByExtendedId(array_view extendedPropertyId, winrt::Windows::Foundation::IReference const& maxPropertyValueSize) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController5)->GetDevicePropertyByExtendedId(extendedPropertyId.size(), get_abi(extendedPropertyId), *(void**)(&maxPropertyValueSize), &value)); return winrt::Windows::Media::Devices::VideoDeviceControllerGetDevicePropertyResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceControllerSetDevicePropertyStatus) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5::SetDevicePropertyByExtendedId(array_view extendedPropertyId, array_view propertyValue) const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5::SetDevicePropertyByExtendedId(array_view extendedPropertyId, array_view propertyValue) const { winrt::Windows::Media::Devices::VideoDeviceControllerSetDevicePropertyStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController5)->SetDevicePropertyByExtendedId(extendedPropertyId.size(), get_abi(extendedPropertyId), propertyValue.size(), get_abi(propertyValue), reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoTemporalDenoisingControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController6::VideoTemporalDenoisingControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController6::VideoTemporalDenoisingControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController6)->get_VideoTemporalDenoisingControl(&value)); return winrt::Windows::Media::Devices::VideoTemporalDenoisingControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::InfraredTorchControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController7::InfraredTorchControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController7::InfraredTorchControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController7)->get_InfraredTorchControl(&value)); return winrt::Windows::Media::Devices::InfraredTorchControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::PanelBasedOptimizationControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController8::PanelBasedOptimizationControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController8::PanelBasedOptimizationControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController8)->get_PanelBasedOptimizationControl(&value)); return winrt::Windows::Media::Devices::PanelBasedOptimizationControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController9::DigitalWindowControl() const + template auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController9::DigitalWindowControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController9)->get_DigitalWindowControl(&value)); return winrt::Windows::Media::Devices::DigitalWindowControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAudioDeviceController::Muted(bool value) const + template auto consume_Windows_Media_Devices_IAudioDeviceController::Muted(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceController)->put_Muted(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IAudioDeviceController::Muted() const + template auto consume_Windows_Media_Devices_IAudioDeviceController::Muted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceController)->get_Muted(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAudioDeviceController::VolumePercent(float value) const + template auto consume_Windows_Media_Devices_IAudioDeviceController::VolumePercent(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceController)->put_VolumePercent(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IAudioDeviceController::VolumePercent() const + template auto consume_Windows_Media_Devices_IAudioDeviceController::VolumePercent() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceController)->get_VolumePercent(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IAudioDeviceModule::ClassId() const + template auto consume_Windows_Media_Devices_IAudioDeviceModule::ClassId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModule)->get_ClassId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IAudioDeviceModule::DisplayName() const + template auto consume_Windows_Media_Devices_IAudioDeviceModule::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModule)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IAudioDeviceModule::InstanceId() const + template auto consume_Windows_Media_Devices_IAudioDeviceModule::InstanceId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModule)->get_InstanceId(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IAudioDeviceModule::MajorVersion() const + template auto consume_Windows_Media_Devices_IAudioDeviceModule::MajorVersion() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModule)->get_MajorVersion(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IAudioDeviceModule::MinorVersion() const + template auto consume_Windows_Media_Devices_IAudioDeviceModule::MinorVersion() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModule)->get_MinorVersion(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Devices_IAudioDeviceModule::SendCommandAsync(winrt::Windows::Storage::Streams::IBuffer const& Command) const + template auto consume_Windows_Media_Devices_IAudioDeviceModule::SendCommandAsync(winrt::Windows::Storage::Streams::IBuffer const& Command) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModule)->SendCommandAsync(*(void**)(&Command), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AudioDeviceModule) consume_Windows_Media_Devices_IAudioDeviceModuleNotificationEventArgs::Module() const + template auto consume_Windows_Media_Devices_IAudioDeviceModuleNotificationEventArgs::Module() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModuleNotificationEventArgs)->get_Module(&value)); return winrt::Windows::Media::Devices::AudioDeviceModule{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Devices_IAudioDeviceModuleNotificationEventArgs::NotificationData() const + template auto consume_Windows_Media_Devices_IAudioDeviceModuleNotificationEventArgs::NotificationData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModuleNotificationEventArgs)->get_NotificationData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_IAudioDeviceModulesManager::ModuleNotificationReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Devices_IAudioDeviceModulesManager::ModuleNotificationReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModulesManager)->add_ModuleNotificationReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Devices_IAudioDeviceModulesManager::ModuleNotificationReceived_revoker consume_Windows_Media_Devices_IAudioDeviceModulesManager::ModuleNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Devices_IAudioDeviceModulesManager::ModuleNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ModuleNotificationReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAudioDeviceModulesManager::ModuleNotificationReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Devices_IAudioDeviceModulesManager::ModuleNotificationReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModulesManager)->remove_ModuleNotificationReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_IAudioDeviceModulesManager::FindAllById(param::hstring const& moduleId) const + template auto consume_Windows_Media_Devices_IAudioDeviceModulesManager::FindAllById(param::hstring const& moduleId) const { void* modules{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModulesManager)->FindAllById(*(void**)(&moduleId), &modules)); return winrt::Windows::Foundation::Collections::IVectorView{ modules, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_IAudioDeviceModulesManager::FindAll() const + template auto consume_Windows_Media_Devices_IAudioDeviceModulesManager::FindAll() const { void* modules{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModulesManager)->FindAll(&modules)); return winrt::Windows::Foundation::Collections::IVectorView{ modules, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AudioDeviceModulesManager) consume_Windows_Media_Devices_IAudioDeviceModulesManagerFactory::Create(param::hstring const& deviceId) const + template auto consume_Windows_Media_Devices_IAudioDeviceModulesManagerFactory::Create(param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModulesManagerFactory)->Create(*(void**)(&deviceId), &result)); return winrt::Windows::Media::Devices::AudioDeviceModulesManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Devices_ICallControl::IndicateNewIncomingCall(bool enableRinger, param::hstring const& callerId) const + template auto consume_Windows_Media_Devices_ICallControl::IndicateNewIncomingCall(bool enableRinger, param::hstring const& callerId) const { uint64_t callToken{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->IndicateNewIncomingCall(enableRinger, *(void**)(&callerId), &callToken)); return callToken; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Devices_ICallControl::IndicateNewOutgoingCall() const + template auto consume_Windows_Media_Devices_ICallControl::IndicateNewOutgoingCall() const { uint64_t callToken{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->IndicateNewOutgoingCall(&callToken)); return callToken; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ICallControl::IndicateActiveCall(uint64_t callToken) const + template auto consume_Windows_Media_Devices_ICallControl::IndicateActiveCall(uint64_t callToken) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->IndicateActiveCall(callToken)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ICallControl::EndCall(uint64_t callToken) const + template auto consume_Windows_Media_Devices_ICallControl::EndCall(uint64_t callToken) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->EndCall(callToken)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_ICallControl::HasRinger() const + template auto consume_Windows_Media_Devices_ICallControl::HasRinger() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->get_HasRinger(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_ICallControl::AnswerRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const + template auto consume_Windows_Media_Devices_ICallControl::AnswerRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->add_AnswerRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Devices_ICallControl::AnswerRequested_revoker consume_Windows_Media_Devices_ICallControl::AnswerRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const + template auto consume_Windows_Media_Devices_ICallControl::AnswerRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const { return impl::make_event_revoker(this, AnswerRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ICallControl::AnswerRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Devices_ICallControl::AnswerRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->remove_AnswerRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_ICallControl::HangUpRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const + template auto consume_Windows_Media_Devices_ICallControl::HangUpRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->add_HangUpRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Devices_ICallControl::HangUpRequested_revoker consume_Windows_Media_Devices_ICallControl::HangUpRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const + template auto consume_Windows_Media_Devices_ICallControl::HangUpRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const { return impl::make_event_revoker(this, HangUpRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ICallControl::HangUpRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Devices_ICallControl::HangUpRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->remove_HangUpRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_ICallControl::DialRequested(winrt::Windows::Media::Devices::DialRequestedEventHandler const& handler) const + template auto consume_Windows_Media_Devices_ICallControl::DialRequested(winrt::Windows::Media::Devices::DialRequestedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->add_DialRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Devices_ICallControl::DialRequested_revoker consume_Windows_Media_Devices_ICallControl::DialRequested(auto_revoke_t, winrt::Windows::Media::Devices::DialRequestedEventHandler const& handler) const + template auto consume_Windows_Media_Devices_ICallControl::DialRequested(auto_revoke_t, winrt::Windows::Media::Devices::DialRequestedEventHandler const& handler) const { return impl::make_event_revoker(this, DialRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ICallControl::DialRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Devices_ICallControl::DialRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->remove_DialRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_ICallControl::RedialRequested(winrt::Windows::Media::Devices::RedialRequestedEventHandler const& handler) const + template auto consume_Windows_Media_Devices_ICallControl::RedialRequested(winrt::Windows::Media::Devices::RedialRequestedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->add_RedialRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Devices_ICallControl::RedialRequested_revoker consume_Windows_Media_Devices_ICallControl::RedialRequested(auto_revoke_t, winrt::Windows::Media::Devices::RedialRequestedEventHandler const& handler) const + template auto consume_Windows_Media_Devices_ICallControl::RedialRequested(auto_revoke_t, winrt::Windows::Media::Devices::RedialRequestedEventHandler const& handler) const { return impl::make_event_revoker(this, RedialRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ICallControl::RedialRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Devices_ICallControl::RedialRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->remove_RedialRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_ICallControl::KeypadPressed(winrt::Windows::Media::Devices::KeypadPressedEventHandler const& handler) const + template auto consume_Windows_Media_Devices_ICallControl::KeypadPressed(winrt::Windows::Media::Devices::KeypadPressedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->add_KeypadPressed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Devices_ICallControl::KeypadPressed_revoker consume_Windows_Media_Devices_ICallControl::KeypadPressed(auto_revoke_t, winrt::Windows::Media::Devices::KeypadPressedEventHandler const& handler) const + template auto consume_Windows_Media_Devices_ICallControl::KeypadPressed(auto_revoke_t, winrt::Windows::Media::Devices::KeypadPressedEventHandler const& handler) const { return impl::make_event_revoker(this, KeypadPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ICallControl::KeypadPressed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Devices_ICallControl::KeypadPressed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->remove_KeypadPressed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_ICallControl::AudioTransferRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const + template auto consume_Windows_Media_Devices_ICallControl::AudioTransferRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->add_AudioTransferRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Devices_ICallControl::AudioTransferRequested_revoker consume_Windows_Media_Devices_ICallControl::AudioTransferRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const + template auto consume_Windows_Media_Devices_ICallControl::AudioTransferRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const { return impl::make_event_revoker(this, AudioTransferRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ICallControl::AudioTransferRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Devices_ICallControl::AudioTransferRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->remove_AudioTransferRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::CallControl) consume_Windows_Media_Devices_ICallControlStatics::GetDefault() const + template auto consume_Windows_Media_Devices_ICallControlStatics::GetDefault() const { void* callControl{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControlStatics)->GetDefault(&callControl)); return winrt::Windows::Media::Devices::CallControl{ callControl, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::CallControl) consume_Windows_Media_Devices_ICallControlStatics::FromId(param::hstring const& deviceId) const + template auto consume_Windows_Media_Devices_ICallControlStatics::FromId(param::hstring const& deviceId) const { void* callControl{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControlStatics)->FromId(*(void**)(&deviceId), &callControl)); return winrt::Windows::Media::Devices::CallControl{ callControl, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IDefaultAudioDeviceChangedEventArgs::Id() const + template auto consume_Windows_Media_Devices_IDefaultAudioDeviceChangedEventArgs::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AudioDeviceRole) consume_Windows_Media_Devices_IDefaultAudioDeviceChangedEventArgs::Role() const + template auto consume_Windows_Media_Devices_IDefaultAudioDeviceChangedEventArgs::Role() const { winrt::Windows::Media::Devices::AudioDeviceRole value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs)->get_Role(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDialRequestedEventArgs::Handled() const + template auto consume_Windows_Media_Devices_IDialRequestedEventArgs::Handled() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDialRequestedEventArgs)->Handled()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Media_Devices_IDialRequestedEventArgs::Contact() const + template auto consume_Windows_Media_Devices_IDialRequestedEventArgs::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDialRequestedEventArgs)->get_Contact(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowBounds::NormalizedOriginTop() const + template auto consume_Windows_Media_Devices_IDigitalWindowBounds::NormalizedOriginTop() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->get_NormalizedOriginTop(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowBounds::NormalizedOriginTop(double value) const + template auto consume_Windows_Media_Devices_IDigitalWindowBounds::NormalizedOriginTop(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->put_NormalizedOriginTop(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowBounds::NormalizedOriginLeft() const + template auto consume_Windows_Media_Devices_IDigitalWindowBounds::NormalizedOriginLeft() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->get_NormalizedOriginLeft(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowBounds::NormalizedOriginLeft(double value) const + template auto consume_Windows_Media_Devices_IDigitalWindowBounds::NormalizedOriginLeft(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->put_NormalizedOriginLeft(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowBounds::Scale() const + template auto consume_Windows_Media_Devices_IDigitalWindowBounds::Scale() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->get_Scale(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowBounds::Scale(double value) const + template auto consume_Windows_Media_Devices_IDigitalWindowBounds::Scale(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->put_Scale(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Devices_IDigitalWindowCapability::Width() const + template auto consume_Windows_Media_Devices_IDigitalWindowCapability::Width() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Devices_IDigitalWindowCapability::Height() const + template auto consume_Windows_Media_Devices_IDigitalWindowCapability::Height() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowCapability::MinScaleValue() const + template auto consume_Windows_Media_Devices_IDigitalWindowCapability::MinScaleValue() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_MinScaleValue(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowCapability::MaxScaleValue() const + template auto consume_Windows_Media_Devices_IDigitalWindowCapability::MaxScaleValue() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_MaxScaleValue(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowCapability::MinScaleValueWithoutUpsampling() const + template auto consume_Windows_Media_Devices_IDigitalWindowCapability::MinScaleValueWithoutUpsampling() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_MinScaleValueWithoutUpsampling(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Media_Devices_IDigitalWindowCapability::NormalizedFieldOfViewLimit() const + template auto consume_Windows_Media_Devices_IDigitalWindowCapability::NormalizedFieldOfViewLimit() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_NormalizedFieldOfViewLimit(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IDigitalWindowControl::IsSupported() const + template auto consume_Windows_Media_Devices_IDigitalWindowControl::IsSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->get_IsSupported(&value)); return value; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Devices_IDigitalWindowControl::SupportedModes() const + template auto consume_Windows_Media_Devices_IDigitalWindowControl::SupportedModes() const { uint32_t value_impl_size{}; int32_t* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->get_SupportedModes(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowMode) consume_Windows_Media_Devices_IDigitalWindowControl::CurrentMode() const + template auto consume_Windows_Media_Devices_IDigitalWindowControl::CurrentMode() const { winrt::Windows::Media::Devices::DigitalWindowMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->get_CurrentMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowBounds) consume_Windows_Media_Devices_IDigitalWindowControl::GetBounds() const + template auto consume_Windows_Media_Devices_IDigitalWindowControl::GetBounds() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->GetBounds(&result)); return winrt::Windows::Media::Devices::DigitalWindowBounds{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowControl::Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode) const + template auto consume_Windows_Media_Devices_IDigitalWindowControl::Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->Configure(static_cast(digitalWindowMode))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowControl::Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode, winrt::Windows::Media::Devices::DigitalWindowBounds const& digitalWindowBounds) const + template auto consume_Windows_Media_Devices_IDigitalWindowControl::Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode, winrt::Windows::Media::Devices::DigitalWindowBounds const& digitalWindowBounds) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->ConfigureWithBounds(static_cast(digitalWindowMode), *(void**)(&digitalWindowBounds))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_IDigitalWindowControl::SupportedCapabilities() const + template auto consume_Windows_Media_Devices_IDigitalWindowControl::SupportedCapabilities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->get_SupportedCapabilities(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowCapability) consume_Windows_Media_Devices_IDigitalWindowControl::GetCapabilityForSize(int32_t width, int32_t height) const + template auto consume_Windows_Media_Devices_IDigitalWindowControl::GetCapabilityForSize(int32_t width, int32_t height) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->GetCapabilityForSize(width, height, &result)); return winrt::Windows::Media::Devices::DigitalWindowCapability{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IExposureCompensationControl::Supported() const + template auto consume_Windows_Media_Devices_IExposureCompensationControl::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureCompensationControl)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IExposureCompensationControl::Min() const + template auto consume_Windows_Media_Devices_IExposureCompensationControl::Min() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureCompensationControl)->get_Min(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IExposureCompensationControl::Max() const + template auto consume_Windows_Media_Devices_IExposureCompensationControl::Max() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureCompensationControl)->get_Max(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IExposureCompensationControl::Step() const + template auto consume_Windows_Media_Devices_IExposureCompensationControl::Step() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureCompensationControl)->get_Step(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IExposureCompensationControl::Value() const + template auto consume_Windows_Media_Devices_IExposureCompensationControl::Value() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureCompensationControl)->get_Value(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IExposureCompensationControl::SetValueAsync(float value) const + template auto consume_Windows_Media_Devices_IExposureCompensationControl::SetValueAsync(float value) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureCompensationControl)->SetValueAsync(value, &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IExposureControl::Supported() const + template auto consume_Windows_Media_Devices_IExposureControl::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureControl)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IExposureControl::Auto() const + template auto consume_Windows_Media_Devices_IExposureControl::Auto() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureControl)->get_Auto(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IExposureControl::SetAutoAsync(bool value) const + template auto consume_Windows_Media_Devices_IExposureControl::SetAutoAsync(bool value) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureControl)->SetAutoAsync(value, &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Devices_IExposureControl::Min() const + template auto consume_Windows_Media_Devices_IExposureControl::Min() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureControl)->get_Min(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Devices_IExposureControl::Max() const + template auto consume_Windows_Media_Devices_IExposureControl::Max() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureControl)->get_Max(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Devices_IExposureControl::Step() const + template auto consume_Windows_Media_Devices_IExposureControl::Step() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureControl)->get_Step(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Devices_IExposureControl::Value() const + template auto consume_Windows_Media_Devices_IExposureControl::Value() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureControl)->get_Value(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IExposureControl::SetValueAsync(winrt::Windows::Foundation::TimeSpan const& shutterDuration) const + template auto consume_Windows_Media_Devices_IExposureControl::SetValueAsync(winrt::Windows::Foundation::TimeSpan const& shutterDuration) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureControl)->SetValueAsync(impl::bind_in(shutterDuration), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IExposurePriorityVideoControl::Supported() const + template auto consume_Windows_Media_Devices_IExposurePriorityVideoControl::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposurePriorityVideoControl)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IExposurePriorityVideoControl::Enabled() const + template auto consume_Windows_Media_Devices_IExposurePriorityVideoControl::Enabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposurePriorityVideoControl)->get_Enabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IExposurePriorityVideoControl::Enabled(bool value) const + template auto consume_Windows_Media_Devices_IExposurePriorityVideoControl::Enabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposurePriorityVideoControl)->put_Enabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFlashControl::Supported() const + template auto consume_Windows_Media_Devices_IFlashControl::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFlashControl::PowerSupported() const + template auto consume_Windows_Media_Devices_IFlashControl::PowerSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->get_PowerSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFlashControl::RedEyeReductionSupported() const + template auto consume_Windows_Media_Devices_IFlashControl::RedEyeReductionSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->get_RedEyeReductionSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFlashControl::Enabled() const + template auto consume_Windows_Media_Devices_IFlashControl::Enabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->get_Enabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFlashControl::Enabled(bool value) const + template auto consume_Windows_Media_Devices_IFlashControl::Enabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->put_Enabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFlashControl::Auto() const + template auto consume_Windows_Media_Devices_IFlashControl::Auto() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->get_Auto(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFlashControl::Auto(bool value) const + template auto consume_Windows_Media_Devices_IFlashControl::Auto(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->put_Auto(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFlashControl::RedEyeReduction() const + template auto consume_Windows_Media_Devices_IFlashControl::RedEyeReduction() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->get_RedEyeReduction(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFlashControl::RedEyeReduction(bool value) const + template auto consume_Windows_Media_Devices_IFlashControl::RedEyeReduction(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->put_RedEyeReduction(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IFlashControl::PowerPercent() const + template auto consume_Windows_Media_Devices_IFlashControl::PowerPercent() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->get_PowerPercent(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFlashControl::PowerPercent(float value) const + template auto consume_Windows_Media_Devices_IFlashControl::PowerPercent(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->put_PowerPercent(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFlashControl2::AssistantLightSupported() const + template auto consume_Windows_Media_Devices_IFlashControl2::AssistantLightSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl2)->get_AssistantLightSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFlashControl2::AssistantLightEnabled() const + template auto consume_Windows_Media_Devices_IFlashControl2::AssistantLightEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl2)->get_AssistantLightEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFlashControl2::AssistantLightEnabled(bool value) const + template auto consume_Windows_Media_Devices_IFlashControl2::AssistantLightEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl2)->put_AssistantLightEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFocusControl::Supported() const + template auto consume_Windows_Media_Devices_IFocusControl::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_IFocusControl::SupportedPresets() const + template auto consume_Windows_Media_Devices_IFocusControl::SupportedPresets() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->get_SupportedPresets(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::FocusPreset) consume_Windows_Media_Devices_IFocusControl::Preset() const + template auto consume_Windows_Media_Devices_IFocusControl::Preset() const { winrt::Windows::Media::Devices::FocusPreset value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->get_Preset(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IFocusControl::SetPresetAsync(winrt::Windows::Media::Devices::FocusPreset const& preset) const + template auto consume_Windows_Media_Devices_IFocusControl::SetPresetAsync(winrt::Windows::Media::Devices::FocusPreset const& preset) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->SetPresetAsync(static_cast(preset), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IFocusControl::SetPresetAsync(winrt::Windows::Media::Devices::FocusPreset const& preset, bool completeBeforeFocus) const + template auto consume_Windows_Media_Devices_IFocusControl::SetPresetAsync(winrt::Windows::Media::Devices::FocusPreset const& preset, bool completeBeforeFocus) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->SetPresetWithCompletionOptionAsync(static_cast(preset), completeBeforeFocus, &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IFocusControl::Min() const + template auto consume_Windows_Media_Devices_IFocusControl::Min() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->get_Min(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IFocusControl::Max() const + template auto consume_Windows_Media_Devices_IFocusControl::Max() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->get_Max(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IFocusControl::Step() const + template auto consume_Windows_Media_Devices_IFocusControl::Step() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->get_Step(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IFocusControl::Value() const + template auto consume_Windows_Media_Devices_IFocusControl::Value() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->get_Value(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IFocusControl::SetValueAsync(uint32_t focus) const + template auto consume_Windows_Media_Devices_IFocusControl::SetValueAsync(uint32_t focus) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->SetValueAsync(focus, &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IFocusControl::FocusAsync() const + template auto consume_Windows_Media_Devices_IFocusControl::FocusAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->FocusAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFocusControl2::FocusChangedSupported() const + template auto consume_Windows_Media_Devices_IFocusControl2::FocusChangedSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->get_FocusChangedSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFocusControl2::WaitForFocusSupported() const + template auto consume_Windows_Media_Devices_IFocusControl2::WaitForFocusSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->get_WaitForFocusSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_IFocusControl2::SupportedFocusModes() const + template auto consume_Windows_Media_Devices_IFocusControl2::SupportedFocusModes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->get_SupportedFocusModes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_IFocusControl2::SupportedFocusDistances() const + template auto consume_Windows_Media_Devices_IFocusControl2::SupportedFocusDistances() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->get_SupportedFocusDistances(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_IFocusControl2::SupportedFocusRanges() const + template auto consume_Windows_Media_Devices_IFocusControl2::SupportedFocusRanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->get_SupportedFocusRanges(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::FocusMode) consume_Windows_Media_Devices_IFocusControl2::Mode() const + template auto consume_Windows_Media_Devices_IFocusControl2::Mode() const { winrt::Windows::Media::Devices::FocusMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaCaptureFocusState) consume_Windows_Media_Devices_IFocusControl2::FocusState() const + template auto consume_Windows_Media_Devices_IFocusControl2::FocusState() const { winrt::Windows::Media::Devices::MediaCaptureFocusState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->get_FocusState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IFocusControl2::UnlockAsync() const + template auto consume_Windows_Media_Devices_IFocusControl2::UnlockAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->UnlockAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IFocusControl2::LockAsync() const + template auto consume_Windows_Media_Devices_IFocusControl2::LockAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->LockAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFocusControl2::Configure(winrt::Windows::Media::Devices::FocusSettings const& settings) const + template auto consume_Windows_Media_Devices_IFocusControl2::Configure(winrt::Windows::Media::Devices::FocusSettings const& settings) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->Configure(*(void**)(&settings))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::FocusMode) consume_Windows_Media_Devices_IFocusSettings::Mode() const + template auto consume_Windows_Media_Devices_IFocusSettings::Mode() const { winrt::Windows::Media::Devices::FocusMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFocusSettings::Mode(winrt::Windows::Media::Devices::FocusMode const& value) const + template auto consume_Windows_Media_Devices_IFocusSettings::Mode(winrt::Windows::Media::Devices::FocusMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AutoFocusRange) consume_Windows_Media_Devices_IFocusSettings::AutoFocusRange() const + template auto consume_Windows_Media_Devices_IFocusSettings::AutoFocusRange() const { winrt::Windows::Media::Devices::AutoFocusRange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->get_AutoFocusRange(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFocusSettings::AutoFocusRange(winrt::Windows::Media::Devices::AutoFocusRange const& value) const + template auto consume_Windows_Media_Devices_IFocusSettings::AutoFocusRange(winrt::Windows::Media::Devices::AutoFocusRange const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->put_AutoFocusRange(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Devices_IFocusSettings::Value() const + template auto consume_Windows_Media_Devices_IFocusSettings::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->get_Value(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFocusSettings::Value(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Devices_IFocusSettings::Value(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Devices_IFocusSettings::Distance() const + template auto consume_Windows_Media_Devices_IFocusSettings::Distance() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->get_Distance(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFocusSettings::Distance(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Devices_IFocusSettings::Distance(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->put_Distance(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFocusSettings::WaitForFocus() const + template auto consume_Windows_Media_Devices_IFocusSettings::WaitForFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->get_WaitForFocus(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFocusSettings::WaitForFocus(bool value) const + template auto consume_Windows_Media_Devices_IFocusSettings::WaitForFocus(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->put_WaitForFocus(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFocusSettings::DisableDriverFallback() const + template auto consume_Windows_Media_Devices_IFocusSettings::DisableDriverFallback() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->get_DisableDriverFallback(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFocusSettings::DisableDriverFallback(bool value) const + template auto consume_Windows_Media_Devices_IFocusSettings::DisableDriverFallback(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->put_DisableDriverFallback(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IHdrVideoControl::Supported() const + template auto consume_Windows_Media_Devices_IHdrVideoControl::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IHdrVideoControl)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_IHdrVideoControl::SupportedModes() const + template auto consume_Windows_Media_Devices_IHdrVideoControl::SupportedModes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IHdrVideoControl)->get_SupportedModes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::HdrVideoMode) consume_Windows_Media_Devices_IHdrVideoControl::Mode() const + template auto consume_Windows_Media_Devices_IHdrVideoControl::Mode() const { winrt::Windows::Media::Devices::HdrVideoMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IHdrVideoControl)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IHdrVideoControl::Mode(winrt::Windows::Media::Devices::HdrVideoMode const& value) const + template auto consume_Windows_Media_Devices_IHdrVideoControl::Mode(winrt::Windows::Media::Devices::HdrVideoMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IHdrVideoControl)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IInfraredTorchControl::IsSupported() const + template auto consume_Windows_Media_Devices_IInfraredTorchControl::IsSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->get_IsSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_IInfraredTorchControl::SupportedModes() const + template auto consume_Windows_Media_Devices_IInfraredTorchControl::SupportedModes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->get_SupportedModes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::InfraredTorchMode) consume_Windows_Media_Devices_IInfraredTorchControl::CurrentMode() const + template auto consume_Windows_Media_Devices_IInfraredTorchControl::CurrentMode() const { winrt::Windows::Media::Devices::InfraredTorchMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->get_CurrentMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IInfraredTorchControl::CurrentMode(winrt::Windows::Media::Devices::InfraredTorchMode const& value) const + template auto consume_Windows_Media_Devices_IInfraredTorchControl::CurrentMode(winrt::Windows::Media::Devices::InfraredTorchMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->put_CurrentMode(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Devices_IInfraredTorchControl::MinPower() const + template auto consume_Windows_Media_Devices_IInfraredTorchControl::MinPower() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->get_MinPower(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Devices_IInfraredTorchControl::MaxPower() const + template auto consume_Windows_Media_Devices_IInfraredTorchControl::MaxPower() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->get_MaxPower(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Devices_IInfraredTorchControl::PowerStep() const + template auto consume_Windows_Media_Devices_IInfraredTorchControl::PowerStep() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->get_PowerStep(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Devices_IInfraredTorchControl::Power() const + template auto consume_Windows_Media_Devices_IInfraredTorchControl::Power() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->get_Power(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IInfraredTorchControl::Power(int32_t value) const + template auto consume_Windows_Media_Devices_IInfraredTorchControl::Power(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->put_Power(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IIsoSpeedControl::Supported() const + template auto consume_Windows_Media_Devices_IIsoSpeedControl::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_IIsoSpeedControl::SupportedPresets() const + template auto consume_Windows_Media_Devices_IIsoSpeedControl::SupportedPresets() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl)->get_SupportedPresets(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::IsoSpeedPreset) consume_Windows_Media_Devices_IIsoSpeedControl::Preset() const + template auto consume_Windows_Media_Devices_IIsoSpeedControl::Preset() const { winrt::Windows::Media::Devices::IsoSpeedPreset value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl)->get_Preset(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IIsoSpeedControl::SetPresetAsync(winrt::Windows::Media::Devices::IsoSpeedPreset const& preset) const + template auto consume_Windows_Media_Devices_IIsoSpeedControl::SetPresetAsync(winrt::Windows::Media::Devices::IsoSpeedPreset const& preset) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl)->SetPresetAsync(static_cast(preset), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IIsoSpeedControl2::Min() const + template auto consume_Windows_Media_Devices_IIsoSpeedControl2::Min() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl2)->get_Min(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IIsoSpeedControl2::Max() const + template auto consume_Windows_Media_Devices_IIsoSpeedControl2::Max() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl2)->get_Max(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IIsoSpeedControl2::Step() const + template auto consume_Windows_Media_Devices_IIsoSpeedControl2::Step() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl2)->get_Step(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IIsoSpeedControl2::Value() const + template auto consume_Windows_Media_Devices_IIsoSpeedControl2::Value() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl2)->get_Value(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IIsoSpeedControl2::SetValueAsync(uint32_t isoSpeed) const + template auto consume_Windows_Media_Devices_IIsoSpeedControl2::SetValueAsync(uint32_t isoSpeed) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl2)->SetValueAsync(isoSpeed, &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IIsoSpeedControl2::Auto() const + template auto consume_Windows_Media_Devices_IIsoSpeedControl2::Auto() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl2)->get_Auto(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IIsoSpeedControl2::SetAutoAsync() const + template auto consume_Windows_Media_Devices_IIsoSpeedControl2::SetAutoAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl2)->SetAutoAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::TelephonyKey) consume_Windows_Media_Devices_IKeypadPressedEventArgs::TelephonyKey() const + template auto consume_Windows_Media_Devices_IKeypadPressedEventArgs::TelephonyKey() const { winrt::Windows::Media::Devices::TelephonyKey telephonyKey{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IKeypadPressedEventArgs)->get_TelephonyKey(reinterpret_cast(&telephonyKey))); return telephonyKey; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_Devices_ILowLagPhotoControl::GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const + template auto consume_Windows_Media_Devices_ILowLagPhotoControl::GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoControl)->GetHighestConcurrentFrameRate(*(void**)(&captureProperties), &value)); return winrt::Windows::Media::MediaProperties::MediaRatio{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_Devices_ILowLagPhotoControl::GetCurrentFrameRate() const + template auto consume_Windows_Media_Devices_ILowLagPhotoControl::GetCurrentFrameRate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoControl)->GetCurrentFrameRate(&value)); return winrt::Windows::Media::MediaProperties::MediaRatio{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_ILowLagPhotoControl::ThumbnailEnabled() const + template auto consume_Windows_Media_Devices_ILowLagPhotoControl::ThumbnailEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoControl)->get_ThumbnailEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ILowLagPhotoControl::ThumbnailEnabled(bool value) const + template auto consume_Windows_Media_Devices_ILowLagPhotoControl::ThumbnailEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoControl)->put_ThumbnailEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat) consume_Windows_Media_Devices_ILowLagPhotoControl::ThumbnailFormat() const + template auto consume_Windows_Media_Devices_ILowLagPhotoControl::ThumbnailFormat() const { winrt::Windows::Media::MediaProperties::MediaThumbnailFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoControl)->get_ThumbnailFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ILowLagPhotoControl::ThumbnailFormat(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat const& value) const + template auto consume_Windows_Media_Devices_ILowLagPhotoControl::ThumbnailFormat(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoControl)->put_ThumbnailFormat(static_cast(value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_ILowLagPhotoControl::DesiredThumbnailSize() const + template auto consume_Windows_Media_Devices_ILowLagPhotoControl::DesiredThumbnailSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoControl)->get_DesiredThumbnailSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ILowLagPhotoControl::DesiredThumbnailSize(uint32_t value) const + template auto consume_Windows_Media_Devices_ILowLagPhotoControl::DesiredThumbnailSize(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoControl)->put_DesiredThumbnailSize(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_ILowLagPhotoControl::HardwareAcceleratedThumbnailSupported() const + template auto consume_Windows_Media_Devices_ILowLagPhotoControl::HardwareAcceleratedThumbnailSupported() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoControl)->get_HardwareAcceleratedThumbnailSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::Supported() const + template auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::MaxPastPhotos() const + template auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::MaxPastPhotos() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_MaxPastPhotos(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::MaxPhotosPerSecond() const + template auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::MaxPhotosPerSecond() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_MaxPhotosPerSecond(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::PastPhotoLimit() const + template auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::PastPhotoLimit() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_PastPhotoLimit(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::PastPhotoLimit(uint32_t value) const + template auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::PastPhotoLimit(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->put_PastPhotoLimit(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::PhotosPerSecondLimit() const + template auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::PhotosPerSecondLimit() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_PhotosPerSecondLimit(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::PhotosPerSecondLimit(float value) const + template auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::PhotosPerSecondLimit(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->put_PhotosPerSecondLimit(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const + template auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->GetHighestConcurrentFrameRate(*(void**)(&captureProperties), &value)); return winrt::Windows::Media::MediaProperties::MediaRatio{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::GetCurrentFrameRate() const + template auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::GetCurrentFrameRate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->GetCurrentFrameRate(&value)); return winrt::Windows::Media::MediaProperties::MediaRatio{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::ThumbnailEnabled() const + template auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::ThumbnailEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_ThumbnailEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::ThumbnailEnabled(bool value) const + template auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::ThumbnailEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->put_ThumbnailEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::ThumbnailFormat() const + template auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::ThumbnailFormat() const { winrt::Windows::Media::MediaProperties::MediaThumbnailFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_ThumbnailFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::ThumbnailFormat(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat const& value) const + template auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::ThumbnailFormat(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->put_ThumbnailFormat(static_cast(value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::DesiredThumbnailSize() const + template auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::DesiredThumbnailSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_DesiredThumbnailSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::DesiredThumbnailSize(uint32_t value) const + template auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::DesiredThumbnailSize(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->put_DesiredThumbnailSize(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::HardwareAcceleratedThumbnailSupported() const + template auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl::HardwareAcceleratedThumbnailSupported() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_HardwareAcceleratedThumbnailSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControlCapabilities) consume_Windows_Media_Devices_IMediaDeviceControl::Capabilities() const + template auto consume_Windows_Media_Devices_IMediaDeviceControl::Capabilities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControl)->get_Capabilities(&value)); return winrt::Windows::Media::Devices::MediaDeviceControlCapabilities{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IMediaDeviceControl::TryGetValue(double& value) const + template auto consume_Windows_Media_Devices_IMediaDeviceControl::TryGetValue(double& value) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControl)->TryGetValue(&value, &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IMediaDeviceControl::TrySetValue(double value) const + template auto consume_Windows_Media_Devices_IMediaDeviceControl::TrySetValue(double value) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControl)->TrySetValue(value, &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IMediaDeviceControl::TryGetAuto(bool& value) const + template auto consume_Windows_Media_Devices_IMediaDeviceControl::TryGetAuto(bool& value) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControl)->TryGetAuto(&value, &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IMediaDeviceControl::TrySetAuto(bool value) const + template auto consume_Windows_Media_Devices_IMediaDeviceControl::TrySetAuto(bool value) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControl)->TrySetAuto(value, &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IMediaDeviceControlCapabilities::Supported() const + template auto consume_Windows_Media_Devices_IMediaDeviceControlCapabilities::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControlCapabilities)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IMediaDeviceControlCapabilities::Min() const + template auto consume_Windows_Media_Devices_IMediaDeviceControlCapabilities::Min() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControlCapabilities)->get_Min(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IMediaDeviceControlCapabilities::Max() const + template auto consume_Windows_Media_Devices_IMediaDeviceControlCapabilities::Max() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControlCapabilities)->get_Max(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IMediaDeviceControlCapabilities::Step() const + template auto consume_Windows_Media_Devices_IMediaDeviceControlCapabilities::Step() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControlCapabilities)->get_Step(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IMediaDeviceControlCapabilities::Default() const + template auto consume_Windows_Media_Devices_IMediaDeviceControlCapabilities::Default() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControlCapabilities)->get_Default(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IMediaDeviceControlCapabilities::AutoModeSupported() const + template auto consume_Windows_Media_Devices_IMediaDeviceControlCapabilities::AutoModeSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControlCapabilities)->get_AutoModeSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_IMediaDeviceController::GetAvailableMediaStreamProperties(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const + template auto consume_Windows_Media_Devices_IMediaDeviceController::GetAvailableMediaStreamProperties(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceController)->GetAvailableMediaStreamProperties(static_cast(mediaStreamType), &value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties) consume_Windows_Media_Devices_IMediaDeviceController::GetMediaStreamProperties(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const + template auto consume_Windows_Media_Devices_IMediaDeviceController::GetMediaStreamProperties(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceController)->GetMediaStreamProperties(static_cast(mediaStreamType), &value)); return winrt::Windows::Media::MediaProperties::IMediaEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IMediaDeviceController::SetMediaStreamPropertiesAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& mediaEncodingProperties) const + template auto consume_Windows_Media_Devices_IMediaDeviceController::SetMediaStreamPropertiesAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& mediaEncodingProperties) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceController)->SetMediaStreamPropertiesAsync(static_cast(mediaStreamType), *(void**)(&mediaEncodingProperties), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IMediaDeviceStatics::GetAudioCaptureSelector() const + template auto consume_Windows_Media_Devices_IMediaDeviceStatics::GetAudioCaptureSelector() const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceStatics)->GetAudioCaptureSelector(&selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IMediaDeviceStatics::GetAudioRenderSelector() const + template auto consume_Windows_Media_Devices_IMediaDeviceStatics::GetAudioRenderSelector() const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceStatics)->GetAudioRenderSelector(&selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IMediaDeviceStatics::GetVideoCaptureSelector() const + template auto consume_Windows_Media_Devices_IMediaDeviceStatics::GetVideoCaptureSelector() const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceStatics)->GetVideoCaptureSelector(&selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IMediaDeviceStatics::GetDefaultAudioCaptureId(winrt::Windows::Media::Devices::AudioDeviceRole const& role) const + template auto consume_Windows_Media_Devices_IMediaDeviceStatics::GetDefaultAudioCaptureId(winrt::Windows::Media::Devices::AudioDeviceRole const& role) const { void* deviceId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceStatics)->GetDefaultAudioCaptureId(static_cast(role), &deviceId)); return hstring{ deviceId, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IMediaDeviceStatics::GetDefaultAudioRenderId(winrt::Windows::Media::Devices::AudioDeviceRole const& role) const + template auto consume_Windows_Media_Devices_IMediaDeviceStatics::GetDefaultAudioRenderId(winrt::Windows::Media::Devices::AudioDeviceRole const& role) const { void* deviceId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceStatics)->GetDefaultAudioRenderId(static_cast(role), &deviceId)); return hstring{ deviceId, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_IMediaDeviceStatics::DefaultAudioCaptureDeviceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Devices_IMediaDeviceStatics::DefaultAudioCaptureDeviceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceStatics)->add_DefaultAudioCaptureDeviceChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_Devices_IMediaDeviceStatics::DefaultAudioCaptureDeviceChanged_revoker consume_Windows_Media_Devices_IMediaDeviceStatics::DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Devices_IMediaDeviceStatics::DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DefaultAudioCaptureDeviceChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IMediaDeviceStatics::DefaultAudioCaptureDeviceChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_Devices_IMediaDeviceStatics::DefaultAudioCaptureDeviceChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceStatics)->remove_DefaultAudioCaptureDeviceChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_IMediaDeviceStatics::DefaultAudioRenderDeviceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Devices_IMediaDeviceStatics::DefaultAudioRenderDeviceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceStatics)->add_DefaultAudioRenderDeviceChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_Devices_IMediaDeviceStatics::DefaultAudioRenderDeviceChanged_revoker consume_Windows_Media_Devices_IMediaDeviceStatics::DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Devices_IMediaDeviceStatics::DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DefaultAudioRenderDeviceChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IMediaDeviceStatics::DefaultAudioRenderDeviceChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_Devices_IMediaDeviceStatics::DefaultAudioRenderDeviceChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceStatics)->remove_DefaultAudioRenderDeviceChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::SendCommandStatus) consume_Windows_Media_Devices_IModuleCommandResult::Status() const + template auto consume_Windows_Media_Devices_IModuleCommandResult::Status() const { winrt::Windows::Media::Devices::SendCommandStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IModuleCommandResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Devices_IModuleCommandResult::Result() const + template auto consume_Windows_Media_Devices_IModuleCommandResult::Result() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IModuleCommandResult)->get_Result(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IOpticalImageStabilizationControl::Supported() const + template auto consume_Windows_Media_Devices_IOpticalImageStabilizationControl::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IOpticalImageStabilizationControl)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_IOpticalImageStabilizationControl::SupportedModes() const + template auto consume_Windows_Media_Devices_IOpticalImageStabilizationControl::SupportedModes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IOpticalImageStabilizationControl)->get_SupportedModes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::OpticalImageStabilizationMode) consume_Windows_Media_Devices_IOpticalImageStabilizationControl::Mode() const + template auto consume_Windows_Media_Devices_IOpticalImageStabilizationControl::Mode() const { winrt::Windows::Media::Devices::OpticalImageStabilizationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IOpticalImageStabilizationControl)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IOpticalImageStabilizationControl::Mode(winrt::Windows::Media::Devices::OpticalImageStabilizationMode const& value) const + template auto consume_Windows_Media_Devices_IOpticalImageStabilizationControl::Mode(winrt::Windows::Media::Devices::OpticalImageStabilizationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IOpticalImageStabilizationControl)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IPanelBasedOptimizationControl::IsSupported() const + template auto consume_Windows_Media_Devices_IPanelBasedOptimizationControl::IsSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IPanelBasedOptimizationControl)->get_IsSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Panel) consume_Windows_Media_Devices_IPanelBasedOptimizationControl::Panel() const + template auto consume_Windows_Media_Devices_IPanelBasedOptimizationControl::Panel() const { winrt::Windows::Devices::Enumeration::Panel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IPanelBasedOptimizationControl)->get_Panel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IPanelBasedOptimizationControl::Panel(winrt::Windows::Devices::Enumeration::Panel const& value) const + template auto consume_Windows_Media_Devices_IPanelBasedOptimizationControl::Panel(winrt::Windows::Devices::Enumeration::Panel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IPanelBasedOptimizationControl)->put_Panel(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IPhotoConfirmationControl::Supported() const + template auto consume_Windows_Media_Devices_IPhotoConfirmationControl::Supported() const { bool pbSupported{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IPhotoConfirmationControl)->get_Supported(&pbSupported)); return pbSupported; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IPhotoConfirmationControl::Enabled() const + template auto consume_Windows_Media_Devices_IPhotoConfirmationControl::Enabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IPhotoConfirmationControl)->get_Enabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IPhotoConfirmationControl::Enabled(bool value) const + template auto consume_Windows_Media_Devices_IPhotoConfirmationControl::Enabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IPhotoConfirmationControl)->put_Enabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaPixelFormat) consume_Windows_Media_Devices_IPhotoConfirmationControl::PixelFormat() const + template auto consume_Windows_Media_Devices_IPhotoConfirmationControl::PixelFormat() const { winrt::Windows::Media::MediaProperties::MediaPixelFormat format{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IPhotoConfirmationControl)->get_PixelFormat(reinterpret_cast(&format))); return format; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IPhotoConfirmationControl::PixelFormat(winrt::Windows::Media::MediaProperties::MediaPixelFormat const& format) const + template auto consume_Windows_Media_Devices_IPhotoConfirmationControl::PixelFormat(winrt::Windows::Media::MediaProperties::MediaPixelFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IPhotoConfirmationControl)->put_PixelFormat(static_cast(format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IRedialRequestedEventArgs::Handled() const + template auto consume_Windows_Media_Devices_IRedialRequestedEventArgs::Handled() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRedialRequestedEventArgs)->Handled()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IRegionOfInterest::AutoFocusEnabled() const + template auto consume_Windows_Media_Devices_IRegionOfInterest::AutoFocusEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest)->get_AutoFocusEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IRegionOfInterest::AutoFocusEnabled(bool value) const + template auto consume_Windows_Media_Devices_IRegionOfInterest::AutoFocusEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest)->put_AutoFocusEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IRegionOfInterest::AutoWhiteBalanceEnabled() const + template auto consume_Windows_Media_Devices_IRegionOfInterest::AutoWhiteBalanceEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest)->get_AutoWhiteBalanceEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IRegionOfInterest::AutoWhiteBalanceEnabled(bool value) const + template auto consume_Windows_Media_Devices_IRegionOfInterest::AutoWhiteBalanceEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest)->put_AutoWhiteBalanceEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IRegionOfInterest::AutoExposureEnabled() const + template auto consume_Windows_Media_Devices_IRegionOfInterest::AutoExposureEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest)->get_AutoExposureEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IRegionOfInterest::AutoExposureEnabled(bool value) const + template auto consume_Windows_Media_Devices_IRegionOfInterest::AutoExposureEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest)->put_AutoExposureEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Media_Devices_IRegionOfInterest::Bounds() const + template auto consume_Windows_Media_Devices_IRegionOfInterest::Bounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest)->get_Bounds(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IRegionOfInterest::Bounds(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_Media_Devices_IRegionOfInterest::Bounds(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest)->put_Bounds(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::RegionOfInterestType) consume_Windows_Media_Devices_IRegionOfInterest2::Type() const + template auto consume_Windows_Media_Devices_IRegionOfInterest2::Type() const { winrt::Windows::Media::Devices::RegionOfInterestType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest2)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IRegionOfInterest2::Type(winrt::Windows::Media::Devices::RegionOfInterestType const& value) const + template auto consume_Windows_Media_Devices_IRegionOfInterest2::Type(winrt::Windows::Media::Devices::RegionOfInterestType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest2)->put_Type(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IRegionOfInterest2::BoundsNormalized() const + template auto consume_Windows_Media_Devices_IRegionOfInterest2::BoundsNormalized() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest2)->get_BoundsNormalized(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IRegionOfInterest2::BoundsNormalized(bool value) const + template auto consume_Windows_Media_Devices_IRegionOfInterest2::BoundsNormalized(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest2)->put_BoundsNormalized(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IRegionOfInterest2::Weight() const + template auto consume_Windows_Media_Devices_IRegionOfInterest2::Weight() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest2)->get_Weight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IRegionOfInterest2::Weight(uint32_t value) const + template auto consume_Windows_Media_Devices_IRegionOfInterest2::Weight(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest2)->put_Weight(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IRegionsOfInterestControl::MaxRegions() const + template auto consume_Windows_Media_Devices_IRegionsOfInterestControl::MaxRegions() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionsOfInterestControl)->get_MaxRegions(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IRegionsOfInterestControl::SetRegionsAsync(param::async_iterable const& regions) const + template auto consume_Windows_Media_Devices_IRegionsOfInterestControl::SetRegionsAsync(param::async_iterable const& regions) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionsOfInterestControl)->SetRegionsAsync(*(void**)(®ions), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IRegionsOfInterestControl::SetRegionsAsync(param::async_iterable const& regions, bool lockValues) const + template auto consume_Windows_Media_Devices_IRegionsOfInterestControl::SetRegionsAsync(param::async_iterable const& regions, bool lockValues) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionsOfInterestControl)->SetRegionsWithLockAsync(*(void**)(®ions), lockValues, &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IRegionsOfInterestControl::ClearRegionsAsync() const + template auto consume_Windows_Media_Devices_IRegionsOfInterestControl::ClearRegionsAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionsOfInterestControl)->ClearRegionsAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IRegionsOfInterestControl::AutoFocusSupported() const + template auto consume_Windows_Media_Devices_IRegionsOfInterestControl::AutoFocusSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionsOfInterestControl)->get_AutoFocusSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IRegionsOfInterestControl::AutoWhiteBalanceSupported() const + template auto consume_Windows_Media_Devices_IRegionsOfInterestControl::AutoWhiteBalanceSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionsOfInterestControl)->get_AutoWhiteBalanceSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IRegionsOfInterestControl::AutoExposureSupported() const + template auto consume_Windows_Media_Devices_IRegionsOfInterestControl::AutoExposureSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionsOfInterestControl)->get_AutoExposureSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_ISceneModeControl::SupportedModes() const + template auto consume_Windows_Media_Devices_ISceneModeControl::SupportedModes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ISceneModeControl)->get_SupportedModes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::CaptureSceneMode) consume_Windows_Media_Devices_ISceneModeControl::Value() const + template auto consume_Windows_Media_Devices_ISceneModeControl::Value() const { winrt::Windows::Media::Devices::CaptureSceneMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ISceneModeControl)->get_Value(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_ISceneModeControl::SetValueAsync(winrt::Windows::Media::Devices::CaptureSceneMode const& sceneMode) const + template auto consume_Windows_Media_Devices_ISceneModeControl::SetValueAsync(winrt::Windows::Media::Devices::CaptureSceneMode const& sceneMode) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ISceneModeControl)->SetValueAsync(static_cast(sceneMode), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_ITorchControl::Supported() const + template auto consume_Windows_Media_Devices_ITorchControl::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ITorchControl)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_ITorchControl::PowerSupported() const + template auto consume_Windows_Media_Devices_ITorchControl::PowerSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ITorchControl)->get_PowerSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_ITorchControl::Enabled() const + template auto consume_Windows_Media_Devices_ITorchControl::Enabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ITorchControl)->get_Enabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ITorchControl::Enabled(bool value) const + template auto consume_Windows_Media_Devices_ITorchControl::Enabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ITorchControl)->put_Enabled(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_ITorchControl::PowerPercent() const + template auto consume_Windows_Media_Devices_ITorchControl::PowerPercent() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ITorchControl)->get_PowerPercent(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ITorchControl::PowerPercent(float value) const + template auto consume_Windows_Media_Devices_ITorchControl::PowerPercent(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ITorchControl)->put_PowerPercent(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController::Brightness() const + template auto consume_Windows_Media_Devices_IVideoDeviceController::Brightness() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceController)->get_Brightness(&value)); return winrt::Windows::Media::Devices::MediaDeviceControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController::Contrast() const + template auto consume_Windows_Media_Devices_IVideoDeviceController::Contrast() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceController)->get_Contrast(&value)); return winrt::Windows::Media::Devices::MediaDeviceControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController::Hue() const + template auto consume_Windows_Media_Devices_IVideoDeviceController::Hue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceController)->get_Hue(&value)); return winrt::Windows::Media::Devices::MediaDeviceControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController::WhiteBalance() const + template auto consume_Windows_Media_Devices_IVideoDeviceController::WhiteBalance() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceController)->get_WhiteBalance(&value)); return winrt::Windows::Media::Devices::MediaDeviceControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController::BacklightCompensation() const + template auto consume_Windows_Media_Devices_IVideoDeviceController::BacklightCompensation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceController)->get_BacklightCompensation(&value)); return winrt::Windows::Media::Devices::MediaDeviceControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController::Pan() const + template auto consume_Windows_Media_Devices_IVideoDeviceController::Pan() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceController)->get_Pan(&value)); return winrt::Windows::Media::Devices::MediaDeviceControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController::Tilt() const + template auto consume_Windows_Media_Devices_IVideoDeviceController::Tilt() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceController)->get_Tilt(&value)); return winrt::Windows::Media::Devices::MediaDeviceControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController::Zoom() const + template auto consume_Windows_Media_Devices_IVideoDeviceController::Zoom() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceController)->get_Zoom(&value)); return winrt::Windows::Media::Devices::MediaDeviceControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController::Roll() const + template auto consume_Windows_Media_Devices_IVideoDeviceController::Roll() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceController)->get_Roll(&value)); return winrt::Windows::Media::Devices::MediaDeviceControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController::Exposure() const + template auto consume_Windows_Media_Devices_IVideoDeviceController::Exposure() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceController)->get_Exposure(&value)); return winrt::Windows::Media::Devices::MediaDeviceControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController::Focus() const + template auto consume_Windows_Media_Devices_IVideoDeviceController::Focus() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceController)->get_Focus(&value)); return winrt::Windows::Media::Devices::MediaDeviceControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IVideoDeviceController::TrySetPowerlineFrequency(winrt::Windows::Media::Capture::PowerlineFrequency const& value) const + template auto consume_Windows_Media_Devices_IVideoDeviceController::TrySetPowerlineFrequency(winrt::Windows::Media::Capture::PowerlineFrequency const& value) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceController)->TrySetPowerlineFrequency(static_cast(value), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IVideoDeviceController::TryGetPowerlineFrequency(winrt::Windows::Media::Capture::PowerlineFrequency& value) const + template auto consume_Windows_Media_Devices_IVideoDeviceController::TryGetPowerlineFrequency(winrt::Windows::Media::Capture::PowerlineFrequency& value) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceController)->TryGetPowerlineFrequency(reinterpret_cast(&value), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceControllerGetDevicePropertyStatus) consume_Windows_Media_Devices_IVideoDeviceControllerGetDevicePropertyResult::Status() const + template auto consume_Windows_Media_Devices_IVideoDeviceControllerGetDevicePropertyResult::Status() const { winrt::Windows::Media::Devices::VideoDeviceControllerGetDevicePropertyStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceControllerGetDevicePropertyResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Media_Devices_IVideoDeviceControllerGetDevicePropertyResult::Value() const + template auto consume_Windows_Media_Devices_IVideoDeviceControllerGetDevicePropertyResult::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceControllerGetDevicePropertyResult)->get_Value(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IVideoTemporalDenoisingControl::Supported() const + template auto consume_Windows_Media_Devices_IVideoTemporalDenoisingControl::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoTemporalDenoisingControl)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_IVideoTemporalDenoisingControl::SupportedModes() const + template auto consume_Windows_Media_Devices_IVideoTemporalDenoisingControl::SupportedModes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoTemporalDenoisingControl)->get_SupportedModes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoTemporalDenoisingMode) consume_Windows_Media_Devices_IVideoTemporalDenoisingControl::Mode() const + template auto consume_Windows_Media_Devices_IVideoTemporalDenoisingControl::Mode() const { winrt::Windows::Media::Devices::VideoTemporalDenoisingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoTemporalDenoisingControl)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IVideoTemporalDenoisingControl::Mode(winrt::Windows::Media::Devices::VideoTemporalDenoisingMode const& value) const + template auto consume_Windows_Media_Devices_IVideoTemporalDenoisingControl::Mode(winrt::Windows::Media::Devices::VideoTemporalDenoisingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoTemporalDenoisingControl)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IWhiteBalanceControl::Supported() const + template auto consume_Windows_Media_Devices_IWhiteBalanceControl::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IWhiteBalanceControl)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ColorTemperaturePreset) consume_Windows_Media_Devices_IWhiteBalanceControl::Preset() const + template auto consume_Windows_Media_Devices_IWhiteBalanceControl::Preset() const { winrt::Windows::Media::Devices::ColorTemperaturePreset value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IWhiteBalanceControl)->get_Preset(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IWhiteBalanceControl::SetPresetAsync(winrt::Windows::Media::Devices::ColorTemperaturePreset const& preset) const + template auto consume_Windows_Media_Devices_IWhiteBalanceControl::SetPresetAsync(winrt::Windows::Media::Devices::ColorTemperaturePreset const& preset) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IWhiteBalanceControl)->SetPresetAsync(static_cast(preset), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IWhiteBalanceControl::Min() const + template auto consume_Windows_Media_Devices_IWhiteBalanceControl::Min() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IWhiteBalanceControl)->get_Min(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IWhiteBalanceControl::Max() const + template auto consume_Windows_Media_Devices_IWhiteBalanceControl::Max() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IWhiteBalanceControl)->get_Max(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IWhiteBalanceControl::Step() const + template auto consume_Windows_Media_Devices_IWhiteBalanceControl::Step() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IWhiteBalanceControl)->get_Step(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IWhiteBalanceControl::Value() const + template auto consume_Windows_Media_Devices_IWhiteBalanceControl::Value() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IWhiteBalanceControl)->get_Value(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IWhiteBalanceControl::SetValueAsync(uint32_t temperature) const + template auto consume_Windows_Media_Devices_IWhiteBalanceControl::SetValueAsync(uint32_t temperature) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IWhiteBalanceControl)->SetValueAsync(temperature, &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IZoomControl::Supported() const + template auto consume_Windows_Media_Devices_IZoomControl::Supported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl)->get_Supported(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IZoomControl::Min() const + template auto consume_Windows_Media_Devices_IZoomControl::Min() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl)->get_Min(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IZoomControl::Max() const + template auto consume_Windows_Media_Devices_IZoomControl::Max() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl)->get_Max(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IZoomControl::Step() const + template auto consume_Windows_Media_Devices_IZoomControl::Step() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl)->get_Step(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IZoomControl::Value() const + template auto consume_Windows_Media_Devices_IZoomControl::Value() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl)->get_Value(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IZoomControl::Value(float value) const + template auto consume_Windows_Media_Devices_IZoomControl::Value(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl)->put_Value(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_IZoomControl2::SupportedModes() const + template auto consume_Windows_Media_Devices_IZoomControl2::SupportedModes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl2)->get_SupportedModes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ZoomTransitionMode) consume_Windows_Media_Devices_IZoomControl2::Mode() const + template auto consume_Windows_Media_Devices_IZoomControl2::Mode() const { winrt::Windows::Media::Devices::ZoomTransitionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl2)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IZoomControl2::Configure(winrt::Windows::Media::Devices::ZoomSettings const& settings) const + template auto consume_Windows_Media_Devices_IZoomControl2::Configure(winrt::Windows::Media::Devices::ZoomSettings const& settings) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl2)->Configure(*(void**)(&settings))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ZoomTransitionMode) consume_Windows_Media_Devices_IZoomSettings::Mode() const + template auto consume_Windows_Media_Devices_IZoomSettings::Mode() const { winrt::Windows::Media::Devices::ZoomTransitionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomSettings)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IZoomSettings::Mode(winrt::Windows::Media::Devices::ZoomTransitionMode const& value) const + template auto consume_Windows_Media_Devices_IZoomSettings::Mode(winrt::Windows::Media::Devices::ZoomTransitionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomSettings)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IZoomSettings::Value() const + template auto consume_Windows_Media_Devices_IZoomSettings::Value() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomSettings)->get_Value(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IZoomSettings::Value(float value) const + template auto consume_Windows_Media_Devices_IZoomSettings::Value(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomSettings)->put_Value(value)); } @@ -4644,10 +4644,10 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices { return impl::call_factory([&](IMediaDeviceStatics const& f) { return f.DefaultAudioCaptureDeviceChanged(handler); }); } - inline MediaDevice::DefaultAudioCaptureDeviceChanged_revoker MediaDevice::DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) + inline auto MediaDevice::DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.DefaultAudioCaptureDeviceChanged(handler) }; + return MediaDevice::DefaultAudioCaptureDeviceChanged_revoker{ f, f.DefaultAudioCaptureDeviceChanged(handler) }; } inline auto MediaDevice::DefaultAudioCaptureDeviceChanged(winrt::event_token const& cookie) { @@ -4657,10 +4657,10 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices { return impl::call_factory([&](IMediaDeviceStatics const& f) { return f.DefaultAudioRenderDeviceChanged(handler); }); } - inline MediaDevice::DefaultAudioRenderDeviceChanged_revoker MediaDevice::DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) + inline auto MediaDevice::DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.DefaultAudioRenderDeviceChanged(handler) }; + return MediaDevice::DefaultAudioRenderDeviceChanged_revoker{ f, f.DefaultAudioRenderDeviceChanged(handler) }; } inline auto MediaDevice::DefaultAudioRenderDeviceChanged(winrt::event_token const& cookie) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.DialProtocol.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.DialProtocol.h index 6fa660ad..b123722f 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.DialProtocol.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.DialProtocol.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_DialProtocol_H #define WINRT_Windows_Media_DialProtocol_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -15,203 +15,203 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.DialProtocol.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_DialProtocol_IDialApp::AppName() const + template auto consume_Windows_Media_DialProtocol_IDialApp::AppName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialApp)->get_AppName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_DialProtocol_IDialApp::RequestLaunchAsync(param::hstring const& appArgument) const + template auto consume_Windows_Media_DialProtocol_IDialApp::RequestLaunchAsync(param::hstring const& appArgument) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialApp)->RequestLaunchAsync(*(void**)(&appArgument), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_DialProtocol_IDialApp::StopAsync() const + template auto consume_Windows_Media_DialProtocol_IDialApp::StopAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialApp)->StopAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_DialProtocol_IDialApp::GetAppStateAsync() const + template auto consume_Windows_Media_DialProtocol_IDialApp::GetAppStateAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialApp)->GetAppStateAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialAppState) consume_Windows_Media_DialProtocol_IDialAppStateDetails::State() const + template auto consume_Windows_Media_DialProtocol_IDialAppStateDetails::State() const { winrt::Windows::Media::DialProtocol::DialAppState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialAppStateDetails)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_DialProtocol_IDialAppStateDetails::FullXml() const + template auto consume_Windows_Media_DialProtocol_IDialAppStateDetails::FullXml() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialAppStateDetails)->get_FullXml(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_DialProtocol_IDialDevice::Id() const + template auto consume_Windows_Media_DialProtocol_IDialDevice::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevice)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialApp) consume_Windows_Media_DialProtocol_IDialDevice::GetDialApp(param::hstring const& appName) const + template auto consume_Windows_Media_DialProtocol_IDialDevice::GetDialApp(param::hstring const& appName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevice)->GetDialApp(*(void**)(&appName), &value)); return winrt::Windows::Media::DialProtocol::DialApp{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_DialProtocol_IDialDevice2::FriendlyName() const + template auto consume_Windows_Media_DialProtocol_IDialDevice2::FriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevice2)->get_FriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Media_DialProtocol_IDialDevice2::Thumbnail() const + template auto consume_Windows_Media_DialProtocol_IDialDevice2::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevice2)->get_Thumbnail(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialDevicePickerFilter) consume_Windows_Media_DialProtocol_IDialDevicePicker::Filter() const + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::Filter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->get_Filter(&value)); return winrt::Windows::Media::DialProtocol::DialDevicePickerFilter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePickerAppearance) consume_Windows_Media_DialProtocol_IDialDevicePicker::Appearance() const + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::Appearance() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->get_Appearance(&value)); return winrt::Windows::Devices::Enumeration::DevicePickerAppearance{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_DialProtocol_IDialDevicePicker::DialDeviceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::DialDeviceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->add_DialDeviceSelected(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_DialProtocol_IDialDevicePicker::DialDeviceSelected_revoker consume_Windows_Media_DialProtocol_IDialDevicePicker::DialDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::DialDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DialDeviceSelected(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_DialProtocol_IDialDevicePicker::DialDeviceSelected(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::DialDeviceSelected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->remove_DialDeviceSelected(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_DialProtocol_IDialDevicePicker::DisconnectButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::DisconnectButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->add_DisconnectButtonClicked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_DialProtocol_IDialDevicePicker::DisconnectButtonClicked_revoker consume_Windows_Media_DialProtocol_IDialDevicePicker::DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DisconnectButtonClicked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_DialProtocol_IDialDevicePicker::DisconnectButtonClicked(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::DisconnectButtonClicked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->remove_DisconnectButtonClicked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_DialProtocol_IDialDevicePicker::DialDevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::DialDevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->add_DialDevicePickerDismissed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_DialProtocol_IDialDevicePicker::DialDevicePickerDismissed_revoker consume_Windows_Media_DialProtocol_IDialDevicePicker::DialDevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::DialDevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DialDevicePickerDismissed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_DialProtocol_IDialDevicePicker::DialDevicePickerDismissed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::DialDevicePickerDismissed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->remove_DialDevicePickerDismissed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_DialProtocol_IDialDevicePicker::Show(winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::Show(winrt::Windows::Foundation::Rect const& selection) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->Show(impl::bind_in(selection))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_DialProtocol_IDialDevicePicker::Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->ShowWithPlacement(impl::bind_in(selection), static_cast(preferredPlacement))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_DialProtocol_IDialDevicePicker::PickSingleDialDeviceAsync(winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::PickSingleDialDeviceAsync(winrt::Windows::Foundation::Rect const& selection) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->PickSingleDialDeviceAsync(impl::bind_in(selection), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_DialProtocol_IDialDevicePicker::PickSingleDialDeviceAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::PickSingleDialDeviceAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->PickSingleDialDeviceAsyncWithPlacement(impl::bind_in(selection), static_cast(preferredPlacement), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_DialProtocol_IDialDevicePicker::Hide() const + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::Hide() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->Hide()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_DialProtocol_IDialDevicePicker::SetDisplayStatus(winrt::Windows::Media::DialProtocol::DialDevice const& device, winrt::Windows::Media::DialProtocol::DialDeviceDisplayStatus const& status) const + template auto consume_Windows_Media_DialProtocol_IDialDevicePicker::SetDisplayStatus(winrt::Windows::Media::DialProtocol::DialDevice const& device, winrt::Windows::Media::DialProtocol::DialDeviceDisplayStatus const& status) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->SetDisplayStatus(*(void**)(&device), static_cast(status))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_DialProtocol_IDialDevicePickerFilter::SupportedAppNames() const + template auto consume_Windows_Media_DialProtocol_IDialDevicePickerFilter::SupportedAppNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePickerFilter)->get_SupportedAppNames(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialDevice) consume_Windows_Media_DialProtocol_IDialDeviceSelectedEventArgs::SelectedDialDevice() const + template auto consume_Windows_Media_DialProtocol_IDialDeviceSelectedEventArgs::SelectedDialDevice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDeviceSelectedEventArgs)->get_SelectedDialDevice(&value)); return winrt::Windows::Media::DialProtocol::DialDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_DialProtocol_IDialDeviceStatics::GetDeviceSelector(param::hstring const& appName) const + template auto consume_Windows_Media_DialProtocol_IDialDeviceStatics::GetDeviceSelector(param::hstring const& appName) const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDeviceStatics)->GetDeviceSelector(*(void**)(&appName), &selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_DialProtocol_IDialDeviceStatics::FromIdAsync(param::hstring const& value) const + template auto consume_Windows_Media_DialProtocol_IDialDeviceStatics::FromIdAsync(param::hstring const& value) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDeviceStatics)->FromIdAsync(*(void**)(&value), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_DialProtocol_IDialDeviceStatics::DeviceInfoSupportsDialAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const + template auto consume_Windows_Media_DialProtocol_IDialDeviceStatics::DeviceInfoSupportsDialAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDeviceStatics)->DeviceInfoSupportsDialAsync(*(void**)(&device), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialDevice) consume_Windows_Media_DialProtocol_IDialDisconnectButtonClickedEventArgs::Device() const + template auto consume_Windows_Media_DialProtocol_IDialDisconnectButtonClickedEventArgs::Device() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDisconnectButtonClickedEventArgs)->get_Device(&value)); return winrt::Windows::Media::DialProtocol::DialDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Media_DialProtocol_IDialReceiverApp::GetAdditionalDataAsync() const + template auto consume_Windows_Media_DialProtocol_IDialReceiverApp::GetAdditionalDataAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialReceiverApp)->GetAdditionalDataAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_DialProtocol_IDialReceiverApp::SetAdditionalDataAsync(param::async_iterable> const& additionalData) const + template auto consume_Windows_Media_DialProtocol_IDialReceiverApp::SetAdditionalDataAsync(param::async_iterable> const& additionalData) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialReceiverApp)->SetAdditionalDataAsync(*(void**)(&additionalData), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_DialProtocol_IDialReceiverApp2::GetUniqueDeviceNameAsync() const + template auto consume_Windows_Media_DialProtocol_IDialReceiverApp2::GetUniqueDeviceNameAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialReceiverApp2)->GetUniqueDeviceNameAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialReceiverApp) consume_Windows_Media_DialProtocol_IDialReceiverAppStatics::Current() const + template auto consume_Windows_Media_DialProtocol_IDialReceiverAppStatics::Current() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialReceiverAppStatics)->get_Current(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Editing.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Editing.h index a59d5ddf..bdb4dbe3 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Editing.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Editing.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Editing_H #define WINRT_Windows_Media_Editing_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -20,409 +20,409 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Editing.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IBackgroundAudioTrack::TrimTimeFromStart() const + template auto consume_Windows_Media_Editing_IBackgroundAudioTrack::TrimTimeFromStart() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->get_TrimTimeFromStart(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IBackgroundAudioTrack::TrimTimeFromStart(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Editing_IBackgroundAudioTrack::TrimTimeFromStart(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->put_TrimTimeFromStart(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IBackgroundAudioTrack::TrimTimeFromEnd() const + template auto consume_Windows_Media_Editing_IBackgroundAudioTrack::TrimTimeFromEnd() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->get_TrimTimeFromEnd(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IBackgroundAudioTrack::TrimTimeFromEnd(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Editing_IBackgroundAudioTrack::TrimTimeFromEnd(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->put_TrimTimeFromEnd(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IBackgroundAudioTrack::OriginalDuration() const + template auto consume_Windows_Media_Editing_IBackgroundAudioTrack::OriginalDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->get_OriginalDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IBackgroundAudioTrack::TrimmedDuration() const + template auto consume_Windows_Media_Editing_IBackgroundAudioTrack::TrimmedDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->get_TrimmedDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Media_Editing_IBackgroundAudioTrack::UserData() const + template auto consume_Windows_Media_Editing_IBackgroundAudioTrack::UserData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->get_UserData(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IBackgroundAudioTrack::Delay(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Editing_IBackgroundAudioTrack::Delay(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->put_Delay(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IBackgroundAudioTrack::Delay() const + template auto consume_Windows_Media_Editing_IBackgroundAudioTrack::Delay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->get_Delay(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IBackgroundAudioTrack::Volume(double value) const + template auto consume_Windows_Media_Editing_IBackgroundAudioTrack::Volume(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->put_Volume(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Editing_IBackgroundAudioTrack::Volume() const + template auto consume_Windows_Media_Editing_IBackgroundAudioTrack::Volume() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->get_Volume(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::BackgroundAudioTrack) consume_Windows_Media_Editing_IBackgroundAudioTrack::Clone() const + template auto consume_Windows_Media_Editing_IBackgroundAudioTrack::Clone() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->Clone(&value)); return winrt::Windows::Media::Editing::BackgroundAudioTrack{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Editing_IBackgroundAudioTrack::GetAudioEncodingProperties() const + template auto consume_Windows_Media_Editing_IBackgroundAudioTrack::GetAudioEncodingProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->GetAudioEncodingProperties(&value)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_Editing_IBackgroundAudioTrack::AudioEffectDefinitions() const + template auto consume_Windows_Media_Editing_IBackgroundAudioTrack::AudioEffectDefinitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->get_AudioEffectDefinitions(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::BackgroundAudioTrack) consume_Windows_Media_Editing_IBackgroundAudioTrackStatics::CreateFromEmbeddedAudioTrack(winrt::Windows::Media::Editing::EmbeddedAudioTrack const& embeddedAudioTrack) const + template auto consume_Windows_Media_Editing_IBackgroundAudioTrackStatics::CreateFromEmbeddedAudioTrack(winrt::Windows::Media::Editing::EmbeddedAudioTrack const& embeddedAudioTrack) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrackStatics)->CreateFromEmbeddedAudioTrack(*(void**)(&embeddedAudioTrack), &value)); return winrt::Windows::Media::Editing::BackgroundAudioTrack{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Editing_IBackgroundAudioTrackStatics::CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Media_Editing_IBackgroundAudioTrackStatics::CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrackStatics)->CreateFromFileAsync(*(void**)(&file), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Editing_IEmbeddedAudioTrack::GetAudioEncodingProperties() const + template auto consume_Windows_Media_Editing_IEmbeddedAudioTrack::GetAudioEncodingProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IEmbeddedAudioTrack)->GetAudioEncodingProperties(&value)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IMediaClip::TrimTimeFromStart() const + template auto consume_Windows_Media_Editing_IMediaClip::TrimTimeFromStart() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_TrimTimeFromStart(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IMediaClip::TrimTimeFromStart(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Editing_IMediaClip::TrimTimeFromStart(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->put_TrimTimeFromStart(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IMediaClip::TrimTimeFromEnd() const + template auto consume_Windows_Media_Editing_IMediaClip::TrimTimeFromEnd() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_TrimTimeFromEnd(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IMediaClip::TrimTimeFromEnd(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Editing_IMediaClip::TrimTimeFromEnd(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->put_TrimTimeFromEnd(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IMediaClip::OriginalDuration() const + template auto consume_Windows_Media_Editing_IMediaClip::OriginalDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_OriginalDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IMediaClip::TrimmedDuration() const + template auto consume_Windows_Media_Editing_IMediaClip::TrimmedDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_TrimmedDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Media_Editing_IMediaClip::UserData() const + template auto consume_Windows_Media_Editing_IMediaClip::UserData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_UserData(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaClip) consume_Windows_Media_Editing_IMediaClip::Clone() const + template auto consume_Windows_Media_Editing_IMediaClip::Clone() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->Clone(&result)); return winrt::Windows::Media::Editing::MediaClip{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IMediaClip::StartTimeInComposition() const + template auto consume_Windows_Media_Editing_IMediaClip::StartTimeInComposition() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_StartTimeInComposition(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IMediaClip::EndTimeInComposition() const + template auto consume_Windows_Media_Editing_IMediaClip::EndTimeInComposition() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_EndTimeInComposition(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Editing_IMediaClip::EmbeddedAudioTracks() const + template auto consume_Windows_Media_Editing_IMediaClip::EmbeddedAudioTracks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_EmbeddedAudioTracks(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Editing_IMediaClip::SelectedEmbeddedAudioTrackIndex() const + template auto consume_Windows_Media_Editing_IMediaClip::SelectedEmbeddedAudioTrackIndex() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_SelectedEmbeddedAudioTrackIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IMediaClip::SelectedEmbeddedAudioTrackIndex(uint32_t value) const + template auto consume_Windows_Media_Editing_IMediaClip::SelectedEmbeddedAudioTrackIndex(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->put_SelectedEmbeddedAudioTrackIndex(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IMediaClip::Volume(double value) const + template auto consume_Windows_Media_Editing_IMediaClip::Volume(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->put_Volume(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Editing_IMediaClip::Volume() const + template auto consume_Windows_Media_Editing_IMediaClip::Volume() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_Volume(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_Editing_IMediaClip::GetVideoEncodingProperties() const + template auto consume_Windows_Media_Editing_IMediaClip::GetVideoEncodingProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->GetVideoEncodingProperties(&value)); return winrt::Windows::Media::MediaProperties::VideoEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_Editing_IMediaClip::AudioEffectDefinitions() const + template auto consume_Windows_Media_Editing_IMediaClip::AudioEffectDefinitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_AudioEffectDefinitions(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_Editing_IMediaClip::VideoEffectDefinitions() const + template auto consume_Windows_Media_Editing_IMediaClip::VideoEffectDefinitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_VideoEffectDefinitions(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaClip) consume_Windows_Media_Editing_IMediaClipStatics::CreateFromColor(winrt::Windows::UI::Color const& color, winrt::Windows::Foundation::TimeSpan const& originalDuration) const + template auto consume_Windows_Media_Editing_IMediaClipStatics::CreateFromColor(winrt::Windows::UI::Color const& color, winrt::Windows::Foundation::TimeSpan const& originalDuration) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClipStatics)->CreateFromColor(impl::bind_in(color), impl::bind_in(originalDuration), &value)); return winrt::Windows::Media::Editing::MediaClip{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Editing_IMediaClipStatics::CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Media_Editing_IMediaClipStatics::CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClipStatics)->CreateFromFileAsync(*(void**)(&file), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Editing_IMediaClipStatics::CreateFromImageFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Foundation::TimeSpan const& originalDuration) const + template auto consume_Windows_Media_Editing_IMediaClipStatics::CreateFromImageFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Foundation::TimeSpan const& originalDuration) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClipStatics)->CreateFromImageFileAsync(*(void**)(&file), impl::bind_in(originalDuration), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaClip) consume_Windows_Media_Editing_IMediaClipStatics2::CreateFromSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Foundation::TimeSpan const& originalDuration) const + template auto consume_Windows_Media_Editing_IMediaClipStatics2::CreateFromSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Foundation::TimeSpan const& originalDuration) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClipStatics2)->CreateFromSurface(*(void**)(&surface), impl::bind_in(originalDuration), &value)); return winrt::Windows::Media::Editing::MediaClip{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IMediaComposition::Duration() const + template auto consume_Windows_Media_Editing_IMediaComposition::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_Editing_IMediaComposition::Clips() const + template auto consume_Windows_Media_Editing_IMediaComposition::Clips() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->get_Clips(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_Editing_IMediaComposition::BackgroundAudioTracks() const + template auto consume_Windows_Media_Editing_IMediaComposition::BackgroundAudioTracks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->get_BackgroundAudioTracks(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Media_Editing_IMediaComposition::UserData() const + template auto consume_Windows_Media_Editing_IMediaComposition::UserData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->get_UserData(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaComposition) consume_Windows_Media_Editing_IMediaComposition::Clone() const + template auto consume_Windows_Media_Editing_IMediaComposition::Clone() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->Clone(&result)); return winrt::Windows::Media::Editing::MediaComposition{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Editing_IMediaComposition::SaveAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Media_Editing_IMediaComposition::SaveAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->SaveAsync(*(void**)(&file), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Editing_IMediaComposition::GetThumbnailAsync(winrt::Windows::Foundation::TimeSpan const& timeFromStart, int32_t scaledWidth, int32_t scaledHeight, winrt::Windows::Media::Editing::VideoFramePrecision const& framePrecision) const + template auto consume_Windows_Media_Editing_IMediaComposition::GetThumbnailAsync(winrt::Windows::Foundation::TimeSpan const& timeFromStart, int32_t scaledWidth, int32_t scaledHeight, winrt::Windows::Media::Editing::VideoFramePrecision const& framePrecision) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->GetThumbnailAsync(impl::bind_in(timeFromStart), scaledWidth, scaledHeight, static_cast(framePrecision), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Media_Editing_IMediaComposition::GetThumbnailsAsync(param::async_iterable const& timesFromStart, int32_t scaledWidth, int32_t scaledHeight, winrt::Windows::Media::Editing::VideoFramePrecision const& framePrecision) const + template auto consume_Windows_Media_Editing_IMediaComposition::GetThumbnailsAsync(param::async_iterable const& timesFromStart, int32_t scaledWidth, int32_t scaledHeight, winrt::Windows::Media::Editing::VideoFramePrecision const& framePrecision) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->GetThumbnailsAsync(*(void**)(×FromStart), scaledWidth, scaledHeight, static_cast(framePrecision), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Media_Editing_IMediaComposition::RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination) const + template auto consume_Windows_Media_Editing_IMediaComposition::RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->RenderToFileAsync(*(void**)(&destination), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Media_Editing_IMediaComposition::RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::Editing::MediaTrimmingPreference const& trimmingPreference) const + template auto consume_Windows_Media_Editing_IMediaComposition::RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::Editing::MediaTrimmingPreference const& trimmingPreference) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->RenderToFileWithTrimmingPreferenceAsync(*(void**)(&destination), static_cast(trimmingPreference), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Media_Editing_IMediaComposition::RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::Editing::MediaTrimmingPreference const& trimmingPreference, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile) const + template auto consume_Windows_Media_Editing_IMediaComposition::RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::Editing::MediaTrimmingPreference const& trimmingPreference, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->RenderToFileWithProfileAsync(*(void**)(&destination), static_cast(trimmingPreference), *(void**)(&encodingProfile), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_Editing_IMediaComposition::CreateDefaultEncodingProfile() const + template auto consume_Windows_Media_Editing_IMediaComposition::CreateDefaultEncodingProfile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->CreateDefaultEncodingProfile(&value)); return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) consume_Windows_Media_Editing_IMediaComposition::GenerateMediaStreamSource() const + template auto consume_Windows_Media_Editing_IMediaComposition::GenerateMediaStreamSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->GenerateMediaStreamSource(&value)); return winrt::Windows::Media::Core::MediaStreamSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) consume_Windows_Media_Editing_IMediaComposition::GenerateMediaStreamSource(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile) const + template auto consume_Windows_Media_Editing_IMediaComposition::GenerateMediaStreamSource(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->GenerateMediaStreamSourceWithProfile(*(void**)(&encodingProfile), &value)); return winrt::Windows::Media::Core::MediaStreamSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) consume_Windows_Media_Editing_IMediaComposition::GeneratePreviewMediaStreamSource(int32_t scaledWidth, int32_t scaledHeight) const + template auto consume_Windows_Media_Editing_IMediaComposition::GeneratePreviewMediaStreamSource(int32_t scaledWidth, int32_t scaledHeight) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->GeneratePreviewMediaStreamSource(scaledWidth, scaledHeight, &value)); return winrt::Windows::Media::Core::MediaStreamSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_Editing_IMediaComposition2::OverlayLayers() const + template auto consume_Windows_Media_Editing_IMediaComposition2::OverlayLayers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition2)->get_OverlayLayers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Editing_IMediaCompositionStatics::LoadAsync(winrt::Windows::Storage::StorageFile const& file) const + template auto consume_Windows_Media_Editing_IMediaCompositionStatics::LoadAsync(winrt::Windows::Storage::StorageFile const& file) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaCompositionStatics)->LoadAsync(*(void**)(&file), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Media_Editing_IMediaOverlay::Position() const + template auto consume_Windows_Media_Editing_IMediaOverlay::Position() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlay)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IMediaOverlay::Position(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_Media_Editing_IMediaOverlay::Position(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlay)->put_Position(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IMediaOverlay::Delay(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Editing_IMediaOverlay::Delay(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlay)->put_Delay(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IMediaOverlay::Delay() const + template auto consume_Windows_Media_Editing_IMediaOverlay::Delay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlay)->get_Delay(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Editing_IMediaOverlay::Opacity() const + template auto consume_Windows_Media_Editing_IMediaOverlay::Opacity() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlay)->get_Opacity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IMediaOverlay::Opacity(double value) const + template auto consume_Windows_Media_Editing_IMediaOverlay::Opacity(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlay)->put_Opacity(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlay) consume_Windows_Media_Editing_IMediaOverlay::Clone() const + template auto consume_Windows_Media_Editing_IMediaOverlay::Clone() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlay)->Clone(&result)); return winrt::Windows::Media::Editing::MediaOverlay{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaClip) consume_Windows_Media_Editing_IMediaOverlay::Clip() const + template auto consume_Windows_Media_Editing_IMediaOverlay::Clip() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlay)->get_Clip(&value)); return winrt::Windows::Media::Editing::MediaClip{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Editing_IMediaOverlay::AudioEnabled() const + template auto consume_Windows_Media_Editing_IMediaOverlay::AudioEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlay)->get_AudioEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IMediaOverlay::AudioEnabled(bool value) const + template auto consume_Windows_Media_Editing_IMediaOverlay::AudioEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlay)->put_AudioEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlay) consume_Windows_Media_Editing_IMediaOverlayFactory::Create(winrt::Windows::Media::Editing::MediaClip const& clip) const + template auto consume_Windows_Media_Editing_IMediaOverlayFactory::Create(winrt::Windows::Media::Editing::MediaClip const& clip) const { void* mediaOverlay{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlayFactory)->Create(*(void**)(&clip), &mediaOverlay)); return winrt::Windows::Media::Editing::MediaOverlay{ mediaOverlay, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlay) consume_Windows_Media_Editing_IMediaOverlayFactory::CreateWithPositionAndOpacity(winrt::Windows::Media::Editing::MediaClip const& clip, winrt::Windows::Foundation::Rect const& position, double opacity) const + template auto consume_Windows_Media_Editing_IMediaOverlayFactory::CreateWithPositionAndOpacity(winrt::Windows::Media::Editing::MediaClip const& clip, winrt::Windows::Foundation::Rect const& position, double opacity) const { void* mediaOverlay{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlayFactory)->CreateWithPositionAndOpacity(*(void**)(&clip), impl::bind_in(position), opacity, &mediaOverlay)); return winrt::Windows::Media::Editing::MediaOverlay{ mediaOverlay, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlayLayer) consume_Windows_Media_Editing_IMediaOverlayLayer::Clone() const + template auto consume_Windows_Media_Editing_IMediaOverlayLayer::Clone() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlayLayer)->Clone(&result)); return winrt::Windows::Media::Editing::MediaOverlayLayer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_Editing_IMediaOverlayLayer::Overlays() const + template auto consume_Windows_Media_Editing_IMediaOverlayLayer::Overlays() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlayLayer)->get_Overlays(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::IVideoCompositorDefinition) consume_Windows_Media_Editing_IMediaOverlayLayer::CustomCompositorDefinition() const + template auto consume_Windows_Media_Editing_IMediaOverlayLayer::CustomCompositorDefinition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlayLayer)->get_CustomCompositorDefinition(&value)); return winrt::Windows::Media::Effects::IVideoCompositorDefinition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlayLayer) consume_Windows_Media_Editing_IMediaOverlayLayerFactory::CreateWithCompositorDefinition(winrt::Windows::Media::Effects::IVideoCompositorDefinition const& compositorDefinition) const + template auto consume_Windows_Media_Editing_IMediaOverlayLayerFactory::CreateWithCompositorDefinition(winrt::Windows::Media::Effects::IVideoCompositorDefinition const& compositorDefinition) const { void* mediaOverlayLayer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlayLayerFactory)->CreateWithCompositorDefinition(*(void**)(&compositorDefinition), &mediaOverlayLayer)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Effects.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Effects.h index f8a3031c..0efdaaea 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Effects.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Effects.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Effects_H #define WINRT_Windows_Media_Effects_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -23,425 +23,425 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Effects.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Effects_IAudioCaptureEffectsManager::AudioCaptureEffectsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Effects_IAudioCaptureEffectsManager::AudioCaptureEffectsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioCaptureEffectsManager)->add_AudioCaptureEffectsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Effects_IAudioCaptureEffectsManager::AudioCaptureEffectsChanged_revoker consume_Windows_Media_Effects_IAudioCaptureEffectsManager::AudioCaptureEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Effects_IAudioCaptureEffectsManager::AudioCaptureEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AudioCaptureEffectsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IAudioCaptureEffectsManager::AudioCaptureEffectsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Effects_IAudioCaptureEffectsManager::AudioCaptureEffectsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioCaptureEffectsManager)->remove_AudioCaptureEffectsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Effects_IAudioCaptureEffectsManager::GetAudioCaptureEffects() const + template auto consume_Windows_Media_Effects_IAudioCaptureEffectsManager::GetAudioCaptureEffects() const { void* effects{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioCaptureEffectsManager)->GetAudioCaptureEffects(&effects)); return winrt::Windows::Foundation::Collections::IVectorView{ effects, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioEffectType) consume_Windows_Media_Effects_IAudioEffect::AudioEffectType() const + template auto consume_Windows_Media_Effects_IAudioEffect::AudioEffectType() const { winrt::Windows::Media::Effects::AudioEffectType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioEffect)->get_AudioEffectType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Effects_IAudioEffectDefinition::ActivatableClassId() const + template auto consume_Windows_Media_Effects_IAudioEffectDefinition::ActivatableClassId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioEffectDefinition)->get_ActivatableClassId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Media_Effects_IAudioEffectDefinition::Properties() const + template auto consume_Windows_Media_Effects_IAudioEffectDefinition::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioEffectDefinition)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioEffectDefinition) consume_Windows_Media_Effects_IAudioEffectDefinitionFactory::Create(param::hstring const& activatableClassId) const + template auto consume_Windows_Media_Effects_IAudioEffectDefinitionFactory::Create(param::hstring const& activatableClassId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioEffectDefinitionFactory)->Create(*(void**)(&activatableClassId), &value)); return winrt::Windows::Media::Effects::AudioEffectDefinition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioEffectDefinition) consume_Windows_Media_Effects_IAudioEffectDefinitionFactory::CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const + template auto consume_Windows_Media_Effects_IAudioEffectDefinitionFactory::CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioEffectDefinitionFactory)->CreateWithProperties(*(void**)(&activatableClassId), *(void**)(&props), &value)); return winrt::Windows::Media::Effects::AudioEffectDefinition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioRenderEffectsManager) consume_Windows_Media_Effects_IAudioEffectsManagerStatics::CreateAudioRenderEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Render::AudioRenderCategory const& category) const + template auto consume_Windows_Media_Effects_IAudioEffectsManagerStatics::CreateAudioRenderEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Render::AudioRenderCategory const& category) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioEffectsManagerStatics)->CreateAudioRenderEffectsManager(*(void**)(&deviceId), static_cast(category), &value)); return winrt::Windows::Media::Effects::AudioRenderEffectsManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioRenderEffectsManager) consume_Windows_Media_Effects_IAudioEffectsManagerStatics::CreateAudioRenderEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Render::AudioRenderCategory const& category, winrt::Windows::Media::AudioProcessing const& mode) const + template auto consume_Windows_Media_Effects_IAudioEffectsManagerStatics::CreateAudioRenderEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Render::AudioRenderCategory const& category, winrt::Windows::Media::AudioProcessing const& mode) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioEffectsManagerStatics)->CreateAudioRenderEffectsManagerWithMode(*(void**)(&deviceId), static_cast(category), static_cast(mode), &value)); return winrt::Windows::Media::Effects::AudioRenderEffectsManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioCaptureEffectsManager) consume_Windows_Media_Effects_IAudioEffectsManagerStatics::CreateAudioCaptureEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Capture::MediaCategory const& category) const + template auto consume_Windows_Media_Effects_IAudioEffectsManagerStatics::CreateAudioCaptureEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Capture::MediaCategory const& category) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioEffectsManagerStatics)->CreateAudioCaptureEffectsManager(*(void**)(&deviceId), static_cast(category), &value)); return winrt::Windows::Media::Effects::AudioCaptureEffectsManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioCaptureEffectsManager) consume_Windows_Media_Effects_IAudioEffectsManagerStatics::CreateAudioCaptureEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::AudioProcessing const& mode) const + template auto consume_Windows_Media_Effects_IAudioEffectsManagerStatics::CreateAudioCaptureEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::AudioProcessing const& mode) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioEffectsManagerStatics)->CreateAudioCaptureEffectsManagerWithMode(*(void**)(&deviceId), static_cast(category), static_cast(mode), &value)); return winrt::Windows::Media::Effects::AudioCaptureEffectsManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Effects_IAudioRenderEffectsManager::AudioRenderEffectsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Effects_IAudioRenderEffectsManager::AudioRenderEffectsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioRenderEffectsManager)->add_AudioRenderEffectsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Effects_IAudioRenderEffectsManager::AudioRenderEffectsChanged_revoker consume_Windows_Media_Effects_IAudioRenderEffectsManager::AudioRenderEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Effects_IAudioRenderEffectsManager::AudioRenderEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AudioRenderEffectsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IAudioRenderEffectsManager::AudioRenderEffectsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Effects_IAudioRenderEffectsManager::AudioRenderEffectsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioRenderEffectsManager)->remove_AudioRenderEffectsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Effects_IAudioRenderEffectsManager::GetAudioRenderEffects() const + template auto consume_Windows_Media_Effects_IAudioRenderEffectsManager::GetAudioRenderEffects() const { void* effects{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioRenderEffectsManager)->GetAudioRenderEffects(&effects)); return winrt::Windows::Foundation::Collections::IVectorView{ effects, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) consume_Windows_Media_Effects_IAudioRenderEffectsManager2::EffectsProviderThumbnail() const + template auto consume_Windows_Media_Effects_IAudioRenderEffectsManager2::EffectsProviderThumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioRenderEffectsManager2)->get_EffectsProviderThumbnail(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Effects_IAudioRenderEffectsManager2::EffectsProviderSettingsLabel() const + template auto consume_Windows_Media_Effects_IAudioRenderEffectsManager2::EffectsProviderSettingsLabel() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioRenderEffectsManager2)->get_EffectsProviderSettingsLabel(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IAudioRenderEffectsManager2::ShowSettingsUI() const + template auto consume_Windows_Media_Effects_IAudioRenderEffectsManager2::ShowSettingsUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioRenderEffectsManager2)->ShowSettingsUI()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Effects_IBasicAudioEffect::UseInputFrameForOutput() const + template auto consume_Windows_Media_Effects_IBasicAudioEffect::UseInputFrameForOutput() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicAudioEffect)->get_UseInputFrameForOutput(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Effects_IBasicAudioEffect::SupportedEncodingProperties() const + template auto consume_Windows_Media_Effects_IBasicAudioEffect::SupportedEncodingProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicAudioEffect)->get_SupportedEncodingProperties(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IBasicAudioEffect::SetEncodingProperties(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const + template auto consume_Windows_Media_Effects_IBasicAudioEffect::SetEncodingProperties(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicAudioEffect)->SetEncodingProperties(*(void**)(&encodingProperties))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IBasicAudioEffect::ProcessFrame(winrt::Windows::Media::Effects::ProcessAudioFrameContext const& context) const + template auto consume_Windows_Media_Effects_IBasicAudioEffect::ProcessFrame(winrt::Windows::Media::Effects::ProcessAudioFrameContext const& context) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicAudioEffect)->ProcessFrame(*(void**)(&context))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IBasicAudioEffect::Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const + template auto consume_Windows_Media_Effects_IBasicAudioEffect::Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicAudioEffect)->Close(static_cast(reason))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IBasicAudioEffect::DiscardQueuedFrames() const + template auto consume_Windows_Media_Effects_IBasicAudioEffect::DiscardQueuedFrames() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicAudioEffect)->DiscardQueuedFrames()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Effects_IBasicVideoEffect::IsReadOnly() const + template auto consume_Windows_Media_Effects_IBasicVideoEffect::IsReadOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicVideoEffect)->get_IsReadOnly(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::MediaMemoryTypes) consume_Windows_Media_Effects_IBasicVideoEffect::SupportedMemoryTypes() const + template auto consume_Windows_Media_Effects_IBasicVideoEffect::SupportedMemoryTypes() const { winrt::Windows::Media::Effects::MediaMemoryTypes value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicVideoEffect)->get_SupportedMemoryTypes(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Effects_IBasicVideoEffect::TimeIndependent() const + template auto consume_Windows_Media_Effects_IBasicVideoEffect::TimeIndependent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicVideoEffect)->get_TimeIndependent(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Effects_IBasicVideoEffect::SupportedEncodingProperties() const + template auto consume_Windows_Media_Effects_IBasicVideoEffect::SupportedEncodingProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicVideoEffect)->get_SupportedEncodingProperties(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IBasicVideoEffect::SetEncodingProperties(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& encodingProperties, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const + template auto consume_Windows_Media_Effects_IBasicVideoEffect::SetEncodingProperties(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& encodingProperties, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicVideoEffect)->SetEncodingProperties(*(void**)(&encodingProperties), *(void**)(&device))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IBasicVideoEffect::ProcessFrame(winrt::Windows::Media::Effects::ProcessVideoFrameContext const& context) const + template auto consume_Windows_Media_Effects_IBasicVideoEffect::ProcessFrame(winrt::Windows::Media::Effects::ProcessVideoFrameContext const& context) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicVideoEffect)->ProcessFrame(*(void**)(&context))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IBasicVideoEffect::Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const + template auto consume_Windows_Media_Effects_IBasicVideoEffect::Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicVideoEffect)->Close(static_cast(reason))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IBasicVideoEffect::DiscardQueuedFrames() const + template auto consume_Windows_Media_Effects_IBasicVideoEffect::DiscardQueuedFrames() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicVideoEffect)->DiscardQueuedFrames()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Effects_ICompositeVideoFrameContext::SurfacesToOverlay() const + template auto consume_Windows_Media_Effects_ICompositeVideoFrameContext::SurfacesToOverlay() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::ICompositeVideoFrameContext)->get_SurfacesToOverlay(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_Effects_ICompositeVideoFrameContext::BackgroundFrame() const + template auto consume_Windows_Media_Effects_ICompositeVideoFrameContext::BackgroundFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::ICompositeVideoFrameContext)->get_BackgroundFrame(&value)); return winrt::Windows::Media::VideoFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_Effects_ICompositeVideoFrameContext::OutputFrame() const + template auto consume_Windows_Media_Effects_ICompositeVideoFrameContext::OutputFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::ICompositeVideoFrameContext)->get_OutputFrame(&value)); return winrt::Windows::Media::VideoFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlay) consume_Windows_Media_Effects_ICompositeVideoFrameContext::GetOverlayForSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surfaceToOverlay) const + template auto consume_Windows_Media_Effects_ICompositeVideoFrameContext::GetOverlayForSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surfaceToOverlay) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::ICompositeVideoFrameContext)->GetOverlayForSurface(*(void**)(&surfaceToOverlay), &value)); return winrt::Windows::Media::Editing::MediaOverlay{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) consume_Windows_Media_Effects_IProcessAudioFrameContext::InputFrame() const + template auto consume_Windows_Media_Effects_IProcessAudioFrameContext::InputFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IProcessAudioFrameContext)->get_InputFrame(&value)); return winrt::Windows::Media::AudioFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) consume_Windows_Media_Effects_IProcessAudioFrameContext::OutputFrame() const + template auto consume_Windows_Media_Effects_IProcessAudioFrameContext::OutputFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IProcessAudioFrameContext)->get_OutputFrame(&value)); return winrt::Windows::Media::AudioFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_Effects_IProcessVideoFrameContext::InputFrame() const + template auto consume_Windows_Media_Effects_IProcessVideoFrameContext::InputFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IProcessVideoFrameContext)->get_InputFrame(&value)); return winrt::Windows::Media::VideoFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_Effects_IProcessVideoFrameContext::OutputFrame() const + template auto consume_Windows_Media_Effects_IProcessVideoFrameContext::OutputFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IProcessVideoFrameContext)->get_OutputFrame(&value)); return winrt::Windows::Media::VideoFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Effects_ISlowMotionEffectDefinition::TimeStretchRate() const + template auto consume_Windows_Media_Effects_ISlowMotionEffectDefinition::TimeStretchRate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::ISlowMotionEffectDefinition)->get_TimeStretchRate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_ISlowMotionEffectDefinition::TimeStretchRate(double value) const + template auto consume_Windows_Media_Effects_ISlowMotionEffectDefinition::TimeStretchRate(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::ISlowMotionEffectDefinition)->put_TimeStretchRate(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Effects_IVideoCompositor::TimeIndependent() const + template auto consume_Windows_Media_Effects_IVideoCompositor::TimeIndependent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoCompositor)->get_TimeIndependent(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoCompositor::SetEncodingProperties(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& backgroundProperties, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const + template auto consume_Windows_Media_Effects_IVideoCompositor::SetEncodingProperties(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& backgroundProperties, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoCompositor)->SetEncodingProperties(*(void**)(&backgroundProperties), *(void**)(&device))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoCompositor::CompositeFrame(winrt::Windows::Media::Effects::CompositeVideoFrameContext const& context) const + template auto consume_Windows_Media_Effects_IVideoCompositor::CompositeFrame(winrt::Windows::Media::Effects::CompositeVideoFrameContext const& context) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoCompositor)->CompositeFrame(*(void**)(&context))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoCompositor::Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const + template auto consume_Windows_Media_Effects_IVideoCompositor::Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoCompositor)->Close(static_cast(reason))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoCompositor::DiscardQueuedFrames() const + template auto consume_Windows_Media_Effects_IVideoCompositor::DiscardQueuedFrames() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoCompositor)->DiscardQueuedFrames()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Effects_IVideoCompositorDefinition::ActivatableClassId() const + template auto consume_Windows_Media_Effects_IVideoCompositorDefinition::ActivatableClassId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoCompositorDefinition)->get_ActivatableClassId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Media_Effects_IVideoCompositorDefinition::Properties() const + template auto consume_Windows_Media_Effects_IVideoCompositorDefinition::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoCompositorDefinition)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::VideoCompositorDefinition) consume_Windows_Media_Effects_IVideoCompositorDefinitionFactory::Create(param::hstring const& activatableClassId) const + template auto consume_Windows_Media_Effects_IVideoCompositorDefinitionFactory::Create(param::hstring const& activatableClassId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoCompositorDefinitionFactory)->Create(*(void**)(&activatableClassId), &value)); return winrt::Windows::Media::Effects::VideoCompositorDefinition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::VideoCompositorDefinition) consume_Windows_Media_Effects_IVideoCompositorDefinitionFactory::CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const + template auto consume_Windows_Media_Effects_IVideoCompositorDefinitionFactory::CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoCompositorDefinitionFactory)->CreateWithProperties(*(void**)(&activatableClassId), *(void**)(&props), &value)); return winrt::Windows::Media::Effects::VideoCompositorDefinition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Effects_IVideoEffectDefinition::ActivatableClassId() const + template auto consume_Windows_Media_Effects_IVideoEffectDefinition::ActivatableClassId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoEffectDefinition)->get_ActivatableClassId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Media_Effects_IVideoEffectDefinition::Properties() const + template auto consume_Windows_Media_Effects_IVideoEffectDefinition::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoEffectDefinition)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::VideoEffectDefinition) consume_Windows_Media_Effects_IVideoEffectDefinitionFactory::Create(param::hstring const& activatableClassId) const + template auto consume_Windows_Media_Effects_IVideoEffectDefinitionFactory::Create(param::hstring const& activatableClassId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoEffectDefinitionFactory)->Create(*(void**)(&activatableClassId), &value)); return winrt::Windows::Media::Effects::VideoEffectDefinition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::VideoEffectDefinition) consume_Windows_Media_Effects_IVideoEffectDefinitionFactory::CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const + template auto consume_Windows_Media_Effects_IVideoEffectDefinitionFactory::CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoEffectDefinitionFactory)->CreateWithProperties(*(void**)(&activatableClassId), *(void**)(&props), &value)); return winrt::Windows::Media::Effects::VideoEffectDefinition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_Effects_IVideoTransformEffectDefinition::PaddingColor() const + template auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition::PaddingColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->get_PaddingColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformEffectDefinition::PaddingColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition::PaddingColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->put_PaddingColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Media_Effects_IVideoTransformEffectDefinition::OutputSize() const + template auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition::OutputSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->get_OutputSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformEffectDefinition::OutputSize(winrt::Windows::Foundation::Size const& value) const + template auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition::OutputSize(winrt::Windows::Foundation::Size const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->put_OutputSize(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Media_Effects_IVideoTransformEffectDefinition::CropRectangle() const + template auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition::CropRectangle() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->get_CropRectangle(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformEffectDefinition::CropRectangle(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition::CropRectangle(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->put_CropRectangle(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRotation) consume_Windows_Media_Effects_IVideoTransformEffectDefinition::Rotation() const + template auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition::Rotation() const { winrt::Windows::Media::MediaProperties::MediaRotation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->get_Rotation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformEffectDefinition::Rotation(winrt::Windows::Media::MediaProperties::MediaRotation const& value) const + template auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition::Rotation(winrt::Windows::Media::MediaProperties::MediaRotation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->put_Rotation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaMirroringOptions) consume_Windows_Media_Effects_IVideoTransformEffectDefinition::Mirror() const + template auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition::Mirror() const { winrt::Windows::Media::MediaProperties::MediaMirroringOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->get_Mirror(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformEffectDefinition::Mirror(winrt::Windows::Media::MediaProperties::MediaMirroringOptions const& value) const + template auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition::Mirror(winrt::Windows::Media::MediaProperties::MediaMirroringOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->put_Mirror(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformEffectDefinition::ProcessingAlgorithm(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm const& value) const + template auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition::ProcessingAlgorithm(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->put_ProcessingAlgorithm(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm) consume_Windows_Media_Effects_IVideoTransformEffectDefinition::ProcessingAlgorithm() const + template auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition::ProcessingAlgorithm() const { winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->get_ProcessingAlgorithm(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::VideoTransformSphericalProjection) consume_Windows_Media_Effects_IVideoTransformEffectDefinition2::SphericalProjection() const + template auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition2::SphericalProjection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition2)->get_SphericalProjection(&value)); return winrt::Windows::Media::Effects::VideoTransformSphericalProjection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Effects_IVideoTransformSphericalProjection::IsEnabled() const + template auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformSphericalProjection::IsEnabled(bool value) const + template auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat) consume_Windows_Media_Effects_IVideoTransformSphericalProjection::FrameFormat() const + template auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection::FrameFormat() const { winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->get_FrameFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformSphericalProjection::FrameFormat(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat const& value) const + template auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection::FrameFormat(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->put_FrameFormat(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::SphericalVideoProjectionMode) consume_Windows_Media_Effects_IVideoTransformSphericalProjection::ProjectionMode() const + template auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection::ProjectionMode() const { winrt::Windows::Media::Playback::SphericalVideoProjectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->get_ProjectionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformSphericalProjection::ProjectionMode(winrt::Windows::Media::Playback::SphericalVideoProjectionMode const& value) const + template auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection::ProjectionMode(winrt::Windows::Media::Playback::SphericalVideoProjectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->put_ProjectionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Effects_IVideoTransformSphericalProjection::HorizontalFieldOfViewInDegrees() const + template auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection::HorizontalFieldOfViewInDegrees() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->get_HorizontalFieldOfViewInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformSphericalProjection::HorizontalFieldOfViewInDegrees(double value) const + template auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection::HorizontalFieldOfViewInDegrees(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->put_HorizontalFieldOfViewInDegrees(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_Media_Effects_IVideoTransformSphericalProjection::ViewOrientation() const + template auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection::ViewOrientation() const { winrt::Windows::Foundation::Numerics::quaternion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->get_ViewOrientation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformSphericalProjection::ViewOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const + template auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection::ViewOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->put_ViewOrientation(impl::bind_in(value))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.FaceAnalysis.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.FaceAnalysis.h index fd5a4529..1cf99466 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.FaceAnalysis.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.FaceAnalysis.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_FaceAnalysis_H #define WINRT_Windows_Media_FaceAnalysis_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,113 +14,113 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.FaceAnalysis.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapBounds) consume_Windows_Media_FaceAnalysis_IDetectedFace::FaceBox() const + template auto consume_Windows_Media_FaceAnalysis_IDetectedFace::FaceBox() const { winrt::Windows::Graphics::Imaging::BitmapBounds returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IDetectedFace)->get_FaceBox(put_abi(returnValue))); return returnValue; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Media_FaceAnalysis_IFaceDetector::DetectFacesAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& image) const + template auto consume_Windows_Media_FaceAnalysis_IFaceDetector::DetectFacesAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& image) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceDetector)->DetectFacesAsync(*(void**)(&image), &returnValue)); return winrt::Windows::Foundation::IAsyncOperation>{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Media_FaceAnalysis_IFaceDetector::DetectFacesAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& image, winrt::Windows::Graphics::Imaging::BitmapBounds const& searchArea) const + template auto consume_Windows_Media_FaceAnalysis_IFaceDetector::DetectFacesAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& image, winrt::Windows::Graphics::Imaging::BitmapBounds const& searchArea) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceDetector)->DetectFacesWithSearchAreaAsync(*(void**)(&image), impl::bind_in(searchArea), &returnValue)); return winrt::Windows::Foundation::IAsyncOperation>{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapSize) consume_Windows_Media_FaceAnalysis_IFaceDetector::MinDetectableFaceSize() const + template auto consume_Windows_Media_FaceAnalysis_IFaceDetector::MinDetectableFaceSize() const { winrt::Windows::Graphics::Imaging::BitmapSize returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceDetector)->get_MinDetectableFaceSize(put_abi(returnValue))); return returnValue; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_FaceAnalysis_IFaceDetector::MinDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const + template auto consume_Windows_Media_FaceAnalysis_IFaceDetector::MinDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceDetector)->put_MinDetectableFaceSize(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapSize) consume_Windows_Media_FaceAnalysis_IFaceDetector::MaxDetectableFaceSize() const + template auto consume_Windows_Media_FaceAnalysis_IFaceDetector::MaxDetectableFaceSize() const { winrt::Windows::Graphics::Imaging::BitmapSize returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceDetector)->get_MaxDetectableFaceSize(put_abi(returnValue))); return returnValue; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_FaceAnalysis_IFaceDetector::MaxDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const + template auto consume_Windows_Media_FaceAnalysis_IFaceDetector::MaxDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceDetector)->put_MaxDetectableFaceSize(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics::CreateAsync() const + template auto consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics::CreateAsync() const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceDetectorStatics)->CreateAsync(&returnValue)); return winrt::Windows::Foundation::IAsyncOperation{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics::GetSupportedBitmapPixelFormats() const + template auto consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics::GetSupportedBitmapPixelFormats() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceDetectorStatics)->GetSupportedBitmapPixelFormats(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics::IsBitmapPixelFormatSupported(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& bitmapPixelFormat) const + template auto consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics::IsBitmapPixelFormatSupported(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& bitmapPixelFormat) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceDetectorStatics)->IsBitmapPixelFormatSupported(static_cast(bitmapPixelFormat), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics::IsSupported() const + template auto consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics::IsSupported() const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceDetectorStatics)->get_IsSupported(&returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Media_FaceAnalysis_IFaceTracker::ProcessNextFrameAsync(winrt::Windows::Media::VideoFrame const& videoFrame) const + template auto consume_Windows_Media_FaceAnalysis_IFaceTracker::ProcessNextFrameAsync(winrt::Windows::Media::VideoFrame const& videoFrame) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceTracker)->ProcessNextFrameAsync(*(void**)(&videoFrame), &returnValue)); return winrt::Windows::Foundation::IAsyncOperation>{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapSize) consume_Windows_Media_FaceAnalysis_IFaceTracker::MinDetectableFaceSize() const + template auto consume_Windows_Media_FaceAnalysis_IFaceTracker::MinDetectableFaceSize() const { winrt::Windows::Graphics::Imaging::BitmapSize returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceTracker)->get_MinDetectableFaceSize(put_abi(returnValue))); return returnValue; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_FaceAnalysis_IFaceTracker::MinDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const + template auto consume_Windows_Media_FaceAnalysis_IFaceTracker::MinDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceTracker)->put_MinDetectableFaceSize(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapSize) consume_Windows_Media_FaceAnalysis_IFaceTracker::MaxDetectableFaceSize() const + template auto consume_Windows_Media_FaceAnalysis_IFaceTracker::MaxDetectableFaceSize() const { winrt::Windows::Graphics::Imaging::BitmapSize returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceTracker)->get_MaxDetectableFaceSize(put_abi(returnValue))); return returnValue; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_FaceAnalysis_IFaceTracker::MaxDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const + template auto consume_Windows_Media_FaceAnalysis_IFaceTracker::MaxDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceTracker)->put_MaxDetectableFaceSize(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics::CreateAsync() const + template auto consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics::CreateAsync() const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceTrackerStatics)->CreateAsync(&returnValue)); return winrt::Windows::Foundation::IAsyncOperation{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics::GetSupportedBitmapPixelFormats() const + template auto consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics::GetSupportedBitmapPixelFormats() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceTrackerStatics)->GetSupportedBitmapPixelFormats(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics::IsBitmapPixelFormatSupported(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& bitmapPixelFormat) const + template auto consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics::IsBitmapPixelFormatSupported(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& bitmapPixelFormat) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceTrackerStatics)->IsBitmapPixelFormatSupported(static_cast(bitmapPixelFormat), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics::IsSupported() const + template auto consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics::IsSupported() const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceTrackerStatics)->get_IsSupported(&returnValue)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Import.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Import.h index 60fd6bdc..cbd94545 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Import.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Import.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Import_H #define WINRT_Windows_Media_Import_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,791 +14,791 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Import.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSession) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::Session() const + template auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::Session() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_Session(&value)); return winrt::Windows::Media::Import::PhotoImportSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::HasSucceeded() const + template auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::HasSucceeded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_HasSucceeded(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::DeletedItems() const + template auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::DeletedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_DeletedItems(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::PhotosCount() const + template auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::PhotosCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_PhotosCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::PhotosSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::PhotosSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_PhotosSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::VideosCount() const + template auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::VideosCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_VideosCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::VideosSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::VideosSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_VideosSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::SidecarsCount() const + template auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::SidecarsCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_SidecarsCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::SidecarsSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::SidecarsSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_SidecarsSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::SiblingsCount() const + template auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::SiblingsCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_SiblingsCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::SiblingsSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::SiblingsSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_SiblingsSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::TotalCount() const + template auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::TotalCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_TotalCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::TotalSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult::TotalSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_TotalSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSession) consume_Windows_Media_Import_IPhotoImportFindItemsResult::Session() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::Session() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_Session(&value)); return winrt::Windows::Media::Import::PhotoImportSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Import_IPhotoImportFindItemsResult::HasSucceeded() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::HasSucceeded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_HasSucceeded(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Import_IPhotoImportFindItemsResult::FoundItems() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::FoundItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_FoundItems(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::PhotosCount() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::PhotosCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_PhotosCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::PhotosSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::PhotosSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_PhotosSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::VideosCount() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::VideosCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_VideosCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::VideosSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::VideosSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_VideosSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SidecarsCount() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SidecarsCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SidecarsCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SidecarsSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SidecarsSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SidecarsSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SiblingsCount() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SiblingsCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SiblingsCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SiblingsSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SiblingsSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SiblingsSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::TotalCount() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::TotalCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_TotalCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::TotalSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::TotalSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_TotalSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectAll() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->SelectAll()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectNone() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectNone() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->SelectNone()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectNewAsync() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectNewAsync() const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->SelectNewAsync(&action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SetImportMode(winrt::Windows::Media::Import::PhotoImportImportMode const& value) const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SetImportMode(winrt::Windows::Media::Import::PhotoImportImportMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->SetImportMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportImportMode) consume_Windows_Media_Import_IPhotoImportFindItemsResult::ImportMode() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::ImportMode() const { winrt::Windows::Media::Import::PhotoImportImportMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_ImportMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedPhotosCount() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedPhotosCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedPhotosCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedPhotosSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedPhotosSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedPhotosSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedVideosCount() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedVideosCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedVideosCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedVideosSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedVideosSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedVideosSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedSidecarsCount() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedSidecarsCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedSidecarsCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedSidecarsSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedSidecarsSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedSidecarsSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedSiblingsCount() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedSiblingsCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedSiblingsCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedSiblingsSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedSiblingsSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedSiblingsSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedTotalCount() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedTotalCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedTotalCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedTotalSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectedTotalSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedTotalSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectionChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectionChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->add_SelectionChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectionChanged_revoker consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, SelectionChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->remove_SelectionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Media_Import_IPhotoImportFindItemsResult::ImportItemsAsync() const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::ImportItemsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->ImportItemsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Import_IPhotoImportFindItemsResult::ItemImported(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::ItemImported(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->add_ItemImported(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Import_IPhotoImportFindItemsResult::ItemImported_revoker consume_Windows_Media_Import_IPhotoImportFindItemsResult::ItemImported(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::ItemImported(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, ItemImported(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportFindItemsResult::ItemImported(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult::ItemImported(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->remove_ItemImported(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportFindItemsResult2::AddItemsInDateRangeToSelection(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const + template auto consume_Windows_Media_Import_IPhotoImportFindItemsResult2::AddItemsInDateRangeToSelection(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult2)->AddItemsInDateRangeToSelection(impl::bind_in(rangeStart), impl::bind_in(rangeLength))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSession) consume_Windows_Media_Import_IPhotoImportImportItemsResult::Session() const + template auto consume_Windows_Media_Import_IPhotoImportImportItemsResult::Session() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_Session(&value)); return winrt::Windows::Media::Import::PhotoImportSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Import_IPhotoImportImportItemsResult::HasSucceeded() const + template auto consume_Windows_Media_Import_IPhotoImportImportItemsResult::HasSucceeded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_HasSucceeded(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Import_IPhotoImportImportItemsResult::ImportedItems() const + template auto consume_Windows_Media_Import_IPhotoImportImportItemsResult::ImportedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_ImportedItems(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult::PhotosCount() const + template auto consume_Windows_Media_Import_IPhotoImportImportItemsResult::PhotosCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_PhotosCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult::PhotosSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportImportItemsResult::PhotosSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_PhotosSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult::VideosCount() const + template auto consume_Windows_Media_Import_IPhotoImportImportItemsResult::VideosCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_VideosCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult::VideosSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportImportItemsResult::VideosSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_VideosSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult::SidecarsCount() const + template auto consume_Windows_Media_Import_IPhotoImportImportItemsResult::SidecarsCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_SidecarsCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult::SidecarsSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportImportItemsResult::SidecarsSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_SidecarsSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult::SiblingsCount() const + template auto consume_Windows_Media_Import_IPhotoImportImportItemsResult::SiblingsCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_SiblingsCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult::SiblingsSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportImportItemsResult::SiblingsSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_SiblingsSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult::TotalCount() const + template auto consume_Windows_Media_Import_IPhotoImportImportItemsResult::TotalCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_TotalCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult::TotalSizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportImportItemsResult::TotalSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_TotalSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Media_Import_IPhotoImportImportItemsResult::DeleteImportedItemsFromSourceAsync() const + template auto consume_Windows_Media_Import_IPhotoImportImportItemsResult::DeleteImportedItemsFromSourceAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->DeleteImportedItemsFromSourceAsync(&result)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportItem::Name() const + template auto consume_Windows_Media_Import_IPhotoImportItem::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportItem::ItemKey() const + template auto consume_Windows_Media_Import_IPhotoImportItem::ItemKey() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_ItemKey(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportContentType) consume_Windows_Media_Import_IPhotoImportItem::ContentType() const + template auto consume_Windows_Media_Import_IPhotoImportItem::ContentType() const { winrt::Windows::Media::Import::PhotoImportContentType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_ContentType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportItem::SizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportItem::SizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_SizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Import_IPhotoImportItem::Date() const + template auto consume_Windows_Media_Import_IPhotoImportItem::Date() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_Date(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSidecar) consume_Windows_Media_Import_IPhotoImportItem::Sibling() const + template auto consume_Windows_Media_Import_IPhotoImportItem::Sibling() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_Sibling(&value)); return winrt::Windows::Media::Import::PhotoImportSidecar{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Import_IPhotoImportItem::Sidecars() const + template auto consume_Windows_Media_Import_IPhotoImportItem::Sidecars() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_Sidecars(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Import_IPhotoImportItem::VideoSegments() const + template auto consume_Windows_Media_Import_IPhotoImportItem::VideoSegments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_VideoSegments(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Import_IPhotoImportItem::IsSelected() const + template auto consume_Windows_Media_Import_IPhotoImportItem::IsSelected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_IsSelected(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportItem::IsSelected(bool value) const + template auto consume_Windows_Media_Import_IPhotoImportItem::IsSelected(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->put_IsSelected(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Media_Import_IPhotoImportItem::Thumbnail() const + template auto consume_Windows_Media_Import_IPhotoImportItem::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_Thumbnail(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Import_IPhotoImportItem::ImportedFileNames() const + template auto consume_Windows_Media_Import_IPhotoImportItem::ImportedFileNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_ImportedFileNames(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Import_IPhotoImportItem::DeletedFileNames() const + template auto consume_Windows_Media_Import_IPhotoImportItem::DeletedFileNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_DeletedFileNames(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportItem2::Path() const + template auto consume_Windows_Media_Import_IPhotoImportItem2::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem2)->get_Path(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportItem) consume_Windows_Media_Import_IPhotoImportItemImportedEventArgs::ImportedItem() const + template auto consume_Windows_Media_Import_IPhotoImportItemImportedEventArgs::ImportedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItemImportedEventArgs)->get_ImportedItem(&value)); return winrt::Windows::Media::Import::PhotoImportItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Import_IPhotoImportManagerStatics::IsSupportedAsync() const + template auto consume_Windows_Media_Import_IPhotoImportManagerStatics::IsSupportedAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportManagerStatics)->IsSupportedAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Media_Import_IPhotoImportManagerStatics::FindAllSourcesAsync() const + template auto consume_Windows_Media_Import_IPhotoImportManagerStatics::FindAllSourcesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportManagerStatics)->FindAllSourcesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Import_IPhotoImportManagerStatics::GetPendingOperations() const + template auto consume_Windows_Media_Import_IPhotoImportManagerStatics::GetPendingOperations() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportManagerStatics)->GetPendingOperations(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportStage) consume_Windows_Media_Import_IPhotoImportOperation::Stage() const + template auto consume_Windows_Media_Import_IPhotoImportOperation::Stage() const { winrt::Windows::Media::Import::PhotoImportStage value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportOperation)->get_Stage(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSession) consume_Windows_Media_Import_IPhotoImportOperation::Session() const + template auto consume_Windows_Media_Import_IPhotoImportOperation::Session() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportOperation)->get_Session(&value)); return winrt::Windows::Media::Import::PhotoImportSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Media_Import_IPhotoImportOperation::ContinueFindingItemsAsync() const + template auto consume_Windows_Media_Import_IPhotoImportOperation::ContinueFindingItemsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportOperation)->get_ContinueFindingItemsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Media_Import_IPhotoImportOperation::ContinueImportingItemsAsync() const + template auto consume_Windows_Media_Import_IPhotoImportOperation::ContinueImportingItemsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportOperation)->get_ContinueImportingItemsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Media_Import_IPhotoImportOperation::ContinueDeletingImportedItemsFromSourceAsync() const + template auto consume_Windows_Media_Import_IPhotoImportOperation::ContinueDeletingImportedItemsFromSourceAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportOperation)->get_ContinueDeletingImportedItemsFromSourceAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Import_IPhotoImportSelectionChangedEventArgs::IsSelectionEmpty() const + template auto consume_Windows_Media_Import_IPhotoImportSelectionChangedEventArgs::IsSelectionEmpty() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSelectionChangedEventArgs)->get_IsSelectionEmpty(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSource) consume_Windows_Media_Import_IPhotoImportSession::Source() const + template auto consume_Windows_Media_Import_IPhotoImportSession::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->get_Source(&value)); return winrt::Windows::Media::Import::PhotoImportSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Import_IPhotoImportSession::SessionId() const + template auto consume_Windows_Media_Import_IPhotoImportSession::SessionId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->get_SessionId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportSession::DestinationFolder(winrt::Windows::Storage::IStorageFolder const& value) const + template auto consume_Windows_Media_Import_IPhotoImportSession::DestinationFolder(winrt::Windows::Storage::IStorageFolder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->put_DestinationFolder(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFolder) consume_Windows_Media_Import_IPhotoImportSession::DestinationFolder() const + template auto consume_Windows_Media_Import_IPhotoImportSession::DestinationFolder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->get_DestinationFolder(&value)); return winrt::Windows::Storage::IStorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportSession::AppendSessionDateToDestinationFolder(bool value) const + template auto consume_Windows_Media_Import_IPhotoImportSession::AppendSessionDateToDestinationFolder(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->put_AppendSessionDateToDestinationFolder(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Import_IPhotoImportSession::AppendSessionDateToDestinationFolder() const + template auto consume_Windows_Media_Import_IPhotoImportSession::AppendSessionDateToDestinationFolder() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->get_AppendSessionDateToDestinationFolder(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportSession::SubfolderCreationMode(winrt::Windows::Media::Import::PhotoImportSubfolderCreationMode const& value) const + template auto consume_Windows_Media_Import_IPhotoImportSession::SubfolderCreationMode(winrt::Windows::Media::Import::PhotoImportSubfolderCreationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->put_SubfolderCreationMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSubfolderCreationMode) consume_Windows_Media_Import_IPhotoImportSession::SubfolderCreationMode() const + template auto consume_Windows_Media_Import_IPhotoImportSession::SubfolderCreationMode() const { winrt::Windows::Media::Import::PhotoImportSubfolderCreationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->get_SubfolderCreationMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportSession::DestinationFileNamePrefix(param::hstring const& value) const + template auto consume_Windows_Media_Import_IPhotoImportSession::DestinationFileNamePrefix(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->put_DestinationFileNamePrefix(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSession::DestinationFileNamePrefix() const + template auto consume_Windows_Media_Import_IPhotoImportSession::DestinationFileNamePrefix() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->get_DestinationFileNamePrefix(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Media_Import_IPhotoImportSession::FindItemsAsync(winrt::Windows::Media::Import::PhotoImportContentTypeFilter const& contentTypeFilter, winrt::Windows::Media::Import::PhotoImportItemSelectionMode const& itemSelectionMode) const + template auto consume_Windows_Media_Import_IPhotoImportSession::FindItemsAsync(winrt::Windows::Media::Import::PhotoImportContentTypeFilter const& contentTypeFilter, winrt::Windows::Media::Import::PhotoImportItemSelectionMode const& itemSelectionMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->FindItemsAsync(static_cast(contentTypeFilter), static_cast(itemSelectionMode), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportSession2::SubfolderDateFormat(winrt::Windows::Media::Import::PhotoImportSubfolderDateFormat const& value) const + template auto consume_Windows_Media_Import_IPhotoImportSession2::SubfolderDateFormat(winrt::Windows::Media::Import::PhotoImportSubfolderDateFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession2)->put_SubfolderDateFormat(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSubfolderDateFormat) consume_Windows_Media_Import_IPhotoImportSession2::SubfolderDateFormat() const + template auto consume_Windows_Media_Import_IPhotoImportSession2::SubfolderDateFormat() const { winrt::Windows::Media::Import::PhotoImportSubfolderDateFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession2)->get_SubfolderDateFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportSession2::RememberDeselectedItems(bool value) const + template auto consume_Windows_Media_Import_IPhotoImportSession2::RememberDeselectedItems(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession2)->put_RememberDeselectedItems(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Import_IPhotoImportSession2::RememberDeselectedItems() const + template auto consume_Windows_Media_Import_IPhotoImportSession2::RememberDeselectedItems() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession2)->get_RememberDeselectedItems(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSidecar::Name() const + template auto consume_Windows_Media_Import_IPhotoImportSidecar::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSidecar)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportSidecar::SizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportSidecar::SizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSidecar)->get_SizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Import_IPhotoImportSidecar::Date() const + template auto consume_Windows_Media_Import_IPhotoImportSidecar::Date() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSidecar)->get_Date(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSource::Id() const + template auto consume_Windows_Media_Import_IPhotoImportSource::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSource::DisplayName() const + template auto consume_Windows_Media_Import_IPhotoImportSource::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSource::Description() const + template auto consume_Windows_Media_Import_IPhotoImportSource::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSource::Manufacturer() const + template auto consume_Windows_Media_Import_IPhotoImportSource::Manufacturer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_Manufacturer(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSource::Model() const + template auto consume_Windows_Media_Import_IPhotoImportSource::Model() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_Model(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSource::SerialNumber() const + template auto consume_Windows_Media_Import_IPhotoImportSource::SerialNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_SerialNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSource::ConnectionProtocol() const + template auto consume_Windows_Media_Import_IPhotoImportSource::ConnectionProtocol() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_ConnectionProtocol(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportConnectionTransport) consume_Windows_Media_Import_IPhotoImportSource::ConnectionTransport() const + template auto consume_Windows_Media_Import_IPhotoImportSource::ConnectionTransport() const { winrt::Windows::Media::Import::PhotoImportConnectionTransport value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_ConnectionTransport(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSourceType) consume_Windows_Media_Import_IPhotoImportSource::Type() const + template auto consume_Windows_Media_Import_IPhotoImportSource::Type() const { winrt::Windows::Media::Import::PhotoImportSourceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportPowerSource) consume_Windows_Media_Import_IPhotoImportSource::PowerSource() const + template auto consume_Windows_Media_Import_IPhotoImportSource::PowerSource() const { winrt::Windows::Media::Import::PhotoImportPowerSource value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_PowerSource(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Import_IPhotoImportSource::BatteryLevelPercent() const + template auto consume_Windows_Media_Import_IPhotoImportSource::BatteryLevelPercent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_BatteryLevelPercent(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Import_IPhotoImportSource::DateTime() const + template auto consume_Windows_Media_Import_IPhotoImportSource::DateTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_DateTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Import_IPhotoImportSource::StorageMedia() const + template auto consume_Windows_Media_Import_IPhotoImportSource::StorageMedia() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_StorageMedia(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Import_IPhotoImportSource::IsLocked() const + template auto consume_Windows_Media_Import_IPhotoImportSource::IsLocked() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_IsLocked(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Import_IPhotoImportSource::IsMassStorage() const + template auto consume_Windows_Media_Import_IPhotoImportSource::IsMassStorage() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_IsMassStorage(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Media_Import_IPhotoImportSource::Thumbnail() const + template auto consume_Windows_Media_Import_IPhotoImportSource::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_Thumbnail(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSession) consume_Windows_Media_Import_IPhotoImportSource::CreateImportSession() const + template auto consume_Windows_Media_Import_IPhotoImportSource::CreateImportSession() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->CreateImportSession(&result)); return winrt::Windows::Media::Import::PhotoImportSession{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Import_IPhotoImportSourceStatics::FromIdAsync(param::hstring const& sourceId) const + template auto consume_Windows_Media_Import_IPhotoImportSourceStatics::FromIdAsync(param::hstring const& sourceId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSourceStatics)->FromIdAsync(*(void**)(&sourceId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Import_IPhotoImportSourceStatics::FromFolderAsync(winrt::Windows::Storage::IStorageFolder const& sourceRootFolder) const + template auto consume_Windows_Media_Import_IPhotoImportSourceStatics::FromFolderAsync(winrt::Windows::Storage::IStorageFolder const& sourceRootFolder) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSourceStatics)->FromFolderAsync(*(void**)(&sourceRootFolder), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportStorageMedium::Name() const + template auto consume_Windows_Media_Import_IPhotoImportStorageMedium::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportStorageMedium)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportStorageMedium::Description() const + template auto consume_Windows_Media_Import_IPhotoImportStorageMedium::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportStorageMedium)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportStorageMedium::SerialNumber() const + template auto consume_Windows_Media_Import_IPhotoImportStorageMedium::SerialNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportStorageMedium)->get_SerialNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportStorageMediumType) consume_Windows_Media_Import_IPhotoImportStorageMedium::StorageMediumType() const + template auto consume_Windows_Media_Import_IPhotoImportStorageMedium::StorageMediumType() const { winrt::Windows::Media::Import::PhotoImportStorageMediumType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportStorageMedium)->get_StorageMediumType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportAccessMode) consume_Windows_Media_Import_IPhotoImportStorageMedium::SupportedAccessMode() const + template auto consume_Windows_Media_Import_IPhotoImportStorageMedium::SupportedAccessMode() const { winrt::Windows::Media::Import::PhotoImportAccessMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportStorageMedium)->get_SupportedAccessMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportStorageMedium::CapacityInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportStorageMedium::CapacityInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportStorageMedium)->get_CapacityInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportStorageMedium::AvailableSpaceInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportStorageMedium::AvailableSpaceInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportStorageMedium)->get_AvailableSpaceInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportStorageMedium::Refresh() const + template auto consume_Windows_Media_Import_IPhotoImportStorageMedium::Refresh() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportStorageMedium)->Refresh()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportVideoSegment::Name() const + template auto consume_Windows_Media_Import_IPhotoImportVideoSegment::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportVideoSegment)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportVideoSegment::SizeInBytes() const + template auto consume_Windows_Media_Import_IPhotoImportVideoSegment::SizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportVideoSegment)->get_SizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Import_IPhotoImportVideoSegment::Date() const + template auto consume_Windows_Media_Import_IPhotoImportVideoSegment::Date() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportVideoSegment)->get_Date(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSidecar) consume_Windows_Media_Import_IPhotoImportVideoSegment::Sibling() const + template auto consume_Windows_Media_Import_IPhotoImportVideoSegment::Sibling() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportVideoSegment)->get_Sibling(&value)); return winrt::Windows::Media::Import::PhotoImportSidecar{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Import_IPhotoImportVideoSegment::Sidecars() const + template auto consume_Windows_Media_Import_IPhotoImportVideoSegment::Sidecars() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportVideoSegment)->get_Sidecars(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.MediaProperties.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.MediaProperties.h index 7ed7bcd9..1f35648e 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.MediaProperties.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.MediaProperties.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_MediaProperties_H #define WINRT_Windows_Media_MediaProperties_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,887 +15,887 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.MediaProperties.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IAudioEncodingProperties::Bitrate(uint32_t value) const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties::Bitrate(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties)->put_Bitrate(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IAudioEncodingProperties::Bitrate() const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties::Bitrate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties)->get_Bitrate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IAudioEncodingProperties::ChannelCount(uint32_t value) const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties::ChannelCount(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties)->put_ChannelCount(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IAudioEncodingProperties::ChannelCount() const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties::ChannelCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties)->get_ChannelCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IAudioEncodingProperties::SampleRate(uint32_t value) const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties::SampleRate(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties)->put_SampleRate(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IAudioEncodingProperties::SampleRate() const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties::SampleRate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties)->get_SampleRate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IAudioEncodingProperties::BitsPerSample(uint32_t value) const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties::BitsPerSample(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties)->put_BitsPerSample(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IAudioEncodingProperties::BitsPerSample() const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties::BitsPerSample() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties)->get_BitsPerSample(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_MediaProperties_IAudioEncodingProperties2::IsSpatial() const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties2::IsSpatial() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties2)->get_IsSpatial(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IAudioEncodingProperties3::Copy() const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties3::Copy() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties3)->Copy(&result)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics::CreateAac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics::CreateAac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingPropertiesStatics)->CreateAac(sampleRate, channelCount, bitrate, &value)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics::CreateAacAdts(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics::CreateAacAdts(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingPropertiesStatics)->CreateAacAdts(sampleRate, channelCount, bitrate, &value)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics::CreateMp3(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics::CreateMp3(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingPropertiesStatics)->CreateMp3(sampleRate, channelCount, bitrate, &value)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics::CreatePcm(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics::CreatePcm(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingPropertiesStatics)->CreatePcm(sampleRate, channelCount, bitsPerSample, &value)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics::CreateWma(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics::CreateWma(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingPropertiesStatics)->CreateWma(sampleRate, channelCount, bitrate, &value)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics2::CreateAlac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics2::CreateAlac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingPropertiesStatics2)->CreateAlac(sampleRate, channelCount, bitsPerSample, &value)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics2::CreateFlac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics2::CreateFlac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingPropertiesStatics2)->CreateFlac(sampleRate, channelCount, bitsPerSample, &value)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesWithFormatUserData::SetFormatUserData(array_view value) const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesWithFormatUserData::SetFormatUserData(array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingPropertiesWithFormatUserData)->SetFormatUserData(value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesWithFormatUserData::GetFormatUserData(com_array& value) const + template auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesWithFormatUserData::GetFormatUserData(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingPropertiesWithFormatUserData)->GetFormatUserData(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ContainerEncodingProperties) consume_Windows_Media_MediaProperties_IContainerEncodingProperties2::Copy() const + template auto consume_Windows_Media_MediaProperties_IContainerEncodingProperties2::Copy() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IContainerEncodingProperties2)->Copy(&result)); return winrt::Windows::Media::MediaProperties::ContainerEncodingProperties{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::ConstrainedBaseline() const + template auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::ConstrainedBaseline() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_ConstrainedBaseline(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::Baseline() const + template auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::Baseline() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_Baseline(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::Extended() const + template auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::Extended() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_Extended(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::Main() const + template auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::Main() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_Main(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::High() const + template auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::High() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_High(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::High10() const + template auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::High10() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_High10(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::High422() const + template auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::High422() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_High422(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::High444() const + template auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::High444() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_High444(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::StereoHigh() const + template auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::StereoHigh() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_StereoHigh(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::MultiviewHigh() const + template auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics::MultiviewHigh() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_MultiviewHigh(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IImageEncodingProperties::Width(uint32_t value) const + template auto consume_Windows_Media_MediaProperties_IImageEncodingProperties::Width(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IImageEncodingProperties)->put_Width(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IImageEncodingProperties::Width() const + template auto consume_Windows_Media_MediaProperties_IImageEncodingProperties::Width() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IImageEncodingProperties)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IImageEncodingProperties::Height(uint32_t value) const + template auto consume_Windows_Media_MediaProperties_IImageEncodingProperties::Height(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IImageEncodingProperties)->put_Height(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IImageEncodingProperties::Height() const + template auto consume_Windows_Media_MediaProperties_IImageEncodingProperties::Height() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IImageEncodingProperties)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) consume_Windows_Media_MediaProperties_IImageEncodingProperties2::Copy() const + template auto consume_Windows_Media_MediaProperties_IImageEncodingProperties2::Copy() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IImageEncodingProperties2)->Copy(&result)); return winrt::Windows::Media::MediaProperties::ImageEncodingProperties{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics::CreateJpeg() const + template auto consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics::CreateJpeg() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IImageEncodingPropertiesStatics)->CreateJpeg(&value)); return winrt::Windows::Media::MediaProperties::ImageEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics::CreatePng() const + template auto consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics::CreatePng() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IImageEncodingPropertiesStatics)->CreatePng(&value)); return winrt::Windows::Media::MediaProperties::ImageEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics::CreateJpegXR() const + template auto consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics::CreateJpegXR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IImageEncodingPropertiesStatics)->CreateJpegXR(&value)); return winrt::Windows::Media::MediaProperties::ImageEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics2::CreateUncompressed(winrt::Windows::Media::MediaProperties::MediaPixelFormat const& format) const + template auto consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics2::CreateUncompressed(winrt::Windows::Media::MediaProperties::MediaPixelFormat const& format) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IImageEncodingPropertiesStatics2)->CreateUncompressed(static_cast(format), &value)); return winrt::Windows::Media::MediaProperties::ImageEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics2::CreateBmp() const + template auto consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics2::CreateBmp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IImageEncodingPropertiesStatics2)->CreateBmp(&value)); return winrt::Windows::Media::MediaProperties::ImageEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics3::CreateHeif() const + template auto consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics3::CreateHeif() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IImageEncodingPropertiesStatics3)->CreateHeif(&result)); return winrt::Windows::Media::MediaProperties::ImageEncodingProperties{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaEncodingProfile::Audio(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& value) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile::Audio(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile)->put_Audio(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IMediaEncodingProfile::Audio() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile::Audio() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile)->get_Audio(&value)); return winrt::Windows::Media::MediaProperties::AudioEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaEncodingProfile::Video(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& value) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile::Video(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile)->put_Video(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_MediaProperties_IMediaEncodingProfile::Video() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile::Video() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile)->get_Video(&value)); return winrt::Windows::Media::MediaProperties::VideoEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaEncodingProfile::Container(winrt::Windows::Media::MediaProperties::ContainerEncodingProperties const& value) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile::Container(winrt::Windows::Media::MediaProperties::ContainerEncodingProperties const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile)->put_Container(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ContainerEncodingProperties) consume_Windows_Media_MediaProperties_IMediaEncodingProfile::Container() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile::Container() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile)->get_Container(&value)); return winrt::Windows::Media::MediaProperties::ContainerEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaEncodingProfile2::SetAudioTracks(param::iterable const& value) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile2::SetAudioTracks(param::iterable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile2)->SetAudioTracks(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_MediaProperties_IMediaEncodingProfile2::GetAudioTracks() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile2::GetAudioTracks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile2)->GetAudioTracks(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaEncodingProfile2::SetVideoTracks(param::iterable const& value) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile2::SetVideoTracks(param::iterable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile2)->SetVideoTracks(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_MediaProperties_IMediaEncodingProfile2::GetVideoTracks() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile2::GetVideoTracks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile2)->GetVideoTracks(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaEncodingProfile3::SetTimedMetadataTracks(param::iterable const& value) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile3::SetTimedMetadataTracks(param::iterable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile3)->SetTimedMetadataTracks(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_MediaProperties_IMediaEncodingProfile3::GetTimedMetadataTracks() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile3::GetTimedMetadataTracks() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile3)->GetTimedMetadataTracks(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics::CreateM4a(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics::CreateM4a(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics)->CreateM4a(static_cast(quality), &value)); return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics::CreateMp3(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics::CreateMp3(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics)->CreateMp3(static_cast(quality), &value)); return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics::CreateWma(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics::CreateWma(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics)->CreateWma(static_cast(quality), &value)); return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics::CreateMp4(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics::CreateMp4(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics)->CreateMp4(static_cast(quality), &value)); return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics::CreateWmv(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics::CreateWmv(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics)->CreateWmv(static_cast(quality), &value)); return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics::CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics::CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics)->CreateFromFileAsync(*(void**)(&file), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics::CreateFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics::CreateFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics)->CreateFromStreamAsync(*(void**)(&stream), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics2::CreateWav(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics2::CreateWav(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics2)->CreateWav(static_cast(quality), &value)); return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics2::CreateAvi(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics2::CreateAvi(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics2)->CreateAvi(static_cast(quality), &value)); return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics3::CreateAlac(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics3::CreateAlac(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics3)->CreateAlac(static_cast(quality), &value)); return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics3::CreateFlac(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics3::CreateFlac(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics3)->CreateFlac(static_cast(quality), &value)); return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics3::CreateHevc(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics3::CreateHevc(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics3)->CreateHevc(static_cast(quality), &value)); return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaPropertySet) consume_Windows_Media_MediaProperties_IMediaEncodingProperties::Properties() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProperties::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties)->get_Properties(&value)); return winrt::Windows::Media::MediaProperties::MediaPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingProperties::Type() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProperties::Type() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties)->get_Type(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaEncodingProperties::Subtype(param::hstring const& value) const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProperties::Subtype(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties)->put_Subtype(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingProperties::Subtype() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingProperties::Subtype() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties)->get_Subtype(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Aac() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Aac() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Aac(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::AacAdts() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::AacAdts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_AacAdts(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Ac3() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Ac3() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Ac3(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::AmrNb() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::AmrNb() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_AmrNb(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::AmrWb() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::AmrWb() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_AmrWb(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Argb32() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Argb32() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Argb32(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Asf() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Asf() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Asf(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Avi() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Avi() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Avi(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Bgra8() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Bgra8() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Bgra8(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Bmp() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Bmp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Bmp(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Eac3() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Eac3() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Eac3(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Float() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Float() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Float(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Gif() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Gif() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Gif(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::H263() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::H263() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_H263(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::H264() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::H264() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_H264(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::H264Es() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::H264Es() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_H264Es(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Hevc() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Hevc() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Hevc(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::HevcEs() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::HevcEs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_HevcEs(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Iyuv() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Iyuv() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Iyuv(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Jpeg() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Jpeg() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Jpeg(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::JpegXr() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::JpegXr() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_JpegXr(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Mjpg() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Mjpg() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Mjpg(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Mpeg() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Mpeg() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Mpeg(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Mpeg1() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Mpeg1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Mpeg1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Mpeg2() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Mpeg2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Mpeg2(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Mp3() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Mp3() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Mp3(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Mpeg4() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Mpeg4() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Mpeg4(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Nv12() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Nv12() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Nv12(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Pcm() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Pcm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Pcm(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Png() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Png() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Png(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Rgb24() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Rgb24() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Rgb24(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Rgb32() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Rgb32() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Rgb32(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Tiff() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Tiff() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Tiff(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Wave() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Wave() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Wave(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Wma8() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Wma8() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Wma8(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Wma9() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Wma9() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Wma9(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Wmv3() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Wmv3() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Wmv3(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Wvc1() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Wvc1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Wvc1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Yuy2() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Yuy2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Yuy2(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Yv12() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics::Yv12() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics)->get_Yv12(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2::Vp9() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2::Vp9() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics2)->get_Vp9(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2::L8() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2::L8() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics2)->get_L8(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2::L16() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2::L16() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics2)->get_L16(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2::D16() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2::D16() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics2)->get_D16(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics3::Alac() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics3::Alac() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics3)->get_Alac(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics3::Flac() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics3::Flac() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics3)->get_Flac(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics4::P010() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics4::P010() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics4)->get_P010(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics5::Heif() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics5::Heif() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics5)->get_Heif(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6::Pgs() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6::Pgs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics6)->get_Pgs(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6::Srt() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6::Srt() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics6)->get_Srt(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6::Ssa() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6::Ssa() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics6)->get_Ssa(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6::VobSub() const + template auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6::VobSub() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics6)->get_VobSub(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaRatio::Numerator(uint32_t value) const + template auto consume_Windows_Media_MediaProperties_IMediaRatio::Numerator(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaRatio)->put_Numerator(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IMediaRatio::Numerator() const + template auto consume_Windows_Media_MediaProperties_IMediaRatio::Numerator() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaRatio)->get_Numerator(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaRatio::Denominator(uint32_t value) const + template auto consume_Windows_Media_MediaProperties_IMediaRatio::Denominator(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaRatio)->put_Denominator(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IMediaRatio::Denominator() const + template auto consume_Windows_Media_MediaProperties_IMediaRatio::Denominator() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaRatio)->get_Denominator(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics::Simple() const + template auto consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics::Simple() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMpeg2ProfileIdsStatics)->get_Simple(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics::Main() const + template auto consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics::Main() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMpeg2ProfileIdsStatics)->get_Main(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics::SignalNoiseRatioScalable() const + template auto consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics::SignalNoiseRatioScalable() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMpeg2ProfileIdsStatics)->get_SignalNoiseRatioScalable(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics::SpatiallyScalable() const + template auto consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics::SpatiallyScalable() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMpeg2ProfileIdsStatics)->get_SpatiallyScalable(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics::High() const + template auto consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics::High() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMpeg2ProfileIdsStatics)->get_High(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_ITimedMetadataEncodingProperties::SetFormatUserData(array_view value) const + template auto consume_Windows_Media_MediaProperties_ITimedMetadataEncodingProperties::SetFormatUserData(array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::ITimedMetadataEncodingProperties)->SetFormatUserData(value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_ITimedMetadataEncodingProperties::GetFormatUserData(com_array& value) const + template auto consume_Windows_Media_MediaProperties_ITimedMetadataEncodingProperties::GetFormatUserData(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::ITimedMetadataEncodingProperties)->GetFormatUserData(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) consume_Windows_Media_MediaProperties_ITimedMetadataEncodingProperties::Copy() const + template auto consume_Windows_Media_MediaProperties_ITimedMetadataEncodingProperties::Copy() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::ITimedMetadataEncodingProperties)->Copy(&result)); return winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics::CreatePgs() const + template auto consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics::CreatePgs() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::ITimedMetadataEncodingPropertiesStatics)->CreatePgs(&result)); return winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics::CreateSrt() const + template auto consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics::CreateSrt() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::ITimedMetadataEncodingPropertiesStatics)->CreateSrt(&result)); return winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics::CreateSsa(array_view formatUserData) const + template auto consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics::CreateSsa(array_view formatUserData) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::ITimedMetadataEncodingPropertiesStatics)->CreateSsa(formatUserData.size(), get_abi(formatUserData), &result)); return winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics::CreateVobSub(array_view formatUserData) const + template auto consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics::CreateVobSub(array_view formatUserData) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::ITimedMetadataEncodingPropertiesStatics)->CreateVobSub(formatUserData.size(), get_abi(formatUserData), &result)); return winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IVideoEncodingProperties::Bitrate(uint32_t value) const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties::Bitrate(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties)->put_Bitrate(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IVideoEncodingProperties::Bitrate() const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties::Bitrate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties)->get_Bitrate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IVideoEncodingProperties::Width(uint32_t value) const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties::Width(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties)->put_Width(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IVideoEncodingProperties::Width() const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties::Width() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IVideoEncodingProperties::Height(uint32_t value) const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties::Height(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties)->put_Height(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IVideoEncodingProperties::Height() const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties::Height() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_MediaProperties_IVideoEncodingProperties::FrameRate() const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties::FrameRate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties)->get_FrameRate(&value)); return winrt::Windows::Media::MediaProperties::MediaRatio{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_MediaProperties_IVideoEncodingProperties::PixelAspectRatio() const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties::PixelAspectRatio() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties)->get_PixelAspectRatio(&value)); return winrt::Windows::Media::MediaProperties::MediaRatio{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IVideoEncodingProperties2::SetFormatUserData(array_view value) const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties2::SetFormatUserData(array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties2)->SetFormatUserData(value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IVideoEncodingProperties2::GetFormatUserData(com_array& value) const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties2::GetFormatUserData(com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties2)->GetFormatUserData(impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IVideoEncodingProperties2::ProfileId(int32_t value) const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties2::ProfileId(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties2)->put_ProfileId(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IVideoEncodingProperties2::ProfileId() const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties2::ProfileId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties2)->get_ProfileId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode) consume_Windows_Media_MediaProperties_IVideoEncodingProperties3::StereoscopicVideoPackingMode() const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties3::StereoscopicVideoPackingMode() const { winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties3)->get_StereoscopicVideoPackingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat) consume_Windows_Media_MediaProperties_IVideoEncodingProperties4::SphericalVideoFrameFormat() const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties4::SphericalVideoFrameFormat() const { winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties4)->get_SphericalVideoFrameFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_MediaProperties_IVideoEncodingProperties5::Copy() const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties5::Copy() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties5)->Copy(&result)); return winrt::Windows::Media::MediaProperties::VideoEncodingProperties{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics::CreateH264() const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics::CreateH264() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingPropertiesStatics)->CreateH264(&value)); return winrt::Windows::Media::MediaProperties::VideoEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics::CreateMpeg2() const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics::CreateMpeg2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingPropertiesStatics)->CreateMpeg2(&value)); return winrt::Windows::Media::MediaProperties::VideoEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics::CreateUncompressed(param::hstring const& subtype, uint32_t width, uint32_t height) const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics::CreateUncompressed(param::hstring const& subtype, uint32_t width, uint32_t height) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingPropertiesStatics)->CreateUncompressed(*(void**)(&subtype), width, height, &value)); return winrt::Windows::Media::MediaProperties::VideoEncodingProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics2::CreateHevc() const + template auto consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics2::CreateHevc() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingPropertiesStatics2)->CreateHevc(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Miracast.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Miracast.h index f171855d..33c3267d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Miracast.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Miracast.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Miracast_H #define WINRT_Windows_Media_Miracast_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.ApplicationModel.Core.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -16,611 +16,611 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Miracast.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverSettings) consume_Windows_Media_Miracast_IMiracastReceiver::GetDefaultSettings() const + template auto consume_Windows_Media_Miracast_IMiracastReceiver::GetDefaultSettings() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->GetDefaultSettings(&result)); return winrt::Windows::Media::Miracast::MiracastReceiverSettings{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverSettings) consume_Windows_Media_Miracast_IMiracastReceiver::GetCurrentSettings() const + template auto consume_Windows_Media_Miracast_IMiracastReceiver::GetCurrentSettings() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->GetCurrentSettings(&result)); return winrt::Windows::Media::Miracast::MiracastReceiverSettings{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Miracast_IMiracastReceiver::GetCurrentSettingsAsync() const + template auto consume_Windows_Media_Miracast_IMiracastReceiver::GetCurrentSettingsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->GetCurrentSettingsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverApplySettingsResult) consume_Windows_Media_Miracast_IMiracastReceiver::DisconnectAllAndApplySettings(winrt::Windows::Media::Miracast::MiracastReceiverSettings const& settings) const + template auto consume_Windows_Media_Miracast_IMiracastReceiver::DisconnectAllAndApplySettings(winrt::Windows::Media::Miracast::MiracastReceiverSettings const& settings) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->DisconnectAllAndApplySettings(*(void**)(&settings), &result)); return winrt::Windows::Media::Miracast::MiracastReceiverApplySettingsResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Miracast_IMiracastReceiver::DisconnectAllAndApplySettingsAsync(winrt::Windows::Media::Miracast::MiracastReceiverSettings const& settings) const + template auto consume_Windows_Media_Miracast_IMiracastReceiver::DisconnectAllAndApplySettingsAsync(winrt::Windows::Media::Miracast::MiracastReceiverSettings const& settings) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->DisconnectAllAndApplySettingsAsync(*(void**)(&settings), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverStatus) consume_Windows_Media_Miracast_IMiracastReceiver::GetStatus() const + template auto consume_Windows_Media_Miracast_IMiracastReceiver::GetStatus() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->GetStatus(&result)); return winrt::Windows::Media::Miracast::MiracastReceiverStatus{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Miracast_IMiracastReceiver::GetStatusAsync() const + template auto consume_Windows_Media_Miracast_IMiracastReceiver::GetStatusAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->GetStatusAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Miracast_IMiracastReceiver::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Miracast_IMiracastReceiver::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->add_StatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Miracast_IMiracastReceiver::StatusChanged_revoker consume_Windows_Media_Miracast_IMiracastReceiver::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Miracast_IMiracastReceiver::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiver::StatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Miracast_IMiracastReceiver::StatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->remove_StatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverSession) consume_Windows_Media_Miracast_IMiracastReceiver::CreateSession(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const + template auto consume_Windows_Media_Miracast_IMiracastReceiver::CreateSession(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->CreateSession(*(void**)(&view), &result)); return winrt::Windows::Media::Miracast::MiracastReceiverSession{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Miracast_IMiracastReceiver::CreateSessionAsync(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const + template auto consume_Windows_Media_Miracast_IMiracastReceiver::CreateSessionAsync(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->CreateSessionAsync(*(void**)(&view), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiver::ClearKnownTransmitters() const + template auto consume_Windows_Media_Miracast_IMiracastReceiver::ClearKnownTransmitters() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->ClearKnownTransmitters()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiver::RemoveKnownTransmitter(winrt::Windows::Media::Miracast::MiracastTransmitter const& transmitter) const + template auto consume_Windows_Media_Miracast_IMiracastReceiver::RemoveKnownTransmitter(winrt::Windows::Media::Miracast::MiracastTransmitter const& transmitter) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->RemoveKnownTransmitter(*(void**)(&transmitter))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverApplySettingsStatus) consume_Windows_Media_Miracast_IMiracastReceiverApplySettingsResult::Status() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverApplySettingsResult::Status() const { winrt::Windows::Media::Miracast::MiracastReceiverApplySettingsStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverApplySettingsResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Miracast_IMiracastReceiverApplySettingsResult::ExtendedError() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverApplySettingsResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverApplySettingsResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverConnection::Disconnect(winrt::Windows::Media::Miracast::MiracastReceiverDisconnectReason const& reason) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverConnection::Disconnect(winrt::Windows::Media::Miracast::MiracastReceiverDisconnectReason const& reason) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverConnection)->Disconnect(static_cast(reason))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverConnection::Disconnect(winrt::Windows::Media::Miracast::MiracastReceiverDisconnectReason const& reason, param::hstring const& message) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverConnection::Disconnect(winrt::Windows::Media::Miracast::MiracastReceiverDisconnectReason const& reason, param::hstring const& message) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverConnection)->DisconnectWithMessage(static_cast(reason), *(void**)(&message))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverConnection::Pause() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverConnection::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverConnection)->Pause()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Miracast_IMiracastReceiverConnection::PauseAsync() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverConnection::PauseAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverConnection)->PauseAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverConnection::Resume() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverConnection::Resume() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverConnection)->Resume()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Miracast_IMiracastReceiverConnection::ResumeAsync() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverConnection::ResumeAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverConnection)->ResumeAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastTransmitter) consume_Windows_Media_Miracast_IMiracastReceiverConnection::Transmitter() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverConnection::Transmitter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverConnection)->get_Transmitter(&value)); return winrt::Windows::Media::Miracast::MiracastTransmitter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverInputDevices) consume_Windows_Media_Miracast_IMiracastReceiverConnection::InputDevices() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverConnection::InputDevices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverConnection)->get_InputDevices(&value)); return winrt::Windows::Media::Miracast::MiracastReceiverInputDevices{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel) consume_Windows_Media_Miracast_IMiracastReceiverConnection::CursorImageChannel() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverConnection::CursorImageChannel() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverConnection)->get_CursorImageChannel(&value)); return winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverStreamControl) consume_Windows_Media_Miracast_IMiracastReceiverConnection::StreamControl() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverConnection::StreamControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverConnection)->get_StreamControl(&value)); return winrt::Windows::Media::Miracast::MiracastReceiverStreamControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverConnection) consume_Windows_Media_Miracast_IMiracastReceiverConnectionCreatedEventArgs::Connection() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverConnectionCreatedEventArgs::Connection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverConnectionCreatedEventArgs)->get_Connection(&value)); return winrt::Windows::Media::Miracast::MiracastReceiverConnection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Miracast_IMiracastReceiverConnectionCreatedEventArgs::Pin() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverConnectionCreatedEventArgs::Pin() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverConnectionCreatedEventArgs)->get_Pin(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Miracast_IMiracastReceiverConnectionCreatedEventArgs::GetDeferral() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverConnectionCreatedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverConnectionCreatedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::IsEnabled() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::MaxImageSize() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::MaxImageSize() const { winrt::Windows::Graphics::SizeInt32 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel)->get_MaxImageSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::PointInt32) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::Position() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::Position() const { winrt::Windows::Graphics::PointInt32 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::ImageStream() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::ImageStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel)->get_ImageStream(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::ImageStreamChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::ImageStreamChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel)->add_ImageStreamChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::ImageStreamChanged_revoker consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::ImageStreamChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::ImageStreamChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ImageStreamChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::ImageStreamChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::ImageStreamChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel)->remove_ImageStreamChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel)->add_PositionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::PositionChanged_revoker consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PositionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::PositionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel::PositionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel)->remove_PositionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings::IsEnabled() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannelSettings)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings::IsEnabled(bool value) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannelSettings)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings::MaxImageSize() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings::MaxImageSize() const { winrt::Windows::Graphics::SizeInt32 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannelSettings)->get_MaxImageSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings::MaxImageSize(winrt::Windows::Graphics::SizeInt32 const& value) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings::MaxImageSize(winrt::Windows::Graphics::SizeInt32 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannelSettings)->put_MaxImageSize(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverConnection) consume_Windows_Media_Miracast_IMiracastReceiverDisconnectedEventArgs::Connection() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverDisconnectedEventArgs::Connection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverDisconnectedEventArgs)->get_Connection(&value)); return winrt::Windows::Media::Miracast::MiracastReceiverConnection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::TransmitInput() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::TransmitInput() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice)->get_TransmitInput(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::TransmitInput(bool value) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::TransmitInput(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice)->put_TransmitInput(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::IsRequestedByTransmitter() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::IsRequestedByTransmitter() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice)->get_IsRequestedByTransmitter(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::IsTransmittingInput() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::IsTransmittingInput() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice)->get_IsTransmittingInput(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDeviceUsageMode) consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::Mode() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::Mode() const { winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDeviceUsageMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::Mode(winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDeviceUsageMode const& value) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::Mode(winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDeviceUsageMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice)->add_Changed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::Changed_revoker consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Changed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::Changed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice::Changed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice)->remove_Changed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverKeyboardDevice) consume_Windows_Media_Miracast_IMiracastReceiverInputDevices::Keyboard() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverInputDevices::Keyboard() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverInputDevices)->get_Keyboard(&value)); return winrt::Windows::Media::Miracast::MiracastReceiverKeyboardDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDevice) consume_Windows_Media_Miracast_IMiracastReceiverInputDevices::GameController() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverInputDevices::GameController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverInputDevices)->get_GameController(&value)); return winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice::TransmitInput() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice::TransmitInput() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice)->get_TransmitInput(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice::TransmitInput(bool value) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice::TransmitInput(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice)->put_TransmitInput(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice::IsRequestedByTransmitter() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice::IsRequestedByTransmitter() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice)->get_IsRequestedByTransmitter(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice::IsTransmittingInput() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice::IsTransmittingInput() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice)->get_IsTransmittingInput(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice)->add_Changed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice::Changed_revoker consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Changed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice::Changed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice::Changed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice)->remove_Changed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverConnection) consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs::Connection() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs::Connection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverMediaSourceCreatedEventArgs)->get_Connection(&value)); return winrt::Windows::Media::Miracast::MiracastReceiverConnection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs::MediaSource() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs::MediaSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverMediaSourceCreatedEventArgs)->get_MediaSource(&value)); return winrt::Windows::Media::Core::MediaSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannelSettings) consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs::CursorImageChannelSettings() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs::CursorImageChannelSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverMediaSourceCreatedEventArgs)->get_CursorImageChannelSettings(&value)); return winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannelSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs::GetDeferral() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverMediaSourceCreatedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Miracast_IMiracastReceiverSession::ConnectionCreated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSession::ConnectionCreated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->add_ConnectionCreated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Miracast_IMiracastReceiverSession::ConnectionCreated_revoker consume_Windows_Media_Miracast_IMiracastReceiverSession::ConnectionCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSession::ConnectionCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ConnectionCreated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSession::ConnectionCreated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Miracast_IMiracastReceiverSession::ConnectionCreated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->remove_ConnectionCreated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Miracast_IMiracastReceiverSession::MediaSourceCreated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSession::MediaSourceCreated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->add_MediaSourceCreated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Miracast_IMiracastReceiverSession::MediaSourceCreated_revoker consume_Windows_Media_Miracast_IMiracastReceiverSession::MediaSourceCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSession::MediaSourceCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MediaSourceCreated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSession::MediaSourceCreated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Miracast_IMiracastReceiverSession::MediaSourceCreated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->remove_MediaSourceCreated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Miracast_IMiracastReceiverSession::Disconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSession::Disconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->add_Disconnected(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Miracast_IMiracastReceiverSession::Disconnected_revoker consume_Windows_Media_Miracast_IMiracastReceiverSession::Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSession::Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Disconnected(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSession::Disconnected(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Miracast_IMiracastReceiverSession::Disconnected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->remove_Disconnected(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverSession::AllowConnectionTakeover() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSession::AllowConnectionTakeover() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->get_AllowConnectionTakeover(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSession::AllowConnectionTakeover(bool value) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSession::AllowConnectionTakeover(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->put_AllowConnectionTakeover(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Miracast_IMiracastReceiverSession::MaxSimultaneousConnections() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSession::MaxSimultaneousConnections() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->get_MaxSimultaneousConnections(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSession::MaxSimultaneousConnections(int32_t value) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSession::MaxSimultaneousConnections(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->put_MaxSimultaneousConnections(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverSessionStartResult) consume_Windows_Media_Miracast_IMiracastReceiverSession::Start() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSession::Start() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->Start(&result)); return winrt::Windows::Media::Miracast::MiracastReceiverSessionStartResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Miracast_IMiracastReceiverSession::StartAsync() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSession::StartAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->StartAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverSessionStartStatus) consume_Windows_Media_Miracast_IMiracastReceiverSessionStartResult::Status() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSessionStartResult::Status() const { winrt::Windows::Media::Miracast::MiracastReceiverSessionStartStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSessionStartResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Miracast_IMiracastReceiverSessionStartResult::ExtendedError() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSessionStartResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSessionStartResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Miracast_IMiracastReceiverSettings::FriendlyName() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSettings::FriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->get_FriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSettings::FriendlyName(param::hstring const& value) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSettings::FriendlyName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->put_FriendlyName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Miracast_IMiracastReceiverSettings::ModelName() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSettings::ModelName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->get_ModelName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSettings::ModelName(param::hstring const& value) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSettings::ModelName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->put_ModelName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Miracast_IMiracastReceiverSettings::ModelNumber() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSettings::ModelNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->get_ModelNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSettings::ModelNumber(param::hstring const& value) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSettings::ModelNumber(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->put_ModelNumber(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverAuthorizationMethod) consume_Windows_Media_Miracast_IMiracastReceiverSettings::AuthorizationMethod() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSettings::AuthorizationMethod() const { winrt::Windows::Media::Miracast::MiracastReceiverAuthorizationMethod value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->get_AuthorizationMethod(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSettings::AuthorizationMethod(winrt::Windows::Media::Miracast::MiracastReceiverAuthorizationMethod const& value) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSettings::AuthorizationMethod(winrt::Windows::Media::Miracast::MiracastReceiverAuthorizationMethod const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->put_AuthorizationMethod(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverSettings::RequireAuthorizationFromKnownTransmitters() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSettings::RequireAuthorizationFromKnownTransmitters() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->get_RequireAuthorizationFromKnownTransmitters(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSettings::RequireAuthorizationFromKnownTransmitters(bool value) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverSettings::RequireAuthorizationFromKnownTransmitters(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->put_RequireAuthorizationFromKnownTransmitters(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverListeningStatus) consume_Windows_Media_Miracast_IMiracastReceiverStatus::ListeningStatus() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverStatus::ListeningStatus() const { winrt::Windows::Media::Miracast::MiracastReceiverListeningStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStatus)->get_ListeningStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverWiFiStatus) consume_Windows_Media_Miracast_IMiracastReceiverStatus::WiFiStatus() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverStatus::WiFiStatus() const { winrt::Windows::Media::Miracast::MiracastReceiverWiFiStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStatus)->get_WiFiStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverStatus::IsConnectionTakeoverSupported() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverStatus::IsConnectionTakeoverSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStatus)->get_IsConnectionTakeoverSupported(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Miracast_IMiracastReceiverStatus::MaxSimultaneousConnections() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverStatus::MaxSimultaneousConnections() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStatus)->get_MaxSimultaneousConnections(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Miracast_IMiracastReceiverStatus::KnownTransmitters() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverStatus::KnownTransmitters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStatus)->get_KnownTransmitters(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings) consume_Windows_Media_Miracast_IMiracastReceiverStreamControl::GetVideoStreamSettings() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverStreamControl::GetVideoStreamSettings() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStreamControl)->GetVideoStreamSettings(&result)); return winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Miracast_IMiracastReceiverStreamControl::GetVideoStreamSettingsAsync() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverStreamControl::GetVideoStreamSettingsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStreamControl)->GetVideoStreamSettingsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverStreamControl::SuggestVideoStreamSettings(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings const& settings) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverStreamControl::SuggestVideoStreamSettings(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings const& settings) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStreamControl)->SuggestVideoStreamSettings(*(void**)(&settings))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Miracast_IMiracastReceiverStreamControl::SuggestVideoStreamSettingsAsync(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings const& settings) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverStreamControl::SuggestVideoStreamSettingsAsync(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings const& settings) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStreamControl)->SuggestVideoStreamSettingsAsync(*(void**)(&settings), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverStreamControl::MuteAudio() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverStreamControl::MuteAudio() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStreamControl)->get_MuteAudio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverStreamControl::MuteAudio(bool value) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverStreamControl::MuteAudio(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStreamControl)->put_MuteAudio(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings::Size() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings::Size() const { winrt::Windows::Graphics::SizeInt32 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverVideoStreamSettings)->get_Size(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings::Size(winrt::Windows::Graphics::SizeInt32 const& value) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings::Size(winrt::Windows::Graphics::SizeInt32 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverVideoStreamSettings)->put_Size(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings::Bitrate() const + template auto consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings::Bitrate() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverVideoStreamSettings)->get_Bitrate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings::Bitrate(int32_t value) const + template auto consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings::Bitrate(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverVideoStreamSettings)->put_Bitrate(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Miracast_IMiracastTransmitter::Name() const + template auto consume_Windows_Media_Miracast_IMiracastTransmitter::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastTransmitter)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastTransmitter::Name(param::hstring const& value) const + template auto consume_Windows_Media_Miracast_IMiracastTransmitter::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastTransmitter)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastTransmitterAuthorizationStatus) consume_Windows_Media_Miracast_IMiracastTransmitter::AuthorizationStatus() const + template auto consume_Windows_Media_Miracast_IMiracastTransmitter::AuthorizationStatus() const { winrt::Windows::Media::Miracast::MiracastTransmitterAuthorizationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastTransmitter)->get_AuthorizationStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastTransmitter::AuthorizationStatus(winrt::Windows::Media::Miracast::MiracastTransmitterAuthorizationStatus const& value) const + template auto consume_Windows_Media_Miracast_IMiracastTransmitter::AuthorizationStatus(winrt::Windows::Media::Miracast::MiracastTransmitterAuthorizationStatus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastTransmitter)->put_AuthorizationStatus(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Miracast_IMiracastTransmitter::GetConnections() const + template auto consume_Windows_Media_Miracast_IMiracastTransmitter::GetConnections() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastTransmitter)->GetConnections(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Miracast_IMiracastTransmitter::MacAddress() const + template auto consume_Windows_Media_Miracast_IMiracastTransmitter::MacAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastTransmitter)->get_MacAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Miracast_IMiracastTransmitter::LastConnectionTime() const + template auto consume_Windows_Media_Miracast_IMiracastTransmitter::LastConnectionTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastTransmitter)->get_LastConnectionTime(put_abi(value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Ocr.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Ocr.h index 2ddfa0d8..eca09d0b 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Ocr.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Ocr.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Ocr_H #define WINRT_Windows_Media_Ocr_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,85 +14,85 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Ocr.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Ocr_IOcrEngine::RecognizeAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const + template auto consume_Windows_Media_Ocr_IOcrEngine::RecognizeAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrEngine)->RecognizeAsync(*(void**)(&bitmap), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) consume_Windows_Media_Ocr_IOcrEngine::RecognizerLanguage() const + template auto consume_Windows_Media_Ocr_IOcrEngine::RecognizerLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrEngine)->get_RecognizerLanguage(&value)); return winrt::Windows::Globalization::Language{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Ocr_IOcrEngineStatics::MaxImageDimension() const + template auto consume_Windows_Media_Ocr_IOcrEngineStatics::MaxImageDimension() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrEngineStatics)->get_MaxImageDimension(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Ocr_IOcrEngineStatics::AvailableRecognizerLanguages() const + template auto consume_Windows_Media_Ocr_IOcrEngineStatics::AvailableRecognizerLanguages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrEngineStatics)->get_AvailableRecognizerLanguages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Ocr_IOcrEngineStatics::IsLanguageSupported(winrt::Windows::Globalization::Language const& language) const + template auto consume_Windows_Media_Ocr_IOcrEngineStatics::IsLanguageSupported(winrt::Windows::Globalization::Language const& language) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrEngineStatics)->IsLanguageSupported(*(void**)(&language), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Ocr::OcrEngine) consume_Windows_Media_Ocr_IOcrEngineStatics::TryCreateFromLanguage(winrt::Windows::Globalization::Language const& language) const + template auto consume_Windows_Media_Ocr_IOcrEngineStatics::TryCreateFromLanguage(winrt::Windows::Globalization::Language const& language) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrEngineStatics)->TryCreateFromLanguage(*(void**)(&language), &result)); return winrt::Windows::Media::Ocr::OcrEngine{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Ocr::OcrEngine) consume_Windows_Media_Ocr_IOcrEngineStatics::TryCreateFromUserProfileLanguages() const + template auto consume_Windows_Media_Ocr_IOcrEngineStatics::TryCreateFromUserProfileLanguages() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrEngineStatics)->TryCreateFromUserProfileLanguages(&result)); return winrt::Windows::Media::Ocr::OcrEngine{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Ocr_IOcrLine::Words() const + template auto consume_Windows_Media_Ocr_IOcrLine::Words() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrLine)->get_Words(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Ocr_IOcrLine::Text() const + template auto consume_Windows_Media_Ocr_IOcrLine::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrLine)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Ocr_IOcrResult::Lines() const + template auto consume_Windows_Media_Ocr_IOcrResult::Lines() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrResult)->get_Lines(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Ocr_IOcrResult::TextAngle() const + template auto consume_Windows_Media_Ocr_IOcrResult::TextAngle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrResult)->get_TextAngle(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Ocr_IOcrResult::Text() const + template auto consume_Windows_Media_Ocr_IOcrResult::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrResult)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Media_Ocr_IOcrWord::BoundingRect() const + template auto consume_Windows_Media_Ocr_IOcrWord::BoundingRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrWord)->get_BoundingRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Ocr_IOcrWord::Text() const + template auto consume_Windows_Media_Ocr_IOcrWord::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrWord)->get_Text(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.PlayTo.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.PlayTo.h index 4568b6af..c87d0035 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.PlayTo.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.PlayTo.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_PlayTo_H #define WINRT_Windows_Media_PlayTo_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,539 +13,539 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.PlayTo.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_PlayTo_ICurrentTimeChangeRequestedEventArgs::Time() const + template auto consume_Windows_Media_PlayTo_ICurrentTimeChangeRequestedEventArgs::Time() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::ICurrentTimeChangeRequestedEventArgs)->get_Time(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_PlayTo_IMuteChangeRequestedEventArgs::Mute() const + template auto consume_Windows_Media_PlayTo_IMuteChangeRequestedEventArgs::Mute() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IMuteChangeRequestedEventArgs)->get_Mute(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToConnectionState) consume_Windows_Media_PlayTo_IPlayToConnection::State() const + template auto consume_Windows_Media_PlayTo_IPlayToConnection::State() const { winrt::Windows::Media::PlayTo::PlayToConnectionState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnection)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToConnection::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToConnection::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnection)->add_StateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_PlayTo_IPlayToConnection::StateChanged_revoker consume_Windows_Media_PlayTo_IPlayToConnection::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToConnection::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToConnection::StateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_PlayTo_IPlayToConnection::StateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnection)->remove_StateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToConnection::Transferred(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToConnection::Transferred(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnection)->add_Transferred(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_PlayTo_IPlayToConnection::Transferred_revoker consume_Windows_Media_PlayTo_IPlayToConnection::Transferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToConnection::Transferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Transferred(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToConnection::Transferred(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_PlayTo_IPlayToConnection::Transferred(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnection)->remove_Transferred(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToConnection::Error(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToConnection::Error(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnection)->add_Error(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_PlayTo_IPlayToConnection::Error_revoker consume_Windows_Media_PlayTo_IPlayToConnection::Error(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToConnection::Error(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Error(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToConnection::Error(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_PlayTo_IPlayToConnection::Error(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnection)->remove_Error(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToConnectionError) consume_Windows_Media_PlayTo_IPlayToConnectionErrorEventArgs::Code() const + template auto consume_Windows_Media_PlayTo_IPlayToConnectionErrorEventArgs::Code() const { winrt::Windows::Media::PlayTo::PlayToConnectionError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnectionErrorEventArgs)->get_Code(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_PlayTo_IPlayToConnectionErrorEventArgs::Message() const + template auto consume_Windows_Media_PlayTo_IPlayToConnectionErrorEventArgs::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnectionErrorEventArgs)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToConnectionState) consume_Windows_Media_PlayTo_IPlayToConnectionStateChangedEventArgs::PreviousState() const + template auto consume_Windows_Media_PlayTo_IPlayToConnectionStateChangedEventArgs::PreviousState() const { winrt::Windows::Media::PlayTo::PlayToConnectionState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnectionStateChangedEventArgs)->get_PreviousState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToConnectionState) consume_Windows_Media_PlayTo_IPlayToConnectionStateChangedEventArgs::CurrentState() const + template auto consume_Windows_Media_PlayTo_IPlayToConnectionStateChangedEventArgs::CurrentState() const { winrt::Windows::Media::PlayTo::PlayToConnectionState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnectionStateChangedEventArgs)->get_CurrentState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSource) consume_Windows_Media_PlayTo_IPlayToConnectionTransferredEventArgs::PreviousSource() const + template auto consume_Windows_Media_PlayTo_IPlayToConnectionTransferredEventArgs::PreviousSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnectionTransferredEventArgs)->get_PreviousSource(&value)); return winrt::Windows::Media::PlayTo::PlayToSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSource) consume_Windows_Media_PlayTo_IPlayToConnectionTransferredEventArgs::CurrentSource() const + template auto consume_Windows_Media_PlayTo_IPlayToConnectionTransferredEventArgs::CurrentSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnectionTransferredEventArgs)->get_CurrentSource(&value)); return winrt::Windows::Media::PlayTo::PlayToSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToManager::SourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToManager::SourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToManager)->add_SourceRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_PlayTo_IPlayToManager::SourceRequested_revoker consume_Windows_Media_PlayTo_IPlayToManager::SourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToManager::SourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToManager::SourceRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_PlayTo_IPlayToManager::SourceRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToManager)->remove_SourceRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToManager::SourceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToManager::SourceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToManager)->add_SourceSelected(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_PlayTo_IPlayToManager::SourceSelected_revoker consume_Windows_Media_PlayTo_IPlayToManager::SourceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToManager::SourceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceSelected(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToManager::SourceSelected(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_PlayTo_IPlayToManager::SourceSelected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToManager)->remove_SourceSelected(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToManager::DefaultSourceSelection(bool value) const + template auto consume_Windows_Media_PlayTo_IPlayToManager::DefaultSourceSelection(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToManager)->put_DefaultSourceSelection(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_PlayTo_IPlayToManager::DefaultSourceSelection() const + template auto consume_Windows_Media_PlayTo_IPlayToManager::DefaultSourceSelection() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToManager)->get_DefaultSourceSelection(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToManager) consume_Windows_Media_PlayTo_IPlayToManagerStatics::GetForCurrentView() const + template auto consume_Windows_Media_PlayTo_IPlayToManagerStatics::GetForCurrentView() const { void* playToManager{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToManagerStatics)->GetForCurrentView(&playToManager)); return winrt::Windows::Media::PlayTo::PlayToManager{ playToManager, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToManagerStatics::ShowPlayToUI() const + template auto consume_Windows_Media_PlayTo_IPlayToManagerStatics::ShowPlayToUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToManagerStatics)->ShowPlayToUI()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver::PlayRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::PlayRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->add_PlayRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_PlayTo_IPlayToReceiver::PlayRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver::PlayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::PlayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PlayRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::PlayRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::PlayRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_PlayRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver::PauseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::PauseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->add_PauseRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_PlayTo_IPlayToReceiver::PauseRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver::PauseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::PauseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PauseRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::PauseRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::PauseRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_PauseRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver::SourceChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::SourceChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->add_SourceChangeRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_PlayTo_IPlayToReceiver::SourceChangeRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver::SourceChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::SourceChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceChangeRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::SourceChangeRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::SourceChangeRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_SourceChangeRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver::PlaybackRateChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::PlaybackRateChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->add_PlaybackRateChangeRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_PlayTo_IPlayToReceiver::PlaybackRateChangeRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver::PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PlaybackRateChangeRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::PlaybackRateChangeRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::PlaybackRateChangeRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_PlaybackRateChangeRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver::CurrentTimeChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::CurrentTimeChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->add_CurrentTimeChangeRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_PlayTo_IPlayToReceiver::CurrentTimeChangeRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver::CurrentTimeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::CurrentTimeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CurrentTimeChangeRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::CurrentTimeChangeRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::CurrentTimeChangeRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_CurrentTimeChangeRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver::MuteChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::MuteChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->add_MuteChangeRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_PlayTo_IPlayToReceiver::MuteChangeRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver::MuteChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::MuteChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MuteChangeRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::MuteChangeRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::MuteChangeRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_MuteChangeRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver::VolumeChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::VolumeChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->add_VolumeChangeRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_PlayTo_IPlayToReceiver::VolumeChangeRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver::VolumeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::VolumeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, VolumeChangeRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::VolumeChangeRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::VolumeChangeRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_VolumeChangeRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver::TimeUpdateRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::TimeUpdateRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->add_TimeUpdateRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_PlayTo_IPlayToReceiver::TimeUpdateRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver::TimeUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::TimeUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TimeUpdateRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::TimeUpdateRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::TimeUpdateRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_TimeUpdateRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver::StopRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::StopRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->add_StopRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_PlayTo_IPlayToReceiver::StopRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver::StopRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::StopRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StopRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::StopRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::StopRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_StopRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyVolumeChange(double volume, bool mute) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyVolumeChange(double volume, bool mute) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyVolumeChange(volume, mute)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyRateChange(double rate) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyRateChange(double rate) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyRateChange(rate)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyLoadedMetadata() const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyLoadedMetadata() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyLoadedMetadata()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyTimeUpdate(winrt::Windows::Foundation::TimeSpan const& currentTime) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyTimeUpdate(winrt::Windows::Foundation::TimeSpan const& currentTime) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyTimeUpdate(impl::bind_in(currentTime))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyDurationChange(winrt::Windows::Foundation::TimeSpan const& duration) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyDurationChange(winrt::Windows::Foundation::TimeSpan const& duration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyDurationChange(impl::bind_in(duration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::NotifySeeking() const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::NotifySeeking() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifySeeking()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::NotifySeeked() const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::NotifySeeked() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifySeeked()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyPaused() const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyPaused() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyPaused()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyPlaying() const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyPlaying() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyPlaying()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyEnded() const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyEnded() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyEnded()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyError() const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyError() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyError()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyStopped() const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::NotifyStopped() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyStopped()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_PlayTo_IPlayToReceiver::FriendlyName() const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::FriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->get_FriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::FriendlyName(param::hstring const& value) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::FriendlyName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->put_FriendlyName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::SupportsImage(bool value) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::SupportsImage(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->put_SupportsImage(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_PlayTo_IPlayToReceiver::SupportsImage() const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::SupportsImage() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->get_SupportsImage(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::SupportsAudio(bool value) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::SupportsAudio(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->put_SupportsAudio(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_PlayTo_IPlayToReceiver::SupportsAudio() const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::SupportsAudio() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->get_SupportsAudio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver::SupportsVideo(bool value) const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::SupportsVideo(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->put_SupportsVideo(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_PlayTo_IPlayToReceiver::SupportsVideo() const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::SupportsVideo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->get_SupportsVideo(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Media_PlayTo_IPlayToReceiver::Properties() const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_PlayTo_IPlayToReceiver::StartAsync() const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::StartAsync() const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->StartAsync(&action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_PlayTo_IPlayToReceiver::StopAsync() const + template auto consume_Windows_Media_PlayTo_IPlayToReceiver::StopAsync() const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->StopAsync(&action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToConnection) consume_Windows_Media_PlayTo_IPlayToSource::Connection() const + template auto consume_Windows_Media_PlayTo_IPlayToSource::Connection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSource)->get_Connection(&value)); return winrt::Windows::Media::PlayTo::PlayToConnection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSource) consume_Windows_Media_PlayTo_IPlayToSource::Next() const + template auto consume_Windows_Media_PlayTo_IPlayToSource::Next() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSource)->get_Next(&value)); return winrt::Windows::Media::PlayTo::PlayToSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToSource::Next(winrt::Windows::Media::PlayTo::PlayToSource const& value) const + template auto consume_Windows_Media_PlayTo_IPlayToSource::Next(winrt::Windows::Media::PlayTo::PlayToSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSource)->put_Next(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToSource::PlayNext() const + template auto consume_Windows_Media_PlayTo_IPlayToSource::PlayNext() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSource)->PlayNext()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToSourceDeferral::Complete() const + template auto consume_Windows_Media_PlayTo_IPlayToSourceDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_PlayTo_IPlayToSourceRequest::Deadline() const + template auto consume_Windows_Media_PlayTo_IPlayToSourceRequest::Deadline() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceRequest)->get_Deadline(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToSourceRequest::DisplayErrorString(param::hstring const& errorString) const + template auto consume_Windows_Media_PlayTo_IPlayToSourceRequest::DisplayErrorString(param::hstring const& errorString) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceRequest)->DisplayErrorString(*(void**)(&errorString))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSourceDeferral) consume_Windows_Media_PlayTo_IPlayToSourceRequest::GetDeferral() const + template auto consume_Windows_Media_PlayTo_IPlayToSourceRequest::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceRequest)->GetDeferral(&deferral)); return winrt::Windows::Media::PlayTo::PlayToSourceDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToSourceRequest::SetSource(winrt::Windows::Media::PlayTo::PlayToSource const& value) const + template auto consume_Windows_Media_PlayTo_IPlayToSourceRequest::SetSource(winrt::Windows::Media::PlayTo::PlayToSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceRequest)->SetSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSourceRequest) consume_Windows_Media_PlayTo_IPlayToSourceRequestedEventArgs::SourceRequest() const + template auto consume_Windows_Media_PlayTo_IPlayToSourceRequestedEventArgs::SourceRequest() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceRequestedEventArgs)->get_SourceRequest(&value)); return winrt::Windows::Media::PlayTo::PlayToSourceRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs::FriendlyName() const + template auto consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs::FriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceSelectedEventArgs)->get_FriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs::Icon() const + template auto consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceSelectedEventArgs)->get_Icon(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs::SupportsImage() const + template auto consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs::SupportsImage() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceSelectedEventArgs)->get_SupportsImage(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs::SupportsAudio() const + template auto consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs::SupportsAudio() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceSelectedEventArgs)->get_SupportsAudio(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs::SupportsVideo() const + template auto consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs::SupportsVideo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceSelectedEventArgs)->get_SupportsVideo(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_PlayTo_IPlayToSourceWithPreferredSourceUri::PreferredSourceUri() const + template auto consume_Windows_Media_PlayTo_IPlayToSourceWithPreferredSourceUri::PreferredSourceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceWithPreferredSourceUri)->get_PreferredSourceUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToSourceWithPreferredSourceUri::PreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Media_PlayTo_IPlayToSourceWithPreferredSourceUri::PreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceWithPreferredSourceUri)->put_PreferredSourceUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_PlayTo_IPlaybackRateChangeRequestedEventArgs::Rate() const + template auto consume_Windows_Media_PlayTo_IPlaybackRateChangeRequestedEventArgs::Rate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlaybackRateChangeRequestedEventArgs)->get_Rate(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Stream() const + template auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Stream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs)->get_Stream(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Title() const + template auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Author() const + template auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Author() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs)->get_Author(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Album() const + template auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Album() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs)->get_Album(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Genre() const + template auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Genre() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs)->get_Genre(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Description() const + template auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Date() const + template auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Date() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs)->get_Date(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Thumbnail() const + template auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs)->get_Thumbnail(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Rating() const + template auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Rating() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs)->get_Rating(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Properties() const + template auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_PlayTo_IVolumeChangeRequestedEventArgs::Volume() const + template auto consume_Windows_Media_PlayTo_IVolumeChangeRequestedEventArgs::Volume() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IVolumeChangeRequestedEventArgs)->get_Volume(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Playback.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Playback.h index b21146d6..fb91a7fa 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Playback.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Playback.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Playback_H #define WINRT_Windows_Media_Playback_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -24,2163 +24,2163 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Playback.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::Current() const + template auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::Current() const { void* player{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics)->get_Current(&player)); return winrt::Windows::Media::Playback::MediaPlayer{ player, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::MessageReceivedFromBackground(winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::MessageReceivedFromBackground(winrt::Windows::Foundation::EventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics)->add_MessageReceivedFromBackground(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::MessageReceivedFromBackground_revoker consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const { return impl::make_event_revoker(this, MessageReceivedFromBackground(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::MessageReceivedFromBackground(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::MessageReceivedFromBackground(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics)->remove_MessageReceivedFromBackground(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::MessageReceivedFromForeground(winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::MessageReceivedFromForeground(winrt::Windows::Foundation::EventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics)->add_MessageReceivedFromForeground(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::MessageReceivedFromForeground_revoker consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const + template auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const { return impl::make_event_revoker(this, MessageReceivedFromForeground(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::MessageReceivedFromForeground(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::MessageReceivedFromForeground(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics)->remove_MessageReceivedFromForeground(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::SendMessageToBackground(winrt::Windows::Foundation::Collections::ValueSet const& value) const + template auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::SendMessageToBackground(winrt::Windows::Foundation::Collections::ValueSet const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics)->SendMessageToBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::SendMessageToForeground(winrt::Windows::Foundation::Collections::ValueSet const& value) const + template auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::SendMessageToForeground(winrt::Windows::Foundation::Collections::ValueSet const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics)->SendMessageToForeground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::IsMediaPlaying() const + template auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::IsMediaPlaying() const { bool isMediaPlaying{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics)->IsMediaPlaying(&isMediaPlaying)); return isMediaPlaying; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::Shutdown() const + template auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics::Shutdown() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics)->Shutdown()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs::NewItem() const + template auto consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs::NewItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::ICurrentMediaPlaybackItemChangedEventArgs)->get_NewItem(&value)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs::OldItem() const + template auto consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs::OldItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::ICurrentMediaPlaybackItemChangedEventArgs)->get_OldItem(&value)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItemChangedReason) consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs2::Reason() const + template auto consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs2::Reason() const { winrt::Windows::Media::Playback::MediaPlaybackItemChangedReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::ICurrentMediaPlaybackItemChangedEventArgs2)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackList) consume_Windows_Media_Playback_IMediaBreak::PlaybackList() const + template auto consume_Windows_Media_Playback_IMediaBreak::PlaybackList() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreak)->get_PlaybackList(&value)); return winrt::Windows::Media::Playback::MediaPlaybackList{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Playback_IMediaBreak::PresentationPosition() const + template auto consume_Windows_Media_Playback_IMediaBreak::PresentationPosition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreak)->get_PresentationPosition(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreakInsertionMethod) consume_Windows_Media_Playback_IMediaBreak::InsertionMethod() const + template auto consume_Windows_Media_Playback_IMediaBreak::InsertionMethod() const { winrt::Windows::Media::Playback::MediaBreakInsertionMethod value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreak)->get_InsertionMethod(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Media_Playback_IMediaBreak::CustomProperties() const + template auto consume_Windows_Media_Playback_IMediaBreak::CustomProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreak)->get_CustomProperties(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaBreak::CanStart() const + template auto consume_Windows_Media_Playback_IMediaBreak::CanStart() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreak)->get_CanStart(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreak::CanStart(bool value) const + template auto consume_Windows_Media_Playback_IMediaBreak::CanStart(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreak)->put_CanStart(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) consume_Windows_Media_Playback_IMediaBreakEndedEventArgs::MediaBreak() const + template auto consume_Windows_Media_Playback_IMediaBreakEndedEventArgs::MediaBreak() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakEndedEventArgs)->get_MediaBreak(&value)); return winrt::Windows::Media::Playback::MediaBreak{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) consume_Windows_Media_Playback_IMediaBreakFactory::Create(winrt::Windows::Media::Playback::MediaBreakInsertionMethod const& insertionMethod) const + template auto consume_Windows_Media_Playback_IMediaBreakFactory::Create(winrt::Windows::Media::Playback::MediaBreakInsertionMethod const& insertionMethod) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakFactory)->Create(static_cast(insertionMethod), &result)); return winrt::Windows::Media::Playback::MediaBreak{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) consume_Windows_Media_Playback_IMediaBreakFactory::CreateWithPresentationPosition(winrt::Windows::Media::Playback::MediaBreakInsertionMethod const& insertionMethod, winrt::Windows::Foundation::TimeSpan const& presentationPosition) const + template auto consume_Windows_Media_Playback_IMediaBreakFactory::CreateWithPresentationPosition(winrt::Windows::Media::Playback::MediaBreakInsertionMethod const& insertionMethod, winrt::Windows::Foundation::TimeSpan const& presentationPosition) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakFactory)->CreateWithPresentationPosition(static_cast(insertionMethod), impl::bind_in(presentationPosition), &result)); return winrt::Windows::Media::Playback::MediaBreak{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaBreakManager::BreaksSeekedOver(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaBreakManager::BreaksSeekedOver(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->add_BreaksSeekedOver(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaBreakManager::BreaksSeekedOver_revoker consume_Windows_Media_Playback_IMediaBreakManager::BreaksSeekedOver(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaBreakManager::BreaksSeekedOver(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BreaksSeekedOver(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakManager::BreaksSeekedOver(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaBreakManager::BreaksSeekedOver(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->remove_BreaksSeekedOver(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaBreakManager::BreakStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaBreakManager::BreakStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->add_BreakStarted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaBreakManager::BreakStarted_revoker consume_Windows_Media_Playback_IMediaBreakManager::BreakStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaBreakManager::BreakStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BreakStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakManager::BreakStarted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaBreakManager::BreakStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->remove_BreakStarted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaBreakManager::BreakEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaBreakManager::BreakEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->add_BreakEnded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaBreakManager::BreakEnded_revoker consume_Windows_Media_Playback_IMediaBreakManager::BreakEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaBreakManager::BreakEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BreakEnded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakManager::BreakEnded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaBreakManager::BreakEnded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->remove_BreakEnded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaBreakManager::BreakSkipped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaBreakManager::BreakSkipped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->add_BreakSkipped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaBreakManager::BreakSkipped_revoker consume_Windows_Media_Playback_IMediaBreakManager::BreakSkipped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaBreakManager::BreakSkipped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BreakSkipped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakManager::BreakSkipped(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaBreakManager::BreakSkipped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->remove_BreakSkipped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) consume_Windows_Media_Playback_IMediaBreakManager::CurrentBreak() const + template auto consume_Windows_Media_Playback_IMediaBreakManager::CurrentBreak() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->get_CurrentBreak(&value)); return winrt::Windows::Media::Playback::MediaBreak{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackSession) consume_Windows_Media_Playback_IMediaBreakManager::PlaybackSession() const + template auto consume_Windows_Media_Playback_IMediaBreakManager::PlaybackSession() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->get_PlaybackSession(&value)); return winrt::Windows::Media::Playback::MediaPlaybackSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakManager::PlayBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const + template auto consume_Windows_Media_Playback_IMediaBreakManager::PlayBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->PlayBreak(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakManager::SkipCurrentBreak() const + template auto consume_Windows_Media_Playback_IMediaBreakManager::SkipCurrentBreak() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->SkipCurrentBreak()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaBreakSchedule::ScheduleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaBreakSchedule::ScheduleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSchedule)->add_ScheduleChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaBreakSchedule::ScheduleChanged_revoker consume_Windows_Media_Playback_IMediaBreakSchedule::ScheduleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaBreakSchedule::ScheduleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ScheduleChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakSchedule::ScheduleChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaBreakSchedule::ScheduleChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSchedule)->remove_ScheduleChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakSchedule::InsertMidrollBreak(winrt::Windows::Media::Playback::MediaBreak const& mediaBreak) const + template auto consume_Windows_Media_Playback_IMediaBreakSchedule::InsertMidrollBreak(winrt::Windows::Media::Playback::MediaBreak const& mediaBreak) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSchedule)->InsertMidrollBreak(*(void**)(&mediaBreak))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakSchedule::RemoveMidrollBreak(winrt::Windows::Media::Playback::MediaBreak const& mediaBreak) const + template auto consume_Windows_Media_Playback_IMediaBreakSchedule::RemoveMidrollBreak(winrt::Windows::Media::Playback::MediaBreak const& mediaBreak) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSchedule)->RemoveMidrollBreak(*(void**)(&mediaBreak))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Playback_IMediaBreakSchedule::MidrollBreaks() const + template auto consume_Windows_Media_Playback_IMediaBreakSchedule::MidrollBreaks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSchedule)->get_MidrollBreaks(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakSchedule::PrerollBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const + template auto consume_Windows_Media_Playback_IMediaBreakSchedule::PrerollBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSchedule)->put_PrerollBreak(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) consume_Windows_Media_Playback_IMediaBreakSchedule::PrerollBreak() const + template auto consume_Windows_Media_Playback_IMediaBreakSchedule::PrerollBreak() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSchedule)->get_PrerollBreak(&value)); return winrt::Windows::Media::Playback::MediaBreak{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakSchedule::PostrollBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const + template auto consume_Windows_Media_Playback_IMediaBreakSchedule::PostrollBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSchedule)->put_PostrollBreak(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) consume_Windows_Media_Playback_IMediaBreakSchedule::PostrollBreak() const + template auto consume_Windows_Media_Playback_IMediaBreakSchedule::PostrollBreak() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSchedule)->get_PostrollBreak(&value)); return winrt::Windows::Media::Playback::MediaBreak{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaBreakSchedule::PlaybackItem() const + template auto consume_Windows_Media_Playback_IMediaBreakSchedule::PlaybackItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSchedule)->get_PlaybackItem(&value)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Playback_IMediaBreakSeekedOverEventArgs::SeekedOverBreaks() const + template auto consume_Windows_Media_Playback_IMediaBreakSeekedOverEventArgs::SeekedOverBreaks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSeekedOverEventArgs)->get_SeekedOverBreaks(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaBreakSeekedOverEventArgs::OldPosition() const + template auto consume_Windows_Media_Playback_IMediaBreakSeekedOverEventArgs::OldPosition() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSeekedOverEventArgs)->get_OldPosition(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaBreakSeekedOverEventArgs::NewPosition() const + template auto consume_Windows_Media_Playback_IMediaBreakSeekedOverEventArgs::NewPosition() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSeekedOverEventArgs)->get_NewPosition(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) consume_Windows_Media_Playback_IMediaBreakSkippedEventArgs::MediaBreak() const + template auto consume_Windows_Media_Playback_IMediaBreakSkippedEventArgs::MediaBreak() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSkippedEventArgs)->get_MediaBreak(&value)); return winrt::Windows::Media::Playback::MediaBreak{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) consume_Windows_Media_Playback_IMediaBreakStartedEventArgs::MediaBreak() const + template auto consume_Windows_Media_Playback_IMediaBreakStartedEventArgs::MediaBreak() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakStartedEventArgs)->get_MediaBreak(&value)); return winrt::Windows::Media::Playback::MediaBreak{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaEnginePlaybackSource::CurrentItem() const + template auto consume_Windows_Media_Playback_IMediaEnginePlaybackSource::CurrentItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaEnginePlaybackSource)->get_CurrentItem(&value)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaEnginePlaybackSource::SetPlaybackSource(winrt::Windows::Media::Playback::IMediaPlaybackSource const& source) const + template auto consume_Windows_Media_Playback_IMediaEnginePlaybackSource::SetPlaybackSource(winrt::Windows::Media::Playback::IMediaPlaybackSource const& source) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaEnginePlaybackSource)->SetPlaybackSource(*(void**)(&source))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackType) consume_Windows_Media_Playback_IMediaItemDisplayProperties::Type() const + template auto consume_Windows_Media_Playback_IMediaItemDisplayProperties::Type() const { winrt::Windows::Media::MediaPlaybackType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaItemDisplayProperties)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaItemDisplayProperties::Type(winrt::Windows::Media::MediaPlaybackType const& value) const + template auto consume_Windows_Media_Playback_IMediaItemDisplayProperties::Type(winrt::Windows::Media::MediaPlaybackType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaItemDisplayProperties)->put_Type(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MusicDisplayProperties) consume_Windows_Media_Playback_IMediaItemDisplayProperties::MusicProperties() const + template auto consume_Windows_Media_Playback_IMediaItemDisplayProperties::MusicProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaItemDisplayProperties)->get_MusicProperties(&value)); return winrt::Windows::Media::MusicDisplayProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoDisplayProperties) consume_Windows_Media_Playback_IMediaItemDisplayProperties::VideoProperties() const + template auto consume_Windows_Media_Playback_IMediaItemDisplayProperties::VideoProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaItemDisplayProperties)->get_VideoProperties(&value)); return winrt::Windows::Media::VideoDisplayProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_Media_Playback_IMediaItemDisplayProperties::Thumbnail() const + template auto consume_Windows_Media_Playback_IMediaItemDisplayProperties::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaItemDisplayProperties)->get_Thumbnail(&value)); return winrt::Windows::Storage::Streams::RandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaItemDisplayProperties::Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const + template auto consume_Windows_Media_Playback_IMediaItemDisplayProperties::Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaItemDisplayProperties)->put_Thumbnail(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaItemDisplayProperties::ClearAll() const + template auto consume_Windows_Media_Playback_IMediaItemDisplayProperties::ClearAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaItemDisplayProperties)->ClearAll()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::IsEnabled() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::IsEnabled(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::MediaPlayer() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::MediaPlayer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->get_MediaPlayer(&value)); return winrt::Windows::Media::Playback::MediaPlayer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PlayBehavior() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PlayBehavior() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->get_PlayBehavior(&value)); return winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PauseBehavior() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PauseBehavior() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->get_PauseBehavior(&value)); return winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::NextBehavior() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::NextBehavior() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->get_NextBehavior(&value)); return winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PreviousBehavior() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PreviousBehavior() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->get_PreviousBehavior(&value)); return winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::FastForwardBehavior() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::FastForwardBehavior() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->get_FastForwardBehavior(&value)); return winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RewindBehavior() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RewindBehavior() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->get_RewindBehavior(&value)); return winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::ShuffleBehavior() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::ShuffleBehavior() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->get_ShuffleBehavior(&value)); return winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::AutoRepeatModeBehavior() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::AutoRepeatModeBehavior() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->get_AutoRepeatModeBehavior(&value)); return winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PositionBehavior() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PositionBehavior() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->get_PositionBehavior(&value)); return winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RateBehavior() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RateBehavior() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->get_RateBehavior(&value)); return winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PlayReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PlayReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->add_PlayReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PlayReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PlayReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PlayReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PlayReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PlayReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PlayReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_PlayReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PauseReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PauseReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->add_PauseReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PauseReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PauseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PauseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PauseReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PauseReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PauseReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_PauseReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::NextReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::NextReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->add_NextReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager::NextReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager::NextReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::NextReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NextReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::NextReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::NextReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_NextReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PreviousReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PreviousReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->add_PreviousReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PreviousReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PreviousReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PreviousReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PreviousReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PreviousReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PreviousReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_PreviousReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::FastForwardReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::FastForwardReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->add_FastForwardReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager::FastForwardReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager::FastForwardReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::FastForwardReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FastForwardReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::FastForwardReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::FastForwardReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_FastForwardReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RewindReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RewindReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->add_RewindReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RewindReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RewindReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RewindReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RewindReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RewindReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RewindReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_RewindReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::ShuffleReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::ShuffleReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->add_ShuffleReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager::ShuffleReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager::ShuffleReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::ShuffleReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ShuffleReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::ShuffleReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::ShuffleReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_ShuffleReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::AutoRepeatModeReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::AutoRepeatModeReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->add_AutoRepeatModeReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager::AutoRepeatModeReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager::AutoRepeatModeReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::AutoRepeatModeReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AutoRepeatModeReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::AutoRepeatModeReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::AutoRepeatModeReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_AutoRepeatModeReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PositionReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PositionReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->add_PositionReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PositionReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PositionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PositionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PositionReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PositionReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::PositionReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_PositionReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RateReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RateReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->add_RateReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RateReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RateReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RateReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RateReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RateReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager::RateReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_RateReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs::Handled() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs::Handled(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackAutoRepeatMode) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs::AutoRepeatMode() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs::AutoRepeatMode() const { winrt::Windows::Media::MediaPlaybackAutoRepeatMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs)->get_AutoRepeatMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs::GetDeferral() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManager) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior::CommandManager() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior::CommandManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior)->get_CommandManager(&value)); return winrt::Windows::Media::Playback::MediaPlaybackCommandManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior::IsEnabled() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaCommandEnablingRule) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior::EnablingRule() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior::EnablingRule() const { winrt::Windows::Media::Playback::MediaCommandEnablingRule value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior)->get_EnablingRule(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior::EnablingRule(winrt::Windows::Media::Playback::MediaCommandEnablingRule const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior::EnablingRule(winrt::Windows::Media::Playback::MediaCommandEnablingRule const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior)->put_EnablingRule(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior::IsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior::IsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior)->add_IsEnabledChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior::IsEnabledChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior::IsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior::IsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsEnabledChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior::IsEnabledChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior::IsEnabledChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior)->remove_IsEnabledChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerFastForwardReceivedEventArgs::Handled() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerFastForwardReceivedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerFastForwardReceivedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerFastForwardReceivedEventArgs::Handled(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerFastForwardReceivedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerFastForwardReceivedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerFastForwardReceivedEventArgs::GetDeferral() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerFastForwardReceivedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerFastForwardReceivedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerNextReceivedEventArgs::Handled() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerNextReceivedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerNextReceivedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerNextReceivedEventArgs::Handled(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerNextReceivedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerNextReceivedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerNextReceivedEventArgs::GetDeferral() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerNextReceivedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerNextReceivedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPauseReceivedEventArgs::Handled() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPauseReceivedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPauseReceivedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPauseReceivedEventArgs::Handled(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPauseReceivedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPauseReceivedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPauseReceivedEventArgs::GetDeferral() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPauseReceivedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPauseReceivedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPlayReceivedEventArgs::Handled() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPlayReceivedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPlayReceivedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPlayReceivedEventArgs::Handled(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPlayReceivedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPlayReceivedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPlayReceivedEventArgs::GetDeferral() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPlayReceivedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPlayReceivedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs::Handled() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPositionReceivedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs::Handled(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPositionReceivedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs::Position() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs::Position() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPositionReceivedEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs::GetDeferral() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPositionReceivedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPreviousReceivedEventArgs::Handled() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPreviousReceivedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPreviousReceivedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPreviousReceivedEventArgs::Handled(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPreviousReceivedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPreviousReceivedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPreviousReceivedEventArgs::GetDeferral() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPreviousReceivedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPreviousReceivedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs::Handled() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRateReceivedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs::Handled(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRateReceivedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs::PlaybackRate() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs::PlaybackRate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRateReceivedEventArgs)->get_PlaybackRate(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs::GetDeferral() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRateReceivedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRewindReceivedEventArgs::Handled() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRewindReceivedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRewindReceivedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRewindReceivedEventArgs::Handled(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRewindReceivedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRewindReceivedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRewindReceivedEventArgs::GetDeferral() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRewindReceivedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRewindReceivedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs::Handled() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerShuffleReceivedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs::Handled(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerShuffleReceivedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs::IsShuffleRequested() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs::IsShuffleRequested() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerShuffleReceivedEventArgs)->get_IsShuffleRequested(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs::GetDeferral() const + template auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerShuffleReceivedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackItem::AudioTracksChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem::AudioTracksChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem)->add_AudioTracksChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackItem::AudioTracksChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackItem::AudioTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem::AudioTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AudioTracksChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackItem::AudioTracksChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackItem::AudioTracksChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem)->remove_AudioTracksChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackItem::VideoTracksChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem::VideoTracksChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem)->add_VideoTracksChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackItem::VideoTracksChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackItem::VideoTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem::VideoTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, VideoTracksChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackItem::VideoTracksChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackItem::VideoTracksChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem)->remove_VideoTracksChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackItem::TimedMetadataTracksChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem::TimedMetadataTracksChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem)->add_TimedMetadataTracksChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackItem::TimedMetadataTracksChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackItem::TimedMetadataTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem::TimedMetadataTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TimedMetadataTracksChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackItem::TimedMetadataTracksChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackItem::TimedMetadataTracksChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem)->remove_TimedMetadataTracksChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Playback_IMediaPlaybackItem::Source() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem)->get_Source(&value)); return winrt::Windows::Media::Core::MediaSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackAudioTrackList) consume_Windows_Media_Playback_IMediaPlaybackItem::AudioTracks() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem::AudioTracks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem)->get_AudioTracks(&value)); return winrt::Windows::Media::Playback::MediaPlaybackAudioTrackList{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackVideoTrackList) consume_Windows_Media_Playback_IMediaPlaybackItem::VideoTracks() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem::VideoTracks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem)->get_VideoTracks(&value)); return winrt::Windows::Media::Playback::MediaPlaybackVideoTrackList{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackTimedMetadataTrackList) consume_Windows_Media_Playback_IMediaPlaybackItem::TimedMetadataTracks() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem::TimedMetadataTracks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem)->get_TimedMetadataTracks(&value)); return winrt::Windows::Media::Playback::MediaPlaybackTimedMetadataTrackList{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreakSchedule) consume_Windows_Media_Playback_IMediaPlaybackItem2::BreakSchedule() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem2::BreakSchedule() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem2)->get_BreakSchedule(&value)); return winrt::Windows::Media::Playback::MediaBreakSchedule{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaPlaybackItem2::StartTime() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem2::StartTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem2)->get_StartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Playback_IMediaPlaybackItem2::DurationLimit() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem2::DurationLimit() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem2)->get_DurationLimit(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackItem2::CanSkip() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem2::CanSkip() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem2)->get_CanSkip(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackItem2::CanSkip(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem2::CanSkip(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem2)->put_CanSkip(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaItemDisplayProperties) consume_Windows_Media_Playback_IMediaPlaybackItem2::GetDisplayProperties() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem2::GetDisplayProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem2)->GetDisplayProperties(&value)); return winrt::Windows::Media::Playback::MediaItemDisplayProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackItem2::ApplyDisplayProperties(winrt::Windows::Media::Playback::MediaItemDisplayProperties const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem2::ApplyDisplayProperties(winrt::Windows::Media::Playback::MediaItemDisplayProperties const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem2)->ApplyDisplayProperties(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackItem3::IsDisabledInPlaybackList() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem3::IsDisabledInPlaybackList() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem3)->get_IsDisabledInPlaybackList(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackItem3::IsDisabledInPlaybackList(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem3::IsDisabledInPlaybackList(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem3)->put_IsDisabledInPlaybackList(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlaybackItem3::TotalDownloadProgress() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem3::TotalDownloadProgress() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem3)->get_TotalDownloadProgress(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::AutoLoadedDisplayPropertyKind) consume_Windows_Media_Playback_IMediaPlaybackItem3::AutoLoadedDisplayProperties() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem3::AutoLoadedDisplayProperties() const { winrt::Windows::Media::Playback::AutoLoadedDisplayPropertyKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem3)->get_AutoLoadedDisplayProperties(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackItem3::AutoLoadedDisplayProperties(winrt::Windows::Media::Playback::AutoLoadedDisplayPropertyKind const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackItem3::AutoLoadedDisplayProperties(winrt::Windows::Media::Playback::AutoLoadedDisplayPropertyKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem3)->put_AutoLoadedDisplayProperties(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItemErrorCode) consume_Windows_Media_Playback_IMediaPlaybackItemError::ErrorCode() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItemError::ErrorCode() const { winrt::Windows::Media::Playback::MediaPlaybackItemErrorCode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItemError)->get_ErrorCode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Playback_IMediaPlaybackItemError::ExtendedError() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItemError::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItemError)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackItemFactory::Create(winrt::Windows::Media::Core::MediaSource const& source) const + template auto consume_Windows_Media_Playback_IMediaPlaybackItemFactory::Create(winrt::Windows::Media::Core::MediaSource const& source) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItemFactory)->Create(*(void**)(&source), &value)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackItemFactory2::CreateWithStartTime(winrt::Windows::Media::Core::MediaSource const& source, winrt::Windows::Foundation::TimeSpan const& startTime) const + template auto consume_Windows_Media_Playback_IMediaPlaybackItemFactory2::CreateWithStartTime(winrt::Windows::Media::Core::MediaSource const& source, winrt::Windows::Foundation::TimeSpan const& startTime) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItemFactory2)->CreateWithStartTime(*(void**)(&source), impl::bind_in(startTime), &result)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackItemFactory2::CreateWithStartTimeAndDurationLimit(winrt::Windows::Media::Core::MediaSource const& source, winrt::Windows::Foundation::TimeSpan const& startTime, winrt::Windows::Foundation::TimeSpan const& durationLimit) const + template auto consume_Windows_Media_Playback_IMediaPlaybackItemFactory2::CreateWithStartTimeAndDurationLimit(winrt::Windows::Media::Core::MediaSource const& source, winrt::Windows::Foundation::TimeSpan const& startTime, winrt::Windows::Foundation::TimeSpan const& durationLimit) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItemFactory2)->CreateWithStartTimeAndDurationLimit(*(void**)(&source), impl::bind_in(startTime), impl::bind_in(durationLimit), &result)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackItemFailedEventArgs::Item() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItemFailedEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItemFailedEventArgs)->get_Item(&value)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItemError) consume_Windows_Media_Playback_IMediaPlaybackItemFailedEventArgs::Error() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItemFailedEventArgs::Error() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItemFailedEventArgs)->get_Error(&value)); return winrt::Windows::Media::Playback::MediaPlaybackItemError{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackItemOpenedEventArgs::Item() const + template auto consume_Windows_Media_Playback_IMediaPlaybackItemOpenedEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItemOpenedEventArgs)->get_Item(&value)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackItemStatics::FindFromMediaSource(winrt::Windows::Media::Core::MediaSource const& source) const + template auto consume_Windows_Media_Playback_IMediaPlaybackItemStatics::FindFromMediaSource(winrt::Windows::Media::Core::MediaSource const& source) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItemStatics)->FindFromMediaSource(*(void**)(&source), &value)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackList::ItemFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackList::ItemFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->add_ItemFailed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackList::ItemFailed_revoker consume_Windows_Media_Playback_IMediaPlaybackList::ItemFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackList::ItemFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemFailed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList::ItemFailed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackList::ItemFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->remove_ItemFailed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackList::CurrentItemChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackList::CurrentItemChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->add_CurrentItemChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackList::CurrentItemChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackList::CurrentItemChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackList::CurrentItemChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CurrentItemChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList::CurrentItemChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackList::CurrentItemChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->remove_CurrentItemChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackList::ItemOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackList::ItemOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->add_ItemOpened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackList::ItemOpened_revoker consume_Windows_Media_Playback_IMediaPlaybackList::ItemOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackList::ItemOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemOpened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList::ItemOpened(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackList::ItemOpened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->remove_ItemOpened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) consume_Windows_Media_Playback_IMediaPlaybackList::Items() const + template auto consume_Windows_Media_Playback_IMediaPlaybackList::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackList::AutoRepeatEnabled() const + template auto consume_Windows_Media_Playback_IMediaPlaybackList::AutoRepeatEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->get_AutoRepeatEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList::AutoRepeatEnabled(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackList::AutoRepeatEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->put_AutoRepeatEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackList::ShuffleEnabled() const + template auto consume_Windows_Media_Playback_IMediaPlaybackList::ShuffleEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->get_ShuffleEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList::ShuffleEnabled(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackList::ShuffleEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->put_ShuffleEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackList::CurrentItem() const + template auto consume_Windows_Media_Playback_IMediaPlaybackList::CurrentItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->get_CurrentItem(&value)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Playback_IMediaPlaybackList::CurrentItemIndex() const + template auto consume_Windows_Media_Playback_IMediaPlaybackList::CurrentItemIndex() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->get_CurrentItemIndex(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackList::MoveNext() const + template auto consume_Windows_Media_Playback_IMediaPlaybackList::MoveNext() const { void* item{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->MoveNext(&item)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ item, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackList::MovePrevious() const + template auto consume_Windows_Media_Playback_IMediaPlaybackList::MovePrevious() const { void* item{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->MovePrevious(&item)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ item, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackList::MoveTo(uint32_t itemIndex) const + template auto consume_Windows_Media_Playback_IMediaPlaybackList::MoveTo(uint32_t itemIndex) const { void* item{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->MoveTo(itemIndex, &item)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ item, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Playback_IMediaPlaybackList2::MaxPrefetchTime() const + template auto consume_Windows_Media_Playback_IMediaPlaybackList2::MaxPrefetchTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList2)->get_MaxPrefetchTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList2::MaxPrefetchTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackList2::MaxPrefetchTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList2)->put_MaxPrefetchTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackList2::StartingItem() const + template auto consume_Windows_Media_Playback_IMediaPlaybackList2::StartingItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList2)->get_StartingItem(&value)); return winrt::Windows::Media::Playback::MediaPlaybackItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList2::StartingItem(winrt::Windows::Media::Playback::MediaPlaybackItem const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackList2::StartingItem(winrt::Windows::Media::Playback::MediaPlaybackItem const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList2)->put_StartingItem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Playback_IMediaPlaybackList2::ShuffledItems() const + template auto consume_Windows_Media_Playback_IMediaPlaybackList2::ShuffledItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList2)->get_ShuffledItems(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList2::SetShuffledItems(param::iterable const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackList2::SetShuffledItems(param::iterable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList2)->SetShuffledItems(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Playback_IMediaPlaybackList3::MaxPlayedItemsToKeepOpen() const + template auto consume_Windows_Media_Playback_IMediaPlaybackList3::MaxPlayedItemsToKeepOpen() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList3)->get_MaxPlayedItemsToKeepOpen(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList3::MaxPlayedItemsToKeepOpen(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackList3::MaxPlayedItemsToKeepOpen(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList3)->put_MaxPlayedItemsToKeepOpen(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->add_PlaybackStateChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackStateChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, PlaybackStateChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_PlaybackStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackRateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackRateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->add_PlaybackRateChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackRateChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, PlaybackRateChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackRateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackRateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_PlaybackRateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession::SeekCompleted(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::SeekCompleted(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->add_SeekCompleted(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackSession::SeekCompleted_revoker consume_Windows_Media_Playback_IMediaPlaybackSession::SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, SeekCompleted(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession::SeekCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::SeekCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_SeekCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingStarted(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingStarted(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->add_BufferingStarted(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingStarted_revoker consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, BufferingStarted(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingStarted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_BufferingStarted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingEnded(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingEnded(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->add_BufferingEnded(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingEnded_revoker consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, BufferingEnded(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingEnded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingEnded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_BufferingEnded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingProgressChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingProgressChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->add_BufferingProgressChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingProgressChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, BufferingProgressChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingProgressChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingProgressChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_BufferingProgressChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession::DownloadProgressChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::DownloadProgressChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->add_DownloadProgressChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackSession::DownloadProgressChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession::DownloadProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::DownloadProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, DownloadProgressChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession::DownloadProgressChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::DownloadProgressChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_DownloadProgressChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalDurationChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalDurationChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->add_NaturalDurationChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalDurationChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalDurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalDurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, NaturalDurationChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalDurationChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalDurationChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_NaturalDurationChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession::PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->add_PositionChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackSession::PositionChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession::PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, PositionChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession::PositionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::PositionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_PositionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalVideoSizeChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalVideoSizeChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->add_NaturalVideoSizeChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalVideoSizeChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalVideoSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalVideoSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, NaturalVideoSizeChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalVideoSizeChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalVideoSizeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_NaturalVideoSizeChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) consume_Windows_Media_Playback_IMediaPlaybackSession::MediaPlayer() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::MediaPlayer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_MediaPlayer(&value)); return winrt::Windows::Media::Playback::MediaPlayer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalDuration() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_NaturalDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaPlaybackSession::Position() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::Position() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession::Position(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::Position(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->put_Position(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackState) consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackState() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackState() const { winrt::Windows::Media::Playback::MediaPlaybackState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_PlaybackState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackSession::CanSeek() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::CanSeek() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_CanSeek(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackSession::CanPause() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::CanPause() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_CanPause(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackSession::IsProtected() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::IsProtected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_IsProtected(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackRate() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackRate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_PlaybackRate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackRate(double value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::PlaybackRate(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->put_PlaybackRate(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingProgress() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::BufferingProgress() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_BufferingProgress(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlaybackSession::DownloadProgress() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::DownloadProgress() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_DownloadProgress(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalVideoHeight() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalVideoHeight() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_NaturalVideoHeight(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalVideoWidth() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::NaturalVideoWidth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_NaturalVideoWidth(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Media_Playback_IMediaPlaybackSession::NormalizedSourceRect() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::NormalizedSourceRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_NormalizedSourceRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession::NormalizedSourceRect(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::NormalizedSourceRect(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->put_NormalizedSourceRect(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode) consume_Windows_Media_Playback_IMediaPlaybackSession::StereoscopicVideoPackingMode() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::StereoscopicVideoPackingMode() const { winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_StereoscopicVideoPackingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession::StereoscopicVideoPackingMode(winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession::StereoscopicVideoPackingMode(winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->put_StereoscopicVideoPackingMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession2::BufferedRangesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::BufferedRangesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->add_BufferedRangesChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackSession2::BufferedRangesChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession2::BufferedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::BufferedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, BufferedRangesChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession2::BufferedRangesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::BufferedRangesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->remove_BufferedRangesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession2::PlayedRangesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::PlayedRangesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->add_PlayedRangesChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackSession2::PlayedRangesChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession2::PlayedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::PlayedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, PlayedRangesChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession2::PlayedRangesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::PlayedRangesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->remove_PlayedRangesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession2::SeekableRangesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::SeekableRangesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->add_SeekableRangesChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackSession2::SeekableRangesChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession2::SeekableRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::SeekableRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, SeekableRangesChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession2::SeekableRangesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::SeekableRangesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->remove_SeekableRangesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession2::SupportedPlaybackRatesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::SupportedPlaybackRatesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->add_SupportedPlaybackRatesChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackSession2::SupportedPlaybackRatesChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession2::SupportedPlaybackRatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::SupportedPlaybackRatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, SupportedPlaybackRatesChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession2::SupportedPlaybackRatesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::SupportedPlaybackRatesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->remove_SupportedPlaybackRatesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackSphericalVideoProjection) consume_Windows_Media_Playback_IMediaPlaybackSession2::SphericalVideoProjection() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::SphericalVideoProjection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->get_SphericalVideoProjection(&value)); return winrt::Windows::Media::Playback::MediaPlaybackSphericalVideoProjection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackSession2::IsMirroring() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::IsMirroring() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->get_IsMirroring(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession2::IsMirroring(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::IsMirroring(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->put_IsMirroring(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Playback_IMediaPlaybackSession2::GetBufferedRanges() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::GetBufferedRanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->GetBufferedRanges(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Playback_IMediaPlaybackSession2::GetPlayedRanges() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::GetPlayedRanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->GetPlayedRanges(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Playback_IMediaPlaybackSession2::GetSeekableRanges() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::GetSeekableRanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->GetSeekableRanges(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackSession2::IsSupportedPlaybackRateRange(double rate1, double rate2) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession2::IsSupportedPlaybackRateRange(double rate1, double rate2) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->IsSupportedPlaybackRateRange(rate1, rate2, &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRotation) consume_Windows_Media_Playback_IMediaPlaybackSession3::PlaybackRotation() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession3::PlaybackRotation() const { winrt::Windows::Media::MediaProperties::MediaRotation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession3)->get_PlaybackRotation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession3::PlaybackRotation(winrt::Windows::Media::MediaProperties::MediaRotation const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession3::PlaybackRotation(winrt::Windows::Media::MediaProperties::MediaRotation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession3)->put_PlaybackRotation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackSessionOutputDegradationPolicyState) consume_Windows_Media_Playback_IMediaPlaybackSession3::GetOutputDegradationPolicyState() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSession3::GetOutputDegradationPolicyState() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession3)->GetOutputDegradationPolicyState(&value)); return winrt::Windows::Media::Playback::MediaPlaybackSessionOutputDegradationPolicyState{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackSessionBufferingStartedEventArgs::IsPlaybackInterruption() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSessionBufferingStartedEventArgs::IsPlaybackInterruption() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSessionBufferingStartedEventArgs)->get_IsPlaybackInterruption(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackSessionVideoConstrictionReason) consume_Windows_Media_Playback_IMediaPlaybackSessionOutputDegradationPolicyState::VideoConstrictionReason() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSessionOutputDegradationPolicyState::VideoConstrictionReason() const { winrt::Windows::Media::Playback::MediaPlaybackSessionVideoConstrictionReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSessionOutputDegradationPolicyState)->get_VideoConstrictionReason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::IsEnabled() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::IsEnabled(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::FrameFormat() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::FrameFormat() const { winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->get_FrameFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::FrameFormat(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::FrameFormat(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->put_FrameFormat(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::HorizontalFieldOfViewInDegrees() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::HorizontalFieldOfViewInDegrees() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->get_HorizontalFieldOfViewInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::HorizontalFieldOfViewInDegrees(double value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::HorizontalFieldOfViewInDegrees(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->put_HorizontalFieldOfViewInDegrees(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::ViewOrientation() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::ViewOrientation() const { winrt::Windows::Foundation::Numerics::quaternion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->get_ViewOrientation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::ViewOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::ViewOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->put_ViewOrientation(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::SphericalVideoProjectionMode) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::ProjectionMode() const + template auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::ProjectionMode() const { winrt::Windows::Media::Playback::SphericalVideoProjectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->get_ProjectionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::ProjectionMode(winrt::Windows::Media::Playback::SphericalVideoProjectionMode const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection::ProjectionMode(winrt::Windows::Media::Playback::SphericalVideoProjectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->put_ProjectionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList::PresentationModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList::PresentationModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackTimedMetadataTrackList)->add_PresentationModeChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList::PresentationModeChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList::PresentationModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList::PresentationModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PresentationModeChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList::PresentationModeChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList::PresentationModeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackTimedMetadataTrackList)->remove_PresentationModeChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode) consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList::GetPresentationMode(uint32_t index) const + template auto consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList::GetPresentationMode(uint32_t index) const { winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackTimedMetadataTrackList)->GetPresentationMode(index, reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList::SetPresentationMode(uint32_t index, winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode const& value) const + template auto consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList::SetPresentationMode(uint32_t index, winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackTimedMetadataTrackList)->SetPresentationMode(index, static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer::AutoPlay() const + template auto consume_Windows_Media_Playback_IMediaPlayer::AutoPlay() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_AutoPlay(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::AutoPlay(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::AutoPlay(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->put_AutoPlay(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaPlayer::NaturalDuration() const + template auto consume_Windows_Media_Playback_IMediaPlayer::NaturalDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_NaturalDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaPlayer::Position() const + template auto consume_Windows_Media_Playback_IMediaPlayer::Position() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::Position(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::Position(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->put_Position(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlayer::BufferingProgress() const + template auto consume_Windows_Media_Playback_IMediaPlayer::BufferingProgress() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_BufferingProgress(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayerState) consume_Windows_Media_Playback_IMediaPlayer::CurrentState() const + template auto consume_Windows_Media_Playback_IMediaPlayer::CurrentState() const { winrt::Windows::Media::Playback::MediaPlayerState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_CurrentState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer::CanSeek() const + template auto consume_Windows_Media_Playback_IMediaPlayer::CanSeek() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_CanSeek(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer::CanPause() const + template auto consume_Windows_Media_Playback_IMediaPlayer::CanPause() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_CanPause(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer::IsLoopingEnabled() const + template auto consume_Windows_Media_Playback_IMediaPlayer::IsLoopingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_IsLoopingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::IsLoopingEnabled(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::IsLoopingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->put_IsLoopingEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer::IsProtected() const + template auto consume_Windows_Media_Playback_IMediaPlayer::IsProtected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_IsProtected(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer::IsMuted() const + template auto consume_Windows_Media_Playback_IMediaPlayer::IsMuted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_IsMuted(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::IsMuted(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::IsMuted(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->put_IsMuted(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlayer::PlaybackRate() const + template auto consume_Windows_Media_Playback_IMediaPlayer::PlaybackRate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_PlaybackRate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::PlaybackRate(double value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::PlaybackRate(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->put_PlaybackRate(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlayer::Volume() const + template auto consume_Windows_Media_Playback_IMediaPlayer::Volume() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_Volume(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::Volume(double value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::Volume(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->put_Volume(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::PlaybackMediaMarkerSequence) consume_Windows_Media_Playback_IMediaPlayer::PlaybackMediaMarkers() const + template auto consume_Windows_Media_Playback_IMediaPlayer::PlaybackMediaMarkers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_PlaybackMediaMarkers(&value)); return winrt::Windows::Media::Playback::PlaybackMediaMarkerSequence{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer::MediaOpened(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::MediaOpened(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->add_MediaOpened(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlayer::MediaOpened_revoker consume_Windows_Media_Playback_IMediaPlayer::MediaOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::MediaOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, MediaOpened(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::MediaOpened(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlayer::MediaOpened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_MediaOpened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer::MediaEnded(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::MediaEnded(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->add_MediaEnded(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlayer::MediaEnded_revoker consume_Windows_Media_Playback_IMediaPlayer::MediaEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::MediaEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, MediaEnded(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::MediaEnded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlayer::MediaEnded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_MediaEnded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer::MediaFailed(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::MediaFailed(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->add_MediaFailed(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlayer::MediaFailed_revoker consume_Windows_Media_Playback_IMediaPlayer::MediaFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::MediaFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, MediaFailed(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::MediaFailed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlayer::MediaFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_MediaFailed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer::CurrentStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::CurrentStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->add_CurrentStateChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlayer::CurrentStateChanged_revoker consume_Windows_Media_Playback_IMediaPlayer::CurrentStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::CurrentStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, CurrentStateChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::CurrentStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlayer::CurrentStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_CurrentStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer::PlaybackMediaMarkerReached(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::PlaybackMediaMarkerReached(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->add_PlaybackMediaMarkerReached(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlayer::PlaybackMediaMarkerReached_revoker consume_Windows_Media_Playback_IMediaPlayer::PlaybackMediaMarkerReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::PlaybackMediaMarkerReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, PlaybackMediaMarkerReached(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::PlaybackMediaMarkerReached(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlayer::PlaybackMediaMarkerReached(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_PlaybackMediaMarkerReached(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer::MediaPlayerRateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::MediaPlayerRateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->add_MediaPlayerRateChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlayer::MediaPlayerRateChanged_revoker consume_Windows_Media_Playback_IMediaPlayer::MediaPlayerRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::MediaPlayerRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, MediaPlayerRateChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::MediaPlayerRateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlayer::MediaPlayerRateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_MediaPlayerRateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer::VolumeChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::VolumeChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->add_VolumeChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlayer::VolumeChanged_revoker consume_Windows_Media_Playback_IMediaPlayer::VolumeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::VolumeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, VolumeChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::VolumeChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlayer::VolumeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_VolumeChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer::SeekCompleted(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::SeekCompleted(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->add_SeekCompleted(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlayer::SeekCompleted_revoker consume_Windows_Media_Playback_IMediaPlayer::SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, SeekCompleted(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::SeekCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlayer::SeekCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_SeekCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer::BufferingStarted(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::BufferingStarted(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->add_BufferingStarted(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlayer::BufferingStarted_revoker consume_Windows_Media_Playback_IMediaPlayer::BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, BufferingStarted(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::BufferingStarted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlayer::BufferingStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_BufferingStarted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer::BufferingEnded(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::BufferingEnded(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->add_BufferingEnded(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlayer::BufferingEnded_revoker consume_Windows_Media_Playback_IMediaPlayer::BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, BufferingEnded(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::BufferingEnded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlayer::BufferingEnded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_BufferingEnded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::Play() const + template auto consume_Windows_Media_Playback_IMediaPlayer::Play() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->Play()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::Pause() const + template auto consume_Windows_Media_Playback_IMediaPlayer::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->Pause()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer::SetUriSource(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer::SetUriSource(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->SetUriSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControls) consume_Windows_Media_Playback_IMediaPlayer2::SystemMediaTransportControls() const + template auto consume_Windows_Media_Playback_IMediaPlayer2::SystemMediaTransportControls() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer2)->get_SystemMediaTransportControls(&value)); return winrt::Windows::Media::SystemMediaTransportControls{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayerAudioCategory) consume_Windows_Media_Playback_IMediaPlayer2::AudioCategory() const + template auto consume_Windows_Media_Playback_IMediaPlayer2::AudioCategory() const { winrt::Windows::Media::Playback::MediaPlayerAudioCategory value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer2)->get_AudioCategory(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer2::AudioCategory(winrt::Windows::Media::Playback::MediaPlayerAudioCategory const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer2::AudioCategory(winrt::Windows::Media::Playback::MediaPlayerAudioCategory const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer2)->put_AudioCategory(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayerAudioDeviceType) consume_Windows_Media_Playback_IMediaPlayer2::AudioDeviceType() const + template auto consume_Windows_Media_Playback_IMediaPlayer2::AudioDeviceType() const { winrt::Windows::Media::Playback::MediaPlayerAudioDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer2)->get_AudioDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer2::AudioDeviceType(winrt::Windows::Media::Playback::MediaPlayerAudioDeviceType const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer2::AudioDeviceType(winrt::Windows::Media::Playback::MediaPlayerAudioDeviceType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer2)->put_AudioDeviceType(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer3::IsMutedChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer3::IsMutedChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->add_IsMutedChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlayer3::IsMutedChanged_revoker consume_Windows_Media_Playback_IMediaPlayer3::IsMutedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer3::IsMutedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, IsMutedChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3::IsMutedChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlayer3::IsMutedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->remove_IsMutedChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer3::SourceChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer3::SourceChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->add_SourceChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlayer3::SourceChanged_revoker consume_Windows_Media_Playback_IMediaPlayer3::SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer3::SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, SourceChanged(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3::SourceChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlayer3::SourceChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->remove_SourceChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlayer3::AudioBalance() const + template auto consume_Windows_Media_Playback_IMediaPlayer3::AudioBalance() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->get_AudioBalance(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3::AudioBalance(double value) const + template auto consume_Windows_Media_Playback_IMediaPlayer3::AudioBalance(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->put_AudioBalance(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer3::RealTimePlayback() const + template auto consume_Windows_Media_Playback_IMediaPlayer3::RealTimePlayback() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->get_RealTimePlayback(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3::RealTimePlayback(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlayer3::RealTimePlayback(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->put_RealTimePlayback(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::StereoscopicVideoRenderMode) consume_Windows_Media_Playback_IMediaPlayer3::StereoscopicVideoRenderMode() const + template auto consume_Windows_Media_Playback_IMediaPlayer3::StereoscopicVideoRenderMode() const { winrt::Windows::Media::Playback::StereoscopicVideoRenderMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->get_StereoscopicVideoRenderMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3::StereoscopicVideoRenderMode(winrt::Windows::Media::Playback::StereoscopicVideoRenderMode const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer3::StereoscopicVideoRenderMode(winrt::Windows::Media::Playback::StereoscopicVideoRenderMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->put_StereoscopicVideoRenderMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreakManager) consume_Windows_Media_Playback_IMediaPlayer3::BreakManager() const + template auto consume_Windows_Media_Playback_IMediaPlayer3::BreakManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->get_BreakManager(&value)); return winrt::Windows::Media::Playback::MediaBreakManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManager) consume_Windows_Media_Playback_IMediaPlayer3::CommandManager() const + template auto consume_Windows_Media_Playback_IMediaPlayer3::CommandManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->get_CommandManager(&value)); return winrt::Windows::Media::Playback::MediaPlaybackCommandManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Media_Playback_IMediaPlayer3::AudioDevice() const + template auto consume_Windows_Media_Playback_IMediaPlayer3::AudioDevice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->get_AudioDevice(&value)); return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3::AudioDevice(winrt::Windows::Devices::Enumeration::DeviceInformation const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer3::AudioDevice(winrt::Windows::Devices::Enumeration::DeviceInformation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->put_AudioDevice(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaTimelineController) consume_Windows_Media_Playback_IMediaPlayer3::TimelineController() const + template auto consume_Windows_Media_Playback_IMediaPlayer3::TimelineController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->get_TimelineController(&value)); return winrt::Windows::Media::MediaTimelineController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3::TimelineController(winrt::Windows::Media::MediaTimelineController const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer3::TimelineController(winrt::Windows::Media::MediaTimelineController const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->put_TimelineController(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaPlayer3::TimelineControllerPositionOffset() const + template auto consume_Windows_Media_Playback_IMediaPlayer3::TimelineControllerPositionOffset() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->get_TimelineControllerPositionOffset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3::TimelineControllerPositionOffset(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer3::TimelineControllerPositionOffset(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->put_TimelineControllerPositionOffset(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackSession) consume_Windows_Media_Playback_IMediaPlayer3::PlaybackSession() const + template auto consume_Windows_Media_Playback_IMediaPlayer3::PlaybackSession() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->get_PlaybackSession(&value)); return winrt::Windows::Media::Playback::MediaPlaybackSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3::StepForwardOneFrame() const + template auto consume_Windows_Media_Playback_IMediaPlayer3::StepForwardOneFrame() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->StepForwardOneFrame()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3::StepBackwardOneFrame() const + template auto consume_Windows_Media_Playback_IMediaPlayer3::StepBackwardOneFrame() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->StepBackwardOneFrame()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingSource) consume_Windows_Media_Playback_IMediaPlayer3::GetAsCastingSource() const + template auto consume_Windows_Media_Playback_IMediaPlayer3::GetAsCastingSource() const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->GetAsCastingSource(&returnValue)); return winrt::Windows::Media::Casting::CastingSource{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer4::SetSurfaceSize(winrt::Windows::Foundation::Size const& size) const + template auto consume_Windows_Media_Playback_IMediaPlayer4::SetSurfaceSize(winrt::Windows::Foundation::Size const& size) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer4)->SetSurfaceSize(impl::bind_in(size))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayerSurface) consume_Windows_Media_Playback_IMediaPlayer4::GetSurface(winrt::Windows::UI::Composition::Compositor const& compositor) const + template auto consume_Windows_Media_Playback_IMediaPlayer4::GetSurface(winrt::Windows::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer4)->GetSurface(*(void**)(&compositor), &result)); return winrt::Windows::Media::Playback::MediaPlayerSurface{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer5::VideoFrameAvailable(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer5::VideoFrameAvailable(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer5)->add_VideoFrameAvailable(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlayer5::VideoFrameAvailable_revoker consume_Windows_Media_Playback_IMediaPlayer5::VideoFrameAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayer5::VideoFrameAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, VideoFrameAvailable(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer5::VideoFrameAvailable(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlayer5::VideoFrameAvailable(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer5)->remove_VideoFrameAvailable(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer5::IsVideoFrameServerEnabled() const + template auto consume_Windows_Media_Playback_IMediaPlayer5::IsVideoFrameServerEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer5)->get_IsVideoFrameServerEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer5::IsVideoFrameServerEnabled(bool value) const + template auto consume_Windows_Media_Playback_IMediaPlayer5::IsVideoFrameServerEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer5)->put_IsVideoFrameServerEnabled(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer5::CopyFrameToVideoSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination) const + template auto consume_Windows_Media_Playback_IMediaPlayer5::CopyFrameToVideoSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer5)->CopyFrameToVideoSurface(*(void**)(&destination))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer5::CopyFrameToVideoSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination, winrt::Windows::Foundation::Rect const& targetRectangle) const + template auto consume_Windows_Media_Playback_IMediaPlayer5::CopyFrameToVideoSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination, winrt::Windows::Foundation::Rect const& targetRectangle) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer5)->CopyFrameToVideoSurfaceWithTargetRectangle(*(void**)(&destination), impl::bind_in(targetRectangle))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer5::CopyFrameToStereoscopicVideoSurfaces(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destinationLeftEye, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destinationRightEye) const + template auto consume_Windows_Media_Playback_IMediaPlayer5::CopyFrameToStereoscopicVideoSurfaces(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destinationLeftEye, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destinationRightEye) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer5)->CopyFrameToStereoscopicVideoSurfaces(*(void**)(&destinationLeftEye), *(void**)(&destinationRightEye))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer6::SubtitleFrameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlayer6::SubtitleFrameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer6)->add_SubtitleFrameChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Playback_IMediaPlayer6::SubtitleFrameChanged_revoker consume_Windows_Media_Playback_IMediaPlayer6::SubtitleFrameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Playback_IMediaPlayer6::SubtitleFrameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SubtitleFrameChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer6::SubtitleFrameChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Playback_IMediaPlayer6::SubtitleFrameChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer6)->remove_SubtitleFrameChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer6::RenderSubtitlesToSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination) const + template auto consume_Windows_Media_Playback_IMediaPlayer6::RenderSubtitlesToSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer6)->RenderSubtitlesToSurface(*(void**)(&destination), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer6::RenderSubtitlesToSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination, winrt::Windows::Foundation::Rect const& targetRectangle) const + template auto consume_Windows_Media_Playback_IMediaPlayer6::RenderSubtitlesToSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination, winrt::Windows::Foundation::Rect const& targetRectangle) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer6)->RenderSubtitlesToSurfaceWithTargetRectangle(*(void**)(&destination), impl::bind_in(targetRectangle), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Playback_IMediaPlayer7::AudioStateMonitor() const + template auto consume_Windows_Media_Playback_IMediaPlayer7::AudioStateMonitor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer7)->get_AudioStateMonitor(&value)); return winrt::Windows::Media::Audio::AudioStateMonitor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Media_Playback_IMediaPlayerDataReceivedEventArgs::Data() const + template auto consume_Windows_Media_Playback_IMediaPlayerDataReceivedEventArgs::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerDataReceivedEventArgs)->get_Data(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayerEffects::AddAudioEffect(param::hstring const& activatableClassId, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const + template auto consume_Windows_Media_Playback_IMediaPlayerEffects::AddAudioEffect(param::hstring const& activatableClassId, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerEffects)->AddAudioEffect(*(void**)(&activatableClassId), effectOptional, *(void**)(&configuration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayerEffects::RemoveAllEffects() const + template auto consume_Windows_Media_Playback_IMediaPlayerEffects::RemoveAllEffects() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerEffects)->RemoveAllEffects()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayerEffects2::AddVideoEffect(param::hstring const& activatableClassId, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& effectConfiguration) const + template auto consume_Windows_Media_Playback_IMediaPlayerEffects2::AddVideoEffect(param::hstring const& activatableClassId, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& effectConfiguration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerEffects2)->AddVideoEffect(*(void**)(&activatableClassId), effectOptional, *(void**)(&effectConfiguration))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayerError) consume_Windows_Media_Playback_IMediaPlayerFailedEventArgs::Error() const + template auto consume_Windows_Media_Playback_IMediaPlayerFailedEventArgs::Error() const { winrt::Windows::Media::Playback::MediaPlayerError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerFailedEventArgs)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Playback_IMediaPlayerFailedEventArgs::ExtendedErrorCode() const + template auto consume_Windows_Media_Playback_IMediaPlayerFailedEventArgs::ExtendedErrorCode() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerFailedEventArgs)->get_ExtendedErrorCode(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Playback_IMediaPlayerFailedEventArgs::ErrorMessage() const + template auto consume_Windows_Media_Playback_IMediaPlayerFailedEventArgs::ErrorMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerFailedEventArgs)->get_ErrorMessage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlayerRateChangedEventArgs::NewRate() const + template auto consume_Windows_Media_Playback_IMediaPlayerRateChangedEventArgs::NewRate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerRateChangedEventArgs)->get_NewRate(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionManager) consume_Windows_Media_Playback_IMediaPlayerSource::ProtectionManager() const + template auto consume_Windows_Media_Playback_IMediaPlayerSource::ProtectionManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerSource)->get_ProtectionManager(&value)); return winrt::Windows::Media::Protection::MediaProtectionManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayerSource::ProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayerSource::ProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerSource)->put_ProtectionManager(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayerSource::SetFileSource(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Media_Playback_IMediaPlayerSource::SetFileSource(winrt::Windows::Storage::IStorageFile const& file) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerSource)->SetFileSource(*(void**)(&file))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayerSource::SetStreamSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const + template auto consume_Windows_Media_Playback_IMediaPlayerSource::SetStreamSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerSource)->SetStreamSource(*(void**)(&stream))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayerSource::SetMediaSource(winrt::Windows::Media::Core::IMediaSource const& source) const + template auto consume_Windows_Media_Playback_IMediaPlayerSource::SetMediaSource(winrt::Windows::Media::Core::IMediaSource const& source) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerSource)->SetMediaSource(*(void**)(&source))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::IMediaPlaybackSource) consume_Windows_Media_Playback_IMediaPlayerSource2::Source() const + template auto consume_Windows_Media_Playback_IMediaPlayerSource2::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerSource2)->get_Source(&value)); return winrt::Windows::Media::Playback::IMediaPlaybackSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayerSource2::Source(winrt::Windows::Media::Playback::IMediaPlaybackSource const& value) const + template auto consume_Windows_Media_Playback_IMediaPlayerSource2::Source(winrt::Windows::Media::Playback::IMediaPlaybackSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerSource2)->put_Source(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ICompositionSurface) consume_Windows_Media_Playback_IMediaPlayerSurface::CompositionSurface() const + template auto consume_Windows_Media_Playback_IMediaPlayerSurface::CompositionSurface() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerSurface)->get_CompositionSurface(&value)); return winrt::Windows::UI::Composition::ICompositionSurface{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Compositor) consume_Windows_Media_Playback_IMediaPlayerSurface::Compositor() const + template auto consume_Windows_Media_Playback_IMediaPlayerSurface::Compositor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerSurface)->get_Compositor(&value)); return winrt::Windows::UI::Composition::Compositor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) consume_Windows_Media_Playback_IMediaPlayerSurface::MediaPlayer() const + template auto consume_Windows_Media_Playback_IMediaPlayerSurface::MediaPlayer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerSurface)->get_MediaPlayer(&value)); return winrt::Windows::Media::Playback::MediaPlayer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IPlaybackMediaMarker::Time() const + template auto consume_Windows_Media_Playback_IPlaybackMediaMarker::Time() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IPlaybackMediaMarker)->get_Time(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Playback_IPlaybackMediaMarker::MediaMarkerType() const + template auto consume_Windows_Media_Playback_IPlaybackMediaMarker::MediaMarkerType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IPlaybackMediaMarker)->get_MediaMarkerType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Playback_IPlaybackMediaMarker::Text() const + template auto consume_Windows_Media_Playback_IPlaybackMediaMarker::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IPlaybackMediaMarker)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::PlaybackMediaMarker) consume_Windows_Media_Playback_IPlaybackMediaMarkerFactory::CreateFromTime(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Playback_IPlaybackMediaMarkerFactory::CreateFromTime(winrt::Windows::Foundation::TimeSpan const& value) const { void* marker{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IPlaybackMediaMarkerFactory)->CreateFromTime(impl::bind_in(value), &marker)); return winrt::Windows::Media::Playback::PlaybackMediaMarker{ marker, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::PlaybackMediaMarker) consume_Windows_Media_Playback_IPlaybackMediaMarkerFactory::Create(winrt::Windows::Foundation::TimeSpan const& value, param::hstring const& mediaMarketType, param::hstring const& text) const + template auto consume_Windows_Media_Playback_IPlaybackMediaMarkerFactory::Create(winrt::Windows::Foundation::TimeSpan const& value, param::hstring const& mediaMarketType, param::hstring const& text) const { void* marker{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IPlaybackMediaMarkerFactory)->Create(impl::bind_in(value), *(void**)(&mediaMarketType), *(void**)(&text), &marker)); return winrt::Windows::Media::Playback::PlaybackMediaMarker{ marker, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::PlaybackMediaMarker) consume_Windows_Media_Playback_IPlaybackMediaMarkerReachedEventArgs::PlaybackMediaMarker() const + template auto consume_Windows_Media_Playback_IPlaybackMediaMarkerReachedEventArgs::PlaybackMediaMarker() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IPlaybackMediaMarkerReachedEventArgs)->get_PlaybackMediaMarker(&value)); return winrt::Windows::Media::Playback::PlaybackMediaMarker{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Playback_IPlaybackMediaMarkerSequence::Size() const + template auto consume_Windows_Media_Playback_IPlaybackMediaMarkerSequence::Size() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IPlaybackMediaMarkerSequence)->get_Size(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IPlaybackMediaMarkerSequence::Insert(winrt::Windows::Media::Playback::PlaybackMediaMarker const& value) const + template auto consume_Windows_Media_Playback_IPlaybackMediaMarkerSequence::Insert(winrt::Windows::Media::Playback::PlaybackMediaMarker const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IPlaybackMediaMarkerSequence)->Insert(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IPlaybackMediaMarkerSequence::Clear() const + template auto consume_Windows_Media_Playback_IPlaybackMediaMarkerSequence::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IPlaybackMediaMarkerSequence)->Clear()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataTrack) consume_Windows_Media_Playback_ITimedMetadataPresentationModeChangedEventArgs::Track() const + template auto consume_Windows_Media_Playback_ITimedMetadataPresentationModeChangedEventArgs::Track() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::ITimedMetadataPresentationModeChangedEventArgs)->get_Track(&value)); return winrt::Windows::Media::Core::TimedMetadataTrack{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode) consume_Windows_Media_Playback_ITimedMetadataPresentationModeChangedEventArgs::OldPresentationMode() const + template auto consume_Windows_Media_Playback_ITimedMetadataPresentationModeChangedEventArgs::OldPresentationMode() const { winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::ITimedMetadataPresentationModeChangedEventArgs)->get_OldPresentationMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode) consume_Windows_Media_Playback_ITimedMetadataPresentationModeChangedEventArgs::NewPresentationMode() const + template auto consume_Windows_Media_Playback_ITimedMetadataPresentationModeChangedEventArgs::NewPresentationMode() const { winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::ITimedMetadataPresentationModeChangedEventArgs)->get_NewPresentationMode(reinterpret_cast(&value))); @@ -5283,10 +5283,10 @@ WINRT_EXPORT namespace winrt::Windows::Media::Playback { return impl::call_factory([&](IBackgroundMediaPlayerStatics const& f) { return f.MessageReceivedFromBackground(value); }); } - inline BackgroundMediaPlayer::MessageReceivedFromBackground_revoker BackgroundMediaPlayer::MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) + inline auto BackgroundMediaPlayer::MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) { auto f = get_activation_factory(); - return { f, f.MessageReceivedFromBackground(value) }; + return BackgroundMediaPlayer::MessageReceivedFromBackground_revoker{ f, f.MessageReceivedFromBackground(value) }; } inline auto BackgroundMediaPlayer::MessageReceivedFromBackground(winrt::event_token const& token) { @@ -5296,10 +5296,10 @@ WINRT_EXPORT namespace winrt::Windows::Media::Playback { return impl::call_factory([&](IBackgroundMediaPlayerStatics const& f) { return f.MessageReceivedFromForeground(value); }); } - inline BackgroundMediaPlayer::MessageReceivedFromForeground_revoker BackgroundMediaPlayer::MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) + inline auto BackgroundMediaPlayer::MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) { auto f = get_activation_factory(); - return { f, f.MessageReceivedFromForeground(value) }; + return BackgroundMediaPlayer::MessageReceivedFromForeground_revoker{ f, f.MessageReceivedFromForeground(value) }; } inline auto BackgroundMediaPlayer::MessageReceivedFromForeground(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Playlists.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Playlists.h index 29627537..440016da 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Playlists.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Playlists.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Playlists_H #define WINRT_Windows_Media_Playlists_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,31 +13,31 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Playlists.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_Playlists_IPlaylist::Files() const + template auto consume_Windows_Media_Playlists_IPlaylist::Files() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playlists::IPlaylist)->get_Files(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Playlists_IPlaylist::SaveAsync() const + template auto consume_Windows_Media_Playlists_IPlaylist::SaveAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playlists::IPlaylist)->SaveAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Playlists_IPlaylist::SaveAsAsync(winrt::Windows::Storage::IStorageFolder const& saveLocation, param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option) const + template auto consume_Windows_Media_Playlists_IPlaylist::SaveAsAsync(winrt::Windows::Storage::IStorageFolder const& saveLocation, param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playlists::IPlaylist)->SaveAsAsync(*(void**)(&saveLocation), *(void**)(&desiredName), static_cast(option), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Playlists_IPlaylist::SaveAsAsync(winrt::Windows::Storage::IStorageFolder const& saveLocation, param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option, winrt::Windows::Media::Playlists::PlaylistFormat const& playlistFormat) const + template auto consume_Windows_Media_Playlists_IPlaylist::SaveAsAsync(winrt::Windows::Storage::IStorageFolder const& saveLocation, param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option, winrt::Windows::Media::Playlists::PlaylistFormat const& playlistFormat) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playlists::IPlaylist)->SaveAsWithFormatAsync(*(void**)(&saveLocation), *(void**)(&desiredName), static_cast(option), static_cast(playlistFormat), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Playlists_IPlaylistStatics::LoadAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Media_Playlists_IPlaylistStatics::LoadAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playlists::IPlaylistStatics)->LoadAsync(*(void**)(&file), &operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Protection.PlayReady.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Protection.PlayReady.h index 95ad9609..16f20e59 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Protection.PlayReady.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Protection.PlayReady.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Protection_PlayReady_H #define WINRT_Windows_Media_Protection_PlayReady_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.Protection.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,988 +15,988 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Protection.PlayReady.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_PlayReady_INDClient::RegistrationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Protection_PlayReady_INDClient::RegistrationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->add_RegistrationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Protection_PlayReady_INDClient::RegistrationCompleted_revoker consume_Windows_Media_Protection_PlayReady_INDClient::RegistrationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Protection_PlayReady_INDClient::RegistrationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RegistrationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDClient::RegistrationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Protection_PlayReady_INDClient::RegistrationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->remove_RegistrationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_PlayReady_INDClient::ProximityDetectionCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Protection_PlayReady_INDClient::ProximityDetectionCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->add_ProximityDetectionCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Protection_PlayReady_INDClient::ProximityDetectionCompleted_revoker consume_Windows_Media_Protection_PlayReady_INDClient::ProximityDetectionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Protection_PlayReady_INDClient::ProximityDetectionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ProximityDetectionCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDClient::ProximityDetectionCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Protection_PlayReady_INDClient::ProximityDetectionCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->remove_ProximityDetectionCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_PlayReady_INDClient::LicenseFetchCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Protection_PlayReady_INDClient::LicenseFetchCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->add_LicenseFetchCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Protection_PlayReady_INDClient::LicenseFetchCompleted_revoker consume_Windows_Media_Protection_PlayReady_INDClient::LicenseFetchCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Protection_PlayReady_INDClient::LicenseFetchCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LicenseFetchCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDClient::LicenseFetchCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Protection_PlayReady_INDClient::LicenseFetchCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->remove_LicenseFetchCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_PlayReady_INDClient::ReRegistrationNeeded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Protection_PlayReady_INDClient::ReRegistrationNeeded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->add_ReRegistrationNeeded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Protection_PlayReady_INDClient::ReRegistrationNeeded_revoker consume_Windows_Media_Protection_PlayReady_INDClient::ReRegistrationNeeded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Protection_PlayReady_INDClient::ReRegistrationNeeded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ReRegistrationNeeded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDClient::ReRegistrationNeeded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Protection_PlayReady_INDClient::ReRegistrationNeeded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->remove_ReRegistrationNeeded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_PlayReady_INDClient::ClosedCaptionDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Protection_PlayReady_INDClient::ClosedCaptionDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->add_ClosedCaptionDataReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Protection_PlayReady_INDClient::ClosedCaptionDataReceived_revoker consume_Windows_Media_Protection_PlayReady_INDClient::ClosedCaptionDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Protection_PlayReady_INDClient::ClosedCaptionDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ClosedCaptionDataReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDClient::ClosedCaptionDataReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Protection_PlayReady_INDClient::ClosedCaptionDataReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->remove_ClosedCaptionDataReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Protection_PlayReady_INDClient::StartAsync(winrt::Windows::Foundation::Uri const& contentUrl, uint32_t startAsyncOptions, winrt::Windows::Media::Protection::PlayReady::INDCustomData const& registrationCustomData, winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const + template auto consume_Windows_Media_Protection_PlayReady_INDClient::StartAsync(winrt::Windows::Foundation::Uri const& contentUrl, uint32_t startAsyncOptions, winrt::Windows::Media::Protection::PlayReady::INDCustomData const& registrationCustomData, winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->StartAsync(*(void**)(&contentUrl), startAsyncOptions, *(void**)(®istrationCustomData), *(void**)(&licenseFetchDescriptor), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Protection_PlayReady_INDClient::LicenseFetchAsync(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const + template auto consume_Windows_Media_Protection_PlayReady_INDClient::LicenseFetchAsync(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->LicenseFetchAsync(*(void**)(&licenseFetchDescriptor), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Protection_PlayReady_INDClient::ReRegistrationAsync(winrt::Windows::Media::Protection::PlayReady::INDCustomData const& registrationCustomData) const + template auto consume_Windows_Media_Protection_PlayReady_INDClient::ReRegistrationAsync(winrt::Windows::Media::Protection::PlayReady::INDCustomData const& registrationCustomData) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->ReRegistrationAsync(*(void**)(®istrationCustomData), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDClient::Close() const + template auto consume_Windows_Media_Protection_PlayReady_INDClient::Close() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->Close()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDClient) consume_Windows_Media_Protection_PlayReady_INDClientFactory::CreateInstance(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine const& downloadEngine, winrt::Windows::Media::Protection::PlayReady::INDStreamParser const& streamParser, winrt::Windows::Media::Protection::PlayReady::INDMessenger const& pMessenger) const + template auto consume_Windows_Media_Protection_PlayReady_INDClientFactory::CreateInstance(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine const& downloadEngine, winrt::Windows::Media::Protection::PlayReady::INDStreamParser const& streamParser, winrt::Windows::Media::Protection::PlayReady::INDMessenger const& pMessenger) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClientFactory)->CreateInstance(*(void**)(&downloadEngine), *(void**)(&streamParser), *(void**)(&pMessenger), &instance)); return winrt::Windows::Media::Protection::PlayReady::NDClient{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDClosedCaptionFormat) consume_Windows_Media_Protection_PlayReady_INDClosedCaptionDataReceivedEventArgs::ClosedCaptionDataFormat() const + template auto consume_Windows_Media_Protection_PlayReady_INDClosedCaptionDataReceivedEventArgs::ClosedCaptionDataFormat() const { winrt::Windows::Media::Protection::PlayReady::NDClosedCaptionFormat ccForamt{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClosedCaptionDataReceivedEventArgs)->get_ClosedCaptionDataFormat(reinterpret_cast(&ccForamt))); return ccForamt; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_Media_Protection_PlayReady_INDClosedCaptionDataReceivedEventArgs::PresentationTimestamp() const + template auto consume_Windows_Media_Protection_PlayReady_INDClosedCaptionDataReceivedEventArgs::PresentationTimestamp() const { int64_t presentationTimestamp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClosedCaptionDataReceivedEventArgs)->get_PresentationTimestamp(&presentationTimestamp)); return presentationTimestamp; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Protection_PlayReady_INDClosedCaptionDataReceivedEventArgs::ClosedCaptionData() const + template auto consume_Windows_Media_Protection_PlayReady_INDClosedCaptionDataReceivedEventArgs::ClosedCaptionData() const { uint32_t ccDataBytes_impl_size{}; uint8_t* ccDataBytes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClosedCaptionDataReceivedEventArgs)->get_ClosedCaptionData(&ccDataBytes_impl_size, &ccDataBytes)); return com_array{ ccDataBytes, ccDataBytes_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Protection_PlayReady_INDCustomData::CustomDataTypeID() const + template auto consume_Windows_Media_Protection_PlayReady_INDCustomData::CustomDataTypeID() const { uint32_t customDataTypeIDBytes_impl_size{}; uint8_t* customDataTypeIDBytes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDCustomData)->get_CustomDataTypeID(&customDataTypeIDBytes_impl_size, &customDataTypeIDBytes)); return com_array{ customDataTypeIDBytes, customDataTypeIDBytes_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Protection_PlayReady_INDCustomData::CustomData() const + template auto consume_Windows_Media_Protection_PlayReady_INDCustomData::CustomData() const { uint32_t customDataBytes_impl_size{}; uint8_t* customDataBytes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDCustomData)->get_CustomData(&customDataBytes_impl_size, &customDataBytes)); return com_array{ customDataBytes, customDataBytes_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDCustomData) consume_Windows_Media_Protection_PlayReady_INDCustomDataFactory::CreateInstance(array_view customDataTypeIDBytes, array_view customDataBytes) const + template auto consume_Windows_Media_Protection_PlayReady_INDCustomDataFactory::CreateInstance(array_view customDataTypeIDBytes, array_view customDataBytes) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDCustomDataFactory)->CreateInstance(customDataTypeIDBytes.size(), get_abi(customDataTypeIDBytes), customDataBytes.size(), get_abi(customDataBytes), &instance)); return winrt::Windows::Media::Protection::PlayReady::NDCustomData{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::Open(winrt::Windows::Foundation::Uri const& uri, array_view sessionIDBytes) const + template auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::Open(winrt::Windows::Foundation::Uri const& uri, array_view sessionIDBytes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine)->Open(*(void**)(&uri), sessionIDBytes.size(), get_abi(sessionIDBytes))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::Pause() const + template auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine)->Pause()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::Resume() const + template auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::Resume() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine)->Resume()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::Close() const + template auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::Close() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine)->Close()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::Seek(winrt::Windows::Foundation::TimeSpan const& startPosition) const + template auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::Seek(winrt::Windows::Foundation::TimeSpan const& startPosition) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine)->Seek(impl::bind_in(startPosition))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::CanSeek() const + template auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::CanSeek() const { bool canSeek{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine)->get_CanSeek(&canSeek)); return canSeek; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::BufferFullMinThresholdInSamples() const + template auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::BufferFullMinThresholdInSamples() const { uint32_t bufferFullMinThreshold{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine)->get_BufferFullMinThresholdInSamples(&bufferFullMinThreshold)); return bufferFullMinThreshold; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::BufferFullMaxThresholdInSamples() const + template auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::BufferFullMaxThresholdInSamples() const { uint32_t bufferFullMaxThreshold{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine)->get_BufferFullMaxThresholdInSamples(&bufferFullMaxThreshold)); return bufferFullMaxThreshold; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDDownloadEngineNotifier) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::Notifier() const + template auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine::Notifier() const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine)->get_Notifier(&instance)); return winrt::Windows::Media::Protection::PlayReady::NDDownloadEngineNotifier{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier::OnStreamOpened() const + template auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier::OnStreamOpened() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngineNotifier)->OnStreamOpened()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier::OnPlayReadyObjectReceived(array_view dataBytes) const + template auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier::OnPlayReadyObjectReceived(array_view dataBytes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngineNotifier)->OnPlayReadyObjectReceived(dataBytes.size(), get_abi(dataBytes))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier::OnContentIDReceived(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const + template auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier::OnContentIDReceived(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngineNotifier)->OnContentIDReceived(*(void**)(&licenseFetchDescriptor))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier::OnDataReceived(array_view dataBytes, uint32_t bytesReceived) const + template auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier::OnDataReceived(array_view dataBytes, uint32_t bytesReceived) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngineNotifier)->OnDataReceived(dataBytes.size(), get_abi(dataBytes), bytesReceived)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier::OnEndOfStream() const + template auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier::OnEndOfStream() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngineNotifier)->OnEndOfStream()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier::OnNetworkError() const + template auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier::OnNetworkError() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngineNotifier)->OnNetworkError()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::INDCustomData) consume_Windows_Media_Protection_PlayReady_INDLicenseFetchCompletedEventArgs::ResponseCustomData() const + template auto consume_Windows_Media_Protection_PlayReady_INDLicenseFetchCompletedEventArgs::ResponseCustomData() const { void* customData{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchCompletedEventArgs)->get_ResponseCustomData(&customData)); return winrt::Windows::Media::Protection::PlayReady::INDCustomData{ customData, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDContentIDType) consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor::ContentIDType() const + template auto consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor::ContentIDType() const { winrt::Windows::Media::Protection::PlayReady::NDContentIDType contentIDType{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor)->get_ContentIDType(reinterpret_cast(&contentIDType))); return contentIDType; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor::ContentID() const + template auto consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor::ContentID() const { uint32_t contentIDBytes_impl_size{}; uint8_t* contentIDBytes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor)->get_ContentID(&contentIDBytes_impl_size, &contentIDBytes)); return com_array{ contentIDBytes, contentIDBytes_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::INDCustomData) consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor::LicenseFetchChallengeCustomData() const + template auto consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor::LicenseFetchChallengeCustomData() const { void* licenseFetchChallengeCustomData{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor)->get_LicenseFetchChallengeCustomData(&licenseFetchChallengeCustomData)); return winrt::Windows::Media::Protection::PlayReady::INDCustomData{ licenseFetchChallengeCustomData, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor::LicenseFetchChallengeCustomData(winrt::Windows::Media::Protection::PlayReady::INDCustomData const& licenseFetchChallengeCustomData) const + template auto consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor::LicenseFetchChallengeCustomData(winrt::Windows::Media::Protection::PlayReady::INDCustomData const& licenseFetchChallengeCustomData) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor)->put_LicenseFetchChallengeCustomData(*(void**)(&licenseFetchChallengeCustomData))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDLicenseFetchDescriptor) consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptorFactory::CreateInstance(winrt::Windows::Media::Protection::PlayReady::NDContentIDType const& contentIDType, array_view contentIDBytes, winrt::Windows::Media::Protection::PlayReady::INDCustomData const& licenseFetchChallengeCustomData) const + template auto consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptorFactory::CreateInstance(winrt::Windows::Media::Protection::PlayReady::NDContentIDType const& contentIDType, array_view contentIDBytes, winrt::Windows::Media::Protection::PlayReady::INDCustomData const& licenseFetchChallengeCustomData) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptorFactory)->CreateInstance(static_cast(contentIDType), contentIDBytes.size(), get_abi(contentIDBytes), *(void**)(&licenseFetchChallengeCustomData), &instance)); return winrt::Windows::Media::Protection::PlayReady::NDLicenseFetchDescriptor{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::INDCustomData) consume_Windows_Media_Protection_PlayReady_INDLicenseFetchResult::ResponseCustomData() const + template auto consume_Windows_Media_Protection_PlayReady_INDLicenseFetchResult::ResponseCustomData() const { void* customData{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchResult)->get_ResponseCustomData(&customData)); return winrt::Windows::Media::Protection::PlayReady::INDCustomData{ customData, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Protection_PlayReady_INDMessenger::SendRegistrationRequestAsync(array_view sessionIDBytes, array_view challengeDataBytes) const + template auto consume_Windows_Media_Protection_PlayReady_INDMessenger::SendRegistrationRequestAsync(array_view sessionIDBytes, array_view challengeDataBytes) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDMessenger)->SendRegistrationRequestAsync(sessionIDBytes.size(), get_abi(sessionIDBytes), challengeDataBytes.size(), get_abi(challengeDataBytes), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Protection_PlayReady_INDMessenger::SendProximityDetectionStartAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view transmitterChannelBytes, array_view sessionIDBytes, array_view challengeDataBytes) const + template auto consume_Windows_Media_Protection_PlayReady_INDMessenger::SendProximityDetectionStartAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view transmitterChannelBytes, array_view sessionIDBytes, array_view challengeDataBytes) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDMessenger)->SendProximityDetectionStartAsync(static_cast(pdType), transmitterChannelBytes.size(), get_abi(transmitterChannelBytes), sessionIDBytes.size(), get_abi(sessionIDBytes), challengeDataBytes.size(), get_abi(challengeDataBytes), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Protection_PlayReady_INDMessenger::SendProximityDetectionResponseAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view transmitterChannelBytes, array_view sessionIDBytes, array_view responseDataBytes) const + template auto consume_Windows_Media_Protection_PlayReady_INDMessenger::SendProximityDetectionResponseAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view transmitterChannelBytes, array_view sessionIDBytes, array_view responseDataBytes) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDMessenger)->SendProximityDetectionResponseAsync(static_cast(pdType), transmitterChannelBytes.size(), get_abi(transmitterChannelBytes), sessionIDBytes.size(), get_abi(sessionIDBytes), responseDataBytes.size(), get_abi(responseDataBytes), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Protection_PlayReady_INDMessenger::SendLicenseFetchRequestAsync(array_view sessionIDBytes, array_view challengeDataBytes) const + template auto consume_Windows_Media_Protection_PlayReady_INDMessenger::SendLicenseFetchRequestAsync(array_view sessionIDBytes, array_view challengeDataBytes) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDMessenger)->SendLicenseFetchRequestAsync(sessionIDBytes.size(), get_abi(sessionIDBytes), challengeDataBytes.size(), get_abi(challengeDataBytes), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_INDProximityDetectionCompletedEventArgs::ProximityDetectionRetryCount() const + template auto consume_Windows_Media_Protection_PlayReady_INDProximityDetectionCompletedEventArgs::ProximityDetectionRetryCount() const { uint32_t retryCount{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDProximityDetectionCompletedEventArgs)->get_ProximityDetectionRetryCount(&retryCount)); return retryCount; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::INDCustomData) consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs::ResponseCustomData() const + template auto consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs::ResponseCustomData() const { void* customData{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDRegistrationCompletedEventArgs)->get_ResponseCustomData(&customData)); return winrt::Windows::Media::Protection::PlayReady::INDCustomData{ customData, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties) consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs::TransmitterProperties() const + template auto consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs::TransmitterProperties() const { void* transmitterProperties{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDRegistrationCompletedEventArgs)->get_TransmitterProperties(&transmitterProperties)); return winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties{ transmitterProperties, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs::TransmitterCertificateAccepted() const + template auto consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs::TransmitterCertificateAccepted() const { bool acceptpt{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDRegistrationCompletedEventArgs)->get_TransmitterCertificateAccepted(&acceptpt)); return acceptpt; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs::TransmitterCertificateAccepted(bool accept) const + template auto consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs::TransmitterCertificateAccepted(bool accept) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDRegistrationCompletedEventArgs)->put_TransmitterCertificateAccepted(accept)); } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Protection_PlayReady_INDSendResult::Response() const + template auto consume_Windows_Media_Protection_PlayReady_INDSendResult::Response() const { uint32_t responseDataBytes_impl_size{}; uint8_t* responseDataBytes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDSendResult)->get_Response(&responseDataBytes_impl_size, &responseDataBytes)); return com_array{ responseDataBytes, responseDataBytes_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) consume_Windows_Media_Protection_PlayReady_INDStartResult::MediaStreamSource() const + template auto consume_Windows_Media_Protection_PlayReady_INDStartResult::MediaStreamSource() const { void* mediaStreamSource{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDStartResult)->get_MediaStreamSource(&mediaStreamSource)); return winrt::Windows::Media::Core::MediaStreamSource{ mediaStreamSource, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_Protection_PlayReady_INDStorageFileHelper::GetFileURLs(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Media_Protection_PlayReady_INDStorageFileHelper::GetFileURLs(winrt::Windows::Storage::IStorageFile const& file) const { void* fileURLs{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDStorageFileHelper)->GetFileURLs(*(void**)(&file), &fileURLs)); return winrt::Windows::Foundation::Collections::IVector{ fileURLs, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDStreamParser::ParseData(array_view dataBytes) const + template auto consume_Windows_Media_Protection_PlayReady_INDStreamParser::ParseData(array_view dataBytes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDStreamParser)->ParseData(dataBytes.size(), get_abi(dataBytes))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_INDStreamParser::GetStreamInformation(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::Windows::Media::Protection::PlayReady::NDMediaStreamType& streamType) const + template auto consume_Windows_Media_Protection_PlayReady_INDStreamParser::GetStreamInformation(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::Windows::Media::Protection::PlayReady::NDMediaStreamType& streamType) const { uint32_t streamID{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDStreamParser)->GetStreamInformation(*(void**)(&descriptor), reinterpret_cast(&streamType), &streamID)); return streamID; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDStreamParser::BeginOfStream() const + template auto consume_Windows_Media_Protection_PlayReady_INDStreamParser::BeginOfStream() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDStreamParser)->BeginOfStream()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDStreamParser::EndOfStream() const + template auto consume_Windows_Media_Protection_PlayReady_INDStreamParser::EndOfStream() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDStreamParser)->EndOfStream()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDStreamParserNotifier) consume_Windows_Media_Protection_PlayReady_INDStreamParser::Notifier() const + template auto consume_Windows_Media_Protection_PlayReady_INDStreamParser::Notifier() const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDStreamParser)->get_Notifier(&instance)); return winrt::Windows::Media::Protection::PlayReady::NDStreamParserNotifier{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier::OnContentIDReceived(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const + template auto consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier::OnContentIDReceived(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDStreamParserNotifier)->OnContentIDReceived(*(void**)(&licenseFetchDescriptor))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier::OnMediaStreamDescriptorCreated(param::vector const& audioStreamDescriptors, param::vector const& videoStreamDescriptors) const + template auto consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier::OnMediaStreamDescriptorCreated(param::vector const& audioStreamDescriptors, param::vector const& videoStreamDescriptors) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDStreamParserNotifier)->OnMediaStreamDescriptorCreated(*(void**)(&audioStreamDescriptors), *(void**)(&videoStreamDescriptors))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier::OnSampleParsed(uint32_t streamID, winrt::Windows::Media::Protection::PlayReady::NDMediaStreamType const& streamType, winrt::Windows::Media::Core::MediaStreamSample const& streamSample, int64_t pts, winrt::Windows::Media::Protection::PlayReady::NDClosedCaptionFormat const& ccFormat, array_view ccDataBytes) const + template auto consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier::OnSampleParsed(uint32_t streamID, winrt::Windows::Media::Protection::PlayReady::NDMediaStreamType const& streamType, winrt::Windows::Media::Core::MediaStreamSample const& streamSample, int64_t pts, winrt::Windows::Media::Protection::PlayReady::NDClosedCaptionFormat const& ccFormat, array_view ccDataBytes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDStreamParserNotifier)->OnSampleParsed(streamID, static_cast(streamType), *(void**)(&streamSample), pts, static_cast(ccFormat), ccDataBytes.size(), get_abi(ccDataBytes))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier::OnBeginSetupDecryptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::guid const& keyID, array_view proBytes) const + template auto consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier::OnBeginSetupDecryptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::guid const& keyID, array_view proBytes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDStreamParserNotifier)->OnBeginSetupDecryptor(*(void**)(&descriptor), impl::bind_in(keyID), proBytes.size(), get_abi(proBytes))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDTCPMessenger) consume_Windows_Media_Protection_PlayReady_INDTCPMessengerFactory::CreateInstance(param::hstring const& remoteHostName, uint32_t remoteHostPort) const + template auto consume_Windows_Media_Protection_PlayReady_INDTCPMessengerFactory::CreateInstance(param::hstring const& remoteHostName, uint32_t remoteHostPort) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDTCPMessengerFactory)->CreateInstance(*(void**)(&remoteHostName), remoteHostPort, &instance)); return winrt::Windows::Media::Protection::PlayReady::NDTCPMessenger{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDCertificateType) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::CertificateType() const + template auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::CertificateType() const { winrt::Windows::Media::Protection::PlayReady::NDCertificateType type{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties)->get_CertificateType(reinterpret_cast(&type))); return type; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDCertificatePlatformID) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::PlatformIdentifier() const + template auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::PlatformIdentifier() const { winrt::Windows::Media::Protection::PlayReady::NDCertificatePlatformID identifier{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties)->get_PlatformIdentifier(reinterpret_cast(&identifier))); return identifier; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::SupportedFeatures() const + template auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::SupportedFeatures() const { uint32_t featureSets_impl_size{}; int32_t* featureSets{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties)->get_SupportedFeatures(&featureSets_impl_size, &featureSets)); return com_array{ featureSets, featureSets_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::SecurityLevel() const + template auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::SecurityLevel() const { uint32_t level{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties)->get_SecurityLevel(&level)); return level; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::SecurityVersion() const + template auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::SecurityVersion() const { uint32_t securityVersion{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties)->get_SecurityVersion(&securityVersion)); return securityVersion; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::ExpirationDate() const + template auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::ExpirationDate() const { winrt::Windows::Foundation::DateTime expirationDate{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties)->get_ExpirationDate(put_abi(expirationDate))); return expirationDate; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::ClientID() const + template auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::ClientID() const { uint32_t clientIDBytes_impl_size{}; uint8_t* clientIDBytes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties)->get_ClientID(&clientIDBytes_impl_size, &clientIDBytes)); return com_array{ clientIDBytes, clientIDBytes_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::ModelDigest() const + template auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::ModelDigest() const { uint32_t modelDigestBytes_impl_size{}; uint8_t* modelDigestBytes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties)->get_ModelDigest(&modelDigestBytes_impl_size, &modelDigestBytes)); return com_array{ modelDigestBytes, modelDigestBytes_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::ModelManufacturerName() const + template auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::ModelManufacturerName() const { void* modelManufacturerName{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties)->get_ModelManufacturerName(&modelManufacturerName)); return hstring{ modelManufacturerName, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::ModelName() const + template auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::ModelName() const { void* modelName{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties)->get_ModelName(&modelName)); return hstring{ modelName, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::ModelNumber() const + template auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties::ModelNumber() const { void* modelNumber{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties)->get_ModelNumber(&modelNumber)); return hstring{ modelNumber, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::KeyId() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::KeyId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader)->get_KeyId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::KeyIdString() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::KeyIdString() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader)->get_KeyIdString(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::LicenseAcquisitionUrl() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::LicenseAcquisitionUrl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader)->get_LicenseAcquisitionUrl(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::LicenseAcquisitionUserInterfaceUrl() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::LicenseAcquisitionUserInterfaceUrl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader)->get_LicenseAcquisitionUserInterfaceUrl(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::DomainServiceId() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::DomainServiceId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader)->get_DomainServiceId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::EncryptionType() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::EncryptionType() const { winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader)->get_EncryptionType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::CustomAttributes() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::CustomAttributes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader)->get_CustomAttributes(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyDecryptorSetup) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::DecryptorSetup() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::DecryptorSetup() const { winrt::Windows::Media::Protection::PlayReady::PlayReadyDecryptorSetup value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader)->get_DecryptorSetup(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::GetSerializedHeader() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::GetSerializedHeader() const { uint32_t headerBytes_impl_size{}; uint8_t* headerBytes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader)->GetSerializedHeader(&headerBytes_impl_size, &headerBytes)); return com_array{ headerBytes, headerBytes_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::HeaderWithEmbeddedUpdates() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader::HeaderWithEmbeddedUpdates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader)->get_HeaderWithEmbeddedUpdates(&value)); return winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader2::KeyIds() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader2::KeyIds() const { uint32_t contentKeyIds_impl_size{}; winrt::guid* contentKeyIds{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader2)->get_KeyIds(&contentKeyIds_impl_size, &contentKeyIds)); return com_array{ contentKeyIds, contentKeyIds_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader2::KeyIdStrings() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader2::KeyIdStrings() const { uint32_t contentKeyIdStrings_impl_size{}; void** contentKeyIdStrings{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader2)->get_KeyIdStrings(&contentKeyIdStrings_impl_size, &contentKeyIdStrings)); return com_array{ contentKeyIdStrings, contentKeyIdStrings_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory::CreateInstanceFromWindowsMediaDrmHeader(array_view headerBytes, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory::CreateInstanceFromWindowsMediaDrmHeader(array_view headerBytes, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeaderFactory)->CreateInstanceFromWindowsMediaDrmHeader(headerBytes.size(), get_abi(headerBytes), *(void**)(&licenseAcquisitionUrl), *(void**)(&licenseAcquisitionUserInterfaceUrl), *(void**)(&customAttributes), impl::bind_in(domainServiceId), &instance)); return winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory::CreateInstanceFromComponents(winrt::guid const& contentKeyId, param::hstring const& contentKeyIdString, winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm const& contentEncryptionAlgorithm, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory::CreateInstanceFromComponents(winrt::guid const& contentKeyId, param::hstring const& contentKeyIdString, winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm const& contentEncryptionAlgorithm, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeaderFactory)->CreateInstanceFromComponents(impl::bind_in(contentKeyId), *(void**)(&contentKeyIdString), static_cast(contentEncryptionAlgorithm), *(void**)(&licenseAcquisitionUrl), *(void**)(&licenseAcquisitionUserInterfaceUrl), *(void**)(&customAttributes), impl::bind_in(domainServiceId), &instance)); return winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory::CreateInstanceFromPlayReadyHeader(array_view headerBytes) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory::CreateInstanceFromPlayReadyHeader(array_view headerBytes) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeaderFactory)->CreateInstanceFromPlayReadyHeader(headerBytes.size(), get_abi(headerBytes), &instance)); return winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory2::CreateInstanceFromComponents2(uint32_t dwFlags, array_view contentKeyIds, array_view contentKeyIdStrings, winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm const& contentEncryptionAlgorithm, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory2::CreateInstanceFromComponents2(uint32_t dwFlags, array_view contentKeyIds, array_view contentKeyIdStrings, winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm const& contentEncryptionAlgorithm, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeaderFactory2)->CreateInstanceFromComponents2(dwFlags, contentKeyIds.size(), get_abi(contentKeyIds), contentKeyIdStrings.size(), get_abi(contentKeyIdStrings), static_cast(contentEncryptionAlgorithm), *(void**)(&licenseAcquisitionUrl), *(void**)(&licenseAcquisitionUserInterfaceUrl), *(void**)(&customAttributes), impl::bind_in(domainServiceId), &instance)); return winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentResolver::ServiceRequest(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentResolver::ServiceRequest(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader) const { void* serviceRequest{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentResolver)->ServiceRequest(*(void**)(&contentHeader), &serviceRequest)); return winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest{ serviceRequest, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain::AccountId() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain::AccountId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomain)->get_AccountId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain::ServiceId() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain::ServiceId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomain)->get_ServiceId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain::Revision() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain::Revision() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomain)->get_Revision(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain::FriendlyName() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain::FriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomain)->get_FriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain::DomainJoinUrl() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain::DomainJoinUrl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomain)->get_DomainJoinUrl(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyDomainIterable) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainIterableFactory::CreateInstance(winrt::guid const& domainAccountId) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainIterableFactory::CreateInstance(winrt::guid const& domainAccountId) const { void* domainIterable{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainIterableFactory)->CreateInstance(impl::bind_in(domainAccountId), &domainIterable)); return winrt::Windows::Media::Protection::PlayReady::PlayReadyDomainIterable{ domainIterable, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest::DomainAccountId() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest::DomainAccountId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainJoinServiceRequest)->get_DomainAccountId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest::DomainAccountId(winrt::guid const& value) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest::DomainAccountId(winrt::guid const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainJoinServiceRequest)->put_DomainAccountId(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest::DomainFriendlyName() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest::DomainFriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainJoinServiceRequest)->get_DomainFriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest::DomainFriendlyName(param::hstring const& value) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest::DomainFriendlyName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainJoinServiceRequest)->put_DomainFriendlyName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest::DomainServiceId() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest::DomainServiceId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainJoinServiceRequest)->get_DomainServiceId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest::DomainServiceId(winrt::guid const& value) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest::DomainServiceId(winrt::guid const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainJoinServiceRequest)->put_DomainServiceId(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest::DomainAccountId() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest::DomainAccountId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainLeaveServiceRequest)->get_DomainAccountId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest::DomainAccountId(winrt::guid const& value) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest::DomainAccountId(winrt::guid const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainLeaveServiceRequest)->put_DomainAccountId(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest::DomainServiceId() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest::DomainServiceId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainLeaveServiceRequest)->get_DomainServiceId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest::DomainServiceId(winrt::guid const& value) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest::DomainServiceId(winrt::guid const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainLeaveServiceRequest)->put_DomainServiceId(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Protection_PlayReady_IPlayReadyITADataGenerator::GenerateData(winrt::guid const& guidCPSystemId, uint32_t countOfStreams, winrt::Windows::Foundation::Collections::IPropertySet const& configuration, winrt::Windows::Media::Protection::PlayReady::PlayReadyITADataFormat const& format) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyITADataGenerator::GenerateData(winrt::guid const& guidCPSystemId, uint32_t countOfStreams, winrt::Windows::Foundation::Collections::IPropertySet const& configuration, winrt::Windows::Media::Protection::PlayReady::PlayReadyITADataFormat const& format) const { uint32_t dataBytes_impl_size{}; uint8_t* dataBytes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyITADataGenerator)->GenerateData(impl::bind_in(guidCPSystemId), countOfStreams, *(void**)(&configuration), static_cast(format), &dataBytes_impl_size, &dataBytes)); return com_array{ dataBytes, dataBytes_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense::FullyEvaluated() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense::FullyEvaluated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense)->get_FullyEvaluated(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense::UsableForPlay() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense::UsableForPlay() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense)->get_UsableForPlay(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense::ExpirationDate() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense::ExpirationDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense)->get_ExpirationDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense::ExpireAfterFirstPlay() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense::ExpireAfterFirstPlay() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense)->get_ExpireAfterFirstPlay(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense::DomainAccountID() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense::DomainAccountID() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense)->get_DomainAccountID(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense::ChainDepth() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense::ChainDepth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense)->get_ChainDepth(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense::GetKIDAtChainDepth(uint32_t chainDepth) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense::GetKIDAtChainDepth(uint32_t chainDepth) const { winrt::guid kid{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense)->GetKIDAtChainDepth(chainDepth, put_abi(kid))); return kid; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2::SecureStopId() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2::SecureStopId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense2)->get_SecureStopId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2::SecurityLevel() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2::SecurityLevel() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense2)->get_SecurityLevel(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2::InMemoryOnly() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2::InMemoryOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense2)->get_InMemoryOnly(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2::ExpiresInRealTime() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2::ExpiresInRealTime() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense2)->get_ExpiresInRealTime(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest::ContentHeader() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest::ContentHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest)->get_ContentHeader(&value)); return winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest::ContentHeader(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& value) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest::ContentHeader(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest)->put_ContentHeader(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest::DomainServiceId() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest::DomainServiceId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest)->get_DomainServiceId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest::DomainServiceId(winrt::guid const& value) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest::DomainServiceId(winrt::guid const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest)->put_DomainServiceId(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest2::SessionId() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest2::SessionId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest2)->get_SessionId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyLicenseIterable) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest3::CreateLicenseIterable(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest3::CreateLicenseIterable(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest3)->CreateLicenseIterable(*(void**)(&contentHeader), fullyEvaluated, &result)); return winrt::Windows::Media::Protection::PlayReady::PlayReadyLicenseIterable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyLicenseIterable) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseIterableFactory::CreateInstance(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseIterableFactory::CreateInstance(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseIterableFactory)->CreateInstance(*(void**)(&contentHeader), fullyEvaluated, &instance)); return winrt::Windows::Media::Protection::PlayReady::PlayReadyLicenseIterable{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseManagement::DeleteLicenses(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseManagement::DeleteLicenses(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseManagement)->DeleteLicenses(*(void**)(&contentHeader), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession::CreateLAServiceRequest() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession::CreateLAServiceRequest() const { void* serviceRequest{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseSession)->CreateLAServiceRequest(&serviceRequest)); return winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest{ serviceRequest, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession::ConfigureMediaProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& mpm) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession::ConfigureMediaProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& mpm) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseSession)->ConfigureMediaProtectionManager(*(void**)(&mpm))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyLicenseIterable) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession2::CreateLicenseIterable(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession2::CreateLicenseIterable(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const { void* licenseIterable{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseSession2)->CreateLicenseIterable(*(void**)(&contentHeader), fullyEvaluated, &licenseIterable)); return winrt::Windows::Media::Protection::PlayReady::PlayReadyLicenseIterable{ licenseIterable, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyLicenseSession) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSessionFactory::CreateInstance(winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSessionFactory::CreateInstance(winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseSessionFactory)->CreateInstance(*(void**)(&configuration), &instance)); return winrt::Windows::Media::Protection::PlayReady::PlayReadyLicenseSession{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Protection_PlayReady_IPlayReadyMeteringReportServiceRequest::MeteringCertificate() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyMeteringReportServiceRequest::MeteringCertificate() const { uint32_t meteringCertBytes_impl_size{}; uint8_t* meteringCertBytes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyMeteringReportServiceRequest)->get_MeteringCertificate(&meteringCertBytes_impl_size, &meteringCertBytes)); return com_array{ meteringCertBytes, meteringCertBytes_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyMeteringReportServiceRequest::MeteringCertificate(array_view meteringCertBytes) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyMeteringReportServiceRequest::MeteringCertificate(array_view meteringCertBytes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyMeteringReportServiceRequest)->put_MeteringCertificate(meteringCertBytes.size(), get_abi(meteringCertBytes))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadySecureStopIterable) consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopIterableFactory::CreateInstance(array_view publisherCertBytes) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopIterableFactory::CreateInstance(array_view publisherCertBytes) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadySecureStopIterableFactory)->CreateInstance(publisherCertBytes.size(), get_abi(publisherCertBytes), &instance)); return winrt::Windows::Media::Protection::PlayReady::PlayReadySecureStopIterable{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest::SessionID() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest::SessionID() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadySecureStopServiceRequest)->get_SessionID(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest::StartTime() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest::StartTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadySecureStopServiceRequest)->get_StartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest::UpdateTime() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest::UpdateTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadySecureStopServiceRequest)->get_UpdateTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest::Stopped() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest::Stopped() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadySecureStopServiceRequest)->get_Stopped(&value)); return value; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest::PublisherCertificate() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest::PublisherCertificate() const { uint32_t publisherCertBytes_impl_size{}; uint8_t* publisherCertBytes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadySecureStopServiceRequest)->get_PublisherCertificate(&publisherCertBytes_impl_size, &publisherCertBytes)); return com_array{ publisherCertBytes, publisherCertBytes_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadySecureStopServiceRequest) consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequestFactory::CreateInstance(array_view publisherCertBytes) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequestFactory::CreateInstance(array_view publisherCertBytes) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadySecureStopServiceRequestFactory)->CreateInstance(publisherCertBytes.size(), get_abi(publisherCertBytes), &instance)); return winrt::Windows::Media::Protection::PlayReady::PlayReadySecureStopServiceRequest{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadySecureStopServiceRequest) consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequestFactory::CreateInstanceFromSessionID(winrt::guid const& sessionID, array_view publisherCertBytes) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequestFactory::CreateInstanceFromSessionID(winrt::guid const& sessionID, array_view publisherCertBytes) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadySecureStopServiceRequestFactory)->CreateInstanceFromSessionID(impl::bind_in(sessionID), publisherCertBytes.size(), get_abi(publisherCertBytes), &instance)); return winrt::Windows::Media::Protection::PlayReady::PlayReadySecureStopServiceRequest{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::Uri() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::Uri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::Uri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest)->put_Uri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::ResponseCustomData() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::ResponseCustomData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest)->get_ResponseCustomData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::ChallengeCustomData() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::ChallengeCustomData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest)->get_ChallengeCustomData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::ChallengeCustomData(param::hstring const& value) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::ChallengeCustomData(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest)->put_ChallengeCustomData(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::BeginServiceRequest() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::BeginServiceRequest() const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest)->BeginServiceRequest(&action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::NextServiceRequest() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::NextServiceRequest() const { void* serviceRequest{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest)->NextServiceRequest(&serviceRequest)); return winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest{ serviceRequest, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadySoapMessage) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::GenerateManualEnablingChallenge() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::GenerateManualEnablingChallenge() const { void* challengeMessage{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest)->GenerateManualEnablingChallenge(&challengeMessage)); return winrt::Windows::Media::Protection::PlayReady::PlayReadySoapMessage{ challengeMessage, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::ProcessManualEnablingResponse(array_view responseBytes) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest::ProcessManualEnablingResponse(array_view responseBytes) const { winrt::hresult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest)->ProcessManualEnablingResponse(responseBytes.size(), get_abi(responseBytes), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Protection_PlayReady_IPlayReadySoapMessage::GetMessageBody() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadySoapMessage::GetMessageBody() const { uint32_t messageBodyBytes_impl_size{}; uint8_t* messageBodyBytes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadySoapMessage)->GetMessageBody(&messageBodyBytes_impl_size, &messageBodyBytes)); return com_array{ messageBodyBytes, messageBodyBytes_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Media_Protection_PlayReady_IPlayReadySoapMessage::MessageHeaders() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadySoapMessage::MessageHeaders() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadySoapMessage)->get_MessageHeaders(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Protection_PlayReady_IPlayReadySoapMessage::Uri() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadySoapMessage::Uri() const { void* messageUri{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadySoapMessage)->get_Uri(&messageUri)); return winrt::Windows::Foundation::Uri{ messageUri, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics::DomainJoinServiceRequestType() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics::DomainJoinServiceRequestType() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics)->get_DomainJoinServiceRequestType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics::DomainLeaveServiceRequestType() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics::DomainLeaveServiceRequestType() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics)->get_DomainLeaveServiceRequestType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics::IndividualizationServiceRequestType() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics::IndividualizationServiceRequestType() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics)->get_IndividualizationServiceRequestType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics::LicenseAcquirerServiceRequestType() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics::LicenseAcquirerServiceRequestType() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics)->get_LicenseAcquirerServiceRequestType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics::MeteringReportServiceRequestType() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics::MeteringReportServiceRequestType() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics)->get_MeteringReportServiceRequestType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics::RevocationServiceRequestType() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics::RevocationServiceRequestType() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics)->get_RevocationServiceRequestType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics::MediaProtectionSystemId() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics::MediaProtectionSystemId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics)->get_MediaProtectionSystemId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics::PlayReadySecurityVersion() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics::PlayReadySecurityVersion() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics)->get_PlayReadySecurityVersion(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics2::PlayReadyCertificateSecurityLevel() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics2::PlayReadyCertificateSecurityLevel() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics2)->get_PlayReadyCertificateSecurityLevel(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics3::SecureStopServiceRequestType() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics3::SecureStopServiceRequestType() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics3)->get_SecureStopServiceRequestType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics3::CheckSupportedHardware(winrt::Windows::Media::Protection::PlayReady::PlayReadyHardwareDRMFeatures const& hwdrmFeature) const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics3::CheckSupportedHardware(winrt::Windows::Media::Protection::PlayReady::PlayReadyHardwareDRMFeatures const& hwdrmFeature) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics3)->CheckSupportedHardware(static_cast(hwdrmFeature), &value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics4::InputTrustAuthorityToCreate() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics4::InputTrustAuthorityToCreate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics4)->get_InputTrustAuthorityToCreate(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics4::ProtectionSystemId() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics4::ProtectionSystemId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics4)->get_ProtectionSystemId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics5::HardwareDRMDisabledAtTime() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics5::HardwareDRMDisabledAtTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics5)->get_HardwareDRMDisabledAtTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics5::HardwareDRMDisabledUntilTime() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics5::HardwareDRMDisabledUntilTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics5)->get_HardwareDRMDisabledUntilTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics5::ResetHardwareDRMDisabled() const + template auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics5::ResetHardwareDRMDisabled() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics5)->ResetHardwareDRMDisabled()); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Protection.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Protection.h index 28872e8d..9223ba16 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Protection.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Protection.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Protection_H #define WINRT_Windows_Media_Protection_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,187 +13,187 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Protection.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::RevocationAndRenewalInformation) consume_Windows_Media_Protection_IComponentLoadFailedEventArgs::Information() const + template auto consume_Windows_Media_Protection_IComponentLoadFailedEventArgs::Information() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IComponentLoadFailedEventArgs)->get_Information(&value)); return winrt::Windows::Media::Protection::RevocationAndRenewalInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionServiceCompletion) consume_Windows_Media_Protection_IComponentLoadFailedEventArgs::Completion() const + template auto consume_Windows_Media_Protection_IComponentLoadFailedEventArgs::Completion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IComponentLoadFailedEventArgs)->get_Completion(&value)); return winrt::Windows::Media::Protection::MediaProtectionServiceCompletion{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Media_Protection_IComponentRenewalStatics::RenewSystemComponentsAsync(winrt::Windows::Media::Protection::RevocationAndRenewalInformation const& information) const + template auto consume_Windows_Media_Protection_IComponentRenewalStatics::RenewSystemComponentsAsync(winrt::Windows::Media::Protection::RevocationAndRenewalInformation const& information) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IComponentRenewalStatics)->RenewSystemComponentsAsync(*(void**)(&information), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_IHdcpSession::IsEffectiveProtectionAtLeast(winrt::Windows::Media::Protection::HdcpProtection const& protection) const + template auto consume_Windows_Media_Protection_IHdcpSession::IsEffectiveProtectionAtLeast(winrt::Windows::Media::Protection::HdcpProtection const& protection) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IHdcpSession)->IsEffectiveProtectionAtLeast(static_cast(protection), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Protection_IHdcpSession::GetEffectiveProtection() const + template auto consume_Windows_Media_Protection_IHdcpSession::GetEffectiveProtection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IHdcpSession)->GetEffectiveProtection(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Protection_IHdcpSession::SetDesiredMinProtectionAsync(winrt::Windows::Media::Protection::HdcpProtection const& protection) const + template auto consume_Windows_Media_Protection_IHdcpSession::SetDesiredMinProtectionAsync(winrt::Windows::Media::Protection::HdcpProtection const& protection) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IHdcpSession)->SetDesiredMinProtectionAsync(static_cast(protection), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_IHdcpSession::ProtectionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Protection_IHdcpSession::ProtectionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IHdcpSession)->add_ProtectionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Protection_IHdcpSession::ProtectionChanged_revoker consume_Windows_Media_Protection_IHdcpSession::ProtectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Protection_IHdcpSession::ProtectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ProtectionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_IHdcpSession::ProtectionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Protection_IHdcpSession::ProtectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IHdcpSession)->remove_ProtectionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_IMediaProtectionManager::ServiceRequested(winrt::Windows::Media::Protection::ServiceRequestedEventHandler const& handler) const + template auto consume_Windows_Media_Protection_IMediaProtectionManager::ServiceRequested(winrt::Windows::Media::Protection::ServiceRequestedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionManager)->add_ServiceRequested(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_Protection_IMediaProtectionManager::ServiceRequested_revoker consume_Windows_Media_Protection_IMediaProtectionManager::ServiceRequested(auto_revoke_t, winrt::Windows::Media::Protection::ServiceRequestedEventHandler const& handler) const + template auto consume_Windows_Media_Protection_IMediaProtectionManager::ServiceRequested(auto_revoke_t, winrt::Windows::Media::Protection::ServiceRequestedEventHandler const& handler) const { return impl::make_event_revoker(this, ServiceRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_IMediaProtectionManager::ServiceRequested(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_Protection_IMediaProtectionManager::ServiceRequested(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionManager)->remove_ServiceRequested(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_IMediaProtectionManager::RebootNeeded(winrt::Windows::Media::Protection::RebootNeededEventHandler const& handler) const + template auto consume_Windows_Media_Protection_IMediaProtectionManager::RebootNeeded(winrt::Windows::Media::Protection::RebootNeededEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionManager)->add_RebootNeeded(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_Protection_IMediaProtectionManager::RebootNeeded_revoker consume_Windows_Media_Protection_IMediaProtectionManager::RebootNeeded(auto_revoke_t, winrt::Windows::Media::Protection::RebootNeededEventHandler const& handler) const + template auto consume_Windows_Media_Protection_IMediaProtectionManager::RebootNeeded(auto_revoke_t, winrt::Windows::Media::Protection::RebootNeededEventHandler const& handler) const { return impl::make_event_revoker(this, RebootNeeded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_IMediaProtectionManager::RebootNeeded(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_Protection_IMediaProtectionManager::RebootNeeded(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionManager)->remove_RebootNeeded(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_IMediaProtectionManager::ComponentLoadFailed(winrt::Windows::Media::Protection::ComponentLoadFailedEventHandler const& handler) const + template auto consume_Windows_Media_Protection_IMediaProtectionManager::ComponentLoadFailed(winrt::Windows::Media::Protection::ComponentLoadFailedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionManager)->add_ComponentLoadFailed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_Protection_IMediaProtectionManager::ComponentLoadFailed_revoker consume_Windows_Media_Protection_IMediaProtectionManager::ComponentLoadFailed(auto_revoke_t, winrt::Windows::Media::Protection::ComponentLoadFailedEventHandler const& handler) const + template auto consume_Windows_Media_Protection_IMediaProtectionManager::ComponentLoadFailed(auto_revoke_t, winrt::Windows::Media::Protection::ComponentLoadFailedEventHandler const& handler) const { return impl::make_event_revoker(this, ComponentLoadFailed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_IMediaProtectionManager::ComponentLoadFailed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_Protection_IMediaProtectionManager::ComponentLoadFailed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionManager)->remove_ComponentLoadFailed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Media_Protection_IMediaProtectionManager::Properties() const + template auto consume_Windows_Media_Protection_IMediaProtectionManager::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionManager)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Media_Protection_IMediaProtectionPMPServer::Properties() const + template auto consume_Windows_Media_Protection_IMediaProtectionPMPServer::Properties() const { void* ppProperties{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionPMPServer)->get_Properties(&ppProperties)); return winrt::Windows::Foundation::Collections::IPropertySet{ ppProperties, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionPMPServer) consume_Windows_Media_Protection_IMediaProtectionPMPServerFactory::CreatePMPServer(winrt::Windows::Foundation::Collections::IPropertySet const& pProperties) const + template auto consume_Windows_Media_Protection_IMediaProtectionPMPServerFactory::CreatePMPServer(winrt::Windows::Foundation::Collections::IPropertySet const& pProperties) const { void* ppObject{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionPMPServerFactory)->CreatePMPServer(*(void**)(&pProperties), &ppObject)); return winrt::Windows::Media::Protection::MediaProtectionPMPServer{ ppObject, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_IMediaProtectionServiceCompletion::Complete(bool success) const + template auto consume_Windows_Media_Protection_IMediaProtectionServiceCompletion::Complete(bool success) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionServiceCompletion)->Complete(success)); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_IMediaProtectionServiceRequest::ProtectionSystem() const + template auto consume_Windows_Media_Protection_IMediaProtectionServiceRequest::ProtectionSystem() const { winrt::guid system{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionServiceRequest)->get_ProtectionSystem(put_abi(system))); return system; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_IMediaProtectionServiceRequest::Type() const + template auto consume_Windows_Media_Protection_IMediaProtectionServiceRequest::Type() const { winrt::guid type{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionServiceRequest)->get_Type(put_abi(type))); return type; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::ProtectionCapabilityResult) consume_Windows_Media_Protection_IProtectionCapabilities::IsTypeSupported(param::hstring const& type, param::hstring const& keySystem) const + template auto consume_Windows_Media_Protection_IProtectionCapabilities::IsTypeSupported(param::hstring const& type, param::hstring const& keySystem) const { winrt::Windows::Media::Protection::ProtectionCapabilityResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IProtectionCapabilities)->IsTypeSupported(*(void**)(&type), *(void**)(&keySystem), reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_Protection_IRevocationAndRenewalInformation::Items() const + template auto consume_Windows_Media_Protection_IRevocationAndRenewalInformation::Items() const { void* items{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IRevocationAndRenewalInformation)->get_Items(&items)); return winrt::Windows::Foundation::Collections::IVector{ items, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::RevocationAndRenewalReasons) consume_Windows_Media_Protection_IRevocationAndRenewalItem::Reasons() const + template auto consume_Windows_Media_Protection_IRevocationAndRenewalItem::Reasons() const { winrt::Windows::Media::Protection::RevocationAndRenewalReasons reasons{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IRevocationAndRenewalItem)->get_Reasons(reinterpret_cast(&reasons))); return reasons; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_IRevocationAndRenewalItem::HeaderHash() const + template auto consume_Windows_Media_Protection_IRevocationAndRenewalItem::HeaderHash() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IRevocationAndRenewalItem)->get_HeaderHash(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_IRevocationAndRenewalItem::PublicKeyHash() const + template auto consume_Windows_Media_Protection_IRevocationAndRenewalItem::PublicKeyHash() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IRevocationAndRenewalItem)->get_PublicKeyHash(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_IRevocationAndRenewalItem::Name() const + template auto consume_Windows_Media_Protection_IRevocationAndRenewalItem::Name() const { void* name{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IRevocationAndRenewalItem)->get_Name(&name)); return hstring{ name, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_IRevocationAndRenewalItem::RenewalId() const + template auto consume_Windows_Media_Protection_IRevocationAndRenewalItem::RenewalId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IRevocationAndRenewalItem)->get_RenewalId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::IMediaProtectionServiceRequest) consume_Windows_Media_Protection_IServiceRequestedEventArgs::Request() const + template auto consume_Windows_Media_Protection_IServiceRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IServiceRequestedEventArgs)->get_Request(&value)); return winrt::Windows::Media::Protection::IMediaProtectionServiceRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionServiceCompletion) consume_Windows_Media_Protection_IServiceRequestedEventArgs::Completion() const + template auto consume_Windows_Media_Protection_IServiceRequestedEventArgs::Completion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IServiceRequestedEventArgs)->get_Completion(&value)); return winrt::Windows::Media::Protection::MediaProtectionServiceCompletion{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Protection_IServiceRequestedEventArgs2::MediaPlaybackItem() const + template auto consume_Windows_Media_Protection_IServiceRequestedEventArgs2::MediaPlaybackItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IServiceRequestedEventArgs2)->get_MediaPlaybackItem(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Render.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Render.h index 41e06017..1048ec50 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Render.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Render.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Render_H #define WINRT_Windows_Media_Render_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Media.Render.2.h" namespace winrt::impl diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.SpeechRecognition.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.SpeechRecognition.h index 33698592..82417b3b 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.SpeechRecognition.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.SpeechRecognition.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_SpeechRecognition_H #define WINRT_Windows_Media_SpeechRecognition_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,509 +14,509 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.SpeechRecognition.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionCompletedEventArgs::Status() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionCompletedEventArgs::Status() const { winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionCompletedEventArgs)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionResultGeneratedEventArgs::Result() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionResultGeneratedEventArgs::Result() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionResultGeneratedEventArgs)->get_Result(&value)); return winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::AutoStopSilenceTimeout() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::AutoStopSilenceTimeout() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession)->get_AutoStopSilenceTimeout(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::AutoStopSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::AutoStopSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession)->put_AutoStopSilenceTimeout(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::StartAsync() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::StartAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession)->StartAsync(&value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::StartAsync(winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionMode const& mode) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::StartAsync(winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionMode const& mode) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession)->StartWithModeAsync(static_cast(mode), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::StopAsync() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::StopAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession)->StopAsync(&value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::CancelAsync() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::CancelAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession)->CancelAsync(&value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::PauseAsync() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::PauseAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession)->PauseAsync(&value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::Resume() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::Resume() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession)->Resume()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::Completed(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::Completed(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession)->add_Completed(*(void**)(&value), put_abi(returnValue))); return returnValue; } - template typename consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::Completed_revoker consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, Completed(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::Completed(winrt::event_token const& value) const noexcept + template auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::Completed(winrt::event_token const& value) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession)->remove_Completed(impl::bind_in(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::ResultGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::ResultGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession)->add_ResultGenerated(*(void**)(&value), put_abi(returnValue))); return returnValue; } - template typename consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::ResultGenerated_revoker consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::ResultGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::ResultGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, ResultGenerated(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::ResultGenerated(winrt::event_token const& value) const noexcept + template auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession::ResultGenerated(winrt::event_token const& value) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession)->remove_ResultGenerated(impl::bind_in(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionCompilationResult::Status() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionCompilationResult::Status() const { winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionCompilationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint::IsEnabled() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint::IsEnabled(bool value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint::Tag() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint::Tag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint)->get_Tag(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint::Tag(param::hstring const& value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint::Tag(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint)->put_Tag(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintType) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint::Type() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint::Type() const { winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintProbability) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint::Probability() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint::Probability() const { winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintProbability value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint)->get_Probability(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint::Probability(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintProbability const& value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint::Probability(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintProbability const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint)->put_Probability(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraint::GrammarFile() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraint::GrammarFile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionGrammarFileConstraint)->get_GrammarFile(&value)); return winrt::Windows::Storage::StorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionGrammarFileConstraint) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraintFactory::Create(winrt::Windows::Storage::StorageFile const& file) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraintFactory::Create(winrt::Windows::Storage::StorageFile const& file) const { void* constraint{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionGrammarFileConstraintFactory)->Create(*(void**)(&file), &constraint)); return winrt::Windows::Media::SpeechRecognition::SpeechRecognitionGrammarFileConstraint{ constraint, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionGrammarFileConstraint) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraintFactory::CreateWithTag(winrt::Windows::Storage::StorageFile const& file, param::hstring const& tag) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraintFactory::CreateWithTag(winrt::Windows::Storage::StorageFile const& file, param::hstring const& tag) const { void* constraint{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionGrammarFileConstraintFactory)->CreateWithTag(*(void**)(&file), *(void**)(&tag), &constraint)); return winrt::Windows::Media::SpeechRecognition::SpeechRecognitionGrammarFileConstraint{ constraint, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesis::Text() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesis::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionHypothesis)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionHypothesis) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesisGeneratedEventArgs::Hypothesis() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesisGeneratedEventArgs::Hypothesis() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionHypothesisGeneratedEventArgs)->get_Hypothesis(&value)); return winrt::Windows::Media::SpeechRecognition::SpeechRecognitionHypothesis{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraint::Commands() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraint::Commands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionListConstraint)->get_Commands(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionListConstraint) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraintFactory::Create(param::iterable const& commands) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraintFactory::Create(param::iterable const& commands) const { void* constraint{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionListConstraintFactory)->Create(*(void**)(&commands), &constraint)); return winrt::Windows::Media::SpeechRecognition::SpeechRecognitionListConstraint{ constraint, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionListConstraint) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraintFactory::CreateWithTag(param::iterable const& commands, param::hstring const& tag) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraintFactory::CreateWithTag(param::iterable const& commands, param::hstring const& tag) const { void* constraint{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionListConstraintFactory)->CreateWithTag(*(void**)(&commands), *(void**)(&tag), &constraint)); return winrt::Windows::Media::SpeechRecognition::SpeechRecognitionListConstraint{ constraint, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionAudioProblem) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionQualityDegradingEventArgs::Problem() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionQualityDegradingEventArgs::Problem() const { winrt::Windows::Media::SpeechRecognition::SpeechRecognitionAudioProblem value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionQualityDegradingEventArgs)->get_Problem(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult::Status() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult::Status() const { winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult::Text() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConfidence) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult::Confidence() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult::Confidence() const { winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConfidence value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult)->get_Confidence(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionSemanticInterpretation) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult::SemanticInterpretation() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult::SemanticInterpretation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult)->get_SemanticInterpretation(&value)); return winrt::Windows::Media::SpeechRecognition::SpeechRecognitionSemanticInterpretation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult::GetAlternates(uint32_t maxAlternates) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult::GetAlternates(uint32_t maxAlternates) const { void* alternates{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult)->GetAlternates(maxAlternates, &alternates)); return winrt::Windows::Foundation::Collections::IVectorView{ alternates, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult::Constraint() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult::Constraint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult)->get_Constraint(&value)); return winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult::RulePath() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult::RulePath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult)->get_RulePath(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult::RawConfidence() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult::RawConfidence() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult)->get_RawConfidence(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult2::PhraseStartTime() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult2::PhraseStartTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult2)->get_PhraseStartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult2::PhraseDuration() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult2::PhraseDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult2)->get_PhraseDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView>) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionSemanticInterpretation::Properties() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionSemanticInterpretation::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionSemanticInterpretation)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraint::Scenario() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraint::Scenario() const { winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionTopicConstraint)->get_Scenario(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraint::TopicHint() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraint::TopicHint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionTopicConstraint)->get_TopicHint(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionTopicConstraint) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraintFactory::Create(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario const& scenario, param::hstring const& topicHint) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraintFactory::Create(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario const& scenario, param::hstring const& topicHint) const { void* constraint{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionTopicConstraintFactory)->Create(static_cast(scenario), *(void**)(&topicHint), &constraint)); return winrt::Windows::Media::SpeechRecognition::SpeechRecognitionTopicConstraint{ constraint, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionTopicConstraint) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraintFactory::CreateWithTag(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario const& scenario, param::hstring const& topicHint, param::hstring const& tag) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraintFactory::CreateWithTag(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario const& scenario, param::hstring const& topicHint, param::hstring const& tag) const { void* constraint{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionTopicConstraintFactory)->CreateWithTag(static_cast(scenario), *(void**)(&topicHint), *(void**)(&tag), &constraint)); return winrt::Windows::Media::SpeechRecognition::SpeechRecognitionTopicConstraint{ constraint, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::CurrentLanguage() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::CurrentLanguage() const { void* language{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->get_CurrentLanguage(&language)); return winrt::Windows::Globalization::Language{ language, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::Constraints() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::Constraints() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->get_Constraints(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognizerTimeouts) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::Timeouts() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::Timeouts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->get_Timeouts(&value)); return winrt::Windows::Media::SpeechRecognition::SpeechRecognizerTimeouts{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognizerUIOptions) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::UIOptions() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::UIOptions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->get_UIOptions(&value)); return winrt::Windows::Media::SpeechRecognition::SpeechRecognizerUIOptions{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::CompileConstraintsAsync() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::CompileConstraintsAsync() const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->CompileConstraintsAsync(&asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::RecognizeAsync() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::RecognizeAsync() const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->RecognizeAsync(&asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::RecognizeWithUIAsync() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::RecognizeWithUIAsync() const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->RecognizeWithUIAsync(&asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::RecognitionQualityDegrading(winrt::Windows::Foundation::TypedEventHandler const& speechRecognitionQualityDegradingHandler) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::RecognitionQualityDegrading(winrt::Windows::Foundation::TypedEventHandler const& speechRecognitionQualityDegradingHandler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->add_RecognitionQualityDegrading(*(void**)(&speechRecognitionQualityDegradingHandler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::RecognitionQualityDegrading_revoker consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::RecognitionQualityDegrading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& speechRecognitionQualityDegradingHandler) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::RecognitionQualityDegrading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& speechRecognitionQualityDegradingHandler) const { return impl::make_event_revoker(this, RecognitionQualityDegrading(speechRecognitionQualityDegradingHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::RecognitionQualityDegrading(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::RecognitionQualityDegrading(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->remove_RecognitionQualityDegrading(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& stateChangedHandler) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& stateChangedHandler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->add_StateChanged(*(void**)(&stateChangedHandler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::StateChanged_revoker consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& stateChangedHandler) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& stateChangedHandler) const { return impl::make_event_revoker(this, StateChanged(stateChangedHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::StateChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer::StateChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->remove_StateChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2::ContinuousRecognitionSession() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2::ContinuousRecognitionSession() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer2)->get_ContinuousRecognitionSession(&value)); return winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognizerState) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2::State() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2::State() const { winrt::Windows::Media::SpeechRecognition::SpeechRecognizerState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer2)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2::StopRecognitionAsync() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2::StopRecognitionAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer2)->StopRecognitionAsync(&value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2::HypothesisGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2::HypothesisGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer2)->add_HypothesisGenerated(*(void**)(&value), put_abi(returnValue))); return returnValue; } - template typename consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2::HypothesisGenerated_revoker consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2::HypothesisGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2::HypothesisGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, HypothesisGenerated(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2::HypothesisGenerated(winrt::event_token const& value) const noexcept + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2::HypothesisGenerated(winrt::event_token const& value) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer2)->remove_HypothesisGenerated(impl::bind_in(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognizer) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerFactory::Create(winrt::Windows::Globalization::Language const& language) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerFactory::Create(winrt::Windows::Globalization::Language const& language) const { void* recognizer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerFactory)->Create(*(void**)(&language), &recognizer)); return winrt::Windows::Media::SpeechRecognition::SpeechRecognizer{ recognizer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognizerState) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStateChangedEventArgs::State() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStateChangedEventArgs::State() const { winrt::Windows::Media::SpeechRecognition::SpeechRecognizerState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerStateChangedEventArgs)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics::SystemSpeechLanguage() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics::SystemSpeechLanguage() const { void* language{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerStatics)->get_SystemSpeechLanguage(&language)); return winrt::Windows::Globalization::Language{ language, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics::SupportedTopicLanguages() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics::SupportedTopicLanguages() const { void* languages{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerStatics)->get_SupportedTopicLanguages(&languages)); return winrt::Windows::Foundation::Collections::IVectorView{ languages, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics::SupportedGrammarLanguages() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics::SupportedGrammarLanguages() const { void* languages{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerStatics)->get_SupportedGrammarLanguages(&languages)); return winrt::Windows::Foundation::Collections::IVectorView{ languages, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics2::TrySetSystemSpeechLanguageAsync(winrt::Windows::Globalization::Language const& speechLanguage) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics2::TrySetSystemSpeechLanguageAsync(winrt::Windows::Globalization::Language const& speechLanguage) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerStatics2)->TrySetSystemSpeechLanguageAsync(*(void**)(&speechLanguage), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts::InitialSilenceTimeout() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts::InitialSilenceTimeout() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerTimeouts)->get_InitialSilenceTimeout(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts::InitialSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts::InitialSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerTimeouts)->put_InitialSilenceTimeout(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts::EndSilenceTimeout() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts::EndSilenceTimeout() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerTimeouts)->get_EndSilenceTimeout(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts::EndSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts::EndSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerTimeouts)->put_EndSilenceTimeout(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts::BabbleTimeout() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts::BabbleTimeout() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerTimeouts)->get_BabbleTimeout(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts::BabbleTimeout(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts::BabbleTimeout(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerTimeouts)->put_BabbleTimeout(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions::ExampleText() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions::ExampleText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions)->get_ExampleText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions::ExampleText(param::hstring const& value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions::ExampleText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions)->put_ExampleText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions::AudiblePrompt() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions::AudiblePrompt() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions)->get_AudiblePrompt(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions::AudiblePrompt(param::hstring const& value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions::AudiblePrompt(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions)->put_AudiblePrompt(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions::IsReadBackEnabled() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions::IsReadBackEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions)->get_IsReadBackEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions::IsReadBackEnabled(bool value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions::IsReadBackEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions)->put_IsReadBackEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions::ShowConfirmation() const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions::ShowConfirmation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions)->get_ShowConfirmation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions::ShowConfirmation(bool value) const + template auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions::ShowConfirmation(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions)->put_ShowConfirmation(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_SpeechRecognition_IVoiceCommandManager::InstallCommandSetsFromStorageFileAsync(winrt::Windows::Storage::StorageFile const& file) const + template auto consume_Windows_Media_SpeechRecognition_IVoiceCommandManager::InstallCommandSetsFromStorageFileAsync(winrt::Windows::Storage::StorageFile const& file) const { void* installAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::IVoiceCommandManager)->InstallCommandSetsFromStorageFileAsync(*(void**)(&file), &installAction)); return winrt::Windows::Foundation::IAsyncAction{ installAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Media_SpeechRecognition_IVoiceCommandManager::InstalledCommandSets() const + template auto consume_Windows_Media_SpeechRecognition_IVoiceCommandManager::InstalledCommandSets() const { void* voiceCommandSets{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::IVoiceCommandManager)->get_InstalledCommandSets(&voiceCommandSets)); return winrt::Windows::Foundation::Collections::IMapView{ voiceCommandSets, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechRecognition_IVoiceCommandSet::Language() const + template auto consume_Windows_Media_SpeechRecognition_IVoiceCommandSet::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::IVoiceCommandSet)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechRecognition_IVoiceCommandSet::Name() const + template auto consume_Windows_Media_SpeechRecognition_IVoiceCommandSet::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::IVoiceCommandSet)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_SpeechRecognition_IVoiceCommandSet::SetPhraseListAsync(param::hstring const& phraseListName, param::async_iterable const& phraseList) const + template auto consume_Windows_Media_SpeechRecognition_IVoiceCommandSet::SetPhraseListAsync(param::hstring const& phraseListName, param::async_iterable const& phraseList) const { void* updateAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::IVoiceCommandSet)->SetPhraseListAsync(*(void**)(&phraseListName), *(void**)(&phraseList), &updateAction)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.SpeechSynthesis.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.SpeechSynthesis.h index 133d7601..71a1332d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.SpeechSynthesis.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.SpeechSynthesis.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_SpeechSynthesis_H #define WINRT_Windows_Media_SpeechSynthesis_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,153 +15,153 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.SpeechSynthesis.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic::AllVoices() const + template auto consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic::AllVoices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::IInstalledVoicesStatic)->get_AllVoices(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::VoiceInformation) consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic::DefaultVoice() const + template auto consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic::DefaultVoice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::IInstalledVoicesStatic)->get_DefaultVoice(&value)); return winrt::Windows::Media::SpeechSynthesis::VoiceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic2::TrySetDefaultVoiceAsync(winrt::Windows::Media::SpeechSynthesis::VoiceInformation const& voice) const + template auto consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic2::TrySetDefaultVoiceAsync(winrt::Windows::Media::SpeechSynthesis::VoiceInformation const& voice) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::IInstalledVoicesStatic2)->TrySetDefaultVoiceAsync(*(void**)(&voice), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesisStream::Markers() const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesisStream::Markers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesisStream)->get_Markers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer::SynthesizeTextToStreamAsync(param::hstring const& text) const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer::SynthesizeTextToStreamAsync(param::hstring const& text) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizer)->SynthesizeTextToStreamAsync(*(void**)(&text), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer::SynthesizeSsmlToStreamAsync(param::hstring const& Ssml) const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer::SynthesizeSsmlToStreamAsync(param::hstring const& Ssml) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizer)->SynthesizeSsmlToStreamAsync(*(void**)(&Ssml), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer::Voice(winrt::Windows::Media::SpeechSynthesis::VoiceInformation const& value) const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer::Voice(winrt::Windows::Media::SpeechSynthesis::VoiceInformation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizer)->put_Voice(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::VoiceInformation) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer::Voice() const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer::Voice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizer)->get_Voice(&value)); return winrt::Windows::Media::SpeechSynthesis::VoiceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::SpeechSynthesizerOptions) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer2::Options() const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer2::Options() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizer2)->get_Options(&value)); return winrt::Windows::Media::SpeechSynthesis::SpeechSynthesizerOptions{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions::IncludeWordBoundaryMetadata() const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions::IncludeWordBoundaryMetadata() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions)->get_IncludeWordBoundaryMetadata(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions::IncludeWordBoundaryMetadata(bool value) const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions::IncludeWordBoundaryMetadata(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions)->put_IncludeWordBoundaryMetadata(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions::IncludeSentenceBoundaryMetadata() const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions::IncludeSentenceBoundaryMetadata() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions)->get_IncludeSentenceBoundaryMetadata(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions::IncludeSentenceBoundaryMetadata(bool value) const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions::IncludeSentenceBoundaryMetadata(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions)->put_IncludeSentenceBoundaryMetadata(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2::AudioVolume() const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2::AudioVolume() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions2)->get_AudioVolume(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2::AudioVolume(double value) const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2::AudioVolume(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions2)->put_AudioVolume(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2::SpeakingRate() const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2::SpeakingRate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions2)->get_SpeakingRate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2::SpeakingRate(double value) const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2::SpeakingRate(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions2)->put_SpeakingRate(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2::AudioPitch() const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2::AudioPitch() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions2)->get_AudioPitch(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2::AudioPitch(double value) const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2::AudioPitch(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions2)->put_AudioPitch(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::SpeechAppendedSilence) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3::AppendedSilence() const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3::AppendedSilence() const { winrt::Windows::Media::SpeechSynthesis::SpeechAppendedSilence value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions3)->get_AppendedSilence(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3::AppendedSilence(winrt::Windows::Media::SpeechSynthesis::SpeechAppendedSilence const& value) const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3::AppendedSilence(winrt::Windows::Media::SpeechSynthesis::SpeechAppendedSilence const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions3)->put_AppendedSilence(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::SpeechPunctuationSilence) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3::PunctuationSilence() const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3::PunctuationSilence() const { winrt::Windows::Media::SpeechSynthesis::SpeechPunctuationSilence value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions3)->get_PunctuationSilence(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3::PunctuationSilence(winrt::Windows::Media::SpeechSynthesis::SpeechPunctuationSilence const& value) const + template auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3::PunctuationSilence(winrt::Windows::Media::SpeechSynthesis::SpeechPunctuationSilence const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions3)->put_PunctuationSilence(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechSynthesis_IVoiceInformation::DisplayName() const + template auto consume_Windows_Media_SpeechSynthesis_IVoiceInformation::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::IVoiceInformation)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechSynthesis_IVoiceInformation::Id() const + template auto consume_Windows_Media_SpeechSynthesis_IVoiceInformation::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::IVoiceInformation)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechSynthesis_IVoiceInformation::Language() const + template auto consume_Windows_Media_SpeechSynthesis_IVoiceInformation::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::IVoiceInformation)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechSynthesis_IVoiceInformation::Description() const + template auto consume_Windows_Media_SpeechSynthesis_IVoiceInformation::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::IVoiceInformation)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::VoiceGender) consume_Windows_Media_SpeechSynthesis_IVoiceInformation::Gender() const + template auto consume_Windows_Media_SpeechSynthesis_IVoiceInformation::Gender() const { winrt::Windows::Media::SpeechSynthesis::VoiceGender value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::IVoiceInformation)->get_Gender(reinterpret_cast(&value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Streaming.Adaptive.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Streaming.Adaptive.h index 6d201790..bacadcd4 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Streaming.Adaptive.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Streaming.Adaptive.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Streaming_Adaptive_H #define WINRT_Windows_Media_Streaming_Adaptive_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,705 +15,705 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Streaming.Adaptive.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::IsLive() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::IsLive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_IsLive(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DesiredLiveOffset() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DesiredLiveOffset() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_DesiredLiveOffset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DesiredLiveOffset(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DesiredLiveOffset(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->put_DesiredLiveOffset(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::InitialBitrate() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::InitialBitrate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_InitialBitrate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::InitialBitrate(uint32_t value) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::InitialBitrate(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->put_InitialBitrate(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::CurrentDownloadBitrate() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::CurrentDownloadBitrate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_CurrentDownloadBitrate(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::CurrentPlaybackBitrate() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::CurrentPlaybackBitrate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_CurrentPlaybackBitrate(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::AvailableBitrates() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::AvailableBitrates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_AvailableBitrates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DesiredMinBitrate() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DesiredMinBitrate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_DesiredMinBitrate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DesiredMinBitrate(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DesiredMinBitrate(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->put_DesiredMinBitrate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DesiredMaxBitrate() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DesiredMaxBitrate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_DesiredMaxBitrate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DesiredMaxBitrate(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DesiredMaxBitrate(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->put_DesiredMaxBitrate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::AudioOnlyPlayback() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::AudioOnlyPlayback() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_AudioOnlyPlayback(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::InboundBitsPerSecond() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::InboundBitsPerSecond() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_InboundBitsPerSecond(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::InboundBitsPerSecondWindow() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::InboundBitsPerSecondWindow() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_InboundBitsPerSecondWindow(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::InboundBitsPerSecondWindow(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::InboundBitsPerSecondWindow(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->put_InboundBitsPerSecondWindow(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadBitrateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadBitrateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->add_DownloadBitrateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadBitrateChanged_revoker consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DownloadBitrateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadBitrateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadBitrateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->remove_DownloadBitrateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::PlaybackBitrateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::PlaybackBitrateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->add_PlaybackBitrateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::PlaybackBitrateChanged_revoker consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::PlaybackBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::PlaybackBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PlaybackBitrateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::PlaybackBitrateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::PlaybackBitrateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->remove_PlaybackBitrateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->add_DownloadRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadRequested_revoker consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DownloadRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->remove_DownloadRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->add_DownloadCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadCompleted_revoker consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DownloadCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->remove_DownloadCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->add_DownloadFailed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadFailed_revoker consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DownloadFailed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadFailed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource::DownloadFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->remove_DownloadFailed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceAdvancedSettings) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource2::AdvancedSettings() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource2::AdvancedSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource2)->get_AdvancedSettings(&value)); return winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceAdvancedSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3::MinLiveOffset() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3::MinLiveOffset() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource3)->get_MinLiveOffset(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3::MaxSeekableWindowSize() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3::MaxSeekableWindowSize() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource3)->get_MaxSeekableWindowSize(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3::DesiredSeekableWindowSize() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3::DesiredSeekableWindowSize() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource3)->get_DesiredSeekableWindowSize(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3::DesiredSeekableWindowSize(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3::DesiredSeekableWindowSize(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource3)->put_DesiredSeekableWindowSize(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3::Diagnostics() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3::Diagnostics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource3)->get_Diagnostics(&value)); return winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCorrelatedTimes) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3::GetCorrelatedTimes() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3::GetCorrelatedTimes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource3)->GetCorrelatedTimes(&value)); return winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCorrelatedTimes{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings::AllSegmentsIndependent() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings::AllSegmentsIndependent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings)->get_AllSegmentsIndependent(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings::AllSegmentsIndependent(bool value) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings::AllSegmentsIndependent(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings)->put_AllSegmentsIndependent(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings::DesiredBitrateHeadroomRatio() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings::DesiredBitrateHeadroomRatio() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings)->get_DesiredBitrateHeadroomRatio(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings::DesiredBitrateHeadroomRatio(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings::DesiredBitrateHeadroomRatio(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings)->put_DesiredBitrateHeadroomRatio(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings::BitrateDowngradeTriggerRatio() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings::BitrateDowngradeTriggerRatio() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings)->get_BitrateDowngradeTriggerRatio(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings::BitrateDowngradeTriggerRatio(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings::BitrateDowngradeTriggerRatio(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings)->put_BitrateDowngradeTriggerRatio(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes::Position() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes::Position() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCorrelatedTimes)->get_Position(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes::PresentationTimeStamp() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes::PresentationTimeStamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCorrelatedTimes)->get_PresentationTimeStamp(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes::ProgramDateTime() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes::ProgramDateTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCorrelatedTimes)->get_ProgramDateTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationStatus) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult::Status() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult::Status() const { winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult::MediaSource() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult::MediaSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult)->get_MediaSource(&value)); return winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult::HttpResponseMessage() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult::HttpResponseMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult)->get_HttpResponseMessage(&value)); return winrt::Windows::Web::Http::HttpResponseMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult2::ExtendedError() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult2::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult2)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticType) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::DiagnosticType() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::DiagnosticType() const { winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_DiagnosticType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::RequestId() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::RequestId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_RequestId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::Position() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::Position() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_Position(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::SegmentId() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::SegmentId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_SegmentId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::ResourceType() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::ResourceType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_ResourceType(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::ResourceUri() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::ResourceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_ResourceUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::ResourceByteRangeOffset() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::ResourceByteRangeOffset() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_ResourceByteRangeOffset(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::ResourceByteRangeLength() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::ResourceByteRangeLength() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_ResourceByteRangeLength(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::Bitrate() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs::Bitrate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_Bitrate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs2::ExtendedError() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs2::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs2)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs3::ResourceDuration() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs3::ResourceDuration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs3)->get_ResourceDuration(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs3::ResourceContentType() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs3::ResourceContentType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs3)->get_ResourceContentType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics::DiagnosticAvailable(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics::DiagnosticAvailable(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics)->add_DiagnosticAvailable(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics::DiagnosticAvailable_revoker consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics::DiagnosticAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics::DiagnosticAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DiagnosticAvailable(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics::DiagnosticAvailable(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics::DiagnosticAvailable(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics)->remove_DiagnosticAvailable(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs::OldValue() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs::OldValue() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs)->get_OldValue(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs::NewValue() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs::NewValue() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs)->get_NewValue(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedReason) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2::Reason() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2::Reason() const { winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs::ResourceType() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs::ResourceType() const { winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs)->get_ResourceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs::ResourceUri() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs::ResourceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs)->get_ResourceUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs::ResourceByteRangeOffset() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs::ResourceByteRangeOffset() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs)->get_ResourceByteRangeOffset(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs::ResourceByteRangeLength() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs::ResourceByteRangeLength() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs)->get_ResourceByteRangeLength(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs::HttpResponseMessage() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs::HttpResponseMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs)->get_HttpResponseMessage(&value)); return winrt::Windows::Web::Http::HttpResponseMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2::RequestId() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2::RequestId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs2)->get_RequestId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadStatistics) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2::Statistics() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2::Statistics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs2)->get_Statistics(&value)); return winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadStatistics{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2::Position() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2::Position() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs2)->get_Position(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs3::ResourceDuration() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs3::ResourceDuration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs3)->get_ResourceDuration(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs3::ResourceContentType() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs3::ResourceContentType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs3)->get_ResourceContentType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs::ResourceType() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs::ResourceType() const { winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs)->get_ResourceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs::ResourceUri() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs::ResourceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs)->get_ResourceUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs::ResourceByteRangeOffset() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs::ResourceByteRangeOffset() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs)->get_ResourceByteRangeOffset(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs::ResourceByteRangeLength() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs::ResourceByteRangeLength() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs)->get_ResourceByteRangeLength(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs::HttpResponseMessage() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs::HttpResponseMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs)->get_HttpResponseMessage(&value)); return winrt::Windows::Web::Http::HttpResponseMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2::RequestId() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2::RequestId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs2)->get_RequestId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2::ExtendedError() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs2)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadStatistics) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2::Statistics() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2::Statistics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs2)->get_Statistics(&value)); return winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadStatistics{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2::Position() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2::Position() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs2)->get_Position(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs3::ResourceDuration() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs3::ResourceDuration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs3)->get_ResourceDuration(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs3::ResourceContentType() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs3::ResourceContentType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs3)->get_ResourceContentType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedDeferral::Complete() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs::ResourceType() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs::ResourceType() const { winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs)->get_ResourceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs::ResourceUri() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs::ResourceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs)->get_ResourceUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs::ResourceByteRangeOffset() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs::ResourceByteRangeOffset() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs)->get_ResourceByteRangeOffset(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs::ResourceByteRangeLength() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs::ResourceByteRangeLength() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs)->get_ResourceByteRangeLength(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadResult) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs::Result() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs::Result() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs)->get_Result(&value)); return winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedDeferral) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs::GetDeferral() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs)->GetDeferral(&deferral)); return winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs2::RequestId() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs2::RequestId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs2)->get_RequestId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs2::Position() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs2::Position() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs2)->get_Position(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs3::ResourceDuration() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs3::ResourceDuration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs3)->get_ResourceDuration(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs3::ResourceContentType() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs3::ResourceContentType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs3)->get_ResourceContentType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::ResourceUri() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::ResourceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult)->get_ResourceUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::ResourceUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::ResourceUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult)->put_ResourceUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::InputStream() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::InputStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult)->get_InputStream(&value)); return winrt::Windows::Storage::Streams::IInputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::InputStream(winrt::Windows::Storage::Streams::IInputStream const& value) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::InputStream(winrt::Windows::Storage::Streams::IInputStream const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult)->put_InputStream(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::Buffer() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::Buffer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult)->get_Buffer(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::Buffer(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::Buffer(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult)->put_Buffer(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::ContentType() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::ContentType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult)->get_ContentType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::ContentType(param::hstring const& value) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::ContentType(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult)->put_ContentType(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::ExtendedStatus() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::ExtendedStatus() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult)->get_ExtendedStatus(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::ExtendedStatus(uint32_t value) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult::ExtendedStatus(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult)->put_ExtendedStatus(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2::ResourceByteRangeOffset() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2::ResourceByteRangeOffset() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult2)->get_ResourceByteRangeOffset(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2::ResourceByteRangeOffset(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2::ResourceByteRangeOffset(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult2)->put_ResourceByteRangeOffset(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2::ResourceByteRangeLength() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2::ResourceByteRangeLength() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult2)->get_ResourceByteRangeLength(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2::ResourceByteRangeLength(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2::ResourceByteRangeLength(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult2)->put_ResourceByteRangeLength(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics::ContentBytesReceivedCount() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics::ContentBytesReceivedCount() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics)->get_ContentBytesReceivedCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics::TimeToHeadersReceived() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics::TimeToHeadersReceived() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics)->get_TimeToHeadersReceived(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics::TimeToFirstByteReceived() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics::TimeToFirstByteReceived() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics)->get_TimeToFirstByteReceived(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics::TimeToLastByteReceived() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics::TimeToLastByteReceived() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics)->get_TimeToLastByteReceived(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs::OldValue() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs::OldValue() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs)->get_OldValue(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs::NewValue() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs::NewValue() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs)->get_NewValue(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs::AudioOnly() const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs::AudioOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs)->get_AudioOnly(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics::IsContentTypeSupported(param::hstring const& contentType) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics::IsContentTypeSupported(param::hstring const& contentType) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceStatics)->IsContentTypeSupported(*(void**)(&contentType), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics::CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics::CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceStatics)->CreateFromUriAsync(*(void**)(&uri), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics::CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpClient const& httpClient) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics::CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpClient const& httpClient) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceStatics)->CreateFromUriWithDownloaderAsync(*(void**)(&uri), *(void**)(&httpClient), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics::CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, winrt::Windows::Foundation::Uri const& uri, param::hstring const& contentType) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics::CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, winrt::Windows::Foundation::Uri const& uri, param::hstring const& contentType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceStatics)->CreateFromStreamAsync(*(void**)(&stream), *(void**)(&uri), *(void**)(&contentType), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics::CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, winrt::Windows::Foundation::Uri const& uri, param::hstring const& contentType, winrt::Windows::Web::Http::HttpClient const& httpClient) const + template auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics::CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, winrt::Windows::Foundation::Uri const& uri, param::hstring const& contentType, winrt::Windows::Web::Http::HttpClient const& httpClient) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceStatics)->CreateFromStreamWithDownloaderAsync(*(void**)(&stream), *(void**)(&uri), *(void**)(&contentType), *(void**)(&httpClient), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Transcoding.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Transcoding.h index a0ec7047..498148de 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.Transcoding.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.Transcoding.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Transcoding_H #define WINRT_Windows_Media_Transcoding_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -16,107 +16,107 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.Transcoding.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder::TrimStartTime(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder::TrimStartTime(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->put_TrimStartTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Transcoding_IMediaTranscoder::TrimStartTime() const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder::TrimStartTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->get_TrimStartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder::TrimStopTime(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder::TrimStopTime(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->put_TrimStopTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Transcoding_IMediaTranscoder::TrimStopTime() const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder::TrimStopTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->get_TrimStopTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder::AlwaysReencode(bool value) const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder::AlwaysReencode(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->put_AlwaysReencode(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Transcoding_IMediaTranscoder::AlwaysReencode() const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder::AlwaysReencode() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->get_AlwaysReencode(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder::HardwareAccelerationEnabled(bool value) const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder::HardwareAccelerationEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->put_HardwareAccelerationEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Transcoding_IMediaTranscoder::HardwareAccelerationEnabled() const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder::HardwareAccelerationEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->get_HardwareAccelerationEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder::AddAudioEffect(param::hstring const& activatableClassId) const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder::AddAudioEffect(param::hstring const& activatableClassId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->AddAudioEffect(*(void**)(&activatableClassId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder::AddAudioEffect(param::hstring const& activatableClassId, bool effectRequired, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder::AddAudioEffect(param::hstring const& activatableClassId, bool effectRequired, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->AddAudioEffectWithSettings(*(void**)(&activatableClassId), effectRequired, *(void**)(&configuration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder::AddVideoEffect(param::hstring const& activatableClassId) const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder::AddVideoEffect(param::hstring const& activatableClassId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->AddVideoEffect(*(void**)(&activatableClassId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder::AddVideoEffect(param::hstring const& activatableClassId, bool effectRequired, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder::AddVideoEffect(param::hstring const& activatableClassId, bool effectRequired, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->AddVideoEffectWithSettings(*(void**)(&activatableClassId), effectRequired, *(void**)(&configuration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder::ClearEffects() const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder::ClearEffects() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->ClearEffects()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Transcoding_IMediaTranscoder::PrepareFileTranscodeAsync(winrt::Windows::Storage::IStorageFile const& source, winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder::PrepareFileTranscodeAsync(winrt::Windows::Storage::IStorageFile const& source, winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->PrepareFileTranscodeAsync(*(void**)(&source), *(void**)(&destination), *(void**)(&profile), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Transcoding_IMediaTranscoder::PrepareStreamTranscodeAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& source, winrt::Windows::Storage::Streams::IRandomAccessStream const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder::PrepareStreamTranscodeAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& source, winrt::Windows::Storage::Streams::IRandomAccessStream const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->PrepareStreamTranscodeAsync(*(void**)(&source), *(void**)(&destination), *(void**)(&profile), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_Transcoding_IMediaTranscoder2::PrepareMediaStreamSourceTranscodeAsync(winrt::Windows::Media::Core::IMediaSource const& source, winrt::Windows::Storage::Streams::IRandomAccessStream const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder2::PrepareMediaStreamSourceTranscodeAsync(winrt::Windows::Media::Core::IMediaSource const& source, winrt::Windows::Storage::Streams::IRandomAccessStream const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder2)->PrepareMediaStreamSourceTranscodeAsync(*(void**)(&source), *(void**)(&destination), *(void**)(&profile), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder2::VideoProcessingAlgorithm(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm const& value) const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder2::VideoProcessingAlgorithm(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder2)->put_VideoProcessingAlgorithm(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm) consume_Windows_Media_Transcoding_IMediaTranscoder2::VideoProcessingAlgorithm() const + template auto consume_Windows_Media_Transcoding_IMediaTranscoder2::VideoProcessingAlgorithm() const { winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder2)->get_VideoProcessingAlgorithm(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Transcoding_IPrepareTranscodeResult::CanTranscode() const + template auto consume_Windows_Media_Transcoding_IPrepareTranscodeResult::CanTranscode() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IPrepareTranscodeResult)->get_CanTranscode(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Transcoding::TranscodeFailureReason) consume_Windows_Media_Transcoding_IPrepareTranscodeResult::FailureReason() const + template auto consume_Windows_Media_Transcoding_IPrepareTranscodeResult::FailureReason() const { winrt::Windows::Media::Transcoding::TranscodeFailureReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IPrepareTranscodeResult)->get_FailureReason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress) consume_Windows_Media_Transcoding_IPrepareTranscodeResult::TranscodeAsync() const + template auto consume_Windows_Media_Transcoding_IPrepareTranscodeResult::TranscodeAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IPrepareTranscodeResult)->TranscodeAsync(&operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Media.h b/internal/platform/implementation/windows/generated/winrt/Windows.Media.h index bb78faab..2cc56c0a 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Media.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Media.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_H #define WINRT_Windows_Media_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.ApplicationModel.AppService.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -17,1095 +17,1095 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Media.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_IAudioBuffer::Capacity() const + template auto consume_Windows_Media_IAudioBuffer::Capacity() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IAudioBuffer)->get_Capacity(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_IAudioBuffer::Length() const + template auto consume_Windows_Media_IAudioBuffer::Length() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IAudioBuffer)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IAudioBuffer::Length(uint32_t value) const + template auto consume_Windows_Media_IAudioBuffer::Length(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IAudioBuffer)->put_Length(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AudioBuffer) consume_Windows_Media_IAudioFrame::LockBuffer(winrt::Windows::Media::AudioBufferAccessMode const& mode) const + template auto consume_Windows_Media_IAudioFrame::LockBuffer(winrt::Windows::Media::AudioBufferAccessMode const& mode) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IAudioFrame)->LockBuffer(static_cast(mode), &value)); return winrt::Windows::Media::AudioBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) consume_Windows_Media_IAudioFrameFactory::Create(uint32_t capacity) const + template auto consume_Windows_Media_IAudioFrameFactory::Create(uint32_t capacity) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IAudioFrameFactory)->Create(capacity, &value)); return winrt::Windows::Media::AudioFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackAutoRepeatMode) consume_Windows_Media_IAutoRepeatModeChangeRequestedEventArgs::RequestedAutoRepeatMode() const + template auto consume_Windows_Media_IAutoRepeatModeChangeRequestedEventArgs::RequestedAutoRepeatMode() const { winrt::Windows::Media::MediaPlaybackAutoRepeatMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IAutoRepeatModeChangeRequestedEventArgs)->get_RequestedAutoRepeatMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IImageDisplayProperties::Title() const + template auto consume_Windows_Media_IImageDisplayProperties::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IImageDisplayProperties)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IImageDisplayProperties::Title(param::hstring const& value) const + template auto consume_Windows_Media_IImageDisplayProperties::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IImageDisplayProperties)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IImageDisplayProperties::Subtitle() const + template auto consume_Windows_Media_IImageDisplayProperties::Subtitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IImageDisplayProperties)->get_Subtitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IImageDisplayProperties::Subtitle(param::hstring const& value) const + template auto consume_Windows_Media_IImageDisplayProperties::Subtitle(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IImageDisplayProperties)->put_Subtitle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl::SoundLevelChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::SoundLevelChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->add_SoundLevelChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_IMediaControl::SoundLevelChanged_revoker consume_Windows_Media_IMediaControl::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, SoundLevelChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl::SoundLevelChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_IMediaControl::SoundLevelChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_SoundLevelChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl::PlayPressed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::PlayPressed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->add_PlayPressed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_IMediaControl::PlayPressed_revoker consume_Windows_Media_IMediaControl::PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, PlayPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl::PlayPressed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_IMediaControl::PlayPressed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_PlayPressed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl::PausePressed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::PausePressed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->add_PausePressed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_IMediaControl::PausePressed_revoker consume_Windows_Media_IMediaControl::PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, PausePressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl::PausePressed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_IMediaControl::PausePressed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_PausePressed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl::StopPressed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::StopPressed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->add_StopPressed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_IMediaControl::StopPressed_revoker consume_Windows_Media_IMediaControl::StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, StopPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl::StopPressed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_IMediaControl::StopPressed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_StopPressed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl::PlayPauseTogglePressed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::PlayPauseTogglePressed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->add_PlayPauseTogglePressed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_IMediaControl::PlayPauseTogglePressed_revoker consume_Windows_Media_IMediaControl::PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, PlayPauseTogglePressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl::PlayPauseTogglePressed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_IMediaControl::PlayPauseTogglePressed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_PlayPauseTogglePressed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl::RecordPressed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::RecordPressed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->add_RecordPressed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_IMediaControl::RecordPressed_revoker consume_Windows_Media_IMediaControl::RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, RecordPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl::RecordPressed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_IMediaControl::RecordPressed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_RecordPressed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl::NextTrackPressed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::NextTrackPressed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->add_NextTrackPressed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_IMediaControl::NextTrackPressed_revoker consume_Windows_Media_IMediaControl::NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, NextTrackPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl::NextTrackPressed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_IMediaControl::NextTrackPressed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_NextTrackPressed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl::PreviousTrackPressed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::PreviousTrackPressed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->add_PreviousTrackPressed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_IMediaControl::PreviousTrackPressed_revoker consume_Windows_Media_IMediaControl::PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, PreviousTrackPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl::PreviousTrackPressed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_IMediaControl::PreviousTrackPressed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_PreviousTrackPressed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl::FastForwardPressed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::FastForwardPressed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->add_FastForwardPressed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_IMediaControl::FastForwardPressed_revoker consume_Windows_Media_IMediaControl::FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, FastForwardPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl::FastForwardPressed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_IMediaControl::FastForwardPressed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_FastForwardPressed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl::RewindPressed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::RewindPressed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->add_RewindPressed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_IMediaControl::RewindPressed_revoker consume_Windows_Media_IMediaControl::RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, RewindPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl::RewindPressed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_IMediaControl::RewindPressed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_RewindPressed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl::ChannelUpPressed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::ChannelUpPressed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->add_ChannelUpPressed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_IMediaControl::ChannelUpPressed_revoker consume_Windows_Media_IMediaControl::ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, ChannelUpPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl::ChannelUpPressed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_IMediaControl::ChannelUpPressed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_ChannelUpPressed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl::ChannelDownPressed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::ChannelDownPressed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->add_ChannelDownPressed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Media_IMediaControl::ChannelDownPressed_revoker consume_Windows_Media_IMediaControl::ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Media_IMediaControl::ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, ChannelDownPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl::ChannelDownPressed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Media_IMediaControl::ChannelDownPressed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_ChannelDownPressed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SoundLevel) consume_Windows_Media_IMediaControl::SoundLevel() const + template auto consume_Windows_Media_IMediaControl::SoundLevel() const { winrt::Windows::Media::SoundLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->get_SoundLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl::TrackName(param::hstring const& value) const + template auto consume_Windows_Media_IMediaControl::TrackName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->put_TrackName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMediaControl::TrackName() const + template auto consume_Windows_Media_IMediaControl::TrackName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->get_TrackName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl::ArtistName(param::hstring const& value) const + template auto consume_Windows_Media_IMediaControl::ArtistName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->put_ArtistName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMediaControl::ArtistName() const + template auto consume_Windows_Media_IMediaControl::ArtistName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->get_ArtistName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl::IsPlaying(bool value) const + template auto consume_Windows_Media_IMediaControl::IsPlaying(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->put_IsPlaying(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_IMediaControl::IsPlaying() const + template auto consume_Windows_Media_IMediaControl::IsPlaying() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->get_IsPlaying(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl::AlbumArt(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Media_IMediaControl::AlbumArt(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->put_AlbumArt(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_IMediaControl::AlbumArt() const + template auto consume_Windows_Media_IMediaControl::AlbumArt() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->get_AlbumArt(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtension::SetProperties(winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const + template auto consume_Windows_Media_IMediaExtension::SetProperties(winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaExtension)->SetProperties(*(void**)(&configuration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager::RegisterSchemeHandler(param::hstring const& activatableClassId, param::hstring const& scheme) const + template auto consume_Windows_Media_IMediaExtensionManager::RegisterSchemeHandler(param::hstring const& activatableClassId, param::hstring const& scheme) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaExtensionManager)->RegisterSchemeHandler(*(void**)(&activatableClassId), *(void**)(&scheme))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager::RegisterSchemeHandler(param::hstring const& activatableClassId, param::hstring const& scheme, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const + template auto consume_Windows_Media_IMediaExtensionManager::RegisterSchemeHandler(param::hstring const& activatableClassId, param::hstring const& scheme, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaExtensionManager)->RegisterSchemeHandlerWithSettings(*(void**)(&activatableClassId), *(void**)(&scheme), *(void**)(&configuration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager::RegisterByteStreamHandler(param::hstring const& activatableClassId, param::hstring const& fileExtension, param::hstring const& mimeType) const + template auto consume_Windows_Media_IMediaExtensionManager::RegisterByteStreamHandler(param::hstring const& activatableClassId, param::hstring const& fileExtension, param::hstring const& mimeType) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaExtensionManager)->RegisterByteStreamHandler(*(void**)(&activatableClassId), *(void**)(&fileExtension), *(void**)(&mimeType))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager::RegisterByteStreamHandler(param::hstring const& activatableClassId, param::hstring const& fileExtension, param::hstring const& mimeType, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const + template auto consume_Windows_Media_IMediaExtensionManager::RegisterByteStreamHandler(param::hstring const& activatableClassId, param::hstring const& fileExtension, param::hstring const& mimeType, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaExtensionManager)->RegisterByteStreamHandlerWithSettings(*(void**)(&activatableClassId), *(void**)(&fileExtension), *(void**)(&mimeType), *(void**)(&configuration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager::RegisterAudioDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const + template auto consume_Windows_Media_IMediaExtensionManager::RegisterAudioDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaExtensionManager)->RegisterAudioDecoder(*(void**)(&activatableClassId), impl::bind_in(inputSubtype), impl::bind_in(outputSubtype))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager::RegisterAudioDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const + template auto consume_Windows_Media_IMediaExtensionManager::RegisterAudioDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaExtensionManager)->RegisterAudioDecoderWithSettings(*(void**)(&activatableClassId), impl::bind_in(inputSubtype), impl::bind_in(outputSubtype), *(void**)(&configuration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager::RegisterAudioEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const + template auto consume_Windows_Media_IMediaExtensionManager::RegisterAudioEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaExtensionManager)->RegisterAudioEncoder(*(void**)(&activatableClassId), impl::bind_in(inputSubtype), impl::bind_in(outputSubtype))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager::RegisterAudioEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const + template auto consume_Windows_Media_IMediaExtensionManager::RegisterAudioEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaExtensionManager)->RegisterAudioEncoderWithSettings(*(void**)(&activatableClassId), impl::bind_in(inputSubtype), impl::bind_in(outputSubtype), *(void**)(&configuration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager::RegisterVideoDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const + template auto consume_Windows_Media_IMediaExtensionManager::RegisterVideoDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaExtensionManager)->RegisterVideoDecoder(*(void**)(&activatableClassId), impl::bind_in(inputSubtype), impl::bind_in(outputSubtype))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager::RegisterVideoDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const + template auto consume_Windows_Media_IMediaExtensionManager::RegisterVideoDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaExtensionManager)->RegisterVideoDecoderWithSettings(*(void**)(&activatableClassId), impl::bind_in(inputSubtype), impl::bind_in(outputSubtype), *(void**)(&configuration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager::RegisterVideoEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const + template auto consume_Windows_Media_IMediaExtensionManager::RegisterVideoEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaExtensionManager)->RegisterVideoEncoder(*(void**)(&activatableClassId), impl::bind_in(inputSubtype), impl::bind_in(outputSubtype))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager::RegisterVideoEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const + template auto consume_Windows_Media_IMediaExtensionManager::RegisterVideoEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaExtensionManager)->RegisterVideoEncoderWithSettings(*(void**)(&activatableClassId), impl::bind_in(inputSubtype), impl::bind_in(outputSubtype), *(void**)(&configuration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager2::RegisterMediaExtensionForAppService(winrt::Windows::Media::IMediaExtension const& extension, winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& connection) const + template auto consume_Windows_Media_IMediaExtensionManager2::RegisterMediaExtensionForAppService(winrt::Windows::Media::IMediaExtension const& extension, winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& connection) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaExtensionManager2)->RegisterMediaExtensionForAppService(*(void**)(&extension), *(void**)(&connection))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMediaFrame::Type() const + template auto consume_Windows_Media_IMediaFrame::Type() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->get_Type(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_IMediaFrame::IsReadOnly() const + template auto consume_Windows_Media_IMediaFrame::IsReadOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->get_IsReadOnly(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaFrame::RelativeTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_IMediaFrame::RelativeTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->put_RelativeTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_IMediaFrame::RelativeTime() const + template auto consume_Windows_Media_IMediaFrame::RelativeTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->get_RelativeTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaFrame::SystemRelativeTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_IMediaFrame::SystemRelativeTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->put_SystemRelativeTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_IMediaFrame::SystemRelativeTime() const + template auto consume_Windows_Media_IMediaFrame::SystemRelativeTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->get_SystemRelativeTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaFrame::Duration(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_IMediaFrame::Duration(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->put_Duration(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_IMediaFrame::Duration() const + template auto consume_Windows_Media_IMediaFrame::Duration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->get_Duration(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaFrame::IsDiscontinuous(bool value) const + template auto consume_Windows_Media_IMediaFrame::IsDiscontinuous(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->put_IsDiscontinuous(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_IMediaFrame::IsDiscontinuous() const + template auto consume_Windows_Media_IMediaFrame::IsDiscontinuous() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->get_IsDiscontinuous(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Media_IMediaFrame::ExtendedProperties() const + template auto consume_Windows_Media_IMediaFrame::ExtendedProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->get_ExtendedProperties(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_IMediaMarker::Time() const + template auto consume_Windows_Media_IMediaMarker::Time() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaMarker)->get_Time(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMediaMarker::MediaMarkerType() const + template auto consume_Windows_Media_IMediaMarker::MediaMarkerType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaMarker)->get_MediaMarkerType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMediaMarker::Text() const + template auto consume_Windows_Media_IMediaMarker::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaMarker)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMediaMarkerTypesStatics::Bookmark() const + template auto consume_Windows_Media_IMediaMarkerTypesStatics::Bookmark() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaMarkerTypesStatics)->get_Bookmark(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_IMediaMarkers::Markers() const + template auto consume_Windows_Media_IMediaMarkers::Markers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaMarkers)->get_Markers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Media_IMediaProcessingTriggerDetails::Arguments() const + template auto consume_Windows_Media_IMediaProcessingTriggerDetails::Arguments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaProcessingTriggerDetails)->get_Arguments(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController::Start() const + template auto consume_Windows_Media_IMediaTimelineController::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController::Resume() const + template auto consume_Windows_Media_IMediaTimelineController::Resume() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->Resume()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController::Pause() const + template auto consume_Windows_Media_IMediaTimelineController::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->Pause()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_IMediaTimelineController::Position() const + template auto consume_Windows_Media_IMediaTimelineController::Position() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController::Position(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_IMediaTimelineController::Position(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->put_Position(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_IMediaTimelineController::ClockRate() const + template auto consume_Windows_Media_IMediaTimelineController::ClockRate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->get_ClockRate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController::ClockRate(double value) const + template auto consume_Windows_Media_IMediaTimelineController::ClockRate(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->put_ClockRate(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaTimelineControllerState) consume_Windows_Media_IMediaTimelineController::State() const + template auto consume_Windows_Media_IMediaTimelineController::State() const { winrt::Windows::Media::MediaTimelineControllerState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaTimelineController::PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& positionChangedEventHandler) const + template auto consume_Windows_Media_IMediaTimelineController::PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& positionChangedEventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->add_PositionChanged(*(void**)(&positionChangedEventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Media_IMediaTimelineController::PositionChanged_revoker consume_Windows_Media_IMediaTimelineController::PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& positionChangedEventHandler) const + template auto consume_Windows_Media_IMediaTimelineController::PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& positionChangedEventHandler) const { return impl::make_event_revoker(this, PositionChanged(positionChangedEventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController::PositionChanged(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Media_IMediaTimelineController::PositionChanged(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->remove_PositionChanged(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaTimelineController::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& stateChangedEventHandler) const + template auto consume_Windows_Media_IMediaTimelineController::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& stateChangedEventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->add_StateChanged(*(void**)(&stateChangedEventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Media_IMediaTimelineController::StateChanged_revoker consume_Windows_Media_IMediaTimelineController::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& stateChangedEventHandler) const + template auto consume_Windows_Media_IMediaTimelineController::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& stateChangedEventHandler) const { return impl::make_event_revoker(this, StateChanged(stateChangedEventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController::StateChanged(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Media_IMediaTimelineController::StateChanged(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->remove_StateChanged(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Media_IMediaTimelineController2::Duration() const + template auto consume_Windows_Media_IMediaTimelineController2::Duration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController2)->get_Duration(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController2::Duration(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Media_IMediaTimelineController2::Duration(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController2)->put_Duration(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_IMediaTimelineController2::IsLoopingEnabled() const + template auto consume_Windows_Media_IMediaTimelineController2::IsLoopingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController2)->get_IsLoopingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController2::IsLoopingEnabled(bool value) const + template auto consume_Windows_Media_IMediaTimelineController2::IsLoopingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController2)->put_IsLoopingEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaTimelineController2::Failed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Media_IMediaTimelineController2::Failed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController2)->add_Failed(*(void**)(&eventHandler), put_abi(token))); return token; } - template typename consume_Windows_Media_IMediaTimelineController2::Failed_revoker consume_Windows_Media_IMediaTimelineController2::Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Media_IMediaTimelineController2::Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, Failed(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController2::Failed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_IMediaTimelineController2::Failed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController2)->remove_Failed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaTimelineController2::Ended(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Media_IMediaTimelineController2::Ended(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController2)->add_Ended(*(void**)(&eventHandler), put_abi(token))); return token; } - template typename consume_Windows_Media_IMediaTimelineController2::Ended_revoker consume_Windows_Media_IMediaTimelineController2::Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Media_IMediaTimelineController2::Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, Ended(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController2::Ended(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_IMediaTimelineController2::Ended(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController2)->remove_Ended(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_IMediaTimelineControllerFailedEventArgs::ExtendedError() const + template auto consume_Windows_Media_IMediaTimelineControllerFailedEventArgs::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineControllerFailedEventArgs)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMusicDisplayProperties::Title() const + template auto consume_Windows_Media_IMusicDisplayProperties::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMusicDisplayProperties::Title(param::hstring const& value) const + template auto consume_Windows_Media_IMusicDisplayProperties::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMusicDisplayProperties::AlbumArtist() const + template auto consume_Windows_Media_IMusicDisplayProperties::AlbumArtist() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties)->get_AlbumArtist(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMusicDisplayProperties::AlbumArtist(param::hstring const& value) const + template auto consume_Windows_Media_IMusicDisplayProperties::AlbumArtist(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties)->put_AlbumArtist(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMusicDisplayProperties::Artist() const + template auto consume_Windows_Media_IMusicDisplayProperties::Artist() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties)->get_Artist(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMusicDisplayProperties::Artist(param::hstring const& value) const + template auto consume_Windows_Media_IMusicDisplayProperties::Artist(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties)->put_Artist(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMusicDisplayProperties2::AlbumTitle() const + template auto consume_Windows_Media_IMusicDisplayProperties2::AlbumTitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties2)->get_AlbumTitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMusicDisplayProperties2::AlbumTitle(param::hstring const& value) const + template auto consume_Windows_Media_IMusicDisplayProperties2::AlbumTitle(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties2)->put_AlbumTitle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_IMusicDisplayProperties2::TrackNumber() const + template auto consume_Windows_Media_IMusicDisplayProperties2::TrackNumber() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties2)->get_TrackNumber(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMusicDisplayProperties2::TrackNumber(uint32_t value) const + template auto consume_Windows_Media_IMusicDisplayProperties2::TrackNumber(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties2)->put_TrackNumber(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_IMusicDisplayProperties2::Genres() const + template auto consume_Windows_Media_IMusicDisplayProperties2::Genres() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties2)->get_Genres(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_IMusicDisplayProperties3::AlbumTrackCount() const + template auto consume_Windows_Media_IMusicDisplayProperties3::AlbumTrackCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties3)->get_AlbumTrackCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IMusicDisplayProperties3::AlbumTrackCount(uint32_t value) const + template auto consume_Windows_Media_IMusicDisplayProperties3::AlbumTrackCount(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties3)->put_AlbumTrackCount(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_IPlaybackPositionChangeRequestedEventArgs::RequestedPlaybackPosition() const + template auto consume_Windows_Media_IPlaybackPositionChangeRequestedEventArgs::RequestedPlaybackPosition() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IPlaybackPositionChangeRequestedEventArgs)->get_RequestedPlaybackPosition(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_IPlaybackRateChangeRequestedEventArgs::RequestedPlaybackRate() const + template auto consume_Windows_Media_IPlaybackRateChangeRequestedEventArgs::RequestedPlaybackRate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IPlaybackRateChangeRequestedEventArgs)->get_RequestedPlaybackRate(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_IShuffleEnabledChangeRequestedEventArgs::RequestedShuffleEnabled() const + template auto consume_Windows_Media_IShuffleEnabledChangeRequestedEventArgs::RequestedShuffleEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IShuffleEnabledChangeRequestedEventArgs)->get_RequestedShuffleEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackStatus) consume_Windows_Media_ISystemMediaTransportControls::PlaybackStatus() const + template auto consume_Windows_Media_ISystemMediaTransportControls::PlaybackStatus() const { winrt::Windows::Media::MediaPlaybackStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_PlaybackStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls::PlaybackStatus(winrt::Windows::Media::MediaPlaybackStatus const& value) const + template auto consume_Windows_Media_ISystemMediaTransportControls::PlaybackStatus(winrt::Windows::Media::MediaPlaybackStatus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_PlaybackStatus(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControlsDisplayUpdater) consume_Windows_Media_ISystemMediaTransportControls::DisplayUpdater() const + template auto consume_Windows_Media_ISystemMediaTransportControls::DisplayUpdater() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_DisplayUpdater(&value)); return winrt::Windows::Media::SystemMediaTransportControlsDisplayUpdater{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SoundLevel) consume_Windows_Media_ISystemMediaTransportControls::SoundLevel() const + template auto consume_Windows_Media_ISystemMediaTransportControls::SoundLevel() const { winrt::Windows::Media::SoundLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_SoundLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls::IsEnabled() const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls::IsEnabled(bool value) const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls::IsPlayEnabled() const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsPlayEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsPlayEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls::IsPlayEnabled(bool value) const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsPlayEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsPlayEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls::IsStopEnabled() const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsStopEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsStopEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls::IsStopEnabled(bool value) const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsStopEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsStopEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls::IsPauseEnabled() const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsPauseEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsPauseEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls::IsPauseEnabled(bool value) const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsPauseEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsPauseEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls::IsRecordEnabled() const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsRecordEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsRecordEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls::IsRecordEnabled(bool value) const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsRecordEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsRecordEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls::IsFastForwardEnabled() const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsFastForwardEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsFastForwardEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls::IsFastForwardEnabled(bool value) const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsFastForwardEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsFastForwardEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls::IsRewindEnabled() const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsRewindEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsRewindEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls::IsRewindEnabled(bool value) const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsRewindEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsRewindEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls::IsPreviousEnabled() const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsPreviousEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsPreviousEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls::IsPreviousEnabled(bool value) const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsPreviousEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsPreviousEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls::IsNextEnabled() const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsNextEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsNextEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls::IsNextEnabled(bool value) const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsNextEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsNextEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls::IsChannelUpEnabled() const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsChannelUpEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsChannelUpEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls::IsChannelUpEnabled(bool value) const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsChannelUpEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsChannelUpEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls::IsChannelDownEnabled() const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsChannelDownEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsChannelDownEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls::IsChannelDownEnabled(bool value) const + template auto consume_Windows_Media_ISystemMediaTransportControls::IsChannelDownEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsChannelDownEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_ISystemMediaTransportControls::ButtonPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_ISystemMediaTransportControls::ButtonPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->add_ButtonPressed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_ISystemMediaTransportControls::ButtonPressed_revoker consume_Windows_Media_ISystemMediaTransportControls::ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_ISystemMediaTransportControls::ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ButtonPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls::ButtonPressed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_ISystemMediaTransportControls::ButtonPressed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->remove_ButtonPressed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_ISystemMediaTransportControls::PropertyChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_ISystemMediaTransportControls::PropertyChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->add_PropertyChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_ISystemMediaTransportControls::PropertyChanged_revoker consume_Windows_Media_ISystemMediaTransportControls::PropertyChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_ISystemMediaTransportControls::PropertyChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PropertyChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls::PropertyChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_ISystemMediaTransportControls::PropertyChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->remove_PropertyChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackAutoRepeatMode) consume_Windows_Media_ISystemMediaTransportControls2::AutoRepeatMode() const + template auto consume_Windows_Media_ISystemMediaTransportControls2::AutoRepeatMode() const { winrt::Windows::Media::MediaPlaybackAutoRepeatMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->get_AutoRepeatMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls2::AutoRepeatMode(winrt::Windows::Media::MediaPlaybackAutoRepeatMode const& value) const + template auto consume_Windows_Media_ISystemMediaTransportControls2::AutoRepeatMode(winrt::Windows::Media::MediaPlaybackAutoRepeatMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->put_AutoRepeatMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls2::ShuffleEnabled() const + template auto consume_Windows_Media_ISystemMediaTransportControls2::ShuffleEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->get_ShuffleEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls2::ShuffleEnabled(bool value) const + template auto consume_Windows_Media_ISystemMediaTransportControls2::ShuffleEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->put_ShuffleEnabled(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Media_ISystemMediaTransportControls2::PlaybackRate() const + template auto consume_Windows_Media_ISystemMediaTransportControls2::PlaybackRate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->get_PlaybackRate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls2::PlaybackRate(double value) const + template auto consume_Windows_Media_ISystemMediaTransportControls2::PlaybackRate(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->put_PlaybackRate(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls2::UpdateTimelineProperties(winrt::Windows::Media::SystemMediaTransportControlsTimelineProperties const& timelineProperties) const + template auto consume_Windows_Media_ISystemMediaTransportControls2::UpdateTimelineProperties(winrt::Windows::Media::SystemMediaTransportControlsTimelineProperties const& timelineProperties) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->UpdateTimelineProperties(*(void**)(&timelineProperties))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_ISystemMediaTransportControls2::PlaybackPositionChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_ISystemMediaTransportControls2::PlaybackPositionChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->add_PlaybackPositionChangeRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_ISystemMediaTransportControls2::PlaybackPositionChangeRequested_revoker consume_Windows_Media_ISystemMediaTransportControls2::PlaybackPositionChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_ISystemMediaTransportControls2::PlaybackPositionChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PlaybackPositionChangeRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls2::PlaybackPositionChangeRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_ISystemMediaTransportControls2::PlaybackPositionChangeRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->remove_PlaybackPositionChangeRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_ISystemMediaTransportControls2::PlaybackRateChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_ISystemMediaTransportControls2::PlaybackRateChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->add_PlaybackRateChangeRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_ISystemMediaTransportControls2::PlaybackRateChangeRequested_revoker consume_Windows_Media_ISystemMediaTransportControls2::PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_ISystemMediaTransportControls2::PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PlaybackRateChangeRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls2::PlaybackRateChangeRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_ISystemMediaTransportControls2::PlaybackRateChangeRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->remove_PlaybackRateChangeRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_ISystemMediaTransportControls2::ShuffleEnabledChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_ISystemMediaTransportControls2::ShuffleEnabledChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->add_ShuffleEnabledChangeRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_ISystemMediaTransportControls2::ShuffleEnabledChangeRequested_revoker consume_Windows_Media_ISystemMediaTransportControls2::ShuffleEnabledChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_ISystemMediaTransportControls2::ShuffleEnabledChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ShuffleEnabledChangeRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls2::ShuffleEnabledChangeRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_ISystemMediaTransportControls2::ShuffleEnabledChangeRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->remove_ShuffleEnabledChangeRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_ISystemMediaTransportControls2::AutoRepeatModeChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_ISystemMediaTransportControls2::AutoRepeatModeChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->add_AutoRepeatModeChangeRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Media_ISystemMediaTransportControls2::AutoRepeatModeChangeRequested_revoker consume_Windows_Media_ISystemMediaTransportControls2::AutoRepeatModeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Media_ISystemMediaTransportControls2::AutoRepeatModeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AutoRepeatModeChangeRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls2::AutoRepeatModeChangeRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Media_ISystemMediaTransportControls2::AutoRepeatModeChangeRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->remove_AutoRepeatModeChangeRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControlsButton) consume_Windows_Media_ISystemMediaTransportControlsButtonPressedEventArgs::Button() const + template auto consume_Windows_Media_ISystemMediaTransportControlsButtonPressedEventArgs::Button() const { winrt::Windows::Media::SystemMediaTransportControlsButton value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsButtonPressedEventArgs)->get_Button(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackType) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::Type() const + template auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::Type() const { winrt::Windows::Media::MediaPlaybackType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::Type(winrt::Windows::Media::MediaPlaybackType const& value) const + template auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::Type(winrt::Windows::Media::MediaPlaybackType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->put_Type(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::AppMediaId() const + template auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::AppMediaId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->get_AppMediaId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::AppMediaId(param::hstring const& value) const + template auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::AppMediaId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->put_AppMediaId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::Thumbnail() const + template auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->get_Thumbnail(&value)); return winrt::Windows::Storage::Streams::RandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const + template auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->put_Thumbnail(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::MusicDisplayProperties) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::MusicProperties() const + template auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::MusicProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->get_MusicProperties(&value)); return winrt::Windows::Media::MusicDisplayProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoDisplayProperties) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::VideoProperties() const + template auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::VideoProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->get_VideoProperties(&value)); return winrt::Windows::Media::VideoDisplayProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::ImageDisplayProperties) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::ImageProperties() const + template auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::ImageProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->get_ImageProperties(&value)); return winrt::Windows::Media::ImageDisplayProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::CopyFromFileAsync(winrt::Windows::Media::MediaPlaybackType const& type, winrt::Windows::Storage::StorageFile const& source) const + template auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::CopyFromFileAsync(winrt::Windows::Media::MediaPlaybackType const& type, winrt::Windows::Storage::StorageFile const& source) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->CopyFromFileAsync(static_cast(type), *(void**)(&source), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::ClearAll() const + template auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::ClearAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->ClearAll()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::Update() const + template auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater::Update() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->Update()); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControlsProperty) consume_Windows_Media_ISystemMediaTransportControlsPropertyChangedEventArgs::Property() const + template auto consume_Windows_Media_ISystemMediaTransportControlsPropertyChangedEventArgs::Property() const { winrt::Windows::Media::SystemMediaTransportControlsProperty value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsPropertyChangedEventArgs)->get_Property(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControls) consume_Windows_Media_ISystemMediaTransportControlsStatics::GetForCurrentView() const + template auto consume_Windows_Media_ISystemMediaTransportControlsStatics::GetForCurrentView() const { void* mediaControl{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsStatics)->GetForCurrentView(&mediaControl)); return winrt::Windows::Media::SystemMediaTransportControls{ mediaControl, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::StartTime() const + template auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::StartTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->get_StartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::StartTime(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::StartTime(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->put_StartTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::EndTime() const + template auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::EndTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->get_EndTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::EndTime(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::EndTime(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->put_EndTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::MinSeekTime() const + template auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::MinSeekTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->get_MinSeekTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::MinSeekTime(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::MinSeekTime(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->put_MinSeekTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::MaxSeekTime() const + template auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::MaxSeekTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->get_MaxSeekTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::MaxSeekTime(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::MaxSeekTime(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->put_MaxSeekTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::Position() const + template auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::Position() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::Position(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties::Position(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->put_Position(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IVideoDisplayProperties::Title() const + template auto consume_Windows_Media_IVideoDisplayProperties::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoDisplayProperties)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IVideoDisplayProperties::Title(param::hstring const& value) const + template auto consume_Windows_Media_IVideoDisplayProperties::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoDisplayProperties)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IVideoDisplayProperties::Subtitle() const + template auto consume_Windows_Media_IVideoDisplayProperties::Subtitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoDisplayProperties)->get_Subtitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Media_IVideoDisplayProperties::Subtitle(param::hstring const& value) const + template auto consume_Windows_Media_IVideoDisplayProperties::Subtitle(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoDisplayProperties)->put_Subtitle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Media_IVideoDisplayProperties2::Genres() const + template auto consume_Windows_Media_IVideoDisplayProperties2::Genres() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoDisplayProperties2)->get_Genres(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IVideoEffectsStatics::VideoStabilization() const + template auto consume_Windows_Media_IVideoEffectsStatics::VideoStabilization() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoEffectsStatics)->get_VideoStabilization(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Media_IVideoFrame::SoftwareBitmap() const + template auto consume_Windows_Media_IVideoFrame::SoftwareBitmap() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoFrame)->get_SoftwareBitmap(&value)); return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_IVideoFrame::CopyToAsync(winrt::Windows::Media::VideoFrame const& frame) const + template auto consume_Windows_Media_IVideoFrame::CopyToAsync(winrt::Windows::Media::VideoFrame const& frame) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoFrame)->CopyToAsync(*(void**)(&frame), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) consume_Windows_Media_IVideoFrame::Direct3DSurface() const + template auto consume_Windows_Media_IVideoFrame::Direct3DSurface() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoFrame)->get_Direct3DSurface(&value)); return winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_IVideoFrame2::CopyToAsync(winrt::Windows::Media::VideoFrame const& frame, winrt::Windows::Foundation::IReference const& sourceBounds, winrt::Windows::Foundation::IReference const& destinationBounds) const + template auto consume_Windows_Media_IVideoFrame2::CopyToAsync(winrt::Windows::Media::VideoFrame const& frame, winrt::Windows::Foundation::IReference const& sourceBounds, winrt::Windows::Foundation::IReference const& destinationBounds) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoFrame2)->CopyToWithBoundsAsync(*(void**)(&frame), *(void**)(&sourceBounds), *(void**)(&destinationBounds), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_IVideoFrameFactory::Create(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const + template auto consume_Windows_Media_IVideoFrameFactory::Create(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoFrameFactory)->Create(static_cast(format), width, height, &value)); return winrt::Windows::Media::VideoFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_IVideoFrameFactory::CreateWithAlpha(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const + template auto consume_Windows_Media_IVideoFrameFactory::CreateWithAlpha(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoFrameFactory)->CreateWithAlpha(static_cast(format), width, height, static_cast(alpha), &value)); return winrt::Windows::Media::VideoFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_IVideoFrameStatics::CreateAsDirect3D11SurfaceBacked(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, int32_t width, int32_t height) const + template auto consume_Windows_Media_IVideoFrameStatics::CreateAsDirect3D11SurfaceBacked(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, int32_t width, int32_t height) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoFrameStatics)->CreateAsDirect3D11SurfaceBacked(static_cast(format), width, height, &result)); return winrt::Windows::Media::VideoFrame{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_IVideoFrameStatics::CreateAsDirect3D11SurfaceBacked(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const + template auto consume_Windows_Media_IVideoFrameStatics::CreateAsDirect3D11SurfaceBacked(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoFrameStatics)->CreateAsDirect3D11SurfaceBackedWithDevice(static_cast(format), width, height, *(void**)(&device), &result)); return winrt::Windows::Media::VideoFrame{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_IVideoFrameStatics::CreateWithSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const + template auto consume_Windows_Media_IVideoFrameStatics::CreateWithSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoFrameStatics)->CreateWithSoftwareBitmap(*(void**)(&bitmap), &result)); return winrt::Windows::Media::VideoFrame{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_IVideoFrameStatics::CreateWithDirect3D11Surface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface) const + template auto consume_Windows_Media_IVideoFrameStatics::CreateWithDirect3D11Surface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoFrameStatics)->CreateWithDirect3D11Surface(*(void**)(&surface), &result)); @@ -2769,10 +2769,10 @@ WINRT_EXPORT namespace winrt::Windows::Media { return impl::call_factory([&](IMediaControl const& f) { return f.SoundLevelChanged(handler); }); } - inline MediaControl::SoundLevelChanged_revoker MediaControl::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto MediaControl::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.SoundLevelChanged(handler) }; + return MediaControl::SoundLevelChanged_revoker{ f, f.SoundLevelChanged(handler) }; } inline auto MediaControl::SoundLevelChanged(winrt::event_token const& cookie) { @@ -2782,10 +2782,10 @@ WINRT_EXPORT namespace winrt::Windows::Media { return impl::call_factory([&](IMediaControl const& f) { return f.PlayPressed(handler); }); } - inline MediaControl::PlayPressed_revoker MediaControl::PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto MediaControl::PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.PlayPressed(handler) }; + return MediaControl::PlayPressed_revoker{ f, f.PlayPressed(handler) }; } inline auto MediaControl::PlayPressed(winrt::event_token const& cookie) { @@ -2795,10 +2795,10 @@ WINRT_EXPORT namespace winrt::Windows::Media { return impl::call_factory([&](IMediaControl const& f) { return f.PausePressed(handler); }); } - inline MediaControl::PausePressed_revoker MediaControl::PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto MediaControl::PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.PausePressed(handler) }; + return MediaControl::PausePressed_revoker{ f, f.PausePressed(handler) }; } inline auto MediaControl::PausePressed(winrt::event_token const& cookie) { @@ -2808,10 +2808,10 @@ WINRT_EXPORT namespace winrt::Windows::Media { return impl::call_factory([&](IMediaControl const& f) { return f.StopPressed(handler); }); } - inline MediaControl::StopPressed_revoker MediaControl::StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto MediaControl::StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.StopPressed(handler) }; + return MediaControl::StopPressed_revoker{ f, f.StopPressed(handler) }; } inline auto MediaControl::StopPressed(winrt::event_token const& cookie) { @@ -2821,10 +2821,10 @@ WINRT_EXPORT namespace winrt::Windows::Media { return impl::call_factory([&](IMediaControl const& f) { return f.PlayPauseTogglePressed(handler); }); } - inline MediaControl::PlayPauseTogglePressed_revoker MediaControl::PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto MediaControl::PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.PlayPauseTogglePressed(handler) }; + return MediaControl::PlayPauseTogglePressed_revoker{ f, f.PlayPauseTogglePressed(handler) }; } inline auto MediaControl::PlayPauseTogglePressed(winrt::event_token const& cookie) { @@ -2834,10 +2834,10 @@ WINRT_EXPORT namespace winrt::Windows::Media { return impl::call_factory([&](IMediaControl const& f) { return f.RecordPressed(handler); }); } - inline MediaControl::RecordPressed_revoker MediaControl::RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto MediaControl::RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.RecordPressed(handler) }; + return MediaControl::RecordPressed_revoker{ f, f.RecordPressed(handler) }; } inline auto MediaControl::RecordPressed(winrt::event_token const& cookie) { @@ -2847,10 +2847,10 @@ WINRT_EXPORT namespace winrt::Windows::Media { return impl::call_factory([&](IMediaControl const& f) { return f.NextTrackPressed(handler); }); } - inline MediaControl::NextTrackPressed_revoker MediaControl::NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto MediaControl::NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.NextTrackPressed(handler) }; + return MediaControl::NextTrackPressed_revoker{ f, f.NextTrackPressed(handler) }; } inline auto MediaControl::NextTrackPressed(winrt::event_token const& cookie) { @@ -2860,10 +2860,10 @@ WINRT_EXPORT namespace winrt::Windows::Media { return impl::call_factory([&](IMediaControl const& f) { return f.PreviousTrackPressed(handler); }); } - inline MediaControl::PreviousTrackPressed_revoker MediaControl::PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto MediaControl::PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.PreviousTrackPressed(handler) }; + return MediaControl::PreviousTrackPressed_revoker{ f, f.PreviousTrackPressed(handler) }; } inline auto MediaControl::PreviousTrackPressed(winrt::event_token const& cookie) { @@ -2873,10 +2873,10 @@ WINRT_EXPORT namespace winrt::Windows::Media { return impl::call_factory([&](IMediaControl const& f) { return f.FastForwardPressed(handler); }); } - inline MediaControl::FastForwardPressed_revoker MediaControl::FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto MediaControl::FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.FastForwardPressed(handler) }; + return MediaControl::FastForwardPressed_revoker{ f, f.FastForwardPressed(handler) }; } inline auto MediaControl::FastForwardPressed(winrt::event_token const& cookie) { @@ -2886,10 +2886,10 @@ WINRT_EXPORT namespace winrt::Windows::Media { return impl::call_factory([&](IMediaControl const& f) { return f.RewindPressed(handler); }); } - inline MediaControl::RewindPressed_revoker MediaControl::RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto MediaControl::RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.RewindPressed(handler) }; + return MediaControl::RewindPressed_revoker{ f, f.RewindPressed(handler) }; } inline auto MediaControl::RewindPressed(winrt::event_token const& cookie) { @@ -2899,10 +2899,10 @@ WINRT_EXPORT namespace winrt::Windows::Media { return impl::call_factory([&](IMediaControl const& f) { return f.ChannelUpPressed(handler); }); } - inline MediaControl::ChannelUpPressed_revoker MediaControl::ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto MediaControl::ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.ChannelUpPressed(handler) }; + return MediaControl::ChannelUpPressed_revoker{ f, f.ChannelUpPressed(handler) }; } inline auto MediaControl::ChannelUpPressed(winrt::event_token const& cookie) { @@ -2912,10 +2912,10 @@ WINRT_EXPORT namespace winrt::Windows::Media { return impl::call_factory([&](IMediaControl const& f) { return f.ChannelDownPressed(handler); }); } - inline MediaControl::ChannelDownPressed_revoker MediaControl::ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto MediaControl::ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.ChannelDownPressed(handler) }; + return MediaControl::ChannelDownPressed_revoker{ f, f.ChannelDownPressed(handler) }; } inline auto MediaControl::ChannelDownPressed(winrt::event_token const& cookie) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.BackgroundTransfer.h b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.BackgroundTransfer.h index 6df645bd..d0fdbeb3 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.BackgroundTransfer.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.BackgroundTransfer.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_BackgroundTransfer_H #define WINRT_Windows_Networking_BackgroundTransfer_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Networking.h" #include "winrt/impl/Windows.ApplicationModel.Background.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -18,627 +18,627 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Networking.BackgroundTransfer.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader::CreateDownload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader::CreateDownload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader)->CreateDownload(*(void**)(&uri), *(void**)(&resultFile), &operation)); return winrt::Windows::Networking::BackgroundTransfer::DownloadOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader::CreateDownload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile, winrt::Windows::Storage::IStorageFile const& requestBodyFile) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader::CreateDownload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile, winrt::Windows::Storage::IStorageFile const& requestBodyFile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader)->CreateDownloadFromFile(*(void**)(&uri), *(void**)(&resultFile), *(void**)(&requestBodyFile), &operation)); return winrt::Windows::Networking::BackgroundTransfer::DownloadOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader::CreateDownloadAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile, winrt::Windows::Storage::Streams::IInputStream const& requestBodyStream) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader::CreateDownloadAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile, winrt::Windows::Storage::Streams::IInputStream const& requestBodyStream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader)->CreateDownloadAsync(*(void**)(&uri), *(void**)(&resultFile), *(void**)(&requestBodyStream), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::TransferGroup() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::TransferGroup() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader2)->get_TransferGroup(&value)); return winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::TransferGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::TransferGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader2)->put_TransferGroup(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::SuccessToastNotification() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::SuccessToastNotification() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader2)->get_SuccessToastNotification(&value)); return winrt::Windows::UI::Notifications::ToastNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::SuccessToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::SuccessToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader2)->put_SuccessToastNotification(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::FailureToastNotification() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::FailureToastNotification() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader2)->get_FailureToastNotification(&value)); return winrt::Windows::UI::Notifications::ToastNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::FailureToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::FailureToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader2)->put_FailureToastNotification(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::SuccessTileNotification() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::SuccessTileNotification() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader2)->get_SuccessTileNotification(&value)); return winrt::Windows::UI::Notifications::TileNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::SuccessTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::SuccessTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader2)->put_SuccessTileNotification(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::FailureTileNotification() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::FailureTileNotification() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader2)->get_FailureTileNotification(&value)); return winrt::Windows::UI::Notifications::TileNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::FailureTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2::FailureTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader2)->put_FailureTileNotification(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader3::CompletionGroup() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader3::CompletionGroup() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader3)->get_CompletionGroup(&value)); return winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundDownloader) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderFactory::CreateWithCompletionGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup const& completionGroup) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderFactory::CreateWithCompletionGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup const& completionGroup) const { void* backgroundDownloader{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloaderFactory)->CreateWithCompletionGroup(*(void**)(&completionGroup), &backgroundDownloader)); return winrt::Windows::Networking::BackgroundTransfer::BackgroundDownloader{ backgroundDownloader, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods::GetCurrentDownloadsAsync() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods::GetCurrentDownloadsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloaderStaticMethods)->GetCurrentDownloadsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods::GetCurrentDownloadsAsync(param::hstring const& group) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods::GetCurrentDownloadsAsync(param::hstring const& group) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloaderStaticMethods)->GetCurrentDownloadsForGroupAsync(*(void**)(&group), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods2::GetCurrentDownloadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods2::GetCurrentDownloadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloaderStaticMethods2)->GetCurrentDownloadsForTransferGroupAsync(*(void**)(&group), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderUserConsent::RequestUnconstrainedDownloadsAsync(param::async_iterable const& operations) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderUserConsent::RequestUnconstrainedDownloadsAsync(param::async_iterable const& operations) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloaderUserConsent)->RequestUnconstrainedDownloadsAsync(*(void**)(&operations), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->SetRequestHeader(*(void**)(&headerName), *(void**)(&headerValue))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::ServerCredential() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::ServerCredential() const { void* credential{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->get_ServerCredential(&credential)); return winrt::Windows::Security::Credentials::PasswordCredential{ credential, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->put_ServerCredential(*(void**)(&credential))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::ProxyCredential() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::ProxyCredential() const { void* credential{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->get_ProxyCredential(&credential)); return winrt::Windows::Security::Credentials::PasswordCredential{ credential, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->put_ProxyCredential(*(void**)(&credential))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::Method() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::Method() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->get_Method(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::Method(param::hstring const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::Method(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->put_Method(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::Group() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::Group() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->get_Group(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::Group(param::hstring const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::Group(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->put_Group(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::CostPolicy() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::CostPolicy() const { winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->get_CostPolicy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::CostPolicy(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase::CostPolicy(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->put_CostPolicy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroup::Trigger() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroup::Trigger() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroup)->get_Trigger(&value)); return winrt::Windows::ApplicationModel::Background::IBackgroundTrigger{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroup::IsEnabled() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroup::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroup)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroup::Enable() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroup::Enable() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroup)->Enable()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroupTriggerDetails::Downloads() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroupTriggerDetails::Downloads() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroupTriggerDetails)->get_Downloads(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroupTriggerDetails::Uploads() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroupTriggerDetails::Uploads() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroupTriggerDetails)->get_Uploads(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPart::SetHeader(param::hstring const& headerName, param::hstring const& headerValue) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPart::SetHeader(param::hstring const& headerName, param::hstring const& headerValue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferContentPart)->SetHeader(*(void**)(&headerName), *(void**)(&headerValue))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPart::SetText(param::hstring const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPart::SetText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferContentPart)->SetText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPart::SetFile(winrt::Windows::Storage::IStorageFile const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPart::SetFile(winrt::Windows::Storage::IStorageFile const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferContentPart)->SetFile(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPartFactory::CreateWithName(param::hstring const& name) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPartFactory::CreateWithName(param::hstring const& name) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferContentPartFactory)->CreateWithName(*(void**)(&name), &value)); return winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPartFactory::CreateWithNameAndFileName(param::hstring const& name, param::hstring const& fileName) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPartFactory::CreateWithNameAndFileName(param::hstring const& name, param::hstring const& fileName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferContentPartFactory)->CreateWithNameAndFileName(*(void**)(&name), *(void**)(&fileName), &value)); return winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferErrorStaticMethods::GetStatus(int32_t hresult) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferErrorStaticMethods::GetStatus(int32_t hresult) const { winrt::Windows::Web::WebErrorStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferErrorStaticMethods)->GetStatus(hresult, reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroup::Name() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroup::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferBehavior) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroup::TransferBehavior() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroup::TransferBehavior() const { winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup)->get_TransferBehavior(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroup::TransferBehavior(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferBehavior const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroup::TransferBehavior(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup)->put_TransferBehavior(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroupStatics::CreateGroup(param::hstring const& name) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroupStatics::CreateGroup(param::hstring const& name) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroupStatics)->CreateGroup(*(void**)(&name), &value)); return winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation::Guid() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation::Guid() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperation)->get_Guid(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation::RequestedUri() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation::RequestedUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperation)->get_RequestedUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation::Method() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation::Method() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperation)->get_Method(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation::Group() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation::Group() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperation)->get_Group(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation::CostPolicy() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation::CostPolicy() const { winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperation)->get_CostPolicy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation::CostPolicy(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation::CostPolicy(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperation)->put_CostPolicy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation::GetResultStreamAt(uint64_t position) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation::GetResultStreamAt(uint64_t position) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperation)->GetResultStreamAt(position, &value)); return winrt::Windows::Storage::Streams::IInputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::ResponseInformation) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation::GetResponseInformation() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation::GetResponseInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperation)->GetResponseInformation(&value)); return winrt::Windows::Networking::BackgroundTransfer::ResponseInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferPriority) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperationPriority::Priority() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperationPriority::Priority() const { winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferPriority value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperationPriority)->get_Priority(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperationPriority::Priority(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferPriority const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperationPriority::Priority(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferPriority const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperationPriority)->put_Priority(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferRangesDownloadedEventArgs::WasDownloadRestarted() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferRangesDownloadedEventArgs::WasDownloadRestarted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferRangesDownloadedEventArgs)->get_WasDownloadRestarted(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferRangesDownloadedEventArgs::AddedRanges() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferRangesDownloadedEventArgs::AddedRanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferRangesDownloadedEventArgs)->get_AddedRanges(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferRangesDownloadedEventArgs::GetDeferral() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferRangesDownloadedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferRangesDownloadedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::UploadOperation) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader::CreateUpload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& sourceFile) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader::CreateUpload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& sourceFile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader)->CreateUpload(*(void**)(&uri), *(void**)(&sourceFile), &operation)); return winrt::Windows::Networking::BackgroundTransfer::UploadOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader::CreateUploadFromStreamAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IInputStream const& sourceStream) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader::CreateUploadFromStreamAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IInputStream const& sourceStream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader)->CreateUploadFromStreamAsync(*(void**)(&uri), *(void**)(&sourceStream), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader::CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable const& parts) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader::CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable const& parts) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader)->CreateUploadWithFormDataAndAutoBoundaryAsync(*(void**)(&uri), *(void**)(&parts), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader::CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable const& parts, param::hstring const& subType) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader::CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable const& parts, param::hstring const& subType) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader)->CreateUploadWithSubTypeAsync(*(void**)(&uri), *(void**)(&parts), *(void**)(&subType), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader::CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable const& parts, param::hstring const& subType, param::hstring const& boundary) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader::CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable const& parts, param::hstring const& subType, param::hstring const& boundary) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader)->CreateUploadWithSubTypeAndBoundaryAsync(*(void**)(&uri), *(void**)(&parts), *(void**)(&subType), *(void**)(&boundary), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::TransferGroup() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::TransferGroup() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader2)->get_TransferGroup(&value)); return winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::TransferGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::TransferGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader2)->put_TransferGroup(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::SuccessToastNotification() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::SuccessToastNotification() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader2)->get_SuccessToastNotification(&value)); return winrt::Windows::UI::Notifications::ToastNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::SuccessToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::SuccessToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader2)->put_SuccessToastNotification(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::FailureToastNotification() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::FailureToastNotification() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader2)->get_FailureToastNotification(&value)); return winrt::Windows::UI::Notifications::ToastNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::FailureToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::FailureToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader2)->put_FailureToastNotification(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::SuccessTileNotification() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::SuccessTileNotification() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader2)->get_SuccessTileNotification(&value)); return winrt::Windows::UI::Notifications::TileNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::SuccessTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::SuccessTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader2)->put_SuccessTileNotification(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::FailureTileNotification() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::FailureTileNotification() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader2)->get_FailureTileNotification(&value)); return winrt::Windows::UI::Notifications::TileNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::FailureTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2::FailureTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader2)->put_FailureTileNotification(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader3::CompletionGroup() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader3::CompletionGroup() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader3)->get_CompletionGroup(&value)); return winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundUploader) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderFactory::CreateWithCompletionGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup const& completionGroup) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderFactory::CreateWithCompletionGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup const& completionGroup) const { void* backgroundUploader{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploaderFactory)->CreateWithCompletionGroup(*(void**)(&completionGroup), &backgroundUploader)); return winrt::Windows::Networking::BackgroundTransfer::BackgroundUploader{ backgroundUploader, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods::GetCurrentUploadsAsync() const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods::GetCurrentUploadsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploaderStaticMethods)->GetCurrentUploadsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods::GetCurrentUploadsAsync(param::hstring const& group) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods::GetCurrentUploadsAsync(param::hstring const& group) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploaderStaticMethods)->GetCurrentUploadsForGroupAsync(*(void**)(&group), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods2::GetCurrentUploadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods2::GetCurrentUploadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploaderStaticMethods2)->GetCurrentUploadsForTransferGroupAsync(*(void**)(&group), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderUserConsent::RequestUnconstrainedUploadsAsync(param::async_iterable const& operations) const + template auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderUserConsent::RequestUnconstrainedUploadsAsync(param::async_iterable const& operations) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploaderUserConsent)->RequestUnconstrainedUploadsAsync(*(void**)(&operations), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_BackgroundTransfer_IContentPrefetcher::ContentUris() const + template auto consume_Windows_Networking_BackgroundTransfer_IContentPrefetcher::ContentUris() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IContentPrefetcher)->get_ContentUris(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IContentPrefetcher::IndirectContentUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IContentPrefetcher::IndirectContentUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IContentPrefetcher)->put_IndirectContentUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_BackgroundTransfer_IContentPrefetcher::IndirectContentUri() const + template auto consume_Windows_Networking_BackgroundTransfer_IContentPrefetcher::IndirectContentUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IContentPrefetcher)->get_IndirectContentUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_BackgroundTransfer_IContentPrefetcherTime::LastSuccessfulPrefetchTime() const + template auto consume_Windows_Networking_BackgroundTransfer_IContentPrefetcherTime::LastSuccessfulPrefetchTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IContentPrefetcherTime)->get_LastSuccessfulPrefetchTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation::ResultFile() const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation::ResultFile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation)->get_ResultFile(&value)); return winrt::Windows::Storage::IStorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundDownloadProgress) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation::Progress() const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation::Progress() const { winrt::Windows::Networking::BackgroundTransfer::BackgroundDownloadProgress value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation)->get_Progress(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation::StartAsync() const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation::StartAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation)->StartAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation::AttachAsync() const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation::AttachAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation)->AttachAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation::Pause() const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation)->Pause()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation::Resume() const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation::Resume() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation)->Resume()); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation2::TransferGroup() const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation2::TransferGroup() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation2)->get_TransferGroup(&value)); return winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::IsRandomAccessRequired() const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::IsRandomAccessRequired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3)->get_IsRandomAccessRequired(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::IsRandomAccessRequired(bool value) const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::IsRandomAccessRequired(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3)->put_IsRandomAccessRequired(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::GetResultRandomAccessStreamReference() const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::GetResultRandomAccessStreamReference() const { void* stream{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3)->GetResultRandomAccessStreamReference(&stream)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ stream, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::GetDownloadedRanges() const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::GetDownloadedRanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3)->GetDownloadedRanges(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::RangesDownloaded(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::RangesDownloaded(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3)->add_RangesDownloaded(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::RangesDownloaded_revoker consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::RangesDownloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::RangesDownloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, RangesDownloaded(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::RangesDownloaded(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::RangesDownloaded(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3)->remove_RangesDownloaded(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::RequestedUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::RequestedUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3)->put_RequestedUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::RecoverableWebErrorStatuses() const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::RecoverableWebErrorStatuses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3)->get_RecoverableWebErrorStatuses(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::CurrentWebErrorStatus() const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3::CurrentWebErrorStatus() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3)->get_CurrentWebErrorStatus(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation4::MakeCurrentInTransferGroup() const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation4::MakeCurrentInTransferGroup() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation4)->MakeCurrentInTransferGroup()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation5::SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation5::SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation5)->SetRequestHeader(*(void**)(&headerName), *(void**)(&headerValue))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation5::RemoveRequestHeader(param::hstring const& headerName) const + template auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation5::RemoveRequestHeader(param::hstring const& headerName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation5)->RemoveRequestHeader(*(void**)(&headerName))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_BackgroundTransfer_IResponseInformation::IsResumable() const + template auto consume_Windows_Networking_BackgroundTransfer_IResponseInformation::IsResumable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IResponseInformation)->get_IsResumable(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_BackgroundTransfer_IResponseInformation::ActualUri() const + template auto consume_Windows_Networking_BackgroundTransfer_IResponseInformation::ActualUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IResponseInformation)->get_ActualUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_BackgroundTransfer_IResponseInformation::StatusCode() const + template auto consume_Windows_Networking_BackgroundTransfer_IResponseInformation::StatusCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IResponseInformation)->get_StatusCode(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Networking_BackgroundTransfer_IResponseInformation::Headers() const + template auto consume_Windows_Networking_BackgroundTransfer_IResponseInformation::Headers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IResponseInformation)->get_Headers(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_BackgroundTransfer_IUnconstrainedTransferRequestResult::IsUnconstrained() const + template auto consume_Windows_Networking_BackgroundTransfer_IUnconstrainedTransferRequestResult::IsUnconstrained() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IUnconstrainedTransferRequestResult)->get_IsUnconstrained(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) consume_Windows_Networking_BackgroundTransfer_IUploadOperation::SourceFile() const + template auto consume_Windows_Networking_BackgroundTransfer_IUploadOperation::SourceFile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IUploadOperation)->get_SourceFile(&value)); return winrt::Windows::Storage::IStorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundUploadProgress) consume_Windows_Networking_BackgroundTransfer_IUploadOperation::Progress() const + template auto consume_Windows_Networking_BackgroundTransfer_IUploadOperation::Progress() const { winrt::Windows::Networking::BackgroundTransfer::BackgroundUploadProgress value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IUploadOperation)->get_Progress(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Networking_BackgroundTransfer_IUploadOperation::StartAsync() const + template auto consume_Windows_Networking_BackgroundTransfer_IUploadOperation::StartAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IUploadOperation)->StartAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Networking_BackgroundTransfer_IUploadOperation::AttachAsync() const + template auto consume_Windows_Networking_BackgroundTransfer_IUploadOperation::AttachAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IUploadOperation)->AttachAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) consume_Windows_Networking_BackgroundTransfer_IUploadOperation2::TransferGroup() const + template auto consume_Windows_Networking_BackgroundTransfer_IUploadOperation2::TransferGroup() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IUploadOperation2)->get_TransferGroup(&value)); return winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IUploadOperation3::MakeCurrentInTransferGroup() const + template auto consume_Windows_Networking_BackgroundTransfer_IUploadOperation3::MakeCurrentInTransferGroup() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IUploadOperation3)->MakeCurrentInTransferGroup()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IUploadOperation4::SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const + template auto consume_Windows_Networking_BackgroundTransfer_IUploadOperation4::SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IUploadOperation4)->SetRequestHeader(*(void**)(&headerName), *(void**)(&headerValue))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IUploadOperation4::RemoveRequestHeader(param::hstring const& headerName) const + template auto consume_Windows_Networking_BackgroundTransfer_IUploadOperation4::RemoveRequestHeader(param::hstring const& headerName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IUploadOperation4)->RemoveRequestHeader(*(void**)(&headerName))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Connectivity.h b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Connectivity.h index 4962b755..76af53ec 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Connectivity.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Connectivity.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_Connectivity_H #define WINRT_Windows_Networking_Connectivity_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Networking.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,771 +14,771 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Networking.Connectivity.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_IAttributedNetworkUsage::BytesSent() const + template auto consume_Windows_Networking_Connectivity_IAttributedNetworkUsage::BytesSent() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IAttributedNetworkUsage)->get_BytesSent(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_IAttributedNetworkUsage::BytesReceived() const + template auto consume_Windows_Networking_Connectivity_IAttributedNetworkUsage::BytesReceived() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IAttributedNetworkUsage)->get_BytesReceived(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_IAttributedNetworkUsage::AttributionId() const + template auto consume_Windows_Networking_Connectivity_IAttributedNetworkUsage::AttributionId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IAttributedNetworkUsage)->get_AttributionId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_IAttributedNetworkUsage::AttributionName() const + template auto consume_Windows_Networking_Connectivity_IAttributedNetworkUsage::AttributionName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IAttributedNetworkUsage)->get_AttributionName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Networking_Connectivity_IAttributedNetworkUsage::AttributionThumbnail() const + template auto consume_Windows_Networking_Connectivity_IAttributedNetworkUsage::AttributionThumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IAttributedNetworkUsage)->get_AttributionThumbnail(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_ICellularApnContext::ProviderId() const + template auto consume_Windows_Networking_Connectivity_ICellularApnContext::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_ICellularApnContext::ProviderId(param::hstring const& value) const + template auto consume_Windows_Networking_Connectivity_ICellularApnContext::ProviderId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->put_ProviderId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_ICellularApnContext::AccessPointName() const + template auto consume_Windows_Networking_Connectivity_ICellularApnContext::AccessPointName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->get_AccessPointName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_ICellularApnContext::AccessPointName(param::hstring const& value) const + template auto consume_Windows_Networking_Connectivity_ICellularApnContext::AccessPointName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->put_AccessPointName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_ICellularApnContext::UserName() const + template auto consume_Windows_Networking_Connectivity_ICellularApnContext::UserName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->get_UserName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_ICellularApnContext::UserName(param::hstring const& value) const + template auto consume_Windows_Networking_Connectivity_ICellularApnContext::UserName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->put_UserName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_ICellularApnContext::Password() const + template auto consume_Windows_Networking_Connectivity_ICellularApnContext::Password() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->get_Password(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_ICellularApnContext::Password(param::hstring const& value) const + template auto consume_Windows_Networking_Connectivity_ICellularApnContext::Password(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->put_Password(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_ICellularApnContext::IsCompressionEnabled() const + template auto consume_Windows_Networking_Connectivity_ICellularApnContext::IsCompressionEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->get_IsCompressionEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_ICellularApnContext::IsCompressionEnabled(bool value) const + template auto consume_Windows_Networking_Connectivity_ICellularApnContext::IsCompressionEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->put_IsCompressionEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::CellularApnAuthenticationType) consume_Windows_Networking_Connectivity_ICellularApnContext::AuthenticationType() const + template auto consume_Windows_Networking_Connectivity_ICellularApnContext::AuthenticationType() const { winrt::Windows::Networking::Connectivity::CellularApnAuthenticationType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->get_AuthenticationType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_ICellularApnContext::AuthenticationType(winrt::Windows::Networking::Connectivity::CellularApnAuthenticationType const& value) const + template auto consume_Windows_Networking_Connectivity_ICellularApnContext::AuthenticationType(winrt::Windows::Networking::Connectivity::CellularApnAuthenticationType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->put_AuthenticationType(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_ICellularApnContext2::ProfileName() const + template auto consume_Windows_Networking_Connectivity_ICellularApnContext2::ProfileName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext2)->get_ProfileName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_ICellularApnContext2::ProfileName(param::hstring const& value) const + template auto consume_Windows_Networking_Connectivity_ICellularApnContext2::ProfileName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext2)->put_ProfileName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkCostType) consume_Windows_Networking_Connectivity_IConnectionCost::NetworkCostType() const + template auto consume_Windows_Networking_Connectivity_IConnectionCost::NetworkCostType() const { winrt::Windows::Networking::Connectivity::NetworkCostType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionCost)->get_NetworkCostType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionCost::Roaming() const + template auto consume_Windows_Networking_Connectivity_IConnectionCost::Roaming() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionCost)->get_Roaming(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionCost::OverDataLimit() const + template auto consume_Windows_Networking_Connectivity_IConnectionCost::OverDataLimit() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionCost)->get_OverDataLimit(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionCost::ApproachingDataLimit() const + template auto consume_Windows_Networking_Connectivity_IConnectionCost::ApproachingDataLimit() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionCost)->get_ApproachingDataLimit(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionCost2::BackgroundDataUsageRestricted() const + template auto consume_Windows_Networking_Connectivity_IConnectionCost2::BackgroundDataUsageRestricted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionCost2)->get_BackgroundDataUsageRestricted(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_IConnectionProfile::ProfileName() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile::ProfileName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile)->get_ProfileName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkConnectivityLevel) consume_Windows_Networking_Connectivity_IConnectionProfile::GetNetworkConnectivityLevel() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile::GetNetworkConnectivityLevel() const { winrt::Windows::Networking::Connectivity::NetworkConnectivityLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile)->GetNetworkConnectivityLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Connectivity_IConnectionProfile::GetNetworkNames() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile::GetNetworkNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile)->GetNetworkNames(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::ConnectionCost) consume_Windows_Networking_Connectivity_IConnectionProfile::GetConnectionCost() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile::GetConnectionCost() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile)->GetConnectionCost(&value)); return winrt::Windows::Networking::Connectivity::ConnectionCost{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::DataPlanStatus) consume_Windows_Networking_Connectivity_IConnectionProfile::GetDataPlanStatus() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile::GetDataPlanStatus() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile)->GetDataPlanStatus(&value)); return winrt::Windows::Networking::Connectivity::DataPlanStatus{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAdapter) consume_Windows_Networking_Connectivity_IConnectionProfile::NetworkAdapter() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile::NetworkAdapter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile)->get_NetworkAdapter(&value)); return winrt::Windows::Networking::Connectivity::NetworkAdapter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::DataUsage) consume_Windows_Networking_Connectivity_IConnectionProfile::GetLocalUsage(winrt::Windows::Foundation::DateTime const& StartTime, winrt::Windows::Foundation::DateTime const& EndTime) const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile::GetLocalUsage(winrt::Windows::Foundation::DateTime const& StartTime, winrt::Windows::Foundation::DateTime const& EndTime) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile)->GetLocalUsage(impl::bind_in(StartTime), impl::bind_in(EndTime), &value)); return winrt::Windows::Networking::Connectivity::DataUsage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::DataUsage) consume_Windows_Networking_Connectivity_IConnectionProfile::GetLocalUsage(winrt::Windows::Foundation::DateTime const& StartTime, winrt::Windows::Foundation::DateTime const& EndTime, winrt::Windows::Networking::Connectivity::RoamingStates const& States) const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile::GetLocalUsage(winrt::Windows::Foundation::DateTime const& StartTime, winrt::Windows::Foundation::DateTime const& EndTime, winrt::Windows::Networking::Connectivity::RoamingStates const& States) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile)->GetLocalUsagePerRoamingStates(impl::bind_in(StartTime), impl::bind_in(EndTime), static_cast(States), &value)); return winrt::Windows::Networking::Connectivity::DataUsage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkSecuritySettings) consume_Windows_Networking_Connectivity_IConnectionProfile::NetworkSecuritySettings() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile::NetworkSecuritySettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile)->get_NetworkSecuritySettings(&value)); return winrt::Windows::Networking::Connectivity::NetworkSecuritySettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionProfile2::IsWwanConnectionProfile() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile2::IsWwanConnectionProfile() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile2)->get_IsWwanConnectionProfile(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionProfile2::IsWlanConnectionProfile() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile2::IsWlanConnectionProfile() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile2)->get_IsWlanConnectionProfile(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::WwanConnectionProfileDetails) consume_Windows_Networking_Connectivity_IConnectionProfile2::WwanConnectionProfileDetails() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile2::WwanConnectionProfileDetails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile2)->get_WwanConnectionProfileDetails(&value)); return winrt::Windows::Networking::Connectivity::WwanConnectionProfileDetails{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::WlanConnectionProfileDetails) consume_Windows_Networking_Connectivity_IConnectionProfile2::WlanConnectionProfileDetails() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile2::WlanConnectionProfileDetails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile2)->get_WlanConnectionProfileDetails(&value)); return winrt::Windows::Networking::Connectivity::WlanConnectionProfileDetails{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_Connectivity_IConnectionProfile2::ServiceProviderGuid() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile2::ServiceProviderGuid() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile2)->get_ServiceProviderGuid(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_Connectivity_IConnectionProfile2::GetSignalBars() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile2::GetSignalBars() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile2)->GetSignalBars(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::DomainConnectivityLevel) consume_Windows_Networking_Connectivity_IConnectionProfile2::GetDomainConnectivityLevel() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile2::GetDomainConnectivityLevel() const { winrt::Windows::Networking::Connectivity::DomainConnectivityLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile2)->GetDomainConnectivityLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_Connectivity_IConnectionProfile2::GetNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::DataUsageGranularity const& granularity, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile2::GetNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::DataUsageGranularity const& granularity, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile2)->GetNetworkUsageAsync(impl::bind_in(startTime), impl::bind_in(endTime), static_cast(granularity), impl::bind_in(states), &value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_Connectivity_IConnectionProfile2::GetConnectivityIntervalsAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile2::GetConnectivityIntervalsAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile2)->GetConnectivityIntervalsAsync(impl::bind_in(startTime), impl::bind_in(endTime), impl::bind_in(states), &value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_Connectivity_IConnectionProfile3::GetAttributedNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile3::GetAttributedNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile3)->GetAttributedNetworkUsageAsync(impl::bind_in(startTime), impl::bind_in(endTime), impl::bind_in(states), &value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_Connectivity_IConnectionProfile4::GetProviderNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile4::GetProviderNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile4)->GetProviderNetworkUsageAsync(impl::bind_in(startTime), impl::bind_in(endTime), impl::bind_in(states), &value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionProfile5::CanDelete() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile5::CanDelete() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile5)->get_CanDelete(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Connectivity_IConnectionProfile5::TryDeleteAsync() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfile5::TryDeleteAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile5)->TryDeleteAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter::IsConnected(bool value) const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter::IsConnected(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->put_IsConnected(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionProfileFilter::IsConnected() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter::IsConnected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->get_IsConnected(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter::IsWwanConnectionProfile(bool value) const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter::IsWwanConnectionProfile(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->put_IsWwanConnectionProfile(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionProfileFilter::IsWwanConnectionProfile() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter::IsWwanConnectionProfile() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->get_IsWwanConnectionProfile(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter::IsWlanConnectionProfile(bool value) const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter::IsWlanConnectionProfile(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->put_IsWlanConnectionProfile(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionProfileFilter::IsWlanConnectionProfile() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter::IsWlanConnectionProfile() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->get_IsWlanConnectionProfile(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter::NetworkCostType(winrt::Windows::Networking::Connectivity::NetworkCostType const& value) const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter::NetworkCostType(winrt::Windows::Networking::Connectivity::NetworkCostType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->put_NetworkCostType(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkCostType) consume_Windows_Networking_Connectivity_IConnectionProfileFilter::NetworkCostType() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter::NetworkCostType() const { winrt::Windows::Networking::Connectivity::NetworkCostType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->get_NetworkCostType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter::ServiceProviderGuid(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter::ServiceProviderGuid(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->put_ServiceProviderGuid(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_Connectivity_IConnectionProfileFilter::ServiceProviderGuid() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter::ServiceProviderGuid() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->get_ServiceProviderGuid(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter2::IsRoaming(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter2::IsRoaming(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter2)->put_IsRoaming(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_Connectivity_IConnectionProfileFilter2::IsRoaming() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter2::IsRoaming() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter2)->get_IsRoaming(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter2::IsOverDataLimit(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter2::IsOverDataLimit(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter2)->put_IsOverDataLimit(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_Connectivity_IConnectionProfileFilter2::IsOverDataLimit() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter2::IsOverDataLimit() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter2)->get_IsOverDataLimit(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter2::IsBackgroundDataUsageRestricted(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter2::IsBackgroundDataUsageRestricted(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter2)->put_IsBackgroundDataUsageRestricted(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_Connectivity_IConnectionProfileFilter2::IsBackgroundDataUsageRestricted() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter2::IsBackgroundDataUsageRestricted() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter2)->get_IsBackgroundDataUsageRestricted(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_Connectivity_IConnectionProfileFilter2::RawData() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter2::RawData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter2)->get_RawData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter3::PurposeGuid(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter3::PurposeGuid(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter3)->put_PurposeGuid(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_Connectivity_IConnectionProfileFilter3::PurposeGuid() const + template auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter3::PurposeGuid() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter3)->get_PurposeGuid(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::ConnectionProfile) consume_Windows_Networking_Connectivity_IConnectionSession::ConnectionProfile() const + template auto consume_Windows_Networking_Connectivity_IConnectionSession::ConnectionProfile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionSession)->get_ConnectionProfile(&value)); return winrt::Windows::Networking::Connectivity::ConnectionProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Networking_Connectivity_IConnectivityInterval::StartTime() const + template auto consume_Windows_Networking_Connectivity_IConnectivityInterval::StartTime() const { winrt::Windows::Foundation::DateTime startTime{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectivityInterval)->get_StartTime(put_abi(startTime))); return startTime; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Networking_Connectivity_IConnectivityInterval::ConnectionDuration() const + template auto consume_Windows_Networking_Connectivity_IConnectivityInterval::ConnectionDuration() const { winrt::Windows::Foundation::TimeSpan duration{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectivityInterval)->get_ConnectionDuration(put_abi(duration))); return duration; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Connectivity_IConnectivityManagerStatics::AcquireConnectionAsync(winrt::Windows::Networking::Connectivity::CellularApnContext const& cellularApnContext) const + template auto consume_Windows_Networking_Connectivity_IConnectivityManagerStatics::AcquireConnectionAsync(winrt::Windows::Networking::Connectivity::CellularApnContext const& cellularApnContext) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectivityManagerStatics)->AcquireConnectionAsync(*(void**)(&cellularApnContext), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectivityManagerStatics::AddHttpRoutePolicy(winrt::Windows::Networking::Connectivity::RoutePolicy const& routePolicy) const + template auto consume_Windows_Networking_Connectivity_IConnectivityManagerStatics::AddHttpRoutePolicy(winrt::Windows::Networking::Connectivity::RoutePolicy const& routePolicy) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectivityManagerStatics)->AddHttpRoutePolicy(*(void**)(&routePolicy))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectivityManagerStatics::RemoveHttpRoutePolicy(winrt::Windows::Networking::Connectivity::RoutePolicy const& routePolicy) const + template auto consume_Windows_Networking_Connectivity_IConnectivityManagerStatics::RemoveHttpRoutePolicy(winrt::Windows::Networking::Connectivity::RoutePolicy const& routePolicy) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectivityManagerStatics)->RemoveHttpRoutePolicy(*(void**)(&routePolicy))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::DataPlanUsage) consume_Windows_Networking_Connectivity_IDataPlanStatus::DataPlanUsage() const + template auto consume_Windows_Networking_Connectivity_IDataPlanStatus::DataPlanUsage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataPlanStatus)->get_DataPlanUsage(&value)); return winrt::Windows::Networking::Connectivity::DataPlanUsage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_Connectivity_IDataPlanStatus::DataLimitInMegabytes() const + template auto consume_Windows_Networking_Connectivity_IDataPlanStatus::DataLimitInMegabytes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataPlanStatus)->get_DataLimitInMegabytes(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_Connectivity_IDataPlanStatus::InboundBitsPerSecond() const + template auto consume_Windows_Networking_Connectivity_IDataPlanStatus::InboundBitsPerSecond() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataPlanStatus)->get_InboundBitsPerSecond(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_Connectivity_IDataPlanStatus::OutboundBitsPerSecond() const + template auto consume_Windows_Networking_Connectivity_IDataPlanStatus::OutboundBitsPerSecond() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataPlanStatus)->get_OutboundBitsPerSecond(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_Connectivity_IDataPlanStatus::NextBillingCycle() const + template auto consume_Windows_Networking_Connectivity_IDataPlanStatus::NextBillingCycle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataPlanStatus)->get_NextBillingCycle(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_Connectivity_IDataPlanStatus::MaxTransferSizeInMegabytes() const + template auto consume_Windows_Networking_Connectivity_IDataPlanStatus::MaxTransferSizeInMegabytes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataPlanStatus)->get_MaxTransferSizeInMegabytes(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Connectivity_IDataPlanUsage::MegabytesUsed() const + template auto consume_Windows_Networking_Connectivity_IDataPlanUsage::MegabytesUsed() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataPlanUsage)->get_MegabytesUsed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Networking_Connectivity_IDataPlanUsage::LastSyncTime() const + template auto consume_Windows_Networking_Connectivity_IDataPlanUsage::LastSyncTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataPlanUsage)->get_LastSyncTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_IDataUsage::BytesSent() const + template auto consume_Windows_Networking_Connectivity_IDataUsage::BytesSent() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataUsage)->get_BytesSent(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_IDataUsage::BytesReceived() const + template auto consume_Windows_Networking_Connectivity_IDataUsage::BytesReceived() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataUsage)->get_BytesReceived(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAdapter) consume_Windows_Networking_Connectivity_IIPInformation::NetworkAdapter() const + template auto consume_Windows_Networking_Connectivity_IIPInformation::NetworkAdapter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IIPInformation)->get_NetworkAdapter(&value)); return winrt::Windows::Networking::Connectivity::NetworkAdapter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_Connectivity_IIPInformation::PrefixLength() const + template auto consume_Windows_Networking_Connectivity_IIPInformation::PrefixLength() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IIPInformation)->get_PrefixLength(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::LanIdentifierData) consume_Windows_Networking_Connectivity_ILanIdentifier::InfrastructureId() const + template auto consume_Windows_Networking_Connectivity_ILanIdentifier::InfrastructureId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ILanIdentifier)->get_InfrastructureId(&value)); return winrt::Windows::Networking::Connectivity::LanIdentifierData{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::LanIdentifierData) consume_Windows_Networking_Connectivity_ILanIdentifier::PortId() const + template auto consume_Windows_Networking_Connectivity_ILanIdentifier::PortId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ILanIdentifier)->get_PortId(&value)); return winrt::Windows::Networking::Connectivity::LanIdentifierData{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_Connectivity_ILanIdentifier::NetworkAdapterId() const + template auto consume_Windows_Networking_Connectivity_ILanIdentifier::NetworkAdapterId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ILanIdentifier)->get_NetworkAdapterId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Connectivity_ILanIdentifierData::Type() const + template auto consume_Windows_Networking_Connectivity_ILanIdentifierData::Type() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ILanIdentifierData)->get_Type(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Connectivity_ILanIdentifierData::Value() const + template auto consume_Windows_Networking_Connectivity_ILanIdentifierData::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ILanIdentifierData)->get_Value(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_INetworkAdapter::OutboundMaxBitsPerSecond() const + template auto consume_Windows_Networking_Connectivity_INetworkAdapter::OutboundMaxBitsPerSecond() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkAdapter)->get_OutboundMaxBitsPerSecond(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_INetworkAdapter::InboundMaxBitsPerSecond() const + template auto consume_Windows_Networking_Connectivity_INetworkAdapter::InboundMaxBitsPerSecond() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkAdapter)->get_InboundMaxBitsPerSecond(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Connectivity_INetworkAdapter::IanaInterfaceType() const + template auto consume_Windows_Networking_Connectivity_INetworkAdapter::IanaInterfaceType() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkAdapter)->get_IanaInterfaceType(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkItem) consume_Windows_Networking_Connectivity_INetworkAdapter::NetworkItem() const + template auto consume_Windows_Networking_Connectivity_INetworkAdapter::NetworkItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkAdapter)->get_NetworkItem(&value)); return winrt::Windows::Networking::Connectivity::NetworkItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_Connectivity_INetworkAdapter::NetworkAdapterId() const + template auto consume_Windows_Networking_Connectivity_INetworkAdapter::NetworkAdapterId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkAdapter)->get_NetworkAdapterId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Connectivity_INetworkAdapter::GetConnectedProfileAsync() const + template auto consume_Windows_Networking_Connectivity_INetworkAdapter::GetConnectedProfileAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkAdapter)->GetConnectedProfileAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Connectivity_INetworkInformationStatics::GetConnectionProfiles() const + template auto consume_Windows_Networking_Connectivity_INetworkInformationStatics::GetConnectionProfiles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkInformationStatics)->GetConnectionProfiles(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::ConnectionProfile) consume_Windows_Networking_Connectivity_INetworkInformationStatics::GetInternetConnectionProfile() const + template auto consume_Windows_Networking_Connectivity_INetworkInformationStatics::GetInternetConnectionProfile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkInformationStatics)->GetInternetConnectionProfile(&value)); return winrt::Windows::Networking::Connectivity::ConnectionProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Connectivity_INetworkInformationStatics::GetLanIdentifiers() const + template auto consume_Windows_Networking_Connectivity_INetworkInformationStatics::GetLanIdentifiers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkInformationStatics)->GetLanIdentifiers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Connectivity_INetworkInformationStatics::GetHostNames() const + template auto consume_Windows_Networking_Connectivity_INetworkInformationStatics::GetHostNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkInformationStatics)->GetHostNames(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Connectivity_INetworkInformationStatics::GetProxyConfigurationAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Networking_Connectivity_INetworkInformationStatics::GetProxyConfigurationAsync(winrt::Windows::Foundation::Uri const& uri) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkInformationStatics)->GetProxyConfigurationAsync(*(void**)(&uri), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Connectivity_INetworkInformationStatics::GetSortedEndpointPairs(param::iterable const& destinationList, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const + template auto consume_Windows_Networking_Connectivity_INetworkInformationStatics::GetSortedEndpointPairs(param::iterable const& destinationList, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkInformationStatics)->GetSortedEndpointPairs(*(void**)(&destinationList), static_cast(sortOptions), &value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Connectivity_INetworkInformationStatics::NetworkStatusChanged(winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler) const + template auto consume_Windows_Networking_Connectivity_INetworkInformationStatics::NetworkStatusChanged(winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkInformationStatics)->add_NetworkStatusChanged(*(void**)(&networkStatusHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Networking_Connectivity_INetworkInformationStatics::NetworkStatusChanged_revoker consume_Windows_Networking_Connectivity_INetworkInformationStatics::NetworkStatusChanged(auto_revoke_t, winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler) const + template auto consume_Windows_Networking_Connectivity_INetworkInformationStatics::NetworkStatusChanged(auto_revoke_t, winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler) const { return impl::make_event_revoker(this, NetworkStatusChanged(networkStatusHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_INetworkInformationStatics::NetworkStatusChanged(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Networking_Connectivity_INetworkInformationStatics::NetworkStatusChanged(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkInformationStatics)->remove_NetworkStatusChanged(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_Connectivity_INetworkInformationStatics2::FindConnectionProfilesAsync(winrt::Windows::Networking::Connectivity::ConnectionProfileFilter const& pProfileFilter) const + template auto consume_Windows_Networking_Connectivity_INetworkInformationStatics2::FindConnectionProfilesAsync(winrt::Windows::Networking::Connectivity::ConnectionProfileFilter const& pProfileFilter) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkInformationStatics2)->FindConnectionProfilesAsync(*(void**)(&pProfileFilter), &value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_Connectivity_INetworkItem::NetworkId() const + template auto consume_Windows_Networking_Connectivity_INetworkItem::NetworkId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkItem)->get_NetworkId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkTypes) consume_Windows_Networking_Connectivity_INetworkItem::GetNetworkTypes() const + template auto consume_Windows_Networking_Connectivity_INetworkItem::GetNetworkTypes() const { winrt::Windows::Networking::Connectivity::NetworkTypes value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkItem)->GetNetworkTypes(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAuthenticationType) consume_Windows_Networking_Connectivity_INetworkSecuritySettings::NetworkAuthenticationType() const + template auto consume_Windows_Networking_Connectivity_INetworkSecuritySettings::NetworkAuthenticationType() const { winrt::Windows::Networking::Connectivity::NetworkAuthenticationType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkSecuritySettings)->get_NetworkAuthenticationType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkEncryptionType) consume_Windows_Networking_Connectivity_INetworkSecuritySettings::NetworkEncryptionType() const + template auto consume_Windows_Networking_Connectivity_INetworkSecuritySettings::NetworkEncryptionType() const { winrt::Windows::Networking::Connectivity::NetworkEncryptionType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkSecuritySettings)->get_NetworkEncryptionType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails::HasNewInternetConnectionProfile() const + template auto consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails::HasNewInternetConnectionProfile() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails)->get_HasNewInternetConnectionProfile(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails::HasNewConnectionCost() const + template auto consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails::HasNewConnectionCost() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails)->get_HasNewConnectionCost(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails::HasNewNetworkConnectivityLevel() const + template auto consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails::HasNewNetworkConnectivityLevel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails)->get_HasNewNetworkConnectivityLevel(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails::HasNewDomainConnectivityLevel() const + template auto consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails::HasNewDomainConnectivityLevel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails)->get_HasNewDomainConnectivityLevel(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails::HasNewHostNameList() const + template auto consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails::HasNewHostNameList() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails)->get_HasNewHostNameList(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails::HasNewWwanRegistrationState() const + template auto consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails::HasNewWwanRegistrationState() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails)->get_HasNewWwanRegistrationState(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails2::HasNewTetheringOperationalState() const + template auto consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails2::HasNewTetheringOperationalState() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails2)->get_HasNewTetheringOperationalState(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails2::HasNewTetheringClientCount() const + template auto consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails2::HasNewTetheringClientCount() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails2)->get_HasNewTetheringClientCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_INetworkUsage::BytesSent() const + template auto consume_Windows_Networking_Connectivity_INetworkUsage::BytesSent() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkUsage)->get_BytesSent(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_INetworkUsage::BytesReceived() const + template auto consume_Windows_Networking_Connectivity_INetworkUsage::BytesReceived() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkUsage)->get_BytesReceived(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Networking_Connectivity_INetworkUsage::ConnectionDuration() const + template auto consume_Windows_Networking_Connectivity_INetworkUsage::ConnectionDuration() const { winrt::Windows::Foundation::TimeSpan duration{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkUsage)->get_ConnectionDuration(put_abi(duration))); return duration; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_IProviderNetworkUsage::BytesSent() const + template auto consume_Windows_Networking_Connectivity_IProviderNetworkUsage::BytesSent() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IProviderNetworkUsage)->get_BytesSent(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_IProviderNetworkUsage::BytesReceived() const + template auto consume_Windows_Networking_Connectivity_IProviderNetworkUsage::BytesReceived() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IProviderNetworkUsage)->get_BytesReceived(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_IProviderNetworkUsage::ProviderId() const + template auto consume_Windows_Networking_Connectivity_IProviderNetworkUsage::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IProviderNetworkUsage)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Connectivity_IProxyConfiguration::ProxyUris() const + template auto consume_Windows_Networking_Connectivity_IProxyConfiguration::ProxyUris() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IProxyConfiguration)->get_ProxyUris(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IProxyConfiguration::CanConnectDirectly() const + template auto consume_Windows_Networking_Connectivity_IProxyConfiguration::CanConnectDirectly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IProxyConfiguration)->get_CanConnectDirectly(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::ConnectionProfile) consume_Windows_Networking_Connectivity_IRoutePolicy::ConnectionProfile() const + template auto consume_Windows_Networking_Connectivity_IRoutePolicy::ConnectionProfile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IRoutePolicy)->get_ConnectionProfile(&value)); return winrt::Windows::Networking::Connectivity::ConnectionProfile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Connectivity_IRoutePolicy::HostName() const + template auto consume_Windows_Networking_Connectivity_IRoutePolicy::HostName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IRoutePolicy)->get_HostName(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::DomainNameType) consume_Windows_Networking_Connectivity_IRoutePolicy::HostNameType() const + template auto consume_Windows_Networking_Connectivity_IRoutePolicy::HostNameType() const { winrt::Windows::Networking::DomainNameType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IRoutePolicy)->get_HostNameType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::RoutePolicy) consume_Windows_Networking_Connectivity_IRoutePolicyFactory::CreateRoutePolicy(winrt::Windows::Networking::Connectivity::ConnectionProfile const& connectionProfile, winrt::Windows::Networking::HostName const& hostName, winrt::Windows::Networking::DomainNameType const& type) const + template auto consume_Windows_Networking_Connectivity_IRoutePolicyFactory::CreateRoutePolicy(winrt::Windows::Networking::Connectivity::ConnectionProfile const& connectionProfile, winrt::Windows::Networking::HostName const& hostName, winrt::Windows::Networking::DomainNameType const& type) const { void* routePolicy{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IRoutePolicyFactory)->CreateRoutePolicy(*(void**)(&connectionProfile), *(void**)(&hostName), static_cast(type), &routePolicy)); return winrt::Windows::Networking::Connectivity::RoutePolicy{ routePolicy, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_IWlanConnectionProfileDetails::GetConnectedSsid() const + template auto consume_Windows_Networking_Connectivity_IWlanConnectionProfileDetails::GetConnectedSsid() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IWlanConnectionProfileDetails)->GetConnectedSsid(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails::HomeProviderId() const + template auto consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails::HomeProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IWwanConnectionProfileDetails)->get_HomeProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails::AccessPointName() const + template auto consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails::AccessPointName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IWwanConnectionProfileDetails)->get_AccessPointName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::WwanNetworkRegistrationState) consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails::GetNetworkRegistrationState() const + template auto consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails::GetNetworkRegistrationState() const { winrt::Windows::Networking::Connectivity::WwanNetworkRegistrationState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IWwanConnectionProfileDetails)->GetNetworkRegistrationState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::WwanDataClass) consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails::GetCurrentDataClass() const + template auto consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails::GetCurrentDataClass() const { winrt::Windows::Networking::Connectivity::WwanDataClass value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IWwanConnectionProfileDetails)->GetCurrentDataClass(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::WwanNetworkIPKind) consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails2::IPKind() const + template auto consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails2::IPKind() const { winrt::Windows::Networking::Connectivity::WwanNetworkIPKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IWwanConnectionProfileDetails2)->get_IPKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails2::PurposeGuids() const + template auto consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails2::PurposeGuids() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IWwanConnectionProfileDetails2)->get_PurposeGuids(&value)); @@ -2165,10 +2165,10 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Connectivity { return impl::call_factory([&](INetworkInformationStatics const& f) { return f.NetworkStatusChanged(networkStatusHandler); }); } - inline NetworkInformation::NetworkStatusChanged_revoker NetworkInformation::NetworkStatusChanged(auto_revoke_t, winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler) + inline auto NetworkInformation::NetworkStatusChanged(auto_revoke_t, winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler) { auto f = get_activation_factory(); - return { f, f.NetworkStatusChanged(networkStatusHandler) }; + return NetworkInformation::NetworkStatusChanged_revoker{ f, f.NetworkStatusChanged(networkStatusHandler) }; } inline auto NetworkInformation::NetworkStatusChanged(winrt::event_token const& eventCookie) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.NetworkOperators.h b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.NetworkOperators.h index 3430f7b2..7c207596 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.NetworkOperators.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.NetworkOperators.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_NetworkOperators_H #define WINRT_Windows_Networking_NetworkOperators_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Networking.h" #include "winrt/impl/Windows.Data.Xml.Dom.2.h" #include "winrt/impl/Windows.Devices.Sms.2.h" @@ -17,2459 +17,2459 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Networking.NetworkOperators.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IESim::AvailableMemoryInBytes() const + template auto consume_Windows_Networking_NetworkOperators_IESim::AvailableMemoryInBytes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->get_AvailableMemoryInBytes(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESim::Eid() const + template auto consume_Windows_Networking_NetworkOperators_IESim::Eid() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->get_Eid(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESim::FirmwareVersion() const + template auto consume_Windows_Networking_NetworkOperators_IESim::FirmwareVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->get_FirmwareVersion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESim::MobileBroadbandModemDeviceId() const + template auto consume_Windows_Networking_NetworkOperators_IESim::MobileBroadbandModemDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->get_MobileBroadbandModemDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimPolicy) consume_Windows_Networking_NetworkOperators_IESim::Policy() const + template auto consume_Windows_Networking_NetworkOperators_IESim::Policy() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->get_Policy(&value)); return winrt::Windows::Networking::NetworkOperators::ESimPolicy{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimState) consume_Windows_Networking_NetworkOperators_IESim::State() const + template auto consume_Windows_Networking_NetworkOperators_IESim::State() const { winrt::Windows::Networking::NetworkOperators::ESimState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IESim::GetProfiles() const + template auto consume_Windows_Networking_NetworkOperators_IESim::GetProfiles() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->GetProfiles(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IESim::DeleteProfileAsync(param::hstring const& profileId) const + template auto consume_Windows_Networking_NetworkOperators_IESim::DeleteProfileAsync(param::hstring const& profileId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->DeleteProfileAsync(*(void**)(&profileId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IESim::DownloadProfileMetadataAsync(param::hstring const& activationCode) const + template auto consume_Windows_Networking_NetworkOperators_IESim::DownloadProfileMetadataAsync(param::hstring const& activationCode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->DownloadProfileMetadataAsync(*(void**)(&activationCode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IESim::ResetAsync() const + template auto consume_Windows_Networking_NetworkOperators_IESim::ResetAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->ResetAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IESim::ProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IESim::ProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->add_ProfileChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_NetworkOperators_IESim::ProfileChanged_revoker consume_Windows_Networking_NetworkOperators_IESim::ProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IESim::ProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ProfileChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESim::ProfileChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IESim::ProfileChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->remove_ProfileChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimDiscoverResult) consume_Windows_Networking_NetworkOperators_IESim2::Discover() const + template auto consume_Windows_Networking_NetworkOperators_IESim2::Discover() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim2)->Discover(&result)); return winrt::Windows::Networking::NetworkOperators::ESimDiscoverResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimDiscoverResult) consume_Windows_Networking_NetworkOperators_IESim2::Discover(param::hstring const& serverAddress, param::hstring const& matchingId) const + template auto consume_Windows_Networking_NetworkOperators_IESim2::Discover(param::hstring const& serverAddress, param::hstring const& matchingId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim2)->DiscoverWithServerAddressAndMatchingId(*(void**)(&serverAddress), *(void**)(&matchingId), &result)); return winrt::Windows::Networking::NetworkOperators::ESimDiscoverResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IESim2::DiscoverAsync() const + template auto consume_Windows_Networking_NetworkOperators_IESim2::DiscoverAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim2)->DiscoverAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IESim2::DiscoverAsync(param::hstring const& serverAddress, param::hstring const& matchingId) const + template auto consume_Windows_Networking_NetworkOperators_IESim2::DiscoverAsync(param::hstring const& serverAddress, param::hstring const& matchingId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim2)->DiscoverWithServerAddressAndMatchingIdAsync(*(void**)(&serverAddress), *(void**)(&matchingId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESim) consume_Windows_Networking_NetworkOperators_IESimAddedEventArgs::ESim() const + template auto consume_Windows_Networking_NetworkOperators_IESimAddedEventArgs::ESim() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimAddedEventArgs)->get_ESim(&value)); return winrt::Windows::Networking::NetworkOperators::ESim{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimDiscoverEvent::MatchingId() const + template auto consume_Windows_Networking_NetworkOperators_IESimDiscoverEvent::MatchingId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDiscoverEvent)->get_MatchingId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimDiscoverEvent::RspServerAddress() const + template auto consume_Windows_Networking_NetworkOperators_IESimDiscoverEvent::RspServerAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDiscoverEvent)->get_RspServerAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IESimDiscoverResult::Events() const + template auto consume_Windows_Networking_NetworkOperators_IESimDiscoverResult::Events() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDiscoverResult)->get_Events(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimDiscoverResultKind) consume_Windows_Networking_NetworkOperators_IESimDiscoverResult::Kind() const + template auto consume_Windows_Networking_NetworkOperators_IESimDiscoverResult::Kind() const { winrt::Windows::Networking::NetworkOperators::ESimDiscoverResultKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDiscoverResult)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata) consume_Windows_Networking_NetworkOperators_IESimDiscoverResult::ProfileMetadata() const + template auto consume_Windows_Networking_NetworkOperators_IESimDiscoverResult::ProfileMetadata() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDiscoverResult)->get_ProfileMetadata(&value)); return winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimOperationResult) consume_Windows_Networking_NetworkOperators_IESimDiscoverResult::Result() const + template auto consume_Windows_Networking_NetworkOperators_IESimDiscoverResult::Result() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDiscoverResult)->get_Result(&value)); return winrt::Windows::Networking::NetworkOperators::ESimOperationResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimOperationResult) consume_Windows_Networking_NetworkOperators_IESimDownloadProfileMetadataResult::Result() const + template auto consume_Windows_Networking_NetworkOperators_IESimDownloadProfileMetadataResult::Result() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDownloadProfileMetadataResult)->get_Result(&value)); return winrt::Windows::Networking::NetworkOperators::ESimOperationResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata) consume_Windows_Networking_NetworkOperators_IESimDownloadProfileMetadataResult::ProfileMetadata() const + template auto consume_Windows_Networking_NetworkOperators_IESimDownloadProfileMetadataResult::ProfileMetadata() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDownloadProfileMetadataResult)->get_ProfileMetadata(&value)); return winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimServiceInfo) consume_Windows_Networking_NetworkOperators_IESimManagerStatics::ServiceInfo() const + template auto consume_Windows_Networking_NetworkOperators_IESimManagerStatics::ServiceInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimManagerStatics)->get_ServiceInfo(&value)); return winrt::Windows::Networking::NetworkOperators::ESimServiceInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimWatcher) consume_Windows_Networking_NetworkOperators_IESimManagerStatics::TryCreateESimWatcher() const + template auto consume_Windows_Networking_NetworkOperators_IESimManagerStatics::TryCreateESimWatcher() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimManagerStatics)->TryCreateESimWatcher(&result)); return winrt::Windows::Networking::NetworkOperators::ESimWatcher{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IESimManagerStatics::ServiceInfoChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IESimManagerStatics::ServiceInfoChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimManagerStatics)->add_ServiceInfoChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_NetworkOperators_IESimManagerStatics::ServiceInfoChanged_revoker consume_Windows_Networking_NetworkOperators_IESimManagerStatics::ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IESimManagerStatics::ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, ServiceInfoChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimManagerStatics::ServiceInfoChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IESimManagerStatics::ServiceInfoChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimManagerStatics)->remove_ServiceInfoChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimOperationStatus) consume_Windows_Networking_NetworkOperators_IESimOperationResult::Status() const + template auto consume_Windows_Networking_NetworkOperators_IESimOperationResult::Status() const { winrt::Windows::Networking::NetworkOperators::ESimOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimOperationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IESimPolicy::ShouldEnableManagingUi() const + template auto consume_Windows_Networking_NetworkOperators_IESimPolicy::ShouldEnableManagingUi() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimPolicy)->get_ShouldEnableManagingUi(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfileClass) consume_Windows_Networking_NetworkOperators_IESimProfile::Class() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfile::Class() const { winrt::Windows::Networking::NetworkOperators::ESimProfileClass value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_Class(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimProfile::Nickname() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfile::Nickname() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_Nickname(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfilePolicy) consume_Windows_Networking_NetworkOperators_IESimProfile::Policy() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfile::Policy() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_Policy(&value)); return winrt::Windows::Networking::NetworkOperators::ESimProfilePolicy{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimProfile::Id() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfile::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Networking_NetworkOperators_IESimProfile::ProviderIcon() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfile::ProviderIcon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_ProviderIcon(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimProfile::ProviderId() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfile::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimProfile::ProviderName() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfile::ProviderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_ProviderName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfileState) consume_Windows_Networking_NetworkOperators_IESimProfile::State() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfile::State() const { winrt::Windows::Networking::NetworkOperators::ESimProfileState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IESimProfile::DisableAsync() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfile::DisableAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->DisableAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IESimProfile::EnableAsync() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfile::EnableAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->EnableAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IESimProfile::SetNicknameAsync(param::hstring const& newNickname) const + template auto consume_Windows_Networking_NetworkOperators_IESimProfile::SetNicknameAsync(param::hstring const& newNickname) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->SetNicknameAsync(*(void**)(&newNickname), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::IsConfirmationCodeRequired() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::IsConfirmationCodeRequired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->get_IsConfirmationCodeRequired(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfilePolicy) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::Policy() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::Policy() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->get_Policy(&value)); return winrt::Windows::Networking::NetworkOperators::ESimProfilePolicy{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::Id() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::ProviderIcon() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::ProviderIcon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->get_ProviderIcon(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::ProviderId() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::ProviderName() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::ProviderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->get_ProviderName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfileMetadataState) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::State() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::State() const { winrt::Windows::Networking::NetworkOperators::ESimProfileMetadataState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::DenyInstallAsync() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::DenyInstallAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->DenyInstallAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::ConfirmInstallAsync() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::ConfirmInstallAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->ConfirmInstallAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::ConfirmInstallAsync(param::hstring const& confirmationCode) const + template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::ConfirmInstallAsync(param::hstring const& confirmationCode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->ConfirmInstallWithConfirmationCodeAsync(*(void**)(&confirmationCode), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::PostponeInstallAsync() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::PostponeInstallAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->PostponeInstallAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->add_StateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::StateChanged_revoker consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::StateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata::StateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->remove_StateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IESimProfilePolicy::CanDelete() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfilePolicy::CanDelete() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfilePolicy)->get_CanDelete(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IESimProfilePolicy::CanDisable() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfilePolicy::CanDisable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfilePolicy)->get_CanDisable(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IESimProfilePolicy::IsManagedByEnterprise() const + template auto consume_Windows_Networking_NetworkOperators_IESimProfilePolicy::IsManagedByEnterprise() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfilePolicy)->get_IsManagedByEnterprise(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESim) consume_Windows_Networking_NetworkOperators_IESimRemovedEventArgs::ESim() const + template auto consume_Windows_Networking_NetworkOperators_IESimRemovedEventArgs::ESim() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimRemovedEventArgs)->get_ESim(&value)); return winrt::Windows::Networking::NetworkOperators::ESim{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimAuthenticationPreference) consume_Windows_Networking_NetworkOperators_IESimServiceInfo::AuthenticationPreference() const + template auto consume_Windows_Networking_NetworkOperators_IESimServiceInfo::AuthenticationPreference() const { winrt::Windows::Networking::NetworkOperators::ESimAuthenticationPreference value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimServiceInfo)->get_AuthenticationPreference(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IESimServiceInfo::IsESimUiEnabled() const + template auto consume_Windows_Networking_NetworkOperators_IESimServiceInfo::IsESimUiEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimServiceInfo)->get_IsESimUiEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESim) consume_Windows_Networking_NetworkOperators_IESimUpdatedEventArgs::ESim() const + template auto consume_Windows_Networking_NetworkOperators_IESimUpdatedEventArgs::ESim() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimUpdatedEventArgs)->get_ESim(&value)); return winrt::Windows::Networking::NetworkOperators::ESim{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimWatcherStatus) consume_Windows_Networking_NetworkOperators_IESimWatcher::Status() const + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Status() const { winrt::Windows::Networking::NetworkOperators::ESimWatcherStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimWatcher::Start() const + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimWatcher::Stop() const + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->Stop()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IESimWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->add_Added(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_NetworkOperators_IESimWatcher::Added_revoker consume_Windows_Networking_NetworkOperators_IESimWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Added(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimWatcher::Added(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Added(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->remove_Added(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IESimWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_NetworkOperators_IESimWatcher::EnumerationCompleted_revoker consume_Windows_Networking_NetworkOperators_IESimWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->remove_EnumerationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IESimWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->add_Removed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_NetworkOperators_IESimWatcher::Removed_revoker consume_Windows_Networking_NetworkOperators_IESimWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Removed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimWatcher::Removed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Removed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->remove_Removed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IESimWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->add_Stopped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_NetworkOperators_IESimWatcher::Stopped_revoker consume_Windows_Networking_NetworkOperators_IESimWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimWatcher::Stopped(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Stopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->remove_Stopped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IESimWatcher::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->add_Updated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_NetworkOperators_IESimWatcher::Updated_revoker consume_Windows_Networking_NetworkOperators_IESimWatcher::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Updated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimWatcher::Updated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IESimWatcher::Updated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->remove_Updated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IFdnAccessManagerStatics::RequestUnlockAsync(param::hstring const& contactListId) const + template auto consume_Windows_Networking_NetworkOperators_IFdnAccessManagerStatics::RequestUnlockAsync(param::hstring const& contactListId) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IFdnAccessManagerStatics)->RequestUnlockAsync(*(void**)(&contactListId), &returnValue)); return winrt::Windows::Foundation::IAsyncOperation{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::WirelessNetworkId() const + template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::WirelessNetworkId() const { uint32_t value_impl_size{}; uint8_t* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->get_WirelessNetworkId(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAdapter) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::NetworkAdapter() const + template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::NetworkAdapter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->get_NetworkAdapter(&value)); return winrt::Windows::Networking::Connectivity::NetworkAdapter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::RedirectMessageUrl() const + template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::RedirectMessageUrl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->get_RedirectMessageUrl(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::RedirectMessageXml() const + template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::RedirectMessageXml() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->get_RedirectMessageXml(&value)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::AuthenticationUrl() const + template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::AuthenticationUrl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->get_AuthenticationUrl(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::IssueCredentials(param::hstring const& userName, param::hstring const& password, param::hstring const& extraParameters, bool markAsManualConnectOnFailure) const + template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::IssueCredentials(param::hstring const& userName, param::hstring const& password, param::hstring const& extraParameters, bool markAsManualConnectOnFailure) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->IssueCredentials(*(void**)(&userName), *(void**)(&password), *(void**)(&extraParameters), markAsManualConnectOnFailure)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::AbortAuthentication(bool markAsManual) const + template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::AbortAuthentication(bool markAsManual) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->AbortAuthentication(markAsManual)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::SkipAuthentication() const + template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::SkipAuthentication() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->SkipAuthentication()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::TriggerAttentionRequired(param::hstring const& packageRelativeApplicationId, param::hstring const& applicationParameters) const + template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext::TriggerAttentionRequired(param::hstring const& packageRelativeApplicationId, param::hstring const& applicationParameters) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->TriggerAttentionRequired(*(void**)(&packageRelativeApplicationId), *(void**)(&applicationParameters))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext2::IssueCredentialsAsync(param::hstring const& userName, param::hstring const& password, param::hstring const& extraParameters, bool markAsManualConnectOnFailure) const + template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext2::IssueCredentialsAsync(param::hstring const& userName, param::hstring const& password, param::hstring const& extraParameters, bool markAsManualConnectOnFailure) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext2)->IssueCredentialsAsync(*(void**)(&userName), *(void**)(&password), *(void**)(&extraParameters), markAsManualConnectOnFailure, &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContextStatics::TryGetAuthenticationContext(param::hstring const& evenToken, winrt::Windows::Networking::NetworkOperators::HotspotAuthenticationContext& context) const + template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContextStatics::TryGetAuthenticationContext(param::hstring const& evenToken, winrt::Windows::Networking::NetworkOperators::HotspotAuthenticationContext& context) const { bool isValid{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContextStatics)->TryGetAuthenticationContext(*(void**)(&evenToken), impl::bind_out(context), &isValid)); return isValid; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationEventDetails::EventToken() const + template auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationEventDetails::EventToken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationEventDetails)->get_EventToken(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult::HasNetworkErrorOccurred() const + template auto consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult::HasNetworkErrorOccurred() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotCredentialsAuthenticationResult)->get_HasNetworkErrorOccurred(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::HotspotAuthenticationResponseCode) consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult::ResponseCode() const + template auto consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult::ResponseCode() const { winrt::Windows::Networking::NetworkOperators::HotspotAuthenticationResponseCode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotCredentialsAuthenticationResult)->get_ResponseCode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult::LogoffUrl() const + template auto consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult::LogoffUrl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotCredentialsAuthenticationResult)->get_LogoffUrl(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult::AuthenticationReplyXml() const + template auto consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult::AuthenticationReplyXml() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotCredentialsAuthenticationResult)->get_AuthenticationReplyXml(&value)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics::EFSpn() const + template auto consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics::EFSpn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownCSimFilePathsStatics)->get_EFSpn(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics::Gid1() const + template auto consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics::Gid1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownCSimFilePathsStatics)->get_Gid1(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics::Gid2() const + template auto consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics::Gid2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownCSimFilePathsStatics)->get_Gid2(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics::EFSpn() const + template auto consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics::EFSpn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownRuimFilePathsStatics)->get_EFSpn(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics::Gid1() const + template auto consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics::Gid1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownRuimFilePathsStatics)->get_Gid1(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics::Gid2() const + template auto consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics::Gid2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownRuimFilePathsStatics)->get_Gid2(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics::EFOns() const + template auto consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics::EFOns() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownSimFilePathsStatics)->get_EFOns(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics::EFSpn() const + template auto consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics::EFSpn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownSimFilePathsStatics)->get_EFSpn(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics::Gid1() const + template auto consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics::Gid1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownSimFilePathsStatics)->get_Gid1(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics::Gid2() const + template auto consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics::Gid2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownSimFilePathsStatics)->get_Gid2(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics::EFSpn() const + template auto consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics::EFSpn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownUSimFilePathsStatics)->get_EFSpn(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics::EFOpl() const + template auto consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics::EFOpl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownUSimFilePathsStatics)->get_EFOpl(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics::EFPnn() const + template auto consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics::EFPnn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownUSimFilePathsStatics)->get_EFPnn(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics::Gid1() const + template auto consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics::Gid1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownUSimFilePathsStatics)->get_Gid1(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics::Gid2() const + template auto consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics::Gid2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownUSimFilePathsStatics)->get_Gid2(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount::NetworkAccountId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount::NetworkAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount)->get_NetworkAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount::ServiceProviderGuid() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount::ServiceProviderGuid() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount)->get_ServiceProviderGuid(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount::ServiceProviderName() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount::ServiceProviderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount)->get_ServiceProviderName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetwork) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount::CurrentNetwork() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount::CurrentNetwork() const { void* network{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount)->get_CurrentNetwork(&network)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetwork{ network, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceInformation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount::CurrentDeviceInformation() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount::CurrentDeviceInformation() const { void* deviceInformation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount)->get_CurrentDeviceInformation(&deviceInformation)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceInformation{ deviceInformation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount2::GetConnectionProfiles() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount2::GetConnectionProfiles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount2)->GetConnectionProfiles(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount3::AccountExperienceUrl() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount3::AccountExperienceUrl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount3)->get_AccountExperienceUrl(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountEventArgs::NetworkAccountId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountEventArgs::NetworkAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountEventArgs)->get_NetworkAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountStatics::AvailableNetworkAccountIds() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountStatics::AvailableNetworkAccountIds() const { void* ppAccountIds{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountStatics)->get_AvailableNetworkAccountIds(&ppAccountIds)); return winrt::Windows::Foundation::Collections::IVectorView{ ppAccountIds, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccount) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountStatics::CreateFromNetworkAccountId(param::hstring const& networkAccountId) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountStatics::CreateFromNetworkAccountId(param::hstring const& networkAccountId) const { void* ppAccount{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountStatics)->CreateFromNetworkAccountId(*(void**)(&networkAccountId), &ppAccount)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccount{ ppAccount, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs::NetworkAccountId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs::NetworkAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountUpdatedEventArgs)->get_NetworkAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs::HasDeviceInformationChanged() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs::HasDeviceInformationChanged() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountUpdatedEventArgs)->get_HasDeviceInformationChanged(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs::HasNetworkChanged() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs::HasNetworkChanged() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountUpdatedEventArgs)->get_HasNetworkChanged(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->add_AccountAdded(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountAdded_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AccountAdded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountAdded(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountAdded(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->remove_AccountAdded(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->add_AccountUpdated(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountUpdated_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AccountUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountUpdated(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountUpdated(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->remove_AccountUpdated(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->add_AccountRemoved(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountRemoved_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AccountRemoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountRemoved(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::AccountRemoved(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->remove_AccountRemoved(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::EnumerationCompleted_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::EnumerationCompleted(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::EnumerationCompleted(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->remove_EnumerationCompleted(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->add_Stopped(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Stopped_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Stopped(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Stopped(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->remove_Stopped(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcherStatus) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Status() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Status() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcherStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->get_Status(reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Start() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Stop() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->Stop()); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSar::AntennaIndex() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSar::AntennaIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAntennaSar)->get_AntennaIndex(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSar::SarBackoffIndex() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSar::SarBackoffIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAntennaSar)->get_SarBackoffIndex(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandAntennaSar) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSarFactory::CreateWithIndex(int32_t antennaIndex, int32_t sarBackoffIndex) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSarFactory::CreateWithIndex(int32_t antennaIndex, int32_t sarBackoffIndex) const { void* antennaSar{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAntennaSarFactory)->CreateWithIndex(antennaIndex, sarBackoffIndex, &antennaSar)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandAntennaSar{ antennaSar, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::BaseStationId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::BaseStationId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_BaseStationId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::BaseStationPNCode() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::BaseStationPNCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_BaseStationPNCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::BaseStationLatitude() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::BaseStationLatitude() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_BaseStationLatitude(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::BaseStationLongitude() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::BaseStationLongitude() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_BaseStationLongitude(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::BaseStationLastBroadcastGpsTime() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::BaseStationLastBroadcastGpsTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_BaseStationLastBroadcastGpsTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::NetworkId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::NetworkId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_NetworkId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::PilotSignalStrengthInDB() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::PilotSignalStrengthInDB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_PilotSignalStrengthInDB(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::SystemId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma::SystemId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_SystemId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::BaseStationId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::BaseStationId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_BaseStationId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::CellId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::CellId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_CellId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::ChannelNumber() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::ChannelNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_ChannelNumber(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::LocationAreaCode() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::LocationAreaCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_LocationAreaCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::ProviderId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::ReceivedSignalStrengthInDBm() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::ReceivedSignalStrengthInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_ReceivedSignalStrengthInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::TimingAdvanceInBitPeriods() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm::TimingAdvanceInBitPeriods() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_TimingAdvanceInBitPeriods(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::CellId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::CellId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_CellId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::ChannelNumber() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::ChannelNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_ChannelNumber(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::PhysicalCellId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::PhysicalCellId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_PhysicalCellId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::ProviderId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::ReferenceSignalReceivedPowerInDBm() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::ReferenceSignalReceivedPowerInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_ReferenceSignalReceivedPowerInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::ReferenceSignalReceivedQualityInDBm() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::ReferenceSignalReceivedQualityInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_ReferenceSignalReceivedQualityInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::TimingAdvanceInBitPeriods() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::TimingAdvanceInBitPeriods() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_TimingAdvanceInBitPeriods(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::TrackingAreaCode() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte::TrackingAreaCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_TrackingAreaCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::CellId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::CellId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_CellId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::ChannelNumber() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::ChannelNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ChannelNumber(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::PhysicalCellId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::PhysicalCellId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_PhysicalCellId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::ProviderId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::ReferenceSignalReceivedPowerInDBm() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::ReferenceSignalReceivedPowerInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ReferenceSignalReceivedPowerInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::ReferenceSignalReceivedQualityInDBm() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::ReferenceSignalReceivedQualityInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ReferenceSignalReceivedQualityInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::TimingAdvanceInNanoseconds() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::TimingAdvanceInNanoseconds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_TimingAdvanceInNanoseconds(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::TrackingAreaCode() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::TrackingAreaCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_TrackingAreaCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::SignalToNoiseRatioInDB() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::SignalToNoiseRatioInDB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_SignalToNoiseRatioInDB(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::CellId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::CellId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_CellId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::CellParameterId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::CellParameterId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_CellParameterId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::ChannelNumber() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::ChannelNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_ChannelNumber(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::LocationAreaCode() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::LocationAreaCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_LocationAreaCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::PathLossInDB() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::PathLossInDB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_PathLossInDB(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::ProviderId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::ReceivedSignalCodePowerInDBm() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::ReceivedSignalCodePowerInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_ReceivedSignalCodePowerInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::TimingAdvanceInBitPeriods() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::TimingAdvanceInBitPeriods() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_TimingAdvanceInBitPeriods(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::CellId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::CellId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_CellId(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::ChannelNumber() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::ChannelNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_ChannelNumber(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::LocationAreaCode() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::LocationAreaCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_LocationAreaCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::PathLossInDB() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::PathLossInDB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_PathLossInDB(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::PrimaryScramblingCode() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::PrimaryScramblingCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_PrimaryScramblingCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::ProviderId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::ProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_ProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::ReceivedSignalCodePowerInDBm() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::ReceivedSignalCodePowerInDBm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_ReceivedSignalCodePowerInDBm(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::SignalToNoiseRatioInDB() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts::SignalToNoiseRatioInDB() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_SignalToNoiseRatioInDB(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::NeighboringCellsCdma() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::NeighboringCellsCdma() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_NeighboringCellsCdma(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::NeighboringCellsGsm() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::NeighboringCellsGsm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_NeighboringCellsGsm(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::NeighboringCellsLte() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::NeighboringCellsLte() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_NeighboringCellsLte(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::NeighboringCellsTdscdma() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::NeighboringCellsTdscdma() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_NeighboringCellsTdscdma(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::NeighboringCellsUmts() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::NeighboringCellsUmts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_NeighboringCellsUmts(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::ServingCellsCdma() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::ServingCellsCdma() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsCdma(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::ServingCellsGsm() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::ServingCellsGsm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsGsm(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::ServingCellsLte() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::ServingCellsLte() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsLte(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::ServingCellsTdscdma() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::ServingCellsTdscdma() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsTdscdma(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::ServingCellsUmts() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo::ServingCellsUmts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsUmts(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2::NeighboringCellsNR() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2::NeighboringCellsNR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2)->get_NeighboringCellsNR(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2::ServingCellsNR() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2::ServingCellsNR() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2)->get_ServingCellsNR(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCurrentSlotIndexChangedEventArgs::CurrentSlotIndex() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCurrentSlotIndexChangedEventArgs::CurrentSlotIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs)->get_CurrentSlotIndex(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkDeviceStatus) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::NetworkDeviceStatus() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::NetworkDeviceStatus() const { winrt::Windows::Networking::NetworkOperators::NetworkDeviceStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_NetworkDeviceStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::Manufacturer() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::Manufacturer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_Manufacturer(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::Model() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::Model() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_Model(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::FirmwareInformation() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::FirmwareInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_FirmwareInformation(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::CellularClass() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::CellularClass() const { winrt::Windows::Devices::Sms::CellularClass value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_CellularClass(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::DataClasses) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::DataClasses() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::DataClasses() const { winrt::Windows::Networking::NetworkOperators::DataClasses value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_DataClasses(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::CustomDataClass() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::CustomDataClass() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_CustomDataClass(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::MobileEquipmentId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::MobileEquipmentId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_MobileEquipmentId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::TelephoneNumbers() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::TelephoneNumbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_TelephoneNumbers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::SubscriberId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::SubscriberId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_SubscriberId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::SimIccId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::SimIccId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_SimIccId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceType) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::DeviceType() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::DeviceType() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceType pDeviceType{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_DeviceType(reinterpret_cast(&pDeviceType))); return pDeviceType; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::DeviceId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioState) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::CurrentRadioState() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::CurrentRadioState() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioState pCurrentState{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_CurrentRadioState(reinterpret_cast(&pCurrentState))); return pCurrentState; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinManager) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2::PinManager() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2::PinManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation2)->get_PinManager(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2::Revision() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2::Revision() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation2)->get_Revision(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2::SerialNumber() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2::SerialNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation2)->get_SerialNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3::SimSpn() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3::SimSpn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation3)->get_SimSpn(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3::SimPnn() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3::SimPnn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation3)->get_SimPnn(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3::SimGid1() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3::SimGid1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation3)->get_SimGid1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation4::SlotManager() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation4::SlotManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation4)->get_SlotManager(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService::DeviceServiceId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService::DeviceServiceId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService)->get_DeviceServiceId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService::SupportedCommands() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService::SupportedCommands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService)->get_SupportedCommands(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataSession) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService::OpenDataSession() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService::OpenDataSession() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService)->OpenDataSession(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceCommandSession) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService::OpenCommandSession() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService::OpenCommandSession() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService)->OpenCommandSession(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceCommandSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandResult::StatusCode() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandResult::StatusCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandResult)->get_StatusCode(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandResult::ResponseData() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandResult::ResponseData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandResult)->get_ResponseData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession::SendQueryCommandAsync(uint32_t commandId, winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession::SendQueryCommandAsync(uint32_t commandId, winrt::Windows::Storage::Streams::IBuffer const& data) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession)->SendQueryCommandAsync(commandId, *(void**)(&data), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession::SendSetCommandAsync(uint32_t commandId, winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession::SendSetCommandAsync(uint32_t commandId, winrt::Windows::Storage::Streams::IBuffer const& data) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession)->SendSetCommandAsync(commandId, *(void**)(&data), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession::CloseSession() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession::CloseSession() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession)->CloseSession()); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataReceivedEventArgs::ReceivedData() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataReceivedEventArgs::ReceivedData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataReceivedEventArgs)->get_ReceivedData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession::WriteDataAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession::WriteDataAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataSession)->WriteDataAsync(*(void**)(&value), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession::CloseSession() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession::CloseSession() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataSession)->CloseSession()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession::DataReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession::DataReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataSession)->add_DataReceived(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession::DataReceived_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession::DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession::DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, DataReceived(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession::DataReceived(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession::DataReceived(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataSession)->remove_DataReceived(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation::DeviceServiceId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation::DeviceServiceId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceInformation)->get_DeviceServiceId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation::IsDataReadSupported() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation::IsDataReadSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceInformation)->get_IsDataReadSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation::IsDataWriteSupported() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation::IsDataWriteSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceInformation)->get_IsDataWriteSupported(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails::DeviceId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceTriggerDetails)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails::DeviceServiceId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails::DeviceServiceId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceTriggerDetails)->get_DeviceServiceId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails::ReceivedData() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails::ReceivedData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceTriggerDetails)->get_ReceivedData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccount) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::CurrentAccount() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::CurrentAccount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_CurrentAccount(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccount{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceInformation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::DeviceInformation() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::DeviceInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_DeviceInformation(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::MaxDeviceServiceCommandSizeInBytes() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::MaxDeviceServiceCommandSizeInBytes() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_MaxDeviceServiceCommandSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::MaxDeviceServiceDataSizeInBytes() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::MaxDeviceServiceDataSizeInBytes() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_MaxDeviceServiceDataSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::DeviceServices() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::DeviceServices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_DeviceServices(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceService) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::GetDeviceService(winrt::guid const& deviceServiceId) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::GetDeviceService(winrt::guid const& deviceServiceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->GetDeviceService(impl::bind_in(deviceServiceId), &value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceService{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::IsResetSupported() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::IsResetSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_IsResetSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::ResetAsync() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::ResetAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->ResetAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::GetCurrentConfigurationAsync() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::GetCurrentConfigurationAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->GetCurrentConfigurationAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetwork) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::CurrentNetwork() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem::CurrentNetwork() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_CurrentNetwork(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetwork{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem2::GetIsPassthroughEnabledAsync() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem2::GetIsPassthroughEnabledAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem2)->GetIsPassthroughEnabledAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem2::SetIsPassthroughEnabledAsync(bool value) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem2::SetIsPassthroughEnabledAsync(bool value) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem2)->SetIsPassthroughEnabledAsync(value, &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3::TryGetPcoAsync() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3::TryGetPcoAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem3)->TryGetPcoAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3::IsInEmergencyCallMode() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3::IsInEmergencyCallMode() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem3)->get_IsInEmergencyCallMode(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3::IsInEmergencyCallModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3::IsInEmergencyCallModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem3)->add_IsInEmergencyCallModeChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3::IsInEmergencyCallModeChanged_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3::IsInEmergencyCallModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3::IsInEmergencyCallModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsInEmergencyCallModeChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3::IsInEmergencyCallModeChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3::IsInEmergencyCallModeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem3)->remove_IsInEmergencyCallModeChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandUicc) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration::Uicc() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration::Uicc() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemConfiguration)->get_Uicc(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandUicc{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration::HomeProviderId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration::HomeProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemConfiguration)->get_HomeProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration::HomeProviderName() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration::HomeProviderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemConfiguration)->get_HomeProviderName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration2::SarManager() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration2::SarManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemConfiguration2)->get_SarManager(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation::AddAllowedHost(winrt::Windows::Networking::HostName const& host) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation::AddAllowedHost(winrt::Windows::Networking::HostName const& host) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemIsolation)->AddAllowedHost(*(void**)(&host))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation::AddAllowedHostRange(winrt::Windows::Networking::HostName const& first, winrt::Windows::Networking::HostName const& last) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation::AddAllowedHostRange(winrt::Windows::Networking::HostName const& first, winrt::Windows::Networking::HostName const& last) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemIsolation)->AddAllowedHostRange(*(void**)(&first), *(void**)(&last))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation::ApplyConfigurationAsync() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation::ApplyConfigurationAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemIsolation)->ApplyConfigurationAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation::ClearConfigurationAsync() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation::ClearConfigurationAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemIsolation)->ClearConfigurationAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemIsolation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolationFactory::Create(param::hstring const& modemDeviceId, param::hstring const& ruleGroupId) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolationFactory::Create(param::hstring const& modemDeviceId, param::hstring const& ruleGroupId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemIsolationFactory)->Create(*(void**)(&modemDeviceId), *(void**)(&ruleGroupId), &result)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemIsolation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics::GetDeviceSelector() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics::GetDeviceSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemStatics)->GetDeviceSelector(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics::FromId(param::hstring const& deviceId) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics::FromId(param::hstring const& deviceId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemStatics)->FromId(*(void**)(&deviceId), &value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics::GetDefault() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics::GetDefault() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemStatics)->GetDefault(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAdapter) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::NetworkAdapter() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::NetworkAdapter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_NetworkAdapter(&value)); return winrt::Windows::Networking::Connectivity::NetworkAdapter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkRegistrationState) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::NetworkRegistrationState() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::NetworkRegistrationState() const { winrt::Windows::Networking::NetworkOperators::NetworkRegistrationState registrationState{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_NetworkRegistrationState(reinterpret_cast(®istrationState))); return registrationState; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::RegistrationNetworkError() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::RegistrationNetworkError() const { uint32_t networkError{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_RegistrationNetworkError(&networkError)); return networkError; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::PacketAttachNetworkError() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::PacketAttachNetworkError() const { uint32_t networkError{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_PacketAttachNetworkError(&networkError)); return networkError; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::ActivationNetworkError() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::ActivationNetworkError() const { uint32_t networkError{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_ActivationNetworkError(&networkError)); return networkError; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::AccessPointName() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::AccessPointName() const { void* apn{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_AccessPointName(&apn)); return hstring{ apn, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::DataClasses) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::RegisteredDataClass() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::RegisteredDataClass() const { winrt::Windows::Networking::NetworkOperators::DataClasses value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_RegisteredDataClass(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::RegisteredProviderId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::RegisteredProviderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_RegisteredProviderId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::RegisteredProviderName() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::RegisteredProviderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_RegisteredProviderName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::ShowConnectionUI() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork::ShowConnectionUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->ShowConnectionUI()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork2::GetVoiceCallSupportAsync() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork2::GetVoiceCallSupportAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork2)->GetVoiceCallSupportAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork2::RegistrationUiccApps() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork2::RegistrationUiccApps() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork2)->get_RegistrationUiccApps(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork3::GetCellsInfoAsync() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork3::GetCellsInfoAsync() const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork3)->GetCellsInfoAsync(&asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChange::DeviceId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChange::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetworkRegistrationStateChange)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetwork) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChange::Network() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChange::Network() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetworkRegistrationStateChange)->get_Network(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetwork{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails::NetworkRegistrationStateChanges() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails::NetworkRegistrationStateChanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails)->get_NetworkRegistrationStateChanges(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco::Data() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco::Data() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPco)->get_Data(&result)); return winrt::Windows::Storage::Streams::IBuffer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco::IsComplete() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco::IsComplete() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPco)->get_IsComplete(&result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco::DeviceId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco::DeviceId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPco)->get_DeviceId(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPco) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPcoDataChangeTriggerDetails::UpdatedData() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPcoDataChangeTriggerDetails::UpdatedData() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPcoDataChangeTriggerDetails)->get_UpdatedData(&result)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandPco{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::Type() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::Type() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockState) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::LockState() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::LockState() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_LockState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinFormat) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::Format() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::Format() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_Format(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::Enabled() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::Enabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_Enabled(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::MaxLength() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::MaxLength() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_MaxLength(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::MinLength() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::MinLength() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_MinLength(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::AttemptsRemaining() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::AttemptsRemaining() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_AttemptsRemaining(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::EnableAsync(param::hstring const& currentPin) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::EnableAsync(param::hstring const& currentPin) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->EnableAsync(*(void**)(¤tPin), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::DisableAsync(param::hstring const& currentPin) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::DisableAsync(param::hstring const& currentPin) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->DisableAsync(*(void**)(¤tPin), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::EnterAsync(param::hstring const& currentPin) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::EnterAsync(param::hstring const& currentPin) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->EnterAsync(*(void**)(¤tPin), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::ChangeAsync(param::hstring const& currentPin, param::hstring const& newPin) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::ChangeAsync(param::hstring const& currentPin, param::hstring const& newPin) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->ChangeAsync(*(void**)(¤tPin), *(void**)(&newPin), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::UnblockAsync(param::hstring const& pinUnblockKey, param::hstring const& newPin) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin::UnblockAsync(param::hstring const& pinUnblockKey, param::hstring const& newPin) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->UnblockAsync(*(void**)(&pinUnblockKey), *(void**)(&newPin), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange::DeviceId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChange)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange::PinType() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange::PinType() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChange)->get_PinType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockState) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange::PinLockState() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange::PinLockState() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChange)->get_PinLockState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChangeTriggerDetails::PinLockStateChanges() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChangeTriggerDetails::PinLockStateChanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChangeTriggerDetails)->get_PinLockStateChanges(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinManager::SupportedPins() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinManager::SupportedPins() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinManager)->get_SupportedPins(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPin) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinManager::GetPin(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType const& pinType) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinManager::GetPin(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType const& pinType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinManager)->GetPin(static_cast(pinType), &value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandPin{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinOperationResult::IsSuccessful() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinOperationResult::IsSuccessful() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinOperationResult)->get_IsSuccessful(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinOperationResult::AttemptsRemaining() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinOperationResult::AttemptsRemaining() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinOperationResult)->get_AttemptsRemaining(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChange::DeviceId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChange::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChange)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioState) consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChange::RadioState() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChange::RadioState() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChange)->get_RadioState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChangeTriggerDetails::RadioStateChanges() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChangeTriggerDetails::RadioStateChanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChangeTriggerDetails)->get_RadioStateChanges(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::IsBackoffEnabled() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::IsBackoffEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->get_IsBackoffEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::IsWiFiHardwareIntegrated() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::IsWiFiHardwareIntegrated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->get_IsWiFiHardwareIntegrated(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::IsSarControlledByHardware() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::IsSarControlledByHardware() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->get_IsSarControlledByHardware(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::Antennas() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::Antennas() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->get_Antennas(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::HysteresisTimerPeriod() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::HysteresisTimerPeriod() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->get_HysteresisTimerPeriod(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::TransmissionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::TransmissionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->add_TransmissionStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::TransmissionStateChanged_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::TransmissionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::TransmissionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TransmissionStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::TransmissionStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::TransmissionStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->remove_TransmissionStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::EnableBackoffAsync() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::EnableBackoffAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->EnableBackoffAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::DisableBackoffAsync() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::DisableBackoffAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->DisableBackoffAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::SetConfigurationAsync(param::async_iterable const& antennas) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::SetConfigurationAsync(param::async_iterable const& antennas) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->SetConfigurationAsync(*(void**)(&antennas), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::RevertSarToHardwareControlAsync() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::RevertSarToHardwareControlAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->RevertSarToHardwareControlAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::SetTransmissionStateChangedHysteresisAsync(winrt::Windows::Foundation::TimeSpan const& timerPeriod) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::SetTransmissionStateChangedHysteresisAsync(winrt::Windows::Foundation::TimeSpan const& timerPeriod) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->SetTransmissionStateChangedHysteresisAsync(impl::bind_in(timerPeriod), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::GetIsTransmittingAsync() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::GetIsTransmittingAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->GetIsTransmittingAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::StartTransmissionStateMonitoring() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::StartTransmissionStateMonitoring() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->StartTransmissionStateMonitoring()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::StopTransmissionStateMonitoring() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager::StopTransmissionStateMonitoring() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->StopTransmissionStateMonitoring()); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo::Index() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo::Index() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo)->get_Index(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotState) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo::State() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo::State() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfoChangedEventArgs::SlotInfo() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfoChangedEventArgs::SlotInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs)->get_SlotInfo(&value)); return winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfos() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfos() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->get_SlotInfos(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndex() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->get_CurrentSlotIndex(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SetCurrentSlot(int32_t slotIndex) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SetCurrentSlot(int32_t slotIndex) const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->SetCurrentSlot(slotIndex, reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SetCurrentSlotAsync(int32_t slotIndex) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SetCurrentSlotAsync(int32_t slotIndex) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->SetCurrentSlotAsync(slotIndex, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->add_SlotInfoChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfoChanged_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SlotInfoChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfoChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfoChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->remove_SlotInfoChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndexChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndexChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->add_CurrentSlotIndexChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndexChanged_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CurrentSlotIndexChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndexChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndexChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->remove_CurrentSlotIndexChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandTransmissionStateChangedEventArgs::IsTransmitting() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandTransmissionStateChangedEventArgs::IsTransmitting() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs)->get_IsTransmitting(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUicc::SimIccId() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUicc::SimIccId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUicc)->get_SimIccId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUicc::GetUiccAppsAsync() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUicc::GetUiccAppsAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUicc)->GetUiccAppsAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp::Id() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp)->get_Id(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UiccAppKind) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp::Kind() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp::Kind() const { winrt::Windows::Networking::NetworkOperators::UiccAppKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp::GetRecordDetailsAsync(param::async_iterable const& uiccFilePath) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp::GetRecordDetailsAsync(param::async_iterable const& uiccFilePath) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp)->GetRecordDetailsAsync(*(void**)(&uiccFilePath), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp::ReadRecordAsync(param::async_iterable const& uiccFilePath, int32_t recordIndex) const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp::ReadRecordAsync(param::async_iterable const& uiccFilePath, int32_t recordIndex) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp)->ReadRecordAsync(*(void**)(&uiccFilePath), recordIndex, &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppReadRecordResult::Status() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppReadRecordResult::Status() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppReadRecordResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppReadRecordResult::Data() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppReadRecordResult::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppReadRecordResult)->get_Data(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::Status() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::Status() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UiccAppRecordKind) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::Kind() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::Kind() const { winrt::Windows::Networking::NetworkOperators::UiccAppRecordKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::RecordCount() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::RecordCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_RecordCount(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::RecordSize() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::RecordSize() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_RecordSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UiccAccessCondition) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::ReadAccessCondition() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::ReadAccessCondition() const { winrt::Windows::Networking::NetworkOperators::UiccAccessCondition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_ReadAccessCondition(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UiccAccessCondition) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::WriteAccessCondition() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult::WriteAccessCondition() const { winrt::Windows::Networking::NetworkOperators::UiccAccessCondition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_WriteAccessCondition(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppsResult::Status() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppsResult::Status() const { winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppsResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppsResult::UiccApps() const + template auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppsResult::UiccApps() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppsResult)->get_UiccApps(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorDataUsageNotificationKind) consume_Windows_Networking_NetworkOperators_INetworkOperatorDataUsageTriggerDetails::NotificationKind() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorDataUsageTriggerDetails::NotificationKind() const { winrt::Windows::Networking::NetworkOperators::NetworkOperatorDataUsageNotificationKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorDataUsageTriggerDetails)->get_NotificationKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorEventMessageType) consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::NotificationType() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::NotificationType() const { winrt::Windows::Networking::NetworkOperators::NetworkOperatorEventMessageType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails)->get_NotificationType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::NetworkAccountId() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::NetworkAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails)->get_NetworkAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::EncodingType() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::EncodingType() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails)->get_EncodingType(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::Message() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::RuleId() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::RuleId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails)->get_RuleId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::ISmsMessage) consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::SmsMessage() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails::SmsMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails)->get_SmsMessage(&value)); return winrt::Windows::Devices::Sms::ISmsMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration::Ssid() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration::Ssid() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration)->get_Ssid(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration::Ssid(param::hstring const& value) const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration::Ssid(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration)->put_Ssid(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration::Passphrase() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration::Passphrase() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration)->get_Passphrase(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration::Passphrase(param::hstring const& value) const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration::Passphrase(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration)->put_Passphrase(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2::IsBandSupported(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2::IsBandSupported(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration2)->IsBandSupported(static_cast(band), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2::IsBandSupportedAsync(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2::IsBandSupportedAsync(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration2)->IsBandSupportedAsync(static_cast(band), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2::Band() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2::Band() const { winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration2)->get_Band(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2::Band(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& value) const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2::Band(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration2)->put_Band(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClient::MacAddress() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClient::MacAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringClient)->get_MacAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClient::HostNames() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClient::HostNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringClient)->get_HostNames(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClientManager::GetTetheringClients() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClientManager::GetTetheringClients() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringClientManager)->GetTetheringClients(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringEntitlementCheck::AuthorizeTethering(bool allow, param::hstring const& entitlementFailureReason) const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringEntitlementCheck::AuthorizeTethering(bool allow, param::hstring const& entitlementFailureReason) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringEntitlementCheck)->AuthorizeTethering(allow, *(void**)(&entitlementFailureReason))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::MaxClientCount() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::MaxClientCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->get_MaxClientCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::ClientCount() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::ClientCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->get_ClientCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::TetheringOperationalState) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::TetheringOperationalState() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::TetheringOperationalState() const { winrt::Windows::Networking::NetworkOperators::TetheringOperationalState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->get_TetheringOperationalState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringAccessPointConfiguration) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::GetCurrentAccessPointConfiguration() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::GetCurrentAccessPointConfiguration() const { void* configuration{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->GetCurrentAccessPointConfiguration(&configuration)); return winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringAccessPointConfiguration{ configuration, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::ConfigureAccessPointAsync(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringAccessPointConfiguration const& configuration) const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::ConfigureAccessPointAsync(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringAccessPointConfiguration const& configuration) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->ConfigureAccessPointAsync(*(void**)(&configuration), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::StartTetheringAsync() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::StartTetheringAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->StartTetheringAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::StopTetheringAsync() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager::StopTetheringAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->StopTetheringAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::TetheringCapability) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics::GetTetheringCapability(param::hstring const& networkAccountId) const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics::GetTetheringCapability(param::hstring const& networkAccountId) const { winrt::Windows::Networking::NetworkOperators::TetheringCapability value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics)->GetTetheringCapability(*(void**)(&networkAccountId), reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringManager) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics::CreateFromNetworkAccountId(param::hstring const& networkAccountId) const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics::CreateFromNetworkAccountId(param::hstring const& networkAccountId) const { void* ppManager{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics)->CreateFromNetworkAccountId(*(void**)(&networkAccountId), &ppManager)); return winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringManager{ ppManager, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::TetheringCapability) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics2::GetTetheringCapabilityFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile) const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics2::GetTetheringCapabilityFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile) const { winrt::Windows::Networking::NetworkOperators::TetheringCapability result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics2)->GetTetheringCapabilityFromConnectionProfile(*(void**)(&profile), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringManager) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics2::CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile) const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics2::CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile) const { void* ppManager{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics2)->CreateFromConnectionProfile(*(void**)(&profile), &ppManager)); return winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringManager{ ppManager, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringManager) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics3::CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics3::CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const { void* ppManager{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics3)->CreateFromConnectionProfileWithTargetAdapter(*(void**)(&profile), *(void**)(&adapter), &ppManager)); return winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringManager{ ppManager, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4::IsNoConnectionsTimeoutEnabled() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4::IsNoConnectionsTimeoutEnabled() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics4)->IsNoConnectionsTimeoutEnabled(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4::EnableNoConnectionsTimeout() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4::EnableNoConnectionsTimeout() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics4)->EnableNoConnectionsTimeout()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4::EnableNoConnectionsTimeoutAsync() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4::EnableNoConnectionsTimeoutAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics4)->EnableNoConnectionsTimeoutAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4::DisableNoConnectionsTimeout() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4::DisableNoConnectionsTimeout() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics4)->DisableNoConnectionsTimeout()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4::DisableNoConnectionsTimeoutAsync() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4::DisableNoConnectionsTimeoutAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics4)->DisableNoConnectionsTimeoutAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::TetheringOperationStatus) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringOperationResult::Status() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringOperationResult::Status() const { winrt::Windows::Networking::NetworkOperators::TetheringOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringOperationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringOperationResult::AdditionalErrorMessage() const + template auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringOperationResult::AdditionalErrorMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringOperationResult)->get_AdditionalErrorMessage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IProvisionFromXmlDocumentResults::AllElementsProvisioned() const + template auto consume_Windows_Networking_NetworkOperators_IProvisionFromXmlDocumentResults::AllElementsProvisioned() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IProvisionFromXmlDocumentResults)->get_AllElementsProvisioned(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IProvisionFromXmlDocumentResults::ProvisionResultsXml() const + template auto consume_Windows_Networking_NetworkOperators_IProvisionFromXmlDocumentResults::ProvisionResultsXml() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IProvisionFromXmlDocumentResults)->get_ProvisionResultsXml(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IProvisionedProfile::UpdateCost(winrt::Windows::Networking::Connectivity::NetworkCostType const& value) const + template auto consume_Windows_Networking_NetworkOperators_IProvisionedProfile::UpdateCost(winrt::Windows::Networking::Connectivity::NetworkCostType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IProvisionedProfile)->UpdateCost(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IProvisionedProfile::UpdateUsage(winrt::Windows::Networking::NetworkOperators::ProfileUsage const& value) const + template auto consume_Windows_Networking_NetworkOperators_IProvisionedProfile::UpdateUsage(winrt::Windows::Networking::NetworkOperators::ProfileUsage const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IProvisionedProfile)->UpdateUsage(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IProvisioningAgent::ProvisionFromXmlDocumentAsync(param::hstring const& provisioningXmlDocument) const + template auto consume_Windows_Networking_NetworkOperators_IProvisioningAgent::ProvisionFromXmlDocumentAsync(param::hstring const& provisioningXmlDocument) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IProvisioningAgent)->ProvisionFromXmlDocumentAsync(*(void**)(&provisioningXmlDocument), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ProvisionedProfile) consume_Windows_Networking_NetworkOperators_IProvisioningAgent::GetProvisionedProfile(winrt::Windows::Networking::NetworkOperators::ProfileMediaType const& mediaType, param::hstring const& profileName) const + template auto consume_Windows_Networking_NetworkOperators_IProvisioningAgent::GetProvisionedProfile(winrt::Windows::Networking::NetworkOperators::ProfileMediaType const& mediaType, param::hstring const& profileName) const { void* provisionedProfile{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IProvisioningAgent)->GetProvisionedProfile(static_cast(mediaType), *(void**)(&profileName), &provisionedProfile)); return winrt::Windows::Networking::NetworkOperators::ProvisionedProfile{ provisionedProfile, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ProvisioningAgent) consume_Windows_Networking_NetworkOperators_IProvisioningAgentStaticMethods::CreateFromNetworkAccountId(param::hstring const& networkAccountId) const + template auto consume_Windows_Networking_NetworkOperators_IProvisioningAgentStaticMethods::CreateFromNetworkAccountId(param::hstring const& networkAccountId) const { void* provisioningAgent{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IProvisioningAgentStaticMethods)->CreateFromNetworkAccountId(*(void**)(&networkAccountId), &provisioningAgent)); return winrt::Windows::Networking::NetworkOperators::ProvisioningAgent{ provisioningAgent, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails::NetworkAccountId() const + template auto consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails::NetworkAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::ITetheringEntitlementCheckTriggerDetails)->get_NetworkAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails::AllowTethering() const + template auto consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails::AllowTethering() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::ITetheringEntitlementCheckTriggerDetails)->AllowTethering()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails::DenyTethering(param::hstring const& entitlementFailureReason) const + template auto consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails::DenyTethering(param::hstring const& entitlementFailureReason) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::ITetheringEntitlementCheckTriggerDetails)->DenyTethering(*(void**)(&entitlementFailureReason))); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Networking_NetworkOperators_IUssdMessage::DataCodingScheme() const + template auto consume_Windows_Networking_NetworkOperators_IUssdMessage::DataCodingScheme() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessage)->get_DataCodingScheme(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IUssdMessage::DataCodingScheme(uint8_t value) const + template auto consume_Windows_Networking_NetworkOperators_IUssdMessage::DataCodingScheme(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessage)->put_DataCodingScheme(value)); } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Networking_NetworkOperators_IUssdMessage::GetPayload() const + template auto consume_Windows_Networking_NetworkOperators_IUssdMessage::GetPayload() const { uint32_t value_impl_size{}; uint8_t* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessage)->GetPayload(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IUssdMessage::SetPayload(array_view value) const + template auto consume_Windows_Networking_NetworkOperators_IUssdMessage::SetPayload(array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessage)->SetPayload(value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IUssdMessage::PayloadAsText() const + template auto consume_Windows_Networking_NetworkOperators_IUssdMessage::PayloadAsText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessage)->get_PayloadAsText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IUssdMessage::PayloadAsText(param::hstring const& value) const + template auto consume_Windows_Networking_NetworkOperators_IUssdMessage::PayloadAsText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessage)->put_PayloadAsText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UssdMessage) consume_Windows_Networking_NetworkOperators_IUssdMessageFactory::CreateMessage(param::hstring const& messageText) const + template auto consume_Windows_Networking_NetworkOperators_IUssdMessageFactory::CreateMessage(param::hstring const& messageText) const { void* ussdMessage{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessageFactory)->CreateMessage(*(void**)(&messageText), &ussdMessage)); return winrt::Windows::Networking::NetworkOperators::UssdMessage{ ussdMessage, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UssdResultCode) consume_Windows_Networking_NetworkOperators_IUssdReply::ResultCode() const + template auto consume_Windows_Networking_NetworkOperators_IUssdReply::ResultCode() const { winrt::Windows::Networking::NetworkOperators::UssdResultCode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdReply)->get_ResultCode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UssdMessage) consume_Windows_Networking_NetworkOperators_IUssdReply::Message() const + template auto consume_Windows_Networking_NetworkOperators_IUssdReply::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdReply)->get_Message(&value)); return winrt::Windows::Networking::NetworkOperators::UssdMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IUssdSession::SendMessageAndGetReplyAsync(winrt::Windows::Networking::NetworkOperators::UssdMessage const& message) const + template auto consume_Windows_Networking_NetworkOperators_IUssdSession::SendMessageAndGetReplyAsync(winrt::Windows::Networking::NetworkOperators::UssdMessage const& message) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdSession)->SendMessageAndGetReplyAsync(*(void**)(&message), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IUssdSession::Close() const + template auto consume_Windows_Networking_NetworkOperators_IUssdSession::Close() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdSession)->Close()); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UssdSession) consume_Windows_Networking_NetworkOperators_IUssdSessionStatics::CreateFromNetworkAccountId(param::hstring const& networkAccountId) const + template auto consume_Windows_Networking_NetworkOperators_IUssdSessionStatics::CreateFromNetworkAccountId(param::hstring const& networkAccountId) const { void* ussdSession{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdSessionStatics)->CreateFromNetworkAccountId(*(void**)(&networkAccountId), &ussdSession)); return winrt::Windows::Networking::NetworkOperators::UssdSession{ ussdSession, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UssdSession) consume_Windows_Networking_NetworkOperators_IUssdSessionStatics::CreateFromNetworkInterfaceId(param::hstring const& networkInterfaceId) const + template auto consume_Windows_Networking_NetworkOperators_IUssdSessionStatics::CreateFromNetworkInterfaceId(param::hstring const& networkInterfaceId) const { void* ussdSession{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdSessionStatics)->CreateFromNetworkInterfaceId(*(void**)(&networkInterfaceId), &ussdSession)); @@ -6332,10 +6332,10 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators { return impl::call_factory([&](IESimManagerStatics const& f) { return f.ServiceInfoChanged(handler); }); } - inline ESimManager::ServiceInfoChanged_revoker ESimManager::ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto ESimManager::ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.ServiceInfoChanged(handler) }; + return ESimManager::ServiceInfoChanged_revoker{ f, f.ServiceInfoChanged(handler) }; } inline auto ESimManager::ServiceInfoChanged(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Proximity.h b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Proximity.h index 48bd0f53..e8b48d96 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Proximity.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Proximity.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_Proximity_H #define WINRT_Windows_Networking_Proximity_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Networking.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,407 +15,407 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Networking.Proximity.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::PeerInformation) consume_Windows_Networking_Proximity_IConnectionRequestedEventArgs::PeerInformation() const + template auto consume_Windows_Networking_Proximity_IConnectionRequestedEventArgs::PeerInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IConnectionRequestedEventArgs)->get_PeerInformation(&value)); return winrt::Windows::Networking::Proximity::PeerInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Proximity_IPeerFinderStatics::AllowBluetooth() const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::AllowBluetooth() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->get_AllowBluetooth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics::AllowBluetooth(bool value) const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::AllowBluetooth(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->put_AllowBluetooth(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Proximity_IPeerFinderStatics::AllowInfrastructure() const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::AllowInfrastructure() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->get_AllowInfrastructure(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics::AllowInfrastructure(bool value) const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::AllowInfrastructure(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->put_AllowInfrastructure(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Proximity_IPeerFinderStatics::AllowWiFiDirect() const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::AllowWiFiDirect() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->get_AllowWiFiDirect(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics::AllowWiFiDirect(bool value) const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::AllowWiFiDirect(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->put_AllowWiFiDirect(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Proximity_IPeerFinderStatics::DisplayName() const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics::DisplayName(param::hstring const& value) const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::PeerDiscoveryTypes) consume_Windows_Networking_Proximity_IPeerFinderStatics::SupportedDiscoveryTypes() const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::SupportedDiscoveryTypes() const { winrt::Windows::Networking::Proximity::PeerDiscoveryTypes value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->get_SupportedDiscoveryTypes(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Networking_Proximity_IPeerFinderStatics::AlternateIdentities() const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::AlternateIdentities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->get_AlternateIdentities(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics::Start() const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics::Start(param::hstring const& peerMessage) const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::Start(param::hstring const& peerMessage) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->StartWithMessage(*(void**)(&peerMessage))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics::Stop() const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->Stop()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IPeerFinderStatics::TriggeredConnectionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::TriggeredConnectionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->add_TriggeredConnectionStateChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Networking_Proximity_IPeerFinderStatics::TriggeredConnectionStateChanged_revoker consume_Windows_Networking_Proximity_IPeerFinderStatics::TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TriggeredConnectionStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics::TriggeredConnectionStateChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::TriggeredConnectionStateChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->remove_TriggeredConnectionStateChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IPeerFinderStatics::ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->add_ConnectionRequested(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Networking_Proximity_IPeerFinderStatics::ConnectionRequested_revoker consume_Windows_Networking_Proximity_IPeerFinderStatics::ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ConnectionRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics::ConnectionRequested(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::ConnectionRequested(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->remove_ConnectionRequested(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_Proximity_IPeerFinderStatics::FindAllPeersAsync() const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::FindAllPeersAsync() const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->FindAllPeersAsync(&asyncOp)); return winrt::Windows::Foundation::IAsyncOperation>{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Proximity_IPeerFinderStatics::ConnectAsync(winrt::Windows::Networking::Proximity::PeerInformation const& peerInformation) const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics::ConnectAsync(winrt::Windows::Networking::Proximity::PeerInformation const& peerInformation) const { void* asyncOp{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->ConnectAsync(*(void**)(&peerInformation), &asyncOp)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOp, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::PeerRole) consume_Windows_Networking_Proximity_IPeerFinderStatics2::Role() const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics2::Role() const { winrt::Windows::Networking::Proximity::PeerRole value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics2)->get_Role(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics2::Role(winrt::Windows::Networking::Proximity::PeerRole const& value) const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics2::Role(winrt::Windows::Networking::Proximity::PeerRole const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics2)->put_Role(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_Proximity_IPeerFinderStatics2::DiscoveryData() const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics2::DiscoveryData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics2)->get_DiscoveryData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics2::DiscoveryData(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics2::DiscoveryData(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics2)->put_DiscoveryData(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::PeerWatcher) consume_Windows_Networking_Proximity_IPeerFinderStatics2::CreateWatcher() const + template auto consume_Windows_Networking_Proximity_IPeerFinderStatics2::CreateWatcher() const { void* watcher{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics2)->CreateWatcher(&watcher)); return winrt::Windows::Networking::Proximity::PeerWatcher{ watcher, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Proximity_IPeerInformation::DisplayName() const + template auto consume_Windows_Networking_Proximity_IPeerInformation::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerInformation)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Proximity_IPeerInformation3::Id() const + template auto consume_Windows_Networking_Proximity_IPeerInformation3::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerInformation3)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_Proximity_IPeerInformation3::DiscoveryData() const + template auto consume_Windows_Networking_Proximity_IPeerInformation3::DiscoveryData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerInformation3)->get_DiscoveryData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Proximity_IPeerInformationWithHostAndService::HostName() const + template auto consume_Windows_Networking_Proximity_IPeerInformationWithHostAndService::HostName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerInformationWithHostAndService)->get_HostName(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Proximity_IPeerInformationWithHostAndService::ServiceName() const + template auto consume_Windows_Networking_Proximity_IPeerInformationWithHostAndService::ServiceName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerInformationWithHostAndService)->get_ServiceName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IPeerWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Proximity_IPeerWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->add_Added(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_Proximity_IPeerWatcher::Added_revoker consume_Windows_Networking_Proximity_IPeerWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Proximity_IPeerWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Added(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerWatcher::Added(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_Proximity_IPeerWatcher::Added(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->remove_Added(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IPeerWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Proximity_IPeerWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->add_Removed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_Proximity_IPeerWatcher::Removed_revoker consume_Windows_Networking_Proximity_IPeerWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Proximity_IPeerWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Removed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerWatcher::Removed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_Proximity_IPeerWatcher::Removed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->remove_Removed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IPeerWatcher::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Proximity_IPeerWatcher::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->add_Updated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_Proximity_IPeerWatcher::Updated_revoker consume_Windows_Networking_Proximity_IPeerWatcher::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Proximity_IPeerWatcher::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Updated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerWatcher::Updated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_Proximity_IPeerWatcher::Updated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->remove_Updated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IPeerWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Proximity_IPeerWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_Proximity_IPeerWatcher::EnumerationCompleted_revoker consume_Windows_Networking_Proximity_IPeerWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Proximity_IPeerWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_Proximity_IPeerWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->remove_EnumerationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IPeerWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Proximity_IPeerWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->add_Stopped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_Proximity_IPeerWatcher::Stopped_revoker consume_Windows_Networking_Proximity_IPeerWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Proximity_IPeerWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerWatcher::Stopped(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_Proximity_IPeerWatcher::Stopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->remove_Stopped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::PeerWatcherStatus) consume_Windows_Networking_Proximity_IPeerWatcher::Status() const + template auto consume_Windows_Networking_Proximity_IPeerWatcher::Status() const { winrt::Windows::Networking::Proximity::PeerWatcherStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->get_Status(reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerWatcher::Start() const + template auto consume_Windows_Networking_Proximity_IPeerWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerWatcher::Stop() const + template auto consume_Windows_Networking_Proximity_IPeerWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->Stop()); } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_Networking_Proximity_IProximityDevice::SubscribeForMessage(param::hstring const& messageType, winrt::Windows::Networking::Proximity::MessageReceivedHandler const& messageReceivedHandler) const + template auto consume_Windows_Networking_Proximity_IProximityDevice::SubscribeForMessage(param::hstring const& messageType, winrt::Windows::Networking::Proximity::MessageReceivedHandler const& messageReceivedHandler) const { int64_t subscriptionId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->SubscribeForMessage(*(void**)(&messageType), *(void**)(&messageReceivedHandler), &subscriptionId)); return subscriptionId; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_Networking_Proximity_IProximityDevice::PublishMessage(param::hstring const& messageType, param::hstring const& message) const + template auto consume_Windows_Networking_Proximity_IProximityDevice::PublishMessage(param::hstring const& messageType, param::hstring const& message) const { int64_t messageId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->PublishMessage(*(void**)(&messageType), *(void**)(&message), &messageId)); return messageId; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_Networking_Proximity_IProximityDevice::PublishMessage(param::hstring const& messageType, param::hstring const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const + template auto consume_Windows_Networking_Proximity_IProximityDevice::PublishMessage(param::hstring const& messageType, param::hstring const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const { int64_t messageId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->PublishMessageWithCallback(*(void**)(&messageType), *(void**)(&message), *(void**)(&messageTransmittedHandler), &messageId)); return messageId; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_Networking_Proximity_IProximityDevice::PublishBinaryMessage(param::hstring const& messageType, winrt::Windows::Storage::Streams::IBuffer const& message) const + template auto consume_Windows_Networking_Proximity_IProximityDevice::PublishBinaryMessage(param::hstring const& messageType, winrt::Windows::Storage::Streams::IBuffer const& message) const { int64_t messageId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->PublishBinaryMessage(*(void**)(&messageType), *(void**)(&message), &messageId)); return messageId; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_Networking_Proximity_IProximityDevice::PublishBinaryMessage(param::hstring const& messageType, winrt::Windows::Storage::Streams::IBuffer const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const + template auto consume_Windows_Networking_Proximity_IProximityDevice::PublishBinaryMessage(param::hstring const& messageType, winrt::Windows::Storage::Streams::IBuffer const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const { int64_t messageId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->PublishBinaryMessageWithCallback(*(void**)(&messageType), *(void**)(&message), *(void**)(&messageTransmittedHandler), &messageId)); return messageId; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_Networking_Proximity_IProximityDevice::PublishUriMessage(winrt::Windows::Foundation::Uri const& message) const + template auto consume_Windows_Networking_Proximity_IProximityDevice::PublishUriMessage(winrt::Windows::Foundation::Uri const& message) const { int64_t messageId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->PublishUriMessage(*(void**)(&message), &messageId)); return messageId; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_Networking_Proximity_IProximityDevice::PublishUriMessage(winrt::Windows::Foundation::Uri const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const + template auto consume_Windows_Networking_Proximity_IProximityDevice::PublishUriMessage(winrt::Windows::Foundation::Uri const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const { int64_t messageId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->PublishUriMessageWithCallback(*(void**)(&message), *(void**)(&messageTransmittedHandler), &messageId)); return messageId; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IProximityDevice::StopSubscribingForMessage(int64_t subscriptionId) const + template auto consume_Windows_Networking_Proximity_IProximityDevice::StopSubscribingForMessage(int64_t subscriptionId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->StopSubscribingForMessage(subscriptionId)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IProximityDevice::StopPublishingMessage(int64_t messageId) const + template auto consume_Windows_Networking_Proximity_IProximityDevice::StopPublishingMessage(int64_t messageId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->StopPublishingMessage(messageId)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IProximityDevice::DeviceArrived(winrt::Windows::Networking::Proximity::DeviceArrivedEventHandler const& arrivedHandler) const + template auto consume_Windows_Networking_Proximity_IProximityDevice::DeviceArrived(winrt::Windows::Networking::Proximity::DeviceArrivedEventHandler const& arrivedHandler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->add_DeviceArrived(*(void**)(&arrivedHandler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Networking_Proximity_IProximityDevice::DeviceArrived_revoker consume_Windows_Networking_Proximity_IProximityDevice::DeviceArrived(auto_revoke_t, winrt::Windows::Networking::Proximity::DeviceArrivedEventHandler const& arrivedHandler) const + template auto consume_Windows_Networking_Proximity_IProximityDevice::DeviceArrived(auto_revoke_t, winrt::Windows::Networking::Proximity::DeviceArrivedEventHandler const& arrivedHandler) const { return impl::make_event_revoker(this, DeviceArrived(arrivedHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IProximityDevice::DeviceArrived(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Networking_Proximity_IProximityDevice::DeviceArrived(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->remove_DeviceArrived(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IProximityDevice::DeviceDeparted(winrt::Windows::Networking::Proximity::DeviceDepartedEventHandler const& departedHandler) const + template auto consume_Windows_Networking_Proximity_IProximityDevice::DeviceDeparted(winrt::Windows::Networking::Proximity::DeviceDepartedEventHandler const& departedHandler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->add_DeviceDeparted(*(void**)(&departedHandler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Networking_Proximity_IProximityDevice::DeviceDeparted_revoker consume_Windows_Networking_Proximity_IProximityDevice::DeviceDeparted(auto_revoke_t, winrt::Windows::Networking::Proximity::DeviceDepartedEventHandler const& departedHandler) const + template auto consume_Windows_Networking_Proximity_IProximityDevice::DeviceDeparted(auto_revoke_t, winrt::Windows::Networking::Proximity::DeviceDepartedEventHandler const& departedHandler) const { return impl::make_event_revoker(this, DeviceDeparted(departedHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IProximityDevice::DeviceDeparted(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Networking_Proximity_IProximityDevice::DeviceDeparted(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->remove_DeviceDeparted(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Proximity_IProximityDevice::MaxMessageBytes() const + template auto consume_Windows_Networking_Proximity_IProximityDevice::MaxMessageBytes() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->get_MaxMessageBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Proximity_IProximityDevice::BitsPerSecond() const + template auto consume_Windows_Networking_Proximity_IProximityDevice::BitsPerSecond() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->get_BitsPerSecond(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Proximity_IProximityDevice::DeviceId() const + template auto consume_Windows_Networking_Proximity_IProximityDevice::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Proximity_IProximityDeviceStatics::GetDeviceSelector() const + template auto consume_Windows_Networking_Proximity_IProximityDeviceStatics::GetDeviceSelector() const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDeviceStatics)->GetDeviceSelector(&selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::ProximityDevice) consume_Windows_Networking_Proximity_IProximityDeviceStatics::GetDefault() const + template auto consume_Windows_Networking_Proximity_IProximityDeviceStatics::GetDefault() const { void* proximityDevice{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDeviceStatics)->GetDefault(&proximityDevice)); return winrt::Windows::Networking::Proximity::ProximityDevice{ proximityDevice, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::ProximityDevice) consume_Windows_Networking_Proximity_IProximityDeviceStatics::FromId(param::hstring const& deviceId) const + template auto consume_Windows_Networking_Proximity_IProximityDeviceStatics::FromId(param::hstring const& deviceId) const { void* proximityDevice{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDeviceStatics)->FromId(*(void**)(&deviceId), &proximityDevice)); return winrt::Windows::Networking::Proximity::ProximityDevice{ proximityDevice, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Proximity_IProximityMessage::MessageType() const + template auto consume_Windows_Networking_Proximity_IProximityMessage::MessageType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityMessage)->get_MessageType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_Networking_Proximity_IProximityMessage::SubscriptionId() const + template auto consume_Windows_Networking_Proximity_IProximityMessage::SubscriptionId() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityMessage)->get_SubscriptionId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_Proximity_IProximityMessage::Data() const + template auto consume_Windows_Networking_Proximity_IProximityMessage::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityMessage)->get_Data(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Proximity_IProximityMessage::DataAsString() const + template auto consume_Windows_Networking_Proximity_IProximityMessage::DataAsString() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityMessage)->get_DataAsString(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::TriggeredConnectState) consume_Windows_Networking_Proximity_ITriggeredConnectionStateChangedEventArgs::State() const + template auto consume_Windows_Networking_Proximity_ITriggeredConnectionStateChangedEventArgs::State() const { winrt::Windows::Networking::Proximity::TriggeredConnectState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::ITriggeredConnectionStateChangedEventArgs)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Proximity_ITriggeredConnectionStateChangedEventArgs::Id() const + template auto consume_Windows_Networking_Proximity_ITriggeredConnectionStateChangedEventArgs::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::ITriggeredConnectionStateChangedEventArgs)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocket) consume_Windows_Networking_Proximity_ITriggeredConnectionStateChangedEventArgs::Socket() const + template auto consume_Windows_Networking_Proximity_ITriggeredConnectionStateChangedEventArgs::Socket() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::ITriggeredConnectionStateChangedEventArgs)->get_Socket(&value)); @@ -1124,10 +1124,10 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Proximity { return impl::call_factory([&](IPeerFinderStatics const& f) { return f.TriggeredConnectionStateChanged(handler); }); } - inline PeerFinder::TriggeredConnectionStateChanged_revoker PeerFinder::TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) + inline auto PeerFinder::TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.TriggeredConnectionStateChanged(handler) }; + return PeerFinder::TriggeredConnectionStateChanged_revoker{ f, f.TriggeredConnectionStateChanged(handler) }; } inline auto PeerFinder::TriggeredConnectionStateChanged(winrt::event_token const& cookie) { @@ -1137,10 +1137,10 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Proximity { return impl::call_factory([&](IPeerFinderStatics const& f) { return f.ConnectionRequested(handler); }); } - inline PeerFinder::ConnectionRequested_revoker PeerFinder::ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) + inline auto PeerFinder::ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.ConnectionRequested(handler) }; + return PeerFinder::ConnectionRequested_revoker{ f, f.ConnectionRequested(handler) }; } inline auto PeerFinder::ConnectionRequested(winrt::event_token const& cookie) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.PushNotifications.h b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.PushNotifications.h index 7a43c9ca..617506b3 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.PushNotifications.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.PushNotifications.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_PushNotifications_H #define WINRT_Windows_Networking_PushNotifications_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Networking.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,175 +15,175 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Networking.PushNotifications.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_PushNotifications_IPushNotificationChannel::Uri() const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannel::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannel)->get_Uri(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Networking_PushNotifications_IPushNotificationChannel::ExpirationTime() const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannel::ExpirationTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannel)->get_ExpirationTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_PushNotifications_IPushNotificationChannel::Close() const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannel::Close() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannel)->Close()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_PushNotifications_IPushNotificationChannel::PushNotificationReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannel::PushNotificationReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannel)->add_PushNotificationReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_PushNotifications_IPushNotificationChannel::PushNotificationReceived_revoker consume_Windows_Networking_PushNotifications_IPushNotificationChannel::PushNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannel::PushNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PushNotificationReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_PushNotifications_IPushNotificationChannel::PushNotificationReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannel::PushNotificationReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannel)->remove_PushNotificationReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser::CreatePushNotificationChannelForApplicationAsync() const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser::CreatePushNotificationChannelForApplicationAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerForUser)->CreatePushNotificationChannelForApplicationAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser::CreatePushNotificationChannelForApplicationAsync(param::hstring const& applicationId) const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser::CreatePushNotificationChannelForApplicationAsync(param::hstring const& applicationId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerForUser)->CreatePushNotificationChannelForApplicationAsyncWithId(*(void**)(&applicationId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser::CreatePushNotificationChannelForSecondaryTileAsync(param::hstring const& tileId) const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser::CreatePushNotificationChannelForSecondaryTileAsync(param::hstring const& tileId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerForUser)->CreatePushNotificationChannelForSecondaryTileAsync(*(void**)(&tileId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser::User() const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerForUser)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser2::CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(winrt::Windows::Storage::Streams::IBuffer const& appServerKey, param::hstring const& channelId) const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser2::CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(winrt::Windows::Storage::Streams::IBuffer const& appServerKey, param::hstring const& channelId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerForUser2)->CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(*(void**)(&appServerKey), *(void**)(&channelId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser2::CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(winrt::Windows::Storage::Streams::IBuffer const& appServerKey, param::hstring const& channelId, param::hstring const& appId) const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser2::CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(winrt::Windows::Storage::Streams::IBuffer const& appServerKey, param::hstring const& channelId, param::hstring const& appId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerForUser2)->CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsyncWithId(*(void**)(&appServerKey), *(void**)(&channelId), *(void**)(&appId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics::CreatePushNotificationChannelForApplicationAsync() const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics::CreatePushNotificationChannelForApplicationAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics)->CreatePushNotificationChannelForApplicationAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics::CreatePushNotificationChannelForApplicationAsync(param::hstring const& applicationId) const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics::CreatePushNotificationChannelForApplicationAsync(param::hstring const& applicationId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics)->CreatePushNotificationChannelForApplicationAsyncWithId(*(void**)(&applicationId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics::CreatePushNotificationChannelForSecondaryTileAsync(param::hstring const& tileId) const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics::CreatePushNotificationChannelForSecondaryTileAsync(param::hstring const& tileId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics)->CreatePushNotificationChannelForSecondaryTileAsync(*(void**)(&tileId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::PushNotifications::PushNotificationChannelManagerForUser) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics2::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics2::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics2)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::Networking::PushNotifications::PushNotificationChannelManagerForUser{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::PushNotifications::PushNotificationChannelManagerForUser) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics3::GetDefault() const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics3::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics3)->GetDefault(&result)); return winrt::Windows::Networking::PushNotifications::PushNotificationChannelManagerForUser{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4::ChannelsRevoked(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4::ChannelsRevoked(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics4)->add_ChannelsRevoked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4::ChannelsRevoked_revoker consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4::ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4::ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, ChannelsRevoked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4::ChannelsRevoked(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4::ChannelsRevoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics4)->remove_ChannelsRevoked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs::Cancel(bool value) const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationReceivedEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs::Cancel() const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationReceivedEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::PushNotifications::PushNotificationType) consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs::NotificationType() const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs::NotificationType() const { winrt::Windows::Networking::PushNotifications::PushNotificationType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationReceivedEventArgs)->get_NotificationType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs::ToastNotification() const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs::ToastNotification() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationReceivedEventArgs)->get_ToastNotification(&value)); return winrt::Windows::UI::Notifications::ToastNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs::TileNotification() const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs::TileNotification() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationReceivedEventArgs)->get_TileNotification(&value)); return winrt::Windows::UI::Notifications::TileNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeNotification) consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs::BadgeNotification() const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs::BadgeNotification() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationReceivedEventArgs)->get_BadgeNotification(&value)); return winrt::Windows::UI::Notifications::BadgeNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::PushNotifications::RawNotification) consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs::RawNotification() const + template auto consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs::RawNotification() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationReceivedEventArgs)->get_RawNotification(&value)); return winrt::Windows::Networking::PushNotifications::RawNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_PushNotifications_IRawNotification::Content() const + template auto consume_Windows_Networking_PushNotifications_IRawNotification::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IRawNotification)->get_Content(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Networking_PushNotifications_IRawNotification2::Headers() const + template auto consume_Windows_Networking_PushNotifications_IRawNotification2::Headers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IRawNotification2)->get_Headers(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_PushNotifications_IRawNotification2::ChannelId() const + template auto consume_Windows_Networking_PushNotifications_IRawNotification2::ChannelId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IRawNotification2)->get_ChannelId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_PushNotifications_IRawNotification3::ContentBytes() const + template auto consume_Windows_Networking_PushNotifications_IRawNotification3::ContentBytes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IRawNotification3)->get_ContentBytes(&value)); @@ -512,10 +512,10 @@ WINRT_EXPORT namespace winrt::Windows::Networking::PushNotifications { return impl::call_factory([&](IPushNotificationChannelManagerStatics4 const& f) { return f.ChannelsRevoked(handler); }); } - inline PushNotificationChannelManager::ChannelsRevoked_revoker PushNotificationChannelManager::ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto PushNotificationChannelManager::ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.ChannelsRevoked(handler) }; + return PushNotificationChannelManager::ChannelsRevoked_revoker{ f, f.ChannelsRevoked(handler) }; } inline auto PushNotificationChannelManager::ChannelsRevoked(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.ServiceDiscovery.Dnssd.h b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.ServiceDiscovery.Dnssd.h index edf46901..cb692878 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.ServiceDiscovery.Dnssd.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.ServiceDiscovery.Dnssd.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_ServiceDiscovery_Dnssd_H #define WINRT_Windows_Networking_ServiceDiscovery_Dnssd_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Networking.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,163 +15,163 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationStatus) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdRegistrationResult::Status() const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdRegistrationResult::Status() const { winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdRegistrationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdRegistrationResult::IPAddress() const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdRegistrationResult::IPAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdRegistrationResult)->get_IPAddress(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdRegistrationResult::HasInstanceNameChanged() const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdRegistrationResult::HasInstanceNameChanged() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdRegistrationResult)->get_HasInstanceNameChanged(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::DnssdServiceInstanceName() const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::DnssdServiceInstanceName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->get_DnssdServiceInstanceName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::DnssdServiceInstanceName(param::hstring const& value) const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::DnssdServiceInstanceName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->put_DnssdServiceInstanceName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::HostName() const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::HostName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->get_HostName(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::HostName(winrt::Windows::Networking::HostName const& value) const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::HostName(winrt::Windows::Networking::HostName const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->put_HostName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::Port() const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::Port() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->get_Port(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::Port(uint16_t value) const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::Port(uint16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->put_Port(value)); } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::Priority() const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::Priority() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->get_Priority(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::Priority(uint16_t value) const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::Priority(uint16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->put_Priority(value)); } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::Weight() const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::Weight() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->get_Weight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::Weight(uint16_t value) const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::Weight(uint16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->put_Weight(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::TextAttributes() const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::TextAttributes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->get_TextAttributes(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::RegisterStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& socket) const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::RegisterStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& socket) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->RegisterStreamSocketListenerAsync1(*(void**)(&socket), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::RegisterStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& socket, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::RegisterStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& socket, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->RegisterStreamSocketListenerAsync2(*(void**)(&socket), *(void**)(&adapter), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::RegisterDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& socket) const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::RegisterDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& socket) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->RegisterDatagramSocketAsync1(*(void**)(&socket), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::RegisterDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& socket, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance::RegisterDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& socket, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->RegisterDatagramSocketAsync2(*(void**)(&socket), *(void**)(&adapter), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceInstance) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstanceFactory::Create(param::hstring const& dnssdServiceInstanceName, winrt::Windows::Networking::HostName const& hostName, uint16_t port) const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstanceFactory::Create(param::hstring const& dnssdServiceInstanceName, winrt::Windows::Networking::HostName const& hostName, uint16_t port) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstanceFactory)->Create(*(void**)(&dnssdServiceInstanceName), *(void**)(&hostName), port, &result)); return winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceInstance{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher)->add_Added(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Added_revoker consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Added(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Added(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Added(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher)->remove_Added(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::EnumerationCompleted_revoker consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher)->remove_EnumerationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher)->add_Stopped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Stopped_revoker consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Stopped(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Stopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher)->remove_Stopped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcherStatus) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Status() const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Status() const { winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcherStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher)->get_Status(reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Start() const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Stop() const + template auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher)->Stop()); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Sockets.h b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Sockets.h index c2b3e86f..092397cf 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Sockets.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Sockets.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_Sockets_H #define WINRT_Windows_Networking_Sockets_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Networking.h" #include "winrt/impl/Windows.ApplicationModel.Background.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -19,1303 +19,1303 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Networking.Sockets.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IControlChannelTrigger::ControlChannelTriggerId() const + template auto consume_Windows_Networking_Sockets_IControlChannelTrigger::ControlChannelTriggerId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->get_ControlChannelTriggerId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Sockets_IControlChannelTrigger::ServerKeepAliveIntervalInMinutes() const + template auto consume_Windows_Networking_Sockets_IControlChannelTrigger::ServerKeepAliveIntervalInMinutes() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->get_ServerKeepAliveIntervalInMinutes(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IControlChannelTrigger::ServerKeepAliveIntervalInMinutes(uint32_t value) const + template auto consume_Windows_Networking_Sockets_IControlChannelTrigger::ServerKeepAliveIntervalInMinutes(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->put_ServerKeepAliveIntervalInMinutes(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Sockets_IControlChannelTrigger::CurrentKeepAliveIntervalInMinutes() const + template auto consume_Windows_Networking_Sockets_IControlChannelTrigger::CurrentKeepAliveIntervalInMinutes() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->get_CurrentKeepAliveIntervalInMinutes(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Networking_Sockets_IControlChannelTrigger::TransportObject() const + template auto consume_Windows_Networking_Sockets_IControlChannelTrigger::TransportObject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->get_TransportObject(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger) consume_Windows_Networking_Sockets_IControlChannelTrigger::KeepAliveTrigger() const + template auto consume_Windows_Networking_Sockets_IControlChannelTrigger::KeepAliveTrigger() const { void* trigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->get_KeepAliveTrigger(&trigger)); return winrt::Windows::ApplicationModel::Background::IBackgroundTrigger{ trigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger) consume_Windows_Networking_Sockets_IControlChannelTrigger::PushNotificationTrigger() const + template auto consume_Windows_Networking_Sockets_IControlChannelTrigger::PushNotificationTrigger() const { void* trigger{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->get_PushNotificationTrigger(&trigger)); return winrt::Windows::ApplicationModel::Background::IBackgroundTrigger{ trigger, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IControlChannelTrigger::UsingTransport(winrt::Windows::Foundation::IInspectable const& transport) const + template auto consume_Windows_Networking_Sockets_IControlChannelTrigger::UsingTransport(winrt::Windows::Foundation::IInspectable const& transport) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->UsingTransport(*(void**)(&transport))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTriggerStatus) consume_Windows_Networking_Sockets_IControlChannelTrigger::WaitForPushEnabled() const + template auto consume_Windows_Networking_Sockets_IControlChannelTrigger::WaitForPushEnabled() const { winrt::Windows::Networking::Sockets::ControlChannelTriggerStatus channelTriggerStatus{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->WaitForPushEnabled(reinterpret_cast(&channelTriggerStatus))); return channelTriggerStatus; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IControlChannelTrigger::DecreaseNetworkKeepAliveInterval() const + template auto consume_Windows_Networking_Sockets_IControlChannelTrigger::DecreaseNetworkKeepAliveInterval() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->DecreaseNetworkKeepAliveInterval()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IControlChannelTrigger::FlushTransport() const + template auto consume_Windows_Networking_Sockets_IControlChannelTrigger::FlushTransport() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->FlushTransport()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IControlChannelTrigger2::IsWakeFromLowPowerSupported() const + template auto consume_Windows_Networking_Sockets_IControlChannelTrigger2::IsWakeFromLowPowerSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger2)->get_IsWakeFromLowPowerSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTrigger) consume_Windows_Networking_Sockets_IControlChannelTriggerEventDetails::ControlChannelTrigger() const + template auto consume_Windows_Networking_Sockets_IControlChannelTriggerEventDetails::ControlChannelTrigger() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTriggerEventDetails)->get_ControlChannelTrigger(&value)); return winrt::Windows::Networking::Sockets::ControlChannelTrigger{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTrigger) consume_Windows_Networking_Sockets_IControlChannelTriggerFactory::CreateControlChannelTrigger(param::hstring const& channelId, uint32_t serverKeepAliveIntervalInMinutes) const + template auto consume_Windows_Networking_Sockets_IControlChannelTriggerFactory::CreateControlChannelTrigger(param::hstring const& channelId, uint32_t serverKeepAliveIntervalInMinutes) const { void* notificationChannel{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTriggerFactory)->CreateControlChannelTrigger(*(void**)(&channelId), serverKeepAliveIntervalInMinutes, ¬ificationChannel)); return winrt::Windows::Networking::Sockets::ControlChannelTrigger{ notificationChannel, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTrigger) consume_Windows_Networking_Sockets_IControlChannelTriggerFactory::CreateControlChannelTriggerEx(param::hstring const& channelId, uint32_t serverKeepAliveIntervalInMinutes, winrt::Windows::Networking::Sockets::ControlChannelTriggerResourceType const& resourceRequestType) const + template auto consume_Windows_Networking_Sockets_IControlChannelTriggerFactory::CreateControlChannelTriggerEx(param::hstring const& channelId, uint32_t serverKeepAliveIntervalInMinutes, winrt::Windows::Networking::Sockets::ControlChannelTriggerResourceType const& resourceRequestType) const { void* notificationChannel{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTriggerFactory)->CreateControlChannelTriggerEx(*(void**)(&channelId), serverKeepAliveIntervalInMinutes, static_cast(resourceRequestType), ¬ificationChannel)); return winrt::Windows::Networking::Sockets::ControlChannelTrigger{ notificationChannel, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTriggerResetReason) consume_Windows_Networking_Sockets_IControlChannelTriggerResetEventDetails::ResetReason() const + template auto consume_Windows_Networking_Sockets_IControlChannelTriggerResetEventDetails::ResetReason() const { winrt::Windows::Networking::Sockets::ControlChannelTriggerResetReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTriggerResetEventDetails)->get_ResetReason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IControlChannelTriggerResetEventDetails::HardwareSlotReset() const + template auto consume_Windows_Networking_Sockets_IControlChannelTriggerResetEventDetails::HardwareSlotReset() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTriggerResetEventDetails)->get_HardwareSlotReset(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IControlChannelTriggerResetEventDetails::SoftwareSlotReset() const + template auto consume_Windows_Networking_Sockets_IControlChannelTriggerResetEventDetails::SoftwareSlotReset() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTriggerResetEventDetails)->get_SoftwareSlotReset(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::DatagramSocketControl) consume_Windows_Networking_Sockets_IDatagramSocket::Control() const + template auto consume_Windows_Networking_Sockets_IDatagramSocket::Control() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket)->get_Control(&value)); return winrt::Windows::Networking::Sockets::DatagramSocketControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::DatagramSocketInformation) consume_Windows_Networking_Sockets_IDatagramSocket::Information() const + template auto consume_Windows_Networking_Sockets_IDatagramSocket::Information() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket)->get_Information(&value)); return winrt::Windows::Networking::Sockets::DatagramSocketInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Networking_Sockets_IDatagramSocket::OutputStream() const + template auto consume_Windows_Networking_Sockets_IDatagramSocket::OutputStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket)->get_OutputStream(&value)); return winrt::Windows::Storage::Streams::IOutputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IDatagramSocket::ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const + template auto consume_Windows_Networking_Sockets_IDatagramSocket::ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket)->ConnectAsync(*(void**)(&remoteHostName), *(void**)(&remoteServiceName), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IDatagramSocket::ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const + template auto consume_Windows_Networking_Sockets_IDatagramSocket::ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket)->ConnectWithEndpointPairAsync(*(void**)(&endpointPair), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IDatagramSocket::BindServiceNameAsync(param::hstring const& localServiceName) const + template auto consume_Windows_Networking_Sockets_IDatagramSocket::BindServiceNameAsync(param::hstring const& localServiceName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket)->BindServiceNameAsync(*(void**)(&localServiceName), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IDatagramSocket::BindEndpointAsync(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName) const + template auto consume_Windows_Networking_Sockets_IDatagramSocket::BindEndpointAsync(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket)->BindEndpointAsync(*(void**)(&localHostName), *(void**)(&localServiceName), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocket::JoinMulticastGroup(winrt::Windows::Networking::HostName const& host) const + template auto consume_Windows_Networking_Sockets_IDatagramSocket::JoinMulticastGroup(winrt::Windows::Networking::HostName const& host) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket)->JoinMulticastGroup(*(void**)(&host))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Sockets_IDatagramSocket::GetOutputStreamAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const + template auto consume_Windows_Networking_Sockets_IDatagramSocket::GetOutputStreamAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket)->GetOutputStreamAsync(*(void**)(&remoteHostName), *(void**)(&remoteServiceName), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Sockets_IDatagramSocket::GetOutputStreamAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const + template auto consume_Windows_Networking_Sockets_IDatagramSocket::GetOutputStreamAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket)->GetOutputStreamWithEndpointPairAsync(*(void**)(&endpointPair), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IDatagramSocket::MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Networking_Sockets_IDatagramSocket::MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket)->add_MessageReceived(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Networking_Sockets_IDatagramSocket::MessageReceived_revoker consume_Windows_Networking_Sockets_IDatagramSocket::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Networking_Sockets_IDatagramSocket::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, MessageReceived(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocket::MessageReceived(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Networking_Sockets_IDatagramSocket::MessageReceived(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket)->remove_MessageReceived(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IDatagramSocket2::BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const + template auto consume_Windows_Networking_Sockets_IDatagramSocket2::BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket2)->BindServiceNameAndAdapterAsync(*(void**)(&localServiceName), *(void**)(&adapter), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IDatagramSocket3::CancelIOAsync() const + template auto consume_Windows_Networking_Sockets_IDatagramSocket3::CancelIOAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket3)->CancelIOAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocket3::EnableTransferOwnership(winrt::guid const& taskId) const + template auto consume_Windows_Networking_Sockets_IDatagramSocket3::EnableTransferOwnership(winrt::guid const& taskId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket3)->EnableTransferOwnership(impl::bind_in(taskId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocket3::EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const + template auto consume_Windows_Networking_Sockets_IDatagramSocket3::EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket3)->EnableTransferOwnershipWithConnectedStandbyAction(impl::bind_in(taskId), static_cast(connectedStandbyAction))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocket3::TransferOwnership(param::hstring const& socketId) const + template auto consume_Windows_Networking_Sockets_IDatagramSocket3::TransferOwnership(param::hstring const& socketId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket3)->TransferOwnership(*(void**)(&socketId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocket3::TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const + template auto consume_Windows_Networking_Sockets_IDatagramSocket3::TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket3)->TransferOwnershipWithContext(*(void**)(&socketId), *(void**)(&data))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocket3::TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data, winrt::Windows::Foundation::TimeSpan const& keepAliveTime) const + template auto consume_Windows_Networking_Sockets_IDatagramSocket3::TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data, winrt::Windows::Foundation::TimeSpan const& keepAliveTime) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket3)->TransferOwnershipWithContextAndKeepAliveTime(*(void**)(&socketId), *(void**)(&data), impl::bind_in(keepAliveTime))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketQualityOfService) consume_Windows_Networking_Sockets_IDatagramSocketControl::QualityOfService() const + template auto consume_Windows_Networking_Sockets_IDatagramSocketControl::QualityOfService() const { winrt::Windows::Networking::Sockets::SocketQualityOfService value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl)->get_QualityOfService(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocketControl::QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const + template auto consume_Windows_Networking_Sockets_IDatagramSocketControl::QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl)->put_QualityOfService(static_cast(value))); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Networking_Sockets_IDatagramSocketControl::OutboundUnicastHopLimit() const + template auto consume_Windows_Networking_Sockets_IDatagramSocketControl::OutboundUnicastHopLimit() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl)->get_OutboundUnicastHopLimit(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocketControl::OutboundUnicastHopLimit(uint8_t value) const + template auto consume_Windows_Networking_Sockets_IDatagramSocketControl::OutboundUnicastHopLimit(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl)->put_OutboundUnicastHopLimit(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Sockets_IDatagramSocketControl2::InboundBufferSizeInBytes() const + template auto consume_Windows_Networking_Sockets_IDatagramSocketControl2::InboundBufferSizeInBytes() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl2)->get_InboundBufferSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocketControl2::InboundBufferSizeInBytes(uint32_t value) const + template auto consume_Windows_Networking_Sockets_IDatagramSocketControl2::InboundBufferSizeInBytes(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl2)->put_InboundBufferSizeInBytes(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IDatagramSocketControl2::DontFragment() const + template auto consume_Windows_Networking_Sockets_IDatagramSocketControl2::DontFragment() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl2)->get_DontFragment(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocketControl2::DontFragment(bool value) const + template auto consume_Windows_Networking_Sockets_IDatagramSocketControl2::DontFragment(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl2)->put_DontFragment(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IDatagramSocketControl3::MulticastOnly() const + template auto consume_Windows_Networking_Sockets_IDatagramSocketControl3::MulticastOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl3)->get_MulticastOnly(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocketControl3::MulticastOnly(bool value) const + template auto consume_Windows_Networking_Sockets_IDatagramSocketControl3::MulticastOnly(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl3)->put_MulticastOnly(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IDatagramSocketInformation::LocalAddress() const + template auto consume_Windows_Networking_Sockets_IDatagramSocketInformation::LocalAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketInformation)->get_LocalAddress(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IDatagramSocketInformation::LocalPort() const + template auto consume_Windows_Networking_Sockets_IDatagramSocketInformation::LocalPort() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketInformation)->get_LocalPort(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IDatagramSocketInformation::RemoteAddress() const + template auto consume_Windows_Networking_Sockets_IDatagramSocketInformation::RemoteAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketInformation)->get_RemoteAddress(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IDatagramSocketInformation::RemotePort() const + template auto consume_Windows_Networking_Sockets_IDatagramSocketInformation::RemotePort() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketInformation)->get_RemotePort(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs::RemoteAddress() const + template auto consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs::RemoteAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketMessageReceivedEventArgs)->get_RemoteAddress(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs::RemotePort() const + template auto consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs::RemotePort() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketMessageReceivedEventArgs)->get_RemotePort(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs::LocalAddress() const + template auto consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs::LocalAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketMessageReceivedEventArgs)->get_LocalAddress(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataReader) consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs::GetDataReader() const + template auto consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs::GetDataReader() const { void* dataReader{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketMessageReceivedEventArgs)->GetDataReader(&dataReader)); return winrt::Windows::Storage::Streams::DataReader{ dataReader, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs::GetDataStream() const + template auto consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs::GetDataStream() const { void* inputStream{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketMessageReceivedEventArgs)->GetDataStream(&inputStream)); return winrt::Windows::Storage::Streams::IInputStream{ inputStream, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_Sockets_IDatagramSocketStatics::GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const + template auto consume_Windows_Networking_Sockets_IDatagramSocketStatics::GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketStatics)->GetEndpointPairsAsync(*(void**)(&remoteHostName), *(void**)(&remoteServiceName), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_Sockets_IDatagramSocketStatics::GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const + template auto consume_Windows_Networking_Sockets_IDatagramSocketStatics::GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketStatics)->GetEndpointPairsWithSortOptionsAsync(*(void**)(&remoteHostName), *(void**)(&remoteServiceName), static_cast(sortOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::MessageWebSocketControl) consume_Windows_Networking_Sockets_IMessageWebSocket::Control() const + template auto consume_Windows_Networking_Sockets_IMessageWebSocket::Control() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocket)->get_Control(&value)); return winrt::Windows::Networking::Sockets::MessageWebSocketControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::MessageWebSocketInformation) consume_Windows_Networking_Sockets_IMessageWebSocket::Information() const + template auto consume_Windows_Networking_Sockets_IMessageWebSocket::Information() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocket)->get_Information(&value)); return winrt::Windows::Networking::Sockets::MessageWebSocketInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IMessageWebSocket::MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Networking_Sockets_IMessageWebSocket::MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocket)->add_MessageReceived(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Networking_Sockets_IMessageWebSocket::MessageReceived_revoker consume_Windows_Networking_Sockets_IMessageWebSocket::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Networking_Sockets_IMessageWebSocket::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, MessageReceived(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IMessageWebSocket::MessageReceived(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Networking_Sockets_IMessageWebSocket::MessageReceived(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocket)->remove_MessageReceived(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IMessageWebSocket2::ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Networking_Sockets_IMessageWebSocket2::ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocket2)->add_ServerCustomValidationRequested(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Networking_Sockets_IMessageWebSocket2::ServerCustomValidationRequested_revoker consume_Windows_Networking_Sockets_IMessageWebSocket2::ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Networking_Sockets_IMessageWebSocket2::ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, ServerCustomValidationRequested(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IMessageWebSocket2::ServerCustomValidationRequested(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Networking_Sockets_IMessageWebSocket2::ServerCustomValidationRequested(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocket2)->remove_ServerCustomValidationRequested(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Networking_Sockets_IMessageWebSocket3::SendNonfinalFrameAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Networking_Sockets_IMessageWebSocket3::SendNonfinalFrameAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocket3)->SendNonfinalFrameAsync(*(void**)(&data), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Networking_Sockets_IMessageWebSocket3::SendFinalFrameAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Networking_Sockets_IMessageWebSocket3::SendFinalFrameAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocket3)->SendFinalFrameAsync(*(void**)(&data), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Sockets_IMessageWebSocketControl::MaxMessageSize() const + template auto consume_Windows_Networking_Sockets_IMessageWebSocketControl::MaxMessageSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl)->get_MaxMessageSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IMessageWebSocketControl::MaxMessageSize(uint32_t value) const + template auto consume_Windows_Networking_Sockets_IMessageWebSocketControl::MaxMessageSize(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl)->put_MaxMessageSize(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketMessageType) consume_Windows_Networking_Sockets_IMessageWebSocketControl::MessageType() const + template auto consume_Windows_Networking_Sockets_IMessageWebSocketControl::MessageType() const { winrt::Windows::Networking::Sockets::SocketMessageType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl)->get_MessageType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IMessageWebSocketControl::MessageType(winrt::Windows::Networking::Sockets::SocketMessageType const& value) const + template auto consume_Windows_Networking_Sockets_IMessageWebSocketControl::MessageType(winrt::Windows::Networking::Sockets::SocketMessageType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl)->put_MessageType(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Networking_Sockets_IMessageWebSocketControl2::DesiredUnsolicitedPongInterval() const + template auto consume_Windows_Networking_Sockets_IMessageWebSocketControl2::DesiredUnsolicitedPongInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl2)->get_DesiredUnsolicitedPongInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IMessageWebSocketControl2::DesiredUnsolicitedPongInterval(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Networking_Sockets_IMessageWebSocketControl2::DesiredUnsolicitedPongInterval(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl2)->put_DesiredUnsolicitedPongInterval(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Networking_Sockets_IMessageWebSocketControl2::ActualUnsolicitedPongInterval() const + template auto consume_Windows_Networking_Sockets_IMessageWebSocketControl2::ActualUnsolicitedPongInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl2)->get_ActualUnsolicitedPongInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::MessageWebSocketReceiveMode) consume_Windows_Networking_Sockets_IMessageWebSocketControl2::ReceiveMode() const + template auto consume_Windows_Networking_Sockets_IMessageWebSocketControl2::ReceiveMode() const { winrt::Windows::Networking::Sockets::MessageWebSocketReceiveMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl2)->get_ReceiveMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IMessageWebSocketControl2::ReceiveMode(winrt::Windows::Networking::Sockets::MessageWebSocketReceiveMode const& value) const + template auto consume_Windows_Networking_Sockets_IMessageWebSocketControl2::ReceiveMode(winrt::Windows::Networking::Sockets::MessageWebSocketReceiveMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl2)->put_ReceiveMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Networking_Sockets_IMessageWebSocketControl2::ClientCertificate() const + template auto consume_Windows_Networking_Sockets_IMessageWebSocketControl2::ClientCertificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl2)->get_ClientCertificate(&value)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IMessageWebSocketControl2::ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const + template auto consume_Windows_Networking_Sockets_IMessageWebSocketControl2::ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl2)->put_ClientCertificate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketMessageType) consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs::MessageType() const + template auto consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs::MessageType() const { winrt::Windows::Networking::Sockets::SocketMessageType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketMessageReceivedEventArgs)->get_MessageType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataReader) consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs::GetDataReader() const + template auto consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs::GetDataReader() const { void* dataReader{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketMessageReceivedEventArgs)->GetDataReader(&dataReader)); return winrt::Windows::Storage::Streams::DataReader{ dataReader, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs::GetDataStream() const + template auto consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs::GetDataStream() const { void* inputStream{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketMessageReceivedEventArgs)->GetDataStream(&inputStream)); return winrt::Windows::Storage::Streams::IInputStream{ inputStream, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs2::IsMessageComplete() const + template auto consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs2::IsMessageComplete() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketMessageReceivedEventArgs2)->get_IsMessageComplete(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IServerMessageWebSocket::MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Networking_Sockets_IServerMessageWebSocket::MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocket)->add_MessageReceived(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Networking_Sockets_IServerMessageWebSocket::MessageReceived_revoker consume_Windows_Networking_Sockets_IServerMessageWebSocket::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Networking_Sockets_IServerMessageWebSocket::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, MessageReceived(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IServerMessageWebSocket::MessageReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_Sockets_IServerMessageWebSocket::MessageReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocket)->remove_MessageReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerMessageWebSocketControl) consume_Windows_Networking_Sockets_IServerMessageWebSocket::Control() const + template auto consume_Windows_Networking_Sockets_IServerMessageWebSocket::Control() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocket)->get_Control(&value)); return winrt::Windows::Networking::Sockets::ServerMessageWebSocketControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerMessageWebSocketInformation) consume_Windows_Networking_Sockets_IServerMessageWebSocket::Information() const + template auto consume_Windows_Networking_Sockets_IServerMessageWebSocket::Information() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocket)->get_Information(&value)); return winrt::Windows::Networking::Sockets::ServerMessageWebSocketInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Networking_Sockets_IServerMessageWebSocket::OutputStream() const + template auto consume_Windows_Networking_Sockets_IServerMessageWebSocket::OutputStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocket)->get_OutputStream(&value)); return winrt::Windows::Storage::Streams::IOutputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IServerMessageWebSocket::Closed(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Networking_Sockets_IServerMessageWebSocket::Closed(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocket)->add_Closed(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Networking_Sockets_IServerMessageWebSocket::Closed_revoker consume_Windows_Networking_Sockets_IServerMessageWebSocket::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Networking_Sockets_IServerMessageWebSocket::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, Closed(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IServerMessageWebSocket::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_Sockets_IServerMessageWebSocket::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocket)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IServerMessageWebSocket::Close(uint16_t code, param::hstring const& reason) const + template auto consume_Windows_Networking_Sockets_IServerMessageWebSocket::Close(uint16_t code, param::hstring const& reason) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocket)->CloseWithStatus(code, *(void**)(&reason))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketMessageType) consume_Windows_Networking_Sockets_IServerMessageWebSocketControl::MessageType() const + template auto consume_Windows_Networking_Sockets_IServerMessageWebSocketControl::MessageType() const { winrt::Windows::Networking::Sockets::SocketMessageType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocketControl)->get_MessageType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IServerMessageWebSocketControl::MessageType(winrt::Windows::Networking::Sockets::SocketMessageType const& value) const + template auto consume_Windows_Networking_Sockets_IServerMessageWebSocketControl::MessageType(winrt::Windows::Networking::Sockets::SocketMessageType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocketControl)->put_MessageType(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::BandwidthStatistics) consume_Windows_Networking_Sockets_IServerMessageWebSocketInformation::BandwidthStatistics() const + template auto consume_Windows_Networking_Sockets_IServerMessageWebSocketInformation::BandwidthStatistics() const { winrt::Windows::Networking::Sockets::BandwidthStatistics value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocketInformation)->get_BandwidthStatistics(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IServerMessageWebSocketInformation::Protocol() const + template auto consume_Windows_Networking_Sockets_IServerMessageWebSocketInformation::Protocol() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocketInformation)->get_Protocol(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IServerMessageWebSocketInformation::LocalAddress() const + template auto consume_Windows_Networking_Sockets_IServerMessageWebSocketInformation::LocalAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocketInformation)->get_LocalAddress(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerStreamWebSocketInformation) consume_Windows_Networking_Sockets_IServerStreamWebSocket::Information() const + template auto consume_Windows_Networking_Sockets_IServerStreamWebSocket::Information() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerStreamWebSocket)->get_Information(&value)); return winrt::Windows::Networking::Sockets::ServerStreamWebSocketInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Networking_Sockets_IServerStreamWebSocket::InputStream() const + template auto consume_Windows_Networking_Sockets_IServerStreamWebSocket::InputStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerStreamWebSocket)->get_InputStream(&value)); return winrt::Windows::Storage::Streams::IInputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Networking_Sockets_IServerStreamWebSocket::OutputStream() const + template auto consume_Windows_Networking_Sockets_IServerStreamWebSocket::OutputStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerStreamWebSocket)->get_OutputStream(&value)); return winrt::Windows::Storage::Streams::IOutputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IServerStreamWebSocket::Closed(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Networking_Sockets_IServerStreamWebSocket::Closed(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerStreamWebSocket)->add_Closed(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Networking_Sockets_IServerStreamWebSocket::Closed_revoker consume_Windows_Networking_Sockets_IServerStreamWebSocket::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Networking_Sockets_IServerStreamWebSocket::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, Closed(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IServerStreamWebSocket::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_Sockets_IServerStreamWebSocket::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerStreamWebSocket)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IServerStreamWebSocket::Close(uint16_t code, param::hstring const& reason) const + template auto consume_Windows_Networking_Sockets_IServerStreamWebSocket::Close(uint16_t code, param::hstring const& reason) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerStreamWebSocket)->CloseWithStatus(code, *(void**)(&reason))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::BandwidthStatistics) consume_Windows_Networking_Sockets_IServerStreamWebSocketInformation::BandwidthStatistics() const + template auto consume_Windows_Networking_Sockets_IServerStreamWebSocketInformation::BandwidthStatistics() const { winrt::Windows::Networking::Sockets::BandwidthStatistics value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerStreamWebSocketInformation)->get_BandwidthStatistics(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IServerStreamWebSocketInformation::Protocol() const + template auto consume_Windows_Networking_Sockets_IServerStreamWebSocketInformation::Protocol() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerStreamWebSocketInformation)->get_Protocol(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IServerStreamWebSocketInformation::LocalAddress() const + template auto consume_Windows_Networking_Sockets_IServerStreamWebSocketInformation::LocalAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerStreamWebSocketInformation)->get_LocalAddress(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_Sockets_ISocketActivityContext::Data() const + template auto consume_Windows_Networking_Sockets_ISocketActivityContext::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketActivityContext)->get_Data(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketActivityContext) consume_Windows_Networking_Sockets_ISocketActivityContextFactory::Create(winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Networking_Sockets_ISocketActivityContextFactory::Create(winrt::Windows::Storage::Streams::IBuffer const& data) const { void* context{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketActivityContextFactory)->Create(*(void**)(&data), &context)); return winrt::Windows::Networking::Sockets::SocketActivityContext{ context, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_Sockets_ISocketActivityInformation::TaskId() const + template auto consume_Windows_Networking_Sockets_ISocketActivityInformation::TaskId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketActivityInformation)->get_TaskId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_ISocketActivityInformation::Id() const + template auto consume_Windows_Networking_Sockets_ISocketActivityInformation::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketActivityInformation)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketActivityKind) consume_Windows_Networking_Sockets_ISocketActivityInformation::SocketKind() const + template auto consume_Windows_Networking_Sockets_ISocketActivityInformation::SocketKind() const { winrt::Windows::Networking::Sockets::SocketActivityKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketActivityInformation)->get_SocketKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketActivityContext) consume_Windows_Networking_Sockets_ISocketActivityInformation::Context() const + template auto consume_Windows_Networking_Sockets_ISocketActivityInformation::Context() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketActivityInformation)->get_Context(&value)); return winrt::Windows::Networking::Sockets::SocketActivityContext{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::DatagramSocket) consume_Windows_Networking_Sockets_ISocketActivityInformation::DatagramSocket() const + template auto consume_Windows_Networking_Sockets_ISocketActivityInformation::DatagramSocket() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketActivityInformation)->get_DatagramSocket(&value)); return winrt::Windows::Networking::Sockets::DatagramSocket{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocket) consume_Windows_Networking_Sockets_ISocketActivityInformation::StreamSocket() const + template auto consume_Windows_Networking_Sockets_ISocketActivityInformation::StreamSocket() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketActivityInformation)->get_StreamSocket(&value)); return winrt::Windows::Networking::Sockets::StreamSocket{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocketListener) consume_Windows_Networking_Sockets_ISocketActivityInformation::StreamSocketListener() const + template auto consume_Windows_Networking_Sockets_ISocketActivityInformation::StreamSocketListener() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketActivityInformation)->get_StreamSocketListener(&value)); return winrt::Windows::Networking::Sockets::StreamSocketListener{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Networking_Sockets_ISocketActivityInformationStatics::AllSockets() const + template auto consume_Windows_Networking_Sockets_ISocketActivityInformationStatics::AllSockets() const { void* sockets{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketActivityInformationStatics)->get_AllSockets(&sockets)); return winrt::Windows::Foundation::Collections::IMapView{ sockets, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketActivityTriggerReason) consume_Windows_Networking_Sockets_ISocketActivityTriggerDetails::Reason() const + template auto consume_Windows_Networking_Sockets_ISocketActivityTriggerDetails::Reason() const { winrt::Windows::Networking::Sockets::SocketActivityTriggerReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketActivityTriggerDetails)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketActivityInformation) consume_Windows_Networking_Sockets_ISocketActivityTriggerDetails::SocketInformation() const + template auto consume_Windows_Networking_Sockets_ISocketActivityTriggerDetails::SocketInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketActivityTriggerDetails)->get_SocketInformation(&value)); return winrt::Windows::Networking::Sockets::SocketActivityInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketErrorStatus) consume_Windows_Networking_Sockets_ISocketErrorStatics::GetStatus(int32_t hresult) const + template auto consume_Windows_Networking_Sockets_ISocketErrorStatics::GetStatus(int32_t hresult) const { winrt::Windows::Networking::Sockets::SocketErrorStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketErrorStatics)->GetStatus(hresult, reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocketControl) consume_Windows_Networking_Sockets_IStreamSocket::Control() const + template auto consume_Windows_Networking_Sockets_IStreamSocket::Control() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket)->get_Control(&value)); return winrt::Windows::Networking::Sockets::StreamSocketControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocketInformation) consume_Windows_Networking_Sockets_IStreamSocket::Information() const + template auto consume_Windows_Networking_Sockets_IStreamSocket::Information() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket)->get_Information(&value)); return winrt::Windows::Networking::Sockets::StreamSocketInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Networking_Sockets_IStreamSocket::InputStream() const + template auto consume_Windows_Networking_Sockets_IStreamSocket::InputStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket)->get_InputStream(&value)); return winrt::Windows::Storage::Streams::IInputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Networking_Sockets_IStreamSocket::OutputStream() const + template auto consume_Windows_Networking_Sockets_IStreamSocket::OutputStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket)->get_OutputStream(&value)); return winrt::Windows::Storage::Streams::IOutputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocket::ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const + template auto consume_Windows_Networking_Sockets_IStreamSocket::ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket)->ConnectWithEndpointPairAsync(*(void**)(&endpointPair), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocket::ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const + template auto consume_Windows_Networking_Sockets_IStreamSocket::ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket)->ConnectAsync(*(void**)(&remoteHostName), *(void**)(&remoteServiceName), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocket::ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const + template auto consume_Windows_Networking_Sockets_IStreamSocket::ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket)->ConnectWithEndpointPairAndProtectionLevelAsync(*(void**)(&endpointPair), static_cast(protectionLevel), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocket::ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const + template auto consume_Windows_Networking_Sockets_IStreamSocket::ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket)->ConnectWithProtectionLevelAsync(*(void**)(&remoteHostName), *(void**)(&remoteServiceName), static_cast(protectionLevel), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocket::UpgradeToSslAsync(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::HostName const& validationHostName) const + template auto consume_Windows_Networking_Sockets_IStreamSocket::UpgradeToSslAsync(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::HostName const& validationHostName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket)->UpgradeToSslAsync(static_cast(protectionLevel), *(void**)(&validationHostName), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocket2::ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const + template auto consume_Windows_Networking_Sockets_IStreamSocket2::ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket2)->ConnectWithProtectionLevelAndAdapterAsync(*(void**)(&remoteHostName), *(void**)(&remoteServiceName), static_cast(protectionLevel), *(void**)(&adapter), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocket3::CancelIOAsync() const + template auto consume_Windows_Networking_Sockets_IStreamSocket3::CancelIOAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket3)->CancelIOAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocket3::EnableTransferOwnership(winrt::guid const& taskId) const + template auto consume_Windows_Networking_Sockets_IStreamSocket3::EnableTransferOwnership(winrt::guid const& taskId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket3)->EnableTransferOwnership(impl::bind_in(taskId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocket3::EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const + template auto consume_Windows_Networking_Sockets_IStreamSocket3::EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket3)->EnableTransferOwnershipWithConnectedStandbyAction(impl::bind_in(taskId), static_cast(connectedStandbyAction))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocket3::TransferOwnership(param::hstring const& socketId) const + template auto consume_Windows_Networking_Sockets_IStreamSocket3::TransferOwnership(param::hstring const& socketId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket3)->TransferOwnership(*(void**)(&socketId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocket3::TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const + template auto consume_Windows_Networking_Sockets_IStreamSocket3::TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket3)->TransferOwnershipWithContext(*(void**)(&socketId), *(void**)(&data))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocket3::TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data, winrt::Windows::Foundation::TimeSpan const& keepAliveTime) const + template auto consume_Windows_Networking_Sockets_IStreamSocket3::TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data, winrt::Windows::Foundation::TimeSpan const& keepAliveTime) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket3)->TransferOwnershipWithContextAndKeepAliveTime(*(void**)(&socketId), *(void**)(&data), impl::bind_in(keepAliveTime))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IStreamSocketControl::NoDelay() const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl::NoDelay() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->get_NoDelay(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketControl::NoDelay(bool value) const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl::NoDelay(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->put_NoDelay(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IStreamSocketControl::KeepAlive() const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl::KeepAlive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->get_KeepAlive(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketControl::KeepAlive(bool value) const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl::KeepAlive(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->put_KeepAlive(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Sockets_IStreamSocketControl::OutboundBufferSizeInBytes() const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl::OutboundBufferSizeInBytes() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->get_OutboundBufferSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketControl::OutboundBufferSizeInBytes(uint32_t value) const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl::OutboundBufferSizeInBytes(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->put_OutboundBufferSizeInBytes(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketQualityOfService) consume_Windows_Networking_Sockets_IStreamSocketControl::QualityOfService() const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl::QualityOfService() const { winrt::Windows::Networking::Sockets::SocketQualityOfService value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->get_QualityOfService(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketControl::QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl::QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->put_QualityOfService(static_cast(value))); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Networking_Sockets_IStreamSocketControl::OutboundUnicastHopLimit() const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl::OutboundUnicastHopLimit() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->get_OutboundUnicastHopLimit(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketControl::OutboundUnicastHopLimit(uint8_t value) const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl::OutboundUnicastHopLimit(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->put_OutboundUnicastHopLimit(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Sockets_IStreamSocketControl2::IgnorableServerCertificateErrors() const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl2::IgnorableServerCertificateErrors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl2)->get_IgnorableServerCertificateErrors(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IStreamSocketControl3::SerializeConnectionAttempts() const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl3::SerializeConnectionAttempts() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl3)->get_SerializeConnectionAttempts(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketControl3::SerializeConnectionAttempts(bool value) const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl3::SerializeConnectionAttempts(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl3)->put_SerializeConnectionAttempts(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Networking_Sockets_IStreamSocketControl3::ClientCertificate() const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl3::ClientCertificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl3)->get_ClientCertificate(&value)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketControl3::ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl3::ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl3)->put_ClientCertificate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketProtectionLevel) consume_Windows_Networking_Sockets_IStreamSocketControl4::MinProtectionLevel() const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl4::MinProtectionLevel() const { winrt::Windows::Networking::Sockets::SocketProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl4)->get_MinProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketControl4::MinProtectionLevel(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& value) const + template auto consume_Windows_Networking_Sockets_IStreamSocketControl4::MinProtectionLevel(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl4)->put_MinProtectionLevel(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IStreamSocketInformation::LocalAddress() const + template auto consume_Windows_Networking_Sockets_IStreamSocketInformation::LocalAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation)->get_LocalAddress(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IStreamSocketInformation::LocalPort() const + template auto consume_Windows_Networking_Sockets_IStreamSocketInformation::LocalPort() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation)->get_LocalPort(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IStreamSocketInformation::RemoteHostName() const + template auto consume_Windows_Networking_Sockets_IStreamSocketInformation::RemoteHostName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation)->get_RemoteHostName(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IStreamSocketInformation::RemoteAddress() const + template auto consume_Windows_Networking_Sockets_IStreamSocketInformation::RemoteAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation)->get_RemoteAddress(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IStreamSocketInformation::RemoteServiceName() const + template auto consume_Windows_Networking_Sockets_IStreamSocketInformation::RemoteServiceName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation)->get_RemoteServiceName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IStreamSocketInformation::RemotePort() const + template auto consume_Windows_Networking_Sockets_IStreamSocketInformation::RemotePort() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation)->get_RemotePort(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::RoundTripTimeStatistics) consume_Windows_Networking_Sockets_IStreamSocketInformation::RoundTripTimeStatistics() const + template auto consume_Windows_Networking_Sockets_IStreamSocketInformation::RoundTripTimeStatistics() const { winrt::Windows::Networking::Sockets::RoundTripTimeStatistics value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation)->get_RoundTripTimeStatistics(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::BandwidthStatistics) consume_Windows_Networking_Sockets_IStreamSocketInformation::BandwidthStatistics() const + template auto consume_Windows_Networking_Sockets_IStreamSocketInformation::BandwidthStatistics() const { winrt::Windows::Networking::Sockets::BandwidthStatistics value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation)->get_BandwidthStatistics(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketProtectionLevel) consume_Windows_Networking_Sockets_IStreamSocketInformation::ProtectionLevel() const + template auto consume_Windows_Networking_Sockets_IStreamSocketInformation::ProtectionLevel() const { winrt::Windows::Networking::Sockets::SocketProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation)->get_ProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_Sockets_IStreamSocketInformation::SessionKey() const + template auto consume_Windows_Networking_Sockets_IStreamSocketInformation::SessionKey() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation)->get_SessionKey(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) consume_Windows_Networking_Sockets_IStreamSocketInformation2::ServerCertificateErrorSeverity() const + template auto consume_Windows_Networking_Sockets_IStreamSocketInformation2::ServerCertificateErrorSeverity() const { winrt::Windows::Networking::Sockets::SocketSslErrorSeverity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation2)->get_ServerCertificateErrorSeverity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Sockets_IStreamSocketInformation2::ServerCertificateErrors() const + template auto consume_Windows_Networking_Sockets_IStreamSocketInformation2::ServerCertificateErrors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation2)->get_ServerCertificateErrors(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Networking_Sockets_IStreamSocketInformation2::ServerCertificate() const + template auto consume_Windows_Networking_Sockets_IStreamSocketInformation2::ServerCertificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation2)->get_ServerCertificate(&value)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Sockets_IStreamSocketInformation2::ServerIntermediateCertificates() const + template auto consume_Windows_Networking_Sockets_IStreamSocketInformation2::ServerIntermediateCertificates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation2)->get_ServerIntermediateCertificates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocketListenerControl) consume_Windows_Networking_Sockets_IStreamSocketListener::Control() const + template auto consume_Windows_Networking_Sockets_IStreamSocketListener::Control() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListener)->get_Control(&value)); return winrt::Windows::Networking::Sockets::StreamSocketListenerControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocketListenerInformation) consume_Windows_Networking_Sockets_IStreamSocketListener::Information() const + template auto consume_Windows_Networking_Sockets_IStreamSocketListener::Information() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListener)->get_Information(&value)); return winrt::Windows::Networking::Sockets::StreamSocketListenerInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocketListener::BindServiceNameAsync(param::hstring const& localServiceName) const + template auto consume_Windows_Networking_Sockets_IStreamSocketListener::BindServiceNameAsync(param::hstring const& localServiceName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListener)->BindServiceNameAsync(*(void**)(&localServiceName), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocketListener::BindEndpointAsync(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName) const + template auto consume_Windows_Networking_Sockets_IStreamSocketListener::BindEndpointAsync(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListener)->BindEndpointAsync(*(void**)(&localHostName), *(void**)(&localServiceName), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IStreamSocketListener::ConnectionReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Networking_Sockets_IStreamSocketListener::ConnectionReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListener)->add_ConnectionReceived(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Networking_Sockets_IStreamSocketListener::ConnectionReceived_revoker consume_Windows_Networking_Sockets_IStreamSocketListener::ConnectionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Networking_Sockets_IStreamSocketListener::ConnectionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, ConnectionReceived(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListener::ConnectionReceived(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Networking_Sockets_IStreamSocketListener::ConnectionReceived(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListener)->remove_ConnectionReceived(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocketListener2::BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const + template auto consume_Windows_Networking_Sockets_IStreamSocketListener2::BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListener2)->BindServiceNameWithProtectionLevelAsync(*(void**)(&localServiceName), static_cast(protectionLevel), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocketListener2::BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const + template auto consume_Windows_Networking_Sockets_IStreamSocketListener2::BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListener2)->BindServiceNameWithProtectionLevelAndAdapterAsync(*(void**)(&localServiceName), static_cast(protectionLevel), *(void**)(&adapter), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocketListener3::CancelIOAsync() const + template auto consume_Windows_Networking_Sockets_IStreamSocketListener3::CancelIOAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListener3)->CancelIOAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListener3::EnableTransferOwnership(winrt::guid const& taskId) const + template auto consume_Windows_Networking_Sockets_IStreamSocketListener3::EnableTransferOwnership(winrt::guid const& taskId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListener3)->EnableTransferOwnership(impl::bind_in(taskId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListener3::EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const + template auto consume_Windows_Networking_Sockets_IStreamSocketListener3::EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListener3)->EnableTransferOwnershipWithConnectedStandbyAction(impl::bind_in(taskId), static_cast(connectedStandbyAction))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListener3::TransferOwnership(param::hstring const& socketId) const + template auto consume_Windows_Networking_Sockets_IStreamSocketListener3::TransferOwnership(param::hstring const& socketId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListener3)->TransferOwnership(*(void**)(&socketId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListener3::TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const + template auto consume_Windows_Networking_Sockets_IStreamSocketListener3::TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListener3)->TransferOwnershipWithContext(*(void**)(&socketId), *(void**)(&data))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocket) consume_Windows_Networking_Sockets_IStreamSocketListenerConnectionReceivedEventArgs::Socket() const + template auto consume_Windows_Networking_Sockets_IStreamSocketListenerConnectionReceivedEventArgs::Socket() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerConnectionReceivedEventArgs)->get_Socket(&value)); return winrt::Windows::Networking::Sockets::StreamSocket{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketQualityOfService) consume_Windows_Networking_Sockets_IStreamSocketListenerControl::QualityOfService() const + template auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl::QualityOfService() const { winrt::Windows::Networking::Sockets::SocketQualityOfService value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl)->get_QualityOfService(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListenerControl::QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const + template auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl::QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl)->put_QualityOfService(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IStreamSocketListenerControl2::NoDelay() const + template auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl2::NoDelay() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2)->get_NoDelay(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListenerControl2::NoDelay(bool value) const + template auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl2::NoDelay(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2)->put_NoDelay(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IStreamSocketListenerControl2::KeepAlive() const + template auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl2::KeepAlive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2)->get_KeepAlive(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListenerControl2::KeepAlive(bool value) const + template auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl2::KeepAlive(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2)->put_KeepAlive(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Sockets_IStreamSocketListenerControl2::OutboundBufferSizeInBytes() const + template auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl2::OutboundBufferSizeInBytes() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2)->get_OutboundBufferSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListenerControl2::OutboundBufferSizeInBytes(uint32_t value) const + template auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl2::OutboundBufferSizeInBytes(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2)->put_OutboundBufferSizeInBytes(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Networking_Sockets_IStreamSocketListenerControl2::OutboundUnicastHopLimit() const + template auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl2::OutboundUnicastHopLimit() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2)->get_OutboundUnicastHopLimit(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListenerControl2::OutboundUnicastHopLimit(uint8_t value) const + template auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl2::OutboundUnicastHopLimit(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2)->put_OutboundUnicastHopLimit(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IStreamSocketListenerInformation::LocalPort() const + template auto consume_Windows_Networking_Sockets_IStreamSocketListenerInformation::LocalPort() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerInformation)->get_LocalPort(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_Sockets_IStreamSocketStatics::GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const + template auto consume_Windows_Networking_Sockets_IStreamSocketStatics::GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketStatics)->GetEndpointPairsAsync(*(void**)(&remoteHostName), *(void**)(&remoteServiceName), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_Sockets_IStreamSocketStatics::GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const + template auto consume_Windows_Networking_Sockets_IStreamSocketStatics::GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketStatics)->GetEndpointPairsWithSortOptionsAsync(*(void**)(&remoteHostName), *(void**)(&remoteServiceName), static_cast(sortOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamWebSocketControl) consume_Windows_Networking_Sockets_IStreamWebSocket::Control() const + template auto consume_Windows_Networking_Sockets_IStreamWebSocket::Control() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamWebSocket)->get_Control(&value)); return winrt::Windows::Networking::Sockets::StreamWebSocketControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamWebSocketInformation) consume_Windows_Networking_Sockets_IStreamWebSocket::Information() const + template auto consume_Windows_Networking_Sockets_IStreamWebSocket::Information() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamWebSocket)->get_Information(&value)); return winrt::Windows::Networking::Sockets::StreamWebSocketInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Networking_Sockets_IStreamWebSocket::InputStream() const + template auto consume_Windows_Networking_Sockets_IStreamWebSocket::InputStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamWebSocket)->get_InputStream(&value)); return winrt::Windows::Storage::Streams::IInputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IStreamWebSocket2::ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Networking_Sockets_IStreamWebSocket2::ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamWebSocket2)->add_ServerCustomValidationRequested(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Networking_Sockets_IStreamWebSocket2::ServerCustomValidationRequested_revoker consume_Windows_Networking_Sockets_IStreamWebSocket2::ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Networking_Sockets_IStreamWebSocket2::ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, ServerCustomValidationRequested(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamWebSocket2::ServerCustomValidationRequested(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Networking_Sockets_IStreamWebSocket2::ServerCustomValidationRequested(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamWebSocket2)->remove_ServerCustomValidationRequested(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IStreamWebSocketControl::NoDelay() const + template auto consume_Windows_Networking_Sockets_IStreamWebSocketControl::NoDelay() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamWebSocketControl)->get_NoDelay(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamWebSocketControl::NoDelay(bool value) const + template auto consume_Windows_Networking_Sockets_IStreamWebSocketControl::NoDelay(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamWebSocketControl)->put_NoDelay(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Networking_Sockets_IStreamWebSocketControl2::DesiredUnsolicitedPongInterval() const + template auto consume_Windows_Networking_Sockets_IStreamWebSocketControl2::DesiredUnsolicitedPongInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamWebSocketControl2)->get_DesiredUnsolicitedPongInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamWebSocketControl2::DesiredUnsolicitedPongInterval(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Networking_Sockets_IStreamWebSocketControl2::DesiredUnsolicitedPongInterval(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamWebSocketControl2)->put_DesiredUnsolicitedPongInterval(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Networking_Sockets_IStreamWebSocketControl2::ActualUnsolicitedPongInterval() const + template auto consume_Windows_Networking_Sockets_IStreamWebSocketControl2::ActualUnsolicitedPongInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamWebSocketControl2)->get_ActualUnsolicitedPongInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Networking_Sockets_IStreamWebSocketControl2::ClientCertificate() const + template auto consume_Windows_Networking_Sockets_IStreamWebSocketControl2::ClientCertificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamWebSocketControl2)->get_ClientCertificate(&value)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamWebSocketControl2::ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const + template auto consume_Windows_Networking_Sockets_IStreamWebSocketControl2::ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamWebSocketControl2)->put_ClientCertificate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Networking_Sockets_IWebSocket::OutputStream() const + template auto consume_Windows_Networking_Sockets_IWebSocket::OutputStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocket)->get_OutputStream(&value)); return winrt::Windows::Storage::Streams::IOutputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IWebSocket::ConnectAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Networking_Sockets_IWebSocket::ConnectAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocket)->ConnectAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IWebSocket::SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const + template auto consume_Windows_Networking_Sockets_IWebSocket::SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocket)->SetRequestHeader(*(void**)(&headerName), *(void**)(&headerValue))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IWebSocket::Closed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Networking_Sockets_IWebSocket::Closed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocket)->add_Closed(*(void**)(&eventHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Networking_Sockets_IWebSocket::Closed_revoker consume_Windows_Networking_Sockets_IWebSocket::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_Networking_Sockets_IWebSocket::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, Closed(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IWebSocket::Closed(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Networking_Sockets_IWebSocket::Closed(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocket)->remove_Closed(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IWebSocket::Close(uint16_t code, param::hstring const& reason) const + template auto consume_Windows_Networking_Sockets_IWebSocket::Close(uint16_t code, param::hstring const& reason) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocket)->CloseWithStatus(code, *(void**)(&reason))); } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Networking_Sockets_IWebSocketClosedEventArgs::Code() const + template auto consume_Windows_Networking_Sockets_IWebSocketClosedEventArgs::Code() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketClosedEventArgs)->get_Code(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IWebSocketClosedEventArgs::Reason() const + template auto consume_Windows_Networking_Sockets_IWebSocketClosedEventArgs::Reason() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketClosedEventArgs)->get_Reason(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Sockets_IWebSocketControl::OutboundBufferSizeInBytes() const + template auto consume_Windows_Networking_Sockets_IWebSocketControl::OutboundBufferSizeInBytes() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketControl)->get_OutboundBufferSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IWebSocketControl::OutboundBufferSizeInBytes(uint32_t value) const + template auto consume_Windows_Networking_Sockets_IWebSocketControl::OutboundBufferSizeInBytes(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketControl)->put_OutboundBufferSizeInBytes(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Networking_Sockets_IWebSocketControl::ServerCredential() const + template auto consume_Windows_Networking_Sockets_IWebSocketControl::ServerCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketControl)->get_ServerCredential(&value)); return winrt::Windows::Security::Credentials::PasswordCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IWebSocketControl::ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const + template auto consume_Windows_Networking_Sockets_IWebSocketControl::ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketControl)->put_ServerCredential(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Networking_Sockets_IWebSocketControl::ProxyCredential() const + template auto consume_Windows_Networking_Sockets_IWebSocketControl::ProxyCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketControl)->get_ProxyCredential(&value)); return winrt::Windows::Security::Credentials::PasswordCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IWebSocketControl::ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const + template auto consume_Windows_Networking_Sockets_IWebSocketControl::ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketControl)->put_ProxyCredential(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Sockets_IWebSocketControl::SupportedProtocols() const + template auto consume_Windows_Networking_Sockets_IWebSocketControl::SupportedProtocols() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketControl)->get_SupportedProtocols(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Sockets_IWebSocketControl2::IgnorableServerCertificateErrors() const + template auto consume_Windows_Networking_Sockets_IWebSocketControl2::IgnorableServerCertificateErrors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketControl2)->get_IgnorableServerCertificateErrors(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) consume_Windows_Networking_Sockets_IWebSocketErrorStatics::GetStatus(int32_t hresult) const + template auto consume_Windows_Networking_Sockets_IWebSocketErrorStatics::GetStatus(int32_t hresult) const { winrt::Windows::Web::WebErrorStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketErrorStatics)->GetStatus(hresult, reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IWebSocketInformation::LocalAddress() const + template auto consume_Windows_Networking_Sockets_IWebSocketInformation::LocalAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketInformation)->get_LocalAddress(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::BandwidthStatistics) consume_Windows_Networking_Sockets_IWebSocketInformation::BandwidthStatistics() const + template auto consume_Windows_Networking_Sockets_IWebSocketInformation::BandwidthStatistics() const { winrt::Windows::Networking::Sockets::BandwidthStatistics value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketInformation)->get_BandwidthStatistics(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IWebSocketInformation::Protocol() const + template auto consume_Windows_Networking_Sockets_IWebSocketInformation::Protocol() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketInformation)->get_Protocol(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Networking_Sockets_IWebSocketInformation2::ServerCertificate() const + template auto consume_Windows_Networking_Sockets_IWebSocketInformation2::ServerCertificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketInformation2)->get_ServerCertificate(&value)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) consume_Windows_Networking_Sockets_IWebSocketInformation2::ServerCertificateErrorSeverity() const + template auto consume_Windows_Networking_Sockets_IWebSocketInformation2::ServerCertificateErrorSeverity() const { winrt::Windows::Networking::Sockets::SocketSslErrorSeverity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketInformation2)->get_ServerCertificateErrorSeverity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Sockets_IWebSocketInformation2::ServerCertificateErrors() const + template auto consume_Windows_Networking_Sockets_IWebSocketInformation2::ServerCertificateErrors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketInformation2)->get_ServerCertificateErrors(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Sockets_IWebSocketInformation2::ServerIntermediateCertificates() const + template auto consume_Windows_Networking_Sockets_IWebSocketInformation2::ServerIntermediateCertificates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketInformation2)->get_ServerIntermediateCertificates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs::ServerCertificate() const + template auto consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs::ServerCertificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketServerCustomValidationRequestedEventArgs)->get_ServerCertificate(&value)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs::ServerCertificateErrorSeverity() const + template auto consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs::ServerCertificateErrorSeverity() const { winrt::Windows::Networking::Sockets::SocketSslErrorSeverity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketServerCustomValidationRequestedEventArgs)->get_ServerCertificateErrorSeverity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs::ServerCertificateErrors() const + template auto consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs::ServerCertificateErrors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketServerCustomValidationRequestedEventArgs)->get_ServerCertificateErrors(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs::ServerIntermediateCertificates() const + template auto consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs::ServerIntermediateCertificates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketServerCustomValidationRequestedEventArgs)->get_ServerIntermediateCertificates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs::Reject() const + template auto consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs::Reject() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketServerCustomValidationRequestedEventArgs)->Reject()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs::GetDeferral() const + template auto consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketServerCustomValidationRequestedEventArgs)->GetDeferral(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Vpn.h b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Vpn.h index 2ee535b3..800b96b9 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Vpn.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Vpn.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_Vpn_H #define WINRT_Windows_Networking_Vpn_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Networking.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -17,1141 +17,1141 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Networking.Vpn.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAppIdType) consume_Windows_Networking_Vpn_IVpnAppId::Type() const + template auto consume_Windows_Networking_Vpn_IVpnAppId::Type() const { winrt::Windows::Networking::Vpn::VpnAppIdType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnAppId)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnAppId::Type(winrt::Windows::Networking::Vpn::VpnAppIdType const& value) const + template auto consume_Windows_Networking_Vpn_IVpnAppId::Type(winrt::Windows::Networking::Vpn::VpnAppIdType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnAppId)->put_Type(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnAppId::Value() const + template auto consume_Windows_Networking_Vpn_IVpnAppId::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnAppId)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnAppId::Value(param::hstring const& value) const + template auto consume_Windows_Networking_Vpn_IVpnAppId::Value(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnAppId)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAppId) consume_Windows_Networking_Vpn_IVpnAppIdFactory::Create(winrt::Windows::Networking::Vpn::VpnAppIdType const& type, param::hstring const& value) const + template auto consume_Windows_Networking_Vpn_IVpnAppIdFactory::Create(winrt::Windows::Networking::Vpn::VpnAppIdType const& type, param::hstring const& value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnAppIdFactory)->Create(static_cast(type), *(void**)(&value), &result)); return winrt::Windows::Networking::Vpn::VpnAppId{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel::AssociateTransport(winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport) const + template auto consume_Windows_Networking_Vpn_IVpnChannel::AssociateTransport(winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->AssociateTransport(*(void**)(&mainOuterTunnelTransport), *(void**)(&optionalOuterTunnelTransport))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel::Start(param::vector_view const& assignedClientIPv4list, param::vector_view const& assignedClientIPv6list, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& routeScope, winrt::Windows::Networking::Vpn::VpnNamespaceAssignment const& namespaceScope, uint32_t mtuSize, uint32_t maxFrameSize, bool optimizeForLowCostNetwork, winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport) const + template auto consume_Windows_Networking_Vpn_IVpnChannel::Start(param::vector_view const& assignedClientIPv4list, param::vector_view const& assignedClientIPv6list, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& routeScope, winrt::Windows::Networking::Vpn::VpnNamespaceAssignment const& namespaceScope, uint32_t mtuSize, uint32_t maxFrameSize, bool optimizeForLowCostNetwork, winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->Start(*(void**)(&assignedClientIPv4list), *(void**)(&assignedClientIPv6list), *(void**)(&vpnInterfaceId), *(void**)(&routeScope), *(void**)(&namespaceScope), mtuSize, maxFrameSize, optimizeForLowCostNetwork, *(void**)(&mainOuterTunnelTransport), *(void**)(&optionalOuterTunnelTransport))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel::Stop() const + template auto consume_Windows_Networking_Vpn_IVpnChannel::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPickedCredential) consume_Windows_Networking_Vpn_IVpnChannel::RequestCredentials(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, bool isRetry, bool isSingleSignOnCredential, winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const + template auto consume_Windows_Networking_Vpn_IVpnChannel::RequestCredentials(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, bool isRetry, bool isSingleSignOnCredential, winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const { void* credential{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->RequestCredentials(static_cast(credType), isRetry, isSingleSignOnCredential, *(void**)(&certificate), &credential)); return winrt::Windows::Networking::Vpn::VpnPickedCredential{ credential, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel::RequestVpnPacketBuffer(winrt::Windows::Networking::Vpn::VpnDataPathType const& type, winrt::Windows::Networking::Vpn::VpnPacketBuffer& vpnPacketBuffer) const + template auto consume_Windows_Networking_Vpn_IVpnChannel::RequestVpnPacketBuffer(winrt::Windows::Networking::Vpn::VpnDataPathType const& type, winrt::Windows::Networking::Vpn::VpnPacketBuffer& vpnPacketBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->RequestVpnPacketBuffer(static_cast(type), impl::bind_out(vpnPacketBuffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel::LogDiagnosticMessage(param::hstring const& message) const + template auto consume_Windows_Networking_Vpn_IVpnChannel::LogDiagnosticMessage(param::hstring const& message) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->LogDiagnosticMessage(*(void**)(&message))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Vpn_IVpnChannel::Id() const + template auto consume_Windows_Networking_Vpn_IVpnChannel::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnChannelConfiguration) consume_Windows_Networking_Vpn_IVpnChannel::Configuration() const + template auto consume_Windows_Networking_Vpn_IVpnChannel::Configuration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->get_Configuration(&value)); return winrt::Windows::Networking::Vpn::VpnChannelConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Vpn_IVpnChannel::ActivityChange(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Vpn_IVpnChannel::ActivityChange(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->add_ActivityChange(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_Vpn_IVpnChannel::ActivityChange_revoker consume_Windows_Networking_Vpn_IVpnChannel::ActivityChange(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Vpn_IVpnChannel::ActivityChange(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ActivityChange(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel::ActivityChange(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_Vpn_IVpnChannel::ActivityChange(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->remove_ActivityChange(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel::PlugInContext(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_Networking_Vpn_IVpnChannel::PlugInContext(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->put_PlugInContext(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Networking_Vpn_IVpnChannel::PlugInContext() const + template auto consume_Windows_Networking_Vpn_IVpnChannel::PlugInContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->get_PlugInContext(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnSystemHealth) consume_Windows_Networking_Vpn_IVpnChannel::SystemHealth() const + template auto consume_Windows_Networking_Vpn_IVpnChannel::SystemHealth() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->get_SystemHealth(&value)); return winrt::Windows::Networking::Vpn::VpnSystemHealth{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel::RequestCustomPrompt(param::vector_view const& customPrompt) const + template auto consume_Windows_Networking_Vpn_IVpnChannel::RequestCustomPrompt(param::vector_view const& customPrompt) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->RequestCustomPrompt(*(void**)(&customPrompt))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel::SetErrorMessage(param::hstring const& message) const + template auto consume_Windows_Networking_Vpn_IVpnChannel::SetErrorMessage(param::hstring const& message) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->SetErrorMessage(*(void**)(&message))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel::SetAllowedSslTlsVersions(winrt::Windows::Foundation::IInspectable const& tunnelTransport, bool useTls12) const + template auto consume_Windows_Networking_Vpn_IVpnChannel::SetAllowedSslTlsVersions(winrt::Windows::Foundation::IInspectable const& tunnelTransport, bool useTls12) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->SetAllowedSslTlsVersions(*(void**)(&tunnelTransport), useTls12)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel2::StartWithMainTransport(param::vector_view const& assignedClientIPv4list, param::vector_view const& assignedClientIPv6list, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedDomainName, uint32_t mtuSize, uint32_t maxFrameSize, bool Reserved, winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport) const + template auto consume_Windows_Networking_Vpn_IVpnChannel2::StartWithMainTransport(param::vector_view const& assignedClientIPv4list, param::vector_view const& assignedClientIPv6list, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedDomainName, uint32_t mtuSize, uint32_t maxFrameSize, bool Reserved, winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel2)->StartWithMainTransport(*(void**)(&assignedClientIPv4list), *(void**)(&assignedClientIPv6list), *(void**)(&vpnInterfaceId), *(void**)(&assignedRoutes), *(void**)(&assignedDomainName), mtuSize, maxFrameSize, Reserved, *(void**)(&mainOuterTunnelTransport))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel2::StartExistingTransports(param::vector_view const& assignedClientIPv4list, param::vector_view const& assignedClientIPv6list, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedDomainName, uint32_t mtuSize, uint32_t maxFrameSize, bool Reserved) const + template auto consume_Windows_Networking_Vpn_IVpnChannel2::StartExistingTransports(param::vector_view const& assignedClientIPv4list, param::vector_view const& assignedClientIPv6list, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedDomainName, uint32_t mtuSize, uint32_t maxFrameSize, bool Reserved) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel2)->StartExistingTransports(*(void**)(&assignedClientIPv4list), *(void**)(&assignedClientIPv6list), *(void**)(&vpnInterfaceId), *(void**)(&assignedRoutes), *(void**)(&assignedDomainName), mtuSize, maxFrameSize, Reserved)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Vpn_IVpnChannel2::ActivityStateChange(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Vpn_IVpnChannel2::ActivityStateChange(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel2)->add_ActivityStateChange(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_Vpn_IVpnChannel2::ActivityStateChange_revoker consume_Windows_Networking_Vpn_IVpnChannel2::ActivityStateChange(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_Vpn_IVpnChannel2::ActivityStateChange(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ActivityStateChange(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel2::ActivityStateChange(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_Vpn_IVpnChannel2::ActivityStateChange(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel2)->remove_ActivityStateChange(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) consume_Windows_Networking_Vpn_IVpnChannel2::GetVpnSendPacketBuffer() const + template auto consume_Windows_Networking_Vpn_IVpnChannel2::GetVpnSendPacketBuffer() const { void* vpnSendPacketBuffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel2)->GetVpnSendPacketBuffer(&vpnSendPacketBuffer)); return winrt::Windows::Networking::Vpn::VpnPacketBuffer{ vpnSendPacketBuffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) consume_Windows_Networking_Vpn_IVpnChannel2::GetVpnReceivePacketBuffer() const + template auto consume_Windows_Networking_Vpn_IVpnChannel2::GetVpnReceivePacketBuffer() const { void* vpnReceivePacketBuffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel2)->GetVpnReceivePacketBuffer(&vpnReceivePacketBuffer)); return winrt::Windows::Networking::Vpn::VpnPacketBuffer{ vpnReceivePacketBuffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Vpn_IVpnChannel2::RequestCustomPromptAsync(param::async_vector_view const& customPromptElement) const + template auto consume_Windows_Networking_Vpn_IVpnChannel2::RequestCustomPromptAsync(param::async_vector_view const& customPromptElement) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel2)->RequestCustomPromptAsync(*(void**)(&customPromptElement), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Vpn_IVpnChannel2::RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, uint32_t credOptions, winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const + template auto consume_Windows_Networking_Vpn_IVpnChannel2::RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, uint32_t credOptions, winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const { void* credential{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel2)->RequestCredentialsWithCertificateAsync(static_cast(credType), credOptions, *(void**)(&certificate), &credential)); return winrt::Windows::Foundation::IAsyncOperation{ credential, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Vpn_IVpnChannel2::RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, uint32_t credOptions) const + template auto consume_Windows_Networking_Vpn_IVpnChannel2::RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, uint32_t credOptions) const { void* credential{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel2)->RequestCredentialsWithOptionsAsync(static_cast(credType), credOptions, &credential)); return winrt::Windows::Foundation::IAsyncOperation{ credential, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Vpn_IVpnChannel2::RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType) const + template auto consume_Windows_Networking_Vpn_IVpnChannel2::RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType) const { void* credential{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel2)->RequestCredentialsSimpleAsync(static_cast(credType), &credential)); return winrt::Windows::Foundation::IAsyncOperation{ credential, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel2::TerminateConnection(param::hstring const& message) const + template auto consume_Windows_Networking_Vpn_IVpnChannel2::TerminateConnection(param::hstring const& message) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel2)->TerminateConnection(*(void**)(&message))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel2::StartWithTrafficFilter(param::vector_view const& assignedClientIpv4List, param::vector_view const& assignedClientIpv6List, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedNamespace, uint32_t mtuSize, uint32_t maxFrameSize, bool reserved, winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport, winrt::Windows::Networking::Vpn::VpnTrafficFilterAssignment const& assignedTrafficFilters) const + template auto consume_Windows_Networking_Vpn_IVpnChannel2::StartWithTrafficFilter(param::vector_view const& assignedClientIpv4List, param::vector_view const& assignedClientIpv6List, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedNamespace, uint32_t mtuSize, uint32_t maxFrameSize, bool reserved, winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport, winrt::Windows::Networking::Vpn::VpnTrafficFilterAssignment const& assignedTrafficFilters) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel2)->StartWithTrafficFilter(*(void**)(&assignedClientIpv4List), *(void**)(&assignedClientIpv6List), *(void**)(&vpnInterfaceId), *(void**)(&assignedRoutes), *(void**)(&assignedNamespace), mtuSize, maxFrameSize, reserved, *(void**)(&mainOuterTunnelTransport), *(void**)(&optionalOuterTunnelTransport), *(void**)(&assignedTrafficFilters))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel4::AddAndAssociateTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const + template auto consume_Windows_Networking_Vpn_IVpnChannel4::AddAndAssociateTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel4)->AddAndAssociateTransport(*(void**)(&transport), *(void**)(&context))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel4::StartWithTrafficFilter(param::iterable const& assignedClientIpv4Addresses, param::iterable const& assignedClientIpv6Addresses, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpninterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedNamespace, uint32_t mtuSize, uint32_t maxFrameSize, bool reserved, param::iterable const& transports, winrt::Windows::Networking::Vpn::VpnTrafficFilterAssignment const& assignedTrafficFilters) const + template auto consume_Windows_Networking_Vpn_IVpnChannel4::StartWithTrafficFilter(param::iterable const& assignedClientIpv4Addresses, param::iterable const& assignedClientIpv6Addresses, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpninterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedNamespace, uint32_t mtuSize, uint32_t maxFrameSize, bool reserved, param::iterable const& transports, winrt::Windows::Networking::Vpn::VpnTrafficFilterAssignment const& assignedTrafficFilters) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel4)->StartWithMultipleTransports(*(void**)(&assignedClientIpv4Addresses), *(void**)(&assignedClientIpv6Addresses), *(void**)(&vpninterfaceId), *(void**)(&assignedRoutes), *(void**)(&assignedNamespace), mtuSize, maxFrameSize, reserved, *(void**)(&transports), *(void**)(&assignedTrafficFilters))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel4::ReplaceAndAssociateTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const + template auto consume_Windows_Networking_Vpn_IVpnChannel4::ReplaceAndAssociateTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel4)->ReplaceAndAssociateTransport(*(void**)(&transport), *(void**)(&context))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel4::StartReconnectingTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const + template auto consume_Windows_Networking_Vpn_IVpnChannel4::StartReconnectingTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel4)->StartReconnectingTransport(*(void**)(&transport), *(void**)(&context))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTriggerStatus) consume_Windows_Networking_Vpn_IVpnChannel4::GetSlotTypeForTransportContext(winrt::Windows::Foundation::IInspectable const& context) const + template auto consume_Windows_Networking_Vpn_IVpnChannel4::GetSlotTypeForTransportContext(winrt::Windows::Foundation::IInspectable const& context) const { winrt::Windows::Networking::Sockets::ControlChannelTriggerStatus slotType{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel4)->GetSlotTypeForTransportContext(*(void**)(&context), reinterpret_cast(&slotType))); return slotType; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Networking_Vpn_IVpnChannel4::CurrentRequestTransportContext() const + template auto consume_Windows_Networking_Vpn_IVpnChannel4::CurrentRequestTransportContext() const { void* context{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel4)->get_CurrentRequestTransportContext(&context)); return winrt::Windows::Foundation::IInspectable{ context, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel5::AppendVpnReceivePacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& decapsulatedPacketBuffer) const + template auto consume_Windows_Networking_Vpn_IVpnChannel5::AppendVpnReceivePacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& decapsulatedPacketBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel5)->AppendVpnReceivePacketBuffer(*(void**)(&decapsulatedPacketBuffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel5::AppendVpnSendPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& encapsulatedPacketBuffer) const + template auto consume_Windows_Networking_Vpn_IVpnChannel5::AppendVpnSendPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& encapsulatedPacketBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel5)->AppendVpnSendPacketBuffer(*(void**)(&encapsulatedPacketBuffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel5::FlushVpnReceivePacketBuffers() const + template auto consume_Windows_Networking_Vpn_IVpnChannel5::FlushVpnReceivePacketBuffers() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel5)->FlushVpnReceivePacketBuffers()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel5::FlushVpnSendPacketBuffers() const + template auto consume_Windows_Networking_Vpn_IVpnChannel5::FlushVpnSendPacketBuffers() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel5)->FlushVpnSendPacketBuffers()); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnChannelActivityEventType) consume_Windows_Networking_Vpn_IVpnChannelActivityEventArgs::Type() const + template auto consume_Windows_Networking_Vpn_IVpnChannelActivityEventArgs::Type() const { winrt::Windows::Networking::Vpn::VpnChannelActivityEventType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannelActivityEventArgs)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnChannelActivityEventType) consume_Windows_Networking_Vpn_IVpnChannelActivityStateChangedArgs::ActivityState() const + template auto consume_Windows_Networking_Vpn_IVpnChannelActivityStateChangedArgs::ActivityState() const { winrt::Windows::Networking::Vpn::VpnChannelActivityEventType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannelActivityStateChangedArgs)->get_ActivityState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnChannelConfiguration::ServerServiceName() const + template auto consume_Windows_Networking_Vpn_IVpnChannelConfiguration::ServerServiceName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannelConfiguration)->get_ServerServiceName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Vpn_IVpnChannelConfiguration::ServerHostNameList() const + template auto consume_Windows_Networking_Vpn_IVpnChannelConfiguration::ServerHostNameList() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannelConfiguration)->get_ServerHostNameList(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnChannelConfiguration::CustomField() const + template auto consume_Windows_Networking_Vpn_IVpnChannelConfiguration::CustomField() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannelConfiguration)->get_CustomField(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Vpn_IVpnChannelConfiguration2::ServerUris() const + template auto consume_Windows_Networking_Vpn_IVpnChannelConfiguration2::ServerUris() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannelConfiguration2)->get_ServerUris(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannelStatics::ProcessEventAsync(winrt::Windows::Foundation::IInspectable const& thirdPartyPlugIn, winrt::Windows::Foundation::IInspectable const& event) const + template auto consume_Windows_Networking_Vpn_IVpnChannelStatics::ProcessEventAsync(winrt::Windows::Foundation::IInspectable const& thirdPartyPlugIn, winrt::Windows::Foundation::IInspectable const& event) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannelStatics)->ProcessEventAsync(*(void**)(&thirdPartyPlugIn), *(void**)(&event))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Networking_Vpn_IVpnCredential::PasskeyCredential() const + template auto consume_Windows_Networking_Vpn_IVpnCredential::PasskeyCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCredential)->get_PasskeyCredential(&value)); return winrt::Windows::Security::Credentials::PasswordCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Networking_Vpn_IVpnCredential::CertificateCredential() const + template auto consume_Windows_Networking_Vpn_IVpnCredential::CertificateCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCredential)->get_CertificateCredential(&value)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCredential::AdditionalPin() const + template auto consume_Windows_Networking_Vpn_IVpnCredential::AdditionalPin() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCredential)->get_AdditionalPin(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Networking_Vpn_IVpnCredential::OldPasswordCredential() const + template auto consume_Windows_Networking_Vpn_IVpnCredential::OldPasswordCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCredential)->get_OldPasswordCredential(&value)); return winrt::Windows::Security::Credentials::PasswordCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomCheckBox::InitialCheckState(bool value) const + template auto consume_Windows_Networking_Vpn_IVpnCustomCheckBox::InitialCheckState(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomCheckBox)->put_InitialCheckState(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomCheckBox::InitialCheckState() const + template auto consume_Windows_Networking_Vpn_IVpnCustomCheckBox::InitialCheckState() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomCheckBox)->get_InitialCheckState(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomCheckBox::Checked() const + template auto consume_Windows_Networking_Vpn_IVpnCustomCheckBox::Checked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomCheckBox)->get_Checked(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomComboBox::OptionsText(param::async_vector_view const& value) const + template auto consume_Windows_Networking_Vpn_IVpnCustomComboBox::OptionsText(param::async_vector_view const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomComboBox)->put_OptionsText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_Vpn_IVpnCustomComboBox::OptionsText() const + template auto consume_Windows_Networking_Vpn_IVpnCustomComboBox::OptionsText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomComboBox)->get_OptionsText(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Vpn_IVpnCustomComboBox::Selected() const + template auto consume_Windows_Networking_Vpn_IVpnCustomComboBox::Selected() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomComboBox)->get_Selected(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomEditBox::DefaultText(param::hstring const& value) const + template auto consume_Windows_Networking_Vpn_IVpnCustomEditBox::DefaultText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomEditBox)->put_DefaultText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCustomEditBox::DefaultText() const + template auto consume_Windows_Networking_Vpn_IVpnCustomEditBox::DefaultText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomEditBox)->get_DefaultText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomEditBox::NoEcho(bool value) const + template auto consume_Windows_Networking_Vpn_IVpnCustomEditBox::NoEcho(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomEditBox)->put_NoEcho(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomEditBox::NoEcho() const + template auto consume_Windows_Networking_Vpn_IVpnCustomEditBox::NoEcho() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomEditBox)->get_NoEcho(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCustomEditBox::Text() const + template auto consume_Windows_Networking_Vpn_IVpnCustomEditBox::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomEditBox)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPrompt::Label(param::hstring const& value) const + template auto consume_Windows_Networking_Vpn_IVpnCustomPrompt::Label(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPrompt)->put_Label(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCustomPrompt::Label() const + template auto consume_Windows_Networking_Vpn_IVpnCustomPrompt::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPrompt)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPrompt::Compulsory(bool value) const + template auto consume_Windows_Networking_Vpn_IVpnCustomPrompt::Compulsory(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPrompt)->put_Compulsory(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomPrompt::Compulsory() const + template auto consume_Windows_Networking_Vpn_IVpnCustomPrompt::Compulsory() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPrompt)->get_Compulsory(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPrompt::Bordered(bool value) const + template auto consume_Windows_Networking_Vpn_IVpnCustomPrompt::Bordered(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPrompt)->put_Bordered(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomPrompt::Bordered() const + template auto consume_Windows_Networking_Vpn_IVpnCustomPrompt::Bordered() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPrompt)->get_Bordered(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPromptBooleanInput::InitialValue(bool value) const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptBooleanInput::InitialValue(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptBooleanInput)->put_InitialValue(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomPromptBooleanInput::InitialValue() const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptBooleanInput::InitialValue() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptBooleanInput)->get_InitialValue(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomPromptBooleanInput::Value() const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptBooleanInput::Value() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptBooleanInput)->get_Value(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPromptElement::DisplayName(param::hstring const& value) const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptElement::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptElement)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCustomPromptElement::DisplayName() const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptElement::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptElement)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPromptElement::Compulsory(bool value) const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptElement::Compulsory(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptElement)->put_Compulsory(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomPromptElement::Compulsory() const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptElement::Compulsory() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptElement)->get_Compulsory(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPromptElement::Emphasized(bool value) const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptElement::Emphasized(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptElement)->put_Emphasized(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomPromptElement::Emphasized() const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptElement::Emphasized() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptElement)->get_Emphasized(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnCustomPromptOptionSelector::Options() const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptOptionSelector::Options() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptOptionSelector)->get_Options(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Vpn_IVpnCustomPromptOptionSelector::SelectedIndex() const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptOptionSelector::SelectedIndex() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptOptionSelector)->get_SelectedIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPromptText::Text(param::hstring const& value) const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptText::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptText)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCustomPromptText::Text() const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptText::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptText)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput::PlaceholderText(param::hstring const& value) const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput::PlaceholderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptTextInput)->put_PlaceholderText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput::PlaceholderText() const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput::PlaceholderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptTextInput)->get_PlaceholderText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput::IsTextHidden(bool value) const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput::IsTextHidden(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptTextInput)->put_IsTextHidden(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput::IsTextHidden() const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput::IsTextHidden() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptTextInput)->get_IsTextHidden(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput::Text() const + template auto consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptTextInput)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomTextBox::DisplayText(param::hstring const& value) const + template auto consume_Windows_Networking_Vpn_IVpnCustomTextBox::DisplayText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomTextBox)->put_DisplayText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCustomTextBox::DisplayText() const + template auto consume_Windows_Networking_Vpn_IVpnCustomTextBox::DisplayText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomTextBox)->get_DisplayText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnDomainNameAssignment::DomainNameList() const + template auto consume_Windows_Networking_Vpn_IVpnDomainNameAssignment::DomainNameList() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameAssignment)->get_DomainNameList(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnDomainNameAssignment::ProxyAutoConfigurationUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Networking_Vpn_IVpnDomainNameAssignment::ProxyAutoConfigurationUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameAssignment)->put_ProxyAutoConfigurationUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_Vpn_IVpnDomainNameAssignment::ProxyAutoConfigurationUri() const + template auto consume_Windows_Networking_Vpn_IVpnDomainNameAssignment::ProxyAutoConfigurationUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameAssignment)->get_ProxyAutoConfigurationUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnDomainNameInfo::DomainName(winrt::Windows::Networking::HostName const& value) const + template auto consume_Windows_Networking_Vpn_IVpnDomainNameInfo::DomainName(winrt::Windows::Networking::HostName const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameInfo)->put_DomainName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Vpn_IVpnDomainNameInfo::DomainName() const + template auto consume_Windows_Networking_Vpn_IVpnDomainNameInfo::DomainName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameInfo)->get_DomainName(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnDomainNameInfo::DomainNameType(winrt::Windows::Networking::Vpn::VpnDomainNameType const& value) const + template auto consume_Windows_Networking_Vpn_IVpnDomainNameInfo::DomainNameType(winrt::Windows::Networking::Vpn::VpnDomainNameType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameInfo)->put_DomainNameType(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnDomainNameType) consume_Windows_Networking_Vpn_IVpnDomainNameInfo::DomainNameType() const + template auto consume_Windows_Networking_Vpn_IVpnDomainNameInfo::DomainNameType() const { winrt::Windows::Networking::Vpn::VpnDomainNameType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameInfo)->get_DomainNameType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnDomainNameInfo::DnsServers() const + template auto consume_Windows_Networking_Vpn_IVpnDomainNameInfo::DnsServers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameInfo)->get_DnsServers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnDomainNameInfo::WebProxyServers() const + template auto consume_Windows_Networking_Vpn_IVpnDomainNameInfo::WebProxyServers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameInfo)->get_WebProxyServers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnDomainNameInfo2::WebProxyUris() const + template auto consume_Windows_Networking_Vpn_IVpnDomainNameInfo2::WebProxyUris() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameInfo2)->get_WebProxyUris(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnDomainNameInfo) consume_Windows_Networking_Vpn_IVpnDomainNameInfoFactory::CreateVpnDomainNameInfo(param::hstring const& name, winrt::Windows::Networking::Vpn::VpnDomainNameType const& nameType, param::iterable const& dnsServerList, param::iterable const& proxyServerList) const + template auto consume_Windows_Networking_Vpn_IVpnDomainNameInfoFactory::CreateVpnDomainNameInfo(param::hstring const& name, winrt::Windows::Networking::Vpn::VpnDomainNameType const& nameType, param::iterable const& dnsServerList, param::iterable const& proxyServerList) const { void* domainNameInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameInfoFactory)->CreateVpnDomainNameInfo(*(void**)(&name), static_cast(nameType), *(void**)(&dnsServerList), *(void**)(&proxyServerList), &domainNameInfo)); return winrt::Windows::Networking::Vpn::VpnDomainNameInfo{ domainNameInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnInterfaceId::GetAddressInfo(com_array& id) const + template auto consume_Windows_Networking_Vpn_IVpnInterfaceId::GetAddressInfo(com_array& id) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnInterfaceId)->GetAddressInfo(impl::put_size_abi(id), put_abi(id))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnInterfaceId) consume_Windows_Networking_Vpn_IVpnInterfaceIdFactory::CreateVpnInterfaceId(array_view address) const + template auto consume_Windows_Networking_Vpn_IVpnInterfaceIdFactory::CreateVpnInterfaceId(array_view address) const { void* vpnInterfaceId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnInterfaceIdFactory)->CreateVpnInterfaceId(address.size(), get_abi(address), &vpnInterfaceId)); return winrt::Windows::Networking::Vpn::VpnInterfaceId{ vpnInterfaceId, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Vpn_IVpnManagementAgent::AddProfileFromXmlAsync(param::hstring const& xml) const + template auto consume_Windows_Networking_Vpn_IVpnManagementAgent::AddProfileFromXmlAsync(param::hstring const& xml) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnManagementAgent)->AddProfileFromXmlAsync(*(void**)(&xml), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Vpn_IVpnManagementAgent::AddProfileFromObjectAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const + template auto consume_Windows_Networking_Vpn_IVpnManagementAgent::AddProfileFromObjectAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnManagementAgent)->AddProfileFromObjectAsync(*(void**)(&profile), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Vpn_IVpnManagementAgent::UpdateProfileFromXmlAsync(param::hstring const& xml) const + template auto consume_Windows_Networking_Vpn_IVpnManagementAgent::UpdateProfileFromXmlAsync(param::hstring const& xml) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnManagementAgent)->UpdateProfileFromXmlAsync(*(void**)(&xml), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Vpn_IVpnManagementAgent::UpdateProfileFromObjectAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const + template auto consume_Windows_Networking_Vpn_IVpnManagementAgent::UpdateProfileFromObjectAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnManagementAgent)->UpdateProfileFromObjectAsync(*(void**)(&profile), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Networking_Vpn_IVpnManagementAgent::GetProfilesAsync() const + template auto consume_Windows_Networking_Vpn_IVpnManagementAgent::GetProfilesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnManagementAgent)->GetProfilesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Vpn_IVpnManagementAgent::DeleteProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const + template auto consume_Windows_Networking_Vpn_IVpnManagementAgent::DeleteProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnManagementAgent)->DeleteProfileAsync(*(void**)(&profile), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Vpn_IVpnManagementAgent::ConnectProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const + template auto consume_Windows_Networking_Vpn_IVpnManagementAgent::ConnectProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnManagementAgent)->ConnectProfileAsync(*(void**)(&profile), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Vpn_IVpnManagementAgent::ConnectProfileWithPasswordCredentialAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const + template auto consume_Windows_Networking_Vpn_IVpnManagementAgent::ConnectProfileWithPasswordCredentialAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnManagementAgent)->ConnectProfileWithPasswordCredentialAsync(*(void**)(&profile), *(void**)(&passwordCredential), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_Vpn_IVpnManagementAgent::DisconnectProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const + template auto consume_Windows_Networking_Vpn_IVpnManagementAgent::DisconnectProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnManagementAgent)->DisconnectProfileAsync(*(void**)(&profile), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNamespaceAssignment::NamespaceList(param::vector const& value) const + template auto consume_Windows_Networking_Vpn_IVpnNamespaceAssignment::NamespaceList(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceAssignment)->put_NamespaceList(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnNamespaceAssignment::NamespaceList() const + template auto consume_Windows_Networking_Vpn_IVpnNamespaceAssignment::NamespaceList() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceAssignment)->get_NamespaceList(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNamespaceAssignment::ProxyAutoConfigUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Networking_Vpn_IVpnNamespaceAssignment::ProxyAutoConfigUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceAssignment)->put_ProxyAutoConfigUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_Vpn_IVpnNamespaceAssignment::ProxyAutoConfigUri() const + template auto consume_Windows_Networking_Vpn_IVpnNamespaceAssignment::ProxyAutoConfigUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceAssignment)->get_ProxyAutoConfigUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNamespaceInfo::Namespace(param::hstring const& value) const + template auto consume_Windows_Networking_Vpn_IVpnNamespaceInfo::Namespace(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceInfo)->put_Namespace(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnNamespaceInfo::Namespace() const + template auto consume_Windows_Networking_Vpn_IVpnNamespaceInfo::Namespace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceInfo)->get_Namespace(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNamespaceInfo::DnsServers(param::vector const& value) const + template auto consume_Windows_Networking_Vpn_IVpnNamespaceInfo::DnsServers(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceInfo)->put_DnsServers(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnNamespaceInfo::DnsServers() const + template auto consume_Windows_Networking_Vpn_IVpnNamespaceInfo::DnsServers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceInfo)->get_DnsServers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNamespaceInfo::WebProxyServers(param::vector const& value) const + template auto consume_Windows_Networking_Vpn_IVpnNamespaceInfo::WebProxyServers(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceInfo)->put_WebProxyServers(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnNamespaceInfo::WebProxyServers() const + template auto consume_Windows_Networking_Vpn_IVpnNamespaceInfo::WebProxyServers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceInfo)->get_WebProxyServers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnNamespaceInfo) consume_Windows_Networking_Vpn_IVpnNamespaceInfoFactory::CreateVpnNamespaceInfo(param::hstring const& name, param::vector const& dnsServerList, param::vector const& proxyServerList) const + template auto consume_Windows_Networking_Vpn_IVpnNamespaceInfoFactory::CreateVpnNamespaceInfo(param::hstring const& name, param::vector const& dnsServerList, param::vector const& proxyServerList) const { void* namespaceInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceInfoFactory)->CreateVpnNamespaceInfo(*(void**)(&name), *(void**)(&dnsServerList), *(void**)(&proxyServerList), &namespaceInfo)); return winrt::Windows::Networking::Vpn::VpnNamespaceInfo{ namespaceInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnNativeProfile::Servers() const + template auto consume_Windows_Networking_Vpn_IVpnNativeProfile::Servers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->get_Servers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType) consume_Windows_Networking_Vpn_IVpnNativeProfile::RoutingPolicyType() const + template auto consume_Windows_Networking_Vpn_IVpnNativeProfile::RoutingPolicyType() const { winrt::Windows::Networking::Vpn::VpnRoutingPolicyType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->get_RoutingPolicyType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNativeProfile::RoutingPolicyType(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType const& value) const + template auto consume_Windows_Networking_Vpn_IVpnNativeProfile::RoutingPolicyType(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->put_RoutingPolicyType(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnNativeProtocolType) consume_Windows_Networking_Vpn_IVpnNativeProfile::NativeProtocolType() const + template auto consume_Windows_Networking_Vpn_IVpnNativeProfile::NativeProtocolType() const { winrt::Windows::Networking::Vpn::VpnNativeProtocolType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->get_NativeProtocolType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNativeProfile::NativeProtocolType(winrt::Windows::Networking::Vpn::VpnNativeProtocolType const& value) const + template auto consume_Windows_Networking_Vpn_IVpnNativeProfile::NativeProtocolType(winrt::Windows::Networking::Vpn::VpnNativeProtocolType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->put_NativeProtocolType(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod) consume_Windows_Networking_Vpn_IVpnNativeProfile::UserAuthenticationMethod() const + template auto consume_Windows_Networking_Vpn_IVpnNativeProfile::UserAuthenticationMethod() const { winrt::Windows::Networking::Vpn::VpnAuthenticationMethod value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->get_UserAuthenticationMethod(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNativeProfile::UserAuthenticationMethod(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod const& value) const + template auto consume_Windows_Networking_Vpn_IVpnNativeProfile::UserAuthenticationMethod(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->put_UserAuthenticationMethod(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod) consume_Windows_Networking_Vpn_IVpnNativeProfile::TunnelAuthenticationMethod() const + template auto consume_Windows_Networking_Vpn_IVpnNativeProfile::TunnelAuthenticationMethod() const { winrt::Windows::Networking::Vpn::VpnAuthenticationMethod value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->get_TunnelAuthenticationMethod(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNativeProfile::TunnelAuthenticationMethod(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod const& value) const + template auto consume_Windows_Networking_Vpn_IVpnNativeProfile::TunnelAuthenticationMethod(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->put_TunnelAuthenticationMethod(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnNativeProfile::EapConfiguration() const + template auto consume_Windows_Networking_Vpn_IVpnNativeProfile::EapConfiguration() const { void* Value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->get_EapConfiguration(&Value)); return hstring{ Value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNativeProfile::EapConfiguration(param::hstring const& value) const + template auto consume_Windows_Networking_Vpn_IVpnNativeProfile::EapConfiguration(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->put_EapConfiguration(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnNativeProfile2::RequireVpnClientAppUI() const + template auto consume_Windows_Networking_Vpn_IVpnNativeProfile2::RequireVpnClientAppUI() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile2)->get_RequireVpnClientAppUI(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNativeProfile2::RequireVpnClientAppUI(bool value) const + template auto consume_Windows_Networking_Vpn_IVpnNativeProfile2::RequireVpnClientAppUI(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile2)->put_RequireVpnClientAppUI(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnManagementConnectionStatus) consume_Windows_Networking_Vpn_IVpnNativeProfile2::ConnectionStatus() const + template auto consume_Windows_Networking_Vpn_IVpnNativeProfile2::ConnectionStatus() const { winrt::Windows::Networking::Vpn::VpnManagementConnectionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile2)->get_ConnectionStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::Buffer) consume_Windows_Networking_Vpn_IVpnPacketBuffer::Buffer() const + template auto consume_Windows_Networking_Vpn_IVpnPacketBuffer::Buffer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBuffer)->get_Buffer(&value)); return winrt::Windows::Storage::Streams::Buffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBuffer::Status(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus const& value) const + template auto consume_Windows_Networking_Vpn_IVpnPacketBuffer::Status(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBuffer)->put_Status(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus) consume_Windows_Networking_Vpn_IVpnPacketBuffer::Status() const + template auto consume_Windows_Networking_Vpn_IVpnPacketBuffer::Status() const { winrt::Windows::Networking::Vpn::VpnPacketBufferStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBuffer)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBuffer::TransportAffinity(uint32_t value) const + template auto consume_Windows_Networking_Vpn_IVpnPacketBuffer::TransportAffinity(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBuffer)->put_TransportAffinity(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Vpn_IVpnPacketBuffer::TransportAffinity() const + template auto consume_Windows_Networking_Vpn_IVpnPacketBuffer::TransportAffinity() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBuffer)->get_TransportAffinity(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAppId) consume_Windows_Networking_Vpn_IVpnPacketBuffer2::AppId() const + template auto consume_Windows_Networking_Vpn_IVpnPacketBuffer2::AppId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBuffer2)->get_AppId(&value)); return winrt::Windows::Networking::Vpn::VpnAppId{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBuffer3::TransportContext(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_Networking_Vpn_IVpnPacketBuffer3::TransportContext(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBuffer3)->put_TransportContext(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Networking_Vpn_IVpnPacketBuffer3::TransportContext() const + template auto consume_Windows_Networking_Vpn_IVpnPacketBuffer3::TransportContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBuffer3)->get_TransportContext(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) consume_Windows_Networking_Vpn_IVpnPacketBufferFactory::CreateVpnPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& parentBuffer, uint32_t offset, uint32_t length) const + template auto consume_Windows_Networking_Vpn_IVpnPacketBufferFactory::CreateVpnPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& parentBuffer, uint32_t offset, uint32_t length) const { void* vpnPacketBuffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferFactory)->CreateVpnPacketBuffer(*(void**)(&parentBuffer), offset, length, &vpnPacketBuffer)); return winrt::Windows::Networking::Vpn::VpnPacketBuffer{ vpnPacketBuffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBufferList::Append(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const + template auto consume_Windows_Networking_Vpn_IVpnPacketBufferList::Append(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList)->Append(*(void**)(&nextVpnPacketBuffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBufferList::AddAtBegin(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const + template auto consume_Windows_Networking_Vpn_IVpnPacketBufferList::AddAtBegin(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList)->AddAtBegin(*(void**)(&nextVpnPacketBuffer))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) consume_Windows_Networking_Vpn_IVpnPacketBufferList::RemoveAtEnd() const + template auto consume_Windows_Networking_Vpn_IVpnPacketBufferList::RemoveAtEnd() const { void* nextVpnPacketBuffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList)->RemoveAtEnd(&nextVpnPacketBuffer)); return winrt::Windows::Networking::Vpn::VpnPacketBuffer{ nextVpnPacketBuffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) consume_Windows_Networking_Vpn_IVpnPacketBufferList::RemoveAtBegin() const + template auto consume_Windows_Networking_Vpn_IVpnPacketBufferList::RemoveAtBegin() const { void* nextVpnPacketBuffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList)->RemoveAtBegin(&nextVpnPacketBuffer)); return winrt::Windows::Networking::Vpn::VpnPacketBuffer{ nextVpnPacketBuffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBufferList::Clear() const + template auto consume_Windows_Networking_Vpn_IVpnPacketBufferList::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList)->Clear()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBufferList::Status(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus const& value) const + template auto consume_Windows_Networking_Vpn_IVpnPacketBufferList::Status(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList)->put_Status(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus) consume_Windows_Networking_Vpn_IVpnPacketBufferList::Status() const + template auto consume_Windows_Networking_Vpn_IVpnPacketBufferList::Status() const { winrt::Windows::Networking::Vpn::VpnPacketBufferStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Vpn_IVpnPacketBufferList::Size() const + template auto consume_Windows_Networking_Vpn_IVpnPacketBufferList::Size() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList)->get_Size(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBufferList2::AddLeadingPacket(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const + template auto consume_Windows_Networking_Vpn_IVpnPacketBufferList2::AddLeadingPacket(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList2)->AddLeadingPacket(*(void**)(&nextVpnPacketBuffer))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) consume_Windows_Networking_Vpn_IVpnPacketBufferList2::RemoveLeadingPacket() const + template auto consume_Windows_Networking_Vpn_IVpnPacketBufferList2::RemoveLeadingPacket() const { void* nextVpnPacketBuffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList2)->RemoveLeadingPacket(&nextVpnPacketBuffer)); return winrt::Windows::Networking::Vpn::VpnPacketBuffer{ nextVpnPacketBuffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBufferList2::AddTrailingPacket(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const + template auto consume_Windows_Networking_Vpn_IVpnPacketBufferList2::AddTrailingPacket(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList2)->AddTrailingPacket(*(void**)(&nextVpnPacketBuffer))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) consume_Windows_Networking_Vpn_IVpnPacketBufferList2::RemoveTrailingPacket() const + template auto consume_Windows_Networking_Vpn_IVpnPacketBufferList2::RemoveTrailingPacket() const { void* nextVpnPacketBuffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList2)->RemoveTrailingPacket(&nextVpnPacketBuffer)); return winrt::Windows::Networking::Vpn::VpnPacketBuffer{ nextVpnPacketBuffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Networking_Vpn_IVpnPickedCredential::PasskeyCredential() const + template auto consume_Windows_Networking_Vpn_IVpnPickedCredential::PasskeyCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPickedCredential)->get_PasskeyCredential(&value)); return winrt::Windows::Security::Credentials::PasswordCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnPickedCredential::AdditionalPin() const + template auto consume_Windows_Networking_Vpn_IVpnPickedCredential::AdditionalPin() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPickedCredential)->get_AdditionalPin(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Networking_Vpn_IVpnPickedCredential::OldPasswordCredential() const + template auto consume_Windows_Networking_Vpn_IVpnPickedCredential::OldPasswordCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPickedCredential)->get_OldPasswordCredential(&value)); return winrt::Windows::Security::Credentials::PasswordCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPlugIn::Connect(winrt::Windows::Networking::Vpn::VpnChannel const& channel) const + template auto consume_Windows_Networking_Vpn_IVpnPlugIn::Connect(winrt::Windows::Networking::Vpn::VpnChannel const& channel) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugIn)->Connect(*(void**)(&channel))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPlugIn::Disconnect(winrt::Windows::Networking::Vpn::VpnChannel const& channel) const + template auto consume_Windows_Networking_Vpn_IVpnPlugIn::Disconnect(winrt::Windows::Networking::Vpn::VpnChannel const& channel) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugIn)->Disconnect(*(void**)(&channel))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPlugIn::GetKeepAlivePayload(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBuffer& keepAlivePacket) const + template auto consume_Windows_Networking_Vpn_IVpnPlugIn::GetKeepAlivePayload(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBuffer& keepAlivePacket) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugIn)->GetKeepAlivePayload(*(void**)(&channel), impl::bind_out(keepAlivePacket))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPlugIn::Encapsulate(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& packets, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& encapulatedPackets) const + template auto consume_Windows_Networking_Vpn_IVpnPlugIn::Encapsulate(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& packets, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& encapulatedPackets) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugIn)->Encapsulate(*(void**)(&channel), *(void**)(&packets), *(void**)(&encapulatedPackets))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPlugIn::Decapsulate(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBuffer const& encapBuffer, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& decapsulatedPackets, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& controlPacketsToSend) const + template auto consume_Windows_Networking_Vpn_IVpnPlugIn::Decapsulate(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBuffer const& encapBuffer, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& decapsulatedPackets, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& controlPacketsToSend) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugIn)->Decapsulate(*(void**)(&channel), *(void**)(&encapBuffer), *(void**)(&decapsulatedPackets), *(void**)(&controlPacketsToSend))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnPlugInProfile::ServerUris() const + template auto consume_Windows_Networking_Vpn_IVpnPlugInProfile::ServerUris() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugInProfile)->get_ServerUris(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnPlugInProfile::CustomConfiguration() const + template auto consume_Windows_Networking_Vpn_IVpnPlugInProfile::CustomConfiguration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugInProfile)->get_CustomConfiguration(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPlugInProfile::CustomConfiguration(param::hstring const& value) const + template auto consume_Windows_Networking_Vpn_IVpnPlugInProfile::CustomConfiguration(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugInProfile)->put_CustomConfiguration(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnPlugInProfile::VpnPluginPackageFamilyName() const + template auto consume_Windows_Networking_Vpn_IVpnPlugInProfile::VpnPluginPackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugInProfile)->get_VpnPluginPackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPlugInProfile::VpnPluginPackageFamilyName(param::hstring const& value) const + template auto consume_Windows_Networking_Vpn_IVpnPlugInProfile::VpnPluginPackageFamilyName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugInProfile)->put_VpnPluginPackageFamilyName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnPlugInProfile2::RequireVpnClientAppUI() const + template auto consume_Windows_Networking_Vpn_IVpnPlugInProfile2::RequireVpnClientAppUI() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugInProfile2)->get_RequireVpnClientAppUI(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPlugInProfile2::RequireVpnClientAppUI(bool value) const + template auto consume_Windows_Networking_Vpn_IVpnPlugInProfile2::RequireVpnClientAppUI(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugInProfile2)->put_RequireVpnClientAppUI(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnManagementConnectionStatus) consume_Windows_Networking_Vpn_IVpnPlugInProfile2::ConnectionStatus() const + template auto consume_Windows_Networking_Vpn_IVpnPlugInProfile2::ConnectionStatus() const { winrt::Windows::Networking::Vpn::VpnManagementConnectionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugInProfile2)->get_ConnectionStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnProfile::ProfileName() const + template auto consume_Windows_Networking_Vpn_IVpnProfile::ProfileName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->get_ProfileName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnProfile::ProfileName(param::hstring const& value) const + template auto consume_Windows_Networking_Vpn_IVpnProfile::ProfileName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->put_ProfileName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnProfile::AppTriggers() const + template auto consume_Windows_Networking_Vpn_IVpnProfile::AppTriggers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->get_AppTriggers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnProfile::Routes() const + template auto consume_Windows_Networking_Vpn_IVpnProfile::Routes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->get_Routes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnProfile::DomainNameInfoList() const + template auto consume_Windows_Networking_Vpn_IVpnProfile::DomainNameInfoList() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->get_DomainNameInfoList(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnProfile::TrafficFilters() const + template auto consume_Windows_Networking_Vpn_IVpnProfile::TrafficFilters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->get_TrafficFilters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnProfile::RememberCredentials() const + template auto consume_Windows_Networking_Vpn_IVpnProfile::RememberCredentials() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->get_RememberCredentials(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnProfile::RememberCredentials(bool value) const + template auto consume_Windows_Networking_Vpn_IVpnProfile::RememberCredentials(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->put_RememberCredentials(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnProfile::AlwaysOn() const + template auto consume_Windows_Networking_Vpn_IVpnProfile::AlwaysOn() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->get_AlwaysOn(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnProfile::AlwaysOn(bool value) const + template auto consume_Windows_Networking_Vpn_IVpnProfile::AlwaysOn(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->put_AlwaysOn(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnRoute::Address(winrt::Windows::Networking::HostName const& value) const + template auto consume_Windows_Networking_Vpn_IVpnRoute::Address(winrt::Windows::Networking::HostName const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRoute)->put_Address(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Vpn_IVpnRoute::Address() const + template auto consume_Windows_Networking_Vpn_IVpnRoute::Address() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRoute)->get_Address(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnRoute::PrefixSize(uint8_t value) const + template auto consume_Windows_Networking_Vpn_IVpnRoute::PrefixSize(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRoute)->put_PrefixSize(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Networking_Vpn_IVpnRoute::PrefixSize() const + template auto consume_Windows_Networking_Vpn_IVpnRoute::PrefixSize() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRoute)->get_PrefixSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnRouteAssignment::Ipv4InclusionRoutes(param::vector const& value) const + template auto consume_Windows_Networking_Vpn_IVpnRouteAssignment::Ipv4InclusionRoutes(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->put_Ipv4InclusionRoutes(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnRouteAssignment::Ipv6InclusionRoutes(param::vector const& value) const + template auto consume_Windows_Networking_Vpn_IVpnRouteAssignment::Ipv6InclusionRoutes(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->put_Ipv6InclusionRoutes(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnRouteAssignment::Ipv4InclusionRoutes() const + template auto consume_Windows_Networking_Vpn_IVpnRouteAssignment::Ipv4InclusionRoutes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->get_Ipv4InclusionRoutes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnRouteAssignment::Ipv6InclusionRoutes() const + template auto consume_Windows_Networking_Vpn_IVpnRouteAssignment::Ipv6InclusionRoutes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->get_Ipv6InclusionRoutes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnRouteAssignment::Ipv4ExclusionRoutes(param::vector const& value) const + template auto consume_Windows_Networking_Vpn_IVpnRouteAssignment::Ipv4ExclusionRoutes(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->put_Ipv4ExclusionRoutes(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnRouteAssignment::Ipv6ExclusionRoutes(param::vector const& value) const + template auto consume_Windows_Networking_Vpn_IVpnRouteAssignment::Ipv6ExclusionRoutes(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->put_Ipv6ExclusionRoutes(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnRouteAssignment::Ipv4ExclusionRoutes() const + template auto consume_Windows_Networking_Vpn_IVpnRouteAssignment::Ipv4ExclusionRoutes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->get_Ipv4ExclusionRoutes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnRouteAssignment::Ipv6ExclusionRoutes() const + template auto consume_Windows_Networking_Vpn_IVpnRouteAssignment::Ipv6ExclusionRoutes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->get_Ipv6ExclusionRoutes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnRouteAssignment::ExcludeLocalSubnets(bool value) const + template auto consume_Windows_Networking_Vpn_IVpnRouteAssignment::ExcludeLocalSubnets(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->put_ExcludeLocalSubnets(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnRouteAssignment::ExcludeLocalSubnets() const + template auto consume_Windows_Networking_Vpn_IVpnRouteAssignment::ExcludeLocalSubnets() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->get_ExcludeLocalSubnets(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnRoute) consume_Windows_Networking_Vpn_IVpnRouteFactory::CreateVpnRoute(winrt::Windows::Networking::HostName const& address, uint8_t prefixSize) const + template auto consume_Windows_Networking_Vpn_IVpnRouteFactory::CreateVpnRoute(winrt::Windows::Networking::HostName const& address, uint8_t prefixSize) const { void* route{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteFactory)->CreateVpnRoute(*(void**)(&address), prefixSize, &route)); return winrt::Windows::Networking::Vpn::VpnRoute{ route, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::Buffer) consume_Windows_Networking_Vpn_IVpnSystemHealth::StatementOfHealth() const + template auto consume_Windows_Networking_Vpn_IVpnSystemHealth::StatementOfHealth() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnSystemHealth)->get_StatementOfHealth(&value)); return winrt::Windows::Storage::Streams::Buffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAppId) consume_Windows_Networking_Vpn_IVpnTrafficFilter::AppId() const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilter::AppId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->get_AppId(&value)); return winrt::Windows::Networking::Vpn::VpnAppId{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnTrafficFilter::AppId(winrt::Windows::Networking::Vpn::VpnAppId const& value) const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilter::AppId(winrt::Windows::Networking::Vpn::VpnAppId const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->put_AppId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnTrafficFilter::AppClaims() const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilter::AppClaims() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->get_AppClaims(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnIPProtocol) consume_Windows_Networking_Vpn_IVpnTrafficFilter::Protocol() const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilter::Protocol() const { winrt::Windows::Networking::Vpn::VpnIPProtocol value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->get_Protocol(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnTrafficFilter::Protocol(winrt::Windows::Networking::Vpn::VpnIPProtocol const& value) const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilter::Protocol(winrt::Windows::Networking::Vpn::VpnIPProtocol const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->put_Protocol(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnTrafficFilter::LocalPortRanges() const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilter::LocalPortRanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->get_LocalPortRanges(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnTrafficFilter::RemotePortRanges() const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilter::RemotePortRanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->get_RemotePortRanges(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnTrafficFilter::LocalAddressRanges() const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilter::LocalAddressRanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->get_LocalAddressRanges(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnTrafficFilter::RemoteAddressRanges() const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilter::RemoteAddressRanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->get_RemoteAddressRanges(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType) consume_Windows_Networking_Vpn_IVpnTrafficFilter::RoutingPolicyType() const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilter::RoutingPolicyType() const { winrt::Windows::Networking::Vpn::VpnRoutingPolicyType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->get_RoutingPolicyType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnTrafficFilter::RoutingPolicyType(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType const& value) const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilter::RoutingPolicyType(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->put_RoutingPolicyType(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment::TrafficFilterList() const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment::TrafficFilterList() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilterAssignment)->get_TrafficFilterList(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment::AllowOutbound() const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment::AllowOutbound() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilterAssignment)->get_AllowOutbound(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment::AllowOutbound(bool value) const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment::AllowOutbound(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilterAssignment)->put_AllowOutbound(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment::AllowInbound() const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment::AllowInbound() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilterAssignment)->get_AllowInbound(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment::AllowInbound(bool value) const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment::AllowInbound(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilterAssignment)->put_AllowInbound(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnTrafficFilter) consume_Windows_Networking_Vpn_IVpnTrafficFilterFactory::Create(winrt::Windows::Networking::Vpn::VpnAppId const& appId) const + template auto consume_Windows_Networking_Vpn_IVpnTrafficFilterFactory::Create(winrt::Windows::Networking::Vpn::VpnAppId const& appId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilterFactory)->Create(*(void**)(&appId), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.XboxLive.h b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.XboxLive.h index 736e54ea..6b6fcbfd 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.XboxLive.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.XboxLive.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_XboxLive_H #define WINRT_Windows_Networking_XboxLive_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Networking.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,487 +14,487 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Networking.XboxLive.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::SnapshotChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::SnapshotChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress)->add_SnapshotChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::SnapshotChanged_revoker consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::SnapshotChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::SnapshotChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SnapshotChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::SnapshotChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::SnapshotChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress)->remove_SnapshotChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::GetSnapshotAsBase64() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::GetSnapshotAsBase64() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress)->GetSnapshotAsBase64(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::GetSnapshotAsBuffer() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::GetSnapshotAsBuffer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress)->GetSnapshotAsBuffer(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::GetSnapshotAsBytes(array_view buffer, uint32_t& bytesWritten) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::GetSnapshotAsBytes(array_view buffer, uint32_t& bytesWritten) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress)->GetSnapshotAsBytes(buffer.size(), put_abi(buffer), &bytesWritten)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::Compare(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& otherDeviceAddress) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::Compare(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& otherDeviceAddress) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress)->Compare(*(void**)(&otherDeviceAddress), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::IsValid() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::IsValid() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress)->get_IsValid(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::IsLocal() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::IsLocal() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress)->get_IsLocal(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveNetworkAccessKind) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::NetworkAccessKind() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress::NetworkAccessKind() const { winrt::Windows::Networking::XboxLive::XboxLiveNetworkAccessKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress)->get_NetworkAccessKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics::CreateFromSnapshotBase64(param::hstring const& base64) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics::CreateFromSnapshotBase64(param::hstring const& base64) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddressStatics)->CreateFromSnapshotBase64(*(void**)(&base64), &value)); return winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics::CreateFromSnapshotBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics::CreateFromSnapshotBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddressStatics)->CreateFromSnapshotBuffer(*(void**)(&buffer), &value)); return winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics::CreateFromSnapshotBytes(array_view buffer) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics::CreateFromSnapshotBytes(array_view buffer) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddressStatics)->CreateFromSnapshotBytes(buffer.size(), get_abi(buffer), &value)); return winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics::GetLocal() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics::GetLocal() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddressStatics)->GetLocal(&value)); return winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics::MaxSnapshotBytesSize() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics::MaxSnapshotBytesSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddressStatics)->get_MaxSnapshotBytesSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair)->add_StateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::StateChanged_revoker consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::StateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::StateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair)->remove_StateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::DeleteAsync() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::DeleteAsync() const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair)->DeleteAsync(&action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::GetRemoteSocketAddressBytes(array_view socketAddress) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::GetRemoteSocketAddressBytes(array_view socketAddress) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair)->GetRemoteSocketAddressBytes(socketAddress.size(), put_abi(socketAddress))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::GetLocalSocketAddressBytes(array_view socketAddress) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::GetLocalSocketAddressBytes(array_view socketAddress) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair)->GetLocalSocketAddressBytes(socketAddress.size(), put_abi(socketAddress))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairState) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::State() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::State() const { winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::Template() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::Template() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair)->get_Template(&value)); return winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::RemoteDeviceAddress() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::RemoteDeviceAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair)->get_RemoteDeviceAddress(&value)); return winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::RemoteHostName() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::RemoteHostName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair)->get_RemoteHostName(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::RemotePort() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::RemotePort() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair)->get_RemotePort(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::LocalHostName() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::LocalHostName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair)->get_LocalHostName(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::LocalPort() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair::LocalPort() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair)->get_LocalPort(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult::DeviceAddress() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult::DeviceAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairCreationResult)->get_DeviceAddress(&value)); return winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationStatus) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult::Status() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult::Status() const { winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairCreationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult::IsExistingPathEvaluation() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult::IsExistingPathEvaluation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairCreationResult)->get_IsExistingPathEvaluation(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult::EndpointPair() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult::EndpointPair() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairCreationResult)->get_EndpointPair(&value)); return winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairState) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStateChangedEventArgs::OldState() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStateChangedEventArgs::OldState() const { winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairStateChangedEventArgs)->get_OldState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairState) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStateChangedEventArgs::NewState() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStateChangedEventArgs::NewState() const { winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairStateChangedEventArgs)->get_NewState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStatics::FindEndpointPairBySocketAddressBytes(array_view localSocketAddress, array_view remoteSocketAddress) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStatics::FindEndpointPairBySocketAddressBytes(array_view localSocketAddress, array_view remoteSocketAddress) const { void* endpointPair{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairStatics)->FindEndpointPairBySocketAddressBytes(localSocketAddress.size(), get_abi(localSocketAddress), remoteSocketAddress.size(), get_abi(remoteSocketAddress), &endpointPair)); return winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair{ endpointPair, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStatics::FindEndpointPairByHostNamesAndPorts(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localPort, winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remotePort) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStatics::FindEndpointPairByHostNamesAndPorts(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localPort, winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remotePort) const { void* endpointPair{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairStatics)->FindEndpointPairByHostNamesAndPorts(*(void**)(&localHostName), *(void**)(&localPort), *(void**)(&remoteHostName), *(void**)(&remotePort), &endpointPair)); return winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair{ endpointPair, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::InboundEndpointPairCreated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::InboundEndpointPairCreated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->add_InboundEndpointPairCreated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::InboundEndpointPairCreated_revoker consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::InboundEndpointPairCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::InboundEndpointPairCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, InboundEndpointPairCreated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::InboundEndpointPairCreated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::InboundEndpointPairCreated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->remove_InboundEndpointPairCreated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::CreateEndpointPairAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::CreateEndpointPairAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->CreateEndpointPairDefaultAsync(*(void**)(&deviceAddress), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::CreateEndpointPairAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationBehaviors const& behaviors) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::CreateEndpointPairAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationBehaviors const& behaviors) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->CreateEndpointPairWithBehaviorsAsync(*(void**)(&deviceAddress), static_cast(behaviors), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::CreateEndpointPairForPortsAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, param::hstring const& initiatorPort, param::hstring const& acceptorPort) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::CreateEndpointPairForPortsAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, param::hstring const& initiatorPort, param::hstring const& acceptorPort) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->CreateEndpointPairForPortsDefaultAsync(*(void**)(&deviceAddress), *(void**)(&initiatorPort), *(void**)(&acceptorPort), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::CreateEndpointPairForPortsAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, param::hstring const& initiatorPort, param::hstring const& acceptorPort, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationBehaviors const& behaviors) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::CreateEndpointPairForPortsAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, param::hstring const& initiatorPort, param::hstring const& acceptorPort, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationBehaviors const& behaviors) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->CreateEndpointPairForPortsWithBehaviorsAsync(*(void**)(&deviceAddress), *(void**)(&initiatorPort), *(void**)(&acceptorPort), static_cast(behaviors), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::Name() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveSocketKind) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::SocketKind() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::SocketKind() const { winrt::Windows::Networking::XboxLive::XboxLiveSocketKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->get_SocketKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::InitiatorBoundPortRangeLower() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::InitiatorBoundPortRangeLower() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->get_InitiatorBoundPortRangeLower(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::InitiatorBoundPortRangeUpper() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::InitiatorBoundPortRangeUpper() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->get_InitiatorBoundPortRangeUpper(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::AcceptorBoundPortRangeLower() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::AcceptorBoundPortRangeLower() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->get_AcceptorBoundPortRangeLower(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::AcceptorBoundPortRangeUpper() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::AcceptorBoundPortRangeUpper() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->get_AcceptorBoundPortRangeUpper(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::EndpointPairs() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate::EndpointPairs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->get_EndpointPairs(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplateStatics::GetTemplateByName(param::hstring const& name) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplateStatics::GetTemplateByName(param::hstring const& name) const { void* namedTemplate{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplateStatics)->GetTemplateByName(*(void**)(&name), &namedTemplate)); return winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate{ namedTemplate, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplateStatics::Templates() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplateStatics::Templates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplateStatics)->get_Templates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair) consume_Windows_Networking_XboxLive_IXboxLiveInboundEndpointPairCreatedEventArgs::EndpointPair() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveInboundEndpointPairCreatedEventArgs::EndpointPair() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveInboundEndpointPairCreatedEventArgs)->get_EndpointPair(&value)); return winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::MeasureAsync() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::MeasureAsync() const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->MeasureAsync(&action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::GetMetricResultsForDevice(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::GetMetricResultsForDevice(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->GetMetricResultsForDevice(*(void**)(&deviceAddress), &value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::GetMetricResultsForMetric(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric const& metric) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::GetMetricResultsForMetric(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric const& metric) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->GetMetricResultsForMetric(static_cast(metric), &value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetricResult) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::GetMetricResult(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric const& metric) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::GetMetricResult(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric const& metric) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->GetMetricResult(*(void**)(&deviceAddress), static_cast(metric), &value)); return winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetricResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServicePrivatePayloadResult) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::GetPrivatePayloadResult(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::GetPrivatePayloadResult(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->GetPrivatePayloadResult(*(void**)(&deviceAddress), &value)); return winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServicePrivatePayloadResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::Metrics() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::Metrics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->get_Metrics(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::DeviceAddresses() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::DeviceAddresses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->get_DeviceAddresses(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::ShouldRequestPrivatePayloads() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::ShouldRequestPrivatePayloads() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->get_ShouldRequestPrivatePayloads(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::ShouldRequestPrivatePayloads(bool value) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::ShouldRequestPrivatePayloads(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->put_ShouldRequestPrivatePayloads(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::TimeoutInMilliseconds() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::TimeoutInMilliseconds() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->get_TimeoutInMilliseconds(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::TimeoutInMilliseconds(uint32_t value) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::TimeoutInMilliseconds(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->put_TimeoutInMilliseconds(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::NumberOfProbesToAttempt() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::NumberOfProbesToAttempt() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->get_NumberOfProbesToAttempt(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::NumberOfProbesToAttempt(uint32_t value) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::NumberOfProbesToAttempt(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->put_NumberOfProbesToAttempt(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::NumberOfResultsPending() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::NumberOfResultsPending() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->get_NumberOfResultsPending(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::MetricResults() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::MetricResults() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->get_MetricResults(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::PrivatePayloadResults() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement::PrivatePayloadResults() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->get_PrivatePayloadResults(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::PublishPrivatePayloadBytes(array_view payload) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::PublishPrivatePayloadBytes(array_view payload) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->PublishPrivatePayloadBytes(payload.size(), get_abi(payload))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::ClearPrivatePayload() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::ClearPrivatePayload() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->ClearPrivatePayload()); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::MaxSimultaneousProbeConnections() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::MaxSimultaneousProbeConnections() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->get_MaxSimultaneousProbeConnections(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::MaxSimultaneousProbeConnections(uint32_t value) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::MaxSimultaneousProbeConnections(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->put_MaxSimultaneousProbeConnections(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::IsSystemOutboundBandwidthConstrained() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::IsSystemOutboundBandwidthConstrained() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->get_IsSystemOutboundBandwidthConstrained(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::IsSystemOutboundBandwidthConstrained(bool value) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::IsSystemOutboundBandwidthConstrained(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->put_IsSystemOutboundBandwidthConstrained(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::IsSystemInboundBandwidthConstrained() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::IsSystemInboundBandwidthConstrained() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->get_IsSystemInboundBandwidthConstrained(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::IsSystemInboundBandwidthConstrained(bool value) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::IsSystemInboundBandwidthConstrained(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->put_IsSystemInboundBandwidthConstrained(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::PublishedPrivatePayload() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::PublishedPrivatePayload() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->get_PublishedPrivatePayload(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::PublishedPrivatePayload(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::PublishedPrivatePayload(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->put_PublishedPrivatePayload(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::MaxPrivatePayloadSize() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics::MaxPrivatePayloadSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->get_MaxPrivatePayloadSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMeasurementStatus) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult::Status() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult::Status() const { winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMeasurementStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMetricResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult::DeviceAddress() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult::DeviceAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMetricResult)->get_DeviceAddress(&value)); return winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult::Metric() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult::Metric() const { winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMetricResult)->get_Metric(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult::Value() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult::Value() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMetricResult)->get_Value(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMeasurementStatus) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServicePrivatePayloadResult::Status() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServicePrivatePayloadResult::Status() const { winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMeasurementStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServicePrivatePayloadResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServicePrivatePayloadResult::DeviceAddress() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServicePrivatePayloadResult::DeviceAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServicePrivatePayloadResult)->get_DeviceAddress(&value)); return winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServicePrivatePayloadResult::Value() const + template auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServicePrivatePayloadResult::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServicePrivatePayloadResult)->get_Value(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.h b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.h index c572754f..d488e231 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Networking.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Networking.h @@ -1,105 +1,105 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_H #define WINRT_Windows_Networking_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Networking.Connectivity.2.h" #include "winrt/impl/Windows.Networking.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_IEndpointPair::LocalHostName() const + template auto consume_Windows_Networking_IEndpointPair::LocalHostName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IEndpointPair)->get_LocalHostName(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_IEndpointPair::LocalHostName(winrt::Windows::Networking::HostName const& value) const + template auto consume_Windows_Networking_IEndpointPair::LocalHostName(winrt::Windows::Networking::HostName const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IEndpointPair)->put_LocalHostName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_IEndpointPair::LocalServiceName() const + template auto consume_Windows_Networking_IEndpointPair::LocalServiceName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IEndpointPair)->get_LocalServiceName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_IEndpointPair::LocalServiceName(param::hstring const& value) const + template auto consume_Windows_Networking_IEndpointPair::LocalServiceName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IEndpointPair)->put_LocalServiceName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_IEndpointPair::RemoteHostName() const + template auto consume_Windows_Networking_IEndpointPair::RemoteHostName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IEndpointPair)->get_RemoteHostName(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_IEndpointPair::RemoteHostName(winrt::Windows::Networking::HostName const& value) const + template auto consume_Windows_Networking_IEndpointPair::RemoteHostName(winrt::Windows::Networking::HostName const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IEndpointPair)->put_RemoteHostName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_IEndpointPair::RemoteServiceName() const + template auto consume_Windows_Networking_IEndpointPair::RemoteServiceName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IEndpointPair)->get_RemoteServiceName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Networking_IEndpointPair::RemoteServiceName(param::hstring const& value) const + template auto consume_Windows_Networking_IEndpointPair::RemoteServiceName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IEndpointPair)->put_RemoteServiceName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::EndpointPair) consume_Windows_Networking_IEndpointPairFactory::CreateEndpointPair(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName, winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const + template auto consume_Windows_Networking_IEndpointPairFactory::CreateEndpointPair(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName, winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IEndpointPairFactory)->CreateEndpointPair(*(void**)(&localHostName), *(void**)(&localServiceName), *(void**)(&remoteHostName), *(void**)(&remoteServiceName), &value)); return winrt::Windows::Networking::EndpointPair{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::IPInformation) consume_Windows_Networking_IHostName::IPInformation() const + template auto consume_Windows_Networking_IHostName::IPInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IHostName)->get_IPInformation(&value)); return winrt::Windows::Networking::Connectivity::IPInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_IHostName::RawName() const + template auto consume_Windows_Networking_IHostName::RawName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IHostName)->get_RawName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_IHostName::DisplayName() const + template auto consume_Windows_Networking_IHostName::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IHostName)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_IHostName::CanonicalName() const + template auto consume_Windows_Networking_IHostName::CanonicalName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IHostName)->get_CanonicalName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostNameType) consume_Windows_Networking_IHostName::Type() const + template auto consume_Windows_Networking_IHostName::Type() const { winrt::Windows::Networking::HostNameType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IHostName)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_IHostName::IsEqual(winrt::Windows::Networking::HostName const& hostName) const + template auto consume_Windows_Networking_IHostName::IsEqual(winrt::Windows::Networking::HostName const& hostName) const { bool isEqual{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IHostName)->IsEqual(*(void**)(&hostName), &isEqual)); return isEqual; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_IHostNameFactory::CreateHostName(param::hstring const& hostName) const + template auto consume_Windows_Networking_IHostNameFactory::CreateHostName(param::hstring const& hostName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IHostNameFactory)->CreateHostName(*(void**)(&hostName), &value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_IHostNameStatics::Compare(param::hstring const& value1, param::hstring const& value2) const + template auto consume_Windows_Networking_IHostNameStatics::Compare(param::hstring const& value1, param::hstring const& value2) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IHostNameStatics)->Compare(*(void**)(&value1), *(void**)(&value2), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Automation.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Automation.Core.h index bc5ff9fa..2fb4fd5b 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Automation.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Automation.Core.h @@ -1,17 +1,17 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_Automation_Core_H #define WINRT_Windows_Perception_Automation_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Perception.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Perception.Automation.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Automation_Core_ICorePerceptionAutomationStatics::SetActivationFactoryProvider(winrt::Windows::Foundation::IGetActivationFactory const& provider) const + template auto consume_Windows_Perception_Automation_Core_ICorePerceptionAutomationStatics::SetActivationFactoryProvider(winrt::Windows::Foundation::IGetActivationFactory const& provider) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Automation::Core::ICorePerceptionAutomationStatics)->SetActivationFactoryProvider(*(void**)(&provider))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Perception.People.h b/internal/platform/implementation/windows/generated/winrt/Windows.Perception.People.h index db3957ea..4fc9846d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Perception.People.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Perception.People.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_People_H #define WINRT_Windows_Perception_People_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Perception.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Numerics.2.h" @@ -16,133 +16,133 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Perception.People.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_Perception_People_IEyesPose::IsCalibrationValid() const + template auto consume_Windows_Perception_People_IEyesPose::IsCalibrationValid() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IEyesPose)->get_IsCalibrationValid(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Perception_People_IEyesPose::Gaze() const + template auto consume_Windows_Perception_People_IEyesPose::Gaze() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IEyesPose)->get_Gaze(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) consume_Windows_Perception_People_IEyesPose::UpdateTimestamp() const + template auto consume_Windows_Perception_People_IEyesPose::UpdateTimestamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IEyesPose)->get_UpdateTimestamp(&value)); return winrt::Windows::Perception::PerceptionTimestamp{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Perception_People_IEyesPoseStatics::IsSupported() const + template auto consume_Windows_Perception_People_IEyesPoseStatics::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IEyesPoseStatics)->IsSupported(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Perception_People_IEyesPoseStatics::RequestAccessAsync() const + template auto consume_Windows_Perception_People_IEyesPoseStatics::RequestAccessAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IEyesPoseStatics)->RequestAccessAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSource) consume_Windows_Perception_People_IHandMeshObserver::Source() const + template auto consume_Windows_Perception_People_IHandMeshObserver::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshObserver)->get_Source(&value)); return winrt::Windows::UI::Input::Spatial::SpatialInteractionSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Perception_People_IHandMeshObserver::TriangleIndexCount() const + template auto consume_Windows_Perception_People_IHandMeshObserver::TriangleIndexCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshObserver)->get_TriangleIndexCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Perception_People_IHandMeshObserver::VertexCount() const + template auto consume_Windows_Perception_People_IHandMeshObserver::VertexCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshObserver)->get_VertexCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_People_IHandMeshObserver::GetTriangleIndices(array_view indices) const + template auto consume_Windows_Perception_People_IHandMeshObserver::GetTriangleIndices(array_view indices) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshObserver)->GetTriangleIndices(indices.size(), put_abi(indices))); } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HandMeshVertexState) consume_Windows_Perception_People_IHandMeshObserver::GetVertexStateForPose(winrt::Windows::Perception::People::HandPose const& handPose) const + template auto consume_Windows_Perception_People_IHandMeshObserver::GetVertexStateForPose(winrt::Windows::Perception::People::HandPose const& handPose) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshObserver)->GetVertexStateForPose(*(void**)(&handPose), &result)); return winrt::Windows::Perception::People::HandMeshVertexState{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HandPose) consume_Windows_Perception_People_IHandMeshObserver::NeutralPose() const + template auto consume_Windows_Perception_People_IHandMeshObserver::NeutralPose() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshObserver)->get_NeutralPose(&value)); return winrt::Windows::Perception::People::HandPose{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Perception_People_IHandMeshObserver::NeutralPoseVersion() const + template auto consume_Windows_Perception_People_IHandMeshObserver::NeutralPoseVersion() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshObserver)->get_NeutralPoseVersion(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Perception_People_IHandMeshObserver::ModelId() const + template auto consume_Windows_Perception_People_IHandMeshObserver::ModelId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshObserver)->get_ModelId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_People_IHandMeshVertexState::CoordinateSystem() const + template auto consume_Windows_Perception_People_IHandMeshVertexState::CoordinateSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshVertexState)->get_CoordinateSystem(&value)); return winrt::Windows::Perception::Spatial::SpatialCoordinateSystem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_People_IHandMeshVertexState::GetVertices(array_view vertices) const + template auto consume_Windows_Perception_People_IHandMeshVertexState::GetVertices(array_view vertices) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshVertexState)->GetVertices(vertices.size(), put_abi(vertices))); } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) consume_Windows_Perception_People_IHandMeshVertexState::UpdateTimestamp() const + template auto consume_Windows_Perception_People_IHandMeshVertexState::UpdateTimestamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshVertexState)->get_UpdateTimestamp(&value)); return winrt::Windows::Perception::PerceptionTimestamp{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Perception_People_IHandPose::TryGetJoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::People::HandJointKind const& joint, winrt::Windows::Perception::People::JointPose& jointPose) const + template auto consume_Windows_Perception_People_IHandPose::TryGetJoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::People::HandJointKind const& joint, winrt::Windows::Perception::People::JointPose& jointPose) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandPose)->TryGetJoint(*(void**)(&coordinateSystem), static_cast(joint), impl::bind_out(jointPose), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Perception_People_IHandPose::TryGetJoints(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, array_view joints, array_view jointPoses) const + template auto consume_Windows_Perception_People_IHandPose::TryGetJoints(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, array_view joints, array_view jointPoses) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandPose)->TryGetJoints(*(void**)(&coordinateSystem), joints.size(), get_abi(joints), jointPoses.size(), put_abi(jointPoses), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::People::JointPose) consume_Windows_Perception_People_IHandPose::GetRelativeJoint(winrt::Windows::Perception::People::HandJointKind const& joint, winrt::Windows::Perception::People::HandJointKind const& referenceJoint) const + template auto consume_Windows_Perception_People_IHandPose::GetRelativeJoint(winrt::Windows::Perception::People::HandJointKind const& joint, winrt::Windows::Perception::People::HandJointKind const& referenceJoint) const { winrt::Windows::Perception::People::JointPose result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandPose)->GetRelativeJoint(static_cast(joint), static_cast(referenceJoint), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_People_IHandPose::GetRelativeJoints(array_view joints, array_view referenceJoints, array_view jointPoses) const + template auto consume_Windows_Perception_People_IHandPose::GetRelativeJoints(array_view joints, array_view referenceJoints, array_view jointPoses) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandPose)->GetRelativeJoints(joints.size(), get_abi(joints), referenceJoints.size(), get_abi(referenceJoints), jointPoses.size(), put_abi(jointPoses))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_People_IHeadPose::Position() const + template auto consume_Windows_Perception_People_IHeadPose::Position() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHeadPose)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_People_IHeadPose::ForwardDirection() const + template auto consume_Windows_Perception_People_IHeadPose::ForwardDirection() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHeadPose)->get_ForwardDirection(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_People_IHeadPose::UpDirection() const + template auto consume_Windows_Perception_People_IHeadPose::UpDirection() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHeadPose)->get_UpDirection(put_abi(value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.Preview.h b/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.Preview.h index 173608c9..1d590105 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.Preview.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.Preview.h @@ -1,72 +1,72 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_Spatial_Preview_H #define WINRT_Windows_Perception_Spatial_Preview_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Perception.Spatial.h" #include "winrt/impl/Windows.Foundation.Numerics.2.h" #include "winrt/impl/Windows.Perception.Spatial.2.h" #include "winrt/impl/Windows.Perception.Spatial.Preview.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropFrameOfReferencePreview::CoordinateSystem() const + template auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropFrameOfReferencePreview::CoordinateSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropFrameOfReferencePreview)->get_CoordinateSystem(&value)); return winrt::Windows::Perception::Spatial::SpatialCoordinateSystem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropFrameOfReferencePreview::NodeId() const + template auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropFrameOfReferencePreview::NodeId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropFrameOfReferencePreview)->get_NodeId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropFrameOfReferencePreview::CoordinateSystemToNodeTransform() const + template auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropFrameOfReferencePreview::CoordinateSystemToNodeTransform() const { winrt::Windows::Foundation::Numerics::float4x4 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropFrameOfReferencePreview)->get_CoordinateSystemToNodeTransform(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics::CreateCoordinateSystemForNode(winrt::guid const& nodeId) const + template auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics::CreateCoordinateSystemForNode(winrt::guid const& nodeId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropPreviewStatics)->CreateCoordinateSystemForNode(impl::bind_in(nodeId), &result)); return winrt::Windows::Perception::Spatial::SpatialCoordinateSystem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics::CreateCoordinateSystemForNode(winrt::guid const& nodeId, winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const + template auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics::CreateCoordinateSystemForNode(winrt::guid const& nodeId, winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropPreviewStatics)->CreateCoordinateSystemForNodeWithPosition(impl::bind_in(nodeId), impl::bind_in(relativePosition), &result)); return winrt::Windows::Perception::Spatial::SpatialCoordinateSystem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics::CreateCoordinateSystemForNode(winrt::guid const& nodeId, winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const + template auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics::CreateCoordinateSystemForNode(winrt::guid const& nodeId, winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropPreviewStatics)->CreateCoordinateSystemForNodeWithPositionAndOrientation(impl::bind_in(nodeId), impl::bind_in(relativePosition), impl::bind_in(relativeOrientation), &result)); return winrt::Windows::Perception::Spatial::SpatialCoordinateSystem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocator) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics::CreateLocatorForNode(winrt::guid const& nodeId) const + template auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics::CreateLocatorForNode(winrt::guid const& nodeId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropPreviewStatics)->CreateLocatorForNode(impl::bind_in(nodeId), &result)); return winrt::Windows::Perception::Spatial::SpatialLocator{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Preview::SpatialGraphInteropFrameOfReferencePreview) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics2::TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics2::TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropPreviewStatics2)->TryCreateFrameOfReference(*(void**)(&coordinateSystem), &result)); return winrt::Windows::Perception::Spatial::Preview::SpatialGraphInteropFrameOfReferencePreview{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Preview::SpatialGraphInteropFrameOfReferencePreview) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics2::TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const + template auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics2::TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropPreviewStatics2)->TryCreateFrameOfReferenceWithPosition(*(void**)(&coordinateSystem), impl::bind_in(relativePosition), &result)); return winrt::Windows::Perception::Spatial::Preview::SpatialGraphInteropFrameOfReferencePreview{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Preview::SpatialGraphInteropFrameOfReferencePreview) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics2::TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const + template auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics2::TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropPreviewStatics2)->TryCreateFrameOfReferenceWithPositionAndOrientation(*(void**)(&coordinateSystem), impl::bind_in(relativePosition), impl::bind_in(relativeOrientation), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.Surfaces.h b/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.Surfaces.h index 5f83e535..c06ce7fe 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.Surfaces.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.Surfaces.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_Spatial_Surfaces_H #define WINRT_Windows_Perception_Spatial_Surfaces_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Perception.Spatial.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -16,189 +16,189 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Perception.Spatial.Surfaces.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo::Id() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo::Id() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceInfo)->get_Id(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo::UpdateTime() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo::UpdateTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceInfo)->get_UpdateTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo::TryGetBounds(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo::TryGetBounds(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceInfo)->TryGetBounds(*(void**)(&coordinateSystem), &value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo::TryComputeLatestMeshAsync(double maxTrianglesPerCubicMeter) const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo::TryComputeLatestMeshAsync(double maxTrianglesPerCubicMeter) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceInfo)->TryComputeLatestMeshAsync(maxTrianglesPerCubicMeter, &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo::TryComputeLatestMeshAsync(double maxTrianglesPerCubicMeter, winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshOptions const& options) const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo::TryComputeLatestMeshAsync(double maxTrianglesPerCubicMeter, winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshOptions const& options) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceInfo)->TryComputeLatestMeshWithOptionsAsync(maxTrianglesPerCubicMeter, *(void**)(&options), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceInfo) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh::SurfaceInfo() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh::SurfaceInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMesh)->get_SurfaceInfo(&value)); return winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh::CoordinateSystem() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh::CoordinateSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMesh)->get_CoordinateSystem(&value)); return winrt::Windows::Perception::Spatial::SpatialCoordinateSystem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshBuffer) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh::TriangleIndices() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh::TriangleIndices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMesh)->get_TriangleIndices(&value)); return winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshBuffer) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh::VertexPositions() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh::VertexPositions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMesh)->get_VertexPositions(&value)); return winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh::VertexPositionScale() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh::VertexPositionScale() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMesh)->get_VertexPositionScale(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshBuffer) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh::VertexNormals() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh::VertexNormals() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMesh)->get_VertexNormals(&value)); return winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer::Format() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer::Format() const { winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshBuffer)->get_Format(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer::Stride() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer::Stride() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshBuffer)->get_Stride(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer::ElementCount() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer::ElementCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshBuffer)->get_ElementCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer::Data() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshBuffer)->get_Data(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions::VertexPositionFormat() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions::VertexPositionFormat() const { winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions)->get_VertexPositionFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions::VertexPositionFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions::VertexPositionFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions)->put_VertexPositionFormat(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions::TriangleIndexFormat() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions::TriangleIndexFormat() const { winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions)->get_TriangleIndexFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions::TriangleIndexFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions::TriangleIndexFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions)->put_TriangleIndexFormat(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions::VertexNormalFormat() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions::VertexNormalFormat() const { winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions)->get_VertexNormalFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions::VertexNormalFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions::VertexNormalFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions)->put_VertexNormalFormat(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions::IncludeVertexNormals() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions::IncludeVertexNormals() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions)->get_IncludeVertexNormals(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions::IncludeVertexNormals(bool value) const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions::IncludeVertexNormals(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions)->put_IncludeVertexNormals(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptionsStatics::SupportedVertexPositionFormats() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptionsStatics::SupportedVertexPositionFormats() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptionsStatics)->get_SupportedVertexPositionFormats(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptionsStatics::SupportedTriangleIndexFormats() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptionsStatics::SupportedTriangleIndexFormats() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptionsStatics)->get_SupportedTriangleIndexFormats(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptionsStatics::SupportedVertexNormalFormats() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptionsStatics::SupportedVertexNormalFormats() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptionsStatics)->get_SupportedVertexNormalFormats(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver::GetObservedSurfaces() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver::GetObservedSurfaces() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserver)->GetObservedSurfaces(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver::SetBoundingVolume(winrt::Windows::Perception::Spatial::SpatialBoundingVolume const& bounds) const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver::SetBoundingVolume(winrt::Windows::Perception::Spatial::SpatialBoundingVolume const& bounds) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserver)->SetBoundingVolume(*(void**)(&bounds))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver::SetBoundingVolumes(param::iterable const& bounds) const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver::SetBoundingVolumes(param::iterable const& bounds) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserver)->SetBoundingVolumes(*(void**)(&bounds))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver::ObservedSurfacesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver::ObservedSurfacesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserver)->add_ObservedSurfacesChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver::ObservedSurfacesChanged_revoker consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver::ObservedSurfacesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver::ObservedSurfacesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ObservedSurfacesChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver::ObservedSurfacesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver::ObservedSurfacesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserver)->remove_ObservedSurfacesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserverStatics::RequestAccessAsync() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserverStatics::RequestAccessAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserverStatics)->RequestAccessAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserverStatics2::IsSupported() const + template auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserverStatics2::IsSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserverStatics2)->IsSupported(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.h b/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.h index c3d2658c..59a7959b 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_Spatial_H #define WINRT_Windows_Perception_Spatial_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Perception.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -16,572 +16,572 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Perception.Spatial.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_ISpatialAnchor::CoordinateSystem() const + template auto consume_Windows_Perception_Spatial_ISpatialAnchor::CoordinateSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchor)->get_CoordinateSystem(&value)); return winrt::Windows::Perception::Spatial::SpatialCoordinateSystem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_ISpatialAnchor::RawCoordinateSystem() const + template auto consume_Windows_Perception_Spatial_ISpatialAnchor::RawCoordinateSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchor)->get_RawCoordinateSystem(&value)); return winrt::Windows::Perception::Spatial::SpatialCoordinateSystem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_ISpatialAnchor::RawCoordinateSystemAdjusted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_ISpatialAnchor::RawCoordinateSystemAdjusted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchor)->add_RawCoordinateSystemAdjusted(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Perception_Spatial_ISpatialAnchor::RawCoordinateSystemAdjusted_revoker consume_Windows_Perception_Spatial_ISpatialAnchor::RawCoordinateSystemAdjusted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_ISpatialAnchor::RawCoordinateSystemAdjusted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RawCoordinateSystemAdjusted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialAnchor::RawCoordinateSystemAdjusted(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Perception_Spatial_ISpatialAnchor::RawCoordinateSystemAdjusted(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchor)->remove_RawCoordinateSystemAdjusted(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Perception_Spatial_ISpatialAnchor2::RemovedByUser() const + template auto consume_Windows_Perception_Spatial_ISpatialAnchor2::RemovedByUser() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchor2)->get_RemovedByUser(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Perception_Spatial_ISpatialAnchorExportSufficiency::IsMinimallySufficient() const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorExportSufficiency::IsMinimallySufficient() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorExportSufficiency)->get_IsMinimallySufficient(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Perception_Spatial_ISpatialAnchorExportSufficiency::SufficiencyLevel() const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorExportSufficiency::SufficiencyLevel() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorExportSufficiency)->get_SufficiencyLevel(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Perception_Spatial_ISpatialAnchorExportSufficiency::RecommendedSufficiencyLevel() const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorExportSufficiency::RecommendedSufficiencyLevel() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorExportSufficiency)->get_RecommendedSufficiencyLevel(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Perception_Spatial_ISpatialAnchorExporter::GetAnchorExportSufficiencyAsync(winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor, winrt::Windows::Perception::Spatial::SpatialAnchorExportPurpose const& purpose) const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorExporter::GetAnchorExportSufficiencyAsync(winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor, winrt::Windows::Perception::Spatial::SpatialAnchorExportPurpose const& purpose) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorExporter)->GetAnchorExportSufficiencyAsync(*(void**)(&anchor), static_cast(purpose), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Perception_Spatial_ISpatialAnchorExporter::TryExportAnchorAsync(winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor, winrt::Windows::Perception::Spatial::SpatialAnchorExportPurpose const& purpose, winrt::Windows::Storage::Streams::IOutputStream const& stream) const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorExporter::TryExportAnchorAsync(winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor, winrt::Windows::Perception::Spatial::SpatialAnchorExportPurpose const& purpose, winrt::Windows::Storage::Streams::IOutputStream const& stream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorExporter)->TryExportAnchorAsync(*(void**)(&anchor), static_cast(purpose), *(void**)(&stream), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialAnchorExporter) consume_Windows_Perception_Spatial_ISpatialAnchorExporterStatics::GetDefault() const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorExporterStatics::GetDefault() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorExporterStatics)->GetDefault(&value)); return winrt::Windows::Perception::Spatial::SpatialAnchorExporter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Perception_Spatial_ISpatialAnchorExporterStatics::RequestAccessAsync() const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorExporterStatics::RequestAccessAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorExporterStatics)->RequestAccessAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Perception_Spatial_ISpatialAnchorManagerStatics::RequestStoreAsync() const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorManagerStatics::RequestStoreAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorManagerStatics)->RequestStoreAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) consume_Windows_Perception_Spatial_ISpatialAnchorRawCoordinateSystemAdjustedEventArgs::OldRawCoordinateSystemToNewRawCoordinateSystemTransform() const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorRawCoordinateSystemAdjustedEventArgs::OldRawCoordinateSystemToNewRawCoordinateSystemTransform() const { winrt::Windows::Foundation::Numerics::float4x4 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorRawCoordinateSystemAdjustedEventArgs)->get_OldRawCoordinateSystemToNewRawCoordinateSystemTransform(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialAnchor) consume_Windows_Perception_Spatial_ISpatialAnchorStatics::TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorStatics::TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorStatics)->TryCreateRelativeTo(*(void**)(&coordinateSystem), &value)); return winrt::Windows::Perception::Spatial::SpatialAnchor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialAnchor) consume_Windows_Perception_Spatial_ISpatialAnchorStatics::TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position) const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorStatics::TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorStatics)->TryCreateWithPositionRelativeTo(*(void**)(&coordinateSystem), impl::bind_in(position), &value)); return winrt::Windows::Perception::Spatial::SpatialAnchor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialAnchor) consume_Windows_Perception_Spatial_ISpatialAnchorStatics::TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorStatics::TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorStatics)->TryCreateWithPositionAndOrientationRelativeTo(*(void**)(&coordinateSystem), impl::bind_in(position), impl::bind_in(orientation), &value)); return winrt::Windows::Perception::Spatial::SpatialAnchor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Perception_Spatial_ISpatialAnchorStore::GetAllSavedAnchors() const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorStore::GetAllSavedAnchors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorStore)->GetAllSavedAnchors(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Perception_Spatial_ISpatialAnchorStore::TrySave(param::hstring const& id, winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor) const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorStore::TrySave(param::hstring const& id, winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorStore)->TrySave(*(void**)(&id), *(void**)(&anchor), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialAnchorStore::Remove(param::hstring const& id) const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorStore::Remove(param::hstring const& id) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorStore)->Remove(*(void**)(&id))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialAnchorStore::Clear() const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorStore::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorStore)->Clear()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Perception_Spatial_ISpatialAnchorTransferManagerStatics::TryImportAnchorsAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorTransferManagerStatics::TryImportAnchorsAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorTransferManagerStatics)->TryImportAnchorsAsync(*(void**)(&stream), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Perception_Spatial_ISpatialAnchorTransferManagerStatics::TryExportAnchorsAsync(param::async_iterable> const& anchors, winrt::Windows::Storage::Streams::IOutputStream const& stream) const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorTransferManagerStatics::TryExportAnchorsAsync(param::async_iterable> const& anchors, winrt::Windows::Storage::Streams::IOutputStream const& stream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorTransferManagerStatics)->TryExportAnchorsAsync(*(void**)(&anchors), *(void**)(&stream), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Perception_Spatial_ISpatialAnchorTransferManagerStatics::RequestAccessAsync() const + template auto consume_Windows_Perception_Spatial_ISpatialAnchorTransferManagerStatics::RequestAccessAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorTransferManagerStatics)->RequestAccessAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialBoundingVolume) consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics::FromBox(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingBox const& box) const + template auto consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics::FromBox(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingBox const& box) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialBoundingVolumeStatics)->FromBox(*(void**)(&coordinateSystem), impl::bind_in(box), &value)); return winrt::Windows::Perception::Spatial::SpatialBoundingVolume{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialBoundingVolume) consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics::FromOrientedBox(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingOrientedBox const& box) const + template auto consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics::FromOrientedBox(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingOrientedBox const& box) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialBoundingVolumeStatics)->FromOrientedBox(*(void**)(&coordinateSystem), impl::bind_in(box), &value)); return winrt::Windows::Perception::Spatial::SpatialBoundingVolume{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialBoundingVolume) consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics::FromSphere(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingSphere const& sphere) const + template auto consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics::FromSphere(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingSphere const& sphere) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialBoundingVolumeStatics)->FromSphere(*(void**)(&coordinateSystem), impl::bind_in(sphere), &value)); return winrt::Windows::Perception::Spatial::SpatialBoundingVolume{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialBoundingVolume) consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics::FromFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingFrustum const& frustum) const + template auto consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics::FromFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingFrustum const& frustum) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialBoundingVolumeStatics)->FromFrustum(*(void**)(&coordinateSystem), impl::bind_in(frustum), &value)); return winrt::Windows::Perception::Spatial::SpatialBoundingVolume{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Perception_Spatial_ISpatialCoordinateSystem::TryGetTransformTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& target) const + template auto consume_Windows_Perception_Spatial_ISpatialCoordinateSystem::TryGetTransformTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& target) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialCoordinateSystem)->TryGetTransformTo(*(void**)(&target), &value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Perception_Spatial_ISpatialEntity::Id() const + template auto consume_Windows_Perception_Spatial_ISpatialEntity::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntity)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialAnchor) consume_Windows_Perception_Spatial_ISpatialEntity::Anchor() const + template auto consume_Windows_Perception_Spatial_ISpatialEntity::Anchor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntity)->get_Anchor(&value)); return winrt::Windows::Perception::Spatial::SpatialAnchor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Perception_Spatial_ISpatialEntity::Properties() const + template auto consume_Windows_Perception_Spatial_ISpatialEntity::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntity)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) consume_Windows_Perception_Spatial_ISpatialEntityAddedEventArgs::Entity() const + template auto consume_Windows_Perception_Spatial_ISpatialEntityAddedEventArgs::Entity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityAddedEventArgs)->get_Entity(&value)); return winrt::Windows::Perception::Spatial::SpatialEntity{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) consume_Windows_Perception_Spatial_ISpatialEntityFactory::CreateWithSpatialAnchor(winrt::Windows::Perception::Spatial::SpatialAnchor const& spatialAnchor) const + template auto consume_Windows_Perception_Spatial_ISpatialEntityFactory::CreateWithSpatialAnchor(winrt::Windows::Perception::Spatial::SpatialAnchor const& spatialAnchor) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityFactory)->CreateWithSpatialAnchor(*(void**)(&spatialAnchor), &value)); return winrt::Windows::Perception::Spatial::SpatialEntity{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) consume_Windows_Perception_Spatial_ISpatialEntityFactory::CreateWithSpatialAnchorAndProperties(winrt::Windows::Perception::Spatial::SpatialAnchor const& spatialAnchor, winrt::Windows::Foundation::Collections::ValueSet const& propertySet) const + template auto consume_Windows_Perception_Spatial_ISpatialEntityFactory::CreateWithSpatialAnchorAndProperties(winrt::Windows::Perception::Spatial::SpatialAnchor const& spatialAnchor, winrt::Windows::Foundation::Collections::ValueSet const& propertySet) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityFactory)->CreateWithSpatialAnchorAndProperties(*(void**)(&spatialAnchor), *(void**)(&propertySet), &value)); return winrt::Windows::Perception::Spatial::SpatialEntity{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) consume_Windows_Perception_Spatial_ISpatialEntityRemovedEventArgs::Entity() const + template auto consume_Windows_Perception_Spatial_ISpatialEntityRemovedEventArgs::Entity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityRemovedEventArgs)->get_Entity(&value)); return winrt::Windows::Perception::Spatial::SpatialEntity{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Perception_Spatial_ISpatialEntityStore::SaveAsync(winrt::Windows::Perception::Spatial::SpatialEntity const& entity) const + template auto consume_Windows_Perception_Spatial_ISpatialEntityStore::SaveAsync(winrt::Windows::Perception::Spatial::SpatialEntity const& entity) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityStore)->SaveAsync(*(void**)(&entity), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Perception_Spatial_ISpatialEntityStore::RemoveAsync(winrt::Windows::Perception::Spatial::SpatialEntity const& entity) const + template auto consume_Windows_Perception_Spatial_ISpatialEntityStore::RemoveAsync(winrt::Windows::Perception::Spatial::SpatialEntity const& entity) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityStore)->RemoveAsync(*(void**)(&entity), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntityWatcher) consume_Windows_Perception_Spatial_ISpatialEntityStore::CreateEntityWatcher() const + template auto consume_Windows_Perception_Spatial_ISpatialEntityStore::CreateEntityWatcher() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityStore)->CreateEntityWatcher(&value)); return winrt::Windows::Perception::Spatial::SpatialEntityWatcher{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Perception_Spatial_ISpatialEntityStoreStatics::IsSupported() const + template auto consume_Windows_Perception_Spatial_ISpatialEntityStoreStatics::IsSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityStoreStatics)->get_IsSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntityStore) consume_Windows_Perception_Spatial_ISpatialEntityStoreStatics::TryGet(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session) const + template auto consume_Windows_Perception_Spatial_ISpatialEntityStoreStatics::TryGet(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityStoreStatics)->TryGetForRemoteSystemSession(*(void**)(&session), &value)); return winrt::Windows::Perception::Spatial::SpatialEntityStore{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) consume_Windows_Perception_Spatial_ISpatialEntityUpdatedEventArgs::Entity() const + template auto consume_Windows_Perception_Spatial_ISpatialEntityUpdatedEventArgs::Entity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityUpdatedEventArgs)->get_Entity(&value)); return winrt::Windows::Perception::Spatial::SpatialEntity{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntityWatcherStatus) consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Status() const + template auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Status() const { winrt::Windows::Perception::Spatial::SpatialEntityWatcherStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->add_Added(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Added_revoker consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Added(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Added(winrt::event_token const& token) const noexcept + template auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Added(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->remove_Added(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->add_Updated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Updated_revoker consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Updated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Updated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Updated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->remove_Updated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->add_Removed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Removed_revoker consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Removed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Removed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Removed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->remove_Removed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_ISpatialEntityWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Perception_Spatial_ISpatialEntityWatcher::EnumerationCompleted_revoker consume_Windows_Perception_Spatial_ISpatialEntityWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialEntityWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->remove_EnumerationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Start() const + template auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Stop() const + template auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_Spatial_ISpatialLocation::Position() const + template auto consume_Windows_Perception_Spatial_ISpatialLocation::Position() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocation)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_Perception_Spatial_ISpatialLocation::Orientation() const + template auto consume_Windows_Perception_Spatial_ISpatialLocation::Orientation() const { winrt::Windows::Foundation::Numerics::quaternion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocation)->get_Orientation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_Spatial_ISpatialLocation::AbsoluteLinearVelocity() const + template auto consume_Windows_Perception_Spatial_ISpatialLocation::AbsoluteLinearVelocity() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocation)->get_AbsoluteLinearVelocity(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_Spatial_ISpatialLocation::AbsoluteLinearAcceleration() const + template auto consume_Windows_Perception_Spatial_ISpatialLocation::AbsoluteLinearAcceleration() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocation)->get_AbsoluteLinearAcceleration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_Perception_Spatial_ISpatialLocation::AbsoluteAngularVelocity() const + template auto consume_Windows_Perception_Spatial_ISpatialLocation::AbsoluteAngularVelocity() const { winrt::Windows::Foundation::Numerics::quaternion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocation)->get_AbsoluteAngularVelocity(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_Perception_Spatial_ISpatialLocation::AbsoluteAngularAcceleration() const + template auto consume_Windows_Perception_Spatial_ISpatialLocation::AbsoluteAngularAcceleration() const { winrt::Windows::Foundation::Numerics::quaternion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocation)->get_AbsoluteAngularAcceleration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_Spatial_ISpatialLocation2::AbsoluteAngularVelocityAxisAngle() const + template auto consume_Windows_Perception_Spatial_ISpatialLocation2::AbsoluteAngularVelocityAxisAngle() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocation2)->get_AbsoluteAngularVelocityAxisAngle(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_Spatial_ISpatialLocation2::AbsoluteAngularAccelerationAxisAngle() const + template auto consume_Windows_Perception_Spatial_ISpatialLocation2::AbsoluteAngularAccelerationAxisAngle() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocation2)->get_AbsoluteAngularAccelerationAxisAngle(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocatability) consume_Windows_Perception_Spatial_ISpatialLocator::Locatability() const + template auto consume_Windows_Perception_Spatial_ISpatialLocator::Locatability() const { winrt::Windows::Perception::Spatial::SpatialLocatability value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->get_Locatability(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_ISpatialLocator::LocatabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_ISpatialLocator::LocatabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->add_LocatabilityChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Perception_Spatial_ISpatialLocator::LocatabilityChanged_revoker consume_Windows_Perception_Spatial_ISpatialLocator::LocatabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_ISpatialLocator::LocatabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LocatabilityChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialLocator::LocatabilityChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Perception_Spatial_ISpatialLocator::LocatabilityChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->remove_LocatabilityChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_ISpatialLocator::PositionalTrackingDeactivating(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_ISpatialLocator::PositionalTrackingDeactivating(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->add_PositionalTrackingDeactivating(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Perception_Spatial_ISpatialLocator::PositionalTrackingDeactivating_revoker consume_Windows_Perception_Spatial_ISpatialLocator::PositionalTrackingDeactivating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_ISpatialLocator::PositionalTrackingDeactivating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PositionalTrackingDeactivating(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialLocator::PositionalTrackingDeactivating(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Perception_Spatial_ISpatialLocator::PositionalTrackingDeactivating(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->remove_PositionalTrackingDeactivating(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocation) consume_Windows_Perception_Spatial_ISpatialLocator::TryLocateAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_Perception_Spatial_ISpatialLocator::TryLocateAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->TryLocateAtTimestamp(*(void**)(×tamp), *(void**)(&coordinateSystem), &value)); return winrt::Windows::Perception::Spatial::SpatialLocation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocatorAttachedFrameOfReference) consume_Windows_Perception_Spatial_ISpatialLocator::CreateAttachedFrameOfReferenceAtCurrentHeading() const + template auto consume_Windows_Perception_Spatial_ISpatialLocator::CreateAttachedFrameOfReferenceAtCurrentHeading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->CreateAttachedFrameOfReferenceAtCurrentHeading(&value)); return winrt::Windows::Perception::Spatial::SpatialLocatorAttachedFrameOfReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocatorAttachedFrameOfReference) consume_Windows_Perception_Spatial_ISpatialLocator::CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const + template auto consume_Windows_Perception_Spatial_ISpatialLocator::CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->CreateAttachedFrameOfReferenceAtCurrentHeadingWithPosition(impl::bind_in(relativePosition), &value)); return winrt::Windows::Perception::Spatial::SpatialLocatorAttachedFrameOfReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocatorAttachedFrameOfReference) consume_Windows_Perception_Spatial_ISpatialLocator::CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const + template auto consume_Windows_Perception_Spatial_ISpatialLocator::CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->CreateAttachedFrameOfReferenceAtCurrentHeadingWithPositionAndOrientation(impl::bind_in(relativePosition), impl::bind_in(relativeOrientation), &value)); return winrt::Windows::Perception::Spatial::SpatialLocatorAttachedFrameOfReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocatorAttachedFrameOfReference) consume_Windows_Perception_Spatial_ISpatialLocator::CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation, double relativeHeadingInRadians) const + template auto consume_Windows_Perception_Spatial_ISpatialLocator::CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation, double relativeHeadingInRadians) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->CreateAttachedFrameOfReferenceAtCurrentHeadingWithPositionAndOrientationAndRelativeHeading(impl::bind_in(relativePosition), impl::bind_in(relativeOrientation), relativeHeadingInRadians, &value)); return winrt::Windows::Perception::Spatial::SpatialLocatorAttachedFrameOfReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference) consume_Windows_Perception_Spatial_ISpatialLocator::CreateStationaryFrameOfReferenceAtCurrentLocation() const + template auto consume_Windows_Perception_Spatial_ISpatialLocator::CreateStationaryFrameOfReferenceAtCurrentLocation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->CreateStationaryFrameOfReferenceAtCurrentLocation(&value)); return winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference) consume_Windows_Perception_Spatial_ISpatialLocator::CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const + template auto consume_Windows_Perception_Spatial_ISpatialLocator::CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->CreateStationaryFrameOfReferenceAtCurrentLocationWithPosition(impl::bind_in(relativePosition), &value)); return winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference) consume_Windows_Perception_Spatial_ISpatialLocator::CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const + template auto consume_Windows_Perception_Spatial_ISpatialLocator::CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientation(impl::bind_in(relativePosition), impl::bind_in(relativeOrientation), &value)); return winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference) consume_Windows_Perception_Spatial_ISpatialLocator::CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation, double relativeHeadingInRadians) const + template auto consume_Windows_Perception_Spatial_ISpatialLocator::CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation, double relativeHeadingInRadians) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientationAndRelativeHeading(impl::bind_in(relativePosition), impl::bind_in(relativeOrientation), relativeHeadingInRadians, &value)); return winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference::RelativePosition() const + template auto consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference::RelativePosition() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference)->get_RelativePosition(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference::RelativePosition(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference::RelativePosition(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference)->put_RelativePosition(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference::RelativeOrientation() const + template auto consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference::RelativeOrientation() const { winrt::Windows::Foundation::Numerics::quaternion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference)->get_RelativeOrientation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference::RelativeOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const + template auto consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference::RelativeOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference)->put_RelativeOrientation(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference::AdjustHeading(double headingOffsetInRadians) const + template auto consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference::AdjustHeading(double headingOffsetInRadians) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference)->AdjustHeading(headingOffsetInRadians)); } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference::GetStationaryCoordinateSystemAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const + template auto consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference::GetStationaryCoordinateSystemAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference)->GetStationaryCoordinateSystemAtTimestamp(*(void**)(×tamp), &value)); return winrt::Windows::Perception::Spatial::SpatialCoordinateSystem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference::TryGetRelativeHeadingAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const + template auto consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference::TryGetRelativeHeadingAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference)->TryGetRelativeHeadingAtTimestamp(*(void**)(×tamp), &value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Perception_Spatial_ISpatialLocatorPositionalTrackingDeactivatingEventArgs::Canceled() const + template auto consume_Windows_Perception_Spatial_ISpatialLocatorPositionalTrackingDeactivatingEventArgs::Canceled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocatorPositionalTrackingDeactivatingEventArgs)->get_Canceled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialLocatorPositionalTrackingDeactivatingEventArgs::Canceled(bool value) const + template auto consume_Windows_Perception_Spatial_ISpatialLocatorPositionalTrackingDeactivatingEventArgs::Canceled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocatorPositionalTrackingDeactivatingEventArgs)->put_Canceled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocator) consume_Windows_Perception_Spatial_ISpatialLocatorStatics::GetDefault() const + template auto consume_Windows_Perception_Spatial_ISpatialLocatorStatics::GetDefault() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocatorStatics)->GetDefault(&value)); return winrt::Windows::Perception::Spatial::SpatialLocator{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference::CoordinateSystem() const + template auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference::CoordinateSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReference)->get_CoordinateSystem(&value)); return winrt::Windows::Perception::Spatial::SpatialCoordinateSystem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialMovementRange) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference::MovementRange() const + template auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference::MovementRange() const { winrt::Windows::Perception::Spatial::SpatialMovementRange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReference)->get_MovementRange(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLookDirectionRange) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference::LookDirectionRange() const + template auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference::LookDirectionRange() const { winrt::Windows::Perception::Spatial::SpatialLookDirectionRange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReference)->get_LookDirectionRange(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference::GetCoordinateSystemAtCurrentLocation(winrt::Windows::Perception::Spatial::SpatialLocator const& locator) const + template auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference::GetCoordinateSystemAtCurrentLocation(winrt::Windows::Perception::Spatial::SpatialLocator const& locator) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReference)->GetCoordinateSystemAtCurrentLocation(*(void**)(&locator), &result)); return winrt::Windows::Perception::Spatial::SpatialCoordinateSystem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference::TryGetMovementBounds(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference::TryGetMovementBounds(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { uint32_t value_impl_size{}; winrt::Windows::Foundation::Numerics::float3* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReference)->TryGetMovementBounds(*(void**)(&coordinateSystem), &value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialStageFrameOfReference) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics::Current() const + template auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics::Current() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReferenceStatics)->get_Current(&value)); return winrt::Windows::Perception::Spatial::SpatialStageFrameOfReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics::CurrentChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics::CurrentChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReferenceStatics)->add_CurrentChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics::CurrentChanged_revoker consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics::CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics::CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, CurrentChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics::CurrentChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics::CurrentChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReferenceStatics)->remove_CurrentChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics::RequestNewStageAsync() const + template auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics::RequestNewStageAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReferenceStatics)->RequestNewStageAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_ISpatialStationaryFrameOfReference::CoordinateSystem() const + template auto consume_Windows_Perception_Spatial_ISpatialStationaryFrameOfReference::CoordinateSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialStationaryFrameOfReference)->get_CoordinateSystem(&value)); @@ -1575,10 +1575,10 @@ WINRT_EXPORT namespace winrt::Windows::Perception::Spatial { return impl::call_factory([&](ISpatialStageFrameOfReferenceStatics const& f) { return f.CurrentChanged(handler); }); } - inline SpatialStageFrameOfReference::CurrentChanged_revoker SpatialStageFrameOfReference::CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto SpatialStageFrameOfReference::CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.CurrentChanged(handler) }; + return SpatialStageFrameOfReference::CurrentChanged_revoker{ f, f.CurrentChanged(handler) }; } inline auto SpatialStageFrameOfReference::CurrentChanged(winrt::event_token const& cookie) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Perception.h b/internal/platform/implementation/windows/generated/winrt/Windows.Perception.h index 6714a1d5..3c3b538f 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Perception.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Perception.h @@ -1,40 +1,40 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_H #define WINRT_Windows_Perception_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Perception.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Perception_IPerceptionTimestamp::TargetTime() const + template auto consume_Windows_Perception_IPerceptionTimestamp::TargetTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::IPerceptionTimestamp)->get_TargetTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Perception_IPerceptionTimestamp::PredictionAmount() const + template auto consume_Windows_Perception_IPerceptionTimestamp::PredictionAmount() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::IPerceptionTimestamp)->get_PredictionAmount(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Perception_IPerceptionTimestamp2::SystemRelativeTargetTime() const + template auto consume_Windows_Perception_IPerceptionTimestamp2::SystemRelativeTargetTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::IPerceptionTimestamp2)->get_SystemRelativeTargetTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) consume_Windows_Perception_IPerceptionTimestampHelperStatics::FromHistoricalTargetTime(winrt::Windows::Foundation::DateTime const& targetTime) const + template auto consume_Windows_Perception_IPerceptionTimestampHelperStatics::FromHistoricalTargetTime(winrt::Windows::Foundation::DateTime const& targetTime) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::IPerceptionTimestampHelperStatics)->FromHistoricalTargetTime(impl::bind_in(targetTime), &value)); return winrt::Windows::Perception::PerceptionTimestamp{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) consume_Windows_Perception_IPerceptionTimestampHelperStatics2::FromSystemRelativeTargetTime(winrt::Windows::Foundation::TimeSpan const& targetTime) const + template auto consume_Windows_Perception_IPerceptionTimestampHelperStatics2::FromSystemRelativeTargetTime(winrt::Windows::Foundation::TimeSpan const& targetTime) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::IPerceptionTimestampHelperStatics2)->FromSystemRelativeTargetTime(impl::bind_in(targetTime), &value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.ApplicationModel.h b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.ApplicationModel.h index 8fb8f8d2..148cd952 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.ApplicationModel.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.ApplicationModel.h @@ -1,15 +1,15 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_ApplicationModel_H #define WINRT_Windows_Phone_ApplicationModel_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Phone.ApplicationModel.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Phone::ApplicationModel::ApplicationProfileModes) consume_Windows_Phone_ApplicationModel_IApplicationProfileStatics::Modes() const + template auto consume_Windows_Phone_ApplicationModel_IApplicationProfileStatics::Modes() const { winrt::Windows::Phone::ApplicationModel::ApplicationProfileModes value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::ApplicationModel::IApplicationProfileStatics)->get_Modes(reinterpret_cast(&value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Devices.Notification.h b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Devices.Notification.h index 97288dd1..da4e24ed 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Devices.Notification.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Devices.Notification.h @@ -1,24 +1,24 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Devices_Notification_H #define WINRT_Windows_Phone_Devices_Notification_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Phone.Devices.Notification.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Devices_Notification_IVibrationDevice::Vibrate(winrt::Windows::Foundation::TimeSpan const& duration) const + template auto consume_Windows_Phone_Devices_Notification_IVibrationDevice::Vibrate(winrt::Windows::Foundation::TimeSpan const& duration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Devices::Notification::IVibrationDevice)->Vibrate(impl::bind_in(duration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Devices_Notification_IVibrationDevice::Cancel() const + template auto consume_Windows_Phone_Devices_Notification_IVibrationDevice::Cancel() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Devices::Notification::IVibrationDevice)->Cancel()); } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Devices::Notification::VibrationDevice) consume_Windows_Phone_Devices_Notification_IVibrationDeviceStatics::GetDefault() const + template auto consume_Windows_Phone_Devices_Notification_IVibrationDeviceStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Devices::Notification::IVibrationDeviceStatics)->GetDefault(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Devices.Power.h b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Devices.Power.h index a86bb90a..84b08246 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Devices.Power.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Devices.Power.h @@ -1,42 +1,42 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Devices_Power_H #define WINRT_Windows_Phone_Devices_Power_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Phone.Devices.Power.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Phone_Devices_Power_IBattery::RemainingChargePercent() const + template auto consume_Windows_Phone_Devices_Power_IBattery::RemainingChargePercent() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Devices::Power::IBattery)->get_RemainingChargePercent(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Phone_Devices_Power_IBattery::RemainingDischargeTime() const + template auto consume_Windows_Phone_Devices_Power_IBattery::RemainingDischargeTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Devices::Power::IBattery)->get_RemainingDischargeTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Phone_Devices_Power_IBattery::RemainingChargePercentChanged(winrt::Windows::Foundation::EventHandler const& changeHandler) const + template auto consume_Windows_Phone_Devices_Power_IBattery::RemainingChargePercentChanged(winrt::Windows::Foundation::EventHandler const& changeHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Devices::Power::IBattery)->add_RemainingChargePercentChanged(*(void**)(&changeHandler), put_abi(token))); return token; } - template typename consume_Windows_Phone_Devices_Power_IBattery::RemainingChargePercentChanged_revoker consume_Windows_Phone_Devices_Power_IBattery::RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler) const + template auto consume_Windows_Phone_Devices_Power_IBattery::RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler) const { return impl::make_event_revoker(this, RemainingChargePercentChanged(changeHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Devices_Power_IBattery::RemainingChargePercentChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Phone_Devices_Power_IBattery::RemainingChargePercentChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Phone::Devices::Power::IBattery)->remove_RemainingChargePercentChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Devices::Power::Battery) consume_Windows_Phone_Devices_Power_IBatteryStatics::GetDefault() const + template auto consume_Windows_Phone_Devices_Power_IBatteryStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Devices::Power::IBatteryStatics)->GetDefault(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Management.Deployment.h b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Management.Deployment.h index 5c1db0ac..533cb461 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Management.Deployment.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Management.Deployment.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Management_Deployment_H #define WINRT_Windows_Phone_Management_Deployment_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.ApplicationModel.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,145 +13,145 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Phone.Management.Deployment.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Phone_Management_Deployment_IEnterprise::Id() const + template auto consume_Windows_Phone_Management_Deployment_IEnterprise::Id() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterprise)->get_Id(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Management_Deployment_IEnterprise::Name() const + template auto consume_Windows_Phone_Management_Deployment_IEnterprise::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterprise)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Phone_Management_Deployment_IEnterprise::WorkplaceId() const + template auto consume_Windows_Phone_Management_Deployment_IEnterprise::WorkplaceId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterprise)->get_WorkplaceId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_Management_Deployment_IEnterprise::EnrollmentValidFrom() const + template auto consume_Windows_Phone_Management_Deployment_IEnterprise::EnrollmentValidFrom() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterprise)->get_EnrollmentValidFrom(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_Management_Deployment_IEnterprise::EnrollmentValidTo() const + template auto consume_Windows_Phone_Management_Deployment_IEnterprise::EnrollmentValidTo() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterprise)->get_EnrollmentValidTo(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Management::Deployment::EnterpriseStatus) consume_Windows_Phone_Management_Deployment_IEnterprise::Status() const + template auto consume_Windows_Phone_Management_Deployment_IEnterprise::Status() const { winrt::Windows::Phone::Management::Deployment::EnterpriseStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterprise)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager::EnrolledEnterprises() const + template auto consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager::EnrolledEnterprises() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterpriseEnrollmentManager)->get_EnrolledEnterprises(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Management::Deployment::Enterprise) consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager::CurrentEnterprise() const + template auto consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager::CurrentEnterprise() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterpriseEnrollmentManager)->get_CurrentEnterprise(&result)); return winrt::Windows::Phone::Management::Deployment::Enterprise{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager::ValidateEnterprisesAsync() const + template auto consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager::ValidateEnterprisesAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterpriseEnrollmentManager)->ValidateEnterprisesAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager::RequestEnrollmentAsync(param::hstring const& enrollmentToken) const + template auto consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager::RequestEnrollmentAsync(param::hstring const& enrollmentToken) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterpriseEnrollmentManager)->RequestEnrollmentAsync(*(void**)(&enrollmentToken), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager::RequestUnenrollmentAsync(winrt::Windows::Phone::Management::Deployment::Enterprise const& enterprise) const + template auto consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager::RequestUnenrollmentAsync(winrt::Windows::Phone::Management::Deployment::Enterprise const& enterprise) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterpriseEnrollmentManager)->RequestUnenrollmentAsync(*(void**)(&enterprise), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Management::Deployment::Enterprise) consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentResult::EnrolledEnterprise() const + template auto consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentResult::EnrolledEnterprise() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterpriseEnrollmentResult)->get_EnrolledEnterprise(&result)); return winrt::Windows::Phone::Management::Deployment::Enterprise{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Management::Deployment::EnterpriseEnrollmentStatus) consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentResult::Status() const + template auto consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentResult::Status() const { winrt::Windows::Phone::Management::Deployment::EnterpriseEnrollmentStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterpriseEnrollmentResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics::AddPackageAsync(param::hstring const& title, winrt::Windows::Foundation::Uri const& sourceLocation) const + template auto consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics::AddPackageAsync(param::hstring const& title, winrt::Windows::Foundation::Uri const& sourceLocation) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IInstallationManagerStatics)->AddPackageAsync(*(void**)(&title), *(void**)(&sourceLocation), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics::AddPackageAsync(param::hstring const& title, winrt::Windows::Foundation::Uri const& sourceLocation, param::hstring const& instanceId, param::hstring const& offerId, winrt::Windows::Foundation::Uri const& license) const + template auto consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics::AddPackageAsync(param::hstring const& title, winrt::Windows::Foundation::Uri const& sourceLocation, param::hstring const& instanceId, param::hstring const& offerId, winrt::Windows::Foundation::Uri const& license) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IInstallationManagerStatics)->AddPackagePreloadedAsync(*(void**)(&title), *(void**)(&sourceLocation), *(void**)(&instanceId), *(void**)(&offerId), *(void**)(&license), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable>) consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics::GetPendingPackageInstalls() const + template auto consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics::GetPendingPackageInstalls() const { void* items{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IInstallationManagerStatics)->GetPendingPackageInstalls(&items)); return winrt::Windows::Foundation::Collections::IIterable>{ items, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics::FindPackagesForCurrentPublisher() const + template auto consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics::FindPackagesForCurrentPublisher() const { void* items{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IInstallationManagerStatics)->FindPackagesForCurrentPublisher(&items)); return winrt::Windows::Foundation::Collections::IIterable{ items, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics::FindPackages() const + template auto consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics::FindPackages() const { void* items{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IInstallationManagerStatics)->FindPackages(&items)); return winrt::Windows::Foundation::Collections::IIterable{ items, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics2::RemovePackageAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::RemovalOptions const& removalOptions) const + template auto consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics2::RemovePackageAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::RemovalOptions const& removalOptions) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IInstallationManagerStatics2)->RemovePackageAsync(*(void**)(&packageFullName), static_cast(removalOptions), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics2::RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const + template auto consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics2::RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IInstallationManagerStatics2)->RegisterPackageAsync(*(void**)(&manifestUri), *(void**)(&dependencyPackageUris), static_cast(deploymentOptions), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics2::FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const + template auto consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics2::FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const { void* items{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IInstallationManagerStatics2)->FindPackagesByNamePublisher(*(void**)(&packageName), *(void**)(&packagePublisher), &items)); return winrt::Windows::Foundation::Collections::IIterable{ items, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Management_Deployment_IPackageInstallResult::ProductId() const + template auto consume_Windows_Phone_Management_Deployment_IPackageInstallResult::ProductId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IPackageInstallResult)->get_ProductId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageInstallState) consume_Windows_Phone_Management_Deployment_IPackageInstallResult::InstallState() const + template auto consume_Windows_Phone_Management_Deployment_IPackageInstallResult::InstallState() const { winrt::Windows::Management::Deployment::PackageInstallState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IPackageInstallResult)->get_InstallState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Management_Deployment_IPackageInstallResult2::ErrorText() const + template auto consume_Windows_Phone_Management_Deployment_IPackageInstallResult2::ErrorText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IPackageInstallResult2)->get_ErrorText(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Media.Devices.h b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Media.Devices.h index 48be32f0..72aae460 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Media.Devices.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Media.Devices.h @@ -1,46 +1,46 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Media_Devices_H #define WINRT_Windows_Phone_Media_Devices_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Phone.Media.Devices.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Media::Devices::AudioRoutingEndpoint) consume_Windows_Phone_Media_Devices_IAudioRoutingManager::GetAudioEndpoint() const + template auto consume_Windows_Phone_Media_Devices_IAudioRoutingManager::GetAudioEndpoint() const { winrt::Windows::Phone::Media::Devices::AudioRoutingEndpoint endpoint{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Media::Devices::IAudioRoutingManager)->GetAudioEndpoint(reinterpret_cast(&endpoint))); return endpoint; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Media_Devices_IAudioRoutingManager::SetAudioEndpoint(winrt::Windows::Phone::Media::Devices::AudioRoutingEndpoint const& endpoint) const + template auto consume_Windows_Phone_Media_Devices_IAudioRoutingManager::SetAudioEndpoint(winrt::Windows::Phone::Media::Devices::AudioRoutingEndpoint const& endpoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Media::Devices::IAudioRoutingManager)->SetAudioEndpoint(static_cast(endpoint))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Phone_Media_Devices_IAudioRoutingManager::AudioEndpointChanged(winrt::Windows::Foundation::TypedEventHandler const& endpointChangeHandler) const + template auto consume_Windows_Phone_Media_Devices_IAudioRoutingManager::AudioEndpointChanged(winrt::Windows::Foundation::TypedEventHandler const& endpointChangeHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Media::Devices::IAudioRoutingManager)->add_AudioEndpointChanged(*(void**)(&endpointChangeHandler), put_abi(token))); return token; } - template typename consume_Windows_Phone_Media_Devices_IAudioRoutingManager::AudioEndpointChanged_revoker consume_Windows_Phone_Media_Devices_IAudioRoutingManager::AudioEndpointChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& endpointChangeHandler) const + template auto consume_Windows_Phone_Media_Devices_IAudioRoutingManager::AudioEndpointChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& endpointChangeHandler) const { return impl::make_event_revoker(this, AudioEndpointChanged(endpointChangeHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Media_Devices_IAudioRoutingManager::AudioEndpointChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Phone_Media_Devices_IAudioRoutingManager::AudioEndpointChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Phone::Media::Devices::IAudioRoutingManager)->remove_AudioEndpointChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Media::Devices::AvailableAudioRoutingEndpoints) consume_Windows_Phone_Media_Devices_IAudioRoutingManager::AvailableAudioEndpoints() const + template auto consume_Windows_Phone_Media_Devices_IAudioRoutingManager::AvailableAudioEndpoints() const { winrt::Windows::Phone::Media::Devices::AvailableAudioRoutingEndpoints value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Media::Devices::IAudioRoutingManager)->get_AvailableAudioEndpoints(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Media::Devices::AudioRoutingManager) consume_Windows_Phone_Media_Devices_IAudioRoutingManagerStatics::GetDefault() const + template auto consume_Windows_Phone_Media_Devices_IAudioRoutingManagerStatics::GetDefault() const { void* audioRoutingManager{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Media::Devices::IAudioRoutingManagerStatics)->GetDefault(&audioRoutingManager)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Notification.Management.h b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Notification.Management.h index a769accc..b8186352 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Notification.Management.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Notification.Management.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Notification_Management_H #define WINRT_Windows_Phone_Notification_Management_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.ApplicationModel.Appointments.2.h" #include "winrt/impl/Windows.ApplicationModel.Email.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -14,877 +14,877 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Phone.Notification.Management.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IAccessoryManager::RegisterAccessoryApp() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::RegisterAccessoryApp() const { void* triggerId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->RegisterAccessoryApp(&triggerId)); return hstring{ triggerId, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails) consume_Windows_Phone_Notification_Management_IAccessoryManager::GetNextTriggerDetails() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::GetNextTriggerDetails() const { void* pDetails{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->GetNextTriggerDetails(&pDetails)); return winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails{ pDetails, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::ProcessTriggerDetails(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails const& pDetails) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::ProcessTriggerDetails(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails const& pDetails) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->ProcessTriggerDetails(*(void**)(&pDetails))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Phone_Notification_Management_IAccessoryManager::PhoneLineDetails() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::PhoneLineDetails() const { void* ppvalue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->get_PhoneLineDetails(&ppvalue)); return winrt::Windows::Foundation::Collections::IVectorView{ ppvalue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneLineDetails) consume_Windows_Phone_Notification_Management_IAccessoryManager::GetPhoneLineDetails(winrt::guid const& phoneLine) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::GetPhoneLineDetails(winrt::guid const& phoneLine) const { void* ppdetails{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->GetPhoneLineDetails(impl::bind_in(phoneLine), &ppdetails)); return winrt::Windows::Phone::Notification::Management::PhoneLineDetails{ ppdetails, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::AcceptPhoneCall(uint32_t phoneCallId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::AcceptPhoneCall(uint32_t phoneCallId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->AcceptPhoneCall(phoneCallId)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::AcceptPhoneCall(uint32_t phoneCallId, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::AcceptPhoneCall(uint32_t phoneCallId, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->AcceptPhoneCallOnEndpoint(phoneCallId, static_cast(endPoint))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::AcceptPhoneCallWithVideo(uint32_t phoneCallId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::AcceptPhoneCallWithVideo(uint32_t phoneCallId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->AcceptPhoneCallWithVideo(phoneCallId)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::AcceptPhoneCallWithVideo(uint32_t phoneCallId, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::AcceptPhoneCallWithVideo(uint32_t phoneCallId, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->AcceptPhoneCallWithVideoOnAudioEndpoint(phoneCallId, static_cast(endPoint))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::RejectPhoneCall(uint32_t phoneCallId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::RejectPhoneCall(uint32_t phoneCallId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->RejectPhoneCall(phoneCallId)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::RejectPhoneCall(uint32_t phoneCallId, uint32_t textResponseID) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::RejectPhoneCall(uint32_t phoneCallId, uint32_t textResponseID) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->RejectPhoneCallWithText(phoneCallId, textResponseID)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::MakePhoneCall(winrt::guid const& phoneLine, param::hstring const& phoneNumber) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::MakePhoneCall(winrt::guid const& phoneLine, param::hstring const& phoneNumber) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->MakePhoneCall(impl::bind_in(phoneLine), *(void**)(&phoneNumber))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::MakePhoneCall(winrt::guid const& phoneLine, param::hstring const& phoneNumber, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::MakePhoneCall(winrt::guid const& phoneLine, param::hstring const& phoneNumber, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->MakePhoneCallOnAudioEndpoint(impl::bind_in(phoneLine), *(void**)(&phoneNumber), static_cast(endPoint))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::MakePhoneCallWithVideo(winrt::guid const& phoneLine, param::hstring const& phoneNumber) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::MakePhoneCallWithVideo(winrt::guid const& phoneLine, param::hstring const& phoneNumber) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->MakePhoneCallWithVideo(impl::bind_in(phoneLine), *(void**)(&phoneNumber))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::MakePhoneCallWithVideo(winrt::guid const& phoneLine, param::hstring const& phoneNumber, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::MakePhoneCallWithVideo(winrt::guid const& phoneLine, param::hstring const& phoneNumber, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->MakePhoneCallWithVideoOnAudioEndpoint(impl::bind_in(phoneLine), *(void**)(&phoneNumber), static_cast(endPoint))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::SwapPhoneCalls(uint32_t phoneCallIdToHold, uint32_t phoneCallIdOnHold) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::SwapPhoneCalls(uint32_t phoneCallIdToHold, uint32_t phoneCallIdOnHold) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->SwapPhoneCalls(phoneCallIdToHold, phoneCallIdOnHold)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::HoldPhoneCall(uint32_t phoneCallId, bool holdCall) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::HoldPhoneCall(uint32_t phoneCallId, bool holdCall) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->HoldPhoneCall(phoneCallId, holdCall)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::EndPhoneCall(uint32_t phoneCallId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::EndPhoneCall(uint32_t phoneCallId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->EndPhoneCall(phoneCallId)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::PhoneMute(bool value) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::PhoneMute(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->put_PhoneMute(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IAccessoryManager::PhoneMute() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::PhoneMute() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->get_PhoneMute(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::PhoneCallAudioEndpoint(winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& value) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::PhoneCallAudioEndpoint(winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->put_PhoneCallAudioEndpoint(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint) consume_Windows_Phone_Notification_Management_IAccessoryManager::PhoneCallAudioEndpoint() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::PhoneCallAudioEndpoint() const { winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->get_PhoneCallAudioEndpoint(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::SnoozeAlarm(winrt::guid const& alarmId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::SnoozeAlarm(winrt::guid const& alarmId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->SnoozeAlarm(impl::bind_in(alarmId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::SnoozeAlarm(winrt::guid const& alarmId, winrt::Windows::Foundation::TimeSpan const& timeSpan) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::SnoozeAlarm(winrt::guid const& alarmId, winrt::Windows::Foundation::TimeSpan const& timeSpan) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->SnoozeAlarmForSpecifiedTime(impl::bind_in(alarmId), impl::bind_in(timeSpan))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::DismissAlarm(winrt::guid const& alarmId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::DismissAlarm(winrt::guid const& alarmId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->DismissAlarm(impl::bind_in(alarmId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::SnoozeReminder(winrt::guid const& reminderId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::SnoozeReminder(winrt::guid const& reminderId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->SnoozeReminder(impl::bind_in(reminderId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::SnoozeReminder(winrt::guid const& reminderId, winrt::Windows::Foundation::TimeSpan const& timeSpan) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::SnoozeReminder(winrt::guid const& reminderId, winrt::Windows::Foundation::TimeSpan const& timeSpan) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->SnoozeReminderForSpecifiedTime(impl::bind_in(reminderId), impl::bind_in(timeSpan))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::DismissReminder(winrt::guid const& reminderId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::DismissReminder(winrt::guid const& reminderId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->DismissReminder(impl::bind_in(reminderId))); } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::MediaMetadata) consume_Windows_Phone_Notification_Management_IAccessoryManager::GetMediaMetadata() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::GetMediaMetadata() const { void* ppMetadata{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->GetMediaMetadata(&ppMetadata)); return winrt::Windows::Phone::Notification::Management::MediaMetadata{ ppMetadata, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PlaybackCapability) consume_Windows_Phone_Notification_Management_IAccessoryManager::MediaPlaybackCapabilities() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::MediaPlaybackCapabilities() const { winrt::Windows::Phone::Notification::Management::PlaybackCapability value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->get_MediaPlaybackCapabilities(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PlaybackStatus) consume_Windows_Phone_Notification_Management_IAccessoryManager::MediaPlaybackStatus() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::MediaPlaybackStatus() const { winrt::Windows::Phone::Notification::Management::PlaybackStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->get_MediaPlaybackStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::PerformMediaPlaybackCommand(winrt::Windows::Phone::Notification::Management::PlaybackCommand const& command) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::PerformMediaPlaybackCommand(winrt::Windows::Phone::Notification::Management::PlaybackCommand const& command) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->PerformMediaPlaybackCommand(static_cast(command))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IAccessoryManager::DoNotDisturbEnabled() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::DoNotDisturbEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->get_DoNotDisturbEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IAccessoryManager::DrivingModeEnabled() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::DrivingModeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->get_DrivingModeEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IAccessoryManager::BatterySaverState() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::BatterySaverState() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->get_BatterySaverState(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Phone_Notification_Management_IAccessoryManager::GetApps() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::GetApps() const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->GetApps(&returnValue)); return winrt::Windows::Foundation::Collections::IMapView{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::EnableNotificationsForApplication(param::hstring const& appId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::EnableNotificationsForApplication(param::hstring const& appId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->EnableNotificationsForApplication(*(void**)(&appId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::DisableNotificationsForApplication(param::hstring const& appId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::DisableNotificationsForApplication(param::hstring const& appId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->DisableNotificationsForApplication(*(void**)(&appId))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IAccessoryManager::IsNotificationEnabledForApplication(param::hstring const& appId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::IsNotificationEnabledForApplication(param::hstring const& appId) const { bool enabled{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->IsNotificationEnabledForApplication(*(void**)(&appId), &enabled)); return enabled; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Phone_Notification_Management_IAccessoryManager::GetEnabledAccessoryNotificationTypes() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::GetEnabledAccessoryNotificationTypes() const { int32_t enabledAccessoryNotificationTypes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->GetEnabledAccessoryNotificationTypes(&enabledAccessoryNotificationTypes)); return enabledAccessoryNotificationTypes; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::EnableAccessoryNotificationTypes(int32_t accessoryNotificationTypes) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::EnableAccessoryNotificationTypes(int32_t accessoryNotificationTypes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->EnableAccessoryNotificationTypes(accessoryNotificationTypes)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager::DisableAllAccessoryNotificationTypes() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::DisableAllAccessoryNotificationTypes() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->DisableAllAccessoryNotificationTypes()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IAccessoryManager::GetUserConsent() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::GetUserConsent() const { bool enabled{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->GetUserConsent(&enabled)); return enabled; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Phone_Notification_Management_IAccessoryManager::GetAppIcon(param::hstring const& appId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager::GetAppIcon(param::hstring const& appId) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->GetAppIcon(*(void**)(&appId), &returnValue)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2::RingDevice() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager2::RingDevice() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->RingDevice()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Phone_Notification_Management_IAccessoryManager2::SpeedDialList() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager2::SpeedDialList() const { void* ppvalue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->get_SpeedDialList(&ppvalue)); return winrt::Windows::Foundation::Collections::IVectorView{ ppvalue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2::ClearToast(param::hstring const& instanceId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager2::ClearToast(param::hstring const& instanceId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->ClearToast(*(void**)(&instanceId))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IAccessoryManager2::IsPhonePinLocked() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager2::IsPhonePinLocked() const { bool pinLocked{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->get_IsPhonePinLocked(&pinLocked)); return pinLocked; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2::IncreaseVolume(int32_t step) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager2::IncreaseVolume(int32_t step) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->IncreaseVolume(step)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2::DecreaseVolume(int32_t step) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager2::DecreaseVolume(int32_t step) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->DecreaseVolume(step)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2::SetMute(bool mute) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager2::SetMute(bool mute) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->SetMute(mute)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2::SetRingerVibrate(bool ringer, bool vibrate) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager2::SetRingerVibrate(bool ringer, bool vibrate) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->SetRingerVibrate(ringer, vibrate)); } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::VolumeInfo) consume_Windows_Phone_Notification_Management_IAccessoryManager2::VolumeInfo() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager2::VolumeInfo() const { void* ppVolume{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->get_VolumeInfo(&ppVolume)); return winrt::Windows::Phone::Notification::Management::VolumeInfo{ ppVolume, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Phone_Notification_Management_IAccessoryManager2::GetAllEmailAccounts() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager2::GetAllEmailAccounts() const { void* emailAccounts{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->GetAllEmailAccounts(&emailAccounts)); return winrt::Windows::Foundation::Collections::IVectorView{ emailAccounts, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Phone_Notification_Management_IAccessoryManager2::GetFolders(param::hstring const& emailAccount) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager2::GetFolders(param::hstring const& emailAccount) const { void* folders{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->GetFolders(*(void**)(&emailAccount), &folders)); return winrt::Windows::Foundation::Collections::IVectorView{ folders, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2::EnableEmailNotificationEmailAccount(param::hstring const& emailAccount) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager2::EnableEmailNotificationEmailAccount(param::hstring const& emailAccount) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->EnableEmailNotificationEmailAccount(*(void**)(&emailAccount))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2::DisableEmailNotificationEmailAccount(param::hstring const& emailAccount) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager2::DisableEmailNotificationEmailAccount(param::hstring const& emailAccount) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->DisableEmailNotificationEmailAccount(*(void**)(&emailAccount))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2::EnableEmailNotificationFolderFilter(param::hstring const& emailAccount, param::vector_view const& folders) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager2::EnableEmailNotificationFolderFilter(param::hstring const& emailAccount, param::vector_view const& folders) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->EnableEmailNotificationFolderFilter(*(void**)(&emailAccount), *(void**)(&folders))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2::UpdateEmailReadStatus(winrt::Windows::Phone::Notification::Management::BinaryId const& messageEntryId, bool isRead) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager2::UpdateEmailReadStatus(winrt::Windows::Phone::Notification::Management::BinaryId const& messageEntryId, bool isRead) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->UpdateEmailReadStatus(*(void**)(&messageEntryId), isRead)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager3::SnoozeAlarmByInstanceId(param::hstring const& instanceId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager3::SnoozeAlarmByInstanceId(param::hstring const& instanceId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager3)->SnoozeAlarmByInstanceId(*(void**)(&instanceId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager3::DismissAlarmByInstanceId(param::hstring const& instanceId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager3::DismissAlarmByInstanceId(param::hstring const& instanceId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager3)->DismissAlarmByInstanceId(*(void**)(&instanceId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager3::SnoozeReminderByInstanceId(param::hstring const& instanceId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager3::SnoozeReminderByInstanceId(param::hstring const& instanceId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager3)->SnoozeReminderByInstanceId(*(void**)(&instanceId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager3::DismissReminderByInstanceId(param::hstring const& instanceId) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryManager3::DismissReminderByInstanceId(param::hstring const& instanceId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager3)->DismissReminderByInstanceId(*(void**)(&instanceId))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails::TimeCreated() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails::TimeCreated() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails)->get_TimeCreated(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails::AppDisplayName() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails::AppDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails)->get_AppDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails::AppId() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails::AppId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails)->get_AppId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::AccessoryNotificationType) consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails::AccessoryNotificationType() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails::AccessoryNotificationType() const { winrt::Windows::Phone::Notification::Management::AccessoryNotificationType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails)->get_AccessoryNotificationType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails::StartedProcessing() const + template auto consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails::StartedProcessing() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails)->get_StartedProcessing(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails::StartedProcessing(bool value) const + template auto consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails::StartedProcessing(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails)->put_StartedProcessing(value)); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails::AlarmId() const + template auto consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails::AlarmId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAlarmNotificationTriggerDetails)->get_AlarmId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails::Title() const + template auto consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAlarmNotificationTriggerDetails)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails::Timestamp() const + template auto consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAlarmNotificationTriggerDetails)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::ReminderState) consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails::ReminderState() const + template auto consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails::ReminderState() const { winrt::Windows::Phone::Notification::Management::ReminderState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAlarmNotificationTriggerDetails)->get_ReminderState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails2::InstanceId() const + template auto consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails2::InstanceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAlarmNotificationTriggerDetails2)->get_InstanceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IAppNotificationInfo::Id() const + template auto consume_Windows_Phone_Notification_Management_IAppNotificationInfo::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAppNotificationInfo)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IAppNotificationInfo::Name() const + template auto consume_Windows_Phone_Notification_Management_IAppNotificationInfo::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAppNotificationInfo)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Phone_Notification_Management_IBinaryId::Id() const + template auto consume_Windows_Phone_Notification_Management_IBinaryId::Id() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IBinaryId)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IBinaryId::Length() const + template auto consume_Windows_Phone_Notification_Management_IBinaryId::Length() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IBinaryId)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::CalendarChangedEvent) consume_Windows_Phone_Notification_Management_ICalendarChangedNotificationTriggerDetails::EventType() const + template auto consume_Windows_Phone_Notification_Management_ICalendarChangedNotificationTriggerDetails::EventType() const { winrt::Windows::Phone::Notification::Management::CalendarChangedEvent value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ICalendarChangedNotificationTriggerDetails)->get_EventType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICalendarChangedNotificationTriggerDetails::ItemId() const + template auto consume_Windows_Phone_Notification_Management_ICalendarChangedNotificationTriggerDetails::ItemId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ICalendarChangedNotificationTriggerDetails)->get_ItemId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::TileId() const + template auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::TileId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ICortanaTileNotificationTriggerDetails)->get_TileId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::Content() const + template auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ICortanaTileNotificationTriggerDetails)->get_Content(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::LargeContent1() const + template auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::LargeContent1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ICortanaTileNotificationTriggerDetails)->get_LargeContent1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::LargeContent2() const + template auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::LargeContent2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ICortanaTileNotificationTriggerDetails)->get_LargeContent2(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::EmphasizedText() const + template auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::EmphasizedText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ICortanaTileNotificationTriggerDetails)->get_EmphasizedText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::NonWrappedSmallContent1() const + template auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::NonWrappedSmallContent1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ICortanaTileNotificationTriggerDetails)->get_NonWrappedSmallContent1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::NonWrappedSmallContent2() const + template auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::NonWrappedSmallContent2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ICortanaTileNotificationTriggerDetails)->get_NonWrappedSmallContent2(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::NonWrappedSmallContent3() const + template auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::NonWrappedSmallContent3() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ICortanaTileNotificationTriggerDetails)->get_NonWrappedSmallContent3(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::NonWrappedSmallContent4() const + template auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::NonWrappedSmallContent4() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ICortanaTileNotificationTriggerDetails)->get_NonWrappedSmallContent4(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::Source() const + template auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ICortanaTileNotificationTriggerDetails)->get_Source(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IEmailAccountInfo::DisplayName() const + template auto consume_Windows_Phone_Notification_Management_IEmailAccountInfo::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailAccountInfo)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IEmailAccountInfo::IsNotificationEnabled() const + template auto consume_Windows_Phone_Notification_Management_IEmailAccountInfo::IsNotificationEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailAccountInfo)->get_IsNotificationEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IEmailFolderInfo::DisplayName() const + template auto consume_Windows_Phone_Notification_Management_IEmailFolderInfo::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailFolderInfo)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IEmailFolderInfo::IsNotificationEnabled() const + template auto consume_Windows_Phone_Notification_Management_IEmailFolderInfo::IsNotificationEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailFolderInfo)->get_IsNotificationEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails::AccountName() const + template auto consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails::AccountName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailNotificationTriggerDetails)->get_AccountName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails::ParentFolderName() const + template auto consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails::ParentFolderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailNotificationTriggerDetails)->get_ParentFolderName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails::SenderName() const + template auto consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails::SenderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailNotificationTriggerDetails)->get_SenderName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails::SenderAddress() const + template auto consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails::SenderAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailNotificationTriggerDetails)->get_SenderAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessage) consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails::EmailMessage() const + template auto consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails::EmailMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailNotificationTriggerDetails)->get_EmailMessage(&value)); return winrt::Windows::ApplicationModel::Email::EmailMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails::Timestamp() const + template auto consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailNotificationTriggerDetails)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::BinaryId) consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails2::MessageEntryId() const + template auto consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails2::MessageEntryId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailNotificationTriggerDetails2)->get_MessageEntryId(&value)); return winrt::Windows::Phone::Notification::Management::BinaryId{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails::AccountName() const + template auto consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails::AccountName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailReadNotificationTriggerDetails)->get_AccountName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails::ParentFolderName() const + template auto consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails::ParentFolderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailReadNotificationTriggerDetails)->get_ParentFolderName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::BinaryId) consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails::MessageEntryId() const + template auto consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails::MessageEntryId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailReadNotificationTriggerDetails)->get_MessageEntryId(&value)); return winrt::Windows::Phone::Notification::Management::BinaryId{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails::IsRead() const + template auto consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails::IsRead() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailReadNotificationTriggerDetails)->get_IsRead(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PlaybackStatus) consume_Windows_Phone_Notification_Management_IMediaControlsTriggerDetails::PlaybackStatus() const + template auto consume_Windows_Phone_Notification_Management_IMediaControlsTriggerDetails::PlaybackStatus() const { winrt::Windows::Phone::Notification::Management::PlaybackStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IMediaControlsTriggerDetails)->get_PlaybackStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::MediaMetadata) consume_Windows_Phone_Notification_Management_IMediaControlsTriggerDetails::MediaMetadata() const + template auto consume_Windows_Phone_Notification_Management_IMediaControlsTriggerDetails::MediaMetadata() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IMediaControlsTriggerDetails)->get_MediaMetadata(&value)); return winrt::Windows::Phone::Notification::Management::MediaMetadata{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IMediaMetadata::Title() const + template auto consume_Windows_Phone_Notification_Management_IMediaMetadata::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IMediaMetadata)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IMediaMetadata::Subtitle() const + template auto consume_Windows_Phone_Notification_Management_IMediaMetadata::Subtitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IMediaMetadata)->get_Subtitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IMediaMetadata::Artist() const + template auto consume_Windows_Phone_Notification_Management_IMediaMetadata::Artist() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IMediaMetadata)->get_Artist(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IMediaMetadata::Album() const + template auto consume_Windows_Phone_Notification_Management_IMediaMetadata::Album() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IMediaMetadata)->get_Album(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IMediaMetadata::Track() const + template auto consume_Windows_Phone_Notification_Management_IMediaMetadata::Track() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IMediaMetadata)->get_Track(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Phone_Notification_Management_IMediaMetadata::Duration() const + template auto consume_Windows_Phone_Notification_Management_IMediaMetadata::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IMediaMetadata)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Phone_Notification_Management_IMediaMetadata::Thumbnail() const + template auto consume_Windows_Phone_Notification_Management_IMediaMetadata::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IMediaMetadata)->get_Thumbnail(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Phone_Notification_Management_IPhoneCallDetails::PhoneLine() const + template auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails::PhoneLine() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_PhoneLine(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IPhoneCallDetails::CallId() const + template auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails::CallId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_CallId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneCallTransport) consume_Windows_Phone_Notification_Management_IPhoneCallDetails::CallTransport() const + template auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails::CallTransport() const { winrt::Windows::Phone::Notification::Management::PhoneCallTransport value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_CallTransport(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneMediaType) consume_Windows_Phone_Notification_Management_IPhoneCallDetails::CallMediaType() const + template auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails::CallMediaType() const { winrt::Windows::Phone::Notification::Management::PhoneMediaType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_CallMediaType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneCallDirection) consume_Windows_Phone_Notification_Management_IPhoneCallDetails::CallDirection() const + template auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails::CallDirection() const { winrt::Windows::Phone::Notification::Management::PhoneCallDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_CallDirection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneCallState) consume_Windows_Phone_Notification_Management_IPhoneCallDetails::State() const + template auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails::State() const { winrt::Windows::Phone::Notification::Management::PhoneCallState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IPhoneCallDetails::ConferenceCallId() const + template auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails::ConferenceCallId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_ConferenceCallId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_Notification_Management_IPhoneCallDetails::StartTime() const + template auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails::StartTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_StartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_Notification_Management_IPhoneCallDetails::EndTime() const + template auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails::EndTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_EndTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IPhoneCallDetails::PhoneNumber() const + template auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails::PhoneNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_PhoneNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IPhoneCallDetails::ContactName() const + template auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails::ContactName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_ContactName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Phone_Notification_Management_IPhoneCallDetails::PresetTextResponses() const + template auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails::PresetTextResponses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_PresetTextResponses(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Phone_Notification_Management_IPhoneLineDetails::LineId() const + template auto consume_Windows_Phone_Notification_Management_IPhoneLineDetails::LineId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneLineDetails)->get_LineId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IPhoneLineDetails::DisplayName() const + template auto consume_Windows_Phone_Notification_Management_IPhoneLineDetails::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneLineDetails)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IPhoneLineDetails::LineNumber() const + template auto consume_Windows_Phone_Notification_Management_IPhoneLineDetails::LineNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneLineDetails)->get_LineNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IPhoneLineDetails::DefaultOutgoingLine() const + template auto consume_Windows_Phone_Notification_Management_IPhoneLineDetails::DefaultOutgoingLine() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneLineDetails)->get_DefaultOutgoingLine(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IPhoneLineDetails::VoicemailCount() const + template auto consume_Windows_Phone_Notification_Management_IPhoneLineDetails::VoicemailCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneLineDetails)->get_VoicemailCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneLineRegistrationState) consume_Windows_Phone_Notification_Management_IPhoneLineDetails::RegistrationState() const + template auto consume_Windows_Phone_Notification_Management_IPhoneLineDetails::RegistrationState() const { winrt::Windows::Phone::Notification::Management::PhoneLineRegistrationState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneLineDetails)->get_RegistrationState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IPhoneLineDetails2::MissedCallCount() const + template auto consume_Windows_Phone_Notification_Management_IPhoneLineDetails2::MissedCallCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneLineDetails2)->get_MissedCallCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneNotificationType) consume_Windows_Phone_Notification_Management_IPhoneNotificationTriggerDetails::PhoneNotificationType() const + template auto consume_Windows_Phone_Notification_Management_IPhoneNotificationTriggerDetails::PhoneNotificationType() const { winrt::Windows::Phone::Notification::Management::PhoneNotificationType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneNotificationTriggerDetails)->get_PhoneNotificationType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneCallDetails) consume_Windows_Phone_Notification_Management_IPhoneNotificationTriggerDetails::CallDetails() const + template auto consume_Windows_Phone_Notification_Management_IPhoneNotificationTriggerDetails::CallDetails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneNotificationTriggerDetails)->get_CallDetails(&value)); return winrt::Windows::Phone::Notification::Management::PhoneCallDetails{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Phone_Notification_Management_IPhoneNotificationTriggerDetails::PhoneLineChangedId() const + template auto consume_Windows_Phone_Notification_Management_IPhoneNotificationTriggerDetails::PhoneLineChangedId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneNotificationTriggerDetails)->get_PhoneLineChangedId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails::ReminderId() const + template auto consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails::ReminderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IReminderNotificationTriggerDetails)->get_ReminderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails::Title() const + template auto consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IReminderNotificationTriggerDetails)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails::Description() const + template auto consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IReminderNotificationTriggerDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails::Details() const + template auto consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails::Details() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IReminderNotificationTriggerDetails)->get_Details(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails::Timestamp() const + template auto consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IReminderNotificationTriggerDetails)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails::Appointment() const + template auto consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails::Appointment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IReminderNotificationTriggerDetails)->get_Appointment(&value)); return winrt::Windows::ApplicationModel::Appointments::Appointment{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::ReminderState) consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails::ReminderState() const + template auto consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails::ReminderState() const { winrt::Windows::Phone::Notification::Management::ReminderState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IReminderNotificationTriggerDetails)->get_ReminderState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails2::InstanceId() const + template auto consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails2::InstanceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IReminderNotificationTriggerDetails2)->get_InstanceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ISpeedDialEntry::PhoneNumber() const + template auto consume_Windows_Phone_Notification_Management_ISpeedDialEntry::PhoneNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ISpeedDialEntry)->get_PhoneNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ISpeedDialEntry::NumberType() const + template auto consume_Windows_Phone_Notification_Management_ISpeedDialEntry::NumberType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ISpeedDialEntry)->get_NumberType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ISpeedDialEntry::ContactName() const + template auto consume_Windows_Phone_Notification_Management_ISpeedDialEntry::ContactName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ISpeedDialEntry)->get_ContactName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_ITextResponse::Id() const + template auto consume_Windows_Phone_Notification_Management_ITextResponse::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ITextResponse)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ITextResponse::Content() const + template auto consume_Windows_Phone_Notification_Management_ITextResponse::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ITextResponse)->get_Content(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails::Text1() const + template auto consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails::Text1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IToastNotificationTriggerDetails)->get_Text1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails::Text2() const + template auto consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails::Text2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IToastNotificationTriggerDetails)->get_Text2(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails::Text3() const + template auto consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails::Text3() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IToastNotificationTriggerDetails)->get_Text3(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails::Text4() const + template auto consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails::Text4() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IToastNotificationTriggerDetails)->get_Text4(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails::SuppressPopup() const + template auto consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails::SuppressPopup() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IToastNotificationTriggerDetails)->get_SuppressPopup(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails2::InstanceId() const + template auto consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails2::InstanceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IToastNotificationTriggerDetails2)->get_InstanceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IVolumeInfo::SystemVolume() const + template auto consume_Windows_Phone_Notification_Management_IVolumeInfo::SystemVolume() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IVolumeInfo)->get_SystemVolume(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IVolumeInfo::CallVolume() const + template auto consume_Windows_Phone_Notification_Management_IVolumeInfo::CallVolume() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IVolumeInfo)->get_CallVolume(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IVolumeInfo::MediaVolume() const + template auto consume_Windows_Phone_Notification_Management_IVolumeInfo::MediaVolume() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IVolumeInfo)->get_MediaVolume(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IVolumeInfo::IsMuted() const + template auto consume_Windows_Phone_Notification_Management_IVolumeInfo::IsMuted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IVolumeInfo)->get_IsMuted(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::VibrateState) consume_Windows_Phone_Notification_Management_IVolumeInfo::IsVibrateEnabled() const + template auto consume_Windows_Phone_Notification_Management_IVolumeInfo::IsVibrateEnabled() const { winrt::Windows::Phone::Notification::Management::VibrateState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IVolumeInfo)->get_IsVibrateEnabled(reinterpret_cast(&value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.PersonalInformation.Provisioning.h b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.PersonalInformation.Provisioning.h index e0505255..493f2925 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.PersonalInformation.Provisioning.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.PersonalInformation.Provisioning.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_PersonalInformation_Provisioning_H #define WINRT_Windows_Phone_PersonalInformation_Provisioning_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Phone.PersonalInformation.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,31 +14,31 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Phone.PersonalInformation.Provisioning.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_Provisioning_IContactPartnerProvisioningManagerStatics::AssociateNetworkAccountAsync(winrt::Windows::Phone::PersonalInformation::ContactStore const& store, param::hstring const& networkName, param::hstring const& networkAccountId) const + template auto consume_Windows_Phone_PersonalInformation_Provisioning_IContactPartnerProvisioningManagerStatics::AssociateNetworkAccountAsync(winrt::Windows::Phone::PersonalInformation::ContactStore const& store, param::hstring const& networkName, param::hstring const& networkAccountId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::Provisioning::IContactPartnerProvisioningManagerStatics)->AssociateNetworkAccountAsync(*(void**)(&store), *(void**)(&networkName), *(void**)(&networkAccountId), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_Provisioning_IContactPartnerProvisioningManagerStatics::ImportVcardToSystemAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const + template auto consume_Windows_Phone_PersonalInformation_Provisioning_IContactPartnerProvisioningManagerStatics::ImportVcardToSystemAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::Provisioning::IContactPartnerProvisioningManagerStatics)->ImportVcardToSystemAsync(*(void**)(&stream), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_Provisioning_IContactPartnerProvisioningManagerStatics2::AssociateSocialNetworkAccountAsync(winrt::Windows::Phone::PersonalInformation::ContactStore const& store, param::hstring const& networkName, param::hstring const& networkAccountId) const + template auto consume_Windows_Phone_PersonalInformation_Provisioning_IContactPartnerProvisioningManagerStatics2::AssociateSocialNetworkAccountAsync(winrt::Windows::Phone::PersonalInformation::ContactStore const& store, param::hstring const& networkName, param::hstring const& networkAccountId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::Provisioning::IContactPartnerProvisioningManagerStatics2)->AssociateSocialNetworkAccountAsync(*(void**)(&store), *(void**)(&networkName), *(void**)(&networkAccountId), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_Provisioning_IMessagePartnerProvisioningManagerStatics::ImportSmsToSystemAsync(bool incoming, bool read, param::hstring const& body, param::hstring const& sender, param::async_vector_view const& recipients, winrt::Windows::Foundation::DateTime const& deliveryTime) const + template auto consume_Windows_Phone_PersonalInformation_Provisioning_IMessagePartnerProvisioningManagerStatics::ImportSmsToSystemAsync(bool incoming, bool read, param::hstring const& body, param::hstring const& sender, param::async_vector_view const& recipients, winrt::Windows::Foundation::DateTime const& deliveryTime) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::Provisioning::IMessagePartnerProvisioningManagerStatics)->ImportSmsToSystemAsync(incoming, read, *(void**)(&body), *(void**)(&sender), *(void**)(&recipients), impl::bind_in(deliveryTime), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_Provisioning_IMessagePartnerProvisioningManagerStatics::ImportMmsToSystemAsync(bool incoming, bool read, param::hstring const& subject, param::hstring const& sender, param::async_vector_view const& recipients, winrt::Windows::Foundation::DateTime const& deliveryTime, param::async_vector_view> const& attachments) const + template auto consume_Windows_Phone_PersonalInformation_Provisioning_IMessagePartnerProvisioningManagerStatics::ImportMmsToSystemAsync(bool incoming, bool read, param::hstring const& subject, param::hstring const& sender, param::async_vector_view const& recipients, winrt::Windows::Foundation::DateTime const& deliveryTime, param::async_vector_view> const& attachments) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::Provisioning::IMessagePartnerProvisioningManagerStatics)->ImportMmsToSystemAsync(incoming, read, *(void**)(&subject), *(void**)(&sender), *(void**)(&recipients), impl::bind_in(deliveryTime), *(void**)(&attachments), &action)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.PersonalInformation.h b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.PersonalInformation.h index c678edad..4479cbe0 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.PersonalInformation.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.PersonalInformation.h @@ -1,568 +1,568 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_PersonalInformation_H #define WINRT_Windows_Phone_PersonalInformation_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.Phone.PersonalInformation.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactAddress::Country() const + template auto consume_Windows_Phone_PersonalInformation_IContactAddress::Country() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactAddress)->get_Country(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactAddress::Country(param::hstring const& value) const + template auto consume_Windows_Phone_PersonalInformation_IContactAddress::Country(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactAddress)->put_Country(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactAddress::Locality() const + template auto consume_Windows_Phone_PersonalInformation_IContactAddress::Locality() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactAddress)->get_Locality(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactAddress::Locality(param::hstring const& value) const + template auto consume_Windows_Phone_PersonalInformation_IContactAddress::Locality(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactAddress)->put_Locality(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactAddress::Region() const + template auto consume_Windows_Phone_PersonalInformation_IContactAddress::Region() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactAddress)->get_Region(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactAddress::Region(param::hstring const& value) const + template auto consume_Windows_Phone_PersonalInformation_IContactAddress::Region(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactAddress)->put_Region(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactAddress::PostalCode() const + template auto consume_Windows_Phone_PersonalInformation_IContactAddress::PostalCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactAddress)->get_PostalCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactAddress::PostalCode(param::hstring const& value) const + template auto consume_Windows_Phone_PersonalInformation_IContactAddress::PostalCode(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactAddress)->put_PostalCode(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactAddress::StreetAddress() const + template auto consume_Windows_Phone_PersonalInformation_IContactAddress::StreetAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactAddress)->get_StreetAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactAddress::StreetAddress(param::hstring const& value) const + template auto consume_Windows_Phone_PersonalInformation_IContactAddress::StreetAddress(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactAddress)->put_StreetAddress(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactChangeType) consume_Windows_Phone_PersonalInformation_IContactChangeRecord::ChangeType() const + template auto consume_Windows_Phone_PersonalInformation_IContactChangeRecord::ChangeType() const { winrt::Windows::Phone::PersonalInformation::ContactChangeType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactChangeRecord)->get_ChangeType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Phone_PersonalInformation_IContactChangeRecord::RevisionNumber() const + template auto consume_Windows_Phone_PersonalInformation_IContactChangeRecord::RevisionNumber() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactChangeRecord)->get_RevisionNumber(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactChangeRecord::Id() const + template auto consume_Windows_Phone_PersonalInformation_IContactChangeRecord::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactChangeRecord)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactChangeRecord::RemoteId() const + template auto consume_Windows_Phone_PersonalInformation_IContactChangeRecord::RemoteId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactChangeRecord)->get_RemoteId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactInformation::DisplayName() const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactInformation::DisplayName(param::hstring const& value) const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactInformation::FamilyName() const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation::FamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->get_FamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactInformation::FamilyName(param::hstring const& value) const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation::FamilyName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->put_FamilyName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactInformation::GivenName() const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation::GivenName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->get_GivenName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactInformation::GivenName(param::hstring const& value) const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation::GivenName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->put_GivenName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactInformation::HonorificPrefix() const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation::HonorificPrefix() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->get_HonorificPrefix(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactInformation::HonorificPrefix(param::hstring const& value) const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation::HonorificPrefix(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->put_HonorificPrefix(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactInformation::HonorificSuffix() const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation::HonorificSuffix() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->get_HonorificSuffix(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactInformation::HonorificSuffix(param::hstring const& value) const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation::HonorificSuffix(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->put_HonorificSuffix(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_PersonalInformation_IContactInformation::GetDisplayPictureAsync() const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation::GetDisplayPictureAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->GetDisplayPictureAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_IContactInformation::SetDisplayPictureAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation::SetDisplayPictureAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->SetDisplayPictureAsync(*(void**)(&stream), &action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Phone_PersonalInformation_IContactInformation::DisplayPicture() const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation::DisplayPicture() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->get_DisplayPicture(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Phone_PersonalInformation_IContactInformation::GetPropertiesAsync() const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation::GetPropertiesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->GetPropertiesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_PersonalInformation_IContactInformation::ToVcardAsync() const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation::ToVcardAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->ToVcardAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_PersonalInformation_IContactInformation::ToVcardAsync(winrt::Windows::Phone::PersonalInformation::VCardFormat const& format) const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation::ToVcardAsync(winrt::Windows::Phone::PersonalInformation::VCardFormat const& format) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->ToVcardWithOptionsAsync(static_cast(format), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_PersonalInformation_IContactInformation2::DisplayPictureDate() const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation2::DisplayPictureDate() const { winrt::Windows::Foundation::DateTime returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation2)->get_DisplayPictureDate(put_abi(returnValue))); return returnValue; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactInformation2::DisplayPictureDate(winrt::Windows::Foundation::DateTime const& returnValue) const + template auto consume_Windows_Phone_PersonalInformation_IContactInformation2::DisplayPictureDate(winrt::Windows::Foundation::DateTime const& returnValue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation2)->put_DisplayPictureDate(impl::bind_in(returnValue))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_PersonalInformation_IContactInformationStatics::ParseVcardAsync(winrt::Windows::Storage::Streams::IInputStream const& vcard) const + template auto consume_Windows_Phone_PersonalInformation_IContactInformationStatics::ParseVcardAsync(winrt::Windows::Storage::Streams::IInputStream const& vcard) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformationStatics)->ParseVcardAsync(*(void**)(&vcard), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Phone_PersonalInformation_IContactQueryOptions::DesiredFields() const + template auto consume_Windows_Phone_PersonalInformation_IContactQueryOptions::DesiredFields() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactQueryOptions)->get_DesiredFields(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactQueryResultOrdering) consume_Windows_Phone_PersonalInformation_IContactQueryOptions::OrderBy() const + template auto consume_Windows_Phone_PersonalInformation_IContactQueryOptions::OrderBy() const { winrt::Windows::Phone::PersonalInformation::ContactQueryResultOrdering value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactQueryOptions)->get_OrderBy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactQueryOptions::OrderBy(winrt::Windows::Phone::PersonalInformation::ContactQueryResultOrdering const& value) const + template auto consume_Windows_Phone_PersonalInformation_IContactQueryOptions::OrderBy(winrt::Windows::Phone::PersonalInformation::ContactQueryResultOrdering const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactQueryOptions)->put_OrderBy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_PersonalInformation_IContactQueryResult::GetContactCountAsync() const + template auto consume_Windows_Phone_PersonalInformation_IContactQueryResult::GetContactCountAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactQueryResult)->GetContactCountAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Phone_PersonalInformation_IContactQueryResult::GetContactsAsync() const + template auto consume_Windows_Phone_PersonalInformation_IContactQueryResult::GetContactsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactQueryResult)->GetContactsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Phone_PersonalInformation_IContactQueryResult::GetContactsAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const + template auto consume_Windows_Phone_PersonalInformation_IContactQueryResult::GetContactsAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactQueryResult)->GetContactsAsyncInRange(startIndex, maxNumberOfItems, &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactQueryOptions) consume_Windows_Phone_PersonalInformation_IContactQueryResult::GetCurrentQueryOptions() const + template auto consume_Windows_Phone_PersonalInformation_IContactQueryResult::GetCurrentQueryOptions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactQueryResult)->GetCurrentQueryOptions(&value)); return winrt::Windows::Phone::PersonalInformation::ContactQueryOptions{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_PersonalInformation_IContactStore::FindContactByRemoteIdAsync(param::hstring const& id) const + template auto consume_Windows_Phone_PersonalInformation_IContactStore::FindContactByRemoteIdAsync(param::hstring const& id) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactStore)->FindContactByRemoteIdAsync(*(void**)(&id), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_PersonalInformation_IContactStore::FindContactByIdAsync(param::hstring const& id) const + template auto consume_Windows_Phone_PersonalInformation_IContactStore::FindContactByIdAsync(param::hstring const& id) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactStore)->FindContactByIdAsync(*(void**)(&id), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_IContactStore::DeleteContactAsync(param::hstring const& id) const + template auto consume_Windows_Phone_PersonalInformation_IContactStore::DeleteContactAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactStore)->DeleteContactAsync(*(void**)(&id), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactQueryResult) consume_Windows_Phone_PersonalInformation_IContactStore::CreateContactQuery() const + template auto consume_Windows_Phone_PersonalInformation_IContactStore::CreateContactQuery() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactStore)->CreateContactQueryDefault(&result)); return winrt::Windows::Phone::PersonalInformation::ContactQueryResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactQueryResult) consume_Windows_Phone_PersonalInformation_IContactStore::CreateContactQuery(winrt::Windows::Phone::PersonalInformation::ContactQueryOptions const& options) const + template auto consume_Windows_Phone_PersonalInformation_IContactStore::CreateContactQuery(winrt::Windows::Phone::PersonalInformation::ContactQueryOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactStore)->CreateContactQueryWithOptions(*(void**)(&options), &result)); return winrt::Windows::Phone::PersonalInformation::ContactQueryResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_IContactStore::DeleteAsync() const + template auto consume_Windows_Phone_PersonalInformation_IContactStore::DeleteAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactStore)->DeleteAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Phone_PersonalInformation_IContactStore::RevisionNumber() const + template auto consume_Windows_Phone_PersonalInformation_IContactStore::RevisionNumber() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactStore)->get_RevisionNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Phone_PersonalInformation_IContactStore::GetChangesAsync(uint64_t baseRevisionNumber) const + template auto consume_Windows_Phone_PersonalInformation_IContactStore::GetChangesAsync(uint64_t baseRevisionNumber) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactStore)->GetChangesAsync(baseRevisionNumber, &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Phone_PersonalInformation_IContactStore::LoadExtendedPropertiesAsync() const + template auto consume_Windows_Phone_PersonalInformation_IContactStore::LoadExtendedPropertiesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactStore)->LoadExtendedPropertiesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_IContactStore::SaveExtendedPropertiesAsync(param::async_map_view const& data) const + template auto consume_Windows_Phone_PersonalInformation_IContactStore::SaveExtendedPropertiesAsync(param::async_map_view const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactStore)->SaveExtendedPropertiesAsync(*(void**)(&data), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_PersonalInformation_IContactStore2::CreateMeContactAsync(param::hstring const& id) const + template auto consume_Windows_Phone_PersonalInformation_IContactStore2::CreateMeContactAsync(param::hstring const& id) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactStore2)->CreateMeContactAsync(*(void**)(&id), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_PersonalInformation_IContactStoreStatics::CreateOrOpenAsync() const + template auto consume_Windows_Phone_PersonalInformation_IContactStoreStatics::CreateOrOpenAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactStoreStatics)->CreateOrOpenAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_PersonalInformation_IContactStoreStatics::CreateOrOpenAsync(winrt::Windows::Phone::PersonalInformation::ContactStoreSystemAccessMode const& access, winrt::Windows::Phone::PersonalInformation::ContactStoreApplicationAccessMode const& sharing) const + template auto consume_Windows_Phone_PersonalInformation_IContactStoreStatics::CreateOrOpenAsync(winrt::Windows::Phone::PersonalInformation::ContactStoreSystemAccessMode const& access, winrt::Windows::Phone::PersonalInformation::ContactStoreApplicationAccessMode const& sharing) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactStoreStatics)->CreateOrOpenWithOptionsAsync(static_cast(access), static_cast(sharing), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::DisplayName() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::FamilyName() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::FamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_FamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::GivenName() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::GivenName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_GivenName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::HonorificPrefix() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::HonorificPrefix() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_HonorificPrefix(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::HonorificSuffix() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::HonorificSuffix() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_HonorificSuffix(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::AdditionalName() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::AdditionalName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_AdditionalName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Address() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Address() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_Address(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::OtherAddress() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::OtherAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_OtherAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Email() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Email() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_Email(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::WorkAddress() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::WorkAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_WorkAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::WorkTelephone() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::WorkTelephone() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_WorkTelephone(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::JobTitle() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::JobTitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_JobTitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Birthdate() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Birthdate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_Birthdate(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Anniversary() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Anniversary() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_Anniversary(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Telephone() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Telephone() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_Telephone(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::MobileTelephone() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::MobileTelephone() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_MobileTelephone(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Url() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Url() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_Url(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Notes() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Notes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_Notes(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::WorkFax() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::WorkFax() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_WorkFax(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Children() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_Children(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::SignificantOther() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::SignificantOther() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_SignificantOther(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::CompanyName() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::CompanyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_CompanyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::CompanyTelephone() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::CompanyTelephone() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_CompanyTelephone(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::HomeFax() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::HomeFax() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_HomeFax(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::AlternateTelephone() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::AlternateTelephone() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_AlternateTelephone(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Manager() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Manager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_Manager(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Nickname() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::Nickname() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_Nickname(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::OfficeLocation() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::OfficeLocation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_OfficeLocation(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::WorkEmail() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::WorkEmail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_WorkEmail(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::YomiGivenName() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::YomiGivenName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_YomiGivenName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::YomiFamilyName() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::YomiFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_YomiFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::YomiCompanyName() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::YomiCompanyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_YomiCompanyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::OtherEmail() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::OtherEmail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_OtherEmail(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::AlternateMobileTelephone() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::AlternateMobileTelephone() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_AlternateMobileTelephone(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::AlternateWorkTelephone() const + template auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics::AlternateWorkTelephone() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics)->get_AlternateWorkTelephone(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactStore) consume_Windows_Phone_PersonalInformation_IStoredContact::Store() const + template auto consume_Windows_Phone_PersonalInformation_IStoredContact::Store() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IStoredContact)->get_Store(&value)); return winrt::Windows::Phone::PersonalInformation::ContactStore{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IStoredContact::Id() const + template auto consume_Windows_Phone_PersonalInformation_IStoredContact::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IStoredContact)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IStoredContact::RemoteId() const + template auto consume_Windows_Phone_PersonalInformation_IStoredContact::RemoteId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IStoredContact)->get_RemoteId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IStoredContact::RemoteId(param::hstring const& value) const + template auto consume_Windows_Phone_PersonalInformation_IStoredContact::RemoteId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IStoredContact)->put_RemoteId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Phone_PersonalInformation_IStoredContact::GetExtendedPropertiesAsync() const + template auto consume_Windows_Phone_PersonalInformation_IStoredContact::GetExtendedPropertiesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IStoredContact)->GetExtendedPropertiesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_IStoredContact::SaveAsync() const + template auto consume_Windows_Phone_PersonalInformation_IStoredContact::SaveAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IStoredContact)->SaveAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_IStoredContact::ReplaceExistingContactAsync(param::hstring const& id) const + template auto consume_Windows_Phone_PersonalInformation_IStoredContact::ReplaceExistingContactAsync(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IStoredContact)->ReplaceExistingContactAsync(*(void**)(&id), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::StoredContact) consume_Windows_Phone_PersonalInformation_IStoredContactFactory::CreateStoredContact(winrt::Windows::Phone::PersonalInformation::ContactStore const& store) const + template auto consume_Windows_Phone_PersonalInformation_IStoredContactFactory::CreateStoredContact(winrt::Windows::Phone::PersonalInformation::ContactStore const& store) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IStoredContactFactory)->CreateStoredContact(*(void**)(&store), &result)); return winrt::Windows::Phone::PersonalInformation::StoredContact{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::StoredContact) consume_Windows_Phone_PersonalInformation_IStoredContactFactory::CreateStoredContactFromInformation(winrt::Windows::Phone::PersonalInformation::ContactStore const& store, winrt::Windows::Phone::PersonalInformation::ContactInformation const& contact) const + template auto consume_Windows_Phone_PersonalInformation_IStoredContactFactory::CreateStoredContactFromInformation(winrt::Windows::Phone::PersonalInformation::ContactStore const& store, winrt::Windows::Phone::PersonalInformation::ContactInformation const& contact) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IStoredContactFactory)->CreateStoredContactFromInformation(*(void**)(&store), *(void**)(&contact), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Speech.Recognition.h b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Speech.Recognition.h index 8af6ff9c..37e7ac50 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Speech.Recognition.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Speech.Recognition.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Speech_Recognition_H #define WINRT_Windows_Phone_Speech_Recognition_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Phone.Speech.Recognition.2.h" namespace winrt::impl { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.StartScreen.h b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.StartScreen.h index 8a9e72ae..37c6bb67 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.StartScreen.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.StartScreen.h @@ -1,99 +1,99 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_StartScreen_H #define WINRT_Windows_Phone_StartScreen_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.UI.Notifications.2.h" #include "winrt/impl/Windows.Phone.StartScreen.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_StartScreen_IDualSimTile::DisplayName(param::hstring const& value) const + template auto consume_Windows_Phone_StartScreen_IDualSimTile::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTile)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_StartScreen_IDualSimTile::DisplayName() const + template auto consume_Windows_Phone_StartScreen_IDualSimTile::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTile)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_StartScreen_IDualSimTile::IsPinnedToStart() const + template auto consume_Windows_Phone_StartScreen_IDualSimTile::IsPinnedToStart() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTile)->get_IsPinnedToStart(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_StartScreen_IDualSimTile::CreateAsync() const + template auto consume_Windows_Phone_StartScreen_IDualSimTile::CreateAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTile)->CreateAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_StartScreen_IDualSimTile::UpdateAsync() const + template auto consume_Windows_Phone_StartScreen_IDualSimTile::UpdateAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTile)->UpdateAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_StartScreen_IDualSimTile::DeleteAsync() const + template auto consume_Windows_Phone_StartScreen_IDualSimTile::DeleteAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTile)->DeleteAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Phone::StartScreen::DualSimTile) consume_Windows_Phone_StartScreen_IDualSimTileStatics::GetTileForSim2() const + template auto consume_Windows_Phone_StartScreen_IDualSimTileStatics::GetTileForSim2() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTileStatics)->GetTileForSim2(&result)); return winrt::Windows::Phone::StartScreen::DualSimTile{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_StartScreen_IDualSimTileStatics::UpdateDisplayNameForSim1Async(param::hstring const& name) const + template auto consume_Windows_Phone_StartScreen_IDualSimTileStatics::UpdateDisplayNameForSim1Async(param::hstring const& name) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTileStatics)->UpdateDisplayNameForSim1Async(*(void**)(&name), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) consume_Windows_Phone_StartScreen_IDualSimTileStatics::CreateTileUpdaterForSim1() const + template auto consume_Windows_Phone_StartScreen_IDualSimTileStatics::CreateTileUpdaterForSim1() const { void* updater{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTileStatics)->CreateTileUpdaterForSim1(&updater)); return winrt::Windows::UI::Notifications::TileUpdater{ updater, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) consume_Windows_Phone_StartScreen_IDualSimTileStatics::CreateTileUpdaterForSim2() const + template auto consume_Windows_Phone_StartScreen_IDualSimTileStatics::CreateTileUpdaterForSim2() const { void* updater{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTileStatics)->CreateTileUpdaterForSim2(&updater)); return winrt::Windows::UI::Notifications::TileUpdater{ updater, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) consume_Windows_Phone_StartScreen_IDualSimTileStatics::CreateBadgeUpdaterForSim1() const + template auto consume_Windows_Phone_StartScreen_IDualSimTileStatics::CreateBadgeUpdaterForSim1() const { void* updater{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTileStatics)->CreateBadgeUpdaterForSim1(&updater)); return winrt::Windows::UI::Notifications::BadgeUpdater{ updater, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) consume_Windows_Phone_StartScreen_IDualSimTileStatics::CreateBadgeUpdaterForSim2() const + template auto consume_Windows_Phone_StartScreen_IDualSimTileStatics::CreateBadgeUpdaterForSim2() const { void* updater{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTileStatics)->CreateBadgeUpdaterForSim2(&updater)); return winrt::Windows::UI::Notifications::BadgeUpdater{ updater, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) consume_Windows_Phone_StartScreen_IDualSimTileStatics::CreateToastNotifierForSim1() const + template auto consume_Windows_Phone_StartScreen_IDualSimTileStatics::CreateToastNotifierForSim1() const { void* notifier{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTileStatics)->CreateToastNotifierForSim1(¬ifier)); return winrt::Windows::UI::Notifications::ToastNotifier{ notifier, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) consume_Windows_Phone_StartScreen_IDualSimTileStatics::CreateToastNotifierForSim2() const + template auto consume_Windows_Phone_StartScreen_IDualSimTileStatics::CreateToastNotifierForSim2() const { void* notifier{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTileStatics)->CreateToastNotifierForSim2(¬ifier)); return winrt::Windows::UI::Notifications::ToastNotifier{ notifier, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) consume_Windows_Phone_StartScreen_IToastNotificationManagerStatics3::CreateToastNotifierForSecondaryTile(param::hstring const& tileId) const + template auto consume_Windows_Phone_StartScreen_IToastNotificationManagerStatics3::CreateToastNotifierForSecondaryTile(param::hstring const& tileId) const { void* notifier{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IToastNotificationManagerStatics3)->CreateToastNotifierForSecondaryTile(*(void**)(&tileId), ¬ifier)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.Power.h b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.Power.h index 063c24ac..91325809 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.Power.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.Power.h @@ -1,37 +1,37 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_System_Power_H #define WINRT_Windows_Phone_System_Power_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Phone.System.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Phone.System.Power.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Phone::System::Power::PowerSavingMode) consume_Windows_Phone_System_Power_IPowerManagerStatics::PowerSavingMode() const + template auto consume_Windows_Phone_System_Power_IPowerManagerStatics::PowerSavingMode() const { winrt::Windows::Phone::System::Power::PowerSavingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::Power::IPowerManagerStatics)->get_PowerSavingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Phone_System_Power_IPowerManagerStatics::PowerSavingModeChanged(winrt::Windows::Foundation::EventHandler const& changeHandler) const + template auto consume_Windows_Phone_System_Power_IPowerManagerStatics::PowerSavingModeChanged(winrt::Windows::Foundation::EventHandler const& changeHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::Power::IPowerManagerStatics)->add_PowerSavingModeChanged(*(void**)(&changeHandler), put_abi(token))); return token; } - template typename consume_Windows_Phone_System_Power_IPowerManagerStatics::PowerSavingModeChanged_revoker consume_Windows_Phone_System_Power_IPowerManagerStatics::PowerSavingModeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler) const + template auto consume_Windows_Phone_System_Power_IPowerManagerStatics::PowerSavingModeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler) const { return impl::make_event_revoker(this, PowerSavingModeChanged(changeHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_System_Power_IPowerManagerStatics::PowerSavingModeChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Phone_System_Power_IPowerManagerStatics::PowerSavingModeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Phone::System::Power::IPowerManagerStatics)->remove_PowerSavingModeChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_System_Power_IPowerManagerStatics2::PowerSavingModeEnabled() const + template auto consume_Windows_Phone_System_Power_IPowerManagerStatics2::PowerSavingModeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::Power::IPowerManagerStatics2)->get_PowerSavingModeEnabled(&value)); @@ -88,10 +88,10 @@ WINRT_EXPORT namespace winrt::Windows::Phone::System::Power { return impl::call_factory([&](IPowerManagerStatics const& f) { return f.PowerSavingModeChanged(changeHandler); }); } - inline PowerManager::PowerSavingModeChanged_revoker PowerManager::PowerSavingModeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler) + inline auto PowerManager::PowerSavingModeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler) { auto f = get_activation_factory(); - return { f, f.PowerSavingModeChanged(changeHandler) }; + return PowerManager::PowerSavingModeChanged_revoker{ f, f.PowerSavingModeChanged(changeHandler) }; } inline auto PowerManager::PowerSavingModeChanged(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.Profile.h b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.Profile.h index 1afd3459..08fdefcd 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.Profile.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.Profile.h @@ -1,16 +1,16 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_System_Profile_H #define WINRT_Windows_Phone_System_Profile_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Phone.System.h" #include "winrt/impl/Windows.Phone.System.Profile.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_System_Profile_IRetailModeStatics::RetailModeEnabled() const + template auto consume_Windows_Phone_System_Profile_IRetailModeStatics::RetailModeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::Profile::IRetailModeStatics)->get_RetailModeEnabled(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.UserProfile.GameServices.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.UserProfile.GameServices.Core.h index 6b5ba59e..5695b4a5 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.UserProfile.GameServices.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.UserProfile.GameServices.Core.h @@ -1,70 +1,70 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_System_UserProfile_GameServices_Core_H #define WINRT_Windows_Phone_System_UserProfile_GameServices_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Phone.System.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService::ServiceUri() const + template auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService::ServiceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService)->get_ServiceUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService::GetGamerProfileAsync() const + template auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService::GetGamerProfileAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService)->GetGamerProfileAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService::GetInstalledGameItemsAsync() const + template auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService::GetInstalledGameItemsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService)->GetInstalledGameItemsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService::GetPartnerTokenAsync(winrt::Windows::Foundation::Uri const& audienceUri) const + template auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService::GetPartnerTokenAsync(winrt::Windows::Foundation::Uri const& audienceUri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService)->GetPartnerTokenAsync(*(void**)(&audienceUri), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService::GetPrivilegesAsync() const + template auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService::GetPrivilegesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService)->GetPrivilegesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService::GrantAchievement(uint32_t achievementId) const + template auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService::GrantAchievement(uint32_t achievementId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService)->GrantAchievement(achievementId)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService::GrantAvatarAward(uint32_t avatarAwardId) const + template auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService::GrantAvatarAward(uint32_t avatarAwardId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService)->GrantAvatarAward(avatarAwardId)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService::PostResult(uint32_t gameVariant, winrt::Windows::Phone::System::UserProfile::GameServices::Core::GameServiceScoreKind const& scoreKind, int64_t scoreValue, winrt::Windows::Phone::System::UserProfile::GameServices::Core::GameServiceGameOutcome const& gameOutcome, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService::PostResult(uint32_t gameVariant, winrt::Windows::Phone::System::UserProfile::GameServices::Core::GameServiceScoreKind const& scoreKind, int64_t scoreValue, winrt::Windows::Phone::System::UserProfile::GameServices::Core::GameServiceGameOutcome const& gameOutcome, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService)->PostResult(gameVariant, static_cast(scoreKind), scoreValue, static_cast(gameOutcome), *(void**)(&buffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService2::NotifyPartnerTokenExpired(winrt::Windows::Foundation::Uri const& audienceUri) const + template auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService2::NotifyPartnerTokenExpired(winrt::Windows::Foundation::Uri const& audienceUri) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService2)->NotifyPartnerTokenExpired(*(void**)(&audienceUri))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService2::GetAuthenticationStatus() const + template auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService2::GetAuthenticationStatus() const { uint32_t status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService2)->GetAuthenticationStatus(&status)); return status; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameServicePropertyCollection::GetPropertyAsync(param::hstring const& propertyName) const + template auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameServicePropertyCollection::GetPropertyAsync(param::hstring const& propertyName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameServicePropertyCollection)->GetPropertyAsync(*(void**)(&propertyName), &operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.h b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.h index 6da1589d..36c49273 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.h @@ -1,21 +1,21 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_System_H #define WINRT_Windows_Phone_System_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Phone.System.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_System_ISystemProtectionStatics::ScreenLocked() const + template auto consume_Windows_Phone_System_ISystemProtectionStatics::ScreenLocked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::ISystemProtectionStatics)->get_ScreenLocked(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_System_ISystemProtectionUnlockStatics::RequestScreenUnlock() const + template auto consume_Windows_Phone_System_ISystemProtectionUnlockStatics::RequestScreenUnlock() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::ISystemProtectionUnlockStatics)->RequestScreenUnlock()); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.UI.Input.h b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.UI.Input.h index a3735ec0..61984ad4 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Phone.UI.Input.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Phone.UI.Input.h @@ -1,78 +1,78 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_UI_Input_H #define WINRT_Windows_Phone_UI_Input_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Phone.UI.Input.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_Phone_UI_Input_IBackPressedEventArgs::Handled() const + template auto consume_Windows_Phone_UI_Input_IBackPressedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::UI::Input::IBackPressedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_UI_Input_IBackPressedEventArgs::Handled(bool value) const + template auto consume_Windows_Phone_UI_Input_IBackPressedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::UI::Input::IBackPressedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Phone_UI_Input_IHardwareButtonsStatics::BackPressed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics::BackPressed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics)->add_BackPressed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Phone_UI_Input_IHardwareButtonsStatics::BackPressed_revoker consume_Windows_Phone_UI_Input_IHardwareButtonsStatics::BackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics::BackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, BackPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_UI_Input_IHardwareButtonsStatics::BackPressed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics::BackPressed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics)->remove_BackPressed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraHalfPressed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraHalfPressed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2)->add_CameraHalfPressed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraHalfPressed_revoker consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, CameraHalfPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraHalfPressed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraHalfPressed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2)->remove_CameraHalfPressed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraPressed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraPressed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2)->add_CameraPressed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraPressed_revoker consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, CameraPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraPressed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraPressed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2)->remove_CameraPressed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraReleased(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraReleased(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2)->add_CameraReleased(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraReleased_revoker consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, CameraReleased(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraReleased(winrt::event_token const& token) const noexcept + template auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2::CameraReleased(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2)->remove_CameraReleased(impl::bind_in(token)); } @@ -177,10 +177,10 @@ WINRT_EXPORT namespace winrt::Windows::Phone::UI::Input { return impl::call_factory([&](IHardwareButtonsStatics const& f) { return f.BackPressed(handler); }); } - inline HardwareButtons::BackPressed_revoker HardwareButtons::BackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto HardwareButtons::BackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.BackPressed(handler) }; + return HardwareButtons::BackPressed_revoker{ f, f.BackPressed(handler) }; } inline auto HardwareButtons::BackPressed(winrt::event_token const& token) { @@ -190,10 +190,10 @@ WINRT_EXPORT namespace winrt::Windows::Phone::UI::Input { return impl::call_factory([&](IHardwareButtonsStatics2 const& f) { return f.CameraHalfPressed(handler); }); } - inline HardwareButtons::CameraHalfPressed_revoker HardwareButtons::CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto HardwareButtons::CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.CameraHalfPressed(handler) }; + return HardwareButtons::CameraHalfPressed_revoker{ f, f.CameraHalfPressed(handler) }; } inline auto HardwareButtons::CameraHalfPressed(winrt::event_token const& token) { @@ -203,10 +203,10 @@ WINRT_EXPORT namespace winrt::Windows::Phone::UI::Input { return impl::call_factory([&](IHardwareButtonsStatics2 const& f) { return f.CameraPressed(handler); }); } - inline HardwareButtons::CameraPressed_revoker HardwareButtons::CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto HardwareButtons::CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.CameraPressed(handler) }; + return HardwareButtons::CameraPressed_revoker{ f, f.CameraPressed(handler) }; } inline auto HardwareButtons::CameraPressed(winrt::event_token const& token) { @@ -216,10 +216,10 @@ WINRT_EXPORT namespace winrt::Windows::Phone::UI::Input { return impl::call_factory([&](IHardwareButtonsStatics2 const& f) { return f.CameraReleased(handler); }); } - inline HardwareButtons::CameraReleased_revoker HardwareButtons::CameraReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto HardwareButtons::CameraReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.CameraReleased(handler) }; + return HardwareButtons::CameraReleased_revoker{ f, f.CameraReleased(handler) }; } inline auto HardwareButtons::CameraReleased(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.Core.h index 51f8d0a1..1d09804d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.Core.h @@ -1,174 +1,174 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Identity_Core_H #define WINRT_Windows_Security_Authentication_Identity_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Security.Authentication.Identity.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Security.Authentication.Identity.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::GetOneTimePassCodeAsync(param::hstring const& userAccountId, uint32_t codeLength) const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::GetOneTimePassCodeAsync(param::hstring const& userAccountId, uint32_t codeLength) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorAuthenticationManager)->GetOneTimePassCodeAsync(*(void**)(&userAccountId), codeLength, &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::AddDeviceAsync(param::hstring const& userAccountId, param::hstring const& authenticationToken, param::hstring const& wnsChannelId) const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::AddDeviceAsync(param::hstring const& userAccountId, param::hstring const& authenticationToken, param::hstring const& wnsChannelId) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorAuthenticationManager)->AddDeviceAsync(*(void**)(&userAccountId), *(void**)(&authenticationToken), *(void**)(&wnsChannelId), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::RemoveDeviceAsync(param::hstring const& userAccountId) const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::RemoveDeviceAsync(param::hstring const& userAccountId) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorAuthenticationManager)->RemoveDeviceAsync(*(void**)(&userAccountId), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::UpdateWnsChannelAsync(param::hstring const& userAccountId, param::hstring const& channelUri) const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::UpdateWnsChannelAsync(param::hstring const& userAccountId, param::hstring const& channelUri) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorAuthenticationManager)->UpdateWnsChannelAsync(*(void**)(&userAccountId), *(void**)(&channelUri), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::GetSessionsAsync(param::async_iterable const& userAccountIdList) const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::GetSessionsAsync(param::async_iterable const& userAccountIdList) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorAuthenticationManager)->GetSessionsAsync(*(void**)(&userAccountIdList), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::GetSessionsAndUnregisteredAccountsAsync(param::async_iterable const& userAccountIdList) const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::GetSessionsAndUnregisteredAccountsAsync(param::async_iterable const& userAccountIdList) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorAuthenticationManager)->GetSessionsAndUnregisteredAccountsAsync(*(void**)(&userAccountIdList), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::ApproveSessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionAuthenticationStatus const& sessionAuthentictionStatus, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo const& authenticationSessionInfo) const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::ApproveSessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionAuthenticationStatus const& sessionAuthentictionStatus, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo const& authenticationSessionInfo) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorAuthenticationManager)->ApproveSessionUsingAuthSessionInfoAsync(static_cast(sessionAuthentictionStatus), *(void**)(&authenticationSessionInfo), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::ApproveSessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionAuthenticationStatus const& sessionAuthentictionStatus, param::hstring const& userAccountId, param::hstring const& sessionId, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationType const& sessionAuthenticationType) const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::ApproveSessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionAuthenticationStatus const& sessionAuthentictionStatus, param::hstring const& userAccountId, param::hstring const& sessionId, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationType const& sessionAuthenticationType) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorAuthenticationManager)->ApproveSessionAsync(static_cast(sessionAuthentictionStatus), *(void**)(&userAccountId), *(void**)(&sessionId), static_cast(sessionAuthenticationType), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::DenySessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo const& authenticationSessionInfo) const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::DenySessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo const& authenticationSessionInfo) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorAuthenticationManager)->DenySessionUsingAuthSessionInfoAsync(*(void**)(&authenticationSessionInfo), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::DenySessionAsync(param::hstring const& userAccountId, param::hstring const& sessionId, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationType const& sessionAuthenticationType) const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager::DenySessionAsync(param::hstring const& userAccountId, param::hstring const& sessionId, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationType const& sessionAuthenticationType) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorAuthenticationManager)->DenySessionAsync(*(void**)(&userAccountId), *(void**)(&sessionId), static_cast(sessionAuthenticationType), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationManager) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticatorStatics::Current() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticatorStatics::Current() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorAuthenticatorStatics)->get_Current(&value)); return winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorGetSessionsResult::Sessions() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorGetSessionsResult::Sessions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorGetSessionsResult)->get_Sessions(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorGetSessionsResult::ServiceResponse() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorGetSessionsResult::ServiceResponse() const { winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorGetSessionsResult)->get_ServiceResponse(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo::Code() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo::Code() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorOneTimeCodedInfo)->get_Code(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo::TimeInterval() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo::TimeInterval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorOneTimeCodedInfo)->get_TimeInterval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo::TimeToLive() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo::TimeToLive() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorOneTimeCodedInfo)->get_TimeToLive(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo::ServiceResponse() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo::ServiceResponse() const { winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorOneTimeCodedInfo)->get_ServiceResponse(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo::UserAccountId() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo::UserAccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorSessionInfo)->get_UserAccountId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo::SessionId() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo::SessionId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorSessionInfo)->get_SessionId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo::DisplaySessionId() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo::DisplaySessionId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorSessionInfo)->get_DisplaySessionId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionApprovalStatus) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo::ApprovalStatus() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo::ApprovalStatus() const { winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionApprovalStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorSessionInfo)->get_ApprovalStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationType) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo::AuthenticationType() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo::AuthenticationType() const { winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorSessionInfo)->get_AuthenticationType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo::RequestTime() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo::RequestTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorSessionInfo)->get_RequestTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo::ExpirationTime() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo::ExpirationTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorSessionInfo)->get_ExpirationTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo::Sessions() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo::Sessions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo)->get_Sessions(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo::UnregisteredAccounts() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo::UnregisteredAccounts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo)->get_UnregisteredAccounts(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo::ServiceResponse() const + template auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo::ServiceResponse() const { winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo)->get_ServiceResponse(reinterpret_cast(&value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.Provider.h index 9ec2b46c..f46ffb25 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.Provider.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Identity_Provider_H #define WINRT_Windows_Security_Authentication_Identity_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Security.Authentication.Identity.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,219 +13,219 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Security.Authentication.Identity.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication::ServiceAuthenticationHmac() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication::ServiceAuthenticationHmac() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthentication)->get_ServiceAuthenticationHmac(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication::SessionNonce() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication::SessionNonce() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthentication)->get_SessionNonce(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication::DeviceNonce() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication::DeviceNonce() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthentication)->get_DeviceNonce(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication::DeviceConfigurationData() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication::DeviceConfigurationData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthentication)->get_DeviceConfigurationData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication::FinishAuthenticationAsync(winrt::Windows::Storage::Streams::IBuffer const& deviceHmac, winrt::Windows::Storage::Streams::IBuffer const& sessionHmac) const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication::FinishAuthenticationAsync(winrt::Windows::Storage::Streams::IBuffer const& deviceHmac, winrt::Windows::Storage::Streams::IBuffer const& sessionHmac) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthentication)->FinishAuthenticationAsync(*(void**)(&deviceHmac), *(void**)(&sessionHmac), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication::AbortAuthenticationAsync(param::hstring const& errorLogMessage) const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication::AbortAuthenticationAsync(param::hstring const& errorLogMessage) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthentication)->AbortAuthenticationAsync(*(void**)(&errorLogMessage), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStatus) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationResult::Status() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationResult::Status() const { winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthentication) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationResult::Authentication() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationResult::Authentication() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationResult)->get_Authentication(&value)); return winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthentication{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageInfo) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs::StageInfo() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs::StageInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs)->get_StageInfo(&value)); return winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStage) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageInfo::Stage() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageInfo::Stage() const { winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStage value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStageInfo)->get_Stage(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationScenario) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageInfo::Scenario() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageInfo::Scenario() const { winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationScenario value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStageInfo)->get_Scenario(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageInfo::DeviceId() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageInfo::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStageInfo)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics::ShowNotificationMessageAsync(param::hstring const& deviceName, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationMessage const& message) const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics::ShowNotificationMessageAsync(param::hstring const& deviceName, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationMessage const& message) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStatics)->ShowNotificationMessageAsync(*(void**)(&deviceName), static_cast(message), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics::StartAuthenticationAsync(param::hstring const& deviceId, winrt::Windows::Storage::Streams::IBuffer const& serviceAuthenticationNonce) const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics::StartAuthenticationAsync(param::hstring const& deviceId, winrt::Windows::Storage::Streams::IBuffer const& serviceAuthenticationNonce) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStatics)->StartAuthenticationAsync(*(void**)(&deviceId), *(void**)(&serviceAuthenticationNonce), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics::AuthenticationStageChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics::AuthenticationStageChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStatics)->add_AuthenticationStageChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics::AuthenticationStageChanged_revoker consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics::AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics::AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, AuthenticationStageChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics::AuthenticationStageChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics::AuthenticationStageChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStatics)->remove_AuthenticationStageChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics::GetAuthenticationStageInfoAsync() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics::GetAuthenticationStageInfoAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStatics)->GetAuthenticationStageInfoAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics::RegisterDevicePresenceMonitoringAsync(param::hstring const& deviceId, param::hstring const& deviceInstancePath, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode) const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics::RegisterDevicePresenceMonitoringAsync(param::hstring const& deviceId, param::hstring const& deviceInstancePath, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics)->RegisterDevicePresenceMonitoringAsync(*(void**)(&deviceId), *(void**)(&deviceInstancePath), static_cast(monitoringMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics::RegisterDevicePresenceMonitoringAsync(param::hstring const& deviceId, param::hstring const& deviceInstancePath, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode, param::hstring const& deviceFriendlyName, param::hstring const& deviceModelNumber, winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics::RegisterDevicePresenceMonitoringAsync(param::hstring const& deviceId, param::hstring const& deviceInstancePath, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode, param::hstring const& deviceFriendlyName, param::hstring const& deviceModelNumber, winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics)->RegisterDevicePresenceMonitoringWithNewDeviceAsync(*(void**)(&deviceId), *(void**)(&deviceInstancePath), static_cast(monitoringMode), *(void**)(&deviceFriendlyName), *(void**)(&deviceModelNumber), *(void**)(&deviceConfigurationData), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics::UnregisterDevicePresenceMonitoringAsync(param::hstring const& deviceId) const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics::UnregisterDevicePresenceMonitoringAsync(param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics)->UnregisterDevicePresenceMonitoringAsync(*(void**)(&deviceId), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics::IsDevicePresenceMonitoringSupported() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics::IsDevicePresenceMonitoringSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics)->IsDevicePresenceMonitoringSupported(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo::DeviceId() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo::DeviceId() const { void* deviceId{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorInfo)->get_DeviceId(&deviceId)); return hstring{ deviceId, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo::DeviceFriendlyName() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo::DeviceFriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorInfo)->get_DeviceFriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo::DeviceModelNumber() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo::DeviceModelNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorInfo)->get_DeviceModelNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo::DeviceConfigurationData() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo::DeviceConfigurationData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorInfo)->get_DeviceConfigurationData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo2::PresenceMonitoringMode() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo2::PresenceMonitoringMode() const { winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorInfo2)->get_PresenceMonitoringMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo2::UpdateDevicePresenceAsync(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresence const& presenceState) const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo2::UpdateDevicePresenceAsync(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresence const& presenceState) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorInfo2)->UpdateDevicePresenceAsync(static_cast(presenceState), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo2::IsAuthenticationSupported() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo2::IsAuthenticationSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorInfo2)->get_IsAuthenticationSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistration::FinishRegisteringDeviceAsync(winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistration::FinishRegisteringDeviceAsync(winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistration)->FinishRegisteringDeviceAsync(*(void**)(&deviceConfigurationData), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistration::AbortRegisteringDeviceAsync(param::hstring const& errorLogMessage) const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistration::AbortRegisteringDeviceAsync(param::hstring const& errorLogMessage) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistration)->AbortRegisteringDeviceAsync(*(void**)(&errorLogMessage), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorRegistrationStatus) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationResult::Status() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationResult::Status() const { winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorRegistrationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistrationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorRegistration) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationResult::Registration() const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationResult::Registration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistrationResult)->get_Registration(&value)); return winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorRegistration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics::RequestStartRegisteringDeviceAsync(param::hstring const& deviceId, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDeviceCapabilities const& capabilities, param::hstring const& deviceFriendlyName, param::hstring const& deviceModelNumber, winrt::Windows::Storage::Streams::IBuffer const& deviceKey, winrt::Windows::Storage::Streams::IBuffer const& mutualAuthenticationKey) const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics::RequestStartRegisteringDeviceAsync(param::hstring const& deviceId, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDeviceCapabilities const& capabilities, param::hstring const& deviceFriendlyName, param::hstring const& deviceModelNumber, winrt::Windows::Storage::Streams::IBuffer const& deviceKey, winrt::Windows::Storage::Streams::IBuffer const& mutualAuthenticationKey) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistrationStatics)->RequestStartRegisteringDeviceAsync(*(void**)(&deviceId), static_cast(capabilities), *(void**)(&deviceFriendlyName), *(void**)(&deviceModelNumber), *(void**)(&deviceKey), *(void**)(&mutualAuthenticationKey), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics::FindAllRegisteredDeviceInfoAsync(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDeviceFindScope const& queryType) const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics::FindAllRegisteredDeviceInfoAsync(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDeviceFindScope const& queryType) const { void* deviceInfoList{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistrationStatics)->FindAllRegisteredDeviceInfoAsync(static_cast(queryType), &deviceInfoList)); return winrt::Windows::Foundation::IAsyncOperation>{ deviceInfoList, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics::UnregisterDeviceAsync(param::hstring const& deviceId) const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics::UnregisterDeviceAsync(param::hstring const& deviceId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistrationStatics)->UnregisterDeviceAsync(*(void**)(&deviceId), &result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics::UpdateDeviceConfigurationDataAsync(param::hstring const& deviceId, winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const + template auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics::UpdateDeviceConfigurationDataAsync(param::hstring const& deviceId, winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistrationStatics)->UpdateDeviceConfigurationDataAsync(*(void**)(&deviceId), *(void**)(&deviceConfigurationData), &result)); @@ -622,10 +622,10 @@ WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Identity::Provi { return impl::call_factory([&](ISecondaryAuthenticationFactorAuthenticationStatics const& f) { return f.AuthenticationStageChanged(handler); }); } - inline SecondaryAuthenticationFactorAuthentication::AuthenticationStageChanged_revoker SecondaryAuthenticationFactorAuthentication::AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto SecondaryAuthenticationFactorAuthentication::AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.AuthenticationStageChanged(handler) }; + return SecondaryAuthenticationFactorAuthentication::AuthenticationStageChanged_revoker{ f, f.AuthenticationStageChanged(handler) }; } inline auto SecondaryAuthenticationFactorAuthentication::AuthenticationStageChanged(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.h index 94cc9cbb..c629b969 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.h @@ -1,53 +1,53 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Identity_H #define WINRT_Windows_Security_Authentication_Identity_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Security.Authentication.Identity.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo::TenantId() const + template auto consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo::TenantId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationInfo)->get_TenantId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo::TenantName() const + template auto consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo::TenantName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationInfo)->get_TenantName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo::Subject() const + template auto consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationInfo)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo::KeyId() const + template auto consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo::KeyId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationInfo)->get_KeyId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo::KeyName() const + template auto consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo::KeyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationInfo)->get_KeyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationManager::GetRegistrationsAsync() const + template auto consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationManager::GetRegistrationsAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationManager)->GetRegistrationsAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::EnterpriseKeyCredentialRegistrationManager) consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationManagerStatics::Current() const + template auto consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationManagerStatics::Current() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationManagerStatics)->get_Current(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.OnlineId.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.OnlineId.h index bc50045b..91f56db7 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.OnlineId.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.OnlineId.h @@ -1,206 +1,206 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_OnlineId_H #define WINRT_Windows_Security_Authentication_OnlineId_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.System.2.h" #include "winrt/impl/Windows.Security.Authentication.OnlineId.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::UserAuthenticationOperation) consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator::AuthenticateUserAsync(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest const& request) const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator::AuthenticateUserAsync(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest const& request) const { void* authenticationOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdAuthenticator)->AuthenticateUserAsync(*(void**)(&request), &authenticationOperation)); return winrt::Windows::Security::Authentication::OnlineId::UserAuthenticationOperation{ authenticationOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::UserAuthenticationOperation) consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator::AuthenticateUserAsync(param::iterable const& requests, winrt::Windows::Security::Authentication::OnlineId::CredentialPromptType const& credentialPromptType) const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator::AuthenticateUserAsync(param::iterable const& requests, winrt::Windows::Security::Authentication::OnlineId::CredentialPromptType const& credentialPromptType) const { void* authenticationOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdAuthenticator)->AuthenticateUserAsyncAdvanced(*(void**)(&requests), static_cast(credentialPromptType), &authenticationOperation)); return winrt::Windows::Security::Authentication::OnlineId::UserAuthenticationOperation{ authenticationOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::SignOutUserOperation) consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator::SignOutUserAsync() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator::SignOutUserAsync() const { void* signOutUserOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdAuthenticator)->SignOutUserAsync(&signOutUserOperation)); return winrt::Windows::Security::Authentication::OnlineId::SignOutUserOperation{ signOutUserOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator::ApplicationId(winrt::guid const& value) const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator::ApplicationId(winrt::guid const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdAuthenticator)->put_ApplicationId(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator::ApplicationId() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator::ApplicationId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdAuthenticator)->get_ApplicationId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator::CanSignOut() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator::CanSignOut() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdAuthenticator)->get_CanSignOut(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator::AuthenticatedSafeCustomerId() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator::AuthenticatedSafeCustomerId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdAuthenticator)->get_AuthenticatedSafeCustomerId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicket::Value() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicket::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicket)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest) consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicket::Request() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicket::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicket)->get_Request(&value)); return winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicket::ErrorCode() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicket::ErrorCode() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicket)->get_ErrorCode(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequest::Service() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequest::Service() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicketRequest)->get_Service(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequest::Policy() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequest::Policy() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicketRequest)->get_Policy(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest) consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequestFactory::CreateOnlineIdServiceTicketRequest(param::hstring const& service, param::hstring const& policy) const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequestFactory::CreateOnlineIdServiceTicketRequest(param::hstring const& service, param::hstring const& policy) const { void* onlineIdServiceTicketRequest{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicketRequestFactory)->CreateOnlineIdServiceTicketRequest(*(void**)(&service), *(void**)(&policy), &onlineIdServiceTicketRequest)); return winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest{ onlineIdServiceTicketRequest, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest) consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequestFactory::CreateOnlineIdServiceTicketRequestAdvanced(param::hstring const& service) const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequestFactory::CreateOnlineIdServiceTicketRequestAdvanced(param::hstring const& service) const { void* onlineIdServiceTicketRequest{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicketRequestFactory)->CreateOnlineIdServiceTicketRequestAdvanced(*(void**)(&service), &onlineIdServiceTicketRequest)); return winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest{ onlineIdServiceTicketRequest, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser::GetTicketAsync(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest const& request) const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser::GetTicketAsync(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest const& request) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemAuthenticatorForUser)->GetTicketAsync(*(void**)(&request), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser::ApplicationId(winrt::guid const& value) const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser::ApplicationId(winrt::guid const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemAuthenticatorForUser)->put_ApplicationId(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser::ApplicationId() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser::ApplicationId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemAuthenticatorForUser)->get_ApplicationId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser::User() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser::User() const { void* user{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemAuthenticatorForUser)->get_User(&user)); return winrt::Windows::System::User{ user, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemAuthenticatorForUser) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorStatics::Default() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorStatics::Default() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemAuthenticatorStatics)->get_Default(&value)); return winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemAuthenticatorForUser{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemAuthenticatorForUser) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorStatics::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorStatics::GetForUser(winrt::Windows::System::User const& user) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemAuthenticatorStatics)->GetForUser(*(void**)(&user), &value)); return winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemAuthenticatorForUser{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicket) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemIdentity::Ticket() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemIdentity::Ticket() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemIdentity)->get_Ticket(&value)); return winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicket{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemIdentity::Id() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemIdentity::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemIdentity)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemIdentity) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemTicketResult::Identity() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemTicketResult::Identity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemTicketResult)->get_Identity(&value)); return winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemIdentity{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemTicketStatus) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemTicketResult::Status() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemTicketResult::Status() const { winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemTicketStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemTicketResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemTicketResult::ExtendedError() const + template auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemTicketResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemTicketResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Authentication_OnlineId_IUserIdentity::Tickets() const + template auto consume_Windows_Security_Authentication_OnlineId_IUserIdentity::Tickets() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IUserIdentity)->get_Tickets(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IUserIdentity::Id() const + template auto consume_Windows_Security_Authentication_OnlineId_IUserIdentity::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IUserIdentity)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IUserIdentity::SafeCustomerId() const + template auto consume_Windows_Security_Authentication_OnlineId_IUserIdentity::SafeCustomerId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IUserIdentity)->get_SafeCustomerId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IUserIdentity::SignInName() const + template auto consume_Windows_Security_Authentication_OnlineId_IUserIdentity::SignInName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IUserIdentity)->get_SignInName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IUserIdentity::FirstName() const + template auto consume_Windows_Security_Authentication_OnlineId_IUserIdentity::FirstName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IUserIdentity)->get_FirstName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IUserIdentity::LastName() const + template auto consume_Windows_Security_Authentication_OnlineId_IUserIdentity::LastName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IUserIdentity)->get_LastName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Authentication_OnlineId_IUserIdentity::IsBetaAccount() const + template auto consume_Windows_Security_Authentication_OnlineId_IUserIdentity::IsBetaAccount() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IUserIdentity)->get_IsBetaAccount(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Authentication_OnlineId_IUserIdentity::IsConfirmedPC() const + template auto consume_Windows_Security_Authentication_OnlineId_IUserIdentity::IsConfirmedPC() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IUserIdentity)->get_IsConfirmedPC(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.Core.h index 91dbbddc..9186440d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.Core.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Web_Core_H #define WINRT_Windows_Security_Authentication_Web_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Security.Authentication.Web.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,325 +14,325 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Security.Authentication.Web.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Authentication_Web_Core_IFindAllAccountsResult::Accounts() const + template auto consume_Windows_Security_Authentication_Web_Core_IFindAllAccountsResult::Accounts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IFindAllAccountsResult)->get_Accounts(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::FindAllWebAccountsStatus) consume_Windows_Security_Authentication_Web_Core_IFindAllAccountsResult::Status() const + template auto consume_Windows_Security_Authentication_Web_Core_IFindAllAccountsResult::Status() const { winrt::Windows::Security::Authentication::Web::Core::FindAllWebAccountsStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IFindAllAccountsResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebProviderError) consume_Windows_Security_Authentication_Web_Core_IFindAllAccountsResult::ProviderError() const + template auto consume_Windows_Security_Authentication_Web_Core_IFindAllAccountsResult::ProviderError() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IFindAllAccountsResult)->get_ProviderError(&value)); return winrt::Windows::Security::Authentication::Web::Core::WebProviderError{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) consume_Windows_Security_Authentication_Web_Core_IWebAccountEventArgs::Account() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAccountEventArgs::Account() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAccountEventArgs)->get_Account(&value)); return winrt::Windows::Security::Credentials::WebAccount{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor)->add_Updated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::Updated_revoker consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Updated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::Updated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::Updated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor)->remove_Updated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor)->add_Removed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::Removed_revoker consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Removed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::Removed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::Removed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor)->remove_Removed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::DefaultSignInAccountChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::DefaultSignInAccountChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor)->add_DefaultSignInAccountChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::DefaultSignInAccountChanged_revoker consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::DefaultSignInAccountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::DefaultSignInAccountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DefaultSignInAccountChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::DefaultSignInAccountChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor::DefaultSignInAccountChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor)->remove_DefaultSignInAccountChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2::AccountPictureUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2::AccountPictureUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor2)->add_AccountPictureUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2::AccountPictureUpdated_revoker consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2::AccountPictureUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2::AccountPictureUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AccountPictureUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2::AccountPictureUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2::AccountPictureUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor2)->remove_AccountPictureUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics::GetTokenSilentlyAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics::GetTokenSilentlyAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics)->GetTokenSilentlyAsync(*(void**)(&request), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics::GetTokenSilentlyAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics::GetTokenSilentlyAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics)->GetTokenSilentlyWithWebAccountAsync(*(void**)(&request), *(void**)(&webAccount), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics::RequestTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics::RequestTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics)->RequestTokenAsync(*(void**)(&request), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics::RequestTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics::RequestTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics)->RequestTokenWithWebAccountAsync(*(void**)(&request), *(void**)(&webAccount), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics::FindAccountAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& webAccountId) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics::FindAccountAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& webAccountId) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics)->FindAccountAsync(*(void**)(&provider), *(void**)(&webAccountId), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics::FindAccountProviderAsync(param::hstring const& webAccountProviderId) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics::FindAccountProviderAsync(param::hstring const& webAccountProviderId) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics)->FindAccountProviderAsync(*(void**)(&webAccountProviderId), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics::FindAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics::FindAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics)->FindAccountProviderWithAuthorityAsync(*(void**)(&webAccountProviderId), *(void**)(&authority), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics2::FindAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority, winrt::Windows::System::User const& user) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics2::FindAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority, winrt::Windows::System::User const& user) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics2)->FindAccountProviderWithAuthorityForUserAsync(*(void**)(&webAccountProviderId), *(void**)(&authority), *(void**)(&user), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics3::CreateWebAccountMonitor(param::iterable const& webAccounts) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics3::CreateWebAccountMonitor(param::iterable const& webAccounts) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics3)->CreateWebAccountMonitor(*(void**)(&webAccounts), &result)); return winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4::FindAllAccountsAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4::FindAllAccountsAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics4)->FindAllAccountsAsync(*(void**)(&provider), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4::FindAllAccountsAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& clientId) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4::FindAllAccountsAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& clientId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics4)->FindAllAccountsWithClientIdAsync(*(void**)(&provider), *(void**)(&clientId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4::FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4::FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics4)->FindSystemAccountProviderAsync(*(void**)(&webAccountProviderId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4::FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4::FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics4)->FindSystemAccountProviderWithAuthorityAsync(*(void**)(&webAccountProviderId), *(void**)(&authority), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4::FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority, winrt::Windows::System::User const& user) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4::FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority, winrt::Windows::System::User const& user) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics4)->FindSystemAccountProviderWithAuthorityForUserAsync(*(void**)(&webAccountProviderId), *(void**)(&authority), *(void**)(&user), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Authentication_Web_Core_IWebProviderError::ErrorCode() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebProviderError::ErrorCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebProviderError)->get_ErrorCode(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Core_IWebProviderError::ErrorMessage() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebProviderError::ErrorMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebProviderError)->get_ErrorMessage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Security_Authentication_Web_Core_IWebProviderError::Properties() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebProviderError::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebProviderError)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebProviderError) consume_Windows_Security_Authentication_Web_Core_IWebProviderErrorFactory::Create(uint32_t errorCode, param::hstring const& errorMessage) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebProviderErrorFactory::Create(uint32_t errorCode, param::hstring const& errorMessage) const { void* webProviderError{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebProviderErrorFactory)->Create(errorCode, *(void**)(&errorMessage), &webProviderError)); return winrt::Windows::Security::Authentication::Web::Core::WebProviderError{ webProviderError, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountProvider) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest::WebAccountProvider() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest::WebAccountProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequest)->get_WebAccountProvider(&value)); return winrt::Windows::Security::Credentials::WebAccountProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest::Scope() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest::Scope() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequest)->get_Scope(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest::ClientId() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest::ClientId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequest)->get_ClientId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestPromptType) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest::PromptType() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest::PromptType() const { winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestPromptType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequest)->get_PromptType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest::Properties() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest::Properties() const { void* requestProperties{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequest)->get_Properties(&requestProperties)); return winrt::Windows::Foundation::Collections::IMap{ requestProperties, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest2::AppProperties() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest2::AppProperties() const { void* requestProperties{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequest2)->get_AppProperties(&requestProperties)); return winrt::Windows::Foundation::Collections::IMap{ requestProperties, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest3::CorrelationId() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest3::CorrelationId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequest3)->get_CorrelationId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest3::CorrelationId(param::hstring const& value) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest3::CorrelationId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequest3)->put_CorrelationId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory::Create(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope, param::hstring const& clientId) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory::Create(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope, param::hstring const& clientId) const { void* webTokenRequest{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequestFactory)->Create(*(void**)(&provider), *(void**)(&scope), *(void**)(&clientId), &webTokenRequest)); return winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest{ webTokenRequest, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory::CreateWithPromptType(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope, param::hstring const& clientId, winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestPromptType const& promptType) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory::CreateWithPromptType(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope, param::hstring const& clientId, winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestPromptType const& promptType) const { void* webTokenRequest{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequestFactory)->CreateWithPromptType(*(void**)(&provider), *(void**)(&scope), *(void**)(&clientId), static_cast(promptType), &webTokenRequest)); return winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest{ webTokenRequest, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory::CreateWithProvider(winrt::Windows::Security::Credentials::WebAccountProvider const& provider) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory::CreateWithProvider(winrt::Windows::Security::Credentials::WebAccountProvider const& provider) const { void* webTokenRequest{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequestFactory)->CreateWithProvider(*(void**)(&provider), &webTokenRequest)); return winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest{ webTokenRequest, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory::CreateWithScope(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory::CreateWithScope(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope) const { void* webTokenRequest{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequestFactory)->CreateWithScope(*(void**)(&provider), *(void**)(&scope), &webTokenRequest)); return winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest{ webTokenRequest, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult::ResponseData() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult::ResponseData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequestResult)->get_ResponseData(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestStatus) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult::ResponseStatus() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult::ResponseStatus() const { winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequestResult)->get_ResponseStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebProviderError) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult::ResponseError() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult::ResponseError() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequestResult)->get_ResponseError(&value)); return winrt::Windows::Security::Authentication::Web::Core::WebProviderError{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult::InvalidateCacheAsync() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult::InvalidateCacheAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequestResult)->InvalidateCacheAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse::Token() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse::Token() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenResponse)->get_Token(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebProviderError) consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse::ProviderError() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse::ProviderError() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenResponse)->get_ProviderError(&value)); return winrt::Windows::Security::Authentication::Web::Core::WebProviderError{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse::WebAccount() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse::WebAccount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenResponse)->get_WebAccount(&value)); return winrt::Windows::Security::Credentials::WebAccount{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse::Properties() const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenResponse)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse) consume_Windows_Security_Authentication_Web_Core_IWebTokenResponseFactory::CreateWithToken(param::hstring const& token) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenResponseFactory::CreateWithToken(param::hstring const& token) const { void* webTokenResponse{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenResponseFactory)->CreateWithToken(*(void**)(&token), &webTokenResponse)); return winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse{ webTokenResponse, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse) consume_Windows_Security_Authentication_Web_Core_IWebTokenResponseFactory::CreateWithTokenAndAccount(param::hstring const& token, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenResponseFactory::CreateWithTokenAndAccount(param::hstring const& token, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const { void* webTokenResponse{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenResponseFactory)->CreateWithTokenAndAccount(*(void**)(&token), *(void**)(&webAccount), &webTokenResponse)); return winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse{ webTokenResponse, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse) consume_Windows_Security_Authentication_Web_Core_IWebTokenResponseFactory::CreateWithTokenAccountAndError(param::hstring const& token, winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& error) const + template auto consume_Windows_Security_Authentication_Web_Core_IWebTokenResponseFactory::CreateWithTokenAccountAndError(param::hstring const& token, winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& error) const { void* webTokenResponse{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenResponseFactory)->CreateWithTokenAccountAndError(*(void**)(&token), *(void**)(&webAccount), *(void**)(&error), &webTokenResponse)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.Provider.h index 5c353da5..17373a1f 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.Provider.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Web_Provider_H #define WINRT_Windows_Security_Authentication_Web_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Security.Authentication.Web.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -19,367 +19,367 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Security.Authentication.Web.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientView::ApplicationCallbackUri() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientView::ApplicationCallbackUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountClientView)->get_ApplicationCallbackUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType) consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientView::Type() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientView::Type() const { winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountClientView)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientView::AccountPairwiseId() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientView::AccountPairwiseId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountClientView)->get_AccountPairwiseId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView) consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientViewFactory::Create(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType const& viewType, winrt::Windows::Foundation::Uri const& applicationCallbackUri) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientViewFactory::Create(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType const& viewType, winrt::Windows::Foundation::Uri const& applicationCallbackUri) const { void* view{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountClientViewFactory)->Create(static_cast(viewType), *(void**)(&applicationCallbackUri), &view)); return winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView{ view, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView) consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientViewFactory::CreateWithPairwiseId(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType const& viewType, winrt::Windows::Foundation::Uri const& applicationCallbackUri, param::hstring const& accountPairwiseId) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientViewFactory::CreateWithPairwiseId(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType const& viewType, winrt::Windows::Foundation::Uri const& applicationCallbackUri, param::hstring const& accountPairwiseId) const { void* view{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountClientViewFactory)->CreateWithPairwiseId(static_cast(viewType), *(void**)(&applicationCallbackUri), *(void**)(&accountPairwiseId), &view)); return winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView{ view, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::UpdateWebAccountPropertiesAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, param::hstring const& webAccountUserName, param::async_map_view const& additionalProperties) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::UpdateWebAccountPropertiesAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, param::hstring const& webAccountUserName, param::async_map_view const& additionalProperties) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics)->UpdateWebAccountPropertiesAsync(*(void**)(&webAccount), *(void**)(&webAccountUserName), *(void**)(&additionalProperties), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics)->AddWebAccountAsync(*(void**)(&webAccountId), *(void**)(&webAccountUserName), *(void**)(&props), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::DeleteWebAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::DeleteWebAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics)->DeleteWebAccountAsync(*(void**)(&webAccount), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::FindAllProviderWebAccountsAsync() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::FindAllProviderWebAccountsAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics)->FindAllProviderWebAccountsAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation>{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::PushCookiesAsync(winrt::Windows::Foundation::Uri const& uri, param::async_vector_view const& cookies) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::PushCookiesAsync(winrt::Windows::Foundation::Uri const& uri, param::async_vector_view const& cookies) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics)->PushCookiesAsync(*(void**)(&uri), *(void**)(&cookies), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::SetViewAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView const& view) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::SetViewAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView const& view) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics)->SetViewAsync(*(void**)(&webAccount), *(void**)(&view), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::ClearViewAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Foundation::Uri const& applicationCallbackUri) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::ClearViewAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Foundation::Uri const& applicationCallbackUri) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics)->ClearViewAsync(*(void**)(&webAccount), *(void**)(&applicationCallbackUri), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::GetViewsAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::GetViewsAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics)->GetViewsAsync(*(void**)(&webAccount), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation>{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::SetWebAccountPictureAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Storage::Streams::IRandomAccessStream const& webAccountPicture) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::SetWebAccountPictureAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Storage::Streams::IRandomAccessStream const& webAccountPicture) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics)->SetWebAccountPictureAsync(*(void**)(&webAccount), *(void**)(&webAccountPicture), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::ClearWebAccountPictureAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics::ClearWebAccountPictureAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics)->ClearWebAccountPictureAsync(*(void**)(&webAccount), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics2::PullCookiesAsync(param::hstring const& uriString, param::hstring const& callerPFN) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics2::PullCookiesAsync(param::hstring const& uriString, param::hstring const& callerPFN) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics2)->PullCookiesAsync(*(void**)(&uriString), *(void**)(&callerPFN), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3::FindAllProviderWebAccountsForUserAsync(winrt::Windows::System::User const& user) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3::FindAllProviderWebAccountsForUserAsync(winrt::Windows::System::User const& user) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics3)->FindAllProviderWebAccountsForUserAsync(*(void**)(&user), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3::AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3::AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics3)->AddWebAccountForUserAsync(*(void**)(&user), *(void**)(&webAccountId), *(void**)(&webAccountUserName), *(void**)(&props), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3::AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3::AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics3)->AddWebAccountWithScopeForUserAsync(*(void**)(&user), *(void**)(&webAccountId), *(void**)(&webAccountUserName), *(void**)(&props), static_cast(scope), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3::AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope, param::hstring const& perUserWebAccountId) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3::AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope, param::hstring const& perUserWebAccountId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics3)->AddWebAccountWithScopeAndMapForUserAsync(*(void**)(&user), *(void**)(&webAccountId), *(void**)(&webAccountUserName), *(void**)(&props), static_cast(scope), *(void**)(&perUserWebAccountId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics4::InvalidateAppCacheForAllAccountsAsync() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics4::InvalidateAppCacheForAllAccountsAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics4)->InvalidateAppCacheForAllAccountsAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics4::InvalidateAppCacheForAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics4::InvalidateAppCacheForAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics4)->InvalidateAppCacheForAccountAsync(*(void**)(&webAccount), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics::AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope, param::hstring const& perUserWebAccountId) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics::AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope, param::hstring const& perUserWebAccountId) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountMapManagerStatics)->AddWebAccountWithScopeAndMapAsync(*(void**)(&webAccountId), *(void**)(&webAccountUserName), *(void**)(&props), static_cast(scope), *(void**)(&perUserWebAccountId), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics::SetPerAppToPerUserAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount, param::hstring const& perUserWebAccountId) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics::SetPerAppToPerUserAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount, param::hstring const& perUserWebAccountId) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountMapManagerStatics)->SetPerAppToPerUserAccountAsync(*(void**)(&perAppAccount), *(void**)(&perUserWebAccountId), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics::GetPerUserFromPerAppAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics::GetPerUserFromPerAppAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountMapManagerStatics)->GetPerUserFromPerAppAccountAsync(*(void**)(&perAppAccount), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics::ClearPerUserFromPerAppAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics::ClearPerUserFromPerAppAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountMapManagerStatics)->ClearPerUserFromPerAppAccountAsync(*(void**)(&perAppAccount), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderAddAccountOperation::ReportCompleted() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderAddAccountOperation::ReportCompleted() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderAddAccountOperation)->ReportCompleted()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderBaseReportOperation::ReportCompleted() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderBaseReportOperation::ReportCompleted() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderBaseReportOperation)->ReportCompleted()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderBaseReportOperation::ReportError(winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& value) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderBaseReportOperation::ReportError(winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderBaseReportOperation)->ReportError(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderDeleteAccountOperation::WebAccount() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderDeleteAccountOperation::WebAccount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderDeleteAccountOperation)->get_WebAccount(&value)); return winrt::Windows::Security::Credentials::WebAccount{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderManageAccountOperation::WebAccount() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderManageAccountOperation::WebAccount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderManageAccountOperation)->get_WebAccount(&value)); return winrt::Windows::Security::Credentials::WebAccount{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderManageAccountOperation::ReportCompleted() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderManageAccountOperation::ReportCompleted() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderManageAccountOperation)->ReportCompleted()); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountProviderOperationKind) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderOperation::Kind() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderOperation::Kind() const { winrt::Windows::Security::Authentication::Web::Provider::WebAccountProviderOperationKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderOperation)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation::Context() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation::Context() const { void* webCookieRequestContext{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderRetrieveCookiesOperation)->get_Context(&webCookieRequestContext)); return winrt::Windows::Foundation::Uri{ webCookieRequestContext, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation::Cookies() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation::Cookies() const { void* cookies{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderRetrieveCookiesOperation)->get_Cookies(&cookies)); return winrt::Windows::Foundation::Collections::IVector{ cookies, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation::Uri(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation::Uri(winrt::Windows::Foundation::Uri const& uri) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderRetrieveCookiesOperation)->put_Uri(*(void**)(&uri))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation::Uri() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation::Uri() const { void* uri{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderRetrieveCookiesOperation)->get_Uri(&uri)); return winrt::Windows::Foundation::Uri{ uri, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation::ApplicationCallbackUri() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation::ApplicationCallbackUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderRetrieveCookiesOperation)->get_ApplicationCallbackUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSignOutAccountOperation::WebAccount() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSignOutAccountOperation::WebAccount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderSignOutAccountOperation)->get_WebAccount(&value)); return winrt::Windows::Security::Credentials::WebAccount{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSignOutAccountOperation::ApplicationCallbackUri() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSignOutAccountOperation::ApplicationCallbackUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderSignOutAccountOperation)->get_ApplicationCallbackUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSignOutAccountOperation::ClientId() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSignOutAccountOperation::ClientId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderSignOutAccountOperation)->get_ClientId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSilentReportOperation::ReportUserInteractionRequired() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSilentReportOperation::ReportUserInteractionRequired() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderSilentReportOperation)->ReportUserInteractionRequired()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSilentReportOperation::ReportUserInteractionRequired(winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& value) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSilentReportOperation::ReportUserInteractionRequired(winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderSilentReportOperation)->ReportUserInteractionRequiredWithError(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderOperation) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenObjects::Operation() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenObjects::Operation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenObjects)->get_Operation(&value)); return winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenObjects2::User() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenObjects2::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenObjects2)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebProviderTokenRequest) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation::ProviderRequest() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation::ProviderRequest() const { void* webTokenRequest{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenOperation)->get_ProviderRequest(&webTokenRequest)); return winrt::Windows::Security::Authentication::Web::Provider::WebProviderTokenRequest{ webTokenRequest, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation::ProviderResponses() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation::ProviderResponses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenOperation)->get_ProviderResponses(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation::CacheExpirationTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation::CacheExpirationTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenOperation)->put_CacheExpirationTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation::CacheExpirationTime() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation::CacheExpirationTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenOperation)->get_CacheExpirationTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderUIReportOperation::ReportUserCanceled() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderUIReportOperation::ReportUserCanceled() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderUIReportOperation)->ReportUserCanceled()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Provider_IWebAccountScopeManagerStatics::AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountScopeManagerStatics::AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountScopeManagerStatics)->AddWebAccountWithScopeAsync(*(void**)(&webAccountId), *(void**)(&webAccountUserName), *(void**)(&props), static_cast(scope), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountScopeManagerStatics::SetScopeAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountScopeManagerStatics::SetScopeAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountScopeManagerStatics)->SetScopeAsync(*(void**)(&webAccount), static_cast(scope), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope) consume_Windows_Security_Authentication_Web_Provider_IWebAccountScopeManagerStatics::GetScope(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountScopeManagerStatics::GetScope(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const { winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope scope{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountScopeManagerStatics)->GetScope(*(void**)(&webAccount), reinterpret_cast(&scope))); return scope; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest::ClientRequest() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest::ClientRequest() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenRequest)->get_ClientRequest(&value)); return winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest::WebAccounts() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest::WebAccounts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenRequest)->get_WebAccounts(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountSelectionOptions) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest::WebAccountSelectionOptions() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest::WebAccountSelectionOptions() const { winrt::Windows::Security::Authentication::Web::Provider::WebAccountSelectionOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenRequest)->get_WebAccountSelectionOptions(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest::ApplicationCallbackUri() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest::ApplicationCallbackUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenRequest)->get_ApplicationCallbackUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest::GetApplicationTokenBindingKeyAsync(winrt::Windows::Security::Authentication::Web::TokenBindingKeyType const& keyType, winrt::Windows::Foundation::Uri const& target) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest::GetApplicationTokenBindingKeyAsync(winrt::Windows::Security::Authentication::Web::TokenBindingKeyType const& keyType, winrt::Windows::Foundation::Uri const& target) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenRequest)->GetApplicationTokenBindingKeyAsync(static_cast(keyType), *(void**)(&target), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest2::GetApplicationTokenBindingKeyIdAsync(winrt::Windows::Security::Authentication::Web::TokenBindingKeyType const& keyType, winrt::Windows::Foundation::Uri const& target) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest2::GetApplicationTokenBindingKeyIdAsync(winrt::Windows::Security::Authentication::Web::TokenBindingKeyType const& keyType, winrt::Windows::Foundation::Uri const& target) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenRequest2)->GetApplicationTokenBindingKeyIdAsync(static_cast(keyType), *(void**)(&target), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest3::ApplicationPackageFamilyName() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest3::ApplicationPackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenRequest3)->get_ApplicationPackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest3::ApplicationProcessName() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest3::ApplicationProcessName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenRequest3)->get_ApplicationProcessName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest3::CheckApplicationForCapabilityAsync(param::hstring const& capabilityName) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest3::CheckApplicationForCapabilityAsync(param::hstring const& capabilityName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenRequest3)->CheckApplicationForCapabilityAsync(*(void**)(&capabilityName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenResponse::ClientResponse() const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenResponse::ClientResponse() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenResponse)->get_ClientResponse(&value)); return winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebProviderTokenResponse) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenResponseFactory::Create(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse const& webTokenResponse) const + template auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenResponseFactory::Create(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse const& webTokenResponse) const { void* webProviderTokenResponse{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenResponseFactory)->Create(*(void**)(&webTokenResponse), &webProviderTokenResponse)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.h index c5d508c1..45cb51d5 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.h @@ -1,71 +1,71 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Web_H #define WINRT_Windows_Security_Authentication_Web_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Security.Authentication.Web.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics::AuthenticateAsync(winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options, winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri) const + template auto consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics::AuthenticateAsync(winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options, winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::IWebAuthenticationBrokerStatics)->AuthenticateWithCallbackUriAsync(static_cast(options), *(void**)(&requestUri), *(void**)(&callbackUri), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics::AuthenticateAsync(winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options, winrt::Windows::Foundation::Uri const& requestUri) const + template auto consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics::AuthenticateAsync(winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options, winrt::Windows::Foundation::Uri const& requestUri) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::IWebAuthenticationBrokerStatics)->AuthenticateWithoutCallbackUriAsync(static_cast(options), *(void**)(&requestUri), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics::GetCurrentApplicationCallbackUri() const + template auto consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics::GetCurrentApplicationCallbackUri() const { void* callbackUri{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::IWebAuthenticationBrokerStatics)->GetCurrentApplicationCallbackUri(&callbackUri)); return winrt::Windows::Foundation::Uri{ callbackUri, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2::AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri) const + template auto consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2::AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::IWebAuthenticationBrokerStatics2)->AuthenticateAndContinue(*(void**)(&requestUri))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2::AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri) const + template auto consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2::AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::IWebAuthenticationBrokerStatics2)->AuthenticateWithCallbackUriAndContinue(*(void**)(&requestUri), *(void**)(&callbackUri))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2::AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri, winrt::Windows::Foundation::Collections::ValueSet const& continuationData, winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options) const + template auto consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2::AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri, winrt::Windows::Foundation::Collections::ValueSet const& continuationData, winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::IWebAuthenticationBrokerStatics2)->AuthenticateWithCallbackUriContinuationDataAndOptionsAndContinue(*(void**)(&requestUri), *(void**)(&callbackUri), *(void**)(&continuationData), static_cast(options))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2::AuthenticateSilentlyAsync(winrt::Windows::Foundation::Uri const& requestUri) const + template auto consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2::AuthenticateSilentlyAsync(winrt::Windows::Foundation::Uri const& requestUri) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::IWebAuthenticationBrokerStatics2)->AuthenticateSilentlyAsync(*(void**)(&requestUri), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2::AuthenticateSilentlyAsync(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options) const + template auto consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2::AuthenticateSilentlyAsync(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::IWebAuthenticationBrokerStatics2)->AuthenticateSilentlyWithOptionsAsync(*(void**)(&requestUri), static_cast(options), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_IWebAuthenticationResult::ResponseData() const + template auto consume_Windows_Security_Authentication_Web_IWebAuthenticationResult::ResponseData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::IWebAuthenticationResult)->get_ResponseData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::WebAuthenticationStatus) consume_Windows_Security_Authentication_Web_IWebAuthenticationResult::ResponseStatus() const + template auto consume_Windows_Security_Authentication_Web_IWebAuthenticationResult::ResponseStatus() const { winrt::Windows::Security::Authentication::Web::WebAuthenticationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::IWebAuthenticationResult)->get_ResponseStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Authentication_Web_IWebAuthenticationResult::ResponseErrorDetail() const + template auto consume_Windows_Security_Authentication_Web_IWebAuthenticationResult::ResponseErrorDetail() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::IWebAuthenticationResult)->get_ResponseErrorDetail(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authorization.AppCapabilityAccess.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authorization.AppCapabilityAccess.h index 86e3dae1..c77b1002 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authorization.AppCapabilityAccess.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authorization.AppCapabilityAccess.h @@ -1,74 +1,74 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authorization_AppCapabilityAccess_H #define WINRT_Windows_Security_Authorization_AppCapabilityAccess_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.System.2.h" #include "winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability::CapabilityName() const + template auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability::CapabilityName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapability)->get_CapabilityName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability::User() const + template auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapability)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability::RequestAccessAsync() const + template auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability::RequestAccessAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapability)->RequestAccessAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability::CheckAccess() const + template auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability::CheckAccess() const { winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapability)->CheckAccess(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability::AccessChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability::AccessChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapability)->add_AccessChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability::AccessChanged_revoker consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability::AccessChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability::AccessChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AccessChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability::AccessChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability::AccessChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapability)->remove_AccessChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics::RequestAccessForCapabilitiesAsync(param::async_iterable const& capabilityNames) const + template auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics::RequestAccessForCapabilitiesAsync(param::async_iterable const& capabilityNames) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapabilityStatics)->RequestAccessForCapabilitiesAsync(*(void**)(&capabilityNames), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics::RequestAccessForCapabilitiesForUserAsync(winrt::Windows::System::User const& user, param::async_iterable const& capabilityNames) const + template auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics::RequestAccessForCapabilitiesForUserAsync(winrt::Windows::System::User const& user, param::async_iterable const& capabilityNames) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapabilityStatics)->RequestAccessForCapabilitiesForUserAsync(*(void**)(&user), *(void**)(&capabilityNames), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapability) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics::Create(param::hstring const& capabilityName) const + template auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics::Create(param::hstring const& capabilityName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapabilityStatics)->Create(*(void**)(&capabilityName), &result)); return winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapability{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapability) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics::CreateWithProcessIdForUser(winrt::Windows::System::User const& user, param::hstring const& capabilityName, uint32_t pid) const + template auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics::CreateWithProcessIdForUser(winrt::Windows::System::User const& user, param::hstring const& capabilityName, uint32_t pid) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapabilityStatics)->CreateWithProcessIdForUser(*(void**)(&user), *(void**)(&capabilityName), pid, &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Credentials.UI.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Credentials.UI.h index 54642b87..fda3bc0a 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Credentials.UI.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Credentials.UI.h @@ -1,184 +1,184 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Credentials_UI_H #define WINRT_Windows_Security_Credentials_UI_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Security.Credentials.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.Security.Credentials.UI.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::Caption(param::hstring const& value) const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::Caption(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_Caption(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::Caption() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::Caption() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->get_Caption(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::Message(param::hstring const& value) const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::Message(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_Message(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::Message() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::ErrorCode(uint32_t value) const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::ErrorCode(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_ErrorCode(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::ErrorCode() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::ErrorCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->get_ErrorCode(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::TargetName(param::hstring const& value) const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::TargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_TargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::TargetName() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::TargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->get_TargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::AuthenticationProtocol(winrt::Windows::Security::Credentials::UI::AuthenticationProtocol const& value) const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::AuthenticationProtocol(winrt::Windows::Security::Credentials::UI::AuthenticationProtocol const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_AuthenticationProtocol(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::UI::AuthenticationProtocol) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::AuthenticationProtocol() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::AuthenticationProtocol() const { winrt::Windows::Security::Credentials::UI::AuthenticationProtocol value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->get_AuthenticationProtocol(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::CustomAuthenticationProtocol(param::hstring const& value) const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::CustomAuthenticationProtocol(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_CustomAuthenticationProtocol(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::CustomAuthenticationProtocol() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::CustomAuthenticationProtocol() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->get_CustomAuthenticationProtocol(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::PreviousCredential(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::PreviousCredential(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_PreviousCredential(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::PreviousCredential() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::PreviousCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->get_PreviousCredential(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::AlwaysDisplayDialog(bool value) const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::AlwaysDisplayDialog(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_AlwaysDisplayDialog(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::AlwaysDisplayDialog() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::AlwaysDisplayDialog() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->get_AlwaysDisplayDialog(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::CallerSavesCredential(bool value) const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::CallerSavesCredential(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_CallerSavesCredential(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::CallerSavesCredential() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::CallerSavesCredential() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->get_CallerSavesCredential(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::CredentialSaveOption(winrt::Windows::Security::Credentials::UI::CredentialSaveOption const& value) const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::CredentialSaveOption(winrt::Windows::Security::Credentials::UI::CredentialSaveOption const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_CredentialSaveOption(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::UI::CredentialSaveOption) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::CredentialSaveOption() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions::CredentialSaveOption() const { winrt::Windows::Security::Credentials::UI::CredentialSaveOption value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->get_CredentialSaveOption(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Credentials_UI_ICredentialPickerResults::ErrorCode() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerResults::ErrorCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerResults)->get_ErrorCode(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::UI::CredentialSaveOption) consume_Windows_Security_Credentials_UI_ICredentialPickerResults::CredentialSaveOption() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerResults::CredentialSaveOption() const { winrt::Windows::Security::Credentials::UI::CredentialSaveOption value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerResults)->get_CredentialSaveOption(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Credentials_UI_ICredentialPickerResults::CredentialSaved() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerResults::CredentialSaved() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerResults)->get_CredentialSaved(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Credentials_UI_ICredentialPickerResults::Credential() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerResults::Credential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerResults)->get_Credential(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_UI_ICredentialPickerResults::CredentialDomainName() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerResults::CredentialDomainName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerResults)->get_CredentialDomainName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_UI_ICredentialPickerResults::CredentialUserName() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerResults::CredentialUserName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerResults)->get_CredentialUserName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_UI_ICredentialPickerResults::CredentialPassword() const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerResults::CredentialPassword() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerResults)->get_CredentialPassword(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Credentials_UI_ICredentialPickerStatics::PickAsync(winrt::Windows::Security::Credentials::UI::CredentialPickerOptions const& options) const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerStatics::PickAsync(winrt::Windows::Security::Credentials::UI::CredentialPickerOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerStatics)->PickWithOptionsAsync(*(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Credentials_UI_ICredentialPickerStatics::PickAsync(param::hstring const& targetName, param::hstring const& message) const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerStatics::PickAsync(param::hstring const& targetName, param::hstring const& message) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerStatics)->PickWithMessageAsync(*(void**)(&targetName), *(void**)(&message), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Credentials_UI_ICredentialPickerStatics::PickAsync(param::hstring const& targetName, param::hstring const& message, param::hstring const& caption) const + template auto consume_Windows_Security_Credentials_UI_ICredentialPickerStatics::PickAsync(param::hstring const& targetName, param::hstring const& message, param::hstring const& caption) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerStatics)->PickWithCaptionAsync(*(void**)(&targetName), *(void**)(&message), *(void**)(&caption), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Credentials_UI_IUserConsentVerifierStatics::CheckAvailabilityAsync() const + template auto consume_Windows_Security_Credentials_UI_IUserConsentVerifierStatics::CheckAvailabilityAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::IUserConsentVerifierStatics)->CheckAvailabilityAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Credentials_UI_IUserConsentVerifierStatics::RequestVerificationAsync(param::hstring const& message) const + template auto consume_Windows_Security_Credentials_UI_IUserConsentVerifierStatics::RequestVerificationAsync(param::hstring const& message) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::IUserConsentVerifierStatics)->RequestVerificationAsync(*(void**)(&message), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Credentials.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Credentials.h index d3832ffa..ec940437 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Credentials.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Credentials.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Credentials_H #define WINRT_Windows_Security_Credentials_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Security.Cryptography.Core.2.h" @@ -14,283 +14,283 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Security.Credentials.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Security_Credentials_ICredentialFactory::CreatePasswordCredential(param::hstring const& resource, param::hstring const& userName, param::hstring const& password) const + template auto consume_Windows_Security_Credentials_ICredentialFactory::CreatePasswordCredential(param::hstring const& resource, param::hstring const& userName, param::hstring const& password) const { void* credential{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::ICredentialFactory)->CreatePasswordCredential(*(void**)(&resource), *(void**)(&userName), *(void**)(&password), &credential)); return winrt::Windows::Security::Credentials::PasswordCredential{ credential, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IKeyCredential::Name() const + template auto consume_Windows_Security_Credentials_IKeyCredential::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredential)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Credentials_IKeyCredential::RetrievePublicKey() const + template auto consume_Windows_Security_Credentials_IKeyCredential::RetrievePublicKey() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredential)->RetrievePublicKeyWithDefaultBlobType(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Credentials_IKeyCredential::RetrievePublicKey(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& blobType) const + template auto consume_Windows_Security_Credentials_IKeyCredential::RetrievePublicKey(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& blobType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredential)->RetrievePublicKeyWithBlobType(static_cast(blobType), &value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Credentials_IKeyCredential::RequestSignAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Security_Credentials_IKeyCredential::RequestSignAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredential)->RequestSignAsync(*(void**)(&data), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Credentials_IKeyCredential::GetAttestationAsync() const + template auto consume_Windows_Security_Credentials_IKeyCredential::GetAttestationAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredential)->GetAttestationAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Credentials_IKeyCredentialAttestationResult::CertificateChainBuffer() const + template auto consume_Windows_Security_Credentials_IKeyCredentialAttestationResult::CertificateChainBuffer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredentialAttestationResult)->get_CertificateChainBuffer(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Credentials_IKeyCredentialAttestationResult::AttestationBuffer() const + template auto consume_Windows_Security_Credentials_IKeyCredentialAttestationResult::AttestationBuffer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredentialAttestationResult)->get_AttestationBuffer(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::KeyCredentialAttestationStatus) consume_Windows_Security_Credentials_IKeyCredentialAttestationResult::Status() const + template auto consume_Windows_Security_Credentials_IKeyCredentialAttestationResult::Status() const { winrt::Windows::Security::Credentials::KeyCredentialAttestationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredentialAttestationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Credentials_IKeyCredentialManagerStatics::IsSupportedAsync() const + template auto consume_Windows_Security_Credentials_IKeyCredentialManagerStatics::IsSupportedAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredentialManagerStatics)->IsSupportedAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Credentials_IKeyCredentialManagerStatics::RenewAttestationAsync() const + template auto consume_Windows_Security_Credentials_IKeyCredentialManagerStatics::RenewAttestationAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredentialManagerStatics)->RenewAttestationAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Credentials_IKeyCredentialManagerStatics::RequestCreateAsync(param::hstring const& name, winrt::Windows::Security::Credentials::KeyCredentialCreationOption const& option) const + template auto consume_Windows_Security_Credentials_IKeyCredentialManagerStatics::RequestCreateAsync(param::hstring const& name, winrt::Windows::Security::Credentials::KeyCredentialCreationOption const& option) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredentialManagerStatics)->RequestCreateAsync(*(void**)(&name), static_cast(option), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Credentials_IKeyCredentialManagerStatics::OpenAsync(param::hstring const& name) const + template auto consume_Windows_Security_Credentials_IKeyCredentialManagerStatics::OpenAsync(param::hstring const& name) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredentialManagerStatics)->OpenAsync(*(void**)(&name), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Credentials_IKeyCredentialManagerStatics::DeleteAsync(param::hstring const& name) const + template auto consume_Windows_Security_Credentials_IKeyCredentialManagerStatics::DeleteAsync(param::hstring const& name) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredentialManagerStatics)->DeleteAsync(*(void**)(&name), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Credentials_IKeyCredentialOperationResult::Result() const + template auto consume_Windows_Security_Credentials_IKeyCredentialOperationResult::Result() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredentialOperationResult)->get_Result(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::KeyCredentialStatus) consume_Windows_Security_Credentials_IKeyCredentialOperationResult::Status() const + template auto consume_Windows_Security_Credentials_IKeyCredentialOperationResult::Status() const { winrt::Windows::Security::Credentials::KeyCredentialStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredentialOperationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::KeyCredential) consume_Windows_Security_Credentials_IKeyCredentialRetrievalResult::Credential() const + template auto consume_Windows_Security_Credentials_IKeyCredentialRetrievalResult::Credential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredentialRetrievalResult)->get_Credential(&value)); return winrt::Windows::Security::Credentials::KeyCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::KeyCredentialStatus) consume_Windows_Security_Credentials_IKeyCredentialRetrievalResult::Status() const + template auto consume_Windows_Security_Credentials_IKeyCredentialRetrievalResult::Status() const { winrt::Windows::Security::Credentials::KeyCredentialStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredentialRetrievalResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IPasswordCredential::Resource() const + template auto consume_Windows_Security_Credentials_IPasswordCredential::Resource() const { void* resource{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordCredential)->get_Resource(&resource)); return hstring{ resource, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_IPasswordCredential::Resource(param::hstring const& resource) const + template auto consume_Windows_Security_Credentials_IPasswordCredential::Resource(param::hstring const& resource) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordCredential)->put_Resource(*(void**)(&resource))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IPasswordCredential::UserName() const + template auto consume_Windows_Security_Credentials_IPasswordCredential::UserName() const { void* userName{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordCredential)->get_UserName(&userName)); return hstring{ userName, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_IPasswordCredential::UserName(param::hstring const& userName) const + template auto consume_Windows_Security_Credentials_IPasswordCredential::UserName(param::hstring const& userName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordCredential)->put_UserName(*(void**)(&userName))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IPasswordCredential::Password() const + template auto consume_Windows_Security_Credentials_IPasswordCredential::Password() const { void* password{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordCredential)->get_Password(&password)); return hstring{ password, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_IPasswordCredential::Password(param::hstring const& password) const + template auto consume_Windows_Security_Credentials_IPasswordCredential::Password(param::hstring const& password) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordCredential)->put_Password(*(void**)(&password))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_IPasswordCredential::RetrievePassword() const + template auto consume_Windows_Security_Credentials_IPasswordCredential::RetrievePassword() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordCredential)->RetrievePassword()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Security_Credentials_IPasswordCredential::Properties() const + template auto consume_Windows_Security_Credentials_IPasswordCredential::Properties() const { void* props{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordCredential)->get_Properties(&props)); return winrt::Windows::Foundation::Collections::IPropertySet{ props, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_IPasswordVault::Add(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const + template auto consume_Windows_Security_Credentials_IPasswordVault::Add(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordVault)->Add(*(void**)(&credential))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_IPasswordVault::Remove(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const + template auto consume_Windows_Security_Credentials_IPasswordVault::Remove(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordVault)->Remove(*(void**)(&credential))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Security_Credentials_IPasswordVault::Retrieve(param::hstring const& resource, param::hstring const& userName) const + template auto consume_Windows_Security_Credentials_IPasswordVault::Retrieve(param::hstring const& resource, param::hstring const& userName) const { void* credential{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordVault)->Retrieve(*(void**)(&resource), *(void**)(&userName), &credential)); return winrt::Windows::Security::Credentials::PasswordCredential{ credential, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Credentials_IPasswordVault::FindAllByResource(param::hstring const& resource) const + template auto consume_Windows_Security_Credentials_IPasswordVault::FindAllByResource(param::hstring const& resource) const { void* credentials{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordVault)->FindAllByResource(*(void**)(&resource), &credentials)); return winrt::Windows::Foundation::Collections::IVectorView{ credentials, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Credentials_IPasswordVault::FindAllByUserName(param::hstring const& userName) const + template auto consume_Windows_Security_Credentials_IPasswordVault::FindAllByUserName(param::hstring const& userName) const { void* credentials{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordVault)->FindAllByUserName(*(void**)(&userName), &credentials)); return winrt::Windows::Foundation::Collections::IVectorView{ credentials, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Credentials_IPasswordVault::RetrieveAll() const + template auto consume_Windows_Security_Credentials_IPasswordVault::RetrieveAll() const { void* credentials{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordVault)->RetrieveAll(&credentials)); return winrt::Windows::Foundation::Collections::IVectorView{ credentials, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountProvider) consume_Windows_Security_Credentials_IWebAccount::WebAccountProvider() const + template auto consume_Windows_Security_Credentials_IWebAccount::WebAccountProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccount)->get_WebAccountProvider(&value)); return winrt::Windows::Security::Credentials::WebAccountProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IWebAccount::UserName() const + template auto consume_Windows_Security_Credentials_IWebAccount::UserName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccount)->get_UserName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountState) consume_Windows_Security_Credentials_IWebAccount::State() const + template auto consume_Windows_Security_Credentials_IWebAccount::State() const { winrt::Windows::Security::Credentials::WebAccountState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccount)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IWebAccount2::Id() const + template auto consume_Windows_Security_Credentials_IWebAccount2::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccount2)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Security_Credentials_IWebAccount2::Properties() const + template auto consume_Windows_Security_Credentials_IWebAccount2::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccount2)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Credentials_IWebAccount2::GetPictureAsync(winrt::Windows::Security::Credentials::WebAccountPictureSize const& desizedSize) const + template auto consume_Windows_Security_Credentials_IWebAccount2::GetPictureAsync(winrt::Windows::Security::Credentials::WebAccountPictureSize const& desizedSize) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccount2)->GetPictureAsync(static_cast(desizedSize), &asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Credentials_IWebAccount2::SignOutAsync() const + template auto consume_Windows_Security_Credentials_IWebAccount2::SignOutAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccount2)->SignOutAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Credentials_IWebAccount2::SignOutAsync(param::hstring const& clientId) const + template auto consume_Windows_Security_Credentials_IWebAccount2::SignOutAsync(param::hstring const& clientId) const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccount2)->SignOutWithClientIdAsync(*(void**)(&clientId), &asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) consume_Windows_Security_Credentials_IWebAccountFactory::CreateWebAccount(winrt::Windows::Security::Credentials::WebAccountProvider const& webAccountProvider, param::hstring const& userName, winrt::Windows::Security::Credentials::WebAccountState const& state) const + template auto consume_Windows_Security_Credentials_IWebAccountFactory::CreateWebAccount(winrt::Windows::Security::Credentials::WebAccountProvider const& webAccountProvider, param::hstring const& userName, winrt::Windows::Security::Credentials::WebAccountState const& state) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccountFactory)->CreateWebAccount(*(void**)(&webAccountProvider), *(void**)(&userName), static_cast(state), &instance)); return winrt::Windows::Security::Credentials::WebAccount{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IWebAccountProvider::Id() const + template auto consume_Windows_Security_Credentials_IWebAccountProvider::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccountProvider)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IWebAccountProvider::DisplayName() const + template auto consume_Windows_Security_Credentials_IWebAccountProvider::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccountProvider)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Security_Credentials_IWebAccountProvider::IconUri() const + template auto consume_Windows_Security_Credentials_IWebAccountProvider::IconUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccountProvider)->get_IconUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IWebAccountProvider2::DisplayPurpose() const + template auto consume_Windows_Security_Credentials_IWebAccountProvider2::DisplayPurpose() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccountProvider2)->get_DisplayPurpose(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IWebAccountProvider2::Authority() const + template auto consume_Windows_Security_Credentials_IWebAccountProvider2::Authority() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccountProvider2)->get_Authority(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Security_Credentials_IWebAccountProvider3::User() const + template auto consume_Windows_Security_Credentials_IWebAccountProvider3::User() const { void* user{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccountProvider3)->get_User(&user)); return winrt::Windows::System::User{ user, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Credentials_IWebAccountProvider4::IsSystemProvider() const + template auto consume_Windows_Security_Credentials_IWebAccountProvider4::IsSystemProvider() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccountProvider4)->get_IsSystemProvider(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountProvider) consume_Windows_Security_Credentials_IWebAccountProviderFactory::CreateWebAccountProvider(param::hstring const& id, param::hstring const& displayName, winrt::Windows::Foundation::Uri const& iconUri) const + template auto consume_Windows_Security_Credentials_IWebAccountProviderFactory::CreateWebAccountProvider(param::hstring const& id, param::hstring const& displayName, winrt::Windows::Foundation::Uri const& iconUri) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccountProviderFactory)->CreateWebAccountProvider(*(void**)(&id), *(void**)(&displayName), *(void**)(&iconUri), &instance)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.Certificates.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.Certificates.h index 484c927a..06833e04 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.Certificates.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.Certificates.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Cryptography_Certificates_H #define WINRT_Windows_Security_Cryptography_Certificates_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Security.Cryptography.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,1146 +14,1146 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Security.Cryptography.Certificates.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_Certificates_ICertificate::BuildChainAsync(param::async_iterable const& certificates) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate::BuildChainAsync(param::async_iterable const& certificates) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->BuildChainAsync(*(void**)(&certificates), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_Certificates_ICertificate::BuildChainAsync(param::async_iterable const& certificates, winrt::Windows::Security::Cryptography::Certificates::ChainBuildingParameters const& parameters) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate::BuildChainAsync(param::async_iterable const& certificates, winrt::Windows::Security::Cryptography::Certificates::ChainBuildingParameters const& parameters) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->BuildChainWithParametersAsync(*(void**)(&certificates), *(void**)(¶meters), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Security_Cryptography_Certificates_ICertificate::SerialNumber() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate::SerialNumber() const { uint32_t value_impl_size{}; uint8_t* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->get_SerialNumber(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Security_Cryptography_Certificates_ICertificate::GetHashValue() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate::GetHashValue() const { uint32_t value_impl_size{}; uint8_t* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->GetHashValue(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Security_Cryptography_Certificates_ICertificate::GetHashValue(param::hstring const& hashAlgorithmName) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate::GetHashValue(param::hstring const& hashAlgorithmName) const { uint32_t value_impl_size{}; uint8_t* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->GetHashValueWithAlgorithm(*(void**)(&hashAlgorithmName), &value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Certificates_ICertificate::GetCertificateBlob() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate::GetCertificateBlob() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->GetCertificateBlob(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificate::Subject() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificate::Issuer() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate::Issuer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->get_Issuer(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificate::HasPrivateKey() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate::HasPrivateKey() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->get_HasPrivateKey(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificate::IsStronglyProtected() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate::IsStronglyProtected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->get_IsStronglyProtected(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Security_Cryptography_Certificates_ICertificate::ValidFrom() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate::ValidFrom() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->get_ValidFrom(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Security_Cryptography_Certificates_ICertificate::ValidTo() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate::ValidTo() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->get_ValidTo(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Cryptography_Certificates_ICertificate::EnhancedKeyUsages() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate::EnhancedKeyUsages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->get_EnhancedKeyUsages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificate::FriendlyName(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate::FriendlyName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->put_FriendlyName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificate::FriendlyName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate::FriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->get_FriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificate2::IsSecurityDeviceBound() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate2::IsSecurityDeviceBound() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate2)->get_IsSecurityDeviceBound(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateKeyUsages) consume_Windows_Security_Cryptography_Certificates_ICertificate2::KeyUsages() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate2::KeyUsages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate2)->get_KeyUsages(&value)); return winrt::Windows::Security::Cryptography::Certificates::CertificateKeyUsages{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificate2::KeyAlgorithmName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate2::KeyAlgorithmName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate2)->get_KeyAlgorithmName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificate2::SignatureAlgorithmName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate2::SignatureAlgorithmName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate2)->get_SignatureAlgorithmName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificate2::SignatureHashAlgorithmName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate2::SignatureHashAlgorithmName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate2)->get_SignatureHashAlgorithmName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::SubjectAlternativeNameInfo) consume_Windows_Security_Cryptography_Certificates_ICertificate2::SubjectAlternativeName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate2::SubjectAlternativeName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate2)->get_SubjectAlternativeName(&value)); return winrt::Windows::Security::Cryptography::Certificates::SubjectAlternativeNameInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificate3::IsPerUser() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate3::IsPerUser() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate3)->get_IsPerUser(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificate3::StoreName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate3::StoreName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate3)->get_StoreName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificate3::KeyStorageProviderName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificate3::KeyStorageProviderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate3)->get_KeyStorageProviderName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult) consume_Windows_Security_Cryptography_Certificates_ICertificateChain::Validate() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateChain::Validate() const { winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateChain)->Validate(reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult) consume_Windows_Security_Cryptography_Certificates_ICertificateChain::Validate(winrt::Windows::Security::Cryptography::Certificates::ChainValidationParameters const& parameter) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateChain::Validate(winrt::Windows::Security::Cryptography::Certificates::ChainValidationParameters const& parameter) const { winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateChain)->ValidateWithParameters(*(void**)(¶meter), reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Cryptography_Certificates_ICertificateChain::GetCertificates(bool includeRoot) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateChain::GetCertificates(bool includeRoot) const { void* certificates{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateChain)->GetCertificates(includeRoot, &certificates)); return winrt::Windows::Foundation::Collections::IVectorView{ certificates, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics::CreateRequestAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateRequestProperties const& request) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics::CreateRequestAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateRequestProperties const& request) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateEnrollmentManagerStatics)->CreateRequestAsync(*(void**)(&request), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics::InstallCertificateAsync(param::hstring const& certificate, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics::InstallCertificateAsync(param::hstring const& certificate, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateEnrollmentManagerStatics)->InstallCertificateAsync(*(void**)(&certificate), static_cast(installOption), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics::ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics::ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateEnrollmentManagerStatics)->ImportPfxDataAsync(*(void**)(&pfxData), *(void**)(&password), static_cast(exportable), static_cast(keyProtectionLevel), static_cast(installOption), *(void**)(&friendlyName), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::UserCertificateEnrollmentManager) consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics2::UserCertificateEnrollmentManager() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics2::UserCertificateEnrollmentManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateEnrollmentManagerStatics2)->get_UserCertificateEnrollmentManager(&value)); return winrt::Windows::Security::Cryptography::Certificates::UserCertificateEnrollmentManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics2::ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName, param::hstring const& keyStorageProvider) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics2::ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName, param::hstring const& keyStorageProvider) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateEnrollmentManagerStatics2)->ImportPfxDataToKspAsync(*(void**)(&pfxData), *(void**)(&password), static_cast(exportable), static_cast(keyProtectionLevel), static_cast(installOption), *(void**)(&friendlyName), *(void**)(&keyStorageProvider), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics3::ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::PfxImportParameters const& pfxImportParameters) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics3::ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::PfxImportParameters const& pfxImportParameters) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateEnrollmentManagerStatics3)->ImportPfxDataToKspWithParametersAsync(*(void**)(&pfxData), *(void**)(&password), *(void**)(&pfxImportParameters), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateExtension::ObjectId() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateExtension::ObjectId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateExtension)->get_ObjectId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateExtension::ObjectId(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateExtension::ObjectId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateExtension)->put_ObjectId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateExtension::IsCritical() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateExtension::IsCritical() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateExtension)->get_IsCritical(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateExtension::IsCritical(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateExtension::IsCritical(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateExtension)->put_IsCritical(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateExtension::EncodeValue(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateExtension::EncodeValue(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateExtension)->EncodeValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Security_Cryptography_Certificates_ICertificateExtension::Value() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateExtension::Value() const { uint32_t value_impl_size{}; uint8_t* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateExtension)->get_Value(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateExtension::Value(array_view value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateExtension::Value(array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateExtension)->put_Value(value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Security_Cryptography_Certificates_ICertificateFactory::CreateCertificate(winrt::Windows::Storage::Streams::IBuffer const& certBlob) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateFactory::CreateCertificate(winrt::Windows::Storage::Streams::IBuffer const& certBlob) const { void* certificate{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateFactory)->CreateCertificate(*(void**)(&certBlob), &certificate)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ certificate, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::EncipherOnly() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::EncipherOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->get_EncipherOnly(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::EncipherOnly(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::EncipherOnly(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->put_EncipherOnly(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::CrlSign() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::CrlSign() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->get_CrlSign(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::CrlSign(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::CrlSign(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->put_CrlSign(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::KeyCertificateSign() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::KeyCertificateSign() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->get_KeyCertificateSign(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::KeyCertificateSign(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::KeyCertificateSign(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->put_KeyCertificateSign(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::KeyAgreement() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::KeyAgreement() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->get_KeyAgreement(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::KeyAgreement(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::KeyAgreement(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->put_KeyAgreement(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::DataEncipherment() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::DataEncipherment() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->get_DataEncipherment(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::DataEncipherment(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::DataEncipherment(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->put_DataEncipherment(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::KeyEncipherment() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::KeyEncipherment() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->get_KeyEncipherment(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::KeyEncipherment(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::KeyEncipherment(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->put_KeyEncipherment(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::NonRepudiation() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::NonRepudiation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->get_NonRepudiation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::NonRepudiation(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::NonRepudiation(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->put_NonRepudiation(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::DigitalSignature() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::DigitalSignature() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->get_DigitalSignature(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::DigitalSignature(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages::DigitalSignature(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->put_DigitalSignature(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::EnhancedKeyUsages() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::EnhancedKeyUsages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery)->get_EnhancedKeyUsages(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::IssuerName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::IssuerName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery)->get_IssuerName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::IssuerName(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::IssuerName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery)->put_IssuerName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::FriendlyName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::FriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery)->get_FriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::FriendlyName(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::FriendlyName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery)->put_FriendlyName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::Thumbprint() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::Thumbprint() const { uint32_t value_impl_size{}; uint8_t* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery)->get_Thumbprint(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::Thumbprint(array_view value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::Thumbprint(array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery)->put_Thumbprint(value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::HardwareOnly() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::HardwareOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery)->get_HardwareOnly(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::HardwareOnly(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery::HardwareOnly(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery)->put_HardwareOnly(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2::IncludeDuplicates() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2::IncludeDuplicates() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery2)->get_IncludeDuplicates(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2::IncludeDuplicates(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2::IncludeDuplicates(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery2)->put_IncludeDuplicates(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2::IncludeExpiredCertificates() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2::IncludeExpiredCertificates() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery2)->get_IncludeExpiredCertificates(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2::IncludeExpiredCertificates(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2::IncludeExpiredCertificates(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery2)->put_IncludeExpiredCertificates(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2::StoreName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2::StoreName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery2)->get_StoreName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2::StoreName(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2::StoreName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery2)->put_StoreName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::Subject() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::Subject(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::Subject(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->put_Subject(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeyAlgorithmName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeyAlgorithmName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->get_KeyAlgorithmName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeyAlgorithmName(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeyAlgorithmName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->put_KeyAlgorithmName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeySize() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeySize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->get_KeySize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeySize(uint32_t value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeySize(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->put_KeySize(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::FriendlyName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::FriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->get_FriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::FriendlyName(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::FriendlyName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->put_FriendlyName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::HashAlgorithmName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::HashAlgorithmName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->get_HashAlgorithmName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::HashAlgorithmName(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::HashAlgorithmName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->put_HashAlgorithmName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::ExportOption) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::Exportable() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::Exportable() const { winrt::Windows::Security::Cryptography::Certificates::ExportOption value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->get_Exportable(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::Exportable(winrt::Windows::Security::Cryptography::Certificates::ExportOption const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::Exportable(winrt::Windows::Security::Cryptography::Certificates::ExportOption const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->put_Exportable(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::EnrollKeyUsages) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeyUsages() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeyUsages() const { winrt::Windows::Security::Cryptography::Certificates::EnrollKeyUsages value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->get_KeyUsages(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeyUsages(winrt::Windows::Security::Cryptography::Certificates::EnrollKeyUsages const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeyUsages(winrt::Windows::Security::Cryptography::Certificates::EnrollKeyUsages const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->put_KeyUsages(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeyProtectionLevel() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeyProtectionLevel() const { winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->get_KeyProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeyProtectionLevel(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeyProtectionLevel(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->put_KeyProtectionLevel(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeyStorageProviderName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeyStorageProviderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->get_KeyStorageProviderName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeyStorageProviderName(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties::KeyStorageProviderName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->put_KeyStorageProviderName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2::SmartcardReaderName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2::SmartcardReaderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties2)->get_SmartcardReaderName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2::SmartcardReaderName(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2::SmartcardReaderName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties2)->put_SmartcardReaderName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2::SigningCertificate() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2::SigningCertificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties2)->get_SigningCertificate(&value)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2::SigningCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2::SigningCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties2)->put_SigningCertificate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2::AttestationCredentialCertificate() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2::AttestationCredentialCertificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties2)->get_AttestationCredentialCertificate(&value)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2::AttestationCredentialCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2::AttestationCredentialCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties2)->put_AttestationCredentialCertificate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::CurveName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::CurveName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3)->get_CurveName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::CurveName(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::CurveName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3)->put_CurveName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::CurveParameters() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::CurveParameters() const { uint32_t value_impl_size{}; uint8_t* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3)->get_CurveParameters(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::CurveParameters(array_view value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::CurveParameters(array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3)->put_CurveParameters(value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::ContainerNamePrefix() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::ContainerNamePrefix() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3)->get_ContainerNamePrefix(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::ContainerNamePrefix(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::ContainerNamePrefix(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3)->put_ContainerNamePrefix(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::ContainerName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::ContainerName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3)->get_ContainerName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::ContainerName(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::ContainerName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3)->put_ContainerName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::UseExistingKey() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::UseExistingKey() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3)->get_UseExistingKey(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::UseExistingKey(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3::UseExistingKey(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3)->put_UseExistingKey(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties4::SuppressedDefaults() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties4::SuppressedDefaults() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties4)->get_SuppressedDefaults(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::SubjectAlternativeNameInfo) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties4::SubjectAlternativeName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties4::SubjectAlternativeName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties4)->get_SubjectAlternativeName(&value)); return winrt::Windows::Security::Cryptography::Certificates::SubjectAlternativeNameInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties4::Extensions() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties4::Extensions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties4)->get_Extensions(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateStore::Add(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateStore::Add(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateStore)->Add(*(void**)(&certificate))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateStore::Delete(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateStore::Delete(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateStore)->Delete(*(void**)(&certificate))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateStore2::Name() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateStore2::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateStore2)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics::FindAllAsync() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics::FindAllAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateStoresStatics)->FindAllAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics::FindAllAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateQuery const& query) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics::FindAllAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateQuery const& query) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateStoresStatics)->FindAllWithQueryAsync(*(void**)(&query), &value)); return winrt::Windows::Foundation::IAsyncOperation>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateStore) consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics::TrustedRootCertificationAuthorities() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics::TrustedRootCertificationAuthorities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateStoresStatics)->get_TrustedRootCertificationAuthorities(&value)); return winrt::Windows::Security::Cryptography::Certificates::CertificateStore{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateStore) consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics::IntermediateCertificationAuthorities() const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics::IntermediateCertificationAuthorities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateStoresStatics)->get_IntermediateCertificationAuthorities(&value)); return winrt::Windows::Security::Cryptography::Certificates::CertificateStore{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateStore) consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics::GetStoreByName(param::hstring const& storeName) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics::GetStoreByName(param::hstring const& storeName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateStoresStatics)->GetStoreByName(*(void**)(&storeName), &value)); return winrt::Windows::Security::Cryptography::Certificates::CertificateStore{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::UserCertificateStore) consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics2::GetUserStoreByName(param::hstring const& storeName) const + template auto consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics2::GetUserStoreByName(param::hstring const& storeName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateStoresStatics2)->GetUserStoreByName(*(void**)(&storeName), &result)); return winrt::Windows::Security::Cryptography::Certificates::UserCertificateStore{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::EnhancedKeyUsages() const + template auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::EnhancedKeyUsages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->get_EnhancedKeyUsages(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::ValidationTimestamp() const + template auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::ValidationTimestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->get_ValidationTimestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::ValidationTimestamp(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::ValidationTimestamp(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->put_ValidationTimestamp(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::RevocationCheckEnabled() const + template auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::RevocationCheckEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->get_RevocationCheckEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::RevocationCheckEnabled(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::RevocationCheckEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->put_RevocationCheckEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::NetworkRetrievalEnabled() const + template auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::NetworkRetrievalEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->get_NetworkRetrievalEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::NetworkRetrievalEnabled(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::NetworkRetrievalEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->put_NetworkRetrievalEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::AuthorityInformationAccessEnabled() const + template auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::AuthorityInformationAccessEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->get_AuthorityInformationAccessEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::AuthorityInformationAccessEnabled(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::AuthorityInformationAccessEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->put_AuthorityInformationAccessEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::CurrentTimeValidationEnabled() const + template auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::CurrentTimeValidationEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->get_CurrentTimeValidationEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::CurrentTimeValidationEnabled(bool value) const + template auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::CurrentTimeValidationEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->put_CurrentTimeValidationEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::ExclusiveTrustRoots() const + template auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters::ExclusiveTrustRoots() const { void* certificates{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->get_ExclusiveTrustRoots(&certificates)); return winrt::Windows::Foundation::Collections::IVector{ certificates, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateChainPolicy) consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters::CertificateChainPolicy() const + template auto consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters::CertificateChainPolicy() const { winrt::Windows::Security::Cryptography::Certificates::CertificateChainPolicy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainValidationParameters)->get_CertificateChainPolicy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters::CertificateChainPolicy(winrt::Windows::Security::Cryptography::Certificates::CertificateChainPolicy const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters::CertificateChainPolicy(winrt::Windows::Security::Cryptography::Certificates::CertificateChainPolicy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainValidationParameters)->put_CertificateChainPolicy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters::ServerDnsName() const + template auto consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters::ServerDnsName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainValidationParameters)->get_ServerDnsName(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters::ServerDnsName(winrt::Windows::Networking::HostName const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters::ServerDnsName(winrt::Windows::Networking::HostName const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainValidationParameters)->put_ServerDnsName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature::Certificates() const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature::Certificates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsAttachedSignature)->get_Certificates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature::Content() const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature::Content() const { uint32_t value_impl_size{}; uint8_t* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsAttachedSignature)->get_Content(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature::Signers() const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature::Signers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsAttachedSignature)->get_Signers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::SignatureValidationResult) consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature::VerifySignature() const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature::VerifySignature() const { winrt::Windows::Security::Cryptography::Certificates::SignatureValidationResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsAttachedSignature)->VerifySignature(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CmsAttachedSignature) consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignatureFactory::CreateCmsAttachedSignature(winrt::Windows::Storage::Streams::IBuffer const& inputBlob) const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignatureFactory::CreateCmsAttachedSignature(winrt::Windows::Storage::Streams::IBuffer const& inputBlob) const { void* cmsSignedData{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsAttachedSignatureFactory)->CreateCmsAttachedSignature(*(void**)(&inputBlob), &cmsSignedData)); return winrt::Windows::Security::Cryptography::Certificates::CmsAttachedSignature{ cmsSignedData, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignatureStatics::GenerateSignatureAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::async_iterable const& signers, param::async_iterable const& certificates) const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignatureStatics::GenerateSignatureAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::async_iterable const& signers, param::async_iterable const& certificates) const { void* outputBlob{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsAttachedSignatureStatics)->GenerateSignatureAsync(*(void**)(&data), *(void**)(&signers), *(void**)(&certificates), &outputBlob)); return winrt::Windows::Foundation::IAsyncOperation{ outputBlob, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignature::Certificates() const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignature::Certificates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsDetachedSignature)->get_Certificates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignature::Signers() const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignature::Signers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsDetachedSignature)->get_Signers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignature::VerifySignatureAsync(winrt::Windows::Storage::Streams::IInputStream const& data) const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignature::VerifySignatureAsync(winrt::Windows::Storage::Streams::IInputStream const& data) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsDetachedSignature)->VerifySignatureAsync(*(void**)(&data), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CmsDetachedSignature) consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignatureFactory::CreateCmsDetachedSignature(winrt::Windows::Storage::Streams::IBuffer const& inputBlob) const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignatureFactory::CreateCmsDetachedSignature(winrt::Windows::Storage::Streams::IBuffer const& inputBlob) const { void* cmsSignedData{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsDetachedSignatureFactory)->CreateCmsDetachedSignature(*(void**)(&inputBlob), &cmsSignedData)); return winrt::Windows::Security::Cryptography::Certificates::CmsDetachedSignature{ cmsSignedData, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignatureStatics::GenerateSignatureAsync(winrt::Windows::Storage::Streams::IInputStream const& data, param::async_iterable const& signers, param::async_iterable const& certificates) const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignatureStatics::GenerateSignatureAsync(winrt::Windows::Storage::Streams::IInputStream const& data, param::async_iterable const& signers, param::async_iterable const& certificates) const { void* outputBlob{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsDetachedSignatureStatics)->GenerateSignatureAsync(*(void**)(&data), *(void**)(&signers), *(void**)(&certificates), &outputBlob)); return winrt::Windows::Foundation::IAsyncOperation{ outputBlob, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo::Certificate() const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo::Certificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsSignerInfo)->get_Certificate(&value)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo::Certificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo::Certificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsSignerInfo)->put_Certificate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo::HashAlgorithmName() const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo::HashAlgorithmName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsSignerInfo)->get_HashAlgorithmName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo::HashAlgorithmName(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo::HashAlgorithmName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsSignerInfo)->put_HashAlgorithmName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CmsTimestampInfo) consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo::TimestampInfo() const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo::TimestampInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsSignerInfo)->get_TimestampInfo(&value)); return winrt::Windows::Security::Cryptography::Certificates::CmsTimestampInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Security_Cryptography_Certificates_ICmsTimestampInfo::SigningCertificate() const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsTimestampInfo::SigningCertificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsTimestampInfo)->get_SigningCertificate(&value)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Cryptography_Certificates_ICmsTimestampInfo::Certificates() const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsTimestampInfo::Certificates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsTimestampInfo)->get_Certificates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Security_Cryptography_Certificates_ICmsTimestampInfo::Timestamp() const + template auto consume_Windows_Security_Cryptography_Certificates_ICmsTimestampInfo::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsTimestampInfo)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics::Rsa() const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics::Rsa() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyAlgorithmNamesStatics)->get_Rsa(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics::Dsa() const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics::Dsa() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyAlgorithmNamesStatics)->get_Dsa(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics::Ecdh256() const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics::Ecdh256() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyAlgorithmNamesStatics)->get_Ecdh256(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics::Ecdh384() const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics::Ecdh384() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyAlgorithmNamesStatics)->get_Ecdh384(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics::Ecdh521() const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics::Ecdh521() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyAlgorithmNamesStatics)->get_Ecdh521(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics::Ecdsa256() const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics::Ecdsa256() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyAlgorithmNamesStatics)->get_Ecdsa256(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics::Ecdsa384() const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics::Ecdsa384() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyAlgorithmNamesStatics)->get_Ecdsa384(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics::Ecdsa521() const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics::Ecdsa521() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyAlgorithmNamesStatics)->get_Ecdsa521(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics2::Ecdsa() const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics2::Ecdsa() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyAlgorithmNamesStatics2)->get_Ecdsa(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics2::Ecdh() const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics2::Ecdh() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyAlgorithmNamesStatics2)->get_Ecdh(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics::DecryptTpmAttestationCredentialAsync(param::hstring const& credential) const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics::DecryptTpmAttestationCredentialAsync(param::hstring const& credential) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyAttestationHelperStatics)->DecryptTpmAttestationCredentialAsync(*(void**)(&credential), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics::GetTpmAttestationCredentialId(param::hstring const& credential) const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics::GetTpmAttestationCredentialId(param::hstring const& credential) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyAttestationHelperStatics)->GetTpmAttestationCredentialId(*(void**)(&credential), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics2::DecryptTpmAttestationCredentialAsync(param::hstring const& credential, param::hstring const& containerName) const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics2::DecryptTpmAttestationCredentialAsync(param::hstring const& credential, param::hstring const& containerName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyAttestationHelperStatics2)->DecryptTpmAttestationCredentialWithContainerNameAsync(*(void**)(&credential), *(void**)(&containerName), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics::SoftwareKeyStorageProvider() const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics::SoftwareKeyStorageProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyStorageProviderNamesStatics)->get_SoftwareKeyStorageProvider(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics::SmartcardKeyStorageProvider() const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics::SmartcardKeyStorageProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyStorageProviderNamesStatics)->get_SmartcardKeyStorageProvider(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics::PlatformKeyStorageProvider() const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics::PlatformKeyStorageProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyStorageProviderNamesStatics)->get_PlatformKeyStorageProvider(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics2::PassportKeyStorageProvider() const + template auto consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics2::PassportKeyStorageProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IKeyStorageProviderNamesStatics2)->get_PassportKeyStorageProvider(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::ExportOption) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::Exportable() const + template auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::Exportable() const { winrt::Windows::Security::Cryptography::Certificates::ExportOption value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->get_Exportable(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::Exportable(winrt::Windows::Security::Cryptography::Certificates::ExportOption const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::Exportable(winrt::Windows::Security::Cryptography::Certificates::ExportOption const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->put_Exportable(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::KeyProtectionLevel() const + template auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::KeyProtectionLevel() const { winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->get_KeyProtectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::KeyProtectionLevel(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::KeyProtectionLevel(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->put_KeyProtectionLevel(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::InstallOptions) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::InstallOptions() const + template auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::InstallOptions() const { winrt::Windows::Security::Cryptography::Certificates::InstallOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->get_InstallOptions(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::InstallOptions(winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::InstallOptions(winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->put_InstallOptions(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::FriendlyName() const + template auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::FriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->get_FriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::FriendlyName(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::FriendlyName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->put_FriendlyName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::KeyStorageProviderName() const + template auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::KeyStorageProviderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->get_KeyStorageProviderName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::KeyStorageProviderName(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::KeyStorageProviderName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->put_KeyStorageProviderName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::ContainerNamePrefix() const + template auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::ContainerNamePrefix() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->get_ContainerNamePrefix(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::ContainerNamePrefix(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::ContainerNamePrefix(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->put_ContainerNamePrefix(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::ReaderName() const + template auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::ReaderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->get_ReaderName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::ReaderName(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters::ReaderName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->put_ReaderName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IStandardCertificateStoreNamesStatics::Personal() const + template auto consume_Windows_Security_Cryptography_Certificates_IStandardCertificateStoreNamesStatics::Personal() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IStandardCertificateStoreNamesStatics)->get_Personal(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IStandardCertificateStoreNamesStatics::TrustedRootCertificationAuthorities() const + template auto consume_Windows_Security_Cryptography_Certificates_IStandardCertificateStoreNamesStatics::TrustedRootCertificationAuthorities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IStandardCertificateStoreNamesStatics)->get_TrustedRootCertificationAuthorities(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IStandardCertificateStoreNamesStatics::IntermediateCertificationAuthorities() const + template auto consume_Windows_Security_Cryptography_Certificates_IStandardCertificateStoreNamesStatics::IntermediateCertificationAuthorities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IStandardCertificateStoreNamesStatics)->get_IntermediateCertificationAuthorities(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo::EmailName() const + template auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo::EmailName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo)->get_EmailName(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo::IPAddress() const + template auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo::IPAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo)->get_IPAddress(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo::Url() const + template auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo::Url() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo)->get_Url(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo::DnsName() const + template auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo::DnsName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo)->get_DnsName(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo::DistinguishedName() const + template auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo::DistinguishedName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo)->get_DistinguishedName(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo::PrincipalName() const + template auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo::PrincipalName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo)->get_PrincipalName(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2::EmailNames() const + template auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2::EmailNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo2)->get_EmailNames(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2::IPAddresses() const + template auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2::IPAddresses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo2)->get_IPAddresses(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2::Urls() const + template auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2::Urls() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo2)->get_Urls(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2::DnsNames() const + template auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2::DnsNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo2)->get_DnsNames(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2::DistinguishedNames() const + template auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2::DistinguishedNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo2)->get_DistinguishedNames(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2::PrincipalNames() const + template auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2::PrincipalNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo2)->get_PrincipalNames(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateExtension) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2::Extension() const + template auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2::Extension() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo2)->get_Extension(&value)); return winrt::Windows::Security::Cryptography::Certificates::CertificateExtension{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager::CreateRequestAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateRequestProperties const& request) const + template auto consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager::CreateRequestAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateRequestProperties const& request) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IUserCertificateEnrollmentManager)->CreateRequestAsync(*(void**)(&request), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager::InstallCertificateAsync(param::hstring const& certificate, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption) const + template auto consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager::InstallCertificateAsync(param::hstring const& certificate, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IUserCertificateEnrollmentManager)->InstallCertificateAsync(*(void**)(&certificate), static_cast(installOption), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager::ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName) const + template auto consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager::ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IUserCertificateEnrollmentManager)->ImportPfxDataAsync(*(void**)(&pfxData), *(void**)(&password), static_cast(exportable), static_cast(keyProtectionLevel), static_cast(installOption), *(void**)(&friendlyName), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager::ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName, param::hstring const& keyStorageProvider) const + template auto consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager::ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName, param::hstring const& keyStorageProvider) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IUserCertificateEnrollmentManager)->ImportPfxDataToKspAsync(*(void**)(&pfxData), *(void**)(&password), static_cast(exportable), static_cast(keyProtectionLevel), static_cast(installOption), *(void**)(&friendlyName), *(void**)(&keyStorageProvider), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager2::ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::PfxImportParameters const& pfxImportParameters) const + template auto consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager2::ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::PfxImportParameters const& pfxImportParameters) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IUserCertificateEnrollmentManager2)->ImportPfxDataToKspWithParametersAsync(*(void**)(&pfxData), *(void**)(&password), *(void**)(&pfxImportParameters), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_Certificates_IUserCertificateStore::RequestAddAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const + template auto consume_Windows_Security_Cryptography_Certificates_IUserCertificateStore::RequestAddAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IUserCertificateStore)->RequestAddAsync(*(void**)(&certificate), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_Certificates_IUserCertificateStore::RequestDeleteAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const + template auto consume_Windows_Security_Cryptography_Certificates_IUserCertificateStore::RequestDeleteAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IUserCertificateStore)->RequestDeleteAsync(*(void**)(&certificate), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IUserCertificateStore::Name() const + template auto consume_Windows_Security_Cryptography_Certificates_IUserCertificateStore::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IUserCertificateStore)->get_Name(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.Core.h index 87e6b13b..6f018a94 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.Core.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Cryptography_Core_H #define WINRT_Windows_Security_Cryptography_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Security.Cryptography.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,1045 +14,1045 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Security.Cryptography.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaPkcs1() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaPkcs1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_RsaPkcs1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaOaepSha1() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaOaepSha1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_RsaOaepSha1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaOaepSha256() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaOaepSha256() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_RsaOaepSha256(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaOaepSha384() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaOaepSha384() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_RsaOaepSha384(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaOaepSha512() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaOaepSha512() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_RsaOaepSha512(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::EcdsaP256Sha256() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::EcdsaP256Sha256() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_EcdsaP256Sha256(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::EcdsaP384Sha384() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::EcdsaP384Sha384() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_EcdsaP384Sha384(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::EcdsaP521Sha512() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::EcdsaP521Sha512() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_EcdsaP521Sha512(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::DsaSha1() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::DsaSha1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_DsaSha1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::DsaSha256() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::DsaSha256() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_DsaSha256(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaSignPkcs1Sha1() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaSignPkcs1Sha1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_RsaSignPkcs1Sha1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaSignPkcs1Sha256() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaSignPkcs1Sha256() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_RsaSignPkcs1Sha256(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaSignPkcs1Sha384() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaSignPkcs1Sha384() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_RsaSignPkcs1Sha384(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaSignPkcs1Sha512() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaSignPkcs1Sha512() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_RsaSignPkcs1Sha512(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaSignPssSha1() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaSignPssSha1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_RsaSignPssSha1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaSignPssSha256() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaSignPssSha256() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_RsaSignPssSha256(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaSignPssSha384() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaSignPssSha384() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_RsaSignPssSha384(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaSignPssSha512() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics::RsaSignPssSha512() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics)->get_RsaSignPssSha512(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics2::EcdsaSha256() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics2::EcdsaSha256() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics2)->get_EcdsaSha256(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics2::EcdsaSha384() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics2::EcdsaSha384() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics2)->get_EcdsaSha384(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics2::EcdsaSha512() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics2::EcdsaSha512() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics2)->get_EcdsaSha512(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider::AlgorithmName() const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider::AlgorithmName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricKeyAlgorithmProvider)->get_AlgorithmName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider::CreateKeyPair(uint32_t keySize) const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider::CreateKeyPair(uint32_t keySize) const { void* key{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricKeyAlgorithmProvider)->CreateKeyPair(keySize, &key)); return winrt::Windows::Security::Cryptography::Core::CryptographicKey{ key, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider::ImportKeyPair(winrt::Windows::Storage::Streams::IBuffer const& keyBlob) const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider::ImportKeyPair(winrt::Windows::Storage::Streams::IBuffer const& keyBlob) const { void* key{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricKeyAlgorithmProvider)->ImportDefaultPrivateKeyBlob(*(void**)(&keyBlob), &key)); return winrt::Windows::Security::Cryptography::Core::CryptographicKey{ key, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider::ImportKeyPair(winrt::Windows::Storage::Streams::IBuffer const& keyBlob, winrt::Windows::Security::Cryptography::Core::CryptographicPrivateKeyBlobType const& BlobType) const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider::ImportKeyPair(winrt::Windows::Storage::Streams::IBuffer const& keyBlob, winrt::Windows::Security::Cryptography::Core::CryptographicPrivateKeyBlobType const& BlobType) const { void* key{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricKeyAlgorithmProvider)->ImportKeyPairWithBlobType(*(void**)(&keyBlob), static_cast(BlobType), &key)); return winrt::Windows::Security::Cryptography::Core::CryptographicKey{ key, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider::ImportPublicKey(winrt::Windows::Storage::Streams::IBuffer const& keyBlob) const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider::ImportPublicKey(winrt::Windows::Storage::Streams::IBuffer const& keyBlob) const { void* key{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricKeyAlgorithmProvider)->ImportDefaultPublicKeyBlob(*(void**)(&keyBlob), &key)); return winrt::Windows::Security::Cryptography::Core::CryptographicKey{ key, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider::ImportPublicKey(winrt::Windows::Storage::Streams::IBuffer const& keyBlob, winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& BlobType) const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider::ImportPublicKey(winrt::Windows::Storage::Streams::IBuffer const& keyBlob, winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& BlobType) const { void* key{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricKeyAlgorithmProvider)->ImportPublicKeyWithBlobType(*(void**)(&keyBlob), static_cast(BlobType), &key)); return winrt::Windows::Security::Cryptography::Core::CryptographicKey{ key, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider2::CreateKeyPairWithCurveName(param::hstring const& curveName) const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider2::CreateKeyPairWithCurveName(param::hstring const& curveName) const { void* key{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricKeyAlgorithmProvider2)->CreateKeyPairWithCurveName(*(void**)(&curveName), &key)); return winrt::Windows::Security::Cryptography::Core::CryptographicKey{ key, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider2::CreateKeyPairWithCurveParameters(array_view parameters) const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider2::CreateKeyPairWithCurveParameters(array_view parameters) const { void* key{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricKeyAlgorithmProvider2)->CreateKeyPairWithCurveParameters(parameters.size(), get_abi(parameters), &key)); return winrt::Windows::Security::Cryptography::Core::CryptographicKey{ key, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::AsymmetricKeyAlgorithmProvider) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProviderStatics::OpenAlgorithm(param::hstring const& algorithm) const + template auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProviderStatics::OpenAlgorithm(param::hstring const& algorithm) const { void* provider{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IAsymmetricKeyAlgorithmProviderStatics)->OpenAlgorithm(*(void**)(&algorithm), &provider)); return winrt::Windows::Security::Cryptography::Core::AsymmetricKeyAlgorithmProvider{ provider, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics::Encrypt(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv) const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics::Encrypt(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicEngineStatics)->Encrypt(*(void**)(&key), *(void**)(&data), *(void**)(&iv), &value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics::Decrypt(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv) const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics::Decrypt(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicEngineStatics)->Decrypt(*(void**)(&key), *(void**)(&data), *(void**)(&iv), &value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::EncryptedAndAuthenticatedData) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics::EncryptAndAuthenticate(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& nonce, winrt::Windows::Storage::Streams::IBuffer const& authenticatedData) const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics::EncryptAndAuthenticate(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& nonce, winrt::Windows::Storage::Streams::IBuffer const& authenticatedData) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicEngineStatics)->EncryptAndAuthenticate(*(void**)(&key), *(void**)(&data), *(void**)(&nonce), *(void**)(&authenticatedData), &value)); return winrt::Windows::Security::Cryptography::Core::EncryptedAndAuthenticatedData{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics::DecryptAndAuthenticate(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& nonce, winrt::Windows::Storage::Streams::IBuffer const& authenticationTag, winrt::Windows::Storage::Streams::IBuffer const& authenticatedData) const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics::DecryptAndAuthenticate(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& nonce, winrt::Windows::Storage::Streams::IBuffer const& authenticationTag, winrt::Windows::Storage::Streams::IBuffer const& authenticatedData) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicEngineStatics)->DecryptAndAuthenticate(*(void**)(&key), *(void**)(&data), *(void**)(&nonce), *(void**)(&authenticationTag), *(void**)(&authenticatedData), &value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics::Sign(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics::Sign(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicEngineStatics)->Sign(*(void**)(&key), *(void**)(&data), &value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics::VerifySignature(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& signature) const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics::VerifySignature(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& signature) const { bool isAuthenticated{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicEngineStatics)->VerifySignature(*(void**)(&key), *(void**)(&data), *(void**)(&signature), &isAuthenticated)); return isAuthenticated; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics::DeriveKeyMaterial(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters const& parameters, uint32_t desiredKeySize) const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics::DeriveKeyMaterial(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters const& parameters, uint32_t desiredKeySize) const { void* keyMaterial{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicEngineStatics)->DeriveKeyMaterial(*(void**)(&key), *(void**)(¶meters), desiredKeySize, &keyMaterial)); return winrt::Windows::Storage::Streams::IBuffer{ keyMaterial, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2::SignHashedData(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2::SignHashedData(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicEngineStatics2)->SignHashedData(*(void**)(&key), *(void**)(&data), &value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2::VerifySignatureWithHashInput(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& signature) const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2::VerifySignatureWithHashInput(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& signature) const { bool isAuthenticated{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicEngineStatics2)->VerifySignatureWithHashInput(*(void**)(&key), *(void**)(&data), *(void**)(&signature), &isAuthenticated)); return isAuthenticated; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2::DecryptAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv) const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2::DecryptAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicEngineStatics2)->DecryptAsync(*(void**)(&key), *(void**)(&data), *(void**)(&iv), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2::SignAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2::SignAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicEngineStatics2)->SignAsync(*(void**)(&key), *(void**)(&data), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2::SignHashedDataAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2::SignHashedDataAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicEngineStatics2)->SignHashedDataAsync(*(void**)(&key), *(void**)(&data), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Cryptography_Core_ICryptographicKey::KeySize() const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicKey::KeySize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicKey)->get_KeySize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicKey::Export() const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicKey::Export() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicKey)->ExportDefaultPrivateKeyBlobType(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicKey::Export(winrt::Windows::Security::Cryptography::Core::CryptographicPrivateKeyBlobType const& BlobType) const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicKey::Export(winrt::Windows::Security::Cryptography::Core::CryptographicPrivateKeyBlobType const& BlobType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicKey)->ExportPrivateKeyWithBlobType(static_cast(BlobType), &value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicKey::ExportPublicKey() const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicKey::ExportPublicKey() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicKey)->ExportDefaultPublicKeyBlobType(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicKey::ExportPublicKey(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& BlobType) const + template auto consume_Windows_Security_Cryptography_Core_ICryptographicKey::ExportPublicKey(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& BlobType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicKey)->ExportPublicKeyWithBlobType(static_cast(BlobType), &value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP160r1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP160r1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_BrainpoolP160r1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP160t1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP160t1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_BrainpoolP160t1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP192r1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP192r1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_BrainpoolP192r1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP192t1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP192t1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_BrainpoolP192t1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP224r1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP224r1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_BrainpoolP224r1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP224t1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP224t1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_BrainpoolP224t1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP256r1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP256r1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_BrainpoolP256r1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP256t1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP256t1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_BrainpoolP256t1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP320r1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP320r1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_BrainpoolP320r1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP320t1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP320t1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_BrainpoolP320t1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP384r1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP384r1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_BrainpoolP384r1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP384t1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP384t1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_BrainpoolP384t1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP512r1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP512r1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_BrainpoolP512r1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP512t1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::BrainpoolP512t1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_BrainpoolP512t1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::Curve25519() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::Curve25519() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_Curve25519(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::Ec192wapi() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::Ec192wapi() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_Ec192wapi(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::NistP192() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::NistP192() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_NistP192(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::NistP224() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::NistP224() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_NistP224(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::NistP256() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::NistP256() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_NistP256(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::NistP384() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::NistP384() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_NistP384(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::NistP521() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::NistP521() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_NistP521(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::NumsP256t1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::NumsP256t1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_NumsP256t1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::NumsP384t1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::NumsP384t1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_NumsP384t1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::NumsP512t1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::NumsP512t1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_NumsP512t1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP160k1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP160k1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_SecP160k1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP160r1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP160r1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_SecP160r1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP160r2() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP160r2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_SecP160r2(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP192k1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP192k1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_SecP192k1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP192r1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP192r1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_SecP192r1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP224k1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP224k1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_SecP224k1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP224r1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP224r1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_SecP224r1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP256k1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP256k1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_SecP256k1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP256r1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP256r1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_SecP256r1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP384r1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP384r1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_SecP384r1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP521r1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::SecP521r1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_SecP521r1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::Wtls7() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::Wtls7() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_Wtls7(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::Wtls9() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::Wtls9() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_Wtls9(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::Wtls12() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::Wtls12() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_Wtls12(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::X962P192v1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::X962P192v1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_X962P192v1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::X962P192v2() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::X962P192v2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_X962P192v2(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::X962P192v3() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::X962P192v3() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_X962P192v3(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::X962P239v1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::X962P239v1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_X962P239v1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::X962P239v2() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::X962P239v2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_X962P239v2(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::X962P239v3() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::X962P239v3() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_X962P239v3(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::X962P256v1() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::X962P256v1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_X962P256v1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::AllEccCurveNames() const + template auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics::AllEccCurveNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_AllEccCurveNames(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_IEncryptedAndAuthenticatedData::EncryptedData() const + template auto consume_Windows_Security_Cryptography_Core_IEncryptedAndAuthenticatedData::EncryptedData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEncryptedAndAuthenticatedData)->get_EncryptedData(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_IEncryptedAndAuthenticatedData::AuthenticationTag() const + template auto consume_Windows_Security_Cryptography_Core_IEncryptedAndAuthenticatedData::AuthenticationTag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEncryptedAndAuthenticatedData)->get_AuthenticationTag(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics::Md5() const + template auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics::Md5() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IHashAlgorithmNamesStatics)->get_Md5(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics::Sha1() const + template auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics::Sha1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IHashAlgorithmNamesStatics)->get_Sha1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics::Sha256() const + template auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics::Sha256() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IHashAlgorithmNamesStatics)->get_Sha256(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics::Sha384() const + template auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics::Sha384() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IHashAlgorithmNamesStatics)->get_Sha384(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics::Sha512() const + template auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics::Sha512() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IHashAlgorithmNamesStatics)->get_Sha512(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider::AlgorithmName() const + template auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider::AlgorithmName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IHashAlgorithmProvider)->get_AlgorithmName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider::HashLength() const + template auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider::HashLength() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IHashAlgorithmProvider)->get_HashLength(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider::HashData(winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider::HashData(winrt::Windows::Storage::Streams::IBuffer const& data) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IHashAlgorithmProvider)->HashData(*(void**)(&data), &value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicHash) consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider::CreateHash() const + template auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider::CreateHash() const { void* Value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IHashAlgorithmProvider)->CreateHash(&Value)); return winrt::Windows::Security::Cryptography::Core::CryptographicHash{ Value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::HashAlgorithmProvider) consume_Windows_Security_Cryptography_Core_IHashAlgorithmProviderStatics::OpenAlgorithm(param::hstring const& algorithm) const + template auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmProviderStatics::OpenAlgorithm(param::hstring const& algorithm) const { void* provider{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IHashAlgorithmProviderStatics)->OpenAlgorithm(*(void**)(&algorithm), &provider)); return winrt::Windows::Security::Cryptography::Core::HashAlgorithmProvider{ provider, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Core_IHashComputation::Append(winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Security_Cryptography_Core_IHashComputation::Append(winrt::Windows::Storage::Streams::IBuffer const& data) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IHashComputation)->Append(*(void**)(&data))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_IHashComputation::GetValueAndReset() const + template auto consume_Windows_Security_Cryptography_Core_IHashComputation::GetValueAndReset() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IHashComputation)->GetValueAndReset(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Pbkdf2Md5() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Pbkdf2Md5() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics)->get_Pbkdf2Md5(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Pbkdf2Sha1() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Pbkdf2Sha1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics)->get_Pbkdf2Sha1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Pbkdf2Sha256() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Pbkdf2Sha256() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics)->get_Pbkdf2Sha256(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Pbkdf2Sha384() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Pbkdf2Sha384() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics)->get_Pbkdf2Sha384(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Pbkdf2Sha512() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Pbkdf2Sha512() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics)->get_Pbkdf2Sha512(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp800108CtrHmacMd5() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp800108CtrHmacMd5() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics)->get_Sp800108CtrHmacMd5(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp800108CtrHmacSha1() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp800108CtrHmacSha1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics)->get_Sp800108CtrHmacSha1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp800108CtrHmacSha256() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp800108CtrHmacSha256() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics)->get_Sp800108CtrHmacSha256(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp800108CtrHmacSha384() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp800108CtrHmacSha384() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics)->get_Sp800108CtrHmacSha384(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp800108CtrHmacSha512() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp800108CtrHmacSha512() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics)->get_Sp800108CtrHmacSha512(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp80056aConcatMd5() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp80056aConcatMd5() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics)->get_Sp80056aConcatMd5(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp80056aConcatSha1() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp80056aConcatSha1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics)->get_Sp80056aConcatSha1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp80056aConcatSha256() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp80056aConcatSha256() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics)->get_Sp80056aConcatSha256(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp80056aConcatSha384() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp80056aConcatSha384() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics)->get_Sp80056aConcatSha384(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp80056aConcatSha512() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics::Sp80056aConcatSha512() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics)->get_Sp80056aConcatSha512(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2::CapiKdfMd5() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2::CapiKdfMd5() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics2)->get_CapiKdfMd5(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2::CapiKdfSha1() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2::CapiKdfSha1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics2)->get_CapiKdfSha1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2::CapiKdfSha256() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2::CapiKdfSha256() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics2)->get_CapiKdfSha256(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2::CapiKdfSha384() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2::CapiKdfSha384() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics2)->get_CapiKdfSha384(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2::CapiKdfSha512() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2::CapiKdfSha512() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics2)->get_CapiKdfSha512(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProvider::AlgorithmName() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProvider::AlgorithmName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmProvider)->get_AlgorithmName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProvider::CreateKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProvider::CreateKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const { void* key{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmProvider)->CreateKey(*(void**)(&keyMaterial), &key)); return winrt::Windows::Security::Cryptography::Core::CryptographicKey{ key, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::KeyDerivationAlgorithmProvider) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProviderStatics::OpenAlgorithm(param::hstring const& algorithm) const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProviderStatics::OpenAlgorithm(param::hstring const& algorithm) const { void* provider{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmProviderStatics)->OpenAlgorithm(*(void**)(&algorithm), &provider)); return winrt::Windows::Security::Cryptography::Core::KeyDerivationAlgorithmProvider{ provider, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters::KdfGenericBinary() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters::KdfGenericBinary() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationParameters)->get_KdfGenericBinary(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters::KdfGenericBinary(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters::KdfGenericBinary(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationParameters)->put_KdfGenericBinary(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters::IterationCount() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters::IterationCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationParameters)->get_IterationCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm) consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters2::Capi1KdfTargetAlgorithm() const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters2::Capi1KdfTargetAlgorithm() const { winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationParameters2)->get_Capi1KdfTargetAlgorithm(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters2::Capi1KdfTargetAlgorithm(winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm const& value) const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters2::Capi1KdfTargetAlgorithm(winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationParameters2)->put_Capi1KdfTargetAlgorithm(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters) consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics::BuildForPbkdf2(winrt::Windows::Storage::Streams::IBuffer const& pbkdf2Salt, uint32_t iterationCount) const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics::BuildForPbkdf2(winrt::Windows::Storage::Streams::IBuffer const& pbkdf2Salt, uint32_t iterationCount) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationParametersStatics)->BuildForPbkdf2(*(void**)(&pbkdf2Salt), iterationCount, &value)); return winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters) consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics::BuildForSP800108(winrt::Windows::Storage::Streams::IBuffer const& label, winrt::Windows::Storage::Streams::IBuffer const& context) const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics::BuildForSP800108(winrt::Windows::Storage::Streams::IBuffer const& label, winrt::Windows::Storage::Streams::IBuffer const& context) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationParametersStatics)->BuildForSP800108(*(void**)(&label), *(void**)(&context), &value)); return winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters) consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics::BuildForSP80056a(winrt::Windows::Storage::Streams::IBuffer const& algorithmId, winrt::Windows::Storage::Streams::IBuffer const& partyUInfo, winrt::Windows::Storage::Streams::IBuffer const& partyVInfo, winrt::Windows::Storage::Streams::IBuffer const& suppPubInfo, winrt::Windows::Storage::Streams::IBuffer const& suppPrivInfo) const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics::BuildForSP80056a(winrt::Windows::Storage::Streams::IBuffer const& algorithmId, winrt::Windows::Storage::Streams::IBuffer const& partyUInfo, winrt::Windows::Storage::Streams::IBuffer const& partyVInfo, winrt::Windows::Storage::Streams::IBuffer const& suppPubInfo, winrt::Windows::Storage::Streams::IBuffer const& suppPrivInfo) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationParametersStatics)->BuildForSP80056a(*(void**)(&algorithmId), *(void**)(&partyUInfo), *(void**)(&partyVInfo), *(void**)(&suppPubInfo), *(void**)(&suppPrivInfo), &value)); return winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters) consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics2::BuildForCapi1Kdf(winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm const& capi1KdfTargetAlgorithm) const + template auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics2::BuildForCapi1Kdf(winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm const& capi1KdfTargetAlgorithm) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationParametersStatics2)->BuildForCapi1Kdf(static_cast(capi1KdfTargetAlgorithm), &value)); return winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics::HmacMd5() const + template auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics::HmacMd5() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IMacAlgorithmNamesStatics)->get_HmacMd5(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics::HmacSha1() const + template auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics::HmacSha1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IMacAlgorithmNamesStatics)->get_HmacSha1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics::HmacSha256() const + template auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics::HmacSha256() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IMacAlgorithmNamesStatics)->get_HmacSha256(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics::HmacSha384() const + template auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics::HmacSha384() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IMacAlgorithmNamesStatics)->get_HmacSha384(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics::HmacSha512() const + template auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics::HmacSha512() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IMacAlgorithmNamesStatics)->get_HmacSha512(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics::AesCmac() const + template auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics::AesCmac() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IMacAlgorithmNamesStatics)->get_AesCmac(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider::AlgorithmName() const + template auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider::AlgorithmName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IMacAlgorithmProvider)->get_AlgorithmName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider::MacLength() const + template auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider::MacLength() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IMacAlgorithmProvider)->get_MacLength(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider::CreateKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const + template auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider::CreateKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const { void* macKey{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IMacAlgorithmProvider)->CreateKey(*(void**)(&keyMaterial), &macKey)); return winrt::Windows::Security::Cryptography::Core::CryptographicKey{ macKey, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicHash) consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider2::CreateHash(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const + template auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider2::CreateHash(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IMacAlgorithmProvider2)->CreateHash(*(void**)(&keyMaterial), &value)); return winrt::Windows::Security::Cryptography::Core::CryptographicHash{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::MacAlgorithmProvider) consume_Windows_Security_Cryptography_Core_IMacAlgorithmProviderStatics::OpenAlgorithm(param::hstring const& algorithm) const + template auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmProviderStatics::OpenAlgorithm(param::hstring const& algorithm) const { void* provider{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IMacAlgorithmProviderStatics)->OpenAlgorithm(*(void**)(&algorithm), &provider)); return winrt::Windows::Security::Cryptography::Core::MacAlgorithmProvider{ provider, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_Core_IPersistedKeyProviderStatics::OpenKeyPairFromCertificateAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate, param::hstring const& hashAlgorithmName, winrt::Windows::Security::Cryptography::Core::CryptographicPadding const& padding) const + template auto consume_Windows_Security_Cryptography_Core_IPersistedKeyProviderStatics::OpenKeyPairFromCertificateAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate, param::hstring const& hashAlgorithmName, winrt::Windows::Security::Cryptography::Core::CryptographicPadding const& padding) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IPersistedKeyProviderStatics)->OpenKeyPairFromCertificateAsync(*(void**)(&certificate), *(void**)(&hashAlgorithmName), static_cast(padding), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IPersistedKeyProviderStatics::OpenPublicKeyFromCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate, param::hstring const& hashAlgorithmName, winrt::Windows::Security::Cryptography::Core::CryptographicPadding const& padding) const + template auto consume_Windows_Security_Cryptography_Core_IPersistedKeyProviderStatics::OpenPublicKeyFromCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate, param::hstring const& hashAlgorithmName, winrt::Windows::Security::Cryptography::Core::CryptographicPadding const& padding) const { void* key{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IPersistedKeyProviderStatics)->OpenPublicKeyFromCertificate(*(void**)(&certificate), *(void**)(&hashAlgorithmName), static_cast(padding), &key)); return winrt::Windows::Security::Cryptography::Core::CryptographicKey{ key, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::DesCbc() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::DesCbc() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_DesCbc(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::DesEcb() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::DesEcb() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_DesEcb(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::TripleDesCbc() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::TripleDesCbc() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_TripleDesCbc(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::TripleDesEcb() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::TripleDesEcb() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_TripleDesEcb(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::Rc2Cbc() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::Rc2Cbc() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_Rc2Cbc(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::Rc2Ecb() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::Rc2Ecb() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_Rc2Ecb(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::AesCbc() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::AesCbc() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_AesCbc(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::AesEcb() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::AesEcb() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_AesEcb(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::AesGcm() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::AesGcm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_AesGcm(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::AesCcm() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::AesCcm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_AesCcm(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::AesCbcPkcs7() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::AesCbcPkcs7() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_AesCbcPkcs7(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::AesEcbPkcs7() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::AesEcbPkcs7() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_AesEcbPkcs7(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::DesCbcPkcs7() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::DesCbcPkcs7() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_DesCbcPkcs7(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::DesEcbPkcs7() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::DesEcbPkcs7() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_DesEcbPkcs7(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::TripleDesCbcPkcs7() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::TripleDesCbcPkcs7() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_TripleDesCbcPkcs7(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::TripleDesEcbPkcs7() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::TripleDesEcbPkcs7() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_TripleDesEcbPkcs7(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::Rc2CbcPkcs7() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::Rc2CbcPkcs7() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_Rc2CbcPkcs7(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::Rc2EcbPkcs7() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::Rc2EcbPkcs7() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_Rc2EcbPkcs7(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::Rc4() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics::Rc4() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics)->get_Rc4(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProvider::AlgorithmName() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProvider::AlgorithmName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricKeyAlgorithmProvider)->get_AlgorithmName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProvider::BlockLength() const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProvider::BlockLength() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricKeyAlgorithmProvider)->get_BlockLength(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProvider::CreateSymmetricKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProvider::CreateSymmetricKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const { void* key{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricKeyAlgorithmProvider)->CreateSymmetricKey(*(void**)(&keyMaterial), &key)); return winrt::Windows::Security::Cryptography::Core::CryptographicKey{ key, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::SymmetricKeyAlgorithmProvider) consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProviderStatics::OpenAlgorithm(param::hstring const& algorithm) const + template auto consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProviderStatics::OpenAlgorithm(param::hstring const& algorithm) const { void* provider{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricKeyAlgorithmProviderStatics)->OpenAlgorithm(*(void**)(&algorithm), &provider)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.DataProtection.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.DataProtection.h index 500f17a6..7ffd3beb 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.DataProtection.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.DataProtection.h @@ -1,42 +1,42 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Cryptography_DataProtection_H #define WINRT_Windows_Security_Cryptography_DataProtection_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Security.Cryptography.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.Security.Cryptography.DataProtection.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider::ProtectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider::ProtectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::DataProtection::IDataProtectionProvider)->ProtectAsync(*(void**)(&data), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider::UnprotectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider::UnprotectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::DataProtection::IDataProtectionProvider)->UnprotectAsync(*(void**)(&data), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider::ProtectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& src, winrt::Windows::Storage::Streams::IOutputStream const& dest) const + template auto consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider::ProtectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& src, winrt::Windows::Storage::Streams::IOutputStream const& dest) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::DataProtection::IDataProtectionProvider)->ProtectStreamAsync(*(void**)(&src), *(void**)(&dest), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider::UnprotectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& src, winrt::Windows::Storage::Streams::IOutputStream const& dest) const + template auto consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider::UnprotectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& src, winrt::Windows::Storage::Streams::IOutputStream const& dest) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::DataProtection::IDataProtectionProvider)->UnprotectStreamAsync(*(void**)(&src), *(void**)(&dest), &value)); return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::DataProtection::DataProtectionProvider) consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProviderFactory::CreateOverloadExplicit(param::hstring const& protectionDescriptor) const + template auto consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProviderFactory::CreateOverloadExplicit(param::hstring const& protectionDescriptor) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::DataProtection::IDataProtectionProviderFactory)->CreateOverloadExplicit(*(void**)(&protectionDescriptor), &value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.h index ce0e0e1c..22ae7fd8 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.h @@ -1,74 +1,74 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Cryptography_H #define WINRT_Windows_Security_Cryptography_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.Security.Cryptography.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_ICryptographicBufferStatics::Compare(winrt::Windows::Storage::Streams::IBuffer const& object1, winrt::Windows::Storage::Streams::IBuffer const& object2) const + template auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics::Compare(winrt::Windows::Storage::Streams::IBuffer const& object1, winrt::Windows::Storage::Streams::IBuffer const& object2) const { bool isEqual{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::ICryptographicBufferStatics)->Compare(*(void**)(&object1), *(void**)(&object2), &isEqual)); return isEqual; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_ICryptographicBufferStatics::GenerateRandom(uint32_t length) const + template auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics::GenerateRandom(uint32_t length) const { void* buffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::ICryptographicBufferStatics)->GenerateRandom(length, &buffer)); return winrt::Windows::Storage::Streams::IBuffer{ buffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Cryptography_ICryptographicBufferStatics::GenerateRandomNumber() const + template auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics::GenerateRandomNumber() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::ICryptographicBufferStatics)->GenerateRandomNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_ICryptographicBufferStatics::CreateFromByteArray(array_view value) const + template auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics::CreateFromByteArray(array_view value) const { void* buffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::ICryptographicBufferStatics)->CreateFromByteArray(value.size(), get_abi(value), &buffer)); return winrt::Windows::Storage::Streams::IBuffer{ buffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_ICryptographicBufferStatics::CopyToByteArray(winrt::Windows::Storage::Streams::IBuffer const& buffer, com_array& value) const + template auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics::CopyToByteArray(winrt::Windows::Storage::Streams::IBuffer const& buffer, com_array& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::ICryptographicBufferStatics)->CopyToByteArray(*(void**)(&buffer), impl::put_size_abi(value), put_abi(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_ICryptographicBufferStatics::DecodeFromHexString(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics::DecodeFromHexString(param::hstring const& value) const { void* buffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::ICryptographicBufferStatics)->DecodeFromHexString(*(void**)(&value), &buffer)); return winrt::Windows::Storage::Streams::IBuffer{ buffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_ICryptographicBufferStatics::EncodeToHexString(winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics::EncodeToHexString(winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::ICryptographicBufferStatics)->EncodeToHexString(*(void**)(&buffer), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_ICryptographicBufferStatics::DecodeFromBase64String(param::hstring const& value) const + template auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics::DecodeFromBase64String(param::hstring const& value) const { void* buffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::ICryptographicBufferStatics)->DecodeFromBase64String(*(void**)(&value), &buffer)); return winrt::Windows::Storage::Streams::IBuffer{ buffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_ICryptographicBufferStatics::EncodeToBase64String(winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics::EncodeToBase64String(winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::ICryptographicBufferStatics)->EncodeToBase64String(*(void**)(&buffer), &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_ICryptographicBufferStatics::ConvertStringToBinary(param::hstring const& value, winrt::Windows::Security::Cryptography::BinaryStringEncoding const& encoding) const + template auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics::ConvertStringToBinary(param::hstring const& value, winrt::Windows::Security::Cryptography::BinaryStringEncoding const& encoding) const { void* buffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::ICryptographicBufferStatics)->ConvertStringToBinary(*(void**)(&value), static_cast(encoding), &buffer)); return winrt::Windows::Storage::Streams::IBuffer{ buffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_ICryptographicBufferStatics::ConvertBinaryToString(winrt::Windows::Security::Cryptography::BinaryStringEncoding const& encoding, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics::ConvertBinaryToString(winrt::Windows::Security::Cryptography::BinaryStringEncoding const& encoding, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::ICryptographicBufferStatics)->ConvertBinaryToString(static_cast(encoding), *(void**)(&buffer), &value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.DataProtection.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.DataProtection.h index f4dd6134..7c1e1c79 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.DataProtection.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.DataProtection.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_DataProtection_H #define WINRT_Windows_Security_DataProtection_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Storage.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" @@ -13,81 +13,81 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Security.DataProtection.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Security_DataProtection_IUserDataAvailabilityStateChangedEventArgs::GetDeferral() const + template auto consume_Windows_Security_DataProtection_IUserDataAvailabilityStateChangedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataAvailabilityStateChangedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::DataProtection::UserDataBufferUnprotectStatus) consume_Windows_Security_DataProtection_IUserDataBufferUnprotectResult::Status() const + template auto consume_Windows_Security_DataProtection_IUserDataBufferUnprotectResult::Status() const { winrt::Windows::Security::DataProtection::UserDataBufferUnprotectStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataBufferUnprotectResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_DataProtection_IUserDataBufferUnprotectResult::UnprotectedBuffer() const + template auto consume_Windows_Security_DataProtection_IUserDataBufferUnprotectResult::UnprotectedBuffer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataBufferUnprotectResult)->get_UnprotectedBuffer(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_DataProtection_IUserDataProtectionManager::ProtectStorageItemAsync(winrt::Windows::Storage::IStorageItem const& storageItem, winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const + template auto consume_Windows_Security_DataProtection_IUserDataProtectionManager::ProtectStorageItemAsync(winrt::Windows::Storage::IStorageItem const& storageItem, winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataProtectionManager)->ProtectStorageItemAsync(*(void**)(&storageItem), static_cast(availability), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_DataProtection_IUserDataProtectionManager::GetStorageItemProtectionInfoAsync(winrt::Windows::Storage::IStorageItem const& storageItem) const + template auto consume_Windows_Security_DataProtection_IUserDataProtectionManager::GetStorageItemProtectionInfoAsync(winrt::Windows::Storage::IStorageItem const& storageItem) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataProtectionManager)->GetStorageItemProtectionInfoAsync(*(void**)(&storageItem), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_DataProtection_IUserDataProtectionManager::ProtectBufferAsync(winrt::Windows::Storage::Streams::IBuffer const& unprotectedBuffer, winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const + template auto consume_Windows_Security_DataProtection_IUserDataProtectionManager::ProtectBufferAsync(winrt::Windows::Storage::Streams::IBuffer const& unprotectedBuffer, winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataProtectionManager)->ProtectBufferAsync(*(void**)(&unprotectedBuffer), static_cast(availability), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_DataProtection_IUserDataProtectionManager::UnprotectBufferAsync(winrt::Windows::Storage::Streams::IBuffer const& protectedBuffer) const + template auto consume_Windows_Security_DataProtection_IUserDataProtectionManager::UnprotectBufferAsync(winrt::Windows::Storage::Streams::IBuffer const& protectedBuffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataProtectionManager)->UnprotectBufferAsync(*(void**)(&protectedBuffer), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_DataProtection_IUserDataProtectionManager::IsContinuedDataAvailabilityExpected(winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const + template auto consume_Windows_Security_DataProtection_IUserDataProtectionManager::IsContinuedDataAvailabilityExpected(winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataProtectionManager)->IsContinuedDataAvailabilityExpected(static_cast(availability), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_DataProtection_IUserDataProtectionManager::DataAvailabilityStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Security_DataProtection_IUserDataProtectionManager::DataAvailabilityStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataProtectionManager)->add_DataAvailabilityStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Security_DataProtection_IUserDataProtectionManager::DataAvailabilityStateChanged_revoker consume_Windows_Security_DataProtection_IUserDataProtectionManager::DataAvailabilityStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Security_DataProtection_IUserDataProtectionManager::DataAvailabilityStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DataAvailabilityStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_DataProtection_IUserDataProtectionManager::DataAvailabilityStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Security_DataProtection_IUserDataProtectionManager::DataAvailabilityStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataProtectionManager)->remove_DataAvailabilityStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::DataProtection::UserDataProtectionManager) consume_Windows_Security_DataProtection_IUserDataProtectionManagerStatics::TryGetDefault() const + template auto consume_Windows_Security_DataProtection_IUserDataProtectionManagerStatics::TryGetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataProtectionManagerStatics)->TryGetDefault(&result)); return winrt::Windows::Security::DataProtection::UserDataProtectionManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::DataProtection::UserDataProtectionManager) consume_Windows_Security_DataProtection_IUserDataProtectionManagerStatics::TryGetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_Security_DataProtection_IUserDataProtectionManagerStatics::TryGetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataProtectionManagerStatics)->TryGetForUser(*(void**)(&user), &result)); return winrt::Windows::Security::DataProtection::UserDataProtectionManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::DataProtection::UserDataAvailability) consume_Windows_Security_DataProtection_IUserDataStorageItemProtectionInfo::Availability() const + template auto consume_Windows_Security_DataProtection_IUserDataStorageItemProtectionInfo::Availability() const { winrt::Windows::Security::DataProtection::UserDataAvailability value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataStorageItemProtectionInfo)->get_Availability(reinterpret_cast(&value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.EnterpriseData.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.EnterpriseData.h index 85760613..fb05d0f0 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.EnterpriseData.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.EnterpriseData.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_EnterpriseData_H #define WINRT_Windows_Security_EnterpriseData_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Networking.2.h" @@ -14,581 +14,581 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Security.EnterpriseData.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_EnterpriseData_IBufferProtectUnprotectResult::Buffer() const + template auto consume_Windows_Security_EnterpriseData_IBufferProtectUnprotectResult::Buffer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IBufferProtectUnprotectResult)->get_Buffer(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::DataProtectionInfo) consume_Windows_Security_EnterpriseData_IBufferProtectUnprotectResult::ProtectionInfo() const + template auto consume_Windows_Security_EnterpriseData_IBufferProtectUnprotectResult::ProtectionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IBufferProtectUnprotectResult)->get_ProtectionInfo(&value)); return winrt::Windows::Security::EnterpriseData::DataProtectionInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::DataProtectionStatus) consume_Windows_Security_EnterpriseData_IDataProtectionInfo::Status() const + template auto consume_Windows_Security_EnterpriseData_IDataProtectionInfo::Status() const { winrt::Windows::Security::EnterpriseData::DataProtectionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IDataProtectionInfo)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_EnterpriseData_IDataProtectionInfo::Identity() const + template auto consume_Windows_Security_EnterpriseData_IDataProtectionInfo::Identity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IDataProtectionInfo)->get_Identity(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics::ProtectAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::hstring const& identity) const + template auto consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics::ProtectAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::hstring const& identity) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IDataProtectionManagerStatics)->ProtectAsync(*(void**)(&data), *(void**)(&identity), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics::UnprotectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const + template auto consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics::UnprotectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IDataProtectionManagerStatics)->UnprotectAsync(*(void**)(&data), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics::ProtectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& unprotectedStream, param::hstring const& identity, winrt::Windows::Storage::Streams::IOutputStream const& protectedStream) const + template auto consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics::ProtectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& unprotectedStream, param::hstring const& identity, winrt::Windows::Storage::Streams::IOutputStream const& protectedStream) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IDataProtectionManagerStatics)->ProtectStreamAsync(*(void**)(&unprotectedStream), *(void**)(&identity), *(void**)(&protectedStream), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics::UnprotectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& protectedStream, winrt::Windows::Storage::Streams::IOutputStream const& unprotectedStream) const + template auto consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics::UnprotectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& protectedStream, winrt::Windows::Storage::Streams::IOutputStream const& unprotectedStream) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IDataProtectionManagerStatics)->UnprotectStreamAsync(*(void**)(&protectedStream), *(void**)(&unprotectedStream), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics::GetProtectionInfoAsync(winrt::Windows::Storage::Streams::IBuffer const& protectedData) const + template auto consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics::GetProtectionInfoAsync(winrt::Windows::Storage::Streams::IBuffer const& protectedData) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IDataProtectionManagerStatics)->GetProtectionInfoAsync(*(void**)(&protectedData), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics::GetStreamProtectionInfoAsync(winrt::Windows::Storage::Streams::IInputStream const& protectedStream) const + template auto consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics::GetStreamProtectionInfoAsync(winrt::Windows::Storage::Streams::IInputStream const& protectedStream) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IDataProtectionManagerStatics)->GetStreamProtectionInfoAsync(*(void**)(&protectedStream), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::FileProtectionStatus) consume_Windows_Security_EnterpriseData_IFileProtectionInfo::Status() const + template auto consume_Windows_Security_EnterpriseData_IFileProtectionInfo::Status() const { winrt::Windows::Security::EnterpriseData::FileProtectionStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionInfo)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IFileProtectionInfo::IsRoamable() const + template auto consume_Windows_Security_EnterpriseData_IFileProtectionInfo::IsRoamable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionInfo)->get_IsRoamable(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_EnterpriseData_IFileProtectionInfo::Identity() const + template auto consume_Windows_Security_EnterpriseData_IFileProtectionInfo::Identity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionInfo)->get_Identity(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IFileProtectionInfo2::IsProtectWhileOpenSupported() const + template auto consume_Windows_Security_EnterpriseData_IFileProtectionInfo2::IsProtectWhileOpenSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionInfo2)->get_IsProtectWhileOpenSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics::ProtectAsync(winrt::Windows::Storage::IStorageItem const& target, param::hstring const& identity) const + template auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics::ProtectAsync(winrt::Windows::Storage::IStorageItem const& target, param::hstring const& identity) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionManagerStatics)->ProtectAsync(*(void**)(&target), *(void**)(&identity), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics::CopyProtectionAsync(winrt::Windows::Storage::IStorageItem const& source, winrt::Windows::Storage::IStorageItem const& target) const + template auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics::CopyProtectionAsync(winrt::Windows::Storage::IStorageItem const& source, winrt::Windows::Storage::IStorageItem const& target) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionManagerStatics)->CopyProtectionAsync(*(void**)(&source), *(void**)(&target), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics::GetProtectionInfoAsync(winrt::Windows::Storage::IStorageItem const& source) const + template auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics::GetProtectionInfoAsync(winrt::Windows::Storage::IStorageItem const& source) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionManagerStatics)->GetProtectionInfoAsync(*(void**)(&source), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics::SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile) const + template auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics::SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionManagerStatics)->SaveFileAsContainerAsync(*(void**)(&protectedFile), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics::LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile) const + template auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics::LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionManagerStatics)->LoadFileFromContainerAsync(*(void**)(&containerFile), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics::LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile, winrt::Windows::Storage::IStorageItem const& target) const + template auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics::LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile, winrt::Windows::Storage::IStorageItem const& target) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionManagerStatics)->LoadFileFromContainerWithTargetAsync(*(void**)(&containerFile), *(void**)(&target), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics::CreateProtectedAndOpenAsync(winrt::Windows::Storage::IStorageFolder const& parentFolder, param::hstring const& desiredName, param::hstring const& identity, winrt::Windows::Storage::CreationCollisionOption const& collisionOption) const + template auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics::CreateProtectedAndOpenAsync(winrt::Windows::Storage::IStorageFolder const& parentFolder, param::hstring const& desiredName, param::hstring const& identity, winrt::Windows::Storage::CreationCollisionOption const& collisionOption) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionManagerStatics)->CreateProtectedAndOpenAsync(*(void**)(&parentFolder), *(void**)(&desiredName), *(void**)(&identity), static_cast(collisionOption), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics2::IsContainerAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics2::IsContainerAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionManagerStatics2)->IsContainerAsync(*(void**)(&file), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics2::LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile, winrt::Windows::Storage::IStorageItem const& target, winrt::Windows::Storage::NameCollisionOption const& collisionOption) const + template auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics2::LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile, winrt::Windows::Storage::IStorageItem const& target, winrt::Windows::Storage::NameCollisionOption const& collisionOption) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionManagerStatics2)->LoadFileFromContainerWithTargetAndNameCollisionOptionAsync(*(void**)(&containerFile), *(void**)(&target), static_cast(collisionOption), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics2::SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile, param::async_iterable const& sharedWithIdentities) const + template auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics2::SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile, param::async_iterable const& sharedWithIdentities) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionManagerStatics2)->SaveFileAsContainerWithSharingAsync(*(void**)(&protectedFile), *(void**)(&sharedWithIdentities), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics3::UnprotectAsync(winrt::Windows::Storage::IStorageItem const& target) const + template auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics3::UnprotectAsync(winrt::Windows::Storage::IStorageItem const& target) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionManagerStatics3)->UnprotectAsync(*(void**)(&target), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics3::UnprotectAsync(winrt::Windows::Storage::IStorageItem const& target, winrt::Windows::Security::EnterpriseData::FileUnprotectOptions const& options) const + template auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics3::UnprotectAsync(winrt::Windows::Storage::IStorageItem const& target, winrt::Windows::Security::EnterpriseData::FileUnprotectOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionManagerStatics3)->UnprotectWithOptionsAsync(*(void**)(&target), *(void**)(&options), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics::ProtectAsync(winrt::Windows::Storage::IStorageItem const& storageItem, param::hstring const& enterpriseIdentity) const + template auto consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics::ProtectAsync(winrt::Windows::Storage::IStorageItem const& storageItem, param::hstring const& enterpriseIdentity) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileRevocationManagerStatics)->ProtectAsync(*(void**)(&storageItem), *(void**)(&enterpriseIdentity), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics::CopyProtectionAsync(winrt::Windows::Storage::IStorageItem const& sourceStorageItem, winrt::Windows::Storage::IStorageItem const& targetStorageItem) const + template auto consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics::CopyProtectionAsync(winrt::Windows::Storage::IStorageItem const& sourceStorageItem, winrt::Windows::Storage::IStorageItem const& targetStorageItem) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileRevocationManagerStatics)->CopyProtectionAsync(*(void**)(&sourceStorageItem), *(void**)(&targetStorageItem), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics::Revoke(param::hstring const& enterpriseIdentity) const + template auto consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics::Revoke(param::hstring const& enterpriseIdentity) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileRevocationManagerStatics)->Revoke(*(void**)(&enterpriseIdentity))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics::GetStatusAsync(winrt::Windows::Storage::IStorageItem const& storageItem) const + template auto consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics::GetStatusAsync(winrt::Windows::Storage::IStorageItem const& storageItem) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileRevocationManagerStatics)->GetStatusAsync(*(void**)(&storageItem), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IFileUnprotectOptions::Audit(bool value) const + template auto consume_Windows_Security_EnterpriseData_IFileUnprotectOptions::Audit(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileUnprotectOptions)->put_Audit(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IFileUnprotectOptions::Audit() const + template auto consume_Windows_Security_EnterpriseData_IFileUnprotectOptions::Audit() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileUnprotectOptions)->get_Audit(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::FileUnprotectOptions) consume_Windows_Security_EnterpriseData_IFileUnprotectOptionsFactory::Create(bool audit) const + template auto consume_Windows_Security_EnterpriseData_IFileUnprotectOptionsFactory::Create(bool audit) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileUnprotectOptionsFactory)->Create(audit, &result)); return winrt::Windows::Security::EnterpriseData::FileUnprotectOptions{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_EnterpriseData_IProtectedAccessResumedEventArgs::Identities() const + template auto consume_Windows_Security_EnterpriseData_IProtectedAccessResumedEventArgs::Identities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedAccessResumedEventArgs)->get_Identities(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_EnterpriseData_IProtectedAccessSuspendingEventArgs::Identities() const + template auto consume_Windows_Security_EnterpriseData_IProtectedAccessSuspendingEventArgs::Identities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedAccessSuspendingEventArgs)->get_Identities(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Security_EnterpriseData_IProtectedAccessSuspendingEventArgs::Deadline() const + template auto consume_Windows_Security_EnterpriseData_IProtectedAccessSuspendingEventArgs::Deadline() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedAccessSuspendingEventArgs)->get_Deadline(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Security_EnterpriseData_IProtectedAccessSuspendingEventArgs::GetDeferral() const + template auto consume_Windows_Security_EnterpriseData_IProtectedAccessSuspendingEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedAccessSuspendingEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectedImportExportStatus) consume_Windows_Security_EnterpriseData_IProtectedContainerExportResult::Status() const + template auto consume_Windows_Security_EnterpriseData_IProtectedContainerExportResult::Status() const { winrt::Windows::Security::EnterpriseData::ProtectedImportExportStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedContainerExportResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Security_EnterpriseData_IProtectedContainerExportResult::File() const + template auto consume_Windows_Security_EnterpriseData_IProtectedContainerExportResult::File() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedContainerExportResult)->get_File(&value)); return winrt::Windows::Storage::StorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectedImportExportStatus) consume_Windows_Security_EnterpriseData_IProtectedContainerImportResult::Status() const + template auto consume_Windows_Security_EnterpriseData_IProtectedContainerImportResult::Status() const { winrt::Windows::Security::EnterpriseData::ProtectedImportExportStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedContainerImportResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Security_EnterpriseData_IProtectedContainerImportResult::File() const + template auto consume_Windows_Security_EnterpriseData_IProtectedContainerImportResult::File() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedContainerImportResult)->get_File(&value)); return winrt::Windows::Storage::StorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_EnterpriseData_IProtectedContentRevokedEventArgs::Identities() const + template auto consume_Windows_Security_EnterpriseData_IProtectedContentRevokedEventArgs::Identities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedContentRevokedEventArgs)->get_Identities(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Security_EnterpriseData_IProtectedFileCreateResult::File() const + template auto consume_Windows_Security_EnterpriseData_IProtectedFileCreateResult::File() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedFileCreateResult)->get_File(&value)); return winrt::Windows::Storage::StorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_Security_EnterpriseData_IProtectedFileCreateResult::Stream() const + template auto consume_Windows_Security_EnterpriseData_IProtectedFileCreateResult::Stream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedFileCreateResult)->get_Stream(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::FileProtectionInfo) consume_Windows_Security_EnterpriseData_IProtectedFileCreateResult::ProtectionInfo() const + template auto consume_Windows_Security_EnterpriseData_IProtectedFileCreateResult::ProtectionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedFileCreateResult)->get_ProtectionInfo(&value)); return winrt::Windows::Security::EnterpriseData::FileProtectionInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo::Action(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& value) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo::Action(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo)->put_Action(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo::Action() const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo::Action() const { winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo)->get_Action(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo::DataDescription(param::hstring const& value) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo::DataDescription(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo)->put_DataDescription(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo::DataDescription() const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo::DataDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo)->get_DataDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo::SourceDescription(param::hstring const& value) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo::SourceDescription(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo)->put_SourceDescription(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo::SourceDescription() const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo::SourceDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo)->get_SourceDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo::TargetDescription(param::hstring const& value) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo::TargetDescription(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo)->put_TargetDescription(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo::TargetDescription() const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo::TargetDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo)->get_TargetDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfoFactory::Create(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& action, param::hstring const& dataDescription, param::hstring const& sourceDescription, param::hstring const& targetDescription) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfoFactory::Create(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& action, param::hstring const& dataDescription, param::hstring const& sourceDescription, param::hstring const& targetDescription) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfoFactory)->Create(static_cast(action), *(void**)(&dataDescription), *(void**)(&sourceDescription), *(void**)(&targetDescription), &result)); return winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfoFactory::CreateWithActionAndDataDescription(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& action, param::hstring const& dataDescription) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfoFactory::CreateWithActionAndDataDescription(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& action, param::hstring const& dataDescription) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfoFactory)->CreateWithActionAndDataDescription(static_cast(action), *(void**)(&dataDescription), &result)); return winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManager::Identity(param::hstring const& value) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManager::Identity(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManager)->put_Identity(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_EnterpriseData_IProtectionPolicyManager::Identity() const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManager::Identity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManager)->get_Identity(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManager2::ShowEnterpriseIndicator(bool value) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManager2::ShowEnterpriseIndicator(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManager2)->put_ShowEnterpriseIndicator(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IProtectionPolicyManager2::ShowEnterpriseIndicator() const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManager2::ShowEnterpriseIndicator() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManager2)->get_ShowEnterpriseIndicator(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::IsIdentityManaged(param::hstring const& identity) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::IsIdentityManaged(param::hstring const& identity) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->IsIdentityManaged(*(void**)(&identity), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::TryApplyProcessUIPolicy(param::hstring const& identity) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::TryApplyProcessUIPolicy(param::hstring const& identity) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->TryApplyProcessUIPolicy(*(void**)(&identity), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ClearProcessUIPolicy() const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ClearProcessUIPolicy() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->ClearProcessUIPolicy()); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ThreadNetworkContext) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::CreateCurrentThreadNetworkContext(param::hstring const& identity) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::CreateCurrentThreadNetworkContext(param::hstring const& identity) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->CreateCurrentThreadNetworkContext(*(void**)(&identity), &result)); return winrt::Windows::Security::EnterpriseData::ThreadNetworkContext{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::GetPrimaryManagedIdentityForNetworkEndpointAsync(winrt::Windows::Networking::HostName const& endpointHost) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::GetPrimaryManagedIdentityForNetworkEndpointAsync(winrt::Windows::Networking::HostName const& endpointHost) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->GetPrimaryManagedIdentityForNetworkEndpointAsync(*(void**)(&endpointHost), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::RevokeContent(param::hstring const& identity) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::RevokeContent(param::hstring const& identity) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->RevokeContent(*(void**)(&identity))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyManager) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::GetForCurrentView() const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::GetForCurrentView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->GetForCurrentView(&result)); return winrt::Windows::Security::EnterpriseData::ProtectionPolicyManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedAccessSuspending(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedAccessSuspending(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->add_ProtectedAccessSuspending(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedAccessSuspending_revoker consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, ProtectedAccessSuspending(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedAccessSuspending(winrt::event_token const& token) const noexcept + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedAccessSuspending(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->remove_ProtectedAccessSuspending(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedAccessResumed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedAccessResumed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->add_ProtectedAccessResumed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedAccessResumed_revoker consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, ProtectedAccessResumed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedAccessResumed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedAccessResumed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->remove_ProtectedAccessResumed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedContentRevoked(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedContentRevoked(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->add_ProtectedContentRevoked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedContentRevoked_revoker consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, ProtectedContentRevoked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedContentRevoked(winrt::event_token const& token) const noexcept + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::ProtectedContentRevoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->remove_ProtectedContentRevoked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::CheckAccess(param::hstring const& sourceIdentity, param::hstring const& targetIdentity) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::CheckAccess(param::hstring const& sourceIdentity, param::hstring const& targetIdentity) const { winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->CheckAccess(*(void**)(&sourceIdentity), *(void**)(&targetIdentity), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics::RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->RequestAccessAsync(*(void**)(&sourceIdentity), *(void**)(&targetIdentity), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::HasContentBeenRevokedSince(param::hstring const& identity, winrt::Windows::Foundation::DateTime const& since) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::HasContentBeenRevokedSince(param::hstring const& identity, winrt::Windows::Foundation::DateTime const& since) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2)->HasContentBeenRevokedSince(*(void**)(&identity), impl::bind_in(since), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::CheckAccessForApp(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::CheckAccessForApp(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName) const { winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2)->CheckAccessForApp(*(void**)(&sourceIdentity), *(void**)(&appPackageFamilyName), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2)->RequestAccessForAppAsync(*(void**)(&sourceIdentity), *(void**)(&appPackageFamilyName), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::EnforcementLevel) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::GetEnforcementLevel(param::hstring const& identity) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::GetEnforcementLevel(param::hstring const& identity) const { winrt::Windows::Security::EnterpriseData::EnforcementLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2)->GetEnforcementLevel(*(void**)(&identity), reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::IsUserDecryptionAllowed(param::hstring const& identity) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::IsUserDecryptionAllowed(param::hstring const& identity) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2)->IsUserDecryptionAllowed(*(void**)(&identity), &value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::IsProtectionUnderLockRequired(param::hstring const& identity) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::IsProtectionUnderLockRequired(param::hstring const& identity) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2)->IsProtectionUnderLockRequired(*(void**)(&identity), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::PolicyChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::PolicyChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2)->add_PolicyChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::PolicyChanged_revoker consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, PolicyChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::PolicyChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::PolicyChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2)->remove_PolicyChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::IsProtectionEnabled() const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2::IsProtectionEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2)->get_IsProtectionEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3::RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3::RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics3)->RequestAccessWithAuditingInfoAsync(*(void**)(&sourceIdentity), *(void**)(&targetIdentity), *(void**)(&auditInfo), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3::RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3::RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics3)->RequestAccessWithMessageAsync(*(void**)(&sourceIdentity), *(void**)(&targetIdentity), *(void**)(&auditInfo), *(void**)(&messageFromApp), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3::RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3::RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics3)->RequestAccessForAppWithAuditingInfoAsync(*(void**)(&sourceIdentity), *(void**)(&appPackageFamilyName), *(void**)(&auditInfo), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3::RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3::RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics3)->RequestAccessForAppWithMessageAsync(*(void**)(&sourceIdentity), *(void**)(&appPackageFamilyName), *(void**)(&auditInfo), *(void**)(&messageFromApp), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3::LogAuditEvent(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3::LogAuditEvent(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics3)->LogAuditEvent(*(void**)(&sourceIdentity), *(void**)(&targetIdentity), *(void**)(&auditInfo))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::IsRoamableProtectionEnabled(param::hstring const& identity) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::IsRoamableProtectionEnabled(param::hstring const& identity) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics4)->IsRoamableProtectionEnabled(*(void**)(&identity), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics4)->RequestAccessWithBehaviorAsync(*(void**)(&sourceIdentity), *(void**)(&targetIdentity), *(void**)(&auditInfo), *(void**)(&messageFromApp), static_cast(behavior), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics4)->RequestAccessForAppWithBehaviorAsync(*(void**)(&sourceIdentity), *(void**)(&appPackageFamilyName), *(void**)(&auditInfo), *(void**)(&messageFromApp), static_cast(behavior), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::RequestAccessToFilesForAppAsync(param::async_iterable const& sourceItemList, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::RequestAccessToFilesForAppAsync(param::async_iterable const& sourceItemList, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics4)->RequestAccessToFilesForAppAsync(*(void**)(&sourceItemList), *(void**)(&appPackageFamilyName), *(void**)(&auditInfo), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::RequestAccessToFilesForAppAsync(param::async_iterable const& sourceItemList, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::RequestAccessToFilesForAppAsync(param::async_iterable const& sourceItemList, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics4)->RequestAccessToFilesForAppWithMessageAndBehaviorAsync(*(void**)(&sourceItemList), *(void**)(&appPackageFamilyName), *(void**)(&auditInfo), *(void**)(&messageFromApp), static_cast(behavior), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::RequestAccessToFilesForProcessAsync(param::async_iterable const& sourceItemList, uint32_t processId, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::RequestAccessToFilesForProcessAsync(param::async_iterable const& sourceItemList, uint32_t processId, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics4)->RequestAccessToFilesForProcessAsync(*(void**)(&sourceItemList), processId, *(void**)(&auditInfo), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::RequestAccessToFilesForProcessAsync(param::async_iterable const& sourceItemList, uint32_t processId, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::RequestAccessToFilesForProcessAsync(param::async_iterable const& sourceItemList, uint32_t processId, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics4)->RequestAccessToFilesForProcessWithMessageAndBehaviorAsync(*(void**)(&sourceItemList), processId, *(void**)(&auditInfo), *(void**)(&messageFromApp), static_cast(behavior), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::IsFileProtectionRequiredAsync(winrt::Windows::Storage::IStorageItem const& target, param::hstring const& identity) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::IsFileProtectionRequiredAsync(winrt::Windows::Storage::IStorageItem const& target, param::hstring const& identity) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics4)->IsFileProtectionRequiredAsync(*(void**)(&target), *(void**)(&identity), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::IsFileProtectionRequiredForNewFileAsync(winrt::Windows::Storage::IStorageFolder const& parentFolder, param::hstring const& identity, param::hstring const& desiredName) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::IsFileProtectionRequiredForNewFileAsync(winrt::Windows::Storage::IStorageFolder const& parentFolder, param::hstring const& identity, param::hstring const& desiredName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics4)->IsFileProtectionRequiredForNewFileAsync(*(void**)(&parentFolder), *(void**)(&identity), *(void**)(&desiredName), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::PrimaryManagedIdentity() const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::PrimaryManagedIdentity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics4)->get_PrimaryManagedIdentity(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::GetPrimaryManagedIdentityForIdentity(param::hstring const& identity) const + template auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4::GetPrimaryManagedIdentityForIdentity(param::hstring const& identity) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics4)->GetPrimaryManagedIdentityForIdentity(*(void**)(&identity), &value)); @@ -1639,10 +1639,10 @@ WINRT_EXPORT namespace winrt::Windows::Security::EnterpriseData { return impl::call_factory([&](IProtectionPolicyManagerStatics const& f) { return f.ProtectedAccessSuspending(handler); }); } - inline ProtectionPolicyManager::ProtectedAccessSuspending_revoker ProtectionPolicyManager::ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto ProtectionPolicyManager::ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.ProtectedAccessSuspending(handler) }; + return ProtectionPolicyManager::ProtectedAccessSuspending_revoker{ f, f.ProtectedAccessSuspending(handler) }; } inline auto ProtectionPolicyManager::ProtectedAccessSuspending(winrt::event_token const& token) { @@ -1652,10 +1652,10 @@ WINRT_EXPORT namespace winrt::Windows::Security::EnterpriseData { return impl::call_factory([&](IProtectionPolicyManagerStatics const& f) { return f.ProtectedAccessResumed(handler); }); } - inline ProtectionPolicyManager::ProtectedAccessResumed_revoker ProtectionPolicyManager::ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto ProtectionPolicyManager::ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.ProtectedAccessResumed(handler) }; + return ProtectionPolicyManager::ProtectedAccessResumed_revoker{ f, f.ProtectedAccessResumed(handler) }; } inline auto ProtectionPolicyManager::ProtectedAccessResumed(winrt::event_token const& token) { @@ -1665,10 +1665,10 @@ WINRT_EXPORT namespace winrt::Windows::Security::EnterpriseData { return impl::call_factory([&](IProtectionPolicyManagerStatics const& f) { return f.ProtectedContentRevoked(handler); }); } - inline ProtectionPolicyManager::ProtectedContentRevoked_revoker ProtectionPolicyManager::ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto ProtectionPolicyManager::ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.ProtectedContentRevoked(handler) }; + return ProtectionPolicyManager::ProtectedContentRevoked_revoker{ f, f.ProtectedContentRevoked(handler) }; } inline auto ProtectionPolicyManager::ProtectedContentRevoked(winrt::event_token const& token) { @@ -1710,10 +1710,10 @@ WINRT_EXPORT namespace winrt::Windows::Security::EnterpriseData { return impl::call_factory([&](IProtectionPolicyManagerStatics2 const& f) { return f.PolicyChanged(handler); }); } - inline ProtectionPolicyManager::PolicyChanged_revoker ProtectionPolicyManager::PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto ProtectionPolicyManager::PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.PolicyChanged(handler) }; + return ProtectionPolicyManager::PolicyChanged_revoker{ f, f.PolicyChanged(handler) }; } inline auto ProtectionPolicyManager::PolicyChanged(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.ExchangeActiveSyncProvisioning.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.ExchangeActiveSyncProvisioning.h index 7b936ba4..b0460c44 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.ExchangeActiveSyncProvisioning.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.ExchangeActiveSyncProvisioning.h @@ -1,210 +1,210 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_ExchangeActiveSyncProvisioning_H #define WINRT_Windows_Security_ExchangeActiveSyncProvisioning_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation::Id() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation::Id() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientDeviceInformation)->get_Id(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation::OperatingSystem() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation::OperatingSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientDeviceInformation)->get_OperatingSystem(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation::FriendlyName() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation::FriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientDeviceInformation)->get_FriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation::SystemManufacturer() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation::SystemManufacturer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientDeviceInformation)->get_SystemManufacturer(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation::SystemProductName() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation::SystemProductName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientDeviceInformation)->get_SystemProductName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation::SystemSku() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation::SystemSku() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientDeviceInformation)->get_SystemSku(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation2::SystemHardwareVersion() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation2::SystemHardwareVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientDeviceInformation2)->get_SystemHardwareVersion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation2::SystemFirmwareVersion() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation2::SystemFirmwareVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientDeviceInformation2)->get_SystemFirmwareVersion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::RequireEncryption() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::RequireEncryption() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->get_RequireEncryption(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::RequireEncryption(bool value) const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::RequireEncryption(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->put_RequireEncryption(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::MinPasswordLength() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::MinPasswordLength() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->get_MinPasswordLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::MinPasswordLength(uint8_t value) const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::MinPasswordLength(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->put_MinPasswordLength(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::DisallowConvenienceLogon() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::DisallowConvenienceLogon() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->get_DisallowConvenienceLogon(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::DisallowConvenienceLogon(bool value) const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::DisallowConvenienceLogon(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->put_DisallowConvenienceLogon(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::MinPasswordComplexCharacters() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::MinPasswordComplexCharacters() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->get_MinPasswordComplexCharacters(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::MinPasswordComplexCharacters(uint8_t value) const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::MinPasswordComplexCharacters(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->put_MinPasswordComplexCharacters(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::PasswordExpiration() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::PasswordExpiration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->get_PasswordExpiration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::PasswordExpiration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::PasswordExpiration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->put_PasswordExpiration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::PasswordHistory() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::PasswordHistory() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->get_PasswordHistory(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::PasswordHistory(uint32_t value) const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::PasswordHistory(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->put_PasswordHistory(value)); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::MaxPasswordFailedAttempts() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::MaxPasswordFailedAttempts() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->get_MaxPasswordFailedAttempts(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::MaxPasswordFailedAttempts(uint8_t value) const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::MaxPasswordFailedAttempts(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->put_MaxPasswordFailedAttempts(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::MaxInactivityTimeLock() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::MaxInactivityTimeLock() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->get_MaxInactivityTimeLock(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::MaxInactivityTimeLock(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::MaxInactivityTimeLock(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->put_MaxInactivityTimeLock(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasComplianceResults) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::CheckCompliance() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::CheckCompliance() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->CheckCompliance(&result)); return winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasComplianceResults{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::ApplyAsync() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy::ApplyAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->ApplyAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::Compliant() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::Compliant() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_Compliant(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasRequireEncryptionResult) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::RequireEncryptionResult() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::RequireEncryptionResult() const { winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasRequireEncryptionResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_RequireEncryptionResult(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMinPasswordLengthResult) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::MinPasswordLengthResult() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::MinPasswordLengthResult() const { winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMinPasswordLengthResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_MinPasswordLengthResult(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasDisallowConvenienceLogonResult) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::DisallowConvenienceLogonResult() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::DisallowConvenienceLogonResult() const { winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasDisallowConvenienceLogonResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_DisallowConvenienceLogonResult(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMinPasswordComplexCharactersResult) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::MinPasswordComplexCharactersResult() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::MinPasswordComplexCharactersResult() const { winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMinPasswordComplexCharactersResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_MinPasswordComplexCharactersResult(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasPasswordExpirationResult) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::PasswordExpirationResult() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::PasswordExpirationResult() const { winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasPasswordExpirationResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_PasswordExpirationResult(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasPasswordHistoryResult) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::PasswordHistoryResult() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::PasswordHistoryResult() const { winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasPasswordHistoryResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_PasswordHistoryResult(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMaxPasswordFailedAttemptsResult) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::MaxPasswordFailedAttemptsResult() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::MaxPasswordFailedAttemptsResult() const { winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMaxPasswordFailedAttemptsResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_MaxPasswordFailedAttemptsResult(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMaxInactivityTimeLockResult) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::MaxInactivityTimeLockResult() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults::MaxInactivityTimeLockResult() const { winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMaxInactivityTimeLockResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_MaxInactivityTimeLockResult(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasEncryptionProviderType) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults2::EncryptionProviderType() const + template auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults2::EncryptionProviderType() const { winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasEncryptionProviderType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults2)->get_EncryptionProviderType(reinterpret_cast(&value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Isolation.h b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Isolation.h index 7d5b4889..9be6710f 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Security.Isolation.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Security.Isolation.h @@ -1,499 +1,499 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Isolation_H #define WINRT_Windows_Security_Isolation_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Security.Isolation.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::Id() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::StartProcessSilentlyAsync(param::hstring const& hostExePath, param::hstring const& arguments, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentActivator const& activator) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::StartProcessSilentlyAsync(param::hstring const& hostExePath, param::hstring const& arguments, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentActivator const& activator) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment)->StartProcessSilentlyAsync(*(void**)(&hostExePath), *(void**)(&arguments), static_cast(activator), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::StartProcessSilentlyAsync(param::hstring const& hostExePath, param::hstring const& arguments, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentActivator const& activator, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::StartProcessSilentlyAsync(param::hstring const& hostExePath, param::hstring const& arguments, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentActivator const& activator, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment)->StartProcessSilentlyWithTelemetryAsync(*(void**)(&hostExePath), *(void**)(&arguments), static_cast(activator), *(void**)(&telemetryParameters), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::ShareFolderAsync(param::hstring const& hostFolder, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::ShareFolderAsync(param::hstring const& hostFolder, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment)->ShareFolderAsync(*(void**)(&hostFolder), *(void**)(&requestOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::ShareFolderAsync(param::hstring const& hostFolder, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::ShareFolderAsync(param::hstring const& hostFolder, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment)->ShareFolderWithTelemetryAsync(*(void**)(&hostFolder), *(void**)(&requestOptions), *(void**)(&telemetryParameters), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::LaunchFileWithUIAsync(param::hstring const& appExePath, param::hstring const& argumentsTemplate, param::hstring const& filePath) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::LaunchFileWithUIAsync(param::hstring const& appExePath, param::hstring const& argumentsTemplate, param::hstring const& filePath) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment)->LaunchFileWithUIAsync(*(void**)(&appExePath), *(void**)(&argumentsTemplate), *(void**)(&filePath), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::LaunchFileWithUIAsync(param::hstring const& appExePath, param::hstring const& argumentsTemplate, param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::LaunchFileWithUIAsync(param::hstring const& appExePath, param::hstring const& argumentsTemplate, param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment)->LaunchFileWithUIAndTelemetryAsync(*(void**)(&appExePath), *(void**)(&argumentsTemplate), *(void**)(&filePath), *(void**)(&telemetryParameters), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::TerminateAsync() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::TerminateAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment)->TerminateAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::TerminateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::TerminateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment)->TerminateWithTelemetryAsync(*(void**)(&telemetryParameters), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::RegisterMessageReceiver(winrt::guid const& receiverId, winrt::Windows::Security::Isolation::MessageReceivedCallback const& messageReceivedCallback) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::RegisterMessageReceiver(winrt::guid const& receiverId, winrt::Windows::Security::Isolation::MessageReceivedCallback const& messageReceivedCallback) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment)->RegisterMessageReceiver(impl::bind_in(receiverId), *(void**)(&messageReceivedCallback))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::UnregisterMessageReceiver(winrt::guid const& receiverId) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment::UnregisterMessageReceiver(winrt::guid const& receiverId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment)->UnregisterMessageReceiver(impl::bind_in(receiverId))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment2::PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable const& message) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment2::PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable const& message) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment2)->PostMessageToReceiverAsync(impl::bind_in(receiverId), *(void**)(&message), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment2::PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable const& message, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment2::PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable const& message, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment2)->PostMessageToReceiverWithTelemetryAsync(impl::bind_in(receiverId), *(void**)(&message), *(void**)(&telemetryParameters), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentUserInfo) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3::GetUserInfo() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3::GetUserInfo() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3)->GetUserInfo(&result)); return winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentUserInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3::ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3::ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3)->ShareFileAsync(*(void**)(&filePath), *(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3::ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3::ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3)->ShareFileWithTelemetryAsync(*(void**)(&filePath), *(void**)(&options), *(void**)(&telemetryParameters), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult::Status() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult::Status() const { winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentCreateResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult::ExtendedError() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentCreateResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironment) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult::Environment() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult::Environment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentCreateResult)->get_Environment(&value)); return winrt::Windows::Security::Isolation::IsolatedWindowsEnvironment{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory::CreateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOptions const& options) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory::CreateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFactory)->CreateAsync(*(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory::CreateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory::CreateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFactory)->CreateWithTelemetryAsync(*(void**)(&options), *(void**)(&telemetryParameters), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironment) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory::GetById(param::hstring const& environmentId) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory::GetById(param::hstring const& environmentId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFactory)->GetById(*(void**)(&environmentId), &result)); return winrt::Windows::Security::Isolation::IsolatedWindowsEnvironment{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory::FindByOwnerId(param::hstring const& environmentOwnerId) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory::FindByOwnerId(param::hstring const& environmentOwnerId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFactory)->FindByOwnerId(*(void**)(&environmentOwnerId), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile::Id() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile::Id() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile)->get_Id(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile::HostPath() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile::HostPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile)->get_HostPath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile::Close() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile::Close() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile)->Close()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2::GuestPath() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2::GuestPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2)->get_GuestPath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2::IsReadOnly() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2::IsReadOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2)->get_IsReadOnly(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentHostStatics::IsReady() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentHostStatics::IsReady() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentHostStatics)->get_IsReady(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentHostStatics::HostErrors() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentHostStatics::HostErrors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentHostStatics)->get_HostErrors(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentLaunchFileStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentLaunchFileResult::Status() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentLaunchFileResult::Status() const { winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentLaunchFileStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentLaunchFileResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentLaunchFileResult::ExtendedError() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentLaunchFileResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentLaunchFileResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentFile) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentLaunchFileResult::File() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentLaunchFileResult::File() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentLaunchFileResult)->get_File(&value)); return winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::EnvironmentOwnerId() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::EnvironmentOwnerId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->get_EnvironmentOwnerId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::EnvironmentOwnerId(param::hstring const& value) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::EnvironmentOwnerId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->put_EnvironmentOwnerId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAllowedClipboardFormats) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::AllowedClipboardFormats() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::AllowedClipboardFormats() const { winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAllowedClipboardFormats value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->get_AllowedClipboardFormats(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::AllowedClipboardFormats(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAllowedClipboardFormats const& value) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::AllowedClipboardFormats(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAllowedClipboardFormats const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->put_AllowedClipboardFormats(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentClipboardCopyPasteDirections) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::ClipboardCopyPasteDirections() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::ClipboardCopyPasteDirections() const { winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentClipboardCopyPasteDirections value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->get_ClipboardCopyPasteDirections(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::ClipboardCopyPasteDirections(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentClipboardCopyPasteDirections const& value) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::ClipboardCopyPasteDirections(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentClipboardCopyPasteDirections const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->put_ClipboardCopyPasteDirections(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAvailablePrinters) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::AvailablePrinters() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::AvailablePrinters() const { winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAvailablePrinters value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->get_AvailablePrinters(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::AvailablePrinters(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAvailablePrinters const& value) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::AvailablePrinters(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAvailablePrinters const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->put_AvailablePrinters(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::SharedHostFolderPath() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::SharedHostFolderPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->get_SharedHostFolderPath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::SharedFolderNameInEnvironment() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::SharedFolderNameInEnvironment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->get_SharedFolderNameInEnvironment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::ShareHostFolderForUntrustedItems(param::hstring const& SharedHostFolderPath, param::hstring const& ShareFolderNameInEnvironment) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::ShareHostFolderForUntrustedItems(param::hstring const& SharedHostFolderPath, param::hstring const& ShareFolderNameInEnvironment) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->ShareHostFolderForUntrustedItems(*(void**)(&SharedHostFolderPath), *(void**)(&ShareFolderNameInEnvironment))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::PersistUserProfile() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::PersistUserProfile() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->get_PersistUserProfile(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::PersistUserProfile(bool value) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::PersistUserProfile(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->put_PersistUserProfile(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::AllowGraphicsHardwareAcceleration() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::AllowGraphicsHardwareAcceleration() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->get_AllowGraphicsHardwareAcceleration(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::AllowGraphicsHardwareAcceleration(bool value) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::AllowGraphicsHardwareAcceleration(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->put_AllowGraphicsHardwareAcceleration(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::AllowCameraAndMicrophoneAccess() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::AllowCameraAndMicrophoneAccess() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->get_AllowCameraAndMicrophoneAccess(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::AllowCameraAndMicrophoneAccess(bool value) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions::AllowCameraAndMicrophoneAccess(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->put_AllowCameraAndMicrophoneAccess(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2::WindowAnnotationOverride() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2::WindowAnnotationOverride() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2)->get_WindowAnnotationOverride(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2::WindowAnnotationOverride(param::hstring const& value) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2::WindowAnnotationOverride(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2)->put_WindowAnnotationOverride(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData::ShareableFolders() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData::ShareableFolders() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData)->get_ShareableFolders(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData::ProcessesRunnableAsSystem() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData::ProcessesRunnableAsSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData)->get_ProcessesRunnableAsSystem(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData::ProcessesRunnableAsUser() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData::ProcessesRunnableAsUser() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData)->get_ProcessesRunnableAsUser(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData::ActivationFileExtensions() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData::ActivationFileExtensions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData)->get_ActivationFileExtensions(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationResult::Status() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationResult::Status() const { winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationResult::ExtendedError() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationResult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationStatics::Register(param::hstring const& ownerName, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationData const& ownerRegistrationData) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationStatics::Register(param::hstring const& ownerName, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationData const& ownerRegistrationData) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationStatics)->Register(*(void**)(&ownerName), *(void**)(&ownerRegistrationData), &result)); return winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationStatics::Unregister(param::hstring const& ownerName) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationStatics::Unregister(param::hstring const& ownerName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationStatics)->Unregister(*(void**)(&ownerName))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentPostMessageResult::Status() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentPostMessageResult::Status() const { winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentPostMessageResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentPostMessageResult::ExtendedError() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentPostMessageResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentPostMessageResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProcessState) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess::State() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess::State() const { winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProcessState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess::ExitCode() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess::ExitCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess)->get_ExitCode(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess::WaitForExit() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess::WaitForExit() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess)->WaitForExit()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess::WaitForExitWithTimeout(uint32_t timeoutMilliseconds) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess::WaitForExitWithTimeout(uint32_t timeoutMilliseconds) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess)->WaitForExitWithTimeout(timeoutMilliseconds)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess::WaitForExitAsync() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess::WaitForExitAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess)->WaitForExitAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions::AllowWrite() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions::AllowWrite() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions)->get_AllowWrite(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions::AllowWrite(bool value) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions::AllowWrite(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions)->put_AllowWrite(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult::Status() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult::Status() const { winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult::ExtendedError() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentFile) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult::File() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult::File() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult)->get_File(&value)); return winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderRequestOptions::AllowWrite() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderRequestOptions::AllowWrite() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions)->get_AllowWrite(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderRequestOptions::AllowWrite(bool value) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderRequestOptions::AllowWrite(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions)->put_AllowWrite(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderResult::Status() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderResult::Status() const { winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderResult::ExtendedError() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentStartProcessResult::Status() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentStartProcessResult::Status() const { winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentStartProcessResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentStartProcessResult::ExtendedError() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentStartProcessResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentStartProcessResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProcess) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentStartProcessResult::Process() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentStartProcessResult::Process() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentStartProcessResult)->get_Process(&value)); return winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProcess{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentTelemetryParameters::CorrelationId() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentTelemetryParameters::CorrelationId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentTelemetryParameters)->get_CorrelationId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentTelemetryParameters::CorrelationId(winrt::guid const& value) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentTelemetryParameters::CorrelationId(winrt::guid const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentTelemetryParameters)->put_CorrelationId(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo::EnvironmentUserSid() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo::EnvironmentUserSid() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo)->get_EnvironmentUserSid(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo::EnvironmentUserName() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo::EnvironmentUserName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo)->get_EnvironmentUserName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo::TryWaitForSignInAsync() const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo::TryWaitForSignInAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo)->TryWaitForSignInAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics::PostMessageToReceiver(winrt::guid const& receiverId, param::vector_view const& message) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics::PostMessageToReceiver(winrt::guid const& receiverId, param::vector_view const& message) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics)->PostMessageToReceiver(impl::bind_in(receiverId), *(void**)(&message))); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics::GetFileId(param::hstring const& filePath) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics::GetFileId(param::hstring const& filePath) const { winrt::guid result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics)->GetFileId(*(void**)(&filePath), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics2::RegisterHostMessageReceiver(winrt::guid const& receiverId, winrt::Windows::Security::Isolation::HostMessageReceivedCallback const& hostMessageReceivedCallback) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics2::RegisterHostMessageReceiver(winrt::guid const& receiverId, winrt::Windows::Security::Isolation::HostMessageReceivedCallback const& hostMessageReceivedCallback) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics2)->RegisterHostMessageReceiver(impl::bind_in(receiverId), *(void**)(&hostMessageReceivedCallback))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics2::UnregisterHostMessageReceiver(winrt::guid const& receiverId) const + template auto consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics2::UnregisterHostMessageReceiver(winrt::guid const& receiverId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics2)->UnregisterHostMessageReceiver(impl::bind_in(receiverId))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Services.Cortana.h b/internal/platform/implementation/windows/generated/winrt/Windows.Services.Cortana.h index 65ef65a6..e991b868 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Services.Cortana.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Services.Cortana.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Cortana_H #define WINRT_Windows_Services_Cortana_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.ApplicationModel.DataTransfer.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,139 +14,139 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Services.Cortana.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Services_Cortana_ICortanaActionableInsights::User() const + template auto consume_Windows_Services_Cortana_ICortanaActionableInsights::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsights)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Cortana_ICortanaActionableInsights::IsAvailableAsync() const + template auto consume_Windows_Services_Cortana_ICortanaActionableInsights::IsAvailableAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsights)->IsAvailableAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Cortana_ICortanaActionableInsights::ShowInsightsForImageAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& imageStream) const + template auto consume_Windows_Services_Cortana_ICortanaActionableInsights::ShowInsightsForImageAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& imageStream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsights)->ShowInsightsForImageAsync(*(void**)(&imageStream), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Cortana_ICortanaActionableInsights::ShowInsightsForImageAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& imageStream, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const + template auto consume_Windows_Services_Cortana_ICortanaActionableInsights::ShowInsightsForImageAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& imageStream, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsights)->ShowInsightsForImageWithOptionsAsync(*(void**)(&imageStream), *(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Cortana_ICortanaActionableInsights::ShowInsightsForTextAsync(param::hstring const& text) const + template auto consume_Windows_Services_Cortana_ICortanaActionableInsights::ShowInsightsForTextAsync(param::hstring const& text) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsights)->ShowInsightsForTextAsync(*(void**)(&text), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Cortana_ICortanaActionableInsights::ShowInsightsForTextAsync(param::hstring const& text, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const + template auto consume_Windows_Services_Cortana_ICortanaActionableInsights::ShowInsightsForTextAsync(param::hstring const& text, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsights)->ShowInsightsForTextWithOptionsAsync(*(void**)(&text), *(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Cortana_ICortanaActionableInsights::ShowInsightsAsync(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& datapackage) const + template auto consume_Windows_Services_Cortana_ICortanaActionableInsights::ShowInsightsAsync(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& datapackage) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsights)->ShowInsightsAsync(*(void**)(&datapackage), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Cortana_ICortanaActionableInsights::ShowInsightsAsync(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& datapackage, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const + template auto consume_Windows_Services_Cortana_ICortanaActionableInsights::ShowInsightsAsync(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& datapackage, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsights)->ShowInsightsWithOptionsAsync(*(void**)(&datapackage), *(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions::ContentSourceWebLink() const + template auto consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions::ContentSourceWebLink() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsightsOptions)->get_ContentSourceWebLink(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions::ContentSourceWebLink(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions::ContentSourceWebLink(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsightsOptions)->put_ContentSourceWebLink(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions::SurroundingText() const + template auto consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions::SurroundingText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsightsOptions)->get_SurroundingText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions::SurroundingText(param::hstring const& value) const + template auto consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions::SurroundingText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsightsOptions)->put_SurroundingText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Cortana::CortanaActionableInsights) consume_Windows_Services_Cortana_ICortanaActionableInsightsStatics::GetDefault() const + template auto consume_Windows_Services_Cortana_ICortanaActionableInsightsStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsightsStatics)->GetDefault(&result)); return winrt::Windows::Services::Cortana::CortanaActionableInsights{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Cortana::CortanaActionableInsights) consume_Windows_Services_Cortana_ICortanaActionableInsightsStatics::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_Services_Cortana_ICortanaActionableInsightsStatics::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsightsStatics)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::Services::Cortana::CortanaActionableInsights{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Cortana_ICortanaPermissionsManager::IsSupported() const + template auto consume_Windows_Services_Cortana_ICortanaPermissionsManager::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaPermissionsManager)->IsSupported(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Cortana_ICortanaPermissionsManager::ArePermissionsGrantedAsync(param::async_iterable const& permissions) const + template auto consume_Windows_Services_Cortana_ICortanaPermissionsManager::ArePermissionsGrantedAsync(param::async_iterable const& permissions) const { void* getGrantedPermissionsOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaPermissionsManager)->ArePermissionsGrantedAsync(*(void**)(&permissions), &getGrantedPermissionsOperation)); return winrt::Windows::Foundation::IAsyncOperation{ getGrantedPermissionsOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Cortana_ICortanaPermissionsManager::GrantPermissionsAsync(param::async_iterable const& permissions) const + template auto consume_Windows_Services_Cortana_ICortanaPermissionsManager::GrantPermissionsAsync(param::async_iterable const& permissions) const { void* grantOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaPermissionsManager)->GrantPermissionsAsync(*(void**)(&permissions), &grantOperation)); return winrt::Windows::Foundation::IAsyncOperation{ grantOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Cortana_ICortanaPermissionsManager::RevokePermissionsAsync(param::async_iterable const& permissions) const + template auto consume_Windows_Services_Cortana_ICortanaPermissionsManager::RevokePermissionsAsync(param::async_iterable const& permissions) const { void* revokeOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaPermissionsManager)->RevokePermissionsAsync(*(void**)(&permissions), &revokeOperation)); return winrt::Windows::Foundation::IAsyncOperation{ revokeOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Cortana::CortanaPermissionsManager) consume_Windows_Services_Cortana_ICortanaPermissionsManagerStatics::GetDefault() const + template auto consume_Windows_Services_Cortana_ICortanaPermissionsManagerStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaPermissionsManagerStatics)->GetDefault(&result)); return winrt::Windows::Services::Cortana::CortanaPermissionsManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Cortana_ICortanaSettings::HasUserConsentToVoiceActivation() const + template auto consume_Windows_Services_Cortana_ICortanaSettings::HasUserConsentToVoiceActivation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaSettings)->get_HasUserConsentToVoiceActivation(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Cortana_ICortanaSettings::IsVoiceActivationEnabled() const + template auto consume_Windows_Services_Cortana_ICortanaSettings::IsVoiceActivationEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaSettings)->get_IsVoiceActivationEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Cortana_ICortanaSettings::IsVoiceActivationEnabled(bool value) const + template auto consume_Windows_Services_Cortana_ICortanaSettings::IsVoiceActivationEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaSettings)->put_IsVoiceActivationEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Cortana_ICortanaSettingsStatics::IsSupported() const + template auto consume_Windows_Services_Cortana_ICortanaSettingsStatics::IsSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaSettingsStatics)->IsSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Cortana::CortanaSettings) consume_Windows_Services_Cortana_ICortanaSettingsStatics::GetDefault() const + template auto consume_Windows_Services_Cortana_ICortanaSettingsStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaSettingsStatics)->GetDefault(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.Guidance.h b/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.Guidance.h index 82c108ac..4d22df44 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.Guidance.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.Guidance.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Maps_Guidance_H #define WINRT_Windows_Services_Maps_Guidance_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Services.Maps.h" #include "winrt/impl/Windows.Devices.Geolocation.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -15,601 +15,601 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Services.Maps.Guidance.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotificationKind) consume_Windows_Services_Maps_Guidance_IGuidanceAudioNotificationRequestedEventArgs::AudioNotification() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceAudioNotificationRequestedEventArgs::AudioNotification() const { winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotificationKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceAudioNotificationRequestedEventArgs)->get_AudioNotification(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Maps_Guidance_IGuidanceAudioNotificationRequestedEventArgs::AudioFilePaths() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceAudioNotificationRequestedEventArgs::AudioFilePaths() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceAudioNotificationRequestedEventArgs)->get_AudioFilePaths(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceAudioNotificationRequestedEventArgs::AudioText() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceAudioNotificationRequestedEventArgs::AudioText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceAudioNotificationRequestedEventArgs)->get_AudioText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceLaneMarkers) consume_Windows_Services_Maps_Guidance_IGuidanceLaneInfo::LaneMarkers() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceLaneInfo::LaneMarkers() const { winrt::Windows::Services::Maps::Guidance::GuidanceLaneMarkers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceLaneInfo)->get_LaneMarkers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceLaneInfo::IsOnRoute() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceLaneInfo::IsOnRoute() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceLaneInfo)->get_IsOnRoute(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::StartLocation() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::StartLocation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_StartLocation(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::DistanceFromRouteStart() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::DistanceFromRouteStart() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_DistanceFromRouteStart(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::DistanceFromPreviousManeuver() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::DistanceFromPreviousManeuver() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_DistanceFromPreviousManeuver(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::DepartureRoadName() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::DepartureRoadName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_DepartureRoadName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::NextRoadName() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::NextRoadName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_NextRoadName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::DepartureShortRoadName() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::DepartureShortRoadName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_DepartureShortRoadName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::NextShortRoadName() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::NextShortRoadName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_NextShortRoadName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceManeuverKind) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::Kind() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::Kind() const { winrt::Windows::Services::Maps::Guidance::GuidanceManeuverKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::StartAngle() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::StartAngle() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_StartAngle(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::EndAngle() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::EndAngle() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_EndAngle(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceRoadSignpost) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::RoadSignpost() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::RoadSignpost() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_RoadSignpost(&value)); return winrt::Windows::Services::Maps::Guidance::GuidanceRoadSignpost{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::InstructionText() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver::InstructionText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_InstructionText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate::Location() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceMapMatchedCoordinate)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate::CurrentHeading() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate::CurrentHeading() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceMapMatchedCoordinate)->get_CurrentHeading(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate::CurrentSpeed() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate::CurrentSpeed() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceMapMatchedCoordinate)->get_CurrentSpeed(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate::IsOnStreet() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate::IsOnStreet() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceMapMatchedCoordinate)->get_IsOnStreet(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceRoadSegment) consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate::Road() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate::Road() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceMapMatchedCoordinate)->get_Road(&value)); return winrt::Windows::Services::Maps::Guidance::GuidanceRoadSegment{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::StartNavigating(winrt::Windows::Services::Maps::Guidance::GuidanceRoute const& route) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::StartNavigating(winrt::Windows::Services::Maps::Guidance::GuidanceRoute const& route) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->StartNavigating(*(void**)(&route))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::StartSimulating(winrt::Windows::Services::Maps::Guidance::GuidanceRoute const& route, int32_t speedInMetersPerSecond) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::StartSimulating(winrt::Windows::Services::Maps::Guidance::GuidanceRoute const& route, int32_t speedInMetersPerSecond) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->StartSimulating(*(void**)(&route), speedInMetersPerSecond)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::StartTracking() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::StartTracking() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->StartTracking()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Pause() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->Pause()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Resume() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Resume() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->Resume()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Stop() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->Stop()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::RepeatLastAudioNotification() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::RepeatLastAudioNotification() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->RepeatLastAudioNotification()); } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceAudioMeasurementSystem) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::AudioMeasurementSystem() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::AudioMeasurementSystem() const { winrt::Windows::Services::Maps::Guidance::GuidanceAudioMeasurementSystem value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->get_AudioMeasurementSystem(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::AudioMeasurementSystem(winrt::Windows::Services::Maps::Guidance::GuidanceAudioMeasurementSystem const& value) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::AudioMeasurementSystem(winrt::Windows::Services::Maps::Guidance::GuidanceAudioMeasurementSystem const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->put_AudioMeasurementSystem(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotifications) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::AudioNotifications() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::AudioNotifications() const { winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotifications value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->get_AudioNotifications(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::AudioNotifications(winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotifications const& value) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::AudioNotifications(winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotifications const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->put_AudioNotifications(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::GuidanceUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::GuidanceUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->add_GuidanceUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::GuidanceUpdated_revoker consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::GuidanceUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::GuidanceUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, GuidanceUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::GuidanceUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::GuidanceUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->remove_GuidanceUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::DestinationReached(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::DestinationReached(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->add_DestinationReached(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::DestinationReached_revoker consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::DestinationReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::DestinationReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DestinationReached(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::DestinationReached(winrt::event_token const& token) const noexcept + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::DestinationReached(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->remove_DestinationReached(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Rerouting(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Rerouting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->add_Rerouting(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Rerouting_revoker consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Rerouting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Rerouting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Rerouting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Rerouting(winrt::event_token const& token) const noexcept + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Rerouting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->remove_Rerouting(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Rerouted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Rerouted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->add_Rerouted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Rerouted_revoker consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Rerouted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Rerouted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Rerouted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Rerouted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::Rerouted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->remove_Rerouted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::RerouteFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::RerouteFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->add_RerouteFailed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::RerouteFailed_revoker consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::RerouteFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::RerouteFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RerouteFailed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::RerouteFailed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::RerouteFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->remove_RerouteFailed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UserLocationLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UserLocationLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->add_UserLocationLost(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UserLocationLost_revoker consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UserLocationLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UserLocationLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UserLocationLost(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UserLocationLost(winrt::event_token const& token) const noexcept + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UserLocationLost(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->remove_UserLocationLost(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UserLocationRestored(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UserLocationRestored(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->add_UserLocationRestored(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UserLocationRestored_revoker consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UserLocationRestored(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UserLocationRestored(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UserLocationRestored(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UserLocationRestored(winrt::event_token const& token) const noexcept + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UserLocationRestored(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->remove_UserLocationRestored(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::SetGuidanceVoice(int32_t voiceId, param::hstring const& voiceFolder) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::SetGuidanceVoice(int32_t voiceId, param::hstring const& voiceFolder) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->SetGuidanceVoice(voiceId, *(void**)(&voiceFolder))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UpdateUserLocation(winrt::Windows::Devices::Geolocation::Geocoordinate const& userLocation) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UpdateUserLocation(winrt::Windows::Devices::Geolocation::Geocoordinate const& userLocation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->UpdateUserLocation(*(void**)(&userLocation))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UpdateUserLocation(winrt::Windows::Devices::Geolocation::Geocoordinate const& userLocation, winrt::Windows::Devices::Geolocation::BasicGeoposition const& positionOverride) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator::UpdateUserLocation(winrt::Windows::Devices::Geolocation::Geocoordinate const& userLocation, winrt::Windows::Devices::Geolocation::BasicGeoposition const& positionOverride) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->UpdateUserLocationWithPositionOverride(*(void**)(&userLocation), impl::bind_in(positionOverride))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2::AudioNotificationRequested(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2::AudioNotificationRequested(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator2)->add_AudioNotificationRequested(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2::AudioNotificationRequested_revoker consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2::AudioNotificationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2::AudioNotificationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, AudioNotificationRequested(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2::AudioNotificationRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2::AudioNotificationRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator2)->remove_AudioNotificationRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2::IsGuidanceAudioMuted() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2::IsGuidanceAudioMuted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator2)->get_IsGuidanceAudioMuted(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2::IsGuidanceAudioMuted(bool value) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2::IsGuidanceAudioMuted(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator2)->put_IsGuidanceAudioMuted(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceNavigator) consume_Windows_Services_Maps_Guidance_IGuidanceNavigatorStatics::GetCurrent() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigatorStatics::GetCurrent() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigatorStatics)->GetCurrent(&result)); return winrt::Windows::Services::Maps::Guidance::GuidanceNavigator{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceNavigatorStatics2::UseAppProvidedVoice() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigatorStatics2::UseAppProvidedVoice() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigatorStatics2)->get_UseAppProvidedVoice(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceRoute) consume_Windows_Services_Maps_Guidance_IGuidanceReroutedEventArgs::Route() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceReroutedEventArgs::Route() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceReroutedEventArgs)->get_Route(&result)); return winrt::Windows::Services::Maps::Guidance::GuidanceRoute{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::RoadName() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::RoadName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment)->get_RoadName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::ShortRoadName() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::ShortRoadName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment)->get_ShortRoadName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::SpeedLimit() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::SpeedLimit() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment)->get_SpeedLimit(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::TravelTime() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::TravelTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment)->get_TravelTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::Path() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment)->get_Path(&value)); return winrt::Windows::Devices::Geolocation::Geopath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::Id() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::IsHighway() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::IsHighway() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment)->get_IsHighway(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::IsTunnel() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::IsTunnel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment)->get_IsTunnel(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::IsTollRoad() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment::IsTollRoad() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment)->get_IsTollRoad(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment2::IsScenic() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment2::IsScenic() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment2)->get_IsScenic(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost::ExitNumber() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost::ExitNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSignpost)->get_ExitNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost::Exit() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost::Exit() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSignpost)->get_Exit(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost::BackgroundColor() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost::BackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSignpost)->get_BackgroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost::ForegroundColor() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost::ForegroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSignpost)->get_ForegroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost::ExitDirections() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost::ExitDirections() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSignpost)->get_ExitDirections(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_Guidance_IGuidanceRoute::Duration() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoute::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoute)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceRoute::Distance() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoute::Distance() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoute)->get_Distance(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Maps_Guidance_IGuidanceRoute::Maneuvers() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoute::Maneuvers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoute)->get_Maneuvers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Services_Maps_Guidance_IGuidanceRoute::BoundingBox() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoute::BoundingBox() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoute)->get_BoundingBox(&value)); return winrt::Windows::Devices::Geolocation::GeoboundingBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_Services_Maps_Guidance_IGuidanceRoute::Path() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoute::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoute)->get_Path(&value)); return winrt::Windows::Devices::Geolocation::Geopath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Maps_Guidance_IGuidanceRoute::RoadSegments() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoute::RoadSegments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoute)->get_RoadSegments(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRoute) consume_Windows_Services_Maps_Guidance_IGuidanceRoute::ConvertToMapRoute() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRoute::ConvertToMapRoute() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoute)->ConvertToMapRoute(&result)); return winrt::Windows::Services::Maps::MapRoute{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceRouteStatics::CanCreateFromMapRoute(winrt::Windows::Services::Maps::MapRoute const& mapRoute) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRouteStatics::CanCreateFromMapRoute(winrt::Windows::Services::Maps::MapRoute const& mapRoute) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRouteStatics)->CanCreateFromMapRoute(*(void**)(&mapRoute), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceRoute) consume_Windows_Services_Maps_Guidance_IGuidanceRouteStatics::TryCreateFromMapRoute(winrt::Windows::Services::Maps::MapRoute const& mapRoute) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceRouteStatics::TryCreateFromMapRoute(winrt::Windows::Services::Maps::MapRoute const& mapRoute) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRouteStatics)->TryCreateFromMapRoute(*(void**)(&mapRoute), &result)); return winrt::Windows::Services::Maps::Guidance::GuidanceRoute{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector::Enabled() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector::Enabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollector)->get_Enabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector::Enabled(bool value) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector::Enabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollector)->put_Enabled(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector::ClearLocalData() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector::ClearLocalData() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollector)->ClearLocalData()); } - template WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector::SpeedTrigger() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector::SpeedTrigger() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollector)->get_SpeedTrigger(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector::SpeedTrigger(double value) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector::SpeedTrigger(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollector)->put_SpeedTrigger(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector::UploadFrequency() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector::UploadFrequency() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollector)->get_UploadFrequency(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector::UploadFrequency(int32_t value) const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector::UploadFrequency(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollector)->put_UploadFrequency(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceTelemetryCollector) consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollectorStatics::GetCurrent() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollectorStatics::GetCurrent() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollectorStatics)->GetCurrent(&result)); return winrt::Windows::Services::Maps::Guidance::GuidanceTelemetryCollector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceMode) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::Mode() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::Mode() const { winrt::Windows::Services::Maps::Guidance::GuidanceMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceManeuver) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::NextManeuver() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::NextManeuver() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_NextManeuver(&value)); return winrt::Windows::Services::Maps::Guidance::GuidanceManeuver{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::NextManeuverDistance() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::NextManeuverDistance() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_NextManeuverDistance(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceManeuver) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::AfterNextManeuver() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::AfterNextManeuver() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_AfterNextManeuver(&value)); return winrt::Windows::Services::Maps::Guidance::GuidanceManeuver{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::AfterNextManeuverDistance() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::AfterNextManeuverDistance() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_AfterNextManeuverDistance(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::DistanceToDestination() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::DistanceToDestination() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_DistanceToDestination(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::ElapsedDistance() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::ElapsedDistance() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_ElapsedDistance(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::ElapsedTime() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::ElapsedTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_ElapsedTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::TimeToDestination() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::TimeToDestination() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_TimeToDestination(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::RoadName() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::RoadName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_RoadName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceRoute) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::Route() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::Route() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_Route(&result)); return winrt::Windows::Services::Maps::Guidance::GuidanceRoute{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceMapMatchedCoordinate) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::CurrentLocation() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::CurrentLocation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_CurrentLocation(&result)); return winrt::Windows::Services::Maps::Guidance::GuidanceMapMatchedCoordinate{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::IsNewManeuver() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::IsNewManeuver() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_IsNewManeuver(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::LaneInfo() const + template auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs::LaneInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_LaneInfo(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.LocalSearch.h b/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.LocalSearch.h index c68d05d7..dbad1cc7 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.LocalSearch.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.LocalSearch.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Maps_LocalSearch_H #define WINRT_Windows_Services_Maps_LocalSearch_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Services.Maps.h" #include "winrt/impl/Windows.Devices.Geolocation.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -15,169 +15,169 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Services.Maps.LocalSearch.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics::BankAndCreditUnions() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics::BankAndCreditUnions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalCategoriesStatics)->get_BankAndCreditUnions(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics::EatDrink() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics::EatDrink() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalCategoriesStatics)->get_EatDrink(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics::Hospitals() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics::Hospitals() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalCategoriesStatics)->get_Hospitals(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics::HotelsAndMotels() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics::HotelsAndMotels() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalCategoriesStatics)->get_HotelsAndMotels(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics::All() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics::All() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalCategoriesStatics)->get_All(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics::Parking() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics::Parking() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalCategoriesStatics)->get_Parking(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics::SeeDo() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics::SeeDo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalCategoriesStatics)->get_SeeDo(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics::Shop() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics::Shop() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalCategoriesStatics)->get_Shop(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapAddress) consume_Windows_Services_Maps_LocalSearch_ILocalLocation::Address() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation::Address() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocation)->get_Address(&value)); return winrt::Windows::Services::Maps::MapAddress{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalLocation::Identifier() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation::Identifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocation)->get_Identifier(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalLocation::Description() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocation)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalLocation::DisplayName() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocation)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Services_Maps_LocalSearch_ILocalLocation::Point() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation::Point() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocation)->get_Point(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalLocation::PhoneNumber() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation::PhoneNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocation)->get_PhoneNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalLocation::DataAttribution() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation::DataAttribution() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocation)->get_DataAttribution(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalLocation2::Category() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation2::Category() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocation2)->get_Category(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::LocalSearch::LocalLocationRatingInfo) consume_Windows_Services_Maps_LocalSearch_ILocalLocation2::RatingInfo() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation2::RatingInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocation2)->get_RatingInfo(&value)); return winrt::Windows::Services::Maps::LocalSearch::LocalLocationRatingInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Maps_LocalSearch_ILocalLocation2::HoursOfOperation() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation2::HoursOfOperation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocation2)->get_HoursOfOperation(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Maps_LocalSearch_ILocalLocationFinderResult::LocalLocations() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationFinderResult::LocalLocations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocationFinderResult)->get_LocalLocations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::LocalSearch::LocalLocationFinderStatus) consume_Windows_Services_Maps_LocalSearch_ILocalLocationFinderResult::Status() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationFinderResult::Status() const { winrt::Windows::Services::Maps::LocalSearch::LocalLocationFinderStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocationFinderResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_LocalSearch_ILocalLocationFinderStatics::FindLocalLocationsAsync(param::hstring const& searchTerm, winrt::Windows::Devices::Geolocation::Geocircle const& searchArea, param::hstring const& localCategory, uint32_t maxResults) const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationFinderStatics::FindLocalLocationsAsync(param::hstring const& searchTerm, winrt::Windows::Devices::Geolocation::Geocircle const& searchArea, param::hstring const& localCategory, uint32_t maxResults) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocationFinderStatics)->FindLocalLocationsAsync(*(void**)(&searchTerm), *(void**)(&searchArea), *(void**)(&localCategory), maxResults, &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) consume_Windows_Services_Maps_LocalSearch_ILocalLocationHoursOfOperationItem::Day() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationHoursOfOperationItem::Day() const { winrt::Windows::Globalization::DayOfWeek value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocationHoursOfOperationItem)->get_Day(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_LocalSearch_ILocalLocationHoursOfOperationItem::Start() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationHoursOfOperationItem::Start() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocationHoursOfOperationItem)->get_Start(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_LocalSearch_ILocalLocationHoursOfOperationItem::Span() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationHoursOfOperationItem::Span() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocationHoursOfOperationItem)->get_Span(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Services_Maps_LocalSearch_ILocalLocationRatingInfo::AggregateRating() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationRatingInfo::AggregateRating() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocationRatingInfo)->get_AggregateRating(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Services_Maps_LocalSearch_ILocalLocationRatingInfo::RatingCount() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationRatingInfo::RatingCount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocationRatingInfo)->get_RatingCount(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalLocationRatingInfo::ProviderIdentifier() const + template auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationRatingInfo::ProviderIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocationRatingInfo)->get_ProviderIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) consume_Windows_Services_Maps_LocalSearch_IPlaceInfoHelperStatics::CreateFromLocalLocation(winrt::Windows::Services::Maps::LocalSearch::LocalLocation const& location) const + template auto consume_Windows_Services_Maps_LocalSearch_IPlaceInfoHelperStatics::CreateFromLocalLocation(winrt::Windows::Services::Maps::LocalSearch::LocalLocation const& location) const { void* resultValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::IPlaceInfoHelperStatics)->CreateFromLocalLocation(*(void**)(&location), &resultValue)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.OfflineMaps.h b/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.OfflineMaps.h index 947f3997..404a7b1e 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.OfflineMaps.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.OfflineMaps.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Maps_OfflineMaps_H #define WINRT_Windows_Services_Maps_OfflineMaps_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Services.Maps.h" #include "winrt/impl/Windows.Devices.Geolocation.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,81 +13,81 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Services.Maps.OfflineMaps.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageStatus) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::Status() const + template auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::Status() const { winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackage)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::DisplayName() const + template auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackage)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::EnclosingRegionName() const + template auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::EnclosingRegionName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackage)->get_EnclosingRegionName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::EstimatedSizeInBytes() const + template auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::EstimatedSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackage)->get_EstimatedSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::StatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::StatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackage)->remove_StatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackage)->add_StatusChanged(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::StatusChanged_revoker consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, StatusChanged(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::RequestStartDownloadAsync() const + template auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage::RequestStartDownloadAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackage)->RequestStartDownloadAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageQueryStatus) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageQueryResult::Status() const + template auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageQueryResult::Status() const { winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageQueryStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackageQueryResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageQueryResult::Packages() const + template auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageQueryResult::Packages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackageQueryResult)->get_Packages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageStartDownloadStatus) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStartDownloadResult::Status() const + template auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStartDownloadResult::Status() const { winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageStartDownloadStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackageStartDownloadResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStatics::FindPackagesAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint) const + template auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStatics::FindPackagesAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackageStatics)->FindPackagesAsync(*(void**)(&queryPoint), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStatics::FindPackagesInBoundingBoxAsync(winrt::Windows::Devices::Geolocation::GeoboundingBox const& queryBoundingBox) const + template auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStatics::FindPackagesInBoundingBoxAsync(winrt::Windows::Devices::Geolocation::GeoboundingBox const& queryBoundingBox) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackageStatics)->FindPackagesInBoundingBoxAsync(*(void**)(&queryBoundingBox), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStatics::FindPackagesInGeocircleAsync(winrt::Windows::Devices::Geolocation::Geocircle const& queryCircle) const + template auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStatics::FindPackagesInGeocircleAsync(winrt::Windows::Devices::Geolocation::Geocircle const& queryCircle) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackageStatics)->FindPackagesInGeocircleAsync(*(void**)(&queryCircle), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.h b/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.h index 41d41fd3..ea81f390 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Maps_H #define WINRT_Windows_Services_Maps_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Devices.Geolocation.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,641 +13,641 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Services.Maps.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Services_Maps_IEnhancedWaypoint::Point() const + template auto consume_Windows_Services_Maps_IEnhancedWaypoint::Point() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IEnhancedWaypoint)->get_Point(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::WaypointKind) consume_Windows_Services_Maps_IEnhancedWaypoint::Kind() const + template auto consume_Windows_Services_Maps_IEnhancedWaypoint::Kind() const { winrt::Windows::Services::Maps::WaypointKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IEnhancedWaypoint)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::EnhancedWaypoint) consume_Windows_Services_Maps_IEnhancedWaypointFactory::Create(winrt::Windows::Devices::Geolocation::Geopoint const& point, winrt::Windows::Services::Maps::WaypointKind const& kind) const + template auto consume_Windows_Services_Maps_IEnhancedWaypointFactory::Create(winrt::Windows::Devices::Geolocation::Geopoint const& point, winrt::Windows::Services::Maps::WaypointKind const& kind) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IEnhancedWaypointFactory)->Create(*(void**)(&point), static_cast(kind), &value)); return winrt::Windows::Services::Maps::EnhancedWaypoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::ManeuverWarningKind) consume_Windows_Services_Maps_IManeuverWarning::Kind() const + template auto consume_Windows_Services_Maps_IManeuverWarning::Kind() const { winrt::Windows::Services::Maps::ManeuverWarningKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IManeuverWarning)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::ManeuverWarningSeverity) consume_Windows_Services_Maps_IManeuverWarning::Severity() const + template auto consume_Windows_Services_Maps_IManeuverWarning::Severity() const { winrt::Windows::Services::Maps::ManeuverWarningSeverity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IManeuverWarning)->get_Severity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress::BuildingName() const + template auto consume_Windows_Services_Maps_IMapAddress::BuildingName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapAddress)->get_BuildingName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress::BuildingFloor() const + template auto consume_Windows_Services_Maps_IMapAddress::BuildingFloor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapAddress)->get_BuildingFloor(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress::BuildingRoom() const + template auto consume_Windows_Services_Maps_IMapAddress::BuildingRoom() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapAddress)->get_BuildingRoom(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress::BuildingWing() const + template auto consume_Windows_Services_Maps_IMapAddress::BuildingWing() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapAddress)->get_BuildingWing(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress::StreetNumber() const + template auto consume_Windows_Services_Maps_IMapAddress::StreetNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapAddress)->get_StreetNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress::Street() const + template auto consume_Windows_Services_Maps_IMapAddress::Street() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapAddress)->get_Street(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress::Neighborhood() const + template auto consume_Windows_Services_Maps_IMapAddress::Neighborhood() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapAddress)->get_Neighborhood(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress::District() const + template auto consume_Windows_Services_Maps_IMapAddress::District() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapAddress)->get_District(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress::Town() const + template auto consume_Windows_Services_Maps_IMapAddress::Town() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapAddress)->get_Town(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress::Region() const + template auto consume_Windows_Services_Maps_IMapAddress::Region() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapAddress)->get_Region(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress::RegionCode() const + template auto consume_Windows_Services_Maps_IMapAddress::RegionCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapAddress)->get_RegionCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress::Country() const + template auto consume_Windows_Services_Maps_IMapAddress::Country() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapAddress)->get_Country(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress::CountryCode() const + template auto consume_Windows_Services_Maps_IMapAddress::CountryCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapAddress)->get_CountryCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress::PostCode() const + template auto consume_Windows_Services_Maps_IMapAddress::PostCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapAddress)->get_PostCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress::Continent() const + template auto consume_Windows_Services_Maps_IMapAddress::Continent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapAddress)->get_Continent(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress2::FormattedAddress() const + template auto consume_Windows_Services_Maps_IMapAddress2::FormattedAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapAddress2)->get_FormattedAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Services_Maps_IMapLocation::Point() const + template auto consume_Windows_Services_Maps_IMapLocation::Point() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapLocation)->get_Point(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapLocation::DisplayName() const + template auto consume_Windows_Services_Maps_IMapLocation::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapLocation)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapLocation::Description() const + template auto consume_Windows_Services_Maps_IMapLocation::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapLocation)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapAddress) consume_Windows_Services_Maps_IMapLocation::Address() const + template auto consume_Windows_Services_Maps_IMapLocation::Address() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapLocation)->get_Address(&value)); return winrt::Windows::Services::Maps::MapAddress{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Maps_IMapLocationFinderResult::Locations() const + template auto consume_Windows_Services_Maps_IMapLocationFinderResult::Locations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapLocationFinderResult)->get_Locations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapLocationFinderStatus) consume_Windows_Services_Maps_IMapLocationFinderResult::Status() const + template auto consume_Windows_Services_Maps_IMapLocationFinderResult::Status() const { winrt::Windows::Services::Maps::MapLocationFinderStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapLocationFinderResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapLocationFinderStatics::FindLocationsAtAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint) const + template auto consume_Windows_Services_Maps_IMapLocationFinderStatics::FindLocationsAtAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapLocationFinderStatics)->FindLocationsAtAsync(*(void**)(&queryPoint), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapLocationFinderStatics::FindLocationsAsync(param::hstring const& searchText, winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint) const + template auto consume_Windows_Services_Maps_IMapLocationFinderStatics::FindLocationsAsync(param::hstring const& searchText, winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapLocationFinderStatics)->FindLocationsAsync(*(void**)(&searchText), *(void**)(&referencePoint), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapLocationFinderStatics::FindLocationsAsync(param::hstring const& searchText, winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint, uint32_t maxCount) const + template auto consume_Windows_Services_Maps_IMapLocationFinderStatics::FindLocationsAsync(param::hstring const& searchText, winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint, uint32_t maxCount) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapLocationFinderStatics)->FindLocationsWithMaxCountAsync(*(void**)(&searchText), *(void**)(&referencePoint), maxCount, &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapLocationFinderStatics2::FindLocationsAtAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint, winrt::Windows::Services::Maps::MapLocationDesiredAccuracy const& accuracy) const + template auto consume_Windows_Services_Maps_IMapLocationFinderStatics2::FindLocationsAtAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint, winrt::Windows::Services::Maps::MapLocationDesiredAccuracy const& accuracy) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapLocationFinderStatics2)->FindLocationsAtWithAccuracyAsync(*(void**)(&queryPoint), static_cast(accuracy), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapManagerStatics::ShowDownloadedMapsUI() const + template auto consume_Windows_Services_Maps_IMapManagerStatics::ShowDownloadedMapsUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapManagerStatics)->ShowDownloadedMapsUI()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapManagerStatics::ShowMapsUpdateUI() const + template auto consume_Windows_Services_Maps_IMapManagerStatics::ShowMapsUpdateUI() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapManagerStatics)->ShowMapsUpdateUI()); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Services_Maps_IMapRoute::BoundingBox() const + template auto consume_Windows_Services_Maps_IMapRoute::BoundingBox() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute)->get_BoundingBox(&value)); return winrt::Windows::Devices::Geolocation::GeoboundingBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_IMapRoute::LengthInMeters() const + template auto consume_Windows_Services_Maps_IMapRoute::LengthInMeters() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute)->get_LengthInMeters(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_IMapRoute::EstimatedDuration() const + template auto consume_Windows_Services_Maps_IMapRoute::EstimatedDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute)->get_EstimatedDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_Services_Maps_IMapRoute::Path() const + template auto consume_Windows_Services_Maps_IMapRoute::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute)->get_Path(&value)); return winrt::Windows::Devices::Geolocation::Geopath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Maps_IMapRoute::Legs() const + template auto consume_Windows_Services_Maps_IMapRoute::Legs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute)->get_Legs(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_IMapRoute::IsTrafficBased() const + template auto consume_Windows_Services_Maps_IMapRoute::IsTrafficBased() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute)->get_IsTrafficBased(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRouteRestrictions) consume_Windows_Services_Maps_IMapRoute2::ViolatedRestrictions() const + template auto consume_Windows_Services_Maps_IMapRoute2::ViolatedRestrictions() const { winrt::Windows::Services::Maps::MapRouteRestrictions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute2)->get_ViolatedRestrictions(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_IMapRoute2::HasBlockedRoads() const + template auto consume_Windows_Services_Maps_IMapRoute2::HasBlockedRoads() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute2)->get_HasBlockedRoads(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_IMapRoute3::DurationWithoutTraffic() const + template auto consume_Windows_Services_Maps_IMapRoute3::DurationWithoutTraffic() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute3)->get_DurationWithoutTraffic(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::TrafficCongestion) consume_Windows_Services_Maps_IMapRoute3::TrafficCongestion() const + template auto consume_Windows_Services_Maps_IMapRoute3::TrafficCongestion() const { winrt::Windows::Services::Maps::TrafficCongestion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute3)->get_TrafficCongestion(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_IMapRoute4::IsScenic() const + template auto consume_Windows_Services_Maps_IMapRoute4::IsScenic() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute4)->get_IsScenic(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_Maps_IMapRouteDrivingOptions::MaxAlternateRouteCount() const + template auto consume_Windows_Services_Maps_IMapRouteDrivingOptions::MaxAlternateRouteCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions)->get_MaxAlternateRouteCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapRouteDrivingOptions::MaxAlternateRouteCount(uint32_t value) const + template auto consume_Windows_Services_Maps_IMapRouteDrivingOptions::MaxAlternateRouteCount(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions)->put_MaxAlternateRouteCount(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Services_Maps_IMapRouteDrivingOptions::InitialHeading() const + template auto consume_Windows_Services_Maps_IMapRouteDrivingOptions::InitialHeading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions)->get_InitialHeading(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapRouteDrivingOptions::InitialHeading(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Services_Maps_IMapRouteDrivingOptions::InitialHeading(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions)->put_InitialHeading(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRouteOptimization) consume_Windows_Services_Maps_IMapRouteDrivingOptions::RouteOptimization() const + template auto consume_Windows_Services_Maps_IMapRouteDrivingOptions::RouteOptimization() const { winrt::Windows::Services::Maps::MapRouteOptimization value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions)->get_RouteOptimization(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapRouteDrivingOptions::RouteOptimization(winrt::Windows::Services::Maps::MapRouteOptimization const& value) const + template auto consume_Windows_Services_Maps_IMapRouteDrivingOptions::RouteOptimization(winrt::Windows::Services::Maps::MapRouteOptimization const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions)->put_RouteOptimization(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRouteRestrictions) consume_Windows_Services_Maps_IMapRouteDrivingOptions::RouteRestrictions() const + template auto consume_Windows_Services_Maps_IMapRouteDrivingOptions::RouteRestrictions() const { winrt::Windows::Services::Maps::MapRouteRestrictions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions)->get_RouteRestrictions(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapRouteDrivingOptions::RouteRestrictions(winrt::Windows::Services::Maps::MapRouteRestrictions const& value) const + template auto consume_Windows_Services_Maps_IMapRouteDrivingOptions::RouteRestrictions(winrt::Windows::Services::Maps::MapRouteRestrictions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions)->put_RouteRestrictions(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Services_Maps_IMapRouteDrivingOptions2::DepartureTime() const + template auto consume_Windows_Services_Maps_IMapRouteDrivingOptions2::DepartureTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions2)->get_DepartureTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapRouteDrivingOptions2::DepartureTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Services_Maps_IMapRouteDrivingOptions2::DepartureTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions2)->put_DepartureTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRoute) consume_Windows_Services_Maps_IMapRouteFinderResult::Route() const + template auto consume_Windows_Services_Maps_IMapRouteFinderResult::Route() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderResult)->get_Route(&value)); return winrt::Windows::Services::Maps::MapRoute{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRouteFinderStatus) consume_Windows_Services_Maps_IMapRouteFinderResult::Status() const + template auto consume_Windows_Services_Maps_IMapRouteFinderResult::Status() const { winrt::Windows::Services::Maps::MapRouteFinderStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Maps_IMapRouteFinderResult2::AlternateRoutes() const + template auto consume_Windows_Services_Maps_IMapRouteFinderResult2::AlternateRoutes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderResult2)->get_AlternateRoutes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapRouteFinderStatics::GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint) const + template auto consume_Windows_Services_Maps_IMapRouteFinderStatics::GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderStatics)->GetDrivingRouteAsync(*(void**)(&startPoint), *(void**)(&endPoint), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapRouteFinderStatics::GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization) const + template auto consume_Windows_Services_Maps_IMapRouteFinderStatics::GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderStatics)->GetDrivingRouteWithOptimizationAsync(*(void**)(&startPoint), *(void**)(&endPoint), static_cast(optimization), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapRouteFinderStatics::GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions) const + template auto consume_Windows_Services_Maps_IMapRouteFinderStatics::GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderStatics)->GetDrivingRouteWithOptimizationAndRestrictionsAsync(*(void**)(&startPoint), *(void**)(&endPoint), static_cast(optimization), static_cast(restrictions), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapRouteFinderStatics::GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions, double headingInDegrees) const + template auto consume_Windows_Services_Maps_IMapRouteFinderStatics::GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions, double headingInDegrees) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderStatics)->GetDrivingRouteWithOptimizationRestrictionsAndHeadingAsync(*(void**)(&startPoint), *(void**)(&endPoint), static_cast(optimization), static_cast(restrictions), headingInDegrees, &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapRouteFinderStatics::GetDrivingRouteFromWaypointsAsync(param::async_iterable const& wayPoints) const + template auto consume_Windows_Services_Maps_IMapRouteFinderStatics::GetDrivingRouteFromWaypointsAsync(param::async_iterable const& wayPoints) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderStatics)->GetDrivingRouteFromWaypointsAsync(*(void**)(&wayPoints), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapRouteFinderStatics::GetDrivingRouteFromWaypointsAsync(param::async_iterable const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization) const + template auto consume_Windows_Services_Maps_IMapRouteFinderStatics::GetDrivingRouteFromWaypointsAsync(param::async_iterable const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderStatics)->GetDrivingRouteFromWaypointsAndOptimizationAsync(*(void**)(&wayPoints), static_cast(optimization), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapRouteFinderStatics::GetDrivingRouteFromWaypointsAsync(param::async_iterable const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions) const + template auto consume_Windows_Services_Maps_IMapRouteFinderStatics::GetDrivingRouteFromWaypointsAsync(param::async_iterable const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderStatics)->GetDrivingRouteFromWaypointsOptimizationAndRestrictionsAsync(*(void**)(&wayPoints), static_cast(optimization), static_cast(restrictions), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapRouteFinderStatics::GetDrivingRouteFromWaypointsAsync(param::async_iterable const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions, double headingInDegrees) const + template auto consume_Windows_Services_Maps_IMapRouteFinderStatics::GetDrivingRouteFromWaypointsAsync(param::async_iterable const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions, double headingInDegrees) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderStatics)->GetDrivingRouteFromWaypointsOptimizationRestrictionsAndHeadingAsync(*(void**)(&wayPoints), static_cast(optimization), static_cast(restrictions), headingInDegrees, &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapRouteFinderStatics::GetWalkingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint) const + template auto consume_Windows_Services_Maps_IMapRouteFinderStatics::GetWalkingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderStatics)->GetWalkingRouteAsync(*(void**)(&startPoint), *(void**)(&endPoint), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapRouteFinderStatics::GetWalkingRouteFromWaypointsAsync(param::async_iterable const& wayPoints) const + template auto consume_Windows_Services_Maps_IMapRouteFinderStatics::GetWalkingRouteFromWaypointsAsync(param::async_iterable const& wayPoints) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderStatics)->GetWalkingRouteFromWaypointsAsync(*(void**)(&wayPoints), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapRouteFinderStatics2::GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteDrivingOptions const& options) const + template auto consume_Windows_Services_Maps_IMapRouteFinderStatics2::GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteDrivingOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderStatics2)->GetDrivingRouteWithOptionsAsync(*(void**)(&startPoint), *(void**)(&endPoint), *(void**)(&options), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapRouteFinderStatics3::GetDrivingRouteFromEnhancedWaypointsAsync(param::async_iterable const& waypoints) const + template auto consume_Windows_Services_Maps_IMapRouteFinderStatics3::GetDrivingRouteFromEnhancedWaypointsAsync(param::async_iterable const& waypoints) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderStatics3)->GetDrivingRouteFromEnhancedWaypointsAsync(*(void**)(&waypoints), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Maps_IMapRouteFinderStatics3::GetDrivingRouteFromEnhancedWaypointsAsync(param::async_iterable const& waypoints, winrt::Windows::Services::Maps::MapRouteDrivingOptions const& options) const + template auto consume_Windows_Services_Maps_IMapRouteFinderStatics3::GetDrivingRouteFromEnhancedWaypointsAsync(param::async_iterable const& waypoints, winrt::Windows::Services::Maps::MapRouteDrivingOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderStatics3)->GetDrivingRouteFromEnhancedWaypointsWithOptionsAsync(*(void**)(&waypoints), *(void**)(&options), &result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Services_Maps_IMapRouteLeg::BoundingBox() const + template auto consume_Windows_Services_Maps_IMapRouteLeg::BoundingBox() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteLeg)->get_BoundingBox(&value)); return winrt::Windows::Devices::Geolocation::GeoboundingBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_Services_Maps_IMapRouteLeg::Path() const + template auto consume_Windows_Services_Maps_IMapRouteLeg::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteLeg)->get_Path(&value)); return winrt::Windows::Devices::Geolocation::Geopath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_IMapRouteLeg::LengthInMeters() const + template auto consume_Windows_Services_Maps_IMapRouteLeg::LengthInMeters() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteLeg)->get_LengthInMeters(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_IMapRouteLeg::EstimatedDuration() const + template auto consume_Windows_Services_Maps_IMapRouteLeg::EstimatedDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteLeg)->get_EstimatedDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Maps_IMapRouteLeg::Maneuvers() const + template auto consume_Windows_Services_Maps_IMapRouteLeg::Maneuvers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteLeg)->get_Maneuvers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_IMapRouteLeg2::DurationWithoutTraffic() const + template auto consume_Windows_Services_Maps_IMapRouteLeg2::DurationWithoutTraffic() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteLeg2)->get_DurationWithoutTraffic(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::TrafficCongestion) consume_Windows_Services_Maps_IMapRouteLeg2::TrafficCongestion() const + template auto consume_Windows_Services_Maps_IMapRouteLeg2::TrafficCongestion() const { winrt::Windows::Services::Maps::TrafficCongestion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteLeg2)->get_TrafficCongestion(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Services_Maps_IMapRouteManeuver::StartingPoint() const + template auto consume_Windows_Services_Maps_IMapRouteManeuver::StartingPoint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteManeuver)->get_StartingPoint(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_IMapRouteManeuver::LengthInMeters() const + template auto consume_Windows_Services_Maps_IMapRouteManeuver::LengthInMeters() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteManeuver)->get_LengthInMeters(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapRouteManeuver::InstructionText() const + template auto consume_Windows_Services_Maps_IMapRouteManeuver::InstructionText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteManeuver)->get_InstructionText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRouteManeuverKind) consume_Windows_Services_Maps_IMapRouteManeuver::Kind() const + template auto consume_Windows_Services_Maps_IMapRouteManeuver::Kind() const { winrt::Windows::Services::Maps::MapRouteManeuverKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteManeuver)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapRouteManeuver::ExitNumber() const + template auto consume_Windows_Services_Maps_IMapRouteManeuver::ExitNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteManeuver)->get_ExitNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapManeuverNotices) consume_Windows_Services_Maps_IMapRouteManeuver::ManeuverNotices() const + template auto consume_Windows_Services_Maps_IMapRouteManeuver::ManeuverNotices() const { winrt::Windows::Services::Maps::MapManeuverNotices value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteManeuver)->get_ManeuverNotices(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_IMapRouteManeuver2::StartHeading() const + template auto consume_Windows_Services_Maps_IMapRouteManeuver2::StartHeading() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteManeuver2)->get_StartHeading(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_IMapRouteManeuver2::EndHeading() const + template auto consume_Windows_Services_Maps_IMapRouteManeuver2::EndHeading() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteManeuver2)->get_EndHeading(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapRouteManeuver2::StreetName() const + template auto consume_Windows_Services_Maps_IMapRouteManeuver2::StreetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteManeuver2)->get_StreetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Maps_IMapRouteManeuver3::Warnings() const + template auto consume_Windows_Services_Maps_IMapRouteManeuver3::Warnings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteManeuver3)->get_Warnings(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapServiceStatics::ServiceToken(param::hstring const& value) const + template auto consume_Windows_Services_Maps_IMapServiceStatics::ServiceToken(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapServiceStatics)->put_ServiceToken(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapServiceStatics::ServiceToken() const + template auto consume_Windows_Services_Maps_IMapServiceStatics::ServiceToken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapServiceStatics)->get_ServiceToken(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapServiceStatics2::WorldViewRegionCode() const + template auto consume_Windows_Services_Maps_IMapServiceStatics2::WorldViewRegionCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapServiceStatics2)->get_WorldViewRegionCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapServiceStatics3::DataAttributions() const + template auto consume_Windows_Services_Maps_IMapServiceStatics3::DataAttributions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapServiceStatics3)->get_DataAttributions(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapServiceStatics4::DataUsagePreference(winrt::Windows::Services::Maps::MapServiceDataUsagePreference const& value) const + template auto consume_Windows_Services_Maps_IMapServiceStatics4::DataUsagePreference(winrt::Windows::Services::Maps::MapServiceDataUsagePreference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapServiceStatics4)->put_DataUsagePreference(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapServiceDataUsagePreference) consume_Windows_Services_Maps_IMapServiceStatics4::DataUsagePreference() const + template auto consume_Windows_Services_Maps_IMapServiceStatics4::DataUsagePreference() const { winrt::Windows::Services::Maps::MapServiceDataUsagePreference value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapServiceStatics4)->get_DataUsagePreference(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IPlaceInfo::Show(winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_Services_Maps_IPlaceInfo::Show(winrt::Windows::Foundation::Rect const& selection) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfo)->Show(impl::bind_in(selection))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IPlaceInfo::Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const + template auto consume_Windows_Services_Maps_IPlaceInfo::Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfo)->ShowWithPreferredPlacement(impl::bind_in(selection), static_cast(preferredPlacement))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IPlaceInfo::Identifier() const + template auto consume_Windows_Services_Maps_IPlaceInfo::Identifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfo)->get_Identifier(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IPlaceInfo::DisplayName() const + template auto consume_Windows_Services_Maps_IPlaceInfo::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfo)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IPlaceInfo::DisplayAddress() const + template auto consume_Windows_Services_Maps_IPlaceInfo::DisplayAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfo)->get_DisplayAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::IGeoshape) consume_Windows_Services_Maps_IPlaceInfo::Geoshape() const + template auto consume_Windows_Services_Maps_IPlaceInfo::Geoshape() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfo)->get_Geoshape(&value)); return winrt::Windows::Devices::Geolocation::IGeoshape{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IPlaceInfoCreateOptions::DisplayName(param::hstring const& value) const + template auto consume_Windows_Services_Maps_IPlaceInfoCreateOptions::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfoCreateOptions)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IPlaceInfoCreateOptions::DisplayName() const + template auto consume_Windows_Services_Maps_IPlaceInfoCreateOptions::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfoCreateOptions)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IPlaceInfoCreateOptions::DisplayAddress(param::hstring const& value) const + template auto consume_Windows_Services_Maps_IPlaceInfoCreateOptions::DisplayAddress(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfoCreateOptions)->put_DisplayAddress(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IPlaceInfoCreateOptions::DisplayAddress() const + template auto consume_Windows_Services_Maps_IPlaceInfoCreateOptions::DisplayAddress() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfoCreateOptions)->get_DisplayAddress(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) consume_Windows_Services_Maps_IPlaceInfoStatics::Create(winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint) const + template auto consume_Windows_Services_Maps_IPlaceInfoStatics::Create(winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint) const { void* resultValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfoStatics)->Create(*(void**)(&referencePoint), &resultValue)); return winrt::Windows::Services::Maps::PlaceInfo{ resultValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) consume_Windows_Services_Maps_IPlaceInfoStatics::Create(winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint, winrt::Windows::Services::Maps::PlaceInfoCreateOptions const& options) const + template auto consume_Windows_Services_Maps_IPlaceInfoStatics::Create(winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint, winrt::Windows::Services::Maps::PlaceInfoCreateOptions const& options) const { void* resultValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfoStatics)->CreateWithGeopointAndOptions(*(void**)(&referencePoint), *(void**)(&options), &resultValue)); return winrt::Windows::Services::Maps::PlaceInfo{ resultValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) consume_Windows_Services_Maps_IPlaceInfoStatics::CreateFromIdentifier(param::hstring const& identifier) const + template auto consume_Windows_Services_Maps_IPlaceInfoStatics::CreateFromIdentifier(param::hstring const& identifier) const { void* resultValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfoStatics)->CreateFromIdentifier(*(void**)(&identifier), &resultValue)); return winrt::Windows::Services::Maps::PlaceInfo{ resultValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) consume_Windows_Services_Maps_IPlaceInfoStatics::CreateFromIdentifier(param::hstring const& identifier, winrt::Windows::Devices::Geolocation::Geopoint const& defaultPoint, winrt::Windows::Services::Maps::PlaceInfoCreateOptions const& options) const + template auto consume_Windows_Services_Maps_IPlaceInfoStatics::CreateFromIdentifier(param::hstring const& identifier, winrt::Windows::Devices::Geolocation::Geopoint const& defaultPoint, winrt::Windows::Services::Maps::PlaceInfoCreateOptions const& options) const { void* resultValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfoStatics)->CreateFromIdentifierWithOptions(*(void**)(&identifier), *(void**)(&defaultPoint), *(void**)(&options), &resultValue)); return winrt::Windows::Services::Maps::PlaceInfo{ resultValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) consume_Windows_Services_Maps_IPlaceInfoStatics::CreateFromMapLocation(winrt::Windows::Services::Maps::MapLocation const& location) const + template auto consume_Windows_Services_Maps_IPlaceInfoStatics::CreateFromMapLocation(winrt::Windows::Services::Maps::MapLocation const& location) const { void* resultValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfoStatics)->CreateFromMapLocation(*(void**)(&location), &resultValue)); return winrt::Windows::Services::Maps::PlaceInfo{ resultValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_IPlaceInfoStatics::IsShowSupported() const + template auto consume_Windows_Services_Maps_IPlaceInfoStatics::IsShowSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfoStatics)->get_IsShowSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) consume_Windows_Services_Maps_IPlaceInfoStatics2::CreateFromAddress(param::hstring const& displayAddress) const + template auto consume_Windows_Services_Maps_IPlaceInfoStatics2::CreateFromAddress(param::hstring const& displayAddress) const { void* resultValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfoStatics2)->CreateFromAddress(*(void**)(&displayAddress), &resultValue)); return winrt::Windows::Services::Maps::PlaceInfo{ resultValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) consume_Windows_Services_Maps_IPlaceInfoStatics2::CreateFromAddress(param::hstring const& displayAddress, param::hstring const& displayName) const + template auto consume_Windows_Services_Maps_IPlaceInfoStatics2::CreateFromAddress(param::hstring const& displayAddress, param::hstring const& displayName) const { void* resultValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfoStatics2)->CreateFromAddressWithName(*(void**)(&displayAddress), *(void**)(&displayName), &resultValue)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Services.Store.h b/internal/platform/implementation/windows/generated/winrt/Windows.Services.Store.h index 23e927c2..7df5b4a2 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Services.Store.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Services.Store.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Store_H #define WINRT_Windows_Services_Store_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.ApplicationModel.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,1147 +14,1147 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Services.Store.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePackageLicense) consume_Windows_Services_Store_IStoreAcquireLicenseResult::StorePackageLicense() const + template auto consume_Windows_Services_Store_IStoreAcquireLicenseResult::StorePackageLicense() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAcquireLicenseResult)->get_StorePackageLicense(&value)); return winrt::Windows::Services::Store::StorePackageLicense{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreAcquireLicenseResult::ExtendedError() const + template auto consume_Windows_Services_Store_IStoreAcquireLicenseResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAcquireLicenseResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreAppLicense::SkuStoreId() const + template auto consume_Windows_Services_Store_IStoreAppLicense::SkuStoreId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAppLicense)->get_SkuStoreId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreAppLicense::IsActive() const + template auto consume_Windows_Services_Store_IStoreAppLicense::IsActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAppLicense)->get_IsActive(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreAppLicense::IsTrial() const + template auto consume_Windows_Services_Store_IStoreAppLicense::IsTrial() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAppLicense)->get_IsTrial(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Services_Store_IStoreAppLicense::ExpirationDate() const + template auto consume_Windows_Services_Store_IStoreAppLicense::ExpirationDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAppLicense)->get_ExpirationDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreAppLicense::ExtendedJsonData() const + template auto consume_Windows_Services_Store_IStoreAppLicense::ExtendedJsonData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAppLicense)->get_ExtendedJsonData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Services_Store_IStoreAppLicense::AddOnLicenses() const + template auto consume_Windows_Services_Store_IStoreAppLicense::AddOnLicenses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAppLicense)->get_AddOnLicenses(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Store_IStoreAppLicense::TrialTimeRemaining() const + template auto consume_Windows_Services_Store_IStoreAppLicense::TrialTimeRemaining() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAppLicense)->get_TrialTimeRemaining(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreAppLicense::IsTrialOwnedByThisUser() const + template auto consume_Windows_Services_Store_IStoreAppLicense::IsTrialOwnedByThisUser() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAppLicense)->get_IsTrialOwnedByThisUser(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreAppLicense::TrialUniqueId() const + template auto consume_Windows_Services_Store_IStoreAppLicense::TrialUniqueId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAppLicense)->get_TrialUniqueId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreAppLicense2::IsDiscLicense() const + template auto consume_Windows_Services_Store_IStoreAppLicense2::IsDiscLicense() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAppLicense2)->get_IsDiscLicense(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreAvailability::StoreId() const + template auto consume_Windows_Services_Store_IStoreAvailability::StoreId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAvailability)->get_StoreId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Services_Store_IStoreAvailability::EndDate() const + template auto consume_Windows_Services_Store_IStoreAvailability::EndDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAvailability)->get_EndDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePrice) consume_Windows_Services_Store_IStoreAvailability::Price() const + template auto consume_Windows_Services_Store_IStoreAvailability::Price() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAvailability)->get_Price(&value)); return winrt::Windows::Services::Store::StorePrice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreAvailability::ExtendedJsonData() const + template auto consume_Windows_Services_Store_IStoreAvailability::ExtendedJsonData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAvailability)->get_ExtendedJsonData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreAvailability::RequestPurchaseAsync() const + template auto consume_Windows_Services_Store_IStoreAvailability::RequestPurchaseAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAvailability)->RequestPurchaseAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreAvailability::RequestPurchaseAsync(winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const + template auto consume_Windows_Services_Store_IStoreAvailability::RequestPurchaseAsync(winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAvailability)->RequestPurchaseWithPurchasePropertiesAsync(*(void**)(&storePurchaseProperties), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreCanAcquireLicenseResult::ExtendedError() const + template auto consume_Windows_Services_Store_IStoreCanAcquireLicenseResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreCanAcquireLicenseResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreCanAcquireLicenseResult::LicensableSku() const + template auto consume_Windows_Services_Store_IStoreCanAcquireLicenseResult::LicensableSku() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreCanAcquireLicenseResult)->get_LicensableSku(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreCanLicenseStatus) consume_Windows_Services_Store_IStoreCanAcquireLicenseResult::Status() const + template auto consume_Windows_Services_Store_IStoreCanAcquireLicenseResult::Status() const { winrt::Windows::Services::Store::StoreCanLicenseStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreCanAcquireLicenseResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreCollectionData::IsTrial() const + template auto consume_Windows_Services_Store_IStoreCollectionData::IsTrial() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreCollectionData)->get_IsTrial(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreCollectionData::CampaignId() const + template auto consume_Windows_Services_Store_IStoreCollectionData::CampaignId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreCollectionData)->get_CampaignId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreCollectionData::DeveloperOfferId() const + template auto consume_Windows_Services_Store_IStoreCollectionData::DeveloperOfferId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreCollectionData)->get_DeveloperOfferId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Services_Store_IStoreCollectionData::AcquiredDate() const + template auto consume_Windows_Services_Store_IStoreCollectionData::AcquiredDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreCollectionData)->get_AcquiredDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Services_Store_IStoreCollectionData::StartDate() const + template auto consume_Windows_Services_Store_IStoreCollectionData::StartDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreCollectionData)->get_StartDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Services_Store_IStoreCollectionData::EndDate() const + template auto consume_Windows_Services_Store_IStoreCollectionData::EndDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreCollectionData)->get_EndDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Store_IStoreCollectionData::TrialTimeRemaining() const + template auto consume_Windows_Services_Store_IStoreCollectionData::TrialTimeRemaining() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreCollectionData)->get_TrialTimeRemaining(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreCollectionData::ExtendedJsonData() const + template auto consume_Windows_Services_Store_IStoreCollectionData::ExtendedJsonData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreCollectionData)->get_ExtendedJsonData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreConsumableStatus) consume_Windows_Services_Store_IStoreConsumableResult::Status() const + template auto consume_Windows_Services_Store_IStoreConsumableResult::Status() const { winrt::Windows::Services::Store::StoreConsumableStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreConsumableResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Services_Store_IStoreConsumableResult::TrackingId() const + template auto consume_Windows_Services_Store_IStoreConsumableResult::TrackingId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreConsumableResult)->get_TrackingId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_Store_IStoreConsumableResult::BalanceRemaining() const + template auto consume_Windows_Services_Store_IStoreConsumableResult::BalanceRemaining() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreConsumableResult)->get_BalanceRemaining(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreConsumableResult::ExtendedError() const + template auto consume_Windows_Services_Store_IStoreConsumableResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreConsumableResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Services_Store_IStoreContext::User() const + template auto consume_Windows_Services_Store_IStoreContext::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Store_IStoreContext::OfflineLicensesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Store_IStoreContext::OfflineLicensesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->add_OfflineLicensesChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Services_Store_IStoreContext::OfflineLicensesChanged_revoker consume_Windows_Services_Store_IStoreContext::OfflineLicensesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Store_IStoreContext::OfflineLicensesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, OfflineLicensesChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Store_IStoreContext::OfflineLicensesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Services_Store_IStoreContext::OfflineLicensesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->remove_OfflineLicensesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext::GetCustomerPurchaseIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const + template auto consume_Windows_Services_Store_IStoreContext::GetCustomerPurchaseIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->GetCustomerPurchaseIdAsync(*(void**)(&serviceTicket), *(void**)(&publisherUserId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext::GetCustomerCollectionsIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const + template auto consume_Windows_Services_Store_IStoreContext::GetCustomerCollectionsIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->GetCustomerCollectionsIdAsync(*(void**)(&serviceTicket), *(void**)(&publisherUserId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext::GetAppLicenseAsync() const + template auto consume_Windows_Services_Store_IStoreContext::GetAppLicenseAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->GetAppLicenseAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext::GetStoreProductForCurrentAppAsync() const + template auto consume_Windows_Services_Store_IStoreContext::GetStoreProductForCurrentAppAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->GetStoreProductForCurrentAppAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext::GetStoreProductsAsync(param::async_iterable const& productKinds, param::async_iterable const& storeIds) const + template auto consume_Windows_Services_Store_IStoreContext::GetStoreProductsAsync(param::async_iterable const& productKinds, param::async_iterable const& storeIds) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->GetStoreProductsAsync(*(void**)(&productKinds), *(void**)(&storeIds), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext::GetAssociatedStoreProductsAsync(param::async_iterable const& productKinds) const + template auto consume_Windows_Services_Store_IStoreContext::GetAssociatedStoreProductsAsync(param::async_iterable const& productKinds) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->GetAssociatedStoreProductsAsync(*(void**)(&productKinds), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext::GetAssociatedStoreProductsWithPagingAsync(param::async_iterable const& productKinds, uint32_t maxItemsToRetrievePerPage) const + template auto consume_Windows_Services_Store_IStoreContext::GetAssociatedStoreProductsWithPagingAsync(param::async_iterable const& productKinds, uint32_t maxItemsToRetrievePerPage) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->GetAssociatedStoreProductsWithPagingAsync(*(void**)(&productKinds), maxItemsToRetrievePerPage, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext::GetUserCollectionAsync(param::async_iterable const& productKinds) const + template auto consume_Windows_Services_Store_IStoreContext::GetUserCollectionAsync(param::async_iterable const& productKinds) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->GetUserCollectionAsync(*(void**)(&productKinds), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext::GetUserCollectionWithPagingAsync(param::async_iterable const& productKinds, uint32_t maxItemsToRetrievePerPage) const + template auto consume_Windows_Services_Store_IStoreContext::GetUserCollectionWithPagingAsync(param::async_iterable const& productKinds, uint32_t maxItemsToRetrievePerPage) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->GetUserCollectionWithPagingAsync(*(void**)(&productKinds), maxItemsToRetrievePerPage, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext::ReportConsumableFulfillmentAsync(param::hstring const& productStoreId, uint32_t quantity, winrt::guid const& trackingId) const + template auto consume_Windows_Services_Store_IStoreContext::ReportConsumableFulfillmentAsync(param::hstring const& productStoreId, uint32_t quantity, winrt::guid const& trackingId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->ReportConsumableFulfillmentAsync(*(void**)(&productStoreId), quantity, impl::bind_in(trackingId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext::GetConsumableBalanceRemainingAsync(param::hstring const& productStoreId) const + template auto consume_Windows_Services_Store_IStoreContext::GetConsumableBalanceRemainingAsync(param::hstring const& productStoreId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->GetConsumableBalanceRemainingAsync(*(void**)(&productStoreId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext::AcquireStoreLicenseForOptionalPackageAsync(winrt::Windows::ApplicationModel::Package const& optionalPackage) const + template auto consume_Windows_Services_Store_IStoreContext::AcquireStoreLicenseForOptionalPackageAsync(winrt::Windows::ApplicationModel::Package const& optionalPackage) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->AcquireStoreLicenseForOptionalPackageAsync(*(void**)(&optionalPackage), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext::RequestPurchaseAsync(param::hstring const& storeId) const + template auto consume_Windows_Services_Store_IStoreContext::RequestPurchaseAsync(param::hstring const& storeId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->RequestPurchaseAsync(*(void**)(&storeId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext::RequestPurchaseAsync(param::hstring const& storeId, winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const + template auto consume_Windows_Services_Store_IStoreContext::RequestPurchaseAsync(param::hstring const& storeId, winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->RequestPurchaseWithPurchasePropertiesAsync(*(void**)(&storeId), *(void**)(&storePurchaseProperties), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Services_Store_IStoreContext::GetAppAndOptionalStorePackageUpdatesAsync() const + template auto consume_Windows_Services_Store_IStoreContext::GetAppAndOptionalStorePackageUpdatesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->GetAppAndOptionalStorePackageUpdatesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Services_Store_IStoreContext::RequestDownloadStorePackageUpdatesAsync(param::async_iterable const& storePackageUpdates) const + template auto consume_Windows_Services_Store_IStoreContext::RequestDownloadStorePackageUpdatesAsync(param::async_iterable const& storePackageUpdates) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->RequestDownloadStorePackageUpdatesAsync(*(void**)(&storePackageUpdates), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Services_Store_IStoreContext::RequestDownloadAndInstallStorePackageUpdatesAsync(param::async_iterable const& storePackageUpdates) const + template auto consume_Windows_Services_Store_IStoreContext::RequestDownloadAndInstallStorePackageUpdatesAsync(param::async_iterable const& storePackageUpdates) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->RequestDownloadAndInstallStorePackageUpdatesAsync(*(void**)(&storePackageUpdates), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Services_Store_IStoreContext::RequestDownloadAndInstallStorePackagesAsync(param::async_iterable const& storeIds) const + template auto consume_Windows_Services_Store_IStoreContext::RequestDownloadAndInstallStorePackagesAsync(param::async_iterable const& storeIds) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->RequestDownloadAndInstallStorePackagesAsync(*(void**)(&storeIds), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext2::FindStoreProductForPackageAsync(param::async_iterable const& productKinds, winrt::Windows::ApplicationModel::Package const& package) const + template auto consume_Windows_Services_Store_IStoreContext2::FindStoreProductForPackageAsync(param::async_iterable const& productKinds, winrt::Windows::ApplicationModel::Package const& package) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext2)->FindStoreProductForPackageAsync(*(void**)(&productKinds), *(void**)(&package), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreContext3::CanSilentlyDownloadStorePackageUpdates() const + template auto consume_Windows_Services_Store_IStoreContext3::CanSilentlyDownloadStorePackageUpdates() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->get_CanSilentlyDownloadStorePackageUpdates(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Services_Store_IStoreContext3::TrySilentDownloadStorePackageUpdatesAsync(param::async_iterable const& storePackageUpdates) const + template auto consume_Windows_Services_Store_IStoreContext3::TrySilentDownloadStorePackageUpdatesAsync(param::async_iterable const& storePackageUpdates) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->TrySilentDownloadStorePackageUpdatesAsync(*(void**)(&storePackageUpdates), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Services_Store_IStoreContext3::TrySilentDownloadAndInstallStorePackageUpdatesAsync(param::async_iterable const& storePackageUpdates) const + template auto consume_Windows_Services_Store_IStoreContext3::TrySilentDownloadAndInstallStorePackageUpdatesAsync(param::async_iterable const& storePackageUpdates) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->TrySilentDownloadAndInstallStorePackageUpdatesAsync(*(void**)(&storePackageUpdates), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext3::CanAcquireStoreLicenseForOptionalPackageAsync(winrt::Windows::ApplicationModel::Package const& optionalPackage) const + template auto consume_Windows_Services_Store_IStoreContext3::CanAcquireStoreLicenseForOptionalPackageAsync(winrt::Windows::ApplicationModel::Package const& optionalPackage) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->CanAcquireStoreLicenseForOptionalPackageAsync(*(void**)(&optionalPackage), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext3::CanAcquireStoreLicenseAsync(param::hstring const& productStoreId) const + template auto consume_Windows_Services_Store_IStoreContext3::CanAcquireStoreLicenseAsync(param::hstring const& productStoreId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->CanAcquireStoreLicenseAsync(*(void**)(&productStoreId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext3::GetStoreProductsAsync(param::async_iterable const& productKinds, param::async_iterable const& storeIds, winrt::Windows::Services::Store::StoreProductOptions const& storeProductOptions) const + template auto consume_Windows_Services_Store_IStoreContext3::GetStoreProductsAsync(param::async_iterable const& productKinds, param::async_iterable const& storeIds, winrt::Windows::Services::Store::StoreProductOptions const& storeProductOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->GetStoreProductsWithOptionsAsync(*(void**)(&productKinds), *(void**)(&storeIds), *(void**)(&storeProductOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Services_Store_IStoreContext3::GetAssociatedStoreQueueItemsAsync() const + template auto consume_Windows_Services_Store_IStoreContext3::GetAssociatedStoreQueueItemsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->GetAssociatedStoreQueueItemsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Services_Store_IStoreContext3::GetStoreQueueItemsAsync(param::async_iterable const& storeIds) const + template auto consume_Windows_Services_Store_IStoreContext3::GetStoreQueueItemsAsync(param::async_iterable const& storeIds) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->GetStoreQueueItemsAsync(*(void**)(&storeIds), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Services_Store_IStoreContext3::RequestDownloadAndInstallStorePackagesAsync(param::async_iterable const& storeIds, winrt::Windows::Services::Store::StorePackageInstallOptions const& storePackageInstallOptions) const + template auto consume_Windows_Services_Store_IStoreContext3::RequestDownloadAndInstallStorePackagesAsync(param::async_iterable const& storeIds, winrt::Windows::Services::Store::StorePackageInstallOptions const& storePackageInstallOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->RequestDownloadAndInstallStorePackagesWithInstallOptionsAsync(*(void**)(&storeIds), *(void**)(&storePackageInstallOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Services_Store_IStoreContext3::DownloadAndInstallStorePackagesAsync(param::async_iterable const& storeIds) const + template auto consume_Windows_Services_Store_IStoreContext3::DownloadAndInstallStorePackagesAsync(param::async_iterable const& storeIds) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->DownloadAndInstallStorePackagesAsync(*(void**)(&storeIds), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext3::RequestUninstallStorePackageAsync(winrt::Windows::ApplicationModel::Package const& package) const + template auto consume_Windows_Services_Store_IStoreContext3::RequestUninstallStorePackageAsync(winrt::Windows::ApplicationModel::Package const& package) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->RequestUninstallStorePackageAsync(*(void**)(&package), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext3::RequestUninstallStorePackageByStoreIdAsync(param::hstring const& storeId) const + template auto consume_Windows_Services_Store_IStoreContext3::RequestUninstallStorePackageByStoreIdAsync(param::hstring const& storeId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->RequestUninstallStorePackageByStoreIdAsync(*(void**)(&storeId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext3::UninstallStorePackageAsync(winrt::Windows::ApplicationModel::Package const& package) const + template auto consume_Windows_Services_Store_IStoreContext3::UninstallStorePackageAsync(winrt::Windows::ApplicationModel::Package const& package) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->UninstallStorePackageAsync(*(void**)(&package), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext3::UninstallStorePackageByStoreIdAsync(param::hstring const& storeId) const + template auto consume_Windows_Services_Store_IStoreContext3::UninstallStorePackageByStoreIdAsync(param::hstring const& storeId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->UninstallStorePackageByStoreIdAsync(*(void**)(&storeId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreContext4::RequestRateAndReviewAppAsync() const + template auto consume_Windows_Services_Store_IStoreContext4::RequestRateAndReviewAppAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext4)->RequestRateAndReviewAppAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Services_Store_IStoreContext4::SetInstallOrderForAssociatedStoreQueueItemsAsync(param::async_iterable const& items) const + template auto consume_Windows_Services_Store_IStoreContext4::SetInstallOrderForAssociatedStoreQueueItemsAsync(param::async_iterable const& items) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext4)->SetInstallOrderForAssociatedStoreQueueItemsAsync(*(void**)(&items), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreContext) consume_Windows_Services_Store_IStoreContextStatics::GetDefault() const + template auto consume_Windows_Services_Store_IStoreContextStatics::GetDefault() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContextStatics)->GetDefault(&value)); return winrt::Windows::Services::Store::StoreContext{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreContext) consume_Windows_Services_Store_IStoreContextStatics::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_Services_Store_IStoreContextStatics::GetForUser(winrt::Windows::System::User const& user) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContextStatics)->GetForUser(*(void**)(&user), &value)); return winrt::Windows::Services::Store::StoreContext{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Services_Store_IStoreImage::Uri() const + template auto consume_Windows_Services_Store_IStoreImage::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreImage)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreImage::ImagePurposeTag() const + template auto consume_Windows_Services_Store_IStoreImage::ImagePurposeTag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreImage)->get_ImagePurposeTag(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_Store_IStoreImage::Width() const + template auto consume_Windows_Services_Store_IStoreImage::Width() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreImage)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_Store_IStoreImage::Height() const + template auto consume_Windows_Services_Store_IStoreImage::Height() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreImage)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreImage::Caption() const + template auto consume_Windows_Services_Store_IStoreImage::Caption() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreImage)->get_Caption(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreLicense::SkuStoreId() const + template auto consume_Windows_Services_Store_IStoreLicense::SkuStoreId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreLicense)->get_SkuStoreId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreLicense::IsActive() const + template auto consume_Windows_Services_Store_IStoreLicense::IsActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreLicense)->get_IsActive(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Services_Store_IStoreLicense::ExpirationDate() const + template auto consume_Windows_Services_Store_IStoreLicense::ExpirationDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreLicense)->get_ExpirationDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreLicense::ExtendedJsonData() const + template auto consume_Windows_Services_Store_IStoreLicense::ExtendedJsonData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreLicense)->get_ExtendedJsonData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreLicense::InAppOfferToken() const + template auto consume_Windows_Services_Store_IStoreLicense::InAppOfferToken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreLicense)->get_InAppOfferToken(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStorePackageInstallOptions::AllowForcedAppRestart() const + template auto consume_Windows_Services_Store_IStorePackageInstallOptions::AllowForcedAppRestart() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageInstallOptions)->get_AllowForcedAppRestart(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Store_IStorePackageInstallOptions::AllowForcedAppRestart(bool value) const + template auto consume_Windows_Services_Store_IStorePackageInstallOptions::AllowForcedAppRestart(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageInstallOptions)->put_AllowForcedAppRestart(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Store_IStorePackageLicense::LicenseLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Store_IStorePackageLicense::LicenseLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageLicense)->add_LicenseLost(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Services_Store_IStorePackageLicense::LicenseLost_revoker consume_Windows_Services_Store_IStorePackageLicense::LicenseLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Store_IStorePackageLicense::LicenseLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LicenseLost(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Store_IStorePackageLicense::LicenseLost(winrt::event_token const& token) const noexcept + template auto consume_Windows_Services_Store_IStorePackageLicense::LicenseLost(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageLicense)->remove_LicenseLost(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_Services_Store_IStorePackageLicense::Package() const + template auto consume_Windows_Services_Store_IStorePackageLicense::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageLicense)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStorePackageLicense::IsValid() const + template auto consume_Windows_Services_Store_IStorePackageLicense::IsValid() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageLicense)->get_IsValid(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Store_IStorePackageLicense::ReleaseLicense() const + template auto consume_Windows_Services_Store_IStorePackageLicense::ReleaseLicense() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageLicense)->ReleaseLicense()); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_Services_Store_IStorePackageUpdate::Package() const + template auto consume_Windows_Services_Store_IStorePackageUpdate::Package() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageUpdate)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStorePackageUpdate::Mandatory() const + template auto consume_Windows_Services_Store_IStorePackageUpdate::Mandatory() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageUpdate)->get_Mandatory(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePackageUpdateState) consume_Windows_Services_Store_IStorePackageUpdateResult::OverallState() const + template auto consume_Windows_Services_Store_IStorePackageUpdateResult::OverallState() const { winrt::Windows::Services::Store::StorePackageUpdateState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageUpdateResult)->get_OverallState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Store_IStorePackageUpdateResult::StorePackageUpdateStatuses() const + template auto consume_Windows_Services_Store_IStorePackageUpdateResult::StorePackageUpdateStatuses() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageUpdateResult)->get_StorePackageUpdateStatuses(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Store_IStorePackageUpdateResult2::StoreQueueItems() const + template auto consume_Windows_Services_Store_IStorePackageUpdateResult2::StoreQueueItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageUpdateResult2)->get_StoreQueueItems(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStorePrice::FormattedBasePrice() const + template auto consume_Windows_Services_Store_IStorePrice::FormattedBasePrice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePrice)->get_FormattedBasePrice(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStorePrice::FormattedPrice() const + template auto consume_Windows_Services_Store_IStorePrice::FormattedPrice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePrice)->get_FormattedPrice(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStorePrice::IsOnSale() const + template auto consume_Windows_Services_Store_IStorePrice::IsOnSale() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePrice)->get_IsOnSale(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Services_Store_IStorePrice::SaleEndDate() const + template auto consume_Windows_Services_Store_IStorePrice::SaleEndDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePrice)->get_SaleEndDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStorePrice::CurrencyCode() const + template auto consume_Windows_Services_Store_IStorePrice::CurrencyCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePrice)->get_CurrencyCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStorePrice::FormattedRecurrencePrice() const + template auto consume_Windows_Services_Store_IStorePrice::FormattedRecurrencePrice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePrice)->get_FormattedRecurrencePrice(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreProduct::StoreId() const + template auto consume_Windows_Services_Store_IStoreProduct::StoreId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_StoreId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreProduct::Language() const + template auto consume_Windows_Services_Store_IStoreProduct::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreProduct::Title() const + template auto consume_Windows_Services_Store_IStoreProduct::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreProduct::Description() const + template auto consume_Windows_Services_Store_IStoreProduct::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreProduct::ProductKind() const + template auto consume_Windows_Services_Store_IStoreProduct::ProductKind() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_ProductKind(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreProduct::HasDigitalDownload() const + template auto consume_Windows_Services_Store_IStoreProduct::HasDigitalDownload() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_HasDigitalDownload(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Store_IStoreProduct::Keywords() const + template auto consume_Windows_Services_Store_IStoreProduct::Keywords() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_Keywords(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Store_IStoreProduct::Images() const + template auto consume_Windows_Services_Store_IStoreProduct::Images() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_Images(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Store_IStoreProduct::Videos() const + template auto consume_Windows_Services_Store_IStoreProduct::Videos() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_Videos(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Store_IStoreProduct::Skus() const + template auto consume_Windows_Services_Store_IStoreProduct::Skus() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_Skus(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreProduct::IsInUserCollection() const + template auto consume_Windows_Services_Store_IStoreProduct::IsInUserCollection() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_IsInUserCollection(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePrice) consume_Windows_Services_Store_IStoreProduct::Price() const + template auto consume_Windows_Services_Store_IStoreProduct::Price() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_Price(&value)); return winrt::Windows::Services::Store::StorePrice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreProduct::ExtendedJsonData() const + template auto consume_Windows_Services_Store_IStoreProduct::ExtendedJsonData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_ExtendedJsonData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Services_Store_IStoreProduct::LinkUri() const + template auto consume_Windows_Services_Store_IStoreProduct::LinkUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_LinkUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreProduct::GetIsAnySkuInstalledAsync() const + template auto consume_Windows_Services_Store_IStoreProduct::GetIsAnySkuInstalledAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->GetIsAnySkuInstalledAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreProduct::RequestPurchaseAsync() const + template auto consume_Windows_Services_Store_IStoreProduct::RequestPurchaseAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->RequestPurchaseAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreProduct::RequestPurchaseAsync(winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const + template auto consume_Windows_Services_Store_IStoreProduct::RequestPurchaseAsync(winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->RequestPurchaseWithPurchasePropertiesAsync(*(void**)(&storePurchaseProperties), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreProduct::InAppOfferToken() const + template auto consume_Windows_Services_Store_IStoreProduct::InAppOfferToken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_InAppOfferToken(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Services_Store_IStoreProductOptions::ActionFilters() const + template auto consume_Windows_Services_Store_IStoreProductOptions::ActionFilters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductOptions)->get_ActionFilters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Services_Store_IStoreProductPagedQueryResult::Products() const + template auto consume_Windows_Services_Store_IStoreProductPagedQueryResult::Products() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductPagedQueryResult)->get_Products(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreProductPagedQueryResult::HasMoreResults() const + template auto consume_Windows_Services_Store_IStoreProductPagedQueryResult::HasMoreResults() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductPagedQueryResult)->get_HasMoreResults(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreProductPagedQueryResult::ExtendedError() const + template auto consume_Windows_Services_Store_IStoreProductPagedQueryResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductPagedQueryResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreProductPagedQueryResult::GetNextAsync() const + template auto consume_Windows_Services_Store_IStoreProductPagedQueryResult::GetNextAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductPagedQueryResult)->GetNextAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Services_Store_IStoreProductQueryResult::Products() const + template auto consume_Windows_Services_Store_IStoreProductQueryResult::Products() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductQueryResult)->get_Products(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreProductQueryResult::ExtendedError() const + template auto consume_Windows_Services_Store_IStoreProductQueryResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductQueryResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreProduct) consume_Windows_Services_Store_IStoreProductResult::Product() const + template auto consume_Windows_Services_Store_IStoreProductResult::Product() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductResult)->get_Product(&value)); return winrt::Windows::Services::Store::StoreProduct{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreProductResult::ExtendedError() const + template auto consume_Windows_Services_Store_IStoreProductResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStorePurchaseProperties::Name() const + template auto consume_Windows_Services_Store_IStorePurchaseProperties::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePurchaseProperties)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Store_IStorePurchaseProperties::Name(param::hstring const& value) const + template auto consume_Windows_Services_Store_IStorePurchaseProperties::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePurchaseProperties)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStorePurchaseProperties::ExtendedJsonData() const + template auto consume_Windows_Services_Store_IStorePurchaseProperties::ExtendedJsonData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePurchaseProperties)->get_ExtendedJsonData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Store_IStorePurchaseProperties::ExtendedJsonData(param::hstring const& value) const + template auto consume_Windows_Services_Store_IStorePurchaseProperties::ExtendedJsonData(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePurchaseProperties)->put_ExtendedJsonData(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePurchaseProperties) consume_Windows_Services_Store_IStorePurchasePropertiesFactory::Create(param::hstring const& name) const + template auto consume_Windows_Services_Store_IStorePurchasePropertiesFactory::Create(param::hstring const& name) const { void* storePurchaseProperties{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePurchasePropertiesFactory)->Create(*(void**)(&name), &storePurchaseProperties)); return winrt::Windows::Services::Store::StorePurchaseProperties{ storePurchaseProperties, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePurchaseStatus) consume_Windows_Services_Store_IStorePurchaseResult::Status() const + template auto consume_Windows_Services_Store_IStorePurchaseResult::Status() const { winrt::Windows::Services::Store::StorePurchaseStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePurchaseResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStorePurchaseResult::ExtendedError() const + template auto consume_Windows_Services_Store_IStorePurchaseResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePurchaseResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreQueueItem::ProductId() const + template auto consume_Windows_Services_Store_IStoreQueueItem::ProductId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItem)->get_ProductId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreQueueItem::PackageFamilyName() const + template auto consume_Windows_Services_Store_IStoreQueueItem::PackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItem)->get_PackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreQueueItemKind) consume_Windows_Services_Store_IStoreQueueItem::InstallKind() const + template auto consume_Windows_Services_Store_IStoreQueueItem::InstallKind() const { winrt::Windows::Services::Store::StoreQueueItemKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItem)->get_InstallKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreQueueItemStatus) consume_Windows_Services_Store_IStoreQueueItem::GetCurrentStatus() const + template auto consume_Windows_Services_Store_IStoreQueueItem::GetCurrentStatus() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItem)->GetCurrentStatus(&result)); return winrt::Windows::Services::Store::StoreQueueItemStatus{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Store_IStoreQueueItem::Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Store_IStoreQueueItem::Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItem)->add_Completed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Services_Store_IStoreQueueItem::Completed_revoker consume_Windows_Services_Store_IStoreQueueItem::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Store_IStoreQueueItem::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Completed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Store_IStoreQueueItem::Completed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Services_Store_IStoreQueueItem::Completed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItem)->remove_Completed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Store_IStoreQueueItem::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Store_IStoreQueueItem::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItem)->add_StatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Services_Store_IStoreQueueItem::StatusChanged_revoker consume_Windows_Services_Store_IStoreQueueItem::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_Store_IStoreQueueItem::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_Store_IStoreQueueItem::StatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Services_Store_IStoreQueueItem::StatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItem)->remove_StatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Store_IStoreQueueItem2::CancelInstallAsync() const + template auto consume_Windows_Services_Store_IStoreQueueItem2::CancelInstallAsync() const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItem2)->CancelInstallAsync(&action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Store_IStoreQueueItem2::PauseInstallAsync() const + template auto consume_Windows_Services_Store_IStoreQueueItem2::PauseInstallAsync() const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItem2)->PauseInstallAsync(&action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Store_IStoreQueueItem2::ResumeInstallAsync() const + template auto consume_Windows_Services_Store_IStoreQueueItem2::ResumeInstallAsync() const { void* action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItem2)->ResumeInstallAsync(&action)); return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreQueueItemStatus) consume_Windows_Services_Store_IStoreQueueItemCompletedEventArgs::Status() const + template auto consume_Windows_Services_Store_IStoreQueueItemCompletedEventArgs::Status() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItemCompletedEventArgs)->get_Status(&value)); return winrt::Windows::Services::Store::StoreQueueItemStatus{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreQueueItemState) consume_Windows_Services_Store_IStoreQueueItemStatus::PackageInstallState() const + template auto consume_Windows_Services_Store_IStoreQueueItemStatus::PackageInstallState() const { winrt::Windows::Services::Store::StoreQueueItemState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItemStatus)->get_PackageInstallState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreQueueItemExtendedState) consume_Windows_Services_Store_IStoreQueueItemStatus::PackageInstallExtendedState() const + template auto consume_Windows_Services_Store_IStoreQueueItemStatus::PackageInstallExtendedState() const { winrt::Windows::Services::Store::StoreQueueItemExtendedState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItemStatus)->get_PackageInstallExtendedState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePackageUpdateStatus) consume_Windows_Services_Store_IStoreQueueItemStatus::UpdateStatus() const + template auto consume_Windows_Services_Store_IStoreQueueItemStatus::UpdateStatus() const { winrt::Windows::Services::Store::StorePackageUpdateStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItemStatus)->get_UpdateStatus(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreQueueItemStatus::ExtendedError() const + template auto consume_Windows_Services_Store_IStoreQueueItemStatus::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItemStatus)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreRateAndReviewResult::ExtendedError() const + template auto consume_Windows_Services_Store_IStoreRateAndReviewResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreRateAndReviewResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreRateAndReviewResult::ExtendedJsonData() const + template auto consume_Windows_Services_Store_IStoreRateAndReviewResult::ExtendedJsonData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreRateAndReviewResult)->get_ExtendedJsonData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreRateAndReviewResult::WasUpdated() const + template auto consume_Windows_Services_Store_IStoreRateAndReviewResult::WasUpdated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreRateAndReviewResult)->get_WasUpdated(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreRateAndReviewStatus) consume_Windows_Services_Store_IStoreRateAndReviewResult::Status() const + template auto consume_Windows_Services_Store_IStoreRateAndReviewResult::Status() const { winrt::Windows::Services::Store::StoreRateAndReviewStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreRateAndReviewResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreRequestHelperStatics::SendRequestAsync(winrt::Windows::Services::Store::StoreContext const& context, uint32_t requestKind, param::hstring const& parametersAsJson) const + template auto consume_Windows_Services_Store_IStoreRequestHelperStatics::SendRequestAsync(winrt::Windows::Services::Store::StoreContext const& context, uint32_t requestKind, param::hstring const& parametersAsJson) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreRequestHelperStatics)->SendRequestAsync(*(void**)(&context), requestKind, *(void**)(¶metersAsJson), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreSendRequestResult::Response() const + template auto consume_Windows_Services_Store_IStoreSendRequestResult::Response() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSendRequestResult)->get_Response(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreSendRequestResult::ExtendedError() const + template auto consume_Windows_Services_Store_IStoreSendRequestResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSendRequestResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStatusCode) consume_Windows_Services_Store_IStoreSendRequestResult2::HttpStatusCode() const + template auto consume_Windows_Services_Store_IStoreSendRequestResult2::HttpStatusCode() const { winrt::Windows::Web::Http::HttpStatusCode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSendRequestResult2)->get_HttpStatusCode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreSku::StoreId() const + template auto consume_Windows_Services_Store_IStoreSku::StoreId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_StoreId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreSku::Language() const + template auto consume_Windows_Services_Store_IStoreSku::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreSku::Title() const + template auto consume_Windows_Services_Store_IStoreSku::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreSku::Description() const + template auto consume_Windows_Services_Store_IStoreSku::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreSku::IsTrial() const + template auto consume_Windows_Services_Store_IStoreSku::IsTrial() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_IsTrial(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreSku::CustomDeveloperData() const + template auto consume_Windows_Services_Store_IStoreSku::CustomDeveloperData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_CustomDeveloperData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Store_IStoreSku::Images() const + template auto consume_Windows_Services_Store_IStoreSku::Images() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_Images(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Store_IStoreSku::Videos() const + template auto consume_Windows_Services_Store_IStoreSku::Videos() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_Videos(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Store_IStoreSku::Availabilities() const + template auto consume_Windows_Services_Store_IStoreSku::Availabilities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_Availabilities(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePrice) consume_Windows_Services_Store_IStoreSku::Price() const + template auto consume_Windows_Services_Store_IStoreSku::Price() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_Price(&value)); return winrt::Windows::Services::Store::StorePrice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreSku::ExtendedJsonData() const + template auto consume_Windows_Services_Store_IStoreSku::ExtendedJsonData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_ExtendedJsonData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreSku::IsInUserCollection() const + template auto consume_Windows_Services_Store_IStoreSku::IsInUserCollection() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_IsInUserCollection(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_Store_IStoreSku::BundledSkus() const + template auto consume_Windows_Services_Store_IStoreSku::BundledSkus() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_BundledSkus(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreCollectionData) consume_Windows_Services_Store_IStoreSku::CollectionData() const + template auto consume_Windows_Services_Store_IStoreSku::CollectionData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_CollectionData(&value)); return winrt::Windows::Services::Store::StoreCollectionData{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreSku::GetIsInstalledAsync() const + template auto consume_Windows_Services_Store_IStoreSku::GetIsInstalledAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->GetIsInstalledAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreSku::RequestPurchaseAsync() const + template auto consume_Windows_Services_Store_IStoreSku::RequestPurchaseAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->RequestPurchaseAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_Store_IStoreSku::RequestPurchaseAsync(winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const + template auto consume_Windows_Services_Store_IStoreSku::RequestPurchaseAsync(winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->RequestPurchaseWithPurchasePropertiesAsync(*(void**)(&storePurchaseProperties), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreSku::IsSubscription() const + template auto consume_Windows_Services_Store_IStoreSku::IsSubscription() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_IsSubscription(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreSubscriptionInfo) consume_Windows_Services_Store_IStoreSku::SubscriptionInfo() const + template auto consume_Windows_Services_Store_IStoreSku::SubscriptionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_SubscriptionInfo(&value)); return winrt::Windows::Services::Store::StoreSubscriptionInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_Store_IStoreSubscriptionInfo::BillingPeriod() const + template auto consume_Windows_Services_Store_IStoreSubscriptionInfo::BillingPeriod() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSubscriptionInfo)->get_BillingPeriod(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreDurationUnit) consume_Windows_Services_Store_IStoreSubscriptionInfo::BillingPeriodUnit() const + template auto consume_Windows_Services_Store_IStoreSubscriptionInfo::BillingPeriodUnit() const { winrt::Windows::Services::Store::StoreDurationUnit value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSubscriptionInfo)->get_BillingPeriodUnit(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreSubscriptionInfo::HasTrialPeriod() const + template auto consume_Windows_Services_Store_IStoreSubscriptionInfo::HasTrialPeriod() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSubscriptionInfo)->get_HasTrialPeriod(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_Store_IStoreSubscriptionInfo::TrialPeriod() const + template auto consume_Windows_Services_Store_IStoreSubscriptionInfo::TrialPeriod() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSubscriptionInfo)->get_TrialPeriod(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreDurationUnit) consume_Windows_Services_Store_IStoreSubscriptionInfo::TrialPeriodUnit() const + template auto consume_Windows_Services_Store_IStoreSubscriptionInfo::TrialPeriodUnit() const { winrt::Windows::Services::Store::StoreDurationUnit value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSubscriptionInfo)->get_TrialPeriodUnit(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreUninstallStorePackageResult::ExtendedError() const + template auto consume_Windows_Services_Store_IStoreUninstallStorePackageResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreUninstallStorePackageResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreUninstallStorePackageStatus) consume_Windows_Services_Store_IStoreUninstallStorePackageResult::Status() const + template auto consume_Windows_Services_Store_IStoreUninstallStorePackageResult::Status() const { winrt::Windows::Services::Store::StoreUninstallStorePackageStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreUninstallStorePackageResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Services_Store_IStoreVideo::Uri() const + template auto consume_Windows_Services_Store_IStoreVideo::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreVideo)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreVideo::VideoPurposeTag() const + template auto consume_Windows_Services_Store_IStoreVideo::VideoPurposeTag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreVideo)->get_VideoPurposeTag(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_Store_IStoreVideo::Width() const + template auto consume_Windows_Services_Store_IStoreVideo::Width() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreVideo)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_Store_IStoreVideo::Height() const + template auto consume_Windows_Services_Store_IStoreVideo::Height() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreVideo)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreVideo::Caption() const + template auto consume_Windows_Services_Store_IStoreVideo::Caption() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreVideo)->get_Caption(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreImage) consume_Windows_Services_Store_IStoreVideo::PreviewImage() const + template auto consume_Windows_Services_Store_IStoreVideo::PreviewImage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreVideo)->get_PreviewImage(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Services.TargetedContent.h b/internal/platform/implementation/windows/generated/winrt/Windows.Services.TargetedContent.h index 15977b4e..7f4f4ecd 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Services.TargetedContent.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Services.TargetedContent.h @@ -1,390 +1,390 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_TargetedContent_H #define WINRT_Windows_Services_TargetedContent_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.Services.TargetedContent.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_TargetedContent_ITargetedContentAction::InvokeAsync() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentAction::InvokeAsync() const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentAction)->InvokeAsync(&asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Services_TargetedContent_ITargetedContentAvailabilityChangedEventArgs::GetDeferral() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentAvailabilityChangedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentAvailabilityChangedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Services_TargetedContent_ITargetedContentChangedEventArgs::GetDeferral() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentChangedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentChangedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_TargetedContent_ITargetedContentChangedEventArgs::HasPreviousContentExpired() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentChangedEventArgs::HasPreviousContentExpired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentChangedEventArgs)->get_HasPreviousContentExpired(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_TargetedContent_ITargetedContentCollection::Id() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentCollection::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentCollection)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentCollection::ReportInteraction(winrt::Windows::Services::TargetedContent::TargetedContentInteraction const& interaction) const + template auto consume_Windows_Services_TargetedContent_ITargetedContentCollection::ReportInteraction(winrt::Windows::Services::TargetedContent::TargetedContentInteraction const& interaction) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentCollection)->ReportInteraction(static_cast(interaction))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentCollection::ReportCustomInteraction(param::hstring const& customInteractionName) const + template auto consume_Windows_Services_TargetedContent_ITargetedContentCollection::ReportCustomInteraction(param::hstring const& customInteractionName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentCollection)->ReportCustomInteraction(*(void**)(&customInteractionName))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_TargetedContent_ITargetedContentCollection::Path() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentCollection::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentCollection)->get_Path(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Services_TargetedContent_ITargetedContentCollection::Properties() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentCollection::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentCollection)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_TargetedContent_ITargetedContentCollection::Collections() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentCollection::Collections() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentCollection)->get_Collections(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_TargetedContent_ITargetedContentCollection::Items() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentCollection::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentCollection)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_TargetedContent_ITargetedContentContainer::Id() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentContainer::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentContainer)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Services_TargetedContent_ITargetedContentContainer::Timestamp() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentContainer::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentContainer)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentAvailability) consume_Windows_Services_TargetedContent_ITargetedContentContainer::Availability() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentContainer::Availability() const { winrt::Windows::Services::TargetedContent::TargetedContentAvailability value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentContainer)->get_Availability(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentCollection) consume_Windows_Services_TargetedContent_ITargetedContentContainer::Content() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentContainer::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentContainer)->get_Content(&value)); return winrt::Windows::Services::TargetedContent::TargetedContentCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentObject) consume_Windows_Services_TargetedContent_ITargetedContentContainer::SelectSingleObject(param::hstring const& path) const + template auto consume_Windows_Services_TargetedContent_ITargetedContentContainer::SelectSingleObject(param::hstring const& path) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentContainer)->SelectSingleObject(*(void**)(&path), &value)); return winrt::Windows::Services::TargetedContent::TargetedContentObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_TargetedContent_ITargetedContentContainerStatics::GetAsync(param::hstring const& contentId) const + template auto consume_Windows_Services_TargetedContent_ITargetedContentContainerStatics::GetAsync(param::hstring const& contentId) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentContainerStatics)->GetAsync(*(void**)(&contentId), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_TargetedContent_ITargetedContentImage::Height() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentImage::Height() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentImage)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_TargetedContent_ITargetedContentImage::Width() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentImage::Width() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentImage)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_TargetedContent_ITargetedContentItem::Path() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentItem::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentItem)->get_Path(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentItem::ReportInteraction(winrt::Windows::Services::TargetedContent::TargetedContentInteraction const& interaction) const + template auto consume_Windows_Services_TargetedContent_ITargetedContentItem::ReportInteraction(winrt::Windows::Services::TargetedContent::TargetedContentInteraction const& interaction) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentItem)->ReportInteraction(static_cast(interaction))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentItem::ReportCustomInteraction(param::hstring const& customInteractionName) const + template auto consume_Windows_Services_TargetedContent_ITargetedContentItem::ReportCustomInteraction(param::hstring const& customInteractionName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentItem)->ReportCustomInteraction(*(void**)(&customInteractionName))); } - template WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentItemState) consume_Windows_Services_TargetedContent_ITargetedContentItem::State() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentItem::State() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentItem)->get_State(&value)); return winrt::Windows::Services::TargetedContent::TargetedContentItemState{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Services_TargetedContent_ITargetedContentItem::Properties() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentItem::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentItem)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_TargetedContent_ITargetedContentItem::Collections() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentItem::Collections() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentItem)->get_Collections(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_TargetedContent_ITargetedContentItemState::ShouldDisplay() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentItemState::ShouldDisplay() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentItemState)->get_ShouldDisplay(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentAppInstallationState) consume_Windows_Services_TargetedContent_ITargetedContentItemState::AppInstallationState() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentItemState::AppInstallationState() const { winrt::Windows::Services::TargetedContent::TargetedContentAppInstallationState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentItemState)->get_AppInstallationState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentObjectKind) consume_Windows_Services_TargetedContent_ITargetedContentObject::ObjectKind() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentObject::ObjectKind() const { winrt::Windows::Services::TargetedContent::TargetedContentObjectKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentObject)->get_ObjectKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentCollection) consume_Windows_Services_TargetedContent_ITargetedContentObject::Collection() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentObject::Collection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentObject)->get_Collection(&value)); return winrt::Windows::Services::TargetedContent::TargetedContentCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentItem) consume_Windows_Services_TargetedContent_ITargetedContentObject::Item() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentObject::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentObject)->get_Item(&value)); return winrt::Windows::Services::TargetedContent::TargetedContentItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentValue) consume_Windows_Services_TargetedContent_ITargetedContentObject::Value() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentObject::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentObject)->get_Value(&value)); return winrt::Windows::Services::TargetedContent::TargetedContentValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Services_TargetedContent_ITargetedContentStateChangedEventArgs::GetDeferral() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentStateChangedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentStateChangedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_TargetedContent_ITargetedContentSubscription::Id() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscription)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_TargetedContent_ITargetedContentSubscription::GetContentContainerAsync() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription::GetContentContainerAsync() const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscription)->GetContentContainerAsync(&asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_TargetedContent_ITargetedContentSubscription::ContentChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription::ContentChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscription)->add_ContentChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Services_TargetedContent_ITargetedContentSubscription::ContentChanged_revoker consume_Windows_Services_TargetedContent_ITargetedContentSubscription::ContentChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription::ContentChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContentChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentSubscription::ContentChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription::ContentChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscription)->remove_ContentChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_TargetedContent_ITargetedContentSubscription::AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription::AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscription)->add_AvailabilityChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Services_TargetedContent_ITargetedContentSubscription::AvailabilityChanged_revoker consume_Windows_Services_TargetedContent_ITargetedContentSubscription::AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription::AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AvailabilityChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentSubscription::AvailabilityChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription::AvailabilityChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscription)->remove_AvailabilityChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_TargetedContent_ITargetedContentSubscription::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscription)->add_StateChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_Services_TargetedContent_ITargetedContentSubscription::StateChanged_revoker consume_Windows_Services_TargetedContent_ITargetedContentSubscription::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentSubscription::StateChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription::StateChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscription)->remove_StateChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions::SubscriptionId() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions::SubscriptionId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscriptionOptions)->get_SubscriptionId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions::AllowPartialContentAvailability() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions::AllowPartialContentAvailability() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscriptionOptions)->get_AllowPartialContentAvailability(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions::AllowPartialContentAvailability(bool value) const + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions::AllowPartialContentAvailability(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscriptionOptions)->put_AllowPartialContentAvailability(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions::CloudQueryParameters() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions::CloudQueryParameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscriptionOptions)->get_CloudQueryParameters(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions::LocalFilters() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions::LocalFilters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscriptionOptions)->get_LocalFilters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions::Update() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions::Update() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscriptionOptions)->Update()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionStatics::GetAsync(param::hstring const& subscriptionId) const + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionStatics::GetAsync(param::hstring const& subscriptionId) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscriptionStatics)->GetAsync(*(void**)(&subscriptionId), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentSubscriptionOptions) consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionStatics::GetOptions(param::hstring const& subscriptionId) const + template auto consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionStatics::GetOptions(param::hstring const& subscriptionId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscriptionStatics)->GetOptions(*(void**)(&subscriptionId), &value)); return winrt::Windows::Services::TargetedContent::TargetedContentSubscriptionOptions{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentValueKind) consume_Windows_Services_TargetedContent_ITargetedContentValue::ValueKind() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentValue::ValueKind() const { winrt::Windows::Services::TargetedContent::TargetedContentValueKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_ValueKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_TargetedContent_ITargetedContentValue::Path() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentValue::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Path(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Services_TargetedContent_ITargetedContentValue::String() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentValue::String() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_String(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Services_TargetedContent_ITargetedContentValue::Uri() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentValue::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_Services_TargetedContent_ITargetedContentValue::Number() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentValue::Number() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Number(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Services_TargetedContent_ITargetedContentValue::Boolean() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentValue::Boolean() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Boolean(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentFile) consume_Windows_Services_TargetedContent_ITargetedContentValue::File() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentValue::File() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_File(&value)); return winrt::Windows::Services::TargetedContent::TargetedContentFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentImage) consume_Windows_Services_TargetedContent_ITargetedContentValue::ImageFile() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentValue::ImageFile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_ImageFile(&value)); return winrt::Windows::Services::TargetedContent::TargetedContentImage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentAction) consume_Windows_Services_TargetedContent_ITargetedContentValue::Action() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentValue::Action() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Action(&value)); return winrt::Windows::Services::TargetedContent::TargetedContentAction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_TargetedContent_ITargetedContentValue::Strings() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentValue::Strings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Strings(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_TargetedContent_ITargetedContentValue::Uris() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentValue::Uris() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Uris(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_TargetedContent_ITargetedContentValue::Numbers() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentValue::Numbers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Numbers(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_TargetedContent_ITargetedContentValue::Booleans() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentValue::Booleans() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Booleans(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_TargetedContent_ITargetedContentValue::Files() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentValue::Files() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Files(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_TargetedContent_ITargetedContentValue::ImageFiles() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentValue::ImageFiles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_ImageFiles(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Services_TargetedContent_ITargetedContentValue::Actions() const + template auto consume_Windows_Services_TargetedContent_ITargetedContentValue::Actions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Actions(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.AccessCache.h b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.AccessCache.h index d4395b2d..7ca3d333 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.AccessCache.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.AccessCache.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_AccessCache_H #define WINRT_Windows_Storage_AccessCache_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Storage.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,145 +14,145 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Storage.AccessCache.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::AccessListEntry) consume_Windows_Storage_AccessCache_IItemRemovedEventArgs::RemovedEntry() const + template auto consume_Windows_Storage_AccessCache_IItemRemovedEventArgs::RemovedEntry() const { winrt::Windows::Storage::AccessCache::AccessListEntry value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IItemRemovedEventArgs)->get_RemovedEntry(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::StorageItemAccessList) consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics::FutureAccessList() const + template auto consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics::FutureAccessList() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageApplicationPermissionsStatics)->get_FutureAccessList(&value)); return winrt::Windows::Storage::AccessCache::StorageItemAccessList{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::StorageItemMostRecentlyUsedList) consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics::MostRecentlyUsedList() const + template auto consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics::MostRecentlyUsedList() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageApplicationPermissionsStatics)->get_MostRecentlyUsedList(&value)); return winrt::Windows::Storage::AccessCache::StorageItemMostRecentlyUsedList{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::StorageItemAccessList) consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics2::GetFutureAccessListForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics2::GetFutureAccessListForUser(winrt::Windows::System::User const& user) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageApplicationPermissionsStatics2)->GetFutureAccessListForUser(*(void**)(&user), &value)); return winrt::Windows::Storage::AccessCache::StorageItemAccessList{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::StorageItemMostRecentlyUsedList) consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics2::GetMostRecentlyUsedListForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics2::GetMostRecentlyUsedListForUser(winrt::Windows::System::User const& user) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageApplicationPermissionsStatics2)->GetMostRecentlyUsedListForUser(*(void**)(&user), &value)); return winrt::Windows::Storage::AccessCache::StorageItemMostRecentlyUsedList{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_AccessCache_IStorageItemAccessList::Add(winrt::Windows::Storage::IStorageItem const& file) const + template auto consume_Windows_Storage_AccessCache_IStorageItemAccessList::Add(winrt::Windows::Storage::IStorageItem const& file) const { void* token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->AddOverloadDefaultMetadata(*(void**)(&file), &token)); return hstring{ token, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_AccessCache_IStorageItemAccessList::Add(winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata) const + template auto consume_Windows_Storage_AccessCache_IStorageItemAccessList::Add(winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata) const { void* token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->Add(*(void**)(&file), *(void**)(&metadata), &token)); return hstring{ token, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_AccessCache_IStorageItemAccessList::AddOrReplace(param::hstring const& token, winrt::Windows::Storage::IStorageItem const& file) const + template auto consume_Windows_Storage_AccessCache_IStorageItemAccessList::AddOrReplace(param::hstring const& token, winrt::Windows::Storage::IStorageItem const& file) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->AddOrReplaceOverloadDefaultMetadata(*(void**)(&token), *(void**)(&file))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_AccessCache_IStorageItemAccessList::AddOrReplace(param::hstring const& token, winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata) const + template auto consume_Windows_Storage_AccessCache_IStorageItemAccessList::AddOrReplace(param::hstring const& token, winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->AddOrReplace(*(void**)(&token), *(void**)(&file), *(void**)(&metadata))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_AccessCache_IStorageItemAccessList::GetItemAsync(param::hstring const& token) const + template auto consume_Windows_Storage_AccessCache_IStorageItemAccessList::GetItemAsync(param::hstring const& token) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->GetItemAsync(*(void**)(&token), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_AccessCache_IStorageItemAccessList::GetFileAsync(param::hstring const& token) const + template auto consume_Windows_Storage_AccessCache_IStorageItemAccessList::GetFileAsync(param::hstring const& token) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->GetFileAsync(*(void**)(&token), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_AccessCache_IStorageItemAccessList::GetFolderAsync(param::hstring const& token) const + template auto consume_Windows_Storage_AccessCache_IStorageItemAccessList::GetFolderAsync(param::hstring const& token) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->GetFolderAsync(*(void**)(&token), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_AccessCache_IStorageItemAccessList::GetItemAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const + template auto consume_Windows_Storage_AccessCache_IStorageItemAccessList::GetItemAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->GetItemWithOptionsAsync(*(void**)(&token), static_cast(options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_AccessCache_IStorageItemAccessList::GetFileAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const + template auto consume_Windows_Storage_AccessCache_IStorageItemAccessList::GetFileAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->GetFileWithOptionsAsync(*(void**)(&token), static_cast(options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_AccessCache_IStorageItemAccessList::GetFolderAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const + template auto consume_Windows_Storage_AccessCache_IStorageItemAccessList::GetFolderAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->GetFolderWithOptionsAsync(*(void**)(&token), static_cast(options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_AccessCache_IStorageItemAccessList::Remove(param::hstring const& token) const + template auto consume_Windows_Storage_AccessCache_IStorageItemAccessList::Remove(param::hstring const& token) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->Remove(*(void**)(&token))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_AccessCache_IStorageItemAccessList::ContainsItem(param::hstring const& token) const + template auto consume_Windows_Storage_AccessCache_IStorageItemAccessList::ContainsItem(param::hstring const& token) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->ContainsItem(*(void**)(&token), &value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_AccessCache_IStorageItemAccessList::Clear() const + template auto consume_Windows_Storage_AccessCache_IStorageItemAccessList::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->Clear()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_AccessCache_IStorageItemAccessList::CheckAccess(winrt::Windows::Storage::IStorageItem const& file) const + template auto consume_Windows_Storage_AccessCache_IStorageItemAccessList::CheckAccess(winrt::Windows::Storage::IStorageItem const& file) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->CheckAccess(*(void**)(&file), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::AccessListEntryView) consume_Windows_Storage_AccessCache_IStorageItemAccessList::Entries() const + template auto consume_Windows_Storage_AccessCache_IStorageItemAccessList::Entries() const { void* entries{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->get_Entries(&entries)); return winrt::Windows::Storage::AccessCache::AccessListEntryView{ entries, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_AccessCache_IStorageItemAccessList::MaximumItemsAllowed() const + template auto consume_Windows_Storage_AccessCache_IStorageItemAccessList::MaximumItemsAllowed() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->get_MaximumItemsAllowed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList::ItemRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList::ItemRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemMostRecentlyUsedList)->add_ItemRemoved(*(void**)(&handler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList::ItemRemoved_revoker consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList::ItemRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList::ItemRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemRemoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList::ItemRemoved(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList::ItemRemoved(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemMostRecentlyUsedList)->remove_ItemRemoved(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList2::Add(winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata, winrt::Windows::Storage::AccessCache::RecentStorageItemVisibility const& visibility) const + template auto consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList2::Add(winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata, winrt::Windows::Storage::AccessCache::RecentStorageItemVisibility const& visibility) const { void* token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemMostRecentlyUsedList2)->AddWithMetadataAndVisibility(*(void**)(&file), *(void**)(&metadata), static_cast(visibility), &token)); return hstring{ token, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList2::AddOrReplace(param::hstring const& token, winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata, winrt::Windows::Storage::AccessCache::RecentStorageItemVisibility const& visibility) const + template auto consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList2::AddOrReplace(param::hstring const& token, winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata, winrt::Windows::Storage::AccessCache::RecentStorageItemVisibility const& visibility) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemMostRecentlyUsedList2)->AddOrReplaceWithMetadataAndVisibility(*(void**)(&token), *(void**)(&file), *(void**)(&metadata), static_cast(visibility))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.BulkAccess.h b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.BulkAccess.h index 7d31d981..2faa8461 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.BulkAccess.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.BulkAccess.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_BulkAccess_H #define WINRT_Windows_Storage_BulkAccess_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Storage.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -16,145 +16,145 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Storage.BulkAccess.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetItemsAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const + template auto consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetItemsAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IFileInformationFactory)->GetItemsAsync(startIndex, maxItemsToRetrieve, &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetItemsAsync() const + template auto consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetItemsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IFileInformationFactory)->GetItemsAsyncDefaultStartAndCount(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetFilesAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const + template auto consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetFilesAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IFileInformationFactory)->GetFilesAsync(startIndex, maxItemsToRetrieve, &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetFilesAsync() const + template auto consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetFilesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IFileInformationFactory)->GetFilesAsyncDefaultStartAndCount(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetFoldersAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const + template auto consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetFoldersAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IFileInformationFactory)->GetFoldersAsync(startIndex, maxItemsToRetrieve, &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetFoldersAsync() const + template auto consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetFoldersAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IFileInformationFactory)->GetFoldersAsyncDefaultStartAndCount(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetVirtualizedItemsVector() const + template auto consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetVirtualizedItemsVector() const { void* vector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IFileInformationFactory)->GetVirtualizedItemsVector(&vector)); return winrt::Windows::Foundation::IInspectable{ vector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetVirtualizedFilesVector() const + template auto consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetVirtualizedFilesVector() const { void* vector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IFileInformationFactory)->GetVirtualizedFilesVector(&vector)); return winrt::Windows::Foundation::IInspectable{ vector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetVirtualizedFoldersVector() const + template auto consume_Windows_Storage_BulkAccess_IFileInformationFactory::GetVirtualizedFoldersVector() const { void* vector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IFileInformationFactory)->GetVirtualizedFoldersVector(&vector)); return winrt::Windows::Foundation::IInspectable{ vector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::BulkAccess::FileInformationFactory) consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory::CreateWithMode(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const + template auto consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory::CreateWithMode(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IFileInformationFactoryFactory)->CreateWithMode(*(void**)(&queryResult), static_cast(mode), &value)); return winrt::Windows::Storage::BulkAccess::FileInformationFactory{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::BulkAccess::FileInformationFactory) consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory::CreateWithModeAndSize(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedThumbnailSize) const + template auto consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory::CreateWithModeAndSize(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedThumbnailSize) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IFileInformationFactoryFactory)->CreateWithModeAndSize(*(void**)(&queryResult), static_cast(mode), requestedThumbnailSize, &value)); return winrt::Windows::Storage::BulkAccess::FileInformationFactory{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::BulkAccess::FileInformationFactory) consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory::CreateWithModeAndSizeAndOptions(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedThumbnailSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& thumbnailOptions) const + template auto consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory::CreateWithModeAndSizeAndOptions(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedThumbnailSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& thumbnailOptions) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IFileInformationFactoryFactory)->CreateWithModeAndSizeAndOptions(*(void**)(&queryResult), static_cast(mode), requestedThumbnailSize, static_cast(thumbnailOptions), &value)); return winrt::Windows::Storage::BulkAccess::FileInformationFactory{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::BulkAccess::FileInformationFactory) consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory::CreateWithModeAndSizeAndOptionsAndFlags(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedThumbnailSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& thumbnailOptions, bool delayLoad) const + template auto consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory::CreateWithModeAndSizeAndOptionsAndFlags(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedThumbnailSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& thumbnailOptions, bool delayLoad) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IFileInformationFactoryFactory)->CreateWithModeAndSizeAndOptionsAndFlags(*(void**)(&queryResult), static_cast(mode), requestedThumbnailSize, static_cast(thumbnailOptions), delayLoad, &value)); return winrt::Windows::Storage::BulkAccess::FileInformationFactory{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::MusicProperties) consume_Windows_Storage_BulkAccess_IStorageItemInformation::MusicProperties() const + template auto consume_Windows_Storage_BulkAccess_IStorageItemInformation::MusicProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IStorageItemInformation)->get_MusicProperties(&value)); return winrt::Windows::Storage::FileProperties::MusicProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::VideoProperties) consume_Windows_Storage_BulkAccess_IStorageItemInformation::VideoProperties() const + template auto consume_Windows_Storage_BulkAccess_IStorageItemInformation::VideoProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IStorageItemInformation)->get_VideoProperties(&value)); return winrt::Windows::Storage::FileProperties::VideoProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::ImageProperties) consume_Windows_Storage_BulkAccess_IStorageItemInformation::ImageProperties() const + template auto consume_Windows_Storage_BulkAccess_IStorageItemInformation::ImageProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IStorageItemInformation)->get_ImageProperties(&value)); return winrt::Windows::Storage::FileProperties::ImageProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::DocumentProperties) consume_Windows_Storage_BulkAccess_IStorageItemInformation::DocumentProperties() const + template auto consume_Windows_Storage_BulkAccess_IStorageItemInformation::DocumentProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IStorageItemInformation)->get_DocumentProperties(&value)); return winrt::Windows::Storage::FileProperties::DocumentProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::BasicProperties) consume_Windows_Storage_BulkAccess_IStorageItemInformation::BasicProperties() const + template auto consume_Windows_Storage_BulkAccess_IStorageItemInformation::BasicProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IStorageItemInformation)->get_BasicProperties(&value)); return winrt::Windows::Storage::FileProperties::BasicProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::StorageItemThumbnail) consume_Windows_Storage_BulkAccess_IStorageItemInformation::Thumbnail() const + template auto consume_Windows_Storage_BulkAccess_IStorageItemInformation::Thumbnail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IStorageItemInformation)->get_Thumbnail(&value)); return winrt::Windows::Storage::FileProperties::StorageItemThumbnail{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_BulkAccess_IStorageItemInformation::ThumbnailUpdated(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const + template auto consume_Windows_Storage_BulkAccess_IStorageItemInformation::ThumbnailUpdated(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IStorageItemInformation)->add_ThumbnailUpdated(*(void**)(&changedHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Storage_BulkAccess_IStorageItemInformation::ThumbnailUpdated_revoker consume_Windows_Storage_BulkAccess_IStorageItemInformation::ThumbnailUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const + template auto consume_Windows_Storage_BulkAccess_IStorageItemInformation::ThumbnailUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const { return impl::make_event_revoker(this, ThumbnailUpdated(changedHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_BulkAccess_IStorageItemInformation::ThumbnailUpdated(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Storage_BulkAccess_IStorageItemInformation::ThumbnailUpdated(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IStorageItemInformation)->remove_ThumbnailUpdated(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_BulkAccess_IStorageItemInformation::PropertiesUpdated(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const + template auto consume_Windows_Storage_BulkAccess_IStorageItemInformation::PropertiesUpdated(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IStorageItemInformation)->add_PropertiesUpdated(*(void**)(&changedHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Storage_BulkAccess_IStorageItemInformation::PropertiesUpdated_revoker consume_Windows_Storage_BulkAccess_IStorageItemInformation::PropertiesUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const + template auto consume_Windows_Storage_BulkAccess_IStorageItemInformation::PropertiesUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const { return impl::make_event_revoker(this, PropertiesUpdated(changedHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_BulkAccess_IStorageItemInformation::PropertiesUpdated(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Storage_BulkAccess_IStorageItemInformation::PropertiesUpdated(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IStorageItemInformation)->remove_PropertiesUpdated(impl::bind_in(eventCookie)); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Compression.h b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Compression.h index d73a65c9..5df308ac 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Compression.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Compression.h @@ -1,48 +1,48 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Compression_H #define WINRT_Windows_Storage_Compression_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Storage.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.Storage.Compression.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Compression_ICompressor::FinishAsync() const + template auto consume_Windows_Storage_Compression_ICompressor::FinishAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Compression::ICompressor)->FinishAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Storage_Compression_ICompressor::DetachStream() const + template auto consume_Windows_Storage_Compression_ICompressor::DetachStream() const { void* stream{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Compression::ICompressor)->DetachStream(&stream)); return winrt::Windows::Storage::Streams::IOutputStream{ stream, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Compression::Compressor) consume_Windows_Storage_Compression_ICompressorFactory::CreateCompressor(winrt::Windows::Storage::Streams::IOutputStream const& underlyingStream) const + template auto consume_Windows_Storage_Compression_ICompressorFactory::CreateCompressor(winrt::Windows::Storage::Streams::IOutputStream const& underlyingStream) const { void* createdCompressor{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Compression::ICompressorFactory)->CreateCompressor(*(void**)(&underlyingStream), &createdCompressor)); return winrt::Windows::Storage::Compression::Compressor{ createdCompressor, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Compression::Compressor) consume_Windows_Storage_Compression_ICompressorFactory::CreateCompressorEx(winrt::Windows::Storage::Streams::IOutputStream const& underlyingStream, winrt::Windows::Storage::Compression::CompressAlgorithm const& algorithm, uint32_t blockSize) const + template auto consume_Windows_Storage_Compression_ICompressorFactory::CreateCompressorEx(winrt::Windows::Storage::Streams::IOutputStream const& underlyingStream, winrt::Windows::Storage::Compression::CompressAlgorithm const& algorithm, uint32_t blockSize) const { void* createdCompressor{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Compression::ICompressorFactory)->CreateCompressorEx(*(void**)(&underlyingStream), static_cast(algorithm), blockSize, &createdCompressor)); return winrt::Windows::Storage::Compression::Compressor{ createdCompressor, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Storage_Compression_IDecompressor::DetachStream() const + template auto consume_Windows_Storage_Compression_IDecompressor::DetachStream() const { void* stream{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Compression::IDecompressor)->DetachStream(&stream)); return winrt::Windows::Storage::Streams::IInputStream{ stream, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Compression::Decompressor) consume_Windows_Storage_Compression_IDecompressorFactory::CreateDecompressor(winrt::Windows::Storage::Streams::IInputStream const& underlyingStream) const + template auto consume_Windows_Storage_Compression_IDecompressorFactory::CreateDecompressor(winrt::Windows::Storage::Streams::IInputStream const& underlyingStream) const { void* createdDecompressor{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Compression::IDecompressorFactory)->CreateDecompressor(*(void**)(&underlyingStream), &createdDecompressor)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.FileProperties.h b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.FileProperties.h index b440c15a..7b937b60 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.FileProperties.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.FileProperties.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_FileProperties_H #define WINRT_Windows_Storage_FileProperties_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Storage.h" #include "winrt/impl/Windows.Devices.Geolocation.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -15,475 +15,475 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Storage.FileProperties.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_FileProperties_IBasicProperties::Size() const + template auto consume_Windows_Storage_FileProperties_IBasicProperties::Size() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IBasicProperties)->get_Size(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Storage_FileProperties_IBasicProperties::DateModified() const + template auto consume_Windows_Storage_FileProperties_IBasicProperties::DateModified() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IBasicProperties)->get_DateModified(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Storage_FileProperties_IBasicProperties::ItemDate() const + template auto consume_Windows_Storage_FileProperties_IBasicProperties::ItemDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IBasicProperties)->get_ItemDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_FileProperties_IDocumentProperties::Author() const + template auto consume_Windows_Storage_FileProperties_IDocumentProperties::Author() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IDocumentProperties)->get_Author(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IDocumentProperties::Title() const + template auto consume_Windows_Storage_FileProperties_IDocumentProperties::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IDocumentProperties)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IDocumentProperties::Title(param::hstring const& value) const + template auto consume_Windows_Storage_FileProperties_IDocumentProperties::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IDocumentProperties)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_FileProperties_IDocumentProperties::Keywords() const + template auto consume_Windows_Storage_FileProperties_IDocumentProperties::Keywords() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IDocumentProperties)->get_Keywords(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IDocumentProperties::Comment() const + template auto consume_Windows_Storage_FileProperties_IDocumentProperties::Comment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IDocumentProperties)->get_Comment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IDocumentProperties::Comment(param::hstring const& value) const + template auto consume_Windows_Storage_FileProperties_IDocumentProperties::Comment(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IDocumentProperties)->put_Comment(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_FileProperties_IGeotagHelperStatics::GetGeotagAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Storage_FileProperties_IGeotagHelperStatics::GetGeotagAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IGeotagHelperStatics)->GetGeotagAsync(*(void**)(&file), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_FileProperties_IGeotagHelperStatics::SetGeotagFromGeolocatorAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Devices::Geolocation::Geolocator const& geolocator) const + template auto consume_Windows_Storage_FileProperties_IGeotagHelperStatics::SetGeotagFromGeolocatorAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Devices::Geolocation::Geolocator const& geolocator) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IGeotagHelperStatics)->SetGeotagFromGeolocatorAsync(*(void**)(&file), *(void**)(&geolocator), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_FileProperties_IGeotagHelperStatics::SetGeotagAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Devices::Geolocation::Geopoint const& geopoint) const + template auto consume_Windows_Storage_FileProperties_IGeotagHelperStatics::SetGeotagAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Devices::Geolocation::Geopoint const& geopoint) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IGeotagHelperStatics)->SetGeotagAsync(*(void**)(&file), *(void**)(&geopoint), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IImageProperties::Rating() const + template auto consume_Windows_Storage_FileProperties_IImageProperties::Rating() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Rating(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IImageProperties::Rating(uint32_t value) const + template auto consume_Windows_Storage_FileProperties_IImageProperties::Rating(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->put_Rating(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_FileProperties_IImageProperties::Keywords() const + template auto consume_Windows_Storage_FileProperties_IImageProperties::Keywords() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Keywords(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Storage_FileProperties_IImageProperties::DateTaken() const + template auto consume_Windows_Storage_FileProperties_IImageProperties::DateTaken() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_DateTaken(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IImageProperties::DateTaken(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_Storage_FileProperties_IImageProperties::DateTaken(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->put_DateTaken(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IImageProperties::Width() const + template auto consume_Windows_Storage_FileProperties_IImageProperties::Width() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IImageProperties::Height() const + template auto consume_Windows_Storage_FileProperties_IImageProperties::Height() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IImageProperties::Title() const + template auto consume_Windows_Storage_FileProperties_IImageProperties::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IImageProperties::Title(param::hstring const& value) const + template auto consume_Windows_Storage_FileProperties_IImageProperties::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Storage_FileProperties_IImageProperties::Latitude() const + template auto consume_Windows_Storage_FileProperties_IImageProperties::Latitude() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Latitude(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Storage_FileProperties_IImageProperties::Longitude() const + template auto consume_Windows_Storage_FileProperties_IImageProperties::Longitude() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Longitude(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IImageProperties::CameraManufacturer() const + template auto consume_Windows_Storage_FileProperties_IImageProperties::CameraManufacturer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_CameraManufacturer(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IImageProperties::CameraManufacturer(param::hstring const& value) const + template auto consume_Windows_Storage_FileProperties_IImageProperties::CameraManufacturer(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->put_CameraManufacturer(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IImageProperties::CameraModel() const + template auto consume_Windows_Storage_FileProperties_IImageProperties::CameraModel() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_CameraModel(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IImageProperties::CameraModel(param::hstring const& value) const + template auto consume_Windows_Storage_FileProperties_IImageProperties::CameraModel(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->put_CameraModel(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::PhotoOrientation) consume_Windows_Storage_FileProperties_IImageProperties::Orientation() const + template auto consume_Windows_Storage_FileProperties_IImageProperties::Orientation() const { winrt::Windows::Storage::FileProperties::PhotoOrientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Storage_FileProperties_IImageProperties::PeopleNames() const + template auto consume_Windows_Storage_FileProperties_IImageProperties::PeopleNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_PeopleNames(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties::Album() const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Album() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Album(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties::Album(param::hstring const& value) const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Album(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Album(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties::Artist() const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Artist() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Artist(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties::Artist(param::hstring const& value) const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Artist(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Artist(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_FileProperties_IMusicProperties::Genre() const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Genre() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Genre(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IMusicProperties::TrackNumber() const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::TrackNumber() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_TrackNumber(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties::TrackNumber(uint32_t value) const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::TrackNumber(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_TrackNumber(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties::Title() const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties::Title(param::hstring const& value) const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IMusicProperties::Rating() const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Rating() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Rating(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties::Rating(uint32_t value) const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Rating(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Rating(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Storage_FileProperties_IMusicProperties::Duration() const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IMusicProperties::Bitrate() const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Bitrate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Bitrate(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties::AlbumArtist() const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::AlbumArtist() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_AlbumArtist(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties::AlbumArtist(param::hstring const& value) const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::AlbumArtist(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_AlbumArtist(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_FileProperties_IMusicProperties::Composers() const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Composers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Composers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_FileProperties_IMusicProperties::Conductors() const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Conductors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Conductors(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties::Subtitle() const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Subtitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Subtitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties::Subtitle(param::hstring const& value) const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Subtitle(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Subtitle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_FileProperties_IMusicProperties::Producers() const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Producers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Producers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties::Publisher() const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Publisher() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Publisher(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties::Publisher(param::hstring const& value) const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Publisher(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Publisher(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_FileProperties_IMusicProperties::Writers() const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Writers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Writers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IMusicProperties::Year() const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Year() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Year(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties::Year(uint32_t value) const + template auto consume_Windows_Storage_FileProperties_IMusicProperties::Year(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Year(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_FileProperties_IStorageItemContentProperties::GetMusicPropertiesAsync() const + template auto consume_Windows_Storage_FileProperties_IStorageItemContentProperties::GetMusicPropertiesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemContentProperties)->GetMusicPropertiesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_FileProperties_IStorageItemContentProperties::GetVideoPropertiesAsync() const + template auto consume_Windows_Storage_FileProperties_IStorageItemContentProperties::GetVideoPropertiesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemContentProperties)->GetVideoPropertiesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_FileProperties_IStorageItemContentProperties::GetImagePropertiesAsync() const + template auto consume_Windows_Storage_FileProperties_IStorageItemContentProperties::GetImagePropertiesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemContentProperties)->GetImagePropertiesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_FileProperties_IStorageItemContentProperties::GetDocumentPropertiesAsync() const + template auto consume_Windows_Storage_FileProperties_IStorageItemContentProperties::GetDocumentPropertiesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemContentProperties)->GetDocumentPropertiesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_FileProperties_IStorageItemExtraProperties::RetrievePropertiesAsync(param::async_iterable const& propertiesToRetrieve) const + template auto consume_Windows_Storage_FileProperties_IStorageItemExtraProperties::RetrievePropertiesAsync(param::async_iterable const& propertiesToRetrieve) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemExtraProperties)->RetrievePropertiesAsync(*(void**)(&propertiesToRetrieve), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_FileProperties_IStorageItemExtraProperties::SavePropertiesAsync(param::async_iterable> const& propertiesToSave) const + template auto consume_Windows_Storage_FileProperties_IStorageItemExtraProperties::SavePropertiesAsync(param::async_iterable> const& propertiesToSave) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemExtraProperties)->SavePropertiesAsync(*(void**)(&propertiesToSave), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_FileProperties_IStorageItemExtraProperties::SavePropertiesAsync() const + template auto consume_Windows_Storage_FileProperties_IStorageItemExtraProperties::SavePropertiesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemExtraProperties)->SavePropertiesAsyncOverloadDefault(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IThumbnailProperties::OriginalWidth() const + template auto consume_Windows_Storage_FileProperties_IThumbnailProperties::OriginalWidth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IThumbnailProperties)->get_OriginalWidth(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IThumbnailProperties::OriginalHeight() const + template auto consume_Windows_Storage_FileProperties_IThumbnailProperties::OriginalHeight() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IThumbnailProperties)->get_OriginalHeight(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_FileProperties_IThumbnailProperties::ReturnedSmallerCachedSize() const + template auto consume_Windows_Storage_FileProperties_IThumbnailProperties::ReturnedSmallerCachedSize() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IThumbnailProperties)->get_ReturnedSmallerCachedSize(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::ThumbnailType) consume_Windows_Storage_FileProperties_IThumbnailProperties::Type() const + template auto consume_Windows_Storage_FileProperties_IThumbnailProperties::Type() const { winrt::Windows::Storage::FileProperties::ThumbnailType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IThumbnailProperties)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IVideoProperties::Rating() const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Rating() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Rating(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IVideoProperties::Rating(uint32_t value) const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Rating(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->put_Rating(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_FileProperties_IVideoProperties::Keywords() const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Keywords() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Keywords(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IVideoProperties::Width() const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Width() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IVideoProperties::Height() const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Height() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Storage_FileProperties_IVideoProperties::Duration() const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Storage_FileProperties_IVideoProperties::Latitude() const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Latitude() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Latitude(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Storage_FileProperties_IVideoProperties::Longitude() const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Longitude() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Longitude(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IVideoProperties::Title() const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IVideoProperties::Title(param::hstring const& value) const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IVideoProperties::Subtitle() const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Subtitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Subtitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IVideoProperties::Subtitle(param::hstring const& value) const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Subtitle(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->put_Subtitle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_FileProperties_IVideoProperties::Producers() const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Producers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Producers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IVideoProperties::Publisher() const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Publisher() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Publisher(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IVideoProperties::Publisher(param::hstring const& value) const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Publisher(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->put_Publisher(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_FileProperties_IVideoProperties::Writers() const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Writers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Writers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IVideoProperties::Year() const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Year() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Year(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IVideoProperties::Year(uint32_t value) const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Year(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->put_Year(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IVideoProperties::Bitrate() const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Bitrate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Bitrate(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_FileProperties_IVideoProperties::Directors() const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Directors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Directors(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::VideoOrientation) consume_Windows_Storage_FileProperties_IVideoProperties::Orientation() const + template auto consume_Windows_Storage_FileProperties_IVideoProperties::Orientation() const { winrt::Windows::Storage::FileProperties::VideoOrientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Orientation(reinterpret_cast(&value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Pickers.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Pickers.Provider.h index 5954c7c2..d2a9807f 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Pickers.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Pickers.Provider.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Pickers_Provider_H #define WINRT_Windows_Storage_Pickers_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Storage.Pickers.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,201 +13,201 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Storage.Pickers.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::AddFileResult) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::AddFile(param::hstring const& id, winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::AddFile(param::hstring const& id, winrt::Windows::Storage::IStorageFile const& file) const { winrt::Windows::Storage::Pickers::Provider::AddFileResult addResult{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->AddFile(*(void**)(&id), *(void**)(&file), reinterpret_cast(&addResult))); return addResult; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::RemoveFile(param::hstring const& id) const + template auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::RemoveFile(param::hstring const& id) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->RemoveFile(*(void**)(&id))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::ContainsFile(param::hstring const& id) const + template auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::ContainsFile(param::hstring const& id) const { bool isContained{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->ContainsFile(*(void**)(&id), &isContained)); return isContained; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::CanAddFile(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::CanAddFile(winrt::Windows::Storage::IStorageFile const& file) const { bool canAdd{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->CanAddFile(*(void**)(&file), &canAdd)); return canAdd; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::AllowedFileTypes() const + template auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::AllowedFileTypes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->get_AllowedFileTypes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::FileSelectionMode) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::SelectionMode() const + template auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::SelectionMode() const { winrt::Windows::Storage::Pickers::Provider::FileSelectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->get_SelectionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::SettingsIdentifier() const + template auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::SettingsIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->get_SettingsIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::Title() const + template auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::Title(param::hstring const& value) const + template auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::FileRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::FileRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->add_FileRemoved(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::FileRemoved_revoker consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::FileRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::FileRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FileRemoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::FileRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::FileRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->remove_FileRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->add_Closing(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::Closing_revoker consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closing(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::Closing(winrt::event_token const& token) const noexcept + template auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI::Closing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->remove_Closing(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_Provider_IFileRemovedEventArgs::Id() const + template auto consume_Windows_Storage_Pickers_Provider_IFileRemovedEventArgs::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileRemovedEventArgs)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::Title() const + template auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::Title(param::hstring const& value) const + template auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::AllowedFileTypes() const + template auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::AllowedFileTypes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI)->get_AllowedFileTypes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::SettingsIdentifier() const + template auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::SettingsIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI)->get_SettingsIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::FileName() const + template auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::FileName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI)->get_FileName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::SetFileNameResult) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::TrySetFileName(param::hstring const& value) const + template auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::TrySetFileName(param::hstring const& value) const { winrt::Windows::Storage::Pickers::Provider::SetFileNameResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI)->TrySetFileName(*(void**)(&value), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::FileNameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::FileNameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI)->add_FileNameChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::FileNameChanged_revoker consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::FileNameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::FileNameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FileNameChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::FileNameChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::FileNameChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI)->remove_FileNameChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::TargetFileRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::TargetFileRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI)->add_TargetFileRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::TargetFileRequested_revoker consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::TargetFileRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::TargetFileRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TargetFileRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::TargetFileRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI::TargetFileRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI)->remove_TargetFileRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_IPickerClosingDeferral::Complete() const + template auto consume_Windows_Storage_Pickers_Provider_IPickerClosingDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IPickerClosingDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::PickerClosingOperation) consume_Windows_Storage_Pickers_Provider_IPickerClosingEventArgs::ClosingOperation() const + template auto consume_Windows_Storage_Pickers_Provider_IPickerClosingEventArgs::ClosingOperation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IPickerClosingEventArgs)->get_ClosingOperation(&value)); return winrt::Windows::Storage::Pickers::Provider::PickerClosingOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Pickers_Provider_IPickerClosingEventArgs::IsCanceled() const + template auto consume_Windows_Storage_Pickers_Provider_IPickerClosingEventArgs::IsCanceled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IPickerClosingEventArgs)->get_IsCanceled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::PickerClosingDeferral) consume_Windows_Storage_Pickers_Provider_IPickerClosingOperation::GetDeferral() const + template auto consume_Windows_Storage_Pickers_Provider_IPickerClosingOperation::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IPickerClosingOperation)->GetDeferral(&value)); return winrt::Windows::Storage::Pickers::Provider::PickerClosingDeferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Storage_Pickers_Provider_IPickerClosingOperation::Deadline() const + template auto consume_Windows_Storage_Pickers_Provider_IPickerClosingOperation::Deadline() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IPickerClosingOperation)->get_Deadline(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) consume_Windows_Storage_Pickers_Provider_ITargetFileRequest::TargetFile() const + template auto consume_Windows_Storage_Pickers_Provider_ITargetFileRequest::TargetFile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::ITargetFileRequest)->get_TargetFile(&value)); return winrt::Windows::Storage::IStorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_ITargetFileRequest::TargetFile(winrt::Windows::Storage::IStorageFile const& value) const + template auto consume_Windows_Storage_Pickers_Provider_ITargetFileRequest::TargetFile(winrt::Windows::Storage::IStorageFile const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::ITargetFileRequest)->put_TargetFile(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::TargetFileRequestDeferral) consume_Windows_Storage_Pickers_Provider_ITargetFileRequest::GetDeferral() const + template auto consume_Windows_Storage_Pickers_Provider_ITargetFileRequest::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::ITargetFileRequest)->GetDeferral(&value)); return winrt::Windows::Storage::Pickers::Provider::TargetFileRequestDeferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_ITargetFileRequestDeferral::Complete() const + template auto consume_Windows_Storage_Pickers_Provider_ITargetFileRequestDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::ITargetFileRequestDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::TargetFileRequest) consume_Windows_Storage_Pickers_Provider_ITargetFileRequestedEventArgs::Request() const + template auto consume_Windows_Storage_Pickers_Provider_ITargetFileRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::ITargetFileRequestedEventArgs)->get_Request(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Pickers.h b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Pickers.h index 1d5a07a5..3611d98c 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Pickers.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Pickers.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Pickers_H #define WINRT_Windows_Storage_Pickers_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Storage.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,275 +14,275 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Storage.Pickers.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::PickerViewMode) consume_Windows_Storage_Pickers_IFileOpenPicker::ViewMode() const + template auto consume_Windows_Storage_Pickers_IFileOpenPicker::ViewMode() const { winrt::Windows::Storage::Pickers::PickerViewMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->get_ViewMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileOpenPicker::ViewMode(winrt::Windows::Storage::Pickers::PickerViewMode const& value) const + template auto consume_Windows_Storage_Pickers_IFileOpenPicker::ViewMode(winrt::Windows::Storage::Pickers::PickerViewMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->put_ViewMode(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFileOpenPicker::SettingsIdentifier() const + template auto consume_Windows_Storage_Pickers_IFileOpenPicker::SettingsIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->get_SettingsIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileOpenPicker::SettingsIdentifier(param::hstring const& value) const + template auto consume_Windows_Storage_Pickers_IFileOpenPicker::SettingsIdentifier(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->put_SettingsIdentifier(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::PickerLocationId) consume_Windows_Storage_Pickers_IFileOpenPicker::SuggestedStartLocation() const + template auto consume_Windows_Storage_Pickers_IFileOpenPicker::SuggestedStartLocation() const { winrt::Windows::Storage::Pickers::PickerLocationId value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->get_SuggestedStartLocation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileOpenPicker::SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const + template auto consume_Windows_Storage_Pickers_IFileOpenPicker::SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->put_SuggestedStartLocation(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFileOpenPicker::CommitButtonText() const + template auto consume_Windows_Storage_Pickers_IFileOpenPicker::CommitButtonText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->get_CommitButtonText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileOpenPicker::CommitButtonText(param::hstring const& value) const + template auto consume_Windows_Storage_Pickers_IFileOpenPicker::CommitButtonText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->put_CommitButtonText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_Pickers_IFileOpenPicker::FileTypeFilter() const + template auto consume_Windows_Storage_Pickers_IFileOpenPicker::FileTypeFilter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->get_FileTypeFilter(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Pickers_IFileOpenPicker::PickSingleFileAsync() const + template auto consume_Windows_Storage_Pickers_IFileOpenPicker::PickSingleFileAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->PickSingleFileAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_Pickers_IFileOpenPicker::PickMultipleFilesAsync() const + template auto consume_Windows_Storage_Pickers_IFileOpenPicker::PickMultipleFilesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->PickMultipleFilesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Storage_Pickers_IFileOpenPicker2::ContinuationData() const + template auto consume_Windows_Storage_Pickers_IFileOpenPicker2::ContinuationData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker2)->get_ContinuationData(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileOpenPicker2::PickSingleFileAndContinue() const + template auto consume_Windows_Storage_Pickers_IFileOpenPicker2::PickSingleFileAndContinue() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker2)->PickSingleFileAndContinue()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileOpenPicker2::PickMultipleFilesAndContinue() const + template auto consume_Windows_Storage_Pickers_IFileOpenPicker2::PickMultipleFilesAndContinue() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker2)->PickMultipleFilesAndContinue()); } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Storage_Pickers_IFileOpenPicker3::User() const + template auto consume_Windows_Storage_Pickers_IFileOpenPicker3::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker3)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Pickers_IFileOpenPickerStatics::ResumePickSingleFileAsync() const + template auto consume_Windows_Storage_Pickers_IFileOpenPickerStatics::ResumePickSingleFileAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPickerStatics)->ResumePickSingleFileAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::FileOpenPicker) consume_Windows_Storage_Pickers_IFileOpenPickerStatics2::CreateForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_Storage_Pickers_IFileOpenPickerStatics2::CreateForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPickerStatics2)->CreateForUser(*(void**)(&user), &result)); return winrt::Windows::Storage::Pickers::FileOpenPicker{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Pickers_IFileOpenPickerWithOperationId::PickSingleFileAsync(param::hstring const& pickerOperationId) const + template auto consume_Windows_Storage_Pickers_IFileOpenPickerWithOperationId::PickSingleFileAsync(param::hstring const& pickerOperationId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPickerWithOperationId)->PickSingleFileAsync(*(void**)(&pickerOperationId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFileSavePicker::SettingsIdentifier() const + template auto consume_Windows_Storage_Pickers_IFileSavePicker::SettingsIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->get_SettingsIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileSavePicker::SettingsIdentifier(param::hstring const& value) const + template auto consume_Windows_Storage_Pickers_IFileSavePicker::SettingsIdentifier(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->put_SettingsIdentifier(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::PickerLocationId) consume_Windows_Storage_Pickers_IFileSavePicker::SuggestedStartLocation() const + template auto consume_Windows_Storage_Pickers_IFileSavePicker::SuggestedStartLocation() const { winrt::Windows::Storage::Pickers::PickerLocationId value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->get_SuggestedStartLocation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileSavePicker::SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const + template auto consume_Windows_Storage_Pickers_IFileSavePicker::SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->put_SuggestedStartLocation(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFileSavePicker::CommitButtonText() const + template auto consume_Windows_Storage_Pickers_IFileSavePicker::CommitButtonText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->get_CommitButtonText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileSavePicker::CommitButtonText(param::hstring const& value) const + template auto consume_Windows_Storage_Pickers_IFileSavePicker::CommitButtonText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->put_CommitButtonText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap>) consume_Windows_Storage_Pickers_IFileSavePicker::FileTypeChoices() const + template auto consume_Windows_Storage_Pickers_IFileSavePicker::FileTypeChoices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->get_FileTypeChoices(&value)); return winrt::Windows::Foundation::Collections::IMap>{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFileSavePicker::DefaultFileExtension() const + template auto consume_Windows_Storage_Pickers_IFileSavePicker::DefaultFileExtension() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->get_DefaultFileExtension(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileSavePicker::DefaultFileExtension(param::hstring const& value) const + template auto consume_Windows_Storage_Pickers_IFileSavePicker::DefaultFileExtension(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->put_DefaultFileExtension(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Storage_Pickers_IFileSavePicker::SuggestedSaveFile() const + template auto consume_Windows_Storage_Pickers_IFileSavePicker::SuggestedSaveFile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->get_SuggestedSaveFile(&value)); return winrt::Windows::Storage::StorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileSavePicker::SuggestedSaveFile(winrt::Windows::Storage::StorageFile const& value) const + template auto consume_Windows_Storage_Pickers_IFileSavePicker::SuggestedSaveFile(winrt::Windows::Storage::StorageFile const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->put_SuggestedSaveFile(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFileSavePicker::SuggestedFileName() const + template auto consume_Windows_Storage_Pickers_IFileSavePicker::SuggestedFileName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->get_SuggestedFileName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileSavePicker::SuggestedFileName(param::hstring const& value) const + template auto consume_Windows_Storage_Pickers_IFileSavePicker::SuggestedFileName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->put_SuggestedFileName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Pickers_IFileSavePicker::PickSaveFileAsync() const + template auto consume_Windows_Storage_Pickers_IFileSavePicker::PickSaveFileAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->PickSaveFileAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Storage_Pickers_IFileSavePicker2::ContinuationData() const + template auto consume_Windows_Storage_Pickers_IFileSavePicker2::ContinuationData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker2)->get_ContinuationData(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileSavePicker2::PickSaveFileAndContinue() const + template auto consume_Windows_Storage_Pickers_IFileSavePicker2::PickSaveFileAndContinue() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker2)->PickSaveFileAndContinue()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFileSavePicker3::EnterpriseId() const + template auto consume_Windows_Storage_Pickers_IFileSavePicker3::EnterpriseId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker3)->get_EnterpriseId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileSavePicker3::EnterpriseId(param::hstring const& value) const + template auto consume_Windows_Storage_Pickers_IFileSavePicker3::EnterpriseId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker3)->put_EnterpriseId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Storage_Pickers_IFileSavePicker4::User() const + template auto consume_Windows_Storage_Pickers_IFileSavePicker4::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker4)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::FileSavePicker) consume_Windows_Storage_Pickers_IFileSavePickerStatics::CreateForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_Storage_Pickers_IFileSavePickerStatics::CreateForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePickerStatics)->CreateForUser(*(void**)(&user), &result)); return winrt::Windows::Storage::Pickers::FileSavePicker{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::PickerViewMode) consume_Windows_Storage_Pickers_IFolderPicker::ViewMode() const + template auto consume_Windows_Storage_Pickers_IFolderPicker::ViewMode() const { winrt::Windows::Storage::Pickers::PickerViewMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->get_ViewMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFolderPicker::ViewMode(winrt::Windows::Storage::Pickers::PickerViewMode const& value) const + template auto consume_Windows_Storage_Pickers_IFolderPicker::ViewMode(winrt::Windows::Storage::Pickers::PickerViewMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->put_ViewMode(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFolderPicker::SettingsIdentifier() const + template auto consume_Windows_Storage_Pickers_IFolderPicker::SettingsIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->get_SettingsIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFolderPicker::SettingsIdentifier(param::hstring const& value) const + template auto consume_Windows_Storage_Pickers_IFolderPicker::SettingsIdentifier(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->put_SettingsIdentifier(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::PickerLocationId) consume_Windows_Storage_Pickers_IFolderPicker::SuggestedStartLocation() const + template auto consume_Windows_Storage_Pickers_IFolderPicker::SuggestedStartLocation() const { winrt::Windows::Storage::Pickers::PickerLocationId value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->get_SuggestedStartLocation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFolderPicker::SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const + template auto consume_Windows_Storage_Pickers_IFolderPicker::SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->put_SuggestedStartLocation(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFolderPicker::CommitButtonText() const + template auto consume_Windows_Storage_Pickers_IFolderPicker::CommitButtonText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->get_CommitButtonText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFolderPicker::CommitButtonText(param::hstring const& value) const + template auto consume_Windows_Storage_Pickers_IFolderPicker::CommitButtonText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->put_CommitButtonText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_Pickers_IFolderPicker::FileTypeFilter() const + template auto consume_Windows_Storage_Pickers_IFolderPicker::FileTypeFilter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->get_FileTypeFilter(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Pickers_IFolderPicker::PickSingleFolderAsync() const + template auto consume_Windows_Storage_Pickers_IFolderPicker::PickSingleFolderAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->PickSingleFolderAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Storage_Pickers_IFolderPicker2::ContinuationData() const + template auto consume_Windows_Storage_Pickers_IFolderPicker2::ContinuationData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker2)->get_ContinuationData(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFolderPicker2::PickFolderAndContinue() const + template auto consume_Windows_Storage_Pickers_IFolderPicker2::PickFolderAndContinue() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker2)->PickFolderAndContinue()); } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Storage_Pickers_IFolderPicker3::User() const + template auto consume_Windows_Storage_Pickers_IFolderPicker3::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker3)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::FolderPicker) consume_Windows_Storage_Pickers_IFolderPickerStatics::CreateForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_Storage_Pickers_IFolderPickerStatics::CreateForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPickerStatics)->CreateForUser(*(void**)(&user), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Provider.h index 739a13ff..fb003848 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Provider.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Provider_H #define WINRT_Windows_Storage_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Storage.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,607 +14,607 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Storage.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_ICachedFileUpdaterStatics::SetUpdateInformation(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contentId, winrt::Windows::Storage::Provider::ReadActivationMode const& readMode, winrt::Windows::Storage::Provider::WriteActivationMode const& writeMode, winrt::Windows::Storage::Provider::CachedFileOptions const& options) const + template auto consume_Windows_Storage_Provider_ICachedFileUpdaterStatics::SetUpdateInformation(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contentId, winrt::Windows::Storage::Provider::ReadActivationMode const& readMode, winrt::Windows::Storage::Provider::WriteActivationMode const& writeMode, winrt::Windows::Storage::Provider::CachedFileOptions const& options) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::ICachedFileUpdaterStatics)->SetUpdateInformation(*(void**)(&file), *(void**)(&contentId), static_cast(readMode), static_cast(writeMode), static_cast(options))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_ICachedFileUpdaterUI::Title() const + template auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::ICachedFileUpdaterUI)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_ICachedFileUpdaterUI::Title(param::hstring const& value) const + template auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::ICachedFileUpdaterUI)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::CachedFileTarget) consume_Windows_Storage_Provider_ICachedFileUpdaterUI::UpdateTarget() const + template auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI::UpdateTarget() const { winrt::Windows::Storage::Provider::CachedFileTarget value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::ICachedFileUpdaterUI)->get_UpdateTarget(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Provider_ICachedFileUpdaterUI::FileUpdateRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI::FileUpdateRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::ICachedFileUpdaterUI)->add_FileUpdateRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Storage_Provider_ICachedFileUpdaterUI::FileUpdateRequested_revoker consume_Windows_Storage_Provider_ICachedFileUpdaterUI::FileUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI::FileUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FileUpdateRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_ICachedFileUpdaterUI::FileUpdateRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI::FileUpdateRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::ICachedFileUpdaterUI)->remove_FileUpdateRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Provider_ICachedFileUpdaterUI::UIRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI::UIRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::ICachedFileUpdaterUI)->add_UIRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Storage_Provider_ICachedFileUpdaterUI::UIRequested_revoker consume_Windows_Storage_Provider_ICachedFileUpdaterUI::UIRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI::UIRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UIRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_ICachedFileUpdaterUI::UIRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI::UIRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::ICachedFileUpdaterUI)->remove_UIRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::UIStatus) consume_Windows_Storage_Provider_ICachedFileUpdaterUI::UIStatus() const + template auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI::UIStatus() const { winrt::Windows::Storage::Provider::UIStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::ICachedFileUpdaterUI)->get_UIStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateRequest) consume_Windows_Storage_Provider_ICachedFileUpdaterUI2::UpdateRequest() const + template auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI2::UpdateRequest() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::ICachedFileUpdaterUI2)->get_UpdateRequest(&value)); return winrt::Windows::Storage::Provider::FileUpdateRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateRequestDeferral) consume_Windows_Storage_Provider_ICachedFileUpdaterUI2::GetDeferral() const + template auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI2::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::ICachedFileUpdaterUI2)->GetDeferral(&value)); return winrt::Windows::Storage::Provider::FileUpdateRequestDeferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IFileUpdateRequest::ContentId() const + template auto consume_Windows_Storage_Provider_IFileUpdateRequest::ContentId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequest)->get_ContentId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Storage_Provider_IFileUpdateRequest::File() const + template auto consume_Windows_Storage_Provider_IFileUpdateRequest::File() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequest)->get_File(&value)); return winrt::Windows::Storage::StorageFile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateStatus) consume_Windows_Storage_Provider_IFileUpdateRequest::Status() const + template auto consume_Windows_Storage_Provider_IFileUpdateRequest::Status() const { winrt::Windows::Storage::Provider::FileUpdateStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequest)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IFileUpdateRequest::Status(winrt::Windows::Storage::Provider::FileUpdateStatus const& value) const + template auto consume_Windows_Storage_Provider_IFileUpdateRequest::Status(winrt::Windows::Storage::Provider::FileUpdateStatus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequest)->put_Status(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateRequestDeferral) consume_Windows_Storage_Provider_IFileUpdateRequest::GetDeferral() const + template auto consume_Windows_Storage_Provider_IFileUpdateRequest::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequest)->GetDeferral(&value)); return winrt::Windows::Storage::Provider::FileUpdateRequestDeferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IFileUpdateRequest::UpdateLocalFile(winrt::Windows::Storage::IStorageFile const& value) const + template auto consume_Windows_Storage_Provider_IFileUpdateRequest::UpdateLocalFile(winrt::Windows::Storage::IStorageFile const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequest)->UpdateLocalFile(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IFileUpdateRequest2::UserInputNeededMessage() const + template auto consume_Windows_Storage_Provider_IFileUpdateRequest2::UserInputNeededMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequest2)->get_UserInputNeededMessage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IFileUpdateRequest2::UserInputNeededMessage(param::hstring const& value) const + template auto consume_Windows_Storage_Provider_IFileUpdateRequest2::UserInputNeededMessage(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequest2)->put_UserInputNeededMessage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IFileUpdateRequestDeferral::Complete() const + template auto consume_Windows_Storage_Provider_IFileUpdateRequestDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequestDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateRequest) consume_Windows_Storage_Provider_IFileUpdateRequestedEventArgs::Request() const + template auto consume_Windows_Storage_Provider_IFileUpdateRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequestedEventArgs)->get_Request(&value)); return winrt::Windows::Storage::Provider::FileUpdateRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderError::Id() const + template auto consume_Windows_Storage_Provider_IStorageProviderError::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderError::Title() const + template auto consume_Windows_Storage_Provider_IStorageProviderError::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderError::Message() const + template auto consume_Windows_Storage_Provider_IStorageProviderError::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderError::FilePath() const + template auto consume_Windows_Storage_Provider_IStorageProviderError::FilePath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_FilePath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderError::FilePath(param::hstring const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderError::FilePath(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->put_FilePath(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) consume_Windows_Storage_Provider_IStorageProviderError::PrimaryAction() const + template auto consume_Windows_Storage_Provider_IStorageProviderError::PrimaryAction() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_PrimaryAction(&value)); return winrt::Windows::Storage::Provider::StorageProviderErrorCommand{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderError::PrimaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderError::PrimaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->put_PrimaryAction(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) consume_Windows_Storage_Provider_IStorageProviderError::SecondaryAction() const + template auto consume_Windows_Storage_Provider_IStorageProviderError::SecondaryAction() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_SecondaryAction(&value)); return winrt::Windows::Storage::Provider::StorageProviderErrorCommand{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderError::SecondaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderError::SecondaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->put_SecondaryAction(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) consume_Windows_Storage_Provider_IStorageProviderError::InformationalLink() const + template auto consume_Windows_Storage_Provider_IStorageProviderError::InformationalLink() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_InformationalLink(&value)); return winrt::Windows::Storage::Provider::StorageProviderErrorCommand{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderError::InformationalLink(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderError::InformationalLink(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->put_InformationalLink(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderErrorCommand::Label() const + template auto consume_Windows_Storage_Provider_IStorageProviderErrorCommand::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderErrorCommand)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Storage_Provider_IStorageProviderErrorCommand::ActionUri() const + template auto consume_Windows_Storage_Provider_IStorageProviderErrorCommand::ActionUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderErrorCommand)->get_ActionUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) consume_Windows_Storage_Provider_IStorageProviderErrorCommandFactory::CreateInstance(param::hstring const& label, winrt::Windows::Foundation::Uri const& actionUri) const + template auto consume_Windows_Storage_Provider_IStorageProviderErrorCommandFactory::CreateInstance(param::hstring const& label, winrt::Windows::Foundation::Uri const& actionUri) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderErrorCommandFactory)->CreateInstance(*(void**)(&label), *(void**)(&actionUri), &value)); return winrt::Windows::Storage::Provider::StorageProviderErrorCommand{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderError) consume_Windows_Storage_Provider_IStorageProviderErrorFactory::CreateInstance(param::hstring const& id, param::hstring const& title, param::hstring const& message) const + template auto consume_Windows_Storage_Provider_IStorageProviderErrorFactory::CreateInstance(param::hstring const& id, param::hstring const& title, param::hstring const& message) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderErrorFactory)->CreateInstance(*(void**)(&id), *(void**)(&title), *(void**)(&message), &value)); return winrt::Windows::Storage::Provider::StorageProviderError{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderFileTypeInfo::FileExtension() const + template auto consume_Windows_Storage_Provider_IStorageProviderFileTypeInfo::FileExtension() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfo)->get_FileExtension(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderFileTypeInfo::IconResource() const + template auto consume_Windows_Storage_Provider_IStorageProviderFileTypeInfo::IconResource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfo)->get_IconResource(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderFileTypeInfo) consume_Windows_Storage_Provider_IStorageProviderFileTypeInfoFactory::CreateInstance(param::hstring const& fileExtension, param::hstring const& iconResource) const + template auto consume_Windows_Storage_Provider_IStorageProviderFileTypeInfoFactory::CreateInstance(param::hstring const& fileExtension, param::hstring const& iconResource) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfoFactory)->CreateInstance(*(void**)(&fileExtension), *(void**)(&iconResource), &value)); return winrt::Windows::Storage::Provider::StorageProviderFileTypeInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus) consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult::Status() const + template auto consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult::Status() const { winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult::Status(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult::Status(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult)->put_Status(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult::ContentUri() const + template auto consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult::ContentUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult)->get_ContentUri(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult::ContentUri(param::hstring const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult::ContentUri(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult)->put_ContentUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult::ContentId() const + template auto consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult::ContentId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult)->get_ContentId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult::ContentId(param::hstring const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult::ContentId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult)->put_ContentId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus) consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult::Status() const + template auto consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult::Status() const { winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetPathForContentUriResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult::Status(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult::Status(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetPathForContentUriResult)->put_Status(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult::Path() const + template auto consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetPathForContentUriResult)->get_Path(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult::Path(param::hstring const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult::Path(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetPathForContentUriResult)->put_Path(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::IStorageProviderStatusSource) consume_Windows_Storage_Provider_IStorageProviderHandlerFactory::GetStatusSource(param::hstring const& syncRootId) const + template auto consume_Windows_Storage_Provider_IStorageProviderHandlerFactory::GetStatusSource(param::hstring const& syncRootId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderHandlerFactory)->GetStatusSource(*(void**)(&syncRootId), &result)); return winrt::Windows::Storage::Provider::IStorageProviderStatusSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_Provider_IStorageProviderItemPropertiesStatics::SetAsync(winrt::Windows::Storage::IStorageItem const& item, param::async_iterable const& itemProperties) const + template auto consume_Windows_Storage_Provider_IStorageProviderItemPropertiesStatics::SetAsync(winrt::Windows::Storage::IStorageItem const& item, param::async_iterable const& itemProperties) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemPropertiesStatics)->SetAsync(*(void**)(&item), *(void**)(&itemProperties), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderItemProperty::Id(int32_t value) const + template auto consume_Windows_Storage_Provider_IStorageProviderItemProperty::Id(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemProperty)->put_Id(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Storage_Provider_IStorageProviderItemProperty::Id() const + template auto consume_Windows_Storage_Provider_IStorageProviderItemProperty::Id() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemProperty)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderItemProperty::Value(param::hstring const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderItemProperty::Value(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemProperty)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderItemProperty::Value() const + template auto consume_Windows_Storage_Provider_IStorageProviderItemProperty::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemProperty)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderItemProperty::IconResource(param::hstring const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderItemProperty::IconResource(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemProperty)->put_IconResource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderItemProperty::IconResource() const + template auto consume_Windows_Storage_Provider_IStorageProviderItemProperty::IconResource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemProperty)->get_IconResource(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition::Id() const + template auto consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition::Id() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemPropertyDefinition)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition::Id(int32_t value) const + template auto consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition::Id(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemPropertyDefinition)->put_Id(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition::DisplayNameResource() const + template auto consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition::DisplayNameResource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemPropertyDefinition)->get_DisplayNameResource(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition::DisplayNameResource(param::hstring const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition::DisplayNameResource(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemPropertyDefinition)->put_DisplayNameResource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_Storage_Provider_IStorageProviderItemPropertySource::GetItemProperties(param::hstring const& itemPath) const + template auto consume_Windows_Storage_Provider_IStorageProviderItemPropertySource::GetItemProperties(param::hstring const& itemPath) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemPropertySource)->GetItemProperties(*(void**)(&itemPath), &result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Provider_IStorageProviderPropertyCapabilities::IsPropertySupported(param::hstring const& propertyCanonicalName) const + template auto consume_Windows_Storage_Provider_IStorageProviderPropertyCapabilities::IsPropertySupported(param::hstring const& propertyCanonicalName) const { bool isSupported{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderPropertyCapabilities)->IsPropertySupported(*(void**)(&propertyCanonicalName), &isSupported)); return isSupported; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderStatus::Message() const + template auto consume_Windows_Storage_Provider_IStorageProviderStatus::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatus)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderState) consume_Windows_Storage_Provider_IStorageProviderStatus::State() const + template auto consume_Windows_Storage_Provider_IStorageProviderStatus::State() const { winrt::Windows::Storage::Provider::StorageProviderState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatus)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Storage_Provider_IStorageProviderStatus::ErrorMessages() const + template auto consume_Windows_Storage_Provider_IStorageProviderStatus::ErrorMessages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatus)->get_ErrorMessages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) consume_Windows_Storage_Provider_IStorageProviderStatusFactory::CreateInstance(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message) const + template auto consume_Windows_Storage_Provider_IStorageProviderStatusFactory::CreateInstance(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusFactory)->CreateInstance(static_cast(state), *(void**)(&message), &value)); return winrt::Windows::Storage::Provider::StorageProviderStatus{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) consume_Windows_Storage_Provider_IStorageProviderStatusFactory::CreateInstance2(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message, param::iterable const& errorMessages) const + template auto consume_Windows_Storage_Provider_IStorageProviderStatusFactory::CreateInstance2(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message, param::iterable const& errorMessages) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusFactory)->CreateInstance2(static_cast(state), *(void**)(&message), *(void**)(&errorMessages), &value)); return winrt::Windows::Storage::Provider::StorageProviderStatus{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) consume_Windows_Storage_Provider_IStorageProviderStatusSource::GetStatus() const + template auto consume_Windows_Storage_Provider_IStorageProviderStatusSource::GetStatus() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusSource)->GetStatus(&result)); return winrt::Windows::Storage::Provider::StorageProviderStatus{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Provider_IStorageProviderStatusSource::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_Provider_IStorageProviderStatusSource::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusSource)->add_Changed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Storage_Provider_IStorageProviderStatusSource::Changed_revoker consume_Windows_Storage_Provider_IStorageProviderStatusSource::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_Provider_IStorageProviderStatusSource::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Changed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderStatusSource::Changed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Storage_Provider_IStorageProviderStatusSource::Changed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusSource)->remove_Changed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Id() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Id(param::hstring const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Id(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_Id(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Context() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Context() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_Context(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Context(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Context(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_Context(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFolder) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Path() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_Path(&value)); return winrt::Windows::Storage::IStorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Path(winrt::Windows::Storage::IStorageFolder const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Path(winrt::Windows::Storage::IStorageFolder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_Path(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::DisplayNameResource() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::DisplayNameResource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_DisplayNameResource(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::DisplayNameResource(param::hstring const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::DisplayNameResource(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_DisplayNameResource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::IconResource() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::IconResource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_IconResource(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::IconResource(param::hstring const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::IconResource(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_IconResource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicy) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::HydrationPolicy() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::HydrationPolicy() const { winrt::Windows::Storage::Provider::StorageProviderHydrationPolicy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_HydrationPolicy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::HydrationPolicy(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicy const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::HydrationPolicy(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_HydrationPolicy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicyModifier) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::HydrationPolicyModifier() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::HydrationPolicyModifier() const { winrt::Windows::Storage::Provider::StorageProviderHydrationPolicyModifier value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_HydrationPolicyModifier(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::HydrationPolicyModifier(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicyModifier const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::HydrationPolicyModifier(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicyModifier const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_HydrationPolicyModifier(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderPopulationPolicy) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::PopulationPolicy() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::PopulationPolicy() const { winrt::Windows::Storage::Provider::StorageProviderPopulationPolicy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_PopulationPolicy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::PopulationPolicy(winrt::Windows::Storage::Provider::StorageProviderPopulationPolicy const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::PopulationPolicy(winrt::Windows::Storage::Provider::StorageProviderPopulationPolicy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_PopulationPolicy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderInSyncPolicy) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::InSyncPolicy() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::InSyncPolicy() const { winrt::Windows::Storage::Provider::StorageProviderInSyncPolicy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_InSyncPolicy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::InSyncPolicy(winrt::Windows::Storage::Provider::StorageProviderInSyncPolicy const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::InSyncPolicy(winrt::Windows::Storage::Provider::StorageProviderInSyncPolicy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_InSyncPolicy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderHardlinkPolicy) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::HardlinkPolicy() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::HardlinkPolicy() const { winrt::Windows::Storage::Provider::StorageProviderHardlinkPolicy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_HardlinkPolicy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::HardlinkPolicy(winrt::Windows::Storage::Provider::StorageProviderHardlinkPolicy const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::HardlinkPolicy(winrt::Windows::Storage::Provider::StorageProviderHardlinkPolicy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_HardlinkPolicy(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::ShowSiblingsAsGroup() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::ShowSiblingsAsGroup() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_ShowSiblingsAsGroup(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::ShowSiblingsAsGroup(bool value) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::ShowSiblingsAsGroup(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_ShowSiblingsAsGroup(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Version() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Version() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_Version(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Version(param::hstring const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Version(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_Version(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderProtectionMode) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::ProtectionMode() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::ProtectionMode() const { winrt::Windows::Storage::Provider::StorageProviderProtectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_ProtectionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::ProtectionMode(winrt::Windows::Storage::Provider::StorageProviderProtectionMode const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::ProtectionMode(winrt::Windows::Storage::Provider::StorageProviderProtectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_ProtectionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::AllowPinning() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::AllowPinning() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_AllowPinning(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::AllowPinning(bool value) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::AllowPinning(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_AllowPinning(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::StorageProviderItemPropertyDefinitions() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::StorageProviderItemPropertyDefinitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_StorageProviderItemPropertyDefinitions(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::RecycleBinUri() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::RecycleBinUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_RecycleBinUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::RecycleBinUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::RecycleBinUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_RecycleBinUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo2::ProviderId() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo2::ProviderId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo2)->get_ProviderId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo2::ProviderId(winrt::guid const& value) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo2::ProviderId(winrt::guid const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo2)->put_ProviderId(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo3::FallbackFileTypeInfo() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo3::FallbackFileTypeInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo3)->get_FallbackFileTypeInfo(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics::Register(winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo const& syncRootInformation) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics::Register(winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo const& syncRootInformation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootManagerStatics)->Register(*(void**)(&syncRootInformation))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics::Unregister(param::hstring const& id) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics::Unregister(param::hstring const& id) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootManagerStatics)->Unregister(*(void**)(&id))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo) consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics::GetSyncRootInformationForFolder(winrt::Windows::Storage::IStorageFolder const& folder) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics::GetSyncRootInformationForFolder(winrt::Windows::Storage::IStorageFolder const& folder) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootManagerStatics)->GetSyncRootInformationForFolder(*(void**)(&folder), &result)); return winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo) consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics::GetSyncRootInformationForId(param::hstring const& id) const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics::GetSyncRootInformationForId(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootManagerStatics)->GetSyncRootInformationForId(*(void**)(&id), &result)); return winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics::GetCurrentSyncRoots() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics::GetCurrentSyncRoots() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootManagerStatics)->GetCurrentSyncRoots(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics2::IsSupported() const + template auto consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics2::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootManagerStatics2)->IsSupported(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderUriSource::GetPathForContentUri(param::hstring const& contentUri, winrt::Windows::Storage::Provider::StorageProviderGetPathForContentUriResult const& result) const + template auto consume_Windows_Storage_Provider_IStorageProviderUriSource::GetPathForContentUri(param::hstring const& contentUri, winrt::Windows::Storage::Provider::StorageProviderGetPathForContentUriResult const& result) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderUriSource)->GetPathForContentUri(*(void**)(&contentUri), *(void**)(&result))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderUriSource::GetContentInfoForPath(param::hstring const& path, winrt::Windows::Storage::Provider::StorageProviderGetContentInfoForPathResult const& result) const + template auto consume_Windows_Storage_Provider_IStorageProviderUriSource::GetContentInfoForPath(param::hstring const& path, winrt::Windows::Storage::Provider::StorageProviderGetContentInfoForPathResult const& result) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderUriSource)->GetContentInfoForPath(*(void**)(&path), *(void**)(&result))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Search.h b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Search.h index 58d53c49..da5de560 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Search.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Search.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Search_H #define WINRT_Windows_Storage_Search_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Storage.h" #include "winrt/impl/Windows.Data.Text.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -16,501 +16,501 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Storage.Search.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_Search_IContentIndexer::AddAsync(winrt::Windows::Storage::Search::IIndexableContent const& indexableContent) const + template auto consume_Windows_Storage_Search_IContentIndexer::AddAsync(winrt::Windows::Storage::Search::IIndexableContent const& indexableContent) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexer)->AddAsync(*(void**)(&indexableContent), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_Search_IContentIndexer::UpdateAsync(winrt::Windows::Storage::Search::IIndexableContent const& indexableContent) const + template auto consume_Windows_Storage_Search_IContentIndexer::UpdateAsync(winrt::Windows::Storage::Search::IIndexableContent const& indexableContent) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexer)->UpdateAsync(*(void**)(&indexableContent), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_Search_IContentIndexer::DeleteAsync(param::hstring const& contentId) const + template auto consume_Windows_Storage_Search_IContentIndexer::DeleteAsync(param::hstring const& contentId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexer)->DeleteAsync(*(void**)(&contentId), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_Search_IContentIndexer::DeleteMultipleAsync(param::async_iterable const& contentIds) const + template auto consume_Windows_Storage_Search_IContentIndexer::DeleteMultipleAsync(param::async_iterable const& contentIds) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexer)->DeleteMultipleAsync(*(void**)(&contentIds), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_Search_IContentIndexer::DeleteAllAsync() const + template auto consume_Windows_Storage_Search_IContentIndexer::DeleteAllAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexer)->DeleteAllAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_Search_IContentIndexer::RetrievePropertiesAsync(param::hstring const& contentId, param::async_iterable const& propertiesToRetrieve) const + template auto consume_Windows_Storage_Search_IContentIndexer::RetrievePropertiesAsync(param::hstring const& contentId, param::async_iterable const& propertiesToRetrieve) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexer)->RetrievePropertiesAsync(*(void**)(&contentId), *(void**)(&propertiesToRetrieve), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_Search_IContentIndexer::Revision() const + template auto consume_Windows_Storage_Search_IContentIndexer::Revision() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexer)->get_Revision(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Search_IContentIndexerQuery::GetCountAsync() const + template auto consume_Windows_Storage_Search_IContentIndexerQuery::GetCountAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexerQuery)->GetCountAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>>) consume_Windows_Storage_Search_IContentIndexerQuery::GetPropertiesAsync() const + template auto consume_Windows_Storage_Search_IContentIndexerQuery::GetPropertiesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexerQuery)->GetPropertiesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>>) consume_Windows_Storage_Search_IContentIndexerQuery::GetPropertiesAsync(uint32_t startIndex, uint32_t maxItems) const + template auto consume_Windows_Storage_Search_IContentIndexerQuery::GetPropertiesAsync(uint32_t startIndex, uint32_t maxItems) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexerQuery)->GetPropertiesRangeAsync(startIndex, maxItems, &operation)); return winrt::Windows::Foundation::IAsyncOperation>>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_Search_IContentIndexerQuery::GetAsync() const + template auto consume_Windows_Storage_Search_IContentIndexerQuery::GetAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexerQuery)->GetAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_Search_IContentIndexerQuery::GetAsync(uint32_t startIndex, uint32_t maxItems) const + template auto consume_Windows_Storage_Search_IContentIndexerQuery::GetAsync(uint32_t startIndex, uint32_t maxItems) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexerQuery)->GetRangeAsync(startIndex, maxItems, &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_Search_IContentIndexerQuery::QueryFolder() const + template auto consume_Windows_Storage_Search_IContentIndexerQuery::QueryFolder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexerQuery)->get_QueryFolder(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexerQuery) consume_Windows_Storage_Search_IContentIndexerQueryOperations::CreateQuery(param::hstring const& searchFilter, param::iterable const& propertiesToRetrieve, param::iterable const& sortOrder, param::hstring const& searchFilterLanguage) const + template auto consume_Windows_Storage_Search_IContentIndexerQueryOperations::CreateQuery(param::hstring const& searchFilter, param::iterable const& propertiesToRetrieve, param::iterable const& sortOrder, param::hstring const& searchFilterLanguage) const { void* query{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexerQueryOperations)->CreateQueryWithSortOrderAndLanguage(*(void**)(&searchFilter), *(void**)(&propertiesToRetrieve), *(void**)(&sortOrder), *(void**)(&searchFilterLanguage), &query)); return winrt::Windows::Storage::Search::ContentIndexerQuery{ query, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexerQuery) consume_Windows_Storage_Search_IContentIndexerQueryOperations::CreateQuery(param::hstring const& searchFilter, param::iterable const& propertiesToRetrieve, param::iterable const& sortOrder) const + template auto consume_Windows_Storage_Search_IContentIndexerQueryOperations::CreateQuery(param::hstring const& searchFilter, param::iterable const& propertiesToRetrieve, param::iterable const& sortOrder) const { void* query{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexerQueryOperations)->CreateQueryWithSortOrder(*(void**)(&searchFilter), *(void**)(&propertiesToRetrieve), *(void**)(&sortOrder), &query)); return winrt::Windows::Storage::Search::ContentIndexerQuery{ query, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexerQuery) consume_Windows_Storage_Search_IContentIndexerQueryOperations::CreateQuery(param::hstring const& searchFilter, param::iterable const& propertiesToRetrieve) const + template auto consume_Windows_Storage_Search_IContentIndexerQueryOperations::CreateQuery(param::hstring const& searchFilter, param::iterable const& propertiesToRetrieve) const { void* query{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexerQueryOperations)->CreateQuery(*(void**)(&searchFilter), *(void**)(&propertiesToRetrieve), &query)); return winrt::Windows::Storage::Search::ContentIndexerQuery{ query, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexer) consume_Windows_Storage_Search_IContentIndexerStatics::GetIndexer(param::hstring const& indexName) const + template auto consume_Windows_Storage_Search_IContentIndexerStatics::GetIndexer(param::hstring const& indexName) const { void* index{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexerStatics)->GetIndexerWithName(*(void**)(&indexName), &index)); return winrt::Windows::Storage::Search::ContentIndexer{ index, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexer) consume_Windows_Storage_Search_IContentIndexerStatics::GetIndexer() const + template auto consume_Windows_Storage_Search_IContentIndexerStatics::GetIndexer() const { void* index{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexerStatics)->GetIndexer(&index)); return winrt::Windows::Storage::Search::ContentIndexer{ index, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Search_IIndexableContent::Id() const + template auto consume_Windows_Storage_Search_IIndexableContent::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IIndexableContent)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IIndexableContent::Id(param::hstring const& value) const + template auto consume_Windows_Storage_Search_IIndexableContent::Id(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IIndexableContent)->put_Id(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Storage_Search_IIndexableContent::Properties() const + template auto consume_Windows_Storage_Search_IIndexableContent::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IIndexableContent)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_Storage_Search_IIndexableContent::Stream() const + template auto consume_Windows_Storage_Search_IIndexableContent::Stream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IIndexableContent)->get_Stream(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IIndexableContent::Stream(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const + template auto consume_Windows_Storage_Search_IIndexableContent::Stream(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IIndexableContent)->put_Stream(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Search_IIndexableContent::StreamContentType() const + template auto consume_Windows_Storage_Search_IIndexableContent::StreamContentType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IIndexableContent)->get_StreamContentType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IIndexableContent::StreamContentType(param::hstring const& value) const + template auto consume_Windows_Storage_Search_IIndexableContent::StreamContentType(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IIndexableContent)->put_StreamContentType(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_Search_IQueryOptions::FileTypeFilter() const + template auto consume_Windows_Storage_Search_IQueryOptions::FileTypeFilter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->get_FileTypeFilter(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::FolderDepth) consume_Windows_Storage_Search_IQueryOptions::FolderDepth() const + template auto consume_Windows_Storage_Search_IQueryOptions::FolderDepth() const { winrt::Windows::Storage::Search::FolderDepth value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->get_FolderDepth(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IQueryOptions::FolderDepth(winrt::Windows::Storage::Search::FolderDepth const& value) const + template auto consume_Windows_Storage_Search_IQueryOptions::FolderDepth(winrt::Windows::Storage::Search::FolderDepth const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->put_FolderDepth(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Search_IQueryOptions::ApplicationSearchFilter() const + template auto consume_Windows_Storage_Search_IQueryOptions::ApplicationSearchFilter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->get_ApplicationSearchFilter(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IQueryOptions::ApplicationSearchFilter(param::hstring const& value) const + template auto consume_Windows_Storage_Search_IQueryOptions::ApplicationSearchFilter(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->put_ApplicationSearchFilter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Search_IQueryOptions::UserSearchFilter() const + template auto consume_Windows_Storage_Search_IQueryOptions::UserSearchFilter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->get_UserSearchFilter(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IQueryOptions::UserSearchFilter(param::hstring const& value) const + template auto consume_Windows_Storage_Search_IQueryOptions::UserSearchFilter(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->put_UserSearchFilter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Search_IQueryOptions::Language() const + template auto consume_Windows_Storage_Search_IQueryOptions::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IQueryOptions::Language(param::hstring const& value) const + template auto consume_Windows_Storage_Search_IQueryOptions::Language(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->put_Language(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::IndexerOption) consume_Windows_Storage_Search_IQueryOptions::IndexerOption() const + template auto consume_Windows_Storage_Search_IQueryOptions::IndexerOption() const { winrt::Windows::Storage::Search::IndexerOption value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->get_IndexerOption(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IQueryOptions::IndexerOption(winrt::Windows::Storage::Search::IndexerOption const& value) const + template auto consume_Windows_Storage_Search_IQueryOptions::IndexerOption(winrt::Windows::Storage::Search::IndexerOption const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->put_IndexerOption(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_Search_IQueryOptions::SortOrder() const + template auto consume_Windows_Storage_Search_IQueryOptions::SortOrder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->get_SortOrder(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Search_IQueryOptions::GroupPropertyName() const + template auto consume_Windows_Storage_Search_IQueryOptions::GroupPropertyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->get_GroupPropertyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::DateStackOption) consume_Windows_Storage_Search_IQueryOptions::DateStackOption() const + template auto consume_Windows_Storage_Search_IQueryOptions::DateStackOption() const { winrt::Windows::Storage::Search::DateStackOption value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->get_DateStackOption(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Search_IQueryOptions::SaveToString() const + template auto consume_Windows_Storage_Search_IQueryOptions::SaveToString() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->SaveToString(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IQueryOptions::LoadFromString(param::hstring const& value) const + template auto consume_Windows_Storage_Search_IQueryOptions::LoadFromString(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->LoadFromString(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IQueryOptions::SetThumbnailPrefetch(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& options) const + template auto consume_Windows_Storage_Search_IQueryOptions::SetThumbnailPrefetch(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& options) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->SetThumbnailPrefetch(static_cast(mode), requestedSize, static_cast(options))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IQueryOptions::SetPropertyPrefetch(winrt::Windows::Storage::FileProperties::PropertyPrefetchOptions const& options, param::iterable const& propertiesToRetrieve) const + template auto consume_Windows_Storage_Search_IQueryOptions::SetPropertyPrefetch(winrt::Windows::Storage::FileProperties::PropertyPrefetchOptions const& options, param::iterable const& propertiesToRetrieve) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->SetPropertyPrefetch(static_cast(options), *(void**)(&propertiesToRetrieve))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::QueryOptions) consume_Windows_Storage_Search_IQueryOptionsFactory::CreateCommonFileQuery(winrt::Windows::Storage::Search::CommonFileQuery const& query, param::iterable const& fileTypeFilter) const + template auto consume_Windows_Storage_Search_IQueryOptionsFactory::CreateCommonFileQuery(winrt::Windows::Storage::Search::CommonFileQuery const& query, param::iterable const& fileTypeFilter) const { void* queryOptions{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptionsFactory)->CreateCommonFileQuery(static_cast(query), *(void**)(&fileTypeFilter), &queryOptions)); return winrt::Windows::Storage::Search::QueryOptions{ queryOptions, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::QueryOptions) consume_Windows_Storage_Search_IQueryOptionsFactory::CreateCommonFolderQuery(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const + template auto consume_Windows_Storage_Search_IQueryOptionsFactory::CreateCommonFolderQuery(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const { void* queryOptions{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptionsFactory)->CreateCommonFolderQuery(static_cast(query), &queryOptions)); return winrt::Windows::Storage::Search::QueryOptions{ queryOptions, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Storage_Search_IQueryOptionsWithProviderFilter::StorageProviderIdFilter() const + template auto consume_Windows_Storage_Search_IQueryOptionsWithProviderFilter::StorageProviderIdFilter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptionsWithProviderFilter)->get_StorageProviderIdFilter(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_Search_IStorageFileQueryResult::GetFilesAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const + template auto consume_Windows_Storage_Search_IStorageFileQueryResult::GetFilesAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFileQueryResult)->GetFilesAsync(startIndex, maxNumberOfItems, &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_Search_IStorageFileQueryResult::GetFilesAsync() const + template auto consume_Windows_Storage_Search_IStorageFileQueryResult::GetFilesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFileQueryResult)->GetFilesAsyncDefaultStartAndCount(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap>) consume_Windows_Storage_Search_IStorageFileQueryResult2::GetMatchingPropertiesWithRanges(winrt::Windows::Storage::StorageFile const& file) const + template auto consume_Windows_Storage_Search_IStorageFileQueryResult2::GetMatchingPropertiesWithRanges(winrt::Windows::Storage::StorageFile const& file) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFileQueryResult2)->GetMatchingPropertiesWithRanges(*(void**)(&file), &result)); return winrt::Windows::Foundation::Collections::IMap>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Search_IStorageFolderQueryOperations::GetIndexedStateAsync() const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::GetIndexedStateAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->GetIndexedStateAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFileQueryResult) consume_Windows_Storage_Search_IStorageFolderQueryOperations::CreateFileQuery() const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::CreateFileQuery() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->CreateFileQueryOverloadDefault(&value)); return winrt::Windows::Storage::Search::StorageFileQueryResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFileQueryResult) consume_Windows_Storage_Search_IStorageFolderQueryOperations::CreateFileQuery(winrt::Windows::Storage::Search::CommonFileQuery const& query) const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::CreateFileQuery(winrt::Windows::Storage::Search::CommonFileQuery const& query) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->CreateFileQuery(static_cast(query), &value)); return winrt::Windows::Storage::Search::StorageFileQueryResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFileQueryResult) consume_Windows_Storage_Search_IStorageFolderQueryOperations::CreateFileQueryWithOptions(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::CreateFileQueryWithOptions(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->CreateFileQueryWithOptions(*(void**)(&queryOptions), &value)); return winrt::Windows::Storage::Search::StorageFileQueryResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFolderQueryResult) consume_Windows_Storage_Search_IStorageFolderQueryOperations::CreateFolderQuery() const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::CreateFolderQuery() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->CreateFolderQueryOverloadDefault(&value)); return winrt::Windows::Storage::Search::StorageFolderQueryResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFolderQueryResult) consume_Windows_Storage_Search_IStorageFolderQueryOperations::CreateFolderQuery(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::CreateFolderQuery(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->CreateFolderQuery(static_cast(query), &value)); return winrt::Windows::Storage::Search::StorageFolderQueryResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFolderQueryResult) consume_Windows_Storage_Search_IStorageFolderQueryOperations::CreateFolderQueryWithOptions(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::CreateFolderQueryWithOptions(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->CreateFolderQueryWithOptions(*(void**)(&queryOptions), &value)); return winrt::Windows::Storage::Search::StorageFolderQueryResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageItemQueryResult) consume_Windows_Storage_Search_IStorageFolderQueryOperations::CreateItemQuery() const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::CreateItemQuery() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->CreateItemQuery(&value)); return winrt::Windows::Storage::Search::StorageItemQueryResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageItemQueryResult) consume_Windows_Storage_Search_IStorageFolderQueryOperations::CreateItemQueryWithOptions(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::CreateItemQueryWithOptions(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->CreateItemQueryWithOptions(*(void**)(&queryOptions), &value)); return winrt::Windows::Storage::Search::StorageItemQueryResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_Search_IStorageFolderQueryOperations::GetFilesAsync(winrt::Windows::Storage::Search::CommonFileQuery const& query, uint32_t startIndex, uint32_t maxItemsToRetrieve) const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::GetFilesAsync(winrt::Windows::Storage::Search::CommonFileQuery const& query, uint32_t startIndex, uint32_t maxItemsToRetrieve) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->GetFilesAsync(static_cast(query), startIndex, maxItemsToRetrieve, &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_Search_IStorageFolderQueryOperations::GetFilesAsync(winrt::Windows::Storage::Search::CommonFileQuery const& query) const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::GetFilesAsync(winrt::Windows::Storage::Search::CommonFileQuery const& query) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->GetFilesAsyncOverloadDefaultStartAndCount(static_cast(query), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_Search_IStorageFolderQueryOperations::GetFoldersAsync(winrt::Windows::Storage::Search::CommonFolderQuery const& query, uint32_t startIndex, uint32_t maxItemsToRetrieve) const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::GetFoldersAsync(winrt::Windows::Storage::Search::CommonFolderQuery const& query, uint32_t startIndex, uint32_t maxItemsToRetrieve) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->GetFoldersAsync(static_cast(query), startIndex, maxItemsToRetrieve, &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_Search_IStorageFolderQueryOperations::GetFoldersAsync(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::GetFoldersAsync(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->GetFoldersAsyncOverloadDefaultStartAndCount(static_cast(query), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_Search_IStorageFolderQueryOperations::GetItemsAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::GetItemsAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->GetItemsAsync(startIndex, maxItemsToRetrieve, &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Search_IStorageFolderQueryOperations::AreQueryOptionsSupported(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::AreQueryOptionsSupported(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->AreQueryOptionsSupported(*(void**)(&queryOptions), &value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Search_IStorageFolderQueryOperations::IsCommonFolderQuerySupported(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::IsCommonFolderQuerySupported(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->IsCommonFolderQuerySupported(static_cast(query), &value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Search_IStorageFolderQueryOperations::IsCommonFileQuerySupported(winrt::Windows::Storage::Search::CommonFileQuery const& query) const + template auto consume_Windows_Storage_Search_IStorageFolderQueryOperations::IsCommonFileQuerySupported(winrt::Windows::Storage::Search::CommonFileQuery const& query) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->IsCommonFileQuerySupported(static_cast(query), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_Search_IStorageFolderQueryResult::GetFoldersAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const + template auto consume_Windows_Storage_Search_IStorageFolderQueryResult::GetFoldersAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryResult)->GetFoldersAsync(startIndex, maxNumberOfItems, &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_Search_IStorageFolderQueryResult::GetFoldersAsync() const + template auto consume_Windows_Storage_Search_IStorageFolderQueryResult::GetFoldersAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryResult)->GetFoldersAsyncDefaultStartAndCount(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_Search_IStorageItemQueryResult::GetItemsAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const + template auto consume_Windows_Storage_Search_IStorageItemQueryResult::GetItemsAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageItemQueryResult)->GetItemsAsync(startIndex, maxNumberOfItems, &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_Search_IStorageItemQueryResult::GetItemsAsync() const + template auto consume_Windows_Storage_Search_IStorageItemQueryResult::GetItemsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageItemQueryResult)->GetItemsAsyncDefaultStartAndCount(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_Search_IStorageLibraryChangeTrackerTriggerDetails::Folder() const + template auto consume_Windows_Storage_Search_IStorageLibraryChangeTrackerTriggerDetails::Folder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageLibraryChangeTrackerTriggerDetails)->get_Folder(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeTracker) consume_Windows_Storage_Search_IStorageLibraryChangeTrackerTriggerDetails::ChangeTracker() const + template auto consume_Windows_Storage_Search_IStorageLibraryChangeTrackerTriggerDetails::ChangeTracker() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageLibraryChangeTrackerTriggerDetails)->get_ChangeTracker(&value)); return winrt::Windows::Storage::StorageLibraryChangeTracker{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_Search_IStorageLibraryContentChangedTriggerDetails::Folder() const + template auto consume_Windows_Storage_Search_IStorageLibraryContentChangedTriggerDetails::Folder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageLibraryContentChangedTriggerDetails)->get_Folder(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageItemQueryResult) consume_Windows_Storage_Search_IStorageLibraryContentChangedTriggerDetails::CreateModifiedSinceQuery(winrt::Windows::Foundation::DateTime const& lastQueryTime) const + template auto consume_Windows_Storage_Search_IStorageLibraryContentChangedTriggerDetails::CreateModifiedSinceQuery(winrt::Windows::Foundation::DateTime const& lastQueryTime) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageLibraryContentChangedTriggerDetails)->CreateModifiedSinceQuery(impl::bind_in(lastQueryTime), &result)); return winrt::Windows::Storage::Search::StorageItemQueryResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Search_IStorageQueryResultBase::GetItemCountAsync() const + template auto consume_Windows_Storage_Search_IStorageQueryResultBase::GetItemCountAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageQueryResultBase)->GetItemCountAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_Search_IStorageQueryResultBase::Folder() const + template auto consume_Windows_Storage_Search_IStorageQueryResultBase::Folder() const { void* container{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageQueryResultBase)->get_Folder(&container)); return winrt::Windows::Storage::StorageFolder{ container, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Search_IStorageQueryResultBase::ContentsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_Search_IStorageQueryResultBase::ContentsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageQueryResultBase)->add_ContentsChanged(*(void**)(&handler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Storage_Search_IStorageQueryResultBase::ContentsChanged_revoker consume_Windows_Storage_Search_IStorageQueryResultBase::ContentsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_Search_IStorageQueryResultBase::ContentsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContentsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IStorageQueryResultBase::ContentsChanged(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Storage_Search_IStorageQueryResultBase::ContentsChanged(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageQueryResultBase)->remove_ContentsChanged(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Search_IStorageQueryResultBase::OptionsChanged(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const + template auto consume_Windows_Storage_Search_IStorageQueryResultBase::OptionsChanged(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageQueryResultBase)->add_OptionsChanged(*(void**)(&changedHandler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Storage_Search_IStorageQueryResultBase::OptionsChanged_revoker consume_Windows_Storage_Search_IStorageQueryResultBase::OptionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const + template auto consume_Windows_Storage_Search_IStorageQueryResultBase::OptionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const { return impl::make_event_revoker(this, OptionsChanged(changedHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IStorageQueryResultBase::OptionsChanged(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Storage_Search_IStorageQueryResultBase::OptionsChanged(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageQueryResultBase)->remove_OptionsChanged(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Search_IStorageQueryResultBase::FindStartIndexAsync(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_Storage_Search_IStorageQueryResultBase::FindStartIndexAsync(winrt::Windows::Foundation::IInspectable const& value) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageQueryResultBase)->FindStartIndexAsync(*(void**)(&value), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::QueryOptions) consume_Windows_Storage_Search_IStorageQueryResultBase::GetCurrentQueryOptions() const + template auto consume_Windows_Storage_Search_IStorageQueryResultBase::GetCurrentQueryOptions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageQueryResultBase)->GetCurrentQueryOptions(&value)); return winrt::Windows::Storage::Search::QueryOptions{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IStorageQueryResultBase::ApplyNewQueryOptions(winrt::Windows::Storage::Search::QueryOptions const& newQueryOptions) const + template auto consume_Windows_Storage_Search_IStorageQueryResultBase::ApplyNewQueryOptions(winrt::Windows::Storage::Search::QueryOptions const& newQueryOptions) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageQueryResultBase)->ApplyNewQueryOptions(*(void**)(&newQueryOptions))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Search_IValueAndLanguage::Language() const + template auto consume_Windows_Storage_Search_IValueAndLanguage::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IValueAndLanguage)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IValueAndLanguage::Language(param::hstring const& value) const + template auto consume_Windows_Storage_Search_IValueAndLanguage::Language(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IValueAndLanguage)->put_Language(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Storage_Search_IValueAndLanguage::Value() const + template auto consume_Windows_Storage_Search_IValueAndLanguage::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IValueAndLanguage)->get_Value(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IValueAndLanguage::Value(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_Storage_Search_IValueAndLanguage::Value(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IValueAndLanguage)->put_Value(*(void**)(&value))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Streams.h b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Streams.h index 1e06ded9..94650fb9 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Streams.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Streams.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Streams_H #define WINRT_Windows_Storage_Streams_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Storage.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Storage.2.h" @@ -13,497 +13,497 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Storage.Streams.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_Streams_IBuffer::Capacity() const + template auto consume_Windows_Storage_Streams_IBuffer::Capacity() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IBuffer)->get_Capacity(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_Streams_IBuffer::Length() const + template auto consume_Windows_Storage_Streams_IBuffer::Length() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IBuffer)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IBuffer::Length(uint32_t value) const + template auto consume_Windows_Storage_Streams_IBuffer::Length(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IBuffer)->put_Length(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::Buffer) consume_Windows_Storage_Streams_IBufferFactory::Create(uint32_t capacity) const + template auto consume_Windows_Storage_Streams_IBufferFactory::Create(uint32_t capacity) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IBufferFactory)->Create(capacity, &value)); return winrt::Windows::Storage::Streams::Buffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::Buffer) consume_Windows_Storage_Streams_IBufferStatics::CreateCopyFromMemoryBuffer(winrt::Windows::Foundation::IMemoryBuffer const& input) const + template auto consume_Windows_Storage_Streams_IBufferStatics::CreateCopyFromMemoryBuffer(winrt::Windows::Foundation::IMemoryBuffer const& input) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IBufferStatics)->CreateCopyFromMemoryBuffer(*(void**)(&input), &value)); return winrt::Windows::Storage::Streams::Buffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::MemoryBuffer) consume_Windows_Storage_Streams_IBufferStatics::CreateMemoryBufferOverIBuffer(winrt::Windows::Storage::Streams::IBuffer const& input) const + template auto consume_Windows_Storage_Streams_IBufferStatics::CreateMemoryBufferOverIBuffer(winrt::Windows::Storage::Streams::IBuffer const& input) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IBufferStatics)->CreateMemoryBufferOverIBuffer(*(void**)(&input), &value)); return winrt::Windows::Foundation::MemoryBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Streams_IContentTypeProvider::ContentType() const + template auto consume_Windows_Storage_Streams_IContentTypeProvider::ContentType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IContentTypeProvider)->get_ContentType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_Streams_IDataReader::UnconsumedBufferLength() const + template auto consume_Windows_Storage_Streams_IDataReader::UnconsumedBufferLength() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->get_UnconsumedBufferLength(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::UnicodeEncoding) consume_Windows_Storage_Streams_IDataReader::UnicodeEncoding() const + template auto consume_Windows_Storage_Streams_IDataReader::UnicodeEncoding() const { winrt::Windows::Storage::Streams::UnicodeEncoding value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->get_UnicodeEncoding(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataReader::UnicodeEncoding(winrt::Windows::Storage::Streams::UnicodeEncoding const& value) const + template auto consume_Windows_Storage_Streams_IDataReader::UnicodeEncoding(winrt::Windows::Storage::Streams::UnicodeEncoding const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->put_UnicodeEncoding(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::ByteOrder) consume_Windows_Storage_Streams_IDataReader::ByteOrder() const + template auto consume_Windows_Storage_Streams_IDataReader::ByteOrder() const { winrt::Windows::Storage::Streams::ByteOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->get_ByteOrder(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataReader::ByteOrder(winrt::Windows::Storage::Streams::ByteOrder const& value) const + template auto consume_Windows_Storage_Streams_IDataReader::ByteOrder(winrt::Windows::Storage::Streams::ByteOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->put_ByteOrder(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::InputStreamOptions) consume_Windows_Storage_Streams_IDataReader::InputStreamOptions() const + template auto consume_Windows_Storage_Streams_IDataReader::InputStreamOptions() const { winrt::Windows::Storage::Streams::InputStreamOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->get_InputStreamOptions(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataReader::InputStreamOptions(winrt::Windows::Storage::Streams::InputStreamOptions const& value) const + template auto consume_Windows_Storage_Streams_IDataReader::InputStreamOptions(winrt::Windows::Storage::Streams::InputStreamOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->put_InputStreamOptions(static_cast(value))); } - template WINRT_IMPL_AUTO(uint8_t) consume_Windows_Storage_Streams_IDataReader::ReadByte() const + template auto consume_Windows_Storage_Streams_IDataReader::ReadByte() const { uint8_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadByte(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataReader::ReadBytes(array_view value) const + template auto consume_Windows_Storage_Streams_IDataReader::ReadBytes(array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadBytes(value.size(), put_abi(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Storage_Streams_IDataReader::ReadBuffer(uint32_t length) const + template auto consume_Windows_Storage_Streams_IDataReader::ReadBuffer(uint32_t length) const { void* buffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadBuffer(length, &buffer)); return winrt::Windows::Storage::Streams::IBuffer{ buffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Streams_IDataReader::ReadBoolean() const + template auto consume_Windows_Storage_Streams_IDataReader::ReadBoolean() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadBoolean(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Storage_Streams_IDataReader::ReadGuid() const + template auto consume_Windows_Storage_Streams_IDataReader::ReadGuid() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadGuid(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(int16_t) consume_Windows_Storage_Streams_IDataReader::ReadInt16() const + template auto consume_Windows_Storage_Streams_IDataReader::ReadInt16() const { int16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadInt16(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_Storage_Streams_IDataReader::ReadInt32() const + template auto consume_Windows_Storage_Streams_IDataReader::ReadInt32() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadInt32(&value)); return value; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_Storage_Streams_IDataReader::ReadInt64() const + template auto consume_Windows_Storage_Streams_IDataReader::ReadInt64() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadInt64(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_Storage_Streams_IDataReader::ReadUInt16() const + template auto consume_Windows_Storage_Streams_IDataReader::ReadUInt16() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadUInt16(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_Streams_IDataReader::ReadUInt32() const + template auto consume_Windows_Storage_Streams_IDataReader::ReadUInt32() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadUInt32(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_Streams_IDataReader::ReadUInt64() const + template auto consume_Windows_Storage_Streams_IDataReader::ReadUInt64() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadUInt64(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_Storage_Streams_IDataReader::ReadSingle() const + template auto consume_Windows_Storage_Streams_IDataReader::ReadSingle() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadSingle(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_Storage_Streams_IDataReader::ReadDouble() const + template auto consume_Windows_Storage_Streams_IDataReader::ReadDouble() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadDouble(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Streams_IDataReader::ReadString(uint32_t codeUnitCount) const + template auto consume_Windows_Storage_Streams_IDataReader::ReadString(uint32_t codeUnitCount) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadString(codeUnitCount, &value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Storage_Streams_IDataReader::ReadDateTime() const + template auto consume_Windows_Storage_Streams_IDataReader::ReadDateTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadDateTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Storage_Streams_IDataReader::ReadTimeSpan() const + template auto consume_Windows_Storage_Streams_IDataReader::ReadTimeSpan() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadTimeSpan(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataReaderLoadOperation) consume_Windows_Storage_Streams_IDataReader::LoadAsync(uint32_t count) const + template auto consume_Windows_Storage_Streams_IDataReader::LoadAsync(uint32_t count) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->LoadAsync(count, &operation)); return winrt::Windows::Storage::Streams::DataReaderLoadOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Storage_Streams_IDataReader::DetachBuffer() const + template auto consume_Windows_Storage_Streams_IDataReader::DetachBuffer() const { void* buffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->DetachBuffer(&buffer)); return winrt::Windows::Storage::Streams::IBuffer{ buffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Storage_Streams_IDataReader::DetachStream() const + template auto consume_Windows_Storage_Streams_IDataReader::DetachStream() const { void* stream{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->DetachStream(&stream)); return winrt::Windows::Storage::Streams::IInputStream{ stream, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataReader) consume_Windows_Storage_Streams_IDataReaderFactory::CreateDataReader(winrt::Windows::Storage::Streams::IInputStream const& inputStream) const + template auto consume_Windows_Storage_Streams_IDataReaderFactory::CreateDataReader(winrt::Windows::Storage::Streams::IInputStream const& inputStream) const { void* dataReader{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReaderFactory)->CreateDataReader(*(void**)(&inputStream), &dataReader)); return winrt::Windows::Storage::Streams::DataReader{ dataReader, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataReader) consume_Windows_Storage_Streams_IDataReaderStatics::FromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Storage_Streams_IDataReaderStatics::FromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* dataReader{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReaderStatics)->FromBuffer(*(void**)(&buffer), &dataReader)); return winrt::Windows::Storage::Streams::DataReader{ dataReader, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_Streams_IDataWriter::UnstoredBufferLength() const + template auto consume_Windows_Storage_Streams_IDataWriter::UnstoredBufferLength() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->get_UnstoredBufferLength(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::UnicodeEncoding) consume_Windows_Storage_Streams_IDataWriter::UnicodeEncoding() const + template auto consume_Windows_Storage_Streams_IDataWriter::UnicodeEncoding() const { winrt::Windows::Storage::Streams::UnicodeEncoding value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->get_UnicodeEncoding(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::UnicodeEncoding(winrt::Windows::Storage::Streams::UnicodeEncoding const& value) const + template auto consume_Windows_Storage_Streams_IDataWriter::UnicodeEncoding(winrt::Windows::Storage::Streams::UnicodeEncoding const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->put_UnicodeEncoding(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::ByteOrder) consume_Windows_Storage_Streams_IDataWriter::ByteOrder() const + template auto consume_Windows_Storage_Streams_IDataWriter::ByteOrder() const { winrt::Windows::Storage::Streams::ByteOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->get_ByteOrder(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::ByteOrder(winrt::Windows::Storage::Streams::ByteOrder const& value) const + template auto consume_Windows_Storage_Streams_IDataWriter::ByteOrder(winrt::Windows::Storage::Streams::ByteOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->put_ByteOrder(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::WriteByte(uint8_t value) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteByte(uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteByte(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::WriteBytes(array_view value) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteBytes(array_view value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteBytes(value.size(), get_abi(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::WriteBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteBuffer(*(void**)(&buffer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::WriteBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, uint32_t start, uint32_t count) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, uint32_t start, uint32_t count) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteBufferRange(*(void**)(&buffer), start, count)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::WriteBoolean(bool value) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteBoolean(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteBoolean(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::WriteGuid(winrt::guid const& value) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteGuid(winrt::guid const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteGuid(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::WriteInt16(int16_t value) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteInt16(int16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteInt16(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::WriteInt32(int32_t value) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteInt32(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteInt32(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::WriteInt64(int64_t value) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteInt64(int64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteInt64(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::WriteUInt16(uint16_t value) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteUInt16(uint16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteUInt16(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::WriteUInt32(uint32_t value) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteUInt32(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteUInt32(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::WriteUInt64(uint64_t value) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteUInt64(uint64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteUInt64(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::WriteSingle(float value) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteSingle(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteSingle(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::WriteDouble(double value) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteDouble(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteDouble(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::WriteDateTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteDateTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteDateTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter::WriteTimeSpan(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteTimeSpan(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteTimeSpan(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_Streams_IDataWriter::WriteString(param::hstring const& value) const + template auto consume_Windows_Storage_Streams_IDataWriter::WriteString(param::hstring const& value) const { uint32_t codeUnitCount{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteString(*(void**)(&value), &codeUnitCount)); return codeUnitCount; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_Streams_IDataWriter::MeasureString(param::hstring const& value) const + template auto consume_Windows_Storage_Streams_IDataWriter::MeasureString(param::hstring const& value) const { uint32_t codeUnitCount{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->MeasureString(*(void**)(&value), &codeUnitCount)); return codeUnitCount; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataWriterStoreOperation) consume_Windows_Storage_Streams_IDataWriter::StoreAsync() const + template auto consume_Windows_Storage_Streams_IDataWriter::StoreAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->StoreAsync(&operation)); return winrt::Windows::Storage::Streams::DataWriterStoreOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Streams_IDataWriter::FlushAsync() const + template auto consume_Windows_Storage_Streams_IDataWriter::FlushAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->FlushAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Storage_Streams_IDataWriter::DetachBuffer() const + template auto consume_Windows_Storage_Streams_IDataWriter::DetachBuffer() const { void* buffer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->DetachBuffer(&buffer)); return winrt::Windows::Storage::Streams::IBuffer{ buffer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Storage_Streams_IDataWriter::DetachStream() const + template auto consume_Windows_Storage_Streams_IDataWriter::DetachStream() const { void* outputStream{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->DetachStream(&outputStream)); return winrt::Windows::Storage::Streams::IOutputStream{ outputStream, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataWriter) consume_Windows_Storage_Streams_IDataWriterFactory::CreateDataWriter(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const + template auto consume_Windows_Storage_Streams_IDataWriterFactory::CreateDataWriter(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const { void* dataWriter{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriterFactory)->CreateDataWriter(*(void**)(&outputStream), &dataWriter)); return winrt::Windows::Storage::Streams::DataWriter{ dataWriter, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics::OpenAsync(param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode) const + template auto consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics::OpenAsync(param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IFileRandomAccessStreamStatics)->OpenAsync(*(void**)(&filePath), static_cast(accessMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics::OpenAsync(param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode, winrt::Windows::Storage::StorageOpenOptions const& sharingOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const + template auto consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics::OpenAsync(param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode, winrt::Windows::Storage::StorageOpenOptions const& sharingOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IFileRandomAccessStreamStatics)->OpenWithOptionsAsync(*(void**)(&filePath), static_cast(accessMode), static_cast(sharingOptions), static_cast(openDisposition), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics::OpenTransactedWriteAsync(param::hstring const& filePath) const + template auto consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics::OpenTransactedWriteAsync(param::hstring const& filePath) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IFileRandomAccessStreamStatics)->OpenTransactedWriteAsync(*(void**)(&filePath), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics::OpenTransactedWriteAsync(param::hstring const& filePath, winrt::Windows::Storage::StorageOpenOptions const& openOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const + template auto consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics::OpenTransactedWriteAsync(param::hstring const& filePath, winrt::Windows::Storage::StorageOpenOptions const& openOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IFileRandomAccessStreamStatics)->OpenTransactedWriteWithOptionsAsync(*(void**)(&filePath), static_cast(openOptions), static_cast(openDisposition), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics::OpenForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode) const + template auto consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics::OpenForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IFileRandomAccessStreamStatics)->OpenForUserAsync(*(void**)(&user), *(void**)(&filePath), static_cast(accessMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics::OpenForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode, winrt::Windows::Storage::StorageOpenOptions const& sharingOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const + template auto consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics::OpenForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode, winrt::Windows::Storage::StorageOpenOptions const& sharingOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IFileRandomAccessStreamStatics)->OpenForUserWithOptionsAsync(*(void**)(&user), *(void**)(&filePath), static_cast(accessMode), static_cast(sharingOptions), static_cast(openDisposition), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics::OpenTransactedWriteForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath) const + template auto consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics::OpenTransactedWriteForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IFileRandomAccessStreamStatics)->OpenTransactedWriteForUserAsync(*(void**)(&user), *(void**)(&filePath), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics::OpenTransactedWriteForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath, winrt::Windows::Storage::StorageOpenOptions const& openOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const + template auto consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics::OpenTransactedWriteForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath, winrt::Windows::Storage::StorageOpenOptions const& openOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IFileRandomAccessStreamStatics)->OpenTransactedWriteForUserWithOptionsAsync(*(void**)(&user), *(void**)(&filePath), static_cast(openOptions), static_cast(openDisposition), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Storage_Streams_IInputStream::ReadAsync(winrt::Windows::Storage::Streams::IBuffer const& buffer, uint32_t count, winrt::Windows::Storage::Streams::InputStreamOptions const& options) const + template auto consume_Windows_Storage_Streams_IInputStream::ReadAsync(winrt::Windows::Storage::Streams::IBuffer const& buffer, uint32_t count, winrt::Windows::Storage::Streams::InputStreamOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IInputStream)->ReadAsync(*(void**)(&buffer), count, static_cast(options), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Streams_IInputStreamReference::OpenSequentialReadAsync() const + template auto consume_Windows_Storage_Streams_IInputStreamReference::OpenSequentialReadAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IInputStreamReference)->OpenSequentialReadAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Storage_Streams_IOutputStream::WriteAsync(winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Storage_Streams_IOutputStream::WriteAsync(winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IOutputStream)->WriteAsync(*(void**)(&buffer), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Streams_IOutputStream::FlushAsync() const + template auto consume_Windows_Storage_Streams_IOutputStream::FlushAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IOutputStream)->FlushAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_Streams_IRandomAccessStream::Size() const + template auto consume_Windows_Storage_Streams_IRandomAccessStream::Size() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStream)->get_Size(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IRandomAccessStream::Size(uint64_t value) const + template auto consume_Windows_Storage_Streams_IRandomAccessStream::Size(uint64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStream)->put_Size(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Storage_Streams_IRandomAccessStream::GetInputStreamAt(uint64_t position) const + template auto consume_Windows_Storage_Streams_IRandomAccessStream::GetInputStreamAt(uint64_t position) const { void* stream{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStream)->GetInputStreamAt(position, &stream)); return winrt::Windows::Storage::Streams::IInputStream{ stream, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Storage_Streams_IRandomAccessStream::GetOutputStreamAt(uint64_t position) const + template auto consume_Windows_Storage_Streams_IRandomAccessStream::GetOutputStreamAt(uint64_t position) const { void* stream{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStream)->GetOutputStreamAt(position, &stream)); return winrt::Windows::Storage::Streams::IOutputStream{ stream, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_Streams_IRandomAccessStream::Position() const + template auto consume_Windows_Storage_Streams_IRandomAccessStream::Position() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStream)->get_Position(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IRandomAccessStream::Seek(uint64_t position) const + template auto consume_Windows_Storage_Streams_IRandomAccessStream::Seek(uint64_t position) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStream)->Seek(position)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_Storage_Streams_IRandomAccessStream::CloneStream() const + template auto consume_Windows_Storage_Streams_IRandomAccessStream::CloneStream() const { void* stream{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStream)->CloneStream(&stream)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ stream, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Streams_IRandomAccessStream::CanRead() const + template auto consume_Windows_Storage_Streams_IRandomAccessStream::CanRead() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStream)->get_CanRead(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Streams_IRandomAccessStream::CanWrite() const + template auto consume_Windows_Storage_Streams_IRandomAccessStream::CanWrite() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStream)->get_CanWrite(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_Streams_IRandomAccessStreamReference::OpenReadAsync() const + template auto consume_Windows_Storage_Streams_IRandomAccessStreamReference::OpenReadAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStreamReference)->OpenReadAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_Storage_Streams_IRandomAccessStreamReferenceStatics::CreateFromFile(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Storage_Streams_IRandomAccessStreamReferenceStatics::CreateFromFile(winrt::Windows::Storage::IStorageFile const& file) const { void* streamReference{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStreamReferenceStatics)->CreateFromFile(*(void**)(&file), &streamReference)); return winrt::Windows::Storage::Streams::RandomAccessStreamReference{ streamReference, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_Storage_Streams_IRandomAccessStreamReferenceStatics::CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Storage_Streams_IRandomAccessStreamReferenceStatics::CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const { void* streamReference{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStreamReferenceStatics)->CreateFromUri(*(void**)(&uri), &streamReference)); return winrt::Windows::Storage::Streams::RandomAccessStreamReference{ streamReference, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_Storage_Streams_IRandomAccessStreamReferenceStatics::CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const + template auto consume_Windows_Storage_Streams_IRandomAccessStreamReferenceStatics::CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const { void* streamReference{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStreamReferenceStatics)->CreateFromStream(*(void**)(&stream), &streamReference)); return winrt::Windows::Storage::Streams::RandomAccessStreamReference{ streamReference, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Storage_Streams_IRandomAccessStreamStatics::CopyAsync(winrt::Windows::Storage::Streams::IInputStream const& source, winrt::Windows::Storage::Streams::IOutputStream const& destination) const + template auto consume_Windows_Storage_Streams_IRandomAccessStreamStatics::CopyAsync(winrt::Windows::Storage::Streams::IInputStream const& source, winrt::Windows::Storage::Streams::IOutputStream const& destination) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStreamStatics)->CopyAsync(*(void**)(&source), *(void**)(&destination), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Storage_Streams_IRandomAccessStreamStatics::CopyAsync(winrt::Windows::Storage::Streams::IInputStream const& source, winrt::Windows::Storage::Streams::IOutputStream const& destination, uint64_t bytesToCopy) const + template auto consume_Windows_Storage_Streams_IRandomAccessStreamStatics::CopyAsync(winrt::Windows::Storage::Streams::IInputStream const& source, winrt::Windows::Storage::Streams::IOutputStream const& destination, uint64_t bytesToCopy) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStreamStatics)->CopySizeAsync(*(void**)(&source), *(void**)(&destination), bytesToCopy, &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Storage_Streams_IRandomAccessStreamStatics::CopyAndCloseAsync(winrt::Windows::Storage::Streams::IInputStream const& source, winrt::Windows::Storage::Streams::IOutputStream const& destination) const + template auto consume_Windows_Storage_Streams_IRandomAccessStreamStatics::CopyAndCloseAsync(winrt::Windows::Storage::Streams::IInputStream const& source, winrt::Windows::Storage::Streams::IOutputStream const& destination) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStreamStatics)->CopyAndCloseAsync(*(void**)(&source), *(void**)(&destination), &operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.h b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.h index 4e0947a3..3d06e66b 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Storage.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Storage.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_H #define WINRT_Windows_Storage_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Storage.FileProperties.2.h" @@ -16,1593 +16,1593 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Storage.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths::Cookies() const + template auto consume_Windows_Storage_IAppDataPaths::Cookies() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_Cookies(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths::Desktop() const + template auto consume_Windows_Storage_IAppDataPaths::Desktop() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_Desktop(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths::Documents() const + template auto consume_Windows_Storage_IAppDataPaths::Documents() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_Documents(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths::Favorites() const + template auto consume_Windows_Storage_IAppDataPaths::Favorites() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_Favorites(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths::History() const + template auto consume_Windows_Storage_IAppDataPaths::History() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_History(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths::InternetCache() const + template auto consume_Windows_Storage_IAppDataPaths::InternetCache() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_InternetCache(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths::LocalAppData() const + template auto consume_Windows_Storage_IAppDataPaths::LocalAppData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_LocalAppData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths::ProgramData() const + template auto consume_Windows_Storage_IAppDataPaths::ProgramData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_ProgramData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths::RoamingAppData() const + template auto consume_Windows_Storage_IAppDataPaths::RoamingAppData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_RoamingAppData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::AppDataPaths) consume_Windows_Storage_IAppDataPathsStatics::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_Storage_IAppDataPathsStatics::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPathsStatics)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::Storage::AppDataPaths{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::AppDataPaths) consume_Windows_Storage_IAppDataPathsStatics::GetDefault() const + template auto consume_Windows_Storage_IAppDataPathsStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPathsStatics)->GetDefault(&result)); return winrt::Windows::Storage::AppDataPaths{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_IApplicationData::Version() const + template auto consume_Windows_Storage_IApplicationData::Version() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->get_Version(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IApplicationData::SetVersionAsync(uint32_t desiredVersion, winrt::Windows::Storage::ApplicationDataSetVersionHandler const& handler) const + template auto consume_Windows_Storage_IApplicationData::SetVersionAsync(uint32_t desiredVersion, winrt::Windows::Storage::ApplicationDataSetVersionHandler const& handler) const { void* setVersionOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->SetVersionAsync(desiredVersion, *(void**)(&handler), &setVersionOperation)); return winrt::Windows::Foundation::IAsyncAction{ setVersionOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IApplicationData::ClearAsync() const + template auto consume_Windows_Storage_IApplicationData::ClearAsync() const { void* clearOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->ClearAllAsync(&clearOperation)); return winrt::Windows::Foundation::IAsyncAction{ clearOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IApplicationData::ClearAsync(winrt::Windows::Storage::ApplicationDataLocality const& locality) const + template auto consume_Windows_Storage_IApplicationData::ClearAsync(winrt::Windows::Storage::ApplicationDataLocality const& locality) const { void* clearOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->ClearAsync(static_cast(locality), &clearOperation)); return winrt::Windows::Foundation::IAsyncAction{ clearOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationDataContainer) consume_Windows_Storage_IApplicationData::LocalSettings() const + template auto consume_Windows_Storage_IApplicationData::LocalSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->get_LocalSettings(&value)); return winrt::Windows::Storage::ApplicationDataContainer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationDataContainer) consume_Windows_Storage_IApplicationData::RoamingSettings() const + template auto consume_Windows_Storage_IApplicationData::RoamingSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->get_RoamingSettings(&value)); return winrt::Windows::Storage::ApplicationDataContainer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IApplicationData::LocalFolder() const + template auto consume_Windows_Storage_IApplicationData::LocalFolder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->get_LocalFolder(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IApplicationData::RoamingFolder() const + template auto consume_Windows_Storage_IApplicationData::RoamingFolder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->get_RoamingFolder(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IApplicationData::TemporaryFolder() const + template auto consume_Windows_Storage_IApplicationData::TemporaryFolder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->get_TemporaryFolder(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_IApplicationData::DataChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_IApplicationData::DataChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->add_DataChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Storage_IApplicationData::DataChanged_revoker consume_Windows_Storage_IApplicationData::DataChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_IApplicationData::DataChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DataChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_IApplicationData::DataChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Storage_IApplicationData::DataChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->remove_DataChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_IApplicationData::SignalDataChanged() const + template auto consume_Windows_Storage_IApplicationData::SignalDataChanged() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->SignalDataChanged()); } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_IApplicationData::RoamingStorageQuota() const + template auto consume_Windows_Storage_IApplicationData::RoamingStorageQuota() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->get_RoamingStorageQuota(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IApplicationData2::LocalCacheFolder() const + template auto consume_Windows_Storage_IApplicationData2::LocalCacheFolder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData2)->get_LocalCacheFolder(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IApplicationData3::GetPublisherCacheFolder(param::hstring const& folderName) const + template auto consume_Windows_Storage_IApplicationData3::GetPublisherCacheFolder(param::hstring const& folderName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData3)->GetPublisherCacheFolder(*(void**)(&folderName), &value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IApplicationData3::ClearPublisherCacheFolderAsync(param::hstring const& folderName) const + template auto consume_Windows_Storage_IApplicationData3::ClearPublisherCacheFolderAsync(param::hstring const& folderName) const { void* clearOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData3)->ClearPublisherCacheFolderAsync(*(void**)(&folderName), &clearOperation)); return winrt::Windows::Foundation::IAsyncAction{ clearOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IApplicationData3::SharedLocalFolder() const + template auto consume_Windows_Storage_IApplicationData3::SharedLocalFolder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData3)->get_SharedLocalFolder(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IApplicationDataContainer::Name() const + template auto consume_Windows_Storage_IApplicationDataContainer::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationDataContainer)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationDataLocality) consume_Windows_Storage_IApplicationDataContainer::Locality() const + template auto consume_Windows_Storage_IApplicationDataContainer::Locality() const { winrt::Windows::Storage::ApplicationDataLocality value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationDataContainer)->get_Locality(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Storage_IApplicationDataContainer::Values() const + template auto consume_Windows_Storage_IApplicationDataContainer::Values() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationDataContainer)->get_Values(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_Storage_IApplicationDataContainer::Containers() const + template auto consume_Windows_Storage_IApplicationDataContainer::Containers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationDataContainer)->get_Containers(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationDataContainer) consume_Windows_Storage_IApplicationDataContainer::CreateContainer(param::hstring const& name, winrt::Windows::Storage::ApplicationDataCreateDisposition const& disposition) const + template auto consume_Windows_Storage_IApplicationDataContainer::CreateContainer(param::hstring const& name, winrt::Windows::Storage::ApplicationDataCreateDisposition const& disposition) const { void* container{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationDataContainer)->CreateContainer(*(void**)(&name), static_cast(disposition), &container)); return winrt::Windows::Storage::ApplicationDataContainer{ container, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_IApplicationDataContainer::DeleteContainer(param::hstring const& name) const + template auto consume_Windows_Storage_IApplicationDataContainer::DeleteContainer(param::hstring const& name) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationDataContainer)->DeleteContainer(*(void**)(&name))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationData) consume_Windows_Storage_IApplicationDataStatics::Current() const + template auto consume_Windows_Storage_IApplicationDataStatics::Current() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationDataStatics)->get_Current(&value)); return winrt::Windows::Storage::ApplicationData{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IApplicationDataStatics2::GetForUserAsync(winrt::Windows::System::User const& user) const + template auto consume_Windows_Storage_IApplicationDataStatics2::GetForUserAsync(winrt::Windows::System::User const& user) const { void* getForUserOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationDataStatics2)->GetForUserAsync(*(void**)(&user), &getForUserOperation)); return winrt::Windows::Foundation::IAsyncOperation{ getForUserOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_ICachedFileManagerStatics::DeferUpdates(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Storage_ICachedFileManagerStatics::DeferUpdates(winrt::Windows::Storage::IStorageFile const& file) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ICachedFileManagerStatics)->DeferUpdates(*(void**)(&file))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_ICachedFileManagerStatics::CompleteUpdatesAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Storage_ICachedFileManagerStatics::CompleteUpdatesAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ICachedFileManagerStatics)->CompleteUpdatesAsync(*(void**)(&file), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IDownloadsFolderStatics::CreateFileAsync(param::hstring const& desiredName) const + template auto consume_Windows_Storage_IDownloadsFolderStatics::CreateFileAsync(param::hstring const& desiredName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IDownloadsFolderStatics)->CreateFileAsync(*(void**)(&desiredName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IDownloadsFolderStatics::CreateFolderAsync(param::hstring const& desiredName) const + template auto consume_Windows_Storage_IDownloadsFolderStatics::CreateFolderAsync(param::hstring const& desiredName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IDownloadsFolderStatics)->CreateFolderAsync(*(void**)(&desiredName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IDownloadsFolderStatics::CreateFileAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const + template auto consume_Windows_Storage_IDownloadsFolderStatics::CreateFileAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IDownloadsFolderStatics)->CreateFileWithCollisionOptionAsync(*(void**)(&desiredName), static_cast(option), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IDownloadsFolderStatics::CreateFolderAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const + template auto consume_Windows_Storage_IDownloadsFolderStatics::CreateFolderAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IDownloadsFolderStatics)->CreateFolderWithCollisionOptionAsync(*(void**)(&desiredName), static_cast(option), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IDownloadsFolderStatics2::CreateFileForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName) const + template auto consume_Windows_Storage_IDownloadsFolderStatics2::CreateFileForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IDownloadsFolderStatics2)->CreateFileForUserAsync(*(void**)(&user), *(void**)(&desiredName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IDownloadsFolderStatics2::CreateFolderForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName) const + template auto consume_Windows_Storage_IDownloadsFolderStatics2::CreateFolderForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IDownloadsFolderStatics2)->CreateFolderForUserAsync(*(void**)(&user), *(void**)(&desiredName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IDownloadsFolderStatics2::CreateFileForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const + template auto consume_Windows_Storage_IDownloadsFolderStatics2::CreateFileForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IDownloadsFolderStatics2)->CreateFileForUserWithCollisionOptionAsync(*(void**)(&user), *(void**)(&desiredName), static_cast(option), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IDownloadsFolderStatics2::CreateFolderForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const + template auto consume_Windows_Storage_IDownloadsFolderStatics2::CreateFolderForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IDownloadsFolderStatics2)->CreateFolderForUserWithCollisionOptionAsync(*(void**)(&user), *(void**)(&desiredName), static_cast(option), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IFileIOStatics::ReadTextAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Storage_IFileIOStatics::ReadTextAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* textOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IFileIOStatics)->ReadTextAsync(*(void**)(&file), &textOperation)); return winrt::Windows::Foundation::IAsyncOperation{ textOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IFileIOStatics::ReadTextAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const + template auto consume_Windows_Storage_IFileIOStatics::ReadTextAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const { void* textOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IFileIOStatics)->ReadTextWithEncodingAsync(*(void**)(&file), static_cast(encoding), &textOperation)); return winrt::Windows::Foundation::IAsyncOperation{ textOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics::WriteTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents) const + template auto consume_Windows_Storage_IFileIOStatics::WriteTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents) const { void* textOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IFileIOStatics)->WriteTextAsync(*(void**)(&file), *(void**)(&contents), &textOperation)); return winrt::Windows::Foundation::IAsyncAction{ textOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics::WriteTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const + template auto consume_Windows_Storage_IFileIOStatics::WriteTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const { void* textOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IFileIOStatics)->WriteTextWithEncodingAsync(*(void**)(&file), *(void**)(&contents), static_cast(encoding), &textOperation)); return winrt::Windows::Foundation::IAsyncAction{ textOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics::AppendTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents) const + template auto consume_Windows_Storage_IFileIOStatics::AppendTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents) const { void* textOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IFileIOStatics)->AppendTextAsync(*(void**)(&file), *(void**)(&contents), &textOperation)); return winrt::Windows::Foundation::IAsyncAction{ textOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics::AppendTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const + template auto consume_Windows_Storage_IFileIOStatics::AppendTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const { void* textOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IFileIOStatics)->AppendTextWithEncodingAsync(*(void**)(&file), *(void**)(&contents), static_cast(encoding), &textOperation)); return winrt::Windows::Foundation::IAsyncAction{ textOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_IFileIOStatics::ReadLinesAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Storage_IFileIOStatics::ReadLinesAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* linesOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IFileIOStatics)->ReadLinesAsync(*(void**)(&file), &linesOperation)); return winrt::Windows::Foundation::IAsyncOperation>{ linesOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_IFileIOStatics::ReadLinesAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const + template auto consume_Windows_Storage_IFileIOStatics::ReadLinesAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const { void* linesOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IFileIOStatics)->ReadLinesWithEncodingAsync(*(void**)(&file), static_cast(encoding), &linesOperation)); return winrt::Windows::Foundation::IAsyncOperation>{ linesOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics::WriteLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable const& lines) const + template auto consume_Windows_Storage_IFileIOStatics::WriteLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable const& lines) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IFileIOStatics)->WriteLinesAsync(*(void**)(&file), *(void**)(&lines), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics::WriteLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const + template auto consume_Windows_Storage_IFileIOStatics::WriteLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IFileIOStatics)->WriteLinesWithEncodingAsync(*(void**)(&file), *(void**)(&lines), static_cast(encoding), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics::AppendLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable const& lines) const + template auto consume_Windows_Storage_IFileIOStatics::AppendLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable const& lines) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IFileIOStatics)->AppendLinesAsync(*(void**)(&file), *(void**)(&lines), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics::AppendLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const + template auto consume_Windows_Storage_IFileIOStatics::AppendLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IFileIOStatics)->AppendLinesWithEncodingAsync(*(void**)(&file), *(void**)(&lines), static_cast(encoding), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IFileIOStatics::ReadBufferAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_Storage_IFileIOStatics::ReadBufferAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IFileIOStatics)->ReadBufferAsync(*(void**)(&file), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics::WriteBufferAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Storage_IFileIOStatics::WriteBufferAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IFileIOStatics)->WriteBufferAsync(*(void**)(&file), *(void**)(&buffer), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics::WriteBytesAsync(winrt::Windows::Storage::IStorageFile const& file, array_view buffer) const + template auto consume_Windows_Storage_IFileIOStatics::WriteBytesAsync(winrt::Windows::Storage::IStorageFile const& file, array_view buffer) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IFileIOStatics)->WriteBytesAsync(*(void**)(&file), buffer.size(), get_abi(buffer), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersCameraRollStatics::CameraRoll() const + template auto consume_Windows_Storage_IKnownFoldersCameraRollStatics::CameraRoll() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersCameraRollStatics)->get_CameraRoll(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersPlaylistsStatics::Playlists() const + template auto consume_Windows_Storage_IKnownFoldersPlaylistsStatics::Playlists() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersPlaylistsStatics)->get_Playlists(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersSavedPicturesStatics::SavedPictures() const + template auto consume_Windows_Storage_IKnownFoldersSavedPicturesStatics::SavedPictures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersSavedPicturesStatics)->get_SavedPictures(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics::MusicLibrary() const + template auto consume_Windows_Storage_IKnownFoldersStatics::MusicLibrary() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersStatics)->get_MusicLibrary(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics::PicturesLibrary() const + template auto consume_Windows_Storage_IKnownFoldersStatics::PicturesLibrary() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersStatics)->get_PicturesLibrary(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics::VideosLibrary() const + template auto consume_Windows_Storage_IKnownFoldersStatics::VideosLibrary() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersStatics)->get_VideosLibrary(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics::DocumentsLibrary() const + template auto consume_Windows_Storage_IKnownFoldersStatics::DocumentsLibrary() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersStatics)->get_DocumentsLibrary(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics::HomeGroup() const + template auto consume_Windows_Storage_IKnownFoldersStatics::HomeGroup() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersStatics)->get_HomeGroup(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics::RemovableDevices() const + template auto consume_Windows_Storage_IKnownFoldersStatics::RemovableDevices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersStatics)->get_RemovableDevices(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics::MediaServerDevices() const + template auto consume_Windows_Storage_IKnownFoldersStatics::MediaServerDevices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersStatics)->get_MediaServerDevices(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics2::Objects3D() const + template auto consume_Windows_Storage_IKnownFoldersStatics2::Objects3D() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersStatics2)->get_Objects3D(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics2::AppCaptures() const + template auto consume_Windows_Storage_IKnownFoldersStatics2::AppCaptures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersStatics2)->get_AppCaptures(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics2::RecordedCalls() const + template auto consume_Windows_Storage_IKnownFoldersStatics2::RecordedCalls() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersStatics2)->get_RecordedCalls(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IKnownFoldersStatics3::GetFolderForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Storage::KnownFolderId const& folderId) const + template auto consume_Windows_Storage_IKnownFoldersStatics3::GetFolderForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Storage::KnownFolderId const& folderId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersStatics3)->GetFolderForUserAsync(*(void**)(&user), static_cast(folderId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IKnownFoldersStatics4::RequestAccessAsync(winrt::Windows::Storage::KnownFolderId const& folderId) const + template auto consume_Windows_Storage_IKnownFoldersStatics4::RequestAccessAsync(winrt::Windows::Storage::KnownFolderId const& folderId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersStatics4)->RequestAccessAsync(static_cast(folderId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IKnownFoldersStatics4::RequestAccessForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Storage::KnownFolderId const& folderId) const + template auto consume_Windows_Storage_IKnownFoldersStatics4::RequestAccessForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Storage::KnownFolderId const& folderId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersStatics4)->RequestAccessForUserAsync(*(void**)(&user), static_cast(folderId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IKnownFoldersStatics4::GetFolderAsync(winrt::Windows::Storage::KnownFolderId const& folderId) const + template auto consume_Windows_Storage_IKnownFoldersStatics4::GetFolderAsync(winrt::Windows::Storage::KnownFolderId const& folderId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersStatics4)->GetFolderAsync(static_cast(folderId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IPathIOStatics::ReadTextAsync(param::hstring const& absolutePath) const + template auto consume_Windows_Storage_IPathIOStatics::ReadTextAsync(param::hstring const& absolutePath) const { void* textOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IPathIOStatics)->ReadTextAsync(*(void**)(&absolutePath), &textOperation)); return winrt::Windows::Foundation::IAsyncOperation{ textOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IPathIOStatics::ReadTextAsync(param::hstring const& absolutePath, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const + template auto consume_Windows_Storage_IPathIOStatics::ReadTextAsync(param::hstring const& absolutePath, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const { void* textOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IPathIOStatics)->ReadTextWithEncodingAsync(*(void**)(&absolutePath), static_cast(encoding), &textOperation)); return winrt::Windows::Foundation::IAsyncOperation{ textOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics::WriteTextAsync(param::hstring const& absolutePath, param::hstring const& contents) const + template auto consume_Windows_Storage_IPathIOStatics::WriteTextAsync(param::hstring const& absolutePath, param::hstring const& contents) const { void* textOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IPathIOStatics)->WriteTextAsync(*(void**)(&absolutePath), *(void**)(&contents), &textOperation)); return winrt::Windows::Foundation::IAsyncAction{ textOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics::WriteTextAsync(param::hstring const& absolutePath, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const + template auto consume_Windows_Storage_IPathIOStatics::WriteTextAsync(param::hstring const& absolutePath, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const { void* textOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IPathIOStatics)->WriteTextWithEncodingAsync(*(void**)(&absolutePath), *(void**)(&contents), static_cast(encoding), &textOperation)); return winrt::Windows::Foundation::IAsyncAction{ textOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics::AppendTextAsync(param::hstring const& absolutePath, param::hstring const& contents) const + template auto consume_Windows_Storage_IPathIOStatics::AppendTextAsync(param::hstring const& absolutePath, param::hstring const& contents) const { void* textOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IPathIOStatics)->AppendTextAsync(*(void**)(&absolutePath), *(void**)(&contents), &textOperation)); return winrt::Windows::Foundation::IAsyncAction{ textOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics::AppendTextAsync(param::hstring const& absolutePath, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const + template auto consume_Windows_Storage_IPathIOStatics::AppendTextAsync(param::hstring const& absolutePath, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const { void* textOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IPathIOStatics)->AppendTextWithEncodingAsync(*(void**)(&absolutePath), *(void**)(&contents), static_cast(encoding), &textOperation)); return winrt::Windows::Foundation::IAsyncAction{ textOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_IPathIOStatics::ReadLinesAsync(param::hstring const& absolutePath) const + template auto consume_Windows_Storage_IPathIOStatics::ReadLinesAsync(param::hstring const& absolutePath) const { void* linesOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IPathIOStatics)->ReadLinesAsync(*(void**)(&absolutePath), &linesOperation)); return winrt::Windows::Foundation::IAsyncOperation>{ linesOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_IPathIOStatics::ReadLinesAsync(param::hstring const& absolutePath, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const + template auto consume_Windows_Storage_IPathIOStatics::ReadLinesAsync(param::hstring const& absolutePath, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const { void* linesOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IPathIOStatics)->ReadLinesWithEncodingAsync(*(void**)(&absolutePath), static_cast(encoding), &linesOperation)); return winrt::Windows::Foundation::IAsyncOperation>{ linesOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics::WriteLinesAsync(param::hstring const& absolutePath, param::async_iterable const& lines) const + template auto consume_Windows_Storage_IPathIOStatics::WriteLinesAsync(param::hstring const& absolutePath, param::async_iterable const& lines) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IPathIOStatics)->WriteLinesAsync(*(void**)(&absolutePath), *(void**)(&lines), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics::WriteLinesAsync(param::hstring const& absolutePath, param::async_iterable const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const + template auto consume_Windows_Storage_IPathIOStatics::WriteLinesAsync(param::hstring const& absolutePath, param::async_iterable const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IPathIOStatics)->WriteLinesWithEncodingAsync(*(void**)(&absolutePath), *(void**)(&lines), static_cast(encoding), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics::AppendLinesAsync(param::hstring const& absolutePath, param::async_iterable const& lines) const + template auto consume_Windows_Storage_IPathIOStatics::AppendLinesAsync(param::hstring const& absolutePath, param::async_iterable const& lines) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IPathIOStatics)->AppendLinesAsync(*(void**)(&absolutePath), *(void**)(&lines), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics::AppendLinesAsync(param::hstring const& absolutePath, param::async_iterable const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const + template auto consume_Windows_Storage_IPathIOStatics::AppendLinesAsync(param::hstring const& absolutePath, param::async_iterable const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IPathIOStatics)->AppendLinesWithEncodingAsync(*(void**)(&absolutePath), *(void**)(&lines), static_cast(encoding), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IPathIOStatics::ReadBufferAsync(param::hstring const& absolutePath) const + template auto consume_Windows_Storage_IPathIOStatics::ReadBufferAsync(param::hstring const& absolutePath) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IPathIOStatics)->ReadBufferAsync(*(void**)(&absolutePath), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics::WriteBufferAsync(param::hstring const& absolutePath, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template auto consume_Windows_Storage_IPathIOStatics::WriteBufferAsync(param::hstring const& absolutePath, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IPathIOStatics)->WriteBufferAsync(*(void**)(&absolutePath), *(void**)(&buffer), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics::WriteBytesAsync(param::hstring const& absolutePath, array_view buffer) const + template auto consume_Windows_Storage_IPathIOStatics::WriteBytesAsync(param::hstring const& absolutePath, array_view buffer) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IPathIOStatics)->WriteBytesAsync(*(void**)(&absolutePath), buffer.size(), get_abi(buffer), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_ISetVersionDeferral::Complete() const + template auto consume_Windows_Storage_ISetVersionDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISetVersionDeferral)->Complete()); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_ISetVersionRequest::CurrentVersion() const + template auto consume_Windows_Storage_ISetVersionRequest::CurrentVersion() const { uint32_t currentVersion{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISetVersionRequest)->get_CurrentVersion(¤tVersion)); return currentVersion; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_ISetVersionRequest::DesiredVersion() const + template auto consume_Windows_Storage_ISetVersionRequest::DesiredVersion() const { uint32_t desiredVersion{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISetVersionRequest)->get_DesiredVersion(&desiredVersion)); return desiredVersion; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::SetVersionDeferral) consume_Windows_Storage_ISetVersionRequest::GetDeferral() const + template auto consume_Windows_Storage_ISetVersionRequest::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISetVersionRequest)->GetDeferral(&deferral)); return winrt::Windows::Storage::SetVersionDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageFile::FileType() const + template auto consume_Windows_Storage_IStorageFile::FileType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile)->get_FileType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageFile::ContentType() const + template auto consume_Windows_Storage_IStorageFile::ContentType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile)->get_ContentType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFile::OpenAsync(winrt::Windows::Storage::FileAccessMode const& accessMode) const + template auto consume_Windows_Storage_IStorageFile::OpenAsync(winrt::Windows::Storage::FileAccessMode const& accessMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile)->OpenAsync(static_cast(accessMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFile::OpenTransactedWriteAsync() const + template auto consume_Windows_Storage_IStorageFile::OpenTransactedWriteAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile)->OpenTransactedWriteAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFile::CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder) const + template auto consume_Windows_Storage_IStorageFile::CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile)->CopyOverloadDefaultNameAndOptions(*(void**)(&destinationFolder), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFile::CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName) const + template auto consume_Windows_Storage_IStorageFile::CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile)->CopyOverloadDefaultOptions(*(void**)(&destinationFolder), *(void**)(&desiredNewName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFile::CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName, winrt::Windows::Storage::NameCollisionOption const& option) const + template auto consume_Windows_Storage_IStorageFile::CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName, winrt::Windows::Storage::NameCollisionOption const& option) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile)->CopyOverload(*(void**)(&destinationFolder), *(void**)(&desiredNewName), static_cast(option), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageFile::CopyAndReplaceAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace) const + template auto consume_Windows_Storage_IStorageFile::CopyAndReplaceAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile)->CopyAndReplaceAsync(*(void**)(&fileToReplace), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageFile::MoveAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder) const + template auto consume_Windows_Storage_IStorageFile::MoveAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile)->MoveOverloadDefaultNameAndOptions(*(void**)(&destinationFolder), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageFile::MoveAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName) const + template auto consume_Windows_Storage_IStorageFile::MoveAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile)->MoveOverloadDefaultOptions(*(void**)(&destinationFolder), *(void**)(&desiredNewName), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageFile::MoveAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName, winrt::Windows::Storage::NameCollisionOption const& option) const + template auto consume_Windows_Storage_IStorageFile::MoveAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName, winrt::Windows::Storage::NameCollisionOption const& option) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile)->MoveOverload(*(void**)(&destinationFolder), *(void**)(&desiredNewName), static_cast(option), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageFile::MoveAndReplaceAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace) const + template auto consume_Windows_Storage_IStorageFile::MoveAndReplaceAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile)->MoveAndReplaceAsync(*(void**)(&fileToReplace), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFile2::OpenAsync(winrt::Windows::Storage::FileAccessMode const& accessMode, winrt::Windows::Storage::StorageOpenOptions const& options) const + template auto consume_Windows_Storage_IStorageFile2::OpenAsync(winrt::Windows::Storage::FileAccessMode const& accessMode, winrt::Windows::Storage::StorageOpenOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile2)->OpenWithOptionsAsync(static_cast(accessMode), static_cast(options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFile2::OpenTransactedWriteAsync(winrt::Windows::Storage::StorageOpenOptions const& options) const + template auto consume_Windows_Storage_IStorageFile2::OpenTransactedWriteAsync(winrt::Windows::Storage::StorageOpenOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile2)->OpenTransactedWriteWithOptionsAsync(static_cast(options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_IStorageFilePropertiesWithAvailability::IsAvailable() const + template auto consume_Windows_Storage_IStorageFilePropertiesWithAvailability::IsAvailable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFilePropertiesWithAvailability)->get_IsAvailable(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFileStatics::GetFileFromPathAsync(param::hstring const& path) const + template auto consume_Windows_Storage_IStorageFileStatics::GetFileFromPathAsync(param::hstring const& path) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFileStatics)->GetFileFromPathAsync(*(void**)(&path), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFileStatics::GetFileFromApplicationUriAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Storage_IStorageFileStatics::GetFileFromApplicationUriAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFileStatics)->GetFileFromApplicationUriAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFileStatics::CreateStreamedFileAsync(param::hstring const& displayNameWithExtension, winrt::Windows::Storage::StreamedFileDataRequestedHandler const& dataRequested, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const + template auto consume_Windows_Storage_IStorageFileStatics::CreateStreamedFileAsync(param::hstring const& displayNameWithExtension, winrt::Windows::Storage::StreamedFileDataRequestedHandler const& dataRequested, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFileStatics)->CreateStreamedFileAsync(*(void**)(&displayNameWithExtension), *(void**)(&dataRequested), *(void**)(&thumbnail), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFileStatics::ReplaceWithStreamedFileAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace, winrt::Windows::Storage::StreamedFileDataRequestedHandler const& dataRequested, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const + template auto consume_Windows_Storage_IStorageFileStatics::ReplaceWithStreamedFileAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace, winrt::Windows::Storage::StreamedFileDataRequestedHandler const& dataRequested, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFileStatics)->ReplaceWithStreamedFileAsync(*(void**)(&fileToReplace), *(void**)(&dataRequested), *(void**)(&thumbnail), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFileStatics::CreateStreamedFileFromUriAsync(param::hstring const& displayNameWithExtension, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const + template auto consume_Windows_Storage_IStorageFileStatics::CreateStreamedFileFromUriAsync(param::hstring const& displayNameWithExtension, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFileStatics)->CreateStreamedFileFromUriAsync(*(void**)(&displayNameWithExtension), *(void**)(&uri), *(void**)(&thumbnail), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFileStatics::ReplaceWithStreamedFileFromUriAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const + template auto consume_Windows_Storage_IStorageFileStatics::ReplaceWithStreamedFileFromUriAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFileStatics)->ReplaceWithStreamedFileFromUriAsync(*(void**)(&fileToReplace), *(void**)(&uri), *(void**)(&thumbnail), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFileStatics2::GetFileFromPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path) const + template auto consume_Windows_Storage_IStorageFileStatics2::GetFileFromPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFileStatics2)->GetFileFromPathForUserAsync(*(void**)(&user), *(void**)(&path), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFolder::CreateFileAsync(param::hstring const& desiredName) const + template auto consume_Windows_Storage_IStorageFolder::CreateFileAsync(param::hstring const& desiredName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolder)->CreateFileAsyncOverloadDefaultOptions(*(void**)(&desiredName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFolder::CreateFileAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& options) const + template auto consume_Windows_Storage_IStorageFolder::CreateFileAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolder)->CreateFileAsync(*(void**)(&desiredName), static_cast(options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFolder::CreateFolderAsync(param::hstring const& desiredName) const + template auto consume_Windows_Storage_IStorageFolder::CreateFolderAsync(param::hstring const& desiredName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolder)->CreateFolderAsyncOverloadDefaultOptions(*(void**)(&desiredName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFolder::CreateFolderAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& options) const + template auto consume_Windows_Storage_IStorageFolder::CreateFolderAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolder)->CreateFolderAsync(*(void**)(&desiredName), static_cast(options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFolder::GetFileAsync(param::hstring const& name) const + template auto consume_Windows_Storage_IStorageFolder::GetFileAsync(param::hstring const& name) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolder)->GetFileAsync(*(void**)(&name), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFolder::GetFolderAsync(param::hstring const& name) const + template auto consume_Windows_Storage_IStorageFolder::GetFolderAsync(param::hstring const& name) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolder)->GetFolderAsync(*(void**)(&name), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFolder::GetItemAsync(param::hstring const& name) const + template auto consume_Windows_Storage_IStorageFolder::GetItemAsync(param::hstring const& name) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolder)->GetItemAsync(*(void**)(&name), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_IStorageFolder::GetFilesAsync() const + template auto consume_Windows_Storage_IStorageFolder::GetFilesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolder)->GetFilesAsyncOverloadDefaultOptionsStartAndCount(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_IStorageFolder::GetFoldersAsync() const + template auto consume_Windows_Storage_IStorageFolder::GetFoldersAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolder)->GetFoldersAsyncOverloadDefaultOptionsStartAndCount(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_IStorageFolder::GetItemsAsync() const + template auto consume_Windows_Storage_IStorageFolder::GetItemsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolder)->GetItemsAsyncOverloadDefaultStartAndCount(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFolder2::TryGetItemAsync(param::hstring const& name) const + template auto consume_Windows_Storage_IStorageFolder2::TryGetItemAsync(param::hstring const& name) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolder2)->TryGetItemAsync(*(void**)(&name), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeTracker) consume_Windows_Storage_IStorageFolder3::TryGetChangeTracker() const + template auto consume_Windows_Storage_IStorageFolder3::TryGetChangeTracker() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolder3)->TryGetChangeTracker(&result)); return winrt::Windows::Storage::StorageLibraryChangeTracker{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFolderStatics::GetFolderFromPathAsync(param::hstring const& path) const + template auto consume_Windows_Storage_IStorageFolderStatics::GetFolderFromPathAsync(param::hstring const& path) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolderStatics)->GetFolderFromPathAsync(*(void**)(&path), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageFolderStatics2::GetFolderFromPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path) const + template auto consume_Windows_Storage_IStorageFolderStatics2::GetFolderFromPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolderStatics2)->GetFolderFromPathForUserAsync(*(void**)(&user), *(void**)(&path), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageItem::RenameAsync(param::hstring const& desiredName) const + template auto consume_Windows_Storage_IStorageItem::RenameAsync(param::hstring const& desiredName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->RenameAsyncOverloadDefaultOptions(*(void**)(&desiredName), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageItem::RenameAsync(param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option) const + template auto consume_Windows_Storage_IStorageItem::RenameAsync(param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->RenameAsync(*(void**)(&desiredName), static_cast(option), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageItem::DeleteAsync() const + template auto consume_Windows_Storage_IStorageItem::DeleteAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->DeleteAsyncOverloadDefaultOptions(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageItem::DeleteAsync(winrt::Windows::Storage::StorageDeleteOption const& option) const + template auto consume_Windows_Storage_IStorageItem::DeleteAsync(winrt::Windows::Storage::StorageDeleteOption const& option) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->DeleteAsync(static_cast(option), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageItem::GetBasicPropertiesAsync() const + template auto consume_Windows_Storage_IStorageItem::GetBasicPropertiesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->GetBasicPropertiesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageItem::Name() const + template auto consume_Windows_Storage_IStorageItem::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageItem::Path() const + template auto consume_Windows_Storage_IStorageItem::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->get_Path(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::FileAttributes) consume_Windows_Storage_IStorageItem::Attributes() const + template auto consume_Windows_Storage_IStorageItem::Attributes() const { winrt::Windows::Storage::FileAttributes value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->get_Attributes(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Storage_IStorageItem::DateCreated() const + template auto consume_Windows_Storage_IStorageItem::DateCreated() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->get_DateCreated(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_IStorageItem::IsOfType(winrt::Windows::Storage::StorageItemTypes const& type) const + template auto consume_Windows_Storage_IStorageItem::IsOfType(winrt::Windows::Storage::StorageItemTypes const& type) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->IsOfType(static_cast(type), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageItem2::GetParentAsync() const + template auto consume_Windows_Storage_IStorageItem2::GetParentAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem2)->GetParentAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_IStorageItem2::IsEqual(winrt::Windows::Storage::IStorageItem const& item) const + template auto consume_Windows_Storage_IStorageItem2::IsEqual(winrt::Windows::Storage::IStorageItem const& item) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem2)->IsEqual(*(void**)(&item), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageItemProperties::GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const + template auto consume_Windows_Storage_IStorageItemProperties::GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItemProperties)->GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(static_cast(mode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageItemProperties::GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize) const + template auto consume_Windows_Storage_IStorageItemProperties::GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItemProperties)->GetThumbnailAsyncOverloadDefaultOptions(static_cast(mode), requestedSize, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageItemProperties::GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& options) const + template auto consume_Windows_Storage_IStorageItemProperties::GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItemProperties)->GetThumbnailAsync(static_cast(mode), requestedSize, static_cast(options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageItemProperties::DisplayName() const + template auto consume_Windows_Storage_IStorageItemProperties::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItemProperties)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageItemProperties::DisplayType() const + template auto consume_Windows_Storage_IStorageItemProperties::DisplayType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItemProperties)->get_DisplayType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageItemProperties::FolderRelativeId() const + template auto consume_Windows_Storage_IStorageItemProperties::FolderRelativeId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItemProperties)->get_FolderRelativeId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::StorageItemContentProperties) consume_Windows_Storage_IStorageItemProperties::Properties() const + template auto consume_Windows_Storage_IStorageItemProperties::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItemProperties)->get_Properties(&value)); return winrt::Windows::Storage::FileProperties::StorageItemContentProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageItemProperties2::GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const + template auto consume_Windows_Storage_IStorageItemProperties2::GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItemProperties2)->GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions(static_cast(mode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageItemProperties2::GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize) const + template auto consume_Windows_Storage_IStorageItemProperties2::GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItemProperties2)->GetScaledImageAsThumbnailAsyncOverloadDefaultOptions(static_cast(mode), requestedSize, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageItemProperties2::GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& options) const + template auto consume_Windows_Storage_IStorageItemProperties2::GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItemProperties2)->GetScaledImageAsThumbnailAsync(static_cast(mode), requestedSize, static_cast(options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageProvider) consume_Windows_Storage_IStorageItemPropertiesWithProvider::Provider() const + template auto consume_Windows_Storage_IStorageItemPropertiesWithProvider::Provider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItemPropertiesWithProvider)->get_Provider(&value)); return winrt::Windows::Storage::StorageProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageLibrary::RequestAddFolderAsync() const + template auto consume_Windows_Storage_IStorageLibrary::RequestAddFolderAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibrary)->RequestAddFolderAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageLibrary::RequestRemoveFolderAsync(winrt::Windows::Storage::StorageFolder const& folder) const + template auto consume_Windows_Storage_IStorageLibrary::RequestRemoveFolderAsync(winrt::Windows::Storage::StorageFolder const& folder) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibrary)->RequestRemoveFolderAsync(*(void**)(&folder), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) consume_Windows_Storage_IStorageLibrary::Folders() const + template auto consume_Windows_Storage_IStorageLibrary::Folders() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibrary)->get_Folders(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IStorageLibrary::SaveFolder() const + template auto consume_Windows_Storage_IStorageLibrary::SaveFolder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibrary)->get_SaveFolder(&value)); return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_IStorageLibrary::DefinitionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_IStorageLibrary::DefinitionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token eventCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibrary)->add_DefinitionChanged(*(void**)(&handler), put_abi(eventCookie))); return eventCookie; } - template typename consume_Windows_Storage_IStorageLibrary::DefinitionChanged_revoker consume_Windows_Storage_IStorageLibrary::DefinitionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Storage_IStorageLibrary::DefinitionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DefinitionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibrary::DefinitionChanged(winrt::event_token const& eventCookie) const noexcept + template auto consume_Windows_Storage_IStorageLibrary::DefinitionChanged(winrt::event_token const& eventCookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibrary)->remove_DefinitionChanged(impl::bind_in(eventCookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeTracker) consume_Windows_Storage_IStorageLibrary2::ChangeTracker() const + template auto consume_Windows_Storage_IStorageLibrary2::ChangeTracker() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibrary2)->get_ChangeTracker(&value)); return winrt::Windows::Storage::StorageLibraryChangeTracker{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageLibrary3::AreFolderSuggestionsAvailableAsync() const + template auto consume_Windows_Storage_IStorageLibrary3::AreFolderSuggestionsAvailableAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibrary3)->AreFolderSuggestionsAvailableAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeType) consume_Windows_Storage_IStorageLibraryChange::ChangeType() const + template auto consume_Windows_Storage_IStorageLibraryChange::ChangeType() const { winrt::Windows::Storage::StorageLibraryChangeType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChange)->get_ChangeType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageLibraryChange::Path() const + template auto consume_Windows_Storage_IStorageLibraryChange::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChange)->get_Path(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageLibraryChange::PreviousPath() const + template auto consume_Windows_Storage_IStorageLibraryChange::PreviousPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChange)->get_PreviousPath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_IStorageLibraryChange::IsOfType(winrt::Windows::Storage::StorageItemTypes const& type) const + template auto consume_Windows_Storage_IStorageLibraryChange::IsOfType(winrt::Windows::Storage::StorageItemTypes const& type) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChange)->IsOfType(static_cast(type), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageLibraryChange::GetStorageItemAsync() const + template auto consume_Windows_Storage_IStorageLibraryChange::GetStorageItemAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChange)->GetStorageItemAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_Storage_IStorageLibraryChangeReader::ReadBatchAsync() const + template auto consume_Windows_Storage_IStorageLibraryChangeReader::ReadBatchAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeReader)->ReadBatchAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageLibraryChangeReader::AcceptChangesAsync() const + template auto consume_Windows_Storage_IStorageLibraryChangeReader::AcceptChangesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeReader)->AcceptChangesAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_IStorageLibraryChangeReader2::GetLastChangeId() const + template auto consume_Windows_Storage_IStorageLibraryChangeReader2::GetLastChangeId() const { uint64_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeReader2)->GetLastChangeId(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeReader) consume_Windows_Storage_IStorageLibraryChangeTracker::GetChangeReader() const + template auto consume_Windows_Storage_IStorageLibraryChangeTracker::GetChangeReader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTracker)->GetChangeReader(&value)); return winrt::Windows::Storage::StorageLibraryChangeReader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibraryChangeTracker::Enable() const + template auto consume_Windows_Storage_IStorageLibraryChangeTracker::Enable() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTracker)->Enable()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibraryChangeTracker::Reset() const + template auto consume_Windows_Storage_IStorageLibraryChangeTracker::Reset() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTracker)->Reset()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibraryChangeTracker2::Enable(winrt::Windows::Storage::StorageLibraryChangeTrackerOptions const& options) const + template auto consume_Windows_Storage_IStorageLibraryChangeTracker2::Enable(winrt::Windows::Storage::StorageLibraryChangeTrackerOptions const& options) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTracker2)->EnableWithOptions(*(void**)(&options))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibraryChangeTracker2::Disable() const + template auto consume_Windows_Storage_IStorageLibraryChangeTracker2::Disable() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTracker2)->Disable()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_IStorageLibraryChangeTrackerOptions::TrackChangeDetails() const + template auto consume_Windows_Storage_IStorageLibraryChangeTrackerOptions::TrackChangeDetails() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions)->get_TrackChangeDetails(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibraryChangeTrackerOptions::TrackChangeDetails(bool value) const + template auto consume_Windows_Storage_IStorageLibraryChangeTrackerOptions::TrackChangeDetails(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions)->put_TrackChangeDetails(value)); } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_IStorageLibraryLastChangeIdStatics::Unknown() const + template auto consume_Windows_Storage_IStorageLibraryLastChangeIdStatics::Unknown() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryLastChangeIdStatics)->get_Unknown(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageLibraryStatics::GetLibraryAsync(winrt::Windows::Storage::KnownLibraryId const& libraryId) const + template auto consume_Windows_Storage_IStorageLibraryStatics::GetLibraryAsync(winrt::Windows::Storage::KnownLibraryId const& libraryId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryStatics)->GetLibraryAsync(static_cast(libraryId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageLibraryStatics2::GetLibraryForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Storage::KnownLibraryId const& libraryId) const + template auto consume_Windows_Storage_IStorageLibraryStatics2::GetLibraryForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Storage::KnownLibraryId const& libraryId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryStatics2)->GetLibraryForUserAsync(*(void**)(&user), static_cast(libraryId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageProvider::Id() const + template auto consume_Windows_Storage_IStorageProvider::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageProvider)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageProvider::DisplayName() const + template auto consume_Windows_Storage_IStorageProvider::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageProvider)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageProvider2::IsPropertySupportedForPartialFileAsync(param::hstring const& propertyCanonicalName) const + template auto consume_Windows_Storage_IStorageProvider2::IsPropertySupportedForPartialFileAsync(param::hstring const& propertyCanonicalName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageProvider2)->IsPropertySupportedForPartialFileAsync(*(void**)(&propertyCanonicalName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_Storage_IStorageStreamTransaction::Stream() const + template auto consume_Windows_Storage_IStorageStreamTransaction::Stream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageStreamTransaction)->get_Stream(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageStreamTransaction::CommitAsync() const + template auto consume_Windows_Storage_IStorageStreamTransaction::CommitAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageStreamTransaction)->CommitAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStreamedFileDataRequest::FailAndClose(winrt::Windows::Storage::StreamedFileFailureMode const& failureMode) const + template auto consume_Windows_Storage_IStreamedFileDataRequest::FailAndClose(winrt::Windows::Storage::StreamedFileFailureMode const& failureMode) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStreamedFileDataRequest)->FailAndClose(static_cast(failureMode))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemAudioProperties::EncodingBitrate() const + template auto consume_Windows_Storage_ISystemAudioProperties::EncodingBitrate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemAudioProperties)->get_EncodingBitrate(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths::Fonts() const + template auto consume_Windows_Storage_ISystemDataPaths::Fonts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_Fonts(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths::ProgramData() const + template auto consume_Windows_Storage_ISystemDataPaths::ProgramData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_ProgramData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths::Public() const + template auto consume_Windows_Storage_ISystemDataPaths::Public() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_Public(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths::PublicDesktop() const + template auto consume_Windows_Storage_ISystemDataPaths::PublicDesktop() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_PublicDesktop(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths::PublicDocuments() const + template auto consume_Windows_Storage_ISystemDataPaths::PublicDocuments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_PublicDocuments(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths::PublicDownloads() const + template auto consume_Windows_Storage_ISystemDataPaths::PublicDownloads() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_PublicDownloads(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths::PublicMusic() const + template auto consume_Windows_Storage_ISystemDataPaths::PublicMusic() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_PublicMusic(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths::PublicPictures() const + template auto consume_Windows_Storage_ISystemDataPaths::PublicPictures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_PublicPictures(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths::PublicVideos() const + template auto consume_Windows_Storage_ISystemDataPaths::PublicVideos() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_PublicVideos(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths::System() const + template auto consume_Windows_Storage_ISystemDataPaths::System() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_System(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths::SystemHost() const + template auto consume_Windows_Storage_ISystemDataPaths::SystemHost() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_SystemHost(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths::SystemX86() const + template auto consume_Windows_Storage_ISystemDataPaths::SystemX86() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_SystemX86(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths::SystemX64() const + template auto consume_Windows_Storage_ISystemDataPaths::SystemX64() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_SystemX64(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths::SystemArm() const + template auto consume_Windows_Storage_ISystemDataPaths::SystemArm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_SystemArm(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths::UserProfiles() const + template auto consume_Windows_Storage_ISystemDataPaths::UserProfiles() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_UserProfiles(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths::Windows() const + template auto consume_Windows_Storage_ISystemDataPaths::Windows() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_Windows(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemDataPaths) consume_Windows_Storage_ISystemDataPathsStatics::GetDefault() const + template auto consume_Windows_Storage_ISystemDataPathsStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPathsStatics)->GetDefault(&result)); return winrt::Windows::Storage::SystemDataPaths{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemGPSProperties::LatitudeDecimal() const + template auto consume_Windows_Storage_ISystemGPSProperties::LatitudeDecimal() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemGPSProperties)->get_LatitudeDecimal(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemGPSProperties::LongitudeDecimal() const + template auto consume_Windows_Storage_ISystemGPSProperties::LongitudeDecimal() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemGPSProperties)->get_LongitudeDecimal(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemImageProperties::HorizontalSize() const + template auto consume_Windows_Storage_ISystemImageProperties::HorizontalSize() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemImageProperties)->get_HorizontalSize(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemImageProperties::VerticalSize() const + template auto consume_Windows_Storage_ISystemImageProperties::VerticalSize() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemImageProperties)->get_VerticalSize(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMediaProperties::Duration() const + template auto consume_Windows_Storage_ISystemMediaProperties::Duration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMediaProperties)->get_Duration(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMediaProperties::Producer() const + template auto consume_Windows_Storage_ISystemMediaProperties::Producer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMediaProperties)->get_Producer(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMediaProperties::Publisher() const + template auto consume_Windows_Storage_ISystemMediaProperties::Publisher() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMediaProperties)->get_Publisher(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMediaProperties::SubTitle() const + template auto consume_Windows_Storage_ISystemMediaProperties::SubTitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMediaProperties)->get_SubTitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMediaProperties::Writer() const + template auto consume_Windows_Storage_ISystemMediaProperties::Writer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMediaProperties)->get_Writer(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMediaProperties::Year() const + template auto consume_Windows_Storage_ISystemMediaProperties::Year() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMediaProperties)->get_Year(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMusicProperties::AlbumArtist() const + template auto consume_Windows_Storage_ISystemMusicProperties::AlbumArtist() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMusicProperties)->get_AlbumArtist(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMusicProperties::AlbumTitle() const + template auto consume_Windows_Storage_ISystemMusicProperties::AlbumTitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMusicProperties)->get_AlbumTitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMusicProperties::Artist() const + template auto consume_Windows_Storage_ISystemMusicProperties::Artist() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMusicProperties)->get_Artist(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMusicProperties::Composer() const + template auto consume_Windows_Storage_ISystemMusicProperties::Composer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMusicProperties)->get_Composer(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMusicProperties::Conductor() const + template auto consume_Windows_Storage_ISystemMusicProperties::Conductor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMusicProperties)->get_Conductor(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMusicProperties::DisplayArtist() const + template auto consume_Windows_Storage_ISystemMusicProperties::DisplayArtist() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMusicProperties)->get_DisplayArtist(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMusicProperties::Genre() const + template auto consume_Windows_Storage_ISystemMusicProperties::Genre() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMusicProperties)->get_Genre(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMusicProperties::TrackNumber() const + template auto consume_Windows_Storage_ISystemMusicProperties::TrackNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMusicProperties)->get_TrackNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemPhotoProperties::CameraManufacturer() const + template auto consume_Windows_Storage_ISystemPhotoProperties::CameraManufacturer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemPhotoProperties)->get_CameraManufacturer(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemPhotoProperties::CameraModel() const + template auto consume_Windows_Storage_ISystemPhotoProperties::CameraModel() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemPhotoProperties)->get_CameraModel(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemPhotoProperties::DateTaken() const + template auto consume_Windows_Storage_ISystemPhotoProperties::DateTaken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemPhotoProperties)->get_DateTaken(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemPhotoProperties::Orientation() const + template auto consume_Windows_Storage_ISystemPhotoProperties::Orientation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemPhotoProperties)->get_Orientation(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemPhotoProperties::PeopleNames() const + template auto consume_Windows_Storage_ISystemPhotoProperties::PeopleNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemPhotoProperties)->get_PeopleNames(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemProperties::Author() const + template auto consume_Windows_Storage_ISystemProperties::Author() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_Author(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemProperties::Comment() const + template auto consume_Windows_Storage_ISystemProperties::Comment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_Comment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemProperties::ItemNameDisplay() const + template auto consume_Windows_Storage_ISystemProperties::ItemNameDisplay() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_ItemNameDisplay(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemProperties::Keywords() const + template auto consume_Windows_Storage_ISystemProperties::Keywords() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_Keywords(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemProperties::Rating() const + template auto consume_Windows_Storage_ISystemProperties::Rating() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_Rating(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemProperties::Title() const + template auto consume_Windows_Storage_ISystemProperties::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemAudioProperties) consume_Windows_Storage_ISystemProperties::Audio() const + template auto consume_Windows_Storage_ISystemProperties::Audio() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_Audio(&value)); return winrt::Windows::Storage::SystemAudioProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemGPSProperties) consume_Windows_Storage_ISystemProperties::GPS() const + template auto consume_Windows_Storage_ISystemProperties::GPS() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_GPS(&value)); return winrt::Windows::Storage::SystemGPSProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemMediaProperties) consume_Windows_Storage_ISystemProperties::Media() const + template auto consume_Windows_Storage_ISystemProperties::Media() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_Media(&value)); return winrt::Windows::Storage::SystemMediaProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemMusicProperties) consume_Windows_Storage_ISystemProperties::Music() const + template auto consume_Windows_Storage_ISystemProperties::Music() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_Music(&value)); return winrt::Windows::Storage::SystemMusicProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemPhotoProperties) consume_Windows_Storage_ISystemProperties::Photo() const + template auto consume_Windows_Storage_ISystemProperties::Photo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_Photo(&value)); return winrt::Windows::Storage::SystemPhotoProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemVideoProperties) consume_Windows_Storage_ISystemProperties::Video() const + template auto consume_Windows_Storage_ISystemProperties::Video() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_Video(&value)); return winrt::Windows::Storage::SystemVideoProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemImageProperties) consume_Windows_Storage_ISystemProperties::Image() const + template auto consume_Windows_Storage_ISystemProperties::Image() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_Image(&value)); return winrt::Windows::Storage::SystemImageProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemVideoProperties::Director() const + template auto consume_Windows_Storage_ISystemVideoProperties::Director() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemVideoProperties)->get_Director(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemVideoProperties::FrameHeight() const + template auto consume_Windows_Storage_ISystemVideoProperties::FrameHeight() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemVideoProperties)->get_FrameHeight(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemVideoProperties::FrameWidth() const + template auto consume_Windows_Storage_ISystemVideoProperties::FrameWidth() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemVideoProperties)->get_FrameWidth(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemVideoProperties::Orientation() const + template auto consume_Windows_Storage_ISystemVideoProperties::Orientation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemVideoProperties)->get_Orientation(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemVideoProperties::TotalBitrate() const + template auto consume_Windows_Storage_ISystemVideoProperties::TotalBitrate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemVideoProperties)->get_TotalBitrate(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::CameraRoll() const + template auto consume_Windows_Storage_IUserDataPaths::CameraRoll() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_CameraRoll(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::Cookies() const + template auto consume_Windows_Storage_IUserDataPaths::Cookies() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Cookies(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::Desktop() const + template auto consume_Windows_Storage_IUserDataPaths::Desktop() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Desktop(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::Documents() const + template auto consume_Windows_Storage_IUserDataPaths::Documents() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Documents(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::Downloads() const + template auto consume_Windows_Storage_IUserDataPaths::Downloads() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Downloads(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::Favorites() const + template auto consume_Windows_Storage_IUserDataPaths::Favorites() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Favorites(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::History() const + template auto consume_Windows_Storage_IUserDataPaths::History() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_History(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::InternetCache() const + template auto consume_Windows_Storage_IUserDataPaths::InternetCache() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_InternetCache(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::LocalAppData() const + template auto consume_Windows_Storage_IUserDataPaths::LocalAppData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_LocalAppData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::LocalAppDataLow() const + template auto consume_Windows_Storage_IUserDataPaths::LocalAppDataLow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_LocalAppDataLow(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::Music() const + template auto consume_Windows_Storage_IUserDataPaths::Music() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Music(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::Pictures() const + template auto consume_Windows_Storage_IUserDataPaths::Pictures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Pictures(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::Profile() const + template auto consume_Windows_Storage_IUserDataPaths::Profile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Profile(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::Recent() const + template auto consume_Windows_Storage_IUserDataPaths::Recent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Recent(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::RoamingAppData() const + template auto consume_Windows_Storage_IUserDataPaths::RoamingAppData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_RoamingAppData(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::SavedPictures() const + template auto consume_Windows_Storage_IUserDataPaths::SavedPictures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_SavedPictures(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::Screenshots() const + template auto consume_Windows_Storage_IUserDataPaths::Screenshots() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Screenshots(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::Templates() const + template auto consume_Windows_Storage_IUserDataPaths::Templates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Templates(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths::Videos() const + template auto consume_Windows_Storage_IUserDataPaths::Videos() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Videos(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::UserDataPaths) consume_Windows_Storage_IUserDataPathsStatics::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_Storage_IUserDataPathsStatics::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPathsStatics)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::Storage::UserDataPaths{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::UserDataPaths) consume_Windows_Storage_IUserDataPathsStatics::GetDefault() const + template auto consume_Windows_Storage_IUserDataPathsStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPathsStatics)->GetDefault(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.DevicePortal.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.DevicePortal.h index 0bd40f54..afb2b87d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.DevicePortal.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.DevicePortal.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Diagnostics_DevicePortal_H #define WINRT_Windows_System_Diagnostics_DevicePortal_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.Diagnostics.h" #include "winrt/impl/Windows.ApplicationModel.AppService.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -15,101 +15,101 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.System.Diagnostics.DevicePortal.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection::Closed_revoker consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection::RequestReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection::RequestReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection)->add_RequestReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection::RequestReceived_revoker consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection::RequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection::RequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RequestReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection::RequestReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection::RequestReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection)->remove_RequestReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedReason) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionClosedEventArgs::Reason() const + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionClosedEventArgs::Reason() const { winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionClosedEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionRequestReceivedEventArgs::RequestMessage() const + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionRequestReceivedEventArgs::RequestMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionRequestReceivedEventArgs)->get_RequestMessage(&value)); return winrt::Windows::Web::Http::HttpRequestMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionRequestReceivedEventArgs::ResponseMessage() const + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionRequestReceivedEventArgs::ResponseMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionRequestReceivedEventArgs)->get_ResponseMessage(&value)); return winrt::Windows::Web::Http::HttpResponseMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionStatics::GetForAppServiceConnection(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& appServiceConnection) const + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionStatics::GetForAppServiceConnection(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& appServiceConnection) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionStatics)->GetForAppServiceConnection(*(void**)(&appServiceConnection), &value)); return winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerMessageWebSocket) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection::GetServerMessageWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request) const + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection::GetServerMessageWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalWebSocketConnection)->GetServerMessageWebSocketForRequest(*(void**)(&request), &result)); return winrt::Windows::Networking::Sockets::ServerMessageWebSocket{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerMessageWebSocket) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection::GetServerMessageWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Networking::Sockets::SocketMessageType const& messageType, param::hstring const& protocol) const + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection::GetServerMessageWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Networking::Sockets::SocketMessageType const& messageType, param::hstring const& protocol) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalWebSocketConnection)->GetServerMessageWebSocketForRequest2(*(void**)(&request), static_cast(messageType), *(void**)(&protocol), &result)); return winrt::Windows::Networking::Sockets::ServerMessageWebSocket{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerMessageWebSocket) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection::GetServerMessageWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Networking::Sockets::SocketMessageType const& messageType, param::hstring const& protocol, uint32_t outboundBufferSizeInBytes, uint32_t maxMessageSize, winrt::Windows::Networking::Sockets::MessageWebSocketReceiveMode const& receiveMode) const + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection::GetServerMessageWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Networking::Sockets::SocketMessageType const& messageType, param::hstring const& protocol, uint32_t outboundBufferSizeInBytes, uint32_t maxMessageSize, winrt::Windows::Networking::Sockets::MessageWebSocketReceiveMode const& receiveMode) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalWebSocketConnection)->GetServerMessageWebSocketForRequest3(*(void**)(&request), static_cast(messageType), *(void**)(&protocol), outboundBufferSizeInBytes, maxMessageSize, static_cast(receiveMode), &result)); return winrt::Windows::Networking::Sockets::ServerMessageWebSocket{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerStreamWebSocket) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection::GetServerStreamWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request) const + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection::GetServerStreamWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalWebSocketConnection)->GetServerStreamWebSocketForRequest(*(void**)(&request), &result)); return winrt::Windows::Networking::Sockets::ServerStreamWebSocket{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerStreamWebSocket) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection::GetServerStreamWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request, param::hstring const& protocol, uint32_t outboundBufferSizeInBytes, bool noDelay) const + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection::GetServerStreamWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request, param::hstring const& protocol, uint32_t outboundBufferSizeInBytes, bool noDelay) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalWebSocketConnection)->GetServerStreamWebSocketForRequest2(*(void**)(&request), *(void**)(&protocol), outboundBufferSizeInBytes, noDelay, &result)); return winrt::Windows::Networking::Sockets::ServerStreamWebSocket{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnectionRequestReceivedEventArgs::IsWebSocketUpgradeRequest() const + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnectionRequestReceivedEventArgs::IsWebSocketUpgradeRequest() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalWebSocketConnectionRequestReceivedEventArgs)->get_IsWebSocketUpgradeRequest(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnectionRequestReceivedEventArgs::WebSocketProtocolsRequested() const + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnectionRequestReceivedEventArgs::WebSocketProtocolsRequested() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalWebSocketConnectionRequestReceivedEventArgs)->get_WebSocketProtocolsRequested(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnectionRequestReceivedEventArgs::GetDeferral() const + template auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnectionRequestReceivedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalWebSocketConnectionRequestReceivedEventArgs)->GetDeferral(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.Telemetry.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.Telemetry.h index e76b9f93..31f3ba4f 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.Telemetry.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.Telemetry.h @@ -1,50 +1,50 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Diagnostics_Telemetry_H #define WINRT_Windows_System_Diagnostics_Telemetry_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.Diagnostics.h" #include "winrt/impl/Windows.System.Diagnostics.Telemetry.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationResult) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryClientStatics::Register(param::hstring const& id) const + template auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryClientStatics::Register(param::hstring const& id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryClientStatics)->Register(*(void**)(&id), &result)); return winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationResult) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryClientStatics::Register(param::hstring const& id, winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings const& settings) const + template auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryClientStatics::Register(param::hstring const& id, winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings const& settings) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryClientStatics)->RegisterWithSettings(*(void**)(&id), *(void**)(&settings), &result)); return winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationStatus) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationResult::Status() const + template auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationResult::Status() const { winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings::StorageSize() const + template auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings::StorageSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationSettings)->get_StorageSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings::StorageSize(uint32_t value) const + template auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings::StorageSize(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationSettings)->put_StorageSize(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings::UploadQuotaSize() const + template auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings::UploadQuotaSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationSettings)->get_UploadQuotaSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings::UploadQuotaSize(uint32_t value) const + template auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings::UploadQuotaSize(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationSettings)->put_UploadQuotaSize(value)); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.TraceReporting.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.TraceReporting.h index 835fbcbf..df35655d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.TraceReporting.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.TraceReporting.h @@ -1,107 +1,107 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Diagnostics_TraceReporting_H #define WINRT_Windows_System_Diagnostics_TraceReporting_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.Diagnostics.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.System.Diagnostics.TraceReporting.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics::IsScenarioEnabled(winrt::guid const& scenarioId) const + template auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics::IsScenarioEnabled(winrt::guid const& scenarioId) const { bool isActive{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticActionsStatics)->IsScenarioEnabled(impl::bind_in(scenarioId), &isActive)); return isActive; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics::TryEscalateScenario(winrt::guid const& scenarioId, winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticEscalationType const& escalationType, param::hstring const& outputDirectory, bool timestampOutputDirectory, bool forceEscalationUpload, param::map_view const& triggers) const + template auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics::TryEscalateScenario(winrt::guid const& scenarioId, winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticEscalationType const& escalationType, param::hstring const& outputDirectory, bool timestampOutputDirectory, bool forceEscalationUpload, param::map_view const& triggers) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticActionsStatics)->TryEscalateScenario(impl::bind_in(scenarioId), static_cast(escalationType), *(void**)(&outputDirectory), timestampOutputDirectory, forceEscalationUpload, *(void**)(&triggers), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticActionState) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics::DownloadLatestSettingsForNamespace(param::hstring const& partner, param::hstring const& feature, bool isScenarioNamespace, bool downloadOverCostedNetwork, bool downloadOverBattery) const + template auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics::DownloadLatestSettingsForNamespace(param::hstring const& partner, param::hstring const& feature, bool isScenarioNamespace, bool downloadOverCostedNetwork, bool downloadOverBattery) const { winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticActionState result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticActionsStatics)->DownloadLatestSettingsForNamespace(*(void**)(&partner), *(void**)(&feature), isScenarioNamespace, downloadOverCostedNetwork, downloadOverBattery, reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics::GetActiveScenarioList() const + template auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics::GetActiveScenarioList() const { void* scenarioIds{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticActionsStatics)->GetActiveScenarioList(&scenarioIds)); return winrt::Windows::Foundation::Collections::IVectorView{ scenarioIds, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticActionState) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics::ForceUpload(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticEventBufferLatencies const& latency, bool uploadOverCostedNetwork, bool uploadOverBattery) const + template auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics::ForceUpload(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticEventBufferLatencies const& latency, bool uploadOverCostedNetwork, bool uploadOverBattery) const { winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticActionState result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticActionsStatics)->ForceUpload(static_cast(latency), uploadOverCostedNetwork, uploadOverBattery, reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotState) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics::IsTraceRunning(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotType const& slotType, winrt::guid const& scenarioId, uint64_t traceProfileHash) const + template auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics::IsTraceRunning(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotType const& slotType, winrt::guid const& scenarioId, uint64_t traceProfileHash) const { winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotState slotState{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticActionsStatics)->IsTraceRunning(static_cast(slotType), impl::bind_in(scenarioId), traceProfileHash, reinterpret_cast(&slotState))); return slotState; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceRuntimeInfo) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics::GetActiveTraceRuntime(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotType const& slotType) const + template auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics::GetActiveTraceRuntime(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotType const& slotType) const { void* traceRuntimeInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticActionsStatics)->GetActiveTraceRuntime(static_cast(slotType), &traceRuntimeInfo)); return winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceRuntimeInfo{ traceRuntimeInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics::GetKnownTraceList(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotType const& slotType) const + template auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics::GetKnownTraceList(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotType const& slotType) const { void* traceInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticActionsStatics)->GetKnownTraceList(static_cast(slotType), &traceInfo)); return winrt::Windows::Foundation::Collections::IVectorView{ traceInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo::ScenarioId() const + template auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo::ScenarioId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceInfo)->get_ScenarioId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo::ProfileHash() const + template auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo::ProfileHash() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceInfo)->get_ProfileHash(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo::IsExclusive() const + template auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo::IsExclusive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceInfo)->get_IsExclusive(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo::IsAutoLogger() const + template auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo::IsAutoLogger() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceInfo)->get_IsAutoLogger(&value)); return value; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo::MaxTraceDurationFileTime() const + template auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo::MaxTraceDurationFileTime() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceInfo)->get_MaxTraceDurationFileTime(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTracePriority) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo::Priority() const + template auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo::Priority() const { winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTracePriority value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceInfo)->get_Priority(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceRuntimeInfo::RuntimeFileTime() const + template auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceRuntimeInfo::RuntimeFileTime() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceRuntimeInfo)->get_RuntimeFileTime(&value)); return value; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceRuntimeInfo::EtwRuntimeFileTime() const + template auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceRuntimeInfo::EtwRuntimeFileTime() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceRuntimeInfo)->get_EtwRuntimeFileTime(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.h index 8c963fda..8cc9e224 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Diagnostics_H #define WINRT_Windows_System_Diagnostics_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.h" #include "winrt/impl/Windows.Data.Json.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -14,331 +14,331 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.System.Diagnostics.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_System_Diagnostics_IDiagnosticActionResult::ExtendedError() const + template auto consume_Windows_System_Diagnostics_IDiagnosticActionResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IDiagnosticActionResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_System_Diagnostics_IDiagnosticActionResult::Results() const + template auto consume_Windows_System_Diagnostics_IDiagnosticActionResult::Results() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IDiagnosticActionResult)->get_Results(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_System_Diagnostics_IDiagnosticInvoker::RunDiagnosticActionAsync(winrt::Windows::Data::Json::JsonObject const& context) const + template auto consume_Windows_System_Diagnostics_IDiagnosticInvoker::RunDiagnosticActionAsync(winrt::Windows::Data::Json::JsonObject const& context) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IDiagnosticInvoker)->RunDiagnosticActionAsync(*(void**)(&context), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_System_Diagnostics_IDiagnosticInvoker2::RunDiagnosticActionFromStringAsync(param::hstring const& context) const + template auto consume_Windows_System_Diagnostics_IDiagnosticInvoker2::RunDiagnosticActionFromStringAsync(param::hstring const& context) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IDiagnosticInvoker2)->RunDiagnosticActionFromStringAsync(*(void**)(&context), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::DiagnosticInvoker) consume_Windows_System_Diagnostics_IDiagnosticInvokerStatics::GetDefault() const + template auto consume_Windows_System_Diagnostics_IDiagnosticInvokerStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IDiagnosticInvokerStatics)->GetDefault(&result)); return winrt::Windows::System::Diagnostics::DiagnosticInvoker{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::DiagnosticInvoker) consume_Windows_System_Diagnostics_IDiagnosticInvokerStatics::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_System_Diagnostics_IDiagnosticInvokerStatics::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IDiagnosticInvokerStatics)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::System::Diagnostics::DiagnosticInvoker{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_IDiagnosticInvokerStatics::IsSupported() const + template auto consume_Windows_System_Diagnostics_IDiagnosticInvokerStatics::IsSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IDiagnosticInvokerStatics)->get_IsSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessCpuUsageReport) consume_Windows_System_Diagnostics_IProcessCpuUsage::GetReport() const + template auto consume_Windows_System_Diagnostics_IProcessCpuUsage::GetReport() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessCpuUsage)->GetReport(&value)); return winrt::Windows::System::Diagnostics::ProcessCpuUsageReport{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Diagnostics_IProcessCpuUsageReport::KernelTime() const + template auto consume_Windows_System_Diagnostics_IProcessCpuUsageReport::KernelTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessCpuUsageReport)->get_KernelTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Diagnostics_IProcessCpuUsageReport::UserTime() const + template auto consume_Windows_System_Diagnostics_IProcessCpuUsageReport::UserTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessCpuUsageReport)->get_UserTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo::ProcessId() const + template auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo::ProcessId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiagnosticInfo)->get_ProcessId(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo::ExecutableFileName() const + template auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo::ExecutableFileName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiagnosticInfo)->get_ExecutableFileName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo::Parent() const + template auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo::Parent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiagnosticInfo)->get_Parent(&value)); return winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo::ProcessStartTime() const + template auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo::ProcessStartTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiagnosticInfo)->get_ProcessStartTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiskUsage) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo::DiskUsage() const + template auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo::DiskUsage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiagnosticInfo)->get_DiskUsage(&value)); return winrt::Windows::System::Diagnostics::ProcessDiskUsage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessMemoryUsage) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo::MemoryUsage() const + template auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo::MemoryUsage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiagnosticInfo)->get_MemoryUsage(&value)); return winrt::Windows::System::Diagnostics::ProcessMemoryUsage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessCpuUsage) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo::CpuUsage() const + template auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo::CpuUsage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiagnosticInfo)->get_CpuUsage(&value)); return winrt::Windows::System::Diagnostics::ProcessCpuUsage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo2::GetAppDiagnosticInfos() const + template auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo2::GetAppDiagnosticInfos() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiagnosticInfo2)->GetAppDiagnosticInfos(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo2::IsPackaged() const + template auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo2::IsPackaged() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiagnosticInfo2)->get_IsPackaged(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics::GetForProcesses() const + template auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics::GetForProcesses() const { void* processes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiagnosticInfoStatics)->GetForProcesses(&processes)); return winrt::Windows::Foundation::Collections::IVectorView{ processes, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo) consume_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics::GetForCurrentProcess() const + template auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics::GetForCurrentProcess() const { void* processes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiagnosticInfoStatics)->GetForCurrentProcess(&processes)); return winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo{ processes, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo) consume_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics2::TryGetForProcessId(uint32_t processId) const + template auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics2::TryGetForProcessId(uint32_t processId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiagnosticInfoStatics2)->TryGetForProcessId(processId, &result)); return winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiskUsageReport) consume_Windows_System_Diagnostics_IProcessDiskUsage::GetReport() const + template auto consume_Windows_System_Diagnostics_IProcessDiskUsage::GetReport() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiskUsage)->GetReport(&value)); return winrt::Windows::System::Diagnostics::ProcessDiskUsageReport{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_IProcessDiskUsageReport::ReadOperationCount() const + template auto consume_Windows_System_Diagnostics_IProcessDiskUsageReport::ReadOperationCount() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiskUsageReport)->get_ReadOperationCount(&value)); return value; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_IProcessDiskUsageReport::WriteOperationCount() const + template auto consume_Windows_System_Diagnostics_IProcessDiskUsageReport::WriteOperationCount() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiskUsageReport)->get_WriteOperationCount(&value)); return value; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_IProcessDiskUsageReport::OtherOperationCount() const + template auto consume_Windows_System_Diagnostics_IProcessDiskUsageReport::OtherOperationCount() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiskUsageReport)->get_OtherOperationCount(&value)); return value; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_IProcessDiskUsageReport::BytesReadCount() const + template auto consume_Windows_System_Diagnostics_IProcessDiskUsageReport::BytesReadCount() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiskUsageReport)->get_BytesReadCount(&value)); return value; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_IProcessDiskUsageReport::BytesWrittenCount() const + template auto consume_Windows_System_Diagnostics_IProcessDiskUsageReport::BytesWrittenCount() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiskUsageReport)->get_BytesWrittenCount(&value)); return value; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_IProcessDiskUsageReport::OtherBytesCount() const + template auto consume_Windows_System_Diagnostics_IProcessDiskUsageReport::OtherBytesCount() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiskUsageReport)->get_OtherBytesCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessMemoryUsageReport) consume_Windows_System_Diagnostics_IProcessMemoryUsage::GetReport() const + template auto consume_Windows_System_Diagnostics_IProcessMemoryUsage::GetReport() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsage)->GetReport(&value)); return winrt::Windows::System::Diagnostics::ProcessMemoryUsageReport{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::NonPagedPoolSizeInBytes() const + template auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::NonPagedPoolSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_NonPagedPoolSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PageFaultCount() const + template auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PageFaultCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PageFaultCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PageFileSizeInBytes() const + template auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PageFileSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PageFileSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PagedPoolSizeInBytes() const + template auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PagedPoolSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PagedPoolSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PeakNonPagedPoolSizeInBytes() const + template auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PeakNonPagedPoolSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PeakNonPagedPoolSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PeakPageFileSizeInBytes() const + template auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PeakPageFileSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PeakPageFileSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PeakPagedPoolSizeInBytes() const + template auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PeakPagedPoolSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PeakPagedPoolSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PeakVirtualMemorySizeInBytes() const + template auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PeakVirtualMemorySizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PeakVirtualMemorySizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PeakWorkingSetSizeInBytes() const + template auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PeakWorkingSetSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PeakWorkingSetSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PrivatePageCount() const + template auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::PrivatePageCount() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PrivatePageCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::VirtualMemorySizeInBytes() const + template auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::VirtualMemorySizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_VirtualMemorySizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::WorkingSetSizeInBytes() const + template auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport::WorkingSetSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_WorkingSetSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemCpuUsageReport) consume_Windows_System_Diagnostics_ISystemCpuUsage::GetReport() const + template auto consume_Windows_System_Diagnostics_ISystemCpuUsage::GetReport() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemCpuUsage)->GetReport(&value)); return winrt::Windows::System::Diagnostics::SystemCpuUsageReport{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Diagnostics_ISystemCpuUsageReport::KernelTime() const + template auto consume_Windows_System_Diagnostics_ISystemCpuUsageReport::KernelTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemCpuUsageReport)->get_KernelTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Diagnostics_ISystemCpuUsageReport::UserTime() const + template auto consume_Windows_System_Diagnostics_ISystemCpuUsageReport::UserTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemCpuUsageReport)->get_UserTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Diagnostics_ISystemCpuUsageReport::IdleTime() const + template auto consume_Windows_System_Diagnostics_ISystemCpuUsageReport::IdleTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemCpuUsageReport)->get_IdleTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemMemoryUsage) consume_Windows_System_Diagnostics_ISystemDiagnosticInfo::MemoryUsage() const + template auto consume_Windows_System_Diagnostics_ISystemDiagnosticInfo::MemoryUsage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemDiagnosticInfo)->get_MemoryUsage(&value)); return winrt::Windows::System::Diagnostics::SystemMemoryUsage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemCpuUsage) consume_Windows_System_Diagnostics_ISystemDiagnosticInfo::CpuUsage() const + template auto consume_Windows_System_Diagnostics_ISystemDiagnosticInfo::CpuUsage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemDiagnosticInfo)->get_CpuUsage(&value)); return winrt::Windows::System::Diagnostics::SystemCpuUsage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemDiagnosticInfo) consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics::GetForCurrentSystem() const + template auto consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics::GetForCurrentSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics)->GetForCurrentSystem(&value)); return winrt::Windows::System::Diagnostics::SystemDiagnosticInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2::IsArchitectureSupported(winrt::Windows::System::ProcessorArchitecture const& type) const + template auto consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2::IsArchitectureSupported(winrt::Windows::System::ProcessorArchitecture const& type) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2)->IsArchitectureSupported(static_cast(type), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::System::ProcessorArchitecture) consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2::PreferredArchitecture() const + template auto consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2::PreferredArchitecture() const { winrt::Windows::System::ProcessorArchitecture value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2)->get_PreferredArchitecture(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemMemoryUsageReport) consume_Windows_System_Diagnostics_ISystemMemoryUsage::GetReport() const + template auto consume_Windows_System_Diagnostics_ISystemMemoryUsage::GetReport() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemMemoryUsage)->GetReport(&value)); return winrt::Windows::System::Diagnostics::SystemMemoryUsageReport{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_ISystemMemoryUsageReport::TotalPhysicalSizeInBytes() const + template auto consume_Windows_System_Diagnostics_ISystemMemoryUsageReport::TotalPhysicalSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemMemoryUsageReport)->get_TotalPhysicalSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_ISystemMemoryUsageReport::AvailableSizeInBytes() const + template auto consume_Windows_System_Diagnostics_ISystemMemoryUsageReport::AvailableSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemMemoryUsageReport)->get_AvailableSizeInBytes(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_ISystemMemoryUsageReport::CommittedSizeInBytes() const + template auto consume_Windows_System_Diagnostics_ISystemMemoryUsageReport::CommittedSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemMemoryUsageReport)->get_CommittedSizeInBytes(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.Display.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.Display.h index b98eb2de..3ef7bac9 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.Display.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.Display.h @@ -1,20 +1,20 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Display_H #define WINRT_Windows_System_Display_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.h" #include "winrt/impl/Windows.System.Display.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_System_Display_IDisplayRequest::RequestActive() const + template auto consume_Windows_System_Display_IDisplayRequest::RequestActive() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Display::IDisplayRequest)->RequestActive()); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Display_IDisplayRequest::RequestRelease() const + template auto consume_Windows_System_Display_IDisplayRequest::RequestRelease() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Display::IDisplayRequest)->RequestRelease()); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.Implementation.FileExplorer.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.Implementation.FileExplorer.h index 12b23834..f12ba700 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.Implementation.FileExplorer.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.Implementation.FileExplorer.h @@ -1,56 +1,56 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Implementation_FileExplorer_H #define WINRT_Windows_System_Implementation_FileExplorer_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Web.Http.2.h" #include "winrt/impl/Windows.System.Implementation.FileExplorer.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventReceivedEventArgs::Json() const + template auto consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventReceivedEventArgs::Json() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventReceivedEventArgs)->get_Json(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs) consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventReceivedEventArgsFactory::CreateInstance(param::hstring const& json) const + template auto consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventReceivedEventArgsFactory::CreateInstance(param::hstring const& json) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventReceivedEventArgsFactory)->CreateInstance(*(void**)(&json), &value)); return winrt::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource::EventReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource::EventReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource)->add_EventReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource::EventReceived_revoker consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource::EventReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource::EventReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EventReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource::EventReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource::EventReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource)->remove_EventReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderHttpRequestProvider) consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHandlerFactory::GetHttpRequestProvider(param::hstring const& syncRootId) const + template auto consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHandlerFactory::GetHttpRequestProvider(param::hstring const& syncRootId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderHandlerFactory)->GetHttpRequestProvider(*(void**)(&syncRootId), &result)); return winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderHttpRequestProvider{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource) consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHandlerFactory::GetEventSource(param::hstring const& syncRootId, param::hstring const& eventName) const + template auto consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHandlerFactory::GetEventSource(param::hstring const& syncRootId, param::hstring const& eventName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderHandlerFactory)->GetEventSource(*(void**)(&syncRootId), *(void**)(&eventName), &result)); return winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHttpRequestProvider::SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const + template auto consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHttpRequestProvider::SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderHttpRequestProvider)->SendRequestAsync(*(void**)(&request), &operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.Inventory.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.Inventory.h index f6a60cf3..6ee93d47 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.Inventory.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.Inventory.h @@ -1,42 +1,42 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Inventory_H #define WINRT_Windows_System_Inventory_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.System.Inventory.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Inventory_IInstalledDesktopApp::Id() const + template auto consume_Windows_System_Inventory_IInstalledDesktopApp::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Inventory::IInstalledDesktopApp)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Inventory_IInstalledDesktopApp::DisplayName() const + template auto consume_Windows_System_Inventory_IInstalledDesktopApp::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Inventory::IInstalledDesktopApp)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Inventory_IInstalledDesktopApp::Publisher() const + template auto consume_Windows_System_Inventory_IInstalledDesktopApp::Publisher() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Inventory::IInstalledDesktopApp)->get_Publisher(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Inventory_IInstalledDesktopApp::DisplayVersion() const + template auto consume_Windows_System_Inventory_IInstalledDesktopApp::DisplayVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Inventory::IInstalledDesktopApp)->get_DisplayVersion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_System_Inventory_IInstalledDesktopAppStatics::GetInventoryAsync() const + template auto consume_Windows_System_Inventory_IInstalledDesktopAppStatics::GetInventoryAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Inventory::IInstalledDesktopAppStatics)->GetInventoryAsync(&operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.Power.Diagnostics.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.Power.Diagnostics.h index 0f5aa201..6918aa21 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.Power.Diagnostics.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.Power.Diagnostics.h @@ -1,44 +1,44 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Power_Diagnostics_H #define WINRT_Windows_System_Power_Diagnostics_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.Power.h" #include "winrt/impl/Windows.System.Power.Diagnostics.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(double) consume_Windows_System_Power_Diagnostics_IBackgroundEnergyDiagnosticsStatics::DeviceSpecificConversionFactor() const + template auto consume_Windows_System_Power_Diagnostics_IBackgroundEnergyDiagnosticsStatics::DeviceSpecificConversionFactor() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::Diagnostics::IBackgroundEnergyDiagnosticsStatics)->get_DeviceSpecificConversionFactor(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Power_Diagnostics_IBackgroundEnergyDiagnosticsStatics::ComputeTotalEnergyUsage() const + template auto consume_Windows_System_Power_Diagnostics_IBackgroundEnergyDiagnosticsStatics::ComputeTotalEnergyUsage() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::Diagnostics::IBackgroundEnergyDiagnosticsStatics)->ComputeTotalEnergyUsage(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Power_Diagnostics_IBackgroundEnergyDiagnosticsStatics::ResetTotalEnergyUsage() const + template auto consume_Windows_System_Power_Diagnostics_IBackgroundEnergyDiagnosticsStatics::ResetTotalEnergyUsage() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::Diagnostics::IBackgroundEnergyDiagnosticsStatics)->ResetTotalEnergyUsage()); } - template WINRT_IMPL_AUTO(double) consume_Windows_System_Power_Diagnostics_IForegroundEnergyDiagnosticsStatics::DeviceSpecificConversionFactor() const + template auto consume_Windows_System_Power_Diagnostics_IForegroundEnergyDiagnosticsStatics::DeviceSpecificConversionFactor() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::Diagnostics::IForegroundEnergyDiagnosticsStatics)->get_DeviceSpecificConversionFactor(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Power_Diagnostics_IForegroundEnergyDiagnosticsStatics::ComputeTotalEnergyUsage() const + template auto consume_Windows_System_Power_Diagnostics_IForegroundEnergyDiagnosticsStatics::ComputeTotalEnergyUsage() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::Diagnostics::IForegroundEnergyDiagnosticsStatics)->ComputeTotalEnergyUsage(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Power_Diagnostics_IForegroundEnergyDiagnosticsStatics::ResetTotalEnergyUsage() const + template auto consume_Windows_System_Power_Diagnostics_IForegroundEnergyDiagnosticsStatics::ResetTotalEnergyUsage() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::Diagnostics::IForegroundEnergyDiagnosticsStatics)->ResetTotalEnergyUsage()); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.Power.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.Power.h index 3dde95a3..c1370436 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.Power.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.Power.h @@ -1,253 +1,253 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Power_H #define WINRT_Windows_System_Power_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.System.Power.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IBackgroundEnergyManagerStatics::LowUsageLevel() const + template auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics::LowUsageLevel() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->get_LowUsageLevel(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IBackgroundEnergyManagerStatics::NearMaxAcceptableUsageLevel() const + template auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics::NearMaxAcceptableUsageLevel() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->get_NearMaxAcceptableUsageLevel(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IBackgroundEnergyManagerStatics::MaxAcceptableUsageLevel() const + template auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics::MaxAcceptableUsageLevel() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->get_MaxAcceptableUsageLevel(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IBackgroundEnergyManagerStatics::ExcessiveUsageLevel() const + template auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics::ExcessiveUsageLevel() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->get_ExcessiveUsageLevel(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IBackgroundEnergyManagerStatics::NearTerminationUsageLevel() const + template auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics::NearTerminationUsageLevel() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->get_NearTerminationUsageLevel(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IBackgroundEnergyManagerStatics::TerminationUsageLevel() const + template auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics::TerminationUsageLevel() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->get_TerminationUsageLevel(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsage() const + template auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsage() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->get_RecentEnergyUsage(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsageLevel() const + template auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsageLevel() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->get_RecentEnergyUsageLevel(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsageIncreased(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsageIncreased(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->add_RecentEnergyUsageIncreased(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsageIncreased_revoker consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, RecentEnergyUsageIncreased(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsageIncreased(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsageIncreased(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->remove_RecentEnergyUsageIncreased(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->add_RecentEnergyUsageReturnedToLow(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsageReturnedToLow_revoker consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, RecentEnergyUsageReturnedToLow(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsageReturnedToLow(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics::RecentEnergyUsageReturnedToLow(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->remove_RecentEnergyUsageReturnedToLow(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IForegroundEnergyManagerStatics::LowUsageLevel() const + template auto consume_Windows_System_Power_IForegroundEnergyManagerStatics::LowUsageLevel() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->get_LowUsageLevel(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IForegroundEnergyManagerStatics::NearMaxAcceptableUsageLevel() const + template auto consume_Windows_System_Power_IForegroundEnergyManagerStatics::NearMaxAcceptableUsageLevel() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->get_NearMaxAcceptableUsageLevel(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IForegroundEnergyManagerStatics::MaxAcceptableUsageLevel() const + template auto consume_Windows_System_Power_IForegroundEnergyManagerStatics::MaxAcceptableUsageLevel() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->get_MaxAcceptableUsageLevel(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IForegroundEnergyManagerStatics::ExcessiveUsageLevel() const + template auto consume_Windows_System_Power_IForegroundEnergyManagerStatics::ExcessiveUsageLevel() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->get_ExcessiveUsageLevel(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsage() const + template auto consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsage() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->get_RecentEnergyUsage(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsageLevel() const + template auto consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsageLevel() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->get_RecentEnergyUsageLevel(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsageIncreased(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsageIncreased(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->add_RecentEnergyUsageIncreased(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsageIncreased_revoker consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, RecentEnergyUsageIncreased(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsageIncreased(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsageIncreased(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->remove_RecentEnergyUsageIncreased(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->add_RecentEnergyUsageReturnedToLow(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsageReturnedToLow_revoker consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, RecentEnergyUsageReturnedToLow(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsageReturnedToLow(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Power_IForegroundEnergyManagerStatics::RecentEnergyUsageReturnedToLow(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->remove_RecentEnergyUsageReturnedToLow(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::Power::EnergySaverStatus) consume_Windows_System_Power_IPowerManagerStatics::EnergySaverStatus() const + template auto consume_Windows_System_Power_IPowerManagerStatics::EnergySaverStatus() const { winrt::Windows::System::Power::EnergySaverStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->get_EnergySaverStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IPowerManagerStatics::EnergySaverStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IPowerManagerStatics::EnergySaverStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->add_EnergySaverStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Power_IPowerManagerStatics::EnergySaverStatusChanged_revoker consume_Windows_System_Power_IPowerManagerStatics::EnergySaverStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IPowerManagerStatics::EnergySaverStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, EnergySaverStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IPowerManagerStatics::EnergySaverStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Power_IPowerManagerStatics::EnergySaverStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_EnergySaverStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::Power::BatteryStatus) consume_Windows_System_Power_IPowerManagerStatics::BatteryStatus() const + template auto consume_Windows_System_Power_IPowerManagerStatics::BatteryStatus() const { winrt::Windows::System::Power::BatteryStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->get_BatteryStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IPowerManagerStatics::BatteryStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IPowerManagerStatics::BatteryStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->add_BatteryStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Power_IPowerManagerStatics::BatteryStatusChanged_revoker consume_Windows_System_Power_IPowerManagerStatics::BatteryStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IPowerManagerStatics::BatteryStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, BatteryStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IPowerManagerStatics::BatteryStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Power_IPowerManagerStatics::BatteryStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_BatteryStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::Power::PowerSupplyStatus) consume_Windows_System_Power_IPowerManagerStatics::PowerSupplyStatus() const + template auto consume_Windows_System_Power_IPowerManagerStatics::PowerSupplyStatus() const { winrt::Windows::System::Power::PowerSupplyStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->get_PowerSupplyStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IPowerManagerStatics::PowerSupplyStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IPowerManagerStatics::PowerSupplyStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->add_PowerSupplyStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Power_IPowerManagerStatics::PowerSupplyStatusChanged_revoker consume_Windows_System_Power_IPowerManagerStatics::PowerSupplyStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IPowerManagerStatics::PowerSupplyStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, PowerSupplyStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IPowerManagerStatics::PowerSupplyStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Power_IPowerManagerStatics::PowerSupplyStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_PowerSupplyStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_System_Power_IPowerManagerStatics::RemainingChargePercent() const + template auto consume_Windows_System_Power_IPowerManagerStatics::RemainingChargePercent() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->get_RemainingChargePercent(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IPowerManagerStatics::RemainingChargePercentChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IPowerManagerStatics::RemainingChargePercentChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->add_RemainingChargePercentChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Power_IPowerManagerStatics::RemainingChargePercentChanged_revoker consume_Windows_System_Power_IPowerManagerStatics::RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IPowerManagerStatics::RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, RemainingChargePercentChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IPowerManagerStatics::RemainingChargePercentChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Power_IPowerManagerStatics::RemainingChargePercentChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_RemainingChargePercentChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Power_IPowerManagerStatics::RemainingDischargeTime() const + template auto consume_Windows_System_Power_IPowerManagerStatics::RemainingDischargeTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->get_RemainingDischargeTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IPowerManagerStatics::RemainingDischargeTimeChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IPowerManagerStatics::RemainingDischargeTimeChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->add_RemainingDischargeTimeChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Power_IPowerManagerStatics::RemainingDischargeTimeChanged_revoker consume_Windows_System_Power_IPowerManagerStatics::RemainingDischargeTimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Power_IPowerManagerStatics::RemainingDischargeTimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, RemainingDischargeTimeChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IPowerManagerStatics::RemainingDischargeTimeChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Power_IPowerManagerStatics::RemainingDischargeTimeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_RemainingDischargeTimeChanged(impl::bind_in(token)); } @@ -568,10 +568,10 @@ WINRT_EXPORT namespace winrt::Windows::System::Power { return impl::call_factory([&](IBackgroundEnergyManagerStatics const& f) { return f.RecentEnergyUsageIncreased(handler); }); } - inline BackgroundEnergyManager::RecentEnergyUsageIncreased_revoker BackgroundEnergyManager::RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto BackgroundEnergyManager::RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.RecentEnergyUsageIncreased(handler) }; + return BackgroundEnergyManager::RecentEnergyUsageIncreased_revoker{ f, f.RecentEnergyUsageIncreased(handler) }; } inline auto BackgroundEnergyManager::RecentEnergyUsageIncreased(winrt::event_token const& token) { @@ -581,10 +581,10 @@ WINRT_EXPORT namespace winrt::Windows::System::Power { return impl::call_factory([&](IBackgroundEnergyManagerStatics const& f) { return f.RecentEnergyUsageReturnedToLow(handler); }); } - inline BackgroundEnergyManager::RecentEnergyUsageReturnedToLow_revoker BackgroundEnergyManager::RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto BackgroundEnergyManager::RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.RecentEnergyUsageReturnedToLow(handler) }; + return BackgroundEnergyManager::RecentEnergyUsageReturnedToLow_revoker{ f, f.RecentEnergyUsageReturnedToLow(handler) }; } inline auto BackgroundEnergyManager::RecentEnergyUsageReturnedToLow(winrt::event_token const& token) { @@ -618,10 +618,10 @@ WINRT_EXPORT namespace winrt::Windows::System::Power { return impl::call_factory([&](IForegroundEnergyManagerStatics const& f) { return f.RecentEnergyUsageIncreased(handler); }); } - inline ForegroundEnergyManager::RecentEnergyUsageIncreased_revoker ForegroundEnergyManager::RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto ForegroundEnergyManager::RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.RecentEnergyUsageIncreased(handler) }; + return ForegroundEnergyManager::RecentEnergyUsageIncreased_revoker{ f, f.RecentEnergyUsageIncreased(handler) }; } inline auto ForegroundEnergyManager::RecentEnergyUsageIncreased(winrt::event_token const& token) { @@ -631,10 +631,10 @@ WINRT_EXPORT namespace winrt::Windows::System::Power { return impl::call_factory([&](IForegroundEnergyManagerStatics const& f) { return f.RecentEnergyUsageReturnedToLow(handler); }); } - inline ForegroundEnergyManager::RecentEnergyUsageReturnedToLow_revoker ForegroundEnergyManager::RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto ForegroundEnergyManager::RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.RecentEnergyUsageReturnedToLow(handler) }; + return ForegroundEnergyManager::RecentEnergyUsageReturnedToLow_revoker{ f, f.RecentEnergyUsageReturnedToLow(handler) }; } inline auto ForegroundEnergyManager::RecentEnergyUsageReturnedToLow(winrt::event_token const& token) { @@ -648,10 +648,10 @@ WINRT_EXPORT namespace winrt::Windows::System::Power { return impl::call_factory([&](IPowerManagerStatics const& f) { return f.EnergySaverStatusChanged(handler); }); } - inline PowerManager::EnergySaverStatusChanged_revoker PowerManager::EnergySaverStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto PowerManager::EnergySaverStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.EnergySaverStatusChanged(handler) }; + return PowerManager::EnergySaverStatusChanged_revoker{ f, f.EnergySaverStatusChanged(handler) }; } inline auto PowerManager::EnergySaverStatusChanged(winrt::event_token const& token) { @@ -665,10 +665,10 @@ WINRT_EXPORT namespace winrt::Windows::System::Power { return impl::call_factory([&](IPowerManagerStatics const& f) { return f.BatteryStatusChanged(handler); }); } - inline PowerManager::BatteryStatusChanged_revoker PowerManager::BatteryStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto PowerManager::BatteryStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.BatteryStatusChanged(handler) }; + return PowerManager::BatteryStatusChanged_revoker{ f, f.BatteryStatusChanged(handler) }; } inline auto PowerManager::BatteryStatusChanged(winrt::event_token const& token) { @@ -682,10 +682,10 @@ WINRT_EXPORT namespace winrt::Windows::System::Power { return impl::call_factory([&](IPowerManagerStatics const& f) { return f.PowerSupplyStatusChanged(handler); }); } - inline PowerManager::PowerSupplyStatusChanged_revoker PowerManager::PowerSupplyStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto PowerManager::PowerSupplyStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.PowerSupplyStatusChanged(handler) }; + return PowerManager::PowerSupplyStatusChanged_revoker{ f, f.PowerSupplyStatusChanged(handler) }; } inline auto PowerManager::PowerSupplyStatusChanged(winrt::event_token const& token) { @@ -699,10 +699,10 @@ WINRT_EXPORT namespace winrt::Windows::System::Power { return impl::call_factory([&](IPowerManagerStatics const& f) { return f.RemainingChargePercentChanged(handler); }); } - inline PowerManager::RemainingChargePercentChanged_revoker PowerManager::RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto PowerManager::RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.RemainingChargePercentChanged(handler) }; + return PowerManager::RemainingChargePercentChanged_revoker{ f, f.RemainingChargePercentChanged(handler) }; } inline auto PowerManager::RemainingChargePercentChanged(winrt::event_token const& token) { @@ -716,10 +716,10 @@ WINRT_EXPORT namespace winrt::Windows::System::Power { return impl::call_factory([&](IPowerManagerStatics const& f) { return f.RemainingDischargeTimeChanged(handler); }); } - inline PowerManager::RemainingDischargeTimeChanged_revoker PowerManager::RemainingDischargeTimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto PowerManager::RemainingDischargeTimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.RemainingDischargeTimeChanged(handler) }; + return PowerManager::RemainingDischargeTimeChanged_revoker{ f, f.RemainingDischargeTimeChanged(handler) }; } inline auto PowerManager::RemainingDischargeTimeChanged(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.Preview.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.Preview.h index 1e229a0f..9d189404 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.Preview.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.Preview.h @@ -1,80 +1,80 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Preview_H #define WINRT_Windows_System_Preview_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.h" #include "winrt/impl/Windows.Devices.Sensors.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.System.Preview.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview::GetCurrentPostureAsync() const + template auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview::GetCurrentPostureAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreview)->GetCurrentPostureAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview::PostureChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview::PostureChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreview)->add_PostureChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview::PostureChanged_revoker consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview::PostureChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview::PostureChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PostureChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview::PostureChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview::PostureChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreview)->remove_PostureChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading::Timestamp() const + template auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewReading)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Preview::HingeState) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading::HingeState() const + template auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading::HingeState() const { winrt::Windows::System::Preview::HingeState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewReading)->get_HingeState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientation) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading::Panel1Orientation() const + template auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading::Panel1Orientation() const { winrt::Windows::Devices::Sensors::SimpleOrientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewReading)->get_Panel1Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading::Panel1Id() const + template auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading::Panel1Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewReading)->get_Panel1Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientation) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading::Panel2Orientation() const + template auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading::Panel2Orientation() const { winrt::Windows::Devices::Sensors::SimpleOrientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewReading)->get_Panel2Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading::Panel2Id() const + template auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading::Panel2Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewReading)->get_Panel2Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReading) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReadingChangedEventArgs::Reading() const + template auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReadingChangedEventArgs::Reading() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewReadingChangedEventArgs)->get_Reading(&value)); return winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReading{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewStatics::GetDefaultAsync() const + template auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewStatics::GetDefaultAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewStatics)->GetDefaultAsync(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.Profile.SystemManufacturers.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.Profile.SystemManufacturers.h index a17e466e..a4d2e7b3 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.Profile.SystemManufacturers.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.Profile.SystemManufacturers.h @@ -1,95 +1,95 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Profile_SystemManufacturers_H #define WINRT_Windows_System_Profile_SystemManufacturers_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.Profile.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.System.Profile.SystemManufacturers.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_System_Profile_SystemManufacturers_IOemSupportInfo::SupportLink() const + template auto consume_Windows_System_Profile_SystemManufacturers_IOemSupportInfo::SupportLink() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::SystemManufacturers::IOemSupportInfo)->get_SupportLink(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_System_Profile_SystemManufacturers_IOemSupportInfo::SupportAppLink() const + template auto consume_Windows_System_Profile_SystemManufacturers_IOemSupportInfo::SupportAppLink() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::SystemManufacturers::IOemSupportInfo)->get_SupportAppLink(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_IOemSupportInfo::SupportProvider() const + template auto consume_Windows_System_Profile_SystemManufacturers_IOemSupportInfo::SupportProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::SystemManufacturers::IOemSupportInfo)->get_SupportProvider(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISmbiosInformationStatics::SerialNumber() const + template auto consume_Windows_System_Profile_SystemManufacturers_ISmbiosInformationStatics::SerialNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::SystemManufacturers::ISmbiosInformationStatics)->get_SerialNumber(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo::OperatingSystem() const + template auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo::OperatingSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::SystemManufacturers::ISystemSupportDeviceInfo)->get_OperatingSystem(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo::FriendlyName() const + template auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo::FriendlyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::SystemManufacturers::ISystemSupportDeviceInfo)->get_FriendlyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo::SystemManufacturer() const + template auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo::SystemManufacturer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::SystemManufacturers::ISystemSupportDeviceInfo)->get_SystemManufacturer(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo::SystemProductName() const + template auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo::SystemProductName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::SystemManufacturers::ISystemSupportDeviceInfo)->get_SystemProductName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo::SystemSku() const + template auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo::SystemSku() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::SystemManufacturers::ISystemSupportDeviceInfo)->get_SystemSku(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo::SystemHardwareVersion() const + template auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo::SystemHardwareVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::SystemManufacturers::ISystemSupportDeviceInfo)->get_SystemHardwareVersion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo::SystemFirmwareVersion() const + template auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo::SystemFirmwareVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::SystemManufacturers::ISystemSupportDeviceInfo)->get_SystemFirmwareVersion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportInfoStatics::LocalSystemEdition() const + template auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportInfoStatics::LocalSystemEdition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::SystemManufacturers::ISystemSupportInfoStatics)->get_LocalSystemEdition(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemManufacturers::OemSupportInfo) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportInfoStatics::OemSupportInfo() const + template auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportInfoStatics::OemSupportInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::SystemManufacturers::ISystemSupportInfoStatics)->get_OemSupportInfo(&value)); return winrt::Windows::System::Profile::SystemManufacturers::OemSupportInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemManufacturers::SystemSupportDeviceInfo) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportInfoStatics2::LocalDeviceInfo() const + template auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportInfoStatics2::LocalDeviceInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::SystemManufacturers::ISystemSupportInfoStatics2)->get_LocalDeviceInfo(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.Profile.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.Profile.h index 8fcd8305..fe9da192 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.Profile.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.Profile.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Profile_H #define WINRT_Windows_System_Profile_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,351 +14,351 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.System.Profile.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::System::Profile::AnalyticsVersionInfo) consume_Windows_System_Profile_IAnalyticsInfoStatics::VersionInfo() const + template auto consume_Windows_System_Profile_IAnalyticsInfoStatics::VersionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IAnalyticsInfoStatics)->get_VersionInfo(&value)); return winrt::Windows::System::Profile::AnalyticsVersionInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IAnalyticsInfoStatics::DeviceForm() const + template auto consume_Windows_System_Profile_IAnalyticsInfoStatics::DeviceForm() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IAnalyticsInfoStatics)->get_DeviceForm(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_System_Profile_IAnalyticsInfoStatics2::GetSystemPropertiesAsync(param::async_iterable const& attributeNames) const + template auto consume_Windows_System_Profile_IAnalyticsInfoStatics2::GetSystemPropertiesAsync(param::async_iterable const& attributeNames) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IAnalyticsInfoStatics2)->GetSystemPropertiesAsync(*(void**)(&attributeNames), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IAnalyticsVersionInfo::DeviceFamily() const + template auto consume_Windows_System_Profile_IAnalyticsVersionInfo::DeviceFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IAnalyticsVersionInfo)->get_DeviceFamily(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IAnalyticsVersionInfo::DeviceFamilyVersion() const + template auto consume_Windows_System_Profile_IAnalyticsVersionInfo::DeviceFamilyVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IAnalyticsVersionInfo)->get_DeviceFamilyVersion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IAnalyticsVersionInfo2::ProductName() const + template auto consume_Windows_System_Profile_IAnalyticsVersionInfo2::ProductName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IAnalyticsVersionInfo2)->get_ProductName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_Profile_IAppApplicabilityStatics::GetUnsupportedAppRequirements(param::iterable const& capabilities) const + template auto consume_Windows_System_Profile_IAppApplicabilityStatics::GetUnsupportedAppRequirements(param::iterable const& capabilities) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IAppApplicabilityStatics)->GetUnsupportedAppRequirements(*(void**)(&capabilities), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_IEducationSettingsStatics::IsEducationEnvironment() const + template auto consume_Windows_System_Profile_IEducationSettingsStatics::IsEducationEnvironment() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IEducationSettingsStatics)->get_IsEducationEnvironment(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Profile::HardwareToken) consume_Windows_System_Profile_IHardwareIdentificationStatics::GetPackageSpecificToken(winrt::Windows::Storage::Streams::IBuffer const& nonce) const + template auto consume_Windows_System_Profile_IHardwareIdentificationStatics::GetPackageSpecificToken(winrt::Windows::Storage::Streams::IBuffer const& nonce) const { void* packageSpecificHardwareToken{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IHardwareIdentificationStatics)->GetPackageSpecificToken(*(void**)(&nonce), &packageSpecificHardwareToken)); return winrt::Windows::System::Profile::HardwareToken{ packageSpecificHardwareToken, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_System_Profile_IHardwareToken::Id() const + template auto consume_Windows_System_Profile_IHardwareToken::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IHardwareToken)->get_Id(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_System_Profile_IHardwareToken::Signature() const + template auto consume_Windows_System_Profile_IHardwareToken::Signature() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IHardwareToken)->get_Signature(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_System_Profile_IHardwareToken::Certificate() const + template auto consume_Windows_System_Profile_IHardwareToken::Certificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IHardwareToken)->get_Certificate(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::RetailAccessCode() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::RetailAccessCode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_RetailAccessCode(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::ManufacturerName() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::ManufacturerName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_ManufacturerName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::ModelName() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::ModelName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_ModelName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::DisplayModelName() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::DisplayModelName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_DisplayModelName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::Price() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::Price() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_Price(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::IsFeatured() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::IsFeatured() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_IsFeatured(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::FormFactor() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::FormFactor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_FormFactor(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::ScreenSize() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::ScreenSize() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_ScreenSize(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::Weight() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::Weight() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_Weight(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::DisplayDescription() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::DisplayDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_DisplayDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::BatteryLifeDescription() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::BatteryLifeDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_BatteryLifeDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::ProcessorDescription() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::ProcessorDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_ProcessorDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::Memory() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::Memory() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_Memory(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::StorageDescription() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::StorageDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_StorageDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::GraphicsDescription() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::GraphicsDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_GraphicsDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::FrontCameraDescription() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::FrontCameraDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_FrontCameraDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::RearCameraDescription() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::RearCameraDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_RearCameraDescription(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::HasNfc() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::HasNfc() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_HasNfc(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::HasSdSlot() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::HasSdSlot() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_HasSdSlot(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::HasOpticalDrive() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::HasOpticalDrive() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_HasOpticalDrive(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::IsOfficeInstalled() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::IsOfficeInstalled() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_IsOfficeInstalled(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::WindowsEdition() const + template auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics::WindowsEdition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics)->get_WindowsEdition(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Profile::PlatformDataCollectionLevel) consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics::CollectionLevel() const + template auto consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics::CollectionLevel() const { winrt::Windows::System::Profile::PlatformDataCollectionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics)->get_CollectionLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics::CollectionLevelChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics::CollectionLevelChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics)->add_CollectionLevelChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics::CollectionLevelChanged_revoker consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics::CollectionLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics::CollectionLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, CollectionLevelChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics::CollectionLevelChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics::CollectionLevelChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics)->remove_CollectionLevelChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics::CanCollectDiagnostics(winrt::Windows::System::Profile::PlatformDataCollectionLevel const& level) const + template auto consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics::CanCollectDiagnostics(winrt::Windows::System::Profile::PlatformDataCollectionLevel const& level) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics)->CanCollectDiagnostics(static_cast(level), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_IRetailInfoStatics::IsDemoModeEnabled() const + template auto consume_Windows_System_Profile_IRetailInfoStatics::IsDemoModeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IRetailInfoStatics)->get_IsDemoModeEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_System_Profile_IRetailInfoStatics::Properties() const + template auto consume_Windows_System_Profile_IRetailInfoStatics::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IRetailInfoStatics)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_ISharedModeSettingsStatics::IsEnabled() const + template auto consume_Windows_System_Profile_ISharedModeSettingsStatics::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::ISharedModeSettingsStatics)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_ISharedModeSettingsStatics2::ShouldAvoidLocalStorage() const + template auto consume_Windows_System_Profile_ISharedModeSettingsStatics2::ShouldAvoidLocalStorage() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::ISharedModeSettingsStatics2)->get_ShouldAvoidLocalStorage(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_System_Profile_ISystemIdentificationInfo::Id() const + template auto consume_Windows_System_Profile_ISystemIdentificationInfo::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::ISystemIdentificationInfo)->get_Id(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemIdentificationSource) consume_Windows_System_Profile_ISystemIdentificationInfo::Source() const + template auto consume_Windows_System_Profile_ISystemIdentificationInfo::Source() const { winrt::Windows::System::Profile::SystemIdentificationSource value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::ISystemIdentificationInfo)->get_Source(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemIdentificationInfo) consume_Windows_System_Profile_ISystemIdentificationStatics::GetSystemIdForPublisher() const + template auto consume_Windows_System_Profile_ISystemIdentificationStatics::GetSystemIdForPublisher() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::ISystemIdentificationStatics)->GetSystemIdForPublisher(&result)); return winrt::Windows::System::Profile::SystemIdentificationInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemIdentificationInfo) consume_Windows_System_Profile_ISystemIdentificationStatics::GetSystemIdForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_System_Profile_ISystemIdentificationStatics::GetSystemIdForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::ISystemIdentificationStatics)->GetSystemIdForUser(*(void**)(&user), &result)); return winrt::Windows::System::Profile::SystemIdentificationInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemOutOfBoxExperienceState) consume_Windows_System_Profile_ISystemSetupInfoStatics::OutOfBoxExperienceState() const + template auto consume_Windows_System_Profile_ISystemSetupInfoStatics::OutOfBoxExperienceState() const { winrt::Windows::System::Profile::SystemOutOfBoxExperienceState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::ISystemSetupInfoStatics)->get_OutOfBoxExperienceState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Profile_ISystemSetupInfoStatics::OutOfBoxExperienceStateChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Profile_ISystemSetupInfoStatics::OutOfBoxExperienceStateChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::ISystemSetupInfoStatics)->add_OutOfBoxExperienceStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Profile_ISystemSetupInfoStatics::OutOfBoxExperienceStateChanged_revoker consume_Windows_System_Profile_ISystemSetupInfoStatics::OutOfBoxExperienceStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Profile_ISystemSetupInfoStatics::OutOfBoxExperienceStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, OutOfBoxExperienceStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Profile_ISystemSetupInfoStatics::OutOfBoxExperienceStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Profile_ISystemSetupInfoStatics::OutOfBoxExperienceStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Profile::ISystemSetupInfoStatics)->remove_OutOfBoxExperienceStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IUnsupportedAppRequirement::Requirement() const + template auto consume_Windows_System_Profile_IUnsupportedAppRequirement::Requirement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IUnsupportedAppRequirement)->get_Requirement(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Profile::UnsupportedAppRequirementReasons) consume_Windows_System_Profile_IUnsupportedAppRequirement::Reasons() const + template auto consume_Windows_System_Profile_IUnsupportedAppRequirement::Reasons() const { winrt::Windows::System::Profile::UnsupportedAppRequirementReasons value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IUnsupportedAppRequirement)->get_Reasons(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics::IsEnabled() const + template auto consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics::IsEnabledForTrial() const + template auto consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics::IsEnabledForTrial() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics)->get_IsEnabledForTrial(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics::CanDisable() const + template auto consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics::CanDisable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics)->get_CanDisable(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics::IsDisableSupported() const + template auto consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics::IsDisableSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics)->get_IsDisableSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics::PolicyChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics::PolicyChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics)->add_PolicyChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics::PolicyChanged_revoker consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics::PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics::PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, PolicyChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics::PolicyChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics::PolicyChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics)->remove_PolicyChanged(impl::bind_in(token)); } @@ -1061,10 +1061,10 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile { return impl::call_factory([&](IPlatformDiagnosticsAndUsageDataSettingsStatics const& f) { return f.CollectionLevelChanged(handler); }); } - inline PlatformDiagnosticsAndUsageDataSettings::CollectionLevelChanged_revoker PlatformDiagnosticsAndUsageDataSettings::CollectionLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto PlatformDiagnosticsAndUsageDataSettings::CollectionLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.CollectionLevelChanged(handler) }; + return PlatformDiagnosticsAndUsageDataSettings::CollectionLevelChanged_revoker{ f, f.CollectionLevelChanged(handler) }; } inline auto PlatformDiagnosticsAndUsageDataSettings::CollectionLevelChanged(winrt::event_token const& token) { @@ -1106,10 +1106,10 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile { return impl::call_factory([&](ISystemSetupInfoStatics const& f) { return f.OutOfBoxExperienceStateChanged(handler); }); } - inline SystemSetupInfo::OutOfBoxExperienceStateChanged_revoker SystemSetupInfo::OutOfBoxExperienceStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto SystemSetupInfo::OutOfBoxExperienceStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.OutOfBoxExperienceStateChanged(handler) }; + return SystemSetupInfo::OutOfBoxExperienceStateChanged_revoker{ f, f.OutOfBoxExperienceStateChanged(handler) }; } inline auto SystemSetupInfo::OutOfBoxExperienceStateChanged(winrt::event_token const& token) { @@ -1135,10 +1135,10 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile { return impl::call_factory([&](IWindowsIntegrityPolicyStatics const& f) { return f.PolicyChanged(handler); }); } - inline WindowsIntegrityPolicy::PolicyChanged_revoker WindowsIntegrityPolicy::PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto WindowsIntegrityPolicy::PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.PolicyChanged(handler) }; + return WindowsIntegrityPolicy::PolicyChanged_revoker{ f, f.PolicyChanged(handler) }; } inline auto WindowsIntegrityPolicy::PolicyChanged(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.RemoteDesktop.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.RemoteDesktop.h index e8209267..b7378614 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.RemoteDesktop.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.RemoteDesktop.h @@ -1,16 +1,16 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_RemoteDesktop_H #define WINRT_Windows_System_RemoteDesktop_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.h" #include "winrt/impl/Windows.System.RemoteDesktop.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_System_RemoteDesktop_IInteractiveSessionStatics::IsRemote() const + template auto consume_Windows_System_RemoteDesktop_IInteractiveSessionStatics::IsRemote() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteDesktop::IInteractiveSessionStatics)->get_IsRemote(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.RemoteSystems.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.RemoteSystems.h index 6ebc8d3b..3bd9fff9 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.RemoteSystems.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.RemoteSystems.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_RemoteSystems_H #define WINRT_Windows_System_RemoteSystems_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.h" #include "winrt/impl/Windows.ApplicationModel.AppService.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -16,897 +16,897 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.System.RemoteSystems.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics::AppService() const + template auto consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics::AppService() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IKnownRemoteSystemCapabilitiesStatics)->get_AppService(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics::LaunchUri() const + template auto consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics::LaunchUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IKnownRemoteSystemCapabilitiesStatics)->get_LaunchUri(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics::RemoteSession() const + template auto consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics::RemoteSession() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IKnownRemoteSystemCapabilitiesStatics)->get_RemoteSession(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics::SpatialEntity() const + template auto consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics::SpatialEntity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IKnownRemoteSystemCapabilitiesStatics)->get_SpatialEntity(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystem::DisplayName() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystem::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystem::Id() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystem::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystem::Kind() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystem::Kind() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem)->get_Kind(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemStatus) consume_Windows_System_RemoteSystems_IRemoteSystem::Status() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystem::Status() const { winrt::Windows::System::RemoteSystems::RemoteSystemStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_RemoteSystems_IRemoteSystem::IsAvailableByProximity() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystem::IsAvailableByProximity() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem)->get_IsAvailableByProximity(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_RemoteSystems_IRemoteSystem2::IsAvailableBySpatialProximity() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystem2::IsAvailableBySpatialProximity() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem2)->get_IsAvailableBySpatialProximity(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_RemoteSystems_IRemoteSystem2::GetCapabilitySupportedAsync(param::hstring const& capabilityName) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystem2::GetCapabilitySupportedAsync(param::hstring const& capabilityName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem2)->GetCapabilitySupportedAsync(*(void**)(&capabilityName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystem3::ManufacturerDisplayName() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystem3::ManufacturerDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem3)->get_ManufacturerDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystem3::ModelDisplayName() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystem3::ModelDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem3)->get_ModelDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemPlatform) consume_Windows_System_RemoteSystems_IRemoteSystem4::Platform() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystem4::Platform() const { winrt::Windows::System::RemoteSystems::RemoteSystemPlatform value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem4)->get_Platform(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_RemoteSystems_IRemoteSystem5::Apps() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystem5::Apps() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem5)->get_Apps(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_RemoteSystems_IRemoteSystem6::User() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystem6::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem6)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) consume_Windows_System_RemoteSystems_IRemoteSystemAddedEventArgs::RemoteSystem() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemAddedEventArgs::RemoteSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemAddedEventArgs)->get_RemoteSystem(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemApp::Id() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemApp::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemApp)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemApp::DisplayName() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemApp::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemApp)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_RemoteSystems_IRemoteSystemApp::IsAvailableByProximity() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemApp::IsAvailableByProximity() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemApp)->get_IsAvailableByProximity(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_RemoteSystems_IRemoteSystemApp::IsAvailableBySpatialProximity() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemApp::IsAvailableBySpatialProximity() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemApp)->get_IsAvailableBySpatialProximity(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_System_RemoteSystems_IRemoteSystemApp::Attributes() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemApp::Attributes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemApp)->get_Attributes(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_RemoteSystems_IRemoteSystemApp2::User() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemApp2::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemApp2)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemApp2::ConnectionToken() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemApp2::ConnectionToken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemApp2)->get_ConnectionToken(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistration::User() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistration::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemAppRegistration)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistration::Attributes() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistration::Attributes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemAppRegistration)->get_Attributes(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistration::SaveAsync() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistration::SaveAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemAppRegistration)->SaveAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemAppRegistration) consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistrationStatics::GetDefault() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistrationStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemAppRegistrationStatics)->GetDefault(&result)); return winrt::Windows::System::RemoteSystems::RemoteSystemAppRegistration{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemAppRegistration) consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistrationStatics::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistrationStatics::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemAppRegistrationStatics)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::System::RemoteSystems::RemoteSystemAppRegistration{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind) consume_Windows_System_RemoteSystems_IRemoteSystemAuthorizationKindFilter::RemoteSystemAuthorizationKind() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemAuthorizationKindFilter::RemoteSystemAuthorizationKind() const { winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemAuthorizationKindFilter)->get_RemoteSystemAuthorizationKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKindFilter) consume_Windows_System_RemoteSystems_IRemoteSystemAuthorizationKindFilterFactory::Create(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind const& remoteSystemAuthorizationKind) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemAuthorizationKindFilterFactory::Create(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind const& remoteSystemAuthorizationKind) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemAuthorizationKindFilterFactory)->Create(static_cast(remoteSystemAuthorizationKind), &value)); return winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKindFilter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionInfo::IsProximal() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionInfo::IsProximal() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionInfo)->get_IsProximal(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionInfo) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionInfoStatics::TryCreateFromAppServiceConnection(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& connection) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionInfoStatics::TryCreateFromAppServiceConnection(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& connection) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionInfoStatics)->TryCreateFromAppServiceConnection(*(void**)(&connection), &result)); return winrt::Windows::System::RemoteSystems::RemoteSystemConnectionInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest::RemoteSystem() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest::RemoteSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionRequest)->get_RemoteSystem(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemApp) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest2::RemoteSystemApp() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest2::RemoteSystemApp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionRequest2)->get_RemoteSystemApp(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystemApp{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest3::ConnectionToken() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest3::ConnectionToken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionRequest3)->get_ConnectionToken(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestFactory::Create(winrt::Windows::System::RemoteSystems::RemoteSystem const& remoteSystem) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestFactory::Create(winrt::Windows::System::RemoteSystems::RemoteSystem const& remoteSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionRequestFactory)->Create(*(void**)(&remoteSystem), &value)); return winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestStatics::CreateForApp(winrt::Windows::System::RemoteSystems::RemoteSystemApp const& remoteSystemApp) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestStatics::CreateForApp(winrt::Windows::System::RemoteSystems::RemoteSystemApp const& remoteSystemApp) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionRequestStatics)->CreateForApp(*(void**)(&remoteSystemApp), &result)); return winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestStatics2::CreateFromConnectionToken(param::hstring const& connectionToken) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestStatics2::CreateFromConnectionToken(param::hstring const& connectionToken) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionRequestStatics2)->CreateFromConnectionToken(*(void**)(&connectionToken), &result)); return winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestStatics2::CreateFromConnectionTokenForUser(winrt::Windows::System::User const& user, param::hstring const& connectionToken) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestStatics2::CreateFromConnectionTokenForUser(winrt::Windows::System::User const& user, param::hstring const& connectionToken) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionRequestStatics2)->CreateFromConnectionTokenForUser(*(void**)(&user), *(void**)(&connectionToken), &result)); return winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryType) consume_Windows_System_RemoteSystems_IRemoteSystemDiscoveryTypeFilter::RemoteSystemDiscoveryType() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemDiscoveryTypeFilter::RemoteSystemDiscoveryType() const { winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemDiscoveryTypeFilter)->get_RemoteSystemDiscoveryType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryTypeFilter) consume_Windows_System_RemoteSystems_IRemoteSystemDiscoveryTypeFilterFactory::Create(winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryType const& discoveryType) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemDiscoveryTypeFilterFactory::Create(winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryType const& discoveryType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemDiscoveryTypeFilterFactory)->Create(static_cast(discoveryType), &value)); return winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryTypeFilter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_RemoteSystems_IRemoteSystemKindFilter::RemoteSystemKinds() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemKindFilter::RemoteSystemKinds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemKindFilter)->get_RemoteSystemKinds(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemKindFilter) consume_Windows_System_RemoteSystems_IRemoteSystemKindFilterFactory::Create(param::iterable const& remoteSystemKinds) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemKindFilterFactory::Create(param::iterable const& remoteSystemKinds) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemKindFilterFactory)->Create(*(void**)(&remoteSystemKinds), &value)); return winrt::Windows::System::RemoteSystems::RemoteSystemKindFilter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics::Phone() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics::Phone() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemKindStatics)->get_Phone(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics::Hub() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics::Hub() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemKindStatics)->get_Hub(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics::Holographic() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics::Holographic() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemKindStatics)->get_Holographic(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics::Desktop() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics::Desktop() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemKindStatics)->get_Desktop(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics::Xbox() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics::Xbox() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemKindStatics)->get_Xbox(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics2::Iot() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics2::Iot() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemKindStatics2)->get_Iot(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics2::Tablet() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics2::Tablet() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemKindStatics2)->get_Tablet(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics2::Laptop() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics2::Laptop() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemKindStatics2)->get_Laptop(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemRemovedEventArgs::RemoteSystemId() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemRemovedEventArgs::RemoteSystemId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemRemovedEventArgs)->get_RemoteSystemId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemSession::Id() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSession::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSession)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemSession::DisplayName() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSession::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSession)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemSession::ControllerDisplayName() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSession::ControllerDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSession)->get_ControllerDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSession::Disconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSession::Disconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSession)->add_Disconnected(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_RemoteSystems_IRemoteSystemSession::Disconnected_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSession::Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSession::Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Disconnected(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSession::Disconnected(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSession::Disconnected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSession)->remove_Disconnected(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher) consume_Windows_System_RemoteSystems_IRemoteSystemSession::CreateParticipantWatcher() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSession::CreateParticipantWatcher() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSession)->CreateParticipantWatcher(&result)); return winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_RemoteSystems_IRemoteSystemSession::SendInvitationAsync(winrt::Windows::System::RemoteSystems::RemoteSystem const& invitee) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSession::SendInvitationAsync(winrt::Windows::System::RemoteSystems::RemoteSystem const& invitee) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSession)->SendInvitationAsync(*(void**)(&invitee), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo) consume_Windows_System_RemoteSystems_IRemoteSystemSessionAddedEventArgs::SessionInfo() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionAddedEventArgs::SessionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionAddedEventArgs)->get_SessionInfo(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionController::JoinRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionController::JoinRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionController)->add_JoinRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionController::JoinRequested_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionController::JoinRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionController::JoinRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, JoinRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionController::JoinRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionController::JoinRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionController)->remove_JoinRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_RemoteSystems_IRemoteSystemSessionController::RemoveParticipantAsync(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant const& pParticipant) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionController::RemoveParticipantAsync(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant const& pParticipant) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionController)->RemoveParticipantAsync(*(void**)(&pParticipant), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_RemoteSystems_IRemoteSystemSessionController::CreateSessionAsync() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionController::CreateSessionAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionController)->CreateSessionAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionController) consume_Windows_System_RemoteSystems_IRemoteSystemSessionControllerFactory::CreateController(param::hstring const& displayName) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionControllerFactory::CreateController(param::hstring const& displayName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionControllerFactory)->CreateController(*(void**)(&displayName), &value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSessionController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionController) consume_Windows_System_RemoteSystems_IRemoteSystemSessionControllerFactory::CreateController(param::hstring const& displayName, winrt::Windows::System::RemoteSystems::RemoteSystemSessionOptions const& options) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionControllerFactory::CreateController(param::hstring const& displayName, winrt::Windows::System::RemoteSystems::RemoteSystemSessionOptions const& options) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionControllerFactory)->CreateControllerWithSessionOptions(*(void**)(&displayName), *(void**)(&options), &value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSessionController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionCreationStatus) consume_Windows_System_RemoteSystems_IRemoteSystemSessionCreationResult::Status() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionCreationResult::Status() const { winrt::Windows::System::RemoteSystems::RemoteSystemSessionCreationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionCreationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSession) consume_Windows_System_RemoteSystems_IRemoteSystemSessionCreationResult::Session() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionCreationResult::Session() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionCreationResult)->get_Session(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionDisconnectedReason) consume_Windows_System_RemoteSystems_IRemoteSystemSessionDisconnectedEventArgs::Reason() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionDisconnectedEventArgs::Reason() const { winrt::Windows::System::RemoteSystems::RemoteSystemSessionDisconnectedReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionDisconnectedEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemSessionInfo::DisplayName() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInfo::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionInfo)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemSessionInfo::ControllerDisplayName() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInfo::ControllerDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionInfo)->get_ControllerDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_RemoteSystems_IRemoteSystemSessionInfo::JoinAsync() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInfo::JoinAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionInfo)->JoinAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitation::Sender() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitation::Sender() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionInvitation)->get_Sender(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo) consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitation::SessionInfo() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitation::SessionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionInvitation)->get_SessionInfo(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationListener::InvitationReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationListener::InvitationReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionInvitationListener)->add_InvitationReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationListener::InvitationReceived_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationListener::InvitationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationListener::InvitationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, InvitationReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationListener::InvitationReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationListener::InvitationReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionInvitationListener)->remove_InvitationReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitation) consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationReceivedEventArgs::Invitation() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationReceivedEventArgs::Invitation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionInvitationReceivedEventArgs)->get_Invitation(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant) consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequest::Participant() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequest::Participant() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionJoinRequest)->get_Participant(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequest::Accept() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequest::Accept() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionJoinRequest)->Accept()); } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinRequest) consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequestedEventArgs::JoinRequest() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequestedEventArgs::JoinRequest() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionJoinRequestedEventArgs)->get_JoinRequest(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequestedEventArgs::GetDeferral() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionJoinRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinStatus) consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinResult::Status() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinResult::Status() const { winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionJoinResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSession) consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinResult::Session() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinResult::Session() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionJoinResult)->get_Session(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSession) consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel::Session() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel::Session() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionMessageChannel)->get_Session(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSession{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel::BroadcastValueSetAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel::BroadcastValueSetAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionMessageChannel)->BroadcastValueSetAsync(*(void**)(&messageData), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel::SendValueSetAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant const& participant) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel::SendValueSetAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant const& participant) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionMessageChannel)->SendValueSetAsync(*(void**)(&messageData), *(void**)(&participant), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel::SendValueSetToParticipantsAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData, param::async_iterable const& participants) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel::SendValueSetToParticipantsAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData, param::async_iterable const& participants) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionMessageChannel)->SendValueSetToParticipantsAsync(*(void**)(&messageData), *(void**)(&participants), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel::ValueSetReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel::ValueSetReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionMessageChannel)->add_ValueSetReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel::ValueSetReceived_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel::ValueSetReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel::ValueSetReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ValueSetReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel::ValueSetReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel::ValueSetReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionMessageChannel)->remove_ValueSetReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel) consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannelFactory::Create(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session, param::hstring const& channelName) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannelFactory::Create(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session, param::hstring const& channelName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionMessageChannelFactory)->Create(*(void**)(&session), *(void**)(&channelName), &value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel) consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannelFactory::Create(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session, param::hstring const& channelName, winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannelReliability const& reliability) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannelFactory::Create(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session, param::hstring const& channelName, winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannelReliability const& reliability) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionMessageChannelFactory)->CreateWithReliability(*(void**)(&session), *(void**)(&channelName), static_cast(reliability), &value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_RemoteSystems_IRemoteSystemSessionOptions::IsInviteOnly() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionOptions::IsInviteOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionOptions)->get_IsInviteOnly(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionOptions::IsInviteOnly(bool value) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionOptions::IsInviteOnly(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionOptions)->put_IsInviteOnly(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipant::RemoteSystem() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipant::RemoteSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipant)->get_RemoteSystem(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipant::GetHostNames() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipant::GetHostNames() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipant)->GetHostNames(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantAddedEventArgs::Participant() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantAddedEventArgs::Participant() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantAddedEventArgs)->get_Participant(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantRemovedEventArgs::Participant() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantRemovedEventArgs::Participant() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantRemovedEventArgs)->get_Participant(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Start() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Stop() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcherStatus) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Status() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Status() const { winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcherStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher)->add_Added(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Added_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Added(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Added(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Added(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher)->remove_Added(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher)->add_Removed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Removed_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Removed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Removed(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::Removed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher)->remove_Removed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::EnumerationCompleted_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher)->remove_EnumerationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo) consume_Windows_System_RemoteSystems_IRemoteSystemSessionRemovedEventArgs::SessionInfo() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionRemovedEventArgs::SessionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionRemovedEventArgs)->get_SessionInfo(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher) consume_Windows_System_RemoteSystems_IRemoteSystemSessionStatics::CreateWatcher() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionStatics::CreateWatcher() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionStatics)->CreateWatcher(&result)); return winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo) consume_Windows_System_RemoteSystems_IRemoteSystemSessionUpdatedEventArgs::SessionInfo() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionUpdatedEventArgs::SessionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionUpdatedEventArgs)->get_SessionInfo(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant) consume_Windows_System_RemoteSystems_IRemoteSystemSessionValueSetReceivedEventArgs::Sender() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionValueSetReceivedEventArgs::Sender() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionValueSetReceivedEventArgs)->get_Sender(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_System_RemoteSystems_IRemoteSystemSessionValueSetReceivedEventArgs::Message() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionValueSetReceivedEventArgs::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionValueSetReceivedEventArgs)->get_Message(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Start() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Stop() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcherStatus) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Status() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Status() const { winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcherStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher)->add_Added(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Added_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Added(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Added(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Added(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher)->remove_Added(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher)->add_Updated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Updated_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Updated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Updated(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Updated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher)->remove_Updated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher)->add_Removed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Removed_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Removed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Removed(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher::Removed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher)->remove_Removed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_RemoteSystems_IRemoteSystemStatics::FindByHostNameAsync(winrt::Windows::Networking::HostName const& hostName) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemStatics::FindByHostNameAsync(winrt::Windows::Networking::HostName const& hostName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemStatics)->FindByHostNameAsync(*(void**)(&hostName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWatcher) consume_Windows_System_RemoteSystems_IRemoteSystemStatics::CreateWatcher() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemStatics::CreateWatcher() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemStatics)->CreateWatcher(&result)); return winrt::Windows::System::RemoteSystems::RemoteSystemWatcher{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWatcher) consume_Windows_System_RemoteSystems_IRemoteSystemStatics::CreateWatcher(param::iterable const& filters) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemStatics::CreateWatcher(param::iterable const& filters) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemStatics)->CreateWatcherWithFilters(*(void**)(&filters), &result)); return winrt::Windows::System::RemoteSystems::RemoteSystemWatcher{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_RemoteSystems_IRemoteSystemStatics::RequestAccessAsync() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemStatics::RequestAccessAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemStatics)->RequestAccessAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_RemoteSystems_IRemoteSystemStatics2::IsAuthorizationKindEnabled(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind const& kind) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemStatics2::IsAuthorizationKindEnabled(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind const& kind) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemStatics2)->IsAuthorizationKindEnabled(static_cast(kind), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWatcher) consume_Windows_System_RemoteSystems_IRemoteSystemStatics3::CreateWatcherForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemStatics3::CreateWatcherForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemStatics3)->CreateWatcherForUser(*(void**)(&user), &result)); return winrt::Windows::System::RemoteSystems::RemoteSystemWatcher{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWatcher) consume_Windows_System_RemoteSystems_IRemoteSystemStatics3::CreateWatcherForUser(winrt::Windows::System::User const& user, param::iterable const& filters) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemStatics3::CreateWatcherForUser(winrt::Windows::System::User const& user, param::iterable const& filters) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemStatics3)->CreateWatcherWithFiltersForUser(*(void**)(&user), *(void**)(&filters), &result)); return winrt::Windows::System::RemoteSystems::RemoteSystemWatcher{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemStatusType) consume_Windows_System_RemoteSystems_IRemoteSystemStatusTypeFilter::RemoteSystemStatusType() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemStatusTypeFilter::RemoteSystemStatusType() const { winrt::Windows::System::RemoteSystems::RemoteSystemStatusType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemStatusTypeFilter)->get_RemoteSystemStatusType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemStatusTypeFilter) consume_Windows_System_RemoteSystems_IRemoteSystemStatusTypeFilterFactory::Create(winrt::Windows::System::RemoteSystems::RemoteSystemStatusType const& remoteSystemStatusType) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemStatusTypeFilterFactory::Create(winrt::Windows::System::RemoteSystems::RemoteSystemStatusType const& remoteSystemStatusType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemStatusTypeFilterFactory)->Create(static_cast(remoteSystemStatusType), &value)); return winrt::Windows::System::RemoteSystems::RemoteSystemStatusTypeFilter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) consume_Windows_System_RemoteSystems_IRemoteSystemUpdatedEventArgs::RemoteSystem() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemUpdatedEventArgs::RemoteSystem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemUpdatedEventArgs)->get_RemoteSystem(&value)); return winrt::Windows::System::RemoteSystems::RemoteSystem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::Start() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::Stop() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher)->Stop()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher)->add_RemoteSystemAdded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemAdded_revoker consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RemoteSystemAdded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemAdded(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemAdded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher)->remove_RemoteSystemAdded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher)->add_RemoteSystemUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemUpdated_revoker consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RemoteSystemUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher)->remove_RemoteSystemUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher)->add_RemoteSystemRemoved(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemRemoved_revoker consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RemoteSystemRemoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemRemoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher::RemoteSystemRemoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher)->remove_RemoteSystemRemoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher2)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2::EnumerationCompleted_revoker consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2::EnumerationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher2)->remove_EnumerationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher2)->add_ErrorOccurred(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2::ErrorOccurred_revoker consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ErrorOccurred(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2::ErrorOccurred(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2::ErrorOccurred(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher2)->remove_ErrorOccurred(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher3::User() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher3::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher3)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWatcherError) consume_Windows_System_RemoteSystems_IRemoteSystemWatcherErrorOccurredEventArgs::Error() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcherErrorOccurredEventArgs::Error() const { winrt::Windows::System::RemoteSystems::RemoteSystemWatcherError value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcherErrorOccurredEventArgs)->get_Error(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) consume_Windows_System_RemoteSystems_IRemoteSystemWebAccountFilter::Account() const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWebAccountFilter::Account() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWebAccountFilter)->get_Account(&value)); return winrt::Windows::Security::Credentials::WebAccount{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWebAccountFilter) consume_Windows_System_RemoteSystems_IRemoteSystemWebAccountFilterFactory::Create(winrt::Windows::Security::Credentials::WebAccount const& account) const + template auto consume_Windows_System_RemoteSystems_IRemoteSystemWebAccountFilterFactory::Create(winrt::Windows::Security::Credentials::WebAccount const& account) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWebAccountFilterFactory)->Create(*(void**)(&account), &value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.Threading.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.Threading.Core.h index 89e6cdae..44cbad06 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.Threading.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.Threading.Core.h @@ -1,68 +1,68 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Threading_Core_H #define WINRT_Windows_System_Threading_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.Threading.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.System.Threading.2.h" #include "winrt/impl/Windows.System.Threading.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_System_Threading_Core_IPreallocatedWorkItem::RunAsync() const + template auto consume_Windows_System_Threading_Core_IPreallocatedWorkItem::RunAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::Core::IPreallocatedWorkItem)->RunAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::PreallocatedWorkItem) consume_Windows_System_Threading_Core_IPreallocatedWorkItemFactory::CreateWorkItem(winrt::Windows::System::Threading::WorkItemHandler const& handler) const + template auto consume_Windows_System_Threading_Core_IPreallocatedWorkItemFactory::CreateWorkItem(winrt::Windows::System::Threading::WorkItemHandler const& handler) const { void* workItem{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::Core::IPreallocatedWorkItemFactory)->CreateWorkItem(*(void**)(&handler), &workItem)); return winrt::Windows::System::Threading::Core::PreallocatedWorkItem{ workItem, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::PreallocatedWorkItem) consume_Windows_System_Threading_Core_IPreallocatedWorkItemFactory::CreateWorkItemWithPriority(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority) const + template auto consume_Windows_System_Threading_Core_IPreallocatedWorkItemFactory::CreateWorkItemWithPriority(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority) const { void* WorkItem{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::Core::IPreallocatedWorkItemFactory)->CreateWorkItemWithPriority(*(void**)(&handler), static_cast(priority), &WorkItem)); return winrt::Windows::System::Threading::Core::PreallocatedWorkItem{ WorkItem, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::PreallocatedWorkItem) consume_Windows_System_Threading_Core_IPreallocatedWorkItemFactory::CreateWorkItemWithPriorityAndOptions(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority, winrt::Windows::System::Threading::WorkItemOptions const& options) const + template auto consume_Windows_System_Threading_Core_IPreallocatedWorkItemFactory::CreateWorkItemWithPriorityAndOptions(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority, winrt::Windows::System::Threading::WorkItemOptions const& options) const { void* WorkItem{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::Core::IPreallocatedWorkItemFactory)->CreateWorkItemWithPriorityAndOptions(*(void**)(&handler), static_cast(priority), static_cast(options), &WorkItem)); return winrt::Windows::System::Threading::Core::PreallocatedWorkItem{ WorkItem, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Threading_Core_ISignalNotifier::Enable() const + template auto consume_Windows_System_Threading_Core_ISignalNotifier::Enable() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::Core::ISignalNotifier)->Enable()); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Threading_Core_ISignalNotifier::Terminate() const + template auto consume_Windows_System_Threading_Core_ISignalNotifier::Terminate() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::Core::ISignalNotifier)->Terminate()); } - template WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::SignalNotifier) consume_Windows_System_Threading_Core_ISignalNotifierStatics::AttachToEvent(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler) const + template auto consume_Windows_System_Threading_Core_ISignalNotifierStatics::AttachToEvent(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler) const { void* signalNotifier{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::Core::ISignalNotifierStatics)->AttachToEvent(*(void**)(&name), *(void**)(&handler), &signalNotifier)); return winrt::Windows::System::Threading::Core::SignalNotifier{ signalNotifier, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::SignalNotifier) consume_Windows_System_Threading_Core_ISignalNotifierStatics::AttachToEvent(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler, winrt::Windows::Foundation::TimeSpan const& timeout) const + template auto consume_Windows_System_Threading_Core_ISignalNotifierStatics::AttachToEvent(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler, winrt::Windows::Foundation::TimeSpan const& timeout) const { void* signalNotifier{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::Core::ISignalNotifierStatics)->AttachToEventWithTimeout(*(void**)(&name), *(void**)(&handler), impl::bind_in(timeout), &signalNotifier)); return winrt::Windows::System::Threading::Core::SignalNotifier{ signalNotifier, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::SignalNotifier) consume_Windows_System_Threading_Core_ISignalNotifierStatics::AttachToSemaphore(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler) const + template auto consume_Windows_System_Threading_Core_ISignalNotifierStatics::AttachToSemaphore(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler) const { void* signalNotifier{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::Core::ISignalNotifierStatics)->AttachToSemaphore(*(void**)(&name), *(void**)(&handler), &signalNotifier)); return winrt::Windows::System::Threading::Core::SignalNotifier{ signalNotifier, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::SignalNotifier) consume_Windows_System_Threading_Core_ISignalNotifierStatics::AttachToSemaphore(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler, winrt::Windows::Foundation::TimeSpan const& timeout) const + template auto consume_Windows_System_Threading_Core_ISignalNotifierStatics::AttachToSemaphore(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler, winrt::Windows::Foundation::TimeSpan const& timeout) const { void* signalNotifier{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::Core::ISignalNotifierStatics)->AttachToSemaphoreWithTimeout(*(void**)(&name), *(void**)(&handler), impl::bind_in(timeout), &signalNotifier)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.Threading.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.Threading.h index 39c6873e..a2e72fe1 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.Threading.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.Threading.h @@ -1,69 +1,69 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Threading_H #define WINRT_Windows_System_Threading_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.System.Threading.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_System_Threading_IThreadPoolStatics::RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler) const + template auto consume_Windows_System_Threading_IThreadPoolStatics::RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::IThreadPoolStatics)->RunAsync(*(void**)(&handler), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_System_Threading_IThreadPoolStatics::RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority) const + template auto consume_Windows_System_Threading_IThreadPoolStatics::RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::IThreadPoolStatics)->RunWithPriorityAsync(*(void**)(&handler), static_cast(priority), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_System_Threading_IThreadPoolStatics::RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority, winrt::Windows::System::Threading::WorkItemOptions const& options) const + template auto consume_Windows_System_Threading_IThreadPoolStatics::RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority, winrt::Windows::System::Threading::WorkItemOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::IThreadPoolStatics)->RunWithPriorityAndOptionsAsync(*(void**)(&handler), static_cast(priority), static_cast(options), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Threading_IThreadPoolTimer::Period() const + template auto consume_Windows_System_Threading_IThreadPoolTimer::Period() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::IThreadPoolTimer)->get_Period(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Threading_IThreadPoolTimer::Delay() const + template auto consume_Windows_System_Threading_IThreadPoolTimer::Delay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::IThreadPoolTimer)->get_Delay(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Threading_IThreadPoolTimer::Cancel() const + template auto consume_Windows_System_Threading_IThreadPoolTimer::Cancel() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::IThreadPoolTimer)->Cancel()); } - template WINRT_IMPL_AUTO(winrt::Windows::System::Threading::ThreadPoolTimer) consume_Windows_System_Threading_IThreadPoolTimerStatics::CreatePeriodicTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& period) const + template auto consume_Windows_System_Threading_IThreadPoolTimerStatics::CreatePeriodicTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& period) const { void* timer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::IThreadPoolTimerStatics)->CreatePeriodicTimer(*(void**)(&handler), impl::bind_in(period), &timer)); return winrt::Windows::System::Threading::ThreadPoolTimer{ timer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Threading::ThreadPoolTimer) consume_Windows_System_Threading_IThreadPoolTimerStatics::CreateTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& delay) const + template auto consume_Windows_System_Threading_IThreadPoolTimerStatics::CreateTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& delay) const { void* timer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::IThreadPoolTimerStatics)->CreateTimer(*(void**)(&handler), impl::bind_in(delay), &timer)); return winrt::Windows::System::Threading::ThreadPoolTimer{ timer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Threading::ThreadPoolTimer) consume_Windows_System_Threading_IThreadPoolTimerStatics::CreatePeriodicTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& period, winrt::Windows::System::Threading::TimerDestroyedHandler const& destroyed) const + template auto consume_Windows_System_Threading_IThreadPoolTimerStatics::CreatePeriodicTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& period, winrt::Windows::System::Threading::TimerDestroyedHandler const& destroyed) const { void* timer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::IThreadPoolTimerStatics)->CreatePeriodicTimerWithCompletion(*(void**)(&handler), impl::bind_in(period), *(void**)(&destroyed), &timer)); return winrt::Windows::System::Threading::ThreadPoolTimer{ timer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Threading::ThreadPoolTimer) consume_Windows_System_Threading_IThreadPoolTimerStatics::CreateTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& delay, winrt::Windows::System::Threading::TimerDestroyedHandler const& destroyed) const + template auto consume_Windows_System_Threading_IThreadPoolTimerStatics::CreateTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& delay, winrt::Windows::System::Threading::TimerDestroyedHandler const& destroyed) const { void* timer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::IThreadPoolTimerStatics)->CreateTimerWithCompletion(*(void**)(&handler), impl::bind_in(delay), *(void**)(&destroyed), &timer)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.Update.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.Update.h index 634e43f8..848c2e5d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.Update.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.Update.h @@ -1,220 +1,220 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Update_H #define WINRT_Windows_System_Update_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.System.Update.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::System::Update::SystemUpdateItemState) consume_Windows_System_Update_ISystemUpdateItem::State() const + template auto consume_Windows_System_Update_ISystemUpdateItem::State() const { winrt::Windows::System::Update::SystemUpdateItemState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateItem)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Update_ISystemUpdateItem::Title() const + template auto consume_Windows_System_Update_ISystemUpdateItem::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateItem)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Update_ISystemUpdateItem::Description() const + template auto consume_Windows_System_Update_ISystemUpdateItem::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateItem)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Update_ISystemUpdateItem::Id() const + template auto consume_Windows_System_Update_ISystemUpdateItem::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateItem)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Update_ISystemUpdateItem::Revision() const + template auto consume_Windows_System_Update_ISystemUpdateItem::Revision() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateItem)->get_Revision(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_System_Update_ISystemUpdateItem::DownloadProgress() const + template auto consume_Windows_System_Update_ISystemUpdateItem::DownloadProgress() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateItem)->get_DownloadProgress(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_System_Update_ISystemUpdateItem::InstallProgress() const + template auto consume_Windows_System_Update_ISystemUpdateItem::InstallProgress() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateItem)->get_InstallProgress(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_System_Update_ISystemUpdateItem::ExtendedError() const + template auto consume_Windows_System_Update_ISystemUpdateItem::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateItem)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Update::SystemUpdateManagerState) consume_Windows_System_Update_ISystemUpdateLastErrorInfo::State() const + template auto consume_Windows_System_Update_ISystemUpdateLastErrorInfo::State() const { winrt::Windows::System::Update::SystemUpdateManagerState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateLastErrorInfo)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_System_Update_ISystemUpdateLastErrorInfo::ExtendedError() const + template auto consume_Windows_System_Update_ISystemUpdateLastErrorInfo::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateLastErrorInfo)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Update_ISystemUpdateLastErrorInfo::IsInteractive() const + template auto consume_Windows_System_Update_ISystemUpdateLastErrorInfo::IsInteractive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateLastErrorInfo)->get_IsInteractive(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Update_ISystemUpdateManagerStatics::IsSupported() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->IsSupported(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Update::SystemUpdateManagerState) consume_Windows_System_Update_ISystemUpdateManagerStatics::State() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::State() const { winrt::Windows::System::Update::SystemUpdateManagerState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Update_ISystemUpdateManagerStatics::StateChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::StateChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->add_StateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_Update_ISystemUpdateManagerStatics::StateChanged_revoker consume_Windows_System_Update_ISystemUpdateManagerStatics::StateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::StateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, StateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Update_ISystemUpdateManagerStatics::StateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::StateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->remove_StateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(double) consume_Windows_System_Update_ISystemUpdateManagerStatics::DownloadProgress() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::DownloadProgress() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_DownloadProgress(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_System_Update_ISystemUpdateManagerStatics::InstallProgress() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::InstallProgress() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_InstallProgress(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Update_ISystemUpdateManagerStatics::UserActiveHoursStart() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::UserActiveHoursStart() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_UserActiveHoursStart(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Update_ISystemUpdateManagerStatics::UserActiveHoursEnd() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::UserActiveHoursEnd() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_UserActiveHoursEnd(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_System_Update_ISystemUpdateManagerStatics::UserActiveHoursMax() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::UserActiveHoursMax() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_UserActiveHoursMax(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Update_ISystemUpdateManagerStatics::TrySetUserActiveHours(winrt::Windows::Foundation::TimeSpan const& start, winrt::Windows::Foundation::TimeSpan const& end) const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::TrySetUserActiveHours(winrt::Windows::Foundation::TimeSpan const& start, winrt::Windows::Foundation::TimeSpan const& end) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->TrySetUserActiveHours(impl::bind_in(start), impl::bind_in(end), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_System_Update_ISystemUpdateManagerStatics::LastUpdateCheckTime() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::LastUpdateCheckTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_LastUpdateCheckTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_System_Update_ISystemUpdateManagerStatics::LastUpdateInstallTime() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::LastUpdateInstallTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_LastUpdateInstallTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Update::SystemUpdateLastErrorInfo) consume_Windows_System_Update_ISystemUpdateManagerStatics::LastErrorInfo() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::LastErrorInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_LastErrorInfo(&value)); return winrt::Windows::System::Update::SystemUpdateLastErrorInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_Update_ISystemUpdateManagerStatics::GetAutomaticRebootBlockIds() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::GetAutomaticRebootBlockIds() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->GetAutomaticRebootBlockIds(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_Update_ISystemUpdateManagerStatics::BlockAutomaticRebootAsync(param::hstring const& lockId) const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::BlockAutomaticRebootAsync(param::hstring const& lockId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->BlockAutomaticRebootAsync(*(void**)(&lockId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_Update_ISystemUpdateManagerStatics::UnblockAutomaticRebootAsync(param::hstring const& lockId) const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::UnblockAutomaticRebootAsync(param::hstring const& lockId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->UnblockAutomaticRebootAsync(*(void**)(&lockId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_System_Update_ISystemUpdateManagerStatics::ExtendedError() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_Update_ISystemUpdateManagerStatics::GetUpdateItems() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::GetUpdateItems() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->GetUpdateItems(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::Update::SystemUpdateAttentionRequiredReason) consume_Windows_System_Update_ISystemUpdateManagerStatics::AttentionRequiredReason() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::AttentionRequiredReason() const { winrt::Windows::System::Update::SystemUpdateAttentionRequiredReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_AttentionRequiredReason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_Update_ISystemUpdateManagerStatics::SetFlightRing(param::hstring const& flightRing) const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::SetFlightRing(param::hstring const& flightRing) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->SetFlightRing(*(void**)(&flightRing), &result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Update_ISystemUpdateManagerStatics::GetFlightRing() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::GetFlightRing() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->GetFlightRing(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Update_ISystemUpdateManagerStatics::StartInstall(winrt::Windows::System::Update::SystemUpdateStartInstallAction const& action) const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::StartInstall(winrt::Windows::System::Update::SystemUpdateStartInstallAction const& action) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->StartInstall(static_cast(action))); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Update_ISystemUpdateManagerStatics::RebootToCompleteInstall() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::RebootToCompleteInstall() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->RebootToCompleteInstall()); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_Update_ISystemUpdateManagerStatics::StartCancelUpdates() const + template auto consume_Windows_System_Update_ISystemUpdateManagerStatics::StartCancelUpdates() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->StartCancelUpdates()); } @@ -512,10 +512,10 @@ WINRT_EXPORT namespace winrt::Windows::System::Update { return impl::call_factory([&](ISystemUpdateManagerStatics const& f) { return f.StateChanged(handler); }); } - inline SystemUpdateManager::StateChanged_revoker SystemUpdateManager::StateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto SystemUpdateManager::StateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.StateChanged(handler) }; + return SystemUpdateManager::StateChanged_revoker{ f, f.StateChanged(handler) }; } inline auto SystemUpdateManager::StateChanged(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.UserProfile.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.UserProfile.h index 0b5d871e..9bc6587a 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.UserProfile.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.UserProfile.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_UserProfile_H #define WINRT_Windows_System_UserProfile_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.System.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -16,333 +16,333 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.System.UserProfile.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_UserProfile_IAdvertisingManagerForUser::AdvertisingId() const + template auto consume_Windows_System_UserProfile_IAdvertisingManagerForUser::AdvertisingId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IAdvertisingManagerForUser)->get_AdvertisingId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_UserProfile_IAdvertisingManagerForUser::User() const + template auto consume_Windows_System_UserProfile_IAdvertisingManagerForUser::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IAdvertisingManagerForUser)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_UserProfile_IAdvertisingManagerStatics::AdvertisingId() const + template auto consume_Windows_System_UserProfile_IAdvertisingManagerStatics::AdvertisingId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IAdvertisingManagerStatics)->get_AdvertisingId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::AdvertisingManagerForUser) consume_Windows_System_UserProfile_IAdvertisingManagerStatics2::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_System_UserProfile_IAdvertisingManagerStatics2::GetForUser(winrt::Windows::System::User const& user) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IAdvertisingManagerStatics2)->GetForUser(*(void**)(&user), &value)); return winrt::Windows::System::UserProfile::AdvertisingManagerForUser{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_IAssignedAccessSettings::IsEnabled() const + template auto consume_Windows_System_UserProfile_IAssignedAccessSettings::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IAssignedAccessSettings)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_IAssignedAccessSettings::IsSingleAppKioskMode() const + template auto consume_Windows_System_UserProfile_IAssignedAccessSettings::IsSingleAppKioskMode() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IAssignedAccessSettings)->get_IsSingleAppKioskMode(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_UserProfile_IAssignedAccessSettings::User() const + template auto consume_Windows_System_UserProfile_IAssignedAccessSettings::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IAssignedAccessSettings)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::AssignedAccessSettings) consume_Windows_System_UserProfile_IAssignedAccessSettingsStatics::GetDefault() const + template auto consume_Windows_System_UserProfile_IAssignedAccessSettingsStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IAssignedAccessSettingsStatics)->GetDefault(&result)); return winrt::Windows::System::UserProfile::AssignedAccessSettings{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::AssignedAccessSettings) consume_Windows_System_UserProfile_IAssignedAccessSettingsStatics::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_System_UserProfile_IAssignedAccessSettingsStatics::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IAssignedAccessSettingsStatics)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::System::UserProfile::AssignedAccessSettings{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_IDiagnosticsSettings::CanUseDiagnosticsToTailorExperiences() const + template auto consume_Windows_System_UserProfile_IDiagnosticsSettings::CanUseDiagnosticsToTailorExperiences() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IDiagnosticsSettings)->get_CanUseDiagnosticsToTailorExperiences(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_UserProfile_IDiagnosticsSettings::User() const + template auto consume_Windows_System_UserProfile_IDiagnosticsSettings::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IDiagnosticsSettings)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::DiagnosticsSettings) consume_Windows_System_UserProfile_IDiagnosticsSettingsStatics::GetDefault() const + template auto consume_Windows_System_UserProfile_IDiagnosticsSettingsStatics::GetDefault() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IDiagnosticsSettingsStatics)->GetDefault(&value)); return winrt::Windows::System::UserProfile::DiagnosticsSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::DiagnosticsSettings) consume_Windows_System_UserProfile_IDiagnosticsSettingsStatics::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_System_UserProfile_IDiagnosticsSettingsStatics::GetForUser(winrt::Windows::System::User const& user) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IDiagnosticsSettingsStatics)->GetForUser(*(void**)(&user), &value)); return winrt::Windows::System::UserProfile::DiagnosticsSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::FirstSignInSettings) consume_Windows_System_UserProfile_IFirstSignInSettingsStatics::GetDefault() const + template auto consume_Windows_System_UserProfile_IFirstSignInSettingsStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IFirstSignInSettingsStatics)->GetDefault(&result)); return winrt::Windows::System::UserProfile::FirstSignInSettings{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser::User() const + template auto consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesForUser)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser::Calendars() const + template auto consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser::Calendars() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesForUser)->get_Calendars(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser::Clocks() const + template auto consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser::Clocks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesForUser)->get_Clocks(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser::Currencies() const + template auto consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser::Currencies() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesForUser)->get_Currencies(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser::Languages() const + template auto consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser::Languages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesForUser)->get_Languages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser::HomeGeographicRegion() const + template auto consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser::HomeGeographicRegion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesForUser)->get_HomeGeographicRegion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser::WeekStartsOn() const + template auto consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser::WeekStartsOn() const { winrt::Windows::Globalization::DayOfWeek value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesForUser)->get_WeekStartsOn(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics::Calendars() const + template auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics::Calendars() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics)->get_Calendars(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics::Clocks() const + template auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics::Clocks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics)->get_Clocks(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics::Currencies() const + template auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics::Currencies() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics)->get_Currencies(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics::Languages() const + template auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics::Languages() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics)->get_Languages(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics::HomeGeographicRegion() const + template auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics::HomeGeographicRegion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics)->get_HomeGeographicRegion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics::WeekStartsOn() const + template auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics::WeekStartsOn() const { winrt::Windows::Globalization::DayOfWeek value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics)->get_WeekStartsOn(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics2::TrySetHomeGeographicRegion(param::hstring const& region) const + template auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics2::TrySetHomeGeographicRegion(param::hstring const& region) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics2)->TrySetHomeGeographicRegion(*(void**)(®ion), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics2::TrySetLanguages(param::iterable const& languageTags) const + template auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics2::TrySetLanguages(param::iterable const& languageTags) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics2)->TrySetLanguages(*(void**)(&languageTags), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::GlobalizationPreferencesForUser) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics3::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics3::GetForUser(winrt::Windows::System::User const& user) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics3)->GetForUser(*(void**)(&user), &value)); return winrt::Windows::System::UserProfile::GlobalizationPreferencesForUser{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_UserProfile_ILockScreenImageFeedStatics::RequestSetImageFeedAsync(winrt::Windows::Foundation::Uri const& syndicationFeedUri) const + template auto consume_Windows_System_UserProfile_ILockScreenImageFeedStatics::RequestSetImageFeedAsync(winrt::Windows::Foundation::Uri const& syndicationFeedUri) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::ILockScreenImageFeedStatics)->RequestSetImageFeedAsync(*(void**)(&syndicationFeedUri), &value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_ILockScreenImageFeedStatics::TryRemoveImageFeed() const + template auto consume_Windows_System_UserProfile_ILockScreenImageFeedStatics::TryRemoveImageFeed() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::ILockScreenImageFeedStatics)->TryRemoveImageFeed(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_System_UserProfile_ILockScreenStatics::OriginalImageFile() const + template auto consume_Windows_System_UserProfile_ILockScreenStatics::OriginalImageFile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::ILockScreenStatics)->get_OriginalImageFile(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_System_UserProfile_ILockScreenStatics::GetImageStream() const + template auto consume_Windows_System_UserProfile_ILockScreenStatics::GetImageStream() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::ILockScreenStatics)->GetImageStream(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_System_UserProfile_ILockScreenStatics::SetImageFileAsync(winrt::Windows::Storage::IStorageFile const& value) const + template auto consume_Windows_System_UserProfile_ILockScreenStatics::SetImageFileAsync(winrt::Windows::Storage::IStorageFile const& value) const { void* Operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::ILockScreenStatics)->SetImageFileAsync(*(void**)(&value), &Operation)); return winrt::Windows::Foundation::IAsyncAction{ Operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_System_UserProfile_ILockScreenStatics::SetImageStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const + template auto consume_Windows_System_UserProfile_ILockScreenStatics::SetImageStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const { void* Operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::ILockScreenStatics)->SetImageStreamAsync(*(void**)(&value), &Operation)); return winrt::Windows::Foundation::IAsyncAction{ Operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_IUserInformationStatics::AccountPictureChangeEnabled() const + template auto consume_Windows_System_UserProfile_IUserInformationStatics::AccountPictureChangeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->get_AccountPictureChangeEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_IUserInformationStatics::NameAccessAllowed() const + template auto consume_Windows_System_UserProfile_IUserInformationStatics::NameAccessAllowed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->get_NameAccessAllowed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) consume_Windows_System_UserProfile_IUserInformationStatics::GetAccountPicture(winrt::Windows::System::UserProfile::AccountPictureKind const& kind) const + template auto consume_Windows_System_UserProfile_IUserInformationStatics::GetAccountPicture(winrt::Windows::System::UserProfile::AccountPictureKind const& kind) const { void* storageFile{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->GetAccountPicture(static_cast(kind), &storageFile)); return winrt::Windows::Storage::IStorageFile{ storageFile, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_UserProfile_IUserInformationStatics::SetAccountPictureAsync(winrt::Windows::Storage::IStorageFile const& image) const + template auto consume_Windows_System_UserProfile_IUserInformationStatics::SetAccountPictureAsync(winrt::Windows::Storage::IStorageFile const& image) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->SetAccountPictureAsync(*(void**)(&image), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_UserProfile_IUserInformationStatics::SetAccountPicturesAsync(winrt::Windows::Storage::IStorageFile const& smallImage, winrt::Windows::Storage::IStorageFile const& largeImage, winrt::Windows::Storage::IStorageFile const& video) const + template auto consume_Windows_System_UserProfile_IUserInformationStatics::SetAccountPicturesAsync(winrt::Windows::Storage::IStorageFile const& smallImage, winrt::Windows::Storage::IStorageFile const& largeImage, winrt::Windows::Storage::IStorageFile const& video) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->SetAccountPicturesAsync(*(void**)(&smallImage), *(void**)(&largeImage), *(void**)(&video), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_UserProfile_IUserInformationStatics::SetAccountPictureFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& image) const + template auto consume_Windows_System_UserProfile_IUserInformationStatics::SetAccountPictureFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& image) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->SetAccountPictureFromStreamAsync(*(void**)(&image), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_UserProfile_IUserInformationStatics::SetAccountPicturesFromStreamsAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& smallImage, winrt::Windows::Storage::Streams::IRandomAccessStream const& largeImage, winrt::Windows::Storage::Streams::IRandomAccessStream const& video) const + template auto consume_Windows_System_UserProfile_IUserInformationStatics::SetAccountPicturesFromStreamsAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& smallImage, winrt::Windows::Storage::Streams::IRandomAccessStream const& largeImage, winrt::Windows::Storage::Streams::IRandomAccessStream const& video) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->SetAccountPicturesFromStreamsAsync(*(void**)(&smallImage), *(void**)(&largeImage), *(void**)(&video), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_UserProfile_IUserInformationStatics::AccountPictureChanged(winrt::Windows::Foundation::EventHandler const& changeHandler) const + template auto consume_Windows_System_UserProfile_IUserInformationStatics::AccountPictureChanged(winrt::Windows::Foundation::EventHandler const& changeHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->add_AccountPictureChanged(*(void**)(&changeHandler), put_abi(token))); return token; } - template typename consume_Windows_System_UserProfile_IUserInformationStatics::AccountPictureChanged_revoker consume_Windows_System_UserProfile_IUserInformationStatics::AccountPictureChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler) const + template auto consume_Windows_System_UserProfile_IUserInformationStatics::AccountPictureChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler) const { return impl::make_event_revoker(this, AccountPictureChanged(changeHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_UserProfile_IUserInformationStatics::AccountPictureChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_UserProfile_IUserInformationStatics::AccountPictureChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->remove_AccountPictureChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_UserProfile_IUserInformationStatics::GetDisplayNameAsync() const + template auto consume_Windows_System_UserProfile_IUserInformationStatics::GetDisplayNameAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->GetDisplayNameAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_UserProfile_IUserInformationStatics::GetFirstNameAsync() const + template auto consume_Windows_System_UserProfile_IUserInformationStatics::GetFirstNameAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->GetFirstNameAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_UserProfile_IUserInformationStatics::GetLastNameAsync() const + template auto consume_Windows_System_UserProfile_IUserInformationStatics::GetLastNameAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->GetLastNameAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_UserProfile_IUserInformationStatics::GetPrincipalNameAsync() const + template auto consume_Windows_System_UserProfile_IUserInformationStatics::GetPrincipalNameAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->GetPrincipalNameAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_UserProfile_IUserInformationStatics::GetSessionInitiationProtocolUriAsync() const + template auto consume_Windows_System_UserProfile_IUserInformationStatics::GetSessionInitiationProtocolUriAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->GetSessionInitiationProtocolUriAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_UserProfile_IUserInformationStatics::GetDomainNameAsync() const + template auto consume_Windows_System_UserProfile_IUserInformationStatics::GetDomainNameAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->GetDomainNameAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_UserProfile_IUserProfilePersonalizationSettings::TrySetLockScreenImageAsync(winrt::Windows::Storage::StorageFile const& imageFile) const + template auto consume_Windows_System_UserProfile_IUserProfilePersonalizationSettings::TrySetLockScreenImageAsync(winrt::Windows::Storage::StorageFile const& imageFile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserProfilePersonalizationSettings)->TrySetLockScreenImageAsync(*(void**)(&imageFile), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_UserProfile_IUserProfilePersonalizationSettings::TrySetWallpaperImageAsync(winrt::Windows::Storage::StorageFile const& imageFile) const + template auto consume_Windows_System_UserProfile_IUserProfilePersonalizationSettings::TrySetWallpaperImageAsync(winrt::Windows::Storage::StorageFile const& imageFile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserProfilePersonalizationSettings)->TrySetWallpaperImageAsync(*(void**)(&imageFile), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::UserProfilePersonalizationSettings) consume_Windows_System_UserProfile_IUserProfilePersonalizationSettingsStatics::Current() const + template auto consume_Windows_System_UserProfile_IUserProfilePersonalizationSettingsStatics::Current() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserProfilePersonalizationSettingsStatics)->get_Current(&value)); return winrt::Windows::System::UserProfile::UserProfilePersonalizationSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_IUserProfilePersonalizationSettingsStatics::IsSupported() const + template auto consume_Windows_System_UserProfile_IUserProfilePersonalizationSettingsStatics::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserProfilePersonalizationSettingsStatics)->IsSupported(&result)); @@ -1006,10 +1006,10 @@ WINRT_EXPORT namespace winrt::Windows::System::UserProfile { return impl::call_factory([&](IUserInformationStatics const& f) { return f.AccountPictureChanged(changeHandler); }); } - inline UserInformation::AccountPictureChanged_revoker UserInformation::AccountPictureChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler) + inline auto UserInformation::AccountPictureChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler) { auto f = get_activation_factory(); - return { f, f.AccountPictureChanged(changeHandler) }; + return UserInformation::AccountPictureChanged_revoker{ f, f.AccountPictureChanged(changeHandler) }; } inline auto UserInformation::AccountPictureChanged(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.System.h b/internal/platform/implementation/windows/generated/winrt/Windows.System.h index c26638db..46a4eaeb 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.System.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.System.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_H #define WINRT_Windows_System_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.ApplicationModel.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -19,1541 +19,1541 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.System.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_System_IAppActivationResult::ExtendedError() const + template auto consume_Windows_System_IAppActivationResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppActivationResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfo) consume_Windows_System_IAppActivationResult::AppResourceGroupInfo() const + template auto consume_Windows_System_IAppActivationResult::AppResourceGroupInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppActivationResult)->get_AppResourceGroupInfo(&value)); return winrt::Windows::System::AppResourceGroupInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_System_IAppDiagnosticInfo::AppInfo() const + template auto consume_Windows_System_IAppDiagnosticInfo::AppInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfo)->get_AppInfo(&value)); return winrt::Windows::ApplicationModel::AppInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_System_IAppDiagnosticInfo2::GetResourceGroups() const + template auto consume_Windows_System_IAppDiagnosticInfo2::GetResourceGroups() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfo2)->GetResourceGroups(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfoWatcher) consume_Windows_System_IAppDiagnosticInfo2::CreateResourceGroupWatcher() const + template auto consume_Windows_System_IAppDiagnosticInfo2::CreateResourceGroupWatcher() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfo2)->CreateResourceGroupWatcher(&result)); return winrt::Windows::System::AppResourceGroupInfoWatcher{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_IAppDiagnosticInfo3::LaunchAsync() const + template auto consume_Windows_System_IAppDiagnosticInfo3::LaunchAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfo3)->LaunchAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_System_IAppDiagnosticInfoStatics::RequestInfoAsync() const + template auto consume_Windows_System_IAppDiagnosticInfoStatics::RequestInfoAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoStatics)->RequestInfoAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppDiagnosticInfoWatcher) consume_Windows_System_IAppDiagnosticInfoStatics2::CreateWatcher() const + template auto consume_Windows_System_IAppDiagnosticInfoStatics2::CreateWatcher() const { void* watcher{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoStatics2)->CreateWatcher(&watcher)); return winrt::Windows::System::AppDiagnosticInfoWatcher{ watcher, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_IAppDiagnosticInfoStatics2::RequestAccessAsync() const + template auto consume_Windows_System_IAppDiagnosticInfoStatics2::RequestAccessAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoStatics2)->RequestAccessAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_System_IAppDiagnosticInfoStatics2::RequestInfoForPackageAsync(param::hstring const& packageFamilyName) const + template auto consume_Windows_System_IAppDiagnosticInfoStatics2::RequestInfoForPackageAsync(param::hstring const& packageFamilyName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoStatics2)->RequestInfoForPackageAsync(*(void**)(&packageFamilyName), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_System_IAppDiagnosticInfoStatics2::RequestInfoForAppAsync() const + template auto consume_Windows_System_IAppDiagnosticInfoStatics2::RequestInfoForAppAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoStatics2)->RequestInfoForAppAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_System_IAppDiagnosticInfoStatics2::RequestInfoForAppAsync(param::hstring const& appUserModelId) const + template auto consume_Windows_System_IAppDiagnosticInfoStatics2::RequestInfoForAppAsync(param::hstring const& appUserModelId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoStatics2)->RequestInfoForAppUserModelId(*(void**)(&appUserModelId), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppDiagnosticInfoWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppDiagnosticInfoWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->add_Added(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IAppDiagnosticInfoWatcher::Added_revoker consume_Windows_System_IAppDiagnosticInfoWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppDiagnosticInfoWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Added(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IAppDiagnosticInfoWatcher::Added(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IAppDiagnosticInfoWatcher::Added(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->remove_Added(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppDiagnosticInfoWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppDiagnosticInfoWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->add_Removed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IAppDiagnosticInfoWatcher::Removed_revoker consume_Windows_System_IAppDiagnosticInfoWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppDiagnosticInfoWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Removed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IAppDiagnosticInfoWatcher::Removed(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IAppDiagnosticInfoWatcher::Removed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->remove_Removed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppDiagnosticInfoWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppDiagnosticInfoWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IAppDiagnosticInfoWatcher::EnumerationCompleted_revoker consume_Windows_System_IAppDiagnosticInfoWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppDiagnosticInfoWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IAppDiagnosticInfoWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IAppDiagnosticInfoWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->remove_EnumerationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppDiagnosticInfoWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppDiagnosticInfoWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->add_Stopped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IAppDiagnosticInfoWatcher::Stopped_revoker consume_Windows_System_IAppDiagnosticInfoWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppDiagnosticInfoWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IAppDiagnosticInfoWatcher::Stopped(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IAppDiagnosticInfoWatcher::Stopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->remove_Stopped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppDiagnosticInfoWatcherStatus) consume_Windows_System_IAppDiagnosticInfoWatcher::Status() const + template auto consume_Windows_System_IAppDiagnosticInfoWatcher::Status() const { winrt::Windows::System::AppDiagnosticInfoWatcherStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IAppDiagnosticInfoWatcher::Start() const + template auto consume_Windows_System_IAppDiagnosticInfoWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IAppDiagnosticInfoWatcher::Stop() const + template auto consume_Windows_System_IAppDiagnosticInfoWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppDiagnosticInfo) consume_Windows_System_IAppDiagnosticInfoWatcherEventArgs::AppDiagnosticInfo() const + template auto consume_Windows_System_IAppDiagnosticInfoWatcherEventArgs::AppDiagnosticInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcherEventArgs)->get_AppDiagnosticInfo(&value)); return winrt::Windows::System::AppDiagnosticInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_System_IAppExecutionStateChangeResult::ExtendedError() const + template auto consume_Windows_System_IAppExecutionStateChangeResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppExecutionStateChangeResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppMemoryReport::PrivateCommitUsage() const + template auto consume_Windows_System_IAppMemoryReport::PrivateCommitUsage() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppMemoryReport)->get_PrivateCommitUsage(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppMemoryReport::PeakPrivateCommitUsage() const + template auto consume_Windows_System_IAppMemoryReport::PeakPrivateCommitUsage() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppMemoryReport)->get_PeakPrivateCommitUsage(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppMemoryReport::TotalCommitUsage() const + template auto consume_Windows_System_IAppMemoryReport::TotalCommitUsage() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppMemoryReport)->get_TotalCommitUsage(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppMemoryReport::TotalCommitLimit() const + template auto consume_Windows_System_IAppMemoryReport::TotalCommitLimit() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppMemoryReport)->get_TotalCommitLimit(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppMemoryReport2::ExpectedTotalCommitLimit() const + template auto consume_Windows_System_IAppMemoryReport2::ExpectedTotalCommitLimit() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppMemoryReport2)->get_ExpectedTotalCommitLimit(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppMemoryUsageLimitChangingEventArgs::OldLimit() const + template auto consume_Windows_System_IAppMemoryUsageLimitChangingEventArgs::OldLimit() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppMemoryUsageLimitChangingEventArgs)->get_OldLimit(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppMemoryUsageLimitChangingEventArgs::NewLimit() const + template auto consume_Windows_System_IAppMemoryUsageLimitChangingEventArgs::NewLimit() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppMemoryUsageLimitChangingEventArgs)->get_NewLimit(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_System_IAppResourceGroupBackgroundTaskReport::TaskId() const + template auto consume_Windows_System_IAppResourceGroupBackgroundTaskReport::TaskId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupBackgroundTaskReport)->get_TaskId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IAppResourceGroupBackgroundTaskReport::Name() const + template auto consume_Windows_System_IAppResourceGroupBackgroundTaskReport::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupBackgroundTaskReport)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IAppResourceGroupBackgroundTaskReport::Trigger() const + template auto consume_Windows_System_IAppResourceGroupBackgroundTaskReport::Trigger() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupBackgroundTaskReport)->get_Trigger(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IAppResourceGroupBackgroundTaskReport::EntryPoint() const + template auto consume_Windows_System_IAppResourceGroupBackgroundTaskReport::EntryPoint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupBackgroundTaskReport)->get_EntryPoint(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_System_IAppResourceGroupInfo::InstanceId() const + template auto consume_Windows_System_IAppResourceGroupInfo::InstanceId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfo)->get_InstanceId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_IAppResourceGroupInfo::IsShared() const + template auto consume_Windows_System_IAppResourceGroupInfo::IsShared() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfo)->get_IsShared(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_System_IAppResourceGroupInfo::GetBackgroundTaskReports() const + template auto consume_Windows_System_IAppResourceGroupInfo::GetBackgroundTaskReports() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfo)->GetBackgroundTaskReports(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupMemoryReport) consume_Windows_System_IAppResourceGroupInfo::GetMemoryReport() const + template auto consume_Windows_System_IAppResourceGroupInfo::GetMemoryReport() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfo)->GetMemoryReport(&result)); return winrt::Windows::System::AppResourceGroupMemoryReport{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_System_IAppResourceGroupInfo::GetProcessDiagnosticInfos() const + template auto consume_Windows_System_IAppResourceGroupInfo::GetProcessDiagnosticInfos() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfo)->GetProcessDiagnosticInfos(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupStateReport) consume_Windows_System_IAppResourceGroupInfo::GetStateReport() const + template auto consume_Windows_System_IAppResourceGroupInfo::GetStateReport() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfo)->GetStateReport(&result)); return winrt::Windows::System::AppResourceGroupStateReport{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_IAppResourceGroupInfo2::StartSuspendAsync() const + template auto consume_Windows_System_IAppResourceGroupInfo2::StartSuspendAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfo2)->StartSuspendAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_IAppResourceGroupInfo2::StartResumeAsync() const + template auto consume_Windows_System_IAppResourceGroupInfo2::StartResumeAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfo2)->StartResumeAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_IAppResourceGroupInfo2::StartTerminateAsync() const + template auto consume_Windows_System_IAppResourceGroupInfo2::StartTerminateAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfo2)->StartTerminateAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppResourceGroupInfoWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->add_Added(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IAppResourceGroupInfoWatcher::Added_revoker consume_Windows_System_IAppResourceGroupInfoWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Added(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IAppResourceGroupInfoWatcher::Added(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::Added(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->remove_Added(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppResourceGroupInfoWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->add_Removed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IAppResourceGroupInfoWatcher::Removed_revoker consume_Windows_System_IAppResourceGroupInfoWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Removed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IAppResourceGroupInfoWatcher::Removed(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::Removed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->remove_Removed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppResourceGroupInfoWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IAppResourceGroupInfoWatcher::EnumerationCompleted_revoker consume_Windows_System_IAppResourceGroupInfoWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IAppResourceGroupInfoWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->remove_EnumerationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppResourceGroupInfoWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->add_Stopped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IAppResourceGroupInfoWatcher::Stopped_revoker consume_Windows_System_IAppResourceGroupInfoWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IAppResourceGroupInfoWatcher::Stopped(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::Stopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->remove_Stopped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppResourceGroupInfoWatcher::ExecutionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::ExecutionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->add_ExecutionStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IAppResourceGroupInfoWatcher::ExecutionStateChanged_revoker consume_Windows_System_IAppResourceGroupInfoWatcher::ExecutionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::ExecutionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ExecutionStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IAppResourceGroupInfoWatcher::ExecutionStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::ExecutionStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->remove_ExecutionStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfoWatcherStatus) consume_Windows_System_IAppResourceGroupInfoWatcher::Status() const + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::Status() const { winrt::Windows::System::AppResourceGroupInfoWatcherStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->get_Status(reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IAppResourceGroupInfoWatcher::Start() const + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IAppResourceGroupInfoWatcher::Stop() const + template auto consume_Windows_System_IAppResourceGroupInfoWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_IAppResourceGroupInfoWatcherEventArgs::AppDiagnosticInfos() const + template auto consume_Windows_System_IAppResourceGroupInfoWatcherEventArgs::AppDiagnosticInfos() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcherEventArgs)->get_AppDiagnosticInfos(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfo) consume_Windows_System_IAppResourceGroupInfoWatcherEventArgs::AppResourceGroupInfo() const + template auto consume_Windows_System_IAppResourceGroupInfoWatcherEventArgs::AppResourceGroupInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcherEventArgs)->get_AppResourceGroupInfo(&value)); return winrt::Windows::System::AppResourceGroupInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs::AppDiagnosticInfos() const + template auto consume_Windows_System_IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs::AppDiagnosticInfos() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs)->get_AppDiagnosticInfos(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfo) consume_Windows_System_IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs::AppResourceGroupInfo() const + template auto consume_Windows_System_IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs::AppResourceGroupInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs)->get_AppResourceGroupInfo(&value)); return winrt::Windows::System::AppResourceGroupInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppResourceGroupMemoryReport::CommitUsageLimit() const + template auto consume_Windows_System_IAppResourceGroupMemoryReport::CommitUsageLimit() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupMemoryReport)->get_CommitUsageLimit(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppMemoryUsageLevel) consume_Windows_System_IAppResourceGroupMemoryReport::CommitUsageLevel() const + template auto consume_Windows_System_IAppResourceGroupMemoryReport::CommitUsageLevel() const { winrt::Windows::System::AppMemoryUsageLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupMemoryReport)->get_CommitUsageLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppResourceGroupMemoryReport::PrivateCommitUsage() const + template auto consume_Windows_System_IAppResourceGroupMemoryReport::PrivateCommitUsage() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupMemoryReport)->get_PrivateCommitUsage(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppResourceGroupMemoryReport::TotalCommitUsage() const + template auto consume_Windows_System_IAppResourceGroupMemoryReport::TotalCommitUsage() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupMemoryReport)->get_TotalCommitUsage(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupExecutionState) consume_Windows_System_IAppResourceGroupStateReport::ExecutionState() const + template auto consume_Windows_System_IAppResourceGroupStateReport::ExecutionState() const { winrt::Windows::System::AppResourceGroupExecutionState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupStateReport)->get_ExecutionState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupEnergyQuotaState) consume_Windows_System_IAppResourceGroupStateReport::EnergyQuotaState() const + template auto consume_Windows_System_IAppResourceGroupStateReport::EnergyQuotaState() const { winrt::Windows::System::AppResourceGroupEnergyQuotaState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupStateReport)->get_EnergyQuotaState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IAppUriHandlerHost::Name() const + template auto consume_Windows_System_IAppUriHandlerHost::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppUriHandlerHost)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IAppUriHandlerHost::Name(param::hstring const& value) const + template auto consume_Windows_System_IAppUriHandlerHost::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppUriHandlerHost)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppUriHandlerHost) consume_Windows_System_IAppUriHandlerHostFactory::CreateInstance(param::hstring const& name) const + template auto consume_Windows_System_IAppUriHandlerHostFactory::CreateInstance(param::hstring const& name) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppUriHandlerHostFactory)->CreateInstance(*(void**)(&name), &value)); return winrt::Windows::System::AppUriHandlerHost{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IAppUriHandlerRegistration::Name() const + template auto consume_Windows_System_IAppUriHandlerRegistration::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppUriHandlerRegistration)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IAppUriHandlerRegistration::User() const + template auto consume_Windows_System_IAppUriHandlerRegistration::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppUriHandlerRegistration)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_System_IAppUriHandlerRegistration::GetAppAddedHostsAsync() const + template auto consume_Windows_System_IAppUriHandlerRegistration::GetAppAddedHostsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppUriHandlerRegistration)->GetAppAddedHostsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_System_IAppUriHandlerRegistration::SetAppAddedHostsAsync(param::async_iterable const& hosts) const + template auto consume_Windows_System_IAppUriHandlerRegistration::SetAppAddedHostsAsync(param::async_iterable const& hosts) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppUriHandlerRegistration)->SetAppAddedHostsAsync(*(void**)(&hosts), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IAppUriHandlerRegistrationManager::User() const + template auto consume_Windows_System_IAppUriHandlerRegistrationManager::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppUriHandlerRegistrationManager)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppUriHandlerRegistration) consume_Windows_System_IAppUriHandlerRegistrationManager::TryGetRegistration(param::hstring const& name) const + template auto consume_Windows_System_IAppUriHandlerRegistrationManager::TryGetRegistration(param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppUriHandlerRegistrationManager)->TryGetRegistration(*(void**)(&name), &result)); return winrt::Windows::System::AppUriHandlerRegistration{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppUriHandlerRegistrationManager) consume_Windows_System_IAppUriHandlerRegistrationManagerStatics::GetDefault() const + template auto consume_Windows_System_IAppUriHandlerRegistrationManagerStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppUriHandlerRegistrationManagerStatics)->GetDefault(&result)); return winrt::Windows::System::AppUriHandlerRegistrationManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppUriHandlerRegistrationManager) consume_Windows_System_IAppUriHandlerRegistrationManagerStatics::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_System_IAppUriHandlerRegistrationManagerStatics::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppUriHandlerRegistrationManagerStatics)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::System::AppUriHandlerRegistrationManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IDateTimeSettingsStatics::SetSystemDateTime(winrt::Windows::Foundation::DateTime const& utcDateTime) const + template auto consume_Windows_System_IDateTimeSettingsStatics::SetSystemDateTime(winrt::Windows::Foundation::DateTime const& utcDateTime) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDateTimeSettingsStatics)->SetSystemDateTime(impl::bind_in(utcDateTime))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueueTimer) consume_Windows_System_IDispatcherQueue::CreateTimer() const + template auto consume_Windows_System_IDispatcherQueue::CreateTimer() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueue)->CreateTimer(&result)); return winrt::Windows::System::DispatcherQueueTimer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_IDispatcherQueue::TryEnqueue(winrt::Windows::System::DispatcherQueueHandler const& callback) const + template auto consume_Windows_System_IDispatcherQueue::TryEnqueue(winrt::Windows::System::DispatcherQueueHandler const& callback) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueue)->TryEnqueue(*(void**)(&callback), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_IDispatcherQueue::TryEnqueue(winrt::Windows::System::DispatcherQueuePriority const& priority, winrt::Windows::System::DispatcherQueueHandler const& callback) const + template auto consume_Windows_System_IDispatcherQueue::TryEnqueue(winrt::Windows::System::DispatcherQueuePriority const& priority, winrt::Windows::System::DispatcherQueueHandler const& callback) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueue)->TryEnqueueWithPriority(static_cast(priority), *(void**)(&callback), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IDispatcherQueue::ShutdownStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IDispatcherQueue::ShutdownStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueue)->add_ShutdownStarting(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IDispatcherQueue::ShutdownStarting_revoker consume_Windows_System_IDispatcherQueue::ShutdownStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IDispatcherQueue::ShutdownStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ShutdownStarting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IDispatcherQueue::ShutdownStarting(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IDispatcherQueue::ShutdownStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueue)->remove_ShutdownStarting(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IDispatcherQueue::ShutdownCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IDispatcherQueue::ShutdownCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueue)->add_ShutdownCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IDispatcherQueue::ShutdownCompleted_revoker consume_Windows_System_IDispatcherQueue::ShutdownCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IDispatcherQueue::ShutdownCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ShutdownCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IDispatcherQueue::ShutdownCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IDispatcherQueue::ShutdownCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueue)->remove_ShutdownCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_IDispatcherQueue2::HasThreadAccess() const + template auto consume_Windows_System_IDispatcherQueue2::HasThreadAccess() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueue2)->get_HasThreadAccess(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_System_IDispatcherQueueController::DispatcherQueue() const + template auto consume_Windows_System_IDispatcherQueueController::DispatcherQueue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueController)->get_DispatcherQueue(&value)); return winrt::Windows::System::DispatcherQueue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_System_IDispatcherQueueController::ShutdownQueueAsync() const + template auto consume_Windows_System_IDispatcherQueueController::ShutdownQueueAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueController)->ShutdownQueueAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueueController) consume_Windows_System_IDispatcherQueueControllerStatics::CreateOnDedicatedThread() const + template auto consume_Windows_System_IDispatcherQueueControllerStatics::CreateOnDedicatedThread() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueControllerStatics)->CreateOnDedicatedThread(&result)); return winrt::Windows::System::DispatcherQueueController{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_System_IDispatcherQueueShutdownStartingEventArgs::GetDeferral() const + template auto consume_Windows_System_IDispatcherQueueShutdownStartingEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueShutdownStartingEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_System_IDispatcherQueueStatics::GetForCurrentThread() const + template auto consume_Windows_System_IDispatcherQueueStatics::GetForCurrentThread() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueStatics)->GetForCurrentThread(&result)); return winrt::Windows::System::DispatcherQueue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_IDispatcherQueueTimer::Interval() const + template auto consume_Windows_System_IDispatcherQueueTimer::Interval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->get_Interval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IDispatcherQueueTimer::Interval(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_System_IDispatcherQueueTimer::Interval(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->put_Interval(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_IDispatcherQueueTimer::IsRunning() const + template auto consume_Windows_System_IDispatcherQueueTimer::IsRunning() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->get_IsRunning(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_IDispatcherQueueTimer::IsRepeating() const + template auto consume_Windows_System_IDispatcherQueueTimer::IsRepeating() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->get_IsRepeating(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IDispatcherQueueTimer::IsRepeating(bool value) const + template auto consume_Windows_System_IDispatcherQueueTimer::IsRepeating(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->put_IsRepeating(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IDispatcherQueueTimer::Start() const + template auto consume_Windows_System_IDispatcherQueueTimer::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IDispatcherQueueTimer::Stop() const + template auto consume_Windows_System_IDispatcherQueueTimer::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->Stop()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IDispatcherQueueTimer::Tick(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IDispatcherQueueTimer::Tick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->add_Tick(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IDispatcherQueueTimer::Tick_revoker consume_Windows_System_IDispatcherQueueTimer::Tick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IDispatcherQueueTimer::Tick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Tick(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IDispatcherQueueTimer::Tick(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IDispatcherQueueTimer::Tick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->remove_Tick(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_System_IFolderLauncherOptions::ItemsToSelect() const + template auto consume_Windows_System_IFolderLauncherOptions::ItemsToSelect() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IFolderLauncherOptions)->get_ItemsToSelect(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics::DisplayName() const + template auto consume_Windows_System_IKnownUserPropertiesStatics::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics::FirstName() const + template auto consume_Windows_System_IKnownUserPropertiesStatics::FirstName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_FirstName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics::LastName() const + template auto consume_Windows_System_IKnownUserPropertiesStatics::LastName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_LastName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics::ProviderName() const + template auto consume_Windows_System_IKnownUserPropertiesStatics::ProviderName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_ProviderName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics::AccountName() const + template auto consume_Windows_System_IKnownUserPropertiesStatics::AccountName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_AccountName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics::GuestHost() const + template auto consume_Windows_System_IKnownUserPropertiesStatics::GuestHost() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_GuestHost(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics::PrincipalName() const + template auto consume_Windows_System_IKnownUserPropertiesStatics::PrincipalName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_PrincipalName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics::DomainName() const + template auto consume_Windows_System_IKnownUserPropertiesStatics::DomainName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_DomainName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics::SessionInitiationProtocolUri() const + template auto consume_Windows_System_IKnownUserPropertiesStatics::SessionInitiationProtocolUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_SessionInitiationProtocolUri(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::LaunchUriStatus) consume_Windows_System_ILaunchUriResult::Status() const + template auto consume_Windows_System_ILaunchUriResult::Status() const { winrt::Windows::System::LaunchUriStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILaunchUriResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_System_ILaunchUriResult::Result() const + template auto consume_Windows_System_ILaunchUriResult::Result() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILaunchUriResult)->get_Result(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_ILauncherOptions::TreatAsUntrusted() const + template auto consume_Windows_System_ILauncherOptions::TreatAsUntrusted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->get_TreatAsUntrusted(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions::TreatAsUntrusted(bool value) const + template auto consume_Windows_System_ILauncherOptions::TreatAsUntrusted(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->put_TreatAsUntrusted(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_ILauncherOptions::DisplayApplicationPicker() const + template auto consume_Windows_System_ILauncherOptions::DisplayApplicationPicker() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->get_DisplayApplicationPicker(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions::DisplayApplicationPicker(bool value) const + template auto consume_Windows_System_ILauncherOptions::DisplayApplicationPicker(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->put_DisplayApplicationPicker(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::LauncherUIOptions) consume_Windows_System_ILauncherOptions::UI() const + template auto consume_Windows_System_ILauncherOptions::UI() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->get_UI(&value)); return winrt::Windows::System::LauncherUIOptions{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_ILauncherOptions::PreferredApplicationPackageFamilyName() const + template auto consume_Windows_System_ILauncherOptions::PreferredApplicationPackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->get_PreferredApplicationPackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions::PreferredApplicationPackageFamilyName(param::hstring const& value) const + template auto consume_Windows_System_ILauncherOptions::PreferredApplicationPackageFamilyName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->put_PreferredApplicationPackageFamilyName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_ILauncherOptions::PreferredApplicationDisplayName() const + template auto consume_Windows_System_ILauncherOptions::PreferredApplicationDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->get_PreferredApplicationDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions::PreferredApplicationDisplayName(param::hstring const& value) const + template auto consume_Windows_System_ILauncherOptions::PreferredApplicationDisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->put_PreferredApplicationDisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_System_ILauncherOptions::FallbackUri() const + template auto consume_Windows_System_ILauncherOptions::FallbackUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->get_FallbackUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions::FallbackUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_System_ILauncherOptions::FallbackUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->put_FallbackUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_ILauncherOptions::ContentType() const + template auto consume_Windows_System_ILauncherOptions::ContentType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->get_ContentType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions::ContentType(param::hstring const& value) const + template auto consume_Windows_System_ILauncherOptions::ContentType(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->put_ContentType(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_ILauncherOptions2::TargetApplicationPackageFamilyName() const + template auto consume_Windows_System_ILauncherOptions2::TargetApplicationPackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions2)->get_TargetApplicationPackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions2::TargetApplicationPackageFamilyName(param::hstring const& value) const + template auto consume_Windows_System_ILauncherOptions2::TargetApplicationPackageFamilyName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions2)->put_TargetApplicationPackageFamilyName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFileQueryResult) consume_Windows_System_ILauncherOptions2::NeighboringFilesQuery() const + template auto consume_Windows_System_ILauncherOptions2::NeighboringFilesQuery() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions2)->get_NeighboringFilesQuery(&value)); return winrt::Windows::Storage::Search::StorageFileQueryResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions2::NeighboringFilesQuery(winrt::Windows::Storage::Search::StorageFileQueryResult const& value) const + template auto consume_Windows_System_ILauncherOptions2::NeighboringFilesQuery(winrt::Windows::Storage::Search::StorageFileQueryResult const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions2)->put_NeighboringFilesQuery(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_ILauncherOptions3::IgnoreAppUriHandlers() const + template auto consume_Windows_System_ILauncherOptions3::IgnoreAppUriHandlers() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions3)->get_IgnoreAppUriHandlers(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions3::IgnoreAppUriHandlers(bool value) const + template auto consume_Windows_System_ILauncherOptions3::IgnoreAppUriHandlers(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions3)->put_IgnoreAppUriHandlers(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_ILauncherOptions4::LimitPickerToCurrentAppAndAppUriHandlers() const + template auto consume_Windows_System_ILauncherOptions4::LimitPickerToCurrentAppAndAppUriHandlers() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions4)->get_LimitPickerToCurrentAppAndAppUriHandlers(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions4::LimitPickerToCurrentAppAndAppUriHandlers(bool value) const + template auto consume_Windows_System_ILauncherOptions4::LimitPickerToCurrentAppAndAppUriHandlers(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions4)->put_LimitPickerToCurrentAppAndAppUriHandlers(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics::LaunchFileAsync(winrt::Windows::Storage::IStorageFile const& file) const + template auto consume_Windows_System_ILauncherStatics::LaunchFileAsync(winrt::Windows::Storage::IStorageFile const& file) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics)->LaunchFileAsync(*(void**)(&file), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics::LaunchFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::System::LauncherOptions const& options) const + template auto consume_Windows_System_ILauncherStatics::LaunchFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::System::LauncherOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics)->LaunchFileWithOptionsAsync(*(void**)(&file), *(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics::LaunchUriAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_System_ILauncherStatics::LaunchUriAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics)->LaunchUriAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics::LaunchUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const + template auto consume_Windows_System_ILauncherStatics::LaunchUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics)->LaunchUriWithOptionsAsync(*(void**)(&uri), *(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics2::LaunchUriForResultsAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const + template auto consume_Windows_System_ILauncherStatics2::LaunchUriForResultsAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics2)->LaunchUriForResultsAsync(*(void**)(&uri), *(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics2::LaunchUriForResultsAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const + template auto consume_Windows_System_ILauncherStatics2::LaunchUriForResultsAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics2)->LaunchUriForResultsWithDataAsync(*(void**)(&uri), *(void**)(&options), *(void**)(&inputData), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics2::LaunchUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const + template auto consume_Windows_System_ILauncherStatics2::LaunchUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics2)->LaunchUriWithDataAsync(*(void**)(&uri), *(void**)(&options), *(void**)(&inputData), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics2::QueryUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType) const + template auto consume_Windows_System_ILauncherStatics2::QueryUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics2)->QueryUriSupportAsync(*(void**)(&uri), static_cast(launchQuerySupportType), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics2::QueryUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType, param::hstring const& packageFamilyName) const + template auto consume_Windows_System_ILauncherStatics2::QueryUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType, param::hstring const& packageFamilyName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics2)->QueryUriSupportWithPackageFamilyNameAsync(*(void**)(&uri), static_cast(launchQuerySupportType), *(void**)(&packageFamilyName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics2::QueryFileSupportAsync(winrt::Windows::Storage::StorageFile const& file) const + template auto consume_Windows_System_ILauncherStatics2::QueryFileSupportAsync(winrt::Windows::Storage::StorageFile const& file) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics2)->QueryFileSupportAsync(*(void**)(&file), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics2::QueryFileSupportAsync(winrt::Windows::Storage::StorageFile const& file, param::hstring const& packageFamilyName) const + template auto consume_Windows_System_ILauncherStatics2::QueryFileSupportAsync(winrt::Windows::Storage::StorageFile const& file, param::hstring const& packageFamilyName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics2)->QueryFileSupportWithPackageFamilyNameAsync(*(void**)(&file), *(void**)(&packageFamilyName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_System_ILauncherStatics2::FindUriSchemeHandlersAsync(param::hstring const& scheme) const + template auto consume_Windows_System_ILauncherStatics2::FindUriSchemeHandlersAsync(param::hstring const& scheme) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics2)->FindUriSchemeHandlersAsync(*(void**)(&scheme), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_System_ILauncherStatics2::FindUriSchemeHandlersAsync(param::hstring const& scheme, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType) const + template auto consume_Windows_System_ILauncherStatics2::FindUriSchemeHandlersAsync(param::hstring const& scheme, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics2)->FindUriSchemeHandlersWithLaunchUriTypeAsync(*(void**)(&scheme), static_cast(launchQuerySupportType), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_System_ILauncherStatics2::FindFileHandlersAsync(param::hstring const& extension) const + template auto consume_Windows_System_ILauncherStatics2::FindFileHandlersAsync(param::hstring const& extension) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics2)->FindFileHandlersAsync(*(void**)(&extension), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics3::LaunchFolderAsync(winrt::Windows::Storage::IStorageFolder const& folder) const + template auto consume_Windows_System_ILauncherStatics3::LaunchFolderAsync(winrt::Windows::Storage::IStorageFolder const& folder) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics3)->LaunchFolderAsync(*(void**)(&folder), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics3::LaunchFolderAsync(winrt::Windows::Storage::IStorageFolder const& folder, winrt::Windows::System::FolderLauncherOptions const& options) const + template auto consume_Windows_System_ILauncherStatics3::LaunchFolderAsync(winrt::Windows::Storage::IStorageFolder const& folder, winrt::Windows::System::FolderLauncherOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics3)->LaunchFolderWithOptionsAsync(*(void**)(&folder), *(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics4::QueryAppUriSupportAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_System_ILauncherStatics4::QueryAppUriSupportAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics4)->QueryAppUriSupportAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics4::QueryAppUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& packageFamilyName) const + template auto consume_Windows_System_ILauncherStatics4::QueryAppUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& packageFamilyName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics4)->QueryAppUriSupportWithPackageFamilyNameAsync(*(void**)(&uri), *(void**)(&packageFamilyName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_System_ILauncherStatics4::FindAppUriHandlersAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_System_ILauncherStatics4::FindAppUriHandlersAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics4)->FindAppUriHandlersAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics4::LaunchUriForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_System_ILauncherStatics4::LaunchUriForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics4)->LaunchUriForUserAsync(*(void**)(&user), *(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics4::LaunchUriForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const + template auto consume_Windows_System_ILauncherStatics4::LaunchUriForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics4)->LaunchUriWithOptionsForUserAsync(*(void**)(&user), *(void**)(&uri), *(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics4::LaunchUriForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const + template auto consume_Windows_System_ILauncherStatics4::LaunchUriForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics4)->LaunchUriWithDataForUserAsync(*(void**)(&user), *(void**)(&uri), *(void**)(&options), *(void**)(&inputData), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics4::LaunchUriForResultsForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const + template auto consume_Windows_System_ILauncherStatics4::LaunchUriForResultsForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics4)->LaunchUriForResultsForUserAsync(*(void**)(&user), *(void**)(&uri), *(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics4::LaunchUriForResultsForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const + template auto consume_Windows_System_ILauncherStatics4::LaunchUriForResultsForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics4)->LaunchUriForResultsWithDataForUserAsync(*(void**)(&user), *(void**)(&uri), *(void**)(&options), *(void**)(&inputData), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics5::LaunchFolderPathAsync(param::hstring const& path) const + template auto consume_Windows_System_ILauncherStatics5::LaunchFolderPathAsync(param::hstring const& path) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics5)->LaunchFolderPathAsync(*(void**)(&path), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics5::LaunchFolderPathAsync(param::hstring const& path, winrt::Windows::System::FolderLauncherOptions const& options) const + template auto consume_Windows_System_ILauncherStatics5::LaunchFolderPathAsync(param::hstring const& path, winrt::Windows::System::FolderLauncherOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics5)->LaunchFolderPathWithOptionsAsync(*(void**)(&path), *(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics5::LaunchFolderPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path) const + template auto consume_Windows_System_ILauncherStatics5::LaunchFolderPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics5)->LaunchFolderPathForUserAsync(*(void**)(&user), *(void**)(&path), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ILauncherStatics5::LaunchFolderPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path, winrt::Windows::System::FolderLauncherOptions const& options) const + template auto consume_Windows_System_ILauncherStatics5::LaunchFolderPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path, winrt::Windows::System::FolderLauncherOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherStatics5)->LaunchFolderPathWithOptionsForUserAsync(*(void**)(&user), *(void**)(&path), *(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_System_ILauncherUIOptions::InvocationPoint() const + template auto consume_Windows_System_ILauncherUIOptions::InvocationPoint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherUIOptions)->get_InvocationPoint(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherUIOptions::InvocationPoint(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_System_ILauncherUIOptions::InvocationPoint(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherUIOptions)->put_InvocationPoint(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_System_ILauncherUIOptions::SelectionRect() const + template auto consume_Windows_System_ILauncherUIOptions::SelectionRect() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherUIOptions)->get_SelectionRect(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherUIOptions::SelectionRect(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_System_ILauncherUIOptions::SelectionRect(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherUIOptions)->put_SelectionRect(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::Placement) consume_Windows_System_ILauncherUIOptions::PreferredPlacement() const + template auto consume_Windows_System_ILauncherUIOptions::PreferredPlacement() const { winrt::Windows::UI::Popups::Placement value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherUIOptions)->get_PreferredPlacement(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherUIOptions::PreferredPlacement(winrt::Windows::UI::Popups::Placement const& value) const + template auto consume_Windows_System_ILauncherUIOptions::PreferredPlacement(winrt::Windows::UI::Popups::Placement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherUIOptions)->put_PreferredPlacement(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ViewSizePreference) consume_Windows_System_ILauncherViewOptions::DesiredRemainingView() const + template auto consume_Windows_System_ILauncherViewOptions::DesiredRemainingView() const { winrt::Windows::UI::ViewManagement::ViewSizePreference value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherViewOptions)->get_DesiredRemainingView(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherViewOptions::DesiredRemainingView(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const + template auto consume_Windows_System_ILauncherViewOptions::DesiredRemainingView(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherViewOptions)->put_DesiredRemainingView(static_cast(value))); } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IMemoryManagerStatics::AppMemoryUsage() const + template auto consume_Windows_System_IMemoryManagerStatics::AppMemoryUsage() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics)->get_AppMemoryUsage(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageLimit() const + template auto consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageLimit() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics)->get_AppMemoryUsageLimit(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppMemoryUsageLevel) consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageLevel() const + template auto consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageLevel() const { winrt::Windows::System::AppMemoryUsageLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics)->get_AppMemoryUsageLevel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageIncreased(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageIncreased(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics)->add_AppMemoryUsageIncreased(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageIncreased_revoker consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, AppMemoryUsageIncreased(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageIncreased(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageIncreased(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics)->remove_AppMemoryUsageIncreased(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageDecreased(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageDecreased(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics)->add_AppMemoryUsageDecreased(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageDecreased_revoker consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageDecreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageDecreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, AppMemoryUsageDecreased(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageDecreased(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageDecreased(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics)->remove_AppMemoryUsageDecreased(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageLimitChanging(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageLimitChanging(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics)->add_AppMemoryUsageLimitChanging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageLimitChanging_revoker consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageLimitChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageLimitChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, AppMemoryUsageLimitChanging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageLimitChanging(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IMemoryManagerStatics::AppMemoryUsageLimitChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics)->remove_AppMemoryUsageLimitChanging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::AppMemoryReport) consume_Windows_System_IMemoryManagerStatics2::GetAppMemoryReport() const + template auto consume_Windows_System_IMemoryManagerStatics2::GetAppMemoryReport() const { void* memoryReport{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics2)->GetAppMemoryReport(&memoryReport)); return winrt::Windows::System::AppMemoryReport{ memoryReport, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::ProcessMemoryReport) consume_Windows_System_IMemoryManagerStatics2::GetProcessMemoryReport() const + template auto consume_Windows_System_IMemoryManagerStatics2::GetProcessMemoryReport() const { void* memoryReport{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics2)->GetProcessMemoryReport(&memoryReport)); return winrt::Windows::System::ProcessMemoryReport{ memoryReport, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_IMemoryManagerStatics3::TrySetAppMemoryUsageLimit(uint64_t value) const + template auto consume_Windows_System_IMemoryManagerStatics3::TrySetAppMemoryUsageLimit(uint64_t value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics3)->TrySetAppMemoryUsageLimit(value, &result)); return result; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IMemoryManagerStatics4::ExpectedAppMemoryUsageLimit() const + template auto consume_Windows_System_IMemoryManagerStatics4::ExpectedAppMemoryUsageLimit() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics4)->get_ExpectedAppMemoryUsageLimit(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_System_IProcessLauncherOptions::StandardInput() const + template auto consume_Windows_System_IProcessLauncherOptions::StandardInput() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherOptions)->get_StandardInput(&value)); return winrt::Windows::Storage::Streams::IInputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IProcessLauncherOptions::StandardInput(winrt::Windows::Storage::Streams::IInputStream const& value) const + template auto consume_Windows_System_IProcessLauncherOptions::StandardInput(winrt::Windows::Storage::Streams::IInputStream const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherOptions)->put_StandardInput(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_System_IProcessLauncherOptions::StandardOutput() const + template auto consume_Windows_System_IProcessLauncherOptions::StandardOutput() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherOptions)->get_StandardOutput(&value)); return winrt::Windows::Storage::Streams::IOutputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IProcessLauncherOptions::StandardOutput(winrt::Windows::Storage::Streams::IOutputStream const& value) const + template auto consume_Windows_System_IProcessLauncherOptions::StandardOutput(winrt::Windows::Storage::Streams::IOutputStream const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherOptions)->put_StandardOutput(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_System_IProcessLauncherOptions::StandardError() const + template auto consume_Windows_System_IProcessLauncherOptions::StandardError() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherOptions)->get_StandardError(&value)); return winrt::Windows::Storage::Streams::IOutputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IProcessLauncherOptions::StandardError(winrt::Windows::Storage::Streams::IOutputStream const& value) const + template auto consume_Windows_System_IProcessLauncherOptions::StandardError(winrt::Windows::Storage::Streams::IOutputStream const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherOptions)->put_StandardError(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IProcessLauncherOptions::WorkingDirectory() const + template auto consume_Windows_System_IProcessLauncherOptions::WorkingDirectory() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherOptions)->get_WorkingDirectory(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IProcessLauncherOptions::WorkingDirectory(param::hstring const& value) const + template auto consume_Windows_System_IProcessLauncherOptions::WorkingDirectory(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherOptions)->put_WorkingDirectory(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_IProcessLauncherResult::ExitCode() const + template auto consume_Windows_System_IProcessLauncherResult::ExitCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherResult)->get_ExitCode(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_IProcessLauncherStatics::RunToCompletionAsync(param::hstring const& fileName, param::hstring const& args) const + template auto consume_Windows_System_IProcessLauncherStatics::RunToCompletionAsync(param::hstring const& fileName, param::hstring const& args) const { void* asyncOperationResult{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherStatics)->RunToCompletionAsync(*(void**)(&fileName), *(void**)(&args), &asyncOperationResult)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperationResult, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_IProcessLauncherStatics::RunToCompletionAsync(param::hstring const& fileName, param::hstring const& args, winrt::Windows::System::ProcessLauncherOptions const& options) const + template auto consume_Windows_System_IProcessLauncherStatics::RunToCompletionAsync(param::hstring const& fileName, param::hstring const& args, winrt::Windows::System::ProcessLauncherOptions const& options) const { void* asyncOperationResult{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherStatics)->RunToCompletionAsyncWithOptions(*(void**)(&fileName), *(void**)(&args), *(void**)(&options), &asyncOperationResult)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperationResult, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IProcessMemoryReport::PrivateWorkingSetUsage() const + template auto consume_Windows_System_IProcessMemoryReport::PrivateWorkingSetUsage() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessMemoryReport)->get_PrivateWorkingSetUsage(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IProcessMemoryReport::TotalWorkingSetUsage() const + template auto consume_Windows_System_IProcessMemoryReport::TotalWorkingSetUsage() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessMemoryReport)->get_TotalWorkingSetUsage(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IProtocolForResultsOperation::ReportCompleted(winrt::Windows::Foundation::Collections::ValueSet const& data) const + template auto consume_Windows_System_IProtocolForResultsOperation::ReportCompleted(winrt::Windows::Foundation::Collections::ValueSet const& data) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProtocolForResultsOperation)->ReportCompleted(*(void**)(&data))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_System_IRemoteLauncherOptions::FallbackUri() const + template auto consume_Windows_System_IRemoteLauncherOptions::FallbackUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IRemoteLauncherOptions)->get_FallbackUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IRemoteLauncherOptions::FallbackUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_System_IRemoteLauncherOptions::FallbackUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IRemoteLauncherOptions)->put_FallbackUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_System_IRemoteLauncherOptions::PreferredAppIds() const + template auto consume_Windows_System_IRemoteLauncherOptions::PreferredAppIds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IRemoteLauncherOptions)->get_PreferredAppIds(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_IRemoteLauncherStatics::LaunchUriAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest, winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_System_IRemoteLauncherStatics::LaunchUriAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest, winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IRemoteLauncherStatics)->LaunchUriAsync(*(void**)(&remoteSystemConnectionRequest), *(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_IRemoteLauncherStatics::LaunchUriAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::RemoteLauncherOptions const& options) const + template auto consume_Windows_System_IRemoteLauncherStatics::LaunchUriAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::RemoteLauncherOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IRemoteLauncherStatics)->LaunchUriWithOptionsAsync(*(void**)(&remoteSystemConnectionRequest), *(void**)(&uri), *(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_IRemoteLauncherStatics::LaunchUriAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::RemoteLauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const + template auto consume_Windows_System_IRemoteLauncherStatics::LaunchUriAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::RemoteLauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IRemoteLauncherStatics)->LaunchUriWithDataAsync(*(void**)(&remoteSystemConnectionRequest), *(void**)(&uri), *(void**)(&options), *(void**)(&inputData), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IShutdownManagerStatics::BeginShutdown(winrt::Windows::System::ShutdownKind const& shutdownKind, winrt::Windows::Foundation::TimeSpan const& timeout) const + template auto consume_Windows_System_IShutdownManagerStatics::BeginShutdown(winrt::Windows::System::ShutdownKind const& shutdownKind, winrt::Windows::Foundation::TimeSpan const& timeout) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IShutdownManagerStatics)->BeginShutdown(static_cast(shutdownKind), impl::bind_in(timeout))); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IShutdownManagerStatics::CancelShutdown() const + template auto consume_Windows_System_IShutdownManagerStatics::CancelShutdown() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IShutdownManagerStatics)->CancelShutdown()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_IShutdownManagerStatics2::IsPowerStateSupported(winrt::Windows::System::PowerState const& powerState) const + template auto consume_Windows_System_IShutdownManagerStatics2::IsPowerStateSupported(winrt::Windows::System::PowerState const& powerState) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IShutdownManagerStatics2)->IsPowerStateSupported(static_cast(powerState), &value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IShutdownManagerStatics2::EnterPowerState(winrt::Windows::System::PowerState const& powerState) const + template auto consume_Windows_System_IShutdownManagerStatics2::EnterPowerState(winrt::Windows::System::PowerState const& powerState) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IShutdownManagerStatics2)->EnterPowerState(static_cast(powerState))); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IShutdownManagerStatics2::EnterPowerState(winrt::Windows::System::PowerState const& powerState, winrt::Windows::Foundation::TimeSpan const& wakeUpAfter) const + template auto consume_Windows_System_IShutdownManagerStatics2::EnterPowerState(winrt::Windows::System::PowerState const& powerState, winrt::Windows::Foundation::TimeSpan const& wakeUpAfter) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IShutdownManagerStatics2)->EnterPowerStateWithTimeSpan(static_cast(powerState), impl::bind_in(wakeUpAfter))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_ITimeZoneSettingsStatics::CurrentTimeZoneDisplayName() const + template auto consume_Windows_System_ITimeZoneSettingsStatics::CurrentTimeZoneDisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ITimeZoneSettingsStatics)->get_CurrentTimeZoneDisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_ITimeZoneSettingsStatics::SupportedTimeZoneDisplayNames() const + template auto consume_Windows_System_ITimeZoneSettingsStatics::SupportedTimeZoneDisplayNames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ITimeZoneSettingsStatics)->get_SupportedTimeZoneDisplayNames(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_ITimeZoneSettingsStatics::CanChangeTimeZone() const + template auto consume_Windows_System_ITimeZoneSettingsStatics::CanChangeTimeZone() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ITimeZoneSettingsStatics)->get_CanChangeTimeZone(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_ITimeZoneSettingsStatics::ChangeTimeZoneByDisplayName(param::hstring const& timeZoneDisplayName) const + template auto consume_Windows_System_ITimeZoneSettingsStatics::ChangeTimeZoneByDisplayName(param::hstring const& timeZoneDisplayName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ITimeZoneSettingsStatics)->ChangeTimeZoneByDisplayName(*(void**)(&timeZoneDisplayName))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_ITimeZoneSettingsStatics2::AutoUpdateTimeZoneAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const + template auto consume_Windows_System_ITimeZoneSettingsStatics2::AutoUpdateTimeZoneAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ITimeZoneSettingsStatics2)->AutoUpdateTimeZoneAsync(impl::bind_in(timeout), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IUser::NonRoamableId() const + template auto consume_Windows_System_IUser::NonRoamableId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUser)->get_NonRoamableId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::UserAuthenticationStatus) consume_Windows_System_IUser::AuthenticationStatus() const + template auto consume_Windows_System_IUser::AuthenticationStatus() const { winrt::Windows::System::UserAuthenticationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUser)->get_AuthenticationStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::UserType) consume_Windows_System_IUser::Type() const + template auto consume_Windows_System_IUser::Type() const { winrt::Windows::System::UserType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUser)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_IUser::GetPropertyAsync(param::hstring const& value) const + template auto consume_Windows_System_IUser::GetPropertyAsync(param::hstring const& value) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUser)->GetPropertyAsync(*(void**)(&value), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_IUser::GetPropertiesAsync(param::async_vector_view const& values) const + template auto consume_Windows_System_IUser::GetPropertiesAsync(param::async_vector_view const& values) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUser)->GetPropertiesAsync(*(void**)(&values), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_IUser::GetPictureAsync(winrt::Windows::System::UserPictureSize const& desiredSize) const + template auto consume_Windows_System_IUser::GetPictureAsync(winrt::Windows::System::UserPictureSize const& desiredSize) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUser)->GetPictureAsync(static_cast(desiredSize), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IUserAuthenticationStatusChangeDeferral::Complete() const + template auto consume_Windows_System_IUserAuthenticationStatusChangeDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserAuthenticationStatusChangeDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::System::UserAuthenticationStatusChangeDeferral) consume_Windows_System_IUserAuthenticationStatusChangingEventArgs::GetDeferral() const + template auto consume_Windows_System_IUserAuthenticationStatusChangingEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserAuthenticationStatusChangingEventArgs)->GetDeferral(&result)); return winrt::Windows::System::UserAuthenticationStatusChangeDeferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserAuthenticationStatusChangingEventArgs::User() const + template auto consume_Windows_System_IUserAuthenticationStatusChangingEventArgs::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserAuthenticationStatusChangingEventArgs)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::UserAuthenticationStatus) consume_Windows_System_IUserAuthenticationStatusChangingEventArgs::NewStatus() const + template auto consume_Windows_System_IUserAuthenticationStatusChangingEventArgs::NewStatus() const { winrt::Windows::System::UserAuthenticationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserAuthenticationStatusChangingEventArgs)->get_NewStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::UserAuthenticationStatus) consume_Windows_System_IUserAuthenticationStatusChangingEventArgs::CurrentStatus() const + template auto consume_Windows_System_IUserAuthenticationStatusChangingEventArgs::CurrentStatus() const { winrt::Windows::System::UserAuthenticationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserAuthenticationStatusChangingEventArgs)->get_CurrentStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserChangedEventArgs::User() const + template auto consume_Windows_System_IUserChangedEventArgs::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserChangedEventArgs)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_IUserChangedEventArgs2::ChangedPropertyKinds() const + template auto consume_Windows_System_IUserChangedEventArgs2::ChangedPropertyKinds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserChangedEventArgs2)->get_ChangedPropertyKinds(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_System_IUserDeviceAssociationChangedEventArgs::DeviceId() const + template auto consume_Windows_System_IUserDeviceAssociationChangedEventArgs::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserDeviceAssociationChangedEventArgs)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserDeviceAssociationChangedEventArgs::NewUser() const + template auto consume_Windows_System_IUserDeviceAssociationChangedEventArgs::NewUser() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserDeviceAssociationChangedEventArgs)->get_NewUser(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserDeviceAssociationChangedEventArgs::OldUser() const + template auto consume_Windows_System_IUserDeviceAssociationChangedEventArgs::OldUser() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserDeviceAssociationChangedEventArgs)->get_OldUser(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserDeviceAssociationStatics::FindUserFromDeviceId(param::hstring const& deviceId) const + template auto consume_Windows_System_IUserDeviceAssociationStatics::FindUserFromDeviceId(param::hstring const& deviceId) const { void* user{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserDeviceAssociationStatics)->FindUserFromDeviceId(*(void**)(&deviceId), &user)); return winrt::Windows::System::User{ user, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IUserDeviceAssociationStatics::UserDeviceAssociationChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_IUserDeviceAssociationStatics::UserDeviceAssociationChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserDeviceAssociationStatics)->add_UserDeviceAssociationChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IUserDeviceAssociationStatics::UserDeviceAssociationChanged_revoker consume_Windows_System_IUserDeviceAssociationStatics::UserDeviceAssociationChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_System_IUserDeviceAssociationStatics::UserDeviceAssociationChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, UserDeviceAssociationChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IUserDeviceAssociationStatics::UserDeviceAssociationChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IUserDeviceAssociationStatics::UserDeviceAssociationChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IUserDeviceAssociationStatics)->remove_UserDeviceAssociationChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_IUserPicker::AllowGuestAccounts() const + template auto consume_Windows_System_IUserPicker::AllowGuestAccounts() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserPicker)->get_AllowGuestAccounts(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IUserPicker::AllowGuestAccounts(bool value) const + template auto consume_Windows_System_IUserPicker::AllowGuestAccounts(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserPicker)->put_AllowGuestAccounts(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserPicker::SuggestedSelectedUser() const + template auto consume_Windows_System_IUserPicker::SuggestedSelectedUser() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserPicker)->get_SuggestedSelectedUser(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IUserPicker::SuggestedSelectedUser(winrt::Windows::System::User const& value) const + template auto consume_Windows_System_IUserPicker::SuggestedSelectedUser(winrt::Windows::System::User const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserPicker)->put_SuggestedSelectedUser(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_System_IUserPicker::PickSingleUserAsync() const + template auto consume_Windows_System_IUserPicker::PickSingleUserAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserPicker)->PickSingleUserAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_System_IUserPickerStatics::IsSupported() const + template auto consume_Windows_System_IUserPickerStatics::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserPickerStatics)->IsSupported(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::System::UserWatcher) consume_Windows_System_IUserStatics::CreateWatcher() const + template auto consume_Windows_System_IUserStatics::CreateWatcher() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserStatics)->CreateWatcher(&result)); return winrt::Windows::System::UserWatcher{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_System_IUserStatics::FindAllAsync() const + template auto consume_Windows_System_IUserStatics::FindAllAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserStatics)->FindAllAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_System_IUserStatics::FindAllAsync(winrt::Windows::System::UserType const& type) const + template auto consume_Windows_System_IUserStatics::FindAllAsync(winrt::Windows::System::UserType const& type) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserStatics)->FindAllAsyncByType(static_cast(type), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_System_IUserStatics::FindAllAsync(winrt::Windows::System::UserType const& type, winrt::Windows::System::UserAuthenticationStatus const& status) const + template auto consume_Windows_System_IUserStatics::FindAllAsync(winrt::Windows::System::UserType const& type, winrt::Windows::System::UserAuthenticationStatus const& status) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserStatics)->FindAllAsyncByTypeAndStatus(static_cast(type), static_cast(status), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserStatics::GetFromId(param::hstring const& nonRoamableId) const + template auto consume_Windows_System_IUserStatics::GetFromId(param::hstring const& nonRoamableId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserStatics)->GetFromId(*(void**)(&nonRoamableId), &result)); return winrt::Windows::System::User{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserStatics2::GetDefault() const + template auto consume_Windows_System_IUserStatics2::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserStatics2)->GetDefault(&result)); return winrt::Windows::System::User{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::UserWatcherStatus) consume_Windows_System_IUserWatcher::Status() const + template auto consume_Windows_System_IUserWatcher::Status() const { winrt::Windows::System::UserWatcherStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher::Start() const + template auto consume_Windows_System_IUserWatcher::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher::Stop() const + template auto consume_Windows_System_IUserWatcher::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->Stop()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IUserWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IUserWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->add_Added(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IUserWatcher::Added_revoker consume_Windows_System_IUserWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IUserWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Added(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher::Added(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IUserWatcher::Added(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->remove_Added(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IUserWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IUserWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->add_Removed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IUserWatcher::Removed_revoker consume_Windows_System_IUserWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IUserWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Removed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher::Removed(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IUserWatcher::Removed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->remove_Removed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IUserWatcher::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IUserWatcher::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->add_Updated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IUserWatcher::Updated_revoker consume_Windows_System_IUserWatcher::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IUserWatcher::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Updated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher::Updated(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IUserWatcher::Updated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->remove_Updated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IUserWatcher::AuthenticationStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IUserWatcher::AuthenticationStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->add_AuthenticationStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IUserWatcher::AuthenticationStatusChanged_revoker consume_Windows_System_IUserWatcher::AuthenticationStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IUserWatcher::AuthenticationStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AuthenticationStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher::AuthenticationStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IUserWatcher::AuthenticationStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->remove_AuthenticationStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IUserWatcher::AuthenticationStatusChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IUserWatcher::AuthenticationStatusChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->add_AuthenticationStatusChanging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IUserWatcher::AuthenticationStatusChanging_revoker consume_Windows_System_IUserWatcher::AuthenticationStatusChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IUserWatcher::AuthenticationStatusChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AuthenticationStatusChanging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher::AuthenticationStatusChanging(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IUserWatcher::AuthenticationStatusChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->remove_AuthenticationStatusChanging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IUserWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IUserWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IUserWatcher::EnumerationCompleted_revoker consume_Windows_System_IUserWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IUserWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EnumerationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IUserWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->remove_EnumerationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IUserWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IUserWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->add_Stopped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_System_IUserWatcher::Stopped_revoker consume_Windows_System_IUserWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_System_IUserWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Stopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher::Stopped(winrt::event_token const& token) const noexcept + template auto consume_Windows_System_IUserWatcher::Stopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->remove_Stopped(impl::bind_in(token)); } @@ -4231,10 +4231,10 @@ WINRT_EXPORT namespace winrt::Windows::System { return impl::call_factory([&](IMemoryManagerStatics const& f) { return f.AppMemoryUsageIncreased(handler); }); } - inline MemoryManager::AppMemoryUsageIncreased_revoker MemoryManager::AppMemoryUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto MemoryManager::AppMemoryUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.AppMemoryUsageIncreased(handler) }; + return MemoryManager::AppMemoryUsageIncreased_revoker{ f, f.AppMemoryUsageIncreased(handler) }; } inline auto MemoryManager::AppMemoryUsageIncreased(winrt::event_token const& token) { @@ -4244,10 +4244,10 @@ WINRT_EXPORT namespace winrt::Windows::System { return impl::call_factory([&](IMemoryManagerStatics const& f) { return f.AppMemoryUsageDecreased(handler); }); } - inline MemoryManager::AppMemoryUsageDecreased_revoker MemoryManager::AppMemoryUsageDecreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto MemoryManager::AppMemoryUsageDecreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.AppMemoryUsageDecreased(handler) }; + return MemoryManager::AppMemoryUsageDecreased_revoker{ f, f.AppMemoryUsageDecreased(handler) }; } inline auto MemoryManager::AppMemoryUsageDecreased(winrt::event_token const& token) { @@ -4257,10 +4257,10 @@ WINRT_EXPORT namespace winrt::Windows::System { return impl::call_factory([&](IMemoryManagerStatics const& f) { return f.AppMemoryUsageLimitChanging(handler); }); } - inline MemoryManager::AppMemoryUsageLimitChanging_revoker MemoryManager::AppMemoryUsageLimitChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto MemoryManager::AppMemoryUsageLimitChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.AppMemoryUsageLimitChanging(handler) }; + return MemoryManager::AppMemoryUsageLimitChanging_revoker{ f, f.AppMemoryUsageLimitChanging(handler) }; } inline auto MemoryManager::AppMemoryUsageLimitChanging(winrt::event_token const& token) { @@ -4382,10 +4382,10 @@ WINRT_EXPORT namespace winrt::Windows::System { return impl::call_factory([&](IUserDeviceAssociationStatics const& f) { return f.UserDeviceAssociationChanged(handler); }); } - inline UserDeviceAssociation::UserDeviceAssociationChanged_revoker UserDeviceAssociation::UserDeviceAssociationChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto UserDeviceAssociation::UserDeviceAssociationChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.UserDeviceAssociationChanged(handler) }; + return UserDeviceAssociation::UserDeviceAssociationChanged_revoker{ f, f.UserDeviceAssociationChanged(handler) }; } inline auto UserDeviceAssociation::UserDeviceAssociationChanged(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Accessibility.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Accessibility.h index b6d784bf..01fb1499 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Accessibility.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Accessibility.h @@ -1,45 +1,45 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Accessibility_H #define WINRT_Windows_UI_Accessibility_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.UI.Accessibility.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Accessibility_IScreenReaderPositionChangedEventArgs::ScreenPositionInRawPixels() const + template auto consume_Windows_UI_Accessibility_IScreenReaderPositionChangedEventArgs::ScreenPositionInRawPixels() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Accessibility::IScreenReaderPositionChangedEventArgs)->get_ScreenPositionInRawPixels(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Accessibility_IScreenReaderPositionChangedEventArgs::IsReadingText() const + template auto consume_Windows_UI_Accessibility_IScreenReaderPositionChangedEventArgs::IsReadingText() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Accessibility::IScreenReaderPositionChangedEventArgs)->get_IsReadingText(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Accessibility::ScreenReaderPositionChangedEventArgs) consume_Windows_UI_Accessibility_IScreenReaderService::CurrentScreenReaderPosition() const + template auto consume_Windows_UI_Accessibility_IScreenReaderService::CurrentScreenReaderPosition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Accessibility::IScreenReaderService)->get_CurrentScreenReaderPosition(&value)); return winrt::Windows::UI::Accessibility::ScreenReaderPositionChangedEventArgs{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Accessibility_IScreenReaderService::ScreenReaderPositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Accessibility_IScreenReaderService::ScreenReaderPositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Accessibility::IScreenReaderService)->add_ScreenReaderPositionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Accessibility_IScreenReaderService::ScreenReaderPositionChanged_revoker consume_Windows_UI_Accessibility_IScreenReaderService::ScreenReaderPositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Accessibility_IScreenReaderService::ScreenReaderPositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ScreenReaderPositionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Accessibility_IScreenReaderService::ScreenReaderPositionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Accessibility_IScreenReaderService::ScreenReaderPositionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Accessibility::IScreenReaderService)->remove_ScreenReaderPositionChanged(impl::bind_in(token)); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.ApplicationSettings.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.ApplicationSettings.h index 20664ce7..2499533b 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.ApplicationSettings.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.ApplicationSettings.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_ApplicationSettings_H #define WINRT_Windows_UI_ApplicationSettings_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,225 +15,225 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.ApplicationSettings.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPane::AccountCommandsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPane::AccountCommandsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPane)->add_AccountCommandsRequested(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_ApplicationSettings_IAccountsSettingsPane::AccountCommandsRequested_revoker consume_Windows_UI_ApplicationSettings_IAccountsSettingsPane::AccountCommandsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPane::AccountCommandsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AccountCommandsRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPane::AccountCommandsRequested(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPane::AccountCommandsRequested(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPane)->remove_AccountCommandsRequested(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs::WebAccountProviderCommands() const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs::WebAccountProviderCommands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneCommandsRequestedEventArgs)->get_WebAccountProviderCommands(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs::WebAccountCommands() const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs::WebAccountCommands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneCommandsRequestedEventArgs)->get_WebAccountCommands(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs::CredentialCommands() const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs::CredentialCommands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneCommandsRequestedEventArgs)->get_CredentialCommands(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs::Commands() const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs::Commands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneCommandsRequestedEventArgs)->get_Commands(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs::HeaderText() const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs::HeaderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneCommandsRequestedEventArgs)->get_HeaderText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs::HeaderText(param::hstring const& value) const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs::HeaderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneCommandsRequestedEventArgs)->put_HeaderText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::AccountsSettingsPaneEventDeferral) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs::GetDeferral() const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneCommandsRequestedEventArgs)->GetDeferral(&deferral)); return winrt::Windows::UI::ApplicationSettings::AccountsSettingsPaneEventDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs2::User() const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs2::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneCommandsRequestedEventArgs2)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneEventDeferral::Complete() const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneEventDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneEventDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::AccountsSettingsPane) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics::GetForCurrentView() const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics::GetForCurrentView() const { void* current{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneStatics)->GetForCurrentView(¤t)); return winrt::Windows::UI::ApplicationSettings::AccountsSettingsPane{ current, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics::Show() const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics::Show() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneStatics)->Show()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics2::ShowManageAccountsAsync() const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics2::ShowManageAccountsAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneStatics2)->ShowManageAccountsAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics2::ShowAddAccountAsync() const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics2::ShowAddAccountAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneStatics2)->ShowAddAccountAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics3::ShowManageAccountsForUserAsync(winrt::Windows::System::User const& user) const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics3::ShowManageAccountsForUserAsync(winrt::Windows::System::User const& user) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneStatics3)->ShowManageAccountsForUserAsync(*(void**)(&user), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics3::ShowAddAccountForUserAsync(winrt::Windows::System::User const& user) const + template auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics3::ShowAddAccountForUserAsync(winrt::Windows::System::User const& user) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneStatics3)->ShowAddAccountForUserAsync(*(void**)(&user), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_UI_ApplicationSettings_ICredentialCommand::PasswordCredential() const + template auto consume_Windows_UI_ApplicationSettings_ICredentialCommand::PasswordCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ICredentialCommand)->get_PasswordCredential(&value)); return winrt::Windows::Security::Credentials::PasswordCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::CredentialCommandCredentialDeletedHandler) consume_Windows_UI_ApplicationSettings_ICredentialCommand::CredentialDeleted() const + template auto consume_Windows_UI_ApplicationSettings_ICredentialCommand::CredentialDeleted() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ICredentialCommand)->get_CredentialDeleted(&value)); return winrt::Windows::UI::ApplicationSettings::CredentialCommandCredentialDeletedHandler{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::CredentialCommand) consume_Windows_UI_ApplicationSettings_ICredentialCommandFactory::CreateCredentialCommand(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const + template auto consume_Windows_UI_ApplicationSettings_ICredentialCommandFactory::CreateCredentialCommand(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ICredentialCommandFactory)->CreateCredentialCommand(*(void**)(&passwordCredential), &instance)); return winrt::Windows::UI::ApplicationSettings::CredentialCommand{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::CredentialCommand) consume_Windows_UI_ApplicationSettings_ICredentialCommandFactory::CreateCredentialCommandWithHandler(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential, winrt::Windows::UI::ApplicationSettings::CredentialCommandCredentialDeletedHandler const& deleted) const + template auto consume_Windows_UI_ApplicationSettings_ICredentialCommandFactory::CreateCredentialCommandWithHandler(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential, winrt::Windows::UI::ApplicationSettings::CredentialCommandCredentialDeletedHandler const& deleted) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ICredentialCommandFactory)->CreateCredentialCommandWithHandler(*(void**)(&passwordCredential), *(void**)(&deleted), &instance)); return winrt::Windows::UI::ApplicationSettings::CredentialCommand{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsCommand) consume_Windows_UI_ApplicationSettings_ISettingsCommandFactory::CreateSettingsCommand(winrt::Windows::Foundation::IInspectable const& settingsCommandId, param::hstring const& label, winrt::Windows::UI::Popups::UICommandInvokedHandler const& handler) const + template auto consume_Windows_UI_ApplicationSettings_ISettingsCommandFactory::CreateSettingsCommand(winrt::Windows::Foundation::IInspectable const& settingsCommandId, param::hstring const& label, winrt::Windows::UI::Popups::UICommandInvokedHandler const& handler) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ISettingsCommandFactory)->CreateSettingsCommand(*(void**)(&settingsCommandId), *(void**)(&label), *(void**)(&handler), &instance)); return winrt::Windows::UI::ApplicationSettings::SettingsCommand{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsCommand) consume_Windows_UI_ApplicationSettings_ISettingsCommandStatics::AccountsCommand() const + template auto consume_Windows_UI_ApplicationSettings_ISettingsCommandStatics::AccountsCommand() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ISettingsCommandStatics)->get_AccountsCommand(&value)); return winrt::Windows::UI::ApplicationSettings::SettingsCommand{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ApplicationSettings_ISettingsPane::CommandsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ApplicationSettings_ISettingsPane::CommandsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ISettingsPane)->add_CommandsRequested(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_ApplicationSettings_ISettingsPane::CommandsRequested_revoker consume_Windows_UI_ApplicationSettings_ISettingsPane::CommandsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ApplicationSettings_ISettingsPane::CommandsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CommandsRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ApplicationSettings_ISettingsPane::CommandsRequested(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_ApplicationSettings_ISettingsPane::CommandsRequested(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ISettingsPane)->remove_CommandsRequested(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_ApplicationSettings_ISettingsPaneCommandsRequest::ApplicationCommands() const + template auto consume_Windows_UI_ApplicationSettings_ISettingsPaneCommandsRequest::ApplicationCommands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ISettingsPaneCommandsRequest)->get_ApplicationCommands(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsPaneCommandsRequest) consume_Windows_UI_ApplicationSettings_ISettingsPaneCommandsRequestedEventArgs::Request() const + template auto consume_Windows_UI_ApplicationSettings_ISettingsPaneCommandsRequestedEventArgs::Request() const { void* request{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ISettingsPaneCommandsRequestedEventArgs)->get_Request(&request)); return winrt::Windows::UI::ApplicationSettings::SettingsPaneCommandsRequest{ request, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsPane) consume_Windows_UI_ApplicationSettings_ISettingsPaneStatics::GetForCurrentView() const + template auto consume_Windows_UI_ApplicationSettings_ISettingsPaneStatics::GetForCurrentView() const { void* current{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ISettingsPaneStatics)->GetForCurrentView(¤t)); return winrt::Windows::UI::ApplicationSettings::SettingsPane{ current, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ApplicationSettings_ISettingsPaneStatics::Show() const + template auto consume_Windows_UI_ApplicationSettings_ISettingsPaneStatics::Show() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ISettingsPaneStatics)->Show()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsEdgeLocation) consume_Windows_UI_ApplicationSettings_ISettingsPaneStatics::Edge() const + template auto consume_Windows_UI_ApplicationSettings_ISettingsPaneStatics::Edge() const { winrt::Windows::UI::ApplicationSettings::SettingsEdgeLocation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ISettingsPaneStatics)->get_Edge(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) consume_Windows_UI_ApplicationSettings_IWebAccountCommand::WebAccount() const + template auto consume_Windows_UI_ApplicationSettings_IWebAccountCommand::WebAccount() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IWebAccountCommand)->get_WebAccount(&value)); return winrt::Windows::Security::Credentials::WebAccount{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::WebAccountCommandInvokedHandler) consume_Windows_UI_ApplicationSettings_IWebAccountCommand::Invoked() const + template auto consume_Windows_UI_ApplicationSettings_IWebAccountCommand::Invoked() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IWebAccountCommand)->get_Invoked(&value)); return winrt::Windows::UI::ApplicationSettings::WebAccountCommandInvokedHandler{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SupportedWebAccountActions) consume_Windows_UI_ApplicationSettings_IWebAccountCommand::Actions() const + template auto consume_Windows_UI_ApplicationSettings_IWebAccountCommand::Actions() const { winrt::Windows::UI::ApplicationSettings::SupportedWebAccountActions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IWebAccountCommand)->get_Actions(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::WebAccountCommand) consume_Windows_UI_ApplicationSettings_IWebAccountCommandFactory::CreateWebAccountCommand(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::UI::ApplicationSettings::WebAccountCommandInvokedHandler const& invoked, winrt::Windows::UI::ApplicationSettings::SupportedWebAccountActions const& actions) const + template auto consume_Windows_UI_ApplicationSettings_IWebAccountCommandFactory::CreateWebAccountCommand(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::UI::ApplicationSettings::WebAccountCommandInvokedHandler const& invoked, winrt::Windows::UI::ApplicationSettings::SupportedWebAccountActions const& actions) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IWebAccountCommandFactory)->CreateWebAccountCommand(*(void**)(&webAccount), *(void**)(&invoked), static_cast(actions), &instance)); return winrt::Windows::UI::ApplicationSettings::WebAccountCommand{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::WebAccountAction) consume_Windows_UI_ApplicationSettings_IWebAccountInvokedArgs::Action() const + template auto consume_Windows_UI_ApplicationSettings_IWebAccountInvokedArgs::Action() const { winrt::Windows::UI::ApplicationSettings::WebAccountAction action{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IWebAccountInvokedArgs)->get_Action(reinterpret_cast(&action))); return action; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountProvider) consume_Windows_UI_ApplicationSettings_IWebAccountProviderCommand::WebAccountProvider() const + template auto consume_Windows_UI_ApplicationSettings_IWebAccountProviderCommand::WebAccountProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IWebAccountProviderCommand)->get_WebAccountProvider(&value)); return winrt::Windows::Security::Credentials::WebAccountProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::WebAccountProviderCommandInvokedHandler) consume_Windows_UI_ApplicationSettings_IWebAccountProviderCommand::Invoked() const + template auto consume_Windows_UI_ApplicationSettings_IWebAccountProviderCommand::Invoked() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IWebAccountProviderCommand)->get_Invoked(&value)); return winrt::Windows::UI::ApplicationSettings::WebAccountProviderCommandInvokedHandler{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::WebAccountProviderCommand) consume_Windows_UI_ApplicationSettings_IWebAccountProviderCommandFactory::CreateWebAccountProviderCommand(winrt::Windows::Security::Credentials::WebAccountProvider const& webAccountProvider, winrt::Windows::UI::ApplicationSettings::WebAccountProviderCommandInvokedHandler const& invoked) const + template auto consume_Windows_UI_ApplicationSettings_IWebAccountProviderCommandFactory::CreateWebAccountProviderCommand(winrt::Windows::Security::Credentials::WebAccountProvider const& webAccountProvider, winrt::Windows::UI::ApplicationSettings::WebAccountProviderCommandInvokedHandler const& invoked) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IWebAccountProviderCommandFactory)->CreateWebAccountProviderCommand(*(void**)(&webAccountProvider), *(void**)(&invoked), &instance)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Core.h index 999492ec..de02a7f9 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Core.h @@ -1,44 +1,44 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Core_H #define WINRT_Windows_UI_Composition_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Composition.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.UI.Composition.2.h" #include "winrt/impl/Windows.UI.Composition.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Compositor) consume_Windows_UI_Composition_Core_ICompositorController::Compositor() const + template auto consume_Windows_UI_Composition_Core_ICompositorController::Compositor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Core::ICompositorController)->get_Compositor(&value)); return winrt::Windows::UI::Composition::Compositor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Core_ICompositorController::Commit() const + template auto consume_Windows_UI_Composition_Core_ICompositorController::Commit() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Core::ICompositorController)->Commit()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Composition_Core_ICompositorController::EnsurePreviousCommitCompletedAsync() const + template auto consume_Windows_UI_Composition_Core_ICompositorController::EnsurePreviousCommitCompletedAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Core::ICompositorController)->EnsurePreviousCommitCompletedAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Composition_Core_ICompositorController::CommitNeeded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Composition_Core_ICompositorController::CommitNeeded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Core::ICompositorController)->add_CommitNeeded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Composition_Core_ICompositorController::CommitNeeded_revoker consume_Windows_UI_Composition_Core_ICompositorController::CommitNeeded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Composition_Core_ICompositorController::CommitNeeded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CommitNeeded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Core_ICompositorController::CommitNeeded(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Composition_Core_ICompositorController::CommitNeeded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Core::ICompositorController)->remove_CommitNeeded(impl::bind_in(token)); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Desktop.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Desktop.h index 2d855fa6..85ab3ca2 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Desktop.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Desktop.h @@ -1,18 +1,18 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Desktop_H #define WINRT_Windows_UI_Composition_Desktop_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Composition.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.UI.Composition.2.h" #include "winrt/impl/Windows.UI.Composition.Desktop.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Desktop_IDesktopWindowTarget::IsTopmost() const + template auto consume_Windows_UI_Composition_Desktop_IDesktopWindowTarget::IsTopmost() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Desktop::IDesktopWindowTarget)->get_IsTopmost(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Diagnostics.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Diagnostics.h index c69585fe..dbbcbc94 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Diagnostics.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Diagnostics.h @@ -1,39 +1,39 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Diagnostics_H #define WINRT_Windows_UI_Composition_Diagnostics_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Composition.h" #include "winrt/impl/Windows.UI.Composition.2.h" #include "winrt/impl/Windows.UI.Composition.Diagnostics.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps::Hide(winrt::Windows::UI::Composition::Visual const& subtree) const + template auto consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps::Hide(winrt::Windows::UI::Composition::Visual const& subtree) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Diagnostics::ICompositionDebugHeatMaps)->Hide(*(void**)(&subtree))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps::ShowMemoryUsage(winrt::Windows::UI::Composition::Visual const& subtree) const + template auto consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps::ShowMemoryUsage(winrt::Windows::UI::Composition::Visual const& subtree) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Diagnostics::ICompositionDebugHeatMaps)->ShowMemoryUsage(*(void**)(&subtree))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps::ShowOverdraw(winrt::Windows::UI::Composition::Visual const& subtree, winrt::Windows::UI::Composition::Diagnostics::CompositionDebugOverdrawContentKinds const& contentKinds) const + template auto consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps::ShowOverdraw(winrt::Windows::UI::Composition::Visual const& subtree, winrt::Windows::UI::Composition::Diagnostics::CompositionDebugOverdrawContentKinds const& contentKinds) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Diagnostics::ICompositionDebugHeatMaps)->ShowOverdraw(*(void**)(&subtree), static_cast(contentKinds))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps::ShowRedraw(winrt::Windows::UI::Composition::Visual const& subtree) const + template auto consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps::ShowRedraw(winrt::Windows::UI::Composition::Visual const& subtree) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Diagnostics::ICompositionDebugHeatMaps)->ShowRedraw(*(void**)(&subtree))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Diagnostics::CompositionDebugHeatMaps) consume_Windows_UI_Composition_Diagnostics_ICompositionDebugSettings::HeatMaps() const + template auto consume_Windows_UI_Composition_Diagnostics_ICompositionDebugSettings::HeatMaps() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Diagnostics::ICompositionDebugSettings)->get_HeatMaps(&value)); return winrt::Windows::UI::Composition::Diagnostics::CompositionDebugHeatMaps{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Diagnostics::CompositionDebugSettings) consume_Windows_UI_Composition_Diagnostics_ICompositionDebugSettingsStatics::TryGetSettings(winrt::Windows::UI::Composition::Compositor const& compositor) const + template auto consume_Windows_UI_Composition_Diagnostics_ICompositionDebugSettingsStatics::TryGetSettings(winrt::Windows::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Diagnostics::ICompositionDebugSettingsStatics)->TryGetSettings(*(void**)(&compositor), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Effects.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Effects.h index a355401b..1538ad58 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Effects.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Effects.h @@ -1,73 +1,73 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Effects_H #define WINRT_Windows_UI_Composition_Effects_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Composition.h" #include "winrt/impl/Windows.Graphics.Effects.2.h" #include "winrt/impl/Windows.UI.Composition.Effects.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Effects_ISceneLightingEffect::AmbientAmount() const + template auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect::AmbientAmount() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->get_AmbientAmount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Effects_ISceneLightingEffect::AmbientAmount(float value) const + template auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect::AmbientAmount(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->put_AmbientAmount(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Effects_ISceneLightingEffect::DiffuseAmount() const + template auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect::DiffuseAmount() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->get_DiffuseAmount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Effects_ISceneLightingEffect::DiffuseAmount(float value) const + template auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect::DiffuseAmount(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->put_DiffuseAmount(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Effects::IGraphicsEffectSource) consume_Windows_UI_Composition_Effects_ISceneLightingEffect::NormalMapSource() const + template auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect::NormalMapSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->get_NormalMapSource(&value)); return winrt::Windows::Graphics::Effects::IGraphicsEffectSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Effects_ISceneLightingEffect::NormalMapSource(winrt::Windows::Graphics::Effects::IGraphicsEffectSource const& value) const + template auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect::NormalMapSource(winrt::Windows::Graphics::Effects::IGraphicsEffectSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->put_NormalMapSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Effects_ISceneLightingEffect::SpecularAmount() const + template auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect::SpecularAmount() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->get_SpecularAmount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Effects_ISceneLightingEffect::SpecularAmount(float value) const + template auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect::SpecularAmount(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->put_SpecularAmount(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Effects_ISceneLightingEffect::SpecularShine() const + template auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect::SpecularShine() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->get_SpecularShine(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Effects_ISceneLightingEffect::SpecularShine(float value) const + template auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect::SpecularShine(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->put_SpecularShine(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Effects::SceneLightingEffectReflectanceModel) consume_Windows_UI_Composition_Effects_ISceneLightingEffect2::ReflectanceModel() const + template auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect2::ReflectanceModel() const { winrt::Windows::UI::Composition::Effects::SceneLightingEffectReflectanceModel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect2)->get_ReflectanceModel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Effects_ISceneLightingEffect2::ReflectanceModel(winrt::Windows::UI::Composition::Effects::SceneLightingEffectReflectanceModel const& value) const + template auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect2::ReflectanceModel(winrt::Windows::UI::Composition::Effects::SceneLightingEffectReflectanceModel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect2)->put_ReflectanceModel(static_cast(value))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Interactions.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Interactions.h index 583a1db2..0a76d736 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Interactions.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Interactions.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Interactions_H #define WINRT_Windows_UI_Composition_Interactions_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Composition.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,725 +15,725 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Composition.Interactions.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue::Condition() const + template auto consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue::Condition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::ICompositionConditionalValue)->get_Condition(&value)); return winrt::Windows::UI::Composition::ExpressionAnimation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue::Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const + template auto consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue::Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::ICompositionConditionalValue)->put_Condition(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue::Value() const + template auto consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::ICompositionConditionalValue)->get_Value(&value)); return winrt::Windows::UI::Composition::ExpressionAnimation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue::Value(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const + template auto consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue::Value(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::ICompositionConditionalValue)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue) consume_Windows_UI_Composition_Interactions_ICompositionConditionalValueStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const + template auto consume_Windows_UI_Composition_Interactions_ICompositionConditionalValueStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::ICompositionConditionalValueStatics)->Create(*(void**)(&compositor), &result)); return winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection::Count() const + template auto consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection::Count() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSourceCollection)->get_Count(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection::Add(winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSource const& value) const + template auto consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection::Add(winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSourceCollection)->Add(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection::Remove(winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSource const& value) const + template auto consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection::Remove(winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSourceCollection)->Remove(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection::RemoveAll() const + template auto consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection::RemoveAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSourceCollection)->RemoveAll()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode) consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration::PositionXSourceMode() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration::PositionXSourceMode() const { winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionSourceConfiguration)->get_PositionXSourceMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration::PositionXSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration::PositionXSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionSourceConfiguration)->put_PositionXSourceMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode) consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration::PositionYSourceMode() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration::PositionYSourceMode() const { winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionSourceConfiguration)->get_PositionYSourceMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration::PositionYSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration::PositionYSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionSourceConfiguration)->put_PositionYSourceMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode) consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration::ScaleSourceMode() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration::ScaleSourceMode() const { winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionSourceConfiguration)->get_ScaleSourceMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration::ScaleSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration::ScaleSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionSourceConfiguration)->put_ScaleSourceMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::CompositionInteractionSourceCollection) consume_Windows_UI_Composition_Interactions_IInteractionTracker::InteractionSources() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::InteractionSources() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_InteractionSources(&value)); return winrt::Windows::UI::Composition::Interactions::CompositionInteractionSourceCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IInteractionTracker::IsPositionRoundingSuggested() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::IsPositionRoundingSuggested() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_IsPositionRoundingSuggested(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IInteractionTracker::MaxPosition() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::MaxPosition() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_MaxPosition(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker::MaxPosition(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::MaxPosition(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->put_MaxPosition(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IInteractionTracker::MaxScale() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::MaxScale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_MaxScale(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker::MaxScale(float value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::MaxScale(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->put_MaxScale(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IInteractionTracker::MinPosition() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::MinPosition() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_MinPosition(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker::MinPosition(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::MinPosition(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->put_MinPosition(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IInteractionTracker::MinScale() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::MinScale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_MinScale(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker::MinScale(float value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::MinScale(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->put_MinScale(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IInteractionTracker::NaturalRestingPosition() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::NaturalRestingPosition() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_NaturalRestingPosition(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IInteractionTracker::NaturalRestingScale() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::NaturalRestingScale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_NaturalRestingScale(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerOwner) consume_Windows_UI_Composition_Interactions_IInteractionTracker::Owner() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::Owner() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_Owner(&value)); return winrt::Windows::UI::Composition::Interactions::IInteractionTrackerOwner{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IInteractionTracker::Position() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::Position() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Composition_Interactions_IInteractionTracker::PositionInertiaDecayRate() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::PositionInertiaDecayRate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_PositionInertiaDecayRate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker::PositionInertiaDecayRate(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::PositionInertiaDecayRate(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->put_PositionInertiaDecayRate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IInteractionTracker::PositionVelocityInPixelsPerSecond() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::PositionVelocityInPixelsPerSecond() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_PositionVelocityInPixelsPerSecond(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IInteractionTracker::Scale() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::Scale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_Scale(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Composition_Interactions_IInteractionTracker::ScaleInertiaDecayRate() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::ScaleInertiaDecayRate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_ScaleInertiaDecayRate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker::ScaleInertiaDecayRate(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::ScaleInertiaDecayRate(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->put_ScaleInertiaDecayRate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IInteractionTracker::ScaleVelocityInPercentPerSecond() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::ScaleVelocityInPercentPerSecond() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_ScaleVelocityInPercentPerSecond(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker::AdjustPositionXIfGreaterThanThreshold(float adjustment, float positionThreshold) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::AdjustPositionXIfGreaterThanThreshold(float adjustment, float positionThreshold) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->AdjustPositionXIfGreaterThanThreshold(adjustment, positionThreshold)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker::AdjustPositionYIfGreaterThanThreshold(float adjustment, float positionThreshold) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::AdjustPositionYIfGreaterThanThreshold(float adjustment, float positionThreshold) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->AdjustPositionYIfGreaterThanThreshold(adjustment, positionThreshold)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker::ConfigurePositionXInertiaModifiers(param::iterable const& modifiers) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::ConfigurePositionXInertiaModifiers(param::iterable const& modifiers) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->ConfigurePositionXInertiaModifiers(*(void**)(&modifiers))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker::ConfigurePositionYInertiaModifiers(param::iterable const& modifiers) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::ConfigurePositionYInertiaModifiers(param::iterable const& modifiers) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->ConfigurePositionYInertiaModifiers(*(void**)(&modifiers))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker::ConfigureScaleInertiaModifiers(param::iterable const& modifiers) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::ConfigureScaleInertiaModifiers(param::iterable const& modifiers) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->ConfigureScaleInertiaModifiers(*(void**)(&modifiers))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker::TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->TryUpdatePosition(impl::bind_in(value), &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker::TryUpdatePositionBy(winrt::Windows::Foundation::Numerics::float3 const& amount) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::TryUpdatePositionBy(winrt::Windows::Foundation::Numerics::float3 const& amount) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->TryUpdatePositionBy(impl::bind_in(amount), &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker::TryUpdatePositionWithAnimation(winrt::Windows::UI::Composition::CompositionAnimation const& animation) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::TryUpdatePositionWithAnimation(winrt::Windows::UI::Composition::CompositionAnimation const& animation) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->TryUpdatePositionWithAnimation(*(void**)(&animation), &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker::TryUpdatePositionWithAdditionalVelocity(winrt::Windows::Foundation::Numerics::float3 const& velocityInPixelsPerSecond) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::TryUpdatePositionWithAdditionalVelocity(winrt::Windows::Foundation::Numerics::float3 const& velocityInPixelsPerSecond) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->TryUpdatePositionWithAdditionalVelocity(impl::bind_in(velocityInPixelsPerSecond), &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker::TryUpdateScale(float value, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::TryUpdateScale(float value, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->TryUpdateScale(value, impl::bind_in(centerPoint), &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker::TryUpdateScaleWithAnimation(winrt::Windows::UI::Composition::CompositionAnimation const& animation, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::TryUpdateScaleWithAnimation(winrt::Windows::UI::Composition::CompositionAnimation const& animation, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->TryUpdateScaleWithAnimation(*(void**)(&animation), impl::bind_in(centerPoint), &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker::TryUpdateScaleWithAdditionalVelocity(float velocityInPercentPerSecond, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker::TryUpdateScaleWithAdditionalVelocity(float velocityInPercentPerSecond, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->TryUpdateScaleWithAdditionalVelocity(velocityInPercentPerSecond, impl::bind_in(centerPoint), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker2::ConfigureCenterPointXInertiaModifiers(param::iterable const& conditionalValues) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker2::ConfigureCenterPointXInertiaModifiers(param::iterable const& conditionalValues) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker2)->ConfigureCenterPointXInertiaModifiers(*(void**)(&conditionalValues))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker2::ConfigureCenterPointYInertiaModifiers(param::iterable const& conditionalValues) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker2::ConfigureCenterPointYInertiaModifiers(param::iterable const& conditionalValues) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker2)->ConfigureCenterPointYInertiaModifiers(*(void**)(&conditionalValues))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker3::ConfigureVector2PositionInertiaModifiers(param::iterable const& modifiers) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker3::ConfigureVector2PositionInertiaModifiers(param::iterable const& modifiers) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker3)->ConfigureVector2PositionInertiaModifiers(*(void**)(&modifiers))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker4::TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value, winrt::Windows::UI::Composition::Interactions::InteractionTrackerClampingOption const& option) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker4::TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value, winrt::Windows::UI::Composition::Interactions::InteractionTrackerClampingOption const& option) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker4)->TryUpdatePositionWithOption(impl::bind_in(value), static_cast(option), &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker4::TryUpdatePositionBy(winrt::Windows::Foundation::Numerics::float3 const& amount, winrt::Windows::UI::Composition::Interactions::InteractionTrackerClampingOption const& option) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker4::TryUpdatePositionBy(winrt::Windows::Foundation::Numerics::float3 const& amount, winrt::Windows::UI::Composition::Interactions::InteractionTrackerClampingOption const& option) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker4)->TryUpdatePositionByWithOption(impl::bind_in(amount), static_cast(option), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IInteractionTracker4::IsInertiaFromImpulse() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker4::IsInertiaFromImpulse() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker4)->get_IsInertiaFromImpulse(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker5::TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value, winrt::Windows::UI::Composition::Interactions::InteractionTrackerClampingOption const& option, winrt::Windows::UI::Composition::Interactions::InteractionTrackerPositionUpdateOption const& posUpdateOption) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTracker5::TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value, winrt::Windows::UI::Composition::Interactions::InteractionTrackerClampingOption const& option, winrt::Windows::UI::Composition::Interactions::InteractionTrackerPositionUpdateOption const& posUpdateOption) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker5)->TryUpdatePositionWithOption(impl::bind_in(value), static_cast(option), static_cast(posUpdateOption), &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTrackerCustomAnimationStateEnteredArgs::RequestId() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerCustomAnimationStateEnteredArgs::RequestId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerCustomAnimationStateEnteredArgs)->get_RequestId(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IInteractionTrackerCustomAnimationStateEnteredArgs2::IsFromBinding() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerCustomAnimationStateEnteredArgs2::IsFromBinding() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerCustomAnimationStateEnteredArgs2)->get_IsFromBinding(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTrackerIdleStateEnteredArgs::RequestId() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerIdleStateEnteredArgs::RequestId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerIdleStateEnteredArgs)->get_RequestId(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IInteractionTrackerIdleStateEnteredArgs2::IsFromBinding() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerIdleStateEnteredArgs2::IsFromBinding() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerIdleStateEnteredArgs2)->get_IsFromBinding(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion::Condition() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion::Condition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaMotion)->get_Condition(&value)); return winrt::Windows::UI::Composition::ExpressionAnimation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion::Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion::Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaMotion)->put_Condition(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion::Motion() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion::Motion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaMotion)->get_Motion(&value)); return winrt::Windows::UI::Composition::ExpressionAnimation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion::Motion(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion::Motion(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaMotion)->put_Motion(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaMotion) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotionStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotionStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaMotionStatics)->Create(*(void**)(&compositor), &result)); return winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaMotion{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion::Condition() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion::Condition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaNaturalMotion)->get_Condition(&value)); return winrt::Windows::UI::Composition::ExpressionAnimation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion::Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion::Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaNaturalMotion)->put_Condition(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ScalarNaturalMotionAnimation) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion::NaturalMotion() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion::NaturalMotion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaNaturalMotion)->get_NaturalMotion(&value)); return winrt::Windows::UI::Composition::ScalarNaturalMotionAnimation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion::NaturalMotion(winrt::Windows::UI::Composition::ScalarNaturalMotionAnimation const& value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion::NaturalMotion(winrt::Windows::UI::Composition::ScalarNaturalMotionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaNaturalMotion)->put_NaturalMotion(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaNaturalMotion) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotionStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotionStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaNaturalMotionStatics)->Create(*(void**)(&compositor), &result)); return winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaNaturalMotion{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue::Condition() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue::Condition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaRestingValue)->get_Condition(&value)); return winrt::Windows::UI::Composition::ExpressionAnimation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue::Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue::Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaRestingValue)->put_Condition(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue::RestingValue() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue::RestingValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaRestingValue)->get_RestingValue(&value)); return winrt::Windows::UI::Composition::ExpressionAnimation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue::RestingValue(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue::RestingValue(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaRestingValue)->put_RestingValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaRestingValue) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValueStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValueStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaRestingValueStatics)->Create(*(void**)(&compositor), &result)); return winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaRestingValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::ModifiedRestingPosition() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::ModifiedRestingPosition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_ModifiedRestingPosition(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::ModifiedRestingScale() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::ModifiedRestingScale() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_ModifiedRestingScale(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::NaturalRestingPosition() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::NaturalRestingPosition() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_NaturalRestingPosition(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::NaturalRestingScale() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::NaturalRestingScale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_NaturalRestingScale(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::PositionVelocityInPixelsPerSecond() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::PositionVelocityInPixelsPerSecond() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_PositionVelocityInPixelsPerSecond(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::RequestId() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::RequestId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_RequestId(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::ScaleVelocityInPercentPerSecond() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs::ScaleVelocityInPercentPerSecond() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_ScaleVelocityInPercentPerSecond(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs2::IsInertiaFromImpulse() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs2::IsInertiaFromImpulse() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs2)->get_IsInertiaFromImpulse(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs3::IsFromBinding() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs3::IsFromBinding() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs3)->get_IsFromBinding(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInteractingStateEnteredArgs::RequestId() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInteractingStateEnteredArgs::RequestId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInteractingStateEnteredArgs)->get_RequestId(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInteractingStateEnteredArgs2::IsFromBinding() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInteractingStateEnteredArgs2::IsFromBinding() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInteractingStateEnteredArgs2)->get_IsFromBinding(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner::CustomAnimationStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerCustomAnimationStateEnteredArgs const& args) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner::CustomAnimationStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerCustomAnimationStateEnteredArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerOwner)->CustomAnimationStateEntered(*(void**)(&sender), *(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner::IdleStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerIdleStateEnteredArgs const& args) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner::IdleStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerIdleStateEnteredArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerOwner)->IdleStateEntered(*(void**)(&sender), *(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner::InertiaStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaStateEnteredArgs const& args) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner::InertiaStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaStateEnteredArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerOwner)->InertiaStateEntered(*(void**)(&sender), *(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner::InteractingStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerInteractingStateEnteredArgs const& args) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner::InteractingStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerInteractingStateEnteredArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerOwner)->InteractingStateEntered(*(void**)(&sender), *(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner::RequestIgnored(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerRequestIgnoredArgs const& args) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner::RequestIgnored(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerRequestIgnoredArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerOwner)->RequestIgnored(*(void**)(&sender), *(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner::ValuesChanged(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerValuesChangedArgs const& args) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner::ValuesChanged(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerValuesChangedArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerOwner)->ValuesChanged(*(void**)(&sender), *(void**)(&args))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTrackerRequestIgnoredArgs::RequestId() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerRequestIgnoredArgs::RequestId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerRequestIgnoredArgs)->get_RequestId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTracker) consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerStatics)->Create(*(void**)(&compositor), &result)); return winrt::Windows::UI::Composition::Interactions::InteractionTracker{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTracker) consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics::CreateWithOwner(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::UI::Composition::Interactions::IInteractionTrackerOwner const& owner) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics::CreateWithOwner(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::UI::Composition::Interactions::IInteractionTrackerOwner const& owner) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerStatics)->CreateWithOwner(*(void**)(&compositor), *(void**)(&owner), &result)); return winrt::Windows::UI::Composition::Interactions::InteractionTracker{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics2::SetBindingMode(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker1, winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker2, winrt::Windows::UI::Composition::Interactions::InteractionBindingAxisModes const& axisMode) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics2::SetBindingMode(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker1, winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker2, winrt::Windows::UI::Composition::Interactions::InteractionBindingAxisModes const& axisMode) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerStatics2)->SetBindingMode(*(void**)(&boundTracker1), *(void**)(&boundTracker2), static_cast(axisMode))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionBindingAxisModes) consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics2::GetBindingMode(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker1, winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker2) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics2::GetBindingMode(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker1, winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker2) const { winrt::Windows::UI::Composition::Interactions::InteractionBindingAxisModes result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerStatics2)->GetBindingMode(*(void**)(&boundTracker1), *(void**)(&boundTracker2), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IInteractionTrackerValuesChangedArgs::Position() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerValuesChangedArgs::Position() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerValuesChangedArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTrackerValuesChangedArgs::RequestId() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerValuesChangedArgs::RequestId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerValuesChangedArgs)->get_RequestId(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IInteractionTrackerValuesChangedArgs::Scale() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerValuesChangedArgs::Scale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerValuesChangedArgs)->get_Scale(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion::Condition() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion::Condition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerVector2InertiaNaturalMotion)->get_Condition(&value)); return winrt::Windows::UI::Composition::ExpressionAnimation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion::Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion::Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerVector2InertiaNaturalMotion)->put_Condition(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Vector2NaturalMotionAnimation) consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion::NaturalMotion() const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion::NaturalMotion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerVector2InertiaNaturalMotion)->get_NaturalMotion(&value)); return winrt::Windows::UI::Composition::Vector2NaturalMotionAnimation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion::NaturalMotion(winrt::Windows::UI::Composition::Vector2NaturalMotionAnimation const& value) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion::NaturalMotion(winrt::Windows::UI::Composition::Vector2NaturalMotionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerVector2InertiaNaturalMotion)->put_NaturalMotion(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTrackerVector2InertiaNaturalMotion) consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotionStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const + template auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotionStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerVector2InertiaNaturalMotionStatics)->Create(*(void**)(&compositor), &result)); return winrt::Windows::UI::Composition::Interactions::InteractionTrackerVector2InertiaNaturalMotion{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::IsPositionXRailsEnabled() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::IsPositionXRailsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_IsPositionXRailsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::IsPositionXRailsEnabled(bool value) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::IsPositionXRailsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->put_IsPositionXRailsEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::IsPositionYRailsEnabled() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::IsPositionYRailsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_IsPositionYRailsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::IsPositionYRailsEnabled(bool value) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::IsPositionYRailsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->put_IsPositionYRailsEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::VisualInteractionSourceRedirectionMode) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::ManipulationRedirectionMode() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::ManipulationRedirectionMode() const { winrt::Windows::UI::Composition::Interactions::VisualInteractionSourceRedirectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_ManipulationRedirectionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::ManipulationRedirectionMode(winrt::Windows::UI::Composition::Interactions::VisualInteractionSourceRedirectionMode const& value) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::ManipulationRedirectionMode(winrt::Windows::UI::Composition::Interactions::VisualInteractionSourceRedirectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->put_ManipulationRedirectionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::PositionXChainingMode() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::PositionXChainingMode() const { winrt::Windows::UI::Composition::Interactions::InteractionChainingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_PositionXChainingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::PositionXChainingMode(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode const& value) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::PositionXChainingMode(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->put_PositionXChainingMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::PositionXSourceMode() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::PositionXSourceMode() const { winrt::Windows::UI::Composition::Interactions::InteractionSourceMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_PositionXSourceMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::PositionXSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode const& value) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::PositionXSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->put_PositionXSourceMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::PositionYChainingMode() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::PositionYChainingMode() const { winrt::Windows::UI::Composition::Interactions::InteractionChainingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_PositionYChainingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::PositionYChainingMode(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode const& value) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::PositionYChainingMode(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->put_PositionYChainingMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::PositionYSourceMode() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::PositionYSourceMode() const { winrt::Windows::UI::Composition::Interactions::InteractionSourceMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_PositionYSourceMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::PositionYSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode const& value) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::PositionYSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->put_PositionYSourceMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::ScaleChainingMode() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::ScaleChainingMode() const { winrt::Windows::UI::Composition::Interactions::InteractionChainingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_ScaleChainingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::ScaleChainingMode(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode const& value) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::ScaleChainingMode(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->put_ScaleChainingMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::ScaleSourceMode() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::ScaleSourceMode() const { winrt::Windows::UI::Composition::Interactions::InteractionSourceMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_ScaleSourceMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::ScaleSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode const& value) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::ScaleSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->put_ScaleSourceMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::Source() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_Source(&value)); return winrt::Windows::UI::Composition::Visual{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::TryRedirectForManipulation(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource::TryRedirectForManipulation(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->TryRedirectForManipulation(*(void**)(&pointerPoint))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::DeltaPosition() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::DeltaPosition() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->get_DeltaPosition(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::DeltaScale() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::DeltaScale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->get_DeltaScale(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::Position() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::Position() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::PositionVelocity() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::PositionVelocity() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->get_PositionVelocity(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::Scale() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::Scale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->get_Scale(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::ScaleVelocity() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::ScaleVelocity() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->get_ScaleVelocity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::ConfigureCenterPointXModifiers(param::iterable const& conditionalValues) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::ConfigureCenterPointXModifiers(param::iterable const& conditionalValues) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->ConfigureCenterPointXModifiers(*(void**)(&conditionalValues))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::ConfigureCenterPointYModifiers(param::iterable const& conditionalValues) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::ConfigureCenterPointYModifiers(param::iterable const& conditionalValues) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->ConfigureCenterPointYModifiers(*(void**)(&conditionalValues))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::ConfigureDeltaPositionXModifiers(param::iterable const& conditionalValues) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::ConfigureDeltaPositionXModifiers(param::iterable const& conditionalValues) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->ConfigureDeltaPositionXModifiers(*(void**)(&conditionalValues))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::ConfigureDeltaPositionYModifiers(param::iterable const& conditionalValues) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::ConfigureDeltaPositionYModifiers(param::iterable const& conditionalValues) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->ConfigureDeltaPositionYModifiers(*(void**)(&conditionalValues))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::ConfigureDeltaScaleModifiers(param::iterable const& conditionalValues) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2::ConfigureDeltaScaleModifiers(param::iterable const& conditionalValues) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->ConfigureDeltaScaleModifiers(*(void**)(&conditionalValues))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceConfiguration) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource3::PointerWheelConfig() const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource3::PointerWheelConfig() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource3)->get_PointerWheelConfig(&value)); return winrt::Windows::UI::Composition::Interactions::InteractionSourceConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::VisualInteractionSource) consume_Windows_UI_Composition_Interactions_IVisualInteractionSourceStatics::Create(winrt::Windows::UI::Composition::Visual const& source) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSourceStatics::Create(winrt::Windows::UI::Composition::Visual const& source) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSourceStatics)->Create(*(void**)(&source), &result)); return winrt::Windows::UI::Composition::Interactions::VisualInteractionSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::VisualInteractionSource) consume_Windows_UI_Composition_Interactions_IVisualInteractionSourceStatics2::CreateFromIVisualElement(winrt::Windows::UI::Composition::IVisualElement const& source) const + template auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSourceStatics2::CreateFromIVisualElement(winrt::Windows::UI::Composition::IVisualElement const& source) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSourceStatics2)->CreateFromIVisualElement(*(void**)(&source), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Scenes.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Scenes.h index be9452d3..60258e01 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Scenes.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Scenes.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Scenes_H #define WINRT_Windows_UI_Composition_Scenes_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Composition.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,399 +15,399 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Composition.Scenes.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_ISceneBoundingBox::Center() const + template auto consume_Windows_UI_Composition_Scenes_ISceneBoundingBox::Center() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneBoundingBox)->get_Center(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_ISceneBoundingBox::Extents() const + template auto consume_Windows_UI_Composition_Scenes_ISceneBoundingBox::Extents() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneBoundingBox)->get_Extents(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_ISceneBoundingBox::Max() const + template auto consume_Windows_UI_Composition_Scenes_ISceneBoundingBox::Max() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneBoundingBox)->get_Max(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_ISceneBoundingBox::Min() const + template auto consume_Windows_UI_Composition_Scenes_ISceneBoundingBox::Min() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneBoundingBox)->get_Min(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_ISceneBoundingBox::Size() const + template auto consume_Windows_UI_Composition_Scenes_ISceneBoundingBox::Size() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneBoundingBox)->get_Size(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneComponentType) consume_Windows_UI_Composition_Scenes_ISceneComponent::ComponentType() const + template auto consume_Windows_UI_Composition_Scenes_ISceneComponent::ComponentType() const { winrt::Windows::UI::Composition::Scenes::SceneComponentType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneComponent)->get_ComponentType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneBoundingBox) consume_Windows_UI_Composition_Scenes_ISceneMesh::Bounds() const + template auto consume_Windows_UI_Composition_Scenes_ISceneMesh::Bounds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMesh)->get_Bounds(&value)); return winrt::Windows::UI::Composition::Scenes::SceneBoundingBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPrimitiveTopology) consume_Windows_UI_Composition_Scenes_ISceneMesh::PrimitiveTopology() const + template auto consume_Windows_UI_Composition_Scenes_ISceneMesh::PrimitiveTopology() const { winrt::Windows::Graphics::DirectX::DirectXPrimitiveTopology value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMesh)->get_PrimitiveTopology(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMesh::PrimitiveTopology(winrt::Windows::Graphics::DirectX::DirectXPrimitiveTopology const& value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneMesh::PrimitiveTopology(winrt::Windows::Graphics::DirectX::DirectXPrimitiveTopology const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMesh)->put_PrimitiveTopology(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMesh::FillMeshAttribute(winrt::Windows::UI::Composition::Scenes::SceneAttributeSemantic const& semantic, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, winrt::Windows::Foundation::MemoryBuffer const& memory) const + template auto consume_Windows_UI_Composition_Scenes_ISceneMesh::FillMeshAttribute(winrt::Windows::UI::Composition::Scenes::SceneAttributeSemantic const& semantic, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, winrt::Windows::Foundation::MemoryBuffer const& memory) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMesh)->FillMeshAttribute(static_cast(semantic), static_cast(format), *(void**)(&memory))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterial) consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent::Material() const + template auto consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent::Material() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMeshRendererComponent)->get_Material(&value)); return winrt::Windows::UI::Composition::Scenes::SceneMaterial{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent::Material(winrt::Windows::UI::Composition::Scenes::SceneMaterial const& value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent::Material(winrt::Windows::UI::Composition::Scenes::SceneMaterial const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMeshRendererComponent)->put_Material(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMesh) consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent::Mesh() const + template auto consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent::Mesh() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMeshRendererComponent)->get_Mesh(&value)); return winrt::Windows::UI::Composition::Scenes::SceneMesh{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent::Mesh(winrt::Windows::UI::Composition::Scenes::SceneMesh const& value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent::Mesh(winrt::Windows::UI::Composition::Scenes::SceneMesh const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMeshRendererComponent)->put_Mesh(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMeshMaterialAttributeMap) consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent::UVMappings() const + template auto consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent::UVMappings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMeshRendererComponent)->get_UVMappings(&value)); return winrt::Windows::UI::Composition::Scenes::SceneMeshMaterialAttributeMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMeshRendererComponent) consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponentStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const + template auto consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponentStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMeshRendererComponentStatics)->Create(*(void**)(&compositor), &result)); return winrt::Windows::UI::Composition::Scenes::SceneMeshRendererComponent{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMesh) consume_Windows_UI_Composition_Scenes_ISceneMeshStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const + template auto consume_Windows_UI_Composition_Scenes_ISceneMeshStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMeshStatics)->Create(*(void**)(&compositor), &result)); return winrt::Windows::UI::Composition::Scenes::SceneMesh{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::BaseColorInput() const + template auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::BaseColorInput() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterial)->get_BaseColorInput(&value)); return winrt::Windows::UI::Composition::Scenes::SceneMaterialInput{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::BaseColorInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::BaseColorInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterial)->put_BaseColorInput(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::BaseColorFactor() const + template auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::BaseColorFactor() const { winrt::Windows::Foundation::Numerics::float4 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterial)->get_BaseColorFactor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::BaseColorFactor(winrt::Windows::Foundation::Numerics::float4 const& value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::BaseColorFactor(winrt::Windows::Foundation::Numerics::float4 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterial)->put_BaseColorFactor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::MetallicFactor() const + template auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::MetallicFactor() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterial)->get_MetallicFactor(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::MetallicFactor(float value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::MetallicFactor(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterial)->put_MetallicFactor(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::MetallicRoughnessInput() const + template auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::MetallicRoughnessInput() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterial)->get_MetallicRoughnessInput(&value)); return winrt::Windows::UI::Composition::Scenes::SceneMaterialInput{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::MetallicRoughnessInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::MetallicRoughnessInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterial)->put_MetallicRoughnessInput(*(void**)(&value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::RoughnessFactor() const + template auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::RoughnessFactor() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterial)->get_RoughnessFactor(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::RoughnessFactor(float value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial::RoughnessFactor(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterial)->put_RoughnessFactor(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMetallicRoughnessMaterial) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterialStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const + template auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterialStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterialStatics)->Create(*(void**)(&compositor), &result)); return winrt::Windows::UI::Composition::Scenes::SceneMetallicRoughnessMaterial{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_UI_Composition_Scenes_ISceneModelTransform::Orientation() const + template auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform::Orientation() const { winrt::Windows::Foundation::Numerics::quaternion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneModelTransform)->get_Orientation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneModelTransform::Orientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform::Orientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneModelTransform)->put_Orientation(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Scenes_ISceneModelTransform::RotationAngle() const + template auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform::RotationAngle() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneModelTransform)->get_RotationAngle(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneModelTransform::RotationAngle(float value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform::RotationAngle(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneModelTransform)->put_RotationAngle(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Scenes_ISceneModelTransform::RotationAngleInDegrees() const + template auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform::RotationAngleInDegrees() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneModelTransform)->get_RotationAngleInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneModelTransform::RotationAngleInDegrees(float value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform::RotationAngleInDegrees(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneModelTransform)->put_RotationAngleInDegrees(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_ISceneModelTransform::RotationAxis() const + template auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform::RotationAxis() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneModelTransform)->get_RotationAxis(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneModelTransform::RotationAxis(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform::RotationAxis(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneModelTransform)->put_RotationAxis(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_ISceneModelTransform::Scale() const + template auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform::Scale() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneModelTransform)->get_Scale(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneModelTransform::Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform::Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneModelTransform)->put_Scale(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_ISceneModelTransform::Translation() const + template auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform::Translation() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneModelTransform)->get_Translation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneModelTransform::Translation(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform::Translation(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneModelTransform)->put_Translation(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneNodeCollection) consume_Windows_UI_Composition_Scenes_ISceneNode::Children() const + template auto consume_Windows_UI_Composition_Scenes_ISceneNode::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneNode)->get_Children(&value)); return winrt::Windows::UI::Composition::Scenes::SceneNodeCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneComponentCollection) consume_Windows_UI_Composition_Scenes_ISceneNode::Components() const + template auto consume_Windows_UI_Composition_Scenes_ISceneNode::Components() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneNode)->get_Components(&value)); return winrt::Windows::UI::Composition::Scenes::SceneComponentCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneNode) consume_Windows_UI_Composition_Scenes_ISceneNode::Parent() const + template auto consume_Windows_UI_Composition_Scenes_ISceneNode::Parent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneNode)->get_Parent(&value)); return winrt::Windows::UI::Composition::Scenes::SceneNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneModelTransform) consume_Windows_UI_Composition_Scenes_ISceneNode::Transform() const + template auto consume_Windows_UI_Composition_Scenes_ISceneNode::Transform() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneNode)->get_Transform(&value)); return winrt::Windows::UI::Composition::Scenes::SceneModelTransform{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneComponent) consume_Windows_UI_Composition_Scenes_ISceneNode::FindFirstComponentOfType(winrt::Windows::UI::Composition::Scenes::SceneComponentType const& value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneNode::FindFirstComponentOfType(winrt::Windows::UI::Composition::Scenes::SceneComponentType const& value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneNode)->FindFirstComponentOfType(static_cast(value), &result)); return winrt::Windows::UI::Composition::Scenes::SceneComponent{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneNode) consume_Windows_UI_Composition_Scenes_ISceneNodeStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const + template auto consume_Windows_UI_Composition_Scenes_ISceneNodeStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneNodeStatics)->Create(*(void**)(&compositor), &result)); return winrt::Windows::UI::Composition::Scenes::SceneNode{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::AlphaCutoff() const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::AlphaCutoff() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->get_AlphaCutoff(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::AlphaCutoff(float value) const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::AlphaCutoff(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->put_AlphaCutoff(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneAlphaMode) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::AlphaMode() const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::AlphaMode() const { winrt::Windows::UI::Composition::Scenes::SceneAlphaMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->get_AlphaMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::AlphaMode(winrt::Windows::UI::Composition::Scenes::SceneAlphaMode const& value) const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::AlphaMode(winrt::Windows::UI::Composition::Scenes::SceneAlphaMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->put_AlphaMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::EmissiveInput() const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::EmissiveInput() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->get_EmissiveInput(&value)); return winrt::Windows::UI::Composition::Scenes::SceneMaterialInput{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::EmissiveInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::EmissiveInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->put_EmissiveInput(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::EmissiveFactor() const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::EmissiveFactor() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->get_EmissiveFactor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::EmissiveFactor(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::EmissiveFactor(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->put_EmissiveFactor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::IsDoubleSided() const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::IsDoubleSided() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->get_IsDoubleSided(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::IsDoubleSided(bool value) const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::IsDoubleSided(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->put_IsDoubleSided(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::NormalInput() const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::NormalInput() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->get_NormalInput(&value)); return winrt::Windows::UI::Composition::Scenes::SceneMaterialInput{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::NormalInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::NormalInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->put_NormalInput(*(void**)(&value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::NormalScale() const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::NormalScale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->get_NormalScale(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::NormalScale(float value) const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::NormalScale(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->put_NormalScale(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::OcclusionInput() const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::OcclusionInput() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->get_OcclusionInput(&value)); return winrt::Windows::UI::Composition::Scenes::SceneMaterialInput{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::OcclusionInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::OcclusionInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->put_OcclusionInput(*(void**)(&value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::OcclusionStrength() const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::OcclusionStrength() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->get_OcclusionStrength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::OcclusionStrength(float value) const + template auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial::OcclusionStrength(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->put_OcclusionStrength(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput::BitmapInterpolationMode() const + template auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput::BitmapInterpolationMode() const { winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneSurfaceMaterialInput)->get_BitmapInterpolationMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput::BitmapInterpolationMode(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode const& value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput::BitmapInterpolationMode(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneSurfaceMaterialInput)->put_BitmapInterpolationMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ICompositionSurface) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput::Surface() const + template auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput::Surface() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneSurfaceMaterialInput)->get_Surface(&value)); return winrt::Windows::UI::Composition::ICompositionSurface{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput::Surface(winrt::Windows::UI::Composition::ICompositionSurface const& value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput::Surface(winrt::Windows::UI::Composition::ICompositionSurface const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneSurfaceMaterialInput)->put_Surface(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneWrappingMode) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput::WrappingUMode() const + template auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput::WrappingUMode() const { winrt::Windows::UI::Composition::Scenes::SceneWrappingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneSurfaceMaterialInput)->get_WrappingUMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput::WrappingUMode(winrt::Windows::UI::Composition::Scenes::SceneWrappingMode const& value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput::WrappingUMode(winrt::Windows::UI::Composition::Scenes::SceneWrappingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneSurfaceMaterialInput)->put_WrappingUMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneWrappingMode) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput::WrappingVMode() const + template auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput::WrappingVMode() const { winrt::Windows::UI::Composition::Scenes::SceneWrappingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneSurfaceMaterialInput)->get_WrappingVMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput::WrappingVMode(winrt::Windows::UI::Composition::Scenes::SceneWrappingMode const& value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput::WrappingVMode(winrt::Windows::UI::Composition::Scenes::SceneWrappingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneSurfaceMaterialInput)->put_WrappingVMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneSurfaceMaterialInput) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInputStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const + template auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInputStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneSurfaceMaterialInputStatics)->Create(*(void**)(&compositor), &result)); return winrt::Windows::UI::Composition::Scenes::SceneSurfaceMaterialInput{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneNode) consume_Windows_UI_Composition_Scenes_ISceneVisual::Root() const + template auto consume_Windows_UI_Composition_Scenes_ISceneVisual::Root() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneVisual)->get_Root(&value)); return winrt::Windows::UI::Composition::Scenes::SceneNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneVisual::Root(winrt::Windows::UI::Composition::Scenes::SceneNode const& value) const + template auto consume_Windows_UI_Composition_Scenes_ISceneVisual::Root(winrt::Windows::UI::Composition::Scenes::SceneNode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneVisual)->put_Root(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneVisual) consume_Windows_UI_Composition_Scenes_ISceneVisualStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const + template auto consume_Windows_UI_Composition_Scenes_ISceneVisualStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneVisualStatics)->Create(*(void**)(&compositor), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.h index 54fc933c..8d4f4db8 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_H #define WINRT_Windows_UI_Composition_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -19,3673 +19,3673 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Composition.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_IAmbientLight::Color() const + template auto consume_Windows_UI_Composition_IAmbientLight::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAmbientLight)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAmbientLight::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Composition_IAmbientLight::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAmbientLight)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IAmbientLight2::Intensity() const + template auto consume_Windows_UI_Composition_IAmbientLight2::Intensity() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAmbientLight2)->get_Intensity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAmbientLight2::Intensity(float value) const + template auto consume_Windows_UI_Composition_IAmbientLight2::Intensity(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAmbientLight2)->put_Intensity(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IAnimationController::PlaybackRate() const + template auto consume_Windows_UI_Composition_IAnimationController::PlaybackRate() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationController)->get_PlaybackRate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAnimationController::PlaybackRate(float value) const + template auto consume_Windows_UI_Composition_IAnimationController::PlaybackRate(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationController)->put_PlaybackRate(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IAnimationController::Progress() const + template auto consume_Windows_UI_Composition_IAnimationController::Progress() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationController)->get_Progress(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAnimationController::Progress(float value) const + template auto consume_Windows_UI_Composition_IAnimationController::Progress(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationController)->put_Progress(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationControllerProgressBehavior) consume_Windows_UI_Composition_IAnimationController::ProgressBehavior() const + template auto consume_Windows_UI_Composition_IAnimationController::ProgressBehavior() const { winrt::Windows::UI::Composition::AnimationControllerProgressBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationController)->get_ProgressBehavior(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAnimationController::ProgressBehavior(winrt::Windows::UI::Composition::AnimationControllerProgressBehavior const& value) const + template auto consume_Windows_UI_Composition_IAnimationController::ProgressBehavior(winrt::Windows::UI::Composition::AnimationControllerProgressBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationController)->put_ProgressBehavior(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAnimationController::Pause() const + template auto consume_Windows_UI_Composition_IAnimationController::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationController)->Pause()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAnimationController::Resume() const + template auto consume_Windows_UI_Composition_IAnimationController::Resume() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationController)->Resume()); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IAnimationControllerStatics::MaxPlaybackRate() const + template auto consume_Windows_UI_Composition_IAnimationControllerStatics::MaxPlaybackRate() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationControllerStatics)->get_MaxPlaybackRate(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IAnimationControllerStatics::MinPlaybackRate() const + template auto consume_Windows_UI_Composition_IAnimationControllerStatics::MinPlaybackRate() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationControllerStatics)->get_MinPlaybackRate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAnimationObject::PopulatePropertyInfo(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& propertyInfo) const + template auto consume_Windows_UI_Composition_IAnimationObject::PopulatePropertyInfo(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& propertyInfo) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationObject)->PopulatePropertyInfo(*(void**)(&propertyName), *(void**)(&propertyInfo))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationPropertyAccessMode) consume_Windows_UI_Composition_IAnimationPropertyInfo::AccessMode() const + template auto consume_Windows_UI_Composition_IAnimationPropertyInfo::AccessMode() const { winrt::Windows::UI::Composition::AnimationPropertyAccessMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationPropertyInfo)->get_AccessMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAnimationPropertyInfo::AccessMode(winrt::Windows::UI::Composition::AnimationPropertyAccessMode const& value) const + template auto consume_Windows_UI_Composition_IAnimationPropertyInfo::AccessMode(winrt::Windows::UI::Composition::AnimationPropertyAccessMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationPropertyInfo)->put_AccessMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionObject) consume_Windows_UI_Composition_IAnimationPropertyInfo2::GetResolvedCompositionObject() const + template auto consume_Windows_UI_Composition_IAnimationPropertyInfo2::GetResolvedCompositionObject() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationPropertyInfo2)->GetResolvedCompositionObject(&result)); return winrt::Windows::UI::Composition::CompositionObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Composition_IAnimationPropertyInfo2::GetResolvedCompositionObjectProperty() const + template auto consume_Windows_UI_Composition_IAnimationPropertyInfo2::GetResolvedCompositionObjectProperty() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationPropertyInfo2)->GetResolvedCompositionObjectProperty(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_IBackEasingFunction::Mode() const + template auto consume_Windows_UI_Composition_IBackEasingFunction::Mode() const { winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBackEasingFunction)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBackEasingFunction::Amplitude() const + template auto consume_Windows_UI_Composition_IBackEasingFunction::Amplitude() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBackEasingFunction)->get_Amplitude(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IBooleanKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, bool value) const + template auto consume_Windows_UI_Composition_IBooleanKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBooleanKeyFrameAnimation)->InsertKeyFrame(normalizedProgressKey, value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_IBounceEasingFunction::Mode() const + template auto consume_Windows_UI_Composition_IBounceEasingFunction::Mode() const { winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceEasingFunction)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IBounceEasingFunction::Bounces() const + template auto consume_Windows_UI_Composition_IBounceEasingFunction::Bounces() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceEasingFunction)->get_Bounces(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBounceEasingFunction::Bounciness() const + template auto consume_Windows_UI_Composition_IBounceEasingFunction::Bounciness() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceEasingFunction)->get_Bounciness(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation::Acceleration() const + template auto consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation::Acceleration() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceScalarNaturalMotionAnimation)->get_Acceleration(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation::Acceleration(float value) const + template auto consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation::Acceleration(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceScalarNaturalMotionAnimation)->put_Acceleration(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation::Restitution() const + template auto consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation::Restitution() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceScalarNaturalMotionAnimation)->get_Restitution(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation::Restitution(float value) const + template auto consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation::Restitution(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceScalarNaturalMotionAnimation)->put_Restitution(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation::Acceleration() const + template auto consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation::Acceleration() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector2NaturalMotionAnimation)->get_Acceleration(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation::Acceleration(float value) const + template auto consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation::Acceleration(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector2NaturalMotionAnimation)->put_Acceleration(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation::Restitution() const + template auto consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation::Restitution() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector2NaturalMotionAnimation)->get_Restitution(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation::Restitution(float value) const + template auto consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation::Restitution(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector2NaturalMotionAnimation)->put_Restitution(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation::Acceleration() const + template auto consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation::Acceleration() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector3NaturalMotionAnimation)->get_Acceleration(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation::Acceleration(float value) const + template auto consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation::Acceleration(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector3NaturalMotionAnimation)->put_Acceleration(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation::Restitution() const + template auto consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation::Restitution() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector3NaturalMotionAnimation)->get_Restitution(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation::Restitution(float value) const + template auto consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation::Restitution(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector3NaturalMotionAnimation)->put_Restitution(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_ICircleEasingFunction::Mode() const + template auto consume_Windows_UI_Composition_ICircleEasingFunction::Mode() const { winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICircleEasingFunction)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorSpace) consume_Windows_UI_Composition_IColorKeyFrameAnimation::InterpolationColorSpace() const + template auto consume_Windows_UI_Composition_IColorKeyFrameAnimation::InterpolationColorSpace() const { winrt::Windows::UI::Composition::CompositionColorSpace value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IColorKeyFrameAnimation)->get_InterpolationColorSpace(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IColorKeyFrameAnimation::InterpolationColorSpace(winrt::Windows::UI::Composition::CompositionColorSpace const& value) const + template auto consume_Windows_UI_Composition_IColorKeyFrameAnimation::InterpolationColorSpace(winrt::Windows::UI::Composition::CompositionColorSpace const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IColorKeyFrameAnimation)->put_InterpolationColorSpace(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IColorKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Composition_IColorKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IColorKeyFrameAnimation)->InsertKeyFrame(normalizedProgressKey, impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IColorKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Color const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const + template auto consume_Windows_UI_Composition_IColorKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Color const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IColorKeyFrameAnimation)->InsertKeyFrameWithEasingFunction(normalizedProgressKey, impl::bind_in(value), *(void**)(&easingFunction))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation::ClearAllParameters() const + template auto consume_Windows_UI_Composition_ICompositionAnimation::ClearAllParameters() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation)->ClearAllParameters()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation::ClearParameter(param::hstring const& key) const + template auto consume_Windows_UI_Composition_ICompositionAnimation::ClearParameter(param::hstring const& key) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation)->ClearParameter(*(void**)(&key))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation::SetColorParameter(param::hstring const& key, winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Composition_ICompositionAnimation::SetColorParameter(param::hstring const& key, winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation)->SetColorParameter(*(void**)(&key), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation::SetMatrix3x2Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float3x2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionAnimation::SetMatrix3x2Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float3x2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation)->SetMatrix3x2Parameter(*(void**)(&key), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation::SetMatrix4x4Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float4x4 const& value) const + template auto consume_Windows_UI_Composition_ICompositionAnimation::SetMatrix4x4Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float4x4 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation)->SetMatrix4x4Parameter(*(void**)(&key), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation::SetQuaternionParameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::quaternion const& value) const + template auto consume_Windows_UI_Composition_ICompositionAnimation::SetQuaternionParameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::quaternion const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation)->SetQuaternionParameter(*(void**)(&key), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation::SetReferenceParameter(param::hstring const& key, winrt::Windows::UI::Composition::CompositionObject const& compositionObject) const + template auto consume_Windows_UI_Composition_ICompositionAnimation::SetReferenceParameter(param::hstring const& key, winrt::Windows::UI::Composition::CompositionObject const& compositionObject) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation)->SetReferenceParameter(*(void**)(&key), *(void**)(&compositionObject))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation::SetScalarParameter(param::hstring const& key, float value) const + template auto consume_Windows_UI_Composition_ICompositionAnimation::SetScalarParameter(param::hstring const& key, float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation)->SetScalarParameter(*(void**)(&key), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation::SetVector2Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionAnimation::SetVector2Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation)->SetVector2Parameter(*(void**)(&key), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation::SetVector3Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_ICompositionAnimation::SetVector3Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation)->SetVector3Parameter(*(void**)(&key), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation::SetVector4Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float4 const& value) const + template auto consume_Windows_UI_Composition_ICompositionAnimation::SetVector4Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float4 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation)->SetVector4Parameter(*(void**)(&key), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation2::SetBooleanParameter(param::hstring const& key, bool value) const + template auto consume_Windows_UI_Composition_ICompositionAnimation2::SetBooleanParameter(param::hstring const& key, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation2)->SetBooleanParameter(*(void**)(&key), value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Composition_ICompositionAnimation2::Target() const + template auto consume_Windows_UI_Composition_ICompositionAnimation2::Target() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation2)->get_Target(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation2::Target(param::hstring const& value) const + template auto consume_Windows_UI_Composition_ICompositionAnimation2::Target(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation2)->put_Target(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::InitialValueExpressionCollection) consume_Windows_UI_Composition_ICompositionAnimation3::InitialValueExpressions() const + template auto consume_Windows_UI_Composition_ICompositionAnimation3::InitialValueExpressions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation3)->get_InitialValueExpressions(&value)); return winrt::Windows::UI::Composition::InitialValueExpressionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation4::SetExpressionReferenceParameter(param::hstring const& parameterName, winrt::Windows::UI::Composition::IAnimationObject const& source) const + template auto consume_Windows_UI_Composition_ICompositionAnimation4::SetExpressionReferenceParameter(param::hstring const& parameterName, winrt::Windows::UI::Composition::IAnimationObject const& source) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation4)->SetExpressionReferenceParameter(*(void**)(¶meterName), *(void**)(&source))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_ICompositionAnimationGroup::Count() const + template auto consume_Windows_UI_Composition_ICompositionAnimationGroup::Count() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimationGroup)->get_Count(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimationGroup::Add(winrt::Windows::UI::Composition::CompositionAnimation const& value) const + template auto consume_Windows_UI_Composition_ICompositionAnimationGroup::Add(winrt::Windows::UI::Composition::CompositionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimationGroup)->Add(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimationGroup::Remove(winrt::Windows::UI::Composition::CompositionAnimation const& value) const + template auto consume_Windows_UI_Composition_ICompositionAnimationGroup::Remove(winrt::Windows::UI::Composition::CompositionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimationGroup)->Remove(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimationGroup::RemoveAll() const + template auto consume_Windows_UI_Composition_ICompositionAnimationGroup::RemoveAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimationGroup)->RemoveAll()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionCapabilities::AreEffectsSupported() const + template auto consume_Windows_UI_Composition_ICompositionCapabilities::AreEffectsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionCapabilities)->AreEffectsSupported(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionCapabilities::AreEffectsFast() const + template auto consume_Windows_UI_Composition_ICompositionCapabilities::AreEffectsFast() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionCapabilities)->AreEffectsFast(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Composition_ICompositionCapabilities::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Composition_ICompositionCapabilities::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionCapabilities)->add_Changed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Composition_ICompositionCapabilities::Changed_revoker consume_Windows_UI_Composition_ICompositionCapabilities::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Composition_ICompositionCapabilities::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Changed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionCapabilities::Changed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Composition_ICompositionCapabilities::Changed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionCapabilities)->remove_Changed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionCapabilities) consume_Windows_UI_Composition_ICompositionCapabilitiesStatics::GetForCurrentView() const + template auto consume_Windows_UI_Composition_ICompositionCapabilitiesStatics::GetForCurrentView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionCapabilitiesStatics)->GetForCurrentView(&result)); return winrt::Windows::UI::Composition::CompositionCapabilities{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionClip2::AnchorPoint() const + template auto consume_Windows_UI_Composition_ICompositionClip2::AnchorPoint() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->get_AnchorPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionClip2::AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionClip2::AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->put_AnchorPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionClip2::CenterPoint() const + template auto consume_Windows_UI_Composition_ICompositionClip2::CenterPoint() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->get_CenterPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionClip2::CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionClip2::CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->put_CenterPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionClip2::Offset() const + template auto consume_Windows_UI_Composition_ICompositionClip2::Offset() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->get_Offset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionClip2::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionClip2::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->put_Offset(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionClip2::RotationAngle() const + template auto consume_Windows_UI_Composition_ICompositionClip2::RotationAngle() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->get_RotationAngle(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionClip2::RotationAngle(float value) const + template auto consume_Windows_UI_Composition_ICompositionClip2::RotationAngle(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->put_RotationAngle(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionClip2::RotationAngleInDegrees() const + template auto consume_Windows_UI_Composition_ICompositionClip2::RotationAngleInDegrees() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->get_RotationAngleInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionClip2::RotationAngleInDegrees(float value) const + template auto consume_Windows_UI_Composition_ICompositionClip2::RotationAngleInDegrees(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->put_RotationAngleInDegrees(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionClip2::Scale() const + template auto consume_Windows_UI_Composition_ICompositionClip2::Scale() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->get_Scale(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionClip2::Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionClip2::Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->put_Scale(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) consume_Windows_UI_Composition_ICompositionClip2::TransformMatrix() const + template auto consume_Windows_UI_Composition_ICompositionClip2::TransformMatrix() const { winrt::Windows::Foundation::Numerics::float3x2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->get_TransformMatrix(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionClip2::TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionClip2::TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->put_TransformMatrix(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_ICompositionColorBrush::Color() const + template auto consume_Windows_UI_Composition_ICompositionColorBrush::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionColorBrush)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionColorBrush::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Composition_ICompositionColorBrush::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionColorBrush)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_ICompositionColorGradientStop::Color() const + template auto consume_Windows_UI_Composition_ICompositionColorGradientStop::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionColorGradientStop)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionColorGradientStop::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Composition_ICompositionColorGradientStop::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionColorGradientStop)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionColorGradientStop::Offset() const + template auto consume_Windows_UI_Composition_ICompositionColorGradientStop::Offset() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionColorGradientStop)->get_Offset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionColorGradientStop::Offset(float value) const + template auto consume_Windows_UI_Composition_ICompositionColorGradientStop::Offset(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionColorGradientStop)->put_Offset(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionCommitBatch::IsActive() const + template auto consume_Windows_UI_Composition_ICompositionCommitBatch::IsActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionCommitBatch)->get_IsActive(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionCommitBatch::IsEnded() const + template auto consume_Windows_UI_Composition_ICompositionCommitBatch::IsEnded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionCommitBatch)->get_IsEnded(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Composition_ICompositionCommitBatch::Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Composition_ICompositionCommitBatch::Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionCommitBatch)->add_Completed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Composition_ICompositionCommitBatch::Completed_revoker consume_Windows_UI_Composition_ICompositionCommitBatch::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Composition_ICompositionCommitBatch::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Completed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionCommitBatch::Completed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Composition_ICompositionCommitBatch::Completed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionCommitBatch)->remove_Completed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionShapeCollection) consume_Windows_UI_Composition_ICompositionContainerShape::Shapes() const + template auto consume_Windows_UI_Composition_ICompositionContainerShape::Shapes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionContainerShape)->get_Shapes(&value)); return winrt::Windows::UI::Composition::CompositionShapeCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXAlphaMode) consume_Windows_UI_Composition_ICompositionDrawingSurface::AlphaMode() const + template auto consume_Windows_UI_Composition_ICompositionDrawingSurface::AlphaMode() const { winrt::Windows::Graphics::DirectX::DirectXAlphaMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionDrawingSurface)->get_AlphaMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_UI_Composition_ICompositionDrawingSurface::PixelFormat() const + template auto consume_Windows_UI_Composition_ICompositionDrawingSurface::PixelFormat() const { winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionDrawingSurface)->get_PixelFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Composition_ICompositionDrawingSurface::Size() const + template auto consume_Windows_UI_Composition_ICompositionDrawingSurface::Size() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionDrawingSurface)->get_Size(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_UI_Composition_ICompositionDrawingSurface2::SizeInt32() const + template auto consume_Windows_UI_Composition_ICompositionDrawingSurface2::SizeInt32() const { winrt::Windows::Graphics::SizeInt32 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionDrawingSurface2)->get_SizeInt32(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionDrawingSurface2::Resize(winrt::Windows::Graphics::SizeInt32 const& sizePixels) const + template auto consume_Windows_UI_Composition_ICompositionDrawingSurface2::Resize(winrt::Windows::Graphics::SizeInt32 const& sizePixels) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionDrawingSurface2)->Resize(impl::bind_in(sizePixels))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionDrawingSurface2::Scroll(winrt::Windows::Graphics::PointInt32 const& offset) const + template auto consume_Windows_UI_Composition_ICompositionDrawingSurface2::Scroll(winrt::Windows::Graphics::PointInt32 const& offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionDrawingSurface2)->Scroll(impl::bind_in(offset))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionDrawingSurface2::Scroll(winrt::Windows::Graphics::PointInt32 const& offset, winrt::Windows::Graphics::RectInt32 const& scrollRect) const + template auto consume_Windows_UI_Composition_ICompositionDrawingSurface2::Scroll(winrt::Windows::Graphics::PointInt32 const& offset, winrt::Windows::Graphics::RectInt32 const& scrollRect) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionDrawingSurface2)->ScrollRect(impl::bind_in(offset), impl::bind_in(scrollRect))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionDrawingSurface2::ScrollWithClip(winrt::Windows::Graphics::PointInt32 const& offset, winrt::Windows::Graphics::RectInt32 const& clipRect) const + template auto consume_Windows_UI_Composition_ICompositionDrawingSurface2::ScrollWithClip(winrt::Windows::Graphics::PointInt32 const& offset, winrt::Windows::Graphics::RectInt32 const& clipRect) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionDrawingSurface2)->ScrollWithClip(impl::bind_in(offset), impl::bind_in(clipRect))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionDrawingSurface2::ScrollWithClip(winrt::Windows::Graphics::PointInt32 const& offset, winrt::Windows::Graphics::RectInt32 const& clipRect, winrt::Windows::Graphics::RectInt32 const& scrollRect) const + template auto consume_Windows_UI_Composition_ICompositionDrawingSurface2::ScrollWithClip(winrt::Windows::Graphics::PointInt32 const& offset, winrt::Windows::Graphics::RectInt32 const& clipRect, winrt::Windows::Graphics::RectInt32 const& scrollRect) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionDrawingSurface2)->ScrollRectWithClip(impl::bind_in(offset), impl::bind_in(clipRect), impl::bind_in(scrollRect))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CubicBezierEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateCubicBezierEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::Foundation::Numerics::float2 const& controlPoint1, winrt::Windows::Foundation::Numerics::float2 const& controlPoint2) const + template auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateCubicBezierEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::Foundation::Numerics::float2 const& controlPoint1, winrt::Windows::Foundation::Numerics::float2 const& controlPoint2) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateCubicBezierEasingFunction(*(void**)(&owner), impl::bind_in(controlPoint1), impl::bind_in(controlPoint2), &result)); return winrt::Windows::UI::Composition::CubicBezierEasingFunction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::LinearEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateLinearEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner) const + template auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateLinearEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateLinearEasingFunction(*(void**)(&owner), &result)); return winrt::Windows::UI::Composition::LinearEasingFunction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::StepEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner) const + template auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateStepEasingFunction(*(void**)(&owner), &result)); return winrt::Windows::UI::Composition::StepEasingFunction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::StepEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, int32_t stepCount) const + template auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, int32_t stepCount) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateStepEasingFunctionWithStepCount(*(void**)(&owner), stepCount, &result)); return winrt::Windows::UI::Composition::StepEasingFunction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BackEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateBackEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float amplitude) const + template auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateBackEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float amplitude) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateBackEasingFunction(*(void**)(&owner), static_cast(mode), amplitude, &result)); return winrt::Windows::UI::Composition::BackEasingFunction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BounceEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateBounceEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t bounces, float bounciness) const + template auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateBounceEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t bounces, float bounciness) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateBounceEasingFunction(*(void**)(&owner), static_cast(mode), bounces, bounciness, &result)); return winrt::Windows::UI::Composition::BounceEasingFunction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CircleEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateCircleEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode) const + template auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateCircleEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateCircleEasingFunction(*(void**)(&owner), static_cast(mode), &result)); return winrt::Windows::UI::Composition::CircleEasingFunction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ElasticEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateElasticEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t oscillations, float springiness) const + template auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateElasticEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t oscillations, float springiness) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateElasticEasingFunction(*(void**)(&owner), static_cast(mode), oscillations, springiness, &result)); return winrt::Windows::UI::Composition::ElasticEasingFunction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExponentialEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateExponentialEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float exponent) const + template auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateExponentialEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float exponent) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateExponentialEasingFunction(*(void**)(&owner), static_cast(mode), exponent, &result)); return winrt::Windows::UI::Composition::ExponentialEasingFunction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::PowerEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreatePowerEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float power) const + template auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreatePowerEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float power) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreatePowerEasingFunction(*(void**)(&owner), static_cast(mode), power, &result)); return winrt::Windows::UI::Composition::PowerEasingFunction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SineEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateSineEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode) const + template auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateSineEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateSineEasingFunction(*(void**)(&owner), static_cast(mode), &result)); return winrt::Windows::UI::Composition::SineEasingFunction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ICompositionEffectBrush::GetSourceParameter(param::hstring const& name) const + template auto consume_Windows_UI_Composition_ICompositionEffectBrush::GetSourceParameter(param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEffectBrush)->GetSourceParameter(*(void**)(&name), &result)); return winrt::Windows::UI::Composition::CompositionBrush{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionEffectBrush::SetSourceParameter(param::hstring const& name, winrt::Windows::UI::Composition::CompositionBrush const& source) const + template auto consume_Windows_UI_Composition_ICompositionEffectBrush::SetSourceParameter(param::hstring const& name, winrt::Windows::UI::Composition::CompositionBrush const& source) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEffectBrush)->SetSourceParameter(*(void**)(&name), *(void**)(&source))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectBrush) consume_Windows_UI_Composition_ICompositionEffectFactory::CreateBrush() const + template auto consume_Windows_UI_Composition_ICompositionEffectFactory::CreateBrush() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEffectFactory)->CreateBrush(&result)); return winrt::Windows::UI::Composition::CompositionEffectBrush{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_UI_Composition_ICompositionEffectFactory::ExtendedError() const + template auto consume_Windows_UI_Composition_ICompositionEffectFactory::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEffectFactory)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectFactoryLoadStatus) consume_Windows_UI_Composition_ICompositionEffectFactory::LoadStatus() const + template auto consume_Windows_UI_Composition_ICompositionEffectFactory::LoadStatus() const { winrt::Windows::UI::Composition::CompositionEffectFactoryLoadStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEffectFactory)->get_LoadStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Composition_ICompositionEffectSourceParameter::Name() const + template auto consume_Windows_UI_Composition_ICompositionEffectSourceParameter::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEffectSourceParameter)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectSourceParameter) consume_Windows_UI_Composition_ICompositionEffectSourceParameterFactory::Create(param::hstring const& name) const + template auto consume_Windows_UI_Composition_ICompositionEffectSourceParameterFactory::Create(param::hstring const& name) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEffectSourceParameterFactory)->Create(*(void**)(&name), &value)); return winrt::Windows::UI::Composition::CompositionEffectSourceParameter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionEllipseGeometry::Center() const + template auto consume_Windows_UI_Composition_ICompositionEllipseGeometry::Center() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEllipseGeometry)->get_Center(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionEllipseGeometry::Center(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionEllipseGeometry::Center(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEllipseGeometry)->put_Center(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionEllipseGeometry::Radius() const + template auto consume_Windows_UI_Composition_ICompositionEllipseGeometry::Radius() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEllipseGeometry)->get_Radius(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionEllipseGeometry::Radius(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionEllipseGeometry::Radius(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEllipseGeometry)->put_Radius(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGeometry) consume_Windows_UI_Composition_ICompositionGeometricClip::Geometry() const + template auto consume_Windows_UI_Composition_ICompositionGeometricClip::Geometry() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometricClip)->get_Geometry(&value)); return winrt::Windows::UI::Composition::CompositionGeometry{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGeometricClip::Geometry(winrt::Windows::UI::Composition::CompositionGeometry const& value) const + template auto consume_Windows_UI_Composition_ICompositionGeometricClip::Geometry(winrt::Windows::UI::Composition::CompositionGeometry const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometricClip)->put_Geometry(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionViewBox) consume_Windows_UI_Composition_ICompositionGeometricClip::ViewBox() const + template auto consume_Windows_UI_Composition_ICompositionGeometricClip::ViewBox() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometricClip)->get_ViewBox(&value)); return winrt::Windows::UI::Composition::CompositionViewBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGeometricClip::ViewBox(winrt::Windows::UI::Composition::CompositionViewBox const& value) const + template auto consume_Windows_UI_Composition_ICompositionGeometricClip::ViewBox(winrt::Windows::UI::Composition::CompositionViewBox const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometricClip)->put_ViewBox(*(void**)(&value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionGeometry::TrimEnd() const + template auto consume_Windows_UI_Composition_ICompositionGeometry::TrimEnd() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometry)->get_TrimEnd(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGeometry::TrimEnd(float value) const + template auto consume_Windows_UI_Composition_ICompositionGeometry::TrimEnd(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometry)->put_TrimEnd(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionGeometry::TrimOffset() const + template auto consume_Windows_UI_Composition_ICompositionGeometry::TrimOffset() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometry)->get_TrimOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGeometry::TrimOffset(float value) const + template auto consume_Windows_UI_Composition_ICompositionGeometry::TrimOffset(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometry)->put_TrimOffset(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionGeometry::TrimStart() const + template auto consume_Windows_UI_Composition_ICompositionGeometry::TrimStart() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometry)->get_TrimStart(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGeometry::TrimStart(float value) const + template auto consume_Windows_UI_Composition_ICompositionGeometry::TrimStart(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometry)->put_TrimStart(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionGradientBrush::AnchorPoint() const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::AnchorPoint() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->get_AnchorPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush::AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->put_AnchorPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionGradientBrush::CenterPoint() const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::CenterPoint() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->get_CenterPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush::CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->put_CenterPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorGradientStopCollection) consume_Windows_UI_Composition_ICompositionGradientBrush::ColorStops() const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::ColorStops() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->get_ColorStops(&value)); return winrt::Windows::UI::Composition::CompositionColorGradientStopCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGradientExtendMode) consume_Windows_UI_Composition_ICompositionGradientBrush::ExtendMode() const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::ExtendMode() const { winrt::Windows::UI::Composition::CompositionGradientExtendMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->get_ExtendMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush::ExtendMode(winrt::Windows::UI::Composition::CompositionGradientExtendMode const& value) const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::ExtendMode(winrt::Windows::UI::Composition::CompositionGradientExtendMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->put_ExtendMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorSpace) consume_Windows_UI_Composition_ICompositionGradientBrush::InterpolationSpace() const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::InterpolationSpace() const { winrt::Windows::UI::Composition::CompositionColorSpace value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->get_InterpolationSpace(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush::InterpolationSpace(winrt::Windows::UI::Composition::CompositionColorSpace const& value) const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::InterpolationSpace(winrt::Windows::UI::Composition::CompositionColorSpace const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->put_InterpolationSpace(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionGradientBrush::Offset() const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::Offset() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->get_Offset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->put_Offset(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionGradientBrush::RotationAngle() const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::RotationAngle() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->get_RotationAngle(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush::RotationAngle(float value) const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::RotationAngle(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->put_RotationAngle(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionGradientBrush::RotationAngleInDegrees() const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::RotationAngleInDegrees() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->get_RotationAngleInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush::RotationAngleInDegrees(float value) const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::RotationAngleInDegrees(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->put_RotationAngleInDegrees(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionGradientBrush::Scale() const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::Scale() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->get_Scale(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush::Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->put_Scale(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) consume_Windows_UI_Composition_ICompositionGradientBrush::TransformMatrix() const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::TransformMatrix() const { winrt::Windows::Foundation::Numerics::float3x2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->get_TransformMatrix(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush::TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush::TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->put_TransformMatrix(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionMappingMode) consume_Windows_UI_Composition_ICompositionGradientBrush2::MappingMode() const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush2::MappingMode() const { winrt::Windows::UI::Composition::CompositionMappingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush2)->get_MappingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush2::MappingMode(winrt::Windows::UI::Composition::CompositionMappingMode const& value) const + template auto consume_Windows_UI_Composition_ICompositionGradientBrush2::MappingMode(winrt::Windows::UI::Composition::CompositionMappingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush2)->put_MappingMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionDrawingSurface) consume_Windows_UI_Composition_ICompositionGraphicsDevice::CreateDrawingSurface(winrt::Windows::Foundation::Size const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const + template auto consume_Windows_UI_Composition_ICompositionGraphicsDevice::CreateDrawingSurface(winrt::Windows::Foundation::Size const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGraphicsDevice)->CreateDrawingSurface(impl::bind_in(sizePixels), static_cast(pixelFormat), static_cast(alphaMode), &result)); return winrt::Windows::UI::Composition::CompositionDrawingSurface{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Composition_ICompositionGraphicsDevice::RenderingDeviceReplaced(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Composition_ICompositionGraphicsDevice::RenderingDeviceReplaced(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGraphicsDevice)->add_RenderingDeviceReplaced(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Composition_ICompositionGraphicsDevice::RenderingDeviceReplaced_revoker consume_Windows_UI_Composition_ICompositionGraphicsDevice::RenderingDeviceReplaced(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Composition_ICompositionGraphicsDevice::RenderingDeviceReplaced(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RenderingDeviceReplaced(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGraphicsDevice::RenderingDeviceReplaced(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Composition_ICompositionGraphicsDevice::RenderingDeviceReplaced(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGraphicsDevice)->remove_RenderingDeviceReplaced(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionDrawingSurface) consume_Windows_UI_Composition_ICompositionGraphicsDevice2::CreateDrawingSurface2(winrt::Windows::Graphics::SizeInt32 const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const + template auto consume_Windows_UI_Composition_ICompositionGraphicsDevice2::CreateDrawingSurface2(winrt::Windows::Graphics::SizeInt32 const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGraphicsDevice2)->CreateDrawingSurface2(impl::bind_in(sizePixels), static_cast(pixelFormat), static_cast(alphaMode), &result)); return winrt::Windows::UI::Composition::CompositionDrawingSurface{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionVirtualDrawingSurface) consume_Windows_UI_Composition_ICompositionGraphicsDevice2::CreateVirtualDrawingSurface(winrt::Windows::Graphics::SizeInt32 const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const + template auto consume_Windows_UI_Composition_ICompositionGraphicsDevice2::CreateVirtualDrawingSurface(winrt::Windows::Graphics::SizeInt32 const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGraphicsDevice2)->CreateVirtualDrawingSurface(impl::bind_in(sizePixels), static_cast(pixelFormat), static_cast(alphaMode), &result)); return winrt::Windows::UI::Composition::CompositionVirtualDrawingSurface{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionMipmapSurface) consume_Windows_UI_Composition_ICompositionGraphicsDevice3::CreateMipmapSurface(winrt::Windows::Graphics::SizeInt32 const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const + template auto consume_Windows_UI_Composition_ICompositionGraphicsDevice3::CreateMipmapSurface(winrt::Windows::Graphics::SizeInt32 const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGraphicsDevice3)->CreateMipmapSurface(impl::bind_in(sizePixels), static_cast(pixelFormat), static_cast(alphaMode), &result)); return winrt::Windows::UI::Composition::CompositionMipmapSurface{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGraphicsDevice3::Trim() const + template auto consume_Windows_UI_Composition_ICompositionGraphicsDevice3::Trim() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGraphicsDevice3)->Trim()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Composition_ICompositionGraphicsDevice4::CaptureAsync(winrt::Windows::UI::Composition::Visual const& captureVisual, winrt::Windows::Graphics::SizeInt32 const& size, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode, float sdrBoost) const + template auto consume_Windows_UI_Composition_ICompositionGraphicsDevice4::CaptureAsync(winrt::Windows::UI::Composition::Visual const& captureVisual, winrt::Windows::Graphics::SizeInt32 const& size, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode, float sdrBoost) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGraphicsDevice4)->CaptureAsync(*(void**)(&captureVisual), impl::bind_in(size), static_cast(pixelFormat), static_cast(alphaMode), sdrBoost, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::VisualUnorderedCollection) consume_Windows_UI_Composition_ICompositionLight::Targets() const + template auto consume_Windows_UI_Composition_ICompositionLight::Targets() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionLight)->get_Targets(&value)); return winrt::Windows::UI::Composition::VisualUnorderedCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::VisualUnorderedCollection) consume_Windows_UI_Composition_ICompositionLight2::ExclusionsFromTargets() const + template auto consume_Windows_UI_Composition_ICompositionLight2::ExclusionsFromTargets() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionLight2)->get_ExclusionsFromTargets(&value)); return winrt::Windows::UI::Composition::VisualUnorderedCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionLight3::IsEnabled() const + template auto consume_Windows_UI_Composition_ICompositionLight3::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionLight3)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionLight3::IsEnabled(bool value) const + template auto consume_Windows_UI_Composition_ICompositionLight3::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionLight3)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionLineGeometry::Start() const + template auto consume_Windows_UI_Composition_ICompositionLineGeometry::Start() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionLineGeometry)->get_Start(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionLineGeometry::Start(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionLineGeometry::Start(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionLineGeometry)->put_Start(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionLineGeometry::End() const + template auto consume_Windows_UI_Composition_ICompositionLineGeometry::End() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionLineGeometry)->get_End(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionLineGeometry::End(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionLineGeometry::End(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionLineGeometry)->put_End(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionLinearGradientBrush::EndPoint() const + template auto consume_Windows_UI_Composition_ICompositionLinearGradientBrush::EndPoint() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionLinearGradientBrush)->get_EndPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionLinearGradientBrush::EndPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionLinearGradientBrush::EndPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionLinearGradientBrush)->put_EndPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionLinearGradientBrush::StartPoint() const + template auto consume_Windows_UI_Composition_ICompositionLinearGradientBrush::StartPoint() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionLinearGradientBrush)->get_StartPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionLinearGradientBrush::StartPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionLinearGradientBrush::StartPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionLinearGradientBrush)->put_StartPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ICompositionMaskBrush::Mask() const + template auto consume_Windows_UI_Composition_ICompositionMaskBrush::Mask() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionMaskBrush)->get_Mask(&value)); return winrt::Windows::UI::Composition::CompositionBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionMaskBrush::Mask(winrt::Windows::UI::Composition::CompositionBrush const& value) const + template auto consume_Windows_UI_Composition_ICompositionMaskBrush::Mask(winrt::Windows::UI::Composition::CompositionBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionMaskBrush)->put_Mask(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ICompositionMaskBrush::Source() const + template auto consume_Windows_UI_Composition_ICompositionMaskBrush::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionMaskBrush)->get_Source(&value)); return winrt::Windows::UI::Composition::CompositionBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionMaskBrush::Source(winrt::Windows::UI::Composition::CompositionBrush const& value) const + template auto consume_Windows_UI_Composition_ICompositionMaskBrush::Source(winrt::Windows::UI::Composition::CompositionBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionMaskBrush)->put_Source(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Composition_ICompositionMipmapSurface::LevelCount() const + template auto consume_Windows_UI_Composition_ICompositionMipmapSurface::LevelCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionMipmapSurface)->get_LevelCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXAlphaMode) consume_Windows_UI_Composition_ICompositionMipmapSurface::AlphaMode() const + template auto consume_Windows_UI_Composition_ICompositionMipmapSurface::AlphaMode() const { winrt::Windows::Graphics::DirectX::DirectXAlphaMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionMipmapSurface)->get_AlphaMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_UI_Composition_ICompositionMipmapSurface::PixelFormat() const + template auto consume_Windows_UI_Composition_ICompositionMipmapSurface::PixelFormat() const { winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionMipmapSurface)->get_PixelFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_UI_Composition_ICompositionMipmapSurface::SizeInt32() const + template auto consume_Windows_UI_Composition_ICompositionMipmapSurface::SizeInt32() const { winrt::Windows::Graphics::SizeInt32 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionMipmapSurface)->get_SizeInt32(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionDrawingSurface) consume_Windows_UI_Composition_ICompositionMipmapSurface::GetDrawingSurfaceForLevel(uint32_t level) const + template auto consume_Windows_UI_Composition_ICompositionMipmapSurface::GetDrawingSurfaceForLevel(uint32_t level) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionMipmapSurface)->GetDrawingSurfaceForLevel(level, &result)); return winrt::Windows::UI::Composition::CompositionDrawingSurface{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionNineGridBrush::BottomInset() const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::BottomInset() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_BottomInset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush::BottomInset(float value) const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::BottomInset(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_BottomInset(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionNineGridBrush::BottomInsetScale() const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::BottomInsetScale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_BottomInsetScale(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush::BottomInsetScale(float value) const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::BottomInsetScale(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_BottomInsetScale(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionNineGridBrush::IsCenterHollow() const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::IsCenterHollow() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_IsCenterHollow(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush::IsCenterHollow(bool value) const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::IsCenterHollow(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_IsCenterHollow(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionNineGridBrush::LeftInset() const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::LeftInset() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_LeftInset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush::LeftInset(float value) const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::LeftInset(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_LeftInset(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionNineGridBrush::LeftInsetScale() const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::LeftInsetScale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_LeftInsetScale(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush::LeftInsetScale(float value) const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::LeftInsetScale(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_LeftInsetScale(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionNineGridBrush::RightInset() const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::RightInset() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_RightInset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush::RightInset(float value) const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::RightInset(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_RightInset(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionNineGridBrush::RightInsetScale() const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::RightInsetScale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_RightInsetScale(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush::RightInsetScale(float value) const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::RightInsetScale(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_RightInsetScale(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ICompositionNineGridBrush::Source() const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_Source(&value)); return winrt::Windows::UI::Composition::CompositionBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush::Source(winrt::Windows::UI::Composition::CompositionBrush const& value) const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::Source(winrt::Windows::UI::Composition::CompositionBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_Source(*(void**)(&value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionNineGridBrush::TopInset() const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::TopInset() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_TopInset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush::TopInset(float value) const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::TopInset(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_TopInset(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionNineGridBrush::TopInsetScale() const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::TopInsetScale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_TopInsetScale(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush::TopInsetScale(float value) const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::TopInsetScale(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_TopInsetScale(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush::SetInsets(float inset) const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::SetInsets(float inset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->SetInsets(inset)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush::SetInsets(float left, float top, float right, float bottom) const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::SetInsets(float left, float top, float right, float bottom) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->SetInsetsWithValues(left, top, right, bottom)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush::SetInsetScales(float scale) const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::SetInsetScales(float scale) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->SetInsetScales(scale)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush::SetInsetScales(float left, float top, float right, float bottom) const + template auto consume_Windows_UI_Composition_ICompositionNineGridBrush::SetInsetScales(float left, float top, float right, float bottom) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->SetInsetScalesWithValues(left, top, right, bottom)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Compositor) consume_Windows_UI_Composition_ICompositionObject::Compositor() const + template auto consume_Windows_UI_Composition_ICompositionObject::Compositor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject)->get_Compositor(&value)); return winrt::Windows::UI::Composition::Compositor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) consume_Windows_UI_Composition_ICompositionObject::Dispatcher() const + template auto consume_Windows_UI_Composition_ICompositionObject::Dispatcher() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject)->get_Dispatcher(&value)); return winrt::Windows::UI::Core::CoreDispatcher{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPropertySet) consume_Windows_UI_Composition_ICompositionObject::Properties() const + template auto consume_Windows_UI_Composition_ICompositionObject::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject)->get_Properties(&value)); return winrt::Windows::UI::Composition::CompositionPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionObject::StartAnimation(param::hstring const& propertyName, winrt::Windows::UI::Composition::CompositionAnimation const& animation) const + template auto consume_Windows_UI_Composition_ICompositionObject::StartAnimation(param::hstring const& propertyName, winrt::Windows::UI::Composition::CompositionAnimation const& animation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject)->StartAnimation(*(void**)(&propertyName), *(void**)(&animation))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionObject::StopAnimation(param::hstring const& propertyName) const + template auto consume_Windows_UI_Composition_ICompositionObject::StopAnimation(param::hstring const& propertyName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject)->StopAnimation(*(void**)(&propertyName))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Composition_ICompositionObject2::Comment() const + template auto consume_Windows_UI_Composition_ICompositionObject2::Comment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject2)->get_Comment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionObject2::Comment(param::hstring const& value) const + template auto consume_Windows_UI_Composition_ICompositionObject2::Comment(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject2)->put_Comment(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ImplicitAnimationCollection) consume_Windows_UI_Composition_ICompositionObject2::ImplicitAnimations() const + template auto consume_Windows_UI_Composition_ICompositionObject2::ImplicitAnimations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject2)->get_ImplicitAnimations(&value)); return winrt::Windows::UI::Composition::ImplicitAnimationCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionObject2::ImplicitAnimations(winrt::Windows::UI::Composition::ImplicitAnimationCollection const& value) const + template auto consume_Windows_UI_Composition_ICompositionObject2::ImplicitAnimations(winrt::Windows::UI::Composition::ImplicitAnimationCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject2)->put_ImplicitAnimations(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionObject2::StartAnimationGroup(winrt::Windows::UI::Composition::ICompositionAnimationBase const& value) const + template auto consume_Windows_UI_Composition_ICompositionObject2::StartAnimationGroup(winrt::Windows::UI::Composition::ICompositionAnimationBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject2)->StartAnimationGroup(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionObject2::StopAnimationGroup(winrt::Windows::UI::Composition::ICompositionAnimationBase const& value) const + template auto consume_Windows_UI_Composition_ICompositionObject2::StopAnimationGroup(winrt::Windows::UI::Composition::ICompositionAnimationBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject2)->StopAnimationGroup(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_UI_Composition_ICompositionObject3::DispatcherQueue() const + template auto consume_Windows_UI_Composition_ICompositionObject3::DispatcherQueue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject3)->get_DispatcherQueue(&value)); return winrt::Windows::System::DispatcherQueue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationController) consume_Windows_UI_Composition_ICompositionObject4::TryGetAnimationController(param::hstring const& propertyName) const + template auto consume_Windows_UI_Composition_ICompositionObject4::TryGetAnimationController(param::hstring const& propertyName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject4)->TryGetAnimationController(*(void**)(&propertyName), &result)); return winrt::Windows::UI::Composition::AnimationController{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionObjectStatics::StartAnimationWithIAnimationObject(winrt::Windows::UI::Composition::IAnimationObject const& target, param::hstring const& propertyName, winrt::Windows::UI::Composition::CompositionAnimation const& animation) const + template auto consume_Windows_UI_Composition_ICompositionObjectStatics::StartAnimationWithIAnimationObject(winrt::Windows::UI::Composition::IAnimationObject const& target, param::hstring const& propertyName, winrt::Windows::UI::Composition::CompositionAnimation const& animation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObjectStatics)->StartAnimationWithIAnimationObject(*(void**)(&target), *(void**)(&propertyName), *(void**)(&animation))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionObjectStatics::StartAnimationGroupWithIAnimationObject(winrt::Windows::UI::Composition::IAnimationObject const& target, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const + template auto consume_Windows_UI_Composition_ICompositionObjectStatics::StartAnimationGroupWithIAnimationObject(winrt::Windows::UI::Composition::IAnimationObject const& target, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObjectStatics)->StartAnimationGroupWithIAnimationObject(*(void**)(&target), *(void**)(&animation))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPath) consume_Windows_UI_Composition_ICompositionPathFactory::Create(winrt::Windows::Graphics::IGeometrySource2D const& source) const + template auto consume_Windows_UI_Composition_ICompositionPathFactory::Create(winrt::Windows::Graphics::IGeometrySource2D const& source) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPathFactory)->Create(*(void**)(&source), &value)); return winrt::Windows::UI::Composition::CompositionPath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPath) consume_Windows_UI_Composition_ICompositionPathGeometry::Path() const + template auto consume_Windows_UI_Composition_ICompositionPathGeometry::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPathGeometry)->get_Path(&value)); return winrt::Windows::UI::Composition::CompositionPath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPathGeometry::Path(winrt::Windows::UI::Composition::CompositionPath const& value) const + template auto consume_Windows_UI_Composition_ICompositionPathGeometry::Path(winrt::Windows::UI::Composition::CompositionPath const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPathGeometry)->put_Path(*(void**)(&value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionProjectedShadow::BlurRadiusMultiplier() const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadow::BlurRadiusMultiplier() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->get_BlurRadiusMultiplier(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadow::BlurRadiusMultiplier(float value) const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadow::BlurRadiusMultiplier(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->put_BlurRadiusMultiplier(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionProjectedShadowCasterCollection) consume_Windows_UI_Composition_ICompositionProjectedShadow::Casters() const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadow::Casters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->get_Casters(&value)); return winrt::Windows::UI::Composition::CompositionProjectedShadowCasterCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionLight) consume_Windows_UI_Composition_ICompositionProjectedShadow::LightSource() const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadow::LightSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->get_LightSource(&value)); return winrt::Windows::UI::Composition::CompositionLight{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadow::LightSource(winrt::Windows::UI::Composition::CompositionLight const& value) const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadow::LightSource(winrt::Windows::UI::Composition::CompositionLight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->put_LightSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionProjectedShadow::MaxBlurRadius() const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadow::MaxBlurRadius() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->get_MaxBlurRadius(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadow::MaxBlurRadius(float value) const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadow::MaxBlurRadius(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->put_MaxBlurRadius(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionProjectedShadow::MinBlurRadius() const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadow::MinBlurRadius() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->get_MinBlurRadius(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadow::MinBlurRadius(float value) const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadow::MinBlurRadius(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->put_MinBlurRadius(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiverUnorderedCollection) consume_Windows_UI_Composition_ICompositionProjectedShadow::Receivers() const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadow::Receivers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->get_Receivers(&value)); return winrt::Windows::UI::Composition::CompositionProjectedShadowReceiverUnorderedCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ICompositionProjectedShadowCaster::Brush() const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowCaster::Brush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCaster)->get_Brush(&value)); return winrt::Windows::UI::Composition::CompositionBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowCaster::Brush(winrt::Windows::UI::Composition::CompositionBrush const& value) const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowCaster::Brush(winrt::Windows::UI::Composition::CompositionBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCaster)->put_Brush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_ICompositionProjectedShadowCaster::CastingVisual() const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowCaster::CastingVisual() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCaster)->get_CastingVisual(&value)); return winrt::Windows::UI::Composition::Visual{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowCaster::CastingVisual(winrt::Windows::UI::Composition::Visual const& value) const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowCaster::CastingVisual(winrt::Windows::UI::Composition::Visual const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCaster)->put_CastingVisual(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection::Count() const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection::Count() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCasterCollection)->get_Count(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection::InsertAbove(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster, winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& reference) const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection::InsertAbove(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster, winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& reference) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCasterCollection)->InsertAbove(*(void**)(&newCaster), *(void**)(&reference))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection::InsertAtBottom(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster) const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection::InsertAtBottom(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCasterCollection)->InsertAtBottom(*(void**)(&newCaster))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection::InsertAtTop(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster) const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection::InsertAtTop(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCasterCollection)->InsertAtTop(*(void**)(&newCaster))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection::InsertBelow(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster, winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& reference) const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection::InsertBelow(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster, winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& reference) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCasterCollection)->InsertBelow(*(void**)(&newCaster), *(void**)(&reference))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection::Remove(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& caster) const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection::Remove(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& caster) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCasterCollection)->Remove(*(void**)(&caster))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection::RemoveAll() const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection::RemoveAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCasterCollection)->RemoveAll()); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollectionStatics::MaxRespectedCasters() const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollectionStatics::MaxRespectedCasters() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCasterCollectionStatics)->get_MaxRespectedCasters(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_ICompositionProjectedShadowReceiver::ReceivingVisual() const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowReceiver::ReceivingVisual() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowReceiver)->get_ReceivingVisual(&value)); return winrt::Windows::UI::Composition::Visual{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowReceiver::ReceivingVisual(winrt::Windows::UI::Composition::Visual const& value) const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowReceiver::ReceivingVisual(winrt::Windows::UI::Composition::Visual const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowReceiver)->put_ReceivingVisual(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection::Add(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiver const& value) const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection::Add(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiver const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowReceiverUnorderedCollection)->Add(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection::Count() const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection::Count() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowReceiverUnorderedCollection)->get_Count(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection::Remove(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiver const& value) const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection::Remove(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiver const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowReceiverUnorderedCollection)->Remove(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection::RemoveAll() const + template auto consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection::RemoveAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowReceiverUnorderedCollection)->RemoveAll()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet::InsertColor(param::hstring const& propertyName, winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet::InsertColor(param::hstring const& propertyName, winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->InsertColor(*(void**)(&propertyName), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet::InsertMatrix3x2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3x2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet::InsertMatrix3x2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3x2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->InsertMatrix3x2(*(void**)(&propertyName), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet::InsertMatrix4x4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4x4 const& value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet::InsertMatrix4x4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4x4 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->InsertMatrix4x4(*(void**)(&propertyName), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet::InsertQuaternion(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::quaternion const& value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet::InsertQuaternion(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::quaternion const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->InsertQuaternion(*(void**)(&propertyName), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet::InsertScalar(param::hstring const& propertyName, float value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet::InsertScalar(param::hstring const& propertyName, float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->InsertScalar(*(void**)(&propertyName), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet::InsertVector2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet::InsertVector2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->InsertVector2(*(void**)(&propertyName), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet::InsertVector3(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet::InsertVector3(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->InsertVector3(*(void**)(&propertyName), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet::InsertVector4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4 const& value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet::InsertVector4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->InsertVector4(*(void**)(&propertyName), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet::TryGetColor(param::hstring const& propertyName, winrt::Windows::UI::Color& value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet::TryGetColor(param::hstring const& propertyName, winrt::Windows::UI::Color& value) const { winrt::Windows::UI::Composition::CompositionGetValueStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->TryGetColor(*(void**)(&propertyName), impl::bind_out(value), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet::TryGetMatrix3x2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3x2& value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet::TryGetMatrix3x2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3x2& value) const { winrt::Windows::UI::Composition::CompositionGetValueStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->TryGetMatrix3x2(*(void**)(&propertyName), impl::bind_out(value), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet::TryGetMatrix4x4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4x4& value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet::TryGetMatrix4x4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4x4& value) const { winrt::Windows::UI::Composition::CompositionGetValueStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->TryGetMatrix4x4(*(void**)(&propertyName), impl::bind_out(value), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet::TryGetQuaternion(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::quaternion& value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet::TryGetQuaternion(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::quaternion& value) const { winrt::Windows::UI::Composition::CompositionGetValueStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->TryGetQuaternion(*(void**)(&propertyName), impl::bind_out(value), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet::TryGetScalar(param::hstring const& propertyName, float& value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet::TryGetScalar(param::hstring const& propertyName, float& value) const { winrt::Windows::UI::Composition::CompositionGetValueStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->TryGetScalar(*(void**)(&propertyName), &value, reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet::TryGetVector2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float2& value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet::TryGetVector2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float2& value) const { winrt::Windows::UI::Composition::CompositionGetValueStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->TryGetVector2(*(void**)(&propertyName), impl::bind_out(value), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet::TryGetVector3(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3& value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet::TryGetVector3(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3& value) const { winrt::Windows::UI::Composition::CompositionGetValueStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->TryGetVector3(*(void**)(&propertyName), impl::bind_out(value), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet::TryGetVector4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4& value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet::TryGetVector4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4& value) const { winrt::Windows::UI::Composition::CompositionGetValueStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->TryGetVector4(*(void**)(&propertyName), impl::bind_out(value), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet2::InsertBoolean(param::hstring const& propertyName, bool value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet2::InsertBoolean(param::hstring const& propertyName, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet2)->InsertBoolean(*(void**)(&propertyName), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet2::TryGetBoolean(param::hstring const& propertyName, bool& value) const + template auto consume_Windows_UI_Composition_ICompositionPropertySet2::TryGetBoolean(param::hstring const& propertyName, bool& value) const { winrt::Windows::UI::Composition::CompositionGetValueStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet2)->TryGetBoolean(*(void**)(&propertyName), &value, reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionRadialGradientBrush::EllipseCenter() const + template auto consume_Windows_UI_Composition_ICompositionRadialGradientBrush::EllipseCenter() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionRadialGradientBrush)->get_EllipseCenter(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionRadialGradientBrush::EllipseCenter(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionRadialGradientBrush::EllipseCenter(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionRadialGradientBrush)->put_EllipseCenter(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionRadialGradientBrush::EllipseRadius() const + template auto consume_Windows_UI_Composition_ICompositionRadialGradientBrush::EllipseRadius() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionRadialGradientBrush)->get_EllipseRadius(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionRadialGradientBrush::EllipseRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionRadialGradientBrush::EllipseRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionRadialGradientBrush)->put_EllipseRadius(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionRadialGradientBrush::GradientOriginOffset() const + template auto consume_Windows_UI_Composition_ICompositionRadialGradientBrush::GradientOriginOffset() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionRadialGradientBrush)->get_GradientOriginOffset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionRadialGradientBrush::GradientOriginOffset(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionRadialGradientBrush::GradientOriginOffset(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionRadialGradientBrush)->put_GradientOriginOffset(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionRectangleGeometry::Offset() const + template auto consume_Windows_UI_Composition_ICompositionRectangleGeometry::Offset() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionRectangleGeometry)->get_Offset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionRectangleGeometry::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionRectangleGeometry::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionRectangleGeometry)->put_Offset(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionRectangleGeometry::Size() const + template auto consume_Windows_UI_Composition_ICompositionRectangleGeometry::Size() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionRectangleGeometry)->get_Size(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionRectangleGeometry::Size(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionRectangleGeometry::Size(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionRectangleGeometry)->put_Size(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry::CornerRadius() const + template auto consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry::CornerRadius() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionRoundedRectangleGeometry)->get_CornerRadius(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry::CornerRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry::CornerRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionRoundedRectangleGeometry)->put_CornerRadius(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry::Offset() const + template auto consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry::Offset() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionRoundedRectangleGeometry)->get_Offset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionRoundedRectangleGeometry)->put_Offset(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry::Size() const + template auto consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry::Size() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionRoundedRectangleGeometry)->get_Size(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry::Size(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry::Size(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionRoundedRectangleGeometry)->put_Size(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionScopedBatch::IsActive() const + template auto consume_Windows_UI_Composition_ICompositionScopedBatch::IsActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionScopedBatch)->get_IsActive(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionScopedBatch::IsEnded() const + template auto consume_Windows_UI_Composition_ICompositionScopedBatch::IsEnded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionScopedBatch)->get_IsEnded(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionScopedBatch::End() const + template auto consume_Windows_UI_Composition_ICompositionScopedBatch::End() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionScopedBatch)->End()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionScopedBatch::Resume() const + template auto consume_Windows_UI_Composition_ICompositionScopedBatch::Resume() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionScopedBatch)->Resume()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionScopedBatch::Suspend() const + template auto consume_Windows_UI_Composition_ICompositionScopedBatch::Suspend() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionScopedBatch)->Suspend()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Composition_ICompositionScopedBatch::Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Composition_ICompositionScopedBatch::Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionScopedBatch)->add_Completed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Composition_ICompositionScopedBatch::Completed_revoker consume_Windows_UI_Composition_ICompositionScopedBatch::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Composition_ICompositionScopedBatch::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Completed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionScopedBatch::Completed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Composition_ICompositionScopedBatch::Completed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionScopedBatch)->remove_Completed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionShape::CenterPoint() const + template auto consume_Windows_UI_Composition_ICompositionShape::CenterPoint() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionShape)->get_CenterPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionShape::CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionShape::CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionShape)->put_CenterPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionShape::Offset() const + template auto consume_Windows_UI_Composition_ICompositionShape::Offset() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionShape)->get_Offset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionShape::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionShape::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionShape)->put_Offset(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionShape::RotationAngle() const + template auto consume_Windows_UI_Composition_ICompositionShape::RotationAngle() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionShape)->get_RotationAngle(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionShape::RotationAngle(float value) const + template auto consume_Windows_UI_Composition_ICompositionShape::RotationAngle(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionShape)->put_RotationAngle(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionShape::RotationAngleInDegrees() const + template auto consume_Windows_UI_Composition_ICompositionShape::RotationAngleInDegrees() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionShape)->get_RotationAngleInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionShape::RotationAngleInDegrees(float value) const + template auto consume_Windows_UI_Composition_ICompositionShape::RotationAngleInDegrees(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionShape)->put_RotationAngleInDegrees(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionShape::Scale() const + template auto consume_Windows_UI_Composition_ICompositionShape::Scale() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionShape)->get_Scale(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionShape::Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionShape::Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionShape)->put_Scale(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) consume_Windows_UI_Composition_ICompositionShape::TransformMatrix() const + template auto consume_Windows_UI_Composition_ICompositionShape::TransformMatrix() const { winrt::Windows::Foundation::Numerics::float3x2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionShape)->get_TransformMatrix(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionShape::TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionShape::TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionShape)->put_TransformMatrix(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ICompositionSpriteShape::FillBrush() const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::FillBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_FillBrush(&value)); return winrt::Windows::UI::Composition::CompositionBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape::FillBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::FillBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_FillBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGeometry) consume_Windows_UI_Composition_ICompositionSpriteShape::Geometry() const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::Geometry() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_Geometry(&value)); return winrt::Windows::UI::Composition::CompositionGeometry{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape::Geometry(winrt::Windows::UI::Composition::CompositionGeometry const& value) const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::Geometry(winrt::Windows::UI::Composition::CompositionGeometry const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_Geometry(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionSpriteShape::IsStrokeNonScaling() const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::IsStrokeNonScaling() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_IsStrokeNonScaling(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape::IsStrokeNonScaling(bool value) const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::IsStrokeNonScaling(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_IsStrokeNonScaling(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeBrush() const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_StrokeBrush(&value)); return winrt::Windows::UI::Composition::CompositionBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_StrokeBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStrokeDashArray) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeDashArray() const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeDashArray() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_StrokeDashArray(&value)); return winrt::Windows::UI::Composition::CompositionStrokeDashArray{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStrokeCap) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeDashCap() const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeDashCap() const { winrt::Windows::UI::Composition::CompositionStrokeCap value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_StrokeDashCap(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeDashCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeDashCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_StrokeDashCap(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeDashOffset() const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeDashOffset() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_StrokeDashOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeDashOffset(float value) const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeDashOffset(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_StrokeDashOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStrokeCap) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeEndCap() const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeEndCap() const { winrt::Windows::UI::Composition::CompositionStrokeCap value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_StrokeEndCap(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeEndCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeEndCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_StrokeEndCap(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStrokeLineJoin) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeLineJoin() const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeLineJoin() const { winrt::Windows::UI::Composition::CompositionStrokeLineJoin value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_StrokeLineJoin(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeLineJoin(winrt::Windows::UI::Composition::CompositionStrokeLineJoin const& value) const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeLineJoin(winrt::Windows::UI::Composition::CompositionStrokeLineJoin const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_StrokeLineJoin(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeMiterLimit() const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeMiterLimit() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_StrokeMiterLimit(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeMiterLimit(float value) const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeMiterLimit(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_StrokeMiterLimit(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStrokeCap) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeStartCap() const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeStartCap() const { winrt::Windows::UI::Composition::CompositionStrokeCap value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_StrokeStartCap(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeStartCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeStartCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_StrokeStartCap(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeThickness() const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeThickness() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_StrokeThickness(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeThickness(float value) const + template auto consume_Windows_UI_Composition_ICompositionSpriteShape::StrokeThickness(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_StrokeThickness(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode) consume_Windows_UI_Composition_ICompositionSurfaceBrush::BitmapInterpolationMode() const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush::BitmapInterpolationMode() const { winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->get_BitmapInterpolationMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush::BitmapInterpolationMode(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode const& value) const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush::BitmapInterpolationMode(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->put_BitmapInterpolationMode(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionSurfaceBrush::HorizontalAlignmentRatio() const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush::HorizontalAlignmentRatio() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->get_HorizontalAlignmentRatio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush::HorizontalAlignmentRatio(float value) const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush::HorizontalAlignmentRatio(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->put_HorizontalAlignmentRatio(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStretch) consume_Windows_UI_Composition_ICompositionSurfaceBrush::Stretch() const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush::Stretch() const { winrt::Windows::UI::Composition::CompositionStretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->get_Stretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush::Stretch(winrt::Windows::UI::Composition::CompositionStretch const& value) const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush::Stretch(winrt::Windows::UI::Composition::CompositionStretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->put_Stretch(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ICompositionSurface) consume_Windows_UI_Composition_ICompositionSurfaceBrush::Surface() const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush::Surface() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->get_Surface(&value)); return winrt::Windows::UI::Composition::ICompositionSurface{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush::Surface(winrt::Windows::UI::Composition::ICompositionSurface const& value) const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush::Surface(winrt::Windows::UI::Composition::ICompositionSurface const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->put_Surface(*(void**)(&value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionSurfaceBrush::VerticalAlignmentRatio() const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush::VerticalAlignmentRatio() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->get_VerticalAlignmentRatio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush::VerticalAlignmentRatio(float value) const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush::VerticalAlignmentRatio(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->put_VerticalAlignmentRatio(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionSurfaceBrush2::AnchorPoint() const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2::AnchorPoint() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->get_AnchorPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush2::AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2::AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->put_AnchorPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionSurfaceBrush2::CenterPoint() const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2::CenterPoint() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->get_CenterPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush2::CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2::CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->put_CenterPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionSurfaceBrush2::Offset() const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2::Offset() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->get_Offset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush2::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->put_Offset(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionSurfaceBrush2::RotationAngle() const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2::RotationAngle() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->get_RotationAngle(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush2::RotationAngle(float value) const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2::RotationAngle(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->put_RotationAngle(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionSurfaceBrush2::RotationAngleInDegrees() const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2::RotationAngleInDegrees() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->get_RotationAngleInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush2::RotationAngleInDegrees(float value) const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2::RotationAngleInDegrees(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->put_RotationAngleInDegrees(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionSurfaceBrush2::Scale() const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2::Scale() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->get_Scale(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush2::Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2::Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->put_Scale(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) consume_Windows_UI_Composition_ICompositionSurfaceBrush2::TransformMatrix() const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2::TransformMatrix() const { winrt::Windows::Foundation::Numerics::float3x2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->get_TransformMatrix(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush2::TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2::TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->put_TransformMatrix(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionSurfaceBrush3::SnapToPixels() const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush3::SnapToPixels() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush3)->get_SnapToPixels(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush3::SnapToPixels(bool value) const + template auto consume_Windows_UI_Composition_ICompositionSurfaceBrush3::SnapToPixels(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush3)->put_SnapToPixels(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ICompositionSurface) consume_Windows_UI_Composition_ICompositionSurfaceFacade::GetRealSurface() const + template auto consume_Windows_UI_Composition_ICompositionSurfaceFacade::GetRealSurface() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceFacade)->GetRealSurface(&result)); return winrt::Windows::UI::Composition::ICompositionSurface{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_ICompositionTarget::Root() const + template auto consume_Windows_UI_Composition_ICompositionTarget::Root() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionTarget)->get_Root(&value)); return winrt::Windows::UI::Composition::Visual{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionTarget::Root(winrt::Windows::UI::Composition::Visual const& value) const + template auto consume_Windows_UI_Composition_ICompositionTarget::Root(winrt::Windows::UI::Composition::Visual const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionTarget)->put_Root(*(void**)(&value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionViewBox::HorizontalAlignmentRatio() const + template auto consume_Windows_UI_Composition_ICompositionViewBox::HorizontalAlignmentRatio() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionViewBox)->get_HorizontalAlignmentRatio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionViewBox::HorizontalAlignmentRatio(float value) const + template auto consume_Windows_UI_Composition_ICompositionViewBox::HorizontalAlignmentRatio(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionViewBox)->put_HorizontalAlignmentRatio(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionViewBox::Offset() const + template auto consume_Windows_UI_Composition_ICompositionViewBox::Offset() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionViewBox)->get_Offset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionViewBox::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionViewBox::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionViewBox)->put_Offset(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionViewBox::Size() const + template auto consume_Windows_UI_Composition_ICompositionViewBox::Size() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionViewBox)->get_Size(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionViewBox::Size(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionViewBox::Size(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionViewBox)->put_Size(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStretch) consume_Windows_UI_Composition_ICompositionViewBox::Stretch() const + template auto consume_Windows_UI_Composition_ICompositionViewBox::Stretch() const { winrt::Windows::UI::Composition::CompositionStretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionViewBox)->get_Stretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionViewBox::Stretch(winrt::Windows::UI::Composition::CompositionStretch const& value) const + template auto consume_Windows_UI_Composition_ICompositionViewBox::Stretch(winrt::Windows::UI::Composition::CompositionStretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionViewBox)->put_Stretch(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionViewBox::VerticalAlignmentRatio() const + template auto consume_Windows_UI_Composition_ICompositionViewBox::VerticalAlignmentRatio() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionViewBox)->get_VerticalAlignmentRatio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionViewBox::VerticalAlignmentRatio(float value) const + template auto consume_Windows_UI_Composition_ICompositionViewBox::VerticalAlignmentRatio(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionViewBox)->put_VerticalAlignmentRatio(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionVirtualDrawingSurface::Trim(array_view rects) const + template auto consume_Windows_UI_Composition_ICompositionVirtualDrawingSurface::Trim(array_view rects) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionVirtualDrawingSurface)->Trim(rects.size(), get_abi(rects))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_ICompositionVisualSurface::SourceVisual() const + template auto consume_Windows_UI_Composition_ICompositionVisualSurface::SourceVisual() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionVisualSurface)->get_SourceVisual(&value)); return winrt::Windows::UI::Composition::Visual{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionVisualSurface::SourceVisual(winrt::Windows::UI::Composition::Visual const& value) const + template auto consume_Windows_UI_Composition_ICompositionVisualSurface::SourceVisual(winrt::Windows::UI::Composition::Visual const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionVisualSurface)->put_SourceVisual(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionVisualSurface::SourceOffset() const + template auto consume_Windows_UI_Composition_ICompositionVisualSurface::SourceOffset() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionVisualSurface)->get_SourceOffset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionVisualSurface::SourceOffset(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionVisualSurface::SourceOffset(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionVisualSurface)->put_SourceOffset(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionVisualSurface::SourceSize() const + template auto consume_Windows_UI_Composition_ICompositionVisualSurface::SourceSize() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionVisualSurface)->get_SourceSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionVisualSurface::SourceSize(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_ICompositionVisualSurface::SourceSize(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionVisualSurface)->put_SourceSize(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ColorKeyFrameAnimation) consume_Windows_UI_Composition_ICompositor::CreateColorKeyFrameAnimation() const + template auto consume_Windows_UI_Composition_ICompositor::CreateColorKeyFrameAnimation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateColorKeyFrameAnimation(&result)); return winrt::Windows::UI::Composition::ColorKeyFrameAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorBrush) consume_Windows_UI_Composition_ICompositor::CreateColorBrush() const + template auto consume_Windows_UI_Composition_ICompositor::CreateColorBrush() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateColorBrush(&result)); return winrt::Windows::UI::Composition::CompositionColorBrush{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorBrush) consume_Windows_UI_Composition_ICompositor::CreateColorBrush(winrt::Windows::UI::Color const& color) const + template auto consume_Windows_UI_Composition_ICompositor::CreateColorBrush(winrt::Windows::UI::Color const& color) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateColorBrushWithColor(impl::bind_in(color), &result)); return winrt::Windows::UI::Composition::CompositionColorBrush{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ContainerVisual) consume_Windows_UI_Composition_ICompositor::CreateContainerVisual() const + template auto consume_Windows_UI_Composition_ICompositor::CreateContainerVisual() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateContainerVisual(&result)); return winrt::Windows::UI::Composition::ContainerVisual{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CubicBezierEasingFunction) consume_Windows_UI_Composition_ICompositor::CreateCubicBezierEasingFunction(winrt::Windows::Foundation::Numerics::float2 const& controlPoint1, winrt::Windows::Foundation::Numerics::float2 const& controlPoint2) const + template auto consume_Windows_UI_Composition_ICompositor::CreateCubicBezierEasingFunction(winrt::Windows::Foundation::Numerics::float2 const& controlPoint1, winrt::Windows::Foundation::Numerics::float2 const& controlPoint2) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateCubicBezierEasingFunction(impl::bind_in(controlPoint1), impl::bind_in(controlPoint2), &result)); return winrt::Windows::UI::Composition::CubicBezierEasingFunction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectFactory) consume_Windows_UI_Composition_ICompositor::CreateEffectFactory(winrt::Windows::Graphics::Effects::IGraphicsEffect const& graphicsEffect) const + template auto consume_Windows_UI_Composition_ICompositor::CreateEffectFactory(winrt::Windows::Graphics::Effects::IGraphicsEffect const& graphicsEffect) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateEffectFactory(*(void**)(&graphicsEffect), &result)); return winrt::Windows::UI::Composition::CompositionEffectFactory{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectFactory) consume_Windows_UI_Composition_ICompositor::CreateEffectFactory(winrt::Windows::Graphics::Effects::IGraphicsEffect const& graphicsEffect, param::iterable const& animatableProperties) const + template auto consume_Windows_UI_Composition_ICompositor::CreateEffectFactory(winrt::Windows::Graphics::Effects::IGraphicsEffect const& graphicsEffect, param::iterable const& animatableProperties) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateEffectFactoryWithProperties(*(void**)(&graphicsEffect), *(void**)(&animatableProperties), &result)); return winrt::Windows::UI::Composition::CompositionEffectFactory{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_ICompositor::CreateExpressionAnimation() const + template auto consume_Windows_UI_Composition_ICompositor::CreateExpressionAnimation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateExpressionAnimation(&result)); return winrt::Windows::UI::Composition::ExpressionAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_ICompositor::CreateExpressionAnimation(param::hstring const& expression) const + template auto consume_Windows_UI_Composition_ICompositor::CreateExpressionAnimation(param::hstring const& expression) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateExpressionAnimationWithExpression(*(void**)(&expression), &result)); return winrt::Windows::UI::Composition::ExpressionAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::InsetClip) consume_Windows_UI_Composition_ICompositor::CreateInsetClip() const + template auto consume_Windows_UI_Composition_ICompositor::CreateInsetClip() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateInsetClip(&result)); return winrt::Windows::UI::Composition::InsetClip{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::InsetClip) consume_Windows_UI_Composition_ICompositor::CreateInsetClip(float leftInset, float topInset, float rightInset, float bottomInset) const + template auto consume_Windows_UI_Composition_ICompositor::CreateInsetClip(float leftInset, float topInset, float rightInset, float bottomInset) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateInsetClipWithInsets(leftInset, topInset, rightInset, bottomInset, &result)); return winrt::Windows::UI::Composition::InsetClip{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::LinearEasingFunction) consume_Windows_UI_Composition_ICompositor::CreateLinearEasingFunction() const + template auto consume_Windows_UI_Composition_ICompositor::CreateLinearEasingFunction() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateLinearEasingFunction(&result)); return winrt::Windows::UI::Composition::LinearEasingFunction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPropertySet) consume_Windows_UI_Composition_ICompositor::CreatePropertySet() const + template auto consume_Windows_UI_Composition_ICompositor::CreatePropertySet() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreatePropertySet(&result)); return winrt::Windows::UI::Composition::CompositionPropertySet{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::QuaternionKeyFrameAnimation) consume_Windows_UI_Composition_ICompositor::CreateQuaternionKeyFrameAnimation() const + template auto consume_Windows_UI_Composition_ICompositor::CreateQuaternionKeyFrameAnimation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateQuaternionKeyFrameAnimation(&result)); return winrt::Windows::UI::Composition::QuaternionKeyFrameAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ScalarKeyFrameAnimation) consume_Windows_UI_Composition_ICompositor::CreateScalarKeyFrameAnimation() const + template auto consume_Windows_UI_Composition_ICompositor::CreateScalarKeyFrameAnimation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateScalarKeyFrameAnimation(&result)); return winrt::Windows::UI::Composition::ScalarKeyFrameAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionScopedBatch) consume_Windows_UI_Composition_ICompositor::CreateScopedBatch(winrt::Windows::UI::Composition::CompositionBatchTypes const& batchType) const + template auto consume_Windows_UI_Composition_ICompositor::CreateScopedBatch(winrt::Windows::UI::Composition::CompositionBatchTypes const& batchType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateScopedBatch(static_cast(batchType), &result)); return winrt::Windows::UI::Composition::CompositionScopedBatch{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SpriteVisual) consume_Windows_UI_Composition_ICompositor::CreateSpriteVisual() const + template auto consume_Windows_UI_Composition_ICompositor::CreateSpriteVisual() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateSpriteVisual(&result)); return winrt::Windows::UI::Composition::SpriteVisual{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionSurfaceBrush) consume_Windows_UI_Composition_ICompositor::CreateSurfaceBrush() const + template auto consume_Windows_UI_Composition_ICompositor::CreateSurfaceBrush() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateSurfaceBrush(&result)); return winrt::Windows::UI::Composition::CompositionSurfaceBrush{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionSurfaceBrush) consume_Windows_UI_Composition_ICompositor::CreateSurfaceBrush(winrt::Windows::UI::Composition::ICompositionSurface const& surface) const + template auto consume_Windows_UI_Composition_ICompositor::CreateSurfaceBrush(winrt::Windows::UI::Composition::ICompositionSurface const& surface) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateSurfaceBrushWithSurface(*(void**)(&surface), &result)); return winrt::Windows::UI::Composition::CompositionSurfaceBrush{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionTarget) consume_Windows_UI_Composition_ICompositor::CreateTargetForCurrentView() const + template auto consume_Windows_UI_Composition_ICompositor::CreateTargetForCurrentView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateTargetForCurrentView(&result)); return winrt::Windows::UI::Composition::CompositionTarget{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Vector2KeyFrameAnimation) consume_Windows_UI_Composition_ICompositor::CreateVector2KeyFrameAnimation() const + template auto consume_Windows_UI_Composition_ICompositor::CreateVector2KeyFrameAnimation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateVector2KeyFrameAnimation(&result)); return winrt::Windows::UI::Composition::Vector2KeyFrameAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Vector3KeyFrameAnimation) consume_Windows_UI_Composition_ICompositor::CreateVector3KeyFrameAnimation() const + template auto consume_Windows_UI_Composition_ICompositor::CreateVector3KeyFrameAnimation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateVector3KeyFrameAnimation(&result)); return winrt::Windows::UI::Composition::Vector3KeyFrameAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Vector4KeyFrameAnimation) consume_Windows_UI_Composition_ICompositor::CreateVector4KeyFrameAnimation() const + template auto consume_Windows_UI_Composition_ICompositor::CreateVector4KeyFrameAnimation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateVector4KeyFrameAnimation(&result)); return winrt::Windows::UI::Composition::Vector4KeyFrameAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionCommitBatch) consume_Windows_UI_Composition_ICompositor::GetCommitBatch(winrt::Windows::UI::Composition::CompositionBatchTypes const& batchType) const + template auto consume_Windows_UI_Composition_ICompositor::GetCommitBatch(winrt::Windows::UI::Composition::CompositionBatchTypes const& batchType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->GetCommitBatch(static_cast(batchType), &result)); return winrt::Windows::UI::Composition::CompositionCommitBatch{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AmbientLight) consume_Windows_UI_Composition_ICompositor2::CreateAmbientLight() const + template auto consume_Windows_UI_Composition_ICompositor2::CreateAmbientLight() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor2)->CreateAmbientLight(&result)); return winrt::Windows::UI::Composition::AmbientLight{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionAnimationGroup) consume_Windows_UI_Composition_ICompositor2::CreateAnimationGroup() const + template auto consume_Windows_UI_Composition_ICompositor2::CreateAnimationGroup() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor2)->CreateAnimationGroup(&result)); return winrt::Windows::UI::Composition::CompositionAnimationGroup{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBackdropBrush) consume_Windows_UI_Composition_ICompositor2::CreateBackdropBrush() const + template auto consume_Windows_UI_Composition_ICompositor2::CreateBackdropBrush() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor2)->CreateBackdropBrush(&result)); return winrt::Windows::UI::Composition::CompositionBackdropBrush{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::DistantLight) consume_Windows_UI_Composition_ICompositor2::CreateDistantLight() const + template auto consume_Windows_UI_Composition_ICompositor2::CreateDistantLight() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor2)->CreateDistantLight(&result)); return winrt::Windows::UI::Composition::DistantLight{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::DropShadow) consume_Windows_UI_Composition_ICompositor2::CreateDropShadow() const + template auto consume_Windows_UI_Composition_ICompositor2::CreateDropShadow() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor2)->CreateDropShadow(&result)); return winrt::Windows::UI::Composition::DropShadow{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ImplicitAnimationCollection) consume_Windows_UI_Composition_ICompositor2::CreateImplicitAnimationCollection() const + template auto consume_Windows_UI_Composition_ICompositor2::CreateImplicitAnimationCollection() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor2)->CreateImplicitAnimationCollection(&result)); return winrt::Windows::UI::Composition::ImplicitAnimationCollection{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::LayerVisual) consume_Windows_UI_Composition_ICompositor2::CreateLayerVisual() const + template auto consume_Windows_UI_Composition_ICompositor2::CreateLayerVisual() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor2)->CreateLayerVisual(&result)); return winrt::Windows::UI::Composition::LayerVisual{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionMaskBrush) consume_Windows_UI_Composition_ICompositor2::CreateMaskBrush() const + template auto consume_Windows_UI_Composition_ICompositor2::CreateMaskBrush() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor2)->CreateMaskBrush(&result)); return winrt::Windows::UI::Composition::CompositionMaskBrush{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionNineGridBrush) consume_Windows_UI_Composition_ICompositor2::CreateNineGridBrush() const + template auto consume_Windows_UI_Composition_ICompositor2::CreateNineGridBrush() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor2)->CreateNineGridBrush(&result)); return winrt::Windows::UI::Composition::CompositionNineGridBrush{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::PointLight) consume_Windows_UI_Composition_ICompositor2::CreatePointLight() const + template auto consume_Windows_UI_Composition_ICompositor2::CreatePointLight() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor2)->CreatePointLight(&result)); return winrt::Windows::UI::Composition::PointLight{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SpotLight) consume_Windows_UI_Composition_ICompositor2::CreateSpotLight() const + template auto consume_Windows_UI_Composition_ICompositor2::CreateSpotLight() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor2)->CreateSpotLight(&result)); return winrt::Windows::UI::Composition::SpotLight{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::StepEasingFunction) consume_Windows_UI_Composition_ICompositor2::CreateStepEasingFunction() const + template auto consume_Windows_UI_Composition_ICompositor2::CreateStepEasingFunction() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor2)->CreateStepEasingFunction(&result)); return winrt::Windows::UI::Composition::StepEasingFunction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::StepEasingFunction) consume_Windows_UI_Composition_ICompositor2::CreateStepEasingFunction(int32_t stepCount) const + template auto consume_Windows_UI_Composition_ICompositor2::CreateStepEasingFunction(int32_t stepCount) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor2)->CreateStepEasingFunctionWithStepCount(stepCount, &result)); return winrt::Windows::UI::Composition::StepEasingFunction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBackdropBrush) consume_Windows_UI_Composition_ICompositor3::CreateHostBackdropBrush() const + template auto consume_Windows_UI_Composition_ICompositor3::CreateHostBackdropBrush() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor3)->CreateHostBackdropBrush(&result)); return winrt::Windows::UI::Composition::CompositionBackdropBrush{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorGradientStop) consume_Windows_UI_Composition_ICompositor4::CreateColorGradientStop() const + template auto consume_Windows_UI_Composition_ICompositor4::CreateColorGradientStop() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor4)->CreateColorGradientStop(&result)); return winrt::Windows::UI::Composition::CompositionColorGradientStop{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorGradientStop) consume_Windows_UI_Composition_ICompositor4::CreateColorGradientStop(float offset, winrt::Windows::UI::Color const& color) const + template auto consume_Windows_UI_Composition_ICompositor4::CreateColorGradientStop(float offset, winrt::Windows::UI::Color const& color) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor4)->CreateColorGradientStopWithOffsetAndColor(offset, impl::bind_in(color), &result)); return winrt::Windows::UI::Composition::CompositionColorGradientStop{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionLinearGradientBrush) consume_Windows_UI_Composition_ICompositor4::CreateLinearGradientBrush() const + template auto consume_Windows_UI_Composition_ICompositor4::CreateLinearGradientBrush() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor4)->CreateLinearGradientBrush(&result)); return winrt::Windows::UI::Composition::CompositionLinearGradientBrush{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SpringScalarNaturalMotionAnimation) consume_Windows_UI_Composition_ICompositor4::CreateSpringScalarAnimation() const + template auto consume_Windows_UI_Composition_ICompositor4::CreateSpringScalarAnimation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor4)->CreateSpringScalarAnimation(&result)); return winrt::Windows::UI::Composition::SpringScalarNaturalMotionAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SpringVector2NaturalMotionAnimation) consume_Windows_UI_Composition_ICompositor4::CreateSpringVector2Animation() const + template auto consume_Windows_UI_Composition_ICompositor4::CreateSpringVector2Animation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor4)->CreateSpringVector2Animation(&result)); return winrt::Windows::UI::Composition::SpringVector2NaturalMotionAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SpringVector3NaturalMotionAnimation) consume_Windows_UI_Composition_ICompositor4::CreateSpringVector3Animation() const + template auto consume_Windows_UI_Composition_ICompositor4::CreateSpringVector3Animation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor4)->CreateSpringVector3Animation(&result)); return winrt::Windows::UI::Composition::SpringVector3NaturalMotionAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Composition_ICompositor5::Comment() const + template auto consume_Windows_UI_Composition_ICompositor5::Comment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->get_Comment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositor5::Comment(param::hstring const& value) const + template auto consume_Windows_UI_Composition_ICompositor5::Comment(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->put_Comment(*(void**)(&value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositor5::GlobalPlaybackRate() const + template auto consume_Windows_UI_Composition_ICompositor5::GlobalPlaybackRate() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->get_GlobalPlaybackRate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositor5::GlobalPlaybackRate(float value) const + template auto consume_Windows_UI_Composition_ICompositor5::GlobalPlaybackRate(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->put_GlobalPlaybackRate(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BounceScalarNaturalMotionAnimation) consume_Windows_UI_Composition_ICompositor5::CreateBounceScalarAnimation() const + template auto consume_Windows_UI_Composition_ICompositor5::CreateBounceScalarAnimation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->CreateBounceScalarAnimation(&result)); return winrt::Windows::UI::Composition::BounceScalarNaturalMotionAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BounceVector2NaturalMotionAnimation) consume_Windows_UI_Composition_ICompositor5::CreateBounceVector2Animation() const + template auto consume_Windows_UI_Composition_ICompositor5::CreateBounceVector2Animation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->CreateBounceVector2Animation(&result)); return winrt::Windows::UI::Composition::BounceVector2NaturalMotionAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BounceVector3NaturalMotionAnimation) consume_Windows_UI_Composition_ICompositor5::CreateBounceVector3Animation() const + template auto consume_Windows_UI_Composition_ICompositor5::CreateBounceVector3Animation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->CreateBounceVector3Animation(&result)); return winrt::Windows::UI::Composition::BounceVector3NaturalMotionAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionContainerShape) consume_Windows_UI_Composition_ICompositor5::CreateContainerShape() const + template auto consume_Windows_UI_Composition_ICompositor5::CreateContainerShape() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->CreateContainerShape(&result)); return winrt::Windows::UI::Composition::CompositionContainerShape{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEllipseGeometry) consume_Windows_UI_Composition_ICompositor5::CreateEllipseGeometry() const + template auto consume_Windows_UI_Composition_ICompositor5::CreateEllipseGeometry() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->CreateEllipseGeometry(&result)); return winrt::Windows::UI::Composition::CompositionEllipseGeometry{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionLineGeometry) consume_Windows_UI_Composition_ICompositor5::CreateLineGeometry() const + template auto consume_Windows_UI_Composition_ICompositor5::CreateLineGeometry() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->CreateLineGeometry(&result)); return winrt::Windows::UI::Composition::CompositionLineGeometry{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPathGeometry) consume_Windows_UI_Composition_ICompositor5::CreatePathGeometry() const + template auto consume_Windows_UI_Composition_ICompositor5::CreatePathGeometry() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->CreatePathGeometry(&result)); return winrt::Windows::UI::Composition::CompositionPathGeometry{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPathGeometry) consume_Windows_UI_Composition_ICompositor5::CreatePathGeometry(winrt::Windows::UI::Composition::CompositionPath const& path) const + template auto consume_Windows_UI_Composition_ICompositor5::CreatePathGeometry(winrt::Windows::UI::Composition::CompositionPath const& path) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->CreatePathGeometryWithPath(*(void**)(&path), &result)); return winrt::Windows::UI::Composition::CompositionPathGeometry{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::PathKeyFrameAnimation) consume_Windows_UI_Composition_ICompositor5::CreatePathKeyFrameAnimation() const + template auto consume_Windows_UI_Composition_ICompositor5::CreatePathKeyFrameAnimation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->CreatePathKeyFrameAnimation(&result)); return winrt::Windows::UI::Composition::PathKeyFrameAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionRectangleGeometry) consume_Windows_UI_Composition_ICompositor5::CreateRectangleGeometry() const + template auto consume_Windows_UI_Composition_ICompositor5::CreateRectangleGeometry() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->CreateRectangleGeometry(&result)); return winrt::Windows::UI::Composition::CompositionRectangleGeometry{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionRoundedRectangleGeometry) consume_Windows_UI_Composition_ICompositor5::CreateRoundedRectangleGeometry() const + template auto consume_Windows_UI_Composition_ICompositor5::CreateRoundedRectangleGeometry() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->CreateRoundedRectangleGeometry(&result)); return winrt::Windows::UI::Composition::CompositionRoundedRectangleGeometry{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ShapeVisual) consume_Windows_UI_Composition_ICompositor5::CreateShapeVisual() const + template auto consume_Windows_UI_Composition_ICompositor5::CreateShapeVisual() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->CreateShapeVisual(&result)); return winrt::Windows::UI::Composition::ShapeVisual{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionSpriteShape) consume_Windows_UI_Composition_ICompositor5::CreateSpriteShape() const + template auto consume_Windows_UI_Composition_ICompositor5::CreateSpriteShape() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->CreateSpriteShape(&result)); return winrt::Windows::UI::Composition::CompositionSpriteShape{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionSpriteShape) consume_Windows_UI_Composition_ICompositor5::CreateSpriteShape(winrt::Windows::UI::Composition::CompositionGeometry const& geometry) const + template auto consume_Windows_UI_Composition_ICompositor5::CreateSpriteShape(winrt::Windows::UI::Composition::CompositionGeometry const& geometry) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->CreateSpriteShapeWithGeometry(*(void**)(&geometry), &result)); return winrt::Windows::UI::Composition::CompositionSpriteShape{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionViewBox) consume_Windows_UI_Composition_ICompositor5::CreateViewBox() const + template auto consume_Windows_UI_Composition_ICompositor5::CreateViewBox() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->CreateViewBox(&result)); return winrt::Windows::UI::Composition::CompositionViewBox{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Composition_ICompositor5::RequestCommitAsync() const + template auto consume_Windows_UI_Composition_ICompositor5::RequestCommitAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->RequestCommitAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGeometricClip) consume_Windows_UI_Composition_ICompositor6::CreateGeometricClip() const + template auto consume_Windows_UI_Composition_ICompositor6::CreateGeometricClip() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor6)->CreateGeometricClip(&result)); return winrt::Windows::UI::Composition::CompositionGeometricClip{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGeometricClip) consume_Windows_UI_Composition_ICompositor6::CreateGeometricClip(winrt::Windows::UI::Composition::CompositionGeometry const& geometry) const + template auto consume_Windows_UI_Composition_ICompositor6::CreateGeometricClip(winrt::Windows::UI::Composition::CompositionGeometry const& geometry) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor6)->CreateGeometricClipWithGeometry(*(void**)(&geometry), &result)); return winrt::Windows::UI::Composition::CompositionGeometricClip{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RedirectVisual) consume_Windows_UI_Composition_ICompositor6::CreateRedirectVisual() const + template auto consume_Windows_UI_Composition_ICompositor6::CreateRedirectVisual() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor6)->CreateRedirectVisual(&result)); return winrt::Windows::UI::Composition::RedirectVisual{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RedirectVisual) consume_Windows_UI_Composition_ICompositor6::CreateRedirectVisual(winrt::Windows::UI::Composition::Visual const& source) const + template auto consume_Windows_UI_Composition_ICompositor6::CreateRedirectVisual(winrt::Windows::UI::Composition::Visual const& source) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor6)->CreateRedirectVisualWithSourceVisual(*(void**)(&source), &result)); return winrt::Windows::UI::Composition::RedirectVisual{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BooleanKeyFrameAnimation) consume_Windows_UI_Composition_ICompositor6::CreateBooleanKeyFrameAnimation() const + template auto consume_Windows_UI_Composition_ICompositor6::CreateBooleanKeyFrameAnimation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor6)->CreateBooleanKeyFrameAnimation(&result)); return winrt::Windows::UI::Composition::BooleanKeyFrameAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_UI_Composition_ICompositor7::DispatcherQueue() const + template auto consume_Windows_UI_Composition_ICompositor7::DispatcherQueue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor7)->get_DispatcherQueue(&value)); return winrt::Windows::System::DispatcherQueue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationPropertyInfo) consume_Windows_UI_Composition_ICompositor7::CreateAnimationPropertyInfo() const + template auto consume_Windows_UI_Composition_ICompositor7::CreateAnimationPropertyInfo() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor7)->CreateAnimationPropertyInfo(&result)); return winrt::Windows::UI::Composition::AnimationPropertyInfo{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RectangleClip) consume_Windows_UI_Composition_ICompositor7::CreateRectangleClip() const + template auto consume_Windows_UI_Composition_ICompositor7::CreateRectangleClip() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor7)->CreateRectangleClip(&result)); return winrt::Windows::UI::Composition::RectangleClip{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RectangleClip) consume_Windows_UI_Composition_ICompositor7::CreateRectangleClip(float left, float top, float right, float bottom) const + template auto consume_Windows_UI_Composition_ICompositor7::CreateRectangleClip(float left, float top, float right, float bottom) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor7)->CreateRectangleClipWithSides(left, top, right, bottom, &result)); return winrt::Windows::UI::Composition::RectangleClip{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RectangleClip) consume_Windows_UI_Composition_ICompositor7::CreateRectangleClip(float left, float top, float right, float bottom, winrt::Windows::Foundation::Numerics::float2 const& topLeftRadius, winrt::Windows::Foundation::Numerics::float2 const& topRightRadius, winrt::Windows::Foundation::Numerics::float2 const& bottomRightRadius, winrt::Windows::Foundation::Numerics::float2 const& bottomLeftRadius) const + template auto consume_Windows_UI_Composition_ICompositor7::CreateRectangleClip(float left, float top, float right, float bottom, winrt::Windows::Foundation::Numerics::float2 const& topLeftRadius, winrt::Windows::Foundation::Numerics::float2 const& topRightRadius, winrt::Windows::Foundation::Numerics::float2 const& bottomRightRadius, winrt::Windows::Foundation::Numerics::float2 const& bottomLeftRadius) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor7)->CreateRectangleClipWithSidesAndRadius(left, top, right, bottom, impl::bind_in(topLeftRadius), impl::bind_in(topRightRadius), impl::bind_in(bottomRightRadius), impl::bind_in(bottomLeftRadius), &result)); return winrt::Windows::UI::Composition::RectangleClip{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositorStatics::MaxGlobalPlaybackRate() const + template auto consume_Windows_UI_Composition_ICompositorStatics::MaxGlobalPlaybackRate() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositorStatics)->get_MaxGlobalPlaybackRate(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositorStatics::MinGlobalPlaybackRate() const + template auto consume_Windows_UI_Composition_ICompositorStatics::MinGlobalPlaybackRate() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositorStatics)->get_MinGlobalPlaybackRate(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster) consume_Windows_UI_Composition_ICompositorWithProjectedShadow::CreateProjectedShadowCaster() const + template auto consume_Windows_UI_Composition_ICompositorWithProjectedShadow::CreateProjectedShadowCaster() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositorWithProjectedShadow)->CreateProjectedShadowCaster(&result)); return winrt::Windows::UI::Composition::CompositionProjectedShadowCaster{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionProjectedShadow) consume_Windows_UI_Composition_ICompositorWithProjectedShadow::CreateProjectedShadow() const + template auto consume_Windows_UI_Composition_ICompositorWithProjectedShadow::CreateProjectedShadow() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositorWithProjectedShadow)->CreateProjectedShadow(&result)); return winrt::Windows::UI::Composition::CompositionProjectedShadow{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiver) consume_Windows_UI_Composition_ICompositorWithProjectedShadow::CreateProjectedShadowReceiver() const + template auto consume_Windows_UI_Composition_ICompositorWithProjectedShadow::CreateProjectedShadowReceiver() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositorWithProjectedShadow)->CreateProjectedShadowReceiver(&result)); return winrt::Windows::UI::Composition::CompositionProjectedShadowReceiver{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionRadialGradientBrush) consume_Windows_UI_Composition_ICompositorWithRadialGradient::CreateRadialGradientBrush() const + template auto consume_Windows_UI_Composition_ICompositorWithRadialGradient::CreateRadialGradientBrush() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositorWithRadialGradient)->CreateRadialGradientBrush(&result)); return winrt::Windows::UI::Composition::CompositionRadialGradientBrush{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionVisualSurface) consume_Windows_UI_Composition_ICompositorWithVisualSurface::CreateVisualSurface() const + template auto consume_Windows_UI_Composition_ICompositorWithVisualSurface::CreateVisualSurface() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositorWithVisualSurface)->CreateVisualSurface(&result)); return winrt::Windows::UI::Composition::CompositionVisualSurface{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::VisualCollection) consume_Windows_UI_Composition_IContainerVisual::Children() const + template auto consume_Windows_UI_Composition_IContainerVisual::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IContainerVisual)->get_Children(&value)); return winrt::Windows::UI::Composition::VisualCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICubicBezierEasingFunction::ControlPoint1() const + template auto consume_Windows_UI_Composition_ICubicBezierEasingFunction::ControlPoint1() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICubicBezierEasingFunction)->get_ControlPoint1(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICubicBezierEasingFunction::ControlPoint2() const + template auto consume_Windows_UI_Composition_ICubicBezierEasingFunction::ControlPoint2() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICubicBezierEasingFunction)->get_ControlPoint2(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Composition_IDelegatedInkTrailVisual::AddTrailPoints(array_view inkPoints) const + template auto consume_Windows_UI_Composition_IDelegatedInkTrailVisual::AddTrailPoints(array_view inkPoints) const { uint32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDelegatedInkTrailVisual)->AddTrailPoints(inkPoints.size(), get_abi(inkPoints), &result)); return result; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Composition_IDelegatedInkTrailVisual::AddTrailPointsWithPrediction(array_view inkPoints, array_view predictedInkPoints) const + template auto consume_Windows_UI_Composition_IDelegatedInkTrailVisual::AddTrailPointsWithPrediction(array_view inkPoints, array_view predictedInkPoints) const { uint32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDelegatedInkTrailVisual)->AddTrailPointsWithPrediction(inkPoints.size(), get_abi(inkPoints), predictedInkPoints.size(), get_abi(predictedInkPoints), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDelegatedInkTrailVisual::RemoveTrailPoints(uint32_t generationId) const + template auto consume_Windows_UI_Composition_IDelegatedInkTrailVisual::RemoveTrailPoints(uint32_t generationId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDelegatedInkTrailVisual)->RemoveTrailPoints(generationId)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDelegatedInkTrailVisual::StartNewTrail(winrt::Windows::UI::Color const& color) const + template auto consume_Windows_UI_Composition_IDelegatedInkTrailVisual::StartNewTrail(winrt::Windows::UI::Color const& color) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDelegatedInkTrailVisual)->StartNewTrail(impl::bind_in(color))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::DelegatedInkTrailVisual) consume_Windows_UI_Composition_IDelegatedInkTrailVisualStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const + template auto consume_Windows_UI_Composition_IDelegatedInkTrailVisualStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDelegatedInkTrailVisualStatics)->Create(*(void**)(&compositor), &result)); return winrt::Windows::UI::Composition::DelegatedInkTrailVisual{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::DelegatedInkTrailVisual) consume_Windows_UI_Composition_IDelegatedInkTrailVisualStatics::CreateForSwapChain(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::UI::Composition::ICompositionSurface const& swapChain) const + template auto consume_Windows_UI_Composition_IDelegatedInkTrailVisualStatics::CreateForSwapChain(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::UI::Composition::ICompositionSurface const& swapChain) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDelegatedInkTrailVisualStatics)->CreateForSwapChain(*(void**)(&compositor), *(void**)(&swapChain), &result)); return winrt::Windows::UI::Composition::DelegatedInkTrailVisual{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_IDistantLight::Color() const + template auto consume_Windows_UI_Composition_IDistantLight::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDistantLight)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDistantLight::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Composition_IDistantLight::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDistantLight)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_IDistantLight::CoordinateSpace() const + template auto consume_Windows_UI_Composition_IDistantLight::CoordinateSpace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDistantLight)->get_CoordinateSpace(&value)); return winrt::Windows::UI::Composition::Visual{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDistantLight::CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const + template auto consume_Windows_UI_Composition_IDistantLight::CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDistantLight)->put_CoordinateSpace(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IDistantLight::Direction() const + template auto consume_Windows_UI_Composition_IDistantLight::Direction() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDistantLight)->get_Direction(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDistantLight::Direction(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_IDistantLight::Direction(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDistantLight)->put_Direction(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IDistantLight2::Intensity() const + template auto consume_Windows_UI_Composition_IDistantLight2::Intensity() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDistantLight2)->get_Intensity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDistantLight2::Intensity(float value) const + template auto consume_Windows_UI_Composition_IDistantLight2::Intensity(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDistantLight2)->put_Intensity(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IDropShadow::BlurRadius() const + template auto consume_Windows_UI_Composition_IDropShadow::BlurRadius() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow)->get_BlurRadius(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDropShadow::BlurRadius(float value) const + template auto consume_Windows_UI_Composition_IDropShadow::BlurRadius(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow)->put_BlurRadius(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_IDropShadow::Color() const + template auto consume_Windows_UI_Composition_IDropShadow::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDropShadow::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Composition_IDropShadow::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_IDropShadow::Mask() const + template auto consume_Windows_UI_Composition_IDropShadow::Mask() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow)->get_Mask(&value)); return winrt::Windows::UI::Composition::CompositionBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDropShadow::Mask(winrt::Windows::UI::Composition::CompositionBrush const& value) const + template auto consume_Windows_UI_Composition_IDropShadow::Mask(winrt::Windows::UI::Composition::CompositionBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow)->put_Mask(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IDropShadow::Offset() const + template auto consume_Windows_UI_Composition_IDropShadow::Offset() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow)->get_Offset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDropShadow::Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_IDropShadow::Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow)->put_Offset(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IDropShadow::Opacity() const + template auto consume_Windows_UI_Composition_IDropShadow::Opacity() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow)->get_Opacity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDropShadow::Opacity(float value) const + template auto consume_Windows_UI_Composition_IDropShadow::Opacity(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow)->put_Opacity(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionDropShadowSourcePolicy) consume_Windows_UI_Composition_IDropShadow2::SourcePolicy() const + template auto consume_Windows_UI_Composition_IDropShadow2::SourcePolicy() const { winrt::Windows::UI::Composition::CompositionDropShadowSourcePolicy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow2)->get_SourcePolicy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDropShadow2::SourcePolicy(winrt::Windows::UI::Composition::CompositionDropShadowSourcePolicy const& value) const + template auto consume_Windows_UI_Composition_IDropShadow2::SourcePolicy(winrt::Windows::UI::Composition::CompositionDropShadowSourcePolicy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow2)->put_SourcePolicy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_IElasticEasingFunction::Mode() const + template auto consume_Windows_UI_Composition_IElasticEasingFunction::Mode() const { winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IElasticEasingFunction)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IElasticEasingFunction::Oscillations() const + template auto consume_Windows_UI_Composition_IElasticEasingFunction::Oscillations() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IElasticEasingFunction)->get_Oscillations(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IElasticEasingFunction::Springiness() const + template auto consume_Windows_UI_Composition_IElasticEasingFunction::Springiness() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IElasticEasingFunction)->get_Springiness(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_IExponentialEasingFunction::Mode() const + template auto consume_Windows_UI_Composition_IExponentialEasingFunction::Mode() const { winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IExponentialEasingFunction)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IExponentialEasingFunction::Exponent() const + template auto consume_Windows_UI_Composition_IExponentialEasingFunction::Exponent() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IExponentialEasingFunction)->get_Exponent(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Composition_IExpressionAnimation::Expression() const + template auto consume_Windows_UI_Composition_IExpressionAnimation::Expression() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IExpressionAnimation)->get_Expression(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IExpressionAnimation::Expression(param::hstring const& value) const + template auto consume_Windows_UI_Composition_IExpressionAnimation::Expression(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IExpressionAnimation)->put_Expression(*(void**)(&value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IInsetClip::BottomInset() const + template auto consume_Windows_UI_Composition_IInsetClip::BottomInset() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IInsetClip)->get_BottomInset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IInsetClip::BottomInset(float value) const + template auto consume_Windows_UI_Composition_IInsetClip::BottomInset(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IInsetClip)->put_BottomInset(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IInsetClip::LeftInset() const + template auto consume_Windows_UI_Composition_IInsetClip::LeftInset() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IInsetClip)->get_LeftInset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IInsetClip::LeftInset(float value) const + template auto consume_Windows_UI_Composition_IInsetClip::LeftInset(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IInsetClip)->put_LeftInset(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IInsetClip::RightInset() const + template auto consume_Windows_UI_Composition_IInsetClip::RightInset() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IInsetClip)->get_RightInset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IInsetClip::RightInset(float value) const + template auto consume_Windows_UI_Composition_IInsetClip::RightInset(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IInsetClip)->put_RightInset(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IInsetClip::TopInset() const + template auto consume_Windows_UI_Composition_IInsetClip::TopInset() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IInsetClip)->get_TopInset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IInsetClip::TopInset(float value) const + template auto consume_Windows_UI_Composition_IInsetClip::TopInset(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IInsetClip)->put_TopInset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Composition_IKeyFrameAnimation::DelayTime() const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation::DelayTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->get_DelayTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation::DelayTime(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation::DelayTime(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->put_DelayTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Composition_IKeyFrameAnimation::Duration() const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation::Duration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation::Duration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->put_Duration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationIterationBehavior) consume_Windows_UI_Composition_IKeyFrameAnimation::IterationBehavior() const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation::IterationBehavior() const { winrt::Windows::UI::Composition::AnimationIterationBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->get_IterationBehavior(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation::IterationBehavior(winrt::Windows::UI::Composition::AnimationIterationBehavior const& value) const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation::IterationBehavior(winrt::Windows::UI::Composition::AnimationIterationBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->put_IterationBehavior(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IKeyFrameAnimation::IterationCount() const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation::IterationCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->get_IterationCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation::IterationCount(int32_t value) const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation::IterationCount(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->put_IterationCount(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IKeyFrameAnimation::KeyFrameCount() const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation::KeyFrameCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->get_KeyFrameCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationStopBehavior) consume_Windows_UI_Composition_IKeyFrameAnimation::StopBehavior() const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation::StopBehavior() const { winrt::Windows::UI::Composition::AnimationStopBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->get_StopBehavior(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation::StopBehavior(winrt::Windows::UI::Composition::AnimationStopBehavior const& value) const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation::StopBehavior(winrt::Windows::UI::Composition::AnimationStopBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->put_StopBehavior(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation::InsertExpressionKeyFrame(float normalizedProgressKey, param::hstring const& value) const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation::InsertExpressionKeyFrame(float normalizedProgressKey, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->InsertExpressionKeyFrame(normalizedProgressKey, *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation::InsertExpressionKeyFrame(float normalizedProgressKey, param::hstring const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation::InsertExpressionKeyFrame(float normalizedProgressKey, param::hstring const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->InsertExpressionKeyFrameWithEasingFunction(normalizedProgressKey, *(void**)(&value), *(void**)(&easingFunction))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationDirection) consume_Windows_UI_Composition_IKeyFrameAnimation2::Direction() const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation2::Direction() const { winrt::Windows::UI::Composition::AnimationDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation2)->get_Direction(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation2::Direction(winrt::Windows::UI::Composition::AnimationDirection const& value) const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation2::Direction(winrt::Windows::UI::Composition::AnimationDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation2)->put_Direction(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationDelayBehavior) consume_Windows_UI_Composition_IKeyFrameAnimation3::DelayBehavior() const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation3::DelayBehavior() const { winrt::Windows::UI::Composition::AnimationDelayBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation3)->get_DelayBehavior(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation3::DelayBehavior(winrt::Windows::UI::Composition::AnimationDelayBehavior const& value) const + template auto consume_Windows_UI_Composition_IKeyFrameAnimation3::DelayBehavior(winrt::Windows::UI::Composition::AnimationDelayBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation3)->put_DelayBehavior(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectBrush) consume_Windows_UI_Composition_ILayerVisual::Effect() const + template auto consume_Windows_UI_Composition_ILayerVisual::Effect() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ILayerVisual)->get_Effect(&value)); return winrt::Windows::UI::Composition::CompositionEffectBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ILayerVisual::Effect(winrt::Windows::UI::Composition::CompositionEffectBrush const& value) const + template auto consume_Windows_UI_Composition_ILayerVisual::Effect(winrt::Windows::UI::Composition::CompositionEffectBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ILayerVisual)->put_Effect(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionShadow) consume_Windows_UI_Composition_ILayerVisual2::Shadow() const + template auto consume_Windows_UI_Composition_ILayerVisual2::Shadow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ILayerVisual2)->get_Shadow(&value)); return winrt::Windows::UI::Composition::CompositionShadow{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ILayerVisual2::Shadow(winrt::Windows::UI::Composition::CompositionShadow const& value) const + template auto consume_Windows_UI_Composition_ILayerVisual2::Shadow(winrt::Windows::UI::Composition::CompositionShadow const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ILayerVisual2)->put_Shadow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationDelayBehavior) consume_Windows_UI_Composition_INaturalMotionAnimation::DelayBehavior() const + template auto consume_Windows_UI_Composition_INaturalMotionAnimation::DelayBehavior() const { winrt::Windows::UI::Composition::AnimationDelayBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::INaturalMotionAnimation)->get_DelayBehavior(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_INaturalMotionAnimation::DelayBehavior(winrt::Windows::UI::Composition::AnimationDelayBehavior const& value) const + template auto consume_Windows_UI_Composition_INaturalMotionAnimation::DelayBehavior(winrt::Windows::UI::Composition::AnimationDelayBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::INaturalMotionAnimation)->put_DelayBehavior(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Composition_INaturalMotionAnimation::DelayTime() const + template auto consume_Windows_UI_Composition_INaturalMotionAnimation::DelayTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::INaturalMotionAnimation)->get_DelayTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_INaturalMotionAnimation::DelayTime(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Composition_INaturalMotionAnimation::DelayTime(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::INaturalMotionAnimation)->put_DelayTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationStopBehavior) consume_Windows_UI_Composition_INaturalMotionAnimation::StopBehavior() const + template auto consume_Windows_UI_Composition_INaturalMotionAnimation::StopBehavior() const { winrt::Windows::UI::Composition::AnimationStopBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::INaturalMotionAnimation)->get_StopBehavior(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_INaturalMotionAnimation::StopBehavior(winrt::Windows::UI::Composition::AnimationStopBehavior const& value) const + template auto consume_Windows_UI_Composition_INaturalMotionAnimation::StopBehavior(winrt::Windows::UI::Composition::AnimationStopBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::INaturalMotionAnimation)->put_StopBehavior(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPathKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Composition::CompositionPath const& path) const + template auto consume_Windows_UI_Composition_IPathKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Composition::CompositionPath const& path) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPathKeyFrameAnimation)->InsertKeyFrame(normalizedProgressKey, *(void**)(&path))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPathKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Composition::CompositionPath const& path, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const + template auto consume_Windows_UI_Composition_IPathKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Composition::CompositionPath const& path, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPathKeyFrameAnimation)->InsertKeyFrameWithEasingFunction(normalizedProgressKey, *(void**)(&path), *(void**)(&easingFunction))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_IPointLight::Color() const + template auto consume_Windows_UI_Composition_IPointLight::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Composition_IPointLight::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IPointLight::ConstantAttenuation() const + template auto consume_Windows_UI_Composition_IPointLight::ConstantAttenuation() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->get_ConstantAttenuation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight::ConstantAttenuation(float value) const + template auto consume_Windows_UI_Composition_IPointLight::ConstantAttenuation(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->put_ConstantAttenuation(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_IPointLight::CoordinateSpace() const + template auto consume_Windows_UI_Composition_IPointLight::CoordinateSpace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->get_CoordinateSpace(&value)); return winrt::Windows::UI::Composition::Visual{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight::CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const + template auto consume_Windows_UI_Composition_IPointLight::CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->put_CoordinateSpace(*(void**)(&value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IPointLight::LinearAttenuation() const + template auto consume_Windows_UI_Composition_IPointLight::LinearAttenuation() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->get_LinearAttenuation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight::LinearAttenuation(float value) const + template auto consume_Windows_UI_Composition_IPointLight::LinearAttenuation(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->put_LinearAttenuation(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IPointLight::Offset() const + template auto consume_Windows_UI_Composition_IPointLight::Offset() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->get_Offset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight::Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_IPointLight::Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->put_Offset(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IPointLight::QuadraticAttenuation() const + template auto consume_Windows_UI_Composition_IPointLight::QuadraticAttenuation() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->get_QuadraticAttenuation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight::QuadraticAttenuation(float value) const + template auto consume_Windows_UI_Composition_IPointLight::QuadraticAttenuation(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->put_QuadraticAttenuation(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IPointLight2::Intensity() const + template auto consume_Windows_UI_Composition_IPointLight2::Intensity() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight2)->get_Intensity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight2::Intensity(float value) const + template auto consume_Windows_UI_Composition_IPointLight2::Intensity(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight2)->put_Intensity(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IPointLight3::MinAttenuationCutoff() const + template auto consume_Windows_UI_Composition_IPointLight3::MinAttenuationCutoff() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight3)->get_MinAttenuationCutoff(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight3::MinAttenuationCutoff(float value) const + template auto consume_Windows_UI_Composition_IPointLight3::MinAttenuationCutoff(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight3)->put_MinAttenuationCutoff(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IPointLight3::MaxAttenuationCutoff() const + template auto consume_Windows_UI_Composition_IPointLight3::MaxAttenuationCutoff() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight3)->get_MaxAttenuationCutoff(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight3::MaxAttenuationCutoff(float value) const + template auto consume_Windows_UI_Composition_IPointLight3::MaxAttenuationCutoff(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight3)->put_MaxAttenuationCutoff(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_IPowerEasingFunction::Mode() const + template auto consume_Windows_UI_Composition_IPowerEasingFunction::Mode() const { winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPowerEasingFunction)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IPowerEasingFunction::Power() const + template auto consume_Windows_UI_Composition_IPowerEasingFunction::Power() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPowerEasingFunction)->get_Power(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IQuaternionKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::quaternion const& value) const + template auto consume_Windows_UI_Composition_IQuaternionKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::quaternion const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IQuaternionKeyFrameAnimation)->InsertKeyFrame(normalizedProgressKey, impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IQuaternionKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::quaternion const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const + template auto consume_Windows_UI_Composition_IQuaternionKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::quaternion const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IQuaternionKeyFrameAnimation)->InsertKeyFrameWithEasingFunction(normalizedProgressKey, impl::bind_in(value), *(void**)(&easingFunction))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IRectangleClip::Bottom() const + template auto consume_Windows_UI_Composition_IRectangleClip::Bottom() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_Bottom(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip::Bottom(float value) const + template auto consume_Windows_UI_Composition_IRectangleClip::Bottom(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_Bottom(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IRectangleClip::BottomLeftRadius() const + template auto consume_Windows_UI_Composition_IRectangleClip::BottomLeftRadius() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_BottomLeftRadius(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip::BottomLeftRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_IRectangleClip::BottomLeftRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_BottomLeftRadius(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IRectangleClip::BottomRightRadius() const + template auto consume_Windows_UI_Composition_IRectangleClip::BottomRightRadius() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_BottomRightRadius(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip::BottomRightRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_IRectangleClip::BottomRightRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_BottomRightRadius(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IRectangleClip::Left() const + template auto consume_Windows_UI_Composition_IRectangleClip::Left() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_Left(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip::Left(float value) const + template auto consume_Windows_UI_Composition_IRectangleClip::Left(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_Left(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IRectangleClip::Right() const + template auto consume_Windows_UI_Composition_IRectangleClip::Right() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_Right(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip::Right(float value) const + template auto consume_Windows_UI_Composition_IRectangleClip::Right(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_Right(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IRectangleClip::Top() const + template auto consume_Windows_UI_Composition_IRectangleClip::Top() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_Top(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip::Top(float value) const + template auto consume_Windows_UI_Composition_IRectangleClip::Top(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_Top(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IRectangleClip::TopLeftRadius() const + template auto consume_Windows_UI_Composition_IRectangleClip::TopLeftRadius() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_TopLeftRadius(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip::TopLeftRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_IRectangleClip::TopLeftRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_TopLeftRadius(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IRectangleClip::TopRightRadius() const + template auto consume_Windows_UI_Composition_IRectangleClip::TopRightRadius() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_TopRightRadius(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip::TopRightRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_IRectangleClip::TopRightRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_TopRightRadius(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_IRedirectVisual::Source() const + template auto consume_Windows_UI_Composition_IRedirectVisual::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRedirectVisual)->get_Source(&value)); return winrt::Windows::UI::Composition::Visual{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRedirectVisual::Source(winrt::Windows::UI::Composition::Visual const& value) const + template auto consume_Windows_UI_Composition_IRedirectVisual::Source(winrt::Windows::UI::Composition::Visual const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRedirectVisual)->put_Source(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGraphicsDevice) consume_Windows_UI_Composition_IRenderingDeviceReplacedEventArgs::GraphicsDevice() const + template auto consume_Windows_UI_Composition_IRenderingDeviceReplacedEventArgs::GraphicsDevice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRenderingDeviceReplacedEventArgs)->get_GraphicsDevice(&value)); return winrt::Windows::UI::Composition::CompositionGraphicsDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IScalarKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, float value) const + template auto consume_Windows_UI_Composition_IScalarKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IScalarKeyFrameAnimation)->InsertKeyFrame(normalizedProgressKey, value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IScalarKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, float value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const + template auto consume_Windows_UI_Composition_IScalarKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, float value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IScalarKeyFrameAnimation)->InsertKeyFrameWithEasingFunction(normalizedProgressKey, value, *(void**)(&easingFunction))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Composition_IScalarNaturalMotionAnimation::FinalValue() const + template auto consume_Windows_UI_Composition_IScalarNaturalMotionAnimation::FinalValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IScalarNaturalMotionAnimation)->get_FinalValue(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IScalarNaturalMotionAnimation::FinalValue(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Composition_IScalarNaturalMotionAnimation::FinalValue(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IScalarNaturalMotionAnimation)->put_FinalValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Composition_IScalarNaturalMotionAnimation::InitialValue() const + template auto consume_Windows_UI_Composition_IScalarNaturalMotionAnimation::InitialValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IScalarNaturalMotionAnimation)->get_InitialValue(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IScalarNaturalMotionAnimation::InitialValue(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Composition_IScalarNaturalMotionAnimation::InitialValue(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IScalarNaturalMotionAnimation)->put_InitialValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IScalarNaturalMotionAnimation::InitialVelocity() const + template auto consume_Windows_UI_Composition_IScalarNaturalMotionAnimation::InitialVelocity() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IScalarNaturalMotionAnimation)->get_InitialVelocity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IScalarNaturalMotionAnimation::InitialVelocity(float value) const + template auto consume_Windows_UI_Composition_IScalarNaturalMotionAnimation::InitialVelocity(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IScalarNaturalMotionAnimation)->put_InitialVelocity(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionShapeCollection) consume_Windows_UI_Composition_IShapeVisual::Shapes() const + template auto consume_Windows_UI_Composition_IShapeVisual::Shapes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IShapeVisual)->get_Shapes(&value)); return winrt::Windows::UI::Composition::CompositionShapeCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionViewBox) consume_Windows_UI_Composition_IShapeVisual::ViewBox() const + template auto consume_Windows_UI_Composition_IShapeVisual::ViewBox() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IShapeVisual)->get_ViewBox(&value)); return winrt::Windows::UI::Composition::CompositionViewBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IShapeVisual::ViewBox(winrt::Windows::UI::Composition::CompositionViewBox const& value) const + template auto consume_Windows_UI_Composition_IShapeVisual::ViewBox(winrt::Windows::UI::Composition::CompositionViewBox const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IShapeVisual)->put_ViewBox(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_ISineEasingFunction::Mode() const + template auto consume_Windows_UI_Composition_ISineEasingFunction::Mode() const { winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISineEasingFunction)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight::ConstantAttenuation() const + template auto consume_Windows_UI_Composition_ISpotLight::ConstantAttenuation() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_ConstantAttenuation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight::ConstantAttenuation(float value) const + template auto consume_Windows_UI_Composition_ISpotLight::ConstantAttenuation(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_ConstantAttenuation(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_ISpotLight::CoordinateSpace() const + template auto consume_Windows_UI_Composition_ISpotLight::CoordinateSpace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_CoordinateSpace(&value)); return winrt::Windows::UI::Composition::Visual{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight::CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const + template auto consume_Windows_UI_Composition_ISpotLight::CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_CoordinateSpace(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_ISpotLight::Direction() const + template auto consume_Windows_UI_Composition_ISpotLight::Direction() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_Direction(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight::Direction(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_ISpotLight::Direction(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_Direction(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight::InnerConeAngle() const + template auto consume_Windows_UI_Composition_ISpotLight::InnerConeAngle() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_InnerConeAngle(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight::InnerConeAngle(float value) const + template auto consume_Windows_UI_Composition_ISpotLight::InnerConeAngle(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_InnerConeAngle(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight::InnerConeAngleInDegrees() const + template auto consume_Windows_UI_Composition_ISpotLight::InnerConeAngleInDegrees() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_InnerConeAngleInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight::InnerConeAngleInDegrees(float value) const + template auto consume_Windows_UI_Composition_ISpotLight::InnerConeAngleInDegrees(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_InnerConeAngleInDegrees(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_ISpotLight::InnerConeColor() const + template auto consume_Windows_UI_Composition_ISpotLight::InnerConeColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_InnerConeColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight::InnerConeColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Composition_ISpotLight::InnerConeColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_InnerConeColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight::LinearAttenuation() const + template auto consume_Windows_UI_Composition_ISpotLight::LinearAttenuation() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_LinearAttenuation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight::LinearAttenuation(float value) const + template auto consume_Windows_UI_Composition_ISpotLight::LinearAttenuation(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_LinearAttenuation(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_ISpotLight::Offset() const + template auto consume_Windows_UI_Composition_ISpotLight::Offset() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_Offset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight::Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_ISpotLight::Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_Offset(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight::OuterConeAngle() const + template auto consume_Windows_UI_Composition_ISpotLight::OuterConeAngle() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_OuterConeAngle(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight::OuterConeAngle(float value) const + template auto consume_Windows_UI_Composition_ISpotLight::OuterConeAngle(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_OuterConeAngle(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight::OuterConeAngleInDegrees() const + template auto consume_Windows_UI_Composition_ISpotLight::OuterConeAngleInDegrees() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_OuterConeAngleInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight::OuterConeAngleInDegrees(float value) const + template auto consume_Windows_UI_Composition_ISpotLight::OuterConeAngleInDegrees(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_OuterConeAngleInDegrees(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_ISpotLight::OuterConeColor() const + template auto consume_Windows_UI_Composition_ISpotLight::OuterConeColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_OuterConeColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight::OuterConeColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Composition_ISpotLight::OuterConeColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_OuterConeColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight::QuadraticAttenuation() const + template auto consume_Windows_UI_Composition_ISpotLight::QuadraticAttenuation() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_QuadraticAttenuation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight::QuadraticAttenuation(float value) const + template auto consume_Windows_UI_Composition_ISpotLight::QuadraticAttenuation(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_QuadraticAttenuation(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight2::InnerConeIntensity() const + template auto consume_Windows_UI_Composition_ISpotLight2::InnerConeIntensity() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight2)->get_InnerConeIntensity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight2::InnerConeIntensity(float value) const + template auto consume_Windows_UI_Composition_ISpotLight2::InnerConeIntensity(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight2)->put_InnerConeIntensity(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight2::OuterConeIntensity() const + template auto consume_Windows_UI_Composition_ISpotLight2::OuterConeIntensity() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight2)->get_OuterConeIntensity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight2::OuterConeIntensity(float value) const + template auto consume_Windows_UI_Composition_ISpotLight2::OuterConeIntensity(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight2)->put_OuterConeIntensity(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight3::MinAttenuationCutoff() const + template auto consume_Windows_UI_Composition_ISpotLight3::MinAttenuationCutoff() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight3)->get_MinAttenuationCutoff(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight3::MinAttenuationCutoff(float value) const + template auto consume_Windows_UI_Composition_ISpotLight3::MinAttenuationCutoff(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight3)->put_MinAttenuationCutoff(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight3::MaxAttenuationCutoff() const + template auto consume_Windows_UI_Composition_ISpotLight3::MaxAttenuationCutoff() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight3)->get_MaxAttenuationCutoff(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight3::MaxAttenuationCutoff(float value) const + template auto consume_Windows_UI_Composition_ISpotLight3::MaxAttenuationCutoff(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight3)->put_MaxAttenuationCutoff(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation::DampingRatio() const + template auto consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation::DampingRatio() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringScalarNaturalMotionAnimation)->get_DampingRatio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation::DampingRatio(float value) const + template auto consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation::DampingRatio(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringScalarNaturalMotionAnimation)->put_DampingRatio(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation::Period() const + template auto consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation::Period() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringScalarNaturalMotionAnimation)->get_Period(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation::Period(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation::Period(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringScalarNaturalMotionAnimation)->put_Period(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation::DampingRatio() const + template auto consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation::DampingRatio() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringVector2NaturalMotionAnimation)->get_DampingRatio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation::DampingRatio(float value) const + template auto consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation::DampingRatio(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringVector2NaturalMotionAnimation)->put_DampingRatio(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation::Period() const + template auto consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation::Period() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringVector2NaturalMotionAnimation)->get_Period(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation::Period(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation::Period(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringVector2NaturalMotionAnimation)->put_Period(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation::DampingRatio() const + template auto consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation::DampingRatio() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringVector3NaturalMotionAnimation)->get_DampingRatio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation::DampingRatio(float value) const + template auto consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation::DampingRatio(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringVector3NaturalMotionAnimation)->put_DampingRatio(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation::Period() const + template auto consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation::Period() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringVector3NaturalMotionAnimation)->get_Period(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation::Period(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation::Period(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringVector3NaturalMotionAnimation)->put_Period(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ISpriteVisual::Brush() const + template auto consume_Windows_UI_Composition_ISpriteVisual::Brush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpriteVisual)->get_Brush(&value)); return winrt::Windows::UI::Composition::CompositionBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpriteVisual::Brush(winrt::Windows::UI::Composition::CompositionBrush const& value) const + template auto consume_Windows_UI_Composition_ISpriteVisual::Brush(winrt::Windows::UI::Composition::CompositionBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpriteVisual)->put_Brush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionShadow) consume_Windows_UI_Composition_ISpriteVisual2::Shadow() const + template auto consume_Windows_UI_Composition_ISpriteVisual2::Shadow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpriteVisual2)->get_Shadow(&value)); return winrt::Windows::UI::Composition::CompositionShadow{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpriteVisual2::Shadow(winrt::Windows::UI::Composition::CompositionShadow const& value) const + template auto consume_Windows_UI_Composition_ISpriteVisual2::Shadow(winrt::Windows::UI::Composition::CompositionShadow const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpriteVisual2)->put_Shadow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IStepEasingFunction::FinalStep() const + template auto consume_Windows_UI_Composition_IStepEasingFunction::FinalStep() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->get_FinalStep(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IStepEasingFunction::FinalStep(int32_t value) const + template auto consume_Windows_UI_Composition_IStepEasingFunction::FinalStep(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->put_FinalStep(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IStepEasingFunction::InitialStep() const + template auto consume_Windows_UI_Composition_IStepEasingFunction::InitialStep() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->get_InitialStep(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IStepEasingFunction::InitialStep(int32_t value) const + template auto consume_Windows_UI_Composition_IStepEasingFunction::InitialStep(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->put_InitialStep(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_IStepEasingFunction::IsFinalStepSingleFrame() const + template auto consume_Windows_UI_Composition_IStepEasingFunction::IsFinalStepSingleFrame() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->get_IsFinalStepSingleFrame(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IStepEasingFunction::IsFinalStepSingleFrame(bool value) const + template auto consume_Windows_UI_Composition_IStepEasingFunction::IsFinalStepSingleFrame(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->put_IsFinalStepSingleFrame(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_IStepEasingFunction::IsInitialStepSingleFrame() const + template auto consume_Windows_UI_Composition_IStepEasingFunction::IsInitialStepSingleFrame() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->get_IsInitialStepSingleFrame(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IStepEasingFunction::IsInitialStepSingleFrame(bool value) const + template auto consume_Windows_UI_Composition_IStepEasingFunction::IsInitialStepSingleFrame(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->put_IsInitialStepSingleFrame(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IStepEasingFunction::StepCount() const + template auto consume_Windows_UI_Composition_IStepEasingFunction::StepCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->get_StepCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IStepEasingFunction::StepCount(int32_t value) const + template auto consume_Windows_UI_Composition_IStepEasingFunction::StepCount(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->put_StepCount(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector2KeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_IVector2KeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector2KeyFrameAnimation)->InsertKeyFrame(normalizedProgressKey, impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector2KeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float2 const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const + template auto consume_Windows_UI_Composition_IVector2KeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float2 const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector2KeyFrameAnimation)->InsertKeyFrameWithEasingFunction(normalizedProgressKey, impl::bind_in(value), *(void**)(&easingFunction))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Composition_IVector2NaturalMotionAnimation::FinalValue() const + template auto consume_Windows_UI_Composition_IVector2NaturalMotionAnimation::FinalValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector2NaturalMotionAnimation)->get_FinalValue(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector2NaturalMotionAnimation::FinalValue(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Composition_IVector2NaturalMotionAnimation::FinalValue(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector2NaturalMotionAnimation)->put_FinalValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Composition_IVector2NaturalMotionAnimation::InitialValue() const + template auto consume_Windows_UI_Composition_IVector2NaturalMotionAnimation::InitialValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector2NaturalMotionAnimation)->get_InitialValue(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector2NaturalMotionAnimation::InitialValue(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Composition_IVector2NaturalMotionAnimation::InitialValue(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector2NaturalMotionAnimation)->put_InitialValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IVector2NaturalMotionAnimation::InitialVelocity() const + template auto consume_Windows_UI_Composition_IVector2NaturalMotionAnimation::InitialVelocity() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector2NaturalMotionAnimation)->get_InitialVelocity(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector2NaturalMotionAnimation::InitialVelocity(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_IVector2NaturalMotionAnimation::InitialVelocity(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector2NaturalMotionAnimation)->put_InitialVelocity(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector3KeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_IVector3KeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector3KeyFrameAnimation)->InsertKeyFrame(normalizedProgressKey, impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector3KeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float3 const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const + template auto consume_Windows_UI_Composition_IVector3KeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float3 const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector3KeyFrameAnimation)->InsertKeyFrameWithEasingFunction(normalizedProgressKey, impl::bind_in(value), *(void**)(&easingFunction))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Composition_IVector3NaturalMotionAnimation::FinalValue() const + template auto consume_Windows_UI_Composition_IVector3NaturalMotionAnimation::FinalValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector3NaturalMotionAnimation)->get_FinalValue(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector3NaturalMotionAnimation::FinalValue(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Composition_IVector3NaturalMotionAnimation::FinalValue(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector3NaturalMotionAnimation)->put_FinalValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Composition_IVector3NaturalMotionAnimation::InitialValue() const + template auto consume_Windows_UI_Composition_IVector3NaturalMotionAnimation::InitialValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector3NaturalMotionAnimation)->get_InitialValue(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector3NaturalMotionAnimation::InitialValue(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Composition_IVector3NaturalMotionAnimation::InitialValue(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector3NaturalMotionAnimation)->put_InitialValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IVector3NaturalMotionAnimation::InitialVelocity() const + template auto consume_Windows_UI_Composition_IVector3NaturalMotionAnimation::InitialVelocity() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector3NaturalMotionAnimation)->get_InitialVelocity(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector3NaturalMotionAnimation::InitialVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_IVector3NaturalMotionAnimation::InitialVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector3NaturalMotionAnimation)->put_InitialVelocity(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector4KeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float4 const& value) const + template auto consume_Windows_UI_Composition_IVector4KeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float4 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector4KeyFrameAnimation)->InsertKeyFrame(normalizedProgressKey, impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector4KeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float4 const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const + template auto consume_Windows_UI_Composition_IVector4KeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float4 const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector4KeyFrameAnimation)->InsertKeyFrameWithEasingFunction(normalizedProgressKey, impl::bind_in(value), *(void**)(&easingFunction))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IVisual::AnchorPoint() const + template auto consume_Windows_UI_Composition_IVisual::AnchorPoint() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_AnchorPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual::AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_IVisual::AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_AnchorPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBackfaceVisibility) consume_Windows_UI_Composition_IVisual::BackfaceVisibility() const + template auto consume_Windows_UI_Composition_IVisual::BackfaceVisibility() const { winrt::Windows::UI::Composition::CompositionBackfaceVisibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_BackfaceVisibility(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual::BackfaceVisibility(winrt::Windows::UI::Composition::CompositionBackfaceVisibility const& value) const + template auto consume_Windows_UI_Composition_IVisual::BackfaceVisibility(winrt::Windows::UI::Composition::CompositionBackfaceVisibility const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_BackfaceVisibility(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBorderMode) consume_Windows_UI_Composition_IVisual::BorderMode() const + template auto consume_Windows_UI_Composition_IVisual::BorderMode() const { winrt::Windows::UI::Composition::CompositionBorderMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_BorderMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual::BorderMode(winrt::Windows::UI::Composition::CompositionBorderMode const& value) const + template auto consume_Windows_UI_Composition_IVisual::BorderMode(winrt::Windows::UI::Composition::CompositionBorderMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_BorderMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IVisual::CenterPoint() const + template auto consume_Windows_UI_Composition_IVisual::CenterPoint() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_CenterPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual::CenterPoint(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_IVisual::CenterPoint(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_CenterPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionClip) consume_Windows_UI_Composition_IVisual::Clip() const + template auto consume_Windows_UI_Composition_IVisual::Clip() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_Clip(&value)); return winrt::Windows::UI::Composition::CompositionClip{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual::Clip(winrt::Windows::UI::Composition::CompositionClip const& value) const + template auto consume_Windows_UI_Composition_IVisual::Clip(winrt::Windows::UI::Composition::CompositionClip const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_Clip(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionCompositeMode) consume_Windows_UI_Composition_IVisual::CompositeMode() const + template auto consume_Windows_UI_Composition_IVisual::CompositeMode() const { winrt::Windows::UI::Composition::CompositionCompositeMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_CompositeMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual::CompositeMode(winrt::Windows::UI::Composition::CompositionCompositeMode const& value) const + template auto consume_Windows_UI_Composition_IVisual::CompositeMode(winrt::Windows::UI::Composition::CompositionCompositeMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_CompositeMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_IVisual::IsVisible() const + template auto consume_Windows_UI_Composition_IVisual::IsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_IsVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual::IsVisible(bool value) const + template auto consume_Windows_UI_Composition_IVisual::IsVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_IsVisible(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IVisual::Offset() const + template auto consume_Windows_UI_Composition_IVisual::Offset() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_Offset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual::Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_IVisual::Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_Offset(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IVisual::Opacity() const + template auto consume_Windows_UI_Composition_IVisual::Opacity() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_Opacity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual::Opacity(float value) const + template auto consume_Windows_UI_Composition_IVisual::Opacity(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_Opacity(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_UI_Composition_IVisual::Orientation() const + template auto consume_Windows_UI_Composition_IVisual::Orientation() const { winrt::Windows::Foundation::Numerics::quaternion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_Orientation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual::Orientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const + template auto consume_Windows_UI_Composition_IVisual::Orientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_Orientation(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ContainerVisual) consume_Windows_UI_Composition_IVisual::Parent() const + template auto consume_Windows_UI_Composition_IVisual::Parent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_Parent(&value)); return winrt::Windows::UI::Composition::ContainerVisual{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IVisual::RotationAngle() const + template auto consume_Windows_UI_Composition_IVisual::RotationAngle() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_RotationAngle(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual::RotationAngle(float value) const + template auto consume_Windows_UI_Composition_IVisual::RotationAngle(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_RotationAngle(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IVisual::RotationAngleInDegrees() const + template auto consume_Windows_UI_Composition_IVisual::RotationAngleInDegrees() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_RotationAngleInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual::RotationAngleInDegrees(float value) const + template auto consume_Windows_UI_Composition_IVisual::RotationAngleInDegrees(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_RotationAngleInDegrees(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IVisual::RotationAxis() const + template auto consume_Windows_UI_Composition_IVisual::RotationAxis() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_RotationAxis(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual::RotationAxis(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_IVisual::RotationAxis(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_RotationAxis(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IVisual::Scale() const + template auto consume_Windows_UI_Composition_IVisual::Scale() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_Scale(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual::Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_IVisual::Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_Scale(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IVisual::Size() const + template auto consume_Windows_UI_Composition_IVisual::Size() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_Size(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual::Size(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_IVisual::Size(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_Size(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) consume_Windows_UI_Composition_IVisual::TransformMatrix() const + template auto consume_Windows_UI_Composition_IVisual::TransformMatrix() const { winrt::Windows::Foundation::Numerics::float4x4 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_TransformMatrix(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual::TransformMatrix(winrt::Windows::Foundation::Numerics::float4x4 const& value) const + template auto consume_Windows_UI_Composition_IVisual::TransformMatrix(winrt::Windows::Foundation::Numerics::float4x4 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_TransformMatrix(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_IVisual2::ParentForTransform() const + template auto consume_Windows_UI_Composition_IVisual2::ParentForTransform() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual2)->get_ParentForTransform(&value)); return winrt::Windows::UI::Composition::Visual{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual2::ParentForTransform(winrt::Windows::UI::Composition::Visual const& value) const + template auto consume_Windows_UI_Composition_IVisual2::ParentForTransform(winrt::Windows::UI::Composition::Visual const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual2)->put_ParentForTransform(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IVisual2::RelativeOffsetAdjustment() const + template auto consume_Windows_UI_Composition_IVisual2::RelativeOffsetAdjustment() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual2)->get_RelativeOffsetAdjustment(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual2::RelativeOffsetAdjustment(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Composition_IVisual2::RelativeOffsetAdjustment(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual2)->put_RelativeOffsetAdjustment(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IVisual2::RelativeSizeAdjustment() const + template auto consume_Windows_UI_Composition_IVisual2::RelativeSizeAdjustment() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual2)->get_RelativeSizeAdjustment(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual2::RelativeSizeAdjustment(winrt::Windows::Foundation::Numerics::float2 const& value) const + template auto consume_Windows_UI_Composition_IVisual2::RelativeSizeAdjustment(winrt::Windows::Foundation::Numerics::float2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual2)->put_RelativeSizeAdjustment(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_IVisual3::IsHitTestVisible() const + template auto consume_Windows_UI_Composition_IVisual3::IsHitTestVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual3)->get_IsHitTestVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual3::IsHitTestVisible(bool value) const + template auto consume_Windows_UI_Composition_IVisual3::IsHitTestVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual3)->put_IsHitTestVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_IVisual4::IsPixelSnappingEnabled() const + template auto consume_Windows_UI_Composition_IVisual4::IsPixelSnappingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual4)->get_IsPixelSnappingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual4::IsPixelSnappingEnabled(bool value) const + template auto consume_Windows_UI_Composition_IVisual4::IsPixelSnappingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual4)->put_IsPixelSnappingEnabled(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IVisualCollection::Count() const + template auto consume_Windows_UI_Composition_IVisualCollection::Count() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualCollection)->get_Count(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualCollection::InsertAbove(winrt::Windows::UI::Composition::Visual const& newChild, winrt::Windows::UI::Composition::Visual const& sibling) const + template auto consume_Windows_UI_Composition_IVisualCollection::InsertAbove(winrt::Windows::UI::Composition::Visual const& newChild, winrt::Windows::UI::Composition::Visual const& sibling) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualCollection)->InsertAbove(*(void**)(&newChild), *(void**)(&sibling))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualCollection::InsertAtBottom(winrt::Windows::UI::Composition::Visual const& newChild) const + template auto consume_Windows_UI_Composition_IVisualCollection::InsertAtBottom(winrt::Windows::UI::Composition::Visual const& newChild) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualCollection)->InsertAtBottom(*(void**)(&newChild))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualCollection::InsertAtTop(winrt::Windows::UI::Composition::Visual const& newChild) const + template auto consume_Windows_UI_Composition_IVisualCollection::InsertAtTop(winrt::Windows::UI::Composition::Visual const& newChild) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualCollection)->InsertAtTop(*(void**)(&newChild))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualCollection::InsertBelow(winrt::Windows::UI::Composition::Visual const& newChild, winrt::Windows::UI::Composition::Visual const& sibling) const + template auto consume_Windows_UI_Composition_IVisualCollection::InsertBelow(winrt::Windows::UI::Composition::Visual const& newChild, winrt::Windows::UI::Composition::Visual const& sibling) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualCollection)->InsertBelow(*(void**)(&newChild), *(void**)(&sibling))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualCollection::Remove(winrt::Windows::UI::Composition::Visual const& child) const + template auto consume_Windows_UI_Composition_IVisualCollection::Remove(winrt::Windows::UI::Composition::Visual const& child) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualCollection)->Remove(*(void**)(&child))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualCollection::RemoveAll() const + template auto consume_Windows_UI_Composition_IVisualCollection::RemoveAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualCollection)->RemoveAll()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_IVisualElement2::GetVisualInternal() const + template auto consume_Windows_UI_Composition_IVisualElement2::GetVisualInternal() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualElement2)->GetVisualInternal(&result)); return winrt::Windows::UI::Composition::Visual{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IVisualUnorderedCollection::Count() const + template auto consume_Windows_UI_Composition_IVisualUnorderedCollection::Count() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualUnorderedCollection)->get_Count(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualUnorderedCollection::Add(winrt::Windows::UI::Composition::Visual const& newVisual) const + template auto consume_Windows_UI_Composition_IVisualUnorderedCollection::Add(winrt::Windows::UI::Composition::Visual const& newVisual) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualUnorderedCollection)->Add(*(void**)(&newVisual))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualUnorderedCollection::Remove(winrt::Windows::UI::Composition::Visual const& visual) const + template auto consume_Windows_UI_Composition_IVisualUnorderedCollection::Remove(winrt::Windows::UI::Composition::Visual const& visual) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualUnorderedCollection)->Remove(*(void**)(&visual))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualUnorderedCollection::RemoveAll() const + template auto consume_Windows_UI_Composition_IVisualUnorderedCollection::RemoveAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualUnorderedCollection)->RemoveAll()); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.AnimationMetrics.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.AnimationMetrics.h index 7bc83fae..9b34cc53 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.AnimationMetrics.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.AnimationMetrics.h @@ -1,120 +1,120 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Core_AnimationMetrics_H #define WINRT_Windows_UI_Core_AnimationMetrics_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Core.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.UI.Core.AnimationMetrics.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription::Animations() const + template auto consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription::Animations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IAnimationDescription)->get_Animations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription::StaggerDelay() const + template auto consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription::StaggerDelay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IAnimationDescription)->get_StaggerDelay(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription::StaggerDelayFactor() const + template auto consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription::StaggerDelayFactor() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IAnimationDescription)->get_StaggerDelayFactor(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription::DelayLimit() const + template auto consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription::DelayLimit() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IAnimationDescription)->get_DelayLimit(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription::ZOrder() const + template auto consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription::ZOrder() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IAnimationDescription)->get_ZOrder(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::AnimationMetrics::AnimationDescription) consume_Windows_UI_Core_AnimationMetrics_IAnimationDescriptionFactory::CreateInstance(winrt::Windows::UI::Core::AnimationMetrics::AnimationEffect const& effect, winrt::Windows::UI::Core::AnimationMetrics::AnimationEffectTarget const& target) const + template auto consume_Windows_UI_Core_AnimationMetrics_IAnimationDescriptionFactory::CreateInstance(winrt::Windows::UI::Core::AnimationMetrics::AnimationEffect const& effect, winrt::Windows::UI::Core::AnimationMetrics::AnimationEffectTarget const& target) const { void* animation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IAnimationDescriptionFactory)->CreateInstance(static_cast(effect), static_cast(target), &animation)); return winrt::Windows::UI::Core::AnimationMetrics::AnimationDescription{ animation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Core_AnimationMetrics_IOpacityAnimation::InitialOpacity() const + template auto consume_Windows_UI_Core_AnimationMetrics_IOpacityAnimation::InitialOpacity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IOpacityAnimation)->get_InitialOpacity(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Core_AnimationMetrics_IOpacityAnimation::FinalOpacity() const + template auto consume_Windows_UI_Core_AnimationMetrics_IOpacityAnimation::FinalOpacity() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IOpacityAnimation)->get_FinalOpacity(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::AnimationMetrics::PropertyAnimationType) consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation::Type() const + template auto consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation::Type() const { winrt::Windows::UI::Core::AnimationMetrics::PropertyAnimationType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IPropertyAnimation)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation::Delay() const + template auto consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation::Delay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IPropertyAnimation)->get_Delay(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation::Duration() const + template auto consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IPropertyAnimation)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation::Control1() const + template auto consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation::Control1() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IPropertyAnimation)->get_Control1(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation::Control2() const + template auto consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation::Control2() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IPropertyAnimation)->get_Control2(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation::InitialScaleX() const + template auto consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation::InitialScaleX() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IScaleAnimation)->get_InitialScaleX(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation::InitialScaleY() const + template auto consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation::InitialScaleY() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IScaleAnimation)->get_InitialScaleY(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation::FinalScaleX() const + template auto consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation::FinalScaleX() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IScaleAnimation)->get_FinalScaleX(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation::FinalScaleY() const + template auto consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation::FinalScaleY() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IScaleAnimation)->get_FinalScaleY(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation::NormalizedOrigin() const + template auto consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation::NormalizedOrigin() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IScaleAnimation)->get_NormalizedOrigin(put_abi(value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.Preview.Communications.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.Preview.Communications.h index 3780429b..a4966e1e 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.Preview.Communications.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.Preview.Communications.h @@ -1,249 +1,249 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Core_Preview_Communications_H #define WINRT_Windows_UI_Core_Preview_Communications_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Core.Preview.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.UI.Core.Preview.Communications.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamCleanupRequestedEventArgs::GetDeferral() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamCleanupRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamCleanupRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::Preview::Communications::PreviewTeamViewCommand) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamCommandInvokedEventArgs::Command() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamCommandInvokedEventArgs::Command() const { winrt::Windows::UI::Core::Preview::Communications::PreviewTeamViewCommand value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamCommandInvokedEventArgs)->get_Command(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamDeviceCredentials::UserPrincipalName() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamDeviceCredentials::UserPrincipalName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamDeviceCredentials)->get_UserPrincipalName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamDeviceCredentials::DomainUserName() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamDeviceCredentials::DomainUserName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamDeviceCredentials)->get_DomainUserName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamDeviceCredentials::Password() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamDeviceCredentials::Password() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamDeviceCredentials)->get_Password(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamEndMeetingRequestedEventArgs::GetDeferral() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamEndMeetingRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamEndMeetingRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamJoinMeetingRequestedEventArgs::GetDeferral() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamJoinMeetingRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamJoinMeetingRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamJoinMeetingRequestedEventArgs::MeetingUri() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamJoinMeetingRequestedEventArgs::MeetingUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamJoinMeetingRequestedEventArgs)->get_MeetingUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SetTitle(param::hstring const& title) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SetTitle(param::hstring const& title) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->SetTitle(*(void**)(&title))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::EnterFullScreen() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::EnterFullScreen() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->EnterFullScreen()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::LeaveFullScreen() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::LeaveFullScreen() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->LeaveFullScreen()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::RequestForeground() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::RequestForeground() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->RequestForeground()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::StartSharingScreen() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::StartSharingScreen() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->StartSharingScreen()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::StopSharingScreen() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::StopSharingScreen() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->StopSharingScreen()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::NotifyMeetingEnded(winrt::Windows::UI::Core::Preview::Communications::PreviewTeamEndMeetingKind const& kind) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::NotifyMeetingEnded(winrt::Windows::UI::Core::Preview::Communications::PreviewTeamEndMeetingKind const& kind) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->NotifyMeetingEnded(static_cast(kind))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::JoinMeetingWithUri(winrt::Windows::Foundation::Uri const& meetingUri) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::JoinMeetingWithUri(winrt::Windows::Foundation::Uri const& meetingUri) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->JoinMeetingWithUri(*(void**)(&meetingUri))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::MeetingUri() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::MeetingUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->get_MeetingUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SharingScreenBounds() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SharingScreenBounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->get_SharingScreenBounds(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsScreenSharing() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsScreenSharing() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->get_IsScreenSharing(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsFullScreen() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsFullScreen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->get_IsFullScreen(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::Preview::Communications::PreviewSystemState) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SystemState() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SystemState() const { winrt::Windows::UI::Core::Preview::Communications::PreviewSystemState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->get_SystemState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::Preview::Communications::PreviewMeetingInfoDisplayKind) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::MeetingInfoDisplayType() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::MeetingInfoDisplayType() const { winrt::Windows::UI::Core::Preview::Communications::PreviewMeetingInfoDisplayKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->get_MeetingInfoDisplayType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::JoinMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::JoinMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->add_JoinMeetingRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::JoinMeetingRequested_revoker consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::JoinMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::JoinMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, JoinMeetingRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::JoinMeetingRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::JoinMeetingRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->remove_JoinMeetingRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::EndMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::EndMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->add_EndMeetingRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::EndMeetingRequested_revoker consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::EndMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::EndMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EndMeetingRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::EndMeetingRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::EndMeetingRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->remove_EndMeetingRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::CleanupRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::CleanupRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->add_CleanupRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::CleanupRequested_revoker consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::CleanupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::CleanupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CleanupRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::CleanupRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::CleanupRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->remove_CleanupRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SharingScreenBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SharingScreenBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->add_SharingScreenBoundsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SharingScreenBoundsChanged_revoker consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SharingScreenBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SharingScreenBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SharingScreenBoundsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SharingScreenBoundsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SharingScreenBoundsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->remove_SharingScreenBoundsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsScreenSharingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsScreenSharingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->add_IsScreenSharingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsScreenSharingChanged_revoker consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsScreenSharingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsScreenSharingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsScreenSharingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsScreenSharingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsScreenSharingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->remove_IsScreenSharingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsFullScreenChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsFullScreenChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->add_IsFullScreenChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsFullScreenChanged_revoker consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsFullScreenChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsFullScreenChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsFullScreenChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsFullScreenChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::IsFullScreenChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->remove_IsFullScreenChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::CommandInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::CommandInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->add_CommandInvoked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::CommandInvoked_revoker consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::CommandInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::CommandInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CommandInvoked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::CommandInvoked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::CommandInvoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->remove_CommandInvoked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SystemStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SystemStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->add_SystemStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SystemStateChanged_revoker consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SystemStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SystemStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SystemStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SystemStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView::SystemStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->remove_SystemStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView2::SetButtonLabel(param::hstring const& label) const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView2::SetButtonLabel(param::hstring const& label) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView2)->SetButtonLabel(*(void**)(&label))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamViewStatics::GetForCurrentView() const + template auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamViewStatics::GetForCurrentView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamViewStatics)->GetForCurrentView(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.Preview.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.Preview.h index 6b0ff9c0..02659782 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.Preview.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.Preview.h @@ -1,54 +1,54 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Core_Preview_H #define WINRT_Windows_UI_Core_Preview_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Core.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.UI.WindowManagement.2.h" #include "winrt/impl/Windows.UI.Core.Preview.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Core_Preview_ICoreAppWindowPreviewStatics::GetIdFromWindow(winrt::Windows::UI::WindowManagement::AppWindow const& window) const + template auto consume_Windows_UI_Core_Preview_ICoreAppWindowPreviewStatics::GetIdFromWindow(winrt::Windows::UI::WindowManagement::AppWindow const& window) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::ICoreAppWindowPreviewStatics)->GetIdFromWindow(*(void**)(&window), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_Preview_ISystemNavigationCloseRequestedPreviewEventArgs::Handled() const + template auto consume_Windows_UI_Core_Preview_ISystemNavigationCloseRequestedPreviewEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::ISystemNavigationCloseRequestedPreviewEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_ISystemNavigationCloseRequestedPreviewEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Core_Preview_ISystemNavigationCloseRequestedPreviewEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::ISystemNavigationCloseRequestedPreviewEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Core_Preview_ISystemNavigationCloseRequestedPreviewEventArgs::GetDeferral() const + template auto consume_Windows_UI_Core_Preview_ISystemNavigationCloseRequestedPreviewEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::ISystemNavigationCloseRequestedPreviewEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreview::CloseRequested(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreview::CloseRequested(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::ISystemNavigationManagerPreview)->add_CloseRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreview::CloseRequested_revoker consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreview::CloseRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreview::CloseRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, CloseRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreview::CloseRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreview::CloseRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::ISystemNavigationManagerPreview)->remove_CloseRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::Preview::SystemNavigationManagerPreview) consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreviewStatics::GetForCurrentView() const + template auto consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreviewStatics::GetForCurrentView() const { void* loader{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::ISystemNavigationManagerPreviewStatics)->GetForCurrentView(&loader)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.h index 623dca5e..db9e5b39 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Core_H #define WINRT_Windows_UI_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -16,1253 +16,1253 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreAcceleratorKeyEventType) consume_Windows_UI_Core_IAcceleratorKeyEventArgs::EventType() const + template auto consume_Windows_UI_Core_IAcceleratorKeyEventArgs::EventType() const { winrt::Windows::UI::Core::CoreAcceleratorKeyEventType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IAcceleratorKeyEventArgs)->get_EventType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_UI_Core_IAcceleratorKeyEventArgs::VirtualKey() const + template auto consume_Windows_UI_Core_IAcceleratorKeyEventArgs::VirtualKey() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IAcceleratorKeyEventArgs)->get_VirtualKey(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) consume_Windows_UI_Core_IAcceleratorKeyEventArgs::KeyStatus() const + template auto consume_Windows_UI_Core_IAcceleratorKeyEventArgs::KeyStatus() const { winrt::Windows::UI::Core::CorePhysicalKeyStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IAcceleratorKeyEventArgs)->get_KeyStatus(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_IAcceleratorKeyEventArgs2::DeviceId() const + template auto consume_Windows_UI_Core_IAcceleratorKeyEventArgs2::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IAcceleratorKeyEventArgs2)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Core_IAutomationProviderRequestedEventArgs::AutomationProvider() const + template auto consume_Windows_UI_Core_IAutomationProviderRequestedEventArgs::AutomationProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IAutomationProviderRequestedEventArgs)->get_AutomationProvider(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_IAutomationProviderRequestedEventArgs::AutomationProvider(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Core_IAutomationProviderRequestedEventArgs::AutomationProvider(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IAutomationProviderRequestedEventArgs)->put_AutomationProvider(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_IBackRequestedEventArgs::Handled() const + template auto consume_Windows_UI_Core_IBackRequestedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IBackRequestedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_IBackRequestedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Core_IBackRequestedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IBackRequestedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Core_ICharacterReceivedEventArgs::KeyCode() const + template auto consume_Windows_UI_Core_ICharacterReceivedEventArgs::KeyCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICharacterReceivedEventArgs)->get_KeyCode(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) consume_Windows_UI_Core_ICharacterReceivedEventArgs::KeyStatus() const + template auto consume_Windows_UI_Core_ICharacterReceivedEventArgs::KeyStatus() const { winrt::Windows::UI::Core::CorePhysicalKeyStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICharacterReceivedEventArgs)->get_KeyStatus(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs::PointerPosition() const + template auto consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs::PointerPosition() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IClosestInteractiveBoundsRequestedEventArgs)->get_PointerPosition(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs::SearchBounds() const + template auto consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs::SearchBounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IClosestInteractiveBoundsRequestedEventArgs)->get_SearchBounds(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs::ClosestInteractiveBounds() const + template auto consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs::ClosestInteractiveBounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IClosestInteractiveBoundsRequestedEventArgs)->get_ClosestInteractiveBounds(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs::ClosestInteractiveBounds(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs::ClosestInteractiveBounds(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IClosestInteractiveBoundsRequestedEventArgs)->put_ClosestInteractiveBounds(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreAcceleratorKeys::AcceleratorKeyActivated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreAcceleratorKeys::AcceleratorKeyActivated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreAcceleratorKeys)->add_AcceleratorKeyActivated(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreAcceleratorKeys::AcceleratorKeyActivated_revoker consume_Windows_UI_Core_ICoreAcceleratorKeys::AcceleratorKeyActivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreAcceleratorKeys::AcceleratorKeyActivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AcceleratorKeyActivated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreAcceleratorKeys::AcceleratorKeyActivated(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreAcceleratorKeys::AcceleratorKeyActivated(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreAcceleratorKeys)->remove_AcceleratorKeyActivated(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreClosestInteractiveBoundsRequested::ClosestInteractiveBoundsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreClosestInteractiveBoundsRequested::ClosestInteractiveBoundsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreClosestInteractiveBoundsRequested)->add_ClosestInteractiveBoundsRequested(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreClosestInteractiveBoundsRequested::ClosestInteractiveBoundsRequested_revoker consume_Windows_UI_Core_ICoreClosestInteractiveBoundsRequested::ClosestInteractiveBoundsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreClosestInteractiveBoundsRequested::ClosestInteractiveBoundsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ClosestInteractiveBoundsRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreClosestInteractiveBoundsRequested::ClosestInteractiveBoundsRequested(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreClosestInteractiveBoundsRequested::ClosestInteractiveBoundsRequested(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreClosestInteractiveBoundsRequested)->remove_ClosestInteractiveBoundsRequested(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreComponentFocusable::HasFocus() const + template auto consume_Windows_UI_Core_ICoreComponentFocusable::HasFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreComponentFocusable)->get_HasFocus(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreComponentFocusable::GotFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreComponentFocusable::GotFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreComponentFocusable)->add_GotFocus(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreComponentFocusable::GotFocus_revoker consume_Windows_UI_Core_ICoreComponentFocusable::GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreComponentFocusable::GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, GotFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreComponentFocusable::GotFocus(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreComponentFocusable::GotFocus(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreComponentFocusable)->remove_GotFocus(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreComponentFocusable::LostFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreComponentFocusable::LostFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreComponentFocusable)->add_LostFocus(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreComponentFocusable::LostFocus_revoker consume_Windows_UI_Core_ICoreComponentFocusable::LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreComponentFocusable::LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LostFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreComponentFocusable::LostFocus(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreComponentFocusable::LostFocus(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreComponentFocusable)->remove_LostFocus(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Core_ICoreCursor::Id() const + template auto consume_Windows_UI_Core_ICoreCursor::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreCursor)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreCursorType) consume_Windows_UI_Core_ICoreCursor::Type() const + template auto consume_Windows_UI_Core_ICoreCursor::Type() const { winrt::Windows::UI::Core::CoreCursorType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreCursor)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreCursor) consume_Windows_UI_Core_ICoreCursorFactory::CreateCursor(winrt::Windows::UI::Core::CoreCursorType const& type, uint32_t id) const + template auto consume_Windows_UI_Core_ICoreCursorFactory::CreateCursor(winrt::Windows::UI::Core::CoreCursorType const& type, uint32_t id) const { void* cursor{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreCursorFactory)->CreateCursor(static_cast(type), id, &cursor)); return winrt::Windows::UI::Core::CoreCursor{ cursor, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreDispatcher::HasThreadAccess() const + template auto consume_Windows_UI_Core_ICoreDispatcher::HasThreadAccess() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcher)->get_HasThreadAccess(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreDispatcher::ProcessEvents(winrt::Windows::UI::Core::CoreProcessEventsOption const& options) const + template auto consume_Windows_UI_Core_ICoreDispatcher::ProcessEvents(winrt::Windows::UI::Core::CoreProcessEventsOption const& options) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcher)->ProcessEvents(static_cast(options))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Core_ICoreDispatcher::RunAsync(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority, winrt::Windows::UI::Core::DispatchedHandler const& agileCallback) const + template auto consume_Windows_UI_Core_ICoreDispatcher::RunAsync(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority, winrt::Windows::UI::Core::DispatchedHandler const& agileCallback) const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcher)->RunAsync(static_cast(priority), *(void**)(&agileCallback), &asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Core_ICoreDispatcher::RunIdleAsync(winrt::Windows::UI::Core::IdleDispatchedHandler const& agileCallback) const + template auto consume_Windows_UI_Core_ICoreDispatcher::RunIdleAsync(winrt::Windows::UI::Core::IdleDispatchedHandler const& agileCallback) const { void* asyncAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcher)->RunIdleAsync(*(void**)(&agileCallback), &asyncAction)); return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Core_ICoreDispatcher2::TryRunAsync(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority, winrt::Windows::UI::Core::DispatchedHandler const& agileCallback) const + template auto consume_Windows_UI_Core_ICoreDispatcher2::TryRunAsync(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority, winrt::Windows::UI::Core::DispatchedHandler const& agileCallback) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcher2)->TryRunAsync(static_cast(priority), *(void**)(&agileCallback), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Core_ICoreDispatcher2::TryRunIdleAsync(winrt::Windows::UI::Core::IdleDispatchedHandler const& agileCallback) const + template auto consume_Windows_UI_Core_ICoreDispatcher2::TryRunIdleAsync(winrt::Windows::UI::Core::IdleDispatchedHandler const& agileCallback) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcher2)->TryRunIdleAsync(*(void**)(&agileCallback), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcherPriority) consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority::CurrentPriority() const + template auto consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority::CurrentPriority() const { winrt::Windows::UI::Core::CoreDispatcherPriority value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcherWithTaskPriority)->get_CurrentPriority(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority::CurrentPriority(winrt::Windows::UI::Core::CoreDispatcherPriority const& value) const + template auto consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority::CurrentPriority(winrt::Windows::UI::Core::CoreDispatcherPriority const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcherWithTaskPriority)->put_CurrentPriority(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority::ShouldYield() const + template auto consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority::ShouldYield() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcherWithTaskPriority)->ShouldYield(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority::ShouldYield(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority) const + template auto consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority::ShouldYield(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcherWithTaskPriority)->ShouldYieldToPriority(static_cast(priority), &value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority::StopProcessEvents() const + template auto consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority::StopProcessEvents() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcherWithTaskPriority)->StopProcessEvents()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) consume_Windows_UI_Core_ICoreInputSourceBase::Dispatcher() const + template auto consume_Windows_UI_Core_ICoreInputSourceBase::Dispatcher() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreInputSourceBase)->get_Dispatcher(&value)); return winrt::Windows::UI::Core::CoreDispatcher{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreInputSourceBase::IsInputEnabled() const + template auto consume_Windows_UI_Core_ICoreInputSourceBase::IsInputEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreInputSourceBase)->get_IsInputEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreInputSourceBase::IsInputEnabled(bool value) const + template auto consume_Windows_UI_Core_ICoreInputSourceBase::IsInputEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreInputSourceBase)->put_IsInputEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreInputSourceBase::InputEnabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreInputSourceBase::InputEnabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreInputSourceBase)->add_InputEnabled(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreInputSourceBase::InputEnabled_revoker consume_Windows_UI_Core_ICoreInputSourceBase::InputEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreInputSourceBase::InputEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, InputEnabled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreInputSourceBase::InputEnabled(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreInputSourceBase::InputEnabled(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreInputSourceBase)->remove_InputEnabled(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreVirtualKeyStates) consume_Windows_UI_Core_ICoreKeyboardInputSource::GetCurrentKeyState(winrt::Windows::System::VirtualKey const& virtualKey) const + template auto consume_Windows_UI_Core_ICoreKeyboardInputSource::GetCurrentKeyState(winrt::Windows::System::VirtualKey const& virtualKey) const { winrt::Windows::UI::Core::CoreVirtualKeyStates KeyState{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreKeyboardInputSource)->GetCurrentKeyState(static_cast(virtualKey), reinterpret_cast(&KeyState))); return KeyState; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreKeyboardInputSource::CharacterReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreKeyboardInputSource::CharacterReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreKeyboardInputSource)->add_CharacterReceived(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreKeyboardInputSource::CharacterReceived_revoker consume_Windows_UI_Core_ICoreKeyboardInputSource::CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreKeyboardInputSource::CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CharacterReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreKeyboardInputSource::CharacterReceived(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreKeyboardInputSource::CharacterReceived(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreKeyboardInputSource)->remove_CharacterReceived(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreKeyboardInputSource::KeyDown(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreKeyboardInputSource::KeyDown(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreKeyboardInputSource)->add_KeyDown(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreKeyboardInputSource::KeyDown_revoker consume_Windows_UI_Core_ICoreKeyboardInputSource::KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreKeyboardInputSource::KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, KeyDown(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreKeyboardInputSource::KeyDown(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreKeyboardInputSource::KeyDown(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreKeyboardInputSource)->remove_KeyDown(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreKeyboardInputSource::KeyUp(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreKeyboardInputSource::KeyUp(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreKeyboardInputSource)->add_KeyUp(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreKeyboardInputSource::KeyUp_revoker consume_Windows_UI_Core_ICoreKeyboardInputSource::KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreKeyboardInputSource::KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, KeyUp(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreKeyboardInputSource::KeyUp(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreKeyboardInputSource::KeyUp(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreKeyboardInputSource)->remove_KeyUp(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_ICoreKeyboardInputSource2::GetCurrentKeyEventDeviceId() const + template auto consume_Windows_UI_Core_ICoreKeyboardInputSource2::GetCurrentKeyEventDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreKeyboardInputSource2)->GetCurrentKeyEventDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource::ReleasePointerCapture() const + template auto consume_Windows_UI_Core_ICorePointerInputSource::ReleasePointerCapture() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->ReleasePointerCapture()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource::SetPointerCapture() const + template auto consume_Windows_UI_Core_ICorePointerInputSource::SetPointerCapture() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->SetPointerCapture()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICorePointerInputSource::HasCapture() const + template auto consume_Windows_UI_Core_ICorePointerInputSource::HasCapture() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->get_HasCapture(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Core_ICorePointerInputSource::PointerPosition() const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerPosition() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->get_PointerPosition(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreCursor) consume_Windows_UI_Core_ICorePointerInputSource::PointerCursor() const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerCursor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->get_PointerCursor(&value)); return winrt::Windows::UI::Core::CoreCursor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource::PointerCursor(winrt::Windows::UI::Core::CoreCursor const& value) const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerCursor(winrt::Windows::UI::Core::CoreCursor const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->put_PointerCursor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerInputSource::PointerCaptureLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerCaptureLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->add_PointerCaptureLost(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICorePointerInputSource::PointerCaptureLost_revoker consume_Windows_UI_Core_ICorePointerInputSource::PointerCaptureLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerCaptureLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerCaptureLost(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource::PointerCaptureLost(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerCaptureLost(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->remove_PointerCaptureLost(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerInputSource::PointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->add_PointerEntered(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICorePointerInputSource::PointerEntered_revoker consume_Windows_UI_Core_ICorePointerInputSource::PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerEntered(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource::PointerEntered(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerEntered(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->remove_PointerEntered(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerInputSource::PointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->add_PointerExited(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICorePointerInputSource::PointerExited_revoker consume_Windows_UI_Core_ICorePointerInputSource::PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerExited(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource::PointerExited(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerExited(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->remove_PointerExited(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerInputSource::PointerMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->add_PointerMoved(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICorePointerInputSource::PointerMoved_revoker consume_Windows_UI_Core_ICorePointerInputSource::PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerMoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource::PointerMoved(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerMoved(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->remove_PointerMoved(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerInputSource::PointerPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->add_PointerPressed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICorePointerInputSource::PointerPressed_revoker consume_Windows_UI_Core_ICorePointerInputSource::PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource::PointerPressed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerPressed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->remove_PointerPressed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerInputSource::PointerReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->add_PointerReleased(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICorePointerInputSource::PointerReleased_revoker consume_Windows_UI_Core_ICorePointerInputSource::PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerReleased(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource::PointerReleased(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerReleased(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->remove_PointerReleased(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerInputSource::PointerWheelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerWheelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->add_PointerWheelChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICorePointerInputSource::PointerWheelChanged_revoker consume_Windows_UI_Core_ICorePointerInputSource::PointerWheelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerWheelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerWheelChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource::PointerWheelChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICorePointerInputSource::PointerWheelChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->remove_PointerWheelChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_UI_Core_ICorePointerInputSource2::DispatcherQueue() const + template auto consume_Windows_UI_Core_ICorePointerInputSource2::DispatcherQueue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource2)->get_DispatcherQueue(&value)); return winrt::Windows::System::DispatcherQueue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedAway(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedAway(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerRedirector)->add_PointerRoutedAway(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedAway_revoker consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedAway(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedAway(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerRoutedAway(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedAway(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedAway(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerRedirector)->remove_PointerRoutedAway(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedTo(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedTo(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerRedirector)->add_PointerRoutedTo(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedTo_revoker consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedTo(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedTo(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerRoutedTo(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedTo(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedTo(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerRedirector)->remove_PointerRoutedTo(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerRedirector)->add_PointerRoutedReleased(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedReleased_revoker consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerRoutedReleased(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedReleased(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICorePointerRedirector::PointerRoutedReleased(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerRedirector)->remove_PointerRoutedReleased(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreTouchHitTesting::TouchHitTesting(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreTouchHitTesting::TouchHitTesting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreTouchHitTesting)->add_TouchHitTesting(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreTouchHitTesting::TouchHitTesting_revoker consume_Windows_UI_Core_ICoreTouchHitTesting::TouchHitTesting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreTouchHitTesting::TouchHitTesting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TouchHitTesting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreTouchHitTesting::TouchHitTesting(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreTouchHitTesting::TouchHitTesting(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreTouchHitTesting)->remove_TouchHitTesting(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Core_ICoreWindow::AutomationHostProvider() const + template auto consume_Windows_UI_Core_ICoreWindow::AutomationHostProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->get_AutomationHostProvider(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Core_ICoreWindow::Bounds() const + template auto consume_Windows_UI_Core_ICoreWindow::Bounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->get_Bounds(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_UI_Core_ICoreWindow::CustomProperties() const + template auto consume_Windows_UI_Core_ICoreWindow::CustomProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->get_CustomProperties(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) consume_Windows_UI_Core_ICoreWindow::Dispatcher() const + template auto consume_Windows_UI_Core_ICoreWindow::Dispatcher() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->get_Dispatcher(&value)); return winrt::Windows::UI::Core::CoreDispatcher{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowFlowDirection) consume_Windows_UI_Core_ICoreWindow::FlowDirection() const + template auto consume_Windows_UI_Core_ICoreWindow::FlowDirection() const { winrt::Windows::UI::Core::CoreWindowFlowDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->get_FlowDirection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::FlowDirection(winrt::Windows::UI::Core::CoreWindowFlowDirection const& value) const + template auto consume_Windows_UI_Core_ICoreWindow::FlowDirection(winrt::Windows::UI::Core::CoreWindowFlowDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->put_FlowDirection(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreWindow::IsInputEnabled() const + template auto consume_Windows_UI_Core_ICoreWindow::IsInputEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->get_IsInputEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::IsInputEnabled(bool value) const + template auto consume_Windows_UI_Core_ICoreWindow::IsInputEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->put_IsInputEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreCursor) consume_Windows_UI_Core_ICoreWindow::PointerCursor() const + template auto consume_Windows_UI_Core_ICoreWindow::PointerCursor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->get_PointerCursor(&value)); return winrt::Windows::UI::Core::CoreCursor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::PointerCursor(winrt::Windows::UI::Core::CoreCursor const& value) const + template auto consume_Windows_UI_Core_ICoreWindow::PointerCursor(winrt::Windows::UI::Core::CoreCursor const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->put_PointerCursor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Core_ICoreWindow::PointerPosition() const + template auto consume_Windows_UI_Core_ICoreWindow::PointerPosition() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->get_PointerPosition(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreWindow::Visible() const + template auto consume_Windows_UI_Core_ICoreWindow::Visible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->get_Visible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::Activate() const + template auto consume_Windows_UI_Core_ICoreWindow::Activate() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->Activate()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::Close() const + template auto consume_Windows_UI_Core_ICoreWindow::Close() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->Close()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreVirtualKeyStates) consume_Windows_UI_Core_ICoreWindow::GetAsyncKeyState(winrt::Windows::System::VirtualKey const& virtualKey) const + template auto consume_Windows_UI_Core_ICoreWindow::GetAsyncKeyState(winrt::Windows::System::VirtualKey const& virtualKey) const { winrt::Windows::UI::Core::CoreVirtualKeyStates KeyState{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->GetAsyncKeyState(static_cast(virtualKey), reinterpret_cast(&KeyState))); return KeyState; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreVirtualKeyStates) consume_Windows_UI_Core_ICoreWindow::GetKeyState(winrt::Windows::System::VirtualKey const& virtualKey) const + template auto consume_Windows_UI_Core_ICoreWindow::GetKeyState(winrt::Windows::System::VirtualKey const& virtualKey) const { winrt::Windows::UI::Core::CoreVirtualKeyStates KeyState{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->GetKeyState(static_cast(virtualKey), reinterpret_cast(&KeyState))); return KeyState; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::ReleasePointerCapture() const + template auto consume_Windows_UI_Core_ICoreWindow::ReleasePointerCapture() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->ReleasePointerCapture()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::SetPointerCapture() const + template auto consume_Windows_UI_Core_ICoreWindow::SetPointerCapture() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->SetPointerCapture()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::Activated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::Activated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_Activated(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreWindow::Activated_revoker consume_Windows_UI_Core_ICoreWindow::Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Activated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::Activated(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::Activated(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_Activated(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::AutomationProviderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::AutomationProviderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_AutomationProviderRequested(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICoreWindow::AutomationProviderRequested_revoker consume_Windows_UI_Core_ICoreWindow::AutomationProviderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::AutomationProviderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AutomationProviderRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::AutomationProviderRequested(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::AutomationProviderRequested(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_AutomationProviderRequested(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::CharacterReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::CharacterReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_CharacterReceived(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreWindow::CharacterReceived_revoker consume_Windows_UI_Core_ICoreWindow::CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CharacterReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::CharacterReceived(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::CharacterReceived(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_CharacterReceived(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_Closed(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreWindow::Closed_revoker consume_Windows_UI_Core_ICoreWindow::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::Closed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::Closed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_Closed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::InputEnabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::InputEnabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_InputEnabled(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreWindow::InputEnabled_revoker consume_Windows_UI_Core_ICoreWindow::InputEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::InputEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, InputEnabled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::InputEnabled(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::InputEnabled(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_InputEnabled(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::KeyDown(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::KeyDown(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_KeyDown(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreWindow::KeyDown_revoker consume_Windows_UI_Core_ICoreWindow::KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, KeyDown(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::KeyDown(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::KeyDown(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_KeyDown(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::KeyUp(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::KeyUp(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_KeyUp(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreWindow::KeyUp_revoker consume_Windows_UI_Core_ICoreWindow::KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, KeyUp(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::KeyUp(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::KeyUp(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_KeyUp(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::PointerCaptureLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::PointerCaptureLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_PointerCaptureLost(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICoreWindow::PointerCaptureLost_revoker consume_Windows_UI_Core_ICoreWindow::PointerCaptureLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::PointerCaptureLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerCaptureLost(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::PointerCaptureLost(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::PointerCaptureLost(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_PointerCaptureLost(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::PointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::PointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_PointerEntered(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICoreWindow::PointerEntered_revoker consume_Windows_UI_Core_ICoreWindow::PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerEntered(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::PointerEntered(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::PointerEntered(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_PointerEntered(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::PointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::PointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_PointerExited(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICoreWindow::PointerExited_revoker consume_Windows_UI_Core_ICoreWindow::PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerExited(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::PointerExited(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::PointerExited(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_PointerExited(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::PointerMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::PointerMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_PointerMoved(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICoreWindow::PointerMoved_revoker consume_Windows_UI_Core_ICoreWindow::PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerMoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::PointerMoved(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::PointerMoved(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_PointerMoved(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::PointerPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::PointerPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_PointerPressed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICoreWindow::PointerPressed_revoker consume_Windows_UI_Core_ICoreWindow::PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::PointerPressed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::PointerPressed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_PointerPressed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::PointerReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::PointerReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_PointerReleased(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICoreWindow::PointerReleased_revoker consume_Windows_UI_Core_ICoreWindow::PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerReleased(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::PointerReleased(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::PointerReleased(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_PointerReleased(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::TouchHitTesting(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::TouchHitTesting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_TouchHitTesting(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreWindow::TouchHitTesting_revoker consume_Windows_UI_Core_ICoreWindow::TouchHitTesting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::TouchHitTesting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TouchHitTesting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::TouchHitTesting(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::TouchHitTesting(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_TouchHitTesting(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::PointerWheelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::PointerWheelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_PointerWheelChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICoreWindow::PointerWheelChanged_revoker consume_Windows_UI_Core_ICoreWindow::PointerWheelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::PointerWheelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerWheelChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::PointerWheelChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::PointerWheelChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_PointerWheelChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::SizeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::SizeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_SizeChanged(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreWindow::SizeChanged_revoker consume_Windows_UI_Core_ICoreWindow::SizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::SizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SizeChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::SizeChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::SizeChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_SizeChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow::VisibilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::VisibilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->add_VisibilityChanged(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreWindow::VisibilityChanged_revoker consume_Windows_UI_Core_ICoreWindow::VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow::VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, VisibilityChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow::VisibilityChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow::VisibilityChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_VisibilityChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow2::PointerPosition(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Core_ICoreWindow2::PointerPosition(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow2)->put_PointerPosition(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow3::ClosestInteractiveBoundsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow3::ClosestInteractiveBoundsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow3)->add_ClosestInteractiveBoundsRequested(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreWindow3::ClosestInteractiveBoundsRequested_revoker consume_Windows_UI_Core_ICoreWindow3::ClosestInteractiveBoundsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow3::ClosestInteractiveBoundsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ClosestInteractiveBoundsRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow3::ClosestInteractiveBoundsRequested(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow3::ClosestInteractiveBoundsRequested(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow3)->remove_ClosestInteractiveBoundsRequested(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_ICoreWindow3::GetCurrentKeyEventDeviceId() const + template auto consume_Windows_UI_Core_ICoreWindow3::GetCurrentKeyEventDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow3)->GetCurrentKeyEventDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow4::ResizeStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow4::ResizeStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow4)->add_ResizeStarted(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreWindow4::ResizeStarted_revoker consume_Windows_UI_Core_ICoreWindow4::ResizeStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow4::ResizeStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ResizeStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow4::ResizeStarted(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow4::ResizeStarted(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow4)->remove_ResizeStarted(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow4::ResizeCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow4::ResizeCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token pCookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow4)->add_ResizeCompleted(*(void**)(&handler), put_abi(pCookie))); return pCookie; } - template typename consume_Windows_UI_Core_ICoreWindow4::ResizeCompleted_revoker consume_Windows_UI_Core_ICoreWindow4::ResizeCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindow4::ResizeCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ResizeCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow4::ResizeCompleted(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindow4::ResizeCompleted(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow4)->remove_ResizeCompleted(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_UI_Core_ICoreWindow5::DispatcherQueue() const + template auto consume_Windows_UI_Core_ICoreWindow5::DispatcherQueue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow5)->get_DispatcherQueue(&value)); return winrt::Windows::System::DispatcherQueue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowActivationMode) consume_Windows_UI_Core_ICoreWindow5::ActivationMode() const + template auto consume_Windows_UI_Core_ICoreWindow5::ActivationMode() const { winrt::Windows::UI::Core::CoreWindowActivationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow5)->get_ActivationMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindowDialog::Showing(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindowDialog::Showing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->add_Showing(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICoreWindowDialog::Showing_revoker consume_Windows_UI_Core_ICoreWindowDialog::Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindowDialog::Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Showing(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowDialog::Showing(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindowDialog::Showing(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->remove_Showing(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Core_ICoreWindowDialog::MaxSize() const + template auto consume_Windows_UI_Core_ICoreWindowDialog::MaxSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->get_MaxSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Core_ICoreWindowDialog::MinSize() const + template auto consume_Windows_UI_Core_ICoreWindowDialog::MinSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->get_MinSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_ICoreWindowDialog::Title() const + template auto consume_Windows_UI_Core_ICoreWindowDialog::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowDialog::Title(param::hstring const& value) const + template auto consume_Windows_UI_Core_ICoreWindowDialog::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Core_ICoreWindowDialog::IsInteractionDelayed() const + template auto consume_Windows_UI_Core_ICoreWindowDialog::IsInteractionDelayed() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->get_IsInteractionDelayed(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowDialog::IsInteractionDelayed(int32_t value) const + template auto consume_Windows_UI_Core_ICoreWindowDialog::IsInteractionDelayed(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->put_IsInteractionDelayed(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Core_ICoreWindowDialog::Commands() const + template auto consume_Windows_UI_Core_ICoreWindowDialog::Commands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->get_Commands(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Core_ICoreWindowDialog::DefaultCommandIndex() const + template auto consume_Windows_UI_Core_ICoreWindowDialog::DefaultCommandIndex() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->get_DefaultCommandIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowDialog::DefaultCommandIndex(uint32_t value) const + template auto consume_Windows_UI_Core_ICoreWindowDialog::DefaultCommandIndex(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->put_DefaultCommandIndex(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Core_ICoreWindowDialog::CancelCommandIndex() const + template auto consume_Windows_UI_Core_ICoreWindowDialog::CancelCommandIndex() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->get_CancelCommandIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowDialog::CancelCommandIndex(uint32_t value) const + template auto consume_Windows_UI_Core_ICoreWindowDialog::CancelCommandIndex(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->put_CancelCommandIndex(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommandInvokedHandler) consume_Windows_UI_Core_ICoreWindowDialog::BackButtonCommand() const + template auto consume_Windows_UI_Core_ICoreWindowDialog::BackButtonCommand() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->get_BackButtonCommand(&value)); return winrt::Windows::UI::Popups::UICommandInvokedHandler{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowDialog::BackButtonCommand(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const + template auto consume_Windows_UI_Core_ICoreWindowDialog::BackButtonCommand(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->put_BackButtonCommand(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Core_ICoreWindowDialog::ShowAsync() const + template auto consume_Windows_UI_Core_ICoreWindowDialog::ShowAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->ShowAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowDialog) consume_Windows_UI_Core_ICoreWindowDialogFactory::CreateWithTitle(param::hstring const& title) const + template auto consume_Windows_UI_Core_ICoreWindowDialogFactory::CreateWithTitle(param::hstring const& title) const { void* coreWindowDialog{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialogFactory)->CreateWithTitle(*(void**)(&title), &coreWindowDialog)); return winrt::Windows::UI::Core::CoreWindowDialog{ coreWindowDialog, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreWindowEventArgs::Handled() const + template auto consume_Windows_UI_Core_ICoreWindowEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Core_ICoreWindowEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindowFlyout::Showing(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindowFlyout::Showing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->add_Showing(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Core_ICoreWindowFlyout::Showing_revoker consume_Windows_UI_Core_ICoreWindowFlyout::Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Core_ICoreWindowFlyout::Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Showing(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowFlyout::Showing(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Core_ICoreWindowFlyout::Showing(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->remove_Showing(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Core_ICoreWindowFlyout::MaxSize() const + template auto consume_Windows_UI_Core_ICoreWindowFlyout::MaxSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->get_MaxSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Core_ICoreWindowFlyout::MinSize() const + template auto consume_Windows_UI_Core_ICoreWindowFlyout::MinSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->get_MinSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_ICoreWindowFlyout::Title() const + template auto consume_Windows_UI_Core_ICoreWindowFlyout::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowFlyout::Title(param::hstring const& value) const + template auto consume_Windows_UI_Core_ICoreWindowFlyout::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Core_ICoreWindowFlyout::IsInteractionDelayed() const + template auto consume_Windows_UI_Core_ICoreWindowFlyout::IsInteractionDelayed() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->get_IsInteractionDelayed(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowFlyout::IsInteractionDelayed(int32_t value) const + template auto consume_Windows_UI_Core_ICoreWindowFlyout::IsInteractionDelayed(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->put_IsInteractionDelayed(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Core_ICoreWindowFlyout::Commands() const + template auto consume_Windows_UI_Core_ICoreWindowFlyout::Commands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->get_Commands(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Core_ICoreWindowFlyout::DefaultCommandIndex() const + template auto consume_Windows_UI_Core_ICoreWindowFlyout::DefaultCommandIndex() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->get_DefaultCommandIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowFlyout::DefaultCommandIndex(uint32_t value) const + template auto consume_Windows_UI_Core_ICoreWindowFlyout::DefaultCommandIndex(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->put_DefaultCommandIndex(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommandInvokedHandler) consume_Windows_UI_Core_ICoreWindowFlyout::BackButtonCommand() const + template auto consume_Windows_UI_Core_ICoreWindowFlyout::BackButtonCommand() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->get_BackButtonCommand(&value)); return winrt::Windows::UI::Popups::UICommandInvokedHandler{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowFlyout::BackButtonCommand(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const + template auto consume_Windows_UI_Core_ICoreWindowFlyout::BackButtonCommand(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->put_BackButtonCommand(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Core_ICoreWindowFlyout::ShowAsync() const + template auto consume_Windows_UI_Core_ICoreWindowFlyout::ShowAsync() const { void* asyncInfo{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->ShowAsync(&asyncInfo)); return winrt::Windows::Foundation::IAsyncOperation{ asyncInfo, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowFlyout) consume_Windows_UI_Core_ICoreWindowFlyoutFactory::Create(winrt::Windows::Foundation::Point const& position) const + template auto consume_Windows_UI_Core_ICoreWindowFlyoutFactory::Create(winrt::Windows::Foundation::Point const& position) const { void* coreWindowFlyout{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyoutFactory)->Create(impl::bind_in(position), &coreWindowFlyout)); return winrt::Windows::UI::Core::CoreWindowFlyout{ coreWindowFlyout, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowFlyout) consume_Windows_UI_Core_ICoreWindowFlyoutFactory::CreateWithTitle(winrt::Windows::Foundation::Point const& position, param::hstring const& title) const + template auto consume_Windows_UI_Core_ICoreWindowFlyoutFactory::CreateWithTitle(winrt::Windows::Foundation::Point const& position, param::hstring const& title) const { void* coreWindowFlyout{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyoutFactory)->CreateWithTitle(impl::bind_in(position), *(void**)(&title), &coreWindowFlyout)); return winrt::Windows::UI::Core::CoreWindowFlyout{ coreWindowFlyout, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowPopupShowingEventArgs::SetDesiredSize(winrt::Windows::Foundation::Size const& value) const + template auto consume_Windows_UI_Core_ICoreWindowPopupShowingEventArgs::SetDesiredSize(winrt::Windows::Foundation::Size const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowPopupShowingEventArgs)->SetDesiredSize(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowResizeManager::NotifyLayoutCompleted() const + template auto consume_Windows_UI_Core_ICoreWindowResizeManager::NotifyLayoutCompleted() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowResizeManager)->NotifyLayoutCompleted()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowResizeManagerLayoutCapability::ShouldWaitForLayoutCompletion(bool value) const + template auto consume_Windows_UI_Core_ICoreWindowResizeManagerLayoutCapability::ShouldWaitForLayoutCompletion(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowResizeManagerLayoutCapability)->put_ShouldWaitForLayoutCompletion(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreWindowResizeManagerLayoutCapability::ShouldWaitForLayoutCompletion() const + template auto consume_Windows_UI_Core_ICoreWindowResizeManagerLayoutCapability::ShouldWaitForLayoutCompletion() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowResizeManagerLayoutCapability)->get_ShouldWaitForLayoutCompletion(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowResizeManager) consume_Windows_UI_Core_ICoreWindowResizeManagerStatics::GetForCurrentView() const + template auto consume_Windows_UI_Core_ICoreWindowResizeManagerStatics::GetForCurrentView() const { void* CoreWindowResizeManager{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowResizeManagerStatics)->GetForCurrentView(&CoreWindowResizeManager)); return winrt::Windows::UI::Core::CoreWindowResizeManager{ CoreWindowResizeManager, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindow) consume_Windows_UI_Core_ICoreWindowStatic::GetForCurrentThread() const + template auto consume_Windows_UI_Core_ICoreWindowStatic::GetForCurrentThread() const { void* ppWindow{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowStatic)->GetForCurrentThread(&ppWindow)); return winrt::Windows::UI::Core::CoreWindow{ ppWindow, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) consume_Windows_UI_Core_ICoreWindowWithContext::UIContext() const + template auto consume_Windows_UI_Core_ICoreWindowWithContext::UIContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowWithContext)->get_UIContext(&value)); return winrt::Windows::UI::UIContext{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_IIdleDispatchedHandlerArgs::IsDispatcherIdle() const + template auto consume_Windows_UI_Core_IIdleDispatchedHandlerArgs::IsDispatcherIdle() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IIdleDispatchedHandlerArgs)->get_IsDispatcherIdle(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_IInitializeWithCoreWindow::Initialize(winrt::Windows::UI::Core::CoreWindow const& window) const + template auto consume_Windows_UI_Core_IInitializeWithCoreWindow::Initialize(winrt::Windows::UI::Core::CoreWindow const& window) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IInitializeWithCoreWindow)->Initialize(*(void**)(&window))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_IInputEnabledEventArgs::InputEnabled() const + template auto consume_Windows_UI_Core_IInputEnabledEventArgs::InputEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IInputEnabledEventArgs)->get_InputEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_UI_Core_IKeyEventArgs::VirtualKey() const + template auto consume_Windows_UI_Core_IKeyEventArgs::VirtualKey() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IKeyEventArgs)->get_VirtualKey(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) consume_Windows_UI_Core_IKeyEventArgs::KeyStatus() const + template auto consume_Windows_UI_Core_IKeyEventArgs::KeyStatus() const { winrt::Windows::UI::Core::CorePhysicalKeyStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IKeyEventArgs)->get_KeyStatus(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_IKeyEventArgs2::DeviceId() const + template auto consume_Windows_UI_Core_IKeyEventArgs2::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IKeyEventArgs2)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPoint) consume_Windows_UI_Core_IPointerEventArgs::CurrentPoint() const + template auto consume_Windows_UI_Core_IPointerEventArgs::CurrentPoint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IPointerEventArgs)->get_CurrentPoint(&value)); return winrt::Windows::UI::Input::PointerPoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_UI_Core_IPointerEventArgs::KeyModifiers() const + template auto consume_Windows_UI_Core_IPointerEventArgs::KeyModifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IPointerEventArgs)->get_KeyModifiers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Core_IPointerEventArgs::GetIntermediatePoints() const + template auto consume_Windows_UI_Core_IPointerEventArgs::GetIntermediatePoints() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IPointerEventArgs)->GetIntermediatePoints(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ISystemNavigationManager::BackRequested(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Core_ISystemNavigationManager::BackRequested(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ISystemNavigationManager)->add_BackRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Core_ISystemNavigationManager::BackRequested_revoker consume_Windows_UI_Core_ISystemNavigationManager::BackRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Core_ISystemNavigationManager::BackRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, BackRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ISystemNavigationManager::BackRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Core_ISystemNavigationManager::BackRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ISystemNavigationManager)->remove_BackRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::AppViewBackButtonVisibility) consume_Windows_UI_Core_ISystemNavigationManager2::AppViewBackButtonVisibility() const + template auto consume_Windows_UI_Core_ISystemNavigationManager2::AppViewBackButtonVisibility() const { winrt::Windows::UI::Core::AppViewBackButtonVisibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ISystemNavigationManager2)->get_AppViewBackButtonVisibility(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ISystemNavigationManager2::AppViewBackButtonVisibility(winrt::Windows::UI::Core::AppViewBackButtonVisibility const& value) const + template auto consume_Windows_UI_Core_ISystemNavigationManager2::AppViewBackButtonVisibility(winrt::Windows::UI::Core::AppViewBackButtonVisibility const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ISystemNavigationManager2)->put_AppViewBackButtonVisibility(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::SystemNavigationManager) consume_Windows_UI_Core_ISystemNavigationManagerStatics::GetForCurrentView() const + template auto consume_Windows_UI_Core_ISystemNavigationManagerStatics::GetForCurrentView() const { void* loader{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ISystemNavigationManagerStatics)->GetForCurrentView(&loader)); return winrt::Windows::UI::Core::SystemNavigationManager{ loader, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreProximityEvaluation) consume_Windows_UI_Core_ITouchHitTestingEventArgs::ProximityEvaluation() const + template auto consume_Windows_UI_Core_ITouchHitTestingEventArgs::ProximityEvaluation() const { winrt::Windows::UI::Core::CoreProximityEvaluation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ITouchHitTestingEventArgs)->get_ProximityEvaluation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ITouchHitTestingEventArgs::ProximityEvaluation(winrt::Windows::UI::Core::CoreProximityEvaluation const& value) const + template auto consume_Windows_UI_Core_ITouchHitTestingEventArgs::ProximityEvaluation(winrt::Windows::UI::Core::CoreProximityEvaluation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ITouchHitTestingEventArgs)->put_ProximityEvaluation(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Core_ITouchHitTestingEventArgs::Point() const + template auto consume_Windows_UI_Core_ITouchHitTestingEventArgs::Point() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ITouchHitTestingEventArgs)->get_Point(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Core_ITouchHitTestingEventArgs::BoundingBox() const + template auto consume_Windows_UI_Core_ITouchHitTestingEventArgs::BoundingBox() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ITouchHitTestingEventArgs)->get_BoundingBox(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreProximityEvaluation) consume_Windows_UI_Core_ITouchHitTestingEventArgs::EvaluateProximity(winrt::Windows::Foundation::Rect const& controlBoundingBox) const + template auto consume_Windows_UI_Core_ITouchHitTestingEventArgs::EvaluateProximity(winrt::Windows::Foundation::Rect const& controlBoundingBox) const { winrt::Windows::UI::Core::CoreProximityEvaluation proximityEvaluation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ITouchHitTestingEventArgs)->EvaluateProximityToRect(impl::bind_in(controlBoundingBox), put_abi(proximityEvaluation))); return proximityEvaluation; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreProximityEvaluation) consume_Windows_UI_Core_ITouchHitTestingEventArgs::EvaluateProximity(array_view controlVertices) const + template auto consume_Windows_UI_Core_ITouchHitTestingEventArgs::EvaluateProximity(array_view controlVertices) const { winrt::Windows::UI::Core::CoreProximityEvaluation proximityEvaluation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ITouchHitTestingEventArgs)->EvaluateProximityToPolygon(controlVertices.size(), get_abi(controlVertices), put_abi(proximityEvaluation))); return proximityEvaluation; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_IVisibilityChangedEventArgs::Visible() const + template auto consume_Windows_UI_Core_IVisibilityChangedEventArgs::Visible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IVisibilityChangedEventArgs)->get_Visible(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowActivationState) consume_Windows_UI_Core_IWindowActivatedEventArgs::WindowActivationState() const + template auto consume_Windows_UI_Core_IWindowActivatedEventArgs::WindowActivationState() const { winrt::Windows::UI::Core::CoreWindowActivationState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IWindowActivatedEventArgs)->get_WindowActivationState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Core_IWindowSizeChangedEventArgs::Size() const + template auto consume_Windows_UI_Core_IWindowSizeChangedEventArgs::Size() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IWindowSizeChangedEventArgs)->get_Size(put_abi(value))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Core.h index e7e419f5..950d2537 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Core.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Core_H #define WINRT_Windows_UI_Input_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Input.h" #include "winrt/impl/Windows.ApplicationModel.Core.2.h" #include "winrt/impl/Windows.System.2.h" @@ -14,25 +14,25 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Input.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialController) consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSource::Controller() const + template auto consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSource::Controller() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Core::IRadialControllerIndependentInputSource)->get_Controller(&value)); return winrt::Windows::UI::Input::RadialController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSource::Dispatcher() const + template auto consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSource::Dispatcher() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Core::IRadialControllerIndependentInputSource)->get_Dispatcher(&value)); return winrt::Windows::UI::Core::CoreDispatcher{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSource2::DispatcherQueue() const + template auto consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSource2::DispatcherQueue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Core::IRadialControllerIndependentInputSource2)->get_DispatcherQueue(&value)); return winrt::Windows::System::DispatcherQueue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Core::RadialControllerIndependentInputSource) consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSourceStatics::CreateForView(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const + template auto consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSourceStatics::CreateForView(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Core::IRadialControllerIndependentInputSourceStatics)->CreateForView(*(void**)(&view), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Analysis.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Analysis.h index d80d2734..afd3f5bf 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Analysis.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Analysis.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Inking_Analysis_H #define WINRT_Windows_UI_Input_Inking_Analysis_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Input.Inking.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,179 +13,179 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Input.Inking.Analysis.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkBullet::RecognizedText() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkBullet::RecognizedText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisInkBullet)->get_RecognizedText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisDrawingKind) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkDrawing::DrawingKind() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkDrawing::DrawingKind() const { winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisDrawingKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisInkDrawing)->get_DrawingKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkDrawing::Center() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkDrawing::Center() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisInkDrawing)->get_Center(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkDrawing::Points() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkDrawing::Points() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisInkDrawing)->get_Points(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkWord::RecognizedText() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkWord::RecognizedText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisInkWord)->get_RecognizedText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkWord::TextAlternates() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkWord::TextAlternates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisInkWord)->get_TextAlternates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisLine::RecognizedText() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisLine::RecognizedText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisLine)->get_RecognizedText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisLine::IndentLevel() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisLine::IndentLevel() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisLine)->get_IndentLevel(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisListItem::RecognizedText() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisListItem::RecognizedText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisListItem)->get_RecognizedText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode::Id() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisNodeKind) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode::Kind() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode::Kind() const { winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisNodeKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode::BoundingRect() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode::BoundingRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode)->get_BoundingRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode::RotatedBoundingRect() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode::RotatedBoundingRect() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode)->get_RotatedBoundingRect(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode::Children() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode)->get_Children(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode::Parent() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode::Parent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode)->get_Parent(&value)); return winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode::GetStrokeIds() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode::GetStrokeIds() const { void* strokeIds{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode)->GetStrokeIds(&strokeIds)); return winrt::Windows::Foundation::Collections::IVectorView{ strokeIds, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisParagraph::RecognizedText() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisParagraph::RecognizedText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisParagraph)->get_RecognizedText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisStatus) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisResult::Status() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisResult::Status() const { winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisRoot::RecognizedText() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisRoot::RecognizedText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisRoot)->get_RecognizedText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisRoot::FindNodes(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisNodeKind const& nodeKind) const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisRoot::FindNodes(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisNodeKind const& nodeKind) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisRoot)->FindNodes(static_cast(nodeKind), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisWritingRegion::RecognizedText() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisWritingRegion::RecognizedText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisWritingRegion)->get_RecognizedText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisRoot) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::AnalysisRoot() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::AnalysisRoot() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer)->get_AnalysisRoot(&value)); return winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisRoot{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::IsAnalyzing() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::IsAnalyzing() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer)->get_IsAnalyzing(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::AddDataForStroke(winrt::Windows::UI::Input::Inking::InkStroke const& stroke) const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::AddDataForStroke(winrt::Windows::UI::Input::Inking::InkStroke const& stroke) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer)->AddDataForStroke(*(void**)(&stroke))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::AddDataForStrokes(param::iterable const& strokes) const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::AddDataForStrokes(param::iterable const& strokes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer)->AddDataForStrokes(*(void**)(&strokes))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::ClearDataForAllStrokes() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::ClearDataForAllStrokes() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer)->ClearDataForAllStrokes()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::RemoveDataForStroke(uint32_t strokeId) const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::RemoveDataForStroke(uint32_t strokeId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer)->RemoveDataForStroke(strokeId)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::RemoveDataForStrokes(param::iterable const& strokeIds) const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::RemoveDataForStrokes(param::iterable const& strokeIds) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer)->RemoveDataForStrokes(*(void**)(&strokeIds))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::ReplaceDataForStroke(winrt::Windows::UI::Input::Inking::InkStroke const& stroke) const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::ReplaceDataForStroke(winrt::Windows::UI::Input::Inking::InkStroke const& stroke) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer)->ReplaceDataForStroke(*(void**)(&stroke))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::SetStrokeDataKind(uint32_t strokeId, winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisStrokeKind const& strokeKind) const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::SetStrokeDataKind(uint32_t strokeId, winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisStrokeKind const& strokeKind) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer)->SetStrokeDataKind(strokeId, static_cast(strokeKind))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::AnalyzeAsync() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer::AnalyzeAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer)->AnalyzeAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::InkAnalyzer) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzerFactory::CreateAnalyzer() const + template auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzerFactory::CreateAnalyzer() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzerFactory)->CreateAnalyzer(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Core.h index d0818b1f..a00bc49b 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Core.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Inking_Core_H #define WINRT_Windows_UI_Input_Inking_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Input.Inking.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -16,267 +16,267 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Input.Inking.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke::AppendInkPoints(param::iterable const& inkPoints) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke::AppendInkPoints(param::iterable const& inkPoints) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreIncrementalInkStroke)->AppendInkPoints(*(void**)(&inkPoints), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke::CreateInkStroke() const + template auto consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke::CreateInkStroke() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreIncrementalInkStroke)->CreateInkStroke(&result)); return winrt::Windows::UI::Input::Inking::InkStroke{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke::DrawingAttributes() const + template auto consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke::DrawingAttributes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreIncrementalInkStroke)->get_DrawingAttributes(&value)); return winrt::Windows::UI::Input::Inking::InkDrawingAttributes{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke::PointTransform() const + template auto consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke::PointTransform() const { winrt::Windows::Foundation::Numerics::float3x2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreIncrementalInkStroke)->get_PointTransform(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke::BoundingRect() const + template auto consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke::BoundingRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreIncrementalInkStroke)->get_BoundingRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Core::CoreIncrementalInkStroke) consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStrokeFactory::Create(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& drawingAttributes, winrt::Windows::Foundation::Numerics::float3x2 const& pointTransform) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStrokeFactory::Create(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& drawingAttributes, winrt::Windows::Foundation::Numerics::float3x2 const& pointTransform) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreIncrementalInkStrokeFactory)->Create(*(void**)(&drawingAttributes), impl::bind_in(pointTransform), &result)); return winrt::Windows::UI::Input::Inking::Core::CoreIncrementalInkStroke{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerEntering(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerEntering(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource)->add_PointerEntering(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerEntering_revoker consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerEntering(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerEntering(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerEntering(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerEntering(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerEntering(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource)->remove_PointerEntering(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerHovering(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerHovering(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource)->add_PointerHovering(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerHovering_revoker consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerHovering(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerHovering(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerHovering(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerHovering(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerHovering(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource)->remove_PointerHovering(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerExiting(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerExiting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource)->add_PointerExiting(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerExiting_revoker consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerExiting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerExiting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerExiting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerExiting(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerExiting(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource)->remove_PointerExiting(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerPressing(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerPressing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource)->add_PointerPressing(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerPressing_revoker consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerPressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerPressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerPressing(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerPressing(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerPressing(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource)->remove_PointerPressing(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerMoving(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerMoving(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource)->add_PointerMoving(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerMoving_revoker consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerMoving(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerMoving(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerMoving(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerMoving(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerMoving(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource)->remove_PointerMoving(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerReleasing(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerReleasing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource)->add_PointerReleasing(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerReleasing_revoker consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerReleasing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerReleasing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerReleasing(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerReleasing(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerReleasing(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource)->remove_PointerReleasing(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource)->add_PointerLost(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerLost_revoker consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerLost(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerLost(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::PointerLost(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource)->remove_PointerLost(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::InkPresenter() const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource::InkPresenter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource)->get_InkPresenter(&value)); return winrt::Windows::UI::Input::Inking::InkPresenter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSourceStatics::Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSourceStatics::Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const { void* inkIndependentInputSource{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSourceStatics)->Create(*(void**)(&inkPresenter), &inkIndependentInputSource)); return winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource{ inkIndependentInputSource, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) consume_Windows_UI_Input_Inking_Core_ICoreInkPresenterHost::InkPresenter() const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkPresenterHost::InkPresenter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkPresenterHost)->get_InkPresenter(&value)); return winrt::Windows::UI::Input::Inking::InkPresenter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ContainerVisual) consume_Windows_UI_Input_Inking_Core_ICoreInkPresenterHost::RootVisual() const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkPresenterHost::RootVisual() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkPresenterHost)->get_RootVisual(&value)); return winrt::Windows::UI::Composition::ContainerVisual{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreInkPresenterHost::RootVisual(winrt::Windows::UI::Composition::ContainerVisual const& value) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreInkPresenterHost::RootVisual(winrt::Windows::UI::Composition::ContainerVisual const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreInkPresenterHost)->put_RootVisual(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs::NewInkPoints() const + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs::NewInkPoints() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateEventArgs)->get_NewInkPoints(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs::PointerId() const + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs::PointerId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateEventArgs)->get_PointerId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeDisposition) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs::Disposition() const + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs::Disposition() const { winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeDisposition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateEventArgs)->get_Disposition(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs::Disposition(winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeDisposition const& value) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs::Disposition(winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeDisposition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateEventArgs)->put_Disposition(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource)->add_WetStrokeStarting(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeStarting_revoker consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, WetStrokeStarting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeStarting(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeStarting(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource)->remove_WetStrokeStarting(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeContinuing(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeContinuing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource)->add_WetStrokeContinuing(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeContinuing_revoker consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeContinuing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeContinuing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, WetStrokeContinuing(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeContinuing(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeContinuing(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource)->remove_WetStrokeContinuing(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeStopping(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeStopping(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource)->add_WetStrokeStopping(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeStopping_revoker consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeStopping(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeStopping(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, WetStrokeStopping(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeStopping(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeStopping(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource)->remove_WetStrokeStopping(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource)->add_WetStrokeCompleted(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeCompleted_revoker consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, WetStrokeCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeCompleted(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeCompleted(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource)->remove_WetStrokeCompleted(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource)->add_WetStrokeCanceled(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeCanceled_revoker consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, WetStrokeCanceled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeCanceled(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::WetStrokeCanceled(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource)->remove_WetStrokeCanceled(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::InkPresenter() const + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource::InkPresenter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource)->get_InkPresenter(&value)); return winrt::Windows::UI::Input::Inking::InkPresenter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSourceStatics::Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const + template auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSourceStatics::Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const { void* WetStrokeUpdateSource{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSourceStatics)->Create(*(void**)(&inkPresenter), &WetStrokeUpdateSource)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Preview.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Preview.h index 58c8bf29..1e76713f 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Preview.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Preview.h @@ -1,24 +1,24 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Inking_Preview_H #define WINRT_Windows_UI_Input_Inking_Preview_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Input.Inking.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.UI.Composition.2.h" #include "winrt/impl/Windows.UI.Input.Inking.Preview.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Preview::PalmRejectionDelayZonePreview) consume_Windows_UI_Input_Inking_Preview_IPalmRejectionDelayZonePreviewStatics::CreateForVisual(winrt::Windows::UI::Composition::Visual const& inputPanelVisual, winrt::Windows::Foundation::Rect const& inputPanelRect) const + template auto consume_Windows_UI_Input_Inking_Preview_IPalmRejectionDelayZonePreviewStatics::CreateForVisual(winrt::Windows::UI::Composition::Visual const& inputPanelVisual, winrt::Windows::Foundation::Rect const& inputPanelRect) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Preview::IPalmRejectionDelayZonePreviewStatics)->CreateForVisual(*(void**)(&inputPanelVisual), impl::bind_in(inputPanelRect), &result)); return winrt::Windows::UI::Input::Inking::Preview::PalmRejectionDelayZonePreview{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Preview::PalmRejectionDelayZonePreview) consume_Windows_UI_Input_Inking_Preview_IPalmRejectionDelayZonePreviewStatics::CreateForVisual(winrt::Windows::UI::Composition::Visual const& inputPanelVisual, winrt::Windows::Foundation::Rect const& inputPanelRect, winrt::Windows::UI::Composition::Visual const& viewportVisual, winrt::Windows::Foundation::Rect const& viewportRect) const + template auto consume_Windows_UI_Input_Inking_Preview_IPalmRejectionDelayZonePreviewStatics::CreateForVisual(winrt::Windows::UI::Composition::Visual const& inputPanelVisual, winrt::Windows::Foundation::Rect const& inputPanelRect, winrt::Windows::UI::Composition::Visual const& viewportVisual, winrt::Windows::Foundation::Rect const& viewportRect) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Preview::IPalmRejectionDelayZonePreviewStatics)->CreateForVisualWithViewportClip(*(void**)(&inputPanelVisual), impl::bind_in(inputPanelRect), *(void**)(&viewportVisual), impl::bind_in(viewportRect), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.h index 3dc19206..c30c4c7d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Inking_H #define WINRT_Windows_UI_Input_Inking_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Input.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -17,1081 +17,1081 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Input.Inking.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Input_Inking_IInkDrawingAttributes::Color() const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributes::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::PenTipShape) consume_Windows_UI_Input_Inking_IInkDrawingAttributes::PenTip() const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes::PenTip() const { winrt::Windows::UI::Input::Inking::PenTipShape value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes)->get_PenTip(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributes::PenTip(winrt::Windows::UI::Input::Inking::PenTipShape const& value) const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes::PenTip(winrt::Windows::UI::Input::Inking::PenTipShape const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes)->put_PenTip(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Input_Inking_IInkDrawingAttributes::Size() const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes::Size() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes)->get_Size(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributes::Size(winrt::Windows::Foundation::Size const& value) const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes::Size(winrt::Windows::Foundation::Size const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes)->put_Size(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkDrawingAttributes::IgnorePressure() const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes::IgnorePressure() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes)->get_IgnorePressure(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributes::IgnorePressure(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes::IgnorePressure(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes)->put_IgnorePressure(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkDrawingAttributes::FitToCurve() const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes::FitToCurve() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes)->get_FitToCurve(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributes::FitToCurve(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes::FitToCurve(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes)->put_FitToCurve(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) consume_Windows_UI_Input_Inking_IInkDrawingAttributes2::PenTipTransform() const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes2::PenTipTransform() const { winrt::Windows::Foundation::Numerics::float3x2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes2)->get_PenTipTransform(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributes2::PenTipTransform(winrt::Windows::Foundation::Numerics::float3x2 const& value) const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes2::PenTipTransform(winrt::Windows::Foundation::Numerics::float3x2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes2)->put_PenTipTransform(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkDrawingAttributes2::DrawAsHighlighter() const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes2::DrawAsHighlighter() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes2)->get_DrawAsHighlighter(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributes2::DrawAsHighlighter(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes2::DrawAsHighlighter(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes2)->put_DrawAsHighlighter(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributesKind) consume_Windows_UI_Input_Inking_IInkDrawingAttributes3::Kind() const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes3::Kind() const { winrt::Windows::UI::Input::Inking::InkDrawingAttributesKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes3)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributesPencilProperties) consume_Windows_UI_Input_Inking_IInkDrawingAttributes3::PencilProperties() const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes3::PencilProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes3)->get_PencilProperties(&value)); return winrt::Windows::UI::Input::Inking::InkDrawingAttributesPencilProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkDrawingAttributes4::IgnoreTilt() const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes4::IgnoreTilt() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes4)->get_IgnoreTilt(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributes4::IgnoreTilt(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes4::IgnoreTilt(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes4)->put_IgnoreTilt(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkModelerAttributes) consume_Windows_UI_Input_Inking_IInkDrawingAttributes5::ModelerAttributes() const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes5::ModelerAttributes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes5)->get_ModelerAttributes(&value)); return winrt::Windows::UI::Input::Inking::InkModelerAttributes{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Inking_IInkDrawingAttributesPencilProperties::Opacity() const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributesPencilProperties::Opacity() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributesPencilProperties)->get_Opacity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributesPencilProperties::Opacity(double value) const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributesPencilProperties::Opacity(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributesPencilProperties)->put_Opacity(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) consume_Windows_UI_Input_Inking_IInkDrawingAttributesStatics::CreateForPencil() const + template auto consume_Windows_UI_Input_Inking_IInkDrawingAttributesStatics::CreateForPencil() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributesStatics)->CreateForPencil(&result)); return winrt::Windows::UI::Input::Inking::InkDrawingAttributes{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkInputConfiguration::IsPrimaryBarrelButtonInputEnabled() const + template auto consume_Windows_UI_Input_Inking_IInkInputConfiguration::IsPrimaryBarrelButtonInputEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkInputConfiguration)->get_IsPrimaryBarrelButtonInputEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkInputConfiguration::IsPrimaryBarrelButtonInputEnabled(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkInputConfiguration::IsPrimaryBarrelButtonInputEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkInputConfiguration)->put_IsPrimaryBarrelButtonInputEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkInputConfiguration::IsEraserInputEnabled() const + template auto consume_Windows_UI_Input_Inking_IInkInputConfiguration::IsEraserInputEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkInputConfiguration)->get_IsEraserInputEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkInputConfiguration::IsEraserInputEnabled(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkInputConfiguration::IsEraserInputEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkInputConfiguration)->put_IsEraserInputEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkInputProcessingMode) consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration::Mode() const + template auto consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration::Mode() const { winrt::Windows::UI::Input::Inking::InkInputProcessingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkInputProcessingConfiguration)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration::Mode(winrt::Windows::UI::Input::Inking::InkInputProcessingMode const& value) const + template auto consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration::Mode(winrt::Windows::UI::Input::Inking::InkInputProcessingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkInputProcessingConfiguration)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkInputRightDragAction) consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration::RightDragAction() const + template auto consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration::RightDragAction() const { winrt::Windows::UI::Input::Inking::InkInputRightDragAction value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkInputProcessingConfiguration)->get_RightDragAction(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration::RightDragAction(winrt::Windows::UI::Input::Inking::InkInputRightDragAction const& value) const + template auto consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration::RightDragAction(winrt::Windows::UI::Input::Inking::InkInputRightDragAction const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkInputProcessingConfiguration)->put_RightDragAction(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkManipulationMode) consume_Windows_UI_Input_Inking_IInkManager::Mode() const + template auto consume_Windows_UI_Input_Inking_IInkManager::Mode() const { winrt::Windows::UI::Input::Inking::InkManipulationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkManager)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkManager::Mode(winrt::Windows::UI::Input::Inking::InkManipulationMode const& value) const + template auto consume_Windows_UI_Input_Inking_IInkManager::Mode(winrt::Windows::UI::Input::Inking::InkManipulationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkManager)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkManager::ProcessPointerDown(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const + template auto consume_Windows_UI_Input_Inking_IInkManager::ProcessPointerDown(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkManager)->ProcessPointerDown(*(void**)(&pointerPoint))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Input_Inking_IInkManager::ProcessPointerUpdate(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const + template auto consume_Windows_UI_Input_Inking_IInkManager::ProcessPointerUpdate(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const { void* updateInformation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkManager)->ProcessPointerUpdate(*(void**)(&pointerPoint), &updateInformation)); return winrt::Windows::Foundation::IInspectable{ updateInformation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkManager::ProcessPointerUp(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const + template auto consume_Windows_UI_Input_Inking_IInkManager::ProcessPointerUp(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const { winrt::Windows::Foundation::Rect updateRectangle{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkManager)->ProcessPointerUp(*(void**)(&pointerPoint), put_abi(updateRectangle))); return updateRectangle; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkManager::SetDefaultDrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& drawingAttributes) const + template auto consume_Windows_UI_Input_Inking_IInkManager::SetDefaultDrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& drawingAttributes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkManager)->SetDefaultDrawingAttributes(*(void**)(&drawingAttributes))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_UI_Input_Inking_IInkManager::RecognizeAsync(winrt::Windows::UI::Input::Inking::InkRecognitionTarget const& recognitionTarget) const + template auto consume_Windows_UI_Input_Inking_IInkManager::RecognizeAsync(winrt::Windows::UI::Input::Inking::InkRecognitionTarget const& recognitionTarget) const { void* recognitionResults{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkManager)->RecognizeAsync2(static_cast(recognitionTarget), &recognitionResults)); return winrt::Windows::Foundation::IAsyncOperation>{ recognitionResults, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Input_Inking_IInkModelerAttributes::PredictionTime() const + template auto consume_Windows_UI_Input_Inking_IInkModelerAttributes::PredictionTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkModelerAttributes)->get_PredictionTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkModelerAttributes::PredictionTime(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Input_Inking_IInkModelerAttributes::PredictionTime(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkModelerAttributes)->put_PredictionTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_Inking_IInkModelerAttributes::ScalingFactor() const + template auto consume_Windows_UI_Input_Inking_IInkModelerAttributes::ScalingFactor() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkModelerAttributes)->get_ScalingFactor(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkModelerAttributes::ScalingFactor(float value) const + template auto consume_Windows_UI_Input_Inking_IInkModelerAttributes::ScalingFactor(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkModelerAttributes)->put_ScalingFactor(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkModelerAttributes2::UseVelocityBasedPressure() const + template auto consume_Windows_UI_Input_Inking_IInkModelerAttributes2::UseVelocityBasedPressure() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkModelerAttributes2)->get_UseVelocityBasedPressure(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkModelerAttributes2::UseVelocityBasedPressure(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkModelerAttributes2::UseVelocityBasedPressure(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkModelerAttributes2)->put_UseVelocityBasedPressure(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_Inking_IInkPoint::Position() const + template auto consume_Windows_UI_Input_Inking_IInkPoint::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPoint)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_Inking_IInkPoint::Pressure() const + template auto consume_Windows_UI_Input_Inking_IInkPoint::Pressure() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPoint)->get_Pressure(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_Inking_IInkPoint2::TiltX() const + template auto consume_Windows_UI_Input_Inking_IInkPoint2::TiltX() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPoint2)->get_TiltX(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_Inking_IInkPoint2::TiltY() const + template auto consume_Windows_UI_Input_Inking_IInkPoint2::TiltY() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPoint2)->get_TiltY(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_UI_Input_Inking_IInkPoint2::Timestamp() const + template auto consume_Windows_UI_Input_Inking_IInkPoint2::Timestamp() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPoint2)->get_Timestamp(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPoint) consume_Windows_UI_Input_Inking_IInkPointFactory::CreateInkPoint(winrt::Windows::Foundation::Point const& position, float pressure) const + template auto consume_Windows_UI_Input_Inking_IInkPointFactory::CreateInkPoint(winrt::Windows::Foundation::Point const& position, float pressure) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPointFactory)->CreateInkPoint(impl::bind_in(position), pressure, &result)); return winrt::Windows::UI::Input::Inking::InkPoint{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPoint) consume_Windows_UI_Input_Inking_IInkPointFactory2::CreateInkPointWithTiltAndTimestamp(winrt::Windows::Foundation::Point const& position, float pressure, float tiltX, float tiltY, uint64_t timestamp) const + template auto consume_Windows_UI_Input_Inking_IInkPointFactory2::CreateInkPointWithTiltAndTimestamp(winrt::Windows::Foundation::Point const& position, float pressure, float tiltX, float tiltY, uint64_t timestamp) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPointFactory2)->CreateInkPointWithTiltAndTimestamp(impl::bind_in(position), pressure, tiltX, tiltY, timestamp, &result)); return winrt::Windows::UI::Input::Inking::InkPoint{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenter::IsInputEnabled() const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::IsInputEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->get_IsInputEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenter::IsInputEnabled(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::IsInputEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->put_IsInputEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreInputDeviceTypes) consume_Windows_UI_Input_Inking_IInkPresenter::InputDeviceTypes() const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::InputDeviceTypes() const { winrt::Windows::UI::Core::CoreInputDeviceTypes value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->get_InputDeviceTypes(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenter::InputDeviceTypes(winrt::Windows::UI::Core::CoreInputDeviceTypes const& value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::InputDeviceTypes(winrt::Windows::UI::Core::CoreInputDeviceTypes const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->put_InputDeviceTypes(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkUnprocessedInput) consume_Windows_UI_Input_Inking_IInkPresenter::UnprocessedInput() const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::UnprocessedInput() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->get_UnprocessedInput(&value)); return winrt::Windows::UI::Input::Inking::InkUnprocessedInput{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStrokeInput) consume_Windows_UI_Input_Inking_IInkPresenter::StrokeInput() const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::StrokeInput() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->get_StrokeInput(&value)); return winrt::Windows::UI::Input::Inking::InkStrokeInput{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkInputProcessingConfiguration) consume_Windows_UI_Input_Inking_IInkPresenter::InputProcessingConfiguration() const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::InputProcessingConfiguration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->get_InputProcessingConfiguration(&value)); return winrt::Windows::UI::Input::Inking::InkInputProcessingConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStrokeContainer) consume_Windows_UI_Input_Inking_IInkPresenter::StrokeContainer() const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::StrokeContainer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->get_StrokeContainer(&value)); return winrt::Windows::UI::Input::Inking::InkStrokeContainer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenter::StrokeContainer(winrt::Windows::UI::Input::Inking::InkStrokeContainer const& value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::StrokeContainer(winrt::Windows::UI::Input::Inking::InkStrokeContainer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->put_StrokeContainer(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) consume_Windows_UI_Input_Inking_IInkPresenter::CopyDefaultDrawingAttributes() const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::CopyDefaultDrawingAttributes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->CopyDefaultDrawingAttributes(&value)); return winrt::Windows::UI::Input::Inking::InkDrawingAttributes{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenter::UpdateDefaultDrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::UpdateDefaultDrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->UpdateDefaultDrawingAttributes(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkSynchronizer) consume_Windows_UI_Input_Inking_IInkPresenter::ActivateCustomDrying() const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::ActivateCustomDrying() const { void* inkSynchronizer{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->ActivateCustomDrying(&inkSynchronizer)); return winrt::Windows::UI::Input::Inking::InkSynchronizer{ inkSynchronizer, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenter::SetPredefinedConfiguration(winrt::Windows::UI::Input::Inking::InkPresenterPredefinedConfiguration const& value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::SetPredefinedConfiguration(winrt::Windows::UI::Input::Inking::InkPresenterPredefinedConfiguration const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->SetPredefinedConfiguration(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkPresenter::StrokesCollected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::StrokesCollected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->add_StrokesCollected(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_IInkPresenter::StrokesCollected_revoker consume_Windows_UI_Input_Inking_IInkPresenter::StrokesCollected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::StrokesCollected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StrokesCollected(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenter::StrokesCollected(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_IInkPresenter::StrokesCollected(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->remove_StrokesCollected(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkPresenter::StrokesErased(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::StrokesErased(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->add_StrokesErased(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_IInkPresenter::StrokesErased_revoker consume_Windows_UI_Input_Inking_IInkPresenter::StrokesErased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkPresenter::StrokesErased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StrokesErased(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenter::StrokesErased(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_IInkPresenter::StrokesErased(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->remove_StrokesErased(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkHighContrastAdjustment) consume_Windows_UI_Input_Inking_IInkPresenter2::HighContrastAdjustment() const + template auto consume_Windows_UI_Input_Inking_IInkPresenter2::HighContrastAdjustment() const { winrt::Windows::UI::Input::Inking::InkHighContrastAdjustment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter2)->get_HighContrastAdjustment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenter2::HighContrastAdjustment(winrt::Windows::UI::Input::Inking::InkHighContrastAdjustment const& value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenter2::HighContrastAdjustment(winrt::Windows::UI::Input::Inking::InkHighContrastAdjustment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter2)->put_HighContrastAdjustment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkInputConfiguration) consume_Windows_UI_Input_Inking_IInkPresenter3::InputConfiguration() const + template auto consume_Windows_UI_Input_Inking_IInkPresenter3::InputConfiguration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter3)->get_InputConfiguration(&value)); return winrt::Windows::UI::Input::Inking::InkInputConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenterProtractor::AreTickMarksVisible() const + template auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor::AreTickMarksVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->get_AreTickMarksVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterProtractor::AreTickMarksVisible(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor::AreTickMarksVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->put_AreTickMarksVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenterProtractor::AreRaysVisible() const + template auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor::AreRaysVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->get_AreRaysVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterProtractor::AreRaysVisible(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor::AreRaysVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->put_AreRaysVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenterProtractor::IsCenterMarkerVisible() const + template auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor::IsCenterMarkerVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->get_IsCenterMarkerVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterProtractor::IsCenterMarkerVisible(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor::IsCenterMarkerVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->put_IsCenterMarkerVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenterProtractor::IsAngleReadoutVisible() const + template auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor::IsAngleReadoutVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->get_IsAngleReadoutVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterProtractor::IsAngleReadoutVisible(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor::IsAngleReadoutVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->put_IsAngleReadoutVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenterProtractor::IsResizable() const + template auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor::IsResizable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->get_IsResizable(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterProtractor::IsResizable(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor::IsResizable(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->put_IsResizable(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Inking_IInkPresenterProtractor::Radius() const + template auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor::Radius() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->get_Radius(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterProtractor::Radius(double value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor::Radius(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->put_Radius(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Input_Inking_IInkPresenterProtractor::AccentColor() const + template auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor::AccentColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->get_AccentColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterProtractor::AccentColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor::AccentColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->put_AccentColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterProtractor) consume_Windows_UI_Input_Inking_IInkPresenterProtractorFactory::Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterProtractorFactory::Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const { void* inkPresenterProtractor{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractorFactory)->Create(*(void**)(&inkPresenter), &inkPresenterProtractor)); return winrt::Windows::UI::Input::Inking::InkPresenterProtractor{ inkPresenterProtractor, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Inking_IInkPresenterRuler::Length() const + template auto consume_Windows_UI_Input_Inking_IInkPresenterRuler::Length() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRuler)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterRuler::Length(double value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterRuler::Length(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRuler)->put_Length(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Inking_IInkPresenterRuler::Width() const + template auto consume_Windows_UI_Input_Inking_IInkPresenterRuler::Width() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRuler)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterRuler::Width(double value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterRuler::Width(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRuler)->put_Width(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenterRuler2::AreTickMarksVisible() const + template auto consume_Windows_UI_Input_Inking_IInkPresenterRuler2::AreTickMarksVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRuler2)->get_AreTickMarksVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterRuler2::AreTickMarksVisible(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterRuler2::AreTickMarksVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRuler2)->put_AreTickMarksVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenterRuler2::IsCompassVisible() const + template auto consume_Windows_UI_Input_Inking_IInkPresenterRuler2::IsCompassVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRuler2)->get_IsCompassVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterRuler2::IsCompassVisible(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterRuler2::IsCompassVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRuler2)->put_IsCompassVisible(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterRuler) consume_Windows_UI_Input_Inking_IInkPresenterRulerFactory::Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterRulerFactory::Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const { void* inkPresenterRuler{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRulerFactory)->Create(*(void**)(&inkPresenter), &inkPresenterRuler)); return winrt::Windows::UI::Input::Inking::InkPresenterRuler{ inkPresenterRuler, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterStencilKind) consume_Windows_UI_Input_Inking_IInkPresenterStencil::Kind() const + template auto consume_Windows_UI_Input_Inking_IInkPresenterStencil::Kind() const { winrt::Windows::UI::Input::Inking::InkPresenterStencilKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterStencil)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenterStencil::IsVisible() const + template auto consume_Windows_UI_Input_Inking_IInkPresenterStencil::IsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterStencil)->get_IsVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterStencil::IsVisible(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterStencil::IsVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterStencil)->put_IsVisible(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Input_Inking_IInkPresenterStencil::BackgroundColor() const + template auto consume_Windows_UI_Input_Inking_IInkPresenterStencil::BackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterStencil)->get_BackgroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterStencil::BackgroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterStencil::BackgroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterStencil)->put_BackgroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Input_Inking_IInkPresenterStencil::ForegroundColor() const + template auto consume_Windows_UI_Input_Inking_IInkPresenterStencil::ForegroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterStencil)->get_ForegroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterStencil::ForegroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterStencil::ForegroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterStencil)->put_ForegroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) consume_Windows_UI_Input_Inking_IInkPresenterStencil::Transform() const + template auto consume_Windows_UI_Input_Inking_IInkPresenterStencil::Transform() const { winrt::Windows::Foundation::Numerics::float3x2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterStencil)->get_Transform(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterStencil::Transform(winrt::Windows::Foundation::Numerics::float3x2 const& value) const + template auto consume_Windows_UI_Input_Inking_IInkPresenterStencil::Transform(winrt::Windows::Foundation::Numerics::float3x2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterStencil)->put_Transform(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkRecognitionResult::BoundingRect() const + template auto consume_Windows_UI_Input_Inking_IInkRecognitionResult::BoundingRect() const { winrt::Windows::Foundation::Rect boundingRect{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkRecognitionResult)->get_BoundingRect(put_abi(boundingRect))); return boundingRect; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Inking_IInkRecognitionResult::GetTextCandidates() const + template auto consume_Windows_UI_Input_Inking_IInkRecognitionResult::GetTextCandidates() const { void* textCandidates{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkRecognitionResult)->GetTextCandidates(&textCandidates)); return winrt::Windows::Foundation::Collections::IVectorView{ textCandidates, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Inking_IInkRecognitionResult::GetStrokes() const + template auto consume_Windows_UI_Input_Inking_IInkRecognitionResult::GetStrokes() const { void* strokes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkRecognitionResult)->GetStrokes(&strokes)); return winrt::Windows::Foundation::Collections::IVectorView{ strokes, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_IInkRecognizer::Name() const + template auto consume_Windows_UI_Input_Inking_IInkRecognizer::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkRecognizer)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkRecognizerContainer::SetDefaultRecognizer(winrt::Windows::UI::Input::Inking::InkRecognizer const& recognizer) const + template auto consume_Windows_UI_Input_Inking_IInkRecognizerContainer::SetDefaultRecognizer(winrt::Windows::UI::Input::Inking::InkRecognizer const& recognizer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkRecognizerContainer)->SetDefaultRecognizer(*(void**)(&recognizer))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_UI_Input_Inking_IInkRecognizerContainer::RecognizeAsync(winrt::Windows::UI::Input::Inking::InkStrokeContainer const& strokeCollection, winrt::Windows::UI::Input::Inking::InkRecognitionTarget const& recognitionTarget) const + template auto consume_Windows_UI_Input_Inking_IInkRecognizerContainer::RecognizeAsync(winrt::Windows::UI::Input::Inking::InkStrokeContainer const& strokeCollection, winrt::Windows::UI::Input::Inking::InkRecognitionTarget const& recognitionTarget) const { void* recognitionResults{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkRecognizerContainer)->RecognizeAsync(*(void**)(&strokeCollection), static_cast(recognitionTarget), &recognitionResults)); return winrt::Windows::Foundation::IAsyncOperation>{ recognitionResults, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Inking_IInkRecognizerContainer::GetRecognizers() const + template auto consume_Windows_UI_Input_Inking_IInkRecognizerContainer::GetRecognizers() const { void* recognizerView{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkRecognizerContainer)->GetRecognizers(&recognizerView)); return winrt::Windows::Foundation::Collections::IVectorView{ recognizerView, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) consume_Windows_UI_Input_Inking_IInkStroke::DrawingAttributes() const + template auto consume_Windows_UI_Input_Inking_IInkStroke::DrawingAttributes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke)->get_DrawingAttributes(&value)); return winrt::Windows::UI::Input::Inking::InkDrawingAttributes{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStroke::DrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& value) const + template auto consume_Windows_UI_Input_Inking_IInkStroke::DrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke)->put_DrawingAttributes(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkStroke::BoundingRect() const + template auto consume_Windows_UI_Input_Inking_IInkStroke::BoundingRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke)->get_BoundingRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkStroke::Selected() const + template auto consume_Windows_UI_Input_Inking_IInkStroke::Selected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke)->get_Selected(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStroke::Selected(bool value) const + template auto consume_Windows_UI_Input_Inking_IInkStroke::Selected(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke)->put_Selected(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkStroke::Recognized() const + template auto consume_Windows_UI_Input_Inking_IInkStroke::Recognized() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke)->get_Recognized(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Inking_IInkStroke::GetRenderingSegments() const + template auto consume_Windows_UI_Input_Inking_IInkStroke::GetRenderingSegments() const { void* renderingSegments{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke)->GetRenderingSegments(&renderingSegments)); return winrt::Windows::Foundation::Collections::IVectorView{ renderingSegments, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) consume_Windows_UI_Input_Inking_IInkStroke::Clone() const + template auto consume_Windows_UI_Input_Inking_IInkStroke::Clone() const { void* clonedStroke{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke)->Clone(&clonedStroke)); return winrt::Windows::UI::Input::Inking::InkStroke{ clonedStroke, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) consume_Windows_UI_Input_Inking_IInkStroke2::PointTransform() const + template auto consume_Windows_UI_Input_Inking_IInkStroke2::PointTransform() const { winrt::Windows::Foundation::Numerics::float3x2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke2)->get_PointTransform(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStroke2::PointTransform(winrt::Windows::Foundation::Numerics::float3x2 const& value) const + template auto consume_Windows_UI_Input_Inking_IInkStroke2::PointTransform(winrt::Windows::Foundation::Numerics::float3x2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke2)->put_PointTransform(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Inking_IInkStroke2::GetInkPoints() const + template auto consume_Windows_UI_Input_Inking_IInkStroke2::GetInkPoints() const { void* inkPoints{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke2)->GetInkPoints(&inkPoints)); return winrt::Windows::Foundation::Collections::IVectorView{ inkPoints, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_Inking_IInkStroke3::Id() const + template auto consume_Windows_UI_Input_Inking_IInkStroke3::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke3)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Input_Inking_IInkStroke3::StrokeStartedTime() const + template auto consume_Windows_UI_Input_Inking_IInkStroke3::StrokeStartedTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke3)->get_StrokeStartedTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStroke3::StrokeStartedTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Input_Inking_IInkStroke3::StrokeStartedTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke3)->put_StrokeStartedTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Input_Inking_IInkStroke3::StrokeDuration() const + template auto consume_Windows_UI_Input_Inking_IInkStroke3::StrokeDuration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke3)->get_StrokeDuration(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStroke3::StrokeDuration(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Input_Inking_IInkStroke3::StrokeDuration(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke3)->put_StrokeDuration(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeBuilder::BeginStroke(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeBuilder::BeginStroke(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeBuilder)->BeginStroke(*(void**)(&pointerPoint))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPoint) consume_Windows_UI_Input_Inking_IInkStrokeBuilder::AppendToStroke(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeBuilder::AppendToStroke(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const { void* previousPointerPoint{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeBuilder)->AppendToStroke(*(void**)(&pointerPoint), &previousPointerPoint)); return winrt::Windows::UI::Input::PointerPoint{ previousPointerPoint, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) consume_Windows_UI_Input_Inking_IInkStrokeBuilder::EndStroke(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeBuilder::EndStroke(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const { void* stroke{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeBuilder)->EndStroke(*(void**)(&pointerPoint), &stroke)); return winrt::Windows::UI::Input::Inking::InkStroke{ stroke, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) consume_Windows_UI_Input_Inking_IInkStrokeBuilder::CreateStroke(param::iterable const& points) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeBuilder::CreateStroke(param::iterable const& points) const { void* stroke{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeBuilder)->CreateStroke(*(void**)(&points), &stroke)); return winrt::Windows::UI::Input::Inking::InkStroke{ stroke, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeBuilder::SetDefaultDrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& drawingAttributes) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeBuilder::SetDefaultDrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& drawingAttributes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeBuilder)->SetDefaultDrawingAttributes(*(void**)(&drawingAttributes))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) consume_Windows_UI_Input_Inking_IInkStrokeBuilder2::CreateStrokeFromInkPoints(param::iterable const& inkPoints, winrt::Windows::Foundation::Numerics::float3x2 const& transform) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeBuilder2::CreateStrokeFromInkPoints(param::iterable const& inkPoints, winrt::Windows::Foundation::Numerics::float3x2 const& transform) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeBuilder2)->CreateStrokeFromInkPoints(*(void**)(&inkPoints), impl::bind_in(transform), &result)); return winrt::Windows::UI::Input::Inking::InkStroke{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) consume_Windows_UI_Input_Inking_IInkStrokeBuilder3::CreateStrokeFromInkPoints(param::iterable const& inkPoints, winrt::Windows::Foundation::Numerics::float3x2 const& transform, winrt::Windows::Foundation::IReference const& strokeStartedTime, winrt::Windows::Foundation::IReference const& strokeDuration) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeBuilder3::CreateStrokeFromInkPoints(param::iterable const& inkPoints, winrt::Windows::Foundation::Numerics::float3x2 const& transform, winrt::Windows::Foundation::IReference const& strokeStartedTime, winrt::Windows::Foundation::IReference const& strokeDuration) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeBuilder3)->CreateStrokeFromInkPoints(*(void**)(&inkPoints), impl::bind_in(transform), *(void**)(&strokeStartedTime), *(void**)(&strokeDuration), &result)); return winrt::Windows::UI::Input::Inking::InkStroke{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkStrokeContainer::BoundingRect() const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer::BoundingRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->get_BoundingRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeContainer::AddStroke(winrt::Windows::UI::Input::Inking::InkStroke const& stroke) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer::AddStroke(winrt::Windows::UI::Input::Inking::InkStroke const& stroke) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->AddStroke(*(void**)(&stroke))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkStrokeContainer::DeleteSelected() const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer::DeleteSelected() const { winrt::Windows::Foundation::Rect invalidatedRect{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->DeleteSelected(put_abi(invalidatedRect))); return invalidatedRect; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkStrokeContainer::MoveSelected(winrt::Windows::Foundation::Point const& translation) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer::MoveSelected(winrt::Windows::Foundation::Point const& translation) const { winrt::Windows::Foundation::Rect invalidatedRectangle{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->MoveSelected(impl::bind_in(translation), put_abi(invalidatedRectangle))); return invalidatedRectangle; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkStrokeContainer::SelectWithPolyLine(param::iterable const& polyline) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer::SelectWithPolyLine(param::iterable const& polyline) const { winrt::Windows::Foundation::Rect invalidatedRectangle{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->SelectWithPolyLine(*(void**)(&polyline), put_abi(invalidatedRectangle))); return invalidatedRectangle; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkStrokeContainer::SelectWithLine(winrt::Windows::Foundation::Point const& from, winrt::Windows::Foundation::Point const& to) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer::SelectWithLine(winrt::Windows::Foundation::Point const& from, winrt::Windows::Foundation::Point const& to) const { winrt::Windows::Foundation::Rect invalidatedRectangle{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->SelectWithLine(impl::bind_in(from), impl::bind_in(to), put_abi(invalidatedRectangle))); return invalidatedRectangle; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeContainer::CopySelectedToClipboard() const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer::CopySelectedToClipboard() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->CopySelectedToClipboard()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkStrokeContainer::PasteFromClipboard(winrt::Windows::Foundation::Point const& position) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer::PasteFromClipboard(winrt::Windows::Foundation::Point const& position) const { winrt::Windows::Foundation::Rect invalidatedRectangle{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->PasteFromClipboard(impl::bind_in(position), put_abi(invalidatedRectangle))); return invalidatedRectangle; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkStrokeContainer::CanPasteFromClipboard() const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer::CanPasteFromClipboard() const { bool canPaste{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->CanPasteFromClipboard(&canPaste)); return canPaste; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress) consume_Windows_UI_Input_Inking_IInkStrokeContainer::LoadAsync(winrt::Windows::Storage::Streams::IInputStream const& inputStream) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer::LoadAsync(winrt::Windows::Storage::Streams::IInputStream const& inputStream) const { void* loadAction{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->LoadAsync(*(void**)(&inputStream), &loadAction)); return winrt::Windows::Foundation::IAsyncActionWithProgress{ loadAction, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_UI_Input_Inking_IInkStrokeContainer::SaveAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer::SaveAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const { void* outputStreamOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->SaveAsync(*(void**)(&outputStream), &outputStreamOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ outputStreamOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeContainer::UpdateRecognitionResults(param::vector_view const& recognitionResults) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer::UpdateRecognitionResults(param::vector_view const& recognitionResults) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->UpdateRecognitionResults(*(void**)(&recognitionResults))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Inking_IInkStrokeContainer::GetStrokes() const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer::GetStrokes() const { void* strokeView{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->GetStrokes(&strokeView)); return winrt::Windows::Foundation::Collections::IVectorView{ strokeView, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Inking_IInkStrokeContainer::GetRecognitionResults() const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer::GetRecognitionResults() const { void* recognitionResults{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->GetRecognitionResults(&recognitionResults)); return winrt::Windows::Foundation::Collections::IVectorView{ recognitionResults, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeContainer2::AddStrokes(param::iterable const& strokes) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer2::AddStrokes(param::iterable const& strokes) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer2)->AddStrokes(*(void**)(&strokes))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeContainer2::Clear() const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer2::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer2)->Clear()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_UI_Input_Inking_IInkStrokeContainer3::SaveAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream, winrt::Windows::UI::Input::Inking::InkPersistenceFormat const& inkPersistenceFormat) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer3::SaveAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream, winrt::Windows::UI::Input::Inking::InkPersistenceFormat const& inkPersistenceFormat) const { void* outputStreamOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer3)->SaveWithFormatAsync(*(void**)(&outputStream), static_cast(inkPersistenceFormat), &outputStreamOperation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ outputStreamOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) consume_Windows_UI_Input_Inking_IInkStrokeContainer3::GetStrokeById(uint32_t id) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeContainer3::GetStrokeById(uint32_t id) const { void* stroke{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer3)->GetStrokeById(id, &stroke)); return winrt::Windows::UI::Input::Inking::InkStroke{ stroke, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeInput)->add_StrokeStarted(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeStarted_revoker consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StrokeStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeStarted(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeStarted(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeInput)->remove_StrokeStarted(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeContinued(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeContinued(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeInput)->add_StrokeContinued(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeContinued_revoker consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeContinued(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeContinued(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StrokeContinued(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeContinued(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeContinued(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeInput)->remove_StrokeContinued(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeInput)->add_StrokeEnded(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeEnded_revoker consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StrokeEnded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeEnded(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeEnded(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeInput)->remove_StrokeEnded(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeInput)->add_StrokeCanceled(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeCanceled_revoker consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StrokeCanceled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeCanceled(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_IInkStrokeInput::StrokeCanceled(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeInput)->remove_StrokeCanceled(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) consume_Windows_UI_Input_Inking_IInkStrokeInput::InkPresenter() const + template auto consume_Windows_UI_Input_Inking_IInkStrokeInput::InkPresenter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeInput)->get_InkPresenter(&value)); return winrt::Windows::UI::Input::Inking::InkPresenter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment::Position() const + template auto consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeRenderingSegment)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment::BezierControlPoint1() const + template auto consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment::BezierControlPoint1() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeRenderingSegment)->get_BezierControlPoint1(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment::BezierControlPoint2() const + template auto consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment::BezierControlPoint2() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeRenderingSegment)->get_BezierControlPoint2(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment::Pressure() const + template auto consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment::Pressure() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeRenderingSegment)->get_Pressure(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment::TiltX() const + template auto consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment::TiltX() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeRenderingSegment)->get_TiltX(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment::TiltY() const + template auto consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment::TiltY() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeRenderingSegment)->get_TiltY(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment::Twist() const + template auto consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment::Twist() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeRenderingSegment)->get_Twist(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Inking_IInkStrokesCollectedEventArgs::Strokes() const + template auto consume_Windows_UI_Input_Inking_IInkStrokesCollectedEventArgs::Strokes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokesCollectedEventArgs)->get_Strokes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Inking_IInkStrokesErasedEventArgs::Strokes() const + template auto consume_Windows_UI_Input_Inking_IInkStrokesErasedEventArgs::Strokes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokesErasedEventArgs)->get_Strokes(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Inking_IInkSynchronizer::BeginDry() const + template auto consume_Windows_UI_Input_Inking_IInkSynchronizer::BeginDry() const { void* inkStrokes{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkSynchronizer)->BeginDry(&inkStrokes)); return winrt::Windows::Foundation::Collections::IVectorView{ inkStrokes, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkSynchronizer::EndDry() const + template auto consume_Windows_UI_Input_Inking_IInkSynchronizer::EndDry() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkSynchronizer)->EndDry()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->add_PointerEntered(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerEntered_revoker consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerEntered(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerEntered(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerEntered(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->remove_PointerEntered(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerHovered(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerHovered(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->add_PointerHovered(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerHovered_revoker consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerHovered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerHovered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerHovered(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerHovered(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerHovered(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->remove_PointerHovered(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->add_PointerExited(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerExited_revoker consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerExited(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerExited(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerExited(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->remove_PointerExited(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->add_PointerPressed(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerPressed_revoker consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerPressed(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerPressed(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->remove_PointerPressed(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->add_PointerMoved(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerMoved_revoker consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerMoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerMoved(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerMoved(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->remove_PointerMoved(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->add_PointerReleased(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerReleased_revoker consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerReleased(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerReleased(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerReleased(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->remove_PointerReleased(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->add_PointerLost(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerLost_revoker consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PointerLost(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerLost(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::PointerLost(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->remove_PointerLost(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) consume_Windows_UI_Input_Inking_IInkUnprocessedInput::InkPresenter() const + template auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput::InkPresenter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->get_InkPresenter(&value)); return winrt::Windows::UI::Input::Inking::InkPresenter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IPenAndInkSettings::IsHandwritingDirectlyIntoTextFieldEnabled() const + template auto consume_Windows_UI_Input_Inking_IPenAndInkSettings::IsHandwritingDirectlyIntoTextFieldEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings)->get_IsHandwritingDirectlyIntoTextFieldEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::PenHandedness) consume_Windows_UI_Input_Inking_IPenAndInkSettings::PenHandedness() const + template auto consume_Windows_UI_Input_Inking_IPenAndInkSettings::PenHandedness() const { winrt::Windows::UI::Input::Inking::PenHandedness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings)->get_PenHandedness(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::HandwritingLineHeight) consume_Windows_UI_Input_Inking_IPenAndInkSettings::HandwritingLineHeight() const + template auto consume_Windows_UI_Input_Inking_IPenAndInkSettings::HandwritingLineHeight() const { winrt::Windows::UI::Input::Inking::HandwritingLineHeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings)->get_HandwritingLineHeight(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_IPenAndInkSettings::FontFamilyName() const + template auto consume_Windows_UI_Input_Inking_IPenAndInkSettings::FontFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings)->get_FontFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IPenAndInkSettings::UserConsentsToHandwritingTelemetryCollection() const + template auto consume_Windows_UI_Input_Inking_IPenAndInkSettings::UserConsentsToHandwritingTelemetryCollection() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings)->get_UserConsentsToHandwritingTelemetryCollection(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IPenAndInkSettings::IsTouchHandwritingEnabled() const + template auto consume_Windows_UI_Input_Inking_IPenAndInkSettings::IsTouchHandwritingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings)->get_IsTouchHandwritingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IPenAndInkSettings2::SetPenHandedness(winrt::Windows::UI::Input::Inking::PenHandedness const& value) const + template auto consume_Windows_UI_Input_Inking_IPenAndInkSettings2::SetPenHandedness(winrt::Windows::UI::Input::Inking::PenHandedness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings2)->SetPenHandedness(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::PenAndInkSettings) consume_Windows_UI_Input_Inking_IPenAndInkSettingsStatics::GetDefault() const + template auto consume_Windows_UI_Input_Inking_IPenAndInkSettingsStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettingsStatics)->GetDefault(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Preview.Injection.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Preview.Injection.h index 64b3db5b..e3db3738 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Preview.Injection.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Preview.Injection.h @@ -1,348 +1,348 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Preview_Injection_H #define WINRT_Windows_UI_Input_Preview_Injection_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Input.Preview.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Gaming.Input.2.h" #include "winrt/impl/Windows.UI.Input.Preview.Injection.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GamepadButtons) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::Buttons() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::Buttons() const { winrt::Windows::Gaming::Input::GamepadButtons value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_Buttons(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::Buttons(winrt::Windows::Gaming::Input::GamepadButtons const& value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::Buttons(winrt::Windows::Gaming::Input::GamepadButtons const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_Buttons(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftThumbstickX() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftThumbstickX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_LeftThumbstickX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftThumbstickX(double value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftThumbstickX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_LeftThumbstickX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftThumbstickY() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftThumbstickY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_LeftThumbstickY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftThumbstickY(double value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftThumbstickY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_LeftThumbstickY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftTrigger() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftTrigger() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_LeftTrigger(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftTrigger(double value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::LeftTrigger(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_LeftTrigger(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightThumbstickX() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightThumbstickX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_RightThumbstickX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightThumbstickX(double value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightThumbstickX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_RightThumbstickX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightThumbstickY() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightThumbstickY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_RightThumbstickY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightThumbstickY(double value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightThumbstickY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_RightThumbstickY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightTrigger() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightTrigger() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_RightTrigger(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightTrigger(double value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo::RightTrigger(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_RightTrigger(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputGamepadInfo) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfoFactory::CreateInstance(winrt::Windows::Gaming::Input::GamepadReading const& reading) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfoFactory::CreateInstance(winrt::Windows::Gaming::Input::GamepadReading const& reading) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfoFactory)->CreateInstanceFromGamepadReading(impl::bind_in(reading), &value)); return winrt::Windows::UI::Input::Preview::Injection::InjectedInputGamepadInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputKeyOptions) consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::KeyOptions() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::KeyOptions() const { winrt::Windows::UI::Input::Preview::Injection::InjectedInputKeyOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo)->get_KeyOptions(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::KeyOptions(winrt::Windows::UI::Input::Preview::Injection::InjectedInputKeyOptions const& value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::KeyOptions(winrt::Windows::UI::Input::Preview::Injection::InjectedInputKeyOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo)->put_KeyOptions(static_cast(value))); } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::ScanCode() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::ScanCode() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo)->get_ScanCode(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::ScanCode(uint16_t value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::ScanCode(uint16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo)->put_ScanCode(value)); } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::VirtualKey() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::VirtualKey() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo)->get_VirtualKey(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::VirtualKey(uint16_t value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo::VirtualKey(uint16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo)->put_VirtualKey(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputMouseOptions) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::MouseOptions() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::MouseOptions() const { winrt::Windows::UI::Input::Preview::Injection::InjectedInputMouseOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->get_MouseOptions(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::MouseOptions(winrt::Windows::UI::Input::Preview::Injection::InjectedInputMouseOptions const& value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::MouseOptions(winrt::Windows::UI::Input::Preview::Injection::InjectedInputMouseOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->put_MouseOptions(static_cast(value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::MouseData() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::MouseData() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->get_MouseData(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::MouseData(uint32_t value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::MouseData(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->put_MouseData(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::DeltaY() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::DeltaY() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->get_DeltaY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::DeltaY(int32_t value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::DeltaY(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->put_DeltaY(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::DeltaX() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::DeltaX() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->get_DeltaX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::DeltaX(int32_t value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::DeltaX(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->put_DeltaX(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::TimeOffsetInMilliseconds() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::TimeOffsetInMilliseconds() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->get_TimeOffsetInMilliseconds(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::TimeOffsetInMilliseconds(uint32_t value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo::TimeOffsetInMilliseconds(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->put_TimeOffsetInMilliseconds(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PointerInfo() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PointerInfo() const { winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_PointerInfo(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PointerInfo(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo const& value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PointerInfo(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_PointerInfo(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenButtons) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PenButtons() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PenButtons() const { winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenButtons value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_PenButtons(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PenButtons(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenButtons const& value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PenButtons(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenButtons const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_PenButtons(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenParameters) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PenParameters() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PenParameters() const { winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenParameters value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_PenParameters(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PenParameters(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenParameters const& value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::PenParameters(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenParameters const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_PenParameters(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::Pressure() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::Pressure() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_Pressure(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::Pressure(double value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::Pressure(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_Pressure(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::Rotation() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::Rotation() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_Rotation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::Rotation(double value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::Rotation(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_Rotation(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::TiltX() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::TiltX() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_TiltX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::TiltX(int32_t value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::TiltX(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_TiltX(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::TiltY() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::TiltY() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_TiltY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::TiltY(int32_t value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo::TiltY(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_TiltY(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputRectangle) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Contact() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Contact() const { winrt::Windows::UI::Input::Preview::Injection::InjectedInputRectangle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->get_Contact(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Contact(winrt::Windows::UI::Input::Preview::Injection::InjectedInputRectangle const& value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Contact(winrt::Windows::UI::Input::Preview::Injection::InjectedInputRectangle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->put_Contact(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Orientation() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Orientation() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->get_Orientation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Orientation(int32_t value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Orientation(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->put_Orientation(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::PointerInfo() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::PointerInfo() const { winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->get_PointerInfo(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::PointerInfo(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo const& value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::PointerInfo(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->put_PointerInfo(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Pressure() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Pressure() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->get_Pressure(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Pressure(double value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::Pressure(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->put_Pressure(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputTouchParameters) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::TouchParameters() const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::TouchParameters() const { winrt::Windows::UI::Input::Preview::Injection::InjectedInputTouchParameters value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->get_TouchParameters(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::TouchParameters(winrt::Windows::UI::Input::Preview::Injection::InjectedInputTouchParameters const& value) const + template auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo::TouchParameters(winrt::Windows::UI::Input::Preview::Injection::InjectedInputTouchParameters const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->put_TouchParameters(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector::InjectKeyboardInput(param::iterable const& input) const + template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::InjectKeyboardInput(param::iterable const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InjectKeyboardInput(*(void**)(&input))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector::InjectMouseInput(param::iterable const& input) const + template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::InjectMouseInput(param::iterable const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InjectMouseInput(*(void**)(&input))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector::InitializeTouchInjection(winrt::Windows::UI::Input::Preview::Injection::InjectedInputVisualizationMode const& visualMode) const + template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::InitializeTouchInjection(winrt::Windows::UI::Input::Preview::Injection::InjectedInputVisualizationMode const& visualMode) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InitializeTouchInjection(static_cast(visualMode))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector::InjectTouchInput(param::iterable const& input) const + template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::InjectTouchInput(param::iterable const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InjectTouchInput(*(void**)(&input))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector::UninitializeTouchInjection() const + template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::UninitializeTouchInjection() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->UninitializeTouchInjection()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector::InitializePenInjection(winrt::Windows::UI::Input::Preview::Injection::InjectedInputVisualizationMode const& visualMode) const + template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::InitializePenInjection(winrt::Windows::UI::Input::Preview::Injection::InjectedInputVisualizationMode const& visualMode) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InitializePenInjection(static_cast(visualMode))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector::InjectPenInput(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenInfo const& input) const + template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::InjectPenInput(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenInfo const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InjectPenInput(*(void**)(&input))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector::UninitializePenInjection() const + template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::UninitializePenInjection() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->UninitializePenInjection()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector::InjectShortcut(winrt::Windows::UI::Input::Preview::Injection::InjectedInputShortcut const& shortcut) const + template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector::InjectShortcut(winrt::Windows::UI::Input::Preview::Injection::InjectedInputShortcut const& shortcut) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InjectShortcut(static_cast(shortcut))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector2::InitializeGamepadInjection() const + template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector2::InitializeGamepadInjection() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector2)->InitializeGamepadInjection()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector2::InjectGamepadInput(winrt::Windows::UI::Input::Preview::Injection::InjectedInputGamepadInfo const& input) const + template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector2::InjectGamepadInput(winrt::Windows::UI::Input::Preview::Injection::InjectedInputGamepadInfo const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector2)->InjectGamepadInput(*(void**)(&input))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector2::UninitializeGamepadInjection() const + template auto consume_Windows_UI_Input_Preview_Injection_IInputInjector2::UninitializeGamepadInjection() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector2)->UninitializeGamepadInjection()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InputInjector) consume_Windows_UI_Input_Preview_Injection_IInputInjectorStatics::TryCreate() const + template auto consume_Windows_UI_Input_Preview_Injection_IInputInjectorStatics::TryCreate() const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjectorStatics)->TryCreate(&instance)); return winrt::Windows::UI::Input::Preview::Injection::InputInjector{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InputInjector) consume_Windows_UI_Input_Preview_Injection_IInputInjectorStatics2::TryCreateForAppBroadcastOnly() const + template auto consume_Windows_UI_Input_Preview_Injection_IInputInjectorStatics2::TryCreateForAppBroadcastOnly() const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjectorStatics2)->TryCreateForAppBroadcastOnly(&instance)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Preview.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Preview.h index 75d4eb4b..0b5d2b35 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Preview.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Preview.h @@ -1,18 +1,18 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Preview_H #define WINRT_Windows_UI_Input_Preview_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Input.h" #include "winrt/impl/Windows.UI.Input.2.h" #include "winrt/impl/Windows.UI.WindowManagement.2.h" #include "winrt/impl/Windows.UI.Input.Preview.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::InputActivationListener) consume_Windows_UI_Input_Preview_IInputActivationListenerPreviewStatics::CreateForApplicationWindow(winrt::Windows::UI::WindowManagement::AppWindow const& window) const + template auto consume_Windows_UI_Input_Preview_IInputActivationListenerPreviewStatics::CreateForApplicationWindow(winrt::Windows::UI::WindowManagement::AppWindow const& window) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::IInputActivationListenerPreviewStatics)->CreateForApplicationWindow(*(void**)(&window), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Spatial.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Spatial.h index 42e91a9b..1ed96033 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Spatial.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Spatial.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Spatial_H #define WINRT_Windows_UI_Input_Spatial_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Input.h" #include "winrt/impl/Windows.Devices.Haptics.2.h" #include "winrt/impl/Windows.Devices.Power.2.h" @@ -19,877 +19,877 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Input.Spatial.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::RecognitionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::RecognitionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->add_RecognitionStarted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::RecognitionStarted_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::RecognitionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::RecognitionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RecognitionStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::RecognitionStarted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::RecognitionStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_RecognitionStarted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::RecognitionEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::RecognitionEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->add_RecognitionEnded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::RecognitionEnded_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::RecognitionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::RecognitionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RecognitionEnded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::RecognitionEnded(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::RecognitionEnded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_RecognitionEnded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::Tapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::Tapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->add_Tapped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::Tapped_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::Tapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::Tapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Tapped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::Tapped(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::Tapped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_Tapped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->add_HoldStarted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldStarted_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, HoldStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldStarted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_HoldStarted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->add_HoldCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldCompleted_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, HoldCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_HoldCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->add_HoldCanceled(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldCanceled_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, HoldCanceled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldCanceled(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::HoldCanceled(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_HoldCanceled(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->add_ManipulationStarted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationStarted_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ManipulationStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationStarted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_ManipulationStarted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->add_ManipulationUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationUpdated_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ManipulationUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_ManipulationUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->add_ManipulationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationCompleted_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ManipulationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_ManipulationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->add_ManipulationCanceled(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationCanceled_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ManipulationCanceled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationCanceled(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::ManipulationCanceled(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_ManipulationCanceled(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->add_NavigationStarted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationStarted_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationStarted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_NavigationStarted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->add_NavigationUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationUpdated_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_NavigationUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->add_NavigationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationCompleted_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_NavigationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->add_NavigationCanceled(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationCanceled_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationCanceled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationCanceled(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::NavigationCanceled(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_NavigationCanceled(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::CaptureInteraction(winrt::Windows::UI::Input::Spatial::SpatialInteraction const& interaction) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::CaptureInteraction(winrt::Windows::UI::Input::Spatial::SpatialInteraction const& interaction) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->CaptureInteraction(*(void**)(&interaction))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::CancelPendingGestures() const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::CancelPendingGestures() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->CancelPendingGestures()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::TrySetGestureSettings(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings const& settings) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::TrySetGestureSettings(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings const& settings) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->TrySetGestureSettings(static_cast(settings), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::GestureSettings() const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer::GestureSettings() const { winrt::Windows::UI::Input::Spatial::SpatialGestureSettings value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->get_GestureSettings(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizerFactory::Create(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings const& settings) const + template auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizerFactory::Create(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings const& settings) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizerFactory)->Create(static_cast(settings), &value)); return winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialHoldCanceledEventArgs::InteractionSourceKind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialHoldCanceledEventArgs::InteractionSourceKind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialHoldCanceledEventArgs)->get_InteractionSourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialHoldCompletedEventArgs::InteractionSourceKind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialHoldCompletedEventArgs::InteractionSourceKind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialHoldCompletedEventArgs)->get_InteractionSourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialHoldStartedEventArgs::InteractionSourceKind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialHoldStartedEventArgs::InteractionSourceKind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialHoldStartedEventArgs)->get_InteractionSourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) consume_Windows_UI_Input_Spatial_ISpatialHoldStartedEventArgs::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_UI_Input_Spatial_ISpatialHoldStartedEventArgs::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialHoldStartedEventArgs)->TryGetPointerPose(*(void**)(&coordinateSystem), &value)); return winrt::Windows::UI::Input::Spatial::SpatialPointerPose{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState) consume_Windows_UI_Input_Spatial_ISpatialInteraction::SourceState() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteraction::SourceState() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteraction)->get_SourceState(&value)); return winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionController::HasTouchpad() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionController::HasTouchpad() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionController)->get_HasTouchpad(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionController::HasThumbstick() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionController::HasThumbstick() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionController)->get_HasThumbstick(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_Spatial_ISpatialInteractionController::SimpleHapticsController() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionController::SimpleHapticsController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionController)->get_SimpleHapticsController(&value)); return winrt::Windows::Devices::Haptics::SimpleHapticsController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_UI_Input_Spatial_ISpatialInteractionController::VendorId() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionController::VendorId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionController)->get_VendorId(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_UI_Input_Spatial_ISpatialInteractionController::ProductId() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionController::ProductId() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionController)->get_ProductId(&value)); return value; } - template WINRT_IMPL_AUTO(uint16_t) consume_Windows_UI_Input_Spatial_ISpatialInteractionController::Version() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionController::Version() const { uint16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionController)->get_Version(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Input_Spatial_ISpatialInteractionController2::TryGetRenderableModelAsync() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionController2::TryGetRenderableModelAsync() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionController2)->TryGetRenderableModelAsync(&value)); return winrt::Windows::Foundation::IAsyncOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Power::BatteryReport) consume_Windows_UI_Input_Spatial_ISpatialInteractionController3::TryGetBatteryReport() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionController3::TryGetBatteryReport() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionController3)->TryGetBatteryReport(&value)); return winrt::Windows::Devices::Power::BatteryReport{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties::IsTouchpadTouched() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties::IsTouchpadTouched() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionControllerProperties)->get_IsTouchpadTouched(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties::IsTouchpadPressed() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties::IsTouchpadPressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionControllerProperties)->get_IsTouchpadPressed(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties::IsThumbstickPressed() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties::IsThumbstickPressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionControllerProperties)->get_IsThumbstickPressed(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties::ThumbstickX() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties::ThumbstickX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionControllerProperties)->get_ThumbstickX(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties::ThumbstickY() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties::ThumbstickY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionControllerProperties)->get_ThumbstickY(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties::TouchpadX() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties::TouchpadX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionControllerProperties)->get_TouchpadX(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties::TouchpadY() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties::TouchpadY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionControllerProperties)->get_TouchpadY(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs::InteractionSourceKind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs::InteractionSourceKind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionDetectedEventArgs)->get_InteractionSourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionDetectedEventArgs)->TryGetPointerPose(*(void**)(&coordinateSystem), &value)); return winrt::Windows::UI::Input::Spatial::SpatialPointerPose{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteraction) consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs::Interaction() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs::Interaction() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionDetectedEventArgs)->get_Interaction(&value)); return winrt::Windows::UI::Input::Spatial::SpatialInteraction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSource) consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs2::InteractionSource() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs2::InteractionSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionDetectedEventArgs2)->get_InteractionSource(&value)); return winrt::Windows::UI::Input::Spatial::SpatialInteractionSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->add_SourceDetected(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceDetected_revoker consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceDetected(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceDetected(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceDetected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->remove_SourceDetected(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->add_SourceLost(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceLost_revoker consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceLost(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceLost(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceLost(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->remove_SourceLost(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->add_SourceUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceUpdated_revoker consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->remove_SourceUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourcePressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourcePressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->add_SourcePressed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourcePressed_revoker consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourcePressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourcePressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourcePressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourcePressed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourcePressed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->remove_SourcePressed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->add_SourceReleased(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceReleased_revoker consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceReleased(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceReleased(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::SourceReleased(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->remove_SourceReleased(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::InteractionDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::InteractionDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->add_InteractionDetected(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::InteractionDetected_revoker consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::InteractionDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::InteractionDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, InteractionDetected(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::InteractionDetected(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::InteractionDetected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->remove_InteractionDetected(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::GetDetectedSourcesAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timeStamp) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager::GetDetectedSourcesAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timeStamp) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->GetDetectedSourcesAtTimestamp(*(void**)(&timeStamp), &value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionManager) consume_Windows_UI_Input_Spatial_ISpatialInteractionManagerStatics::GetForCurrentView() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManagerStatics::GetForCurrentView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManagerStatics)->GetForCurrentView(&value)); return winrt::Windows::UI::Input::Spatial::SpatialInteractionManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionManagerStatics2::IsSourceKindSupported(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind const& kind) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManagerStatics2::IsSourceKindSupported(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind const& kind) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManagerStatics2)->IsSourceKindSupported(static_cast(kind), &result)); return result; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource::Id() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource::Kind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource::Kind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2::IsPointingSupported() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2::IsPointingSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource2)->get_IsPointingSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2::IsMenuSupported() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2::IsMenuSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource2)->get_IsMenuSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2::IsGraspSupported() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2::IsGraspSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource2)->get_IsGraspSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionController) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2::Controller() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2::Controller() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource2)->get_Controller(&value)); return winrt::Windows::UI::Input::Spatial::SpatialInteractionController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2::TryGetStateAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2::TryGetStateAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource2)->TryGetStateAtTimestamp(*(void**)(×tamp), &value)); return winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceHandedness) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource3::Handedness() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource3::Handedness() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceHandedness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource3)->get_Handedness(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HandMeshObserver) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource4::TryCreateHandMeshObserver() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource4::TryCreateHandMeshObserver() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource4)->TryCreateHandMeshObserver(&result)); return winrt::Windows::Perception::People::HandMeshObserver{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource4::TryCreateHandMeshObserverAsync() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource4::TryCreateHandMeshObserverAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource4)->TryCreateHandMeshObserverAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceEventArgs::State() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceEventArgs::State() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceEventArgs)->get_State(&value)); return winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionPressKind) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceEventArgs2::PressKind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceEventArgs2::PressKind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionPressKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceEventArgs2)->get_PressKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation::Position() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation::Position() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceLocation)->get_Position(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation::Velocity() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation::Velocity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceLocation)->get_Velocity(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation2::Orientation() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation2::Orientation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceLocation2)->get_Orientation(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourcePositionAccuracy) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation3::PositionAccuracy() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation3::PositionAccuracy() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourcePositionAccuracy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceLocation3)->get_PositionAccuracy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation3::AngularVelocity() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation3::AngularVelocity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceLocation3)->get_AngularVelocity(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerInteractionSourcePose) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation3::SourcePointerPose() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation3::SourcePointerPose() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceLocation3)->get_SourcePointerPose(&value)); return winrt::Windows::UI::Input::Spatial::SpatialPointerInteractionSourcePose{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceProperties::TryGetSourceLossMitigationDirection(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceProperties::TryGetSourceLossMitigationDirection(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceProperties)->TryGetSourceLossMitigationDirection(*(void**)(&coordinateSystem), &value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceProperties::SourceLossRisk() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceProperties::SourceLossRisk() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceProperties)->get_SourceLossRisk(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceLocation) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceProperties::TryGetLocation(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceProperties::TryGetLocation(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceProperties)->TryGetLocation(*(void**)(&coordinateSystem), &value)); return winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceLocation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSource) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState::Source() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState)->get_Source(&value)); return winrt::Windows::UI::Input::Spatial::SpatialInteractionSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceProperties) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState::Properties() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState)->get_Properties(&value)); return winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState::IsPressed() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState::IsPressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState)->get_IsPressed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState::Timestamp() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState::Timestamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState)->get_Timestamp(&value)); return winrt::Windows::Perception::PerceptionTimestamp{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState)->TryGetPointerPose(*(void**)(&coordinateSystem), &value)); return winrt::Windows::UI::Input::Spatial::SpatialPointerPose{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2::IsSelectPressed() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2::IsSelectPressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState2)->get_IsSelectPressed(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2::IsMenuPressed() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2::IsMenuPressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState2)->get_IsMenuPressed(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2::IsGrasped() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2::IsGrasped() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState2)->get_IsGrasped(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2::SelectPressedValue() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2::SelectPressedValue() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState2)->get_SelectPressedValue(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionControllerProperties) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2::ControllerProperties() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2::ControllerProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState2)->get_ControllerProperties(&value)); return winrt::Windows::UI::Input::Spatial::SpatialInteractionControllerProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HandPose) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState3::TryGetHandPose() const + template auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState3::TryGetHandPose() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState3)->TryGetHandPose(&value)); return winrt::Windows::Perception::People::HandPose{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialManipulationCanceledEventArgs::InteractionSourceKind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialManipulationCanceledEventArgs::InteractionSourceKind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialManipulationCanceledEventArgs)->get_InteractionSourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialManipulationCompletedEventArgs::InteractionSourceKind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialManipulationCompletedEventArgs::InteractionSourceKind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialManipulationCompletedEventArgs)->get_InteractionSourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialManipulationDelta) consume_Windows_UI_Input_Spatial_ISpatialManipulationCompletedEventArgs::TryGetCumulativeDelta(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_UI_Input_Spatial_ISpatialManipulationCompletedEventArgs::TryGetCumulativeDelta(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialManipulationCompletedEventArgs)->TryGetCumulativeDelta(*(void**)(&coordinateSystem), &value)); return winrt::Windows::UI::Input::Spatial::SpatialManipulationDelta{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Input_Spatial_ISpatialManipulationDelta::Translation() const + template auto consume_Windows_UI_Input_Spatial_ISpatialManipulationDelta::Translation() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialManipulationDelta)->get_Translation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialManipulationStartedEventArgs::InteractionSourceKind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialManipulationStartedEventArgs::InteractionSourceKind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialManipulationStartedEventArgs)->get_InteractionSourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) consume_Windows_UI_Input_Spatial_ISpatialManipulationStartedEventArgs::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_UI_Input_Spatial_ISpatialManipulationStartedEventArgs::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialManipulationStartedEventArgs)->TryGetPointerPose(*(void**)(&coordinateSystem), &value)); return winrt::Windows::UI::Input::Spatial::SpatialPointerPose{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialManipulationUpdatedEventArgs::InteractionSourceKind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialManipulationUpdatedEventArgs::InteractionSourceKind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialManipulationUpdatedEventArgs)->get_InteractionSourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialManipulationDelta) consume_Windows_UI_Input_Spatial_ISpatialManipulationUpdatedEventArgs::TryGetCumulativeDelta(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_UI_Input_Spatial_ISpatialManipulationUpdatedEventArgs::TryGetCumulativeDelta(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialManipulationUpdatedEventArgs)->TryGetCumulativeDelta(*(void**)(&coordinateSystem), &value)); return winrt::Windows::UI::Input::Spatial::SpatialManipulationDelta{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialNavigationCanceledEventArgs::InteractionSourceKind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialNavigationCanceledEventArgs::InteractionSourceKind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationCanceledEventArgs)->get_InteractionSourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialNavigationCompletedEventArgs::InteractionSourceKind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialNavigationCompletedEventArgs::InteractionSourceKind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationCompletedEventArgs)->get_InteractionSourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Input_Spatial_ISpatialNavigationCompletedEventArgs::NormalizedOffset() const + template auto consume_Windows_UI_Input_Spatial_ISpatialNavigationCompletedEventArgs::NormalizedOffset() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationCompletedEventArgs)->get_NormalizedOffset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs::InteractionSourceKind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs::InteractionSourceKind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationStartedEventArgs)->get_InteractionSourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationStartedEventArgs)->TryGetPointerPose(*(void**)(&coordinateSystem), &value)); return winrt::Windows::UI::Input::Spatial::SpatialPointerPose{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs::IsNavigatingX() const + template auto consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs::IsNavigatingX() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationStartedEventArgs)->get_IsNavigatingX(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs::IsNavigatingY() const + template auto consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs::IsNavigatingY() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationStartedEventArgs)->get_IsNavigatingY(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs::IsNavigatingZ() const + template auto consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs::IsNavigatingZ() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationStartedEventArgs)->get_IsNavigatingZ(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialNavigationUpdatedEventArgs::InteractionSourceKind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialNavigationUpdatedEventArgs::InteractionSourceKind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationUpdatedEventArgs)->get_InteractionSourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Input_Spatial_ISpatialNavigationUpdatedEventArgs::NormalizedOffset() const + template auto consume_Windows_UI_Input_Spatial_ISpatialNavigationUpdatedEventArgs::NormalizedOffset() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationUpdatedEventArgs)->get_NormalizedOffset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose::Position() const + template auto consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose::Position() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialPointerInteractionSourcePose)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose::ForwardDirection() const + template auto consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose::ForwardDirection() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialPointerInteractionSourcePose)->get_ForwardDirection(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose::UpDirection() const + template auto consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose::UpDirection() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialPointerInteractionSourcePose)->get_UpDirection(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose2::Orientation() const + template auto consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose2::Orientation() const { winrt::Windows::Foundation::Numerics::quaternion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialPointerInteractionSourcePose2)->get_Orientation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourcePositionAccuracy) consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose2::PositionAccuracy() const + template auto consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose2::PositionAccuracy() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourcePositionAccuracy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialPointerInteractionSourcePose2)->get_PositionAccuracy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) consume_Windows_UI_Input_Spatial_ISpatialPointerPose::Timestamp() const + template auto consume_Windows_UI_Input_Spatial_ISpatialPointerPose::Timestamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialPointerPose)->get_Timestamp(&value)); return winrt::Windows::Perception::PerceptionTimestamp{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HeadPose) consume_Windows_UI_Input_Spatial_ISpatialPointerPose::Head() const + template auto consume_Windows_UI_Input_Spatial_ISpatialPointerPose::Head() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialPointerPose)->get_Head(&value)); return winrt::Windows::Perception::People::HeadPose{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerInteractionSourcePose) consume_Windows_UI_Input_Spatial_ISpatialPointerPose2::TryGetInteractionSourcePose(winrt::Windows::UI::Input::Spatial::SpatialInteractionSource const& source) const + template auto consume_Windows_UI_Input_Spatial_ISpatialPointerPose2::TryGetInteractionSourcePose(winrt::Windows::UI::Input::Spatial::SpatialInteractionSource const& source) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialPointerPose2)->TryGetInteractionSourcePose(*(void**)(&source), &value)); return winrt::Windows::UI::Input::Spatial::SpatialPointerInteractionSourcePose{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Perception::People::EyesPose) consume_Windows_UI_Input_Spatial_ISpatialPointerPose3::Eyes() const + template auto consume_Windows_UI_Input_Spatial_ISpatialPointerPose3::Eyes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialPointerPose3)->get_Eyes(&value)); return winrt::Windows::Perception::People::EyesPose{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialPointerPose3::IsHeadCapturedBySystem() const + template auto consume_Windows_UI_Input_Spatial_ISpatialPointerPose3::IsHeadCapturedBySystem() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialPointerPose3)->get_IsHeadCapturedBySystem(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) consume_Windows_UI_Input_Spatial_ISpatialPointerPoseStatics::TryGetAtTimestamp(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const + template auto consume_Windows_UI_Input_Spatial_ISpatialPointerPoseStatics::TryGetAtTimestamp(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialPointerPoseStatics)->TryGetAtTimestamp(*(void**)(&coordinateSystem), *(void**)(×tamp), &value)); return winrt::Windows::UI::Input::Spatial::SpatialPointerPose{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialRecognitionEndedEventArgs::InteractionSourceKind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialRecognitionEndedEventArgs::InteractionSourceKind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialRecognitionEndedEventArgs)->get_InteractionSourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialRecognitionStartedEventArgs::InteractionSourceKind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialRecognitionStartedEventArgs::InteractionSourceKind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialRecognitionStartedEventArgs)->get_InteractionSourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) consume_Windows_UI_Input_Spatial_ISpatialRecognitionStartedEventArgs::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_UI_Input_Spatial_ISpatialRecognitionStartedEventArgs::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialRecognitionStartedEventArgs)->TryGetPointerPose(*(void**)(&coordinateSystem), &value)); return winrt::Windows::UI::Input::Spatial::SpatialPointerPose{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialRecognitionStartedEventArgs::IsGesturePossible(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings const& gesture) const + template auto consume_Windows_UI_Input_Spatial_ISpatialRecognitionStartedEventArgs::IsGesturePossible(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings const& gesture) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialRecognitionStartedEventArgs)->IsGesturePossible(static_cast(gesture), &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialTappedEventArgs::InteractionSourceKind() const + template auto consume_Windows_UI_Input_Spatial_ISpatialTappedEventArgs::InteractionSourceKind() const { winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialTappedEventArgs)->get_InteractionSourceKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) consume_Windows_UI_Input_Spatial_ISpatialTappedEventArgs::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const + template auto consume_Windows_UI_Input_Spatial_ISpatialTappedEventArgs::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialTappedEventArgs)->TryGetPointerPose(*(void**)(&coordinateSystem), &value)); return winrt::Windows::UI::Input::Spatial::SpatialPointerPose{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_Spatial_ISpatialTappedEventArgs::TapCount() const + template auto consume_Windows_UI_Input_Spatial_ISpatialTappedEventArgs::TapCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialTappedEventArgs)->get_TapCount(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.h index 9bf4d3d0..ffb8ba43 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_H #define WINRT_Windows_UI_Input_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.h" #include "winrt/impl/Windows.Devices.Haptics.2.h" #include "winrt/impl/Windows.Devices.Input.2.h" @@ -17,1689 +17,1689 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Input.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_ICrossSlidingEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Input_ICrossSlidingEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ICrossSlidingEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_ICrossSlidingEventArgs::Position() const + template auto consume_Windows_UI_Input_ICrossSlidingEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ICrossSlidingEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::CrossSlidingState) consume_Windows_UI_Input_ICrossSlidingEventArgs::CrossSlidingState() const + template auto consume_Windows_UI_Input_ICrossSlidingEventArgs::CrossSlidingState() const { winrt::Windows::UI::Input::CrossSlidingState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ICrossSlidingEventArgs)->get_CrossSlidingState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_ICrossSlidingEventArgs2::ContactCount() const + template auto consume_Windows_UI_Input_ICrossSlidingEventArgs2::ContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ICrossSlidingEventArgs2)->get_ContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_IDraggingEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Input_IDraggingEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IDraggingEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IDraggingEventArgs::Position() const + template auto consume_Windows_UI_Input_IDraggingEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IDraggingEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::DraggingState) consume_Windows_UI_Input_IDraggingEventArgs::DraggingState() const + template auto consume_Windows_UI_Input_IDraggingEventArgs::DraggingState() const { winrt::Windows::UI::Input::DraggingState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IDraggingEventArgs)->get_DraggingState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IDraggingEventArgs2::ContactCount() const + template auto consume_Windows_UI_Input_IDraggingEventArgs2::ContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IDraggingEventArgs2)->get_ContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IEdgeGesture::Starting(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IEdgeGesture::Starting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IEdgeGesture)->add_Starting(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IEdgeGesture::Starting_revoker consume_Windows_UI_Input_IEdgeGesture::Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IEdgeGesture::Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Starting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IEdgeGesture::Starting(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IEdgeGesture::Starting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IEdgeGesture)->remove_Starting(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IEdgeGesture::Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IEdgeGesture::Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IEdgeGesture)->add_Completed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IEdgeGesture::Completed_revoker consume_Windows_UI_Input_IEdgeGesture::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IEdgeGesture::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Completed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IEdgeGesture::Completed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IEdgeGesture::Completed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IEdgeGesture)->remove_Completed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IEdgeGesture::Canceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IEdgeGesture::Canceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IEdgeGesture)->add_Canceled(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IEdgeGesture::Canceled_revoker consume_Windows_UI_Input_IEdgeGesture::Canceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IEdgeGesture::Canceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Canceled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IEdgeGesture::Canceled(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IEdgeGesture::Canceled(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IEdgeGesture)->remove_Canceled(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::EdgeGestureKind) consume_Windows_UI_Input_IEdgeGestureEventArgs::Kind() const + template auto consume_Windows_UI_Input_IEdgeGestureEventArgs::Kind() const { winrt::Windows::UI::Input::EdgeGestureKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IEdgeGestureEventArgs)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::EdgeGesture) consume_Windows_UI_Input_IEdgeGestureStatics::GetForCurrentView() const + template auto consume_Windows_UI_Input_IEdgeGestureStatics::GetForCurrentView() const { void* current{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IEdgeGestureStatics)->GetForCurrentView(¤t)); return winrt::Windows::UI::Input::EdgeGesture{ current, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::GestureSettings) consume_Windows_UI_Input_IGestureRecognizer::GestureSettings() const + template auto consume_Windows_UI_Input_IGestureRecognizer::GestureSettings() const { winrt::Windows::UI::Input::GestureSettings value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_GestureSettings(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::GestureSettings(winrt::Windows::UI::Input::GestureSettings const& value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::GestureSettings(winrt::Windows::UI::Input::GestureSettings const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_GestureSettings(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IGestureRecognizer::IsInertial() const + template auto consume_Windows_UI_Input_IGestureRecognizer::IsInertial() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_IsInertial(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IGestureRecognizer::IsActive() const + template auto consume_Windows_UI_Input_IGestureRecognizer::IsActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_IsActive(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IGestureRecognizer::ShowGestureFeedback() const + template auto consume_Windows_UI_Input_IGestureRecognizer::ShowGestureFeedback() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_ShowGestureFeedback(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::ShowGestureFeedback(bool value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::ShowGestureFeedback(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_ShowGestureFeedback(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IGestureRecognizer::PivotCenter() const + template auto consume_Windows_UI_Input_IGestureRecognizer::PivotCenter() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_PivotCenter(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::PivotCenter(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::PivotCenter(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_PivotCenter(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IGestureRecognizer::PivotRadius() const + template auto consume_Windows_UI_Input_IGestureRecognizer::PivotRadius() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_PivotRadius(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::PivotRadius(float value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::PivotRadius(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_PivotRadius(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IGestureRecognizer::InertiaTranslationDeceleration() const + template auto consume_Windows_UI_Input_IGestureRecognizer::InertiaTranslationDeceleration() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_InertiaTranslationDeceleration(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::InertiaTranslationDeceleration(float value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::InertiaTranslationDeceleration(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_InertiaTranslationDeceleration(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IGestureRecognizer::InertiaRotationDeceleration() const + template auto consume_Windows_UI_Input_IGestureRecognizer::InertiaRotationDeceleration() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_InertiaRotationDeceleration(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::InertiaRotationDeceleration(float value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::InertiaRotationDeceleration(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_InertiaRotationDeceleration(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IGestureRecognizer::InertiaExpansionDeceleration() const + template auto consume_Windows_UI_Input_IGestureRecognizer::InertiaExpansionDeceleration() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_InertiaExpansionDeceleration(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::InertiaExpansionDeceleration(float value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::InertiaExpansionDeceleration(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_InertiaExpansionDeceleration(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IGestureRecognizer::InertiaTranslationDisplacement() const + template auto consume_Windows_UI_Input_IGestureRecognizer::InertiaTranslationDisplacement() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_InertiaTranslationDisplacement(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::InertiaTranslationDisplacement(float value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::InertiaTranslationDisplacement(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_InertiaTranslationDisplacement(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IGestureRecognizer::InertiaRotationAngle() const + template auto consume_Windows_UI_Input_IGestureRecognizer::InertiaRotationAngle() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_InertiaRotationAngle(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::InertiaRotationAngle(float value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::InertiaRotationAngle(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_InertiaRotationAngle(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IGestureRecognizer::InertiaExpansion() const + template auto consume_Windows_UI_Input_IGestureRecognizer::InertiaExpansion() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_InertiaExpansion(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::InertiaExpansion(float value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::InertiaExpansion(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_InertiaExpansion(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IGestureRecognizer::ManipulationExact() const + template auto consume_Windows_UI_Input_IGestureRecognizer::ManipulationExact() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_ManipulationExact(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::ManipulationExact(bool value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::ManipulationExact(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_ManipulationExact(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::CrossSlideThresholds) consume_Windows_UI_Input_IGestureRecognizer::CrossSlideThresholds() const + template auto consume_Windows_UI_Input_IGestureRecognizer::CrossSlideThresholds() const { winrt::Windows::UI::Input::CrossSlideThresholds value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_CrossSlideThresholds(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::CrossSlideThresholds(winrt::Windows::UI::Input::CrossSlideThresholds const& value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::CrossSlideThresholds(winrt::Windows::UI::Input::CrossSlideThresholds const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_CrossSlideThresholds(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IGestureRecognizer::CrossSlideHorizontally() const + template auto consume_Windows_UI_Input_IGestureRecognizer::CrossSlideHorizontally() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_CrossSlideHorizontally(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::CrossSlideHorizontally(bool value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::CrossSlideHorizontally(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_CrossSlideHorizontally(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IGestureRecognizer::CrossSlideExact() const + template auto consume_Windows_UI_Input_IGestureRecognizer::CrossSlideExact() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_CrossSlideExact(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::CrossSlideExact(bool value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::CrossSlideExact(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_CrossSlideExact(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IGestureRecognizer::AutoProcessInertia() const + template auto consume_Windows_UI_Input_IGestureRecognizer::AutoProcessInertia() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_AutoProcessInertia(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::AutoProcessInertia(bool value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::AutoProcessInertia(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_AutoProcessInertia(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::MouseWheelParameters) consume_Windows_UI_Input_IGestureRecognizer::MouseWheelParameters() const + template auto consume_Windows_UI_Input_IGestureRecognizer::MouseWheelParameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_MouseWheelParameters(&value)); return winrt::Windows::UI::Input::MouseWheelParameters{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IGestureRecognizer::CanBeDoubleTap(winrt::Windows::UI::Input::PointerPoint const& value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::CanBeDoubleTap(winrt::Windows::UI::Input::PointerPoint const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->CanBeDoubleTap(*(void**)(&value), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::ProcessDownEvent(winrt::Windows::UI::Input::PointerPoint const& value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::ProcessDownEvent(winrt::Windows::UI::Input::PointerPoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->ProcessDownEvent(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::ProcessMoveEvents(param::vector const& value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::ProcessMoveEvents(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->ProcessMoveEvents(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::ProcessUpEvent(winrt::Windows::UI::Input::PointerPoint const& value) const + template auto consume_Windows_UI_Input_IGestureRecognizer::ProcessUpEvent(winrt::Windows::UI::Input::PointerPoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->ProcessUpEvent(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::ProcessMouseWheelEvent(winrt::Windows::UI::Input::PointerPoint const& value, bool isShiftKeyDown, bool isControlKeyDown) const + template auto consume_Windows_UI_Input_IGestureRecognizer::ProcessMouseWheelEvent(winrt::Windows::UI::Input::PointerPoint const& value, bool isShiftKeyDown, bool isControlKeyDown) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->ProcessMouseWheelEvent(*(void**)(&value), isShiftKeyDown, isControlKeyDown)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::ProcessInertia() const + template auto consume_Windows_UI_Input_IGestureRecognizer::ProcessInertia() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->ProcessInertia()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::CompleteGesture() const + template auto consume_Windows_UI_Input_IGestureRecognizer::CompleteGesture() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->CompleteGesture()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer::Tapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::Tapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->add_Tapped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IGestureRecognizer::Tapped_revoker consume_Windows_UI_Input_IGestureRecognizer::Tapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::Tapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Tapped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::Tapped(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IGestureRecognizer::Tapped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_Tapped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer::RightTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::RightTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->add_RightTapped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IGestureRecognizer::RightTapped_revoker consume_Windows_UI_Input_IGestureRecognizer::RightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::RightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RightTapped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::RightTapped(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IGestureRecognizer::RightTapped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_RightTapped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer::Holding(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::Holding(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->add_Holding(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IGestureRecognizer::Holding_revoker consume_Windows_UI_Input_IGestureRecognizer::Holding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::Holding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Holding(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::Holding(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IGestureRecognizer::Holding(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_Holding(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer::Dragging(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::Dragging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->add_Dragging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IGestureRecognizer::Dragging_revoker consume_Windows_UI_Input_IGestureRecognizer::Dragging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::Dragging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Dragging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::Dragging(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IGestureRecognizer::Dragging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_Dragging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer::ManipulationStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::ManipulationStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->add_ManipulationStarted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IGestureRecognizer::ManipulationStarted_revoker consume_Windows_UI_Input_IGestureRecognizer::ManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::ManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ManipulationStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::ManipulationStarted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IGestureRecognizer::ManipulationStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_ManipulationStarted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer::ManipulationUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::ManipulationUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->add_ManipulationUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IGestureRecognizer::ManipulationUpdated_revoker consume_Windows_UI_Input_IGestureRecognizer::ManipulationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::ManipulationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ManipulationUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::ManipulationUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IGestureRecognizer::ManipulationUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_ManipulationUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer::ManipulationInertiaStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::ManipulationInertiaStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->add_ManipulationInertiaStarting(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IGestureRecognizer::ManipulationInertiaStarting_revoker consume_Windows_UI_Input_IGestureRecognizer::ManipulationInertiaStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::ManipulationInertiaStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ManipulationInertiaStarting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::ManipulationInertiaStarting(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IGestureRecognizer::ManipulationInertiaStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_ManipulationInertiaStarting(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer::ManipulationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::ManipulationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->add_ManipulationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IGestureRecognizer::ManipulationCompleted_revoker consume_Windows_UI_Input_IGestureRecognizer::ManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::ManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ManipulationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::ManipulationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IGestureRecognizer::ManipulationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_ManipulationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer::CrossSliding(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::CrossSliding(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->add_CrossSliding(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IGestureRecognizer::CrossSliding_revoker consume_Windows_UI_Input_IGestureRecognizer::CrossSliding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IGestureRecognizer::CrossSliding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CrossSliding(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer::CrossSliding(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IGestureRecognizer::CrossSliding(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_CrossSliding(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IGestureRecognizer2::TapMinContactCount() const + template auto consume_Windows_UI_Input_IGestureRecognizer2::TapMinContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->get_TapMinContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer2::TapMinContactCount(uint32_t value) const + template auto consume_Windows_UI_Input_IGestureRecognizer2::TapMinContactCount(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->put_TapMinContactCount(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IGestureRecognizer2::TapMaxContactCount() const + template auto consume_Windows_UI_Input_IGestureRecognizer2::TapMaxContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->get_TapMaxContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer2::TapMaxContactCount(uint32_t value) const + template auto consume_Windows_UI_Input_IGestureRecognizer2::TapMaxContactCount(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->put_TapMaxContactCount(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IGestureRecognizer2::HoldMinContactCount() const + template auto consume_Windows_UI_Input_IGestureRecognizer2::HoldMinContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->get_HoldMinContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer2::HoldMinContactCount(uint32_t value) const + template auto consume_Windows_UI_Input_IGestureRecognizer2::HoldMinContactCount(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->put_HoldMinContactCount(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IGestureRecognizer2::HoldMaxContactCount() const + template auto consume_Windows_UI_Input_IGestureRecognizer2::HoldMaxContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->get_HoldMaxContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer2::HoldMaxContactCount(uint32_t value) const + template auto consume_Windows_UI_Input_IGestureRecognizer2::HoldMaxContactCount(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->put_HoldMaxContactCount(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IGestureRecognizer2::HoldRadius() const + template auto consume_Windows_UI_Input_IGestureRecognizer2::HoldRadius() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->get_HoldRadius(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer2::HoldRadius(float value) const + template auto consume_Windows_UI_Input_IGestureRecognizer2::HoldRadius(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->put_HoldRadius(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Input_IGestureRecognizer2::HoldStartDelay() const + template auto consume_Windows_UI_Input_IGestureRecognizer2::HoldStartDelay() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->get_HoldStartDelay(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer2::HoldStartDelay(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Input_IGestureRecognizer2::HoldStartDelay(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->put_HoldStartDelay(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IGestureRecognizer2::TranslationMinContactCount() const + template auto consume_Windows_UI_Input_IGestureRecognizer2::TranslationMinContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->get_TranslationMinContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer2::TranslationMinContactCount(uint32_t value) const + template auto consume_Windows_UI_Input_IGestureRecognizer2::TranslationMinContactCount(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->put_TranslationMinContactCount(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IGestureRecognizer2::TranslationMaxContactCount() const + template auto consume_Windows_UI_Input_IGestureRecognizer2::TranslationMaxContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->get_TranslationMaxContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer2::TranslationMaxContactCount(uint32_t value) const + template auto consume_Windows_UI_Input_IGestureRecognizer2::TranslationMaxContactCount(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->put_TranslationMaxContactCount(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_IHoldingEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Input_IHoldingEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IHoldingEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IHoldingEventArgs::Position() const + template auto consume_Windows_UI_Input_IHoldingEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IHoldingEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::HoldingState) consume_Windows_UI_Input_IHoldingEventArgs::HoldingState() const + template auto consume_Windows_UI_Input_IHoldingEventArgs::HoldingState() const { winrt::Windows::UI::Input::HoldingState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IHoldingEventArgs)->get_HoldingState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IHoldingEventArgs2::ContactCount() const + template auto consume_Windows_UI_Input_IHoldingEventArgs2::ContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IHoldingEventArgs2)->get_ContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IHoldingEventArgs2::CurrentContactCount() const + template auto consume_Windows_UI_Input_IHoldingEventArgs2::CurrentContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IHoldingEventArgs2)->get_CurrentContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::InputActivationState) consume_Windows_UI_Input_IInputActivationListener::State() const + template auto consume_Windows_UI_Input_IInputActivationListener::State() const { winrt::Windows::UI::Input::InputActivationState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IInputActivationListener)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IInputActivationListener::InputActivationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IInputActivationListener::InputActivationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IInputActivationListener)->add_InputActivationChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IInputActivationListener::InputActivationChanged_revoker consume_Windows_UI_Input_IInputActivationListener::InputActivationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IInputActivationListener::InputActivationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, InputActivationChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IInputActivationListener::InputActivationChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IInputActivationListener::InputActivationChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IInputActivationListener)->remove_InputActivationChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::InputActivationState) consume_Windows_UI_Input_IInputActivationListenerActivationChangedEventArgs::State() const + template auto consume_Windows_UI_Input_IInputActivationListenerActivationChangedEventArgs::State() const { winrt::Windows::UI::Input::InputActivationState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IInputActivationListenerActivationChangedEventArgs)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::IsInterceptionEnabledWhenInForeground() const + template auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::IsInterceptionEnabledWhenInForeground() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IKeyboardDeliveryInterceptor)->get_IsInterceptionEnabledWhenInForeground(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::IsInterceptionEnabledWhenInForeground(bool value) const + template auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::IsInterceptionEnabledWhenInForeground(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IKeyboardDeliveryInterceptor)->put_IsInterceptionEnabledWhenInForeground(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::KeyDown(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::KeyDown(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IKeyboardDeliveryInterceptor)->add_KeyDown(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::KeyDown_revoker consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, KeyDown(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::KeyDown(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::KeyDown(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IKeyboardDeliveryInterceptor)->remove_KeyDown(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::KeyUp(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::KeyUp(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IKeyboardDeliveryInterceptor)->add_KeyUp(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::KeyUp_revoker consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, KeyUp(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::KeyUp(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptor::KeyUp(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IKeyboardDeliveryInterceptor)->remove_KeyUp(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::KeyboardDeliveryInterceptor) consume_Windows_UI_Input_IKeyboardDeliveryInterceptorStatics::GetForCurrentView() const + template auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptorStatics::GetForCurrentView() const { void* keyboardDeliverySettings{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IKeyboardDeliveryInterceptorStatics)->GetForCurrentView(&keyboardDeliverySettings)); return winrt::Windows::UI::Input::KeyboardDeliveryInterceptor{ keyboardDeliverySettings, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_IManipulationCompletedEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Input_IManipulationCompletedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationCompletedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IManipulationCompletedEventArgs::Position() const + template auto consume_Windows_UI_Input_IManipulationCompletedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationCompletedEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Input_IManipulationCompletedEventArgs::Cumulative() const + template auto consume_Windows_UI_Input_IManipulationCompletedEventArgs::Cumulative() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationCompletedEventArgs)->get_Cumulative(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) consume_Windows_UI_Input_IManipulationCompletedEventArgs::Velocities() const + template auto consume_Windows_UI_Input_IManipulationCompletedEventArgs::Velocities() const { winrt::Windows::UI::Input::ManipulationVelocities value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationCompletedEventArgs)->get_Velocities(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IManipulationCompletedEventArgs2::ContactCount() const + template auto consume_Windows_UI_Input_IManipulationCompletedEventArgs2::ContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationCompletedEventArgs2)->get_ContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IManipulationCompletedEventArgs2::CurrentContactCount() const + template auto consume_Windows_UI_Input_IManipulationCompletedEventArgs2::CurrentContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationCompletedEventArgs2)->get_CurrentContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationInertiaStartingEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs::Position() const + template auto consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationInertiaStartingEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs::Delta() const + template auto consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs::Delta() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationInertiaStartingEventArgs)->get_Delta(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs::Cumulative() const + template auto consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs::Cumulative() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationInertiaStartingEventArgs)->get_Cumulative(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs::Velocities() const + template auto consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs::Velocities() const { winrt::Windows::UI::Input::ManipulationVelocities value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationInertiaStartingEventArgs)->get_Velocities(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs2::ContactCount() const + template auto consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs2::ContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationInertiaStartingEventArgs2)->get_ContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_IManipulationStartedEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Input_IManipulationStartedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationStartedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IManipulationStartedEventArgs::Position() const + template auto consume_Windows_UI_Input_IManipulationStartedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationStartedEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Input_IManipulationStartedEventArgs::Cumulative() const + template auto consume_Windows_UI_Input_IManipulationStartedEventArgs::Cumulative() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationStartedEventArgs)->get_Cumulative(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IManipulationStartedEventArgs2::ContactCount() const + template auto consume_Windows_UI_Input_IManipulationStartedEventArgs2::ContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationStartedEventArgs2)->get_ContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_IManipulationUpdatedEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Input_IManipulationUpdatedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationUpdatedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IManipulationUpdatedEventArgs::Position() const + template auto consume_Windows_UI_Input_IManipulationUpdatedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationUpdatedEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Input_IManipulationUpdatedEventArgs::Delta() const + template auto consume_Windows_UI_Input_IManipulationUpdatedEventArgs::Delta() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationUpdatedEventArgs)->get_Delta(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Input_IManipulationUpdatedEventArgs::Cumulative() const + template auto consume_Windows_UI_Input_IManipulationUpdatedEventArgs::Cumulative() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationUpdatedEventArgs)->get_Cumulative(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) consume_Windows_UI_Input_IManipulationUpdatedEventArgs::Velocities() const + template auto consume_Windows_UI_Input_IManipulationUpdatedEventArgs::Velocities() const { winrt::Windows::UI::Input::ManipulationVelocities value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationUpdatedEventArgs)->get_Velocities(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IManipulationUpdatedEventArgs2::ContactCount() const + template auto consume_Windows_UI_Input_IManipulationUpdatedEventArgs2::ContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationUpdatedEventArgs2)->get_ContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IManipulationUpdatedEventArgs2::CurrentContactCount() const + template auto consume_Windows_UI_Input_IManipulationUpdatedEventArgs2::CurrentContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationUpdatedEventArgs2)->get_CurrentContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IMouseWheelParameters::CharTranslation() const + template auto consume_Windows_UI_Input_IMouseWheelParameters::CharTranslation() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IMouseWheelParameters)->get_CharTranslation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IMouseWheelParameters::CharTranslation(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Input_IMouseWheelParameters::CharTranslation(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IMouseWheelParameters)->put_CharTranslation(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IMouseWheelParameters::DeltaScale() const + template auto consume_Windows_UI_Input_IMouseWheelParameters::DeltaScale() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IMouseWheelParameters)->get_DeltaScale(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IMouseWheelParameters::DeltaScale(float value) const + template auto consume_Windows_UI_Input_IMouseWheelParameters::DeltaScale(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IMouseWheelParameters)->put_DeltaScale(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IMouseWheelParameters::DeltaRotationAngle() const + template auto consume_Windows_UI_Input_IMouseWheelParameters::DeltaRotationAngle() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IMouseWheelParameters)->get_DeltaRotationAngle(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IMouseWheelParameters::DeltaRotationAngle(float value) const + template auto consume_Windows_UI_Input_IMouseWheelParameters::DeltaRotationAngle(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IMouseWheelParameters)->put_DeltaRotationAngle(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IMouseWheelParameters::PageTranslation() const + template auto consume_Windows_UI_Input_IMouseWheelParameters::PageTranslation() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IMouseWheelParameters)->get_PageTranslation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IMouseWheelParameters::PageTranslation(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Input_IMouseWheelParameters::PageTranslation(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IMouseWheelParameters)->put_PageTranslation(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDevice) consume_Windows_UI_Input_IPointerPoint::PointerDevice() const + template auto consume_Windows_UI_Input_IPointerPoint::PointerDevice() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPoint)->get_PointerDevice(&value)); return winrt::Windows::Devices::Input::PointerDevice{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IPointerPoint::Position() const + template auto consume_Windows_UI_Input_IPointerPoint::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPoint)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IPointerPoint::RawPosition() const + template auto consume_Windows_UI_Input_IPointerPoint::RawPosition() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPoint)->get_RawPosition(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IPointerPoint::PointerId() const + template auto consume_Windows_UI_Input_IPointerPoint::PointerId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPoint)->get_PointerId(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IPointerPoint::FrameId() const + template auto consume_Windows_UI_Input_IPointerPoint::FrameId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPoint)->get_FrameId(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_UI_Input_IPointerPoint::Timestamp() const + template auto consume_Windows_UI_Input_IPointerPoint::Timestamp() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPoint)->get_Timestamp(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPoint::IsInContact() const + template auto consume_Windows_UI_Input_IPointerPoint::IsInContact() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPoint)->get_IsInContact(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPointProperties) consume_Windows_UI_Input_IPointerPoint::Properties() const + template auto consume_Windows_UI_Input_IPointerPoint::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPoint)->get_Properties(&value)); return winrt::Windows::UI::Input::PointerPointProperties{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IPointerPointProperties::Pressure() const + template auto consume_Windows_UI_Input_IPointerPointProperties::Pressure() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_Pressure(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties::IsInverted() const + template auto consume_Windows_UI_Input_IPointerPointProperties::IsInverted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsInverted(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties::IsEraser() const + template auto consume_Windows_UI_Input_IPointerPointProperties::IsEraser() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsEraser(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IPointerPointProperties::Orientation() const + template auto consume_Windows_UI_Input_IPointerPointProperties::Orientation() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_Orientation(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IPointerPointProperties::XTilt() const + template auto consume_Windows_UI_Input_IPointerPointProperties::XTilt() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_XTilt(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IPointerPointProperties::YTilt() const + template auto consume_Windows_UI_Input_IPointerPointProperties::YTilt() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_YTilt(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IPointerPointProperties::Twist() const + template auto consume_Windows_UI_Input_IPointerPointProperties::Twist() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_Twist(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_IPointerPointProperties::ContactRect() const + template auto consume_Windows_UI_Input_IPointerPointProperties::ContactRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_ContactRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_IPointerPointProperties::ContactRectRaw() const + template auto consume_Windows_UI_Input_IPointerPointProperties::ContactRectRaw() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_ContactRectRaw(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties::TouchConfidence() const + template auto consume_Windows_UI_Input_IPointerPointProperties::TouchConfidence() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_TouchConfidence(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties::IsLeftButtonPressed() const + template auto consume_Windows_UI_Input_IPointerPointProperties::IsLeftButtonPressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsLeftButtonPressed(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties::IsRightButtonPressed() const + template auto consume_Windows_UI_Input_IPointerPointProperties::IsRightButtonPressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsRightButtonPressed(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties::IsMiddleButtonPressed() const + template auto consume_Windows_UI_Input_IPointerPointProperties::IsMiddleButtonPressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsMiddleButtonPressed(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Input_IPointerPointProperties::MouseWheelDelta() const + template auto consume_Windows_UI_Input_IPointerPointProperties::MouseWheelDelta() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_MouseWheelDelta(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties::IsHorizontalMouseWheel() const + template auto consume_Windows_UI_Input_IPointerPointProperties::IsHorizontalMouseWheel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsHorizontalMouseWheel(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties::IsPrimary() const + template auto consume_Windows_UI_Input_IPointerPointProperties::IsPrimary() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsPrimary(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties::IsInRange() const + template auto consume_Windows_UI_Input_IPointerPointProperties::IsInRange() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsInRange(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties::IsCanceled() const + template auto consume_Windows_UI_Input_IPointerPointProperties::IsCanceled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsCanceled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties::IsBarrelButtonPressed() const + template auto consume_Windows_UI_Input_IPointerPointProperties::IsBarrelButtonPressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsBarrelButtonPressed(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties::IsXButton1Pressed() const + template auto consume_Windows_UI_Input_IPointerPointProperties::IsXButton1Pressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsXButton1Pressed(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties::IsXButton2Pressed() const + template auto consume_Windows_UI_Input_IPointerPointProperties::IsXButton2Pressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsXButton2Pressed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerUpdateKind) consume_Windows_UI_Input_IPointerPointProperties::PointerUpdateKind() const + template auto consume_Windows_UI_Input_IPointerPointProperties::PointerUpdateKind() const { winrt::Windows::UI::Input::PointerUpdateKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_PointerUpdateKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties::HasUsage(uint32_t usagePage, uint32_t usageId) const + template auto consume_Windows_UI_Input_IPointerPointProperties::HasUsage(uint32_t usagePage, uint32_t usageId) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->HasUsage(usagePage, usageId, &value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Input_IPointerPointProperties::GetUsageValue(uint32_t usagePage, uint32_t usageId) const + template auto consume_Windows_UI_Input_IPointerPointProperties::GetUsageValue(uint32_t usagePage, uint32_t usageId) const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->GetUsageValue(usagePage, usageId, &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Input_IPointerPointProperties2::ZDistance() const + template auto consume_Windows_UI_Input_IPointerPointProperties2::ZDistance() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties2)->get_ZDistance(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPoint) consume_Windows_UI_Input_IPointerPointStatics::GetCurrentPoint(uint32_t pointerId) const + template auto consume_Windows_UI_Input_IPointerPointStatics::GetCurrentPoint(uint32_t pointerId) const { void* pointerPoint{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointStatics)->GetCurrentPoint(pointerId, &pointerPoint)); return winrt::Windows::UI::Input::PointerPoint{ pointerPoint, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Input_IPointerPointStatics::GetIntermediatePoints(uint32_t pointerId) const + template auto consume_Windows_UI_Input_IPointerPointStatics::GetIntermediatePoints(uint32_t pointerId) const { void* pointerPoints{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointStatics)->GetIntermediatePoints(pointerId, &pointerPoints)); return winrt::Windows::Foundation::Collections::IVector{ pointerPoints, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPoint) consume_Windows_UI_Input_IPointerPointStatics::GetCurrentPoint(uint32_t pointerId, winrt::Windows::UI::Input::IPointerPointTransform const& transform) const + template auto consume_Windows_UI_Input_IPointerPointStatics::GetCurrentPoint(uint32_t pointerId, winrt::Windows::UI::Input::IPointerPointTransform const& transform) const { void* pointerPoint{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointStatics)->GetCurrentPointTransformed(pointerId, *(void**)(&transform), &pointerPoint)); return winrt::Windows::UI::Input::PointerPoint{ pointerPoint, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Input_IPointerPointStatics::GetIntermediatePoints(uint32_t pointerId, winrt::Windows::UI::Input::IPointerPointTransform const& transform) const + template auto consume_Windows_UI_Input_IPointerPointStatics::GetIntermediatePoints(uint32_t pointerId, winrt::Windows::UI::Input::IPointerPointTransform const& transform) const { void* pointerPoints{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointStatics)->GetIntermediatePointsTransformed(pointerId, *(void**)(&transform), &pointerPoints)); return winrt::Windows::Foundation::Collections::IVector{ pointerPoints, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::IPointerPointTransform) consume_Windows_UI_Input_IPointerPointTransform::Inverse() const + template auto consume_Windows_UI_Input_IPointerPointTransform::Inverse() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointTransform)->get_Inverse(&value)); return winrt::Windows::UI::Input::IPointerPointTransform{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointTransform::TryTransform(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const + template auto consume_Windows_UI_Input_IPointerPointTransform::TryTransform(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointTransform)->TryTransform(impl::bind_in(inPoint), impl::bind_out(outPoint), &returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_IPointerPointTransform::TransformBounds(winrt::Windows::Foundation::Rect const& rect) const + template auto consume_Windows_UI_Input_IPointerPointTransform::TransformBounds(winrt::Windows::Foundation::Rect const& rect) const { winrt::Windows::Foundation::Rect returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointTransform)->TransformBounds(impl::bind_in(rect), put_abi(returnValue))); return returnValue; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IPointerVisualizationSettings::IsContactFeedbackEnabled(bool value) const + template auto consume_Windows_UI_Input_IPointerVisualizationSettings::IsContactFeedbackEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerVisualizationSettings)->put_IsContactFeedbackEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerVisualizationSettings::IsContactFeedbackEnabled() const + template auto consume_Windows_UI_Input_IPointerVisualizationSettings::IsContactFeedbackEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerVisualizationSettings)->get_IsContactFeedbackEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IPointerVisualizationSettings::IsBarrelButtonFeedbackEnabled(bool value) const + template auto consume_Windows_UI_Input_IPointerVisualizationSettings::IsBarrelButtonFeedbackEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerVisualizationSettings)->put_IsBarrelButtonFeedbackEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerVisualizationSettings::IsBarrelButtonFeedbackEnabled() const + template auto consume_Windows_UI_Input_IPointerVisualizationSettings::IsBarrelButtonFeedbackEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerVisualizationSettings)->get_IsBarrelButtonFeedbackEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerVisualizationSettings) consume_Windows_UI_Input_IPointerVisualizationSettingsStatics::GetForCurrentView() const + template auto consume_Windows_UI_Input_IPointerVisualizationSettingsStatics::GetForCurrentView() const { void* visualizationSettings{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerVisualizationSettingsStatics)->GetForCurrentView(&visualizationSettings)); return winrt::Windows::UI::Input::PointerVisualizationSettings{ visualizationSettings, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenu) consume_Windows_UI_Input_IRadialController::Menu() const + template auto consume_Windows_UI_Input_IRadialController::Menu() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->get_Menu(&value)); return winrt::Windows::UI::Input::RadialControllerMenu{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_IRadialController::RotationResolutionInDegrees() const + template auto consume_Windows_UI_Input_IRadialController::RotationResolutionInDegrees() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->get_RotationResolutionInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController::RotationResolutionInDegrees(double value) const + template auto consume_Windows_UI_Input_IRadialController::RotationResolutionInDegrees(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->put_RotationResolutionInDegrees(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialController::UseAutomaticHapticFeedback() const + template auto consume_Windows_UI_Input_IRadialController::UseAutomaticHapticFeedback() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->get_UseAutomaticHapticFeedback(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController::UseAutomaticHapticFeedback(bool value) const + template auto consume_Windows_UI_Input_IRadialController::UseAutomaticHapticFeedback(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->put_UseAutomaticHapticFeedback(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController::ScreenContactStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController::ScreenContactStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->add_ScreenContactStarted(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_IRadialController::ScreenContactStarted_revoker consume_Windows_UI_Input_IRadialController::ScreenContactStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController::ScreenContactStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ScreenContactStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController::ScreenContactStarted(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_IRadialController::ScreenContactStarted(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->remove_ScreenContactStarted(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController::ScreenContactEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController::ScreenContactEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->add_ScreenContactEnded(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_IRadialController::ScreenContactEnded_revoker consume_Windows_UI_Input_IRadialController::ScreenContactEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController::ScreenContactEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ScreenContactEnded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController::ScreenContactEnded(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_IRadialController::ScreenContactEnded(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->remove_ScreenContactEnded(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController::ScreenContactContinued(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController::ScreenContactContinued(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->add_ScreenContactContinued(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_IRadialController::ScreenContactContinued_revoker consume_Windows_UI_Input_IRadialController::ScreenContactContinued(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController::ScreenContactContinued(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ScreenContactContinued(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController::ScreenContactContinued(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_IRadialController::ScreenContactContinued(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->remove_ScreenContactContinued(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController::ControlLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController::ControlLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->add_ControlLost(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_IRadialController::ControlLost_revoker consume_Windows_UI_Input_IRadialController::ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController::ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ControlLost(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController::ControlLost(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_IRadialController::ControlLost(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->remove_ControlLost(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController::RotationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController::RotationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->add_RotationChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IRadialController::RotationChanged_revoker consume_Windows_UI_Input_IRadialController::RotationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController::RotationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RotationChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController::RotationChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IRadialController::RotationChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->remove_RotationChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController::ButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController::ButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->add_ButtonClicked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IRadialController::ButtonClicked_revoker consume_Windows_UI_Input_IRadialController::ButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController::ButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ButtonClicked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController::ButtonClicked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IRadialController::ButtonClicked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->remove_ButtonClicked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController::ControlAcquired(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController::ControlAcquired(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->add_ControlAcquired(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Input_IRadialController::ControlAcquired_revoker consume_Windows_UI_Input_IRadialController::ControlAcquired(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController::ControlAcquired(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ControlAcquired(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController::ControlAcquired(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Input_IRadialController::ControlAcquired(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->remove_ControlAcquired(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController2::ButtonPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController2::ButtonPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController2)->add_ButtonPressed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IRadialController2::ButtonPressed_revoker consume_Windows_UI_Input_IRadialController2::ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController2::ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ButtonPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController2::ButtonPressed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IRadialController2::ButtonPressed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController2)->remove_ButtonPressed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController2::ButtonHolding(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController2::ButtonHolding(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController2)->add_ButtonHolding(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IRadialController2::ButtonHolding_revoker consume_Windows_UI_Input_IRadialController2::ButtonHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController2::ButtonHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ButtonHolding(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController2::ButtonHolding(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IRadialController2::ButtonHolding(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController2)->remove_ButtonHolding(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController2::ButtonReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController2::ButtonReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController2)->add_ButtonReleased(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IRadialController2::ButtonReleased_revoker consume_Windows_UI_Input_IRadialController2::ButtonReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialController2::ButtonReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ButtonReleased(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController2::ButtonReleased(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IRadialController2::ButtonReleased(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController2)->remove_ButtonReleased(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) consume_Windows_UI_Input_IRadialControllerButtonClickedEventArgs::Contact() const + template auto consume_Windows_UI_Input_IRadialControllerButtonClickedEventArgs::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerButtonClickedEventArgs)->get_Contact(&value)); return winrt::Windows::UI::Input::RadialControllerScreenContact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerButtonClickedEventArgs2::SimpleHapticsController() const + template auto consume_Windows_UI_Input_IRadialControllerButtonClickedEventArgs2::SimpleHapticsController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerButtonClickedEventArgs2)->get_SimpleHapticsController(&value)); return winrt::Windows::Devices::Haptics::SimpleHapticsController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) consume_Windows_UI_Input_IRadialControllerButtonHoldingEventArgs::Contact() const + template auto consume_Windows_UI_Input_IRadialControllerButtonHoldingEventArgs::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerButtonHoldingEventArgs)->get_Contact(&value)); return winrt::Windows::UI::Input::RadialControllerScreenContact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerButtonHoldingEventArgs::SimpleHapticsController() const + template auto consume_Windows_UI_Input_IRadialControllerButtonHoldingEventArgs::SimpleHapticsController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerButtonHoldingEventArgs)->get_SimpleHapticsController(&value)); return winrt::Windows::Devices::Haptics::SimpleHapticsController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) consume_Windows_UI_Input_IRadialControllerButtonPressedEventArgs::Contact() const + template auto consume_Windows_UI_Input_IRadialControllerButtonPressedEventArgs::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerButtonPressedEventArgs)->get_Contact(&value)); return winrt::Windows::UI::Input::RadialControllerScreenContact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerButtonPressedEventArgs::SimpleHapticsController() const + template auto consume_Windows_UI_Input_IRadialControllerButtonPressedEventArgs::SimpleHapticsController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerButtonPressedEventArgs)->get_SimpleHapticsController(&value)); return winrt::Windows::Devices::Haptics::SimpleHapticsController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) consume_Windows_UI_Input_IRadialControllerButtonReleasedEventArgs::Contact() const + template auto consume_Windows_UI_Input_IRadialControllerButtonReleasedEventArgs::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerButtonReleasedEventArgs)->get_Contact(&value)); return winrt::Windows::UI::Input::RadialControllerScreenContact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerButtonReleasedEventArgs::SimpleHapticsController() const + template auto consume_Windows_UI_Input_IRadialControllerButtonReleasedEventArgs::SimpleHapticsController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerButtonReleasedEventArgs)->get_SimpleHapticsController(&value)); return winrt::Windows::Devices::Haptics::SimpleHapticsController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerConfiguration::SetDefaultMenuItems(param::iterable const& buttons) const + template auto consume_Windows_UI_Input_IRadialControllerConfiguration::SetDefaultMenuItems(param::iterable const& buttons) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfiguration)->SetDefaultMenuItems(*(void**)(&buttons))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerConfiguration::ResetToDefaultMenuItems() const + template auto consume_Windows_UI_Input_IRadialControllerConfiguration::ResetToDefaultMenuItems() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfiguration)->ResetToDefaultMenuItems()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerConfiguration::TrySelectDefaultMenuItem(winrt::Windows::UI::Input::RadialControllerSystemMenuItemKind const& type) const + template auto consume_Windows_UI_Input_IRadialControllerConfiguration::TrySelectDefaultMenuItem(winrt::Windows::UI::Input::RadialControllerSystemMenuItemKind const& type) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfiguration)->TrySelectDefaultMenuItem(static_cast(type), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerConfiguration2::ActiveControllerWhenMenuIsSuppressed(winrt::Windows::UI::Input::RadialController const& value) const + template auto consume_Windows_UI_Input_IRadialControllerConfiguration2::ActiveControllerWhenMenuIsSuppressed(winrt::Windows::UI::Input::RadialController const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfiguration2)->put_ActiveControllerWhenMenuIsSuppressed(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialController) consume_Windows_UI_Input_IRadialControllerConfiguration2::ActiveControllerWhenMenuIsSuppressed() const + template auto consume_Windows_UI_Input_IRadialControllerConfiguration2::ActiveControllerWhenMenuIsSuppressed() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfiguration2)->get_ActiveControllerWhenMenuIsSuppressed(&value)); return winrt::Windows::UI::Input::RadialController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerConfiguration2::IsMenuSuppressed(bool value) const + template auto consume_Windows_UI_Input_IRadialControllerConfiguration2::IsMenuSuppressed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfiguration2)->put_IsMenuSuppressed(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerConfiguration2::IsMenuSuppressed() const + template auto consume_Windows_UI_Input_IRadialControllerConfiguration2::IsMenuSuppressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfiguration2)->get_IsMenuSuppressed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerConfiguration) consume_Windows_UI_Input_IRadialControllerConfigurationStatics::GetForCurrentView() const + template auto consume_Windows_UI_Input_IRadialControllerConfigurationStatics::GetForCurrentView() const { void* configuration{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfigurationStatics)->GetForCurrentView(&configuration)); return winrt::Windows::UI::Input::RadialControllerConfiguration{ configuration, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerConfigurationStatics2::AppController(winrt::Windows::UI::Input::RadialController const& value) const + template auto consume_Windows_UI_Input_IRadialControllerConfigurationStatics2::AppController(winrt::Windows::UI::Input::RadialController const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfigurationStatics2)->put_AppController(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialController) consume_Windows_UI_Input_IRadialControllerConfigurationStatics2::AppController() const + template auto consume_Windows_UI_Input_IRadialControllerConfigurationStatics2::AppController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfigurationStatics2)->get_AppController(&value)); return winrt::Windows::UI::Input::RadialController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerConfigurationStatics2::IsAppControllerEnabled(bool value) const + template auto consume_Windows_UI_Input_IRadialControllerConfigurationStatics2::IsAppControllerEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfigurationStatics2)->put_IsAppControllerEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerConfigurationStatics2::IsAppControllerEnabled() const + template auto consume_Windows_UI_Input_IRadialControllerConfigurationStatics2::IsAppControllerEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfigurationStatics2)->get_IsAppControllerEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) consume_Windows_UI_Input_IRadialControllerControlAcquiredEventArgs::Contact() const + template auto consume_Windows_UI_Input_IRadialControllerControlAcquiredEventArgs::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerControlAcquiredEventArgs)->get_Contact(&value)); return winrt::Windows::UI::Input::RadialControllerScreenContact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerControlAcquiredEventArgs2::IsButtonPressed() const + template auto consume_Windows_UI_Input_IRadialControllerControlAcquiredEventArgs2::IsButtonPressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerControlAcquiredEventArgs2)->get_IsButtonPressed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerControlAcquiredEventArgs2::SimpleHapticsController() const + template auto consume_Windows_UI_Input_IRadialControllerControlAcquiredEventArgs2::SimpleHapticsController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerControlAcquiredEventArgs2)->get_SimpleHapticsController(&value)); return winrt::Windows::Devices::Haptics::SimpleHapticsController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Input_IRadialControllerMenu::Items() const + template auto consume_Windows_UI_Input_IRadialControllerMenu::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenu)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerMenu::IsEnabled() const + template auto consume_Windows_UI_Input_IRadialControllerMenu::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenu)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerMenu::IsEnabled(bool value) const + template auto consume_Windows_UI_Input_IRadialControllerMenu::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenu)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenuItem) consume_Windows_UI_Input_IRadialControllerMenu::GetSelectedMenuItem() const + template auto consume_Windows_UI_Input_IRadialControllerMenu::GetSelectedMenuItem() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenu)->GetSelectedMenuItem(&result)); return winrt::Windows::UI::Input::RadialControllerMenuItem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerMenu::SelectMenuItem(winrt::Windows::UI::Input::RadialControllerMenuItem const& menuItem) const + template auto consume_Windows_UI_Input_IRadialControllerMenu::SelectMenuItem(winrt::Windows::UI::Input::RadialControllerMenuItem const& menuItem) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenu)->SelectMenuItem(*(void**)(&menuItem))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerMenu::TrySelectPreviouslySelectedMenuItem() const + template auto consume_Windows_UI_Input_IRadialControllerMenu::TrySelectPreviouslySelectedMenuItem() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenu)->TrySelectPreviouslySelectedMenuItem(&result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_IRadialControllerMenuItem::DisplayText() const + template auto consume_Windows_UI_Input_IRadialControllerMenuItem::DisplayText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenuItem)->get_DisplayText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Input_IRadialControllerMenuItem::Tag() const + template auto consume_Windows_UI_Input_IRadialControllerMenuItem::Tag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenuItem)->get_Tag(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerMenuItem::Tag(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Input_IRadialControllerMenuItem::Tag(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenuItem)->put_Tag(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialControllerMenuItem::Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialControllerMenuItem::Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenuItem)->add_Invoked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_IRadialControllerMenuItem::Invoked_revoker consume_Windows_UI_Input_IRadialControllerMenuItem::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_IRadialControllerMenuItem::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Invoked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerMenuItem::Invoked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_IRadialControllerMenuItem::Invoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenuItem)->remove_Invoked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenuItem) consume_Windows_UI_Input_IRadialControllerMenuItemStatics::CreateFromIcon(param::hstring const& displayText, winrt::Windows::Storage::Streams::RandomAccessStreamReference const& icon) const + template auto consume_Windows_UI_Input_IRadialControllerMenuItemStatics::CreateFromIcon(param::hstring const& displayText, winrt::Windows::Storage::Streams::RandomAccessStreamReference const& icon) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenuItemStatics)->CreateFromIcon(*(void**)(&displayText), *(void**)(&icon), &result)); return winrt::Windows::UI::Input::RadialControllerMenuItem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenuItem) consume_Windows_UI_Input_IRadialControllerMenuItemStatics::CreateFromKnownIcon(param::hstring const& displayText, winrt::Windows::UI::Input::RadialControllerMenuKnownIcon const& value) const + template auto consume_Windows_UI_Input_IRadialControllerMenuItemStatics::CreateFromKnownIcon(param::hstring const& displayText, winrt::Windows::UI::Input::RadialControllerMenuKnownIcon const& value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenuItemStatics)->CreateFromKnownIcon(*(void**)(&displayText), static_cast(value), &result)); return winrt::Windows::UI::Input::RadialControllerMenuItem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenuItem) consume_Windows_UI_Input_IRadialControllerMenuItemStatics2::CreateFromFontGlyph(param::hstring const& displayText, param::hstring const& glyph, param::hstring const& fontFamily) const + template auto consume_Windows_UI_Input_IRadialControllerMenuItemStatics2::CreateFromFontGlyph(param::hstring const& displayText, param::hstring const& glyph, param::hstring const& fontFamily) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenuItemStatics2)->CreateFromFontGlyph(*(void**)(&displayText), *(void**)(&glyph), *(void**)(&fontFamily), &result)); return winrt::Windows::UI::Input::RadialControllerMenuItem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenuItem) consume_Windows_UI_Input_IRadialControllerMenuItemStatics2::CreateFromFontGlyph(param::hstring const& displayText, param::hstring const& glyph, param::hstring const& fontFamily, winrt::Windows::Foundation::Uri const& fontUri) const + template auto consume_Windows_UI_Input_IRadialControllerMenuItemStatics2::CreateFromFontGlyph(param::hstring const& displayText, param::hstring const& glyph, param::hstring const& fontFamily, winrt::Windows::Foundation::Uri const& fontUri) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenuItemStatics2)->CreateFromFontGlyphWithUri(*(void**)(&displayText), *(void**)(&glyph), *(void**)(&fontFamily), *(void**)(&fontUri), &result)); return winrt::Windows::UI::Input::RadialControllerMenuItem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs::RotationDeltaInDegrees() const + template auto consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs::RotationDeltaInDegrees() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerRotationChangedEventArgs)->get_RotationDeltaInDegrees(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs::Contact() const + template auto consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerRotationChangedEventArgs)->get_Contact(&value)); return winrt::Windows::UI::Input::RadialControllerScreenContact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs2::IsButtonPressed() const + template auto consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs2::IsButtonPressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerRotationChangedEventArgs2)->get_IsButtonPressed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs2::SimpleHapticsController() const + template auto consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs2::SimpleHapticsController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerRotationChangedEventArgs2)->get_SimpleHapticsController(&value)); return winrt::Windows::Devices::Haptics::SimpleHapticsController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_IRadialControllerScreenContact::Bounds() const + template auto consume_Windows_UI_Input_IRadialControllerScreenContact::Bounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerScreenContact)->get_Bounds(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IRadialControllerScreenContact::Position() const + template auto consume_Windows_UI_Input_IRadialControllerScreenContact::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerScreenContact)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) consume_Windows_UI_Input_IRadialControllerScreenContactContinuedEventArgs::Contact() const + template auto consume_Windows_UI_Input_IRadialControllerScreenContactContinuedEventArgs::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerScreenContactContinuedEventArgs)->get_Contact(&value)); return winrt::Windows::UI::Input::RadialControllerScreenContact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerScreenContactContinuedEventArgs2::IsButtonPressed() const + template auto consume_Windows_UI_Input_IRadialControllerScreenContactContinuedEventArgs2::IsButtonPressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerScreenContactContinuedEventArgs2)->get_IsButtonPressed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerScreenContactContinuedEventArgs2::SimpleHapticsController() const + template auto consume_Windows_UI_Input_IRadialControllerScreenContactContinuedEventArgs2::SimpleHapticsController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerScreenContactContinuedEventArgs2)->get_SimpleHapticsController(&value)); return winrt::Windows::Devices::Haptics::SimpleHapticsController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerScreenContactEndedEventArgs::IsButtonPressed() const + template auto consume_Windows_UI_Input_IRadialControllerScreenContactEndedEventArgs::IsButtonPressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerScreenContactEndedEventArgs)->get_IsButtonPressed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerScreenContactEndedEventArgs::SimpleHapticsController() const + template auto consume_Windows_UI_Input_IRadialControllerScreenContactEndedEventArgs::SimpleHapticsController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerScreenContactEndedEventArgs)->get_SimpleHapticsController(&value)); return winrt::Windows::Devices::Haptics::SimpleHapticsController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) consume_Windows_UI_Input_IRadialControllerScreenContactStartedEventArgs::Contact() const + template auto consume_Windows_UI_Input_IRadialControllerScreenContactStartedEventArgs::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerScreenContactStartedEventArgs)->get_Contact(&value)); return winrt::Windows::UI::Input::RadialControllerScreenContact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerScreenContactStartedEventArgs2::IsButtonPressed() const + template auto consume_Windows_UI_Input_IRadialControllerScreenContactStartedEventArgs2::IsButtonPressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerScreenContactStartedEventArgs2)->get_IsButtonPressed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerScreenContactStartedEventArgs2::SimpleHapticsController() const + template auto consume_Windows_UI_Input_IRadialControllerScreenContactStartedEventArgs2::SimpleHapticsController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerScreenContactStartedEventArgs2)->get_SimpleHapticsController(&value)); return winrt::Windows::Devices::Haptics::SimpleHapticsController{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerStatics::IsSupported() const + template auto consume_Windows_UI_Input_IRadialControllerStatics::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerStatics)->IsSupported(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialController) consume_Windows_UI_Input_IRadialControllerStatics::CreateForCurrentView() const + template auto consume_Windows_UI_Input_IRadialControllerStatics::CreateForCurrentView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerStatics)->CreateForCurrentView(&result)); return winrt::Windows::UI::Input::RadialController{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_IRightTappedEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Input_IRightTappedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRightTappedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IRightTappedEventArgs::Position() const + template auto consume_Windows_UI_Input_IRightTappedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRightTappedEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IRightTappedEventArgs2::ContactCount() const + template auto consume_Windows_UI_Input_IRightTappedEventArgs2::ContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRightTappedEventArgs2)->get_ContactCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionButtonPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionButtonPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemButtonEventController)->add_SystemFunctionButtonPressed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionButtonPressed_revoker consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SystemFunctionButtonPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionButtonPressed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionButtonPressed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemButtonEventController)->remove_SystemFunctionButtonPressed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionButtonReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionButtonReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemButtonEventController)->add_SystemFunctionButtonReleased(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionButtonReleased_revoker consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionButtonReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionButtonReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SystemFunctionButtonReleased(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionButtonReleased(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionButtonReleased(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemButtonEventController)->remove_SystemFunctionButtonReleased(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionLockChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionLockChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemButtonEventController)->add_SystemFunctionLockChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionLockChanged_revoker consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionLockChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionLockChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SystemFunctionLockChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionLockChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionLockChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemButtonEventController)->remove_SystemFunctionLockChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionLockIndicatorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionLockIndicatorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemButtonEventController)->add_SystemFunctionLockIndicatorChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionLockIndicatorChanged_revoker consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionLockIndicatorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionLockIndicatorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SystemFunctionLockIndicatorChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionLockIndicatorChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Input_ISystemButtonEventController::SystemFunctionLockIndicatorChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemButtonEventController)->remove_SystemFunctionLockIndicatorChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::SystemButtonEventController) consume_Windows_UI_Input_ISystemButtonEventControllerStatics::CreateForDispatcherQueue(winrt::Windows::System::DispatcherQueue const& queue) const + template auto consume_Windows_UI_Input_ISystemButtonEventControllerStatics::CreateForDispatcherQueue(winrt::Windows::System::DispatcherQueue const& queue) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemButtonEventControllerStatics)->CreateForDispatcherQueue(*(void**)(&queue), &result)); return winrt::Windows::UI::Input::SystemButtonEventController{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_UI_Input_ISystemFunctionButtonEventArgs::Timestamp() const + template auto consume_Windows_UI_Input_ISystemFunctionButtonEventArgs::Timestamp() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionButtonEventArgs)->get_Timestamp(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_ISystemFunctionButtonEventArgs::Handled() const + template auto consume_Windows_UI_Input_ISystemFunctionButtonEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionButtonEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_ISystemFunctionButtonEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Input_ISystemFunctionButtonEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionButtonEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs::Timestamp() const + template auto consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs::Timestamp() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionLockChangedEventArgs)->get_Timestamp(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs::IsLocked() const + template auto consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs::IsLocked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionLockChangedEventArgs)->get_IsLocked(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs::Handled() const + template auto consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionLockChangedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionLockChangedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs::Timestamp() const + template auto consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs::Timestamp() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionLockIndicatorChangedEventArgs)->get_Timestamp(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs::IsIndicatorOn() const + template auto consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs::IsIndicatorOn() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionLockIndicatorChangedEventArgs)->get_IsIndicatorOn(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs::Handled() const + template auto consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionLockIndicatorChangedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionLockIndicatorChangedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_ITappedEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Input_ITappedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ITappedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_ITappedEventArgs::Position() const + template auto consume_Windows_UI_Input_ITappedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ITappedEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_ITappedEventArgs::TapCount() const + template auto consume_Windows_UI_Input_ITappedEventArgs::TapCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ITappedEventArgs)->get_TapCount(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_ITappedEventArgs2::ContactCount() const + template auto consume_Windows_UI_Input_ITappedEventArgs2::ContactCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ITappedEventArgs2)->get_ContactCount(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Notifications.Management.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Notifications.Management.h index 4f4de699..c7a6c5fd 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Notifications.Management.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Notifications.Management.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Notifications_Management_H #define WINRT_Windows_UI_Notifications_Management_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Notifications.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,53 +13,53 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Notifications.Management.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Notifications_Management_IUserNotificationListener::RequestAccessAsync() const + template auto consume_Windows_UI_Notifications_Management_IUserNotificationListener::RequestAccessAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::Management::IUserNotificationListener)->RequestAccessAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::Management::UserNotificationListenerAccessStatus) consume_Windows_UI_Notifications_Management_IUserNotificationListener::GetAccessStatus() const + template auto consume_Windows_UI_Notifications_Management_IUserNotificationListener::GetAccessStatus() const { winrt::Windows::UI::Notifications::Management::UserNotificationListenerAccessStatus result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::Management::IUserNotificationListener)->GetAccessStatus(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Notifications_Management_IUserNotificationListener::NotificationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Notifications_Management_IUserNotificationListener::NotificationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::Management::IUserNotificationListener)->add_NotificationChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Notifications_Management_IUserNotificationListener::NotificationChanged_revoker consume_Windows_UI_Notifications_Management_IUserNotificationListener::NotificationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Notifications_Management_IUserNotificationListener::NotificationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NotificationChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_Management_IUserNotificationListener::NotificationChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Notifications_Management_IUserNotificationListener::NotificationChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::Management::IUserNotificationListener)->remove_NotificationChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_UI_Notifications_Management_IUserNotificationListener::GetNotificationsAsync(winrt::Windows::UI::Notifications::NotificationKinds const& kinds) const + template auto consume_Windows_UI_Notifications_Management_IUserNotificationListener::GetNotificationsAsync(winrt::Windows::UI::Notifications::NotificationKinds const& kinds) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::Management::IUserNotificationListener)->GetNotificationsAsync(static_cast(kinds), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::UserNotification) consume_Windows_UI_Notifications_Management_IUserNotificationListener::GetNotification(uint32_t notificationId) const + template auto consume_Windows_UI_Notifications_Management_IUserNotificationListener::GetNotification(uint32_t notificationId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::Management::IUserNotificationListener)->GetNotification(notificationId, &result)); return winrt::Windows::UI::Notifications::UserNotification{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_Management_IUserNotificationListener::ClearNotifications() const + template auto consume_Windows_UI_Notifications_Management_IUserNotificationListener::ClearNotifications() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::Management::IUserNotificationListener)->ClearNotifications()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_Management_IUserNotificationListener::RemoveNotification(uint32_t notificationId) const + template auto consume_Windows_UI_Notifications_Management_IUserNotificationListener::RemoveNotification(uint32_t notificationId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::Management::IUserNotificationListener)->RemoveNotification(notificationId)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::Management::UserNotificationListener) consume_Windows_UI_Notifications_Management_IUserNotificationListenerStatics::Current() const + template auto consume_Windows_UI_Notifications_Management_IUserNotificationListenerStatics::Current() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::Management::IUserNotificationListenerStatics)->get_Current(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Notifications.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Notifications.h index f9b50147..c4f7fe83 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Notifications.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Notifications.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Notifications_H #define WINRT_Windows_UI_Notifications_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.h" #include "winrt/impl/Windows.ApplicationModel.2.h" #include "winrt/impl/Windows.Data.Xml.Dom.2.h" @@ -15,1285 +15,1285 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Notifications.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::AdaptiveNotificationContentKind) consume_Windows_UI_Notifications_IAdaptiveNotificationContent::Kind() const + template auto consume_Windows_UI_Notifications_IAdaptiveNotificationContent::Kind() const { winrt::Windows::UI::Notifications::AdaptiveNotificationContentKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IAdaptiveNotificationContent)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_UI_Notifications_IAdaptiveNotificationContent::Hints() const + template auto consume_Windows_UI_Notifications_IAdaptiveNotificationContent::Hints() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IAdaptiveNotificationContent)->get_Hints(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IAdaptiveNotificationText::Text() const + template auto consume_Windows_UI_Notifications_IAdaptiveNotificationText::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IAdaptiveNotificationText)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IAdaptiveNotificationText::Text(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_IAdaptiveNotificationText::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IAdaptiveNotificationText)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IAdaptiveNotificationText::Language() const + template auto consume_Windows_UI_Notifications_IAdaptiveNotificationText::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IAdaptiveNotificationText)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IAdaptiveNotificationText::Language(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_IAdaptiveNotificationText::Language(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IAdaptiveNotificationText)->put_Language(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_IBadgeNotification::Content() const + template auto consume_Windows_UI_Notifications_IBadgeNotification::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeNotification)->get_Content(&value)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IBadgeNotification::ExpirationTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Notifications_IBadgeNotification::ExpirationTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeNotification)->put_ExpirationTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Notifications_IBadgeNotification::ExpirationTime() const + template auto consume_Windows_UI_Notifications_IBadgeNotification::ExpirationTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeNotification)->get_ExpirationTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeNotification) consume_Windows_UI_Notifications_IBadgeNotificationFactory::CreateBadgeNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const + template auto consume_Windows_UI_Notifications_IBadgeNotificationFactory::CreateBadgeNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeNotificationFactory)->CreateBadgeNotification(*(void**)(&content), &value)); return winrt::Windows::UI::Notifications::BadgeNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser::CreateBadgeUpdaterForApplication() const + template auto consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser::CreateBadgeUpdaterForApplication() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdateManagerForUser)->CreateBadgeUpdaterForApplication(&result)); return winrt::Windows::UI::Notifications::BadgeUpdater{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser::CreateBadgeUpdaterForApplication(param::hstring const& applicationId) const + template auto consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser::CreateBadgeUpdaterForApplication(param::hstring const& applicationId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdateManagerForUser)->CreateBadgeUpdaterForApplicationWithId(*(void**)(&applicationId), &result)); return winrt::Windows::UI::Notifications::BadgeUpdater{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser::CreateBadgeUpdaterForSecondaryTile(param::hstring const& tileId) const + template auto consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser::CreateBadgeUpdaterForSecondaryTile(param::hstring const& tileId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdateManagerForUser)->CreateBadgeUpdaterForSecondaryTile(*(void**)(&tileId), &result)); return winrt::Windows::UI::Notifications::BadgeUpdater{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser::User() const + template auto consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdateManagerForUser)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics::CreateBadgeUpdaterForApplication() const + template auto consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics::CreateBadgeUpdaterForApplication() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdateManagerStatics)->CreateBadgeUpdaterForApplication(&result)); return winrt::Windows::UI::Notifications::BadgeUpdater{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics::CreateBadgeUpdaterForApplication(param::hstring const& applicationId) const + template auto consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics::CreateBadgeUpdaterForApplication(param::hstring const& applicationId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdateManagerStatics)->CreateBadgeUpdaterForApplicationWithId(*(void**)(&applicationId), &result)); return winrt::Windows::UI::Notifications::BadgeUpdater{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics::CreateBadgeUpdaterForSecondaryTile(param::hstring const& tileId) const + template auto consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics::CreateBadgeUpdaterForSecondaryTile(param::hstring const& tileId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdateManagerStatics)->CreateBadgeUpdaterForSecondaryTile(*(void**)(&tileId), &result)); return winrt::Windows::UI::Notifications::BadgeUpdater{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics::GetTemplateContent(winrt::Windows::UI::Notifications::BadgeTemplateType const& type) const + template auto consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics::GetTemplateContent(winrt::Windows::UI::Notifications::BadgeTemplateType const& type) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdateManagerStatics)->GetTemplateContent(static_cast(type), &result)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdateManagerForUser) consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics2::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics2::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdateManagerStatics2)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::UI::Notifications::BadgeUpdateManagerForUser{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IBadgeUpdater::Update(winrt::Windows::UI::Notifications::BadgeNotification const& notification) const + template auto consume_Windows_UI_Notifications_IBadgeUpdater::Update(winrt::Windows::UI::Notifications::BadgeNotification const& notification) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdater)->Update(*(void**)(¬ification))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IBadgeUpdater::Clear() const + template auto consume_Windows_UI_Notifications_IBadgeUpdater::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdater)->Clear()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IBadgeUpdater::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& badgeContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const + template auto consume_Windows_UI_Notifications_IBadgeUpdater::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& badgeContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdater)->StartPeriodicUpdate(*(void**)(&badgeContent), static_cast(requestedInterval))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IBadgeUpdater::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& badgeContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const + template auto consume_Windows_UI_Notifications_IBadgeUpdater::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& badgeContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdater)->StartPeriodicUpdateAtTime(*(void**)(&badgeContent), impl::bind_in(startTime), static_cast(requestedInterval))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IBadgeUpdater::StopPeriodicUpdate() const + template auto consume_Windows_UI_Notifications_IBadgeUpdater::StopPeriodicUpdate() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdater)->StopPeriodicUpdate()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics::Style() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics::Style() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationHintsStatics)->get_Style(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics::Wrap() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics::Wrap() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationHintsStatics)->get_Wrap(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics::MaxLines() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics::MaxLines() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationHintsStatics)->get_MaxLines(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics::MinLines() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics::MinLines() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationHintsStatics)->get_MinLines(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics::TextStacking() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics::TextStacking() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationHintsStatics)->get_TextStacking(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics::Align() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics::Align() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationHintsStatics)->get_Align(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::Caption() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::Caption() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_Caption(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::Body() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::Body() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_Body(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::Base() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::Base() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_Base(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::Subtitle() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::Subtitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_Subtitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::Title() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::Subheader() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::Subheader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_Subheader(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::Header() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_Header(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::TitleNumeral() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::TitleNumeral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_TitleNumeral(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::SubheaderNumeral() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::SubheaderNumeral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_SubheaderNumeral(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::HeaderNumeral() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::HeaderNumeral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_HeaderNumeral(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::CaptionSubtle() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::CaptionSubtle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_CaptionSubtle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::BodySubtle() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::BodySubtle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_BodySubtle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::BaseSubtle() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::BaseSubtle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_BaseSubtle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::SubtitleSubtle() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::SubtitleSubtle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_SubtitleSubtle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::TitleSubtle() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::TitleSubtle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_TitleSubtle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::SubheaderSubtle() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::SubheaderSubtle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_SubheaderSubtle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::SubheaderNumeralSubtle() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::SubheaderNumeralSubtle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_SubheaderNumeralSubtle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::HeaderSubtle() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::HeaderSubtle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_HeaderSubtle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::HeaderNumeralSubtle() const + template auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics::HeaderNumeralSubtle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics)->get_HeaderNumeralSubtle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownNotificationBindingsStatics::ToastGeneric() const + template auto consume_Windows_UI_Notifications_IKnownNotificationBindingsStatics::ToastGeneric() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IKnownNotificationBindingsStatics)->get_ToastGeneric(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Notifications_INotification::ExpirationTime() const + template auto consume_Windows_UI_Notifications_INotification::ExpirationTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotification)->get_ExpirationTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_INotification::ExpirationTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Notifications_INotification::ExpirationTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotification)->put_ExpirationTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationVisual) consume_Windows_UI_Notifications_INotification::Visual() const + template auto consume_Windows_UI_Notifications_INotification::Visual() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotification)->get_Visual(&value)); return winrt::Windows::UI::Notifications::NotificationVisual{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_INotification::Visual(winrt::Windows::UI::Notifications::NotificationVisual const& value) const + template auto consume_Windows_UI_Notifications_INotification::Visual(winrt::Windows::UI::Notifications::NotificationVisual const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotification)->put_Visual(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_INotificationBinding::Template() const + template auto consume_Windows_UI_Notifications_INotificationBinding::Template() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationBinding)->get_Template(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_INotificationBinding::Template(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_INotificationBinding::Template(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationBinding)->put_Template(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_INotificationBinding::Language() const + template auto consume_Windows_UI_Notifications_INotificationBinding::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationBinding)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_INotificationBinding::Language(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_INotificationBinding::Language(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationBinding)->put_Language(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_UI_Notifications_INotificationBinding::Hints() const + template auto consume_Windows_UI_Notifications_INotificationBinding::Hints() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationBinding)->get_Hints(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Notifications_INotificationBinding::GetTextElements() const + template auto consume_Windows_UI_Notifications_INotificationBinding::GetTextElements() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationBinding)->GetTextElements(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_UI_Notifications_INotificationData::Values() const + template auto consume_Windows_UI_Notifications_INotificationData::Values() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationData)->get_Values(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Notifications_INotificationData::SequenceNumber() const + template auto consume_Windows_UI_Notifications_INotificationData::SequenceNumber() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationData)->get_SequenceNumber(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_INotificationData::SequenceNumber(uint32_t value) const + template auto consume_Windows_UI_Notifications_INotificationData::SequenceNumber(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationData)->put_SequenceNumber(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationData) consume_Windows_UI_Notifications_INotificationDataFactory::CreateNotificationData(param::iterable> const& initialValues, uint32_t sequenceNumber) const + template auto consume_Windows_UI_Notifications_INotificationDataFactory::CreateNotificationData(param::iterable> const& initialValues, uint32_t sequenceNumber) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationDataFactory)->CreateNotificationDataWithValuesAndSequenceNumber(*(void**)(&initialValues), sequenceNumber, &value)); return winrt::Windows::UI::Notifications::NotificationData{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationData) consume_Windows_UI_Notifications_INotificationDataFactory::CreateNotificationData(param::iterable> const& initialValues) const + template auto consume_Windows_UI_Notifications_INotificationDataFactory::CreateNotificationData(param::iterable> const& initialValues) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationDataFactory)->CreateNotificationDataWithValues(*(void**)(&initialValues), &value)); return winrt::Windows::UI::Notifications::NotificationData{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_INotificationVisual::Language() const + template auto consume_Windows_UI_Notifications_INotificationVisual::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationVisual)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_INotificationVisual::Language(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_INotificationVisual::Language(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationVisual)->put_Language(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Notifications_INotificationVisual::Bindings() const + template auto consume_Windows_UI_Notifications_INotificationVisual::Bindings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationVisual)->get_Bindings(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationBinding) consume_Windows_UI_Notifications_INotificationVisual::GetBinding(param::hstring const& templateName) const + template auto consume_Windows_UI_Notifications_INotificationVisual::GetBinding(param::hstring const& templateName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationVisual)->GetBinding(*(void**)(&templateName), &result)); return winrt::Windows::UI::Notifications::NotificationBinding{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_IScheduledTileNotification::Content() const + template auto consume_Windows_UI_Notifications_IScheduledTileNotification::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledTileNotification)->get_Content(&value)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Notifications_IScheduledTileNotification::DeliveryTime() const + template auto consume_Windows_UI_Notifications_IScheduledTileNotification::DeliveryTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledTileNotification)->get_DeliveryTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledTileNotification::ExpirationTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Notifications_IScheduledTileNotification::ExpirationTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledTileNotification)->put_ExpirationTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Notifications_IScheduledTileNotification::ExpirationTime() const + template auto consume_Windows_UI_Notifications_IScheduledTileNotification::ExpirationTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledTileNotification)->get_ExpirationTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledTileNotification::Tag(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_IScheduledTileNotification::Tag(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledTileNotification)->put_Tag(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IScheduledTileNotification::Tag() const + template auto consume_Windows_UI_Notifications_IScheduledTileNotification::Tag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledTileNotification)->get_Tag(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledTileNotification::Id(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_IScheduledTileNotification::Id(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledTileNotification)->put_Id(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IScheduledTileNotification::Id() const + template auto consume_Windows_UI_Notifications_IScheduledTileNotification::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledTileNotification)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ScheduledTileNotification) consume_Windows_UI_Notifications_IScheduledTileNotificationFactory::CreateScheduledTileNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime) const + template auto consume_Windows_UI_Notifications_IScheduledTileNotificationFactory::CreateScheduledTileNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledTileNotificationFactory)->CreateScheduledTileNotification(*(void**)(&content), impl::bind_in(deliveryTime), &value)); return winrt::Windows::UI::Notifications::ScheduledTileNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_IScheduledToastNotification::Content() const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification)->get_Content(&value)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Notifications_IScheduledToastNotification::DeliveryTime() const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification::DeliveryTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification)->get_DeliveryTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Notifications_IScheduledToastNotification::SnoozeInterval() const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification::SnoozeInterval() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification)->get_SnoozeInterval(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Notifications_IScheduledToastNotification::MaximumSnoozeCount() const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification::MaximumSnoozeCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification)->get_MaximumSnoozeCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledToastNotification::Id(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification::Id(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification)->put_Id(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IScheduledToastNotification::Id() const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledToastNotification2::Tag(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification2::Tag(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification2)->put_Tag(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IScheduledToastNotification2::Tag() const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification2::Tag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification2)->get_Tag(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledToastNotification2::Group(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification2::Group(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification2)->put_Group(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IScheduledToastNotification2::Group() const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification2::Group() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification2)->get_Group(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledToastNotification2::SuppressPopup(bool value) const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification2::SuppressPopup(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification2)->put_SuppressPopup(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Notifications_IScheduledToastNotification2::SuppressPopup() const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification2::SuppressPopup() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification2)->get_SuppressPopup(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationMirroring) consume_Windows_UI_Notifications_IScheduledToastNotification3::NotificationMirroring() const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification3::NotificationMirroring() const { winrt::Windows::UI::Notifications::NotificationMirroring value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification3)->get_NotificationMirroring(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledToastNotification3::NotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification3::NotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification3)->put_NotificationMirroring(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IScheduledToastNotification3::RemoteId() const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification3::RemoteId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification3)->get_RemoteId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledToastNotification3::RemoteId(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification3::RemoteId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification3)->put_RemoteId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Notifications_IScheduledToastNotification4::ExpirationTime() const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification4::ExpirationTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification4)->get_ExpirationTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledToastNotification4::ExpirationTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Notifications_IScheduledToastNotification4::ExpirationTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification4)->put_ExpirationTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ScheduledToastNotification) consume_Windows_UI_Notifications_IScheduledToastNotificationFactory::CreateScheduledToastNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime) const + template auto consume_Windows_UI_Notifications_IScheduledToastNotificationFactory::CreateScheduledToastNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotificationFactory)->CreateScheduledToastNotification(*(void**)(&content), impl::bind_in(deliveryTime), &value)); return winrt::Windows::UI::Notifications::ScheduledToastNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ScheduledToastNotification) consume_Windows_UI_Notifications_IScheduledToastNotificationFactory::CreateScheduledToastNotificationRecurring(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime, winrt::Windows::Foundation::TimeSpan const& snoozeInterval, uint32_t maximumSnoozeCount) const + template auto consume_Windows_UI_Notifications_IScheduledToastNotificationFactory::CreateScheduledToastNotificationRecurring(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime, winrt::Windows::Foundation::TimeSpan const& snoozeInterval, uint32_t maximumSnoozeCount) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotificationFactory)->CreateScheduledToastNotificationRecurring(*(void**)(&content), impl::bind_in(deliveryTime), impl::bind_in(snoozeInterval), maximumSnoozeCount, &value)); return winrt::Windows::UI::Notifications::ScheduledToastNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs::Cancel() const + template auto consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotificationShowingEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotificationShowingEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ScheduledToastNotification) consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs::ScheduledToastNotification() const + template auto consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs::ScheduledToastNotification() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotificationShowingEventArgs)->get_ScheduledToastNotification(&value)); return winrt::Windows::UI::Notifications::ScheduledToastNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs::GetDeferral() const + template auto consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotificationShowingEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IShownTileNotification::Arguments() const + template auto consume_Windows_UI_Notifications_IShownTileNotification::Arguments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IShownTileNotification)->get_Arguments(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_ITileFlyoutNotification::Content() const + template auto consume_Windows_UI_Notifications_ITileFlyoutNotification::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutNotification)->get_Content(&value)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileFlyoutNotification::ExpirationTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Notifications_ITileFlyoutNotification::ExpirationTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutNotification)->put_ExpirationTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Notifications_ITileFlyoutNotification::ExpirationTime() const + template auto consume_Windows_UI_Notifications_ITileFlyoutNotification::ExpirationTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutNotification)->get_ExpirationTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileFlyoutNotification) consume_Windows_UI_Notifications_ITileFlyoutNotificationFactory::CreateTileFlyoutNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const + template auto consume_Windows_UI_Notifications_ITileFlyoutNotificationFactory::CreateTileFlyoutNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutNotificationFactory)->CreateTileFlyoutNotification(*(void**)(&content), &value)); return winrt::Windows::UI::Notifications::TileFlyoutNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileFlyoutUpdater) consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics::CreateTileFlyoutUpdaterForApplication() const + template auto consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics::CreateTileFlyoutUpdaterForApplication() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutUpdateManagerStatics)->CreateTileFlyoutUpdaterForApplication(&result)); return winrt::Windows::UI::Notifications::TileFlyoutUpdater{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileFlyoutUpdater) consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics::CreateTileFlyoutUpdaterForApplication(param::hstring const& applicationId) const + template auto consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics::CreateTileFlyoutUpdaterForApplication(param::hstring const& applicationId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutUpdateManagerStatics)->CreateTileFlyoutUpdaterForApplicationWithId(*(void**)(&applicationId), &result)); return winrt::Windows::UI::Notifications::TileFlyoutUpdater{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileFlyoutUpdater) consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics::CreateTileFlyoutUpdaterForSecondaryTile(param::hstring const& tileId) const + template auto consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics::CreateTileFlyoutUpdaterForSecondaryTile(param::hstring const& tileId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutUpdateManagerStatics)->CreateTileFlyoutUpdaterForSecondaryTile(*(void**)(&tileId), &result)); return winrt::Windows::UI::Notifications::TileFlyoutUpdater{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics::GetTemplateContent(winrt::Windows::UI::Notifications::TileFlyoutTemplateType const& type) const + template auto consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics::GetTemplateContent(winrt::Windows::UI::Notifications::TileFlyoutTemplateType const& type) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutUpdateManagerStatics)->GetTemplateContent(static_cast(type), &result)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileFlyoutUpdater::Update(winrt::Windows::UI::Notifications::TileFlyoutNotification const& notification) const + template auto consume_Windows_UI_Notifications_ITileFlyoutUpdater::Update(winrt::Windows::UI::Notifications::TileFlyoutNotification const& notification) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutUpdater)->Update(*(void**)(¬ification))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileFlyoutUpdater::Clear() const + template auto consume_Windows_UI_Notifications_ITileFlyoutUpdater::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutUpdater)->Clear()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileFlyoutUpdater::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileFlyoutContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const + template auto consume_Windows_UI_Notifications_ITileFlyoutUpdater::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileFlyoutContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutUpdater)->StartPeriodicUpdate(*(void**)(&tileFlyoutContent), static_cast(requestedInterval))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileFlyoutUpdater::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileFlyoutContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const + template auto consume_Windows_UI_Notifications_ITileFlyoutUpdater::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileFlyoutContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutUpdater)->StartPeriodicUpdateAtTime(*(void**)(&tileFlyoutContent), impl::bind_in(startTime), static_cast(requestedInterval))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileFlyoutUpdater::StopPeriodicUpdate() const + template auto consume_Windows_UI_Notifications_ITileFlyoutUpdater::StopPeriodicUpdate() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutUpdater)->StopPeriodicUpdate()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationSetting) consume_Windows_UI_Notifications_ITileFlyoutUpdater::Setting() const + template auto consume_Windows_UI_Notifications_ITileFlyoutUpdater::Setting() const { winrt::Windows::UI::Notifications::NotificationSetting value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutUpdater)->get_Setting(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_ITileNotification::Content() const + template auto consume_Windows_UI_Notifications_ITileNotification::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileNotification)->get_Content(&value)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileNotification::ExpirationTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Notifications_ITileNotification::ExpirationTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileNotification)->put_ExpirationTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Notifications_ITileNotification::ExpirationTime() const + template auto consume_Windows_UI_Notifications_ITileNotification::ExpirationTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileNotification)->get_ExpirationTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileNotification::Tag(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_ITileNotification::Tag(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileNotification)->put_Tag(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_ITileNotification::Tag() const + template auto consume_Windows_UI_Notifications_ITileNotification::Tag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileNotification)->get_Tag(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) consume_Windows_UI_Notifications_ITileNotificationFactory::CreateTileNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const + template auto consume_Windows_UI_Notifications_ITileNotificationFactory::CreateTileNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileNotificationFactory)->CreateTileNotification(*(void**)(&content), &value)); return winrt::Windows::UI::Notifications::TileNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) consume_Windows_UI_Notifications_ITileUpdateManagerForUser::CreateTileUpdaterForApplicationForUser() const + template auto consume_Windows_UI_Notifications_ITileUpdateManagerForUser::CreateTileUpdaterForApplicationForUser() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdateManagerForUser)->CreateTileUpdaterForApplication(&result)); return winrt::Windows::UI::Notifications::TileUpdater{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) consume_Windows_UI_Notifications_ITileUpdateManagerForUser::CreateTileUpdaterForApplication(param::hstring const& applicationId) const + template auto consume_Windows_UI_Notifications_ITileUpdateManagerForUser::CreateTileUpdaterForApplication(param::hstring const& applicationId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdateManagerForUser)->CreateTileUpdaterForApplicationWithId(*(void**)(&applicationId), &result)); return winrt::Windows::UI::Notifications::TileUpdater{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) consume_Windows_UI_Notifications_ITileUpdateManagerForUser::CreateTileUpdaterForSecondaryTile(param::hstring const& tileId) const + template auto consume_Windows_UI_Notifications_ITileUpdateManagerForUser::CreateTileUpdaterForSecondaryTile(param::hstring const& tileId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdateManagerForUser)->CreateTileUpdaterForSecondaryTile(*(void**)(&tileId), &result)); return winrt::Windows::UI::Notifications::TileUpdater{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_UI_Notifications_ITileUpdateManagerForUser::User() const + template auto consume_Windows_UI_Notifications_ITileUpdateManagerForUser::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdateManagerForUser)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) consume_Windows_UI_Notifications_ITileUpdateManagerStatics::CreateTileUpdaterForApplication() const + template auto consume_Windows_UI_Notifications_ITileUpdateManagerStatics::CreateTileUpdaterForApplication() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdateManagerStatics)->CreateTileUpdaterForApplication(&result)); return winrt::Windows::UI::Notifications::TileUpdater{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) consume_Windows_UI_Notifications_ITileUpdateManagerStatics::CreateTileUpdaterForApplication(param::hstring const& applicationId) const + template auto consume_Windows_UI_Notifications_ITileUpdateManagerStatics::CreateTileUpdaterForApplication(param::hstring const& applicationId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdateManagerStatics)->CreateTileUpdaterForApplicationWithId(*(void**)(&applicationId), &result)); return winrt::Windows::UI::Notifications::TileUpdater{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) consume_Windows_UI_Notifications_ITileUpdateManagerStatics::CreateTileUpdaterForSecondaryTile(param::hstring const& tileId) const + template auto consume_Windows_UI_Notifications_ITileUpdateManagerStatics::CreateTileUpdaterForSecondaryTile(param::hstring const& tileId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdateManagerStatics)->CreateTileUpdaterForSecondaryTile(*(void**)(&tileId), &result)); return winrt::Windows::UI::Notifications::TileUpdater{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_ITileUpdateManagerStatics::GetTemplateContent(winrt::Windows::UI::Notifications::TileTemplateType const& type) const + template auto consume_Windows_UI_Notifications_ITileUpdateManagerStatics::GetTemplateContent(winrt::Windows::UI::Notifications::TileTemplateType const& type) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdateManagerStatics)->GetTemplateContent(static_cast(type), &result)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdateManagerForUser) consume_Windows_UI_Notifications_ITileUpdateManagerStatics2::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_UI_Notifications_ITileUpdateManagerStatics2::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdateManagerStatics2)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::UI::Notifications::TileUpdateManagerForUser{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater::Update(winrt::Windows::UI::Notifications::TileNotification const& notification) const + template auto consume_Windows_UI_Notifications_ITileUpdater::Update(winrt::Windows::UI::Notifications::TileNotification const& notification) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->Update(*(void**)(¬ification))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater::Clear() const + template auto consume_Windows_UI_Notifications_ITileUpdater::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->Clear()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater::EnableNotificationQueue(bool enable) const + template auto consume_Windows_UI_Notifications_ITileUpdater::EnableNotificationQueue(bool enable) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->EnableNotificationQueue(enable)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationSetting) consume_Windows_UI_Notifications_ITileUpdater::Setting() const + template auto consume_Windows_UI_Notifications_ITileUpdater::Setting() const { winrt::Windows::UI::Notifications::NotificationSetting value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->get_Setting(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater::AddToSchedule(winrt::Windows::UI::Notifications::ScheduledTileNotification const& scheduledTile) const + template auto consume_Windows_UI_Notifications_ITileUpdater::AddToSchedule(winrt::Windows::UI::Notifications::ScheduledTileNotification const& scheduledTile) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->AddToSchedule(*(void**)(&scheduledTile))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater::RemoveFromSchedule(winrt::Windows::UI::Notifications::ScheduledTileNotification const& scheduledTile) const + template auto consume_Windows_UI_Notifications_ITileUpdater::RemoveFromSchedule(winrt::Windows::UI::Notifications::ScheduledTileNotification const& scheduledTile) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->RemoveFromSchedule(*(void**)(&scheduledTile))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Notifications_ITileUpdater::GetScheduledTileNotifications() const + template auto consume_Windows_UI_Notifications_ITileUpdater::GetScheduledTileNotifications() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->GetScheduledTileNotifications(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const + template auto consume_Windows_UI_Notifications_ITileUpdater::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->StartPeriodicUpdate(*(void**)(&tileContent), static_cast(requestedInterval))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const + template auto consume_Windows_UI_Notifications_ITileUpdater::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->StartPeriodicUpdateAtTime(*(void**)(&tileContent), impl::bind_in(startTime), static_cast(requestedInterval))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater::StopPeriodicUpdate() const + template auto consume_Windows_UI_Notifications_ITileUpdater::StopPeriodicUpdate() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->StopPeriodicUpdate()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater::StartPeriodicUpdateBatch(param::iterable const& tileContents, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const + template auto consume_Windows_UI_Notifications_ITileUpdater::StartPeriodicUpdateBatch(param::iterable const& tileContents, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->StartPeriodicUpdateBatch(*(void**)(&tileContents), static_cast(requestedInterval))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater::StartPeriodicUpdateBatch(param::iterable const& tileContents, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const + template auto consume_Windows_UI_Notifications_ITileUpdater::StartPeriodicUpdateBatch(param::iterable const& tileContents, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->StartPeriodicUpdateBatchAtTime(*(void**)(&tileContents), impl::bind_in(startTime), static_cast(requestedInterval))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater2::EnableNotificationQueueForSquare150x150(bool enable) const + template auto consume_Windows_UI_Notifications_ITileUpdater2::EnableNotificationQueueForSquare150x150(bool enable) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater2)->EnableNotificationQueueForSquare150x150(enable)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater2::EnableNotificationQueueForWide310x150(bool enable) const + template auto consume_Windows_UI_Notifications_ITileUpdater2::EnableNotificationQueueForWide310x150(bool enable) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater2)->EnableNotificationQueueForWide310x150(enable)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater2::EnableNotificationQueueForSquare310x310(bool enable) const + template auto consume_Windows_UI_Notifications_ITileUpdater2::EnableNotificationQueueForSquare310x310(bool enable) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater2)->EnableNotificationQueueForSquare310x310(enable)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastActivatedEventArgs::Arguments() const + template auto consume_Windows_UI_Notifications_IToastActivatedEventArgs::Arguments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastActivatedEventArgs)->get_Arguments(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_UI_Notifications_IToastActivatedEventArgs2::UserInput() const + template auto consume_Windows_UI_Notifications_IToastActivatedEventArgs2::UserInput() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastActivatedEventArgs2)->get_UserInput(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastCollection::Id() const + template auto consume_Windows_UI_Notifications_IToastCollection::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollection)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastCollection::DisplayName() const + template auto consume_Windows_UI_Notifications_IToastCollection::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollection)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastCollection::DisplayName(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_IToastCollection::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollection)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastCollection::LaunchArgs() const + template auto consume_Windows_UI_Notifications_IToastCollection::LaunchArgs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollection)->get_LaunchArgs(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastCollection::LaunchArgs(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_IToastCollection::LaunchArgs(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollection)->put_LaunchArgs(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Notifications_IToastCollection::Icon() const + template auto consume_Windows_UI_Notifications_IToastCollection::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollection)->get_Icon(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastCollection::Icon(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Notifications_IToastCollection::Icon(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollection)->put_Icon(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastCollection) consume_Windows_UI_Notifications_IToastCollectionFactory::CreateInstance(param::hstring const& collectionId, param::hstring const& displayName, param::hstring const& launchArgs, winrt::Windows::Foundation::Uri const& iconUri) const + template auto consume_Windows_UI_Notifications_IToastCollectionFactory::CreateInstance(param::hstring const& collectionId, param::hstring const& displayName, param::hstring const& launchArgs, winrt::Windows::Foundation::Uri const& iconUri) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollectionFactory)->CreateInstance(*(void**)(&collectionId), *(void**)(&displayName), *(void**)(&launchArgs), *(void**)(&iconUri), &value)); return winrt::Windows::UI::Notifications::ToastCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Notifications_IToastCollectionManager::SaveToastCollectionAsync(winrt::Windows::UI::Notifications::ToastCollection const& collection) const + template auto consume_Windows_UI_Notifications_IToastCollectionManager::SaveToastCollectionAsync(winrt::Windows::UI::Notifications::ToastCollection const& collection) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollectionManager)->SaveToastCollectionAsync(*(void**)(&collection), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_UI_Notifications_IToastCollectionManager::FindAllToastCollectionsAsync() const + template auto consume_Windows_UI_Notifications_IToastCollectionManager::FindAllToastCollectionsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollectionManager)->FindAllToastCollectionsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Notifications_IToastCollectionManager::GetToastCollectionAsync(param::hstring const& collectionId) const + template auto consume_Windows_UI_Notifications_IToastCollectionManager::GetToastCollectionAsync(param::hstring const& collectionId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollectionManager)->GetToastCollectionAsync(*(void**)(&collectionId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Notifications_IToastCollectionManager::RemoveToastCollectionAsync(param::hstring const& collectionId) const + template auto consume_Windows_UI_Notifications_IToastCollectionManager::RemoveToastCollectionAsync(param::hstring const& collectionId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollectionManager)->RemoveToastCollectionAsync(*(void**)(&collectionId), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Notifications_IToastCollectionManager::RemoveAllToastCollectionsAsync() const + template auto consume_Windows_UI_Notifications_IToastCollectionManager::RemoveAllToastCollectionsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollectionManager)->RemoveAllToastCollectionsAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_UI_Notifications_IToastCollectionManager::User() const + template auto consume_Windows_UI_Notifications_IToastCollectionManager::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollectionManager)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastCollectionManager::AppId() const + template auto consume_Windows_UI_Notifications_IToastCollectionManager::AppId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollectionManager)->get_AppId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastDismissalReason) consume_Windows_UI_Notifications_IToastDismissedEventArgs::Reason() const + template auto consume_Windows_UI_Notifications_IToastDismissedEventArgs::Reason() const { winrt::Windows::UI::Notifications::ToastDismissalReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastDismissedEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_UI_Notifications_IToastFailedEventArgs::ErrorCode() const + template auto consume_Windows_UI_Notifications_IToastFailedEventArgs::ErrorCode() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastFailedEventArgs)->get_ErrorCode(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_IToastNotification::Content() const + template auto consume_Windows_UI_Notifications_IToastNotification::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification)->get_Content(&value)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification::ExpirationTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Notifications_IToastNotification::ExpirationTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification)->put_ExpirationTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Notifications_IToastNotification::ExpirationTime() const + template auto consume_Windows_UI_Notifications_IToastNotification::ExpirationTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification)->get_ExpirationTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Notifications_IToastNotification::Dismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Notifications_IToastNotification::Dismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification)->add_Dismissed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Notifications_IToastNotification::Dismissed_revoker consume_Windows_UI_Notifications_IToastNotification::Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Notifications_IToastNotification::Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Dismissed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification::Dismissed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Notifications_IToastNotification::Dismissed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification)->remove_Dismissed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Notifications_IToastNotification::Activated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Notifications_IToastNotification::Activated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification)->add_Activated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Notifications_IToastNotification::Activated_revoker consume_Windows_UI_Notifications_IToastNotification::Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Notifications_IToastNotification::Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Activated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification::Activated(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Notifications_IToastNotification::Activated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification)->remove_Activated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Notifications_IToastNotification::Failed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Notifications_IToastNotification::Failed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification)->add_Failed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Notifications_IToastNotification::Failed_revoker consume_Windows_UI_Notifications_IToastNotification::Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Notifications_IToastNotification::Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Failed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification::Failed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Notifications_IToastNotification::Failed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification)->remove_Failed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification2::Tag(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_IToastNotification2::Tag(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification2)->put_Tag(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastNotification2::Tag() const + template auto consume_Windows_UI_Notifications_IToastNotification2::Tag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification2)->get_Tag(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification2::Group(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_IToastNotification2::Group(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification2)->put_Group(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastNotification2::Group() const + template auto consume_Windows_UI_Notifications_IToastNotification2::Group() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification2)->get_Group(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification2::SuppressPopup(bool value) const + template auto consume_Windows_UI_Notifications_IToastNotification2::SuppressPopup(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification2)->put_SuppressPopup(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Notifications_IToastNotification2::SuppressPopup() const + template auto consume_Windows_UI_Notifications_IToastNotification2::SuppressPopup() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification2)->get_SuppressPopup(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationMirroring) consume_Windows_UI_Notifications_IToastNotification3::NotificationMirroring() const + template auto consume_Windows_UI_Notifications_IToastNotification3::NotificationMirroring() const { winrt::Windows::UI::Notifications::NotificationMirroring value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification3)->get_NotificationMirroring(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification3::NotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const + template auto consume_Windows_UI_Notifications_IToastNotification3::NotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification3)->put_NotificationMirroring(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastNotification3::RemoteId() const + template auto consume_Windows_UI_Notifications_IToastNotification3::RemoteId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification3)->get_RemoteId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification3::RemoteId(param::hstring const& value) const + template auto consume_Windows_UI_Notifications_IToastNotification3::RemoteId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification3)->put_RemoteId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationData) consume_Windows_UI_Notifications_IToastNotification4::Data() const + template auto consume_Windows_UI_Notifications_IToastNotification4::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification4)->get_Data(&value)); return winrt::Windows::UI::Notifications::NotificationData{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification4::Data(winrt::Windows::UI::Notifications::NotificationData const& value) const + template auto consume_Windows_UI_Notifications_IToastNotification4::Data(winrt::Windows::UI::Notifications::NotificationData const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification4)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationPriority) consume_Windows_UI_Notifications_IToastNotification4::Priority() const + template auto consume_Windows_UI_Notifications_IToastNotification4::Priority() const { winrt::Windows::UI::Notifications::ToastNotificationPriority value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification4)->get_Priority(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification4::Priority(winrt::Windows::UI::Notifications::ToastNotificationPriority const& value) const + template auto consume_Windows_UI_Notifications_IToastNotification4::Priority(winrt::Windows::UI::Notifications::ToastNotificationPriority const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification4)->put_Priority(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Notifications_IToastNotification6::ExpiresOnReboot() const + template auto consume_Windows_UI_Notifications_IToastNotification6::ExpiresOnReboot() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification6)->get_ExpiresOnReboot(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification6::ExpiresOnReboot(bool value) const + template auto consume_Windows_UI_Notifications_IToastNotification6::ExpiresOnReboot(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification6)->put_ExpiresOnReboot(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastNotificationActionTriggerDetail::Argument() const + template auto consume_Windows_UI_Notifications_IToastNotificationActionTriggerDetail::Argument() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationActionTriggerDetail)->get_Argument(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_UI_Notifications_IToastNotificationActionTriggerDetail::UserInput() const + template auto consume_Windows_UI_Notifications_IToastNotificationActionTriggerDetail::UserInput() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationActionTriggerDetail)->get_UserInput(&value)); return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) consume_Windows_UI_Notifications_IToastNotificationFactory::CreateToastNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const + template auto consume_Windows_UI_Notifications_IToastNotificationFactory::CreateToastNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationFactory)->CreateToastNotification(*(void**)(&content), &value)); return winrt::Windows::UI::Notifications::ToastNotification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotificationHistory::RemoveGroup(param::hstring const& group) const + template auto consume_Windows_UI_Notifications_IToastNotificationHistory::RemoveGroup(param::hstring const& group) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistory)->RemoveGroup(*(void**)(&group))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotificationHistory::RemoveGroup(param::hstring const& group, param::hstring const& applicationId) const + template auto consume_Windows_UI_Notifications_IToastNotificationHistory::RemoveGroup(param::hstring const& group, param::hstring const& applicationId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistory)->RemoveGroupWithId(*(void**)(&group), *(void**)(&applicationId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotificationHistory::Remove(param::hstring const& tag, param::hstring const& group, param::hstring const& applicationId) const + template auto consume_Windows_UI_Notifications_IToastNotificationHistory::Remove(param::hstring const& tag, param::hstring const& group, param::hstring const& applicationId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistory)->RemoveGroupedTagWithId(*(void**)(&tag), *(void**)(&group), *(void**)(&applicationId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotificationHistory::Remove(param::hstring const& tag, param::hstring const& group) const + template auto consume_Windows_UI_Notifications_IToastNotificationHistory::Remove(param::hstring const& tag, param::hstring const& group) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistory)->RemoveGroupedTag(*(void**)(&tag), *(void**)(&group))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotificationHistory::Remove(param::hstring const& tag) const + template auto consume_Windows_UI_Notifications_IToastNotificationHistory::Remove(param::hstring const& tag) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistory)->Remove(*(void**)(&tag))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotificationHistory::Clear() const + template auto consume_Windows_UI_Notifications_IToastNotificationHistory::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistory)->Clear()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotificationHistory::Clear(param::hstring const& applicationId) const + template auto consume_Windows_UI_Notifications_IToastNotificationHistory::Clear(param::hstring const& applicationId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistory)->ClearWithId(*(void**)(&applicationId))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Notifications_IToastNotificationHistory2::GetHistory() const + template auto consume_Windows_UI_Notifications_IToastNotificationHistory2::GetHistory() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistory2)->GetHistory(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Notifications_IToastNotificationHistory2::GetHistory(param::hstring const& applicationId) const + template auto consume_Windows_UI_Notifications_IToastNotificationHistory2::GetHistory(param::hstring const& applicationId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistory2)->GetHistoryWithId(*(void**)(&applicationId), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastHistoryChangedType) consume_Windows_UI_Notifications_IToastNotificationHistoryChangedTriggerDetail::ChangeType() const + template auto consume_Windows_UI_Notifications_IToastNotificationHistoryChangedTriggerDetail::ChangeType() const { winrt::Windows::UI::Notifications::ToastHistoryChangedType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistoryChangedTriggerDetail)->get_ChangeType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastNotificationHistoryChangedTriggerDetail2::CollectionId() const + template auto consume_Windows_UI_Notifications_IToastNotificationHistoryChangedTriggerDetail2::CollectionId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistoryChangedTriggerDetail2)->get_CollectionId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) consume_Windows_UI_Notifications_IToastNotificationManagerForUser::CreateToastNotifier() const + template auto consume_Windows_UI_Notifications_IToastNotificationManagerForUser::CreateToastNotifier() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerForUser)->CreateToastNotifier(&result)); return winrt::Windows::UI::Notifications::ToastNotifier{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) consume_Windows_UI_Notifications_IToastNotificationManagerForUser::CreateToastNotifier(param::hstring const& applicationId) const + template auto consume_Windows_UI_Notifications_IToastNotificationManagerForUser::CreateToastNotifier(param::hstring const& applicationId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerForUser)->CreateToastNotifierWithId(*(void**)(&applicationId), &result)); return winrt::Windows::UI::Notifications::ToastNotifier{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationHistory) consume_Windows_UI_Notifications_IToastNotificationManagerForUser::History() const + template auto consume_Windows_UI_Notifications_IToastNotificationManagerForUser::History() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerForUser)->get_History(&value)); return winrt::Windows::UI::Notifications::ToastNotificationHistory{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_UI_Notifications_IToastNotificationManagerForUser::User() const + template auto consume_Windows_UI_Notifications_IToastNotificationManagerForUser::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerForUser)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Notifications_IToastNotificationManagerForUser2::GetToastNotifierForToastCollectionIdAsync(param::hstring const& collectionId) const + template auto consume_Windows_UI_Notifications_IToastNotificationManagerForUser2::GetToastNotifierForToastCollectionIdAsync(param::hstring const& collectionId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerForUser2)->GetToastNotifierForToastCollectionIdAsync(*(void**)(&collectionId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Notifications_IToastNotificationManagerForUser2::GetHistoryForToastCollectionIdAsync(param::hstring const& collectionId) const + template auto consume_Windows_UI_Notifications_IToastNotificationManagerForUser2::GetHistoryForToastCollectionIdAsync(param::hstring const& collectionId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerForUser2)->GetHistoryForToastCollectionIdAsync(*(void**)(&collectionId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastCollectionManager) consume_Windows_UI_Notifications_IToastNotificationManagerForUser2::GetToastCollectionManager() const + template auto consume_Windows_UI_Notifications_IToastNotificationManagerForUser2::GetToastCollectionManager() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerForUser2)->GetToastCollectionManager(&result)); return winrt::Windows::UI::Notifications::ToastCollectionManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastCollectionManager) consume_Windows_UI_Notifications_IToastNotificationManagerForUser2::GetToastCollectionManager(param::hstring const& appId) const + template auto consume_Windows_UI_Notifications_IToastNotificationManagerForUser2::GetToastCollectionManager(param::hstring const& appId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerForUser2)->GetToastCollectionManagerWithAppId(*(void**)(&appId), &result)); return winrt::Windows::UI::Notifications::ToastCollectionManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) consume_Windows_UI_Notifications_IToastNotificationManagerStatics::CreateToastNotifier() const + template auto consume_Windows_UI_Notifications_IToastNotificationManagerStatics::CreateToastNotifier() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerStatics)->CreateToastNotifier(&result)); return winrt::Windows::UI::Notifications::ToastNotifier{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) consume_Windows_UI_Notifications_IToastNotificationManagerStatics::CreateToastNotifier(param::hstring const& applicationId) const + template auto consume_Windows_UI_Notifications_IToastNotificationManagerStatics::CreateToastNotifier(param::hstring const& applicationId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerStatics)->CreateToastNotifierWithId(*(void**)(&applicationId), &result)); return winrt::Windows::UI::Notifications::ToastNotifier{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_IToastNotificationManagerStatics::GetTemplateContent(winrt::Windows::UI::Notifications::ToastTemplateType const& type) const + template auto consume_Windows_UI_Notifications_IToastNotificationManagerStatics::GetTemplateContent(winrt::Windows::UI::Notifications::ToastTemplateType const& type) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerStatics)->GetTemplateContent(static_cast(type), &result)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationHistory) consume_Windows_UI_Notifications_IToastNotificationManagerStatics2::History() const + template auto consume_Windows_UI_Notifications_IToastNotificationManagerStatics2::History() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerStatics2)->get_History(&value)); return winrt::Windows::UI::Notifications::ToastNotificationHistory{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationManagerForUser) consume_Windows_UI_Notifications_IToastNotificationManagerStatics4::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_UI_Notifications_IToastNotificationManagerStatics4::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerStatics4)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::UI::Notifications::ToastNotificationManagerForUser{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotificationManagerStatics4::ConfigureNotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const + template auto consume_Windows_UI_Notifications_IToastNotificationManagerStatics4::ConfigureNotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerStatics4)->ConfigureNotificationMirroring(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationManagerForUser) consume_Windows_UI_Notifications_IToastNotificationManagerStatics5::GetDefault() const + template auto consume_Windows_UI_Notifications_IToastNotificationManagerStatics5::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerStatics5)->GetDefault(&result)); return winrt::Windows::UI::Notifications::ToastNotificationManagerForUser{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotifier::Show(winrt::Windows::UI::Notifications::ToastNotification const& notification) const + template auto consume_Windows_UI_Notifications_IToastNotifier::Show(winrt::Windows::UI::Notifications::ToastNotification const& notification) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier)->Show(*(void**)(¬ification))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotifier::Hide(winrt::Windows::UI::Notifications::ToastNotification const& notification) const + template auto consume_Windows_UI_Notifications_IToastNotifier::Hide(winrt::Windows::UI::Notifications::ToastNotification const& notification) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier)->Hide(*(void**)(¬ification))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationSetting) consume_Windows_UI_Notifications_IToastNotifier::Setting() const + template auto consume_Windows_UI_Notifications_IToastNotifier::Setting() const { winrt::Windows::UI::Notifications::NotificationSetting value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier)->get_Setting(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotifier::AddToSchedule(winrt::Windows::UI::Notifications::ScheduledToastNotification const& scheduledToast) const + template auto consume_Windows_UI_Notifications_IToastNotifier::AddToSchedule(winrt::Windows::UI::Notifications::ScheduledToastNotification const& scheduledToast) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier)->AddToSchedule(*(void**)(&scheduledToast))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotifier::RemoveFromSchedule(winrt::Windows::UI::Notifications::ScheduledToastNotification const& scheduledToast) const + template auto consume_Windows_UI_Notifications_IToastNotifier::RemoveFromSchedule(winrt::Windows::UI::Notifications::ScheduledToastNotification const& scheduledToast) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier)->RemoveFromSchedule(*(void**)(&scheduledToast))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Notifications_IToastNotifier::GetScheduledToastNotifications() const + template auto consume_Windows_UI_Notifications_IToastNotifier::GetScheduledToastNotifications() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier)->GetScheduledToastNotifications(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationUpdateResult) consume_Windows_UI_Notifications_IToastNotifier2::Update(winrt::Windows::UI::Notifications::NotificationData const& data, param::hstring const& tag, param::hstring const& group) const + template auto consume_Windows_UI_Notifications_IToastNotifier2::Update(winrt::Windows::UI::Notifications::NotificationData const& data, param::hstring const& tag, param::hstring const& group) const { winrt::Windows::UI::Notifications::NotificationUpdateResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier2)->UpdateWithTagAndGroup(*(void**)(&data), *(void**)(&tag), *(void**)(&group), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationUpdateResult) consume_Windows_UI_Notifications_IToastNotifier2::Update(winrt::Windows::UI::Notifications::NotificationData const& data, param::hstring const& tag) const + template auto consume_Windows_UI_Notifications_IToastNotifier2::Update(winrt::Windows::UI::Notifications::NotificationData const& data, param::hstring const& tag) const { winrt::Windows::UI::Notifications::NotificationUpdateResult result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier2)->UpdateWithTag(*(void**)(&data), *(void**)(&tag), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Notifications_IToastNotifier3::ScheduledToastNotificationShowing(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Notifications_IToastNotifier3::ScheduledToastNotificationShowing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier3)->add_ScheduledToastNotificationShowing(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Notifications_IToastNotifier3::ScheduledToastNotificationShowing_revoker consume_Windows_UI_Notifications_IToastNotifier3::ScheduledToastNotificationShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Notifications_IToastNotifier3::ScheduledToastNotificationShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ScheduledToastNotificationShowing(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotifier3::ScheduledToastNotificationShowing(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Notifications_IToastNotifier3::ScheduledToastNotificationShowing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier3)->remove_ScheduledToastNotificationShowing(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::Notification) consume_Windows_UI_Notifications_IUserNotification::Notification() const + template auto consume_Windows_UI_Notifications_IUserNotification::Notification() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IUserNotification)->get_Notification(&value)); return winrt::Windows::UI::Notifications::Notification{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_UI_Notifications_IUserNotification::AppInfo() const + template auto consume_Windows_UI_Notifications_IUserNotification::AppInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IUserNotification)->get_AppInfo(&value)); return winrt::Windows::ApplicationModel::AppInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Notifications_IUserNotification::Id() const + template auto consume_Windows_UI_Notifications_IUserNotification::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IUserNotification)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Notifications_IUserNotification::CreationTime() const + template auto consume_Windows_UI_Notifications_IUserNotification::CreationTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IUserNotification)->get_CreationTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::UserNotificationChangedKind) consume_Windows_UI_Notifications_IUserNotificationChangedEventArgs::ChangeKind() const + template auto consume_Windows_UI_Notifications_IUserNotificationChangedEventArgs::ChangeKind() const { winrt::Windows::UI::Notifications::UserNotificationChangedKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IUserNotificationChangedEventArgs)->get_ChangeKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Notifications_IUserNotificationChangedEventArgs::UserNotificationId() const + template auto consume_Windows_UI_Notifications_IUserNotificationChangedEventArgs::UserNotificationId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IUserNotificationChangedEventArgs)->get_UserNotificationId(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Popups.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Popups.h index bb59f81c..7f88b3d5 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Popups.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Popups.h @@ -1,158 +1,158 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Popups_H #define WINRT_Windows_UI_Popups_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.UI.Popups.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Popups_IMessageDialog::Title() const + template auto consume_Windows_UI_Popups_IMessageDialog::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Popups_IMessageDialog::Title(param::hstring const& value) const + template auto consume_Windows_UI_Popups_IMessageDialog::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Popups_IMessageDialog::Commands() const + template auto consume_Windows_UI_Popups_IMessageDialog::Commands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->get_Commands(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Popups_IMessageDialog::DefaultCommandIndex() const + template auto consume_Windows_UI_Popups_IMessageDialog::DefaultCommandIndex() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->get_DefaultCommandIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Popups_IMessageDialog::DefaultCommandIndex(uint32_t value) const + template auto consume_Windows_UI_Popups_IMessageDialog::DefaultCommandIndex(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->put_DefaultCommandIndex(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Popups_IMessageDialog::CancelCommandIndex() const + template auto consume_Windows_UI_Popups_IMessageDialog::CancelCommandIndex() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->get_CancelCommandIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Popups_IMessageDialog::CancelCommandIndex(uint32_t value) const + template auto consume_Windows_UI_Popups_IMessageDialog::CancelCommandIndex(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->put_CancelCommandIndex(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Popups_IMessageDialog::Content() const + template auto consume_Windows_UI_Popups_IMessageDialog::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->get_Content(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Popups_IMessageDialog::Content(param::hstring const& value) const + template auto consume_Windows_UI_Popups_IMessageDialog::Content(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->put_Content(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Popups_IMessageDialog::ShowAsync() const + template auto consume_Windows_UI_Popups_IMessageDialog::ShowAsync() const { void* messageDialogAsyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->ShowAsync(&messageDialogAsyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ messageDialogAsyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::MessageDialogOptions) consume_Windows_UI_Popups_IMessageDialog::Options() const + template auto consume_Windows_UI_Popups_IMessageDialog::Options() const { winrt::Windows::UI::Popups::MessageDialogOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->get_Options(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Popups_IMessageDialog::Options(winrt::Windows::UI::Popups::MessageDialogOptions const& value) const + template auto consume_Windows_UI_Popups_IMessageDialog::Options(winrt::Windows::UI::Popups::MessageDialogOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->put_Options(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::MessageDialog) consume_Windows_UI_Popups_IMessageDialogFactory::Create(param::hstring const& content) const + template auto consume_Windows_UI_Popups_IMessageDialogFactory::Create(param::hstring const& content) const { void* messageDialog{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialogFactory)->Create(*(void**)(&content), &messageDialog)); return winrt::Windows::UI::Popups::MessageDialog{ messageDialog, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::MessageDialog) consume_Windows_UI_Popups_IMessageDialogFactory::CreateWithTitle(param::hstring const& content, param::hstring const& title) const + template auto consume_Windows_UI_Popups_IMessageDialogFactory::CreateWithTitle(param::hstring const& content, param::hstring const& title) const { void* messageDialog{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialogFactory)->CreateWithTitle(*(void**)(&content), *(void**)(&title), &messageDialog)); return winrt::Windows::UI::Popups::MessageDialog{ messageDialog, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Popups_IPopupMenu::Commands() const + template auto consume_Windows_UI_Popups_IPopupMenu::Commands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IPopupMenu)->get_Commands(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Popups_IPopupMenu::ShowAsync(winrt::Windows::Foundation::Point const& invocationPoint) const + template auto consume_Windows_UI_Popups_IPopupMenu::ShowAsync(winrt::Windows::Foundation::Point const& invocationPoint) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IPopupMenu)->ShowAsync(impl::bind_in(invocationPoint), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Popups_IPopupMenu::ShowForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_UI_Popups_IPopupMenu::ShowForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IPopupMenu)->ShowAsyncWithRect(impl::bind_in(selection), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Popups_IPopupMenu::ShowForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const + template auto consume_Windows_UI_Popups_IPopupMenu::ShowForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { void* asyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IPopupMenu)->ShowAsyncWithRectAndPlacement(impl::bind_in(selection), static_cast(preferredPlacement), &asyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ asyncOperation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Popups_IUICommand::Label() const + template auto consume_Windows_UI_Popups_IUICommand::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IUICommand)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Popups_IUICommand::Label(param::hstring const& value) const + template auto consume_Windows_UI_Popups_IUICommand::Label(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IUICommand)->put_Label(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommandInvokedHandler) consume_Windows_UI_Popups_IUICommand::Invoked() const + template auto consume_Windows_UI_Popups_IUICommand::Invoked() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IUICommand)->get_Invoked(&value)); return winrt::Windows::UI::Popups::UICommandInvokedHandler{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Popups_IUICommand::Invoked(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const + template auto consume_Windows_UI_Popups_IUICommand::Invoked(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IUICommand)->put_Invoked(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Popups_IUICommand::Id() const + template auto consume_Windows_UI_Popups_IUICommand::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IUICommand)->get_Id(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Popups_IUICommand::Id(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Popups_IUICommand::Id(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IUICommand)->put_Id(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommand) consume_Windows_UI_Popups_IUICommandFactory::Create(param::hstring const& label) const + template auto consume_Windows_UI_Popups_IUICommandFactory::Create(param::hstring const& label) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IUICommandFactory)->Create(*(void**)(&label), &instance)); return winrt::Windows::UI::Popups::UICommand{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommand) consume_Windows_UI_Popups_IUICommandFactory::CreateWithHandler(param::hstring const& label, winrt::Windows::UI::Popups::UICommandInvokedHandler const& action) const + template auto consume_Windows_UI_Popups_IUICommandFactory::CreateWithHandler(param::hstring const& label, winrt::Windows::UI::Popups::UICommandInvokedHandler const& action) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IUICommandFactory)->CreateWithHandler(*(void**)(&label), *(void**)(&action), &instance)); return winrt::Windows::UI::Popups::UICommand{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommand) consume_Windows_UI_Popups_IUICommandFactory::CreateWithHandlerAndId(param::hstring const& label, winrt::Windows::UI::Popups::UICommandInvokedHandler const& action, winrt::Windows::Foundation::IInspectable const& commandId) const + template auto consume_Windows_UI_Popups_IUICommandFactory::CreateWithHandlerAndId(param::hstring const& label, winrt::Windows::UI::Popups::UICommandInvokedHandler const& action, winrt::Windows::Foundation::IInspectable const& commandId) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IUICommandFactory)->CreateWithHandlerAndId(*(void**)(&label), *(void**)(&action), *(void**)(&commandId), &instance)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Shell.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Shell.h index a6fb29af..3041dfbf 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Shell.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Shell.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Shell_H #define WINRT_Windows_UI_Shell_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.h" #include "winrt/impl/Windows.ApplicationModel.Core.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -13,87 +13,87 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Shell.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Shell_IAdaptiveCard::ToJson() const + template auto consume_Windows_UI_Shell_IAdaptiveCard::ToJson() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::IAdaptiveCard)->ToJson(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Shell::IAdaptiveCard) consume_Windows_UI_Shell_IAdaptiveCardBuilderStatics::CreateAdaptiveCardFromJson(param::hstring const& value) const + template auto consume_Windows_UI_Shell_IAdaptiveCardBuilderStatics::CreateAdaptiveCardFromJson(param::hstring const& value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::IAdaptiveCardBuilderStatics)->CreateAdaptiveCardFromJson(*(void**)(&value), &result)); return winrt::Windows::UI::Shell::IAdaptiveCard{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_UI_Shell_ISecurityAppManager::Register(winrt::Windows::UI::Shell::SecurityAppKind const& kind, param::hstring const& displayName, winrt::Windows::Foundation::Uri const& detailsUri, bool registerPerUser) const + template auto consume_Windows_UI_Shell_ISecurityAppManager::Register(winrt::Windows::UI::Shell::SecurityAppKind const& kind, param::hstring const& displayName, winrt::Windows::Foundation::Uri const& detailsUri, bool registerPerUser) const { winrt::guid result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ISecurityAppManager)->Register(static_cast(kind), *(void**)(&displayName), *(void**)(&detailsUri), registerPerUser, put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Shell_ISecurityAppManager::Unregister(winrt::Windows::UI::Shell::SecurityAppKind const& kind, winrt::guid const& guidRegistration) const + template auto consume_Windows_UI_Shell_ISecurityAppManager::Unregister(winrt::Windows::UI::Shell::SecurityAppKind const& kind, winrt::guid const& guidRegistration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ISecurityAppManager)->Unregister(static_cast(kind), impl::bind_in(guidRegistration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Shell_ISecurityAppManager::UpdateState(winrt::Windows::UI::Shell::SecurityAppKind const& kind, winrt::guid const& guidRegistration, winrt::Windows::UI::Shell::SecurityAppState const& state, winrt::Windows::UI::Shell::SecurityAppSubstatus const& substatus, winrt::Windows::Foundation::Uri const& detailsUri) const + template auto consume_Windows_UI_Shell_ISecurityAppManager::UpdateState(winrt::Windows::UI::Shell::SecurityAppKind const& kind, winrt::guid const& guidRegistration, winrt::Windows::UI::Shell::SecurityAppState const& state, winrt::Windows::UI::Shell::SecurityAppSubstatus const& substatus, winrt::Windows::Foundation::Uri const& detailsUri) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ISecurityAppManager)->UpdateState(static_cast(kind), impl::bind_in(guidRegistration), static_cast(state), static_cast(substatus), *(void**)(&detailsUri))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Shell_ITaskbarManager::IsSupported() const + template auto consume_Windows_UI_Shell_ITaskbarManager::IsSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ITaskbarManager)->get_IsSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Shell_ITaskbarManager::IsPinningAllowed() const + template auto consume_Windows_UI_Shell_ITaskbarManager::IsPinningAllowed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ITaskbarManager)->get_IsPinningAllowed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Shell_ITaskbarManager::IsCurrentAppPinnedAsync() const + template auto consume_Windows_UI_Shell_ITaskbarManager::IsCurrentAppPinnedAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ITaskbarManager)->IsCurrentAppPinnedAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Shell_ITaskbarManager::IsAppListEntryPinnedAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const + template auto consume_Windows_UI_Shell_ITaskbarManager::IsAppListEntryPinnedAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ITaskbarManager)->IsAppListEntryPinnedAsync(*(void**)(&appListEntry), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Shell_ITaskbarManager::RequestPinCurrentAppAsync() const + template auto consume_Windows_UI_Shell_ITaskbarManager::RequestPinCurrentAppAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ITaskbarManager)->RequestPinCurrentAppAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Shell_ITaskbarManager::RequestPinAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const + template auto consume_Windows_UI_Shell_ITaskbarManager::RequestPinAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ITaskbarManager)->RequestPinAppListEntryAsync(*(void**)(&appListEntry), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Shell_ITaskbarManager2::IsSecondaryTilePinnedAsync(param::hstring const& tileId) const + template auto consume_Windows_UI_Shell_ITaskbarManager2::IsSecondaryTilePinnedAsync(param::hstring const& tileId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ITaskbarManager2)->IsSecondaryTilePinnedAsync(*(void**)(&tileId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Shell_ITaskbarManager2::RequestPinSecondaryTileAsync(winrt::Windows::UI::StartScreen::SecondaryTile const& secondaryTile) const + template auto consume_Windows_UI_Shell_ITaskbarManager2::RequestPinSecondaryTileAsync(winrt::Windows::UI::StartScreen::SecondaryTile const& secondaryTile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ITaskbarManager2)->RequestPinSecondaryTileAsync(*(void**)(&secondaryTile), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Shell_ITaskbarManager2::TryUnpinSecondaryTileAsync(param::hstring const& tileId) const + template auto consume_Windows_UI_Shell_ITaskbarManager2::TryUnpinSecondaryTileAsync(param::hstring const& tileId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ITaskbarManager2)->TryUnpinSecondaryTileAsync(*(void**)(&tileId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Shell::TaskbarManager) consume_Windows_UI_Shell_ITaskbarManagerStatics::GetDefault() const + template auto consume_Windows_UI_Shell_ITaskbarManagerStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ITaskbarManagerStatics)->GetDefault(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.StartScreen.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.StartScreen.h index 8eab4d28..8fc61397 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.StartScreen.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.StartScreen.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_StartScreen_H #define WINRT_Windows_UI_StartScreen_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.h" #include "winrt/impl/Windows.ApplicationModel.Core.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -17,605 +17,605 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.StartScreen.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_StartScreen_IJumpList::Items() const + template auto consume_Windows_UI_StartScreen_IJumpList::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpList)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::JumpListSystemGroupKind) consume_Windows_UI_StartScreen_IJumpList::SystemGroupKind() const + template auto consume_Windows_UI_StartScreen_IJumpList::SystemGroupKind() const { winrt::Windows::UI::StartScreen::JumpListSystemGroupKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpList)->get_SystemGroupKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_IJumpList::SystemGroupKind(winrt::Windows::UI::StartScreen::JumpListSystemGroupKind const& value) const + template auto consume_Windows_UI_StartScreen_IJumpList::SystemGroupKind(winrt::Windows::UI::StartScreen::JumpListSystemGroupKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpList)->put_SystemGroupKind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_StartScreen_IJumpList::SaveAsync() const + template auto consume_Windows_UI_StartScreen_IJumpList::SaveAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpList)->SaveAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::JumpListItemKind) consume_Windows_UI_StartScreen_IJumpListItem::Kind() const + template auto consume_Windows_UI_StartScreen_IJumpListItem::Kind() const { winrt::Windows::UI::StartScreen::JumpListItemKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_IJumpListItem::Arguments() const + template auto consume_Windows_UI_StartScreen_IJumpListItem::Arguments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->get_Arguments(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_IJumpListItem::RemovedByUser() const + template auto consume_Windows_UI_StartScreen_IJumpListItem::RemovedByUser() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->get_RemovedByUser(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_IJumpListItem::Description() const + template auto consume_Windows_UI_StartScreen_IJumpListItem::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_IJumpListItem::Description(param::hstring const& value) const + template auto consume_Windows_UI_StartScreen_IJumpListItem::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_IJumpListItem::DisplayName() const + template auto consume_Windows_UI_StartScreen_IJumpListItem::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_IJumpListItem::DisplayName(param::hstring const& value) const + template auto consume_Windows_UI_StartScreen_IJumpListItem::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_IJumpListItem::GroupName() const + template auto consume_Windows_UI_StartScreen_IJumpListItem::GroupName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->get_GroupName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_IJumpListItem::GroupName(param::hstring const& value) const + template auto consume_Windows_UI_StartScreen_IJumpListItem::GroupName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->put_GroupName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_IJumpListItem::Logo() const + template auto consume_Windows_UI_StartScreen_IJumpListItem::Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->get_Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_IJumpListItem::Logo(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_StartScreen_IJumpListItem::Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->put_Logo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::JumpListItem) consume_Windows_UI_StartScreen_IJumpListItemStatics::CreateWithArguments(param::hstring const& arguments, param::hstring const& displayName) const + template auto consume_Windows_UI_StartScreen_IJumpListItemStatics::CreateWithArguments(param::hstring const& arguments, param::hstring const& displayName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItemStatics)->CreateWithArguments(*(void**)(&arguments), *(void**)(&displayName), &result)); return winrt::Windows::UI::StartScreen::JumpListItem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::JumpListItem) consume_Windows_UI_StartScreen_IJumpListItemStatics::CreateSeparator() const + template auto consume_Windows_UI_StartScreen_IJumpListItemStatics::CreateSeparator() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItemStatics)->CreateSeparator(&result)); return winrt::Windows::UI::StartScreen::JumpListItem{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_StartScreen_IJumpListStatics::LoadCurrentAsync() const + template auto consume_Windows_UI_StartScreen_IJumpListStatics::LoadCurrentAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListStatics)->LoadCurrentAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_IJumpListStatics::IsSupported() const + template auto consume_Windows_UI_StartScreen_IJumpListStatics::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListStatics)->IsSupported(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile::TileId(param::hstring const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::TileId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_TileId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_ISecondaryTile::TileId() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::TileId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_TileId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile::Arguments(param::hstring const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::Arguments(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_Arguments(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_ISecondaryTile::Arguments() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::Arguments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_Arguments(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile::ShortName(param::hstring const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::ShortName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_ShortName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_ISecondaryTile::ShortName() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::ShortName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_ShortName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile::DisplayName(param::hstring const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_ISecondaryTile::DisplayName() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile::Logo(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_Logo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTile::Logo() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile::SmallLogo(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::SmallLogo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_SmallLogo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTile::SmallLogo() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::SmallLogo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_SmallLogo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile::WideLogo(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::WideLogo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_WideLogo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTile::WideLogo() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::WideLogo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_WideLogo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile::LockScreenBadgeLogo(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::LockScreenBadgeLogo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_LockScreenBadgeLogo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTile::LockScreenBadgeLogo() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::LockScreenBadgeLogo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_LockScreenBadgeLogo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile::LockScreenDisplayBadgeAndTileText(bool value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::LockScreenDisplayBadgeAndTileText(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_LockScreenDisplayBadgeAndTileText(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_ISecondaryTile::LockScreenDisplayBadgeAndTileText() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::LockScreenDisplayBadgeAndTileText() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_LockScreenDisplayBadgeAndTileText(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile::TileOptions(winrt::Windows::UI::StartScreen::TileOptions const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::TileOptions(winrt::Windows::UI::StartScreen::TileOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_TileOptions(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::TileOptions) consume_Windows_UI_StartScreen_ISecondaryTile::TileOptions() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::TileOptions() const { winrt::Windows::UI::StartScreen::TileOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_TileOptions(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile::ForegroundText(winrt::Windows::UI::StartScreen::ForegroundText const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::ForegroundText(winrt::Windows::UI::StartScreen::ForegroundText const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_ForegroundText(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::ForegroundText) consume_Windows_UI_StartScreen_ISecondaryTile::ForegroundText() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::ForegroundText() const { winrt::Windows::UI::StartScreen::ForegroundText value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_ForegroundText(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile::BackgroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::BackgroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_BackgroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_StartScreen_ISecondaryTile::BackgroundColor() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::BackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_BackgroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_StartScreen_ISecondaryTile::RequestCreateAsync() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::RequestCreateAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestCreateAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_StartScreen_ISecondaryTile::RequestCreateAsync(winrt::Windows::Foundation::Point const& invocationPoint) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::RequestCreateAsync(winrt::Windows::Foundation::Point const& invocationPoint) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestCreateAsyncWithPoint(impl::bind_in(invocationPoint), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_StartScreen_ISecondaryTile::RequestCreateForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::RequestCreateForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestCreateAsyncWithRect(impl::bind_in(selection), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_StartScreen_ISecondaryTile::RequestCreateForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::RequestCreateForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestCreateAsyncWithRectAndPlacement(impl::bind_in(selection), static_cast(preferredPlacement), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_StartScreen_ISecondaryTile::RequestDeleteAsync() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::RequestDeleteAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestDeleteAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_StartScreen_ISecondaryTile::RequestDeleteAsync(winrt::Windows::Foundation::Point const& invocationPoint) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::RequestDeleteAsync(winrt::Windows::Foundation::Point const& invocationPoint) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestDeleteAsyncWithPoint(impl::bind_in(invocationPoint), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_StartScreen_ISecondaryTile::RequestDeleteForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::RequestDeleteForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestDeleteAsyncWithRect(impl::bind_in(selection), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_StartScreen_ISecondaryTile::RequestDeleteForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::RequestDeleteForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestDeleteAsyncWithRectAndPlacement(impl::bind_in(selection), static_cast(preferredPlacement), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_StartScreen_ISecondaryTile::UpdateAsync() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile::UpdateAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->UpdateAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile2::PhoneticName(param::hstring const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile2::PhoneticName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->put_PhoneticName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_ISecondaryTile2::PhoneticName() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile2::PhoneticName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->get_PhoneticName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTileVisualElements) consume_Windows_UI_StartScreen_ISecondaryTile2::VisualElements() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile2::VisualElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->get_VisualElements(&value)); return winrt::Windows::UI::StartScreen::SecondaryTileVisualElements{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile2::RoamingEnabled(bool value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile2::RoamingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->put_RoamingEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_ISecondaryTile2::RoamingEnabled() const + template auto consume_Windows_UI_StartScreen_ISecondaryTile2::RoamingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->get_RoamingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_StartScreen_ISecondaryTile2::VisualElementsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile2::VisualElementsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->add_VisualElementsRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_StartScreen_ISecondaryTile2::VisualElementsRequested_revoker consume_Windows_UI_StartScreen_ISecondaryTile2::VisualElementsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_StartScreen_ISecondaryTile2::VisualElementsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, VisualElementsRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile2::VisualElementsRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_StartScreen_ISecondaryTile2::VisualElementsRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->remove_VisualElementsRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTile) consume_Windows_UI_StartScreen_ISecondaryTileFactory::CreateTile(param::hstring const& tileId, param::hstring const& shortName, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::UI::StartScreen::TileOptions const& tileOptions, winrt::Windows::Foundation::Uri const& logoReference) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileFactory::CreateTile(param::hstring const& tileId, param::hstring const& shortName, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::UI::StartScreen::TileOptions const& tileOptions, winrt::Windows::Foundation::Uri const& logoReference) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileFactory)->CreateTile(*(void**)(&tileId), *(void**)(&shortName), *(void**)(&displayName), *(void**)(&arguments), static_cast(tileOptions), *(void**)(&logoReference), &value)); return winrt::Windows::UI::StartScreen::SecondaryTile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTile) consume_Windows_UI_StartScreen_ISecondaryTileFactory::CreateWideTile(param::hstring const& tileId, param::hstring const& shortName, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::UI::StartScreen::TileOptions const& tileOptions, winrt::Windows::Foundation::Uri const& logoReference, winrt::Windows::Foundation::Uri const& wideLogoReference) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileFactory::CreateWideTile(param::hstring const& tileId, param::hstring const& shortName, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::UI::StartScreen::TileOptions const& tileOptions, winrt::Windows::Foundation::Uri const& logoReference, winrt::Windows::Foundation::Uri const& wideLogoReference) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileFactory)->CreateWideTile(*(void**)(&tileId), *(void**)(&shortName), *(void**)(&displayName), *(void**)(&arguments), static_cast(tileOptions), *(void**)(&logoReference), *(void**)(&wideLogoReference), &value)); return winrt::Windows::UI::StartScreen::SecondaryTile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTile) consume_Windows_UI_StartScreen_ISecondaryTileFactory::CreateWithId(param::hstring const& tileId) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileFactory::CreateWithId(param::hstring const& tileId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileFactory)->CreateWithId(*(void**)(&tileId), &value)); return winrt::Windows::UI::StartScreen::SecondaryTile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTile) consume_Windows_UI_StartScreen_ISecondaryTileFactory2::CreateMinimalTile(param::hstring const& tileId, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::Foundation::Uri const& square150x150Logo, winrt::Windows::UI::StartScreen::TileSize const& desiredSize) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileFactory2::CreateMinimalTile(param::hstring const& tileId, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::Foundation::Uri const& square150x150Logo, winrt::Windows::UI::StartScreen::TileSize const& desiredSize) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileFactory2)->CreateMinimalTile(*(void**)(&tileId), *(void**)(&displayName), *(void**)(&arguments), *(void**)(&square150x150Logo), static_cast(desiredSize), &value)); return winrt::Windows::UI::StartScreen::SecondaryTile{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_ISecondaryTileStatics::Exists(param::hstring const& tileId) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileStatics::Exists(param::hstring const& tileId) const { bool exists{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileStatics)->Exists(*(void**)(&tileId), &exists)); return exists; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_UI_StartScreen_ISecondaryTileStatics::FindAllAsync() const + template auto consume_Windows_UI_StartScreen_ISecondaryTileStatics::FindAllAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileStatics)->FindAllAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_UI_StartScreen_ISecondaryTileStatics::FindAllAsync(param::hstring const& applicationId) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileStatics::FindAllAsync(param::hstring const& applicationId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileStatics)->FindAllForApplicationAsync(*(void**)(&applicationId), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_UI_StartScreen_ISecondaryTileStatics::FindAllForPackageAsync() const + template auto consume_Windows_UI_StartScreen_ISecondaryTileStatics::FindAllForPackageAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileStatics)->FindAllForPackageAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square30x30Logo(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square30x30Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_Square30x30Logo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square30x30Logo() const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square30x30Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_Square30x30Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square70x70Logo(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square70x70Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_Square70x70Logo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square70x70Logo() const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square70x70Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_Square70x70Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square150x150Logo(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square150x150Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_Square150x150Logo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square150x150Logo() const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square150x150Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_Square150x150Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Wide310x150Logo(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Wide310x150Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_Wide310x150Logo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Wide310x150Logo() const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Wide310x150Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_Wide310x150Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square310x310Logo(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square310x310Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_Square310x310Logo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square310x310Logo() const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square310x310Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_Square310x310Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ForegroundText(winrt::Windows::UI::StartScreen::ForegroundText const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ForegroundText(winrt::Windows::UI::StartScreen::ForegroundText const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_ForegroundText(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::ForegroundText) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ForegroundText() const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ForegroundText() const { winrt::Windows::UI::StartScreen::ForegroundText value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_ForegroundText(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::BackgroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::BackgroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_BackgroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::BackgroundColor() const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::BackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_BackgroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnSquare150x150Logo(bool value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnSquare150x150Logo(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_ShowNameOnSquare150x150Logo(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnSquare150x150Logo() const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnSquare150x150Logo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_ShowNameOnSquare150x150Logo(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnWide310x150Logo(bool value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnWide310x150Logo(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_ShowNameOnWide310x150Logo(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnWide310x150Logo() const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnWide310x150Logo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_ShowNameOnWide310x150Logo(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnSquare310x310Logo(bool value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnSquare310x310Logo(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_ShowNameOnSquare310x310Logo(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnSquare310x310Logo() const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnSquare310x310Logo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_ShowNameOnSquare310x310Logo(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements2::Square71x71Logo(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements2::Square71x71Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements2)->put_Square71x71Logo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements2::Square71x71Logo() const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements2::Square71x71Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements2)->get_Square71x71Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements3::Square44x44Logo(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements3::Square44x44Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements3)->put_Square44x44Logo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements3::Square44x44Logo() const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements3::Square44x44Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements3)->get_Square44x44Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::TileMixedRealityModel) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements4::MixedRealityModel() const + template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements4::MixedRealityModel() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements4)->get_MixedRealityModel(&value)); return winrt::Windows::UI::StartScreen::TileMixedRealityModel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_UI_StartScreen_IStartScreenManager::User() const + template auto consume_Windows_UI_StartScreen_IStartScreenManager::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IStartScreenManager)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_IStartScreenManager::SupportsAppListEntry(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const + template auto consume_Windows_UI_StartScreen_IStartScreenManager::SupportsAppListEntry(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IStartScreenManager)->SupportsAppListEntry(*(void**)(&appListEntry), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_StartScreen_IStartScreenManager::ContainsAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const + template auto consume_Windows_UI_StartScreen_IStartScreenManager::ContainsAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IStartScreenManager)->ContainsAppListEntryAsync(*(void**)(&appListEntry), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_StartScreen_IStartScreenManager::RequestAddAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const + template auto consume_Windows_UI_StartScreen_IStartScreenManager::RequestAddAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IStartScreenManager)->RequestAddAppListEntryAsync(*(void**)(&appListEntry), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_StartScreen_IStartScreenManager2::ContainsSecondaryTileAsync(param::hstring const& tileId) const + template auto consume_Windows_UI_StartScreen_IStartScreenManager2::ContainsSecondaryTileAsync(param::hstring const& tileId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IStartScreenManager2)->ContainsSecondaryTileAsync(*(void**)(&tileId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_StartScreen_IStartScreenManager2::TryRemoveSecondaryTileAsync(param::hstring const& tileId) const + template auto consume_Windows_UI_StartScreen_IStartScreenManager2::TryRemoveSecondaryTileAsync(param::hstring const& tileId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IStartScreenManager2)->TryRemoveSecondaryTileAsync(*(void**)(&tileId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::StartScreenManager) consume_Windows_UI_StartScreen_IStartScreenManagerStatics::GetDefault() const + template auto consume_Windows_UI_StartScreen_IStartScreenManagerStatics::GetDefault() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IStartScreenManagerStatics)->GetDefault(&value)); return winrt::Windows::UI::StartScreen::StartScreenManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::StartScreenManager) consume_Windows_UI_StartScreen_IStartScreenManagerStatics::GetForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_UI_StartScreen_IStartScreenManagerStatics::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IStartScreenManagerStatics)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::UI::StartScreen::StartScreenManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ITileMixedRealityModel::Uri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_StartScreen_ITileMixedRealityModel::Uri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel)->put_Uri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ITileMixedRealityModel::Uri() const + template auto consume_Windows_UI_StartScreen_ITileMixedRealityModel::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ITileMixedRealityModel::BoundingBox(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_StartScreen_ITileMixedRealityModel::BoundingBox(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel)->put_BoundingBox(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_StartScreen_ITileMixedRealityModel::BoundingBox() const + template auto consume_Windows_UI_StartScreen_ITileMixedRealityModel::BoundingBox() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel)->get_BoundingBox(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ITileMixedRealityModel2::ActivationBehavior(winrt::Windows::UI::StartScreen::TileMixedRealityModelActivationBehavior const& value) const + template auto consume_Windows_UI_StartScreen_ITileMixedRealityModel2::ActivationBehavior(winrt::Windows::UI::StartScreen::TileMixedRealityModelActivationBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel2)->put_ActivationBehavior(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::TileMixedRealityModelActivationBehavior) consume_Windows_UI_StartScreen_ITileMixedRealityModel2::ActivationBehavior() const + template auto consume_Windows_UI_StartScreen_ITileMixedRealityModel2::ActivationBehavior() const { winrt::Windows::UI::StartScreen::TileMixedRealityModelActivationBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel2)->get_ActivationBehavior(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTileVisualElements) consume_Windows_UI_StartScreen_IVisualElementsRequest::VisualElements() const + template auto consume_Windows_UI_StartScreen_IVisualElementsRequest::VisualElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IVisualElementsRequest)->get_VisualElements(&value)); return winrt::Windows::UI::StartScreen::SecondaryTileVisualElements{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_StartScreen_IVisualElementsRequest::AlternateVisualElements() const + template auto consume_Windows_UI_StartScreen_IVisualElementsRequest::AlternateVisualElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IVisualElementsRequest)->get_AlternateVisualElements(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_StartScreen_IVisualElementsRequest::Deadline() const + template auto consume_Windows_UI_StartScreen_IVisualElementsRequest::Deadline() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IVisualElementsRequest)->get_Deadline(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::VisualElementsRequestDeferral) consume_Windows_UI_StartScreen_IVisualElementsRequest::GetDeferral() const + template auto consume_Windows_UI_StartScreen_IVisualElementsRequest::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IVisualElementsRequest)->GetDeferral(&deferral)); return winrt::Windows::UI::StartScreen::VisualElementsRequestDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_IVisualElementsRequestDeferral::Complete() const + template auto consume_Windows_UI_StartScreen_IVisualElementsRequestDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IVisualElementsRequestDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::VisualElementsRequest) consume_Windows_UI_StartScreen_IVisualElementsRequestedEventArgs::Request() const + template auto consume_Windows_UI_StartScreen_IVisualElementsRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IVisualElementsRequestedEventArgs)->get_Request(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Text.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Text.Core.h index 210034ef..b7587795 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Text.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Text.Core.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Text_Core_H #define WINRT_Windows_UI_Text_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Text.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,531 +15,531 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Text.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextCompositionCompletedEventArgs::IsCanceled() const + template auto consume_Windows_UI_Text_Core_ICoreTextCompositionCompletedEventArgs::IsCanceled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextCompositionCompletedEventArgs)->get_IsCanceled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Text_Core_ICoreTextCompositionCompletedEventArgs::CompositionSegments() const + template auto consume_Windows_UI_Text_Core_ICoreTextCompositionCompletedEventArgs::CompositionSegments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextCompositionCompletedEventArgs)->get_CompositionSegments(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Text_Core_ICoreTextCompositionCompletedEventArgs::GetDeferral() const + template auto consume_Windows_UI_Text_Core_ICoreTextCompositionCompletedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextCompositionCompletedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_Core_ICoreTextCompositionSegment::PreconversionString() const + template auto consume_Windows_UI_Text_Core_ICoreTextCompositionSegment::PreconversionString() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextCompositionSegment)->get_PreconversionString(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) consume_Windows_UI_Text_Core_ICoreTextCompositionSegment::Range() const + template auto consume_Windows_UI_Text_Core_ICoreTextCompositionSegment::Range() const { winrt::Windows::UI::Text::Core::CoreTextRange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextCompositionSegment)->get_Range(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextCompositionStartedEventArgs::IsCanceled() const + template auto consume_Windows_UI_Text_Core_ICoreTextCompositionStartedEventArgs::IsCanceled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextCompositionStartedEventArgs)->get_IsCanceled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Text_Core_ICoreTextCompositionStartedEventArgs::GetDeferral() const + template auto consume_Windows_UI_Text_Core_ICoreTextCompositionStartedEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextCompositionStartedEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_Core_ICoreTextEditContext::Name() const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::Name(param::hstring const& value) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextInputScope) consume_Windows_UI_Text_Core_ICoreTextEditContext::InputScope() const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::InputScope() const { winrt::Windows::UI::Text::Core::CoreTextInputScope value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->get_InputScope(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::InputScope(winrt::Windows::UI::Text::Core::CoreTextInputScope const& value) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::InputScope(winrt::Windows::UI::Text::Core::CoreTextInputScope const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->put_InputScope(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextEditContext::IsReadOnly() const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::IsReadOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->get_IsReadOnly(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::IsReadOnly(bool value) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::IsReadOnly(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->put_IsReadOnly(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextInputPaneDisplayPolicy) consume_Windows_UI_Text_Core_ICoreTextEditContext::InputPaneDisplayPolicy() const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::InputPaneDisplayPolicy() const { winrt::Windows::UI::Text::Core::CoreTextInputPaneDisplayPolicy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->get_InputPaneDisplayPolicy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::InputPaneDisplayPolicy(winrt::Windows::UI::Text::Core::CoreTextInputPaneDisplayPolicy const& value) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::InputPaneDisplayPolicy(winrt::Windows::UI::Text::Core::CoreTextInputPaneDisplayPolicy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->put_InputPaneDisplayPolicy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext::TextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::TextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->add_TextRequested(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Text_Core_ICoreTextEditContext::TextRequested_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext::TextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::TextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::TextRequested(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::TextRequested(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_TextRequested(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext::SelectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::SelectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->add_SelectionRequested(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Text_Core_ICoreTextEditContext::SelectionRequested_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext::SelectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::SelectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::SelectionRequested(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::SelectionRequested(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_SelectionRequested(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext::LayoutRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::LayoutRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->add_LayoutRequested(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Text_Core_ICoreTextEditContext::LayoutRequested_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext::LayoutRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::LayoutRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LayoutRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::LayoutRequested(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::LayoutRequested(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_LayoutRequested(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext::TextUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::TextUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->add_TextUpdating(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Text_Core_ICoreTextEditContext::TextUpdating_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext::TextUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::TextUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextUpdating(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::TextUpdating(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::TextUpdating(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_TextUpdating(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext::SelectionUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::SelectionUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->add_SelectionUpdating(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Text_Core_ICoreTextEditContext::SelectionUpdating_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext::SelectionUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::SelectionUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionUpdating(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::SelectionUpdating(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::SelectionUpdating(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_SelectionUpdating(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext::FormatUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::FormatUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->add_FormatUpdating(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Text_Core_ICoreTextEditContext::FormatUpdating_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext::FormatUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::FormatUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FormatUpdating(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::FormatUpdating(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::FormatUpdating(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_FormatUpdating(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext::CompositionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::CompositionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->add_CompositionStarted(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Text_Core_ICoreTextEditContext::CompositionStarted_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext::CompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::CompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CompositionStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::CompositionStarted(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::CompositionStarted(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_CompositionStarted(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext::CompositionCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::CompositionCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->add_CompositionCompleted(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Text_Core_ICoreTextEditContext::CompositionCompleted_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext::CompositionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::CompositionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CompositionCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::CompositionCompleted(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::CompositionCompleted(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_CompositionCompleted(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext::FocusRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::FocusRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->add_FocusRemoved(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Text_Core_ICoreTextEditContext::FocusRemoved_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext::FocusRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::FocusRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FocusRemoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::FocusRemoved(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::FocusRemoved(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_FocusRemoved(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::NotifyFocusEnter() const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::NotifyFocusEnter() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->NotifyFocusEnter()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::NotifyFocusLeave() const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::NotifyFocusLeave() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->NotifyFocusLeave()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::NotifyTextChanged(winrt::Windows::UI::Text::Core::CoreTextRange const& modifiedRange, int32_t newLength, winrt::Windows::UI::Text::Core::CoreTextRange const& newSelection) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::NotifyTextChanged(winrt::Windows::UI::Text::Core::CoreTextRange const& modifiedRange, int32_t newLength, winrt::Windows::UI::Text::Core::CoreTextRange const& newSelection) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->NotifyTextChanged(impl::bind_in(modifiedRange), newLength, impl::bind_in(newSelection))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::NotifySelectionChanged(winrt::Windows::UI::Text::Core::CoreTextRange const& selection) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::NotifySelectionChanged(winrt::Windows::UI::Text::Core::CoreTextRange const& selection) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->NotifySelectionChanged(impl::bind_in(selection))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext::NotifyLayoutChanged() const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext::NotifyLayoutChanged() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->NotifyLayoutChanged()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext2::NotifyFocusLeaveCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext2::NotifyFocusLeaveCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext2)->add_NotifyFocusLeaveCompleted(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Text_Core_ICoreTextEditContext2::NotifyFocusLeaveCompleted_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext2::NotifyFocusLeaveCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext2::NotifyFocusLeaveCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NotifyFocusLeaveCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext2::NotifyFocusLeaveCompleted(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Text_Core_ICoreTextEditContext2::NotifyFocusLeaveCompleted(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext2)->remove_NotifyFocusLeaveCompleted(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::Range() const + template auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::Range() const { winrt::Windows::UI::Text::Core::CoreTextRange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->get_Range(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::TextColor() const + template auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::TextColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->get_TextColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::BackgroundColor() const + template auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::BackgroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->get_BackgroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::UnderlineColor() const + template auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::UnderlineColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->get_UnderlineColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::UnderlineType() const + template auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::UnderlineType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->get_UnderlineType(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingReason) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::Reason() const + template auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::Reason() const { winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingResult) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::Result() const + template auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::Result() const { winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->get_Result(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::Result(winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingResult const& value) const + template auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::Result(winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingResult const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->put_Result(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::IsCanceled() const + template auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::IsCanceled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->get_IsCanceled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::GetDeferral() const + template auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Text_Core_ICoreTextLayoutBounds::TextBounds() const + template auto consume_Windows_UI_Text_Core_ICoreTextLayoutBounds::TextBounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextLayoutBounds)->get_TextBounds(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextLayoutBounds::TextBounds(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_UI_Text_Core_ICoreTextLayoutBounds::TextBounds(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextLayoutBounds)->put_TextBounds(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Text_Core_ICoreTextLayoutBounds::ControlBounds() const + template auto consume_Windows_UI_Text_Core_ICoreTextLayoutBounds::ControlBounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextLayoutBounds)->get_ControlBounds(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextLayoutBounds::ControlBounds(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_UI_Text_Core_ICoreTextLayoutBounds::ControlBounds(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextLayoutBounds)->put_ControlBounds(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) consume_Windows_UI_Text_Core_ICoreTextLayoutRequest::Range() const + template auto consume_Windows_UI_Text_Core_ICoreTextLayoutRequest::Range() const { winrt::Windows::UI::Text::Core::CoreTextRange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextLayoutRequest)->get_Range(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextLayoutBounds) consume_Windows_UI_Text_Core_ICoreTextLayoutRequest::LayoutBounds() const + template auto consume_Windows_UI_Text_Core_ICoreTextLayoutRequest::LayoutBounds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextLayoutRequest)->get_LayoutBounds(&value)); return winrt::Windows::UI::Text::Core::CoreTextLayoutBounds{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextLayoutRequest::IsCanceled() const + template auto consume_Windows_UI_Text_Core_ICoreTextLayoutRequest::IsCanceled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextLayoutRequest)->get_IsCanceled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Text_Core_ICoreTextLayoutRequest::GetDeferral() const + template auto consume_Windows_UI_Text_Core_ICoreTextLayoutRequest::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextLayoutRequest)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextLayoutBounds) consume_Windows_UI_Text_Core_ICoreTextLayoutRequest2::LayoutBoundsVisualPixels() const + template auto consume_Windows_UI_Text_Core_ICoreTextLayoutRequest2::LayoutBoundsVisualPixels() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextLayoutRequest2)->get_LayoutBoundsVisualPixels(&value)); return winrt::Windows::UI::Text::Core::CoreTextLayoutBounds{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextLayoutRequest) consume_Windows_UI_Text_Core_ICoreTextLayoutRequestedEventArgs::Request() const + template auto consume_Windows_UI_Text_Core_ICoreTextLayoutRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextLayoutRequestedEventArgs)->get_Request(&value)); return winrt::Windows::UI::Text::Core::CoreTextLayoutRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) consume_Windows_UI_Text_Core_ICoreTextSelectionRequest::Selection() const + template auto consume_Windows_UI_Text_Core_ICoreTextSelectionRequest::Selection() const { winrt::Windows::UI::Text::Core::CoreTextRange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextSelectionRequest)->get_Selection(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextSelectionRequest::Selection(winrt::Windows::UI::Text::Core::CoreTextRange const& value) const + template auto consume_Windows_UI_Text_Core_ICoreTextSelectionRequest::Selection(winrt::Windows::UI::Text::Core::CoreTextRange const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextSelectionRequest)->put_Selection(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextSelectionRequest::IsCanceled() const + template auto consume_Windows_UI_Text_Core_ICoreTextSelectionRequest::IsCanceled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextSelectionRequest)->get_IsCanceled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Text_Core_ICoreTextSelectionRequest::GetDeferral() const + template auto consume_Windows_UI_Text_Core_ICoreTextSelectionRequest::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextSelectionRequest)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextSelectionRequest) consume_Windows_UI_Text_Core_ICoreTextSelectionRequestedEventArgs::Request() const + template auto consume_Windows_UI_Text_Core_ICoreTextSelectionRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextSelectionRequestedEventArgs)->get_Request(&value)); return winrt::Windows::UI::Text::Core::CoreTextSelectionRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs::Selection() const + template auto consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs::Selection() const { winrt::Windows::UI::Text::Core::CoreTextRange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextSelectionUpdatingEventArgs)->get_Selection(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingResult) consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs::Result() const + template auto consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs::Result() const { winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextSelectionUpdatingEventArgs)->get_Result(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs::Result(winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingResult const& value) const + template auto consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs::Result(winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingResult const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextSelectionUpdatingEventArgs)->put_Result(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs::IsCanceled() const + template auto consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs::IsCanceled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextSelectionUpdatingEventArgs)->get_IsCanceled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs::GetDeferral() const + template auto consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextSelectionUpdatingEventArgs)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) consume_Windows_UI_Text_Core_ICoreTextServicesManager::InputLanguage() const + template auto consume_Windows_UI_Text_Core_ICoreTextServicesManager::InputLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextServicesManager)->get_InputLanguage(&value)); return winrt::Windows::Globalization::Language{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextServicesManager::InputLanguageChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextServicesManager::InputLanguageChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextServicesManager)->add_InputLanguageChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_Text_Core_ICoreTextServicesManager::InputLanguageChanged_revoker consume_Windows_UI_Text_Core_ICoreTextServicesManager::InputLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Text_Core_ICoreTextServicesManager::InputLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, InputLanguageChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextServicesManager::InputLanguageChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_Text_Core_ICoreTextServicesManager::InputLanguageChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextServicesManager)->remove_InputLanguageChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextEditContext) consume_Windows_UI_Text_Core_ICoreTextServicesManager::CreateEditContext() const + template auto consume_Windows_UI_Text_Core_ICoreTextServicesManager::CreateEditContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextServicesManager)->CreateEditContext(&value)); return winrt::Windows::UI::Text::Core::CoreTextEditContext{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextServicesManager) consume_Windows_UI_Text_Core_ICoreTextServicesManagerStatics::GetForCurrentView() const + template auto consume_Windows_UI_Text_Core_ICoreTextServicesManagerStatics::GetForCurrentView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextServicesManagerStatics)->GetForCurrentView(&value)); return winrt::Windows::UI::Text::Core::CoreTextServicesManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(char16_t) consume_Windows_UI_Text_Core_ICoreTextServicesStatics::HiddenCharacter() const + template auto consume_Windows_UI_Text_Core_ICoreTextServicesStatics::HiddenCharacter() const { char16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextServicesStatics)->get_HiddenCharacter(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) consume_Windows_UI_Text_Core_ICoreTextTextRequest::Range() const + template auto consume_Windows_UI_Text_Core_ICoreTextTextRequest::Range() const { winrt::Windows::UI::Text::Core::CoreTextRange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextRequest)->get_Range(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_Core_ICoreTextTextRequest::Text() const + template auto consume_Windows_UI_Text_Core_ICoreTextTextRequest::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextRequest)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextTextRequest::Text(param::hstring const& value) const + template auto consume_Windows_UI_Text_Core_ICoreTextTextRequest::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextRequest)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextTextRequest::IsCanceled() const + template auto consume_Windows_UI_Text_Core_ICoreTextTextRequest::IsCanceled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextRequest)->get_IsCanceled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Text_Core_ICoreTextTextRequest::GetDeferral() const + template auto consume_Windows_UI_Text_Core_ICoreTextTextRequest::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextRequest)->GetDeferral(&value)); return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextTextRequest) consume_Windows_UI_Text_Core_ICoreTextTextRequestedEventArgs::Request() const + template auto consume_Windows_UI_Text_Core_ICoreTextTextRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextRequestedEventArgs)->get_Request(&value)); return winrt::Windows::UI::Text::Core::CoreTextTextRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs::Range() const + template auto consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs::Range() const { winrt::Windows::UI::Text::Core::CoreTextRange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextUpdatingEventArgs)->get_Range(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs::Text() const + template auto consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextUpdatingEventArgs)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs::NewSelection() const + template auto consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs::NewSelection() const { winrt::Windows::UI::Text::Core::CoreTextRange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextUpdatingEventArgs)->get_NewSelection(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs::InputLanguage() const + template auto consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs::InputLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextUpdatingEventArgs)->get_InputLanguage(&value)); return winrt::Windows::Globalization::Language{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextTextUpdatingResult) consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs::Result() const + template auto consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs::Result() const { winrt::Windows::UI::Text::Core::CoreTextTextUpdatingResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextUpdatingEventArgs)->get_Result(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs::Result(winrt::Windows::UI::Text::Core::CoreTextTextUpdatingResult const& value) const + template auto consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs::Result(winrt::Windows::UI::Text::Core::CoreTextTextUpdatingResult const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextUpdatingEventArgs)->put_Result(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs::IsCanceled() const + template auto consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs::IsCanceled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextUpdatingEventArgs)->get_IsCanceled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs::GetDeferral() const + template auto consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs::GetDeferral() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextUpdatingEventArgs)->GetDeferral(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Text.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Text.h index 79a1b787..c61576e6 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Text.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Text.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Text_H #define WINRT_Windows_UI_Text_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" @@ -13,1155 +13,1155 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Text.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Text_IContentLinkInfo::Id() const + template auto consume_Windows_UI_Text_IContentLinkInfo::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IContentLinkInfo)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_IContentLinkInfo::Id(uint32_t value) const + template auto consume_Windows_UI_Text_IContentLinkInfo::Id(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IContentLinkInfo)->put_Id(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_IContentLinkInfo::DisplayText() const + template auto consume_Windows_UI_Text_IContentLinkInfo::DisplayText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IContentLinkInfo)->get_DisplayText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_IContentLinkInfo::DisplayText(param::hstring const& value) const + template auto consume_Windows_UI_Text_IContentLinkInfo::DisplayText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IContentLinkInfo)->put_DisplayText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_IContentLinkInfo::SecondaryText() const + template auto consume_Windows_UI_Text_IContentLinkInfo::SecondaryText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IContentLinkInfo)->get_SecondaryText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_IContentLinkInfo::SecondaryText(param::hstring const& value) const + template auto consume_Windows_UI_Text_IContentLinkInfo::SecondaryText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IContentLinkInfo)->put_SecondaryText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Text_IContentLinkInfo::Uri() const + template auto consume_Windows_UI_Text_IContentLinkInfo::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IContentLinkInfo)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_IContentLinkInfo::Uri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Text_IContentLinkInfo::Uri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IContentLinkInfo)->put_Uri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_IContentLinkInfo::LinkContentKind() const + template auto consume_Windows_UI_Text_IContentLinkInfo::LinkContentKind() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IContentLinkInfo)->get_LinkContentKind(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_IContentLinkInfo::LinkContentKind(param::hstring const& value) const + template auto consume_Windows_UI_Text_IContentLinkInfo::LinkContentKind(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IContentLinkInfo)->put_LinkContentKind(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics::Black() const + template auto consume_Windows_UI_Text_IFontWeightsStatics::Black() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IFontWeightsStatics)->get_Black(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics::Bold() const + template auto consume_Windows_UI_Text_IFontWeightsStatics::Bold() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IFontWeightsStatics)->get_Bold(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics::ExtraBlack() const + template auto consume_Windows_UI_Text_IFontWeightsStatics::ExtraBlack() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IFontWeightsStatics)->get_ExtraBlack(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics::ExtraBold() const + template auto consume_Windows_UI_Text_IFontWeightsStatics::ExtraBold() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IFontWeightsStatics)->get_ExtraBold(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics::ExtraLight() const + template auto consume_Windows_UI_Text_IFontWeightsStatics::ExtraLight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IFontWeightsStatics)->get_ExtraLight(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics::Light() const + template auto consume_Windows_UI_Text_IFontWeightsStatics::Light() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IFontWeightsStatics)->get_Light(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics::Medium() const + template auto consume_Windows_UI_Text_IFontWeightsStatics::Medium() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IFontWeightsStatics)->get_Medium(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics::Normal() const + template auto consume_Windows_UI_Text_IFontWeightsStatics::Normal() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IFontWeightsStatics)->get_Normal(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics::SemiBold() const + template auto consume_Windows_UI_Text_IFontWeightsStatics::SemiBold() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IFontWeightsStatics)->get_SemiBold(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics::SemiLight() const + template auto consume_Windows_UI_Text_IFontWeightsStatics::SemiLight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IFontWeightsStatics)->get_SemiLight(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics::Thin() const + template auto consume_Windows_UI_Text_IFontWeightsStatics::Thin() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IFontWeightsStatics)->get_Thin(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ContentLinkInfo) consume_Windows_UI_Text_IRichEditTextRange::ContentLinkInfo() const + template auto consume_Windows_UI_Text_IRichEditTextRange::ContentLinkInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IRichEditTextRange)->get_ContentLinkInfo(&value)); return winrt::Windows::UI::Text::ContentLinkInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_IRichEditTextRange::ContentLinkInfo(winrt::Windows::UI::Text::ContentLinkInfo const& value) const + template auto consume_Windows_UI_Text_IRichEditTextRange::ContentLinkInfo(winrt::Windows::UI::Text::ContentLinkInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IRichEditTextRange)->put_ContentLinkInfo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat::AllCaps() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::AllCaps() const { winrt::Windows::UI::Text::FormatEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_AllCaps(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::AllCaps(winrt::Windows::UI::Text::FormatEffect const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::AllCaps(winrt::Windows::UI::Text::FormatEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_AllCaps(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Text_ITextCharacterFormat::BackgroundColor() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::BackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_BackgroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::BackgroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::BackgroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_BackgroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat::Bold() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Bold() const { winrt::Windows::UI::Text::FormatEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Bold(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::Bold(winrt::Windows::UI::Text::FormatEffect const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Bold(winrt::Windows::UI::Text::FormatEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Bold(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) consume_Windows_UI_Text_ITextCharacterFormat::FontStretch() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::FontStretch() const { winrt::Windows::UI::Text::FontStretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_FontStretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_FontStretch(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Text_ITextCharacterFormat::FontStyle() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::FontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_FontStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_FontStyle(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Text_ITextCharacterFormat::ForegroundColor() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::ForegroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_ForegroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::ForegroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::ForegroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_ForegroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat::Hidden() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Hidden() const { winrt::Windows::UI::Text::FormatEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Hidden(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::Hidden(winrt::Windows::UI::Text::FormatEffect const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Hidden(winrt::Windows::UI::Text::FormatEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Hidden(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat::Italic() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Italic() const { winrt::Windows::UI::Text::FormatEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Italic(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::Italic(winrt::Windows::UI::Text::FormatEffect const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Italic(winrt::Windows::UI::Text::FormatEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Italic(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextCharacterFormat::Kerning() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Kerning() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Kerning(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::Kerning(float value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Kerning(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Kerning(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_ITextCharacterFormat::LanguageTag() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::LanguageTag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_LanguageTag(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::LanguageTag(param::hstring const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::LanguageTag(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_LanguageTag(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::LinkType) consume_Windows_UI_Text_ITextCharacterFormat::LinkType() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::LinkType() const { winrt::Windows::UI::Text::LinkType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_LinkType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_ITextCharacterFormat::Name() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::Name(param::hstring const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat::Outline() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Outline() const { winrt::Windows::UI::Text::FormatEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Outline(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::Outline(winrt::Windows::UI::Text::FormatEffect const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Outline(winrt::Windows::UI::Text::FormatEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Outline(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextCharacterFormat::Position() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Position() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Position(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::Position(float value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Position(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Position(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat::ProtectedText() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::ProtectedText() const { winrt::Windows::UI::Text::FormatEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_ProtectedText(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::ProtectedText(winrt::Windows::UI::Text::FormatEffect const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::ProtectedText(winrt::Windows::UI::Text::FormatEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_ProtectedText(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextCharacterFormat::Size() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Size() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Size(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::Size(float value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Size(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Size(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat::SmallCaps() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::SmallCaps() const { winrt::Windows::UI::Text::FormatEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_SmallCaps(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::SmallCaps(winrt::Windows::UI::Text::FormatEffect const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::SmallCaps(winrt::Windows::UI::Text::FormatEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_SmallCaps(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextCharacterFormat::Spacing() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Spacing() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Spacing(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::Spacing(float value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Spacing(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Spacing(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat::Strikethrough() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Strikethrough() const { winrt::Windows::UI::Text::FormatEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Strikethrough(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::Strikethrough(winrt::Windows::UI::Text::FormatEffect const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Strikethrough(winrt::Windows::UI::Text::FormatEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Strikethrough(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat::Subscript() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Subscript() const { winrt::Windows::UI::Text::FormatEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Subscript(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::Subscript(winrt::Windows::UI::Text::FormatEffect const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Subscript(winrt::Windows::UI::Text::FormatEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Subscript(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat::Superscript() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Superscript() const { winrt::Windows::UI::Text::FormatEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Superscript(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::Superscript(winrt::Windows::UI::Text::FormatEffect const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Superscript(winrt::Windows::UI::Text::FormatEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Superscript(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::TextScript) consume_Windows_UI_Text_ITextCharacterFormat::TextScript() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::TextScript() const { winrt::Windows::UI::Text::TextScript value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_TextScript(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::TextScript(winrt::Windows::UI::Text::TextScript const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::TextScript(winrt::Windows::UI::Text::TextScript const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_TextScript(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::UnderlineType) consume_Windows_UI_Text_ITextCharacterFormat::Underline() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Underline() const { winrt::Windows::UI::Text::UnderlineType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Underline(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::Underline(winrt::Windows::UI::Text::UnderlineType const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Underline(winrt::Windows::UI::Text::UnderlineType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Underline(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextCharacterFormat::Weight() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Weight() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Weight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::Weight(int32_t value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::Weight(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Weight(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat::SetClone(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::SetClone(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->SetClone(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextCharacterFormat) consume_Windows_UI_Text_ITextCharacterFormat::GetClone() const + template auto consume_Windows_UI_Text_ITextCharacterFormat::GetClone() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->GetClone(&result)); return winrt::Windows::UI::Text::ITextCharacterFormat{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextCharacterFormat::IsEqual(winrt::Windows::UI::Text::ITextCharacterFormat const& format) const + template auto consume_Windows_UI_Text_ITextCharacterFormat::IsEqual(winrt::Windows::UI::Text::ITextCharacterFormat const& format) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->IsEqual(*(void**)(&format), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Text_ITextConstantsStatics::AutoColor() const + template auto consume_Windows_UI_Text_ITextConstantsStatics::AutoColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextConstantsStatics)->get_AutoColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextConstantsStatics::MinUnitCount() const + template auto consume_Windows_UI_Text_ITextConstantsStatics::MinUnitCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextConstantsStatics)->get_MinUnitCount(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextConstantsStatics::MaxUnitCount() const + template auto consume_Windows_UI_Text_ITextConstantsStatics::MaxUnitCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextConstantsStatics)->get_MaxUnitCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Text_ITextConstantsStatics::UndefinedColor() const + template auto consume_Windows_UI_Text_ITextConstantsStatics::UndefinedColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextConstantsStatics)->get_UndefinedColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextConstantsStatics::UndefinedFloatValue() const + template auto consume_Windows_UI_Text_ITextConstantsStatics::UndefinedFloatValue() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextConstantsStatics)->get_UndefinedFloatValue(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextConstantsStatics::UndefinedInt32Value() const + template auto consume_Windows_UI_Text_ITextConstantsStatics::UndefinedInt32Value() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextConstantsStatics)->get_UndefinedInt32Value(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) consume_Windows_UI_Text_ITextConstantsStatics::UndefinedFontStretch() const + template auto consume_Windows_UI_Text_ITextConstantsStatics::UndefinedFontStretch() const { winrt::Windows::UI::Text::FontStretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextConstantsStatics)->get_UndefinedFontStretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Text_ITextConstantsStatics::UndefinedFontStyle() const + template auto consume_Windows_UI_Text_ITextConstantsStatics::UndefinedFontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextConstantsStatics)->get_UndefinedFontStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::CaretType) consume_Windows_UI_Text_ITextDocument::CaretType() const + template auto consume_Windows_UI_Text_ITextDocument::CaretType() const { winrt::Windows::UI::Text::CaretType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->get_CaretType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument::CaretType(winrt::Windows::UI::Text::CaretType const& value) const + template auto consume_Windows_UI_Text_ITextDocument::CaretType(winrt::Windows::UI::Text::CaretType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->put_CaretType(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextDocument::DefaultTabStop() const + template auto consume_Windows_UI_Text_ITextDocument::DefaultTabStop() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->get_DefaultTabStop(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument::DefaultTabStop(float value) const + template auto consume_Windows_UI_Text_ITextDocument::DefaultTabStop(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->put_DefaultTabStop(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextSelection) consume_Windows_UI_Text_ITextDocument::Selection() const + template auto consume_Windows_UI_Text_ITextDocument::Selection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->get_Selection(&value)); return winrt::Windows::UI::Text::ITextSelection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Text_ITextDocument::UndoLimit() const + template auto consume_Windows_UI_Text_ITextDocument::UndoLimit() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->get_UndoLimit(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument::UndoLimit(uint32_t value) const + template auto consume_Windows_UI_Text_ITextDocument::UndoLimit(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->put_UndoLimit(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextDocument::CanCopy() const + template auto consume_Windows_UI_Text_ITextDocument::CanCopy() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->CanCopy(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextDocument::CanPaste() const + template auto consume_Windows_UI_Text_ITextDocument::CanPaste() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->CanPaste(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextDocument::CanRedo() const + template auto consume_Windows_UI_Text_ITextDocument::CanRedo() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->CanRedo(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextDocument::CanUndo() const + template auto consume_Windows_UI_Text_ITextDocument::CanUndo() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->CanUndo(&result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextDocument::ApplyDisplayUpdates() const + template auto consume_Windows_UI_Text_ITextDocument::ApplyDisplayUpdates() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->ApplyDisplayUpdates(&result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextDocument::BatchDisplayUpdates() const + template auto consume_Windows_UI_Text_ITextDocument::BatchDisplayUpdates() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->BatchDisplayUpdates(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument::BeginUndoGroup() const + template auto consume_Windows_UI_Text_ITextDocument::BeginUndoGroup() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->BeginUndoGroup()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument::EndUndoGroup() const + template auto consume_Windows_UI_Text_ITextDocument::EndUndoGroup() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->EndUndoGroup()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextCharacterFormat) consume_Windows_UI_Text_ITextDocument::GetDefaultCharacterFormat() const + template auto consume_Windows_UI_Text_ITextDocument::GetDefaultCharacterFormat() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->GetDefaultCharacterFormat(&result)); return winrt::Windows::UI::Text::ITextCharacterFormat{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextParagraphFormat) consume_Windows_UI_Text_ITextDocument::GetDefaultParagraphFormat() const + template auto consume_Windows_UI_Text_ITextDocument::GetDefaultParagraphFormat() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->GetDefaultParagraphFormat(&result)); return winrt::Windows::UI::Text::ITextParagraphFormat{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextRange) consume_Windows_UI_Text_ITextDocument::GetRange(int32_t startPosition, int32_t endPosition) const + template auto consume_Windows_UI_Text_ITextDocument::GetRange(int32_t startPosition, int32_t endPosition) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->GetRange(startPosition, endPosition, &result)); return winrt::Windows::UI::Text::ITextRange{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextRange) consume_Windows_UI_Text_ITextDocument::GetRangeFromPoint(winrt::Windows::Foundation::Point const& point, winrt::Windows::UI::Text::PointOptions const& options) const + template auto consume_Windows_UI_Text_ITextDocument::GetRangeFromPoint(winrt::Windows::Foundation::Point const& point, winrt::Windows::UI::Text::PointOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->GetRangeFromPoint(impl::bind_in(point), static_cast(options), &result)); return winrt::Windows::UI::Text::ITextRange{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument::GetText(winrt::Windows::UI::Text::TextGetOptions const& options, hstring& value) const + template auto consume_Windows_UI_Text_ITextDocument::GetText(winrt::Windows::UI::Text::TextGetOptions const& options, hstring& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->GetText(static_cast(options), impl::bind_out(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument::LoadFromStream(winrt::Windows::UI::Text::TextSetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const + template auto consume_Windows_UI_Text_ITextDocument::LoadFromStream(winrt::Windows::UI::Text::TextSetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->LoadFromStream(static_cast(options), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument::Redo() const + template auto consume_Windows_UI_Text_ITextDocument::Redo() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->Redo()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument::SaveToStream(winrt::Windows::UI::Text::TextGetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const + template auto consume_Windows_UI_Text_ITextDocument::SaveToStream(winrt::Windows::UI::Text::TextGetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->SaveToStream(static_cast(options), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument::SetDefaultCharacterFormat(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const + template auto consume_Windows_UI_Text_ITextDocument::SetDefaultCharacterFormat(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->SetDefaultCharacterFormat(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument::SetDefaultParagraphFormat(winrt::Windows::UI::Text::ITextParagraphFormat const& value) const + template auto consume_Windows_UI_Text_ITextDocument::SetDefaultParagraphFormat(winrt::Windows::UI::Text::ITextParagraphFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->SetDefaultParagraphFormat(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument::SetText(winrt::Windows::UI::Text::TextSetOptions const& options, param::hstring const& value) const + template auto consume_Windows_UI_Text_ITextDocument::SetText(winrt::Windows::UI::Text::TextSetOptions const& options, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->SetText(static_cast(options), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument::Undo() const + template auto consume_Windows_UI_Text_ITextDocument::Undo() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->Undo()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextDocument2::AlignmentIncludesTrailingWhitespace() const + template auto consume_Windows_UI_Text_ITextDocument2::AlignmentIncludesTrailingWhitespace() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument2)->get_AlignmentIncludesTrailingWhitespace(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument2::AlignmentIncludesTrailingWhitespace(bool value) const + template auto consume_Windows_UI_Text_ITextDocument2::AlignmentIncludesTrailingWhitespace(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument2)->put_AlignmentIncludesTrailingWhitespace(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextDocument2::IgnoreTrailingCharacterSpacing() const + template auto consume_Windows_UI_Text_ITextDocument2::IgnoreTrailingCharacterSpacing() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument2)->get_IgnoreTrailingCharacterSpacing(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument2::IgnoreTrailingCharacterSpacing(bool value) const + template auto consume_Windows_UI_Text_ITextDocument2::IgnoreTrailingCharacterSpacing(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument2)->put_IgnoreTrailingCharacterSpacing(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument3::ClearUndoRedoHistory() const + template auto consume_Windows_UI_Text_ITextDocument3::ClearUndoRedoHistory() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument3)->ClearUndoRedoHistory()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument4::SetMath(param::hstring const& value) const + template auto consume_Windows_UI_Text_ITextDocument4::SetMath(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument4)->SetMath(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument4::GetMath(hstring& value) const + template auto consume_Windows_UI_Text_ITextDocument4::GetMath(hstring& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument4)->GetMath(impl::bind_out(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument4::SetMathMode(winrt::Windows::UI::Text::RichEditMathMode const& mode) const + template auto consume_Windows_UI_Text_ITextDocument4::SetMathMode(winrt::Windows::UI::Text::RichEditMathMode const& mode) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument4)->SetMathMode(static_cast(mode))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ParagraphAlignment) consume_Windows_UI_Text_ITextParagraphFormat::Alignment() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::Alignment() const { winrt::Windows::UI::Text::ParagraphAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_Alignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::Alignment(winrt::Windows::UI::Text::ParagraphAlignment const& value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::Alignment(winrt::Windows::UI::Text::ParagraphAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_Alignment(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextParagraphFormat::FirstLineIndent() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::FirstLineIndent() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_FirstLineIndent(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextParagraphFormat::KeepTogether() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::KeepTogether() const { winrt::Windows::UI::Text::FormatEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_KeepTogether(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::KeepTogether(winrt::Windows::UI::Text::FormatEffect const& value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::KeepTogether(winrt::Windows::UI::Text::FormatEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_KeepTogether(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextParagraphFormat::KeepWithNext() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::KeepWithNext() const { winrt::Windows::UI::Text::FormatEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_KeepWithNext(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::KeepWithNext(winrt::Windows::UI::Text::FormatEffect const& value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::KeepWithNext(winrt::Windows::UI::Text::FormatEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_KeepWithNext(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextParagraphFormat::LeftIndent() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::LeftIndent() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_LeftIndent(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextParagraphFormat::LineSpacing() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::LineSpacing() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_LineSpacing(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::LineSpacingRule) consume_Windows_UI_Text_ITextParagraphFormat::LineSpacingRule() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::LineSpacingRule() const { winrt::Windows::UI::Text::LineSpacingRule value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_LineSpacingRule(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::MarkerAlignment) consume_Windows_UI_Text_ITextParagraphFormat::ListAlignment() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::ListAlignment() const { winrt::Windows::UI::Text::MarkerAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_ListAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::ListAlignment(winrt::Windows::UI::Text::MarkerAlignment const& value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::ListAlignment(winrt::Windows::UI::Text::MarkerAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_ListAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextParagraphFormat::ListLevelIndex() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::ListLevelIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_ListLevelIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::ListLevelIndex(int32_t value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::ListLevelIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_ListLevelIndex(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextParagraphFormat::ListStart() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::ListStart() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_ListStart(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::ListStart(int32_t value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::ListStart(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_ListStart(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::MarkerStyle) consume_Windows_UI_Text_ITextParagraphFormat::ListStyle() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::ListStyle() const { winrt::Windows::UI::Text::MarkerStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_ListStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::ListStyle(winrt::Windows::UI::Text::MarkerStyle const& value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::ListStyle(winrt::Windows::UI::Text::MarkerStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_ListStyle(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextParagraphFormat::ListTab() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::ListTab() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_ListTab(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::ListTab(float value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::ListTab(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_ListTab(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::MarkerType) consume_Windows_UI_Text_ITextParagraphFormat::ListType() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::ListType() const { winrt::Windows::UI::Text::MarkerType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_ListType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::ListType(winrt::Windows::UI::Text::MarkerType const& value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::ListType(winrt::Windows::UI::Text::MarkerType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_ListType(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextParagraphFormat::NoLineNumber() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::NoLineNumber() const { winrt::Windows::UI::Text::FormatEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_NoLineNumber(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::NoLineNumber(winrt::Windows::UI::Text::FormatEffect const& value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::NoLineNumber(winrt::Windows::UI::Text::FormatEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_NoLineNumber(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextParagraphFormat::PageBreakBefore() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::PageBreakBefore() const { winrt::Windows::UI::Text::FormatEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_PageBreakBefore(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::PageBreakBefore(winrt::Windows::UI::Text::FormatEffect const& value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::PageBreakBefore(winrt::Windows::UI::Text::FormatEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_PageBreakBefore(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextParagraphFormat::RightIndent() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::RightIndent() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_RightIndent(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::RightIndent(float value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::RightIndent(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_RightIndent(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextParagraphFormat::RightToLeft() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::RightToLeft() const { winrt::Windows::UI::Text::FormatEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_RightToLeft(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::RightToLeft(winrt::Windows::UI::Text::FormatEffect const& value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::RightToLeft(winrt::Windows::UI::Text::FormatEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_RightToLeft(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ParagraphStyle) consume_Windows_UI_Text_ITextParagraphFormat::Style() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::Style() const { winrt::Windows::UI::Text::ParagraphStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_Style(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::Style(winrt::Windows::UI::Text::ParagraphStyle const& value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::Style(winrt::Windows::UI::Text::ParagraphStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_Style(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextParagraphFormat::SpaceAfter() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::SpaceAfter() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_SpaceAfter(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::SpaceAfter(float value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::SpaceAfter(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_SpaceAfter(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextParagraphFormat::SpaceBefore() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::SpaceBefore() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_SpaceBefore(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::SpaceBefore(float value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::SpaceBefore(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_SpaceBefore(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextParagraphFormat::WidowControl() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::WidowControl() const { winrt::Windows::UI::Text::FormatEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_WidowControl(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::WidowControl(winrt::Windows::UI::Text::FormatEffect const& value) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::WidowControl(winrt::Windows::UI::Text::FormatEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_WidowControl(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextParagraphFormat::TabCount() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::TabCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_TabCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::AddTab(float position, winrt::Windows::UI::Text::TabAlignment const& align, winrt::Windows::UI::Text::TabLeader const& leader) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::AddTab(float position, winrt::Windows::UI::Text::TabAlignment const& align, winrt::Windows::UI::Text::TabLeader const& leader) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->AddTab(position, static_cast(align), static_cast(leader))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::ClearAllTabs() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::ClearAllTabs() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->ClearAllTabs()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::DeleteTab(float position) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::DeleteTab(float position) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->DeleteTab(position)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextParagraphFormat) consume_Windows_UI_Text_ITextParagraphFormat::GetClone() const + template auto consume_Windows_UI_Text_ITextParagraphFormat::GetClone() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->GetClone(&result)); return winrt::Windows::UI::Text::ITextParagraphFormat{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::GetTab(int32_t index, float& position, winrt::Windows::UI::Text::TabAlignment& align, winrt::Windows::UI::Text::TabLeader& leader) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::GetTab(int32_t index, float& position, winrt::Windows::UI::Text::TabAlignment& align, winrt::Windows::UI::Text::TabLeader& leader) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->GetTab(index, &position, reinterpret_cast(&align), reinterpret_cast(&leader))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextParagraphFormat::IsEqual(winrt::Windows::UI::Text::ITextParagraphFormat const& format) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::IsEqual(winrt::Windows::UI::Text::ITextParagraphFormat const& format) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->IsEqual(*(void**)(&format), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::SetClone(winrt::Windows::UI::Text::ITextParagraphFormat const& format) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::SetClone(winrt::Windows::UI::Text::ITextParagraphFormat const& format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->SetClone(*(void**)(&format))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::SetIndents(float start, float left, float right) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::SetIndents(float start, float left, float right) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->SetIndents(start, left, right)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat::SetLineSpacing(winrt::Windows::UI::Text::LineSpacingRule const& rule, float spacing) const + template auto consume_Windows_UI_Text_ITextParagraphFormat::SetLineSpacing(winrt::Windows::UI::Text::LineSpacingRule const& rule, float spacing) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->SetLineSpacing(static_cast(rule), spacing)); } - template WINRT_IMPL_AUTO(char16_t) consume_Windows_UI_Text_ITextRange::Character() const + template auto consume_Windows_UI_Text_ITextRange::Character() const { char16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_Character(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::Character(char16_t value) const + template auto consume_Windows_UI_Text_ITextRange::Character(char16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_Character(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextCharacterFormat) consume_Windows_UI_Text_ITextRange::CharacterFormat() const + template auto consume_Windows_UI_Text_ITextRange::CharacterFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_CharacterFormat(&value)); return winrt::Windows::UI::Text::ITextCharacterFormat{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::CharacterFormat(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const + template auto consume_Windows_UI_Text_ITextRange::CharacterFormat(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_CharacterFormat(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextRange) consume_Windows_UI_Text_ITextRange::FormattedText() const + template auto consume_Windows_UI_Text_ITextRange::FormattedText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_FormattedText(&value)); return winrt::Windows::UI::Text::ITextRange{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::FormattedText(winrt::Windows::UI::Text::ITextRange const& value) const + template auto consume_Windows_UI_Text_ITextRange::FormattedText(winrt::Windows::UI::Text::ITextRange const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_FormattedText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange::EndPosition() const + template auto consume_Windows_UI_Text_ITextRange::EndPosition() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_EndPosition(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::EndPosition(int32_t value) const + template auto consume_Windows_UI_Text_ITextRange::EndPosition(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_EndPosition(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::RangeGravity) consume_Windows_UI_Text_ITextRange::Gravity() const + template auto consume_Windows_UI_Text_ITextRange::Gravity() const { winrt::Windows::UI::Text::RangeGravity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_Gravity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::Gravity(winrt::Windows::UI::Text::RangeGravity const& value) const + template auto consume_Windows_UI_Text_ITextRange::Gravity(winrt::Windows::UI::Text::RangeGravity const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_Gravity(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange::Length() const + template auto consume_Windows_UI_Text_ITextRange::Length() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_ITextRange::Link() const + template auto consume_Windows_UI_Text_ITextRange::Link() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_Link(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::Link(param::hstring const& value) const + template auto consume_Windows_UI_Text_ITextRange::Link(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_Link(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextParagraphFormat) consume_Windows_UI_Text_ITextRange::ParagraphFormat() const + template auto consume_Windows_UI_Text_ITextRange::ParagraphFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_ParagraphFormat(&value)); return winrt::Windows::UI::Text::ITextParagraphFormat{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::ParagraphFormat(winrt::Windows::UI::Text::ITextParagraphFormat const& value) const + template auto consume_Windows_UI_Text_ITextRange::ParagraphFormat(winrt::Windows::UI::Text::ITextParagraphFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_ParagraphFormat(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange::StartPosition() const + template auto consume_Windows_UI_Text_ITextRange::StartPosition() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_StartPosition(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::StartPosition(int32_t value) const + template auto consume_Windows_UI_Text_ITextRange::StartPosition(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_StartPosition(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange::StoryLength() const + template auto consume_Windows_UI_Text_ITextRange::StoryLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_StoryLength(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_ITextRange::Text() const + template auto consume_Windows_UI_Text_ITextRange::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::Text(param::hstring const& value) const + template auto consume_Windows_UI_Text_ITextRange::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextRange::CanPaste(int32_t format) const + template auto consume_Windows_UI_Text_ITextRange::CanPaste(int32_t format) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->CanPaste(format, &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::ChangeCase(winrt::Windows::UI::Text::LetterCase const& value) const + template auto consume_Windows_UI_Text_ITextRange::ChangeCase(winrt::Windows::UI::Text::LetterCase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->ChangeCase(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::Collapse(bool value) const + template auto consume_Windows_UI_Text_ITextRange::Collapse(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->Collapse(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::Copy() const + template auto consume_Windows_UI_Text_ITextRange::Copy() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->Copy()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::Cut() const + template auto consume_Windows_UI_Text_ITextRange::Cut() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->Cut()); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange::Delete(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const + template auto consume_Windows_UI_Text_ITextRange::Delete(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->Delete(static_cast(unit), count, &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange::EndOf(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const + template auto consume_Windows_UI_Text_ITextRange::EndOf(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->EndOf(static_cast(unit), extend, &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange::Expand(winrt::Windows::UI::Text::TextRangeUnit const& unit) const + template auto consume_Windows_UI_Text_ITextRange::Expand(winrt::Windows::UI::Text::TextRangeUnit const& unit) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->Expand(static_cast(unit), &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange::FindText(param::hstring const& value, int32_t scanLength, winrt::Windows::UI::Text::FindOptions const& options) const + template auto consume_Windows_UI_Text_ITextRange::FindText(param::hstring const& value, int32_t scanLength, winrt::Windows::UI::Text::FindOptions const& options) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->FindText(*(void**)(&value), scanLength, static_cast(options), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::GetCharacterUtf32(uint32_t& value, int32_t offset) const + template auto consume_Windows_UI_Text_ITextRange::GetCharacterUtf32(uint32_t& value, int32_t offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->GetCharacterUtf32(&value, offset)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextRange) consume_Windows_UI_Text_ITextRange::GetClone() const + template auto consume_Windows_UI_Text_ITextRange::GetClone() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->GetClone(&result)); return winrt::Windows::UI::Text::ITextRange{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange::GetIndex(winrt::Windows::UI::Text::TextRangeUnit const& unit) const + template auto consume_Windows_UI_Text_ITextRange::GetIndex(winrt::Windows::UI::Text::TextRangeUnit const& unit) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->GetIndex(static_cast(unit), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::GetPoint(winrt::Windows::UI::Text::HorizontalCharacterAlignment const& horizontalAlign, winrt::Windows::UI::Text::VerticalCharacterAlignment const& verticalAlign, winrt::Windows::UI::Text::PointOptions const& options, winrt::Windows::Foundation::Point& point) const + template auto consume_Windows_UI_Text_ITextRange::GetPoint(winrt::Windows::UI::Text::HorizontalCharacterAlignment const& horizontalAlign, winrt::Windows::UI::Text::VerticalCharacterAlignment const& verticalAlign, winrt::Windows::UI::Text::PointOptions const& options, winrt::Windows::Foundation::Point& point) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->GetPoint(static_cast(horizontalAlign), static_cast(verticalAlign), static_cast(options), impl::bind_out(point))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::GetRect(winrt::Windows::UI::Text::PointOptions const& options, winrt::Windows::Foundation::Rect& rect, int32_t& hit) const + template auto consume_Windows_UI_Text_ITextRange::GetRect(winrt::Windows::UI::Text::PointOptions const& options, winrt::Windows::Foundation::Rect& rect, int32_t& hit) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->GetRect(static_cast(options), impl::bind_out(rect), &hit)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::GetText(winrt::Windows::UI::Text::TextGetOptions const& options, hstring& value) const + template auto consume_Windows_UI_Text_ITextRange::GetText(winrt::Windows::UI::Text::TextGetOptions const& options, hstring& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->GetText(static_cast(options), impl::bind_out(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::GetTextViaStream(winrt::Windows::UI::Text::TextGetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const + template auto consume_Windows_UI_Text_ITextRange::GetTextViaStream(winrt::Windows::UI::Text::TextGetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->GetTextViaStream(static_cast(options), *(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextRange::InRange(winrt::Windows::UI::Text::ITextRange const& range) const + template auto consume_Windows_UI_Text_ITextRange::InRange(winrt::Windows::UI::Text::ITextRange const& range) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->InRange(*(void**)(&range), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::InsertImage(int32_t width, int32_t height, int32_t ascent, winrt::Windows::UI::Text::VerticalCharacterAlignment const& verticalAlign, param::hstring const& alternateText, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const + template auto consume_Windows_UI_Text_ITextRange::InsertImage(int32_t width, int32_t height, int32_t ascent, winrt::Windows::UI::Text::VerticalCharacterAlignment const& verticalAlign, param::hstring const& alternateText, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->InsertImage(width, height, ascent, static_cast(verticalAlign), *(void**)(&alternateText), *(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextRange::InStory(winrt::Windows::UI::Text::ITextRange const& range) const + template auto consume_Windows_UI_Text_ITextRange::InStory(winrt::Windows::UI::Text::ITextRange const& range) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->InStory(*(void**)(&range), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextRange::IsEqual(winrt::Windows::UI::Text::ITextRange const& range) const + template auto consume_Windows_UI_Text_ITextRange::IsEqual(winrt::Windows::UI::Text::ITextRange const& range) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->IsEqual(*(void**)(&range), &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange::Move(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const + template auto consume_Windows_UI_Text_ITextRange::Move(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->Move(static_cast(unit), count, &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange::MoveEnd(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const + template auto consume_Windows_UI_Text_ITextRange::MoveEnd(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->MoveEnd(static_cast(unit), count, &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange::MoveStart(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const + template auto consume_Windows_UI_Text_ITextRange::MoveStart(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->MoveStart(static_cast(unit), count, &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::Paste(int32_t format) const + template auto consume_Windows_UI_Text_ITextRange::Paste(int32_t format) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->Paste(format)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::ScrollIntoView(winrt::Windows::UI::Text::PointOptions const& value) const + template auto consume_Windows_UI_Text_ITextRange::ScrollIntoView(winrt::Windows::UI::Text::PointOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->ScrollIntoView(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::MatchSelection() const + template auto consume_Windows_UI_Text_ITextRange::MatchSelection() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->MatchSelection()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::SetIndex(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t index, bool extend) const + template auto consume_Windows_UI_Text_ITextRange::SetIndex(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t index, bool extend) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->SetIndex(static_cast(unit), index, extend)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::SetPoint(winrt::Windows::Foundation::Point const& point, winrt::Windows::UI::Text::PointOptions const& options, bool extend) const + template auto consume_Windows_UI_Text_ITextRange::SetPoint(winrt::Windows::Foundation::Point const& point, winrt::Windows::UI::Text::PointOptions const& options, bool extend) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->SetPoint(impl::bind_in(point), static_cast(options), extend)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::SetRange(int32_t startPosition, int32_t endPosition) const + template auto consume_Windows_UI_Text_ITextRange::SetRange(int32_t startPosition, int32_t endPosition) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->SetRange(startPosition, endPosition)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::SetText(winrt::Windows::UI::Text::TextSetOptions const& options, param::hstring const& value) const + template auto consume_Windows_UI_Text_ITextRange::SetText(winrt::Windows::UI::Text::TextSetOptions const& options, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->SetText(static_cast(options), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange::SetTextViaStream(winrt::Windows::UI::Text::TextSetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const + template auto consume_Windows_UI_Text_ITextRange::SetTextViaStream(winrt::Windows::UI::Text::TextSetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->SetTextViaStream(static_cast(options), *(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange::StartOf(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const + template auto consume_Windows_UI_Text_ITextRange::StartOf(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->StartOf(static_cast(unit), extend, &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::SelectionOptions) consume_Windows_UI_Text_ITextSelection::Options() const + template auto consume_Windows_UI_Text_ITextSelection::Options() const { winrt::Windows::UI::Text::SelectionOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextSelection)->get_Options(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextSelection::Options(winrt::Windows::UI::Text::SelectionOptions const& value) const + template auto consume_Windows_UI_Text_ITextSelection::Options(winrt::Windows::UI::Text::SelectionOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextSelection)->put_Options(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::SelectionType) consume_Windows_UI_Text_ITextSelection::Type() const + template auto consume_Windows_UI_Text_ITextSelection::Type() const { winrt::Windows::UI::Text::SelectionType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextSelection)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextSelection::EndKey(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const + template auto consume_Windows_UI_Text_ITextSelection::EndKey(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextSelection)->EndKey(static_cast(unit), extend, &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextSelection::HomeKey(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const + template auto consume_Windows_UI_Text_ITextSelection::HomeKey(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextSelection)->HomeKey(static_cast(unit), extend, &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextSelection::MoveDown(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const + template auto consume_Windows_UI_Text_ITextSelection::MoveDown(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextSelection)->MoveDown(static_cast(unit), count, extend, &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextSelection::MoveLeft(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const + template auto consume_Windows_UI_Text_ITextSelection::MoveLeft(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextSelection)->MoveLeft(static_cast(unit), count, extend, &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextSelection::MoveRight(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const + template auto consume_Windows_UI_Text_ITextSelection::MoveRight(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextSelection)->MoveRight(static_cast(unit), count, extend, &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextSelection::MoveUp(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const + template auto consume_Windows_UI_Text_ITextSelection::MoveUp(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextSelection)->MoveUp(static_cast(unit), count, extend, &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextSelection::TypeText(param::hstring const& value) const + template auto consume_Windows_UI_Text_ITextSelection::TypeText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextSelection)->TypeText(*(void**)(&value))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.UIAutomation.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.UIAutomation.Core.h index 110947e9..f8c5d67a 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.UIAutomation.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.UIAutomation.Core.h @@ -1,66 +1,66 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_UIAutomation_Core_H #define WINRT_Windows_UI_UIAutomation_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.UIAutomation.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.UI.UIAutomation.2.h" #include "winrt/impl/Windows.UI.UIAutomation.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationStatus) consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult::Status() const + template auto consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult::Status() const { winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::Core::IAutomationRemoteOperationResult)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult::ExtendedError() const + template auto consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::Core::IAutomationRemoteOperationResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult::ErrorLocation() const + template auto consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult::ErrorLocation() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::Core::IAutomationRemoteOperationResult)->get_ErrorLocation(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult::HasOperand(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId) const + template auto consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult::HasOperand(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::Core::IAutomationRemoteOperationResult)->HasOperand(impl::bind_in(operandId), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult::GetOperand(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId) const + template auto consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult::GetOperand(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::Core::IAutomationRemoteOperationResult)->GetOperand(impl::bind_in(operandId), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation::IsOpcodeSupported(uint32_t opcode) const + template auto consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation::IsOpcodeSupported(uint32_t opcode) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::Core::ICoreAutomationRemoteOperation)->IsOpcodeSupported(opcode, &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation::ImportElement(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId, winrt::Windows::UI::UIAutomation::AutomationElement const& element) const + template auto consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation::ImportElement(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId, winrt::Windows::UI::UIAutomation::AutomationElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::Core::ICoreAutomationRemoteOperation)->ImportElement(impl::bind_in(operandId), *(void**)(&element))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation::ImportTextRange(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId, winrt::Windows::UI::UIAutomation::AutomationTextRange const& textRange) const + template auto consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation::ImportTextRange(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId, winrt::Windows::UI::UIAutomation::AutomationTextRange const& textRange) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::Core::ICoreAutomationRemoteOperation)->ImportTextRange(impl::bind_in(operandId), *(void**)(&textRange))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation::AddToResults(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId) const + template auto consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation::AddToResults(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::Core::ICoreAutomationRemoteOperation)->AddToResults(impl::bind_in(operandId))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationResult) consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation::Execute(array_view bytecodeBuffer) const + template auto consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation::Execute(array_view bytecodeBuffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::Core::ICoreAutomationRemoteOperation)->Execute(bytecodeBuffer.size(), get_abi(bytecodeBuffer), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.UIAutomation.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.UIAutomation.h index d0d4436c..a707c2a8 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.UIAutomation.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.UIAutomation.h @@ -1,28 +1,28 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_UIAutomation_H #define WINRT_Windows_UI_UIAutomation_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.h" #include "winrt/impl/Windows.UI.UIAutomation.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_UIAutomation_IAutomationElement::IsRemoteSystem() const noexcept + template auto consume_Windows_UI_UIAutomation_IAutomationElement::IsRemoteSystem() const noexcept { bool value{}; WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::IAutomationElement)->get_IsRemoteSystem(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_UIAutomation_IAutomationElement::AppUserModelId() const + template auto consume_Windows_UI_UIAutomation_IAutomationElement::AppUserModelId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::IAutomationElement)->get_AppUserModelId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_UIAutomation_IAutomationElement::ExecutableFileName() const + template auto consume_Windows_UI_UIAutomation_IAutomationElement::ExecutableFileName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::IAutomationElement)->get_ExecutableFileName(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.ViewManagement.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.ViewManagement.Core.h index 7858f5cd..51bc9df2 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.ViewManagement.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.ViewManagement.Core.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_ViewManagement_Core_H #define WINRT_Windows_UI_ViewManagement_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.ViewManagement.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,223 +13,223 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.ViewManagement.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_Core_ICoreInputView::OcclusionsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView::OcclusionsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView)->add_OcclusionsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_ViewManagement_Core_ICoreInputView::OcclusionsChanged_revoker consume_Windows_UI_ViewManagement_Core_ICoreInputView::OcclusionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView::OcclusionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, OcclusionsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_ICoreInputView::OcclusionsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView::OcclusionsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView)->remove_OcclusionsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_ViewManagement_Core_ICoreInputView::GetCoreInputViewOcclusions() const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView::GetCoreInputViewOcclusions() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView)->GetCoreInputViewOcclusions(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputView::TryShowPrimaryView() const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView::TryShowPrimaryView() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView)->TryShowPrimaryView(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputView::TryHidePrimaryView() const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView::TryHidePrimaryView() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView)->TryHidePrimaryView(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_Core_ICoreInputView2::XYFocusTransferringFromPrimaryView(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView2::XYFocusTransferringFromPrimaryView(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView2)->add_XYFocusTransferringFromPrimaryView(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_ViewManagement_Core_ICoreInputView2::XYFocusTransferringFromPrimaryView_revoker consume_Windows_UI_ViewManagement_Core_ICoreInputView2::XYFocusTransferringFromPrimaryView(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView2::XYFocusTransferringFromPrimaryView(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, XYFocusTransferringFromPrimaryView(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_ICoreInputView2::XYFocusTransferringFromPrimaryView(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView2::XYFocusTransferringFromPrimaryView(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView2)->remove_XYFocusTransferringFromPrimaryView(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_Core_ICoreInputView2::XYFocusTransferredToPrimaryView(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView2::XYFocusTransferredToPrimaryView(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView2)->add_XYFocusTransferredToPrimaryView(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_ViewManagement_Core_ICoreInputView2::XYFocusTransferredToPrimaryView_revoker consume_Windows_UI_ViewManagement_Core_ICoreInputView2::XYFocusTransferredToPrimaryView(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView2::XYFocusTransferredToPrimaryView(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, XYFocusTransferredToPrimaryView(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_ICoreInputView2::XYFocusTransferredToPrimaryView(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView2::XYFocusTransferredToPrimaryView(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView2)->remove_XYFocusTransferredToPrimaryView(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputView2::TryTransferXYFocusToPrimaryView(winrt::Windows::Foundation::Rect const& origin, winrt::Windows::UI::ViewManagement::Core::CoreInputViewXYFocusTransferDirection const& direction) const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView2::TryTransferXYFocusToPrimaryView(winrt::Windows::Foundation::Rect const& origin, winrt::Windows::UI::ViewManagement::Core::CoreInputViewXYFocusTransferDirection const& direction) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView2)->TryTransferXYFocusToPrimaryView(impl::bind_in(origin), static_cast(direction), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputView3::TryShow() const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView3::TryShow() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView3)->TryShow(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputView3::TryShow(winrt::Windows::UI::ViewManagement::Core::CoreInputViewKind const& type) const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView3::TryShow(winrt::Windows::UI::ViewManagement::Core::CoreInputViewKind const& type) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView3)->TryShowWithKind(static_cast(type), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputView3::TryHide() const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView3::TryHide() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView3)->TryHide(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_Core_ICoreInputView4::PrimaryViewShowing(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView4::PrimaryViewShowing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView4)->add_PrimaryViewShowing(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_ViewManagement_Core_ICoreInputView4::PrimaryViewShowing_revoker consume_Windows_UI_ViewManagement_Core_ICoreInputView4::PrimaryViewShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView4::PrimaryViewShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PrimaryViewShowing(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_ICoreInputView4::PrimaryViewShowing(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView4::PrimaryViewShowing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView4)->remove_PrimaryViewShowing(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_Core_ICoreInputView4::PrimaryViewHiding(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView4::PrimaryViewHiding(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView4)->add_PrimaryViewHiding(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_ViewManagement_Core_ICoreInputView4::PrimaryViewHiding_revoker consume_Windows_UI_ViewManagement_Core_ICoreInputView4::PrimaryViewHiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView4::PrimaryViewHiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PrimaryViewHiding(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_ICoreInputView4::PrimaryViewHiding(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputView4::PrimaryViewHiding(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView4)->remove_PrimaryViewHiding(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputViewHidingEventArgs::TryCancel() const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewHidingEventArgs::TryCancel() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewHidingEventArgs)->TryCancel(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusion::OccludingRect() const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusion::OccludingRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewOcclusion)->get_OccludingRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusionKind) consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusion::OcclusionKind() const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusion::OcclusionKind() const { winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusionKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewOcclusion)->get_OcclusionKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusionsChangedEventArgs::Occlusions() const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusionsChangedEventArgs::Occlusions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewOcclusionsChangedEventArgs)->get_Occlusions(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusionsChangedEventArgs::Handled() const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusionsChangedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewOcclusionsChangedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusionsChangedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusionsChangedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewOcclusionsChangedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputViewShowingEventArgs::TryCancel() const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewShowingEventArgs::TryCancel() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewShowingEventArgs)->TryCancel(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::Core::CoreInputView) consume_Windows_UI_ViewManagement_Core_ICoreInputViewStatics::GetForCurrentView() const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewStatics::GetForCurrentView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewStatics)->GetForCurrentView(&result)); return winrt::Windows::UI::ViewManagement::Core::CoreInputView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::Core::CoreInputView) consume_Windows_UI_ViewManagement_Core_ICoreInputViewStatics2::GetForUIContext(winrt::Windows::UI::UIContext const& context) const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewStatics2::GetForUIContext(winrt::Windows::UI::UIContext const& context) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewStatics2)->GetForUIContext(*(void**)(&context), &result)); return winrt::Windows::UI::ViewManagement::Core::CoreInputView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs::Origin() const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs::Origin() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewTransferringXYFocusEventArgs)->get_Origin(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::Core::CoreInputViewXYFocusTransferDirection) consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs::Direction() const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs::Direction() const { winrt::Windows::UI::ViewManagement::Core::CoreInputViewXYFocusTransferDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewTransferringXYFocusEventArgs)->get_Direction(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs::TransferHandled(bool value) const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs::TransferHandled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewTransferringXYFocusEventArgs)->put_TransferHandled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs::TransferHandled() const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs::TransferHandled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewTransferringXYFocusEventArgs)->get_TransferHandled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs::KeepPrimaryViewVisible(bool value) const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs::KeepPrimaryViewVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewTransferringXYFocusEventArgs)->put_KeepPrimaryViewVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs::KeepPrimaryViewVisible() const + template auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs::KeepPrimaryViewVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewTransferringXYFocusEventArgs)->get_KeepPrimaryViewVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_IUISettingsController::SetAdvancedEffectsEnabled(bool value) const + template auto consume_Windows_UI_ViewManagement_Core_IUISettingsController::SetAdvancedEffectsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::IUISettingsController)->SetAdvancedEffectsEnabled(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_IUISettingsController::SetAnimationsEnabled(bool value) const + template auto consume_Windows_UI_ViewManagement_Core_IUISettingsController::SetAnimationsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::IUISettingsController)->SetAnimationsEnabled(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_IUISettingsController::SetAutoHideScrollBars(bool value) const + template auto consume_Windows_UI_ViewManagement_Core_IUISettingsController::SetAutoHideScrollBars(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::IUISettingsController)->SetAutoHideScrollBars(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_IUISettingsController::SetMessageDuration(uint32_t value) const + template auto consume_Windows_UI_ViewManagement_Core_IUISettingsController::SetMessageDuration(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::IUISettingsController)->SetMessageDuration(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_IUISettingsController::SetTextScaleFactor(double value) const + template auto consume_Windows_UI_ViewManagement_Core_IUISettingsController::SetTextScaleFactor(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::IUISettingsController)->SetTextScaleFactor(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_ViewManagement_Core_IUISettingsControllerStatics::RequestDefaultAsync() const + template auto consume_Windows_UI_ViewManagement_Core_IUISettingsControllerStatics::RequestDefaultAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::IUISettingsControllerStatics)->RequestDefaultAsync(&operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.ViewManagement.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.ViewManagement.h index ea349deb..a907775f 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.ViewManagement.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.ViewManagement.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_ViewManagement_H #define WINRT_Windows_UI_ViewManagement_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.h" #include "winrt/impl/Windows.Devices.Enumeration.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -17,1041 +17,1041 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.ViewManagement.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IAccessibilitySettings::HighContrast() const + template auto consume_Windows_UI_ViewManagement_IAccessibilitySettings::HighContrast() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IAccessibilitySettings)->get_HighContrast(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_ViewManagement_IAccessibilitySettings::HighContrastScheme() const + template auto consume_Windows_UI_ViewManagement_IAccessibilitySettings::HighContrastScheme() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IAccessibilitySettings)->get_HighContrastScheme(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IAccessibilitySettings::HighContrastChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IAccessibilitySettings::HighContrastChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IAccessibilitySettings)->add_HighContrastChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_ViewManagement_IAccessibilitySettings::HighContrastChanged_revoker consume_Windows_UI_ViewManagement_IAccessibilitySettings::HighContrastChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IAccessibilitySettings::HighContrastChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, HighContrastChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IAccessibilitySettings::HighContrastChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_ViewManagement_IAccessibilitySettings::HighContrastChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IAccessibilitySettings)->remove_HighContrastChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IActivationViewSwitcher::ShowAsStandaloneAsync(int32_t viewId) const + template auto consume_Windows_UI_ViewManagement_IActivationViewSwitcher::ShowAsStandaloneAsync(int32_t viewId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IActivationViewSwitcher)->ShowAsStandaloneAsync(viewId, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IActivationViewSwitcher::ShowAsStandaloneAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& sizePreference) const + template auto consume_Windows_UI_ViewManagement_IActivationViewSwitcher::ShowAsStandaloneAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& sizePreference) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IActivationViewSwitcher)->ShowAsStandaloneWithSizePreferenceAsync(viewId, static_cast(sizePreference), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IActivationViewSwitcher::IsViewPresentedOnActivationVirtualDesktop(int32_t viewId) const + template auto consume_Windows_UI_ViewManagement_IActivationViewSwitcher::IsViewPresentedOnActivationVirtualDesktop(int32_t viewId) const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IActivationViewSwitcher)->IsViewPresentedOnActivationVirtualDesktop(viewId, &value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewOrientation) consume_Windows_UI_ViewManagement_IApplicationView::Orientation() const + template auto consume_Windows_UI_ViewManagement_IApplicationView::Orientation() const { winrt::Windows::UI::ViewManagement::ApplicationViewOrientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView::AdjacentToLeftDisplayEdge() const + template auto consume_Windows_UI_ViewManagement_IApplicationView::AdjacentToLeftDisplayEdge() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->get_AdjacentToLeftDisplayEdge(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView::AdjacentToRightDisplayEdge() const + template auto consume_Windows_UI_ViewManagement_IApplicationView::AdjacentToRightDisplayEdge() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->get_AdjacentToRightDisplayEdge(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView::IsFullScreen() const + template auto consume_Windows_UI_ViewManagement_IApplicationView::IsFullScreen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->get_IsFullScreen(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView::IsOnLockScreen() const + template auto consume_Windows_UI_ViewManagement_IApplicationView::IsOnLockScreen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->get_IsOnLockScreen(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView::IsScreenCaptureEnabled() const + template auto consume_Windows_UI_ViewManagement_IApplicationView::IsScreenCaptureEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->get_IsScreenCaptureEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView::IsScreenCaptureEnabled(bool value) const + template auto consume_Windows_UI_ViewManagement_IApplicationView::IsScreenCaptureEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->put_IsScreenCaptureEnabled(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView::Title(param::hstring const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationView::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_ViewManagement_IApplicationView::Title() const + template auto consume_Windows_UI_ViewManagement_IApplicationView::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_ViewManagement_IApplicationView::Id() const + template auto consume_Windows_UI_ViewManagement_IApplicationView::Id() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IApplicationView::Consolidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IApplicationView::Consolidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->add_Consolidated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_ViewManagement_IApplicationView::Consolidated_revoker consume_Windows_UI_ViewManagement_IApplicationView::Consolidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IApplicationView::Consolidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Consolidated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView::Consolidated(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_ViewManagement_IApplicationView::Consolidated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->remove_Consolidated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView2::SuppressSystemOverlays() const + template auto consume_Windows_UI_ViewManagement_IApplicationView2::SuppressSystemOverlays() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView2)->get_SuppressSystemOverlays(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView2::SuppressSystemOverlays(bool value) const + template auto consume_Windows_UI_ViewManagement_IApplicationView2::SuppressSystemOverlays(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView2)->put_SuppressSystemOverlays(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_ViewManagement_IApplicationView2::VisibleBounds() const + template auto consume_Windows_UI_ViewManagement_IApplicationView2::VisibleBounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView2)->get_VisibleBounds(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IApplicationView2::VisibleBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IApplicationView2::VisibleBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView2)->add_VisibleBoundsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_ViewManagement_IApplicationView2::VisibleBoundsChanged_revoker consume_Windows_UI_ViewManagement_IApplicationView2::VisibleBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IApplicationView2::VisibleBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, VisibleBoundsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView2::VisibleBoundsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_ViewManagement_IApplicationView2::VisibleBoundsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView2)->remove_VisibleBoundsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView2::SetDesiredBoundsMode(winrt::Windows::UI::ViewManagement::ApplicationViewBoundsMode const& boundsMode) const + template auto consume_Windows_UI_ViewManagement_IApplicationView2::SetDesiredBoundsMode(winrt::Windows::UI::ViewManagement::ApplicationViewBoundsMode const& boundsMode) const { bool success{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView2)->SetDesiredBoundsMode(static_cast(boundsMode), &success)); return success; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewBoundsMode) consume_Windows_UI_ViewManagement_IApplicationView2::DesiredBoundsMode() const + template auto consume_Windows_UI_ViewManagement_IApplicationView2::DesiredBoundsMode() const { winrt::Windows::UI::ViewManagement::ApplicationViewBoundsMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView2)->get_DesiredBoundsMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewTitleBar) consume_Windows_UI_ViewManagement_IApplicationView3::TitleBar() const + template auto consume_Windows_UI_ViewManagement_IApplicationView3::TitleBar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView3)->get_TitleBar(&value)); return winrt::Windows::UI::ViewManagement::ApplicationViewTitleBar{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::FullScreenSystemOverlayMode) consume_Windows_UI_ViewManagement_IApplicationView3::FullScreenSystemOverlayMode() const + template auto consume_Windows_UI_ViewManagement_IApplicationView3::FullScreenSystemOverlayMode() const { winrt::Windows::UI::ViewManagement::FullScreenSystemOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView3)->get_FullScreenSystemOverlayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView3::FullScreenSystemOverlayMode(winrt::Windows::UI::ViewManagement::FullScreenSystemOverlayMode const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationView3::FullScreenSystemOverlayMode(winrt::Windows::UI::ViewManagement::FullScreenSystemOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView3)->put_FullScreenSystemOverlayMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView3::IsFullScreenMode() const + template auto consume_Windows_UI_ViewManagement_IApplicationView3::IsFullScreenMode() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView3)->get_IsFullScreenMode(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView3::TryEnterFullScreenMode() const + template auto consume_Windows_UI_ViewManagement_IApplicationView3::TryEnterFullScreenMode() const { bool success{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView3)->TryEnterFullScreenMode(&success)); return success; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView3::ExitFullScreenMode() const + template auto consume_Windows_UI_ViewManagement_IApplicationView3::ExitFullScreenMode() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView3)->ExitFullScreenMode()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView3::ShowStandardSystemOverlays() const + template auto consume_Windows_UI_ViewManagement_IApplicationView3::ShowStandardSystemOverlays() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView3)->ShowStandardSystemOverlays()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView3::TryResizeView(winrt::Windows::Foundation::Size const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationView3::TryResizeView(winrt::Windows::Foundation::Size const& value) const { bool success{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView3)->TryResizeView(impl::bind_in(value), &success)); return success; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView3::SetPreferredMinSize(winrt::Windows::Foundation::Size const& minSize) const + template auto consume_Windows_UI_ViewManagement_IApplicationView3::SetPreferredMinSize(winrt::Windows::Foundation::Size const& minSize) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView3)->SetPreferredMinSize(impl::bind_in(minSize))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewMode) consume_Windows_UI_ViewManagement_IApplicationView4::ViewMode() const + template auto consume_Windows_UI_ViewManagement_IApplicationView4::ViewMode() const { winrt::Windows::UI::ViewManagement::ApplicationViewMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView4)->get_ViewMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView4::IsViewModeSupported(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const + template auto consume_Windows_UI_ViewManagement_IApplicationView4::IsViewModeSupported(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const { bool isViewModeSupported{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView4)->IsViewModeSupported(static_cast(viewMode), &isViewModeSupported)); return isViewModeSupported; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_ViewManagement_IApplicationView4::TryEnterViewModeAsync(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const + template auto consume_Windows_UI_ViewManagement_IApplicationView4::TryEnterViewModeAsync(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView4)->TryEnterViewModeAsync(static_cast(viewMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_ViewManagement_IApplicationView4::TryEnterViewModeAsync(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode, winrt::Windows::UI::ViewManagement::ViewModePreferences const& viewModePreferences) const + template auto consume_Windows_UI_ViewManagement_IApplicationView4::TryEnterViewModeAsync(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode, winrt::Windows::UI::ViewManagement::ViewModePreferences const& viewModePreferences) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView4)->TryEnterViewModeWithPreferencesAsync(static_cast(viewMode), *(void**)(&viewModePreferences), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_ViewManagement_IApplicationView4::TryConsolidateAsync() const + template auto consume_Windows_UI_ViewManagement_IApplicationView4::TryConsolidateAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView4)->TryConsolidateAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_ViewManagement_IApplicationView7::PersistedStateId() const + template auto consume_Windows_UI_ViewManagement_IApplicationView7::PersistedStateId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView7)->get_PersistedStateId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView7::PersistedStateId(param::hstring const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationView7::PersistedStateId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView7)->put_PersistedStateId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) consume_Windows_UI_ViewManagement_IApplicationView9::WindowingEnvironment() const + template auto consume_Windows_UI_ViewManagement_IApplicationView9::WindowingEnvironment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView9)->get_WindowingEnvironment(&value)); return winrt::Windows::UI::WindowManagement::WindowingEnvironment{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_ViewManagement_IApplicationView9::GetDisplayRegions() const + template auto consume_Windows_UI_ViewManagement_IApplicationView9::GetDisplayRegions() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView9)->GetDisplayRegions(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationViewConsolidatedEventArgs::IsUserInitiated() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewConsolidatedEventArgs::IsUserInitiated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewConsolidatedEventArgs)->get_IsUserInitiated(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationViewConsolidatedEventArgs2::IsAppInitiated() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewConsolidatedEventArgs2::IsAppInitiated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewConsolidatedEventArgs2)->get_IsAppInitiated(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationViewFullscreenStatics::TryUnsnapToFullscreen() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewFullscreenStatics::TryUnsnapToFullscreen() const { bool success{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewFullscreenStatics)->TryUnsnapToFullscreen(&success)); return success; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_ViewManagement_IApplicationViewInteropStatics::GetApplicationViewIdForWindow(winrt::Windows::UI::Core::ICoreWindow const& window) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewInteropStatics::GetApplicationViewIdForWindow(winrt::Windows::UI::Core::ICoreWindow const& window) const { int32_t id{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewInteropStatics)->GetApplicationViewIdForWindow(*(void**)(&window), &id)); return id; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationViewScalingStatics::DisableLayoutScaling() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewScalingStatics::DisableLayoutScaling() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewScalingStatics)->get_DisableLayoutScaling(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationViewScalingStatics::TrySetDisableLayoutScaling(bool disableLayoutScaling) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewScalingStatics::TrySetDisableLayoutScaling(bool disableLayoutScaling) const { bool success{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewScalingStatics)->TrySetDisableLayoutScaling(disableLayoutScaling, &success)); return success; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewState) consume_Windows_UI_ViewManagement_IApplicationViewStatics::Value() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewStatics::Value() const { winrt::Windows::UI::ViewManagement::ApplicationViewState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics)->get_Value(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationViewStatics::TryUnsnap() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewStatics::TryUnsnap() const { bool success{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics)->TryUnsnap(&success)); return success; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationView) consume_Windows_UI_ViewManagement_IApplicationViewStatics2::GetForCurrentView() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewStatics2::GetForCurrentView() const { void* current{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics2)->GetForCurrentView(¤t)); return winrt::Windows::UI::ViewManagement::ApplicationView{ current, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationViewStatics2::TerminateAppOnFinalViewClose() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewStatics2::TerminateAppOnFinalViewClose() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics2)->get_TerminateAppOnFinalViewClose(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewStatics2::TerminateAppOnFinalViewClose(bool value) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewStatics2::TerminateAppOnFinalViewClose(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics2)->put_TerminateAppOnFinalViewClose(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewWindowingMode) consume_Windows_UI_ViewManagement_IApplicationViewStatics3::PreferredLaunchWindowingMode() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewStatics3::PreferredLaunchWindowingMode() const { winrt::Windows::UI::ViewManagement::ApplicationViewWindowingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics3)->get_PreferredLaunchWindowingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewStatics3::PreferredLaunchWindowingMode(winrt::Windows::UI::ViewManagement::ApplicationViewWindowingMode const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewStatics3::PreferredLaunchWindowingMode(winrt::Windows::UI::ViewManagement::ApplicationViewWindowingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics3)->put_PreferredLaunchWindowingMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_ViewManagement_IApplicationViewStatics3::PreferredLaunchViewSize() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewStatics3::PreferredLaunchViewSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics3)->get_PreferredLaunchViewSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewStatics3::PreferredLaunchViewSize(winrt::Windows::Foundation::Size const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewStatics3::PreferredLaunchViewSize(winrt::Windows::Foundation::Size const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics3)->put_PreferredLaunchViewSize(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewStatics4::ClearAllPersistedState() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewStatics4::ClearAllPersistedState() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics4)->ClearAllPersistedState()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewStatics4::ClearPersistedState(param::hstring const& key) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewStatics4::ClearPersistedState(param::hstring const& key) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics4)->ClearPersistedState(*(void**)(&key))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics::DisableShowingMainViewOnActivation() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics::DisableShowingMainViewOnActivation() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewSwitcherStatics)->DisableShowingMainViewOnActivation()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics::TryShowAsStandaloneAsync(int32_t viewId) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics::TryShowAsStandaloneAsync(int32_t viewId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewSwitcherStatics)->TryShowAsStandaloneAsync(viewId, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics::TryShowAsStandaloneAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& sizePreference) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics::TryShowAsStandaloneAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& sizePreference) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewSwitcherStatics)->TryShowAsStandaloneWithSizePreferenceAsync(viewId, static_cast(sizePreference), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics::TryShowAsStandaloneAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& sizePreference, int32_t anchorViewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& anchorSizePreference) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics::TryShowAsStandaloneAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& sizePreference, int32_t anchorViewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& anchorSizePreference) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewSwitcherStatics)->TryShowAsStandaloneWithAnchorViewAndSizePreferenceAsync(viewId, static_cast(sizePreference), anchorViewId, static_cast(anchorSizePreference), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics::SwitchAsync(int32_t viewId) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics::SwitchAsync(int32_t viewId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewSwitcherStatics)->SwitchAsync(viewId, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics::SwitchAsync(int32_t toViewId, int32_t fromViewId) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics::SwitchAsync(int32_t toViewId, int32_t fromViewId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewSwitcherStatics)->SwitchFromViewAsync(toViewId, fromViewId, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics::SwitchAsync(int32_t toViewId, int32_t fromViewId, winrt::Windows::UI::ViewManagement::ApplicationViewSwitchingOptions const& options) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics::SwitchAsync(int32_t toViewId, int32_t fromViewId, winrt::Windows::UI::ViewManagement::ApplicationViewSwitchingOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewSwitcherStatics)->SwitchFromViewWithOptionsAsync(toViewId, fromViewId, static_cast(options), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics::PrepareForCustomAnimatedSwitchAsync(int32_t toViewId, int32_t fromViewId, winrt::Windows::UI::ViewManagement::ApplicationViewSwitchingOptions const& options) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics::PrepareForCustomAnimatedSwitchAsync(int32_t toViewId, int32_t fromViewId, winrt::Windows::UI::ViewManagement::ApplicationViewSwitchingOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewSwitcherStatics)->PrepareForCustomAnimatedSwitchAsync(toViewId, fromViewId, static_cast(options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics2::DisableSystemViewActivationPolicy() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics2::DisableSystemViewActivationPolicy() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewSwitcherStatics2)->DisableSystemViewActivationPolicy()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics3::TryShowAsViewModeAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics3::TryShowAsViewModeAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewSwitcherStatics3)->TryShowAsViewModeAsync(viewId, static_cast(viewMode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics3::TryShowAsViewModeAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode, winrt::Windows::UI::ViewManagement::ViewModePreferences const& viewModePreferences) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics3::TryShowAsViewModeAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode, winrt::Windows::UI::ViewManagement::ViewModePreferences const& viewModePreferences) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewSwitcherStatics3)->TryShowAsViewModeWithPreferencesAsync(viewId, static_cast(viewMode), *(void**)(&viewModePreferences), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ForegroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ForegroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ForegroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ForegroundColor() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ForegroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ForegroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::BackgroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::BackgroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_BackgroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::BackgroundColor() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::BackgroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_BackgroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonForegroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonForegroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ButtonForegroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonForegroundColor() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonForegroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ButtonForegroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonBackgroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonBackgroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ButtonBackgroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonBackgroundColor() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonBackgroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ButtonBackgroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ButtonHoverForegroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonHoverForegroundColor() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonHoverForegroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ButtonHoverForegroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ButtonHoverBackgroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonHoverBackgroundColor() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonHoverBackgroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ButtonHoverBackgroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ButtonPressedForegroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonPressedForegroundColor() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonPressedForegroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ButtonPressedForegroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ButtonPressedBackgroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonPressedBackgroundColor() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonPressedBackgroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ButtonPressedBackgroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::InactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::InactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_InactiveForegroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::InactiveForegroundColor() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::InactiveForegroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_InactiveForegroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::InactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::InactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_InactiveBackgroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::InactiveBackgroundColor() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::InactiveBackgroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_InactiveBackgroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ButtonInactiveForegroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonInactiveForegroundColor() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonInactiveForegroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ButtonInactiveForegroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ButtonInactiveBackgroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonInactiveBackgroundColor() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar::ButtonInactiveBackgroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ButtonInactiveBackgroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_ViewManagement_IApplicationViewTransferContext::ViewId() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTransferContext::ViewId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTransferContext)->get_ViewId(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTransferContext::ViewId(int32_t value) const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTransferContext::ViewId(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTransferContext)->put_ViewId(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_ViewManagement_IApplicationViewTransferContextStatics::DataPackageFormatId() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewTransferContextStatics::DataPackageFormatId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTransferContextStatics)->get_DataPackageFormatId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) consume_Windows_UI_ViewManagement_IApplicationViewWithContext::UIContext() const + template auto consume_Windows_UI_ViewManagement_IApplicationViewWithContext::UIContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewWithContext)->get_UIContext(&value)); return winrt::Windows::UI::UIContext{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IInputPane::Showing(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IInputPane::Showing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPane)->add_Showing(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_ViewManagement_IInputPane::Showing_revoker consume_Windows_UI_ViewManagement_IInputPane::Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IInputPane::Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Showing(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IInputPane::Showing(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_ViewManagement_IInputPane::Showing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPane)->remove_Showing(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IInputPane::Hiding(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IInputPane::Hiding(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPane)->add_Hiding(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_ViewManagement_IInputPane::Hiding_revoker consume_Windows_UI_ViewManagement_IInputPane::Hiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IInputPane::Hiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Hiding(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IInputPane::Hiding(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_ViewManagement_IInputPane::Hiding(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPane)->remove_Hiding(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_ViewManagement_IInputPane::OccludedRect() const + template auto consume_Windows_UI_ViewManagement_IInputPane::OccludedRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPane)->get_OccludedRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IInputPane2::TryShow() const + template auto consume_Windows_UI_ViewManagement_IInputPane2::TryShow() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPane2)->TryShow(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IInputPane2::TryHide() const + template auto consume_Windows_UI_ViewManagement_IInputPane2::TryHide() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPane2)->TryHide(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IInputPaneControl::Visible() const + template auto consume_Windows_UI_ViewManagement_IInputPaneControl::Visible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPaneControl)->get_Visible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IInputPaneControl::Visible(bool value) const + template auto consume_Windows_UI_ViewManagement_IInputPaneControl::Visible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPaneControl)->put_Visible(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::InputPane) consume_Windows_UI_ViewManagement_IInputPaneStatics::GetForCurrentView() const + template auto consume_Windows_UI_ViewManagement_IInputPaneStatics::GetForCurrentView() const { void* inputPane{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPaneStatics)->GetForCurrentView(&inputPane)); return winrt::Windows::UI::ViewManagement::InputPane{ inputPane, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::InputPane) consume_Windows_UI_ViewManagement_IInputPaneStatics2::GetForUIContext(winrt::Windows::UI::UIContext const& context) const + template auto consume_Windows_UI_ViewManagement_IInputPaneStatics2::GetForUIContext(winrt::Windows::UI::UIContext const& context) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPaneStatics2)->GetForUIContext(*(void**)(&context), &result)); return winrt::Windows::UI::ViewManagement::InputPane{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_ViewManagement_IInputPaneVisibilityEventArgs::OccludedRect() const + template auto consume_Windows_UI_ViewManagement_IInputPaneVisibilityEventArgs::OccludedRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPaneVisibilityEventArgs)->get_OccludedRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IInputPaneVisibilityEventArgs::EnsuredFocusedElementInView(bool value) const + template auto consume_Windows_UI_ViewManagement_IInputPaneVisibilityEventArgs::EnsuredFocusedElementInView(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPaneVisibilityEventArgs)->put_EnsuredFocusedElementInView(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IInputPaneVisibilityEventArgs::EnsuredFocusedElementInView() const + template auto consume_Windows_UI_ViewManagement_IInputPaneVisibilityEventArgs::EnsuredFocusedElementInView() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPaneVisibilityEventArgs)->get_EnsuredFocusedElementInView(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IProjectionManagerStatics::StartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId) const + template auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics::StartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IProjectionManagerStatics)->StartProjectingAsync(projectionViewId, anchorViewId, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IProjectionManagerStatics::SwapDisplaysForViewsAsync(int32_t projectionViewId, int32_t anchorViewId) const + template auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics::SwapDisplaysForViewsAsync(int32_t projectionViewId, int32_t anchorViewId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IProjectionManagerStatics)->SwapDisplaysForViewsAsync(projectionViewId, anchorViewId, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IProjectionManagerStatics::StopProjectingAsync(int32_t projectionViewId, int32_t anchorViewId) const + template auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics::StopProjectingAsync(int32_t projectionViewId, int32_t anchorViewId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IProjectionManagerStatics)->StopProjectingAsync(projectionViewId, anchorViewId, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IProjectionManagerStatics::ProjectionDisplayAvailable() const + template auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics::ProjectionDisplayAvailable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IProjectionManagerStatics)->get_ProjectionDisplayAvailable(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IProjectionManagerStatics::ProjectionDisplayAvailableChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics::ProjectionDisplayAvailableChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IProjectionManagerStatics)->add_ProjectionDisplayAvailableChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_ViewManagement_IProjectionManagerStatics::ProjectionDisplayAvailableChanged_revoker consume_Windows_UI_ViewManagement_IProjectionManagerStatics::ProjectionDisplayAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics::ProjectionDisplayAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, ProjectionDisplayAvailableChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IProjectionManagerStatics::ProjectionDisplayAvailableChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics::ProjectionDisplayAvailableChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IProjectionManagerStatics)->remove_ProjectionDisplayAvailableChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IProjectionManagerStatics2::StartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Devices::Enumeration::DeviceInformation const& displayDeviceInfo) const + template auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics2::StartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Devices::Enumeration::DeviceInformation const& displayDeviceInfo) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IProjectionManagerStatics2)->StartProjectingWithDeviceInfoAsync(projectionViewId, anchorViewId, *(void**)(&displayDeviceInfo), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_ViewManagement_IProjectionManagerStatics2::RequestStartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Foundation::Rect const& selection) const + template auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics2::RequestStartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Foundation::Rect const& selection) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IProjectionManagerStatics2)->RequestStartProjectingAsync(projectionViewId, anchorViewId, impl::bind_in(selection), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_ViewManagement_IProjectionManagerStatics2::RequestStartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& prefferedPlacement) const + template auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics2::RequestStartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& prefferedPlacement) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IProjectionManagerStatics2)->RequestStartProjectingWithPlacementAsync(projectionViewId, anchorViewId, impl::bind_in(selection), static_cast(prefferedPlacement), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_ViewManagement_IProjectionManagerStatics2::GetDeviceSelector() const + template auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics2::GetDeviceSelector() const { void* selector{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IProjectionManagerStatics2)->GetDeviceSelector(&selector)); return hstring{ selector, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IStatusBar::ShowAsync() const + template auto consume_Windows_UI_ViewManagement_IStatusBar::ShowAsync() const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->ShowAsync(&returnValue)); return winrt::Windows::Foundation::IAsyncAction{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IStatusBar::HideAsync() const + template auto consume_Windows_UI_ViewManagement_IStatusBar::HideAsync() const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->HideAsync(&returnValue)); return winrt::Windows::Foundation::IAsyncAction{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_ViewManagement_IStatusBar::BackgroundOpacity() const + template auto consume_Windows_UI_ViewManagement_IStatusBar::BackgroundOpacity() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->get_BackgroundOpacity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IStatusBar::BackgroundOpacity(double value) const + template auto consume_Windows_UI_ViewManagement_IStatusBar::BackgroundOpacity(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->put_BackgroundOpacity(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_ViewManagement_IStatusBar::ForegroundColor() const + template auto consume_Windows_UI_ViewManagement_IStatusBar::ForegroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->get_ForegroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IStatusBar::ForegroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_ViewManagement_IStatusBar::ForegroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->put_ForegroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_ViewManagement_IStatusBar::BackgroundColor() const + template auto consume_Windows_UI_ViewManagement_IStatusBar::BackgroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->get_BackgroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IStatusBar::BackgroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_ViewManagement_IStatusBar::BackgroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->put_BackgroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::StatusBarProgressIndicator) consume_Windows_UI_ViewManagement_IStatusBar::ProgressIndicator() const + template auto consume_Windows_UI_ViewManagement_IStatusBar::ProgressIndicator() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->get_ProgressIndicator(&value)); return winrt::Windows::UI::ViewManagement::StatusBarProgressIndicator{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_ViewManagement_IStatusBar::OccludedRect() const + template auto consume_Windows_UI_ViewManagement_IStatusBar::OccludedRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->get_OccludedRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IStatusBar::Showing(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_UI_ViewManagement_IStatusBar::Showing(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->add_Showing(*(void**)(&eventHandler), put_abi(token))); return token; } - template typename consume_Windows_UI_ViewManagement_IStatusBar::Showing_revoker consume_Windows_UI_ViewManagement_IStatusBar::Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_UI_ViewManagement_IStatusBar::Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, Showing(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IStatusBar::Showing(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_ViewManagement_IStatusBar::Showing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->remove_Showing(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IStatusBar::Hiding(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_UI_ViewManagement_IStatusBar::Hiding(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->add_Hiding(*(void**)(&eventHandler), put_abi(token))); return token; } - template typename consume_Windows_UI_ViewManagement_IStatusBar::Hiding_revoker consume_Windows_UI_ViewManagement_IStatusBar::Hiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template auto consume_Windows_UI_ViewManagement_IStatusBar::Hiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const { return impl::make_event_revoker(this, Hiding(eventHandler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IStatusBar::Hiding(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_ViewManagement_IStatusBar::Hiding(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->remove_Hiding(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator::ShowAsync() const + template auto consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator::ShowAsync() const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBarProgressIndicator)->ShowAsync(&returnValue)); return winrt::Windows::Foundation::IAsyncAction{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator::HideAsync() const + template auto consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator::HideAsync() const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBarProgressIndicator)->HideAsync(&returnValue)); return winrt::Windows::Foundation::IAsyncAction{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator::Text() const + template auto consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBarProgressIndicator)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator::Text(param::hstring const& value) const + template auto consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBarProgressIndicator)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator::ProgressValue() const + template auto consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator::ProgressValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBarProgressIndicator)->get_ProgressValue(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator::ProgressValue(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator::ProgressValue(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBarProgressIndicator)->put_ProgressValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::StatusBar) consume_Windows_UI_ViewManagement_IStatusBarStatics::GetForCurrentView() const + template auto consume_Windows_UI_ViewManagement_IStatusBarStatics::GetForCurrentView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBarStatics)->GetForCurrentView(&value)); return winrt::Windows::UI::ViewManagement::StatusBar{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::HandPreference) consume_Windows_UI_ViewManagement_IUISettings::HandPreference() const + template auto consume_Windows_UI_ViewManagement_IUISettings::HandPreference() const { winrt::Windows::UI::ViewManagement::HandPreference value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_HandPreference(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_ViewManagement_IUISettings::CursorSize() const + template auto consume_Windows_UI_ViewManagement_IUISettings::CursorSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_CursorSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_ViewManagement_IUISettings::ScrollBarSize() const + template auto consume_Windows_UI_ViewManagement_IUISettings::ScrollBarSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_ScrollBarSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_ViewManagement_IUISettings::ScrollBarArrowSize() const + template auto consume_Windows_UI_ViewManagement_IUISettings::ScrollBarArrowSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_ScrollBarArrowSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_ViewManagement_IUISettings::ScrollBarThumbBoxSize() const + template auto consume_Windows_UI_ViewManagement_IUISettings::ScrollBarThumbBoxSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_ScrollBarThumbBoxSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_ViewManagement_IUISettings::MessageDuration() const + template auto consume_Windows_UI_ViewManagement_IUISettings::MessageDuration() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_MessageDuration(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IUISettings::AnimationsEnabled() const + template auto consume_Windows_UI_ViewManagement_IUISettings::AnimationsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_AnimationsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IUISettings::CaretBrowsingEnabled() const + template auto consume_Windows_UI_ViewManagement_IUISettings::CaretBrowsingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_CaretBrowsingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_ViewManagement_IUISettings::CaretBlinkRate() const + template auto consume_Windows_UI_ViewManagement_IUISettings::CaretBlinkRate() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_CaretBlinkRate(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_ViewManagement_IUISettings::CaretWidth() const + template auto consume_Windows_UI_ViewManagement_IUISettings::CaretWidth() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_CaretWidth(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_ViewManagement_IUISettings::DoubleClickTime() const + template auto consume_Windows_UI_ViewManagement_IUISettings::DoubleClickTime() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_DoubleClickTime(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_ViewManagement_IUISettings::MouseHoverTime() const + template auto consume_Windows_UI_ViewManagement_IUISettings::MouseHoverTime() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_MouseHoverTime(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_ViewManagement_IUISettings::UIElementColor(winrt::Windows::UI::ViewManagement::UIElementType const& desiredElement) const + template auto consume_Windows_UI_ViewManagement_IUISettings::UIElementColor(winrt::Windows::UI::ViewManagement::UIElementType const& desiredElement) const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->UIElementColor(static_cast(desiredElement), put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_ViewManagement_IUISettings2::TextScaleFactor() const + template auto consume_Windows_UI_ViewManagement_IUISettings2::TextScaleFactor() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings2)->get_TextScaleFactor(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IUISettings2::TextScaleFactorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IUISettings2::TextScaleFactorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings2)->add_TextScaleFactorChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_ViewManagement_IUISettings2::TextScaleFactorChanged_revoker consume_Windows_UI_ViewManagement_IUISettings2::TextScaleFactorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IUISettings2::TextScaleFactorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextScaleFactorChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IUISettings2::TextScaleFactorChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_ViewManagement_IUISettings2::TextScaleFactorChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings2)->remove_TextScaleFactorChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_ViewManagement_IUISettings3::GetColorValue(winrt::Windows::UI::ViewManagement::UIColorType const& desiredColor) const + template auto consume_Windows_UI_ViewManagement_IUISettings3::GetColorValue(winrt::Windows::UI::ViewManagement::UIColorType const& desiredColor) const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings3)->GetColorValue(static_cast(desiredColor), put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IUISettings3::ColorValuesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IUISettings3::ColorValuesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings3)->add_ColorValuesChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_ViewManagement_IUISettings3::ColorValuesChanged_revoker consume_Windows_UI_ViewManagement_IUISettings3::ColorValuesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IUISettings3::ColorValuesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ColorValuesChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IUISettings3::ColorValuesChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_ViewManagement_IUISettings3::ColorValuesChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings3)->remove_ColorValuesChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IUISettings4::AdvancedEffectsEnabled() const + template auto consume_Windows_UI_ViewManagement_IUISettings4::AdvancedEffectsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings4)->get_AdvancedEffectsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IUISettings4::AdvancedEffectsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IUISettings4::AdvancedEffectsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token cookie{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings4)->add_AdvancedEffectsEnabledChanged(*(void**)(&handler), put_abi(cookie))); return cookie; } - template typename consume_Windows_UI_ViewManagement_IUISettings4::AdvancedEffectsEnabledChanged_revoker consume_Windows_UI_ViewManagement_IUISettings4::AdvancedEffectsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IUISettings4::AdvancedEffectsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AdvancedEffectsEnabledChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IUISettings4::AdvancedEffectsEnabledChanged(winrt::event_token const& cookie) const noexcept + template auto consume_Windows_UI_ViewManagement_IUISettings4::AdvancedEffectsEnabledChanged(winrt::event_token const& cookie) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings4)->remove_AdvancedEffectsEnabledChanged(impl::bind_in(cookie)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IUISettings5::AutoHideScrollBars() const + template auto consume_Windows_UI_ViewManagement_IUISettings5::AutoHideScrollBars() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings5)->get_AutoHideScrollBars(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IUISettings5::AutoHideScrollBarsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IUISettings5::AutoHideScrollBarsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings5)->add_AutoHideScrollBarsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_ViewManagement_IUISettings5::AutoHideScrollBarsChanged_revoker consume_Windows_UI_ViewManagement_IUISettings5::AutoHideScrollBarsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IUISettings5::AutoHideScrollBarsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AutoHideScrollBarsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IUISettings5::AutoHideScrollBarsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_ViewManagement_IUISettings5::AutoHideScrollBarsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings5)->remove_AutoHideScrollBarsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IUISettings6::AnimationsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IUISettings6::AnimationsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings6)->add_AnimationsEnabledChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_ViewManagement_IUISettings6::AnimationsEnabledChanged_revoker consume_Windows_UI_ViewManagement_IUISettings6::AnimationsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IUISettings6::AnimationsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AnimationsEnabledChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IUISettings6::AnimationsEnabledChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_ViewManagement_IUISettings6::AnimationsEnabledChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings6)->remove_AnimationsEnabledChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IUISettings6::MessageDurationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IUISettings6::MessageDurationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings6)->add_MessageDurationChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_ViewManagement_IUISettings6::MessageDurationChanged_revoker consume_Windows_UI_ViewManagement_IUISettings6::MessageDurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_ViewManagement_IUISettings6::MessageDurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MessageDurationChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IUISettings6::MessageDurationChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_ViewManagement_IUISettings6::MessageDurationChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings6)->remove_MessageDurationChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::UserInteractionMode) consume_Windows_UI_ViewManagement_IUIViewSettings::UserInteractionMode() const + template auto consume_Windows_UI_ViewManagement_IUIViewSettings::UserInteractionMode() const { winrt::Windows::UI::ViewManagement::UserInteractionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUIViewSettings)->get_UserInteractionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::UIViewSettings) consume_Windows_UI_ViewManagement_IUIViewSettingsStatics::GetForCurrentView() const + template auto consume_Windows_UI_ViewManagement_IUIViewSettingsStatics::GetForCurrentView() const { void* current{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUIViewSettingsStatics)->GetForCurrentView(¤t)); return winrt::Windows::UI::ViewManagement::UIViewSettings{ current, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ViewSizePreference) consume_Windows_UI_ViewManagement_IViewModePreferences::ViewSizePreference() const + template auto consume_Windows_UI_ViewManagement_IViewModePreferences::ViewSizePreference() const { winrt::Windows::UI::ViewManagement::ViewSizePreference value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IViewModePreferences)->get_ViewSizePreference(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IViewModePreferences::ViewSizePreference(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const + template auto consume_Windows_UI_ViewManagement_IViewModePreferences::ViewSizePreference(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IViewModePreferences)->put_ViewSizePreference(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_ViewManagement_IViewModePreferences::CustomSize() const + template auto consume_Windows_UI_ViewManagement_IViewModePreferences::CustomSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IViewModePreferences)->get_CustomSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IViewModePreferences::CustomSize(winrt::Windows::Foundation::Size const& value) const + template auto consume_Windows_UI_ViewManagement_IViewModePreferences::CustomSize(winrt::Windows::Foundation::Size const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IViewModePreferences)->put_CustomSize(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ViewModePreferences) consume_Windows_UI_ViewManagement_IViewModePreferencesStatics::CreateDefault(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& mode) const + template auto consume_Windows_UI_ViewManagement_IViewModePreferencesStatics::CreateDefault(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& mode) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IViewModePreferencesStatics)->CreateDefault(static_cast(mode), &result)); @@ -2864,10 +2864,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::ViewManagement { return impl::call_factory([&](IProjectionManagerStatics const& f) { return f.ProjectionDisplayAvailableChanged(handler); }); } - inline ProjectionManager::ProjectionDisplayAvailableChanged_revoker ProjectionManager::ProjectionDisplayAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto ProjectionManager::ProjectionDisplayAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.ProjectionDisplayAvailableChanged(handler) }; + return ProjectionManager::ProjectionDisplayAvailableChanged_revoker{ f, f.ProjectionDisplayAvailableChanged(handler) }; } inline auto ProjectionManager::ProjectionDisplayAvailableChanged(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.WebUI.Core.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.WebUI.Core.h index 680c15ae..d47b9c58 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.WebUI.Core.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.WebUI.Core.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_WebUI_Core_H #define WINRT_Windows_UI_WebUI_Core_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.WebUI.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -13,259 +13,259 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.WebUI.Core.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_Core_IWebUICommandBar::Visible() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::Visible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->get_Visible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar::Visible(bool value) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::Visible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->put_Visible(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_WebUI_Core_IWebUICommandBar::Opacity() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::Opacity() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->get_Opacity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar::Opacity(double value) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::Opacity(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->put_Opacity(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_WebUI_Core_IWebUICommandBar::ForegroundColor() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::ForegroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->get_ForegroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar::ForegroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::ForegroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->put_ForegroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_WebUI_Core_IWebUICommandBar::BackgroundColor() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::BackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->get_BackgroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar::BackgroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::BackgroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->put_BackgroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::Core::WebUICommandBarClosedDisplayMode) consume_Windows_UI_WebUI_Core_IWebUICommandBar::ClosedDisplayMode() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::ClosedDisplayMode() const { winrt::Windows::UI::WebUI::Core::WebUICommandBarClosedDisplayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->get_ClosedDisplayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar::ClosedDisplayMode(winrt::Windows::UI::WebUI::Core::WebUICommandBarClosedDisplayMode const& value) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::ClosedDisplayMode(winrt::Windows::UI::WebUI::Core::WebUICommandBarClosedDisplayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->put_ClosedDisplayMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_Core_IWebUICommandBar::IsOpen() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::IsOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->get_IsOpen(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar::IsOpen(bool value) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::IsOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->put_IsOpen(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_WebUI_Core_IWebUICommandBar::Size() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::Size() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->get_Size(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) consume_Windows_UI_WebUI_Core_IWebUICommandBar::PrimaryCommands() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::PrimaryCommands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->get_PrimaryCommands(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) consume_Windows_UI_WebUI_Core_IWebUICommandBar::SecondaryCommands() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::SecondaryCommands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->get_SecondaryCommands(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_Core_IWebUICommandBar::MenuOpened(winrt::Windows::UI::WebUI::Core::MenuOpenedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::MenuOpened(winrt::Windows::UI::WebUI::Core::MenuOpenedEventHandler const& handler) const { winrt::event_token value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->add_MenuOpened(*(void**)(&handler), put_abi(value))); return value; } - template typename consume_Windows_UI_WebUI_Core_IWebUICommandBar::MenuOpened_revoker consume_Windows_UI_WebUI_Core_IWebUICommandBar::MenuOpened(auto_revoke_t, winrt::Windows::UI::WebUI::Core::MenuOpenedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::MenuOpened(auto_revoke_t, winrt::Windows::UI::WebUI::Core::MenuOpenedEventHandler const& handler) const { return impl::make_event_revoker(this, MenuOpened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar::MenuOpened(winrt::event_token const& value) const noexcept + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::MenuOpened(winrt::event_token const& value) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->remove_MenuOpened(impl::bind_in(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_Core_IWebUICommandBar::MenuClosed(winrt::Windows::UI::WebUI::Core::MenuClosedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::MenuClosed(winrt::Windows::UI::WebUI::Core::MenuClosedEventHandler const& handler) const { winrt::event_token value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->add_MenuClosed(*(void**)(&handler), put_abi(value))); return value; } - template typename consume_Windows_UI_WebUI_Core_IWebUICommandBar::MenuClosed_revoker consume_Windows_UI_WebUI_Core_IWebUICommandBar::MenuClosed(auto_revoke_t, winrt::Windows::UI::WebUI::Core::MenuClosedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::MenuClosed(auto_revoke_t, winrt::Windows::UI::WebUI::Core::MenuClosedEventHandler const& handler) const { return impl::make_event_revoker(this, MenuClosed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar::MenuClosed(winrt::event_token const& value) const noexcept + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::MenuClosed(winrt::event_token const& value) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->remove_MenuClosed(impl::bind_in(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_Core_IWebUICommandBar::SizeChanged(winrt::Windows::UI::WebUI::Core::SizeChangedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::SizeChanged(winrt::Windows::UI::WebUI::Core::SizeChangedEventHandler const& handler) const { winrt::event_token value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->add_SizeChanged(*(void**)(&handler), put_abi(value))); return value; } - template typename consume_Windows_UI_WebUI_Core_IWebUICommandBar::SizeChanged_revoker consume_Windows_UI_WebUI_Core_IWebUICommandBar::SizeChanged(auto_revoke_t, winrt::Windows::UI::WebUI::Core::SizeChangedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::SizeChanged(auto_revoke_t, winrt::Windows::UI::WebUI::Core::SizeChangedEventHandler const& handler) const { return impl::make_event_revoker(this, SizeChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar::SizeChanged(winrt::event_token const& value) const noexcept + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBar::SizeChanged(winrt::event_token const& value) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->remove_SizeChanged(impl::bind_in(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_WebUI_Core_IWebUICommandBarBitmapIcon::Uri() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarBitmapIcon::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarBitmapIcon)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarBitmapIcon::Uri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarBitmapIcon::Uri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarBitmapIcon)->put_Uri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::Core::WebUICommandBarBitmapIcon) consume_Windows_UI_WebUI_Core_IWebUICommandBarBitmapIconFactory::Create(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarBitmapIconFactory::Create(winrt::Windows::Foundation::Uri const& uri) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarBitmapIconFactory)->Create(*(void**)(&uri), &instance)); return winrt::Windows::UI::WebUI::Core::WebUICommandBarBitmapIcon{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton::Text() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarConfirmationButton)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton::Text(param::hstring const& value) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarConfirmationButton)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarConfirmationButton)->add_ItemInvoked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton::ItemInvoked_revoker consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemInvoked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton::ItemInvoked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton::ItemInvoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarConfirmationButton)->remove_ItemInvoked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::Enabled() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::Enabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->get_Enabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::Enabled(bool value) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::Enabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->put_Enabled(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::Label() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::Label(param::hstring const& value) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::Label(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->put_Label(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::IsToggleButton() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::IsToggleButton() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->get_IsToggleButton(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::IsToggleButton(bool value) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::IsToggleButton(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->put_IsToggleButton(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::IsChecked() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::IsChecked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->get_IsChecked(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::IsChecked(bool value) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::IsChecked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->put_IsChecked(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIcon) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::Icon() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->get_Icon(&value)); return winrt::Windows::UI::WebUI::Core::IWebUICommandBarIcon{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::Icon(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIcon const& value) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::Icon(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIcon const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->put_Icon(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->add_ItemInvoked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::ItemInvoked_revoker consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemInvoked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::ItemInvoked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton::ItemInvoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->remove_ItemInvoked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_Core_IWebUICommandBarItemInvokedEventArgs::IsPrimaryCommand() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarItemInvokedEventArgs::IsPrimaryCommand() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarItemInvokedEventArgs)->get_IsPrimaryCommand(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_WebUI_Core_IWebUICommandBarSizeChangedEventArgs::Size() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarSizeChangedEventArgs::Size() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarSizeChangedEventArgs)->get_Size(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::Core::WebUICommandBar) consume_Windows_UI_WebUI_Core_IWebUICommandBarStatics::GetForCurrentView() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarStatics::GetForCurrentView() const { void* commandBar{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarStatics)->GetForCurrentView(&commandBar)); return winrt::Windows::UI::WebUI::Core::WebUICommandBar{ commandBar, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_WebUI_Core_IWebUICommandBarSymbolIcon::Symbol() const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarSymbolIcon::Symbol() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarSymbolIcon)->get_Symbol(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarSymbolIcon::Symbol(param::hstring const& value) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarSymbolIcon::Symbol(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarSymbolIcon)->put_Symbol(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::Core::WebUICommandBarSymbolIcon) consume_Windows_UI_WebUI_Core_IWebUICommandBarSymbolIconFactory::Create(param::hstring const& symbol) const + template auto consume_Windows_UI_WebUI_Core_IWebUICommandBarSymbolIconFactory::Create(param::hstring const& symbol) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarSymbolIconFactory)->Create(*(void**)(&symbol), &instance)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.WebUI.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.WebUI.h index 9384a313..384da65d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.WebUI.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.WebUI.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_WebUI_H #define WINRT_Windows_UI_WebUI_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.h" #include "winrt/impl/Windows.ApplicationModel.2.h" #include "winrt/impl/Windows.ApplicationModel.Activation.2.h" @@ -18,349 +18,349 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.WebUI.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IActivatedDeferral::Complete() const + template auto consume_Windows_UI_WebUI_IActivatedDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IActivatedDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::ActivatedOperation) consume_Windows_UI_WebUI_IActivatedEventArgsDeferral::ActivatedOperation() const + template auto consume_Windows_UI_WebUI_IActivatedEventArgsDeferral::ActivatedOperation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IActivatedEventArgsDeferral)->get_ActivatedOperation(&value)); return winrt::Windows::UI::WebUI::ActivatedOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::ActivatedDeferral) consume_Windows_UI_WebUI_IActivatedOperation::GetDeferral() const + template auto consume_Windows_UI_WebUI_IActivatedOperation::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IActivatedOperation)->GetDeferral(&deferral)); return winrt::Windows::UI::WebUI::ActivatedDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::PrintContent) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::Content() const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::Content() const { winrt::Windows::UI::WebUI::PrintContent value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_Content(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::Content(winrt::Windows::UI::WebUI::PrintContent const& value) const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::Content(winrt::Windows::UI::WebUI::PrintContent const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->put_Content(static_cast(value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::LeftMargin() const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::LeftMargin() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_LeftMargin(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::LeftMargin(float value) const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::LeftMargin(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->put_LeftMargin(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::TopMargin() const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::TopMargin() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_TopMargin(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::TopMargin(float value) const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::TopMargin(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->put_TopMargin(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::RightMargin() const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::RightMargin() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_RightMargin(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::RightMargin(float value) const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::RightMargin(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->put_RightMargin(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::BottomMargin() const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::BottomMargin() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_BottomMargin(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::BottomMargin(float value) const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::BottomMargin(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->put_BottomMargin(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::EnableHeaderFooter() const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::EnableHeaderFooter() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_EnableHeaderFooter(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::EnableHeaderFooter(bool value) const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::EnableHeaderFooter(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->put_EnableHeaderFooter(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::ShrinkToFit() const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::ShrinkToFit() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_ShrinkToFit(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::ShrinkToFit(bool value) const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::ShrinkToFit(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->put_ShrinkToFit(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::PercentScale() const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::PercentScale() const { float pScalePercent{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_PercentScale(&pScalePercent)); return pScalePercent; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::PercentScale(float scalePercent) const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::PercentScale(float scalePercent) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->put_PercentScale(scalePercent)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::PageRange() const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::PageRange() const { void* pstrPageRange{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_PageRange(&pstrPageRange)); return hstring{ pstrPageRange, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::TrySetPageRange(param::hstring const& strPageRange) const + template auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource::TrySetPageRange(param::hstring const& strPageRange) const { bool pfSuccess{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->TrySetPageRange(*(void**)(&strPageRange), &pfSuccess)); return pfSuccess; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::WebUIView) consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs::WebUIView() const + template auto consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs::WebUIView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::INewWebUIViewCreatedEventArgs)->get_WebUIView(&value)); return winrt::Windows::UI::WebUI::WebUIView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs) consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs::ActivatedEventArgs() const + template auto consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs::ActivatedEventArgs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::INewWebUIViewCreatedEventArgs)->get_ActivatedEventArgs(&value)); return winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs::HasPendingNavigate() const + template auto consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs::HasPendingNavigate() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::INewWebUIViewCreatedEventArgs)->get_HasPendingNavigate(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs::GetDeferral() const + template auto consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::INewWebUIViewCreatedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIActivationStatics::Activated(winrt::Windows::UI::WebUI::ActivatedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics::Activated(winrt::Windows::UI::WebUI::ActivatedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics)->add_Activated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WebUI_IWebUIActivationStatics::Activated_revoker consume_Windows_UI_WebUI_IWebUIActivationStatics::Activated(auto_revoke_t, winrt::Windows::UI::WebUI::ActivatedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics::Activated(auto_revoke_t, winrt::Windows::UI::WebUI::ActivatedEventHandler const& handler) const { return impl::make_event_revoker(this, Activated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics::Activated(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics::Activated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics)->remove_Activated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIActivationStatics::Suspending(winrt::Windows::UI::WebUI::SuspendingEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics::Suspending(winrt::Windows::UI::WebUI::SuspendingEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics)->add_Suspending(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WebUI_IWebUIActivationStatics::Suspending_revoker consume_Windows_UI_WebUI_IWebUIActivationStatics::Suspending(auto_revoke_t, winrt::Windows::UI::WebUI::SuspendingEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics::Suspending(auto_revoke_t, winrt::Windows::UI::WebUI::SuspendingEventHandler const& handler) const { return impl::make_event_revoker(this, Suspending(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics::Suspending(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics::Suspending(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics)->remove_Suspending(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIActivationStatics::Resuming(winrt::Windows::UI::WebUI::ResumingEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics::Resuming(winrt::Windows::UI::WebUI::ResumingEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics)->add_Resuming(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WebUI_IWebUIActivationStatics::Resuming_revoker consume_Windows_UI_WebUI_IWebUIActivationStatics::Resuming(auto_revoke_t, winrt::Windows::UI::WebUI::ResumingEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics::Resuming(auto_revoke_t, winrt::Windows::UI::WebUI::ResumingEventHandler const& handler) const { return impl::make_event_revoker(this, Resuming(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics::Resuming(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics::Resuming(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics)->remove_Resuming(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIActivationStatics::Navigated(winrt::Windows::UI::WebUI::NavigatedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics::Navigated(winrt::Windows::UI::WebUI::NavigatedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics)->add_Navigated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WebUI_IWebUIActivationStatics::Navigated_revoker consume_Windows_UI_WebUI_IWebUIActivationStatics::Navigated(auto_revoke_t, winrt::Windows::UI::WebUI::NavigatedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics::Navigated(auto_revoke_t, winrt::Windows::UI::WebUI::NavigatedEventHandler const& handler) const { return impl::make_event_revoker(this, Navigated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics::Navigated(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics::Navigated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics)->remove_Navigated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIActivationStatics2::LeavingBackground(winrt::Windows::UI::WebUI::LeavingBackgroundEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics2::LeavingBackground(winrt::Windows::UI::WebUI::LeavingBackgroundEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics2)->add_LeavingBackground(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WebUI_IWebUIActivationStatics2::LeavingBackground_revoker consume_Windows_UI_WebUI_IWebUIActivationStatics2::LeavingBackground(auto_revoke_t, winrt::Windows::UI::WebUI::LeavingBackgroundEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics2::LeavingBackground(auto_revoke_t, winrt::Windows::UI::WebUI::LeavingBackgroundEventHandler const& handler) const { return impl::make_event_revoker(this, LeavingBackground(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics2::LeavingBackground(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics2::LeavingBackground(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics2)->remove_LeavingBackground(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIActivationStatics2::EnteredBackground(winrt::Windows::UI::WebUI::EnteredBackgroundEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics2::EnteredBackground(winrt::Windows::UI::WebUI::EnteredBackgroundEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics2)->add_EnteredBackground(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WebUI_IWebUIActivationStatics2::EnteredBackground_revoker consume_Windows_UI_WebUI_IWebUIActivationStatics2::EnteredBackground(auto_revoke_t, winrt::Windows::UI::WebUI::EnteredBackgroundEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics2::EnteredBackground(auto_revoke_t, winrt::Windows::UI::WebUI::EnteredBackgroundEventHandler const& handler) const { return impl::make_event_revoker(this, EnteredBackground(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics2::EnteredBackground(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics2::EnteredBackground(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics2)->remove_EnteredBackground(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics2::EnablePrelaunch(bool value) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics2::EnablePrelaunch(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics2)->EnablePrelaunch(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_WebUI_IWebUIActivationStatics3::RequestRestartAsync(param::hstring const& launchArguments) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics3::RequestRestartAsync(param::hstring const& launchArguments) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics3)->RequestRestartAsync(*(void**)(&launchArguments), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_WebUI_IWebUIActivationStatics3::RequestRestartForUserAsync(winrt::Windows::System::User const& user, param::hstring const& launchArguments) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics3::RequestRestartForUserAsync(winrt::Windows::System::User const& user, param::hstring const& launchArguments) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics3)->RequestRestartForUserAsync(*(void**)(&user), *(void**)(&launchArguments), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIActivationStatics4::NewWebUIViewCreated(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics4::NewWebUIViewCreated(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics4)->add_NewWebUIViewCreated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WebUI_IWebUIActivationStatics4::NewWebUIViewCreated_revoker consume_Windows_UI_WebUI_IWebUIActivationStatics4::NewWebUIViewCreated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics4::NewWebUIViewCreated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, NewWebUIViewCreated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics4::NewWebUIViewCreated(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics4::NewWebUIViewCreated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics4)->remove_NewWebUIViewCreated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIActivationStatics4::BackgroundActivated(winrt::Windows::UI::WebUI::BackgroundActivatedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics4::BackgroundActivated(winrt::Windows::UI::WebUI::BackgroundActivatedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics4)->add_BackgroundActivated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WebUI_IWebUIActivationStatics4::BackgroundActivated_revoker consume_Windows_UI_WebUI_IWebUIActivationStatics4::BackgroundActivated(auto_revoke_t, winrt::Windows::UI::WebUI::BackgroundActivatedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics4::BackgroundActivated(auto_revoke_t, winrt::Windows::UI::WebUI::BackgroundActivatedEventHandler const& handler) const { return impl::make_event_revoker(this, BackgroundActivated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics4::BackgroundActivated(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WebUI_IWebUIActivationStatics4::BackgroundActivated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics4)->remove_BackgroundActivated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_IWebUIBackgroundTaskInstance::Succeeded() const + template auto consume_Windows_UI_WebUI_IWebUIBackgroundTaskInstance::Succeeded() const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIBackgroundTaskInstance)->get_Succeeded(&succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIBackgroundTaskInstance::Succeeded(bool succeeded) const + template auto consume_Windows_UI_WebUI_IWebUIBackgroundTaskInstance::Succeeded(bool succeeded) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIBackgroundTaskInstance)->put_Succeeded(succeeded)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::IWebUIBackgroundTaskInstance) consume_Windows_UI_WebUI_IWebUIBackgroundTaskInstanceStatics::Current() const + template auto consume_Windows_UI_WebUI_IWebUIBackgroundTaskInstanceStatics::Current() const { void* backgroundTaskInstance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIBackgroundTaskInstanceStatics)->get_Current(&backgroundTaskInstance)); return winrt::Windows::UI::WebUI::IWebUIBackgroundTaskInstance{ backgroundTaskInstance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUINavigatedDeferral::Complete() const + template auto consume_Windows_UI_WebUI_IWebUINavigatedDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUINavigatedDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::WebUINavigatedOperation) consume_Windows_UI_WebUI_IWebUINavigatedEventArgs::NavigatedOperation() const + template auto consume_Windows_UI_WebUI_IWebUINavigatedEventArgs::NavigatedOperation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUINavigatedEventArgs)->get_NavigatedOperation(&value)); return winrt::Windows::UI::WebUI::WebUINavigatedOperation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::WebUINavigatedDeferral) consume_Windows_UI_WebUI_IWebUINavigatedOperation::GetDeferral() const + template auto consume_Windows_UI_WebUI_IWebUINavigatedOperation::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUINavigatedOperation)->GetDeferral(&deferral)); return winrt::Windows::UI::WebUI::WebUINavigatedDeferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_WebUI_IWebUIView::ApplicationViewId() const + template auto consume_Windows_UI_WebUI_IWebUIView::ApplicationViewId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIView)->get_ApplicationViewId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIView::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIView::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIView)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WebUI_IWebUIView::Closed_revoker consume_Windows_UI_WebUI_IWebUIView::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIView::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIView::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WebUI_IWebUIView::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIView)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIView::Activated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIView::Activated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIView)->add_Activated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WebUI_IWebUIView::Activated_revoker consume_Windows_UI_WebUI_IWebUIView::Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WebUI_IWebUIView::Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Activated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIView::Activated(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WebUI_IWebUIView::Activated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIView)->remove_Activated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_IWebUIView::IgnoreApplicationContentUriRulesNavigationRestrictions() const + template auto consume_Windows_UI_WebUI_IWebUIView::IgnoreApplicationContentUriRulesNavigationRestrictions() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIView)->get_IgnoreApplicationContentUriRulesNavigationRestrictions(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIView::IgnoreApplicationContentUriRulesNavigationRestrictions(bool value) const + template auto consume_Windows_UI_WebUI_IWebUIView::IgnoreApplicationContentUriRulesNavigationRestrictions(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIView)->put_IgnoreApplicationContentUriRulesNavigationRestrictions(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_WebUI_IWebUIViewStatics::CreateAsync() const + template auto consume_Windows_UI_WebUI_IWebUIViewStatics::CreateAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIViewStatics)->CreateAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_WebUI_IWebUIViewStatics::CreateAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_UI_WebUI_IWebUIViewStatics::CreateAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIViewStatics)->CreateWithUriAsync(*(void**)(&uri), &operation)); @@ -966,10 +966,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::WebUI { return impl::call_factory([&](IWebUIActivationStatics const& f) { return f.Activated(handler); }); } - inline WebUIApplication::Activated_revoker WebUIApplication::Activated(auto_revoke_t, winrt::Windows::UI::WebUI::ActivatedEventHandler const& handler) + inline auto WebUIApplication::Activated(auto_revoke_t, winrt::Windows::UI::WebUI::ActivatedEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.Activated(handler) }; + return WebUIApplication::Activated_revoker{ f, f.Activated(handler) }; } inline auto WebUIApplication::Activated(winrt::event_token const& token) { @@ -979,10 +979,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::WebUI { return impl::call_factory([&](IWebUIActivationStatics const& f) { return f.Suspending(handler); }); } - inline WebUIApplication::Suspending_revoker WebUIApplication::Suspending(auto_revoke_t, winrt::Windows::UI::WebUI::SuspendingEventHandler const& handler) + inline auto WebUIApplication::Suspending(auto_revoke_t, winrt::Windows::UI::WebUI::SuspendingEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.Suspending(handler) }; + return WebUIApplication::Suspending_revoker{ f, f.Suspending(handler) }; } inline auto WebUIApplication::Suspending(winrt::event_token const& token) { @@ -992,10 +992,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::WebUI { return impl::call_factory([&](IWebUIActivationStatics const& f) { return f.Resuming(handler); }); } - inline WebUIApplication::Resuming_revoker WebUIApplication::Resuming(auto_revoke_t, winrt::Windows::UI::WebUI::ResumingEventHandler const& handler) + inline auto WebUIApplication::Resuming(auto_revoke_t, winrt::Windows::UI::WebUI::ResumingEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.Resuming(handler) }; + return WebUIApplication::Resuming_revoker{ f, f.Resuming(handler) }; } inline auto WebUIApplication::Resuming(winrt::event_token const& token) { @@ -1005,10 +1005,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::WebUI { return impl::call_factory([&](IWebUIActivationStatics const& f) { return f.Navigated(handler); }); } - inline WebUIApplication::Navigated_revoker WebUIApplication::Navigated(auto_revoke_t, winrt::Windows::UI::WebUI::NavigatedEventHandler const& handler) + inline auto WebUIApplication::Navigated(auto_revoke_t, winrt::Windows::UI::WebUI::NavigatedEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.Navigated(handler) }; + return WebUIApplication::Navigated_revoker{ f, f.Navigated(handler) }; } inline auto WebUIApplication::Navigated(winrt::event_token const& token) { @@ -1018,10 +1018,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::WebUI { return impl::call_factory([&](IWebUIActivationStatics2 const& f) { return f.LeavingBackground(handler); }); } - inline WebUIApplication::LeavingBackground_revoker WebUIApplication::LeavingBackground(auto_revoke_t, winrt::Windows::UI::WebUI::LeavingBackgroundEventHandler const& handler) + inline auto WebUIApplication::LeavingBackground(auto_revoke_t, winrt::Windows::UI::WebUI::LeavingBackgroundEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.LeavingBackground(handler) }; + return WebUIApplication::LeavingBackground_revoker{ f, f.LeavingBackground(handler) }; } inline auto WebUIApplication::LeavingBackground(winrt::event_token const& token) { @@ -1031,10 +1031,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::WebUI { return impl::call_factory([&](IWebUIActivationStatics2 const& f) { return f.EnteredBackground(handler); }); } - inline WebUIApplication::EnteredBackground_revoker WebUIApplication::EnteredBackground(auto_revoke_t, winrt::Windows::UI::WebUI::EnteredBackgroundEventHandler const& handler) + inline auto WebUIApplication::EnteredBackground(auto_revoke_t, winrt::Windows::UI::WebUI::EnteredBackgroundEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.EnteredBackground(handler) }; + return WebUIApplication::EnteredBackground_revoker{ f, f.EnteredBackground(handler) }; } inline auto WebUIApplication::EnteredBackground(winrt::event_token const& token) { @@ -1056,10 +1056,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::WebUI { return impl::call_factory([&](IWebUIActivationStatics4 const& f) { return f.NewWebUIViewCreated(handler); }); } - inline WebUIApplication::NewWebUIViewCreated_revoker WebUIApplication::NewWebUIViewCreated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto WebUIApplication::NewWebUIViewCreated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.NewWebUIViewCreated(handler) }; + return WebUIApplication::NewWebUIViewCreated_revoker{ f, f.NewWebUIViewCreated(handler) }; } inline auto WebUIApplication::NewWebUIViewCreated(winrt::event_token const& token) { @@ -1069,10 +1069,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::WebUI { return impl::call_factory([&](IWebUIActivationStatics4 const& f) { return f.BackgroundActivated(handler); }); } - inline WebUIApplication::BackgroundActivated_revoker WebUIApplication::BackgroundActivated(auto_revoke_t, winrt::Windows::UI::WebUI::BackgroundActivatedEventHandler const& handler) + inline auto WebUIApplication::BackgroundActivated(auto_revoke_t, winrt::Windows::UI::WebUI::BackgroundActivatedEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.BackgroundActivated(handler) }; + return WebUIApplication::BackgroundActivated_revoker{ f, f.BackgroundActivated(handler) }; } inline auto WebUIApplication::BackgroundActivated(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.WindowManagement.Preview.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.WindowManagement.Preview.h index 479cefd3..cb190c70 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.WindowManagement.Preview.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.WindowManagement.Preview.h @@ -1,18 +1,18 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_WindowManagement_Preview_H #define WINRT_Windows_UI_WindowManagement_Preview_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.WindowManagement.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.UI.WindowManagement.2.h" #include "winrt/impl/Windows.UI.WindowManagement.Preview.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_Preview_IWindowManagementPreviewStatics::SetPreferredMinSize(winrt::Windows::UI::WindowManagement::AppWindow const& window, winrt::Windows::Foundation::Size const& preferredFrameMinSize) const + template auto consume_Windows_UI_WindowManagement_Preview_IWindowManagementPreviewStatics::SetPreferredMinSize(winrt::Windows::UI::WindowManagement::AppWindow const& window, winrt::Windows::Foundation::Size const& preferredFrameMinSize) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::Preview::IWindowManagementPreviewStatics)->SetPreferredMinSize(*(void**)(&window), impl::bind_in(preferredFrameMinSize))); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.WindowManagement.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.WindowManagement.h index 761fcc56..cba8399f 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.WindowManagement.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.WindowManagement.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_WindowManagement_H #define WINRT_Windows_UI_WindowManagement_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,585 +15,585 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.WindowManagement.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::UIContentRoot) consume_Windows_UI_WindowManagement_IAppWindow::Content() const + template auto consume_Windows_UI_WindowManagement_IAppWindow::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->get_Content(&value)); return winrt::Windows::UI::UIContentRoot{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_UI_WindowManagement_IAppWindow::DispatcherQueue() const + template auto consume_Windows_UI_WindowManagement_IAppWindow::DispatcherQueue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->get_DispatcherQueue(&value)); return winrt::Windows::System::DispatcherQueue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowFrame) consume_Windows_UI_WindowManagement_IAppWindow::Frame() const + template auto consume_Windows_UI_WindowManagement_IAppWindow::Frame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->get_Frame(&value)); return winrt::Windows::UI::WindowManagement::AppWindowFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindow::IsVisible() const + template auto consume_Windows_UI_WindowManagement_IAppWindow::IsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->get_IsVisible(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_WindowManagement_IAppWindow::PersistedStateId() const + template auto consume_Windows_UI_WindowManagement_IAppWindow::PersistedStateId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->get_PersistedStateId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow::PersistedStateId(param::hstring const& value) const + template auto consume_Windows_UI_WindowManagement_IAppWindow::PersistedStateId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->put_PersistedStateId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowPresenter) consume_Windows_UI_WindowManagement_IAppWindow::Presenter() const + template auto consume_Windows_UI_WindowManagement_IAppWindow::Presenter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->get_Presenter(&value)); return winrt::Windows::UI::WindowManagement::AppWindowPresenter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_WindowManagement_IAppWindow::Title() const + template auto consume_Windows_UI_WindowManagement_IAppWindow::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow::Title(param::hstring const& value) const + template auto consume_Windows_UI_WindowManagement_IAppWindow::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowTitleBar) consume_Windows_UI_WindowManagement_IAppWindow::TitleBar() const + template auto consume_Windows_UI_WindowManagement_IAppWindow::TitleBar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->get_TitleBar(&value)); return winrt::Windows::UI::WindowManagement::AppWindowTitleBar{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) consume_Windows_UI_WindowManagement_IAppWindow::UIContext() const + template auto consume_Windows_UI_WindowManagement_IAppWindow::UIContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->get_UIContext(&value)); return winrt::Windows::UI::UIContext{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) consume_Windows_UI_WindowManagement_IAppWindow::WindowingEnvironment() const + template auto consume_Windows_UI_WindowManagement_IAppWindow::WindowingEnvironment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->get_WindowingEnvironment(&value)); return winrt::Windows::UI::WindowManagement::WindowingEnvironment{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_WindowManagement_IAppWindow::CloseAsync() const + template auto consume_Windows_UI_WindowManagement_IAppWindow::CloseAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->CloseAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowPlacement) consume_Windows_UI_WindowManagement_IAppWindow::GetPlacement() const + template auto consume_Windows_UI_WindowManagement_IAppWindow::GetPlacement() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->GetPlacement(&result)); return winrt::Windows::UI::WindowManagement::AppWindowPlacement{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_WindowManagement_IAppWindow::GetDisplayRegions() const + template auto consume_Windows_UI_WindowManagement_IAppWindow::GetDisplayRegions() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->GetDisplayRegions(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow::RequestMoveToDisplayRegion(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const + template auto consume_Windows_UI_WindowManagement_IAppWindow::RequestMoveToDisplayRegion(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->RequestMoveToDisplayRegion(*(void**)(&displayRegion))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow::RequestMoveAdjacentToCurrentView() const + template auto consume_Windows_UI_WindowManagement_IAppWindow::RequestMoveAdjacentToCurrentView() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->RequestMoveAdjacentToCurrentView()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow::RequestMoveAdjacentToWindow(winrt::Windows::UI::WindowManagement::AppWindow const& anchorWindow) const + template auto consume_Windows_UI_WindowManagement_IAppWindow::RequestMoveAdjacentToWindow(winrt::Windows::UI::WindowManagement::AppWindow const& anchorWindow) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->RequestMoveAdjacentToWindow(*(void**)(&anchorWindow))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow::RequestMoveRelativeToWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& anchorWindow, winrt::Windows::Foundation::Point const& contentOffset) const + template auto consume_Windows_UI_WindowManagement_IAppWindow::RequestMoveRelativeToWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& anchorWindow, winrt::Windows::Foundation::Point const& contentOffset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->RequestMoveRelativeToWindowContent(*(void**)(&anchorWindow), impl::bind_in(contentOffset))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow::RequestMoveRelativeToCurrentViewContent(winrt::Windows::Foundation::Point const& contentOffset) const + template auto consume_Windows_UI_WindowManagement_IAppWindow::RequestMoveRelativeToCurrentViewContent(winrt::Windows::Foundation::Point const& contentOffset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->RequestMoveRelativeToCurrentViewContent(impl::bind_in(contentOffset))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow::RequestMoveRelativeToDisplayRegion(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion, winrt::Windows::Foundation::Point const& displayRegionOffset) const + template auto consume_Windows_UI_WindowManagement_IAppWindow::RequestMoveRelativeToDisplayRegion(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion, winrt::Windows::Foundation::Point const& displayRegionOffset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->RequestMoveRelativeToDisplayRegion(*(void**)(&displayRegion), impl::bind_in(displayRegionOffset))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow::RequestSize(winrt::Windows::Foundation::Size const& frameSize) const + template auto consume_Windows_UI_WindowManagement_IAppWindow::RequestSize(winrt::Windows::Foundation::Size const& frameSize) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->RequestSize(impl::bind_in(frameSize))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_WindowManagement_IAppWindow::TryShowAsync() const + template auto consume_Windows_UI_WindowManagement_IAppWindow::TryShowAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->TryShowAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WindowManagement_IAppWindow::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WindowManagement_IAppWindow::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->add_Changed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WindowManagement_IAppWindow::Changed_revoker consume_Windows_UI_WindowManagement_IAppWindow::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WindowManagement_IAppWindow::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Changed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow::Changed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WindowManagement_IAppWindow::Changed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->remove_Changed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WindowManagement_IAppWindow::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WindowManagement_IAppWindow::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WindowManagement_IAppWindow::Closed_revoker consume_Windows_UI_WindowManagement_IAppWindow::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WindowManagement_IAppWindow::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WindowManagement_IAppWindow::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WindowManagement_IAppWindow::CloseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WindowManagement_IAppWindow::CloseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->add_CloseRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WindowManagement_IAppWindow::CloseRequested_revoker consume_Windows_UI_WindowManagement_IAppWindow::CloseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WindowManagement_IAppWindow::CloseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CloseRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow::CloseRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WindowManagement_IAppWindow::CloseRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->remove_CloseRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs::DidAvailableWindowPresentationsChange() const + template auto consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs::DidAvailableWindowPresentationsChange() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs)->get_DidAvailableWindowPresentationsChange(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs::DidDisplayRegionsChange() const + template auto consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs::DidDisplayRegionsChange() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs)->get_DidDisplayRegionsChange(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs::DidFrameChange() const + template auto consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs::DidFrameChange() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs)->get_DidFrameChange(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs::DidSizeChange() const + template auto consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs::DidSizeChange() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs)->get_DidSizeChange(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs::DidTitleBarChange() const + template auto consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs::DidTitleBarChange() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs)->get_DidTitleBarChange(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs::DidVisibilityChange() const + template auto consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs::DidVisibilityChange() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs)->get_DidVisibilityChange(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs::DidWindowingEnvironmentChange() const + template auto consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs::DidWindowingEnvironmentChange() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs)->get_DidWindowingEnvironmentChange(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs::DidWindowPresentationChange() const + template auto consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs::DidWindowPresentationChange() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs)->get_DidWindowPresentationChange(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowCloseRequestedEventArgs::Cancel() const + template auto consume_Windows_UI_WindowManagement_IAppWindowCloseRequestedEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowCloseRequestedEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowCloseRequestedEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_WindowManagement_IAppWindowCloseRequestedEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowCloseRequestedEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_WindowManagement_IAppWindowCloseRequestedEventArgs::GetDeferral() const + template auto consume_Windows_UI_WindowManagement_IAppWindowCloseRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowCloseRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowClosedReason) consume_Windows_UI_WindowManagement_IAppWindowClosedEventArgs::Reason() const + template auto consume_Windows_UI_WindowManagement_IAppWindowClosedEventArgs::Reason() const { winrt::Windows::UI::WindowManagement::AppWindowClosedReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowClosedEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_WindowManagement_IAppWindowFrame::DragRegionVisuals() const + template auto consume_Windows_UI_WindowManagement_IAppWindowFrame::DragRegionVisuals() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowFrame)->get_DragRegionVisuals(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowFrameStyle) consume_Windows_UI_WindowManagement_IAppWindowFrameStyle::GetFrameStyle() const + template auto consume_Windows_UI_WindowManagement_IAppWindowFrameStyle::GetFrameStyle() const { winrt::Windows::UI::WindowManagement::AppWindowFrameStyle result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowFrameStyle)->GetFrameStyle(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowFrameStyle::SetFrameStyle(winrt::Windows::UI::WindowManagement::AppWindowFrameStyle const& frameStyle) const + template auto consume_Windows_UI_WindowManagement_IAppWindowFrameStyle::SetFrameStyle(winrt::Windows::UI::WindowManagement::AppWindowFrameStyle const& frameStyle) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowFrameStyle)->SetFrameStyle(static_cast(frameStyle))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::DisplayRegion) consume_Windows_UI_WindowManagement_IAppWindowPlacement::DisplayRegion() const + template auto consume_Windows_UI_WindowManagement_IAppWindowPlacement::DisplayRegion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowPlacement)->get_DisplayRegion(&value)); return winrt::Windows::UI::WindowManagement::DisplayRegion{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_WindowManagement_IAppWindowPlacement::Offset() const + template auto consume_Windows_UI_WindowManagement_IAppWindowPlacement::Offset() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowPlacement)->get_Offset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_WindowManagement_IAppWindowPlacement::Size() const + template auto consume_Windows_UI_WindowManagement_IAppWindowPlacement::Size() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowPlacement)->get_Size(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind) consume_Windows_UI_WindowManagement_IAppWindowPresentationConfiguration::Kind() const + template auto consume_Windows_UI_WindowManagement_IAppWindowPresentationConfiguration::Kind() const { winrt::Windows::UI::WindowManagement::AppWindowPresentationKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowPresentationConfiguration)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowPresentationConfiguration) consume_Windows_UI_WindowManagement_IAppWindowPresenter::GetConfiguration() const + template auto consume_Windows_UI_WindowManagement_IAppWindowPresenter::GetConfiguration() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowPresenter)->GetConfiguration(&result)); return winrt::Windows::UI::WindowManagement::AppWindowPresentationConfiguration{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowPresenter::IsPresentationSupported(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind const& presentationKind) const + template auto consume_Windows_UI_WindowManagement_IAppWindowPresenter::IsPresentationSupported(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind const& presentationKind) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowPresenter)->IsPresentationSupported(static_cast(presentationKind), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowPresenter::RequestPresentation(winrt::Windows::UI::WindowManagement::AppWindowPresentationConfiguration const& configuration) const + template auto consume_Windows_UI_WindowManagement_IAppWindowPresenter::RequestPresentation(winrt::Windows::UI::WindowManagement::AppWindowPresentationConfiguration const& configuration) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowPresenter)->RequestPresentation(*(void**)(&configuration), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowPresenter::RequestPresentation(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind const& presentationKind) const + template auto consume_Windows_UI_WindowManagement_IAppWindowPresenter::RequestPresentation(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind const& presentationKind) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowPresenter)->RequestPresentationByKind(static_cast(presentationKind), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_WindowManagement_IAppWindowStatics::TryCreateAsync() const + template auto consume_Windows_UI_WindowManagement_IAppWindowStatics::TryCreateAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowStatics)->TryCreateAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowStatics::ClearAllPersistedState() const + template auto consume_Windows_UI_WindowManagement_IAppWindowStatics::ClearAllPersistedState() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowStatics)->ClearAllPersistedState()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowStatics::ClearPersistedState(param::hstring const& key) const + template auto consume_Windows_UI_WindowManagement_IAppWindowStatics::ClearPersistedState(param::hstring const& key) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowStatics)->ClearPersistedState(*(void**)(&key))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::BackgroundColor() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::BackgroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_BackgroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::BackgroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::BackgroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_BackgroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonBackgroundColor() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonBackgroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ButtonBackgroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonBackgroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonBackgroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ButtonBackgroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonForegroundColor() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonForegroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ButtonForegroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonForegroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonForegroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ButtonForegroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonHoverBackgroundColor() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonHoverBackgroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ButtonHoverBackgroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ButtonHoverBackgroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonHoverForegroundColor() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonHoverForegroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ButtonHoverForegroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ButtonHoverForegroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonInactiveBackgroundColor() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonInactiveBackgroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ButtonInactiveBackgroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ButtonInactiveBackgroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonInactiveForegroundColor() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonInactiveForegroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ButtonInactiveForegroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ButtonInactiveForegroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonPressedBackgroundColor() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonPressedBackgroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ButtonPressedBackgroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ButtonPressedBackgroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonPressedForegroundColor() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonPressedForegroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ButtonPressedForegroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ButtonPressedForegroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ExtendsContentIntoTitleBar() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ExtendsContentIntoTitleBar() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ExtendsContentIntoTitleBar(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ExtendsContentIntoTitleBar(bool value) const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ExtendsContentIntoTitleBar(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ExtendsContentIntoTitleBar(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ForegroundColor() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ForegroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ForegroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ForegroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::ForegroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ForegroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::InactiveBackgroundColor() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::InactiveBackgroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_InactiveBackgroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::InactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::InactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_InactiveBackgroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::InactiveForegroundColor() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::InactiveForegroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_InactiveForegroundColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::InactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::InactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_InactiveForegroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::IsVisible() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::IsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_IsVisible(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_WindowManagement_IAppWindowTitleBar::GetTitleBarOcclusions() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar::GetTitleBarOcclusions() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->GetTitleBarOcclusions(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_WindowManagement_IAppWindowTitleBarOcclusion::OccludingRect() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBarOcclusion::OccludingRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBarOcclusion)->get_OccludingRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowTitleBarVisibility) consume_Windows_UI_WindowManagement_IAppWindowTitleBarVisibility::GetPreferredVisibility() const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBarVisibility::GetPreferredVisibility() const { winrt::Windows::UI::WindowManagement::AppWindowTitleBarVisibility result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBarVisibility)->GetPreferredVisibility(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBarVisibility::SetPreferredVisibility(winrt::Windows::UI::WindowManagement::AppWindowTitleBarVisibility const& visibilityMode) const + template auto consume_Windows_UI_WindowManagement_IAppWindowTitleBarVisibility::SetPreferredVisibility(winrt::Windows::UI::WindowManagement::AppWindowTitleBarVisibility const& visibilityMode) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBarVisibility)->SetPreferredVisibility(static_cast(visibilityMode))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_WindowManagement_IDisplayRegion::DisplayMonitorDeviceId() const + template auto consume_Windows_UI_WindowManagement_IDisplayRegion::DisplayMonitorDeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IDisplayRegion)->get_DisplayMonitorDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IDisplayRegion::IsVisible() const + template auto consume_Windows_UI_WindowManagement_IDisplayRegion::IsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IDisplayRegion)->get_IsVisible(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_WindowManagement_IDisplayRegion::WorkAreaOffset() const + template auto consume_Windows_UI_WindowManagement_IDisplayRegion::WorkAreaOffset() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IDisplayRegion)->get_WorkAreaOffset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_WindowManagement_IDisplayRegion::WorkAreaSize() const + template auto consume_Windows_UI_WindowManagement_IDisplayRegion::WorkAreaSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IDisplayRegion)->get_WorkAreaSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) consume_Windows_UI_WindowManagement_IDisplayRegion::WindowingEnvironment() const + template auto consume_Windows_UI_WindowManagement_IDisplayRegion::WindowingEnvironment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IDisplayRegion)->get_WindowingEnvironment(&value)); return winrt::Windows::UI::WindowManagement::WindowingEnvironment{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WindowManagement_IDisplayRegion::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WindowManagement_IDisplayRegion::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IDisplayRegion)->add_Changed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WindowManagement_IDisplayRegion::Changed_revoker consume_Windows_UI_WindowManagement_IDisplayRegion::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WindowManagement_IDisplayRegion::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Changed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IDisplayRegion::Changed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WindowManagement_IDisplayRegion::Changed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IDisplayRegion)->remove_Changed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IFullScreenPresentationConfiguration::IsExclusive() const + template auto consume_Windows_UI_WindowManagement_IFullScreenPresentationConfiguration::IsExclusive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IFullScreenPresentationConfiguration)->get_IsExclusive(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IFullScreenPresentationConfiguration::IsExclusive(bool value) const + template auto consume_Windows_UI_WindowManagement_IFullScreenPresentationConfiguration::IsExclusive(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IFullScreenPresentationConfiguration)->put_IsExclusive(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_WindowManagement_IWindowServicesStatics::FindAllTopLevelWindowIds() const + template auto consume_Windows_UI_WindowManagement_IWindowServicesStatics::FindAllTopLevelWindowIds() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowServicesStatics)->FindAllTopLevelWindowIds(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IWindowingEnvironment::IsEnabled() const + template auto consume_Windows_UI_WindowManagement_IWindowingEnvironment::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowingEnvironment)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironmentKind) consume_Windows_UI_WindowManagement_IWindowingEnvironment::Kind() const + template auto consume_Windows_UI_WindowManagement_IWindowingEnvironment::Kind() const { winrt::Windows::UI::WindowManagement::WindowingEnvironmentKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowingEnvironment)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_WindowManagement_IWindowingEnvironment::GetDisplayRegions() const + template auto consume_Windows_UI_WindowManagement_IWindowingEnvironment::GetDisplayRegions() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowingEnvironment)->GetDisplayRegions(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WindowManagement_IWindowingEnvironment::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WindowManagement_IWindowingEnvironment::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowingEnvironment)->add_Changed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_WindowManagement_IWindowingEnvironment::Changed_revoker consume_Windows_UI_WindowManagement_IWindowingEnvironment::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_WindowManagement_IWindowingEnvironment::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Changed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IWindowingEnvironment::Changed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_WindowManagement_IWindowingEnvironment::Changed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowingEnvironment)->remove_Changed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) consume_Windows_UI_WindowManagement_IWindowingEnvironmentAddedEventArgs::WindowingEnvironment() const + template auto consume_Windows_UI_WindowManagement_IWindowingEnvironmentAddedEventArgs::WindowingEnvironment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowingEnvironmentAddedEventArgs)->get_WindowingEnvironment(&value)); return winrt::Windows::UI::WindowManagement::WindowingEnvironment{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) consume_Windows_UI_WindowManagement_IWindowingEnvironmentRemovedEventArgs::WindowingEnvironment() const + template auto consume_Windows_UI_WindowManagement_IWindowingEnvironmentRemovedEventArgs::WindowingEnvironment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowingEnvironmentRemovedEventArgs)->get_WindowingEnvironment(&value)); return winrt::Windows::UI::WindowManagement::WindowingEnvironment{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_WindowManagement_IWindowingEnvironmentStatics::FindAll() const + template auto consume_Windows_UI_WindowManagement_IWindowingEnvironmentStatics::FindAll() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowingEnvironmentStatics)->FindAll(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_WindowManagement_IWindowingEnvironmentStatics::FindAll(winrt::Windows::UI::WindowManagement::WindowingEnvironmentKind const& kind) const + template auto consume_Windows_UI_WindowManagement_IWindowingEnvironmentStatics::FindAll(winrt::Windows::UI::WindowManagement::WindowingEnvironmentKind const& kind) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowingEnvironmentStatics)->FindAllWithKind(static_cast(kind), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Peers.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Peers.h index 30e70e76..64ad8851 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Peers.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Peers.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_Peers_H #define WINRT_Windows_UI_Xaml_Automation_Peers_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.Automation.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -17,1173 +17,1173 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Automation.Peers.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AppBarAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAppBarAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AppBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAppBarAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AppBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAppBarAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::AppBarAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AppBarButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAppBarButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AppBarButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAppBarButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AppBarButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAppBarButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::AppBarButtonAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AppBarToggleButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAppBarToggleButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AppBarToggleButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAppBarToggleButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AppBarToggleButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAppBarToggleButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::AppBarToggleButtonAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutoSuggestBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutoSuggestBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox const& owner) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutoSuggestBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox const& owner) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutoSuggestBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::AutoSuggestBoxAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::EventsSource() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::EventsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->get_EventsSource(&value)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::EventsSource(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& value) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::EventsSource(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->put_EventsSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetPattern(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetPattern(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetPattern(static_cast(patternInterface), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::RaiseAutomationEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationEvents const& eventId) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::RaiseAutomationEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationEvents const& eventId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->RaiseAutomationEvent(static_cast(eventId))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::RaisePropertyChangedEvent(winrt::Windows::UI::Xaml::Automation::AutomationProperty const& automationProperty, winrt::Windows::Foundation::IInspectable const& oldValue, winrt::Windows::Foundation::IInspectable const& newValue) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::RaisePropertyChangedEvent(winrt::Windows::UI::Xaml::Automation::AutomationProperty const& automationProperty, winrt::Windows::Foundation::IInspectable const& oldValue, winrt::Windows::Foundation::IInspectable const& newValue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->RaisePropertyChangedEvent(*(void**)(&automationProperty), *(void**)(&oldValue), *(void**)(&newValue))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetAcceleratorKey() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetAcceleratorKey() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetAcceleratorKey(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetAccessKey() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetAccessKey() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetAccessKey(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetAutomationControlType() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetAutomationControlType() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetAutomationControlType(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetAutomationId() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetAutomationId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetAutomationId(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetBoundingRectangle() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetBoundingRectangle() const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetBoundingRectangle(put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetChildren() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetChildren() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetChildren(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetClassName() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetClassName() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetClassName(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetClickablePoint() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetClickablePoint() const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetClickablePoint(put_abi(result))); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetHelpText() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetHelpText() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetHelpText(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetItemStatus() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetItemStatus() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetItemStatus(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetItemType() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetItemType() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetItemType(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetLabeledBy() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetLabeledBy() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetLabeledBy(&result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetLocalizedControlType() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetLocalizedControlType() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetLocalizedControlType(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetName() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetName() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetName(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationOrientation) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetOrientation() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetOrientation() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationOrientation result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetOrientation(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::HasKeyboardFocus() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::HasKeyboardFocus() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->HasKeyboardFocus(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsContentElement() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsContentElement() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsContentElement(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsControlElement() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsControlElement() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsControlElement(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsEnabled() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsEnabled() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsEnabled(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsKeyboardFocusable() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsKeyboardFocusable() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsKeyboardFocusable(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsOffscreen() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsOffscreen() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsOffscreen(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsPassword() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsPassword() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsPassword(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsRequiredForForm() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsRequiredForForm() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsRequiredForForm(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::SetFocus() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::SetFocus() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->SetFocus()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetParent() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetParent() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetParent(&result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::InvalidatePeer() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::InvalidatePeer() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->InvalidatePeer()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetPeerFromPoint(winrt::Windows::Foundation::Point const& point) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetPeerFromPoint(winrt::Windows::Foundation::Point const& point) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetPeerFromPoint(impl::bind_in(point), &result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetLiveSetting() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetLiveSetting() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetLiveSetting(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::Navigate(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::Navigate(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->Navigate(static_cast(direction), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetElementFromPoint(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetElementFromPoint(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetElementFromPoint(impl::bind_in(pointInWindowCoordinates), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetFocusedElement() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetFocusedElement() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetFocusedElement(&result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::ShowContextMenu() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::ShowContextMenu() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->ShowContextMenu()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetControlledPeers() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetControlledPeers() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetControlledPeers(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetAnnotations() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetAnnotations() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetAnnotations(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::SetParent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::SetParent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->SetParent(*(void**)(&peer))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::RaiseTextEditTextChangedEvent(winrt::Windows::UI::Xaml::Automation::AutomationTextEditChangeType const& automationTextEditChangeType, param::vector_view const& changedData) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::RaiseTextEditTextChangedEvent(winrt::Windows::UI::Xaml::Automation::AutomationTextEditChangeType const& automationTextEditChangeType, param::vector_view const& changedData) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->RaiseTextEditTextChangedEvent(static_cast(automationTextEditChangeType), *(void**)(&changedData))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetPositionInSet() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetPositionInSet() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetPositionInSet(&result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetSizeOfSet() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetSizeOfSet() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetSizeOfSet(&result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetLevel() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetLevel() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetLevel(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::RaiseStructureChangedEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationStructureChangeType const& structureChangeType, winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& child) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::RaiseStructureChangedEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationStructureChangeType const& structureChangeType, winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& child) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->RaiseStructureChangedEvent(static_cast(structureChangeType), *(void**)(&child))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer4::GetLandmarkType() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer4::GetLandmarkType() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer4)->GetLandmarkType(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer4::GetLocalizedLandmarkType() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer4::GetLocalizedLandmarkType() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer4)->GetLocalizedLandmarkType(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer5::IsPeripheral() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer5::IsPeripheral() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer5)->IsPeripheral(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer5::IsDataValidForForm() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer5::IsDataValidForForm() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer5)->IsDataValidForForm(&result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer5::GetFullDescription() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer5::GetFullDescription() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer5)->GetFullDescription(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer6::GetCulture() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer6::GetCulture() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer6)->GetCulture(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer7::RaiseNotificationEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNotificationKind const& notificationKind, winrt::Windows::UI::Xaml::Automation::Peers::AutomationNotificationProcessing const& notificationProcessing, param::hstring const& displayString, param::hstring const& activityId) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer7::RaiseNotificationEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNotificationKind const& notificationKind, winrt::Windows::UI::Xaml::Automation::Peers::AutomationNotificationProcessing const& notificationProcessing, param::hstring const& displayString, param::hstring const& activityId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer7)->RaiseNotificationEvent(static_cast(notificationKind), static_cast(notificationProcessing), *(void**)(&displayString), *(void**)(&activityId))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer8::GetHeadingLevel() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer8::GetHeadingLevel() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer8)->GetHeadingLevel(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer9::IsDialog() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer9::IsDialog() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer9)->IsDialog(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AnnotationType) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation::Type() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation::Type() const { winrt::Windows::UI::Xaml::Automation::AnnotationType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotation)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation::Type(winrt::Windows::UI::Xaml::Automation::AnnotationType const& value) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation::Type(winrt::Windows::UI::Xaml::Automation::AnnotationType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotation)->put_Type(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation::Peer() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation::Peer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotation)->get_Peer(&value)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation::Peer(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& value) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation::Peer(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotation)->put_Peer(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationFactory::CreateInstance(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationFactory::CreateInstance(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotationFactory)->CreateInstance(static_cast(type), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationFactory::CreateWithPeerParameter(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type, winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationFactory::CreateWithPeerParameter(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type, winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotationFactory)->CreateWithPeerParameter(static_cast(type), *(void**)(&peer), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationStatics::TypeProperty() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationStatics::TypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotationStatics)->get_TypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationStatics::PeerProperty() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationStatics::PeerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotationStatics)->get_PeerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetPatternCore(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetPatternCore(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetPatternCore(static_cast(patternInterface), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAcceleratorKeyCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAcceleratorKeyCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetAcceleratorKeyCore(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAccessKeyCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAccessKeyCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetAccessKeyCore(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAutomationControlTypeCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAutomationControlTypeCore() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetAutomationControlTypeCore(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAutomationIdCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAutomationIdCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetAutomationIdCore(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetBoundingRectangleCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetBoundingRectangleCore() const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetBoundingRectangleCore(put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetChildrenCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetChildrenCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetChildrenCore(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetClassNameCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetClassNameCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetClassNameCore(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetClickablePointCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetClickablePointCore() const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetClickablePointCore(put_abi(result))); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetHelpTextCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetHelpTextCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetHelpTextCore(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetItemStatusCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetItemStatusCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetItemStatusCore(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetItemTypeCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetItemTypeCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetItemTypeCore(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetLabeledByCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetLabeledByCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetLabeledByCore(&result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetLocalizedControlTypeCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetLocalizedControlTypeCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetLocalizedControlTypeCore(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetNameCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetNameCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetNameCore(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationOrientation) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetOrientationCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetOrientationCore() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationOrientation result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetOrientationCore(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::HasKeyboardFocusCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::HasKeyboardFocusCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->HasKeyboardFocusCore(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsContentElementCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsContentElementCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsContentElementCore(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsControlElementCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsControlElementCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsControlElementCore(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsEnabledCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsEnabledCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsEnabledCore(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsKeyboardFocusableCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsKeyboardFocusableCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsKeyboardFocusableCore(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsOffscreenCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsOffscreenCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsOffscreenCore(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsPasswordCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsPasswordCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsPasswordCore(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsRequiredForFormCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsRequiredForFormCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsRequiredForFormCore(&result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::SetFocusCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::SetFocusCore() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->SetFocusCore()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetPeerFromPointCore(winrt::Windows::Foundation::Point const& point) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetPeerFromPointCore(winrt::Windows::Foundation::Point const& point) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetPeerFromPointCore(impl::bind_in(point), &result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetLiveSettingCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetLiveSettingCore() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetLiveSettingCore(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides2::ShowContextMenuCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides2::ShowContextMenuCore() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2)->ShowContextMenuCore()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides2::GetControlledPeersCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides2::GetControlledPeersCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2)->GetControlledPeersCore(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::NavigateCore(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::NavigateCore(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->NavigateCore(static_cast(direction), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetElementFromPointCore(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetElementFromPointCore(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->GetElementFromPointCore(impl::bind_in(pointInWindowCoordinates), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetFocusedElementCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetFocusedElementCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->GetFocusedElementCore(&result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetAnnotationsCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetAnnotationsCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->GetAnnotationsCore(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetPositionInSetCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetPositionInSetCore() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->GetPositionInSetCore(&result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetSizeOfSetCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetSizeOfSetCore() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->GetSizeOfSetCore(&result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetLevelCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetLevelCore() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->GetLevelCore(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides4::GetLandmarkTypeCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides4::GetLandmarkTypeCore() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4)->GetLandmarkTypeCore(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides4::GetLocalizedLandmarkTypeCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides4::GetLocalizedLandmarkTypeCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4)->GetLocalizedLandmarkTypeCore(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::IsPeripheralCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::IsPeripheralCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->IsPeripheralCore(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::IsDataValidForFormCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::IsDataValidForFormCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->IsDataValidForFormCore(&result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::GetFullDescriptionCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::GetFullDescriptionCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->GetFullDescriptionCore(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::GetDescribedByCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::GetDescribedByCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->GetDescribedByCore(&result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::GetFlowsToCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::GetFlowsToCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->GetFlowsToCore(&result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::GetFlowsFromCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::GetFlowsFromCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->GetFlowsFromCore(&result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides6::GetCultureCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides6::GetCultureCore() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6)->GetCultureCore(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides8::GetHeadingLevelCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides8::GetHeadingLevelCore() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8)->GetHeadingLevelCore(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides9::IsDialogCore() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides9::IsDialogCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9)->IsDialogCore(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerProtected::PeerFromProvider(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& provider) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerProtected::PeerFromProvider(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& provider) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerProtected)->PeerFromProvider(*(void**)(&provider), &result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerProtected::ProviderFromPeer(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerProtected::ProviderFromPeer(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerProtected)->ProviderFromPeer(*(void**)(&peer), &result)); return winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerStatics::ListenerExists(winrt::Windows::UI::Xaml::Automation::Peers::AutomationEvents const& eventId) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerStatics::ListenerExists(winrt::Windows::UI::Xaml::Automation::Peers::AutomationEvents const& eventId) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerStatics)->ListenerExists(static_cast(eventId), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RawElementProviderRuntimeId) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerStatics3::GenerateRawElementProviderRuntimeId() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerStatics3::GenerateRawElementProviderRuntimeId() const { winrt::Windows::UI::Xaml::Automation::Peers::RawElementProviderRuntimeId result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerStatics3)->GenerateRawElementProviderRuntimeId(put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Button const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Button const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ButtonAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ButtonBaseAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IButtonBaseAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ButtonBase const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IButtonBaseAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ButtonBase const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IButtonBaseAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ButtonBaseAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::CalendarDatePickerAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ICalendarDatePickerAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::CalendarDatePicker const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_ICalendarDatePickerAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::CalendarDatePicker const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ICalendarDatePickerAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::CalendarDatePickerAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::CaptureElementAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ICaptureElementAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::CaptureElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_ICaptureElementAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::CaptureElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ICaptureElementAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::CaptureElementAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::CheckBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ICheckBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::CheckBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_ICheckBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::CheckBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ICheckBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::CheckBoxAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ColorPickerSliderAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IColorPickerSliderAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ColorPickerSlider const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IColorPickerSliderAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ColorPickerSlider const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IColorPickerSliderAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ColorPickerSliderAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ColorSpectrumAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IColorSpectrumAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IColorSpectrumAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IColorSpectrumAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ColorSpectrumAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IComboBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ComboBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IComboBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ComboBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IComboBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IComboBoxItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ComboBoxItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IComboBoxItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ComboBoxItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IComboBoxItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IComboBoxItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IComboBoxItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IComboBoxItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxItemDataAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::DatePickerAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IDatePickerAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::DatePicker const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IDatePickerAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::DatePicker const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IDatePickerAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::DatePickerAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FlipViewAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFlipViewAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::FlipView const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IFlipViewAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::FlipView const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IFlipViewAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::FlipViewAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FlipViewItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFlipViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::FlipViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IFlipViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::FlipViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IFlipViewItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::FlipViewItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FlipViewItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFlipViewItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::FlipViewAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IFlipViewItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::FlipViewAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IFlipViewItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::FlipViewItemDataAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FlyoutPresenterAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFlyoutPresenterAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::FlyoutPresenter const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IFlyoutPresenterAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::FlyoutPresenter const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IFlyoutPresenterAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::FlyoutPresenterAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeer::Owner() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeer::Owner() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IFrameworkElementAutomationPeer)->get_Owner(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FrameworkElementAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::FrameworkElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::FrameworkElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IFrameworkElementAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::FrameworkElementAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerStatics::FromElement(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerStatics::FromElement(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IFrameworkElementAutomationPeerStatics)->FromElement(*(void**)(&element), &result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerStatics::CreatePeerForElement(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerStatics::CreatePeerForElement(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IFrameworkElementAutomationPeerStatics)->CreatePeerForElement(*(void**)(&element), &result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GridViewAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IGridViewAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GridView const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IGridViewAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GridView const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IGridViewAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::GridViewAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GridViewHeaderItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IGridViewHeaderItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GridViewHeaderItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IGridViewHeaderItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GridViewHeaderItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IGridViewHeaderItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::GridViewHeaderItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GridViewItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IGridViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GridViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IGridViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GridViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IGridViewItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::GridViewItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GridViewItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IGridViewItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::GridViewAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IGridViewItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::GridViewAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IGridViewItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::GridViewItemDataAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GroupItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IGroupItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GroupItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IGroupItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GroupItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IGroupItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::GroupItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::HubAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IHubAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Hub const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IHubAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Hub const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IHubAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::HubAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::HubSectionAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IHubSectionAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::HubSection const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IHubSectionAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::HubSection const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IHubSectionAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::HubSectionAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::HyperlinkButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IHyperlinkButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::HyperlinkButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IHyperlinkButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::HyperlinkButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IHyperlinkButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::HyperlinkButtonAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ImageAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IImageAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Image const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IImageAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Image const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IImageAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ImageAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeer::Item() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeer::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IItemAutomationPeer)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeer::ItemsControlAutomationPeer() const + template auto consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeer::ItemsControlAutomationPeer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IItemAutomationPeer)->get_ItemsControlAutomationPeer(&value)); return winrt::Windows::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IItemAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeer2::CreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeer2::CreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeer2)->CreateItemAutomationPeer(*(void**)(&item), &result)); return winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ItemsControl const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ItemsControl const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeerOverrides2::OnCreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeerOverrides2::OnCreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverrides2)->OnCreateItemAutomationPeer(*(void**)(&item), &result)); return winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IListBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IListBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListBoxAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListBoxItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListBoxItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListBoxItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IListBoxItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListBoxItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IListBoxItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListBoxItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListBoxItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListBoxItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::ListBoxAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IListBoxItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::ListBoxAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IListBoxItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListBoxItemDataAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListView const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IListViewAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListView const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IListViewAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListViewAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewBaseAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewBaseAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewBase const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IListViewBaseAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewBase const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IListViewBaseAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListViewBaseAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewBaseHeaderItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewBaseHeaderItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewBaseHeaderItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IListViewBaseHeaderItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewBaseHeaderItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IListViewBaseHeaderItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListViewBaseHeaderItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewHeaderItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewHeaderItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewHeaderItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IListViewHeaderItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewHeaderItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IListViewHeaderItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListViewHeaderItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IListViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IListViewItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListViewItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::ListViewBaseAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IListViewItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::ListViewBaseAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IListViewItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListViewItemDataAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MediaElementAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMediaElementAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MediaElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IMediaElementAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MediaElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IMediaElementAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::MediaElementAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MediaPlayerElementAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMediaPlayerElementAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MediaPlayerElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IMediaPlayerElementAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MediaPlayerElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IMediaPlayerElementAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::MediaPlayerElementAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MediaTransportControlsAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMediaTransportControlsAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MediaTransportControls const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IMediaTransportControlsAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MediaTransportControls const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IMediaTransportControlsAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::MediaTransportControlsAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MenuBarAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMenuBarAutomationPeerFactory::CreateInstance(winrt::Windows::UI::Xaml::Controls::MenuBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IMenuBarAutomationPeerFactory::CreateInstance(winrt::Windows::UI::Xaml::Controls::MenuBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IMenuBarAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::MenuBarAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MenuBarItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMenuBarItemAutomationPeerFactory::CreateInstance(winrt::Windows::UI::Xaml::Controls::MenuBarItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IMenuBarItemAutomationPeerFactory::CreateInstance(winrt::Windows::UI::Xaml::Controls::MenuBarItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IMenuBarItemAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::MenuBarItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MenuFlyoutItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMenuFlyoutItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MenuFlyoutItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IMenuFlyoutItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MenuFlyoutItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IMenuFlyoutItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::MenuFlyoutItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MenuFlyoutPresenterAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMenuFlyoutPresenterAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MenuFlyoutPresenter const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IMenuFlyoutPresenterAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MenuFlyoutPresenter const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IMenuFlyoutPresenterAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::MenuFlyoutPresenterAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::NavigationViewItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_INavigationViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::NavigationViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_INavigationViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::NavigationViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::INavigationViewItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::NavigationViewItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PasswordBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IPasswordBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::PasswordBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IPasswordBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::PasswordBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IPasswordBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::PasswordBoxAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PersonPictureAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IPersonPictureAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::PersonPicture const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IPersonPictureAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::PersonPicture const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IPersonPictureAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::PersonPictureAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PivotAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IPivotAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Pivot const& owner) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IPivotAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Pivot const& owner) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IPivotAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::PivotAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PivotItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IPivotItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::PivotItem const& owner) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IPivotItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::PivotItem const& owner) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IPivotItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::PivotItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PivotItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IPivotItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::PivotAutomationPeer const& parent) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IPivotItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::PivotAutomationPeer const& parent) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IPivotItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::PivotItemDataAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ProgressBarAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IProgressBarAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ProgressBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IProgressBarAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ProgressBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IProgressBarAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ProgressBarAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ProgressRingAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IProgressRingAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ProgressRing const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IProgressRingAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ProgressRing const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IProgressRingAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ProgressRingAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RadioButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRadioButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RadioButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IRadioButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RadioButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IRadioButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::RadioButtonAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RangeBaseAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRangeBaseAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::RangeBase const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IRangeBaseAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::RangeBase const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IRangeBaseAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::RangeBaseAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RatingControlAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRatingControlAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RatingControl const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IRatingControlAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RatingControl const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IRatingControlAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::RatingControlAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RepeatButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRepeatButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::RepeatButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IRepeatButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::RepeatButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IRepeatButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::RepeatButtonAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RichEditBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRichEditBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RichEditBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IRichEditBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RichEditBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IRichEditBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::RichEditBoxAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RichTextBlockAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRichTextBlockAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RichTextBlock const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IRichTextBlockAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RichTextBlock const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IRichTextBlockAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::RichTextBlockAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RichTextBlockOverflowAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRichTextBlockOverflowAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IRichTextBlockOverflowAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IRichTextBlockOverflowAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::RichTextBlockOverflowAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ScrollBarAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IScrollBarAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IScrollBarAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IScrollBarAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ScrollBarAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ScrollViewerAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IScrollViewerAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ScrollViewer const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IScrollViewerAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ScrollViewer const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IScrollViewerAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ScrollViewerAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SearchBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISearchBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SearchBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_ISearchBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SearchBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ISearchBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::SearchBoxAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SelectorAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISelectorAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::Selector const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_ISelectorAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::Selector const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ISelectorAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::SelectorAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SelectorItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISelectorItemAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::SelectorAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_ISelectorItemAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::SelectorAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ISelectorItemAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::SelectorItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SemanticZoomAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISemanticZoomAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SemanticZoom const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_ISemanticZoomAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SemanticZoom const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ISemanticZoomAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::SemanticZoomAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SettingsFlyoutAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISettingsFlyoutAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SettingsFlyout const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_ISettingsFlyoutAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SettingsFlyout const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ISettingsFlyoutAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::SettingsFlyoutAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SliderAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISliderAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Slider const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_ISliderAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Slider const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ISliderAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::SliderAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TextBlockAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ITextBlockAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TextBlock const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_ITextBlockAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TextBlock const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ITextBlockAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::TextBlockAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TextBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ITextBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TextBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_ITextBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TextBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ITextBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::TextBoxAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ThumbAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IThumbAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::Thumb const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IThumbAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::Thumb const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IThumbAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ThumbAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TimePickerAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ITimePickerAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TimePicker const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_ITimePickerAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TimePicker const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ITimePickerAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::TimePickerAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ToggleButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IToggleButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ToggleButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IToggleButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ToggleButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IToggleButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ToggleButtonAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ToggleMenuFlyoutItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IToggleMenuFlyoutItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ToggleMenuFlyoutItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IToggleMenuFlyoutItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ToggleMenuFlyoutItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IToggleMenuFlyoutItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ToggleMenuFlyoutItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ToggleSwitchAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IToggleSwitchAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ToggleSwitch const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_IToggleSwitchAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ToggleSwitch const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IToggleSwitchAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ToggleSwitchAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TreeViewItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ITreeViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TreeViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_ITreeViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TreeViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ITreeViewItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::TreeViewItemAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TreeViewListAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ITreeViewListAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TreeViewList const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Automation_Peers_ITreeViewListAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TreeViewList const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ITreeViewListAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); @@ -5004,195 +5004,195 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITreeViewListAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) IAutomationPeerOverridesT::GetPatternCore(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const + template auto IAutomationPeerOverridesT::GetPatternCore(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const { return shim().template try_as().GetPatternCore(patternInterface); } - template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetAcceleratorKeyCore() const + template auto IAutomationPeerOverridesT::GetAcceleratorKeyCore() const { return shim().template try_as().GetAcceleratorKeyCore(); } - template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetAccessKeyCore() const + template auto IAutomationPeerOverridesT::GetAccessKeyCore() const { return shim().template try_as().GetAccessKeyCore(); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType) IAutomationPeerOverridesT::GetAutomationControlTypeCore() const + template auto IAutomationPeerOverridesT::GetAutomationControlTypeCore() const { return shim().template try_as().GetAutomationControlTypeCore(); } - template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetAutomationIdCore() const + template auto IAutomationPeerOverridesT::GetAutomationIdCore() const { return shim().template try_as().GetAutomationIdCore(); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) IAutomationPeerOverridesT::GetBoundingRectangleCore() const + template auto IAutomationPeerOverridesT::GetBoundingRectangleCore() const { return shim().template try_as().GetBoundingRectangleCore(); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) IAutomationPeerOverridesT::GetChildrenCore() const + template auto IAutomationPeerOverridesT::GetChildrenCore() const { return shim().template try_as().GetChildrenCore(); } - template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetClassNameCore() const + template auto IAutomationPeerOverridesT::GetClassNameCore() const { return shim().template try_as().GetClassNameCore(); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) IAutomationPeerOverridesT::GetClickablePointCore() const + template auto IAutomationPeerOverridesT::GetClickablePointCore() const { return shim().template try_as().GetClickablePointCore(); } - template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetHelpTextCore() const + template auto IAutomationPeerOverridesT::GetHelpTextCore() const { return shim().template try_as().GetHelpTextCore(); } - template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetItemStatusCore() const + template auto IAutomationPeerOverridesT::GetItemStatusCore() const { return shim().template try_as().GetItemStatusCore(); } - template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetItemTypeCore() const + template auto IAutomationPeerOverridesT::GetItemTypeCore() const { return shim().template try_as().GetItemTypeCore(); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) IAutomationPeerOverridesT::GetLabeledByCore() const + template auto IAutomationPeerOverridesT::GetLabeledByCore() const { return shim().template try_as().GetLabeledByCore(); } - template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetLocalizedControlTypeCore() const + template auto IAutomationPeerOverridesT::GetLocalizedControlTypeCore() const { return shim().template try_as().GetLocalizedControlTypeCore(); } - template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetNameCore() const + template auto IAutomationPeerOverridesT::GetNameCore() const { return shim().template try_as().GetNameCore(); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationOrientation) IAutomationPeerOverridesT::GetOrientationCore() const + template auto IAutomationPeerOverridesT::GetOrientationCore() const { return shim().template try_as().GetOrientationCore(); } - template WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT::HasKeyboardFocusCore() const + template auto IAutomationPeerOverridesT::HasKeyboardFocusCore() const { return shim().template try_as().HasKeyboardFocusCore(); } - template WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT::IsContentElementCore() const + template auto IAutomationPeerOverridesT::IsContentElementCore() const { return shim().template try_as().IsContentElementCore(); } - template WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT::IsControlElementCore() const + template auto IAutomationPeerOverridesT::IsControlElementCore() const { return shim().template try_as().IsControlElementCore(); } - template WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT::IsEnabledCore() const + template auto IAutomationPeerOverridesT::IsEnabledCore() const { return shim().template try_as().IsEnabledCore(); } - template WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT::IsKeyboardFocusableCore() const + template auto IAutomationPeerOverridesT::IsKeyboardFocusableCore() const { return shim().template try_as().IsKeyboardFocusableCore(); } - template WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT::IsOffscreenCore() const + template auto IAutomationPeerOverridesT::IsOffscreenCore() const { return shim().template try_as().IsOffscreenCore(); } - template WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT::IsPasswordCore() const + template auto IAutomationPeerOverridesT::IsPasswordCore() const { return shim().template try_as().IsPasswordCore(); } - template WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT::IsRequiredForFormCore() const + template auto IAutomationPeerOverridesT::IsRequiredForFormCore() const { return shim().template try_as().IsRequiredForFormCore(); } - template WINRT_IMPL_AUTO(void) IAutomationPeerOverridesT::SetFocusCore() const + template auto IAutomationPeerOverridesT::SetFocusCore() const { return shim().template try_as().SetFocusCore(); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) IAutomationPeerOverridesT::GetPeerFromPointCore(winrt::Windows::Foundation::Point const& point) const + template auto IAutomationPeerOverridesT::GetPeerFromPointCore(winrt::Windows::Foundation::Point const& point) const { return shim().template try_as().GetPeerFromPointCore(point); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting) IAutomationPeerOverridesT::GetLiveSettingCore() const + template auto IAutomationPeerOverridesT::GetLiveSettingCore() const { return shim().template try_as().GetLiveSettingCore(); } - template WINRT_IMPL_AUTO(void) IAutomationPeerOverrides2T::ShowContextMenuCore() const + template auto IAutomationPeerOverrides2T::ShowContextMenuCore() const { return shim().template try_as().ShowContextMenuCore(); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) IAutomationPeerOverrides2T::GetControlledPeersCore() const + template auto IAutomationPeerOverrides2T::GetControlledPeersCore() const { return shim().template try_as().GetControlledPeersCore(); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) IAutomationPeerOverrides3T::NavigateCore(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const + template auto IAutomationPeerOverrides3T::NavigateCore(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const { return shim().template try_as().NavigateCore(direction); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) IAutomationPeerOverrides3T::GetElementFromPointCore(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const + template auto IAutomationPeerOverrides3T::GetElementFromPointCore(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const { return shim().template try_as().GetElementFromPointCore(pointInWindowCoordinates); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) IAutomationPeerOverrides3T::GetFocusedElementCore() const + template auto IAutomationPeerOverrides3T::GetFocusedElementCore() const { return shim().template try_as().GetFocusedElementCore(); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) IAutomationPeerOverrides3T::GetAnnotationsCore() const + template auto IAutomationPeerOverrides3T::GetAnnotationsCore() const { return shim().template try_as().GetAnnotationsCore(); } - template WINRT_IMPL_AUTO(int32_t) IAutomationPeerOverrides3T::GetPositionInSetCore() const + template auto IAutomationPeerOverrides3T::GetPositionInSetCore() const { return shim().template try_as().GetPositionInSetCore(); } - template WINRT_IMPL_AUTO(int32_t) IAutomationPeerOverrides3T::GetSizeOfSetCore() const + template auto IAutomationPeerOverrides3T::GetSizeOfSetCore() const { return shim().template try_as().GetSizeOfSetCore(); } - template WINRT_IMPL_AUTO(int32_t) IAutomationPeerOverrides3T::GetLevelCore() const + template auto IAutomationPeerOverrides3T::GetLevelCore() const { return shim().template try_as().GetLevelCore(); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType) IAutomationPeerOverrides4T::GetLandmarkTypeCore() const + template auto IAutomationPeerOverrides4T::GetLandmarkTypeCore() const { return shim().template try_as().GetLandmarkTypeCore(); } - template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverrides4T::GetLocalizedLandmarkTypeCore() const + template auto IAutomationPeerOverrides4T::GetLocalizedLandmarkTypeCore() const { return shim().template try_as().GetLocalizedLandmarkTypeCore(); } - template WINRT_IMPL_AUTO(bool) IAutomationPeerOverrides5T::IsPeripheralCore() const + template auto IAutomationPeerOverrides5T::IsPeripheralCore() const { return shim().template try_as().IsPeripheralCore(); } - template WINRT_IMPL_AUTO(bool) IAutomationPeerOverrides5T::IsDataValidForFormCore() const + template auto IAutomationPeerOverrides5T::IsDataValidForFormCore() const { return shim().template try_as().IsDataValidForFormCore(); } - template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverrides5T::GetFullDescriptionCore() const + template auto IAutomationPeerOverrides5T::GetFullDescriptionCore() const { return shim().template try_as().GetFullDescriptionCore(); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) IAutomationPeerOverrides5T::GetDescribedByCore() const + template auto IAutomationPeerOverrides5T::GetDescribedByCore() const { return shim().template try_as().GetDescribedByCore(); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) IAutomationPeerOverrides5T::GetFlowsToCore() const + template auto IAutomationPeerOverrides5T::GetFlowsToCore() const { return shim().template try_as().GetFlowsToCore(); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) IAutomationPeerOverrides5T::GetFlowsFromCore() const + template auto IAutomationPeerOverrides5T::GetFlowsFromCore() const { return shim().template try_as().GetFlowsFromCore(); } - template WINRT_IMPL_AUTO(int32_t) IAutomationPeerOverrides6T::GetCultureCore() const + template auto IAutomationPeerOverrides6T::GetCultureCore() const { return shim().template try_as().GetCultureCore(); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel) IAutomationPeerOverrides8T::GetHeadingLevelCore() const + template auto IAutomationPeerOverrides8T::GetHeadingLevelCore() const { return shim().template try_as().GetHeadingLevelCore(); } - template WINRT_IMPL_AUTO(bool) IAutomationPeerOverrides9T::IsDialogCore() const + template auto IAutomationPeerOverrides9T::IsDialogCore() const { return shim().template try_as().IsDialogCore(); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer) IItemsControlAutomationPeerOverrides2T::OnCreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const + template auto IItemsControlAutomationPeerOverrides2T::OnCreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const { return shim().template try_as().OnCreateItemAutomationPeer(item); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Provider.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Provider.h index 377f984a..e6cb19f0 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Provider.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Provider.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_Provider_H #define WINRT_Windows_UI_Xaml_Automation_Provider_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.Automation.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.UI.2.h" @@ -16,743 +16,743 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Automation.Provider.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider::AnnotationTypeId() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider::AnnotationTypeId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IAnnotationProvider)->get_AnnotationTypeId(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider::AnnotationTypeName() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider::AnnotationTypeName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IAnnotationProvider)->get_AnnotationTypeName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider::Author() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider::Author() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IAnnotationProvider)->get_Author(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider::DateTime() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider::DateTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IAnnotationProvider)->get_DateTime(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider::Target() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider::Target() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IAnnotationProvider)->get_Target(&value)); return winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Provider_ICustomNavigationProvider::NavigateCustom(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ICustomNavigationProvider::NavigateCustom(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ICustomNavigationProvider)->NavigateCustom(static_cast(direction), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::DockPosition) consume_Windows_UI_Xaml_Automation_Provider_IDockProvider::DockPosition() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IDockProvider::DockPosition() const { winrt::Windows::UI::Xaml::Automation::DockPosition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IDockProvider)->get_DockPosition(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IDockProvider::SetDockPosition(winrt::Windows::UI::Xaml::Automation::DockPosition const& dockPosition) const + template auto consume_Windows_UI_Xaml_Automation_Provider_IDockProvider::SetDockPosition(winrt::Windows::UI::Xaml::Automation::DockPosition const& dockPosition) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IDockProvider)->SetDockPosition(static_cast(dockPosition))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IDragProvider::IsGrabbed() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IDragProvider::IsGrabbed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IDragProvider)->get_IsGrabbed(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IDragProvider::DropEffect() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IDragProvider::DropEffect() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IDragProvider)->get_DropEffect(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_UI_Xaml_Automation_Provider_IDragProvider::DropEffects() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IDragProvider::DropEffects() const { uint32_t value_impl_size{}; void** value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IDragProvider)->get_DropEffects(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_UI_Xaml_Automation_Provider_IDragProvider::GetGrabbedItems() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IDragProvider::GetGrabbedItems() const { uint32_t result_impl_size{}; void** result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IDragProvider)->GetGrabbedItems(&result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IDropTargetProvider::DropEffect() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IDropTargetProvider::DropEffect() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IDropTargetProvider)->get_DropEffect(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_UI_Xaml_Automation_Provider_IDropTargetProvider::DropEffects() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IDropTargetProvider::DropEffects() const { uint32_t value_impl_size{}; void** value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IDropTargetProvider)->get_DropEffects(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::ExpandCollapseState) consume_Windows_UI_Xaml_Automation_Provider_IExpandCollapseProvider::ExpandCollapseState() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IExpandCollapseProvider::ExpandCollapseState() const { winrt::Windows::UI::Xaml::Automation::ExpandCollapseState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IExpandCollapseProvider)->get_ExpandCollapseState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IExpandCollapseProvider::Collapse() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IExpandCollapseProvider::Collapse() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IExpandCollapseProvider)->Collapse()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IExpandCollapseProvider::Expand() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IExpandCollapseProvider::Expand() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IExpandCollapseProvider)->Expand()); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider::Column() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider::Column() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IGridItemProvider)->get_Column(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider::ColumnSpan() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider::ColumnSpan() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IGridItemProvider)->get_ColumnSpan(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider::ContainingGrid() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider::ContainingGrid() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IGridItemProvider)->get_ContainingGrid(&value)); return winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider::Row() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider::Row() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IGridItemProvider)->get_Row(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider::RowSpan() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider::RowSpan() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IGridItemProvider)->get_RowSpan(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IGridProvider::ColumnCount() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IGridProvider::ColumnCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IGridProvider)->get_ColumnCount(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IGridProvider::RowCount() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IGridProvider::RowCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IGridProvider)->get_RowCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Provider_IGridProvider::GetItem(int32_t row, int32_t column) const + template auto consume_Windows_UI_Xaml_Automation_Provider_IGridProvider::GetItem(int32_t row, int32_t column) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IGridProvider)->GetItem(row, column, &result)); return winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IInvokeProvider::Invoke() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IInvokeProvider::Invoke() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IInvokeProvider)->Invoke()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Provider_IItemContainerProvider::FindItemByProperty(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& startAfter, winrt::Windows::UI::Xaml::Automation::AutomationProperty const& automationProperty, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Automation_Provider_IItemContainerProvider::FindItemByProperty(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& startAfter, winrt::Windows::UI::Xaml::Automation::AutomationProperty const& automationProperty, winrt::Windows::Foundation::IInspectable const& value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IItemContainerProvider)->FindItemByProperty(*(void**)(&startAfter), *(void**)(&automationProperty), *(void**)(&value), &result)); return winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider::CurrentView() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider::CurrentView() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IMultipleViewProvider)->get_CurrentView(&value)); return value; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider::GetSupportedViews() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider::GetSupportedViews() const { uint32_t result_impl_size{}; int32_t* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IMultipleViewProvider)->GetSupportedViews(&result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider::GetViewName(int32_t viewId) const + template auto consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider::GetViewName(int32_t viewId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IMultipleViewProvider)->GetViewName(viewId, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider::SetCurrentView(int32_t viewId) const + template auto consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider::SetCurrentView(int32_t viewId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IMultipleViewProvider)->SetCurrentView(viewId)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Provider_IObjectModelProvider::GetUnderlyingObjectModel() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IObjectModelProvider::GetUnderlyingObjectModel() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IObjectModelProvider)->GetUnderlyingObjectModel(&result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider::IsReadOnly() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider::IsReadOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IRangeValueProvider)->get_IsReadOnly(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider::LargeChange() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider::LargeChange() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IRangeValueProvider)->get_LargeChange(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider::Maximum() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider::Maximum() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IRangeValueProvider)->get_Maximum(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider::Minimum() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider::Minimum() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IRangeValueProvider)->get_Minimum(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider::SmallChange() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider::SmallChange() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IRangeValueProvider)->get_SmallChange(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider::Value() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider::Value() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IRangeValueProvider)->get_Value(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider::SetValue(double value) const + template auto consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider::SetValue(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IRangeValueProvider)->SetValue(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IScrollItemProvider::ScrollIntoView() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IScrollItemProvider::ScrollIntoView() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollItemProvider)->ScrollIntoView()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider::HorizontallyScrollable() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider::HorizontallyScrollable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollProvider)->get_HorizontallyScrollable(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider::HorizontalScrollPercent() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider::HorizontalScrollPercent() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollProvider)->get_HorizontalScrollPercent(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider::HorizontalViewSize() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider::HorizontalViewSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollProvider)->get_HorizontalViewSize(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider::VerticallyScrollable() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider::VerticallyScrollable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollProvider)->get_VerticallyScrollable(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider::VerticalScrollPercent() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider::VerticalScrollPercent() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollProvider)->get_VerticalScrollPercent(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider::VerticalViewSize() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider::VerticalViewSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollProvider)->get_VerticalViewSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider::Scroll(winrt::Windows::UI::Xaml::Automation::ScrollAmount const& horizontalAmount, winrt::Windows::UI::Xaml::Automation::ScrollAmount const& verticalAmount) const + template auto consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider::Scroll(winrt::Windows::UI::Xaml::Automation::ScrollAmount const& horizontalAmount, winrt::Windows::UI::Xaml::Automation::ScrollAmount const& verticalAmount) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollProvider)->Scroll(static_cast(horizontalAmount), static_cast(verticalAmount))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider::SetScrollPercent(double horizontalPercent, double verticalPercent) const + template auto consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider::SetScrollPercent(double horizontalPercent, double verticalPercent) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollProvider)->SetScrollPercent(horizontalPercent, verticalPercent)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider::IsSelected() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider::IsSelected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISelectionItemProvider)->get_IsSelected(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider::SelectionContainer() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider::SelectionContainer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISelectionItemProvider)->get_SelectionContainer(&value)); return winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider::AddToSelection() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider::AddToSelection() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISelectionItemProvider)->AddToSelection()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider::RemoveFromSelection() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider::RemoveFromSelection() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISelectionItemProvider)->RemoveFromSelection()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider::Select() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider::Select() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISelectionItemProvider)->Select()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_ISelectionProvider::CanSelectMultiple() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ISelectionProvider::CanSelectMultiple() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISelectionProvider)->get_CanSelectMultiple(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_ISelectionProvider::IsSelectionRequired() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ISelectionProvider::IsSelectionRequired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISelectionProvider)->get_IsSelectionRequired(&value)); return value; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_UI_Xaml_Automation_Provider_ISelectionProvider::GetSelection() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ISelectionProvider::GetSelection() const { uint32_t result_impl_size{}; void** result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISelectionProvider)->GetSelection(&result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetItemProvider::Formula() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetItemProvider::Formula() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISpreadsheetItemProvider)->get_Formula(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetItemProvider::GetAnnotationObjects() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetItemProvider::GetAnnotationObjects() const { uint32_t result_impl_size{}; void** result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISpreadsheetItemProvider)->GetAnnotationObjects(&result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetItemProvider::GetAnnotationTypes() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetItemProvider::GetAnnotationTypes() const { uint32_t result_impl_size{}; int32_t* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISpreadsheetItemProvider)->GetAnnotationTypes(&result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetProvider::GetItemByName(param::hstring const& name) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetProvider::GetItemByName(param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISpreadsheetProvider)->GetItemByName(*(void**)(&name), &result)); return winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider::ExtendedProperties() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider::ExtendedProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IStylesProvider)->get_ExtendedProperties(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider::FillColor() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider::FillColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IStylesProvider)->get_FillColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider::FillPatternColor() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider::FillPatternColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IStylesProvider)->get_FillPatternColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider::FillPatternStyle() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider::FillPatternStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IStylesProvider)->get_FillPatternStyle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider::Shape() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider::Shape() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IStylesProvider)->get_Shape(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider::StyleId() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider::StyleId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IStylesProvider)->get_StyleId(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider::StyleName() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider::StyleName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IStylesProvider)->get_StyleName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ISynchronizedInputProvider::Cancel() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ISynchronizedInputProvider::Cancel() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISynchronizedInputProvider)->Cancel()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ISynchronizedInputProvider::StartListening(winrt::Windows::UI::Xaml::Automation::SynchronizedInputType const& inputType) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ISynchronizedInputProvider::StartListening(winrt::Windows::UI::Xaml::Automation::SynchronizedInputType const& inputType) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISynchronizedInputProvider)->StartListening(static_cast(inputType))); } - template WINRT_IMPL_AUTO(com_array) consume_Windows_UI_Xaml_Automation_Provider_ITableItemProvider::GetColumnHeaderItems() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITableItemProvider::GetColumnHeaderItems() const { uint32_t result_impl_size{}; void** result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITableItemProvider)->GetColumnHeaderItems(&result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_UI_Xaml_Automation_Provider_ITableItemProvider::GetRowHeaderItems() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITableItemProvider::GetRowHeaderItems() const { uint32_t result_impl_size{}; void** result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITableItemProvider)->GetRowHeaderItems(&result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::RowOrColumnMajor) consume_Windows_UI_Xaml_Automation_Provider_ITableProvider::RowOrColumnMajor() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITableProvider::RowOrColumnMajor() const { winrt::Windows::UI::Xaml::Automation::RowOrColumnMajor value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITableProvider)->get_RowOrColumnMajor(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_UI_Xaml_Automation_Provider_ITableProvider::GetColumnHeaders() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITableProvider::GetColumnHeaders() const { uint32_t result_impl_size{}; void** result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITableProvider)->GetColumnHeaders(&result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_UI_Xaml_Automation_Provider_ITableProvider::GetRowHeaders() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITableProvider::GetRowHeaders() const { uint32_t result_impl_size{}; void** result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITableProvider)->GetRowHeaders(&result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Provider_ITextChildProvider::TextContainer() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextChildProvider::TextContainer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextChildProvider)->get_TextContainer(&value)); return winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextChildProvider::TextRange() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextChildProvider::TextRange() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextChildProvider)->get_TextRange(&value)); return winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextEditProvider::GetActiveComposition() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextEditProvider::GetActiveComposition() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextEditProvider)->GetActiveComposition(&result)); return winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextEditProvider::GetConversionTarget() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextEditProvider::GetConversionTarget() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextEditProvider)->GetConversionTarget(&result)); return winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextProvider::DocumentRange() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextProvider::DocumentRange() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextProvider)->get_DocumentRange(&value)); return winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::SupportedTextSelection) consume_Windows_UI_Xaml_Automation_Provider_ITextProvider::SupportedTextSelection() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextProvider::SupportedTextSelection() const { winrt::Windows::UI::Xaml::Automation::SupportedTextSelection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextProvider)->get_SupportedTextSelection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_UI_Xaml_Automation_Provider_ITextProvider::GetSelection() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextProvider::GetSelection() const { uint32_t result_impl_size{}; void** result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextProvider)->GetSelection(&result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_UI_Xaml_Automation_Provider_ITextProvider::GetVisibleRanges() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextProvider::GetVisibleRanges() const { uint32_t result_impl_size{}; void** result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextProvider)->GetVisibleRanges(&result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextProvider::RangeFromChild(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& childElement) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextProvider::RangeFromChild(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& childElement) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextProvider)->RangeFromChild(*(void**)(&childElement), &result)); return winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextProvider::RangeFromPoint(winrt::Windows::Foundation::Point const& screenLocation) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextProvider::RangeFromPoint(winrt::Windows::Foundation::Point const& screenLocation) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextProvider)->RangeFromPoint(impl::bind_in(screenLocation), &result)); return winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextProvider2::RangeFromAnnotation(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& annotationElement) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextProvider2::RangeFromAnnotation(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& annotationElement) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextProvider2)->RangeFromAnnotation(*(void**)(&annotationElement), &result)); return winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextProvider2::GetCaretRange(bool& isActive) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextProvider2::GetCaretRange(bool& isActive) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextProvider2)->GetCaretRange(&isActive, &returnValue)); return winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::Clone() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::Clone() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->Clone(&result)); return winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::Compare(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider const& textRangeProvider) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::Compare(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider const& textRangeProvider) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->Compare(*(void**)(&textRangeProvider), &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::CompareEndpoints(winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& endpoint, winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider const& textRangeProvider, winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& targetEndpoint) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::CompareEndpoints(winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& endpoint, winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider const& textRangeProvider, winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& targetEndpoint) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->CompareEndpoints(static_cast(endpoint), *(void**)(&textRangeProvider), static_cast(targetEndpoint), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::ExpandToEnclosingUnit(winrt::Windows::UI::Xaml::Automation::Text::TextUnit const& unit) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::ExpandToEnclosingUnit(winrt::Windows::UI::Xaml::Automation::Text::TextUnit const& unit) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->ExpandToEnclosingUnit(static_cast(unit))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::FindAttribute(int32_t attributeId, winrt::Windows::Foundation::IInspectable const& value, bool backward) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::FindAttribute(int32_t attributeId, winrt::Windows::Foundation::IInspectable const& value, bool backward) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->FindAttribute(attributeId, *(void**)(&value), backward, &result)); return winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::FindText(param::hstring const& text, bool backward, bool ignoreCase) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::FindText(param::hstring const& text, bool backward, bool ignoreCase) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->FindText(*(void**)(&text), backward, ignoreCase, &result)); return winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::GetAttributeValue(int32_t attributeId) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::GetAttributeValue(int32_t attributeId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->GetAttributeValue(attributeId, &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::GetBoundingRectangles(com_array& returnValue) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::GetBoundingRectangles(com_array& returnValue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->GetBoundingRectangles(impl::put_size_abi(returnValue), put_abi(returnValue))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::GetEnclosingElement() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::GetEnclosingElement() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->GetEnclosingElement(&result)); return winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::GetText(int32_t maxLength) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::GetText(int32_t maxLength) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->GetText(maxLength, &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::Move(winrt::Windows::UI::Xaml::Automation::Text::TextUnit const& unit, int32_t count) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::Move(winrt::Windows::UI::Xaml::Automation::Text::TextUnit const& unit, int32_t count) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->Move(static_cast(unit), count, &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::MoveEndpointByUnit(winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& endpoint, winrt::Windows::UI::Xaml::Automation::Text::TextUnit const& unit, int32_t count) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::MoveEndpointByUnit(winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& endpoint, winrt::Windows::UI::Xaml::Automation::Text::TextUnit const& unit, int32_t count) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->MoveEndpointByUnit(static_cast(endpoint), static_cast(unit), count, &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::MoveEndpointByRange(winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& endpoint, winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider const& textRangeProvider, winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& targetEndpoint) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::MoveEndpointByRange(winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& endpoint, winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider const& textRangeProvider, winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& targetEndpoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->MoveEndpointByRange(static_cast(endpoint), *(void**)(&textRangeProvider), static_cast(targetEndpoint))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::Select() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::Select() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->Select()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::AddToSelection() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::AddToSelection() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->AddToSelection()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::RemoveFromSelection() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::RemoveFromSelection() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->RemoveFromSelection()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::ScrollIntoView(bool alignToTop) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::ScrollIntoView(bool alignToTop) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->ScrollIntoView(alignToTop)); } - template WINRT_IMPL_AUTO(com_array) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::GetChildren() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider::GetChildren() const { uint32_t result_impl_size{}; void** result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->GetChildren(&result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider2::ShowContextMenu() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider2::ShowContextMenu() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider2)->ShowContextMenu()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::ToggleState) consume_Windows_UI_Xaml_Automation_Provider_IToggleProvider::ToggleState() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IToggleProvider::ToggleState() const { winrt::Windows::UI::Xaml::Automation::ToggleState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IToggleProvider)->get_ToggleState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IToggleProvider::Toggle() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IToggleProvider::Toggle() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IToggleProvider)->Toggle()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider::CanMove() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider::CanMove() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider)->get_CanMove(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider::CanResize() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider::CanResize() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider)->get_CanResize(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider::CanRotate() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider::CanRotate() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider)->get_CanRotate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider::Move(double x, double y) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider::Move(double x, double y) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider)->Move(x, y)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider::Resize(double width, double height) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider::Resize(double width, double height) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider)->Resize(width, height)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider::Rotate(double degrees) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider::Rotate(double degrees) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider)->Rotate(degrees)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2::CanZoom() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2::CanZoom() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider2)->get_CanZoom(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2::ZoomLevel() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2::ZoomLevel() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider2)->get_ZoomLevel(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2::MaxZoom() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2::MaxZoom() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider2)->get_MaxZoom(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2::MinZoom() const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2::MinZoom() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider2)->get_MinZoom(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2::Zoom(double zoom) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2::Zoom(double zoom) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider2)->Zoom(zoom)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2::ZoomByUnit(winrt::Windows::UI::Xaml::Automation::ZoomUnit const& zoomUnit) const + template auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2::ZoomByUnit(winrt::Windows::UI::Xaml::Automation::ZoomUnit const& zoomUnit) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider2)->ZoomByUnit(static_cast(zoomUnit))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IValueProvider::IsReadOnly() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IValueProvider::IsReadOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IValueProvider)->get_IsReadOnly(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IValueProvider::Value() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IValueProvider::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IValueProvider)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IValueProvider::SetValue(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Automation_Provider_IValueProvider::SetValue(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IValueProvider)->SetValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IVirtualizedItemProvider::Realize() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IVirtualizedItemProvider::Realize() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IVirtualizedItemProvider)->Realize()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::IsModal() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::IsModal() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IWindowProvider)->get_IsModal(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::IsTopmost() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::IsTopmost() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IWindowProvider)->get_IsTopmost(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::Maximizable() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::Maximizable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IWindowProvider)->get_Maximizable(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::Minimizable() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::Minimizable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IWindowProvider)->get_Minimizable(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::WindowInteractionState) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::InteractionState() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::InteractionState() const { winrt::Windows::UI::Xaml::Automation::WindowInteractionState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IWindowProvider)->get_InteractionState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::WindowVisualState) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::VisualState() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::VisualState() const { winrt::Windows::UI::Xaml::Automation::WindowVisualState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IWindowProvider)->get_VisualState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::Close() const + template auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::Close() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IWindowProvider)->Close()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::SetVisualState(winrt::Windows::UI::Xaml::Automation::WindowVisualState const& state) const + template auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::SetVisualState(winrt::Windows::UI::Xaml::Automation::WindowVisualState const& state) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IWindowProvider)->SetVisualState(static_cast(state))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::WaitForInputIdle(int32_t milliseconds) const + template auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider::WaitForInputIdle(int32_t milliseconds) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IWindowProvider)->WaitForInputIdle(milliseconds, &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Text.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Text.h index dd1c60a4..79304ad0 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Text.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Text.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_Text_H #define WINRT_Windows_UI_Xaml_Automation_Text_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.Automation.h" #include "winrt/impl/Windows.UI.Xaml.Automation.Text.2.h" namespace winrt::impl diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.h index f3dff4e4..9567ac0f 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_H #define WINRT_Windows_UI_Xaml_Automation_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.UI.Xaml.2.h" @@ -13,1121 +13,1121 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Automation.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics::AnnotationTypeIdProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics::AnnotationTypeIdProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAnnotationPatternIdentifiersStatics)->get_AnnotationTypeIdProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics::AnnotationTypeNameProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics::AnnotationTypeNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAnnotationPatternIdentifiersStatics)->get_AnnotationTypeNameProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics::AuthorProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics::AuthorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAnnotationPatternIdentifiersStatics)->get_AuthorProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics::DateTimeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics::DateTimeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAnnotationPatternIdentifiersStatics)->get_DateTimeProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics::TargetProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics::TargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAnnotationPatternIdentifiersStatics)->get_TargetProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AnnotationType) consume_Windows_UI_Xaml_Automation_IAutomationAnnotation::Type() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationAnnotation::Type() const { winrt::Windows::UI::Xaml::Automation::AnnotationType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationAnnotation)->get_Type(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationAnnotation::Type(winrt::Windows::UI::Xaml::Automation::AnnotationType const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationAnnotation::Type(winrt::Windows::UI::Xaml::Automation::AnnotationType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationAnnotation)->put_Type(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Automation_IAutomationAnnotation::Element() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationAnnotation::Element() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationAnnotation)->get_Element(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationAnnotation::Element(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationAnnotation::Element(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationAnnotation)->put_Element(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationAnnotation) consume_Windows_UI_Xaml_Automation_IAutomationAnnotationFactory::CreateInstance(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationAnnotationFactory::CreateInstance(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationAnnotationFactory)->CreateInstance(static_cast(type), &value)); return winrt::Windows::UI::Xaml::Automation::AutomationAnnotation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationAnnotation) consume_Windows_UI_Xaml_Automation_IAutomationAnnotationFactory::CreateWithElementParameter(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type, winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationAnnotationFactory::CreateWithElementParameter(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type, winrt::Windows::UI::Xaml::UIElement const& element) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationAnnotationFactory)->CreateWithElementParameter(static_cast(type), *(void**)(&element), &value)); return winrt::Windows::UI::Xaml::Automation::AutomationAnnotation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationAnnotationStatics::TypeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationAnnotationStatics::TypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationAnnotationStatics)->get_TypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationAnnotationStatics::ElementProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationAnnotationStatics::ElementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationAnnotationStatics)->get_ElementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::AcceleratorKeyProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::AcceleratorKeyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_AcceleratorKeyProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::AccessKeyProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::AccessKeyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_AccessKeyProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::AutomationIdProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::AutomationIdProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_AutomationIdProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::BoundingRectangleProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::BoundingRectangleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_BoundingRectangleProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::ClassNameProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::ClassNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_ClassNameProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::ClickablePointProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::ClickablePointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_ClickablePointProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::ControlTypeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::ControlTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_ControlTypeProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::HasKeyboardFocusProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::HasKeyboardFocusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_HasKeyboardFocusProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::HelpTextProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::HelpTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_HelpTextProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::IsContentElementProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::IsContentElementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_IsContentElementProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::IsControlElementProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::IsControlElementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_IsControlElementProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::IsEnabledProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::IsEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_IsEnabledProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::IsKeyboardFocusableProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::IsKeyboardFocusableProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_IsKeyboardFocusableProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::IsOffscreenProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::IsOffscreenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_IsOffscreenProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::IsPasswordProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::IsPasswordProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_IsPasswordProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::IsRequiredForFormProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::IsRequiredForFormProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_IsRequiredForFormProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::ItemStatusProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::ItemStatusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_ItemStatusProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::ItemTypeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::ItemTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_ItemTypeProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::LabeledByProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::LabeledByProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_LabeledByProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::LocalizedControlTypeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::LocalizedControlTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_LocalizedControlTypeProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::NameProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::NameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_NameProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::OrientationProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::LiveSettingProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics::LiveSettingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics)->get_LiveSettingProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics2::ControlledPeersProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics2::ControlledPeersProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics2)->get_ControlledPeersProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3::PositionInSetProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3::PositionInSetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics3)->get_PositionInSetProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3::SizeOfSetProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3::SizeOfSetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics3)->get_SizeOfSetProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3::LevelProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3::LevelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics3)->get_LevelProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3::AnnotationsProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3::AnnotationsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics3)->get_AnnotationsProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics4::LandmarkTypeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics4::LandmarkTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics4)->get_LandmarkTypeProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics4::LocalizedLandmarkTypeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics4::LocalizedLandmarkTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics4)->get_LocalizedLandmarkTypeProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5::IsPeripheralProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5::IsPeripheralProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics5)->get_IsPeripheralProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5::IsDataValidForFormProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5::IsDataValidForFormProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics5)->get_IsDataValidForFormProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5::FullDescriptionProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5::FullDescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics5)->get_FullDescriptionProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5::DescribedByProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5::DescribedByProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics5)->get_DescribedByProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5::FlowsToProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5::FlowsToProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics5)->get_FlowsToProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5::FlowsFromProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5::FlowsFromProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics5)->get_FlowsFromProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics6::CultureProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics6::CultureProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics6)->get_CultureProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics7::HeadingLevelProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics7::HeadingLevelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics7)->get_HeadingLevelProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics8::IsDialogProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics8::IsDialogProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics8)->get_IsDialogProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::AcceleratorKeyProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::AcceleratorKeyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->get_AcceleratorKeyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetAcceleratorKey(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetAcceleratorKey(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->GetAcceleratorKey(*(void**)(&element), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetAcceleratorKey(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetAcceleratorKey(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->SetAcceleratorKey(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::AccessKeyProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::AccessKeyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->get_AccessKeyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetAccessKey(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetAccessKey(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->GetAccessKey(*(void**)(&element), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetAccessKey(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetAccessKey(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->SetAccessKey(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::AutomationIdProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::AutomationIdProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->get_AutomationIdProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetAutomationId(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetAutomationId(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->GetAutomationId(*(void**)(&element), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetAutomationId(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetAutomationId(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->SetAutomationId(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::HelpTextProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::HelpTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->get_HelpTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetHelpText(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetHelpText(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->GetHelpText(*(void**)(&element), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetHelpText(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetHelpText(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->SetHelpText(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::IsRequiredForFormProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::IsRequiredForFormProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->get_IsRequiredForFormProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetIsRequiredForForm(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetIsRequiredForForm(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->GetIsRequiredForForm(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetIsRequiredForForm(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetIsRequiredForForm(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->SetIsRequiredForForm(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::ItemStatusProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::ItemStatusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->get_ItemStatusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetItemStatus(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetItemStatus(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->GetItemStatus(*(void**)(&element), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetItemStatus(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetItemStatus(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->SetItemStatus(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::ItemTypeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::ItemTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->get_ItemTypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetItemType(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetItemType(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->GetItemType(*(void**)(&element), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetItemType(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetItemType(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->SetItemType(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::LabeledByProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::LabeledByProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->get_LabeledByProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetLabeledBy(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetLabeledBy(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->GetLabeledBy(*(void**)(&element), &result)); return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetLabeledBy(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetLabeledBy(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->SetLabeledBy(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::NameProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::NameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->get_NameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetName(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetName(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->GetName(*(void**)(&element), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetName(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetName(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->SetName(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::LiveSettingProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::LiveSettingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->get_LiveSettingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetLiveSetting(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::GetLiveSetting(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->GetLiveSetting(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetLiveSetting(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics::SetLiveSetting(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics)->SetLiveSetting(*(void**)(&element), static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2::AccessibilityViewProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2::AccessibilityViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics2)->get_AccessibilityViewProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AccessibilityView) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2::GetAccessibilityView(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2::GetAccessibilityView(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::Automation::Peers::AccessibilityView result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics2)->GetAccessibilityView(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2::SetAccessibilityView(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AccessibilityView const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2::SetAccessibilityView(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AccessibilityView const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics2)->SetAccessibilityView(*(void**)(&element), static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2::ControlledPeersProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2::ControlledPeersProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics2)->get_ControlledPeersProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2::GetControlledPeers(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2::GetControlledPeers(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics2)->GetControlledPeers(*(void**)(&element), &result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::PositionInSetProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::PositionInSetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics3)->get_PositionInSetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::GetPositionInSet(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::GetPositionInSet(winrt::Windows::UI::Xaml::DependencyObject const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics3)->GetPositionInSet(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::SetPositionInSet(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::SetPositionInSet(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics3)->SetPositionInSet(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::SizeOfSetProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::SizeOfSetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics3)->get_SizeOfSetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::GetSizeOfSet(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::GetSizeOfSet(winrt::Windows::UI::Xaml::DependencyObject const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics3)->GetSizeOfSet(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::SetSizeOfSet(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::SetSizeOfSet(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics3)->SetSizeOfSet(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::LevelProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::LevelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics3)->get_LevelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::GetLevel(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::GetLevel(winrt::Windows::UI::Xaml::DependencyObject const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics3)->GetLevel(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::SetLevel(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::SetLevel(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics3)->SetLevel(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::AnnotationsProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::AnnotationsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics3)->get_AnnotationsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::GetAnnotations(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3::GetAnnotations(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics3)->GetAnnotations(*(void**)(&element), &result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4::LandmarkTypeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4::LandmarkTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics4)->get_LandmarkTypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4::GetLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4::GetLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics4)->GetLandmarkType(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4::SetLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4::SetLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics4)->SetLandmarkType(*(void**)(&element), static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4::LocalizedLandmarkTypeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4::LocalizedLandmarkTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics4)->get_LocalizedLandmarkTypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4::GetLocalizedLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4::GetLocalizedLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics4)->GetLocalizedLandmarkType(*(void**)(&element), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4::SetLocalizedLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4::SetLocalizedLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics4)->SetLocalizedLandmarkType(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::IsPeripheralProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::IsPeripheralProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->get_IsPeripheralProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::GetIsPeripheral(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::GetIsPeripheral(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->GetIsPeripheral(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::SetIsPeripheral(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::SetIsPeripheral(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->SetIsPeripheral(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::IsDataValidForFormProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::IsDataValidForFormProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->get_IsDataValidForFormProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::GetIsDataValidForForm(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::GetIsDataValidForForm(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->GetIsDataValidForForm(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::SetIsDataValidForForm(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::SetIsDataValidForForm(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->SetIsDataValidForForm(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::FullDescriptionProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::FullDescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->get_FullDescriptionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::GetFullDescription(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::GetFullDescription(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->GetFullDescription(*(void**)(&element), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::SetFullDescription(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::SetFullDescription(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->SetFullDescription(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::LocalizedControlTypeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::LocalizedControlTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->get_LocalizedControlTypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::GetLocalizedControlType(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::GetLocalizedControlType(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->GetLocalizedControlType(*(void**)(&element), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::SetLocalizedControlType(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::SetLocalizedControlType(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->SetLocalizedControlType(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::DescribedByProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::DescribedByProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->get_DescribedByProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::GetDescribedBy(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::GetDescribedBy(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->GetDescribedBy(*(void**)(&element), &result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::FlowsToProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::FlowsToProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->get_FlowsToProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::GetFlowsTo(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::GetFlowsTo(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->GetFlowsTo(*(void**)(&element), &result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::FlowsFromProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::FlowsFromProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->get_FlowsFromProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::GetFlowsFrom(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5::GetFlowsFrom(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5)->GetFlowsFrom(*(void**)(&element), &result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics6::CultureProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics6::CultureProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics6)->get_CultureProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics6::GetCulture(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics6::GetCulture(winrt::Windows::UI::Xaml::DependencyObject const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics6)->GetCulture(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics6::SetCulture(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics6::SetCulture(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics6)->SetCulture(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics7::HeadingLevelProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics7::HeadingLevelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics7)->get_HeadingLevelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics7::GetHeadingLevel(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics7::GetHeadingLevel(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics7)->GetHeadingLevel(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics7::SetHeadingLevel(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel const& value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics7::SetHeadingLevel(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics7)->SetHeadingLevel(*(void**)(&element), static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics8::IsDialogProperty() const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics8::IsDialogProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics8)->get_IsDialogProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics8::GetIsDialog(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics8::GetIsDialog(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics8)->GetIsDialog(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics8::SetIsDialog(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics8::SetIsDialog(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics8)->SetIsDialog(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IDockPatternIdentifiersStatics::DockPositionProperty() const + template auto consume_Windows_UI_Xaml_Automation_IDockPatternIdentifiersStatics::DockPositionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IDockPatternIdentifiersStatics)->get_DockPositionProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics::DropEffectProperty() const + template auto consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics::DropEffectProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IDragPatternIdentifiersStatics)->get_DropEffectProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics::DropEffectsProperty() const + template auto consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics::DropEffectsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IDragPatternIdentifiersStatics)->get_DropEffectsProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics::GrabbedItemsProperty() const + template auto consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics::GrabbedItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IDragPatternIdentifiersStatics)->get_GrabbedItemsProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics::IsGrabbedProperty() const + template auto consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics::IsGrabbedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IDragPatternIdentifiersStatics)->get_IsGrabbedProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IDropTargetPatternIdentifiersStatics::DropTargetEffectProperty() const + template auto consume_Windows_UI_Xaml_Automation_IDropTargetPatternIdentifiersStatics::DropTargetEffectProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IDropTargetPatternIdentifiersStatics)->get_DropTargetEffectProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IDropTargetPatternIdentifiersStatics::DropTargetEffectsProperty() const + template auto consume_Windows_UI_Xaml_Automation_IDropTargetPatternIdentifiersStatics::DropTargetEffectsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IDropTargetPatternIdentifiersStatics)->get_DropTargetEffectsProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IExpandCollapsePatternIdentifiersStatics::ExpandCollapseStateProperty() const + template auto consume_Windows_UI_Xaml_Automation_IExpandCollapsePatternIdentifiersStatics::ExpandCollapseStateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IExpandCollapsePatternIdentifiersStatics)->get_ExpandCollapseStateProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics::ColumnProperty() const + template auto consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics::ColumnProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IGridItemPatternIdentifiersStatics)->get_ColumnProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics::ColumnSpanProperty() const + template auto consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics::ColumnSpanProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IGridItemPatternIdentifiersStatics)->get_ColumnSpanProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics::ContainingGridProperty() const + template auto consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics::ContainingGridProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IGridItemPatternIdentifiersStatics)->get_ContainingGridProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics::RowProperty() const + template auto consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics::RowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IGridItemPatternIdentifiersStatics)->get_RowProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics::RowSpanProperty() const + template auto consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics::RowSpanProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IGridItemPatternIdentifiersStatics)->get_RowSpanProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IGridPatternIdentifiersStatics::ColumnCountProperty() const + template auto consume_Windows_UI_Xaml_Automation_IGridPatternIdentifiersStatics::ColumnCountProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IGridPatternIdentifiersStatics)->get_ColumnCountProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IGridPatternIdentifiersStatics::RowCountProperty() const + template auto consume_Windows_UI_Xaml_Automation_IGridPatternIdentifiersStatics::RowCountProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IGridPatternIdentifiersStatics)->get_RowCountProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IMultipleViewPatternIdentifiersStatics::CurrentViewProperty() const + template auto consume_Windows_UI_Xaml_Automation_IMultipleViewPatternIdentifiersStatics::CurrentViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IMultipleViewPatternIdentifiersStatics)->get_CurrentViewProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IMultipleViewPatternIdentifiersStatics::SupportedViewsProperty() const + template auto consume_Windows_UI_Xaml_Automation_IMultipleViewPatternIdentifiersStatics::SupportedViewsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IMultipleViewPatternIdentifiersStatics)->get_SupportedViewsProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics::IsReadOnlyProperty() const + template auto consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics::IsReadOnlyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IRangeValuePatternIdentifiersStatics)->get_IsReadOnlyProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics::LargeChangeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics::LargeChangeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IRangeValuePatternIdentifiersStatics)->get_LargeChangeProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics::MaximumProperty() const + template auto consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics::MaximumProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IRangeValuePatternIdentifiersStatics)->get_MaximumProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics::MinimumProperty() const + template auto consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics::MinimumProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IRangeValuePatternIdentifiersStatics)->get_MinimumProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics::SmallChangeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics::SmallChangeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IRangeValuePatternIdentifiersStatics)->get_SmallChangeProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics::ValueProperty() const + template auto consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics::ValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IRangeValuePatternIdentifiersStatics)->get_ValueProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics::HorizontallyScrollableProperty() const + template auto consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics::HorizontallyScrollableProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IScrollPatternIdentifiersStatics)->get_HorizontallyScrollableProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics::HorizontalScrollPercentProperty() const + template auto consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics::HorizontalScrollPercentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IScrollPatternIdentifiersStatics)->get_HorizontalScrollPercentProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics::HorizontalViewSizeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics::HorizontalViewSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IScrollPatternIdentifiersStatics)->get_HorizontalViewSizeProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics::NoScroll() const + template auto consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics::NoScroll() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IScrollPatternIdentifiersStatics)->get_NoScroll(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics::VerticallyScrollableProperty() const + template auto consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics::VerticallyScrollableProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IScrollPatternIdentifiersStatics)->get_VerticallyScrollableProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics::VerticalScrollPercentProperty() const + template auto consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics::VerticalScrollPercentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IScrollPatternIdentifiersStatics)->get_VerticalScrollPercentProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics::VerticalViewSizeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics::VerticalViewSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IScrollPatternIdentifiersStatics)->get_VerticalViewSizeProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ISelectionItemPatternIdentifiersStatics::IsSelectedProperty() const + template auto consume_Windows_UI_Xaml_Automation_ISelectionItemPatternIdentifiersStatics::IsSelectedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ISelectionItemPatternIdentifiersStatics)->get_IsSelectedProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ISelectionItemPatternIdentifiersStatics::SelectionContainerProperty() const + template auto consume_Windows_UI_Xaml_Automation_ISelectionItemPatternIdentifiersStatics::SelectionContainerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ISelectionItemPatternIdentifiersStatics)->get_SelectionContainerProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ISelectionPatternIdentifiersStatics::CanSelectMultipleProperty() const + template auto consume_Windows_UI_Xaml_Automation_ISelectionPatternIdentifiersStatics::CanSelectMultipleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ISelectionPatternIdentifiersStatics)->get_CanSelectMultipleProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ISelectionPatternIdentifiersStatics::IsSelectionRequiredProperty() const + template auto consume_Windows_UI_Xaml_Automation_ISelectionPatternIdentifiersStatics::IsSelectionRequiredProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ISelectionPatternIdentifiersStatics)->get_IsSelectionRequiredProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ISelectionPatternIdentifiersStatics::SelectionProperty() const + template auto consume_Windows_UI_Xaml_Automation_ISelectionPatternIdentifiersStatics::SelectionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ISelectionPatternIdentifiersStatics)->get_SelectionProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ISpreadsheetItemPatternIdentifiersStatics::FormulaProperty() const + template auto consume_Windows_UI_Xaml_Automation_ISpreadsheetItemPatternIdentifiersStatics::FormulaProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ISpreadsheetItemPatternIdentifiersStatics)->get_FormulaProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics::ExtendedPropertiesProperty() const + template auto consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics::ExtendedPropertiesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IStylesPatternIdentifiersStatics)->get_ExtendedPropertiesProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics::FillColorProperty() const + template auto consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics::FillColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IStylesPatternIdentifiersStatics)->get_FillColorProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics::FillPatternColorProperty() const + template auto consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics::FillPatternColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IStylesPatternIdentifiersStatics)->get_FillPatternColorProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics::FillPatternStyleProperty() const + template auto consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics::FillPatternStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IStylesPatternIdentifiersStatics)->get_FillPatternStyleProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics::ShapeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics::ShapeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IStylesPatternIdentifiersStatics)->get_ShapeProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics::StyleIdProperty() const + template auto consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics::StyleIdProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IStylesPatternIdentifiersStatics)->get_StyleIdProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics::StyleNameProperty() const + template auto consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics::StyleNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IStylesPatternIdentifiersStatics)->get_StyleNameProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITableItemPatternIdentifiersStatics::ColumnHeaderItemsProperty() const + template auto consume_Windows_UI_Xaml_Automation_ITableItemPatternIdentifiersStatics::ColumnHeaderItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ITableItemPatternIdentifiersStatics)->get_ColumnHeaderItemsProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITableItemPatternIdentifiersStatics::RowHeaderItemsProperty() const + template auto consume_Windows_UI_Xaml_Automation_ITableItemPatternIdentifiersStatics::RowHeaderItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ITableItemPatternIdentifiersStatics)->get_RowHeaderItemsProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITablePatternIdentifiersStatics::ColumnHeadersProperty() const + template auto consume_Windows_UI_Xaml_Automation_ITablePatternIdentifiersStatics::ColumnHeadersProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ITablePatternIdentifiersStatics)->get_ColumnHeadersProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITablePatternIdentifiersStatics::RowHeadersProperty() const + template auto consume_Windows_UI_Xaml_Automation_ITablePatternIdentifiersStatics::RowHeadersProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ITablePatternIdentifiersStatics)->get_RowHeadersProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITablePatternIdentifiersStatics::RowOrColumnMajorProperty() const + template auto consume_Windows_UI_Xaml_Automation_ITablePatternIdentifiersStatics::RowOrColumnMajorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ITablePatternIdentifiersStatics)->get_RowOrColumnMajorProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITogglePatternIdentifiersStatics::ToggleStateProperty() const + template auto consume_Windows_UI_Xaml_Automation_ITogglePatternIdentifiersStatics::ToggleStateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ITogglePatternIdentifiersStatics)->get_ToggleStateProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics::CanZoomProperty() const + template auto consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics::CanZoomProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ITransformPattern2IdentifiersStatics)->get_CanZoomProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics::ZoomLevelProperty() const + template auto consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics::ZoomLevelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ITransformPattern2IdentifiersStatics)->get_ZoomLevelProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics::MaxZoomProperty() const + template auto consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics::MaxZoomProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ITransformPattern2IdentifiersStatics)->get_MaxZoomProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics::MinZoomProperty() const + template auto consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics::MinZoomProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ITransformPattern2IdentifiersStatics)->get_MinZoomProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITransformPatternIdentifiersStatics::CanMoveProperty() const + template auto consume_Windows_UI_Xaml_Automation_ITransformPatternIdentifiersStatics::CanMoveProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ITransformPatternIdentifiersStatics)->get_CanMoveProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITransformPatternIdentifiersStatics::CanResizeProperty() const + template auto consume_Windows_UI_Xaml_Automation_ITransformPatternIdentifiersStatics::CanResizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ITransformPatternIdentifiersStatics)->get_CanResizeProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITransformPatternIdentifiersStatics::CanRotateProperty() const + template auto consume_Windows_UI_Xaml_Automation_ITransformPatternIdentifiersStatics::CanRotateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::ITransformPatternIdentifiersStatics)->get_CanRotateProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IValuePatternIdentifiersStatics::IsReadOnlyProperty() const + template auto consume_Windows_UI_Xaml_Automation_IValuePatternIdentifiersStatics::IsReadOnlyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IValuePatternIdentifiersStatics)->get_IsReadOnlyProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IValuePatternIdentifiersStatics::ValueProperty() const + template auto consume_Windows_UI_Xaml_Automation_IValuePatternIdentifiersStatics::ValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IValuePatternIdentifiersStatics)->get_ValueProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics::CanMaximizeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics::CanMaximizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IWindowPatternIdentifiersStatics)->get_CanMaximizeProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics::CanMinimizeProperty() const + template auto consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics::CanMinimizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IWindowPatternIdentifiersStatics)->get_CanMinimizeProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics::IsModalProperty() const + template auto consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics::IsModalProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IWindowPatternIdentifiersStatics)->get_IsModalProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics::IsTopmostProperty() const + template auto consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics::IsTopmostProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IWindowPatternIdentifiersStatics)->get_IsTopmostProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics::WindowInteractionStateProperty() const + template auto consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics::WindowInteractionStateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IWindowPatternIdentifiersStatics)->get_WindowInteractionStateProperty(&value)); return winrt::Windows::UI::Xaml::Automation::AutomationProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics::WindowVisualStateProperty() const + template auto consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics::WindowVisualStateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IWindowPatternIdentifiersStatics)->get_WindowVisualStateProperty(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.Maps.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.Maps.h index 78c9e44a..f7af7bd0 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.Maps.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.Maps.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Controls_Maps_H #define WINRT_Windows_UI_Xaml_Controls_Maps_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.Controls.h" #include "winrt/impl/Windows.Devices.Geolocation.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -21,3367 +21,3367 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Controls.Maps.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource::BitmapRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource::BitmapRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ICustomMapTileDataSource)->add_BitmapRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource::BitmapRequested_revoker consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource::BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource::BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BitmapRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource::BitmapRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource::BitmapRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ICustomMapTileDataSource)->remove_BitmapRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::CustomMapTileDataSource) consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ICustomMapTileDataSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::CustomMapTileDataSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::UriFormatString() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::UriFormatString() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->get_UriFormatString(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::UriFormatString(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::UriFormatString(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->put_UriFormatString(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::AdditionalRequestHeaders() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::AdditionalRequestHeaders() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->get_AdditionalRequestHeaders(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::AllowCaching() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::AllowCaching() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->get_AllowCaching(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::AllowCaching(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::AllowCaching(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->put_AllowCaching(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::UriRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::UriRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->add_UriRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::UriRequested_revoker consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::UriRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::UriRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UriRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::UriRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::UriRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->remove_UriRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSourceFactory::CreateInstanceWithUriFormatString(param::hstring const& uriFormatString, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSourceFactory::CreateInstanceWithUriFormatString(param::hstring const& uriFormatString, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSourceFactory)->CreateInstanceWithUriFormatString(*(void**)(&uriFormatString), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource::UriFormatString() const + template auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource::UriFormatString() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSource)->get_UriFormatString(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource::UriFormatString(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource::UriFormatString(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSource)->put_UriFormatString(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource::UriRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource::UriRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSource)->add_UriRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource::UriRequested_revoker consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource::UriRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource::UriRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UriRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource::UriRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource::UriRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSource)->remove_UriRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource) consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource) consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSourceFactory::CreateInstanceWithUriFormatString(param::hstring const& uriFormatString, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSourceFactory::CreateInstanceWithUriFormatString(param::hstring const& uriFormatString, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSourceFactory)->CreateInstanceWithUriFormatString(*(void**)(&uriFormatString), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangedEventArgs::Camera() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangedEventArgs::Camera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapActualCameraChangedEventArgs)->get_Camera(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCameraChangeReason) consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangedEventArgs2::ChangeReason() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangedEventArgs2::ChangeReason() const { winrt::Windows::UI::Xaml::Controls::Maps::MapCameraChangeReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapActualCameraChangedEventArgs2)->get_ChangeReason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangingEventArgs::Camera() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangingEventArgs::Camera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapActualCameraChangingEventArgs)->get_Camera(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCameraChangeReason) consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangingEventArgs2::ChangeReason() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangingEventArgs2::ChangeReason() const { winrt::Windows::UI::Xaml::Controls::Maps::MapCameraChangeReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapActualCameraChangingEventArgs2)->get_ChangeReason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->put_Location(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::NormalizedAnchorPoint() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::NormalizedAnchorPoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->get_NormalizedAnchorPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::NormalizedAnchorPoint(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::NormalizedAnchorPoint(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->put_NormalizedAnchorPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::Image() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::Image() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->get_Image(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->put_Image(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::CollisionBehaviorDesired() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::CollisionBehaviorDesired() const { winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->get_CollisionBehaviorDesired(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::CollisionBehaviorDesired(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::CollisionBehaviorDesired(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->put_CollisionBehaviorDesired(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::ReferenceCamera() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::ReferenceCamera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->get_ReferenceCamera(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapBillboard) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardFactory::CreateInstanceFromCamera(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera const& camera) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardFactory::CreateInstanceFromCamera(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera const& camera) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboardFactory)->CreateInstanceFromCamera(*(void**)(&camera), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapBillboard{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardStatics::LocationProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardStatics::LocationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboardStatics)->get_LocationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardStatics::NormalizedAnchorPointProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardStatics::NormalizedAnchorPointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboardStatics)->get_NormalizedAnchorPointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardStatics::CollisionBehaviorDesiredProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardStatics::CollisionBehaviorDesiredProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboardStatics)->get_CollisionBehaviorDesiredProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->put_Location(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Heading() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Heading() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->get_Heading(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Heading(double value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Heading(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->put_Heading(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Pitch() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Pitch() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->get_Pitch(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Pitch(double value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Pitch(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->put_Pitch(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Roll() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Roll() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->get_Roll(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Roll(double value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Roll(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->put_Roll(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::FieldOfView() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::FieldOfView() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->get_FieldOfView(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::FieldOfView(double value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::FieldOfView(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->put_FieldOfView(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory::CreateInstanceWithLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory::CreateInstanceWithLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCameraFactory)->CreateInstanceWithLocation(*(void**)(&location), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory::CreateInstanceWithLocationAndHeading(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory::CreateInstanceWithLocationAndHeading(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCameraFactory)->CreateInstanceWithLocationAndHeading(*(void**)(&location), headingInDegrees, &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory::CreateInstanceWithLocationHeadingAndPitch(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory::CreateInstanceWithLocationHeadingAndPitch(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCameraFactory)->CreateInstanceWithLocationHeadingAndPitch(*(void**)(&location), headingInDegrees, pitchInDegrees, &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory::CreateInstanceWithLocationHeadingPitchRollAndFieldOfView(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees, double rollInDegrees, double fieldOfViewInDegrees) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory::CreateInstanceWithLocationHeadingPitchRollAndFieldOfView(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees, double rollInDegrees, double fieldOfViewInDegrees) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCameraFactory)->CreateInstanceWithLocationHeadingPitchRollAndFieldOfView(*(void**)(&location), headingInDegrees, pitchInDegrees, rollInDegrees, fieldOfViewInDegrees, &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapContextRequestedEventArgs::Position() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapContextRequestedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapContextRequestedEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapContextRequestedEventArgs::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapContextRequestedEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapContextRequestedEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Controls_Maps_IMapContextRequestedEventArgs::MapElements() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapContextRequestedEventArgs::MapElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapContextRequestedEventArgs)->get_MapElements(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Center() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Center() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_Center(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Center(winrt::Windows::Devices::Geolocation::Geopoint const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Center(winrt::Windows::Devices::Geolocation::Geopoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_Center(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Children() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_Children(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapColorScheme) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ColorScheme() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ColorScheme() const { winrt::Windows::UI::Xaml::Controls::Maps::MapColorScheme value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_ColorScheme(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ColorScheme(winrt::Windows::UI::Xaml::Controls::Maps::MapColorScheme const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ColorScheme(winrt::Windows::UI::Xaml::Controls::Maps::MapColorScheme const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_ColorScheme(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::DesiredPitch() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::DesiredPitch() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_DesiredPitch(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::DesiredPitch(double value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::DesiredPitch(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_DesiredPitch(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Heading() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Heading() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_Heading(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Heading(double value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Heading(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_Heading(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LandmarksVisible() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LandmarksVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_LandmarksVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LandmarksVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LandmarksVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_LandmarksVisible(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapLoadingStatus) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LoadingStatus() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LoadingStatus() const { winrt::Windows::UI::Xaml::Controls::Maps::MapLoadingStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_LoadingStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapServiceToken() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapServiceToken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_MapServiceToken(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapServiceToken(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapServiceToken(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_MapServiceToken(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MaxZoomLevel() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MaxZoomLevel() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_MaxZoomLevel(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MinZoomLevel() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MinZoomLevel() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_MinZoomLevel(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::PedestrianFeaturesVisible() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::PedestrianFeaturesVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_PedestrianFeaturesVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::PedestrianFeaturesVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::PedestrianFeaturesVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_PedestrianFeaturesVisible(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Pitch() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Pitch() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_Pitch(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyle) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Style() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Style() const { winrt::Windows::UI::Xaml::Controls::Maps::MapStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_Style(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Style(winrt::Windows::UI::Xaml::Controls::Maps::MapStyle const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Style(winrt::Windows::UI::Xaml::Controls::Maps::MapStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_Style(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrafficFlowVisible() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrafficFlowVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_TrafficFlowVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrafficFlowVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrafficFlowVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_TrafficFlowVisible(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TransformOrigin() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TransformOrigin() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_TransformOrigin(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TransformOrigin(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TransformOrigin(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_TransformOrigin(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapWatermarkMode) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::WatermarkMode() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::WatermarkMode() const { winrt::Windows::UI::Xaml::Controls::Maps::MapWatermarkMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_WatermarkMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::WatermarkMode(winrt::Windows::UI::Xaml::Controls::Maps::MapWatermarkMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::WatermarkMode(winrt::Windows::UI::Xaml::Controls::Maps::MapWatermarkMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_WatermarkMode(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ZoomLevel() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ZoomLevel() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_ZoomLevel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ZoomLevel(double value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ZoomLevel(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_ZoomLevel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapElements() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_MapElements(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Routes() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Routes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_Routes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TileSources() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TileSources() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_TileSources(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::CenterChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::CenterChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_CenterChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl::CenterChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl::CenterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::CenterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CenterChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::CenterChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::CenterChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_CenterChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::HeadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::HeadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_HeadingChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl::HeadingChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl::HeadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::HeadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, HeadingChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::HeadingChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::HeadingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_HeadingChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LoadingStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LoadingStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_LoadingStatusChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LoadingStatusChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LoadingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LoadingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LoadingStatusChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LoadingStatusChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LoadingStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_LoadingStatusChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapDoubleTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapDoubleTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_MapDoubleTapped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapDoubleTapped_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapDoubleTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapDoubleTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapDoubleTapped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapDoubleTapped(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapDoubleTapped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_MapDoubleTapped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapHolding(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapHolding(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_MapHolding(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapHolding_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapHolding(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapHolding(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapHolding(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_MapHolding(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_MapTapped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapTapped_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapTapped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapTapped(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapTapped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_MapTapped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::PitchChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::PitchChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_PitchChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl::PitchChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl::PitchChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::PitchChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PitchChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::PitchChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::PitchChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_PitchChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TransformOriginChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TransformOriginChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_TransformOriginChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TransformOriginChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TransformOriginChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TransformOriginChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TransformOriginChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TransformOriginChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TransformOriginChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_TransformOriginChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ZoomLevelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ZoomLevelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_ZoomLevelChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ZoomLevelChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ZoomLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ZoomLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ZoomLevelChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ZoomLevelChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ZoomLevelChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_ZoomLevelChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::FindMapElementsAtOffset(winrt::Windows::Foundation::Point const& offset) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::FindMapElementsAtOffset(winrt::Windows::Foundation::Point const& offset) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->FindMapElementsAtOffset(impl::bind_in(offset), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::GetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::Geopoint& location) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::GetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::Geopoint& location) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->GetLocationFromOffset(impl::bind_in(offset), impl::bind_out(location))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::GetOffsetFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location, winrt::Windows::Foundation::Point& offset) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::GetOffsetFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location, winrt::Windows::Foundation::Point& offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->GetOffsetFromLocation(*(void**)(&location), impl::bind_out(offset))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::IsLocationInView(winrt::Windows::Devices::Geolocation::Geopoint const& location, bool& isInView) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::IsLocationInView(winrt::Windows::Devices::Geolocation::Geopoint const& location, bool& isInView) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->IsLocationInView(*(void**)(&location), &isInView)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrySetViewBoundsAsync(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, winrt::Windows::Foundation::IReference const& margin, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animation) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrySetViewBoundsAsync(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, winrt::Windows::Foundation::IReference const& margin, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animation) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->TrySetViewBoundsAsync(*(void**)(&bounds), *(void**)(&margin), static_cast(animation), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->TrySetViewWithCenterAsync(*(void**)(¢er), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference const& zoomLevel) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference const& zoomLevel) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->TrySetViewWithCenterAndZoomAsync(*(void**)(¢er), *(void**)(&zoomLevel), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference const& zoomLevel, winrt::Windows::Foundation::IReference const& heading, winrt::Windows::Foundation::IReference const& desiredPitch) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference const& zoomLevel, winrt::Windows::Foundation::IReference const& heading, winrt::Windows::Foundation::IReference const& desiredPitch) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->TrySetViewWithCenterZoomHeadingAndPitchAsync(*(void**)(¢er), *(void**)(&zoomLevel), *(void**)(&heading), *(void**)(&desiredPitch), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference const& zoomLevel, winrt::Windows::Foundation::IReference const& heading, winrt::Windows::Foundation::IReference const& desiredPitch, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animation) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference const& zoomLevel, winrt::Windows::Foundation::IReference const& heading, winrt::Windows::Foundation::IReference const& desiredPitch, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animation) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->TrySetViewWithCenterZoomHeadingPitchAndAnimationAsync(*(void**)(¢er), *(void**)(&zoomLevel), *(void**)(&heading), *(void**)(&desiredPitch), static_cast(animation), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::BusinessLandmarksVisible() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::BusinessLandmarksVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_BusinessLandmarksVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::BusinessLandmarksVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::BusinessLandmarksVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_BusinessLandmarksVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TransitFeaturesVisible() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TransitFeaturesVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_TransitFeaturesVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TransitFeaturesVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TransitFeaturesVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_TransitFeaturesVisible(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapPanInteractionMode) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::PanInteractionMode() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::PanInteractionMode() const { winrt::Windows::UI::Xaml::Controls::Maps::MapPanInteractionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_PanInteractionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::PanInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapPanInteractionMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::PanInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapPanInteractionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_PanInteractionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::RotateInteractionMode() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::RotateInteractionMode() const { winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_RotateInteractionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::RotateInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::RotateInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_RotateInteractionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TiltInteractionMode() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TiltInteractionMode() const { winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_TiltInteractionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TiltInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TiltInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_TiltInteractionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ZoomInteractionMode() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ZoomInteractionMode() const { winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_ZoomInteractionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ZoomInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ZoomInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_ZoomInteractionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::Is3DSupported() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::Is3DSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_Is3DSupported(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::IsStreetsideSupported() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::IsStreetsideSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_IsStreetsideSupported(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::Scene() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::Scene() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_Scene(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::Scene(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::Scene(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_Scene(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCamera() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCamera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_ActualCamera(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TargetCamera() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TargetCamera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_TargetCamera(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperience) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::CustomExperience() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::CustomExperience() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_CustomExperience(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperience{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::CustomExperience(winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperience const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::CustomExperience(winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperience const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_CustomExperience(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->add_MapElementClick(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementClick_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapElementClick(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementClick(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->remove_MapElementClick(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->add_MapElementPointerEntered(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerEntered_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapElementPointerEntered(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerEntered(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerEntered(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->remove_MapElementPointerEntered(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->add_MapElementPointerExited(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerExited_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapElementPointerExited(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerExited(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerExited(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->remove_MapElementPointerExited(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->add_ActualCameraChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ActualCameraChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->remove_ActualCameraChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->add_ActualCameraChanging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanging_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ActualCameraChanging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanging(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->remove_ActualCameraChanging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TargetCameraChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TargetCameraChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->add_TargetCameraChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TargetCameraChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TargetCameraChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TargetCameraChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TargetCameraChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->remove_TargetCameraChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::CustomExperienceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::CustomExperienceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->add_CustomExperienceChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::CustomExperienceChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::CustomExperienceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::CustomExperienceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CustomExperienceChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::CustomExperienceChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::CustomExperienceChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->remove_CustomExperienceChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StartContinuousRotate(double rateInDegreesPerSecond) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StartContinuousRotate(double rateInDegreesPerSecond) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StartContinuousRotate(rateInDegreesPerSecond)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StopContinuousRotate() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StopContinuousRotate() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StopContinuousRotate()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StartContinuousTilt(double rateInDegreesPerSecond) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StartContinuousTilt(double rateInDegreesPerSecond) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StartContinuousTilt(rateInDegreesPerSecond)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StopContinuousTilt() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StopContinuousTilt() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StopContinuousTilt()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StartContinuousZoom(double rateOfChangePerSecond) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StartContinuousZoom(double rateOfChangePerSecond) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StartContinuousZoom(rateOfChangePerSecond)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StopContinuousZoom() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StopContinuousZoom() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StopContinuousZoom()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryRotateAsync(double degrees) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryRotateAsync(double degrees) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TryRotateAsync(degrees, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryRotateToAsync(double angleInDegrees) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryRotateToAsync(double angleInDegrees) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TryRotateToAsync(angleInDegrees, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryTiltAsync(double degrees) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryTiltAsync(double degrees) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TryTiltAsync(degrees, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryTiltToAsync(double angleInDegrees) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryTiltToAsync(double angleInDegrees) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TryTiltToAsync(angleInDegrees, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryZoomInAsync() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryZoomInAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TryZoomInAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryZoomOutAsync() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryZoomOutAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TryZoomOutAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryZoomToAsync(double zoomLevel) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryZoomToAsync(double zoomLevel) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TryZoomToAsync(zoomLevel, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TrySetSceneAsync(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& scene) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TrySetSceneAsync(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& scene) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TrySetSceneAsync(*(void**)(&scene), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TrySetSceneAsync(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& scene, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animationKind) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TrySetSceneAsync(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& scene, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animationKind) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TrySetSceneWithAnimationAsync(*(void**)(&scene), static_cast(animationKind), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl3::MapRightTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl3::MapRightTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl3)->add_MapRightTapped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl3::MapRightTapped_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl3::MapRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl3::MapRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapRightTapped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl3::MapRightTapped(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl3::MapRightTapped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl3)->remove_MapRightTapped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl4::BusinessLandmarksEnabled() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl4::BusinessLandmarksEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl4)->get_BusinessLandmarksEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl4::BusinessLandmarksEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl4::BusinessLandmarksEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl4)->put_BusinessLandmarksEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl4::TransitFeaturesEnabled() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl4::TransitFeaturesEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl4)->get_TransitFeaturesEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl4::TransitFeaturesEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl4::TransitFeaturesEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl4)->put_TransitFeaturesEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_UI_Xaml_Controls_Maps_IMapControl4::GetVisibleRegion(winrt::Windows::UI::Xaml::Controls::Maps::MapVisibleRegionKind const& region) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl4::GetVisibleRegion(winrt::Windows::UI::Xaml::Controls::Maps::MapVisibleRegionKind const& region) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl4)->GetVisibleRegion(static_cast(region), &result)); return winrt::Windows::Devices::Geolocation::Geopath{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapProjection) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::MapProjection() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::MapProjection() const { winrt::Windows::UI::Xaml::Controls::Maps::MapProjection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->get_MapProjection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::MapProjection(winrt::Windows::UI::Xaml::Controls::Maps::MapProjection const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::MapProjection(winrt::Windows::UI::Xaml::Controls::Maps::MapProjection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->put_MapProjection(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::StyleSheet() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::StyleSheet() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->get_StyleSheet(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::StyleSheet(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::StyleSheet(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->put_StyleSheet(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::ViewPadding() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::ViewPadding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->get_ViewPadding(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::ViewPadding(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::ViewPadding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->put_ViewPadding(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::MapContextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::MapContextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->add_MapContextRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::MapContextRequested_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapContextRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::MapContextRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::MapContextRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->remove_MapContextRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::FindMapElementsAtOffset(winrt::Windows::Foundation::Point const& offset, double radius) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::FindMapElementsAtOffset(winrt::Windows::Foundation::Point const& offset, double radius) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->FindMapElementsAtOffsetWithRadius(impl::bind_in(offset), radius, &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::GetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& desiredReferenceSystem, winrt::Windows::Devices::Geolocation::Geopoint& location) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::GetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& desiredReferenceSystem, winrt::Windows::Devices::Geolocation::Geopoint& location) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->GetLocationFromOffsetWithReferenceSystem(impl::bind_in(offset), static_cast(desiredReferenceSystem), impl::bind_out(location))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::StartContinuousPan(double horizontalPixelsPerSecond, double verticalPixelsPerSecond) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::StartContinuousPan(double horizontalPixelsPerSecond, double verticalPixelsPerSecond) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->StartContinuousPan(horizontalPixelsPerSecond, verticalPixelsPerSecond)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::StopContinuousPan() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::StopContinuousPan() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->StopContinuousPan()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::TryPanAsync(double horizontalPixels, double verticalPixels) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::TryPanAsync(double horizontalPixels, double verticalPixels) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->TryPanAsync(horizontalPixels, verticalPixels, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::TryPanToAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::TryPanToAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->TryPanToAsync(*(void**)(&location), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_Maps_IMapControl6::Layers() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl6::Layers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl6)->get_Layers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl6::Layers(param::vector const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl6::Layers(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl6)->put_Layers(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl6::TryGetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::Geopoint& location) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl6::TryGetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::Geopoint& location) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl6)->TryGetLocationFromOffset(impl::bind_in(offset), impl::bind_out(location), &returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl6::TryGetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& desiredReferenceSystem, winrt::Windows::Devices::Geolocation::Geopoint& location) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl6::TryGetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& desiredReferenceSystem, winrt::Windows::Devices::Geolocation::Geopoint& location) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl6)->TryGetLocationFromOffsetWithReferenceSystem(impl::bind_in(offset), static_cast(desiredReferenceSystem), impl::bind_out(location), &returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapControl7::Region() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl7::Region() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl7)->get_Region(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl7::Region(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl7::Region(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl7)->put_Region(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl8::CanTiltDown() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl8::CanTiltDown() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl8)->get_CanTiltDown(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl8::CanTiltUp() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl8::CanTiltUp() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl8)->get_CanTiltUp(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl8::CanZoomIn() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl8::CanZoomIn() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl8)->get_CanZoomIn(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl8::CanZoomOut() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl8::CanZoomOut() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl8)->get_CanZoomOut(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkClickEventArgs::LocalLocations() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkClickEventArgs::LocalLocations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkClickEventArgs)->get_LocalLocations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkPointerEnteredEventArgs::LocalLocations() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkPointerEnteredEventArgs::LocalLocations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkPointerEnteredEventArgs)->get_LocalLocations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkPointerExitedEventArgs::LocalLocations() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkPointerExitedEventArgs::LocalLocations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkPointerExitedEventArgs)->get_LocalLocations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkRightTappedEventArgs::LocalLocations() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkRightTappedEventArgs::LocalLocations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkRightTappedEventArgs)->get_LocalLocations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkClick(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkClick(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper)->add_BusinessLandmarkClick(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkClick_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, BusinessLandmarkClick(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkClick(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper)->remove_BusinessLandmarkClick(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureClick(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureClick(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper)->add_TransitFeatureClick(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureClick_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, TransitFeatureClick(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureClick(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper)->remove_TransitFeatureClick(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkRightTapped(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkRightTapped(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper)->add_BusinessLandmarkRightTapped(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkRightTapped_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, BusinessLandmarkRightTapped(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkRightTapped(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkRightTapped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper)->remove_BusinessLandmarkRightTapped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureRightTapped(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureRightTapped(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper)->add_TransitFeatureRightTapped(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureRightTapped_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, TransitFeatureRightTapped(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureRightTapped(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureRightTapped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper)->remove_TransitFeatureRightTapped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerEntered(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerEntered(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2)->add_BusinessLandmarkPointerEntered(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerEntered_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, BusinessLandmarkPointerEntered(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerEntered(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerEntered(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2)->remove_BusinessLandmarkPointerEntered(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerEntered(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerEntered(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2)->add_TransitFeaturePointerEntered(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerEntered_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, TransitFeaturePointerEntered(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerEntered(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerEntered(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2)->remove_TransitFeaturePointerEntered(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerExited(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerExited(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2)->add_BusinessLandmarkPointerExited(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerExited_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, BusinessLandmarkPointerExited(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerExited(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerExited(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2)->remove_BusinessLandmarkPointerExited(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerExited(winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerExited(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2)->add_TransitFeaturePointerExited(*(void**)(&value), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerExited_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, TransitFeaturePointerExited(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerExited(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerExited(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2)->remove_TransitFeaturePointerExited(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapControlDataHelper) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelperFactory::CreateInstance(winrt::Windows::UI::Xaml::Controls::Maps::MapControl const& map) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelperFactory::CreateInstance(winrt::Windows::UI::Xaml::Controls::Maps::MapControl const& map) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelperFactory)->CreateInstance(*(void**)(&map), &instance)); return winrt::Windows::UI::Xaml::Controls::Maps::MapControlDataHelper{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapControl) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelperStatics::CreateMapControl(bool rasterRenderMode) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelperStatics::CreateMapControl(bool rasterRenderMode) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelperStatics)->CreateMapControl(rasterRenderMode, &returnValue)); return winrt::Windows::UI::Xaml::Controls::Maps::MapControl{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::CenterProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::CenterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_CenterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::ChildrenProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::ChildrenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_ChildrenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::ColorSchemeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::ColorSchemeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_ColorSchemeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::DesiredPitchProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::DesiredPitchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_DesiredPitchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::HeadingProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::HeadingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_HeadingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::LandmarksVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::LandmarksVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_LandmarksVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::LoadingStatusProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::LoadingStatusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_LoadingStatusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::MapServiceTokenProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::MapServiceTokenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_MapServiceTokenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::PedestrianFeaturesVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::PedestrianFeaturesVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_PedestrianFeaturesVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::PitchProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::PitchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_PitchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::StyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::StyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_StyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::TrafficFlowVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::TrafficFlowVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_TrafficFlowVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::TransformOriginProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::TransformOriginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_TransformOriginProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::WatermarkModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::WatermarkModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_WatermarkModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::ZoomLevelProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::ZoomLevelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_ZoomLevelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::MapElementsProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::MapElementsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_MapElementsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::RoutesProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::RoutesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_RoutesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::TileSourcesProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::TileSourcesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_TileSourcesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::LocationProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::LocationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_LocationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::GetLocation(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::GetLocation(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->GetLocation(*(void**)(&element), &result)); return winrt::Windows::Devices::Geolocation::Geopoint{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::SetLocation(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Devices::Geolocation::Geopoint const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::SetLocation(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Devices::Geolocation::Geopoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->SetLocation(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::NormalizedAnchorPointProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::NormalizedAnchorPointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_NormalizedAnchorPointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::GetNormalizedAnchorPoint(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::GetNormalizedAnchorPoint(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->GetNormalizedAnchorPoint(*(void**)(&element), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::SetNormalizedAnchorPoint(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::SetNormalizedAnchorPoint(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->SetNormalizedAnchorPoint(*(void**)(&element), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::BusinessLandmarksVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::BusinessLandmarksVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_BusinessLandmarksVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::TransitFeaturesVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::TransitFeaturesVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_TransitFeaturesVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::PanInteractionModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::PanInteractionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_PanInteractionModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::RotateInteractionModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::RotateInteractionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_RotateInteractionModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::TiltInteractionModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::TiltInteractionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_TiltInteractionModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::ZoomInteractionModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::ZoomInteractionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_ZoomInteractionModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::Is3DSupportedProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::Is3DSupportedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_Is3DSupportedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::IsStreetsideSupportedProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::IsStreetsideSupportedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_IsStreetsideSupportedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::SceneProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::SceneProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_SceneProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics4::BusinessLandmarksEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics4::BusinessLandmarksEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics4)->get_BusinessLandmarksEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics4::TransitFeaturesEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics4::TransitFeaturesEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics4)->get_TransitFeaturesEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics5::MapProjectionProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics5::MapProjectionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics5)->get_MapProjectionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics5::StyleSheetProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics5::StyleSheetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics5)->get_StyleSheetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics5::ViewPaddingProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics5::ViewPaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics5)->get_ViewPaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics6::LayersProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics6::LayersProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics6)->get_LayersProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics7::RegionProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics7::RegionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics7)->get_RegionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8::CanTiltDownProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8::CanTiltDownProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics8)->get_CanTiltDownProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8::CanTiltUpProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8::CanTiltUpProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics8)->get_CanTiltUpProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8::CanZoomInProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8::CanZoomInProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics8)->get_CanZoomInProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8::CanZoomOutProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8::CanZoomOutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics8)->get_CanZoomOutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureClickEventArgs::DisplayName() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureClickEventArgs::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureClickEventArgs)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureClickEventArgs::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureClickEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureClickEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureClickEventArgs::TransitProperties() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureClickEventArgs::TransitProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureClickEventArgs)->get_TransitProperties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerEnteredEventArgs::DisplayName() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerEnteredEventArgs::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerEnteredEventArgs)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerEnteredEventArgs::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerEnteredEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerEnteredEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerEnteredEventArgs::TransitProperties() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerEnteredEventArgs::TransitProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerEnteredEventArgs)->get_TransitProperties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerExitedEventArgs::DisplayName() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerExitedEventArgs::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerExitedEventArgs)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerExitedEventArgs::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerExitedEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerExitedEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerExitedEventArgs::TransitProperties() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerExitedEventArgs::TransitProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerExitedEventArgs)->get_TransitProperties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureRightTappedEventArgs::DisplayName() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureRightTappedEventArgs::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureRightTappedEventArgs)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureRightTappedEventArgs::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureRightTappedEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureRightTappedEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureRightTappedEventArgs::TransitProperties() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureRightTappedEventArgs::TransitProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureRightTappedEventArgs)->get_TransitProperties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperience) consume_Windows_UI_Xaml_Controls_Maps_IMapCustomExperienceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCustomExperienceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCustomExperienceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperience{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapElement::ZIndex() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement::ZIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement)->get_ZIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement::ZIndex(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement::ZIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement)->put_ZIndex(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapElement::Visible() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement::Visible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement)->get_Visible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement::Visible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement::Visible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement)->put_Visible(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapElement2::MapTabIndex() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement2::MapTabIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement2)->get_MapTabIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement2::MapTabIndex(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement2::MapTabIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement2)->put_MapTabIndex(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::MapStyleSheetEntry() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::MapStyleSheetEntry() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3)->get_MapStyleSheetEntry(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::MapStyleSheetEntry(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::MapStyleSheetEntry(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3)->put_MapStyleSheetEntry(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::MapStyleSheetEntryState() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::MapStyleSheetEntryState() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3)->get_MapStyleSheetEntryState(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::MapStyleSheetEntryState(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::MapStyleSheetEntryState(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3)->put_MapStyleSheetEntryState(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::Tag() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::Tag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3)->get_Tag(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::Tag(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::Tag(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3)->put_Tag(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->put_Location(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Model() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Model() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->get_Model(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Model(winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Model(winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->put_Model(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Heading() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Heading() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->get_Heading(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Heading(double value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Heading(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->put_Heading(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Pitch() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Pitch() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->get_Pitch(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Pitch(double value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Pitch(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->put_Pitch(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Roll() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Roll() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->get_Roll(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Roll(double value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Roll(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->put_Roll(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Scale() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Scale() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->get_Scale(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->put_Scale(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics::LocationProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics::LocationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3DStatics)->get_LocationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics::HeadingProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics::HeadingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3DStatics)->get_HeadingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics::PitchProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics::PitchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3DStatics)->get_PitchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics::RollProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics::RollProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3DStatics)->get_RollProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics::ScaleProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics::ScaleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3DStatics)->get_ScaleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapElement4::IsEnabled() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement4::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement4)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement4::IsEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement4::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement4)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapElementClickEventArgs::Position() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementClickEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementClickEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapElementClickEventArgs::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementClickEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementClickEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_Maps_IMapElementClickEventArgs::MapElements() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementClickEventArgs::MapElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementClickEventArgs)->get_MapElements(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElement) consume_Windows_UI_Xaml_Controls_Maps_IMapElementFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerEnteredEventArgs::Position() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerEnteredEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerEnteredEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerEnteredEventArgs::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerEnteredEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerEnteredEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElement) consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerEnteredEventArgs::MapElement() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerEnteredEventArgs::MapElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerEnteredEventArgs)->get_MapElement(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerExitedEventArgs::Position() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerExitedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerExitedEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerExitedEventArgs::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerExitedEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerExitedEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElement) consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerExitedEventArgs::MapElement() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerExitedEventArgs::MapElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerExitedEventArgs)->get_MapElement(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics::ZIndexProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics::ZIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics)->get_ZIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics::VisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics::VisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics)->get_VisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics2::MapTabIndexProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics2::MapTabIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics2)->get_MapTabIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics3::MapStyleSheetEntryProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics3::MapStyleSheetEntryProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics3)->get_MapStyleSheetEntryProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics3::MapStyleSheetEntryStateProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics3::MapStyleSheetEntryStateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics3)->get_MapStyleSheetEntryStateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics3::TagProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics3::TagProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics3)->get_TagProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics4::IsEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics4::IsEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics4)->get_IsEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElements() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->get_MapElements(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElements(param::vector const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElements(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->put_MapElements(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->add_MapElementClick(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementClick_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapElementClick(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementClick(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->remove_MapElementClick(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->add_MapElementPointerEntered(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerEntered_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapElementPointerEntered(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerEntered(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerEntered(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->remove_MapElementPointerEntered(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->add_MapElementPointerExited(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerExited_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapElementPointerExited(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerExited(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerExited(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->remove_MapElementPointerExited(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapContextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapContextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->add_MapContextRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapContextRequested_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapContextRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapContextRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapContextRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->remove_MapContextRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerClickEventArgs::Position() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerClickEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerClickEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerClickEventArgs::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerClickEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerClickEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerClickEventArgs::MapElements() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerClickEventArgs::MapElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerClickEventArgs)->get_MapElements(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerContextRequestedEventArgs::Position() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerContextRequestedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerContextRequestedEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerContextRequestedEventArgs::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerContextRequestedEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerContextRequestedEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerContextRequestedEventArgs::MapElements() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerContextRequestedEventArgs::MapElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerContextRequestedEventArgs)->get_MapElements(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerEnteredEventArgs::Position() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerEnteredEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerEnteredEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerEnteredEventArgs::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerEnteredEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerEnteredEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElement) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerEnteredEventArgs::MapElement() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerEnteredEventArgs::MapElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerEnteredEventArgs)->get_MapElement(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerExitedEventArgs::Position() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerExitedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerExitedEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerExitedEventArgs::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerExitedEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerExitedEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElement) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerExitedEventArgs::MapElement() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerExitedEventArgs::MapElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerExitedEventArgs)->get_MapElement(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerStatics::MapElementsProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerStatics::MapElementsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerStatics)->get_MapElementsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->put_Location(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Title() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Title(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::NormalizedAnchorPoint() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::NormalizedAnchorPoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->get_NormalizedAnchorPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::NormalizedAnchorPoint(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::NormalizedAnchorPoint(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->put_NormalizedAnchorPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Image() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Image() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->get_Image(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->put_Image(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon2::CollisionBehaviorDesired() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon2::CollisionBehaviorDesired() const { winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon2)->get_CollisionBehaviorDesired(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon2::CollisionBehaviorDesired(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon2::CollisionBehaviorDesired(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon2)->put_CollisionBehaviorDesired(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics::LocationProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics::LocationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIconStatics)->get_LocationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics::TitleProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics::TitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIconStatics)->get_TitleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics::NormalizedAnchorPointProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics::NormalizedAnchorPointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIconStatics)->get_NormalizedAnchorPointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics2::CollisionBehaviorDesiredProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics2::CollisionBehaviorDesiredProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIconStatics2)->get_CollisionBehaviorDesiredProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapInputEventArgs::Position() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapInputEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapInputEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapInputEventArgs::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapInputEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapInputEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl::ItemsSource() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl::ItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControl)->get_ItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControl)->put_ItemsSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl::Items() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControl)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl::ItemTemplate() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl::ItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControl)->get_ItemTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControl)->put_ItemTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControlStatics::ItemsSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControlStatics::ItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControlStatics)->get_ItemsSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControlStatics::ItemsProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControlStatics::ItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControlStatics)->get_ItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControlStatics::ItemTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControlStatics::ItemTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControlStatics)->get_ItemTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::MapTabIndex() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::MapTabIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->get_MapTabIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::MapTabIndex(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::MapTabIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->put_MapTabIndex(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::Visible() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::Visible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->get_Visible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::Visible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::Visible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->put_Visible(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::ZIndex() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::ZIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->get_ZIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::ZIndex(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::ZIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->put_ZIndex(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapLayer) consume_Windows_UI_Xaml_Controls_Maps_IMapLayerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapLayer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapLayerStatics::MapTabIndexProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayerStatics::MapTabIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayerStatics)->get_MapTabIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapLayerStatics::VisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayerStatics::VisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayerStatics)->get_VisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapLayerStatics::ZIndexProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayerStatics::ZIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayerStatics)->get_ZIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D) consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapModel3DFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DStatics::CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DStatics::CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapModel3DStatics)->CreateFrom3MFAsync(*(void**)(&source), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DStatics::CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source, winrt::Windows::UI::Xaml::Controls::Maps::MapModel3DShadingOption const& shadingOption) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DStatics::CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source, winrt::Windows::UI::Xaml::Controls::Maps::MapModel3DShadingOption const& shadingOption) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapModel3DStatics)->CreateFrom3MFWithShadingOptionAsync(*(void**)(&source), static_cast(shadingOption), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::Path() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->get_Path(&value)); return winrt::Windows::Devices::Geolocation::Geopath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::Path(winrt::Windows::Devices::Geolocation::Geopath const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::Path(winrt::Windows::Devices::Geolocation::Geopath const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->put_Path(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeColor() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->get_StrokeColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->put_StrokeColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeThickness() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeThickness() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->get_StrokeThickness(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeThickness(double value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeThickness(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->put_StrokeThickness(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeDashed() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeDashed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->get_StrokeDashed(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeDashed(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeDashed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->put_StrokeDashed(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::FillColor() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::FillColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->get_FillColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::FillColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::FillColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->put_FillColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon2::Paths() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon2::Paths() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon2)->get_Paths(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygonStatics::PathProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygonStatics::PathProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygonStatics)->get_PathProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygonStatics::StrokeThicknessProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygonStatics::StrokeThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygonStatics)->get_StrokeThicknessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygonStatics::StrokeDashedProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygonStatics::StrokeDashedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygonStatics)->get_StrokeDashedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::Path() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->get_Path(&value)); return winrt::Windows::Devices::Geolocation::Geopath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::Path(winrt::Windows::Devices::Geolocation::Geopath const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::Path(winrt::Windows::Devices::Geolocation::Geopath const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->put_Path(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeColor() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->get_StrokeColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->put_StrokeColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeThickness() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeThickness() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->get_StrokeThickness(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeThickness(double value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeThickness(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->put_StrokeThickness(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeDashed() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeDashed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->get_StrokeDashed(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeDashed(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeDashed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->put_StrokeDashed(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapPolylineStatics::PathProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolylineStatics::PathProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolylineStatics)->get_PathProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapPolylineStatics::StrokeDashedProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolylineStatics::StrokeDashedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolylineStatics)->get_StrokeDashedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapRightTappedEventArgs::Position() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapRightTappedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapRightTappedEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapRightTappedEventArgs::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapRightTappedEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapRightTappedEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView::RouteColor() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView::RouteColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapRouteView)->get_RouteColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView::RouteColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView::RouteColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapRouteView)->put_RouteColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView::OutlineColor() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView::OutlineColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapRouteView)->get_OutlineColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView::OutlineColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView::OutlineColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapRouteView)->put_OutlineColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRoute) consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView::Route() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView::Route() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapRouteView)->get_Route(&value)); return winrt::Windows::Services::Maps::MapRoute{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapRouteView) consume_Windows_UI_Xaml_Controls_Maps_IMapRouteViewFactory::CreateInstanceWithMapRoute(winrt::Windows::Services::Maps::MapRoute const& route, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteViewFactory::CreateInstanceWithMapRoute(winrt::Windows::Services::Maps::MapRoute const& route, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapRouteViewFactory)->CreateInstanceWithMapRoute(*(void**)(&route), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapRouteView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapScene::TargetCamera() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapScene::TargetCamera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapScene)->get_TargetCamera(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapScene::TargetCameraChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapScene::TargetCameraChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapScene)->add_TargetCameraChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Maps_IMapScene::TargetCameraChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapScene::TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapScene::TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TargetCameraChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapScene::TargetCameraChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapScene::TargetCameraChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapScene)->remove_TargetCameraChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromBoundingBox(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromBoundingBox(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromBoundingBox(*(void**)(&bounds), &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromBoundingBox(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, double headingInDegrees, double pitchInDegrees) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromBoundingBox(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, double headingInDegrees, double pitchInDegrees) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromBoundingBoxWithHeadingAndPitch(*(void**)(&bounds), headingInDegrees, pitchInDegrees, &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromCamera(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera const& camera) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromCamera(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera const& camera) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromCamera(*(void**)(&camera), &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromLocation(*(void**)(&location), &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromLocationWithHeadingAndPitch(*(void**)(&location), headingInDegrees, pitchInDegrees, &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocationAndRadius(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocationAndRadius(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromLocationAndRadius(*(void**)(&location), radiusInMeters, &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocationAndRadius(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters, double headingInDegrees, double pitchInDegrees) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocationAndRadius(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters, double headingInDegrees, double pitchInDegrees) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromLocationAndRadiusWithHeadingAndPitch(*(void**)(&location), radiusInMeters, headingInDegrees, pitchInDegrees, &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocations(param::iterable const& locations) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocations(param::iterable const& locations) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromLocations(*(void**)(&locations), &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocations(param::iterable const& locations, double headingInDegrees, double pitchInDegrees) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocations(param::iterable const& locations, double headingInDegrees, double pitchInDegrees) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromLocationsWithHeadingAndPitch(*(void**)(&locations), headingInDegrees, pitchInDegrees, &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Area() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Area() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Area(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Airport() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Airport() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Airport(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Cemetery() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Cemetery() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Cemetery(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Continent() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Continent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Continent(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Education() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Education() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Education(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::IndigenousPeoplesReserve() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::IndigenousPeoplesReserve() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_IndigenousPeoplesReserve(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Island() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Island() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Island(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Medical() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Medical() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Medical(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Military() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Military() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Military(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Nautical() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Nautical() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Nautical(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Neighborhood() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Neighborhood() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Neighborhood(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Runway() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Runway() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Runway(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Sand() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Sand() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Sand(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::ShoppingCenter() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::ShoppingCenter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_ShoppingCenter(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Stadium() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Stadium() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Stadium(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Vegetation() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Vegetation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Vegetation(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Forest() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Forest() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Forest(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::GolfCourse() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::GolfCourse() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_GolfCourse(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Park() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Park() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Park(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::PlayingField() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::PlayingField() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_PlayingField(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Reserve() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Reserve() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Reserve(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Point() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Point() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Point(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::NaturalPoint() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::NaturalPoint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_NaturalPoint(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Peak() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Peak() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Peak(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::VolcanicPeak() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::VolcanicPeak() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_VolcanicPeak(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::WaterPoint() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::WaterPoint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_WaterPoint(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::PointOfInterest() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::PointOfInterest() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_PointOfInterest(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Business() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Business() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Business(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::FoodPoint() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::FoodPoint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_FoodPoint(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::PopulatedPlace() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::PopulatedPlace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_PopulatedPlace(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Capital() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Capital() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Capital(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::AdminDistrictCapital() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::AdminDistrictCapital() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_AdminDistrictCapital(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::CountryRegionCapital() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::CountryRegionCapital() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_CountryRegionCapital(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::RoadShield() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::RoadShield() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_RoadShield(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::RoadExit() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::RoadExit() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_RoadExit(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Transit() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Transit() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Transit(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Political() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Political() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Political(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::CountryRegion() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::CountryRegion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_CountryRegion(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::AdminDistrict() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::AdminDistrict() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_AdminDistrict(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::District() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::District() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_District(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Structure() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Structure() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Structure(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Building() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Building() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Building(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::EducationBuilding() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::EducationBuilding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_EducationBuilding(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::MedicalBuilding() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::MedicalBuilding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_MedicalBuilding(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::TransitBuilding() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::TransitBuilding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_TransitBuilding(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Transportation() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Transportation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Transportation(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Road() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Road() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Road(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::ControlledAccessHighway() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::ControlledAccessHighway() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_ControlledAccessHighway(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::HighSpeedRamp() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::HighSpeedRamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_HighSpeedRamp(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Highway() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Highway() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Highway(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::MajorRoad() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::MajorRoad() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_MajorRoad(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::ArterialRoad() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::ArterialRoad() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_ArterialRoad(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Street() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Street() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Street(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Ramp() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Ramp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Ramp(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::UnpavedStreet() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::UnpavedStreet() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_UnpavedStreet(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::TollRoad() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::TollRoad() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_TollRoad(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Railway() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Railway() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Railway(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Trail() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Trail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Trail(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::WaterRoute() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::WaterRoute() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_WaterRoute(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Water() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Water() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Water(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::River() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::River() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_River(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::RouteLine() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::RouteLine() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_RouteLine(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::WalkingRoute() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::WalkingRoute() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_WalkingRoute(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::DrivingRoute() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::DrivingRoute() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_DrivingRoute(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntryStatesStatics::Disabled() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntryStatesStatics::Disabled() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntryStatesStatics)->get_Disabled(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntryStatesStatics::Hover() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntryStatesStatics::Hover() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntryStatesStatics)->get_Hover(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntryStatesStatics::Selected() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntryStatesStatics::Selected() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntryStatesStatics)->get_Selected(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::Aerial() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::Aerial() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->Aerial(&result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::AerialWithOverlay() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::AerialWithOverlay() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->AerialWithOverlay(&result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::RoadLight() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::RoadLight() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->RoadLight(&result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::RoadDark() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::RoadDark() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->RoadDark(&result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::RoadHighContrastLight() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::RoadHighContrastLight() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->RoadHighContrastLight(&result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::RoadHighContrastDark() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::RoadHighContrastDark() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->RoadHighContrastDark(&result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::Combine(param::iterable const& styleSheets) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::Combine(param::iterable const& styleSheets) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->Combine(*(void**)(&styleSheets), &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::ParseFromJson(param::hstring const& styleAsJson) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::ParseFromJson(param::hstring const& styleAsJson) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->ParseFromJson(*(void**)(&styleAsJson), &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::TryParseFromJson(param::hstring const& styleAsJson, winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet& styleSheet) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::TryParseFromJson(param::hstring const& styleAsJson, winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet& styleSheet) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->TryParseFromJson(*(void**)(&styleAsJson), impl::bind_out(styleSheet), &returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapTargetCameraChangedEventArgs::Camera() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTargetCameraChangedEventArgs::Camera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTargetCameraChangedEventArgs)->get_Camera(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCameraChangeReason) consume_Windows_UI_Xaml_Controls_Maps_IMapTargetCameraChangedEventArgs2::ChangeReason() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTargetCameraChangedEventArgs2::ChangeReason() const { winrt::Windows::UI::Xaml::Controls::Maps::MapCameraChangeReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTargetCameraChangedEventArgs2)->get_ChangeReason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequest::PixelData() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequest::PixelData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequest)->get_PixelData(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequest::PixelData(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequest::PixelData(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequest)->put_PixelData(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequestDeferral) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequest::GetDeferral() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequest::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequest)->GetDeferral(&result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequestDeferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestDeferral::Complete() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestDeferral)->Complete()); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs::X() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs::X() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs)->get_X(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs::Y() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs::Y() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs)->get_Y(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs::ZoomLevel() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs::ZoomLevel() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs)->get_ZoomLevel(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequest) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs::Request() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs)->get_Request(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs2::FrameIndex() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs2::FrameIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs2)->get_FrameIndex(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource) consume_Windows_UI_Xaml_Controls_Maps_IMapTileDataSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileDataSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileDataSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::DataSource() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::DataSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_DataSource(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::DataSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::DataSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_DataSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileLayer) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Layer() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Layer() const { winrt::Windows::UI::Xaml::Controls::Maps::MapTileLayer value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_Layer(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Layer(winrt::Windows::UI::Xaml::Controls::Maps::MapTileLayer const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Layer(winrt::Windows::UI::Xaml::Controls::Maps::MapTileLayer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_Layer(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::ZoomLevelRange() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::ZoomLevelRange() const { winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_ZoomLevelRange(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::ZoomLevelRange(winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::ZoomLevelRange(winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_ZoomLevelRange(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Bounds() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Bounds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_Bounds(&value)); return winrt::Windows::Devices::Geolocation::GeoboundingBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Bounds(winrt::Windows::Devices::Geolocation::GeoboundingBox const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Bounds(winrt::Windows::Devices::Geolocation::GeoboundingBox const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_Bounds(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::AllowOverstretch() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::AllowOverstretch() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_AllowOverstretch(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::AllowOverstretch(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::AllowOverstretch(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_AllowOverstretch(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsFadingEnabled() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsFadingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_IsFadingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsFadingEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsFadingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_IsFadingEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsTransparencyEnabled() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsTransparencyEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_IsTransparencyEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsTransparencyEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsTransparencyEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_IsTransparencyEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsRetryEnabled() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsRetryEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_IsRetryEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsRetryEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsRetryEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_IsRetryEnabled(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::ZIndex() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::ZIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_ZIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::ZIndex(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::ZIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_ZIndex(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::TilePixelSize() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::TilePixelSize() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_TilePixelSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::TilePixelSize(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::TilePixelSize(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_TilePixelSize(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Visible() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Visible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_Visible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Visible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Visible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_Visible(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileAnimationState) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::AnimationState() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::AnimationState() const { winrt::Windows::UI::Xaml::Controls::Maps::MapTileAnimationState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->get_AnimationState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::AutoPlay() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::AutoPlay() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->get_AutoPlay(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::AutoPlay(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::AutoPlay(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->put_AutoPlay(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::FrameCount() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::FrameCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->get_FrameCount(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::FrameCount(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::FrameCount(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->put_FrameCount(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::FrameDuration() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::FrameDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->get_FrameDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::FrameDuration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::FrameDuration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->put_FrameDuration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::Pause() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->Pause()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::Play() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::Play() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->Play()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::Stop() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory::CreateInstanceWithDataSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory::CreateInstanceWithDataSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceFactory)->CreateInstanceWithDataSource(*(void**)(&dataSource), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory::CreateInstanceWithDataSourceAndZoomRange(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory::CreateInstanceWithDataSourceAndZoomRange(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceFactory)->CreateInstanceWithDataSourceAndZoomRange(*(void**)(&dataSource), impl::bind_in(zoomLevelRange), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory::CreateInstanceWithDataSourceZoomRangeAndBounds(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory::CreateInstanceWithDataSourceZoomRangeAndBounds(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceFactory)->CreateInstanceWithDataSourceZoomRangeAndBounds(*(void**)(&dataSource), impl::bind_in(zoomLevelRange), *(void**)(&bounds), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory::CreateInstanceWithDataSourceZoomRangeBoundsAndTileSize(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, int32_t tileSizeInPixels, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory::CreateInstanceWithDataSourceZoomRangeBoundsAndTileSize(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, int32_t tileSizeInPixels, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceFactory)->CreateInstanceWithDataSourceZoomRangeBoundsAndTileSize(*(void**)(&dataSource), impl::bind_in(zoomLevelRange), *(void**)(&bounds), tileSizeInPixels, *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::DataSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::DataSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_DataSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::LayerProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::LayerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_LayerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::ZoomLevelRangeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::ZoomLevelRangeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_ZoomLevelRangeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::BoundsProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::BoundsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_BoundsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::AllowOverstretchProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::AllowOverstretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_AllowOverstretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::IsFadingEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::IsFadingEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_IsFadingEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::IsTransparencyEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::IsTransparencyEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_IsTransparencyEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::IsRetryEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::IsRetryEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_IsRetryEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::ZIndexProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::ZIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_ZIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::TilePixelSizeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::TilePixelSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_TilePixelSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::VisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::VisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_VisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2::AnimationStateProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2::AnimationStateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics2)->get_AnimationStateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2::AutoPlayProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2::AutoPlayProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics2)->get_AutoPlayProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2::FrameCountProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2::FrameCountProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics2)->get_FrameCountProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2::FrameDurationProperty() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2::FrameDurationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics2)->get_FrameDurationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequest::Uri() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequest::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequest)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequest::Uri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequest::Uri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequest)->put_Uri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestDeferral) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequest::GetDeferral() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequest::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequest)->GetDeferral(&result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestDeferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestDeferral::Complete() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestDeferral)->Complete()); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs::X() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs::X() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs)->get_X(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs::Y() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs::Y() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs)->get_Y(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs::ZoomLevel() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs::ZoomLevel() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs)->get_ZoomLevel(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequest) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs::Request() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs)->get_Request(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs2::FrameIndex() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs2::FrameIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs2)->get_FrameIndex(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::AddressTextVisible() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::AddressTextVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_AddressTextVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::AddressTextVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::AddressTextVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_AddressTextVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::CursorVisible() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::CursorVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_CursorVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::CursorVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::CursorVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_CursorVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::OverviewMapVisible() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::OverviewMapVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_OverviewMapVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::OverviewMapVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::OverviewMapVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_OverviewMapVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::StreetLabelsVisible() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::StreetLabelsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_StreetLabelsVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::StreetLabelsVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::StreetLabelsVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_StreetLabelsVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::ExitButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::ExitButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_ExitButtonVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::ExitButtonVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::ExitButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_ExitButtonVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::ZoomButtonsVisible() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::ZoomButtonsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_ZoomButtonsVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::ZoomButtonsVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::ZoomButtonsVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_ZoomButtonsVisible(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::StreetsideExperience) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperienceFactory::CreateInstanceWithPanorama(winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama const& panorama) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperienceFactory::CreateInstanceWithPanorama(winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama const& panorama) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperienceFactory)->CreateInstanceWithPanorama(*(void**)(&panorama), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::StreetsideExperience{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::StreetsideExperience) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperienceFactory::CreateInstanceWithPanoramaHeadingPitchAndFieldOfView(winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama const& panorama, double headingInDegrees, double pitchInDegrees, double fieldOfViewInDegrees) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperienceFactory::CreateInstanceWithPanoramaHeadingPitchAndFieldOfView(winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama const& panorama, double headingInDegrees, double pitchInDegrees, double fieldOfViewInDegrees) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperienceFactory)->CreateInstanceWithPanoramaHeadingPitchAndFieldOfView(*(void**)(&panorama), headingInDegrees, pitchInDegrees, fieldOfViewInDegrees, &value)); return winrt::Windows::UI::Xaml::Controls::Maps::StreetsideExperience{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanorama::Location() const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanorama::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsidePanorama)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanoramaStatics::FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanoramaStatics::FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsidePanoramaStatics)->FindNearbyWithLocationAsync(*(void**)(&location), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanoramaStatics::FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters) const + template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanoramaStatics::FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsidePanoramaStatics)->FindNearbyWithLocationAndRadiusAsync(*(void**)(&location), radiusInMeters, &operation)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.Primitives.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.Primitives.h index 7183276e..0711a20d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.Primitives.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.Primitives.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Controls_Primitives_H #define WINRT_Windows_UI_Xaml_Controls_Primitives_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.Controls.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -21,3493 +21,3493 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Controls.Primitives.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarButtonTemplateSettings::KeyboardAcceleratorTextMinWidth() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarButtonTemplateSettings::KeyboardAcceleratorTextMinWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarButtonTemplateSettings)->get_KeyboardAcceleratorTextMinWidth(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings::ClipRect() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings::ClipRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings)->get_ClipRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings::CompactVerticalDelta() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings::CompactVerticalDelta() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings)->get_CompactVerticalDelta(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings::CompactRootMargin() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings::CompactRootMargin() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings)->get_CompactRootMargin(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings::MinimalVerticalDelta() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings::MinimalVerticalDelta() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings)->get_MinimalVerticalDelta(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings::MinimalRootMargin() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings::MinimalRootMargin() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings)->get_MinimalRootMargin(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings::HiddenVerticalDelta() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings::HiddenVerticalDelta() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings)->get_HiddenVerticalDelta(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings::HiddenRootMargin() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings::HiddenRootMargin() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings)->get_HiddenRootMargin(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings2::NegativeCompactVerticalDelta() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings2::NegativeCompactVerticalDelta() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings2)->get_NegativeCompactVerticalDelta(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings2::NegativeMinimalVerticalDelta() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings2::NegativeMinimalVerticalDelta() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings2)->get_NegativeMinimalVerticalDelta(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings2::NegativeHiddenVerticalDelta() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings2::NegativeHiddenVerticalDelta() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings2)->get_NegativeHiddenVerticalDelta(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarToggleButtonTemplateSettings::KeyboardAcceleratorTextMinWidth() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarToggleButtonTemplateSettings::KeyboardAcceleratorTextMinWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarToggleButtonTemplateSettings)->get_KeyboardAcceleratorTextMinWidth(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ClickMode) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::ClickMode() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::ClickMode() const { winrt::Windows::UI::Xaml::Controls::ClickMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBase)->get_ClickMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::ClickMode(winrt::Windows::UI::Xaml::Controls::ClickMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::ClickMode(winrt::Windows::UI::Xaml::Controls::ClickMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBase)->put_ClickMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::IsPointerOver() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::IsPointerOver() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBase)->get_IsPointerOver(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::IsPressed() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::IsPressed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBase)->get_IsPressed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::Command() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::Command() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBase)->get_Command(&value)); return winrt::Windows::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBase)->put_Command(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::CommandParameter() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::CommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBase)->get_CommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBase)->put_CommandParameter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::Click(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::Click(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBase)->add_Click(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::Click_revoker consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::Click(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::Click(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, Click(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::Click(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase::Click(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBase)->remove_Click(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ButtonBase) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBaseFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::ButtonBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics::ClickModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics::ClickModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBaseStatics)->get_ClickModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics::IsPointerOverProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics::IsPointerOverProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBaseStatics)->get_IsPointerOverProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics::IsPressedProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics::IsPressedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBaseStatics)->get_IsPressedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics::CommandProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics::CommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBaseStatics)->get_CommandProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics::CommandParameterProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics::CommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBaseStatics)->get_CommandParameterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::MinViewWidth() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::MinViewWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_MinViewWidth(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::HeaderText() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::HeaderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_HeaderText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::WeekDay1() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::WeekDay1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_WeekDay1(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::WeekDay2() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::WeekDay2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_WeekDay2(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::WeekDay3() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::WeekDay3() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_WeekDay3(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::WeekDay4() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::WeekDay4() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_WeekDay4(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::WeekDay5() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::WeekDay5() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_WeekDay5(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::WeekDay6() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::WeekDay6() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_WeekDay6(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::WeekDay7() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::WeekDay7() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_WeekDay7(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::HasMoreContentAfter() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::HasMoreContentAfter() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_HasMoreContentAfter(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::HasMoreContentBefore() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::HasMoreContentBefore() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_HasMoreContentBefore(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::HasMoreViews() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::HasMoreViews() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_HasMoreViews(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::ClipRect() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::ClipRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_ClipRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::CenterX() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::CenterX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_CenterX(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::CenterY() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings::CenterY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_CenterY(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::CanVerticallyScroll() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::CanVerticallyScroll() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_CanVerticallyScroll(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::CanVerticallyScroll(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::CanVerticallyScroll(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->put_CanVerticallyScroll(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::CanHorizontallyScroll() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::CanHorizontallyScroll() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_CanHorizontallyScroll(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::CanHorizontallyScroll(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::CanHorizontallyScroll(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->put_CanHorizontallyScroll(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::ExtentWidth() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::ExtentWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_ExtentWidth(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::ExtentHeight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::ExtentHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_ExtentHeight(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::ViewportWidth() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::ViewportWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_ViewportWidth(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::ViewportHeight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::ViewportHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_ViewportHeight(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::HorizontalOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::HorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_HorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::VerticalOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::VerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_VerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::ScrollOwner() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::ScrollOwner() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_ScrollOwner(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->put_ScrollOwner(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::LineUp() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::LineUp() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->LineUp()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::LineDown() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::LineDown() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->LineDown()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::LineLeft() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::LineLeft() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->LineLeft()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::LineRight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::LineRight() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->LineRight()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::PageUp() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::PageUp() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->PageUp()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::PageDown() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::PageDown() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->PageDown()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::PageLeft() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::PageLeft() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->PageLeft()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::PageRight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::PageRight() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->PageRight()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::MouseWheelUp() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::MouseWheelUp() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->MouseWheelUp()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::MouseWheelDown() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::MouseWheelDown() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->MouseWheelDown()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::MouseWheelLeft() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::MouseWheelLeft() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->MouseWheelLeft()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::MouseWheelRight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::MouseWheelRight() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->MouseWheelRight()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::SetHorizontalOffset(double offset) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::SetHorizontalOffset(double offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->SetHorizontalOffset(offset)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::SetVerticalOffset(double offset) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::SetVerticalOffset(double offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->SetVerticalOffset(offset)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::MakeVisible(winrt::Windows::UI::Xaml::UIElement const& visual, winrt::Windows::Foundation::Rect const& rectangle) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel::MakeVisible(winrt::Windows::UI::Xaml::UIElement const& visual, winrt::Windows::Foundation::Rect const& rectangle) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->MakeVisible(*(void**)(&visual), impl::bind_in(rectangle), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::CarouselPanel) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanelFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanelFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanelFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::CarouselPanel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorPickerHsvChannel) consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSlider::ColorChannel() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSlider::ColorChannel() const { winrt::Windows::UI::Xaml::Controls::ColorPickerHsvChannel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorPickerSlider)->get_ColorChannel(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSlider::ColorChannel(winrt::Windows::UI::Xaml::Controls::ColorPickerHsvChannel const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSlider::ColorChannel(winrt::Windows::UI::Xaml::Controls::ColorPickerHsvChannel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorPickerSlider)->put_ColorChannel(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ColorPickerSlider) consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSliderFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSliderFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorPickerSliderFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::ColorPickerSlider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSliderStatics::ColorChannelProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSliderStatics::ColorChannelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorPickerSliderStatics)->get_ColorChannelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::Color() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::HsvColor() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::HsvColor() const { winrt::Windows::Foundation::Numerics::float4 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_HsvColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::HsvColor(winrt::Windows::Foundation::Numerics::float4 const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::HsvColor(winrt::Windows::Foundation::Numerics::float4 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_HsvColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MinHue() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MinHue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MinHue(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MinHue(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MinHue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MinHue(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxHue() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxHue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MaxHue(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxHue(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxHue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MaxHue(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MinSaturation() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MinSaturation() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MinSaturation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MinSaturation(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MinSaturation(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MinSaturation(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxSaturation() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxSaturation() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MaxSaturation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxSaturation(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxSaturation(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MaxSaturation(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MinValue() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MinValue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MinValue(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MinValue(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MinValue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MinValue(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxValue() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxValue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MaxValue(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxValue(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxValue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MaxValue(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::Shape() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::Shape() const { winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_Shape(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::Shape(winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::Shape(winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_Shape(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::Components() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::Components() const { winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_Components(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::Components(winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::Components(winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_Components(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::ColorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::ColorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->add_ColorChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::ColorChanged_revoker consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::ColorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::ColorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ColorChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::ColorChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum::ColorChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->remove_ColorChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrumFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::ColorProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::ColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_ColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::HsvColorProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::HsvColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_HsvColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MinHueProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MinHueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_MinHueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MaxHueProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MaxHueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_MaxHueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MinSaturationProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MinSaturationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_MinSaturationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MaxSaturationProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MaxSaturationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_MaxSaturationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MinValueProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MinValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_MinValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MaxValueProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MaxValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_MaxValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::ShapeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::ShapeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_ShapeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::ComponentsProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::ComponentsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_ComponentsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings::DropDownOpenedHeight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings::DropDownOpenedHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IComboBoxTemplateSettings)->get_DropDownOpenedHeight(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings::DropDownClosedHeight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings::DropDownClosedHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IComboBoxTemplateSettings)->get_DropDownClosedHeight(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings::DropDownOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings::DropDownOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IComboBoxTemplateSettings)->get_DropDownOffset(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection) consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings::SelectedItemDirection() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings::SelectedItemDirection() const { winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IComboBoxTemplateSettings)->get_SelectedItemDirection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings2::DropDownContentMinWidth() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings2::DropDownContentMinWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IComboBoxTemplateSettings2)->get_DropDownContentMinWidth(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::CommandBarFlyoutCommandBarTemplateSettings) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBar::FlyoutTemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBar::FlyoutTemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBar)->get_FlyoutTemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::CommandBarFlyoutCommandBarTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::CommandBarFlyoutCommandBar) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::CommandBarFlyoutCommandBar{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::OpenAnimationStartPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::OpenAnimationStartPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_OpenAnimationStartPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::OpenAnimationEndPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::OpenAnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_OpenAnimationEndPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::CloseAnimationEndPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::CloseAnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_CloseAnimationEndPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::CurrentWidth() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::CurrentWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_CurrentWidth(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandedWidth() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandedWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandedWidth(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::WidthExpansionDelta() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::WidthExpansionDelta() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_WidthExpansionDelta(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::WidthExpansionAnimationStartPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::WidthExpansionAnimationStartPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_WidthExpansionAnimationStartPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::WidthExpansionAnimationEndPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::WidthExpansionAnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_WidthExpansionAnimationEndPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::WidthExpansionMoreButtonAnimationStartPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::WidthExpansionMoreButtonAnimationStartPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_WidthExpansionMoreButtonAnimationStartPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::WidthExpansionMoreButtonAnimationEndPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::WidthExpansionMoreButtonAnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_WidthExpansionMoreButtonAnimationEndPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandUpOverflowVerticalPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandUpOverflowVerticalPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandUpOverflowVerticalPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandDownOverflowVerticalPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandDownOverflowVerticalPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandDownOverflowVerticalPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandUpAnimationStartPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandUpAnimationStartPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandUpAnimationStartPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandUpAnimationEndPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandUpAnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandUpAnimationEndPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandUpAnimationHoldPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandUpAnimationHoldPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandUpAnimationHoldPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandDownAnimationStartPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandDownAnimationStartPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandDownAnimationStartPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandDownAnimationEndPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandDownAnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandDownAnimationEndPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandDownAnimationHoldPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandDownAnimationHoldPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandDownAnimationHoldPosition(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ContentClipRect() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ContentClipRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ContentClipRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::OverflowContentClipRect() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::OverflowContentClipRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_OverflowContentClipRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings::ContentHeight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings::ContentHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings)->get_ContentHeight(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings::OverflowContentClipRect() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings::OverflowContentClipRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings)->get_OverflowContentClipRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings::OverflowContentMinWidth() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings::OverflowContentMinWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings)->get_OverflowContentMinWidth(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings::OverflowContentMaxHeight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings::OverflowContentMaxHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings)->get_OverflowContentMaxHeight(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings::OverflowContentHorizontalOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings::OverflowContentHorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings)->get_OverflowContentHorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings::OverflowContentHeight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings::OverflowContentHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings)->get_OverflowContentHeight(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings::NegativeOverflowContentHeight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings::NegativeOverflowContentHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings)->get_NegativeOverflowContentHeight(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings2::OverflowContentMaxWidth() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings2::OverflowContentMaxWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings2)->get_OverflowContentMaxWidth(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings3::EffectiveOverflowButtonVisibility() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings3::EffectiveOverflowButtonVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings3)->get_EffectiveOverflowButtonVisibility(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings4::OverflowContentCompactYTranslation() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings4::OverflowContentCompactYTranslation() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings4)->get_OverflowContentCompactYTranslation(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings4::OverflowContentMinimalYTranslation() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings4::OverflowContentMinimalYTranslation() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings4)->get_OverflowContentMinimalYTranslation(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings4::OverflowContentHiddenYTranslation() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings4::OverflowContentHiddenYTranslation() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings4)->get_OverflowContentHiddenYTranslation(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgs::HorizontalChange() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgs::HorizontalChange() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragCompletedEventArgs)->get_HorizontalChange(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgs::VerticalChange() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgs::VerticalChange() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragCompletedEventArgs)->get_VerticalChange(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgs::Canceled() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgs::Canceled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragCompletedEventArgs)->get_Canceled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::DragCompletedEventArgs) consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgsFactory::CreateInstanceWithHorizontalChangeVerticalChangeAndCanceled(double horizontalChange, double verticalChange, bool canceled, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgsFactory::CreateInstanceWithHorizontalChangeVerticalChangeAndCanceled(double horizontalChange, double verticalChange, bool canceled, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragCompletedEventArgsFactory)->CreateInstanceWithHorizontalChangeVerticalChangeAndCanceled(horizontalChange, verticalChange, canceled, *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::DragCompletedEventArgs{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IDragDeltaEventArgs::HorizontalChange() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IDragDeltaEventArgs::HorizontalChange() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragDeltaEventArgs)->get_HorizontalChange(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IDragDeltaEventArgs::VerticalChange() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IDragDeltaEventArgs::VerticalChange() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragDeltaEventArgs)->get_VerticalChange(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::DragDeltaEventArgs) consume_Windows_UI_Xaml_Controls_Primitives_IDragDeltaEventArgsFactory::CreateInstanceWithHorizontalChangeAndVerticalChange(double horizontalChange, double verticalChange, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IDragDeltaEventArgsFactory::CreateInstanceWithHorizontalChangeAndVerticalChange(double horizontalChange, double verticalChange, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragDeltaEventArgsFactory)->CreateInstanceWithHorizontalChangeAndVerticalChange(horizontalChange, verticalChange, *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::DragDeltaEventArgs{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IDragStartedEventArgs::HorizontalOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IDragStartedEventArgs::HorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragStartedEventArgs)->get_HorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IDragStartedEventArgs::VerticalOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IDragStartedEventArgs::VerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragStartedEventArgs)->get_VerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::DragStartedEventArgs) consume_Windows_UI_Xaml_Controls_Primitives_IDragStartedEventArgsFactory::CreateInstanceWithHorizontalOffsetAndVerticalOffset(double horizontalOffset, double verticalOffset, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IDragStartedEventArgsFactory::CreateInstanceWithHorizontalOffsetAndVerticalOffset(double horizontalOffset, double verticalOffset, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragStartedEventArgsFactory)->CreateInstanceWithHorizontalOffsetAndVerticalOffset(horizontalOffset, verticalOffset, *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::DragStartedEventArgs{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Placement() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Placement() const { winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase)->get_Placement(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Placement(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Placement(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase)->put_Placement(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Opened(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Opened(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase)->add_Opened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Opened_revoker consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Opened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Opened(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Opened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase)->remove_Opened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Closed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Closed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Closed_revoker consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Opening(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Opening(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase)->add_Opening(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Opening_revoker consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Opening(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Opening(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Opening(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Opening(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Opening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase)->remove_Opening(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::ShowAt(winrt::Windows::UI::Xaml::FrameworkElement const& placementTarget) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::ShowAt(winrt::Windows::UI::Xaml::FrameworkElement const& placementTarget) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase)->ShowAt(*(void**)(&placementTarget))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Hide() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase::Hide() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase)->Hide()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FrameworkElement) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::Target() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::Target() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2)->get_Target(&value)); return winrt::Windows::UI::Xaml::FrameworkElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::AllowFocusOnInteraction() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::AllowFocusOnInteraction() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2)->get_AllowFocusOnInteraction(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::AllowFocusOnInteraction(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::AllowFocusOnInteraction(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2)->put_AllowFocusOnInteraction(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::LightDismissOverlayMode() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::LightDismissOverlayMode() const { winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2)->get_LightDismissOverlayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2)->put_LightDismissOverlayMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::AllowFocusWhenDisabled() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::AllowFocusWhenDisabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2)->get_AllowFocusWhenDisabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::AllowFocusWhenDisabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::AllowFocusWhenDisabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2)->put_AllowFocusWhenDisabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSoundMode) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::ElementSoundMode() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::ElementSoundMode() const { winrt::Windows::UI::Xaml::ElementSoundMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2)->get_ElementSoundMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2)->put_ElementSoundMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2)->add_Closing(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::Closing_revoker consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closing(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::Closing(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2::Closing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2)->remove_Closing(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase3::OverlayInputPassThroughElement() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase3::OverlayInputPassThroughElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase3)->get_OverlayInputPassThroughElement(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase3::OverlayInputPassThroughElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase3::OverlayInputPassThroughElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase3)->put_OverlayInputPassThroughElement(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase4::TryInvokeKeyboardAccelerator(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase4::TryInvokeKeyboardAccelerator(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase4)->TryInvokeKeyboardAccelerator(*(void**)(&args))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5::ShowMode() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5::ShowMode() const { winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase5)->get_ShowMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5::ShowMode(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5::ShowMode(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase5)->put_ShowMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5::InputDevicePrefersPrimaryCommands() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5::InputDevicePrefersPrimaryCommands() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase5)->get_InputDevicePrefersPrimaryCommands(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5::AreOpenCloseAnimationsEnabled() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5::AreOpenCloseAnimationsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase5)->get_AreOpenCloseAnimationsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5::AreOpenCloseAnimationsEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5::AreOpenCloseAnimationsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase5)->put_AreOpenCloseAnimationsEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5::IsOpen() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5::IsOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase5)->get_IsOpen(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5::ShowAt(winrt::Windows::UI::Xaml::DependencyObject const& placementTarget, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowOptions const& showOptions) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5::ShowAt(winrt::Windows::UI::Xaml::DependencyObject const& placementTarget, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowOptions const& showOptions) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase5)->ShowAt(*(void**)(&placementTarget), *(void**)(&showOptions))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6::ShouldConstrainToRootBounds() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6::ShouldConstrainToRootBounds() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase6)->get_ShouldConstrainToRootBounds(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6::ShouldConstrainToRootBounds(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6::ShouldConstrainToRootBounds(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase6)->put_ShouldConstrainToRootBounds(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6::IsConstrainedToRootBounds() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6::IsConstrainedToRootBounds() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase6)->get_IsConstrainedToRootBounds(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::XamlRoot) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6::XamlRoot() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6::XamlRoot() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase6)->get_XamlRoot(&value)); return winrt::Windows::UI::Xaml::XamlRoot{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6::XamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6::XamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase6)->put_XamlRoot(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseClosingEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseClosingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseClosingEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseClosingEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseClosingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseClosingEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Control) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseOverrides::CreatePresenter() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseOverrides::CreatePresenter() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseOverrides)->CreatePresenter(&result)); return winrt::Windows::UI::Xaml::Controls::Control{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseOverrides4::OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseOverrides4::OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseOverrides4)->OnProcessKeyboardAccelerators(*(void**)(&args))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics::PlacementProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics::PlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics)->get_PlacementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics::AttachedFlyoutProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics::AttachedFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics)->get_AttachedFlyoutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics::GetAttachedFlyout(winrt::Windows::UI::Xaml::FrameworkElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics::GetAttachedFlyout(winrt::Windows::UI::Xaml::FrameworkElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics)->GetAttachedFlyout(*(void**)(&element), &result)); return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics::SetAttachedFlyout(winrt::Windows::UI::Xaml::FrameworkElement const& element, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics::SetAttachedFlyout(winrt::Windows::UI::Xaml::FrameworkElement const& element, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics)->SetAttachedFlyout(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics::ShowAttachedFlyout(winrt::Windows::UI::Xaml::FrameworkElement const& flyoutOwner) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics::ShowAttachedFlyout(winrt::Windows::UI::Xaml::FrameworkElement const& flyoutOwner) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics)->ShowAttachedFlyout(*(void**)(&flyoutOwner))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2::AllowFocusOnInteractionProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2::AllowFocusOnInteractionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics2)->get_AllowFocusOnInteractionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2::LightDismissOverlayModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2::LightDismissOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics2)->get_LightDismissOverlayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2::AllowFocusWhenDisabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2::AllowFocusWhenDisabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics2)->get_AllowFocusWhenDisabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2::ElementSoundModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2::ElementSoundModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics2)->get_ElementSoundModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics3::OverlayInputPassThroughElementProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics3::OverlayInputPassThroughElementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics3)->get_OverlayInputPassThroughElementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5::TargetProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5::TargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics5)->get_TargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5::ShowModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5::ShowModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics5)->get_ShowModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5::InputDevicePrefersPrimaryCommandsProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5::InputDevicePrefersPrimaryCommandsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics5)->get_InputDevicePrefersPrimaryCommandsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5::AreOpenCloseAnimationsEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5::AreOpenCloseAnimationsEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics5)->get_AreOpenCloseAnimationsEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5::IsOpenProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5::IsOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics5)->get_IsOpenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics6::ShouldConstrainToRootBoundsProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics6::ShouldConstrainToRootBoundsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics6)->get_ShouldConstrainToRootBoundsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions::Position() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions::Position() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutShowOptions)->get_Position(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions::Position(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions::Position(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutShowOptions)->put_Position(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions::ExclusionRect() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions::ExclusionRect() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutShowOptions)->get_ExclusionRect(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions::ExclusionRect(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions::ExclusionRect(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutShowOptions)->put_ExclusionRect(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions::ShowMode() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions::ShowMode() const { winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutShowOptions)->get_ShowMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions::ShowMode(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions::ShowMode(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutShowOptions)->put_ShowMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions::Placement() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions::Placement() const { winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutShowOptions)->get_Placement(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions::Placement(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions::Placement(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutShowOptions)->put_Placement(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowOptions) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptionsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptionsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutShowOptionsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowOptions{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition) consume_Windows_UI_Xaml_Controls_Primitives_IGeneratorPositionHelperStatics::FromIndexAndOffset(int32_t index, int32_t offset) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGeneratorPositionHelperStatics::FromIndexAndOffset(int32_t index, int32_t offset) const { winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGeneratorPositionHelperStatics)->FromIndexAndOffset(index, offset, put_abi(result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectionCheckMarkVisualEnabled() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectionCheckMarkVisualEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_SelectionCheckMarkVisualEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectionCheckMarkVisualEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectionCheckMarkVisualEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_SelectionCheckMarkVisualEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::CheckHintBrush() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::CheckHintBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_CheckHintBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::CheckHintBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::CheckHintBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_CheckHintBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::CheckSelectingBrush() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::CheckSelectingBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_CheckSelectingBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::CheckSelectingBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::CheckSelectingBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_CheckSelectingBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::CheckBrush() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::CheckBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_CheckBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::CheckBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::CheckBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_CheckBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::DragBackground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::DragBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_DragBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::DragBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::DragBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_DragBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::DragForeground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::DragForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_DragForeground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::DragForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::DragForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_DragForeground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::FocusBorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::FocusBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_FocusBorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::FocusBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::FocusBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_FocusBorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::PlaceholderBackground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::PlaceholderBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_PlaceholderBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::PlaceholderBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::PlaceholderBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_PlaceholderBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::PointerOverBackground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::PointerOverBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_PointerOverBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::PointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::PointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_PointerOverBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedBackground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_SelectedBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_SelectedBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedForeground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_SelectedForeground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_SelectedForeground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedPointerOverBackground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedPointerOverBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_SelectedPointerOverBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedPointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedPointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_SelectedPointerOverBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedPointerOverBorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedPointerOverBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_SelectedPointerOverBorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedPointerOverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedPointerOverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_SelectedPointerOverBorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedBorderThickness() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedBorderThickness() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_SelectedBorderThickness(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::SelectedBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_SelectedBorderThickness(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::DisabledOpacity() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::DisabledOpacity() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_DisabledOpacity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::DisabledOpacity(double value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::DisabledOpacity(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_DisabledOpacity(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::DragOpacity() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::DragOpacity() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_DragOpacity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::DragOpacity(double value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::DragOpacity(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_DragOpacity(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::ReorderHintOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::ReorderHintOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_ReorderHintOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::ReorderHintOffset(double value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::ReorderHintOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_ReorderHintOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::GridViewItemPresenterHorizontalContentAlignment() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::GridViewItemPresenterHorizontalContentAlignment() const { winrt::Windows::UI::Xaml::HorizontalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_GridViewItemPresenterHorizontalContentAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::GridViewItemPresenterHorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::GridViewItemPresenterHorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_GridViewItemPresenterHorizontalContentAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::GridViewItemPresenterVerticalContentAlignment() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::GridViewItemPresenterVerticalContentAlignment() const { winrt::Windows::UI::Xaml::VerticalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_GridViewItemPresenterVerticalContentAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::GridViewItemPresenterVerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::GridViewItemPresenterVerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_GridViewItemPresenterVerticalContentAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::GridViewItemPresenterPadding() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::GridViewItemPresenterPadding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_GridViewItemPresenterPadding(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::GridViewItemPresenterPadding(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::GridViewItemPresenterPadding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_GridViewItemPresenterPadding(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::PointerOverBackgroundMargin() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::PointerOverBackgroundMargin() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_PointerOverBackgroundMargin(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::PointerOverBackgroundMargin(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::PointerOverBackgroundMargin(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_PointerOverBackgroundMargin(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::ContentMargin() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::ContentMargin() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_ContentMargin(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::ContentMargin(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter::ContentMargin(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_ContentMargin(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GridViewItemPresenter) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::GridViewItemPresenter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::SelectionCheckMarkVisualEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::SelectionCheckMarkVisualEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_SelectionCheckMarkVisualEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::CheckHintBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::CheckHintBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_CheckHintBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::CheckSelectingBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::CheckSelectingBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_CheckSelectingBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::CheckBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::CheckBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_CheckBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::DragBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::DragBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_DragBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::DragForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::DragForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_DragForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::FocusBorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::FocusBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_FocusBorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::PlaceholderBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::PlaceholderBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_PlaceholderBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::PointerOverBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::PointerOverBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_PointerOverBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::SelectedBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::SelectedBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_SelectedBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::SelectedForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::SelectedForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_SelectedForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::SelectedPointerOverBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::SelectedPointerOverBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_SelectedPointerOverBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::SelectedPointerOverBorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::SelectedPointerOverBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_SelectedPointerOverBorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::SelectedBorderThicknessProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::SelectedBorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_SelectedBorderThicknessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::DisabledOpacityProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::DisabledOpacityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_DisabledOpacityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::DragOpacityProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::DragOpacityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_DragOpacityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::ReorderHintOffsetProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::ReorderHintOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_ReorderHintOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::GridViewItemPresenterHorizontalContentAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::GridViewItemPresenterHorizontalContentAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_GridViewItemPresenterHorizontalContentAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::GridViewItemPresenterVerticalContentAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::GridViewItemPresenterVerticalContentAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_GridViewItemPresenterVerticalContentAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::GridViewItemPresenterPaddingProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::GridViewItemPresenterPaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_GridViewItemPresenterPaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::PointerOverBackgroundMarginProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::PointerOverBackgroundMarginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_PointerOverBackgroundMarginProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::ContentMarginProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics::ContentMarginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics)->get_ContentMarginProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemTemplateSettings::DragItemsCount() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemTemplateSettings::DragItemsCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemTemplateSettings)->get_DragItemsCount(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs::Action() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs::Action() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IItemsChangedEventArgs)->get_Action(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition) consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs::Position() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs::Position() const { winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IItemsChangedEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition) consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs::OldPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs::OldPosition() const { winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IItemsChangedEventArgs)->get_OldPosition(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs::ItemCount() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs::ItemCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IItemsChangedEventArgs)->get_ItemCount(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs::ItemUICount() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs::ItemUICount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IItemsChangedEventArgs)->get_ItemUICount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter::Enabled() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter::Enabled() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IJumpListItemBackgroundConverter)->get_Enabled(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter::Enabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter::Enabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IJumpListItemBackgroundConverter)->put_Enabled(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter::Disabled() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter::Disabled() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IJumpListItemBackgroundConverter)->get_Disabled(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter::Disabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter::Disabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IJumpListItemBackgroundConverter)->put_Disabled(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverterStatics::EnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverterStatics::EnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IJumpListItemBackgroundConverterStatics)->get_EnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverterStatics::DisabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverterStatics::DisabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IJumpListItemBackgroundConverterStatics)->get_DisabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter::Enabled() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter::Enabled() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IJumpListItemForegroundConverter)->get_Enabled(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter::Enabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter::Enabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IJumpListItemForegroundConverter)->put_Enabled(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter::Disabled() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter::Disabled() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IJumpListItemForegroundConverter)->get_Disabled(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter::Disabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter::Disabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IJumpListItemForegroundConverter)->put_Disabled(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverterStatics::EnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverterStatics::EnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IJumpListItemForegroundConverterStatics)->get_EnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverterStatics::DisabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverterStatics::DisabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IJumpListItemForegroundConverterStatics)->get_DisabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_Primitives_ILayoutInformationStatics::GetLayoutExceptionElement(winrt::Windows::Foundation::IInspectable const& dispatcher) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILayoutInformationStatics::GetLayoutExceptionElement(winrt::Windows::Foundation::IInspectable const& dispatcher) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILayoutInformationStatics)->GetLayoutExceptionElement(*(void**)(&dispatcher), &result)); return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_Primitives_ILayoutInformationStatics::GetLayoutSlot(winrt::Windows::UI::Xaml::FrameworkElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILayoutInformationStatics::GetLayoutSlot(winrt::Windows::UI::Xaml::FrameworkElement const& element) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILayoutInformationStatics)->GetLayoutSlot(*(void**)(&element), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_Controls_Primitives_ILayoutInformationStatics2::GetAvailableSize(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILayoutInformationStatics2::GetAvailableSize(winrt::Windows::UI::Xaml::UIElement const& element) const { winrt::Windows::Foundation::Size result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILayoutInformationStatics2)->GetAvailableSize(*(void**)(&element), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectionCheckMarkVisualEnabled() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectionCheckMarkVisualEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_SelectionCheckMarkVisualEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectionCheckMarkVisualEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectionCheckMarkVisualEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_SelectionCheckMarkVisualEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::CheckHintBrush() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::CheckHintBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_CheckHintBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::CheckHintBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::CheckHintBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_CheckHintBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::CheckSelectingBrush() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::CheckSelectingBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_CheckSelectingBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::CheckSelectingBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::CheckSelectingBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_CheckSelectingBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::CheckBrush() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::CheckBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_CheckBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::CheckBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::CheckBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_CheckBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::DragBackground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::DragBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_DragBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::DragBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::DragBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_DragBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::DragForeground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::DragForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_DragForeground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::DragForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::DragForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_DragForeground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::FocusBorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::FocusBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_FocusBorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::FocusBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::FocusBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_FocusBorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::PlaceholderBackground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::PlaceholderBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_PlaceholderBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::PlaceholderBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::PlaceholderBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_PlaceholderBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::PointerOverBackground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::PointerOverBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_PointerOverBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::PointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::PointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_PointerOverBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedBackground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_SelectedBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_SelectedBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedForeground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_SelectedForeground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_SelectedForeground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedPointerOverBackground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedPointerOverBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_SelectedPointerOverBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedPointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedPointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_SelectedPointerOverBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedPointerOverBorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedPointerOverBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_SelectedPointerOverBorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedPointerOverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedPointerOverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_SelectedPointerOverBorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedBorderThickness() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedBorderThickness() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_SelectedBorderThickness(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::SelectedBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_SelectedBorderThickness(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::DisabledOpacity() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::DisabledOpacity() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_DisabledOpacity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::DisabledOpacity(double value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::DisabledOpacity(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_DisabledOpacity(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::DragOpacity() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::DragOpacity() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_DragOpacity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::DragOpacity(double value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::DragOpacity(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_DragOpacity(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ReorderHintOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ReorderHintOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_ReorderHintOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ReorderHintOffset(double value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ReorderHintOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_ReorderHintOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ListViewItemPresenterHorizontalContentAlignment() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ListViewItemPresenterHorizontalContentAlignment() const { winrt::Windows::UI::Xaml::HorizontalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_ListViewItemPresenterHorizontalContentAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ListViewItemPresenterHorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ListViewItemPresenterHorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_ListViewItemPresenterHorizontalContentAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ListViewItemPresenterVerticalContentAlignment() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ListViewItemPresenterVerticalContentAlignment() const { winrt::Windows::UI::Xaml::VerticalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_ListViewItemPresenterVerticalContentAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ListViewItemPresenterVerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ListViewItemPresenterVerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_ListViewItemPresenterVerticalContentAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ListViewItemPresenterPadding() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ListViewItemPresenterPadding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_ListViewItemPresenterPadding(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ListViewItemPresenterPadding(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ListViewItemPresenterPadding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_ListViewItemPresenterPadding(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::PointerOverBackgroundMargin() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::PointerOverBackgroundMargin() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_PointerOverBackgroundMargin(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::PointerOverBackgroundMargin(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::PointerOverBackgroundMargin(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_PointerOverBackgroundMargin(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ContentMargin() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ContentMargin() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_ContentMargin(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ContentMargin(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter::ContentMargin(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_ContentMargin(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::SelectedPressedBackground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::SelectedPressedBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter2)->get_SelectedPressedBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::SelectedPressedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::SelectedPressedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter2)->put_SelectedPressedBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::PressedBackground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::PressedBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter2)->get_PressedBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::PressedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::PressedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter2)->put_PressedBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::CheckBoxBrush() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::CheckBoxBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter2)->get_CheckBoxBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::CheckBoxBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::CheckBoxBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter2)->put_CheckBoxBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::FocusSecondaryBorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::FocusSecondaryBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter2)->get_FocusSecondaryBorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::FocusSecondaryBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::FocusSecondaryBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter2)->put_FocusSecondaryBorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemPresenterCheckMode) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::CheckMode() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::CheckMode() const { winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemPresenterCheckMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter2)->get_CheckMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::CheckMode(winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemPresenterCheckMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::CheckMode(winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemPresenterCheckMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter2)->put_CheckMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::PointerOverForeground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::PointerOverForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter2)->get_PointerOverForeground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::PointerOverForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2::PointerOverForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter2)->put_PointerOverForeground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3::RevealBackground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3::RevealBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter3)->get_RevealBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3::RevealBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3::RevealBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter3)->put_RevealBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3::RevealBorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3::RevealBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter3)->get_RevealBorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3::RevealBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3::RevealBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter3)->put_RevealBorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3::RevealBorderThickness() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3::RevealBorderThickness() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter3)->get_RevealBorderThickness(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3::RevealBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3::RevealBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter3)->put_RevealBorderThickness(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3::RevealBackgroundShowsAboveContent() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3::RevealBackgroundShowsAboveContent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter3)->get_RevealBackgroundShowsAboveContent(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3::RevealBackgroundShowsAboveContent(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3::RevealBackgroundShowsAboveContent(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter3)->put_RevealBackgroundShowsAboveContent(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemPresenter) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemPresenter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::SelectionCheckMarkVisualEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::SelectionCheckMarkVisualEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_SelectionCheckMarkVisualEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::CheckHintBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::CheckHintBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_CheckHintBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::CheckSelectingBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::CheckSelectingBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_CheckSelectingBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::CheckBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::CheckBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_CheckBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::DragBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::DragBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_DragBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::DragForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::DragForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_DragForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::FocusBorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::FocusBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_FocusBorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::PlaceholderBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::PlaceholderBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_PlaceholderBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::PointerOverBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::PointerOverBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_PointerOverBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::SelectedBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::SelectedBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_SelectedBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::SelectedForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::SelectedForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_SelectedForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::SelectedPointerOverBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::SelectedPointerOverBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_SelectedPointerOverBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::SelectedPointerOverBorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::SelectedPointerOverBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_SelectedPointerOverBorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::SelectedBorderThicknessProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::SelectedBorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_SelectedBorderThicknessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::DisabledOpacityProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::DisabledOpacityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_DisabledOpacityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::DragOpacityProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::DragOpacityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_DragOpacityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::ReorderHintOffsetProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::ReorderHintOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_ReorderHintOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::ListViewItemPresenterHorizontalContentAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::ListViewItemPresenterHorizontalContentAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_ListViewItemPresenterHorizontalContentAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::ListViewItemPresenterVerticalContentAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::ListViewItemPresenterVerticalContentAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_ListViewItemPresenterVerticalContentAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::ListViewItemPresenterPaddingProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::ListViewItemPresenterPaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_ListViewItemPresenterPaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::PointerOverBackgroundMarginProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::PointerOverBackgroundMarginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_PointerOverBackgroundMarginProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::ContentMarginProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics::ContentMarginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics)->get_ContentMarginProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2::SelectedPressedBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2::SelectedPressedBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics2)->get_SelectedPressedBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2::PressedBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2::PressedBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics2)->get_PressedBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2::CheckBoxBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2::CheckBoxBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics2)->get_CheckBoxBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2::FocusSecondaryBorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2::FocusSecondaryBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics2)->get_FocusSecondaryBorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2::CheckModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2::CheckModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics2)->get_CheckModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2::PointerOverForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2::PointerOverForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics2)->get_PointerOverForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3::RevealBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3::RevealBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics3)->get_RevealBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3::RevealBorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3::RevealBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics3)->get_RevealBorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3::RevealBorderThicknessProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3::RevealBorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics3)->get_RevealBorderThicknessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3::RevealBackgroundShowsAboveContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3::RevealBackgroundShowsAboveContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics3)->get_RevealBackgroundShowsAboveContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemTemplateSettings::DragItemsCount() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemTemplateSettings::DragItemsCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemTemplateSettings)->get_DragItemsCount(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::ShouldLoop() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::ShouldLoop() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->get_ShouldLoop(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::ShouldLoop(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::ShouldLoop(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->put_ShouldLoop(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::Items() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::Items(param::vector const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::Items(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->put_Items(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::SelectedIndex() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::SelectedIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->get_SelectedIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::SelectedIndex(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::SelectedIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->put_SelectedIndex(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::SelectedItem() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->get_SelectedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->put_SelectedItem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::ItemWidth() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::ItemWidth() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->get_ItemWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::ItemWidth(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::ItemWidth(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->put_ItemWidth(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::ItemHeight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::ItemHeight() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->get_ItemHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::ItemHeight(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::ItemHeight(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->put_ItemHeight(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::ItemTemplate() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::ItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->get_ItemTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->put_ItemTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::SelectionChanged_revoker consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::SelectionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->remove_SelectionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics::ShouldLoopProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics::ShouldLoopProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelectorStatics)->get_ShouldLoopProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics::ItemsProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics::ItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelectorStatics)->get_ItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics::SelectedIndexProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics::SelectedIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelectorStatics)->get_SelectedIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics::SelectedItemProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics::SelectedItemProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelectorStatics)->get_SelectedItemProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics::ItemWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics::ItemWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelectorStatics)->get_ItemWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics::ItemHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics::ItemHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelectorStatics)->get_ItemHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics::ItemTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics::ItemTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelectorStatics)->get_ItemTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IMenuFlyoutItemTemplateSettings::KeyboardAcceleratorTextMinWidth() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IMenuFlyoutItemTemplateSettings::KeyboardAcceleratorTextMinWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IMenuFlyoutItemTemplateSettings)->get_KeyboardAcceleratorTextMinWidth(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IMenuFlyoutPresenterTemplateSettings::FlyoutContentMinWidth() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IMenuFlyoutPresenterTemplateSettings::FlyoutContentMinWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IMenuFlyoutPresenterTemplateSettings)->get_FlyoutContentMinWidth(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenter::Icon() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenter::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::INavigationViewItemPresenter)->get_Icon(&value)); return winrt::Windows::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenter::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenter::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::INavigationViewItemPresenter)->put_Icon(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::NavigationViewItemPresenter) consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::INavigationViewItemPresenterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::NavigationViewItemPresenter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterStatics::IconProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterStatics::IconProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::INavigationViewItemPresenterStatics)->get_IconProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::CanVerticallyScroll() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::CanVerticallyScroll() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_CanVerticallyScroll(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::CanVerticallyScroll(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::CanVerticallyScroll(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->put_CanVerticallyScroll(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::CanHorizontallyScroll() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::CanHorizontallyScroll() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_CanHorizontallyScroll(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::CanHorizontallyScroll(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::CanHorizontallyScroll(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->put_CanHorizontallyScroll(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::ExtentWidth() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::ExtentWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_ExtentWidth(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::ExtentHeight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::ExtentHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_ExtentHeight(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::ViewportWidth() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::ViewportWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_ViewportWidth(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::ViewportHeight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::ViewportHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_ViewportHeight(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::HorizontalOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::HorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_HorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::VerticalOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::VerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_VerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::ScrollOwner() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::ScrollOwner() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_ScrollOwner(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->put_ScrollOwner(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::LineUp() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::LineUp() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->LineUp()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::LineDown() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::LineDown() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->LineDown()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::LineLeft() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::LineLeft() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->LineLeft()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::LineRight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::LineRight() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->LineRight()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::PageUp() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::PageUp() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->PageUp()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::PageDown() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::PageDown() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->PageDown()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::PageLeft() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::PageLeft() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->PageLeft()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::PageRight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::PageRight() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->PageRight()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::MouseWheelUp() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::MouseWheelUp() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->MouseWheelUp()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::MouseWheelDown() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::MouseWheelDown() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->MouseWheelDown()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::MouseWheelLeft() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::MouseWheelLeft() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->MouseWheelLeft()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::MouseWheelRight() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::MouseWheelRight() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->MouseWheelRight()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::SetHorizontalOffset(double offset) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::SetHorizontalOffset(double offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->SetHorizontalOffset(offset)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::SetVerticalOffset(double offset) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::SetVerticalOffset(double offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->SetVerticalOffset(offset)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::MakeVisible(winrt::Windows::UI::Xaml::UIElement const& visual, winrt::Windows::Foundation::Rect const& rectangle) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel::MakeVisible(winrt::Windows::UI::Xaml::UIElement const& visual, winrt::Windows::Foundation::Rect const& rectangle) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->MakeVisible(*(void**)(&visual), impl::bind_in(rectangle), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::PickerFlyoutBase) consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPickerFlyoutBaseFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::PickerFlyoutBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseOverrides::OnConfirmed() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseOverrides::OnConfirmed() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPickerFlyoutBaseOverrides)->OnConfirmed()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseOverrides::ShouldShowConfirmationButtons() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseOverrides::ShouldShowConfirmationButtons() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPickerFlyoutBaseOverrides)->ShouldShowConfirmationButtons(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseStatics::TitleProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseStatics::TitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPickerFlyoutBaseStatics)->get_TitleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseStatics::GetTitle(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseStatics::GetTitle(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPickerFlyoutBaseStatics)->GetTitle(*(void**)(&element), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseStatics::SetTitle(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseStatics::SetTitle(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPickerFlyoutBaseStatics)->SetTitle(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::PivotHeaderItem) consume_Windows_UI_Xaml_Controls_Primitives_IPivotHeaderItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPivotHeaderItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPivotHeaderItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::PivotHeaderItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Child() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Child() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->get_Child(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Child(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Child(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->put_Child(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IPopup::IsOpen() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::IsOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->get_IsOpen(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup::IsOpen(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::IsOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->put_IsOpen(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IPopup::HorizontalOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::HorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->get_HorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup::HorizontalOffset(double value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::HorizontalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->put_HorizontalOffset(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IPopup::VerticalOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::VerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->get_VerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup::VerticalOffset(double value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::VerticalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->put_VerticalOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_Primitives_IPopup::ChildTransitions() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::ChildTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->get_ChildTransitions(&value)); return winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup::ChildTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::ChildTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->put_ChildTransitions(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IPopup::IsLightDismissEnabled() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::IsLightDismissEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->get_IsLightDismissEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup::IsLightDismissEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::IsLightDismissEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->put_IsLightDismissEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Opened(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Opened(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->add_Opened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Opened_revoker consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Opened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Opened(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Opened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->remove_Opened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Closed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Closed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Closed_revoker consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_Primitives_IPopup2::LightDismissOverlayMode() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup2::LightDismissOverlayMode() const { winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup2)->get_LightDismissOverlayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup2::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup2::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup2)->put_LightDismissOverlayMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IPopup3::ShouldConstrainToRootBounds() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup3::ShouldConstrainToRootBounds() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup3)->get_ShouldConstrainToRootBounds(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup3::ShouldConstrainToRootBounds(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup3::ShouldConstrainToRootBounds(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup3)->put_ShouldConstrainToRootBounds(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IPopup3::IsConstrainedToRootBounds() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup3::IsConstrainedToRootBounds() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup3)->get_IsConstrainedToRootBounds(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics::ChildProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics::ChildProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopupStatics)->get_ChildProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics::IsOpenProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics::IsOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopupStatics)->get_IsOpenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics::HorizontalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics::HorizontalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopupStatics)->get_HorizontalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics::VerticalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics::VerticalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopupStatics)->get_VerticalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics::ChildTransitionsProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics::ChildTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopupStatics)->get_ChildTransitionsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics::IsLightDismissEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics::IsLightDismissEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopupStatics)->get_IsLightDismissEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics2::LightDismissOverlayModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics2::LightDismissOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopupStatics2)->get_LightDismissOverlayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics3::ShouldConstrainToRootBoundsProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics3::ShouldConstrainToRootBoundsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopupStatics3)->get_ShouldConstrainToRootBoundsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings::EllipseDiameter() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings::EllipseDiameter() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressBarTemplateSettings)->get_EllipseDiameter(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings::EllipseOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings::EllipseOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressBarTemplateSettings)->get_EllipseOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings::EllipseAnimationWellPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings::EllipseAnimationWellPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressBarTemplateSettings)->get_EllipseAnimationWellPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings::EllipseAnimationEndPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings::EllipseAnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressBarTemplateSettings)->get_EllipseAnimationEndPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings::ContainerAnimationStartPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings::ContainerAnimationStartPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressBarTemplateSettings)->get_ContainerAnimationStartPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings::ContainerAnimationEndPosition() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings::ContainerAnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressBarTemplateSettings)->get_ContainerAnimationEndPosition(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings::IndicatorLengthDelta() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings::IndicatorLengthDelta() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressBarTemplateSettings)->get_IndicatorLengthDelta(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressRingTemplateSettings::EllipseDiameter() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressRingTemplateSettings::EllipseDiameter() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressRingTemplateSettings)->get_EllipseDiameter(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IProgressRingTemplateSettings::EllipseOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressRingTemplateSettings::EllipseOffset() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressRingTemplateSettings)->get_EllipseOffset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressRingTemplateSettings::MaxSideLength() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressRingTemplateSettings::MaxSideLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressRingTemplateSettings)->get_MaxSideLength(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::Minimum() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::Minimum() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->get_Minimum(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::Minimum(double value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::Minimum(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->put_Minimum(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::Maximum() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::Maximum() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->get_Maximum(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::Maximum(double value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::Maximum(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->put_Maximum(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::SmallChange() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::SmallChange() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->get_SmallChange(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::SmallChange(double value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::SmallChange(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->put_SmallChange(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::LargeChange() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::LargeChange() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->get_LargeChange(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::LargeChange(double value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::LargeChange(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->put_LargeChange(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::Value() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::Value() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->get_Value(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::Value(double value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::Value(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->put_Value(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::ValueChanged(winrt::Windows::UI::Xaml::Controls::Primitives::RangeBaseValueChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::ValueChanged(winrt::Windows::UI::Xaml::Controls::Primitives::RangeBaseValueChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->add_ValueChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::ValueChanged_revoker consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::ValueChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::RangeBaseValueChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::ValueChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::RangeBaseValueChangedEventHandler const& handler) const { return impl::make_event_revoker(this, ValueChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::ValueChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase::ValueChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->remove_ValueChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::RangeBase) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::RangeBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseOverrides::OnMinimumChanged(double oldMinimum, double newMinimum) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseOverrides::OnMinimumChanged(double oldMinimum, double newMinimum) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseOverrides)->OnMinimumChanged(oldMinimum, newMinimum)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseOverrides::OnMaximumChanged(double oldMaximum, double newMaximum) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseOverrides::OnMaximumChanged(double oldMaximum, double newMaximum) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseOverrides)->OnMaximumChanged(oldMaximum, newMaximum)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseOverrides::OnValueChanged(double oldValue, double newValue) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseOverrides::OnValueChanged(double oldValue, double newValue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseOverrides)->OnValueChanged(oldValue, newValue)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics::MinimumProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics::MinimumProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseStatics)->get_MinimumProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics::MaximumProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics::MaximumProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseStatics)->get_MaximumProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics::SmallChangeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics::SmallChangeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseStatics)->get_SmallChangeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics::LargeChangeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics::LargeChangeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseStatics)->get_LargeChangeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics::ValueProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics::ValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseStatics)->get_ValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseValueChangedEventArgs::OldValue() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseValueChangedEventArgs::OldValue() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseValueChangedEventArgs)->get_OldValue(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseValueChangedEventArgs::NewValue() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseValueChangedEventArgs::NewValue() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseValueChangedEventArgs)->get_NewValue(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton::Delay() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton::Delay() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRepeatButton)->get_Delay(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton::Delay(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton::Delay(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRepeatButton)->put_Delay(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton::Interval() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton::Interval() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRepeatButton)->get_Interval(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton::Interval(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton::Interval(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRepeatButton)->put_Interval(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButtonStatics::DelayProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButtonStatics::DelayProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRepeatButtonStatics)->get_DelayProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButtonStatics::IntervalProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButtonStatics::IntervalProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRepeatButtonStatics)->get_IntervalProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::Orientation() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::Orientation() const { winrt::Windows::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBar)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBar)->put_Orientation(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::ViewportSize() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::ViewportSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBar)->get_ViewportSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::ViewportSize(double value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::ViewportSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBar)->put_ViewportSize(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollingIndicatorMode) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::IndicatorMode() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::IndicatorMode() const { winrt::Windows::UI::Xaml::Controls::Primitives::ScrollingIndicatorMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBar)->get_IndicatorMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::IndicatorMode(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollingIndicatorMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::IndicatorMode(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollingIndicatorMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBar)->put_IndicatorMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::Scroll(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::Scroll(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBar)->add_Scroll(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::Scroll_revoker consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::Scroll(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::ScrollEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::Scroll(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::ScrollEventHandler const& handler) const { return impl::make_event_revoker(this, Scroll(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::Scroll(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar::Scroll(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBar)->remove_Scroll(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBarStatics::OrientationProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBarStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBarStatics)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBarStatics::ViewportSizeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBarStatics::ViewportSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBarStatics)->get_ViewportSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBarStatics::IndicatorModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBarStatics::IndicatorModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBarStatics)->get_IndicatorModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IScrollEventArgs::NewValue() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollEventArgs::NewValue() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollEventArgs)->get_NewValue(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollEventType) consume_Windows_UI_Xaml_Controls_Primitives_IScrollEventArgs::ScrollEventType() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollEventArgs::ScrollEventType() const { winrt::Windows::UI::Xaml::Controls::Primitives::ScrollEventType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollEventArgs)->get_ScrollEventType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::AreHorizontalSnapPointsRegular() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::AreHorizontalSnapPointsRegular() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollSnapPointsInfo)->get_AreHorizontalSnapPointsRegular(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::AreVerticalSnapPointsRegular() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::AreVerticalSnapPointsRegular() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollSnapPointsInfo)->get_AreVerticalSnapPointsRegular(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::HorizontalSnapPointsChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::HorizontalSnapPointsChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollSnapPointsInfo)->add_HorizontalSnapPointsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::HorizontalSnapPointsChanged_revoker consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::HorizontalSnapPointsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::HorizontalSnapPointsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, HorizontalSnapPointsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::HorizontalSnapPointsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::HorizontalSnapPointsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollSnapPointsInfo)->remove_HorizontalSnapPointsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::VerticalSnapPointsChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::VerticalSnapPointsChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollSnapPointsInfo)->add_VerticalSnapPointsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::VerticalSnapPointsChanged_revoker consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::VerticalSnapPointsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::VerticalSnapPointsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, VerticalSnapPointsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::VerticalSnapPointsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::VerticalSnapPointsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollSnapPointsInfo)->remove_VerticalSnapPointsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::GetIrregularSnapPoints(winrt::Windows::UI::Xaml::Controls::Orientation const& orientation, winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& alignment) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::GetIrregularSnapPoints(winrt::Windows::UI::Xaml::Controls::Orientation const& orientation, winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& alignment) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollSnapPointsInfo)->GetIrregularSnapPoints(static_cast(orientation), static_cast(alignment), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::GetRegularSnapPoints(winrt::Windows::UI::Xaml::Controls::Orientation const& orientation, winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& alignment, float& offset) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo::GetRegularSnapPoints(winrt::Windows::UI::Xaml::Controls::Orientation const& orientation, winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& alignment, float& offset) const { float returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollSnapPointsInfo)->GetRegularSnapPoints(static_cast(orientation), static_cast(alignment), &offset, &returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectedIndex() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectedIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->get_SelectedIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectedIndex(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectedIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->put_SelectedIndex(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectedItem() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->get_SelectedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->put_SelectedItem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectedValue() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectedValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->get_SelectedValue(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectedValue(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectedValue(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->put_SelectedValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectedValuePath() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectedValuePath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->get_SelectedValuePath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectedValuePath(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectedValuePath(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->put_SelectedValuePath(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_Primitives_ISelector::IsSynchronizedWithCurrentItem() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector::IsSynchronizedWithCurrentItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->get_IsSynchronizedWithCurrentItem(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ISelector::IsSynchronizedWithCurrentItem(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector::IsSynchronizedWithCurrentItem(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->put_IsSynchronizedWithCurrentItem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectionChanged_revoker consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->remove_SelectionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItem::IsSelected() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItem::IsSelected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelectorItem)->get_IsSelected(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItem::IsSelected(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItem::IsSelected(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelectorItem)->put_IsSelected(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelectorItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItemStatics::IsSelectedProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItemStatics::IsSelectedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelectorItemStatics)->get_IsSelectedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics::SelectedIndexProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics::SelectedIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelectorStatics)->get_SelectedIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics::SelectedItemProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics::SelectedItemProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelectorStatics)->get_SelectedItemProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics::SelectedValueProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics::SelectedValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelectorStatics)->get_SelectedValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics::SelectedValuePathProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics::SelectedValuePathProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelectorStatics)->get_SelectedValuePathProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics::IsSynchronizedWithCurrentItemProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics::IsSynchronizedWithCurrentItemProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelectorStatics)->get_IsSynchronizedWithCurrentItemProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics::GetIsSelectionActive(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics::GetIsSelectionActive(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelectorStatics)->GetIsSelectionActive(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings::HeaderBackground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings::HeaderBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISettingsFlyoutTemplateSettings)->get_HeaderBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings::HeaderForeground() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings::HeaderForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISettingsFlyoutTemplateSettings)->get_HeaderForeground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings::BorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings::BorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISettingsFlyoutTemplateSettings)->get_BorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings::BorderThickness() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings::BorderThickness() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISettingsFlyoutTemplateSettings)->get_BorderThickness(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings::IconSource() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings::IconSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISettingsFlyoutTemplateSettings)->get_IconSource(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings::ContentTransitions() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings::ContentTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISettingsFlyoutTemplateSettings)->get_ContentTransitions(&value)); return winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings::OpenPaneLength() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings::OpenPaneLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISplitViewTemplateSettings)->get_OpenPaneLength(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings::NegativeOpenPaneLength() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings::NegativeOpenPaneLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISplitViewTemplateSettings)->get_NegativeOpenPaneLength(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings::OpenPaneLengthMinusCompactLength() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings::OpenPaneLengthMinusCompactLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISplitViewTemplateSettings)->get_OpenPaneLengthMinusCompactLength(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings::NegativeOpenPaneLengthMinusCompactLength() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings::NegativeOpenPaneLengthMinusCompactLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISplitViewTemplateSettings)->get_NegativeOpenPaneLengthMinusCompactLength(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings::OpenPaneGridLength() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings::OpenPaneGridLength() const { winrt::Windows::UI::Xaml::GridLength value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISplitViewTemplateSettings)->get_OpenPaneGridLength(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings::CompactPaneGridLength() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings::CompactPaneGridLength() const { winrt::Windows::UI::Xaml::GridLength value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISplitViewTemplateSettings)->get_CompactPaneGridLength(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IThumb::IsDragging() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb::IsDragging() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IThumb)->get_IsDragging(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragStarted(winrt::Windows::UI::Xaml::Controls::Primitives::DragStartedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragStarted(winrt::Windows::UI::Xaml::Controls::Primitives::DragStartedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IThumb)->add_DragStarted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragStarted_revoker consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragStartedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragStartedEventHandler const& handler) const { return impl::make_event_revoker(this, DragStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragStarted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IThumb)->remove_DragStarted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragDelta(winrt::Windows::UI::Xaml::Controls::Primitives::DragDeltaEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragDelta(winrt::Windows::UI::Xaml::Controls::Primitives::DragDeltaEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IThumb)->add_DragDelta(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragDelta_revoker consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragDelta(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragDeltaEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragDelta(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragDeltaEventHandler const& handler) const { return impl::make_event_revoker(this, DragDelta(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragDelta(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragDelta(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IThumb)->remove_DragDelta(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragCompleted(winrt::Windows::UI::Xaml::Controls::Primitives::DragCompletedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragCompleted(winrt::Windows::UI::Xaml::Controls::Primitives::DragCompletedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IThumb)->add_DragCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragCompleted_revoker consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragCompletedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragCompletedEventHandler const& handler) const { return impl::make_event_revoker(this, DragCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb::DragCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IThumb)->remove_DragCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IThumb::CancelDrag() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb::CancelDrag() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IThumb)->CancelDrag()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IThumbStatics::IsDraggingProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IThumbStatics::IsDraggingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IThumbStatics)->get_IsDraggingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_ITickBar::Fill() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ITickBar::Fill() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ITickBar)->get_Fill(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ITickBar::Fill(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ITickBar::Fill(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ITickBar)->put_Fill(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ITickBarStatics::FillProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_ITickBarStatics::FillProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ITickBarStatics)->get_FillProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::IsChecked() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::IsChecked() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton)->get_IsChecked(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::IsChecked(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::IsChecked(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton)->put_IsChecked(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::IsThreeState() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::IsThreeState() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton)->get_IsThreeState(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::IsThreeState(bool value) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::IsThreeState(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton)->put_IsThreeState(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Checked(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Checked(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton)->add_Checked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Checked_revoker consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Checked(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Checked(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, Checked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Checked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Checked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton)->remove_Checked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Unchecked(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Unchecked(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton)->add_Unchecked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Unchecked_revoker consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Unchecked(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Unchecked(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, Unchecked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Unchecked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Unchecked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton)->remove_Unchecked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Indeterminate(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Indeterminate(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton)->add_Indeterminate(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Indeterminate_revoker consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Indeterminate(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Indeterminate(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, Indeterminate(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Indeterminate(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton::Indeterminate(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton)->remove_Indeterminate(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ToggleButton) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Primitives::ToggleButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonOverrides::OnToggle() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonOverrides::OnToggle() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButtonOverrides)->OnToggle()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonStatics::IsCheckedProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonStatics::IsCheckedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButtonStatics)->get_IsCheckedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonStatics::IsThreeStateProperty() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonStatics::IsThreeStateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButtonStatics)->get_IsThreeStateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings::KnobCurrentToOnOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings::KnobCurrentToOnOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings)->get_KnobCurrentToOnOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings::KnobCurrentToOffOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings::KnobCurrentToOffOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings)->get_KnobCurrentToOffOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings::KnobOnToOffOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings::KnobOnToOffOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings)->get_KnobOnToOffOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings::KnobOffToOnOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings::KnobOffToOnOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings)->get_KnobOffToOnOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings::CurtainCurrentToOnOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings::CurtainCurrentToOnOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings)->get_CurtainCurrentToOnOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings::CurtainCurrentToOffOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings::CurtainCurrentToOffOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings)->get_CurtainCurrentToOffOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings::CurtainOnToOffOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings::CurtainOnToOffOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings)->get_CurtainOnToOffOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings::CurtainOffToOnOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings::CurtainOffToOnOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings)->get_CurtainOffToOnOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToolTipTemplateSettings::FromHorizontalOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToolTipTemplateSettings::FromHorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToolTipTemplateSettings)->get_FromHorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToolTipTemplateSettings::FromVerticalOffset() const + template auto consume_Windows_UI_Xaml_Controls_Primitives_IToolTipTemplateSettings::FromVerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToolTipTemplateSettings)->get_FromVerticalOffset(&value)); @@ -9943,35 +9943,35 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls::Primitives { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Control) IFlyoutBaseOverridesT::CreatePresenter() const + template auto IFlyoutBaseOverridesT::CreatePresenter() const { return shim().template try_as().CreatePresenter(); } - template WINRT_IMPL_AUTO(void) IFlyoutBaseOverrides4T::OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const + template auto IFlyoutBaseOverrides4T::OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const { return shim().template try_as().OnProcessKeyboardAccelerators(args); } - template WINRT_IMPL_AUTO(void) IPickerFlyoutBaseOverridesT::OnConfirmed() const + template auto IPickerFlyoutBaseOverridesT::OnConfirmed() const { return shim().template try_as().OnConfirmed(); } - template WINRT_IMPL_AUTO(bool) IPickerFlyoutBaseOverridesT::ShouldShowConfirmationButtons() const + template auto IPickerFlyoutBaseOverridesT::ShouldShowConfirmationButtons() const { return shim().template try_as().ShouldShowConfirmationButtons(); } - template WINRT_IMPL_AUTO(void) IRangeBaseOverridesT::OnMinimumChanged(double oldMinimum, double newMinimum) const + template auto IRangeBaseOverridesT::OnMinimumChanged(double oldMinimum, double newMinimum) const { return shim().template try_as().OnMinimumChanged(oldMinimum, newMinimum); } - template WINRT_IMPL_AUTO(void) IRangeBaseOverridesT::OnMaximumChanged(double oldMaximum, double newMaximum) const + template auto IRangeBaseOverridesT::OnMaximumChanged(double oldMaximum, double newMaximum) const { return shim().template try_as().OnMaximumChanged(oldMaximum, newMaximum); } - template WINRT_IMPL_AUTO(void) IRangeBaseOverridesT::OnValueChanged(double oldValue, double newValue) const + template auto IRangeBaseOverridesT::OnValueChanged(double oldValue, double newValue) const { return shim().template try_as().OnValueChanged(oldValue, newValue); } - template WINRT_IMPL_AUTO(void) IToggleButtonOverridesT::OnToggle() const + template auto IToggleButtonOverridesT::OnToggle() const { return shim().template try_as().OnToggle(); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.h index 0f84e8f1..19040294 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Controls_H #define WINRT_Windows_UI_Xaml_Controls_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.h" #include "winrt/impl/Windows.ApplicationModel.Contacts.2.h" #include "winrt/impl/Windows.ApplicationModel.DataTransfer.2.h" @@ -42,22309 +42,22309 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Controls.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IAnchorRequestedEventArgs::Anchor() const + template auto consume_Windows_UI_Xaml_Controls_IAnchorRequestedEventArgs::Anchor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAnchorRequestedEventArgs)->get_Anchor(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAnchorRequestedEventArgs::Anchor(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAnchorRequestedEventArgs::Anchor(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAnchorRequestedEventArgs)->put_Anchor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IAnchorRequestedEventArgs::AnchorCandidates() const + template auto consume_Windows_UI_Xaml_Controls_IAnchorRequestedEventArgs::AnchorCandidates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAnchorRequestedEventArgs)->get_AnchorCandidates(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IAppBar::IsOpen() const + template auto consume_Windows_UI_Xaml_Controls_IAppBar::IsOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar)->get_IsOpen(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBar::IsOpen(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IAppBar::IsOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar)->put_IsOpen(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IAppBar::IsSticky() const + template auto consume_Windows_UI_Xaml_Controls_IAppBar::IsSticky() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar)->get_IsSticky(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBar::IsSticky(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IAppBar::IsSticky(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar)->put_IsSticky(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IAppBar::Opened(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IAppBar::Opened(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar)->add_Opened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IAppBar::Opened_revoker consume_Windows_UI_Xaml_Controls_IAppBar::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IAppBar::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Opened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBar::Opened(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IAppBar::Opened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar)->remove_Opened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IAppBar::Closed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IAppBar::Closed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IAppBar::Closed_revoker consume_Windows_UI_Xaml_Controls_IAppBar::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IAppBar::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBar::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IAppBar::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBarClosedDisplayMode) consume_Windows_UI_Xaml_Controls_IAppBar2::ClosedDisplayMode() const + template auto consume_Windows_UI_Xaml_Controls_IAppBar2::ClosedDisplayMode() const { winrt::Windows::UI::Xaml::Controls::AppBarClosedDisplayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar2)->get_ClosedDisplayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBar2::ClosedDisplayMode(winrt::Windows::UI::Xaml::Controls::AppBarClosedDisplayMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAppBar2::ClosedDisplayMode(winrt::Windows::UI::Xaml::Controls::AppBarClosedDisplayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar2)->put_ClosedDisplayMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AppBarTemplateSettings) consume_Windows_UI_Xaml_Controls_IAppBar3::TemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_IAppBar3::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar3)->get_TemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::AppBarTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IAppBar3::Opening(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IAppBar3::Opening(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar3)->add_Opening(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IAppBar3::Opening_revoker consume_Windows_UI_Xaml_Controls_IAppBar3::Opening(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IAppBar3::Opening(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Opening(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBar3::Opening(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IAppBar3::Opening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar3)->remove_Opening(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IAppBar3::Closing(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IAppBar3::Closing(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar3)->add_Closing(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IAppBar3::Closing_revoker consume_Windows_UI_Xaml_Controls_IAppBar3::Closing(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IAppBar3::Closing(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Closing(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBar3::Closing(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IAppBar3::Closing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar3)->remove_Closing(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_IAppBar4::LightDismissOverlayMode() const + template auto consume_Windows_UI_Xaml_Controls_IAppBar4::LightDismissOverlayMode() const { winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar4)->get_LightDismissOverlayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBar4::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAppBar4::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar4)->put_LightDismissOverlayMode(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IAppBarButton::Label() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButton::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButton)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarButton::Label(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButton::Label(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButton)->put_Label(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) consume_Windows_UI_Xaml_Controls_IAppBarButton::Icon() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButton::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButton)->get_Icon(&value)); return winrt::Windows::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarButton::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButton::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButton)->put_Icon(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition) consume_Windows_UI_Xaml_Controls_IAppBarButton3::LabelPosition() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButton3::LabelPosition() const { winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButton3)->get_LabelPosition(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarButton3::LabelPosition(winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButton3::LabelPosition(winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButton3)->put_LabelPosition(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IAppBarButton4::KeyboardAcceleratorTextOverride() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButton4::KeyboardAcceleratorTextOverride() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButton4)->get_KeyboardAcceleratorTextOverride(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarButton4::KeyboardAcceleratorTextOverride(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButton4::KeyboardAcceleratorTextOverride(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButton4)->put_KeyboardAcceleratorTextOverride(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AppBarButtonTemplateSettings) consume_Windows_UI_Xaml_Controls_IAppBarButton5::TemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButton5::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButton5)->get_TemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::AppBarButtonTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBarButton) consume_Windows_UI_Xaml_Controls_IAppBarButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::AppBarButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics::LabelProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics::LabelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButtonStatics)->get_LabelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics::IconProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics::IconProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButtonStatics)->get_IconProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics::IsCompactProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics::IsCompactProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButtonStatics)->get_IsCompactProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics3::LabelPositionProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics3::LabelPositionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButtonStatics3)->get_LabelPositionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics3::IsInOverflowProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics3::IsInOverflowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButtonStatics3)->get_IsInOverflowProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics3::DynamicOverflowOrderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics3::DynamicOverflowOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButtonStatics3)->get_DynamicOverflowOrderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics4::KeyboardAcceleratorTextOverrideProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics4::KeyboardAcceleratorTextOverrideProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButtonStatics4)->get_KeyboardAcceleratorTextOverrideProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBarElementContainer) consume_Windows_UI_Xaml_Controls_IAppBarElementContainerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarElementContainerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarElementContainerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::AppBarElementContainer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarElementContainerStatics::IsCompactProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarElementContainerStatics::IsCompactProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarElementContainerStatics)->get_IsCompactProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarElementContainerStatics::IsInOverflowProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarElementContainerStatics::IsInOverflowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarElementContainerStatics)->get_IsInOverflowProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarElementContainerStatics::DynamicOverflowOrderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarElementContainerStatics::DynamicOverflowOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarElementContainerStatics)->get_DynamicOverflowOrderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBar) consume_Windows_UI_Xaml_Controls_IAppBarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::AppBar{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarOverrides::OnClosed(winrt::Windows::Foundation::IInspectable const& e) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarOverrides::OnClosed(winrt::Windows::Foundation::IInspectable const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarOverrides)->OnClosed(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarOverrides::OnOpened(winrt::Windows::Foundation::IInspectable const& e) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarOverrides::OnOpened(winrt::Windows::Foundation::IInspectable const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarOverrides)->OnOpened(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarOverrides3::OnClosing(winrt::Windows::Foundation::IInspectable const& e) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarOverrides3::OnClosing(winrt::Windows::Foundation::IInspectable const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarOverrides3)->OnClosing(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarOverrides3::OnOpening(winrt::Windows::Foundation::IInspectable const& e) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarOverrides3::OnOpening(winrt::Windows::Foundation::IInspectable const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarOverrides3)->OnOpening(*(void**)(&e))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBarSeparator) consume_Windows_UI_Xaml_Controls_IAppBarSeparatorFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarSeparatorFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarSeparatorFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::AppBarSeparator{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarSeparatorStatics::IsCompactProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarSeparatorStatics::IsCompactProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarSeparatorStatics)->get_IsCompactProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarSeparatorStatics3::IsInOverflowProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarSeparatorStatics3::IsInOverflowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarSeparatorStatics3)->get_IsInOverflowProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarSeparatorStatics3::DynamicOverflowOrderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarSeparatorStatics3::DynamicOverflowOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarSeparatorStatics3)->get_DynamicOverflowOrderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarStatics::IsOpenProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarStatics::IsOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarStatics)->get_IsOpenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarStatics::IsStickyProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarStatics::IsStickyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarStatics)->get_IsStickyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarStatics2::ClosedDisplayModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarStatics2::ClosedDisplayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarStatics2)->get_ClosedDisplayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarStatics4::LightDismissOverlayModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarStatics4::LightDismissOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarStatics4)->get_LightDismissOverlayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton::Label() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButton)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton::Label(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton::Label(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButton)->put_Label(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton::Icon() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButton)->get_Icon(&value)); return winrt::Windows::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButton)->put_Icon(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton3::LabelPosition() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton3::LabelPosition() const { winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButton3)->get_LabelPosition(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton3::LabelPosition(winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton3::LabelPosition(winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButton3)->put_LabelPosition(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton4::KeyboardAcceleratorTextOverride() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton4::KeyboardAcceleratorTextOverride() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButton4)->get_KeyboardAcceleratorTextOverride(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton4::KeyboardAcceleratorTextOverride(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton4::KeyboardAcceleratorTextOverride(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButton4)->put_KeyboardAcceleratorTextOverride(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AppBarToggleButtonTemplateSettings) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton5::TemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton5::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButton5)->get_TemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::AppBarToggleButtonTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBarToggleButton) consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::AppBarToggleButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics::LabelProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics::LabelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButtonStatics)->get_LabelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics::IconProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics::IconProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButtonStatics)->get_IconProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics::IsCompactProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics::IsCompactProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButtonStatics)->get_IsCompactProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics3::LabelPositionProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics3::LabelPositionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButtonStatics3)->get_LabelPositionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics3::IsInOverflowProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics3::IsInOverflowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButtonStatics3)->get_IsInOverflowProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics3::DynamicOverflowOrderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics3::DynamicOverflowOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButtonStatics3)->get_DynamicOverflowOrderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics4::KeyboardAcceleratorTextOverrideProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics4::KeyboardAcceleratorTextOverrideProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButtonStatics4)->get_KeyboardAcceleratorTextOverrideProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::MaxSuggestionListHeight() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::MaxSuggestionListHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->get_MaxSuggestionListHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::MaxSuggestionListHeight(double value) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::MaxSuggestionListHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_MaxSuggestionListHeight(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::IsSuggestionListOpen() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::IsSuggestionListOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->get_IsSuggestionListOpen(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::IsSuggestionListOpen(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::IsSuggestionListOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_IsSuggestionListOpen(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::TextMemberPath() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::TextMemberPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->get_TextMemberPath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::TextMemberPath(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::TextMemberPath(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_TextMemberPath(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::Text() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::Text(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::UpdateTextOnSelect() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::UpdateTextOnSelect() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->get_UpdateTextOnSelect(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::UpdateTextOnSelect(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::UpdateTextOnSelect(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_UpdateTextOnSelect(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::PlaceholderText() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::PlaceholderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->get_PlaceholderText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::PlaceholderText(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::PlaceholderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_PlaceholderText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::Header() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::Header(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_Header(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::AutoMaximizeSuggestionArea() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::AutoMaximizeSuggestionArea() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->get_AutoMaximizeSuggestionArea(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::AutoMaximizeSuggestionArea(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::AutoMaximizeSuggestionArea(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_AutoMaximizeSuggestionArea(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::TextBoxStyle() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::TextBoxStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->get_TextBoxStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::TextBoxStyle(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::TextBoxStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_TextBoxStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::SuggestionChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::SuggestionChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->add_SuggestionChosen(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::SuggestionChosen_revoker consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::SuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::SuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SuggestionChosen(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::SuggestionChosen(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::SuggestionChosen(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->remove_SuggestionChosen(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::TextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::TextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->add_TextChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::TextChanged_revoker consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::TextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::TextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::TextChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox::TextChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->remove_TextChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2::QueryIcon() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2::QueryIcon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox2)->get_QueryIcon(&value)); return winrt::Windows::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2::QueryIcon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2::QueryIcon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox2)->put_QueryIcon(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2::QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2::QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox2)->add_QuerySubmitted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2::QuerySubmitted_revoker consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2::QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2::QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, QuerySubmitted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2::QuerySubmitted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2::QuerySubmitted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox2)->remove_QuerySubmitted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox3::LightDismissOverlayMode() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox3::LightDismissOverlayMode() const { winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox3)->get_LightDismissOverlayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox3::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox3::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox3)->put_LightDismissOverlayMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox4::Description() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox4::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox4)->get_Description(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox4::Description(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox4::Description(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox4)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxQuerySubmittedEventArgs::QueryText() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxQuerySubmittedEventArgs::QueryText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxQuerySubmittedEventArgs)->get_QueryText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxQuerySubmittedEventArgs::ChosenSuggestion() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxQuerySubmittedEventArgs::ChosenSuggestion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxQuerySubmittedEventArgs)->get_ChosenSuggestion(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::MaxSuggestionListHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::MaxSuggestionListHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_MaxSuggestionListHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::IsSuggestionListOpenProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::IsSuggestionListOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_IsSuggestionListOpenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::TextMemberPathProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::TextMemberPathProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_TextMemberPathProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::TextProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_TextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::UpdateTextOnSelectProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::UpdateTextOnSelectProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_UpdateTextOnSelectProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::PlaceholderTextProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::PlaceholderTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_PlaceholderTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::HeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::AutoMaximizeSuggestionAreaProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::AutoMaximizeSuggestionAreaProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_AutoMaximizeSuggestionAreaProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::TextBoxStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics::TextBoxStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_TextBoxStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics2::QueryIconProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics2::QueryIconProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxStatics2)->get_QueryIconProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics3::LightDismissOverlayModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics3::LightDismissOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxStatics3)->get_LightDismissOverlayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics4::DescriptionProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics4::DescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxStatics4)->get_DescriptionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxSuggestionChosenEventArgs::SelectedItem() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxSuggestionChosenEventArgs::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxSuggestionChosenEventArgs)->get_SelectedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AutoSuggestionBoxTextChangeReason) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgs::Reason() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgs::Reason() const { winrt::Windows::UI::Xaml::Controls::AutoSuggestionBoxTextChangeReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxTextChangedEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgs::Reason(winrt::Windows::UI::Xaml::Controls::AutoSuggestionBoxTextChangeReason const& value) const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgs::Reason(winrt::Windows::UI::Xaml::Controls::AutoSuggestionBoxTextChangeReason const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxTextChangedEventArgs)->put_Reason(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgs::CheckCurrent() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgs::CheckCurrent() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxTextChangedEventArgs)->CheckCurrent(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgsStatics::ReasonProperty() const + template auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgsStatics::ReasonProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxTextChangedEventArgsStatics)->get_ReasonProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IBackClickEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Controls_IBackClickEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBackClickEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBackClickEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IBackClickEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBackClickEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IBitmapIcon::UriSource() const + template auto consume_Windows_UI_Xaml_Controls_IBitmapIcon::UriSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIcon)->get_UriSource(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBitmapIcon::UriSource(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Xaml_Controls_IBitmapIcon::UriSource(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIcon)->put_UriSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IBitmapIcon2::ShowAsMonochrome() const + template auto consume_Windows_UI_Xaml_Controls_IBitmapIcon2::ShowAsMonochrome() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIcon2)->get_ShowAsMonochrome(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBitmapIcon2::ShowAsMonochrome(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IBitmapIcon2::ShowAsMonochrome(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIcon2)->put_ShowAsMonochrome(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BitmapIcon) consume_Windows_UI_Xaml_Controls_IBitmapIconFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IBitmapIconFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIconFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::BitmapIcon{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IBitmapIconSource::UriSource() const + template auto consume_Windows_UI_Xaml_Controls_IBitmapIconSource::UriSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIconSource)->get_UriSource(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBitmapIconSource::UriSource(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Xaml_Controls_IBitmapIconSource::UriSource(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIconSource)->put_UriSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IBitmapIconSource::ShowAsMonochrome() const + template auto consume_Windows_UI_Xaml_Controls_IBitmapIconSource::ShowAsMonochrome() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIconSource)->get_ShowAsMonochrome(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBitmapIconSource::ShowAsMonochrome(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IBitmapIconSource::ShowAsMonochrome(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIconSource)->put_ShowAsMonochrome(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BitmapIconSource) consume_Windows_UI_Xaml_Controls_IBitmapIconSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IBitmapIconSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIconSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::BitmapIconSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBitmapIconSourceStatics::UriSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_IBitmapIconSourceStatics::UriSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIconSourceStatics)->get_UriSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBitmapIconSourceStatics::ShowAsMonochromeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IBitmapIconSourceStatics::ShowAsMonochromeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIconSourceStatics)->get_ShowAsMonochromeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBitmapIconStatics::UriSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_IBitmapIconStatics::UriSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIconStatics)->get_UriSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBitmapIconStatics2::ShowAsMonochromeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IBitmapIconStatics2::ShowAsMonochromeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIconStatics2)->get_ShowAsMonochromeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IBorder::BorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_IBorder::BorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder)->get_BorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IBorder::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder)->put_BorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IBorder::BorderThickness() const + template auto consume_Windows_UI_Xaml_Controls_IBorder::BorderThickness() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder)->get_BorderThickness(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IBorder::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder)->put_BorderThickness(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IBorder::Background() const + template auto consume_Windows_UI_Xaml_Controls_IBorder::Background() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder)->get_Background(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IBorder::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder)->put_Background(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_Controls_IBorder::CornerRadius() const + template auto consume_Windows_UI_Xaml_Controls_IBorder::CornerRadius() const { winrt::Windows::UI::Xaml::CornerRadius value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder)->get_CornerRadius(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const + template auto consume_Windows_UI_Xaml_Controls_IBorder::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder)->put_CornerRadius(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IBorder::Padding() const + template auto consume_Windows_UI_Xaml_Controls_IBorder::Padding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder)->get_Padding(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IBorder::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder)->put_Padding(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IBorder::Child() const + template auto consume_Windows_UI_Xaml_Controls_IBorder::Child() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder)->get_Child(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder::Child(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IBorder::Child(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder)->put_Child(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IBorder::ChildTransitions() const + template auto consume_Windows_UI_Xaml_Controls_IBorder::ChildTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder)->get_ChildTransitions(&value)); return winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder::ChildTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const + template auto consume_Windows_UI_Xaml_Controls_IBorder::ChildTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder)->put_ChildTransitions(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) consume_Windows_UI_Xaml_Controls_IBorder2::BackgroundSizing() const + template auto consume_Windows_UI_Xaml_Controls_IBorder2::BackgroundSizing() const { winrt::Windows::UI::Xaml::Controls::BackgroundSizing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder2)->get_BackgroundSizing(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder2::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const + template auto consume_Windows_UI_Xaml_Controls_IBorder2::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder2)->put_BackgroundSizing(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::BrushTransition) consume_Windows_UI_Xaml_Controls_IBorder2::BackgroundTransition() const + template auto consume_Windows_UI_Xaml_Controls_IBorder2::BackgroundTransition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder2)->get_BackgroundTransition(&value)); return winrt::Windows::UI::Xaml::BrushTransition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder2::BackgroundTransition(winrt::Windows::UI::Xaml::BrushTransition const& value) const + template auto consume_Windows_UI_Xaml_Controls_IBorder2::BackgroundTransition(winrt::Windows::UI::Xaml::BrushTransition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder2)->put_BackgroundTransition(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBorderStatics::BorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_IBorderStatics::BorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorderStatics)->get_BorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBorderStatics::BorderThicknessProperty() const + template auto consume_Windows_UI_Xaml_Controls_IBorderStatics::BorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorderStatics)->get_BorderThicknessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBorderStatics::BackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_IBorderStatics::BackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorderStatics)->get_BackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBorderStatics::CornerRadiusProperty() const + template auto consume_Windows_UI_Xaml_Controls_IBorderStatics::CornerRadiusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorderStatics)->get_CornerRadiusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBorderStatics::PaddingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IBorderStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorderStatics)->get_PaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBorderStatics::ChildTransitionsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IBorderStatics::ChildTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorderStatics)->get_ChildTransitionsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBorderStatics2::BackgroundSizingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IBorderStatics2::BackgroundSizingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorderStatics2)->get_BackgroundSizingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Button) consume_Windows_UI_Xaml_Controls_IButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Button{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IButtonStaticsWithFlyout::FlyoutProperty() const + template auto consume_Windows_UI_Xaml_Controls_IButtonStaticsWithFlyout::FlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IButtonStaticsWithFlyout)->get_FlyoutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_IButtonWithFlyout::Flyout() const + template auto consume_Windows_UI_Xaml_Controls_IButtonWithFlyout::Flyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IButtonWithFlyout)->get_Flyout(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IButtonWithFlyout::Flyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const + template auto consume_Windows_UI_Xaml_Controls_IButtonWithFlyout::Flyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IButtonWithFlyout)->put_Flyout(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Date() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Date() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_Date(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Date(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Date(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_Date(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::IsCalendarOpen() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::IsCalendarOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_IsCalendarOpen(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::IsCalendarOpen(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::IsCalendarOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_IsCalendarOpen(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DateFormat() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DateFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_DateFormat(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DateFormat(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DateFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_DateFormat(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::PlaceholderText() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::PlaceholderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_PlaceholderText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::PlaceholderText(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::PlaceholderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_PlaceholderText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Header() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Header(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_Header(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::HeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_HeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::CalendarViewStyle() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::CalendarViewStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_CalendarViewStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::CalendarViewStyle(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::CalendarViewStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_CalendarViewStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::MinDate() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::MinDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_MinDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::MinDate(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::MinDate(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_MinDate(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::MaxDate() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::MaxDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_MaxDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::MaxDate(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::MaxDate(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_MaxDate(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::IsTodayHighlighted() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::IsTodayHighlighted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_IsTodayHighlighted(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::IsTodayHighlighted(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::IsTodayHighlighted(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_IsTodayHighlighted(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DisplayMode() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DisplayMode() const { winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_DisplayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DisplayMode(winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DisplayMode(winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_DisplayMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::FirstDayOfWeek() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::FirstDayOfWeek() const { winrt::Windows::Globalization::DayOfWeek value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_FirstDayOfWeek(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::FirstDayOfWeek(winrt::Windows::Globalization::DayOfWeek const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::FirstDayOfWeek(winrt::Windows::Globalization::DayOfWeek const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_FirstDayOfWeek(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DayOfWeekFormat() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DayOfWeekFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_DayOfWeekFormat(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DayOfWeekFormat(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DayOfWeekFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_DayOfWeekFormat(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::CalendarIdentifier() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::CalendarIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_CalendarIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::CalendarIdentifier(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::CalendarIdentifier(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_CalendarIdentifier(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::IsOutOfScopeEnabled() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::IsOutOfScopeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_IsOutOfScopeEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::IsOutOfScopeEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::IsOutOfScopeEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_IsOutOfScopeEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::IsGroupLabelVisible() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::IsGroupLabelVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_IsGroupLabelVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::IsGroupLabelVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::IsGroupLabelVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_IsGroupLabelVisible(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::CalendarViewDayItemChanging(winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::CalendarViewDayItemChanging(winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->add_CalendarViewDayItemChanging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::CalendarViewDayItemChanging_revoker consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::CalendarViewDayItemChanging(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::CalendarViewDayItemChanging(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventHandler const& handler) const { return impl::make_event_revoker(this, CalendarViewDayItemChanging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::CalendarViewDayItemChanging(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::CalendarViewDayItemChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->remove_CalendarViewDayItemChanging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->add_DateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DateChanged_revoker consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::DateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->remove_DateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Opened(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Opened(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->add_Opened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Opened_revoker consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Opened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Opened(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Opened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->remove_Opened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Closed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Closed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Closed_revoker consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::SetDisplayDate(winrt::Windows::Foundation::DateTime const& date) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::SetDisplayDate(winrt::Windows::Foundation::DateTime const& date) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->SetDisplayDate(impl::bind_in(date))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::SetYearDecadeDisplayDimensions(int32_t columns, int32_t rows) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker::SetYearDecadeDisplayDimensions(int32_t columns, int32_t rows) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->SetYearDecadeDisplayDimensions(columns, rows)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker2::LightDismissOverlayMode() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker2::LightDismissOverlayMode() const { winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker2)->get_LightDismissOverlayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker2::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker2::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker2)->put_LightDismissOverlayMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker3::Description() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker3::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker3)->get_Description(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker3::Description(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker3::Description(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker3)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerDateChangedEventArgs::NewDate() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerDateChangedEventArgs::NewDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerDateChangedEventArgs)->get_NewDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerDateChangedEventArgs::OldDate() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerDateChangedEventArgs::OldDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerDateChangedEventArgs)->get_OldDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarDatePicker) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::CalendarDatePicker{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::DateProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::DateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_DateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::IsCalendarOpenProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::IsCalendarOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_IsCalendarOpenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::DateFormatProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::DateFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_DateFormatProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::PlaceholderTextProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::PlaceholderTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_PlaceholderTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::HeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::HeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::CalendarViewStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::CalendarViewStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_CalendarViewStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::MinDateProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::MinDateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_MinDateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::MaxDateProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::MaxDateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_MaxDateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::IsTodayHighlightedProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::IsTodayHighlightedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_IsTodayHighlightedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::DisplayModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::DisplayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_DisplayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::FirstDayOfWeekProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::FirstDayOfWeekProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_FirstDayOfWeekProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::DayOfWeekFormatProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::DayOfWeekFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_DayOfWeekFormatProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::CalendarIdentifierProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::CalendarIdentifierProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_CalendarIdentifierProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::IsOutOfScopeEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::IsOutOfScopeEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_IsOutOfScopeEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::IsGroupLabelVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics::IsGroupLabelVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_IsGroupLabelVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics2::LightDismissOverlayModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics2::LightDismissOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics2)->get_LightDismissOverlayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics3::DescriptionProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics3::DescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics3)->get_DescriptionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarIdentifier() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_CalendarIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarIdentifier(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarIdentifier(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_CalendarIdentifier(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ICalendarView::DayOfWeekFormat() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::DayOfWeekFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_DayOfWeekFormat(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::DayOfWeekFormat(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::DayOfWeekFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_DayOfWeekFormat(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarView::IsGroupLabelVisible() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::IsGroupLabelVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_IsGroupLabelVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::IsGroupLabelVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::IsGroupLabelVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_IsGroupLabelVisible(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode) consume_Windows_UI_Xaml_Controls_ICalendarView::DisplayMode() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::DisplayMode() const { winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_DisplayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::DisplayMode(winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::DisplayMode(winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_DisplayMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstDayOfWeek() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstDayOfWeek() const { winrt::Windows::Globalization::DayOfWeek value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_FirstDayOfWeek(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstDayOfWeek(winrt::Windows::Globalization::DayOfWeek const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstDayOfWeek(winrt::Windows::Globalization::DayOfWeek const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_FirstDayOfWeek(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarView::IsOutOfScopeEnabled() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::IsOutOfScopeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_IsOutOfScopeEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::IsOutOfScopeEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::IsOutOfScopeEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_IsOutOfScopeEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarView::IsTodayHighlighted() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::IsTodayHighlighted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_IsTodayHighlighted(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::IsTodayHighlighted(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::IsTodayHighlighted(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_IsTodayHighlighted(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_ICalendarView::MaxDate() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::MaxDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_MaxDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::MaxDate(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::MaxDate(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_MaxDate(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_ICalendarView::MinDate() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::MinDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_MinDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::MinDate(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::MinDate(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_MinDate(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ICalendarView::NumberOfWeeksInView() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::NumberOfWeeksInView() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_NumberOfWeeksInView(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::NumberOfWeeksInView(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::NumberOfWeeksInView(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_NumberOfWeeksInView(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedDates() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedDates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_SelectedDates(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarViewSelectionMode) consume_Windows_UI_Xaml_Controls_ICalendarView::SelectionMode() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::SelectionMode() const { winrt::Windows::UI::Xaml::Controls::CalendarViewSelectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_SelectionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::SelectionMode(winrt::Windows::UI::Xaml::Controls::CalendarViewSelectionMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::SelectionMode(winrt::Windows::UI::Xaml::Controls::CalendarViewSelectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_SelectionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::CalendarViewTemplateSettings) consume_Windows_UI_Xaml_Controls_ICalendarView::TemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_TemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::CalendarViewTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView::FocusBorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FocusBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_FocusBorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::FocusBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FocusBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_FocusBorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedHoverBorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedHoverBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_SelectedHoverBorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedHoverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedHoverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_SelectedHoverBorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedPressedBorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedPressedBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_SelectedPressedBorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedPressedBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedPressedBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_SelectedPressedBorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedBorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_SelectedBorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_SelectedBorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView::HoverBorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::HoverBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_HoverBorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::HoverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::HoverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_HoverBorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView::PressedBorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::PressedBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_PressedBorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::PressedBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::PressedBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_PressedBorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarItemBorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarItemBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_CalendarItemBorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarItemBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarItemBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_CalendarItemBorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView::OutOfScopeBackground() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::OutOfScopeBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_OutOfScopeBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::OutOfScopeBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::OutOfScopeBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_OutOfScopeBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarItemBackground() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarItemBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_CalendarItemBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarItemBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarItemBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_CalendarItemBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView::PressedForeground() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::PressedForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_PressedForeground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::PressedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::PressedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_PressedForeground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView::TodayForeground() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::TodayForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_TodayForeground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::TodayForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::TodayForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_TodayForeground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView::BlackoutForeground() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::BlackoutForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_BlackoutForeground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::BlackoutForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::BlackoutForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_BlackoutForeground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedForeground() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_SelectedForeground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_SelectedForeground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView::OutOfScopeForeground() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::OutOfScopeForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_OutOfScopeForeground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::OutOfScopeForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::OutOfScopeForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_OutOfScopeForeground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarItemForeground() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarItemForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_CalendarItemForeground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarItemForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarItemForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_CalendarItemForeground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_ICalendarView::DayItemFontFamily() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::DayItemFontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_DayItemFontFamily(&value)); return winrt::Windows::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::DayItemFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::DayItemFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_DayItemFontFamily(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ICalendarView::DayItemFontSize() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::DayItemFontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_DayItemFontSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::DayItemFontSize(double value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::DayItemFontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_DayItemFontSize(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_ICalendarView::DayItemFontStyle() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::DayItemFontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_DayItemFontStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::DayItemFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::DayItemFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_DayItemFontStyle(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_ICalendarView::DayItemFontWeight() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::DayItemFontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_DayItemFontWeight(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::DayItemFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::DayItemFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_DayItemFontWeight(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_ICalendarView::TodayFontWeight() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::TodayFontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_TodayFontWeight(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::TodayFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::TodayFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_TodayFontWeight(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontFamily() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_FirstOfMonthLabelFontFamily(&value)); return winrt::Windows::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_FirstOfMonthLabelFontFamily(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontSize() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_FirstOfMonthLabelFontSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontSize(double value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_FirstOfMonthLabelFontSize(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontStyle() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_FirstOfMonthLabelFontStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_FirstOfMonthLabelFontStyle(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontWeight() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_FirstOfMonthLabelFontWeight(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_FirstOfMonthLabelFontWeight(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_ICalendarView::MonthYearItemFontFamily() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::MonthYearItemFontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_MonthYearItemFontFamily(&value)); return winrt::Windows::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::MonthYearItemFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::MonthYearItemFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_MonthYearItemFontFamily(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ICalendarView::MonthYearItemFontSize() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::MonthYearItemFontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_MonthYearItemFontSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::MonthYearItemFontSize(double value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::MonthYearItemFontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_MonthYearItemFontSize(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_ICalendarView::MonthYearItemFontStyle() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::MonthYearItemFontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_MonthYearItemFontStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::MonthYearItemFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::MonthYearItemFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_MonthYearItemFontStyle(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_ICalendarView::MonthYearItemFontWeight() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::MonthYearItemFontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_MonthYearItemFontWeight(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::MonthYearItemFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::MonthYearItemFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_MonthYearItemFontWeight(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontFamily() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_FirstOfYearDecadeLabelFontFamily(&value)); return winrt::Windows::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_FirstOfYearDecadeLabelFontFamily(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontSize() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_FirstOfYearDecadeLabelFontSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontSize(double value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_FirstOfYearDecadeLabelFontSize(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontStyle() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_FirstOfYearDecadeLabelFontStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_FirstOfYearDecadeLabelFontStyle(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontWeight() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_FirstOfYearDecadeLabelFontWeight(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_FirstOfYearDecadeLabelFontWeight(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_Controls_ICalendarView::HorizontalDayItemAlignment() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::HorizontalDayItemAlignment() const { winrt::Windows::UI::Xaml::HorizontalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_HorizontalDayItemAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::HorizontalDayItemAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::HorizontalDayItemAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_HorizontalDayItemAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_Controls_ICalendarView::VerticalDayItemAlignment() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::VerticalDayItemAlignment() const { winrt::Windows::UI::Xaml::VerticalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_VerticalDayItemAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::VerticalDayItemAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::VerticalDayItemAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_VerticalDayItemAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_Controls_ICalendarView::HorizontalFirstOfMonthLabelAlignment() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::HorizontalFirstOfMonthLabelAlignment() const { winrt::Windows::UI::Xaml::HorizontalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_HorizontalFirstOfMonthLabelAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::HorizontalFirstOfMonthLabelAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::HorizontalFirstOfMonthLabelAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_HorizontalFirstOfMonthLabelAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_Controls_ICalendarView::VerticalFirstOfMonthLabelAlignment() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::VerticalFirstOfMonthLabelAlignment() const { winrt::Windows::UI::Xaml::VerticalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_VerticalFirstOfMonthLabelAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::VerticalFirstOfMonthLabelAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::VerticalFirstOfMonthLabelAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_VerticalFirstOfMonthLabelAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarItemBorderThickness() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarItemBorderThickness() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_CalendarItemBorderThickness(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarItemBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarItemBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_CalendarItemBorderThickness(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarViewDayItemStyle() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarViewDayItemStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_CalendarViewDayItemStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarViewDayItemStyle(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarViewDayItemStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_CalendarViewDayItemStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarViewDayItemChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarViewDayItemChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->add_CalendarViewDayItemChanging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarViewDayItemChanging_revoker consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarViewDayItemChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarViewDayItemChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CalendarViewDayItemChanging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarViewDayItemChanging(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::CalendarViewDayItemChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->remove_CalendarViewDayItemChanging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedDatesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedDatesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->add_SelectedDatesChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedDatesChanged_revoker consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedDatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedDatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectedDatesChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedDatesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::SelectedDatesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->remove_SelectedDatesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::SetDisplayDate(winrt::Windows::Foundation::DateTime const& date) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::SetDisplayDate(winrt::Windows::Foundation::DateTime const& date) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->SetDisplayDate(impl::bind_in(date))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView::SetYearDecadeDisplayDimensions(int32_t columns, int32_t rows) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarView::SetYearDecadeDisplayDimensions(int32_t columns, int32_t rows) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->SetYearDecadeDisplayDimensions(columns, rows)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem::IsBlackout() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem::IsBlackout() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItem)->get_IsBlackout(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem::IsBlackout(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem::IsBlackout(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItem)->put_IsBlackout(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem::Date() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem::Date() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItem)->get_Date(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem::SetDensityColors(param::iterable const& colors) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem::SetDensityColors(param::iterable const& colors) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItem)->SetDensityColors(*(void**)(&colors))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs::InRecycleQueue() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs::InRecycleQueue() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItemChangingEventArgs)->get_InRecycleQueue(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarViewDayItem) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs::Item() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItemChangingEventArgs)->get_Item(&value)); return winrt::Windows::UI::Xaml::Controls::CalendarViewDayItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs::Phase() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs::Phase() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItemChangingEventArgs)->get_Phase(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs::RegisterUpdateCallback(winrt::Windows::Foundation::TypedEventHandler const& callback) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs::RegisterUpdateCallback(winrt::Windows::Foundation::TypedEventHandler const& callback) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItemChangingEventArgs)->RegisterUpdateCallback(*(void**)(&callback))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs::RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler const& callback) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs::RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler const& callback) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItemChangingEventArgs)->RegisterUpdateCallbackWithPhase(callbackPhase, *(void**)(&callback))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarViewDayItem) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::CalendarViewDayItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemStatics::IsBlackoutProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemStatics::IsBlackoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItemStatics)->get_IsBlackoutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemStatics::DateProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemStatics::DateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItemStatics)->get_DateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarView) consume_Windows_UI_Xaml_Controls_ICalendarViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::CalendarView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Controls_ICalendarViewSelectedDatesChangedEventArgs::AddedDates() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewSelectedDatesChangedEventArgs::AddedDates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewSelectedDatesChangedEventArgs)->get_AddedDates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Controls_ICalendarViewSelectedDatesChangedEventArgs::RemovedDates() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewSelectedDatesChangedEventArgs::RemovedDates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewSelectedDatesChangedEventArgs)->get_RemovedDates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::CalendarIdentifierProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::CalendarIdentifierProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_CalendarIdentifierProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::DayOfWeekFormatProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::DayOfWeekFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_DayOfWeekFormatProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::IsGroupLabelVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::IsGroupLabelVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_IsGroupLabelVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::DisplayModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::DisplayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_DisplayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstDayOfWeekProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstDayOfWeekProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstDayOfWeekProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::IsOutOfScopeEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::IsOutOfScopeEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_IsOutOfScopeEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::IsTodayHighlightedProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::IsTodayHighlightedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_IsTodayHighlightedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::MaxDateProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::MaxDateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_MaxDateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::MinDateProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::MinDateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_MinDateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::NumberOfWeeksInViewProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::NumberOfWeeksInViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_NumberOfWeeksInViewProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::SelectedDatesProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::SelectedDatesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_SelectedDatesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::SelectionModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::SelectionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_SelectionModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::TemplateSettingsProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::TemplateSettingsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_TemplateSettingsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FocusBorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FocusBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_FocusBorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::SelectedHoverBorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::SelectedHoverBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_SelectedHoverBorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::SelectedPressedBorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::SelectedPressedBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_SelectedPressedBorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::SelectedBorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::SelectedBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_SelectedBorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::HoverBorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::HoverBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_HoverBorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::PressedBorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::PressedBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_PressedBorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::CalendarItemBorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::CalendarItemBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_CalendarItemBorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::OutOfScopeBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::OutOfScopeBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_OutOfScopeBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::CalendarItemBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::CalendarItemBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_CalendarItemBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::PressedForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::PressedForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_PressedForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::TodayForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::TodayForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_TodayForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::BlackoutForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::BlackoutForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_BlackoutForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::SelectedForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::SelectedForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_SelectedForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::OutOfScopeForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::OutOfScopeForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_OutOfScopeForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::CalendarItemForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::CalendarItemForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_CalendarItemForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::DayItemFontFamilyProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::DayItemFontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_DayItemFontFamilyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::DayItemFontSizeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::DayItemFontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_DayItemFontSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::DayItemFontStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::DayItemFontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_DayItemFontStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::DayItemFontWeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::DayItemFontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_DayItemFontWeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::TodayFontWeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::TodayFontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_TodayFontWeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstOfMonthLabelFontFamilyProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstOfMonthLabelFontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfMonthLabelFontFamilyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstOfMonthLabelFontSizeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstOfMonthLabelFontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfMonthLabelFontSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstOfMonthLabelFontStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstOfMonthLabelFontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfMonthLabelFontStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstOfMonthLabelFontWeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstOfMonthLabelFontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfMonthLabelFontWeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::MonthYearItemFontFamilyProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::MonthYearItemFontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_MonthYearItemFontFamilyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::MonthYearItemFontSizeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::MonthYearItemFontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_MonthYearItemFontSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::MonthYearItemFontStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::MonthYearItemFontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_MonthYearItemFontStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::MonthYearItemFontWeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::MonthYearItemFontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_MonthYearItemFontWeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstOfYearDecadeLabelFontFamilyProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstOfYearDecadeLabelFontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfYearDecadeLabelFontFamilyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstOfYearDecadeLabelFontSizeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstOfYearDecadeLabelFontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfYearDecadeLabelFontSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstOfYearDecadeLabelFontStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstOfYearDecadeLabelFontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfYearDecadeLabelFontStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstOfYearDecadeLabelFontWeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::FirstOfYearDecadeLabelFontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfYearDecadeLabelFontWeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::HorizontalDayItemAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::HorizontalDayItemAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_HorizontalDayItemAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::VerticalDayItemAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::VerticalDayItemAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_VerticalDayItemAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::HorizontalFirstOfMonthLabelAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::HorizontalFirstOfMonthLabelAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_HorizontalFirstOfMonthLabelAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::VerticalFirstOfMonthLabelAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::VerticalFirstOfMonthLabelAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_VerticalFirstOfMonthLabelAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::CalendarItemBorderThicknessProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::CalendarItemBorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_CalendarItemBorderThicknessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::CalendarViewDayItemStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics::CalendarViewDayItemStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics)->get_CalendarViewDayItemStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_ICandidateWindowBoundsChangedEventArgs::Bounds() const + template auto consume_Windows_UI_Xaml_Controls_ICandidateWindowBoundsChangedEventArgs::Bounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICandidateWindowBoundsChangedEventArgs)->get_Bounds(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Canvas) consume_Windows_UI_Xaml_Controls_ICanvasFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ICanvasFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICanvasFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Canvas{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICanvasStatics::LeftProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICanvasStatics::LeftProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICanvasStatics)->get_LeftProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ICanvasStatics::GetLeft(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_ICanvasStatics::GetLeft(winrt::Windows::UI::Xaml::UIElement const& element) const { double result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICanvasStatics)->GetLeft(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICanvasStatics::SetLeft(winrt::Windows::UI::Xaml::UIElement const& element, double length) const + template auto consume_Windows_UI_Xaml_Controls_ICanvasStatics::SetLeft(winrt::Windows::UI::Xaml::UIElement const& element, double length) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICanvasStatics)->SetLeft(*(void**)(&element), length)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICanvasStatics::TopProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICanvasStatics::TopProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICanvasStatics)->get_TopProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ICanvasStatics::GetTop(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_ICanvasStatics::GetTop(winrt::Windows::UI::Xaml::UIElement const& element) const { double result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICanvasStatics)->GetTop(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICanvasStatics::SetTop(winrt::Windows::UI::Xaml::UIElement const& element, double length) const + template auto consume_Windows_UI_Xaml_Controls_ICanvasStatics::SetTop(winrt::Windows::UI::Xaml::UIElement const& element, double length) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICanvasStatics)->SetTop(*(void**)(&element), length)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICanvasStatics::ZIndexProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICanvasStatics::ZIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICanvasStatics)->get_ZIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ICanvasStatics::GetZIndex(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_ICanvasStatics::GetZIndex(winrt::Windows::UI::Xaml::UIElement const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICanvasStatics)->GetZIndex(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICanvasStatics::SetZIndex(winrt::Windows::UI::Xaml::UIElement const& element, int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_ICanvasStatics::SetZIndex(winrt::Windows::UI::Xaml::UIElement const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICanvasStatics)->SetZIndex(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCapture) consume_Windows_UI_Xaml_Controls_ICaptureElement::Source() const + template auto consume_Windows_UI_Xaml_Controls_ICaptureElement::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICaptureElement)->get_Source(&value)); return winrt::Windows::Media::Capture::MediaCapture{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICaptureElement::Source(winrt::Windows::Media::Capture::MediaCapture const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICaptureElement::Source(winrt::Windows::Media::Capture::MediaCapture const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICaptureElement)->put_Source(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) consume_Windows_UI_Xaml_Controls_ICaptureElement::Stretch() const + template auto consume_Windows_UI_Xaml_Controls_ICaptureElement::Stretch() const { winrt::Windows::UI::Xaml::Media::Stretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICaptureElement)->get_Stretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICaptureElement::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICaptureElement::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICaptureElement)->put_Stretch(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICaptureElementStatics::SourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICaptureElementStatics::SourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICaptureElementStatics)->get_SourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICaptureElementStatics::StretchProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICaptureElementStatics::StretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICaptureElementStatics)->get_StretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CheckBox) consume_Windows_UI_Xaml_Controls_ICheckBoxFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ICheckBoxFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICheckBoxFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::CheckBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewBaseHeaderItem) consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs::GroupHeaderContainer() const + template auto consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs::GroupHeaderContainer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IChoosingGroupHeaderContainerEventArgs)->get_GroupHeaderContainer(&value)); return winrt::Windows::UI::Xaml::Controls::ListViewBaseHeaderItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs::GroupHeaderContainer(winrt::Windows::UI::Xaml::Controls::ListViewBaseHeaderItem const& value) const + template auto consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs::GroupHeaderContainer(winrt::Windows::UI::Xaml::Controls::ListViewBaseHeaderItem const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IChoosingGroupHeaderContainerEventArgs)->put_GroupHeaderContainer(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs::GroupIndex() const + template auto consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs::GroupIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IChoosingGroupHeaderContainerEventArgs)->get_GroupIndex(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs::Group() const + template auto consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs::Group() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IChoosingGroupHeaderContainerEventArgs)->get_Group(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs::ItemIndex() const + template auto consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs::ItemIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IChoosingItemContainerEventArgs)->get_ItemIndex(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs::Item() const + template auto consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IChoosingItemContainerEventArgs)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem) consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs::ItemContainer() const + template auto consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs::ItemContainer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IChoosingItemContainerEventArgs)->get_ItemContainer(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs::ItemContainer(winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem const& value) const + template auto consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs::ItemContainer(winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IChoosingItemContainerEventArgs)->put_ItemContainer(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs::IsContainerPrepared() const + template auto consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs::IsContainerPrepared() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IChoosingItemContainerEventArgs)->get_IsContainerPrepared(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs::IsContainerPrepared(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs::IsContainerPrepared(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IChoosingItemContainerEventArgs)->put_IsContainerPrepared(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs::Value() const + template auto consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICleanUpVirtualizedItemEventArgs)->get_Value(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs::UIElement() const + template auto consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs::UIElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICleanUpVirtualizedItemEventArgs)->get_UIElement(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICleanUpVirtualizedItemEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICleanUpVirtualizedItemEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_IColorChangedEventArgs::OldColor() const + template auto consume_Windows_UI_Xaml_Controls_IColorChangedEventArgs::OldColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorChangedEventArgs)->get_OldColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_IColorChangedEventArgs::NewColor() const + template auto consume_Windows_UI_Xaml_Controls_IColorChangedEventArgs::NewColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorChangedEventArgs)->get_NewColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_IColorPicker::Color() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_IColorPicker::PreviousColor() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::PreviousColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_PreviousColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::PreviousColor(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::PreviousColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_PreviousColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker::IsAlphaEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsAlphaEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsAlphaEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::IsAlphaEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsAlphaEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsAlphaEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker::IsColorSpectrumVisible() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsColorSpectrumVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsColorSpectrumVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::IsColorSpectrumVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsColorSpectrumVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsColorSpectrumVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker::IsColorPreviewVisible() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsColorPreviewVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsColorPreviewVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::IsColorPreviewVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsColorPreviewVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsColorPreviewVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker::IsColorSliderVisible() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsColorSliderVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsColorSliderVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::IsColorSliderVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsColorSliderVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsColorSliderVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker::IsAlphaSliderVisible() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsAlphaSliderVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsAlphaSliderVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::IsAlphaSliderVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsAlphaSliderVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsAlphaSliderVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker::IsMoreButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsMoreButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsMoreButtonVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::IsMoreButtonVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsMoreButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsMoreButtonVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker::IsColorChannelTextInputVisible() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsColorChannelTextInputVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsColorChannelTextInputVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::IsColorChannelTextInputVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsColorChannelTextInputVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsColorChannelTextInputVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker::IsAlphaTextInputVisible() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsAlphaTextInputVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsAlphaTextInputVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::IsAlphaTextInputVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsAlphaTextInputVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsAlphaTextInputVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker::IsHexInputVisible() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsHexInputVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsHexInputVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::IsHexInputVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::IsHexInputVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsHexInputVisible(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IColorPicker::MinHue() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::MinHue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_MinHue(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::MinHue(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::MinHue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_MinHue(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IColorPicker::MaxHue() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::MaxHue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_MaxHue(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::MaxHue(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::MaxHue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_MaxHue(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IColorPicker::MinSaturation() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::MinSaturation() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_MinSaturation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::MinSaturation(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::MinSaturation(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_MinSaturation(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IColorPicker::MaxSaturation() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::MaxSaturation() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_MaxSaturation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::MaxSaturation(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::MaxSaturation(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_MaxSaturation(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IColorPicker::MinValue() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::MinValue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_MinValue(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::MinValue(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::MinValue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_MinValue(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IColorPicker::MaxValue() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::MaxValue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_MaxValue(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::MaxValue(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::MaxValue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_MaxValue(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape) consume_Windows_UI_Xaml_Controls_IColorPicker::ColorSpectrumShape() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::ColorSpectrumShape() const { winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_ColorSpectrumShape(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::ColorSpectrumShape(winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape const& value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::ColorSpectrumShape(winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_ColorSpectrumShape(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents) consume_Windows_UI_Xaml_Controls_IColorPicker::ColorSpectrumComponents() const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::ColorSpectrumComponents() const { winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_ColorSpectrumComponents(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::ColorSpectrumComponents(winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents const& value) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::ColorSpectrumComponents(winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_ColorSpectrumComponents(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IColorPicker::ColorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::ColorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->add_ColorChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IColorPicker::ColorChanged_revoker consume_Windows_UI_Xaml_Controls_IColorPicker::ColorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::ColorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ColorChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker::ColorChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IColorPicker::ColorChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->remove_ColorChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorPicker) consume_Windows_UI_Xaml_Controls_IColorPickerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ColorPicker{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::ColorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::ColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_ColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::PreviousColorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::PreviousColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_PreviousColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsAlphaEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsAlphaEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_IsAlphaEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsColorSpectrumVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsColorSpectrumVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_IsColorSpectrumVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsColorPreviewVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsColorPreviewVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_IsColorPreviewVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsColorSliderVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsColorSliderVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_IsColorSliderVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsAlphaSliderVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsAlphaSliderVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_IsAlphaSliderVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsMoreButtonVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsMoreButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_IsMoreButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsColorChannelTextInputVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsColorChannelTextInputVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_IsColorChannelTextInputVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsAlphaTextInputVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsAlphaTextInputVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_IsAlphaTextInputVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsHexInputVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::IsHexInputVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_IsHexInputVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::MinHueProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::MinHueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_MinHueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::MaxHueProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::MaxHueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_MaxHueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::MinSaturationProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::MinSaturationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_MinSaturationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::MaxSaturationProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::MaxSaturationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_MaxSaturationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::MinValueProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::MinValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_MinValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::MaxValueProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::MaxValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_MaxValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::ColorSpectrumShapeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::ColorSpectrumShapeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_ColorSpectrumShapeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics::ColorSpectrumComponentsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics::ColorSpectrumComponentsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPickerStatics)->get_ColorSpectrumComponentsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_Controls_IColumnDefinition::Width() const + template auto consume_Windows_UI_Xaml_Controls_IColumnDefinition::Width() const { winrt::Windows::UI::Xaml::GridLength value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColumnDefinition)->get_Width(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColumnDefinition::Width(winrt::Windows::UI::Xaml::GridLength const& value) const + template auto consume_Windows_UI_Xaml_Controls_IColumnDefinition::Width(winrt::Windows::UI::Xaml::GridLength const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColumnDefinition)->put_Width(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IColumnDefinition::MaxWidth() const + template auto consume_Windows_UI_Xaml_Controls_IColumnDefinition::MaxWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColumnDefinition)->get_MaxWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColumnDefinition::MaxWidth(double value) const + template auto consume_Windows_UI_Xaml_Controls_IColumnDefinition::MaxWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColumnDefinition)->put_MaxWidth(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IColumnDefinition::MinWidth() const + template auto consume_Windows_UI_Xaml_Controls_IColumnDefinition::MinWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColumnDefinition)->get_MinWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColumnDefinition::MinWidth(double value) const + template auto consume_Windows_UI_Xaml_Controls_IColumnDefinition::MinWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColumnDefinition)->put_MinWidth(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IColumnDefinition::ActualWidth() const + template auto consume_Windows_UI_Xaml_Controls_IColumnDefinition::ActualWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColumnDefinition)->get_ActualWidth(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColumnDefinitionStatics::WidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColumnDefinitionStatics::WidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColumnDefinitionStatics)->get_WidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColumnDefinitionStatics::MaxWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColumnDefinitionStatics::MaxWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColumnDefinitionStatics)->get_MaxWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColumnDefinitionStatics::MinWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IColumnDefinitionStatics::MinWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColumnDefinitionStatics)->get_MinWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IComboBox::IsDropDownOpen() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox::IsDropDownOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->get_IsDropDownOpen(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox::IsDropDownOpen(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox::IsDropDownOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->put_IsDropDownOpen(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IComboBox::IsEditable() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox::IsEditable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->get_IsEditable(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IComboBox::IsSelectionBoxHighlighted() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox::IsSelectionBoxHighlighted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->get_IsSelectionBoxHighlighted(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IComboBox::MaxDropDownHeight() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox::MaxDropDownHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->get_MaxDropDownHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox::MaxDropDownHeight(double value) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox::MaxDropDownHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->put_MaxDropDownHeight(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IComboBox::SelectionBoxItem() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox::SelectionBoxItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->get_SelectionBoxItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IComboBox::SelectionBoxItemTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox::SelectionBoxItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->get_SelectionBoxItemTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ComboBoxTemplateSettings) consume_Windows_UI_Xaml_Controls_IComboBox::TemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->get_TemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::ComboBoxTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IComboBox::DropDownClosed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox::DropDownClosed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->add_DropDownClosed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IComboBox::DropDownClosed_revoker consume_Windows_UI_Xaml_Controls_IComboBox::DropDownClosed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox::DropDownClosed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, DropDownClosed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox::DropDownClosed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IComboBox::DropDownClosed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->remove_DropDownClosed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IComboBox::DropDownOpened(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox::DropDownOpened(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->add_DropDownOpened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IComboBox::DropDownOpened_revoker consume_Windows_UI_Xaml_Controls_IComboBox::DropDownOpened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox::DropDownOpened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, DropDownOpened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox::DropDownOpened(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IComboBox::DropDownOpened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->remove_DropDownOpened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IComboBox2::Header() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox2::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox2)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox2::Header(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox2::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox2)->put_Header(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IComboBox2::HeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox2::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox2)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox2::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox2::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox2)->put_HeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IComboBox2::PlaceholderText() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox2::PlaceholderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox2)->get_PlaceholderText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox2::PlaceholderText(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox2::PlaceholderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox2)->put_PlaceholderText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_IComboBox3::LightDismissOverlayMode() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox3::LightDismissOverlayMode() const { winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox3)->get_LightDismissOverlayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox3::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox3::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox3)->put_LightDismissOverlayMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IComboBox3::IsTextSearchEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox3::IsTextSearchEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox3)->get_IsTextSearchEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox3::IsTextSearchEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox3::IsTextSearchEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox3)->put_IsTextSearchEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ComboBoxSelectionChangedTrigger) consume_Windows_UI_Xaml_Controls_IComboBox4::SelectionChangedTrigger() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox4::SelectionChangedTrigger() const { winrt::Windows::UI::Xaml::Controls::ComboBoxSelectionChangedTrigger value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox4)->get_SelectionChangedTrigger(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox4::SelectionChangedTrigger(winrt::Windows::UI::Xaml::Controls::ComboBoxSelectionChangedTrigger const& value) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox4::SelectionChangedTrigger(winrt::Windows::UI::Xaml::Controls::ComboBoxSelectionChangedTrigger const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox4)->put_SelectionChangedTrigger(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IComboBox5::PlaceholderForeground() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox5::PlaceholderForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox5)->get_PlaceholderForeground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox5::PlaceholderForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox5::PlaceholderForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox5)->put_PlaceholderForeground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox6::IsEditable(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox6::IsEditable(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox6)->put_IsEditable(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IComboBox6::Text() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox6::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox6)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox6::Text(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox6::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox6)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IComboBox6::TextBoxStyle() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox6::TextBoxStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox6)->get_TextBoxStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox6::TextBoxStyle(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox6::TextBoxStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox6)->put_TextBoxStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IComboBox6::Description() const + template auto consume_Windows_UI_Xaml_Controls_IComboBox6::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox6)->get_Description(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox6::Description(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox6::Description(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox6)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IComboBox6::TextSubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox6::TextSubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox6)->add_TextSubmitted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IComboBox6::TextSubmitted_revoker consume_Windows_UI_Xaml_Controls_IComboBox6::TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IComboBox6::TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextSubmitted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox6::TextSubmitted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IComboBox6::TextSubmitted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox6)->remove_TextSubmitted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ComboBox) consume_Windows_UI_Xaml_Controls_IComboBoxFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ComboBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ComboBoxItem) consume_Windows_UI_Xaml_Controls_IComboBoxItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ComboBoxItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBoxOverrides::OnDropDownClosed(winrt::Windows::Foundation::IInspectable const& e) const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxOverrides::OnDropDownClosed(winrt::Windows::Foundation::IInspectable const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxOverrides)->OnDropDownClosed(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBoxOverrides::OnDropDownOpened(winrt::Windows::Foundation::IInspectable const& e) const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxOverrides::OnDropDownOpened(winrt::Windows::Foundation::IInspectable const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxOverrides)->OnDropDownOpened(*(void**)(&e))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics::IsDropDownOpenProperty() const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics::IsDropDownOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxStatics)->get_IsDropDownOpenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics::MaxDropDownHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics::MaxDropDownHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxStatics)->get_MaxDropDownHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics2::HeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics2::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxStatics2)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics2::HeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics2::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxStatics2)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics2::PlaceholderTextProperty() const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics2::PlaceholderTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxStatics2)->get_PlaceholderTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics3::LightDismissOverlayModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics3::LightDismissOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxStatics3)->get_LightDismissOverlayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics3::IsTextSearchEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics3::IsTextSearchEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxStatics3)->get_IsTextSearchEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics4::SelectionChangedTriggerProperty() const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics4::SelectionChangedTriggerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxStatics4)->get_SelectionChangedTriggerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics5::PlaceholderForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics5::PlaceholderForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxStatics5)->get_PlaceholderForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics6::IsEditableProperty() const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics6::IsEditableProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxStatics6)->get_IsEditableProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics6::TextProperty() const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics6::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxStatics6)->get_TextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics6::TextBoxStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics6::TextBoxStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxStatics6)->get_TextBoxStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics6::DescriptionProperty() const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics6::DescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxStatics6)->get_DescriptionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IComboBoxTextSubmittedEventArgs::Text() const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxTextSubmittedEventArgs::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxTextSubmittedEventArgs)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IComboBoxTextSubmittedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxTextSubmittedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxTextSubmittedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBoxTextSubmittedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IComboBoxTextSubmittedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxTextSubmittedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) consume_Windows_UI_Xaml_Controls_ICommandBar::PrimaryCommands() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBar::PrimaryCommands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar)->get_PrimaryCommands(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) consume_Windows_UI_Xaml_Controls_ICommandBar::SecondaryCommands() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBar::SecondaryCommands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar)->get_SecondaryCommands(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_ICommandBar2::CommandBarOverflowPresenterStyle() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBar2::CommandBarOverflowPresenterStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar2)->get_CommandBarOverflowPresenterStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICommandBar2::CommandBarOverflowPresenterStyle(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICommandBar2::CommandBarOverflowPresenterStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar2)->put_CommandBarOverflowPresenterStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::CommandBarTemplateSettings) consume_Windows_UI_Xaml_Controls_ICommandBar2::CommandBarTemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBar2::CommandBarTemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar2)->get_CommandBarTemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::CommandBarTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarDefaultLabelPosition) consume_Windows_UI_Xaml_Controls_ICommandBar3::DefaultLabelPosition() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBar3::DefaultLabelPosition() const { winrt::Windows::UI::Xaml::Controls::CommandBarDefaultLabelPosition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar3)->get_DefaultLabelPosition(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICommandBar3::DefaultLabelPosition(winrt::Windows::UI::Xaml::Controls::CommandBarDefaultLabelPosition const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICommandBar3::DefaultLabelPosition(winrt::Windows::UI::Xaml::Controls::CommandBarDefaultLabelPosition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar3)->put_DefaultLabelPosition(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarOverflowButtonVisibility) consume_Windows_UI_Xaml_Controls_ICommandBar3::OverflowButtonVisibility() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBar3::OverflowButtonVisibility() const { winrt::Windows::UI::Xaml::Controls::CommandBarOverflowButtonVisibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar3)->get_OverflowButtonVisibility(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICommandBar3::OverflowButtonVisibility(winrt::Windows::UI::Xaml::Controls::CommandBarOverflowButtonVisibility const& value) const + template auto consume_Windows_UI_Xaml_Controls_ICommandBar3::OverflowButtonVisibility(winrt::Windows::UI::Xaml::Controls::CommandBarOverflowButtonVisibility const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar3)->put_OverflowButtonVisibility(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICommandBar3::IsDynamicOverflowEnabled() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBar3::IsDynamicOverflowEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar3)->get_IsDynamicOverflowEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICommandBar3::IsDynamicOverflowEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ICommandBar3::IsDynamicOverflowEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar3)->put_IsDynamicOverflowEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ICommandBar3::DynamicOverflowItemsChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ICommandBar3::DynamicOverflowItemsChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar3)->add_DynamicOverflowItemsChanging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ICommandBar3::DynamicOverflowItemsChanging_revoker consume_Windows_UI_Xaml_Controls_ICommandBar3::DynamicOverflowItemsChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ICommandBar3::DynamicOverflowItemsChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DynamicOverflowItemsChanging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICommandBar3::DynamicOverflowItemsChanging(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ICommandBar3::DynamicOverflowItemsChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar3)->remove_DynamicOverflowItemsChanging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICommandBarElement::IsCompact() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBarElement::IsCompact() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarElement)->get_IsCompact(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICommandBarElement::IsCompact(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ICommandBarElement::IsCompact(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarElement)->put_IsCompact(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICommandBarElement2::IsInOverflow() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBarElement2::IsInOverflow() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarElement2)->get_IsInOverflow(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ICommandBarElement2::DynamicOverflowOrder() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBarElement2::DynamicOverflowOrder() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarElement2)->get_DynamicOverflowOrder(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICommandBarElement2::DynamicOverflowOrder(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_ICommandBarElement2::DynamicOverflowOrder(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarElement2)->put_DynamicOverflowOrder(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBar) consume_Windows_UI_Xaml_Controls_ICommandBarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ICommandBarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::CommandBar{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) consume_Windows_UI_Xaml_Controls_ICommandBarFlyout::PrimaryCommands() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBarFlyout::PrimaryCommands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarFlyout)->get_PrimaryCommands(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) consume_Windows_UI_Xaml_Controls_ICommandBarFlyout::SecondaryCommands() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBarFlyout::SecondaryCommands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarFlyout)->get_SecondaryCommands(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarFlyout) consume_Windows_UI_Xaml_Controls_ICommandBarFlyoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ICommandBarFlyoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarFlyoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::CommandBarFlyout{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarOverflowPresenter) consume_Windows_UI_Xaml_Controls_ICommandBarOverflowPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ICommandBarOverflowPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarOverflowPresenterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::CommandBarOverflowPresenter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICommandBarStatics::PrimaryCommandsProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBarStatics::PrimaryCommandsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarStatics)->get_PrimaryCommandsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICommandBarStatics::SecondaryCommandsProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBarStatics::SecondaryCommandsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarStatics)->get_SecondaryCommandsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICommandBarStatics2::CommandBarOverflowPresenterStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBarStatics2::CommandBarOverflowPresenterStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarStatics2)->get_CommandBarOverflowPresenterStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICommandBarStatics3::DefaultLabelPositionProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBarStatics3::DefaultLabelPositionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarStatics3)->get_DefaultLabelPositionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICommandBarStatics3::OverflowButtonVisibilityProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBarStatics3::OverflowButtonVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarStatics3)->get_OverflowButtonVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICommandBarStatics3::IsDynamicOverflowEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_ICommandBarStatics3::IsDynamicOverflowEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarStatics3)->get_IsDynamicOverflowEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::ItemContainer() const + template auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::ItemContainer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs)->get_ItemContainer(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::InRecycleQueue() const + template auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::InRecycleQueue() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs)->get_InRecycleQueue(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::ItemIndex() const + template auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::ItemIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs)->get_ItemIndex(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::Item() const + template auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::Phase() const + template auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::Phase() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs)->get_Phase(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::RegisterUpdateCallback(winrt::Windows::Foundation::TypedEventHandler const& callback) const + template auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::RegisterUpdateCallback(winrt::Windows::Foundation::TypedEventHandler const& callback) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs)->RegisterUpdateCallback(*(void**)(&callback))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler const& callback) const + template auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs::RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler const& callback) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs)->RegisterUpdateCallbackWithPhase(callbackPhase, *(void**)(&callback))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IContentControl::Content() const + template auto consume_Windows_UI_Xaml_Controls_IContentControl::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControl)->get_Content(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentControl::Content(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentControl::Content(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControl)->put_Content(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IContentControl::ContentTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IContentControl::ContentTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControl)->get_ContentTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentControl::ContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentControl::ContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControl)->put_ContentTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) consume_Windows_UI_Xaml_Controls_IContentControl::ContentTemplateSelector() const + template auto consume_Windows_UI_Xaml_Controls_IContentControl::ContentTemplateSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControl)->get_ContentTemplateSelector(&value)); return winrt::Windows::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentControl::ContentTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentControl::ContentTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControl)->put_ContentTemplateSelector(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IContentControl::ContentTransitions() const + template auto consume_Windows_UI_Xaml_Controls_IContentControl::ContentTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControl)->get_ContentTransitions(&value)); return winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentControl::ContentTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentControl::ContentTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControl)->put_ContentTransitions(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IContentControl2::ContentTemplateRoot() const + template auto consume_Windows_UI_Xaml_Controls_IContentControl2::ContentTemplateRoot() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControl2)->get_ContentTemplateRoot(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentControl) consume_Windows_UI_Xaml_Controls_IContentControlFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IContentControlFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControlFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ContentControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentControlOverrides::OnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const + template auto consume_Windows_UI_Xaml_Controls_IContentControlOverrides::OnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControlOverrides)->OnContentChanged(*(void**)(&oldContent), *(void**)(&newContent))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentControlOverrides::OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const + template auto consume_Windows_UI_Xaml_Controls_IContentControlOverrides::OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControlOverrides)->OnContentTemplateChanged(*(void**)(&oldContentTemplate), *(void**)(&newContentTemplate))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentControlOverrides::OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const + template auto consume_Windows_UI_Xaml_Controls_IContentControlOverrides::OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControlOverrides)->OnContentTemplateSelectorChanged(*(void**)(&oldContentTemplateSelector), *(void**)(&newContentTemplateSelector))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentControlStatics::ContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentControlStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControlStatics)->get_ContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentControlStatics::ContentTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentControlStatics::ContentTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControlStatics)->get_ContentTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentControlStatics::ContentTemplateSelectorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentControlStatics::ContentTemplateSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControlStatics)->get_ContentTemplateSelectorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentControlStatics::ContentTransitionsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentControlStatics::ContentTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControlStatics)->get_ContentTransitionsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IContentDialog::Title() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->get_Title(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::Title(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::Title(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IContentDialog::TitleTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::TitleTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->get_TitleTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::TitleTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::TitleTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_TitleTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContentDialog::FullSizeDesired() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::FullSizeDesired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->get_FullSizeDesired(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::FullSizeDesired(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::FullSizeDesired(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_FullSizeDesired(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonText() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->get_PrimaryButtonText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonText(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_PrimaryButtonText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonText() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->get_SecondaryButtonText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonText(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_SecondaryButtonText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonCommand() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonCommand() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->get_PrimaryButtonCommand(&value)); return winrt::Windows::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_PrimaryButtonCommand(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonCommand() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonCommand() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->get_SecondaryButtonCommand(&value)); return winrt::Windows::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_SecondaryButtonCommand(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonCommandParameter() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonCommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->get_PrimaryButtonCommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_PrimaryButtonCommandParameter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonCommandParameter() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonCommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->get_SecondaryButtonCommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_SecondaryButtonCommandParameter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContentDialog::IsPrimaryButtonEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::IsPrimaryButtonEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->get_IsPrimaryButtonEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::IsPrimaryButtonEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::IsPrimaryButtonEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_IsPrimaryButtonEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContentDialog::IsSecondaryButtonEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::IsSecondaryButtonEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->get_IsSecondaryButtonEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::IsSecondaryButtonEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::IsSecondaryButtonEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_IsSecondaryButtonEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IContentDialog::Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->add_Closing(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IContentDialog::Closing_revoker consume_Windows_UI_Xaml_Controls_IContentDialog::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closing(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::Closing(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::Closing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->remove_Closing(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IContentDialog::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IContentDialog::Closed_revoker consume_Windows_UI_Xaml_Controls_IContentDialog::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IContentDialog::Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->add_Opened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IContentDialog::Opened_revoker consume_Windows_UI_Xaml_Controls_IContentDialog::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Opened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::Opened(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::Opened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->remove_Opened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->add_PrimaryButtonClick(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonClick_revoker consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PrimaryButtonClick(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonClick(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::PrimaryButtonClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->remove_PrimaryButtonClick(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->add_SecondaryButtonClick(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonClick_revoker consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SecondaryButtonClick(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonClick(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::SecondaryButtonClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->remove_SecondaryButtonClick(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog::Hide() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::Hide() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->Hide()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_IContentDialog::ShowAsync() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog::ShowAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->ShowAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonText() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->get_CloseButtonText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonText(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->put_CloseButtonText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonCommand() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonCommand() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->get_CloseButtonCommand(&value)); return winrt::Windows::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->put_CloseButtonCommand(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonCommandParameter() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonCommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->get_CloseButtonCommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->put_CloseButtonCommandParameter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IContentDialog2::PrimaryButtonStyle() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::PrimaryButtonStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->get_PrimaryButtonStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog2::PrimaryButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::PrimaryButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->put_PrimaryButtonStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IContentDialog2::SecondaryButtonStyle() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::SecondaryButtonStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->get_SecondaryButtonStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog2::SecondaryButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::SecondaryButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->put_SecondaryButtonStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonStyle() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->get_CloseButtonStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->put_CloseButtonStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialogButton) consume_Windows_UI_Xaml_Controls_IContentDialog2::DefaultButton() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::DefaultButton() const { winrt::Windows::UI::Xaml::Controls::ContentDialogButton value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->get_DefaultButton(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog2::DefaultButton(winrt::Windows::UI::Xaml::Controls::ContentDialogButton const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::DefaultButton(winrt::Windows::UI::Xaml::Controls::ContentDialogButton const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->put_DefaultButton(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->add_CloseButtonClick(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonClick_revoker consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CloseButtonClick(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonClick(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IContentDialog2::CloseButtonClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->remove_CloseButtonClick(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_IContentDialog3::ShowAsync(winrt::Windows::UI::Xaml::Controls::ContentDialogPlacement const& placement) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialog3::ShowAsync(winrt::Windows::UI::Xaml::Controls::ContentDialogPlacement const& placement) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog3)->ShowAsyncWithPlacement(static_cast(placement), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickDeferral::Complete() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogButtonClickDeferral)->Complete()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogButtonClickEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogButtonClickEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickDeferral) consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickEventArgs::GetDeferral() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogButtonClickEventArgs)->GetDeferral(&result)); return winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickDeferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialogResult) consume_Windows_UI_Xaml_Controls_IContentDialogClosedEventArgs::Result() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogClosedEventArgs::Result() const { winrt::Windows::UI::Xaml::Controls::ContentDialogResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogClosedEventArgs)->get_Result(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialogClosingDeferral::Complete() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogClosingDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogClosingDeferral)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialogResult) consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs::Result() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs::Result() const { winrt::Windows::UI::Xaml::Controls::ContentDialogResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogClosingEventArgs)->get_Result(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogClosingEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogClosingEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialogClosingDeferral) consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs::GetDeferral() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogClosingEventArgs)->GetDeferral(&result)); return winrt::Windows::UI::Xaml::Controls::ContentDialogClosingDeferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialog) consume_Windows_UI_Xaml_Controls_IContentDialogFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ContentDialog{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics::TitleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics::TitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics)->get_TitleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics::TitleTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics::TitleTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics)->get_TitleTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics::FullSizeDesiredProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics::FullSizeDesiredProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics)->get_FullSizeDesiredProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics::PrimaryButtonTextProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics::PrimaryButtonTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics)->get_PrimaryButtonTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics::SecondaryButtonTextProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics::SecondaryButtonTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics)->get_SecondaryButtonTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics::PrimaryButtonCommandProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics::PrimaryButtonCommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics)->get_PrimaryButtonCommandProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics::SecondaryButtonCommandProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics::SecondaryButtonCommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics)->get_SecondaryButtonCommandProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics::PrimaryButtonCommandParameterProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics::PrimaryButtonCommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics)->get_PrimaryButtonCommandParameterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics::SecondaryButtonCommandParameterProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics::SecondaryButtonCommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics)->get_SecondaryButtonCommandParameterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics::IsPrimaryButtonEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics::IsPrimaryButtonEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics)->get_IsPrimaryButtonEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics::IsSecondaryButtonEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics::IsSecondaryButtonEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics)->get_IsSecondaryButtonEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics2::CloseButtonTextProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics2::CloseButtonTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics2)->get_CloseButtonTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics2::CloseButtonCommandProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics2::CloseButtonCommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics2)->get_CloseButtonCommandProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics2::CloseButtonCommandParameterProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics2::CloseButtonCommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics2)->get_CloseButtonCommandParameterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics2::PrimaryButtonStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics2::PrimaryButtonStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics2)->get_PrimaryButtonStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics2::SecondaryButtonStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics2::SecondaryButtonStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics2)->get_SecondaryButtonStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics2::CloseButtonStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics2::CloseButtonStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics2)->get_CloseButtonStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics2::DefaultButtonProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics2::DefaultButtonProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogStatics2)->get_DefaultButtonProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentLinkChangeKind) consume_Windows_UI_Xaml_Controls_IContentLinkChangedEventArgs::ChangeKind() const + template auto consume_Windows_UI_Xaml_Controls_IContentLinkChangedEventArgs::ChangeKind() const { winrt::Windows::UI::Xaml::Controls::ContentLinkChangeKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentLinkChangedEventArgs)->get_ChangeKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ContentLinkInfo) consume_Windows_UI_Xaml_Controls_IContentLinkChangedEventArgs::ContentLinkInfo() const + template auto consume_Windows_UI_Xaml_Controls_IContentLinkChangedEventArgs::ContentLinkInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentLinkChangedEventArgs)->get_ContentLinkInfo(&value)); return winrt::Windows::UI::Text::ContentLinkInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextRange) consume_Windows_UI_Xaml_Controls_IContentLinkChangedEventArgs::TextRange() const + template auto consume_Windows_UI_Xaml_Controls_IContentLinkChangedEventArgs::TextRange() const { winrt::Windows::UI::Xaml::Documents::TextRange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentLinkChangedEventArgs)->get_TextRange(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IContentPresenter::Content() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->get_Content(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter::Content(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::Content(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->put_Content(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IContentPresenter::ContentTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::ContentTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->get_ContentTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter::ContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::ContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->put_ContentTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) consume_Windows_UI_Xaml_Controls_IContentPresenter::ContentTemplateSelector() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::ContentTemplateSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->get_ContentTemplateSelector(&value)); return winrt::Windows::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter::ContentTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::ContentTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->put_ContentTemplateSelector(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IContentPresenter::ContentTransitions() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::ContentTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->get_ContentTransitions(&value)); return winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter::ContentTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::ContentTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->put_ContentTransitions(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IContentPresenter::FontSize() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::FontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->get_FontSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter::FontSize(double value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::FontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->put_FontSize(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_IContentPresenter::FontFamily() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::FontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->get_FontFamily(&value)); return winrt::Windows::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->put_FontFamily(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_IContentPresenter::FontWeight() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::FontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->get_FontWeight(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->put_FontWeight(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_IContentPresenter::FontStyle() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::FontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->get_FontStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->put_FontStyle(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) consume_Windows_UI_Xaml_Controls_IContentPresenter::FontStretch() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::FontStretch() const { winrt::Windows::UI::Text::FontStretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->get_FontStretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->put_FontStretch(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IContentPresenter::CharacterSpacing() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::CharacterSpacing() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->get_CharacterSpacing(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter::CharacterSpacing(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::CharacterSpacing(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->put_CharacterSpacing(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IContentPresenter::Foreground() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::Foreground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->get_Foreground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->put_Foreground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::OpticalMarginAlignment) consume_Windows_UI_Xaml_Controls_IContentPresenter2::OpticalMarginAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter2::OpticalMarginAlignment() const { winrt::Windows::UI::Xaml::OpticalMarginAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter2)->get_OpticalMarginAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter2::OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter2::OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter2)->put_OpticalMarginAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextLineBounds) consume_Windows_UI_Xaml_Controls_IContentPresenter2::TextLineBounds() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter2::TextLineBounds() const { winrt::Windows::UI::Xaml::TextLineBounds value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter2)->get_TextLineBounds(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter2::TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter2::TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter2)->put_TextLineBounds(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContentPresenter3::IsTextScaleFactorEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter3::IsTextScaleFactorEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter3)->get_IsTextScaleFactorEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter3::IsTextScaleFactorEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter3::IsTextScaleFactorEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter3)->put_IsTextScaleFactorEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextWrapping) consume_Windows_UI_Xaml_Controls_IContentPresenter4::TextWrapping() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::TextWrapping() const { winrt::Windows::UI::Xaml::TextWrapping value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_TextWrapping(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_TextWrapping(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IContentPresenter4::MaxLines() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::MaxLines() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_MaxLines(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4::MaxLines(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::MaxLines(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_MaxLines(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::LineStackingStrategy) consume_Windows_UI_Xaml_Controls_IContentPresenter4::LineStackingStrategy() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::LineStackingStrategy() const { winrt::Windows::UI::Xaml::LineStackingStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_LineStackingStrategy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4::LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_LineStackingStrategy(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IContentPresenter4::LineHeight() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::LineHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_LineHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4::LineHeight(double value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::LineHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_LineHeight(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IContentPresenter4::BorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::BorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_BorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_BorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IContentPresenter4::BorderThickness() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::BorderThickness() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_BorderThickness(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_BorderThickness(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_Controls_IContentPresenter4::CornerRadius() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::CornerRadius() const { winrt::Windows::UI::Xaml::CornerRadius value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_CornerRadius(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_CornerRadius(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IContentPresenter4::Padding() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::Padding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_Padding(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_Padding(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IContentPresenter4::Background() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::Background() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_Background(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_Background(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_Controls_IContentPresenter4::HorizontalContentAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::HorizontalContentAlignment() const { winrt::Windows::UI::Xaml::HorizontalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_HorizontalContentAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4::HorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::HorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_HorizontalContentAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_Controls_IContentPresenter4::VerticalContentAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::VerticalContentAlignment() const { winrt::Windows::UI::Xaml::VerticalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_VerticalContentAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4::VerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter4::VerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_VerticalContentAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::BrushTransition) consume_Windows_UI_Xaml_Controls_IContentPresenter5::BackgroundTransition() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter5::BackgroundTransition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter5)->get_BackgroundTransition(&value)); return winrt::Windows::UI::Xaml::BrushTransition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter5::BackgroundTransition(winrt::Windows::UI::Xaml::BrushTransition const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter5::BackgroundTransition(winrt::Windows::UI::Xaml::BrushTransition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter5)->put_BackgroundTransition(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) consume_Windows_UI_Xaml_Controls_IContentPresenter5::BackgroundSizing() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter5::BackgroundSizing() const { winrt::Windows::UI::Xaml::Controls::BackgroundSizing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter5)->get_BackgroundSizing(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter5::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenter5::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter5)->put_BackgroundSizing(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentPresenter) consume_Windows_UI_Xaml_Controls_IContentPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ContentPresenter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenterOverrides::OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterOverrides::OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterOverrides)->OnContentTemplateChanged(*(void**)(&oldContentTemplate), *(void**)(&newContentTemplate))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenterOverrides::OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterOverrides::OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterOverrides)->OnContentTemplateSelectorChanged(*(void**)(&oldContentTemplateSelector), *(void**)(&newContentTemplateSelector))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::ContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics)->get_ContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::ContentTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::ContentTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics)->get_ContentTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::ContentTemplateSelectorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::ContentTemplateSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics)->get_ContentTemplateSelectorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::ContentTransitionsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::ContentTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics)->get_ContentTransitionsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::FontSizeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::FontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics)->get_FontSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::FontFamilyProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::FontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics)->get_FontFamilyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::FontWeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::FontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics)->get_FontWeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::FontStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::FontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics)->get_FontStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::FontStretchProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::FontStretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics)->get_FontStretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::CharacterSpacingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::CharacterSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics)->get_CharacterSpacingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::ForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics::ForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics)->get_ForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics2::OpticalMarginAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics2::OpticalMarginAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics2)->get_OpticalMarginAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics2::TextLineBoundsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics2::TextLineBoundsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics2)->get_TextLineBoundsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics3::IsTextScaleFactorEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics3::IsTextScaleFactorEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics3)->get_IsTextScaleFactorEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::TextWrappingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::TextWrappingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics4)->get_TextWrappingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::MaxLinesProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::MaxLinesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics4)->get_MaxLinesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::LineStackingStrategyProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::LineStackingStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics4)->get_LineStackingStrategyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::LineHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::LineHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics4)->get_LineHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::BorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::BorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics4)->get_BorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::BorderThicknessProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::BorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics4)->get_BorderThicknessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::CornerRadiusProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::CornerRadiusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics4)->get_CornerRadiusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::PaddingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics4)->get_PaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::BackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::BackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics4)->get_BackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::HorizontalContentAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::HorizontalContentAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics4)->get_HorizontalContentAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::VerticalContentAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4::VerticalContentAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics4)->get_VerticalContentAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics5::BackgroundSizingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics5::BackgroundSizingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics5)->get_BackgroundSizingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContextMenuEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContextMenuEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs::CursorLeft() const + template auto consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs::CursorLeft() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContextMenuEventArgs)->get_CursorLeft(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs::CursorTop() const + template auto consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs::CursorTop() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContextMenuEventArgs)->get_CursorTop(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IControl::FontSize() const + template auto consume_Windows_UI_Xaml_Controls_IControl::FontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_FontSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::FontSize(double value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::FontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_FontSize(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_IControl::FontFamily() const + template auto consume_Windows_UI_Xaml_Controls_IControl::FontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_FontFamily(&value)); return winrt::Windows::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_FontFamily(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_IControl::FontWeight() const + template auto consume_Windows_UI_Xaml_Controls_IControl::FontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_FontWeight(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_FontWeight(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_IControl::FontStyle() const + template auto consume_Windows_UI_Xaml_Controls_IControl::FontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_FontStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_FontStyle(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) consume_Windows_UI_Xaml_Controls_IControl::FontStretch() const + template auto consume_Windows_UI_Xaml_Controls_IControl::FontStretch() const { winrt::Windows::UI::Text::FontStretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_FontStretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_FontStretch(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IControl::CharacterSpacing() const + template auto consume_Windows_UI_Xaml_Controls_IControl::CharacterSpacing() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_CharacterSpacing(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::CharacterSpacing(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::CharacterSpacing(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_CharacterSpacing(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IControl::Foreground() const + template auto consume_Windows_UI_Xaml_Controls_IControl::Foreground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_Foreground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_Foreground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControl::IsTabStop() const + template auto consume_Windows_UI_Xaml_Controls_IControl::IsTabStop() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_IsTabStop(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::IsTabStop(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::IsTabStop(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_IsTabStop(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControl::IsEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IControl::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::IsEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IControl::TabIndex() const + template auto consume_Windows_UI_Xaml_Controls_IControl::TabIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_TabIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::TabIndex(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::TabIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_TabIndex(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode) consume_Windows_UI_Xaml_Controls_IControl::TabNavigation() const + template auto consume_Windows_UI_Xaml_Controls_IControl::TabNavigation() const { winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_TabNavigation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::TabNavigation(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::TabNavigation(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_TabNavigation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ControlTemplate) consume_Windows_UI_Xaml_Controls_IControl::Template() const + template auto consume_Windows_UI_Xaml_Controls_IControl::Template() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_Template(&value)); return winrt::Windows::UI::Xaml::Controls::ControlTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::Template(winrt::Windows::UI::Xaml::Controls::ControlTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::Template(winrt::Windows::UI::Xaml::Controls::ControlTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_Template(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IControl::Padding() const + template auto consume_Windows_UI_Xaml_Controls_IControl::Padding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_Padding(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_Padding(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_Controls_IControl::HorizontalContentAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IControl::HorizontalContentAlignment() const { winrt::Windows::UI::Xaml::HorizontalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_HorizontalContentAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::HorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::HorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_HorizontalContentAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_Controls_IControl::VerticalContentAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IControl::VerticalContentAlignment() const { winrt::Windows::UI::Xaml::VerticalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_VerticalContentAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::VerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::VerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_VerticalContentAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IControl::Background() const + template auto consume_Windows_UI_Xaml_Controls_IControl::Background() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_Background(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_Background(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IControl::BorderThickness() const + template auto consume_Windows_UI_Xaml_Controls_IControl::BorderThickness() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_BorderThickness(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_BorderThickness(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IControl::BorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_IControl::BorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_BorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_BorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusState) consume_Windows_UI_Xaml_Controls_IControl::FocusState() const + template auto consume_Windows_UI_Xaml_Controls_IControl::FocusState() const { winrt::Windows::UI::Xaml::FocusState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_FocusState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IControl::IsEnabledChanged(winrt::Windows::UI::Xaml::DependencyPropertyChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IControl::IsEnabledChanged(winrt::Windows::UI::Xaml::DependencyPropertyChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->add_IsEnabledChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IControl::IsEnabledChanged_revoker consume_Windows_UI_Xaml_Controls_IControl::IsEnabledChanged(auto_revoke_t, winrt::Windows::UI::Xaml::DependencyPropertyChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IControl::IsEnabledChanged(auto_revoke_t, winrt::Windows::UI::Xaml::DependencyPropertyChangedEventHandler const& handler) const { return impl::make_event_revoker(this, IsEnabledChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl::IsEnabledChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IControl::IsEnabledChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->remove_IsEnabledChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControl::ApplyTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IControl::ApplyTemplate() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->ApplyTemplate(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControl::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->Focus(static_cast(value), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControl2::IsTextScaleFactorEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IControl2::IsTextScaleFactorEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl2)->get_IsTextScaleFactorEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl2::IsTextScaleFactorEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IControl2::IsTextScaleFactorEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl2)->put_IsTextScaleFactorEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControl3::UseSystemFocusVisuals() const + template auto consume_Windows_UI_Xaml_Controls_IControl3::UseSystemFocusVisuals() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl3)->get_UseSystemFocusVisuals(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl3::UseSystemFocusVisuals(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IControl3::UseSystemFocusVisuals(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl3)->put_UseSystemFocusVisuals(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControl4::IsFocusEngagementEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IControl4::IsFocusEngagementEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->get_IsFocusEngagementEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4::IsFocusEngagementEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IControl4::IsFocusEngagementEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->put_IsFocusEngagementEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControl4::IsFocusEngaged() const + template auto consume_Windows_UI_Xaml_Controls_IControl4::IsFocusEngaged() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->get_IsFocusEngaged(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4::IsFocusEngaged(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IControl4::IsFocusEngaged(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->put_IsFocusEngaged(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RequiresPointer) consume_Windows_UI_Xaml_Controls_IControl4::RequiresPointer() const + template auto consume_Windows_UI_Xaml_Controls_IControl4::RequiresPointer() const { winrt::Windows::UI::Xaml::Controls::RequiresPointer value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->get_RequiresPointer(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4::RequiresPointer(winrt::Windows::UI::Xaml::Controls::RequiresPointer const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl4::RequiresPointer(winrt::Windows::UI::Xaml::Controls::RequiresPointer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->put_RequiresPointer(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IControl4::XYFocusLeft() const + template auto consume_Windows_UI_Xaml_Controls_IControl4::XYFocusLeft() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->get_XYFocusLeft(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4::XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl4::XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->put_XYFocusLeft(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IControl4::XYFocusRight() const + template auto consume_Windows_UI_Xaml_Controls_IControl4::XYFocusRight() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->get_XYFocusRight(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4::XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl4::XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->put_XYFocusRight(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IControl4::XYFocusUp() const + template auto consume_Windows_UI_Xaml_Controls_IControl4::XYFocusUp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->get_XYFocusUp(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4::XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl4::XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->put_XYFocusUp(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IControl4::XYFocusDown() const + template auto consume_Windows_UI_Xaml_Controls_IControl4::XYFocusDown() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->get_XYFocusDown(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4::XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl4::XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->put_XYFocusDown(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSoundMode) consume_Windows_UI_Xaml_Controls_IControl4::ElementSoundMode() const + template auto consume_Windows_UI_Xaml_Controls_IControl4::ElementSoundMode() const { winrt::Windows::UI::Xaml::ElementSoundMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->get_ElementSoundMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4::ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl4::ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->put_ElementSoundMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IControl4::FocusEngaged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IControl4::FocusEngaged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->add_FocusEngaged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IControl4::FocusEngaged_revoker consume_Windows_UI_Xaml_Controls_IControl4::FocusEngaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IControl4::FocusEngaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FocusEngaged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4::FocusEngaged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IControl4::FocusEngaged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->remove_FocusEngaged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IControl4::FocusDisengaged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IControl4::FocusDisengaged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->add_FocusDisengaged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IControl4::FocusDisengaged_revoker consume_Windows_UI_Xaml_Controls_IControl4::FocusDisengaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IControl4::FocusDisengaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FocusDisengaged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4::FocusDisengaged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IControl4::FocusDisengaged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->remove_FocusDisengaged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4::RemoveFocusEngagement() const + template auto consume_Windows_UI_Xaml_Controls_IControl4::RemoveFocusEngagement() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->RemoveFocusEngagement()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IControl5::DefaultStyleResourceUri() const + template auto consume_Windows_UI_Xaml_Controls_IControl5::DefaultStyleResourceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl5)->get_DefaultStyleResourceUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl5::DefaultStyleResourceUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl5::DefaultStyleResourceUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl5)->put_DefaultStyleResourceUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) consume_Windows_UI_Xaml_Controls_IControl7::BackgroundSizing() const + template auto consume_Windows_UI_Xaml_Controls_IControl7::BackgroundSizing() const { winrt::Windows::UI::Xaml::Controls::BackgroundSizing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl7)->get_BackgroundSizing(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl7::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl7::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl7)->put_BackgroundSizing(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_Controls_IControl7::CornerRadius() const + template auto consume_Windows_UI_Xaml_Controls_IControl7::CornerRadius() const { winrt::Windows::UI::Xaml::CornerRadius value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl7)->get_CornerRadius(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl7::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControl7::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl7)->put_CornerRadius(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Control) consume_Windows_UI_Xaml_Controls_IControlFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IControlFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Control{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnPointerEntered(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnPointerEntered(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnPointerEntered(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnPointerPressed(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnPointerPressed(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnPointerPressed(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnPointerMoved(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnPointerMoved(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnPointerMoved(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnPointerReleased(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnPointerReleased(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnPointerReleased(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnPointerExited(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnPointerExited(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnPointerExited(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnPointerCaptureLost(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnPointerCaptureLost(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnPointerCaptureLost(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnPointerCanceled(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnPointerCanceled(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnPointerCanceled(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnPointerWheelChanged(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnPointerWheelChanged(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnPointerWheelChanged(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnTapped(winrt::Windows::UI::Xaml::Input::TappedRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnTapped(winrt::Windows::UI::Xaml::Input::TappedRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnTapped(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnDoubleTapped(winrt::Windows::UI::Xaml::Input::DoubleTappedRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnDoubleTapped(winrt::Windows::UI::Xaml::Input::DoubleTappedRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnDoubleTapped(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnHolding(winrt::Windows::UI::Xaml::Input::HoldingRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnHolding(winrt::Windows::UI::Xaml::Input::HoldingRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnHolding(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnRightTapped(winrt::Windows::UI::Xaml::Input::RightTappedRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnRightTapped(winrt::Windows::UI::Xaml::Input::RightTappedRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnRightTapped(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnManipulationStarting(winrt::Windows::UI::Xaml::Input::ManipulationStartingRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnManipulationStarting(winrt::Windows::UI::Xaml::Input::ManipulationStartingRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnManipulationStarting(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnManipulationInertiaStarting(winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnManipulationInertiaStarting(winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnManipulationInertiaStarting(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnManipulationStarted(winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnManipulationStarted(winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnManipulationStarted(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnManipulationDelta(winrt::Windows::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnManipulationDelta(winrt::Windows::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnManipulationDelta(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnManipulationCompleted(winrt::Windows::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnManipulationCompleted(winrt::Windows::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnManipulationCompleted(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnKeyUp(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnKeyDown(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnGotFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnGotFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnGotFocus(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnLostFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnLostFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnLostFocus(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnDragEnter(winrt::Windows::UI::Xaml::DragEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnDragEnter(winrt::Windows::UI::Xaml::DragEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnDragEnter(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnDragLeave(winrt::Windows::UI::Xaml::DragEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnDragLeave(winrt::Windows::UI::Xaml::DragEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnDragLeave(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnDragOver(winrt::Windows::UI::Xaml::DragEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnDragOver(winrt::Windows::UI::Xaml::DragEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnDragOver(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides::OnDrop(winrt::Windows::UI::Xaml::DragEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides::OnDrop(winrt::Windows::UI::Xaml::DragEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnDrop(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides6::OnPreviewKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides6::OnPreviewKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides6)->OnPreviewKeyDown(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides6::OnPreviewKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides6::OnPreviewKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides6)->OnPreviewKeyUp(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides6::OnCharacterReceived(winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IControlOverrides6::OnCharacterReceived(winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides6)->OnCharacterReceived(*(void**)(&e))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IControlProtected::DefaultStyleKey() const + template auto consume_Windows_UI_Xaml_Controls_IControlProtected::DefaultStyleKey() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlProtected)->get_DefaultStyleKey(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlProtected::DefaultStyleKey(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControlProtected::DefaultStyleKey(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlProtected)->put_DefaultStyleKey(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IControlProtected::GetTemplateChild(param::hstring const& childName) const + template auto consume_Windows_UI_Xaml_Controls_IControlProtected::GetTemplateChild(param::hstring const& childName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlProtected)->GetTemplateChild(*(void**)(&childName), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::FontSizeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::FontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_FontSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::FontFamilyProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::FontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_FontFamilyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::FontWeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::FontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_FontWeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::FontStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::FontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_FontStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::FontStretchProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::FontStretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_FontStretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::CharacterSpacingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::CharacterSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_CharacterSpacingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::ForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::ForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_ForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::IsTabStopProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::IsTabStopProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_IsTabStopProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::IsEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::IsEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_IsEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::TabIndexProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::TabIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_TabIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::TabNavigationProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::TabNavigationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_TabNavigationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::TemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::TemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_TemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::PaddingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_PaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::HorizontalContentAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::HorizontalContentAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_HorizontalContentAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::VerticalContentAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::VerticalContentAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_VerticalContentAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::BackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::BackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_BackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::BorderThicknessProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::BorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_BorderThicknessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::BorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::BorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_BorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::DefaultStyleKeyProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::DefaultStyleKeyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_DefaultStyleKeyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics::FocusStateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics::FocusStateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics)->get_FocusStateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics2::IsTextScaleFactorEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics2::IsTextScaleFactorEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics2)->get_IsTextScaleFactorEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics3::UseSystemFocusVisualsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics3::UseSystemFocusVisualsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics3)->get_UseSystemFocusVisualsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics3::IsTemplateFocusTargetProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics3::IsTemplateFocusTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics3)->get_IsTemplateFocusTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControlStatics3::GetIsTemplateFocusTarget(winrt::Windows::UI::Xaml::FrameworkElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics3::GetIsTemplateFocusTarget(winrt::Windows::UI::Xaml::FrameworkElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics3)->GetIsTemplateFocusTarget(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlStatics3::SetIsTemplateFocusTarget(winrt::Windows::UI::Xaml::FrameworkElement const& element, bool value) const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics3::SetIsTemplateFocusTarget(winrt::Windows::UI::Xaml::FrameworkElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics3)->SetIsTemplateFocusTarget(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics4::IsFocusEngagementEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics4::IsFocusEngagementEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics4)->get_IsFocusEngagementEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics4::IsFocusEngagedProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics4::IsFocusEngagedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics4)->get_IsFocusEngagedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics4::RequiresPointerProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics4::RequiresPointerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics4)->get_RequiresPointerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics4::XYFocusLeftProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics4::XYFocusLeftProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics4)->get_XYFocusLeftProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics4::XYFocusRightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics4::XYFocusRightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics4)->get_XYFocusRightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics4::XYFocusUpProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics4::XYFocusUpProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics4)->get_XYFocusUpProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics4::XYFocusDownProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics4::XYFocusDownProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics4)->get_XYFocusDownProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics4::ElementSoundModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics4::ElementSoundModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics4)->get_ElementSoundModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics5::DefaultStyleResourceUriProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics5::DefaultStyleResourceUriProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics5)->get_DefaultStyleResourceUriProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics5::IsTemplateKeyTipTargetProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics5::IsTemplateKeyTipTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics5)->get_IsTemplateKeyTipTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControlStatics5::GetIsTemplateKeyTipTarget(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics5::GetIsTemplateKeyTipTarget(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics5)->GetIsTemplateKeyTipTarget(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlStatics5::SetIsTemplateKeyTipTarget(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics5::SetIsTemplateKeyTipTarget(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics5)->SetIsTemplateKeyTipTarget(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics7::BackgroundSizingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics7::BackgroundSizingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics7)->get_BackgroundSizingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics7::CornerRadiusProperty() const + template auto consume_Windows_UI_Xaml_Controls_IControlStatics7::CornerRadiusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlStatics7)->get_CornerRadiusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Controls_IControlTemplate::TargetType() const + template auto consume_Windows_UI_Xaml_Controls_IControlTemplate::TargetType() const { winrt::Windows::UI::Xaml::Interop::TypeName value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlTemplate)->get_TargetType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlTemplate::TargetType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const + template auto consume_Windows_UI_Xaml_Controls_IControlTemplate::TargetType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlTemplate)->put_TargetType(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IDataTemplateSelector::SelectTemplate(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const + template auto consume_Windows_UI_Xaml_Controls_IDataTemplateSelector::SelectTemplate(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDataTemplateSelector)->SelectTemplate(*(void**)(&item), *(void**)(&container), &result)); return winrt::Windows::UI::Xaml::DataTemplate{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IDataTemplateSelector2::SelectTemplate(winrt::Windows::Foundation::IInspectable const& item) const + template auto consume_Windows_UI_Xaml_Controls_IDataTemplateSelector2::SelectTemplate(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDataTemplateSelector2)->SelectTemplateForItem(*(void**)(&item), &result)); return winrt::Windows::UI::Xaml::DataTemplate{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) consume_Windows_UI_Xaml_Controls_IDataTemplateSelectorFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IDataTemplateSelectorFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDataTemplateSelectorFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IDataTemplateSelectorOverrides::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const + template auto consume_Windows_UI_Xaml_Controls_IDataTemplateSelectorOverrides::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDataTemplateSelectorOverrides)->SelectTemplateCore(*(void**)(&item), *(void**)(&container), &result)); return winrt::Windows::UI::Xaml::DataTemplate{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IDataTemplateSelectorOverrides2::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item) const + template auto consume_Windows_UI_Xaml_Controls_IDataTemplateSelectorOverrides2::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDataTemplateSelectorOverrides2)->SelectTemplateForItemCore(*(void**)(&item), &result)); return winrt::Windows::UI::Xaml::DataTemplate{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePickedEventArgs::OldDate() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickedEventArgs::OldDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickedEventArgs)->get_OldDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePickedEventArgs::NewDate() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickedEventArgs::NewDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickedEventArgs)->get_NewDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IDatePicker::Header() const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker::Header(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_Header(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IDatePicker::HeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_HeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePicker::CalendarIdentifier() const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::CalendarIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_CalendarIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker::CalendarIdentifier(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::CalendarIdentifier(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_CalendarIdentifier(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePicker::Date() const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::Date() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_Date(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker::Date(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::Date(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_Date(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IDatePicker::DayVisible() const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::DayVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_DayVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker::DayVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::DayVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_DayVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IDatePicker::MonthVisible() const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::MonthVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_MonthVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker::MonthVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::MonthVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_MonthVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IDatePicker::YearVisible() const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::YearVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_YearVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker::YearVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::YearVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_YearVisible(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePicker::DayFormat() const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::DayFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_DayFormat(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker::DayFormat(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::DayFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_DayFormat(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePicker::MonthFormat() const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::MonthFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_MonthFormat(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker::MonthFormat(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::MonthFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_MonthFormat(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePicker::YearFormat() const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::YearFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_YearFormat(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker::YearFormat(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::YearFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_YearFormat(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePicker::MinYear() const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::MinYear() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_MinYear(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker::MinYear(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::MinYear(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_MinYear(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePicker::MaxYear() const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::MaxYear() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_MaxYear(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker::MaxYear(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::MaxYear(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_MaxYear(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IDatePicker::Orientation() const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::Orientation() const { winrt::Windows::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_Orientation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IDatePicker::DateChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::DateChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->add_DateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IDatePicker::DateChanged_revoker consume_Windows_UI_Xaml_Controls_IDatePicker::DateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::DateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, DateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker::DateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IDatePicker::DateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->remove_DateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_IDatePicker2::LightDismissOverlayMode() const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker2::LightDismissOverlayMode() const { winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker2)->get_LightDismissOverlayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker2::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker2::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker2)->put_LightDismissOverlayMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_IDatePicker3::SelectedDate() const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker3::SelectedDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker3)->get_SelectedDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker3::SelectedDate(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker3::SelectedDate(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker3)->put_SelectedDate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IDatePicker3::SelectedDateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker3::SelectedDateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker3)->add_SelectedDateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IDatePicker3::SelectedDateChanged_revoker consume_Windows_UI_Xaml_Controls_IDatePicker3::SelectedDateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IDatePicker3::SelectedDateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectedDateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker3::SelectedDateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IDatePicker3::SelectedDateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker3)->remove_SelectedDateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DatePicker) consume_Windows_UI_Xaml_Controls_IDatePickerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::DatePicker{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::CalendarIdentifier() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::CalendarIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->get_CalendarIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::CalendarIdentifier(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::CalendarIdentifier(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->put_CalendarIdentifier(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::Date() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::Date() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->get_Date(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::Date(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::Date(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->put_Date(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::DayVisible() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::DayVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->get_DayVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::DayVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::DayVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->put_DayVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::MonthVisible() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::MonthVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->get_MonthVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::MonthVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::MonthVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->put_MonthVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::YearVisible() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::YearVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->get_YearVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::YearVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::YearVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->put_YearVisible(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::MinYear() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::MinYear() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->get_MinYear(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::MinYear(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::MinYear(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->put_MinYear(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::MaxYear() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::MaxYear() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->get_MaxYear(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::MaxYear(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::MaxYear(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->put_MaxYear(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::DatePicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::DatePicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->add_DatePicked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::DatePicked_revoker consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::DatePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::DatePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DatePicked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::DatePicked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::DatePicked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->remove_DatePicked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout::ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->ShowAtAsync(*(void**)(&target), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2::DayFormat() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2::DayFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout2)->get_DayFormat(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2::DayFormat(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2::DayFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout2)->put_DayFormat(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2::MonthFormat() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2::MonthFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout2)->get_MonthFormat(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2::MonthFormat(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2::MonthFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout2)->put_MonthFormat(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2::YearFormat() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2::YearFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout2)->get_YearFormat(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2::YearFormat(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2::YearFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout2)->put_YearFormat(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem::PrimaryText() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem::PrimaryText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutItem)->get_PrimaryText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem::PrimaryText(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem::PrimaryText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutItem)->put_PrimaryText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem::SecondaryText() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem::SecondaryText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutItem)->get_SecondaryText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem::SecondaryText(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem::SecondaryText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutItem)->put_SecondaryText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItemStatics::PrimaryTextProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItemStatics::PrimaryTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutItemStatics)->get_PrimaryTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItemStatics::SecondaryTextProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItemStatics::SecondaryTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutItemStatics)->get_SecondaryTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutPresenter2::IsDefaultShadowEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutPresenter2::IsDefaultShadowEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutPresenter2)->get_IsDefaultShadowEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutPresenter2::IsDefaultShadowEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutPresenter2::IsDefaultShadowEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutPresenter2)->put_IsDefaultShadowEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutPresenterStatics2::IsDefaultShadowEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutPresenterStatics2::IsDefaultShadowEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutPresenterStatics2)->get_IsDefaultShadowEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics::CalendarIdentifierProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics::CalendarIdentifierProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_CalendarIdentifierProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics::DateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics::DateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_DateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics::DayVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics::DayVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_DayVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics::MonthVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics::MonthVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_MonthVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics::YearVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics::YearVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_YearVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics::MinYearProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics::MinYearProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_MinYearProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics::MaxYearProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics::MaxYearProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_MaxYearProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics2::DayFormatProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics2::DayFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutStatics2)->get_DayFormatProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics2::MonthFormatProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics2::MonthFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutStatics2)->get_MonthFormatProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics2::YearFormatProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics2::YearFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutStatics2)->get_YearFormatProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_IDatePickerSelectedValueChangedEventArgs::OldDate() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerSelectedValueChangedEventArgs::OldDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerSelectedValueChangedEventArgs)->get_OldDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_IDatePickerSelectedValueChangedEventArgs::NewDate() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerSelectedValueChangedEventArgs::NewDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerSelectedValueChangedEventArgs)->get_NewDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics::HeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerStatics)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics::HeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerStatics)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics::CalendarIdentifierProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics::CalendarIdentifierProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerStatics)->get_CalendarIdentifierProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics::DateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics::DateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerStatics)->get_DateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics::DayVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics::DayVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerStatics)->get_DayVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics::MonthVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics::MonthVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerStatics)->get_MonthVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics::YearVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics::YearVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerStatics)->get_YearVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics::DayFormatProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics::DayFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerStatics)->get_DayFormatProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics::MonthFormatProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics::MonthFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerStatics)->get_MonthFormatProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics::YearFormatProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics::YearFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerStatics)->get_YearFormatProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics::MinYearProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics::MinYearProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerStatics)->get_MinYearProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics::MaxYearProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics::MaxYearProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerStatics)->get_MaxYearProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics::OrientationProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerStatics)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics2::LightDismissOverlayModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics2::LightDismissOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerStatics2)->get_LightDismissOverlayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics3::SelectedDateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics3::SelectedDateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerStatics3)->get_SelectedDateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePickerValueChangedEventArgs::OldDate() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerValueChangedEventArgs::OldDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerValueChangedEventArgs)->get_OldDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePickerValueChangedEventArgs::NewDate() const + template auto consume_Windows_UI_Xaml_Controls_IDatePickerValueChangedEventArgs::NewDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerValueChangedEventArgs)->get_NewDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Controls_IDragItemsCompletedEventArgs::Items() const + template auto consume_Windows_UI_Xaml_Controls_IDragItemsCompletedEventArgs::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDragItemsCompletedEventArgs)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_UI_Xaml_Controls_IDragItemsCompletedEventArgs::DropResult() const + template auto consume_Windows_UI_Xaml_Controls_IDragItemsCompletedEventArgs::DropResult() const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDragItemsCompletedEventArgs)->get_DropResult(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDragItemsStartingEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDragItemsStartingEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs::Items() const + template auto consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDragItemsStartingEventArgs)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs::Data() const + template auto consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDragItemsStartingEventArgs)->get_Data(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DropDownButtonAutomationPeer) consume_Windows_UI_Xaml_Controls_IDropDownButtonAutomationPeerFactory::CreateInstance(winrt::Windows::UI::Xaml::Controls::DropDownButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IDropDownButtonAutomationPeerFactory::CreateInstance(winrt::Windows::UI::Xaml::Controls::DropDownButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDropDownButtonAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::DropDownButtonAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DropDownButton) consume_Windows_UI_Xaml_Controls_IDropDownButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IDropDownButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDropDownButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::DropDownButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarDynamicOverflowAction) consume_Windows_UI_Xaml_Controls_IDynamicOverflowItemsChangingEventArgs::Action() const + template auto consume_Windows_UI_Xaml_Controls_IDynamicOverflowItemsChangingEventArgs::Action() const { winrt::Windows::UI::Xaml::Controls::CommandBarDynamicOverflowAction value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDynamicOverflowItemsChangingEventArgs)->get_Action(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFlipView2::UseTouchAnimationsForAllNavigation() const + template auto consume_Windows_UI_Xaml_Controls_IFlipView2::UseTouchAnimationsForAllNavigation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlipView2)->get_UseTouchAnimationsForAllNavigation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFlipView2::UseTouchAnimationsForAllNavigation(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IFlipView2::UseTouchAnimationsForAllNavigation(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlipView2)->put_UseTouchAnimationsForAllNavigation(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::FlipView) consume_Windows_UI_Xaml_Controls_IFlipViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IFlipViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlipViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::FlipView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::FlipViewItem) consume_Windows_UI_Xaml_Controls_IFlipViewItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IFlipViewItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlipViewItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::FlipViewItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFlipViewStatics2::UseTouchAnimationsForAllNavigationProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFlipViewStatics2::UseTouchAnimationsForAllNavigationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlipViewStatics2)->get_UseTouchAnimationsForAllNavigationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IFlyout::Content() const + template auto consume_Windows_UI_Xaml_Controls_IFlyout::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlyout)->get_Content(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFlyout::Content(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IFlyout::Content(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlyout)->put_Content(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IFlyout::FlyoutPresenterStyle() const + template auto consume_Windows_UI_Xaml_Controls_IFlyout::FlyoutPresenterStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlyout)->get_FlyoutPresenterStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFlyout::FlyoutPresenterStyle(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_Controls_IFlyout::FlyoutPresenterStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlyout)->put_FlyoutPresenterStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Flyout) consume_Windows_UI_Xaml_Controls_IFlyoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IFlyoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlyoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Flyout{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFlyoutPresenter2::IsDefaultShadowEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IFlyoutPresenter2::IsDefaultShadowEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlyoutPresenter2)->get_IsDefaultShadowEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFlyoutPresenter2::IsDefaultShadowEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IFlyoutPresenter2::IsDefaultShadowEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlyoutPresenter2)->put_IsDefaultShadowEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::FlyoutPresenter) consume_Windows_UI_Xaml_Controls_IFlyoutPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IFlyoutPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlyoutPresenterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::FlyoutPresenter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFlyoutPresenterStatics2::IsDefaultShadowEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFlyoutPresenterStatics2::IsDefaultShadowEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlyoutPresenterStatics2)->get_IsDefaultShadowEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFlyoutStatics::ContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFlyoutStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlyoutStatics)->get_ContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFlyoutStatics::FlyoutPresenterStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFlyoutStatics::FlyoutPresenterStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlyoutStatics)->get_FlyoutPresenterStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFocusEngagedEventArgs2::Handled() const + template auto consume_Windows_UI_Xaml_Controls_IFocusEngagedEventArgs2::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFocusEngagedEventArgs2)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFocusEngagedEventArgs2::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IFocusEngagedEventArgs2::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFocusEngagedEventArgs2)->put_Handled(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IFontIcon::Glyph() const + template auto consume_Windows_UI_Xaml_Controls_IFontIcon::Glyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon)->get_Glyph(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIcon::Glyph(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IFontIcon::Glyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon)->put_Glyph(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IFontIcon::FontSize() const + template auto consume_Windows_UI_Xaml_Controls_IFontIcon::FontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon)->get_FontSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIcon::FontSize(double value) const + template auto consume_Windows_UI_Xaml_Controls_IFontIcon::FontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon)->put_FontSize(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_IFontIcon::FontFamily() const + template auto consume_Windows_UI_Xaml_Controls_IFontIcon::FontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon)->get_FontFamily(&value)); return winrt::Windows::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIcon::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const + template auto consume_Windows_UI_Xaml_Controls_IFontIcon::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon)->put_FontFamily(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_IFontIcon::FontWeight() const + template auto consume_Windows_UI_Xaml_Controls_IFontIcon::FontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon)->get_FontWeight(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIcon::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const + template auto consume_Windows_UI_Xaml_Controls_IFontIcon::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon)->put_FontWeight(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_IFontIcon::FontStyle() const + template auto consume_Windows_UI_Xaml_Controls_IFontIcon::FontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon)->get_FontStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIcon::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const + template auto consume_Windows_UI_Xaml_Controls_IFontIcon::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon)->put_FontStyle(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFontIcon2::IsTextScaleFactorEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IFontIcon2::IsTextScaleFactorEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon2)->get_IsTextScaleFactorEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIcon2::IsTextScaleFactorEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IFontIcon2::IsTextScaleFactorEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon2)->put_IsTextScaleFactorEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFontIcon3::MirroredWhenRightToLeft() const + template auto consume_Windows_UI_Xaml_Controls_IFontIcon3::MirroredWhenRightToLeft() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon3)->get_MirroredWhenRightToLeft(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIcon3::MirroredWhenRightToLeft(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IFontIcon3::MirroredWhenRightToLeft(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon3)->put_MirroredWhenRightToLeft(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::FontIcon) consume_Windows_UI_Xaml_Controls_IFontIconFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IFontIconFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::FontIcon{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IFontIconSource::Glyph() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSource::Glyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->get_Glyph(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIconSource::Glyph(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSource::Glyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->put_Glyph(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IFontIconSource::FontSize() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSource::FontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->get_FontSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIconSource::FontSize(double value) const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSource::FontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->put_FontSize(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_IFontIconSource::FontFamily() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSource::FontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->get_FontFamily(&value)); return winrt::Windows::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIconSource::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSource::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->put_FontFamily(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_IFontIconSource::FontWeight() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSource::FontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->get_FontWeight(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIconSource::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSource::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->put_FontWeight(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_IFontIconSource::FontStyle() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSource::FontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->get_FontStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIconSource::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSource::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->put_FontStyle(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFontIconSource::IsTextScaleFactorEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSource::IsTextScaleFactorEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->get_IsTextScaleFactorEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIconSource::IsTextScaleFactorEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSource::IsTextScaleFactorEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->put_IsTextScaleFactorEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFontIconSource::MirroredWhenRightToLeft() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSource::MirroredWhenRightToLeft() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->get_MirroredWhenRightToLeft(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIconSource::MirroredWhenRightToLeft(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSource::MirroredWhenRightToLeft(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->put_MirroredWhenRightToLeft(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::FontIconSource) consume_Windows_UI_Xaml_Controls_IFontIconSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::FontIconSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics::GlyphProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics::GlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSourceStatics)->get_GlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics::FontSizeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics::FontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSourceStatics)->get_FontSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics::FontFamilyProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics::FontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSourceStatics)->get_FontFamilyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics::FontWeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics::FontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSourceStatics)->get_FontWeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics::FontStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics::FontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSourceStatics)->get_FontStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics::IsTextScaleFactorEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics::IsTextScaleFactorEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSourceStatics)->get_IsTextScaleFactorEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics::MirroredWhenRightToLeftProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics::MirroredWhenRightToLeftProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSourceStatics)->get_MirroredWhenRightToLeftProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconStatics::GlyphProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconStatics::GlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconStatics)->get_GlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconStatics::FontSizeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconStatics::FontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconStatics)->get_FontSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconStatics::FontFamilyProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconStatics::FontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconStatics)->get_FontFamilyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconStatics::FontWeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconStatics::FontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconStatics)->get_FontWeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconStatics::FontStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconStatics::FontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconStatics)->get_FontStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconStatics2::IsTextScaleFactorEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconStatics2::IsTextScaleFactorEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconStatics2)->get_IsTextScaleFactorEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconStatics3::MirroredWhenRightToLeftProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFontIconStatics3::MirroredWhenRightToLeftProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconStatics3)->get_MirroredWhenRightToLeftProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IFrame::CacheSize() const + template auto consume_Windows_UI_Xaml_Controls_IFrame::CacheSize() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->get_CacheSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame::CacheSize(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IFrame::CacheSize(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->put_CacheSize(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFrame::CanGoBack() const + template auto consume_Windows_UI_Xaml_Controls_IFrame::CanGoBack() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->get_CanGoBack(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFrame::CanGoForward() const + template auto consume_Windows_UI_Xaml_Controls_IFrame::CanGoForward() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->get_CanGoForward(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Controls_IFrame::CurrentSourcePageType() const + template auto consume_Windows_UI_Xaml_Controls_IFrame::CurrentSourcePageType() const { winrt::Windows::UI::Xaml::Interop::TypeName value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->get_CurrentSourcePageType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Controls_IFrame::SourcePageType() const + template auto consume_Windows_UI_Xaml_Controls_IFrame::SourcePageType() const { winrt::Windows::UI::Xaml::Interop::TypeName value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->get_SourcePageType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame::SourcePageType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const + template auto consume_Windows_UI_Xaml_Controls_IFrame::SourcePageType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->put_SourcePageType(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IFrame::BackStackDepth() const + template auto consume_Windows_UI_Xaml_Controls_IFrame::BackStackDepth() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->get_BackStackDepth(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IFrame::Navigated(winrt::Windows::UI::Xaml::Navigation::NavigatedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IFrame::Navigated(winrt::Windows::UI::Xaml::Navigation::NavigatedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->add_Navigated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IFrame::Navigated_revoker consume_Windows_UI_Xaml_Controls_IFrame::Navigated(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigatedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IFrame::Navigated(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigatedEventHandler const& handler) const { return impl::make_event_revoker(this, Navigated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame::Navigated(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IFrame::Navigated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->remove_Navigated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IFrame::Navigating(winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IFrame::Navigating(winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->add_Navigating(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IFrame::Navigating_revoker consume_Windows_UI_Xaml_Controls_IFrame::Navigating(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IFrame::Navigating(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventHandler const& handler) const { return impl::make_event_revoker(this, Navigating(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame::Navigating(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IFrame::Navigating(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->remove_Navigating(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IFrame::NavigationFailed(winrt::Windows::UI::Xaml::Navigation::NavigationFailedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IFrame::NavigationFailed(winrt::Windows::UI::Xaml::Navigation::NavigationFailedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->add_NavigationFailed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IFrame::NavigationFailed_revoker consume_Windows_UI_Xaml_Controls_IFrame::NavigationFailed(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigationFailedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IFrame::NavigationFailed(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigationFailedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationFailed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame::NavigationFailed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IFrame::NavigationFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->remove_NavigationFailed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IFrame::NavigationStopped(winrt::Windows::UI::Xaml::Navigation::NavigationStoppedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IFrame::NavigationStopped(winrt::Windows::UI::Xaml::Navigation::NavigationStoppedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->add_NavigationStopped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IFrame::NavigationStopped_revoker consume_Windows_UI_Xaml_Controls_IFrame::NavigationStopped(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigationStoppedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IFrame::NavigationStopped(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigationStoppedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationStopped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame::NavigationStopped(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IFrame::NavigationStopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->remove_NavigationStopped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame::GoBack() const + template auto consume_Windows_UI_Xaml_Controls_IFrame::GoBack() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->GoBack()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame::GoForward() const + template auto consume_Windows_UI_Xaml_Controls_IFrame::GoForward() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->GoForward()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFrame::Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter) const + template auto consume_Windows_UI_Xaml_Controls_IFrame::Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->Navigate(impl::bind_in(sourcePageType), *(void**)(¶meter), &result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IFrame::GetNavigationState() const + template auto consume_Windows_UI_Xaml_Controls_IFrame::GetNavigationState() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->GetNavigationState(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame::SetNavigationState(param::hstring const& navigationState) const + template auto consume_Windows_UI_Xaml_Controls_IFrame::SetNavigationState(param::hstring const& navigationState) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->SetNavigationState(*(void**)(&navigationState))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IFrame2::BackStack() const + template auto consume_Windows_UI_Xaml_Controls_IFrame2::BackStack() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame2)->get_BackStack(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IFrame2::ForwardStack() const + template auto consume_Windows_UI_Xaml_Controls_IFrame2::ForwardStack() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame2)->get_ForwardStack(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFrame2::Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter, winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& infoOverride) const + template auto consume_Windows_UI_Xaml_Controls_IFrame2::Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter, winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& infoOverride) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame2)->Navigate(impl::bind_in(sourcePageType), *(void**)(¶meter), *(void**)(&infoOverride), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame3::GoBack(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& transitionInfoOverride) const + template auto consume_Windows_UI_Xaml_Controls_IFrame3::GoBack(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& transitionInfoOverride) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame3)->GoBack(*(void**)(&transitionInfoOverride))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame4::SetNavigationState(param::hstring const& navigationState, bool suppressNavigate) const + template auto consume_Windows_UI_Xaml_Controls_IFrame4::SetNavigationState(param::hstring const& navigationState, bool suppressNavigate) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame4)->SetNavigationStateWithNavigationControl(*(void**)(&navigationState), suppressNavigate)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFrame5::IsNavigationStackEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IFrame5::IsNavigationStackEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame5)->get_IsNavigationStackEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame5::IsNavigationStackEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IFrame5::IsNavigationStackEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame5)->put_IsNavigationStackEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFrame5::NavigateToType(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter, winrt::Windows::UI::Xaml::Navigation::FrameNavigationOptions const& navigationOptions) const + template auto consume_Windows_UI_Xaml_Controls_IFrame5::NavigateToType(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter, winrt::Windows::UI::Xaml::Navigation::FrameNavigationOptions const& navigationOptions) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame5)->NavigateToType(impl::bind_in(sourcePageType), *(void**)(¶meter), *(void**)(&navigationOptions), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Frame) consume_Windows_UI_Xaml_Controls_IFrameFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IFrameFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrameFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Frame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics::CacheSizeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFrameStatics::CacheSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrameStatics)->get_CacheSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics::CanGoBackProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFrameStatics::CanGoBackProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrameStatics)->get_CanGoBackProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics::CanGoForwardProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFrameStatics::CanGoForwardProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrameStatics)->get_CanGoForwardProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics::CurrentSourcePageTypeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFrameStatics::CurrentSourcePageTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrameStatics)->get_CurrentSourcePageTypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics::SourcePageTypeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFrameStatics::SourcePageTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrameStatics)->get_SourcePageTypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics::BackStackDepthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFrameStatics::BackStackDepthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrameStatics)->get_BackStackDepthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics2::BackStackProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFrameStatics2::BackStackProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrameStatics2)->get_BackStackProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics2::ForwardStackProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFrameStatics2::ForwardStackProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrameStatics2)->get_ForwardStackProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics5::IsNavigationStackEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IFrameStatics5::IsNavigationStackEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrameStatics5)->get_IsNavigationStackEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RowDefinitionCollection) consume_Windows_UI_Xaml_Controls_IGrid::RowDefinitions() const + template auto consume_Windows_UI_Xaml_Controls_IGrid::RowDefinitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid)->get_RowDefinitions(&value)); return winrt::Windows::UI::Xaml::Controls::RowDefinitionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColumnDefinitionCollection) consume_Windows_UI_Xaml_Controls_IGrid::ColumnDefinitions() const + template auto consume_Windows_UI_Xaml_Controls_IGrid::ColumnDefinitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid)->get_ColumnDefinitions(&value)); return winrt::Windows::UI::Xaml::Controls::ColumnDefinitionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IGrid2::BorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_IGrid2::BorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid2)->get_BorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGrid2::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IGrid2::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid2)->put_BorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IGrid2::BorderThickness() const + template auto consume_Windows_UI_Xaml_Controls_IGrid2::BorderThickness() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid2)->get_BorderThickness(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGrid2::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IGrid2::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid2)->put_BorderThickness(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_Controls_IGrid2::CornerRadius() const + template auto consume_Windows_UI_Xaml_Controls_IGrid2::CornerRadius() const { winrt::Windows::UI::Xaml::CornerRadius value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid2)->get_CornerRadius(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGrid2::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const + template auto consume_Windows_UI_Xaml_Controls_IGrid2::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid2)->put_CornerRadius(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IGrid2::Padding() const + template auto consume_Windows_UI_Xaml_Controls_IGrid2::Padding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid2)->get_Padding(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGrid2::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IGrid2::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid2)->put_Padding(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IGrid3::RowSpacing() const + template auto consume_Windows_UI_Xaml_Controls_IGrid3::RowSpacing() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid3)->get_RowSpacing(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGrid3::RowSpacing(double value) const + template auto consume_Windows_UI_Xaml_Controls_IGrid3::RowSpacing(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid3)->put_RowSpacing(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IGrid3::ColumnSpacing() const + template auto consume_Windows_UI_Xaml_Controls_IGrid3::ColumnSpacing() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid3)->get_ColumnSpacing(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGrid3::ColumnSpacing(double value) const + template auto consume_Windows_UI_Xaml_Controls_IGrid3::ColumnSpacing(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid3)->put_ColumnSpacing(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) consume_Windows_UI_Xaml_Controls_IGrid4::BackgroundSizing() const + template auto consume_Windows_UI_Xaml_Controls_IGrid4::BackgroundSizing() const { winrt::Windows::UI::Xaml::Controls::BackgroundSizing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid4)->get_BackgroundSizing(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGrid4::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const + template auto consume_Windows_UI_Xaml_Controls_IGrid4::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid4)->put_BackgroundSizing(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Grid) consume_Windows_UI_Xaml_Controls_IGridFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IGridFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Grid{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics::RowProperty() const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics::RowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics)->get_RowProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IGridStatics::GetRow(winrt::Windows::UI::Xaml::FrameworkElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics::GetRow(winrt::Windows::UI::Xaml::FrameworkElement const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics)->GetRow(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGridStatics::SetRow(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics::SetRow(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics)->SetRow(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics::ColumnProperty() const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics::ColumnProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics)->get_ColumnProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IGridStatics::GetColumn(winrt::Windows::UI::Xaml::FrameworkElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics::GetColumn(winrt::Windows::UI::Xaml::FrameworkElement const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics)->GetColumn(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGridStatics::SetColumn(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics::SetColumn(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics)->SetColumn(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics::RowSpanProperty() const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics::RowSpanProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics)->get_RowSpanProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IGridStatics::GetRowSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics::GetRowSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics)->GetRowSpan(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGridStatics::SetRowSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics::SetRowSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics)->SetRowSpan(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics::ColumnSpanProperty() const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics::ColumnSpanProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics)->get_ColumnSpanProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IGridStatics::GetColumnSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics::GetColumnSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics)->GetColumnSpan(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGridStatics::SetColumnSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics::SetColumnSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics)->SetColumnSpan(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics2::BorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics2::BorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics2)->get_BorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics2::BorderThicknessProperty() const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics2::BorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics2)->get_BorderThicknessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics2::CornerRadiusProperty() const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics2::CornerRadiusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics2)->get_CornerRadiusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics2::PaddingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics2::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics2)->get_PaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics3::RowSpacingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics3::RowSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics3)->get_RowSpacingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics3::ColumnSpacingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics3::ColumnSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics3)->get_ColumnSpacingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics4::BackgroundSizingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IGridStatics4::BackgroundSizingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridStatics4)->get_BackgroundSizingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GridView) consume_Windows_UI_Xaml_Controls_IGridViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IGridViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::GridView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GridViewHeaderItem) consume_Windows_UI_Xaml_Controls_IGridViewHeaderItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IGridViewHeaderItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridViewHeaderItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::GridViewHeaderItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GridViewItemTemplateSettings) consume_Windows_UI_Xaml_Controls_IGridViewItem::TemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_IGridViewItem::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridViewItem)->get_TemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::GridViewItemTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GridViewItem) consume_Windows_UI_Xaml_Controls_IGridViewItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IGridViewItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGridViewItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::GridViewItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupItem) consume_Windows_UI_Xaml_Controls_IGroupItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IGroupItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::GroupItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate) consume_Windows_UI_Xaml_Controls_IGroupStyle::Panel() const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyle::Panel() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyle)->get_Panel(&value)); return winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGroupStyle::Panel(winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyle::Panel(winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyle)->put_Panel(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IGroupStyle::ContainerStyle() const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyle::ContainerStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyle)->get_ContainerStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGroupStyle::ContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyle::ContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyle)->put_ContainerStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StyleSelector) consume_Windows_UI_Xaml_Controls_IGroupStyle::ContainerStyleSelector() const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyle::ContainerStyleSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyle)->get_ContainerStyleSelector(&value)); return winrt::Windows::UI::Xaml::Controls::StyleSelector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGroupStyle::ContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyle::ContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyle)->put_ContainerStyleSelector(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IGroupStyle::HeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyle::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyle)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGroupStyle::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyle::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyle)->put_HeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) consume_Windows_UI_Xaml_Controls_IGroupStyle::HeaderTemplateSelector() const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyle::HeaderTemplateSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyle)->get_HeaderTemplateSelector(&value)); return winrt::Windows::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGroupStyle::HeaderTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyle::HeaderTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyle)->put_HeaderTemplateSelector(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IGroupStyle::HidesIfEmpty() const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyle::HidesIfEmpty() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyle)->get_HidesIfEmpty(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGroupStyle::HidesIfEmpty(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyle::HidesIfEmpty(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyle)->put_HidesIfEmpty(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IGroupStyle2::HeaderContainerStyle() const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyle2::HeaderContainerStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyle2)->get_HeaderContainerStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGroupStyle2::HeaderContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyle2::HeaderContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyle2)->put_HeaderContainerStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyle) consume_Windows_UI_Xaml_Controls_IGroupStyleFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyleFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyleFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::GroupStyle{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyle) consume_Windows_UI_Xaml_Controls_IGroupStyleSelector::SelectGroupStyle(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyleSelector::SelectGroupStyle(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyleSelector)->SelectGroupStyle(*(void**)(&group), level, &result)); return winrt::Windows::UI::Xaml::Controls::GroupStyle{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector) consume_Windows_UI_Xaml_Controls_IGroupStyleSelectorFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyleSelectorFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyleSelectorFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::GroupStyleSelector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyle) consume_Windows_UI_Xaml_Controls_IGroupStyleSelectorOverrides::SelectGroupStyleCore(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const + template auto consume_Windows_UI_Xaml_Controls_IGroupStyleSelectorOverrides::SelectGroupStyleCore(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyleSelectorOverrides)->SelectGroupStyleCore(*(void**)(&group), level, &result)); return winrt::Windows::UI::Xaml::Controls::GroupStyle{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IHandwritingView::PlacementTarget() const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView::PlacementTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->get_PlacementTarget(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView::PlacementTarget(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView::PlacementTarget(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->put_PlacementTarget(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HandwritingPanelPlacementAlignment) consume_Windows_UI_Xaml_Controls_IHandwritingView::PlacementAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView::PlacementAlignment() const { winrt::Windows::UI::Xaml::Controls::HandwritingPanelPlacementAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->get_PlacementAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView::PlacementAlignment(winrt::Windows::UI::Xaml::Controls::HandwritingPanelPlacementAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView::PlacementAlignment(winrt::Windows::UI::Xaml::Controls::HandwritingPanelPlacementAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->put_PlacementAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHandwritingView::IsOpen() const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView::IsOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->get_IsOpen(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHandwritingView::AreCandidatesEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView::AreCandidatesEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->get_AreCandidatesEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView::AreCandidatesEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView::AreCandidatesEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->put_AreCandidatesEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IHandwritingView::Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView::Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->add_Opened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IHandwritingView::Opened_revoker consume_Windows_UI_Xaml_Controls_IHandwritingView::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Opened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView::Opened(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView::Opened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->remove_Opened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IHandwritingView::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IHandwritingView::Closed_revoker consume_Windows_UI_Xaml_Controls_IHandwritingView::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHandwritingView::TryClose() const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView::TryClose() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->TryClose(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHandwritingView::TryOpen() const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView::TryOpen() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->TryOpen(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHandwritingView2::IsSwitchToKeyboardEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView2::IsSwitchToKeyboardEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->get_IsSwitchToKeyboardEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2::IsSwitchToKeyboardEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView2::IsSwitchToKeyboardEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->put_IsSwitchToKeyboardEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHandwritingView2::IsCommandBarOpen() const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView2::IsCommandBarOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->get_IsCommandBarOpen(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2::IsCommandBarOpen(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView2::IsCommandBarOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->put_IsCommandBarOpen(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreInputDeviceTypes) consume_Windows_UI_Xaml_Controls_IHandwritingView2::InputDeviceTypes() const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView2::InputDeviceTypes() const { winrt::Windows::UI::Core::CoreInputDeviceTypes value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->get_InputDeviceTypes(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2::InputDeviceTypes(winrt::Windows::UI::Core::CoreInputDeviceTypes const& value) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView2::InputDeviceTypes(winrt::Windows::UI::Core::CoreInputDeviceTypes const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->put_InputDeviceTypes(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IHandwritingView2::CandidatesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView2::CandidatesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->add_CandidatesChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IHandwritingView2::CandidatesChanged_revoker consume_Windows_UI_Xaml_Controls_IHandwritingView2::CandidatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView2::CandidatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CandidatesChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2::CandidatesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView2::CandidatesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->remove_CandidatesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IHandwritingView2::TextSubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView2::TextSubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->add_TextSubmitted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IHandwritingView2::TextSubmitted_revoker consume_Windows_UI_Xaml_Controls_IHandwritingView2::TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView2::TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextSubmitted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2::TextSubmitted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView2::TextSubmitted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->remove_TextSubmitted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Controls_IHandwritingView2::GetCandidates(uint32_t candidatesSessionId) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView2::GetCandidates(uint32_t candidatesSessionId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->GetCandidates(candidatesSessionId, &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2::SelectCandidate(uint32_t candidatesSessionId, uint32_t selectedCandidateIndex) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingView2::SelectCandidate(uint32_t candidatesSessionId, uint32_t selectedCandidateIndex) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->SelectCandidate(candidatesSessionId, selectedCandidateIndex)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Controls_IHandwritingViewCandidatesChangedEventArgs::CandidatesSessionId() const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingViewCandidatesChangedEventArgs::CandidatesSessionId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewCandidatesChangedEventArgs)->get_CandidatesSessionId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HandwritingView) consume_Windows_UI_Xaml_Controls_IHandwritingViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::HandwritingView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics::PlacementTargetProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics::PlacementTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics)->get_PlacementTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics::PlacementAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics::PlacementAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics)->get_PlacementAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics::IsOpenProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics::IsOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics)->get_IsOpenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics::AreCandidatesEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics::AreCandidatesEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics)->get_AreCandidatesEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics2::IsSwitchToKeyboardEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics2::IsSwitchToKeyboardEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics2)->get_IsSwitchToKeyboardEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics2::IsCommandBarOpenProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics2::IsCommandBarOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics2)->get_IsCommandBarOpenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IHub::Header() const + template auto consume_Windows_UI_Xaml_Controls_IHub::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHub::Header(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IHub::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->put_Header(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IHub::HeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IHub::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHub::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IHub::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->put_HeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IHub::Orientation() const + template auto consume_Windows_UI_Xaml_Controls_IHub::Orientation() const { winrt::Windows::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHub::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const + template auto consume_Windows_UI_Xaml_Controls_IHub::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->put_Orientation(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IHub::DefaultSectionIndex() const + template auto consume_Windows_UI_Xaml_Controls_IHub::DefaultSectionIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->get_DefaultSectionIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHub::DefaultSectionIndex(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IHub::DefaultSectionIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->put_DefaultSectionIndex(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IHub::Sections() const + template auto consume_Windows_UI_Xaml_Controls_IHub::Sections() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->get_Sections(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IHub::SectionsInView() const + template auto consume_Windows_UI_Xaml_Controls_IHub::SectionsInView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->get_SectionsInView(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) consume_Windows_UI_Xaml_Controls_IHub::SectionHeaders() const + template auto consume_Windows_UI_Xaml_Controls_IHub::SectionHeaders() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->get_SectionHeaders(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IHub::SectionHeaderClick(winrt::Windows::UI::Xaml::Controls::HubSectionHeaderClickEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IHub::SectionHeaderClick(winrt::Windows::UI::Xaml::Controls::HubSectionHeaderClickEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->add_SectionHeaderClick(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IHub::SectionHeaderClick_revoker consume_Windows_UI_Xaml_Controls_IHub::SectionHeaderClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::HubSectionHeaderClickEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IHub::SectionHeaderClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::HubSectionHeaderClickEventHandler const& handler) const { return impl::make_event_revoker(this, SectionHeaderClick(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHub::SectionHeaderClick(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IHub::SectionHeaderClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->remove_SectionHeaderClick(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IHub::SectionsInViewChanged(winrt::Windows::UI::Xaml::Controls::SectionsInViewChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IHub::SectionsInViewChanged(winrt::Windows::UI::Xaml::Controls::SectionsInViewChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->add_SectionsInViewChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IHub::SectionsInViewChanged_revoker consume_Windows_UI_Xaml_Controls_IHub::SectionsInViewChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SectionsInViewChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IHub::SectionsInViewChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SectionsInViewChangedEventHandler const& handler) const { return impl::make_event_revoker(this, SectionsInViewChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHub::SectionsInViewChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IHub::SectionsInViewChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->remove_SectionsInViewChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHub::ScrollToSection(winrt::Windows::UI::Xaml::Controls::HubSection const& section) const + template auto consume_Windows_UI_Xaml_Controls_IHub::ScrollToSection(winrt::Windows::UI::Xaml::Controls::HubSection const& section) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->ScrollToSection(*(void**)(§ion))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Hub) consume_Windows_UI_Xaml_Controls_IHubFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IHubFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Hub{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IHubSection::Header() const + template auto consume_Windows_UI_Xaml_Controls_IHubSection::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSection)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHubSection::Header(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IHubSection::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSection)->put_Header(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IHubSection::HeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IHubSection::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSection)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHubSection::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IHubSection::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSection)->put_HeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IHubSection::ContentTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IHubSection::ContentTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSection)->get_ContentTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHubSection::ContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IHubSection::ContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSection)->put_ContentTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHubSection::IsHeaderInteractive() const + template auto consume_Windows_UI_Xaml_Controls_IHubSection::IsHeaderInteractive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSection)->get_IsHeaderInteractive(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHubSection::IsHeaderInteractive(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IHubSection::IsHeaderInteractive(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSection)->put_IsHeaderInteractive(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HubSection) consume_Windows_UI_Xaml_Controls_IHubSectionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IHubSectionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSectionFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::HubSection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HubSection) consume_Windows_UI_Xaml_Controls_IHubSectionHeaderClickEventArgs::Section() const + template auto consume_Windows_UI_Xaml_Controls_IHubSectionHeaderClickEventArgs::Section() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSectionHeaderClickEventArgs)->get_Section(&value)); return winrt::Windows::UI::Xaml::Controls::HubSection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubSectionStatics::HeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHubSectionStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSectionStatics)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubSectionStatics::HeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHubSectionStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSectionStatics)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubSectionStatics::ContentTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHubSectionStatics::ContentTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSectionStatics)->get_ContentTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubSectionStatics::IsHeaderInteractiveProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHubSectionStatics::IsHeaderInteractiveProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSectionStatics)->get_IsHeaderInteractiveProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubStatics::HeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHubStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubStatics)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubStatics::HeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHubStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubStatics)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubStatics::OrientationProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHubStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubStatics)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubStatics::DefaultSectionIndexProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHubStatics::DefaultSectionIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubStatics)->get_DefaultSectionIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubStatics::SemanticZoomOwnerProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHubStatics::SemanticZoomOwnerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubStatics)->get_SemanticZoomOwnerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubStatics::IsActiveViewProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHubStatics::IsActiveViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubStatics)->get_IsActiveViewProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubStatics::IsZoomedInViewProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHubStatics::IsZoomedInViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubStatics)->get_IsZoomedInViewProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IHyperlinkButton::NavigateUri() const + template auto consume_Windows_UI_Xaml_Controls_IHyperlinkButton::NavigateUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHyperlinkButton)->get_NavigateUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHyperlinkButton::NavigateUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Xaml_Controls_IHyperlinkButton::NavigateUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHyperlinkButton)->put_NavigateUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HyperlinkButton) consume_Windows_UI_Xaml_Controls_IHyperlinkButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IHyperlinkButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHyperlinkButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::HyperlinkButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHyperlinkButtonStatics::NavigateUriProperty() const + template auto consume_Windows_UI_Xaml_Controls_IHyperlinkButtonStatics::NavigateUriProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHyperlinkButtonStatics)->get_NavigateUriProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IIconElement::Foreground() const + template auto consume_Windows_UI_Xaml_Controls_IIconElement::Foreground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IIconElement)->get_Foreground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IIconElement::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IIconElement::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IIconElement)->put_Foreground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IIconElementStatics::ForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_IIconElementStatics::ForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IIconElementStatics)->get_ForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IIconSource::Foreground() const + template auto consume_Windows_UI_Xaml_Controls_IIconSource::Foreground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IIconSource)->get_Foreground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IIconSource::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IIconSource::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IIconSource)->put_Foreground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconSource) consume_Windows_UI_Xaml_Controls_IIconSourceElement::IconSource() const + template auto consume_Windows_UI_Xaml_Controls_IIconSourceElement::IconSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IIconSourceElement)->get_IconSource(&value)); return winrt::Windows::UI::Xaml::Controls::IconSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IIconSourceElement::IconSource(winrt::Windows::UI::Xaml::Controls::IconSource const& value) const + template auto consume_Windows_UI_Xaml_Controls_IIconSourceElement::IconSource(winrt::Windows::UI::Xaml::Controls::IconSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IIconSourceElement)->put_IconSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconSourceElement) consume_Windows_UI_Xaml_Controls_IIconSourceElementFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IIconSourceElementFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IIconSourceElementFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::IconSourceElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IIconSourceElementStatics::IconSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_IIconSourceElementStatics::IconSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IIconSourceElementStatics)->get_IconSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IIconSourceStatics::ForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_IIconSourceStatics::ForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IIconSourceStatics)->get_ForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IImage::Source() const + template auto consume_Windows_UI_Xaml_Controls_IImage::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImage)->get_Source(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IImage::Source(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const + template auto consume_Windows_UI_Xaml_Controls_IImage::Source(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImage)->put_Source(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) consume_Windows_UI_Xaml_Controls_IImage::Stretch() const + template auto consume_Windows_UI_Xaml_Controls_IImage::Stretch() const { winrt::Windows::UI::Xaml::Media::Stretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImage)->get_Stretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IImage::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const + template auto consume_Windows_UI_Xaml_Controls_IImage::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImage)->put_Stretch(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IImage::NineGrid() const + template auto consume_Windows_UI_Xaml_Controls_IImage::NineGrid() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImage)->get_NineGrid(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IImage::NineGrid(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IImage::NineGrid(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImage)->put_NineGrid(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSource) consume_Windows_UI_Xaml_Controls_IImage::PlayToSource() const + template auto consume_Windows_UI_Xaml_Controls_IImage::PlayToSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImage)->get_PlayToSource(&value)); return winrt::Windows::Media::PlayTo::PlayToSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IImage::ImageFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IImage::ImageFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImage)->add_ImageFailed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IImage::ImageFailed_revoker consume_Windows_UI_Xaml_Controls_IImage::ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IImage::ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const { return impl::make_event_revoker(this, ImageFailed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IImage::ImageFailed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IImage::ImageFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImage)->remove_ImageFailed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IImage::ImageOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IImage::ImageOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImage)->add_ImageOpened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IImage::ImageOpened_revoker consume_Windows_UI_Xaml_Controls_IImage::ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IImage::ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, ImageOpened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IImage::ImageOpened(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IImage::ImageOpened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImage)->remove_ImageOpened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingSource) consume_Windows_UI_Xaml_Controls_IImage2::GetAsCastingSource() const + template auto consume_Windows_UI_Xaml_Controls_IImage2::GetAsCastingSource() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImage2)->GetAsCastingSource(&result)); return winrt::Windows::Media::Casting::CastingSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Xaml_Controls_IImage3::GetAlphaMask() const + template auto consume_Windows_UI_Xaml_Controls_IImage3::GetAlphaMask() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImage3)->GetAlphaMask(&result)); return winrt::Windows::UI::Composition::CompositionBrush{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IImageStatics::SourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_IImageStatics::SourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImageStatics)->get_SourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IImageStatics::StretchProperty() const + template auto consume_Windows_UI_Xaml_Controls_IImageStatics::StretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImageStatics)->get_StretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IImageStatics::NineGridProperty() const + template auto consume_Windows_UI_Xaml_Controls_IImageStatics::NineGridProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImageStatics)->get_NineGridProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IImageStatics::PlayToSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_IImageStatics::PlayToSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImageStatics)->get_PlayToSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) consume_Windows_UI_Xaml_Controls_IInkCanvas::InkPresenter() const + template auto consume_Windows_UI_Xaml_Controls_IInkCanvas::InkPresenter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkCanvas)->get_InkPresenter(&value)); return winrt::Windows::UI::Input::Inking::InkPresenter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkCanvas) consume_Windows_UI_Xaml_Controls_IInkCanvasFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IInkCanvasFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkCanvasFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::InkCanvas{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarInitialControls) consume_Windows_UI_Xaml_Controls_IInkToolbar::InitialControls() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::InitialControls() const { winrt::Windows::UI::Xaml::Controls::InkToolbarInitialControls value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->get_InitialControls(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar::InitialControls(winrt::Windows::UI::Xaml::Controls::InkToolbarInitialControls const& value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::InitialControls(winrt::Windows::UI::Xaml::Controls::InkToolbarInitialControls const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->put_InitialControls(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObjectCollection) consume_Windows_UI_Xaml_Controls_IInkToolbar::Children() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->get_Children(&value)); return winrt::Windows::UI::Xaml::DependencyObjectCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarToolButton) consume_Windows_UI_Xaml_Controls_IInkToolbar::ActiveTool() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::ActiveTool() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->get_ActiveTool(&value)); return winrt::Windows::UI::Xaml::Controls::InkToolbarToolButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar::ActiveTool(winrt::Windows::UI::Xaml::Controls::InkToolbarToolButton const& value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::ActiveTool(winrt::Windows::UI::Xaml::Controls::InkToolbarToolButton const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->put_ActiveTool(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) consume_Windows_UI_Xaml_Controls_IInkToolbar::InkDrawingAttributes() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::InkDrawingAttributes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->get_InkDrawingAttributes(&value)); return winrt::Windows::UI::Input::Inking::InkDrawingAttributes{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IInkToolbar::IsRulerButtonChecked() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::IsRulerButtonChecked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->get_IsRulerButtonChecked(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar::IsRulerButtonChecked(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::IsRulerButtonChecked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->put_IsRulerButtonChecked(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkCanvas) consume_Windows_UI_Xaml_Controls_IInkToolbar::TargetInkCanvas() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::TargetInkCanvas() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->get_TargetInkCanvas(&value)); return winrt::Windows::UI::Xaml::Controls::InkCanvas{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar::TargetInkCanvas(winrt::Windows::UI::Xaml::Controls::InkCanvas const& value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::TargetInkCanvas(winrt::Windows::UI::Xaml::Controls::InkCanvas const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->put_TargetInkCanvas(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IInkToolbar::ActiveToolChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::ActiveToolChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->add_ActiveToolChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IInkToolbar::ActiveToolChanged_revoker consume_Windows_UI_Xaml_Controls_IInkToolbar::ActiveToolChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::ActiveToolChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ActiveToolChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar::ActiveToolChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::ActiveToolChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->remove_ActiveToolChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IInkToolbar::InkDrawingAttributesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::InkDrawingAttributesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->add_InkDrawingAttributesChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IInkToolbar::InkDrawingAttributesChanged_revoker consume_Windows_UI_Xaml_Controls_IInkToolbar::InkDrawingAttributesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::InkDrawingAttributesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, InkDrawingAttributesChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar::InkDrawingAttributesChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::InkDrawingAttributesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->remove_InkDrawingAttributesChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IInkToolbar::EraseAllClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::EraseAllClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->add_EraseAllClicked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IInkToolbar::EraseAllClicked_revoker consume_Windows_UI_Xaml_Controls_IInkToolbar::EraseAllClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::EraseAllClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EraseAllClicked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar::EraseAllClicked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::EraseAllClicked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->remove_EraseAllClicked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IInkToolbar::IsRulerButtonCheckedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::IsRulerButtonCheckedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->add_IsRulerButtonCheckedChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IInkToolbar::IsRulerButtonCheckedChanged_revoker consume_Windows_UI_Xaml_Controls_IInkToolbar::IsRulerButtonCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::IsRulerButtonCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsRulerButtonCheckedChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar::IsRulerButtonCheckedChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::IsRulerButtonCheckedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->remove_IsRulerButtonCheckedChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarToolButton) consume_Windows_UI_Xaml_Controls_IInkToolbar::GetToolButton(winrt::Windows::UI::Xaml::Controls::InkToolbarTool const& tool) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::GetToolButton(winrt::Windows::UI::Xaml::Controls::InkToolbarTool const& tool) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->GetToolButton(static_cast(tool), &result)); return winrt::Windows::UI::Xaml::Controls::InkToolbarToolButton{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarToggleButton) consume_Windows_UI_Xaml_Controls_IInkToolbar::GetToggleButton(winrt::Windows::UI::Xaml::Controls::InkToolbarToggle const& tool) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar::GetToggleButton(winrt::Windows::UI::Xaml::Controls::InkToolbarToggle const& tool) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->GetToggleButton(static_cast(tool), &result)); return winrt::Windows::UI::Xaml::Controls::InkToolbarToggleButton{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IInkToolbar2::IsStencilButtonChecked() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar2::IsStencilButtonChecked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar2)->get_IsStencilButtonChecked(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar2::IsStencilButtonChecked(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar2::IsStencilButtonChecked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar2)->put_IsStencilButtonChecked(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarButtonFlyoutPlacement) consume_Windows_UI_Xaml_Controls_IInkToolbar2::ButtonFlyoutPlacement() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar2::ButtonFlyoutPlacement() const { winrt::Windows::UI::Xaml::Controls::InkToolbarButtonFlyoutPlacement value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar2)->get_ButtonFlyoutPlacement(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar2::ButtonFlyoutPlacement(winrt::Windows::UI::Xaml::Controls::InkToolbarButtonFlyoutPlacement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar2::ButtonFlyoutPlacement(winrt::Windows::UI::Xaml::Controls::InkToolbarButtonFlyoutPlacement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar2)->put_ButtonFlyoutPlacement(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IInkToolbar2::Orientation() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar2::Orientation() const { winrt::Windows::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar2)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar2::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar2::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar2)->put_Orientation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IInkToolbar2::IsStencilButtonCheckedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar2::IsStencilButtonCheckedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar2)->add_IsStencilButtonCheckedChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IInkToolbar2::IsStencilButtonCheckedChanged_revoker consume_Windows_UI_Xaml_Controls_IInkToolbar2::IsStencilButtonCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar2::IsStencilButtonCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsStencilButtonCheckedChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar2::IsStencilButtonCheckedChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar2::IsStencilButtonCheckedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar2)->remove_IsStencilButtonCheckedChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarMenuButton) consume_Windows_UI_Xaml_Controls_IInkToolbar2::GetMenuButton(winrt::Windows::UI::Xaml::Controls::InkToolbarMenuKind const& menu) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar2::GetMenuButton(winrt::Windows::UI::Xaml::Controls::InkToolbarMenuKind const& menu) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar2)->GetMenuButton(static_cast(menu), &result)); return winrt::Windows::UI::Xaml::Controls::InkToolbarMenuButton{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) consume_Windows_UI_Xaml_Controls_IInkToolbar3::TargetInkPresenter() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar3::TargetInkPresenter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar3)->get_TargetInkPresenter(&value)); return winrt::Windows::UI::Input::Inking::InkPresenter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar3::TargetInkPresenter(winrt::Windows::UI::Input::Inking::InkPresenter const& value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbar3::TargetInkPresenter(winrt::Windows::UI::Input::Inking::InkPresenter const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar3)->put_TargetInkPresenter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarBallpointPenButton) consume_Windows_UI_Xaml_Controls_IInkToolbarBallpointPenButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarBallpointPenButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarBallpointPenButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::InkToolbarBallpointPenButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPen::CreateInkDrawingAttributes(winrt::Windows::UI::Xaml::Media::Brush const& brush, double strokeWidth) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPen::CreateInkDrawingAttributes(winrt::Windows::UI::Xaml::Media::Brush const& brush, double strokeWidth) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPen)->CreateInkDrawingAttributes(*(void**)(&brush), strokeWidth, &result)); return winrt::Windows::UI::Input::Inking::InkDrawingAttributes{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPen) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton::CustomPen() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton::CustomPen() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPenButton)->get_CustomPen(&value)); return winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPen{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton::CustomPen(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPen const& value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton::CustomPen(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPen const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPenButton)->put_CustomPen(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton::ConfigurationContent() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton::ConfigurationContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPenButton)->get_ConfigurationContent(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton::ConfigurationContent(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton::ConfigurationContent(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPenButton)->put_ConfigurationContent(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPenButton) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPenButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPenButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButtonStatics::CustomPenProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButtonStatics::CustomPenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPenButtonStatics)->get_CustomPenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButtonStatics::ConfigurationContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButtonStatics::ConfigurationContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPenButtonStatics)->get_ConfigurationContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPen) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPenFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPen{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenOverrides::CreateInkDrawingAttributesCore(winrt::Windows::UI::Xaml::Media::Brush const& brush, double strokeWidth) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenOverrides::CreateInkDrawingAttributesCore(winrt::Windows::UI::Xaml::Media::Brush const& brush, double strokeWidth) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPenOverrides)->CreateInkDrawingAttributesCore(*(void**)(&brush), strokeWidth, &result)); return winrt::Windows::UI::Input::Inking::InkDrawingAttributes{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomToggleButton) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToggleButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToggleButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomToggleButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::InkToolbarCustomToggleButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButton::ConfigurationContent() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButton::ConfigurationContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomToolButton)->get_ConfigurationContent(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButton::ConfigurationContent(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButton::ConfigurationContent(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomToolButton)->put_ConfigurationContent(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomToolButton) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomToolButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::InkToolbarCustomToolButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButtonStatics::ConfigurationContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButtonStatics::ConfigurationContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomToolButtonStatics)->get_ConfigurationContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButton2::IsClearAllVisible() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButton2::IsClearAllVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarEraserButton2)->get_IsClearAllVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButton2::IsClearAllVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButton2::IsClearAllVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarEraserButton2)->put_IsClearAllVisible(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarEraserButton) consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarEraserButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::InkToolbarEraserButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButtonStatics2::IsClearAllVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButtonStatics2::IsClearAllVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarEraserButtonStatics2)->get_IsClearAllVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbar) consume_Windows_UI_Xaml_Controls_IInkToolbarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::InkToolbar{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItemKind) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Kind() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Kind() const { winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItemKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Kind(winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItemKind const& value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Kind(winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItemKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem)->put_Kind(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::IsChecked() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::IsChecked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem)->get_IsChecked(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::IsChecked(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::IsChecked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem)->put_IsChecked(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Checked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Checked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem)->add_Checked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Checked_revoker consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Checked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Checked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Checked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Checked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Checked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem)->remove_Checked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Unchecked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Unchecked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem)->add_Unchecked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Unchecked_revoker consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Unchecked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Unchecked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Unchecked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Unchecked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem::Unchecked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem)->remove_Unchecked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItemStatics::KindProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItemStatics::KindProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItemStatics)->get_KindProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItemStatics::IsCheckedProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItemStatics::IsCheckedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItemStatics)->get_IsCheckedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarHighlighterButton) consume_Windows_UI_Xaml_Controls_IInkToolbarHighlighterButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarHighlighterButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarHighlighterButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::InkToolbarHighlighterButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilButton) consume_Windows_UI_Xaml_Controls_IInkToolbarIsStencilButtonCheckedChangedEventArgs::StencilButton() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarIsStencilButtonCheckedChangedEventArgs::StencilButton() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarIsStencilButtonCheckedChangedEventArgs)->get_StencilButton(&value)); return winrt::Windows::UI::Xaml::Controls::InkToolbarStencilButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilKind) consume_Windows_UI_Xaml_Controls_IInkToolbarIsStencilButtonCheckedChangedEventArgs::StencilKind() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarIsStencilButtonCheckedChangedEventArgs::StencilKind() const { winrt::Windows::UI::Xaml::Controls::InkToolbarStencilKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarIsStencilButtonCheckedChangedEventArgs)->get_StencilKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarMenuKind) consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButton::MenuKind() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButton::MenuKind() const { winrt::Windows::UI::Xaml::Controls::InkToolbarMenuKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarMenuButton)->get_MenuKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButton::IsExtensionGlyphShown() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButton::IsExtensionGlyphShown() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarMenuButton)->get_IsExtensionGlyphShown(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButton::IsExtensionGlyphShown(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButton::IsExtensionGlyphShown(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarMenuButton)->put_IsExtensionGlyphShown(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButtonStatics::IsExtensionGlyphShownProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButtonStatics::IsExtensionGlyphShownProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarMenuButtonStatics)->get_IsExtensionGlyphShownProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::Palette() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::Palette() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->get_Palette(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::Palette(param::vector const& value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::Palette(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->put_Palette(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::MinStrokeWidth() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::MinStrokeWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->get_MinStrokeWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::MinStrokeWidth(double value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::MinStrokeWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->put_MinStrokeWidth(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::MaxStrokeWidth() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::MaxStrokeWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->get_MaxStrokeWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::MaxStrokeWidth(double value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::MaxStrokeWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->put_MaxStrokeWidth(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::SelectedBrush() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::SelectedBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->get_SelectedBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::SelectedBrushIndex() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::SelectedBrushIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->get_SelectedBrushIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::SelectedBrushIndex(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::SelectedBrushIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->put_SelectedBrushIndex(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::SelectedStrokeWidth() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::SelectedStrokeWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->get_SelectedStrokeWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::SelectedStrokeWidth(double value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton::SelectedStrokeWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->put_SelectedStrokeWidth(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics::PaletteProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics::PaletteProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButtonStatics)->get_PaletteProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics::MinStrokeWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics::MinStrokeWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButtonStatics)->get_MinStrokeWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics::MaxStrokeWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics::MaxStrokeWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButtonStatics)->get_MaxStrokeWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics::SelectedBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics::SelectedBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButtonStatics)->get_SelectedBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics::SelectedBrushIndexProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics::SelectedBrushIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButtonStatics)->get_SelectedBrushIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics::SelectedStrokeWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics::SelectedStrokeWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButtonStatics)->get_SelectedStrokeWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarPenButton) consume_Windows_UI_Xaml_Controls_IInkToolbarPenConfigurationControl::PenButton() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenConfigurationControl::PenButton() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenConfigurationControl)->get_PenButton(&value)); return winrt::Windows::UI::Xaml::Controls::InkToolbarPenButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarPenConfigurationControl) consume_Windows_UI_Xaml_Controls_IInkToolbarPenConfigurationControlFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenConfigurationControlFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenConfigurationControlFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::InkToolbarPenConfigurationControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarPenConfigurationControlStatics::PenButtonProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenConfigurationControlStatics::PenButtonProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenConfigurationControlStatics)->get_PenButtonProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarPencilButton) consume_Windows_UI_Xaml_Controls_IInkToolbarPencilButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarPencilButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPencilButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::InkToolbarPencilButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterRuler) consume_Windows_UI_Xaml_Controls_IInkToolbarRulerButton::Ruler() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarRulerButton::Ruler() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarRulerButton)->get_Ruler(&value)); return winrt::Windows::UI::Input::Inking::InkPresenterRuler{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarRulerButton) consume_Windows_UI_Xaml_Controls_IInkToolbarRulerButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarRulerButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarRulerButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::InkToolbarRulerButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarRulerButtonStatics::RulerProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarRulerButtonStatics::RulerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarRulerButtonStatics)->get_RulerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics::InitialControlsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics::InitialControlsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStatics)->get_InitialControlsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics::ChildrenProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics::ChildrenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStatics)->get_ChildrenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics::ActiveToolProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics::ActiveToolProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStatics)->get_ActiveToolProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics::InkDrawingAttributesProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics::InkDrawingAttributesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStatics)->get_InkDrawingAttributesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics::IsRulerButtonCheckedProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics::IsRulerButtonCheckedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStatics)->get_IsRulerButtonCheckedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics::TargetInkCanvasProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics::TargetInkCanvasProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStatics)->get_TargetInkCanvasProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics2::IsStencilButtonCheckedProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics2::IsStencilButtonCheckedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStatics2)->get_IsStencilButtonCheckedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics2::ButtonFlyoutPlacementProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics2::ButtonFlyoutPlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStatics2)->get_ButtonFlyoutPlacementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics2::OrientationProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics2::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStatics2)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics3::TargetInkPresenterProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics3::TargetInkPresenterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStatics3)->get_TargetInkPresenterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterRuler) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton::Ruler() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton::Ruler() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButton)->get_Ruler(&value)); return winrt::Windows::UI::Input::Inking::InkPresenterRuler{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterProtractor) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton::Protractor() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton::Protractor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButton)->get_Protractor(&value)); return winrt::Windows::UI::Input::Inking::InkPresenterProtractor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilKind) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton::SelectedStencil() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton::SelectedStencil() const { winrt::Windows::UI::Xaml::Controls::InkToolbarStencilKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButton)->get_SelectedStencil(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton::SelectedStencil(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilKind const& value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton::SelectedStencil(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButton)->put_SelectedStencil(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton::IsRulerItemVisible() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton::IsRulerItemVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButton)->get_IsRulerItemVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton::IsRulerItemVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton::IsRulerItemVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButton)->put_IsRulerItemVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton::IsProtractorItemVisible() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton::IsProtractorItemVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButton)->get_IsProtractorItemVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton::IsProtractorItemVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton::IsProtractorItemVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButton)->put_IsProtractorItemVisible(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilButton) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::InkToolbarStencilButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics::RulerProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics::RulerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButtonStatics)->get_RulerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics::ProtractorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics::ProtractorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButtonStatics)->get_ProtractorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics::SelectedStencilProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics::SelectedStencilProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButtonStatics)->get_SelectedStencilProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics::IsRulerItemVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics::IsRulerItemVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButtonStatics)->get_IsRulerItemVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics::IsProtractorItemVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics::IsProtractorItemVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButtonStatics)->get_IsProtractorItemVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarToggle) consume_Windows_UI_Xaml_Controls_IInkToolbarToggleButton::ToggleKind() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarToggleButton::ToggleKind() const { winrt::Windows::UI::Xaml::Controls::InkToolbarToggle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarToggleButton)->get_ToggleKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarTool) consume_Windows_UI_Xaml_Controls_IInkToolbarToolButton::ToolKind() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarToolButton::ToolKind() const { winrt::Windows::UI::Xaml::Controls::InkToolbarTool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarToolButton)->get_ToolKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IInkToolbarToolButton::IsExtensionGlyphShown() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarToolButton::IsExtensionGlyphShown() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarToolButton)->get_IsExtensionGlyphShown(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarToolButton::IsExtensionGlyphShown(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarToolButton::IsExtensionGlyphShown(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarToolButton)->put_IsExtensionGlyphShown(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarToolButtonStatics::IsExtensionGlyphShownProperty() const + template auto consume_Windows_UI_Xaml_Controls_IInkToolbarToolButtonStatics::IsExtensionGlyphShownProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarToolButtonStatics)->get_IsExtensionGlyphShownProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInsertionPanel::GetInsertionIndexes(winrt::Windows::Foundation::Point const& position, int32_t& first, int32_t& second) const + template auto consume_Windows_UI_Xaml_Controls_IInsertionPanel::GetInsertionIndexes(winrt::Windows::Foundation::Point const& position, int32_t& first, int32_t& second) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInsertionPanel)->GetInsertionIndexes(impl::bind_in(position), &first, &second)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IItemClickEventArgs::ClickedItem() const + template auto consume_Windows_UI_Xaml_Controls_IItemClickEventArgs::ClickedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemClickEventArgs)->get_ClickedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::ItemsChanged(winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::ItemsChanged(winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->add_ItemsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::ItemsChanged_revoker consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::ItemsChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::ItemsChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::ItemsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::ItemsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->remove_ItemsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::ItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::ItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->ItemFromContainer(*(void**)(&container), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->ContainerFromItem(*(void**)(&item), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::IndexFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::IndexFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->IndexFromContainer(*(void**)(&container), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::ContainerFromIndex(int32_t index) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::ContainerFromIndex(int32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->ContainerFromIndex(index, &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemContainerGenerator) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::GetItemContainerGeneratorForPanel(winrt::Windows::UI::Xaml::Controls::Panel const& panel) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::GetItemContainerGeneratorForPanel(winrt::Windows::UI::Xaml::Controls::Panel const& panel) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->GetItemContainerGeneratorForPanel(*(void**)(&panel), &result)); return winrt::Windows::UI::Xaml::Controls::ItemContainerGenerator{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::StartAt(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorDirection const& direction, bool allowStartAtRealizedItem) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::StartAt(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorDirection const& direction, bool allowStartAtRealizedItem) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->StartAt(impl::bind_in(position), static_cast(direction), allowStartAtRealizedItem)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::Stop() const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::GenerateNext(bool& isNewlyRealized) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::GenerateNext(bool& isNewlyRealized) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->GenerateNext(&isNewlyRealized, &returnValue)); return winrt::Windows::UI::Xaml::DependencyObject{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::PrepareItemContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::PrepareItemContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->PrepareItemContainer(*(void**)(&container))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::RemoveAll() const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::RemoveAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->RemoveAll()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::Remove(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, int32_t count) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::Remove(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, int32_t count) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->Remove(impl::bind_in(position), count)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::GeneratorPositionFromIndex(int32_t itemIndex) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::GeneratorPositionFromIndex(int32_t itemIndex) const { winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->GeneratorPositionFromIndex(itemIndex, put_abi(result))); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::IndexFromGeneratorPosition(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::IndexFromGeneratorPosition(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->IndexFromGeneratorPosition(impl::bind_in(position), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::Recycle(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, int32_t count) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator::Recycle(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, int32_t count) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->Recycle(impl::bind_in(position), count)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IItemContainerMapping::ItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerMapping::ItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerMapping)->ItemFromContainer(*(void**)(&container), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IItemContainerMapping::ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerMapping::ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerMapping)->ContainerFromItem(*(void**)(&item), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemContainerMapping::IndexFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerMapping::IndexFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerMapping)->IndexFromContainer(*(void**)(&container), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IItemContainerMapping::ContainerFromIndex(int32_t index) const + template auto consume_Windows_UI_Xaml_Controls_IItemContainerMapping::ContainerFromIndex(int32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerMapping)->ContainerFromIndex(index, &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IItemsControl::ItemsSource() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::ItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->get_ItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->put_ItemsSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemCollection) consume_Windows_UI_Xaml_Controls_IItemsControl::Items() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->get_Items(&value)); return winrt::Windows::UI::Xaml::Controls::ItemCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IItemsControl::ItemTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::ItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->get_ItemTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->put_ItemTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) consume_Windows_UI_Xaml_Controls_IItemsControl::ItemTemplateSelector() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::ItemTemplateSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->get_ItemTemplateSelector(&value)); return winrt::Windows::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl::ItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::ItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->put_ItemTemplateSelector(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate) consume_Windows_UI_Xaml_Controls_IItemsControl::ItemsPanel() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::ItemsPanel() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->get_ItemsPanel(&value)); return winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl::ItemsPanel(winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::ItemsPanel(winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->put_ItemsPanel(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IItemsControl::DisplayMemberPath() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::DisplayMemberPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->get_DisplayMemberPath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl::DisplayMemberPath(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::DisplayMemberPath(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->put_DisplayMemberPath(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IItemsControl::ItemContainerStyle() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::ItemContainerStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->get_ItemContainerStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl::ItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::ItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->put_ItemContainerStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StyleSelector) consume_Windows_UI_Xaml_Controls_IItemsControl::ItemContainerStyleSelector() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::ItemContainerStyleSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->get_ItemContainerStyleSelector(&value)); return winrt::Windows::UI::Xaml::Controls::StyleSelector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl::ItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::ItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->put_ItemContainerStyleSelector(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemContainerGenerator) consume_Windows_UI_Xaml_Controls_IItemsControl::ItemContainerGenerator() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::ItemContainerGenerator() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->get_ItemContainerGenerator(&value)); return winrt::Windows::UI::Xaml::Controls::ItemContainerGenerator{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IItemsControl::ItemContainerTransitions() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::ItemContainerTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->get_ItemContainerTransitions(&value)); return winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl::ItemContainerTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::ItemContainerTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->put_ItemContainerTransitions(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) consume_Windows_UI_Xaml_Controls_IItemsControl::GroupStyle() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::GroupStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->get_GroupStyle(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector) consume_Windows_UI_Xaml_Controls_IItemsControl::GroupStyleSelector() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::GroupStyleSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->get_GroupStyleSelector(&value)); return winrt::Windows::UI::Xaml::Controls::GroupStyleSelector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl::GroupStyleSelector(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::GroupStyleSelector(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->put_GroupStyleSelector(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IItemsControl::IsGrouping() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl::IsGrouping() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->get_IsGrouping(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Panel) consume_Windows_UI_Xaml_Controls_IItemsControl2::ItemsPanelRoot() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl2::ItemsPanelRoot() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl2)->get_ItemsPanelRoot(&value)); return winrt::Windows::UI::Xaml::Controls::Panel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IItemsControl3::GroupHeaderContainerFromItemContainer(winrt::Windows::UI::Xaml::DependencyObject const& itemContainer) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControl3::GroupHeaderContainerFromItemContainer(winrt::Windows::UI::Xaml::DependencyObject const& itemContainer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl3)->GroupHeaderContainerFromItemContainer(*(void**)(&itemContainer), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsControl) consume_Windows_UI_Xaml_Controls_IItemsControlFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ItemsControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::IsItemItsOwnContainerOverride(winrt::Windows::Foundation::IInspectable const& item) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::IsItemItsOwnContainerOverride(winrt::Windows::Foundation::IInspectable const& item) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlOverrides)->IsItemItsOwnContainerOverride(*(void**)(&item), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::GetContainerForItemOverride() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::GetContainerForItemOverride() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlOverrides)->GetContainerForItemOverride(&result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::ClearContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::ClearContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlOverrides)->ClearContainerForItemOverride(*(void**)(&element), *(void**)(&item))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::PrepareContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::PrepareContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlOverrides)->PrepareContainerForItemOverride(*(void**)(&element), *(void**)(&item))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& e) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlOverrides)->OnItemsChanged(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::OnItemContainerStyleChanged(winrt::Windows::UI::Xaml::Style const& oldItemContainerStyle, winrt::Windows::UI::Xaml::Style const& newItemContainerStyle) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::OnItemContainerStyleChanged(winrt::Windows::UI::Xaml::Style const& oldItemContainerStyle, winrt::Windows::UI::Xaml::Style const& newItemContainerStyle) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlOverrides)->OnItemContainerStyleChanged(*(void**)(&oldItemContainerStyle), *(void**)(&newItemContainerStyle))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::OnItemContainerStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::StyleSelector const& oldItemContainerStyleSelector, winrt::Windows::UI::Xaml::Controls::StyleSelector const& newItemContainerStyleSelector) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::OnItemContainerStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::StyleSelector const& oldItemContainerStyleSelector, winrt::Windows::UI::Xaml::Controls::StyleSelector const& newItemContainerStyleSelector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlOverrides)->OnItemContainerStyleSelectorChanged(*(void**)(&oldItemContainerStyleSelector), *(void**)(&newItemContainerStyleSelector))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::OnItemTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldItemTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newItemTemplate) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::OnItemTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldItemTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newItemTemplate) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlOverrides)->OnItemTemplateChanged(*(void**)(&oldItemTemplate), *(void**)(&newItemTemplate))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::OnItemTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldItemTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newItemTemplateSelector) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::OnItemTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldItemTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newItemTemplateSelector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlOverrides)->OnItemTemplateSelectorChanged(*(void**)(&oldItemTemplateSelector), *(void**)(&newItemTemplateSelector))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::OnGroupStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& oldGroupStyleSelector, winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& newGroupStyleSelector) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides::OnGroupStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& oldGroupStyleSelector, winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& newGroupStyleSelector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlOverrides)->OnGroupStyleSelectorChanged(*(void**)(&oldGroupStyleSelector), *(void**)(&newGroupStyleSelector))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics::ItemsSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics::ItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlStatics)->get_ItemsSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics::ItemTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics::ItemTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlStatics)->get_ItemTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics::ItemTemplateSelectorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics::ItemTemplateSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlStatics)->get_ItemTemplateSelectorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics::ItemsPanelProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics::ItemsPanelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlStatics)->get_ItemsPanelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics::DisplayMemberPathProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics::DisplayMemberPathProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlStatics)->get_DisplayMemberPathProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics::ItemContainerStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics::ItemContainerStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlStatics)->get_ItemContainerStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics::ItemContainerStyleSelectorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics::ItemContainerStyleSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlStatics)->get_ItemContainerStyleSelectorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics::ItemContainerTransitionsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics::ItemContainerTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlStatics)->get_ItemContainerTransitionsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics::GroupStyleSelectorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics::GroupStyleSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlStatics)->get_GroupStyleSelectorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics::IsGroupingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics::IsGroupingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlStatics)->get_IsGroupingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsControl) consume_Windows_UI_Xaml_Controls_IItemsControlStatics::GetItemsOwner(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics::GetItemsOwner(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlStatics)->GetItemsOwner(*(void**)(&element), &result)); return winrt::Windows::UI::Xaml::Controls::ItemsControl{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsControl) consume_Windows_UI_Xaml_Controls_IItemsControlStatics::ItemsControlFromItemContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const + template auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics::ItemsControlFromItemContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlStatics)->ItemsControlFromItemContainer(*(void**)(&container), &result)); return winrt::Windows::UI::Xaml::Controls::ItemsControl{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IItemsPickedEventArgs::AddedItems() const + template auto consume_Windows_UI_Xaml_Controls_IItemsPickedEventArgs::AddedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPickedEventArgs)->get_AddedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IItemsPickedEventArgs::RemovedItems() const + template auto consume_Windows_UI_Xaml_Controls_IItemsPickedEventArgs::RemovedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPickedEventArgs)->get_RemovedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IItemsPresenter::Header() const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenter::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenter)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsPresenter::Header(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenter::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenter)->put_Header(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IItemsPresenter::HeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenter::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenter)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsPresenter::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenter::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenter)->put_HeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IItemsPresenter::HeaderTransitions() const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenter::HeaderTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenter)->get_HeaderTransitions(&value)); return winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsPresenter::HeaderTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenter::HeaderTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenter)->put_HeaderTransitions(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IItemsPresenter::Padding() const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenter::Padding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenter)->get_Padding(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsPresenter::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenter::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenter)->put_Padding(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IItemsPresenter2::Footer() const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenter2::Footer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenter2)->get_Footer(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsPresenter2::Footer(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenter2::Footer(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenter2)->put_Footer(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IItemsPresenter2::FooterTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenter2::FooterTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenter2)->get_FooterTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsPresenter2::FooterTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenter2::FooterTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenter2)->put_FooterTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IItemsPresenter2::FooterTransitions() const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenter2::FooterTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenter2)->get_FooterTransitions(&value)); return winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsPresenter2::FooterTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenter2::FooterTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenter2)->put_FooterTransitions(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics::HeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenterStatics)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics::HeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenterStatics)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics::HeaderTransitionsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics::HeaderTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenterStatics)->get_HeaderTransitionsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics::PaddingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenterStatics)->get_PaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics2::FooterProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics2::FooterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenterStatics2)->get_FooterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics2::FooterTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics2::FooterTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenterStatics2)->get_FooterTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics2::FooterTransitionsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics2::FooterTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenterStatics2)->get_FooterTransitionsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IItemsStackPanel::GroupPadding() const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel::GroupPadding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_GroupPadding(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsStackPanel::GroupPadding(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel::GroupPadding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->put_GroupPadding(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IItemsStackPanel::Orientation() const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel::Orientation() const { winrt::Windows::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsStackPanel::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->put_Orientation(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsStackPanel::FirstCacheIndex() const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel::FirstCacheIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_FirstCacheIndex(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsStackPanel::FirstVisibleIndex() const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel::FirstVisibleIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_FirstVisibleIndex(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsStackPanel::LastVisibleIndex() const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel::LastVisibleIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_LastVisibleIndex(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsStackPanel::LastCacheIndex() const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel::LastCacheIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_LastCacheIndex(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PanelScrollingDirection) consume_Windows_UI_Xaml_Controls_IItemsStackPanel::ScrollingDirection() const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel::ScrollingDirection() const { winrt::Windows::UI::Xaml::Controls::PanelScrollingDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_ScrollingDirection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement) consume_Windows_UI_Xaml_Controls_IItemsStackPanel::GroupHeaderPlacement() const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel::GroupHeaderPlacement() const { winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_GroupHeaderPlacement(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsStackPanel::GroupHeaderPlacement(winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel::GroupHeaderPlacement(winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->put_GroupHeaderPlacement(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsUpdatingScrollMode) consume_Windows_UI_Xaml_Controls_IItemsStackPanel::ItemsUpdatingScrollMode() const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel::ItemsUpdatingScrollMode() const { winrt::Windows::UI::Xaml::Controls::ItemsUpdatingScrollMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_ItemsUpdatingScrollMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsStackPanel::ItemsUpdatingScrollMode(winrt::Windows::UI::Xaml::Controls::ItemsUpdatingScrollMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel::ItemsUpdatingScrollMode(winrt::Windows::UI::Xaml::Controls::ItemsUpdatingScrollMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->put_ItemsUpdatingScrollMode(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IItemsStackPanel::CacheLength() const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel::CacheLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_CacheLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsStackPanel::CacheLength(double value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel::CacheLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->put_CacheLength(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IItemsStackPanel2::AreStickyGroupHeadersEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel2::AreStickyGroupHeadersEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel2)->get_AreStickyGroupHeadersEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsStackPanel2::AreStickyGroupHeadersEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel2::AreStickyGroupHeadersEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel2)->put_AreStickyGroupHeadersEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics::GroupPaddingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics::GroupPaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanelStatics)->get_GroupPaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics::OrientationProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanelStatics)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics::GroupHeaderPlacementProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics::GroupHeaderPlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanelStatics)->get_GroupHeaderPlacementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics::CacheLengthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics::CacheLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanelStatics)->get_CacheLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics2::AreStickyGroupHeadersEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics2::AreStickyGroupHeadersEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanelStatics2)->get_AreStickyGroupHeadersEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::GroupPadding() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::GroupPadding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_GroupPadding(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::GroupPadding(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::GroupPadding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->put_GroupPadding(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::Orientation() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::Orientation() const { winrt::Windows::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->put_Orientation(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::MaximumRowsOrColumns() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::MaximumRowsOrColumns() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_MaximumRowsOrColumns(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::MaximumRowsOrColumns(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::MaximumRowsOrColumns(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->put_MaximumRowsOrColumns(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::ItemWidth() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::ItemWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_ItemWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::ItemWidth(double value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::ItemWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->put_ItemWidth(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::ItemHeight() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::ItemHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_ItemHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::ItemHeight(double value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::ItemHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->put_ItemHeight(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::FirstCacheIndex() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::FirstCacheIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_FirstCacheIndex(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::FirstVisibleIndex() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::FirstVisibleIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_FirstVisibleIndex(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::LastVisibleIndex() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::LastVisibleIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_LastVisibleIndex(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::LastCacheIndex() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::LastCacheIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_LastCacheIndex(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PanelScrollingDirection) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::ScrollingDirection() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::ScrollingDirection() const { winrt::Windows::UI::Xaml::Controls::PanelScrollingDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_ScrollingDirection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::GroupHeaderPlacement() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::GroupHeaderPlacement() const { winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_GroupHeaderPlacement(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::GroupHeaderPlacement(winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::GroupHeaderPlacement(winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->put_GroupHeaderPlacement(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::CacheLength() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::CacheLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_CacheLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::CacheLength(double value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid::CacheLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->put_CacheLength(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid2::AreStickyGroupHeadersEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid2::AreStickyGroupHeadersEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid2)->get_AreStickyGroupHeadersEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid2::AreStickyGroupHeadersEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid2::AreStickyGroupHeadersEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid2)->put_AreStickyGroupHeadersEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics::GroupPaddingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics::GroupPaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGridStatics)->get_GroupPaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics::OrientationProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGridStatics)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics::MaximumRowsOrColumnsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics::MaximumRowsOrColumnsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGridStatics)->get_MaximumRowsOrColumnsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics::ItemWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics::ItemWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGridStatics)->get_ItemWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics::ItemHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics::ItemHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGridStatics)->get_ItemHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics::GroupHeaderPlacementProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics::GroupHeaderPlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGridStatics)->get_GroupHeaderPlacementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics::CacheLengthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics::CacheLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGridStatics)->get_CacheLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics2::AreStickyGroupHeadersEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics2::AreStickyGroupHeadersEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGridStatics2)->get_AreStickyGroupHeadersEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IListBox::SelectedItems() const + template auto consume_Windows_UI_Xaml_Controls_IListBox::SelectedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBox)->get_SelectedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SelectionMode) consume_Windows_UI_Xaml_Controls_IListBox::SelectionMode() const + template auto consume_Windows_UI_Xaml_Controls_IListBox::SelectionMode() const { winrt::Windows::UI::Xaml::Controls::SelectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBox)->get_SelectionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListBox::SelectionMode(winrt::Windows::UI::Xaml::Controls::SelectionMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListBox::SelectionMode(winrt::Windows::UI::Xaml::Controls::SelectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBox)->put_SelectionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListBox::ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item) const + template auto consume_Windows_UI_Xaml_Controls_IListBox::ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBox)->ScrollIntoView(*(void**)(&item))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListBox::SelectAll() const + template auto consume_Windows_UI_Xaml_Controls_IListBox::SelectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBox)->SelectAll()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListBox2::SingleSelectionFollowsFocus() const + template auto consume_Windows_UI_Xaml_Controls_IListBox2::SingleSelectionFollowsFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBox2)->get_SingleSelectionFollowsFocus(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListBox2::SingleSelectionFollowsFocus(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IListBox2::SingleSelectionFollowsFocus(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBox2)->put_SingleSelectionFollowsFocus(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListBox) consume_Windows_UI_Xaml_Controls_IListBoxFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IListBoxFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBoxFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ListBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListBoxItem) consume_Windows_UI_Xaml_Controls_IListBoxItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IListBoxItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBoxItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ListBoxItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListBoxStatics::SelectionModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListBoxStatics::SelectionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBoxStatics)->get_SelectionModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListBoxStatics2::SingleSelectionFollowsFocusProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListBoxStatics2::SingleSelectionFollowsFocusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBoxStatics2)->get_SingleSelectionFollowsFocusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ItemsSource() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->get_ItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->put_ItemsSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ItemTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->get_ItemTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->put_ItemTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::DisplayMemberPath() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::DisplayMemberPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->get_DisplayMemberPath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::DisplayMemberPath(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::DisplayMemberPath(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->put_DisplayMemberPath(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListPickerFlyoutSelectionMode) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectionMode() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectionMode() const { winrt::Windows::UI::Xaml::Controls::ListPickerFlyoutSelectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->get_SelectionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectionMode(winrt::Windows::UI::Xaml::Controls::ListPickerFlyoutSelectionMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectionMode(winrt::Windows::UI::Xaml::Controls::ListPickerFlyoutSelectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->put_SelectionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedIndex() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->get_SelectedIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedIndex(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->put_SelectedIndex(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedItem() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->get_SelectedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->put_SelectedItem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedValue() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->get_SelectedValue(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedValue(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedValue(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->put_SelectedValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedValuePath() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedValuePath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->get_SelectedValuePath(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedValuePath(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedValuePath(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->put_SelectedValuePath(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedItems() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::SelectedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->get_SelectedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ItemsPicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ItemsPicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->add_ItemsPicked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ItemsPicked_revoker consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ItemsPicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ItemsPicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemsPicked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ItemsPicked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ItemsPicked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->remove_ItemsPicked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout::ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->ShowAtAsync(*(void**)(&target), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics::ItemsSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics::ItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyoutStatics)->get_ItemsSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics::ItemTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics::ItemTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyoutStatics)->get_ItemTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics::DisplayMemberPathProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics::DisplayMemberPathProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyoutStatics)->get_DisplayMemberPathProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics::SelectionModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics::SelectionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyoutStatics)->get_SelectionModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics::SelectedIndexProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics::SelectedIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyoutStatics)->get_SelectedIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics::SelectedItemProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics::SelectedItemProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyoutStatics)->get_SelectedItemProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics::SelectedValueProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics::SelectedValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyoutStatics)->get_SelectedValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics::SelectedValuePathProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics::SelectedValuePathProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyoutStatics)->get_SelectedValuePathProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IListViewBase::SelectedItems() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::SelectedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_SelectedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewSelectionMode) consume_Windows_UI_Xaml_Controls_IListViewBase::SelectionMode() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::SelectionMode() const { winrt::Windows::UI::Xaml::Controls::ListViewSelectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_SelectionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase::SelectionMode(winrt::Windows::UI::Xaml::Controls::ListViewSelectionMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::SelectionMode(winrt::Windows::UI::Xaml::Controls::ListViewSelectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_SelectionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListViewBase::IsSwipeEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::IsSwipeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_IsSwipeEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase::IsSwipeEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::IsSwipeEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_IsSwipeEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListViewBase::CanDragItems() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::CanDragItems() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_CanDragItems(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase::CanDragItems(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::CanDragItems(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_CanDragItems(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListViewBase::CanReorderItems() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::CanReorderItems() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_CanReorderItems(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase::CanReorderItems(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::CanReorderItems(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_CanReorderItems(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListViewBase::IsItemClickEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::IsItemClickEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_IsItemClickEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase::IsItemClickEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::IsItemClickEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_IsItemClickEnabled(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IListViewBase::DataFetchSize() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::DataFetchSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_DataFetchSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase::DataFetchSize(double value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::DataFetchSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_DataFetchSize(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IListViewBase::IncrementalLoadingThreshold() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::IncrementalLoadingThreshold() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_IncrementalLoadingThreshold(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase::IncrementalLoadingThreshold(double value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::IncrementalLoadingThreshold(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_IncrementalLoadingThreshold(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IncrementalLoadingTrigger) consume_Windows_UI_Xaml_Controls_IListViewBase::IncrementalLoadingTrigger() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::IncrementalLoadingTrigger() const { winrt::Windows::UI::Xaml::Controls::IncrementalLoadingTrigger value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_IncrementalLoadingTrigger(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase::IncrementalLoadingTrigger(winrt::Windows::UI::Xaml::Controls::IncrementalLoadingTrigger const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::IncrementalLoadingTrigger(winrt::Windows::UI::Xaml::Controls::IncrementalLoadingTrigger const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_IncrementalLoadingTrigger(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IListViewBase::ItemClick(winrt::Windows::UI::Xaml::Controls::ItemClickEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::ItemClick(winrt::Windows::UI::Xaml::Controls::ItemClickEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->add_ItemClick(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IListViewBase::ItemClick_revoker consume_Windows_UI_Xaml_Controls_IListViewBase::ItemClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ItemClickEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::ItemClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ItemClickEventHandler const& handler) const { return impl::make_event_revoker(this, ItemClick(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase::ItemClick(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::ItemClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->remove_ItemClick(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IListViewBase::DragItemsStarting(winrt::Windows::UI::Xaml::Controls::DragItemsStartingEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::DragItemsStarting(winrt::Windows::UI::Xaml::Controls::DragItemsStartingEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->add_DragItemsStarting(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IListViewBase::DragItemsStarting_revoker consume_Windows_UI_Xaml_Controls_IListViewBase::DragItemsStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::DragItemsStartingEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::DragItemsStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::DragItemsStartingEventHandler const& handler) const { return impl::make_event_revoker(this, DragItemsStarting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase::DragItemsStarting(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::DragItemsStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->remove_DragItemsStarting(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase::ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->ScrollIntoView(*(void**)(&item))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase::SelectAll() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::SelectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->SelectAll()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_IListViewBase::LoadMoreItemsAsync() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::LoadMoreItemsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->LoadMoreItemsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase::ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Controls::ScrollIntoViewAlignment const& alignment) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Controls::ScrollIntoViewAlignment const& alignment) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->ScrollIntoViewWithAlignment(*(void**)(&item), static_cast(alignment))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IListViewBase::Header() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase::Header(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_Header(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IListViewBase::HeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_HeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IListViewBase::HeaderTransitions() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::HeaderTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_HeaderTransitions(&value)); return winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase::HeaderTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase::HeaderTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_HeaderTransitions(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListViewBase2::ShowsScrollingPlaceholders() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase2::ShowsScrollingPlaceholders() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase2)->get_ShowsScrollingPlaceholders(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase2::ShowsScrollingPlaceholders(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase2::ShowsScrollingPlaceholders(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase2)->put_ShowsScrollingPlaceholders(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IListViewBase2::ContainerContentChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase2::ContainerContentChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase2)->add_ContainerContentChanging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IListViewBase2::ContainerContentChanging_revoker consume_Windows_UI_Xaml_Controls_IListViewBase2::ContainerContentChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase2::ContainerContentChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContainerContentChanging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase2::ContainerContentChanging(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IListViewBase2::ContainerContentChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase2)->remove_ContainerContentChanging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase2::SetDesiredContainerUpdateDuration(winrt::Windows::Foundation::TimeSpan const& duration) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase2::SetDesiredContainerUpdateDuration(winrt::Windows::Foundation::TimeSpan const& duration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase2)->SetDesiredContainerUpdateDuration(impl::bind_in(duration))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IListViewBase2::Footer() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase2::Footer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase2)->get_Footer(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase2::Footer(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase2::Footer(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase2)->put_Footer(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IListViewBase2::FooterTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase2::FooterTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase2)->get_FooterTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase2::FooterTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase2::FooterTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase2)->put_FooterTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IListViewBase2::FooterTransitions() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase2::FooterTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase2)->get_FooterTransitions(&value)); return winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase2::FooterTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase2::FooterTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase2)->put_FooterTransitions(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewReorderMode) consume_Windows_UI_Xaml_Controls_IListViewBase3::ReorderMode() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase3::ReorderMode() const { winrt::Windows::UI::Xaml::Controls::ListViewReorderMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase3)->get_ReorderMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase3::ReorderMode(winrt::Windows::UI::Xaml::Controls::ListViewReorderMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase3::ReorderMode(winrt::Windows::UI::Xaml::Controls::ListViewReorderMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase3)->put_ReorderMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Controls_IListViewBase4::SelectedRanges() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase4::SelectedRanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->get_SelectedRanges(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListViewBase4::IsMultiSelectCheckBoxEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase4::IsMultiSelectCheckBoxEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->get_IsMultiSelectCheckBoxEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase4::IsMultiSelectCheckBoxEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase4::IsMultiSelectCheckBoxEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->put_IsMultiSelectCheckBoxEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IListViewBase4::DragItemsCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase4::DragItemsCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->add_DragItemsCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IListViewBase4::DragItemsCompleted_revoker consume_Windows_UI_Xaml_Controls_IListViewBase4::DragItemsCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase4::DragItemsCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DragItemsCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase4::DragItemsCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IListViewBase4::DragItemsCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->remove_DragItemsCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IListViewBase4::ChoosingItemContainer(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase4::ChoosingItemContainer(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->add_ChoosingItemContainer(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IListViewBase4::ChoosingItemContainer_revoker consume_Windows_UI_Xaml_Controls_IListViewBase4::ChoosingItemContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase4::ChoosingItemContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ChoosingItemContainer(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase4::ChoosingItemContainer(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IListViewBase4::ChoosingItemContainer(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->remove_ChoosingItemContainer(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IListViewBase4::ChoosingGroupHeaderContainer(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase4::ChoosingGroupHeaderContainer(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->add_ChoosingGroupHeaderContainer(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IListViewBase4::ChoosingGroupHeaderContainer_revoker consume_Windows_UI_Xaml_Controls_IListViewBase4::ChoosingGroupHeaderContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase4::ChoosingGroupHeaderContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ChoosingGroupHeaderContainer(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase4::ChoosingGroupHeaderContainer(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IListViewBase4::ChoosingGroupHeaderContainer(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->remove_ChoosingGroupHeaderContainer(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase4::SelectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase4::SelectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->SelectRange(*(void**)(&itemIndexRange))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase4::DeselectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase4::DeselectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->DeselectRange(*(void**)(&itemIndexRange))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListViewBase5::SingleSelectionFollowsFocus() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase5::SingleSelectionFollowsFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase5)->get_SingleSelectionFollowsFocus(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase5::SingleSelectionFollowsFocus(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase5::SingleSelectionFollowsFocus(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase5)->put_SingleSelectionFollowsFocus(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListViewBase5::IsDragSource() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase5::IsDragSource() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase5)->IsDragSource(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_IListViewBase6::TryStartConnectedAnimationAsync(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation const& animation, winrt::Windows::Foundation::IInspectable const& item, param::hstring const& elementName) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase6::TryStartConnectedAnimationAsync(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation const& animation, winrt::Windows::Foundation::IInspectable const& item, param::hstring const& elementName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase6)->TryStartConnectedAnimationAsync(*(void**)(&animation), *(void**)(&item), *(void**)(&elementName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation) consume_Windows_UI_Xaml_Controls_IListViewBase6::PrepareConnectedAnimation(param::hstring const& key, winrt::Windows::Foundation::IInspectable const& item, param::hstring const& elementName) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBase6::PrepareConnectedAnimation(param::hstring const& key, winrt::Windows::Foundation::IInspectable const& item, param::hstring const& elementName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase6)->PrepareConnectedAnimation(*(void**)(&key), *(void**)(&item), *(void**)(&elementName), &result)); return winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewBase) consume_Windows_UI_Xaml_Controls_IListViewBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ListViewBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::SelectionModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::SelectionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics)->get_SelectionModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::IsSwipeEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::IsSwipeEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics)->get_IsSwipeEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::CanDragItemsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::CanDragItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics)->get_CanDragItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::CanReorderItemsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::CanReorderItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics)->get_CanReorderItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::IsItemClickEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::IsItemClickEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics)->get_IsItemClickEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::DataFetchSizeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::DataFetchSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics)->get_DataFetchSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::IncrementalLoadingThresholdProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::IncrementalLoadingThresholdProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics)->get_IncrementalLoadingThresholdProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::IncrementalLoadingTriggerProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::IncrementalLoadingTriggerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics)->get_IncrementalLoadingTriggerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::SemanticZoomOwnerProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::SemanticZoomOwnerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics)->get_SemanticZoomOwnerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::IsActiveViewProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::IsActiveViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics)->get_IsActiveViewProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::IsZoomedInViewProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::IsZoomedInViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics)->get_IsZoomedInViewProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::HeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::HeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::HeaderTransitionsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics::HeaderTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics)->get_HeaderTransitionsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2::ShowsScrollingPlaceholdersProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2::ShowsScrollingPlaceholdersProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics2)->get_ShowsScrollingPlaceholdersProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2::FooterProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2::FooterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics2)->get_FooterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2::FooterTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2::FooterTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics2)->get_FooterTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2::FooterTransitionsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2::FooterTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics2)->get_FooterTransitionsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics3::ReorderModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics3::ReorderModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics3)->get_ReorderModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics4::IsMultiSelectCheckBoxEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics4::IsMultiSelectCheckBoxEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics4)->get_IsMultiSelectCheckBoxEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics5::SingleSelectionFollowsFocusProperty() const + template auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics5::SingleSelectionFollowsFocusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics5)->get_SingleSelectionFollowsFocusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListView) consume_Windows_UI_Xaml_Controls_IListViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IListViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ListView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewHeaderItem) consume_Windows_UI_Xaml_Controls_IListViewHeaderItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IListViewHeaderItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewHeaderItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ListViewHeaderItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemTemplateSettings) consume_Windows_UI_Xaml_Controls_IListViewItem::TemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_IListViewItem::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewItem)->get_TemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewItem) consume_Windows_UI_Xaml_Controls_IListViewItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IListViewItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ListViewItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IListViewPersistenceHelperStatics::GetRelativeScrollPosition(winrt::Windows::UI::Xaml::Controls::ListViewBase const& listViewBase, winrt::Windows::UI::Xaml::Controls::ListViewItemToKeyHandler const& itemToKeyHandler) const + template auto consume_Windows_UI_Xaml_Controls_IListViewPersistenceHelperStatics::GetRelativeScrollPosition(winrt::Windows::UI::Xaml::Controls::ListViewBase const& listViewBase, winrt::Windows::UI::Xaml::Controls::ListViewItemToKeyHandler const& itemToKeyHandler) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewPersistenceHelperStatics)->GetRelativeScrollPosition(*(void**)(&listViewBase), *(void**)(&itemToKeyHandler), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Controls_IListViewPersistenceHelperStatics::SetRelativeScrollPositionAsync(winrt::Windows::UI::Xaml::Controls::ListViewBase const& listViewBase, param::hstring const& relativeScrollPosition, winrt::Windows::UI::Xaml::Controls::ListViewKeyToItemHandler const& keyToItemHandler) const + template auto consume_Windows_UI_Xaml_Controls_IListViewPersistenceHelperStatics::SetRelativeScrollPositionAsync(winrt::Windows::UI::Xaml::Controls::ListViewBase const& listViewBase, param::hstring const& relativeScrollPosition, winrt::Windows::UI::Xaml::Controls::ListViewKeyToItemHandler const& keyToItemHandler) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewPersistenceHelperStatics)->SetRelativeScrollPositionAsync(*(void**)(&listViewBase), *(void**)(&relativeScrollPosition), *(void**)(&keyToItemHandler), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IMediaElement::PosterSource() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::PosterSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_PosterSource(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::PosterSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::PosterSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_PosterSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IMediaElement::Source() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_Source(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::Source(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::Source(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_Source(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement::IsMuted() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::IsMuted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_IsMuted(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::IsMuted(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::IsMuted(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_IsMuted(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement::IsAudioOnly() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::IsAudioOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_IsAudioOnly(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement::AutoPlay() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::AutoPlay() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_AutoPlay(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::AutoPlay(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::AutoPlay(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_AutoPlay(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IMediaElement::Volume() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::Volume() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_Volume(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::Volume(double value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::Volume(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_Volume(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IMediaElement::Balance() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::Balance() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_Balance(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::Balance(double value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::Balance(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_Balance(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IMediaElement::NaturalVideoHeight() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::NaturalVideoHeight() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_NaturalVideoHeight(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IMediaElement::NaturalVideoWidth() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::NaturalVideoWidth() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_NaturalVideoWidth(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_Controls_IMediaElement::NaturalDuration() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::NaturalDuration() const { winrt::Windows::UI::Xaml::Duration value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_NaturalDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_IMediaElement::Position() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::Position() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::Position(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::Position(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_Position(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IMediaElement::DownloadProgress() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::DownloadProgress() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_DownloadProgress(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IMediaElement::BufferingProgress() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::BufferingProgress() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_BufferingProgress(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IMediaElement::DownloadProgressOffset() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::DownloadProgressOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_DownloadProgressOffset(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::MediaElementState) consume_Windows_UI_Xaml_Controls_IMediaElement::CurrentState() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::CurrentState() const { winrt::Windows::UI::Xaml::Media::MediaElementState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_CurrentState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::TimelineMarkerCollection) consume_Windows_UI_Xaml_Controls_IMediaElement::Markers() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::Markers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_Markers(&value)); return winrt::Windows::UI::Xaml::Media::TimelineMarkerCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement::CanSeek() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::CanSeek() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_CanSeek(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement::CanPause() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::CanPause() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_CanPause(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IMediaElement::AudioStreamCount() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::AudioStreamCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_AudioStreamCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_IMediaElement::AudioStreamIndex() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::AudioStreamIndex() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_AudioStreamIndex(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::AudioStreamIndex(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::AudioStreamIndex(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_AudioStreamIndex(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IMediaElement::PlaybackRate() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::PlaybackRate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_PlaybackRate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::PlaybackRate(double value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::PlaybackRate(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_PlaybackRate(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement::IsLooping() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::IsLooping() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_IsLooping(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::IsLooping(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::IsLooping(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_IsLooping(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSource) consume_Windows_UI_Xaml_Controls_IMediaElement::PlayToSource() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::PlayToSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_PlayToSource(&value)); return winrt::Windows::Media::PlayTo::PlayToSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IMediaElement::DefaultPlaybackRate() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::DefaultPlaybackRate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_DefaultPlaybackRate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::DefaultPlaybackRate(double value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::DefaultPlaybackRate(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_DefaultPlaybackRate(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IMediaElement::AspectRatioWidth() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::AspectRatioWidth() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_AspectRatioWidth(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IMediaElement::AspectRatioHeight() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::AspectRatioHeight() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_AspectRatioHeight(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement::RealTimePlayback() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::RealTimePlayback() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_RealTimePlayback(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::RealTimePlayback(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::RealTimePlayback(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_RealTimePlayback(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AudioCategory) consume_Windows_UI_Xaml_Controls_IMediaElement::AudioCategory() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::AudioCategory() const { winrt::Windows::UI::Xaml::Media::AudioCategory value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_AudioCategory(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::AudioCategory(winrt::Windows::UI::Xaml::Media::AudioCategory const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::AudioCategory(winrt::Windows::UI::Xaml::Media::AudioCategory const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_AudioCategory(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AudioDeviceType) consume_Windows_UI_Xaml_Controls_IMediaElement::AudioDeviceType() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::AudioDeviceType() const { winrt::Windows::UI::Xaml::Media::AudioDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_AudioDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::AudioDeviceType(winrt::Windows::UI::Xaml::Media::AudioDeviceType const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::AudioDeviceType(winrt::Windows::UI::Xaml::Media::AudioDeviceType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_AudioDeviceType(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionManager) consume_Windows_UI_Xaml_Controls_IMediaElement::ProtectionManager() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::ProtectionManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_ProtectionManager(&value)); return winrt::Windows::Media::Protection::MediaProtectionManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::ProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::ProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_ProtectionManager(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stereo3DVideoPackingMode) consume_Windows_UI_Xaml_Controls_IMediaElement::Stereo3DVideoPackingMode() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::Stereo3DVideoPackingMode() const { winrt::Windows::UI::Xaml::Media::Stereo3DVideoPackingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_Stereo3DVideoPackingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::Stereo3DVideoPackingMode(winrt::Windows::UI::Xaml::Media::Stereo3DVideoPackingMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::Stereo3DVideoPackingMode(winrt::Windows::UI::Xaml::Media::Stereo3DVideoPackingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_Stereo3DVideoPackingMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stereo3DVideoRenderMode) consume_Windows_UI_Xaml_Controls_IMediaElement::Stereo3DVideoRenderMode() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::Stereo3DVideoRenderMode() const { winrt::Windows::UI::Xaml::Media::Stereo3DVideoRenderMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_Stereo3DVideoRenderMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::Stereo3DVideoRenderMode(winrt::Windows::UI::Xaml::Media::Stereo3DVideoRenderMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::Stereo3DVideoRenderMode(winrt::Windows::UI::Xaml::Media::Stereo3DVideoRenderMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_Stereo3DVideoRenderMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement::IsStereo3DVideo() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::IsStereo3DVideo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_IsStereo3DVideo(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement::MediaOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::MediaOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->add_MediaOpened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IMediaElement::MediaOpened_revoker consume_Windows_UI_Xaml_Controls_IMediaElement::MediaOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::MediaOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, MediaOpened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::MediaOpened(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::MediaOpened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_MediaOpened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement::MediaEnded(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::MediaEnded(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->add_MediaEnded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IMediaElement::MediaEnded_revoker consume_Windows_UI_Xaml_Controls_IMediaElement::MediaEnded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::MediaEnded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, MediaEnded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::MediaEnded(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::MediaEnded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_MediaEnded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement::MediaFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::MediaFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->add_MediaFailed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IMediaElement::MediaFailed_revoker consume_Windows_UI_Xaml_Controls_IMediaElement::MediaFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::MediaFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const { return impl::make_event_revoker(this, MediaFailed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::MediaFailed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::MediaFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_MediaFailed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement::DownloadProgressChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::DownloadProgressChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->add_DownloadProgressChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IMediaElement::DownloadProgressChanged_revoker consume_Windows_UI_Xaml_Controls_IMediaElement::DownloadProgressChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::DownloadProgressChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, DownloadProgressChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::DownloadProgressChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::DownloadProgressChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_DownloadProgressChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement::BufferingProgressChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::BufferingProgressChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->add_BufferingProgressChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IMediaElement::BufferingProgressChanged_revoker consume_Windows_UI_Xaml_Controls_IMediaElement::BufferingProgressChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::BufferingProgressChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, BufferingProgressChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::BufferingProgressChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::BufferingProgressChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_BufferingProgressChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement::CurrentStateChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::CurrentStateChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->add_CurrentStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IMediaElement::CurrentStateChanged_revoker consume_Windows_UI_Xaml_Controls_IMediaElement::CurrentStateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::CurrentStateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, CurrentStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::CurrentStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::CurrentStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_CurrentStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement::MarkerReached(winrt::Windows::UI::Xaml::Media::TimelineMarkerRoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::MarkerReached(winrt::Windows::UI::Xaml::Media::TimelineMarkerRoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->add_MarkerReached(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IMediaElement::MarkerReached_revoker consume_Windows_UI_Xaml_Controls_IMediaElement::MarkerReached(auto_revoke_t, winrt::Windows::UI::Xaml::Media::TimelineMarkerRoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::MarkerReached(auto_revoke_t, winrt::Windows::UI::Xaml::Media::TimelineMarkerRoutedEventHandler const& handler) const { return impl::make_event_revoker(this, MarkerReached(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::MarkerReached(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::MarkerReached(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_MarkerReached(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement::RateChanged(winrt::Windows::UI::Xaml::Media::RateChangedRoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::RateChanged(winrt::Windows::UI::Xaml::Media::RateChangedRoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->add_RateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IMediaElement::RateChanged_revoker consume_Windows_UI_Xaml_Controls_IMediaElement::RateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Media::RateChangedRoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::RateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Media::RateChangedRoutedEventHandler const& handler) const { return impl::make_event_revoker(this, RateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::RateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::RateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_RateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement::VolumeChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::VolumeChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->add_VolumeChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IMediaElement::VolumeChanged_revoker consume_Windows_UI_Xaml_Controls_IMediaElement::VolumeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::VolumeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, VolumeChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::VolumeChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::VolumeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_VolumeChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement::SeekCompleted(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::SeekCompleted(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->add_SeekCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IMediaElement::SeekCompleted_revoker consume_Windows_UI_Xaml_Controls_IMediaElement::SeekCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::SeekCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, SeekCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::SeekCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::SeekCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_SeekCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::Stop() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->Stop()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::Play() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::Play() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->Play()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::Pause() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->Pause()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::MediaCanPlayResponse) consume_Windows_UI_Xaml_Controls_IMediaElement::CanPlayType(param::hstring const& type) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::CanPlayType(param::hstring const& type) const { winrt::Windows::UI::Xaml::Media::MediaCanPlayResponse result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->CanPlayType(*(void**)(&type), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::SetSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& mimeType) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::SetSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& mimeType) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->SetSource(*(void**)(&stream), *(void**)(&mimeType))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IMediaElement::GetAudioStreamLanguage(winrt::Windows::Foundation::IReference const& index) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::GetAudioStreamLanguage(winrt::Windows::Foundation::IReference const& index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->GetAudioStreamLanguage(*(void**)(&index), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::AddAudioEffect(param::hstring const& effectID, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& effectConfiguration) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::AddAudioEffect(param::hstring const& effectID, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& effectConfiguration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->AddAudioEffect(*(void**)(&effectID), effectOptional, *(void**)(&effectConfiguration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::AddVideoEffect(param::hstring const& effectID, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& effectConfiguration) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::AddVideoEffect(param::hstring const& effectID, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& effectConfiguration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->AddVideoEffect(*(void**)(&effectID), effectOptional, *(void**)(&effectConfiguration))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement::RemoveAllEffects() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::RemoveAllEffects() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->RemoveAllEffects()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stereo3DVideoPackingMode) consume_Windows_UI_Xaml_Controls_IMediaElement::ActualStereo3DVideoPackingMode() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement::ActualStereo3DVideoPackingMode() const { winrt::Windows::UI::Xaml::Media::Stereo3DVideoPackingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_ActualStereo3DVideoPackingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement2::AreTransportControlsEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement2::AreTransportControlsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement2)->get_AreTransportControlsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement2::AreTransportControlsEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement2::AreTransportControlsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement2)->put_AreTransportControlsEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) consume_Windows_UI_Xaml_Controls_IMediaElement2::Stretch() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement2::Stretch() const { winrt::Windows::UI::Xaml::Media::Stretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement2)->get_Stretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement2::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement2::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement2)->put_Stretch(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement2::IsFullWindow() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement2::IsFullWindow() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement2)->get_IsFullWindow(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement2::IsFullWindow(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement2::IsFullWindow(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement2)->put_IsFullWindow(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement2::SetMediaStreamSource(winrt::Windows::Media::Core::IMediaSource const& source) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement2::SetMediaStreamSource(winrt::Windows::Media::Core::IMediaSource const& source) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement2)->SetMediaStreamSource(*(void**)(&source))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IMediaElement2::PlayToPreferredSourceUri() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement2::PlayToPreferredSourceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement2)->get_PlayToPreferredSourceUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement2::PlayToPreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement2::PlayToPreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement2)->put_PlayToPreferredSourceUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MediaTransportControls) consume_Windows_UI_Xaml_Controls_IMediaElement3::TransportControls() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement3::TransportControls() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement3)->get_TransportControls(&value)); return winrt::Windows::UI::Xaml::Controls::MediaTransportControls{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement3::TransportControls(winrt::Windows::UI::Xaml::Controls::MediaTransportControls const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement3::TransportControls(winrt::Windows::UI::Xaml::Controls::MediaTransportControls const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement3)->put_TransportControls(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement3::PartialMediaFailureDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement3::PartialMediaFailureDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement3)->add_PartialMediaFailureDetected(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IMediaElement3::PartialMediaFailureDetected_revoker consume_Windows_UI_Xaml_Controls_IMediaElement3::PartialMediaFailureDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement3::PartialMediaFailureDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PartialMediaFailureDetected(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement3::PartialMediaFailureDetected(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IMediaElement3::PartialMediaFailureDetected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement3)->remove_PartialMediaFailureDetected(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement3::SetPlaybackSource(winrt::Windows::Media::Playback::IMediaPlaybackSource const& source) const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement3::SetPlaybackSource(winrt::Windows::Media::Playback::IMediaPlaybackSource const& source) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement3)->SetPlaybackSource(*(void**)(&source))); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingSource) consume_Windows_UI_Xaml_Controls_IMediaElement3::GetAsCastingSource() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElement3::GetAsCastingSource() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement3)->GetAsCastingSource(&result)); return winrt::Windows::Media::Casting::CastingSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::PosterSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::PosterSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_PosterSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::SourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::SourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_SourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::IsMutedProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::IsMutedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_IsMutedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::IsAudioOnlyProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::IsAudioOnlyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_IsAudioOnlyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::AutoPlayProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::AutoPlayProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_AutoPlayProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::VolumeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::VolumeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_VolumeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::BalanceProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::BalanceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_BalanceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::NaturalVideoHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::NaturalVideoHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_NaturalVideoHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::NaturalVideoWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::NaturalVideoWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_NaturalVideoWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::NaturalDurationProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::NaturalDurationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_NaturalDurationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::PositionProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::PositionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_PositionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::DownloadProgressProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::DownloadProgressProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_DownloadProgressProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::BufferingProgressProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::BufferingProgressProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_BufferingProgressProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::DownloadProgressOffsetProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::DownloadProgressOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_DownloadProgressOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::CurrentStateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::CurrentStateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_CurrentStateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::CanSeekProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::CanSeekProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_CanSeekProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::CanPauseProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::CanPauseProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_CanPauseProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::AudioStreamCountProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::AudioStreamCountProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_AudioStreamCountProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::AudioStreamIndexProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::AudioStreamIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_AudioStreamIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::PlaybackRateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::PlaybackRateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_PlaybackRateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::IsLoopingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::IsLoopingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_IsLoopingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::PlayToSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::PlayToSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_PlayToSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::DefaultPlaybackRateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::DefaultPlaybackRateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_DefaultPlaybackRateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::AspectRatioWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::AspectRatioWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_AspectRatioWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::AspectRatioHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::AspectRatioHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_AspectRatioHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::RealTimePlaybackProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::RealTimePlaybackProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_RealTimePlaybackProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::AudioCategoryProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::AudioCategoryProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_AudioCategoryProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::AudioDeviceTypeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::AudioDeviceTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_AudioDeviceTypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::ProtectionManagerProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::ProtectionManagerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_ProtectionManagerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::Stereo3DVideoPackingModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::Stereo3DVideoPackingModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_Stereo3DVideoPackingModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::Stereo3DVideoRenderModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::Stereo3DVideoRenderModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_Stereo3DVideoRenderModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::IsStereo3DVideoProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::IsStereo3DVideoProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_IsStereo3DVideoProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics::ActualStereo3DVideoPackingModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics::ActualStereo3DVideoPackingModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics)->get_ActualStereo3DVideoPackingModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics2::AreTransportControlsEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics2::AreTransportControlsEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics2)->get_AreTransportControlsEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics2::StretchProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics2::StretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics2)->get_StretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics2::IsFullWindowProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics2::IsFullWindowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics2)->get_IsFullWindowProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics2::PlayToPreferredSourceUriProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics2::PlayToPreferredSourceUriProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElementStatics2)->get_PlayToPreferredSourceUriProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::IMediaPlaybackSource) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::Source() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->get_Source(&value)); return winrt::Windows::Media::Playback::IMediaPlaybackSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::Source(winrt::Windows::Media::Playback::IMediaPlaybackSource const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::Source(winrt::Windows::Media::Playback::IMediaPlaybackSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->put_Source(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MediaTransportControls) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::TransportControls() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::TransportControls() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->get_TransportControls(&value)); return winrt::Windows::UI::Xaml::Controls::MediaTransportControls{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::TransportControls(winrt::Windows::UI::Xaml::Controls::MediaTransportControls const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::TransportControls(winrt::Windows::UI::Xaml::Controls::MediaTransportControls const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->put_TransportControls(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::AreTransportControlsEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::AreTransportControlsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->get_AreTransportControlsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::AreTransportControlsEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::AreTransportControlsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->put_AreTransportControlsEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::PosterSource() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::PosterSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->get_PosterSource(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::PosterSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::PosterSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->put_PosterSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::Stretch() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::Stretch() const { winrt::Windows::UI::Xaml::Media::Stretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->get_Stretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->put_Stretch(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::AutoPlay() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::AutoPlay() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->get_AutoPlay(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::AutoPlay(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::AutoPlay(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->put_AutoPlay(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::IsFullWindow() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::IsFullWindow() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->get_IsFullWindow(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::IsFullWindow(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::IsFullWindow(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->put_IsFullWindow(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::MediaPlayer() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::MediaPlayer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->get_MediaPlayer(&value)); return winrt::Windows::Media::Playback::MediaPlayer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::SetMediaPlayer(winrt::Windows::Media::Playback::MediaPlayer const& mediaPlayer) const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement::SetMediaPlayer(winrt::Windows::Media::Playback::MediaPlayer const& mediaPlayer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->SetMediaPlayer(*(void**)(&mediaPlayer))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MediaPlayerElement) consume_Windows_UI_Xaml_Controls_IMediaPlayerElementFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElementFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElementFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::MediaPlayerElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics::SourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics::SourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElementStatics)->get_SourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics::AreTransportControlsEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics::AreTransportControlsEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElementStatics)->get_AreTransportControlsEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics::PosterSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics::PosterSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElementStatics)->get_PosterSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics::StretchProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics::StretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElementStatics)->get_StretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics::AutoPlayProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics::AutoPlayProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElementStatics)->get_AutoPlayProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics::IsFullWindowProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics::IsFullWindowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElementStatics)->get_IsFullWindowProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics::MediaPlayerProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics::MediaPlayerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElementStatics)->get_MediaPlayerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter::MediaPlayer() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter::MediaPlayer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerPresenter)->get_MediaPlayer(&value)); return winrt::Windows::Media::Playback::MediaPlayer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter::MediaPlayer(winrt::Windows::Media::Playback::MediaPlayer const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter::MediaPlayer(winrt::Windows::Media::Playback::MediaPlayer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerPresenter)->put_MediaPlayer(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter::Stretch() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter::Stretch() const { winrt::Windows::UI::Xaml::Media::Stretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerPresenter)->get_Stretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerPresenter)->put_Stretch(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter::IsFullWindow() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter::IsFullWindow() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerPresenter)->get_IsFullWindow(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter::IsFullWindow(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter::IsFullWindow(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerPresenter)->put_IsFullWindow(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MediaPlayerPresenter) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerPresenterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::MediaPlayerPresenter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterStatics::MediaPlayerProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterStatics::MediaPlayerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerPresenterStatics)->get_MediaPlayerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterStatics::StretchProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterStatics::StretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerPresenterStatics)->get_StretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterStatics::IsFullWindowProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterStatics::IsFullWindowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerPresenterStatics)->get_IsFullWindowProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFullWindowButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFullWindowButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsFullWindowButtonVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFullWindowButtonVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFullWindowButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsFullWindowButtonVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFullWindowEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFullWindowEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsFullWindowEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFullWindowEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFullWindowEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsFullWindowEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsZoomButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsZoomButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsZoomButtonVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsZoomButtonVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsZoomButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsZoomButtonVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsZoomEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsZoomEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsZoomEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsZoomEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsZoomEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsZoomEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFastForwardButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFastForwardButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsFastForwardButtonVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFastForwardButtonVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFastForwardButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsFastForwardButtonVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFastForwardEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFastForwardEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsFastForwardEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFastForwardEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFastForwardEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsFastForwardEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFastRewindButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFastRewindButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsFastRewindButtonVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFastRewindButtonVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFastRewindButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsFastRewindButtonVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFastRewindEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFastRewindEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsFastRewindEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFastRewindEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsFastRewindEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsFastRewindEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsStopButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsStopButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsStopButtonVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsStopButtonVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsStopButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsStopButtonVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsStopEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsStopEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsStopEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsStopEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsStopEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsStopEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsVolumeButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsVolumeButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsVolumeButtonVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsVolumeButtonVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsVolumeButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsVolumeButtonVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsVolumeEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsVolumeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsVolumeEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsVolumeEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsVolumeEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsVolumeEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsPlaybackRateButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsPlaybackRateButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsPlaybackRateButtonVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsPlaybackRateButtonVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsPlaybackRateButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsPlaybackRateButtonVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsPlaybackRateEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsPlaybackRateEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsPlaybackRateEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsPlaybackRateEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsPlaybackRateEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsPlaybackRateEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsSeekBarVisible() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsSeekBarVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsSeekBarVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsSeekBarVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsSeekBarVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsSeekBarVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsSeekEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsSeekEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsSeekEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsSeekEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsSeekEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsSeekEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsCompact() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsCompact() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsCompact(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsCompact(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls::IsCompact(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsCompact(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsSkipForwardButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsSkipForwardButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->get_IsSkipForwardButtonVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsSkipForwardButtonVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsSkipForwardButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->put_IsSkipForwardButtonVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsSkipForwardEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsSkipForwardEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->get_IsSkipForwardEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsSkipForwardEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsSkipForwardEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->put_IsSkipForwardEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsSkipBackwardButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsSkipBackwardButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->get_IsSkipBackwardButtonVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsSkipBackwardButtonVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsSkipBackwardButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->put_IsSkipBackwardButtonVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsSkipBackwardEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsSkipBackwardEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->get_IsSkipBackwardEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsSkipBackwardEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsSkipBackwardEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->put_IsSkipBackwardEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsNextTrackButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsNextTrackButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->get_IsNextTrackButtonVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsNextTrackButtonVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsNextTrackButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->put_IsNextTrackButtonVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsPreviousTrackButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsPreviousTrackButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->get_IsPreviousTrackButtonVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsPreviousTrackButtonVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::IsPreviousTrackButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->put_IsPreviousTrackButtonVisible(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FastPlayFallbackBehaviour) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::FastPlayFallbackBehaviour() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::FastPlayFallbackBehaviour() const { winrt::Windows::UI::Xaml::Media::FastPlayFallbackBehaviour value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->get_FastPlayFallbackBehaviour(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::FastPlayFallbackBehaviour(winrt::Windows::UI::Xaml::Media::FastPlayFallbackBehaviour const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::FastPlayFallbackBehaviour(winrt::Windows::UI::Xaml::Media::FastPlayFallbackBehaviour const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->put_FastPlayFallbackBehaviour(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::ThumbnailRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::ThumbnailRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->add_ThumbnailRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::ThumbnailRequested_revoker consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::ThumbnailRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::ThumbnailRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ThumbnailRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::ThumbnailRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2::ThumbnailRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->remove_ThumbnailRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls3::ShowAndHideAutomatically() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls3::ShowAndHideAutomatically() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3)->get_ShowAndHideAutomatically(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls3::ShowAndHideAutomatically(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls3::ShowAndHideAutomatically(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3)->put_ShowAndHideAutomatically(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls3::IsRepeatEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls3::IsRepeatEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3)->get_IsRepeatEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls3::IsRepeatEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls3::IsRepeatEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3)->put_IsRepeatEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls3::IsRepeatButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls3::IsRepeatButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3)->get_IsRepeatButtonVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls3::IsRepeatButtonVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls3::IsRepeatButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3)->put_IsRepeatButtonVisible(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls3::Show() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls3::Show() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3)->Show()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls3::Hide() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls3::Hide() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3)->Hide()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls4::IsCompactOverlayButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls4::IsCompactOverlayButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls4)->get_IsCompactOverlayButtonVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls4::IsCompactOverlayButtonVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls4::IsCompactOverlayButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls4)->put_IsCompactOverlayButtonVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls4::IsCompactOverlayEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls4::IsCompactOverlayEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls4)->get_IsCompactOverlayEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls4::IsCompactOverlayEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls4::IsCompactOverlayEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls4)->put_IsCompactOverlayEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MediaTransportControls) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::MediaTransportControls{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsHelperStatics::DropoutOrderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsHelperStatics::DropoutOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsHelperStatics)->get_DropoutOrderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsHelperStatics::GetDropoutOrder(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsHelperStatics::GetDropoutOrder(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsHelperStatics)->GetDropoutOrder(*(void**)(&element), &result)); return winrt::Windows::Foundation::IReference{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsHelperStatics::SetDropoutOrder(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsHelperStatics::SetDropoutOrder(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsHelperStatics)->SetDropoutOrder(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsFullWindowButtonVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsFullWindowButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsFullWindowButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsFullWindowEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsFullWindowEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsFullWindowEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsZoomButtonVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsZoomButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsZoomButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsZoomEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsZoomEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsZoomEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsFastForwardButtonVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsFastForwardButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsFastForwardButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsFastForwardEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsFastForwardEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsFastForwardEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsFastRewindButtonVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsFastRewindButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsFastRewindButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsFastRewindEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsFastRewindEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsFastRewindEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsStopButtonVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsStopButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsStopButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsStopEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsStopEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsStopEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsVolumeButtonVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsVolumeButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsVolumeButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsVolumeEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsVolumeEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsVolumeEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsPlaybackRateButtonVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsPlaybackRateButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsPlaybackRateButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsPlaybackRateEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsPlaybackRateEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsPlaybackRateEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsSeekBarVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsSeekBarVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsSeekBarVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsSeekEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsSeekEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsSeekEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsCompactProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics::IsCompactProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsCompactProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2::IsSkipForwardButtonVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2::IsSkipForwardButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics2)->get_IsSkipForwardButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2::IsSkipForwardEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2::IsSkipForwardEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics2)->get_IsSkipForwardEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2::IsSkipBackwardButtonVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2::IsSkipBackwardButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics2)->get_IsSkipBackwardButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2::IsSkipBackwardEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2::IsSkipBackwardEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics2)->get_IsSkipBackwardEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2::IsNextTrackButtonVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2::IsNextTrackButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics2)->get_IsNextTrackButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2::IsPreviousTrackButtonVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2::IsPreviousTrackButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics2)->get_IsPreviousTrackButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2::FastPlayFallbackBehaviourProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2::FastPlayFallbackBehaviourProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics2)->get_FastPlayFallbackBehaviourProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics3::ShowAndHideAutomaticallyProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics3::ShowAndHideAutomaticallyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics3)->get_ShowAndHideAutomaticallyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics3::IsRepeatEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics3::IsRepeatEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics3)->get_IsRepeatEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics3::IsRepeatButtonVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics3::IsRepeatButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics3)->get_IsRepeatButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics4::IsCompactOverlayButtonVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics4::IsCompactOverlayButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics4)->get_IsCompactOverlayButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics4::IsCompactOverlayEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics4::IsCompactOverlayEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics4)->get_IsCompactOverlayEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IMenuBar::Items() const + template auto consume_Windows_UI_Xaml_Controls_IMenuBar::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuBar)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuBar) consume_Windows_UI_Xaml_Controls_IMenuBarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IMenuBarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuBarFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::MenuBar{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IMenuBarItem::Title() const + template auto consume_Windows_UI_Xaml_Controls_IMenuBarItem::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuBarItem)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuBarItem::Title(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMenuBarItem::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuBarItem)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IMenuBarItem::Items() const + template auto consume_Windows_UI_Xaml_Controls_IMenuBarItem::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuBarItem)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuBarItem) consume_Windows_UI_Xaml_Controls_IMenuBarItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IMenuBarItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuBarItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::MenuBarItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuBarItemFlyout) consume_Windows_UI_Xaml_Controls_IMenuBarItemFlyoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IMenuBarItemFlyoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuBarItemFlyoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::MenuBarItemFlyout{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuBarItemStatics::TitleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMenuBarItemStatics::TitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuBarItemStatics)->get_TitleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuBarItemStatics::ItemsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMenuBarItemStatics::ItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuBarItemStatics)->get_ItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuBarStatics::ItemsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMenuBarStatics::ItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuBarStatics)->get_ItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IMenuFlyout::Items() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyout::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyout)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IMenuFlyout::MenuFlyoutPresenterStyle() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyout::MenuFlyoutPresenterStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyout)->get_MenuFlyoutPresenterStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyout::MenuFlyoutPresenterStyle(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyout::MenuFlyoutPresenterStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyout)->put_MenuFlyoutPresenterStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyout2::ShowAt(winrt::Windows::UI::Xaml::UIElement const& targetElement, winrt::Windows::Foundation::Point const& point) const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyout2::ShowAt(winrt::Windows::UI::Xaml::UIElement const& targetElement, winrt::Windows::Foundation::Point const& point) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyout2)->ShowAt(*(void**)(&targetElement), impl::bind_in(point))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuFlyout) consume_Windows_UI_Xaml_Controls_IMenuFlyoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::MenuFlyout{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::Text() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::Text(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::Command() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::Command() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem)->get_Command(&value)); return winrt::Windows::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem)->put_Command(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::CommandParameter() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::CommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem)->get_CommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem)->put_CommandParameter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::Click(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::Click(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem)->add_Click(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::Click_revoker consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::Click(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::Click(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, Click(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::Click(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem::Click(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem)->remove_Click(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem2::Icon() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem2::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem2)->get_Icon(&value)); return winrt::Windows::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem2::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem2::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem2)->put_Icon(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem3::KeyboardAcceleratorTextOverride() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem3::KeyboardAcceleratorTextOverride() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem3)->get_KeyboardAcceleratorTextOverride(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem3::KeyboardAcceleratorTextOverride(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem3::KeyboardAcceleratorTextOverride(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem3)->put_KeyboardAcceleratorTextOverride(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::MenuFlyoutItemTemplateSettings) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem3::TemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem3::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem3)->get_TemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::MenuFlyoutItemTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuFlyoutItem) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::MenuFlyoutItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics::TextProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItemStatics)->get_TextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics::CommandProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics::CommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItemStatics)->get_CommandProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics::CommandParameterProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics::CommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItemStatics)->get_CommandParameterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics2::IconProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics2::IconProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItemStatics2)->get_IconProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics3::KeyboardAcceleratorTextOverrideProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics3::KeyboardAcceleratorTextOverrideProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItemStatics3)->get_KeyboardAcceleratorTextOverrideProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::MenuFlyoutPresenterTemplateSettings) consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenter2::TemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenter2::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutPresenter2)->get_TemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::MenuFlyoutPresenterTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenter3::IsDefaultShadowEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenter3::IsDefaultShadowEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutPresenter3)->get_IsDefaultShadowEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenter3::IsDefaultShadowEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenter3::IsDefaultShadowEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutPresenter3)->put_IsDefaultShadowEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuFlyoutPresenter) consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutPresenterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::MenuFlyoutPresenter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenterStatics3::IsDefaultShadowEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenterStatics3::IsDefaultShadowEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutPresenterStatics3)->get_IsDefaultShadowEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuFlyoutSeparator) consume_Windows_UI_Xaml_Controls_IMenuFlyoutSeparatorFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutSeparatorFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutSeparatorFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::MenuFlyoutSeparator{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutStatics::MenuFlyoutPresenterStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutStatics::MenuFlyoutPresenterStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutStatics)->get_MenuFlyoutPresenterStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem::Items() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutSubItem)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem::Text() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutSubItem)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem::Text(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutSubItem)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem2::Icon() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem2::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutSubItem2)->get_Icon(&value)); return winrt::Windows::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem2::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem2::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutSubItem2)->put_Icon(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItemStatics::TextProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItemStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutSubItemStatics)->get_TextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItemStatics2::IconProperty() const + template auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItemStatics2::IconProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutSubItemStatics2)->get_IconProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigate::Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType) const + template auto consume_Windows_UI_Xaml_Controls_INavigate::Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigate)->Navigate(impl::bind_in(sourcePageType), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationView::IsPaneOpen() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::IsPaneOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_IsPaneOpen(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::IsPaneOpen(bool value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::IsPaneOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_IsPaneOpen(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_INavigationView::CompactModeThresholdWidth() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::CompactModeThresholdWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_CompactModeThresholdWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::CompactModeThresholdWidth(double value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::CompactModeThresholdWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_CompactModeThresholdWidth(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_INavigationView::ExpandedModeThresholdWidth() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::ExpandedModeThresholdWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_ExpandedModeThresholdWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::ExpandedModeThresholdWidth(double value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::ExpandedModeThresholdWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_ExpandedModeThresholdWidth(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_INavigationView::PaneFooter() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::PaneFooter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_PaneFooter(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::PaneFooter(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::PaneFooter(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_PaneFooter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_INavigationView::Header() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::Header(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_Header(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_INavigationView::HeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_HeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayMode) consume_Windows_UI_Xaml_Controls_INavigationView::DisplayMode() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::DisplayMode() const { winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_DisplayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationView::IsSettingsVisible() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::IsSettingsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_IsSettingsVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::IsSettingsVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::IsSettingsVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_IsSettingsVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationView::IsPaneToggleButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::IsPaneToggleButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_IsPaneToggleButtonVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::IsPaneToggleButtonVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::IsPaneToggleButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_IsPaneToggleButtonVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationView::AlwaysShowHeader() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::AlwaysShowHeader() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_AlwaysShowHeader(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::AlwaysShowHeader(bool value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::AlwaysShowHeader(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_AlwaysShowHeader(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_INavigationView::CompactPaneLength() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::CompactPaneLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_CompactPaneLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::CompactPaneLength(double value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::CompactPaneLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_CompactPaneLength(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_INavigationView::OpenPaneLength() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::OpenPaneLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_OpenPaneLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::OpenPaneLength(double value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::OpenPaneLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_OpenPaneLength(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_INavigationView::PaneToggleButtonStyle() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::PaneToggleButtonStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_PaneToggleButtonStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::PaneToggleButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::PaneToggleButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_PaneToggleButtonStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_INavigationView::SelectedItem() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_SelectedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_SelectedItem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_INavigationView::MenuItems() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::MenuItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_MenuItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemsSource() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_MenuItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemsSource(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_MenuItemsSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_INavigationView::SettingsItem() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::SettingsItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_SettingsItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox) consume_Windows_UI_Xaml_Controls_INavigationView::AutoSuggestBox() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::AutoSuggestBox() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_AutoSuggestBox(&value)); return winrt::Windows::UI::Xaml::Controls::AutoSuggestBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::AutoSuggestBox(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::AutoSuggestBox(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_AutoSuggestBox(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemTemplate() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_MenuItemTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_MenuItemTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemTemplateSelector() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemTemplateSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_MenuItemTemplateSelector(&value)); return winrt::Windows::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_MenuItemTemplateSelector(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemContainerStyle() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemContainerStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_MenuItemContainerStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_MenuItemContainerStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StyleSelector) consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemContainerStyleSelector() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemContainerStyleSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_MenuItemContainerStyleSelector(&value)); return winrt::Windows::UI::Xaml::Controls::StyleSelector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_MenuItemContainerStyleSelector(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::MenuItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->MenuItemFromContainer(*(void**)(&container), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_INavigationView::ContainerFromMenuItem(winrt::Windows::Foundation::IInspectable const& item) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::ContainerFromMenuItem(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->ContainerFromMenuItem(*(void**)(&item), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_INavigationView::SelectionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::SelectionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_INavigationView::SelectionChanged_revoker consume_Windows_UI_Xaml_Controls_INavigationView::SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::SelectionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_INavigationView::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->remove_SelectionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_INavigationView::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->add_ItemInvoked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_INavigationView::ItemInvoked_revoker consume_Windows_UI_Xaml_Controls_INavigationView::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemInvoked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::ItemInvoked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_INavigationView::ItemInvoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->remove_ItemInvoked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_INavigationView::DisplayModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::DisplayModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->add_DisplayModeChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_INavigationView::DisplayModeChanged_revoker consume_Windows_UI_Xaml_Controls_INavigationView::DisplayModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView::DisplayModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DisplayModeChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView::DisplayModeChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_INavigationView::DisplayModeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->remove_DisplayModeChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewBackButtonVisible) consume_Windows_UI_Xaml_Controls_INavigationView2::IsBackButtonVisible() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::IsBackButtonVisible() const { winrt::Windows::UI::Xaml::Controls::NavigationViewBackButtonVisible value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->get_IsBackButtonVisible(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView2::IsBackButtonVisible(winrt::Windows::UI::Xaml::Controls::NavigationViewBackButtonVisible const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::IsBackButtonVisible(winrt::Windows::UI::Xaml::Controls::NavigationViewBackButtonVisible const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->put_IsBackButtonVisible(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationView2::IsBackEnabled() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::IsBackEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->get_IsBackEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView2::IsBackEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::IsBackEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->put_IsBackEnabled(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_INavigationView2::PaneTitle() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::PaneTitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->get_PaneTitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView2::PaneTitle(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::PaneTitle(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->put_PaneTitle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_INavigationView2::BackRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::BackRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->add_BackRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_INavigationView2::BackRequested_revoker consume_Windows_UI_Xaml_Controls_INavigationView2::BackRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::BackRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BackRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView2::BackRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::BackRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->remove_BackRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_INavigationView2::PaneClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::PaneClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->add_PaneClosed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_INavigationView2::PaneClosed_revoker consume_Windows_UI_Xaml_Controls_INavigationView2::PaneClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::PaneClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PaneClosed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView2::PaneClosed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::PaneClosed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->remove_PaneClosed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_INavigationView2::PaneClosing(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::PaneClosing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->add_PaneClosing(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_INavigationView2::PaneClosing_revoker consume_Windows_UI_Xaml_Controls_INavigationView2::PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PaneClosing(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView2::PaneClosing(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::PaneClosing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->remove_PaneClosing(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_INavigationView2::PaneOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::PaneOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->add_PaneOpened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_INavigationView2::PaneOpened_revoker consume_Windows_UI_Xaml_Controls_INavigationView2::PaneOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::PaneOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PaneOpened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView2::PaneOpened(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::PaneOpened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->remove_PaneOpened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_INavigationView2::PaneOpening(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::PaneOpening(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->add_PaneOpening(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_INavigationView2::PaneOpening_revoker consume_Windows_UI_Xaml_Controls_INavigationView2::PaneOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::PaneOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PaneOpening(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView2::PaneOpening(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_INavigationView2::PaneOpening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->remove_PaneOpening(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewPaneDisplayMode) consume_Windows_UI_Xaml_Controls_INavigationView3::PaneDisplayMode() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::PaneDisplayMode() const { winrt::Windows::UI::Xaml::Controls::NavigationViewPaneDisplayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->get_PaneDisplayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView3::PaneDisplayMode(winrt::Windows::UI::Xaml::Controls::NavigationViewPaneDisplayMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::PaneDisplayMode(winrt::Windows::UI::Xaml::Controls::NavigationViewPaneDisplayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->put_PaneDisplayMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_INavigationView3::PaneHeader() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::PaneHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->get_PaneHeader(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView3::PaneHeader(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::PaneHeader(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->put_PaneHeader(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_INavigationView3::PaneCustomContent() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::PaneCustomContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->get_PaneCustomContent(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView3::PaneCustomContent(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::PaneCustomContent(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->put_PaneCustomContent(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_INavigationView3::ContentOverlay() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::ContentOverlay() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->get_ContentOverlay(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView3::ContentOverlay(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::ContentOverlay(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->put_ContentOverlay(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationView3::IsPaneVisible() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::IsPaneVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->get_IsPaneVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView3::IsPaneVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::IsPaneVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->put_IsPaneVisible(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionFollowsFocus) consume_Windows_UI_Xaml_Controls_INavigationView3::SelectionFollowsFocus() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::SelectionFollowsFocus() const { winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionFollowsFocus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->get_SelectionFollowsFocus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView3::SelectionFollowsFocus(winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionFollowsFocus const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::SelectionFollowsFocus(winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionFollowsFocus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->put_SelectionFollowsFocus(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewTemplateSettings) consume_Windows_UI_Xaml_Controls_INavigationView3::TemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->get_TemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::NavigationViewTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewShoulderNavigationEnabled) consume_Windows_UI_Xaml_Controls_INavigationView3::ShoulderNavigationEnabled() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::ShoulderNavigationEnabled() const { winrt::Windows::UI::Xaml::Controls::NavigationViewShoulderNavigationEnabled value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->get_ShoulderNavigationEnabled(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView3::ShoulderNavigationEnabled(winrt::Windows::UI::Xaml::Controls::NavigationViewShoulderNavigationEnabled const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::ShoulderNavigationEnabled(winrt::Windows::UI::Xaml::Controls::NavigationViewShoulderNavigationEnabled const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->put_ShoulderNavigationEnabled(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewOverflowLabelMode) consume_Windows_UI_Xaml_Controls_INavigationView3::OverflowLabelMode() const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::OverflowLabelMode() const { winrt::Windows::UI::Xaml::Controls::NavigationViewOverflowLabelMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->get_OverflowLabelMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView3::OverflowLabelMode(winrt::Windows::UI::Xaml::Controls::NavigationViewOverflowLabelMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationView3::OverflowLabelMode(winrt::Windows::UI::Xaml::Controls::NavigationViewOverflowLabelMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->put_OverflowLabelMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayMode) consume_Windows_UI_Xaml_Controls_INavigationViewDisplayModeChangedEventArgs::DisplayMode() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewDisplayModeChangedEventArgs::DisplayMode() const { winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewDisplayModeChangedEventArgs)->get_DisplayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationView) consume_Windows_UI_Xaml_Controls_INavigationViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::NavigationView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) consume_Windows_UI_Xaml_Controls_INavigationViewItem::Icon() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewItem::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItem)->get_Icon(&value)); return winrt::Windows::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationViewItem::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewItem::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItem)->put_Icon(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_INavigationViewItem::CompactPaneLength() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewItem::CompactPaneLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItem)->get_CompactPaneLength(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationViewItem2::SelectsOnInvoked() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewItem2::SelectsOnInvoked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItem2)->get_SelectsOnInvoked(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationViewItem2::SelectsOnInvoked(bool value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewItem2::SelectsOnInvoked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItem2)->put_SelectsOnInvoked(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewItem) consume_Windows_UI_Xaml_Controls_INavigationViewItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::NavigationViewItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewItemHeader) consume_Windows_UI_Xaml_Controls_INavigationViewItemHeaderFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewItemHeaderFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItemHeaderFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::NavigationViewItemHeader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs::InvokedItem() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs::InvokedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItemInvokedEventArgs)->get_InvokedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs::IsSettingsInvoked() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs::IsSettingsInvoked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItemInvokedEventArgs)->get_IsSettingsInvoked(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewItemBase) consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs2::InvokedItemContainer() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs2::InvokedItemContainer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItemInvokedEventArgs2)->get_InvokedItemContainer(&value)); return winrt::Windows::UI::Xaml::Controls::NavigationViewItemBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs2::RecommendedNavigationTransitionInfo() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs2::RecommendedNavigationTransitionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItemInvokedEventArgs2)->get_RecommendedNavigationTransitionInfo(&value)); return winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewItemSeparator) consume_Windows_UI_Xaml_Controls_INavigationViewItemSeparatorFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewItemSeparatorFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItemSeparatorFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::NavigationViewItemSeparator{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewItemStatics::IconProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewItemStatics::IconProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItemStatics)->get_IconProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewItemStatics::CompactPaneLengthProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewItemStatics::CompactPaneLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItemStatics)->get_CompactPaneLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewItemStatics2::SelectsOnInvokedProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewItemStatics2::SelectsOnInvokedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItemStatics2)->get_SelectsOnInvokedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewList) consume_Windows_UI_Xaml_Controls_INavigationViewListFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewListFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewListFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::NavigationViewList{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationViewPaneClosingEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewPaneClosingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewPaneClosingEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationViewPaneClosingEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewPaneClosingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewPaneClosingEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs::SelectedItem() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewSelectionChangedEventArgs)->get_SelectedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs::IsSettingsSelected() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs::IsSettingsSelected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewSelectionChangedEventArgs)->get_IsSettingsSelected(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewItemBase) consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs2::SelectedItemContainer() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs2::SelectedItemContainer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewSelectionChangedEventArgs2)->get_SelectedItemContainer(&value)); return winrt::Windows::UI::Xaml::Controls::NavigationViewItemBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs2::RecommendedNavigationTransitionInfo() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs2::RecommendedNavigationTransitionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewSelectionChangedEventArgs2)->get_RecommendedNavigationTransitionInfo(&value)); return winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::IsPaneOpenProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::IsPaneOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_IsPaneOpenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::CompactModeThresholdWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::CompactModeThresholdWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_CompactModeThresholdWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::ExpandedModeThresholdWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::ExpandedModeThresholdWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_ExpandedModeThresholdWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::PaneFooterProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::PaneFooterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_PaneFooterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::HeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::HeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::DisplayModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::DisplayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_DisplayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::IsSettingsVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::IsSettingsVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_IsSettingsVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::IsPaneToggleButtonVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::IsPaneToggleButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_IsPaneToggleButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::AlwaysShowHeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::AlwaysShowHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_AlwaysShowHeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::CompactPaneLengthProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::CompactPaneLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_CompactPaneLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::OpenPaneLengthProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::OpenPaneLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_OpenPaneLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::PaneToggleButtonStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::PaneToggleButtonStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_PaneToggleButtonStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::MenuItemsProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::MenuItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_MenuItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::MenuItemsSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::MenuItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_MenuItemsSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::SelectedItemProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::SelectedItemProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_SelectedItemProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::SettingsItemProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::SettingsItemProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_SettingsItemProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::AutoSuggestBoxProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::AutoSuggestBoxProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_AutoSuggestBoxProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::MenuItemTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::MenuItemTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_MenuItemTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::MenuItemTemplateSelectorProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::MenuItemTemplateSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_MenuItemTemplateSelectorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::MenuItemContainerStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::MenuItemContainerStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_MenuItemContainerStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics::MenuItemContainerStyleSelectorProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics::MenuItemContainerStyleSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics)->get_MenuItemContainerStyleSelectorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics2::IsBackButtonVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics2::IsBackButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics2)->get_IsBackButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics2::IsBackEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics2::IsBackEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics2)->get_IsBackEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics2::PaneTitleProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics2::PaneTitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics2)->get_PaneTitleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::PaneDisplayModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::PaneDisplayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics3)->get_PaneDisplayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::PaneHeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::PaneHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics3)->get_PaneHeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::PaneCustomContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::PaneCustomContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics3)->get_PaneCustomContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::ContentOverlayProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::ContentOverlayProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics3)->get_ContentOverlayProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::IsPaneVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::IsPaneVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics3)->get_IsPaneVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::SelectionFollowsFocusProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::SelectionFollowsFocusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics3)->get_SelectionFollowsFocusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::TemplateSettingsProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::TemplateSettingsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics3)->get_TemplateSettingsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::ShoulderNavigationEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::ShoulderNavigationEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics3)->get_ShoulderNavigationEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::OverflowLabelModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3::OverflowLabelModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewStatics3)->get_OverflowLabelModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings::TopPadding() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings::TopPadding() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_TopPadding(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings::OverflowButtonVisibility() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings::OverflowButtonVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_OverflowButtonVisibility(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings::PaneToggleButtonVisibility() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings::PaneToggleButtonVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_PaneToggleButtonVisibility(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings::BackButtonVisibility() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings::BackButtonVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_BackButtonVisibility(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings::TopPaneVisibility() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings::TopPaneVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_TopPaneVisibility(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings::LeftPaneVisibility() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings::LeftPaneVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_LeftPaneVisibility(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings::SingleSelectionFollowsFocus() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings::SingleSelectionFollowsFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_SingleSelectionFollowsFocus(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewTemplateSettings) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettingsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::NavigationViewTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::TopPaddingProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::TopPaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics)->get_TopPaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::OverflowButtonVisibilityProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::OverflowButtonVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics)->get_OverflowButtonVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::PaneToggleButtonVisibilityProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::PaneToggleButtonVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics)->get_PaneToggleButtonVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::BackButtonVisibilityProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::BackButtonVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics)->get_BackButtonVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::TopPaneVisibilityProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::TopPaneVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics)->get_TopPaneVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::LeftPaneVisibilityProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::LeftPaneVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics)->get_LeftPaneVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::SingleSelectionFollowsFocusProperty() const + template auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::SingleSelectionFollowsFocusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics)->get_SingleSelectionFollowsFocusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_INotifyEventArgs::Value() const + template auto consume_Windows_UI_Xaml_Controls_INotifyEventArgs::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INotifyEventArgs)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_INotifyEventArgs2::CallingUri() const + template auto consume_Windows_UI_Xaml_Controls_INotifyEventArgs2::CallingUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INotifyEventArgs2)->get_CallingUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Frame) consume_Windows_UI_Xaml_Controls_IPage::Frame() const + template auto consume_Windows_UI_Xaml_Controls_IPage::Frame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPage)->get_Frame(&value)); return winrt::Windows::UI::Xaml::Controls::Frame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Navigation::NavigationCacheMode) consume_Windows_UI_Xaml_Controls_IPage::NavigationCacheMode() const + template auto consume_Windows_UI_Xaml_Controls_IPage::NavigationCacheMode() const { winrt::Windows::UI::Xaml::Navigation::NavigationCacheMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPage)->get_NavigationCacheMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPage::NavigationCacheMode(winrt::Windows::UI::Xaml::Navigation::NavigationCacheMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPage::NavigationCacheMode(winrt::Windows::UI::Xaml::Navigation::NavigationCacheMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPage)->put_NavigationCacheMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBar) consume_Windows_UI_Xaml_Controls_IPage::TopAppBar() const + template auto consume_Windows_UI_Xaml_Controls_IPage::TopAppBar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPage)->get_TopAppBar(&value)); return winrt::Windows::UI::Xaml::Controls::AppBar{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPage::TopAppBar(winrt::Windows::UI::Xaml::Controls::AppBar const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPage::TopAppBar(winrt::Windows::UI::Xaml::Controls::AppBar const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPage)->put_TopAppBar(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBar) consume_Windows_UI_Xaml_Controls_IPage::BottomAppBar() const + template auto consume_Windows_UI_Xaml_Controls_IPage::BottomAppBar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPage)->get_BottomAppBar(&value)); return winrt::Windows::UI::Xaml::Controls::AppBar{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPage::BottomAppBar(winrt::Windows::UI::Xaml::Controls::AppBar const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPage::BottomAppBar(winrt::Windows::UI::Xaml::Controls::AppBar const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPage)->put_BottomAppBar(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Page) consume_Windows_UI_Xaml_Controls_IPageFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IPageFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPageFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Page{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPageOverrides::OnNavigatedFrom(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IPageOverrides::OnNavigatedFrom(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPageOverrides)->OnNavigatedFrom(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPageOverrides::OnNavigatedTo(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IPageOverrides::OnNavigatedTo(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPageOverrides)->OnNavigatedTo(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPageOverrides::OnNavigatingFrom(winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IPageOverrides::OnNavigatingFrom(winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPageOverrides)->OnNavigatingFrom(*(void**)(&e))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPageStatics::FrameProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPageStatics::FrameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPageStatics)->get_FrameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPageStatics::TopAppBarProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPageStatics::TopAppBarProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPageStatics)->get_TopAppBarProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPageStatics::BottomAppBarProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPageStatics::BottomAppBarProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPageStatics)->get_BottomAppBarProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::UIElementCollection) consume_Windows_UI_Xaml_Controls_IPanel::Children() const + template auto consume_Windows_UI_Xaml_Controls_IPanel::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPanel)->get_Children(&value)); return winrt::Windows::UI::Xaml::Controls::UIElementCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IPanel::Background() const + template auto consume_Windows_UI_Xaml_Controls_IPanel::Background() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPanel)->get_Background(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPanel::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPanel::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPanel)->put_Background(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPanel::IsItemsHost() const + template auto consume_Windows_UI_Xaml_Controls_IPanel::IsItemsHost() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPanel)->get_IsItemsHost(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IPanel::ChildrenTransitions() const + template auto consume_Windows_UI_Xaml_Controls_IPanel::ChildrenTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPanel)->get_ChildrenTransitions(&value)); return winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPanel::ChildrenTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPanel::ChildrenTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPanel)->put_ChildrenTransitions(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::BrushTransition) consume_Windows_UI_Xaml_Controls_IPanel2::BackgroundTransition() const + template auto consume_Windows_UI_Xaml_Controls_IPanel2::BackgroundTransition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPanel2)->get_BackgroundTransition(&value)); return winrt::Windows::UI::Xaml::BrushTransition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPanel2::BackgroundTransition(winrt::Windows::UI::Xaml::BrushTransition const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPanel2::BackgroundTransition(winrt::Windows::UI::Xaml::BrushTransition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPanel2)->put_BackgroundTransition(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Panel) consume_Windows_UI_Xaml_Controls_IPanelFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IPanelFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPanelFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Panel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPanelStatics::BackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPanelStatics::BackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPanelStatics)->get_BackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPanelStatics::IsItemsHostProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPanelStatics::IsItemsHostProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPanelStatics)->get_IsItemsHostProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPanelStatics::ChildrenTransitionsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPanelStatics::ChildrenTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPanelStatics)->get_ChildrenTransitionsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IParallaxView::Child() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::Child() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_Child(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView::Child(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::Child(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_Child(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IParallaxView::HorizontalShift() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::HorizontalShift() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_HorizontalShift(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView::HorizontalShift(double value) const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::HorizontalShift(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_HorizontalShift(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IParallaxView::HorizontalSourceEndOffset() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::HorizontalSourceEndOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_HorizontalSourceEndOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView::HorizontalSourceEndOffset(double value) const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::HorizontalSourceEndOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_HorizontalSourceEndOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind) consume_Windows_UI_Xaml_Controls_IParallaxView::HorizontalSourceOffsetKind() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::HorizontalSourceOffsetKind() const { winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_HorizontalSourceOffsetKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView::HorizontalSourceOffsetKind(winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind const& value) const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::HorizontalSourceOffsetKind(winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_HorizontalSourceOffsetKind(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IParallaxView::HorizontalSourceStartOffset() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::HorizontalSourceStartOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_HorizontalSourceStartOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView::HorizontalSourceStartOffset(double value) const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::HorizontalSourceStartOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_HorizontalSourceStartOffset(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IParallaxView::IsHorizontalShiftClamped() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::IsHorizontalShiftClamped() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_IsHorizontalShiftClamped(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView::IsHorizontalShiftClamped(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::IsHorizontalShiftClamped(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_IsHorizontalShiftClamped(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IParallaxView::IsVerticalShiftClamped() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::IsVerticalShiftClamped() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_IsVerticalShiftClamped(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView::IsVerticalShiftClamped(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::IsVerticalShiftClamped(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_IsVerticalShiftClamped(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IParallaxView::MaxHorizontalShiftRatio() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::MaxHorizontalShiftRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_MaxHorizontalShiftRatio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView::MaxHorizontalShiftRatio(double value) const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::MaxHorizontalShiftRatio(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_MaxHorizontalShiftRatio(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IParallaxView::MaxVerticalShiftRatio() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::MaxVerticalShiftRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_MaxVerticalShiftRatio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView::MaxVerticalShiftRatio(double value) const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::MaxVerticalShiftRatio(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_MaxVerticalShiftRatio(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IParallaxView::Source() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_Source(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView::Source(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::Source(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_Source(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IParallaxView::VerticalShift() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::VerticalShift() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_VerticalShift(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView::VerticalShift(double value) const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::VerticalShift(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_VerticalShift(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IParallaxView::VerticalSourceEndOffset() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::VerticalSourceEndOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_VerticalSourceEndOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView::VerticalSourceEndOffset(double value) const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::VerticalSourceEndOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_VerticalSourceEndOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind) consume_Windows_UI_Xaml_Controls_IParallaxView::VerticalSourceOffsetKind() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::VerticalSourceOffsetKind() const { winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_VerticalSourceOffsetKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView::VerticalSourceOffsetKind(winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind const& value) const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::VerticalSourceOffsetKind(winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_VerticalSourceOffsetKind(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IParallaxView::VerticalSourceStartOffset() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::VerticalSourceStartOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_VerticalSourceStartOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView::VerticalSourceStartOffset(double value) const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::VerticalSourceStartOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_VerticalSourceStartOffset(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView::RefreshAutomaticHorizontalOffsets() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::RefreshAutomaticHorizontalOffsets() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->RefreshAutomaticHorizontalOffsets()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView::RefreshAutomaticVerticalOffsets() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxView::RefreshAutomaticVerticalOffsets() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->RefreshAutomaticVerticalOffsets()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ParallaxView) consume_Windows_UI_Xaml_Controls_IParallaxViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IParallaxViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ParallaxView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::ChildProperty() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::ChildProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxViewStatics)->get_ChildProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::HorizontalSourceEndOffsetProperty() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::HorizontalSourceEndOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxViewStatics)->get_HorizontalSourceEndOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::HorizontalSourceOffsetKindProperty() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::HorizontalSourceOffsetKindProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxViewStatics)->get_HorizontalSourceOffsetKindProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::HorizontalSourceStartOffsetProperty() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::HorizontalSourceStartOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxViewStatics)->get_HorizontalSourceStartOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::MaxHorizontalShiftRatioProperty() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::MaxHorizontalShiftRatioProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxViewStatics)->get_MaxHorizontalShiftRatioProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::HorizontalShiftProperty() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::HorizontalShiftProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxViewStatics)->get_HorizontalShiftProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::IsHorizontalShiftClampedProperty() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::IsHorizontalShiftClampedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxViewStatics)->get_IsHorizontalShiftClampedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::IsVerticalShiftClampedProperty() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::IsVerticalShiftClampedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxViewStatics)->get_IsVerticalShiftClampedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::SourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::SourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxViewStatics)->get_SourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::VerticalSourceEndOffsetProperty() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::VerticalSourceEndOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxViewStatics)->get_VerticalSourceEndOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::VerticalSourceOffsetKindProperty() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::VerticalSourceOffsetKindProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxViewStatics)->get_VerticalSourceOffsetKindProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::VerticalSourceStartOffsetProperty() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::VerticalSourceStartOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxViewStatics)->get_VerticalSourceStartOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::MaxVerticalShiftRatioProperty() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::MaxVerticalShiftRatioProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxViewStatics)->get_MaxVerticalShiftRatioProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::VerticalShiftProperty() const + template auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics::VerticalShiftProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxViewStatics)->get_VerticalShiftProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IPasswordBox::Password() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox::Password() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->get_Password(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox::Password(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox::Password(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->put_Password(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IPasswordBox::PasswordChar() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox::PasswordChar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->get_PasswordChar(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox::PasswordChar(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox::PasswordChar(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->put_PasswordChar(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPasswordBox::IsPasswordRevealButtonEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox::IsPasswordRevealButtonEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->get_IsPasswordRevealButtonEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox::IsPasswordRevealButtonEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox::IsPasswordRevealButtonEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->put_IsPasswordRevealButtonEnabled(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IPasswordBox::MaxLength() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox::MaxLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->get_MaxLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox::MaxLength(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox::MaxLength(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->put_MaxLength(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPasswordBox::PasswordChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox::PasswordChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->add_PasswordChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IPasswordBox::PasswordChanged_revoker consume_Windows_UI_Xaml_Controls_IPasswordBox::PasswordChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox::PasswordChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, PasswordChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox::PasswordChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox::PasswordChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->remove_PasswordChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPasswordBox::ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox::ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->add_ContextMenuOpening(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IPasswordBox::ContextMenuOpening_revoker consume_Windows_UI_Xaml_Controls_IPasswordBox::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { return impl::make_event_revoker(this, ContextMenuOpening(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox::ContextMenuOpening(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox::ContextMenuOpening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->remove_ContextMenuOpening(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox::SelectAll() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox::SelectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->SelectAll()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IPasswordBox2::Header() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox2::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox2::Header(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox2::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->put_Header(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IPasswordBox2::HeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox2::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox2::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox2::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->put_HeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IPasswordBox2::PlaceholderText() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox2::PlaceholderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->get_PlaceholderText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox2::PlaceholderText(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox2::PlaceholderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->put_PlaceholderText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_IPasswordBox2::SelectionHighlightColor() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox2::SelectionHighlightColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->get_SelectionHighlightColor(&value)); return winrt::Windows::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox2::SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox2::SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->put_SelectionHighlightColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPasswordBox2::PreventKeyboardDisplayOnProgrammaticFocus() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox2::PreventKeyboardDisplayOnProgrammaticFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->get_PreventKeyboardDisplayOnProgrammaticFocus(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox2::PreventKeyboardDisplayOnProgrammaticFocus(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox2::PreventKeyboardDisplayOnProgrammaticFocus(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->put_PreventKeyboardDisplayOnProgrammaticFocus(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPasswordBox2::Paste(winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox2::Paste(winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->add_Paste(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IPasswordBox2::Paste_revoker consume_Windows_UI_Xaml_Controls_IPasswordBox2::Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox2::Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const { return impl::make_event_revoker(this, Paste(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox2::Paste(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox2::Paste(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->remove_Paste(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PasswordRevealMode) consume_Windows_UI_Xaml_Controls_IPasswordBox3::PasswordRevealMode() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox3::PasswordRevealMode() const { winrt::Windows::UI::Xaml::Controls::PasswordRevealMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox3)->get_PasswordRevealMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox3::PasswordRevealMode(winrt::Windows::UI::Xaml::Controls::PasswordRevealMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox3::PasswordRevealMode(winrt::Windows::UI::Xaml::Controls::PasswordRevealMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox3)->put_PasswordRevealMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextReadingOrder) consume_Windows_UI_Xaml_Controls_IPasswordBox3::TextReadingOrder() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox3::TextReadingOrder() const { winrt::Windows::UI::Xaml::TextReadingOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox3)->get_TextReadingOrder(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox3::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox3::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox3)->put_TextReadingOrder(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InputScope) consume_Windows_UI_Xaml_Controls_IPasswordBox3::InputScope() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox3::InputScope() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox3)->get_InputScope(&value)); return winrt::Windows::UI::Xaml::Input::InputScope{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox3::InputScope(winrt::Windows::UI::Xaml::Input::InputScope const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox3::InputScope(winrt::Windows::UI::Xaml::Input::InputScope const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox3)->put_InputScope(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPasswordBox4::PasswordChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox4::PasswordChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox4)->add_PasswordChanging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IPasswordBox4::PasswordChanging_revoker consume_Windows_UI_Xaml_Controls_IPasswordBox4::PasswordChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox4::PasswordChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PasswordChanging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox4::PasswordChanging(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox4::PasswordChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox4)->remove_PasswordChanging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPasswordBox5::CanPasteClipboardContent() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox5::CanPasteClipboardContent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox5)->get_CanPasteClipboardContent(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_IPasswordBox5::SelectionFlyout() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox5::SelectionFlyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox5)->get_SelectionFlyout(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox5::SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox5::SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox5)->put_SelectionFlyout(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IPasswordBox5::Description() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox5::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox5)->get_Description(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox5::Description(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox5::Description(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox5)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox5::PasteFromClipboard() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBox5::PasteFromClipboard() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox5)->PasteFromClipboard()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPasswordBoxPasswordChangingEventArgs::IsContentChanging() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBoxPasswordChangingEventArgs::IsContentChanging() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxPasswordChangingEventArgs)->get_IsContentChanging(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics::PasswordProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics::PasswordProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics)->get_PasswordProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics::PasswordCharProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics::PasswordCharProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics)->get_PasswordCharProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics::IsPasswordRevealButtonEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics::IsPasswordRevealButtonEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics)->get_IsPasswordRevealButtonEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics::MaxLengthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics::MaxLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics)->get_MaxLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2::HeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics2)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2::HeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics2)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2::PlaceholderTextProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2::PlaceholderTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics2)->get_PlaceholderTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2::SelectionHighlightColorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2::SelectionHighlightColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics2)->get_SelectionHighlightColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2::PreventKeyboardDisplayOnProgrammaticFocusProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2::PreventKeyboardDisplayOnProgrammaticFocusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics2)->get_PreventKeyboardDisplayOnProgrammaticFocusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics3::PasswordRevealModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics3::PasswordRevealModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics3)->get_PasswordRevealModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics3::TextReadingOrderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics3::TextReadingOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics3)->get_TextReadingOrderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics3::InputScopeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics3::InputScopeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics3)->get_InputScopeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics5::CanPasteClipboardContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics5::CanPasteClipboardContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics5)->get_CanPasteClipboardContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics5::SelectionFlyoutProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics5::SelectionFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics5)->get_SelectionFlyoutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics5::DescriptionProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics5::DescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics5)->get_DescriptionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Geometry) consume_Windows_UI_Xaml_Controls_IPathIcon::Data() const + template auto consume_Windows_UI_Xaml_Controls_IPathIcon::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPathIcon)->get_Data(&value)); return winrt::Windows::UI::Xaml::Media::Geometry{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPathIcon::Data(winrt::Windows::UI::Xaml::Media::Geometry const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPathIcon::Data(winrt::Windows::UI::Xaml::Media::Geometry const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPathIcon)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PathIcon) consume_Windows_UI_Xaml_Controls_IPathIconFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IPathIconFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPathIconFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::PathIcon{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Geometry) consume_Windows_UI_Xaml_Controls_IPathIconSource::Data() const + template auto consume_Windows_UI_Xaml_Controls_IPathIconSource::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPathIconSource)->get_Data(&value)); return winrt::Windows::UI::Xaml::Media::Geometry{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPathIconSource::Data(winrt::Windows::UI::Xaml::Media::Geometry const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPathIconSource::Data(winrt::Windows::UI::Xaml::Media::Geometry const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPathIconSource)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PathIconSource) consume_Windows_UI_Xaml_Controls_IPathIconSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IPathIconSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPathIconSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::PathIconSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPathIconSourceStatics::DataProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPathIconSourceStatics::DataProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPathIconSourceStatics)->get_DataProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPathIconStatics::DataProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPathIconStatics::DataProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPathIconStatics)->get_DataProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IPersonPicture::BadgeNumber() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::BadgeNumber() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->get_BadgeNumber(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture::BadgeNumber(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::BadgeNumber(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_BadgeNumber(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IPersonPicture::BadgeGlyph() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::BadgeGlyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->get_BadgeGlyph(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture::BadgeGlyph(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::BadgeGlyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_BadgeGlyph(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IPersonPicture::BadgeImageSource() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::BadgeImageSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->get_BadgeImageSource(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture::BadgeImageSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::BadgeImageSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_BadgeImageSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IPersonPicture::BadgeText() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::BadgeText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->get_BadgeText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture::BadgeText(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::BadgeText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_BadgeText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPersonPicture::IsGroup() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::IsGroup() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->get_IsGroup(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture::IsGroup(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::IsGroup(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_IsGroup(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_UI_Xaml_Controls_IPersonPicture::Contact() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->get_Contact(&value)); return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture::Contact(winrt::Windows::ApplicationModel::Contacts::Contact const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::Contact(winrt::Windows::ApplicationModel::Contacts::Contact const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_Contact(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IPersonPicture::DisplayName() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture::DisplayName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_DisplayName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IPersonPicture::Initials() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::Initials() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->get_Initials(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture::Initials(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::Initials(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_Initials(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPersonPicture::PreferSmallImage() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::PreferSmallImage() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->get_PreferSmallImage(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture::PreferSmallImage(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::PreferSmallImage(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_PreferSmallImage(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IPersonPicture::ProfilePicture() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::ProfilePicture() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->get_ProfilePicture(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture::ProfilePicture(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPersonPicture::ProfilePicture(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_ProfilePicture(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PersonPicture) consume_Windows_UI_Xaml_Controls_IPersonPictureFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IPersonPictureFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPictureFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::PersonPicture{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::BadgeNumberProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::BadgeNumberProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPictureStatics)->get_BadgeNumberProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::BadgeGlyphProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::BadgeGlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPictureStatics)->get_BadgeGlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::BadgeImageSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::BadgeImageSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPictureStatics)->get_BadgeImageSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::BadgeTextProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::BadgeTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPictureStatics)->get_BadgeTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::IsGroupProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::IsGroupProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPictureStatics)->get_IsGroupProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::ContactProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::ContactProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPictureStatics)->get_ContactProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::DisplayNameProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::DisplayNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPictureStatics)->get_DisplayNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::InitialsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::InitialsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPictureStatics)->get_InitialsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::PreferSmallImageProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::PreferSmallImageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPictureStatics)->get_PreferSmallImageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::ProfilePictureProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics::ProfilePictureProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPictureStatics)->get_ProfilePictureProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IPickerFlyout::Content() const + template auto consume_Windows_UI_Xaml_Controls_IPickerFlyout::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPickerFlyout)->get_Content(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPickerFlyout::Content(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPickerFlyout::Content(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPickerFlyout)->put_Content(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPickerFlyout::ConfirmationButtonsVisible() const + template auto consume_Windows_UI_Xaml_Controls_IPickerFlyout::ConfirmationButtonsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPickerFlyout)->get_ConfirmationButtonsVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPickerFlyout::ConfirmationButtonsVisible(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IPickerFlyout::ConfirmationButtonsVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPickerFlyout)->put_ConfirmationButtonsVisible(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPickerFlyout::Confirmed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPickerFlyout::Confirmed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPickerFlyout)->add_Confirmed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IPickerFlyout::Confirmed_revoker consume_Windows_UI_Xaml_Controls_IPickerFlyout::Confirmed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPickerFlyout::Confirmed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Confirmed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPickerFlyout::Confirmed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IPickerFlyout::Confirmed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPickerFlyout)->remove_Confirmed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_IPickerFlyout::ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const + template auto consume_Windows_UI_Xaml_Controls_IPickerFlyout::ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPickerFlyout)->ShowAtAsync(*(void**)(&target), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPickerFlyoutStatics::ContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPickerFlyoutStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPickerFlyoutStatics)->get_ContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPickerFlyoutStatics::ConfirmationButtonsVisibleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPickerFlyoutStatics::ConfirmationButtonsVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPickerFlyoutStatics)->get_ConfirmationButtonsVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IPivot::Title() const + template auto consume_Windows_UI_Xaml_Controls_IPivot::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->get_Title(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot::Title(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPivot::Title(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IPivot::TitleTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IPivot::TitleTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->get_TitleTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot::TitleTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPivot::TitleTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->put_TitleTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IPivot::HeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IPivot::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPivot::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->put_HeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IPivot::SelectedIndex() const + template auto consume_Windows_UI_Xaml_Controls_IPivot::SelectedIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->get_SelectedIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot::SelectedIndex(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IPivot::SelectedIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->put_SelectedIndex(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IPivot::SelectedItem() const + template auto consume_Windows_UI_Xaml_Controls_IPivot::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->get_SelectedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPivot::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->put_SelectedItem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPivot::IsLocked() const + template auto consume_Windows_UI_Xaml_Controls_IPivot::IsLocked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->get_IsLocked(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot::IsLocked(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IPivot::IsLocked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->put_IsLocked(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPivot::SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPivot::SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IPivot::SelectionChanged_revoker consume_Windows_UI_Xaml_Controls_IPivot::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPivot::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot::SelectionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IPivot::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->remove_SelectionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPivot::PivotItemLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPivot::PivotItemLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->add_PivotItemLoading(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IPivot::PivotItemLoading_revoker consume_Windows_UI_Xaml_Controls_IPivot::PivotItemLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPivot::PivotItemLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PivotItemLoading(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot::PivotItemLoading(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IPivot::PivotItemLoading(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->remove_PivotItemLoading(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPivot::PivotItemLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPivot::PivotItemLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->add_PivotItemLoaded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IPivot::PivotItemLoaded_revoker consume_Windows_UI_Xaml_Controls_IPivot::PivotItemLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPivot::PivotItemLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PivotItemLoaded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot::PivotItemLoaded(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IPivot::PivotItemLoaded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->remove_PivotItemLoaded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPivot::PivotItemUnloading(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPivot::PivotItemUnloading(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->add_PivotItemUnloading(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IPivot::PivotItemUnloading_revoker consume_Windows_UI_Xaml_Controls_IPivot::PivotItemUnloading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPivot::PivotItemUnloading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PivotItemUnloading(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot::PivotItemUnloading(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IPivot::PivotItemUnloading(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->remove_PivotItemUnloading(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPivot::PivotItemUnloaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPivot::PivotItemUnloaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->add_PivotItemUnloaded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IPivot::PivotItemUnloaded_revoker consume_Windows_UI_Xaml_Controls_IPivot::PivotItemUnloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IPivot::PivotItemUnloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PivotItemUnloaded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot::PivotItemUnloaded(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IPivot::PivotItemUnloaded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->remove_PivotItemUnloaded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IPivot2::LeftHeader() const + template auto consume_Windows_UI_Xaml_Controls_IPivot2::LeftHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot2)->get_LeftHeader(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot2::LeftHeader(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPivot2::LeftHeader(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot2)->put_LeftHeader(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IPivot2::LeftHeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IPivot2::LeftHeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot2)->get_LeftHeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot2::LeftHeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPivot2::LeftHeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot2)->put_LeftHeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IPivot2::RightHeader() const + template auto consume_Windows_UI_Xaml_Controls_IPivot2::RightHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot2)->get_RightHeader(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot2::RightHeader(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPivot2::RightHeader(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot2)->put_RightHeader(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IPivot2::RightHeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IPivot2::RightHeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot2)->get_RightHeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot2::RightHeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPivot2::RightHeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot2)->put_RightHeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PivotHeaderFocusVisualPlacement) consume_Windows_UI_Xaml_Controls_IPivot3::HeaderFocusVisualPlacement() const + template auto consume_Windows_UI_Xaml_Controls_IPivot3::HeaderFocusVisualPlacement() const { winrt::Windows::UI::Xaml::Controls::PivotHeaderFocusVisualPlacement value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot3)->get_HeaderFocusVisualPlacement(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot3::HeaderFocusVisualPlacement(winrt::Windows::UI::Xaml::Controls::PivotHeaderFocusVisualPlacement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPivot3::HeaderFocusVisualPlacement(winrt::Windows::UI::Xaml::Controls::PivotHeaderFocusVisualPlacement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot3)->put_HeaderFocusVisualPlacement(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPivot3::IsHeaderItemsCarouselEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IPivot3::IsHeaderItemsCarouselEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot3)->get_IsHeaderItemsCarouselEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot3::IsHeaderItemsCarouselEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IPivot3::IsHeaderItemsCarouselEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot3)->put_IsHeaderItemsCarouselEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Pivot) consume_Windows_UI_Xaml_Controls_IPivotFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IPivotFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Pivot{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IPivotItem::Header() const + template auto consume_Windows_UI_Xaml_Controls_IPivotItem::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotItem)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivotItem::Header(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPivotItem::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotItem)->put_Header(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PivotItem) consume_Windows_UI_Xaml_Controls_IPivotItemEventArgs::Item() const + template auto consume_Windows_UI_Xaml_Controls_IPivotItemEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotItemEventArgs)->get_Item(&value)); return winrt::Windows::UI::Xaml::Controls::PivotItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivotItemEventArgs::Item(winrt::Windows::UI::Xaml::Controls::PivotItem const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPivotItemEventArgs::Item(winrt::Windows::UI::Xaml::Controls::PivotItem const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotItemEventArgs)->put_Item(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PivotItem) consume_Windows_UI_Xaml_Controls_IPivotItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IPivotItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::PivotItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotItemStatics::HeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPivotItemStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotItemStatics)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics::TitleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPivotStatics::TitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotStatics)->get_TitleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics::TitleTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPivotStatics::TitleTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotStatics)->get_TitleTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics::HeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPivotStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotStatics)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics::SelectedIndexProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPivotStatics::SelectedIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotStatics)->get_SelectedIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics::SelectedItemProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPivotStatics::SelectedItemProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotStatics)->get_SelectedItemProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics::IsLockedProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPivotStatics::IsLockedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotStatics)->get_IsLockedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics::SlideInAnimationGroupProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPivotStatics::SlideInAnimationGroupProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotStatics)->get_SlideInAnimationGroupProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PivotSlideInAnimationGroup) consume_Windows_UI_Xaml_Controls_IPivotStatics::GetSlideInAnimationGroup(winrt::Windows::UI::Xaml::FrameworkElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IPivotStatics::GetSlideInAnimationGroup(winrt::Windows::UI::Xaml::FrameworkElement const& element) const { winrt::Windows::UI::Xaml::Controls::PivotSlideInAnimationGroup result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotStatics)->GetSlideInAnimationGroup(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivotStatics::SetSlideInAnimationGroup(winrt::Windows::UI::Xaml::FrameworkElement const& element, winrt::Windows::UI::Xaml::Controls::PivotSlideInAnimationGroup const& value) const + template auto consume_Windows_UI_Xaml_Controls_IPivotStatics::SetSlideInAnimationGroup(winrt::Windows::UI::Xaml::FrameworkElement const& element, winrt::Windows::UI::Xaml::Controls::PivotSlideInAnimationGroup const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotStatics)->SetSlideInAnimationGroup(*(void**)(&element), static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics2::LeftHeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPivotStatics2::LeftHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotStatics2)->get_LeftHeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics2::LeftHeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPivotStatics2::LeftHeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotStatics2)->get_LeftHeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics2::RightHeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPivotStatics2::RightHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotStatics2)->get_RightHeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics2::RightHeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPivotStatics2::RightHeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotStatics2)->get_RightHeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics3::HeaderFocusVisualPlacementProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPivotStatics3::HeaderFocusVisualPlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotStatics3)->get_HeaderFocusVisualPlacementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics3::IsHeaderItemsCarouselEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IPivotStatics3::IsHeaderItemsCarouselEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotStatics3)->get_IsHeaderItemsCarouselEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IProgressBar::IsIndeterminate() const + template auto consume_Windows_UI_Xaml_Controls_IProgressBar::IsIndeterminate() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBar)->get_IsIndeterminate(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IProgressBar::IsIndeterminate(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IProgressBar::IsIndeterminate(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBar)->put_IsIndeterminate(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IProgressBar::ShowError() const + template auto consume_Windows_UI_Xaml_Controls_IProgressBar::ShowError() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBar)->get_ShowError(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IProgressBar::ShowError(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IProgressBar::ShowError(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBar)->put_ShowError(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IProgressBar::ShowPaused() const + template auto consume_Windows_UI_Xaml_Controls_IProgressBar::ShowPaused() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBar)->get_ShowPaused(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IProgressBar::ShowPaused(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IProgressBar::ShowPaused(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBar)->put_ShowPaused(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ProgressBarTemplateSettings) consume_Windows_UI_Xaml_Controls_IProgressBar::TemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_IProgressBar::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBar)->get_TemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::ProgressBarTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ProgressBar) consume_Windows_UI_Xaml_Controls_IProgressBarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IProgressBarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBarFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ProgressBar{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IProgressBarStatics::IsIndeterminateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IProgressBarStatics::IsIndeterminateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBarStatics)->get_IsIndeterminateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IProgressBarStatics::ShowErrorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IProgressBarStatics::ShowErrorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBarStatics)->get_ShowErrorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IProgressBarStatics::ShowPausedProperty() const + template auto consume_Windows_UI_Xaml_Controls_IProgressBarStatics::ShowPausedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBarStatics)->get_ShowPausedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IProgressRing::IsActive() const + template auto consume_Windows_UI_Xaml_Controls_IProgressRing::IsActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressRing)->get_IsActive(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IProgressRing::IsActive(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IProgressRing::IsActive(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressRing)->put_IsActive(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ProgressRingTemplateSettings) consume_Windows_UI_Xaml_Controls_IProgressRing::TemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_IProgressRing::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressRing)->get_TemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::ProgressRingTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IProgressRingStatics::IsActiveProperty() const + template auto consume_Windows_UI_Xaml_Controls_IProgressRingStatics::IsActiveProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressRingStatics)->get_IsActiveProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRadioButton::GroupName() const + template auto consume_Windows_UI_Xaml_Controls_IRadioButton::GroupName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRadioButton)->get_GroupName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRadioButton::GroupName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRadioButton::GroupName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRadioButton)->put_GroupName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RadioButton) consume_Windows_UI_Xaml_Controls_IRadioButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IRadioButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRadioButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::RadioButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRadioButtonStatics::GroupNameProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRadioButtonStatics::GroupNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRadioButtonStatics)->get_GroupNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRatingControl::Caption() const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::Caption() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->get_Caption(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl::Caption(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::Caption(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->put_Caption(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IRatingControl::InitialSetValue() const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::InitialSetValue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->get_InitialSetValue(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl::InitialSetValue(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::InitialSetValue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->put_InitialSetValue(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRatingControl::IsClearEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::IsClearEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->get_IsClearEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl::IsClearEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::IsClearEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->put_IsClearEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRatingControl::IsReadOnly() const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::IsReadOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->get_IsReadOnly(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl::IsReadOnly(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::IsReadOnly(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->put_IsReadOnly(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IRatingControl::MaxRating() const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::MaxRating() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->get_MaxRating(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl::MaxRating(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::MaxRating(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->put_MaxRating(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRatingControl::PlaceholderValue() const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::PlaceholderValue() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->get_PlaceholderValue(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl::PlaceholderValue(double value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::PlaceholderValue(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->put_PlaceholderValue(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RatingItemInfo) consume_Windows_UI_Xaml_Controls_IRatingControl::ItemInfo() const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::ItemInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->get_ItemInfo(&value)); return winrt::Windows::UI::Xaml::Controls::RatingItemInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl::ItemInfo(winrt::Windows::UI::Xaml::Controls::RatingItemInfo const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::ItemInfo(winrt::Windows::UI::Xaml::Controls::RatingItemInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->put_ItemInfo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRatingControl::Value() const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::Value() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->get_Value(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl::Value(double value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::Value(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->put_Value(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRatingControl::ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->add_ValueChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRatingControl::ValueChanged_revoker consume_Windows_UI_Xaml_Controls_IRatingControl::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ValueChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl::ValueChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRatingControl::ValueChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->remove_ValueChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RatingControl) consume_Windows_UI_Xaml_Controls_IRatingControlFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IRatingControlFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControlFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::RatingControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingControlStatics::CaptionProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingControlStatics::CaptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControlStatics)->get_CaptionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingControlStatics::InitialSetValueProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingControlStatics::InitialSetValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControlStatics)->get_InitialSetValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingControlStatics::IsClearEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingControlStatics::IsClearEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControlStatics)->get_IsClearEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingControlStatics::IsReadOnlyProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingControlStatics::IsReadOnlyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControlStatics)->get_IsReadOnlyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingControlStatics::MaxRatingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingControlStatics::MaxRatingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControlStatics)->get_MaxRatingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingControlStatics::PlaceholderValueProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingControlStatics::PlaceholderValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControlStatics)->get_PlaceholderValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingControlStatics::ItemInfoProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingControlStatics::ItemInfoProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControlStatics)->get_ItemInfoProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingControlStatics::ValueProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingControlStatics::ValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControlStatics)->get_ValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::DisabledGlyph() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::DisabledGlyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->get_DisabledGlyph(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::DisabledGlyph(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::DisabledGlyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->put_DisabledGlyph(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::Glyph() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::Glyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->get_Glyph(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::Glyph(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::Glyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->put_Glyph(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::PointerOverGlyph() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::PointerOverGlyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->get_PointerOverGlyph(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::PointerOverGlyph(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::PointerOverGlyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->put_PointerOverGlyph(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::PointerOverPlaceholderGlyph() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::PointerOverPlaceholderGlyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->get_PointerOverPlaceholderGlyph(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::PointerOverPlaceholderGlyph(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::PointerOverPlaceholderGlyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->put_PointerOverPlaceholderGlyph(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::PlaceholderGlyph() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::PlaceholderGlyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->get_PlaceholderGlyph(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::PlaceholderGlyph(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::PlaceholderGlyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->put_PlaceholderGlyph(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::UnsetGlyph() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::UnsetGlyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->get_UnsetGlyph(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::UnsetGlyph(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo::UnsetGlyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->put_UnsetGlyph(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RatingItemFontInfo) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfoFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::RatingItemFontInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics::DisabledGlyphProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics::DisabledGlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfoStatics)->get_DisabledGlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics::GlyphProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics::GlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfoStatics)->get_GlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics::PlaceholderGlyphProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics::PlaceholderGlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfoStatics)->get_PlaceholderGlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics::PointerOverGlyphProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics::PointerOverGlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfoStatics)->get_PointerOverGlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics::PointerOverPlaceholderGlyphProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics::PointerOverPlaceholderGlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfoStatics)->get_PointerOverPlaceholderGlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics::UnsetGlyphProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics::UnsetGlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfoStatics)->get_UnsetGlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::DisabledImage() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::DisabledImage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfo)->get_DisabledImage(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::DisabledImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::DisabledImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfo)->put_DisabledImage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::Image() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::Image() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfo)->get_Image(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::Image(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::Image(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfo)->put_Image(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::PlaceholderImage() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::PlaceholderImage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfo)->get_PlaceholderImage(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::PlaceholderImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::PlaceholderImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfo)->put_PlaceholderImage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::PointerOverImage() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::PointerOverImage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfo)->get_PointerOverImage(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::PointerOverImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::PointerOverImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfo)->put_PointerOverImage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::PointerOverPlaceholderImage() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::PointerOverPlaceholderImage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfo)->get_PointerOverPlaceholderImage(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::PointerOverPlaceholderImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::PointerOverPlaceholderImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfo)->put_PointerOverPlaceholderImage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::UnsetImage() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::UnsetImage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfo)->get_UnsetImage(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::UnsetImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo::UnsetImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfo)->put_UnsetImage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RatingItemImageInfo) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfoFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::RatingItemImageInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics::DisabledImageProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics::DisabledImageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfoStatics)->get_DisabledImageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics::ImageProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics::ImageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfoStatics)->get_ImageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics::PlaceholderImageProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics::PlaceholderImageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfoStatics)->get_PlaceholderImageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics::PointerOverImageProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics::PointerOverImageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfoStatics)->get_PointerOverImageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics::PointerOverPlaceholderImageProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics::PointerOverPlaceholderImageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfoStatics)->get_PointerOverPlaceholderImageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics::UnsetImageProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics::UnsetImageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfoStatics)->get_UnsetImageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RatingItemInfo) consume_Windows_UI_Xaml_Controls_IRatingItemInfoFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IRatingItemInfoFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemInfoFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::RatingItemInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizer) consume_Windows_UI_Xaml_Controls_IRefreshContainer::Visualizer() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshContainer::Visualizer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshContainer)->get_Visualizer(&value)); return winrt::Windows::UI::Xaml::Controls::RefreshVisualizer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshContainer::Visualizer(winrt::Windows::UI::Xaml::Controls::RefreshVisualizer const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRefreshContainer::Visualizer(winrt::Windows::UI::Xaml::Controls::RefreshVisualizer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshContainer)->put_Visualizer(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshPullDirection) consume_Windows_UI_Xaml_Controls_IRefreshContainer::PullDirection() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshContainer::PullDirection() const { winrt::Windows::UI::Xaml::Controls::RefreshPullDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshContainer)->get_PullDirection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshContainer::PullDirection(winrt::Windows::UI::Xaml::Controls::RefreshPullDirection const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRefreshContainer::PullDirection(winrt::Windows::UI::Xaml::Controls::RefreshPullDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshContainer)->put_PullDirection(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRefreshContainer::RefreshRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRefreshContainer::RefreshRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshContainer)->add_RefreshRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRefreshContainer::RefreshRequested_revoker consume_Windows_UI_Xaml_Controls_IRefreshContainer::RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRefreshContainer::RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RefreshRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshContainer::RefreshRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRefreshContainer::RefreshRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshContainer)->remove_RefreshRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshContainer::RequestRefresh() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshContainer::RequestRefresh() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshContainer)->RequestRefresh()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshContainer) consume_Windows_UI_Xaml_Controls_IRefreshContainerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IRefreshContainerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshContainerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::RefreshContainer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRefreshContainerStatics::VisualizerProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshContainerStatics::VisualizerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshContainerStatics)->get_VisualizerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRefreshContainerStatics::PullDirectionProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshContainerStatics::PullDirectionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshContainerStatics)->get_PullDirectionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRefreshInteractionRatioChangedEventArgs::InteractionRatio() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshInteractionRatioChangedEventArgs::InteractionRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshInteractionRatioChangedEventArgs)->get_InteractionRatio(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Xaml_Controls_IRefreshRequestedEventArgs::GetDeferral() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerState) consume_Windows_UI_Xaml_Controls_IRefreshStateChangedEventArgs::OldState() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshStateChangedEventArgs::OldState() const { winrt::Windows::UI::Xaml::Controls::RefreshVisualizerState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshStateChangedEventArgs)->get_OldState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerState) consume_Windows_UI_Xaml_Controls_IRefreshStateChangedEventArgs::NewState() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshStateChangedEventArgs::NewState() const { winrt::Windows::UI::Xaml::Controls::RefreshVisualizerState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshStateChangedEventArgs)->get_NewState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::RequestRefresh() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::RequestRefresh() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer)->RequestRefresh()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerOrientation) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::Orientation() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::Orientation() const { winrt::Windows::UI::Xaml::Controls::RefreshVisualizerOrientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::Orientation(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerOrientation const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::Orientation(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerOrientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer)->put_Orientation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::Content() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer)->get_Content(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::Content(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::Content(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer)->put_Content(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerState) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::State() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::State() const { winrt::Windows::UI::Xaml::Controls::RefreshVisualizerState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::RefreshRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::RefreshRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer)->add_RefreshRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::RefreshRequested_revoker consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RefreshRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::RefreshRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::RefreshRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer)->remove_RefreshRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::RefreshStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::RefreshStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer)->add_RefreshStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::RefreshStateChanged_revoker consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::RefreshStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::RefreshStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RefreshStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::RefreshStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer::RefreshStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer)->remove_RefreshStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizer) consume_Windows_UI_Xaml_Controls_IRefreshVisualizerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::RefreshVisualizer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics::InfoProviderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics::InfoProviderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizerStatics)->get_InfoProviderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics::OrientationProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizerStatics)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics::ContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizerStatics)->get_ContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics::StateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics::StateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizerStatics)->get_StateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IRelativePanel::BorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanel::BorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanel)->get_BorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanel::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanel::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanel)->put_BorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IRelativePanel::BorderThickness() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanel::BorderThickness() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanel)->get_BorderThickness(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanel::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanel::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanel)->put_BorderThickness(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_Controls_IRelativePanel::CornerRadius() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanel::CornerRadius() const { winrt::Windows::UI::Xaml::CornerRadius value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanel)->get_CornerRadius(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanel::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanel::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanel)->put_CornerRadius(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IRelativePanel::Padding() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanel::Padding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanel)->get_Padding(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanel::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanel::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanel)->put_Padding(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) consume_Windows_UI_Xaml_Controls_IRelativePanel2::BackgroundSizing() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanel2::BackgroundSizing() const { winrt::Windows::UI::Xaml::Controls::BackgroundSizing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanel2)->get_BackgroundSizing(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanel2::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanel2::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanel2)->put_BackgroundSizing(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RelativePanel) consume_Windows_UI_Xaml_Controls_IRelativePanelFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::RelativePanel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::LeftOfProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::LeftOfProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_LeftOfProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetLeftOf(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetLeftOf(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->GetLeftOf(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetLeftOf(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetLeftOf(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->SetLeftOf(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AboveProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AboveProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_AboveProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAbove(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAbove(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->GetAbove(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAbove(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAbove(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->SetAbove(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::RightOfProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::RightOfProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_RightOfProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetRightOf(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetRightOf(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->GetRightOf(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetRightOf(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetRightOf(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->SetRightOf(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::BelowProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::BelowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_BelowProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetBelow(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetBelow(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->GetBelow(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetBelow(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetBelow(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->SetBelow(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignHorizontalCenterWithProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignHorizontalCenterWithProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignHorizontalCenterWithProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignHorizontalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignHorizontalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignHorizontalCenterWith(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignHorizontalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignHorizontalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignHorizontalCenterWith(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignVerticalCenterWithProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignVerticalCenterWithProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignVerticalCenterWithProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignVerticalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignVerticalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignVerticalCenterWith(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignVerticalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignVerticalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignVerticalCenterWith(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignLeftWithProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignLeftWithProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignLeftWithProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignLeftWith(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignLeftWith(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignLeftWith(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignLeftWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignLeftWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignLeftWith(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignTopWithProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignTopWithProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignTopWithProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignTopWith(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignTopWith(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignTopWith(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignTopWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignTopWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignTopWith(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignRightWithProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignRightWithProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignRightWithProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignRightWith(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignRightWith(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignRightWith(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignRightWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignRightWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignRightWith(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignBottomWithProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignBottomWithProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignBottomWithProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignBottomWith(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignBottomWith(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignBottomWith(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignBottomWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignBottomWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignBottomWith(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignLeftWithPanelProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignLeftWithPanelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignLeftWithPanelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignLeftWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignLeftWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignLeftWithPanel(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignLeftWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignLeftWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignLeftWithPanel(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignTopWithPanelProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignTopWithPanelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignTopWithPanelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignTopWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignTopWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignTopWithPanel(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignTopWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignTopWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignTopWithPanel(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignRightWithPanelProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignRightWithPanelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignRightWithPanelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignRightWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignRightWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignRightWithPanel(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignRightWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignRightWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignRightWithPanel(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignBottomWithPanelProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignBottomWithPanelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignBottomWithPanelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignBottomWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignBottomWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignBottomWithPanel(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignBottomWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignBottomWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignBottomWithPanel(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignHorizontalCenterWithPanelProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignHorizontalCenterWithPanelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignHorizontalCenterWithPanelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignHorizontalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignHorizontalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignHorizontalCenterWithPanel(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignHorizontalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignHorizontalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignHorizontalCenterWithPanel(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignVerticalCenterWithPanelProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::AlignVerticalCenterWithPanelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignVerticalCenterWithPanelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignVerticalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::GetAlignVerticalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignVerticalCenterWithPanel(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignVerticalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::SetAlignVerticalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignVerticalCenterWithPanel(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::BorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::BorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_BorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::BorderThicknessProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::BorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_BorderThicknessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::CornerRadiusProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::CornerRadiusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_CornerRadiusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::PaddingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics)->get_PaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics2::BackgroundSizingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics2::BackgroundSizingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics2)->get_BackgroundSizingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBox::IsReadOnly() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::IsReadOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->get_IsReadOnly(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox::IsReadOnly(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::IsReadOnly(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->put_IsReadOnly(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBox::AcceptsReturn() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::AcceptsReturn() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->get_AcceptsReturn(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox::AcceptsReturn(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::AcceptsReturn(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->put_AcceptsReturn(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Controls_IRichEditBox::TextAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::TextAlignment() const { winrt::Windows::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->get_TextAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->put_TextAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextWrapping) consume_Windows_UI_Xaml_Controls_IRichEditBox::TextWrapping() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::TextWrapping() const { winrt::Windows::UI::Xaml::TextWrapping value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->get_TextWrapping(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->put_TextWrapping(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBox::IsSpellCheckEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::IsSpellCheckEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->get_IsSpellCheckEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox::IsSpellCheckEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::IsSpellCheckEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->put_IsSpellCheckEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBox::IsTextPredictionEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::IsTextPredictionEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->get_IsTextPredictionEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox::IsTextPredictionEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::IsTextPredictionEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->put_IsTextPredictionEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextDocument) consume_Windows_UI_Xaml_Controls_IRichEditBox::Document() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::Document() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->get_Document(&value)); return winrt::Windows::UI::Text::ITextDocument{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InputScope) consume_Windows_UI_Xaml_Controls_IRichEditBox::InputScope() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::InputScope() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->get_InputScope(&value)); return winrt::Windows::UI::Xaml::Input::InputScope{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox::InputScope(winrt::Windows::UI::Xaml::Input::InputScope const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::InputScope(winrt::Windows::UI::Xaml::Input::InputScope const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->put_InputScope(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox::TextChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::TextChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->add_TextChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichEditBox::TextChanged_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox::TextChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::TextChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, TextChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox::TextChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::TextChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->remove_TextChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox::SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichEditBox::SelectionChanged_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox::SelectionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->remove_SelectionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox::ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->add_ContextMenuOpening(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichEditBox::ContextMenuOpening_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { return impl::make_event_revoker(this, ContextMenuOpening(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox::ContextMenuOpening(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox::ContextMenuOpening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->remove_ContextMenuOpening(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRichEditBox2::Header() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox2::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox2::Header(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox2::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->put_Header(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IRichEditBox2::HeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox2::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox2::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox2::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->put_HeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRichEditBox2::PlaceholderText() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox2::PlaceholderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->get_PlaceholderText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox2::PlaceholderText(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox2::PlaceholderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->put_PlaceholderText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_IRichEditBox2::SelectionHighlightColor() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox2::SelectionHighlightColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->get_SelectionHighlightColor(&value)); return winrt::Windows::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox2::SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox2::SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->put_SelectionHighlightColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBox2::PreventKeyboardDisplayOnProgrammaticFocus() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox2::PreventKeyboardDisplayOnProgrammaticFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->get_PreventKeyboardDisplayOnProgrammaticFocus(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox2::PreventKeyboardDisplayOnProgrammaticFocus(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox2::PreventKeyboardDisplayOnProgrammaticFocus(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->put_PreventKeyboardDisplayOnProgrammaticFocus(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBox2::IsColorFontEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox2::IsColorFontEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->get_IsColorFontEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox2::IsColorFontEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox2::IsColorFontEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->put_IsColorFontEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox2::Paste(winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox2::Paste(winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->add_Paste(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichEditBox2::Paste_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox2::Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox2::Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const { return impl::make_event_revoker(this, Paste(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox2::Paste(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox2::Paste(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->remove_Paste(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->add_TextCompositionStarted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionStarted_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextCompositionStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionStarted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->remove_TextCompositionStarted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->add_TextCompositionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionChanged_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextCompositionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->remove_TextCompositionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->add_TextCompositionEnded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionEnded_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextCompositionEnded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionEnded(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextCompositionEnded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->remove_TextCompositionEnded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextReadingOrder) consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextReadingOrder() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextReadingOrder() const { winrt::Windows::UI::Xaml::TextReadingOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->get_TextReadingOrder(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->put_TextReadingOrder(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment) consume_Windows_UI_Xaml_Controls_IRichEditBox3::DesiredCandidateWindowAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::DesiredCandidateWindowAlignment() const { winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->get_DesiredCandidateWindowAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox3::DesiredCandidateWindowAlignment(winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::DesiredCandidateWindowAlignment(winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->put_DesiredCandidateWindowAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox3::CandidateWindowBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::CandidateWindowBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->add_CandidateWindowBoundsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichEditBox3::CandidateWindowBoundsChanged_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox3::CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CandidateWindowBoundsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox3::CandidateWindowBoundsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::CandidateWindowBoundsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->remove_CandidateWindowBoundsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->add_TextChanging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextChanging_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextChanging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextChanging(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox3::TextChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->remove_TextChanging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_UI_Xaml_Controls_IRichEditBox4::GetLinguisticAlternativesAsync() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox4::GetLinguisticAlternativesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox4)->GetLinguisticAlternativesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RichEditClipboardFormat) consume_Windows_UI_Xaml_Controls_IRichEditBox4::ClipboardCopyFormat() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox4::ClipboardCopyFormat() const { winrt::Windows::UI::Xaml::Controls::RichEditClipboardFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox4)->get_ClipboardCopyFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox4::ClipboardCopyFormat(winrt::Windows::UI::Xaml::Controls::RichEditClipboardFormat const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox4::ClipboardCopyFormat(winrt::Windows::UI::Xaml::Controls::RichEditClipboardFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox4)->put_ClipboardCopyFormat(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_IRichEditBox5::SelectionHighlightColorWhenNotFocused() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox5::SelectionHighlightColorWhenNotFocused() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox5)->get_SelectionHighlightColorWhenNotFocused(&value)); return winrt::Windows::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox5::SelectionHighlightColorWhenNotFocused(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox5::SelectionHighlightColorWhenNotFocused(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox5)->put_SelectionHighlightColorWhenNotFocused(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IRichEditBox5::MaxLength() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox5::MaxLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox5)->get_MaxLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox5::MaxLength(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox5::MaxLength(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox5)->put_MaxLength(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Controls_IRichEditBox6::HorizontalTextAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox6::HorizontalTextAlignment() const { winrt::Windows::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox6)->get_HorizontalTextAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox6::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox6::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox6)->put_HorizontalTextAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CharacterCasing) consume_Windows_UI_Xaml_Controls_IRichEditBox6::CharacterCasing() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox6::CharacterCasing() const { winrt::Windows::UI::Xaml::Controls::CharacterCasing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox6)->get_CharacterCasing(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox6::CharacterCasing(winrt::Windows::UI::Xaml::Controls::CharacterCasing const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox6::CharacterCasing(winrt::Windows::UI::Xaml::Controls::CharacterCasing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox6)->put_CharacterCasing(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DisabledFormattingAccelerators) consume_Windows_UI_Xaml_Controls_IRichEditBox6::DisabledFormattingAccelerators() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox6::DisabledFormattingAccelerators() const { winrt::Windows::UI::Xaml::Controls::DisabledFormattingAccelerators value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox6)->get_DisabledFormattingAccelerators(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox6::DisabledFormattingAccelerators(winrt::Windows::UI::Xaml::Controls::DisabledFormattingAccelerators const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox6::DisabledFormattingAccelerators(winrt::Windows::UI::Xaml::Controls::DisabledFormattingAccelerators const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox6)->put_DisabledFormattingAccelerators(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox6::CopyingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox6::CopyingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox6)->add_CopyingToClipboard(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichEditBox6::CopyingToClipboard_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox6::CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox6::CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CopyingToClipboard(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox6::CopyingToClipboard(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox6::CopyingToClipboard(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox6)->remove_CopyingToClipboard(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox6::CuttingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox6::CuttingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox6)->add_CuttingToClipboard(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichEditBox6::CuttingToClipboard_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox6::CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox6::CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CuttingToClipboard(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox6::CuttingToClipboard(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox6::CuttingToClipboard(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox6)->remove_CuttingToClipboard(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkForegroundColor() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkForegroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->get_ContentLinkForegroundColor(&value)); return winrt::Windows::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkForegroundColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkForegroundColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->put_ContentLinkForegroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkBackgroundColor() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkBackgroundColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->get_ContentLinkBackgroundColor(&value)); return winrt::Windows::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkBackgroundColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkBackgroundColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->put_ContentLinkBackgroundColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::ContentLinkProviderCollection) consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkProviders() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkProviders() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->get_ContentLinkProviders(&value)); return winrt::Windows::UI::Xaml::Documents::ContentLinkProviderCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkProviders(winrt::Windows::UI::Xaml::Documents::ContentLinkProviderCollection const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkProviders(winrt::Windows::UI::Xaml::Documents::ContentLinkProviderCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->put_ContentLinkProviders(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HandwritingView) consume_Windows_UI_Xaml_Controls_IRichEditBox7::HandwritingView() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox7::HandwritingView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->get_HandwritingView(&value)); return winrt::Windows::UI::Xaml::Controls::HandwritingView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox7::HandwritingView(winrt::Windows::UI::Xaml::Controls::HandwritingView const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox7::HandwritingView(winrt::Windows::UI::Xaml::Controls::HandwritingView const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->put_HandwritingView(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBox7::IsHandwritingViewEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox7::IsHandwritingViewEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->get_IsHandwritingViewEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox7::IsHandwritingViewEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox7::IsHandwritingViewEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->put_IsHandwritingViewEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->add_ContentLinkChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkChanged_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContentLinkChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->remove_ContentLinkChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->add_ContentLinkInvoked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkInvoked_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContentLinkInvoked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkInvoked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox7::ContentLinkInvoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->remove_ContentLinkInvoked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::RichEditTextDocument) consume_Windows_UI_Xaml_Controls_IRichEditBox8::TextDocument() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox8::TextDocument() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox8)->get_TextDocument(&value)); return winrt::Windows::UI::Text::RichEditTextDocument{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_IRichEditBox8::SelectionFlyout() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox8::SelectionFlyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox8)->get_SelectionFlyout(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox8::SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox8::SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox8)->put_SelectionFlyout(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_IRichEditBox8::ProofingMenuFlyout() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox8::ProofingMenuFlyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox8)->get_ProofingMenuFlyout(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRichEditBox8::Description() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox8::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox8)->get_Description(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox8::Description(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox8::Description(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox8)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox8::SelectionChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox8::SelectionChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox8)->add_SelectionChanging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichEditBox8::SelectionChanging_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox8::SelectionChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox8::SelectionChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox8::SelectionChanging(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichEditBox8::SelectionChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox8)->remove_SelectionChanging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RichEditBox) consume_Windows_UI_Xaml_Controls_IRichEditBoxFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::RichEditBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs::SelectionStart() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs::SelectionStart() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxSelectionChangingEventArgs)->get_SelectionStart(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs::SelectionLength() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs::SelectionLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxSelectionChangingEventArgs)->get_SelectionLength(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxSelectionChangingEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxSelectionChangingEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics::IsReadOnlyProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics::IsReadOnlyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics)->get_IsReadOnlyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics::AcceptsReturnProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics::AcceptsReturnProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics)->get_AcceptsReturnProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics::TextAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics::TextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics)->get_TextAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics::TextWrappingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics::TextWrappingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics)->get_TextWrappingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics::IsSpellCheckEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics::IsSpellCheckEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics)->get_IsSpellCheckEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics::IsTextPredictionEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics::IsTextPredictionEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics)->get_IsTextPredictionEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics::InputScopeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics::InputScopeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics)->get_InputScopeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2::HeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics2)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2::HeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics2)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2::PlaceholderTextProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2::PlaceholderTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics2)->get_PlaceholderTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2::SelectionHighlightColorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2::SelectionHighlightColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics2)->get_SelectionHighlightColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2::PreventKeyboardDisplayOnProgrammaticFocusProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2::PreventKeyboardDisplayOnProgrammaticFocusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics2)->get_PreventKeyboardDisplayOnProgrammaticFocusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2::IsColorFontEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2::IsColorFontEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics2)->get_IsColorFontEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics3::DesiredCandidateWindowAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics3::DesiredCandidateWindowAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics3)->get_DesiredCandidateWindowAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics3::TextReadingOrderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics3::TextReadingOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics3)->get_TextReadingOrderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics4::ClipboardCopyFormatProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics4::ClipboardCopyFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics4)->get_ClipboardCopyFormatProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics5::SelectionHighlightColorWhenNotFocusedProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics5::SelectionHighlightColorWhenNotFocusedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics5)->get_SelectionHighlightColorWhenNotFocusedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics5::MaxLengthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics5::MaxLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics5)->get_MaxLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics6::HorizontalTextAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics6::HorizontalTextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics6)->get_HorizontalTextAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics6::CharacterCasingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics6::CharacterCasingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics6)->get_CharacterCasingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics6::DisabledFormattingAcceleratorsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics6::DisabledFormattingAcceleratorsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics6)->get_DisabledFormattingAcceleratorsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7::ContentLinkForegroundColorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7::ContentLinkForegroundColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics7)->get_ContentLinkForegroundColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7::ContentLinkBackgroundColorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7::ContentLinkBackgroundColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics7)->get_ContentLinkBackgroundColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7::ContentLinkProvidersProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7::ContentLinkProvidersProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics7)->get_ContentLinkProvidersProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7::HandwritingViewProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7::HandwritingViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics7)->get_HandwritingViewProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7::IsHandwritingViewEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7::IsHandwritingViewEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics7)->get_IsHandwritingViewEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics8::SelectionFlyoutProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics8::SelectionFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics8)->get_SelectionFlyoutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics8::ProofingMenuFlyoutProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics8::ProofingMenuFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics8)->get_ProofingMenuFlyoutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics8::DescriptionProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics8::DescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics8)->get_DescriptionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBoxTextChangingEventArgs2::IsContentChanging() const + template auto consume_Windows_UI_Xaml_Controls_IRichEditBoxTextChangingEventArgs2::IsContentChanging() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxTextChangingEventArgs2)->get_IsContentChanging(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontSize() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_FontSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontSize(double value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_FontSize(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontFamily() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_FontFamily(&value)); return winrt::Windows::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_FontFamily(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontWeight() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_FontWeight(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_FontWeight(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontStyle() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_FontStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_FontStyle(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontStretch() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontStretch() const { winrt::Windows::UI::Text::FontStretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_FontStretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_FontStretch(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IRichTextBlock::Foreground() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::Foreground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_Foreground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_Foreground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextWrapping) consume_Windows_UI_Xaml_Controls_IRichTextBlock::TextWrapping() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::TextWrapping() const { winrt::Windows::UI::Xaml::TextWrapping value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_TextWrapping(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_TextWrapping(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextTrimming) consume_Windows_UI_Xaml_Controls_IRichTextBlock::TextTrimming() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::TextTrimming() const { winrt::Windows::UI::Xaml::TextTrimming value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_TextTrimming(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::TextTrimming(winrt::Windows::UI::Xaml::TextTrimming const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::TextTrimming(winrt::Windows::UI::Xaml::TextTrimming const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_TextTrimming(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Controls_IRichTextBlock::TextAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::TextAlignment() const { winrt::Windows::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_TextAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_TextAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::BlockCollection) consume_Windows_UI_Xaml_Controls_IRichTextBlock::Blocks() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::Blocks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_Blocks(&value)); return winrt::Windows::UI::Xaml::Documents::BlockCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IRichTextBlock::Padding() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::Padding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_Padding(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_Padding(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRichTextBlock::LineHeight() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::LineHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_LineHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::LineHeight(double value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::LineHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_LineHeight(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::LineStackingStrategy) consume_Windows_UI_Xaml_Controls_IRichTextBlock::LineStackingStrategy() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::LineStackingStrategy() const { winrt::Windows::UI::Xaml::LineStackingStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_LineStackingStrategy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_LineStackingStrategy(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IRichTextBlock::CharacterSpacing() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::CharacterSpacing() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_CharacterSpacing(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::CharacterSpacing(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::CharacterSpacing(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_CharacterSpacing(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow) consume_Windows_UI_Xaml_Controls_IRichTextBlock::OverflowContentTarget() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::OverflowContentTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_OverflowContentTarget(&value)); return winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::OverflowContentTarget(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::OverflowContentTarget(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_OverflowContentTarget(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlock::IsTextSelectionEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::IsTextSelectionEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_IsTextSelectionEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::IsTextSelectionEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::IsTextSelectionEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_IsTextSelectionEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlock::HasOverflowContent() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::HasOverflowContent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_HasOverflowContent(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRichTextBlock::SelectedText() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::SelectedText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_SelectedText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_IRichTextBlock::ContentStart() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::ContentStart() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_ContentStart(&value)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_IRichTextBlock::ContentEnd() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::ContentEnd() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_ContentEnd(&value)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_IRichTextBlock::SelectionStart() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::SelectionStart() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_SelectionStart(&value)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_IRichTextBlock::SelectionEnd() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::SelectionEnd() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_SelectionEnd(&value)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRichTextBlock::BaselineOffset() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::BaselineOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_BaselineOffset(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichTextBlock::SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichTextBlock::SelectionChanged_revoker consume_Windows_UI_Xaml_Controls_IRichTextBlock::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::SelectionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->remove_SelectionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichTextBlock::ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->add_ContextMenuOpening(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichTextBlock::ContextMenuOpening_revoker consume_Windows_UI_Xaml_Controls_IRichTextBlock::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { return impl::make_event_revoker(this, ContextMenuOpening(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::ContextMenuOpening(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::ContextMenuOpening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->remove_ContextMenuOpening(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::SelectAll() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::SelectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->SelectAll()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::Select(winrt::Windows::UI::Xaml::Documents::TextPointer const& start, winrt::Windows::UI::Xaml::Documents::TextPointer const& end) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::Select(winrt::Windows::UI::Xaml::Documents::TextPointer const& start, winrt::Windows::UI::Xaml::Documents::TextPointer const& end) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->Select(*(void**)(&start), *(void**)(&end))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_IRichTextBlock::GetPositionFromPoint(winrt::Windows::Foundation::Point const& point) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::GetPositionFromPoint(winrt::Windows::Foundation::Point const& point) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->GetPositionFromPoint(impl::bind_in(point), &result)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlock::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->Focus(static_cast(value), &result)); return result; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRichTextBlock::TextIndent() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::TextIndent() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_TextIndent(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock::TextIndent(double value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock::TextIndent(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_TextIndent(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IRichTextBlock2::MaxLines() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2::MaxLines() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->get_MaxLines(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock2::MaxLines(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2::MaxLines(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->put_MaxLines(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextLineBounds) consume_Windows_UI_Xaml_Controls_IRichTextBlock2::TextLineBounds() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2::TextLineBounds() const { winrt::Windows::UI::Xaml::TextLineBounds value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->get_TextLineBounds(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock2::TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2::TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->put_TextLineBounds(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_IRichTextBlock2::SelectionHighlightColor() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2::SelectionHighlightColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->get_SelectionHighlightColor(&value)); return winrt::Windows::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock2::SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2::SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->put_SelectionHighlightColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::OpticalMarginAlignment) consume_Windows_UI_Xaml_Controls_IRichTextBlock2::OpticalMarginAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2::OpticalMarginAlignment() const { winrt::Windows::UI::Xaml::OpticalMarginAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->get_OpticalMarginAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock2::OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2::OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->put_OpticalMarginAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlock2::IsColorFontEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2::IsColorFontEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->get_IsColorFontEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock2::IsColorFontEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2::IsColorFontEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->put_IsColorFontEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextReadingOrder) consume_Windows_UI_Xaml_Controls_IRichTextBlock2::TextReadingOrder() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2::TextReadingOrder() const { winrt::Windows::UI::Xaml::TextReadingOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->get_TextReadingOrder(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock2::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->put_TextReadingOrder(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlock3::IsTextScaleFactorEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock3::IsTextScaleFactorEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock3)->get_IsTextScaleFactorEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock3::IsTextScaleFactorEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock3::IsTextScaleFactorEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock3)->put_IsTextScaleFactorEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::TextDecorations) consume_Windows_UI_Xaml_Controls_IRichTextBlock4::TextDecorations() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock4::TextDecorations() const { winrt::Windows::UI::Text::TextDecorations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock4)->get_TextDecorations(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock4::TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock4::TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock4)->put_TextDecorations(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlock5::IsTextTrimmed() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock5::IsTextTrimmed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock5)->get_IsTextTrimmed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Controls_IRichTextBlock5::HorizontalTextAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock5::HorizontalTextAlignment() const { winrt::Windows::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock5)->get_HorizontalTextAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock5::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock5::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock5)->put_HorizontalTextAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IRichTextBlock5::TextHighlighters() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock5::TextHighlighters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock5)->get_TextHighlighters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichTextBlock5::IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock5::IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock5)->add_IsTextTrimmedChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichTextBlock5::IsTextTrimmedChanged_revoker consume_Windows_UI_Xaml_Controls_IRichTextBlock5::IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock5::IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsTextTrimmedChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock5::IsTextTrimmedChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock5::IsTextTrimmedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock5)->remove_IsTextTrimmedChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_IRichTextBlock6::SelectionFlyout() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock6::SelectionFlyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock6)->get_SelectionFlyout(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock6::SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock6::SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock6)->put_SelectionFlyout(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock6::CopySelectionToClipboard() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlock6::CopySelectionToClipboard() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock6)->CopySelectionToClipboard()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::OverflowContentTarget() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::OverflowContentTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow)->get_OverflowContentTarget(&value)); return winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::OverflowContentTarget(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::OverflowContentTarget(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow)->put_OverflowContentTarget(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::Padding() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::Padding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow)->get_Padding(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow)->put_Padding(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RichTextBlock) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::ContentSource() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::ContentSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow)->get_ContentSource(&value)); return winrt::Windows::UI::Xaml::Controls::RichTextBlock{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::HasOverflowContent() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::HasOverflowContent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow)->get_HasOverflowContent(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::ContentStart() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::ContentStart() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow)->get_ContentStart(&value)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::ContentEnd() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::ContentEnd() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow)->get_ContentEnd(&value)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::BaselineOffset() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::BaselineOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow)->get_BaselineOffset(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::GetPositionFromPoint(winrt::Windows::Foundation::Point const& point) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::GetPositionFromPoint(winrt::Windows::Foundation::Point const& point) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow)->GetPositionFromPoint(impl::bind_in(point), &result)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow)->Focus(static_cast(value), &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow2::MaxLines() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow2::MaxLines() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow2)->get_MaxLines(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow2::MaxLines(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow2::MaxLines(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow2)->put_MaxLines(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3::IsTextTrimmed() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3::IsTextTrimmed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow3)->get_IsTextTrimmed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3::IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3::IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow3)->add_IsTextTrimmedChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3::IsTextTrimmedChanged_revoker consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3::IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3::IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsTextTrimmedChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3::IsTextTrimmedChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3::IsTextTrimmedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow3)->remove_IsTextTrimmedChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics::OverflowContentTargetProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics::OverflowContentTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflowStatics)->get_OverflowContentTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics::PaddingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflowStatics)->get_PaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics::HasOverflowContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics::HasOverflowContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflowStatics)->get_HasOverflowContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics2::MaxLinesProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics2::MaxLinesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflowStatics2)->get_MaxLinesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics3::IsTextTrimmedProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics3::IsTextTrimmedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflowStatics3)->get_IsTextTrimmedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::FontSizeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::FontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_FontSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::FontFamilyProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::FontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_FontFamilyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::FontWeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::FontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_FontWeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::FontStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::FontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_FontStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::FontStretchProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::FontStretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_FontStretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::ForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::ForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_ForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::TextWrappingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::TextWrappingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_TextWrappingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::TextTrimmingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::TextTrimmingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_TextTrimmingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::TextAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::TextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_TextAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::PaddingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_PaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::LineHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::LineHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_LineHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::LineStackingStrategyProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::LineStackingStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_LineStackingStrategyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::CharacterSpacingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::CharacterSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_CharacterSpacingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::OverflowContentTargetProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::OverflowContentTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_OverflowContentTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::IsTextSelectionEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::IsTextSelectionEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_IsTextSelectionEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::HasOverflowContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::HasOverflowContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_HasOverflowContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::SelectedTextProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::SelectedTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_SelectedTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::TextIndentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics::TextIndentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics)->get_TextIndentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2::MaxLinesProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2::MaxLinesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics2)->get_MaxLinesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2::TextLineBoundsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2::TextLineBoundsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics2)->get_TextLineBoundsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2::SelectionHighlightColorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2::SelectionHighlightColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics2)->get_SelectionHighlightColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2::OpticalMarginAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2::OpticalMarginAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics2)->get_OpticalMarginAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2::IsColorFontEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2::IsColorFontEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics2)->get_IsColorFontEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2::TextReadingOrderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2::TextReadingOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics2)->get_TextReadingOrderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics3::IsTextScaleFactorEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics3::IsTextScaleFactorEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics3)->get_IsTextScaleFactorEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics4::TextDecorationsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics4::TextDecorationsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics4)->get_TextDecorationsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics5::IsTextTrimmedProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics5::IsTextTrimmedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics5)->get_IsTextTrimmedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics5::HorizontalTextAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics5::HorizontalTextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics5)->get_HorizontalTextAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics6::SelectionFlyoutProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics6::SelectionFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics6)->get_SelectionFlyoutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_Controls_IRowDefinition::Height() const + template auto consume_Windows_UI_Xaml_Controls_IRowDefinition::Height() const { winrt::Windows::UI::Xaml::GridLength value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRowDefinition)->get_Height(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRowDefinition::Height(winrt::Windows::UI::Xaml::GridLength const& value) const + template auto consume_Windows_UI_Xaml_Controls_IRowDefinition::Height(winrt::Windows::UI::Xaml::GridLength const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRowDefinition)->put_Height(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRowDefinition::MaxHeight() const + template auto consume_Windows_UI_Xaml_Controls_IRowDefinition::MaxHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRowDefinition)->get_MaxHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRowDefinition::MaxHeight(double value) const + template auto consume_Windows_UI_Xaml_Controls_IRowDefinition::MaxHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRowDefinition)->put_MaxHeight(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRowDefinition::MinHeight() const + template auto consume_Windows_UI_Xaml_Controls_IRowDefinition::MinHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRowDefinition)->get_MinHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRowDefinition::MinHeight(double value) const + template auto consume_Windows_UI_Xaml_Controls_IRowDefinition::MinHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRowDefinition)->put_MinHeight(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRowDefinition::ActualHeight() const + template auto consume_Windows_UI_Xaml_Controls_IRowDefinition::ActualHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRowDefinition)->get_ActualHeight(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRowDefinitionStatics::HeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRowDefinitionStatics::HeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRowDefinitionStatics)->get_HeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRowDefinitionStatics::MaxHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRowDefinitionStatics::MaxHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRowDefinitionStatics)->get_MaxHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRowDefinitionStatics::MinHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IRowDefinitionStatics::MinHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRowDefinitionStatics)->get_MinHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IScrollAnchorProvider::CurrentAnchor() const + template auto consume_Windows_UI_Xaml_Controls_IScrollAnchorProvider::CurrentAnchor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollAnchorProvider)->get_CurrentAnchor(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollAnchorProvider::RegisterAnchorCandidate(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollAnchorProvider::RegisterAnchorCandidate(winrt::Windows::UI::Xaml::UIElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollAnchorProvider)->RegisterAnchorCandidate(*(void**)(&element))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollAnchorProvider::UnregisterAnchorCandidate(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollAnchorProvider::UnregisterAnchorCandidate(winrt::Windows::UI::Xaml::UIElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollAnchorProvider)->UnregisterAnchorCandidate(*(void**)(&element))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::CanVerticallyScroll() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::CanVerticallyScroll() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_CanVerticallyScroll(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::CanVerticallyScroll(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::CanVerticallyScroll(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->put_CanVerticallyScroll(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::CanHorizontallyScroll() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::CanHorizontallyScroll() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_CanHorizontallyScroll(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::CanHorizontallyScroll(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::CanHorizontallyScroll(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->put_CanHorizontallyScroll(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::ExtentWidth() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::ExtentWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_ExtentWidth(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::ExtentHeight() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::ExtentHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_ExtentHeight(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::ViewportWidth() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::ViewportWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_ViewportWidth(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::ViewportHeight() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::ViewportHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_ViewportHeight(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::HorizontalOffset() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::HorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_HorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::VerticalOffset() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::VerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_VerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::ScrollOwner() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::ScrollOwner() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_ScrollOwner(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->put_ScrollOwner(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::LineUp() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::LineUp() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->LineUp()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::LineDown() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::LineDown() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->LineDown()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::LineLeft() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::LineLeft() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->LineLeft()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::LineRight() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::LineRight() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->LineRight()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::PageUp() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::PageUp() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->PageUp()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::PageDown() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::PageDown() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->PageDown()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::PageLeft() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::PageLeft() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->PageLeft()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::PageRight() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::PageRight() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->PageRight()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::MouseWheelUp() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::MouseWheelUp() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->MouseWheelUp()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::MouseWheelDown() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::MouseWheelDown() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->MouseWheelDown()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::MouseWheelLeft() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::MouseWheelLeft() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->MouseWheelLeft()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::MouseWheelRight() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::MouseWheelRight() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->MouseWheelRight()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::SetHorizontalOffset(double offset) const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::SetHorizontalOffset(double offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->SetHorizontalOffset(offset)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::SetVerticalOffset(double offset) const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::SetVerticalOffset(double offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->SetVerticalOffset(offset)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::MakeVisible(winrt::Windows::UI::Xaml::UIElement const& visual, winrt::Windows::Foundation::Rect const& rectangle) const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter::MakeVisible(winrt::Windows::UI::Xaml::UIElement const& visual, winrt::Windows::Foundation::Rect const& rectangle) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->MakeVisible(*(void**)(&visual), impl::bind_in(rectangle), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2::CanContentRenderOutsideBounds() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2::CanContentRenderOutsideBounds() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter2)->get_CanContentRenderOutsideBounds(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2::CanContentRenderOutsideBounds(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2::CanContentRenderOutsideBounds(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter2)->put_CanContentRenderOutsideBounds(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2::SizesContentToTemplatedParent() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2::SizesContentToTemplatedParent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter2)->get_SizesContentToTemplatedParent(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2::SizesContentToTemplatedParent(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2::SizesContentToTemplatedParent(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter2)->put_SizesContentToTemplatedParent(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollContentPresenterStatics2::CanContentRenderOutsideBoundsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenterStatics2::CanContentRenderOutsideBoundsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenterStatics2)->get_CanContentRenderOutsideBoundsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollContentPresenterStatics2::SizesContentToTemplatedParentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenterStatics2::SizesContentToTemplatedParentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenterStatics2)->get_SizesContentToTemplatedParentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility) consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalScrollBarVisibility() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalScrollBarVisibility() const { winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_HorizontalScrollBarVisibility(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalScrollBarVisibility(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalScrollBarVisibility(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_HorizontalScrollBarVisibility(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility) consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalScrollBarVisibility() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalScrollBarVisibility() const { winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_VerticalScrollBarVisibility(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalScrollBarVisibility(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalScrollBarVisibility(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_VerticalScrollBarVisibility(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer::IsHorizontalRailEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::IsHorizontalRailEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_IsHorizontalRailEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::IsHorizontalRailEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::IsHorizontalRailEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_IsHorizontalRailEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer::IsVerticalRailEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::IsVerticalRailEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_IsVerticalRailEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::IsVerticalRailEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::IsVerticalRailEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_IsVerticalRailEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer::IsHorizontalScrollChainingEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::IsHorizontalScrollChainingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_IsHorizontalScrollChainingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::IsHorizontalScrollChainingEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::IsHorizontalScrollChainingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_IsHorizontalScrollChainingEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer::IsVerticalScrollChainingEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::IsVerticalScrollChainingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_IsVerticalScrollChainingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::IsVerticalScrollChainingEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::IsVerticalScrollChainingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_IsVerticalScrollChainingEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer::IsZoomChainingEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::IsZoomChainingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_IsZoomChainingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::IsZoomChainingEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::IsZoomChainingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_IsZoomChainingEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer::IsScrollInertiaEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::IsScrollInertiaEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_IsScrollInertiaEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::IsScrollInertiaEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::IsScrollInertiaEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_IsScrollInertiaEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer::IsZoomInertiaEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::IsZoomInertiaEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_IsZoomInertiaEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::IsZoomInertiaEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::IsZoomInertiaEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_IsZoomInertiaEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollMode) consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalScrollMode() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalScrollMode() const { winrt::Windows::UI::Xaml::Controls::ScrollMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_HorizontalScrollMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalScrollMode(winrt::Windows::UI::Xaml::Controls::ScrollMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalScrollMode(winrt::Windows::UI::Xaml::Controls::ScrollMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_HorizontalScrollMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollMode) consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalScrollMode() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalScrollMode() const { winrt::Windows::UI::Xaml::Controls::ScrollMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_VerticalScrollMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalScrollMode(winrt::Windows::UI::Xaml::Controls::ScrollMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalScrollMode(winrt::Windows::UI::Xaml::Controls::ScrollMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_VerticalScrollMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ZoomMode) consume_Windows_UI_Xaml_Controls_IScrollViewer::ZoomMode() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ZoomMode() const { winrt::Windows::UI::Xaml::Controls::ZoomMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ZoomMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::ZoomMode(winrt::Windows::UI::Xaml::Controls::ZoomMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ZoomMode(winrt::Windows::UI::Xaml::Controls::ZoomMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_ZoomMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment) consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalSnapPointsAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalSnapPointsAlignment() const { winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_HorizontalSnapPointsAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalSnapPointsAlignment(winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalSnapPointsAlignment(winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_HorizontalSnapPointsAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment) consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalSnapPointsAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalSnapPointsAlignment() const { winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_VerticalSnapPointsAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalSnapPointsAlignment(winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalSnapPointsAlignment(winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_VerticalSnapPointsAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SnapPointsType) consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalSnapPointsType() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalSnapPointsType() const { winrt::Windows::UI::Xaml::Controls::SnapPointsType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_HorizontalSnapPointsType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalSnapPointsType(winrt::Windows::UI::Xaml::Controls::SnapPointsType const& value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalSnapPointsType(winrt::Windows::UI::Xaml::Controls::SnapPointsType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_HorizontalSnapPointsType(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SnapPointsType) consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalSnapPointsType() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalSnapPointsType() const { winrt::Windows::UI::Xaml::Controls::SnapPointsType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_VerticalSnapPointsType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalSnapPointsType(winrt::Windows::UI::Xaml::Controls::SnapPointsType const& value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalSnapPointsType(winrt::Windows::UI::Xaml::Controls::SnapPointsType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_VerticalSnapPointsType(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SnapPointsType) consume_Windows_UI_Xaml_Controls_IScrollViewer::ZoomSnapPointsType() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ZoomSnapPointsType() const { winrt::Windows::UI::Xaml::Controls::SnapPointsType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ZoomSnapPointsType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::ZoomSnapPointsType(winrt::Windows::UI::Xaml::Controls::SnapPointsType const& value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ZoomSnapPointsType(winrt::Windows::UI::Xaml::Controls::SnapPointsType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_ZoomSnapPointsType(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalOffset() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::HorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_HorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer::ViewportWidth() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ViewportWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ViewportWidth(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer::ScrollableWidth() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ScrollableWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ScrollableWidth(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_IScrollViewer::ComputedHorizontalScrollBarVisibility() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ComputedHorizontalScrollBarVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ComputedHorizontalScrollBarVisibility(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer::ExtentWidth() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ExtentWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ExtentWidth(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalOffset() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::VerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_VerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer::ViewportHeight() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ViewportHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ViewportHeight(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer::ScrollableHeight() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ScrollableHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ScrollableHeight(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_IScrollViewer::ComputedVerticalScrollBarVisibility() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ComputedVerticalScrollBarVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ComputedVerticalScrollBarVisibility(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer::ExtentHeight() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ExtentHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ExtentHeight(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_Controls_IScrollViewer::MinZoomFactor() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::MinZoomFactor() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_MinZoomFactor(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::MinZoomFactor(float value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::MinZoomFactor(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_MinZoomFactor(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_Controls_IScrollViewer::MaxZoomFactor() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::MaxZoomFactor() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_MaxZoomFactor(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::MaxZoomFactor(float value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::MaxZoomFactor(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_MaxZoomFactor(value)); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_Controls_IScrollViewer::ZoomFactor() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ZoomFactor() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ZoomFactor(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IScrollViewer::ZoomSnapPoints() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ZoomSnapPoints() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ZoomSnapPoints(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IScrollViewer::ViewChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ViewChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->add_ViewChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IScrollViewer::ViewChanged_revoker consume_Windows_UI_Xaml_Controls_IScrollViewer::ViewChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ViewChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, ViewChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::ViewChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ViewChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->remove_ViewChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::ScrollToHorizontalOffset(double offset) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ScrollToHorizontalOffset(double offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->ScrollToHorizontalOffset(offset)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::ScrollToVerticalOffset(double offset) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ScrollToVerticalOffset(double offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->ScrollToVerticalOffset(offset)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::ZoomToFactor(float factor) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::ZoomToFactor(float factor) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->ZoomToFactor(factor)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::InvalidateScrollInfo() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::InvalidateScrollInfo() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->InvalidateScrollInfo()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer::IsDeferredScrollingEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::IsDeferredScrollingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_IsDeferredScrollingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::IsDeferredScrollingEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::IsDeferredScrollingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_IsDeferredScrollingEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer::BringIntoViewOnFocusChange() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::BringIntoViewOnFocusChange() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_BringIntoViewOnFocusChange(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer::BringIntoViewOnFocusChange(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer::BringIntoViewOnFocusChange(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_BringIntoViewOnFocusChange(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IScrollViewer2::TopLeftHeader() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer2::TopLeftHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer2)->get_TopLeftHeader(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer2::TopLeftHeader(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer2::TopLeftHeader(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer2)->put_TopLeftHeader(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IScrollViewer2::LeftHeader() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer2::LeftHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer2)->get_LeftHeader(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer2::LeftHeader(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer2::LeftHeader(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer2)->put_LeftHeader(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IScrollViewer2::TopHeader() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer2::TopHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer2)->get_TopHeader(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer2::TopHeader(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer2::TopHeader(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer2)->put_TopHeader(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IScrollViewer2::ViewChanging(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer2::ViewChanging(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer2)->add_ViewChanging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IScrollViewer2::ViewChanging_revoker consume_Windows_UI_Xaml_Controls_IScrollViewer2::ViewChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer2::ViewChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, ViewChanging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer2::ViewChanging(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer2::ViewChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer2)->remove_ViewChanging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer2::ChangeView(winrt::Windows::Foundation::IReference const& horizontalOffset, winrt::Windows::Foundation::IReference const& verticalOffset, winrt::Windows::Foundation::IReference const& zoomFactor) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer2::ChangeView(winrt::Windows::Foundation::IReference const& horizontalOffset, winrt::Windows::Foundation::IReference const& verticalOffset, winrt::Windows::Foundation::IReference const& zoomFactor) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer2)->ChangeView(*(void**)(&horizontalOffset), *(void**)(&verticalOffset), *(void**)(&zoomFactor), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer2::ChangeView(winrt::Windows::Foundation::IReference const& horizontalOffset, winrt::Windows::Foundation::IReference const& verticalOffset, winrt::Windows::Foundation::IReference const& zoomFactor, bool disableAnimation) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer2::ChangeView(winrt::Windows::Foundation::IReference const& horizontalOffset, winrt::Windows::Foundation::IReference const& verticalOffset, winrt::Windows::Foundation::IReference const& zoomFactor, bool disableAnimation) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer2)->ChangeViewWithOptionalAnimation(*(void**)(&horizontalOffset), *(void**)(&verticalOffset), *(void**)(&zoomFactor), disableAnimation, &result)); return result; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IScrollViewer3::DirectManipulationStarted(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer3::DirectManipulationStarted(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer3)->add_DirectManipulationStarted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IScrollViewer3::DirectManipulationStarted_revoker consume_Windows_UI_Xaml_Controls_IScrollViewer3::DirectManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer3::DirectManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, DirectManipulationStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer3::DirectManipulationStarted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer3::DirectManipulationStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer3)->remove_DirectManipulationStarted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IScrollViewer3::DirectManipulationCompleted(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer3::DirectManipulationCompleted(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer3)->add_DirectManipulationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IScrollViewer3::DirectManipulationCompleted_revoker consume_Windows_UI_Xaml_Controls_IScrollViewer3::DirectManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer3::DirectManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, DirectManipulationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer3::DirectManipulationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer3::DirectManipulationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer3)->remove_DirectManipulationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer4::ReduceViewportForCoreInputViewOcclusions() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer4::ReduceViewportForCoreInputViewOcclusions() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->get_ReduceViewportForCoreInputViewOcclusions(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer4::ReduceViewportForCoreInputViewOcclusions(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer4::ReduceViewportForCoreInputViewOcclusions(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->put_ReduceViewportForCoreInputViewOcclusions(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer4::HorizontalAnchorRatio() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer4::HorizontalAnchorRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->get_HorizontalAnchorRatio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer4::HorizontalAnchorRatio(double value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer4::HorizontalAnchorRatio(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->put_HorizontalAnchorRatio(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer4::VerticalAnchorRatio() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer4::VerticalAnchorRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->get_VerticalAnchorRatio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer4::VerticalAnchorRatio(double value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer4::VerticalAnchorRatio(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->put_VerticalAnchorRatio(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer4::CanContentRenderOutsideBounds() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer4::CanContentRenderOutsideBounds() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->get_CanContentRenderOutsideBounds(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer4::CanContentRenderOutsideBounds(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer4::CanContentRenderOutsideBounds(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->put_CanContentRenderOutsideBounds(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IScrollViewer4::AnchorRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer4::AnchorRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->add_AnchorRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IScrollViewer4::AnchorRequested_revoker consume_Windows_UI_Xaml_Controls_IScrollViewer4::AnchorRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer4::AnchorRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AnchorRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer4::AnchorRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IScrollViewer4::AnchorRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->remove_AnchorRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::HorizontalSnapPointsAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::HorizontalSnapPointsAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_HorizontalSnapPointsAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::VerticalSnapPointsAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::VerticalSnapPointsAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_VerticalSnapPointsAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::HorizontalSnapPointsTypeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::HorizontalSnapPointsTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_HorizontalSnapPointsTypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::VerticalSnapPointsTypeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::VerticalSnapPointsTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_VerticalSnapPointsTypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ZoomSnapPointsTypeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ZoomSnapPointsTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_ZoomSnapPointsTypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::HorizontalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::HorizontalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_HorizontalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ViewportWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ViewportWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_ViewportWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ScrollableWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ScrollableWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_ScrollableWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ComputedHorizontalScrollBarVisibilityProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ComputedHorizontalScrollBarVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_ComputedHorizontalScrollBarVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ExtentWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ExtentWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_ExtentWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::VerticalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::VerticalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_VerticalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ViewportHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ViewportHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_ViewportHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ScrollableHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ScrollableHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_ScrollableHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ComputedVerticalScrollBarVisibilityProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ComputedVerticalScrollBarVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_ComputedVerticalScrollBarVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ExtentHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ExtentHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_ExtentHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::MinZoomFactorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::MinZoomFactorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_MinZoomFactorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::MaxZoomFactorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::MaxZoomFactorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_MaxZoomFactorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ZoomFactorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ZoomFactorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_ZoomFactorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ZoomSnapPointsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ZoomSnapPointsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_ZoomSnapPointsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::HorizontalScrollBarVisibilityProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::HorizontalScrollBarVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_HorizontalScrollBarVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetHorizontalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetHorizontalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->GetHorizontalScrollBarVisibility(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetHorizontalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& horizontalScrollBarVisibility) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetHorizontalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& horizontalScrollBarVisibility) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->SetHorizontalScrollBarVisibility(*(void**)(&element), static_cast(horizontalScrollBarVisibility))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::VerticalScrollBarVisibilityProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::VerticalScrollBarVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_VerticalScrollBarVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetVerticalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetVerticalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->GetVerticalScrollBarVisibility(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetVerticalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& verticalScrollBarVisibility) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetVerticalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& verticalScrollBarVisibility) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->SetVerticalScrollBarVisibility(*(void**)(&element), static_cast(verticalScrollBarVisibility))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::IsHorizontalRailEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::IsHorizontalRailEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_IsHorizontalRailEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetIsHorizontalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetIsHorizontalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->GetIsHorizontalRailEnabled(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetIsHorizontalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isHorizontalRailEnabled) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetIsHorizontalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isHorizontalRailEnabled) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->SetIsHorizontalRailEnabled(*(void**)(&element), isHorizontalRailEnabled)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::IsVerticalRailEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::IsVerticalRailEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_IsVerticalRailEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetIsVerticalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetIsVerticalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->GetIsVerticalRailEnabled(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetIsVerticalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isVerticalRailEnabled) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetIsVerticalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isVerticalRailEnabled) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->SetIsVerticalRailEnabled(*(void**)(&element), isVerticalRailEnabled)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::IsHorizontalScrollChainingEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::IsHorizontalScrollChainingEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_IsHorizontalScrollChainingEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetIsHorizontalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetIsHorizontalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->GetIsHorizontalScrollChainingEnabled(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetIsHorizontalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isHorizontalScrollChainingEnabled) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetIsHorizontalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isHorizontalScrollChainingEnabled) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->SetIsHorizontalScrollChainingEnabled(*(void**)(&element), isHorizontalScrollChainingEnabled)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::IsVerticalScrollChainingEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::IsVerticalScrollChainingEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_IsVerticalScrollChainingEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetIsVerticalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetIsVerticalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->GetIsVerticalScrollChainingEnabled(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetIsVerticalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isVerticalScrollChainingEnabled) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetIsVerticalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isVerticalScrollChainingEnabled) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->SetIsVerticalScrollChainingEnabled(*(void**)(&element), isVerticalScrollChainingEnabled)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::IsZoomChainingEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::IsZoomChainingEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_IsZoomChainingEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetIsZoomChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetIsZoomChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->GetIsZoomChainingEnabled(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetIsZoomChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isZoomChainingEnabled) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetIsZoomChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isZoomChainingEnabled) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->SetIsZoomChainingEnabled(*(void**)(&element), isZoomChainingEnabled)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::IsScrollInertiaEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::IsScrollInertiaEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_IsScrollInertiaEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetIsScrollInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetIsScrollInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->GetIsScrollInertiaEnabled(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetIsScrollInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isScrollInertiaEnabled) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetIsScrollInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isScrollInertiaEnabled) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->SetIsScrollInertiaEnabled(*(void**)(&element), isScrollInertiaEnabled)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::IsZoomInertiaEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::IsZoomInertiaEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_IsZoomInertiaEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetIsZoomInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetIsZoomInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->GetIsZoomInertiaEnabled(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetIsZoomInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isZoomInertiaEnabled) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetIsZoomInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isZoomInertiaEnabled) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->SetIsZoomInertiaEnabled(*(void**)(&element), isZoomInertiaEnabled)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::HorizontalScrollModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::HorizontalScrollModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_HorizontalScrollModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollMode) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetHorizontalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetHorizontalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::Controls::ScrollMode result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->GetHorizontalScrollMode(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetHorizontalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollMode const& horizontalScrollMode) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetHorizontalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollMode const& horizontalScrollMode) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->SetHorizontalScrollMode(*(void**)(&element), static_cast(horizontalScrollMode))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::VerticalScrollModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::VerticalScrollModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_VerticalScrollModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollMode) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetVerticalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetVerticalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::Controls::ScrollMode result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->GetVerticalScrollMode(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetVerticalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollMode const& verticalScrollMode) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetVerticalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollMode const& verticalScrollMode) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->SetVerticalScrollMode(*(void**)(&element), static_cast(verticalScrollMode))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ZoomModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::ZoomModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_ZoomModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ZoomMode) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetZoomMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetZoomMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::Controls::ZoomMode result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->GetZoomMode(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetZoomMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ZoomMode const& zoomMode) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetZoomMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ZoomMode const& zoomMode) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->SetZoomMode(*(void**)(&element), static_cast(zoomMode))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::IsDeferredScrollingEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::IsDeferredScrollingEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_IsDeferredScrollingEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetIsDeferredScrollingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetIsDeferredScrollingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->GetIsDeferredScrollingEnabled(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetIsDeferredScrollingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isDeferredScrollingEnabled) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetIsDeferredScrollingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isDeferredScrollingEnabled) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->SetIsDeferredScrollingEnabled(*(void**)(&element), isDeferredScrollingEnabled)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::BringIntoViewOnFocusChangeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::BringIntoViewOnFocusChangeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->get_BringIntoViewOnFocusChangeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetBringIntoViewOnFocusChange(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::GetBringIntoViewOnFocusChange(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->GetBringIntoViewOnFocusChange(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetBringIntoViewOnFocusChange(winrt::Windows::UI::Xaml::DependencyObject const& element, bool bringIntoViewOnFocusChange) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics::SetBringIntoViewOnFocusChange(winrt::Windows::UI::Xaml::DependencyObject const& element, bool bringIntoViewOnFocusChange) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics)->SetBringIntoViewOnFocusChange(*(void**)(&element), bringIntoViewOnFocusChange)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics2::TopLeftHeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics2::TopLeftHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics2)->get_TopLeftHeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics2::LeftHeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics2::LeftHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics2)->get_LeftHeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics2::TopHeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics2::TopHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics2)->get_TopHeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4::ReduceViewportForCoreInputViewOcclusionsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4::ReduceViewportForCoreInputViewOcclusionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics4)->get_ReduceViewportForCoreInputViewOcclusionsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4::HorizontalAnchorRatioProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4::HorizontalAnchorRatioProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics4)->get_HorizontalAnchorRatioProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4::VerticalAnchorRatioProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4::VerticalAnchorRatioProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics4)->get_VerticalAnchorRatioProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4::CanContentRenderOutsideBoundsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4::CanContentRenderOutsideBoundsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics4)->get_CanContentRenderOutsideBoundsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4::GetCanContentRenderOutsideBounds(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4::GetCanContentRenderOutsideBounds(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics4)->GetCanContentRenderOutsideBounds(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4::SetCanContentRenderOutsideBounds(winrt::Windows::UI::Xaml::DependencyObject const& element, bool canContentRenderOutsideBounds) const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4::SetCanContentRenderOutsideBounds(winrt::Windows::UI::Xaml::DependencyObject const& element, bool canContentRenderOutsideBounds) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics4)->SetCanContentRenderOutsideBounds(*(void**)(&element), canContentRenderOutsideBounds)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewerView::HorizontalOffset() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerView::HorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerView)->get_HorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewerView::VerticalOffset() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerView::VerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerView)->get_VerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_Controls_IScrollViewerView::ZoomFactor() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerView::ZoomFactor() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerView)->get_ZoomFactor(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangedEventArgs::IsIntermediate() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangedEventArgs::IsIntermediate() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerViewChangedEventArgs)->get_IsIntermediate(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollViewerView) consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangingEventArgs::NextView() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangingEventArgs::NextView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerViewChangingEventArgs)->get_NextView(&value)); return winrt::Windows::UI::Xaml::Controls::ScrollViewerView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollViewerView) consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangingEventArgs::FinalView() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangingEventArgs::FinalView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerViewChangingEventArgs)->get_FinalView(&value)); return winrt::Windows::UI::Xaml::Controls::ScrollViewerView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangingEventArgs::IsInertial() const + template auto consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangingEventArgs::IsInertial() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerViewChangingEventArgs)->get_IsInertial(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISearchBox::SearchHistoryEnabled() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::SearchHistoryEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->get_SearchHistoryEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox::SearchHistoryEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::SearchHistoryEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->put_SearchHistoryEnabled(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBox::SearchHistoryContext() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::SearchHistoryContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->get_SearchHistoryContext(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox::SearchHistoryContext(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::SearchHistoryContext(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->put_SearchHistoryContext(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBox::PlaceholderText() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::PlaceholderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->get_PlaceholderText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox::PlaceholderText(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::PlaceholderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->put_PlaceholderText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBox::QueryText() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::QueryText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->get_QueryText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox::QueryText(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::QueryText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->put_QueryText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISearchBox::FocusOnKeyboardInput() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::FocusOnKeyboardInput() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->get_FocusOnKeyboardInput(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox::FocusOnKeyboardInput(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::FocusOnKeyboardInput(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->put_FocusOnKeyboardInput(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISearchBox::ChooseSuggestionOnEnter() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::ChooseSuggestionOnEnter() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->get_ChooseSuggestionOnEnter(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox::ChooseSuggestionOnEnter(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::ChooseSuggestionOnEnter(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->put_ChooseSuggestionOnEnter(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISearchBox::QueryChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::QueryChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->add_QueryChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ISearchBox::QueryChanged_revoker consume_Windows_UI_Xaml_Controls_ISearchBox::QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, QueryChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox::QueryChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::QueryChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->remove_QueryChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISearchBox::SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->add_SuggestionsRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ISearchBox::SuggestionsRequested_revoker consume_Windows_UI_Xaml_Controls_ISearchBox::SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SuggestionsRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox::SuggestionsRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::SuggestionsRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->remove_SuggestionsRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISearchBox::QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->add_QuerySubmitted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ISearchBox::QuerySubmitted_revoker consume_Windows_UI_Xaml_Controls_ISearchBox::QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, QuerySubmitted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox::QuerySubmitted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::QuerySubmitted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->remove_QuerySubmitted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISearchBox::ResultSuggestionChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::ResultSuggestionChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->add_ResultSuggestionChosen(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ISearchBox::ResultSuggestionChosen_revoker consume_Windows_UI_Xaml_Controls_ISearchBox::ResultSuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::ResultSuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ResultSuggestionChosen(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox::ResultSuggestionChosen(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::ResultSuggestionChosen(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->remove_ResultSuggestionChosen(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISearchBox::PrepareForFocusOnKeyboardInput(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::PrepareForFocusOnKeyboardInput(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->add_PrepareForFocusOnKeyboardInput(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ISearchBox::PrepareForFocusOnKeyboardInput_revoker consume_Windows_UI_Xaml_Controls_ISearchBox::PrepareForFocusOnKeyboardInput(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::PrepareForFocusOnKeyboardInput(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PrepareForFocusOnKeyboardInput(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox::PrepareForFocusOnKeyboardInput(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::PrepareForFocusOnKeyboardInput(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->remove_PrepareForFocusOnKeyboardInput(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox::SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBox::SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->SetLocalContentSuggestionSettings(*(void**)(&settings))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SearchBox) consume_Windows_UI_Xaml_Controls_ISearchBoxFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::SearchBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBoxQueryChangedEventArgs::QueryText() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxQueryChangedEventArgs::QueryText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxQueryChangedEventArgs)->get_QueryText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBoxQueryChangedEventArgs::Language() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxQueryChangedEventArgs::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxQueryChangedEventArgs)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails) consume_Windows_UI_Xaml_Controls_ISearchBoxQueryChangedEventArgs::LinguisticDetails() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxQueryChangedEventArgs::LinguisticDetails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxQueryChangedEventArgs)->get_LinguisticDetails(&value)); return winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs::QueryText() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs::QueryText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxQuerySubmittedEventArgs)->get_QueryText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs::Language() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxQuerySubmittedEventArgs)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails) consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs::LinguisticDetails() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs::LinguisticDetails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxQuerySubmittedEventArgs)->get_LinguisticDetails(&value)); return winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs::KeyModifiers() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs::KeyModifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxQuerySubmittedEventArgs)->get_KeyModifiers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBoxResultSuggestionChosenEventArgs::Tag() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxResultSuggestionChosenEventArgs::Tag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxResultSuggestionChosenEventArgs)->get_Tag(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_UI_Xaml_Controls_ISearchBoxResultSuggestionChosenEventArgs::KeyModifiers() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxResultSuggestionChosenEventArgs::KeyModifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxResultSuggestionChosenEventArgs)->get_KeyModifiers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISearchBoxStatics::SearchHistoryEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxStatics::SearchHistoryEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxStatics)->get_SearchHistoryEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISearchBoxStatics::SearchHistoryContextProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxStatics::SearchHistoryContextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxStatics)->get_SearchHistoryContextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISearchBoxStatics::PlaceholderTextProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxStatics::PlaceholderTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxStatics)->get_PlaceholderTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISearchBoxStatics::QueryTextProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxStatics::QueryTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxStatics)->get_QueryTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISearchBoxStatics::FocusOnKeyboardInputProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxStatics::FocusOnKeyboardInputProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxStatics)->get_FocusOnKeyboardInputProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISearchBoxStatics::ChooseSuggestionOnEnterProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxStatics::ChooseSuggestionOnEnterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxStatics)->get_ChooseSuggestionOnEnterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs::QueryText() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs::QueryText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxSuggestionsRequestedEventArgs)->get_QueryText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs::Language() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxSuggestionsRequestedEventArgs)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails) consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs::LinguisticDetails() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs::LinguisticDetails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxSuggestionsRequestedEventArgs)->get_LinguisticDetails(&value)); return winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchSuggestionsRequest) consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs::Request() const + template auto consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxSuggestionsRequestedEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::Search::SearchSuggestionsRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_ISectionsInViewChangedEventArgs::AddedSections() const + template auto consume_Windows_UI_Xaml_Controls_ISectionsInViewChangedEventArgs::AddedSections() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISectionsInViewChangedEventArgs)->get_AddedSections(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_ISectionsInViewChangedEventArgs::RemovedSections() const + template auto consume_Windows_UI_Xaml_Controls_ISectionsInViewChangedEventArgs::RemovedSections() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISectionsInViewChangedEventArgs)->get_RemovedSections(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_ISelectionChangedEventArgs::AddedItems() const + template auto consume_Windows_UI_Xaml_Controls_ISelectionChangedEventArgs::AddedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISelectionChangedEventArgs)->get_AddedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_ISelectionChangedEventArgs::RemovedItems() const + template auto consume_Windows_UI_Xaml_Controls_ISelectionChangedEventArgs::RemovedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISelectionChangedEventArgs)->get_RemovedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventArgs) consume_Windows_UI_Xaml_Controls_ISelectionChangedEventArgsFactory::CreateInstanceWithRemovedItemsAndAddedItems(param::vector const& removedItems, param::vector const& addedItems, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ISelectionChangedEventArgsFactory::CreateInstanceWithRemovedItemsAndAddedItems(param::vector const& removedItems, param::vector const& addedItems, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISelectionChangedEventArgsFactory)->CreateInstanceWithRemovedItemsAndAddedItems(*(void**)(&removedItems), *(void**)(&addedItems), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::SelectionChangedEventArgs{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation) consume_Windows_UI_Xaml_Controls_ISemanticZoom::ZoomedInView() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::ZoomedInView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->get_ZoomedInView(&value)); return winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoom::ZoomedInView(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::ZoomedInView(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->put_ZoomedInView(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation) consume_Windows_UI_Xaml_Controls_ISemanticZoom::ZoomedOutView() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::ZoomedOutView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->get_ZoomedOutView(&value)); return winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoom::ZoomedOutView(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::ZoomedOutView(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->put_ZoomedOutView(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISemanticZoom::IsZoomedInViewActive() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::IsZoomedInViewActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->get_IsZoomedInViewActive(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoom::IsZoomedInViewActive(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::IsZoomedInViewActive(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->put_IsZoomedInViewActive(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISemanticZoom::CanChangeViews() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::CanChangeViews() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->get_CanChangeViews(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoom::CanChangeViews(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::CanChangeViews(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->put_CanChangeViews(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISemanticZoom::ViewChangeStarted(winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::ViewChangeStarted(winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->add_ViewChangeStarted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ISemanticZoom::ViewChangeStarted_revoker consume_Windows_UI_Xaml_Controls_ISemanticZoom::ViewChangeStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::ViewChangeStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const { return impl::make_event_revoker(this, ViewChangeStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoom::ViewChangeStarted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::ViewChangeStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->remove_ViewChangeStarted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISemanticZoom::ViewChangeCompleted(winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::ViewChangeCompleted(winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->add_ViewChangeCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ISemanticZoom::ViewChangeCompleted_revoker consume_Windows_UI_Xaml_Controls_ISemanticZoom::ViewChangeCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::ViewChangeCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const { return impl::make_event_revoker(this, ViewChangeCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoom::ViewChangeCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::ViewChangeCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->remove_ViewChangeCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoom::ToggleActiveView() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::ToggleActiveView() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->ToggleActiveView()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISemanticZoom::IsZoomOutButtonEnabled() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::IsZoomOutButtonEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->get_IsZoomOutButtonEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoom::IsZoomOutButtonEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoom::IsZoomOutButtonEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->put_IsZoomOutButtonEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SemanticZoom) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::SemanticZoomOwner() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::SemanticZoomOwner() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->get_SemanticZoomOwner(&value)); return winrt::Windows::UI::Xaml::Controls::SemanticZoom{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::SemanticZoomOwner(winrt::Windows::UI::Xaml::Controls::SemanticZoom const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::SemanticZoomOwner(winrt::Windows::UI::Xaml::Controls::SemanticZoom const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->put_SemanticZoomOwner(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::IsActiveView() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::IsActiveView() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->get_IsActiveView(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::IsActiveView(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::IsActiveView(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->put_IsActiveView(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::IsZoomedInView() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::IsZoomedInView() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->get_IsZoomedInView(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::IsZoomedInView(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::IsZoomedInView(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->put_IsZoomedInView(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::InitializeViewChange() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::InitializeViewChange() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->InitializeViewChange()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::CompleteViewChange() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::CompleteViewChange() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->CompleteViewChange()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::MakeVisible(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& item) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::MakeVisible(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& item) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->MakeVisible(*(void**)(&item))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::StartViewChangeFrom(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::StartViewChangeFrom(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->StartViewChangeFrom(*(void**)(&source), *(void**)(&destination))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::StartViewChangeTo(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::StartViewChangeTo(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->StartViewChangeTo(*(void**)(&source), *(void**)(&destination))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::CompleteViewChangeFrom(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::CompleteViewChangeFrom(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->CompleteViewChangeFrom(*(void**)(&source), *(void**)(&destination))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::CompleteViewChangeTo(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation::CompleteViewChangeTo(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->CompleteViewChangeTo(*(void**)(&source), *(void**)(&destination))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation::Item() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomLocation)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation::Item(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation::Item(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomLocation)->put_Item(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation::Bounds() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation::Bounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomLocation)->get_Bounds(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation::Bounds(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation::Bounds(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomLocation)->put_Bounds(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics::ZoomedInViewProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics::ZoomedInViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomStatics)->get_ZoomedInViewProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics::ZoomedOutViewProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics::ZoomedOutViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomStatics)->get_ZoomedOutViewProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics::IsZoomedInViewActiveProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics::IsZoomedInViewActiveProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomStatics)->get_IsZoomedInViewActiveProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics::CanChangeViewsProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics::CanChangeViewsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomStatics)->get_CanChangeViewsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics::IsZoomOutButtonEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics::IsZoomOutButtonEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomStatics)->get_IsZoomOutButtonEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::IsSourceZoomedInView() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::IsSourceZoomedInView() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomViewChangedEventArgs)->get_IsSourceZoomedInView(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::IsSourceZoomedInView(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::IsSourceZoomedInView(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomViewChangedEventArgs)->put_IsSourceZoomedInView(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation) consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::SourceItem() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::SourceItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomViewChangedEventArgs)->get_SourceItem(&value)); return winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::SourceItem(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::SourceItem(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomViewChangedEventArgs)->put_SourceItem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation) consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::DestinationItem() const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::DestinationItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomViewChangedEventArgs)->get_DestinationItem(&value)); return winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::DestinationItem(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::DestinationItem(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomViewChangedEventArgs)->put_DestinationItem(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISettingsFlyout::Title() const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISettingsFlyout::Title(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ISettingsFlyout::HeaderBackground() const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout::HeaderBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->get_HeaderBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISettingsFlyout::HeaderBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout::HeaderBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->put_HeaderBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ISettingsFlyout::HeaderForeground() const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout::HeaderForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->get_HeaderForeground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISettingsFlyout::HeaderForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout::HeaderForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->put_HeaderForeground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_ISettingsFlyout::IconSource() const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout::IconSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->get_IconSource(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISettingsFlyout::IconSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout::IconSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->put_IconSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SettingsFlyoutTemplateSettings) consume_Windows_UI_Xaml_Controls_ISettingsFlyout::TemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->get_TemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::SettingsFlyoutTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISettingsFlyout::BackClick(winrt::Windows::UI::Xaml::Controls::BackClickEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout::BackClick(winrt::Windows::UI::Xaml::Controls::BackClickEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->add_BackClick(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ISettingsFlyout::BackClick_revoker consume_Windows_UI_Xaml_Controls_ISettingsFlyout::BackClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::BackClickEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout::BackClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::BackClickEventHandler const& handler) const { return impl::make_event_revoker(this, BackClick(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISettingsFlyout::BackClick(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout::BackClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->remove_BackClick(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISettingsFlyout::Show() const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout::Show() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->Show()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISettingsFlyout::ShowIndependent() const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout::ShowIndependent() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->ShowIndependent()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISettingsFlyout::Hide() const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout::Hide() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->Hide()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SettingsFlyout) consume_Windows_UI_Xaml_Controls_ISettingsFlyoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::SettingsFlyout{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics::TitleProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics::TitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyoutStatics)->get_TitleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics::HeaderBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics::HeaderBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyoutStatics)->get_HeaderBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics::HeaderForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics::HeaderForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyoutStatics)->get_HeaderForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics::IconSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics::IconSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyoutStatics)->get_IconSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ISlider::IntermediateValue() const + template auto consume_Windows_UI_Xaml_Controls_ISlider::IntermediateValue() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->get_IntermediateValue(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider::IntermediateValue(double value) const + template auto consume_Windows_UI_Xaml_Controls_ISlider::IntermediateValue(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->put_IntermediateValue(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ISlider::StepFrequency() const + template auto consume_Windows_UI_Xaml_Controls_ISlider::StepFrequency() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->get_StepFrequency(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider::StepFrequency(double value) const + template auto consume_Windows_UI_Xaml_Controls_ISlider::StepFrequency(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->put_StepFrequency(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SliderSnapsTo) consume_Windows_UI_Xaml_Controls_ISlider::SnapsTo() const + template auto consume_Windows_UI_Xaml_Controls_ISlider::SnapsTo() const { winrt::Windows::UI::Xaml::Controls::Primitives::SliderSnapsTo value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->get_SnapsTo(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider::SnapsTo(winrt::Windows::UI::Xaml::Controls::Primitives::SliderSnapsTo const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISlider::SnapsTo(winrt::Windows::UI::Xaml::Controls::Primitives::SliderSnapsTo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->put_SnapsTo(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ISlider::TickFrequency() const + template auto consume_Windows_UI_Xaml_Controls_ISlider::TickFrequency() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->get_TickFrequency(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider::TickFrequency(double value) const + template auto consume_Windows_UI_Xaml_Controls_ISlider::TickFrequency(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->put_TickFrequency(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::TickPlacement) consume_Windows_UI_Xaml_Controls_ISlider::TickPlacement() const + template auto consume_Windows_UI_Xaml_Controls_ISlider::TickPlacement() const { winrt::Windows::UI::Xaml::Controls::Primitives::TickPlacement value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->get_TickPlacement(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider::TickPlacement(winrt::Windows::UI::Xaml::Controls::Primitives::TickPlacement const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISlider::TickPlacement(winrt::Windows::UI::Xaml::Controls::Primitives::TickPlacement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->put_TickPlacement(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_ISlider::Orientation() const + template auto consume_Windows_UI_Xaml_Controls_ISlider::Orientation() const { winrt::Windows::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISlider::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->put_Orientation(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISlider::IsDirectionReversed() const + template auto consume_Windows_UI_Xaml_Controls_ISlider::IsDirectionReversed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->get_IsDirectionReversed(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider::IsDirectionReversed(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ISlider::IsDirectionReversed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->put_IsDirectionReversed(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISlider::IsThumbToolTipEnabled() const + template auto consume_Windows_UI_Xaml_Controls_ISlider::IsThumbToolTipEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->get_IsThumbToolTipEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider::IsThumbToolTipEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ISlider::IsThumbToolTipEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->put_IsThumbToolTipEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::IValueConverter) consume_Windows_UI_Xaml_Controls_ISlider::ThumbToolTipValueConverter() const + template auto consume_Windows_UI_Xaml_Controls_ISlider::ThumbToolTipValueConverter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->get_ThumbToolTipValueConverter(&value)); return winrt::Windows::UI::Xaml::Data::IValueConverter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider::ThumbToolTipValueConverter(winrt::Windows::UI::Xaml::Data::IValueConverter const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISlider::ThumbToolTipValueConverter(winrt::Windows::UI::Xaml::Data::IValueConverter const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->put_ThumbToolTipValueConverter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ISlider2::Header() const + template auto consume_Windows_UI_Xaml_Controls_ISlider2::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider2)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider2::Header(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISlider2::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider2)->put_Header(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_ISlider2::HeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_ISlider2::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider2)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider2::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISlider2::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider2)->put_HeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Slider) consume_Windows_UI_Xaml_Controls_ISliderFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ISliderFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISliderFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Slider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics::IntermediateValueProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISliderStatics::IntermediateValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISliderStatics)->get_IntermediateValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics::StepFrequencyProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISliderStatics::StepFrequencyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISliderStatics)->get_StepFrequencyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics::SnapsToProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISliderStatics::SnapsToProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISliderStatics)->get_SnapsToProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics::TickFrequencyProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISliderStatics::TickFrequencyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISliderStatics)->get_TickFrequencyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics::TickPlacementProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISliderStatics::TickPlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISliderStatics)->get_TickPlacementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics::OrientationProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISliderStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISliderStatics)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics::IsDirectionReversedProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISliderStatics::IsDirectionReversedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISliderStatics)->get_IsDirectionReversedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics::IsThumbToolTipEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISliderStatics::IsThumbToolTipEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISliderStatics)->get_IsThumbToolTipEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics::ThumbToolTipValueConverterProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISliderStatics::ThumbToolTipValueConverterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISliderStatics)->get_ThumbToolTipValueConverterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics2::HeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISliderStatics2::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISliderStatics2)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics2::HeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISliderStatics2::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISliderStatics2)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_ISplitButton::Flyout() const + template auto consume_Windows_UI_Xaml_Controls_ISplitButton::Flyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitButton)->get_Flyout(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitButton::Flyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISplitButton::Flyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitButton)->put_Flyout(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) consume_Windows_UI_Xaml_Controls_ISplitButton::Command() const + template auto consume_Windows_UI_Xaml_Controls_ISplitButton::Command() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitButton)->get_Command(&value)); return winrt::Windows::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitButton::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISplitButton::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitButton)->put_Command(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ISplitButton::CommandParameter() const + template auto consume_Windows_UI_Xaml_Controls_ISplitButton::CommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitButton)->get_CommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitButton::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISplitButton::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitButton)->put_CommandParameter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISplitButton::Click(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISplitButton::Click(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitButton)->add_Click(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ISplitButton::Click_revoker consume_Windows_UI_Xaml_Controls_ISplitButton::Click(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISplitButton::Click(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Click(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitButton::Click(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ISplitButton::Click(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitButton)->remove_Click(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SplitButtonAutomationPeer) consume_Windows_UI_Xaml_Controls_ISplitButtonAutomationPeerFactory::CreateInstance(winrt::Windows::UI::Xaml::Controls::SplitButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ISplitButtonAutomationPeerFactory::CreateInstance(winrt::Windows::UI::Xaml::Controls::SplitButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitButtonAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::SplitButtonAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SplitButton) consume_Windows_UI_Xaml_Controls_ISplitButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ISplitButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::SplitButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitButtonStatics::FlyoutProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISplitButtonStatics::FlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitButtonStatics)->get_FlyoutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitButtonStatics::CommandProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISplitButtonStatics::CommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitButtonStatics)->get_CommandProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitButtonStatics::CommandParameterProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISplitButtonStatics::CommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitButtonStatics)->get_CommandParameterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_ISplitView::Content() const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->get_Content(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView::Content(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::Content(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->put_Content(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_ISplitView::Pane() const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::Pane() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->get_Pane(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView::Pane(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::Pane(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->put_Pane(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISplitView::IsPaneOpen() const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::IsPaneOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->get_IsPaneOpen(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView::IsPaneOpen(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::IsPaneOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->put_IsPaneOpen(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ISplitView::OpenPaneLength() const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::OpenPaneLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->get_OpenPaneLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView::OpenPaneLength(double value) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::OpenPaneLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->put_OpenPaneLength(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ISplitView::CompactPaneLength() const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::CompactPaneLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->get_CompactPaneLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView::CompactPaneLength(double value) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::CompactPaneLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->put_CompactPaneLength(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SplitViewPanePlacement) consume_Windows_UI_Xaml_Controls_ISplitView::PanePlacement() const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::PanePlacement() const { winrt::Windows::UI::Xaml::Controls::SplitViewPanePlacement value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->get_PanePlacement(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView::PanePlacement(winrt::Windows::UI::Xaml::Controls::SplitViewPanePlacement const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::PanePlacement(winrt::Windows::UI::Xaml::Controls::SplitViewPanePlacement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->put_PanePlacement(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SplitViewDisplayMode) consume_Windows_UI_Xaml_Controls_ISplitView::DisplayMode() const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::DisplayMode() const { winrt::Windows::UI::Xaml::Controls::SplitViewDisplayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->get_DisplayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView::DisplayMode(winrt::Windows::UI::Xaml::Controls::SplitViewDisplayMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::DisplayMode(winrt::Windows::UI::Xaml::Controls::SplitViewDisplayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->put_DisplayMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SplitViewTemplateSettings) consume_Windows_UI_Xaml_Controls_ISplitView::TemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->get_TemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::SplitViewTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ISplitView::PaneBackground() const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::PaneBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->get_PaneBackground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView::PaneBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::PaneBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->put_PaneBackground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISplitView::PaneClosing(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::PaneClosing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->add_PaneClosing(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ISplitView::PaneClosing_revoker consume_Windows_UI_Xaml_Controls_ISplitView::PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PaneClosing(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView::PaneClosing(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ISplitView::PaneClosing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->remove_PaneClosing(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISplitView::PaneClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::PaneClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->add_PaneClosed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ISplitView::PaneClosed_revoker consume_Windows_UI_Xaml_Controls_ISplitView::PaneClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView::PaneClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PaneClosed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView::PaneClosed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ISplitView::PaneClosed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->remove_PaneClosed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_ISplitView2::LightDismissOverlayMode() const + template auto consume_Windows_UI_Xaml_Controls_ISplitView2::LightDismissOverlayMode() const { winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView2)->get_LightDismissOverlayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView2::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView2::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView2)->put_LightDismissOverlayMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISplitView3::PaneOpening(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView3::PaneOpening(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView3)->add_PaneOpening(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ISplitView3::PaneOpening_revoker consume_Windows_UI_Xaml_Controls_ISplitView3::PaneOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView3::PaneOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PaneOpening(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView3::PaneOpening(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ISplitView3::PaneOpening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView3)->remove_PaneOpening(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISplitView3::PaneOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView3::PaneOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView3)->add_PaneOpened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ISplitView3::PaneOpened_revoker consume_Windows_UI_Xaml_Controls_ISplitView3::PaneOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISplitView3::PaneOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PaneOpened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView3::PaneOpened(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ISplitView3::PaneOpened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView3)->remove_PaneOpened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SplitView) consume_Windows_UI_Xaml_Controls_ISplitViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ISplitViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::SplitView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISplitViewPaneClosingEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_Controls_ISplitViewPaneClosingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitViewPaneClosingEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitViewPaneClosingEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ISplitViewPaneClosingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitViewPaneClosingEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics::ContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitViewStatics)->get_ContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics::PaneProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics::PaneProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitViewStatics)->get_PaneProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics::IsPaneOpenProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics::IsPaneOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitViewStatics)->get_IsPaneOpenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics::OpenPaneLengthProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics::OpenPaneLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitViewStatics)->get_OpenPaneLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics::CompactPaneLengthProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics::CompactPaneLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitViewStatics)->get_CompactPaneLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics::PanePlacementProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics::PanePlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitViewStatics)->get_PanePlacementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics::DisplayModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics::DisplayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitViewStatics)->get_DisplayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics::TemplateSettingsProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics::TemplateSettingsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitViewStatics)->get_TemplateSettingsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics::PaneBackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics::PaneBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitViewStatics)->get_PaneBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics2::LightDismissOverlayModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics2::LightDismissOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitViewStatics2)->get_LightDismissOverlayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IStackPanel::AreScrollSnapPointsRegular() const + template auto consume_Windows_UI_Xaml_Controls_IStackPanel::AreScrollSnapPointsRegular() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel)->get_AreScrollSnapPointsRegular(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IStackPanel::AreScrollSnapPointsRegular(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IStackPanel::AreScrollSnapPointsRegular(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel)->put_AreScrollSnapPointsRegular(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IStackPanel::Orientation() const + template auto consume_Windows_UI_Xaml_Controls_IStackPanel::Orientation() const { winrt::Windows::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IStackPanel::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const + template auto consume_Windows_UI_Xaml_Controls_IStackPanel::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel)->put_Orientation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IStackPanel2::BorderBrush() const + template auto consume_Windows_UI_Xaml_Controls_IStackPanel2::BorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel2)->get_BorderBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IStackPanel2::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_IStackPanel2::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel2)->put_BorderBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IStackPanel2::BorderThickness() const + template auto consume_Windows_UI_Xaml_Controls_IStackPanel2::BorderThickness() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel2)->get_BorderThickness(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IStackPanel2::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IStackPanel2::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel2)->put_BorderThickness(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_Controls_IStackPanel2::CornerRadius() const + template auto consume_Windows_UI_Xaml_Controls_IStackPanel2::CornerRadius() const { winrt::Windows::UI::Xaml::CornerRadius value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel2)->get_CornerRadius(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IStackPanel2::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const + template auto consume_Windows_UI_Xaml_Controls_IStackPanel2::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel2)->put_CornerRadius(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IStackPanel2::Padding() const + template auto consume_Windows_UI_Xaml_Controls_IStackPanel2::Padding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel2)->get_Padding(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IStackPanel2::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_IStackPanel2::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel2)->put_Padding(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IStackPanel4::Spacing() const + template auto consume_Windows_UI_Xaml_Controls_IStackPanel4::Spacing() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel4)->get_Spacing(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IStackPanel4::Spacing(double value) const + template auto consume_Windows_UI_Xaml_Controls_IStackPanel4::Spacing(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel4)->put_Spacing(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) consume_Windows_UI_Xaml_Controls_IStackPanel5::BackgroundSizing() const + template auto consume_Windows_UI_Xaml_Controls_IStackPanel5::BackgroundSizing() const { winrt::Windows::UI::Xaml::Controls::BackgroundSizing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel5)->get_BackgroundSizing(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IStackPanel5::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const + template auto consume_Windows_UI_Xaml_Controls_IStackPanel5::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel5)->put_BackgroundSizing(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StackPanel) consume_Windows_UI_Xaml_Controls_IStackPanelFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IStackPanelFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanelFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::StackPanel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IStackPanelStatics::AreScrollSnapPointsRegularProperty() const + template auto consume_Windows_UI_Xaml_Controls_IStackPanelStatics::AreScrollSnapPointsRegularProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanelStatics)->get_AreScrollSnapPointsRegularProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IStackPanelStatics::OrientationProperty() const + template auto consume_Windows_UI_Xaml_Controls_IStackPanelStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanelStatics)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IStackPanelStatics2::BorderBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_IStackPanelStatics2::BorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanelStatics2)->get_BorderBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IStackPanelStatics2::BorderThicknessProperty() const + template auto consume_Windows_UI_Xaml_Controls_IStackPanelStatics2::BorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanelStatics2)->get_BorderThicknessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IStackPanelStatics2::CornerRadiusProperty() const + template auto consume_Windows_UI_Xaml_Controls_IStackPanelStatics2::CornerRadiusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanelStatics2)->get_CornerRadiusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IStackPanelStatics2::PaddingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IStackPanelStatics2::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanelStatics2)->get_PaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IStackPanelStatics4::SpacingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IStackPanelStatics4::SpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanelStatics4)->get_SpacingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IStackPanelStatics5::BackgroundSizingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IStackPanelStatics5::BackgroundSizingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanelStatics5)->get_BackgroundSizingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IStyleSelector::SelectStyle(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const + template auto consume_Windows_UI_Xaml_Controls_IStyleSelector::SelectStyle(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStyleSelector)->SelectStyle(*(void**)(&item), *(void**)(&container), &result)); return winrt::Windows::UI::Xaml::Style{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StyleSelector) consume_Windows_UI_Xaml_Controls_IStyleSelectorFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IStyleSelectorFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStyleSelectorFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::StyleSelector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IStyleSelectorOverrides::SelectStyleCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const + template auto consume_Windows_UI_Xaml_Controls_IStyleSelectorOverrides::SelectStyleCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStyleSelectorOverrides)->SelectStyleCore(*(void**)(&item), *(void**)(&container), &result)); return winrt::Windows::UI::Xaml::Style{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreIndependentInputSource) consume_Windows_UI_Xaml_Controls_ISwapChainBackgroundPanel2::CreateCoreIndependentInputSource(winrt::Windows::UI::Core::CoreInputDeviceTypes const& deviceTypes) const + template auto consume_Windows_UI_Xaml_Controls_ISwapChainBackgroundPanel2::CreateCoreIndependentInputSource(winrt::Windows::UI::Core::CoreInputDeviceTypes const& deviceTypes) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwapChainBackgroundPanel2)->CreateCoreIndependentInputSource(static_cast(deviceTypes), &result)); return winrt::Windows::UI::Core::CoreIndependentInputSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwapChainBackgroundPanel) consume_Windows_UI_Xaml_Controls_ISwapChainBackgroundPanelFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ISwapChainBackgroundPanelFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwapChainBackgroundPanelFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::SwapChainBackgroundPanel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_Controls_ISwapChainPanel::CompositionScaleX() const + template auto consume_Windows_UI_Xaml_Controls_ISwapChainPanel::CompositionScaleX() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwapChainPanel)->get_CompositionScaleX(&value)); return value; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_Controls_ISwapChainPanel::CompositionScaleY() const + template auto consume_Windows_UI_Xaml_Controls_ISwapChainPanel::CompositionScaleY() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwapChainPanel)->get_CompositionScaleY(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISwapChainPanel::CompositionScaleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISwapChainPanel::CompositionScaleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwapChainPanel)->add_CompositionScaleChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ISwapChainPanel::CompositionScaleChanged_revoker consume_Windows_UI_Xaml_Controls_ISwapChainPanel::CompositionScaleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISwapChainPanel::CompositionScaleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CompositionScaleChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwapChainPanel::CompositionScaleChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ISwapChainPanel::CompositionScaleChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwapChainPanel)->remove_CompositionScaleChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreIndependentInputSource) consume_Windows_UI_Xaml_Controls_ISwapChainPanel::CreateCoreIndependentInputSource(winrt::Windows::UI::Core::CoreInputDeviceTypes const& deviceTypes) const + template auto consume_Windows_UI_Xaml_Controls_ISwapChainPanel::CreateCoreIndependentInputSource(winrt::Windows::UI::Core::CoreInputDeviceTypes const& deviceTypes) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwapChainPanel)->CreateCoreIndependentInputSource(static_cast(deviceTypes), &result)); return winrt::Windows::UI::Core::CoreIndependentInputSource{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwapChainPanel) consume_Windows_UI_Xaml_Controls_ISwapChainPanelFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ISwapChainPanelFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwapChainPanelFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::SwapChainPanel{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwapChainPanelStatics::CompositionScaleXProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISwapChainPanelStatics::CompositionScaleXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwapChainPanelStatics)->get_CompositionScaleXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwapChainPanelStatics::CompositionScaleYProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISwapChainPanelStatics::CompositionScaleYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwapChainPanelStatics)->get_CompositionScaleYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItems) consume_Windows_UI_Xaml_Controls_ISwipeControl::LeftItems() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeControl::LeftItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeControl)->get_LeftItems(&value)); return winrt::Windows::UI::Xaml::Controls::SwipeItems{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeControl::LeftItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeControl::LeftItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeControl)->put_LeftItems(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItems) consume_Windows_UI_Xaml_Controls_ISwipeControl::RightItems() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeControl::RightItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeControl)->get_RightItems(&value)); return winrt::Windows::UI::Xaml::Controls::SwipeItems{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeControl::RightItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeControl::RightItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeControl)->put_RightItems(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItems) consume_Windows_UI_Xaml_Controls_ISwipeControl::TopItems() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeControl::TopItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeControl)->get_TopItems(&value)); return winrt::Windows::UI::Xaml::Controls::SwipeItems{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeControl::TopItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeControl::TopItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeControl)->put_TopItems(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItems) consume_Windows_UI_Xaml_Controls_ISwipeControl::BottomItems() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeControl::BottomItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeControl)->get_BottomItems(&value)); return winrt::Windows::UI::Xaml::Controls::SwipeItems{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeControl::BottomItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeControl::BottomItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeControl)->put_BottomItems(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeControl::Close() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeControl::Close() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeControl)->Close()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeControl) consume_Windows_UI_Xaml_Controls_ISwipeControlFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeControlFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeControlFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::SwipeControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeControlStatics::LeftItemsProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeControlStatics::LeftItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeControlStatics)->get_LeftItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeControlStatics::RightItemsProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeControlStatics::RightItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeControlStatics)->get_RightItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeControlStatics::TopItemsProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeControlStatics::TopItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeControlStatics)->get_TopItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeControlStatics::BottomItemsProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeControlStatics::BottomItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeControlStatics)->get_BottomItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISwipeItem::Text() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItem::Text(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconSource) consume_Windows_UI_Xaml_Controls_ISwipeItem::IconSource() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::IconSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->get_IconSource(&value)); return winrt::Windows::UI::Xaml::Controls::IconSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItem::IconSource(winrt::Windows::UI::Xaml::Controls::IconSource const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::IconSource(winrt::Windows::UI::Xaml::Controls::IconSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->put_IconSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ISwipeItem::Background() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::Background() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->get_Background(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItem::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->put_Background(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ISwipeItem::Foreground() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::Foreground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->get_Foreground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItem::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->put_Foreground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) consume_Windows_UI_Xaml_Controls_ISwipeItem::Command() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::Command() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->get_Command(&value)); return winrt::Windows::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItem::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->put_Command(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ISwipeItem::CommandParameter() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::CommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->get_CommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItem::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->put_CommandParameter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeBehaviorOnInvoked) consume_Windows_UI_Xaml_Controls_ISwipeItem::BehaviorOnInvoked() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::BehaviorOnInvoked() const { winrt::Windows::UI::Xaml::Controls::SwipeBehaviorOnInvoked value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->get_BehaviorOnInvoked(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItem::BehaviorOnInvoked(winrt::Windows::UI::Xaml::Controls::SwipeBehaviorOnInvoked const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::BehaviorOnInvoked(winrt::Windows::UI::Xaml::Controls::SwipeBehaviorOnInvoked const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->put_BehaviorOnInvoked(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISwipeItem::Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->add_Invoked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ISwipeItem::Invoked_revoker consume_Windows_UI_Xaml_Controls_ISwipeItem::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Invoked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItem::Invoked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ISwipeItem::Invoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->remove_Invoked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItem) consume_Windows_UI_Xaml_Controls_ISwipeItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::SwipeItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeControl) consume_Windows_UI_Xaml_Controls_ISwipeItemInvokedEventArgs::SwipeControl() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItemInvokedEventArgs::SwipeControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItemInvokedEventArgs)->get_SwipeControl(&value)); return winrt::Windows::UI::Xaml::Controls::SwipeControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeItemStatics::IconSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItemStatics::IconSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItemStatics)->get_IconSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeItemStatics::TextProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItemStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItemStatics)->get_TextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeItemStatics::BackgroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItemStatics::BackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItemStatics)->get_BackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeItemStatics::ForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItemStatics::ForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItemStatics)->get_ForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeItemStatics::CommandProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItemStatics::CommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItemStatics)->get_CommandProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeItemStatics::CommandParameterProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItemStatics::CommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItemStatics)->get_CommandParameterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeItemStatics::BehaviorOnInvokedProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItemStatics::BehaviorOnInvokedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItemStatics)->get_BehaviorOnInvokedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeMode) consume_Windows_UI_Xaml_Controls_ISwipeItems::Mode() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItems::Mode() const { winrt::Windows::UI::Xaml::Controls::SwipeMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItems)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItems::Mode(winrt::Windows::UI::Xaml::Controls::SwipeMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItems::Mode(winrt::Windows::UI::Xaml::Controls::SwipeMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItems)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItems) consume_Windows_UI_Xaml_Controls_ISwipeItemsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItemsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItemsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::SwipeItems{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeItemsStatics::ModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISwipeItemsStatics::ModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItemsStatics)->get_ModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Symbol) consume_Windows_UI_Xaml_Controls_ISymbolIcon::Symbol() const + template auto consume_Windows_UI_Xaml_Controls_ISymbolIcon::Symbol() const { winrt::Windows::UI::Xaml::Controls::Symbol value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISymbolIcon)->get_Symbol(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISymbolIcon::Symbol(winrt::Windows::UI::Xaml::Controls::Symbol const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISymbolIcon::Symbol(winrt::Windows::UI::Xaml::Controls::Symbol const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISymbolIcon)->put_Symbol(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SymbolIcon) consume_Windows_UI_Xaml_Controls_ISymbolIconFactory::CreateInstanceWithSymbol(winrt::Windows::UI::Xaml::Controls::Symbol const& symbol) const + template auto consume_Windows_UI_Xaml_Controls_ISymbolIconFactory::CreateInstanceWithSymbol(winrt::Windows::UI::Xaml::Controls::Symbol const& symbol) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISymbolIconFactory)->CreateInstanceWithSymbol(static_cast(symbol), &value)); return winrt::Windows::UI::Xaml::Controls::SymbolIcon{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Symbol) consume_Windows_UI_Xaml_Controls_ISymbolIconSource::Symbol() const + template auto consume_Windows_UI_Xaml_Controls_ISymbolIconSource::Symbol() const { winrt::Windows::UI::Xaml::Controls::Symbol value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISymbolIconSource)->get_Symbol(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISymbolIconSource::Symbol(winrt::Windows::UI::Xaml::Controls::Symbol const& value) const + template auto consume_Windows_UI_Xaml_Controls_ISymbolIconSource::Symbol(winrt::Windows::UI::Xaml::Controls::Symbol const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISymbolIconSource)->put_Symbol(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SymbolIconSource) consume_Windows_UI_Xaml_Controls_ISymbolIconSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ISymbolIconSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISymbolIconSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::SymbolIconSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISymbolIconSourceStatics::SymbolProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISymbolIconSourceStatics::SymbolProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISymbolIconSourceStatics)->get_SymbolProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISymbolIconStatics::SymbolProperty() const + template auto consume_Windows_UI_Xaml_Controls_ISymbolIconStatics::SymbolProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISymbolIconStatics)->get_SymbolProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ITextBlock::FontSize() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::FontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_FontSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::FontSize(double value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::FontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_FontSize(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_ITextBlock::FontFamily() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::FontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_FontFamily(&value)); return winrt::Windows::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_FontFamily(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_ITextBlock::FontWeight() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::FontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_FontWeight(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_FontWeight(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_ITextBlock::FontStyle() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::FontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_FontStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_FontStyle(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) consume_Windows_UI_Xaml_Controls_ITextBlock::FontStretch() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::FontStretch() const { winrt::Windows::UI::Text::FontStretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_FontStretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_FontStretch(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextBlock::CharacterSpacing() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::CharacterSpacing() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_CharacterSpacing(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::CharacterSpacing(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::CharacterSpacing(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_CharacterSpacing(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ITextBlock::Foreground() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::Foreground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_Foreground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_Foreground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextWrapping) consume_Windows_UI_Xaml_Controls_ITextBlock::TextWrapping() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::TextWrapping() const { winrt::Windows::UI::Xaml::TextWrapping value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_TextWrapping(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_TextWrapping(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextTrimming) consume_Windows_UI_Xaml_Controls_ITextBlock::TextTrimming() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::TextTrimming() const { winrt::Windows::UI::Xaml::TextTrimming value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_TextTrimming(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::TextTrimming(winrt::Windows::UI::Xaml::TextTrimming const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::TextTrimming(winrt::Windows::UI::Xaml::TextTrimming const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_TextTrimming(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Controls_ITextBlock::TextAlignment() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::TextAlignment() const { winrt::Windows::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_TextAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_TextAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITextBlock::Text() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::Text(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::InlineCollection) consume_Windows_UI_Xaml_Controls_ITextBlock::Inlines() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::Inlines() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_Inlines(&value)); return winrt::Windows::UI::Xaml::Documents::InlineCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_ITextBlock::Padding() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::Padding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_Padding(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_Padding(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ITextBlock::LineHeight() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::LineHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_LineHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::LineHeight(double value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::LineHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_LineHeight(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::LineStackingStrategy) consume_Windows_UI_Xaml_Controls_ITextBlock::LineStackingStrategy() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::LineStackingStrategy() const { winrt::Windows::UI::Xaml::LineStackingStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_LineStackingStrategy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_LineStackingStrategy(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBlock::IsTextSelectionEnabled() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::IsTextSelectionEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_IsTextSelectionEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::IsTextSelectionEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::IsTextSelectionEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_IsTextSelectionEnabled(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITextBlock::SelectedText() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::SelectedText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_SelectedText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_ITextBlock::ContentStart() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::ContentStart() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_ContentStart(&value)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_ITextBlock::ContentEnd() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::ContentEnd() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_ContentEnd(&value)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_ITextBlock::SelectionStart() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::SelectionStart() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_SelectionStart(&value)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_ITextBlock::SelectionEnd() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::SelectionEnd() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_SelectionEnd(&value)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ITextBlock::BaselineOffset() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::BaselineOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_BaselineOffset(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBlock::SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITextBlock::SelectionChanged_revoker consume_Windows_UI_Xaml_Controls_ITextBlock::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::SelectionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->remove_SelectionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBlock::ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->add_ContextMenuOpening(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITextBlock::ContextMenuOpening_revoker consume_Windows_UI_Xaml_Controls_ITextBlock::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { return impl::make_event_revoker(this, ContextMenuOpening(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::ContextMenuOpening(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::ContextMenuOpening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->remove_ContextMenuOpening(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::SelectAll() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::SelectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->SelectAll()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock::Select(winrt::Windows::UI::Xaml::Documents::TextPointer const& start, winrt::Windows::UI::Xaml::Documents::TextPointer const& end) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::Select(winrt::Windows::UI::Xaml::Documents::TextPointer const& start, winrt::Windows::UI::Xaml::Documents::TextPointer const& end) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->Select(*(void**)(&start), *(void**)(&end))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBlock::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->Focus(static_cast(value), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_ITextBlock2::SelectionHighlightColor() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock2::SelectionHighlightColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->get_SelectionHighlightColor(&value)); return winrt::Windows::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock2::SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock2::SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->put_SelectionHighlightColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextBlock2::MaxLines() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock2::MaxLines() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->get_MaxLines(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock2::MaxLines(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock2::MaxLines(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->put_MaxLines(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextLineBounds) consume_Windows_UI_Xaml_Controls_ITextBlock2::TextLineBounds() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock2::TextLineBounds() const { winrt::Windows::UI::Xaml::TextLineBounds value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->get_TextLineBounds(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock2::TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock2::TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->put_TextLineBounds(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::OpticalMarginAlignment) consume_Windows_UI_Xaml_Controls_ITextBlock2::OpticalMarginAlignment() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock2::OpticalMarginAlignment() const { winrt::Windows::UI::Xaml::OpticalMarginAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->get_OpticalMarginAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock2::OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock2::OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->put_OpticalMarginAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBlock2::IsColorFontEnabled() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock2::IsColorFontEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->get_IsColorFontEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock2::IsColorFontEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock2::IsColorFontEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->put_IsColorFontEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextReadingOrder) consume_Windows_UI_Xaml_Controls_ITextBlock2::TextReadingOrder() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock2::TextReadingOrder() const { winrt::Windows::UI::Xaml::TextReadingOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->get_TextReadingOrder(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock2::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock2::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->put_TextReadingOrder(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBlock3::IsTextScaleFactorEnabled() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock3::IsTextScaleFactorEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock3)->get_IsTextScaleFactorEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock3::IsTextScaleFactorEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock3::IsTextScaleFactorEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock3)->put_IsTextScaleFactorEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Xaml_Controls_ITextBlock4::GetAlphaMask() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock4::GetAlphaMask() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock4)->GetAlphaMask(&result)); return winrt::Windows::UI::Composition::CompositionBrush{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::TextDecorations) consume_Windows_UI_Xaml_Controls_ITextBlock5::TextDecorations() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock5::TextDecorations() const { winrt::Windows::UI::Text::TextDecorations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock5)->get_TextDecorations(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock5::TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock5::TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock5)->put_TextDecorations(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBlock6::IsTextTrimmed() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock6::IsTextTrimmed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock6)->get_IsTextTrimmed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Controls_ITextBlock6::HorizontalTextAlignment() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock6::HorizontalTextAlignment() const { winrt::Windows::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock6)->get_HorizontalTextAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock6::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock6::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock6)->put_HorizontalTextAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_ITextBlock6::TextHighlighters() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock6::TextHighlighters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock6)->get_TextHighlighters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBlock6::IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock6::IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock6)->add_IsTextTrimmedChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITextBlock6::IsTextTrimmedChanged_revoker consume_Windows_UI_Xaml_Controls_ITextBlock6::IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock6::IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsTextTrimmedChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock6::IsTextTrimmedChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITextBlock6::IsTextTrimmedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock6)->remove_IsTextTrimmedChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_ITextBlock7::SelectionFlyout() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock7::SelectionFlyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock7)->get_SelectionFlyout(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock7::SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock7::SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock7)->put_SelectionFlyout(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock7::CopySelectionToClipboard() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlock7::CopySelectionToClipboard() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock7)->CopySelectionToClipboard()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics::FontSizeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics::FontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics)->get_FontSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics::FontFamilyProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics::FontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics)->get_FontFamilyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics::FontWeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics::FontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics)->get_FontWeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics::FontStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics::FontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics)->get_FontStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics::FontStretchProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics::FontStretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics)->get_FontStretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics::CharacterSpacingProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics::CharacterSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics)->get_CharacterSpacingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics::ForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics::ForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics)->get_ForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics::TextWrappingProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics::TextWrappingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics)->get_TextWrappingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics::TextTrimmingProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics::TextTrimmingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics)->get_TextTrimmingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics::TextAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics::TextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics)->get_TextAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics::TextProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics)->get_TextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics::PaddingProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics)->get_PaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics::LineHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics::LineHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics)->get_LineHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics::LineStackingStrategyProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics::LineStackingStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics)->get_LineStackingStrategyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics::IsTextSelectionEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics::IsTextSelectionEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics)->get_IsTextSelectionEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics::SelectedTextProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics::SelectedTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics)->get_SelectedTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics2::SelectionHighlightColorProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics2::SelectionHighlightColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics2)->get_SelectionHighlightColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics2::MaxLinesProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics2::MaxLinesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics2)->get_MaxLinesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics2::TextLineBoundsProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics2::TextLineBoundsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics2)->get_TextLineBoundsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics2::OpticalMarginAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics2::OpticalMarginAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics2)->get_OpticalMarginAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics2::IsColorFontEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics2::IsColorFontEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics2)->get_IsColorFontEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics2::TextReadingOrderProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics2::TextReadingOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics2)->get_TextReadingOrderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics3::IsTextScaleFactorEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics3::IsTextScaleFactorEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics3)->get_IsTextScaleFactorEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics5::TextDecorationsProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics5::TextDecorationsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics5)->get_TextDecorationsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics6::IsTextTrimmedProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics6::IsTextTrimmedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics6)->get_IsTextTrimmedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics6::HorizontalTextAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics6::HorizontalTextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics6)->get_HorizontalTextAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics7::SelectionFlyoutProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics7::SelectionFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlockStatics7)->get_SelectionFlyoutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITextBox::Text() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::Text(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITextBox::SelectedText() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::SelectedText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_SelectedText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::SelectedText(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::SelectedText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_SelectedText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextBox::SelectionLength() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::SelectionLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_SelectionLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::SelectionLength(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::SelectionLength(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_SelectionLength(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextBox::SelectionStart() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::SelectionStart() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_SelectionStart(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::SelectionStart(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::SelectionStart(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_SelectionStart(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextBox::MaxLength() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::MaxLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_MaxLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::MaxLength(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::MaxLength(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_MaxLength(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox::IsReadOnly() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::IsReadOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_IsReadOnly(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::IsReadOnly(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::IsReadOnly(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_IsReadOnly(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox::AcceptsReturn() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::AcceptsReturn() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_AcceptsReturn(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::AcceptsReturn(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::AcceptsReturn(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_AcceptsReturn(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Controls_ITextBox::TextAlignment() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::TextAlignment() const { winrt::Windows::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_TextAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_TextAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextWrapping) consume_Windows_UI_Xaml_Controls_ITextBox::TextWrapping() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::TextWrapping() const { winrt::Windows::UI::Xaml::TextWrapping value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_TextWrapping(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_TextWrapping(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox::IsSpellCheckEnabled() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::IsSpellCheckEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_IsSpellCheckEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::IsSpellCheckEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::IsSpellCheckEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_IsSpellCheckEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox::IsTextPredictionEnabled() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::IsTextPredictionEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_IsTextPredictionEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::IsTextPredictionEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::IsTextPredictionEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_IsTextPredictionEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InputScope) consume_Windows_UI_Xaml_Controls_ITextBox::InputScope() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::InputScope() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_InputScope(&value)); return winrt::Windows::UI::Xaml::Input::InputScope{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::InputScope(winrt::Windows::UI::Xaml::Input::InputScope const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::InputScope(winrt::Windows::UI::Xaml::Input::InputScope const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_InputScope(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox::TextChanged(winrt::Windows::UI::Xaml::Controls::TextChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::TextChanged(winrt::Windows::UI::Xaml::Controls::TextChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->add_TextChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITextBox::TextChanged_revoker consume_Windows_UI_Xaml_Controls_ITextBox::TextChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::TextChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextChangedEventHandler const& handler) const { return impl::make_event_revoker(this, TextChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::TextChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITextBox::TextChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->remove_TextChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox::SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITextBox::SelectionChanged_revoker consume_Windows_UI_Xaml_Controls_ITextBox::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::SelectionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITextBox::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->remove_SelectionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox::ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->add_ContextMenuOpening(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITextBox::ContextMenuOpening_revoker consume_Windows_UI_Xaml_Controls_ITextBox::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { return impl::make_event_revoker(this, ContextMenuOpening(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::ContextMenuOpening(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITextBox::ContextMenuOpening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->remove_ContextMenuOpening(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::Select(int32_t start, int32_t length) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::Select(int32_t start, int32_t length) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->Select(start, length)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox::SelectAll() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::SelectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->SelectAll()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_ITextBox::GetRectFromCharacterIndex(int32_t charIndex, bool trailingEdge) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox::GetRectFromCharacterIndex(int32_t charIndex, bool trailingEdge) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->GetRectFromCharacterIndex(charIndex, trailingEdge, put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITextBox2::Header() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox2::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox2::Header(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox2::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->put_Header(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_ITextBox2::HeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox2::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox2::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox2::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->put_HeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITextBox2::PlaceholderText() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox2::PlaceholderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->get_PlaceholderText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox2::PlaceholderText(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox2::PlaceholderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->put_PlaceholderText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_ITextBox2::SelectionHighlightColor() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox2::SelectionHighlightColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->get_SelectionHighlightColor(&value)); return winrt::Windows::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox2::SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox2::SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->put_SelectionHighlightColor(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox2::PreventKeyboardDisplayOnProgrammaticFocus() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox2::PreventKeyboardDisplayOnProgrammaticFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->get_PreventKeyboardDisplayOnProgrammaticFocus(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox2::PreventKeyboardDisplayOnProgrammaticFocus(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox2::PreventKeyboardDisplayOnProgrammaticFocus(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->put_PreventKeyboardDisplayOnProgrammaticFocus(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox2::IsColorFontEnabled() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox2::IsColorFontEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->get_IsColorFontEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox2::IsColorFontEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox2::IsColorFontEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->put_IsColorFontEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox2::Paste(winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox2::Paste(winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->add_Paste(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITextBox2::Paste_revoker consume_Windows_UI_Xaml_Controls_ITextBox2::Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox2::Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const { return impl::make_event_revoker(this, Paste(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox2::Paste(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITextBox2::Paste(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->remove_Paste(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->add_TextCompositionStarted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionStarted_revoker consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextCompositionStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionStarted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->remove_TextCompositionStarted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->add_TextCompositionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionChanged_revoker consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextCompositionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->remove_TextCompositionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->add_TextCompositionEnded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionEnded_revoker consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextCompositionEnded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionEnded(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::TextCompositionEnded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->remove_TextCompositionEnded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextReadingOrder) consume_Windows_UI_Xaml_Controls_ITextBox3::TextReadingOrder() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::TextReadingOrder() const { winrt::Windows::UI::Xaml::TextReadingOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->get_TextReadingOrder(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox3::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->put_TextReadingOrder(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment) consume_Windows_UI_Xaml_Controls_ITextBox3::DesiredCandidateWindowAlignment() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::DesiredCandidateWindowAlignment() const { winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->get_DesiredCandidateWindowAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox3::DesiredCandidateWindowAlignment(winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::DesiredCandidateWindowAlignment(winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->put_DesiredCandidateWindowAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox3::CandidateWindowBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::CandidateWindowBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->add_CandidateWindowBoundsChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITextBox3::CandidateWindowBoundsChanged_revoker consume_Windows_UI_Xaml_Controls_ITextBox3::CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CandidateWindowBoundsChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox3::CandidateWindowBoundsChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::CandidateWindowBoundsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->remove_CandidateWindowBoundsChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox3::TextChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::TextChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->add_TextChanging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITextBox3::TextChanging_revoker consume_Windows_UI_Xaml_Controls_ITextBox3::TextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::TextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextChanging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox3::TextChanging(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITextBox3::TextChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->remove_TextChanging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_UI_Xaml_Controls_ITextBox4::GetLinguisticAlternativesAsync() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox4::GetLinguisticAlternativesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox4)->GetLinguisticAlternativesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_ITextBox5::SelectionHighlightColorWhenNotFocused() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox5::SelectionHighlightColorWhenNotFocused() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox5)->get_SelectionHighlightColorWhenNotFocused(&value)); return winrt::Windows::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox5::SelectionHighlightColorWhenNotFocused(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox5::SelectionHighlightColorWhenNotFocused(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox5)->put_SelectionHighlightColorWhenNotFocused(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Controls_ITextBox6::HorizontalTextAlignment() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox6::HorizontalTextAlignment() const { winrt::Windows::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->get_HorizontalTextAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox6::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox6::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->put_HorizontalTextAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CharacterCasing) consume_Windows_UI_Xaml_Controls_ITextBox6::CharacterCasing() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox6::CharacterCasing() const { winrt::Windows::UI::Xaml::Controls::CharacterCasing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->get_CharacterCasing(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox6::CharacterCasing(winrt::Windows::UI::Xaml::Controls::CharacterCasing const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox6::CharacterCasing(winrt::Windows::UI::Xaml::Controls::CharacterCasing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->put_CharacterCasing(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ITextBox6::PlaceholderForeground() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox6::PlaceholderForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->get_PlaceholderForeground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox6::PlaceholderForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox6::PlaceholderForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->put_PlaceholderForeground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox6::CopyingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox6::CopyingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->add_CopyingToClipboard(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITextBox6::CopyingToClipboard_revoker consume_Windows_UI_Xaml_Controls_ITextBox6::CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox6::CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CopyingToClipboard(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox6::CopyingToClipboard(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITextBox6::CopyingToClipboard(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->remove_CopyingToClipboard(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox6::CuttingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox6::CuttingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->add_CuttingToClipboard(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITextBox6::CuttingToClipboard_revoker consume_Windows_UI_Xaml_Controls_ITextBox6::CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox6::CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CuttingToClipboard(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox6::CuttingToClipboard(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITextBox6::CuttingToClipboard(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->remove_CuttingToClipboard(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox6::BeforeTextChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox6::BeforeTextChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->add_BeforeTextChanging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITextBox6::BeforeTextChanging_revoker consume_Windows_UI_Xaml_Controls_ITextBox6::BeforeTextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox6::BeforeTextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BeforeTextChanging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox6::BeforeTextChanging(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITextBox6::BeforeTextChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->remove_BeforeTextChanging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HandwritingView) consume_Windows_UI_Xaml_Controls_ITextBox7::HandwritingView() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox7::HandwritingView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox7)->get_HandwritingView(&value)); return winrt::Windows::UI::Xaml::Controls::HandwritingView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox7::HandwritingView(winrt::Windows::UI::Xaml::Controls::HandwritingView const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox7::HandwritingView(winrt::Windows::UI::Xaml::Controls::HandwritingView const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox7)->put_HandwritingView(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox7::IsHandwritingViewEnabled() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox7::IsHandwritingViewEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox7)->get_IsHandwritingViewEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox7::IsHandwritingViewEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox7::IsHandwritingViewEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox7)->put_IsHandwritingViewEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox8::CanPasteClipboardContent() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::CanPasteClipboardContent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->get_CanPasteClipboardContent(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox8::CanUndo() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::CanUndo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->get_CanUndo(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox8::CanRedo() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::CanRedo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->get_CanRedo(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_ITextBox8::SelectionFlyout() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::SelectionFlyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->get_SelectionFlyout(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8::SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->put_SelectionFlyout(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_ITextBox8::ProofingMenuFlyout() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::ProofingMenuFlyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->get_ProofingMenuFlyout(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITextBox8::Description() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->get_Description(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8::Description(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::Description(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox8::SelectionChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::SelectionChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->add_SelectionChanging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITextBox8::SelectionChanging_revoker consume_Windows_UI_Xaml_Controls_ITextBox8::SelectionChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::SelectionChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8::SelectionChanging(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::SelectionChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->remove_SelectionChanging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8::Undo() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::Undo() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->Undo()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8::Redo() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::Redo() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->Redo()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8::PasteFromClipboard() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::PasteFromClipboard() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->PasteFromClipboard()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8::CopySelectionToClipboard() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::CopySelectionToClipboard() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->CopySelectionToClipboard()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8::CutSelectionToClipboard() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::CutSelectionToClipboard() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->CutSelectionToClipboard()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8::ClearUndoRedoHistory() const + template auto consume_Windows_UI_Xaml_Controls_ITextBox8::ClearUndoRedoHistory() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->ClearUndoRedoHistory()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITextBoxBeforeTextChangingEventArgs::NewText() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxBeforeTextChangingEventArgs::NewText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxBeforeTextChangingEventArgs)->get_NewText(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBoxBeforeTextChangingEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxBeforeTextChangingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxBeforeTextChangingEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBoxBeforeTextChangingEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxBeforeTextChangingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxBeforeTextChangingEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TextBox) consume_Windows_UI_Xaml_Controls_ITextBoxFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::TextBox{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs::SelectionStart() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs::SelectionStart() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxSelectionChangingEventArgs)->get_SelectionStart(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs::SelectionLength() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs::SelectionLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxSelectionChangingEventArgs)->get_SelectionLength(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxSelectionChangingEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxSelectionChangingEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics::TextProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics)->get_TextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics::MaxLengthProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics::MaxLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics)->get_MaxLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics::IsReadOnlyProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics::IsReadOnlyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics)->get_IsReadOnlyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics::AcceptsReturnProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics::AcceptsReturnProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics)->get_AcceptsReturnProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics::TextAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics::TextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics)->get_TextAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics::TextWrappingProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics::TextWrappingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics)->get_TextWrappingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics::IsSpellCheckEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics::IsSpellCheckEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics)->get_IsSpellCheckEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics::IsTextPredictionEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics::IsTextPredictionEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics)->get_IsTextPredictionEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics::InputScopeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics::InputScopeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics)->get_InputScopeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics2::HeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics2::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics2)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics2::HeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics2::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics2)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics2::PlaceholderTextProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics2::PlaceholderTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics2)->get_PlaceholderTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics2::SelectionHighlightColorProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics2::SelectionHighlightColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics2)->get_SelectionHighlightColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics2::PreventKeyboardDisplayOnProgrammaticFocusProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics2::PreventKeyboardDisplayOnProgrammaticFocusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics2)->get_PreventKeyboardDisplayOnProgrammaticFocusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics2::IsColorFontEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics2::IsColorFontEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics2)->get_IsColorFontEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics3::DesiredCandidateWindowAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics3::DesiredCandidateWindowAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics3)->get_DesiredCandidateWindowAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics3::TextReadingOrderProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics3::TextReadingOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics3)->get_TextReadingOrderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics5::SelectionHighlightColorWhenNotFocusedProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics5::SelectionHighlightColorWhenNotFocusedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics5)->get_SelectionHighlightColorWhenNotFocusedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics6::HorizontalTextAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics6::HorizontalTextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics6)->get_HorizontalTextAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics6::CharacterCasingProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics6::CharacterCasingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics6)->get_CharacterCasingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics6::PlaceholderForegroundProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics6::PlaceholderForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics6)->get_PlaceholderForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics7::HandwritingViewProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics7::HandwritingViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics7)->get_HandwritingViewProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics7::IsHandwritingViewEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics7::IsHandwritingViewEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics7)->get_IsHandwritingViewEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics8::CanPasteClipboardContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics8::CanPasteClipboardContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics8)->get_CanPasteClipboardContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics8::CanUndoProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics8::CanUndoProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics8)->get_CanUndoProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics8::CanRedoProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics8::CanRedoProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics8)->get_CanRedoProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics8::SelectionFlyoutProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics8::SelectionFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics8)->get_SelectionFlyoutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics8::ProofingMenuFlyoutProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics8::ProofingMenuFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics8)->get_ProofingMenuFlyoutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics8::DescriptionProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics8::DescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxStatics8)->get_DescriptionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBoxTextChangingEventArgs2::IsContentChanging() const + template auto consume_Windows_UI_Xaml_Controls_ITextBoxTextChangingEventArgs2::IsContentChanging() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxTextChangingEventArgs2)->get_IsContentChanging(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TextCommandBarFlyout) consume_Windows_UI_Xaml_Controls_ITextCommandBarFlyoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ITextCommandBarFlyoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextCommandBarFlyoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::TextCommandBarFlyout{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextCompositionChangedEventArgs::StartIndex() const + template auto consume_Windows_UI_Xaml_Controls_ITextCompositionChangedEventArgs::StartIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextCompositionChangedEventArgs)->get_StartIndex(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextCompositionChangedEventArgs::Length() const + template auto consume_Windows_UI_Xaml_Controls_ITextCompositionChangedEventArgs::Length() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextCompositionChangedEventArgs)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextCompositionEndedEventArgs::StartIndex() const + template auto consume_Windows_UI_Xaml_Controls_ITextCompositionEndedEventArgs::StartIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextCompositionEndedEventArgs)->get_StartIndex(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextCompositionEndedEventArgs::Length() const + template auto consume_Windows_UI_Xaml_Controls_ITextCompositionEndedEventArgs::Length() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextCompositionEndedEventArgs)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextCompositionStartedEventArgs::StartIndex() const + template auto consume_Windows_UI_Xaml_Controls_ITextCompositionStartedEventArgs::StartIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextCompositionStartedEventArgs)->get_StartIndex(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextCompositionStartedEventArgs::Length() const + template auto consume_Windows_UI_Xaml_Controls_ITextCompositionStartedEventArgs::Length() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextCompositionStartedEventArgs)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextControlCopyingToClipboardEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Controls_ITextControlCopyingToClipboardEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextControlCopyingToClipboardEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextControlCopyingToClipboardEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITextControlCopyingToClipboardEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextControlCopyingToClipboardEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextControlCuttingToClipboardEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Controls_ITextControlCuttingToClipboardEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextControlCuttingToClipboardEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextControlCuttingToClipboardEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITextControlCuttingToClipboardEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextControlCuttingToClipboardEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextControlPasteEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Controls_ITextControlPasteEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextControlPasteEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextControlPasteEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITextControlPasteEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextControlPasteEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_ITimePickedEventArgs::OldTime() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickedEventArgs::OldTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickedEventArgs)->get_OldTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_ITimePickedEventArgs::NewTime() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickedEventArgs::NewTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickedEventArgs)->get_NewTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITimePicker::Header() const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker::Header(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->put_Header(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_ITimePicker::HeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->put_HeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITimePicker::ClockIdentifier() const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker::ClockIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->get_ClockIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker::ClockIdentifier(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker::ClockIdentifier(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->put_ClockIdentifier(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITimePicker::MinuteIncrement() const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker::MinuteIncrement() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->get_MinuteIncrement(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker::MinuteIncrement(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker::MinuteIncrement(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->put_MinuteIncrement(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_ITimePicker::Time() const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker::Time() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->get_Time(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker::Time(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker::Time(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->put_Time(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITimePicker::TimeChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker::TimeChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->add_TimeChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITimePicker::TimeChanged_revoker consume_Windows_UI_Xaml_Controls_ITimePicker::TimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker::TimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, TimeChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker::TimeChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITimePicker::TimeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->remove_TimeChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_ITimePicker2::LightDismissOverlayMode() const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker2::LightDismissOverlayMode() const { winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker2)->get_LightDismissOverlayMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker2::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker2::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker2)->put_LightDismissOverlayMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_ITimePicker3::SelectedTime() const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker3::SelectedTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker3)->get_SelectedTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker3::SelectedTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker3::SelectedTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker3)->put_SelectedTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITimePicker3::SelectedTimeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker3::SelectedTimeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker3)->add_SelectedTimeChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITimePicker3::SelectedTimeChanged_revoker consume_Windows_UI_Xaml_Controls_ITimePicker3::SelectedTimeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITimePicker3::SelectedTimeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectedTimeChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker3::SelectedTimeChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITimePicker3::SelectedTimeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker3)->remove_SelectedTimeChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TimePicker) consume_Windows_UI_Xaml_Controls_ITimePickerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::TimePicker{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::ClockIdentifier() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::ClockIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyout)->get_ClockIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::ClockIdentifier(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::ClockIdentifier(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyout)->put_ClockIdentifier(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::Time() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::Time() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyout)->get_Time(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::Time(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::Time(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyout)->put_Time(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::MinuteIncrement() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::MinuteIncrement() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyout)->get_MinuteIncrement(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::MinuteIncrement(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::MinuteIncrement(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyout)->put_MinuteIncrement(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::TimePicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::TimePicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyout)->add_TimePicked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::TimePicked_revoker consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::TimePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::TimePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TimePicked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::TimePicked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::TimePicked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyout)->remove_TimePicked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout::ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyout)->ShowAtAsync(*(void**)(&target), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutPresenter2::IsDefaultShadowEnabled() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutPresenter2::IsDefaultShadowEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyoutPresenter2)->get_IsDefaultShadowEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutPresenter2::IsDefaultShadowEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutPresenter2::IsDefaultShadowEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyoutPresenter2)->put_IsDefaultShadowEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutPresenterStatics2::IsDefaultShadowEnabledProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutPresenterStatics2::IsDefaultShadowEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyoutPresenterStatics2)->get_IsDefaultShadowEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutStatics::ClockIdentifierProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutStatics::ClockIdentifierProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyoutStatics)->get_ClockIdentifierProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutStatics::TimeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutStatics::TimeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyoutStatics)->get_TimeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutStatics::MinuteIncrementProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutStatics::MinuteIncrementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyoutStatics)->get_MinuteIncrementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_ITimePickerSelectedValueChangedEventArgs::OldTime() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerSelectedValueChangedEventArgs::OldTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerSelectedValueChangedEventArgs)->get_OldTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_ITimePickerSelectedValueChangedEventArgs::NewTime() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerSelectedValueChangedEventArgs::NewTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerSelectedValueChangedEventArgs)->get_NewTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerStatics::HeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerStatics)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerStatics::HeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerStatics)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerStatics::ClockIdentifierProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerStatics::ClockIdentifierProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerStatics)->get_ClockIdentifierProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerStatics::MinuteIncrementProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerStatics::MinuteIncrementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerStatics)->get_MinuteIncrementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerStatics::TimeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerStatics::TimeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerStatics)->get_TimeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerStatics2::LightDismissOverlayModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerStatics2::LightDismissOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerStatics2)->get_LightDismissOverlayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerStatics3::SelectedTimeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerStatics3::SelectedTimeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerStatics3)->get_SelectedTimeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_ITimePickerValueChangedEventArgs::OldTime() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerValueChangedEventArgs::OldTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerValueChangedEventArgs)->get_OldTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_ITimePickerValueChangedEventArgs::NewTime() const + template auto consume_Windows_UI_Xaml_Controls_ITimePickerValueChangedEventArgs::NewTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerValueChangedEventArgs)->get_NewTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItem::IsChecked() const + template auto consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItem::IsChecked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleMenuFlyoutItem)->get_IsChecked(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItem::IsChecked(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItem::IsChecked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleMenuFlyoutItem)->put_IsChecked(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ToggleMenuFlyoutItem) consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleMenuFlyoutItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ToggleMenuFlyoutItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItemStatics::IsCheckedProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItemStatics::IsCheckedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleMenuFlyoutItemStatics)->get_IsCheckedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IToggleSplitButton::IsChecked() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSplitButton::IsChecked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSplitButton)->get_IsChecked(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSplitButton::IsChecked(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSplitButton::IsChecked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSplitButton)->put_IsChecked(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IToggleSplitButton::IsCheckedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSplitButton::IsCheckedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSplitButton)->add_IsCheckedChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IToggleSplitButton::IsCheckedChanged_revoker consume_Windows_UI_Xaml_Controls_IToggleSplitButton::IsCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSplitButton::IsCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsCheckedChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSplitButton::IsCheckedChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IToggleSplitButton::IsCheckedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSplitButton)->remove_IsCheckedChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ToggleSplitButtonAutomationPeer) consume_Windows_UI_Xaml_Controls_IToggleSplitButtonAutomationPeerFactory::CreateInstance(winrt::Windows::UI::Xaml::Controls::ToggleSplitButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSplitButtonAutomationPeerFactory::CreateInstance(winrt::Windows::UI::Xaml::Controls::ToggleSplitButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSplitButtonAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ToggleSplitButtonAutomationPeer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ToggleSplitButton) consume_Windows_UI_Xaml_Controls_IToggleSplitButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSplitButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSplitButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ToggleSplitButton{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IToggleSwitch::IsOn() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::IsOn() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->get_IsOn(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitch::IsOn(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::IsOn(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->put_IsOn(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IToggleSwitch::Header() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitch::Header(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->put_Header(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IToggleSwitch::HeaderTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitch::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->put_HeaderTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IToggleSwitch::OnContent() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::OnContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->get_OnContent(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitch::OnContent(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::OnContent(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->put_OnContent(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IToggleSwitch::OnContentTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::OnContentTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->get_OnContentTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitch::OnContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::OnContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->put_OnContentTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IToggleSwitch::OffContent() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::OffContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->get_OffContent(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitch::OffContent(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::OffContent(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->put_OffContent(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IToggleSwitch::OffContentTemplate() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::OffContentTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->get_OffContentTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitch::OffContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::OffContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->put_OffContentTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ToggleSwitchTemplateSettings) consume_Windows_UI_Xaml_Controls_IToggleSwitch::TemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->get_TemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::ToggleSwitchTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IToggleSwitch::Toggled(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::Toggled(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->add_Toggled(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IToggleSwitch::Toggled_revoker consume_Windows_UI_Xaml_Controls_IToggleSwitch::Toggled(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::Toggled(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, Toggled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitch::Toggled(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitch::Toggled(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->remove_Toggled(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides::OnToggled() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides::OnToggled() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitchOverrides)->OnToggled()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides::OnOnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides::OnOnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitchOverrides)->OnOnContentChanged(*(void**)(&oldContent), *(void**)(&newContent))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides::OnOffContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides::OnOffContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitchOverrides)->OnOffContentChanged(*(void**)(&oldContent), *(void**)(&newContent))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides::OnHeaderChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides::OnHeaderChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitchOverrides)->OnHeaderChanged(*(void**)(&oldContent), *(void**)(&newContent))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics::IsOnProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics::IsOnProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitchStatics)->get_IsOnProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics::HeaderProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitchStatics)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics::HeaderTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitchStatics)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics::OnContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics::OnContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitchStatics)->get_OnContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics::OnContentTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics::OnContentTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitchStatics)->get_OnContentTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics::OffContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics::OffContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitchStatics)->get_OffContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics::OffContentTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics::OffContentTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitchStatics)->get_OffContentTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IToolTip::HorizontalOffset() const + template auto consume_Windows_UI_Xaml_Controls_IToolTip::HorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->get_HorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTip::HorizontalOffset(double value) const + template auto consume_Windows_UI_Xaml_Controls_IToolTip::HorizontalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->put_HorizontalOffset(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IToolTip::IsOpen() const + template auto consume_Windows_UI_Xaml_Controls_IToolTip::IsOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->get_IsOpen(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTip::IsOpen(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IToolTip::IsOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->put_IsOpen(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode) consume_Windows_UI_Xaml_Controls_IToolTip::Placement() const + template auto consume_Windows_UI_Xaml_Controls_IToolTip::Placement() const { winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->get_Placement(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTip::Placement(winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IToolTip::Placement(winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->put_Placement(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IToolTip::PlacementTarget() const + template auto consume_Windows_UI_Xaml_Controls_IToolTip::PlacementTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->get_PlacementTarget(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTip::PlacementTarget(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IToolTip::PlacementTarget(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->put_PlacementTarget(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IToolTip::VerticalOffset() const + template auto consume_Windows_UI_Xaml_Controls_IToolTip::VerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->get_VerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTip::VerticalOffset(double value) const + template auto consume_Windows_UI_Xaml_Controls_IToolTip::VerticalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->put_VerticalOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ToolTipTemplateSettings) consume_Windows_UI_Xaml_Controls_IToolTip::TemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_IToolTip::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->get_TemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::ToolTipTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IToolTip::Closed(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IToolTip::Closed(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IToolTip::Closed_revoker consume_Windows_UI_Xaml_Controls_IToolTip::Closed(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IToolTip::Closed(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTip::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IToolTip::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IToolTip::Opened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IToolTip::Opened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->add_Opened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IToolTip::Opened_revoker consume_Windows_UI_Xaml_Controls_IToolTip::Opened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IToolTip::Opened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, Opened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTip::Opened(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IToolTip::Opened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->remove_Opened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Controls_IToolTip2::PlacementRect() const + template auto consume_Windows_UI_Xaml_Controls_IToolTip2::PlacementRect() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip2)->get_PlacementRect(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTip2::PlacementRect(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Controls_IToolTip2::PlacementRect(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip2)->put_PlacementRect(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ToolTip) consume_Windows_UI_Xaml_Controls_IToolTipFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IToolTipFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTipFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::ToolTip{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::PlacementProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::PlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTipServiceStatics)->get_PlacementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::GetPlacement(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::GetPlacement(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTipServiceStatics)->GetPlacement(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::SetPlacement(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::SetPlacement(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTipServiceStatics)->SetPlacement(*(void**)(&element), static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::PlacementTargetProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::PlacementTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTipServiceStatics)->get_PlacementTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::GetPlacementTarget(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::GetPlacementTarget(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTipServiceStatics)->GetPlacementTarget(*(void**)(&element), &result)); return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::SetPlacementTarget(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::SetPlacementTarget(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTipServiceStatics)->SetPlacementTarget(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::ToolTipProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::ToolTipProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTipServiceStatics)->get_ToolTipProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::GetToolTip(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::GetToolTip(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTipServiceStatics)->GetToolTip(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::SetToolTip(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics::SetToolTip(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTipServiceStatics)->SetToolTip(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipStatics::HorizontalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToolTipStatics::HorizontalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTipStatics)->get_HorizontalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipStatics::IsOpenProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToolTipStatics::IsOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTipStatics)->get_IsOpenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipStatics::PlacementProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToolTipStatics::PlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTipStatics)->get_PlacementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipStatics::PlacementTargetProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToolTipStatics::PlacementTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTipStatics)->get_PlacementTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipStatics::VerticalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToolTipStatics::VerticalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTipStatics)->get_VerticalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipStatics2::PlacementRectProperty() const + template auto consume_Windows_UI_Xaml_Controls_IToolTipStatics2::PlacementRectProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTipStatics2)->get_PlacementRectProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_ITreeView::RootNodes() const + template auto consume_Windows_UI_Xaml_Controls_ITreeView::RootNodes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->get_RootNodes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewSelectionMode) consume_Windows_UI_Xaml_Controls_ITreeView::SelectionMode() const + template auto consume_Windows_UI_Xaml_Controls_ITreeView::SelectionMode() const { winrt::Windows::UI::Xaml::Controls::TreeViewSelectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->get_SelectionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView::SelectionMode(winrt::Windows::UI::Xaml::Controls::TreeViewSelectionMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView::SelectionMode(winrt::Windows::UI::Xaml::Controls::TreeViewSelectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->put_SelectionMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_ITreeView::SelectedNodes() const + template auto consume_Windows_UI_Xaml_Controls_ITreeView::SelectedNodes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->get_SelectedNodes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView::Expand(winrt::Windows::UI::Xaml::Controls::TreeViewNode const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView::Expand(winrt::Windows::UI::Xaml::Controls::TreeViewNode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->Expand(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView::Collapse(winrt::Windows::UI::Xaml::Controls::TreeViewNode const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView::Collapse(winrt::Windows::UI::Xaml::Controls::TreeViewNode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->Collapse(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView::SelectAll() const + template auto consume_Windows_UI_Xaml_Controls_ITreeView::SelectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->SelectAll()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITreeView::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->add_ItemInvoked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITreeView::ItemInvoked_revoker consume_Windows_UI_Xaml_Controls_ITreeView::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemInvoked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView::ItemInvoked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITreeView::ItemInvoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->remove_ItemInvoked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITreeView::Expanding(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView::Expanding(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->add_Expanding(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITreeView::Expanding_revoker consume_Windows_UI_Xaml_Controls_ITreeView::Expanding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView::Expanding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Expanding(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView::Expanding(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITreeView::Expanding(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->remove_Expanding(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITreeView::Collapsed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView::Collapsed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->add_Collapsed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITreeView::Collapsed_revoker consume_Windows_UI_Xaml_Controls_ITreeView::Collapsed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView::Collapsed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Collapsed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView::Collapsed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITreeView::Collapsed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->remove_Collapsed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewNode) consume_Windows_UI_Xaml_Controls_ITreeView2::NodeFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::NodeFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->NodeFromContainer(*(void**)(&container), &result)); return winrt::Windows::UI::Xaml::Controls::TreeViewNode{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_ITreeView2::ContainerFromNode(winrt::Windows::UI::Xaml::Controls::TreeViewNode const& node) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::ContainerFromNode(winrt::Windows::UI::Xaml::Controls::TreeViewNode const& node) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->ContainerFromNode(*(void**)(&node), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITreeView2::ItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::ItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->ItemFromContainer(*(void**)(&container), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_ITreeView2::ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->ContainerFromItem(*(void**)(&item), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeView2::CanDragItems() const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::CanDragItems() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->get_CanDragItems(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2::CanDragItems(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::CanDragItems(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->put_CanDragItems(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeView2::CanReorderItems() const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::CanReorderItems() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->get_CanReorderItems(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2::CanReorderItems(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::CanReorderItems(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->put_CanReorderItems(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_ITreeView2::ItemTemplate() const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::ItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->get_ItemTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->put_ItemTemplate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) consume_Windows_UI_Xaml_Controls_ITreeView2::ItemTemplateSelector() const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::ItemTemplateSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->get_ItemTemplateSelector(&value)); return winrt::Windows::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2::ItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::ItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->put_ItemTemplateSelector(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_ITreeView2::ItemContainerStyle() const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::ItemContainerStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->get_ItemContainerStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2::ItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::ItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->put_ItemContainerStyle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StyleSelector) consume_Windows_UI_Xaml_Controls_ITreeView2::ItemContainerStyleSelector() const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::ItemContainerStyleSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->get_ItemContainerStyleSelector(&value)); return winrt::Windows::UI::Xaml::Controls::StyleSelector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2::ItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::ItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->put_ItemContainerStyleSelector(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_ITreeView2::ItemContainerTransitions() const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::ItemContainerTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->get_ItemContainerTransitions(&value)); return winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2::ItemContainerTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::ItemContainerTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->put_ItemContainerTransitions(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITreeView2::ItemsSource() const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::ItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->get_ItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->put_ItemsSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITreeView2::DragItemsStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::DragItemsStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->add_DragItemsStarting(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITreeView2::DragItemsStarting_revoker consume_Windows_UI_Xaml_Controls_ITreeView2::DragItemsStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::DragItemsStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DragItemsStarting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2::DragItemsStarting(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::DragItemsStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->remove_DragItemsStarting(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITreeView2::DragItemsCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::DragItemsCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->add_DragItemsCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITreeView2::DragItemsCompleted_revoker consume_Windows_UI_Xaml_Controls_ITreeView2::DragItemsCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::DragItemsCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DragItemsCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2::DragItemsCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITreeView2::DragItemsCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->remove_DragItemsCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewNode) consume_Windows_UI_Xaml_Controls_ITreeViewCollapsedEventArgs::Node() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewCollapsedEventArgs::Node() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewCollapsedEventArgs)->get_Node(&value)); return winrt::Windows::UI::Xaml::Controls::TreeViewNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITreeViewCollapsedEventArgs2::Item() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewCollapsedEventArgs2::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewCollapsedEventArgs2)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsCompletedEventArgs::DropResult() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsCompletedEventArgs::DropResult() const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewDragItemsCompletedEventArgs)->get_DropResult(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsCompletedEventArgs::Items() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsCompletedEventArgs::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewDragItemsCompletedEventArgs)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewDragItemsStartingEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewDragItemsStartingEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs::Data() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewDragItemsStartingEventArgs)->get_Data(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs::Items() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewDragItemsStartingEventArgs)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewNode) consume_Windows_UI_Xaml_Controls_ITreeViewExpandingEventArgs::Node() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewExpandingEventArgs::Node() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewExpandingEventArgs)->get_Node(&value)); return winrt::Windows::UI::Xaml::Controls::TreeViewNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITreeViewExpandingEventArgs2::Item() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewExpandingEventArgs2::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewExpandingEventArgs2)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeView) consume_Windows_UI_Xaml_Controls_ITreeViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::TreeView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ITreeViewItem::GlyphOpacity() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem::GlyphOpacity() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->get_GlyphOpacity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItem::GlyphOpacity(double value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem::GlyphOpacity(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->put_GlyphOpacity(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ITreeViewItem::GlyphBrush() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem::GlyphBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->get_GlyphBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItem::GlyphBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem::GlyphBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->put_GlyphBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITreeViewItem::ExpandedGlyph() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem::ExpandedGlyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->get_ExpandedGlyph(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItem::ExpandedGlyph(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem::ExpandedGlyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->put_ExpandedGlyph(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITreeViewItem::CollapsedGlyph() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem::CollapsedGlyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->get_CollapsedGlyph(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItem::CollapsedGlyph(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem::CollapsedGlyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->put_CollapsedGlyph(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ITreeViewItem::GlyphSize() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem::GlyphSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->get_GlyphSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItem::GlyphSize(double value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem::GlyphSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->put_GlyphSize(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeViewItem::IsExpanded() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem::IsExpanded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->get_IsExpanded(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItem::IsExpanded(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem::IsExpanded(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->put_IsExpanded(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewItemTemplateSettings) consume_Windows_UI_Xaml_Controls_ITreeViewItem::TreeViewItemTemplateSettings() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem::TreeViewItemTemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->get_TreeViewItemTemplateSettings(&value)); return winrt::Windows::UI::Xaml::Controls::TreeViewItemTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeViewItem2::HasUnrealizedChildren() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem2::HasUnrealizedChildren() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem2)->get_HasUnrealizedChildren(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItem2::HasUnrealizedChildren(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem2::HasUnrealizedChildren(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem2)->put_HasUnrealizedChildren(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITreeViewItem2::ItemsSource() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem2::ItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem2)->get_ItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItem2::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItem2::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem2)->put_ItemsSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewItem) consume_Windows_UI_Xaml_Controls_ITreeViewItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::TreeViewItem{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITreeViewItemInvokedEventArgs::InvokedItem() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemInvokedEventArgs::InvokedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemInvokedEventArgs)->get_InvokedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItemInvokedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemInvokedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemInvokedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeViewItemInvokedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemInvokedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemInvokedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics::GlyphOpacityProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics::GlyphOpacityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemStatics)->get_GlyphOpacityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics::GlyphBrushProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics::GlyphBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemStatics)->get_GlyphBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics::ExpandedGlyphProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics::ExpandedGlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemStatics)->get_ExpandedGlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics::CollapsedGlyphProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics::CollapsedGlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemStatics)->get_CollapsedGlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics::GlyphSizeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics::GlyphSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemStatics)->get_GlyphSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics::IsExpandedProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics::IsExpandedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemStatics)->get_IsExpandedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics::TreeViewItemTemplateSettingsProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics::TreeViewItemTemplateSettingsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemStatics)->get_TreeViewItemTemplateSettingsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics2::HasUnrealizedChildrenProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics2::HasUnrealizedChildrenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemStatics2)->get_HasUnrealizedChildrenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics2::ItemsSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics2::ItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemStatics2)->get_ItemsSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings::ExpandedGlyphVisibility() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings::ExpandedGlyphVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemTemplateSettings)->get_ExpandedGlyphVisibility(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings::CollapsedGlyphVisibility() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings::CollapsedGlyphVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemTemplateSettings)->get_CollapsedGlyphVisibility(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings::Indentation() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings::Indentation() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemTemplateSettings)->get_Indentation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings::DragItemsCount() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings::DragItemsCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemTemplateSettings)->get_DragItemsCount(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewItemTemplateSettings) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemTemplateSettingsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::TreeViewItemTemplateSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics::ExpandedGlyphVisibilityProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics::ExpandedGlyphVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemTemplateSettingsStatics)->get_ExpandedGlyphVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics::CollapsedGlyphVisibilityProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics::CollapsedGlyphVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemTemplateSettingsStatics)->get_CollapsedGlyphVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics::IndentationProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics::IndentationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemTemplateSettingsStatics)->get_IndentationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics::DragItemsCountProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics::DragItemsCountProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemTemplateSettingsStatics)->get_DragItemsCountProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewList) consume_Windows_UI_Xaml_Controls_ITreeViewListFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewListFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewListFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::TreeViewList{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITreeViewNode::Content() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewNode::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->get_Content(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewNode::Content(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewNode::Content(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->put_Content(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewNode) consume_Windows_UI_Xaml_Controls_ITreeViewNode::Parent() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewNode::Parent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->get_Parent(&value)); return winrt::Windows::UI::Xaml::Controls::TreeViewNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeViewNode::IsExpanded() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewNode::IsExpanded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->get_IsExpanded(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewNode::IsExpanded(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewNode::IsExpanded(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->put_IsExpanded(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeViewNode::HasChildren() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewNode::HasChildren() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->get_HasChildren(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITreeViewNode::Depth() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewNode::Depth() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->get_Depth(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeViewNode::HasUnrealizedChildren() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewNode::HasUnrealizedChildren() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->get_HasUnrealizedChildren(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewNode::HasUnrealizedChildren(bool value) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewNode::HasUnrealizedChildren(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->put_HasUnrealizedChildren(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_ITreeViewNode::Children() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewNode::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->get_Children(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewNode) consume_Windows_UI_Xaml_Controls_ITreeViewNodeFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewNodeFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNodeFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::TreeViewNode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics::ContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNodeStatics)->get_ContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics::DepthProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics::DepthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNodeStatics)->get_DepthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics::IsExpandedProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics::IsExpandedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNodeStatics)->get_IsExpandedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics::HasChildrenProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics::HasChildrenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNodeStatics)->get_HasChildrenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics::SelectionModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics::SelectionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewStatics)->get_SelectionModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics2::CanDragItemsProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics2::CanDragItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewStatics2)->get_CanDragItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics2::CanReorderItemsProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics2::CanReorderItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewStatics2)->get_CanReorderItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics2::ItemTemplateProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics2::ItemTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewStatics2)->get_ItemTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics2::ItemTemplateSelectorProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics2::ItemTemplateSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewStatics2)->get_ItemTemplateSelectorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics2::ItemContainerStyleProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics2::ItemContainerStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewStatics2)->get_ItemContainerStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics2::ItemContainerStyleSelectorProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics2::ItemContainerStyleSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewStatics2)->get_ItemContainerStyleSelectorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics2::ItemContainerTransitionsProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics2::ItemContainerTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewStatics2)->get_ItemContainerTransitionsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics2::ItemsSourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics2::ItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewStatics2)->get_ItemsSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_ITwoPaneView::Pane1() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::Pane1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->get_Pane1(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView::Pane1(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::Pane1(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->put_Pane1(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_ITwoPaneView::Pane2() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::Pane2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->get_Pane2(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView::Pane2(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::Pane2(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->put_Pane2(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_Controls_ITwoPaneView::Pane1Length() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::Pane1Length() const { winrt::Windows::UI::Xaml::GridLength value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->get_Pane1Length(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView::Pane1Length(winrt::Windows::UI::Xaml::GridLength const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::Pane1Length(winrt::Windows::UI::Xaml::GridLength const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->put_Pane1Length(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_Controls_ITwoPaneView::Pane2Length() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::Pane2Length() const { winrt::Windows::UI::Xaml::GridLength value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->get_Pane2Length(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView::Pane2Length(winrt::Windows::UI::Xaml::GridLength const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::Pane2Length(winrt::Windows::UI::Xaml::GridLength const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->put_Pane2Length(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TwoPaneViewPriority) consume_Windows_UI_Xaml_Controls_ITwoPaneView::PanePriority() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::PanePriority() const { winrt::Windows::UI::Xaml::Controls::TwoPaneViewPriority value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->get_PanePriority(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView::PanePriority(winrt::Windows::UI::Xaml::Controls::TwoPaneViewPriority const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::PanePriority(winrt::Windows::UI::Xaml::Controls::TwoPaneViewPriority const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->put_PanePriority(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TwoPaneViewMode) consume_Windows_UI_Xaml_Controls_ITwoPaneView::Mode() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::Mode() const { winrt::Windows::UI::Xaml::Controls::TwoPaneViewMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TwoPaneViewWideModeConfiguration) consume_Windows_UI_Xaml_Controls_ITwoPaneView::WideModeConfiguration() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::WideModeConfiguration() const { winrt::Windows::UI::Xaml::Controls::TwoPaneViewWideModeConfiguration value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->get_WideModeConfiguration(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView::WideModeConfiguration(winrt::Windows::UI::Xaml::Controls::TwoPaneViewWideModeConfiguration const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::WideModeConfiguration(winrt::Windows::UI::Xaml::Controls::TwoPaneViewWideModeConfiguration const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->put_WideModeConfiguration(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TwoPaneViewTallModeConfiguration) consume_Windows_UI_Xaml_Controls_ITwoPaneView::TallModeConfiguration() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::TallModeConfiguration() const { winrt::Windows::UI::Xaml::Controls::TwoPaneViewTallModeConfiguration value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->get_TallModeConfiguration(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView::TallModeConfiguration(winrt::Windows::UI::Xaml::Controls::TwoPaneViewTallModeConfiguration const& value) const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::TallModeConfiguration(winrt::Windows::UI::Xaml::Controls::TwoPaneViewTallModeConfiguration const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->put_TallModeConfiguration(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ITwoPaneView::MinWideModeWidth() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::MinWideModeWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->get_MinWideModeWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView::MinWideModeWidth(double value) const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::MinWideModeWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->put_MinWideModeWidth(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ITwoPaneView::MinTallModeHeight() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::MinTallModeHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->get_MinTallModeHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView::MinTallModeHeight(double value) const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::MinTallModeHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->put_MinTallModeHeight(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITwoPaneView::ModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::ModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->add_ModeChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_ITwoPaneView::ModeChanged_revoker consume_Windows_UI_Xaml_Controls_ITwoPaneView::ModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::ModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ModeChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView::ModeChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneView::ModeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->remove_ModeChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TwoPaneView) consume_Windows_UI_Xaml_Controls_ITwoPaneViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::TwoPaneView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::Pane1Property() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::Pane1Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneViewStatics)->get_Pane1Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::Pane2Property() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::Pane2Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneViewStatics)->get_Pane2Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::Pane1LengthProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::Pane1LengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneViewStatics)->get_Pane1LengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::Pane2LengthProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::Pane2LengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneViewStatics)->get_Pane2LengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::PanePriorityProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::PanePriorityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneViewStatics)->get_PanePriorityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::ModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::ModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneViewStatics)->get_ModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::WideModeConfigurationProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::WideModeConfigurationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneViewStatics)->get_WideModeConfigurationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::TallModeConfigurationProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::TallModeConfigurationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneViewStatics)->get_TallModeConfigurationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::MinWideModeWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::MinWideModeWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneViewStatics)->get_MinWideModeWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::MinTallModeHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics::MinTallModeHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneViewStatics)->get_MinTallModeHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IUIElementCollection::Move(uint32_t oldIndex, uint32_t newIndex) const + template auto consume_Windows_UI_Xaml_Controls_IUIElementCollection::Move(uint32_t oldIndex, uint32_t newIndex) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IUIElementCollection)->Move(oldIndex, newIndex)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IUserControl::Content() const + template auto consume_Windows_UI_Xaml_Controls_IUserControl::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IUserControl)->get_Content(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IUserControl::Content(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IUserControl::Content(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IUserControl)->put_Content(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::UserControl) consume_Windows_UI_Xaml_Controls_IUserControlFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Controls_IUserControlFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IUserControlFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::UserControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IUserControlStatics::ContentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IUserControlStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IUserControlStatics)->get_ContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::ItemHeight() const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::ItemHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_ItemHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::ItemHeight(double value) const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::ItemHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_ItemHeight(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::ItemWidth() const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::ItemWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_ItemWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::ItemWidth(double value) const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::ItemWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_ItemWidth(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::Orientation() const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::Orientation() const { winrt::Windows::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_Orientation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::HorizontalChildrenAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::HorizontalChildrenAlignment() const { winrt::Windows::UI::Xaml::HorizontalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_HorizontalChildrenAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::HorizontalChildrenAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::HorizontalChildrenAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_HorizontalChildrenAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::VerticalChildrenAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::VerticalChildrenAlignment() const { winrt::Windows::UI::Xaml::VerticalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_VerticalChildrenAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::VerticalChildrenAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::VerticalChildrenAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_VerticalChildrenAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::MaximumRowsOrColumns() const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::MaximumRowsOrColumns() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_MaximumRowsOrColumns(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::MaximumRowsOrColumns(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid::MaximumRowsOrColumns(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_MaximumRowsOrColumns(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::ItemHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::ItemHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->get_ItemHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::ItemWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::ItemWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->get_ItemWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::OrientationProperty() const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::HorizontalChildrenAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::HorizontalChildrenAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->get_HorizontalChildrenAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::VerticalChildrenAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::VerticalChildrenAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->get_VerticalChildrenAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::MaximumRowsOrColumnsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::MaximumRowsOrColumnsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->get_MaximumRowsOrColumnsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::RowSpanProperty() const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::RowSpanProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->get_RowSpanProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::GetRowSpan(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::GetRowSpan(winrt::Windows::UI::Xaml::UIElement const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->GetRowSpan(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::SetRowSpan(winrt::Windows::UI::Xaml::UIElement const& element, int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::SetRowSpan(winrt::Windows::UI::Xaml::UIElement const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->SetRowSpan(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::ColumnSpanProperty() const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::ColumnSpanProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->get_ColumnSpanProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::GetColumnSpan(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::GetColumnSpan(winrt::Windows::UI::Xaml::UIElement const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->GetColumnSpan(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::SetColumnSpan(winrt::Windows::UI::Xaml::UIElement const& element, int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics::SetColumnSpan(winrt::Windows::UI::Xaml::UIElement const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->SetColumnSpan(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IViewbox::Child() const + template auto consume_Windows_UI_Xaml_Controls_IViewbox::Child() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IViewbox)->get_Child(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IViewbox::Child(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Controls_IViewbox::Child(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IViewbox)->put_Child(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) consume_Windows_UI_Xaml_Controls_IViewbox::Stretch() const + template auto consume_Windows_UI_Xaml_Controls_IViewbox::Stretch() const { winrt::Windows::UI::Xaml::Media::Stretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IViewbox)->get_Stretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IViewbox::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const + template auto consume_Windows_UI_Xaml_Controls_IViewbox::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IViewbox)->put_Stretch(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StretchDirection) consume_Windows_UI_Xaml_Controls_IViewbox::StretchDirection() const + template auto consume_Windows_UI_Xaml_Controls_IViewbox::StretchDirection() const { winrt::Windows::UI::Xaml::Controls::StretchDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IViewbox)->get_StretchDirection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IViewbox::StretchDirection(winrt::Windows::UI::Xaml::Controls::StretchDirection const& value) const + template auto consume_Windows_UI_Xaml_Controls_IViewbox::StretchDirection(winrt::Windows::UI::Xaml::Controls::StretchDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IViewbox)->put_StretchDirection(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IViewboxStatics::StretchProperty() const + template auto consume_Windows_UI_Xaml_Controls_IViewboxStatics::StretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IViewboxStatics)->get_StretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IViewboxStatics::StretchDirectionProperty() const + template auto consume_Windows_UI_Xaml_Controls_IViewboxStatics::StretchDirectionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IViewboxStatics)->get_StretchDirectionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemContainerGenerator) consume_Windows_UI_Xaml_Controls_IVirtualizingPanel::ItemContainerGenerator() const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingPanel::ItemContainerGenerator() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingPanel)->get_ItemContainerGenerator(&value)); return winrt::Windows::UI::Xaml::Controls::ItemContainerGenerator{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingPanelOverrides::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventArgs const& args) const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingPanelOverrides::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingPanelOverrides)->OnItemsChanged(*(void**)(&sender), *(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingPanelOverrides::OnClearChildren() const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingPanelOverrides::OnClearChildren() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingPanelOverrides)->OnClearChildren()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingPanelOverrides::BringIndexIntoView(int32_t index) const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingPanelOverrides::BringIndexIntoView(int32_t index) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingPanelOverrides)->BringIndexIntoView(index)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingPanelProtected::AddInternalChild(winrt::Windows::UI::Xaml::UIElement const& child) const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingPanelProtected::AddInternalChild(winrt::Windows::UI::Xaml::UIElement const& child) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingPanelProtected)->AddInternalChild(*(void**)(&child))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingPanelProtected::InsertInternalChild(int32_t index, winrt::Windows::UI::Xaml::UIElement const& child) const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingPanelProtected::InsertInternalChild(int32_t index, winrt::Windows::UI::Xaml::UIElement const& child) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingPanelProtected)->InsertInternalChild(index, *(void**)(&child))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingPanelProtected::RemoveInternalChildRange(int32_t index, int32_t range) const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingPanelProtected::RemoveInternalChildRange(int32_t index, int32_t range) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingPanelProtected)->RemoveInternalChildRange(index, range)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel::AreScrollSnapPointsRegular() const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel::AreScrollSnapPointsRegular() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanel)->get_AreScrollSnapPointsRegular(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel::AreScrollSnapPointsRegular(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel::AreScrollSnapPointsRegular(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanel)->put_AreScrollSnapPointsRegular(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel::Orientation() const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel::Orientation() const { winrt::Windows::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanel)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanel)->put_Orientation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel::CleanUpVirtualizedItemEvent(winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel::CleanUpVirtualizedItemEvent(winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanel)->add_CleanUpVirtualizedItemEvent(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel::CleanUpVirtualizedItemEvent_revoker consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel::CleanUpVirtualizedItemEvent(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel::CleanUpVirtualizedItemEvent(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventHandler const& handler) const { return impl::make_event_revoker(this, CleanUpVirtualizedItemEvent(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel::CleanUpVirtualizedItemEvent(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel::CleanUpVirtualizedItemEvent(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanel)->remove_CleanUpVirtualizedItemEvent(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelOverrides::OnCleanUpVirtualizedItem(winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventArgs const& e) const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelOverrides::OnCleanUpVirtualizedItem(winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanelOverrides)->OnCleanUpVirtualizedItem(*(void**)(&e))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics::AreScrollSnapPointsRegularProperty() const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics::AreScrollSnapPointsRegularProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanelStatics)->get_AreScrollSnapPointsRegularProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics::OrientationProperty() const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanelStatics)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics::VirtualizationModeProperty() const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics::VirtualizationModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanelStatics)->get_VirtualizationModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::VirtualizationMode) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics::GetVirtualizationMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics::GetVirtualizationMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::Controls::VirtualizationMode result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanelStatics)->GetVirtualizationMode(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics::SetVirtualizationMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::VirtualizationMode const& value) const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics::SetVirtualizationMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::VirtualizationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanelStatics)->SetVirtualizationMode(*(void**)(&element), static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics::IsVirtualizingProperty() const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics::IsVirtualizingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanelStatics)->get_IsVirtualizingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics::GetIsVirtualizing(winrt::Windows::UI::Xaml::DependencyObject const& o) const + template auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics::GetIsVirtualizing(winrt::Windows::UI::Xaml::DependencyObject const& o) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanelStatics)->GetIsVirtualizing(*(void**)(&o), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebView::Source() const + template auto consume_Windows_UI_Xaml_Controls_IWebView::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->get_Source(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView::Source(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Xaml_Controls_IWebView::Source(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->put_Source(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IWebView::AllowedScriptNotifyUris() const + template auto consume_Windows_UI_Xaml_Controls_IWebView::AllowedScriptNotifyUris() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->get_AllowedScriptNotifyUris(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView::AllowedScriptNotifyUris(param::vector const& value) const + template auto consume_Windows_UI_Xaml_Controls_IWebView::AllowedScriptNotifyUris(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->put_AllowedScriptNotifyUris(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) consume_Windows_UI_Xaml_Controls_IWebView::DataTransferPackage() const + template auto consume_Windows_UI_Xaml_Controls_IWebView::DataTransferPackage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->get_DataTransferPackage(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView::LoadCompleted(winrt::Windows::UI::Xaml::Navigation::LoadCompletedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView::LoadCompleted(winrt::Windows::UI::Xaml::Navigation::LoadCompletedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->add_LoadCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView::LoadCompleted_revoker consume_Windows_UI_Xaml_Controls_IWebView::LoadCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::LoadCompletedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView::LoadCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::LoadCompletedEventHandler const& handler) const { return impl::make_event_revoker(this, LoadCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView::LoadCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView::LoadCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->remove_LoadCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView::ScriptNotify(winrt::Windows::UI::Xaml::Controls::NotifyEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView::ScriptNotify(winrt::Windows::UI::Xaml::Controls::NotifyEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->add_ScriptNotify(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView::ScriptNotify_revoker consume_Windows_UI_Xaml_Controls_IWebView::ScriptNotify(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::NotifyEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView::ScriptNotify(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::NotifyEventHandler const& handler) const { return impl::make_event_revoker(this, ScriptNotify(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView::ScriptNotify(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView::ScriptNotify(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->remove_ScriptNotify(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView::NavigationFailed(winrt::Windows::UI::Xaml::Controls::WebViewNavigationFailedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView::NavigationFailed(winrt::Windows::UI::Xaml::Controls::WebViewNavigationFailedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->add_NavigationFailed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView::NavigationFailed_revoker consume_Windows_UI_Xaml_Controls_IWebView::NavigationFailed(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::WebViewNavigationFailedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView::NavigationFailed(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::WebViewNavigationFailedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationFailed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView::NavigationFailed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView::NavigationFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->remove_NavigationFailed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IWebView::InvokeScript(param::hstring const& scriptName, array_view arguments) const + template auto consume_Windows_UI_Xaml_Controls_IWebView::InvokeScript(param::hstring const& scriptName, array_view arguments) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->InvokeScript(*(void**)(&scriptName), arguments.size(), get_abi(arguments), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView::Navigate(winrt::Windows::Foundation::Uri const& source) const + template auto consume_Windows_UI_Xaml_Controls_IWebView::Navigate(winrt::Windows::Foundation::Uri const& source) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->Navigate(*(void**)(&source))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView::NavigateToString(param::hstring const& text) const + template auto consume_Windows_UI_Xaml_Controls_IWebView::NavigateToString(param::hstring const& text) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->NavigateToString(*(void**)(&text))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebView2::CanGoBack() const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::CanGoBack() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->get_CanGoBack(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebView2::CanGoForward() const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::CanGoForward() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->get_CanGoForward(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IWebView2::DocumentTitle() const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::DocumentTitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->get_DocumentTitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2::NavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::NavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->add_NavigationStarting(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView2::NavigationStarting_revoker consume_Windows_UI_Xaml_Controls_IWebView2::NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationStarting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::NavigationStarting(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView2::NavigationStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_NavigationStarting(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2::ContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::ContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->add_ContentLoading(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView2::ContentLoading_revoker consume_Windows_UI_Xaml_Controls_IWebView2::ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContentLoading(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::ContentLoading(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView2::ContentLoading(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_ContentLoading(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2::DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->add_DOMContentLoaded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView2::DOMContentLoaded_revoker consume_Windows_UI_Xaml_Controls_IWebView2::DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DOMContentLoaded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::DOMContentLoaded(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView2::DOMContentLoaded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_DOMContentLoaded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::GoForward() const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::GoForward() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->GoForward()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::GoBack() const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::GoBack() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->GoBack()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::Refresh() const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::Refresh() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->Refresh()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::Stop() const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Controls_IWebView2::CapturePreviewToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::CapturePreviewToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->CapturePreviewToStreamAsync(*(void**)(&stream), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_IWebView2::InvokeScriptAsync(param::hstring const& scriptName, param::async_iterable const& arguments) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::InvokeScriptAsync(param::hstring const& scriptName, param::async_iterable const& arguments) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->InvokeScriptAsync(*(void**)(&scriptName), *(void**)(&arguments), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Controls_IWebView2::CaptureSelectedContentToDataPackageAsync() const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::CaptureSelectedContentToDataPackageAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->CaptureSelectedContentToDataPackageAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::NavigateToLocalStreamUri(winrt::Windows::Foundation::Uri const& source, winrt::Windows::Web::IUriToStreamResolver const& streamResolver) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::NavigateToLocalStreamUri(winrt::Windows::Foundation::Uri const& source, winrt::Windows::Web::IUriToStreamResolver const& streamResolver) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->NavigateToLocalStreamUri(*(void**)(&source), *(void**)(&streamResolver))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebView2::BuildLocalStreamUri(param::hstring const& contentIdentifier, param::hstring const& relativePath) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::BuildLocalStreamUri(param::hstring const& contentIdentifier, param::hstring const& relativePath) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->BuildLocalStreamUri(*(void**)(&contentIdentifier), *(void**)(&relativePath), &result)); return winrt::Windows::Foundation::Uri{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_IWebView2::DefaultBackgroundColor() const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::DefaultBackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->get_DefaultBackgroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::DefaultBackgroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::DefaultBackgroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->put_DefaultBackgroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2::NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->add_NavigationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView2::NavigationCompleted_revoker consume_Windows_UI_Xaml_Controls_IWebView2::NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::NavigationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView2::NavigationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_NavigationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2::FrameNavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::FrameNavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->add_FrameNavigationStarting(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView2::FrameNavigationStarting_revoker consume_Windows_UI_Xaml_Controls_IWebView2::FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameNavigationStarting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::FrameNavigationStarting(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView2::FrameNavigationStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_FrameNavigationStarting(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2::FrameContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::FrameContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->add_FrameContentLoading(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView2::FrameContentLoading_revoker consume_Windows_UI_Xaml_Controls_IWebView2::FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameContentLoading(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::FrameContentLoading(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView2::FrameContentLoading(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_FrameContentLoading(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2::FrameDOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::FrameDOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->add_FrameDOMContentLoaded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView2::FrameDOMContentLoaded_revoker consume_Windows_UI_Xaml_Controls_IWebView2::FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameDOMContentLoaded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::FrameDOMContentLoaded(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView2::FrameDOMContentLoaded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_FrameDOMContentLoaded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2::FrameNavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::FrameNavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->add_FrameNavigationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView2::FrameNavigationCompleted_revoker consume_Windows_UI_Xaml_Controls_IWebView2::FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameNavigationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::FrameNavigationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView2::FrameNavigationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_FrameNavigationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2::LongRunningScriptDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::LongRunningScriptDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->add_LongRunningScriptDetected(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView2::LongRunningScriptDetected_revoker consume_Windows_UI_Xaml_Controls_IWebView2::LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LongRunningScriptDetected(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::LongRunningScriptDetected(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView2::LongRunningScriptDetected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_LongRunningScriptDetected(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2::UnsafeContentWarningDisplaying(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::UnsafeContentWarningDisplaying(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->add_UnsafeContentWarningDisplaying(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView2::UnsafeContentWarningDisplaying_revoker consume_Windows_UI_Xaml_Controls_IWebView2::UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UnsafeContentWarningDisplaying(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::UnsafeContentWarningDisplaying(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView2::UnsafeContentWarningDisplaying(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_UnsafeContentWarningDisplaying(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2::UnviewableContentIdentified(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::UnviewableContentIdentified(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->add_UnviewableContentIdentified(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView2::UnviewableContentIdentified_revoker consume_Windows_UI_Xaml_Controls_IWebView2::UnviewableContentIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::UnviewableContentIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UnviewableContentIdentified(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::UnviewableContentIdentified(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView2::UnviewableContentIdentified(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_UnviewableContentIdentified(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2::NavigateWithHttpRequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& requestMessage) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::NavigateWithHttpRequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& requestMessage) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->NavigateWithHttpRequestMessage(*(void**)(&requestMessage))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebView2::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const + template auto consume_Windows_UI_Xaml_Controls_IWebView2::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->Focus(static_cast(value), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebView3::ContainsFullScreenElement() const + template auto consume_Windows_UI_Xaml_Controls_IWebView3::ContainsFullScreenElement() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView3)->get_ContainsFullScreenElement(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView3::ContainsFullScreenElementChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView3::ContainsFullScreenElementChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView3)->add_ContainsFullScreenElementChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView3::ContainsFullScreenElementChanged_revoker consume_Windows_UI_Xaml_Controls_IWebView3::ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView3::ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContainsFullScreenElementChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView3::ContainsFullScreenElementChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView3::ContainsFullScreenElementChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView3)->remove_ContainsFullScreenElementChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewExecutionMode) consume_Windows_UI_Xaml_Controls_IWebView4::ExecutionMode() const + template auto consume_Windows_UI_Xaml_Controls_IWebView4::ExecutionMode() const { winrt::Windows::UI::Xaml::Controls::WebViewExecutionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView4)->get_ExecutionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IWebView4::DeferredPermissionRequests() const + template auto consume_Windows_UI_Xaml_Controls_IWebView4::DeferredPermissionRequests() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView4)->get_DeferredPermissionRequests(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewSettings) consume_Windows_UI_Xaml_Controls_IWebView4::Settings() const + template auto consume_Windows_UI_Xaml_Controls_IWebView4::Settings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView4)->get_Settings(&value)); return winrt::Windows::UI::Xaml::Controls::WebViewSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView4::UnsupportedUriSchemeIdentified(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView4::UnsupportedUriSchemeIdentified(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView4)->add_UnsupportedUriSchemeIdentified(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView4::UnsupportedUriSchemeIdentified_revoker consume_Windows_UI_Xaml_Controls_IWebView4::UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView4::UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UnsupportedUriSchemeIdentified(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView4::UnsupportedUriSchemeIdentified(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView4::UnsupportedUriSchemeIdentified(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView4)->remove_UnsupportedUriSchemeIdentified(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView4::NewWindowRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView4::NewWindowRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView4)->add_NewWindowRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView4::NewWindowRequested_revoker consume_Windows_UI_Xaml_Controls_IWebView4::NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView4::NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NewWindowRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView4::NewWindowRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView4::NewWindowRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView4)->remove_NewWindowRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView4::PermissionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView4::PermissionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView4)->add_PermissionRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView4::PermissionRequested_revoker consume_Windows_UI_Xaml_Controls_IWebView4::PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView4::PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PermissionRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView4::PermissionRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView4::PermissionRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView4)->remove_PermissionRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView4::AddWebAllowedObject(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& pObject) const + template auto consume_Windows_UI_Xaml_Controls_IWebView4::AddWebAllowedObject(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& pObject) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView4)->AddWebAllowedObject(*(void**)(&name), *(void**)(&pObject))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewDeferredPermissionRequest) consume_Windows_UI_Xaml_Controls_IWebView4::DeferredPermissionRequestById(uint32_t id) const + template auto consume_Windows_UI_Xaml_Controls_IWebView4::DeferredPermissionRequestById(uint32_t id) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView4)->DeferredPermissionRequestById(id, &result)); return winrt::Windows::UI::Xaml::Controls::WebViewDeferredPermissionRequest{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IWebView5::XYFocusLeft() const + template auto consume_Windows_UI_Xaml_Controls_IWebView5::XYFocusLeft() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView5)->get_XYFocusLeft(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView5::XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Controls_IWebView5::XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView5)->put_XYFocusLeft(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IWebView5::XYFocusRight() const + template auto consume_Windows_UI_Xaml_Controls_IWebView5::XYFocusRight() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView5)->get_XYFocusRight(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView5::XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Controls_IWebView5::XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView5)->put_XYFocusRight(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IWebView5::XYFocusUp() const + template auto consume_Windows_UI_Xaml_Controls_IWebView5::XYFocusUp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView5)->get_XYFocusUp(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView5::XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Controls_IWebView5::XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView5)->put_XYFocusUp(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IWebView5::XYFocusDown() const + template auto consume_Windows_UI_Xaml_Controls_IWebView5::XYFocusDown() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView5)->get_XYFocusDown(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView5::XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Controls_IWebView5::XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView5)->put_XYFocusDown(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView6::SeparateProcessLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView6::SeparateProcessLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView6)->add_SeparateProcessLost(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView6::SeparateProcessLost_revoker consume_Windows_UI_Xaml_Controls_IWebView6::SeparateProcessLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView6::SeparateProcessLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SeparateProcessLost(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView6::SeparateProcessLost(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView6::SeparateProcessLost(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView6)->remove_SeparateProcessLost(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView7::WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView7::WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView7)->add_WebResourceRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Controls_IWebView7::WebResourceRequested_revoker consume_Windows_UI_Xaml_Controls_IWebView7::WebResourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Controls_IWebView7::WebResourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, WebResourceRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView7::WebResourceRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Controls_IWebView7::WebResourceRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView7)->remove_WebResourceRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IWebViewBrush::SourceName() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewBrush::SourceName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewBrush)->get_SourceName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewBrush::SourceName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Controls_IWebViewBrush::SourceName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewBrush)->put_SourceName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewBrush::Redraw() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewBrush::Redraw() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewBrush)->Redraw()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewBrush::SetSource(winrt::Windows::UI::Xaml::Controls::WebView const& source) const + template auto consume_Windows_UI_Xaml_Controls_IWebViewBrush::SetSource(winrt::Windows::UI::Xaml::Controls::WebView const& source) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewBrush)->SetSource(*(void**)(&source))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewBrushStatics::SourceNameProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewBrushStatics::SourceNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewBrushStatics)->get_SourceNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewContentLoadingEventArgs::Uri() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewContentLoadingEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewContentLoadingEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewDOMContentLoadedEventArgs::Uri() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewDOMContentLoadedEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewDOMContentLoadedEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest::Uri() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewDeferredPermissionRequest)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewPermissionType) consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest::PermissionType() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest::PermissionType() const { winrt::Windows::UI::Xaml::Controls::WebViewPermissionType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewDeferredPermissionRequest)->get_PermissionType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest::Id() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewDeferredPermissionRequest)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest::Allow() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest::Allow() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewDeferredPermissionRequest)->Allow()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest::Deny() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest::Deny() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewDeferredPermissionRequest)->Deny()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebView) consume_Windows_UI_Xaml_Controls_IWebViewFactory4::CreateInstanceWithExecutionMode(winrt::Windows::UI::Xaml::Controls::WebViewExecutionMode const& executionMode) const + template auto consume_Windows_UI_Xaml_Controls_IWebViewFactory4::CreateInstanceWithExecutionMode(winrt::Windows::UI::Xaml::Controls::WebViewExecutionMode const& executionMode) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewFactory4)->CreateInstanceWithExecutionMode(static_cast(executionMode), &value)); return winrt::Windows::UI::Xaml::Controls::WebView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_IWebViewLongRunningScriptDetectedEventArgs::ExecutionTime() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewLongRunningScriptDetectedEventArgs::ExecutionTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewLongRunningScriptDetectedEventArgs)->get_ExecutionTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebViewLongRunningScriptDetectedEventArgs::StopPageScriptExecution() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewLongRunningScriptDetectedEventArgs::StopPageScriptExecution() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewLongRunningScriptDetectedEventArgs)->get_StopPageScriptExecution(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewLongRunningScriptDetectedEventArgs::StopPageScriptExecution(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IWebViewLongRunningScriptDetectedEventArgs::StopPageScriptExecution(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewLongRunningScriptDetectedEventArgs)->put_StopPageScriptExecution(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewNavigationCompletedEventArgs::Uri() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewNavigationCompletedEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNavigationCompletedEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebViewNavigationCompletedEventArgs::IsSuccess() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewNavigationCompletedEventArgs::IsSuccess() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNavigationCompletedEventArgs)->get_IsSuccess(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) consume_Windows_UI_Xaml_Controls_IWebViewNavigationCompletedEventArgs::WebErrorStatus() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewNavigationCompletedEventArgs::WebErrorStatus() const { winrt::Windows::Web::WebErrorStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNavigationCompletedEventArgs)->get_WebErrorStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewNavigationFailedEventArgs::Uri() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewNavigationFailedEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNavigationFailedEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) consume_Windows_UI_Xaml_Controls_IWebViewNavigationFailedEventArgs::WebErrorStatus() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewNavigationFailedEventArgs::WebErrorStatus() const { winrt::Windows::Web::WebErrorStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNavigationFailedEventArgs)->get_WebErrorStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewNavigationStartingEventArgs::Uri() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewNavigationStartingEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNavigationStartingEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebViewNavigationStartingEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewNavigationStartingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNavigationStartingEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewNavigationStartingEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IWebViewNavigationStartingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNavigationStartingEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs::Uri() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNewWindowRequestedEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs::Referrer() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs::Referrer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNewWindowRequestedEventArgs)->get_Referrer(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNewWindowRequestedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNewWindowRequestedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest::Uri() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewPermissionRequest)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewPermissionType) consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest::PermissionType() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest::PermissionType() const { winrt::Windows::UI::Xaml::Controls::WebViewPermissionType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewPermissionRequest)->get_PermissionType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest::Id() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewPermissionRequest)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewPermissionState) consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest::State() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest::State() const { winrt::Windows::UI::Xaml::Controls::WebViewPermissionState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewPermissionRequest)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest::Defer() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest::Defer() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewPermissionRequest)->Defer()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest::Allow() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest::Allow() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewPermissionRequest)->Allow()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest::Deny() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest::Deny() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewPermissionRequest)->Deny()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewPermissionRequest) consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequestedEventArgs::PermissionRequest() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequestedEventArgs::PermissionRequest() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewPermissionRequestedEventArgs)->get_PermissionRequest(&value)); return winrt::Windows::UI::Xaml::Controls::WebViewPermissionRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebViewSettings::IsJavaScriptEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewSettings::IsJavaScriptEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewSettings)->get_IsJavaScriptEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewSettings::IsJavaScriptEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IWebViewSettings::IsJavaScriptEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewSettings)->put_IsJavaScriptEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebViewSettings::IsIndexedDBEnabled() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewSettings::IsIndexedDBEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewSettings)->get_IsIndexedDBEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewSettings::IsIndexedDBEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IWebViewSettings::IsIndexedDBEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewSettings)->put_IsIndexedDBEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Controls_IWebViewStatics::AnyScriptNotifyUri() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewStatics::AnyScriptNotifyUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics)->get_AnyScriptNotifyUri(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics::SourceProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewStatics::SourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics)->get_SourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics::AllowedScriptNotifyUrisProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewStatics::AllowedScriptNotifyUrisProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics)->get_AllowedScriptNotifyUrisProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics::DataTransferPackageProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewStatics::DataTransferPackageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics)->get_DataTransferPackageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics2::CanGoBackProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewStatics2::CanGoBackProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics2)->get_CanGoBackProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics2::CanGoForwardProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewStatics2::CanGoForwardProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics2)->get_CanGoForwardProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics2::DocumentTitleProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewStatics2::DocumentTitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics2)->get_DocumentTitleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics2::DefaultBackgroundColorProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewStatics2::DefaultBackgroundColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics2)->get_DefaultBackgroundColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics3::ContainsFullScreenElementProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewStatics3::ContainsFullScreenElementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics3)->get_ContainsFullScreenElementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewExecutionMode) consume_Windows_UI_Xaml_Controls_IWebViewStatics4::DefaultExecutionMode() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewStatics4::DefaultExecutionMode() const { winrt::Windows::UI::Xaml::Controls::WebViewExecutionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics4)->get_DefaultExecutionMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Controls_IWebViewStatics4::ClearTemporaryWebDataAsync() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewStatics4::ClearTemporaryWebDataAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics4)->ClearTemporaryWebDataAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics5::XYFocusLeftProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewStatics5::XYFocusLeftProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics5)->get_XYFocusLeftProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics5::XYFocusRightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewStatics5::XYFocusRightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics5)->get_XYFocusRightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics5::XYFocusUpProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewStatics5::XYFocusUpProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics5)->get_XYFocusUpProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics5::XYFocusDownProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewStatics5::XYFocusDownProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics5)->get_XYFocusDownProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewUnsupportedUriSchemeIdentifiedEventArgs::Uri() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewUnsupportedUriSchemeIdentifiedEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewUnsupportedUriSchemeIdentifiedEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebViewUnsupportedUriSchemeIdentifiedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewUnsupportedUriSchemeIdentifiedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewUnsupportedUriSchemeIdentifiedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewUnsupportedUriSchemeIdentifiedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Controls_IWebViewUnsupportedUriSchemeIdentifiedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewUnsupportedUriSchemeIdentifiedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewUnviewableContentIdentifiedEventArgs::Uri() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewUnviewableContentIdentifiedEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewUnviewableContentIdentifiedEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewUnviewableContentIdentifiedEventArgs::Referrer() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewUnviewableContentIdentifiedEventArgs::Referrer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewUnviewableContentIdentifiedEventArgs)->get_Referrer(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IWebViewUnviewableContentIdentifiedEventArgs2::MediaType() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewUnviewableContentIdentifiedEventArgs2::MediaType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewUnviewableContentIdentifiedEventArgs2)->get_MediaType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs::Request() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewWebResourceRequestedEventArgs)->get_Request(&value)); return winrt::Windows::Web::Http::HttpRequestMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs::Response() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs::Response() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewWebResourceRequestedEventArgs)->get_Response(&value)); return winrt::Windows::Web::Http::HttpResponseMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs::Response(winrt::Windows::Web::Http::HttpResponseMessage const& value) const + template auto consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs::Response(winrt::Windows::Web::Http::HttpResponseMessage const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewWebResourceRequestedEventArgs)->put_Response(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs::GetDeferral() const + template auto consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewWebResourceRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IWrapGrid::ItemWidth() const + template auto consume_Windows_UI_Xaml_Controls_IWrapGrid::ItemWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->get_ItemWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWrapGrid::ItemWidth(double value) const + template auto consume_Windows_UI_Xaml_Controls_IWrapGrid::ItemWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->put_ItemWidth(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IWrapGrid::ItemHeight() const + template auto consume_Windows_UI_Xaml_Controls_IWrapGrid::ItemHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->get_ItemHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWrapGrid::ItemHeight(double value) const + template auto consume_Windows_UI_Xaml_Controls_IWrapGrid::ItemHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->put_ItemHeight(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IWrapGrid::Orientation() const + template auto consume_Windows_UI_Xaml_Controls_IWrapGrid::Orientation() const { winrt::Windows::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->get_Orientation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWrapGrid::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const + template auto consume_Windows_UI_Xaml_Controls_IWrapGrid::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->put_Orientation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_Controls_IWrapGrid::HorizontalChildrenAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IWrapGrid::HorizontalChildrenAlignment() const { winrt::Windows::UI::Xaml::HorizontalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->get_HorizontalChildrenAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWrapGrid::HorizontalChildrenAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IWrapGrid::HorizontalChildrenAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->put_HorizontalChildrenAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_Controls_IWrapGrid::VerticalChildrenAlignment() const + template auto consume_Windows_UI_Xaml_Controls_IWrapGrid::VerticalChildrenAlignment() const { winrt::Windows::UI::Xaml::VerticalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->get_VerticalChildrenAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWrapGrid::VerticalChildrenAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const + template auto consume_Windows_UI_Xaml_Controls_IWrapGrid::VerticalChildrenAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->put_VerticalChildrenAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IWrapGrid::MaximumRowsOrColumns() const + template auto consume_Windows_UI_Xaml_Controls_IWrapGrid::MaximumRowsOrColumns() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->get_MaximumRowsOrColumns(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWrapGrid::MaximumRowsOrColumns(int32_t value) const + template auto consume_Windows_UI_Xaml_Controls_IWrapGrid::MaximumRowsOrColumns(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->put_MaximumRowsOrColumns(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWrapGridStatics::ItemWidthProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWrapGridStatics::ItemWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGridStatics)->get_ItemWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWrapGridStatics::ItemHeightProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWrapGridStatics::ItemHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGridStatics)->get_ItemHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWrapGridStatics::OrientationProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWrapGridStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGridStatics)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWrapGridStatics::HorizontalChildrenAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWrapGridStatics::HorizontalChildrenAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGridStatics)->get_HorizontalChildrenAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWrapGridStatics::VerticalChildrenAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWrapGridStatics::VerticalChildrenAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGridStatics)->get_VerticalChildrenAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWrapGridStatics::MaximumRowsOrColumnsProperty() const + template auto consume_Windows_UI_Xaml_Controls_IWrapGridStatics::MaximumRowsOrColumnsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGridStatics)->get_MaximumRowsOrColumnsProperty(&value)); @@ -64478,263 +64478,263 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } - template WINRT_IMPL_AUTO(void) IAppBarOverridesT::OnClosed(winrt::Windows::Foundation::IInspectable const& e) const + template auto IAppBarOverridesT::OnClosed(winrt::Windows::Foundation::IInspectable const& e) const { return shim().template try_as().OnClosed(e); } - template WINRT_IMPL_AUTO(void) IAppBarOverridesT::OnOpened(winrt::Windows::Foundation::IInspectable const& e) const + template auto IAppBarOverridesT::OnOpened(winrt::Windows::Foundation::IInspectable const& e) const { return shim().template try_as().OnOpened(e); } - template WINRT_IMPL_AUTO(void) IAppBarOverrides3T::OnClosing(winrt::Windows::Foundation::IInspectable const& e) const + template auto IAppBarOverrides3T::OnClosing(winrt::Windows::Foundation::IInspectable const& e) const { return shim().template try_as().OnClosing(e); } - template WINRT_IMPL_AUTO(void) IAppBarOverrides3T::OnOpening(winrt::Windows::Foundation::IInspectable const& e) const + template auto IAppBarOverrides3T::OnOpening(winrt::Windows::Foundation::IInspectable const& e) const { return shim().template try_as().OnOpening(e); } - template WINRT_IMPL_AUTO(void) IComboBoxOverridesT::OnDropDownClosed(winrt::Windows::Foundation::IInspectable const& e) const + template auto IComboBoxOverridesT::OnDropDownClosed(winrt::Windows::Foundation::IInspectable const& e) const { return shim().template try_as().OnDropDownClosed(e); } - template WINRT_IMPL_AUTO(void) IComboBoxOverridesT::OnDropDownOpened(winrt::Windows::Foundation::IInspectable const& e) const + template auto IComboBoxOverridesT::OnDropDownOpened(winrt::Windows::Foundation::IInspectable const& e) const { return shim().template try_as().OnDropDownOpened(e); } - template WINRT_IMPL_AUTO(void) IContentControlOverridesT::OnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const + template auto IContentControlOverridesT::OnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const { return shim().template try_as().OnContentChanged(oldContent, newContent); } - template WINRT_IMPL_AUTO(void) IContentControlOverridesT::OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const + template auto IContentControlOverridesT::OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const { return shim().template try_as().OnContentTemplateChanged(oldContentTemplate, newContentTemplate); } - template WINRT_IMPL_AUTO(void) IContentControlOverridesT::OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const + template auto IContentControlOverridesT::OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const { return shim().template try_as().OnContentTemplateSelectorChanged(oldContentTemplateSelector, newContentTemplateSelector); } - template WINRT_IMPL_AUTO(void) IContentPresenterOverridesT::OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const + template auto IContentPresenterOverridesT::OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const { return shim().template try_as().OnContentTemplateChanged(oldContentTemplate, newContentTemplate); } - template WINRT_IMPL_AUTO(void) IContentPresenterOverridesT::OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const + template auto IContentPresenterOverridesT::OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const { return shim().template try_as().OnContentTemplateSelectorChanged(oldContentTemplateSelector, newContentTemplateSelector); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnPointerEntered(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const + template auto IControlOverridesT::OnPointerEntered(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { return shim().template try_as().OnPointerEntered(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnPointerPressed(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const + template auto IControlOverridesT::OnPointerPressed(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { return shim().template try_as().OnPointerPressed(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnPointerMoved(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const + template auto IControlOverridesT::OnPointerMoved(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { return shim().template try_as().OnPointerMoved(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnPointerReleased(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const + template auto IControlOverridesT::OnPointerReleased(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { return shim().template try_as().OnPointerReleased(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnPointerExited(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const + template auto IControlOverridesT::OnPointerExited(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { return shim().template try_as().OnPointerExited(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnPointerCaptureLost(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const + template auto IControlOverridesT::OnPointerCaptureLost(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { return shim().template try_as().OnPointerCaptureLost(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnPointerCanceled(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const + template auto IControlOverridesT::OnPointerCanceled(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { return shim().template try_as().OnPointerCanceled(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnPointerWheelChanged(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const + template auto IControlOverridesT::OnPointerWheelChanged(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { return shim().template try_as().OnPointerWheelChanged(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnTapped(winrt::Windows::UI::Xaml::Input::TappedRoutedEventArgs const& e) const + template auto IControlOverridesT::OnTapped(winrt::Windows::UI::Xaml::Input::TappedRoutedEventArgs const& e) const { return shim().template try_as().OnTapped(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnDoubleTapped(winrt::Windows::UI::Xaml::Input::DoubleTappedRoutedEventArgs const& e) const + template auto IControlOverridesT::OnDoubleTapped(winrt::Windows::UI::Xaml::Input::DoubleTappedRoutedEventArgs const& e) const { return shim().template try_as().OnDoubleTapped(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnHolding(winrt::Windows::UI::Xaml::Input::HoldingRoutedEventArgs const& e) const + template auto IControlOverridesT::OnHolding(winrt::Windows::UI::Xaml::Input::HoldingRoutedEventArgs const& e) const { return shim().template try_as().OnHolding(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnRightTapped(winrt::Windows::UI::Xaml::Input::RightTappedRoutedEventArgs const& e) const + template auto IControlOverridesT::OnRightTapped(winrt::Windows::UI::Xaml::Input::RightTappedRoutedEventArgs const& e) const { return shim().template try_as().OnRightTapped(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnManipulationStarting(winrt::Windows::UI::Xaml::Input::ManipulationStartingRoutedEventArgs const& e) const + template auto IControlOverridesT::OnManipulationStarting(winrt::Windows::UI::Xaml::Input::ManipulationStartingRoutedEventArgs const& e) const { return shim().template try_as().OnManipulationStarting(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnManipulationInertiaStarting(winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingRoutedEventArgs const& e) const + template auto IControlOverridesT::OnManipulationInertiaStarting(winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingRoutedEventArgs const& e) const { return shim().template try_as().OnManipulationInertiaStarting(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnManipulationStarted(winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs const& e) const + template auto IControlOverridesT::OnManipulationStarted(winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs const& e) const { return shim().template try_as().OnManipulationStarted(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnManipulationDelta(winrt::Windows::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs const& e) const + template auto IControlOverridesT::OnManipulationDelta(winrt::Windows::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs const& e) const { return shim().template try_as().OnManipulationDelta(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnManipulationCompleted(winrt::Windows::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs const& e) const + template auto IControlOverridesT::OnManipulationCompleted(winrt::Windows::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs const& e) const { return shim().template try_as().OnManipulationCompleted(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const + template auto IControlOverridesT::OnKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { return shim().template try_as().OnKeyUp(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const + template auto IControlOverridesT::OnKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { return shim().template try_as().OnKeyDown(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnGotFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const + template auto IControlOverridesT::OnGotFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const { return shim().template try_as().OnGotFocus(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnLostFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const + template auto IControlOverridesT::OnLostFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const { return shim().template try_as().OnLostFocus(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnDragEnter(winrt::Windows::UI::Xaml::DragEventArgs const& e) const + template auto IControlOverridesT::OnDragEnter(winrt::Windows::UI::Xaml::DragEventArgs const& e) const { return shim().template try_as().OnDragEnter(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnDragLeave(winrt::Windows::UI::Xaml::DragEventArgs const& e) const + template auto IControlOverridesT::OnDragLeave(winrt::Windows::UI::Xaml::DragEventArgs const& e) const { return shim().template try_as().OnDragLeave(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnDragOver(winrt::Windows::UI::Xaml::DragEventArgs const& e) const + template auto IControlOverridesT::OnDragOver(winrt::Windows::UI::Xaml::DragEventArgs const& e) const { return shim().template try_as().OnDragOver(e); } - template WINRT_IMPL_AUTO(void) IControlOverridesT::OnDrop(winrt::Windows::UI::Xaml::DragEventArgs const& e) const + template auto IControlOverridesT::OnDrop(winrt::Windows::UI::Xaml::DragEventArgs const& e) const { return shim().template try_as().OnDrop(e); } - template WINRT_IMPL_AUTO(void) IControlOverrides6T::OnPreviewKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const + template auto IControlOverrides6T::OnPreviewKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { return shim().template try_as().OnPreviewKeyDown(e); } - template WINRT_IMPL_AUTO(void) IControlOverrides6T::OnPreviewKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const + template auto IControlOverrides6T::OnPreviewKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { return shim().template try_as().OnPreviewKeyUp(e); } - template WINRT_IMPL_AUTO(void) IControlOverrides6T::OnCharacterReceived(winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs const& e) const + template auto IControlOverrides6T::OnCharacterReceived(winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs const& e) const { return shim().template try_as().OnCharacterReceived(e); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) IDataTemplateSelectorOverridesT::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const + template auto IDataTemplateSelectorOverridesT::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const { return shim().template try_as().SelectTemplateCore(item, container); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) IDataTemplateSelectorOverrides2T::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item) const + template auto IDataTemplateSelectorOverrides2T::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item) const { return shim().template try_as().SelectTemplateCore(item); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyle) IGroupStyleSelectorOverridesT::SelectGroupStyleCore(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const + template auto IGroupStyleSelectorOverridesT::SelectGroupStyleCore(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const { return shim().template try_as().SelectGroupStyleCore(group, level); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) IInkToolbarCustomPenOverridesT::CreateInkDrawingAttributesCore(winrt::Windows::UI::Xaml::Media::Brush const& brush, double strokeWidth) const + template auto IInkToolbarCustomPenOverridesT::CreateInkDrawingAttributesCore(winrt::Windows::UI::Xaml::Media::Brush const& brush, double strokeWidth) const { return shim().template try_as().CreateInkDrawingAttributesCore(brush, strokeWidth); } - template WINRT_IMPL_AUTO(bool) IItemsControlOverridesT::IsItemItsOwnContainerOverride(winrt::Windows::Foundation::IInspectable const& item) const + template auto IItemsControlOverridesT::IsItemItsOwnContainerOverride(winrt::Windows::Foundation::IInspectable const& item) const { return shim().template try_as().IsItemItsOwnContainerOverride(item); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) IItemsControlOverridesT::GetContainerForItemOverride() const + template auto IItemsControlOverridesT::GetContainerForItemOverride() const { return shim().template try_as().GetContainerForItemOverride(); } - template WINRT_IMPL_AUTO(void) IItemsControlOverridesT::ClearContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const + template auto IItemsControlOverridesT::ClearContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const { return shim().template try_as().ClearContainerForItemOverride(element, item); } - template WINRT_IMPL_AUTO(void) IItemsControlOverridesT::PrepareContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const + template auto IItemsControlOverridesT::PrepareContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const { return shim().template try_as().PrepareContainerForItemOverride(element, item); } - template WINRT_IMPL_AUTO(void) IItemsControlOverridesT::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& e) const + template auto IItemsControlOverridesT::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& e) const { return shim().template try_as().OnItemsChanged(e); } - template WINRT_IMPL_AUTO(void) IItemsControlOverridesT::OnItemContainerStyleChanged(winrt::Windows::UI::Xaml::Style const& oldItemContainerStyle, winrt::Windows::UI::Xaml::Style const& newItemContainerStyle) const + template auto IItemsControlOverridesT::OnItemContainerStyleChanged(winrt::Windows::UI::Xaml::Style const& oldItemContainerStyle, winrt::Windows::UI::Xaml::Style const& newItemContainerStyle) const { return shim().template try_as().OnItemContainerStyleChanged(oldItemContainerStyle, newItemContainerStyle); } - template WINRT_IMPL_AUTO(void) IItemsControlOverridesT::OnItemContainerStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::StyleSelector const& oldItemContainerStyleSelector, winrt::Windows::UI::Xaml::Controls::StyleSelector const& newItemContainerStyleSelector) const + template auto IItemsControlOverridesT::OnItemContainerStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::StyleSelector const& oldItemContainerStyleSelector, winrt::Windows::UI::Xaml::Controls::StyleSelector const& newItemContainerStyleSelector) const { return shim().template try_as().OnItemContainerStyleSelectorChanged(oldItemContainerStyleSelector, newItemContainerStyleSelector); } - template WINRT_IMPL_AUTO(void) IItemsControlOverridesT::OnItemTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldItemTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newItemTemplate) const + template auto IItemsControlOverridesT::OnItemTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldItemTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newItemTemplate) const { return shim().template try_as().OnItemTemplateChanged(oldItemTemplate, newItemTemplate); } - template WINRT_IMPL_AUTO(void) IItemsControlOverridesT::OnItemTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldItemTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newItemTemplateSelector) const + template auto IItemsControlOverridesT::OnItemTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldItemTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newItemTemplateSelector) const { return shim().template try_as().OnItemTemplateSelectorChanged(oldItemTemplateSelector, newItemTemplateSelector); } - template WINRT_IMPL_AUTO(void) IItemsControlOverridesT::OnGroupStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& oldGroupStyleSelector, winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& newGroupStyleSelector) const + template auto IItemsControlOverridesT::OnGroupStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& oldGroupStyleSelector, winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& newGroupStyleSelector) const { return shim().template try_as().OnGroupStyleSelectorChanged(oldGroupStyleSelector, newGroupStyleSelector); } - template WINRT_IMPL_AUTO(void) IPageOverridesT::OnNavigatedFrom(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const + template auto IPageOverridesT::OnNavigatedFrom(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const { return shim().template try_as().OnNavigatedFrom(e); } - template WINRT_IMPL_AUTO(void) IPageOverridesT::OnNavigatedTo(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const + template auto IPageOverridesT::OnNavigatedTo(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const { return shim().template try_as().OnNavigatedTo(e); } - template WINRT_IMPL_AUTO(void) IPageOverridesT::OnNavigatingFrom(winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventArgs const& e) const + template auto IPageOverridesT::OnNavigatingFrom(winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventArgs const& e) const { return shim().template try_as().OnNavigatingFrom(e); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) IStyleSelectorOverridesT::SelectStyleCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const + template auto IStyleSelectorOverridesT::SelectStyleCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const { return shim().template try_as().SelectStyleCore(item, container); } - template WINRT_IMPL_AUTO(void) IToggleSwitchOverridesT::OnToggled() const + template auto IToggleSwitchOverridesT::OnToggled() const { return shim().template try_as().OnToggled(); } - template WINRT_IMPL_AUTO(void) IToggleSwitchOverridesT::OnOnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const + template auto IToggleSwitchOverridesT::OnOnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const { return shim().template try_as().OnOnContentChanged(oldContent, newContent); } - template WINRT_IMPL_AUTO(void) IToggleSwitchOverridesT::OnOffContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const + template auto IToggleSwitchOverridesT::OnOffContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const { return shim().template try_as().OnOffContentChanged(oldContent, newContent); } - template WINRT_IMPL_AUTO(void) IToggleSwitchOverridesT::OnHeaderChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const + template auto IToggleSwitchOverridesT::OnHeaderChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const { return shim().template try_as().OnHeaderChanged(oldContent, newContent); } - template WINRT_IMPL_AUTO(void) IVirtualizingPanelOverridesT::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventArgs const& args) const + template auto IVirtualizingPanelOverridesT::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventArgs const& args) const { return shim().template try_as().OnItemsChanged(sender, args); } - template WINRT_IMPL_AUTO(void) IVirtualizingPanelOverridesT::OnClearChildren() const + template auto IVirtualizingPanelOverridesT::OnClearChildren() const { return shim().template try_as().OnClearChildren(); } - template WINRT_IMPL_AUTO(void) IVirtualizingPanelOverridesT::BringIndexIntoView(int32_t index) const + template auto IVirtualizingPanelOverridesT::BringIndexIntoView(int32_t index) const { return shim().template try_as().BringIndexIntoView(index); } - template WINRT_IMPL_AUTO(void) IVirtualizingStackPanelOverridesT::OnCleanUpVirtualizedItem(winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventArgs const& e) const + template auto IVirtualizingStackPanelOverridesT::OnCleanUpVirtualizedItem(winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventArgs const& e) const { return shim().template try_as().OnCleanUpVirtualizedItem(e); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Core.Direct.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Core.Direct.h index d5dac4d4..636c00d2 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Core.Direct.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Core.Direct.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Core_Direct_H #define WINRT_Windows_UI_Xaml_Core_Direct_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.UI.2.h" @@ -15,265 +15,265 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Core.Direct.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetObject(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetObject(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetObject(*(void**)(&xamlDirectObject), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetXamlDirectObject(winrt::Windows::Foundation::IInspectable const& object) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetXamlDirectObject(winrt::Windows::Foundation::IInspectable const& object) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetXamlDirectObject(*(void**)(&object), &result)); return winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::CreateInstance(winrt::Windows::UI::Xaml::Core::Direct::XamlTypeIndex const& typeIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::CreateInstance(winrt::Windows::UI::Xaml::Core::Direct::XamlTypeIndex const& typeIndex) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->CreateInstance(static_cast(typeIndex), &result)); return winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetObjectProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetXamlDirectObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetXamlDirectObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetXamlDirectObjectProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetBooleanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, bool value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetBooleanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetBooleanProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetDoubleProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, double value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetDoubleProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetDoubleProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetInt32Property(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, int32_t value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetInt32Property(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetInt32Property(*(void**)(&xamlDirectObject), static_cast(propertyIndex), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetStringProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetStringProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetStringProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetDateTimeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetDateTimeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetDateTimeProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetPointProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetPointProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetPointProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetRectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetRectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetRectProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetSizeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::Size const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetSizeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::Size const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetSizeProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetTimeSpanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetTimeSpanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetTimeSpanProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetColorProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetColorProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetColorProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetCornerRadiusProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::CornerRadius const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetCornerRadiusProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::CornerRadius const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetCornerRadiusProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetDurationProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Duration const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetDurationProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Duration const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetDurationProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetGridLengthProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::GridLength const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetGridLengthProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::GridLength const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetGridLengthProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetThicknessProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetThicknessProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetThicknessProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetMatrixProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Media::Matrix const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetMatrixProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Media::Matrix const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetMatrixProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetMatrix3DProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetMatrix3DProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetMatrix3DProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetEnumProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, uint32_t value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::SetEnumProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->SetEnumProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetObjectProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetXamlDirectObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetXamlDirectObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetXamlDirectObjectProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), &result)); return winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetBooleanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetBooleanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetBooleanProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), &result)); return result; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetDoubleProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetDoubleProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { double result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetDoubleProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetInt32Property(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetInt32Property(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetInt32Property(*(void**)(&xamlDirectObject), static_cast(propertyIndex), &result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetStringProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetStringProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetStringProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetDateTimeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetDateTimeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { winrt::Windows::Foundation::DateTime result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetDateTimeProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetPointProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetPointProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetPointProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetRectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetRectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetRectProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetSizeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetSizeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { winrt::Windows::Foundation::Size result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetSizeProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetTimeSpanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetTimeSpanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { winrt::Windows::Foundation::TimeSpan result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetTimeSpanProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetColorProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetColorProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { winrt::Windows::UI::Color result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetColorProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetCornerRadiusProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetCornerRadiusProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { winrt::Windows::UI::Xaml::CornerRadius result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetCornerRadiusProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetDurationProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetDurationProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { winrt::Windows::UI::Xaml::Duration result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetDurationProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetGridLengthProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetGridLengthProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { winrt::Windows::UI::Xaml::GridLength result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetGridLengthProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetThicknessProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetThicknessProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { winrt::Windows::UI::Xaml::Thickness result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetThicknessProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Matrix) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetMatrixProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetMatrixProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { winrt::Windows::UI::Xaml::Media::Matrix result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetMatrixProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetMatrix3DProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetMatrix3DProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetMatrix3DProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetEnumProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetEnumProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { uint32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetEnumProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::ClearProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::ClearProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->ClearProperty(*(void**)(&xamlDirectObject), static_cast(propertyIndex))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetCollectionCount(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetCollectionCount(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject) const { uint32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetCollectionCount(*(void**)(&xamlDirectObject), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetXamlDirectObjectFromCollectionAt(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, uint32_t index) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::GetXamlDirectObjectFromCollectionAt(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, uint32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->GetXamlDirectObjectFromCollectionAt(*(void**)(&xamlDirectObject), index, &result)); return winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::AddToCollection(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::AddToCollection(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->AddToCollection(*(void**)(&xamlDirectObject), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::InsertIntoCollectionAt(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, uint32_t index, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::InsertIntoCollectionAt(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, uint32_t index, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->InsertIntoCollectionAt(*(void**)(&xamlDirectObject), index, *(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::RemoveFromCollection(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::RemoveFromCollection(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->RemoveFromCollection(*(void**)(&xamlDirectObject), *(void**)(&value), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::RemoveFromCollectionAt(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, uint32_t index) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::RemoveFromCollectionAt(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, uint32_t index) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->RemoveFromCollectionAt(*(void**)(&xamlDirectObject), index)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::ClearCollection(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::ClearCollection(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->ClearCollection(*(void**)(&xamlDirectObject))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::AddEventHandler(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlEventIndex const& eventIndex, winrt::Windows::Foundation::IInspectable const& handler) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::AddEventHandler(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlEventIndex const& eventIndex, winrt::Windows::Foundation::IInspectable const& handler) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->AddEventHandler(*(void**)(&xamlDirectObject), static_cast(eventIndex), *(void**)(&handler))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::AddEventHandler(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlEventIndex const& eventIndex, winrt::Windows::Foundation::IInspectable const& handler, bool handledEventsToo) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::AddEventHandler(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlEventIndex const& eventIndex, winrt::Windows::Foundation::IInspectable const& handler, bool handledEventsToo) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->AddEventHandler_HandledEventsToo(*(void**)(&xamlDirectObject), static_cast(eventIndex), *(void**)(&handler), handledEventsToo)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::RemoveEventHandler(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlEventIndex const& eventIndex, winrt::Windows::Foundation::IInspectable const& handler) const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect::RemoveEventHandler(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlEventIndex const& eventIndex, winrt::Windows::Foundation::IInspectable const& handler) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect)->RemoveEventHandler(*(void**)(&xamlDirectObject), static_cast(eventIndex), *(void**)(&handler))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Core::Direct::XamlDirect) consume_Windows_UI_Xaml_Core_Direct_IXamlDirectStatics::GetDefault() const + template auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirectStatics::GetDefault() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectStatics)->GetDefault(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Data.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Data.h index 0726072d..346037d3 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Data.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Data.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Data_H #define WINRT_Windows_UI_Xaml_Data_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,537 +14,537 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Data.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyPath) consume_Windows_UI_Xaml_Data_IBinding::Path() const + template auto consume_Windows_UI_Xaml_Data_IBinding::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->get_Path(&value)); return winrt::Windows::UI::Xaml::PropertyPath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding::Path(winrt::Windows::UI::Xaml::PropertyPath const& value) const + template auto consume_Windows_UI_Xaml_Data_IBinding::Path(winrt::Windows::UI::Xaml::PropertyPath const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->put_Path(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::BindingMode) consume_Windows_UI_Xaml_Data_IBinding::Mode() const + template auto consume_Windows_UI_Xaml_Data_IBinding::Mode() const { winrt::Windows::UI::Xaml::Data::BindingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding::Mode(winrt::Windows::UI::Xaml::Data::BindingMode const& value) const + template auto consume_Windows_UI_Xaml_Data_IBinding::Mode(winrt::Windows::UI::Xaml::Data::BindingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_IBinding::Source() const + template auto consume_Windows_UI_Xaml_Data_IBinding::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->get_Source(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding::Source(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Data_IBinding::Source(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->put_Source(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::RelativeSource) consume_Windows_UI_Xaml_Data_IBinding::RelativeSource() const + template auto consume_Windows_UI_Xaml_Data_IBinding::RelativeSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->get_RelativeSource(&value)); return winrt::Windows::UI::Xaml::Data::RelativeSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding::RelativeSource(winrt::Windows::UI::Xaml::Data::RelativeSource const& value) const + template auto consume_Windows_UI_Xaml_Data_IBinding::RelativeSource(winrt::Windows::UI::Xaml::Data::RelativeSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->put_RelativeSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Data_IBinding::ElementName() const + template auto consume_Windows_UI_Xaml_Data_IBinding::ElementName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->get_ElementName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding::ElementName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Data_IBinding::ElementName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->put_ElementName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::IValueConverter) consume_Windows_UI_Xaml_Data_IBinding::Converter() const + template auto consume_Windows_UI_Xaml_Data_IBinding::Converter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->get_Converter(&value)); return winrt::Windows::UI::Xaml::Data::IValueConverter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding::Converter(winrt::Windows::UI::Xaml::Data::IValueConverter const& value) const + template auto consume_Windows_UI_Xaml_Data_IBinding::Converter(winrt::Windows::UI::Xaml::Data::IValueConverter const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->put_Converter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_IBinding::ConverterParameter() const + template auto consume_Windows_UI_Xaml_Data_IBinding::ConverterParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->get_ConverterParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding::ConverterParameter(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Data_IBinding::ConverterParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->put_ConverterParameter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Data_IBinding::ConverterLanguage() const + template auto consume_Windows_UI_Xaml_Data_IBinding::ConverterLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->get_ConverterLanguage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding::ConverterLanguage(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Data_IBinding::ConverterLanguage(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->put_ConverterLanguage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_IBinding2::FallbackValue() const + template auto consume_Windows_UI_Xaml_Data_IBinding2::FallbackValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding2)->get_FallbackValue(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding2::FallbackValue(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Data_IBinding2::FallbackValue(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding2)->put_FallbackValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_IBinding2::TargetNullValue() const + template auto consume_Windows_UI_Xaml_Data_IBinding2::TargetNullValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding2)->get_TargetNullValue(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding2::TargetNullValue(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Data_IBinding2::TargetNullValue(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding2)->put_TargetNullValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::UpdateSourceTrigger) consume_Windows_UI_Xaml_Data_IBinding2::UpdateSourceTrigger() const + template auto consume_Windows_UI_Xaml_Data_IBinding2::UpdateSourceTrigger() const { winrt::Windows::UI::Xaml::Data::UpdateSourceTrigger value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding2)->get_UpdateSourceTrigger(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding2::UpdateSourceTrigger(winrt::Windows::UI::Xaml::Data::UpdateSourceTrigger const& value) const + template auto consume_Windows_UI_Xaml_Data_IBinding2::UpdateSourceTrigger(winrt::Windows::UI::Xaml::Data::UpdateSourceTrigger const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding2)->put_UpdateSourceTrigger(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::BindingBase) consume_Windows_UI_Xaml_Data_IBindingBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Data_IBindingBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBindingBaseFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Data::BindingBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_IBindingExpression::DataItem() const + template auto consume_Windows_UI_Xaml_Data_IBindingExpression::DataItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBindingExpression)->get_DataItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::Binding) consume_Windows_UI_Xaml_Data_IBindingExpression::ParentBinding() const + template auto consume_Windows_UI_Xaml_Data_IBindingExpression::ParentBinding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBindingExpression)->get_ParentBinding(&value)); return winrt::Windows::UI::Xaml::Data::Binding{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBindingExpression::UpdateSource() const + template auto consume_Windows_UI_Xaml_Data_IBindingExpression::UpdateSource() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBindingExpression)->UpdateSource()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::Binding) consume_Windows_UI_Xaml_Data_IBindingFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Data_IBindingFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBindingFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Data::Binding{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBindingOperationsStatics::SetBinding(winrt::Windows::UI::Xaml::DependencyObject const& target, winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::UI::Xaml::Data::BindingBase const& binding) const + template auto consume_Windows_UI_Xaml_Data_IBindingOperationsStatics::SetBinding(winrt::Windows::UI::Xaml::DependencyObject const& target, winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::UI::Xaml::Data::BindingBase const& binding) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBindingOperationsStatics)->SetBinding(*(void**)(&target), *(void**)(&dp), *(void**)(&binding))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_ICollectionView::CurrentItem() const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::CurrentItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->get_CurrentItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Data_ICollectionView::CurrentPosition() const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::CurrentPosition() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->get_CurrentPosition(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView::IsCurrentAfterLast() const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::IsCurrentAfterLast() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->get_IsCurrentAfterLast(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView::IsCurrentBeforeFirst() const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::IsCurrentBeforeFirst() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->get_IsCurrentBeforeFirst(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) consume_Windows_UI_Xaml_Data_ICollectionView::CollectionGroups() const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::CollectionGroups() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->get_CollectionGroups(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView::HasMoreItems() const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::HasMoreItems() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->get_HasMoreItems(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Data_ICollectionView::CurrentChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::CurrentChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->add_CurrentChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Data_ICollectionView::CurrentChanged_revoker consume_Windows_UI_Xaml_Data_ICollectionView::CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, CurrentChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ICollectionView::CurrentChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Data_ICollectionView::CurrentChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->remove_CurrentChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Data_ICollectionView::CurrentChanging(winrt::Windows::UI::Xaml::Data::CurrentChangingEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::CurrentChanging(winrt::Windows::UI::Xaml::Data::CurrentChangingEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->add_CurrentChanging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Data_ICollectionView::CurrentChanging_revoker consume_Windows_UI_Xaml_Data_ICollectionView::CurrentChanging(auto_revoke_t, winrt::Windows::UI::Xaml::Data::CurrentChangingEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::CurrentChanging(auto_revoke_t, winrt::Windows::UI::Xaml::Data::CurrentChangingEventHandler const& handler) const { return impl::make_event_revoker(this, CurrentChanging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ICollectionView::CurrentChanging(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Data_ICollectionView::CurrentChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->remove_CurrentChanging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView::MoveCurrentTo(winrt::Windows::Foundation::IInspectable const& item) const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::MoveCurrentTo(winrt::Windows::Foundation::IInspectable const& item) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->MoveCurrentTo(*(void**)(&item), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView::MoveCurrentToPosition(int32_t index) const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::MoveCurrentToPosition(int32_t index) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->MoveCurrentToPosition(index, &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView::MoveCurrentToFirst() const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::MoveCurrentToFirst() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->MoveCurrentToFirst(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView::MoveCurrentToLast() const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::MoveCurrentToLast() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->MoveCurrentToLast(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView::MoveCurrentToNext() const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::MoveCurrentToNext() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->MoveCurrentToNext(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView::MoveCurrentToPrevious() const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::MoveCurrentToPrevious() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->MoveCurrentToPrevious(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Data_ICollectionView::LoadMoreItemsAsync(uint32_t count) const + template auto consume_Windows_UI_Xaml_Data_ICollectionView::LoadMoreItemsAsync(uint32_t count) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->LoadMoreItemsAsync(count, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::ICollectionView) consume_Windows_UI_Xaml_Data_ICollectionViewFactory::CreateView() const + template auto consume_Windows_UI_Xaml_Data_ICollectionViewFactory::CreateView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewFactory)->CreateView(&result)); return winrt::Windows::UI::Xaml::Data::ICollectionView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_ICollectionViewGroup::Group() const + template auto consume_Windows_UI_Xaml_Data_ICollectionViewGroup::Group() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewGroup)->get_Group(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) consume_Windows_UI_Xaml_Data_ICollectionViewGroup::GroupItems() const + template auto consume_Windows_UI_Xaml_Data_ICollectionViewGroup::GroupItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewGroup)->get_GroupItems(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_ICollectionViewSource::Source() const + template auto consume_Windows_UI_Xaml_Data_ICollectionViewSource::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewSource)->get_Source(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ICollectionViewSource::Source(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Data_ICollectionViewSource::Source(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewSource)->put_Source(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::ICollectionView) consume_Windows_UI_Xaml_Data_ICollectionViewSource::View() const + template auto consume_Windows_UI_Xaml_Data_ICollectionViewSource::View() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewSource)->get_View(&value)); return winrt::Windows::UI::Xaml::Data::ICollectionView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionViewSource::IsSourceGrouped() const + template auto consume_Windows_UI_Xaml_Data_ICollectionViewSource::IsSourceGrouped() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewSource)->get_IsSourceGrouped(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ICollectionViewSource::IsSourceGrouped(bool value) const + template auto consume_Windows_UI_Xaml_Data_ICollectionViewSource::IsSourceGrouped(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewSource)->put_IsSourceGrouped(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyPath) consume_Windows_UI_Xaml_Data_ICollectionViewSource::ItemsPath() const + template auto consume_Windows_UI_Xaml_Data_ICollectionViewSource::ItemsPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewSource)->get_ItemsPath(&value)); return winrt::Windows::UI::Xaml::PropertyPath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ICollectionViewSource::ItemsPath(winrt::Windows::UI::Xaml::PropertyPath const& value) const + template auto consume_Windows_UI_Xaml_Data_ICollectionViewSource::ItemsPath(winrt::Windows::UI::Xaml::PropertyPath const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewSource)->put_ItemsPath(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics::SourceProperty() const + template auto consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics::SourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewSourceStatics)->get_SourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics::ViewProperty() const + template auto consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics::ViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewSourceStatics)->get_ViewProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics::IsSourceGroupedProperty() const + template auto consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics::IsSourceGroupedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewSourceStatics)->get_IsSourceGroupedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics::ItemsPathProperty() const + template auto consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics::ItemsPathProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewSourceStatics)->get_ItemsPathProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICurrentChangingEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICurrentChangingEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgs::IsCancelable() const + template auto consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgs::IsCancelable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICurrentChangingEventArgs)->get_IsCancelable(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::CurrentChangingEventArgs) consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICurrentChangingEventArgsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Data::CurrentChangingEventArgs{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::CurrentChangingEventArgs) consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgsFactory::CreateWithCancelableParameter(bool isCancelable, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgsFactory::CreateWithCancelableParameter(bool isCancelable, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICurrentChangingEventArgsFactory)->CreateWithCancelableParameter(isCancelable, *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Data::CurrentChangingEventArgs{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Data_ICustomProperty::Type() const + template auto consume_Windows_UI_Xaml_Data_ICustomProperty::Type() const { winrt::Windows::UI::Xaml::Interop::TypeName value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICustomProperty)->get_Type(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Data_ICustomProperty::Name() const + template auto consume_Windows_UI_Xaml_Data_ICustomProperty::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICustomProperty)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_ICustomProperty::GetValue(winrt::Windows::Foundation::IInspectable const& target) const + template auto consume_Windows_UI_Xaml_Data_ICustomProperty::GetValue(winrt::Windows::Foundation::IInspectable const& target) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICustomProperty)->GetValue(*(void**)(&target), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ICustomProperty::SetValue(winrt::Windows::Foundation::IInspectable const& target, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Data_ICustomProperty::SetValue(winrt::Windows::Foundation::IInspectable const& target, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICustomProperty)->SetValue(*(void**)(&target), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_ICustomProperty::GetIndexedValue(winrt::Windows::Foundation::IInspectable const& target, winrt::Windows::Foundation::IInspectable const& index) const + template auto consume_Windows_UI_Xaml_Data_ICustomProperty::GetIndexedValue(winrt::Windows::Foundation::IInspectable const& target, winrt::Windows::Foundation::IInspectable const& index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICustomProperty)->GetIndexedValue(*(void**)(&target), *(void**)(&index), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ICustomProperty::SetIndexedValue(winrt::Windows::Foundation::IInspectable const& target, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::IInspectable const& index) const + template auto consume_Windows_UI_Xaml_Data_ICustomProperty::SetIndexedValue(winrt::Windows::Foundation::IInspectable const& target, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::IInspectable const& index) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICustomProperty)->SetIndexedValue(*(void**)(&target), *(void**)(&value), *(void**)(&index))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICustomProperty::CanWrite() const + template auto consume_Windows_UI_Xaml_Data_ICustomProperty::CanWrite() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICustomProperty)->get_CanWrite(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICustomProperty::CanRead() const + template auto consume_Windows_UI_Xaml_Data_ICustomProperty::CanRead() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICustomProperty)->get_CanRead(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::ICustomProperty) consume_Windows_UI_Xaml_Data_ICustomPropertyProvider::GetCustomProperty(param::hstring const& name) const + template auto consume_Windows_UI_Xaml_Data_ICustomPropertyProvider::GetCustomProperty(param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICustomPropertyProvider)->GetCustomProperty(*(void**)(&name), &result)); return winrt::Windows::UI::Xaml::Data::ICustomProperty{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::ICustomProperty) consume_Windows_UI_Xaml_Data_ICustomPropertyProvider::GetIndexedProperty(param::hstring const& name, winrt::Windows::UI::Xaml::Interop::TypeName const& type) const + template auto consume_Windows_UI_Xaml_Data_ICustomPropertyProvider::GetIndexedProperty(param::hstring const& name, winrt::Windows::UI::Xaml::Interop::TypeName const& type) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICustomPropertyProvider)->GetIndexedProperty(*(void**)(&name), impl::bind_in(type), &result)); return winrt::Windows::UI::Xaml::Data::ICustomProperty{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Data_ICustomPropertyProvider::GetStringRepresentation() const + template auto consume_Windows_UI_Xaml_Data_ICustomPropertyProvider::GetStringRepresentation() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICustomPropertyProvider)->GetStringRepresentation(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Data_ICustomPropertyProvider::Type() const + template auto consume_Windows_UI_Xaml_Data_ICustomPropertyProvider::Type() const { winrt::Windows::UI::Xaml::Interop::TypeName value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICustomPropertyProvider)->get_Type(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Data_IItemIndexRange::FirstIndex() const + template auto consume_Windows_UI_Xaml_Data_IItemIndexRange::FirstIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IItemIndexRange)->get_FirstIndex(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Data_IItemIndexRange::Length() const + template auto consume_Windows_UI_Xaml_Data_IItemIndexRange::Length() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IItemIndexRange)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Data_IItemIndexRange::LastIndex() const + template auto consume_Windows_UI_Xaml_Data_IItemIndexRange::LastIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IItemIndexRange)->get_LastIndex(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::ItemIndexRange) consume_Windows_UI_Xaml_Data_IItemIndexRangeFactory::CreateInstance(int32_t firstIndex, uint32_t length, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Data_IItemIndexRangeFactory::CreateInstance(int32_t firstIndex, uint32_t length, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IItemIndexRangeFactory)->CreateInstance(firstIndex, length, *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Data::ItemIndexRange{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IItemsRangeInfo::RangesChanged(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& visibleRange, param::vector_view const& trackedItems) const + template auto consume_Windows_UI_Xaml_Data_IItemsRangeInfo::RangesChanged(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& visibleRange, param::vector_view const& trackedItems) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IItemsRangeInfo)->RangesChanged(*(void**)(&visibleRange), *(void**)(&trackedItems))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Data_INotifyPropertyChanged::PropertyChanged(winrt::Windows::UI::Xaml::Data::PropertyChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Data_INotifyPropertyChanged::PropertyChanged(winrt::Windows::UI::Xaml::Data::PropertyChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::INotifyPropertyChanged)->add_PropertyChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Data_INotifyPropertyChanged::PropertyChanged_revoker consume_Windows_UI_Xaml_Data_INotifyPropertyChanged::PropertyChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Data::PropertyChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Data_INotifyPropertyChanged::PropertyChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Data::PropertyChangedEventHandler const& handler) const { return impl::make_event_revoker(this, PropertyChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_INotifyPropertyChanged::PropertyChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Data_INotifyPropertyChanged::PropertyChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::INotifyPropertyChanged)->remove_PropertyChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Data_IPropertyChangedEventArgs::PropertyName() const + template auto consume_Windows_UI_Xaml_Data_IPropertyChangedEventArgs::PropertyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IPropertyChangedEventArgs)->get_PropertyName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::PropertyChangedEventArgs) consume_Windows_UI_Xaml_Data_IPropertyChangedEventArgsFactory::CreateInstance(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Data_IPropertyChangedEventArgsFactory::CreateInstance(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IPropertyChangedEventArgsFactory)->CreateInstance(*(void**)(&name), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Data::PropertyChangedEventArgs{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::RelativeSourceMode) consume_Windows_UI_Xaml_Data_IRelativeSource::Mode() const + template auto consume_Windows_UI_Xaml_Data_IRelativeSource::Mode() const { winrt::Windows::UI::Xaml::Data::RelativeSourceMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IRelativeSource)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IRelativeSource::Mode(winrt::Windows::UI::Xaml::Data::RelativeSourceMode const& value) const + template auto consume_Windows_UI_Xaml_Data_IRelativeSource::Mode(winrt::Windows::UI::Xaml::Data::RelativeSourceMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IRelativeSource)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::RelativeSource) consume_Windows_UI_Xaml_Data_IRelativeSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Data_IRelativeSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IRelativeSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Data::RelativeSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ISelectionInfo::SelectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const + template auto consume_Windows_UI_Xaml_Data_ISelectionInfo::SelectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ISelectionInfo)->SelectRange(*(void**)(&itemIndexRange))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ISelectionInfo::DeselectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const + template auto consume_Windows_UI_Xaml_Data_ISelectionInfo::DeselectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ISelectionInfo)->DeselectRange(*(void**)(&itemIndexRange))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ISelectionInfo::IsSelected(int32_t index) const + template auto consume_Windows_UI_Xaml_Data_ISelectionInfo::IsSelected(int32_t index) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ISelectionInfo)->IsSelected(index, &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Data_ISelectionInfo::GetSelectedRanges() const + template auto consume_Windows_UI_Xaml_Data_ISelectionInfo::GetSelectedRanges() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ISelectionInfo)->GetSelectedRanges(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Data_ISupportIncrementalLoading::LoadMoreItemsAsync(uint32_t count) const + template auto consume_Windows_UI_Xaml_Data_ISupportIncrementalLoading::LoadMoreItemsAsync(uint32_t count) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ISupportIncrementalLoading)->LoadMoreItemsAsync(count, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ISupportIncrementalLoading::HasMoreItems() const + template auto consume_Windows_UI_Xaml_Data_ISupportIncrementalLoading::HasMoreItems() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ISupportIncrementalLoading)->get_HasMoreItems(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_IValueConverter::Convert(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::UI::Xaml::Interop::TypeName const& targetType, winrt::Windows::Foundation::IInspectable const& parameter, param::hstring const& language) const + template auto consume_Windows_UI_Xaml_Data_IValueConverter::Convert(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::UI::Xaml::Interop::TypeName const& targetType, winrt::Windows::Foundation::IInspectable const& parameter, param::hstring const& language) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IValueConverter)->Convert(*(void**)(&value), impl::bind_in(targetType), *(void**)(¶meter), *(void**)(&language), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_IValueConverter::ConvertBack(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::UI::Xaml::Interop::TypeName const& targetType, winrt::Windows::Foundation::IInspectable const& parameter, param::hstring const& language) const + template auto consume_Windows_UI_Xaml_Data_IValueConverter::ConvertBack(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::UI::Xaml::Interop::TypeName const& targetType, winrt::Windows::Foundation::IInspectable const& parameter, param::hstring const& language) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IValueConverter)->ConvertBack(*(void**)(&value), impl::bind_in(targetType), *(void**)(¶meter), *(void**)(&language), &result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Documents.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Documents.h index db2abd40..563cb735 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Documents.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Documents.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Documents_H #define WINRT_Windows_UI_Xaml_Documents_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -18,2045 +18,2045 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Documents.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Documents_IBlock::TextAlignment() const + template auto consume_Windows_UI_Xaml_Documents_IBlock::TextAlignment() const { winrt::Windows::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock)->get_TextAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IBlock::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const + template auto consume_Windows_UI_Xaml_Documents_IBlock::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock)->put_TextAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Documents_IBlock::LineHeight() const + template auto consume_Windows_UI_Xaml_Documents_IBlock::LineHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock)->get_LineHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IBlock::LineHeight(double value) const + template auto consume_Windows_UI_Xaml_Documents_IBlock::LineHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock)->put_LineHeight(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::LineStackingStrategy) consume_Windows_UI_Xaml_Documents_IBlock::LineStackingStrategy() const + template auto consume_Windows_UI_Xaml_Documents_IBlock::LineStackingStrategy() const { winrt::Windows::UI::Xaml::LineStackingStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock)->get_LineStackingStrategy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IBlock::LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const + template auto consume_Windows_UI_Xaml_Documents_IBlock::LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock)->put_LineStackingStrategy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Documents_IBlock::Margin() const + template auto consume_Windows_UI_Xaml_Documents_IBlock::Margin() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock)->get_Margin(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IBlock::Margin(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_Documents_IBlock::Margin(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock)->put_Margin(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Documents_IBlock2::HorizontalTextAlignment() const + template auto consume_Windows_UI_Xaml_Documents_IBlock2::HorizontalTextAlignment() const { winrt::Windows::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock2)->get_HorizontalTextAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IBlock2::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const + template auto consume_Windows_UI_Xaml_Documents_IBlock2::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock2)->put_HorizontalTextAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::Block) consume_Windows_UI_Xaml_Documents_IBlockFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Documents_IBlockFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlockFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Documents::Block{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IBlockStatics::TextAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Documents_IBlockStatics::TextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlockStatics)->get_TextAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IBlockStatics::LineHeightProperty() const + template auto consume_Windows_UI_Xaml_Documents_IBlockStatics::LineHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlockStatics)->get_LineHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IBlockStatics::LineStackingStrategyProperty() const + template auto consume_Windows_UI_Xaml_Documents_IBlockStatics::LineStackingStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlockStatics)->get_LineStackingStrategyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IBlockStatics::MarginProperty() const + template auto consume_Windows_UI_Xaml_Documents_IBlockStatics::MarginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlockStatics)->get_MarginProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IBlockStatics2::HorizontalTextAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Documents_IBlockStatics2::HorizontalTextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlockStatics2)->get_HorizontalTextAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ContentLinkInfo) consume_Windows_UI_Xaml_Documents_IContentLink::Info() const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::Info() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_Info(&value)); return winrt::Windows::UI::Text::ContentLinkInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::Info(winrt::Windows::UI::Text::ContentLinkInfo const& value) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::Info(winrt::Windows::UI::Text::ContentLinkInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_Info(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Documents_IContentLink::Background() const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::Background() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_Background(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_Background(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreCursorType) consume_Windows_UI_Xaml_Documents_IContentLink::Cursor() const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::Cursor() const { winrt::Windows::UI::Core::CoreCursorType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_Cursor(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::Cursor(winrt::Windows::UI::Core::CoreCursorType const& value) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::Cursor(winrt::Windows::UI::Core::CoreCursorType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_Cursor(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusLeft() const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusLeft() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_XYFocusLeft(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_XYFocusLeft(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusRight() const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusRight() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_XYFocusRight(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_XYFocusRight(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusUp() const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusUp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_XYFocusUp(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_XYFocusUp(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusDown() const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusDown() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_XYFocusDown(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_XYFocusDown(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSoundMode) consume_Windows_UI_Xaml_Documents_IContentLink::ElementSoundMode() const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::ElementSoundMode() const { winrt::Windows::UI::Xaml::ElementSoundMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_ElementSoundMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_ElementSoundMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusState) consume_Windows_UI_Xaml_Documents_IContentLink::FocusState() const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::FocusState() const { winrt::Windows::UI::Xaml::FocusState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_FocusState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusUpNavigationStrategy() const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusUpNavigationStrategy() const { winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_XYFocusUpNavigationStrategy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusUpNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusUpNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_XYFocusUpNavigationStrategy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusDownNavigationStrategy() const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusDownNavigationStrategy() const { winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_XYFocusDownNavigationStrategy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusDownNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusDownNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_XYFocusDownNavigationStrategy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusLeftNavigationStrategy() const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusLeftNavigationStrategy() const { winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_XYFocusLeftNavigationStrategy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusLeftNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusLeftNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_XYFocusLeftNavigationStrategy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusRightNavigationStrategy() const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusRightNavigationStrategy() const { winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_XYFocusRightNavigationStrategy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusRightNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::XYFocusRightNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_XYFocusRightNavigationStrategy(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_IContentLink::IsTabStop() const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::IsTabStop() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_IsTabStop(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::IsTabStop(bool value) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::IsTabStop(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_IsTabStop(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_IContentLink::TabIndex() const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::TabIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_TabIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::TabIndex(int32_t value) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::TabIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_TabIndex(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_IContentLink::Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->add_Invoked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Documents_IContentLink::Invoked_revoker consume_Windows_UI_Xaml_Documents_IContentLink::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Invoked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::Invoked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Documents_IContentLink::Invoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->remove_Invoked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_IContentLink::GotFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::GotFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->add_GotFocus(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Documents_IContentLink::GotFocus_revoker consume_Windows_UI_Xaml_Documents_IContentLink::GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, GotFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::GotFocus(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Documents_IContentLink::GotFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->remove_GotFocus(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_IContentLink::LostFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::LostFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->add_LostFocus(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Documents_IContentLink::LostFocus_revoker consume_Windows_UI_Xaml_Documents_IContentLink::LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, LostFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink::LostFocus(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Documents_IContentLink::LostFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->remove_LostFocus(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_IContentLink::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const + template auto consume_Windows_UI_Xaml_Documents_IContentLink::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->Focus(static_cast(value), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ContentLinkInfo) consume_Windows_UI_Xaml_Documents_IContentLinkInvokedEventArgs::ContentLinkInfo() const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkInvokedEventArgs::ContentLinkInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkInvokedEventArgs)->get_ContentLinkInfo(&value)); return winrt::Windows::UI::Text::ContentLinkInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_IContentLinkInvokedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkInvokedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkInvokedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLinkInvokedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkInvokedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkInvokedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::ContentLinkProvider) consume_Windows_UI_Xaml_Documents_IContentLinkProviderFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkProviderFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkProviderFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Documents::ContentLinkProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics::BackgroundProperty() const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics::BackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkStatics)->get_BackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics::CursorProperty() const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics::CursorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkStatics)->get_CursorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics::XYFocusLeftProperty() const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics::XYFocusLeftProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkStatics)->get_XYFocusLeftProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics::XYFocusRightProperty() const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics::XYFocusRightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkStatics)->get_XYFocusRightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics::XYFocusUpProperty() const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics::XYFocusUpProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkStatics)->get_XYFocusUpProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics::XYFocusDownProperty() const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics::XYFocusDownProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkStatics)->get_XYFocusDownProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics::ElementSoundModeProperty() const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics::ElementSoundModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkStatics)->get_ElementSoundModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics::FocusStateProperty() const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics::FocusStateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkStatics)->get_FocusStateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics::XYFocusUpNavigationStrategyProperty() const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics::XYFocusUpNavigationStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkStatics)->get_XYFocusUpNavigationStrategyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics::XYFocusDownNavigationStrategyProperty() const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics::XYFocusDownNavigationStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkStatics)->get_XYFocusDownNavigationStrategyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics::XYFocusLeftNavigationStrategyProperty() const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics::XYFocusLeftNavigationStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkStatics)->get_XYFocusLeftNavigationStrategyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics::XYFocusRightNavigationStrategyProperty() const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics::XYFocusRightNavigationStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkStatics)->get_XYFocusRightNavigationStrategyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics::IsTabStopProperty() const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics::IsTabStopProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkStatics)->get_IsTabStopProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics::TabIndexProperty() const + template auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics::TabIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkStatics)->get_TabIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Documents_IGlyphs::UnicodeString() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs::UnicodeString() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->get_UnicodeString(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs::UnicodeString(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs::UnicodeString(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->put_UnicodeString(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Documents_IGlyphs::Indices() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs::Indices() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->get_Indices(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs::Indices(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs::Indices(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->put_Indices(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Documents_IGlyphs::FontUri() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs::FontUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->get_FontUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs::FontUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs::FontUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->put_FontUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::StyleSimulations) consume_Windows_UI_Xaml_Documents_IGlyphs::StyleSimulations() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs::StyleSimulations() const { winrt::Windows::UI::Xaml::Media::StyleSimulations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->get_StyleSimulations(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs::StyleSimulations(winrt::Windows::UI::Xaml::Media::StyleSimulations const& value) const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs::StyleSimulations(winrt::Windows::UI::Xaml::Media::StyleSimulations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->put_StyleSimulations(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Documents_IGlyphs::FontRenderingEmSize() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs::FontRenderingEmSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->get_FontRenderingEmSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs::FontRenderingEmSize(double value) const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs::FontRenderingEmSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->put_FontRenderingEmSize(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Documents_IGlyphs::OriginX() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs::OriginX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->get_OriginX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs::OriginX(double value) const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs::OriginX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->put_OriginX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Documents_IGlyphs::OriginY() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs::OriginY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->get_OriginY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs::OriginY(double value) const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs::OriginY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->put_OriginY(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Documents_IGlyphs::Fill() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs::Fill() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->get_Fill(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs::Fill(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs::Fill(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->put_Fill(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_IGlyphs2::IsColorFontEnabled() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs2::IsColorFontEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs2)->get_IsColorFontEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs2::IsColorFontEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs2::IsColorFontEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs2)->put_IsColorFontEnabled(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_IGlyphs2::ColorFontPaletteIndex() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs2::ColorFontPaletteIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs2)->get_ColorFontPaletteIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs2::ColorFontPaletteIndex(int32_t value) const + template auto consume_Windows_UI_Xaml_Documents_IGlyphs2::ColorFontPaletteIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs2)->put_ColorFontPaletteIndex(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics::UnicodeStringProperty() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics::UnicodeStringProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphsStatics)->get_UnicodeStringProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics::IndicesProperty() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics::IndicesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphsStatics)->get_IndicesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics::FontUriProperty() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics::FontUriProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphsStatics)->get_FontUriProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics::StyleSimulationsProperty() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics::StyleSimulationsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphsStatics)->get_StyleSimulationsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics::FontRenderingEmSizeProperty() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics::FontRenderingEmSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphsStatics)->get_FontRenderingEmSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics::OriginXProperty() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics::OriginXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphsStatics)->get_OriginXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics::OriginYProperty() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics::OriginYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphsStatics)->get_OriginYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics::FillProperty() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics::FillProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphsStatics)->get_FillProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics2::IsColorFontEnabledProperty() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics2::IsColorFontEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphsStatics2)->get_IsColorFontEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics2::ColorFontPaletteIndexProperty() const + template auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics2::ColorFontPaletteIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphsStatics2)->get_ColorFontPaletteIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Documents_IHyperlink::NavigateUri() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink::NavigateUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink)->get_NavigateUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink::NavigateUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink::NavigateUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink)->put_NavigateUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_IHyperlink::Click(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink::Click(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink)->add_Click(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Documents_IHyperlink::Click_revoker consume_Windows_UI_Xaml_Documents_IHyperlink::Click(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink::Click(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Click(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink::Click(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Documents_IHyperlink::Click(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink)->remove_Click(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::UnderlineStyle) consume_Windows_UI_Xaml_Documents_IHyperlink2::UnderlineStyle() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink2::UnderlineStyle() const { winrt::Windows::UI::Xaml::Documents::UnderlineStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink2)->get_UnderlineStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink2::UnderlineStyle(winrt::Windows::UI::Xaml::Documents::UnderlineStyle const& value) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink2::UnderlineStyle(winrt::Windows::UI::Xaml::Documents::UnderlineStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink2)->put_UnderlineStyle(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_IHyperlink3::XYFocusLeft() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink3::XYFocusLeft() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink3)->get_XYFocusLeft(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink3::XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink3::XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink3)->put_XYFocusLeft(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_IHyperlink3::XYFocusRight() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink3::XYFocusRight() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink3)->get_XYFocusRight(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink3::XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink3::XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink3)->put_XYFocusRight(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_IHyperlink3::XYFocusUp() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink3::XYFocusUp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink3)->get_XYFocusUp(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink3::XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink3::XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink3)->put_XYFocusUp(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_IHyperlink3::XYFocusDown() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink3::XYFocusDown() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink3)->get_XYFocusDown(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink3::XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink3::XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink3)->put_XYFocusDown(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSoundMode) consume_Windows_UI_Xaml_Documents_IHyperlink3::ElementSoundMode() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink3::ElementSoundMode() const { winrt::Windows::UI::Xaml::ElementSoundMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink3)->get_ElementSoundMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink3::ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink3::ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink3)->put_ElementSoundMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusState) consume_Windows_UI_Xaml_Documents_IHyperlink4::FocusState() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink4::FocusState() const { winrt::Windows::UI::Xaml::FocusState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->get_FocusState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_Documents_IHyperlink4::XYFocusUpNavigationStrategy() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink4::XYFocusUpNavigationStrategy() const { winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->get_XYFocusUpNavigationStrategy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink4::XYFocusUpNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink4::XYFocusUpNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->put_XYFocusUpNavigationStrategy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_Documents_IHyperlink4::XYFocusDownNavigationStrategy() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink4::XYFocusDownNavigationStrategy() const { winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->get_XYFocusDownNavigationStrategy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink4::XYFocusDownNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink4::XYFocusDownNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->put_XYFocusDownNavigationStrategy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_Documents_IHyperlink4::XYFocusLeftNavigationStrategy() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink4::XYFocusLeftNavigationStrategy() const { winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->get_XYFocusLeftNavigationStrategy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink4::XYFocusLeftNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink4::XYFocusLeftNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->put_XYFocusLeftNavigationStrategy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_Documents_IHyperlink4::XYFocusRightNavigationStrategy() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink4::XYFocusRightNavigationStrategy() const { winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->get_XYFocusRightNavigationStrategy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink4::XYFocusRightNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink4::XYFocusRightNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->put_XYFocusRightNavigationStrategy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_IHyperlink4::GotFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink4::GotFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->add_GotFocus(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Documents_IHyperlink4::GotFocus_revoker consume_Windows_UI_Xaml_Documents_IHyperlink4::GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink4::GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, GotFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink4::GotFocus(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Documents_IHyperlink4::GotFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->remove_GotFocus(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_IHyperlink4::LostFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink4::LostFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->add_LostFocus(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Documents_IHyperlink4::LostFocus_revoker consume_Windows_UI_Xaml_Documents_IHyperlink4::LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink4::LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, LostFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink4::LostFocus(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Documents_IHyperlink4::LostFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->remove_LostFocus(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_IHyperlink4::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink4::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->Focus(static_cast(value), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_IHyperlink5::IsTabStop() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink5::IsTabStop() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink5)->get_IsTabStop(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink5::IsTabStop(bool value) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink5::IsTabStop(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink5)->put_IsTabStop(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_IHyperlink5::TabIndex() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink5::TabIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink5)->get_TabIndex(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink5::TabIndex(int32_t value) const + template auto consume_Windows_UI_Xaml_Documents_IHyperlink5::TabIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink5)->put_TabIndex(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics::NavigateUriProperty() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics::NavigateUriProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics)->get_NavigateUriProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics2::UnderlineStyleProperty() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics2::UnderlineStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics2)->get_UnderlineStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3::XYFocusLeftProperty() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3::XYFocusLeftProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics3)->get_XYFocusLeftProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3::XYFocusRightProperty() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3::XYFocusRightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics3)->get_XYFocusRightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3::XYFocusUpProperty() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3::XYFocusUpProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics3)->get_XYFocusUpProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3::XYFocusDownProperty() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3::XYFocusDownProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics3)->get_XYFocusDownProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3::ElementSoundModeProperty() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3::ElementSoundModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics3)->get_ElementSoundModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4::FocusStateProperty() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4::FocusStateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics4)->get_FocusStateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4::XYFocusUpNavigationStrategyProperty() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4::XYFocusUpNavigationStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics4)->get_XYFocusUpNavigationStrategyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4::XYFocusDownNavigationStrategyProperty() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4::XYFocusDownNavigationStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics4)->get_XYFocusDownNavigationStrategyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4::XYFocusLeftNavigationStrategyProperty() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4::XYFocusLeftNavigationStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics4)->get_XYFocusLeftNavigationStrategyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4::XYFocusRightNavigationStrategyProperty() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4::XYFocusRightNavigationStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics4)->get_XYFocusRightNavigationStrategyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics5::IsTabStopProperty() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics5::IsTabStopProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics5)->get_IsTabStopProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics5::TabIndexProperty() const + template auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics5::TabIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics5)->get_TabIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::Inline) consume_Windows_UI_Xaml_Documents_IInlineFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Documents_IInlineFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IInlineFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Documents::Inline{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Documents_IInlineUIContainer::Child() const + template auto consume_Windows_UI_Xaml_Documents_IInlineUIContainer::Child() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IInlineUIContainer)->get_Child(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IInlineUIContainer::Child(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Documents_IInlineUIContainer::Child(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IInlineUIContainer)->put_Child(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::InlineCollection) consume_Windows_UI_Xaml_Documents_IParagraph::Inlines() const + template auto consume_Windows_UI_Xaml_Documents_IParagraph::Inlines() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IParagraph)->get_Inlines(&value)); return winrt::Windows::UI::Xaml::Documents::InlineCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Documents_IParagraph::TextIndent() const + template auto consume_Windows_UI_Xaml_Documents_IParagraph::TextIndent() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IParagraph)->get_TextIndent(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IParagraph::TextIndent(double value) const + template auto consume_Windows_UI_Xaml_Documents_IParagraph::TextIndent(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IParagraph)->put_TextIndent(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IParagraphStatics::TextIndentProperty() const + template auto consume_Windows_UI_Xaml_Documents_IParagraphStatics::TextIndentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IParagraphStatics)->get_TextIndentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Documents_IRun::Text() const + template auto consume_Windows_UI_Xaml_Documents_IRun::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IRun)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IRun::Text(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Documents_IRun::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IRun)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FlowDirection) consume_Windows_UI_Xaml_Documents_IRun::FlowDirection() const + template auto consume_Windows_UI_Xaml_Documents_IRun::FlowDirection() const { winrt::Windows::UI::Xaml::FlowDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IRun)->get_FlowDirection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IRun::FlowDirection(winrt::Windows::UI::Xaml::FlowDirection const& value) const + template auto consume_Windows_UI_Xaml_Documents_IRun::FlowDirection(winrt::Windows::UI::Xaml::FlowDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IRun)->put_FlowDirection(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IRunStatics::FlowDirectionProperty() const + template auto consume_Windows_UI_Xaml_Documents_IRunStatics::FlowDirectionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IRunStatics)->get_FlowDirectionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::InlineCollection) consume_Windows_UI_Xaml_Documents_ISpan::Inlines() const + template auto consume_Windows_UI_Xaml_Documents_ISpan::Inlines() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ISpan)->get_Inlines(&value)); return winrt::Windows::UI::Xaml::Documents::InlineCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ISpan::Inlines(winrt::Windows::UI::Xaml::Documents::InlineCollection const& value) const + template auto consume_Windows_UI_Xaml_Documents_ISpan::Inlines(winrt::Windows::UI::Xaml::Documents::InlineCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ISpan)->put_Inlines(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::Span) consume_Windows_UI_Xaml_Documents_ISpanFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Documents_ISpanFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ISpanFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Documents::Span{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Documents_ITextElement::Name() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Documents_ITextElement::FontSize() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::FontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_FontSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement::FontSize(double value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::FontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->put_FontSize(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Documents_ITextElement::FontFamily() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::FontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_FontFamily(&value)); return winrt::Windows::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->put_FontFamily(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Documents_ITextElement::FontWeight() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::FontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_FontWeight(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->put_FontWeight(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Documents_ITextElement::FontStyle() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::FontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_FontStyle(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->put_FontStyle(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) consume_Windows_UI_Xaml_Documents_ITextElement::FontStretch() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::FontStretch() const { winrt::Windows::UI::Text::FontStretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_FontStretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->put_FontStretch(static_cast(value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_ITextElement::CharacterSpacing() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::CharacterSpacing() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_CharacterSpacing(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement::CharacterSpacing(int32_t value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::CharacterSpacing(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->put_CharacterSpacing(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Documents_ITextElement::Foreground() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::Foreground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_Foreground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->put_Foreground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Documents_ITextElement::Language() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement::Language(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::Language(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->put_Language(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Documents_ITextElement::ContentStart() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::ContentStart() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_ContentStart(&value)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Documents_ITextElement::ContentEnd() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::ContentEnd() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_ContentEnd(&value)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Documents_ITextElement::ElementStart() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::ElementStart() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_ElementStart(&value)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Documents_ITextElement::ElementEnd() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::ElementEnd() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_ElementEnd(&value)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Documents_ITextElement::FindName(param::hstring const& name) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement::FindName(param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->FindName(*(void**)(&name), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITextElement2::IsTextScaleFactorEnabled() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement2::IsTextScaleFactorEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement2)->get_IsTextScaleFactorEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement2::IsTextScaleFactorEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement2::IsTextScaleFactorEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement2)->put_IsTextScaleFactorEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITextElement3::AllowFocusOnInteraction() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement3::AllowFocusOnInteraction() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement3)->get_AllowFocusOnInteraction(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement3::AllowFocusOnInteraction(bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement3::AllowFocusOnInteraction(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement3)->put_AllowFocusOnInteraction(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Documents_ITextElement3::AccessKey() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement3::AccessKey() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement3)->get_AccessKey(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement3::AccessKey(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement3::AccessKey(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement3)->put_AccessKey(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITextElement3::ExitDisplayModeOnAccessKeyInvoked() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement3::ExitDisplayModeOnAccessKeyInvoked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement3)->get_ExitDisplayModeOnAccessKeyInvoked(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement3::ExitDisplayModeOnAccessKeyInvoked(bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement3::ExitDisplayModeOnAccessKeyInvoked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement3)->put_ExitDisplayModeOnAccessKeyInvoked(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Text::TextDecorations) consume_Windows_UI_Xaml_Documents_ITextElement4::TextDecorations() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::TextDecorations() const { winrt::Windows::UI::Text::TextDecorations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->get_TextDecorations(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4::TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->put_TextDecorations(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITextElement4::IsAccessKeyScope() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::IsAccessKeyScope() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->get_IsAccessKeyScope(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4::IsAccessKeyScope(bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::IsAccessKeyScope(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->put_IsAccessKeyScope(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyScopeOwner() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyScopeOwner() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->get_AccessKeyScopeOwner(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->put_AccessKeyScopeOwner(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode) consume_Windows_UI_Xaml_Documents_ITextElement4::KeyTipPlacementMode() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::KeyTipPlacementMode() const { winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->get_KeyTipPlacementMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4::KeyTipPlacementMode(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::KeyTipPlacementMode(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->put_KeyTipPlacementMode(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Documents_ITextElement4::KeyTipHorizontalOffset() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::KeyTipHorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->get_KeyTipHorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4::KeyTipHorizontalOffset(double value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::KeyTipHorizontalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->put_KeyTipHorizontalOffset(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Documents_ITextElement4::KeyTipVerticalOffset() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::KeyTipVerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->get_KeyTipVerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4::KeyTipVerticalOffset(double value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::KeyTipVerticalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->put_KeyTipVerticalOffset(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyDisplayRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyDisplayRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->add_AccessKeyDisplayRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyDisplayRequested_revoker consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyDisplayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyDisplayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AccessKeyDisplayRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyDisplayRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyDisplayRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->remove_AccessKeyDisplayRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyDisplayDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyDisplayDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->add_AccessKeyDisplayDismissed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyDisplayDismissed_revoker consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyDisplayDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyDisplayDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AccessKeyDisplayDismissed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyDisplayDismissed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyDisplayDismissed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->remove_AccessKeyDisplayDismissed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->add_AccessKeyInvoked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyInvoked_revoker consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AccessKeyInvoked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyInvoked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Documents_ITextElement4::AccessKeyInvoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->remove_AccessKeyInvoked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::XamlRoot) consume_Windows_UI_Xaml_Documents_ITextElement5::XamlRoot() const + template auto consume_Windows_UI_Xaml_Documents_ITextElement5::XamlRoot() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement5)->get_XamlRoot(&value)); return winrt::Windows::UI::Xaml::XamlRoot{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement5::XamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITextElement5::XamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement5)->put_XamlRoot(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElementOverrides::OnDisconnectVisualChildren() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementOverrides::OnDisconnectVisualChildren() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementOverrides)->OnDisconnectVisualChildren()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics::FontSizeProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics::FontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics)->get_FontSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics::FontFamilyProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics::FontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics)->get_FontFamilyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics::FontWeightProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics::FontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics)->get_FontWeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics::FontStyleProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics::FontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics)->get_FontStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics::FontStretchProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics::FontStretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics)->get_FontStretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics::CharacterSpacingProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics::CharacterSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics)->get_CharacterSpacingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics::ForegroundProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics::ForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics)->get_ForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics::LanguageProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics::LanguageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics)->get_LanguageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics2::IsTextScaleFactorEnabledProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics2::IsTextScaleFactorEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics2)->get_IsTextScaleFactorEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics3::AllowFocusOnInteractionProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics3::AllowFocusOnInteractionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics3)->get_AllowFocusOnInteractionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics3::AccessKeyProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics3::AccessKeyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics3)->get_AccessKeyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics3::ExitDisplayModeOnAccessKeyInvokedProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics3::ExitDisplayModeOnAccessKeyInvokedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics3)->get_ExitDisplayModeOnAccessKeyInvokedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics4::TextDecorationsProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics4::TextDecorationsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics4)->get_TextDecorationsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics4::IsAccessKeyScopeProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics4::IsAccessKeyScopeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics4)->get_IsAccessKeyScopeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics4::AccessKeyScopeOwnerProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics4::AccessKeyScopeOwnerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics4)->get_AccessKeyScopeOwnerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics4::KeyTipPlacementModeProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics4::KeyTipPlacementModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics4)->get_KeyTipPlacementModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics4::KeyTipHorizontalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics4::KeyTipHorizontalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics4)->get_KeyTipHorizontalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics4::KeyTipVerticalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextElementStatics4::KeyTipVerticalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementStatics4)->get_KeyTipVerticalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Documents_ITextHighlighter::Ranges() const + template auto consume_Windows_UI_Xaml_Documents_ITextHighlighter::Ranges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextHighlighter)->get_Ranges(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Documents_ITextHighlighter::Foreground() const + template auto consume_Windows_UI_Xaml_Documents_ITextHighlighter::Foreground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextHighlighter)->get_Foreground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextHighlighter::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITextHighlighter::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextHighlighter)->put_Foreground(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Documents_ITextHighlighter::Background() const + template auto consume_Windows_UI_Xaml_Documents_ITextHighlighter::Background() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextHighlighter)->get_Background(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextHighlighter::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITextHighlighter::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextHighlighter)->put_Background(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextHighlighter) consume_Windows_UI_Xaml_Documents_ITextHighlighterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Documents_ITextHighlighterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextHighlighterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Documents::TextHighlighter{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextHighlighterStatics::ForegroundProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextHighlighterStatics::ForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextHighlighterStatics)->get_ForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextHighlighterStatics::BackgroundProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITextHighlighterStatics::BackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextHighlighterStatics)->get_BackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_ITextPointer::Parent() const + template auto consume_Windows_UI_Xaml_Documents_ITextPointer::Parent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextPointer)->get_Parent(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FrameworkElement) consume_Windows_UI_Xaml_Documents_ITextPointer::VisualParent() const + template auto consume_Windows_UI_Xaml_Documents_ITextPointer::VisualParent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextPointer)->get_VisualParent(&value)); return winrt::Windows::UI::Xaml::FrameworkElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::LogicalDirection) consume_Windows_UI_Xaml_Documents_ITextPointer::LogicalDirection() const + template auto consume_Windows_UI_Xaml_Documents_ITextPointer::LogicalDirection() const { winrt::Windows::UI::Xaml::Documents::LogicalDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextPointer)->get_LogicalDirection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_ITextPointer::Offset() const + template auto consume_Windows_UI_Xaml_Documents_ITextPointer::Offset() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextPointer)->get_Offset(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Documents_ITextPointer::GetCharacterRect(winrt::Windows::UI::Xaml::Documents::LogicalDirection const& direction) const + template auto consume_Windows_UI_Xaml_Documents_ITextPointer::GetCharacterRect(winrt::Windows::UI::Xaml::Documents::LogicalDirection const& direction) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextPointer)->GetCharacterRect(static_cast(direction), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Documents_ITextPointer::GetPositionAtOffset(int32_t offset, winrt::Windows::UI::Xaml::Documents::LogicalDirection const& direction) const + template auto consume_Windows_UI_Xaml_Documents_ITextPointer::GetPositionAtOffset(int32_t offset, winrt::Windows::UI::Xaml::Documents::LogicalDirection const& direction) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextPointer)->GetPositionAtOffset(offset, static_cast(direction), &result)); return winrt::Windows::UI::Xaml::Documents::TextPointer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::AnnotationAlternatesProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::AnnotationAlternatesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_AnnotationAlternatesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetAnnotationAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetAnnotationAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetAnnotationAlternates(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetAnnotationAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetAnnotationAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetAnnotationAlternates(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::EastAsianExpertFormsProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::EastAsianExpertFormsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_EastAsianExpertFormsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetEastAsianExpertForms(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetEastAsianExpertForms(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetEastAsianExpertForms(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetEastAsianExpertForms(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetEastAsianExpertForms(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetEastAsianExpertForms(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::EastAsianLanguageProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::EastAsianLanguageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_EastAsianLanguageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontEastAsianLanguage) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetEastAsianLanguage(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetEastAsianLanguage(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::FontEastAsianLanguage result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetEastAsianLanguage(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetEastAsianLanguage(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontEastAsianLanguage const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetEastAsianLanguage(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontEastAsianLanguage const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetEastAsianLanguage(*(void**)(&element), static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::EastAsianWidthsProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::EastAsianWidthsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_EastAsianWidthsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontEastAsianWidths) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetEastAsianWidths(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetEastAsianWidths(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::FontEastAsianWidths result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetEastAsianWidths(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetEastAsianWidths(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontEastAsianWidths const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetEastAsianWidths(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontEastAsianWidths const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetEastAsianWidths(*(void**)(&element), static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StandardLigaturesProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StandardLigaturesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StandardLigaturesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStandardLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStandardLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStandardLigatures(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStandardLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStandardLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStandardLigatures(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::ContextualLigaturesProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::ContextualLigaturesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_ContextualLigaturesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetContextualLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetContextualLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetContextualLigatures(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetContextualLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetContextualLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetContextualLigatures(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::DiscretionaryLigaturesProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::DiscretionaryLigaturesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_DiscretionaryLigaturesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetDiscretionaryLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetDiscretionaryLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetDiscretionaryLigatures(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetDiscretionaryLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetDiscretionaryLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetDiscretionaryLigatures(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::HistoricalLigaturesProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::HistoricalLigaturesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_HistoricalLigaturesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetHistoricalLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetHistoricalLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetHistoricalLigatures(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetHistoricalLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetHistoricalLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetHistoricalLigatures(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StandardSwashesProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StandardSwashesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StandardSwashesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStandardSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStandardSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStandardSwashes(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStandardSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStandardSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStandardSwashes(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::ContextualSwashesProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::ContextualSwashesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_ContextualSwashesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetContextualSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetContextualSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetContextualSwashes(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetContextualSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetContextualSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetContextualSwashes(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::ContextualAlternatesProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::ContextualAlternatesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_ContextualAlternatesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetContextualAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetContextualAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetContextualAlternates(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetContextualAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetContextualAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetContextualAlternates(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticAlternatesProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticAlternatesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticAlternatesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticAlternates(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticAlternates(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet1Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet1Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet1Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet1(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet1(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet1(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet1(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet1(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet1(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet2Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet2Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet2Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet2(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet2(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet2(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet2(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet2(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet2(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet3Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet3Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet3Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet3(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet3(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet3(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet3(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet3(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet3(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet4Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet4Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet4Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet4(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet4(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet4(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet4(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet4(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet4(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet5Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet5Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet5Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet5(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet5(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet5(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet5(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet5(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet5(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet6Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet6Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet6Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet6(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet6(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet6(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet6(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet6(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet6(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet7Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet7Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet7Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet7(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet7(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet7(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet7(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet7(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet7(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet8Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet8Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet8Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet8(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet8(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet8(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet8(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet8(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet8(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet9Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet9Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet9Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet9(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet9(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet9(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet9(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet9(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet9(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet10Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet10Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet10Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet10(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet10(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet10(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet10(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet10(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet10(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet11Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet11Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet11Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet11(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet11(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet11(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet11(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet11(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet11(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet12Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet12Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet12Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet12(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet12(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet12(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet12(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet12(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet12(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet13Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet13Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet13Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet13(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet13(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet13(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet13(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet13(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet13(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet14Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet14Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet14Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet14(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet14(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet14(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet14(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet14(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet14(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet15Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet15Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet15Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet15(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet15(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet15(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet15(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet15(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet15(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet16Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet16Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet16Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet16(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet16(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet16(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet16(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet16(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet16(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet17Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet17Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet17Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet17(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet17(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet17(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet17(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet17(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet17(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet18Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet18Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet18Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet18(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet18(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet18(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet18(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet18(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet18(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet19Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet19Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet19Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet19(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet19(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet19(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet19(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet19(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet19(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet20Property() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::StylisticSet20Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_StylisticSet20Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet20(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetStylisticSet20(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetStylisticSet20(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet20(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetStylisticSet20(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetStylisticSet20(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::CapitalsProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::CapitalsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_CapitalsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontCapitals) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetCapitals(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetCapitals(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::FontCapitals result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetCapitals(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetCapitals(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontCapitals const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetCapitals(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontCapitals const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetCapitals(*(void**)(&element), static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::CapitalSpacingProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::CapitalSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_CapitalSpacingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetCapitalSpacing(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetCapitalSpacing(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetCapitalSpacing(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetCapitalSpacing(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetCapitalSpacing(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetCapitalSpacing(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::KerningProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::KerningProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_KerningProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetKerning(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetKerning(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetKerning(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetKerning(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetKerning(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetKerning(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::CaseSensitiveFormsProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::CaseSensitiveFormsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_CaseSensitiveFormsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetCaseSensitiveForms(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetCaseSensitiveForms(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetCaseSensitiveForms(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetCaseSensitiveForms(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetCaseSensitiveForms(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetCaseSensitiveForms(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::HistoricalFormsProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::HistoricalFormsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_HistoricalFormsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetHistoricalForms(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetHistoricalForms(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetHistoricalForms(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetHistoricalForms(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetHistoricalForms(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetHistoricalForms(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::FractionProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::FractionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_FractionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontFraction) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetFraction(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetFraction(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::FontFraction result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetFraction(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetFraction(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontFraction const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetFraction(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontFraction const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetFraction(*(void**)(&element), static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::NumeralStyleProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::NumeralStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_NumeralStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontNumeralStyle) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetNumeralStyle(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetNumeralStyle(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::FontNumeralStyle result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetNumeralStyle(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetNumeralStyle(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontNumeralStyle const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetNumeralStyle(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontNumeralStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetNumeralStyle(*(void**)(&element), static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::NumeralAlignmentProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::NumeralAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_NumeralAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontNumeralAlignment) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetNumeralAlignment(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetNumeralAlignment(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::FontNumeralAlignment result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetNumeralAlignment(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetNumeralAlignment(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontNumeralAlignment const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetNumeralAlignment(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontNumeralAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetNumeralAlignment(*(void**)(&element), static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SlashedZeroProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SlashedZeroProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_SlashedZeroProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetSlashedZero(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetSlashedZero(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetSlashedZero(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetSlashedZero(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetSlashedZero(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetSlashedZero(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::MathematicalGreekProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::MathematicalGreekProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_MathematicalGreekProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetMathematicalGreek(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetMathematicalGreek(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetMathematicalGreek(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetMathematicalGreek(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetMathematicalGreek(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetMathematicalGreek(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics::VariantsProperty() const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::VariantsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->get_VariantsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontVariants) consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetVariants(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::GetVariants(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::UI::Xaml::FontVariants result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->GetVariants(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetVariants(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontVariants const& value) const + template auto consume_Windows_UI_Xaml_Documents_ITypographyStatics::SetVariants(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontVariants const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITypographyStatics)->SetVariants(*(void**)(&element), static_cast(value))); } @@ -6067,7 +6067,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Documents Underline(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } - template WINRT_IMPL_AUTO(void) ITextElementOverridesT::OnDisconnectVisualChildren() const + template auto ITextElementOverridesT::OnDisconnectVisualChildren() const { return shim().template try_as().OnDisconnectVisualChildren(); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Hosting.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Hosting.h index 0bb2a362..369faf41 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Hosting.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Hosting.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Hosting_H #define WINRT_Windows_UI_Xaml_Hosting_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.UI.Composition.2.h" @@ -16,337 +16,337 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Hosting.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Hosting_IDesignerAppExitedEventArgs::ExitCode() const + template auto consume_Windows_UI_Xaml_Hosting_IDesignerAppExitedEventArgs::ExitCode() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesignerAppExitedEventArgs)->get_ExitCode(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Hosting_IDesignerAppManager::AppUserModelId() const + template auto consume_Windows_UI_Xaml_Hosting_IDesignerAppManager::AppUserModelId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesignerAppManager)->get_AppUserModelId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Hosting_IDesignerAppManager::DesignerAppExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Hosting_IDesignerAppManager::DesignerAppExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesignerAppManager)->add_DesignerAppExited(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Hosting_IDesignerAppManager::DesignerAppExited_revoker consume_Windows_UI_Xaml_Hosting_IDesignerAppManager::DesignerAppExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Hosting_IDesignerAppManager::DesignerAppExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DesignerAppExited(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IDesignerAppManager::DesignerAppExited(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Hosting_IDesignerAppManager::DesignerAppExited(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesignerAppManager)->remove_DesignerAppExited(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Hosting_IDesignerAppManager::CreateNewViewAsync(winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState const& initialViewState, winrt::Windows::Foundation::Size const& initialViewSize) const + template auto consume_Windows_UI_Xaml_Hosting_IDesignerAppManager::CreateNewViewAsync(winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState const& initialViewState, winrt::Windows::Foundation::Size const& initialViewSize) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesignerAppManager)->CreateNewViewAsync(static_cast(initialViewState), impl::bind_in(initialViewSize), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Hosting_IDesignerAppManager::LoadObjectIntoAppAsync(param::hstring const& dllName, winrt::guid const& classId, param::hstring const& initializationData) const + template auto consume_Windows_UI_Xaml_Hosting_IDesignerAppManager::LoadObjectIntoAppAsync(param::hstring const& dllName, winrt::guid const& classId, param::hstring const& initializationData) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesignerAppManager)->LoadObjectIntoAppAsync(*(void**)(&dllName), impl::bind_in(classId), *(void**)(&initializationData), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::DesignerAppManager) consume_Windows_UI_Xaml_Hosting_IDesignerAppManagerFactory::Create(param::hstring const& appUserModelId) const + template auto consume_Windows_UI_Xaml_Hosting_IDesignerAppManagerFactory::Create(param::hstring const& appUserModelId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesignerAppManagerFactory)->Create(*(void**)(&appUserModelId), &value)); return winrt::Windows::UI::Xaml::Hosting::DesignerAppManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Hosting_IDesignerAppView::ApplicationViewId() const + template auto consume_Windows_UI_Xaml_Hosting_IDesignerAppView::ApplicationViewId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesignerAppView)->get_ApplicationViewId(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Hosting_IDesignerAppView::AppUserModelId() const + template auto consume_Windows_UI_Xaml_Hosting_IDesignerAppView::AppUserModelId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesignerAppView)->get_AppUserModelId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState) consume_Windows_UI_Xaml_Hosting_IDesignerAppView::ViewState() const + template auto consume_Windows_UI_Xaml_Hosting_IDesignerAppView::ViewState() const { winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesignerAppView)->get_ViewState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_Hosting_IDesignerAppView::ViewSize() const + template auto consume_Windows_UI_Xaml_Hosting_IDesignerAppView::ViewSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesignerAppView)->get_ViewSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Hosting_IDesignerAppView::UpdateViewAsync(winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState const& viewState, winrt::Windows::Foundation::Size const& viewSize) const + template auto consume_Windows_UI_Xaml_Hosting_IDesignerAppView::UpdateViewAsync(winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState const& viewState, winrt::Windows::Foundation::Size const& viewSize) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesignerAppView)->UpdateViewAsync(static_cast(viewState), impl::bind_in(viewSize), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::Content() const + template auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource)->get_Content(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::Content(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::Content(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource)->put_Content(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::HasFocus() const + template auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::HasFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource)->get_HasFocus(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::TakeFocusRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::TakeFocusRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource)->add_TakeFocusRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::TakeFocusRequested_revoker consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::TakeFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::TakeFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TakeFocusRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::TakeFocusRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::TakeFocusRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource)->remove_TakeFocusRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::GotFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::GotFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource)->add_GotFocus(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::GotFocus_revoker consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, GotFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::GotFocus(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::GotFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource)->remove_GotFocus(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationResult) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::NavigateFocus(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest const& request) const + template auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource::NavigateFocus(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest const& request) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource)->NavigateFocus(*(void**)(&request), &result)); return winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationResult{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceGotFocusEventArgs::Request() const + template auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceGotFocusEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSourceGotFocusEventArgs)->get_Request(&value)); return winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceTakeFocusRequestedEventArgs::Request() const + template auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceTakeFocusRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSourceTakeFocusRequestedEventArgs)->get_Request(&value)); return winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics::GetElementVisual(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics::GetElementVisual(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IElementCompositionPreviewStatics)->GetElementVisual(*(void**)(&element), &result)); return winrt::Windows::UI::Composition::Visual{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics::GetElementChildVisual(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics::GetElementChildVisual(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IElementCompositionPreviewStatics)->GetElementChildVisual(*(void**)(&element), &result)); return winrt::Windows::UI::Composition::Visual{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics::SetElementChildVisual(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::Visual const& visual) const + template auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics::SetElementChildVisual(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::Visual const& visual) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IElementCompositionPreviewStatics)->SetElementChildVisual(*(void**)(&element), *(void**)(&visual))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPropertySet) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics::GetScrollViewerManipulationPropertySet(winrt::Windows::UI::Xaml::Controls::ScrollViewer const& scrollViewer) const + template auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics::GetScrollViewerManipulationPropertySet(winrt::Windows::UI::Xaml::Controls::ScrollViewer const& scrollViewer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IElementCompositionPreviewStatics)->GetScrollViewerManipulationPropertySet(*(void**)(&scrollViewer), &result)); return winrt::Windows::UI::Composition::CompositionPropertySet{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2::SetImplicitShowAnimation(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const + template auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2::SetImplicitShowAnimation(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IElementCompositionPreviewStatics2)->SetImplicitShowAnimation(*(void**)(&element), *(void**)(&animation))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2::SetImplicitHideAnimation(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const + template auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2::SetImplicitHideAnimation(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IElementCompositionPreviewStatics2)->SetImplicitHideAnimation(*(void**)(&element), *(void**)(&animation))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2::SetIsTranslationEnabled(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const + template auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2::SetIsTranslationEnabled(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IElementCompositionPreviewStatics2)->SetIsTranslationEnabled(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPropertySet) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2::GetPointerPositionPropertySet(winrt::Windows::UI::Xaml::UIElement const& targetElement) const + template auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2::GetPointerPositionPropertySet(winrt::Windows::UI::Xaml::UIElement const& targetElement) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IElementCompositionPreviewStatics2)->GetPointerPositionPropertySet(*(void**)(&targetElement), &result)); return winrt::Windows::UI::Composition::CompositionPropertySet{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics3::SetAppWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& appWindow, winrt::Windows::UI::Xaml::UIElement const& xamlContent) const + template auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics3::SetAppWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& appWindow, winrt::Windows::UI::Xaml::UIElement const& xamlContent) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IElementCompositionPreviewStatics3)->SetAppWindowContent(*(void**)(&appWindow), *(void**)(&xamlContent))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics3::GetAppWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& appWindow) const + template auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics3::GetAppWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& appWindow) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IElementCompositionPreviewStatics3)->GetAppWindowContent(*(void**)(&appWindow), &result)); return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::WindowsXamlManager) consume_Windows_UI_Xaml_Hosting_IWindowsXamlManagerStatics::InitializeForCurrentThread() const + template auto consume_Windows_UI_Xaml_Hosting_IWindowsXamlManagerStatics::InitializeForCurrentThread() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IWindowsXamlManagerStatics)->InitializeForCurrentThread(&result)); return winrt::Windows::UI::Xaml::Hosting::WindowsXamlManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason) consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequest::Reason() const + template auto consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequest::Reason() const { winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationRequest)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequest::HintRect() const + template auto consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequest::HintRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationRequest)->get_HintRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequest::CorrelationId() const + template auto consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequest::CorrelationId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationRequest)->get_CorrelationId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest) consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequestFactory::CreateInstance(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason) const + template auto consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequestFactory::CreateInstance(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationRequestFactory)->CreateInstance(static_cast(reason), &value)); return winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest) consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequestFactory::CreateInstanceWithHintRect(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason, winrt::Windows::Foundation::Rect const& hintRect) const + template auto consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequestFactory::CreateInstanceWithHintRect(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason, winrt::Windows::Foundation::Rect const& hintRect) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationRequestFactory)->CreateInstanceWithHintRect(static_cast(reason), impl::bind_in(hintRect), &value)); return winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest) consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequestFactory::CreateInstanceWithHintRectAndCorrelationId(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason, winrt::Windows::Foundation::Rect const& hintRect, winrt::guid const& correlationId) const + template auto consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequestFactory::CreateInstanceWithHintRectAndCorrelationId(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason, winrt::Windows::Foundation::Rect const& hintRect, winrt::guid const& correlationId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationRequestFactory)->CreateInstanceWithHintRectAndCorrelationId(static_cast(reason), impl::bind_in(hintRect), impl::bind_in(correlationId), &value)); return winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationResult::WasFocusMoved() const + template auto consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationResult::WasFocusMoved() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationResult)->get_WasFocusMoved(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationResult) consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationResultFactory::CreateInstance(bool focusMoved) const + template auto consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationResultFactory::CreateInstance(bool focusMoved) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationResultFactory)->CreateInstance(focusMoved, &value)); return winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationResult{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::RootElement() const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::RootElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter)->get_RootElement(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::RootElement(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::RootElement(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter)->put_RootElement(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::ThemeKey() const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::ThemeKey() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter)->get_ThemeKey(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::ThemeKey(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::ThemeKey(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter)->put_ThemeKey(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::ThemeResourcesXaml() const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::ThemeResourcesXaml() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter)->get_ThemeResourcesXaml(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::ThemeResourcesXaml(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::ThemeResourcesXaml(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter)->put_ThemeResourcesXaml(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::SetSize(int32_t width, int32_t height) const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::SetSize(int32_t width, int32_t height) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter)->SetSize(width, height)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::Render() const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::Render() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter)->Render()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::Present() const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter::Present() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter)->Present()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost::ResolveFileResource(param::hstring const& path) const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost::ResolveFileResource(param::hstring const& path) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterHost)->ResolveFileResource(*(void**)(&path), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost2::GetGenericXamlFilePath() const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost2::GetGenericXamlFilePath() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterHost2)->GetGenericXamlFilePath(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost3::ResolveDictionaryResource(winrt::Windows::UI::Xaml::ResourceDictionary const& dictionary, winrt::Windows::Foundation::IInspectable const& dictionaryKey, winrt::Windows::Foundation::IInspectable const& suggestedValue) const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost3::ResolveDictionaryResource(winrt::Windows::UI::Xaml::ResourceDictionary const& dictionary, winrt::Windows::Foundation::IInspectable const& dictionaryKey, winrt::Windows::Foundation::IInspectable const& suggestedValue) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterHost3)->ResolveDictionaryResource(*(void**)(&dictionary), *(void**)(&dictionaryKey), *(void**)(&suggestedValue), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics::CompleteTimelinesAutomatically() const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics::CompleteTimelinesAutomatically() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterStatics)->get_CompleteTimelinesAutomatically(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics::CompleteTimelinesAutomatically(bool value) const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics::CompleteTimelinesAutomatically(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterStatics)->put_CompleteTimelinesAutomatically(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics::SetHost(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterHost const& host) const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics::SetHost(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterHost const& host) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterStatics)->SetHost(*(void**)(&host))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics::NotifyWindowSizeChanged() const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics::NotifyWindowSizeChanged() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterStatics)->NotifyWindowSizeChanged()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics2::GetFlyoutPlacementTargetInfo(winrt::Windows::UI::Xaml::FrameworkElement const& placementTarget, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& preferredPlacement, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode& targetPreferredPlacement, bool& allowFallbacks) const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics2::GetFlyoutPlacementTargetInfo(winrt::Windows::UI::Xaml::FrameworkElement const& placementTarget, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& preferredPlacement, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode& targetPreferredPlacement, bool& allowFallbacks) const { winrt::Windows::Foundation::Rect returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterStatics2)->GetFlyoutPlacementTargetInfo(*(void**)(&placementTarget), static_cast(preferredPlacement), reinterpret_cast(&targetPreferredPlacement), &allowFallbacks, put_abi(returnValue))); return returnValue; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics2::GetFlyoutPlacement(winrt::Windows::Foundation::Rect const& placementTargetBounds, winrt::Windows::Foundation::Size const& controlSize, winrt::Windows::Foundation::Size const& minControlSize, winrt::Windows::Foundation::Rect const& containerRect, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& targetPreferredPlacement, bool allowFallbacks, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode& chosenPlacement) const + template auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics2::GetFlyoutPlacement(winrt::Windows::Foundation::Rect const& placementTargetBounds, winrt::Windows::Foundation::Size const& controlSize, winrt::Windows::Foundation::Size const& minControlSize, winrt::Windows::Foundation::Rect const& containerRect, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& targetPreferredPlacement, bool allowFallbacks, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode& chosenPlacement) const { winrt::Windows::Foundation::Rect returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterStatics2)->GetFlyoutPlacement(impl::bind_in(placementTargetBounds), impl::bind_in(controlSize), impl::bind_in(minControlSize), impl::bind_in(containerRect), static_cast(targetPreferredPlacement), allowFallbacks, reinterpret_cast(&chosenPlacement), put_abi(returnValue))); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Input.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Input.h index 09544677..8b7ea887 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Input.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Input.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Input_H #define WINRT_Windows_UI_Xaml_Input_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.h" #include "winrt/impl/Windows.Devices.Input.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -18,1347 +18,1347 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Input.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Input_IAccessKeyDisplayRequestedEventArgs::PressedKeys() const + template auto consume_Windows_UI_Xaml_Input_IAccessKeyDisplayRequestedEventArgs::PressedKeys() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyDisplayRequestedEventArgs)->get_PressedKeys(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IAccessKeyInvokedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_IAccessKeyInvokedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyInvokedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IAccessKeyInvokedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IAccessKeyInvokedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyInvokedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics::IsDisplayModeEnabled() const + template auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics::IsDisplayModeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics)->get_IsDisplayModeEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics::IsDisplayModeEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics::IsDisplayModeEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics)->add_IsDisplayModeEnabledChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics::IsDisplayModeEnabledChanged_revoker consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics::IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics::IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsDisplayModeEnabledChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics::IsDisplayModeEnabledChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics::IsDisplayModeEnabledChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics)->remove_IsDisplayModeEnabledChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics::ExitDisplayMode() const + template auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics::ExitDisplayMode() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics)->ExitDisplayMode()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics2::AreKeyTipsEnabled() const + template auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics2::AreKeyTipsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics2)->get_AreKeyTipsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics2::AreKeyTipsEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics2::AreKeyTipsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics2)->put_AreKeyTipsEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Input_ICanExecuteRequestedEventArgs::Parameter() const + template auto consume_Windows_UI_Xaml_Input_ICanExecuteRequestedEventArgs::Parameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICanExecuteRequestedEventArgs)->get_Parameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_ICanExecuteRequestedEventArgs::CanExecute() const + template auto consume_Windows_UI_Xaml_Input_ICanExecuteRequestedEventArgs::CanExecute() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICanExecuteRequestedEventArgs)->get_CanExecute(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_ICanExecuteRequestedEventArgs::CanExecute(bool value) const + template auto consume_Windows_UI_Xaml_Input_ICanExecuteRequestedEventArgs::CanExecute(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICanExecuteRequestedEventArgs)->put_CanExecute(value)); } - template WINRT_IMPL_AUTO(char16_t) consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs::Character() const + template auto consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs::Character() const { char16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICharacterReceivedRoutedEventArgs)->get_Character(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs::KeyStatus() const + template auto consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs::KeyStatus() const { winrt::Windows::UI::Core::CorePhysicalKeyStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICharacterReceivedRoutedEventArgs)->get_KeyStatus(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICharacterReceivedRoutedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICharacterReceivedRoutedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_ICommand::CanExecuteChanged(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_ICommand::CanExecuteChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICommand)->add_CanExecuteChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Input_ICommand::CanExecuteChanged_revoker consume_Windows_UI_Xaml_Input_ICommand::CanExecuteChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_ICommand::CanExecuteChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, CanExecuteChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_ICommand::CanExecuteChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Input_ICommand::CanExecuteChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICommand)->remove_CanExecuteChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_ICommand::CanExecute(winrt::Windows::Foundation::IInspectable const& parameter) const + template auto consume_Windows_UI_Xaml_Input_ICommand::CanExecute(winrt::Windows::Foundation::IInspectable const& parameter) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICommand)->CanExecute(*(void**)(¶meter), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_ICommand::Execute(winrt::Windows::Foundation::IInspectable const& parameter) const + template auto consume_Windows_UI_Xaml_Input_ICommand::Execute(winrt::Windows::Foundation::IInspectable const& parameter) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICommand)->Execute(*(void**)(¶meter))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IContextRequestedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_IContextRequestedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IContextRequestedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IContextRequestedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IContextRequestedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IContextRequestedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IContextRequestedEventArgs::TryGetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo, winrt::Windows::Foundation::Point& point) const + template auto consume_Windows_UI_Xaml_Input_IContextRequestedEventArgs::TryGetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo, winrt::Windows::Foundation::Point& point) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IContextRequestedEventArgs)->TryGetPosition(*(void**)(&relativeTo), impl::bind_out(point), &returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IDoubleTappedRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IDoubleTappedRoutedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IDoubleTappedRoutedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const + template auto consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IDoubleTappedRoutedEventArgs)->GetPosition(*(void**)(&relativeTo), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Input_IExecuteRequestedEventArgs::Parameter() const + template auto consume_Windows_UI_Xaml_Input_IExecuteRequestedEventArgs::Parameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IExecuteRequestedEventArgs)->get_Parameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IFindNextElementOptions::SearchRoot() const + template auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions::SearchRoot() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->get_SearchRoot(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IFindNextElementOptions::SearchRoot(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions::SearchRoot(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->put_SearchRoot(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Input_IFindNextElementOptions::ExclusionRect() const + template auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions::ExclusionRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->get_ExclusionRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IFindNextElementOptions::ExclusionRect(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions::ExclusionRect(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->put_ExclusionRect(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Input_IFindNextElementOptions::HintRect() const + template auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions::HintRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->get_HintRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IFindNextElementOptions::HintRect(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions::HintRect(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->put_HintRect(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategyOverride) consume_Windows_UI_Xaml_Input_IFindNextElementOptions::XYFocusNavigationStrategyOverride() const + template auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions::XYFocusNavigationStrategyOverride() const { winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategyOverride value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->get_XYFocusNavigationStrategyOverride(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IFindNextElementOptions::XYFocusNavigationStrategyOverride(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategyOverride const& value) const + template auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions::XYFocusNavigationStrategyOverride(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategyOverride const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->put_XYFocusNavigationStrategyOverride(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IFocusManagerGotFocusEventArgs::NewFocusedElement() const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerGotFocusEventArgs::NewFocusedElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerGotFocusEventArgs)->get_NewFocusedElement(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_UI_Xaml_Input_IFocusManagerGotFocusEventArgs::CorrelationId() const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerGotFocusEventArgs::CorrelationId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerGotFocusEventArgs)->get_CorrelationId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IFocusManagerLostFocusEventArgs::OldFocusedElement() const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerLostFocusEventArgs::OldFocusedElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerLostFocusEventArgs)->get_OldFocusedElement(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_UI_Xaml_Input_IFocusManagerLostFocusEventArgs::CorrelationId() const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerLostFocusEventArgs::CorrelationId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerLostFocusEventArgs)->get_CorrelationId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Input_IFocusManagerStatics::GetFocusedElement() const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics::GetFocusedElement() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics)->GetFocusedElement(&result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IFocusManagerStatics2::TryMoveFocus(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics2::TryMoveFocus(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics2)->TryMoveFocus(static_cast(focusNavigationDirection), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Input_IFocusManagerStatics3::FindNextFocusableElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics3::FindNextFocusableElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics3)->FindNextFocusableElement(static_cast(focusNavigationDirection), &result)); return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Input_IFocusManagerStatics3::FindNextFocusableElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::Foundation::Rect const& hintRect) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics3::FindNextFocusableElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::Foundation::Rect const& hintRect) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics3)->FindNextFocusableElementWithHint(static_cast(focusNavigationDirection), impl::bind_in(hintRect), &result)); return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IFocusManagerStatics4::TryMoveFocus(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics4::TryMoveFocus(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics4)->TryMoveFocusWithOptions(static_cast(focusNavigationDirection), *(void**)(&focusNavigationOptions), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IFocusManagerStatics4::FindNextElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics4::FindNextElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics4)->FindNextElement(static_cast(focusNavigationDirection), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IFocusManagerStatics4::FindFirstFocusableElement(winrt::Windows::UI::Xaml::DependencyObject const& searchScope) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics4::FindFirstFocusableElement(winrt::Windows::UI::Xaml::DependencyObject const& searchScope) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics4)->FindFirstFocusableElement(*(void**)(&searchScope), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IFocusManagerStatics4::FindLastFocusableElement(winrt::Windows::UI::Xaml::DependencyObject const& searchScope) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics4::FindLastFocusableElement(winrt::Windows::UI::Xaml::DependencyObject const& searchScope) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics4)->FindLastFocusableElement(*(void**)(&searchScope), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IFocusManagerStatics4::FindNextElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics4::FindNextElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics4)->FindNextElementWithOptions(static_cast(focusNavigationDirection), *(void**)(&focusNavigationOptions), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Input_IFocusManagerStatics5::TryFocusAsync(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FocusState const& value) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics5::TryFocusAsync(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FocusState const& value) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics5)->TryFocusAsync(*(void**)(&element), static_cast(value), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Input_IFocusManagerStatics5::TryMoveFocusAsync(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics5::TryMoveFocusAsync(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics5)->TryMoveFocusAsync(static_cast(focusNavigationDirection), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Input_IFocusManagerStatics5::TryMoveFocusAsync(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics5::TryMoveFocusAsync(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics5)->TryMoveFocusWithOptionsAsync(static_cast(focusNavigationDirection), *(void**)(&focusNavigationOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GotFocus(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GotFocus(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->add_GotFocus(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GotFocus_revoker consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, GotFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GotFocus(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GotFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->remove_GotFocus(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LostFocus(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LostFocus(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->add_LostFocus(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LostFocus_revoker consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, LostFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LostFocus(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LostFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->remove_LostFocus(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GettingFocus(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GettingFocus(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->add_GettingFocus(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GettingFocus_revoker consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, GettingFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GettingFocus(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GettingFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->remove_GettingFocus(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LosingFocus(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LosingFocus(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->add_LosingFocus(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LosingFocus_revoker consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, LosingFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LosingFocus(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LosingFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->remove_LosingFocus(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Input_IFocusManagerStatics7::GetFocusedElement(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot) const + template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics7::GetFocusedElement(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics7)->GetFocusedElement(*(void**)(&xamlRoot), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IFocusMovementResult::Succeeded() const + template auto consume_Windows_UI_Xaml_Input_IFocusMovementResult::Succeeded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusMovementResult)->get_Succeeded(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::OldFocusedElement() const + template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::OldFocusedElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_OldFocusedElement(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::NewFocusedElement() const + template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::NewFocusedElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_NewFocusedElement(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::NewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::NewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->put_NewFocusedElement(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusState) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::FocusState() const + template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::FocusState() const { winrt::Windows::UI::Xaml::FocusState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_FocusState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::Direction() const + template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::Direction() const { winrt::Windows::UI::Xaml::Input::FocusNavigationDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_Direction(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::InputDevice() const + template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::InputDevice() const { winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_InputDevice(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs2::TryCancel() const + template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs2::TryCancel() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs2)->TryCancel(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs2::TrySetNewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs2::TrySetNewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs2)->TrySetNewFocusedElement(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs3::CorrelationId() const + template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs3::CorrelationId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs3)->get_CorrelationId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IHoldingRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::HoldingState) consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs::HoldingState() const + template auto consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs::HoldingState() const { winrt::Windows::UI::Input::HoldingState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IHoldingRoutedEventArgs)->get_HoldingState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IHoldingRoutedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IHoldingRoutedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const + template auto consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IHoldingRoutedEventArgs)->GetPosition(*(void**)(&relativeTo), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior::DesiredDeceleration() const + template auto consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior::DesiredDeceleration() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaExpansionBehavior)->get_DesiredDeceleration(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior::DesiredDeceleration(double value) const + template auto consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior::DesiredDeceleration(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaExpansionBehavior)->put_DesiredDeceleration(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior::DesiredExpansion() const + template auto consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior::DesiredExpansion() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaExpansionBehavior)->get_DesiredExpansion(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior::DesiredExpansion(double value) const + template auto consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior::DesiredExpansion(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaExpansionBehavior)->put_DesiredExpansion(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior::DesiredDeceleration() const + template auto consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior::DesiredDeceleration() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaRotationBehavior)->get_DesiredDeceleration(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior::DesiredDeceleration(double value) const + template auto consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior::DesiredDeceleration(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaRotationBehavior)->put_DesiredDeceleration(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior::DesiredRotation() const + template auto consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior::DesiredRotation() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaRotationBehavior)->get_DesiredRotation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior::DesiredRotation(double value) const + template auto consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior::DesiredRotation(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaRotationBehavior)->put_DesiredRotation(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior::DesiredDeceleration() const + template auto consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior::DesiredDeceleration() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaTranslationBehavior)->get_DesiredDeceleration(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior::DesiredDeceleration(double value) const + template auto consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior::DesiredDeceleration(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaTranslationBehavior)->put_DesiredDeceleration(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior::DesiredDisplacement() const + template auto consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior::DesiredDisplacement() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaTranslationBehavior)->get_DesiredDisplacement(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior::DesiredDisplacement(double value) const + template auto consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior::DesiredDisplacement(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaTranslationBehavior)->put_DesiredDisplacement(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Input_IInputScope::Names() const + template auto consume_Windows_UI_Xaml_Input_IInputScope::Names() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInputScope)->get_Names(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InputScopeNameValue) consume_Windows_UI_Xaml_Input_IInputScopeName::NameValue() const + template auto consume_Windows_UI_Xaml_Input_IInputScopeName::NameValue() const { winrt::Windows::UI::Xaml::Input::InputScopeNameValue value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInputScopeName)->get_NameValue(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IInputScopeName::NameValue(winrt::Windows::UI::Xaml::Input::InputScopeNameValue const& value) const + template auto consume_Windows_UI_Xaml_Input_IInputScopeName::NameValue(winrt::Windows::UI::Xaml::Input::InputScopeNameValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInputScopeName)->put_NameValue(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InputScopeName) consume_Windows_UI_Xaml_Input_IInputScopeNameFactory::CreateInstance(winrt::Windows::UI::Xaml::Input::InputScopeNameValue const& nameValue) const + template auto consume_Windows_UI_Xaml_Input_IInputScopeNameFactory::CreateInstance(winrt::Windows::UI::Xaml::Input::InputScopeNameValue const& nameValue) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInputScopeNameFactory)->CreateInstance(static_cast(nameValue), &value)); return winrt::Windows::UI::Xaml::Input::InputScopeName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs::Key() const + template auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs::Key() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs)->get_Key(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs::KeyStatus() const + template auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs::KeyStatus() const { winrt::Windows::UI::Core::CorePhysicalKeyStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs)->get_KeyStatus(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs2::OriginalKey() const + template auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs2::OriginalKey() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs2)->get_OriginalKey(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs3::DeviceId() const + template auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs3::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs3)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Key() const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Key() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->get_Key(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Key(winrt::Windows::System::VirtualKey const& value) const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Key(winrt::Windows::System::VirtualKey const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->put_Key(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Modifiers() const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Modifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->get_Modifiers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Modifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Modifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->put_Modifiers(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::IsEnabled() const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::IsEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->put_IsEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::ScopeOwner() const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::ScopeOwner() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->get_ScopeOwner(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::ScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::ScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->put_ScopeOwner(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->add_Invoked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Invoked_revoker consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Invoked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Invoked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Invoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->remove_Invoked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyboardAccelerator) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Input::KeyboardAccelerator{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorInvokedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorInvokedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs::Element() const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs::Element() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorInvokedEventArgs)->get_Element(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyboardAccelerator) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs2::KeyboardAccelerator() const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs2::KeyboardAccelerator() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorInvokedEventArgs2)->get_KeyboardAccelerator(&value)); return winrt::Windows::UI::Xaml::Input::KeyboardAccelerator{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics::KeyProperty() const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics::KeyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorStatics)->get_KeyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics::ModifiersProperty() const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics::ModifiersProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorStatics)->get_ModifiersProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics::IsEnabledProperty() const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics::IsEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorStatics)->get_IsEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics::ScopeOwnerProperty() const + template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics::ScopeOwnerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorStatics)->get_ScopeOwnerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::OldFocusedElement() const + template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::OldFocusedElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_OldFocusedElement(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::NewFocusedElement() const + template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::NewFocusedElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_NewFocusedElement(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::NewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::NewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->put_NewFocusedElement(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusState) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::FocusState() const + template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::FocusState() const { winrt::Windows::UI::Xaml::FocusState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_FocusState(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::Direction() const + template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::Direction() const { winrt::Windows::UI::Xaml::Input::FocusNavigationDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_Direction(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::InputDevice() const + template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::InputDevice() const { winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_InputDevice(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs2::TryCancel() const + template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs2::TryCancel() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs2)->TryCancel(&result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs2::TrySetNewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs2::TrySetNewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs2)->TrySetNewFocusedElement(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs3::CorrelationId() const + template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs3::CorrelationId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs3)->get_CorrelationId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Container() const + template auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Container() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_Container(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Position() const + template auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::IsInertial() const + template auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::IsInertial() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_IsInertial(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Cumulative() const + template auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Cumulative() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_Cumulative(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Velocities() const + template auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Velocities() const { winrt::Windows::UI::Input::ManipulationVelocities value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_Velocities(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Container() const + template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Container() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_Container(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Position() const + template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::IsInertial() const + template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::IsInertial() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_IsInertial(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Delta() const + template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Delta() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_Delta(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Cumulative() const + template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Cumulative() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_Cumulative(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Velocities() const + template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Velocities() const { winrt::Windows::UI::Input::ManipulationVelocities value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_Velocities(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Complete() const + template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Container() const + template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Container() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_Container(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InertiaExpansionBehavior) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::ExpansionBehavior() const + template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::ExpansionBehavior() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_ExpansionBehavior(&value)); return winrt::Windows::UI::Xaml::Input::InertiaExpansionBehavior{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::ExpansionBehavior(winrt::Windows::UI::Xaml::Input::InertiaExpansionBehavior const& value) const + template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::ExpansionBehavior(winrt::Windows::UI::Xaml::Input::InertiaExpansionBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->put_ExpansionBehavior(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InertiaRotationBehavior) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::RotationBehavior() const + template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::RotationBehavior() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_RotationBehavior(&value)); return winrt::Windows::UI::Xaml::Input::InertiaRotationBehavior{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::RotationBehavior(winrt::Windows::UI::Xaml::Input::InertiaRotationBehavior const& value) const + template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::RotationBehavior(winrt::Windows::UI::Xaml::Input::InertiaRotationBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->put_RotationBehavior(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InertiaTranslationBehavior) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::TranslationBehavior() const + template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::TranslationBehavior() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_TranslationBehavior(&value)); return winrt::Windows::UI::Xaml::Input::InertiaTranslationBehavior{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::TranslationBehavior(winrt::Windows::UI::Xaml::Input::InertiaTranslationBehavior const& value) const + template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::TranslationBehavior(winrt::Windows::UI::Xaml::Input::InertiaTranslationBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->put_TranslationBehavior(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Delta() const + template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Delta() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_Delta(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Cumulative() const + template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Cumulative() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_Cumulative(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Velocities() const + template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Velocities() const { winrt::Windows::UI::Input::ManipulationVelocities value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_Velocities(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Input_IManipulationPivot::Center() const + template auto consume_Windows_UI_Xaml_Input_IManipulationPivot::Center() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationPivot)->get_Center(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationPivot::Center(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Input_IManipulationPivot::Center(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationPivot)->put_Center(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Input_IManipulationPivot::Radius() const + template auto consume_Windows_UI_Xaml_Input_IManipulationPivot::Radius() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationPivot)->get_Radius(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationPivot::Radius(double value) const + template auto consume_Windows_UI_Xaml_Input_IManipulationPivot::Radius(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationPivot)->put_Radius(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ManipulationPivot) consume_Windows_UI_Xaml_Input_IManipulationPivotFactory::CreateInstanceWithCenterAndRadius(winrt::Windows::Foundation::Point const& center, double radius) const + template auto consume_Windows_UI_Xaml_Input_IManipulationPivotFactory::CreateInstanceWithCenterAndRadius(winrt::Windows::Foundation::Point const& center, double radius) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationPivotFactory)->CreateInstanceWithCenterAndRadius(impl::bind_in(center), radius, &value)); return winrt::Windows::UI::Xaml::Input::ManipulationPivot{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Container() const + template auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Container() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->get_Container(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Position() const + template auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->get_Position(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Cumulative() const + template auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Cumulative() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->get_Cumulative(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Complete() const + template auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->Complete()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs) consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ManipulationModes) consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Mode() const + template auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Mode() const { winrt::Windows::UI::Xaml::Input::ManipulationModes value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->get_Mode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Mode(winrt::Windows::UI::Xaml::Input::ManipulationModes const& value) const + template auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Mode(winrt::Windows::UI::Xaml::Input::ManipulationModes const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->put_Mode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Container() const + template auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Container() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->get_Container(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Container(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Container(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->put_Container(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ManipulationPivot) consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Pivot() const + template auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Pivot() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->get_Pivot(&value)); return winrt::Windows::UI::Xaml::Input::ManipulationPivot{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Pivot(winrt::Windows::UI::Xaml::Input::ManipulationPivot const& value) const + template auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Pivot(winrt::Windows::UI::Xaml::Input::ManipulationPivot const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->put_Pivot(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection) consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs::Direction() const + template auto consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs::Direction() const { winrt::Windows::UI::Xaml::Input::FocusNavigationDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::INoFocusCandidateFoundEventArgs)->get_Direction(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::INoFocusCandidateFoundEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::INoFocusCandidateFoundEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind) consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs::InputDevice() const + template auto consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs::InputDevice() const { winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::INoFocusCandidateFoundEventArgs)->get_InputDevice(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Input_IPointer::PointerId() const + template auto consume_Windows_UI_Xaml_Input_IPointer::PointerId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointer)->get_PointerId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_IPointer::PointerDeviceType() const + template auto consume_Windows_UI_Xaml_Input_IPointer::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointer)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IPointer::IsInContact() const + template auto consume_Windows_UI_Xaml_Input_IPointer::IsInContact() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointer)->get_IsInContact(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IPointer::IsInRange() const + template auto consume_Windows_UI_Xaml_Input_IPointer::IsInRange() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointer)->get_IsInRange(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::Pointer) consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::Pointer() const + template auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::Pointer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs)->get_Pointer(&value)); return winrt::Windows::UI::Xaml::Input::Pointer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::KeyModifiers() const + template auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::KeyModifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs)->get_KeyModifiers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPoint) consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::GetCurrentPoint(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const + template auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::GetCurrentPoint(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs)->GetCurrentPoint(*(void**)(&relativeTo), &result)); return winrt::Windows::UI::Input::PointerPoint{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::GetIntermediatePoints(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const + template auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::GetIntermediatePoints(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs)->GetIntermediatePoints(*(void**)(&relativeTo), &result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs2::IsGenerated() const + template auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs2::IsGenerated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs2)->get_IsGenerated(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs::Key() const + template auto consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs::Key() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IProcessKeyboardAcceleratorEventArgs)->get_Key(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs::Modifiers() const + template auto consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs::Modifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IProcessKeyboardAcceleratorEventArgs)->get_Modifiers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IProcessKeyboardAcceleratorEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IProcessKeyboardAcceleratorEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IRightTappedRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IRightTappedRoutedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IRightTappedRoutedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const + template auto consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IRightTappedRoutedEventArgs)->GetPosition(*(void**)(&relativeTo), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::StandardUICommandKind) consume_Windows_UI_Xaml_Input_IStandardUICommand::Kind() const + template auto consume_Windows_UI_Xaml_Input_IStandardUICommand::Kind() const { winrt::Windows::UI::Xaml::Input::StandardUICommandKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IStandardUICommand)->get_Kind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IStandardUICommand2::Kind(winrt::Windows::UI::Xaml::Input::StandardUICommandKind const& value) const + template auto consume_Windows_UI_Xaml_Input_IStandardUICommand2::Kind(winrt::Windows::UI::Xaml::Input::StandardUICommandKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IStandardUICommand2)->put_Kind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::StandardUICommand) consume_Windows_UI_Xaml_Input_IStandardUICommandFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Input_IStandardUICommandFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IStandardUICommandFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Input::StandardUICommand{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::StandardUICommand) consume_Windows_UI_Xaml_Input_IStandardUICommandFactory::CreateInstanceWithKind(winrt::Windows::UI::Xaml::Input::StandardUICommandKind const& kind, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Input_IStandardUICommandFactory::CreateInstanceWithKind(winrt::Windows::UI::Xaml::Input::StandardUICommandKind const& kind, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IStandardUICommandFactory)->CreateInstanceWithKind(static_cast(kind), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Input::StandardUICommand{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IStandardUICommandStatics::KindProperty() const + template auto consume_Windows_UI_Xaml_Input_IStandardUICommandStatics::KindProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IStandardUICommandStatics)->get_KindProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs::PointerDeviceType() const + template auto consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ITappedRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ITappedRoutedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ITappedRoutedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const + template auto consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ITappedRoutedEventArgs)->GetPosition(*(void**)(&relativeTo), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Input_IXamlUICommand::Label() const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IXamlUICommand::Label(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::Label(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->put_Label(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconSource) consume_Windows_UI_Xaml_Input_IXamlUICommand::IconSource() const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::IconSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->get_IconSource(&value)); return winrt::Windows::UI::Xaml::Controls::IconSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IXamlUICommand::IconSource(winrt::Windows::UI::Xaml::Controls::IconSource const& value) const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::IconSource(winrt::Windows::UI::Xaml::Controls::IconSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->put_IconSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Input_IXamlUICommand::KeyboardAccelerators() const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::KeyboardAccelerators() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->get_KeyboardAccelerators(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Input_IXamlUICommand::AccessKey() const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::AccessKey() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->get_AccessKey(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IXamlUICommand::AccessKey(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::AccessKey(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->put_AccessKey(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Input_IXamlUICommand::Description() const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IXamlUICommand::Description(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->put_Description(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) consume_Windows_UI_Xaml_Input_IXamlUICommand::Command() const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::Command() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->get_Command(&value)); return winrt::Windows::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IXamlUICommand::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->put_Command(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_IXamlUICommand::ExecuteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::ExecuteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->add_ExecuteRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Input_IXamlUICommand::ExecuteRequested_revoker consume_Windows_UI_Xaml_Input_IXamlUICommand::ExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::ExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ExecuteRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IXamlUICommand::ExecuteRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::ExecuteRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->remove_ExecuteRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_IXamlUICommand::CanExecuteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::CanExecuteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->add_CanExecuteRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Input_IXamlUICommand::CanExecuteRequested_revoker consume_Windows_UI_Xaml_Input_IXamlUICommand::CanExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::CanExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CanExecuteRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IXamlUICommand::CanExecuteRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::CanExecuteRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->remove_CanExecuteRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IXamlUICommand::NotifyCanExecuteChanged() const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::NotifyCanExecuteChanged() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->NotifyCanExecuteChanged()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XamlUICommand) consume_Windows_UI_Xaml_Input_IXamlUICommandFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommandFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommandFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Input::XamlUICommand{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::LabelProperty() const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::LabelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommandStatics)->get_LabelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::IconSourceProperty() const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::IconSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommandStatics)->get_IconSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::KeyboardAcceleratorsProperty() const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::KeyboardAcceleratorsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommandStatics)->get_KeyboardAcceleratorsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::AccessKeyProperty() const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::AccessKeyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommandStatics)->get_AccessKeyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::DescriptionProperty() const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::DescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommandStatics)->get_DescriptionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::CommandProperty() const + template auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::CommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommandStatics)->get_CommandProperty(&value)); @@ -3725,10 +3725,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Input { return impl::call_factory([&](IAccessKeyManagerStatics const& f) { return f.IsDisplayModeEnabledChanged(handler); }); } - inline AccessKeyManager::IsDisplayModeEnabledChanged_revoker AccessKeyManager::IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) + inline auto AccessKeyManager::IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.IsDisplayModeEnabledChanged(handler) }; + return AccessKeyManager::IsDisplayModeEnabledChanged_revoker{ f, f.IsDisplayModeEnabledChanged(handler) }; } inline auto AccessKeyManager::IsDisplayModeEnabledChanged(winrt::event_token const& token) { @@ -3810,10 +3810,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Input { return impl::call_factory([&](IFocusManagerStatics6 const& f) { return f.GotFocus(handler); }); } - inline FocusManager::GotFocus_revoker FocusManager::GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto FocusManager::GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.GotFocus(handler) }; + return FocusManager::GotFocus_revoker{ f, f.GotFocus(handler) }; } inline auto FocusManager::GotFocus(winrt::event_token const& token) { @@ -3823,10 +3823,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Input { return impl::call_factory([&](IFocusManagerStatics6 const& f) { return f.LostFocus(handler); }); } - inline FocusManager::LostFocus_revoker FocusManager::LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto FocusManager::LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.LostFocus(handler) }; + return FocusManager::LostFocus_revoker{ f, f.LostFocus(handler) }; } inline auto FocusManager::LostFocus(winrt::event_token const& token) { @@ -3836,10 +3836,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Input { return impl::call_factory([&](IFocusManagerStatics6 const& f) { return f.GettingFocus(handler); }); } - inline FocusManager::GettingFocus_revoker FocusManager::GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto FocusManager::GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.GettingFocus(handler) }; + return FocusManager::GettingFocus_revoker{ f, f.GettingFocus(handler) }; } inline auto FocusManager::GettingFocus(winrt::event_token const& token) { @@ -3849,10 +3849,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Input { return impl::call_factory([&](IFocusManagerStatics6 const& f) { return f.LosingFocus(handler); }); } - inline FocusManager::LosingFocus_revoker FocusManager::LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto FocusManager::LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.LosingFocus(handler) }; + return FocusManager::LosingFocus_revoker{ f, f.LosingFocus(handler) }; } inline auto FocusManager::LosingFocus(winrt::event_token const& token) { diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Interop.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Interop.h index ba6ca4c5..033c7256 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Interop.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Interop.h @@ -1,165 +1,165 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Interop_H #define WINRT_Windows_UI_Xaml_Interop_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.UI.Xaml.Interop.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::IBindableIterator) consume_Windows_UI_Xaml_Interop_IBindableIterable::First() const + template auto consume_Windows_UI_Xaml_Interop_IBindableIterable::First() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableIterable)->First(&result)); return winrt::Windows::UI::Xaml::Interop::IBindableIterator{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Interop_IBindableIterator::Current() const + template auto consume_Windows_UI_Xaml_Interop_IBindableIterator::Current() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableIterator)->get_Current(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Interop_IBindableIterator::HasCurrent() const + template auto consume_Windows_UI_Xaml_Interop_IBindableIterator::HasCurrent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableIterator)->get_HasCurrent(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Interop_IBindableIterator::MoveNext() const + template auto consume_Windows_UI_Xaml_Interop_IBindableIterator::MoveNext() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableIterator)->MoveNext(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Interop_IBindableObservableVector::VectorChanged(winrt::Windows::UI::Xaml::Interop::BindableVectorChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Interop_IBindableObservableVector::VectorChanged(winrt::Windows::UI::Xaml::Interop::BindableVectorChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableObservableVector)->add_VectorChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Interop_IBindableObservableVector::VectorChanged_revoker consume_Windows_UI_Xaml_Interop_IBindableObservableVector::VectorChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Interop::BindableVectorChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Interop_IBindableObservableVector::VectorChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Interop::BindableVectorChangedEventHandler const& handler) const { return impl::make_event_revoker(this, VectorChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Interop_IBindableObservableVector::VectorChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Interop_IBindableObservableVector::VectorChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableObservableVector)->remove_VectorChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Interop_IBindableVector::GetAt(uint32_t index) const + template auto consume_Windows_UI_Xaml_Interop_IBindableVector::GetAt(uint32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVector)->GetAt(index, &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Interop_IBindableVector::Size() const + template auto consume_Windows_UI_Xaml_Interop_IBindableVector::Size() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVector)->get_Size(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::IBindableVectorView) consume_Windows_UI_Xaml_Interop_IBindableVector::GetView() const + template auto consume_Windows_UI_Xaml_Interop_IBindableVector::GetView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVector)->GetView(&result)); return winrt::Windows::UI::Xaml::Interop::IBindableVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Interop_IBindableVector::IndexOf(winrt::Windows::Foundation::IInspectable const& value, uint32_t& index) const + template auto consume_Windows_UI_Xaml_Interop_IBindableVector::IndexOf(winrt::Windows::Foundation::IInspectable const& value, uint32_t& index) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVector)->IndexOf(*(void**)(&value), &index, &returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Interop_IBindableVector::SetAt(uint32_t index, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Interop_IBindableVector::SetAt(uint32_t index, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVector)->SetAt(index, *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Interop_IBindableVector::InsertAt(uint32_t index, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Interop_IBindableVector::InsertAt(uint32_t index, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVector)->InsertAt(index, *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Interop_IBindableVector::RemoveAt(uint32_t index) const + template auto consume_Windows_UI_Xaml_Interop_IBindableVector::RemoveAt(uint32_t index) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVector)->RemoveAt(index)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Interop_IBindableVector::Append(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Interop_IBindableVector::Append(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVector)->Append(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Interop_IBindableVector::RemoveAtEnd() const + template auto consume_Windows_UI_Xaml_Interop_IBindableVector::RemoveAtEnd() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVector)->RemoveAtEnd()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Interop_IBindableVector::Clear() const + template auto consume_Windows_UI_Xaml_Interop_IBindableVector::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVector)->Clear()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Interop_IBindableVectorView::GetAt(uint32_t index) const + template auto consume_Windows_UI_Xaml_Interop_IBindableVectorView::GetAt(uint32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVectorView)->GetAt(index, &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Interop_IBindableVectorView::Size() const + template auto consume_Windows_UI_Xaml_Interop_IBindableVectorView::Size() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVectorView)->get_Size(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Interop_IBindableVectorView::IndexOf(winrt::Windows::Foundation::IInspectable const& value, uint32_t& index) const + template auto consume_Windows_UI_Xaml_Interop_IBindableVectorView::IndexOf(winrt::Windows::Foundation::IInspectable const& value, uint32_t& index) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVectorView)->IndexOf(*(void**)(&value), &index, &returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Interop_INotifyCollectionChanged::CollectionChanged(winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChanged::CollectionChanged(winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::INotifyCollectionChanged)->add_CollectionChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Interop_INotifyCollectionChanged::CollectionChanged_revoker consume_Windows_UI_Xaml_Interop_INotifyCollectionChanged::CollectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChanged::CollectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventHandler const& handler) const { return impl::make_event_revoker(this, CollectionChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Interop_INotifyCollectionChanged::CollectionChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChanged::CollectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::INotifyCollectionChanged)->remove_CollectionChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedAction) consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs::Action() const + template auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs::Action() const { winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedAction value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs)->get_Action(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::IBindableVector) consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs::NewItems() const + template auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs::NewItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs)->get_NewItems(&value)); return winrt::Windows::UI::Xaml::Interop::IBindableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::IBindableVector) consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs::OldItems() const + template auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs::OldItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs)->get_OldItems(&value)); return winrt::Windows::UI::Xaml::Interop::IBindableVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs::NewStartingIndex() const + template auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs::NewStartingIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs)->get_NewStartingIndex(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs::OldStartingIndex() const + template auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs::OldStartingIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs)->get_OldStartingIndex(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventArgs) consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgsFactory::CreateInstanceWithAllParameters(winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedAction const& action, winrt::Windows::UI::Xaml::Interop::IBindableVector const& newItems, winrt::Windows::UI::Xaml::Interop::IBindableVector const& oldItems, int32_t newIndex, int32_t oldIndex, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgsFactory::CreateInstanceWithAllParameters(winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedAction const& action, winrt::Windows::UI::Xaml::Interop::IBindableVector const& newItems, winrt::Windows::UI::Xaml::Interop::IBindableVector const& oldItems, int32_t newIndex, int32_t oldIndex, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgsFactory)->CreateInstanceWithAllParameters(static_cast(action), *(void**)(&newItems), *(void**)(&oldItems), newIndex, oldIndex, *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Markup.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Markup.h index fb132059..77c2fe0c 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Markup.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Markup.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Markup_H #define WINRT_Windows_UI_Xaml_Markup_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,328 +15,328 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Markup.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IComponentConnector::Connect(int32_t connectionId, winrt::Windows::Foundation::IInspectable const& target) const + template auto consume_Windows_UI_Xaml_Markup_IComponentConnector::Connect(int32_t connectionId, winrt::Windows::Foundation::IInspectable const& target) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IComponentConnector)->Connect(connectionId, *(void**)(&target))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IComponentConnector) consume_Windows_UI_Xaml_Markup_IComponentConnector2::GetBindingConnector(int32_t connectionId, winrt::Windows::Foundation::IInspectable const& target) const + template auto consume_Windows_UI_Xaml_Markup_IComponentConnector2::GetBindingConnector(int32_t connectionId, winrt::Windows::Foundation::IInspectable const& target) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IComponentConnector2)->GetBindingConnector(connectionId, *(void**)(&target), &result)); return winrt::Windows::UI::Xaml::Markup::IComponentConnector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IDataTemplateComponent::Recycle() const + template auto consume_Windows_UI_Xaml_Markup_IDataTemplateComponent::Recycle() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IDataTemplateComponent)->Recycle()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IDataTemplateComponent::ProcessBindings(winrt::Windows::Foundation::IInspectable const& item, int32_t itemIndex, int32_t phase, int32_t& nextPhase) const + template auto consume_Windows_UI_Xaml_Markup_IDataTemplateComponent::ProcessBindings(winrt::Windows::Foundation::IInspectable const& item, int32_t itemIndex, int32_t phase, int32_t& nextPhase) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IDataTemplateComponent)->ProcessBindings(*(void**)(&item), itemIndex, phase, &nextPhase)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::MarkupExtension) consume_Windows_UI_Xaml_Markup_IMarkupExtensionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Markup_IMarkupExtensionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IMarkupExtensionFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Markup::MarkupExtension{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Markup_IMarkupExtensionOverrides::ProvideValue() const + template auto consume_Windows_UI_Xaml_Markup_IMarkupExtensionOverrides::ProvideValue() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IMarkupExtensionOverrides)->ProvideValue(&result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::XamlBinaryWriterErrorInformation) consume_Windows_UI_Xaml_Markup_IXamlBinaryWriterStatics::Write(param::vector const& inputStreams, param::vector const& outputStreams, winrt::Windows::UI::Xaml::Markup::IXamlMetadataProvider const& xamlMetadataProvider) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBinaryWriterStatics::Write(param::vector const& inputStreams, param::vector const& outputStreams, winrt::Windows::UI::Xaml::Markup::IXamlMetadataProvider const& xamlMetadataProvider) const { winrt::Windows::UI::Xaml::Markup::XamlBinaryWriterErrorInformation result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBinaryWriterStatics)->Write(*(void**)(&inputStreams), *(void**)(&outputStreams), *(void**)(&xamlMetadataProvider), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindScopeDiagnostics::Disable(int32_t lineNumber, int32_t columnNumber) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindScopeDiagnostics::Disable(int32_t lineNumber, int32_t columnNumber) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindScopeDiagnostics)->Disable(lineNumber, columnNumber)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::DataTemplateComponentProperty() const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::DataTemplateComponentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->get_DataTemplateComponentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IDataTemplateComponent) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::GetDataTemplateComponent(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::GetDataTemplateComponent(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->GetDataTemplateComponent(*(void**)(&element), &result)); return winrt::Windows::UI::Xaml::Markup::IDataTemplateComponent{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetDataTemplateComponent(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Markup::IDataTemplateComponent const& value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetDataTemplateComponent(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Markup::IDataTemplateComponent const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetDataTemplateComponent(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SuspendRendering(winrt::Windows::UI::Xaml::UIElement const& target) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SuspendRendering(winrt::Windows::UI::Xaml::UIElement const& target) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SuspendRendering(*(void**)(&target))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::ResumeRendering(winrt::Windows::UI::Xaml::UIElement const& target) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::ResumeRendering(winrt::Windows::UI::Xaml::UIElement const& target) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->ResumeRendering(*(void**)(&target))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::ConvertValue(winrt::Windows::UI::Xaml::Interop::TypeName const& type, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::ConvertValue(winrt::Windows::UI::Xaml::Interop::TypeName const& type, winrt::Windows::Foundation::IInspectable const& value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->ConvertValue(impl::bind_in(type), *(void**)(&value), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromString(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromString(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromString(*(void**)(&dependencyObject), *(void**)(&propertyToSet), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromBoolean(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, bool value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromBoolean(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromBoolean(*(void**)(&dependencyObject), *(void**)(&propertyToSet), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromChar16(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, char16_t value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromChar16(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, char16_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromChar16(*(void**)(&dependencyObject), *(void**)(&propertyToSet), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromDateTime(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromDateTime(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromDateTime(*(void**)(&dependencyObject), *(void**)(&propertyToSet), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromDouble(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, double value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromDouble(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromDouble(*(void**)(&dependencyObject), *(void**)(&propertyToSet), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromInt32(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, int32_t value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromInt32(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromInt32(*(void**)(&dependencyObject), *(void**)(&propertyToSet), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromUInt32(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, uint32_t value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromUInt32(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromUInt32(*(void**)(&dependencyObject), *(void**)(&propertyToSet), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromInt64(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, int64_t value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromInt64(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, int64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromInt64(*(void**)(&dependencyObject), *(void**)(&propertyToSet), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromUInt64(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, uint64_t value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromUInt64(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, uint64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromUInt64(*(void**)(&dependencyObject), *(void**)(&propertyToSet), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromSingle(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, float value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromSingle(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromSingle(*(void**)(&dependencyObject), *(void**)(&propertyToSet), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromPoint(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromPoint(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromPoint(*(void**)(&dependencyObject), *(void**)(&propertyToSet), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromRect(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromRect(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromRect(*(void**)(&dependencyObject), *(void**)(&propertyToSet), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromSize(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Size const& value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromSize(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Size const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromSize(*(void**)(&dependencyObject), *(void**)(&propertyToSet), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromTimeSpan(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromTimeSpan(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromTimeSpan(*(void**)(&dependencyObject), *(void**)(&propertyToSet), impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromByte(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, uint8_t value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromByte(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, uint8_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromByte(*(void**)(&dependencyObject), *(void**)(&propertyToSet), value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromUri(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromUri(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromUri(*(void**)(&dependencyObject), *(void**)(&propertyToSet), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromObject(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics::SetPropertyFromObject(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SetPropertyFromObject(*(void**)(&dependencyObject), *(void**)(&propertyToSet), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlMarkupHelperStatics::UnloadObject(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_Markup_IXamlMarkupHelperStatics::UnloadObject(winrt::Windows::UI::Xaml::DependencyObject const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlMarkupHelperStatics)->UnloadObject(*(void**)(&element))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlMember::IsAttachable() const + template auto consume_Windows_UI_Xaml_Markup_IXamlMember::IsAttachable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlMember)->get_IsAttachable(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlMember::IsDependencyProperty() const + template auto consume_Windows_UI_Xaml_Markup_IXamlMember::IsDependencyProperty() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlMember)->get_IsDependencyProperty(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlMember::IsReadOnly() const + template auto consume_Windows_UI_Xaml_Markup_IXamlMember::IsReadOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlMember)->get_IsReadOnly(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Markup_IXamlMember::Name() const + template auto consume_Windows_UI_Xaml_Markup_IXamlMember::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlMember)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) consume_Windows_UI_Xaml_Markup_IXamlMember::TargetType() const + template auto consume_Windows_UI_Xaml_Markup_IXamlMember::TargetType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlMember)->get_TargetType(&value)); return winrt::Windows::UI::Xaml::Markup::IXamlType{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) consume_Windows_UI_Xaml_Markup_IXamlMember::Type() const + template auto consume_Windows_UI_Xaml_Markup_IXamlMember::Type() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlMember)->get_Type(&value)); return winrt::Windows::UI::Xaml::Markup::IXamlType{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Markup_IXamlMember::GetValue(winrt::Windows::Foundation::IInspectable const& instance) const + template auto consume_Windows_UI_Xaml_Markup_IXamlMember::GetValue(winrt::Windows::Foundation::IInspectable const& instance) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlMember)->GetValue(*(void**)(&instance), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlMember::SetValue(winrt::Windows::Foundation::IInspectable const& instance, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlMember::SetValue(winrt::Windows::Foundation::IInspectable const& instance, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlMember)->SetValue(*(void**)(&instance), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) consume_Windows_UI_Xaml_Markup_IXamlMetadataProvider::GetXamlType(winrt::Windows::UI::Xaml::Interop::TypeName const& type) const + template auto consume_Windows_UI_Xaml_Markup_IXamlMetadataProvider::GetXamlType(winrt::Windows::UI::Xaml::Interop::TypeName const& type) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlMetadataProvider)->GetXamlType(impl::bind_in(type), &result)); return winrt::Windows::UI::Xaml::Markup::IXamlType{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) consume_Windows_UI_Xaml_Markup_IXamlMetadataProvider::GetXamlType(param::hstring const& fullName) const + template auto consume_Windows_UI_Xaml_Markup_IXamlMetadataProvider::GetXamlType(param::hstring const& fullName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlMetadataProvider)->GetXamlTypeByFullName(*(void**)(&fullName), &result)); return winrt::Windows::UI::Xaml::Markup::IXamlType{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(com_array) consume_Windows_UI_Xaml_Markup_IXamlMetadataProvider::GetXmlnsDefinitions() const + template auto consume_Windows_UI_Xaml_Markup_IXamlMetadataProvider::GetXmlnsDefinitions() const { uint32_t result_impl_size{}; struct struct_Windows_UI_Xaml_Markup_XmlnsDefinition* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlMetadataProvider)->GetXmlnsDefinitions(&result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Markup_IXamlReaderStatics::Load(param::hstring const& xaml) const + template auto consume_Windows_UI_Xaml_Markup_IXamlReaderStatics::Load(param::hstring const& xaml) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlReaderStatics)->Load(*(void**)(&xaml), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Markup_IXamlReaderStatics::LoadWithInitialTemplateValidation(param::hstring const& xaml) const + template auto consume_Windows_UI_Xaml_Markup_IXamlReaderStatics::LoadWithInitialTemplateValidation(param::hstring const& xaml) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlReaderStatics)->LoadWithInitialTemplateValidation(*(void**)(&xaml), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) consume_Windows_UI_Xaml_Markup_IXamlType::BaseType() const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::BaseType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_BaseType(&value)); return winrt::Windows::UI::Xaml::Markup::IXamlType{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlMember) consume_Windows_UI_Xaml_Markup_IXamlType::ContentProperty() const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_ContentProperty(&value)); return winrt::Windows::UI::Xaml::Markup::IXamlMember{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Markup_IXamlType::FullName() const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::FullName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_FullName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlType::IsArray() const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::IsArray() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_IsArray(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlType::IsCollection() const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::IsCollection() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_IsCollection(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlType::IsConstructible() const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::IsConstructible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_IsConstructible(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlType::IsDictionary() const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::IsDictionary() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_IsDictionary(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlType::IsMarkupExtension() const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::IsMarkupExtension() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_IsMarkupExtension(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlType::IsBindable() const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::IsBindable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_IsBindable(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) consume_Windows_UI_Xaml_Markup_IXamlType::ItemType() const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::ItemType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_ItemType(&value)); return winrt::Windows::UI::Xaml::Markup::IXamlType{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) consume_Windows_UI_Xaml_Markup_IXamlType::KeyType() const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::KeyType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_KeyType(&value)); return winrt::Windows::UI::Xaml::Markup::IXamlType{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Markup_IXamlType::UnderlyingType() const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::UnderlyingType() const { winrt::Windows::UI::Xaml::Interop::TypeName value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_UnderlyingType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Markup_IXamlType::ActivateInstance() const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::ActivateInstance() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->ActivateInstance(&result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Markup_IXamlType::CreateFromString(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::CreateFromString(param::hstring const& value) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->CreateFromString(*(void**)(&value), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlMember) consume_Windows_UI_Xaml_Markup_IXamlType::GetMember(param::hstring const& name) const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::GetMember(param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->GetMember(*(void**)(&name), &result)); return winrt::Windows::UI::Xaml::Markup::IXamlMember{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlType::AddToVector(winrt::Windows::Foundation::IInspectable const& instance, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::AddToVector(winrt::Windows::Foundation::IInspectable const& instance, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->AddToVector(*(void**)(&instance), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlType::AddToMap(winrt::Windows::Foundation::IInspectable const& instance, winrt::Windows::Foundation::IInspectable const& key, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::AddToMap(winrt::Windows::Foundation::IInspectable const& instance, winrt::Windows::Foundation::IInspectable const& key, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->AddToMap(*(void**)(&instance), *(void**)(&key), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlType::RunInitializer() const + template auto consume_Windows_UI_Xaml_Markup_IXamlType::RunInitializer() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->RunInitializer()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) consume_Windows_UI_Xaml_Markup_IXamlType2::BoxedType() const + template auto consume_Windows_UI_Xaml_Markup_IXamlType2::BoxedType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType2)->get_BoxedType(&value)); @@ -1045,7 +1045,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Markup { return impl::call_factory([&](IXamlReaderStatics const& f) { return f.LoadWithInitialTemplateValidation(xaml); }); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) IMarkupExtensionOverridesT::ProvideValue() const + template auto IMarkupExtensionOverridesT::ProvideValue() const { return shim().template try_as().ProvideValue(); } @@ -1095,4 +1095,57 @@ namespace std #ifdef __cpp_lib_format #endif } + +WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Markup +{ + template + struct ComponentConnectorT : D + { + using composable_base = typename D::composable_base; + + void InitializeComponent() + { + if constexpr (m_has_connectable_base) + { + m_dispatch_base = true; + composable_base::InitializeComponent(); + m_dispatch_base = false; + } + D::InitializeComponent(); + } + + void Connect(int32_t connectionId, Windows::Foundation::IInspectable const& target) + { + if constexpr (m_has_connectable_base) + { + if (m_dispatch_base) + { + composable_base::Connect(connectionId, target); + return; + } + } + D::Connect(connectionId, target); + } + + auto GetBindingConnector(int32_t connectionId, Windows::Foundation::IInspectable const& target) + { + if constexpr (m_has_connectable_base) + { + if (m_dispatch_base) + { + return composable_base::GetBindingConnector(connectionId, target); + } + } + return D::GetBindingConnector(connectionId, target); + } + + private: + static constexpr bool m_has_connectable_base{ + impl::has_initializer::value && + impl::has_interface() && + impl::has_interface() }; + + bool m_dispatch_base{}; + }; +} #endif diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Animation.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Animation.h index e7cba2b0..7cbb2320 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Animation.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Animation.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_Animation_H #define WINRT_Windows_UI_Xaml_Media_Animation_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.Media.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -17,2269 +17,2269 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Media.Animation.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IBackEase::Amplitude() const + template auto consume_Windows_UI_Xaml_Media_Animation_IBackEase::Amplitude() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBackEase)->get_Amplitude(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IBackEase::Amplitude(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IBackEase::Amplitude(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBackEase)->put_Amplitude(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IBackEaseStatics::AmplitudeProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IBackEaseStatics::AmplitudeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBackEaseStatics)->get_AmplitudeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::BasicConnectedAnimationConfiguration) consume_Windows_UI_Xaml_Media_Animation_IBasicConnectedAnimationConfigurationFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_Animation_IBasicConnectedAnimationConfigurationFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBasicConnectedAnimationConfigurationFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Animation::BasicConnectedAnimationConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::Storyboard) consume_Windows_UI_Xaml_Media_Animation_IBeginStoryboard::Storyboard() const + template auto consume_Windows_UI_Xaml_Media_Animation_IBeginStoryboard::Storyboard() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBeginStoryboard)->get_Storyboard(&value)); return winrt::Windows::UI::Xaml::Media::Animation::Storyboard{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IBeginStoryboard::Storyboard(winrt::Windows::UI::Xaml::Media::Animation::Storyboard const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IBeginStoryboard::Storyboard(winrt::Windows::UI::Xaml::Media::Animation::Storyboard const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBeginStoryboard)->put_Storyboard(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IBeginStoryboardStatics::StoryboardProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IBeginStoryboardStatics::StoryboardProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBeginStoryboardStatics)->get_StoryboardProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Animation_IBounceEase::Bounces() const + template auto consume_Windows_UI_Xaml_Media_Animation_IBounceEase::Bounces() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBounceEase)->get_Bounces(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IBounceEase::Bounces(int32_t value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IBounceEase::Bounces(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBounceEase)->put_Bounces(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IBounceEase::Bounciness() const + template auto consume_Windows_UI_Xaml_Media_Animation_IBounceEase::Bounciness() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBounceEase)->get_Bounciness(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IBounceEase::Bounciness(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IBounceEase::Bounciness(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBounceEase)->put_Bounciness(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IBounceEaseStatics::BouncesProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IBounceEaseStatics::BouncesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBounceEaseStatics)->get_BouncesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IBounceEaseStatics::BouncinessProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IBounceEaseStatics::BouncinessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBounceEaseStatics)->get_BouncinessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::From() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::From() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->get_From(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::From(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::From(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->put_From(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::To() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::To() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->get_To(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::To(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::To(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->put_To(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::By() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::By() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->get_By(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::By(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::By(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->put_By(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::EasingFunction() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::EasingFunction() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->get_EasingFunction(&value)); return winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->put_EasingFunction(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::EnableDependentAnimation() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::EnableDependentAnimation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->get_EnableDependentAnimation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::EnableDependentAnimation(bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation::EnableDependentAnimation(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->put_EnableDependentAnimation(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics::FromProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics::FromProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimationStatics)->get_FromProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics::ToProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics::ToProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimationStatics)->get_ToProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics::ByProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics::ByProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimationStatics)->get_ByProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics::EasingFunctionProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics::EasingFunctionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimationStatics)->get_EasingFunctionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics::EnableDependentAnimationProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics::EnableDependentAnimationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimationStatics)->get_EnableDependentAnimationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ColorKeyFrameCollection) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFrames::KeyFrames() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFrames::KeyFrames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimationUsingKeyFrames)->get_KeyFrames(&value)); return winrt::Windows::UI::Xaml::Media::Animation::ColorKeyFrameCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFrames::EnableDependentAnimation() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFrames::EnableDependentAnimation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimationUsingKeyFrames)->get_EnableDependentAnimation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFrames::EnableDependentAnimation(bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFrames::EnableDependentAnimation(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimationUsingKeyFrames)->put_EnableDependentAnimation(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFramesStatics::EnableDependentAnimationProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFramesStatics::EnableDependentAnimationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimationUsingKeyFramesStatics)->get_EnableDependentAnimationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame::Value() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame::Value() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorKeyFrame)->get_Value(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame::Value(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame::Value(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorKeyFrame)->put_Value(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeyTime) consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame::KeyTime() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame::KeyTime() const { winrt::Windows::UI::Xaml::Media::Animation::KeyTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorKeyFrame)->get_KeyTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame::KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame::KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorKeyFrame)->put_KeyTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ColorKeyFrame) consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrameFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrameFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorKeyFrameFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Animation::ColorKeyFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrameStatics::ValueProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrameStatics::ValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorKeyFrameStatics)->get_ValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrameStatics::KeyTimeProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrameStatics::KeyTimeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorKeyFrameStatics)->get_KeyTimeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfo::IsStaggeringEnabled() const + template auto consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfo::IsStaggeringEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ICommonNavigationTransitionInfo)->get_IsStaggeringEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfo::IsStaggeringEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfo::IsStaggeringEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ICommonNavigationTransitionInfo)->put_IsStaggeringEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics::IsStaggeringEnabledProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics::IsStaggeringEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ICommonNavigationTransitionInfoStatics)->get_IsStaggeringEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics::IsStaggerElementProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics::IsStaggerElementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ICommonNavigationTransitionInfoStatics)->get_IsStaggerElementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics::GetIsStaggerElement(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics::GetIsStaggerElement(winrt::Windows::UI::Xaml::UIElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ICommonNavigationTransitionInfoStatics)->GetIsStaggerElement(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics::SetIsStaggerElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics::SetIsStaggerElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ICommonNavigationTransitionInfoStatics)->SetIsStaggerElement(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation::Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation::Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation)->add_Completed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation::Completed_revoker consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Completed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation::Completed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation::Completed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation)->remove_Completed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation::TryStart(winrt::Windows::UI::Xaml::UIElement const& destination) const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation::TryStart(winrt::Windows::UI::Xaml::UIElement const& destination) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation)->TryStart(*(void**)(&destination), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation::Cancel() const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation::Cancel() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation)->Cancel()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2::IsScaleAnimationEnabled() const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2::IsScaleAnimationEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation2)->get_IsScaleAnimationEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2::IsScaleAnimationEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2::IsScaleAnimationEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation2)->put_IsScaleAnimationEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2::TryStart(winrt::Windows::UI::Xaml::UIElement const& destination, param::iterable const& coordinatedElements) const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2::TryStart(winrt::Windows::UI::Xaml::UIElement const& destination, param::iterable const& coordinatedElements) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation2)->TryStartWithCoordinatedElements(*(void**)(&destination), *(void**)(&coordinatedElements), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2::SetAnimationComponent(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationComponent const& component, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2::SetAnimationComponent(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationComponent const& component, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation2)->SetAnimationComponent(static_cast(component), *(void**)(&animation))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationConfiguration) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation3::Configuration() const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation3::Configuration() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation3)->get_Configuration(&value)); return winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation3::Configuration(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationConfiguration const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation3::Configuration(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationConfiguration const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation3)->put_Configuration(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService::DefaultDuration() const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService::DefaultDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimationService)->get_DefaultDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService::DefaultDuration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService::DefaultDuration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimationService)->put_DefaultDuration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunction) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService::DefaultEasingFunction() const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService::DefaultEasingFunction() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimationService)->get_DefaultEasingFunction(&value)); return winrt::Windows::UI::Composition::CompositionEasingFunction{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService::DefaultEasingFunction(winrt::Windows::UI::Composition::CompositionEasingFunction const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService::DefaultEasingFunction(winrt::Windows::UI::Composition::CompositionEasingFunction const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimationService)->put_DefaultEasingFunction(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService::PrepareToAnimate(param::hstring const& key, winrt::Windows::UI::Xaml::UIElement const& source) const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService::PrepareToAnimate(param::hstring const& key, winrt::Windows::UI::Xaml::UIElement const& source) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimationService)->PrepareToAnimate(*(void**)(&key), *(void**)(&source), &result)); return winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService::GetAnimation(param::hstring const& key) const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService::GetAnimation(param::hstring const& key) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimationService)->GetAnimation(*(void**)(&key), &result)); return winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationService) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationServiceStatics::GetForCurrentView() const + template auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationServiceStatics::GetForCurrentView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimationServiceStatics)->GetForCurrentView(&result)); return winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationService{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition::HorizontalOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition::HorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContentThemeTransition)->get_HorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition::HorizontalOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition::HorizontalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContentThemeTransition)->put_HorizontalOffset(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition::VerticalOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition::VerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContentThemeTransition)->get_VerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition::VerticalOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition::VerticalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContentThemeTransition)->put_VerticalOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransitionStatics::HorizontalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransitionStatics::HorizontalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContentThemeTransitionStatics)->get_HorizontalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransitionStatics::VerticalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransitionStatics::VerticalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContentThemeTransitionStatics)->get_VerticalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfo::ExitElement() const + template auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfo::ExitElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContinuumNavigationTransitionInfo)->get_ExitElement(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfo::ExitElement(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfo::ExitElement(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContinuumNavigationTransitionInfo)->put_ExitElement(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::ExitElementProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::ExitElementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContinuumNavigationTransitionInfoStatics)->get_ExitElementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::IsEntranceElementProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::IsEntranceElementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContinuumNavigationTransitionInfoStatics)->get_IsEntranceElementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::GetIsEntranceElement(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::GetIsEntranceElement(winrt::Windows::UI::Xaml::UIElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContinuumNavigationTransitionInfoStatics)->GetIsEntranceElement(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::SetIsEntranceElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::SetIsEntranceElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContinuumNavigationTransitionInfoStatics)->SetIsEntranceElement(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::IsExitElementProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::IsExitElementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContinuumNavigationTransitionInfoStatics)->get_IsExitElementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::GetIsExitElement(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::GetIsExitElement(winrt::Windows::UI::Xaml::UIElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContinuumNavigationTransitionInfoStatics)->GetIsExitElement(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::SetIsExitElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::SetIsExitElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContinuumNavigationTransitionInfoStatics)->SetIsExitElement(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::ExitElementContainerProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::ExitElementContainerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContinuumNavigationTransitionInfoStatics)->get_ExitElementContainerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::GetExitElementContainer(winrt::Windows::UI::Xaml::Controls::ListViewBase const& element) const + template auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::GetExitElementContainer(winrt::Windows::UI::Xaml::Controls::ListViewBase const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContinuumNavigationTransitionInfoStatics)->GetExitElementContainer(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::SetExitElementContainer(winrt::Windows::UI::Xaml::Controls::ListViewBase const& element, bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics::SetExitElementContainer(winrt::Windows::UI::Xaml::Controls::ListViewBase const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContinuumNavigationTransitionInfoStatics)->SetExitElementContainer(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::DirectConnectedAnimationConfiguration) consume_Windows_UI_Xaml_Media_Animation_IDirectConnectedAnimationConfigurationFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDirectConnectedAnimationConfigurationFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDirectConnectedAnimationConfigurationFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Animation::DirectConnectedAnimationConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::From() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::From() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->get_From(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::From(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::From(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->put_From(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::To() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::To() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->get_To(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::To(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::To(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->put_To(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::By() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::By() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->get_By(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::By(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::By(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->put_By(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::EasingFunction() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::EasingFunction() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->get_EasingFunction(&value)); return winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->put_EasingFunction(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::EnableDependentAnimation() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::EnableDependentAnimation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->get_EnableDependentAnimation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::EnableDependentAnimation(bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation::EnableDependentAnimation(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->put_EnableDependentAnimation(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics::FromProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics::FromProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimationStatics)->get_FromProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics::ToProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics::ToProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimationStatics)->get_ToProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics::ByProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics::ByProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimationStatics)->get_ByProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics::EasingFunctionProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics::EasingFunctionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimationStatics)->get_EasingFunctionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics::EnableDependentAnimationProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics::EnableDependentAnimationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimationStatics)->get_EnableDependentAnimationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::DoubleKeyFrameCollection) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFrames::KeyFrames() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFrames::KeyFrames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimationUsingKeyFrames)->get_KeyFrames(&value)); return winrt::Windows::UI::Xaml::Media::Animation::DoubleKeyFrameCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFrames::EnableDependentAnimation() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFrames::EnableDependentAnimation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimationUsingKeyFrames)->get_EnableDependentAnimation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFrames::EnableDependentAnimation(bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFrames::EnableDependentAnimation(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimationUsingKeyFrames)->put_EnableDependentAnimation(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFramesStatics::EnableDependentAnimationProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFramesStatics::EnableDependentAnimationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimationUsingKeyFramesStatics)->get_EnableDependentAnimationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame::Value() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame::Value() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleKeyFrame)->get_Value(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame::Value(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame::Value(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleKeyFrame)->put_Value(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeyTime) consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame::KeyTime() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame::KeyTime() const { winrt::Windows::UI::Xaml::Media::Animation::KeyTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleKeyFrame)->get_KeyTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame::KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame::KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleKeyFrame)->put_KeyTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::DoubleKeyFrame) consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrameFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrameFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleKeyFrameFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Animation::DoubleKeyFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrameStatics::ValueProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrameStatics::ValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleKeyFrameStatics)->get_ValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrameStatics::KeyTimeProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrameStatics::KeyTimeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleKeyFrameStatics)->get_KeyTimeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IDragItemThemeAnimation::TargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDragItemThemeAnimation::TargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDragItemThemeAnimation)->get_TargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDragItemThemeAnimation::TargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDragItemThemeAnimation::TargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDragItemThemeAnimation)->put_TargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDragItemThemeAnimationStatics::TargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDragItemThemeAnimationStatics::TargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDragItemThemeAnimationStatics)->get_TargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation::TargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation::TargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDragOverThemeAnimation)->get_TargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation::TargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation::TargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDragOverThemeAnimation)->put_TargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation::ToOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation::ToOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDragOverThemeAnimation)->get_ToOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation::ToOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation::ToOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDragOverThemeAnimation)->put_ToOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation::Direction() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation::Direction() const { winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDragOverThemeAnimation)->get_Direction(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation::Direction(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation::Direction(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDragOverThemeAnimation)->put_Direction(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimationStatics::TargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimationStatics::TargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDragOverThemeAnimationStatics)->get_TargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimationStatics::ToOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimationStatics::ToOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDragOverThemeAnimationStatics)->get_ToOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimationStatics::DirectionProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimationStatics::DirectionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDragOverThemeAnimationStatics)->get_DirectionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation::EntranceTargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation::EntranceTargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillInThemeAnimation)->get_EntranceTargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation::EntranceTargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation::EntranceTargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillInThemeAnimation)->put_EntranceTargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation::EntranceTarget() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation::EntranceTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillInThemeAnimation)->get_EntranceTarget(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation::EntranceTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation::EntranceTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillInThemeAnimation)->put_EntranceTarget(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation::ExitTargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation::ExitTargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillInThemeAnimation)->get_ExitTargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation::ExitTargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation::ExitTargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillInThemeAnimation)->put_ExitTargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation::ExitTarget() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation::ExitTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillInThemeAnimation)->get_ExitTarget(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation::ExitTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation::ExitTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillInThemeAnimation)->put_ExitTarget(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics::EntranceTargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics::EntranceTargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillInThemeAnimationStatics)->get_EntranceTargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics::EntranceTargetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics::EntranceTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillInThemeAnimationStatics)->get_EntranceTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics::ExitTargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics::ExitTargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillInThemeAnimationStatics)->get_ExitTargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics::ExitTargetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics::ExitTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillInThemeAnimationStatics)->get_ExitTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation::EntranceTargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation::EntranceTargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillOutThemeAnimation)->get_EntranceTargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation::EntranceTargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation::EntranceTargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillOutThemeAnimation)->put_EntranceTargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation::EntranceTarget() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation::EntranceTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillOutThemeAnimation)->get_EntranceTarget(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation::EntranceTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation::EntranceTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillOutThemeAnimation)->put_EntranceTarget(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation::ExitTargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation::ExitTargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillOutThemeAnimation)->get_ExitTargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation::ExitTargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation::ExitTargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillOutThemeAnimation)->put_ExitTargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation::ExitTarget() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation::ExitTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillOutThemeAnimation)->get_ExitTarget(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation::ExitTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation::ExitTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillOutThemeAnimation)->put_ExitTarget(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics::EntranceTargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics::EntranceTargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillOutThemeAnimationStatics)->get_EntranceTargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics::EntranceTargetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics::EntranceTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillOutThemeAnimationStatics)->get_EntranceTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics::ExitTargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics::ExitTargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillOutThemeAnimationStatics)->get_ExitTargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics::ExitTargetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics::ExitTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillOutThemeAnimationStatics)->get_ExitTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimation::TargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimation::TargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDropTargetItemThemeAnimation)->get_TargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimation::TargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimation::TargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDropTargetItemThemeAnimation)->put_TargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimationStatics::TargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimationStatics::TargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDropTargetItemThemeAnimationStatics)->get_TargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) consume_Windows_UI_Xaml_Media_Animation_IEasingColorKeyFrame::EasingFunction() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEasingColorKeyFrame::EasingFunction() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEasingColorKeyFrame)->get_EasingFunction(&value)); return winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEasingColorKeyFrame::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IEasingColorKeyFrame::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEasingColorKeyFrame)->put_EasingFunction(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEasingColorKeyFrameStatics::EasingFunctionProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEasingColorKeyFrameStatics::EasingFunctionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEasingColorKeyFrameStatics)->get_EasingFunctionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) consume_Windows_UI_Xaml_Media_Animation_IEasingDoubleKeyFrame::EasingFunction() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEasingDoubleKeyFrame::EasingFunction() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEasingDoubleKeyFrame)->get_EasingFunction(&value)); return winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEasingDoubleKeyFrame::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IEasingDoubleKeyFrame::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEasingDoubleKeyFrame)->put_EasingFunction(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEasingDoubleKeyFrameStatics::EasingFunctionProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEasingDoubleKeyFrameStatics::EasingFunctionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEasingDoubleKeyFrameStatics)->get_EasingFunctionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingMode) consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBase::EasingMode() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBase::EasingMode() const { winrt::Windows::UI::Xaml::Media::Animation::EasingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEasingFunctionBase)->get_EasingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBase::EasingMode(winrt::Windows::UI::Xaml::Media::Animation::EasingMode const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBase::EasingMode(winrt::Windows::UI::Xaml::Media::Animation::EasingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEasingFunctionBase)->put_EasingMode(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBase::Ease(double normalizedTime) const + template auto consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBase::Ease(double normalizedTime) const { double result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEasingFunctionBase)->Ease(normalizedTime, &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBaseStatics::EasingModeProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBaseStatics::EasingModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEasingFunctionBaseStatics)->get_EasingModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) consume_Windows_UI_Xaml_Media_Animation_IEasingPointKeyFrame::EasingFunction() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEasingPointKeyFrame::EasingFunction() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEasingPointKeyFrame)->get_EasingFunction(&value)); return winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEasingPointKeyFrame::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IEasingPointKeyFrame::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEasingPointKeyFrame)->put_EasingFunction(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEasingPointKeyFrameStatics::EasingFunctionProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEasingPointKeyFrameStatics::EasingFunctionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEasingPointKeyFrameStatics)->get_EasingFunctionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation) consume_Windows_UI_Xaml_Media_Animation_IEdgeUIThemeTransition::Edge() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEdgeUIThemeTransition::Edge() const { winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEdgeUIThemeTransition)->get_Edge(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEdgeUIThemeTransition::Edge(winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IEdgeUIThemeTransition::Edge(winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEdgeUIThemeTransition)->put_Edge(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEdgeUIThemeTransitionStatics::EdgeProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEdgeUIThemeTransitionStatics::EdgeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEdgeUIThemeTransitionStatics)->get_EdgeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Animation_IElasticEase::Oscillations() const + template auto consume_Windows_UI_Xaml_Media_Animation_IElasticEase::Oscillations() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IElasticEase)->get_Oscillations(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IElasticEase::Oscillations(int32_t value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IElasticEase::Oscillations(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IElasticEase)->put_Oscillations(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IElasticEase::Springiness() const + template auto consume_Windows_UI_Xaml_Media_Animation_IElasticEase::Springiness() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IElasticEase)->get_Springiness(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IElasticEase::Springiness(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IElasticEase::Springiness(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IElasticEase)->put_Springiness(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IElasticEaseStatics::OscillationsProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IElasticEaseStatics::OscillationsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IElasticEaseStatics)->get_OscillationsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IElasticEaseStatics::SpringinessProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IElasticEaseStatics::SpringinessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IElasticEaseStatics)->get_SpringinessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEntranceNavigationTransitionInfoStatics::IsTargetElementProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEntranceNavigationTransitionInfoStatics::IsTargetElementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceNavigationTransitionInfoStatics)->get_IsTargetElementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IEntranceNavigationTransitionInfoStatics::GetIsTargetElement(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Media_Animation_IEntranceNavigationTransitionInfoStatics::GetIsTargetElement(winrt::Windows::UI::Xaml::UIElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceNavigationTransitionInfoStatics)->GetIsTargetElement(*(void**)(&element), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEntranceNavigationTransitionInfoStatics::SetIsTargetElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IEntranceNavigationTransitionInfoStatics::SetIsTargetElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceNavigationTransitionInfoStatics)->SetIsTargetElement(*(void**)(&element), value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition::FromHorizontalOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition::FromHorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransition)->get_FromHorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition::FromHorizontalOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition::FromHorizontalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransition)->put_FromHorizontalOffset(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition::FromVerticalOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition::FromVerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransition)->get_FromVerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition::FromVerticalOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition::FromVerticalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransition)->put_FromVerticalOffset(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition::IsStaggeringEnabled() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition::IsStaggeringEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransition)->get_IsStaggeringEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition::IsStaggeringEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition::IsStaggeringEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransition)->put_IsStaggeringEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransitionStatics::FromHorizontalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransitionStatics::FromHorizontalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransitionStatics)->get_FromHorizontalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransitionStatics::FromVerticalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransitionStatics::FromVerticalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransitionStatics)->get_FromVerticalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransitionStatics::IsStaggeringEnabledProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransitionStatics::IsStaggeringEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransitionStatics)->get_IsStaggeringEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IExponentialEase::Exponent() const + template auto consume_Windows_UI_Xaml_Media_Animation_IExponentialEase::Exponent() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IExponentialEase)->get_Exponent(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IExponentialEase::Exponent(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IExponentialEase::Exponent(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IExponentialEase)->put_Exponent(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IExponentialEaseStatics::ExponentProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IExponentialEaseStatics::ExponentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IExponentialEaseStatics)->get_ExponentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IFadeInThemeAnimation::TargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_IFadeInThemeAnimation::TargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IFadeInThemeAnimation)->get_TargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IFadeInThemeAnimation::TargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IFadeInThemeAnimation::TargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IFadeInThemeAnimation)->put_TargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IFadeInThemeAnimationStatics::TargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IFadeInThemeAnimationStatics::TargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IFadeInThemeAnimationStatics)->get_TargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IFadeOutThemeAnimation::TargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_IFadeOutThemeAnimation::TargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IFadeOutThemeAnimation)->get_TargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IFadeOutThemeAnimation::TargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IFadeOutThemeAnimation::TargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IFadeOutThemeAnimation)->put_TargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IFadeOutThemeAnimationStatics::TargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IFadeOutThemeAnimationStatics::TargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IFadeOutThemeAnimationStatics)->get_TargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfiguration2::IsShadowEnabled() const + template auto consume_Windows_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfiguration2::IsShadowEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IGravityConnectedAnimationConfiguration2)->get_IsShadowEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfiguration2::IsShadowEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfiguration2::IsShadowEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IGravityConnectedAnimationConfiguration2)->put_IsShadowEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::GravityConnectedAnimationConfiguration) consume_Windows_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfigurationFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfigurationFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IGravityConnectedAnimationConfigurationFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Animation::GravityConnectedAnimationConfiguration{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_Animation_IKeySpline::ControlPoint1() const + template auto consume_Windows_UI_Xaml_Media_Animation_IKeySpline::ControlPoint1() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IKeySpline)->get_ControlPoint1(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IKeySpline::ControlPoint1(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IKeySpline::ControlPoint1(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IKeySpline)->put_ControlPoint1(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_Animation_IKeySpline::ControlPoint2() const + template auto consume_Windows_UI_Xaml_Media_Animation_IKeySpline::ControlPoint2() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IKeySpline)->get_ControlPoint2(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IKeySpline::ControlPoint2(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IKeySpline::ControlPoint2(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IKeySpline)->put_ControlPoint2(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeyTime) consume_Windows_UI_Xaml_Media_Animation_IKeyTimeHelperStatics::FromTimeSpan(winrt::Windows::Foundation::TimeSpan const& timeSpan) const + template auto consume_Windows_UI_Xaml_Media_Animation_IKeyTimeHelperStatics::FromTimeSpan(winrt::Windows::Foundation::TimeSpan const& timeSpan) const { winrt::Windows::UI::Xaml::Media::Animation::KeyTime result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IKeyTimeHelperStatics)->FromTimeSpan(impl::bind_in(timeSpan), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) consume_Windows_UI_Xaml_Media_Animation_INavigationThemeTransition::DefaultNavigationTransitionInfo() const + template auto consume_Windows_UI_Xaml_Media_Animation_INavigationThemeTransition::DefaultNavigationTransitionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::INavigationThemeTransition)->get_DefaultNavigationTransitionInfo(&value)); return winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_INavigationThemeTransition::DefaultNavigationTransitionInfo(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_INavigationThemeTransition::DefaultNavigationTransitionInfo(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::INavigationThemeTransition)->put_DefaultNavigationTransitionInfo(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_INavigationThemeTransitionStatics::DefaultNavigationTransitionInfoProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_INavigationThemeTransitionStatics::DefaultNavigationTransitionInfoProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::INavigationThemeTransitionStatics)->get_DefaultNavigationTransitionInfoProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) consume_Windows_UI_Xaml_Media_Animation_INavigationTransitionInfoFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_Animation_INavigationTransitionInfoFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::INavigationTransitionInfoFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_INavigationTransitionInfoOverrides::GetNavigationStateCore() const + template auto consume_Windows_UI_Xaml_Media_Animation_INavigationTransitionInfoOverrides::GetNavigationStateCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::INavigationTransitionInfoOverrides)->GetNavigationStateCore(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_INavigationTransitionInfoOverrides::SetNavigationStateCore(param::hstring const& navigationState) const + template auto consume_Windows_UI_Xaml_Media_Animation_INavigationTransitionInfoOverrides::SetNavigationStateCore(param::hstring const& navigationState) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::INavigationTransitionInfoOverrides)->SetNavigationStateCore(*(void**)(&navigationState))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ObjectKeyFrameCollection) consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFrames::KeyFrames() const + template auto consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFrames::KeyFrames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IObjectAnimationUsingKeyFrames)->get_KeyFrames(&value)); return winrt::Windows::UI::Xaml::Media::Animation::ObjectKeyFrameCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFrames::EnableDependentAnimation() const + template auto consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFrames::EnableDependentAnimation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IObjectAnimationUsingKeyFrames)->get_EnableDependentAnimation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFrames::EnableDependentAnimation(bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFrames::EnableDependentAnimation(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IObjectAnimationUsingKeyFrames)->put_EnableDependentAnimation(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFramesStatics::EnableDependentAnimationProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFramesStatics::EnableDependentAnimationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IObjectAnimationUsingKeyFramesStatics)->get_EnableDependentAnimationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame::Value() const + template auto consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IObjectKeyFrame)->get_Value(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame::Value(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame::Value(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IObjectKeyFrame)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeyTime) consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame::KeyTime() const + template auto consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame::KeyTime() const { winrt::Windows::UI::Xaml::Media::Animation::KeyTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IObjectKeyFrame)->get_KeyTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame::KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame::KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IObjectKeyFrame)->put_KeyTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ObjectKeyFrame) consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrameFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrameFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IObjectKeyFrameFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Animation::ObjectKeyFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrameStatics::ValueProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrameStatics::ValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IObjectKeyFrameStatics)->get_ValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrameStatics::KeyTimeProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrameStatics::KeyTimeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IObjectKeyFrameStatics)->get_KeyTimeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation) consume_Windows_UI_Xaml_Media_Animation_IPaneThemeTransition::Edge() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPaneThemeTransition::Edge() const { winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPaneThemeTransition)->get_Edge(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPaneThemeTransition::Edge(winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPaneThemeTransition::Edge(winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPaneThemeTransition)->put_Edge(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPaneThemeTransitionStatics::EdgeProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPaneThemeTransitionStatics::EdgeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPaneThemeTransitionStatics)->get_EdgeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::From() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::From() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->get_From(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::From(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::From(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->put_From(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::To() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::To() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->get_To(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::To(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::To(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->put_To(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::By() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::By() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->get_By(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::By(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::By(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->put_By(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::EasingFunction() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::EasingFunction() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->get_EasingFunction(&value)); return winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->put_EasingFunction(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::EnableDependentAnimation() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::EnableDependentAnimation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->get_EnableDependentAnimation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::EnableDependentAnimation(bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation::EnableDependentAnimation(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->put_EnableDependentAnimation(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics::FromProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics::FromProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimationStatics)->get_FromProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics::ToProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics::ToProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimationStatics)->get_ToProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics::ByProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics::ByProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimationStatics)->get_ByProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics::EasingFunctionProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics::EasingFunctionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimationStatics)->get_EasingFunctionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics::EnableDependentAnimationProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics::EnableDependentAnimationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimationStatics)->get_EnableDependentAnimationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::PointKeyFrameCollection) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFrames::KeyFrames() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFrames::KeyFrames() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimationUsingKeyFrames)->get_KeyFrames(&value)); return winrt::Windows::UI::Xaml::Media::Animation::PointKeyFrameCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFrames::EnableDependentAnimation() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFrames::EnableDependentAnimation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimationUsingKeyFrames)->get_EnableDependentAnimation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFrames::EnableDependentAnimation(bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFrames::EnableDependentAnimation(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimationUsingKeyFrames)->put_EnableDependentAnimation(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFramesStatics::EnableDependentAnimationProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFramesStatics::EnableDependentAnimationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimationUsingKeyFramesStatics)->get_EnableDependentAnimationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame::Value() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame::Value() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointKeyFrame)->get_Value(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame::Value(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame::Value(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointKeyFrame)->put_Value(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeyTime) consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame::KeyTime() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame::KeyTime() const { winrt::Windows::UI::Xaml::Media::Animation::KeyTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointKeyFrame)->get_KeyTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame::KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame::KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointKeyFrame)->put_KeyTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::PointKeyFrame) consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrameFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrameFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointKeyFrameFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Animation::PointKeyFrame{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrameStatics::ValueProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrameStatics::ValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointKeyFrameStatics)->get_ValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrameStatics::KeyTimeProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrameStatics::KeyTimeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointKeyFrameStatics)->get_KeyTimeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IPointerDownThemeAnimation::TargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointerDownThemeAnimation::TargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointerDownThemeAnimation)->get_TargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointerDownThemeAnimation::TargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointerDownThemeAnimation::TargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointerDownThemeAnimation)->put_TargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointerDownThemeAnimationStatics::TargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointerDownThemeAnimationStatics::TargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointerDownThemeAnimationStatics)->get_TargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IPointerUpThemeAnimation::TargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointerUpThemeAnimation::TargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointerUpThemeAnimation)->get_TargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointerUpThemeAnimation::TargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointerUpThemeAnimation::TargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointerUpThemeAnimation)->put_TargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointerUpThemeAnimationStatics::TargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPointerUpThemeAnimationStatics::TargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointerUpThemeAnimationStatics)->get_TargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation::TargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation::TargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopInThemeAnimation)->get_TargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation::TargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation::TargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopInThemeAnimation)->put_TargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation::FromHorizontalOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation::FromHorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopInThemeAnimation)->get_FromHorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation::FromHorizontalOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation::FromHorizontalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopInThemeAnimation)->put_FromHorizontalOffset(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation::FromVerticalOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation::FromVerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopInThemeAnimation)->get_FromVerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation::FromVerticalOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation::FromVerticalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopInThemeAnimation)->put_FromVerticalOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimationStatics::TargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimationStatics::TargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopInThemeAnimationStatics)->get_TargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimationStatics::FromHorizontalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimationStatics::FromHorizontalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopInThemeAnimationStatics)->get_FromHorizontalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimationStatics::FromVerticalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimationStatics::FromVerticalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopInThemeAnimationStatics)->get_FromVerticalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IPopOutThemeAnimation::TargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopOutThemeAnimation::TargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopOutThemeAnimation)->get_TargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPopOutThemeAnimation::TargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopOutThemeAnimation::TargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopOutThemeAnimation)->put_TargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPopOutThemeAnimationStatics::TargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopOutThemeAnimationStatics::TargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopOutThemeAnimationStatics)->get_TargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition::FromHorizontalOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition::FromHorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopupThemeTransition)->get_FromHorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition::FromHorizontalOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition::FromHorizontalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopupThemeTransition)->put_FromHorizontalOffset(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition::FromVerticalOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition::FromVerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopupThemeTransition)->get_FromVerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition::FromVerticalOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition::FromVerticalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopupThemeTransition)->put_FromVerticalOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransitionStatics::FromHorizontalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransitionStatics::FromHorizontalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopupThemeTransitionStatics)->get_FromHorizontalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransitionStatics::FromVerticalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransitionStatics::FromVerticalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopupThemeTransitionStatics)->get_FromVerticalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IPowerEase::Power() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPowerEase::Power() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPowerEase)->get_Power(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPowerEase::Power(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IPowerEase::Power(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPowerEase)->put_Power(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPowerEaseStatics::PowerProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IPowerEaseStatics::PowerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPowerEaseStatics)->get_PowerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior) consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics::Forever() const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics::Forever() const { winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepeatBehaviorHelperStatics)->get_Forever(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior) consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics::FromCount(double count) const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics::FromCount(double count) const { winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepeatBehaviorHelperStatics)->FromCount(count, put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior) consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics::FromDuration(winrt::Windows::Foundation::TimeSpan const& duration) const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics::FromDuration(winrt::Windows::Foundation::TimeSpan const& duration) const { winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepeatBehaviorHelperStatics)->FromDuration(impl::bind_in(duration), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics::GetHasCount(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& target) const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics::GetHasCount(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& target) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepeatBehaviorHelperStatics)->GetHasCount(impl::bind_in(target), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics::GetHasDuration(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& target) const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics::GetHasDuration(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& target) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepeatBehaviorHelperStatics)->GetHasDuration(impl::bind_in(target), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics::Equals(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& target, winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics::Equals(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& target, winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepeatBehaviorHelperStatics)->Equals(impl::bind_in(target), impl::bind_in(value), &result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation::TargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation::TargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeAnimation)->get_TargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation::TargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation::TargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeAnimation)->put_TargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation::FromHorizontalOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation::FromHorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeAnimation)->get_FromHorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation::FromHorizontalOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation::FromHorizontalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeAnimation)->put_FromHorizontalOffset(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation::FromVerticalOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation::FromVerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeAnimation)->get_FromVerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation::FromVerticalOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation::FromVerticalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeAnimation)->put_FromVerticalOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimationStatics::TargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimationStatics::TargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeAnimationStatics)->get_TargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimationStatics::FromHorizontalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimationStatics::FromHorizontalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeAnimationStatics)->get_FromHorizontalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimationStatics::FromVerticalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimationStatics::FromVerticalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeAnimationStatics)->get_FromVerticalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeTransition2::IsStaggeringEnabled() const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeTransition2::IsStaggeringEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeTransition2)->get_IsStaggeringEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeTransition2::IsStaggeringEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeTransition2::IsStaggeringEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeTransition2)->put_IsStaggeringEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeTransitionStatics2::IsStaggeringEnabledProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeTransitionStatics2::IsStaggeringEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeTransitionStatics2)->get_IsStaggeringEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::SlideNavigationTransitionEffect) consume_Windows_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfo2::Effect() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfo2::Effect() const { winrt::Windows::UI::Xaml::Media::Animation::SlideNavigationTransitionEffect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISlideNavigationTransitionInfo2)->get_Effect(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfo2::Effect(winrt::Windows::UI::Xaml::Media::Animation::SlideNavigationTransitionEffect const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfo2::Effect(winrt::Windows::UI::Xaml::Media::Animation::SlideNavigationTransitionEffect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISlideNavigationTransitionInfo2)->put_Effect(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfoStatics2::EffectProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfoStatics2::EffectProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISlideNavigationTransitionInfoStatics2)->get_EffectProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeySpline) consume_Windows_UI_Xaml_Media_Animation_ISplineColorKeyFrame::KeySpline() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplineColorKeyFrame::KeySpline() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplineColorKeyFrame)->get_KeySpline(&value)); return winrt::Windows::UI::Xaml::Media::Animation::KeySpline{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplineColorKeyFrame::KeySpline(winrt::Windows::UI::Xaml::Media::Animation::KeySpline const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplineColorKeyFrame::KeySpline(winrt::Windows::UI::Xaml::Media::Animation::KeySpline const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplineColorKeyFrame)->put_KeySpline(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplineColorKeyFrameStatics::KeySplineProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplineColorKeyFrameStatics::KeySplineProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplineColorKeyFrameStatics)->get_KeySplineProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeySpline) consume_Windows_UI_Xaml_Media_Animation_ISplineDoubleKeyFrame::KeySpline() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplineDoubleKeyFrame::KeySpline() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplineDoubleKeyFrame)->get_KeySpline(&value)); return winrt::Windows::UI::Xaml::Media::Animation::KeySpline{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplineDoubleKeyFrame::KeySpline(winrt::Windows::UI::Xaml::Media::Animation::KeySpline const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplineDoubleKeyFrame::KeySpline(winrt::Windows::UI::Xaml::Media::Animation::KeySpline const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplineDoubleKeyFrame)->put_KeySpline(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplineDoubleKeyFrameStatics::KeySplineProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplineDoubleKeyFrameStatics::KeySplineProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplineDoubleKeyFrameStatics)->get_KeySplineProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeySpline) consume_Windows_UI_Xaml_Media_Animation_ISplinePointKeyFrame::KeySpline() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplinePointKeyFrame::KeySpline() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplinePointKeyFrame)->get_KeySpline(&value)); return winrt::Windows::UI::Xaml::Media::Animation::KeySpline{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplinePointKeyFrame::KeySpline(winrt::Windows::UI::Xaml::Media::Animation::KeySpline const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplinePointKeyFrame::KeySpline(winrt::Windows::UI::Xaml::Media::Animation::KeySpline const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplinePointKeyFrame)->put_KeySpline(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplinePointKeyFrameStatics::KeySplineProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplinePointKeyFrameStatics::KeySplineProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplinePointKeyFrameStatics)->get_KeySplineProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::OpenedTargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::OpenedTargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->get_OpenedTargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::OpenedTargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::OpenedTargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_OpenedTargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::OpenedTarget() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::OpenedTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->get_OpenedTarget(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::OpenedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::OpenedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_OpenedTarget(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ClosedTargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ClosedTargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->get_ClosedTargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ClosedTargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ClosedTargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_ClosedTargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ClosedTarget() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ClosedTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->get_ClosedTarget(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ClosedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ClosedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_ClosedTarget(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ContentTargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ContentTargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->get_ContentTargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ContentTargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ContentTargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_ContentTargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ContentTarget() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ContentTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->get_ContentTarget(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ContentTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ContentTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_ContentTarget(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::OpenedLength() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::OpenedLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->get_OpenedLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::OpenedLength(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::OpenedLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_OpenedLength(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ClosedLength() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ClosedLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->get_ClosedLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ClosedLength(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ClosedLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_ClosedLength(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::OffsetFromCenter() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::OffsetFromCenter() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->get_OffsetFromCenter(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::OffsetFromCenter(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::OffsetFromCenter(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_OffsetFromCenter(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ContentTranslationDirection() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ContentTranslationDirection() const { winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->get_ContentTranslationDirection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ContentTranslationDirection(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ContentTranslationDirection(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_ContentTranslationDirection(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ContentTranslationOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ContentTranslationOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->get_ContentTranslationOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ContentTranslationOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation::ContentTranslationOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_ContentTranslationOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::OpenedTargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::OpenedTargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimationStatics)->get_OpenedTargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::OpenedTargetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::OpenedTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimationStatics)->get_OpenedTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::ClosedTargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::ClosedTargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimationStatics)->get_ClosedTargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::ClosedTargetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::ClosedTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimationStatics)->get_ClosedTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::ContentTargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::ContentTargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimationStatics)->get_ContentTargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::ContentTargetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::ContentTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimationStatics)->get_ContentTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::OpenedLengthProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::OpenedLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimationStatics)->get_OpenedLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::ClosedLengthProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::ClosedLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimationStatics)->get_ClosedLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::OffsetFromCenterProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::OffsetFromCenterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimationStatics)->get_OffsetFromCenterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::ContentTranslationDirectionProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::ContentTranslationDirectionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimationStatics)->get_ContentTranslationDirectionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::ContentTranslationOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics::ContentTranslationOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimationStatics)->get_ContentTranslationOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::OpenedTargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::OpenedTargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->get_OpenedTargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::OpenedTargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::OpenedTargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_OpenedTargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::OpenedTarget() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::OpenedTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->get_OpenedTarget(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::OpenedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::OpenedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_OpenedTarget(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ClosedTargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ClosedTargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->get_ClosedTargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ClosedTargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ClosedTargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_ClosedTargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ClosedTarget() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ClosedTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->get_ClosedTarget(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ClosedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ClosedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_ClosedTarget(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ContentTargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ContentTargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->get_ContentTargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ContentTargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ContentTargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_ContentTargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ContentTarget() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ContentTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->get_ContentTarget(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ContentTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ContentTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_ContentTarget(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::OpenedLength() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::OpenedLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->get_OpenedLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::OpenedLength(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::OpenedLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_OpenedLength(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ClosedLength() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ClosedLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->get_ClosedLength(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ClosedLength(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ClosedLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_ClosedLength(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::OffsetFromCenter() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::OffsetFromCenter() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->get_OffsetFromCenter(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::OffsetFromCenter(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::OffsetFromCenter(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_OffsetFromCenter(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ContentTranslationDirection() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ContentTranslationDirection() const { winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->get_ContentTranslationDirection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ContentTranslationDirection(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ContentTranslationDirection(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_ContentTranslationDirection(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ContentTranslationOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ContentTranslationOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->get_ContentTranslationOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ContentTranslationOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation::ContentTranslationOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_ContentTranslationOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::OpenedTargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::OpenedTargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimationStatics)->get_OpenedTargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::OpenedTargetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::OpenedTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimationStatics)->get_OpenedTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::ClosedTargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::ClosedTargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimationStatics)->get_ClosedTargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::ClosedTargetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::ClosedTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimationStatics)->get_ClosedTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::ContentTargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::ContentTargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimationStatics)->get_ContentTargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::ContentTargetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::ContentTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimationStatics)->get_ContentTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::OpenedLengthProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::OpenedLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimationStatics)->get_OpenedLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::ClosedLengthProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::ClosedLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimationStatics)->get_ClosedLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::OffsetFromCenterProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::OffsetFromCenterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimationStatics)->get_OffsetFromCenterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::ContentTranslationDirectionProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::ContentTranslationDirectionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimationStatics)->get_ContentTranslationDirectionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::ContentTranslationOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics::ContentTranslationOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimationStatics)->get_ContentTranslationOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TimelineCollection) consume_Windows_UI_Xaml_Media_Animation_IStoryboard::Children() const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboard)->get_Children(&value)); return winrt::Windows::UI::Xaml::Media::Animation::TimelineCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboard::Seek(winrt::Windows::Foundation::TimeSpan const& offset) const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard::Seek(winrt::Windows::Foundation::TimeSpan const& offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboard)->Seek(impl::bind_in(offset))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboard::Stop() const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboard)->Stop()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboard::Begin() const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard::Begin() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboard)->Begin()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboard::Pause() const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboard)->Pause()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboard::Resume() const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard::Resume() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboard)->Resume()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ClockState) consume_Windows_UI_Xaml_Media_Animation_IStoryboard::GetCurrentState() const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard::GetCurrentState() const { winrt::Windows::UI::Xaml::Media::Animation::ClockState result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboard)->GetCurrentState(reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Media_Animation_IStoryboard::GetCurrentTime() const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard::GetCurrentTime() const { winrt::Windows::Foundation::TimeSpan result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboard)->GetCurrentTime(put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboard::SeekAlignedToLastTick(winrt::Windows::Foundation::TimeSpan const& offset) const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard::SeekAlignedToLastTick(winrt::Windows::Foundation::TimeSpan const& offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboard)->SeekAlignedToLastTick(impl::bind_in(offset))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboard::SkipToFill() const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard::SkipToFill() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboard)->SkipToFill()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics::TargetPropertyProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics::TargetPropertyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboardStatics)->get_TargetPropertyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics::GetTargetProperty(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element) const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics::GetTargetProperty(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboardStatics)->GetTargetProperty(*(void**)(&element), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics::SetTargetProperty(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element, param::hstring const& path) const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics::SetTargetProperty(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element, param::hstring const& path) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboardStatics)->SetTargetProperty(*(void**)(&element), *(void**)(&path))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics::TargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics::TargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboardStatics)->get_TargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics::GetTargetName(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element) const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics::GetTargetName(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboardStatics)->GetTargetName(*(void**)(&element), &result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics::SetTargetName(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element, param::hstring const& name) const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics::SetTargetName(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element, param::hstring const& name) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboardStatics)->SetTargetName(*(void**)(&element), *(void**)(&name))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics::SetTarget(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& timeline, winrt::Windows::UI::Xaml::DependencyObject const& target) const + template auto consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics::SetTarget(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& timeline, winrt::Windows::UI::Xaml::DependencyObject const& target) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboardStatics)->SetTarget(*(void**)(&timeline), *(void**)(&target))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation::TargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation::TargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation)->get_TargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation::TargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation::TargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation)->put_TargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation::FromHorizontalOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation::FromHorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation)->get_FromHorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation::FromHorizontalOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation::FromHorizontalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation)->put_FromHorizontalOffset(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation::FromVerticalOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation::FromVerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation)->get_FromVerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation::FromVerticalOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation::FromVerticalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation)->put_FromVerticalOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimationStatics::TargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimationStatics::TargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeBackThemeAnimationStatics)->get_TargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimationStatics::FromHorizontalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimationStatics::FromHorizontalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeBackThemeAnimationStatics)->get_FromHorizontalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimationStatics::FromVerticalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimationStatics::FromVerticalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeBackThemeAnimationStatics)->get_FromVerticalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation::TargetName() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation::TargetName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation)->get_TargetName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation::TargetName(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation::TargetName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation)->put_TargetName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation::ToHorizontalOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation::ToHorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation)->get_ToHorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation::ToHorizontalOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation::ToHorizontalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation)->put_ToHorizontalOffset(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation::ToVerticalOffset() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation::ToVerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation)->get_ToVerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation::ToVerticalOffset(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation::ToVerticalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation)->put_ToVerticalOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimationStatics::TargetNameProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimationStatics::TargetNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeHintThemeAnimationStatics)->get_TargetNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimationStatics::ToHorizontalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimationStatics::ToHorizontalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeHintThemeAnimationStatics)->get_ToHorizontalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimationStatics::ToVerticalOffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimationStatics::ToVerticalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeHintThemeAnimationStatics)->get_ToVerticalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_ITimeline::AutoReverse() const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimeline::AutoReverse() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->get_AutoReverse(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ITimeline::AutoReverse(bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimeline::AutoReverse(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->put_AutoReverse(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Media_Animation_ITimeline::BeginTime() const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimeline::BeginTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->get_BeginTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ITimeline::BeginTime(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimeline::BeginTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->put_BeginTime(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_Media_Animation_ITimeline::Duration() const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimeline::Duration() const { winrt::Windows::UI::Xaml::Duration value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ITimeline::Duration(winrt::Windows::UI::Xaml::Duration const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimeline::Duration(winrt::Windows::UI::Xaml::Duration const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->put_Duration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ITimeline::SpeedRatio() const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimeline::SpeedRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->get_SpeedRatio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ITimeline::SpeedRatio(double value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimeline::SpeedRatio(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->put_SpeedRatio(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::FillBehavior) consume_Windows_UI_Xaml_Media_Animation_ITimeline::FillBehavior() const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimeline::FillBehavior() const { winrt::Windows::UI::Xaml::Media::Animation::FillBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->get_FillBehavior(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ITimeline::FillBehavior(winrt::Windows::UI::Xaml::Media::Animation::FillBehavior const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimeline::FillBehavior(winrt::Windows::UI::Xaml::Media::Animation::FillBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->put_FillBehavior(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior) consume_Windows_UI_Xaml_Media_Animation_ITimeline::RepeatBehavior() const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimeline::RepeatBehavior() const { winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->get_RepeatBehavior(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ITimeline::RepeatBehavior(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimeline::RepeatBehavior(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->put_RepeatBehavior(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_Animation_ITimeline::Completed(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimeline::Completed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->add_Completed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Media_Animation_ITimeline::Completed_revoker consume_Windows_UI_Xaml_Media_Animation_ITimeline::Completed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimeline::Completed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Completed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ITimeline::Completed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Media_Animation_ITimeline::Completed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->remove_Completed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::Timeline) consume_Windows_UI_Xaml_Media_Animation_ITimelineFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimelineFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimelineFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Animation::Timeline{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics::AllowDependentAnimations() const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics::AllowDependentAnimations() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimelineStatics)->get_AllowDependentAnimations(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics::AllowDependentAnimations(bool value) const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics::AllowDependentAnimations(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimelineStatics)->put_AllowDependentAnimations(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics::AutoReverseProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics::AutoReverseProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimelineStatics)->get_AutoReverseProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics::BeginTimeProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics::BeginTimeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimelineStatics)->get_BeginTimeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics::DurationProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics::DurationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimelineStatics)->get_DurationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics::SpeedRatioProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics::SpeedRatioProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimelineStatics)->get_SpeedRatioProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics::FillBehaviorProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics::FillBehaviorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimelineStatics)->get_FillBehaviorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics::RepeatBehaviorProperty() const + template auto consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics::RepeatBehaviorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimelineStatics)->get_RepeatBehaviorProperty(&value)); @@ -7331,11 +7331,11 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media::Animation TransitionCollection(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } - template WINRT_IMPL_AUTO(hstring) INavigationTransitionInfoOverridesT::GetNavigationStateCore() const + template auto INavigationTransitionInfoOverridesT::GetNavigationStateCore() const { return shim().template try_as().GetNavigationStateCore(); } - template WINRT_IMPL_AUTO(void) INavigationTransitionInfoOverridesT::SetNavigationStateCore(param::hstring const& navigationState) const + template auto INavigationTransitionInfoOverridesT::SetNavigationStateCore(param::hstring const& navigationState) const { return shim().template try_as().SetNavigationStateCore(navigationState); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Imaging.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Imaging.h index 84008d6e..f2b92ef6 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Imaging.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Imaging.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_Imaging_H #define WINRT_Windows_UI_Xaml_Media_Imaging_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.Media.h" #include "winrt/impl/Windows.ApplicationModel.Background.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -16,427 +16,427 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Media.Imaging.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::BitmapCreateOptions) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::CreateOptions() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::CreateOptions() const { winrt::Windows::UI::Xaml::Media::Imaging::BitmapCreateOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->get_CreateOptions(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::CreateOptions(winrt::Windows::UI::Xaml::Media::Imaging::BitmapCreateOptions const& value) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::CreateOptions(winrt::Windows::UI::Xaml::Media::Imaging::BitmapCreateOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->put_CreateOptions(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::UriSource() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::UriSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->get_UriSource(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::UriSource(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::UriSource(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->put_UriSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::DecodePixelWidth() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::DecodePixelWidth() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->get_DecodePixelWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::DecodePixelWidth(int32_t value) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::DecodePixelWidth(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->put_DecodePixelWidth(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::DecodePixelHeight() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::DecodePixelHeight() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->get_DecodePixelHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::DecodePixelHeight(int32_t value) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::DecodePixelHeight(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->put_DecodePixelHeight(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::DownloadProgress(winrt::Windows::UI::Xaml::Media::Imaging::DownloadProgressEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::DownloadProgress(winrt::Windows::UI::Xaml::Media::Imaging::DownloadProgressEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->add_DownloadProgress(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::DownloadProgress_revoker consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::DownloadProgress(auto_revoke_t, winrt::Windows::UI::Xaml::Media::Imaging::DownloadProgressEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::DownloadProgress(auto_revoke_t, winrt::Windows::UI::Xaml::Media::Imaging::DownloadProgressEventHandler const& handler) const { return impl::make_event_revoker(this, DownloadProgress(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::DownloadProgress(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::DownloadProgress(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->remove_DownloadProgress(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::ImageOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::ImageOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->add_ImageOpened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::ImageOpened_revoker consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, ImageOpened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::ImageOpened(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::ImageOpened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->remove_ImageOpened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::ImageFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::ImageFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->add_ImageFailed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::ImageFailed_revoker consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const { return impl::make_event_revoker(this, ImageFailed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::ImageFailed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage::ImageFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->remove_ImageFailed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::DecodePixelType) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage2::DecodePixelType() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage2::DecodePixelType() const { winrt::Windows::UI::Xaml::Media::Imaging::DecodePixelType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage2)->get_DecodePixelType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage2::DecodePixelType(winrt::Windows::UI::Xaml::Media::Imaging::DecodePixelType const& value) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage2::DecodePixelType(winrt::Windows::UI::Xaml::Media::Imaging::DecodePixelType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage2)->put_DecodePixelType(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3::IsAnimatedBitmap() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3::IsAnimatedBitmap() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage3)->get_IsAnimatedBitmap(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3::IsPlaying() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3::IsPlaying() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage3)->get_IsPlaying(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3::AutoPlay() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3::AutoPlay() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage3)->get_AutoPlay(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3::AutoPlay(bool value) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3::AutoPlay(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage3)->put_AutoPlay(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3::Play() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3::Play() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage3)->Play()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3::Stop() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage3)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageFactory::CreateInstanceWithUriSource(winrt::Windows::Foundation::Uri const& uriSource) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageFactory::CreateInstanceWithUriSource(winrt::Windows::Foundation::Uri const& uriSource) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImageFactory)->CreateInstanceWithUriSource(*(void**)(&uriSource), &value)); return winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics::CreateOptionsProperty() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics::CreateOptionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImageStatics)->get_CreateOptionsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics::UriSourceProperty() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics::UriSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImageStatics)->get_UriSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics::DecodePixelWidthProperty() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics::DecodePixelWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImageStatics)->get_DecodePixelWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics::DecodePixelHeightProperty() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics::DecodePixelHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImageStatics)->get_DecodePixelHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics2::DecodePixelTypeProperty() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics2::DecodePixelTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImageStatics2)->get_DecodePixelTypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics3::IsAnimatedBitmapProperty() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics3::IsAnimatedBitmapProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImageStatics3)->get_IsAnimatedBitmapProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics3::IsPlayingProperty() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics3::IsPlayingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImageStatics3)->get_IsPlayingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics3::AutoPlayProperty() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics3::AutoPlayProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImageStatics3)->get_AutoPlayProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource::PixelWidth() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource::PixelWidth() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapSource)->get_PixelWidth(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource::PixelHeight() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource::PixelHeight() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapSource)->get_PixelHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource::SetSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& streamSource) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource::SetSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& streamSource) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapSource)->SetSource(*(void**)(&streamSource))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource::SetSourceAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& streamSource) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource::SetSourceAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& streamSource) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapSource)->SetSourceAsync(*(void**)(&streamSource), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::BitmapSource) consume_Windows_UI_Xaml_Media_Imaging_IBitmapSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Imaging::BitmapSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapSourceStatics::PixelWidthProperty() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapSourceStatics::PixelWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapSourceStatics)->get_PixelWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapSourceStatics::PixelHeightProperty() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapSourceStatics::PixelHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapSourceStatics)->get_PixelHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Imaging_IDownloadProgressEventArgs::Progress() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IDownloadProgressEventArgs::Progress() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IDownloadProgressEventArgs)->get_Progress(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IDownloadProgressEventArgs::Progress(int32_t value) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IDownloadProgressEventArgs::Progress(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IDownloadProgressEventArgs)->put_Progress(value)); } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap::PixelWidth() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap::PixelWidth() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IRenderTargetBitmap)->get_PixelWidth(&value)); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap::PixelHeight() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap::PixelHeight() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IRenderTargetBitmap)->get_PixelHeight(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap::RenderAsync(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap::RenderAsync(winrt::Windows::UI::Xaml::UIElement const& element) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IRenderTargetBitmap)->RenderAsync(*(void**)(&element), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap::RenderAsync(winrt::Windows::UI::Xaml::UIElement const& element, int32_t scaledWidth, int32_t scaledHeight) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap::RenderAsync(winrt::Windows::UI::Xaml::UIElement const& element, int32_t scaledWidth, int32_t scaledHeight) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IRenderTargetBitmap)->RenderToSizeAsync(*(void**)(&element), scaledWidth, scaledHeight, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap::GetPixelsAsync() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap::GetPixelsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IRenderTargetBitmap)->GetPixelsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmapStatics::PixelWidthProperty() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmapStatics::PixelWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IRenderTargetBitmapStatics)->get_PixelWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmapStatics::PixelHeightProperty() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmapStatics::PixelHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IRenderTargetBitmapStatics)->get_PixelHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Media_Imaging_ISoftwareBitmapSource::SetBitmapAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISoftwareBitmapSource::SetBitmapAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISoftwareBitmapSource)->SetBitmapAsync(*(void**)(&softwareBitmap), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::SurfaceImageSource) consume_Windows_UI_Xaml_Media_Imaging_ISurfaceImageSourceFactory::CreateInstanceWithDimensions(int32_t pixelWidth, int32_t pixelHeight, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISurfaceImageSourceFactory::CreateInstanceWithDimensions(int32_t pixelWidth, int32_t pixelHeight, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISurfaceImageSourceFactory)->CreateInstanceWithDimensions(pixelWidth, pixelHeight, *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Imaging::SurfaceImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::SurfaceImageSource) consume_Windows_UI_Xaml_Media_Imaging_ISurfaceImageSourceFactory::CreateInstanceWithDimensionsAndOpacity(int32_t pixelWidth, int32_t pixelHeight, bool isOpaque, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISurfaceImageSourceFactory::CreateInstanceWithDimensionsAndOpacity(int32_t pixelWidth, int32_t pixelHeight, bool isOpaque, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISurfaceImageSourceFactory)->CreateInstanceWithDimensionsAndOpacity(pixelWidth, pixelHeight, isOpaque, *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Imaging::SurfaceImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::UriSource() const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::UriSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource)->get_UriSource(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::UriSource(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::UriSource(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource)->put_UriSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::RasterizePixelWidth() const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::RasterizePixelWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource)->get_RasterizePixelWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::RasterizePixelWidth(double value) const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::RasterizePixelWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource)->put_RasterizePixelWidth(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::RasterizePixelHeight() const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::RasterizePixelHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource)->get_RasterizePixelHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::RasterizePixelHeight(double value) const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::RasterizePixelHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource)->put_RasterizePixelHeight(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource)->add_Opened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::Opened_revoker consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Opened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::Opened(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::Opened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource)->remove_Opened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::OpenFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::OpenFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource)->add_OpenFailed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::OpenFailed_revoker consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, OpenFailed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::OpenFailed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::OpenFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource)->remove_OpenFailed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::SetSourceAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& streamSource) const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource::SetSourceAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& streamSource) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource)->SetSourceAsync(*(void**)(&streamSource), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceFactory::CreateInstanceWithUriSource(winrt::Windows::Foundation::Uri const& uriSource, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceFactory::CreateInstanceWithUriSource(winrt::Windows::Foundation::Uri const& uriSource, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSourceFactory)->CreateInstanceWithUriSource(*(void**)(&uriSource), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceLoadStatus) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceFailedEventArgs::Status() const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceFailedEventArgs::Status() const { winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceLoadStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSourceFailedEventArgs)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceStatics::UriSourceProperty() const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceStatics::UriSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSourceStatics)->get_UriSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceStatics::RasterizePixelWidthProperty() const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceStatics::RasterizePixelWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSourceStatics)->get_RasterizePixelWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceStatics::RasterizePixelHeightProperty() const + template auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceStatics::RasterizePixelHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSourceStatics)->get_RasterizePixelHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::VirtualSurfaceImageSource) consume_Windows_UI_Xaml_Media_Imaging_IVirtualSurfaceImageSourceFactory::CreateInstanceWithDimensions(int32_t pixelWidth, int32_t pixelHeight) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IVirtualSurfaceImageSourceFactory::CreateInstanceWithDimensions(int32_t pixelWidth, int32_t pixelHeight) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IVirtualSurfaceImageSourceFactory)->CreateInstanceWithDimensions(pixelWidth, pixelHeight, &value)); return winrt::Windows::UI::Xaml::Media::Imaging::VirtualSurfaceImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::VirtualSurfaceImageSource) consume_Windows_UI_Xaml_Media_Imaging_IVirtualSurfaceImageSourceFactory::CreateInstanceWithDimensionsAndOpacity(int32_t pixelWidth, int32_t pixelHeight, bool isOpaque) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IVirtualSurfaceImageSourceFactory::CreateInstanceWithDimensionsAndOpacity(int32_t pixelWidth, int32_t pixelHeight, bool isOpaque) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IVirtualSurfaceImageSourceFactory)->CreateInstanceWithDimensionsAndOpacity(pixelWidth, pixelHeight, isOpaque, &value)); return winrt::Windows::UI::Xaml::Media::Imaging::VirtualSurfaceImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_UI_Xaml_Media_Imaging_IWriteableBitmap::PixelBuffer() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IWriteableBitmap::PixelBuffer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IWriteableBitmap)->get_PixelBuffer(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IWriteableBitmap::Invalidate() const + template auto consume_Windows_UI_Xaml_Media_Imaging_IWriteableBitmap::Invalidate() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IWriteableBitmap)->Invalidate()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::WriteableBitmap) consume_Windows_UI_Xaml_Media_Imaging_IWriteableBitmapFactory::CreateInstanceWithDimensions(int32_t pixelWidth, int32_t pixelHeight) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IWriteableBitmapFactory::CreateInstanceWithDimensions(int32_t pixelWidth, int32_t pixelHeight) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IWriteableBitmapFactory)->CreateInstanceWithDimensions(pixelWidth, pixelHeight, &value)); return winrt::Windows::UI::Xaml::Media::Imaging::WriteableBitmap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::XamlRenderingBackgroundTask) consume_Windows_UI_Xaml_Media_Imaging_IXamlRenderingBackgroundTaskFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IXamlRenderingBackgroundTaskFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IXamlRenderingBackgroundTaskFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Imaging::XamlRenderingBackgroundTask{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IXamlRenderingBackgroundTaskOverrides::OnRun(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const + template auto consume_Windows_UI_Xaml_Media_Imaging_IXamlRenderingBackgroundTaskOverrides::OnRun(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IXamlRenderingBackgroundTaskOverrides)->OnRun(*(void**)(&taskInstance))); } @@ -1367,7 +1367,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media::Imaging { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } - template WINRT_IMPL_AUTO(void) IXamlRenderingBackgroundTaskOverridesT::OnRun(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const + template auto IXamlRenderingBackgroundTaskOverridesT::OnRun(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const { return shim().template try_as().OnRun(taskInstance); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Media3D.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Media3D.h index 1541395c..5a5422a9 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Media3D.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Media3D.h @@ -1,293 +1,293 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_Media3D_H #define WINRT_Windows_UI_Xaml_Media_Media3D_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.Media.h" #include "winrt/impl/Windows.UI.Xaml.2.h" #include "winrt/impl/Windows.UI.Xaml.Media.Media3D.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::CenterX() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::CenterX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_CenterX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::CenterX(double value) const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::CenterX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_CenterX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::CenterY() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::CenterY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_CenterY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::CenterY(double value) const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::CenterY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_CenterY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::CenterZ() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::CenterZ() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_CenterZ(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::CenterZ(double value) const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::CenterZ(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_CenterZ(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::RotationX() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::RotationX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_RotationX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::RotationX(double value) const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::RotationX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_RotationX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::RotationY() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::RotationY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_RotationY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::RotationY(double value) const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::RotationY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_RotationY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::RotationZ() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::RotationZ() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_RotationZ(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::RotationZ(double value) const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::RotationZ(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_RotationZ(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::ScaleX() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::ScaleX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_ScaleX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::ScaleX(double value) const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::ScaleX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_ScaleX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::ScaleY() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::ScaleY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_ScaleY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::ScaleY(double value) const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::ScaleY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_ScaleY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::ScaleZ() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::ScaleZ() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_ScaleZ(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::ScaleZ(double value) const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::ScaleZ(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_ScaleZ(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::TranslateX() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::TranslateX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_TranslateX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::TranslateX(double value) const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::TranslateX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_TranslateX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::TranslateY() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::TranslateY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_TranslateY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::TranslateY(double value) const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::TranslateY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_TranslateY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::TranslateZ() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::TranslateZ() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_TranslateZ(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::TranslateZ(double value) const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D::TranslateZ(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_TranslateZ(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::CenterXProperty() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::CenterXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3DStatics)->get_CenterXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::CenterYProperty() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::CenterYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3DStatics)->get_CenterYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::CenterZProperty() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::CenterZProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3DStatics)->get_CenterZProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::RotationXProperty() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::RotationXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3DStatics)->get_RotationXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::RotationYProperty() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::RotationYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3DStatics)->get_RotationYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::RotationZProperty() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::RotationZProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3DStatics)->get_RotationZProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::ScaleXProperty() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::ScaleXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3DStatics)->get_ScaleXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::ScaleYProperty() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::ScaleYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3DStatics)->get_ScaleYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::ScaleZProperty() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::ScaleZProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3DStatics)->get_ScaleZProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::TranslateXProperty() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::TranslateXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3DStatics)->get_TranslateXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::TranslateYProperty() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::TranslateYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3DStatics)->get_TranslateYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::TranslateZProperty() const + template auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics::TranslateZProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3DStatics)->get_TranslateZProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics::Identity() const + template auto consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics::Identity() const { winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IMatrix3DHelperStatics)->get_Identity(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics::Multiply(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& matrix1, winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& matrix2) const + template auto consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics::Multiply(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& matrix1, winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& matrix2) const { winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IMatrix3DHelperStatics)->Multiply(impl::bind_in(matrix1), impl::bind_in(matrix2), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics::FromElements(double m11, double m12, double m13, double m14, double m21, double m22, double m23, double m24, double m31, double m32, double m33, double m34, double offsetX, double offsetY, double offsetZ, double m44) const + template auto consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics::FromElements(double m11, double m12, double m13, double m14, double m21, double m22, double m23, double m24, double m31, double m32, double m33, double m34, double offsetX, double offsetY, double offsetZ, double m44) const { winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IMatrix3DHelperStatics)->FromElements(m11, m12, m13, m14, m21, m22, m23, m24, m31, m32, m33, m34, offsetX, offsetY, offsetZ, m44, put_abi(result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics::GetHasInverse(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& target) const + template auto consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics::GetHasInverse(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& target) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IMatrix3DHelperStatics)->GetHasInverse(impl::bind_in(target), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics::GetIsIdentity(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& target) const + template auto consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics::GetIsIdentity(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& target) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IMatrix3DHelperStatics)->GetIsIdentity(impl::bind_in(target), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics::Invert(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& target) const + template auto consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics::Invert(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& target) const { winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IMatrix3DHelperStatics)->Invert(impl::bind_in(target), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D::Depth() const + template auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D::Depth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3D)->get_Depth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D::Depth(double value) const + template auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D::Depth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3D)->put_Depth(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D::OffsetX() const + template auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D::OffsetX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3D)->get_OffsetX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D::OffsetX(double value) const + template auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D::OffsetX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3D)->put_OffsetX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D::OffsetY() const + template auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D::OffsetY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3D)->get_OffsetY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D::OffsetY(double value) const + template auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D::OffsetY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3D)->put_OffsetY(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3DStatics::DepthProperty() const + template auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3DStatics::DepthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3DStatics)->get_DepthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3DStatics::OffsetXProperty() const + template auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3DStatics::OffsetXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3DStatics)->get_OffsetXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3DStatics::OffsetYProperty() const + template auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3DStatics::OffsetYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3DStatics)->get_OffsetYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Transform3D) consume_Windows_UI_Xaml_Media_Media3D_ITransform3DFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_Media3D_ITransform3DFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ITransform3DFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.h index 7164a8f1..e14f8690 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_H #define WINRT_Windows_UI_Xaml_Media_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -19,2051 +19,2051 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Media.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AcrylicBackgroundSource) consume_Windows_UI_Xaml_Media_IAcrylicBrush::BackgroundSource() const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::BackgroundSource() const { winrt::Windows::UI::Xaml::Media::AcrylicBackgroundSource value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->get_BackgroundSource(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IAcrylicBrush::BackgroundSource(winrt::Windows::UI::Xaml::Media::AcrylicBackgroundSource const& value) const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::BackgroundSource(winrt::Windows::UI::Xaml::Media::AcrylicBackgroundSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->put_BackgroundSource(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintColor() const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->get_TintColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->put_TintColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintOpacity() const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintOpacity() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->get_TintOpacity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintOpacity(double value) const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintOpacity(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->put_TintOpacity(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintTransitionDuration() const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintTransitionDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->get_TintTransitionDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintTransitionDuration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintTransitionDuration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->put_TintTransitionDuration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_IAcrylicBrush::AlwaysUseFallback() const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::AlwaysUseFallback() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->get_AlwaysUseFallback(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IAcrylicBrush::AlwaysUseFallback(bool value) const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::AlwaysUseFallback(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->put_AlwaysUseFallback(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_Media_IAcrylicBrush2::TintLuminosityOpacity() const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush2::TintLuminosityOpacity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush2)->get_TintLuminosityOpacity(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IAcrylicBrush2::TintLuminosityOpacity(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush2::TintLuminosityOpacity(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush2)->put_TintLuminosityOpacity(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AcrylicBrush) consume_Windows_UI_Xaml_Media_IAcrylicBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrushFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::AcrylicBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics::BackgroundSourceProperty() const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics::BackgroundSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrushStatics)->get_BackgroundSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics::TintColorProperty() const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics::TintColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrushStatics)->get_TintColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics::TintOpacityProperty() const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics::TintOpacityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrushStatics)->get_TintOpacityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics::TintTransitionDurationProperty() const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics::TintTransitionDurationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrushStatics)->get_TintTransitionDurationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics::AlwaysUseFallbackProperty() const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics::AlwaysUseFallbackProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrushStatics)->get_AlwaysUseFallbackProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics2::TintLuminosityOpacityProperty() const + template auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics2::TintLuminosityOpacityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrushStatics2)->get_TintLuminosityOpacityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IArcSegment::Point() const + template auto consume_Windows_UI_Xaml_Media_IArcSegment::Point() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->get_Point(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IArcSegment::Point(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Media_IArcSegment::Point(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->put_Point(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_Media_IArcSegment::Size() const + template auto consume_Windows_UI_Xaml_Media_IArcSegment::Size() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->get_Size(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IArcSegment::Size(winrt::Windows::Foundation::Size const& value) const + template auto consume_Windows_UI_Xaml_Media_IArcSegment::Size(winrt::Windows::Foundation::Size const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->put_Size(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IArcSegment::RotationAngle() const + template auto consume_Windows_UI_Xaml_Media_IArcSegment::RotationAngle() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->get_RotationAngle(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IArcSegment::RotationAngle(double value) const + template auto consume_Windows_UI_Xaml_Media_IArcSegment::RotationAngle(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->put_RotationAngle(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_IArcSegment::IsLargeArc() const + template auto consume_Windows_UI_Xaml_Media_IArcSegment::IsLargeArc() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->get_IsLargeArc(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IArcSegment::IsLargeArc(bool value) const + template auto consume_Windows_UI_Xaml_Media_IArcSegment::IsLargeArc(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->put_IsLargeArc(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SweepDirection) consume_Windows_UI_Xaml_Media_IArcSegment::SweepDirection() const + template auto consume_Windows_UI_Xaml_Media_IArcSegment::SweepDirection() const { winrt::Windows::UI::Xaml::Media::SweepDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->get_SweepDirection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IArcSegment::SweepDirection(winrt::Windows::UI::Xaml::Media::SweepDirection const& value) const + template auto consume_Windows_UI_Xaml_Media_IArcSegment::SweepDirection(winrt::Windows::UI::Xaml::Media::SweepDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->put_SweepDirection(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IArcSegmentStatics::PointProperty() const + template auto consume_Windows_UI_Xaml_Media_IArcSegmentStatics::PointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegmentStatics)->get_PointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IArcSegmentStatics::SizeProperty() const + template auto consume_Windows_UI_Xaml_Media_IArcSegmentStatics::SizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegmentStatics)->get_SizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IArcSegmentStatics::RotationAngleProperty() const + template auto consume_Windows_UI_Xaml_Media_IArcSegmentStatics::RotationAngleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegmentStatics)->get_RotationAngleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IArcSegmentStatics::IsLargeArcProperty() const + template auto consume_Windows_UI_Xaml_Media_IArcSegmentStatics::IsLargeArcProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegmentStatics)->get_IsLargeArcProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IArcSegmentStatics::SweepDirectionProperty() const + template auto consume_Windows_UI_Xaml_Media_IArcSegmentStatics::SweepDirectionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegmentStatics)->get_SweepDirectionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IBezierSegment::Point1() const + template auto consume_Windows_UI_Xaml_Media_IBezierSegment::Point1() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegment)->get_Point1(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IBezierSegment::Point1(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Media_IBezierSegment::Point1(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegment)->put_Point1(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IBezierSegment::Point2() const + template auto consume_Windows_UI_Xaml_Media_IBezierSegment::Point2() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegment)->get_Point2(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IBezierSegment::Point2(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Media_IBezierSegment::Point2(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegment)->put_Point2(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IBezierSegment::Point3() const + template auto consume_Windows_UI_Xaml_Media_IBezierSegment::Point3() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegment)->get_Point3(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IBezierSegment::Point3(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Media_IBezierSegment::Point3(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegment)->put_Point3(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IBezierSegmentStatics::Point1Property() const + template auto consume_Windows_UI_Xaml_Media_IBezierSegmentStatics::Point1Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegmentStatics)->get_Point1Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IBezierSegmentStatics::Point2Property() const + template auto consume_Windows_UI_Xaml_Media_IBezierSegmentStatics::Point2Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegmentStatics)->get_Point2Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IBezierSegmentStatics::Point3Property() const + template auto consume_Windows_UI_Xaml_Media_IBezierSegmentStatics::Point3Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegmentStatics)->get_Point3Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IBrush::Opacity() const + template auto consume_Windows_UI_Xaml_Media_IBrush::Opacity() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrush)->get_Opacity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IBrush::Opacity(double value) const + template auto consume_Windows_UI_Xaml_Media_IBrush::Opacity(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrush)->put_Opacity(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Transform) consume_Windows_UI_Xaml_Media_IBrush::Transform() const + template auto consume_Windows_UI_Xaml_Media_IBrush::Transform() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrush)->get_Transform(&value)); return winrt::Windows::UI::Xaml::Media::Transform{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IBrush::Transform(winrt::Windows::UI::Xaml::Media::Transform const& value) const + template auto consume_Windows_UI_Xaml_Media_IBrush::Transform(winrt::Windows::UI::Xaml::Media::Transform const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrush)->put_Transform(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Transform) consume_Windows_UI_Xaml_Media_IBrush::RelativeTransform() const + template auto consume_Windows_UI_Xaml_Media_IBrush::RelativeTransform() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrush)->get_RelativeTransform(&value)); return winrt::Windows::UI::Xaml::Media::Transform{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IBrush::RelativeTransform(winrt::Windows::UI::Xaml::Media::Transform const& value) const + template auto consume_Windows_UI_Xaml_Media_IBrush::RelativeTransform(winrt::Windows::UI::Xaml::Media::Transform const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrush)->put_RelativeTransform(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Media_IBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_IBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrushFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IBrushOverrides2::PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const + template auto consume_Windows_UI_Xaml_Media_IBrushOverrides2::PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrushOverrides2)->PopulatePropertyInfoOverride(*(void**)(&propertyName), *(void**)(&animationPropertyInfo))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IBrushStatics::OpacityProperty() const + template auto consume_Windows_UI_Xaml_Media_IBrushStatics::OpacityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrushStatics)->get_OpacityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IBrushStatics::TransformProperty() const + template auto consume_Windows_UI_Xaml_Media_IBrushStatics::TransformProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrushStatics)->get_TransformProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IBrushStatics::RelativeTransformProperty() const + template auto consume_Windows_UI_Xaml_Media_IBrushStatics::RelativeTransformProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrushStatics)->get_RelativeTransformProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::CacheMode) consume_Windows_UI_Xaml_Media_ICacheModeFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_ICacheModeFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICacheModeFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::CacheMode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform::CenterX() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::CenterX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_CenterX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform::CenterX(double value) const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::CenterX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_CenterX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform::CenterY() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::CenterY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_CenterY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform::CenterY(double value) const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::CenterY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_CenterY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform::ScaleX() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::ScaleX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_ScaleX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform::ScaleX(double value) const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::ScaleX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_ScaleX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform::ScaleY() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::ScaleY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_ScaleY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform::ScaleY(double value) const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::ScaleY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_ScaleY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform::SkewX() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::SkewX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_SkewX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform::SkewX(double value) const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::SkewX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_SkewX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform::SkewY() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::SkewY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_SkewY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform::SkewY(double value) const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::SkewY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_SkewY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform::Rotation() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::Rotation() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_Rotation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform::Rotation(double value) const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::Rotation(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_Rotation(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform::TranslateX() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::TranslateX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_TranslateX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform::TranslateX(double value) const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::TranslateX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_TranslateX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform::TranslateY() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::TranslateY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_TranslateY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform::TranslateY(double value) const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::TranslateY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_TranslateY(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::CenterXProperty() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::CenterXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_CenterXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::CenterYProperty() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::CenterYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_CenterYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::ScaleXProperty() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::ScaleXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_ScaleXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::ScaleYProperty() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::ScaleYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_ScaleYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::SkewXProperty() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::SkewXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_SkewXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::SkewYProperty() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::SkewYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_SkewYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::RotationProperty() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::RotationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_RotationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::TranslateXProperty() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::TranslateXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_TranslateXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::TranslateYProperty() const + template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::TranslateYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_TranslateYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::Rendering(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::Rendering(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics)->add_Rendering(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::Rendering_revoker consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Rendering(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::Rendering(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::Rendering(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics)->remove_Rendering(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::SurfaceContentsLost(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::SurfaceContentsLost(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics)->add_SurfaceContentsLost(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::SurfaceContentsLost_revoker consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, SurfaceContentsLost(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::SurfaceContentsLost(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::SurfaceContentsLost(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics)->remove_SurfaceContentsLost(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3::Rendered(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3::Rendered(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics3)->add_Rendered(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3::Rendered_revoker consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3::Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3::Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Rendered(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3::Rendered(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3::Rendered(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics3)->remove_Rendered(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IEllipseGeometry::Center() const + template auto consume_Windows_UI_Xaml_Media_IEllipseGeometry::Center() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometry)->get_Center(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IEllipseGeometry::Center(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Media_IEllipseGeometry::Center(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometry)->put_Center(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IEllipseGeometry::RadiusX() const + template auto consume_Windows_UI_Xaml_Media_IEllipseGeometry::RadiusX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometry)->get_RadiusX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IEllipseGeometry::RadiusX(double value) const + template auto consume_Windows_UI_Xaml_Media_IEllipseGeometry::RadiusX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometry)->put_RadiusX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IEllipseGeometry::RadiusY() const + template auto consume_Windows_UI_Xaml_Media_IEllipseGeometry::RadiusY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometry)->get_RadiusY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IEllipseGeometry::RadiusY(double value) const + template auto consume_Windows_UI_Xaml_Media_IEllipseGeometry::RadiusY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometry)->put_RadiusY(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IEllipseGeometryStatics::CenterProperty() const + template auto consume_Windows_UI_Xaml_Media_IEllipseGeometryStatics::CenterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometryStatics)->get_CenterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IEllipseGeometryStatics::RadiusXProperty() const + template auto consume_Windows_UI_Xaml_Media_IEllipseGeometryStatics::RadiusXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometryStatics)->get_RadiusXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IEllipseGeometryStatics::RadiusYProperty() const + template auto consume_Windows_UI_Xaml_Media_IEllipseGeometryStatics::RadiusYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometryStatics)->get_RadiusYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_IFontFamily::Source() const + template auto consume_Windows_UI_Xaml_Media_IFontFamily::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IFontFamily)->get_Source(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Media_IFontFamilyFactory::CreateInstanceWithName(param::hstring const& familyName, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_IFontFamilyFactory::CreateInstanceWithName(param::hstring const& familyName, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IFontFamilyFactory)->CreateInstanceWithName(*(void**)(&familyName), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Media_IFontFamilyStatics2::XamlAutoFontFamily() const + template auto consume_Windows_UI_Xaml_Media_IFontFamilyStatics2::XamlAutoFontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IFontFamilyStatics2)->get_XamlAutoFontFamily(&value)); return winrt::Windows::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeneralTransform) consume_Windows_UI_Xaml_Media_IGeneralTransform::Inverse() const + template auto consume_Windows_UI_Xaml_Media_IGeneralTransform::Inverse() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeneralTransform)->get_Inverse(&value)); return winrt::Windows::UI::Xaml::Media::GeneralTransform{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IGeneralTransform::TransformPoint(winrt::Windows::Foundation::Point const& point) const + template auto consume_Windows_UI_Xaml_Media_IGeneralTransform::TransformPoint(winrt::Windows::Foundation::Point const& point) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeneralTransform)->TransformPoint(impl::bind_in(point), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_IGeneralTransform::TryTransform(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const + template auto consume_Windows_UI_Xaml_Media_IGeneralTransform::TryTransform(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeneralTransform)->TryTransform(impl::bind_in(inPoint), impl::bind_out(outPoint), &returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Media_IGeneralTransform::TransformBounds(winrt::Windows::Foundation::Rect const& rect) const + template auto consume_Windows_UI_Xaml_Media_IGeneralTransform::TransformBounds(winrt::Windows::Foundation::Rect const& rect) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeneralTransform)->TransformBounds(impl::bind_in(rect), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeneralTransform) consume_Windows_UI_Xaml_Media_IGeneralTransformFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_IGeneralTransformFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeneralTransformFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::GeneralTransform{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeneralTransform) consume_Windows_UI_Xaml_Media_IGeneralTransformOverrides::InverseCore() const + template auto consume_Windows_UI_Xaml_Media_IGeneralTransformOverrides::InverseCore() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeneralTransformOverrides)->get_InverseCore(&value)); return winrt::Windows::UI::Xaml::Media::GeneralTransform{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_IGeneralTransformOverrides::TryTransformCore(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const + template auto consume_Windows_UI_Xaml_Media_IGeneralTransformOverrides::TryTransformCore(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeneralTransformOverrides)->TryTransformCore(impl::bind_in(inPoint), impl::bind_out(outPoint), &returnValue)); return returnValue; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Media_IGeneralTransformOverrides::TransformBoundsCore(winrt::Windows::Foundation::Rect const& rect) const + template auto consume_Windows_UI_Xaml_Media_IGeneralTransformOverrides::TransformBoundsCore(winrt::Windows::Foundation::Rect const& rect) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeneralTransformOverrides)->TransformBoundsCore(impl::bind_in(rect), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Transform) consume_Windows_UI_Xaml_Media_IGeometry::Transform() const + template auto consume_Windows_UI_Xaml_Media_IGeometry::Transform() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometry)->get_Transform(&value)); return winrt::Windows::UI::Xaml::Media::Transform{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGeometry::Transform(winrt::Windows::UI::Xaml::Media::Transform const& value) const + template auto consume_Windows_UI_Xaml_Media_IGeometry::Transform(winrt::Windows::UI::Xaml::Media::Transform const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometry)->put_Transform(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Media_IGeometry::Bounds() const + template auto consume_Windows_UI_Xaml_Media_IGeometry::Bounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometry)->get_Bounds(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FillRule) consume_Windows_UI_Xaml_Media_IGeometryGroup::FillRule() const + template auto consume_Windows_UI_Xaml_Media_IGeometryGroup::FillRule() const { winrt::Windows::UI::Xaml::Media::FillRule value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryGroup)->get_FillRule(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGeometryGroup::FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const + template auto consume_Windows_UI_Xaml_Media_IGeometryGroup::FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryGroup)->put_FillRule(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeometryCollection) consume_Windows_UI_Xaml_Media_IGeometryGroup::Children() const + template auto consume_Windows_UI_Xaml_Media_IGeometryGroup::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryGroup)->get_Children(&value)); return winrt::Windows::UI::Xaml::Media::GeometryCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGeometryGroup::Children(winrt::Windows::UI::Xaml::Media::GeometryCollection const& value) const + template auto consume_Windows_UI_Xaml_Media_IGeometryGroup::Children(winrt::Windows::UI::Xaml::Media::GeometryCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryGroup)->put_Children(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGeometryGroupStatics::FillRuleProperty() const + template auto consume_Windows_UI_Xaml_Media_IGeometryGroupStatics::FillRuleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryGroupStatics)->get_FillRuleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGeometryGroupStatics::ChildrenProperty() const + template auto consume_Windows_UI_Xaml_Media_IGeometryGroupStatics::ChildrenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryGroupStatics)->get_ChildrenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Geometry) consume_Windows_UI_Xaml_Media_IGeometryStatics::Empty() const + template auto consume_Windows_UI_Xaml_Media_IGeometryStatics::Empty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryStatics)->get_Empty(&value)); return winrt::Windows::UI::Xaml::Media::Geometry{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IGeometryStatics::StandardFlatteningTolerance() const + template auto consume_Windows_UI_Xaml_Media_IGeometryStatics::StandardFlatteningTolerance() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryStatics)->get_StandardFlatteningTolerance(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGeometryStatics::TransformProperty() const + template auto consume_Windows_UI_Xaml_Media_IGeometryStatics::TransformProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryStatics)->get_TransformProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GradientSpreadMethod) consume_Windows_UI_Xaml_Media_IGradientBrush::SpreadMethod() const + template auto consume_Windows_UI_Xaml_Media_IGradientBrush::SpreadMethod() const { winrt::Windows::UI::Xaml::Media::GradientSpreadMethod value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->get_SpreadMethod(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGradientBrush::SpreadMethod(winrt::Windows::UI::Xaml::Media::GradientSpreadMethod const& value) const + template auto consume_Windows_UI_Xaml_Media_IGradientBrush::SpreadMethod(winrt::Windows::UI::Xaml::Media::GradientSpreadMethod const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->put_SpreadMethod(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::BrushMappingMode) consume_Windows_UI_Xaml_Media_IGradientBrush::MappingMode() const + template auto consume_Windows_UI_Xaml_Media_IGradientBrush::MappingMode() const { winrt::Windows::UI::Xaml::Media::BrushMappingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->get_MappingMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGradientBrush::MappingMode(winrt::Windows::UI::Xaml::Media::BrushMappingMode const& value) const + template auto consume_Windows_UI_Xaml_Media_IGradientBrush::MappingMode(winrt::Windows::UI::Xaml::Media::BrushMappingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->put_MappingMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ColorInterpolationMode) consume_Windows_UI_Xaml_Media_IGradientBrush::ColorInterpolationMode() const + template auto consume_Windows_UI_Xaml_Media_IGradientBrush::ColorInterpolationMode() const { winrt::Windows::UI::Xaml::Media::ColorInterpolationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->get_ColorInterpolationMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGradientBrush::ColorInterpolationMode(winrt::Windows::UI::Xaml::Media::ColorInterpolationMode const& value) const + template auto consume_Windows_UI_Xaml_Media_IGradientBrush::ColorInterpolationMode(winrt::Windows::UI::Xaml::Media::ColorInterpolationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->put_ColorInterpolationMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GradientStopCollection) consume_Windows_UI_Xaml_Media_IGradientBrush::GradientStops() const + template auto consume_Windows_UI_Xaml_Media_IGradientBrush::GradientStops() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->get_GradientStops(&value)); return winrt::Windows::UI::Xaml::Media::GradientStopCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGradientBrush::GradientStops(winrt::Windows::UI::Xaml::Media::GradientStopCollection const& value) const + template auto consume_Windows_UI_Xaml_Media_IGradientBrush::GradientStops(winrt::Windows::UI::Xaml::Media::GradientStopCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->put_GradientStops(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GradientBrush) consume_Windows_UI_Xaml_Media_IGradientBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_IGradientBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrushFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::GradientBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGradientBrushStatics::SpreadMethodProperty() const + template auto consume_Windows_UI_Xaml_Media_IGradientBrushStatics::SpreadMethodProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrushStatics)->get_SpreadMethodProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGradientBrushStatics::MappingModeProperty() const + template auto consume_Windows_UI_Xaml_Media_IGradientBrushStatics::MappingModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrushStatics)->get_MappingModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGradientBrushStatics::ColorInterpolationModeProperty() const + template auto consume_Windows_UI_Xaml_Media_IGradientBrushStatics::ColorInterpolationModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrushStatics)->get_ColorInterpolationModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGradientBrushStatics::GradientStopsProperty() const + template auto consume_Windows_UI_Xaml_Media_IGradientBrushStatics::GradientStopsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrushStatics)->get_GradientStopsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Media_IGradientStop::Color() const + template auto consume_Windows_UI_Xaml_Media_IGradientStop::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientStop)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGradientStop::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Xaml_Media_IGradientStop::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientStop)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IGradientStop::Offset() const + template auto consume_Windows_UI_Xaml_Media_IGradientStop::Offset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientStop)->get_Offset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGradientStop::Offset(double value) const + template auto consume_Windows_UI_Xaml_Media_IGradientStop::Offset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientStop)->put_Offset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGradientStopStatics::ColorProperty() const + template auto consume_Windows_UI_Xaml_Media_IGradientStopStatics::ColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientStopStatics)->get_ColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGradientStopStatics::OffsetProperty() const + template auto consume_Windows_UI_Xaml_Media_IGradientStopStatics::OffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientStopStatics)->get_OffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Media_IImageBrush::ImageSource() const + template auto consume_Windows_UI_Xaml_Media_IImageBrush::ImageSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IImageBrush)->get_ImageSource(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IImageBrush::ImageSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const + template auto consume_Windows_UI_Xaml_Media_IImageBrush::ImageSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IImageBrush)->put_ImageSource(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_IImageBrush::ImageFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_IImageBrush::ImageFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IImageBrush)->add_ImageFailed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Media_IImageBrush::ImageFailed_revoker consume_Windows_UI_Xaml_Media_IImageBrush::ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_IImageBrush::ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const { return impl::make_event_revoker(this, ImageFailed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IImageBrush::ImageFailed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Media_IImageBrush::ImageFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IImageBrush)->remove_ImageFailed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_IImageBrush::ImageOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_IImageBrush::ImageOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IImageBrush)->add_ImageOpened(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Media_IImageBrush::ImageOpened_revoker consume_Windows_UI_Xaml_Media_IImageBrush::ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_IImageBrush::ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, ImageOpened(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IImageBrush::ImageOpened(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Media_IImageBrush::ImageOpened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IImageBrush)->remove_ImageOpened(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IImageBrushStatics::ImageSourceProperty() const + template auto consume_Windows_UI_Xaml_Media_IImageBrushStatics::ImageSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IImageBrushStatics)->get_ImageSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_ILineGeometry::StartPoint() const + template auto consume_Windows_UI_Xaml_Media_ILineGeometry::StartPoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineGeometry)->get_StartPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ILineGeometry::StartPoint(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Media_ILineGeometry::StartPoint(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineGeometry)->put_StartPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_ILineGeometry::EndPoint() const + template auto consume_Windows_UI_Xaml_Media_ILineGeometry::EndPoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineGeometry)->get_EndPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ILineGeometry::EndPoint(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Media_ILineGeometry::EndPoint(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineGeometry)->put_EndPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ILineGeometryStatics::StartPointProperty() const + template auto consume_Windows_UI_Xaml_Media_ILineGeometryStatics::StartPointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineGeometryStatics)->get_StartPointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ILineGeometryStatics::EndPointProperty() const + template auto consume_Windows_UI_Xaml_Media_ILineGeometryStatics::EndPointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineGeometryStatics)->get_EndPointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_ILineSegment::Point() const + template auto consume_Windows_UI_Xaml_Media_ILineSegment::Point() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineSegment)->get_Point(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ILineSegment::Point(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Media_ILineSegment::Point(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineSegment)->put_Point(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ILineSegmentStatics::PointProperty() const + template auto consume_Windows_UI_Xaml_Media_ILineSegmentStatics::PointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineSegmentStatics)->get_PointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_ILinearGradientBrush::StartPoint() const + template auto consume_Windows_UI_Xaml_Media_ILinearGradientBrush::StartPoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILinearGradientBrush)->get_StartPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ILinearGradientBrush::StartPoint(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Media_ILinearGradientBrush::StartPoint(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILinearGradientBrush)->put_StartPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_ILinearGradientBrush::EndPoint() const + template auto consume_Windows_UI_Xaml_Media_ILinearGradientBrush::EndPoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILinearGradientBrush)->get_EndPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ILinearGradientBrush::EndPoint(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Media_ILinearGradientBrush::EndPoint(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILinearGradientBrush)->put_EndPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LinearGradientBrush) consume_Windows_UI_Xaml_Media_ILinearGradientBrushFactory::CreateInstanceWithGradientStopCollectionAndAngle(winrt::Windows::UI::Xaml::Media::GradientStopCollection const& gradientStopCollection, double angle) const + template auto consume_Windows_UI_Xaml_Media_ILinearGradientBrushFactory::CreateInstanceWithGradientStopCollectionAndAngle(winrt::Windows::UI::Xaml::Media::GradientStopCollection const& gradientStopCollection, double angle) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILinearGradientBrushFactory)->CreateInstanceWithGradientStopCollectionAndAngle(*(void**)(&gradientStopCollection), angle, &value)); return winrt::Windows::UI::Xaml::Media::LinearGradientBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ILinearGradientBrushStatics::StartPointProperty() const + template auto consume_Windows_UI_Xaml_Media_ILinearGradientBrushStatics::StartPointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILinearGradientBrushStatics)->get_StartPointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ILinearGradientBrushStatics::EndPointProperty() const + template auto consume_Windows_UI_Xaml_Media_ILinearGradientBrushStatics::EndPointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILinearGradientBrushStatics)->get_EndPointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LoadedImageSourceLoadStatus) consume_Windows_UI_Xaml_Media_ILoadedImageSourceLoadCompletedEventArgs::Status() const + template auto consume_Windows_UI_Xaml_Media_ILoadedImageSourceLoadCompletedEventArgs::Status() const { winrt::Windows::UI::Xaml::Media::LoadedImageSourceLoadStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSourceLoadCompletedEventArgs)->get_Status(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_Media_ILoadedImageSurface::DecodedPhysicalSize() const + template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface::DecodedPhysicalSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurface)->get_DecodedPhysicalSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_Media_ILoadedImageSurface::DecodedSize() const + template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface::DecodedSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurface)->get_DecodedSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_Media_ILoadedImageSurface::NaturalSize() const + template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface::NaturalSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurface)->get_NaturalSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_ILoadedImageSurface::LoadCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface::LoadCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurface)->add_LoadCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Media_ILoadedImageSurface::LoadCompleted_revoker consume_Windows_UI_Xaml_Media_ILoadedImageSurface::LoadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface::LoadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LoadCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ILoadedImageSurface::LoadCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface::LoadCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurface)->remove_LoadCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LoadedImageSurface) consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics::StartLoadFromUri(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Size const& desiredMaxSize) const + template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics::StartLoadFromUri(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Size const& desiredMaxSize) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurfaceStatics)->StartLoadFromUriWithSize(*(void**)(&uri), impl::bind_in(desiredMaxSize), &result)); return winrt::Windows::UI::Xaml::Media::LoadedImageSurface{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LoadedImageSurface) consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics::StartLoadFromUri(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics::StartLoadFromUri(winrt::Windows::Foundation::Uri const& uri) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurfaceStatics)->StartLoadFromUri(*(void**)(&uri), &result)); return winrt::Windows::UI::Xaml::Media::LoadedImageSurface{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LoadedImageSurface) consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics::StartLoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Foundation::Size const& desiredMaxSize) const + template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics::StartLoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Foundation::Size const& desiredMaxSize) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurfaceStatics)->StartLoadFromStreamWithSize(*(void**)(&stream), impl::bind_in(desiredMaxSize), &result)); return winrt::Windows::UI::Xaml::Media::LoadedImageSurface{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LoadedImageSurface) consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics::StartLoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const + template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics::StartLoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurfaceStatics)->StartLoadFromStream(*(void**)(&stream), &result)); return winrt::Windows::UI::Xaml::Media::LoadedImageSurface{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) consume_Windows_UI_Xaml_Media_IMatrix3DProjection::ProjectionMatrix() const + template auto consume_Windows_UI_Xaml_Media_IMatrix3DProjection::ProjectionMatrix() const { winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrix3DProjection)->get_ProjectionMatrix(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IMatrix3DProjection::ProjectionMatrix(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& value) const + template auto consume_Windows_UI_Xaml_Media_IMatrix3DProjection::ProjectionMatrix(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrix3DProjection)->put_ProjectionMatrix(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IMatrix3DProjectionStatics::ProjectionMatrixProperty() const + template auto consume_Windows_UI_Xaml_Media_IMatrix3DProjectionStatics::ProjectionMatrixProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrix3DProjectionStatics)->get_ProjectionMatrixProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Matrix) consume_Windows_UI_Xaml_Media_IMatrixHelperStatics::Identity() const + template auto consume_Windows_UI_Xaml_Media_IMatrixHelperStatics::Identity() const { winrt::Windows::UI::Xaml::Media::Matrix value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrixHelperStatics)->get_Identity(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Matrix) consume_Windows_UI_Xaml_Media_IMatrixHelperStatics::FromElements(double m11, double m12, double m21, double m22, double offsetX, double offsetY) const + template auto consume_Windows_UI_Xaml_Media_IMatrixHelperStatics::FromElements(double m11, double m12, double m21, double m22, double offsetX, double offsetY) const { winrt::Windows::UI::Xaml::Media::Matrix result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrixHelperStatics)->FromElements(m11, m12, m21, m22, offsetX, offsetY, put_abi(result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_IMatrixHelperStatics::GetIsIdentity(winrt::Windows::UI::Xaml::Media::Matrix const& target) const + template auto consume_Windows_UI_Xaml_Media_IMatrixHelperStatics::GetIsIdentity(winrt::Windows::UI::Xaml::Media::Matrix const& target) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrixHelperStatics)->GetIsIdentity(impl::bind_in(target), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IMatrixHelperStatics::Transform(winrt::Windows::UI::Xaml::Media::Matrix const& target, winrt::Windows::Foundation::Point const& point) const + template auto consume_Windows_UI_Xaml_Media_IMatrixHelperStatics::Transform(winrt::Windows::UI::Xaml::Media::Matrix const& target, winrt::Windows::Foundation::Point const& point) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrixHelperStatics)->Transform(impl::bind_in(target), impl::bind_in(point), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Matrix) consume_Windows_UI_Xaml_Media_IMatrixTransform::Matrix() const + template auto consume_Windows_UI_Xaml_Media_IMatrixTransform::Matrix() const { winrt::Windows::UI::Xaml::Media::Matrix value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrixTransform)->get_Matrix(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IMatrixTransform::Matrix(winrt::Windows::UI::Xaml::Media::Matrix const& value) const + template auto consume_Windows_UI_Xaml_Media_IMatrixTransform::Matrix(winrt::Windows::UI::Xaml::Media::Matrix const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrixTransform)->put_Matrix(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IMatrixTransformStatics::MatrixProperty() const + template auto consume_Windows_UI_Xaml_Media_IMatrixTransformStatics::MatrixProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrixTransformStatics)->get_MatrixProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IMediaTransportControlsThumbnailRequestedEventArgs::SetThumbnailImage(winrt::Windows::Storage::Streams::IInputStream const& source) const + template auto consume_Windows_UI_Xaml_Media_IMediaTransportControlsThumbnailRequestedEventArgs::SetThumbnailImage(winrt::Windows::Storage::Streams::IInputStream const& source) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMediaTransportControlsThumbnailRequestedEventArgs)->SetThumbnailImage(*(void**)(&source))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Xaml_Media_IMediaTransportControlsThumbnailRequestedEventArgs::GetDeferral() const + template auto consume_Windows_UI_Xaml_Media_IMediaTransportControlsThumbnailRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMediaTransportControlsThumbnailRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::FailedMediaStreamKind) consume_Windows_UI_Xaml_Media_IPartialMediaFailureDetectedEventArgs::StreamKind() const + template auto consume_Windows_UI_Xaml_Media_IPartialMediaFailureDetectedEventArgs::StreamKind() const { winrt::Windows::Media::Playback::FailedMediaStreamKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPartialMediaFailureDetectedEventArgs)->get_StreamKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_UI_Xaml_Media_IPartialMediaFailureDetectedEventArgs2::ExtendedError() const + template auto consume_Windows_UI_Xaml_Media_IPartialMediaFailureDetectedEventArgs2::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPartialMediaFailureDetectedEventArgs2)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PathSegmentCollection) consume_Windows_UI_Xaml_Media_IPathFigure::Segments() const + template auto consume_Windows_UI_Xaml_Media_IPathFigure::Segments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->get_Segments(&value)); return winrt::Windows::UI::Xaml::Media::PathSegmentCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPathFigure::Segments(winrt::Windows::UI::Xaml::Media::PathSegmentCollection const& value) const + template auto consume_Windows_UI_Xaml_Media_IPathFigure::Segments(winrt::Windows::UI::Xaml::Media::PathSegmentCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->put_Segments(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IPathFigure::StartPoint() const + template auto consume_Windows_UI_Xaml_Media_IPathFigure::StartPoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->get_StartPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPathFigure::StartPoint(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Media_IPathFigure::StartPoint(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->put_StartPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_IPathFigure::IsClosed() const + template auto consume_Windows_UI_Xaml_Media_IPathFigure::IsClosed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->get_IsClosed(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPathFigure::IsClosed(bool value) const + template auto consume_Windows_UI_Xaml_Media_IPathFigure::IsClosed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->put_IsClosed(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_IPathFigure::IsFilled() const + template auto consume_Windows_UI_Xaml_Media_IPathFigure::IsFilled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->get_IsFilled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPathFigure::IsFilled(bool value) const + template auto consume_Windows_UI_Xaml_Media_IPathFigure::IsFilled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->put_IsFilled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPathFigureStatics::SegmentsProperty() const + template auto consume_Windows_UI_Xaml_Media_IPathFigureStatics::SegmentsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigureStatics)->get_SegmentsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPathFigureStatics::StartPointProperty() const + template auto consume_Windows_UI_Xaml_Media_IPathFigureStatics::StartPointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigureStatics)->get_StartPointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPathFigureStatics::IsClosedProperty() const + template auto consume_Windows_UI_Xaml_Media_IPathFigureStatics::IsClosedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigureStatics)->get_IsClosedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPathFigureStatics::IsFilledProperty() const + template auto consume_Windows_UI_Xaml_Media_IPathFigureStatics::IsFilledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigureStatics)->get_IsFilledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FillRule) consume_Windows_UI_Xaml_Media_IPathGeometry::FillRule() const + template auto consume_Windows_UI_Xaml_Media_IPathGeometry::FillRule() const { winrt::Windows::UI::Xaml::Media::FillRule value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathGeometry)->get_FillRule(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPathGeometry::FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const + template auto consume_Windows_UI_Xaml_Media_IPathGeometry::FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathGeometry)->put_FillRule(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PathFigureCollection) consume_Windows_UI_Xaml_Media_IPathGeometry::Figures() const + template auto consume_Windows_UI_Xaml_Media_IPathGeometry::Figures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathGeometry)->get_Figures(&value)); return winrt::Windows::UI::Xaml::Media::PathFigureCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPathGeometry::Figures(winrt::Windows::UI::Xaml::Media::PathFigureCollection const& value) const + template auto consume_Windows_UI_Xaml_Media_IPathGeometry::Figures(winrt::Windows::UI::Xaml::Media::PathFigureCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathGeometry)->put_Figures(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPathGeometryStatics::FillRuleProperty() const + template auto consume_Windows_UI_Xaml_Media_IPathGeometryStatics::FillRuleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathGeometryStatics)->get_FillRuleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPathGeometryStatics::FiguresProperty() const + template auto consume_Windows_UI_Xaml_Media_IPathGeometryStatics::FiguresProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathGeometryStatics)->get_FiguresProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetX() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_LocalOffsetX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetX(double value) const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_LocalOffsetX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetY() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_LocalOffsetY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetY(double value) const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_LocalOffsetY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetZ() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetZ() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_LocalOffsetZ(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetZ(double value) const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetZ(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_LocalOffsetZ(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationX() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_RotationX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationX(double value) const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_RotationX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationY() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_RotationY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationY(double value) const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_RotationY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationZ() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationZ() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_RotationZ(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationZ(double value) const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationZ(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_RotationZ(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationX() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_CenterOfRotationX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationX(double value) const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_CenterOfRotationX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationY() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_CenterOfRotationY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationY(double value) const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_CenterOfRotationY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationZ() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationZ() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_CenterOfRotationZ(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationZ(double value) const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationZ(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_CenterOfRotationZ(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetX() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_GlobalOffsetX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetX(double value) const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_GlobalOffsetX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetY() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_GlobalOffsetY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetY(double value) const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_GlobalOffsetY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetZ() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetZ() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_GlobalOffsetZ(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetZ(double value) const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetZ(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_GlobalOffsetZ(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) consume_Windows_UI_Xaml_Media_IPlaneProjection::ProjectionMatrix() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::ProjectionMatrix() const { winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_ProjectionMatrix(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::LocalOffsetXProperty() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::LocalOffsetXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_LocalOffsetXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::LocalOffsetYProperty() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::LocalOffsetYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_LocalOffsetYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::LocalOffsetZProperty() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::LocalOffsetZProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_LocalOffsetZProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::RotationXProperty() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::RotationXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_RotationXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::RotationYProperty() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::RotationYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_RotationYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::RotationZProperty() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::RotationZProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_RotationZProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::CenterOfRotationXProperty() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::CenterOfRotationXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_CenterOfRotationXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::CenterOfRotationYProperty() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::CenterOfRotationYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_CenterOfRotationYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::CenterOfRotationZProperty() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::CenterOfRotationZProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_CenterOfRotationZProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::GlobalOffsetXProperty() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::GlobalOffsetXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_GlobalOffsetXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::GlobalOffsetYProperty() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::GlobalOffsetYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_GlobalOffsetYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::GlobalOffsetZProperty() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::GlobalOffsetZProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_GlobalOffsetZProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::ProjectionMatrixProperty() const + template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::ProjectionMatrixProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_ProjectionMatrixProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PointCollection) consume_Windows_UI_Xaml_Media_IPolyBezierSegment::Points() const + template auto consume_Windows_UI_Xaml_Media_IPolyBezierSegment::Points() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyBezierSegment)->get_Points(&value)); return winrt::Windows::UI::Xaml::Media::PointCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPolyBezierSegment::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const + template auto consume_Windows_UI_Xaml_Media_IPolyBezierSegment::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyBezierSegment)->put_Points(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPolyBezierSegmentStatics::PointsProperty() const + template auto consume_Windows_UI_Xaml_Media_IPolyBezierSegmentStatics::PointsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyBezierSegmentStatics)->get_PointsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PointCollection) consume_Windows_UI_Xaml_Media_IPolyLineSegment::Points() const + template auto consume_Windows_UI_Xaml_Media_IPolyLineSegment::Points() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyLineSegment)->get_Points(&value)); return winrt::Windows::UI::Xaml::Media::PointCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPolyLineSegment::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const + template auto consume_Windows_UI_Xaml_Media_IPolyLineSegment::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyLineSegment)->put_Points(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPolyLineSegmentStatics::PointsProperty() const + template auto consume_Windows_UI_Xaml_Media_IPolyLineSegmentStatics::PointsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyLineSegmentStatics)->get_PointsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PointCollection) consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegment::Points() const + template auto consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegment::Points() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyQuadraticBezierSegment)->get_Points(&value)); return winrt::Windows::UI::Xaml::Media::PointCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegment::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const + template auto consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegment::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyQuadraticBezierSegment)->put_Points(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegmentStatics::PointsProperty() const + template auto consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegmentStatics::PointsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyQuadraticBezierSegmentStatics)->get_PointsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Projection) consume_Windows_UI_Xaml_Media_IProjectionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_IProjectionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IProjectionFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Projection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment::Point1() const + template auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment::Point1() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IQuadraticBezierSegment)->get_Point1(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment::Point1(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment::Point1(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IQuadraticBezierSegment)->put_Point1(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment::Point2() const + template auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment::Point2() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IQuadraticBezierSegment)->get_Point2(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment::Point2(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment::Point2(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IQuadraticBezierSegment)->put_Point2(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IQuadraticBezierSegmentStatics::Point1Property() const + template auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegmentStatics::Point1Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IQuadraticBezierSegmentStatics)->get_Point1Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IQuadraticBezierSegmentStatics::Point2Property() const + template auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegmentStatics::Point2Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IQuadraticBezierSegmentStatics)->get_Point2Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Media_IRectangleGeometry::Rect() const + template auto consume_Windows_UI_Xaml_Media_IRectangleGeometry::Rect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRectangleGeometry)->get_Rect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IRectangleGeometry::Rect(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_UI_Xaml_Media_IRectangleGeometry::Rect(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRectangleGeometry)->put_Rect(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IRectangleGeometryStatics::RectProperty() const + template auto consume_Windows_UI_Xaml_Media_IRectangleGeometryStatics::RectProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRectangleGeometryStatics)->get_RectProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Media_IRenderedEventArgs::FrameDuration() const + template auto consume_Windows_UI_Xaml_Media_IRenderedEventArgs::FrameDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRenderedEventArgs)->get_FrameDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Media_IRenderingEventArgs::RenderingTime() const + template auto consume_Windows_UI_Xaml_Media_IRenderingEventArgs::RenderingTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRenderingEventArgs)->get_RenderingTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::RevealBackgroundBrush) consume_Windows_UI_Xaml_Media_IRevealBackgroundBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_IRevealBackgroundBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBackgroundBrushFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::RevealBackgroundBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::RevealBorderBrush) consume_Windows_UI_Xaml_Media_IRevealBorderBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_IRevealBorderBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBorderBrushFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::RevealBorderBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Media_IRevealBrush::Color() const + template auto consume_Windows_UI_Xaml_Media_IRevealBrush::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrush)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IRevealBrush::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Xaml_Media_IRevealBrush::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrush)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ApplicationTheme) consume_Windows_UI_Xaml_Media_IRevealBrush::TargetTheme() const + template auto consume_Windows_UI_Xaml_Media_IRevealBrush::TargetTheme() const { winrt::Windows::UI::Xaml::ApplicationTheme value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrush)->get_TargetTheme(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IRevealBrush::TargetTheme(winrt::Windows::UI::Xaml::ApplicationTheme const& value) const + template auto consume_Windows_UI_Xaml_Media_IRevealBrush::TargetTheme(winrt::Windows::UI::Xaml::ApplicationTheme const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrush)->put_TargetTheme(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_IRevealBrush::AlwaysUseFallback() const + template auto consume_Windows_UI_Xaml_Media_IRevealBrush::AlwaysUseFallback() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrush)->get_AlwaysUseFallback(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IRevealBrush::AlwaysUseFallback(bool value) const + template auto consume_Windows_UI_Xaml_Media_IRevealBrush::AlwaysUseFallback(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrush)->put_AlwaysUseFallback(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::RevealBrush) consume_Windows_UI_Xaml_Media_IRevealBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_IRevealBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrushFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::RevealBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IRevealBrushStatics::ColorProperty() const + template auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics::ColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrushStatics)->get_ColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IRevealBrushStatics::TargetThemeProperty() const + template auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics::TargetThemeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrushStatics)->get_TargetThemeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IRevealBrushStatics::AlwaysUseFallbackProperty() const + template auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics::AlwaysUseFallbackProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrushStatics)->get_AlwaysUseFallbackProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IRevealBrushStatics::StateProperty() const + template auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics::StateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrushStatics)->get_StateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IRevealBrushStatics::SetState(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Xaml::Media::RevealBrushState const& value) const + template auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics::SetState(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Xaml::Media::RevealBrushState const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrushStatics)->SetState(*(void**)(&element), static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::RevealBrushState) consume_Windows_UI_Xaml_Media_IRevealBrushStatics::GetState(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics::GetState(winrt::Windows::UI::Xaml::UIElement const& element) const { winrt::Windows::UI::Xaml::Media::RevealBrushState result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrushStatics)->GetState(*(void**)(&element), reinterpret_cast(&result))); return result; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IRotateTransform::CenterX() const + template auto consume_Windows_UI_Xaml_Media_IRotateTransform::CenterX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->get_CenterX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IRotateTransform::CenterX(double value) const + template auto consume_Windows_UI_Xaml_Media_IRotateTransform::CenterX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->put_CenterX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IRotateTransform::CenterY() const + template auto consume_Windows_UI_Xaml_Media_IRotateTransform::CenterY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->get_CenterY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IRotateTransform::CenterY(double value) const + template auto consume_Windows_UI_Xaml_Media_IRotateTransform::CenterY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->put_CenterY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IRotateTransform::Angle() const + template auto consume_Windows_UI_Xaml_Media_IRotateTransform::Angle() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->get_Angle(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IRotateTransform::Angle(double value) const + template auto consume_Windows_UI_Xaml_Media_IRotateTransform::Angle(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->put_Angle(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IRotateTransformStatics::CenterXProperty() const + template auto consume_Windows_UI_Xaml_Media_IRotateTransformStatics::CenterXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransformStatics)->get_CenterXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IRotateTransformStatics::CenterYProperty() const + template auto consume_Windows_UI_Xaml_Media_IRotateTransformStatics::CenterYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransformStatics)->get_CenterYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IRotateTransformStatics::AngleProperty() const + template auto consume_Windows_UI_Xaml_Media_IRotateTransformStatics::AngleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransformStatics)->get_AngleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IScaleTransform::CenterX() const + template auto consume_Windows_UI_Xaml_Media_IScaleTransform::CenterX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->get_CenterX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IScaleTransform::CenterX(double value) const + template auto consume_Windows_UI_Xaml_Media_IScaleTransform::CenterX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->put_CenterX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IScaleTransform::CenterY() const + template auto consume_Windows_UI_Xaml_Media_IScaleTransform::CenterY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->get_CenterY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IScaleTransform::CenterY(double value) const + template auto consume_Windows_UI_Xaml_Media_IScaleTransform::CenterY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->put_CenterY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IScaleTransform::ScaleX() const + template auto consume_Windows_UI_Xaml_Media_IScaleTransform::ScaleX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->get_ScaleX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IScaleTransform::ScaleX(double value) const + template auto consume_Windows_UI_Xaml_Media_IScaleTransform::ScaleX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->put_ScaleX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IScaleTransform::ScaleY() const + template auto consume_Windows_UI_Xaml_Media_IScaleTransform::ScaleY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->get_ScaleY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IScaleTransform::ScaleY(double value) const + template auto consume_Windows_UI_Xaml_Media_IScaleTransform::ScaleY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->put_ScaleY(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IScaleTransformStatics::CenterXProperty() const + template auto consume_Windows_UI_Xaml_Media_IScaleTransformStatics::CenterXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransformStatics)->get_CenterXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IScaleTransformStatics::CenterYProperty() const + template auto consume_Windows_UI_Xaml_Media_IScaleTransformStatics::CenterYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransformStatics)->get_CenterYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IScaleTransformStatics::ScaleXProperty() const + template auto consume_Windows_UI_Xaml_Media_IScaleTransformStatics::ScaleXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransformStatics)->get_ScaleXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IScaleTransformStatics::ScaleYProperty() const + template auto consume_Windows_UI_Xaml_Media_IScaleTransformStatics::ScaleYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransformStatics)->get_ScaleYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ISkewTransform::CenterX() const + template auto consume_Windows_UI_Xaml_Media_ISkewTransform::CenterX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->get_CenterX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ISkewTransform::CenterX(double value) const + template auto consume_Windows_UI_Xaml_Media_ISkewTransform::CenterX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->put_CenterX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ISkewTransform::CenterY() const + template auto consume_Windows_UI_Xaml_Media_ISkewTransform::CenterY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->get_CenterY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ISkewTransform::CenterY(double value) const + template auto consume_Windows_UI_Xaml_Media_ISkewTransform::CenterY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->put_CenterY(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ISkewTransform::AngleX() const + template auto consume_Windows_UI_Xaml_Media_ISkewTransform::AngleX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->get_AngleX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ISkewTransform::AngleX(double value) const + template auto consume_Windows_UI_Xaml_Media_ISkewTransform::AngleX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->put_AngleX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ISkewTransform::AngleY() const + template auto consume_Windows_UI_Xaml_Media_ISkewTransform::AngleY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->get_AngleY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ISkewTransform::AngleY(double value) const + template auto consume_Windows_UI_Xaml_Media_ISkewTransform::AngleY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->put_AngleY(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ISkewTransformStatics::CenterXProperty() const + template auto consume_Windows_UI_Xaml_Media_ISkewTransformStatics::CenterXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransformStatics)->get_CenterXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ISkewTransformStatics::CenterYProperty() const + template auto consume_Windows_UI_Xaml_Media_ISkewTransformStatics::CenterYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransformStatics)->get_CenterYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ISkewTransformStatics::AngleXProperty() const + template auto consume_Windows_UI_Xaml_Media_ISkewTransformStatics::AngleXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransformStatics)->get_AngleXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ISkewTransformStatics::AngleYProperty() const + template auto consume_Windows_UI_Xaml_Media_ISkewTransformStatics::AngleYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransformStatics)->get_AngleYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Media_ISolidColorBrush::Color() const + template auto consume_Windows_UI_Xaml_Media_ISolidColorBrush::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISolidColorBrush)->get_Color(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ISolidColorBrush::Color(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Xaml_Media_ISolidColorBrush::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISolidColorBrush)->put_Color(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Media_ISolidColorBrushFactory::CreateInstanceWithColor(winrt::Windows::UI::Color const& color) const + template auto consume_Windows_UI_Xaml_Media_ISolidColorBrushFactory::CreateInstanceWithColor(winrt::Windows::UI::Color const& color) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISolidColorBrushFactory)->CreateInstanceWithColor(impl::bind_in(color), &value)); return winrt::Windows::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ISolidColorBrushStatics::ColorProperty() const + template auto consume_Windows_UI_Xaml_Media_ISolidColorBrushStatics::ColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISolidColorBrushStatics)->get_ColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElementWeakCollection) consume_Windows_UI_Xaml_Media_IThemeShadow::Receivers() const + template auto consume_Windows_UI_Xaml_Media_IThemeShadow::Receivers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IThemeShadow)->get_Receivers(&value)); return winrt::Windows::UI::Xaml::UIElementWeakCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ThemeShadow) consume_Windows_UI_Xaml_Media_IThemeShadowFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_IThemeShadowFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IThemeShadowFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::ThemeShadow{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AlignmentX) consume_Windows_UI_Xaml_Media_ITileBrush::AlignmentX() const + template auto consume_Windows_UI_Xaml_Media_ITileBrush::AlignmentX() const { winrt::Windows::UI::Xaml::Media::AlignmentX value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrush)->get_AlignmentX(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITileBrush::AlignmentX(winrt::Windows::UI::Xaml::Media::AlignmentX const& value) const + template auto consume_Windows_UI_Xaml_Media_ITileBrush::AlignmentX(winrt::Windows::UI::Xaml::Media::AlignmentX const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrush)->put_AlignmentX(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AlignmentY) consume_Windows_UI_Xaml_Media_ITileBrush::AlignmentY() const + template auto consume_Windows_UI_Xaml_Media_ITileBrush::AlignmentY() const { winrt::Windows::UI::Xaml::Media::AlignmentY value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrush)->get_AlignmentY(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITileBrush::AlignmentY(winrt::Windows::UI::Xaml::Media::AlignmentY const& value) const + template auto consume_Windows_UI_Xaml_Media_ITileBrush::AlignmentY(winrt::Windows::UI::Xaml::Media::AlignmentY const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrush)->put_AlignmentY(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) consume_Windows_UI_Xaml_Media_ITileBrush::Stretch() const + template auto consume_Windows_UI_Xaml_Media_ITileBrush::Stretch() const { winrt::Windows::UI::Xaml::Media::Stretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrush)->get_Stretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITileBrush::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const + template auto consume_Windows_UI_Xaml_Media_ITileBrush::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrush)->put_Stretch(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::TileBrush) consume_Windows_UI_Xaml_Media_ITileBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_ITileBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrushFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::TileBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITileBrushStatics::AlignmentXProperty() const + template auto consume_Windows_UI_Xaml_Media_ITileBrushStatics::AlignmentXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrushStatics)->get_AlignmentXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITileBrushStatics::AlignmentYProperty() const + template auto consume_Windows_UI_Xaml_Media_ITileBrushStatics::AlignmentYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrushStatics)->get_AlignmentYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITileBrushStatics::StretchProperty() const + template auto consume_Windows_UI_Xaml_Media_ITileBrushStatics::StretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrushStatics)->get_StretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Media_ITimelineMarker::Time() const + template auto consume_Windows_UI_Xaml_Media_ITimelineMarker::Time() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarker)->get_Time(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITimelineMarker::Time(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Xaml_Media_ITimelineMarker::Time(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarker)->put_Time(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_ITimelineMarker::Type() const + template auto consume_Windows_UI_Xaml_Media_ITimelineMarker::Type() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarker)->get_Type(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITimelineMarker::Type(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_ITimelineMarker::Type(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarker)->put_Type(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_ITimelineMarker::Text() const + template auto consume_Windows_UI_Xaml_Media_ITimelineMarker::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarker)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITimelineMarker::Text(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_Media_ITimelineMarker::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarker)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::TimelineMarker) consume_Windows_UI_Xaml_Media_ITimelineMarkerRoutedEventArgs::Marker() const + template auto consume_Windows_UI_Xaml_Media_ITimelineMarkerRoutedEventArgs::Marker() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarkerRoutedEventArgs)->get_Marker(&value)); return winrt::Windows::UI::Xaml::Media::TimelineMarker{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITimelineMarkerRoutedEventArgs::Marker(winrt::Windows::UI::Xaml::Media::TimelineMarker const& value) const + template auto consume_Windows_UI_Xaml_Media_ITimelineMarkerRoutedEventArgs::Marker(winrt::Windows::UI::Xaml::Media::TimelineMarker const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarkerRoutedEventArgs)->put_Marker(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITimelineMarkerStatics::TimeProperty() const + template auto consume_Windows_UI_Xaml_Media_ITimelineMarkerStatics::TimeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarkerStatics)->get_TimeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITimelineMarkerStatics::TypeProperty() const + template auto consume_Windows_UI_Xaml_Media_ITimelineMarkerStatics::TypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarkerStatics)->get_TypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITimelineMarkerStatics::TextProperty() const + template auto consume_Windows_UI_Xaml_Media_ITimelineMarkerStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarkerStatics)->get_TextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::TransformCollection) consume_Windows_UI_Xaml_Media_ITransformGroup::Children() const + template auto consume_Windows_UI_Xaml_Media_ITransformGroup::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITransformGroup)->get_Children(&value)); return winrt::Windows::UI::Xaml::Media::TransformCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITransformGroup::Children(winrt::Windows::UI::Xaml::Media::TransformCollection const& value) const + template auto consume_Windows_UI_Xaml_Media_ITransformGroup::Children(winrt::Windows::UI::Xaml::Media::TransformCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITransformGroup)->put_Children(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Matrix) consume_Windows_UI_Xaml_Media_ITransformGroup::Value() const + template auto consume_Windows_UI_Xaml_Media_ITransformGroup::Value() const { winrt::Windows::UI::Xaml::Media::Matrix value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITransformGroup)->get_Value(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITransformGroupStatics::ChildrenProperty() const + template auto consume_Windows_UI_Xaml_Media_ITransformGroupStatics::ChildrenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITransformGroupStatics)->get_ChildrenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ITranslateTransform::X() const + template auto consume_Windows_UI_Xaml_Media_ITranslateTransform::X() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITranslateTransform)->get_X(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITranslateTransform::X(double value) const + template auto consume_Windows_UI_Xaml_Media_ITranslateTransform::X(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITranslateTransform)->put_X(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ITranslateTransform::Y() const + template auto consume_Windows_UI_Xaml_Media_ITranslateTransform::Y() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITranslateTransform)->get_Y(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITranslateTransform::Y(double value) const + template auto consume_Windows_UI_Xaml_Media_ITranslateTransform::Y(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITranslateTransform)->put_Y(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITranslateTransformStatics::XProperty() const + template auto consume_Windows_UI_Xaml_Media_ITranslateTransformStatics::XProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITranslateTransformStatics)->get_XProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITranslateTransformStatics::YProperty() const + template auto consume_Windows_UI_Xaml_Media_ITranslateTransformStatics::YProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITranslateTransformStatics)->get_YProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::FindElementsInHostCoordinates(winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Windows::UI::Xaml::UIElement const& subtree) const + template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::FindElementsInHostCoordinates(winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Windows::UI::Xaml::UIElement const& subtree) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->FindElementsInHostCoordinatesPoint(impl::bind_in(intersectingPoint), *(void**)(&subtree), &result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::FindElementsInHostCoordinates(winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Windows::UI::Xaml::UIElement const& subtree) const + template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::FindElementsInHostCoordinates(winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Windows::UI::Xaml::UIElement const& subtree) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->FindElementsInHostCoordinatesRect(impl::bind_in(intersectingRect), *(void**)(&subtree), &result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::FindElementsInHostCoordinates(winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Windows::UI::Xaml::UIElement const& subtree, bool includeAllElements) const + template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::FindElementsInHostCoordinates(winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Windows::UI::Xaml::UIElement const& subtree, bool includeAllElements) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->FindAllElementsInHostCoordinatesPoint(impl::bind_in(intersectingPoint), *(void**)(&subtree), includeAllElements, &result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::FindElementsInHostCoordinates(winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Windows::UI::Xaml::UIElement const& subtree, bool includeAllElements) const + template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::FindElementsInHostCoordinates(winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Windows::UI::Xaml::UIElement const& subtree, bool includeAllElements) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->FindAllElementsInHostCoordinatesRect(impl::bind_in(intersectingRect), *(void**)(&subtree), includeAllElements, &result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::GetChild(winrt::Windows::UI::Xaml::DependencyObject const& reference, int32_t childIndex) const + template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::GetChild(winrt::Windows::UI::Xaml::DependencyObject const& reference, int32_t childIndex) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->GetChild(*(void**)(&reference), childIndex, &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::GetChildrenCount(winrt::Windows::UI::Xaml::DependencyObject const& reference) const + template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::GetChildrenCount(winrt::Windows::UI::Xaml::DependencyObject const& reference) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->GetChildrenCount(*(void**)(&reference), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::GetParent(winrt::Windows::UI::Xaml::DependencyObject const& reference) const + template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::GetParent(winrt::Windows::UI::Xaml::DependencyObject const& reference) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->GetParent(*(void**)(&reference), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::DisconnectChildrenRecursive(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::DisconnectChildrenRecursive(winrt::Windows::UI::Xaml::UIElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->DisconnectChildrenRecursive(*(void**)(&element))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics2::GetOpenPopups(winrt::Windows::UI::Xaml::Window const& window) const + template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics2::GetOpenPopups(winrt::Windows::UI::Xaml::Window const& window) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics2)->GetOpenPopups(*(void**)(&window), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics3::GetOpenPopupsForXamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot) const + template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics3::GetOpenPopupsForXamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics3)->GetOpenPopupsForXamlRoot(*(void**)(&xamlRoot), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBase::FallbackColor() const + template auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBase::FallbackColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBase)->get_FallbackColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBase::FallbackColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBase::FallbackColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBase)->put_FallbackColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::XamlCompositionBrushBase) consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::XamlCompositionBrushBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseOverrides::OnConnected() const + template auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseOverrides::OnConnected() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseOverrides)->OnConnected()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseOverrides::OnDisconnected() const + template auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseOverrides::OnDisconnected() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseOverrides)->OnDisconnected()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseProtected::CompositionBrush() const + template auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseProtected::CompositionBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseProtected)->get_CompositionBrush(&value)); return winrt::Windows::UI::Composition::CompositionBrush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseProtected::CompositionBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const + template auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseProtected::CompositionBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseProtected)->put_CompositionBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseStatics::FallbackColorProperty() const + template auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseStatics::FallbackColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseStatics)->get_FallbackColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::XamlLight) consume_Windows_UI_Xaml_Media_IXamlLightFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Media_IXamlLightFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::XamlLight{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_IXamlLightOverrides::GetId() const + template auto consume_Windows_UI_Xaml_Media_IXamlLightOverrides::GetId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightOverrides)->GetId(&result)); return hstring{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlLightOverrides::OnConnected(winrt::Windows::UI::Xaml::UIElement const& newElement) const + template auto consume_Windows_UI_Xaml_Media_IXamlLightOverrides::OnConnected(winrt::Windows::UI::Xaml::UIElement const& newElement) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightOverrides)->OnConnected(*(void**)(&newElement))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlLightOverrides::OnDisconnected(winrt::Windows::UI::Xaml::UIElement const& oldElement) const + template auto consume_Windows_UI_Xaml_Media_IXamlLightOverrides::OnDisconnected(winrt::Windows::UI::Xaml::UIElement const& oldElement) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightOverrides)->OnDisconnected(*(void**)(&oldElement))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionLight) consume_Windows_UI_Xaml_Media_IXamlLightProtected::CompositionLight() const + template auto consume_Windows_UI_Xaml_Media_IXamlLightProtected::CompositionLight() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightProtected)->get_CompositionLight(&value)); return winrt::Windows::UI::Composition::CompositionLight{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlLightProtected::CompositionLight(winrt::Windows::UI::Composition::CompositionLight const& value) const + template auto consume_Windows_UI_Xaml_Media_IXamlLightProtected::CompositionLight(winrt::Windows::UI::Composition::CompositionLight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightProtected)->put_CompositionLight(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlLightStatics::AddTargetElement(param::hstring const& lightId, winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Media_IXamlLightStatics::AddTargetElement(param::hstring const& lightId, winrt::Windows::UI::Xaml::UIElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightStatics)->AddTargetElement(*(void**)(&lightId), *(void**)(&element))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlLightStatics::RemoveTargetElement(param::hstring const& lightId, winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_Media_IXamlLightStatics::RemoveTargetElement(param::hstring const& lightId, winrt::Windows::UI::Xaml::UIElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightStatics)->RemoveTargetElement(*(void**)(&lightId), *(void**)(&element))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlLightStatics::AddTargetBrush(param::hstring const& lightId, winrt::Windows::UI::Xaml::Media::Brush const& brush) const + template auto consume_Windows_UI_Xaml_Media_IXamlLightStatics::AddTargetBrush(param::hstring const& lightId, winrt::Windows::UI::Xaml::Media::Brush const& brush) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightStatics)->AddTargetBrush(*(void**)(&lightId), *(void**)(&brush))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlLightStatics::RemoveTargetBrush(param::hstring const& lightId, winrt::Windows::UI::Xaml::Media::Brush const& brush) const + template auto consume_Windows_UI_Xaml_Media_IXamlLightStatics::RemoveTargetBrush(param::hstring const& lightId, winrt::Windows::UI::Xaml::Media::Brush const& brush) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightStatics)->RemoveTargetBrush(*(void**)(&lightId), *(void**)(&brush))); } @@ -5970,10 +5970,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media { return impl::call_factory([&](ICompositionTargetStatics const& f) { return f.Rendering(handler); }); } - inline CompositionTarget::Rendering_revoker CompositionTarget::Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto CompositionTarget::Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.Rendering(handler) }; + return CompositionTarget::Rendering_revoker{ f, f.Rendering(handler) }; } inline auto CompositionTarget::Rendering(winrt::event_token const& token) { @@ -5983,10 +5983,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media { return impl::call_factory([&](ICompositionTargetStatics const& f) { return f.SurfaceContentsLost(handler); }); } - inline CompositionTarget::SurfaceContentsLost_revoker CompositionTarget::SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto CompositionTarget::SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.SurfaceContentsLost(handler) }; + return CompositionTarget::SurfaceContentsLost_revoker{ f, f.SurfaceContentsLost(handler) }; } inline auto CompositionTarget::SurfaceContentsLost(winrt::event_token const& token) { @@ -5996,10 +5996,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media { return impl::call_factory([&](ICompositionTargetStatics3 const& f) { return f.Rendered(handler); }); } - inline CompositionTarget::Rendered_revoker CompositionTarget::Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) + inline auto CompositionTarget::Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); - return { f, f.Rendered(handler) }; + return CompositionTarget::Rendered_revoker{ f, f.Rendered(handler) }; } inline auto CompositionTarget::Rendered(winrt::event_token const& token) { @@ -6618,39 +6618,39 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } - template WINRT_IMPL_AUTO(void) IBrushOverrides2T::PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const + template auto IBrushOverrides2T::PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const { return shim().template try_as().PopulatePropertyInfoOverride(propertyName, animationPropertyInfo); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeneralTransform) IGeneralTransformOverridesT::InverseCore() const + template auto IGeneralTransformOverridesT::InverseCore() const { return shim().template try_as().InverseCore(); } - template WINRT_IMPL_AUTO(bool) IGeneralTransformOverridesT::TryTransformCore(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const + template auto IGeneralTransformOverridesT::TryTransformCore(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const { return shim().template try_as().TryTransformCore(inPoint, outPoint); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) IGeneralTransformOverridesT::TransformBoundsCore(winrt::Windows::Foundation::Rect const& rect) const + template auto IGeneralTransformOverridesT::TransformBoundsCore(winrt::Windows::Foundation::Rect const& rect) const { return shim().template try_as().TransformBoundsCore(rect); } - template WINRT_IMPL_AUTO(void) IXamlCompositionBrushBaseOverridesT::OnConnected() const + template auto IXamlCompositionBrushBaseOverridesT::OnConnected() const { return shim().template try_as().OnConnected(); } - template WINRT_IMPL_AUTO(void) IXamlCompositionBrushBaseOverridesT::OnDisconnected() const + template auto IXamlCompositionBrushBaseOverridesT::OnDisconnected() const { return shim().template try_as().OnDisconnected(); } - template WINRT_IMPL_AUTO(hstring) IXamlLightOverridesT::GetId() const + template auto IXamlLightOverridesT::GetId() const { return shim().template try_as().GetId(); } - template WINRT_IMPL_AUTO(void) IXamlLightOverridesT::OnConnected(winrt::Windows::UI::Xaml::UIElement const& newElement) const + template auto IXamlLightOverridesT::OnConnected(winrt::Windows::UI::Xaml::UIElement const& newElement) const { return shim().template try_as().OnConnected(newElement); } - template WINRT_IMPL_AUTO(void) IXamlLightOverridesT::OnDisconnected(winrt::Windows::UI::Xaml::UIElement const& oldElement) const + template auto IXamlLightOverridesT::OnDisconnected(winrt::Windows::UI::Xaml::UIElement const& oldElement) const { return shim().template try_as().OnDisconnected(oldElement); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Navigation.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Navigation.h index 89561e03..00c05ec1 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Navigation.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Navigation.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Navigation_H #define WINRT_Windows_UI_Xaml_Navigation_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.UI.Xaml.2.h" @@ -14,153 +14,153 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Navigation.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions::IsNavigationStackEnabled() const + template auto consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions::IsNavigationStackEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::IFrameNavigationOptions)->get_IsNavigationStackEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions::IsNavigationStackEnabled(bool value) const + template auto consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions::IsNavigationStackEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::IFrameNavigationOptions)->put_IsNavigationStackEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions::TransitionInfoOverride() const + template auto consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions::TransitionInfoOverride() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::IFrameNavigationOptions)->get_TransitionInfoOverride(&value)); return winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions::TransitionInfoOverride(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& value) const + template auto consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions::TransitionInfoOverride(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::IFrameNavigationOptions)->put_TransitionInfoOverride(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Navigation::FrameNavigationOptions) consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptionsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptionsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::IFrameNavigationOptionsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Navigation::FrameNavigationOptions{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigatingCancelEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigatingCancelEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Navigation::NavigationMode) consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs::NavigationMode() const + template auto consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs::NavigationMode() const { winrt::Windows::UI::Xaml::Navigation::NavigationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigatingCancelEventArgs)->get_NavigationMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs::SourcePageType() const + template auto consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs::SourcePageType() const { winrt::Windows::UI::Xaml::Interop::TypeName value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigatingCancelEventArgs)->get_SourcePageType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs2::Parameter() const + template auto consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs2::Parameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigatingCancelEventArgs2)->get_Parameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs2::NavigationTransitionInfo() const + template auto consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs2::NavigationTransitionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigatingCancelEventArgs2)->get_NavigationTransitionInfo(&value)); return winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Navigation_INavigationEventArgs::Content() const + template auto consume_Windows_UI_Xaml_Navigation_INavigationEventArgs::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigationEventArgs)->get_Content(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Navigation_INavigationEventArgs::Parameter() const + template auto consume_Windows_UI_Xaml_Navigation_INavigationEventArgs::Parameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigationEventArgs)->get_Parameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Navigation_INavigationEventArgs::SourcePageType() const + template auto consume_Windows_UI_Xaml_Navigation_INavigationEventArgs::SourcePageType() const { winrt::Windows::UI::Xaml::Interop::TypeName value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigationEventArgs)->get_SourcePageType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Navigation::NavigationMode) consume_Windows_UI_Xaml_Navigation_INavigationEventArgs::NavigationMode() const + template auto consume_Windows_UI_Xaml_Navigation_INavigationEventArgs::NavigationMode() const { winrt::Windows::UI::Xaml::Navigation::NavigationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigationEventArgs)->get_NavigationMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Navigation_INavigationEventArgs::Uri() const + template auto consume_Windows_UI_Xaml_Navigation_INavigationEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigationEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Navigation_INavigationEventArgs::Uri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Xaml_Navigation_INavigationEventArgs::Uri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigationEventArgs)->put_Uri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) consume_Windows_UI_Xaml_Navigation_INavigationEventArgs2::NavigationTransitionInfo() const + template auto consume_Windows_UI_Xaml_Navigation_INavigationEventArgs2::NavigationTransitionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigationEventArgs2)->get_NavigationTransitionInfo(&value)); return winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs::Exception() const + template auto consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs::Exception() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigationFailedEventArgs)->get_Exception(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigationFailedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigationFailedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs::SourcePageType() const + template auto consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs::SourcePageType() const { winrt::Windows::UI::Xaml::Interop::TypeName value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigationFailedEventArgs)->get_SourcePageType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Navigation_IPageStackEntry::SourcePageType() const + template auto consume_Windows_UI_Xaml_Navigation_IPageStackEntry::SourcePageType() const { winrt::Windows::UI::Xaml::Interop::TypeName value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::IPageStackEntry)->get_SourcePageType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Navigation_IPageStackEntry::Parameter() const + template auto consume_Windows_UI_Xaml_Navigation_IPageStackEntry::Parameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::IPageStackEntry)->get_Parameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) consume_Windows_UI_Xaml_Navigation_IPageStackEntry::NavigationTransitionInfo() const + template auto consume_Windows_UI_Xaml_Navigation_IPageStackEntry::NavigationTransitionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::IPageStackEntry)->get_NavigationTransitionInfo(&value)); return winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Navigation::PageStackEntry) consume_Windows_UI_Xaml_Navigation_IPageStackEntryFactory::CreateInstance(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter, winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& navigationTransitionInfo) const + template auto consume_Windows_UI_Xaml_Navigation_IPageStackEntryFactory::CreateInstance(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter, winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& navigationTransitionInfo) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::IPageStackEntryFactory)->CreateInstance(impl::bind_in(sourcePageType), *(void**)(¶meter), *(void**)(&navigationTransitionInfo), &value)); return winrt::Windows::UI::Xaml::Navigation::PageStackEntry{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Navigation_IPageStackEntryStatics::SourcePageTypeProperty() const + template auto consume_Windows_UI_Xaml_Navigation_IPageStackEntryStatics::SourcePageTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::IPageStackEntryStatics)->get_SourcePageTypeProperty(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Printing.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Printing.h index afd38a7d..a7d9c83d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Printing.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Printing.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Printing_H #define WINRT_Windows_UI_Xaml_Printing_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Graphics.Printing.2.h" @@ -13,105 +13,105 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Printing.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskOptions) consume_Windows_UI_Xaml_Printing_IAddPagesEventArgs::PrintTaskOptions() const + template auto consume_Windows_UI_Xaml_Printing_IAddPagesEventArgs::PrintTaskOptions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IAddPagesEventArgs)->get_PrintTaskOptions(&value)); return winrt::Windows::Graphics::Printing::PrintTaskOptions{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Printing_IGetPreviewPageEventArgs::PageNumber() const + template auto consume_Windows_UI_Xaml_Printing_IGetPreviewPageEventArgs::PageNumber() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IGetPreviewPageEventArgs)->get_PageNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskOptions) consume_Windows_UI_Xaml_Printing_IPaginateEventArgs::PrintTaskOptions() const + template auto consume_Windows_UI_Xaml_Printing_IPaginateEventArgs::PrintTaskOptions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPaginateEventArgs)->get_PrintTaskOptions(&value)); return winrt::Windows::Graphics::Printing::PrintTaskOptions{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Printing_IPaginateEventArgs::CurrentPreviewPageNumber() const + template auto consume_Windows_UI_Xaml_Printing_IPaginateEventArgs::CurrentPreviewPageNumber() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPaginateEventArgs)->get_CurrentPreviewPageNumber(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::IPrintDocumentSource) consume_Windows_UI_Xaml_Printing_IPrintDocument::DocumentSource() const + template auto consume_Windows_UI_Xaml_Printing_IPrintDocument::DocumentSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->get_DocumentSource(&value)); return winrt::Windows::Graphics::Printing::IPrintDocumentSource{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Printing_IPrintDocument::Paginate(winrt::Windows::UI::Xaml::Printing::PaginateEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Printing_IPrintDocument::Paginate(winrt::Windows::UI::Xaml::Printing::PaginateEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->add_Paginate(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Printing_IPrintDocument::Paginate_revoker consume_Windows_UI_Xaml_Printing_IPrintDocument::Paginate(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::PaginateEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Printing_IPrintDocument::Paginate(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::PaginateEventHandler const& handler) const { return impl::make_event_revoker(this, Paginate(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Printing_IPrintDocument::Paginate(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Printing_IPrintDocument::Paginate(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->remove_Paginate(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Printing_IPrintDocument::GetPreviewPage(winrt::Windows::UI::Xaml::Printing::GetPreviewPageEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Printing_IPrintDocument::GetPreviewPage(winrt::Windows::UI::Xaml::Printing::GetPreviewPageEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->add_GetPreviewPage(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Printing_IPrintDocument::GetPreviewPage_revoker consume_Windows_UI_Xaml_Printing_IPrintDocument::GetPreviewPage(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::GetPreviewPageEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Printing_IPrintDocument::GetPreviewPage(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::GetPreviewPageEventHandler const& handler) const { return impl::make_event_revoker(this, GetPreviewPage(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Printing_IPrintDocument::GetPreviewPage(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Printing_IPrintDocument::GetPreviewPage(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->remove_GetPreviewPage(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Printing_IPrintDocument::AddPages(winrt::Windows::UI::Xaml::Printing::AddPagesEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Printing_IPrintDocument::AddPages(winrt::Windows::UI::Xaml::Printing::AddPagesEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->add_AddPages(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_Printing_IPrintDocument::AddPages_revoker consume_Windows_UI_Xaml_Printing_IPrintDocument::AddPages(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::AddPagesEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_Printing_IPrintDocument::AddPages(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::AddPagesEventHandler const& handler) const { return impl::make_event_revoker(this, AddPages(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Printing_IPrintDocument::AddPages(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_Printing_IPrintDocument::AddPages(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->remove_AddPages(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Printing_IPrintDocument::AddPage(winrt::Windows::UI::Xaml::UIElement const& pageVisual) const + template auto consume_Windows_UI_Xaml_Printing_IPrintDocument::AddPage(winrt::Windows::UI::Xaml::UIElement const& pageVisual) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->AddPage(*(void**)(&pageVisual))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Printing_IPrintDocument::AddPagesComplete() const + template auto consume_Windows_UI_Xaml_Printing_IPrintDocument::AddPagesComplete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->AddPagesComplete()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Printing_IPrintDocument::SetPreviewPageCount(int32_t count, winrt::Windows::UI::Xaml::Printing::PreviewPageCountType const& type) const + template auto consume_Windows_UI_Xaml_Printing_IPrintDocument::SetPreviewPageCount(int32_t count, winrt::Windows::UI::Xaml::Printing::PreviewPageCountType const& type) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->SetPreviewPageCount(count, static_cast(type))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Printing_IPrintDocument::SetPreviewPage(int32_t pageNumber, winrt::Windows::UI::Xaml::UIElement const& pageVisual) const + template auto consume_Windows_UI_Xaml_Printing_IPrintDocument::SetPreviewPage(int32_t pageNumber, winrt::Windows::UI::Xaml::UIElement const& pageVisual) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->SetPreviewPage(pageNumber, *(void**)(&pageVisual))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Printing_IPrintDocument::InvalidatePreview() const + template auto consume_Windows_UI_Xaml_Printing_IPrintDocument::InvalidatePreview() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->InvalidatePreview()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Printing::PrintDocument) consume_Windows_UI_Xaml_Printing_IPrintDocumentFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Printing_IPrintDocumentFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocumentFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Printing::PrintDocument{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Printing_IPrintDocumentStatics::DocumentSourceProperty() const + template auto consume_Windows_UI_Xaml_Printing_IPrintDocumentStatics::DocumentSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocumentStatics)->get_DocumentSourceProperty(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Resources.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Resources.h index 41f2d84c..9acb98d1 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Resources.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Resources.h @@ -1,34 +1,34 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Resources_H #define WINRT_Windows_UI_Xaml_Resources_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.h" #include "winrt/impl/Windows.UI.Xaml.Resources.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Resources::CustomXamlResourceLoader) consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Resources::ICustomXamlResourceLoaderFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Resources::CustomXamlResourceLoader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderOverrides::GetResource(param::hstring const& resourceId, param::hstring const& objectType, param::hstring const& propertyName, param::hstring const& propertyType) const + template auto consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderOverrides::GetResource(param::hstring const& resourceId, param::hstring const& objectType, param::hstring const& propertyName, param::hstring const& propertyType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Resources::ICustomXamlResourceLoaderOverrides)->GetResource(*(void**)(&resourceId), *(void**)(&objectType), *(void**)(&propertyName), *(void**)(&propertyType), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Resources::CustomXamlResourceLoader) consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderStatics::Current() const + template auto consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderStatics::Current() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Resources::ICustomXamlResourceLoaderStatics)->get_Current(&value)); return winrt::Windows::UI::Xaml::Resources::CustomXamlResourceLoader{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderStatics::Current(winrt::Windows::UI::Xaml::Resources::CustomXamlResourceLoader const& value) const + template auto consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderStatics::Current(winrt::Windows::UI::Xaml::Resources::CustomXamlResourceLoader const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Resources::ICustomXamlResourceLoaderStatics)->put_Current(*(void**)(&value))); } @@ -118,7 +118,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Resources { impl::call_factory([&](ICustomXamlResourceLoaderStatics const& f) { return f.Current(value); }); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ICustomXamlResourceLoaderOverridesT::GetResource(param::hstring const& resourceId, param::hstring const& objectType, param::hstring const& propertyName, param::hstring const& propertyType) const + template auto ICustomXamlResourceLoaderOverridesT::GetResource(param::hstring const& resourceId, param::hstring const& objectType, param::hstring const& propertyName, param::hstring const& propertyType) const { return shim().template try_as().GetResource(resourceId, objectType, propertyName, propertyType); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Shapes.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Shapes.h index 49282c78..927e7234 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Shapes.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Shapes.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Shapes_H #define WINRT_Windows_UI_Xaml_Shapes_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.Xaml.h" #include "winrt/impl/Windows.UI.Composition.2.h" #include "winrt/impl/Windows.UI.Xaml.2.h" @@ -13,377 +13,377 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.Shapes.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_ILine::X1() const + template auto consume_Windows_UI_Xaml_Shapes_ILine::X1() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILine)->get_X1(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_ILine::X1(double value) const + template auto consume_Windows_UI_Xaml_Shapes_ILine::X1(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILine)->put_X1(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_ILine::Y1() const + template auto consume_Windows_UI_Xaml_Shapes_ILine::Y1() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILine)->get_Y1(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_ILine::Y1(double value) const + template auto consume_Windows_UI_Xaml_Shapes_ILine::Y1(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILine)->put_Y1(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_ILine::X2() const + template auto consume_Windows_UI_Xaml_Shapes_ILine::X2() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILine)->get_X2(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_ILine::X2(double value) const + template auto consume_Windows_UI_Xaml_Shapes_ILine::X2(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILine)->put_X2(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_ILine::Y2() const + template auto consume_Windows_UI_Xaml_Shapes_ILine::Y2() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILine)->get_Y2(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_ILine::Y2(double value) const + template auto consume_Windows_UI_Xaml_Shapes_ILine::Y2(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILine)->put_Y2(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_ILineStatics::X1Property() const + template auto consume_Windows_UI_Xaml_Shapes_ILineStatics::X1Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILineStatics)->get_X1Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_ILineStatics::Y1Property() const + template auto consume_Windows_UI_Xaml_Shapes_ILineStatics::Y1Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILineStatics)->get_Y1Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_ILineStatics::X2Property() const + template auto consume_Windows_UI_Xaml_Shapes_ILineStatics::X2Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILineStatics)->get_X2Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_ILineStatics::Y2Property() const + template auto consume_Windows_UI_Xaml_Shapes_ILineStatics::Y2Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILineStatics)->get_Y2Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Geometry) consume_Windows_UI_Xaml_Shapes_IPath::Data() const + template auto consume_Windows_UI_Xaml_Shapes_IPath::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPath)->get_Data(&value)); return winrt::Windows::UI::Xaml::Media::Geometry{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IPath::Data(winrt::Windows::UI::Xaml::Media::Geometry const& value) const + template auto consume_Windows_UI_Xaml_Shapes_IPath::Data(winrt::Windows::UI::Xaml::Media::Geometry const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPath)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Shapes::Path) consume_Windows_UI_Xaml_Shapes_IPathFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Shapes_IPathFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPathFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Shapes::Path{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IPathStatics::DataProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IPathStatics::DataProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPathStatics)->get_DataProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FillRule) consume_Windows_UI_Xaml_Shapes_IPolygon::FillRule() const + template auto consume_Windows_UI_Xaml_Shapes_IPolygon::FillRule() const { winrt::Windows::UI::Xaml::Media::FillRule value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPolygon)->get_FillRule(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IPolygon::FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const + template auto consume_Windows_UI_Xaml_Shapes_IPolygon::FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPolygon)->put_FillRule(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PointCollection) consume_Windows_UI_Xaml_Shapes_IPolygon::Points() const + template auto consume_Windows_UI_Xaml_Shapes_IPolygon::Points() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPolygon)->get_Points(&value)); return winrt::Windows::UI::Xaml::Media::PointCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IPolygon::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const + template auto consume_Windows_UI_Xaml_Shapes_IPolygon::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPolygon)->put_Points(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IPolygonStatics::FillRuleProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IPolygonStatics::FillRuleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPolygonStatics)->get_FillRuleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IPolygonStatics::PointsProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IPolygonStatics::PointsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPolygonStatics)->get_PointsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FillRule) consume_Windows_UI_Xaml_Shapes_IPolyline::FillRule() const + template auto consume_Windows_UI_Xaml_Shapes_IPolyline::FillRule() const { winrt::Windows::UI::Xaml::Media::FillRule value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPolyline)->get_FillRule(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IPolyline::FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const + template auto consume_Windows_UI_Xaml_Shapes_IPolyline::FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPolyline)->put_FillRule(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PointCollection) consume_Windows_UI_Xaml_Shapes_IPolyline::Points() const + template auto consume_Windows_UI_Xaml_Shapes_IPolyline::Points() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPolyline)->get_Points(&value)); return winrt::Windows::UI::Xaml::Media::PointCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IPolyline::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const + template auto consume_Windows_UI_Xaml_Shapes_IPolyline::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPolyline)->put_Points(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IPolylineStatics::FillRuleProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IPolylineStatics::FillRuleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPolylineStatics)->get_FillRuleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IPolylineStatics::PointsProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IPolylineStatics::PointsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPolylineStatics)->get_PointsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_IRectangle::RadiusX() const + template auto consume_Windows_UI_Xaml_Shapes_IRectangle::RadiusX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IRectangle)->get_RadiusX(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IRectangle::RadiusX(double value) const + template auto consume_Windows_UI_Xaml_Shapes_IRectangle::RadiusX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IRectangle)->put_RadiusX(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_IRectangle::RadiusY() const + template auto consume_Windows_UI_Xaml_Shapes_IRectangle::RadiusY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IRectangle)->get_RadiusY(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IRectangle::RadiusY(double value) const + template auto consume_Windows_UI_Xaml_Shapes_IRectangle::RadiusY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IRectangle)->put_RadiusY(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IRectangleStatics::RadiusXProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IRectangleStatics::RadiusXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IRectangleStatics)->get_RadiusXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IRectangleStatics::RadiusYProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IRectangleStatics::RadiusYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IRectangleStatics)->get_RadiusYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Shapes_IShape::Fill() const + template auto consume_Windows_UI_Xaml_Shapes_IShape::Fill() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_Fill(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape::Fill(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Shapes_IShape::Fill(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->put_Fill(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Shapes_IShape::Stroke() const + template auto consume_Windows_UI_Xaml_Shapes_IShape::Stroke() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_Stroke(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape::Stroke(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_Shapes_IShape::Stroke(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->put_Stroke(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_IShape::StrokeMiterLimit() const + template auto consume_Windows_UI_Xaml_Shapes_IShape::StrokeMiterLimit() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_StrokeMiterLimit(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape::StrokeMiterLimit(double value) const + template auto consume_Windows_UI_Xaml_Shapes_IShape::StrokeMiterLimit(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->put_StrokeMiterLimit(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_IShape::StrokeThickness() const + template auto consume_Windows_UI_Xaml_Shapes_IShape::StrokeThickness() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_StrokeThickness(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape::StrokeThickness(double value) const + template auto consume_Windows_UI_Xaml_Shapes_IShape::StrokeThickness(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->put_StrokeThickness(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PenLineCap) consume_Windows_UI_Xaml_Shapes_IShape::StrokeStartLineCap() const + template auto consume_Windows_UI_Xaml_Shapes_IShape::StrokeStartLineCap() const { winrt::Windows::UI::Xaml::Media::PenLineCap value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_StrokeStartLineCap(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape::StrokeStartLineCap(winrt::Windows::UI::Xaml::Media::PenLineCap const& value) const + template auto consume_Windows_UI_Xaml_Shapes_IShape::StrokeStartLineCap(winrt::Windows::UI::Xaml::Media::PenLineCap const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->put_StrokeStartLineCap(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PenLineCap) consume_Windows_UI_Xaml_Shapes_IShape::StrokeEndLineCap() const + template auto consume_Windows_UI_Xaml_Shapes_IShape::StrokeEndLineCap() const { winrt::Windows::UI::Xaml::Media::PenLineCap value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_StrokeEndLineCap(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape::StrokeEndLineCap(winrt::Windows::UI::Xaml::Media::PenLineCap const& value) const + template auto consume_Windows_UI_Xaml_Shapes_IShape::StrokeEndLineCap(winrt::Windows::UI::Xaml::Media::PenLineCap const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->put_StrokeEndLineCap(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PenLineJoin) consume_Windows_UI_Xaml_Shapes_IShape::StrokeLineJoin() const + template auto consume_Windows_UI_Xaml_Shapes_IShape::StrokeLineJoin() const { winrt::Windows::UI::Xaml::Media::PenLineJoin value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_StrokeLineJoin(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape::StrokeLineJoin(winrt::Windows::UI::Xaml::Media::PenLineJoin const& value) const + template auto consume_Windows_UI_Xaml_Shapes_IShape::StrokeLineJoin(winrt::Windows::UI::Xaml::Media::PenLineJoin const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->put_StrokeLineJoin(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_IShape::StrokeDashOffset() const + template auto consume_Windows_UI_Xaml_Shapes_IShape::StrokeDashOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_StrokeDashOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape::StrokeDashOffset(double value) const + template auto consume_Windows_UI_Xaml_Shapes_IShape::StrokeDashOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->put_StrokeDashOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PenLineCap) consume_Windows_UI_Xaml_Shapes_IShape::StrokeDashCap() const + template auto consume_Windows_UI_Xaml_Shapes_IShape::StrokeDashCap() const { winrt::Windows::UI::Xaml::Media::PenLineCap value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_StrokeDashCap(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape::StrokeDashCap(winrt::Windows::UI::Xaml::Media::PenLineCap const& value) const + template auto consume_Windows_UI_Xaml_Shapes_IShape::StrokeDashCap(winrt::Windows::UI::Xaml::Media::PenLineCap const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->put_StrokeDashCap(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::DoubleCollection) consume_Windows_UI_Xaml_Shapes_IShape::StrokeDashArray() const + template auto consume_Windows_UI_Xaml_Shapes_IShape::StrokeDashArray() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_StrokeDashArray(&value)); return winrt::Windows::UI::Xaml::Media::DoubleCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape::StrokeDashArray(winrt::Windows::UI::Xaml::Media::DoubleCollection const& value) const + template auto consume_Windows_UI_Xaml_Shapes_IShape::StrokeDashArray(winrt::Windows::UI::Xaml::Media::DoubleCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->put_StrokeDashArray(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) consume_Windows_UI_Xaml_Shapes_IShape::Stretch() const + template auto consume_Windows_UI_Xaml_Shapes_IShape::Stretch() const { winrt::Windows::UI::Xaml::Media::Stretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_Stretch(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const + template auto consume_Windows_UI_Xaml_Shapes_IShape::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->put_Stretch(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Transform) consume_Windows_UI_Xaml_Shapes_IShape::GeometryTransform() const + template auto consume_Windows_UI_Xaml_Shapes_IShape::GeometryTransform() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_GeometryTransform(&value)); return winrt::Windows::UI::Xaml::Media::Transform{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Xaml_Shapes_IShape2::GetAlphaMask() const + template auto consume_Windows_UI_Xaml_Shapes_IShape2::GetAlphaMask() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape2)->GetAlphaMask(&result)); return winrt::Windows::UI::Composition::CompositionBrush{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Shapes::Shape) consume_Windows_UI_Xaml_Shapes_IShapeFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_Shapes_IShapeFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShapeFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Shapes::Shape{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics::FillProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IShapeStatics::FillProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShapeStatics)->get_FillProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShapeStatics)->get_StrokeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeMiterLimitProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeMiterLimitProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShapeStatics)->get_StrokeMiterLimitProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeThicknessProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShapeStatics)->get_StrokeThicknessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeStartLineCapProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeStartLineCapProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShapeStatics)->get_StrokeStartLineCapProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeEndLineCapProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeEndLineCapProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShapeStatics)->get_StrokeEndLineCapProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeLineJoinProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeLineJoinProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShapeStatics)->get_StrokeLineJoinProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeDashOffsetProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeDashOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShapeStatics)->get_StrokeDashOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeDashCapProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeDashCapProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShapeStatics)->get_StrokeDashCapProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeDashArrayProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IShapeStatics::StrokeDashArrayProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShapeStatics)->get_StrokeDashArrayProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics::StretchProperty() const + template auto consume_Windows_UI_Xaml_Shapes_IShapeStatics::StretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShapeStatics)->get_StretchProperty(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.h index cd21051e..9c0a146d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_H #define WINRT_Windows_UI_Xaml_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.UI.h" #include "winrt/impl/Windows.ApplicationModel.2.h" #include "winrt/impl/Windows.ApplicationModel.Activation.2.h" @@ -33,4521 +33,4521 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.UI.Xaml.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IAdaptiveTrigger::MinWindowWidth() const + template auto consume_Windows_UI_Xaml_IAdaptiveTrigger::MinWindowWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IAdaptiveTrigger)->get_MinWindowWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IAdaptiveTrigger::MinWindowWidth(double value) const + template auto consume_Windows_UI_Xaml_IAdaptiveTrigger::MinWindowWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IAdaptiveTrigger)->put_MinWindowWidth(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IAdaptiveTrigger::MinWindowHeight() const + template auto consume_Windows_UI_Xaml_IAdaptiveTrigger::MinWindowHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IAdaptiveTrigger)->get_MinWindowHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IAdaptiveTrigger::MinWindowHeight(double value) const + template auto consume_Windows_UI_Xaml_IAdaptiveTrigger::MinWindowHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IAdaptiveTrigger)->put_MinWindowHeight(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::AdaptiveTrigger) consume_Windows_UI_Xaml_IAdaptiveTriggerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IAdaptiveTriggerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IAdaptiveTriggerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::AdaptiveTrigger{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IAdaptiveTriggerStatics::MinWindowWidthProperty() const + template auto consume_Windows_UI_Xaml_IAdaptiveTriggerStatics::MinWindowWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IAdaptiveTriggerStatics)->get_MinWindowWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IAdaptiveTriggerStatics::MinWindowHeightProperty() const + template auto consume_Windows_UI_Xaml_IAdaptiveTriggerStatics::MinWindowHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IAdaptiveTriggerStatics)->get_MinWindowHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ResourceDictionary) consume_Windows_UI_Xaml_IApplication::Resources() const + template auto consume_Windows_UI_Xaml_IApplication::Resources() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->get_Resources(&value)); return winrt::Windows::UI::Xaml::ResourceDictionary{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication::Resources(winrt::Windows::UI::Xaml::ResourceDictionary const& value) const + template auto consume_Windows_UI_Xaml_IApplication::Resources(winrt::Windows::UI::Xaml::ResourceDictionary const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->put_Resources(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DebugSettings) consume_Windows_UI_Xaml_IApplication::DebugSettings() const + template auto consume_Windows_UI_Xaml_IApplication::DebugSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->get_DebugSettings(&value)); return winrt::Windows::UI::Xaml::DebugSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ApplicationTheme) consume_Windows_UI_Xaml_IApplication::RequestedTheme() const + template auto consume_Windows_UI_Xaml_IApplication::RequestedTheme() const { winrt::Windows::UI::Xaml::ApplicationTheme value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->get_RequestedTheme(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication::RequestedTheme(winrt::Windows::UI::Xaml::ApplicationTheme const& value) const + template auto consume_Windows_UI_Xaml_IApplication::RequestedTheme(winrt::Windows::UI::Xaml::ApplicationTheme const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->put_RequestedTheme(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IApplication::UnhandledException(winrt::Windows::UI::Xaml::UnhandledExceptionEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IApplication::UnhandledException(winrt::Windows::UI::Xaml::UnhandledExceptionEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->add_UnhandledException(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IApplication::UnhandledException_revoker consume_Windows_UI_Xaml_IApplication::UnhandledException(auto_revoke_t, winrt::Windows::UI::Xaml::UnhandledExceptionEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IApplication::UnhandledException(auto_revoke_t, winrt::Windows::UI::Xaml::UnhandledExceptionEventHandler const& handler) const { return impl::make_event_revoker(this, UnhandledException(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication::UnhandledException(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IApplication::UnhandledException(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->remove_UnhandledException(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IApplication::Suspending(winrt::Windows::UI::Xaml::SuspendingEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IApplication::Suspending(winrt::Windows::UI::Xaml::SuspendingEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->add_Suspending(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IApplication::Suspending_revoker consume_Windows_UI_Xaml_IApplication::Suspending(auto_revoke_t, winrt::Windows::UI::Xaml::SuspendingEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IApplication::Suspending(auto_revoke_t, winrt::Windows::UI::Xaml::SuspendingEventHandler const& handler) const { return impl::make_event_revoker(this, Suspending(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication::Suspending(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IApplication::Suspending(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->remove_Suspending(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IApplication::Resuming(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IApplication::Resuming(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->add_Resuming(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IApplication::Resuming_revoker consume_Windows_UI_Xaml_IApplication::Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IApplication::Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Resuming(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication::Resuming(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IApplication::Resuming(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->remove_Resuming(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication::Exit() const + template auto consume_Windows_UI_Xaml_IApplication::Exit() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->Exit()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusVisualKind) consume_Windows_UI_Xaml_IApplication2::FocusVisualKind() const + template auto consume_Windows_UI_Xaml_IApplication2::FocusVisualKind() const { winrt::Windows::UI::Xaml::FocusVisualKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication2)->get_FocusVisualKind(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication2::FocusVisualKind(winrt::Windows::UI::Xaml::FocusVisualKind const& value) const + template auto consume_Windows_UI_Xaml_IApplication2::FocusVisualKind(winrt::Windows::UI::Xaml::FocusVisualKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication2)->put_FocusVisualKind(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ApplicationRequiresPointerMode) consume_Windows_UI_Xaml_IApplication2::RequiresPointerMode() const + template auto consume_Windows_UI_Xaml_IApplication2::RequiresPointerMode() const { winrt::Windows::UI::Xaml::ApplicationRequiresPointerMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication2)->get_RequiresPointerMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication2::RequiresPointerMode(winrt::Windows::UI::Xaml::ApplicationRequiresPointerMode const& value) const + template auto consume_Windows_UI_Xaml_IApplication2::RequiresPointerMode(winrt::Windows::UI::Xaml::ApplicationRequiresPointerMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication2)->put_RequiresPointerMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IApplication2::LeavingBackground(winrt::Windows::UI::Xaml::LeavingBackgroundEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IApplication2::LeavingBackground(winrt::Windows::UI::Xaml::LeavingBackgroundEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication2)->add_LeavingBackground(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IApplication2::LeavingBackground_revoker consume_Windows_UI_Xaml_IApplication2::LeavingBackground(auto_revoke_t, winrt::Windows::UI::Xaml::LeavingBackgroundEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IApplication2::LeavingBackground(auto_revoke_t, winrt::Windows::UI::Xaml::LeavingBackgroundEventHandler const& handler) const { return impl::make_event_revoker(this, LeavingBackground(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication2::LeavingBackground(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IApplication2::LeavingBackground(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication2)->remove_LeavingBackground(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IApplication2::EnteredBackground(winrt::Windows::UI::Xaml::EnteredBackgroundEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IApplication2::EnteredBackground(winrt::Windows::UI::Xaml::EnteredBackgroundEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication2)->add_EnteredBackground(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IApplication2::EnteredBackground_revoker consume_Windows_UI_Xaml_IApplication2::EnteredBackground(auto_revoke_t, winrt::Windows::UI::Xaml::EnteredBackgroundEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IApplication2::EnteredBackground(auto_revoke_t, winrt::Windows::UI::Xaml::EnteredBackgroundEventHandler const& handler) const { return impl::make_event_revoker(this, EnteredBackground(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication2::EnteredBackground(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IApplication2::EnteredBackground(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication2)->remove_EnteredBackground(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ApplicationHighContrastAdjustment) consume_Windows_UI_Xaml_IApplication3::HighContrastAdjustment() const + template auto consume_Windows_UI_Xaml_IApplication3::HighContrastAdjustment() const { winrt::Windows::UI::Xaml::ApplicationHighContrastAdjustment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication3)->get_HighContrastAdjustment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication3::HighContrastAdjustment(winrt::Windows::UI::Xaml::ApplicationHighContrastAdjustment const& value) const + template auto consume_Windows_UI_Xaml_IApplication3::HighContrastAdjustment(winrt::Windows::UI::Xaml::ApplicationHighContrastAdjustment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication3)->put_HighContrastAdjustment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Application) consume_Windows_UI_Xaml_IApplicationFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IApplicationFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Application{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides::OnActivated(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& args) const + template auto consume_Windows_UI_Xaml_IApplicationOverrides::OnActivated(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnActivated(*(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides::OnLaunched(winrt::Windows::ApplicationModel::Activation::LaunchActivatedEventArgs const& args) const + template auto consume_Windows_UI_Xaml_IApplicationOverrides::OnLaunched(winrt::Windows::ApplicationModel::Activation::LaunchActivatedEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnLaunched(*(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides::OnFileActivated(winrt::Windows::ApplicationModel::Activation::FileActivatedEventArgs const& args) const + template auto consume_Windows_UI_Xaml_IApplicationOverrides::OnFileActivated(winrt::Windows::ApplicationModel::Activation::FileActivatedEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnFileActivated(*(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides::OnSearchActivated(winrt::Windows::ApplicationModel::Activation::SearchActivatedEventArgs const& args) const + template auto consume_Windows_UI_Xaml_IApplicationOverrides::OnSearchActivated(winrt::Windows::ApplicationModel::Activation::SearchActivatedEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnSearchActivated(*(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides::OnShareTargetActivated(winrt::Windows::ApplicationModel::Activation::ShareTargetActivatedEventArgs const& args) const + template auto consume_Windows_UI_Xaml_IApplicationOverrides::OnShareTargetActivated(winrt::Windows::ApplicationModel::Activation::ShareTargetActivatedEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnShareTargetActivated(*(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides::OnFileOpenPickerActivated(winrt::Windows::ApplicationModel::Activation::FileOpenPickerActivatedEventArgs const& args) const + template auto consume_Windows_UI_Xaml_IApplicationOverrides::OnFileOpenPickerActivated(winrt::Windows::ApplicationModel::Activation::FileOpenPickerActivatedEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnFileOpenPickerActivated(*(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides::OnFileSavePickerActivated(winrt::Windows::ApplicationModel::Activation::FileSavePickerActivatedEventArgs const& args) const + template auto consume_Windows_UI_Xaml_IApplicationOverrides::OnFileSavePickerActivated(winrt::Windows::ApplicationModel::Activation::FileSavePickerActivatedEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnFileSavePickerActivated(*(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides::OnCachedFileUpdaterActivated(winrt::Windows::ApplicationModel::Activation::CachedFileUpdaterActivatedEventArgs const& args) const + template auto consume_Windows_UI_Xaml_IApplicationOverrides::OnCachedFileUpdaterActivated(winrt::Windows::ApplicationModel::Activation::CachedFileUpdaterActivatedEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnCachedFileUpdaterActivated(*(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides::OnWindowCreated(winrt::Windows::UI::Xaml::WindowCreatedEventArgs const& args) const + template auto consume_Windows_UI_Xaml_IApplicationOverrides::OnWindowCreated(winrt::Windows::UI::Xaml::WindowCreatedEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnWindowCreated(*(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides2::OnBackgroundActivated(winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs const& args) const + template auto consume_Windows_UI_Xaml_IApplicationOverrides2::OnBackgroundActivated(winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides2)->OnBackgroundActivated(*(void**)(&args))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Application) consume_Windows_UI_Xaml_IApplicationStatics::Current() const + template auto consume_Windows_UI_Xaml_IApplicationStatics::Current() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationStatics)->get_Current(&value)); return winrt::Windows::UI::Xaml::Application{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationStatics::Start(winrt::Windows::UI::Xaml::ApplicationInitializationCallback const& callback) const + template auto consume_Windows_UI_Xaml_IApplicationStatics::Start(winrt::Windows::UI::Xaml::ApplicationInitializationCallback const& callback) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationStatics)->Start(*(void**)(&callback))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationStatics::LoadComponent(winrt::Windows::Foundation::IInspectable const& component, winrt::Windows::Foundation::Uri const& resourceLocator) const + template auto consume_Windows_UI_Xaml_IApplicationStatics::LoadComponent(winrt::Windows::Foundation::IInspectable const& component, winrt::Windows::Foundation::Uri const& resourceLocator) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationStatics)->LoadComponent(*(void**)(&component), *(void**)(&resourceLocator))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationStatics::LoadComponent(winrt::Windows::Foundation::IInspectable const& component, winrt::Windows::Foundation::Uri const& resourceLocator, winrt::Windows::UI::Xaml::Controls::Primitives::ComponentResourceLocation const& componentResourceLocation) const + template auto consume_Windows_UI_Xaml_IApplicationStatics::LoadComponent(winrt::Windows::Foundation::IInspectable const& component, winrt::Windows::Foundation::Uri const& resourceLocator, winrt::Windows::UI::Xaml::Controls::Primitives::ComponentResourceLocation const& componentResourceLocation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationStatics)->LoadComponentWithResourceLocation(*(void**)(&component), *(void**)(&resourceLocator), static_cast(componentResourceLocation))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IBindingFailedEventArgs::Message() const + template auto consume_Windows_UI_Xaml_IBindingFailedEventArgs::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBindingFailedEventArgs)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IBringIntoViewOptions::AnimationDesired() const + template auto consume_Windows_UI_Xaml_IBringIntoViewOptions::AnimationDesired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions)->get_AnimationDesired(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewOptions::AnimationDesired(bool value) const + template auto consume_Windows_UI_Xaml_IBringIntoViewOptions::AnimationDesired(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions)->put_AnimationDesired(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IBringIntoViewOptions::TargetRect() const + template auto consume_Windows_UI_Xaml_IBringIntoViewOptions::TargetRect() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions)->get_TargetRect(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewOptions::TargetRect(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IBringIntoViewOptions::TargetRect(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions)->put_TargetRect(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IBringIntoViewOptions2::HorizontalAlignmentRatio() const + template auto consume_Windows_UI_Xaml_IBringIntoViewOptions2::HorizontalAlignmentRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions2)->get_HorizontalAlignmentRatio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewOptions2::HorizontalAlignmentRatio(double value) const + template auto consume_Windows_UI_Xaml_IBringIntoViewOptions2::HorizontalAlignmentRatio(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions2)->put_HorizontalAlignmentRatio(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IBringIntoViewOptions2::VerticalAlignmentRatio() const + template auto consume_Windows_UI_Xaml_IBringIntoViewOptions2::VerticalAlignmentRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions2)->get_VerticalAlignmentRatio(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewOptions2::VerticalAlignmentRatio(double value) const + template auto consume_Windows_UI_Xaml_IBringIntoViewOptions2::VerticalAlignmentRatio(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions2)->put_VerticalAlignmentRatio(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IBringIntoViewOptions2::HorizontalOffset() const + template auto consume_Windows_UI_Xaml_IBringIntoViewOptions2::HorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions2)->get_HorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewOptions2::HorizontalOffset(double value) const + template auto consume_Windows_UI_Xaml_IBringIntoViewOptions2::HorizontalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions2)->put_HorizontalOffset(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IBringIntoViewOptions2::VerticalOffset() const + template auto consume_Windows_UI_Xaml_IBringIntoViewOptions2::VerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions2)->get_VerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewOptions2::VerticalOffset(double value) const + template auto consume_Windows_UI_Xaml_IBringIntoViewOptions2::VerticalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions2)->put_VerticalOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::TargetElement() const + template auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::TargetElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->get_TargetElement(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::TargetElement(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::TargetElement(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->put_TargetElement(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::AnimationDesired() const + template auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::AnimationDesired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->get_AnimationDesired(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::AnimationDesired(bool value) const + template auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::AnimationDesired(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->put_AnimationDesired(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::TargetRect() const + template auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::TargetRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->get_TargetRect(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::TargetRect(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::TargetRect(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->put_TargetRect(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::HorizontalAlignmentRatio() const + template auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::HorizontalAlignmentRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->get_HorizontalAlignmentRatio(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::VerticalAlignmentRatio() const + template auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::VerticalAlignmentRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->get_VerticalAlignmentRatio(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::HorizontalOffset() const + template auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::HorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->get_HorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::HorizontalOffset(double value) const + template auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::HorizontalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->put_HorizontalOffset(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::VerticalOffset() const + template auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::VerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->get_VerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::VerticalOffset(double value) const + template auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::VerticalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->put_VerticalOffset(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_IBrushTransition::Duration() const + template auto consume_Windows_UI_Xaml_IBrushTransition::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBrushTransition)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBrushTransition::Duration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Xaml_IBrushTransition::Duration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBrushTransition)->put_Duration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::BrushTransition) consume_Windows_UI_Xaml_IBrushTransitionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IBrushTransitionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBrushTransitionFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::BrushTransition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::AltHigh() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::AltHigh() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_AltHigh(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::AltHigh(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::AltHigh(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_AltHigh(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::AltLow() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::AltLow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_AltLow(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::AltLow(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::AltLow(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_AltLow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::AltMedium() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::AltMedium() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_AltMedium(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::AltMedium(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::AltMedium(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_AltMedium(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::AltMediumHigh() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::AltMediumHigh() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_AltMediumHigh(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::AltMediumHigh(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::AltMediumHigh(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_AltMediumHigh(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::AltMediumLow() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::AltMediumLow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_AltMediumLow(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::AltMediumLow(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::AltMediumLow(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_AltMediumLow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::BaseHigh() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::BaseHigh() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_BaseHigh(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::BaseHigh(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::BaseHigh(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_BaseHigh(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::BaseLow() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::BaseLow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_BaseLow(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::BaseLow(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::BaseLow(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_BaseLow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::BaseMedium() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::BaseMedium() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_BaseMedium(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::BaseMedium(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::BaseMedium(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_BaseMedium(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::BaseMediumHigh() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::BaseMediumHigh() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_BaseMediumHigh(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::BaseMediumHigh(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::BaseMediumHigh(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_BaseMediumHigh(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::BaseMediumLow() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::BaseMediumLow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_BaseMediumLow(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::BaseMediumLow(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::BaseMediumLow(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_BaseMediumLow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeAltLow() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeAltLow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeAltLow(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeAltLow(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeAltLow(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeAltLow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeBlackHigh() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeBlackHigh() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeBlackHigh(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeBlackHigh(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeBlackHigh(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeBlackHigh(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeBlackLow() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeBlackLow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeBlackLow(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeBlackLow(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeBlackLow(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeBlackLow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeBlackMediumLow() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeBlackMediumLow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeBlackMediumLow(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeBlackMediumLow(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeBlackMediumLow(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeBlackMediumLow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeBlackMedium() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeBlackMedium() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeBlackMedium(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeBlackMedium(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeBlackMedium(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeBlackMedium(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeDisabledHigh() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeDisabledHigh() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeDisabledHigh(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeDisabledHigh(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeDisabledHigh(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeDisabledHigh(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeDisabledLow() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeDisabledLow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeDisabledLow(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeDisabledLow(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeDisabledLow(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeDisabledLow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeHigh() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeHigh() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeHigh(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeHigh(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeHigh(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeHigh(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeLow() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeLow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeLow(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeLow(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeLow(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeLow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeMedium() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeMedium() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeMedium(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeMedium(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeMedium(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeMedium(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeMediumLow() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeMediumLow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeMediumLow(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeMediumLow(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeMediumLow(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeMediumLow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeWhite() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeWhite() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeWhite(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeWhite(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeWhite(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeWhite(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeGray() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeGray() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeGray(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::ChromeGray(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ChromeGray(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeGray(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::ListLow() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ListLow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ListLow(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::ListLow(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ListLow(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ListLow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::ListMedium() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ListMedium() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ListMedium(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::ListMedium(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ListMedium(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ListMedium(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::ErrorText() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ErrorText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ErrorText(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::ErrorText(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::ErrorText(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ErrorText(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_UI_Xaml_IColorPaletteResources::Accent() const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::Accent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_Accent(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources::Accent(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_UI_Xaml_IColorPaletteResources::Accent(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_Accent(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ColorPaletteResources) consume_Windows_UI_Xaml_IColorPaletteResourcesFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IColorPaletteResourcesFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResourcesFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::ColorPaletteResources{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_ICornerRadiusHelperStatics::FromRadii(double topLeft, double topRight, double bottomRight, double bottomLeft) const + template auto consume_Windows_UI_Xaml_ICornerRadiusHelperStatics::FromRadii(double topLeft, double topRight, double bottomRight, double bottomLeft) const { winrt::Windows::UI::Xaml::CornerRadius result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ICornerRadiusHelperStatics)->FromRadii(topLeft, topRight, bottomRight, bottomLeft, put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_ICornerRadiusHelperStatics::FromUniformRadius(double uniformRadius) const + template auto consume_Windows_UI_Xaml_ICornerRadiusHelperStatics::FromUniformRadius(double uniformRadius) const { winrt::Windows::UI::Xaml::CornerRadius result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ICornerRadiusHelperStatics)->FromUniformRadius(uniformRadius, put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IDataContextChangedEventArgs::NewValue() const + template auto consume_Windows_UI_Xaml_IDataContextChangedEventArgs::NewValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataContextChangedEventArgs)->get_NewValue(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDataContextChangedEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_IDataContextChangedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataContextChangedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDataContextChangedEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_IDataContextChangedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataContextChangedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_IDataTemplate::LoadContent() const + template auto consume_Windows_UI_Xaml_IDataTemplate::LoadContent() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataTemplate)->LoadContent(&result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDataTemplateExtension::ResetTemplate() const + template auto consume_Windows_UI_Xaml_IDataTemplateExtension::ResetTemplate() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataTemplateExtension)->ResetTemplate()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDataTemplateExtension::ProcessBinding(uint32_t phase) const + template auto consume_Windows_UI_Xaml_IDataTemplateExtension::ProcessBinding(uint32_t phase) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataTemplateExtension)->ProcessBinding(phase, &result)); return result; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_IDataTemplateExtension::ProcessBindings(winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs const& arg) const + template auto consume_Windows_UI_Xaml_IDataTemplateExtension::ProcessBindings(winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs const& arg) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataTemplateExtension)->ProcessBindings(*(void**)(&arg), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_IDataTemplateFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IDataTemplateFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataTemplateFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IDataTemplateKey::DataType() const + template auto consume_Windows_UI_Xaml_IDataTemplateKey::DataType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataTemplateKey)->get_DataType(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDataTemplateKey::DataType(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_IDataTemplateKey::DataType(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataTemplateKey)->put_DataType(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplateKey) consume_Windows_UI_Xaml_IDataTemplateKeyFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IDataTemplateKeyFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataTemplateKeyFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::DataTemplateKey{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplateKey) consume_Windows_UI_Xaml_IDataTemplateKeyFactory::CreateInstanceWithType(winrt::Windows::Foundation::IInspectable const& dataType, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IDataTemplateKeyFactory::CreateInstanceWithType(winrt::Windows::Foundation::IInspectable const& dataType, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataTemplateKeyFactory)->CreateInstanceWithType(*(void**)(&dataType), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::DataTemplateKey{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IDataTemplateStatics2::ExtensionInstanceProperty() const + template auto consume_Windows_UI_Xaml_IDataTemplateStatics2::ExtensionInstanceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataTemplateStatics2)->get_ExtensionInstanceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::IDataTemplateExtension) consume_Windows_UI_Xaml_IDataTemplateStatics2::GetExtensionInstance(winrt::Windows::UI::Xaml::FrameworkElement const& element) const + template auto consume_Windows_UI_Xaml_IDataTemplateStatics2::GetExtensionInstance(winrt::Windows::UI::Xaml::FrameworkElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataTemplateStatics2)->GetExtensionInstance(*(void**)(&element), &result)); return winrt::Windows::UI::Xaml::IDataTemplateExtension{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDataTemplateStatics2::SetExtensionInstance(winrt::Windows::UI::Xaml::FrameworkElement const& element, winrt::Windows::UI::Xaml::IDataTemplateExtension const& value) const + template auto consume_Windows_UI_Xaml_IDataTemplateStatics2::SetExtensionInstance(winrt::Windows::UI::Xaml::FrameworkElement const& element, winrt::Windows::UI::Xaml::IDataTemplateExtension const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataTemplateStatics2)->SetExtensionInstance(*(void**)(&element), *(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDebugSettings::EnableFrameRateCounter() const + template auto consume_Windows_UI_Xaml_IDebugSettings::EnableFrameRateCounter() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings)->get_EnableFrameRateCounter(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDebugSettings::EnableFrameRateCounter(bool value) const + template auto consume_Windows_UI_Xaml_IDebugSettings::EnableFrameRateCounter(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings)->put_EnableFrameRateCounter(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDebugSettings::IsBindingTracingEnabled() const + template auto consume_Windows_UI_Xaml_IDebugSettings::IsBindingTracingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings)->get_IsBindingTracingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDebugSettings::IsBindingTracingEnabled(bool value) const + template auto consume_Windows_UI_Xaml_IDebugSettings::IsBindingTracingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings)->put_IsBindingTracingEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDebugSettings::IsOverdrawHeatMapEnabled() const + template auto consume_Windows_UI_Xaml_IDebugSettings::IsOverdrawHeatMapEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings)->get_IsOverdrawHeatMapEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDebugSettings::IsOverdrawHeatMapEnabled(bool value) const + template auto consume_Windows_UI_Xaml_IDebugSettings::IsOverdrawHeatMapEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings)->put_IsOverdrawHeatMapEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IDebugSettings::BindingFailed(winrt::Windows::UI::Xaml::BindingFailedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IDebugSettings::BindingFailed(winrt::Windows::UI::Xaml::BindingFailedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings)->add_BindingFailed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IDebugSettings::BindingFailed_revoker consume_Windows_UI_Xaml_IDebugSettings::BindingFailed(auto_revoke_t, winrt::Windows::UI::Xaml::BindingFailedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IDebugSettings::BindingFailed(auto_revoke_t, winrt::Windows::UI::Xaml::BindingFailedEventHandler const& handler) const { return impl::make_event_revoker(this, BindingFailed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDebugSettings::BindingFailed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IDebugSettings::BindingFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings)->remove_BindingFailed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDebugSettings2::EnableRedrawRegions() const + template auto consume_Windows_UI_Xaml_IDebugSettings2::EnableRedrawRegions() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings2)->get_EnableRedrawRegions(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDebugSettings2::EnableRedrawRegions(bool value) const + template auto consume_Windows_UI_Xaml_IDebugSettings2::EnableRedrawRegions(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings2)->put_EnableRedrawRegions(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDebugSettings3::IsTextPerformanceVisualizationEnabled() const + template auto consume_Windows_UI_Xaml_IDebugSettings3::IsTextPerformanceVisualizationEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings3)->get_IsTextPerformanceVisualizationEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDebugSettings3::IsTextPerformanceVisualizationEnabled(bool value) const + template auto consume_Windows_UI_Xaml_IDebugSettings3::IsTextPerformanceVisualizationEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings3)->put_IsTextPerformanceVisualizationEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDebugSettings4::FailFastOnErrors() const + template auto consume_Windows_UI_Xaml_IDebugSettings4::FailFastOnErrors() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings4)->get_FailFastOnErrors(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDebugSettings4::FailFastOnErrors(bool value) const + template auto consume_Windows_UI_Xaml_IDebugSettings4::FailFastOnErrors(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings4)->put_FailFastOnErrors(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IDependencyObject::GetValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const + template auto consume_Windows_UI_Xaml_IDependencyObject::GetValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyObject)->GetValue(*(void**)(&dp), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDependencyObject::SetValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_IDependencyObject::SetValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyObject)->SetValue(*(void**)(&dp), *(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDependencyObject::ClearValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const + template auto consume_Windows_UI_Xaml_IDependencyObject::ClearValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyObject)->ClearValue(*(void**)(&dp))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IDependencyObject::ReadLocalValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const + template auto consume_Windows_UI_Xaml_IDependencyObject::ReadLocalValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyObject)->ReadLocalValue(*(void**)(&dp), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IDependencyObject::GetAnimationBaseValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const + template auto consume_Windows_UI_Xaml_IDependencyObject::GetAnimationBaseValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyObject)->GetAnimationBaseValue(*(void**)(&dp), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) consume_Windows_UI_Xaml_IDependencyObject::Dispatcher() const + template auto consume_Windows_UI_Xaml_IDependencyObject::Dispatcher() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyObject)->get_Dispatcher(&value)); return winrt::Windows::UI::Core::CoreDispatcher{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(int64_t) consume_Windows_UI_Xaml_IDependencyObject2::RegisterPropertyChangedCallback(winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::UI::Xaml::DependencyPropertyChangedCallback const& callback) const + template auto consume_Windows_UI_Xaml_IDependencyObject2::RegisterPropertyChangedCallback(winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::UI::Xaml::DependencyPropertyChangedCallback const& callback) const { int64_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyObject2)->RegisterPropertyChangedCallback(*(void**)(&dp), *(void**)(&callback), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDependencyObject2::UnregisterPropertyChangedCallback(winrt::Windows::UI::Xaml::DependencyProperty const& dp, int64_t token) const + template auto consume_Windows_UI_Xaml_IDependencyObject2::UnregisterPropertyChangedCallback(winrt::Windows::UI::Xaml::DependencyProperty const& dp, int64_t token) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyObject2)->UnregisterPropertyChangedCallback(*(void**)(&dp), token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObjectCollection) consume_Windows_UI_Xaml_IDependencyObjectCollectionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IDependencyObjectCollectionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyObjectCollectionFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::DependencyObjectCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_IDependencyObjectFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IDependencyObjectFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyObjectFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) consume_Windows_UI_Xaml_IDependencyProperty::GetMetadata(winrt::Windows::UI::Xaml::Interop::TypeName const& forType) const + template auto consume_Windows_UI_Xaml_IDependencyProperty::GetMetadata(winrt::Windows::UI::Xaml::Interop::TypeName const& forType) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyProperty)->GetMetadata(impl::bind_in(forType), &result)); return winrt::Windows::UI::Xaml::PropertyMetadata{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IDependencyPropertyChangedEventArgs::Property() const + template auto consume_Windows_UI_Xaml_IDependencyPropertyChangedEventArgs::Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyPropertyChangedEventArgs)->get_Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IDependencyPropertyChangedEventArgs::OldValue() const + template auto consume_Windows_UI_Xaml_IDependencyPropertyChangedEventArgs::OldValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyPropertyChangedEventArgs)->get_OldValue(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IDependencyPropertyChangedEventArgs::NewValue() const + template auto consume_Windows_UI_Xaml_IDependencyPropertyChangedEventArgs::NewValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyPropertyChangedEventArgs)->get_NewValue(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IDependencyPropertyStatics::UnsetValue() const + template auto consume_Windows_UI_Xaml_IDependencyPropertyStatics::UnsetValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyPropertyStatics)->get_UnsetValue(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IDependencyPropertyStatics::Register(param::hstring const& name, winrt::Windows::UI::Xaml::Interop::TypeName const& propertyType, winrt::Windows::UI::Xaml::Interop::TypeName const& ownerType, winrt::Windows::UI::Xaml::PropertyMetadata const& typeMetadata) const + template auto consume_Windows_UI_Xaml_IDependencyPropertyStatics::Register(param::hstring const& name, winrt::Windows::UI::Xaml::Interop::TypeName const& propertyType, winrt::Windows::UI::Xaml::Interop::TypeName const& ownerType, winrt::Windows::UI::Xaml::PropertyMetadata const& typeMetadata) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyPropertyStatics)->Register(*(void**)(&name), impl::bind_in(propertyType), impl::bind_in(ownerType), *(void**)(&typeMetadata), &result)); return winrt::Windows::UI::Xaml::DependencyProperty{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IDependencyPropertyStatics::RegisterAttached(param::hstring const& name, winrt::Windows::UI::Xaml::Interop::TypeName const& propertyType, winrt::Windows::UI::Xaml::Interop::TypeName const& ownerType, winrt::Windows::UI::Xaml::PropertyMetadata const& defaultMetadata) const + template auto consume_Windows_UI_Xaml_IDependencyPropertyStatics::RegisterAttached(param::hstring const& name, winrt::Windows::UI::Xaml::Interop::TypeName const& propertyType, winrt::Windows::UI::Xaml::Interop::TypeName const& ownerType, winrt::Windows::UI::Xaml::PropertyMetadata const& defaultMetadata) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyPropertyStatics)->RegisterAttached(*(void**)(&name), impl::bind_in(propertyType), impl::bind_in(ownerType), *(void**)(&defaultMetadata), &result)); return winrt::Windows::UI::Xaml::DependencyProperty{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_IDispatcherTimer::Interval() const + template auto consume_Windows_UI_Xaml_IDispatcherTimer::Interval() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDispatcherTimer)->get_Interval(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDispatcherTimer::Interval(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Xaml_IDispatcherTimer::Interval(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDispatcherTimer)->put_Interval(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDispatcherTimer::IsEnabled() const + template auto consume_Windows_UI_Xaml_IDispatcherTimer::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDispatcherTimer)->get_IsEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IDispatcherTimer::Tick(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IDispatcherTimer::Tick(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDispatcherTimer)->add_Tick(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IDispatcherTimer::Tick_revoker consume_Windows_UI_Xaml_IDispatcherTimer::Tick(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IDispatcherTimer::Tick(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Tick(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDispatcherTimer::Tick(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IDispatcherTimer::Tick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDispatcherTimer)->remove_Tick(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDispatcherTimer::Start() const + template auto consume_Windows_UI_Xaml_IDispatcherTimer::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDispatcherTimer)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDispatcherTimer::Stop() const + template auto consume_Windows_UI_Xaml_IDispatcherTimer::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDispatcherTimer)->Stop()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DispatcherTimer) consume_Windows_UI_Xaml_IDispatcherTimerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IDispatcherTimerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDispatcherTimerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::DispatcherTimer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDragEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_IDragEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_IDragEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) consume_Windows_UI_Xaml_IDragEventArgs::Data() const + template auto consume_Windows_UI_Xaml_IDragEventArgs::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs)->get_Data(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragEventArgs::Data(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& value) const + template auto consume_Windows_UI_Xaml_IDragEventArgs::Data(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_IDragEventArgs::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const + template auto consume_Windows_UI_Xaml_IDragEventArgs::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs)->GetPosition(*(void**)(&relativeTo), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) consume_Windows_UI_Xaml_IDragEventArgs2::DataView() const + template auto consume_Windows_UI_Xaml_IDragEventArgs2::DataView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs2)->get_DataView(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackageView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DragUIOverride) consume_Windows_UI_Xaml_IDragEventArgs2::DragUIOverride() const + template auto consume_Windows_UI_Xaml_IDragEventArgs2::DragUIOverride() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs2)->get_DragUIOverride(&value)); return winrt::Windows::UI::Xaml::DragUIOverride{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::DragDropModifiers) consume_Windows_UI_Xaml_IDragEventArgs2::Modifiers() const + template auto consume_Windows_UI_Xaml_IDragEventArgs2::Modifiers() const { winrt::Windows::ApplicationModel::DataTransfer::DragDrop::DragDropModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs2)->get_Modifiers(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_UI_Xaml_IDragEventArgs2::AcceptedOperation() const + template auto consume_Windows_UI_Xaml_IDragEventArgs2::AcceptedOperation() const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs2)->get_AcceptedOperation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragEventArgs2::AcceptedOperation(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const + template auto consume_Windows_UI_Xaml_IDragEventArgs2::AcceptedOperation(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs2)->put_AcceptedOperation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DragOperationDeferral) consume_Windows_UI_Xaml_IDragEventArgs2::GetDeferral() const + template auto consume_Windows_UI_Xaml_IDragEventArgs2::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs2)->GetDeferral(&result)); return winrt::Windows::UI::Xaml::DragOperationDeferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_UI_Xaml_IDragEventArgs3::AllowedOperations() const + template auto consume_Windows_UI_Xaml_IDragEventArgs3::AllowedOperations() const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs3)->get_AllowedOperations(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragOperationDeferral::Complete() const + template auto consume_Windows_UI_Xaml_IDragOperationDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragOperationDeferral)->Complete()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDragStartingEventArgs::Cancel() const + template auto consume_Windows_UI_Xaml_IDragStartingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragStartingEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragStartingEventArgs::Cancel(bool value) const + template auto consume_Windows_UI_Xaml_IDragStartingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragStartingEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) consume_Windows_UI_Xaml_IDragStartingEventArgs::Data() const + template auto consume_Windows_UI_Xaml_IDragStartingEventArgs::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragStartingEventArgs)->get_Data(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DragUI) consume_Windows_UI_Xaml_IDragStartingEventArgs::DragUI() const + template auto consume_Windows_UI_Xaml_IDragStartingEventArgs::DragUI() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragStartingEventArgs)->get_DragUI(&value)); return winrt::Windows::UI::Xaml::DragUI{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DragOperationDeferral) consume_Windows_UI_Xaml_IDragStartingEventArgs::GetDeferral() const + template auto consume_Windows_UI_Xaml_IDragStartingEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragStartingEventArgs)->GetDeferral(&result)); return winrt::Windows::UI::Xaml::DragOperationDeferral{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_IDragStartingEventArgs::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const + template auto consume_Windows_UI_Xaml_IDragStartingEventArgs::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragStartingEventArgs)->GetPosition(*(void**)(&relativeTo), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_UI_Xaml_IDragStartingEventArgs2::AllowedOperations() const + template auto consume_Windows_UI_Xaml_IDragStartingEventArgs2::AllowedOperations() const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragStartingEventArgs2)->get_AllowedOperations(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragStartingEventArgs2::AllowedOperations(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const + template auto consume_Windows_UI_Xaml_IDragStartingEventArgs2::AllowedOperations(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragStartingEventArgs2)->put_AllowedOperations(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUI::SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage) const + template auto consume_Windows_UI_Xaml_IDragUI::SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUI)->SetContentFromBitmapImage(*(void**)(&bitmapImage))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUI::SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage, winrt::Windows::Foundation::Point const& anchorPoint) const + template auto consume_Windows_UI_Xaml_IDragUI::SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage, winrt::Windows::Foundation::Point const& anchorPoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUI)->SetContentFromBitmapImageWithAnchorPoint(*(void**)(&bitmapImage), impl::bind_in(anchorPoint))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUI::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const + template auto consume_Windows_UI_Xaml_IDragUI::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUI)->SetContentFromSoftwareBitmap(*(void**)(&softwareBitmap))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUI::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const + template auto consume_Windows_UI_Xaml_IDragUI::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUI)->SetContentFromSoftwareBitmapWithAnchorPoint(*(void**)(&softwareBitmap), impl::bind_in(anchorPoint))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUI::SetContentFromDataPackage() const + template auto consume_Windows_UI_Xaml_IDragUI::SetContentFromDataPackage() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUI)->SetContentFromDataPackage()); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IDragUIOverride::Caption() const + template auto consume_Windows_UI_Xaml_IDragUIOverride::Caption() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->get_Caption(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride::Caption(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_IDragUIOverride::Caption(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->put_Caption(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDragUIOverride::IsContentVisible() const + template auto consume_Windows_UI_Xaml_IDragUIOverride::IsContentVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->get_IsContentVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride::IsContentVisible(bool value) const + template auto consume_Windows_UI_Xaml_IDragUIOverride::IsContentVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->put_IsContentVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDragUIOverride::IsCaptionVisible() const + template auto consume_Windows_UI_Xaml_IDragUIOverride::IsCaptionVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->get_IsCaptionVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride::IsCaptionVisible(bool value) const + template auto consume_Windows_UI_Xaml_IDragUIOverride::IsCaptionVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->put_IsCaptionVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDragUIOverride::IsGlyphVisible() const + template auto consume_Windows_UI_Xaml_IDragUIOverride::IsGlyphVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->get_IsGlyphVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride::IsGlyphVisible(bool value) const + template auto consume_Windows_UI_Xaml_IDragUIOverride::IsGlyphVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->put_IsGlyphVisible(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride::Clear() const + template auto consume_Windows_UI_Xaml_IDragUIOverride::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->Clear()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride::SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage) const + template auto consume_Windows_UI_Xaml_IDragUIOverride::SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->SetContentFromBitmapImage(*(void**)(&bitmapImage))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride::SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage, winrt::Windows::Foundation::Point const& anchorPoint) const + template auto consume_Windows_UI_Xaml_IDragUIOverride::SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage, winrt::Windows::Foundation::Point const& anchorPoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->SetContentFromBitmapImageWithAnchorPoint(*(void**)(&bitmapImage), impl::bind_in(anchorPoint))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const + template auto consume_Windows_UI_Xaml_IDragUIOverride::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->SetContentFromSoftwareBitmap(*(void**)(&softwareBitmap))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const + template auto consume_Windows_UI_Xaml_IDragUIOverride::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->SetContentFromSoftwareBitmapWithAnchorPoint(*(void**)(&softwareBitmap), impl::bind_in(anchorPoint))); } - template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_UI_Xaml_IDropCompletedEventArgs::DropResult() const + template auto consume_Windows_UI_Xaml_IDropCompletedEventArgs::DropResult() const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDropCompletedEventArgs)->get_DropResult(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_IDurationHelperStatics::Automatic() const + template auto consume_Windows_UI_Xaml_IDurationHelperStatics::Automatic() const { winrt::Windows::UI::Xaml::Duration value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDurationHelperStatics)->get_Automatic(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_IDurationHelperStatics::Forever() const + template auto consume_Windows_UI_Xaml_IDurationHelperStatics::Forever() const { winrt::Windows::UI::Xaml::Duration value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDurationHelperStatics)->get_Forever(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_IDurationHelperStatics::Compare(winrt::Windows::UI::Xaml::Duration const& duration1, winrt::Windows::UI::Xaml::Duration const& duration2) const + template auto consume_Windows_UI_Xaml_IDurationHelperStatics::Compare(winrt::Windows::UI::Xaml::Duration const& duration1, winrt::Windows::UI::Xaml::Duration const& duration2) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDurationHelperStatics)->Compare(impl::bind_in(duration1), impl::bind_in(duration2), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_IDurationHelperStatics::FromTimeSpan(winrt::Windows::Foundation::TimeSpan const& timeSpan) const + template auto consume_Windows_UI_Xaml_IDurationHelperStatics::FromTimeSpan(winrt::Windows::Foundation::TimeSpan const& timeSpan) const { winrt::Windows::UI::Xaml::Duration result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDurationHelperStatics)->FromTimeSpan(impl::bind_in(timeSpan), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDurationHelperStatics::GetHasTimeSpan(winrt::Windows::UI::Xaml::Duration const& target) const + template auto consume_Windows_UI_Xaml_IDurationHelperStatics::GetHasTimeSpan(winrt::Windows::UI::Xaml::Duration const& target) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDurationHelperStatics)->GetHasTimeSpan(impl::bind_in(target), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_IDurationHelperStatics::Add(winrt::Windows::UI::Xaml::Duration const& target, winrt::Windows::UI::Xaml::Duration const& duration) const + template auto consume_Windows_UI_Xaml_IDurationHelperStatics::Add(winrt::Windows::UI::Xaml::Duration const& target, winrt::Windows::UI::Xaml::Duration const& duration) const { winrt::Windows::UI::Xaml::Duration result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDurationHelperStatics)->Add(impl::bind_in(target), impl::bind_in(duration), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDurationHelperStatics::Equals(winrt::Windows::UI::Xaml::Duration const& target, winrt::Windows::UI::Xaml::Duration const& value) const + template auto consume_Windows_UI_Xaml_IDurationHelperStatics::Equals(winrt::Windows::UI::Xaml::Duration const& target, winrt::Windows::UI::Xaml::Duration const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDurationHelperStatics)->Equals(impl::bind_in(target), impl::bind_in(value), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_IDurationHelperStatics::Subtract(winrt::Windows::UI::Xaml::Duration const& target, winrt::Windows::UI::Xaml::Duration const& duration) const + template auto consume_Windows_UI_Xaml_IDurationHelperStatics::Subtract(winrt::Windows::UI::Xaml::Duration const& target, winrt::Windows::UI::Xaml::Duration const& duration) const { winrt::Windows::UI::Xaml::Duration result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDurationHelperStatics)->Subtract(impl::bind_in(target), impl::bind_in(duration), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs::EffectiveViewport() const + template auto consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs::EffectiveViewport() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IEffectiveViewportChangedEventArgs)->get_EffectiveViewport(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs::MaxViewport() const + template auto consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs::MaxViewport() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IEffectiveViewportChangedEventArgs)->get_MaxViewport(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs::BringIntoViewDistanceX() const + template auto consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs::BringIntoViewDistanceX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IEffectiveViewportChangedEventArgs)->get_BringIntoViewDistanceX(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs::BringIntoViewDistanceY() const + template auto consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs::BringIntoViewDistanceY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IEffectiveViewportChangedEventArgs)->get_BringIntoViewDistanceY(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_IElementFactory::GetElement(winrt::Windows::UI::Xaml::ElementFactoryGetArgs const& args) const + template auto consume_Windows_UI_Xaml_IElementFactory::GetElement(winrt::Windows::UI::Xaml::ElementFactoryGetArgs const& args) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactory)->GetElement(*(void**)(&args), &result)); return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementFactory::RecycleElement(winrt::Windows::UI::Xaml::ElementFactoryRecycleArgs const& args) const + template auto consume_Windows_UI_Xaml_IElementFactory::RecycleElement(winrt::Windows::UI::Xaml::ElementFactoryRecycleArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactory)->RecycleElement(*(void**)(&args))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IElementFactoryGetArgs::Data() const + template auto consume_Windows_UI_Xaml_IElementFactoryGetArgs::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactoryGetArgs)->get_Data(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementFactoryGetArgs::Data(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_IElementFactoryGetArgs::Data(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactoryGetArgs)->put_Data(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_IElementFactoryGetArgs::Parent() const + template auto consume_Windows_UI_Xaml_IElementFactoryGetArgs::Parent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactoryGetArgs)->get_Parent(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementFactoryGetArgs::Parent(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_IElementFactoryGetArgs::Parent(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactoryGetArgs)->put_Parent(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementFactoryGetArgs) consume_Windows_UI_Xaml_IElementFactoryGetArgsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IElementFactoryGetArgsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactoryGetArgsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::ElementFactoryGetArgs{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_IElementFactoryRecycleArgs::Element() const + template auto consume_Windows_UI_Xaml_IElementFactoryRecycleArgs::Element() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactoryRecycleArgs)->get_Element(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementFactoryRecycleArgs::Element(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_IElementFactoryRecycleArgs::Element(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactoryRecycleArgs)->put_Element(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_IElementFactoryRecycleArgs::Parent() const + template auto consume_Windows_UI_Xaml_IElementFactoryRecycleArgs::Parent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactoryRecycleArgs)->get_Parent(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementFactoryRecycleArgs::Parent(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_IElementFactoryRecycleArgs::Parent(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactoryRecycleArgs)->put_Parent(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementFactoryRecycleArgs) consume_Windows_UI_Xaml_IElementFactoryRecycleArgsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IElementFactoryRecycleArgsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactoryRecycleArgsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::ElementFactoryRecycleArgs{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IElementSoundPlayerStatics::Volume() const + template auto consume_Windows_UI_Xaml_IElementSoundPlayerStatics::Volume() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementSoundPlayerStatics)->get_Volume(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementSoundPlayerStatics::Volume(double value) const + template auto consume_Windows_UI_Xaml_IElementSoundPlayerStatics::Volume(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementSoundPlayerStatics)->put_Volume(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSoundPlayerState) consume_Windows_UI_Xaml_IElementSoundPlayerStatics::State() const + template auto consume_Windows_UI_Xaml_IElementSoundPlayerStatics::State() const { winrt::Windows::UI::Xaml::ElementSoundPlayerState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementSoundPlayerStatics)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementSoundPlayerStatics::State(winrt::Windows::UI::Xaml::ElementSoundPlayerState const& value) const + template auto consume_Windows_UI_Xaml_IElementSoundPlayerStatics::State(winrt::Windows::UI::Xaml::ElementSoundPlayerState const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementSoundPlayerStatics)->put_State(static_cast(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementSoundPlayerStatics::Play(winrt::Windows::UI::Xaml::ElementSoundKind const& sound) const + template auto consume_Windows_UI_Xaml_IElementSoundPlayerStatics::Play(winrt::Windows::UI::Xaml::ElementSoundKind const& sound) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementSoundPlayerStatics)->Play(static_cast(sound))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSpatialAudioMode) consume_Windows_UI_Xaml_IElementSoundPlayerStatics2::SpatialAudioMode() const + template auto consume_Windows_UI_Xaml_IElementSoundPlayerStatics2::SpatialAudioMode() const { winrt::Windows::UI::Xaml::ElementSpatialAudioMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementSoundPlayerStatics2)->get_SpatialAudioMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementSoundPlayerStatics2::SpatialAudioMode(winrt::Windows::UI::Xaml::ElementSpatialAudioMode const& value) const + template auto consume_Windows_UI_Xaml_IElementSoundPlayerStatics2::SpatialAudioMode(winrt::Windows::UI::Xaml::ElementSpatialAudioMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementSoundPlayerStatics2)->put_SpatialAudioMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IEventTrigger::RoutedEvent() const + template auto consume_Windows_UI_Xaml_IEventTrigger::RoutedEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IEventTrigger)->get_RoutedEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IEventTrigger::RoutedEvent(winrt::Windows::UI::Xaml::RoutedEvent const& value) const + template auto consume_Windows_UI_Xaml_IEventTrigger::RoutedEvent(winrt::Windows::UI::Xaml::RoutedEvent const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IEventTrigger)->put_RoutedEvent(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TriggerActionCollection) consume_Windows_UI_Xaml_IEventTrigger::Actions() const + template auto consume_Windows_UI_Xaml_IEventTrigger::Actions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IEventTrigger)->get_Actions(&value)); return winrt::Windows::UI::Xaml::TriggerActionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IExceptionRoutedEventArgs::ErrorMessage() const + template auto consume_Windows_UI_Xaml_IExceptionRoutedEventArgs::ErrorMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IExceptionRoutedEventArgs)->get_ErrorMessage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TriggerCollection) consume_Windows_UI_Xaml_IFrameworkElement::Triggers() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Triggers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_Triggers(&value)); return winrt::Windows::UI::Xaml::TriggerCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ResourceDictionary) consume_Windows_UI_Xaml_IFrameworkElement::Resources() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Resources() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_Resources(&value)); return winrt::Windows::UI::Xaml::ResourceDictionary{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::Resources(winrt::Windows::UI::Xaml::ResourceDictionary const& value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Resources(winrt::Windows::UI::Xaml::ResourceDictionary const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_Resources(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IFrameworkElement::Tag() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Tag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_Tag(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::Tag(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Tag(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_Tag(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IFrameworkElement::Language() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::Language(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Language(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_Language(*(void**)(&value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IFrameworkElement::ActualWidth() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::ActualWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_ActualWidth(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IFrameworkElement::ActualHeight() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::ActualHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_ActualHeight(&value)); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IFrameworkElement::Width() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Width() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_Width(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::Width(double value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Width(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_Width(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IFrameworkElement::Height() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Height() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_Height(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::Height(double value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Height(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_Height(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IFrameworkElement::MinWidth() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::MinWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_MinWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::MinWidth(double value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::MinWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_MinWidth(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IFrameworkElement::MaxWidth() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::MaxWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_MaxWidth(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::MaxWidth(double value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::MaxWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_MaxWidth(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IFrameworkElement::MinHeight() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::MinHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_MinHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::MinHeight(double value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::MinHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_MinHeight(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IFrameworkElement::MaxHeight() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::MaxHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_MaxHeight(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::MaxHeight(double value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::MaxHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_MaxHeight(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_IFrameworkElement::HorizontalAlignment() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::HorizontalAlignment() const { winrt::Windows::UI::Xaml::HorizontalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_HorizontalAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::HorizontalAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::HorizontalAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_HorizontalAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_IFrameworkElement::VerticalAlignment() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::VerticalAlignment() const { winrt::Windows::UI::Xaml::VerticalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_VerticalAlignment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::VerticalAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::VerticalAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_VerticalAlignment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_IFrameworkElement::Margin() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Margin() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_Margin(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::Margin(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Margin(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_Margin(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IFrameworkElement::Name() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::Name(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_IFrameworkElement::BaseUri() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::BaseUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_BaseUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IFrameworkElement::DataContext() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::DataContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_DataContext(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::DataContext(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::DataContext(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_DataContext(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_IFrameworkElement::Style() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Style() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_Style(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::Style(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Style(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_Style(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_IFrameworkElement::Parent() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Parent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_Parent(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FlowDirection) consume_Windows_UI_Xaml_IFrameworkElement::FlowDirection() const + template auto consume_Windows_UI_Xaml_IFrameworkElement::FlowDirection() const { winrt::Windows::UI::Xaml::FlowDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_FlowDirection(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::FlowDirection(winrt::Windows::UI::Xaml::FlowDirection const& value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::FlowDirection(winrt::Windows::UI::Xaml::FlowDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_FlowDirection(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IFrameworkElement::Loaded(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Loaded(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->add_Loaded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IFrameworkElement::Loaded_revoker consume_Windows_UI_Xaml_IFrameworkElement::Loaded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Loaded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, Loaded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::Loaded(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IFrameworkElement::Loaded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->remove_Loaded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IFrameworkElement::Unloaded(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Unloaded(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->add_Unloaded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IFrameworkElement::Unloaded_revoker consume_Windows_UI_Xaml_IFrameworkElement::Unloaded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::Unloaded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, Unloaded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::Unloaded(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IFrameworkElement::Unloaded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->remove_Unloaded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IFrameworkElement::SizeChanged(winrt::Windows::UI::Xaml::SizeChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::SizeChanged(winrt::Windows::UI::Xaml::SizeChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->add_SizeChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IFrameworkElement::SizeChanged_revoker consume_Windows_UI_Xaml_IFrameworkElement::SizeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::SizeChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::SizeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::SizeChangedEventHandler const& handler) const { return impl::make_event_revoker(this, SizeChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::SizeChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IFrameworkElement::SizeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->remove_SizeChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IFrameworkElement::LayoutUpdated(winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::LayoutUpdated(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->add_LayoutUpdated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IFrameworkElement::LayoutUpdated_revoker consume_Windows_UI_Xaml_IFrameworkElement::LayoutUpdated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::LayoutUpdated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, LayoutUpdated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::LayoutUpdated(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IFrameworkElement::LayoutUpdated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->remove_LayoutUpdated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IFrameworkElement::FindName(param::hstring const& name) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::FindName(param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->FindName(*(void**)(&name), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement::SetBinding(winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::UI::Xaml::Data::BindingBase const& binding) const + template auto consume_Windows_UI_Xaml_IFrameworkElement::SetBinding(winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::UI::Xaml::Data::BindingBase const& binding) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->SetBinding(*(void**)(&dp), *(void**)(&binding))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementTheme) consume_Windows_UI_Xaml_IFrameworkElement2::RequestedTheme() const + template auto consume_Windows_UI_Xaml_IFrameworkElement2::RequestedTheme() const { winrt::Windows::UI::Xaml::ElementTheme value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement2)->get_RequestedTheme(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement2::RequestedTheme(winrt::Windows::UI::Xaml::ElementTheme const& value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement2::RequestedTheme(winrt::Windows::UI::Xaml::ElementTheme const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement2)->put_RequestedTheme(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IFrameworkElement2::DataContextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IFrameworkElement2::DataContextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement2)->add_DataContextChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IFrameworkElement2::DataContextChanged_revoker consume_Windows_UI_Xaml_IFrameworkElement2::DataContextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IFrameworkElement2::DataContextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DataContextChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement2::DataContextChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IFrameworkElement2::DataContextChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement2)->remove_DataContextChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::BindingExpression) consume_Windows_UI_Xaml_IFrameworkElement2::GetBindingExpression(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const + template auto consume_Windows_UI_Xaml_IFrameworkElement2::GetBindingExpression(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement2)->GetBindingExpression(*(void**)(&dp), &result)); return winrt::Windows::UI::Xaml::Data::BindingExpression{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IFrameworkElement3::Loading(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IFrameworkElement3::Loading(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement3)->add_Loading(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IFrameworkElement3::Loading_revoker consume_Windows_UI_Xaml_IFrameworkElement3::Loading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IFrameworkElement3::Loading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Loading(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement3::Loading(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IFrameworkElement3::Loading(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement3)->remove_Loading(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IFrameworkElement4::AllowFocusOnInteraction() const + template auto consume_Windows_UI_Xaml_IFrameworkElement4::AllowFocusOnInteraction() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->get_AllowFocusOnInteraction(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement4::AllowFocusOnInteraction(bool value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement4::AllowFocusOnInteraction(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->put_AllowFocusOnInteraction(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualMargin() const + template auto consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualMargin() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->get_FocusVisualMargin(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualMargin(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualMargin(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->put_FocusVisualMargin(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualSecondaryThickness() const + template auto consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualSecondaryThickness() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->get_FocusVisualSecondaryThickness(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualSecondaryThickness(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualSecondaryThickness(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->put_FocusVisualSecondaryThickness(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualPrimaryThickness() const + template auto consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualPrimaryThickness() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->get_FocusVisualPrimaryThickness(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualPrimaryThickness(winrt::Windows::UI::Xaml::Thickness const& value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualPrimaryThickness(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->put_FocusVisualPrimaryThickness(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualSecondaryBrush() const + template auto consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualSecondaryBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->get_FocusVisualSecondaryBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualSecondaryBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualSecondaryBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->put_FocusVisualSecondaryBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualPrimaryBrush() const + template auto consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualPrimaryBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->get_FocusVisualPrimaryBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualPrimaryBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement4::FocusVisualPrimaryBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->put_FocusVisualPrimaryBrush(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IFrameworkElement4::AllowFocusWhenDisabled() const + template auto consume_Windows_UI_Xaml_IFrameworkElement4::AllowFocusWhenDisabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->get_AllowFocusWhenDisabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement4::AllowFocusWhenDisabled(bool value) const + template auto consume_Windows_UI_Xaml_IFrameworkElement4::AllowFocusWhenDisabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->put_AllowFocusWhenDisabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementTheme) consume_Windows_UI_Xaml_IFrameworkElement6::ActualTheme() const + template auto consume_Windows_UI_Xaml_IFrameworkElement6::ActualTheme() const { winrt::Windows::UI::Xaml::ElementTheme value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement6)->get_ActualTheme(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IFrameworkElement6::ActualThemeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IFrameworkElement6::ActualThemeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement6)->add_ActualThemeChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IFrameworkElement6::ActualThemeChanged_revoker consume_Windows_UI_Xaml_IFrameworkElement6::ActualThemeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IFrameworkElement6::ActualThemeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ActualThemeChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement6::ActualThemeChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IFrameworkElement6::ActualThemeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement6)->remove_ActualThemeChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IFrameworkElement7::IsLoaded() const + template auto consume_Windows_UI_Xaml_IFrameworkElement7::IsLoaded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement7)->get_IsLoaded(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IFrameworkElement7::EffectiveViewportChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IFrameworkElement7::EffectiveViewportChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement7)->add_EffectiveViewportChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IFrameworkElement7::EffectiveViewportChanged_revoker consume_Windows_UI_Xaml_IFrameworkElement7::EffectiveViewportChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IFrameworkElement7::EffectiveViewportChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EffectiveViewportChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement7::EffectiveViewportChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IFrameworkElement7::EffectiveViewportChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement7)->remove_EffectiveViewportChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FrameworkElement) consume_Windows_UI_Xaml_IFrameworkElementFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IFrameworkElementFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::FrameworkElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_IFrameworkElementOverrides::MeasureOverride(winrt::Windows::Foundation::Size const& availableSize) const + template auto consume_Windows_UI_Xaml_IFrameworkElementOverrides::MeasureOverride(winrt::Windows::Foundation::Size const& availableSize) const { winrt::Windows::Foundation::Size result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementOverrides)->MeasureOverride(impl::bind_in(availableSize), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_IFrameworkElementOverrides::ArrangeOverride(winrt::Windows::Foundation::Size const& finalSize) const + template auto consume_Windows_UI_Xaml_IFrameworkElementOverrides::ArrangeOverride(winrt::Windows::Foundation::Size const& finalSize) const { winrt::Windows::Foundation::Size result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementOverrides)->ArrangeOverride(impl::bind_in(finalSize), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElementOverrides::OnApplyTemplate() const + template auto consume_Windows_UI_Xaml_IFrameworkElementOverrides::OnApplyTemplate() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementOverrides)->OnApplyTemplate()); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IFrameworkElementOverrides2::GoToElementStateCore(param::hstring const& stateName, bool useTransitions) const + template auto consume_Windows_UI_Xaml_IFrameworkElementOverrides2::GoToElementStateCore(param::hstring const& stateName, bool useTransitions) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementOverrides2)->GoToElementStateCore(*(void**)(&stateName), useTransitions, &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElementProtected7::InvalidateViewport() const + template auto consume_Windows_UI_Xaml_IFrameworkElementProtected7::InvalidateViewport() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementProtected7)->InvalidateViewport()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::TagProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::TagProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_TagProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::LanguageProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::LanguageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_LanguageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::ActualWidthProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::ActualWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_ActualWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::ActualHeightProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::ActualHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_ActualHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::WidthProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::WidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_WidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::HeightProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::HeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_HeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::MinWidthProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::MinWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_MinWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::MaxWidthProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::MaxWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_MaxWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::MinHeightProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::MinHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_MinHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::MaxHeightProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::MaxHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_MaxHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::HorizontalAlignmentProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::HorizontalAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_HorizontalAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::VerticalAlignmentProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::VerticalAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_VerticalAlignmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::MarginProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::MarginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_MarginProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::NameProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::NameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_NameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::DataContextProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::DataContextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_DataContextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::StyleProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::StyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_StyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics::FlowDirectionProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics::FlowDirectionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics)->get_FlowDirectionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics2::RequestedThemeProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics2::RequestedThemeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics2)->get_RequestedThemeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics4::AllowFocusOnInteractionProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics4::AllowFocusOnInteractionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics4)->get_AllowFocusOnInteractionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics4::FocusVisualMarginProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics4::FocusVisualMarginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics4)->get_FocusVisualMarginProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics4::FocusVisualSecondaryThicknessProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics4::FocusVisualSecondaryThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics4)->get_FocusVisualSecondaryThicknessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics4::FocusVisualPrimaryThicknessProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics4::FocusVisualPrimaryThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics4)->get_FocusVisualPrimaryThicknessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics4::FocusVisualSecondaryBrushProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics4::FocusVisualSecondaryBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics4)->get_FocusVisualSecondaryBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics4::FocusVisualPrimaryBrushProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics4::FocusVisualPrimaryBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics4)->get_FocusVisualPrimaryBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics4::AllowFocusWhenDisabledProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics4::AllowFocusWhenDisabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics4)->get_AllowFocusWhenDisabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElementStatics5::DeferTree(winrt::Windows::UI::Xaml::DependencyObject const& element) const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics5::DeferTree(winrt::Windows::UI::Xaml::DependencyObject const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics5)->DeferTree(*(void**)(&element))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics6::ActualThemeProperty() const + template auto consume_Windows_UI_Xaml_IFrameworkElementStatics6::ActualThemeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics6)->get_ActualThemeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FrameworkTemplate) consume_Windows_UI_Xaml_IFrameworkTemplateFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IFrameworkTemplateFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkTemplateFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::FrameworkTemplate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_IGridLengthHelperStatics::Auto() const + template auto consume_Windows_UI_Xaml_IGridLengthHelperStatics::Auto() const { winrt::Windows::UI::Xaml::GridLength value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IGridLengthHelperStatics)->get_Auto(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_IGridLengthHelperStatics::FromPixels(double pixels) const + template auto consume_Windows_UI_Xaml_IGridLengthHelperStatics::FromPixels(double pixels) const { winrt::Windows::UI::Xaml::GridLength result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IGridLengthHelperStatics)->FromPixels(pixels, put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_IGridLengthHelperStatics::FromValueAndType(double value, winrt::Windows::UI::Xaml::GridUnitType const& type) const + template auto consume_Windows_UI_Xaml_IGridLengthHelperStatics::FromValueAndType(double value, winrt::Windows::UI::Xaml::GridUnitType const& type) const { winrt::Windows::UI::Xaml::GridLength result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IGridLengthHelperStatics)->FromValueAndType(value, static_cast(type), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IGridLengthHelperStatics::GetIsAbsolute(winrt::Windows::UI::Xaml::GridLength const& target) const + template auto consume_Windows_UI_Xaml_IGridLengthHelperStatics::GetIsAbsolute(winrt::Windows::UI::Xaml::GridLength const& target) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IGridLengthHelperStatics)->GetIsAbsolute(impl::bind_in(target), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IGridLengthHelperStatics::GetIsAuto(winrt::Windows::UI::Xaml::GridLength const& target) const + template auto consume_Windows_UI_Xaml_IGridLengthHelperStatics::GetIsAuto(winrt::Windows::UI::Xaml::GridLength const& target) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IGridLengthHelperStatics)->GetIsAuto(impl::bind_in(target), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IGridLengthHelperStatics::GetIsStar(winrt::Windows::UI::Xaml::GridLength const& target) const + template auto consume_Windows_UI_Xaml_IGridLengthHelperStatics::GetIsStar(winrt::Windows::UI::Xaml::GridLength const& target) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IGridLengthHelperStatics)->GetIsStar(impl::bind_in(target), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IGridLengthHelperStatics::Equals(winrt::Windows::UI::Xaml::GridLength const& target, winrt::Windows::UI::Xaml::GridLength const& value) const + template auto consume_Windows_UI_Xaml_IGridLengthHelperStatics::Equals(winrt::Windows::UI::Xaml::GridLength const& target, winrt::Windows::UI::Xaml::GridLength const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IGridLengthHelperStatics)->Equals(impl::bind_in(target), impl::bind_in(value), &result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IMediaFailedRoutedEventArgs::ErrorTrace() const + template auto consume_Windows_UI_Xaml_IMediaFailedRoutedEventArgs::ErrorTrace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IMediaFailedRoutedEventArgs)->get_ErrorTrace(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_IPointHelperStatics::FromCoordinates(float x, float y) const + template auto consume_Windows_UI_Xaml_IPointHelperStatics::FromCoordinates(float x, float y) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IPointHelperStatics)->FromCoordinates(x, y, put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IPropertyMetadata::DefaultValue() const + template auto consume_Windows_UI_Xaml_IPropertyMetadata::DefaultValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IPropertyMetadata)->get_DefaultValue(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CreateDefaultValueCallback) consume_Windows_UI_Xaml_IPropertyMetadata::CreateDefaultValueCallback() const + template auto consume_Windows_UI_Xaml_IPropertyMetadata::CreateDefaultValueCallback() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IPropertyMetadata)->get_CreateDefaultValueCallback(&value)); return winrt::Windows::UI::Xaml::CreateDefaultValueCallback{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) consume_Windows_UI_Xaml_IPropertyMetadataFactory::CreateInstanceWithDefaultValue(winrt::Windows::Foundation::IInspectable const& defaultValue, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IPropertyMetadataFactory::CreateInstanceWithDefaultValue(winrt::Windows::Foundation::IInspectable const& defaultValue, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IPropertyMetadataFactory)->CreateInstanceWithDefaultValue(*(void**)(&defaultValue), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::PropertyMetadata{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) consume_Windows_UI_Xaml_IPropertyMetadataFactory::CreateInstanceWithDefaultValueAndCallback(winrt::Windows::Foundation::IInspectable const& defaultValue, winrt::Windows::UI::Xaml::PropertyChangedCallback const& propertyChangedCallback, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IPropertyMetadataFactory::CreateInstanceWithDefaultValueAndCallback(winrt::Windows::Foundation::IInspectable const& defaultValue, winrt::Windows::UI::Xaml::PropertyChangedCallback const& propertyChangedCallback, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IPropertyMetadataFactory)->CreateInstanceWithDefaultValueAndCallback(*(void**)(&defaultValue), *(void**)(&propertyChangedCallback), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::PropertyMetadata{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) consume_Windows_UI_Xaml_IPropertyMetadataStatics::Create(winrt::Windows::Foundation::IInspectable const& defaultValue) const + template auto consume_Windows_UI_Xaml_IPropertyMetadataStatics::Create(winrt::Windows::Foundation::IInspectable const& defaultValue) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IPropertyMetadataStatics)->CreateWithDefaultValue(*(void**)(&defaultValue), &result)); return winrt::Windows::UI::Xaml::PropertyMetadata{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) consume_Windows_UI_Xaml_IPropertyMetadataStatics::Create(winrt::Windows::Foundation::IInspectable const& defaultValue, winrt::Windows::UI::Xaml::PropertyChangedCallback const& propertyChangedCallback) const + template auto consume_Windows_UI_Xaml_IPropertyMetadataStatics::Create(winrt::Windows::Foundation::IInspectable const& defaultValue, winrt::Windows::UI::Xaml::PropertyChangedCallback const& propertyChangedCallback) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IPropertyMetadataStatics)->CreateWithDefaultValueAndCallback(*(void**)(&defaultValue), *(void**)(&propertyChangedCallback), &result)); return winrt::Windows::UI::Xaml::PropertyMetadata{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) consume_Windows_UI_Xaml_IPropertyMetadataStatics::Create(winrt::Windows::UI::Xaml::CreateDefaultValueCallback const& createDefaultValueCallback) const + template auto consume_Windows_UI_Xaml_IPropertyMetadataStatics::Create(winrt::Windows::UI::Xaml::CreateDefaultValueCallback const& createDefaultValueCallback) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IPropertyMetadataStatics)->CreateWithFactory(*(void**)(&createDefaultValueCallback), &result)); return winrt::Windows::UI::Xaml::PropertyMetadata{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) consume_Windows_UI_Xaml_IPropertyMetadataStatics::Create(winrt::Windows::UI::Xaml::CreateDefaultValueCallback const& createDefaultValueCallback, winrt::Windows::UI::Xaml::PropertyChangedCallback const& propertyChangedCallback) const + template auto consume_Windows_UI_Xaml_IPropertyMetadataStatics::Create(winrt::Windows::UI::Xaml::CreateDefaultValueCallback const& createDefaultValueCallback, winrt::Windows::UI::Xaml::PropertyChangedCallback const& propertyChangedCallback) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IPropertyMetadataStatics)->CreateWithFactoryAndCallback(*(void**)(&createDefaultValueCallback), *(void**)(&propertyChangedCallback), &result)); return winrt::Windows::UI::Xaml::PropertyMetadata{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IPropertyPath::Path() const + template auto consume_Windows_UI_Xaml_IPropertyPath::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IPropertyPath)->get_Path(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyPath) consume_Windows_UI_Xaml_IPropertyPathFactory::CreateInstance(param::hstring const& path) const + template auto consume_Windows_UI_Xaml_IPropertyPathFactory::CreateInstance(param::hstring const& path) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IPropertyPathFactory)->CreateInstance(*(void**)(&path), &value)); return winrt::Windows::UI::Xaml::PropertyPath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IRectHelperStatics::Empty() const + template auto consume_Windows_UI_Xaml_IRectHelperStatics::Empty() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IRectHelperStatics)->get_Empty(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IRectHelperStatics::FromCoordinatesAndDimensions(float x, float y, float width, float height) const + template auto consume_Windows_UI_Xaml_IRectHelperStatics::FromCoordinatesAndDimensions(float x, float y, float width, float height) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IRectHelperStatics)->FromCoordinatesAndDimensions(x, y, width, height, put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IRectHelperStatics::FromPoints(winrt::Windows::Foundation::Point const& point1, winrt::Windows::Foundation::Point const& point2) const + template auto consume_Windows_UI_Xaml_IRectHelperStatics::FromPoints(winrt::Windows::Foundation::Point const& point1, winrt::Windows::Foundation::Point const& point2) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IRectHelperStatics)->FromPoints(impl::bind_in(point1), impl::bind_in(point2), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IRectHelperStatics::FromLocationAndSize(winrt::Windows::Foundation::Point const& location, winrt::Windows::Foundation::Size const& size) const + template auto consume_Windows_UI_Xaml_IRectHelperStatics::FromLocationAndSize(winrt::Windows::Foundation::Point const& location, winrt::Windows::Foundation::Size const& size) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IRectHelperStatics)->FromLocationAndSize(impl::bind_in(location), impl::bind_in(size), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IRectHelperStatics::GetIsEmpty(winrt::Windows::Foundation::Rect const& target) const + template auto consume_Windows_UI_Xaml_IRectHelperStatics::GetIsEmpty(winrt::Windows::Foundation::Rect const& target) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IRectHelperStatics)->GetIsEmpty(impl::bind_in(target), &result)); return result; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_IRectHelperStatics::GetBottom(winrt::Windows::Foundation::Rect const& target) const + template auto consume_Windows_UI_Xaml_IRectHelperStatics::GetBottom(winrt::Windows::Foundation::Rect const& target) const { float result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IRectHelperStatics)->GetBottom(impl::bind_in(target), &result)); return result; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_IRectHelperStatics::GetLeft(winrt::Windows::Foundation::Rect const& target) const + template auto consume_Windows_UI_Xaml_IRectHelperStatics::GetLeft(winrt::Windows::Foundation::Rect const& target) const { float result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IRectHelperStatics)->GetLeft(impl::bind_in(target), &result)); return result; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_IRectHelperStatics::GetRight(winrt::Windows::Foundation::Rect const& target) const + template auto consume_Windows_UI_Xaml_IRectHelperStatics::GetRight(winrt::Windows::Foundation::Rect const& target) const { float result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IRectHelperStatics)->GetRight(impl::bind_in(target), &result)); return result; } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_IRectHelperStatics::GetTop(winrt::Windows::Foundation::Rect const& target) const + template auto consume_Windows_UI_Xaml_IRectHelperStatics::GetTop(winrt::Windows::Foundation::Rect const& target) const { float result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IRectHelperStatics)->GetTop(impl::bind_in(target), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IRectHelperStatics::Contains(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Point const& point) const + template auto consume_Windows_UI_Xaml_IRectHelperStatics::Contains(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Point const& point) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IRectHelperStatics)->Contains(impl::bind_in(target), impl::bind_in(point), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IRectHelperStatics::Equals(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_UI_Xaml_IRectHelperStatics::Equals(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Rect const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IRectHelperStatics)->Equals(impl::bind_in(target), impl::bind_in(value), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IRectHelperStatics::Intersect(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Rect const& rect) const + template auto consume_Windows_UI_Xaml_IRectHelperStatics::Intersect(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Rect const& rect) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IRectHelperStatics)->Intersect(impl::bind_in(target), impl::bind_in(rect), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IRectHelperStatics::Union(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Point const& point) const + template auto consume_Windows_UI_Xaml_IRectHelperStatics::Union(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Point const& point) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IRectHelperStatics)->UnionWithPoint(impl::bind_in(target), impl::bind_in(point), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IRectHelperStatics::Union(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Rect const& rect) const + template auto consume_Windows_UI_Xaml_IRectHelperStatics::Union(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Rect const& rect) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IRectHelperStatics)->UnionWithRect(impl::bind_in(target), impl::bind_in(rect), put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_IResourceDictionary::Source() const + template auto consume_Windows_UI_Xaml_IResourceDictionary::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IResourceDictionary)->get_Source(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IResourceDictionary::Source(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_UI_Xaml_IResourceDictionary::Source(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IResourceDictionary)->put_Source(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_IResourceDictionary::MergedDictionaries() const + template auto consume_Windows_UI_Xaml_IResourceDictionary::MergedDictionaries() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IResourceDictionary)->get_MergedDictionaries(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_UI_Xaml_IResourceDictionary::ThemeDictionaries() const + template auto consume_Windows_UI_Xaml_IResourceDictionary::ThemeDictionaries() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IResourceDictionary)->get_ThemeDictionaries(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ResourceDictionary) consume_Windows_UI_Xaml_IResourceDictionaryFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IResourceDictionaryFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IResourceDictionaryFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::ResourceDictionary{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IRoutedEventArgs::OriginalSource() const + template auto consume_Windows_UI_Xaml_IRoutedEventArgs::OriginalSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IRoutedEventArgs)->get_OriginalSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEventArgs) consume_Windows_UI_Xaml_IRoutedEventArgsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IRoutedEventArgsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IRoutedEventArgsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::RoutedEventArgs{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_IScalarTransition::Duration() const + template auto consume_Windows_UI_Xaml_IScalarTransition::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IScalarTransition)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IScalarTransition::Duration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Xaml_IScalarTransition::Duration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IScalarTransition)->put_Duration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ScalarTransition) consume_Windows_UI_Xaml_IScalarTransitionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IScalarTransitionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IScalarTransitionFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::ScalarTransition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_ISetter::Property() const + template auto consume_Windows_UI_Xaml_ISetter::Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISetter)->get_Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_ISetter::Property(winrt::Windows::UI::Xaml::DependencyProperty const& value) const + template auto consume_Windows_UI_Xaml_ISetter::Property(winrt::Windows::UI::Xaml::DependencyProperty const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISetter)->put_Property(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_ISetter::Value() const + template auto consume_Windows_UI_Xaml_ISetter::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISetter)->get_Value(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_ISetter::Value(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_ISetter::Value(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISetter)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TargetPropertyPath) consume_Windows_UI_Xaml_ISetter2::Target() const + template auto consume_Windows_UI_Xaml_ISetter2::Target() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISetter2)->get_Target(&value)); return winrt::Windows::UI::Xaml::TargetPropertyPath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_ISetter2::Target(winrt::Windows::UI::Xaml::TargetPropertyPath const& value) const + template auto consume_Windows_UI_Xaml_ISetter2::Target(winrt::Windows::UI::Xaml::TargetPropertyPath const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISetter2)->put_Target(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_ISetterBase::IsSealed() const + template auto consume_Windows_UI_Xaml_ISetterBase::IsSealed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISetterBase)->get_IsSealed(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_ISetterBaseCollection::IsSealed() const + template auto consume_Windows_UI_Xaml_ISetterBaseCollection::IsSealed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISetterBaseCollection)->get_IsSealed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Setter) consume_Windows_UI_Xaml_ISetterFactory::CreateInstance(winrt::Windows::UI::Xaml::DependencyProperty const& targetProperty, winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_ISetterFactory::CreateInstance(winrt::Windows::UI::Xaml::DependencyProperty const& targetProperty, winrt::Windows::Foundation::IInspectable const& value) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISetterFactory)->CreateInstance(*(void**)(&targetProperty), *(void**)(&value), &instance)); return winrt::Windows::UI::Xaml::Setter{ instance, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_ISizeChangedEventArgs::PreviousSize() const + template auto consume_Windows_UI_Xaml_ISizeChangedEventArgs::PreviousSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISizeChangedEventArgs)->get_PreviousSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_ISizeChangedEventArgs::NewSize() const + template auto consume_Windows_UI_Xaml_ISizeChangedEventArgs::NewSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISizeChangedEventArgs)->get_NewSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_ISizeHelperStatics::Empty() const + template auto consume_Windows_UI_Xaml_ISizeHelperStatics::Empty() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISizeHelperStatics)->get_Empty(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_ISizeHelperStatics::FromDimensions(float width, float height) const + template auto consume_Windows_UI_Xaml_ISizeHelperStatics::FromDimensions(float width, float height) const { winrt::Windows::Foundation::Size result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISizeHelperStatics)->FromDimensions(width, height, put_abi(result))); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_ISizeHelperStatics::GetIsEmpty(winrt::Windows::Foundation::Size const& target) const + template auto consume_Windows_UI_Xaml_ISizeHelperStatics::GetIsEmpty(winrt::Windows::Foundation::Size const& target) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISizeHelperStatics)->GetIsEmpty(impl::bind_in(target), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_ISizeHelperStatics::Equals(winrt::Windows::Foundation::Size const& target, winrt::Windows::Foundation::Size const& value) const + template auto consume_Windows_UI_Xaml_ISizeHelperStatics::Equals(winrt::Windows::Foundation::Size const& target, winrt::Windows::Foundation::Size const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISizeHelperStatics)->Equals(impl::bind_in(target), impl::bind_in(value), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IStateTrigger::IsActive() const + template auto consume_Windows_UI_Xaml_IStateTrigger::IsActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStateTrigger)->get_IsActive(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IStateTrigger::IsActive(bool value) const + template auto consume_Windows_UI_Xaml_IStateTrigger::IsActive(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStateTrigger)->put_IsActive(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::StateTriggerBase) consume_Windows_UI_Xaml_IStateTriggerBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IStateTriggerBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStateTriggerBaseFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::StateTriggerBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IStateTriggerBaseProtected::SetActive(bool IsActive) const + template auto consume_Windows_UI_Xaml_IStateTriggerBaseProtected::SetActive(bool IsActive) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStateTriggerBaseProtected)->SetActive(IsActive)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IStateTriggerStatics::IsActiveProperty() const + template auto consume_Windows_UI_Xaml_IStateTriggerStatics::IsActiveProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStateTriggerStatics)->get_IsActiveProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IStyle::IsSealed() const + template auto consume_Windows_UI_Xaml_IStyle::IsSealed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStyle)->get_IsSealed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::SetterBaseCollection) consume_Windows_UI_Xaml_IStyle::Setters() const + template auto consume_Windows_UI_Xaml_IStyle::Setters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStyle)->get_Setters(&value)); return winrt::Windows::UI::Xaml::SetterBaseCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_IStyle::TargetType() const + template auto consume_Windows_UI_Xaml_IStyle::TargetType() const { winrt::Windows::UI::Xaml::Interop::TypeName value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStyle)->get_TargetType(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IStyle::TargetType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const + template auto consume_Windows_UI_Xaml_IStyle::TargetType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStyle)->put_TargetType(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_IStyle::BasedOn() const + template auto consume_Windows_UI_Xaml_IStyle::BasedOn() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStyle)->get_BasedOn(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IStyle::BasedOn(winrt::Windows::UI::Xaml::Style const& value) const + template auto consume_Windows_UI_Xaml_IStyle::BasedOn(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStyle)->put_BasedOn(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IStyle::Seal() const + template auto consume_Windows_UI_Xaml_IStyle::Seal() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStyle)->Seal()); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_IStyleFactory::CreateInstance(winrt::Windows::UI::Xaml::Interop::TypeName const& targetType) const + template auto consume_Windows_UI_Xaml_IStyleFactory::CreateInstance(winrt::Windows::UI::Xaml::Interop::TypeName const& targetType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStyleFactory)->CreateInstance(impl::bind_in(targetType), &value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyPath) consume_Windows_UI_Xaml_ITargetPropertyPath::Path() const + template auto consume_Windows_UI_Xaml_ITargetPropertyPath::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ITargetPropertyPath)->get_Path(&value)); return winrt::Windows::UI::Xaml::PropertyPath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_ITargetPropertyPath::Path(winrt::Windows::UI::Xaml::PropertyPath const& value) const + template auto consume_Windows_UI_Xaml_ITargetPropertyPath::Path(winrt::Windows::UI::Xaml::PropertyPath const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ITargetPropertyPath)->put_Path(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_ITargetPropertyPath::Target() const + template auto consume_Windows_UI_Xaml_ITargetPropertyPath::Target() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ITargetPropertyPath)->get_Target(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_ITargetPropertyPath::Target(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Windows_UI_Xaml_ITargetPropertyPath::Target(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ITargetPropertyPath)->put_Target(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TargetPropertyPath) consume_Windows_UI_Xaml_ITargetPropertyPathFactory::CreateInstance(winrt::Windows::UI::Xaml::DependencyProperty const& targetProperty) const + template auto consume_Windows_UI_Xaml_ITargetPropertyPathFactory::CreateInstance(winrt::Windows::UI::Xaml::DependencyProperty const& targetProperty) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ITargetPropertyPathFactory)->CreateInstance(*(void**)(&targetProperty), &value)); return winrt::Windows::UI::Xaml::TargetPropertyPath{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_IThicknessHelperStatics::FromLengths(double left, double top, double right, double bottom) const + template auto consume_Windows_UI_Xaml_IThicknessHelperStatics::FromLengths(double left, double top, double right, double bottom) const { winrt::Windows::UI::Xaml::Thickness result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IThicknessHelperStatics)->FromLengths(left, top, right, bottom, put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_IThicknessHelperStatics::FromUniformLength(double uniformLength) const + template auto consume_Windows_UI_Xaml_IThicknessHelperStatics::FromUniformLength(double uniformLength) const { winrt::Windows::UI::Xaml::Thickness result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IThicknessHelperStatics)->FromUniformLength(uniformLength, put_abi(result))); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_IUIElement::DesiredSize() const + template auto consume_Windows_UI_Xaml_IUIElement::DesiredSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_DesiredSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement::AllowDrop() const + template auto consume_Windows_UI_Xaml_IUIElement::AllowDrop() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_AllowDrop(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::AllowDrop(bool value) const + template auto consume_Windows_UI_Xaml_IUIElement::AllowDrop(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_AllowDrop(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IUIElement::Opacity() const + template auto consume_Windows_UI_Xaml_IUIElement::Opacity() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_Opacity(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::Opacity(double value) const + template auto consume_Windows_UI_Xaml_IUIElement::Opacity(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_Opacity(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::RectangleGeometry) consume_Windows_UI_Xaml_IUIElement::Clip() const + template auto consume_Windows_UI_Xaml_IUIElement::Clip() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_Clip(&value)); return winrt::Windows::UI::Xaml::Media::RectangleGeometry{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::Clip(winrt::Windows::UI::Xaml::Media::RectangleGeometry const& value) const + template auto consume_Windows_UI_Xaml_IUIElement::Clip(winrt::Windows::UI::Xaml::Media::RectangleGeometry const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_Clip(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Transform) consume_Windows_UI_Xaml_IUIElement::RenderTransform() const + template auto consume_Windows_UI_Xaml_IUIElement::RenderTransform() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_RenderTransform(&value)); return winrt::Windows::UI::Xaml::Media::Transform{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::RenderTransform(winrt::Windows::UI::Xaml::Media::Transform const& value) const + template auto consume_Windows_UI_Xaml_IUIElement::RenderTransform(winrt::Windows::UI::Xaml::Media::Transform const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_RenderTransform(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Projection) consume_Windows_UI_Xaml_IUIElement::Projection() const + template auto consume_Windows_UI_Xaml_IUIElement::Projection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_Projection(&value)); return winrt::Windows::UI::Xaml::Media::Projection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::Projection(winrt::Windows::UI::Xaml::Media::Projection const& value) const + template auto consume_Windows_UI_Xaml_IUIElement::Projection(winrt::Windows::UI::Xaml::Media::Projection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_Projection(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_IUIElement::RenderTransformOrigin() const + template auto consume_Windows_UI_Xaml_IUIElement::RenderTransformOrigin() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_RenderTransformOrigin(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::RenderTransformOrigin(winrt::Windows::Foundation::Point const& value) const + template auto consume_Windows_UI_Xaml_IUIElement::RenderTransformOrigin(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_RenderTransformOrigin(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement::IsHitTestVisible() const + template auto consume_Windows_UI_Xaml_IUIElement::IsHitTestVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_IsHitTestVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::IsHitTestVisible(bool value) const + template auto consume_Windows_UI_Xaml_IUIElement::IsHitTestVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_IsHitTestVisible(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_IUIElement::Visibility() const + template auto consume_Windows_UI_Xaml_IUIElement::Visibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_Visibility(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::Visibility(winrt::Windows::UI::Xaml::Visibility const& value) const + template auto consume_Windows_UI_Xaml_IUIElement::Visibility(winrt::Windows::UI::Xaml::Visibility const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_Visibility(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_IUIElement::RenderSize() const + template auto consume_Windows_UI_Xaml_IUIElement::RenderSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_RenderSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement::UseLayoutRounding() const + template auto consume_Windows_UI_Xaml_IUIElement::UseLayoutRounding() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_UseLayoutRounding(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::UseLayoutRounding(bool value) const + template auto consume_Windows_UI_Xaml_IUIElement::UseLayoutRounding(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_UseLayoutRounding(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_IUIElement::Transitions() const + template auto consume_Windows_UI_Xaml_IUIElement::Transitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_Transitions(&value)); return winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::Transitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const + template auto consume_Windows_UI_Xaml_IUIElement::Transitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_Transitions(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::CacheMode) consume_Windows_UI_Xaml_IUIElement::CacheMode() const + template auto consume_Windows_UI_Xaml_IUIElement::CacheMode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_CacheMode(&value)); return winrt::Windows::UI::Xaml::Media::CacheMode{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::CacheMode(winrt::Windows::UI::Xaml::Media::CacheMode const& value) const + template auto consume_Windows_UI_Xaml_IUIElement::CacheMode(winrt::Windows::UI::Xaml::Media::CacheMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_CacheMode(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement::IsTapEnabled() const + template auto consume_Windows_UI_Xaml_IUIElement::IsTapEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_IsTapEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::IsTapEnabled(bool value) const + template auto consume_Windows_UI_Xaml_IUIElement::IsTapEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_IsTapEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement::IsDoubleTapEnabled() const + template auto consume_Windows_UI_Xaml_IUIElement::IsDoubleTapEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_IsDoubleTapEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::IsDoubleTapEnabled(bool value) const + template auto consume_Windows_UI_Xaml_IUIElement::IsDoubleTapEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_IsDoubleTapEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement::IsRightTapEnabled() const + template auto consume_Windows_UI_Xaml_IUIElement::IsRightTapEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_IsRightTapEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::IsRightTapEnabled(bool value) const + template auto consume_Windows_UI_Xaml_IUIElement::IsRightTapEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_IsRightTapEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement::IsHoldingEnabled() const + template auto consume_Windows_UI_Xaml_IUIElement::IsHoldingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_IsHoldingEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::IsHoldingEnabled(bool value) const + template auto consume_Windows_UI_Xaml_IUIElement::IsHoldingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_IsHoldingEnabled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ManipulationModes) consume_Windows_UI_Xaml_IUIElement::ManipulationMode() const + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationMode() const { winrt::Windows::UI::Xaml::Input::ManipulationModes value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_ManipulationMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::ManipulationMode(winrt::Windows::UI::Xaml::Input::ManipulationModes const& value) const + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationMode(winrt::Windows::UI::Xaml::Input::ManipulationModes const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_ManipulationMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_IUIElement::PointerCaptures() const + template auto consume_Windows_UI_Xaml_IUIElement::PointerCaptures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_PointerCaptures(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::KeyUp(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::KeyUp(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_KeyUp(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::KeyUp_revoker consume_Windows_UI_Xaml_IUIElement::KeyUp(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::KeyUp(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const { return impl::make_event_revoker(this, KeyUp(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::KeyUp(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::KeyUp(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_KeyUp(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::KeyDown(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::KeyDown(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_KeyDown(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::KeyDown_revoker consume_Windows_UI_Xaml_IUIElement::KeyDown(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::KeyDown(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const { return impl::make_event_revoker(this, KeyDown(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::KeyDown(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::KeyDown(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_KeyDown(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::GotFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::GotFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_GotFocus(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::GotFocus_revoker consume_Windows_UI_Xaml_IUIElement::GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, GotFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::GotFocus(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::GotFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_GotFocus(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::LostFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::LostFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_LostFocus(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::LostFocus_revoker consume_Windows_UI_Xaml_IUIElement::LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, LostFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::LostFocus(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::LostFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_LostFocus(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::DragEnter(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::DragEnter(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_DragEnter(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::DragEnter_revoker consume_Windows_UI_Xaml_IUIElement::DragEnter(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::DragEnter(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const { return impl::make_event_revoker(this, DragEnter(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::DragEnter(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::DragEnter(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_DragEnter(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::DragLeave(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::DragLeave(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_DragLeave(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::DragLeave_revoker consume_Windows_UI_Xaml_IUIElement::DragLeave(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::DragLeave(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const { return impl::make_event_revoker(this, DragLeave(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::DragLeave(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::DragLeave(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_DragLeave(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::DragOver(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::DragOver(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_DragOver(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::DragOver_revoker consume_Windows_UI_Xaml_IUIElement::DragOver(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::DragOver(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const { return impl::make_event_revoker(this, DragOver(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::DragOver(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::DragOver(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_DragOver(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::Drop(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::Drop(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_Drop(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::Drop_revoker consume_Windows_UI_Xaml_IUIElement::Drop(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::Drop(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const { return impl::make_event_revoker(this, Drop(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::Drop(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::Drop(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_Drop(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::PointerPressed(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::PointerPressed(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_PointerPressed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::PointerPressed_revoker consume_Windows_UI_Xaml_IUIElement::PointerPressed(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::PointerPressed(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const { return impl::make_event_revoker(this, PointerPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::PointerPressed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::PointerPressed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_PointerPressed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::PointerMoved(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::PointerMoved(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_PointerMoved(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::PointerMoved_revoker consume_Windows_UI_Xaml_IUIElement::PointerMoved(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::PointerMoved(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const { return impl::make_event_revoker(this, PointerMoved(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::PointerMoved(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::PointerMoved(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_PointerMoved(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::PointerReleased(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::PointerReleased(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_PointerReleased(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::PointerReleased_revoker consume_Windows_UI_Xaml_IUIElement::PointerReleased(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::PointerReleased(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const { return impl::make_event_revoker(this, PointerReleased(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::PointerReleased(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::PointerReleased(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_PointerReleased(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::PointerEntered(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::PointerEntered(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_PointerEntered(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::PointerEntered_revoker consume_Windows_UI_Xaml_IUIElement::PointerEntered(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::PointerEntered(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const { return impl::make_event_revoker(this, PointerEntered(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::PointerEntered(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::PointerEntered(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_PointerEntered(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::PointerExited(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::PointerExited(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_PointerExited(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::PointerExited_revoker consume_Windows_UI_Xaml_IUIElement::PointerExited(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::PointerExited(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const { return impl::make_event_revoker(this, PointerExited(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::PointerExited(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::PointerExited(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_PointerExited(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::PointerCaptureLost(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::PointerCaptureLost(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_PointerCaptureLost(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::PointerCaptureLost_revoker consume_Windows_UI_Xaml_IUIElement::PointerCaptureLost(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::PointerCaptureLost(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const { return impl::make_event_revoker(this, PointerCaptureLost(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::PointerCaptureLost(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::PointerCaptureLost(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_PointerCaptureLost(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::PointerCanceled(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::PointerCanceled(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_PointerCanceled(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::PointerCanceled_revoker consume_Windows_UI_Xaml_IUIElement::PointerCanceled(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::PointerCanceled(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const { return impl::make_event_revoker(this, PointerCanceled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::PointerCanceled(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::PointerCanceled(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_PointerCanceled(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::PointerWheelChanged(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::PointerWheelChanged(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_PointerWheelChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::PointerWheelChanged_revoker consume_Windows_UI_Xaml_IUIElement::PointerWheelChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::PointerWheelChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const { return impl::make_event_revoker(this, PointerWheelChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::PointerWheelChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::PointerWheelChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_PointerWheelChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::Tapped(winrt::Windows::UI::Xaml::Input::TappedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::Tapped(winrt::Windows::UI::Xaml::Input::TappedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_Tapped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::Tapped_revoker consume_Windows_UI_Xaml_IUIElement::Tapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::TappedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::Tapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::TappedEventHandler const& handler) const { return impl::make_event_revoker(this, Tapped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::Tapped(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::Tapped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_Tapped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::DoubleTapped(winrt::Windows::UI::Xaml::Input::DoubleTappedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::DoubleTapped(winrt::Windows::UI::Xaml::Input::DoubleTappedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_DoubleTapped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::DoubleTapped_revoker consume_Windows_UI_Xaml_IUIElement::DoubleTapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::DoubleTappedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::DoubleTapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::DoubleTappedEventHandler const& handler) const { return impl::make_event_revoker(this, DoubleTapped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::DoubleTapped(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::DoubleTapped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_DoubleTapped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::Holding(winrt::Windows::UI::Xaml::Input::HoldingEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::Holding(winrt::Windows::UI::Xaml::Input::HoldingEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_Holding(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::Holding_revoker consume_Windows_UI_Xaml_IUIElement::Holding(auto_revoke_t, winrt::Windows::UI::Xaml::Input::HoldingEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::Holding(auto_revoke_t, winrt::Windows::UI::Xaml::Input::HoldingEventHandler const& handler) const { return impl::make_event_revoker(this, Holding(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::Holding(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::Holding(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_Holding(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::RightTapped(winrt::Windows::UI::Xaml::Input::RightTappedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::RightTapped(winrt::Windows::UI::Xaml::Input::RightTappedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_RightTapped(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::RightTapped_revoker consume_Windows_UI_Xaml_IUIElement::RightTapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::RightTappedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::RightTapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::RightTappedEventHandler const& handler) const { return impl::make_event_revoker(this, RightTapped(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::RightTapped(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::RightTapped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_RightTapped(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::ManipulationStarting(winrt::Windows::UI::Xaml::Input::ManipulationStartingEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationStarting(winrt::Windows::UI::Xaml::Input::ManipulationStartingEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_ManipulationStarting(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::ManipulationStarting_revoker consume_Windows_UI_Xaml_IUIElement::ManipulationStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationStartingEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationStartingEventHandler const& handler) const { return impl::make_event_revoker(this, ManipulationStarting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::ManipulationStarting(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_ManipulationStarting(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::ManipulationInertiaStarting(winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationInertiaStarting(winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_ManipulationInertiaStarting(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::ManipulationInertiaStarting_revoker consume_Windows_UI_Xaml_IUIElement::ManipulationInertiaStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationInertiaStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingEventHandler const& handler) const { return impl::make_event_revoker(this, ManipulationInertiaStarting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::ManipulationInertiaStarting(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationInertiaStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_ManipulationInertiaStarting(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::ManipulationStarted(winrt::Windows::UI::Xaml::Input::ManipulationStartedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationStarted(winrt::Windows::UI::Xaml::Input::ManipulationStartedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_ManipulationStarted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::ManipulationStarted_revoker consume_Windows_UI_Xaml_IUIElement::ManipulationStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationStartedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationStartedEventHandler const& handler) const { return impl::make_event_revoker(this, ManipulationStarted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::ManipulationStarted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_ManipulationStarted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::ManipulationDelta(winrt::Windows::UI::Xaml::Input::ManipulationDeltaEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationDelta(winrt::Windows::UI::Xaml::Input::ManipulationDeltaEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_ManipulationDelta(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::ManipulationDelta_revoker consume_Windows_UI_Xaml_IUIElement::ManipulationDelta(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationDeltaEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationDelta(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationDeltaEventHandler const& handler) const { return impl::make_event_revoker(this, ManipulationDelta(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::ManipulationDelta(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationDelta(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_ManipulationDelta(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement::ManipulationCompleted(winrt::Windows::UI::Xaml::Input::ManipulationCompletedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationCompleted(winrt::Windows::UI::Xaml::Input::ManipulationCompletedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->add_ManipulationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement::ManipulationCompleted_revoker consume_Windows_UI_Xaml_IUIElement::ManipulationCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationCompletedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationCompletedEventHandler const& handler) const { return impl::make_event_revoker(this, ManipulationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::ManipulationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement::ManipulationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_ManipulationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::Measure(winrt::Windows::Foundation::Size const& availableSize) const + template auto consume_Windows_UI_Xaml_IUIElement::Measure(winrt::Windows::Foundation::Size const& availableSize) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->Measure(impl::bind_in(availableSize))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::Arrange(winrt::Windows::Foundation::Rect const& finalRect) const + template auto consume_Windows_UI_Xaml_IUIElement::Arrange(winrt::Windows::Foundation::Rect const& finalRect) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->Arrange(impl::bind_in(finalRect))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement::CapturePointer(winrt::Windows::UI::Xaml::Input::Pointer const& value) const + template auto consume_Windows_UI_Xaml_IUIElement::CapturePointer(winrt::Windows::UI::Xaml::Input::Pointer const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->CapturePointer(*(void**)(&value), &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::ReleasePointerCapture(winrt::Windows::UI::Xaml::Input::Pointer const& value) const + template auto consume_Windows_UI_Xaml_IUIElement::ReleasePointerCapture(winrt::Windows::UI::Xaml::Input::Pointer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->ReleasePointerCapture(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::ReleasePointerCaptures() const + template auto consume_Windows_UI_Xaml_IUIElement::ReleasePointerCaptures() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->ReleasePointerCaptures()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::AddHandler(winrt::Windows::UI::Xaml::RoutedEvent const& routedEvent, winrt::Windows::Foundation::IInspectable const& handler, bool handledEventsToo) const + template auto consume_Windows_UI_Xaml_IUIElement::AddHandler(winrt::Windows::UI::Xaml::RoutedEvent const& routedEvent, winrt::Windows::Foundation::IInspectable const& handler, bool handledEventsToo) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->AddHandler(*(void**)(&routedEvent), *(void**)(&handler), handledEventsToo)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::RemoveHandler(winrt::Windows::UI::Xaml::RoutedEvent const& routedEvent, winrt::Windows::Foundation::IInspectable const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement::RemoveHandler(winrt::Windows::UI::Xaml::RoutedEvent const& routedEvent, winrt::Windows::Foundation::IInspectable const& handler) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->RemoveHandler(*(void**)(&routedEvent), *(void**)(&handler))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeneralTransform) consume_Windows_UI_Xaml_IUIElement::TransformToVisual(winrt::Windows::UI::Xaml::UIElement const& visual) const + template auto consume_Windows_UI_Xaml_IUIElement::TransformToVisual(winrt::Windows::UI::Xaml::UIElement const& visual) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->TransformToVisual(*(void**)(&visual), &result)); return winrt::Windows::UI::Xaml::Media::GeneralTransform{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::InvalidateMeasure() const + template auto consume_Windows_UI_Xaml_IUIElement::InvalidateMeasure() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->InvalidateMeasure()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::InvalidateArrange() const + template auto consume_Windows_UI_Xaml_IUIElement::InvalidateArrange() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->InvalidateArrange()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement::UpdateLayout() const + template auto consume_Windows_UI_Xaml_IUIElement::UpdateLayout() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->UpdateLayout()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Xaml_IUIElement10::ActualOffset() const + template auto consume_Windows_UI_Xaml_IUIElement10::ActualOffset() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement10)->get_ActualOffset(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Xaml_IUIElement10::ActualSize() const + template auto consume_Windows_UI_Xaml_IUIElement10::ActualSize() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement10)->get_ActualSize(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::XamlRoot) consume_Windows_UI_Xaml_IUIElement10::XamlRoot() const + template auto consume_Windows_UI_Xaml_IUIElement10::XamlRoot() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement10)->get_XamlRoot(&value)); return winrt::Windows::UI::Xaml::XamlRoot{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement10::XamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& value) const + template auto consume_Windows_UI_Xaml_IUIElement10::XamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement10)->put_XamlRoot(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) consume_Windows_UI_Xaml_IUIElement10::UIContext() const + template auto consume_Windows_UI_Xaml_IUIElement10::UIContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement10)->get_UIContext(&value)); return winrt::Windows::UI::UIContext{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Shadow) consume_Windows_UI_Xaml_IUIElement10::Shadow() const + template auto consume_Windows_UI_Xaml_IUIElement10::Shadow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement10)->get_Shadow(&value)); return winrt::Windows::UI::Xaml::Media::Shadow{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement10::Shadow(winrt::Windows::UI::Xaml::Media::Shadow const& value) const + template auto consume_Windows_UI_Xaml_IUIElement10::Shadow(winrt::Windows::UI::Xaml::Media::Shadow const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement10)->put_Shadow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ElementCompositeMode) consume_Windows_UI_Xaml_IUIElement2::CompositeMode() const + template auto consume_Windows_UI_Xaml_IUIElement2::CompositeMode() const { winrt::Windows::UI::Xaml::Media::ElementCompositeMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement2)->get_CompositeMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement2::CompositeMode(winrt::Windows::UI::Xaml::Media::ElementCompositeMode const& value) const + template auto consume_Windows_UI_Xaml_IUIElement2::CompositeMode(winrt::Windows::UI::Xaml::Media::ElementCompositeMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement2)->put_CompositeMode(static_cast(value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement2::CancelDirectManipulations() const + template auto consume_Windows_UI_Xaml_IUIElement2::CancelDirectManipulations() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement2)->CancelDirectManipulations(&result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Transform3D) consume_Windows_UI_Xaml_IUIElement3::Transform3D() const + template auto consume_Windows_UI_Xaml_IUIElement3::Transform3D() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement3)->get_Transform3D(&value)); return winrt::Windows::UI::Xaml::Media::Media3D::Transform3D{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement3::Transform3D(winrt::Windows::UI::Xaml::Media::Media3D::Transform3D const& value) const + template auto consume_Windows_UI_Xaml_IUIElement3::Transform3D(winrt::Windows::UI::Xaml::Media::Media3D::Transform3D const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement3)->put_Transform3D(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement3::CanDrag() const + template auto consume_Windows_UI_Xaml_IUIElement3::CanDrag() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement3)->get_CanDrag(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement3::CanDrag(bool value) const + template auto consume_Windows_UI_Xaml_IUIElement3::CanDrag(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement3)->put_CanDrag(value)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement3::DragStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement3::DragStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement3)->add_DragStarting(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement3::DragStarting_revoker consume_Windows_UI_Xaml_IUIElement3::DragStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement3::DragStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DragStarting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement3::DragStarting(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement3::DragStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement3)->remove_DragStarting(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement3::DropCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement3::DropCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement3)->add_DropCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement3::DropCompleted_revoker consume_Windows_UI_Xaml_IUIElement3::DropCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement3::DropCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DropCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement3::DropCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement3::DropCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement3)->remove_DropCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Xaml_IUIElement3::StartDragAsync(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const + template auto consume_Windows_UI_Xaml_IUIElement3::StartDragAsync(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement3)->StartDragAsync(*(void**)(&pointerPoint), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_IUIElement4::ContextFlyout() const + template auto consume_Windows_UI_Xaml_IUIElement4::ContextFlyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->get_ContextFlyout(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4::ContextFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const + template auto consume_Windows_UI_Xaml_IUIElement4::ContextFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->put_ContextFlyout(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement4::ExitDisplayModeOnAccessKeyInvoked() const + template auto consume_Windows_UI_Xaml_IUIElement4::ExitDisplayModeOnAccessKeyInvoked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->get_ExitDisplayModeOnAccessKeyInvoked(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4::ExitDisplayModeOnAccessKeyInvoked(bool value) const + template auto consume_Windows_UI_Xaml_IUIElement4::ExitDisplayModeOnAccessKeyInvoked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->put_ExitDisplayModeOnAccessKeyInvoked(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement4::IsAccessKeyScope() const + template auto consume_Windows_UI_Xaml_IUIElement4::IsAccessKeyScope() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->get_IsAccessKeyScope(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4::IsAccessKeyScope(bool value) const + template auto consume_Windows_UI_Xaml_IUIElement4::IsAccessKeyScope(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->put_IsAccessKeyScope(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_IUIElement4::AccessKeyScopeOwner() const + template auto consume_Windows_UI_Xaml_IUIElement4::AccessKeyScopeOwner() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->get_AccessKeyScopeOwner(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4::AccessKeyScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_IUIElement4::AccessKeyScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->put_AccessKeyScopeOwner(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IUIElement4::AccessKey() const + template auto consume_Windows_UI_Xaml_IUIElement4::AccessKey() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->get_AccessKey(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4::AccessKey(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_IUIElement4::AccessKey(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->put_AccessKey(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement4::ContextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement4::ContextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->add_ContextRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement4::ContextRequested_revoker consume_Windows_UI_Xaml_IUIElement4::ContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement4::ContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContextRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4::ContextRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement4::ContextRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->remove_ContextRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement4::ContextCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement4::ContextCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->add_ContextCanceled(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement4::ContextCanceled_revoker consume_Windows_UI_Xaml_IUIElement4::ContextCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement4::ContextCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContextCanceled(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4::ContextCanceled(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement4::ContextCanceled(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->remove_ContextCanceled(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement4::AccessKeyDisplayRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement4::AccessKeyDisplayRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->add_AccessKeyDisplayRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement4::AccessKeyDisplayRequested_revoker consume_Windows_UI_Xaml_IUIElement4::AccessKeyDisplayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement4::AccessKeyDisplayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AccessKeyDisplayRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4::AccessKeyDisplayRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement4::AccessKeyDisplayRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->remove_AccessKeyDisplayRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement4::AccessKeyDisplayDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement4::AccessKeyDisplayDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->add_AccessKeyDisplayDismissed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement4::AccessKeyDisplayDismissed_revoker consume_Windows_UI_Xaml_IUIElement4::AccessKeyDisplayDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement4::AccessKeyDisplayDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AccessKeyDisplayDismissed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4::AccessKeyDisplayDismissed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement4::AccessKeyDisplayDismissed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->remove_AccessKeyDisplayDismissed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement4::AccessKeyInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement4::AccessKeyInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->add_AccessKeyInvoked(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement4::AccessKeyInvoked_revoker consume_Windows_UI_Xaml_IUIElement4::AccessKeyInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement4::AccessKeyInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AccessKeyInvoked(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4::AccessKeyInvoked(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement4::AccessKeyInvoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->remove_AccessKeyInvoked(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_IUIElement5::Lights() const + template auto consume_Windows_UI_Xaml_IUIElement5::Lights() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_Lights(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode) consume_Windows_UI_Xaml_IUIElement5::KeyTipPlacementMode() const + template auto consume_Windows_UI_Xaml_IUIElement5::KeyTipPlacementMode() const { winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_KeyTipPlacementMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5::KeyTipPlacementMode(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode const& value) const + template auto consume_Windows_UI_Xaml_IUIElement5::KeyTipPlacementMode(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_KeyTipPlacementMode(static_cast(value))); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IUIElement5::KeyTipHorizontalOffset() const + template auto consume_Windows_UI_Xaml_IUIElement5::KeyTipHorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_KeyTipHorizontalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5::KeyTipHorizontalOffset(double value) const + template auto consume_Windows_UI_Xaml_IUIElement5::KeyTipHorizontalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_KeyTipHorizontalOffset(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IUIElement5::KeyTipVerticalOffset() const + template auto consume_Windows_UI_Xaml_IUIElement5::KeyTipVerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_KeyTipVerticalOffset(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5::KeyTipVerticalOffset(double value) const + template auto consume_Windows_UI_Xaml_IUIElement5::KeyTipVerticalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_KeyTipVerticalOffset(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusKeyboardNavigationMode) consume_Windows_UI_Xaml_IUIElement5::XYFocusKeyboardNavigation() const + template auto consume_Windows_UI_Xaml_IUIElement5::XYFocusKeyboardNavigation() const { winrt::Windows::UI::Xaml::Input::XYFocusKeyboardNavigationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_XYFocusKeyboardNavigation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5::XYFocusKeyboardNavigation(winrt::Windows::UI::Xaml::Input::XYFocusKeyboardNavigationMode const& value) const + template auto consume_Windows_UI_Xaml_IUIElement5::XYFocusKeyboardNavigation(winrt::Windows::UI::Xaml::Input::XYFocusKeyboardNavigationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_XYFocusKeyboardNavigation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_IUIElement5::XYFocusUpNavigationStrategy() const + template auto consume_Windows_UI_Xaml_IUIElement5::XYFocusUpNavigationStrategy() const { winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_XYFocusUpNavigationStrategy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5::XYFocusUpNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const + template auto consume_Windows_UI_Xaml_IUIElement5::XYFocusUpNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_XYFocusUpNavigationStrategy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_IUIElement5::XYFocusDownNavigationStrategy() const + template auto consume_Windows_UI_Xaml_IUIElement5::XYFocusDownNavigationStrategy() const { winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_XYFocusDownNavigationStrategy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5::XYFocusDownNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const + template auto consume_Windows_UI_Xaml_IUIElement5::XYFocusDownNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_XYFocusDownNavigationStrategy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_IUIElement5::XYFocusLeftNavigationStrategy() const + template auto consume_Windows_UI_Xaml_IUIElement5::XYFocusLeftNavigationStrategy() const { winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_XYFocusLeftNavigationStrategy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5::XYFocusLeftNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const + template auto consume_Windows_UI_Xaml_IUIElement5::XYFocusLeftNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_XYFocusLeftNavigationStrategy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_IUIElement5::XYFocusRightNavigationStrategy() const + template auto consume_Windows_UI_Xaml_IUIElement5::XYFocusRightNavigationStrategy() const { winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_XYFocusRightNavigationStrategy(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5::XYFocusRightNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const + template auto consume_Windows_UI_Xaml_IUIElement5::XYFocusRightNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_XYFocusRightNavigationStrategy(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementHighContrastAdjustment) consume_Windows_UI_Xaml_IUIElement5::HighContrastAdjustment() const + template auto consume_Windows_UI_Xaml_IUIElement5::HighContrastAdjustment() const { winrt::Windows::UI::Xaml::ElementHighContrastAdjustment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_HighContrastAdjustment(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5::HighContrastAdjustment(winrt::Windows::UI::Xaml::ElementHighContrastAdjustment const& value) const + template auto consume_Windows_UI_Xaml_IUIElement5::HighContrastAdjustment(winrt::Windows::UI::Xaml::ElementHighContrastAdjustment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_HighContrastAdjustment(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode) consume_Windows_UI_Xaml_IUIElement5::TabFocusNavigation() const + template auto consume_Windows_UI_Xaml_IUIElement5::TabFocusNavigation() const { winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_TabFocusNavigation(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5::TabFocusNavigation(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode const& value) const + template auto consume_Windows_UI_Xaml_IUIElement5::TabFocusNavigation(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_TabFocusNavigation(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement5::GettingFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement5::GettingFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->add_GettingFocus(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement5::GettingFocus_revoker consume_Windows_UI_Xaml_IUIElement5::GettingFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement5::GettingFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, GettingFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5::GettingFocus(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement5::GettingFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->remove_GettingFocus(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement5::LosingFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement5::LosingFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->add_LosingFocus(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement5::LosingFocus_revoker consume_Windows_UI_Xaml_IUIElement5::LosingFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement5::LosingFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LosingFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5::LosingFocus(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement5::LosingFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->remove_LosingFocus(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement5::NoFocusCandidateFound(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement5::NoFocusCandidateFound(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->add_NoFocusCandidateFound(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement5::NoFocusCandidateFound_revoker consume_Windows_UI_Xaml_IUIElement5::NoFocusCandidateFound(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement5::NoFocusCandidateFound(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NoFocusCandidateFound(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5::NoFocusCandidateFound(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement5::NoFocusCandidateFound(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->remove_NoFocusCandidateFound(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5::StartBringIntoView() const + template auto consume_Windows_UI_Xaml_IUIElement5::StartBringIntoView() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->StartBringIntoView()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5::StartBringIntoView(winrt::Windows::UI::Xaml::BringIntoViewOptions const& options) const + template auto consume_Windows_UI_Xaml_IUIElement5::StartBringIntoView(winrt::Windows::UI::Xaml::BringIntoViewOptions const& options) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->StartBringIntoViewWithOptions(*(void**)(&options))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_IUIElement7::KeyboardAccelerators() const + template auto consume_Windows_UI_Xaml_IUIElement7::KeyboardAccelerators() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement7)->get_KeyboardAccelerators(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement7::CharacterReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement7::CharacterReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement7)->add_CharacterReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement7::CharacterReceived_revoker consume_Windows_UI_Xaml_IUIElement7::CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement7::CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CharacterReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement7::CharacterReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement7::CharacterReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement7)->remove_CharacterReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement7::ProcessKeyboardAccelerators(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement7::ProcessKeyboardAccelerators(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement7)->add_ProcessKeyboardAccelerators(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement7::ProcessKeyboardAccelerators_revoker consume_Windows_UI_Xaml_IUIElement7::ProcessKeyboardAccelerators(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement7::ProcessKeyboardAccelerators(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ProcessKeyboardAccelerators(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement7::ProcessKeyboardAccelerators(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement7::ProcessKeyboardAccelerators(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement7)->remove_ProcessKeyboardAccelerators(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement7::PreviewKeyDown(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement7::PreviewKeyDown(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement7)->add_PreviewKeyDown(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement7::PreviewKeyDown_revoker consume_Windows_UI_Xaml_IUIElement7::PreviewKeyDown(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement7::PreviewKeyDown(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const { return impl::make_event_revoker(this, PreviewKeyDown(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement7::PreviewKeyDown(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement7::PreviewKeyDown(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement7)->remove_PreviewKeyDown(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement7::PreviewKeyUp(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement7::PreviewKeyUp(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement7)->add_PreviewKeyUp(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement7::PreviewKeyUp_revoker consume_Windows_UI_Xaml_IUIElement7::PreviewKeyUp(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement7::PreviewKeyUp(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const { return impl::make_event_revoker(this, PreviewKeyUp(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement7::PreviewKeyUp(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement7::PreviewKeyUp(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement7)->remove_PreviewKeyUp(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement7::TryInvokeKeyboardAccelerator(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const + template auto consume_Windows_UI_Xaml_IUIElement7::TryInvokeKeyboardAccelerator(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement7)->TryInvokeKeyboardAccelerator(*(void**)(&args))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_IUIElement8::KeyTipTarget() const + template auto consume_Windows_UI_Xaml_IUIElement8::KeyTipTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement8)->get_KeyTipTarget(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement8::KeyTipTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_IUIElement8::KeyTipTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement8)->put_KeyTipTarget(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_IUIElement8::KeyboardAcceleratorPlacementTarget() const + template auto consume_Windows_UI_Xaml_IUIElement8::KeyboardAcceleratorPlacementTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement8)->get_KeyboardAcceleratorPlacementTarget(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement8::KeyboardAcceleratorPlacementTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const + template auto consume_Windows_UI_Xaml_IUIElement8::KeyboardAcceleratorPlacementTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement8)->put_KeyboardAcceleratorPlacementTarget(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorPlacementMode) consume_Windows_UI_Xaml_IUIElement8::KeyboardAcceleratorPlacementMode() const + template auto consume_Windows_UI_Xaml_IUIElement8::KeyboardAcceleratorPlacementMode() const { winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorPlacementMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement8)->get_KeyboardAcceleratorPlacementMode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement8::KeyboardAcceleratorPlacementMode(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorPlacementMode const& value) const + template auto consume_Windows_UI_Xaml_IUIElement8::KeyboardAcceleratorPlacementMode(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorPlacementMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement8)->put_KeyboardAcceleratorPlacementMode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement8::BringIntoViewRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement8::BringIntoViewRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement8)->add_BringIntoViewRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IUIElement8::BringIntoViewRequested_revoker consume_Windows_UI_Xaml_IUIElement8::BringIntoViewRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IUIElement8::BringIntoViewRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BringIntoViewRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement8::BringIntoViewRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IUIElement8::BringIntoViewRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement8)->remove_BringIntoViewRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement9::CanBeScrollAnchor() const + template auto consume_Windows_UI_Xaml_IUIElement9::CanBeScrollAnchor() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->get_CanBeScrollAnchor(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9::CanBeScrollAnchor(bool value) const + template auto consume_Windows_UI_Xaml_IUIElement9::CanBeScrollAnchor(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_CanBeScrollAnchor(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ScalarTransition) consume_Windows_UI_Xaml_IUIElement9::OpacityTransition() const + template auto consume_Windows_UI_Xaml_IUIElement9::OpacityTransition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->get_OpacityTransition(&value)); return winrt::Windows::UI::Xaml::ScalarTransition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9::OpacityTransition(winrt::Windows::UI::Xaml::ScalarTransition const& value) const + template auto consume_Windows_UI_Xaml_IUIElement9::OpacityTransition(winrt::Windows::UI::Xaml::ScalarTransition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_OpacityTransition(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Xaml_IUIElement9::Translation() const + template auto consume_Windows_UI_Xaml_IUIElement9::Translation() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->get_Translation(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9::Translation(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Xaml_IUIElement9::Translation(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_Translation(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Vector3Transition) consume_Windows_UI_Xaml_IUIElement9::TranslationTransition() const + template auto consume_Windows_UI_Xaml_IUIElement9::TranslationTransition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->get_TranslationTransition(&value)); return winrt::Windows::UI::Xaml::Vector3Transition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9::TranslationTransition(winrt::Windows::UI::Xaml::Vector3Transition const& value) const + template auto consume_Windows_UI_Xaml_IUIElement9::TranslationTransition(winrt::Windows::UI::Xaml::Vector3Transition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_TranslationTransition(*(void**)(&value))); } - template WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_IUIElement9::Rotation() const + template auto consume_Windows_UI_Xaml_IUIElement9::Rotation() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->get_Rotation(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9::Rotation(float value) const + template auto consume_Windows_UI_Xaml_IUIElement9::Rotation(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_Rotation(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ScalarTransition) consume_Windows_UI_Xaml_IUIElement9::RotationTransition() const + template auto consume_Windows_UI_Xaml_IUIElement9::RotationTransition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->get_RotationTransition(&value)); return winrt::Windows::UI::Xaml::ScalarTransition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9::RotationTransition(winrt::Windows::UI::Xaml::ScalarTransition const& value) const + template auto consume_Windows_UI_Xaml_IUIElement9::RotationTransition(winrt::Windows::UI::Xaml::ScalarTransition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_RotationTransition(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Xaml_IUIElement9::Scale() const + template auto consume_Windows_UI_Xaml_IUIElement9::Scale() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->get_Scale(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9::Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Xaml_IUIElement9::Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_Scale(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Vector3Transition) consume_Windows_UI_Xaml_IUIElement9::ScaleTransition() const + template auto consume_Windows_UI_Xaml_IUIElement9::ScaleTransition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->get_ScaleTransition(&value)); return winrt::Windows::UI::Xaml::Vector3Transition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9::ScaleTransition(winrt::Windows::UI::Xaml::Vector3Transition const& value) const + template auto consume_Windows_UI_Xaml_IUIElement9::ScaleTransition(winrt::Windows::UI::Xaml::Vector3Transition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_ScaleTransition(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) consume_Windows_UI_Xaml_IUIElement9::TransformMatrix() const + template auto consume_Windows_UI_Xaml_IUIElement9::TransformMatrix() const { winrt::Windows::Foundation::Numerics::float4x4 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->get_TransformMatrix(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9::TransformMatrix(winrt::Windows::Foundation::Numerics::float4x4 const& value) const + template auto consume_Windows_UI_Xaml_IUIElement9::TransformMatrix(winrt::Windows::Foundation::Numerics::float4x4 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_TransformMatrix(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Xaml_IUIElement9::CenterPoint() const + template auto consume_Windows_UI_Xaml_IUIElement9::CenterPoint() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->get_CenterPoint(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9::CenterPoint(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Xaml_IUIElement9::CenterPoint(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_CenterPoint(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Xaml_IUIElement9::RotationAxis() const + template auto consume_Windows_UI_Xaml_IUIElement9::RotationAxis() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->get_RotationAxis(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9::RotationAxis(winrt::Windows::Foundation::Numerics::float3 const& value) const + template auto consume_Windows_UI_Xaml_IUIElement9::RotationAxis(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_RotationAxis(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9::StartAnimation(winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const + template auto consume_Windows_UI_Xaml_IUIElement9::StartAnimation(winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->StartAnimation(*(void**)(&animation))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9::StopAnimation(winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const + template auto consume_Windows_UI_Xaml_IUIElement9::StopAnimation(winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->StopAnimation(*(void**)(&animation))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_IUIElementOverrides::OnCreateAutomationPeer() const + template auto consume_Windows_UI_Xaml_IUIElementOverrides::OnCreateAutomationPeer() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementOverrides)->OnCreateAutomationPeer(&result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElementOverrides::OnDisconnectVisualChildren() const + template auto consume_Windows_UI_Xaml_IUIElementOverrides::OnDisconnectVisualChildren() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementOverrides)->OnDisconnectVisualChildren()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable>) consume_Windows_UI_Xaml_IUIElementOverrides::FindSubElementsForTouchTargeting(winrt::Windows::Foundation::Point const& point, winrt::Windows::Foundation::Rect const& boundingRect) const + template auto consume_Windows_UI_Xaml_IUIElementOverrides::FindSubElementsForTouchTargeting(winrt::Windows::Foundation::Point const& point, winrt::Windows::Foundation::Rect const& boundingRect) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementOverrides)->FindSubElementsForTouchTargeting(impl::bind_in(point), impl::bind_in(boundingRect), &result)); return winrt::Windows::Foundation::Collections::IIterable>{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_UI_Xaml_IUIElementOverrides7::GetChildrenInTabFocusOrder() const + template auto consume_Windows_UI_Xaml_IUIElementOverrides7::GetChildrenInTabFocusOrder() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementOverrides7)->GetChildrenInTabFocusOrder(&result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElementOverrides7::OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const + template auto consume_Windows_UI_Xaml_IUIElementOverrides7::OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementOverrides7)->OnProcessKeyboardAccelerators(*(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElementOverrides8::OnKeyboardAcceleratorInvoked(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs const& args) const + template auto consume_Windows_UI_Xaml_IUIElementOverrides8::OnKeyboardAcceleratorInvoked(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementOverrides8)->OnKeyboardAcceleratorInvoked(*(void**)(&args))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElementOverrides8::OnBringIntoViewRequested(winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs const& e) const + template auto consume_Windows_UI_Xaml_IUIElementOverrides8::OnBringIntoViewRequested(winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementOverrides8)->OnBringIntoViewRequested(*(void**)(&e))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElementOverrides9::PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const + template auto consume_Windows_UI_Xaml_IUIElementOverrides9::PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementOverrides9)->PopulatePropertyInfoOverride(*(void**)(&propertyName), *(void**)(&animationPropertyInfo))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::KeyDownEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::KeyDownEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_KeyDownEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::KeyUpEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::KeyUpEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_KeyUpEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::PointerEnteredEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::PointerEnteredEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_PointerEnteredEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::PointerPressedEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::PointerPressedEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_PointerPressedEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::PointerMovedEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::PointerMovedEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_PointerMovedEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::PointerReleasedEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::PointerReleasedEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_PointerReleasedEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::PointerExitedEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::PointerExitedEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_PointerExitedEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::PointerCaptureLostEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::PointerCaptureLostEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_PointerCaptureLostEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::PointerCanceledEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::PointerCanceledEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_PointerCanceledEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::PointerWheelChangedEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::PointerWheelChangedEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_PointerWheelChangedEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::TappedEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::TappedEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_TappedEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::DoubleTappedEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::DoubleTappedEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_DoubleTappedEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::HoldingEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::HoldingEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_HoldingEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::RightTappedEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::RightTappedEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_RightTappedEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::ManipulationStartingEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::ManipulationStartingEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_ManipulationStartingEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::ManipulationInertiaStartingEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::ManipulationInertiaStartingEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_ManipulationInertiaStartingEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::ManipulationStartedEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::ManipulationStartedEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_ManipulationStartedEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::ManipulationDeltaEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::ManipulationDeltaEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_ManipulationDeltaEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::ManipulationCompletedEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::ManipulationCompletedEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_ManipulationCompletedEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::DragEnterEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::DragEnterEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_DragEnterEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::DragLeaveEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::DragLeaveEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_DragLeaveEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::DragOverEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::DragOverEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_DragOverEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics::DropEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::DropEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_DropEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::AllowDropProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::AllowDropProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_AllowDropProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::OpacityProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::OpacityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_OpacityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::ClipProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::ClipProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_ClipProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::RenderTransformProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::RenderTransformProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_RenderTransformProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::ProjectionProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::ProjectionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_ProjectionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::RenderTransformOriginProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::RenderTransformOriginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_RenderTransformOriginProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::IsHitTestVisibleProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::IsHitTestVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_IsHitTestVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::VisibilityProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::VisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_VisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::UseLayoutRoundingProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::UseLayoutRoundingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_UseLayoutRoundingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::TransitionsProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::TransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_TransitionsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::CacheModeProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::CacheModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_CacheModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::IsTapEnabledProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::IsTapEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_IsTapEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::IsDoubleTapEnabledProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::IsDoubleTapEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_IsDoubleTapEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::IsRightTapEnabledProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::IsRightTapEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_IsRightTapEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::IsHoldingEnabledProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::IsHoldingEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_IsHoldingEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::ManipulationModeProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::ManipulationModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_ManipulationModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics::PointerCapturesProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics::PointerCapturesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics)->get_PointerCapturesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics10::ShadowProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics10::ShadowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics10)->get_ShadowProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics2::CompositeModeProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics2::CompositeModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics2)->get_CompositeModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics3::Transform3DProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics3::Transform3DProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics3)->get_Transform3DProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics3::CanDragProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics3::CanDragProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics3)->get_CanDragProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElementStatics3::TryStartDirectManipulation(winrt::Windows::UI::Xaml::Input::Pointer const& value) const + template auto consume_Windows_UI_Xaml_IUIElementStatics3::TryStartDirectManipulation(winrt::Windows::UI::Xaml::Input::Pointer const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics3)->TryStartDirectManipulation(*(void**)(&value), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics4::ContextFlyoutProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics4::ContextFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics4)->get_ContextFlyoutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics4::ExitDisplayModeOnAccessKeyInvokedProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics4::ExitDisplayModeOnAccessKeyInvokedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics4)->get_ExitDisplayModeOnAccessKeyInvokedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics4::IsAccessKeyScopeProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics4::IsAccessKeyScopeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics4)->get_IsAccessKeyScopeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics4::AccessKeyScopeOwnerProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics4::AccessKeyScopeOwnerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics4)->get_AccessKeyScopeOwnerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics4::AccessKeyProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics4::AccessKeyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics4)->get_AccessKeyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5::LightsProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics5::LightsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics5)->get_LightsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5::KeyTipPlacementModeProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics5::KeyTipPlacementModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics5)->get_KeyTipPlacementModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5::KeyTipHorizontalOffsetProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics5::KeyTipHorizontalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics5)->get_KeyTipHorizontalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5::KeyTipVerticalOffsetProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics5::KeyTipVerticalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics5)->get_KeyTipVerticalOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5::XYFocusKeyboardNavigationProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics5::XYFocusKeyboardNavigationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics5)->get_XYFocusKeyboardNavigationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5::XYFocusUpNavigationStrategyProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics5::XYFocusUpNavigationStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics5)->get_XYFocusUpNavigationStrategyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5::XYFocusDownNavigationStrategyProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics5::XYFocusDownNavigationStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics5)->get_XYFocusDownNavigationStrategyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5::XYFocusLeftNavigationStrategyProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics5::XYFocusLeftNavigationStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics5)->get_XYFocusLeftNavigationStrategyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5::XYFocusRightNavigationStrategyProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics5::XYFocusRightNavigationStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics5)->get_XYFocusRightNavigationStrategyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5::HighContrastAdjustmentProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics5::HighContrastAdjustmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics5)->get_HighContrastAdjustmentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5::TabFocusNavigationProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics5::TabFocusNavigationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics5)->get_TabFocusNavigationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics6::GettingFocusEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics6::GettingFocusEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics6)->get_GettingFocusEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics6::LosingFocusEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics6::LosingFocusEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics6)->get_LosingFocusEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics6::NoFocusCandidateFoundEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics6::NoFocusCandidateFoundEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics6)->get_NoFocusCandidateFoundEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics7::PreviewKeyDownEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics7::PreviewKeyDownEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics7)->get_PreviewKeyDownEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics7::CharacterReceivedEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics7::CharacterReceivedEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics7)->get_CharacterReceivedEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics7::PreviewKeyUpEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics7::PreviewKeyUpEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics7)->get_PreviewKeyUpEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics8::BringIntoViewRequestedEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics8::BringIntoViewRequestedEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics8)->get_BringIntoViewRequestedEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics8::ContextRequestedEvent() const + template auto consume_Windows_UI_Xaml_IUIElementStatics8::ContextRequestedEvent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics8)->get_ContextRequestedEvent(&value)); return winrt::Windows::UI::Xaml::RoutedEvent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics8::KeyTipTargetProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics8::KeyTipTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics8)->get_KeyTipTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics8::KeyboardAcceleratorPlacementTargetProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics8::KeyboardAcceleratorPlacementTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics8)->get_KeyboardAcceleratorPlacementTargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics8::KeyboardAcceleratorPlacementModeProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics8::KeyboardAcceleratorPlacementModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics8)->get_KeyboardAcceleratorPlacementModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElementStatics8::RegisterAsScrollPort(winrt::Windows::UI::Xaml::UIElement const& element) const + template auto consume_Windows_UI_Xaml_IUIElementStatics8::RegisterAsScrollPort(winrt::Windows::UI::Xaml::UIElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics8)->RegisterAsScrollPort(*(void**)(&element))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics9::CanBeScrollAnchorProperty() const + template auto consume_Windows_UI_Xaml_IUIElementStatics9::CanBeScrollAnchorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics9)->get_CanBeScrollAnchorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElementWeakCollection) consume_Windows_UI_Xaml_IUIElementWeakCollectionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IUIElementWeakCollectionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementWeakCollectionFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::UIElementWeakCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs::Exception() const + template auto consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs::Exception() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUnhandledExceptionEventArgs)->get_Exception(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs::Message() const + template auto consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUnhandledExceptionEventArgs)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs::Handled() const + template auto consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUnhandledExceptionEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs::Handled(bool value) const + template auto consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUnhandledExceptionEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_IVector3Transition::Duration() const + template auto consume_Windows_UI_Xaml_IVector3Transition::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVector3Transition)->get_Duration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVector3Transition::Duration(winrt::Windows::Foundation::TimeSpan const& value) const + template auto consume_Windows_UI_Xaml_IVector3Transition::Duration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVector3Transition)->put_Duration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Vector3TransitionComponents) consume_Windows_UI_Xaml_IVector3Transition::Components() const + template auto consume_Windows_UI_Xaml_IVector3Transition::Components() const { winrt::Windows::UI::Xaml::Vector3TransitionComponents value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVector3Transition)->get_Components(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVector3Transition::Components(winrt::Windows::UI::Xaml::Vector3TransitionComponents const& value) const + template auto consume_Windows_UI_Xaml_IVector3Transition::Components(winrt::Windows::UI::Xaml::Vector3TransitionComponents const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVector3Transition)->put_Components(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Vector3Transition) consume_Windows_UI_Xaml_IVector3TransitionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IVector3TransitionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVector3TransitionFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Vector3Transition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IVisualState::Name() const + template auto consume_Windows_UI_Xaml_IVisualState::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualState)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::Storyboard) consume_Windows_UI_Xaml_IVisualState::Storyboard() const + template auto consume_Windows_UI_Xaml_IVisualState::Storyboard() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualState)->get_Storyboard(&value)); return winrt::Windows::UI::Xaml::Media::Animation::Storyboard{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualState::Storyboard(winrt::Windows::UI::Xaml::Media::Animation::Storyboard const& value) const + template auto consume_Windows_UI_Xaml_IVisualState::Storyboard(winrt::Windows::UI::Xaml::Media::Animation::Storyboard const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualState)->put_Storyboard(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::SetterBaseCollection) consume_Windows_UI_Xaml_IVisualState2::Setters() const + template auto consume_Windows_UI_Xaml_IVisualState2::Setters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualState2)->get_Setters(&value)); return winrt::Windows::UI::Xaml::SetterBaseCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_IVisualState2::StateTriggers() const + template auto consume_Windows_UI_Xaml_IVisualState2::StateTriggers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualState2)->get_StateTriggers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualState) consume_Windows_UI_Xaml_IVisualStateChangedEventArgs::OldState() const + template auto consume_Windows_UI_Xaml_IVisualStateChangedEventArgs::OldState() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateChangedEventArgs)->get_OldState(&value)); return winrt::Windows::UI::Xaml::VisualState{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualStateChangedEventArgs::OldState(winrt::Windows::UI::Xaml::VisualState const& value) const + template auto consume_Windows_UI_Xaml_IVisualStateChangedEventArgs::OldState(winrt::Windows::UI::Xaml::VisualState const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateChangedEventArgs)->put_OldState(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualState) consume_Windows_UI_Xaml_IVisualStateChangedEventArgs::NewState() const + template auto consume_Windows_UI_Xaml_IVisualStateChangedEventArgs::NewState() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateChangedEventArgs)->get_NewState(&value)); return winrt::Windows::UI::Xaml::VisualState{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualStateChangedEventArgs::NewState(winrt::Windows::UI::Xaml::VisualState const& value) const + template auto consume_Windows_UI_Xaml_IVisualStateChangedEventArgs::NewState(winrt::Windows::UI::Xaml::VisualState const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateChangedEventArgs)->put_NewState(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Control) consume_Windows_UI_Xaml_IVisualStateChangedEventArgs::Control() const + template auto consume_Windows_UI_Xaml_IVisualStateChangedEventArgs::Control() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateChangedEventArgs)->get_Control(&value)); return winrt::Windows::UI::Xaml::Controls::Control{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualStateChangedEventArgs::Control(winrt::Windows::UI::Xaml::Controls::Control const& value) const + template auto consume_Windows_UI_Xaml_IVisualStateChangedEventArgs::Control(winrt::Windows::UI::Xaml::Controls::Control const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateChangedEventArgs)->put_Control(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IVisualStateGroup::Name() const + template auto consume_Windows_UI_Xaml_IVisualStateGroup::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateGroup)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_IVisualStateGroup::Transitions() const + template auto consume_Windows_UI_Xaml_IVisualStateGroup::Transitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateGroup)->get_Transitions(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_IVisualStateGroup::States() const + template auto consume_Windows_UI_Xaml_IVisualStateGroup::States() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateGroup)->get_States(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualState) consume_Windows_UI_Xaml_IVisualStateGroup::CurrentState() const + template auto consume_Windows_UI_Xaml_IVisualStateGroup::CurrentState() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateGroup)->get_CurrentState(&value)); return winrt::Windows::UI::Xaml::VisualState{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IVisualStateGroup::CurrentStateChanged(winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IVisualStateGroup::CurrentStateChanged(winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateGroup)->add_CurrentStateChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IVisualStateGroup::CurrentStateChanged_revoker consume_Windows_UI_Xaml_IVisualStateGroup::CurrentStateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IVisualStateGroup::CurrentStateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const { return impl::make_event_revoker(this, CurrentStateChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualStateGroup::CurrentStateChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IVisualStateGroup::CurrentStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateGroup)->remove_CurrentStateChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IVisualStateGroup::CurrentStateChanging(winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IVisualStateGroup::CurrentStateChanging(winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateGroup)->add_CurrentStateChanging(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IVisualStateGroup::CurrentStateChanging_revoker consume_Windows_UI_Xaml_IVisualStateGroup::CurrentStateChanging(auto_revoke_t, winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IVisualStateGroup::CurrentStateChanging(auto_revoke_t, winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const { return impl::make_event_revoker(this, CurrentStateChanging(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualStateGroup::CurrentStateChanging(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IVisualStateGroup::CurrentStateChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateGroup)->remove_CurrentStateChanging(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualStateManager) consume_Windows_UI_Xaml_IVisualStateManagerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IVisualStateManagerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateManagerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::VisualStateManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IVisualStateManagerOverrides::GoToStateCore(winrt::Windows::UI::Xaml::Controls::Control const& control, winrt::Windows::UI::Xaml::FrameworkElement const& templateRoot, param::hstring const& stateName, winrt::Windows::UI::Xaml::VisualStateGroup const& group, winrt::Windows::UI::Xaml::VisualState const& state, bool useTransitions) const + template auto consume_Windows_UI_Xaml_IVisualStateManagerOverrides::GoToStateCore(winrt::Windows::UI::Xaml::Controls::Control const& control, winrt::Windows::UI::Xaml::FrameworkElement const& templateRoot, param::hstring const& stateName, winrt::Windows::UI::Xaml::VisualStateGroup const& group, winrt::Windows::UI::Xaml::VisualState const& state, bool useTransitions) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateManagerOverrides)->GoToStateCore(*(void**)(&control), *(void**)(&templateRoot), *(void**)(&stateName), *(void**)(&group), *(void**)(&state), useTransitions, &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualStateManagerProtected::RaiseCurrentStateChanging(winrt::Windows::UI::Xaml::VisualStateGroup const& stateGroup, winrt::Windows::UI::Xaml::VisualState const& oldState, winrt::Windows::UI::Xaml::VisualState const& newState, winrt::Windows::UI::Xaml::Controls::Control const& control) const + template auto consume_Windows_UI_Xaml_IVisualStateManagerProtected::RaiseCurrentStateChanging(winrt::Windows::UI::Xaml::VisualStateGroup const& stateGroup, winrt::Windows::UI::Xaml::VisualState const& oldState, winrt::Windows::UI::Xaml::VisualState const& newState, winrt::Windows::UI::Xaml::Controls::Control const& control) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateManagerProtected)->RaiseCurrentStateChanging(*(void**)(&stateGroup), *(void**)(&oldState), *(void**)(&newState), *(void**)(&control))); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualStateManagerProtected::RaiseCurrentStateChanged(winrt::Windows::UI::Xaml::VisualStateGroup const& stateGroup, winrt::Windows::UI::Xaml::VisualState const& oldState, winrt::Windows::UI::Xaml::VisualState const& newState, winrt::Windows::UI::Xaml::Controls::Control const& control) const + template auto consume_Windows_UI_Xaml_IVisualStateManagerProtected::RaiseCurrentStateChanged(winrt::Windows::UI::Xaml::VisualStateGroup const& stateGroup, winrt::Windows::UI::Xaml::VisualState const& oldState, winrt::Windows::UI::Xaml::VisualState const& newState, winrt::Windows::UI::Xaml::Controls::Control const& control) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateManagerProtected)->RaiseCurrentStateChanged(*(void**)(&stateGroup), *(void**)(&oldState), *(void**)(&newState), *(void**)(&control))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_IVisualStateManagerStatics::GetVisualStateGroups(winrt::Windows::UI::Xaml::FrameworkElement const& obj) const + template auto consume_Windows_UI_Xaml_IVisualStateManagerStatics::GetVisualStateGroups(winrt::Windows::UI::Xaml::FrameworkElement const& obj) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateManagerStatics)->GetVisualStateGroups(*(void**)(&obj), &result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IVisualStateManagerStatics::CustomVisualStateManagerProperty() const + template auto consume_Windows_UI_Xaml_IVisualStateManagerStatics::CustomVisualStateManagerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateManagerStatics)->get_CustomVisualStateManagerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualStateManager) consume_Windows_UI_Xaml_IVisualStateManagerStatics::GetCustomVisualStateManager(winrt::Windows::UI::Xaml::FrameworkElement const& obj) const + template auto consume_Windows_UI_Xaml_IVisualStateManagerStatics::GetCustomVisualStateManager(winrt::Windows::UI::Xaml::FrameworkElement const& obj) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateManagerStatics)->GetCustomVisualStateManager(*(void**)(&obj), &result)); return winrt::Windows::UI::Xaml::VisualStateManager{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualStateManagerStatics::SetCustomVisualStateManager(winrt::Windows::UI::Xaml::FrameworkElement const& obj, winrt::Windows::UI::Xaml::VisualStateManager const& value) const + template auto consume_Windows_UI_Xaml_IVisualStateManagerStatics::SetCustomVisualStateManager(winrt::Windows::UI::Xaml::FrameworkElement const& obj, winrt::Windows::UI::Xaml::VisualStateManager const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateManagerStatics)->SetCustomVisualStateManager(*(void**)(&obj), *(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IVisualStateManagerStatics::GoToState(winrt::Windows::UI::Xaml::Controls::Control const& control, param::hstring const& stateName, bool useTransitions) const + template auto consume_Windows_UI_Xaml_IVisualStateManagerStatics::GoToState(winrt::Windows::UI::Xaml::Controls::Control const& control, param::hstring const& stateName, bool useTransitions) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateManagerStatics)->GoToState(*(void**)(&control), *(void**)(&stateName), useTransitions, &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_IVisualTransition::GeneratedDuration() const + template auto consume_Windows_UI_Xaml_IVisualTransition::GeneratedDuration() const { winrt::Windows::UI::Xaml::Duration value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualTransition)->get_GeneratedDuration(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualTransition::GeneratedDuration(winrt::Windows::UI::Xaml::Duration const& value) const + template auto consume_Windows_UI_Xaml_IVisualTransition::GeneratedDuration(winrt::Windows::UI::Xaml::Duration const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualTransition)->put_GeneratedDuration(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) consume_Windows_UI_Xaml_IVisualTransition::GeneratedEasingFunction() const + template auto consume_Windows_UI_Xaml_IVisualTransition::GeneratedEasingFunction() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualTransition)->get_GeneratedEasingFunction(&value)); return winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualTransition::GeneratedEasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const + template auto consume_Windows_UI_Xaml_IVisualTransition::GeneratedEasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualTransition)->put_GeneratedEasingFunction(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IVisualTransition::To() const + template auto consume_Windows_UI_Xaml_IVisualTransition::To() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualTransition)->get_To(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualTransition::To(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_IVisualTransition::To(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualTransition)->put_To(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IVisualTransition::From() const + template auto consume_Windows_UI_Xaml_IVisualTransition::From() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualTransition)->get_From(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualTransition::From(param::hstring const& value) const + template auto consume_Windows_UI_Xaml_IVisualTransition::From(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualTransition)->put_From(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::Storyboard) consume_Windows_UI_Xaml_IVisualTransition::Storyboard() const + template auto consume_Windows_UI_Xaml_IVisualTransition::Storyboard() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualTransition)->get_Storyboard(&value)); return winrt::Windows::UI::Xaml::Media::Animation::Storyboard{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualTransition::Storyboard(winrt::Windows::UI::Xaml::Media::Animation::Storyboard const& value) const + template auto consume_Windows_UI_Xaml_IVisualTransition::Storyboard(winrt::Windows::UI::Xaml::Media::Animation::Storyboard const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualTransition)->put_Storyboard(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualTransition) consume_Windows_UI_Xaml_IVisualTransitionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + template auto consume_Windows_UI_Xaml_IVisualTransitionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualTransitionFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::VisualTransition{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IWindow::Bounds() const + template auto consume_Windows_UI_Xaml_IWindow::Bounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->get_Bounds(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IWindow::Visible() const + template auto consume_Windows_UI_Xaml_IWindow::Visible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->get_Visible(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_IWindow::Content() const + template auto consume_Windows_UI_Xaml_IWindow::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->get_Content(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IWindow::Content(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_IWindow::Content(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->put_Content(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindow) consume_Windows_UI_Xaml_IWindow::CoreWindow() const + template auto consume_Windows_UI_Xaml_IWindow::CoreWindow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->get_CoreWindow(&value)); return winrt::Windows::UI::Core::CoreWindow{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) consume_Windows_UI_Xaml_IWindow::Dispatcher() const + template auto consume_Windows_UI_Xaml_IWindow::Dispatcher() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->get_Dispatcher(&value)); return winrt::Windows::UI::Core::CoreDispatcher{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IWindow::Activated(winrt::Windows::UI::Xaml::WindowActivatedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IWindow::Activated(winrt::Windows::UI::Xaml::WindowActivatedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->add_Activated(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IWindow::Activated_revoker consume_Windows_UI_Xaml_IWindow::Activated(auto_revoke_t, winrt::Windows::UI::Xaml::WindowActivatedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IWindow::Activated(auto_revoke_t, winrt::Windows::UI::Xaml::WindowActivatedEventHandler const& handler) const { return impl::make_event_revoker(this, Activated(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IWindow::Activated(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IWindow::Activated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->remove_Activated(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IWindow::Closed(winrt::Windows::UI::Xaml::WindowClosedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IWindow::Closed(winrt::Windows::UI::Xaml::WindowClosedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IWindow::Closed_revoker consume_Windows_UI_Xaml_IWindow::Closed(auto_revoke_t, winrt::Windows::UI::Xaml::WindowClosedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IWindow::Closed(auto_revoke_t, winrt::Windows::UI::Xaml::WindowClosedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IWindow::Closed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IWindow::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->remove_Closed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IWindow::SizeChanged(winrt::Windows::UI::Xaml::WindowSizeChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IWindow::SizeChanged(winrt::Windows::UI::Xaml::WindowSizeChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->add_SizeChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IWindow::SizeChanged_revoker consume_Windows_UI_Xaml_IWindow::SizeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::WindowSizeChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IWindow::SizeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::WindowSizeChangedEventHandler const& handler) const { return impl::make_event_revoker(this, SizeChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IWindow::SizeChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IWindow::SizeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->remove_SizeChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IWindow::VisibilityChanged(winrt::Windows::UI::Xaml::WindowVisibilityChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IWindow::VisibilityChanged(winrt::Windows::UI::Xaml::WindowVisibilityChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->add_VisibilityChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IWindow::VisibilityChanged_revoker consume_Windows_UI_Xaml_IWindow::VisibilityChanged(auto_revoke_t, winrt::Windows::UI::Xaml::WindowVisibilityChangedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IWindow::VisibilityChanged(auto_revoke_t, winrt::Windows::UI::Xaml::WindowVisibilityChangedEventHandler const& handler) const { return impl::make_event_revoker(this, VisibilityChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IWindow::VisibilityChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IWindow::VisibilityChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->remove_VisibilityChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IWindow::Activate() const + template auto consume_Windows_UI_Xaml_IWindow::Activate() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->Activate()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IWindow::Close() const + template auto consume_Windows_UI_Xaml_IWindow::Close() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->Close()); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IWindow2::SetTitleBar(winrt::Windows::UI::Xaml::UIElement const& value) const + template auto consume_Windows_UI_Xaml_IWindow2::SetTitleBar(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow2)->SetTitleBar(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Compositor) consume_Windows_UI_Xaml_IWindow3::Compositor() const + template auto consume_Windows_UI_Xaml_IWindow3::Compositor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow3)->get_Compositor(&value)); return winrt::Windows::UI::Composition::Compositor{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) consume_Windows_UI_Xaml_IWindow4::UIContext() const + template auto consume_Windows_UI_Xaml_IWindow4::UIContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow4)->get_UIContext(&value)); return winrt::Windows::UI::UIContext{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Window) consume_Windows_UI_Xaml_IWindowCreatedEventArgs::Window() const + template auto consume_Windows_UI_Xaml_IWindowCreatedEventArgs::Window() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindowCreatedEventArgs)->get_Window(&value)); return winrt::Windows::UI::Xaml::Window{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Window) consume_Windows_UI_Xaml_IWindowStatics::Current() const + template auto consume_Windows_UI_Xaml_IWindowStatics::Current() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindowStatics)->get_Current(&value)); return winrt::Windows::UI::Xaml::Window{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_IXamlRoot::Content() const + template auto consume_Windows_UI_Xaml_IXamlRoot::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IXamlRoot)->get_Content(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_IXamlRoot::Size() const + template auto consume_Windows_UI_Xaml_IXamlRoot::Size() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IXamlRoot)->get_Size(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IXamlRoot::RasterizationScale() const + template auto consume_Windows_UI_Xaml_IXamlRoot::RasterizationScale() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IXamlRoot)->get_RasterizationScale(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IXamlRoot::IsHostVisible() const + template auto consume_Windows_UI_Xaml_IXamlRoot::IsHostVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IXamlRoot)->get_IsHostVisible(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) consume_Windows_UI_Xaml_IXamlRoot::UIContext() const + template auto consume_Windows_UI_Xaml_IXamlRoot::UIContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IXamlRoot)->get_UIContext(&value)); return winrt::Windows::UI::UIContext{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IXamlRoot::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IXamlRoot::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IXamlRoot)->add_Changed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_UI_Xaml_IXamlRoot::Changed_revoker consume_Windows_UI_Xaml_IXamlRoot::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_UI_Xaml_IXamlRoot::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Changed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IXamlRoot::Changed(winrt::event_token const& token) const noexcept + template auto consume_Windows_UI_Xaml_IXamlRoot::Changed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IXamlRoot)->remove_Changed(impl::bind_in(token)); } @@ -13516,95 +13516,95 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } - template WINRT_IMPL_AUTO(void) IApplicationOverridesT::OnActivated(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& args) const + template auto IApplicationOverridesT::OnActivated(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& args) const { return shim().template try_as().OnActivated(args); } - template WINRT_IMPL_AUTO(void) IApplicationOverridesT::OnLaunched(winrt::Windows::ApplicationModel::Activation::LaunchActivatedEventArgs const& args) const + template auto IApplicationOverridesT::OnLaunched(winrt::Windows::ApplicationModel::Activation::LaunchActivatedEventArgs const& args) const { return shim().template try_as().OnLaunched(args); } - template WINRT_IMPL_AUTO(void) IApplicationOverridesT::OnFileActivated(winrt::Windows::ApplicationModel::Activation::FileActivatedEventArgs const& args) const + template auto IApplicationOverridesT::OnFileActivated(winrt::Windows::ApplicationModel::Activation::FileActivatedEventArgs const& args) const { return shim().template try_as().OnFileActivated(args); } - template WINRT_IMPL_AUTO(void) IApplicationOverridesT::OnSearchActivated(winrt::Windows::ApplicationModel::Activation::SearchActivatedEventArgs const& args) const + template auto IApplicationOverridesT::OnSearchActivated(winrt::Windows::ApplicationModel::Activation::SearchActivatedEventArgs const& args) const { return shim().template try_as().OnSearchActivated(args); } - template WINRT_IMPL_AUTO(void) IApplicationOverridesT::OnShareTargetActivated(winrt::Windows::ApplicationModel::Activation::ShareTargetActivatedEventArgs const& args) const + template auto IApplicationOverridesT::OnShareTargetActivated(winrt::Windows::ApplicationModel::Activation::ShareTargetActivatedEventArgs const& args) const { return shim().template try_as().OnShareTargetActivated(args); } - template WINRT_IMPL_AUTO(void) IApplicationOverridesT::OnFileOpenPickerActivated(winrt::Windows::ApplicationModel::Activation::FileOpenPickerActivatedEventArgs const& args) const + template auto IApplicationOverridesT::OnFileOpenPickerActivated(winrt::Windows::ApplicationModel::Activation::FileOpenPickerActivatedEventArgs const& args) const { return shim().template try_as().OnFileOpenPickerActivated(args); } - template WINRT_IMPL_AUTO(void) IApplicationOverridesT::OnFileSavePickerActivated(winrt::Windows::ApplicationModel::Activation::FileSavePickerActivatedEventArgs const& args) const + template auto IApplicationOverridesT::OnFileSavePickerActivated(winrt::Windows::ApplicationModel::Activation::FileSavePickerActivatedEventArgs const& args) const { return shim().template try_as().OnFileSavePickerActivated(args); } - template WINRT_IMPL_AUTO(void) IApplicationOverridesT::OnCachedFileUpdaterActivated(winrt::Windows::ApplicationModel::Activation::CachedFileUpdaterActivatedEventArgs const& args) const + template auto IApplicationOverridesT::OnCachedFileUpdaterActivated(winrt::Windows::ApplicationModel::Activation::CachedFileUpdaterActivatedEventArgs const& args) const { return shim().template try_as().OnCachedFileUpdaterActivated(args); } - template WINRT_IMPL_AUTO(void) IApplicationOverridesT::OnWindowCreated(winrt::Windows::UI::Xaml::WindowCreatedEventArgs const& args) const + template auto IApplicationOverridesT::OnWindowCreated(winrt::Windows::UI::Xaml::WindowCreatedEventArgs const& args) const { return shim().template try_as().OnWindowCreated(args); } - template WINRT_IMPL_AUTO(void) IApplicationOverrides2T::OnBackgroundActivated(winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs const& args) const + template auto IApplicationOverrides2T::OnBackgroundActivated(winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs const& args) const { return shim().template try_as().OnBackgroundActivated(args); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) IFrameworkElementOverridesT::MeasureOverride(winrt::Windows::Foundation::Size const& availableSize) const + template auto IFrameworkElementOverridesT::MeasureOverride(winrt::Windows::Foundation::Size const& availableSize) const { return shim().template try_as().MeasureOverride(availableSize); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) IFrameworkElementOverridesT::ArrangeOverride(winrt::Windows::Foundation::Size const& finalSize) const + template auto IFrameworkElementOverridesT::ArrangeOverride(winrt::Windows::Foundation::Size const& finalSize) const { return shim().template try_as().ArrangeOverride(finalSize); } - template WINRT_IMPL_AUTO(void) IFrameworkElementOverridesT::OnApplyTemplate() const + template auto IFrameworkElementOverridesT::OnApplyTemplate() const { return shim().template try_as().OnApplyTemplate(); } - template WINRT_IMPL_AUTO(bool) IFrameworkElementOverrides2T::GoToElementStateCore(param::hstring const& stateName, bool useTransitions) const + template auto IFrameworkElementOverrides2T::GoToElementStateCore(param::hstring const& stateName, bool useTransitions) const { return shim().template try_as().GoToElementStateCore(stateName, useTransitions); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) IUIElementOverridesT::OnCreateAutomationPeer() const + template auto IUIElementOverridesT::OnCreateAutomationPeer() const { return shim().template try_as().OnCreateAutomationPeer(); } - template WINRT_IMPL_AUTO(void) IUIElementOverridesT::OnDisconnectVisualChildren() const + template auto IUIElementOverridesT::OnDisconnectVisualChildren() const { return shim().template try_as().OnDisconnectVisualChildren(); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable>) IUIElementOverridesT::FindSubElementsForTouchTargeting(winrt::Windows::Foundation::Point const& point, winrt::Windows::Foundation::Rect const& boundingRect) const + template auto IUIElementOverridesT::FindSubElementsForTouchTargeting(winrt::Windows::Foundation::Point const& point, winrt::Windows::Foundation::Rect const& boundingRect) const { return shim().template try_as().FindSubElementsForTouchTargeting(point, boundingRect); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) IUIElementOverrides7T::GetChildrenInTabFocusOrder() const + template auto IUIElementOverrides7T::GetChildrenInTabFocusOrder() const { return shim().template try_as().GetChildrenInTabFocusOrder(); } - template WINRT_IMPL_AUTO(void) IUIElementOverrides7T::OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const + template auto IUIElementOverrides7T::OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const { return shim().template try_as().OnProcessKeyboardAccelerators(args); } - template WINRT_IMPL_AUTO(void) IUIElementOverrides8T::OnKeyboardAcceleratorInvoked(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs const& args) const + template auto IUIElementOverrides8T::OnKeyboardAcceleratorInvoked(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs const& args) const { return shim().template try_as().OnKeyboardAcceleratorInvoked(args); } - template WINRT_IMPL_AUTO(void) IUIElementOverrides8T::OnBringIntoViewRequested(winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs const& e) const + template auto IUIElementOverrides8T::OnBringIntoViewRequested(winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs const& e) const { return shim().template try_as().OnBringIntoViewRequested(e); } - template WINRT_IMPL_AUTO(void) IUIElementOverrides9T::PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const + template auto IUIElementOverrides9T::PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const { return shim().template try_as().PopulatePropertyInfoOverride(propertyName, animationPropertyInfo); } - template WINRT_IMPL_AUTO(bool) IVisualStateManagerOverridesT::GoToStateCore(winrt::Windows::UI::Xaml::Controls::Control const& control, winrt::Windows::UI::Xaml::FrameworkElement const& templateRoot, param::hstring const& stateName, winrt::Windows::UI::Xaml::VisualStateGroup const& group, winrt::Windows::UI::Xaml::VisualState const& state, bool useTransitions) const + template auto IVisualStateManagerOverridesT::GoToStateCore(winrt::Windows::UI::Xaml::Controls::Control const& control, winrt::Windows::UI::Xaml::FrameworkElement const& templateRoot, param::hstring const& stateName, winrt::Windows::UI::Xaml::VisualStateGroup const& group, winrt::Windows::UI::Xaml::VisualState const& state, bool useTransitions) const { return shim().template try_as().GoToStateCore(control, templateRoot, stateName, group, state, useTransitions); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.UI.h b/internal/platform/implementation/windows/generated/winrt/Windows.UI.h index 67082295..0d0a03b4 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.UI.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.UI.h @@ -1,873 +1,873 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_H #define WINRT_Windows_UI_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.UI.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorHelperStatics::FromArgb(uint8_t a, uint8_t r, uint8_t g, uint8_t b) const + template auto consume_Windows_UI_IColorHelperStatics::FromArgb(uint8_t a, uint8_t r, uint8_t g, uint8_t b) const { winrt::Windows::UI::Color returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorHelperStatics)->FromArgb(a, r, g, b, put_abi(returnValue))); return returnValue; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_IColorHelperStatics2::ToDisplayName(winrt::Windows::UI::Color const& color) const + template auto consume_Windows_UI_IColorHelperStatics2::ToDisplayName(winrt::Windows::UI::Color const& color) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorHelperStatics2)->ToDisplayName(impl::bind_in(color), &returnValue)); return hstring{ returnValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::AliceBlue() const + template auto consume_Windows_UI_IColorsStatics::AliceBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_AliceBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::AntiqueWhite() const + template auto consume_Windows_UI_IColorsStatics::AntiqueWhite() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_AntiqueWhite(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Aqua() const + template auto consume_Windows_UI_IColorsStatics::Aqua() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Aqua(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Aquamarine() const + template auto consume_Windows_UI_IColorsStatics::Aquamarine() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Aquamarine(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Azure() const + template auto consume_Windows_UI_IColorsStatics::Azure() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Azure(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Beige() const + template auto consume_Windows_UI_IColorsStatics::Beige() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Beige(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Bisque() const + template auto consume_Windows_UI_IColorsStatics::Bisque() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Bisque(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Black() const + template auto consume_Windows_UI_IColorsStatics::Black() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Black(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::BlanchedAlmond() const + template auto consume_Windows_UI_IColorsStatics::BlanchedAlmond() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_BlanchedAlmond(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Blue() const + template auto consume_Windows_UI_IColorsStatics::Blue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Blue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::BlueViolet() const + template auto consume_Windows_UI_IColorsStatics::BlueViolet() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_BlueViolet(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Brown() const + template auto consume_Windows_UI_IColorsStatics::Brown() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Brown(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::BurlyWood() const + template auto consume_Windows_UI_IColorsStatics::BurlyWood() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_BurlyWood(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::CadetBlue() const + template auto consume_Windows_UI_IColorsStatics::CadetBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_CadetBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Chartreuse() const + template auto consume_Windows_UI_IColorsStatics::Chartreuse() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Chartreuse(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Chocolate() const + template auto consume_Windows_UI_IColorsStatics::Chocolate() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Chocolate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Coral() const + template auto consume_Windows_UI_IColorsStatics::Coral() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Coral(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::CornflowerBlue() const + template auto consume_Windows_UI_IColorsStatics::CornflowerBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_CornflowerBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Cornsilk() const + template auto consume_Windows_UI_IColorsStatics::Cornsilk() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Cornsilk(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Crimson() const + template auto consume_Windows_UI_IColorsStatics::Crimson() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Crimson(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Cyan() const + template auto consume_Windows_UI_IColorsStatics::Cyan() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Cyan(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkBlue() const + template auto consume_Windows_UI_IColorsStatics::DarkBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkCyan() const + template auto consume_Windows_UI_IColorsStatics::DarkCyan() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkCyan(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkGoldenrod() const + template auto consume_Windows_UI_IColorsStatics::DarkGoldenrod() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkGoldenrod(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkGray() const + template auto consume_Windows_UI_IColorsStatics::DarkGray() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkGray(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkGreen() const + template auto consume_Windows_UI_IColorsStatics::DarkGreen() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkGreen(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkKhaki() const + template auto consume_Windows_UI_IColorsStatics::DarkKhaki() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkKhaki(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkMagenta() const + template auto consume_Windows_UI_IColorsStatics::DarkMagenta() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkMagenta(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkOliveGreen() const + template auto consume_Windows_UI_IColorsStatics::DarkOliveGreen() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkOliveGreen(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkOrange() const + template auto consume_Windows_UI_IColorsStatics::DarkOrange() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkOrange(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkOrchid() const + template auto consume_Windows_UI_IColorsStatics::DarkOrchid() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkOrchid(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkRed() const + template auto consume_Windows_UI_IColorsStatics::DarkRed() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkRed(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkSalmon() const + template auto consume_Windows_UI_IColorsStatics::DarkSalmon() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkSalmon(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkSeaGreen() const + template auto consume_Windows_UI_IColorsStatics::DarkSeaGreen() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkSeaGreen(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkSlateBlue() const + template auto consume_Windows_UI_IColorsStatics::DarkSlateBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkSlateBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkSlateGray() const + template auto consume_Windows_UI_IColorsStatics::DarkSlateGray() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkSlateGray(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkTurquoise() const + template auto consume_Windows_UI_IColorsStatics::DarkTurquoise() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkTurquoise(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DarkViolet() const + template auto consume_Windows_UI_IColorsStatics::DarkViolet() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkViolet(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DeepPink() const + template auto consume_Windows_UI_IColorsStatics::DeepPink() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DeepPink(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DeepSkyBlue() const + template auto consume_Windows_UI_IColorsStatics::DeepSkyBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DeepSkyBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DimGray() const + template auto consume_Windows_UI_IColorsStatics::DimGray() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DimGray(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::DodgerBlue() const + template auto consume_Windows_UI_IColorsStatics::DodgerBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DodgerBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Firebrick() const + template auto consume_Windows_UI_IColorsStatics::Firebrick() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Firebrick(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::FloralWhite() const + template auto consume_Windows_UI_IColorsStatics::FloralWhite() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_FloralWhite(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::ForestGreen() const + template auto consume_Windows_UI_IColorsStatics::ForestGreen() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_ForestGreen(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Fuchsia() const + template auto consume_Windows_UI_IColorsStatics::Fuchsia() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Fuchsia(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Gainsboro() const + template auto consume_Windows_UI_IColorsStatics::Gainsboro() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Gainsboro(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::GhostWhite() const + template auto consume_Windows_UI_IColorsStatics::GhostWhite() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_GhostWhite(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Gold() const + template auto consume_Windows_UI_IColorsStatics::Gold() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Gold(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Goldenrod() const + template auto consume_Windows_UI_IColorsStatics::Goldenrod() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Goldenrod(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Gray() const + template auto consume_Windows_UI_IColorsStatics::Gray() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Gray(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Green() const + template auto consume_Windows_UI_IColorsStatics::Green() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Green(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::GreenYellow() const + template auto consume_Windows_UI_IColorsStatics::GreenYellow() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_GreenYellow(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Honeydew() const + template auto consume_Windows_UI_IColorsStatics::Honeydew() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Honeydew(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::HotPink() const + template auto consume_Windows_UI_IColorsStatics::HotPink() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_HotPink(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::IndianRed() const + template auto consume_Windows_UI_IColorsStatics::IndianRed() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_IndianRed(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Indigo() const + template auto consume_Windows_UI_IColorsStatics::Indigo() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Indigo(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Ivory() const + template auto consume_Windows_UI_IColorsStatics::Ivory() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Ivory(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Khaki() const + template auto consume_Windows_UI_IColorsStatics::Khaki() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Khaki(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Lavender() const + template auto consume_Windows_UI_IColorsStatics::Lavender() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Lavender(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LavenderBlush() const + template auto consume_Windows_UI_IColorsStatics::LavenderBlush() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LavenderBlush(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LawnGreen() const + template auto consume_Windows_UI_IColorsStatics::LawnGreen() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LawnGreen(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LemonChiffon() const + template auto consume_Windows_UI_IColorsStatics::LemonChiffon() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LemonChiffon(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LightBlue() const + template auto consume_Windows_UI_IColorsStatics::LightBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LightCoral() const + template auto consume_Windows_UI_IColorsStatics::LightCoral() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightCoral(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LightCyan() const + template auto consume_Windows_UI_IColorsStatics::LightCyan() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightCyan(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LightGoldenrodYellow() const + template auto consume_Windows_UI_IColorsStatics::LightGoldenrodYellow() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightGoldenrodYellow(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LightGreen() const + template auto consume_Windows_UI_IColorsStatics::LightGreen() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightGreen(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LightGray() const + template auto consume_Windows_UI_IColorsStatics::LightGray() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightGray(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LightPink() const + template auto consume_Windows_UI_IColorsStatics::LightPink() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightPink(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LightSalmon() const + template auto consume_Windows_UI_IColorsStatics::LightSalmon() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightSalmon(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LightSeaGreen() const + template auto consume_Windows_UI_IColorsStatics::LightSeaGreen() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightSeaGreen(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LightSkyBlue() const + template auto consume_Windows_UI_IColorsStatics::LightSkyBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightSkyBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LightSlateGray() const + template auto consume_Windows_UI_IColorsStatics::LightSlateGray() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightSlateGray(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LightSteelBlue() const + template auto consume_Windows_UI_IColorsStatics::LightSteelBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightSteelBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LightYellow() const + template auto consume_Windows_UI_IColorsStatics::LightYellow() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightYellow(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Lime() const + template auto consume_Windows_UI_IColorsStatics::Lime() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Lime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::LimeGreen() const + template auto consume_Windows_UI_IColorsStatics::LimeGreen() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LimeGreen(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Linen() const + template auto consume_Windows_UI_IColorsStatics::Linen() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Linen(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Magenta() const + template auto consume_Windows_UI_IColorsStatics::Magenta() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Magenta(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Maroon() const + template auto consume_Windows_UI_IColorsStatics::Maroon() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Maroon(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::MediumAquamarine() const + template auto consume_Windows_UI_IColorsStatics::MediumAquamarine() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumAquamarine(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::MediumBlue() const + template auto consume_Windows_UI_IColorsStatics::MediumBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::MediumOrchid() const + template auto consume_Windows_UI_IColorsStatics::MediumOrchid() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumOrchid(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::MediumPurple() const + template auto consume_Windows_UI_IColorsStatics::MediumPurple() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumPurple(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::MediumSeaGreen() const + template auto consume_Windows_UI_IColorsStatics::MediumSeaGreen() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumSeaGreen(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::MediumSlateBlue() const + template auto consume_Windows_UI_IColorsStatics::MediumSlateBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumSlateBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::MediumSpringGreen() const + template auto consume_Windows_UI_IColorsStatics::MediumSpringGreen() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumSpringGreen(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::MediumTurquoise() const + template auto consume_Windows_UI_IColorsStatics::MediumTurquoise() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumTurquoise(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::MediumVioletRed() const + template auto consume_Windows_UI_IColorsStatics::MediumVioletRed() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumVioletRed(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::MidnightBlue() const + template auto consume_Windows_UI_IColorsStatics::MidnightBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MidnightBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::MintCream() const + template auto consume_Windows_UI_IColorsStatics::MintCream() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MintCream(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::MistyRose() const + template auto consume_Windows_UI_IColorsStatics::MistyRose() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MistyRose(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Moccasin() const + template auto consume_Windows_UI_IColorsStatics::Moccasin() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Moccasin(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::NavajoWhite() const + template auto consume_Windows_UI_IColorsStatics::NavajoWhite() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_NavajoWhite(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Navy() const + template auto consume_Windows_UI_IColorsStatics::Navy() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Navy(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::OldLace() const + template auto consume_Windows_UI_IColorsStatics::OldLace() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_OldLace(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Olive() const + template auto consume_Windows_UI_IColorsStatics::Olive() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Olive(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::OliveDrab() const + template auto consume_Windows_UI_IColorsStatics::OliveDrab() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_OliveDrab(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Orange() const + template auto consume_Windows_UI_IColorsStatics::Orange() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Orange(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::OrangeRed() const + template auto consume_Windows_UI_IColorsStatics::OrangeRed() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_OrangeRed(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Orchid() const + template auto consume_Windows_UI_IColorsStatics::Orchid() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Orchid(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::PaleGoldenrod() const + template auto consume_Windows_UI_IColorsStatics::PaleGoldenrod() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_PaleGoldenrod(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::PaleGreen() const + template auto consume_Windows_UI_IColorsStatics::PaleGreen() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_PaleGreen(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::PaleTurquoise() const + template auto consume_Windows_UI_IColorsStatics::PaleTurquoise() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_PaleTurquoise(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::PaleVioletRed() const + template auto consume_Windows_UI_IColorsStatics::PaleVioletRed() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_PaleVioletRed(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::PapayaWhip() const + template auto consume_Windows_UI_IColorsStatics::PapayaWhip() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_PapayaWhip(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::PeachPuff() const + template auto consume_Windows_UI_IColorsStatics::PeachPuff() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_PeachPuff(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Peru() const + template auto consume_Windows_UI_IColorsStatics::Peru() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Peru(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Pink() const + template auto consume_Windows_UI_IColorsStatics::Pink() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Pink(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Plum() const + template auto consume_Windows_UI_IColorsStatics::Plum() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Plum(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::PowderBlue() const + template auto consume_Windows_UI_IColorsStatics::PowderBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_PowderBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Purple() const + template auto consume_Windows_UI_IColorsStatics::Purple() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Purple(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Red() const + template auto consume_Windows_UI_IColorsStatics::Red() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Red(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::RosyBrown() const + template auto consume_Windows_UI_IColorsStatics::RosyBrown() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_RosyBrown(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::RoyalBlue() const + template auto consume_Windows_UI_IColorsStatics::RoyalBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_RoyalBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::SaddleBrown() const + template auto consume_Windows_UI_IColorsStatics::SaddleBrown() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SaddleBrown(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Salmon() const + template auto consume_Windows_UI_IColorsStatics::Salmon() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Salmon(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::SandyBrown() const + template auto consume_Windows_UI_IColorsStatics::SandyBrown() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SandyBrown(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::SeaGreen() const + template auto consume_Windows_UI_IColorsStatics::SeaGreen() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SeaGreen(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::SeaShell() const + template auto consume_Windows_UI_IColorsStatics::SeaShell() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SeaShell(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Sienna() const + template auto consume_Windows_UI_IColorsStatics::Sienna() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Sienna(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Silver() const + template auto consume_Windows_UI_IColorsStatics::Silver() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Silver(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::SkyBlue() const + template auto consume_Windows_UI_IColorsStatics::SkyBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SkyBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::SlateBlue() const + template auto consume_Windows_UI_IColorsStatics::SlateBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SlateBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::SlateGray() const + template auto consume_Windows_UI_IColorsStatics::SlateGray() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SlateGray(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Snow() const + template auto consume_Windows_UI_IColorsStatics::Snow() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Snow(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::SpringGreen() const + template auto consume_Windows_UI_IColorsStatics::SpringGreen() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SpringGreen(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::SteelBlue() const + template auto consume_Windows_UI_IColorsStatics::SteelBlue() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SteelBlue(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Tan() const + template auto consume_Windows_UI_IColorsStatics::Tan() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Tan(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Teal() const + template auto consume_Windows_UI_IColorsStatics::Teal() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Teal(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Thistle() const + template auto consume_Windows_UI_IColorsStatics::Thistle() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Thistle(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Tomato() const + template auto consume_Windows_UI_IColorsStatics::Tomato() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Tomato(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Transparent() const + template auto consume_Windows_UI_IColorsStatics::Transparent() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Transparent(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Turquoise() const + template auto consume_Windows_UI_IColorsStatics::Turquoise() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Turquoise(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Violet() const + template auto consume_Windows_UI_IColorsStatics::Violet() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Violet(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Wheat() const + template auto consume_Windows_UI_IColorsStatics::Wheat() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Wheat(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::White() const + template auto consume_Windows_UI_IColorsStatics::White() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_White(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::WhiteSmoke() const + template auto consume_Windows_UI_IColorsStatics::WhiteSmoke() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_WhiteSmoke(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::Yellow() const + template auto consume_Windows_UI_IColorsStatics::Yellow() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Yellow(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics::YellowGreen() const + template auto consume_Windows_UI_IColorsStatics::YellowGreen() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_YellowGreen(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) consume_Windows_UI_IUIContentRoot::UIContext() const + template auto consume_Windows_UI_IUIContentRoot::UIContext() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IUIContentRoot)->get_UIContext(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Web.AtomPub.h b/internal/platform/implementation/windows/generated/winrt/Windows.Web.AtomPub.h index 2cc0e49c..8126927e 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Web.AtomPub.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Web.AtomPub.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_AtomPub_H #define WINRT_Windows_Web_AtomPub_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Web.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,113 +15,113 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Web.AtomPub.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_AtomPub_IAtomPubClient::RetrieveServiceDocumentAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_AtomPub_IAtomPubClient::RetrieveServiceDocumentAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IAtomPubClient)->RetrieveServiceDocumentAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_AtomPub_IAtomPubClient::RetrieveMediaResourceAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_AtomPub_IAtomPubClient::RetrieveMediaResourceAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IAtomPubClient)->RetrieveMediaResourceAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_AtomPub_IAtomPubClient::RetrieveResourceAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_AtomPub_IAtomPubClient::RetrieveResourceAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IAtomPubClient)->RetrieveResourceAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_AtomPub_IAtomPubClient::CreateResourceAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& description, winrt::Windows::Web::Syndication::SyndicationItem const& item) const + template auto consume_Windows_Web_AtomPub_IAtomPubClient::CreateResourceAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& description, winrt::Windows::Web::Syndication::SyndicationItem const& item) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IAtomPubClient)->CreateResourceAsync(*(void**)(&uri), *(void**)(&description), *(void**)(&item), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_AtomPub_IAtomPubClient::CreateMediaResourceAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& mediaType, param::hstring const& description, winrt::Windows::Storage::Streams::IInputStream const& mediaStream) const + template auto consume_Windows_Web_AtomPub_IAtomPubClient::CreateMediaResourceAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& mediaType, param::hstring const& description, winrt::Windows::Storage::Streams::IInputStream const& mediaStream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IAtomPubClient)->CreateMediaResourceAsync(*(void**)(&uri), *(void**)(&mediaType), *(void**)(&description), *(void**)(&mediaStream), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress) consume_Windows_Web_AtomPub_IAtomPubClient::UpdateMediaResourceAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& mediaType, winrt::Windows::Storage::Streams::IInputStream const& mediaStream) const + template auto consume_Windows_Web_AtomPub_IAtomPubClient::UpdateMediaResourceAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& mediaType, winrt::Windows::Storage::Streams::IInputStream const& mediaStream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IAtomPubClient)->UpdateMediaResourceAsync(*(void**)(&uri), *(void**)(&mediaType), *(void**)(&mediaStream), &operation)); return winrt::Windows::Foundation::IAsyncActionWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress) consume_Windows_Web_AtomPub_IAtomPubClient::UpdateResourceAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Syndication::SyndicationItem const& item) const + template auto consume_Windows_Web_AtomPub_IAtomPubClient::UpdateResourceAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Syndication::SyndicationItem const& item) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IAtomPubClient)->UpdateResourceAsync(*(void**)(&uri), *(void**)(&item), &operation)); return winrt::Windows::Foundation::IAsyncActionWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress) consume_Windows_Web_AtomPub_IAtomPubClient::UpdateResourceItemAsync(winrt::Windows::Web::Syndication::SyndicationItem const& item) const + template auto consume_Windows_Web_AtomPub_IAtomPubClient::UpdateResourceItemAsync(winrt::Windows::Web::Syndication::SyndicationItem const& item) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IAtomPubClient)->UpdateResourceItemAsync(*(void**)(&item), &operation)); return winrt::Windows::Foundation::IAsyncActionWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress) consume_Windows_Web_AtomPub_IAtomPubClient::DeleteResourceAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_AtomPub_IAtomPubClient::DeleteResourceAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IAtomPubClient)->DeleteResourceAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncActionWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress) consume_Windows_Web_AtomPub_IAtomPubClient::DeleteResourceItemAsync(winrt::Windows::Web::Syndication::SyndicationItem const& item) const + template auto consume_Windows_Web_AtomPub_IAtomPubClient::DeleteResourceItemAsync(winrt::Windows::Web::Syndication::SyndicationItem const& item) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IAtomPubClient)->DeleteResourceItemAsync(*(void**)(&item), &operation)); return winrt::Windows::Foundation::IAsyncActionWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_AtomPub_IAtomPubClient::CancelAsyncOperations() const + template auto consume_Windows_Web_AtomPub_IAtomPubClient::CancelAsyncOperations() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IAtomPubClient)->CancelAsyncOperations()); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::AtomPub::AtomPubClient) consume_Windows_Web_AtomPub_IAtomPubClientFactory::CreateAtomPubClientWithCredentials(winrt::Windows::Security::Credentials::PasswordCredential const& serverCredential) const + template auto consume_Windows_Web_AtomPub_IAtomPubClientFactory::CreateAtomPubClientWithCredentials(winrt::Windows::Security::Credentials::PasswordCredential const& serverCredential) const { void* atomPubClient{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IAtomPubClientFactory)->CreateAtomPubClientWithCredentials(*(void**)(&serverCredential), &atomPubClient)); return winrt::Windows::Web::AtomPub::AtomPubClient{ atomPubClient, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) consume_Windows_Web_AtomPub_IResourceCollection::Title() const + template auto consume_Windows_Web_AtomPub_IResourceCollection::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IResourceCollection)->get_Title(&value)); return winrt::Windows::Web::Syndication::ISyndicationText{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_AtomPub_IResourceCollection::Uri() const + template auto consume_Windows_Web_AtomPub_IResourceCollection::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IResourceCollection)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Web_AtomPub_IResourceCollection::Categories() const + template auto consume_Windows_Web_AtomPub_IResourceCollection::Categories() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IResourceCollection)->get_Categories(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Web_AtomPub_IResourceCollection::Accepts() const + template auto consume_Windows_Web_AtomPub_IResourceCollection::Accepts() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IResourceCollection)->get_Accepts(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Web_AtomPub_IServiceDocument::Workspaces() const + template auto consume_Windows_Web_AtomPub_IServiceDocument::Workspaces() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IServiceDocument)->get_Workspaces(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) consume_Windows_Web_AtomPub_IWorkspace::Title() const + template auto consume_Windows_Web_AtomPub_IWorkspace::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IWorkspace)->get_Title(&value)); return winrt::Windows::Web::Syndication::ISyndicationText{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Web_AtomPub_IWorkspace::Collections() const + template auto consume_Windows_Web_AtomPub_IWorkspace::Collections() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IWorkspace)->get_Collections(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Diagnostics.h b/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Diagnostics.h index 89d69f20..34e597e6 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Diagnostics.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Diagnostics.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Http_Diagnostics_H #define WINRT_Windows_Web_Http_Diagnostics_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Web.Http.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -14,231 +14,231 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Web.Http.Diagnostics.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::Start() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::Start() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider)->Start()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::Stop() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider)->Stop()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::RequestSent(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::RequestSent(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider)->add_RequestSent(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::RequestSent_revoker consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::RequestSent(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::RequestSent(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RequestSent(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::RequestSent(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::RequestSent(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider)->remove_RequestSent(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::ResponseReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::ResponseReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider)->add_ResponseReceived(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::ResponseReceived_revoker consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::ResponseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::ResponseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ResponseReceived(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::ResponseReceived(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::ResponseReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider)->remove_ResponseReceived(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::RequestResponseCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::RequestResponseCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider)->add_RequestResponseCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::RequestResponseCompleted_revoker consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::RequestResponseCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::RequestResponseCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RequestResponseCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::RequestResponseCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider::RequestResponseCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider)->remove_RequestResponseCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs::ActivityId() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs::ActivityId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseCompletedEventArgs)->get_ActivityId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseTimestamps) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs::Timestamps() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs::Timestamps() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseCompletedEventArgs)->get_Timestamps(&value)); return winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseTimestamps{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs::RequestedUri() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs::RequestedUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseCompletedEventArgs)->get_RequestedUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs::ProcessId() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs::ProcessId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseCompletedEventArgs)->get_ProcessId(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs::ThreadId() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs::ThreadId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseCompletedEventArgs)->get_ThreadId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticRequestInitiator) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs::Initiator() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs::Initiator() const { winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticRequestInitiator value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseCompletedEventArgs)->get_Initiator(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs::SourceLocations() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs::SourceLocations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseCompletedEventArgs)->get_SourceLocations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::CacheCheckedTimestamp() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::CacheCheckedTimestamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_CacheCheckedTimestamp(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::ConnectionInitiatedTimestamp() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::ConnectionInitiatedTimestamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_ConnectionInitiatedTimestamp(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::NameResolvedTimestamp() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::NameResolvedTimestamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_NameResolvedTimestamp(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::SslNegotiatedTimestamp() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::SslNegotiatedTimestamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_SslNegotiatedTimestamp(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::ConnectionCompletedTimestamp() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::ConnectionCompletedTimestamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_ConnectionCompletedTimestamp(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::RequestSentTimestamp() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::RequestSentTimestamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_RequestSentTimestamp(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::RequestCompletedTimestamp() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::RequestCompletedTimestamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_RequestCompletedTimestamp(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::ResponseReceivedTimestamp() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::ResponseReceivedTimestamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_ResponseReceivedTimestamp(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::ResponseCompletedTimestamp() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps::ResponseCompletedTimestamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_ResponseCompletedTimestamp(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs::Timestamp() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestSentEventArgs)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs::ActivityId() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs::ActivityId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestSentEventArgs)->get_ActivityId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs::Message() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestSentEventArgs)->get_Message(&value)); return winrt::Windows::Web::Http::HttpRequestMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs::ProcessId() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs::ProcessId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestSentEventArgs)->get_ProcessId(&value)); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs::ThreadId() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs::ThreadId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestSentEventArgs)->get_ThreadId(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticRequestInitiator) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs::Initiator() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs::Initiator() const { winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticRequestInitiator value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestSentEventArgs)->get_Initiator(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs::SourceLocations() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs::SourceLocations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestSentEventArgs)->get_SourceLocations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderResponseReceivedEventArgs::Timestamp() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderResponseReceivedEventArgs::Timestamp() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderResponseReceivedEventArgs)->get_Timestamp(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderResponseReceivedEventArgs::ActivityId() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderResponseReceivedEventArgs::ActivityId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderResponseReceivedEventArgs)->get_ActivityId(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderResponseReceivedEventArgs::Message() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderResponseReceivedEventArgs::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderResponseReceivedEventArgs)->get_Message(&value)); return winrt::Windows::Web::Http::HttpResponseMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderStatics::CreateFromProcessDiagnosticInfo(winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo const& processDiagnosticInfo) const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderStatics::CreateFromProcessDiagnosticInfo(winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo const& processDiagnosticInfo) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderStatics)->CreateFromProcessDiagnosticInfo(*(void**)(&processDiagnosticInfo), &value)); return winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticSourceLocation::SourceUri() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticSourceLocation::SourceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticSourceLocation)->get_SourceUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticSourceLocation::LineNumber() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticSourceLocation::LineNumber() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticSourceLocation)->get_LineNumber(&value)); return value; } - template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticSourceLocation::ColumnNumber() const + template auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticSourceLocation::ColumnNumber() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticSourceLocation)->get_ColumnNumber(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Filters.h b/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Filters.h index f5d95941..0b576b0d 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Filters.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Filters.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Http_Filters_H #define WINRT_Windows_Web_Http_Filters_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Web.Http.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -17,215 +17,215 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Web.Http.Filters.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::AllowAutoRedirect() const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::AllowAutoRedirect() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_AllowAutoRedirect(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::AllowAutoRedirect(bool value) const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::AllowAutoRedirect(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->put_AllowAutoRedirect(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::AllowUI() const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::AllowUI() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_AllowUI(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::AllowUI(bool value) const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::AllowUI(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->put_AllowUI(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::AutomaticDecompression() const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::AutomaticDecompression() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_AutomaticDecompression(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::AutomaticDecompression(bool value) const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::AutomaticDecompression(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->put_AutomaticDecompression(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Filters::HttpCacheControl) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::CacheControl() const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::CacheControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_CacheControl(&value)); return winrt::Windows::Web::Http::Filters::HttpCacheControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpCookieManager) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::CookieManager() const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::CookieManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_CookieManager(&value)); return winrt::Windows::Web::Http::HttpCookieManager{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::ClientCertificate() const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::ClientCertificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_ClientCertificate(&value)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->put_ClientCertificate(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::IgnorableServerCertificateErrors() const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::IgnorableServerCertificateErrors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_IgnorableServerCertificateErrors(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::MaxConnectionsPerServer() const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::MaxConnectionsPerServer() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_MaxConnectionsPerServer(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::MaxConnectionsPerServer(uint32_t value) const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::MaxConnectionsPerServer(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->put_MaxConnectionsPerServer(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::ProxyCredential() const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::ProxyCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_ProxyCredential(&value)); return winrt::Windows::Security::Credentials::PasswordCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->put_ProxyCredential(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::ServerCredential() const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::ServerCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_ServerCredential(&value)); return winrt::Windows::Security::Credentials::PasswordCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->put_ServerCredential(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::UseProxy() const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::UseProxy() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_UseProxy(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::UseProxy(bool value) const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter::UseProxy(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->put_UseProxy(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpVersion) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter2::MaxVersion() const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter2::MaxVersion() const { winrt::Windows::Web::Http::HttpVersion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter2)->get_MaxVersion(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter2::MaxVersion(winrt::Windows::Web::Http::HttpVersion const& value) const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter2::MaxVersion(winrt::Windows::Web::Http::HttpVersion const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter2)->put_MaxVersion(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Filters::HttpCookieUsageBehavior) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter3::CookieUsageBehavior() const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter3::CookieUsageBehavior() const { winrt::Windows::Web::Http::Filters::HttpCookieUsageBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter3)->get_CookieUsageBehavior(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter3::CookieUsageBehavior(winrt::Windows::Web::Http::Filters::HttpCookieUsageBehavior const& value) const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter3::CookieUsageBehavior(winrt::Windows::Web::Http::Filters::HttpCookieUsageBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter3)->put_CookieUsageBehavior(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4::ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4::ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter4)->add_ServerCustomValidationRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4::ServerCustomValidationRequested_revoker consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4::ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4::ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ServerCustomValidationRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4::ServerCustomValidationRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4::ServerCustomValidationRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter4)->remove_ServerCustomValidationRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4::ClearAuthenticationCache() const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4::ClearAuthenticationCache() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter4)->ClearAuthenticationCache()); } - template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter5::User() const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter5::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter5)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Filters::HttpBaseProtocolFilter) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilterStatics::CreateForUser(winrt::Windows::System::User const& user) const + template auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilterStatics::CreateForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilterStatics)->CreateForUser(*(void**)(&user), &result)); return winrt::Windows::Web::Http::Filters::HttpBaseProtocolFilter{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Filters::HttpCacheReadBehavior) consume_Windows_Web_Http_Filters_IHttpCacheControl::ReadBehavior() const + template auto consume_Windows_Web_Http_Filters_IHttpCacheControl::ReadBehavior() const { winrt::Windows::Web::Http::Filters::HttpCacheReadBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpCacheControl)->get_ReadBehavior(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpCacheControl::ReadBehavior(winrt::Windows::Web::Http::Filters::HttpCacheReadBehavior const& value) const + template auto consume_Windows_Web_Http_Filters_IHttpCacheControl::ReadBehavior(winrt::Windows::Web::Http::Filters::HttpCacheReadBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpCacheControl)->put_ReadBehavior(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Filters::HttpCacheWriteBehavior) consume_Windows_Web_Http_Filters_IHttpCacheControl::WriteBehavior() const + template auto consume_Windows_Web_Http_Filters_IHttpCacheControl::WriteBehavior() const { winrt::Windows::Web::Http::Filters::HttpCacheWriteBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpCacheControl)->get_WriteBehavior(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpCacheControl::WriteBehavior(winrt::Windows::Web::Http::Filters::HttpCacheWriteBehavior const& value) const + template auto consume_Windows_Web_Http_Filters_IHttpCacheControl::WriteBehavior(winrt::Windows::Web::Http::Filters::HttpCacheWriteBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpCacheControl)->put_WriteBehavior(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_Filters_IHttpFilter::SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const + template auto consume_Windows_Web_Http_Filters_IHttpFilter::SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpFilter)->SendRequestAsync(*(void**)(&request), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs::RequestMessage() const + template auto consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs::RequestMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpServerCustomValidationRequestedEventArgs)->get_RequestMessage(&value)); return winrt::Windows::Web::Http::HttpRequestMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs::ServerCertificate() const + template auto consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs::ServerCertificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpServerCustomValidationRequestedEventArgs)->get_ServerCertificate(&value)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs::ServerCertificateErrorSeverity() const + template auto consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs::ServerCertificateErrorSeverity() const { winrt::Windows::Networking::Sockets::SocketSslErrorSeverity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpServerCustomValidationRequestedEventArgs)->get_ServerCertificateErrorSeverity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs::ServerCertificateErrors() const + template auto consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs::ServerCertificateErrors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpServerCustomValidationRequestedEventArgs)->get_ServerCertificateErrors(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs::ServerIntermediateCertificates() const + template auto consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs::ServerIntermediateCertificates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpServerCustomValidationRequestedEventArgs)->get_ServerIntermediateCertificates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs::Reject() const + template auto consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs::Reject() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpServerCustomValidationRequestedEventArgs)->Reject()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs::GetDeferral() const + template auto consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpServerCustomValidationRequestedEventArgs)->GetDeferral(&result)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Headers.h b/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Headers.h index 7c931d3c..b151f0cb 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Headers.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Headers.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Http_Headers_H #define WINRT_Windows_Web_Http_Headers_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Web.Http.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -16,1205 +16,1205 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Web.Http.Headers.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MaxAge() const + template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MaxAge() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->get_MaxAge(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MaxAge(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MaxAge(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->put_MaxAge(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MaxStale() const + template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MaxStale() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->get_MaxStale(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MaxStale(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MaxStale(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->put_MaxStale(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MinFresh() const + template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MinFresh() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->get_MinFresh(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MinFresh(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MinFresh(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->put_MinFresh(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::SharedMaxAge() const + template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::SharedMaxAge() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->get_SharedMaxAge(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::SharedMaxAge(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::SharedMaxAge(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->put_SharedMaxAge(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::ParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->ParseAdd(*(void**)(&input))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::TryParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue::Parameters() const + template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue::Parameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValue)->get_Parameters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue::Scheme() const + template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue::Scheme() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValue)->get_Scheme(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue::Token() const + template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue::Token() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValue)->get_Token(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueCollection::ParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueCollection)->ParseAdd(*(void**)(&input))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueCollection::TryParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueFactory::CreateFromScheme(param::hstring const& scheme) const + template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueFactory::CreateFromScheme(param::hstring const& scheme) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueFactory)->CreateFromScheme(*(void**)(&scheme), &value)); return winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueFactory::CreateFromSchemeWithToken(param::hstring const& scheme, param::hstring const& token) const + template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueFactory::CreateFromSchemeWithToken(param::hstring const& scheme, param::hstring const& token) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueFactory)->CreateFromSchemeWithToken(*(void**)(&scheme), *(void**)(&token), &value)); return winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue& challengeHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue& challengeHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(challengeHeaderValue), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValue::Token() const + template auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValue::Token() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValue)->get_Token(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueCollection::ParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValueCollection)->ParseAdd(*(void**)(&input))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueCollection::TryParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue) consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueFactory::Create(param::hstring const& token) const + template auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueFactory::Create(param::hstring const& token) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValueFactory)->Create(*(void**)(&token), &value)); return winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue) consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue& connectionOptionHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue& connectionOptionHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(connectionOptionHeaderValue), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValue::ContentCoding() const + template auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValue::ContentCoding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValue)->get_ContentCoding(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueCollection::ParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValueCollection)->ParseAdd(*(void**)(&input))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueCollection::TryParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueFactory::Create(param::hstring const& contentCoding) const + template auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueFactory::Create(param::hstring const& contentCoding) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValueFactory)->Create(*(void**)(&contentCoding), &value)); return winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue& contentCodingHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue& contentCodingHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(contentCodingHeaderValue), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValue::ContentCoding() const + template auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValue::ContentCoding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValue)->get_ContentCoding(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValue::Quality() const + template auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValue::Quality() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValue)->get_Quality(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueCollection::ParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueCollection)->ParseAdd(*(void**)(&input))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueCollection::TryParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueFactory::CreateFromValue(param::hstring const& contentCoding) const + template auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueFactory::CreateFromValue(param::hstring const& contentCoding) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueFactory)->CreateFromValue(*(void**)(&contentCoding), &value)); return winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueFactory::CreateFromValueWithQuality(param::hstring const& contentCoding, double quality) const + template auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueFactory::CreateFromValueWithQuality(param::hstring const& contentCoding, double quality) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueFactory)->CreateFromValueWithQuality(*(void**)(&contentCoding), quality, &value)); return winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue& contentCodingWithQualityHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue& contentCodingWithQualityHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(contentCodingWithQualityHeaderValue), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::DispositionType() const + template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::DispositionType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->get_DispositionType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::DispositionType(param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::DispositionType(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->put_DispositionType(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::FileName() const + template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::FileName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->get_FileName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::FileName(param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::FileName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->put_FileName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::FileNameStar() const + template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::FileNameStar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->get_FileNameStar(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::FileNameStar(param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::FileNameStar(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->put_FileNameStar(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::Name() const + template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::Name(param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::Parameters() const + template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::Parameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->get_Parameters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::Size() const + template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::Size() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->get_Size(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::Size(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::Size(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->put_Size(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueFactory::Create(param::hstring const& dispositionType) const + template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueFactory::Create(param::hstring const& dispositionType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValueFactory)->Create(*(void**)(&dispositionType), &value)); return winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue& contentDispositionHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue& contentDispositionHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(contentDispositionHeaderValue), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentDisposition() const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentDisposition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentDisposition(&value)); return winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentDisposition(winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentDisposition(winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_ContentDisposition(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentEncoding() const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentEncoding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentEncoding(&value)); return winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpLanguageHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentLanguage() const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentLanguage(&value)); return winrt::Windows::Web::Http::Headers::HttpLanguageHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentLength() const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentLength() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentLength(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentLength(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentLength(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_ContentLength(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentLocation() const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentLocation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentLocation(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentLocation(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentLocation(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_ContentLocation(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentMD5() const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentMD5() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentMD5(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentMD5(winrt::Windows::Storage::Streams::IBuffer const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentMD5(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_ContentMD5(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentRange() const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentRange() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentRange(&value)); return winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentRange(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentRange(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_ContentRange(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentType() const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentType(&value)); return winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentType(winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentType(winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_ContentType(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::Expires() const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::Expires() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_Expires(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::Expires(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::Expires(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_Expires(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::LastModified() const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::LastModified() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_LastModified(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::LastModified(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::LastModified(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_LastModified(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::Append(param::hstring const& name, param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::Append(param::hstring const& name, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->Append(*(void**)(&name), *(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->TryAppendWithoutValidation(*(void**)(&name), *(void**)(&value), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue::FirstBytePosition() const + template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue::FirstBytePosition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue)->get_FirstBytePosition(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue::LastBytePosition() const + template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue::LastBytePosition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue)->get_LastBytePosition(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue::Length() const + template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue::Length() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue)->get_Length(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue::Unit() const + template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue::Unit() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue)->get_Unit(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue::Unit(param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue::Unit(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue)->put_Unit(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueFactory::CreateFromLength(uint64_t length) const + template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueFactory::CreateFromLength(uint64_t length) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValueFactory)->CreateFromLength(length, &value)); return winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueFactory::CreateFromRange(uint64_t from, uint64_t to) const + template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueFactory::CreateFromRange(uint64_t from, uint64_t to) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValueFactory)->CreateFromRange(from, to, &value)); return winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueFactory::CreateFromRangeWithLength(uint64_t from, uint64_t to, uint64_t length) const + template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueFactory::CreateFromRangeWithLength(uint64_t from, uint64_t to, uint64_t length) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValueFactory)->CreateFromRangeWithLength(from, to, length, &value)); return winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue& contentRangeHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue& contentRangeHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(contentRangeHeaderValue), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValue::Name() const + template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValue::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValue)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValue::Value() const + template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValue::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValue)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValue::Value(param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValue::Value(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValue)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueCollection::ParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueCollection)->ParseAdd(*(void**)(&input))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueCollection::TryParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueFactory::CreateFromName(param::hstring const& name) const + template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueFactory::CreateFromName(param::hstring const& name) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueFactory)->CreateFromName(*(void**)(&name), &value)); return winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueFactory::CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueFactory::CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const { void* cookiePairHeaderValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueFactory)->CreateFromNameWithValue(*(void**)(&name), *(void**)(&value), &cookiePairHeaderValue)); return winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue{ cookiePairHeaderValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue& cookiePairHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue& cookiePairHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(cookiePairHeaderValue), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue::Parameters() const + template auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue::Parameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValue)->get_Parameters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue::Scheme() const + template auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue::Scheme() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValue)->get_Scheme(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue::Token() const + template auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue::Token() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValue)->get_Token(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue) consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueFactory::CreateFromScheme(param::hstring const& scheme) const + template auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueFactory::CreateFromScheme(param::hstring const& scheme) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValueFactory)->CreateFromScheme(*(void**)(&scheme), &value)); return winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue) consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueFactory::CreateFromSchemeWithToken(param::hstring const& scheme, param::hstring const& token) const + template auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueFactory::CreateFromSchemeWithToken(param::hstring const& scheme, param::hstring const& token) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValueFactory)->CreateFromSchemeWithToken(*(void**)(&scheme), *(void**)(&token), &value)); return winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue) consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue& credentialsHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue& credentialsHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(credentialsHeaderValue), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValue::Date() const + template auto consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValue::Date() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpDateOrDeltaHeaderValue)->get_Date(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValue::Delta() const + template auto consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValue::Delta() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpDateOrDeltaHeaderValue)->get_Delta(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue) consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpDateOrDeltaHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue& dateOrDeltaHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue& dateOrDeltaHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpDateOrDeltaHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(dateOrDeltaHeaderValue), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue::Name() const + template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValue)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue::Value() const + template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValue)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue::Value(param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue::Value(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValue)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue::Parameters() const + template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue::Parameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValue)->get_Parameters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueCollection::ParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueCollection)->ParseAdd(*(void**)(&input))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueCollection::TryParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueFactory::CreateFromName(param::hstring const& name) const + template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueFactory::CreateFromName(param::hstring const& name) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueFactory)->CreateFromName(*(void**)(&name), &value)); return winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueFactory::CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueFactory::CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const { void* expectationHeaderValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueFactory)->CreateFromNameWithValue(*(void**)(&name), *(void**)(&value), &expectationHeaderValue)); return winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue{ expectationHeaderValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue& expectationHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue& expectationHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(expectationHeaderValue), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpLanguageHeaderValueCollection::ParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpLanguageHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageHeaderValueCollection)->ParseAdd(*(void**)(&input))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpLanguageHeaderValueCollection::TryParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpLanguageHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValue::LanguageRange() const + template auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValue::LanguageRange() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValue)->get_LanguageRange(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValue::Quality() const + template auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValue::Quality() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValue)->get_Quality(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueCollection::ParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueCollection)->ParseAdd(*(void**)(&input))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueCollection::TryParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueFactory::CreateFromLanguageRange(param::hstring const& languageRange) const + template auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueFactory::CreateFromLanguageRange(param::hstring const& languageRange) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueFactory)->CreateFromLanguageRange(*(void**)(&languageRange), &value)); return winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueFactory::CreateFromLanguageRangeWithQuality(param::hstring const& languageRange, double quality) const + template auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueFactory::CreateFromLanguageRangeWithQuality(param::hstring const& languageRange, double quality) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueFactory)->CreateFromLanguageRangeWithQuality(*(void**)(&languageRange), quality, &value)); return winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue& languageRangeWithQualityHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue& languageRangeWithQualityHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(languageRangeWithQualityHeaderValue), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue::CharSet() const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue::CharSet() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValue)->get_CharSet(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue::CharSet(param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue::CharSet(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValue)->put_CharSet(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue::MediaType() const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue::MediaType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValue)->get_MediaType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue::MediaType(param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue::MediaType(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValue)->put_MediaType(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue::Parameters() const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue::Parameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValue)->get_Parameters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue) consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueFactory::Create(param::hstring const& mediaType) const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueFactory::Create(param::hstring const& mediaType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValueFactory)->Create(*(void**)(&mediaType), &value)); return winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue) consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue& mediaTypeHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue& mediaTypeHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(mediaTypeHeaderValue), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::CharSet() const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::CharSet() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->get_CharSet(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::CharSet(param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::CharSet(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->put_CharSet(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::MediaType() const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::MediaType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->get_MediaType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::MediaType(param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::MediaType(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->put_MediaType(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::Parameters() const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::Parameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->get_Parameters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::Quality() const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::Quality() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->get_Quality(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::Quality(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::Quality(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->put_Quality(*(void**)(&value))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueCollection::ParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueCollection)->ParseAdd(*(void**)(&input))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueCollection::TryParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueFactory::CreateFromMediaType(param::hstring const& mediaType) const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueFactory::CreateFromMediaType(param::hstring const& mediaType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueFactory)->CreateFromMediaType(*(void**)(&mediaType), &value)); return winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueFactory::CreateFromMediaTypeWithQuality(param::hstring const& mediaType, double quality) const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueFactory::CreateFromMediaTypeWithQuality(param::hstring const& mediaType, double quality) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueFactory)->CreateFromMediaTypeWithQuality(*(void**)(&mediaType), quality, &value)); return winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue& mediaTypeWithQualityHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue& mediaTypeWithQualityHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(mediaTypeWithQualityHeaderValue), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpMethodHeaderValueCollection::ParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpMethodHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMethodHeaderValueCollection)->ParseAdd(*(void**)(&input))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpMethodHeaderValueCollection::TryParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpMethodHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMethodHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValue::Name() const + template auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValue::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValue)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValue::Value() const + template auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValue::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValue)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValue::Value(param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValue::Value(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValue)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue) consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueFactory::CreateFromName(param::hstring const& name) const + template auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueFactory::CreateFromName(param::hstring const& name) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValueFactory)->CreateFromName(*(void**)(&name), &value)); return winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue) consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueFactory::CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueFactory::CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const { void* nameValueHeaderValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValueFactory)->CreateFromNameWithValue(*(void**)(&name), *(void**)(&value), &nameValueHeaderValue)); return winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue{ nameValueHeaderValue, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue) consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue& nameValueHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue& nameValueHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(nameValueHeaderValue), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpProductHeaderValue::Name() const + template auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValue::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductHeaderValue)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpProductHeaderValue::Version() const + template auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValue::Version() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductHeaderValue)->get_Version(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductHeaderValue) consume_Windows_Web_Http_Headers_IHttpProductHeaderValueFactory::CreateFromName(param::hstring const& productName) const + template auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValueFactory::CreateFromName(param::hstring const& productName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductHeaderValueFactory)->CreateFromName(*(void**)(&productName), &value)); return winrt::Windows::Web::Http::Headers::HttpProductHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductHeaderValue) consume_Windows_Web_Http_Headers_IHttpProductHeaderValueFactory::CreateFromNameWithVersion(param::hstring const& productName, param::hstring const& productVersion) const + template auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValueFactory::CreateFromNameWithVersion(param::hstring const& productName, param::hstring const& productVersion) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductHeaderValueFactory)->CreateFromNameWithVersion(*(void**)(&productName), *(void**)(&productVersion), &value)); return winrt::Windows::Web::Http::Headers::HttpProductHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductHeaderValue) consume_Windows_Web_Http_Headers_IHttpProductHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpProductHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpProductHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpProductHeaderValue& productHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpProductHeaderValue& productHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(productHeaderValue), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductHeaderValue) consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValue::Product() const + template auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValue::Product() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValue)->get_Product(&value)); return winrt::Windows::Web::Http::Headers::HttpProductHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValue::Comment() const + template auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValue::Comment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValue)->get_Comment(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueCollection::ParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueCollection)->ParseAdd(*(void**)(&input))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueCollection::TryParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue) consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueFactory::CreateFromComment(param::hstring const& productComment) const + template auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueFactory::CreateFromComment(param::hstring const& productComment) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueFactory)->CreateFromComment(*(void**)(&productComment), &value)); return winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue) consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueFactory::CreateFromNameWithVersion(param::hstring const& productName, param::hstring const& productVersion) const + template auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueFactory::CreateFromNameWithVersion(param::hstring const& productName, param::hstring const& productVersion) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueFactory)->CreateFromNameWithVersion(*(void**)(&productName), *(void**)(&productVersion), &value)); return winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue) consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue& productInfoHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue& productInfoHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(productInfoHeaderValue), &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Accept() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Accept() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Accept(&value)); return winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::AcceptEncoding() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::AcceptEncoding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_AcceptEncoding(&value)); return winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::AcceptLanguage() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::AcceptLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_AcceptLanguage(&value)); return winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Authorization() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Authorization() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Authorization(&value)); return winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Authorization(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Authorization(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_Authorization(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCacheDirectiveHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::CacheControl() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::CacheControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_CacheControl(&value)); return winrt::Windows::Web::Http::Headers::HttpCacheDirectiveHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Connection() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Connection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Connection(&value)); return winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Cookie() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Cookie() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Cookie(&value)); return winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Date() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Date() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Date(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Date(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Date(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_Date(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Expect() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Expect() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Expect(&value)); return winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::From() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::From() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_From(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::From(param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::From(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_From(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Host() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Host() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Host(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Host(winrt::Windows::Networking::HostName const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Host(winrt::Windows::Networking::HostName const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_Host(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::IfModifiedSince() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::IfModifiedSince() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_IfModifiedSince(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::IfModifiedSince(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::IfModifiedSince(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_IfModifiedSince(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::IfUnmodifiedSince() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::IfUnmodifiedSince() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_IfUnmodifiedSince(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::IfUnmodifiedSince(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::IfUnmodifiedSince(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_IfUnmodifiedSince(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::MaxForwards() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::MaxForwards() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_MaxForwards(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::MaxForwards(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::MaxForwards(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_MaxForwards(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::ProxyAuthorization() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::ProxyAuthorization() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_ProxyAuthorization(&value)); return winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::ProxyAuthorization(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::ProxyAuthorization(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_ProxyAuthorization(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Referer() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Referer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Referer(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Referer(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Referer(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_Referer(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::TransferEncoding() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::TransferEncoding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_TransferEncoding(&value)); return winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::UserAgent() const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::UserAgent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_UserAgent(&value)); return winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Append(param::hstring const& name, param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Append(param::hstring const& name, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->Append(*(void**)(&name), *(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->TryAppendWithoutValidation(*(void**)(&name), *(void**)(&value), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Age() const + template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Age() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_Age(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Age(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Age(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->put_Age(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMethodHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Allow() const + template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Allow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_Allow(&value)); return winrt::Windows::Web::Http::Headers::HttpMethodHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCacheDirectiveHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::CacheControl() const + template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::CacheControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_CacheControl(&value)); return winrt::Windows::Web::Http::Headers::HttpCacheDirectiveHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Connection() const + template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Connection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_Connection(&value)); return winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Date() const + template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Date() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_Date(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Date(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Date(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->put_Date(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Location() const + template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_Location(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Location(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Location(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->put_Location(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::ProxyAuthenticate() const + template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::ProxyAuthenticate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_ProxyAuthenticate(&value)); return winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::RetryAfter() const + template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::RetryAfter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_RetryAfter(&value)); return winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::RetryAfter(winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::RetryAfter(winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->put_RetryAfter(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::TransferEncoding() const + template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::TransferEncoding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_TransferEncoding(&value)); return winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::WwwAuthenticate() const + template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::WwwAuthenticate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_WwwAuthenticate(&value)); return winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValueCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Append(param::hstring const& name, param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Append(param::hstring const& name, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->Append(*(void**)(&name), *(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const + template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->TryAppendWithoutValidation(*(void**)(&name), *(void**)(&value), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValue::Parameters() const + template auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValue::Parameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValue)->get_Parameters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValue::Value() const + template auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValue::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValue)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueCollection::ParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValueCollection)->ParseAdd(*(void**)(&input))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueCollection::TryParseAdd(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue) consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueFactory::Create(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueFactory::Create(param::hstring const& input) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValueFactory)->Create(*(void**)(&input), &value)); return winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue) consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueStatics::Parse(param::hstring const& input) const + template auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue& transferCodingHeaderValue) const + template auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue& transferCodingHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(transferCodingHeaderValue), &succeeded)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.h b/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.h index 50ece627..ebb123ee 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Http_H #define WINRT_Windows_Web_Http_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Web.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -17,667 +17,667 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Web.Http.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpBufferContent) consume_Windows_Web_Http_IHttpBufferContentFactory::CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& content) const + template auto consume_Windows_Web_Http_IHttpBufferContentFactory::CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& content) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpBufferContentFactory)->CreateFromBuffer(*(void**)(&content), &value)); return winrt::Windows::Web::Http::HttpBufferContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpBufferContent) consume_Windows_Web_Http_IHttpBufferContentFactory::CreateFromBufferWithOffset(winrt::Windows::Storage::Streams::IBuffer const& content, uint32_t offset, uint32_t count) const + template auto consume_Windows_Web_Http_IHttpBufferContentFactory::CreateFromBufferWithOffset(winrt::Windows::Storage::Streams::IBuffer const& content, uint32_t offset, uint32_t count) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpBufferContentFactory)->CreateFromBufferWithOffset(*(void**)(&content), offset, count, &value)); return winrt::Windows::Web::Http::HttpBufferContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient::DeleteAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Http_IHttpClient::DeleteAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient)->DeleteAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient::GetAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Http_IHttpClient::GetAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient)->GetAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient::GetAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const + template auto consume_Windows_Web_Http_IHttpClient::GetAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient)->GetWithOptionAsync(*(void**)(&uri), static_cast(completionOption), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient::GetBufferAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Http_IHttpClient::GetBufferAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient)->GetBufferAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient::GetInputStreamAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Http_IHttpClient::GetInputStreamAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient)->GetInputStreamAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient::GetStringAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Http_IHttpClient::GetStringAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient)->GetStringAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient::PostAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const + template auto consume_Windows_Web_Http_IHttpClient::PostAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient)->PostAsync(*(void**)(&uri), *(void**)(&content), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient::PutAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const + template auto consume_Windows_Web_Http_IHttpClient::PutAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient)->PutAsync(*(void**)(&uri), *(void**)(&content), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient::SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const + template auto consume_Windows_Web_Http_IHttpClient::SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient)->SendRequestAsync(*(void**)(&request), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient::SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const + template auto consume_Windows_Web_Http_IHttpClient::SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient)->SendRequestWithOptionAsync(*(void**)(&request), static_cast(completionOption), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpRequestHeaderCollection) consume_Windows_Web_Http_IHttpClient::DefaultRequestHeaders() const + template auto consume_Windows_Web_Http_IHttpClient::DefaultRequestHeaders() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient)->get_DefaultRequestHeaders(&value)); return winrt::Windows::Web::Http::Headers::HttpRequestHeaderCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient2::TryDeleteAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Http_IHttpClient2::TryDeleteAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient2)->TryDeleteAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient2::TryGetAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Http_IHttpClient2::TryGetAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient2)->TryGetAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient2::TryGetAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const + template auto consume_Windows_Web_Http_IHttpClient2::TryGetAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient2)->TryGetAsync2(*(void**)(&uri), static_cast(completionOption), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient2::TryGetBufferAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Http_IHttpClient2::TryGetBufferAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient2)->TryGetBufferAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient2::TryGetInputStreamAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Http_IHttpClient2::TryGetInputStreamAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient2)->TryGetInputStreamAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient2::TryGetStringAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Http_IHttpClient2::TryGetStringAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient2)->TryGetStringAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient2::TryPostAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const + template auto consume_Windows_Web_Http_IHttpClient2::TryPostAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient2)->TryPostAsync(*(void**)(&uri), *(void**)(&content), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient2::TryPutAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const + template auto consume_Windows_Web_Http_IHttpClient2::TryPutAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient2)->TryPutAsync(*(void**)(&uri), *(void**)(&content), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient2::TrySendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const + template auto consume_Windows_Web_Http_IHttpClient2::TrySendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient2)->TrySendRequestAsync(*(void**)(&request), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpClient2::TrySendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const + template auto consume_Windows_Web_Http_IHttpClient2::TrySendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClient2)->TrySendRequestAsync2(*(void**)(&request), static_cast(completionOption), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpClient) consume_Windows_Web_Http_IHttpClientFactory::Create(winrt::Windows::Web::Http::Filters::IHttpFilter const& filter) const + template auto consume_Windows_Web_Http_IHttpClientFactory::Create(winrt::Windows::Web::Http::Filters::IHttpFilter const& filter) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpClientFactory)->Create(*(void**)(&filter), &value)); return winrt::Windows::Web::Http::HttpClient{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentHeaderCollection) consume_Windows_Web_Http_IHttpContent::Headers() const + template auto consume_Windows_Web_Http_IHttpContent::Headers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpContent)->get_Headers(&value)); return winrt::Windows::Web::Http::Headers::HttpContentHeaderCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpContent::BufferAllAsync() const + template auto consume_Windows_Web_Http_IHttpContent::BufferAllAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpContent)->BufferAllAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpContent::ReadAsBufferAsync() const + template auto consume_Windows_Web_Http_IHttpContent::ReadAsBufferAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpContent)->ReadAsBufferAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpContent::ReadAsInputStreamAsync() const + template auto consume_Windows_Web_Http_IHttpContent::ReadAsInputStreamAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpContent)->ReadAsInputStreamAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpContent::ReadAsStringAsync() const + template auto consume_Windows_Web_Http_IHttpContent::ReadAsStringAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpContent)->ReadAsStringAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpContent::TryComputeLength(uint64_t& length) const + template auto consume_Windows_Web_Http_IHttpContent::TryComputeLength(uint64_t& length) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpContent)->TryComputeLength(&length, &succeeded)); return succeeded; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Http_IHttpContent::WriteToStreamAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const + template auto consume_Windows_Web_Http_IHttpContent::WriteToStreamAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpContent)->WriteToStreamAsync(*(void**)(&outputStream), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_IHttpCookie::Name() const + template auto consume_Windows_Web_Http_IHttpCookie::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_IHttpCookie::Domain() const + template auto consume_Windows_Web_Http_IHttpCookie::Domain() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->get_Domain(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_IHttpCookie::Path() const + template auto consume_Windows_Web_Http_IHttpCookie::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->get_Path(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Web_Http_IHttpCookie::Expires() const + template auto consume_Windows_Web_Http_IHttpCookie::Expires() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->get_Expires(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpCookie::Expires(winrt::Windows::Foundation::IReference const& value) const + template auto consume_Windows_Web_Http_IHttpCookie::Expires(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->put_Expires(*(void**)(&value))); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpCookie::HttpOnly() const + template auto consume_Windows_Web_Http_IHttpCookie::HttpOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->get_HttpOnly(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpCookie::HttpOnly(bool value) const + template auto consume_Windows_Web_Http_IHttpCookie::HttpOnly(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->put_HttpOnly(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpCookie::Secure() const + template auto consume_Windows_Web_Http_IHttpCookie::Secure() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->get_Secure(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpCookie::Secure(bool value) const + template auto consume_Windows_Web_Http_IHttpCookie::Secure(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->put_Secure(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_IHttpCookie::Value() const + template auto consume_Windows_Web_Http_IHttpCookie::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpCookie::Value(param::hstring const& value) const + template auto consume_Windows_Web_Http_IHttpCookie::Value(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpCookie) consume_Windows_Web_Http_IHttpCookieFactory::Create(param::hstring const& name, param::hstring const& domain, param::hstring const& path) const + template auto consume_Windows_Web_Http_IHttpCookieFactory::Create(param::hstring const& name, param::hstring const& domain, param::hstring const& path) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookieFactory)->Create(*(void**)(&name), *(void**)(&domain), *(void**)(&path), &value)); return winrt::Windows::Web::Http::HttpCookie{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpCookieManager::SetCookie(winrt::Windows::Web::Http::HttpCookie const& cookie) const + template auto consume_Windows_Web_Http_IHttpCookieManager::SetCookie(winrt::Windows::Web::Http::HttpCookie const& cookie) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookieManager)->SetCookie(*(void**)(&cookie), &result)); return result; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpCookieManager::SetCookie(winrt::Windows::Web::Http::HttpCookie const& cookie, bool thirdParty) const + template auto consume_Windows_Web_Http_IHttpCookieManager::SetCookie(winrt::Windows::Web::Http::HttpCookie const& cookie, bool thirdParty) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookieManager)->SetCookieWithThirdParty(*(void**)(&cookie), thirdParty, &result)); return result; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpCookieManager::DeleteCookie(winrt::Windows::Web::Http::HttpCookie const& cookie) const + template auto consume_Windows_Web_Http_IHttpCookieManager::DeleteCookie(winrt::Windows::Web::Http::HttpCookie const& cookie) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookieManager)->DeleteCookie(*(void**)(&cookie))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpCookieCollection) consume_Windows_Web_Http_IHttpCookieManager::GetCookies(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Http_IHttpCookieManager::GetCookies(winrt::Windows::Foundation::Uri const& uri) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookieManager)->GetCookies(*(void**)(&uri), &result)); return winrt::Windows::Web::Http::HttpCookieCollection{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpFormUrlEncodedContent) consume_Windows_Web_Http_IHttpFormUrlEncodedContentFactory::Create(param::iterable> const& content) const + template auto consume_Windows_Web_Http_IHttpFormUrlEncodedContentFactory::Create(param::iterable> const& content) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpFormUrlEncodedContentFactory)->Create(*(void**)(&content), &value)); return winrt::Windows::Web::Http::HttpFormUrlEncodedContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Web_Http_IHttpGetBufferResult::ExtendedError() const + template auto consume_Windows_Web_Http_IHttpGetBufferResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetBufferResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_Http_IHttpGetBufferResult::RequestMessage() const + template auto consume_Windows_Web_Http_IHttpGetBufferResult::RequestMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetBufferResult)->get_RequestMessage(&value)); return winrt::Windows::Web::Http::HttpRequestMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Web_Http_IHttpGetBufferResult::ResponseMessage() const + template auto consume_Windows_Web_Http_IHttpGetBufferResult::ResponseMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetBufferResult)->get_ResponseMessage(&value)); return winrt::Windows::Web::Http::HttpResponseMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpGetBufferResult::Succeeded() const + template auto consume_Windows_Web_Http_IHttpGetBufferResult::Succeeded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetBufferResult)->get_Succeeded(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Web_Http_IHttpGetBufferResult::Value() const + template auto consume_Windows_Web_Http_IHttpGetBufferResult::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetBufferResult)->get_Value(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Web_Http_IHttpGetInputStreamResult::ExtendedError() const + template auto consume_Windows_Web_Http_IHttpGetInputStreamResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetInputStreamResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_Http_IHttpGetInputStreamResult::RequestMessage() const + template auto consume_Windows_Web_Http_IHttpGetInputStreamResult::RequestMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetInputStreamResult)->get_RequestMessage(&value)); return winrt::Windows::Web::Http::HttpRequestMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Web_Http_IHttpGetInputStreamResult::ResponseMessage() const + template auto consume_Windows_Web_Http_IHttpGetInputStreamResult::ResponseMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetInputStreamResult)->get_ResponseMessage(&value)); return winrt::Windows::Web::Http::HttpResponseMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpGetInputStreamResult::Succeeded() const + template auto consume_Windows_Web_Http_IHttpGetInputStreamResult::Succeeded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetInputStreamResult)->get_Succeeded(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Web_Http_IHttpGetInputStreamResult::Value() const + template auto consume_Windows_Web_Http_IHttpGetInputStreamResult::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetInputStreamResult)->get_Value(&value)); return winrt::Windows::Storage::Streams::IInputStream{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Web_Http_IHttpGetStringResult::ExtendedError() const + template auto consume_Windows_Web_Http_IHttpGetStringResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetStringResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_Http_IHttpGetStringResult::RequestMessage() const + template auto consume_Windows_Web_Http_IHttpGetStringResult::RequestMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetStringResult)->get_RequestMessage(&value)); return winrt::Windows::Web::Http::HttpRequestMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Web_Http_IHttpGetStringResult::ResponseMessage() const + template auto consume_Windows_Web_Http_IHttpGetStringResult::ResponseMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetStringResult)->get_ResponseMessage(&value)); return winrt::Windows::Web::Http::HttpResponseMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpGetStringResult::Succeeded() const + template auto consume_Windows_Web_Http_IHttpGetStringResult::Succeeded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetStringResult)->get_Succeeded(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_IHttpGetStringResult::Value() const + template auto consume_Windows_Web_Http_IHttpGetStringResult::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetStringResult)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_IHttpMethod::Method() const + template auto consume_Windows_Web_Http_IHttpMethod::Method() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMethod)->get_Method(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpMethodFactory::Create(param::hstring const& method) const + template auto consume_Windows_Web_Http_IHttpMethodFactory::Create(param::hstring const& method) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMethodFactory)->Create(*(void**)(&method), &value)); return winrt::Windows::Web::Http::HttpMethod{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpMethodStatics::Delete() const + template auto consume_Windows_Web_Http_IHttpMethodStatics::Delete() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMethodStatics)->get_Delete(&value)); return winrt::Windows::Web::Http::HttpMethod{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpMethodStatics::Get() const + template auto consume_Windows_Web_Http_IHttpMethodStatics::Get() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMethodStatics)->get_Get(&value)); return winrt::Windows::Web::Http::HttpMethod{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpMethodStatics::Head() const + template auto consume_Windows_Web_Http_IHttpMethodStatics::Head() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMethodStatics)->get_Head(&value)); return winrt::Windows::Web::Http::HttpMethod{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpMethodStatics::Options() const + template auto consume_Windows_Web_Http_IHttpMethodStatics::Options() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMethodStatics)->get_Options(&value)); return winrt::Windows::Web::Http::HttpMethod{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpMethodStatics::Patch() const + template auto consume_Windows_Web_Http_IHttpMethodStatics::Patch() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMethodStatics)->get_Patch(&value)); return winrt::Windows::Web::Http::HttpMethod{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpMethodStatics::Post() const + template auto consume_Windows_Web_Http_IHttpMethodStatics::Post() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMethodStatics)->get_Post(&value)); return winrt::Windows::Web::Http::HttpMethod{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpMethodStatics::Put() const + template auto consume_Windows_Web_Http_IHttpMethodStatics::Put() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMethodStatics)->get_Put(&value)); return winrt::Windows::Web::Http::HttpMethod{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpMultipartContent::Add(winrt::Windows::Web::Http::IHttpContent const& content) const + template auto consume_Windows_Web_Http_IHttpMultipartContent::Add(winrt::Windows::Web::Http::IHttpContent const& content) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMultipartContent)->Add(*(void**)(&content))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMultipartContent) consume_Windows_Web_Http_IHttpMultipartContentFactory::CreateWithSubtype(param::hstring const& subtype) const + template auto consume_Windows_Web_Http_IHttpMultipartContentFactory::CreateWithSubtype(param::hstring const& subtype) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMultipartContentFactory)->CreateWithSubtype(*(void**)(&subtype), &value)); return winrt::Windows::Web::Http::HttpMultipartContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMultipartContent) consume_Windows_Web_Http_IHttpMultipartContentFactory::CreateWithSubtypeAndBoundary(param::hstring const& subtype, param::hstring const& boundary) const + template auto consume_Windows_Web_Http_IHttpMultipartContentFactory::CreateWithSubtypeAndBoundary(param::hstring const& subtype, param::hstring const& boundary) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMultipartContentFactory)->CreateWithSubtypeAndBoundary(*(void**)(&subtype), *(void**)(&boundary), &value)); return winrt::Windows::Web::Http::HttpMultipartContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpMultipartFormDataContent::Add(winrt::Windows::Web::Http::IHttpContent const& content) const + template auto consume_Windows_Web_Http_IHttpMultipartFormDataContent::Add(winrt::Windows::Web::Http::IHttpContent const& content) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMultipartFormDataContent)->Add(*(void**)(&content))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpMultipartFormDataContent::Add(winrt::Windows::Web::Http::IHttpContent const& content, param::hstring const& name) const + template auto consume_Windows_Web_Http_IHttpMultipartFormDataContent::Add(winrt::Windows::Web::Http::IHttpContent const& content, param::hstring const& name) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMultipartFormDataContent)->AddWithName(*(void**)(&content), *(void**)(&name))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpMultipartFormDataContent::Add(winrt::Windows::Web::Http::IHttpContent const& content, param::hstring const& name, param::hstring const& fileName) const + template auto consume_Windows_Web_Http_IHttpMultipartFormDataContent::Add(winrt::Windows::Web::Http::IHttpContent const& content, param::hstring const& name, param::hstring const& fileName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMultipartFormDataContent)->AddWithNameAndFileName(*(void**)(&content), *(void**)(&name), *(void**)(&fileName))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMultipartFormDataContent) consume_Windows_Web_Http_IHttpMultipartFormDataContentFactory::CreateWithBoundary(param::hstring const& boundary) const + template auto consume_Windows_Web_Http_IHttpMultipartFormDataContentFactory::CreateWithBoundary(param::hstring const& boundary) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMultipartFormDataContentFactory)->CreateWithBoundary(*(void**)(&boundary), &value)); return winrt::Windows::Web::Http::HttpMultipartFormDataContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::IHttpContent) consume_Windows_Web_Http_IHttpRequestMessage::Content() const + template auto consume_Windows_Web_Http_IHttpRequestMessage::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestMessage)->get_Content(&value)); return winrt::Windows::Web::Http::IHttpContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpRequestMessage::Content(winrt::Windows::Web::Http::IHttpContent const& value) const + template auto consume_Windows_Web_Http_IHttpRequestMessage::Content(winrt::Windows::Web::Http::IHttpContent const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestMessage)->put_Content(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpRequestHeaderCollection) consume_Windows_Web_Http_IHttpRequestMessage::Headers() const + template auto consume_Windows_Web_Http_IHttpRequestMessage::Headers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestMessage)->get_Headers(&value)); return winrt::Windows::Web::Http::Headers::HttpRequestHeaderCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpRequestMessage::Method() const + template auto consume_Windows_Web_Http_IHttpRequestMessage::Method() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestMessage)->get_Method(&value)); return winrt::Windows::Web::Http::HttpMethod{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpRequestMessage::Method(winrt::Windows::Web::Http::HttpMethod const& value) const + template auto consume_Windows_Web_Http_IHttpRequestMessage::Method(winrt::Windows::Web::Http::HttpMethod const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestMessage)->put_Method(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) consume_Windows_Web_Http_IHttpRequestMessage::Properties() const + template auto consume_Windows_Web_Http_IHttpRequestMessage::Properties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestMessage)->get_Properties(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Http_IHttpRequestMessage::RequestUri() const + template auto consume_Windows_Web_Http_IHttpRequestMessage::RequestUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestMessage)->get_RequestUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpRequestMessage::RequestUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Web_Http_IHttpRequestMessage::RequestUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestMessage)->put_RequestUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpTransportInformation) consume_Windows_Web_Http_IHttpRequestMessage::TransportInformation() const + template auto consume_Windows_Web_Http_IHttpRequestMessage::TransportInformation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestMessage)->get_TransportInformation(&value)); return winrt::Windows::Web::Http::HttpTransportInformation{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_Http_IHttpRequestMessageFactory::Create(winrt::Windows::Web::Http::HttpMethod const& method, winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Http_IHttpRequestMessageFactory::Create(winrt::Windows::Web::Http::HttpMethod const& method, winrt::Windows::Foundation::Uri const& uri) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestMessageFactory)->Create(*(void**)(&method), *(void**)(&uri), &value)); return winrt::Windows::Web::Http::HttpRequestMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Web_Http_IHttpRequestResult::ExtendedError() const + template auto consume_Windows_Web_Http_IHttpRequestResult::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestResult)->get_ExtendedError(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_Http_IHttpRequestResult::RequestMessage() const + template auto consume_Windows_Web_Http_IHttpRequestResult::RequestMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestResult)->get_RequestMessage(&value)); return winrt::Windows::Web::Http::HttpRequestMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Web_Http_IHttpRequestResult::ResponseMessage() const + template auto consume_Windows_Web_Http_IHttpRequestResult::ResponseMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestResult)->get_ResponseMessage(&value)); return winrt::Windows::Web::Http::HttpResponseMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpRequestResult::Succeeded() const + template auto consume_Windows_Web_Http_IHttpRequestResult::Succeeded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestResult)->get_Succeeded(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::IHttpContent) consume_Windows_Web_Http_IHttpResponseMessage::Content() const + template auto consume_Windows_Web_Http_IHttpResponseMessage::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->get_Content(&value)); return winrt::Windows::Web::Http::IHttpContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpResponseMessage::Content(winrt::Windows::Web::Http::IHttpContent const& value) const + template auto consume_Windows_Web_Http_IHttpResponseMessage::Content(winrt::Windows::Web::Http::IHttpContent const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->put_Content(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpResponseHeaderCollection) consume_Windows_Web_Http_IHttpResponseMessage::Headers() const + template auto consume_Windows_Web_Http_IHttpResponseMessage::Headers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->get_Headers(&value)); return winrt::Windows::Web::Http::Headers::HttpResponseHeaderCollection{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpResponseMessage::IsSuccessStatusCode() const + template auto consume_Windows_Web_Http_IHttpResponseMessage::IsSuccessStatusCode() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->get_IsSuccessStatusCode(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_IHttpResponseMessage::ReasonPhrase() const + template auto consume_Windows_Web_Http_IHttpResponseMessage::ReasonPhrase() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->get_ReasonPhrase(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpResponseMessage::ReasonPhrase(param::hstring const& value) const + template auto consume_Windows_Web_Http_IHttpResponseMessage::ReasonPhrase(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->put_ReasonPhrase(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_Http_IHttpResponseMessage::RequestMessage() const + template auto consume_Windows_Web_Http_IHttpResponseMessage::RequestMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->get_RequestMessage(&value)); return winrt::Windows::Web::Http::HttpRequestMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpResponseMessage::RequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& value) const + template auto consume_Windows_Web_Http_IHttpResponseMessage::RequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->put_RequestMessage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessageSource) consume_Windows_Web_Http_IHttpResponseMessage::Source() const + template auto consume_Windows_Web_Http_IHttpResponseMessage::Source() const { winrt::Windows::Web::Http::HttpResponseMessageSource value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->get_Source(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpResponseMessage::Source(winrt::Windows::Web::Http::HttpResponseMessageSource const& value) const + template auto consume_Windows_Web_Http_IHttpResponseMessage::Source(winrt::Windows::Web::Http::HttpResponseMessageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->put_Source(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStatusCode) consume_Windows_Web_Http_IHttpResponseMessage::StatusCode() const + template auto consume_Windows_Web_Http_IHttpResponseMessage::StatusCode() const { winrt::Windows::Web::Http::HttpStatusCode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->get_StatusCode(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpResponseMessage::StatusCode(winrt::Windows::Web::Http::HttpStatusCode const& value) const + template auto consume_Windows_Web_Http_IHttpResponseMessage::StatusCode(winrt::Windows::Web::Http::HttpStatusCode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->put_StatusCode(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpVersion) consume_Windows_Web_Http_IHttpResponseMessage::Version() const + template auto consume_Windows_Web_Http_IHttpResponseMessage::Version() const { winrt::Windows::Web::Http::HttpVersion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->get_Version(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpResponseMessage::Version(winrt::Windows::Web::Http::HttpVersion const& value) const + template auto consume_Windows_Web_Http_IHttpResponseMessage::Version(winrt::Windows::Web::Http::HttpVersion const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->put_Version(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Web_Http_IHttpResponseMessage::EnsureSuccessStatusCode() const + template auto consume_Windows_Web_Http_IHttpResponseMessage::EnsureSuccessStatusCode() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->EnsureSuccessStatusCode(&result)); return winrt::Windows::Web::Http::HttpResponseMessage{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Web_Http_IHttpResponseMessageFactory::Create(winrt::Windows::Web::Http::HttpStatusCode const& statusCode) const + template auto consume_Windows_Web_Http_IHttpResponseMessageFactory::Create(winrt::Windows::Web::Http::HttpStatusCode const& statusCode) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessageFactory)->Create(static_cast(statusCode), &value)); return winrt::Windows::Web::Http::HttpResponseMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStreamContent) consume_Windows_Web_Http_IHttpStreamContentFactory::CreateFromInputStream(winrt::Windows::Storage::Streams::IInputStream const& content) const + template auto consume_Windows_Web_Http_IHttpStreamContentFactory::CreateFromInputStream(winrt::Windows::Storage::Streams::IInputStream const& content) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpStreamContentFactory)->CreateFromInputStream(*(void**)(&content), &value)); return winrt::Windows::Web::Http::HttpStreamContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStringContent) consume_Windows_Web_Http_IHttpStringContentFactory::CreateFromString(param::hstring const& content) const + template auto consume_Windows_Web_Http_IHttpStringContentFactory::CreateFromString(param::hstring const& content) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpStringContentFactory)->CreateFromString(*(void**)(&content), &value)); return winrt::Windows::Web::Http::HttpStringContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStringContent) consume_Windows_Web_Http_IHttpStringContentFactory::CreateFromStringWithEncoding(param::hstring const& content, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const + template auto consume_Windows_Web_Http_IHttpStringContentFactory::CreateFromStringWithEncoding(param::hstring const& content, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpStringContentFactory)->CreateFromStringWithEncoding(*(void**)(&content), static_cast(encoding), &value)); return winrt::Windows::Web::Http::HttpStringContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStringContent) consume_Windows_Web_Http_IHttpStringContentFactory::CreateFromStringWithEncodingAndMediaType(param::hstring const& content, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding, param::hstring const& mediaType) const + template auto consume_Windows_Web_Http_IHttpStringContentFactory::CreateFromStringWithEncodingAndMediaType(param::hstring const& content, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding, param::hstring const& mediaType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpStringContentFactory)->CreateFromStringWithEncodingAndMediaType(*(void**)(&content), static_cast(encoding), *(void**)(&mediaType), &value)); return winrt::Windows::Web::Http::HttpStringContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Web_Http_IHttpTransportInformation::ServerCertificate() const + template auto consume_Windows_Web_Http_IHttpTransportInformation::ServerCertificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpTransportInformation)->get_ServerCertificate(&value)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) consume_Windows_Web_Http_IHttpTransportInformation::ServerCertificateErrorSeverity() const + template auto consume_Windows_Web_Http_IHttpTransportInformation::ServerCertificateErrorSeverity() const { winrt::Windows::Networking::Sockets::SocketSslErrorSeverity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpTransportInformation)->get_ServerCertificateErrorSeverity(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Web_Http_IHttpTransportInformation::ServerCertificateErrors() const + template auto consume_Windows_Web_Http_IHttpTransportInformation::ServerCertificateErrors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpTransportInformation)->get_ServerCertificateErrors(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Web_Http_IHttpTransportInformation::ServerIntermediateCertificates() const + template auto consume_Windows_Web_Http_IHttpTransportInformation::ServerIntermediateCertificates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpTransportInformation)->get_ServerIntermediateCertificates(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Web.Syndication.h b/internal/platform/implementation/windows/generated/winrt/Windows.Web.Syndication.h index f9bc7219..c5aa09e4 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Web.Syndication.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Web.Syndication.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Syndication_H #define WINRT_Windows_Web_Syndication_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Web.h" #include "winrt/impl/Windows.Data.Xml.Dom.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -14,745 +14,745 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Web.Syndication.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationAttribute::Name() const + template auto consume_Windows_Web_Syndication_ISyndicationAttribute::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationAttribute)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationAttribute::Name(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationAttribute::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationAttribute)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationAttribute::Namespace() const + template auto consume_Windows_Web_Syndication_ISyndicationAttribute::Namespace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationAttribute)->get_Namespace(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationAttribute::Namespace(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationAttribute::Namespace(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationAttribute)->put_Namespace(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationAttribute::Value() const + template auto consume_Windows_Web_Syndication_ISyndicationAttribute::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationAttribute)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationAttribute::Value(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationAttribute::Value(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationAttribute)->put_Value(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationAttribute) consume_Windows_Web_Syndication_ISyndicationAttributeFactory::CreateSyndicationAttribute(param::hstring const& attributeName, param::hstring const& attributeNamespace, param::hstring const& attributeValue) const + template auto consume_Windows_Web_Syndication_ISyndicationAttributeFactory::CreateSyndicationAttribute(param::hstring const& attributeName, param::hstring const& attributeNamespace, param::hstring const& attributeValue) const { void* syndicationAttribute{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationAttributeFactory)->CreateSyndicationAttribute(*(void**)(&attributeName), *(void**)(&attributeNamespace), *(void**)(&attributeValue), &syndicationAttribute)); return winrt::Windows::Web::Syndication::SyndicationAttribute{ syndicationAttribute, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationCategory::Label() const + template auto consume_Windows_Web_Syndication_ISyndicationCategory::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationCategory)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationCategory::Label(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationCategory::Label(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationCategory)->put_Label(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationCategory::Scheme() const + template auto consume_Windows_Web_Syndication_ISyndicationCategory::Scheme() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationCategory)->get_Scheme(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationCategory::Scheme(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationCategory::Scheme(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationCategory)->put_Scheme(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationCategory::Term() const + template auto consume_Windows_Web_Syndication_ISyndicationCategory::Term() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationCategory)->get_Term(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationCategory::Term(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationCategory::Term(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationCategory)->put_Term(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationCategory) consume_Windows_Web_Syndication_ISyndicationCategoryFactory::CreateSyndicationCategory(param::hstring const& term) const + template auto consume_Windows_Web_Syndication_ISyndicationCategoryFactory::CreateSyndicationCategory(param::hstring const& term) const { void* category{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationCategoryFactory)->CreateSyndicationCategory(*(void**)(&term), &category)); return winrt::Windows::Web::Syndication::SyndicationCategory{ category, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationCategory) consume_Windows_Web_Syndication_ISyndicationCategoryFactory::CreateSyndicationCategoryEx(param::hstring const& term, param::hstring const& scheme, param::hstring const& label) const + template auto consume_Windows_Web_Syndication_ISyndicationCategoryFactory::CreateSyndicationCategoryEx(param::hstring const& term, param::hstring const& scheme, param::hstring const& label) const { void* category{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationCategoryFactory)->CreateSyndicationCategoryEx(*(void**)(&term), *(void**)(&scheme), *(void**)(&label), &category)); return winrt::Windows::Web::Syndication::SyndicationCategory{ category, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Web_Syndication_ISyndicationClient::ServerCredential() const + template auto consume_Windows_Web_Syndication_ISyndicationClient::ServerCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->get_ServerCredential(&value)); return winrt::Windows::Security::Credentials::PasswordCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationClient::ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationClient::ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->put_ServerCredential(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Web_Syndication_ISyndicationClient::ProxyCredential() const + template auto consume_Windows_Web_Syndication_ISyndicationClient::ProxyCredential() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->get_ProxyCredential(&value)); return winrt::Windows::Security::Credentials::PasswordCredential{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationClient::ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationClient::ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->put_ProxyCredential(*(void**)(&value))); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_Syndication_ISyndicationClient::MaxResponseBufferSize() const + template auto consume_Windows_Web_Syndication_ISyndicationClient::MaxResponseBufferSize() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->get_MaxResponseBufferSize(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationClient::MaxResponseBufferSize(uint32_t value) const + template auto consume_Windows_Web_Syndication_ISyndicationClient::MaxResponseBufferSize(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->put_MaxResponseBufferSize(value)); } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_Syndication_ISyndicationClient::Timeout() const + template auto consume_Windows_Web_Syndication_ISyndicationClient::Timeout() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->get_Timeout(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationClient::Timeout(uint32_t value) const + template auto consume_Windows_Web_Syndication_ISyndicationClient::Timeout(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->put_Timeout(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_Syndication_ISyndicationClient::BypassCacheOnRetrieve() const + template auto consume_Windows_Web_Syndication_ISyndicationClient::BypassCacheOnRetrieve() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->get_BypassCacheOnRetrieve(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationClient::BypassCacheOnRetrieve(bool value) const + template auto consume_Windows_Web_Syndication_ISyndicationClient::BypassCacheOnRetrieve(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->put_BypassCacheOnRetrieve(value)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationClient::SetRequestHeader(param::hstring const& name, param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationClient::SetRequestHeader(param::hstring const& name, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->SetRequestHeader(*(void**)(&name), *(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) consume_Windows_Web_Syndication_ISyndicationClient::RetrieveFeedAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Syndication_ISyndicationClient::RetrieveFeedAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->RetrieveFeedAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperationWithProgress{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationClient) consume_Windows_Web_Syndication_ISyndicationClientFactory::CreateSyndicationClient(winrt::Windows::Security::Credentials::PasswordCredential const& serverCredential) const + template auto consume_Windows_Web_Syndication_ISyndicationClientFactory::CreateSyndicationClient(winrt::Windows::Security::Credentials::PasswordCredential const& serverCredential) const { void* syndicationClient{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClientFactory)->CreateSyndicationClient(*(void**)(&serverCredential), &syndicationClient)); return winrt::Windows::Web::Syndication::SyndicationClient{ syndicationClient, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationContent::SourceUri() const + template auto consume_Windows_Web_Syndication_ISyndicationContent::SourceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationContent)->get_SourceUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationContent::SourceUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationContent::SourceUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationContent)->put_SourceUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationContent) consume_Windows_Web_Syndication_ISyndicationContentFactory::CreateSyndicationContent(param::hstring const& text, winrt::Windows::Web::Syndication::SyndicationTextType const& type) const + template auto consume_Windows_Web_Syndication_ISyndicationContentFactory::CreateSyndicationContent(param::hstring const& text, winrt::Windows::Web::Syndication::SyndicationTextType const& type) const { void* content{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationContentFactory)->CreateSyndicationContent(*(void**)(&text), static_cast(type), &content)); return winrt::Windows::Web::Syndication::SyndicationContent{ content, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationContent) consume_Windows_Web_Syndication_ISyndicationContentFactory::CreateSyndicationContentWithSourceUri(winrt::Windows::Foundation::Uri const& sourceUri) const + template auto consume_Windows_Web_Syndication_ISyndicationContentFactory::CreateSyndicationContentWithSourceUri(winrt::Windows::Foundation::Uri const& sourceUri) const { void* content{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationContentFactory)->CreateSyndicationContentWithSourceUri(*(void**)(&sourceUri), &content)); return winrt::Windows::Web::Syndication::SyndicationContent{ content, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationErrorStatus) consume_Windows_Web_Syndication_ISyndicationErrorStatics::GetStatus(int32_t hresult) const + template auto consume_Windows_Web_Syndication_ISyndicationErrorStatics::GetStatus(int32_t hresult) const { winrt::Windows::Web::Syndication::SyndicationErrorStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationErrorStatics)->GetStatus(hresult, reinterpret_cast(&status))); return status; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Syndication_ISyndicationFeed::Authors() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::Authors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_Authors(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Syndication_ISyndicationFeed::Categories() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::Categories() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_Categories(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Syndication_ISyndicationFeed::Contributors() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::Contributors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_Contributors(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationGenerator) consume_Windows_Web_Syndication_ISyndicationFeed::Generator() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::Generator() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_Generator(&value)); return winrt::Windows::Web::Syndication::SyndicationGenerator{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed::Generator(winrt::Windows::Web::Syndication::SyndicationGenerator const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::Generator(winrt::Windows::Web::Syndication::SyndicationGenerator const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->put_Generator(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationFeed::IconUri() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::IconUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_IconUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed::IconUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::IconUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->put_IconUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationFeed::Id() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed::Id(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::Id(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->put_Id(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Syndication_ISyndicationFeed::Items() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Web_Syndication_ISyndicationFeed::LastUpdatedTime() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::LastUpdatedTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_LastUpdatedTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed::LastUpdatedTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::LastUpdatedTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->put_LastUpdatedTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Syndication_ISyndicationFeed::Links() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::Links() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_Links(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationFeed::ImageUri() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::ImageUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_ImageUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed::ImageUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::ImageUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->put_ImageUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) consume_Windows_Web_Syndication_ISyndicationFeed::Rights() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::Rights() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_Rights(&value)); return winrt::Windows::Web::Syndication::ISyndicationText{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed::Rights(winrt::Windows::Web::Syndication::ISyndicationText const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::Rights(winrt::Windows::Web::Syndication::ISyndicationText const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->put_Rights(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) consume_Windows_Web_Syndication_ISyndicationFeed::Subtitle() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::Subtitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_Subtitle(&value)); return winrt::Windows::Web::Syndication::ISyndicationText{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed::Subtitle(winrt::Windows::Web::Syndication::ISyndicationText const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::Subtitle(winrt::Windows::Web::Syndication::ISyndicationText const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->put_Subtitle(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) consume_Windows_Web_Syndication_ISyndicationFeed::Title() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_Title(&value)); return winrt::Windows::Web::Syndication::ISyndicationText{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed::Title(winrt::Windows::Web::Syndication::ISyndicationText const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::Title(winrt::Windows::Web::Syndication::ISyndicationText const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationFeed::FirstUri() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::FirstUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_FirstUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationFeed::LastUri() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::LastUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_LastUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationFeed::NextUri() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::NextUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_NextUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationFeed::PreviousUri() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::PreviousUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_PreviousUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationFormat) consume_Windows_Web_Syndication_ISyndicationFeed::SourceFormat() const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::SourceFormat() const { winrt::Windows::Web::Syndication::SyndicationFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_SourceFormat(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed::Load(param::hstring const& feed) const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::Load(param::hstring const& feed) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->Load(*(void**)(&feed))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed::LoadFromXml(winrt::Windows::Data::Xml::Dom::XmlDocument const& feedDocument) const + template auto consume_Windows_Web_Syndication_ISyndicationFeed::LoadFromXml(winrt::Windows::Data::Xml::Dom::XmlDocument const& feedDocument) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->LoadFromXml(*(void**)(&feedDocument))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationFeed) consume_Windows_Web_Syndication_ISyndicationFeedFactory::CreateSyndicationFeed(param::hstring const& title, param::hstring const& subtitle, winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Syndication_ISyndicationFeedFactory::CreateSyndicationFeed(param::hstring const& title, param::hstring const& subtitle, winrt::Windows::Foundation::Uri const& uri) const { void* feed{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeedFactory)->CreateSyndicationFeed(*(void**)(&title), *(void**)(&subtitle), *(void**)(&uri), &feed)); return winrt::Windows::Web::Syndication::SyndicationFeed{ feed, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationGenerator::Text() const + template auto consume_Windows_Web_Syndication_ISyndicationGenerator::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationGenerator)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationGenerator::Text(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationGenerator::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationGenerator)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationGenerator::Uri() const + template auto consume_Windows_Web_Syndication_ISyndicationGenerator::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationGenerator)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationGenerator::Uri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationGenerator::Uri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationGenerator)->put_Uri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationGenerator::Version() const + template auto consume_Windows_Web_Syndication_ISyndicationGenerator::Version() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationGenerator)->get_Version(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationGenerator::Version(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationGenerator::Version(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationGenerator)->put_Version(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationGenerator) consume_Windows_Web_Syndication_ISyndicationGeneratorFactory::CreateSyndicationGenerator(param::hstring const& text) const + template auto consume_Windows_Web_Syndication_ISyndicationGeneratorFactory::CreateSyndicationGenerator(param::hstring const& text) const { void* generator{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationGeneratorFactory)->CreateSyndicationGenerator(*(void**)(&text), &generator)); return winrt::Windows::Web::Syndication::SyndicationGenerator{ generator, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Syndication_ISyndicationItem::Authors() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Authors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_Authors(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Syndication_ISyndicationItem::Categories() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Categories() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_Categories(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Syndication_ISyndicationItem::Contributors() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Contributors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_Contributors(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationContent) consume_Windows_Web_Syndication_ISyndicationItem::Content() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_Content(&value)); return winrt::Windows::Web::Syndication::SyndicationContent{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem::Content(winrt::Windows::Web::Syndication::SyndicationContent const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Content(winrt::Windows::Web::Syndication::SyndicationContent const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->put_Content(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationItem::Id() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem::Id(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Id(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->put_Id(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Web_Syndication_ISyndicationItem::LastUpdatedTime() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::LastUpdatedTime() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_LastUpdatedTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem::LastUpdatedTime(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationItem::LastUpdatedTime(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->put_LastUpdatedTime(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Syndication_ISyndicationItem::Links() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Links() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_Links(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Web_Syndication_ISyndicationItem::PublishedDate() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::PublishedDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_PublishedDate(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem::PublishedDate(winrt::Windows::Foundation::DateTime const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationItem::PublishedDate(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->put_PublishedDate(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) consume_Windows_Web_Syndication_ISyndicationItem::Rights() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Rights() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_Rights(&value)); return winrt::Windows::Web::Syndication::ISyndicationText{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem::Rights(winrt::Windows::Web::Syndication::ISyndicationText const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Rights(winrt::Windows::Web::Syndication::ISyndicationText const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->put_Rights(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationFeed) consume_Windows_Web_Syndication_ISyndicationItem::Source() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_Source(&value)); return winrt::Windows::Web::Syndication::SyndicationFeed{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem::Source(winrt::Windows::Web::Syndication::SyndicationFeed const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Source(winrt::Windows::Web::Syndication::SyndicationFeed const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->put_Source(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) consume_Windows_Web_Syndication_ISyndicationItem::Summary() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Summary() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_Summary(&value)); return winrt::Windows::Web::Syndication::ISyndicationText{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem::Summary(winrt::Windows::Web::Syndication::ISyndicationText const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Summary(winrt::Windows::Web::Syndication::ISyndicationText const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->put_Summary(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) consume_Windows_Web_Syndication_ISyndicationItem::Title() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_Title(&value)); return winrt::Windows::Web::Syndication::ISyndicationText{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem::Title(winrt::Windows::Web::Syndication::ISyndicationText const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Title(winrt::Windows::Web::Syndication::ISyndicationText const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationItem::CommentsUri() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::CommentsUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_CommentsUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem::CommentsUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationItem::CommentsUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->put_CommentsUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationItem::EditUri() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::EditUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_EditUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationItem::EditMediaUri() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::EditMediaUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_EditMediaUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationItem::ETag() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::ETag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_ETag(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationItem::ItemUri() const + template auto consume_Windows_Web_Syndication_ISyndicationItem::ItemUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_ItemUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem::Load(param::hstring const& item) const + template auto consume_Windows_Web_Syndication_ISyndicationItem::Load(param::hstring const& item) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->Load(*(void**)(&item))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem::LoadFromXml(winrt::Windows::Data::Xml::Dom::XmlDocument const& itemDocument) const + template auto consume_Windows_Web_Syndication_ISyndicationItem::LoadFromXml(winrt::Windows::Data::Xml::Dom::XmlDocument const& itemDocument) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->LoadFromXml(*(void**)(&itemDocument))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationItem) consume_Windows_Web_Syndication_ISyndicationItemFactory::CreateSyndicationItem(param::hstring const& title, winrt::Windows::Web::Syndication::SyndicationContent const& content, winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Syndication_ISyndicationItemFactory::CreateSyndicationItem(param::hstring const& title, winrt::Windows::Web::Syndication::SyndicationContent const& content, winrt::Windows::Foundation::Uri const& uri) const { void* item{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItemFactory)->CreateSyndicationItem(*(void**)(&title), *(void**)(&content), *(void**)(&uri), &item)); return winrt::Windows::Web::Syndication::SyndicationItem{ item, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_Syndication_ISyndicationLink::Length() const + template auto consume_Windows_Web_Syndication_ISyndicationLink::Length() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->get_Length(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationLink::Length(uint32_t value) const + template auto consume_Windows_Web_Syndication_ISyndicationLink::Length(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->put_Length(value)); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationLink::MediaType() const + template auto consume_Windows_Web_Syndication_ISyndicationLink::MediaType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->get_MediaType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationLink::MediaType(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationLink::MediaType(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->put_MediaType(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationLink::Relationship() const + template auto consume_Windows_Web_Syndication_ISyndicationLink::Relationship() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->get_Relationship(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationLink::Relationship(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationLink::Relationship(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->put_Relationship(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationLink::Title() const + template auto consume_Windows_Web_Syndication_ISyndicationLink::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationLink::Title(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationLink::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->put_Title(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationLink::Uri() const + template auto consume_Windows_Web_Syndication_ISyndicationLink::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationLink::Uri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationLink::Uri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->put_Uri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationLink::ResourceLanguage() const + template auto consume_Windows_Web_Syndication_ISyndicationLink::ResourceLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->get_ResourceLanguage(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationLink::ResourceLanguage(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationLink::ResourceLanguage(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->put_ResourceLanguage(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationLink) consume_Windows_Web_Syndication_ISyndicationLinkFactory::CreateSyndicationLink(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Syndication_ISyndicationLinkFactory::CreateSyndicationLink(winrt::Windows::Foundation::Uri const& uri) const { void* link{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLinkFactory)->CreateSyndicationLink(*(void**)(&uri), &link)); return winrt::Windows::Web::Syndication::SyndicationLink{ link, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationLink) consume_Windows_Web_Syndication_ISyndicationLinkFactory::CreateSyndicationLinkEx(winrt::Windows::Foundation::Uri const& uri, param::hstring const& relationship, param::hstring const& title, param::hstring const& mediaType, uint32_t length) const + template auto consume_Windows_Web_Syndication_ISyndicationLinkFactory::CreateSyndicationLinkEx(winrt::Windows::Foundation::Uri const& uri, param::hstring const& relationship, param::hstring const& title, param::hstring const& mediaType, uint32_t length) const { void* link{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLinkFactory)->CreateSyndicationLinkEx(*(void**)(&uri), *(void**)(&relationship), *(void**)(&title), *(void**)(&mediaType), length, &link)); return winrt::Windows::Web::Syndication::SyndicationLink{ link, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationNode::NodeName() const + template auto consume_Windows_Web_Syndication_ISyndicationNode::NodeName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->get_NodeName(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationNode::NodeName(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationNode::NodeName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->put_NodeName(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationNode::NodeNamespace() const + template auto consume_Windows_Web_Syndication_ISyndicationNode::NodeNamespace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->get_NodeNamespace(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationNode::NodeNamespace(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationNode::NodeNamespace(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->put_NodeNamespace(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationNode::NodeValue() const + template auto consume_Windows_Web_Syndication_ISyndicationNode::NodeValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->get_NodeValue(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationNode::NodeValue(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationNode::NodeValue(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->put_NodeValue(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationNode::Language() const + template auto consume_Windows_Web_Syndication_ISyndicationNode::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationNode::Language(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationNode::Language(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->put_Language(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationNode::BaseUri() const + template auto consume_Windows_Web_Syndication_ISyndicationNode::BaseUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->get_BaseUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationNode::BaseUri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationNode::BaseUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->put_BaseUri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Syndication_ISyndicationNode::AttributeExtensions() const + template auto consume_Windows_Web_Syndication_ISyndicationNode::AttributeExtensions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->get_AttributeExtensions(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Web_Syndication_ISyndicationNode::ElementExtensions() const + template auto consume_Windows_Web_Syndication_ISyndicationNode::ElementExtensions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->get_ElementExtensions(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_Web_Syndication_ISyndicationNode::GetXmlDocument(winrt::Windows::Web::Syndication::SyndicationFormat const& format) const + template auto consume_Windows_Web_Syndication_ISyndicationNode::GetXmlDocument(winrt::Windows::Web::Syndication::SyndicationFormat const& format) const { void* xmlDocument{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->GetXmlDocument(static_cast(format), &xmlDocument)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ xmlDocument, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationNode) consume_Windows_Web_Syndication_ISyndicationNodeFactory::CreateSyndicationNode(param::hstring const& nodeName, param::hstring const& nodeNamespace, param::hstring const& nodeValue) const + template auto consume_Windows_Web_Syndication_ISyndicationNodeFactory::CreateSyndicationNode(param::hstring const& nodeName, param::hstring const& nodeNamespace, param::hstring const& nodeValue) const { void* node{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNodeFactory)->CreateSyndicationNode(*(void**)(&nodeName), *(void**)(&nodeNamespace), *(void**)(&nodeValue), &node)); return winrt::Windows::Web::Syndication::SyndicationNode{ node, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationPerson::Email() const + template auto consume_Windows_Web_Syndication_ISyndicationPerson::Email() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationPerson)->get_Email(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationPerson::Email(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationPerson::Email(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationPerson)->put_Email(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationPerson::Name() const + template auto consume_Windows_Web_Syndication_ISyndicationPerson::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationPerson)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationPerson::Name(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationPerson::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationPerson)->put_Name(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationPerson::Uri() const + template auto consume_Windows_Web_Syndication_ISyndicationPerson::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationPerson)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationPerson::Uri(winrt::Windows::Foundation::Uri const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationPerson::Uri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationPerson)->put_Uri(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationPerson) consume_Windows_Web_Syndication_ISyndicationPersonFactory::CreateSyndicationPerson(param::hstring const& name) const + template auto consume_Windows_Web_Syndication_ISyndicationPersonFactory::CreateSyndicationPerson(param::hstring const& name) const { void* person{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationPersonFactory)->CreateSyndicationPerson(*(void**)(&name), &person)); return winrt::Windows::Web::Syndication::SyndicationPerson{ person, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationPerson) consume_Windows_Web_Syndication_ISyndicationPersonFactory::CreateSyndicationPersonEx(param::hstring const& name, param::hstring const& email, winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_Syndication_ISyndicationPersonFactory::CreateSyndicationPersonEx(param::hstring const& name, param::hstring const& email, winrt::Windows::Foundation::Uri const& uri) const { void* person{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationPersonFactory)->CreateSyndicationPersonEx(*(void**)(&name), *(void**)(&email), *(void**)(&uri), &person)); return winrt::Windows::Web::Syndication::SyndicationPerson{ person, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationText::Text() const + template auto consume_Windows_Web_Syndication_ISyndicationText::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationText)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationText::Text(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationText::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationText)->put_Text(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationText::Type() const + template auto consume_Windows_Web_Syndication_ISyndicationText::Type() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationText)->get_Type(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationText::Type(param::hstring const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationText::Type(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationText)->put_Type(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_Web_Syndication_ISyndicationText::Xml() const + template auto consume_Windows_Web_Syndication_ISyndicationText::Xml() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationText)->get_Xml(&value)); return winrt::Windows::Data::Xml::Dom::XmlDocument{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationText::Xml(winrt::Windows::Data::Xml::Dom::XmlDocument const& value) const + template auto consume_Windows_Web_Syndication_ISyndicationText::Xml(winrt::Windows::Data::Xml::Dom::XmlDocument const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationText)->put_Xml(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationText) consume_Windows_Web_Syndication_ISyndicationTextFactory::CreateSyndicationText(param::hstring const& text) const + template auto consume_Windows_Web_Syndication_ISyndicationTextFactory::CreateSyndicationText(param::hstring const& text) const { void* syndicationText{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationTextFactory)->CreateSyndicationText(*(void**)(&text), &syndicationText)); return winrt::Windows::Web::Syndication::SyndicationText{ syndicationText, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationText) consume_Windows_Web_Syndication_ISyndicationTextFactory::CreateSyndicationTextEx(param::hstring const& text, winrt::Windows::Web::Syndication::SyndicationTextType const& type) const + template auto consume_Windows_Web_Syndication_ISyndicationTextFactory::CreateSyndicationTextEx(param::hstring const& text, winrt::Windows::Web::Syndication::SyndicationTextType const& type) const { void* syndicationText{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationTextFactory)->CreateSyndicationTextEx(*(void**)(&text), static_cast(type), &syndicationText)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Web.UI.Interop.h b/internal/platform/implementation/windows/generated/winrt/Windows.Web.UI.Interop.h index 1f2a40bf..d97ca769 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Web.UI.Interop.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Web.UI.Interop.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_UI_Interop_H #define WINRT_Windows_Web_UI_Interop_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Web.UI.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" @@ -15,217 +15,217 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Web.UI.Interop.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreAcceleratorKeyEventType) consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs::EventType() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs::EventType() const { winrt::Windows::UI::Core::CoreAcceleratorKeyEventType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlAcceleratorKeyPressedEventArgs)->get_EventType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs::VirtualKey() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs::VirtualKey() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlAcceleratorKeyPressedEventArgs)->get_VirtualKey(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs::KeyStatus() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs::KeyStatus() const { winrt::Windows::UI::Core::CorePhysicalKeyStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlAcceleratorKeyPressedEventArgs)->get_KeyStatus(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyRoutingStage) consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs::RoutingStage() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs::RoutingStage() const { winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyRoutingStage value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlAcceleratorKeyPressedEventArgs)->get_RoutingStage(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs::Handled() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlAcceleratorKeyPressedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs::Handled(bool value) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlAcceleratorKeyPressedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusReason) consume_Windows_Web_UI_Interop_IWebViewControlMoveFocusRequestedEventArgs::Reason() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlMoveFocusRequestedEventArgs::Reason() const { winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlMoveFocusRequestedEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_UI_Interop_IWebViewControlProcess::ProcessId() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlProcess::ProcessId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcess)->get_ProcessId(&value)); return value; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_UI_Interop_IWebViewControlProcess::EnterpriseId() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlProcess::EnterpriseId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcess)->get_EnterpriseId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_Interop_IWebViewControlProcess::IsPrivateNetworkClientServerCapabilityEnabled() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlProcess::IsPrivateNetworkClientServerCapabilityEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcess)->get_IsPrivateNetworkClientServerCapabilityEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Web_UI_Interop_IWebViewControlProcess::CreateWebViewControlAsync(int64_t hostWindowHandle, winrt::Windows::Foundation::Rect const& bounds) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlProcess::CreateWebViewControlAsync(int64_t hostWindowHandle, winrt::Windows::Foundation::Rect const& bounds) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcess)->CreateWebViewControlAsync(hostWindowHandle, impl::bind_in(bounds), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Web_UI_Interop_IWebViewControlProcess::GetWebViewControls() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlProcess::GetWebViewControls() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcess)->GetWebViewControls(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlProcess::Terminate() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlProcess::Terminate() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcess)->Terminate()); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_Interop_IWebViewControlProcess::ProcessExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlProcess::ProcessExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcess)->add_ProcessExited(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_Interop_IWebViewControlProcess::ProcessExited_revoker consume_Windows_Web_UI_Interop_IWebViewControlProcess::ProcessExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlProcess::ProcessExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ProcessExited(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlProcess::ProcessExited(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_Interop_IWebViewControlProcess::ProcessExited(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcess)->remove_ProcessExited(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlProcess) consume_Windows_Web_UI_Interop_IWebViewControlProcessFactory::CreateWithOptions(winrt::Windows::Web::UI::Interop::WebViewControlProcessOptions const& processOptions) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlProcessFactory::CreateWithOptions(winrt::Windows::Web::UI::Interop::WebViewControlProcessOptions const& processOptions) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcessFactory)->CreateWithOptions(*(void**)(&processOptions), &result)); return winrt::Windows::Web::UI::Interop::WebViewControlProcess{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions::EnterpriseId(param::hstring const& value) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions::EnterpriseId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcessOptions)->put_EnterpriseId(*(void**)(&value))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions::EnterpriseId() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions::EnterpriseId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcessOptions)->get_EnterpriseId(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions::PrivateNetworkClientServerCapability(winrt::Windows::Web::UI::Interop::WebViewControlProcessCapabilityState const& value) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions::PrivateNetworkClientServerCapability(winrt::Windows::Web::UI::Interop::WebViewControlProcessCapabilityState const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcessOptions)->put_PrivateNetworkClientServerCapability(static_cast(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlProcessCapabilityState) consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions::PrivateNetworkClientServerCapability() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions::PrivateNetworkClientServerCapability() const { winrt::Windows::Web::UI::Interop::WebViewControlProcessCapabilityState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcessOptions)->get_PrivateNetworkClientServerCapability(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlProcess) consume_Windows_Web_UI_Interop_IWebViewControlSite::Process() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite::Process() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->get_Process(&value)); return winrt::Windows::Web::UI::Interop::WebViewControlProcess{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite::Scale(double value) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite::Scale(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->put_Scale(value)); } - template WINRT_IMPL_AUTO(double) consume_Windows_Web_UI_Interop_IWebViewControlSite::Scale() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite::Scale() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->get_Scale(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite::Bounds(winrt::Windows::Foundation::Rect const& value) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite::Bounds(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->put_Bounds(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Web_UI_Interop_IWebViewControlSite::Bounds() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite::Bounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->get_Bounds(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite::IsVisible(bool value) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite::IsVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->put_IsVisible(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_Interop_IWebViewControlSite::IsVisible() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite::IsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->get_IsVisible(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite::Close() const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite::Close() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->Close()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite::MoveFocus(winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusReason const& reason) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite::MoveFocus(winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusReason const& reason) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->MoveFocus(static_cast(reason))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_Interop_IWebViewControlSite::MoveFocusRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite::MoveFocusRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->add_MoveFocusRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_Interop_IWebViewControlSite::MoveFocusRequested_revoker consume_Windows_Web_UI_Interop_IWebViewControlSite::MoveFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite::MoveFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MoveFocusRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite::MoveFocusRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite::MoveFocusRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->remove_MoveFocusRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_Interop_IWebViewControlSite::AcceleratorKeyPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite::AcceleratorKeyPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->add_AcceleratorKeyPressed(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_Interop_IWebViewControlSite::AcceleratorKeyPressed_revoker consume_Windows_Web_UI_Interop_IWebViewControlSite::AcceleratorKeyPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite::AcceleratorKeyPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AcceleratorKeyPressed(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite::AcceleratorKeyPressed(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite::AcceleratorKeyPressed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->remove_AcceleratorKeyPressed(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_Interop_IWebViewControlSite2::GotFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite2::GotFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite2)->add_GotFocus(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_Interop_IWebViewControlSite2::GotFocus_revoker consume_Windows_Web_UI_Interop_IWebViewControlSite2::GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite2::GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, GotFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite2::GotFocus(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite2::GotFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite2)->remove_GotFocus(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_Interop_IWebViewControlSite2::LostFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite2::LostFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite2)->add_LostFocus(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_Interop_IWebViewControlSite2::LostFocus_revoker consume_Windows_Web_UI_Interop_IWebViewControlSite2::LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite2::LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LostFocus(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite2::LostFocus(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_Interop_IWebViewControlSite2::LostFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite2)->remove_LostFocus(impl::bind_in(token)); } diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Web.UI.h b/internal/platform/implementation/windows/generated/winrt/Windows.Web.UI.h index 48e1bc52..644cb47b 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Web.UI.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Web.UI.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_UI_H #define WINRT_Windows_Web_UI_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/Windows.Web.h" #include "winrt/impl/Windows.ApplicationModel.DataTransfer.2.h" #include "winrt/impl/Windows.Foundation.2.h" @@ -17,625 +17,625 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.Web.UI.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControl::Source() const + template auto consume_Windows_Web_UI_IWebViewControl::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->get_Source(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::Source(winrt::Windows::Foundation::Uri const& source) const + template auto consume_Windows_Web_UI_IWebViewControl::Source(winrt::Windows::Foundation::Uri const& source) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->put_Source(*(void**)(&source))); } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_UI_IWebViewControl::DocumentTitle() const + template auto consume_Windows_Web_UI_IWebViewControl::DocumentTitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->get_DocumentTitle(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControl::CanGoBack() const + template auto consume_Windows_Web_UI_IWebViewControl::CanGoBack() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->get_CanGoBack(&value)); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControl::CanGoForward() const + template auto consume_Windows_Web_UI_IWebViewControl::CanGoForward() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->get_CanGoForward(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::DefaultBackgroundColor(winrt::Windows::UI::Color const& value) const + template auto consume_Windows_Web_UI_IWebViewControl::DefaultBackgroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->put_DefaultBackgroundColor(impl::bind_in(value))); } - template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Web_UI_IWebViewControl::DefaultBackgroundColor() const + template auto consume_Windows_Web_UI_IWebViewControl::DefaultBackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->get_DefaultBackgroundColor(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControl::ContainsFullScreenElement() const + template auto consume_Windows_Web_UI_IWebViewControl::ContainsFullScreenElement() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->get_ContainsFullScreenElement(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::UI::WebViewControlSettings) consume_Windows_Web_UI_IWebViewControl::Settings() const + template auto consume_Windows_Web_UI_IWebViewControl::Settings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->get_Settings(&value)); return winrt::Windows::Web::UI::WebViewControlSettings{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Web_UI_IWebViewControl::DeferredPermissionRequests() const + template auto consume_Windows_Web_UI_IWebViewControl::DeferredPermissionRequests() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->get_DeferredPermissionRequests(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::GoForward() const + template auto consume_Windows_Web_UI_IWebViewControl::GoForward() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->GoForward()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::GoBack() const + template auto consume_Windows_Web_UI_IWebViewControl::GoBack() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->GoBack()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::Refresh() const + template auto consume_Windows_Web_UI_IWebViewControl::Refresh() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->Refresh()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::Stop() const + template auto consume_Windows_Web_UI_IWebViewControl::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->Stop()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::Navigate(winrt::Windows::Foundation::Uri const& source) const + template auto consume_Windows_Web_UI_IWebViewControl::Navigate(winrt::Windows::Foundation::Uri const& source) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->Navigate(*(void**)(&source))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::NavigateToString(param::hstring const& text) const + template auto consume_Windows_Web_UI_IWebViewControl::NavigateToString(param::hstring const& text) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->NavigateToString(*(void**)(&text))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::NavigateToLocalStreamUri(winrt::Windows::Foundation::Uri const& source, winrt::Windows::Web::IUriToStreamResolver const& streamResolver) const + template auto consume_Windows_Web_UI_IWebViewControl::NavigateToLocalStreamUri(winrt::Windows::Foundation::Uri const& source, winrt::Windows::Web::IUriToStreamResolver const& streamResolver) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->NavigateToLocalStreamUri(*(void**)(&source), *(void**)(&streamResolver))); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::NavigateWithHttpRequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& requestMessage) const + template auto consume_Windows_Web_UI_IWebViewControl::NavigateWithHttpRequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& requestMessage) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->NavigateWithHttpRequestMessage(*(void**)(&requestMessage))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Web_UI_IWebViewControl::InvokeScriptAsync(param::hstring const& scriptName, param::async_iterable const& arguments) const + template auto consume_Windows_Web_UI_IWebViewControl::InvokeScriptAsync(param::hstring const& scriptName, param::async_iterable const& arguments) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->InvokeScriptAsync(*(void**)(&scriptName), *(void**)(&arguments), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Web_UI_IWebViewControl::CapturePreviewToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const + template auto consume_Windows_Web_UI_IWebViewControl::CapturePreviewToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->CapturePreviewToStreamAsync(*(void**)(&stream), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Web_UI_IWebViewControl::CaptureSelectedContentToDataPackageAsync() const + template auto consume_Windows_Web_UI_IWebViewControl::CaptureSelectedContentToDataPackageAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->CaptureSelectedContentToDataPackageAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControl::BuildLocalStreamUri(param::hstring const& contentIdentifier, param::hstring const& relativePath) const + template auto consume_Windows_Web_UI_IWebViewControl::BuildLocalStreamUri(param::hstring const& contentIdentifier, param::hstring const& relativePath) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->BuildLocalStreamUri(*(void**)(&contentIdentifier), *(void**)(&relativePath), &result)); return winrt::Windows::Foundation::Uri{ result, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::GetDeferredPermissionRequestById(uint32_t id, winrt::Windows::Web::UI::WebViewControlDeferredPermissionRequest& result) const + template auto consume_Windows_Web_UI_IWebViewControl::GetDeferredPermissionRequestById(uint32_t id, winrt::Windows::Web::UI::WebViewControlDeferredPermissionRequest& result) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->GetDeferredPermissionRequestById(id, impl::bind_out(result))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::NavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::NavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_NavigationStarting(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::NavigationStarting_revoker consume_Windows_Web_UI_IWebViewControl::NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationStarting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::NavigationStarting(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::NavigationStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_NavigationStarting(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::ContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::ContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_ContentLoading(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::ContentLoading_revoker consume_Windows_Web_UI_IWebViewControl::ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContentLoading(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::ContentLoading(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::ContentLoading(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_ContentLoading(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_DOMContentLoaded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::DOMContentLoaded_revoker consume_Windows_Web_UI_IWebViewControl::DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DOMContentLoaded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::DOMContentLoaded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::DOMContentLoaded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_DOMContentLoaded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_NavigationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::NavigationCompleted_revoker consume_Windows_Web_UI_IWebViewControl::NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::NavigationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::NavigationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_NavigationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::FrameNavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::FrameNavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_FrameNavigationStarting(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::FrameNavigationStarting_revoker consume_Windows_Web_UI_IWebViewControl::FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameNavigationStarting(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::FrameNavigationStarting(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::FrameNavigationStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_FrameNavigationStarting(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::FrameContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::FrameContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_FrameContentLoading(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::FrameContentLoading_revoker consume_Windows_Web_UI_IWebViewControl::FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameContentLoading(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::FrameContentLoading(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::FrameContentLoading(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_FrameContentLoading(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::FrameDOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::FrameDOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_FrameDOMContentLoaded(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::FrameDOMContentLoaded_revoker consume_Windows_Web_UI_IWebViewControl::FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameDOMContentLoaded(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::FrameDOMContentLoaded(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::FrameDOMContentLoaded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_FrameDOMContentLoaded(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::FrameNavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::FrameNavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_FrameNavigationCompleted(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::FrameNavigationCompleted_revoker consume_Windows_Web_UI_IWebViewControl::FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameNavigationCompleted(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::FrameNavigationCompleted(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::FrameNavigationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_FrameNavigationCompleted(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::ScriptNotify(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::ScriptNotify(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_ScriptNotify(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::ScriptNotify_revoker consume_Windows_Web_UI_IWebViewControl::ScriptNotify(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::ScriptNotify(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ScriptNotify(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::ScriptNotify(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::ScriptNotify(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_ScriptNotify(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::LongRunningScriptDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::LongRunningScriptDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_LongRunningScriptDetected(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::LongRunningScriptDetected_revoker consume_Windows_Web_UI_IWebViewControl::LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LongRunningScriptDetected(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::LongRunningScriptDetected(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::LongRunningScriptDetected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_LongRunningScriptDetected(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::UnsafeContentWarningDisplaying(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::UnsafeContentWarningDisplaying(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_UnsafeContentWarningDisplaying(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::UnsafeContentWarningDisplaying_revoker consume_Windows_Web_UI_IWebViewControl::UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UnsafeContentWarningDisplaying(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::UnsafeContentWarningDisplaying(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::UnsafeContentWarningDisplaying(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_UnsafeContentWarningDisplaying(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::UnviewableContentIdentified(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::UnviewableContentIdentified(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_UnviewableContentIdentified(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::UnviewableContentIdentified_revoker consume_Windows_Web_UI_IWebViewControl::UnviewableContentIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::UnviewableContentIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UnviewableContentIdentified(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::UnviewableContentIdentified(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::UnviewableContentIdentified(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_UnviewableContentIdentified(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::PermissionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::PermissionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_PermissionRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::PermissionRequested_revoker consume_Windows_Web_UI_IWebViewControl::PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PermissionRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::PermissionRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::PermissionRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_PermissionRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::UnsupportedUriSchemeIdentified(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::UnsupportedUriSchemeIdentified(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_UnsupportedUriSchemeIdentified(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::UnsupportedUriSchemeIdentified_revoker consume_Windows_Web_UI_IWebViewControl::UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UnsupportedUriSchemeIdentified(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::UnsupportedUriSchemeIdentified(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::UnsupportedUriSchemeIdentified(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_UnsupportedUriSchemeIdentified(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::NewWindowRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::NewWindowRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_NewWindowRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::NewWindowRequested_revoker consume_Windows_Web_UI_IWebViewControl::NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NewWindowRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::NewWindowRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::NewWindowRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_NewWindowRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::ContainsFullScreenElementChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::ContainsFullScreenElementChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_ContainsFullScreenElementChanged(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::ContainsFullScreenElementChanged_revoker consume_Windows_Web_UI_IWebViewControl::ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContainsFullScreenElementChanged(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::ContainsFullScreenElementChanged(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::ContainsFullScreenElementChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_ContainsFullScreenElementChanged(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl::WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->add_WebResourceRequested(*(void**)(&handler), put_abi(token))); return token; } - template typename consume_Windows_Web_UI_IWebViewControl::WebResourceRequested_revoker consume_Windows_Web_UI_IWebViewControl::WebResourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + template auto consume_Windows_Web_UI_IWebViewControl::WebResourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, WebResourceRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl::WebResourceRequested(winrt::event_token const& token) const noexcept + template auto consume_Windows_Web_UI_IWebViewControl::WebResourceRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_WebResourceRequested(impl::bind_in(token)); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl2::AddInitializeScript(param::hstring const& script) const + template auto consume_Windows_Web_UI_IWebViewControl2::AddInitializeScript(param::hstring const& script) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl2)->AddInitializeScript(*(void**)(&script))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlContentLoadingEventArgs::Uri() const + template auto consume_Windows_Web_UI_IWebViewControlContentLoadingEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlContentLoadingEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlDOMContentLoadedEventArgs::Uri() const + template auto consume_Windows_Web_UI_IWebViewControlDOMContentLoadedEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlDOMContentLoadedEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest::Id() const + template auto consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlDeferredPermissionRequest)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest::Uri() const + template auto consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlDeferredPermissionRequest)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::UI::WebViewControlPermissionType) consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest::PermissionType() const + template auto consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest::PermissionType() const { winrt::Windows::Web::UI::WebViewControlPermissionType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlDeferredPermissionRequest)->get_PermissionType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest::Allow() const + template auto consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest::Allow() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlDeferredPermissionRequest)->Allow()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest::Deny() const + template auto consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest::Deny() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlDeferredPermissionRequest)->Deny()); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Web_UI_IWebViewControlLongRunningScriptDetectedEventArgs::ExecutionTime() const + template auto consume_Windows_Web_UI_IWebViewControlLongRunningScriptDetectedEventArgs::ExecutionTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlLongRunningScriptDetectedEventArgs)->get_ExecutionTime(put_abi(value))); return value; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControlLongRunningScriptDetectedEventArgs::StopPageScriptExecution() const + template auto consume_Windows_Web_UI_IWebViewControlLongRunningScriptDetectedEventArgs::StopPageScriptExecution() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlLongRunningScriptDetectedEventArgs)->get_StopPageScriptExecution(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlLongRunningScriptDetectedEventArgs::StopPageScriptExecution(bool value) const + template auto consume_Windows_Web_UI_IWebViewControlLongRunningScriptDetectedEventArgs::StopPageScriptExecution(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlLongRunningScriptDetectedEventArgs)->put_StopPageScriptExecution(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlNavigationCompletedEventArgs::Uri() const + template auto consume_Windows_Web_UI_IWebViewControlNavigationCompletedEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNavigationCompletedEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControlNavigationCompletedEventArgs::IsSuccess() const + template auto consume_Windows_Web_UI_IWebViewControlNavigationCompletedEventArgs::IsSuccess() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNavigationCompletedEventArgs)->get_IsSuccess(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) consume_Windows_Web_UI_IWebViewControlNavigationCompletedEventArgs::WebErrorStatus() const + template auto consume_Windows_Web_UI_IWebViewControlNavigationCompletedEventArgs::WebErrorStatus() const { winrt::Windows::Web::WebErrorStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNavigationCompletedEventArgs)->get_WebErrorStatus(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlNavigationStartingEventArgs::Uri() const + template auto consume_Windows_Web_UI_IWebViewControlNavigationStartingEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNavigationStartingEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControlNavigationStartingEventArgs::Cancel() const + template auto consume_Windows_Web_UI_IWebViewControlNavigationStartingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNavigationStartingEventArgs)->get_Cancel(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlNavigationStartingEventArgs::Cancel(bool value) const + template auto consume_Windows_Web_UI_IWebViewControlNavigationStartingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNavigationStartingEventArgs)->put_Cancel(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs::Uri() const + template auto consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs::Referrer() const + template auto consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs::Referrer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs)->get_Referrer(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs::Handled() const + template auto consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs::Handled(bool value) const + template auto consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::UI::IWebViewControl) consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs2::NewWindow() const + template auto consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs2::NewWindow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs2)->get_NewWindow(&value)); return winrt::Windows::Web::UI::IWebViewControl{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs2::NewWindow(winrt::Windows::Web::UI::IWebViewControl const& value) const + template auto consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs2::NewWindow(winrt::Windows::Web::UI::IWebViewControl const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs2)->put_NewWindow(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs2::GetDeferral() const + template auto consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs2::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs2)->GetDeferral(&deferral)); return winrt::Windows::Foundation::Deferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_UI_IWebViewControlPermissionRequest::Id() const + template auto consume_Windows_Web_UI_IWebViewControlPermissionRequest::Id() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlPermissionRequest)->get_Id(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlPermissionRequest::Uri() const + template auto consume_Windows_Web_UI_IWebViewControlPermissionRequest::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlPermissionRequest)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::UI::WebViewControlPermissionType) consume_Windows_Web_UI_IWebViewControlPermissionRequest::PermissionType() const + template auto consume_Windows_Web_UI_IWebViewControlPermissionRequest::PermissionType() const { winrt::Windows::Web::UI::WebViewControlPermissionType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlPermissionRequest)->get_PermissionType(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::UI::WebViewControlPermissionState) consume_Windows_Web_UI_IWebViewControlPermissionRequest::State() const + template auto consume_Windows_Web_UI_IWebViewControlPermissionRequest::State() const { winrt::Windows::Web::UI::WebViewControlPermissionState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlPermissionRequest)->get_State(reinterpret_cast(&value))); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlPermissionRequest::Defer() const + template auto consume_Windows_Web_UI_IWebViewControlPermissionRequest::Defer() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlPermissionRequest)->Defer()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlPermissionRequest::Allow() const + template auto consume_Windows_Web_UI_IWebViewControlPermissionRequest::Allow() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlPermissionRequest)->Allow()); } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlPermissionRequest::Deny() const + template auto consume_Windows_Web_UI_IWebViewControlPermissionRequest::Deny() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlPermissionRequest)->Deny()); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::UI::WebViewControlPermissionRequest) consume_Windows_Web_UI_IWebViewControlPermissionRequestedEventArgs::PermissionRequest() const + template auto consume_Windows_Web_UI_IWebViewControlPermissionRequestedEventArgs::PermissionRequest() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlPermissionRequestedEventArgs)->get_PermissionRequest(&value)); return winrt::Windows::Web::UI::WebViewControlPermissionRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlScriptNotifyEventArgs::Uri() const + template auto consume_Windows_Web_UI_IWebViewControlScriptNotifyEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlScriptNotifyEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_UI_IWebViewControlScriptNotifyEventArgs::Value() const + template auto consume_Windows_Web_UI_IWebViewControlScriptNotifyEventArgs::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlScriptNotifyEventArgs)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlSettings::IsJavaScriptEnabled(bool value) const + template auto consume_Windows_Web_UI_IWebViewControlSettings::IsJavaScriptEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlSettings)->put_IsJavaScriptEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControlSettings::IsJavaScriptEnabled() const + template auto consume_Windows_Web_UI_IWebViewControlSettings::IsJavaScriptEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlSettings)->get_IsJavaScriptEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlSettings::IsIndexedDBEnabled(bool value) const + template auto consume_Windows_Web_UI_IWebViewControlSettings::IsIndexedDBEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlSettings)->put_IsIndexedDBEnabled(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControlSettings::IsIndexedDBEnabled() const + template auto consume_Windows_Web_UI_IWebViewControlSettings::IsIndexedDBEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlSettings)->get_IsIndexedDBEnabled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlSettings::IsScriptNotifyAllowed(bool value) const + template auto consume_Windows_Web_UI_IWebViewControlSettings::IsScriptNotifyAllowed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlSettings)->put_IsScriptNotifyAllowed(value)); } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControlSettings::IsScriptNotifyAllowed() const + template auto consume_Windows_Web_UI_IWebViewControlSettings::IsScriptNotifyAllowed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlSettings)->get_IsScriptNotifyAllowed(&value)); return value; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs::Uri() const + template auto consume_Windows_Web_UI_IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs::Handled() const + template auto consume_Windows_Web_UI_IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs)->get_Handled(&value)); return value; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs::Handled(bool value) const + template auto consume_Windows_Web_UI_IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs)->put_Handled(value)); } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlUnviewableContentIdentifiedEventArgs::Uri() const + template auto consume_Windows_Web_UI_IWebViewControlUnviewableContentIdentifiedEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlUnviewableContentIdentifiedEventArgs)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlUnviewableContentIdentifiedEventArgs::Referrer() const + template auto consume_Windows_Web_UI_IWebViewControlUnviewableContentIdentifiedEventArgs::Referrer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlUnviewableContentIdentifiedEventArgs)->get_Referrer(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(hstring) consume_Windows_Web_UI_IWebViewControlUnviewableContentIdentifiedEventArgs::MediaType() const + template auto consume_Windows_Web_UI_IWebViewControlUnviewableContentIdentifiedEventArgs::MediaType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlUnviewableContentIdentifiedEventArgs)->get_MediaType(&value)); return hstring{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs::GetDeferral() const + template auto consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlWebResourceRequestedEventArgs)->GetDeferral(&deferral)); return winrt::Windows::Foundation::Deferral{ deferral, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs::Request() const + template auto consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlWebResourceRequestedEventArgs)->get_Request(&value)); return winrt::Windows::Web::Http::HttpRequestMessage{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs::Response(winrt::Windows::Web::Http::HttpResponseMessage const& value) const + template auto consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs::Response(winrt::Windows::Web::Http::HttpResponseMessage const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlWebResourceRequestedEventArgs)->put_Response(*(void**)(&value))); } - template WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs::Response() const + template auto consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs::Response() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlWebResourceRequestedEventArgs)->get_Response(&value)); diff --git a/internal/platform/implementation/windows/generated/winrt/Windows.Web.h b/internal/platform/implementation/windows/generated/winrt/Windows.Web.h index 2ade9238..51b21b2a 100644 --- a/internal/platform/implementation/windows/generated/winrt/Windows.Web.h +++ b/internal/platform/implementation/windows/generated/winrt/Windows.Web.h @@ -1,23 +1,23 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_H #define WINRT_Windows_Web_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.Web.2.h" namespace winrt::impl { - template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Web_IUriToStreamResolver::UriToStreamAsync(winrt::Windows::Foundation::Uri const& uri) const + template auto consume_Windows_Web_IUriToStreamResolver::UriToStreamAsync(winrt::Windows::Foundation::Uri const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::IUriToStreamResolver)->UriToStreamAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) consume_Windows_Web_IWebErrorStatics::GetStatus(int32_t hresult) const + template auto consume_Windows_Web_IWebErrorStatics::GetStatus(int32_t hresult) const { winrt::Windows::Web::WebErrorStatus status{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::IWebErrorStatics)->GetStatus(hresult, reinterpret_cast(&status))); diff --git a/internal/platform/implementation/windows/generated/winrt/base.h b/internal/platform/implementation/windows/generated/winrt/base.h index 2d1eb450..189fee09 100644 --- a/internal/platform/implementation/windows/generated/winrt/base.h +++ b/internal/platform/implementation/windows/generated/winrt/base.h @@ -1,6 +1,6 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 -#define CPPWINRT_VERSION "2.0.210930.14" +#define CPPWINRT_VERSION "2.0.220531.1" #pragma once #ifndef WINRT_BASE_H @@ -79,12 +79,6 @@ namespace winrt::impl #define WINRT_IMPL_SHIM(...) (*(abi_t<__VA_ARGS__>**)&static_cast<__VA_ARGS__ const&>(static_cast(*this))) -#ifdef __INTELLISENSE__ -#define WINRT_IMPL_AUTO(...) __VA_ARGS__ -#else -#define WINRT_IMPL_AUTO(...) auto -#endif - // Note: this is a workaround for a false-positive warning produced by the Visual C++ 15.9 compiler. #pragma warning(disable : 5046) @@ -211,8 +205,15 @@ WINRT_EXPORT namespace winrt private: template - static constexpr guid parse(TStringView const value) + static constexpr guid parse(TStringView value) { + // Handle {} and () + if (value.size() == 38 && ((value[0] == '{' && value[37] == '}') || (value[0] == '(' && value[37] == ')'))) + { + value.remove_prefix(1); + value.remove_suffix(1); + } + if (value.size() != 36 || value[8] != '-' || value[13] != '-' || value[18] != '-' || value[23] != '-') { throw std::invalid_argument("value is not a valid GUID string"); @@ -4116,28 +4117,17 @@ WINRT_EXPORT namespace winrt { weak_ref(std::nullptr_t = nullptr) noexcept {} - weak_ref(impl::com_ref const& object) + template const&, typename = std::enable_if_t const&>>> + weak_ref(U&& object) { - if (object) - { - if constexpr(impl::is_implements_v) - { - m_ref = std::move(object->get_weak().m_ref); - } - else - { - // An access violation (crash) on the following line means that the object does not support weak references. - // Avoid using weak_ref/auto_revoke with such objects. - check_hresult(object.template try_as()->GetWeakReference(m_ref.put())); - } - } + from_com_ref(static_cast const&>(object)); } - [[nodiscard]] impl::com_ref get() const noexcept + [[nodiscard]] auto get() const noexcept { if (!m_ref) { - return nullptr; + return impl::com_ref{ nullptr }; } if constexpr(impl::is_implements_v) @@ -4146,13 +4136,13 @@ WINRT_EXPORT namespace winrt m_ref->Resolve(guid_of(), put_abi(temp)); void* result = get_self(temp); detach_abi(temp); - return { result, take_ownership_from_abi }; + return impl::com_ref{ result, take_ownership_from_abi }; } else { void* result{}; m_ref->Resolve(guid_of(), &result); - return { result, take_ownership_from_abi }; + return impl::com_ref{ result, take_ownership_from_abi }; } } @@ -4168,6 +4158,24 @@ WINRT_EXPORT namespace winrt private: + template + void from_com_ref(U&& object) + { + if (object) + { + if constexpr (impl::is_implements_v) + { + m_ref = std::move(object->get_weak().m_ref); + } + else + { + // An access violation (crash) on the following line means that the object does not support weak references. + // Avoid using weak_ref/auto_revoke with such objects. + check_hresult(object.template try_as()->GetWeakReference(m_ref.put())); + } + } + } + com_ptr m_ref; }; @@ -5802,8 +5810,8 @@ WINRT_EXPORT namespace winrt using delegate_type = Delegate; event() = default; - event(event const&) = delete; - event& operator =(event const&) = delete; + event(event const&) = delete; + event& operator =(event const&) = delete; explicit operator bool() const noexcept { @@ -5893,6 +5901,24 @@ WINRT_EXPORT namespace winrt } } + void clear() + { + // Extends life of old targets array to release delegates outside of lock. + delegate_array temp_targets; + + { + slim_lock_guard const change_guard(m_change); + + if (!m_targets) + { + return; + } + + slim_lock_guard const swap_guard(m_swap); + temp_targets = std::exchange(m_targets, nullptr); + } + } + template void operator()(Arg const&... args) { @@ -6737,24 +6763,24 @@ namespace winrt::impl template <> struct interface_list<> { - template - static constexpr void* find(const T*, const Predicate&) noexcept + template + static constexpr auto find(Traits const& traits) noexcept { - return nullptr; + return traits.not_found(); } }; template struct interface_list { - template - static constexpr void* find(const T* obj, const Predicate& pred) noexcept + template + static constexpr auto find(Traits const& traits) noexcept { - if (pred.template test()) + if (traits.template test()) { - return to_abi(obj); + return traits.template found(); } - return interface_list::find(obj, pred); + return interface_list::find(traits); } using first_interface = First; }; @@ -6846,34 +6872,88 @@ namespace winrt::impl using type = typename implements_default_interface::type; }; - struct iid_finder + template + struct find_iid_traits { - const guid& m_guid; + T const* m_object; + guid const& m_guid; template constexpr bool test() const noexcept { return is_guid_of::type>(m_guid); } + + template + constexpr void* found() const noexcept + { + return to_abi(m_object); + } + + static constexpr void* not_found() noexcept + { + return nullptr; + } }; template - auto find_iid(const T* obj, const guid& iid) noexcept + auto find_iid(T const* obj, guid const& iid) noexcept { - return static_cast(implemented_interfaces::find(obj, iid_finder{ iid })); + return static_cast(implemented_interfaces::find(find_iid_traits{ obj, iid })); } - struct inspectable_finder + template + struct has_interface_traits { + template + constexpr bool test() const noexcept + { + return std::is_same_v; + } + + template + static constexpr bool found() noexcept + { + return true; + } + + static constexpr bool not_found() noexcept + { + return false; + } + }; + + template + constexpr bool has_interface() noexcept + { + return impl::implemented_interfaces::find(has_interface_traits{}); + } + + template + struct find_inspectable_traits + { + T const* m_object; + template static constexpr bool test() noexcept { return std::is_base_of_v>; } + + template + constexpr void* found() const noexcept + { + return to_abi(m_object); + } + + static constexpr void* not_found() noexcept + { + return nullptr; + } }; template - inspectable_abi* find_inspectable(const T* obj) noexcept + inspectable_abi* find_inspectable(T const* obj) noexcept { using default_interface = typename implements_default_interface::type; @@ -6883,7 +6963,7 @@ namespace winrt::impl } else { - return static_cast(implemented_interfaces::find(obj, inspectable_finder{})); + return static_cast(implemented_interfaces::find(find_inspectable_traits{ obj })); } } @@ -6986,7 +7066,7 @@ namespace winrt::impl template struct produce : produce_base { - int32_t __stdcall QueryInterface(const guid& id, void** object) noexcept final + int32_t __stdcall QueryInterface(guid const& id, void** object) noexcept final { return this->shim().NonDelegatingQueryInterface(id, object); } @@ -7315,7 +7395,7 @@ namespace winrt::impl virtual ~root_implements() noexcept { // If a weak reference is created during destruction, this ensures that it is also destroyed. - subtract_reference(); + subtract_final_reference(); } int32_t __stdcall GetIids(uint32_t* count, guid** array) noexcept @@ -7381,10 +7461,6 @@ namespace winrt::impl if (target == 0) { - // If a weak reference was previously created, the m_references value will not be stable value (won't be zero). - // This ensures destruction has a stable value during destruction. - m_references = 1; - if constexpr (has_final_release::value) { D::final_release(std::unique_ptr(static_cast(this))); @@ -7398,7 +7474,7 @@ namespace winrt::impl return target; } - int32_t __stdcall NonDelegatingQueryInterface(const guid& id, void** object) noexcept + int32_t __stdcall NonDelegatingQueryInterface(guid const& id, void** object) noexcept { if (is_guid_of(id) || is_guid_of(id)) { @@ -7420,13 +7496,13 @@ namespace winrt::impl int32_t __stdcall NonDelegatingGetIids(uint32_t* count, guid** array) noexcept { - const auto& local_iids = static_cast(this)->get_local_iids(); - const uint32_t& local_count = local_iids.first; + auto const& local_iids = static_cast(this)->get_local_iids(); + uint32_t const& local_count = local_iids.first; if constexpr (root_implements_type::is_composing) { if (local_count > 0) { - const com_array& inner_iids = get_interfaces(root_implements_type::m_inner); + com_array const& inner_iids = get_interfaces(root_implements_type::m_inner); *count = local_count + inner_iids.size(); *array = static_cast(WINRT_IMPL_CoTaskMemAlloc(sizeof(guid)*(*count))); if (*array == nullptr) @@ -7476,7 +7552,7 @@ namespace winrt::impl } catch (...) { return to_hresult(); } - uint32_t subtract_reference() noexcept + uint32_t subtract_final_reference() noexcept { if constexpr (is_weak_ref_source::value) { @@ -7503,6 +7579,19 @@ namespace winrt::impl } } + uint32_t subtract_reference() noexcept + { + uint32_t result = subtract_final_reference(); + + if (result == 0) + { + // Ensure destruction happens with a stable reference count that isn't a weak reference. + m_references.store(1, std::memory_order_relaxed); + } + + return result; + } + template winrt::weak_ref get_weak() { @@ -7538,7 +7627,7 @@ namespace winrt::impl using is_agile = std::negation...>>; using is_inspectable = std::disjunction...>; - using is_weak_ref_source = std::conjunction...>>>; + using is_weak_ref_source = std::negation...>>; using use_module_lock = std::negation...>>; using weak_ref_t = impl::weak_ref; @@ -7600,64 +7689,71 @@ namespace winrt::impl impl::IWeakReferenceSource* make_weak_ref() noexcept { - static_assert(is_weak_ref_source::value, "This is only for weak ref support."); - uintptr_t count_or_pointer = m_references.load(std::memory_order_relaxed); - - if (is_weak_ref(count_or_pointer)) + if constexpr (is_weak_ref_source::value) { - return decode_weak_ref(count_or_pointer)->get_source(); - } - - com_ptr weak_ref; - *weak_ref.put() = new (std::nothrow) weak_ref_t(get_unknown(), static_cast(count_or_pointer)); - - if (!weak_ref) - { - return nullptr; - } - - uintptr_t const encoding = encode_weak_ref(weak_ref.get()); - - for (;;) - { - if (m_references.compare_exchange_weak(count_or_pointer, encoding, std::memory_order_acq_rel, std::memory_order_relaxed)) - { - impl::IWeakReferenceSource* result = weak_ref->get_source(); - detach_abi(weak_ref); - return result; - } + uintptr_t count_or_pointer = m_references.load(std::memory_order_relaxed); if (is_weak_ref(count_or_pointer)) { return decode_weak_ref(count_or_pointer)->get_source(); } - weak_ref->set_strong(static_cast(count_or_pointer)); + com_ptr weak_ref; + *weak_ref.put() = new (std::nothrow) weak_ref_t(get_unknown(), static_cast(count_or_pointer)); + + if (!weak_ref) + { + return nullptr; + } + + uintptr_t const encoding = encode_weak_ref(weak_ref.get()); + + for (;;) + { + if (m_references.compare_exchange_weak(count_or_pointer, encoding, std::memory_order_acq_rel, std::memory_order_relaxed)) + { + impl::IWeakReferenceSource* result = weak_ref->get_source(); + detach_abi(weak_ref); + return result; + } + + if (is_weak_ref(count_or_pointer)) + { + return decode_weak_ref(count_or_pointer)->get_source(); + } + + weak_ref->set_strong(static_cast(count_or_pointer)); + } + } + else + { + static_assert(is_weak_ref_source::value, "Weak references are not supported because no_weak_ref was specified."); + return nullptr; } } static bool is_weak_ref(intptr_t const value) noexcept { - static_assert(is_weak_ref_source::value, "This is only for weak ref support."); + static_assert(is_weak_ref_source::value, "Weak references are not supported because no_weak_ref was specified."); return value < 0; } static weak_ref_t* decode_weak_ref(uintptr_t const value) noexcept { - static_assert(is_weak_ref_source::value, "This is only for weak ref support."); + static_assert(is_weak_ref_source::value, "Weak references are not supported because no_weak_ref was specified."); return reinterpret_cast(value << 1); } static uintptr_t encode_weak_ref(weak_ref_t* value) noexcept { - static_assert(is_weak_ref_source::value, "This is only for weak ref support."); + static_assert(is_weak_ref_source::value, "Weak references are not supported because no_weak_ref was specified."); constexpr uintptr_t pointer_flag = static_cast(1) << ((sizeof(uintptr_t) * 8) - 1); WINRT_ASSERT((reinterpret_cast(value) & 1) == 0); return (reinterpret_cast(value) >> 1) | pointer_flag; } virtual unknown_abi* get_unknown() const noexcept = 0; - virtual std::pair get_local_iids() const noexcept = 0; + virtual std::pair get_local_iids() const noexcept = 0; virtual hstring GetRuntimeClassName() const = 0; virtual void* find_interface(guid const&) const noexcept = 0; virtual inspectable_abi* find_inspectable() const noexcept = 0; @@ -7686,6 +7782,29 @@ namespace winrt::impl }; #endif + template + class has_initializer + { + template ().InitializeComponent())> static constexpr bool get_value(int) { return true; } + template static constexpr bool get_value(...) { return false; } + + public: + static constexpr bool value = get_value(0); + }; + + template + T* create_and_initialize(Args&&... args) + { + com_ptr instance{ new heap_implements(std::forward(args)...), take_ownership_from_abi }; + + if constexpr (has_initializer::value) + { + instance->InitializeComponent(); + } + + return instance.detach(); + } + inline com_ptr get_static_lifetime_map() { auto const lifetime_factory = get_activation_factory(L"Windows.ApplicationModel.Core.CoreApplication"); @@ -7701,7 +7820,7 @@ namespace winrt::impl if constexpr (!has_static_lifetime_v) { - return { to_abi(new heap_implements), take_ownership_from_abi }; + return { to_abi(create_and_initialize()), take_ownership_from_abi }; } else { @@ -7715,7 +7834,7 @@ namespace winrt::impl return { result, take_ownership_from_abi }; } - result_type object{ to_abi(new heap_implements), take_ownership_from_abi }; + result_type object{ to_abi(create_and_initialize()), take_ownership_from_abi }; static slim_mutex lock; slim_lock_guard const guard{ lock }; @@ -7761,17 +7880,17 @@ WINRT_EXPORT namespace winrt } else if constexpr (impl::has_composable::value) { - impl::com_ref result{ to_abi(new impl::heap_implements(std::forward(args)...)), take_ownership_from_abi }; + impl::com_ref result{ to_abi(impl::create_and_initialize(std::forward(args)...)), take_ownership_from_abi }; return result.template as(); } else if constexpr (impl::has_class_type::value) { static_assert(std::is_same_v>); - return typename D::class_type{ to_abi(new impl::heap_implements(std::forward(args)...)), take_ownership_from_abi }; + return typename D::class_type{ to_abi(impl::create_and_initialize(std::forward(args)...)), take_ownership_from_abi }; } else { - return impl::com_ref{ to_abi(new impl::heap_implements(std::forward(args)...)), take_ownership_from_abi }; + return impl::com_ref{ to_abi(impl::create_and_initialize(std::forward(args)...)), take_ownership_from_abi }; } } @@ -7793,7 +7912,7 @@ WINRT_EXPORT namespace winrt } else { - return { new impl::heap_implements(std::forward(args)...), take_ownership_from_abi }; + return { impl::create_and_initialize(std::forward(args)...), take_ownership_from_abi }; } } @@ -7895,7 +8014,7 @@ WINRT_EXPORT namespace winrt return impl::find_inspectable(static_cast(this)); } - std::pair get_local_iids() const noexcept override + std::pair get_local_iids() const noexcept override { using interfaces = impl::uncloaked_interfaces; using local_iids = impl::uncloaked_iids; @@ -8221,7 +8340,7 @@ WINRT_EXPORT namespace winrt static time_t to_time_t(time_point const& time) noexcept { - return static_cast(std::chrono::system_clock::to_time_t(to_sys(time))); + return static_cast(std::chrono::system_clock::to_time_t(to_sys(std::chrono::time_point_cast(time)))); } static time_point from_time_t(time_t time) noexcept @@ -9367,7 +9486,7 @@ namespace std::experimental }; } -#ifdef _DEBUG +#if defined(_DEBUG) && !defined(WINRT_NATVIS) #define WINRT_NATVIS #endif diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.0.h index 252552fb..f8879a7a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.0.h @@ -1,19 +1,13 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_AI_MachineLearning_0_H #define WINRT_Windows_AI_MachineLearning_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; template struct __declspec(empty_bases) IMap; struct IPropertySet; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Graphics { @@ -966,10 +960,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_IImageFeatureDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) BitmapPixelFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) BitmapAlphaMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Width() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Height() const; + [[nodiscard]] auto BitmapPixelFormat() const; + [[nodiscard]] auto BitmapAlphaMode() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; }; template <> struct consume { @@ -978,7 +972,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_IImageFeatureValue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) VideoFrame() const; + [[nodiscard]] auto VideoFrame() const; }; template <> struct consume { @@ -987,7 +981,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_IImageFeatureValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::ImageFeatureValue) CreateFromVideoFrame(winrt::Windows::Media::VideoFrame const& image) const; + auto CreateFromVideoFrame(winrt::Windows::Media::VideoFrame const& image) const; }; template <> struct consume { @@ -996,14 +990,14 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ILearningModel { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Author() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Domain() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(int64_t) Version() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Metadata() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) InputFeatures() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) OutputFeatures() const; + [[nodiscard]] auto Author() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Domain() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Version() const; + [[nodiscard]] auto Metadata() const; + [[nodiscard]] auto InputFeatures() const; + [[nodiscard]] auto OutputFeatures() const; }; template <> struct consume { @@ -1012,9 +1006,9 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ILearningModelBinding { - WINRT_IMPL_AUTO(void) Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(void) Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::Collections::IPropertySet const& props) const; - WINRT_IMPL_AUTO(void) Clear() const; + auto Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const; + auto Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::Collections::IPropertySet const& props) const; + auto Clear() const; }; template <> struct consume { @@ -1023,7 +1017,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ILearningModelBindingFactory { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelBinding) CreateFromSession(winrt::Windows::AI::MachineLearning::LearningModelSession const& session) const; + auto CreateFromSession(winrt::Windows::AI::MachineLearning::LearningModelSession const& session) const; }; template <> struct consume { @@ -1032,8 +1026,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ILearningModelDevice { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DisplayAdapterId) AdapterId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice) Direct3D11Device() const; + [[nodiscard]] auto AdapterId() const; + [[nodiscard]] auto Direct3D11Device() const; }; template <> struct consume { @@ -1042,7 +1036,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ILearningModelDeviceFactory { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelDevice) Create(winrt::Windows::AI::MachineLearning::LearningModelDeviceKind const& deviceKind) const; + auto Create(winrt::Windows::AI::MachineLearning::LearningModelDeviceKind const& deviceKind) const; }; template <> struct consume { @@ -1051,7 +1045,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ILearningModelDeviceStatics { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelDevice) CreateFromDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const; + auto CreateFromDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const; }; template <> struct consume { @@ -1060,10 +1054,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CorrelationId() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ErrorStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Succeeded() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Outputs() const; + [[nodiscard]] auto CorrelationId() const; + [[nodiscard]] auto ErrorStatus() const; + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto Outputs() const; }; template <> struct consume { @@ -1072,10 +1066,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelFeatureKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRequired() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto IsRequired() const; }; template <> struct consume { @@ -1084,7 +1078,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ILearningModelFeatureValue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelFeatureKind) Kind() const; + [[nodiscard]] auto Kind() const; }; template <> struct consume { @@ -1101,13 +1095,13 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ILearningModelSession { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) Model() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelDevice) Device() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) EvaluationProperties() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) EvaluateAsync(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) EvaluateFeaturesAsync(param::map const& features, param::hstring const& correlationId) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult) Evaluate(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult) EvaluateFeatures(param::map const& features, param::hstring const& correlationId) const; + [[nodiscard]] auto Model() const; + [[nodiscard]] auto Device() const; + [[nodiscard]] auto EvaluationProperties() const; + auto EvaluateAsync(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const; + auto EvaluateFeaturesAsync(param::map const& features, param::hstring const& correlationId) const; + auto Evaluate(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const; + auto EvaluateFeatures(param::map const& features, param::hstring const& correlationId) const; }; template <> struct consume { @@ -1116,8 +1110,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ILearningModelSessionFactory { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelSession) CreateFromModel(winrt::Windows::AI::MachineLearning::LearningModel const& model) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelSession) CreateFromModelOnDevice(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn) const; + auto CreateFromModel(winrt::Windows::AI::MachineLearning::LearningModel const& model) const; + auto CreateFromModelOnDevice(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn) const; }; template <> struct consume { @@ -1126,7 +1120,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ILearningModelSessionFactory2 { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelSession) CreateFromModelOnDeviceWithSessionOptions(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn, winrt::Windows::AI::MachineLearning::LearningModelSessionOptions const& learningModelSessionOptions) const; + auto CreateFromModelOnDeviceWithSessionOptions(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn, winrt::Windows::AI::MachineLearning::LearningModelSessionOptions const& learningModelSessionOptions) const; }; template <> struct consume { @@ -1135,8 +1129,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ILearningModelSessionOptions { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) BatchSizeOverride() const; - WINRT_IMPL_AUTO(void) BatchSizeOverride(uint32_t value) const; + [[nodiscard]] auto BatchSizeOverride() const; + auto BatchSizeOverride(uint32_t value) const; }; template <> struct consume { @@ -1145,8 +1139,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ILearningModelSessionOptions2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CloseModelOnSessionCreation() const; - WINRT_IMPL_AUTO(void) CloseModelOnSessionCreation(bool value) const; + [[nodiscard]] auto CloseModelOnSessionCreation() const; + auto CloseModelOnSessionCreation(bool value) const; }; template <> struct consume { @@ -1155,7 +1149,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ILearningModelSessionOptions3 { - WINRT_IMPL_AUTO(void) OverrideNamedDimension(param::hstring const& name, uint32_t dimension) const; + auto OverrideNamedDimension(param::hstring const& name, uint32_t dimension) const; }; template <> struct consume { @@ -1164,14 +1158,14 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ILearningModelStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) LoadFromFilePath(param::hstring const& filePath) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) LoadFromFilePath(param::hstring const& filePath, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const; + auto LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const; + auto LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const; + auto LoadFromFilePath(param::hstring const& filePath) const; + auto LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const; + auto LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const; + auto LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const; + auto LoadFromFilePath(param::hstring const& filePath, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const; + auto LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const; }; template <> struct consume { @@ -1180,8 +1174,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_IMapFeatureDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorKind) KeyKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor) ValueDescriptor() const; + [[nodiscard]] auto KeyKind() const; + [[nodiscard]] auto ValueDescriptor() const; }; template <> struct consume { @@ -1190,7 +1184,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ISequenceFeatureDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor) ElementDescriptor() const; + [[nodiscard]] auto ElementDescriptor() const; }; template <> struct consume { @@ -1199,8 +1193,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensor { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorKind) TensorKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Shape() const; + [[nodiscard]] auto TensorKind() const; + [[nodiscard]] auto Shape() const; }; template <> struct consume { @@ -1209,7 +1203,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorBoolean { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAsVectorView() const; + auto GetAsVectorView() const; }; template <> struct consume { @@ -1218,10 +1212,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorBooleanStatics { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) Create() const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) Create(param::iterable const& shape) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) CreateFromArray(param::iterable const& shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; + auto Create() const; + auto Create(param::iterable const& shape) const; + auto CreateFromArray(param::iterable const& shape, array_view data) const; + auto CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; }; template <> struct consume { @@ -1230,8 +1224,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorBooleanStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; + auto CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; }; template <> struct consume { @@ -1240,7 +1234,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorDouble { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAsVectorView() const; + auto GetAsVectorView() const; }; template <> struct consume { @@ -1249,10 +1243,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorDoubleStatics { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) Create() const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) Create(param::iterable const& shape) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) CreateFromArray(param::iterable const& shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; + auto Create() const; + auto Create(param::iterable const& shape) const; + auto CreateFromArray(param::iterable const& shape, array_view data) const; + auto CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; }; template <> struct consume { @@ -1261,8 +1255,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorDoubleStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; + auto CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; }; template <> struct consume { @@ -1271,8 +1265,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorFeatureDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorKind) TensorKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Shape() const; + [[nodiscard]] auto TensorKind() const; + [[nodiscard]] auto Shape() const; }; template <> struct consume { @@ -1281,7 +1275,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorFloat { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAsVectorView() const; + auto GetAsVectorView() const; }; template <> struct consume { @@ -1290,7 +1284,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorFloat16Bit { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAsVectorView() const; + auto GetAsVectorView() const; }; template <> struct consume { @@ -1299,10 +1293,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) Create() const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) Create(param::iterable const& shape) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) CreateFromArray(param::iterable const& shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; + auto Create() const; + auto Create(param::iterable const& shape) const; + auto CreateFromArray(param::iterable const& shape, array_view data) const; + auto CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; }; template <> struct consume { @@ -1311,8 +1305,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; + auto CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; }; template <> struct consume { @@ -1321,10 +1315,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorFloatStatics { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) Create() const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) Create(param::iterable const& shape) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) CreateFromArray(param::iterable const& shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; + auto Create() const; + auto Create(param::iterable const& shape) const; + auto CreateFromArray(param::iterable const& shape, array_view data) const; + auto CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; }; template <> struct consume { @@ -1333,8 +1327,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorFloatStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; + auto CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; }; template <> struct consume { @@ -1343,7 +1337,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorInt16Bit { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAsVectorView() const; + auto GetAsVectorView() const; }; template <> struct consume { @@ -1352,10 +1346,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorInt16BitStatics { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) Create() const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) Create(param::iterable const& shape) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) CreateFromArray(param::iterable const& shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; + auto Create() const; + auto Create(param::iterable const& shape) const; + auto CreateFromArray(param::iterable const& shape, array_view data) const; + auto CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; }; template <> struct consume { @@ -1364,8 +1358,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorInt16BitStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; + auto CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; }; template <> struct consume { @@ -1374,7 +1368,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorInt32Bit { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAsVectorView() const; + auto GetAsVectorView() const; }; template <> struct consume { @@ -1383,10 +1377,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorInt32BitStatics { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) Create() const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) Create(param::iterable const& shape) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) CreateFromArray(param::iterable const& shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; + auto Create() const; + auto Create(param::iterable const& shape) const; + auto CreateFromArray(param::iterable const& shape, array_view data) const; + auto CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; }; template <> struct consume { @@ -1395,8 +1389,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorInt32BitStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; + auto CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; }; template <> struct consume { @@ -1405,7 +1399,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorInt64Bit { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAsVectorView() const; + auto GetAsVectorView() const; }; template <> struct consume { @@ -1414,10 +1408,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorInt64BitStatics { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) Create() const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) Create(param::iterable const& shape) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) CreateFromArray(param::iterable const& shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; + auto Create() const; + auto Create(param::iterable const& shape) const; + auto CreateFromArray(param::iterable const& shape, array_view data) const; + auto CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; }; template <> struct consume { @@ -1426,8 +1420,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorInt64BitStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; + auto CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; }; template <> struct consume { @@ -1436,7 +1430,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorInt8Bit { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAsVectorView() const; + auto GetAsVectorView() const; }; template <> struct consume { @@ -1445,10 +1439,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorInt8BitStatics { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) Create() const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) Create(param::iterable const& shape) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) CreateFromArray(param::iterable const& shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; + auto Create() const; + auto Create(param::iterable const& shape) const; + auto CreateFromArray(param::iterable const& shape, array_view data) const; + auto CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; }; template <> struct consume { @@ -1457,8 +1451,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorInt8BitStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; + auto CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; }; template <> struct consume { @@ -1467,7 +1461,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorString { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAsVectorView() const; + auto GetAsVectorView() const; }; template <> struct consume { @@ -1476,10 +1470,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorStringStatics { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) Create() const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) Create(param::iterable const& shape) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) CreateFromArray(param::iterable const& shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; + auto Create() const; + auto Create(param::iterable const& shape) const; + auto CreateFromArray(param::iterable const& shape, array_view data) const; + auto CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; }; template <> struct consume { @@ -1488,7 +1482,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorStringStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; + auto CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; }; template <> struct consume { @@ -1497,7 +1491,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorUInt16Bit { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAsVectorView() const; + auto GetAsVectorView() const; }; template <> struct consume { @@ -1506,10 +1500,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) Create() const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) Create(param::iterable const& shape) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) CreateFromArray(param::iterable const& shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; + auto Create() const; + auto Create(param::iterable const& shape) const; + auto CreateFromArray(param::iterable const& shape, array_view data) const; + auto CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; }; template <> struct consume { @@ -1518,8 +1512,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; + auto CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; }; template <> struct consume { @@ -1528,7 +1522,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorUInt32Bit { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAsVectorView() const; + auto GetAsVectorView() const; }; template <> struct consume { @@ -1537,10 +1531,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) Create() const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) Create(param::iterable const& shape) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) CreateFromArray(param::iterable const& shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; + auto Create() const; + auto Create(param::iterable const& shape) const; + auto CreateFromArray(param::iterable const& shape, array_view data) const; + auto CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; }; template <> struct consume { @@ -1549,8 +1543,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; + auto CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; }; template <> struct consume { @@ -1559,7 +1553,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorUInt64Bit { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAsVectorView() const; + auto GetAsVectorView() const; }; template <> struct consume { @@ -1568,10 +1562,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) Create() const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) Create(param::iterable const& shape) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) CreateFromArray(param::iterable const& shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; + auto Create() const; + auto Create(param::iterable const& shape) const; + auto CreateFromArray(param::iterable const& shape, array_view data) const; + auto CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; }; template <> struct consume { @@ -1580,8 +1574,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; + auto CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; }; template <> struct consume { @@ -1590,7 +1584,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorUInt8Bit { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAsVectorView() const; + auto GetAsVectorView() const; }; template <> struct consume { @@ -1599,10 +1593,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) Create() const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) Create(param::iterable const& shape) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) CreateFromArray(param::iterable const& shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; + auto Create() const; + auto Create(param::iterable const& shape) const; + auto CreateFromArray(param::iterable const& shape, array_view data) const; + auto CreateFromIterable(param::iterable const& shape, param::iterable const& data) const; }; template <> struct consume { @@ -1611,8 +1605,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CreateFromShapeArrayAndDataArray(array_view shape, array_view data) const; + auto CreateFromBuffer(array_view shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.1.h index b867ed53..6625446d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_AI_MachineLearning_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.2.h index 859f8baf..d1e0c635 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_AI_MachineLearning_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.0.h index 0d5b97b0..67f8487f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.0.h @@ -1,16 +1,10 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_AI_MachineLearning_Preview_0_H #define WINRT_Windows_AI_MachineLearning_Preview_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { - template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; template struct __declspec(empty_bases) IMap; struct IPropertySet; } @@ -281,9 +275,9 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_Preview_IImageVariableDescriptorPreview { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) BitmapPixelFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Width() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Height() const; + [[nodiscard]] auto BitmapPixelFormat() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; }; template <> struct consume { @@ -292,16 +286,16 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::LearningModelDeviceKindPreview) PreferredDeviceKind() const; - WINRT_IMPL_AUTO(void) PreferredDeviceKind(winrt::Windows::AI::MachineLearning::Preview::LearningModelDeviceKindPreview const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTracingEnabled() const; - WINRT_IMPL_AUTO(void) IsTracingEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxBatchSize() const; - WINRT_IMPL_AUTO(void) MaxBatchSize(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) MinimizeMemoryAllocation() const; - WINRT_IMPL_AUTO(void) MinimizeMemoryAllocation(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ReclaimMemoryAfterEvaluation() const; - WINRT_IMPL_AUTO(void) ReclaimMemoryAfterEvaluation(bool value) const; + [[nodiscard]] auto PreferredDeviceKind() const; + auto PreferredDeviceKind(winrt::Windows::AI::MachineLearning::Preview::LearningModelDeviceKindPreview const& value) const; + [[nodiscard]] auto IsTracingEnabled() const; + auto IsTracingEnabled(bool value) const; + [[nodiscard]] auto MaxBatchSize() const; + auto MaxBatchSize(int32_t value) const; + [[nodiscard]] auto MinimizeMemoryAllocation() const; + auto MinimizeMemoryAllocation(bool value) const; + [[nodiscard]] auto ReclaimMemoryAfterEvaluation() const; + auto ReclaimMemoryAfterEvaluation(bool value) const; }; template <> struct consume { @@ -310,9 +304,9 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreview { - WINRT_IMPL_AUTO(void) Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(void) Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::Collections::IPropertySet const& metadata) const; - WINRT_IMPL_AUTO(void) Clear() const; + auto Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const; + auto Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::Collections::IPropertySet const& metadata) const; + auto Clear() const; }; template <> struct consume { @@ -321,7 +315,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreviewFactory { - WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::LearningModelBindingPreview) CreateFromModel(winrt::Windows::AI::MachineLearning::Preview::LearningModelPreview const& model) const; + auto CreateFromModel(winrt::Windows::AI::MachineLearning::Preview::LearningModelPreview const& model) const; }; template <> struct consume { @@ -330,14 +324,14 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Author() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Domain() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(int64_t) Version() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Metadata() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) InputFeatures() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) OutputFeatures() const; + [[nodiscard]] auto Author() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Domain() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Version() const; + [[nodiscard]] auto Metadata() const; + [[nodiscard]] auto InputFeatures() const; + [[nodiscard]] auto OutputFeatures() const; }; template <> struct consume { @@ -346,8 +340,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_Preview_ILearningModelEvaluationResultPreview { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CorrelationId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Outputs() const; + [[nodiscard]] auto CorrelationId() const; + [[nodiscard]] auto Outputs() const; }; template <> struct consume { @@ -356,11 +350,11 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) EvaluateAsync(winrt::Windows::AI::MachineLearning::Preview::LearningModelBindingPreview const& binding, param::hstring const& correlationId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) EvaluateFeaturesAsync(param::map const& features, param::hstring const& correlationId) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::LearningModelDescriptionPreview) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::InferencingOptionsPreview) InferencingOptions() const; - WINRT_IMPL_AUTO(void) InferencingOptions(winrt::Windows::AI::MachineLearning::Preview::InferencingOptionsPreview const& value) const; + auto EvaluateAsync(winrt::Windows::AI::MachineLearning::Preview::LearningModelBindingPreview const& binding, param::hstring const& correlationId) const; + auto EvaluateFeaturesAsync(param::map const& features, param::hstring const& correlationId) const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto InferencingOptions() const; + auto InferencingOptions(winrt::Windows::AI::MachineLearning::Preview::InferencingOptionsPreview const& value) const; }; template <> struct consume { @@ -369,8 +363,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_Preview_ILearningModelPreviewStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadModelFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadModelFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const; + auto LoadModelFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const; + auto LoadModelFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const; }; template <> struct consume { @@ -379,10 +373,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::LearningModelFeatureKindPreview) ModelFeatureKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRequired() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto ModelFeatureKind() const; + [[nodiscard]] auto IsRequired() const; }; template <> struct consume { @@ -391,10 +385,10 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::FeatureElementKindPreview) KeyKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) ValidStringKeys() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) ValidIntegerKeys() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview) Fields() const; + [[nodiscard]] auto KeyKind() const; + [[nodiscard]] auto ValidStringKeys() const; + [[nodiscard]] auto ValidIntegerKeys() const; + [[nodiscard]] auto Fields() const; }; template <> struct consume { @@ -403,7 +397,7 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_Preview_ISequenceVariableDescriptorPreview { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview) ElementType() const; + [[nodiscard]] auto ElementType() const; }; template <> struct consume { @@ -412,8 +406,8 @@ namespace winrt::impl template struct consume_Windows_AI_MachineLearning_Preview_ITensorVariableDescriptorPreview { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::FeatureElementKindPreview) DataType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) Shape() const; + [[nodiscard]] auto DataType() const; + [[nodiscard]] auto Shape() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.1.h index 4894c0fa..41a95374 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_AI_MachineLearning_Preview_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.2.h index 3b272575..f9b63fc7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_AI_MachineLearning_Preview_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.0.h index 06167009..064238ff 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_0_H @@ -7,19 +7,12 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Activation { struct IActivatedEventArgs; } -WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core -{ - struct AppListEntry; -} WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; struct HResult; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; struct Size; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; @@ -27,8 +20,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Storage { @@ -954,9 +945,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IAppDisplayInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) GetLogo(winrt::Windows::Foundation::Size const& size) const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Description() const; + auto GetLogo(winrt::Windows::Foundation::Size const& size) const; }; template <> struct consume { @@ -965,10 +956,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IAppInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppUserModelId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppDisplayInfo) DisplayInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PackageFamilyName() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto AppUserModelId() const; + [[nodiscard]] auto DisplayInfo() const; + [[nodiscard]] auto PackageFamilyName() const; }; template <> struct consume { @@ -977,7 +968,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IAppInfo2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; + [[nodiscard]] auto Package() const; }; template <> struct consume { @@ -986,7 +977,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IAppInfo3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppExecutionContext) ExecutionContext() const; + [[nodiscard]] auto ExecutionContext() const; }; template <> struct consume { @@ -995,7 +986,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IAppInfo4 { - [[nodiscard]] WINRT_IMPL_AUTO(com_array) SupportedFileExtensions() const; + [[nodiscard]] auto SupportedFileExtensions() const; }; template <> struct consume { @@ -1004,9 +995,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IAppInfoStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) Current() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) GetFromAppUserModelId(param::hstring const& appUserModelId) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) GetFromAppUserModelIdForUser(winrt::Windows::System::User const& user, param::hstring const& appUserModelId) const; + [[nodiscard]] auto Current() const; + auto GetFromAppUserModelId(param::hstring const& appUserModelId) const; + auto GetFromAppUserModelIdForUser(winrt::Windows::System::User const& user, param::hstring const& appUserModelId) const; }; template <> struct consume { @@ -1015,7 +1006,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IAppInstallerInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; + [[nodiscard]] auto Uri() const; }; template <> struct consume { @@ -1024,9 +1015,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IAppInstance { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Key() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCurrentInstance() const; - WINRT_IMPL_AUTO(void) RedirectActivationTo() const; + [[nodiscard]] auto Key() const; + [[nodiscard]] auto IsCurrentInstance() const; + auto RedirectActivationTo() const; }; template <> struct consume { @@ -1035,11 +1026,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IAppInstanceStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInstance) RecommendedInstance() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs) GetActivatedEventArgs() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInstance) FindOrRegisterInstanceForKey(param::hstring const& key) const; - WINRT_IMPL_AUTO(void) Unregister() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetInstances() const; + [[nodiscard]] auto RecommendedInstance() const; + auto GetActivatedEventArgs() const; + auto FindOrRegisterInstanceForKey(param::hstring const& key) const; + auto Unregister() const; + auto GetInstances() const; }; template <> struct consume { @@ -1048,7 +1039,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ICameraApplicationManagerStatics { - WINRT_IMPL_AUTO(void) ShowInstalledApplicationsUI() const; + auto ShowInstalledApplicationsUI() const; }; template <> struct consume { @@ -1057,7 +1048,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IDesignModeStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) DesignModeEnabled() const; + [[nodiscard]] auto DesignModeEnabled() const; }; template <> struct consume { @@ -1066,7 +1057,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IDesignModeStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) DesignMode2Enabled() const; + [[nodiscard]] auto DesignMode2Enabled() const; }; template <> struct consume { @@ -1075,7 +1066,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IEnteredBackgroundEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1084,10 +1075,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) LaunchFullTrustProcessForCurrentAppAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) LaunchFullTrustProcessForCurrentAppAsync(param::hstring const& parameterGroupId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) LaunchFullTrustProcessForAppAsync(param::hstring const& fullTrustPackageRelativeAppId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) LaunchFullTrustProcessForAppAsync(param::hstring const& fullTrustPackageRelativeAppId, param::hstring const& parameterGroupId) const; + auto LaunchFullTrustProcessForCurrentAppAsync() const; + auto LaunchFullTrustProcessForCurrentAppAsync(param::hstring const& parameterGroupId) const; + auto LaunchFullTrustProcessForAppAsync(param::hstring const& fullTrustPackageRelativeAppId) const; + auto LaunchFullTrustProcessForAppAsync(param::hstring const& fullTrustPackageRelativeAppId, param::hstring const& parameterGroupId) const; }; template <> struct consume { @@ -1096,7 +1087,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ILeavingBackgroundEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1105,9 +1096,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ILimitedAccessFeatureRequestResult { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FeatureId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::LimitedAccessFeatureStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) EstimatedRemovalDate() const; + [[nodiscard]] auto FeatureId() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto EstimatedRemovalDate() const; }; template <> struct consume { @@ -1116,7 +1107,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ILimitedAccessFeaturesStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::LimitedAccessFeatureRequestResult) TryUnlockFeature(param::hstring const& featureId, param::hstring const& token, param::hstring const& attestation) const; + auto TryUnlockFeature(param::hstring const& featureId, param::hstring const& token, param::hstring const& attestation) const; }; template <> struct consume { @@ -1125,10 +1116,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackage { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageId) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) InstalledLocation() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFramework() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Dependencies() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto InstalledLocation() const; + [[nodiscard]] auto IsFramework() const; + [[nodiscard]] auto Dependencies() const; }; template <> struct consume { @@ -1137,13 +1128,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackage2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PublisherDisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Logo() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsResourcePackage() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBundle() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDevelopmentMode() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto PublisherDisplayName() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Logo() const; + [[nodiscard]] auto IsResourcePackage() const; + [[nodiscard]] auto IsBundle() const; + [[nodiscard]] auto IsDevelopmentMode() const; }; template <> struct consume { @@ -1152,9 +1143,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackage3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) InstalledDate() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetAppListEntriesAsync() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto InstalledDate() const; + auto GetAppListEntriesAsync() const; }; template <> struct consume { @@ -1163,9 +1154,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackage4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageSignatureKind) SignatureKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOptional() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) VerifyContentIntegrityAsync() const; + [[nodiscard]] auto SignatureKind() const; + [[nodiscard]] auto IsOptional() const; + auto VerifyContentIntegrityAsync() const; }; template <> struct consume { @@ -1174,11 +1165,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackage5 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetContentGroupsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetContentGroupAsync(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) StageContentGroupsAsync(param::async_iterable const& names) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) StageContentGroupsAsync(param::async_iterable const& names, bool moveToHeadOfQueue) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetInUseAsync(bool inUse) const; + auto GetContentGroupsAsync() const; + auto GetContentGroupAsync(param::hstring const& name) const; + auto StageContentGroupsAsync(param::async_iterable const& names) const; + auto StageContentGroupsAsync(param::async_iterable const& names, bool moveToHeadOfQueue) const; + auto SetInUseAsync(bool inUse) const; }; template <> struct consume { @@ -1187,8 +1178,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackage6 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInstallerInfo) GetAppInstallerInfo() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CheckUpdateAvailabilityAsync() const; + auto GetAppInstallerInfo() const; + auto CheckUpdateAvailabilityAsync() const; }; template <> struct consume { @@ -1197,8 +1188,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackage7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) MutableLocation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) EffectiveLocation() const; + [[nodiscard]] auto MutableLocation() const; + [[nodiscard]] auto EffectiveLocation() const; }; template <> struct consume { @@ -1207,18 +1198,18 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackage8 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) EffectiveExternalLocation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) MachineExternalLocation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) UserExternalLocation() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) InstalledPath() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MutablePath() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EffectivePath() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EffectiveExternalPath() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MachineExternalPath() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserExternalPath() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) GetLogoAsRandomAccessStreamReference(winrt::Windows::Foundation::Size const& size) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAppListEntries() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStub() const; + [[nodiscard]] auto EffectiveExternalLocation() const; + [[nodiscard]] auto MachineExternalLocation() const; + [[nodiscard]] auto UserExternalLocation() const; + [[nodiscard]] auto InstalledPath() const; + [[nodiscard]] auto MutablePath() const; + [[nodiscard]] auto EffectivePath() const; + [[nodiscard]] auto EffectiveExternalPath() const; + [[nodiscard]] auto MachineExternalPath() const; + [[nodiscard]] auto UserExternalPath() const; + auto GetLogoAsRandomAccessStreamReference(winrt::Windows::Foundation::Size const& size) const; + auto GetAppListEntries() const; + [[nodiscard]] auto IsStub() const; }; template <> struct consume { @@ -1227,26 +1218,26 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageCatalog { - WINRT_IMPL_AUTO(winrt::event_token) PackageStaging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageStaging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PackageStaging_revoker = impl::event_revoker::remove_PackageStaging>; - [[nodiscard]] PackageStaging_revoker PackageStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PackageStaging(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PackageInstalling(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PackageStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageStaging(winrt::event_token const& token) const noexcept; + auto PackageInstalling(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PackageInstalling_revoker = impl::event_revoker::remove_PackageInstalling>; - [[nodiscard]] PackageInstalling_revoker PackageInstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PackageInstalling(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PackageUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PackageInstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageInstalling(winrt::event_token const& token) const noexcept; + auto PackageUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PackageUpdating_revoker = impl::event_revoker::remove_PackageUpdating>; - [[nodiscard]] PackageUpdating_revoker PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PackageUpdating(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageUpdating(winrt::event_token const& token) const noexcept; + auto PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PackageUninstalling_revoker = impl::event_revoker::remove_PackageUninstalling>; - [[nodiscard]] PackageUninstalling_revoker PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PackageUninstalling(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageUninstalling(winrt::event_token const& token) const noexcept; + auto PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PackageStatusChanged_revoker = impl::event_revoker::remove_PackageStatusChanged>; - [[nodiscard]] PackageStatusChanged_revoker PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PackageStatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageStatusChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1255,11 +1246,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageCatalog2 { - WINRT_IMPL_AUTO(winrt::event_token) PackageContentGroupStaging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageContentGroupStaging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PackageContentGroupStaging_revoker = impl::event_revoker::remove_PackageContentGroupStaging>; - [[nodiscard]] PackageContentGroupStaging_revoker PackageContentGroupStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PackageContentGroupStaging(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AddOptionalPackageAsync(param::hstring const& optionalPackageFamilyName) const; + [[nodiscard]] auto PackageContentGroupStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageContentGroupStaging(winrt::event_token const& token) const noexcept; + auto AddOptionalPackageAsync(param::hstring const& optionalPackageFamilyName) const; }; template <> struct consume { @@ -1268,7 +1259,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageCatalog3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RemoveOptionalPackagesAsync(param::async_iterable const& optionalPackageFamilyNames) const; + auto RemoveOptionalPackagesAsync(param::async_iterable const& optionalPackageFamilyNames) const; }; template <> struct consume { @@ -1277,8 +1268,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageCatalog4 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) AddResourcePackageAsync(param::hstring const& resourcePackageFamilyName, param::hstring const& resourceID, winrt::Windows::ApplicationModel::AddResourcePackageOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RemoveResourcePackagesAsync(param::async_iterable const& resourcePackages) const; + auto AddResourcePackageAsync(param::hstring const& resourcePackageFamilyName, param::hstring const& resourceID, winrt::Windows::ApplicationModel::AddResourcePackageOptions const& options) const; + auto RemoveResourcePackagesAsync(param::async_iterable const& resourcePackages) const; }; template <> struct consume { @@ -1287,8 +1278,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageCatalogAddOptionalPackageResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto Package() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1297,9 +1288,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageCatalogAddResourcePackageResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsComplete() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto Package() const; + [[nodiscard]] auto IsComplete() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1308,8 +1299,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageCatalogRemoveOptionalPackagesResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PackagesRemoved() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto PackagesRemoved() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1318,8 +1309,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageCatalogRemoveResourcePackagesResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PackagesRemoved() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto PackagesRemoved() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1328,8 +1319,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageCatalogStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageCatalog) OpenForCurrentPackage() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageCatalog) OpenForCurrentUser() const; + auto OpenForCurrentPackage() const; + auto OpenForCurrentUser() const; }; template <> struct consume { @@ -1338,10 +1329,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageContentGroup { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageContentGroupState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRequired() const; + [[nodiscard]] auto Package() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto IsRequired() const; }; template <> struct consume { @@ -1350,13 +1341,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ActivityId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Progress() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsComplete() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ErrorCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentGroupName() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsContentGroupRequired() const; + [[nodiscard]] auto ActivityId() const; + [[nodiscard]] auto Package() const; + [[nodiscard]] auto Progress() const; + [[nodiscard]] auto IsComplete() const; + [[nodiscard]] auto ErrorCode() const; + [[nodiscard]] auto ContentGroupName() const; + [[nodiscard]] auto IsContentGroupRequired() const; }; template <> struct consume { @@ -1365,7 +1356,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageContentGroupStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RequiredGroupName() const; + [[nodiscard]] auto RequiredGroupName() const; }; template <> struct consume { @@ -1374,14 +1365,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageId { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageVersion) Version() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::ProcessorArchitecture) Architecture() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResourceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Publisher() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PublisherId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FullName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FamilyName() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Version() const; + [[nodiscard]] auto Architecture() const; + [[nodiscard]] auto ResourceId() const; + [[nodiscard]] auto Publisher() const; + [[nodiscard]] auto PublisherId() const; + [[nodiscard]] auto FullName() const; + [[nodiscard]] auto FamilyName() const; }; template <> struct consume { @@ -1390,8 +1381,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageIdWithMetadata { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProductId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Author() const; + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto Author() const; }; template <> struct consume { @@ -1400,11 +1391,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageInstallingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ActivityId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Progress() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsComplete() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ErrorCode() const; + [[nodiscard]] auto ActivityId() const; + [[nodiscard]] auto Package() const; + [[nodiscard]] auto Progress() const; + [[nodiscard]] auto IsComplete() const; + [[nodiscard]] auto ErrorCode() const; }; template <> struct consume { @@ -1413,11 +1404,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageStagingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ActivityId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Progress() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsComplete() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ErrorCode() const; + [[nodiscard]] auto ActivityId() const; + [[nodiscard]] auto Package() const; + [[nodiscard]] auto Progress() const; + [[nodiscard]] auto IsComplete() const; + [[nodiscard]] auto ErrorCode() const; }; template <> struct consume { @@ -1426,7 +1417,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Current() const; + [[nodiscard]] auto Current() const; }; template <> struct consume { @@ -1435,18 +1426,18 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageStatus { - WINRT_IMPL_AUTO(bool) VerifyIsOK() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) NotAvailable() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PackageOffline() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DataOffline() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Disabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) NeedsRemediation() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) LicenseIssue() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Modified() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Tampered() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DependencyIssue() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Servicing() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DeploymentInProgress() const; + auto VerifyIsOK() const; + [[nodiscard]] auto NotAvailable() const; + [[nodiscard]] auto PackageOffline() const; + [[nodiscard]] auto DataOffline() const; + [[nodiscard]] auto Disabled() const; + [[nodiscard]] auto NeedsRemediation() const; + [[nodiscard]] auto LicenseIssue() const; + [[nodiscard]] auto Modified() const; + [[nodiscard]] auto Tampered() const; + [[nodiscard]] auto DependencyIssue() const; + [[nodiscard]] auto Servicing() const; + [[nodiscard]] auto DeploymentInProgress() const; }; template <> struct consume { @@ -1455,7 +1446,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageStatus2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPartiallyStaged() const; + [[nodiscard]] auto IsPartiallyStaged() const; }; template <> struct consume { @@ -1464,7 +1455,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageStatusChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; + [[nodiscard]] auto Package() const; }; template <> struct consume { @@ -1473,11 +1464,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageUninstallingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ActivityId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Progress() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsComplete() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ErrorCode() const; + [[nodiscard]] auto ActivityId() const; + [[nodiscard]] auto Package() const; + [[nodiscard]] auto Progress() const; + [[nodiscard]] auto IsComplete() const; + [[nodiscard]] auto ErrorCode() const; }; template <> struct consume { @@ -1486,8 +1477,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageUpdateAvailabilityResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageUpdateAvailability) Availability() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto Availability() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1496,12 +1487,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageUpdatingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ActivityId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) SourcePackage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) TargetPackage() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Progress() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsComplete() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ErrorCode() const; + [[nodiscard]] auto ActivityId() const; + [[nodiscard]] auto SourcePackage() const; + [[nodiscard]] auto TargetPackage() const; + [[nodiscard]] auto Progress() const; + [[nodiscard]] auto IsComplete() const; + [[nodiscard]] auto ErrorCode() const; }; template <> struct consume { @@ -1510,9 +1501,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IPackageWithMetadata { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) InstallDate() const; - WINRT_IMPL_AUTO(hstring) GetThumbnailToken() const; - WINRT_IMPL_AUTO(void) Launch(param::hstring const& parameters) const; + [[nodiscard]] auto InstallDate() const; + auto GetThumbnailToken() const; + auto Launch(param::hstring const& parameters) const; }; template <> struct consume { @@ -1521,10 +1512,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IStartupTask { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestEnableAsync() const; - WINRT_IMPL_AUTO(void) Disable() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::StartupTaskState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TaskId() const; + auto RequestEnableAsync() const; + auto Disable() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto TaskId() const; }; template <> struct consume { @@ -1533,8 +1524,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_IStartupTaskStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetForCurrentPackageAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAsync(param::hstring const& taskId) const; + auto GetForCurrentPackageAsync() const; + auto GetAsync(param::hstring const& taskId) const; }; template <> struct consume { @@ -1543,7 +1534,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ISuspendingDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -1552,7 +1543,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ISuspendingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SuspendingOperation) SuspendingOperation() const; + [[nodiscard]] auto SuspendingOperation() const; }; template <> struct consume { @@ -1561,8 +1552,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ISuspendingOperation { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SuspendingDeferral) GetDeferral() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Deadline() const; + auto GetDeferral() const; + [[nodiscard]] auto Deadline() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.1.h index 897f809d..955cbc29 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.2.h index 0e04d1ea..c9af412b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.0.h index 5b131731..8b261d18 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Activation_0_H @@ -56,14 +56,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; - template struct __declspec(empty_bases) IReference; struct Rect; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { - template struct __declspec(empty_bases) IVectorView; struct ValueSet; } WINRT_EXPORT namespace winrt::Windows::Media::SpeechRecognition @@ -80,7 +78,6 @@ WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Web::Provider } WINRT_EXPORT namespace winrt::Windows::Storage { - struct IStorageItem; struct StorageFile; struct StorageFolder; } @@ -102,10 +99,6 @@ WINRT_EXPORT namespace winrt::Windows::System struct ProtocolForResultsOperation; struct User; } -WINRT_EXPORT namespace winrt::Windows::UI::Notifications -{ - struct ShownTileNotification; -} WINRT_EXPORT namespace winrt::Windows::UI::ViewManagement { struct ActivationViewSwitcher; @@ -1089,9 +1082,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::ActivationKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::ApplicationExecutionState) PreviousExecutionState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::SplashScreen) SplashScreen() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto PreviousExecutionState() const; + [[nodiscard]] auto SplashScreen() const; }; template <> struct consume { @@ -1100,7 +1093,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IActivatedEventArgsWithUser { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -1109,7 +1102,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IApplicationViewActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CurrentlyShownApplicationViewId() const; + [[nodiscard]] auto CurrentlyShownApplicationViewId() const; }; template <> struct consume { @@ -1118,7 +1111,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IAppointmentsProviderActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Verb() const; + [[nodiscard]] auto Verb() const; }; template <> struct consume { @@ -1127,7 +1120,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IAppointmentsProviderAddAppointmentActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::AddAppointmentOperation) AddAppointmentOperation() const; + [[nodiscard]] auto AddAppointmentOperation() const; }; template <> struct consume { @@ -1136,7 +1129,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IAppointmentsProviderRemoveAppointmentActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::RemoveAppointmentOperation) RemoveAppointmentOperation() const; + [[nodiscard]] auto RemoveAppointmentOperation() const; }; template <> struct consume { @@ -1145,7 +1138,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IAppointmentsProviderReplaceAppointmentActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation) ReplaceAppointmentOperation() const; + [[nodiscard]] auto ReplaceAppointmentOperation() const; }; template <> struct consume { @@ -1154,9 +1147,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InstanceStartDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LocalId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RoamingId() const; + [[nodiscard]] auto InstanceStartDate() const; + [[nodiscard]] auto LocalId() const; + [[nodiscard]] auto RoamingId() const; }; template <> struct consume { @@ -1165,8 +1158,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowTimeFrameActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) TimeToShow() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; + [[nodiscard]] auto TimeToShow() const; + [[nodiscard]] auto Duration() const; }; template <> struct consume { @@ -1175,7 +1168,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IBackgroundActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance) TaskInstance() const; + [[nodiscard]] auto TaskInstance() const; }; template <> struct consume { @@ -1184,7 +1177,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IBarcodeScannerPreviewActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ConnectionId() const; + [[nodiscard]] auto ConnectionId() const; }; template <> struct consume { @@ -1193,7 +1186,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_ICachedFileUpdaterActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::CachedFileUpdaterUI) CachedFileUpdaterUI() const; + [[nodiscard]] auto CachedFileUpdaterUI() const; }; template <> struct consume { @@ -1202,8 +1195,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_ICameraSettingsActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) VideoDeviceController() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) VideoDeviceExtension() const; + [[nodiscard]] auto VideoDeviceController() const; + [[nodiscard]] auto VideoDeviceExtension() const; }; template <> struct consume { @@ -1212,7 +1205,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_ICommandLineActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::CommandLineActivationOperation) Operation() const; + [[nodiscard]] auto Operation() const; }; template <> struct consume { @@ -1221,11 +1214,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Arguments() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CurrentDirectoryPath() const; - WINRT_IMPL_AUTO(void) ExitCode(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ExitCode() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Arguments() const; + [[nodiscard]] auto CurrentDirectoryPath() const; + auto ExitCode(int32_t value) const; + [[nodiscard]] auto ExitCode() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1234,7 +1227,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IContactActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Verb() const; + [[nodiscard]] auto Verb() const; }; template <> struct consume { @@ -1243,9 +1236,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IContactCallActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceUserId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) Contact() const; + [[nodiscard]] auto ServiceId() const; + [[nodiscard]] auto ServiceUserId() const; + [[nodiscard]] auto Contact() const; }; template <> struct consume { @@ -1254,8 +1247,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IContactMapActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactAddress) Address() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) Contact() const; + [[nodiscard]] auto Address() const; + [[nodiscard]] auto Contact() const; }; template <> struct consume { @@ -1264,9 +1257,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IContactMessageActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceUserId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) Contact() const; + [[nodiscard]] auto ServiceId() const; + [[nodiscard]] auto ServiceUserId() const; + [[nodiscard]] auto Contact() const; }; template <> struct consume { @@ -1275,8 +1268,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IContactPanelActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactPanel) ContactPanel() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) Contact() const; + [[nodiscard]] auto ContactPanel() const; + [[nodiscard]] auto Contact() const; }; template <> struct consume { @@ -1285,7 +1278,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IContactPickerActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Provider::ContactPickerUI) ContactPickerUI() const; + [[nodiscard]] auto ContactPickerUI() const; }; template <> struct consume { @@ -1294,9 +1287,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IContactPostActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceUserId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) Contact() const; + [[nodiscard]] auto ServiceId() const; + [[nodiscard]] auto ServiceUserId() const; + [[nodiscard]] auto Contact() const; }; template <> struct consume { @@ -1305,9 +1298,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IContactVideoCallActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceUserId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) Contact() const; + [[nodiscard]] auto ServiceId() const; + [[nodiscard]] auto ServiceUserId() const; + [[nodiscard]] auto Contact() const; }; template <> struct consume { @@ -1316,7 +1309,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IContactsProviderActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Verb() const; + [[nodiscard]] auto Verb() const; }; template <> struct consume { @@ -1325,7 +1318,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IContinuationActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) ContinuationData() const; + [[nodiscard]] auto ContinuationData() const; }; template <> struct consume { @@ -1334,8 +1327,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IDeviceActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceInformationId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Verb() const; + [[nodiscard]] auto DeviceInformationId() const; + [[nodiscard]] auto Verb() const; }; template <> struct consume { @@ -1344,7 +1337,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IDevicePairingActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) DeviceInformation() const; + [[nodiscard]] auto DeviceInformation() const; }; template <> struct consume { @@ -1353,7 +1346,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IDialReceiverActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppName() const; + [[nodiscard]] auto AppName() const; }; template <> struct consume { @@ -1362,8 +1355,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Files() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Verb() const; + [[nodiscard]] auto Files() const; + [[nodiscard]] auto Verb() const; }; template <> struct consume { @@ -1372,7 +1365,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgsWithCallerPackageFamilyName { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CallerPackageFamilyName() const; + [[nodiscard]] auto CallerPackageFamilyName() const; }; template <> struct consume { @@ -1381,7 +1374,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgsWithNeighboringFiles { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFileQueryResult) NeighboringFilesQuery() const; + [[nodiscard]] auto NeighboringFilesQuery() const; }; template <> struct consume { @@ -1390,7 +1383,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IFileOpenPickerActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI) FileOpenPickerUI() const; + [[nodiscard]] auto FileOpenPickerUI() const; }; template <> struct consume { @@ -1399,7 +1392,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IFileOpenPickerActivatedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CallerPackageFamilyName() const; + [[nodiscard]] auto CallerPackageFamilyName() const; }; template <> struct consume { @@ -1408,7 +1401,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IFileOpenPickerContinuationEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Files() const; + [[nodiscard]] auto Files() const; }; template <> struct consume { @@ -1417,7 +1410,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI) FileSavePickerUI() const; + [[nodiscard]] auto FileSavePickerUI() const; }; template <> struct consume { @@ -1426,8 +1419,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CallerPackageFamilyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EnterpriseId() const; + [[nodiscard]] auto CallerPackageFamilyName() const; + [[nodiscard]] auto EnterpriseId() const; }; template <> struct consume { @@ -1436,7 +1429,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IFileSavePickerContinuationEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) File() const; + [[nodiscard]] auto File() const; }; template <> struct consume { @@ -1445,7 +1438,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IFolderPickerContinuationEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) Folder() const; + [[nodiscard]] auto Folder() const; }; template <> struct consume { @@ -1454,8 +1447,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Arguments() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TileId() const; + [[nodiscard]] auto Arguments() const; + [[nodiscard]] auto TileId() const; }; template <> struct consume { @@ -1464,7 +1457,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::TileActivatedInfo) TileActivatedInfo() const; + [[nodiscard]] auto TileActivatedInfo() const; }; template <> struct consume { @@ -1473,7 +1466,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_ILockScreenActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Info() const; + [[nodiscard]] auto Info() const; }; template <> struct consume { @@ -1482,7 +1475,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_ILockScreenCallActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::LockScreenCallUI) CallUI() const; + [[nodiscard]] auto CallUI() const; }; template <> struct consume { @@ -1491,7 +1484,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IPickerReturnedActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PickerOperationId() const; + [[nodiscard]] auto PickerOperationId() const; }; template <> struct consume { @@ -1500,7 +1493,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IPrelaunchActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) PrelaunchActivated() const; + [[nodiscard]] auto PrelaunchActivated() const; }; template <> struct consume { @@ -1509,7 +1502,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IPrint3DWorkflowActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow) Workflow() const; + [[nodiscard]] auto Workflow() const; }; template <> struct consume { @@ -1518,7 +1511,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IPrintTaskSettingsActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::Extensions::PrintTaskConfiguration) Configuration() const; + [[nodiscard]] auto Configuration() const; }; template <> struct consume { @@ -1527,7 +1520,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; + [[nodiscard]] auto Uri() const; }; template <> struct consume { @@ -1536,8 +1529,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CallerPackageFamilyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Data() const; + [[nodiscard]] auto CallerPackageFamilyName() const; + [[nodiscard]] auto Data() const; }; template <> struct consume { @@ -1546,7 +1539,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IProtocolForResultsActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::ProtocolForResultsOperation) ProtocolForResultsOperation() const; + [[nodiscard]] auto ProtocolForResultsOperation() const; }; template <> struct consume { @@ -1555,7 +1548,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IRestrictedLaunchActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SharedContext() const; + [[nodiscard]] auto SharedContext() const; }; template <> struct consume { @@ -1564,8 +1557,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) QueryText() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; + [[nodiscard]] auto QueryText() const; + [[nodiscard]] auto Language() const; }; template <> struct consume { @@ -1574,7 +1567,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgsWithLinguisticDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneQueryLinguisticDetails) LinguisticDetails() const; + [[nodiscard]] auto LinguisticDetails() const; }; template <> struct consume { @@ -1583,7 +1576,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IShareTargetActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation) ShareOperation() const; + [[nodiscard]] auto ShareOperation() const; }; template <> struct consume { @@ -1592,11 +1585,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_ISplashScreen { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) ImageLocation() const; - WINRT_IMPL_AUTO(winrt::event_token) Dismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ImageLocation() const; + auto Dismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Dismissed_revoker = impl::event_revoker::remove_Dismissed>; - [[nodiscard]] Dismissed_revoker Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Dismissed(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Dismissed(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -1605,7 +1598,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IStartupTaskActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TaskId() const; + [[nodiscard]] auto TaskId() const; }; template <> struct consume { @@ -1614,7 +1607,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_ITileActivatedInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) RecentlyShownNotifications() const; + [[nodiscard]] auto RecentlyShownNotifications() const; }; template <> struct consume { @@ -1623,8 +1616,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IToastNotificationActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Argument() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) UserInput() const; + [[nodiscard]] auto Argument() const; + [[nodiscard]] auto UserInput() const; }; template <> struct consume { @@ -1633,7 +1626,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IUserDataAccountProviderActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderOperation) Operation() const; + [[nodiscard]] auto Operation() const; }; template <> struct consume { @@ -1642,7 +1635,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IViewSwitcherProvider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ActivationViewSwitcher) ViewSwitcher() const; + [[nodiscard]] auto ViewSwitcher() const; }; template <> struct consume { @@ -1651,7 +1644,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IVoiceCommandActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult) Result() const; + [[nodiscard]] auto Result() const; }; template <> struct consume { @@ -1660,9 +1653,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IWalletActionActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ItemId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletActionKind) ActionKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ActionId() const; + [[nodiscard]] auto ItemId() const; + [[nodiscard]] auto ActionKind() const; + [[nodiscard]] auto ActionId() const; }; template <> struct consume { @@ -1671,7 +1664,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IWebAccountProviderActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderOperation) Operation() const; + [[nodiscard]] auto Operation() const; }; template <> struct consume { @@ -1680,7 +1673,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Activation_IWebAuthenticationBrokerContinuationEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::WebAuthenticationResult) WebAuthenticationResult() const; + [[nodiscard]] auto WebAuthenticationResult() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.1.h index 48df8e66..3e77e6a0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Activation_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.2.h index 4aadb004..4e6190d7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Activation_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.0.h index cd7c71c0..09ef38c8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_AppExtensions_0_H @@ -11,18 +11,8 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - struct IPropertySet; - template struct __declspec(empty_bases) IVectorView; -} -WINRT_EXPORT namespace winrt::Windows::Storage -{ - struct StorageFolder; -} WINRT_EXPORT namespace winrt::Windows::ApplicationModel::AppExtensions { struct IAppExtension; @@ -171,13 +161,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppExtensions_IAppExtension { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) AppInfo() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetExtensionPropertiesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPublicFolderAsync() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Package() const; + [[nodiscard]] auto AppInfo() const; + auto GetExtensionPropertiesAsync() const; + auto GetPublicFolderAsync() const; }; template <> struct consume { @@ -186,28 +176,28 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestRemovePackageAsync(param::hstring const& packageFullName) const; - WINRT_IMPL_AUTO(winrt::event_token) PackageInstalled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FindAllAsync() const; + auto RequestRemovePackageAsync(param::hstring const& packageFullName) const; + auto PackageInstalled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PackageInstalled_revoker = impl::event_revoker::remove_PackageInstalled>; - [[nodiscard]] PackageInstalled_revoker PackageInstalled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PackageInstalled(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PackageUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PackageInstalled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageInstalled(winrt::event_token const& token) const noexcept; + auto PackageUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PackageUpdating_revoker = impl::event_revoker::remove_PackageUpdating>; - [[nodiscard]] PackageUpdating_revoker PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PackageUpdating(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PackageUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageUpdating(winrt::event_token const& token) const noexcept; + auto PackageUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PackageUpdated_revoker = impl::event_revoker::remove_PackageUpdated>; - [[nodiscard]] PackageUpdated_revoker PackageUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PackageUpdated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PackageUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageUpdated(winrt::event_token const& token) const noexcept; + auto PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PackageUninstalling_revoker = impl::event_revoker::remove_PackageUninstalling>; - [[nodiscard]] PackageUninstalling_revoker PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PackageUninstalling(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageUninstalling(winrt::event_token const& token) const noexcept; + auto PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PackageStatusChanged_revoker = impl::event_revoker::remove_PackageStatusChanged>; - [[nodiscard]] PackageStatusChanged_revoker PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PackageStatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PackageStatusChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -216,7 +206,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalogStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog) Open(param::hstring const& appExtensionName) const; + auto Open(param::hstring const& appExtensionName) const; }; template <> struct consume { @@ -225,9 +215,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageInstalledEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppExtensionName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Extensions() const; + [[nodiscard]] auto AppExtensionName() const; + [[nodiscard]] auto Package() const; + [[nodiscard]] auto Extensions() const; }; template <> struct consume { @@ -236,8 +226,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageStatusChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppExtensionName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; + [[nodiscard]] auto AppExtensionName() const; + [[nodiscard]] auto Package() const; }; template <> struct consume { @@ -246,8 +236,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUninstallingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppExtensionName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; + [[nodiscard]] auto AppExtensionName() const; + [[nodiscard]] auto Package() const; }; template <> struct consume { @@ -256,9 +246,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppExtensionName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Extensions() const; + [[nodiscard]] auto AppExtensionName() const; + [[nodiscard]] auto Package() const; + [[nodiscard]] auto Extensions() const; }; template <> struct consume { @@ -267,8 +257,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppExtensionName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; + [[nodiscard]] auto AppExtensionName() const; + [[nodiscard]] auto Package() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.1.h index 9e7369c9..4269c587 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_AppExtensions_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.2.h index 00264d85..01f30092 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_AppExtensions_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.0.h index 3bc8eaff..3c002ab9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.0.h @@ -1,21 +1,15 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_AppService_0_H #define WINRT_Windows_ApplicationModel_AppService_0_H -WINRT_EXPORT namespace winrt::Windows::ApplicationModel -{ - struct AppInfo; -} WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { - template struct __declspec(empty_bases) IVectorView; struct ValueSet; } WINRT_EXPORT namespace winrt::Windows::System @@ -302,7 +296,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppService_IAppServiceCatalogStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAppServiceProvidersAsync(param::hstring const& appServiceName) const; + auto FindAppServiceProvidersAsync(param::hstring const& appServiceName) const; }; template <> struct consume { @@ -311,7 +305,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppService_IAppServiceClosedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::AppServiceClosedStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -320,20 +314,20 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppService_IAppServiceConnection { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppServiceName() const; - WINRT_IMPL_AUTO(void) AppServiceName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PackageFamilyName() const; - WINRT_IMPL_AUTO(void) PackageFamilyName(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendMessageAsync(winrt::Windows::Foundation::Collections::ValueSet const& message) const; - WINRT_IMPL_AUTO(winrt::event_token) RequestReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AppServiceName() const; + auto AppServiceName(param::hstring const& value) const; + [[nodiscard]] auto PackageFamilyName() const; + auto PackageFamilyName(param::hstring const& value) const; + auto OpenAsync() const; + auto SendMessageAsync(winrt::Windows::Foundation::Collections::ValueSet const& message) const; + auto RequestReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RequestReceived_revoker = impl::event_revoker::remove_RequestReceived>; - [[nodiscard]] RequestReceived_revoker RequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RequestReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ServiceClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto RequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RequestReceived(winrt::event_token const& token) const noexcept; + auto ServiceClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ServiceClosed_revoker = impl::event_revoker::remove_ServiceClosed>; - [[nodiscard]] ServiceClosed_revoker ServiceClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ServiceClosed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ServiceClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ServiceClosed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -342,9 +336,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppService_IAppServiceConnection2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenRemoteAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; - WINRT_IMPL_AUTO(void) User(winrt::Windows::System::User const& value) const; + auto OpenRemoteAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest) const; + [[nodiscard]] auto User() const; + auto User(winrt::Windows::System::User const& value) const; }; template <> struct consume { @@ -353,7 +347,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppService_IAppServiceConnectionStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendStatelessMessageAsync(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& connection, winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& connectionRequest, winrt::Windows::Foundation::Collections::ValueSet const& message) const; + auto SendStatelessMessageAsync(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& connection, winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& connectionRequest, winrt::Windows::Foundation::Collections::ValueSet const& message) const; }; template <> struct consume { @@ -362,7 +356,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppService_IAppServiceDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -371,8 +365,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppService_IAppServiceRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Message() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendResponseAsync(winrt::Windows::Foundation::Collections::ValueSet const& message) const; + [[nodiscard]] auto Message() const; + auto SendResponseAsync(winrt::Windows::Foundation::Collections::ValueSet const& message) const; }; template <> struct consume { @@ -381,8 +375,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppService_IAppServiceRequestReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::AppServiceRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::AppServiceDeferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -391,8 +385,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppService_IAppServiceResponse { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Message() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::AppServiceResponseStatus) Status() const; + [[nodiscard]] auto Message() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -401,9 +395,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CallerPackageFamilyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::AppServiceConnection) AppServiceConnection() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto CallerPackageFamilyName() const; + [[nodiscard]] auto AppServiceConnection() const; }; template <> struct consume { @@ -412,7 +406,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRemoteSystemConnection() const; + [[nodiscard]] auto IsRemoteSystemConnection() const; }; template <> struct consume { @@ -421,7 +415,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CheckCallerForCapabilityAsync(param::hstring const& capabilityName) const; + auto CheckCallerForCapabilityAsync(param::hstring const& capabilityName) const; }; template <> struct consume { @@ -430,7 +424,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails4 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CallerRemoteConnectionToken() const; + [[nodiscard]] auto CallerRemoteConnectionToken() const; }; template <> struct consume { @@ -439,8 +433,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_AppService_IStatelessAppServiceResponse { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Message() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::StatelessAppServiceResponseStatus) Status() const; + [[nodiscard]] auto Message() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.1.h index c98facf8..ba787cd1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_AppService_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.2.h index ffed0c37..132bc5da 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_AppService_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.0.h index 1035b214..7eda21c9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Appointments_0_H @@ -7,7 +7,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; struct Rect; template struct __declspec(empty_bases) TypedEventHandler; @@ -16,8 +15,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::System { @@ -839,31 +836,31 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointment { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) StartTime() const; - WINRT_IMPL_AUTO(void) StartTime(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Location() const; - WINRT_IMPL_AUTO(void) Location(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - WINRT_IMPL_AUTO(void) Subject(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Details() const; - WINRT_IMPL_AUTO(void) Details(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Reminder() const; - WINRT_IMPL_AUTO(void) Reminder(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentOrganizer) Organizer() const; - WINRT_IMPL_AUTO(void) Organizer(winrt::Windows::ApplicationModel::Appointments::AppointmentOrganizer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Invitees() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence) Recurrence() const; - WINRT_IMPL_AUTO(void) Recurrence(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentBusyStatus) BusyStatus() const; - WINRT_IMPL_AUTO(void) BusyStatus(winrt::Windows::ApplicationModel::Appointments::AppointmentBusyStatus const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllDay() const; - WINRT_IMPL_AUTO(void) AllDay(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentSensitivity) Sensitivity() const; - WINRT_IMPL_AUTO(void) Sensitivity(winrt::Windows::ApplicationModel::Appointments::AppointmentSensitivity const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - WINRT_IMPL_AUTO(void) Uri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto StartTime() const; + auto StartTime(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Location() const; + auto Location(param::hstring const& value) const; + [[nodiscard]] auto Subject() const; + auto Subject(param::hstring const& value) const; + [[nodiscard]] auto Details() const; + auto Details(param::hstring const& value) const; + [[nodiscard]] auto Reminder() const; + auto Reminder(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Organizer() const; + auto Organizer(winrt::Windows::ApplicationModel::Appointments::AppointmentOrganizer const& value) const; + [[nodiscard]] auto Invitees() const; + [[nodiscard]] auto Recurrence() const; + auto Recurrence(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence const& value) const; + [[nodiscard]] auto BusyStatus() const; + auto BusyStatus(winrt::Windows::ApplicationModel::Appointments::AppointmentBusyStatus const& value) const; + [[nodiscard]] auto AllDay() const; + auto AllDay(bool value) const; + [[nodiscard]] auto Sensitivity() const; + auto Sensitivity(winrt::Windows::ApplicationModel::Appointments::AppointmentSensitivity const& value) const; + [[nodiscard]] auto Uri() const; + auto Uri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -872,26 +869,26 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointment2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LocalId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CalendarId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RoamingId() const; - WINRT_IMPL_AUTO(void) RoamingId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) OriginalStartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsResponseRequested() const; - WINRT_IMPL_AUTO(void) IsResponseRequested(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowNewTimeProposal() const; - WINRT_IMPL_AUTO(void) AllowNewTimeProposal(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OnlineMeetingLink() const; - WINRT_IMPL_AUTO(void) OnlineMeetingLink(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ReplyTime() const; - WINRT_IMPL_AUTO(void) ReplyTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse) UserResponse() const; - WINRT_IMPL_AUTO(void) UserResponse(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasInvitees() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCanceledMeeting() const; - WINRT_IMPL_AUTO(void) IsCanceledMeeting(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOrganizedByUser() const; - WINRT_IMPL_AUTO(void) IsOrganizedByUser(bool value) const; + [[nodiscard]] auto LocalId() const; + [[nodiscard]] auto CalendarId() const; + [[nodiscard]] auto RoamingId() const; + auto RoamingId(param::hstring const& value) const; + [[nodiscard]] auto OriginalStartTime() const; + [[nodiscard]] auto IsResponseRequested() const; + auto IsResponseRequested(bool value) const; + [[nodiscard]] auto AllowNewTimeProposal() const; + auto AllowNewTimeProposal(bool value) const; + [[nodiscard]] auto OnlineMeetingLink() const; + auto OnlineMeetingLink(param::hstring const& value) const; + [[nodiscard]] auto ReplyTime() const; + auto ReplyTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto UserResponse() const; + auto UserResponse(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse const& value) const; + [[nodiscard]] auto HasInvitees() const; + [[nodiscard]] auto IsCanceledMeeting() const; + auto IsCanceledMeeting(bool value) const; + [[nodiscard]] auto IsOrganizedByUser() const; + auto IsOrganizedByUser(bool value) const; }; template <> struct consume { @@ -900,11 +897,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointment3 { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) ChangeNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) RemoteChangeNumber() const; - WINRT_IMPL_AUTO(void) RemoteChangeNumber(uint64_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentDetailsKind) DetailsKind() const; - WINRT_IMPL_AUTO(void) DetailsKind(winrt::Windows::ApplicationModel::Appointments::AppointmentDetailsKind const& value) const; + [[nodiscard]] auto ChangeNumber() const; + [[nodiscard]] auto RemoteChangeNumber() const; + auto RemoteChangeNumber(uint64_t value) const; + [[nodiscard]] auto DetailsKind() const; + auto DetailsKind(winrt::Windows::ApplicationModel::Appointments::AppointmentDetailsKind const& value) const; }; template <> struct consume { @@ -913,32 +910,32 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DisplayColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LocalId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHidden() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppReadAccess) OtherAppReadAccess() const; - WINRT_IMPL_AUTO(void) OtherAppReadAccess(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppReadAccess const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppWriteAccess) OtherAppWriteAccess() const; - WINRT_IMPL_AUTO(void) OtherAppWriteAccess(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppWriteAccess const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SourceDisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentSummaryCardView) SummaryCardView() const; - WINRT_IMPL_AUTO(void) SummaryCardView(winrt::Windows::ApplicationModel::Appointments::AppointmentSummaryCardView const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength, winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindExceptionsFromMasterAsync(param::hstring const& masterLocalId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllInstancesAsync(param::hstring const& masterLocalId, winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllInstancesAsync(param::hstring const& masterLocalId, winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength, winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& pOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAppointmentAsync(param::hstring const& localId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindUnexpandedAppointmentsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindUnexpandedAppointmentsAsync(winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAppointmentAsync(param::hstring const& localId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& pAppointment) const; + [[nodiscard]] auto DisplayColor() const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto LocalId() const; + [[nodiscard]] auto IsHidden() const; + [[nodiscard]] auto OtherAppReadAccess() const; + auto OtherAppReadAccess(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppReadAccess const& value) const; + [[nodiscard]] auto OtherAppWriteAccess() const; + auto OtherAppWriteAccess(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppWriteAccess const& value) const; + [[nodiscard]] auto SourceDisplayName() const; + [[nodiscard]] auto SummaryCardView() const; + auto SummaryCardView(winrt::Windows::ApplicationModel::Appointments::AppointmentSummaryCardView const& value) const; + auto FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const; + auto FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength, winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& options) const; + auto FindExceptionsFromMasterAsync(param::hstring const& masterLocalId) const; + auto FindAllInstancesAsync(param::hstring const& masterLocalId, winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const; + auto FindAllInstancesAsync(param::hstring const& masterLocalId, winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength, winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& pOptions) const; + auto GetAppointmentAsync(param::hstring const& localId) const; + auto GetAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const; + auto FindUnexpandedAppointmentsAsync() const; + auto FindUnexpandedAppointmentsAsync(winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& options) const; + auto DeleteAsync() const; + auto SaveAsync() const; + auto DeleteAppointmentAsync(param::hstring const& localId) const; + auto DeleteAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const; + auto SaveAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& pAppointment) const; }; template <> struct consume { @@ -947,31 +944,31 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncManager) SyncManager() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const; - WINRT_IMPL_AUTO(void) RemoteId(param::hstring const& value) const; - WINRT_IMPL_AUTO(void) DisplayColor(winrt::Windows::UI::Color const& value) const; - WINRT_IMPL_AUTO(void) IsHidden(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserDataAccountId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanCreateOrUpdateAppointments() const; - WINRT_IMPL_AUTO(void) CanCreateOrUpdateAppointments(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanCancelMeetings() const; - WINRT_IMPL_AUTO(void) CanCancelMeetings(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanForwardMeetings() const; - WINRT_IMPL_AUTO(void) CanForwardMeetings(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanProposeNewTimeForMeetings() const; - WINRT_IMPL_AUTO(void) CanProposeNewTimeForMeetings(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanUpdateMeetingResponses() const; - WINRT_IMPL_AUTO(void) CanUpdateMeetingResponses(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanNotifyInvitees() const; - WINRT_IMPL_AUTO(void) CanNotifyInvitees(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) MustNofityInvitees() const; - WINRT_IMPL_AUTO(void) MustNofityInvitees(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryCreateOrUpdateAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, bool notifyInvitees) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryCancelMeetingAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, param::hstring const& subject, param::hstring const& comment, bool notifyInvitees) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryForwardMeetingAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, param::async_iterable const& invitees, param::hstring const& subject, param::hstring const& forwardHeader, param::hstring const& comment) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryProposeNewTimeForMeetingAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, winrt::Windows::Foundation::DateTime const& newStartTime, winrt::Windows::Foundation::TimeSpan const& newDuration, param::hstring const& subject, param::hstring const& comment) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryUpdateMeetingResponseAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse const& response, param::hstring const& subject, param::hstring const& comment, bool sendUpdate) const; + [[nodiscard]] auto SyncManager() const; + [[nodiscard]] auto RemoteId() const; + auto RemoteId(param::hstring const& value) const; + auto DisplayColor(winrt::Windows::UI::Color const& value) const; + auto IsHidden(bool value) const; + [[nodiscard]] auto UserDataAccountId() const; + [[nodiscard]] auto CanCreateOrUpdateAppointments() const; + auto CanCreateOrUpdateAppointments(bool value) const; + [[nodiscard]] auto CanCancelMeetings() const; + auto CanCancelMeetings(bool value) const; + [[nodiscard]] auto CanForwardMeetings() const; + auto CanForwardMeetings(bool value) const; + [[nodiscard]] auto CanProposeNewTimeForMeetings() const; + auto CanProposeNewTimeForMeetings(bool value) const; + [[nodiscard]] auto CanUpdateMeetingResponses() const; + auto CanUpdateMeetingResponses(bool value) const; + [[nodiscard]] auto CanNotifyInvitees() const; + auto CanNotifyInvitees(bool value) const; + [[nodiscard]] auto MustNofityInvitees() const; + auto MustNofityInvitees(bool value) const; + auto TryCreateOrUpdateAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, bool notifyInvitees) const; + auto TryCancelMeetingAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, param::hstring const& subject, param::hstring const& comment, bool notifyInvitees) const; + auto TryForwardMeetingAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, param::async_iterable const& invitees, param::hstring const& subject, param::hstring const& forwardHeader, param::hstring const& comment) const; + auto TryProposeNewTimeForMeetingAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, winrt::Windows::Foundation::DateTime const& newStartTime, winrt::Windows::Foundation::TimeSpan const& newDuration, param::hstring const& subject, param::hstring const& comment) const; + auto TryUpdateMeetingResponseAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse const& response, param::hstring const& subject, param::hstring const& comment, bool sendUpdate) const; }; template <> struct consume { @@ -980,7 +977,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RegisterSyncManagerAsync() const; + auto RegisterSyncManagerAsync() const; }; template <> struct consume { @@ -989,14 +986,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastSuccessfulSyncTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastAttemptedSyncTime() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SyncAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto LastSuccessfulSyncTime() const; + [[nodiscard]] auto LastAttemptedSyncTime() const; + auto SyncAsync() const; + auto SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SyncStatusChanged_revoker = impl::event_revoker::remove_SyncStatusChanged>; - [[nodiscard]] SyncStatusChanged_revoker SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SyncStatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SyncStatusChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1005,9 +1002,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager2 { - WINRT_IMPL_AUTO(void) Status(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncStatus const& value) const; - WINRT_IMPL_AUTO(void) LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const; - WINRT_IMPL_AUTO(void) LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const; + auto Status(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncStatus const& value) const; + auto LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const; + auto LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const; }; template <> struct consume { @@ -1016,8 +1013,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentConflictResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentConflictType) Type() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Date() const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto Date() const; }; template <> struct consume { @@ -1026,9 +1023,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentException { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) Appointment() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ExceptionProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDeleted() const; + [[nodiscard]] auto Appointment() const; + [[nodiscard]] auto ExceptionProperties() const; + [[nodiscard]] auto IsDeleted() const; }; template <> struct consume { @@ -1037,10 +1034,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantRole) Role() const; - WINRT_IMPL_AUTO(void) Role(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantRole const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse) Response() const; - WINRT_IMPL_AUTO(void) Response(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse const& value) const; + [[nodiscard]] auto Role() const; + auto Role(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantRole const& value) const; + [[nodiscard]] auto Response() const; + auto Response(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse const& value) const; }; template <> struct consume { @@ -1049,20 +1046,20 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowTimeFrameAsync(winrt::Windows::Foundation::DateTime const& timeToShow, winrt::Windows::Foundation::TimeSpan const& duration) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowAppointmentDetailsAsync(param::hstring const& appointmentId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowAppointmentDetailsAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType const& options) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + auto ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const; + auto ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + auto ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const; + auto ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + auto ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; + auto ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection) const; + auto ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + auto ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; + auto ShowTimeFrameAsync(winrt::Windows::Foundation::DateTime const& timeToShow, winrt::Windows::Foundation::TimeSpan const& duration) const; + auto ShowAppointmentDetailsAsync(param::hstring const& appointmentId) const; + auto ShowAppointmentDetailsAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; + auto ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const; + auto RequestStoreAsync(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType const& options) const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -1071,15 +1068,15 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowTimeFrameAsync(winrt::Windows::Foundation::DateTime const& timeToShow, winrt::Windows::Foundation::TimeSpan const& duration) const; + auto ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const; + auto ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + auto ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const; + auto ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + auto ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; + auto ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection) const; + auto ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + auto ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; + auto ShowTimeFrameAsync(winrt::Windows::Foundation::DateTime const& timeToShow, winrt::Windows::Foundation::TimeSpan const& duration) const; }; template <> struct consume { @@ -1088,10 +1085,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowAppointmentDetailsAsync(param::hstring const& appointmentId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowAppointmentDetailsAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType const& options) const; + auto ShowAppointmentDetailsAsync(param::hstring const& appointmentId) const; + auto ShowAppointmentDetailsAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; + auto ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const; + auto RequestStoreAsync(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType const& options) const; }; template <> struct consume { @@ -1100,7 +1097,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentManagerForUser) GetForUser(winrt::Windows::System::User const& user) const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -1109,10 +1106,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Address() const; - WINRT_IMPL_AUTO(void) Address(param::hstring const& value) const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto Address() const; + auto Address(param::hstring const& value) const; }; template <> struct consume { @@ -1121,29 +1118,29 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Location() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Reminder() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BusyStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sensitivity() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OriginalStartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IsResponseRequested() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AllowNewTimeProposal() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AllDay() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Details() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OnlineMeetingLink() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ReplyTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Organizer() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserResponse() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HasInvitees() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IsCanceledMeeting() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IsOrganizedByUser() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Recurrence() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Invitees() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DefaultProperties() const; + [[nodiscard]] auto Subject() const; + [[nodiscard]] auto Location() const; + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto Reminder() const; + [[nodiscard]] auto BusyStatus() const; + [[nodiscard]] auto Sensitivity() const; + [[nodiscard]] auto OriginalStartTime() const; + [[nodiscard]] auto IsResponseRequested() const; + [[nodiscard]] auto AllowNewTimeProposal() const; + [[nodiscard]] auto AllDay() const; + [[nodiscard]] auto Details() const; + [[nodiscard]] auto OnlineMeetingLink() const; + [[nodiscard]] auto ReplyTime() const; + [[nodiscard]] auto Organizer() const; + [[nodiscard]] auto UserResponse() const; + [[nodiscard]] auto HasInvitees() const; + [[nodiscard]] auto IsCanceledMeeting() const; + [[nodiscard]] auto IsOrganizedByUser() const; + [[nodiscard]] auto Recurrence() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Invitees() const; + [[nodiscard]] auto DefaultProperties() const; }; template <> struct consume { @@ -1152,9 +1149,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ChangeNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteChangeNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DetailsKind() const; + [[nodiscard]] auto ChangeNumber() const; + [[nodiscard]] auto RemoteChangeNumber() const; + [[nodiscard]] auto DetailsKind() const; }; template <> struct consume { @@ -1163,22 +1160,22 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrenceUnit) Unit() const; - WINRT_IMPL_AUTO(void) Unit(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrenceUnit const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Occurrences() const; - WINRT_IMPL_AUTO(void) Occurrences(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Until() const; - WINRT_IMPL_AUTO(void) Until(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Interval() const; - WINRT_IMPL_AUTO(void) Interval(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentDaysOfWeek) DaysOfWeek() const; - WINRT_IMPL_AUTO(void) DaysOfWeek(winrt::Windows::ApplicationModel::Appointments::AppointmentDaysOfWeek const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentWeekOfMonth) WeekOfMonth() const; - WINRT_IMPL_AUTO(void) WeekOfMonth(winrt::Windows::ApplicationModel::Appointments::AppointmentWeekOfMonth const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Month() const; - WINRT_IMPL_AUTO(void) Month(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Day() const; - WINRT_IMPL_AUTO(void) Day(uint32_t value) const; + [[nodiscard]] auto Unit() const; + auto Unit(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrenceUnit const& value) const; + [[nodiscard]] auto Occurrences() const; + auto Occurrences(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Until() const; + auto Until(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Interval() const; + auto Interval(uint32_t value) const; + [[nodiscard]] auto DaysOfWeek() const; + auto DaysOfWeek(winrt::Windows::ApplicationModel::Appointments::AppointmentDaysOfWeek const& value) const; + [[nodiscard]] auto WeekOfMonth() const; + auto WeekOfMonth(winrt::Windows::ApplicationModel::Appointments::AppointmentWeekOfMonth const& value) const; + [[nodiscard]] auto Month() const; + auto Month(uint32_t value) const; + [[nodiscard]] auto Day() const; + auto Day(uint32_t value) const; }; template <> struct consume { @@ -1187,9 +1184,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::RecurrenceType) RecurrenceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TimeZone() const; - WINRT_IMPL_AUTO(void) TimeZone(param::hstring const& value) const; + [[nodiscard]] auto RecurrenceType() const; + [[nodiscard]] auto TimeZone() const; + auto TimeZone(param::hstring const& value) const; }; template <> struct consume { @@ -1198,7 +1195,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CalendarIdentifier() const; + [[nodiscard]] auto CalendarIdentifier() const; }; template <> struct consume { @@ -1207,27 +1204,27 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentStore { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeTracker) ChangeTracker() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAppointmentCalendarAsync(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAppointmentCalendarAsync(param::hstring const& calendarId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAppointmentAsync(param::hstring const& localId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAppointmentCalendarsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAppointmentCalendarsAsync(winrt::Windows::ApplicationModel::Appointments::FindAppointmentCalendarsOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength, winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindConflictAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindConflictAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::DateTime const& instanceStartTime) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MoveAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar const& destinationCalendar) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowReplaceAppointmentAsync(param::hstring const& localId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowReplaceAppointmentAsync(param::hstring const& localId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowRemoveAppointmentAsync(param::hstring const& localId, winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowRemoveAppointmentAsync(param::hstring const& localId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowAppointmentDetailsAsync(param::hstring const& localId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowAppointmentDetailsAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindLocalIdsFromRoamingIdAsync(param::hstring const& roamingId) const; + [[nodiscard]] auto ChangeTracker() const; + auto CreateAppointmentCalendarAsync(param::hstring const& name) const; + auto GetAppointmentCalendarAsync(param::hstring const& calendarId) const; + auto GetAppointmentAsync(param::hstring const& localId) const; + auto GetAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const; + auto FindAppointmentCalendarsAsync() const; + auto FindAppointmentCalendarsAsync(winrt::Windows::ApplicationModel::Appointments::FindAppointmentCalendarsOptions const& options) const; + auto FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const; + auto FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength, winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& options) const; + auto FindConflictAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const; + auto FindConflictAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::DateTime const& instanceStartTime) const; + auto MoveAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar const& destinationCalendar) const; + auto ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const; + auto ShowReplaceAppointmentAsync(param::hstring const& localId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const; + auto ShowReplaceAppointmentAsync(param::hstring const& localId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; + auto ShowRemoveAppointmentAsync(param::hstring const& localId, winrt::Windows::Foundation::Rect const& selection) const; + auto ShowRemoveAppointmentAsync(param::hstring const& localId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; + auto ShowAppointmentDetailsAsync(param::hstring const& localId) const; + auto ShowAppointmentDetailsAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartDate) const; + auto ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const; + auto FindLocalIdsFromRoamingIdAsync(param::hstring const& roamingId) const; }; template <> struct consume { @@ -1236,11 +1233,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentStore2 { - WINRT_IMPL_AUTO(winrt::event_token) StoreChanged(winrt::Windows::Foundation::TypedEventHandler const& pHandler) const; + auto StoreChanged(winrt::Windows::Foundation::TypedEventHandler const& pHandler) const; using StoreChanged_revoker = impl::event_revoker::remove_StoreChanged>; - [[nodiscard]] StoreChanged_revoker StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& pHandler) const; - WINRT_IMPL_AUTO(void) StoreChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAppointmentCalendarAsync(param::hstring const& name, param::hstring const& userDataAccountId) const; + [[nodiscard]] auto StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& pHandler) const; + auto StoreChanged(winrt::event_token const& token) const noexcept; + auto CreateAppointmentCalendarAsync(param::hstring const& name, param::hstring const& userDataAccountId) const; }; template <> struct consume { @@ -1249,7 +1246,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentStore3 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeTracker) GetChangeTracker(param::hstring const& identity) const; + auto GetChangeTracker(param::hstring const& identity) const; }; template <> struct consume { @@ -1258,8 +1255,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChange { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) Appointment() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeType) ChangeType() const; + [[nodiscard]] auto Appointment() const; + [[nodiscard]] auto ChangeType() const; }; template <> struct consume { @@ -1268,7 +1265,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChange2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar) AppointmentCalendar() const; + [[nodiscard]] auto AppointmentCalendar() const; }; template <> struct consume { @@ -1277,9 +1274,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeReader { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ReadBatchAsync() const; - WINRT_IMPL_AUTO(void) AcceptChanges() const; - WINRT_IMPL_AUTO(void) AcceptChangesThrough(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChange const& lastChangeToAccept) const; + auto ReadBatchAsync() const; + auto AcceptChanges() const; + auto AcceptChangesThrough(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChange const& lastChangeToAccept) const; }; template <> struct consume { @@ -1288,9 +1285,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeReader) GetChangeReader() const; - WINRT_IMPL_AUTO(void) Enable() const; - WINRT_IMPL_AUTO(void) Reset() const; + auto GetChangeReader() const; + auto Enable() const; + auto Reset() const; }; template <> struct consume { @@ -1299,7 +1296,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTracking() const; + [[nodiscard]] auto IsTracking() const; }; template <> struct consume { @@ -1308,7 +1305,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangedDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -1317,7 +1314,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangedDeferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1334,12 +1331,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) CalendarIds() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FetchProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IncludeHidden() const; - WINRT_IMPL_AUTO(void) IncludeHidden(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxCount() const; - WINRT_IMPL_AUTO(void) MaxCount(uint32_t value) const; + [[nodiscard]] auto CalendarIds() const; + [[nodiscard]] auto FetchProperties() const; + [[nodiscard]] auto IncludeHidden() const; + auto IncludeHidden(bool value) const; + [[nodiscard]] auto MaxCount() const; + auto MaxCount(uint32_t value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.1.h index b64169bb..d923d929 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Appointments_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.2.h index a942db8c..d1f25945 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Appointments_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.0.h index 172e170d..aa179dd6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Appointments_AppointmentsProvider_0_H @@ -7,10 +7,6 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Appointments { struct Appointment; } -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IReference; -} WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider { struct IAddAppointmentOperation; @@ -110,12 +106,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) AppointmentInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SourcePackageFamilyName() const; - WINRT_IMPL_AUTO(void) ReportCompleted(param::hstring const& itemId) const; - WINRT_IMPL_AUTO(void) ReportCanceled() const; - WINRT_IMPL_AUTO(void) ReportError(param::hstring const& value) const; - WINRT_IMPL_AUTO(void) DismissUI() const; + [[nodiscard]] auto AppointmentInformation() const; + [[nodiscard]] auto SourcePackageFamilyName() const; + auto ReportCompleted(param::hstring const& itemId) const; + auto ReportCanceled() const; + auto ReportError(param::hstring const& value) const; + auto DismissUI() const; }; template <> struct consume { @@ -124,10 +120,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AddAppointment() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ReplaceAppointment() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoveAppointment() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ShowTimeFrame() const; + [[nodiscard]] auto AddAppointment() const; + [[nodiscard]] auto ReplaceAppointment() const; + [[nodiscard]] auto RemoveAppointment() const; + [[nodiscard]] auto ShowTimeFrame() const; }; template <> struct consume { @@ -136,7 +132,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ShowAppointmentDetails() const; + [[nodiscard]] auto ShowAppointmentDetails() const; }; template <> struct consume { @@ -145,13 +141,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppointmentId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InstanceStartDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SourcePackageFamilyName() const; - WINRT_IMPL_AUTO(void) ReportCompleted() const; - WINRT_IMPL_AUTO(void) ReportCanceled() const; - WINRT_IMPL_AUTO(void) ReportError(param::hstring const& value) const; - WINRT_IMPL_AUTO(void) DismissUI() const; + [[nodiscard]] auto AppointmentId() const; + [[nodiscard]] auto InstanceStartDate() const; + [[nodiscard]] auto SourcePackageFamilyName() const; + auto ReportCompleted() const; + auto ReportCanceled() const; + auto ReportError(param::hstring const& value) const; + auto DismissUI() const; }; template <> struct consume { @@ -160,14 +156,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppointmentId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) AppointmentInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InstanceStartDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SourcePackageFamilyName() const; - WINRT_IMPL_AUTO(void) ReportCompleted(param::hstring const& itemId) const; - WINRT_IMPL_AUTO(void) ReportCanceled() const; - WINRT_IMPL_AUTO(void) ReportError(param::hstring const& value) const; - WINRT_IMPL_AUTO(void) DismissUI() const; + [[nodiscard]] auto AppointmentId() const; + [[nodiscard]] auto AppointmentInformation() const; + [[nodiscard]] auto InstanceStartDate() const; + [[nodiscard]] auto SourcePackageFamilyName() const; + auto ReportCompleted(param::hstring const& itemId) const; + auto ReportCanceled() const; + auto ReportError(param::hstring const& value) const; + auto DismissUI() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.1.h index 023ac8ee..1dcee69c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Appointments_AppointmentsProvider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.2.h index 5466f36a..5abd7b87 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Appointments_AppointmentsProvider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.0.h index 3ae6465a..58b75302 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Appointments_DataProvider_0_H @@ -6,7 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Appointments { struct Appointment; - struct AppointmentInvitee; enum class AppointmentParticipantResponse : int32_t; } WINRT_EXPORT namespace winrt::Windows::Foundation @@ -14,13 +13,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct Deferral; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Appointments::DataProvider { struct IAppointmentCalendarCancelMeetingRequest; @@ -295,14 +289,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppointmentCalendarLocalId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppointmentLocalId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AppointmentOriginalStartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Comment() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) NotifyInvitees() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto AppointmentCalendarLocalId() const; + [[nodiscard]] auto AppointmentLocalId() const; + [[nodiscard]] auto AppointmentOriginalStartTime() const; + [[nodiscard]] auto Subject() const; + [[nodiscard]] auto Comment() const; + [[nodiscard]] auto NotifyInvitees() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -311,8 +305,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCancelMeetingRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -321,12 +315,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppointmentCalendarLocalId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) Appointment() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) NotifyInvitees() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ChangedProperties() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& createdOrUpdatedAppointment) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto AppointmentCalendarLocalId() const; + [[nodiscard]] auto Appointment() const; + [[nodiscard]] auto NotifyInvitees() const; + [[nodiscard]] auto ChangedProperties() const; + auto ReportCompletedAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& createdOrUpdatedAppointment) const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -335,8 +329,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCreateOrUpdateAppointmentRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -345,15 +339,15 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppointmentCalendarLocalId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppointmentLocalId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AppointmentOriginalStartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Invitees() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ForwardHeader() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Comment() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto AppointmentCalendarLocalId() const; + [[nodiscard]] auto AppointmentLocalId() const; + [[nodiscard]] auto AppointmentOriginalStartTime() const; + [[nodiscard]] auto Invitees() const; + [[nodiscard]] auto Subject() const; + [[nodiscard]] auto ForwardHeader() const; + [[nodiscard]] auto Comment() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -362,8 +356,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarForwardMeetingRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -372,15 +366,15 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppointmentCalendarLocalId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppointmentLocalId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AppointmentOriginalStartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) NewStartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) NewDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Comment() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto AppointmentCalendarLocalId() const; + [[nodiscard]] auto AppointmentLocalId() const; + [[nodiscard]] auto AppointmentOriginalStartTime() const; + [[nodiscard]] auto NewStartTime() const; + [[nodiscard]] auto NewDuration() const; + [[nodiscard]] auto Subject() const; + [[nodiscard]] auto Comment() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -389,8 +383,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarProposeNewTimeForMeetingRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -399,9 +393,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppointmentCalendarLocalId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto AppointmentCalendarLocalId() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -410,8 +404,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarSyncManagerSyncRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -420,15 +414,15 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppointmentCalendarLocalId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppointmentLocalId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AppointmentOriginalStartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse) Response() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Comment() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SendUpdate() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto AppointmentCalendarLocalId() const; + [[nodiscard]] auto AppointmentLocalId() const; + [[nodiscard]] auto AppointmentOriginalStartTime() const; + [[nodiscard]] auto Response() const; + [[nodiscard]] auto Subject() const; + [[nodiscard]] auto Comment() const; + [[nodiscard]] auto SendUpdate() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -437,8 +431,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarUpdateMeetingResponseRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -447,31 +441,31 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection { - WINRT_IMPL_AUTO(winrt::event_token) SyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SyncRequested_revoker = impl::event_revoker::remove_SyncRequested>; - [[nodiscard]] SyncRequested_revoker SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SyncRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CreateOrUpdateAppointmentRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SyncRequested(winrt::event_token const& token) const noexcept; + auto CreateOrUpdateAppointmentRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CreateOrUpdateAppointmentRequested_revoker = impl::event_revoker::remove_CreateOrUpdateAppointmentRequested>; - [[nodiscard]] CreateOrUpdateAppointmentRequested_revoker CreateOrUpdateAppointmentRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CreateOrUpdateAppointmentRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CancelMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CreateOrUpdateAppointmentRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CreateOrUpdateAppointmentRequested(winrt::event_token const& token) const noexcept; + auto CancelMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CancelMeetingRequested_revoker = impl::event_revoker::remove_CancelMeetingRequested>; - [[nodiscard]] CancelMeetingRequested_revoker CancelMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CancelMeetingRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ForwardMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CancelMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CancelMeetingRequested(winrt::event_token const& token) const noexcept; + auto ForwardMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ForwardMeetingRequested_revoker = impl::event_revoker::remove_ForwardMeetingRequested>; - [[nodiscard]] ForwardMeetingRequested_revoker ForwardMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ForwardMeetingRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ProposeNewTimeForMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ForwardMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ForwardMeetingRequested(winrt::event_token const& token) const noexcept; + auto ProposeNewTimeForMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ProposeNewTimeForMeetingRequested_revoker = impl::event_revoker::remove_ProposeNewTimeForMeetingRequested>; - [[nodiscard]] ProposeNewTimeForMeetingRequested_revoker ProposeNewTimeForMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ProposeNewTimeForMeetingRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) UpdateMeetingResponseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ProposeNewTimeForMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ProposeNewTimeForMeetingRequested(winrt::event_token const& token) const noexcept; + auto UpdateMeetingResponseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UpdateMeetingResponseRequested_revoker = impl::event_revoker::remove_UpdateMeetingResponseRequested>; - [[nodiscard]] UpdateMeetingResponseRequested_revoker UpdateMeetingResponseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UpdateMeetingResponseRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Start() const; + [[nodiscard]] auto UpdateMeetingResponseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UpdateMeetingResponseRequested(winrt::event_token const& token) const noexcept; + auto Start() const; }; template <> struct consume { @@ -480,7 +474,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection) Connection() const; + [[nodiscard]] auto Connection() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.1.h index e1fa857f..8edcb9f7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Appointments_DataProvider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.2.h index affce542..3de7dd9c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Appointments_DataProvider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.0.h index 3e3accda..d591b0df 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Background_0_H @@ -39,7 +39,6 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation } WINRT_EXPORT namespace winrt::Windows::Devices::Sensors { - enum class ActivityType : int32_t; struct ISensorDataThreshold; } WINRT_EXPORT namespace winrt::Windows::Devices::SmartCards @@ -53,16 +52,12 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Sms WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; struct ValueSet; } WINRT_EXPORT namespace winrt::Windows::Networking @@ -1655,10 +1650,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IActivitySensorTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SubscribedActivities() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportInterval() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedActivities() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinimumReportInterval() const; + [[nodiscard]] auto SubscribedActivities() const; + [[nodiscard]] auto ReportInterval() const; + [[nodiscard]] auto SupportedActivities() const; + [[nodiscard]] auto MinimumReportInterval() const; }; template <> struct consume { @@ -1667,7 +1662,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IActivitySensorTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::ActivitySensorTrigger) Create(uint32_t reportIntervalInMilliseconds) const; + auto Create(uint32_t reportIntervalInMilliseconds) const; }; template <> struct consume { @@ -1676,8 +1671,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IAlarmApplicationManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::AlarmAccessStatus) GetAccessStatus() const; + auto RequestAccessAsync() const; + auto GetAccessStatus() const; }; template <> struct consume { @@ -1686,8 +1681,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IAppBroadcastTrigger { - WINRT_IMPL_AUTO(void) ProviderInfo(winrt::Windows::ApplicationModel::Background::AppBroadcastTriggerProviderInfo const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::AppBroadcastTriggerProviderInfo) ProviderInfo() const; + auto ProviderInfo(winrt::Windows::ApplicationModel::Background::AppBroadcastTriggerProviderInfo const& value) const; + [[nodiscard]] auto ProviderInfo() const; }; template <> struct consume { @@ -1696,7 +1691,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::AppBroadcastTrigger) CreateAppBroadcastTrigger(param::hstring const& providerKey) const; + auto CreateAppBroadcastTrigger(param::hstring const& providerKey) const; }; template <> struct consume { @@ -1705,18 +1700,18 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo { - WINRT_IMPL_AUTO(void) DisplayNameResource(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayNameResource() const; - WINRT_IMPL_AUTO(void) LogoResource(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LogoResource() const; - WINRT_IMPL_AUTO(void) VideoKeyFrameInterval(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) VideoKeyFrameInterval() const; - WINRT_IMPL_AUTO(void) MaxVideoBitrate(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxVideoBitrate() const; - WINRT_IMPL_AUTO(void) MaxVideoWidth(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxVideoWidth() const; - WINRT_IMPL_AUTO(void) MaxVideoHeight(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxVideoHeight() const; + auto DisplayNameResource(param::hstring const& value) const; + [[nodiscard]] auto DisplayNameResource() const; + auto LogoResource(param::hstring const& value) const; + [[nodiscard]] auto LogoResource() const; + auto VideoKeyFrameInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto VideoKeyFrameInterval() const; + auto MaxVideoBitrate(uint32_t value) const; + [[nodiscard]] auto MaxVideoBitrate() const; + auto MaxVideoWidth(uint32_t value) const; + [[nodiscard]] auto MaxVideoWidth() const; + auto MaxVideoHeight(uint32_t value) const; + [[nodiscard]] auto MaxVideoHeight() const; }; template <> struct consume { @@ -1725,8 +1720,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IApplicationTrigger { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAsync(winrt::Windows::Foundation::Collections::ValueSet const& arguments) const; + auto RequestAsync() const; + auto RequestAsync(winrt::Windows::Foundation::Collections::ValueSet const& arguments) const; }; template <> struct consume { @@ -1735,7 +1730,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IApplicationTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Arguments() const; + [[nodiscard]] auto Arguments() const; }; template <> struct consume { @@ -1760,12 +1755,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync(param::hstring const& applicationId) const; - WINRT_IMPL_AUTO(void) RemoveAccess() const; - WINRT_IMPL_AUTO(void) RemoveAccess(param::hstring const& applicationId) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundAccessStatus) GetAccessStatus() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundAccessStatus) GetAccessStatus(param::hstring const& applicationId) const; + auto RequestAccessAsync() const; + auto RequestAccessAsync(param::hstring const& applicationId) const; + auto RemoveAccess() const; + auto RemoveAccess(param::hstring const& applicationId) const; + auto GetAccessStatus() const; + auto GetAccessStatus(param::hstring const& applicationId) const; }; template <> struct consume { @@ -1774,7 +1769,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessKindAsync(winrt::Windows::ApplicationModel::Background::BackgroundAccessRequestKind const& requestedAccess, param::hstring const& reason) const; + auto RequestAccessKindAsync(winrt::Windows::ApplicationModel::Background::BackgroundAccessRequestKind const& requestedAccess, param::hstring const& reason) const; }; template <> struct consume { @@ -1783,7 +1778,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTask { - WINRT_IMPL_AUTO(void) Run(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const; + auto Run(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const; }; template <> struct consume { @@ -1792,13 +1787,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder { - WINRT_IMPL_AUTO(void) TaskEntryPoint(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TaskEntryPoint() const; - WINRT_IMPL_AUTO(void) SetTrigger(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger const& trigger) const; - WINRT_IMPL_AUTO(void) AddCondition(winrt::Windows::ApplicationModel::Background::IBackgroundCondition const& condition) const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistration) Register() const; + auto TaskEntryPoint(param::hstring const& value) const; + [[nodiscard]] auto TaskEntryPoint() const; + auto SetTrigger(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger const& trigger) const; + auto AddCondition(winrt::Windows::ApplicationModel::Background::IBackgroundCondition const& condition) const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + auto Register() const; }; template <> struct consume { @@ -1807,8 +1802,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder2 { - WINRT_IMPL_AUTO(void) CancelOnConditionLoss(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CancelOnConditionLoss() const; + auto CancelOnConditionLoss(bool value) const; + [[nodiscard]] auto CancelOnConditionLoss() const; }; template <> struct consume { @@ -1817,8 +1812,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder3 { - WINRT_IMPL_AUTO(void) IsNetworkRequested(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsNetworkRequested() const; + auto IsNetworkRequested(bool value) const; + [[nodiscard]] auto IsNetworkRequested() const; }; template <> struct consume { @@ -1827,8 +1822,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup) TaskGroup() const; - WINRT_IMPL_AUTO(void) TaskGroup(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup const& value) const; + [[nodiscard]] auto TaskGroup() const; + auto TaskGroup(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup const& value) const; }; template <> struct consume { @@ -1837,7 +1832,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder5 { - WINRT_IMPL_AUTO(void) SetTaskEntryPointClsid(winrt::guid const& TaskEntryPoint) const; + auto SetTaskEntryPointClsid(winrt::guid const& TaskEntryPoint) const; }; template <> struct consume { @@ -1846,8 +1841,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) InstanceId() const; - WINRT_IMPL_AUTO(void) CheckResult() const; + [[nodiscard]] auto InstanceId() const; + auto CheckResult() const; }; template <> struct consume { @@ -1856,7 +1851,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -1865,17 +1860,17 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) InstanceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistration) Task() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Progress() const; - WINRT_IMPL_AUTO(void) Progress(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) TriggerDetails() const; - WINRT_IMPL_AUTO(winrt::event_token) Canceled(winrt::Windows::ApplicationModel::Background::BackgroundTaskCanceledEventHandler const& cancelHandler) const; + [[nodiscard]] auto InstanceId() const; + [[nodiscard]] auto Task() const; + [[nodiscard]] auto Progress() const; + auto Progress(uint32_t value) const; + [[nodiscard]] auto TriggerDetails() const; + auto Canceled(winrt::Windows::ApplicationModel::Background::BackgroundTaskCanceledEventHandler const& cancelHandler) const; using Canceled_revoker = impl::event_revoker::remove_Canceled>; - [[nodiscard]] Canceled_revoker Canceled(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskCanceledEventHandler const& cancelHandler) const; - WINRT_IMPL_AUTO(void) Canceled(winrt::event_token const& cookie) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SuspendedCount() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskDeferral) GetDeferral() const; + [[nodiscard]] auto Canceled(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskCanceledEventHandler const& cancelHandler) const; + auto Canceled(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto SuspendedCount() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1884,7 +1879,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance2 { - WINRT_IMPL_AUTO(uint32_t) GetThrottleCount(winrt::Windows::ApplicationModel::Background::BackgroundTaskThrottleCounter const& counter) const; + auto GetThrottleCount(winrt::Windows::ApplicationModel::Background::BackgroundTaskThrottleCounter const& counter) const; }; template <> struct consume { @@ -1893,7 +1888,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -1902,8 +1897,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskProgressEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) InstanceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Progress() const; + [[nodiscard]] auto InstanceId() const; + [[nodiscard]] auto Progress() const; }; template <> struct consume { @@ -1912,17 +1907,17 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TaskId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(winrt::event_token) Progress(winrt::Windows::ApplicationModel::Background::BackgroundTaskProgressEventHandler const& handler) const; + [[nodiscard]] auto TaskId() const; + [[nodiscard]] auto Name() const; + auto Progress(winrt::Windows::ApplicationModel::Background::BackgroundTaskProgressEventHandler const& handler) const; using Progress_revoker = impl::event_revoker::remove_Progress>; - [[nodiscard]] Progress_revoker Progress(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskProgressEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Progress(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Completed(winrt::Windows::ApplicationModel::Background::BackgroundTaskCompletedEventHandler const& handler) const; + [[nodiscard]] auto Progress(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskProgressEventHandler const& handler) const; + auto Progress(winrt::event_token const& cookie) const noexcept; + auto Completed(winrt::Windows::ApplicationModel::Background::BackgroundTaskCompletedEventHandler const& handler) const; using Completed_revoker = impl::event_revoker::remove_Completed>; - [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskCompletedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Completed(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(void) Unregister(bool cancelTask) const; + [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskCompletedEventHandler const& handler) const; + auto Completed(winrt::event_token const& cookie) const noexcept; + auto Unregister(bool cancelTask) const; }; template <> struct consume { @@ -1931,7 +1926,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger) Trigger() const; + [[nodiscard]] auto Trigger() const; }; template <> struct consume { @@ -1940,7 +1935,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup) TaskGroup() const; + [[nodiscard]] auto TaskGroup() const; }; template <> struct consume { @@ -1949,13 +1944,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(winrt::event_token) BackgroundActivated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Name() const; + auto BackgroundActivated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using BackgroundActivated_revoker = impl::event_revoker::remove_BackgroundActivated>; - [[nodiscard]] BackgroundActivated_revoker BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BackgroundActivated(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) AllTasks() const; + [[nodiscard]] auto BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BackgroundActivated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AllTasks() const; }; template <> struct consume { @@ -1964,8 +1959,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroupFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup) Create(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup) CreateWithName(param::hstring const& id, param::hstring const& name) const; + auto Create(param::hstring const& id) const; + auto CreateWithName(param::hstring const& id, param::hstring const& name) const; }; template <> struct consume { @@ -1974,7 +1969,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) AllTasks() const; + [[nodiscard]] auto AllTasks() const; }; template <> struct consume { @@ -1983,8 +1978,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) AllTaskGroups() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup) GetTaskGroup(param::hstring const& groupId) const; + [[nodiscard]] auto AllTaskGroups() const; + auto GetTaskGroup(param::hstring const& groupId) const; }; template <> struct consume { @@ -2001,7 +1996,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBackgroundWorkCostStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundWorkCostValue) CurrentBackgroundWorkCost() const; + [[nodiscard]] auto CurrentBackgroundWorkCost() const; }; template <> struct consume { @@ -2010,7 +2005,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement) Advertisement() const; + [[nodiscard]] auto Advertisement() const; }; template <> struct consume { @@ -2019,14 +2014,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PreferredTransmitPowerLevelInDBm() const; - WINRT_IMPL_AUTO(void) PreferredTransmitPowerLevelInDBm(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) UseExtendedFormat() const; - WINRT_IMPL_AUTO(void) UseExtendedFormat(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAnonymous() const; - WINRT_IMPL_AUTO(void) IsAnonymous(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IncludeTransmitPowerLevel() const; - WINRT_IMPL_AUTO(void) IncludeTransmitPowerLevel(bool value) const; + [[nodiscard]] auto PreferredTransmitPowerLevelInDBm() const; + auto PreferredTransmitPowerLevelInDBm(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto UseExtendedFormat() const; + auto UseExtendedFormat(bool value) const; + [[nodiscard]] auto IsAnonymous() const; + auto IsAnonymous(bool value) const; + [[nodiscard]] auto IncludeTransmitPowerLevel() const; + auto IncludeTransmitPowerLevel(bool value) const; }; template <> struct consume { @@ -2035,14 +2030,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) MinSamplingInterval() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) MaxSamplingInterval() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) MinOutOfRangeTimeout() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) MaxOutOfRangeTimeout() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter) SignalStrengthFilter() const; - WINRT_IMPL_AUTO(void) SignalStrengthFilter(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter) AdvertisementFilter() const; - WINRT_IMPL_AUTO(void) AdvertisementFilter(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& value) const; + [[nodiscard]] auto MinSamplingInterval() const; + [[nodiscard]] auto MaxSamplingInterval() const; + [[nodiscard]] auto MinOutOfRangeTimeout() const; + [[nodiscard]] auto MaxOutOfRangeTimeout() const; + [[nodiscard]] auto SignalStrengthFilter() const; + auto SignalStrengthFilter(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter const& value) const; + [[nodiscard]] auto AdvertisementFilter() const; + auto AdvertisementFilter(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& value) const; }; template <> struct consume { @@ -2051,8 +2046,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowExtendedAdvertisements() const; - WINRT_IMPL_AUTO(void) AllowExtendedAdvertisements(bool value) const; + [[nodiscard]] auto AllowExtendedAdvertisements() const; + auto AllowExtendedAdvertisements(bool value) const; }; template <> struct consume { @@ -2069,9 +2064,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_ICachedFileUpdaterTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::CachedFileTarget) UpdateTarget() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateRequest) UpdateRequest() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanRequestUserInput() const; + [[nodiscard]] auto UpdateTarget() const; + [[nodiscard]] auto UpdateRequest() const; + [[nodiscard]] auto CanRequestUserInput() const; }; template <> struct consume { @@ -2112,7 +2107,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IContentPrefetchTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) WaitInterval() const; + [[nodiscard]] auto WaitInterval() const; }; template <> struct consume { @@ -2121,7 +2116,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IContentPrefetchTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::ContentPrefetchTrigger) Create(winrt::Windows::Foundation::TimeSpan const& waitInterval) const; + auto Create(winrt::Windows::Foundation::TimeSpan const& waitInterval) const; }; template <> struct consume { @@ -2130,8 +2125,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_ICustomSystemEventTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TriggerId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::CustomSystemEventTriggerRecurrence) Recurrence() const; + [[nodiscard]] auto TriggerId() const; + [[nodiscard]] auto Recurrence() const; }; template <> struct consume { @@ -2140,7 +2135,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_ICustomSystemEventTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::CustomSystemEventTrigger) Create(param::hstring const& triggerId, winrt::Windows::ApplicationModel::Background::CustomSystemEventTriggerRecurrence const& recurrence) const; + auto Create(param::hstring const& triggerId, winrt::Windows::ApplicationModel::Background::CustomSystemEventTriggerRecurrence const& recurrence) const; }; template <> struct consume { @@ -2149,10 +2144,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanMaintainConnection() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) MaintainConnection() const; - WINRT_IMPL_AUTO(void) MaintainConnection(bool value) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto CanMaintainConnection() const; + [[nodiscard]] auto MaintainConnection() const; + auto MaintainConnection(bool value) const; }; template <> struct consume { @@ -2161,7 +2156,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTriggerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { @@ -2170,8 +2165,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IDeviceManufacturerNotificationTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TriggerQualifier() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) OneShot() const; + [[nodiscard]] auto TriggerQualifier() const; + [[nodiscard]] auto OneShot() const; }; template <> struct consume { @@ -2180,7 +2175,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IDeviceManufacturerNotificationTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::DeviceManufacturerNotificationTrigger) Create(param::hstring const& triggerQualifier, bool oneShot) const; + auto Create(param::hstring const& triggerQualifier, bool oneShot) const; }; template <> struct consume { @@ -2189,8 +2184,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IDeviceServicingTrigger { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAsync(param::hstring const& deviceId, winrt::Windows::Foundation::TimeSpan const& expectedDuration) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAsync(param::hstring const& deviceId, winrt::Windows::Foundation::TimeSpan const& expectedDuration, param::hstring const& arguments) const; + auto RequestAsync(param::hstring const& deviceId, winrt::Windows::Foundation::TimeSpan const& expectedDuration) const; + auto RequestAsync(param::hstring const& deviceId, winrt::Windows::Foundation::TimeSpan const& expectedDuration, param::hstring const& arguments) const; }; template <> struct consume { @@ -2199,8 +2194,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IDeviceUseTrigger { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAsync(param::hstring const& deviceId, param::hstring const& arguments) const; + auto RequestAsync(param::hstring const& deviceId) const; + auto RequestAsync(param::hstring const& deviceId, param::hstring const& arguments) const; }; template <> struct consume { @@ -2225,7 +2220,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic) Characteristic() const; + [[nodiscard]] auto Characteristic() const; }; template <> struct consume { @@ -2234,7 +2229,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTrigger2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Background::BluetoothEventTriggeringMode) EventTriggeringMode() const; + [[nodiscard]] auto EventTriggeringMode() const; }; template <> struct consume { @@ -2243,7 +2238,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::GattCharacteristicNotificationTrigger) Create(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic const& characteristic) const; + auto Create(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic const& characteristic) const; }; template <> struct consume { @@ -2252,7 +2247,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTriggerFactory2 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::GattCharacteristicNotificationTrigger) Create(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic const& characteristic, winrt::Windows::Devices::Bluetooth::Background::BluetoothEventTriggeringMode const& eventTriggeringMode) const; + auto Create(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic const& characteristic, winrt::Windows::Devices::Bluetooth::Background::BluetoothEventTriggeringMode const& eventTriggeringMode) const; }; template <> struct consume { @@ -2261,10 +2256,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TriggerId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalService) Service() const; - WINRT_IMPL_AUTO(void) AdvertisingParameters(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters) AdvertisingParameters() const; + [[nodiscard]] auto TriggerId() const; + [[nodiscard]] auto Service() const; + auto AdvertisingParameters(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters const& value) const; + [[nodiscard]] auto AdvertisingParameters() const; }; template <> struct consume { @@ -2273,8 +2268,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IGattServiceProviderTriggerResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::GattServiceProviderTrigger) Trigger() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) Error() const; + [[nodiscard]] auto Trigger() const; + [[nodiscard]] auto Error() const; }; template <> struct consume { @@ -2283,7 +2278,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IGattServiceProviderTriggerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAsync(param::hstring const& triggerId, winrt::guid const& serviceUuid) const; + auto CreateAsync(param::hstring const& triggerId, winrt::guid const& serviceUuid) const; }; template <> struct consume { @@ -2292,8 +2287,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IGeovisitTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::VisitMonitoringScope) MonitoringScope() const; - WINRT_IMPL_AUTO(void) MonitoringScope(winrt::Windows::Devices::Geolocation::VisitMonitoringScope const& value) const; + [[nodiscard]] auto MonitoringScope() const; + auto MonitoringScope(winrt::Windows::Devices::Geolocation::VisitMonitoringScope const& value) const; }; template <> struct consume { @@ -2302,7 +2297,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_ILocationTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::LocationTriggerType) TriggerType() const; + [[nodiscard]] auto TriggerType() const; }; template <> struct consume { @@ -2311,7 +2306,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_ILocationTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::LocationTrigger) Create(winrt::Windows::ApplicationModel::Background::LocationTriggerType const& triggerType) const; + auto Create(winrt::Windows::ApplicationModel::Background::LocationTriggerType const& triggerType) const; }; template <> struct consume { @@ -2320,8 +2315,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IMaintenanceTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) FreshnessTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) OneShot() const; + [[nodiscard]] auto FreshnessTime() const; + [[nodiscard]] auto OneShot() const; }; template <> struct consume { @@ -2330,7 +2325,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IMaintenanceTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::MaintenanceTrigger) Create(uint32_t freshnessTime, bool oneShot) const; + auto Create(uint32_t freshnessTime, bool oneShot) const; }; template <> struct consume { @@ -2339,8 +2334,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IMediaProcessingTrigger { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAsync(winrt::Windows::Foundation::Collections::ValueSet const& arguments) const; + auto RequestAsync() const; + auto RequestAsync(winrt::Windows::Foundation::Collections::ValueSet const& arguments) const; }; template <> struct consume { @@ -2357,7 +2352,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_INetworkOperatorNotificationTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NetworkAccountId() const; + [[nodiscard]] auto NetworkAccountId() const; }; template <> struct consume { @@ -2366,7 +2361,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_INetworkOperatorNotificationTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::NetworkOperatorNotificationTrigger) Create(param::hstring const& networkAccountId) const; + auto Create(param::hstring const& networkAccountId) const; }; template <> struct consume { @@ -2375,8 +2370,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IPhoneTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(bool) OneShot() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::Background::PhoneTriggerType) TriggerType() const; + [[nodiscard]] auto OneShot() const; + [[nodiscard]] auto TriggerType() const; }; template <> struct consume { @@ -2385,7 +2380,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IPhoneTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::PhoneTrigger) Create(winrt::Windows::ApplicationModel::Calls::Background::PhoneTriggerType const& type, bool oneShot) const; + auto Create(winrt::Windows::ApplicationModel::Calls::Background::PhoneTriggerType const& type, bool oneShot) const; }; template <> struct consume { @@ -2394,7 +2389,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IPushNotificationTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::PushNotificationTrigger) Create(param::hstring const& applicationId) const; + auto Create(param::hstring const& applicationId) const; }; template <> struct consume { @@ -2411,14 +2406,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Background::RfcommInboundConnectionInformation) InboundConnection() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Background::RfcommOutboundConnectionInformation) OutboundConnection() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowMultipleConnections() const; - WINRT_IMPL_AUTO(void) AllowMultipleConnections(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketProtectionLevel) ProtectionLevel() const; - WINRT_IMPL_AUTO(void) ProtectionLevel(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) RemoteHostName() const; - WINRT_IMPL_AUTO(void) RemoteHostName(winrt::Windows::Networking::HostName const& value) const; + [[nodiscard]] auto InboundConnection() const; + [[nodiscard]] auto OutboundConnection() const; + [[nodiscard]] auto AllowMultipleConnections() const; + auto AllowMultipleConnections(bool value) const; + [[nodiscard]] auto ProtectionLevel() const; + auto ProtectionLevel(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& value) const; + [[nodiscard]] auto RemoteHostName() const; + auto RemoteHostName(winrt::Windows::Networking::HostName const& value) const; }; template <> struct consume { @@ -2443,7 +2438,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_ISensorDataThresholdTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SensorDataThresholdTrigger) Create(winrt::Windows::Devices::Sensors::ISensorDataThreshold const& threshold) const; + auto Create(winrt::Windows::Devices::Sensors::ISensorDataThreshold const& threshold) const; }; template <> struct consume { @@ -2452,7 +2447,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_ISmartCardTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardTriggerType) TriggerType() const; + [[nodiscard]] auto TriggerType() const; }; template <> struct consume { @@ -2461,7 +2456,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_ISmartCardTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SmartCardTrigger) Create(winrt::Windows::Devices::SmartCards::SmartCardTriggerType const& triggerType) const; + auto Create(winrt::Windows::Devices::SmartCards::SmartCardTriggerType const& triggerType) const; }; template <> struct consume { @@ -2470,7 +2465,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_ISmsMessageReceivedTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SmsMessageReceivedTrigger) Create(winrt::Windows::Devices::Sms::SmsFilterRules const& filterRules) const; + auto Create(winrt::Windows::Devices::Sms::SmsFilterRules const& filterRules) const; }; template <> struct consume { @@ -2479,7 +2474,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_ISocketActivityTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsWakeFromLowPowerSupported() const; + [[nodiscard]] auto IsWakeFromLowPowerSupported() const; }; template <> struct consume { @@ -2488,7 +2483,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IStorageLibraryChangeTrackerTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::StorageLibraryChangeTrackerTrigger) Create(winrt::Windows::Storage::StorageLibraryChangeTracker const& tracker) const; + auto Create(winrt::Windows::Storage::StorageLibraryChangeTracker const& tracker) const; }; template <> struct consume { @@ -2505,8 +2500,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IStorageLibraryContentChangedTriggerStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::StorageLibraryContentChangedTrigger) Create(winrt::Windows::Storage::StorageLibrary const& storageLibrary) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::StorageLibraryContentChangedTrigger) CreateFromLibraries(param::iterable const& storageLibraries) const; + auto Create(winrt::Windows::Storage::StorageLibrary const& storageLibrary) const; + auto CreateFromLibraries(param::iterable const& storageLibraries) const; }; template <> struct consume { @@ -2515,7 +2510,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_ISystemCondition { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SystemConditionType) ConditionType() const; + [[nodiscard]] auto ConditionType() const; }; template <> struct consume { @@ -2524,7 +2519,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_ISystemConditionFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SystemCondition) Create(winrt::Windows::ApplicationModel::Background::SystemConditionType const& conditionType) const; + auto Create(winrt::Windows::ApplicationModel::Background::SystemConditionType const& conditionType) const; }; template <> struct consume { @@ -2533,8 +2528,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_ISystemTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(bool) OneShot() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SystemTriggerType) TriggerType() const; + [[nodiscard]] auto OneShot() const; + [[nodiscard]] auto TriggerType() const; }; template <> struct consume { @@ -2543,7 +2538,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_ISystemTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SystemTrigger) Create(winrt::Windows::ApplicationModel::Background::SystemTriggerType const& triggerType, bool oneShot) const; + auto Create(winrt::Windows::ApplicationModel::Background::SystemTriggerType const& triggerType, bool oneShot) const; }; template <> struct consume { @@ -2552,8 +2547,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_ITimeTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) FreshnessTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) OneShot() const; + [[nodiscard]] auto FreshnessTime() const; + [[nodiscard]] auto OneShot() const; }; template <> struct consume { @@ -2562,7 +2557,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_ITimeTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::TimeTrigger) Create(uint32_t freshnessTime, bool oneShot) const; + auto Create(uint32_t freshnessTime, bool oneShot) const; }; template <> struct consume { @@ -2571,7 +2566,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IToastNotificationActionTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::ToastNotificationActionTrigger) Create(param::hstring const& applicationId) const; + auto Create(param::hstring const& applicationId) const; }; template <> struct consume { @@ -2580,7 +2575,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IToastNotificationHistoryChangedTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::ToastNotificationHistoryChangedTrigger) Create(param::hstring const& applicationId) const; + auto Create(param::hstring const& applicationId) const; }; template <> struct consume { @@ -2589,7 +2584,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Background_IUserNotificationChangedTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::UserNotificationChangedTrigger) Create(winrt::Windows::UI::Notifications::NotificationKinds const& notificationKinds) const; + auto Create(winrt::Windows::UI::Notifications::NotificationKinds const& notificationKinds) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.1.h index d374dfb5..b6f288f3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Background_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.2.h index b16add87..b67a19e2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Background_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.0.h index 3f103537..f9c93c23 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Calls_0_H @@ -8,16 +8,11 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Contacts struct Contact; struct ContactPhone; } -WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration -{ - enum class DeviceAccessStatus : int32_t; -} WINRT_EXPORT namespace winrt::Windows::Foundation { template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; @@ -25,9 +20,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::System { @@ -932,7 +924,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_ICallAnswerEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia) AcceptedMedia() const; + [[nodiscard]] auto AcceptedMedia() const; }; template <> struct consume { @@ -941,7 +933,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_ICallRejectEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallRejectReason) RejectReason() const; + [[nodiscard]] auto RejectReason() const; }; template <> struct consume { @@ -950,7 +942,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_ICallStateChangeEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallState) State() const; + [[nodiscard]] auto State() const; }; template <> struct consume { @@ -959,7 +951,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_ILockScreenCallEndCallDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -968,8 +960,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_ILockScreenCallEndRequestedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::LockScreenCallEndCallDeferral) GetDeferral() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Deadline() const; + auto GetDeferral() const; + [[nodiscard]] auto Deadline() const; }; template <> struct consume { @@ -978,17 +970,17 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_ILockScreenCallUI { - WINRT_IMPL_AUTO(void) Dismiss() const; - WINRT_IMPL_AUTO(winrt::event_token) EndRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Dismiss() const; + auto EndRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EndRequested_revoker = impl::event_revoker::remove_EndRequested>; - [[nodiscard]] EndRequested_revoker EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EndRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EndRequested(winrt::event_token const& token) const noexcept; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CallTitle() const; - WINRT_IMPL_AUTO(void) CallTitle(param::hstring const& value) const; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CallTitle() const; + auto CallTitle(param::hstring const& value) const; }; template <> struct consume { @@ -997,7 +989,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IMuteChangeEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Muted() const; + [[nodiscard]] auto Muted() const; }; template <> struct consume { @@ -1006,11 +998,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) BlockUnknownNumbers() const; - WINRT_IMPL_AUTO(void) BlockUnknownNumbers(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) BlockPrivateNumbers() const; - WINRT_IMPL_AUTO(void) BlockPrivateNumbers(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetCallBlockingListAsync(param::async_iterable const& phoneNumberList) const; + [[nodiscard]] auto BlockUnknownNumbers() const; + auto BlockUnknownNumbers(bool value) const; + [[nodiscard]] auto BlockPrivateNumbers() const; + auto BlockPrivateNumbers(bool value) const; + auto SetCallBlockingListAsync(param::async_iterable const& phoneNumberList) const; }; template <> struct consume { @@ -1019,40 +1011,40 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryAddress) Address() const; - WINRT_IMPL_AUTO(void) Address(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryAddress const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Duration() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCallerIdBlocked() const; - WINRT_IMPL_AUTO(void) IsCallerIdBlocked(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEmergency() const; - WINRT_IMPL_AUTO(void) IsEmergency(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsIncoming() const; - WINRT_IMPL_AUTO(void) IsIncoming(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMissed() const; - WINRT_IMPL_AUTO(void) IsMissed(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRinging() const; - WINRT_IMPL_AUTO(void) IsRinging(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSeen() const; - WINRT_IMPL_AUTO(void) IsSeen(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSuppressed() const; - WINRT_IMPL_AUTO(void) IsSuppressed(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVoicemail() const; - WINRT_IMPL_AUTO(void) IsVoicemail(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryMedia) Media() const; - WINRT_IMPL_AUTO(void) Media(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryMedia const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryOtherAppReadAccess) OtherAppReadAccess() const; - WINRT_IMPL_AUTO(void) OtherAppReadAccess(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryOtherAppReadAccess const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const; - WINRT_IMPL_AUTO(void) RemoteId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SourceDisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SourceId() const; - WINRT_IMPL_AUTO(void) SourceId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistorySourceIdKind) SourceIdKind() const; - WINRT_IMPL_AUTO(void) SourceIdKind(winrt::Windows::ApplicationModel::Calls::PhoneCallHistorySourceIdKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) StartTime() const; - WINRT_IMPL_AUTO(void) StartTime(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Address() const; + auto Address(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryAddress const& value) const; + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsCallerIdBlocked() const; + auto IsCallerIdBlocked(bool value) const; + [[nodiscard]] auto IsEmergency() const; + auto IsEmergency(bool value) const; + [[nodiscard]] auto IsIncoming() const; + auto IsIncoming(bool value) const; + [[nodiscard]] auto IsMissed() const; + auto IsMissed(bool value) const; + [[nodiscard]] auto IsRinging() const; + auto IsRinging(bool value) const; + [[nodiscard]] auto IsSeen() const; + auto IsSeen(bool value) const; + [[nodiscard]] auto IsSuppressed() const; + auto IsSuppressed(bool value) const; + [[nodiscard]] auto IsVoicemail() const; + auto IsVoicemail(bool value) const; + [[nodiscard]] auto Media() const; + auto Media(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryMedia const& value) const; + [[nodiscard]] auto OtherAppReadAccess() const; + auto OtherAppReadAccess(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryOtherAppReadAccess const& value) const; + [[nodiscard]] auto RemoteId() const; + auto RemoteId(param::hstring const& value) const; + [[nodiscard]] auto SourceDisplayName() const; + [[nodiscard]] auto SourceId() const; + auto SourceId(param::hstring const& value) const; + [[nodiscard]] auto SourceIdKind() const; + auto SourceIdKind(winrt::Windows::ApplicationModel::Calls::PhoneCallHistorySourceIdKind const& value) const; + [[nodiscard]] auto StartTime() const; + auto StartTime(winrt::Windows::Foundation::DateTime const& value) const; }; template <> struct consume { @@ -1061,14 +1053,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContactId() const; - WINRT_IMPL_AUTO(void) ContactId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RawAddress() const; - WINRT_IMPL_AUTO(void) RawAddress(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryRawAddressKind) RawAddressKind() const; - WINRT_IMPL_AUTO(void) RawAddressKind(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryRawAddressKind const& value) const; + [[nodiscard]] auto ContactId() const; + auto ContactId(param::hstring const& value) const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto RawAddress() const; + auto RawAddress(param::hstring const& value) const; + [[nodiscard]] auto RawAddressKind() const; + auto RawAddressKind(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryRawAddressKind const& value) const; }; template <> struct consume { @@ -1077,7 +1069,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddressFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryAddress) Create(param::hstring const& rawAddress, winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryRawAddressKind const& rawAddressKind) const; + auto Create(param::hstring const& rawAddress, winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryRawAddressKind const& rawAddressKind) const; }; template <> struct consume { @@ -1086,9 +1078,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryQueryOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryDesiredMedia) DesiredMedia() const; - WINRT_IMPL_AUTO(void) DesiredMedia(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryDesiredMedia const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SourceIds() const; + [[nodiscard]] auto DesiredMedia() const; + auto DesiredMedia(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryDesiredMedia const& value) const; + [[nodiscard]] auto SourceIds() const; }; template <> struct consume { @@ -1097,7 +1089,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryReader { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ReadBatchAsync() const; + auto ReadBatchAsync() const; }; template <> struct consume { @@ -1106,8 +1098,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerForUser { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType const& accessType) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + auto RequestStoreAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType const& accessType) const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -1116,7 +1108,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType const& accessType) const; + auto RequestStoreAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType const& accessType) const; }; template <> struct consume { @@ -1125,7 +1117,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryManagerForUser) GetForUser(winrt::Windows::System::User const& user) const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -1134,18 +1126,18 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetEntryAsync(param::hstring const& callHistoryEntryId) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryReader) GetEntryReader() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryReader) GetEntryReader(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryOptions const& queryOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveEntryAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry const& callHistoryEntry) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteEntryAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry const& callHistoryEntry) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteEntriesAsync(param::async_iterable const& callHistoryEntries) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkEntryAsSeenAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry const& callHistoryEntry) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkEntriesAsSeenAsync(param::async_iterable const& callHistoryEntries) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetUnseenCountAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkAllAsSeenAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetSourcesUnseenCountAsync(param::async_iterable const& sourceIds) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkSourcesAsSeenAsync(param::async_iterable const& sourceIds) const; + auto GetEntryAsync(param::hstring const& callHistoryEntryId) const; + auto GetEntryReader() const; + auto GetEntryReader(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryOptions const& queryOptions) const; + auto SaveEntryAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry const& callHistoryEntry) const; + auto DeleteEntryAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry const& callHistoryEntry) const; + auto DeleteEntriesAsync(param::async_iterable const& callHistoryEntries) const; + auto MarkEntryAsSeenAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry const& callHistoryEntry) const; + auto MarkEntriesAsSeenAsync(param::async_iterable const& callHistoryEntries) const; + auto GetUnseenCountAsync() const; + auto MarkAllAsSeenAsync() const; + auto GetSourcesUnseenCountAsync(param::async_iterable const& sourceIds) const; + auto MarkSourcesAsSeenAsync(param::async_iterable const& sourceIds) const; }; template <> struct consume { @@ -1154,7 +1146,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics { - WINRT_IMPL_AUTO(void) ShowPhoneCallUI(param::hstring const& phoneNumber, param::hstring const& displayName) const; + auto ShowPhoneCallUI(param::hstring const& phoneNumber, param::hstring const& displayName) const; }; template <> struct consume { @@ -1163,14 +1155,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2 { - WINRT_IMPL_AUTO(winrt::event_token) CallStateChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + auto CallStateChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using CallStateChanged_revoker = impl::event_revoker::remove_CallStateChanged>; - [[nodiscard]] CallStateChanged_revoker CallStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CallStateChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCallActive() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCallIncoming() const; - WINRT_IMPL_AUTO(void) ShowPhoneCallSettingsUI() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync() const; + [[nodiscard]] auto CallStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto CallStateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsCallActive() const; + [[nodiscard]] auto IsCallIncoming() const; + auto ShowPhoneCallSettingsUI() const; + auto RequestStoreAsync() const; }; template <> struct consume { @@ -1179,9 +1171,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneCallStore { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsEmergencyPhoneNumberAsync(param::hstring const& number) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultLineAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher) RequestLineWatcher() const; + auto IsEmergencyPhoneNumberAsync(param::hstring const& number) const; + auto GetDefaultLineAsync() const; + auto RequestLineWatcher() const; }; template <> struct consume { @@ -1190,7 +1182,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneCallVideoCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVideoCallingCapable() const; + [[nodiscard]] auto IsVideoCallingCapable() const; }; template <> struct consume { @@ -1199,7 +1191,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneCallVideoCapabilitiesManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCapabilitiesAsync(param::hstring const& phoneNumber) const; + auto GetCapabilitiesAsync(param::hstring const& phoneNumber) const; }; template <> struct consume { @@ -1208,18 +1200,18 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneDialOptions { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Number() const; - WINRT_IMPL_AUTO(void) Number(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) Contact() const; - WINRT_IMPL_AUTO(void) Contact(winrt::Windows::ApplicationModel::Contacts::Contact const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactPhone) ContactPhone() const; - WINRT_IMPL_AUTO(void) ContactPhone(winrt::Windows::ApplicationModel::Contacts::ContactPhone const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallMedia) Media() const; - WINRT_IMPL_AUTO(void) Media(winrt::Windows::ApplicationModel::Calls::PhoneCallMedia const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneAudioRoutingEndpoint) AudioEndpoint() const; - WINRT_IMPL_AUTO(void) AudioEndpoint(winrt::Windows::ApplicationModel::Calls::PhoneAudioRoutingEndpoint const& value) const; + [[nodiscard]] auto Number() const; + auto Number(param::hstring const& value) const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto Contact() const; + auto Contact(winrt::Windows::ApplicationModel::Contacts::Contact const& value) const; + [[nodiscard]] auto ContactPhone() const; + auto ContactPhone(winrt::Windows::ApplicationModel::Contacts::ContactPhone const& value) const; + [[nodiscard]] auto Media() const; + auto Media(winrt::Windows::ApplicationModel::Calls::PhoneCallMedia const& value) const; + [[nodiscard]] auto AudioEndpoint() const; + auto AudioEndpoint(winrt::Windows::ApplicationModel::Calls::PhoneAudioRoutingEndpoint const& value) const; }; template <> struct consume { @@ -1228,25 +1220,25 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneLine { - WINRT_IMPL_AUTO(winrt::event_token) LineChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LineChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LineChanged_revoker = impl::event_revoker::remove_LineChanged>; - [[nodiscard]] LineChanged_revoker LineChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LineChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DisplayColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneNetworkState) NetworkState() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneVoicemail) Voicemail() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NetworkName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineCellularDetails) CellularDetails() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineTransport) Transport() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanDial() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SupportsTile() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallVideoCapabilities) VideoCallingCapabilities() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineConfiguration) LineConfiguration() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsImmediateDialNumberAsync(param::hstring const& number) const; - WINRT_IMPL_AUTO(void) Dial(param::hstring const& number, param::hstring const& displayName) const; - WINRT_IMPL_AUTO(void) DialWithOptions(winrt::Windows::ApplicationModel::Calls::PhoneDialOptions const& options) const; + [[nodiscard]] auto LineChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LineChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayColor() const; + [[nodiscard]] auto NetworkState() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Voicemail() const; + [[nodiscard]] auto NetworkName() const; + [[nodiscard]] auto CellularDetails() const; + [[nodiscard]] auto Transport() const; + [[nodiscard]] auto CanDial() const; + [[nodiscard]] auto SupportsTile() const; + [[nodiscard]] auto VideoCallingCapabilities() const; + [[nodiscard]] auto LineConfiguration() const; + auto IsImmediateDialNumberAsync(param::hstring const& number) const; + auto Dial(param::hstring const& number, param::hstring const& displayName) const; + auto DialWithOptions(winrt::Windows::ApplicationModel::Calls::PhoneDialOptions const& options) const; }; template <> struct consume { @@ -1255,8 +1247,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneLine2 { - WINRT_IMPL_AUTO(void) EnableTextReply(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TransportDeviceId() const; + auto EnableTextReply(bool value) const; + [[nodiscard]] auto TransportDeviceId() const; }; template <> struct consume { @@ -1265,11 +1257,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneSimState) SimState() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SimSlotIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsModemOn() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RegistrationRejectCode() const; - WINRT_IMPL_AUTO(hstring) GetNetworkOperatorDisplayText(winrt::Windows::ApplicationModel::Calls::PhoneLineNetworkOperatorDisplayTextLocation const& location) const; + [[nodiscard]] auto SimState() const; + [[nodiscard]] auto SimSlotIndex() const; + [[nodiscard]] auto IsModemOn() const; + [[nodiscard]] auto RegistrationRejectCode() const; + auto GetNetworkOperatorDisplayText(winrt::Windows::ApplicationModel::Calls::PhoneLineNetworkOperatorDisplayTextLocation const& location) const; }; template <> struct consume { @@ -1278,8 +1270,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneLineConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVideoCallingEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) ExtendedProperties() const; + [[nodiscard]] auto IsVideoCallingEnabled() const; + [[nodiscard]] auto ExtendedProperties() const; }; template <> struct consume { @@ -1288,7 +1280,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneLineStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(winrt::guid const& lineId) const; + auto FromIdAsync(winrt::guid const& lineId) const; }; template <> struct consume { @@ -1297,16 +1289,16 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineTransport) Transport() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; - WINRT_IMPL_AUTO(void) RegisterApp() const; - WINRT_IMPL_AUTO(void) RegisterAppForUser(winrt::Windows::System::User const& user) const; - WINRT_IMPL_AUTO(void) UnregisterApp() const; - WINRT_IMPL_AUTO(void) UnregisterAppForUser(winrt::Windows::System::User const& user) const; - WINRT_IMPL_AUTO(bool) IsRegistered() const; - WINRT_IMPL_AUTO(bool) Connect() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConnectAsync() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Transport() const; + auto RequestAccessAsync() const; + auto RegisterApp() const; + auto RegisterAppForUser(winrt::Windows::System::User const& user) const; + auto UnregisterApp() const; + auto UnregisterAppForUser(winrt::Windows::System::User const& user) const; + auto IsRegistered() const; + auto Connect() const; + auto ConnectAsync() const; }; template <> struct consume { @@ -1315,9 +1307,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDeviceStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineTransportDevice) FromId(param::hstring const& id) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::Windows::ApplicationModel::Calls::PhoneLineTransport const& transport) const; + auto FromId(param::hstring const& id) const; + auto GetDeviceSelector() const; + auto GetDeviceSelector(winrt::Windows::ApplicationModel::Calls::PhoneLineTransport const& transport) const; }; template <> struct consume { @@ -1326,29 +1318,29 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher { - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(winrt::event_token) LineAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Start() const; + auto Stop() const; + auto LineAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LineAdded_revoker = impl::event_revoker::remove_LineAdded>; - [[nodiscard]] LineAdded_revoker LineAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LineAdded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LineRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto LineAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LineAdded(winrt::event_token const& token) const noexcept; + auto LineRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LineRemoved_revoker = impl::event_revoker::remove_LineRemoved>; - [[nodiscard]] LineRemoved_revoker LineRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LineRemoved(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LineUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto LineRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LineRemoved(winrt::event_token const& token) const noexcept; + auto LineUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LineUpdated_revoker = impl::event_revoker::remove_LineUpdated>; - [[nodiscard]] LineUpdated_revoker LineUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LineUpdated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto LineUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LineUpdated(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Stopped(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherStatus) Status() const; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -1357,7 +1349,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneLineWatcherEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) LineId() const; + [[nodiscard]] auto LineId() const; }; template <> struct consume { @@ -1366,10 +1358,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IPhoneVoicemail { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Number() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MessageCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneVoicemailType) Type() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DialVoicemailAsync() const; + [[nodiscard]] auto Number() const; + [[nodiscard]] auto MessageCount() const; + [[nodiscard]] auto Type() const; + auto DialVoicemailAsync() const; }; template <> struct consume { @@ -1378,19 +1370,19 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReserveCallResourcesAsync(param::hstring const& taskEntryPoint) const; - WINRT_IMPL_AUTO(winrt::event_token) MuteStateChanged(winrt::Windows::Foundation::TypedEventHandler const& muteChangeHandler) const; + auto ReserveCallResourcesAsync(param::hstring const& taskEntryPoint) const; + auto MuteStateChanged(winrt::Windows::Foundation::TypedEventHandler const& muteChangeHandler) const; using MuteStateChanged_revoker = impl::event_revoker::remove_MuteStateChanged>; - [[nodiscard]] MuteStateChanged_revoker MuteStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& muteChangeHandler) const; - WINRT_IMPL_AUTO(void) MuteStateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) RequestNewIncomingCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, winrt::Windows::Foundation::Uri const& contactImage, param::hstring const& serviceName, winrt::Windows::Foundation::Uri const& brandingImage, param::hstring const& callDetails, winrt::Windows::Foundation::Uri const& ringtone, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media, winrt::Windows::Foundation::TimeSpan const& ringTimeout) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) RequestNewOutgoingCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& serviceName, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const; - WINRT_IMPL_AUTO(void) NotifyMuted() const; - WINRT_IMPL_AUTO(void) NotifyUnmuted() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) RequestOutgoingUpgradeToVideoCall(winrt::guid const& callUpgradeGuid, param::hstring const& context, param::hstring const& contactName, param::hstring const& serviceName) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) RequestIncomingUpgradeToVideoCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, winrt::Windows::Foundation::Uri const& contactImage, param::hstring const& serviceName, winrt::Windows::Foundation::Uri const& brandingImage, param::hstring const& callDetails, winrt::Windows::Foundation::Uri const& ringtone, winrt::Windows::Foundation::TimeSpan const& ringTimeout) const; - WINRT_IMPL_AUTO(void) TerminateCellularCall(winrt::guid const& callUpgradeGuid) const; - WINRT_IMPL_AUTO(void) CancelUpgrade(winrt::guid const& callUpgradeGuid) const; + [[nodiscard]] auto MuteStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& muteChangeHandler) const; + auto MuteStateChanged(winrt::event_token const& token) const noexcept; + auto RequestNewIncomingCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, winrt::Windows::Foundation::Uri const& contactImage, param::hstring const& serviceName, winrt::Windows::Foundation::Uri const& brandingImage, param::hstring const& callDetails, winrt::Windows::Foundation::Uri const& ringtone, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media, winrt::Windows::Foundation::TimeSpan const& ringTimeout) const; + auto RequestNewOutgoingCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& serviceName, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const; + auto NotifyMuted() const; + auto NotifyUnmuted() const; + auto RequestOutgoingUpgradeToVideoCall(winrt::guid const& callUpgradeGuid, param::hstring const& context, param::hstring const& contactName, param::hstring const& serviceName) const; + auto RequestIncomingUpgradeToVideoCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, winrt::Windows::Foundation::Uri const& contactImage, param::hstring const& serviceName, winrt::Windows::Foundation::Uri const& brandingImage, param::hstring const& callDetails, winrt::Windows::Foundation::Uri const& ringtone, winrt::Windows::Foundation::TimeSpan const& ringTimeout) const; + auto TerminateCellularCall(winrt::guid const& callUpgradeGuid) const; + auto CancelUpgrade(winrt::guid const& callUpgradeGuid) const; }; template <> struct consume { @@ -1399,7 +1391,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator2 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) SetupNewAcceptedCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, param::hstring const& serviceName, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const; + auto SetupNewAcceptedCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, param::hstring const& serviceName, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const; }; template <> struct consume { @@ -1408,8 +1400,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator3 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) RequestNewAppInitiatedCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, param::hstring const& serviceName, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) RequestNewIncomingCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, winrt::Windows::Foundation::Uri const& contactImage, param::hstring const& serviceName, winrt::Windows::Foundation::Uri const& brandingImage, param::hstring const& callDetails, winrt::Windows::Foundation::Uri const& ringtone, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media, winrt::Windows::Foundation::TimeSpan const& ringTimeout, param::hstring const& contactRemoteId) const; + auto RequestNewAppInitiatedCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, param::hstring const& serviceName, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const; + auto RequestNewIncomingCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& contactNumber, winrt::Windows::Foundation::Uri const& contactImage, param::hstring const& serviceName, winrt::Windows::Foundation::Uri const& brandingImage, param::hstring const& callDetails, winrt::Windows::Foundation::Uri const& ringtone, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media, winrt::Windows::Foundation::TimeSpan const& ringTimeout, param::hstring const& contactRemoteId) const; }; template <> struct consume { @@ -1418,7 +1410,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator4 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReserveCallResourcesAsync() const; + auto ReserveCallResourcesAsync() const; }; template <> struct consume { @@ -1427,7 +1419,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IVoipCallCoordinatorStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipCallCoordinator) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -1436,36 +1428,36 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IVoipPhoneCall { - WINRT_IMPL_AUTO(winrt::event_token) EndRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EndRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EndRequested_revoker = impl::event_revoker::remove_EndRequested>; - [[nodiscard]] EndRequested_revoker EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EndRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) HoldRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EndRequested(winrt::event_token const& token) const noexcept; + auto HoldRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using HoldRequested_revoker = impl::event_revoker::remove_HoldRequested>; - [[nodiscard]] HoldRequested_revoker HoldRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) HoldRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ResumeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto HoldRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto HoldRequested(winrt::event_token const& token) const noexcept; + auto ResumeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ResumeRequested_revoker = impl::event_revoker::remove_ResumeRequested>; - [[nodiscard]] ResumeRequested_revoker ResumeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ResumeRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AnswerRequested(winrt::Windows::Foundation::TypedEventHandler const& acceptHandler) const; + [[nodiscard]] auto ResumeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ResumeRequested(winrt::event_token const& token) const noexcept; + auto AnswerRequested(winrt::Windows::Foundation::TypedEventHandler const& acceptHandler) const; using AnswerRequested_revoker = impl::event_revoker::remove_AnswerRequested>; - [[nodiscard]] AnswerRequested_revoker AnswerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& acceptHandler) const; - WINRT_IMPL_AUTO(void) AnswerRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RejectRequested(winrt::Windows::Foundation::TypedEventHandler const& rejectHandler) const; + [[nodiscard]] auto AnswerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& acceptHandler) const; + auto AnswerRequested(winrt::event_token const& token) const noexcept; + auto RejectRequested(winrt::Windows::Foundation::TypedEventHandler const& rejectHandler) const; using RejectRequested_revoker = impl::event_revoker::remove_RejectRequested>; - [[nodiscard]] RejectRequested_revoker RejectRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& rejectHandler) const; - WINRT_IMPL_AUTO(void) RejectRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) NotifyCallHeld() const; - WINRT_IMPL_AUTO(void) NotifyCallActive() const; - WINRT_IMPL_AUTO(void) NotifyCallEnded() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContactName() const; - WINRT_IMPL_AUTO(void) ContactName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) StartTime() const; - WINRT_IMPL_AUTO(void) StartTime(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia) CallMedia() const; - WINRT_IMPL_AUTO(void) CallMedia(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& value) const; - WINRT_IMPL_AUTO(void) NotifyCallReady() const; + [[nodiscard]] auto RejectRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& rejectHandler) const; + auto RejectRequested(winrt::event_token const& token) const noexcept; + auto NotifyCallHeld() const; + auto NotifyCallActive() const; + auto NotifyCallEnded() const; + [[nodiscard]] auto ContactName() const; + auto ContactName(param::hstring const& value) const; + [[nodiscard]] auto StartTime() const; + auto StartTime(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto CallMedia() const; + auto CallMedia(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& value) const; + auto NotifyCallReady() const; }; template <> struct consume { @@ -1474,7 +1466,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IVoipPhoneCall2 { - WINRT_IMPL_AUTO(void) TryShowAppUI() const; + auto TryShowAppUI() const; }; template <> struct consume { @@ -1483,7 +1475,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_IVoipPhoneCall3 { - WINRT_IMPL_AUTO(void) NotifyCallAccepted(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const; + auto NotifyCallAccepted(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.1.h index 12384059..5239d268 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Calls_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.2.h index 32782b9f..6380dc13 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Calls_2_H @@ -99,7 +99,7 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Calls static auto ShowPhoneCallUI(param::hstring const& phoneNumber, param::hstring const& displayName); static auto CallStateChanged(winrt::Windows::Foundation::EventHandler const& handler); using CallStateChanged_revoker = impl::factory_event_revoker::remove_CallStateChanged>; - [[nodiscard]] static CallStateChanged_revoker CallStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto CallStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto CallStateChanged(winrt::event_token const& token); [[nodiscard]] static auto IsCallActive(); [[nodiscard]] static auto IsCallIncoming(); diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.0.h index a6f041db..b3fa49ae 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Calls_Background_0_H @@ -153,9 +153,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_Background_IPhoneCallBlockedTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PhoneNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) LineId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::Background::PhoneCallBlockedReason) CallBlockedReason() const; + [[nodiscard]] auto PhoneNumber() const; + [[nodiscard]] auto LineId() const; + [[nodiscard]] auto CallBlockedReason() const; }; template <> struct consume { @@ -164,8 +164,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_Background_IPhoneCallOriginDataRequestTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) RequestId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PhoneNumber() const; + [[nodiscard]] auto RequestId() const; + [[nodiscard]] auto PhoneNumber() const; }; template <> struct consume { @@ -174,12 +174,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) LineId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PhoneNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) DismissalTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TextReplyMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::Background::PhoneIncomingCallDismissedReason) Reason() const; + [[nodiscard]] auto LineId() const; + [[nodiscard]] auto PhoneNumber() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto DismissalTime() const; + [[nodiscard]] auto TextReplyMessage() const; + [[nodiscard]] auto Reason() const; }; template <> struct consume { @@ -188,9 +188,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_Background_IPhoneLineChangedTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) LineId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::Background::PhoneLineChangeKind) ChangeType() const; - WINRT_IMPL_AUTO(bool) HasLinePropertyChanged(winrt::Windows::ApplicationModel::Calls::Background::PhoneLineProperties const& lineProperty) const; + [[nodiscard]] auto LineId() const; + [[nodiscard]] auto ChangeType() const; + auto HasLinePropertyChanged(winrt::Windows::ApplicationModel::Calls::Background::PhoneLineProperties const& lineProperty) const; }; template <> struct consume { @@ -199,9 +199,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_Background_IPhoneNewVoicemailMessageTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) LineId() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) VoicemailCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OperatorMessage() const; + [[nodiscard]] auto LineId() const; + [[nodiscard]] auto VoicemailCount() const; + [[nodiscard]] auto OperatorMessage() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.1.h index 336a2e7d..831afc50 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Calls_Background_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.2.h index 9d8fb9ab..0b58a41e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Calls_Background_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.0.h index ea83f071..b1d15e98 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.0.h @@ -1,12 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Calls_Provider_0_H #define WINRT_Windows_ApplicationModel_Calls_Provider_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} WINRT_EXPORT namespace winrt::Windows::Storage { struct StorageFile; @@ -101,12 +97,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Category() const; - WINRT_IMPL_AUTO(void) Category(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CategoryDescription() const; - WINRT_IMPL_AUTO(void) CategoryDescription(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Location() const; - WINRT_IMPL_AUTO(void) Location(param::hstring const& value) const; + [[nodiscard]] auto Category() const; + auto Category(param::hstring const& value) const; + [[nodiscard]] auto CategoryDescription() const; + auto CategoryDescription(param::hstring const& value) const; + [[nodiscard]] auto Location() const; + auto Location(param::hstring const& value) const; }; template <> struct consume { @@ -115,8 +111,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; }; template <> struct consume { @@ -125,8 +121,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) DisplayPicture() const; - WINRT_IMPL_AUTO(void) DisplayPicture(winrt::Windows::Storage::StorageFile const& value) const; + [[nodiscard]] auto DisplayPicture() const; + auto DisplayPicture(winrt::Windows::Storage::StorageFile const& value) const; }; template <> struct consume { @@ -135,9 +131,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCurrentAppActiveCallOriginApp() const; - WINRT_IMPL_AUTO(void) ShowPhoneCallOriginSettingsUI() const; - WINRT_IMPL_AUTO(void) SetCallOrigin(winrt::guid const& requestId, winrt::Windows::ApplicationModel::Calls::Provider::PhoneCallOrigin const& callOrigin) const; + [[nodiscard]] auto IsCurrentAppActiveCallOriginApp() const; + auto ShowPhoneCallOriginSettingsUI() const; + auto SetCallOrigin(winrt::guid const& requestId, winrt::Windows::ApplicationModel::Calls::Provider::PhoneCallOrigin const& callOrigin) const; }; template <> struct consume { @@ -146,7 +142,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestSetAsActiveCallOriginAppAsync() const; + auto RequestSetAsActiveCallOriginAppAsync() const; }; template <> struct consume { @@ -155,7 +151,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const; + [[nodiscard]] auto IsSupported() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.1.h index 617e5487..8664a47c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Calls_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.2.h index b2fa2a4b..1ef9f5ff 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Calls_Provider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.0.h index 0beaf12c..c869a7f8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Chat_0_H @@ -8,16 +8,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties { @@ -1083,11 +1079,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOnline() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsChatCapable() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFileTransferCapable() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGeoLocationPushCapable() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsIntegratedMessagingCapable() const; + [[nodiscard]] auto IsOnline() const; + [[nodiscard]] auto IsChatCapable() const; + [[nodiscard]] auto IsFileTransferCapable() const; + [[nodiscard]] auto IsGeoLocationPushCapable() const; + [[nodiscard]] auto IsIntegratedMessagingCapable() const; }; template <> struct consume { @@ -1096,8 +1092,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCachedCapabilitiesAsync(param::hstring const& address) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCapabilitiesFromNetworkAsync(param::hstring const& address) const; + auto GetCachedCapabilitiesAsync(param::hstring const& address) const; + auto GetCapabilitiesFromNetworkAsync(param::hstring const& address) const; }; template <> struct consume { @@ -1106,8 +1102,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCachedCapabilitiesAsync(param::hstring const& address, param::hstring const& transportId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCapabilitiesFromNetworkAsync(param::hstring const& address, param::hstring const& transportId) const; + auto GetCachedCapabilitiesAsync(param::hstring const& address, param::hstring const& transportId) const; + auto GetCapabilitiesFromNetworkAsync(param::hstring const& address, param::hstring const& transportId) const; }; template <> struct consume { @@ -1116,26 +1112,26 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatConversation { - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasUnreadMessages() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - WINRT_IMPL_AUTO(void) Subject(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConversationMuted() const; - WINRT_IMPL_AUTO(void) IsConversationMuted(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MostRecentMessageId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Participants() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo) ThreadingInfo() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageReader) GetMessageReader() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkMessagesAsReadAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkMessagesAsReadAsync(winrt::Windows::Foundation::DateTime const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAsync() const; - WINRT_IMPL_AUTO(void) NotifyLocalParticipantComposing(param::hstring const& transportId, param::hstring const& participantAddress, bool isComposing) const; - WINRT_IMPL_AUTO(void) NotifyRemoteParticipantComposing(param::hstring const& transportId, param::hstring const& participantAddress, bool isComposing) const; - WINRT_IMPL_AUTO(winrt::event_token) RemoteParticipantComposingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto HasUnreadMessages() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Subject() const; + auto Subject(param::hstring const& value) const; + [[nodiscard]] auto IsConversationMuted() const; + auto IsConversationMuted(bool value) const; + [[nodiscard]] auto MostRecentMessageId() const; + [[nodiscard]] auto Participants() const; + [[nodiscard]] auto ThreadingInfo() const; + auto DeleteAsync() const; + auto GetMessageReader() const; + auto MarkMessagesAsReadAsync() const; + auto MarkMessagesAsReadAsync(winrt::Windows::Foundation::DateTime const& value) const; + auto SaveAsync() const; + auto NotifyLocalParticipantComposing(param::hstring const& transportId, param::hstring const& participantAddress, bool isComposing) const; + auto NotifyRemoteParticipantComposing(param::hstring const& transportId, param::hstring const& participantAddress, bool isComposing) const; + auto RemoteParticipantComposingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RemoteParticipantComposingChanged_revoker = impl::event_revoker::remove_RemoteParticipantComposingChanged>; - [[nodiscard]] RemoteParticipantComposingChanged_revoker RemoteParticipantComposingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RemoteParticipantComposingChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RemoteParticipantComposingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RemoteParticipantComposingChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1144,8 +1140,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatConversation2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanModifyParticipants() const; - WINRT_IMPL_AUTO(void) CanModifyParticipants(bool value) const; + [[nodiscard]] auto CanModifyParticipants() const; + auto CanModifyParticipants(bool value) const; }; template <> struct consume { @@ -1154,8 +1150,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatConversationReader { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ReadBatchAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ReadBatchAsync(int32_t count) const; + auto ReadBatchAsync() const; + auto ReadBatchAsync(int32_t count) const; }; template <> struct consume { @@ -1164,15 +1160,15 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContactId() const; - WINRT_IMPL_AUTO(void) ContactId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Custom() const; - WINRT_IMPL_AUTO(void) Custom(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ConversationId() const; - WINRT_IMPL_AUTO(void) ConversationId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Participants() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingKind) Kind() const; - WINRT_IMPL_AUTO(void) Kind(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingKind const& value) const; + [[nodiscard]] auto ContactId() const; + auto ContactId(param::hstring const& value) const; + [[nodiscard]] auto Custom() const; + auto Custom(param::hstring const& value) const; + [[nodiscard]] auto ConversationId() const; + auto ConversationId(param::hstring const& value) const; + [[nodiscard]] auto Participants() const; + [[nodiscard]] auto Kind() const; + auto Kind(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingKind const& value) const; }; template <> struct consume { @@ -1181,7 +1177,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatItemKind) ItemKind() const; + [[nodiscard]] auto ItemKind() const; }; template <> struct consume { @@ -1190,23 +1186,23 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessage { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Attachments() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Body() const; - WINRT_IMPL_AUTO(void) Body(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) From() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsForwardingDisabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsIncoming() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRead() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LocalTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) NetworkTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Recipients() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) RecipientSendStatuses() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TransportFriendlyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TransportId() const; - WINRT_IMPL_AUTO(void) TransportId(param::hstring const& value) const; + [[nodiscard]] auto Attachments() const; + [[nodiscard]] auto Body() const; + auto Body(param::hstring const& value) const; + [[nodiscard]] auto From() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto IsForwardingDisabled() const; + [[nodiscard]] auto IsIncoming() const; + [[nodiscard]] auto IsRead() const; + [[nodiscard]] auto LocalTimestamp() const; + [[nodiscard]] auto NetworkTimestamp() const; + [[nodiscard]] auto Recipients() const; + [[nodiscard]] auto RecipientSendStatuses() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Subject() const; + [[nodiscard]] auto TransportFriendlyName() const; + [[nodiscard]] auto TransportId() const; + auto TransportId(param::hstring const& value) const; }; template <> struct consume { @@ -1215,34 +1211,34 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessage2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) EstimatedDownloadSize() const; - WINRT_IMPL_AUTO(void) EstimatedDownloadSize(uint64_t value) const; - WINRT_IMPL_AUTO(void) From(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAutoReply() const; - WINRT_IMPL_AUTO(void) IsAutoReply(bool value) const; - WINRT_IMPL_AUTO(void) IsForwardingDisabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReplyDisabled() const; - WINRT_IMPL_AUTO(void) IsIncoming(bool value) const; - WINRT_IMPL_AUTO(void) IsRead(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSeen() const; - WINRT_IMPL_AUTO(void) IsSeen(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSimMessage() const; - WINRT_IMPL_AUTO(void) LocalTimestamp(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageKind) MessageKind() const; - WINRT_IMPL_AUTO(void) MessageKind(winrt::Windows::ApplicationModel::Chat::ChatMessageKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageOperatorKind) MessageOperatorKind() const; - WINRT_IMPL_AUTO(void) MessageOperatorKind(winrt::Windows::ApplicationModel::Chat::ChatMessageOperatorKind const& value) const; - WINRT_IMPL_AUTO(void) NetworkTimestamp(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReceivedDuringQuietHours() const; - WINRT_IMPL_AUTO(void) IsReceivedDuringQuietHours(bool value) const; - WINRT_IMPL_AUTO(void) RemoteId(param::hstring const& value) const; - WINRT_IMPL_AUTO(void) Status(winrt::Windows::ApplicationModel::Chat::ChatMessageStatus const& value) const; - WINRT_IMPL_AUTO(void) Subject(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldSuppressNotification() const; - WINRT_IMPL_AUTO(void) ShouldSuppressNotification(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo) ThreadingInfo() const; - WINRT_IMPL_AUTO(void) ThreadingInfo(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) RecipientsDeliveryInfos() const; + [[nodiscard]] auto EstimatedDownloadSize() const; + auto EstimatedDownloadSize(uint64_t value) const; + auto From(param::hstring const& value) const; + [[nodiscard]] auto IsAutoReply() const; + auto IsAutoReply(bool value) const; + auto IsForwardingDisabled(bool value) const; + [[nodiscard]] auto IsReplyDisabled() const; + auto IsIncoming(bool value) const; + auto IsRead(bool value) const; + [[nodiscard]] auto IsSeen() const; + auto IsSeen(bool value) const; + [[nodiscard]] auto IsSimMessage() const; + auto LocalTimestamp(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto MessageKind() const; + auto MessageKind(winrt::Windows::ApplicationModel::Chat::ChatMessageKind const& value) const; + [[nodiscard]] auto MessageOperatorKind() const; + auto MessageOperatorKind(winrt::Windows::ApplicationModel::Chat::ChatMessageOperatorKind const& value) const; + auto NetworkTimestamp(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto IsReceivedDuringQuietHours() const; + auto IsReceivedDuringQuietHours(bool value) const; + auto RemoteId(param::hstring const& value) const; + auto Status(winrt::Windows::ApplicationModel::Chat::ChatMessageStatus const& value) const; + auto Subject(param::hstring const& value) const; + [[nodiscard]] auto ShouldSuppressNotification() const; + auto ShouldSuppressNotification(bool value) const; + [[nodiscard]] auto ThreadingInfo() const; + auto ThreadingInfo(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo const& value) const; + [[nodiscard]] auto RecipientsDeliveryInfos() const; }; template <> struct consume { @@ -1251,7 +1247,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessage3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const; + [[nodiscard]] auto RemoteId() const; }; template <> struct consume { @@ -1260,8 +1256,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessage4 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SyncId() const; - WINRT_IMPL_AUTO(void) SyncId(param::hstring const& value) const; + [[nodiscard]] auto SyncId() const; + auto SyncId(param::hstring const& value) const; }; template <> struct consume { @@ -1270,14 +1266,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageAttachment { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) DataStreamReference() const; - WINRT_IMPL_AUTO(void) DataStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) GroupId() const; - WINRT_IMPL_AUTO(void) GroupId(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MimeType() const; - WINRT_IMPL_AUTO(void) MimeType(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; + [[nodiscard]] auto DataStreamReference() const; + auto DataStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto GroupId() const; + auto GroupId(uint32_t value) const; + [[nodiscard]] auto MimeType() const; + auto MimeType(param::hstring const& value) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; }; template <> struct consume { @@ -1286,12 +1282,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Thumbnail() const; - WINRT_IMPL_AUTO(void) Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) TransferProgress() const; - WINRT_IMPL_AUTO(void) TransferProgress(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OriginalFileName() const; - WINRT_IMPL_AUTO(void) OriginalFileName(param::hstring const& value) const; + [[nodiscard]] auto Thumbnail() const; + auto Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto TransferProgress() const; + auto TransferProgress(double value) const; + [[nodiscard]] auto OriginalFileName() const; + auto OriginalFileName(param::hstring const& value) const; }; template <> struct consume { @@ -1300,7 +1296,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageAttachmentFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageAttachment) CreateChatMessageAttachment(param::hstring const& mimeType, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& dataStreamReference) const; + auto CreateChatMessageAttachment(param::hstring const& mimeType, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& dataStreamReference) const; }; template <> struct consume { @@ -1309,7 +1305,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageBlockingStatic { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkMessageAsBlockedAsync(param::hstring const& localChatMessageId, bool blocked) const; + auto MarkMessageAsBlockedAsync(param::hstring const& localChatMessageId, bool blocked) const; }; template <> struct consume { @@ -1318,8 +1314,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageChange { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageChangeType) ChangeType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessage) Message() const; + [[nodiscard]] auto ChangeType() const; + [[nodiscard]] auto Message() const; }; template <> struct consume { @@ -1328,9 +1324,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageChangeReader { - WINRT_IMPL_AUTO(void) AcceptChanges() const; - WINRT_IMPL_AUTO(void) AcceptChangesThrough(winrt::Windows::ApplicationModel::Chat::ChatMessageChange const& lastChangeToAcknowledge) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ReadBatchAsync() const; + auto AcceptChanges() const; + auto AcceptChangesThrough(winrt::Windows::ApplicationModel::Chat::ChatMessageChange const& lastChangeToAcknowledge) const; + auto ReadBatchAsync() const; }; template <> struct consume { @@ -1339,9 +1335,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageChangeTracker { - WINRT_IMPL_AUTO(void) Enable() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageChangeReader) GetChangeReader() const; - WINRT_IMPL_AUTO(void) Reset() const; + auto Enable() const; + auto GetChangeReader() const; + auto Reset() const; }; template <> struct consume { @@ -1350,7 +1346,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageChangedDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -1359,7 +1355,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageChangedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageChangedDeferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1368,8 +1364,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageManager2Statics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RegisterTransportAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetTransportAsync(param::hstring const& transportId) const; + auto RegisterTransportAsync() const; + auto GetTransportAsync(param::hstring const& transportId) const; }; template <> struct consume { @@ -1378,10 +1374,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetTransportsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowComposeSmsMessageAsync(winrt::Windows::ApplicationModel::Chat::ChatMessage const& message) const; - WINRT_IMPL_AUTO(void) ShowSmsSettings() const; + auto GetTransportsAsync() const; + auto RequestStoreAsync() const; + auto ShowComposeSmsMessageAsync(winrt::Windows::ApplicationModel::Chat::ChatMessage const& message) const; + auto ShowSmsSettings() const; }; template <> struct consume { @@ -1390,7 +1386,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestSyncManagerAsync() const; + auto RequestSyncManagerAsync() const; }; template <> struct consume { @@ -1399,7 +1395,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessage) ChatMessage() const; + [[nodiscard]] auto ChatMessage() const; }; template <> struct consume { @@ -1408,10 +1404,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldDisplayToast() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldUpdateDetailText() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldUpdateBadge() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldUpdateActionCenter() const; + [[nodiscard]] auto ShouldDisplayToast() const; + [[nodiscard]] auto ShouldUpdateDetailText() const; + [[nodiscard]] auto ShouldUpdateBadge() const; + [[nodiscard]] auto ShouldUpdateActionCenter() const; }; template <> struct consume { @@ -1420,7 +1416,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageReader { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ReadBatchAsync() const; + auto ReadBatchAsync() const; }; template <> struct consume { @@ -1429,7 +1425,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageReader2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ReadBatchAsync(int32_t count) const; + auto ReadBatchAsync(int32_t count) const; }; template <> struct consume { @@ -1438,20 +1434,20 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageStore { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageChangeTracker) ChangeTracker() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteMessageAsync(param::hstring const& localMessageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DownloadMessageAsync(param::hstring const& localChatMessageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetMessageAsync(param::hstring const& localChatMessageId) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageReader) GetMessageReader() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageReader) GetMessageReader(winrt::Windows::Foundation::TimeSpan const& recentTimeLimit) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkMessageReadAsync(param::hstring const& localChatMessageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RetrySendMessageAsync(param::hstring const& localChatMessageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SendMessageAsync(winrt::Windows::ApplicationModel::Chat::ChatMessage const& chatMessage) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageValidationResult) ValidateMessage(winrt::Windows::ApplicationModel::Chat::ChatMessage const& chatMessage) const; - WINRT_IMPL_AUTO(winrt::event_token) MessageChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto ChangeTracker() const; + auto DeleteMessageAsync(param::hstring const& localMessageId) const; + auto DownloadMessageAsync(param::hstring const& localChatMessageId) const; + auto GetMessageAsync(param::hstring const& localChatMessageId) const; + auto GetMessageReader() const; + auto GetMessageReader(winrt::Windows::Foundation::TimeSpan const& recentTimeLimit) const; + auto MarkMessageReadAsync(param::hstring const& localChatMessageId) const; + auto RetrySendMessageAsync(param::hstring const& localChatMessageId) const; + auto SendMessageAsync(winrt::Windows::ApplicationModel::Chat::ChatMessage const& chatMessage) const; + auto ValidateMessage(winrt::Windows::ApplicationModel::Chat::ChatMessage const& chatMessage) const; + auto MessageChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using MessageChanged_revoker = impl::event_revoker::remove_MessageChanged>; - [[nodiscard]] MessageChanged_revoker MessageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) MessageChanged(winrt::event_token const& value) const noexcept; + [[nodiscard]] auto MessageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto MessageChanged(winrt::event_token const& value) const noexcept; }; template <> struct consume { @@ -1460,25 +1456,25 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageStore2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ForwardMessageAsync(param::hstring const& localChatMessageId, param::async_iterable const& addresses) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetConversationAsync(param::hstring const& conversationId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetConversationAsync(param::hstring const& conversationId, param::async_iterable const& transportIds) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetConversationFromThreadingInfoAsync(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo const& threadingInfo) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatConversationReader) GetConversationReader() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatConversationReader) GetConversationReader(param::iterable const& transportIds) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetMessageByRemoteIdAsync(param::hstring const& transportId, param::hstring const& remoteId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetUnseenCountAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetUnseenCountAsync(param::async_iterable const& transportIds) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkAsSeenAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkAsSeenAsync(param::async_iterable const& transportIds) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatSearchReader) GetSearchReader(winrt::Windows::ApplicationModel::Chat::ChatQueryOptions const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveMessageAsync(winrt::Windows::ApplicationModel::Chat::ChatMessage const& chatMessage) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryCancelDownloadMessageAsync(param::hstring const& localChatMessageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryCancelSendMessageAsync(param::hstring const& localChatMessageId) const; - WINRT_IMPL_AUTO(winrt::event_token) StoreChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ForwardMessageAsync(param::hstring const& localChatMessageId, param::async_iterable const& addresses) const; + auto GetConversationAsync(param::hstring const& conversationId) const; + auto GetConversationAsync(param::hstring const& conversationId, param::async_iterable const& transportIds) const; + auto GetConversationFromThreadingInfoAsync(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo const& threadingInfo) const; + auto GetConversationReader() const; + auto GetConversationReader(param::iterable const& transportIds) const; + auto GetMessageByRemoteIdAsync(param::hstring const& transportId, param::hstring const& remoteId) const; + auto GetUnseenCountAsync() const; + auto GetUnseenCountAsync(param::async_iterable const& transportIds) const; + auto MarkAsSeenAsync() const; + auto MarkAsSeenAsync(param::async_iterable const& transportIds) const; + auto GetSearchReader(winrt::Windows::ApplicationModel::Chat::ChatQueryOptions const& value) const; + auto SaveMessageAsync(winrt::Windows::ApplicationModel::Chat::ChatMessage const& chatMessage) const; + auto TryCancelDownloadMessageAsync(param::hstring const& localChatMessageId) const; + auto TryCancelSendMessageAsync(param::hstring const& localChatMessageId) const; + auto StoreChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StoreChanged_revoker = impl::event_revoker::remove_StoreChanged>; - [[nodiscard]] StoreChanged_revoker StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StoreChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StoreChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1487,7 +1483,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageStore3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetMessageBySyncIdAsync(param::hstring const& syncId) const; + auto GetMessageBySyncIdAsync(param::hstring const& syncId) const; }; template <> struct consume { @@ -1496,8 +1492,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageStoreChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatStoreChangedEventKind) Kind() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Kind() const; }; template <> struct consume { @@ -1506,11 +1502,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageTransport { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAppSetAsNotificationProvider() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsActive() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TransportFriendlyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TransportId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RequestSetAsNotificationProviderAsync() const; + [[nodiscard]] auto IsAppSetAsNotificationProvider() const; + [[nodiscard]] auto IsActive() const; + [[nodiscard]] auto TransportFriendlyName() const; + [[nodiscard]] auto TransportId() const; + auto RequestSetAsNotificationProviderAsync() const; }; template <> struct consume { @@ -1519,8 +1515,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageTransport2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageTransportConfiguration) Configuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageTransportKind) TransportKind() const; + [[nodiscard]] auto Configuration() const; + [[nodiscard]] auto TransportKind() const; }; template <> struct consume { @@ -1529,11 +1525,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxAttachmentCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxMessageSizeInKilobytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxRecipientCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) SupportedVideoFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) ExtendedProperties() const; + [[nodiscard]] auto MaxAttachmentCount() const; + [[nodiscard]] auto MaxMessageSizeInKilobytes() const; + [[nodiscard]] auto MaxRecipientCount() const; + [[nodiscard]] auto SupportedVideoFormat() const; + [[nodiscard]] auto ExtendedProperties() const; }; template <> struct consume { @@ -1542,10 +1538,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxPartCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PartCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) RemainingCharacterCountInPart() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageValidationStatus) Status() const; + [[nodiscard]] auto MaxPartCount() const; + [[nodiscard]] auto PartCount() const; + [[nodiscard]] auto RemainingCharacterCountInPart() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -1554,8 +1550,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatQueryOptions { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SearchString() const; - WINRT_IMPL_AUTO(void) SearchString(param::hstring const& value) const; + [[nodiscard]] auto SearchString() const; + auto SearchString(param::hstring const& value) const; }; template <> struct consume { @@ -1564,17 +1560,17 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TransportAddress() const; - WINRT_IMPL_AUTO(void) TransportAddress(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DeliveryTime() const; - WINRT_IMPL_AUTO(void) DeliveryTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ReadTime() const; - WINRT_IMPL_AUTO(void) ReadTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatTransportErrorCodeCategory) TransportErrorCodeCategory() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatTransportInterpretedErrorCode) TransportInterpretedErrorCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) TransportErrorCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsErrorPermanent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageStatus) Status() const; + [[nodiscard]] auto TransportAddress() const; + auto TransportAddress(param::hstring const& value) const; + [[nodiscard]] auto DeliveryTime() const; + auto DeliveryTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ReadTime() const; + auto ReadTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto TransportErrorCodeCategory() const; + [[nodiscard]] auto TransportInterpretedErrorCode() const; + [[nodiscard]] auto TransportErrorCode() const; + [[nodiscard]] auto IsErrorPermanent() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -1583,8 +1579,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatSearchReader { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ReadBatchAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ReadBatchAsync(int32_t count) const; + auto ReadBatchAsync() const; + auto ReadBatchAsync(int32_t count) const; }; template <> struct consume { @@ -1593,10 +1589,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSyncEnabled() const; - WINRT_IMPL_AUTO(void) IsSyncEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatRestoreHistorySpan) RestoreHistorySpan() const; - WINRT_IMPL_AUTO(void) RestoreHistorySpan(winrt::Windows::ApplicationModel::Chat::ChatRestoreHistorySpan const& value) const; + [[nodiscard]] auto IsSyncEnabled() const; + auto IsSyncEnabled(bool value) const; + [[nodiscard]] auto RestoreHistorySpan() const; + auto RestoreHistorySpan(winrt::Windows::ApplicationModel::Chat::ChatRestoreHistorySpan const& value) const; }; template <> struct consume { @@ -1605,12 +1601,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IChatSyncManager { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatSyncConfiguration) Configuration() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AssociateAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UnassociateAccountAsync() const; - WINRT_IMPL_AUTO(bool) IsAccountAssociated(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; - WINRT_IMPL_AUTO(void) StartSync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetConfigurationAsync(winrt::Windows::ApplicationModel::Chat::ChatSyncConfiguration const& configuration) const; + [[nodiscard]] auto Configuration() const; + auto AssociateAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + auto UnassociateAccountAsync() const; + auto IsAccountAssociated(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + auto StartSync() const; + auto SetConfigurationAsync(winrt::Windows::ApplicationModel::Chat::ChatSyncConfiguration const& configuration) const; }; template <> struct consume { @@ -1619,13 +1615,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TransportId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPinRequired() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Actions() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SendResponseAsync(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAction const& action) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SendResponseWithPinAsync(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAction const& action, param::hstring const& pin) const; + [[nodiscard]] auto TransportId() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Text() const; + [[nodiscard]] auto IsPinRequired() const; + [[nodiscard]] auto Actions() const; + auto SendResponseAsync(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAction const& action) const; + auto SendResponseWithPinAsync(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAction const& action, param::hstring const& pin) const; }; template <> struct consume { @@ -1634,7 +1630,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAction { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const; + [[nodiscard]] auto Label() const; }; template <> struct consume { @@ -1643,8 +1639,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMessageAvailable() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessage) Message() const; + [[nodiscard]] auto IsMessageAvailable() const; + [[nodiscard]] auto Message() const; }; template <> struct consume { @@ -1653,8 +1649,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Text() const; }; template <> struct consume { @@ -1663,10 +1659,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageManager { - WINRT_IMPL_AUTO(winrt::event_token) MessageAvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MessageAvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MessageAvailableChanged_revoker = impl::event_revoker::remove_MessageAvailableChanged>; - [[nodiscard]] MessageAvailableChanged_revoker MessageAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MessageAvailableChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto MessageAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MessageAvailableChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1675,10 +1671,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IRcsManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageManager) GetEndUserMessageManager() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetTransportsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetTransportAsync(param::hstring const& transportId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) LeaveConversationAsync(winrt::Windows::ApplicationModel::Chat::ChatConversation const& conversation) const; + auto GetEndUserMessageManager() const; + auto GetTransportsAsync() const; + auto GetTransportAsync(param::hstring const& transportId) const; + auto LeaveConversationAsync(winrt::Windows::ApplicationModel::Chat::ChatConversation const& conversation) const; }; template <> struct consume { @@ -1687,10 +1683,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IRcsManagerStatics2 { - WINRT_IMPL_AUTO(winrt::event_token) TransportListChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + auto TransportListChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using TransportListChanged_revoker = impl::event_revoker::remove_TransportListChanged>; - [[nodiscard]] TransportListChanged_revoker TransportListChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TransportListChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TransportListChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto TransportListChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1699,7 +1695,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IRcsServiceKindSupportedChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::RcsServiceKind) ServiceKind() const; + [[nodiscard]] auto ServiceKind() const; }; template <> struct consume { @@ -1708,17 +1704,17 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IRcsTransport { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) ExtendedProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsActive() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TransportFriendlyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TransportId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::RcsTransportConfiguration) Configuration() const; - WINRT_IMPL_AUTO(bool) IsStoreAndForwardEnabled(winrt::Windows::ApplicationModel::Chat::RcsServiceKind const& serviceKind) const; - WINRT_IMPL_AUTO(bool) IsServiceKindSupported(winrt::Windows::ApplicationModel::Chat::RcsServiceKind const& serviceKind) const; - WINRT_IMPL_AUTO(winrt::event_token) ServiceKindSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ExtendedProperties() const; + [[nodiscard]] auto IsActive() const; + [[nodiscard]] auto TransportFriendlyName() const; + [[nodiscard]] auto TransportId() const; + [[nodiscard]] auto Configuration() const; + auto IsStoreAndForwardEnabled(winrt::Windows::ApplicationModel::Chat::RcsServiceKind const& serviceKind) const; + auto IsServiceKindSupported(winrt::Windows::ApplicationModel::Chat::RcsServiceKind const& serviceKind) const; + auto ServiceKindSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ServiceKindSupportedChanged_revoker = impl::event_revoker::remove_ServiceKindSupportedChanged>; - [[nodiscard]] ServiceKindSupportedChanged_revoker ServiceKindSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ServiceKindSupportedChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ServiceKindSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ServiceKindSupportedChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1727,12 +1723,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxAttachmentCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxMessageSizeInKilobytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxGroupMessageSizeInKilobytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxRecipientCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxFileSizeInKilobytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) WarningFileSizeInKilobytes() const; + [[nodiscard]] auto MaxAttachmentCount() const; + [[nodiscard]] auto MaxMessageSizeInKilobytes() const; + [[nodiscard]] auto MaxGroupMessageSizeInKilobytes() const; + [[nodiscard]] auto MaxRecipientCount() const; + [[nodiscard]] auto MaxFileSizeInKilobytes() const; + [[nodiscard]] auto WarningFileSizeInKilobytes() const; }; template <> struct consume { @@ -1741,9 +1737,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Chat_IRemoteParticipantComposingChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TransportId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ParticipantAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsComposing() const; + [[nodiscard]] auto TransportId() const; + [[nodiscard]] auto ParticipantAddress() const; + [[nodiscard]] auto IsComposing() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.1.h index 07b72586..bed4c739 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Chat_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.2.h index 17ba32f1..72a9c012 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Chat_2_H @@ -213,7 +213,7 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Chat static auto LeaveConversationAsync(winrt::Windows::ApplicationModel::Chat::ChatConversation const& conversation); static auto TransportListChanged(winrt::Windows::Foundation::EventHandler const& handler); using TransportListChanged_revoker = impl::factory_event_revoker::remove_TransportListChanged>; - [[nodiscard]] static TransportListChanged_revoker TransportListChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto TransportListChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto TransportListChanged(winrt::event_token const& token); }; struct __declspec(empty_bases) RcsServiceKindSupportedChangedEventArgs : winrt::Windows::ApplicationModel::Chat::IRcsServiceKindSupportedChangedEventArgs diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.0.h index 2e662163..3649b8fd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.0.h @@ -1,12 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_CommunicationBlocking_0_H #define WINRT_Windows_ApplicationModel_CommunicationBlocking_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; @@ -64,12 +60,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBlockingActive() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsBlockedNumberAsync(param::hstring const& number) const; - WINRT_IMPL_AUTO(bool) ShowBlockNumbersUI(param::iterable const& phoneNumbers) const; - WINRT_IMPL_AUTO(bool) ShowUnblockNumbersUI(param::iterable const& phoneNumbers) const; - WINRT_IMPL_AUTO(void) ShowBlockedCallsUI() const; - WINRT_IMPL_AUTO(void) ShowBlockedMessagesUI() const; + [[nodiscard]] auto IsBlockingActive() const; + auto IsBlockedNumberAsync(param::hstring const& number) const; + auto ShowBlockNumbersUI(param::iterable const& phoneNumbers) const; + auto ShowUnblockNumbersUI(param::iterable const& phoneNumbers) const; + auto ShowBlockedCallsUI() const; + auto ShowBlockedMessagesUI() const; }; template <> struct consume { @@ -78,8 +74,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAppManagerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCurrentAppActiveBlockingApp() const; - WINRT_IMPL_AUTO(void) ShowCommunicationBlockingSettingsUI() const; + [[nodiscard]] auto IsCurrentAppActiveBlockingApp() const; + auto ShowCommunicationBlockingSettingsUI() const; }; template <> struct consume { @@ -88,7 +84,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAppManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestSetAsActiveBlockingAppAsync() const; + auto RequestSetAsActiveBlockingAppAsync() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.1.h index f4226659..280fda37 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_CommunicationBlocking_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.2.h index 01dcd002..53253367 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_CommunicationBlocking_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.0.h index 211fbfbf..50cb23b1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.0.h @@ -1,18 +1,13 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Contacts_0_H #define WINRT_Windows_ApplicationModel_Contacts_0_H -WINRT_EXPORT namespace winrt::Windows::Data::Text -{ - struct TextSegment; -} WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; struct Rect; template struct __declspec(empty_bases) TypedEventHandler; @@ -22,15 +17,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; struct IPropertySet; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; struct ValueSet; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IRandomAccessStreamReference; - struct IRandomAccessStreamWithContentType; - struct RandomAccessStreamReference; } WINRT_EXPORT namespace winrt::Windows::System { @@ -1648,10 +1639,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IAggregateContactManager { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindRawContactsAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryLinkContactsAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& primaryContact, winrt::Windows::ApplicationModel::Contacts::Contact const& secondaryContact) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UnlinkRawContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetPreferredSourceForPictureAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& aggregateContact, winrt::Windows::ApplicationModel::Contacts::Contact const& rawContact) const; + auto FindRawContactsAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; + auto TryLinkContactsAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& primaryContact, winrt::Windows::ApplicationModel::Contacts::Contact const& secondaryContact) const; + auto UnlinkRawContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; + auto TrySetPreferredSourceForPictureAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& aggregateContact, winrt::Windows::ApplicationModel::Contacts::Contact const& rawContact) const; }; template <> struct consume { @@ -1660,7 +1651,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IAggregateContactManager2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetRemoteIdentificationInformationAsync(param::hstring const& contactListId, param::hstring const& remoteSourceId, param::hstring const& accountId) const; + auto SetRemoteIdentificationInformationAsync(param::hstring const& contactListId, param::hstring const& remoteSourceId, param::hstring const& accountId) const; }; template <> struct consume { @@ -1669,11 +1660,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContact { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Thumbnail() const; - WINRT_IMPL_AUTO(void) Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Fields() const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Thumbnail() const; + auto Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto Fields() const; }; template <> struct consume { @@ -1682,20 +1673,20 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContact2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(void) Id(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Notes() const; - WINRT_IMPL_AUTO(void) Notes(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Phones() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Emails() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Addresses() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ConnectedServiceAccounts() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ImportantDates() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DataSuppliers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) JobInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SignificantOthers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Websites() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) ProviderProperties() const; + [[nodiscard]] auto Id() const; + auto Id(param::hstring const& value) const; + [[nodiscard]] auto Notes() const; + auto Notes(param::hstring const& value) const; + [[nodiscard]] auto Phones() const; + [[nodiscard]] auto Emails() const; + [[nodiscard]] auto Addresses() const; + [[nodiscard]] auto ConnectedServiceAccounts() const; + [[nodiscard]] auto ImportantDates() const; + [[nodiscard]] auto DataSuppliers() const; + [[nodiscard]] auto JobInfo() const; + [[nodiscard]] auto SignificantOthers() const; + [[nodiscard]] auto Websites() const; + [[nodiscard]] auto ProviderProperties() const; }; template <> struct consume { @@ -1704,29 +1695,29 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContact3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContactListId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) DisplayPictureUserUpdateTime() const; - WINRT_IMPL_AUTO(void) DisplayPictureUserUpdateTime(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMe() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AggregateId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const; - WINRT_IMPL_AUTO(void) RemoteId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RingToneToken() const; - WINRT_IMPL_AUTO(void) RingToneToken(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDisplayPictureManuallySet() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) LargeDisplayPicture() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) SmallDisplayPicture() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) SourceDisplayPicture() const; - WINRT_IMPL_AUTO(void) SourceDisplayPicture(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TextToneToken() const; - WINRT_IMPL_AUTO(void) TextToneToken(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAggregate() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FullName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayNameOverride() const; - WINRT_IMPL_AUTO(void) DisplayNameOverride(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Nickname() const; - WINRT_IMPL_AUTO(void) Nickname(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SortName() const; + [[nodiscard]] auto ContactListId() const; + [[nodiscard]] auto DisplayPictureUserUpdateTime() const; + auto DisplayPictureUserUpdateTime(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto IsMe() const; + [[nodiscard]] auto AggregateId() const; + [[nodiscard]] auto RemoteId() const; + auto RemoteId(param::hstring const& value) const; + [[nodiscard]] auto RingToneToken() const; + auto RingToneToken(param::hstring const& value) const; + [[nodiscard]] auto IsDisplayPictureManuallySet() const; + [[nodiscard]] auto LargeDisplayPicture() const; + [[nodiscard]] auto SmallDisplayPicture() const; + [[nodiscard]] auto SourceDisplayPicture() const; + auto SourceDisplayPicture(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto TextToneToken() const; + auto TextToneToken(param::hstring const& value) const; + [[nodiscard]] auto IsAggregate() const; + [[nodiscard]] auto FullName() const; + [[nodiscard]] auto DisplayNameOverride() const; + auto DisplayNameOverride(param::hstring const& value) const; + [[nodiscard]] auto Nickname() const; + auto Nickname(param::hstring const& value) const; + [[nodiscard]] auto SortName() const; }; template <> struct consume { @@ -1735,20 +1726,20 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactAddress { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StreetAddress() const; - WINRT_IMPL_AUTO(void) StreetAddress(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Locality() const; - WINRT_IMPL_AUTO(void) Locality(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Region() const; - WINRT_IMPL_AUTO(void) Region(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Country() const; - WINRT_IMPL_AUTO(void) Country(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PostalCode() const; - WINRT_IMPL_AUTO(void) PostalCode(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactAddressKind) Kind() const; - WINRT_IMPL_AUTO(void) Kind(winrt::Windows::ApplicationModel::Contacts::ContactAddressKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; + [[nodiscard]] auto StreetAddress() const; + auto StreetAddress(param::hstring const& value) const; + [[nodiscard]] auto Locality() const; + auto Locality(param::hstring const& value) const; + [[nodiscard]] auto Region() const; + auto Region(param::hstring const& value) const; + [[nodiscard]] auto Country() const; + auto Country(param::hstring const& value) const; + [[nodiscard]] auto PostalCode() const; + auto PostalCode(param::hstring const& value) const; + [[nodiscard]] auto Kind() const; + auto Kind(winrt::Windows::ApplicationModel::Contacts::ContactAddressKind const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; }; template <> struct consume { @@ -1757,16 +1748,16 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactAnnotation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AnnotationListId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContactId() const; - WINRT_IMPL_AUTO(void) ContactId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const; - WINRT_IMPL_AUTO(void) RemoteId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations) SupportedOperations() const; - WINRT_IMPL_AUTO(void) SupportedOperations(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDisabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) ProviderProperties() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto AnnotationListId() const; + [[nodiscard]] auto ContactId() const; + auto ContactId(param::hstring const& value) const; + [[nodiscard]] auto RemoteId() const; + auto RemoteId(param::hstring const& value) const; + [[nodiscard]] auto SupportedOperations() const; + auto SupportedOperations(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations const& value) const; + [[nodiscard]] auto IsDisabled() const; + [[nodiscard]] auto ProviderProperties() const; }; template <> struct consume { @@ -1775,8 +1766,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactAnnotation2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContactListId() const; - WINRT_IMPL_AUTO(void) ContactListId(param::hstring const& value) const; + [[nodiscard]] auto ContactListId() const; + auto ContactListId(param::hstring const& value) const; }; template <> struct consume { @@ -1785,15 +1776,15 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactAnnotationList { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderPackageFamilyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserDataAccountId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySaveAnnotationAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotation const& annotation) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAnnotationAsync(param::hstring const& annotationId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAnnotationsByRemoteIdAsync(param::hstring const& remoteId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAnnotationsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAnnotationAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotation const& annotation) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto ProviderPackageFamilyName() const; + [[nodiscard]] auto UserDataAccountId() const; + auto DeleteAsync() const; + auto TrySaveAnnotationAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotation const& annotation) const; + auto GetAnnotationAsync(param::hstring const& annotationId) const; + auto FindAnnotationsByRemoteIdAsync(param::hstring const& remoteId) const; + auto FindAnnotationsAsync() const; + auto DeleteAnnotationAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotation const& annotation) const; }; template <> struct consume { @@ -1802,14 +1793,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindContactIdsByEmailAsync(param::hstring const& emailAddress) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindContactIdsByPhoneNumberAsync(param::hstring const& phoneNumber) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAnnotationsForContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DisableAnnotationAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotation const& annotation) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAnnotationListAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAnnotationListAsync(param::hstring const& userDataAccountId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAnnotationListAsync(param::hstring const& annotationListId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAnnotationListsAsync() const; + auto FindContactIdsByEmailAsync(param::hstring const& emailAddress) const; + auto FindContactIdsByPhoneNumberAsync(param::hstring const& phoneNumber) const; + auto FindAnnotationsForContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; + auto DisableAnnotationAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotation const& annotation) const; + auto CreateAnnotationListAsync() const; + auto CreateAnnotationListAsync(param::hstring const& userDataAccountId) const; + auto GetAnnotationListAsync(param::hstring const& annotationListId) const; + auto FindAnnotationListsAsync() const; }; template <> struct consume { @@ -1818,7 +1809,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAnnotationsForContactListAsync(param::hstring const& contactListId) const; + auto FindAnnotationsForContactListAsync(param::hstring const& contactListId) const; }; template <> struct consume { @@ -1827,8 +1818,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactBatch { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Contacts() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactBatchStatus) Status() const; + [[nodiscard]] auto Contacts() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -1837,7 +1828,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactCardDelayedDataLoader { - WINRT_IMPL_AUTO(void) SetData(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; + auto SetData(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; }; template <> struct consume { @@ -1846,10 +1837,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactCardOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactCardHeaderKind) HeaderKind() const; - WINRT_IMPL_AUTO(void) HeaderKind(winrt::Windows::ApplicationModel::Contacts::ContactCardHeaderKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactCardTabKind) InitialTabKind() const; - WINRT_IMPL_AUTO(void) InitialTabKind(winrt::Windows::ApplicationModel::Contacts::ContactCardTabKind const& value) const; + [[nodiscard]] auto HeaderKind() const; + auto HeaderKind(winrt::Windows::ApplicationModel::Contacts::ContactCardHeaderKind const& value) const; + [[nodiscard]] auto InitialTabKind() const; + auto InitialTabKind(winrt::Windows::ApplicationModel::Contacts::ContactCardTabKind const& value) const; }; template <> struct consume { @@ -1858,7 +1849,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactCardOptions2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ServerSearchContactListIds() const; + [[nodiscard]] auto ServerSearchContactListIds() const; }; template <> struct consume { @@ -1867,8 +1858,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactChange { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeType) ChangeType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) Contact() const; + [[nodiscard]] auto ChangeType() const; + [[nodiscard]] auto Contact() const; }; template <> struct consume { @@ -1877,9 +1868,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactChangeReader { - WINRT_IMPL_AUTO(void) AcceptChanges() const; - WINRT_IMPL_AUTO(void) AcceptChangesThrough(winrt::Windows::ApplicationModel::Contacts::ContactChange const& lastChangeToAccept) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ReadBatchAsync() const; + auto AcceptChanges() const; + auto AcceptChangesThrough(winrt::Windows::ApplicationModel::Contacts::ContactChange const& lastChangeToAccept) const; + auto ReadBatchAsync() const; }; template <> struct consume { @@ -1888,9 +1879,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactChangeTracker { - WINRT_IMPL_AUTO(void) Enable() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeReader) GetChangeReader() const; - WINRT_IMPL_AUTO(void) Reset() const; + auto Enable() const; + auto GetChangeReader() const; + auto Reset() const; }; template <> struct consume { @@ -1899,7 +1890,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactChangeTracker2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTracking() const; + [[nodiscard]] auto IsTracking() const; }; template <> struct consume { @@ -1908,7 +1899,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactChangedDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -1917,7 +1908,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactChangedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangedDeferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1926,10 +1917,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(void) Id(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceName() const; - WINRT_IMPL_AUTO(void) ServiceName(param::hstring const& value) const; + [[nodiscard]] auto Id() const; + auto Id(param::hstring const& value) const; + [[nodiscard]] auto ServiceName() const; + auto ServiceName(param::hstring const& value) const; }; template <> struct consume { @@ -1938,16 +1929,16 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactDate { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Day() const; - WINRT_IMPL_AUTO(void) Day(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Month() const; - WINRT_IMPL_AUTO(void) Month(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Year() const; - WINRT_IMPL_AUTO(void) Year(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactDateKind) Kind() const; - WINRT_IMPL_AUTO(void) Kind(winrt::Windows::ApplicationModel::Contacts::ContactDateKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; + [[nodiscard]] auto Day() const; + auto Day(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Month() const; + auto Month(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Year() const; + auto Year(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Kind() const; + auto Kind(winrt::Windows::ApplicationModel::Contacts::ContactDateKind const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; }; template <> struct consume { @@ -1956,12 +1947,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactEmail { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Address() const; - WINRT_IMPL_AUTO(void) Address(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactEmailKind) Kind() const; - WINRT_IMPL_AUTO(void) Kind(winrt::Windows::ApplicationModel::Contacts::ContactEmailKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; + [[nodiscard]] auto Address() const; + auto Address(param::hstring const& value) const; + [[nodiscard]] auto Kind() const; + auto Kind(winrt::Windows::ApplicationModel::Contacts::ContactEmailKind const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; }; template <> struct consume { @@ -1970,10 +1961,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactField { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactFieldType) Type() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory) Category() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto Category() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -1982,9 +1973,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactFieldFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactField) CreateField(param::hstring const& value, winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactField) CreateField(param::hstring const& value, winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactField) CreateField(param::hstring const& name, param::hstring const& value, winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const; + auto CreateField(param::hstring const& value, winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type) const; + auto CreateField(param::hstring const& value, winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const; + auto CreateField(param::hstring const& name, param::hstring const& value, winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const; }; template <> struct consume { @@ -2001,14 +1992,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactInformation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetThumbnailAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Emails() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PhoneNumbers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Locations() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) InstantMessages() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) CustomFields() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) QueryCustomFields(param::hstring const& customName) const; + [[nodiscard]] auto Name() const; + auto GetThumbnailAsync() const; + [[nodiscard]] auto Emails() const; + [[nodiscard]] auto PhoneNumbers() const; + [[nodiscard]] auto Locations() const; + [[nodiscard]] auto InstantMessages() const; + [[nodiscard]] auto CustomFields() const; + auto QueryCustomFields(param::hstring const& customName) const; }; template <> struct consume { @@ -2017,10 +2008,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Service() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayText() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) LaunchUri() const; + [[nodiscard]] auto UserName() const; + [[nodiscard]] auto Service() const; + [[nodiscard]] auto DisplayText() const; + [[nodiscard]] auto LaunchUri() const; }; template <> struct consume { @@ -2029,9 +2020,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactInstantMessageFieldFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField) CreateInstantMessage(param::hstring const& userName) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField) CreateInstantMessage(param::hstring const& userName, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField) CreateInstantMessage(param::hstring const& userName, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category, param::hstring const& service, param::hstring const& displayText, winrt::Windows::Foundation::Uri const& verb) const; + auto CreateInstantMessage(param::hstring const& userName) const; + auto CreateInstantMessage(param::hstring const& userName, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const; + auto CreateInstantMessage(param::hstring const& userName, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category, param::hstring const& service, param::hstring const& displayText, winrt::Windows::Foundation::Uri const& verb) const; }; template <> struct consume { @@ -2040,22 +2031,22 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactJobInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CompanyName() const; - WINRT_IMPL_AUTO(void) CompanyName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CompanyYomiName() const; - WINRT_IMPL_AUTO(void) CompanyYomiName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Department() const; - WINRT_IMPL_AUTO(void) Department(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Manager() const; - WINRT_IMPL_AUTO(void) Manager(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Office() const; - WINRT_IMPL_AUTO(void) Office(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CompanyAddress() const; - WINRT_IMPL_AUTO(void) CompanyAddress(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; + [[nodiscard]] auto CompanyName() const; + auto CompanyName(param::hstring const& value) const; + [[nodiscard]] auto CompanyYomiName() const; + auto CompanyYomiName(param::hstring const& value) const; + [[nodiscard]] auto Department() const; + auto Department(param::hstring const& value) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Manager() const; + auto Manager(param::hstring const& value) const; + [[nodiscard]] auto Office() const; + auto Office(param::hstring const& value) const; + [[nodiscard]] auto CompanyAddress() const; + auto CompanyAddress(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; }; template <> struct consume { @@ -2064,11 +2055,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Call() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Map() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Post() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoCall() const; + [[nodiscard]] auto Call() const; + [[nodiscard]] auto Message() const; + [[nodiscard]] auto Map() const; + [[nodiscard]] auto Post() const; + [[nodiscard]] auto VideoCall() const; }; template <> struct consume { @@ -2077,33 +2068,33 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactList { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SourceDisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHidden() const; - WINRT_IMPL_AUTO(void) IsHidden(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppReadAccess) OtherAppReadAccess() const; - WINRT_IMPL_AUTO(void) OtherAppReadAccess(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppReadAccess const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppWriteAccess) OtherAppWriteAccess() const; - WINRT_IMPL_AUTO(void) OtherAppWriteAccess(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppWriteAccess const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker) ChangeTracker() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListSyncManager) SyncManager() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SupportsServerSearch() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserDataAccountId() const; - WINRT_IMPL_AUTO(winrt::event_token) ContactChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto SourceDisplayName() const; + [[nodiscard]] auto IsHidden() const; + auto IsHidden(bool value) const; + [[nodiscard]] auto OtherAppReadAccess() const; + auto OtherAppReadAccess(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppReadAccess const& value) const; + [[nodiscard]] auto OtherAppWriteAccess() const; + auto OtherAppWriteAccess(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppWriteAccess const& value) const; + [[nodiscard]] auto ChangeTracker() const; + [[nodiscard]] auto SyncManager() const; + [[nodiscard]] auto SupportsServerSearch() const; + [[nodiscard]] auto UserDataAccountId() const; + auto ContactChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using ContactChanged_revoker = impl::event_revoker::remove_ContactChanged>; - [[nodiscard]] ContactChanged_revoker ContactChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) ContactChanged(winrt::event_token const& value) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetContactFromRemoteIdAsync(param::hstring const& remoteId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetMeContactAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactReader) GetContactReader() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactReader) GetContactReader(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetContactAsync(param::hstring const& contactId) const; + [[nodiscard]] auto ContactChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto ContactChanged(winrt::event_token const& value) const noexcept; + auto SaveAsync() const; + auto DeleteAsync() const; + auto GetContactFromRemoteIdAsync(param::hstring const& remoteId) const; + auto GetMeContactAsync() const; + auto GetContactReader() const; + auto GetContactReader(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions const& options) const; + auto SaveContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; + auto DeleteContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; + auto GetContactAsync(param::hstring const& contactId) const; }; template <> struct consume { @@ -2112,9 +2103,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactList2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RegisterSyncManagerAsync() const; - WINRT_IMPL_AUTO(void) SupportsServerSearch(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListSyncConstraints) SyncConstraints() const; + auto RegisterSyncManagerAsync() const; + auto SupportsServerSearch(bool value) const; + [[nodiscard]] auto SyncConstraints() const; }; template <> struct consume { @@ -2123,8 +2114,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactList3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListLimitedWriteOperations) LimitedWriteOperations() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker) GetChangeTracker(param::hstring const& identity) const; + [[nodiscard]] auto LimitedWriteOperations() const; + auto GetChangeTracker(param::hstring const& identity) const; }; template <> struct consume { @@ -2133,8 +2124,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactListLimitedWriteOperations { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryCreateOrUpdateContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryDeleteContactAsync(param::hstring const& contactId) const; + auto TryCreateOrUpdateContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; + auto TryDeleteContactAsync(param::hstring const& contactId) const; }; template <> struct consume { @@ -2143,62 +2134,62 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanSyncDescriptions() const; - WINRT_IMPL_AUTO(void) CanSyncDescriptions(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxHomePhoneNumbers() const; - WINRT_IMPL_AUTO(void) MaxHomePhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxMobilePhoneNumbers() const; - WINRT_IMPL_AUTO(void) MaxMobilePhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxWorkPhoneNumbers() const; - WINRT_IMPL_AUTO(void) MaxWorkPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxOtherPhoneNumbers() const; - WINRT_IMPL_AUTO(void) MaxOtherPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxPagerPhoneNumbers() const; - WINRT_IMPL_AUTO(void) MaxPagerPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxBusinessFaxPhoneNumbers() const; - WINRT_IMPL_AUTO(void) MaxBusinessFaxPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxHomeFaxPhoneNumbers() const; - WINRT_IMPL_AUTO(void) MaxHomeFaxPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxCompanyPhoneNumbers() const; - WINRT_IMPL_AUTO(void) MaxCompanyPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxAssistantPhoneNumbers() const; - WINRT_IMPL_AUTO(void) MaxAssistantPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxRadioPhoneNumbers() const; - WINRT_IMPL_AUTO(void) MaxRadioPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxPersonalEmailAddresses() const; - WINRT_IMPL_AUTO(void) MaxPersonalEmailAddresses(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxWorkEmailAddresses() const; - WINRT_IMPL_AUTO(void) MaxWorkEmailAddresses(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxOtherEmailAddresses() const; - WINRT_IMPL_AUTO(void) MaxOtherEmailAddresses(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxHomeAddresses() const; - WINRT_IMPL_AUTO(void) MaxHomeAddresses(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxWorkAddresses() const; - WINRT_IMPL_AUTO(void) MaxWorkAddresses(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxOtherAddresses() const; - WINRT_IMPL_AUTO(void) MaxOtherAddresses(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxBirthdayDates() const; - WINRT_IMPL_AUTO(void) MaxBirthdayDates(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxAnniversaryDates() const; - WINRT_IMPL_AUTO(void) MaxAnniversaryDates(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxOtherDates() const; - WINRT_IMPL_AUTO(void) MaxOtherDates(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxOtherRelationships() const; - WINRT_IMPL_AUTO(void) MaxOtherRelationships(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxSpouseRelationships() const; - WINRT_IMPL_AUTO(void) MaxSpouseRelationships(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxPartnerRelationships() const; - WINRT_IMPL_AUTO(void) MaxPartnerRelationships(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxSiblingRelationships() const; - WINRT_IMPL_AUTO(void) MaxSiblingRelationships(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxParentRelationships() const; - WINRT_IMPL_AUTO(void) MaxParentRelationships(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxChildRelationships() const; - WINRT_IMPL_AUTO(void) MaxChildRelationships(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxJobInfo() const; - WINRT_IMPL_AUTO(void) MaxJobInfo(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxWebsites() const; - WINRT_IMPL_AUTO(void) MaxWebsites(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto CanSyncDescriptions() const; + auto CanSyncDescriptions(bool value) const; + [[nodiscard]] auto MaxHomePhoneNumbers() const; + auto MaxHomePhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxMobilePhoneNumbers() const; + auto MaxMobilePhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxWorkPhoneNumbers() const; + auto MaxWorkPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxOtherPhoneNumbers() const; + auto MaxOtherPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxPagerPhoneNumbers() const; + auto MaxPagerPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxBusinessFaxPhoneNumbers() const; + auto MaxBusinessFaxPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxHomeFaxPhoneNumbers() const; + auto MaxHomeFaxPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxCompanyPhoneNumbers() const; + auto MaxCompanyPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxAssistantPhoneNumbers() const; + auto MaxAssistantPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxRadioPhoneNumbers() const; + auto MaxRadioPhoneNumbers(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxPersonalEmailAddresses() const; + auto MaxPersonalEmailAddresses(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxWorkEmailAddresses() const; + auto MaxWorkEmailAddresses(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxOtherEmailAddresses() const; + auto MaxOtherEmailAddresses(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxHomeAddresses() const; + auto MaxHomeAddresses(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxWorkAddresses() const; + auto MaxWorkAddresses(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxOtherAddresses() const; + auto MaxOtherAddresses(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxBirthdayDates() const; + auto MaxBirthdayDates(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxAnniversaryDates() const; + auto MaxAnniversaryDates(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxOtherDates() const; + auto MaxOtherDates(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxOtherRelationships() const; + auto MaxOtherRelationships(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxSpouseRelationships() const; + auto MaxSpouseRelationships(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxPartnerRelationships() const; + auto MaxPartnerRelationships(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxSiblingRelationships() const; + auto MaxSiblingRelationships(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxParentRelationships() const; + auto MaxParentRelationships(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxChildRelationships() const; + auto MaxChildRelationships(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxJobInfo() const; + auto MaxJobInfo(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxWebsites() const; + auto MaxWebsites(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -2207,14 +2198,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactListSyncManager { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListSyncStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastSuccessfulSyncTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastAttemptedSyncTime() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SyncAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto LastSuccessfulSyncTime() const; + [[nodiscard]] auto LastAttemptedSyncTime() const; + auto SyncAsync() const; + auto SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SyncStatusChanged_revoker = impl::event_revoker::remove_SyncStatusChanged>; - [[nodiscard]] SyncStatusChanged_revoker SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SyncStatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SyncStatusChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2223,9 +2214,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactListSyncManager2 { - WINRT_IMPL_AUTO(void) Status(winrt::Windows::ApplicationModel::Contacts::ContactListSyncStatus const& value) const; - WINRT_IMPL_AUTO(void) LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const; - WINRT_IMPL_AUTO(void) LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const; + auto Status(winrt::Windows::ApplicationModel::Contacts::ContactListSyncStatus const& value) const; + auto LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const; + auto LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const; }; template <> struct consume { @@ -2234,12 +2225,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactLocationField { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UnstructuredAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Street() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) City() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Region() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Country() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PostalCode() const; + [[nodiscard]] auto UnstructuredAddress() const; + [[nodiscard]] auto Street() const; + [[nodiscard]] auto City() const; + [[nodiscard]] auto Region() const; + [[nodiscard]] auto Country() const; + [[nodiscard]] auto PostalCode() const; }; template <> struct consume { @@ -2248,9 +2239,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactLocationFieldFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactLocationField) CreateLocation(param::hstring const& unstructuredAddress) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactLocationField) CreateLocation(param::hstring const& unstructuredAddress, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactLocationField) CreateLocation(param::hstring const& unstructuredAddress, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category, param::hstring const& street, param::hstring const& city, param::hstring const& region, param::hstring const& country, param::hstring const& postalCode) const; + auto CreateLocation(param::hstring const& unstructuredAddress) const; + auto CreateLocation(param::hstring const& unstructuredAddress, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const; + auto CreateLocation(param::hstring const& unstructuredAddress, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category, param::hstring const& street, param::hstring const& city, param::hstring const& region, param::hstring const& country, param::hstring const& postalCode) const; }; template <> struct consume { @@ -2259,16 +2250,16 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactManagerForUser { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, uint32_t maxBytes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConvertVCardToContactAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& vCard) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactStoreAccessType const& accessType) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAnnotationStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType const& accessType) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder) SystemDisplayNameOrder() const; - WINRT_IMPL_AUTO(void) SystemDisplayNameOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder) SystemSortOrder() const; - WINRT_IMPL_AUTO(void) SystemSortOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + auto ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; + auto ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, uint32_t maxBytes) const; + auto ConvertVCardToContactAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& vCard) const; + auto RequestStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactStoreAccessType const& accessType) const; + auto RequestAnnotationStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType const& accessType) const; + [[nodiscard]] auto SystemDisplayNameOrder() const; + auto SystemDisplayNameOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const; + [[nodiscard]] auto SystemSortOrder() const; + auto SystemSortOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -2277,7 +2268,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactManagerForUser2 { - WINRT_IMPL_AUTO(void) ShowFullContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::FullContactCardOptions const& fullContactCardOptions) const; + auto ShowFullContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::FullContactCardOptions const& fullContactCardOptions) const; }; template <> struct consume { @@ -2286,9 +2277,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactManagerStatics { - WINRT_IMPL_AUTO(void) ShowContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(void) ShowContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactCardDelayedDataLoader) ShowDelayLoadedContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + auto ShowContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection) const; + auto ShowContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + auto ShowDelayLoadedContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; }; template <> struct consume { @@ -2297,7 +2288,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync() const; + auto RequestStoreAsync() const; }; template <> struct consume { @@ -2306,20 +2297,20 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, uint32_t maxBytes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConvertVCardToContactAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& vCard) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactStoreAccessType const& accessType) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAnnotationStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType const& accessType) const; - WINRT_IMPL_AUTO(bool) IsShowContactCardSupported() const; - WINRT_IMPL_AUTO(void) ShowContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::ApplicationModel::Contacts::ContactCardOptions const& contactCardOptions) const; - WINRT_IMPL_AUTO(bool) IsShowDelayLoadedContactCardSupported() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactCardDelayedDataLoader) ShowDelayLoadedContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::ApplicationModel::Contacts::ContactCardOptions const& contactCardOptions) const; - WINRT_IMPL_AUTO(void) ShowFullContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::FullContactCardOptions const& fullContactCardOptions) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder) SystemDisplayNameOrder() const; - WINRT_IMPL_AUTO(void) SystemDisplayNameOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder) SystemSortOrder() const; - WINRT_IMPL_AUTO(void) SystemSortOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const; + auto ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; + auto ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, uint32_t maxBytes) const; + auto ConvertVCardToContactAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& vCard) const; + auto RequestStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactStoreAccessType const& accessType) const; + auto RequestAnnotationStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType const& accessType) const; + auto IsShowContactCardSupported() const; + auto ShowContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::ApplicationModel::Contacts::ContactCardOptions const& contactCardOptions) const; + auto IsShowDelayLoadedContactCardSupported() const; + auto ShowDelayLoadedContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::ApplicationModel::Contacts::ContactCardOptions const& contactCardOptions) const; + auto ShowFullContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::FullContactCardOptions const& fullContactCardOptions) const; + [[nodiscard]] auto SystemDisplayNameOrder() const; + auto SystemDisplayNameOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const; + [[nodiscard]] auto SystemSortOrder() const; + auto SystemSortOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const; }; template <> struct consume { @@ -2328,7 +2319,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactManagerStatics4 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactManagerForUser) GetForUser(winrt::Windows::System::User const& user) const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -2337,9 +2328,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactManagerStatics5 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsShowFullContactCardSupportedAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IncludeMiddleNameInSystemDisplayAndSort() const; - WINRT_IMPL_AUTO(void) IncludeMiddleNameInSystemDisplayAndSort(bool value) const; + auto IsShowFullContactCardSupportedAsync() const; + [[nodiscard]] auto IncludeMiddleNameInSystemDisplayAndSort() const; + auto IncludeMiddleNameInSystemDisplayAndSort(bool value) const; }; template <> struct consume { @@ -2348,9 +2339,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactMatchReason { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactMatchReasonKind) Field() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Segments() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; + [[nodiscard]] auto Field() const; + [[nodiscard]] auto Segments() const; + [[nodiscard]] auto Text() const; }; template <> struct consume { @@ -2359,22 +2350,22 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactName { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FirstName() const; - WINRT_IMPL_AUTO(void) FirstName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LastName() const; - WINRT_IMPL_AUTO(void) LastName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MiddleName() const; - WINRT_IMPL_AUTO(void) MiddleName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) YomiGivenName() const; - WINRT_IMPL_AUTO(void) YomiGivenName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) YomiFamilyName() const; - WINRT_IMPL_AUTO(void) YomiFamilyName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HonorificNameSuffix() const; - WINRT_IMPL_AUTO(void) HonorificNameSuffix(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HonorificNamePrefix() const; - WINRT_IMPL_AUTO(void) HonorificNamePrefix(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) YomiDisplayName() const; + [[nodiscard]] auto FirstName() const; + auto FirstName(param::hstring const& value) const; + [[nodiscard]] auto LastName() const; + auto LastName(param::hstring const& value) const; + [[nodiscard]] auto MiddleName() const; + auto MiddleName(param::hstring const& value) const; + [[nodiscard]] auto YomiGivenName() const; + auto YomiGivenName(param::hstring const& value) const; + [[nodiscard]] auto YomiFamilyName() const; + auto YomiFamilyName(param::hstring const& value) const; + [[nodiscard]] auto HonorificNameSuffix() const; + auto HonorificNameSuffix(param::hstring const& value) const; + [[nodiscard]] auto HonorificNamePrefix() const; + auto HonorificNamePrefix(param::hstring const& value) const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto YomiDisplayName() const; }; template <> struct consume { @@ -2383,17 +2374,17 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactPanel { - WINRT_IMPL_AUTO(void) ClosePanel() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) HeaderColor() const; - WINRT_IMPL_AUTO(void) HeaderColor(winrt::Windows::Foundation::IReference const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) LaunchFullAppRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ClosePanel() const; + [[nodiscard]] auto HeaderColor() const; + auto HeaderColor(winrt::Windows::Foundation::IReference const& value) const; + auto LaunchFullAppRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LaunchFullAppRequested_revoker = impl::event_revoker::remove_LaunchFullAppRequested>; - [[nodiscard]] LaunchFullAppRequested_revoker LaunchFullAppRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LaunchFullAppRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto LaunchFullAppRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LaunchFullAppRequested(winrt::event_token const& token) const noexcept; + auto Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closing_revoker = impl::event_revoker::remove_Closing>; - [[nodiscard]] Closing_revoker Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closing(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closing(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2402,7 +2393,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactPanelClosingEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -2411,8 +2402,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactPanelLaunchFullAppRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -2421,12 +2412,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactPhone { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Number() const; - WINRT_IMPL_AUTO(void) Number(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactPhoneKind) Kind() const; - WINRT_IMPL_AUTO(void) Kind(winrt::Windows::ApplicationModel::Contacts::ContactPhoneKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; + [[nodiscard]] auto Number() const; + auto Number(param::hstring const& value) const; + [[nodiscard]] auto Kind() const; + auto Kind(winrt::Windows::ApplicationModel::Contacts::ContactPhoneKind const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; }; template <> struct consume { @@ -2435,13 +2426,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactPicker { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CommitButtonText() const; - WINRT_IMPL_AUTO(void) CommitButtonText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode) SelectionMode() const; - WINRT_IMPL_AUTO(void) SelectionMode(winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DesiredFields() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PickSingleContactAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) PickMultipleContactsAsync() const; + [[nodiscard]] auto CommitButtonText() const; + auto CommitButtonText(param::hstring const& value) const; + [[nodiscard]] auto SelectionMode() const; + auto SelectionMode(winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode const& value) const; + [[nodiscard]] auto DesiredFields() const; + auto PickSingleContactAsync() const; + auto PickMultipleContactsAsync() const; }; template <> struct consume { @@ -2450,9 +2441,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactPicker2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DesiredFieldsWithContactFieldType() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PickContactAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) PickContactsAsync() const; + [[nodiscard]] auto DesiredFieldsWithContactFieldType() const; + auto PickContactAsync() const; + auto PickContactsAsync() const; }; template <> struct consume { @@ -2461,7 +2452,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactPicker3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -2470,8 +2461,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactPickerStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactPicker) CreateForUser(winrt::Windows::System::User const& user) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsSupportedAsync() const; + auto CreateForUser(winrt::Windows::System::User const& user) const; + auto IsSupportedAsync() const; }; template <> struct consume { @@ -2480,15 +2471,15 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactQueryOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQueryTextSearch) TextSearch() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ContactListIds() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IncludeContactsFromHiddenLists() const; - WINRT_IMPL_AUTO(void) IncludeContactsFromHiddenLists(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQueryDesiredFields) DesiredFields() const; - WINRT_IMPL_AUTO(void) DesiredFields(winrt::Windows::ApplicationModel::Contacts::ContactQueryDesiredFields const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations) DesiredOperations() const; - WINRT_IMPL_AUTO(void) DesiredOperations(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) AnnotationListIds() const; + [[nodiscard]] auto TextSearch() const; + [[nodiscard]] auto ContactListIds() const; + [[nodiscard]] auto IncludeContactsFromHiddenLists() const; + auto IncludeContactsFromHiddenLists(bool value) const; + [[nodiscard]] auto DesiredFields() const; + auto DesiredFields(winrt::Windows::ApplicationModel::Contacts::ContactQueryDesiredFields const& value) const; + [[nodiscard]] auto DesiredOperations() const; + auto DesiredOperations(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations const& value) const; + [[nodiscard]] auto AnnotationListIds() const; }; template <> struct consume { @@ -2497,8 +2488,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactQueryOptionsFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions) CreateWithText(param::hstring const& text) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions) CreateWithTextAndFields(param::hstring const& text, winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchFields const& fields) const; + auto CreateWithText(param::hstring const& text) const; + auto CreateWithTextAndFields(param::hstring const& text, winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchFields const& fields) const; }; template <> struct consume { @@ -2507,12 +2498,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchFields) Fields() const; - WINRT_IMPL_AUTO(void) Fields(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchFields const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchScope) SearchScope() const; - WINRT_IMPL_AUTO(void) SearchScope(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchScope const& value) const; + [[nodiscard]] auto Fields() const; + auto Fields(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchFields const& value) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto SearchScope() const; + auto SearchScope(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchScope const& value) const; }; template <> struct consume { @@ -2521,8 +2512,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactReader { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadBatchAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetMatchingPropertiesWithMatchReason(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; + auto ReadBatchAsync() const; + auto GetMatchingPropertiesWithMatchReason(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; }; template <> struct consume { @@ -2531,10 +2522,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactSignificantOther { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; }; template <> struct consume { @@ -2543,8 +2534,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactSignificantOther2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactRelationship) Relationship() const; - WINRT_IMPL_AUTO(void) Relationship(winrt::Windows::ApplicationModel::Contacts::ContactRelationship const& value) const; + [[nodiscard]] auto Relationship() const; + auto Relationship(winrt::Windows::ApplicationModel::Contacts::ContactRelationship const& value) const; }; template <> struct consume { @@ -2553,9 +2544,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactStore { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindContactsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindContactsAsync(param::hstring const& searchText) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetContactAsync(param::hstring const& contactId) const; + auto FindContactsAsync() const; + auto FindContactsAsync(param::hstring const& searchText) const; + auto GetContactAsync(param::hstring const& contactId) const; }; template <> struct consume { @@ -2564,19 +2555,19 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactStore2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker) ChangeTracker() const; - WINRT_IMPL_AUTO(winrt::event_token) ContactChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto ChangeTracker() const; + auto ContactChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using ContactChanged_revoker = impl::event_revoker::remove_ContactChanged>; - [[nodiscard]] ContactChanged_revoker ContactChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) ContactChanged(winrt::event_token const& value) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::AggregateContactManager) AggregateContactManager() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindContactListsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetContactListAsync(param::hstring const& contactListId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateContactListAsync(param::hstring const& displayName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetMeContactAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactReader) GetContactReader() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactReader) GetContactReader(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateContactListAsync(param::hstring const& displayName, param::hstring const& userDataAccountId) const; + [[nodiscard]] auto ContactChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto ContactChanged(winrt::event_token const& value) const noexcept; + [[nodiscard]] auto AggregateContactManager() const; + auto FindContactListsAsync() const; + auto GetContactListAsync(param::hstring const& contactListId) const; + auto CreateContactListAsync(param::hstring const& displayName) const; + auto GetMeContactAsync() const; + auto GetContactReader() const; + auto GetContactReader(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions const& options) const; + auto CreateContactListAsync(param::hstring const& displayName, param::hstring const& userDataAccountId) const; }; template <> struct consume { @@ -2585,7 +2576,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactStore3 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker) GetChangeTracker(param::hstring const& identity) const; + auto GetChangeTracker(param::hstring const& identity) const; }; template <> struct consume { @@ -2602,10 +2593,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactWebsite { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - WINRT_IMPL_AUTO(void) Uri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; + [[nodiscard]] auto Uri() const; + auto Uri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; }; template <> struct consume { @@ -2614,8 +2605,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IContactWebsite2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RawValue() const; - WINRT_IMPL_AUTO(void) RawValue(param::hstring const& value) const; + [[nodiscard]] auto RawValue() const; + auto RawValue(param::hstring const& value) const; }; template <> struct consume { @@ -2624,8 +2615,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IFullContactCardOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ViewSizePreference) DesiredRemainingView() const; - WINRT_IMPL_AUTO(void) DesiredRemainingView(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const; + [[nodiscard]] auto DesiredRemainingView() const; + auto DesiredRemainingView(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const; }; template <> struct consume { @@ -2634,12 +2625,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Email() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PhoneNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Location() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) InstantMessage() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactFieldType) ConvertNameToType(param::hstring const& name) const; - WINRT_IMPL_AUTO(hstring) ConvertTypeToName(winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type) const; + [[nodiscard]] auto Email() const; + [[nodiscard]] auto PhoneNumber() const; + [[nodiscard]] auto Location() const; + [[nodiscard]] auto InstantMessage() const; + auto ConvertNameToType(param::hstring const& name) const; + auto ConvertTypeToName(winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type) const; }; template <> struct consume { @@ -2648,7 +2639,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IPinnedContactIdsQueryResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ContactIds() const; + [[nodiscard]] auto ContactIds() const; }; template <> struct consume { @@ -2657,14 +2648,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IPinnedContactManager { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; - WINRT_IMPL_AUTO(bool) IsPinSurfaceSupported(winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const; - WINRT_IMPL_AUTO(bool) IsContactPinned(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPinContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPinContactsAsync(param::async_iterable const& contacts, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestUnpinContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const; - WINRT_IMPL_AUTO(void) SignalContactActivity(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPinnedContactIdsAsync() const; + [[nodiscard]] auto User() const; + auto IsPinSurfaceSupported(winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const; + auto IsContactPinned(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const; + auto RequestPinContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const; + auto RequestPinContactsAsync(param::async_iterable const& contacts, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const; + auto RequestUnpinContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const; + auto SignalContactActivity(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; + auto GetPinnedContactIdsAsync() const; }; template <> struct consume { @@ -2673,9 +2664,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_IPinnedContactManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::PinnedContactManager) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::PinnedContactManager) GetForUser(winrt::Windows::System::User const& user) const; - WINRT_IMPL_AUTO(bool) IsSupported() const; + auto GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; + auto IsSupported() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.1.h index 9ea46646..870d7728 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Contacts_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.2.h index 4c305038..f980f0c0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Contacts_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.0.h index a15b9fb8..9b57c00d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Contacts_DataProvider_0_H @@ -210,15 +210,15 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection { - WINRT_IMPL_AUTO(winrt::event_token) SyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SyncRequested_revoker = impl::event_revoker::remove_SyncRequested>; - [[nodiscard]] SyncRequested_revoker SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SyncRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ServerSearchReadBatchRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SyncRequested(winrt::event_token const& token) const noexcept; + auto ServerSearchReadBatchRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ServerSearchReadBatchRequested_revoker = impl::event_revoker::remove_ServerSearchReadBatchRequested>; - [[nodiscard]] ServerSearchReadBatchRequested_revoker ServerSearchReadBatchRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ServerSearchReadBatchRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Start() const; + [[nodiscard]] auto ServerSearchReadBatchRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ServerSearchReadBatchRequested(winrt::event_token const& token) const noexcept; + auto Start() const; }; template <> struct consume { @@ -227,14 +227,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2 { - WINRT_IMPL_AUTO(winrt::event_token) CreateOrUpdateContactRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CreateOrUpdateContactRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CreateOrUpdateContactRequested_revoker = impl::event_revoker::remove_CreateOrUpdateContactRequested>; - [[nodiscard]] CreateOrUpdateContactRequested_revoker CreateOrUpdateContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CreateOrUpdateContactRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DeleteContactRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CreateOrUpdateContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CreateOrUpdateContactRequested(winrt::event_token const& token) const noexcept; + auto DeleteContactRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DeleteContactRequested_revoker = impl::event_revoker::remove_DeleteContactRequested>; - [[nodiscard]] DeleteContactRequested_revoker DeleteContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DeleteContactRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DeleteContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DeleteContactRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -243,7 +243,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection) Connection() const; + [[nodiscard]] auto Connection() const; }; template <> struct consume { @@ -252,10 +252,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContactListId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) Contact() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& createdOrUpdatedContact) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto ContactListId() const; + [[nodiscard]] auto Contact() const; + auto ReportCompletedAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& createdOrUpdatedContact) const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -264,8 +264,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListCreateOrUpdateContactRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -274,10 +274,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContactListId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContactId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto ContactListId() const; + [[nodiscard]] auto ContactId() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -286,8 +286,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListDeleteContactRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -296,13 +296,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SessionId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContactListId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions) Options() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SuggestedBatchSize() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(winrt::Windows::ApplicationModel::Contacts::ContactBatchStatus const& batchStatus) const; + [[nodiscard]] auto SessionId() const; + [[nodiscard]] auto ContactListId() const; + [[nodiscard]] auto Options() const; + [[nodiscard]] auto SuggestedBatchSize() const; + auto SaveContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync(winrt::Windows::ApplicationModel::Contacts::ContactBatchStatus const& batchStatus) const; }; template <> struct consume { @@ -311,8 +311,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListServerSearchReadBatchRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -321,9 +321,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContactListId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto ContactListId() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -332,8 +332,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListSyncManagerSyncRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.1.h index b17e000b..b337d9d4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Contacts_DataProvider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.2.h index 21224214..d609bbba 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Contacts_DataProvider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.0.h index 7f40744b..e7ebb01f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Contacts_Provider_0_H @@ -6,7 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Contacts { struct Contact; - enum class ContactFieldType : int32_t; enum class ContactSelectionMode : int32_t; } WINRT_EXPORT namespace winrt::Windows::Foundation @@ -14,11 +13,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Contacts::Provider { enum class AddContactResult : int32_t @@ -83,15 +77,15 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Provider::AddContactResult) AddContact(param::hstring const& id, winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; - WINRT_IMPL_AUTO(void) RemoveContact(param::hstring const& id) const; - WINRT_IMPL_AUTO(bool) ContainsContact(param::hstring const& id) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) DesiredFields() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode) SelectionMode() const; - WINRT_IMPL_AUTO(winrt::event_token) ContactRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AddContact(param::hstring const& id, winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; + auto RemoveContact(param::hstring const& id) const; + auto ContainsContact(param::hstring const& id) const; + [[nodiscard]] auto DesiredFields() const; + [[nodiscard]] auto SelectionMode() const; + auto ContactRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ContactRemoved_revoker = impl::event_revoker::remove_ContactRemoved>; - [[nodiscard]] ContactRemoved_revoker ContactRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContactRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ContactRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ContactRemoved(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -100,8 +94,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI2 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Provider::AddContactResult) AddContact(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DesiredFieldsWithContactFieldType() const; + auto AddContact(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const; + [[nodiscard]] auto DesiredFieldsWithContactFieldType() const; }; template <> struct consume { @@ -110,7 +104,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Contacts_Provider_IContactRemovedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; + [[nodiscard]] auto Id() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.1.h index 0b040420..483ae18c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Contacts_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.2.h index 9787e478..899eb408 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Contacts_Provider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.0.h index a602e113..24a677e7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_ConversationalAgent_0_H @@ -7,13 +7,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Media::Audio { struct AudioDeviceInputNode; @@ -370,32 +365,32 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SignalId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ModelId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsActive() const; - WINRT_IMPL_AUTO(void) SetEnabled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetEnabledAsync(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityInfo) AvailabilityInfo() const; - WINRT_IMPL_AUTO(winrt::event_token) AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SignalId() const; + [[nodiscard]] auto ModelId() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto IsActive() const; + auto SetEnabled(bool value) const; + auto SetEnabledAsync(bool value) const; + [[nodiscard]] auto AvailabilityInfo() const; + auto AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AvailabilityChanged_revoker = impl::event_revoker::remove_AvailabilityChanged>; - [[nodiscard]] AvailabilityChanged_revoker AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AvailabilityChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SetModelData(param::hstring const& dataType, winrt::Windows::Storage::Streams::IInputStream const& data) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetModelDataAsync(param::hstring const& dataType, winrt::Windows::Storage::Streams::IInputStream const& data) const; - WINRT_IMPL_AUTO(hstring) GetModelDataType() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetModelDataTypeAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) GetModelData() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetModelDataAsync() const; - WINRT_IMPL_AUTO(void) ClearModelData() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearModelDataAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TrainingStepsCompleted() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TrainingStepsRemaining() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat) TrainingDataFormat() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationTrainingStatus) ApplyTrainingData(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat const& trainingDataFormat, winrt::Windows::Storage::Streams::IInputStream const& trainingData) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ApplyTrainingDataAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat const& trainingDataFormat, winrt::Windows::Storage::Streams::IInputStream const& trainingData) const; - WINRT_IMPL_AUTO(void) ClearTrainingData() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearTrainingDataAsync() const; + [[nodiscard]] auto AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AvailabilityChanged(winrt::event_token const& token) const noexcept; + auto SetModelData(param::hstring const& dataType, winrt::Windows::Storage::Streams::IInputStream const& data) const; + auto SetModelDataAsync(param::hstring const& dataType, winrt::Windows::Storage::Streams::IInputStream const& data) const; + auto GetModelDataType() const; + auto GetModelDataTypeAsync() const; + auto GetModelData() const; + auto GetModelDataAsync() const; + auto ClearModelData() const; + auto ClearModelDataAsync() const; + [[nodiscard]] auto TrainingStepsCompleted() const; + [[nodiscard]] auto TrainingStepsRemaining() const; + [[nodiscard]] auto TrainingDataFormat() const; + auto ApplyTrainingData(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat const& trainingDataFormat, winrt::Windows::Storage::Streams::IInputStream const& trainingData) const; + auto ApplyTrainingDataAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat const& trainingDataFormat, winrt::Windows::Storage::Streams::IInputStream const& trainingData) const; + auto ClearTrainingData() const; + auto ClearTrainingDataAsync() const; }; template <> struct consume { @@ -404,22 +399,22 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanCreateConfigurations() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedModelDataTypes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedTrainingDataFormats() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedPowerStates() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetSupportedModelIdsForSignalId(param::hstring const& signalId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetSupportedModelIdsForSignalIdAsync(param::hstring const& signalId) const; - WINRT_IMPL_AUTO(void) CreateConfiguration(param::hstring const& signalId, param::hstring const& modelId, param::hstring const& displayName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CreateConfigurationAsync(param::hstring const& signalId, param::hstring const& modelId, param::hstring const& displayName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetConfigurations() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetConfigurationsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration) GetConfiguration(param::hstring const& signalId, param::hstring const& modelId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetConfigurationAsync(param::hstring const& signalId, param::hstring const& modelId) const; - WINRT_IMPL_AUTO(void) RemoveConfiguration(param::hstring const& signalId, param::hstring const& modelId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RemoveConfigurationAsync(param::hstring const& signalId, param::hstring const& modelId) const; + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto CanCreateConfigurations() const; + [[nodiscard]] auto SupportedModelDataTypes() const; + [[nodiscard]] auto SupportedTrainingDataFormats() const; + [[nodiscard]] auto SupportedPowerStates() const; + auto GetSupportedModelIdsForSignalId(param::hstring const& signalId) const; + auto GetSupportedModelIdsForSignalIdAsync(param::hstring const& signalId) const; + auto CreateConfiguration(param::hstring const& signalId, param::hstring const& modelId, param::hstring const& displayName) const; + auto CreateConfigurationAsync(param::hstring const& signalId, param::hstring const& modelId, param::hstring const& displayName) const; + auto GetConfigurations() const; + auto GetConfigurationsAsync() const; + auto GetConfiguration(param::hstring const& signalId, param::hstring const& modelId) const; + auto GetConfigurationAsync(param::hstring const& signalId, param::hstring const& modelId) const; + auto RemoveConfiguration(param::hstring const& signalId, param::hstring const& modelId) const; + auto RemoveConfigurationAsync(param::hstring const& signalId, param::hstring const& modelId) const; }; template <> struct consume { @@ -428,10 +423,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAllActivationSignalDetectors() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetAllActivationSignalDetectorsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetActivationSignalDetectors(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind const& kind) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetActivationSignalDetectorsAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind const& kind) const; + auto GetAllActivationSignalDetectors() const; + auto GetAllActivationSignalDetectorsAsync() const; + auto GetActivationSignalDetectors(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind const& kind) const; + auto GetActivationSignalDetectorsAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind const& kind) const; }; template <> struct consume { @@ -440,7 +435,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManagerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentDetectorManager) Default() const; + [[nodiscard]] auto Default() const; }; template <> struct consume { @@ -449,46 +444,46 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession { - WINRT_IMPL_AUTO(winrt::event_token) SessionInterrupted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SessionInterrupted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SessionInterrupted_revoker = impl::event_revoker::remove_SessionInterrupted>; - [[nodiscard]] SessionInterrupted_revoker SessionInterrupted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SessionInterrupted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SignalDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SessionInterrupted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SessionInterrupted(winrt::event_token const& token) const noexcept; + auto SignalDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SignalDetected_revoker = impl::event_revoker::remove_SignalDetected>; - [[nodiscard]] SignalDetected_revoker SignalDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SignalDetected(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SystemStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SignalDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SignalDetected(winrt::event_token const& token) const noexcept; + auto SystemStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SystemStateChanged_revoker = impl::event_revoker::remove_SystemStateChanged>; - [[nodiscard]] SystemStateChanged_revoker SystemStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SystemStateChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentState) AgentState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSignal) Signal() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsIndicatorLightAvailable() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsScreenAvailable() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsUserAuthenticated() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVoiceActivationAvailable() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInterruptible() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInterrupted() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestInterruptibleAsync(bool interruptible) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse) RequestInterruptible(bool interruptible) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAgentStateChangeAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentState const& state) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse) RequestAgentStateChange(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentState const& state) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestForegroundActivationAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse) RequestForegroundActivation() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAudioClientAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetAudioClient() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAudioDeviceInputNodeAsync(winrt::Windows::Media::Audio::AudioGraph const& graph) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioDeviceInputNode) CreateAudioDeviceInputNode(winrt::Windows::Media::Audio::AudioGraph const& graph) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAudioCaptureDeviceIdAsync() const; - WINRT_IMPL_AUTO(hstring) GetAudioCaptureDeviceId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAudioRenderDeviceIdAsync() const; - WINRT_IMPL_AUTO(hstring) GetAudioRenderDeviceId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetSignalModelIdAsync() const; - WINRT_IMPL_AUTO(uint32_t) GetSignalModelId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetSignalModelIdAsync(uint32_t signalModelId) const; - WINRT_IMPL_AUTO(bool) SetSignalModelId(uint32_t signalModelId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetSupportedSignalModelIdsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetSupportedSignalModelIds() const; + [[nodiscard]] auto SystemStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SystemStateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AgentState() const; + [[nodiscard]] auto Signal() const; + [[nodiscard]] auto IsIndicatorLightAvailable() const; + [[nodiscard]] auto IsScreenAvailable() const; + [[nodiscard]] auto IsUserAuthenticated() const; + [[nodiscard]] auto IsVoiceActivationAvailable() const; + [[nodiscard]] auto IsInterruptible() const; + [[nodiscard]] auto IsInterrupted() const; + auto RequestInterruptibleAsync(bool interruptible) const; + auto RequestInterruptible(bool interruptible) const; + auto RequestAgentStateChangeAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentState const& state) const; + auto RequestAgentStateChange(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentState const& state) const; + auto RequestForegroundActivationAsync() const; + auto RequestForegroundActivation() const; + auto GetAudioClientAsync() const; + auto GetAudioClient() const; + auto CreateAudioDeviceInputNodeAsync(winrt::Windows::Media::Audio::AudioGraph const& graph) const; + auto CreateAudioDeviceInputNode(winrt::Windows::Media::Audio::AudioGraph const& graph) const; + auto GetAudioCaptureDeviceIdAsync() const; + auto GetAudioCaptureDeviceId() const; + auto GetAudioRenderDeviceIdAsync() const; + auto GetAudioRenderDeviceId() const; + auto GetSignalModelIdAsync() const; + auto GetSignalModelId() const; + auto SetSignalModelIdAsync(uint32_t signalModelId) const; + auto SetSignalModelId(uint32_t signalModelId) const; + auto GetSupportedSignalModelIdsAsync() const; + auto GetSupportedSignalModelIds() const; }; template <> struct consume { @@ -505,8 +500,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSessionStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCurrentSessionAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession) GetCurrentSessionSync() const; + auto GetCurrentSessionAsync() const; + auto GetCurrentSessionSync() const; }; template <> struct consume { @@ -515,18 +510,18 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSignalVerificationRequired() const; - WINRT_IMPL_AUTO(void) IsSignalVerificationRequired(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SignalId() const; - WINRT_IMPL_AUTO(void) SignalId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SignalName() const; - WINRT_IMPL_AUTO(void) SignalName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SignalContext() const; - WINRT_IMPL_AUTO(void) SignalContext(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) SignalStart() const; - WINRT_IMPL_AUTO(void) SignalStart(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) SignalEnd() const; - WINRT_IMPL_AUTO(void) SignalEnd(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto IsSignalVerificationRequired() const; + auto IsSignalVerificationRequired(bool value) const; + [[nodiscard]] auto SignalId() const; + auto SignalId(param::hstring const& value) const; + [[nodiscard]] auto SignalName() const; + auto SignalName(param::hstring const& value) const; + [[nodiscard]] auto SignalContext() const; + auto SignalContext(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto SignalStart() const; + auto SignalStart(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto SignalEnd() const; + auto SignalEnd(winrt::Windows::Foundation::TimeSpan const& value) const; }; template <> struct consume { @@ -543,7 +538,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSystemStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSystemStateChangeType) SystemStateChangeType() const; + [[nodiscard]] auto SystemStateChangeType() const; }; template <> struct consume { @@ -552,7 +547,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityChangeKind) Kind() const; + [[nodiscard]] auto Kind() const; }; template <> struct consume { @@ -561,10 +556,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasSystemResourceAccess() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasPermission() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasLockScreenPermission() const; + [[nodiscard]] auto IsEnabled() const; + [[nodiscard]] auto HasSystemResourceAccess() const; + [[nodiscard]] auto HasPermission() const; + [[nodiscard]] auto HasLockScreenPermission() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.1.h index c81bea4f..a255d58a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_ConversationalAgent_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.2.h index 0721a3e1..f1fc4dd4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_ConversationalAgent_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.0.h index 1445c921..08d749bf 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Core_0_H @@ -21,14 +21,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct Deferral; template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; struct IGetActivationFactory; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { struct IPropertySet; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::System { @@ -391,8 +389,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_IAppListEntry { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppDisplayInfo) DisplayInfo() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchAsync() const; + [[nodiscard]] auto DisplayInfo() const; + auto LaunchAsync() const; }; template <> struct consume { @@ -401,7 +399,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_IAppListEntry2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppUserModelId() const; + [[nodiscard]] auto AppUserModelId() const; }; template <> struct consume { @@ -410,7 +408,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_IAppListEntry3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchForUserAsync(winrt::Windows::System::User const& user) const; + auto LaunchForUserAsync(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -419,7 +417,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_IAppListEntry4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) AppInfo() const; + [[nodiscard]] auto AppInfo() const; }; template <> struct consume { @@ -428,19 +426,19 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_ICoreApplication { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(winrt::event_token) Suspending(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto Id() const; + auto Suspending(winrt::Windows::Foundation::EventHandler const& handler) const; using Suspending_revoker = impl::event_revoker::remove_Suspending>; - [[nodiscard]] Suspending_revoker Suspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Suspending(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Resuming(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto Suspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Suspending(winrt::event_token const& token) const noexcept; + auto Resuming(winrt::Windows::Foundation::EventHandler const& handler) const; using Resuming_revoker = impl::event_revoker::remove_Resuming>; - [[nodiscard]] Resuming_revoker Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Resuming(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) Properties() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationView) GetCurrentView() const; - WINRT_IMPL_AUTO(void) Run(winrt::Windows::ApplicationModel::Core::IFrameworkViewSource const& viewSource) const; - WINRT_IMPL_AUTO(void) RunWithActivationFactories(winrt::Windows::Foundation::IGetActivationFactory const& activationFactoryCallback) const; + [[nodiscard]] auto Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Resuming(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Properties() const; + auto GetCurrentView() const; + auto Run(winrt::Windows::ApplicationModel::Core::IFrameworkViewSource const& viewSource) const; + auto RunWithActivationFactories(winrt::Windows::Foundation::IGetActivationFactory const& activationFactoryCallback) const; }; template <> struct consume { @@ -449,19 +447,19 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_ICoreApplication2 { - WINRT_IMPL_AUTO(winrt::event_token) BackgroundActivated(winrt::Windows::Foundation::EventHandler const& handler) const; + auto BackgroundActivated(winrt::Windows::Foundation::EventHandler const& handler) const; using BackgroundActivated_revoker = impl::event_revoker::remove_BackgroundActivated>; - [[nodiscard]] BackgroundActivated_revoker BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BackgroundActivated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LeavingBackground(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto BackgroundActivated(winrt::event_token const& token) const noexcept; + auto LeavingBackground(winrt::Windows::Foundation::EventHandler const& handler) const; using LeavingBackground_revoker = impl::event_revoker::remove_LeavingBackground>; - [[nodiscard]] LeavingBackground_revoker LeavingBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LeavingBackground(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnteredBackground(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto LeavingBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto LeavingBackground(winrt::event_token const& token) const noexcept; + auto EnteredBackground(winrt::Windows::Foundation::EventHandler const& handler) const; using EnteredBackground_revoker = impl::event_revoker::remove_EnteredBackground>; - [[nodiscard]] EnteredBackground_revoker EnteredBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnteredBackground(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) EnablePrelaunch(bool value) const; + [[nodiscard]] auto EnteredBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto EnteredBackground(winrt::event_token const& token) const noexcept; + auto EnablePrelaunch(bool value) const; }; template <> struct consume { @@ -470,8 +468,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_ICoreApplication3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestRestartAsync(param::hstring const& launchArguments) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestRestartForUserAsync(winrt::Windows::System::User const& user, param::hstring const& launchArguments) const; + auto RequestRestartAsync(param::hstring const& launchArguments) const; + auto RequestRestartForUserAsync(winrt::Windows::System::User const& user, param::hstring const& launchArguments) const; }; template <> struct consume { @@ -480,11 +478,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_ICoreApplicationExit { - WINRT_IMPL_AUTO(void) Exit() const; - WINRT_IMPL_AUTO(winrt::event_token) Exiting(winrt::Windows::Foundation::EventHandler const& handler) const; + auto Exit() const; + auto Exiting(winrt::Windows::Foundation::EventHandler const& handler) const; using Exiting_revoker = impl::event_revoker::remove_Exiting>; - [[nodiscard]] Exiting_revoker Exiting(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Exiting(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Exiting(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Exiting(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -493,10 +491,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_ICoreApplicationUnhandledError { - WINRT_IMPL_AUTO(winrt::event_token) UnhandledErrorDetected(winrt::Windows::Foundation::EventHandler const& handler) const; + auto UnhandledErrorDetected(winrt::Windows::Foundation::EventHandler const& handler) const; using UnhandledErrorDetected_revoker = impl::event_revoker::remove_UnhandledErrorDetected>; - [[nodiscard]] UnhandledErrorDetected_revoker UnhandledErrorDetected(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UnhandledErrorDetected(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto UnhandledErrorDetected(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto UnhandledErrorDetected(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -505,8 +503,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_ICoreApplicationUseCount { - WINRT_IMPL_AUTO(void) IncrementApplicationUseCount() const; - WINRT_IMPL_AUTO(void) DecrementApplicationUseCount() const; + auto IncrementApplicationUseCount() const; + auto DecrementApplicationUseCount() const; }; template <> struct consume { @@ -515,13 +513,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_ICoreApplicationView { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindow) CoreWindow() const; - WINRT_IMPL_AUTO(winrt::event_token) Activated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CoreWindow() const; + auto Activated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Activated_revoker = impl::event_revoker::remove_Activated>; - [[nodiscard]] Activated_revoker Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Activated(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMain() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHosted() const; + [[nodiscard]] auto Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Activated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsMain() const; + [[nodiscard]] auto IsHosted() const; }; template <> struct consume { @@ -530,7 +528,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_ICoreApplicationView2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) Dispatcher() const; + [[nodiscard]] auto Dispatcher() const; }; template <> struct consume { @@ -539,12 +537,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_ICoreApplicationView3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsComponent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar) TitleBar() const; - WINRT_IMPL_AUTO(winrt::event_token) HostedViewClosing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsComponent() const; + [[nodiscard]] auto TitleBar() const; + auto HostedViewClosing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using HostedViewClosing_revoker = impl::event_revoker::remove_HostedViewClosing>; - [[nodiscard]] HostedViewClosing_revoker HostedViewClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) HostedViewClosing(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto HostedViewClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto HostedViewClosing(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -553,7 +551,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_ICoreApplicationView5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) Properties() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -562,7 +560,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_ICoreApplicationView6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) DispatcherQueue() const; + [[nodiscard]] auto DispatcherQueue() const; }; template <> struct consume { @@ -571,20 +569,20 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar { - WINRT_IMPL_AUTO(void) ExtendViewIntoTitleBar(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ExtendViewIntoTitleBar() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SystemOverlayLeftInset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SystemOverlayRightInset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Height() const; - WINRT_IMPL_AUTO(winrt::event_token) LayoutMetricsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ExtendViewIntoTitleBar(bool value) const; + [[nodiscard]] auto ExtendViewIntoTitleBar() const; + [[nodiscard]] auto SystemOverlayLeftInset() const; + [[nodiscard]] auto SystemOverlayRightInset() const; + [[nodiscard]] auto Height() const; + auto LayoutMetricsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LayoutMetricsChanged_revoker = impl::event_revoker::remove_LayoutMetricsChanged>; - [[nodiscard]] LayoutMetricsChanged_revoker LayoutMetricsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LayoutMetricsChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVisible() const; - WINRT_IMPL_AUTO(winrt::event_token) IsVisibleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto LayoutMetricsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LayoutMetricsChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsVisible() const; + auto IsVisibleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsVisibleChanged_revoker = impl::event_revoker::remove_IsVisibleChanged>; - [[nodiscard]] IsVisibleChanged_revoker IsVisibleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsVisibleChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsVisibleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsVisibleChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -593,9 +591,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Views() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationView) CreateNewView(param::hstring const& runtimeType, param::hstring const& entryPoint) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationView) MainView() const; + [[nodiscard]] auto Views() const; + auto CreateNewView(param::hstring const& runtimeType, param::hstring const& entryPoint) const; + [[nodiscard]] auto MainView() const; }; template <> struct consume { @@ -604,7 +602,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication2 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationView) CreateNewView() const; + auto CreateNewView() const; }; template <> struct consume { @@ -613,7 +611,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication3 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationView) CreateNewView(winrt::Windows::ApplicationModel::Core::IFrameworkViewSource const& viewSource) const; + auto CreateNewView(winrt::Windows::ApplicationModel::Core::IFrameworkViewSource const& viewSource) const; }; template <> struct consume { @@ -622,11 +620,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_IFrameworkView { - WINRT_IMPL_AUTO(void) Initialize(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& applicationView) const; - WINRT_IMPL_AUTO(void) SetWindow(winrt::Windows::UI::Core::CoreWindow const& window) const; - WINRT_IMPL_AUTO(void) Load(param::hstring const& entryPoint) const; - WINRT_IMPL_AUTO(void) Run() const; - WINRT_IMPL_AUTO(void) Uninitialize() const; + auto Initialize(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& applicationView) const; + auto SetWindow(winrt::Windows::UI::Core::CoreWindow const& window) const; + auto Load(param::hstring const& entryPoint) const; + auto Run() const; + auto Uninitialize() const; }; template <> struct consume { @@ -635,7 +633,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_IFrameworkViewSource { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::IFrameworkView) CreateView() const; + auto CreateView() const; }; template <> struct consume { @@ -644,7 +642,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_IHostedViewClosingEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -653,8 +651,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_IUnhandledError { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Propagate() const; + [[nodiscard]] auto Handled() const; + auto Propagate() const; }; template <> struct consume { @@ -663,7 +661,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Core_IUnhandledErrorDetectedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::UnhandledError) UnhandledError() const; + [[nodiscard]] auto UnhandledError() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.1.h index 61451bd7..cd9663e1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.2.h index fa600a1a..0506d1fc 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Core_2_H @@ -22,11 +22,11 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core [[nodiscard]] static auto Id(); static auto Suspending(winrt::Windows::Foundation::EventHandler const& handler); using Suspending_revoker = impl::factory_event_revoker::remove_Suspending>; - [[nodiscard]] static Suspending_revoker Suspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto Suspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto Suspending(winrt::event_token const& token); static auto Resuming(winrt::Windows::Foundation::EventHandler const& handler); using Resuming_revoker = impl::factory_event_revoker::remove_Resuming>; - [[nodiscard]] static Resuming_revoker Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto Resuming(winrt::event_token const& token); [[nodiscard]] static auto Properties(); static auto GetCurrentView(); @@ -34,15 +34,15 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core static auto RunWithActivationFactories(winrt::Windows::Foundation::IGetActivationFactory const& activationFactoryCallback); static auto BackgroundActivated(winrt::Windows::Foundation::EventHandler const& handler); using BackgroundActivated_revoker = impl::factory_event_revoker::remove_BackgroundActivated>; - [[nodiscard]] static BackgroundActivated_revoker BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto BackgroundActivated(winrt::event_token const& token); static auto LeavingBackground(winrt::Windows::Foundation::EventHandler const& handler); using LeavingBackground_revoker = impl::factory_event_revoker::remove_LeavingBackground>; - [[nodiscard]] static LeavingBackground_revoker LeavingBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto LeavingBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto LeavingBackground(winrt::event_token const& token); static auto EnteredBackground(winrt::Windows::Foundation::EventHandler const& handler); using EnteredBackground_revoker = impl::factory_event_revoker::remove_EnteredBackground>; - [[nodiscard]] static EnteredBackground_revoker EnteredBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto EnteredBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto EnteredBackground(winrt::event_token const& token); static auto EnablePrelaunch(bool value); static auto RequestRestartAsync(param::hstring const& launchArguments); @@ -50,11 +50,11 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core static auto Exit(); static auto Exiting(winrt::Windows::Foundation::EventHandler const& handler); using Exiting_revoker = impl::factory_event_revoker::remove_Exiting>; - [[nodiscard]] static Exiting_revoker Exiting(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto Exiting(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto Exiting(winrt::event_token const& token); static auto UnhandledErrorDetected(winrt::Windows::Foundation::EventHandler const& handler); using UnhandledErrorDetected_revoker = impl::factory_event_revoker::remove_UnhandledErrorDetected>; - [[nodiscard]] static UnhandledErrorDetected_revoker UnhandledErrorDetected(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto UnhandledErrorDetected(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto UnhandledErrorDetected(winrt::event_token const& token); static auto IncrementApplicationUseCount(); static auto DecrementApplicationUseCount(); diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.0.h index e1bd4ec4..9dce7cdb 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_DataTransfer_0_H @@ -8,7 +8,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct Deferral; template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; struct Rect; template struct __declspec(empty_bases) TypedEventHandler; @@ -17,10 +16,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Security::EnterpriseData { @@ -30,7 +25,6 @@ WINRT_EXPORT namespace winrt::Windows::Storage { struct IStorageFile; struct IStorageItem; - struct StorageFile; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { @@ -855,12 +849,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRoamable() const; - WINRT_IMPL_AUTO(void) IsRoamable(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAllowedInHistory() const; - WINRT_IMPL_AUTO(void) IsAllowedInHistory(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) RoamingFormats() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) HistoryFormats() const; + [[nodiscard]] auto IsRoamable() const; + auto IsRoamable(bool value) const; + [[nodiscard]] auto IsAllowedInHistory() const; + auto IsAllowedInHistory(bool value) const; + [[nodiscard]] auto RoamingFormats() const; + [[nodiscard]] auto HistoryFormats() const; }; template <> struct consume { @@ -877,9 +871,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItem { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) Content() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Content() const; }; template <> struct consume { @@ -888,8 +882,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItemsResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItemsResultStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Items() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Items() const; }; template <> struct consume { @@ -898,14 +892,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) GetContent() const; - WINRT_IMPL_AUTO(void) SetContent(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& content) const; - WINRT_IMPL_AUTO(void) Flush() const; - WINRT_IMPL_AUTO(void) Clear() const; - WINRT_IMPL_AUTO(winrt::event_token) ContentChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + auto GetContent() const; + auto SetContent(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& content) const; + auto Flush() const; + auto Clear() const; + auto ContentChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using ContentChanged_revoker = impl::event_revoker::remove_ContentChanged>; - [[nodiscard]] ContentChanged_revoker ContentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContentChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ContentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ContentChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -914,25 +908,25 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetHistoryItemsAsync() const; - WINRT_IMPL_AUTO(bool) ClearHistory() const; - WINRT_IMPL_AUTO(bool) DeleteItemFromHistory(winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItem const& item) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::SetHistoryItemAsContentStatus) SetHistoryItemAsContent(winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItem const& item) const; - WINRT_IMPL_AUTO(bool) IsHistoryEnabled() const; - WINRT_IMPL_AUTO(bool) IsRoamingEnabled() const; - WINRT_IMPL_AUTO(bool) SetContentWithOptions(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& content, winrt::Windows::ApplicationModel::DataTransfer::ClipboardContentOptions const& options) const; - WINRT_IMPL_AUTO(winrt::event_token) HistoryChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + auto GetHistoryItemsAsync() const; + auto ClearHistory() const; + auto DeleteItemFromHistory(winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItem const& item) const; + auto SetHistoryItemAsContent(winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItem const& item) const; + auto IsHistoryEnabled() const; + auto IsRoamingEnabled() const; + auto SetContentWithOptions(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& content, winrt::Windows::ApplicationModel::DataTransfer::ClipboardContentOptions const& options) const; + auto HistoryChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using HistoryChanged_revoker = impl::event_revoker::remove_HistoryChanged>; - [[nodiscard]] HistoryChanged_revoker HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) HistoryChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RoamingEnabledChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto HistoryChanged(winrt::event_token const& token) const noexcept; + auto RoamingEnabledChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using RoamingEnabledChanged_revoker = impl::event_revoker::remove_RoamingEnabledChanged>; - [[nodiscard]] RoamingEnabledChanged_revoker RoamingEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RoamingEnabledChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) HistoryEnabledChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto RoamingEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto RoamingEnabledChanged(winrt::event_token const& token) const noexcept; + auto HistoryEnabledChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using HistoryEnabledChanged_revoker = impl::event_revoker::remove_HistoryEnabledChanged>; - [[nodiscard]] HistoryEnabledChanged_revoker HistoryEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) HistoryEnabledChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto HistoryEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto HistoryEnabledChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -941,28 +935,28 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackage { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) GetView() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackagePropertySet) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) RequestedOperation() const; - WINRT_IMPL_AUTO(void) RequestedOperation(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) OperationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetView() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto RequestedOperation() const; + auto RequestedOperation(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const; + auto OperationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using OperationCompleted_revoker = impl::event_revoker::remove_OperationCompleted>; - [[nodiscard]] OperationCompleted_revoker OperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) OperationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Destroyed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto OperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OperationCompleted(winrt::event_token const& token) const noexcept; + auto Destroyed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Destroyed_revoker = impl::event_revoker::remove_Destroyed>; - [[nodiscard]] Destroyed_revoker Destroyed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Destroyed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SetData(param::hstring const& formatId, winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(void) SetDataProvider(param::hstring const& formatId, winrt::Windows::ApplicationModel::DataTransfer::DataProviderHandler const& delayRenderer) const; - WINRT_IMPL_AUTO(void) SetText(param::hstring const& value) const; - WINRT_IMPL_AUTO(void) SetUri(winrt::Windows::Foundation::Uri const& value) const; - WINRT_IMPL_AUTO(void) SetHtmlFormat(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) ResourceMap() const; - WINRT_IMPL_AUTO(void) SetRtf(param::hstring const& value) const; - WINRT_IMPL_AUTO(void) SetBitmap(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const; - WINRT_IMPL_AUTO(void) SetStorageItems(param::iterable const& value) const; - WINRT_IMPL_AUTO(void) SetStorageItems(param::iterable const& value, bool readOnly) const; + [[nodiscard]] auto Destroyed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Destroyed(winrt::event_token const& token) const noexcept; + auto SetData(param::hstring const& formatId, winrt::Windows::Foundation::IInspectable const& value) const; + auto SetDataProvider(param::hstring const& formatId, winrt::Windows::ApplicationModel::DataTransfer::DataProviderHandler const& delayRenderer) const; + auto SetText(param::hstring const& value) const; + auto SetUri(winrt::Windows::Foundation::Uri const& value) const; + auto SetHtmlFormat(param::hstring const& value) const; + [[nodiscard]] auto ResourceMap() const; + auto SetRtf(param::hstring const& value) const; + auto SetBitmap(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const; + auto SetStorageItems(param::iterable const& value) const; + auto SetStorageItems(param::iterable const& value, bool readOnly) const; }; template <> struct consume { @@ -971,8 +965,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackage2 { - WINRT_IMPL_AUTO(void) SetApplicationLink(winrt::Windows::Foundation::Uri const& value) const; - WINRT_IMPL_AUTO(void) SetWebLink(winrt::Windows::Foundation::Uri const& value) const; + auto SetApplicationLink(winrt::Windows::Foundation::Uri const& value) const; + auto SetWebLink(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -981,10 +975,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackage3 { - WINRT_IMPL_AUTO(winrt::event_token) ShareCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ShareCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ShareCompleted_revoker = impl::event_revoker::remove_ShareCompleted>; - [[nodiscard]] ShareCompleted_revoker ShareCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ShareCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ShareCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ShareCompleted(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -993,10 +987,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackage4 { - WINRT_IMPL_AUTO(winrt::event_token) ShareCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ShareCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ShareCanceled_revoker = impl::event_revoker::remove_ShareCanceled>; - [[nodiscard]] ShareCanceled_revoker ShareCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ShareCanceled(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ShareCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ShareCanceled(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1005,17 +999,17 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Thumbnail() const; - WINRT_IMPL_AUTO(void) Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FileTypes() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ApplicationName() const; - WINRT_IMPL_AUTO(void) ApplicationName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ApplicationListingUri() const; - WINRT_IMPL_AUTO(void) ApplicationListingUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Thumbnail() const; + auto Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto FileTypes() const; + [[nodiscard]] auto ApplicationName() const; + auto ApplicationName(param::hstring const& value) const; + [[nodiscard]] auto ApplicationListingUri() const; + auto ApplicationListingUri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -1024,16 +1018,16 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ContentSourceWebLink() const; - WINRT_IMPL_AUTO(void) ContentSourceWebLink(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ContentSourceApplicationLink() const; - WINRT_IMPL_AUTO(void) ContentSourceApplicationLink(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PackageFamilyName() const; - WINRT_IMPL_AUTO(void) PackageFamilyName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Square30x30Logo() const; - WINRT_IMPL_AUTO(void) Square30x30Logo(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LogoBackgroundColor() const; - WINRT_IMPL_AUTO(void) LogoBackgroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto ContentSourceWebLink() const; + auto ContentSourceWebLink(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ContentSourceApplicationLink() const; + auto ContentSourceApplicationLink(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto PackageFamilyName() const; + auto PackageFamilyName(param::hstring const& value) const; + [[nodiscard]] auto Square30x30Logo() const; + auto Square30x30Logo(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto LogoBackgroundColor() const; + auto LogoBackgroundColor(winrt::Windows::UI::Color const& value) const; }; template <> struct consume { @@ -1042,8 +1036,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EnterpriseId() const; - WINRT_IMPL_AUTO(void) EnterpriseId(param::hstring const& value) const; + [[nodiscard]] auto EnterpriseId() const; + auto EnterpriseId(param::hstring const& value) const; }; template <> struct consume { @@ -1052,8 +1046,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet4 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentSourceUserActivityJson() const; - WINRT_IMPL_AUTO(void) ContentSourceUserActivityJson(param::hstring const& value) const; + [[nodiscard]] auto ContentSourceUserActivityJson() const; + auto ContentSourceUserActivityJson(param::hstring const& value) const; }; template <> struct consume { @@ -1062,12 +1056,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) Thumbnail() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FileTypes() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ApplicationName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ApplicationListingUri() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Thumbnail() const; + [[nodiscard]] auto FileTypes() const; + [[nodiscard]] auto ApplicationName() const; + [[nodiscard]] auto ApplicationListingUri() const; }; template <> struct consume { @@ -1076,11 +1070,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PackageFamilyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ContentSourceWebLink() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ContentSourceApplicationLink() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Square30x30Logo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LogoBackgroundColor() const; + [[nodiscard]] auto PackageFamilyName() const; + [[nodiscard]] auto ContentSourceWebLink() const; + [[nodiscard]] auto ContentSourceApplicationLink() const; + [[nodiscard]] auto Square30x30Logo() const; + [[nodiscard]] auto LogoBackgroundColor() const; }; template <> struct consume { @@ -1089,7 +1083,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EnterpriseId() const; + [[nodiscard]] auto EnterpriseId() const; }; template <> struct consume { @@ -1098,7 +1092,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView4 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentSourceUserActivityJson() const; + [[nodiscard]] auto ContentSourceUserActivityJson() const; }; template <> struct consume { @@ -1107,7 +1101,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView5 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFromRoamingClipboard() const; + [[nodiscard]] auto IsFromRoamingClipboard() const; }; template <> struct consume { @@ -1116,20 +1110,20 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackageView { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackagePropertySetView) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) RequestedOperation() const; - WINRT_IMPL_AUTO(void) ReportOperationCompleted(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AvailableFormats() const; - WINRT_IMPL_AUTO(bool) Contains(param::hstring const& formatId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDataAsync(param::hstring const& formatId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetTextAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetTextAsync(param::hstring const& formatId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetUriAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetHtmlFormatAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetResourceMapAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetRtfAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetBitmapAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetStorageItemsAsync() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto RequestedOperation() const; + auto ReportOperationCompleted(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const; + [[nodiscard]] auto AvailableFormats() const; + auto Contains(param::hstring const& formatId) const; + auto GetDataAsync(param::hstring const& formatId) const; + auto GetTextAsync() const; + auto GetTextAsync(param::hstring const& formatId) const; + auto GetUriAsync() const; + auto GetHtmlFormatAsync() const; + auto GetResourceMapAsync() const; + auto GetRtfAsync() const; + auto GetBitmapAsync() const; + auto GetStorageItemsAsync() const; }; template <> struct consume { @@ -1138,8 +1132,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackageView2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetApplicationLinkAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetWebLinkAsync() const; + auto GetApplicationLinkAsync() const; + auto GetWebLinkAsync() const; }; template <> struct consume { @@ -1148,9 +1142,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackageView3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync(param::hstring const& enterpriseId) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult) UnlockAndAssumeEnterpriseIdentity() const; + auto RequestAccessAsync() const; + auto RequestAccessAsync(param::hstring const& enterpriseId) const; + auto UnlockAndAssumeEnterpriseIdentity() const; }; template <> struct consume { @@ -1159,7 +1153,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataPackageView4 { - WINRT_IMPL_AUTO(void) SetAcceptedFormatId(param::hstring const& formatId) const; + auto SetAcceptedFormatId(param::hstring const& formatId) const; }; template <> struct consume { @@ -1168,7 +1162,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataProviderDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -1177,10 +1171,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FormatId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Deadline() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataProviderDeferral) GetDeferral() const; - WINRT_IMPL_AUTO(void) SetData(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto FormatId() const; + [[nodiscard]] auto Deadline() const; + auto GetDeferral() const; + auto SetData(winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -1189,11 +1183,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) Data() const; - WINRT_IMPL_AUTO(void) Data(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Deadline() const; - WINRT_IMPL_AUTO(void) FailWithDisplayText(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataRequestDeferral) GetDeferral() const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& value) const; + [[nodiscard]] auto Deadline() const; + auto FailWithDisplayText(param::hstring const& value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -1202,7 +1196,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataRequestDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -1211,7 +1205,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -1220,14 +1214,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager { - WINRT_IMPL_AUTO(winrt::event_token) DataRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DataRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DataRequested_revoker = impl::event_revoker::remove_DataRequested>; - [[nodiscard]] DataRequested_revoker DataRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DataRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TargetApplicationChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DataRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DataRequested(winrt::event_token const& token) const noexcept; + auto TargetApplicationChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TargetApplicationChosen_revoker = impl::event_revoker::remove_TargetApplicationChosen>; - [[nodiscard]] TargetApplicationChosen_revoker TargetApplicationChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TargetApplicationChosen(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TargetApplicationChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TargetApplicationChosen(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1236,10 +1230,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2 { - WINRT_IMPL_AUTO(winrt::event_token) ShareProvidersRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ShareProvidersRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ShareProvidersRequested_revoker = impl::event_revoker::remove_ShareProvidersRequested>; - [[nodiscard]] ShareProvidersRequested_revoker ShareProvidersRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ShareProvidersRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ShareProvidersRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ShareProvidersRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1248,8 +1242,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics { - WINRT_IMPL_AUTO(void) ShowShareUI() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager) GetForCurrentView() const; + auto ShowShareUI() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -1258,7 +1252,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics2 { - WINRT_IMPL_AUTO(bool) IsSupported() const; + auto IsSupported() const; }; template <> struct consume { @@ -1267,7 +1261,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics3 { - WINRT_IMPL_AUTO(void) ShowShareUI(winrt::Windows::ApplicationModel::DataTransfer::ShareUIOptions const& options) const; + auto ShowShareUI(winrt::Windows::ApplicationModel::DataTransfer::ShareUIOptions const& options) const; }; template <> struct consume { @@ -1276,8 +1270,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IHtmlFormatHelperStatics { - WINRT_IMPL_AUTO(hstring) GetStaticFragment(param::hstring const& htmlFormat) const; - WINRT_IMPL_AUTO(hstring) CreateHtmlFormat(param::hstring const& htmlFragment) const; + auto GetStaticFragment(param::hstring const& htmlFormat) const; + auto CreateHtmlFormat(param::hstring const& htmlFragment) const; }; template <> struct consume { @@ -1286,7 +1280,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IOperationCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) Operation() const; + [[nodiscard]] auto Operation() const; }; template <> struct consume { @@ -1295,7 +1289,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IOperationCompletedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AcceptedFormatId() const; + [[nodiscard]] auto AcceptedFormatId() const; }; template <> struct consume { @@ -1304,7 +1298,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IShareCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareTargetInfo) ShareTarget() const; + [[nodiscard]] auto ShareTarget() const; }; template <> struct consume { @@ -1313,11 +1307,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IShareProvider { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) DisplayIcon() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) BackgroundColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Tag() const; - WINRT_IMPL_AUTO(void) Tag(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto DisplayIcon() const; + [[nodiscard]] auto BackgroundColor() const; + [[nodiscard]] auto Tag() const; + auto Tag(winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -1326,7 +1320,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IShareProviderFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareProvider) Create(param::hstring const& title, winrt::Windows::Storage::Streams::RandomAccessStreamReference const& displayIcon, winrt::Windows::UI::Color const& backgroundColor, winrt::Windows::ApplicationModel::DataTransfer::ShareProviderHandler const& handler) const; + auto Create(param::hstring const& title, winrt::Windows::Storage::Streams::RandomAccessStreamReference const& displayIcon, winrt::Windows::UI::Color const& backgroundColor, winrt::Windows::ApplicationModel::DataTransfer::ShareProviderHandler const& handler) const; }; template <> struct consume { @@ -1335,9 +1329,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IShareProviderOperation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) Data() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareProvider) Provider() const; - WINRT_IMPL_AUTO(void) ReportCompleted() const; + [[nodiscard]] auto Data() const; + [[nodiscard]] auto Provider() const; + auto ReportCompleted() const; }; template <> struct consume { @@ -1346,9 +1340,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IShareProvidersRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Providers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) Data() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Providers() const; + [[nodiscard]] auto Data() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1357,8 +1351,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IShareTargetInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppUserModelId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareProvider) ShareProvider() const; + [[nodiscard]] auto AppUserModelId() const; + [[nodiscard]] auto ShareProvider() const; }; template <> struct consume { @@ -1367,10 +1361,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareUITheme) Theme() const; - WINRT_IMPL_AUTO(void) Theme(winrt::Windows::ApplicationModel::DataTransfer::ShareUITheme const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SelectionRect() const; - WINRT_IMPL_AUTO(void) SelectionRect(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Theme() const; + auto Theme(winrt::Windows::ApplicationModel::DataTransfer::ShareUITheme const& value) const; + [[nodiscard]] auto SelectionRect() const; + auto SelectionRect(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -1379,9 +1373,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_ISharedStorageAccessManagerStatics { - WINRT_IMPL_AUTO(hstring) AddFile(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RedeemTokenForFileAsync(param::hstring const& token) const; - WINRT_IMPL_AUTO(void) RemoveFile(param::hstring const& token) const; + auto AddFile(winrt::Windows::Storage::IStorageFile const& file) const; + auto RedeemTokenForFileAsync(param::hstring const& token) const; + auto RemoveFile(param::hstring const& token) const; }; template <> struct consume { @@ -1390,12 +1384,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Html() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Rtf() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Bitmap() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StorageItems() const; + [[nodiscard]] auto Text() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Html() const; + [[nodiscard]] auto Rtf() const; + [[nodiscard]] auto Bitmap() const; + [[nodiscard]] auto StorageItems() const; }; template <> struct consume { @@ -1404,8 +1398,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WebLink() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ApplicationLink() const; + [[nodiscard]] auto WebLink() const; + [[nodiscard]] auto ApplicationLink() const; }; template <> struct consume { @@ -1414,7 +1408,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserActivityJsonArray() const; + [[nodiscard]] auto UserActivityJsonArray() const; }; template <> struct consume { @@ -1423,7 +1417,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_ITargetApplicationChosenEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ApplicationName() const; + [[nodiscard]] auto ApplicationName() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.1.h index b7d962dd..233bf548 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_DataTransfer_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.2.h index 8efe9f05..de468394 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_DataTransfer_2_H @@ -42,7 +42,7 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::DataTransfer static auto Clear(); static auto ContentChanged(winrt::Windows::Foundation::EventHandler const& handler); using ContentChanged_revoker = impl::factory_event_revoker::remove_ContentChanged>; - [[nodiscard]] static ContentChanged_revoker ContentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto ContentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto ContentChanged(winrt::event_token const& token); static auto GetHistoryItemsAsync(); static auto ClearHistory(); @@ -53,15 +53,15 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::DataTransfer static auto SetContentWithOptions(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& content, winrt::Windows::ApplicationModel::DataTransfer::ClipboardContentOptions const& options); static auto HistoryChanged(winrt::Windows::Foundation::EventHandler const& handler); using HistoryChanged_revoker = impl::factory_event_revoker::remove_HistoryChanged>; - [[nodiscard]] static HistoryChanged_revoker HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto HistoryChanged(winrt::event_token const& token); static auto RoamingEnabledChanged(winrt::Windows::Foundation::EventHandler const& handler); using RoamingEnabledChanged_revoker = impl::factory_event_revoker::remove_RoamingEnabledChanged>; - [[nodiscard]] static RoamingEnabledChanged_revoker RoamingEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto RoamingEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto RoamingEnabledChanged(winrt::event_token const& token); static auto HistoryEnabledChanged(winrt::Windows::Foundation::EventHandler const& handler); using HistoryEnabledChanged_revoker = impl::factory_event_revoker::remove_HistoryEnabledChanged>; - [[nodiscard]] static HistoryEnabledChanged_revoker HistoryEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto HistoryEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto HistoryEnabledChanged(winrt::event_token const& token); }; struct __declspec(empty_bases) ClipboardContentOptions : winrt::Windows::ApplicationModel::DataTransfer::IClipboardContentOptions diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.0.h index e4a06006..89762fea 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_DataTransfer_DragDrop_0_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.1.h index 7a797dcd..4c5af95d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_DataTransfer_DragDrop_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.2.h index ac98e0ca..75d296b4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_DataTransfer_DragDrop_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.0.h index 095aa316..ee94a05f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_DataTransfer_DragDrop_Core_0_H @@ -17,7 +17,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct Point; template struct __declspec(empty_bases) TypedEventHandler; } @@ -184,12 +183,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager { - WINRT_IMPL_AUTO(winrt::event_token) TargetRequested(winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto TargetRequested(winrt::Windows::Foundation::TypedEventHandler const& value) const; using TargetRequested_revoker = impl::event_revoker::remove_TargetRequested>; - [[nodiscard]] TargetRequested_revoker TargetRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) TargetRequested(winrt::event_token const& value) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreConcurrentOperationsEnabled() const; - WINRT_IMPL_AUTO(void) AreConcurrentOperationsEnabled(bool value) const; + [[nodiscard]] auto TargetRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto TargetRequested(winrt::event_token const& value) const noexcept; + [[nodiscard]] auto AreConcurrentOperationsEnabled() const; + auto AreConcurrentOperationsEnabled(bool value) const; }; template <> struct consume { @@ -198,7 +197,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragDropManager) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -207,9 +206,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) Data() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::DragDropModifiers) Modifiers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; + [[nodiscard]] auto Data() const; + [[nodiscard]] auto Modifiers() const; + [[nodiscard]] auto Position() const; }; template <> struct consume { @@ -218,7 +217,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) AllowedOperations() const; + [[nodiscard]] auto AllowedOperations() const; }; template <> struct consume { @@ -227,13 +226,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) Data() const; - WINRT_IMPL_AUTO(void) SetPointerId(uint32_t pointerId) const; - WINRT_IMPL_AUTO(void) SetDragUIContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const; - WINRT_IMPL_AUTO(void) SetDragUIContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIContentMode) DragUIContentMode() const; - WINRT_IMPL_AUTO(void) DragUIContentMode(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIContentMode const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartAsync() const; + [[nodiscard]] auto Data() const; + auto SetPointerId(uint32_t pointerId) const; + auto SetDragUIContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const; + auto SetDragUIContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const; + [[nodiscard]] auto DragUIContentMode() const; + auto DragUIContentMode(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIContentMode const& value) const; + auto StartAsync() const; }; template <> struct consume { @@ -242,8 +241,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) AllowedOperations() const; - WINRT_IMPL_AUTO(void) AllowedOperations(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const; + [[nodiscard]] auto AllowedOperations() const; + auto AllowedOperations(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const; }; template <> struct consume { @@ -252,17 +251,17 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride { - WINRT_IMPL_AUTO(void) SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const; - WINRT_IMPL_AUTO(void) SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsContentVisible() const; - WINRT_IMPL_AUTO(void) IsContentVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Caption() const; - WINRT_IMPL_AUTO(void) Caption(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCaptionVisible() const; - WINRT_IMPL_AUTO(void) IsCaptionVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGlyphVisible() const; - WINRT_IMPL_AUTO(void) IsGlyphVisible(bool value) const; - WINRT_IMPL_AUTO(void) Clear() const; + auto SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const; + auto SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const; + [[nodiscard]] auto IsContentVisible() const; + auto IsContentVisible(bool value) const; + [[nodiscard]] auto Caption() const; + auto Caption(param::hstring const& value) const; + [[nodiscard]] auto IsCaptionVisible() const; + auto IsCaptionVisible(bool value) const; + [[nodiscard]] auto IsGlyphVisible() const; + auto IsGlyphVisible(bool value) const; + auto Clear() const; }; template <> struct consume { @@ -271,10 +270,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) EnterAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIOverride const& dragUIOverride) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OverAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIOverride const& dragUIOverride) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) LeaveAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DropAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo) const; + auto EnterAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIOverride const& dragUIOverride) const; + auto OverAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIOverride const& dragUIOverride) const; + auto LeaveAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo) const; + auto DropAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo) const; }; template <> struct consume { @@ -283,7 +282,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTargetRequestedEventArgs { - WINRT_IMPL_AUTO(void) SetTarget(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDropOperationTarget const& target) const; + auto SetTarget(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDropOperationTarget const& target) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.1.h index 04dff2f6..ec00a6c7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_DataTransfer_DragDrop_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.2.h index 535a2eeb..cce5e344 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_DataTransfer_DragDrop_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.0.h index fd6883ad..c3c69f74 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.0.h @@ -1,21 +1,12 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_DataTransfer_ShareTarget_0_H #define WINRT_Windows_ApplicationModel_DataTransfer_ShareTarget_0_H -WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Contacts -{ - struct Contact; -} WINRT_EXPORT namespace winrt::Windows::ApplicationModel::DataTransfer { struct DataPackageView; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct RandomAccessStreamReference; @@ -95,14 +86,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) Thumbnail() const; - WINRT_IMPL_AUTO(void) Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(void) Id(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SupportedDataFormats() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SupportedFileTypes() const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Thumbnail() const; + auto Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const; + [[nodiscard]] auto Id() const; + auto Id(param::hstring const& value) const; + [[nodiscard]] auto SupportedDataFormats() const; + [[nodiscard]] auto SupportedFileTypes() const; }; template <> struct consume { @@ -111,15 +102,15 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) Data() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) QuickLinkId() const; - WINRT_IMPL_AUTO(void) RemoveThisQuickLink() const; - WINRT_IMPL_AUTO(void) ReportStarted() const; - WINRT_IMPL_AUTO(void) ReportDataRetrieved() const; - WINRT_IMPL_AUTO(void) ReportSubmittedBackgroundTask() const; - WINRT_IMPL_AUTO(void) ReportCompleted(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink const& quicklink) const; - WINRT_IMPL_AUTO(void) ReportCompleted() const; - WINRT_IMPL_AUTO(void) ReportError(param::hstring const& value) const; + [[nodiscard]] auto Data() const; + [[nodiscard]] auto QuickLinkId() const; + auto RemoveThisQuickLink() const; + auto ReportStarted() const; + auto ReportDataRetrieved() const; + auto ReportSubmittedBackgroundTask() const; + auto ReportCompleted(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink const& quicklink) const; + auto ReportCompleted() const; + auto ReportError(param::hstring const& value) const; }; template <> struct consume { @@ -128,7 +119,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation2 { - WINRT_IMPL_AUTO(void) DismissUI() const; + auto DismissUI() const; }; template <> struct consume { @@ -137,7 +128,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Contacts() const; + [[nodiscard]] auto Contacts() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.1.h index f7c13de5..e20d0778 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_DataTransfer_ShareTarget_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.2.h index 4ed37759..4e868b64 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_DataTransfer_ShareTarget_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.0.h index 6bce33ff..540d1980 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Email_0_H @@ -11,15 +11,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Certificates { @@ -1394,10 +1391,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailAttachment { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FileName() const; - WINRT_IMPL_AUTO(void) FileName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Data() const; - WINRT_IMPL_AUTO(void) Data(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto FileName() const; + auto FileName(param::hstring const& value) const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; }; template <> struct consume { @@ -1406,20 +1403,20 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailAttachment2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentId() const; - WINRT_IMPL_AUTO(void) ContentId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentLocation() const; - WINRT_IMPL_AUTO(void) ContentLocation(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailAttachmentDownloadState) DownloadState() const; - WINRT_IMPL_AUTO(void) DownloadState(winrt::Windows::ApplicationModel::Email::EmailAttachmentDownloadState const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) EstimatedDownloadSizeInBytes() const; - WINRT_IMPL_AUTO(void) EstimatedDownloadSizeInBytes(uint64_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFromBaseMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInline() const; - WINRT_IMPL_AUTO(void) IsInline(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MimeType() const; - WINRT_IMPL_AUTO(void) MimeType(param::hstring const& value) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto ContentId() const; + auto ContentId(param::hstring const& value) const; + [[nodiscard]] auto ContentLocation() const; + auto ContentLocation(param::hstring const& value) const; + [[nodiscard]] auto DownloadState() const; + auto DownloadState(winrt::Windows::ApplicationModel::Email::EmailAttachmentDownloadState const& value) const; + [[nodiscard]] auto EstimatedDownloadSizeInBytes() const; + auto EstimatedDownloadSizeInBytes(uint64_t value) const; + [[nodiscard]] auto IsFromBaseMessage() const; + [[nodiscard]] auto IsInline() const; + auto IsInline(bool value) const; + [[nodiscard]] auto MimeType() const; + auto MimeType(param::hstring const& value) const; }; template <> struct consume { @@ -1428,7 +1425,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailAttachmentFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailAttachment) Create(param::hstring const& fileName, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& data) const; + auto Create(param::hstring const& fileName, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& data) const; }; template <> struct consume { @@ -1437,7 +1434,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailAttachmentFactory2 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailAttachment) Create(param::hstring const& fileName, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& data, param::hstring const& mimeType) const; + auto Create(param::hstring const& fileName, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& data, param::hstring const& mimeType) const; }; template <> struct consume { @@ -1446,21 +1443,21 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailConversation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailFlagState) FlagState() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasAttachment() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailImportance) Importance() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind) LastEmailResponseKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MessageCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MostRecentMessageId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) MostRecentMessageTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Preview() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipient) LatestSender() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UnreadMessageCount() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindMessagesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindMessagesAsync(uint32_t count) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto MailboxId() const; + [[nodiscard]] auto FlagState() const; + [[nodiscard]] auto HasAttachment() const; + [[nodiscard]] auto Importance() const; + [[nodiscard]] auto LastEmailResponseKind() const; + [[nodiscard]] auto MessageCount() const; + [[nodiscard]] auto MostRecentMessageId() const; + [[nodiscard]] auto MostRecentMessageTime() const; + [[nodiscard]] auto Preview() const; + [[nodiscard]] auto LatestSender() const; + [[nodiscard]] auto Subject() const; + [[nodiscard]] auto UnreadMessageCount() const; + auto FindMessagesAsync() const; + auto FindMessagesAsync(uint32_t count) const; }; template <> struct consume { @@ -1469,8 +1466,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailConversationBatch { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Conversations() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailBatchStatus) Status() const; + [[nodiscard]] auto Conversations() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -1479,7 +1476,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailConversationReader { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadBatchAsync() const; + auto ReadBatchAsync() const; }; template <> struct consume { @@ -1488,31 +1485,31 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailFolder { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const; - WINRT_IMPL_AUTO(void) RemoteId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ParentFolderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSyncEnabled() const; - WINRT_IMPL_AUTO(void) IsSyncEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastSuccessfulSyncTime() const; - WINRT_IMPL_AUTO(void) LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailSpecialFolderKind) Kind() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFolderAsync(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindChildFoldersAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) GetConversationReader() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) GetConversationReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetMessageAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) GetMessageReader() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) GetMessageReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetMessageCountsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryMoveAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& newParentFolder) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryMoveAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& newParentFolder, param::hstring const& newFolderName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySaveAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto RemoteId() const; + auto RemoteId(param::hstring const& value) const; + [[nodiscard]] auto MailboxId() const; + [[nodiscard]] auto ParentFolderId() const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto IsSyncEnabled() const; + auto IsSyncEnabled(bool value) const; + [[nodiscard]] auto LastSuccessfulSyncTime() const; + auto LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto Kind() const; + auto CreateFolderAsync(param::hstring const& name) const; + auto DeleteAsync() const; + auto FindChildFoldersAsync() const; + auto GetConversationReader() const; + auto GetConversationReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const; + auto GetMessageAsync(param::hstring const& id) const; + auto GetMessageReader() const; + auto GetMessageReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const; + auto GetMessageCountsAsync() const; + auto TryMoveAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& newParentFolder) const; + auto TryMoveAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& newParentFolder, param::hstring const& newFolderName) const; + auto TrySaveAsync() const; + auto SaveMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const; }; template <> struct consume { @@ -1521,30 +1518,30 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailIrmInfo { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanEdit() const; - WINRT_IMPL_AUTO(void) CanEdit(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanExtractData() const; - WINRT_IMPL_AUTO(void) CanExtractData(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanForward() const; - WINRT_IMPL_AUTO(void) CanForward(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanModifyRecipientsOnResponse() const; - WINRT_IMPL_AUTO(void) CanModifyRecipientsOnResponse(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanPrintData() const; - WINRT_IMPL_AUTO(void) CanPrintData(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanRemoveIrmOnResponse() const; - WINRT_IMPL_AUTO(void) CanRemoveIrmOnResponse(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanReply() const; - WINRT_IMPL_AUTO(void) CanReply(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanReplyAll() const; - WINRT_IMPL_AUTO(void) CanReplyAll(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) ExpirationDate() const; - WINRT_IMPL_AUTO(void) ExpirationDate(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsIrmOriginator() const; - WINRT_IMPL_AUTO(void) IsIrmOriginator(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsProgramaticAccessAllowed() const; - WINRT_IMPL_AUTO(void) IsProgramaticAccessAllowed(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailIrmTemplate) Template() const; - WINRT_IMPL_AUTO(void) Template(winrt::Windows::ApplicationModel::Email::EmailIrmTemplate const& value) const; + [[nodiscard]] auto CanEdit() const; + auto CanEdit(bool value) const; + [[nodiscard]] auto CanExtractData() const; + auto CanExtractData(bool value) const; + [[nodiscard]] auto CanForward() const; + auto CanForward(bool value) const; + [[nodiscard]] auto CanModifyRecipientsOnResponse() const; + auto CanModifyRecipientsOnResponse(bool value) const; + [[nodiscard]] auto CanPrintData() const; + auto CanPrintData(bool value) const; + [[nodiscard]] auto CanRemoveIrmOnResponse() const; + auto CanRemoveIrmOnResponse(bool value) const; + [[nodiscard]] auto CanReply() const; + auto CanReply(bool value) const; + [[nodiscard]] auto CanReplyAll() const; + auto CanReplyAll(bool value) const; + [[nodiscard]] auto ExpirationDate() const; + auto ExpirationDate(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto IsIrmOriginator() const; + auto IsIrmOriginator(bool value) const; + [[nodiscard]] auto IsProgramaticAccessAllowed() const; + auto IsProgramaticAccessAllowed(bool value) const; + [[nodiscard]] auto Template() const; + auto Template(winrt::Windows::ApplicationModel::Email::EmailIrmTemplate const& value) const; }; template <> struct consume { @@ -1553,7 +1550,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailIrmInfoFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailIrmInfo) Create(winrt::Windows::Foundation::DateTime const& expiration, winrt::Windows::ApplicationModel::Email::EmailIrmTemplate const& irmTemplate) const; + auto Create(winrt::Windows::Foundation::DateTime const& expiration, winrt::Windows::ApplicationModel::Email::EmailIrmTemplate const& irmTemplate) const; }; template <> struct consume { @@ -1562,12 +1559,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailIrmTemplate { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(void) Id(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; + [[nodiscard]] auto Id() const; + auto Id(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; }; template <> struct consume { @@ -1576,7 +1573,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailIrmTemplateFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailIrmTemplate) Create(param::hstring const& id, param::hstring const& name, param::hstring const& description) const; + auto Create(param::hstring const& id, param::hstring const& name, param::hstring const& description) const; }; template <> struct consume { @@ -1585,10 +1582,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailItemCounts { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Flagged() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Important() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Total() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Unread() const; + [[nodiscard]] auto Flagged() const; + [[nodiscard]] auto Important() const; + [[nodiscard]] auto Total() const; + [[nodiscard]] auto Unread() const; }; template <> struct consume { @@ -1597,58 +1594,58 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailbox { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxCapabilities) Capabilities() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxChangeTracker) ChangeTracker() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOwnedByCurrentApp() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDataEncryptedUnderLock() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MailAddress() const; - WINRT_IMPL_AUTO(void) MailAddress(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) MailAddressAliases() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess) OtherAppReadAccess() const; - WINRT_IMPL_AUTO(void) OtherAppReadAccess(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess) OtherAppWriteAccess() const; - WINRT_IMPL_AUTO(void) OtherAppWriteAccess(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxPolicies) Policies() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SourceDisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxSyncManager) SyncManager() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserDataAccountId() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) GetConversationReader() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) GetConversationReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) GetMessageReader() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) GetMessageReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetConversationAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFolderAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetMessageAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetSpecialFolderAsync(winrt::Windows::ApplicationModel::Email::EmailSpecialFolderKind const& folderType) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkMessageAsSeenAsync(param::hstring const& messageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkFolderAsSeenAsync(param::hstring const& folderId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkMessageReadAsync(param::hstring const& messageId, bool isRead) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ChangeMessageFlagStateAsync(param::hstring const& messageId, winrt::Windows::ApplicationModel::Email::EmailFlagState const& flagState) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryMoveMessageAsync(param::hstring const& messageId, param::hstring const& newParentFolderId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryMoveFolderAsync(param::hstring const& folderId, param::hstring const& newParentFolderId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryMoveFolderAsync(param::hstring const& folderId, param::hstring const& newParentFolderId, param::hstring const& newFolderName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteMessageAsync(param::hstring const& messageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkFolderSyncEnabledAsync(param::hstring const& folderId, bool isSyncEnabled) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SendMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveDraftAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DownloadMessageAsync(param::hstring const& messageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DownloadAttachmentAsync(param::hstring const& attachmentId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateResponseMessageAsync(param::hstring const& messageId, winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind const& responseType, param::hstring const& subject, winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& responseHeaderType, param::hstring const& responseHeader) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryUpdateMeetingResponseAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& meeting, winrt::Windows::ApplicationModel::Email::EmailMeetingResponseType const& response, param::hstring const& subject, param::hstring const& comment, bool sendUpdate) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryForwardMeetingAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& meeting, param::async_iterable const& recipients, param::hstring const& subject, winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& forwardHeaderType, param::hstring const& forwardHeader, param::hstring const& comment) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryProposeNewTimeForMeetingAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& meeting, winrt::Windows::Foundation::DateTime const& newStartTime, winrt::Windows::Foundation::TimeSpan const& newDuration, param::hstring const& subject, param::hstring const& comment) const; - WINRT_IMPL_AUTO(winrt::event_token) MailboxChanged(winrt::Windows::Foundation::TypedEventHandler const& pHandler) const; + [[nodiscard]] auto Capabilities() const; + [[nodiscard]] auto ChangeTracker() const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto IsOwnedByCurrentApp() const; + [[nodiscard]] auto IsDataEncryptedUnderLock() const; + [[nodiscard]] auto MailAddress() const; + auto MailAddress(param::hstring const& value) const; + [[nodiscard]] auto MailAddressAliases() const; + [[nodiscard]] auto OtherAppReadAccess() const; + auto OtherAppReadAccess(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess const& value) const; + [[nodiscard]] auto OtherAppWriteAccess() const; + auto OtherAppWriteAccess(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess const& value) const; + [[nodiscard]] auto Policies() const; + [[nodiscard]] auto SourceDisplayName() const; + [[nodiscard]] auto SyncManager() const; + [[nodiscard]] auto UserDataAccountId() const; + auto GetConversationReader() const; + auto GetConversationReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const; + auto GetMessageReader() const; + auto GetMessageReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const; + auto DeleteAsync() const; + auto GetConversationAsync(param::hstring const& id) const; + auto GetFolderAsync(param::hstring const& id) const; + auto GetMessageAsync(param::hstring const& id) const; + auto GetSpecialFolderAsync(winrt::Windows::ApplicationModel::Email::EmailSpecialFolderKind const& folderType) const; + auto SaveAsync() const; + auto MarkMessageAsSeenAsync(param::hstring const& messageId) const; + auto MarkFolderAsSeenAsync(param::hstring const& folderId) const; + auto MarkMessageReadAsync(param::hstring const& messageId, bool isRead) const; + auto ChangeMessageFlagStateAsync(param::hstring const& messageId, winrt::Windows::ApplicationModel::Email::EmailFlagState const& flagState) const; + auto TryMoveMessageAsync(param::hstring const& messageId, param::hstring const& newParentFolderId) const; + auto TryMoveFolderAsync(param::hstring const& folderId, param::hstring const& newParentFolderId) const; + auto TryMoveFolderAsync(param::hstring const& folderId, param::hstring const& newParentFolderId, param::hstring const& newFolderName) const; + auto DeleteMessageAsync(param::hstring const& messageId) const; + auto MarkFolderSyncEnabledAsync(param::hstring const& folderId, bool isSyncEnabled) const; + auto SendMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const; + auto SaveDraftAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const; + auto DownloadMessageAsync(param::hstring const& messageId) const; + auto DownloadAttachmentAsync(param::hstring const& attachmentId) const; + auto CreateResponseMessageAsync(param::hstring const& messageId, winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind const& responseType, param::hstring const& subject, winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& responseHeaderType, param::hstring const& responseHeader) const; + auto TryUpdateMeetingResponseAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& meeting, winrt::Windows::ApplicationModel::Email::EmailMeetingResponseType const& response, param::hstring const& subject, param::hstring const& comment, bool sendUpdate) const; + auto TryForwardMeetingAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& meeting, param::async_iterable const& recipients, param::hstring const& subject, winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& forwardHeaderType, param::hstring const& forwardHeader, param::hstring const& comment) const; + auto TryProposeNewTimeForMeetingAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& meeting, winrt::Windows::Foundation::DateTime const& newStartTime, winrt::Windows::Foundation::TimeSpan const& newDuration, param::hstring const& subject, param::hstring const& comment) const; + auto MailboxChanged(winrt::Windows::Foundation::TypedEventHandler const& pHandler) const; using MailboxChanged_revoker = impl::event_revoker::remove_MailboxChanged>; - [[nodiscard]] MailboxChanged_revoker MailboxChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& pHandler) const; - WINRT_IMPL_AUTO(void) MailboxChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SendMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message, bool smartSend) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetAutoReplySettingsAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings const& autoReplySettings) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryGetAutoReplySettingsAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind const& requestedFormat) const; + [[nodiscard]] auto MailboxChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& pHandler) const; + auto MailboxChanged(winrt::event_token const& token) const noexcept; + auto SendMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message, bool smartSend) const; + auto TrySetAutoReplySettingsAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings const& autoReplySettings) const; + auto TryGetAutoReplySettingsAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind const& requestedFormat) const; }; template <> struct consume { @@ -1657,9 +1654,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailbox2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LinkedMailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NetworkAccountId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NetworkId() const; + [[nodiscard]] auto LinkedMailboxId() const; + [[nodiscard]] auto NetworkAccountId() const; + [[nodiscard]] auto NetworkId() const; }; template <> struct consume { @@ -1668,11 +1665,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailbox3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ResolveRecipientsAsync(param::async_iterable const& recipients) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ValidateCertificatesAsync(param::async_iterable const& certificates) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryEmptyFolderAsync(param::hstring const& folderId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryCreateFolderAsync(param::hstring const& parentFolderId, param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryDeleteFolderAsync(param::hstring const& folderId) const; + auto ResolveRecipientsAsync(param::async_iterable const& recipients) const; + auto ValidateCertificatesAsync(param::async_iterable const& certificates) const; + auto TryEmptyFolderAsync(param::hstring const& folderId) const; + auto TryCreateFolderAsync(param::hstring const& parentFolderId, param::hstring const& name) const; + auto TryDeleteFolderAsync(param::hstring const& folderId) const; }; template <> struct consume { @@ -1681,7 +1678,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailbox4 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RegisterSyncManagerAsync() const; + auto RegisterSyncManagerAsync() const; }; template <> struct consume { @@ -1690,7 +1687,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailbox5 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxChangeTracker) GetChangeTracker(param::hstring const& identity) const; + auto GetChangeTracker(param::hstring const& identity) const; }; template <> struct consume { @@ -1699,8 +1696,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxAction { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxActionKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) ChangeNumber() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto ChangeNumber() const; }; template <> struct consume { @@ -1709,10 +1706,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Response() const; - WINRT_IMPL_AUTO(void) Response(param::hstring const& value) const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto Response() const; + auto Response(param::hstring const& value) const; }; template <> struct consume { @@ -1721,17 +1718,17 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind) ResponseKind() const; - WINRT_IMPL_AUTO(void) ResponseKind(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) StartTime() const; - WINRT_IMPL_AUTO(void) StartTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) EndTime() const; - WINRT_IMPL_AUTO(void) EndTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReply) InternalReply() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReply) KnownExternalReply() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReply) UnknownExternalReply() const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto ResponseKind() const; + auto ResponseKind(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind const& value) const; + [[nodiscard]] auto StartTime() const; + auto StartTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto EndTime() const; + auto EndTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto InternalReply() const; + [[nodiscard]] auto KnownExternalReply() const; + [[nodiscard]] auto UnknownExternalReply() const; }; template <> struct consume { @@ -1740,14 +1737,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanForwardMeetings() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanGetAndSetExternalAutoReplies() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanGetAndSetInternalAutoReplies() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanUpdateMeetingResponses() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanServerSearchFolders() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanServerSearchMailbox() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanProposeNewTimeForMeetings() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanSmartSend() const; + [[nodiscard]] auto CanForwardMeetings() const; + [[nodiscard]] auto CanGetAndSetExternalAutoReplies() const; + [[nodiscard]] auto CanGetAndSetInternalAutoReplies() const; + [[nodiscard]] auto CanUpdateMeetingResponses() const; + [[nodiscard]] auto CanServerSearchFolders() const; + [[nodiscard]] auto CanServerSearchMailbox() const; + [[nodiscard]] auto CanProposeNewTimeForMeetings() const; + [[nodiscard]] auto CanSmartSend() const; }; template <> struct consume { @@ -1756,12 +1753,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanResolveRecipients() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanValidateCertificates() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanEmptyFolder() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanCreateFolder() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanDeleteFolder() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanMoveFolder() const; + [[nodiscard]] auto CanResolveRecipients() const; + [[nodiscard]] auto CanValidateCertificates() const; + [[nodiscard]] auto CanEmptyFolder() const; + [[nodiscard]] auto CanCreateFolder() const; + [[nodiscard]] auto CanDeleteFolder() const; + [[nodiscard]] auto CanMoveFolder() const; }; template <> struct consume { @@ -1770,20 +1767,20 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3 { - WINRT_IMPL_AUTO(void) CanForwardMeetings(bool value) const; - WINRT_IMPL_AUTO(void) CanGetAndSetExternalAutoReplies(bool value) const; - WINRT_IMPL_AUTO(void) CanGetAndSetInternalAutoReplies(bool value) const; - WINRT_IMPL_AUTO(void) CanUpdateMeetingResponses(bool value) const; - WINRT_IMPL_AUTO(void) CanServerSearchFolders(bool value) const; - WINRT_IMPL_AUTO(void) CanServerSearchMailbox(bool value) const; - WINRT_IMPL_AUTO(void) CanProposeNewTimeForMeetings(bool value) const; - WINRT_IMPL_AUTO(void) CanSmartSend(bool value) const; - WINRT_IMPL_AUTO(void) CanResolveRecipients(bool value) const; - WINRT_IMPL_AUTO(void) CanValidateCertificates(bool value) const; - WINRT_IMPL_AUTO(void) CanEmptyFolder(bool value) const; - WINRT_IMPL_AUTO(void) CanCreateFolder(bool value) const; - WINRT_IMPL_AUTO(void) CanDeleteFolder(bool value) const; - WINRT_IMPL_AUTO(void) CanMoveFolder(bool value) const; + auto CanForwardMeetings(bool value) const; + auto CanGetAndSetExternalAutoReplies(bool value) const; + auto CanGetAndSetInternalAutoReplies(bool value) const; + auto CanUpdateMeetingResponses(bool value) const; + auto CanServerSearchFolders(bool value) const; + auto CanServerSearchMailbox(bool value) const; + auto CanProposeNewTimeForMeetings(bool value) const; + auto CanSmartSend(bool value) const; + auto CanResolveRecipients(bool value) const; + auto CanValidateCertificates(bool value) const; + auto CanEmptyFolder(bool value) const; + auto CanCreateFolder(bool value) const; + auto CanDeleteFolder(bool value) const; + auto CanMoveFolder(bool value) const; }; template <> struct consume { @@ -1792,10 +1789,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxChange { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxChangeType) ChangeType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) MailboxActions() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessage) Message() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailFolder) Folder() const; + [[nodiscard]] auto ChangeType() const; + [[nodiscard]] auto MailboxActions() const; + [[nodiscard]] auto Message() const; + [[nodiscard]] auto Folder() const; }; template <> struct consume { @@ -1804,9 +1801,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxChangeReader { - WINRT_IMPL_AUTO(void) AcceptChanges() const; - WINRT_IMPL_AUTO(void) AcceptChangesThrough(winrt::Windows::ApplicationModel::Email::EmailMailboxChange const& lastChangeToAcknowledge) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ReadBatchAsync() const; + auto AcceptChanges() const; + auto AcceptChangesThrough(winrt::Windows::ApplicationModel::Email::EmailMailboxChange const& lastChangeToAcknowledge) const; + auto ReadBatchAsync() const; }; template <> struct consume { @@ -1815,10 +1812,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTracking() const; - WINRT_IMPL_AUTO(void) Enable() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxChangeReader) GetChangeReader() const; - WINRT_IMPL_AUTO(void) Reset() const; + [[nodiscard]] auto IsTracking() const; + auto Enable() const; + auto GetChangeReader() const; + auto Reset() const; }; template <> struct consume { @@ -1827,7 +1824,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxChangedDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -1836,7 +1833,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxChangedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxChangedDeferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1845,8 +1842,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxCreateFolderResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxCreateFolderStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailFolder) Folder() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Folder() const; }; template <> struct consume { @@ -1855,10 +1852,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation) AllowedSmimeEncryptionAlgorithmNegotiation() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowSmimeSoftCertificates() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) RequiredSmimeEncryptionAlgorithm() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) RequiredSmimeSigningAlgorithm() const; + [[nodiscard]] auto AllowedSmimeEncryptionAlgorithmNegotiation() const; + [[nodiscard]] auto AllowSmimeSoftCertificates() const; + [[nodiscard]] auto RequiredSmimeEncryptionAlgorithm() const; + [[nodiscard]] auto RequiredSmimeSigningAlgorithm() const; }; template <> struct consume { @@ -1867,8 +1864,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) MustEncryptSmimeMessages() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) MustSignSmimeMessages() const; + [[nodiscard]] auto MustEncryptSmimeMessages() const; + [[nodiscard]] auto MustSignSmimeMessages() const; }; template <> struct consume { @@ -1877,12 +1874,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3 { - WINRT_IMPL_AUTO(void) AllowedSmimeEncryptionAlgorithmNegotiation(winrt::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation const& value) const; - WINRT_IMPL_AUTO(void) AllowSmimeSoftCertificates(bool value) const; - WINRT_IMPL_AUTO(void) RequiredSmimeEncryptionAlgorithm(winrt::Windows::Foundation::IReference const& value) const; - WINRT_IMPL_AUTO(void) RequiredSmimeSigningAlgorithm(winrt::Windows::Foundation::IReference const& value) const; - WINRT_IMPL_AUTO(void) MustEncryptSmimeMessages(bool value) const; - WINRT_IMPL_AUTO(void) MustSignSmimeMessages(bool value) const; + auto AllowedSmimeEncryptionAlgorithmNegotiation(winrt::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation const& value) const; + auto AllowSmimeSoftCertificates(bool value) const; + auto RequiredSmimeEncryptionAlgorithm(winrt::Windows::Foundation::IReference const& value) const; + auto RequiredSmimeSigningAlgorithm(winrt::Windows::Foundation::IReference const& value) const; + auto MustEncryptSmimeMessages(bool value) const; + auto MustSignSmimeMessages(bool value) const; }; template <> struct consume { @@ -1891,14 +1888,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxSyncStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastSuccessfulSyncTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastAttemptedSyncTime() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SyncAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto LastSuccessfulSyncTime() const; + [[nodiscard]] auto LastAttemptedSyncTime() const; + auto SyncAsync() const; + auto SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SyncStatusChanged_revoker = impl::event_revoker::remove_SyncStatusChanged>; - [[nodiscard]] SyncStatusChanged_revoker SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SyncStatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SyncStatusChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1907,9 +1904,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager2 { - WINRT_IMPL_AUTO(void) Status(winrt::Windows::ApplicationModel::Email::EmailMailboxSyncStatus const& value) const; - WINRT_IMPL_AUTO(void) LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const; - WINRT_IMPL_AUTO(void) LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const; + auto Status(winrt::Windows::ApplicationModel::Email::EmailMailboxSyncStatus const& value) const; + auto LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const; + auto LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const; }; template <> struct consume { @@ -1918,9 +1915,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailManagerForUser { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowComposeNewEmailAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync(winrt::Windows::ApplicationModel::Email::EmailStoreAccessType const& accessType) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + auto ShowComposeNewEmailAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const; + auto RequestStoreAsync(winrt::Windows::ApplicationModel::Email::EmailStoreAccessType const& accessType) const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -1929,7 +1926,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowComposeNewEmailAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const; + auto ShowComposeNewEmailAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const; }; template <> struct consume { @@ -1938,7 +1935,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync(winrt::Windows::ApplicationModel::Email::EmailStoreAccessType const& accessType) const; + auto RequestStoreAsync(winrt::Windows::ApplicationModel::Email::EmailStoreAccessType const& accessType) const; }; template <> struct consume { @@ -1947,7 +1944,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailManagerStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailManagerForUser) GetForUser(winrt::Windows::System::User const& user) const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -1956,32 +1953,32 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMeetingInfo { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowNewTimeProposal() const; - WINRT_IMPL_AUTO(void) AllowNewTimeProposal(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppointmentRoamingId() const; - WINRT_IMPL_AUTO(void) AppointmentRoamingId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AppointmentOriginalStartTime() const; - WINRT_IMPL_AUTO(void) AppointmentOriginalStartTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAllDay() const; - WINRT_IMPL_AUTO(void) IsAllDay(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsResponseRequested() const; - WINRT_IMPL_AUTO(void) IsResponseRequested(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Location() const; - WINRT_IMPL_AUTO(void) Location(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ProposedStartTime() const; - WINRT_IMPL_AUTO(void) ProposedStartTime(winrt::Windows::Foundation::IReference const& proposedStartTime) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ProposedDuration() const; - WINRT_IMPL_AUTO(void) ProposedDuration(winrt::Windows::Foundation::IReference const& duration) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) RecurrenceStartTime() const; - WINRT_IMPL_AUTO(void) RecurrenceStartTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence) Recurrence() const; - WINRT_IMPL_AUTO(void) Recurrence(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) RemoteChangeNumber() const; - WINRT_IMPL_AUTO(void) RemoteChangeNumber(uint64_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) StartTime() const; - WINRT_IMPL_AUTO(void) StartTime(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto AllowNewTimeProposal() const; + auto AllowNewTimeProposal(bool value) const; + [[nodiscard]] auto AppointmentRoamingId() const; + auto AppointmentRoamingId(param::hstring const& value) const; + [[nodiscard]] auto AppointmentOriginalStartTime() const; + auto AppointmentOriginalStartTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto IsAllDay() const; + auto IsAllDay(bool value) const; + [[nodiscard]] auto IsResponseRequested() const; + auto IsResponseRequested(bool value) const; + [[nodiscard]] auto Location() const; + auto Location(param::hstring const& value) const; + [[nodiscard]] auto ProposedStartTime() const; + auto ProposedStartTime(winrt::Windows::Foundation::IReference const& proposedStartTime) const; + [[nodiscard]] auto ProposedDuration() const; + auto ProposedDuration(winrt::Windows::Foundation::IReference const& duration) const; + [[nodiscard]] auto RecurrenceStartTime() const; + auto RecurrenceStartTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Recurrence() const; + auto Recurrence(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence const& value) const; + [[nodiscard]] auto RemoteChangeNumber() const; + auto RemoteChangeNumber(uint64_t value) const; + [[nodiscard]] auto StartTime() const; + auto StartTime(winrt::Windows::Foundation::DateTime const& value) const; }; template <> struct consume { @@ -1990,7 +1987,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMeetingInfo2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReportedOutOfDateByServer() const; + [[nodiscard]] auto IsReportedOutOfDateByServer() const; }; template <> struct consume { @@ -1999,14 +1996,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMessage { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - WINRT_IMPL_AUTO(void) Subject(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Body() const; - WINRT_IMPL_AUTO(void) Body(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) To() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) CC() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Bcc() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Attachments() const; + [[nodiscard]] auto Subject() const; + auto Subject(param::hstring const& value) const; + [[nodiscard]] auto Body() const; + auto Body(param::hstring const& value) const; + [[nodiscard]] auto To() const; + [[nodiscard]] auto CC() const; + [[nodiscard]] auto Bcc() const; + [[nodiscard]] auto Attachments() const; }; template <> struct consume { @@ -2015,51 +2012,51 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMessage2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const; - WINRT_IMPL_AUTO(void) RemoteId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ConversationId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FolderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowInternetImages() const; - WINRT_IMPL_AUTO(void) AllowInternetImages(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) ChangeNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageDownloadState) DownloadState() const; - WINRT_IMPL_AUTO(void) DownloadState(winrt::Windows::ApplicationModel::Email::EmailMessageDownloadState const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) EstimatedDownloadSizeInBytes() const; - WINRT_IMPL_AUTO(void) EstimatedDownloadSizeInBytes(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailFlagState) FlagState() const; - WINRT_IMPL_AUTO(void) FlagState(winrt::Windows::ApplicationModel::Email::EmailFlagState const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasPartialBodies() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailImportance) Importance() const; - WINRT_IMPL_AUTO(void) Importance(winrt::Windows::ApplicationModel::Email::EmailImportance const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) InResponseToMessageId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailIrmInfo) IrmInfo() const; - WINRT_IMPL_AUTO(void) IrmInfo(winrt::Windows::ApplicationModel::Email::EmailIrmInfo const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDraftMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRead() const; - WINRT_IMPL_AUTO(void) IsRead(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSeen() const; - WINRT_IMPL_AUTO(void) IsSeen(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsServerSearchMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSmartSendable() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MessageClass() const; - WINRT_IMPL_AUTO(void) MessageClass(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NormalizedSubject() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) OriginalCodePage() const; - WINRT_IMPL_AUTO(void) OriginalCodePage(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Preview() const; - WINRT_IMPL_AUTO(void) Preview(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind) LastResponseKind() const; - WINRT_IMPL_AUTO(void) LastResponseKind(winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipient) Sender() const; - WINRT_IMPL_AUTO(void) Sender(winrt::Windows::ApplicationModel::Email::EmailRecipient const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SentTime() const; - WINRT_IMPL_AUTO(void) SentTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMeetingInfo) MeetingInfo() const; - WINRT_IMPL_AUTO(void) MeetingInfo(winrt::Windows::ApplicationModel::Email::EmailMeetingInfo const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) GetBodyStream(winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& type) const; - WINRT_IMPL_AUTO(void) SetBodyStream(winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& type, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto RemoteId() const; + auto RemoteId(param::hstring const& value) const; + [[nodiscard]] auto MailboxId() const; + [[nodiscard]] auto ConversationId() const; + [[nodiscard]] auto FolderId() const; + [[nodiscard]] auto AllowInternetImages() const; + auto AllowInternetImages(bool value) const; + [[nodiscard]] auto ChangeNumber() const; + [[nodiscard]] auto DownloadState() const; + auto DownloadState(winrt::Windows::ApplicationModel::Email::EmailMessageDownloadState const& value) const; + [[nodiscard]] auto EstimatedDownloadSizeInBytes() const; + auto EstimatedDownloadSizeInBytes(uint32_t value) const; + [[nodiscard]] auto FlagState() const; + auto FlagState(winrt::Windows::ApplicationModel::Email::EmailFlagState const& value) const; + [[nodiscard]] auto HasPartialBodies() const; + [[nodiscard]] auto Importance() const; + auto Importance(winrt::Windows::ApplicationModel::Email::EmailImportance const& value) const; + [[nodiscard]] auto InResponseToMessageId() const; + [[nodiscard]] auto IrmInfo() const; + auto IrmInfo(winrt::Windows::ApplicationModel::Email::EmailIrmInfo const& value) const; + [[nodiscard]] auto IsDraftMessage() const; + [[nodiscard]] auto IsRead() const; + auto IsRead(bool value) const; + [[nodiscard]] auto IsSeen() const; + auto IsSeen(bool value) const; + [[nodiscard]] auto IsServerSearchMessage() const; + [[nodiscard]] auto IsSmartSendable() const; + [[nodiscard]] auto MessageClass() const; + auto MessageClass(param::hstring const& value) const; + [[nodiscard]] auto NormalizedSubject() const; + [[nodiscard]] auto OriginalCodePage() const; + auto OriginalCodePage(int32_t value) const; + [[nodiscard]] auto Preview() const; + auto Preview(param::hstring const& value) const; + [[nodiscard]] auto LastResponseKind() const; + auto LastResponseKind(winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind const& value) const; + [[nodiscard]] auto Sender() const; + auto Sender(winrt::Windows::ApplicationModel::Email::EmailRecipient const& value) const; + [[nodiscard]] auto SentTime() const; + auto SentTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MeetingInfo() const; + auto MeetingInfo(winrt::Windows::ApplicationModel::Email::EmailMeetingInfo const& value) const; + auto GetBodyStream(winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& type) const; + auto SetBodyStream(winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& type, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const; }; template <> struct consume { @@ -2068,10 +2065,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMessage3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) SmimeData() const; - WINRT_IMPL_AUTO(void) SmimeData(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageSmimeKind) SmimeKind() const; - WINRT_IMPL_AUTO(void) SmimeKind(winrt::Windows::ApplicationModel::Email::EmailMessageSmimeKind const& value) const; + [[nodiscard]] auto SmimeData() const; + auto SmimeData(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto SmimeKind() const; + auto SmimeKind(winrt::Windows::ApplicationModel::Email::EmailMessageSmimeKind const& value) const; }; template <> struct consume { @@ -2080,9 +2077,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMessage4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ReplyTo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipient) SentRepresenting() const; - WINRT_IMPL_AUTO(void) SentRepresenting(winrt::Windows::ApplicationModel::Email::EmailRecipient const& value) const; + [[nodiscard]] auto ReplyTo() const; + [[nodiscard]] auto SentRepresenting() const; + auto SentRepresenting(winrt::Windows::ApplicationModel::Email::EmailRecipient const& value) const; }; template <> struct consume { @@ -2091,8 +2088,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMessageBatch { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Messages() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailBatchStatus) Status() const; + [[nodiscard]] auto Messages() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -2101,7 +2098,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailMessageReader { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadBatchAsync() const; + auto ReadBatchAsync() const; }; template <> struct consume { @@ -2110,14 +2107,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailQueryOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQueryTextSearch) TextSearch() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQuerySortDirection) SortDirection() const; - WINRT_IMPL_AUTO(void) SortDirection(winrt::Windows::ApplicationModel::Email::EmailQuerySortDirection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQuerySortProperty) SortProperty() const; - WINRT_IMPL_AUTO(void) SortProperty(winrt::Windows::ApplicationModel::Email::EmailQuerySortProperty const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQueryKind) Kind() const; - WINRT_IMPL_AUTO(void) Kind(winrt::Windows::ApplicationModel::Email::EmailQueryKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FolderIds() const; + [[nodiscard]] auto TextSearch() const; + [[nodiscard]] auto SortDirection() const; + auto SortDirection(winrt::Windows::ApplicationModel::Email::EmailQuerySortDirection const& value) const; + [[nodiscard]] auto SortProperty() const; + auto SortProperty(winrt::Windows::ApplicationModel::Email::EmailQuerySortProperty const& value) const; + [[nodiscard]] auto Kind() const; + auto Kind(winrt::Windows::ApplicationModel::Email::EmailQueryKind const& value) const; + [[nodiscard]] auto FolderIds() const; }; template <> struct consume { @@ -2126,8 +2123,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailQueryOptionsFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQueryOptions) CreateWithText(param::hstring const& text) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQueryOptions) CreateWithTextAndFields(param::hstring const& text, winrt::Windows::ApplicationModel::Email::EmailQuerySearchFields const& fields) const; + auto CreateWithText(param::hstring const& text) const; + auto CreateWithTextAndFields(param::hstring const& text, winrt::Windows::ApplicationModel::Email::EmailQuerySearchFields const& fields) const; }; template <> struct consume { @@ -2136,12 +2133,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQuerySearchFields) Fields() const; - WINRT_IMPL_AUTO(void) Fields(winrt::Windows::ApplicationModel::Email::EmailQuerySearchFields const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQuerySearchScope) SearchScope() const; - WINRT_IMPL_AUTO(void) SearchScope(winrt::Windows::ApplicationModel::Email::EmailQuerySearchScope const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; + [[nodiscard]] auto Fields() const; + auto Fields(winrt::Windows::ApplicationModel::Email::EmailQuerySearchFields const& value) const; + [[nodiscard]] auto SearchScope() const; + auto SearchScope(winrt::Windows::ApplicationModel::Email::EmailQuerySearchScope const& value) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; }; template <> struct consume { @@ -2150,10 +2147,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailRecipient { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Address() const; - WINRT_IMPL_AUTO(void) Address(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Address() const; + auto Address(param::hstring const& value) const; }; template <> struct consume { @@ -2162,8 +2159,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailRecipientFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipient) Create(param::hstring const& address) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipient) CreateWithName(param::hstring const& address, param::hstring const& name) const; + auto Create(param::hstring const& address) const; + auto CreateWithName(param::hstring const& address, param::hstring const& name) const; }; template <> struct consume { @@ -2172,8 +2169,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PublicKeys() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto PublicKeys() const; }; template <> struct consume { @@ -2182,8 +2179,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult2 { - WINRT_IMPL_AUTO(void) Status(winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus const& value) const; - WINRT_IMPL_AUTO(void) SetPublicKeys(param::iterable const& value) const; + auto Status(winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus const& value) const; + auto SetPublicKeys(param::iterable const& value) const; }; template <> struct consume { @@ -2192,17 +2189,17 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_IEmailStore { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindMailboxesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) GetConversationReader() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) GetConversationReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) GetMessageReader() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) GetMessageReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetMailboxAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetConversationAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFolderAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetMessageAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateMailboxAsync(param::hstring const& accountName, param::hstring const& accountAddress) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateMailboxAsync(param::hstring const& accountName, param::hstring const& accountAddress, param::hstring const& userDataAccountId) const; + auto FindMailboxesAsync() const; + auto GetConversationReader() const; + auto GetConversationReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const; + auto GetMessageReader() const; + auto GetMessageReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const; + auto GetMailboxAsync(param::hstring const& id) const; + auto GetConversationAsync(param::hstring const& id) const; + auto GetFolderAsync(param::hstring const& id) const; + auto GetMessageAsync(param::hstring const& id) const; + auto CreateMailboxAsync(param::hstring const& accountName, param::hstring const& accountAddress) const; + auto CreateMailboxAsync(param::hstring const& accountName, param::hstring const& accountAddress, param::hstring const& userDataAccountId) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.1.h index 6c19adbf..154fc8f4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Email_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.2.h index eb127bc8..07410f4b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Email_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.0.h index 6104c46e..f3f9676b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Email_DataProvider_0_H @@ -17,7 +17,6 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Email struct EmailMessage; enum class EmailMessageBodyKind : int32_t; struct EmailQueryOptions; - struct EmailRecipient; struct EmailRecipientResolutionResult; } WINRT_EXPORT namespace winrt::Windows::Foundation @@ -30,11 +29,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; -} -WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Certificates -{ - struct Certificate; } WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Email::DataProvider { @@ -634,67 +628,67 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection { - WINRT_IMPL_AUTO(winrt::event_token) MailboxSyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MailboxSyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MailboxSyncRequested_revoker = impl::event_revoker::remove_MailboxSyncRequested>; - [[nodiscard]] MailboxSyncRequested_revoker MailboxSyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MailboxSyncRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DownloadMessageRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MailboxSyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MailboxSyncRequested(winrt::event_token const& token) const noexcept; + auto DownloadMessageRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DownloadMessageRequested_revoker = impl::event_revoker::remove_DownloadMessageRequested>; - [[nodiscard]] DownloadMessageRequested_revoker DownloadMessageRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DownloadMessageRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DownloadAttachmentRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DownloadMessageRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DownloadMessageRequested(winrt::event_token const& token) const noexcept; + auto DownloadAttachmentRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DownloadAttachmentRequested_revoker = impl::event_revoker::remove_DownloadAttachmentRequested>; - [[nodiscard]] DownloadAttachmentRequested_revoker DownloadAttachmentRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DownloadAttachmentRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CreateFolderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DownloadAttachmentRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DownloadAttachmentRequested(winrt::event_token const& token) const noexcept; + auto CreateFolderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CreateFolderRequested_revoker = impl::event_revoker::remove_CreateFolderRequested>; - [[nodiscard]] CreateFolderRequested_revoker CreateFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CreateFolderRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DeleteFolderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CreateFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CreateFolderRequested(winrt::event_token const& token) const noexcept; + auto DeleteFolderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DeleteFolderRequested_revoker = impl::event_revoker::remove_DeleteFolderRequested>; - [[nodiscard]] DeleteFolderRequested_revoker DeleteFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DeleteFolderRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EmptyFolderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeleteFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DeleteFolderRequested(winrt::event_token const& token) const noexcept; + auto EmptyFolderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EmptyFolderRequested_revoker = impl::event_revoker::remove_EmptyFolderRequested>; - [[nodiscard]] EmptyFolderRequested_revoker EmptyFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EmptyFolderRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MoveFolderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EmptyFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EmptyFolderRequested(winrt::event_token const& token) const noexcept; + auto MoveFolderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MoveFolderRequested_revoker = impl::event_revoker::remove_MoveFolderRequested>; - [[nodiscard]] MoveFolderRequested_revoker MoveFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MoveFolderRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) UpdateMeetingResponseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MoveFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MoveFolderRequested(winrt::event_token const& token) const noexcept; + auto UpdateMeetingResponseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UpdateMeetingResponseRequested_revoker = impl::event_revoker::remove_UpdateMeetingResponseRequested>; - [[nodiscard]] UpdateMeetingResponseRequested_revoker UpdateMeetingResponseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UpdateMeetingResponseRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ForwardMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto UpdateMeetingResponseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UpdateMeetingResponseRequested(winrt::event_token const& token) const noexcept; + auto ForwardMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ForwardMeetingRequested_revoker = impl::event_revoker::remove_ForwardMeetingRequested>; - [[nodiscard]] ForwardMeetingRequested_revoker ForwardMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ForwardMeetingRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ProposeNewTimeForMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ForwardMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ForwardMeetingRequested(winrt::event_token const& token) const noexcept; + auto ProposeNewTimeForMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ProposeNewTimeForMeetingRequested_revoker = impl::event_revoker::remove_ProposeNewTimeForMeetingRequested>; - [[nodiscard]] ProposeNewTimeForMeetingRequested_revoker ProposeNewTimeForMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ProposeNewTimeForMeetingRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SetAutoReplySettingsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ProposeNewTimeForMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ProposeNewTimeForMeetingRequested(winrt::event_token const& token) const noexcept; + auto SetAutoReplySettingsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SetAutoReplySettingsRequested_revoker = impl::event_revoker::remove_SetAutoReplySettingsRequested>; - [[nodiscard]] SetAutoReplySettingsRequested_revoker SetAutoReplySettingsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SetAutoReplySettingsRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) GetAutoReplySettingsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SetAutoReplySettingsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SetAutoReplySettingsRequested(winrt::event_token const& token) const noexcept; + auto GetAutoReplySettingsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using GetAutoReplySettingsRequested_revoker = impl::event_revoker::remove_GetAutoReplySettingsRequested>; - [[nodiscard]] GetAutoReplySettingsRequested_revoker GetAutoReplySettingsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GetAutoReplySettingsRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ResolveRecipientsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto GetAutoReplySettingsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetAutoReplySettingsRequested(winrt::event_token const& token) const noexcept; + auto ResolveRecipientsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ResolveRecipientsRequested_revoker = impl::event_revoker::remove_ResolveRecipientsRequested>; - [[nodiscard]] ResolveRecipientsRequested_revoker ResolveRecipientsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ResolveRecipientsRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ValidateCertificatesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ResolveRecipientsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ResolveRecipientsRequested(winrt::event_token const& token) const noexcept; + auto ValidateCertificatesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ValidateCertificatesRequested_revoker = impl::event_revoker::remove_ValidateCertificatesRequested>; - [[nodiscard]] ValidateCertificatesRequested_revoker ValidateCertificatesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ValidateCertificatesRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ServerSearchReadBatchRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ValidateCertificatesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ValidateCertificatesRequested(winrt::event_token const& token) const noexcept; + auto ServerSearchReadBatchRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ServerSearchReadBatchRequested_revoker = impl::event_revoker::remove_ServerSearchReadBatchRequested>; - [[nodiscard]] ServerSearchReadBatchRequested_revoker ServerSearchReadBatchRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ServerSearchReadBatchRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Start() const; + [[nodiscard]] auto ServerSearchReadBatchRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ServerSearchReadBatchRequested(winrt::event_token const& token) const noexcept; + auto Start() const; }; template <> struct consume { @@ -703,7 +697,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection) Connection() const; + [[nodiscard]] auto Connection() const; }; template <> struct consume { @@ -712,11 +706,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ParentFolderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& folder) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxCreateFolderStatus const& status) const; + [[nodiscard]] auto EmailMailboxId() const; + [[nodiscard]] auto ParentFolderId() const; + [[nodiscard]] auto Name() const; + auto ReportCompletedAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& folder) const; + auto ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxCreateFolderStatus const& status) const; }; template <> struct consume { @@ -725,8 +719,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxCreateFolderRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -735,10 +729,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailFolderId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxDeleteFolderStatus const& status) const; + [[nodiscard]] auto EmailMailboxId() const; + [[nodiscard]] auto EmailFolderId() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxDeleteFolderStatus const& status) const; }; template <> struct consume { @@ -747,8 +741,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDeleteFolderRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -757,11 +751,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMessageId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailAttachmentId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto EmailMailboxId() const; + [[nodiscard]] auto EmailMessageId() const; + [[nodiscard]] auto EmailAttachmentId() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -770,8 +764,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadAttachmentRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -780,10 +774,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMessageId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto EmailMailboxId() const; + [[nodiscard]] auto EmailMessageId() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -792,8 +786,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadMessageRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -802,10 +796,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailFolderId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxEmptyFolderStatus const& status) const; + [[nodiscard]] auto EmailMailboxId() const; + [[nodiscard]] auto EmailFolderId() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxEmptyFolderStatus const& status) const; }; template <> struct consume { @@ -814,8 +808,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxEmptyFolderRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -824,15 +818,15 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMessageId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Recipients() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind) ForwardHeaderType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ForwardHeader() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Comment() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto EmailMailboxId() const; + [[nodiscard]] auto EmailMessageId() const; + [[nodiscard]] auto Recipients() const; + [[nodiscard]] auto Subject() const; + [[nodiscard]] auto ForwardHeaderType() const; + [[nodiscard]] auto ForwardHeader() const; + [[nodiscard]] auto Comment() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -841,8 +835,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxForwardMeetingRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -851,10 +845,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind) RequestedFormat() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings const& autoReplySettings) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto EmailMailboxId() const; + [[nodiscard]] auto RequestedFormat() const; + auto ReportCompletedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings const& autoReplySettings) const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -863,8 +857,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxGetAutoReplySettingsRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -873,12 +867,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailFolderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NewParentFolderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NewFolderName() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto EmailMailboxId() const; + [[nodiscard]] auto EmailFolderId() const; + [[nodiscard]] auto NewParentFolderId() const; + [[nodiscard]] auto NewFolderName() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -887,8 +881,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxMoveFolderRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -897,14 +891,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMessageId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) NewStartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) NewDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Comment() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto EmailMailboxId() const; + [[nodiscard]] auto EmailMessageId() const; + [[nodiscard]] auto NewStartTime() const; + [[nodiscard]] auto NewDuration() const; + [[nodiscard]] auto Subject() const; + [[nodiscard]] auto Comment() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -913,8 +907,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxProposeNewTimeForMeetingRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -923,10 +917,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Recipients() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync(param::async_iterable const& resolutionResults) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto EmailMailboxId() const; + [[nodiscard]] auto Recipients() const; + auto ReportCompletedAsync(param::async_iterable const& resolutionResults) const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -935,8 +929,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxResolveRecipientsRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -945,14 +939,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SessionId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailFolderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQueryOptions) Options() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SuggestedBatchSize() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailBatchStatus const& batchStatus) const; + [[nodiscard]] auto SessionId() const; + [[nodiscard]] auto EmailMailboxId() const; + [[nodiscard]] auto EmailFolderId() const; + [[nodiscard]] auto Options() const; + [[nodiscard]] auto SuggestedBatchSize() const; + auto SaveMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailBatchStatus const& batchStatus) const; }; template <> struct consume { @@ -961,8 +955,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxServerSearchReadBatchRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -971,10 +965,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings) AutoReplySettings() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto EmailMailboxId() const; + [[nodiscard]] auto AutoReplySettings() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -983,8 +977,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSetAutoReplySettingsRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -993,9 +987,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto EmailMailboxId() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -1004,8 +998,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSyncManagerSyncRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1014,14 +1008,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMessageId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMeetingResponseType) Response() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Comment() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SendUpdate() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto EmailMailboxId() const; + [[nodiscard]] auto EmailMessageId() const; + [[nodiscard]] auto Response() const; + [[nodiscard]] auto Subject() const; + [[nodiscard]] auto Comment() const; + [[nodiscard]] auto SendUpdate() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -1030,8 +1024,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxUpdateMeetingResponseRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1040,10 +1034,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Certificates() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync(param::async_iterable const& validationStatuses) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto EmailMailboxId() const; + [[nodiscard]] auto Certificates() const; + auto ReportCompletedAsync(param::async_iterable const& validationStatuses) const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -1052,8 +1046,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxValidateCertificatesRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.1.h index 1b508209..dcccbc7a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Email_DataProvider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.2.h index 10b0432f..57450fa9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Email_DataProvider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.0.h index 9ac89465..07f603e5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_ExtendedExecution_0_H @@ -6,7 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::ApplicationModel::ExtendedExecution @@ -77,7 +76,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionRevokedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionRevokedReason) Reason() const; + [[nodiscard]] auto Reason() const; }; template <> struct consume { @@ -86,17 +85,17 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionReason) Reason() const; - WINRT_IMPL_AUTO(void) Reason(winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionReason const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PercentProgress() const; - WINRT_IMPL_AUTO(void) PercentProgress(uint32_t value) const; - WINRT_IMPL_AUTO(winrt::event_token) Revoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Reason() const; + auto Reason(winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionReason const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto PercentProgress() const; + auto PercentProgress(uint32_t value) const; + auto Revoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Revoked_revoker = impl::event_revoker::remove_Revoked>; - [[nodiscard]] Revoked_revoker Revoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Revoked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestExtensionAsync() const; + [[nodiscard]] auto Revoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Revoked(winrt::event_token const& token) const noexcept; + auto RequestExtensionAsync() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.1.h index ca4b9357..1f33dda0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_ExtendedExecution_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.2.h index c300a36e..82884031 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_ExtendedExecution_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.0.h index 61e45538..3c365242 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_ExtendedExecution_Foreground_0_H @@ -6,7 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::ApplicationModel::ExtendedExecution::Foreground @@ -76,7 +75,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundRevokedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundRevokedReason) Reason() const; + [[nodiscard]] auto Reason() const; }; template <> struct consume { @@ -85,15 +84,15 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) Revoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + auto Revoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Revoked_revoker = impl::event_revoker::remove_Revoked>; - [[nodiscard]] Revoked_revoker Revoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Revoked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestExtensionAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundReason) Reason() const; - WINRT_IMPL_AUTO(void) Reason(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundReason const& value) const; + [[nodiscard]] auto Revoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Revoked(winrt::event_token const& token) const noexcept; + auto RequestExtensionAsync() const; + [[nodiscard]] auto Reason() const; + auto Reason(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundReason const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.1.h index cae1be94..268ad349 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_ExtendedExecution_Foreground_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.2.h index aeb64697..61c275cb 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_ExtendedExecution_Foreground_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.0.h index 393f0b61..fe53f22b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Holographic_0_H @@ -46,9 +46,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Holographic_IHolographicKeyboard { - WINRT_IMPL_AUTO(void) SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const; - WINRT_IMPL_AUTO(void) SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::quaternion const& orientation, winrt::Windows::Foundation::Numerics::float2 const& maxSize) const; - WINRT_IMPL_AUTO(void) ResetPlacementOverride() const; + auto SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const; + auto SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::quaternion const& orientation, winrt::Windows::Foundation::Numerics::float2 const& maxSize) const; + auto ResetPlacementOverride() const; }; template <> struct consume { @@ -57,7 +57,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Holographic_IHolographicKeyboardStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Holographic::HolographicKeyboard) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.1.h index 520a3f7b..123e8e79 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Holographic_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.2.h index 47d20ebb..687c9e78 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Holographic_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.0.h index efca615f..8005f636 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_LockScreen_0_H @@ -6,13 +6,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IRandomAccessStream; @@ -129,11 +124,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost { - WINRT_IMPL_AUTO(void) RequestUnlock() const; - WINRT_IMPL_AUTO(winrt::event_token) Unlocking(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RequestUnlock() const; + auto Unlocking(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Unlocking_revoker = impl::event_revoker::remove_Unlocking>; - [[nodiscard]] Unlocking_revoker Unlocking(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Unlocking(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Unlocking(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Unlocking(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -142,7 +137,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_LockScreen_ILockApplicationHostStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::LockScreen::LockApplicationHost) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -151,11 +146,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) Logo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) Glyph() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Number() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AutomationName() const; - WINRT_IMPL_AUTO(void) LaunchApp() const; + [[nodiscard]] auto Logo() const; + [[nodiscard]] auto Glyph() const; + [[nodiscard]] auto Number() const; + [[nodiscard]] auto AutomationName() const; + auto LaunchApp() const; }; template <> struct consume { @@ -164,26 +159,26 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo { - WINRT_IMPL_AUTO(winrt::event_token) LockScreenImageChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LockScreenImageChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LockScreenImageChanged_revoker = impl::event_revoker::remove_LockScreenImageChanged>; - [[nodiscard]] LockScreenImageChanged_revoker LockScreenImageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LockScreenImageChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) LockScreenImage() const; - WINRT_IMPL_AUTO(winrt::event_token) BadgesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto LockScreenImageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LockScreenImageChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto LockScreenImage() const; + auto BadgesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using BadgesChanged_revoker = impl::event_revoker::remove_BadgesChanged>; - [[nodiscard]] BadgesChanged_revoker BadgesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BadgesChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Badges() const; - WINRT_IMPL_AUTO(winrt::event_token) DetailTextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto BadgesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BadgesChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Badges() const; + auto DetailTextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DetailTextChanged_revoker = impl::event_revoker::remove_DetailTextChanged>; - [[nodiscard]] DetailTextChanged_revoker DetailTextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DetailTextChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) DetailText() const; - WINRT_IMPL_AUTO(winrt::event_token) AlarmIconChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DetailTextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DetailTextChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DetailText() const; + auto AlarmIconChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AlarmIconChanged_revoker = impl::event_revoker::remove_AlarmIconChanged>; - [[nodiscard]] AlarmIconChanged_revoker AlarmIconChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AlarmIconChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) AlarmIcon() const; + [[nodiscard]] auto AlarmIconChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AlarmIconChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AlarmIcon() const; }; template <> struct consume { @@ -192,7 +187,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -201,8 +196,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::LockScreen::LockScreenUnlockingDeferral) GetDeferral() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Deadline() const; + auto GetDeferral() const; + [[nodiscard]] auto Deadline() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.1.h index 1dc5e862..cfcd7eb6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_LockScreen_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.2.h index 1f9cc1f8..05f8c034 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_LockScreen_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.0.h index 9f86f940..48821e46 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Payments_0_H @@ -6,7 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections @@ -586,29 +585,29 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentAddress { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Country() const; - WINRT_IMPL_AUTO(void) Country(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AddressLines() const; - WINRT_IMPL_AUTO(void) AddressLines(param::async_vector_view const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Region() const; - WINRT_IMPL_AUTO(void) Region(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) City() const; - WINRT_IMPL_AUTO(void) City(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DependentLocality() const; - WINRT_IMPL_AUTO(void) DependentLocality(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PostalCode() const; - WINRT_IMPL_AUTO(void) PostalCode(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SortingCode() const; - WINRT_IMPL_AUTO(void) SortingCode(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LanguageCode() const; - WINRT_IMPL_AUTO(void) LanguageCode(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Organization() const; - WINRT_IMPL_AUTO(void) Organization(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Recipient() const; - WINRT_IMPL_AUTO(void) Recipient(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PhoneNumber() const; - WINRT_IMPL_AUTO(void) PhoneNumber(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Properties() const; + [[nodiscard]] auto Country() const; + auto Country(param::hstring const& value) const; + [[nodiscard]] auto AddressLines() const; + auto AddressLines(param::async_vector_view const& value) const; + [[nodiscard]] auto Region() const; + auto Region(param::hstring const& value) const; + [[nodiscard]] auto City() const; + auto City(param::hstring const& value) const; + [[nodiscard]] auto DependentLocality() const; + auto DependentLocality(param::hstring const& value) const; + [[nodiscard]] auto PostalCode() const; + auto PostalCode(param::hstring const& value) const; + [[nodiscard]] auto SortingCode() const; + auto SortingCode(param::hstring const& value) const; + [[nodiscard]] auto LanguageCode() const; + auto LanguageCode(param::hstring const& value) const; + [[nodiscard]] auto Organization() const; + auto Organization(param::hstring const& value) const; + [[nodiscard]] auto Recipient() const; + auto Recipient(param::hstring const& value) const; + [[nodiscard]] auto PhoneNumber() const; + auto PhoneNumber(param::hstring const& value) const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -617,7 +616,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentCanMakePaymentResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResultStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -626,7 +625,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentCanMakePaymentResultFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResult) Create(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResultStatus const& value) const; + auto Create(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResultStatus const& value) const; }; template <> struct consume { @@ -635,12 +634,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Currency() const; - WINRT_IMPL_AUTO(void) Currency(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CurrencySystem() const; - WINRT_IMPL_AUTO(void) CurrencySystem(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; - WINRT_IMPL_AUTO(void) Value(param::hstring const& value) const; + [[nodiscard]] auto Currency() const; + auto Currency(param::hstring const& value) const; + [[nodiscard]] auto CurrencySystem() const; + auto CurrencySystem(param::hstring const& value) const; + [[nodiscard]] auto Value() const; + auto Value(param::hstring const& value) const; }; template <> struct consume { @@ -649,8 +648,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmountFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount) Create(param::hstring const& value, param::hstring const& currency) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount) CreateWithCurrencySystem(param::hstring const& value, param::hstring const& currency, param::hstring const& currencySystem) const; + auto Create(param::hstring const& value, param::hstring const& currency) const; + auto CreateWithCurrencySystem(param::hstring const& value, param::hstring const& currency, param::hstring const& currencySystem) const; }; template <> struct consume { @@ -659,14 +658,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentItem) Total() const; - WINRT_IMPL_AUTO(void) Total(winrt::Windows::ApplicationModel::Payments::PaymentItem const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) DisplayItems() const; - WINRT_IMPL_AUTO(void) DisplayItems(param::async_vector_view const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ShippingOptions() const; - WINRT_IMPL_AUTO(void) ShippingOptions(param::async_vector_view const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Modifiers() const; - WINRT_IMPL_AUTO(void) Modifiers(param::async_vector_view const& value) const; + [[nodiscard]] auto Total() const; + auto Total(winrt::Windows::ApplicationModel::Payments::PaymentItem const& value) const; + [[nodiscard]] auto DisplayItems() const; + auto DisplayItems(param::async_vector_view const& value) const; + [[nodiscard]] auto ShippingOptions() const; + auto ShippingOptions(param::async_vector_view const& value) const; + [[nodiscard]] auto Modifiers() const; + auto Modifiers(param::async_vector_view const& value) const; }; template <> struct consume { @@ -675,8 +674,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentDetailsFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetails) Create(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetails) CreateWithDisplayItems(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& displayItems) const; + auto Create(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total) const; + auto CreateWithDisplayItems(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& displayItems) const; }; template <> struct consume { @@ -685,10 +684,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) JsonData() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedMethodIds() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentItem) Total() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AdditionalDisplayItems() const; + [[nodiscard]] auto JsonData() const; + [[nodiscard]] auto SupportedMethodIds() const; + [[nodiscard]] auto Total() const; + [[nodiscard]] auto AdditionalDisplayItems() const; }; template <> struct consume { @@ -697,9 +696,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifierFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier) Create(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier) CreateWithAdditionalDisplayItems(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& additionalDisplayItems) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier) CreateWithAdditionalDisplayItemsAndJsonData(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& additionalDisplayItems, param::hstring const& jsonData) const; + auto Create(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total) const; + auto CreateWithAdditionalDisplayItems(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& additionalDisplayItems) const; + auto CreateWithAdditionalDisplayItemsAndJsonData(param::iterable const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable const& additionalDisplayItems, param::hstring const& jsonData) const; }; template <> struct consume { @@ -708,12 +707,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentItem { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const; - WINRT_IMPL_AUTO(void) Label(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount) Amount() const; - WINRT_IMPL_AUTO(void) Amount(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Pending() const; - WINRT_IMPL_AUTO(void) Pending(bool value) const; + [[nodiscard]] auto Label() const; + auto Label(param::hstring const& value) const; + [[nodiscard]] auto Amount() const; + auto Amount(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& value) const; + [[nodiscard]] auto Pending() const; + auto Pending(bool value) const; }; template <> struct consume { @@ -722,7 +721,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentItem) Create(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount) const; + auto Create(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount) const; }; template <> struct consume { @@ -731,9 +730,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentMediator { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetSupportedMethodIdsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SubmitPaymentRequestAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SubmitPaymentRequestAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest, winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedHandler const& changeHandler) const; + auto GetSupportedMethodIdsAsync() const; + auto SubmitPaymentRequestAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest) const; + auto SubmitPaymentRequestAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest, winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedHandler const& changeHandler) const; }; template <> struct consume { @@ -742,7 +741,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentMediator2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CanMakePaymentAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest) const; + auto CanMakePaymentAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest) const; }; template <> struct consume { @@ -751,8 +750,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PackageFullName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; + [[nodiscard]] auto PackageFullName() const; + [[nodiscard]] auto Uri() const; }; template <> struct consume { @@ -761,7 +760,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfoFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo) Create(winrt::Windows::Foundation::Uri const& uri) const; + auto Create(winrt::Windows::Foundation::Uri const& uri) const; }; template <> struct consume { @@ -770,8 +769,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentMethodData { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedMethodIds() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) JsonData() const; + [[nodiscard]] auto SupportedMethodIds() const; + [[nodiscard]] auto JsonData() const; }; template <> struct consume { @@ -780,8 +779,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentMethodDataFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentMethodData) Create(param::iterable const& supportedMethodIds) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentMethodData) CreateWithJsonData(param::iterable const& supportedMethodIds, param::hstring const& jsonData) const; + auto Create(param::iterable const& supportedMethodIds) const; + auto CreateWithJsonData(param::iterable const& supportedMethodIds, param::hstring const& jsonData) const; }; template <> struct consume { @@ -790,16 +789,16 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence) RequestPayerEmail() const; - WINRT_IMPL_AUTO(void) RequestPayerEmail(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence) RequestPayerName() const; - WINRT_IMPL_AUTO(void) RequestPayerName(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence) RequestPayerPhoneNumber() const; - WINRT_IMPL_AUTO(void) RequestPayerPhoneNumber(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RequestShipping() const; - WINRT_IMPL_AUTO(void) RequestShipping(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingType) ShippingType() const; - WINRT_IMPL_AUTO(void) ShippingType(winrt::Windows::ApplicationModel::Payments::PaymentShippingType const& value) const; + [[nodiscard]] auto RequestPayerEmail() const; + auto RequestPayerEmail(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const; + [[nodiscard]] auto RequestPayerName() const; + auto RequestPayerName(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const; + [[nodiscard]] auto RequestPayerPhoneNumber() const; + auto RequestPayerPhoneNumber(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const; + [[nodiscard]] auto RequestShipping() const; + auto RequestShipping(bool value) const; + [[nodiscard]] auto ShippingType() const; + auto ShippingType(winrt::Windows::ApplicationModel::Payments::PaymentShippingType const& value) const; }; template <> struct consume { @@ -808,10 +807,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo) MerchantInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetails) Details() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) MethodData() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentOptions) Options() const; + [[nodiscard]] auto MerchantInfo() const; + [[nodiscard]] auto Details() const; + [[nodiscard]] auto MethodData() const; + [[nodiscard]] auto Options() const; }; template <> struct consume { @@ -820,7 +819,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentRequest2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; + [[nodiscard]] auto Id() const; }; template <> struct consume { @@ -829,10 +828,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequestChangeKind) ChangeKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentAddress) ShippingAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption) SelectedShippingOption() const; - WINRT_IMPL_AUTO(void) Acknowledge(winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult const& changeResult) const; + [[nodiscard]] auto ChangeKind() const; + [[nodiscard]] auto ShippingAddress() const; + [[nodiscard]] auto SelectedShippingOption() const; + auto Acknowledge(winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult const& changeResult) const; }; template <> struct consume { @@ -841,12 +840,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ChangeAcceptedByMerchant() const; - WINRT_IMPL_AUTO(void) ChangeAcceptedByMerchant(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const; - WINRT_IMPL_AUTO(void) Message(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetails) UpdatedPaymentDetails() const; - WINRT_IMPL_AUTO(void) UpdatedPaymentDetails(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& value) const; + [[nodiscard]] auto ChangeAcceptedByMerchant() const; + auto ChangeAcceptedByMerchant(bool value) const; + [[nodiscard]] auto Message() const; + auto Message(param::hstring const& value) const; + [[nodiscard]] auto UpdatedPaymentDetails() const; + auto UpdatedPaymentDetails(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& value) const; }; template <> struct consume { @@ -855,8 +854,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResultFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult) Create(bool changeAcceptedByMerchant) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult) CreateWithPaymentDetails(bool changeAcceptedByMerchant, winrt::Windows::ApplicationModel::Payments::PaymentDetails const& updatedPaymentDetails) const; + auto Create(bool changeAcceptedByMerchant) const; + auto CreateWithPaymentDetails(bool changeAcceptedByMerchant, winrt::Windows::ApplicationModel::Payments::PaymentDetails const& updatedPaymentDetails) const; }; template <> struct consume { @@ -865,9 +864,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) Create(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) CreateWithMerchantInfo(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) CreateWithMerchantInfoAndOptions(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo, winrt::Windows::ApplicationModel::Payments::PaymentOptions const& options) const; + auto Create(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData) const; + auto CreateWithMerchantInfo(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo) const; + auto CreateWithMerchantInfoAndOptions(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo, winrt::Windows::ApplicationModel::Payments::PaymentOptions const& options) const; }; template <> struct consume { @@ -876,7 +875,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory2 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) CreateWithMerchantInfoOptionsAndId(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo, winrt::Windows::ApplicationModel::Payments::PaymentOptions const& options, param::hstring const& id) const; + auto CreateWithMerchantInfoOptionsAndId(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo, winrt::Windows::ApplicationModel::Payments::PaymentOptions const& options, param::hstring const& id) const; }; template <> struct consume { @@ -885,8 +884,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentRequestSubmitResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequestStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentResponse) Response() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Response() const; }; template <> struct consume { @@ -895,13 +894,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentResponse { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentToken) PaymentToken() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption) ShippingOption() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentAddress) ShippingAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PayerEmail() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PayerName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PayerPhoneNumber() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CompleteAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequestCompletionStatus const& status) const; + [[nodiscard]] auto PaymentToken() const; + [[nodiscard]] auto ShippingOption() const; + [[nodiscard]] auto ShippingAddress() const; + [[nodiscard]] auto PayerEmail() const; + [[nodiscard]] auto PayerName() const; + [[nodiscard]] auto PayerPhoneNumber() const; + auto CompleteAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequestCompletionStatus const& status) const; }; template <> struct consume { @@ -910,14 +909,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentShippingOption { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const; - WINRT_IMPL_AUTO(void) Label(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount) Amount() const; - WINRT_IMPL_AUTO(void) Amount(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Tag() const; - WINRT_IMPL_AUTO(void) Tag(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSelected() const; - WINRT_IMPL_AUTO(void) IsSelected(bool value) const; + [[nodiscard]] auto Label() const; + auto Label(param::hstring const& value) const; + [[nodiscard]] auto Amount() const; + auto Amount(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& value) const; + [[nodiscard]] auto Tag() const; + auto Tag(param::hstring const& value) const; + [[nodiscard]] auto IsSelected() const; + auto IsSelected(bool value) const; }; template <> struct consume { @@ -926,9 +925,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentShippingOptionFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption) Create(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption) CreateWithSelected(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount, bool selected) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption) CreateWithSelectedAndTag(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount, bool selected, param::hstring const& tag) const; + auto Create(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount) const; + auto CreateWithSelected(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount, bool selected) const; + auto CreateWithSelectedAndTag(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount, bool selected, param::hstring const& tag) const; }; template <> struct consume { @@ -937,8 +936,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentToken { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PaymentMethodId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) JsonDetails() const; + [[nodiscard]] auto PaymentMethodId() const; + [[nodiscard]] auto JsonDetails() const; }; template <> struct consume { @@ -947,8 +946,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_IPaymentTokenFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentToken) Create(param::hstring const& paymentMethodId) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentToken) CreateWithJsonDetails(param::hstring const& paymentMethodId, param::hstring const& jsonDetails) const; + auto Create(param::hstring const& paymentMethodId) const; + auto CreateWithJsonDetails(param::hstring const& paymentMethodId, param::hstring const& jsonDetails) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.1.h index cbc531ee..8dbd78cf 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Payments_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.2.h index 2350ac03..4c17bdfe 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Payments_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.0.h index 126cebaf..88028694 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Payments_Provider_0_H @@ -8,7 +8,6 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Payments struct PaymentAddress; struct PaymentCanMakePaymentResult; struct PaymentRequest; - struct PaymentRequestChangedResult; enum class PaymentRequestCompletionStatus : int32_t; struct PaymentShippingOption; struct PaymentToken; @@ -16,7 +15,6 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Payments WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { @@ -124,8 +122,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppCanMakePaymentTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) Request() const; - WINRT_IMPL_AUTO(void) ReportCanMakePaymentResult(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResult const& value) const; + [[nodiscard]] auto Request() const; + auto ReportCanMakePaymentResult(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResult const& value) const; }; template <> struct consume { @@ -134,8 +132,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManager { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RegisterAsync(param::async_iterable const& supportedPaymentMethodIds) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UnregisterAsync() const; + auto RegisterAsync(param::async_iterable const& supportedPaymentMethodIds) const; + auto UnregisterAsync() const; }; template <> struct consume { @@ -144,7 +142,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManagerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::Provider::PaymentAppManager) Current() const; + [[nodiscard]] auto Current() const; }; template <> struct consume { @@ -153,17 +151,17 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) PaymentRequest() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PayerEmail() const; - WINRT_IMPL_AUTO(void) PayerEmail(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PayerName() const; - WINRT_IMPL_AUTO(void) PayerName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PayerPhoneNumber() const; - WINRT_IMPL_AUTO(void) PayerPhoneNumber(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UpdateShippingAddressAsync(winrt::Windows::ApplicationModel::Payments::PaymentAddress const& shippingAddress) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UpdateSelectedShippingOptionAsync(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption const& selectedShippingOption) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AcceptAsync(winrt::Windows::ApplicationModel::Payments::PaymentToken const& paymentToken) const; - WINRT_IMPL_AUTO(void) Reject() const; + [[nodiscard]] auto PaymentRequest() const; + [[nodiscard]] auto PayerEmail() const; + auto PayerEmail(param::hstring const& value) const; + [[nodiscard]] auto PayerName() const; + auto PayerName(param::hstring const& value) const; + [[nodiscard]] auto PayerPhoneNumber() const; + auto PayerPhoneNumber(param::hstring const& value) const; + auto UpdateShippingAddressAsync(winrt::Windows::ApplicationModel::Payments::PaymentAddress const& shippingAddress) const; + auto UpdateSelectedShippingOptionAsync(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption const& selectedShippingOption) const; + auto AcceptAsync(winrt::Windows::ApplicationModel::Payments::PaymentToken const& paymentToken) const; + auto Reject() const; }; template <> struct consume { @@ -172,7 +170,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransactionAcceptResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequestCompletionStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -181,7 +179,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransactionStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& id) const; + auto FromIdAsync(param::hstring const& id) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.1.h index b9bdb547..e2f0806a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Payments_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.2.h index ef718464..82fd31f6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Payments_Provider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.0.h index dbc4c81b..71929e18 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Preview_Holographic_0_H @@ -65,8 +65,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Preview_Holographic_IHolographicApplicationPreviewStatics { - WINRT_IMPL_AUTO(bool) IsCurrentViewPresentedOnHolographicDisplay() const; - WINRT_IMPL_AUTO(bool) IsHolographicActivation(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& activatedEventArgs) const; + auto IsCurrentViewPresentedOnHolographicDisplay() const; + auto IsHolographicActivation(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& activatedEventArgs) const; }; template <> struct consume { @@ -75,9 +75,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreview { - WINRT_IMPL_AUTO(void) SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::float3 const& normal) const; - WINRT_IMPL_AUTO(void) SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::float3 const& normal, winrt::Windows::Foundation::Numerics::float2 const& maxSize) const; - WINRT_IMPL_AUTO(void) ResetPlacementOverride() const; + auto SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::float3 const& normal) const; + auto SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::float3 const& normal, winrt::Windows::Foundation::Numerics::float2 const& maxSize) const; + auto ResetPlacementOverride() const; }; template <> struct consume { @@ -86,7 +86,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreviewStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Preview::Holographic::HolographicKeyboardPlacementOverridePreview) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.1.h index 8ea1ac7b..764cde6e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Preview_Holographic_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.2.h index 7074065b..5c2ad224 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Preview_Holographic_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.0.h index e1673425..3efb7948 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Preview_InkWorkspace_0_H @@ -45,7 +45,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Preview_InkWorkspace_IInkWorkspaceHostedAppManager { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetThumbnailAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; + auto SetThumbnailAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; }; template <> struct consume { @@ -54,7 +54,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Preview_InkWorkspace_IInkWorkspaceHostedAppManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Preview::InkWorkspace::InkWorkspaceHostedAppManager) GetForCurrentApp() const; + auto GetForCurrentApp() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.1.h index 033fa08c..2e257742 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Preview_InkWorkspace_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.2.h index c3ca44c0..11ff77c3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Preview_InkWorkspace_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.0.h index bc5b87c1..5c3f8c13 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Preview_Notes_0_H @@ -127,7 +127,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Preview_Notes_INotePlacementChangedPreviewEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ViewId() const; + [[nodiscard]] auto ViewId() const; }; template <> struct consume { @@ -136,8 +136,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Preview_Notes_INoteVisibilityChangedPreviewEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ViewId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVisible() const; + [[nodiscard]] auto ViewId() const; + [[nodiscard]] auto IsVisible() const; }; template <> struct consume { @@ -146,27 +146,27 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsScreenLocked() const; - WINRT_IMPL_AUTO(void) ShowNote(int32_t noteViewId) const; - WINRT_IMPL_AUTO(void) ShowNoteRelativeTo(int32_t noteViewId, int32_t anchorNoteViewId) const; - WINRT_IMPL_AUTO(void) ShowNoteWithPlacement(int32_t noteViewId, winrt::Windows::Storage::Streams::IBuffer const& data) const; - WINRT_IMPL_AUTO(void) HideNote(int32_t noteViewId) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) GetNotePlacement(int32_t noteViewId) const; - WINRT_IMPL_AUTO(bool) TrySetNoteSize(int32_t noteViewId, winrt::Windows::Foundation::Size const& size) const; - WINRT_IMPL_AUTO(void) SetFocusToNextView() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetNotesThumbnailAsync(winrt::Windows::Storage::Streams::IBuffer const& thumbnail) const; - WINRT_IMPL_AUTO(winrt::event_token) SystemLockStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsScreenLocked() const; + auto ShowNote(int32_t noteViewId) const; + auto ShowNoteRelativeTo(int32_t noteViewId, int32_t anchorNoteViewId) const; + auto ShowNoteWithPlacement(int32_t noteViewId, winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto HideNote(int32_t noteViewId) const; + auto GetNotePlacement(int32_t noteViewId) const; + auto TrySetNoteSize(int32_t noteViewId, winrt::Windows::Foundation::Size const& size) const; + auto SetFocusToNextView() const; + auto SetNotesThumbnailAsync(winrt::Windows::Storage::Streams::IBuffer const& thumbnail) const; + auto SystemLockStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SystemLockStateChanged_revoker = impl::event_revoker::remove_SystemLockStateChanged>; - [[nodiscard]] SystemLockStateChanged_revoker SystemLockStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SystemLockStateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NotePlacementChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SystemLockStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SystemLockStateChanged(winrt::event_token const& token) const noexcept; + auto NotePlacementChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NotePlacementChanged_revoker = impl::event_revoker::remove_NotePlacementChanged>; - [[nodiscard]] NotePlacementChanged_revoker NotePlacementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NotePlacementChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NoteVisibilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto NotePlacementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NotePlacementChanged(winrt::event_token const& token) const noexcept; + auto NoteVisibilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NoteVisibilityChanged_revoker = impl::event_revoker::remove_NoteVisibilityChanged>; - [[nodiscard]] NoteVisibilityChanged_revoker NoteVisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NoteVisibilityChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto NoteVisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NoteVisibilityChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -175,10 +175,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2 { - WINRT_IMPL_AUTO(void) ShowNoteRelativeTo(int32_t noteViewId, int32_t anchorNoteViewId, winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreviewShowNoteOptions const& options) const; - WINRT_IMPL_AUTO(void) ShowNoteWithPlacement(int32_t noteViewId, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreviewShowNoteOptions const& options) const; - WINRT_IMPL_AUTO(void) SetFocusToPreviousView() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetThumbnailImageForTaskSwitcherAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; + auto ShowNoteRelativeTo(int32_t noteViewId, int32_t anchorNoteViewId, winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreviewShowNoteOptions const& options) const; + auto ShowNoteWithPlacement(int32_t noteViewId, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreviewShowNoteOptions const& options) const; + auto SetFocusToPreviousView() const; + auto SetThumbnailImageForTaskSwitcherAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; }; template <> struct consume { @@ -187,8 +187,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewShowNoteOptions { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShowWithFocus() const; - WINRT_IMPL_AUTO(void) ShowWithFocus(bool value) const; + [[nodiscard]] auto ShowWithFocus() const; + auto ShowWithFocus(bool value) const; }; template <> struct consume { @@ -197,7 +197,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview) GetForCurrentApp() const; + auto GetForCurrentApp() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.1.h index ae6aa718..4a308e2e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Preview_Notes_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.2.h index 7a466c5f..5c38a239 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Preview_Notes_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.0.h index 96c11ac0..461064a8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Resources_0_H @@ -103,7 +103,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_IResourceLoader { - WINRT_IMPL_AUTO(hstring) GetString(param::hstring const& resource) const; + auto GetString(param::hstring const& resource) const; }; template <> struct consume { @@ -112,7 +112,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_IResourceLoader2 { - WINRT_IMPL_AUTO(hstring) GetStringForUri(winrt::Windows::Foundation::Uri const& uri) const; + auto GetStringForUri(winrt::Windows::Foundation::Uri const& uri) const; }; template <> struct consume { @@ -121,7 +121,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_IResourceLoaderFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) CreateResourceLoaderByName(param::hstring const& name) const; + auto CreateResourceLoaderByName(param::hstring const& name) const; }; template <> struct consume { @@ -130,7 +130,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics { - WINRT_IMPL_AUTO(hstring) GetStringForReference(winrt::Windows::Foundation::Uri const& uri) const; + auto GetStringForReference(winrt::Windows::Foundation::Uri const& uri) const; }; template <> struct consume { @@ -139,10 +139,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) GetForCurrentView() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) GetForCurrentView(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) GetForViewIndependentUse() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) GetForViewIndependentUse(param::hstring const& name) const; + auto GetForCurrentView() const; + auto GetForCurrentView(param::hstring const& name) const; + auto GetForViewIndependentUse() const; + auto GetForViewIndependentUse(param::hstring const& name) const; }; template <> struct consume { @@ -151,7 +151,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) GetForUIContext(winrt::Windows::UI::UIContext const& context) const; + auto GetForUIContext(winrt::Windows::UI::UIContext const& context) const; }; template <> struct consume { @@ -160,7 +160,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics4 { - WINRT_IMPL_AUTO(hstring) GetDefaultPriPath(param::hstring const& packageFullName) const; + auto GetDefaultPriPath(param::hstring const& packageFullName) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.1.h index 711f621d..2f9d06cd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Resources_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.2.h index 4923db14..8ee2be4e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Resources_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.0.h index 368ae26b..6002e521 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.0.h @@ -1,11 +1,10 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Resources_Core_0_H #define WINRT_Windows_ApplicationModel_Resources_Core_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections @@ -20,11 +19,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections WINRT_EXPORT namespace winrt::Windows::Storage { struct IStorageFile; - struct StorageFile; -} -WINRT_EXPORT namespace winrt::Windows::Storage::Streams -{ - struct IRandomAccessStream; } WINRT_EXPORT namespace winrt::Windows::UI { @@ -300,12 +294,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Core_INamedResource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Candidates() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate) Resolve() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate) Resolve(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& resourceContext) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ResolveAll() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ResolveAll(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& resourceContext) const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Candidates() const; + auto Resolve() const; + auto Resolve(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& resourceContext) const; + auto ResolveAll() const; + auto ResolveAll(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& resourceContext) const; }; template <> struct consume { @@ -314,13 +308,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Qualifiers() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMatch() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMatchAsDefault() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDefault() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ValueAsString() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetValueAsFileAsync() const; - WINRT_IMPL_AUTO(hstring) GetQualifierValue(param::hstring const& qualifierName) const; + [[nodiscard]] auto Qualifiers() const; + [[nodiscard]] auto IsMatch() const; + [[nodiscard]] auto IsMatchAsDefault() const; + [[nodiscard]] auto IsDefault() const; + [[nodiscard]] auto ValueAsString() const; + auto GetValueAsFileAsync() const; + auto GetQualifierValue(param::hstring const& qualifierName) const; }; template <> struct consume { @@ -329,7 +323,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetValueAsStreamAsync() const; + auto GetValueAsStreamAsync() const; }; template <> struct consume { @@ -338,7 +332,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidateKind) Kind() const; + [[nodiscard]] auto Kind() const; }; template <> struct consume { @@ -347,13 +341,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Core_IResourceContext { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableMap) QualifierValues() const; - WINRT_IMPL_AUTO(void) Reset() const; - WINRT_IMPL_AUTO(void) Reset(param::iterable const& qualifierNames) const; - WINRT_IMPL_AUTO(void) OverrideToMatch(param::iterable const& result) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) Clone() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Languages() const; - WINRT_IMPL_AUTO(void) Languages(param::async_vector_view const& languages) const; + [[nodiscard]] auto QualifierValues() const; + auto Reset() const; + auto Reset(param::iterable const& qualifierNames) const; + auto OverrideToMatch(param::iterable const& result) const; + auto Clone() const; + [[nodiscard]] auto Languages() const; + auto Languages(param::async_vector_view const& languages) const; }; template <> struct consume { @@ -362,7 +356,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) CreateMatchingContext(param::iterable const& result) const; + auto CreateMatchingContext(param::iterable const& result) const; }; template <> struct consume { @@ -371,11 +365,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) GetForCurrentView() const; - WINRT_IMPL_AUTO(void) SetGlobalQualifierValue(param::hstring const& key, param::hstring const& value) const; - WINRT_IMPL_AUTO(void) ResetGlobalQualifierValues() const; - WINRT_IMPL_AUTO(void) ResetGlobalQualifierValues(param::iterable const& qualifierNames) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) GetForViewIndependentUse() const; + auto GetForCurrentView() const; + auto SetGlobalQualifierValue(param::hstring const& key, param::hstring const& value) const; + auto ResetGlobalQualifierValues() const; + auto ResetGlobalQualifierValues(param::iterable const& qualifierNames) const; + auto GetForViewIndependentUse() const; }; template <> struct consume { @@ -384,7 +378,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics3 { - WINRT_IMPL_AUTO(void) SetGlobalQualifierValue(param::hstring const& key, param::hstring const& value, winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifierPersistence const& persistence) const; + auto SetGlobalQualifierValue(param::hstring const& key, param::hstring const& value, winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifierPersistence const& persistence) const; }; template <> struct consume { @@ -393,7 +387,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics4 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) GetForUIContext(winrt::Windows::UI::UIContext const& context) const; + auto GetForUIContext(winrt::Windows::UI::UIContext const& context) const; }; template <> struct consume { @@ -402,11 +396,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Core_IResourceManager { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceMap) MainResourceMap() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) AllResourceMaps() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) DefaultContext() const; - WINRT_IMPL_AUTO(void) LoadPriFiles(param::iterable const& files) const; - WINRT_IMPL_AUTO(void) UnloadPriFiles(param::iterable const& files) const; + [[nodiscard]] auto MainResourceMap() const; + [[nodiscard]] auto AllResourceMaps() const; + [[nodiscard]] auto DefaultContext() const; + auto LoadPriFiles(param::iterable const& files) const; + auto UnloadPriFiles(param::iterable const& files) const; }; template <> struct consume { @@ -415,8 +409,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Core_IResourceManager2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAllNamedResourcesForPackage(param::hstring const& packageName, winrt::Windows::ApplicationModel::Resources::Core::ResourceLayoutInfo const& resourceLayoutInfo) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAllSubtreesForPackage(param::hstring const& packageName, winrt::Windows::ApplicationModel::Resources::Core::ResourceLayoutInfo const& resourceLayoutInfo) const; + auto GetAllNamedResourcesForPackage(param::hstring const& packageName, winrt::Windows::ApplicationModel::Resources::Core::ResourceLayoutInfo const& resourceLayoutInfo) const; + auto GetAllSubtreesForPackage(param::hstring const& packageName, winrt::Windows::ApplicationModel::Resources::Core::ResourceLayoutInfo const& resourceLayoutInfo) const; }; template <> struct consume { @@ -425,8 +419,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Core_IResourceManagerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceManager) Current() const; - WINRT_IMPL_AUTO(bool) IsResourceReference(param::hstring const& resourceReference) const; + [[nodiscard]] auto Current() const; + auto IsResourceReference(param::hstring const& resourceReference) const; }; template <> struct consume { @@ -435,10 +429,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Core_IResourceMap { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate) GetValue(param::hstring const& resource) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate) GetValue(param::hstring const& resource, winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& context) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceMap) GetSubtree(param::hstring const& reference) const; + [[nodiscard]] auto Uri() const; + auto GetValue(param::hstring const& resource) const; + auto GetValue(param::hstring const& resource, winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& context) const; + auto GetSubtree(param::hstring const& reference) const; }; template <> struct consume { @@ -447,11 +441,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) QualifierName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) QualifierValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDefault() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMatch() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Score() const; + [[nodiscard]] auto QualifierName() const; + [[nodiscard]] auto QualifierValue() const; + [[nodiscard]] auto IsDefault() const; + [[nodiscard]] auto IsMatch() const; + [[nodiscard]] auto Score() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.1.h index 7b50e22a..4d58345e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Resources_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.2.h index 41b5388d..df3841a6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Resources_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.0.h index 61d4563e..8d59b083 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.0.h @@ -1,18 +1,12 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Resources_Management_0_H #define WINRT_Windows_ApplicationModel_Resources_Management_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources::Management { enum class IndexedResourceType : int32_t @@ -103,12 +97,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Management::IndexedResourceType) Type() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Metadata() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Qualifiers() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ValueAsString() const; - WINRT_IMPL_AUTO(hstring) GetQualifierValue(param::hstring const& qualifierName) const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Metadata() const; + [[nodiscard]] auto Qualifiers() const; + [[nodiscard]] auto ValueAsString() const; + auto GetQualifierValue(param::hstring const& qualifierName) const; }; template <> struct consume { @@ -117,8 +111,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceQualifier { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) QualifierName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) QualifierValue() const; + [[nodiscard]] auto QualifierName() const; + [[nodiscard]] auto QualifierValue() const; }; template <> struct consume { @@ -127,8 +121,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Management_IResourceIndexer { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Management::IndexedResourceCandidate) IndexFilePath(winrt::Windows::Foundation::Uri const& filePath) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) IndexFileContentsAsync(winrt::Windows::Foundation::Uri const& file) const; + auto IndexFilePath(winrt::Windows::Foundation::Uri const& filePath) const; + auto IndexFileContentsAsync(winrt::Windows::Foundation::Uri const& file) const; }; template <> struct consume { @@ -137,7 +131,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Management_IResourceIndexerFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Management::ResourceIndexer) CreateResourceIndexer(winrt::Windows::Foundation::Uri const& projectRoot) const; + auto CreateResourceIndexer(winrt::Windows::Foundation::Uri const& projectRoot) const; }; template <> struct consume { @@ -146,7 +140,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Resources_Management_IResourceIndexerFactory2 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Management::ResourceIndexer) CreateResourceIndexerWithExtension(winrt::Windows::Foundation::Uri const& projectRoot, winrt::Windows::Foundation::Uri const& extensionDllPath) const; + auto CreateResourceIndexerWithExtension(winrt::Windows::Foundation::Uri const& projectRoot, winrt::Windows::Foundation::Uri const& extensionDllPath) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.1.h index 6ba401cc..d99fa1ce 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Resources_Management_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.2.h index 531c7c93..762e748e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Resources_Management_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.0.h index b39b6f54..54ca9fc2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Search_0_H @@ -11,12 +11,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} -WINRT_EXPORT namespace winrt::Windows::Storage -{ - struct StorageFolder; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { @@ -328,12 +322,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings { - WINRT_IMPL_AUTO(void) Enabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Enabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Locations() const; - WINRT_IMPL_AUTO(void) AqsFilter(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AqsFilter() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) PropertiesToMatch() const; + auto Enabled(bool value) const; + [[nodiscard]] auto Enabled() const; + [[nodiscard]] auto Locations() const; + auto AqsFilter(param::hstring const& value) const; + [[nodiscard]] auto AqsFilter() const; + [[nodiscard]] auto PropertiesToMatch() const; }; template <> struct consume { @@ -342,41 +336,41 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchPane { - WINRT_IMPL_AUTO(void) SearchHistoryEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SearchHistoryEnabled() const; - WINRT_IMPL_AUTO(void) SearchHistoryContext(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SearchHistoryContext() const; - WINRT_IMPL_AUTO(void) PlaceholderText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PlaceholderText() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) QueryText() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Visible() const; - WINRT_IMPL_AUTO(winrt::event_token) VisibilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SearchHistoryEnabled(bool value) const; + [[nodiscard]] auto SearchHistoryEnabled() const; + auto SearchHistoryContext(param::hstring const& value) const; + [[nodiscard]] auto SearchHistoryContext() const; + auto PlaceholderText(param::hstring const& value) const; + [[nodiscard]] auto PlaceholderText() const; + [[nodiscard]] auto QueryText() const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto Visible() const; + auto VisibilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using VisibilityChanged_revoker = impl::event_revoker::remove_VisibilityChanged>; - [[nodiscard]] VisibilityChanged_revoker VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VisibilityChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) QueryChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VisibilityChanged(winrt::event_token const& token) const noexcept; + auto QueryChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using QueryChanged_revoker = impl::event_revoker::remove_QueryChanged>; - [[nodiscard]] QueryChanged_revoker QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) QueryChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto QueryChanged(winrt::event_token const& token) const noexcept; + auto SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SuggestionsRequested_revoker = impl::event_revoker::remove_SuggestionsRequested>; - [[nodiscard]] SuggestionsRequested_revoker SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SuggestionsRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SuggestionsRequested(winrt::event_token const& token) const noexcept; + auto QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using QuerySubmitted_revoker = impl::event_revoker::remove_QuerySubmitted>; - [[nodiscard]] QuerySubmitted_revoker QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) QuerySubmitted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ResultSuggestionChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto QuerySubmitted(winrt::event_token const& token) const noexcept; + auto ResultSuggestionChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ResultSuggestionChosen_revoker = impl::event_revoker::remove_ResultSuggestionChosen>; - [[nodiscard]] ResultSuggestionChosen_revoker ResultSuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ResultSuggestionChosen(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const; - WINRT_IMPL_AUTO(void) Show() const; - WINRT_IMPL_AUTO(void) Show(param::hstring const& query) const; - WINRT_IMPL_AUTO(void) ShowOnKeyboardInput(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShowOnKeyboardInput() const; - WINRT_IMPL_AUTO(bool) TrySetQueryText(param::hstring const& query) const; + [[nodiscard]] auto ResultSuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ResultSuggestionChosen(winrt::event_token const& token) const noexcept; + auto SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const; + auto Show() const; + auto Show(param::hstring const& query) const; + auto ShowOnKeyboardInput(bool value) const; + [[nodiscard]] auto ShowOnKeyboardInput() const; + auto TrySetQueryText(param::hstring const& query) const; }; template <> struct consume { @@ -385,9 +379,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchPaneQueryChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) QueryText() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneQueryLinguisticDetails) LinguisticDetails() const; + [[nodiscard]] auto QueryText() const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto LinguisticDetails() const; }; template <> struct consume { @@ -396,9 +390,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchPaneQueryLinguisticDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) QueryTextAlternatives() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) QueryTextCompositionStart() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) QueryTextCompositionLength() const; + [[nodiscard]] auto QueryTextAlternatives() const; + [[nodiscard]] auto QueryTextCompositionStart() const; + [[nodiscard]] auto QueryTextCompositionLength() const; }; template <> struct consume { @@ -407,8 +401,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) QueryText() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; + [[nodiscard]] auto QueryText() const; + [[nodiscard]] auto Language() const; }; template <> struct consume { @@ -417,7 +411,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneQueryLinguisticDetails) LinguisticDetails() const; + [[nodiscard]] auto LinguisticDetails() const; }; template <> struct consume { @@ -426,7 +420,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchPaneResultSuggestionChosenEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Tag() const; + [[nodiscard]] auto Tag() const; }; template <> struct consume { @@ -435,7 +429,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchPaneStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPane) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -444,7 +438,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchPaneStaticsWithHideThisApplication { - WINRT_IMPL_AUTO(void) HideThisApplication() const; + auto HideThisApplication() const; }; template <> struct consume { @@ -453,9 +447,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequest { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCanceled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchSuggestionCollection) SearchSuggestionCollection() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequestDeferral) GetDeferral() const; + [[nodiscard]] auto IsCanceled() const; + [[nodiscard]] auto SearchSuggestionCollection() const; + auto GetDeferral() const; }; template <> struct consume { @@ -464,7 +458,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequestDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -473,7 +467,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -482,7 +476,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchPaneVisibilityChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Visible() const; + [[nodiscard]] auto Visible() const; }; template <> struct consume { @@ -491,9 +485,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) QueryTextAlternatives() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) QueryTextCompositionStart() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) QueryTextCompositionLength() const; + [[nodiscard]] auto QueryTextAlternatives() const; + [[nodiscard]] auto QueryTextCompositionStart() const; + [[nodiscard]] auto QueryTextCompositionLength() const; }; template <> struct consume { @@ -502,7 +496,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetailsFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails) CreateInstance(param::iterable const& queryTextAlternatives, uint32_t queryTextCompositionStart, uint32_t queryTextCompositionLength) const; + auto CreateInstance(param::iterable const& queryTextAlternatives, uint32_t queryTextCompositionStart, uint32_t queryTextCompositionLength) const; }; template <> struct consume { @@ -511,11 +505,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Size() const; - WINRT_IMPL_AUTO(void) AppendQuerySuggestion(param::hstring const& text) const; - WINRT_IMPL_AUTO(void) AppendQuerySuggestions(param::iterable const& suggestions) const; - WINRT_IMPL_AUTO(void) AppendResultSuggestion(param::hstring const& text, param::hstring const& detailText, param::hstring const& tag, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& image, param::hstring const& imageAlternateText) const; - WINRT_IMPL_AUTO(void) AppendSearchSeparator(param::hstring const& label) const; + [[nodiscard]] auto Size() const; + auto AppendQuerySuggestion(param::hstring const& text) const; + auto AppendQuerySuggestions(param::iterable const& suggestions) const; + auto AppendResultSuggestion(param::hstring const& text, param::hstring const& detailText, param::hstring const& tag, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& image, param::hstring const& imageAlternateText) const; + auto AppendSearchSeparator(param::hstring const& label) const; }; template <> struct consume { @@ -524,9 +518,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequest { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCanceled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchSuggestionCollection) SearchSuggestionCollection() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchSuggestionsRequestDeferral) GetDeferral() const; + [[nodiscard]] auto IsCanceled() const; + [[nodiscard]] auto SearchSuggestionCollection() const; + auto GetDeferral() const; }; template <> struct consume { @@ -535,7 +529,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequestDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.1.h index cbf1828c..f0a8876a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Search_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.2.h index 93cd5f48..a643baa7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Search_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.0.h index b55a81dc..60b32f4b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Search_Core_0_H @@ -14,10 +14,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IObservableVector; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IRandomAccessStreamReference; @@ -128,12 +124,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Tag() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DetailText() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Image() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ImageAlternateText() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Text() const; + [[nodiscard]] auto Tag() const; + [[nodiscard]] auto DetailText() const; + [[nodiscard]] auto Image() const; + [[nodiscard]] auto ImageAlternateText() const; }; template <> struct consume { @@ -142,26 +138,26 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager { - [[nodiscard]] WINRT_IMPL_AUTO(bool) SearchHistoryEnabled() const; - WINRT_IMPL_AUTO(void) SearchHistoryEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SearchHistoryContext() const; - WINRT_IMPL_AUTO(void) SearchHistoryContext(param::hstring const& value) const; - WINRT_IMPL_AUTO(void) SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const; - WINRT_IMPL_AUTO(void) SetQuery(param::hstring const& queryText) const; - WINRT_IMPL_AUTO(void) SetQuery(param::hstring const& queryText, param::hstring const& language) const; - WINRT_IMPL_AUTO(void) SetQuery(param::hstring const& queryText, param::hstring const& language, winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails const& linguisticDetails) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) Suggestions() const; - WINRT_IMPL_AUTO(void) AddToHistory(param::hstring const& queryText) const; - WINRT_IMPL_AUTO(void) AddToHistory(param::hstring const& queryText, param::hstring const& language) const; - WINRT_IMPL_AUTO(void) ClearHistory() const; - WINRT_IMPL_AUTO(winrt::event_token) SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SearchHistoryEnabled() const; + auto SearchHistoryEnabled(bool value) const; + [[nodiscard]] auto SearchHistoryContext() const; + auto SearchHistoryContext(param::hstring const& value) const; + auto SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const; + auto SetQuery(param::hstring const& queryText) const; + auto SetQuery(param::hstring const& queryText, param::hstring const& language) const; + auto SetQuery(param::hstring const& queryText, param::hstring const& language, winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails const& linguisticDetails) const; + [[nodiscard]] auto Suggestions() const; + auto AddToHistory(param::hstring const& queryText) const; + auto AddToHistory(param::hstring const& queryText, param::hstring const& language) const; + auto ClearHistory() const; + auto SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SuggestionsRequested_revoker = impl::event_revoker::remove_SuggestionsRequested>; - [[nodiscard]] SuggestionsRequested_revoker SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SuggestionsRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RequestingFocusOnKeyboardInput(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SuggestionsRequested(winrt::event_token const& token) const noexcept; + auto RequestingFocusOnKeyboardInput(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RequestingFocusOnKeyboardInput_revoker = impl::event_revoker::remove_RequestingFocusOnKeyboardInput>; - [[nodiscard]] RequestingFocusOnKeyboardInput_revoker RequestingFocusOnKeyboardInput(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RequestingFocusOnKeyboardInput(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RequestingFocusOnKeyboardInput(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RequestingFocusOnKeyboardInput(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -170,10 +166,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) QueryText() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails) LinguisticDetails() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchSuggestionsRequest) Request() const; + [[nodiscard]] auto QueryText() const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto LinguisticDetails() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.1.h index 2b94d377..cf118156 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Search_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.2.h index 93c6b709..88ecff07 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Search_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.0.h index 94835f0e..876be19f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_SocialInfo_0_H @@ -8,10 +8,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct IAsyncAction; struct Uri; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging { struct BitmapSize; @@ -202,16 +198,16 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialUserInfo) Author() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) PrimaryContent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) SecondaryContent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - WINRT_IMPL_AUTO(void) Timestamp(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) TargetUri() const; - WINRT_IMPL_AUTO(void) TargetUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Thumbnails() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem) SharedItem() const; - WINRT_IMPL_AUTO(void) SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const; + [[nodiscard]] auto Author() const; + [[nodiscard]] auto PrimaryContent() const; + [[nodiscard]] auto SecondaryContent() const; + [[nodiscard]] auto Timestamp() const; + auto Timestamp(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto TargetUri() const; + auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Thumbnails() const; + [[nodiscard]] auto SharedItem() const; + auto SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const; }; template <> struct consume { @@ -220,12 +216,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const; - WINRT_IMPL_AUTO(void) Message(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) TargetUri() const; - WINRT_IMPL_AUTO(void) TargetUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Message() const; + auto Message(param::hstring const& value) const; + [[nodiscard]] auto TargetUri() const; + auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -234,26 +230,26 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialUserInfo) Author() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) PrimaryContent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) SecondaryContent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - WINRT_IMPL_AUTO(void) Timestamp(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) TargetUri() const; - WINRT_IMPL_AUTO(void) TargetUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Thumbnails() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem) SharedItem() const; - WINRT_IMPL_AUTO(void) SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle) BadgeStyle() const; - WINRT_IMPL_AUTO(void) BadgeStyle(winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) BadgeCountValue() const; - WINRT_IMPL_AUTO(void) BadgeCountValue(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const; - WINRT_IMPL_AUTO(void) RemoteId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem) ChildItem() const; - WINRT_IMPL_AUTO(void) ChildItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle) Style() const; - WINRT_IMPL_AUTO(void) Style(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle const& value) const; + [[nodiscard]] auto Author() const; + [[nodiscard]] auto PrimaryContent() const; + [[nodiscard]] auto SecondaryContent() const; + [[nodiscard]] auto Timestamp() const; + auto Timestamp(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto TargetUri() const; + auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Thumbnails() const; + [[nodiscard]] auto SharedItem() const; + auto SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const; + [[nodiscard]] auto BadgeStyle() const; + auto BadgeStyle(winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle const& value) const; + [[nodiscard]] auto BadgeCountValue() const; + auto BadgeCountValue(int32_t value) const; + [[nodiscard]] auto RemoteId() const; + auto RemoteId(param::hstring const& value) const; + [[nodiscard]] auto ChildItem() const; + auto ChildItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem const& value) const; + [[nodiscard]] auto Style() const; + auto Style(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle const& value) const; }; template <> struct consume { @@ -262,15 +258,15 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) OriginalSource() const; - WINRT_IMPL_AUTO(void) OriginalSource(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) Content() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - WINRT_IMPL_AUTO(void) Timestamp(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) TargetUri() const; - WINRT_IMPL_AUTO(void) TargetUri(winrt::Windows::Foundation::Uri const& value) const; - WINRT_IMPL_AUTO(void) Thumbnail(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail) Thumbnail() const; + [[nodiscard]] auto OriginalSource() const; + auto OriginalSource(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Content() const; + [[nodiscard]] auto Timestamp() const; + auto Timestamp(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto TargetUri() const; + auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; + auto Thumbnail(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail const& value) const; + [[nodiscard]] auto Thumbnail() const; }; template <> struct consume { @@ -279,13 +275,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) TargetUri() const; - WINRT_IMPL_AUTO(void) TargetUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ImageUri() const; - WINRT_IMPL_AUTO(void) ImageUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapSize) BitmapSize() const; - WINRT_IMPL_AUTO(void) BitmapSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetImageAsync(winrt::Windows::Storage::Streams::IInputStream const& image) const; + [[nodiscard]] auto TargetUri() const; + auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ImageUri() const; + auto ImageUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto BitmapSize() const; + auto BitmapSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const; + auto SetImageAsync(winrt::Windows::Storage::Streams::IInputStream const& image) const; }; template <> struct consume { @@ -294,14 +290,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserName() const; - WINRT_IMPL_AUTO(void) UserName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const; - WINRT_IMPL_AUTO(void) RemoteId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) TargetUri() const; - WINRT_IMPL_AUTO(void) TargetUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto UserName() const; + auto UserName(param::hstring const& value) const; + [[nodiscard]] auto RemoteId() const; + auto RemoteId(param::hstring const& value) const; + [[nodiscard]] auto TargetUri() const; + auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.1.h index 0696f83b..4c0ba6ea 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_SocialInfo_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.2.h index 316a3951..d81b029d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_SocialInfo_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.0.h index bdbabfa3..0efc0197 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_SocialInfo_Provider_0_H @@ -6,7 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::SocialInfo { struct SocialFeedContent; - struct SocialFeedItem; enum class SocialFeedKind : int32_t; enum class SocialFeedUpdateMode : int32_t; struct SocialItemThumbnail; @@ -14,13 +13,8 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::SocialInfo WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::ApplicationModel::SocialInfo::Provider { struct ISocialDashboardItemUpdater; @@ -89,15 +83,15 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OwnerRemoteId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) Content() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - WINRT_IMPL_AUTO(void) Timestamp(winrt::Windows::Foundation::DateTime const& value) const; - WINRT_IMPL_AUTO(void) Thumbnail(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail) Thumbnail() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CommitAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) TargetUri() const; - WINRT_IMPL_AUTO(void) TargetUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto OwnerRemoteId() const; + [[nodiscard]] auto Content() const; + [[nodiscard]] auto Timestamp() const; + auto Timestamp(winrt::Windows::Foundation::DateTime const& value) const; + auto Thumbnail(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail const& value) const; + [[nodiscard]] auto Thumbnail() const; + auto CommitAsync() const; + [[nodiscard]] auto TargetUri() const; + auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -106,10 +100,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OwnerRemoteId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Items() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CommitAsync() const; + [[nodiscard]] auto OwnerRemoteId() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Items() const; + auto CommitAsync() const; }; template <> struct consume { @@ -118,12 +112,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateSocialFeedUpdaterAsync(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind const& kind, winrt::Windows::ApplicationModel::SocialInfo::SocialFeedUpdateMode const& mode, param::hstring const& ownerRemoteId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateDashboardItemUpdaterAsync(param::hstring const& ownerRemoteId) const; - WINRT_IMPL_AUTO(void) UpdateBadgeCountValue(param::hstring const& itemRemoteId, int32_t newCount) const; - WINRT_IMPL_AUTO(void) ReportNewContentAvailable(param::hstring const& contactRemoteId, winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind const& kind) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ProvisionAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeprovisionAsync() const; + auto CreateSocialFeedUpdaterAsync(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind const& kind, winrt::Windows::ApplicationModel::SocialInfo::SocialFeedUpdateMode const& mode, param::hstring const& ownerRemoteId) const; + auto CreateDashboardItemUpdaterAsync(param::hstring const& ownerRemoteId) const; + auto UpdateBadgeCountValue(param::hstring const& itemRemoteId, int32_t newCount) const; + auto ReportNewContentAvailable(param::hstring const& contactRemoteId, winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind const& kind) const; + auto ProvisionAsync() const; + auto DeprovisionAsync() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.1.h index 1b9b7bf8..48e5e3cf 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_SocialInfo_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.2.h index 2d214b09..2be6be60 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_SocialInfo_Provider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.0.h index 583f62ed..c26172be 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_0_H @@ -7,14 +7,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Storage { @@ -401,14 +398,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_ICurrentApp { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::LicenseInformation) LicenseInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) LinkUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) AppId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAppPurchaseAsync(bool includeReceipt) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestProductPurchaseAsync(param::hstring const& productId, bool includeReceipt) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadListingInformationAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAppReceiptAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetProductReceiptAsync(param::hstring const& productId) const; + [[nodiscard]] auto LicenseInformation() const; + [[nodiscard]] auto LinkUri() const; + [[nodiscard]] auto AppId() const; + auto RequestAppPurchaseAsync(bool includeReceipt) const; + auto RequestProductPurchaseAsync(param::hstring const& productId, bool includeReceipt) const; + auto LoadListingInformationAsync() const; + auto GetAppReceiptAsync() const; + auto GetProductReceiptAsync(param::hstring const& productId) const; }; template <> struct consume { @@ -417,8 +414,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_ICurrentApp2Statics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCustomerPurchaseIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCustomerCollectionsIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const; + auto GetCustomerPurchaseIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const; + auto GetCustomerCollectionsIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const; }; template <> struct consume { @@ -427,15 +424,15 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_ICurrentAppSimulator { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::LicenseInformation) LicenseInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) LinkUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) AppId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAppPurchaseAsync(bool includeReceipt) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestProductPurchaseAsync(param::hstring const& productId, bool includeReceipt) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadListingInformationAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAppReceiptAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetProductReceiptAsync(param::hstring const& productId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReloadSimulatorAsync(winrt::Windows::Storage::StorageFile const& simulatorSettingsFile) const; + [[nodiscard]] auto LicenseInformation() const; + [[nodiscard]] auto LinkUri() const; + [[nodiscard]] auto AppId() const; + auto RequestAppPurchaseAsync(bool includeReceipt) const; + auto RequestProductPurchaseAsync(param::hstring const& productId, bool includeReceipt) const; + auto LoadListingInformationAsync() const; + auto GetAppReceiptAsync() const; + auto GetProductReceiptAsync(param::hstring const& productId) const; + auto ReloadSimulatorAsync(winrt::Windows::Storage::StorageFile const& simulatorSettingsFile) const; }; template <> struct consume { @@ -444,8 +441,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorStaticsWithFiltering { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadListingInformationByProductIdsAsync(param::async_iterable const& productIds) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadListingInformationByKeywordsAsync(param::async_iterable const& keywords) const; + auto LoadListingInformationByProductIdsAsync(param::async_iterable const& productIds) const; + auto LoadListingInformationByKeywordsAsync(param::async_iterable const& keywords) const; }; template <> struct consume { @@ -454,7 +451,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithCampaignId { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAppPurchaseCampaignIdAsync() const; + auto GetAppPurchaseCampaignIdAsync() const; }; template <> struct consume { @@ -463,10 +460,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReportConsumableFulfillmentAsync(param::hstring const& productId, winrt::guid const& transactionId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestProductPurchaseAsync(param::hstring const& productId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestProductPurchaseAsync(param::hstring const& productId, param::hstring const& offerId, winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties const& displayProperties) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetUnfulfilledConsumablesAsync() const; + auto ReportConsumableFulfillmentAsync(param::hstring const& productId, winrt::guid const& transactionId) const; + auto RequestProductPurchaseAsync(param::hstring const& productId) const; + auto RequestProductPurchaseAsync(param::hstring const& productId, param::hstring const& offerId, winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties const& displayProperties) const; + auto GetUnfulfilledConsumablesAsync() const; }; template <> struct consume { @@ -475,9 +472,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_ICurrentAppStaticsWithFiltering { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadListingInformationByProductIdsAsync(param::async_iterable const& productIds) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadListingInformationByKeywordsAsync(param::async_iterable const& keywords) const; - WINRT_IMPL_AUTO(void) ReportProductFulfillment(param::hstring const& productId) const; + auto LoadListingInformationByProductIdsAsync(param::async_iterable const& productIds) const; + auto LoadListingInformationByKeywordsAsync(param::async_iterable const& keywords) const; + auto ReportProductFulfillment(param::hstring const& productId) const; }; template <> struct consume { @@ -486,7 +483,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_ICurrentAppWithCampaignId { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAppPurchaseCampaignIdAsync() const; + auto GetAppPurchaseCampaignIdAsync() const; }; template <> struct consume { @@ -495,10 +492,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReportConsumableFulfillmentAsync(param::hstring const& productId, winrt::guid const& transactionId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestProductPurchaseAsync(param::hstring const& productId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestProductPurchaseAsync(param::hstring const& productId, param::hstring const& offerId, winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties const& displayProperties) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetUnfulfilledConsumablesAsync() const; + auto ReportConsumableFulfillmentAsync(param::hstring const& productId, winrt::guid const& transactionId) const; + auto RequestProductPurchaseAsync(param::hstring const& productId) const; + auto RequestProductPurchaseAsync(param::hstring const& productId, param::hstring const& offerId, winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties const& displayProperties) const; + auto GetUnfulfilledConsumablesAsync() const; }; template <> struct consume { @@ -507,14 +504,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_ILicenseInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) ProductLicenses() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsActive() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTrial() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) ExpirationDate() const; - WINRT_IMPL_AUTO(winrt::event_token) LicenseChanged(winrt::Windows::ApplicationModel::Store::LicenseChangedEventHandler const& handler) const; + [[nodiscard]] auto ProductLicenses() const; + [[nodiscard]] auto IsActive() const; + [[nodiscard]] auto IsTrial() const; + [[nodiscard]] auto ExpirationDate() const; + auto LicenseChanged(winrt::Windows::ApplicationModel::Store::LicenseChangedEventHandler const& handler) const; using LicenseChanged_revoker = impl::event_revoker::remove_LicenseChanged>; - [[nodiscard]] LicenseChanged_revoker LicenseChanged(auto_revoke_t, winrt::Windows::ApplicationModel::Store::LicenseChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LicenseChanged(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto LicenseChanged(auto_revoke_t, winrt::Windows::ApplicationModel::Store::LicenseChangedEventHandler const& handler) const; + auto LicenseChanged(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -523,12 +520,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_IListingInformation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CurrentMarket() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) ProductListings() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FormattedPrice() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) AgeRating() const; + [[nodiscard]] auto CurrentMarket() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto ProductListings() const; + [[nodiscard]] auto FormattedPrice() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto AgeRating() const; }; template <> struct consume { @@ -537,10 +534,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_IListingInformation2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FormattedBasePrice() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) SaleEndDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOnSale() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CurrencyCode() const; + [[nodiscard]] auto FormattedBasePrice() const; + [[nodiscard]] auto SaleEndDate() const; + [[nodiscard]] auto IsOnSale() const; + [[nodiscard]] auto CurrencyCode() const; }; template <> struct consume { @@ -549,9 +546,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_IProductLicense { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProductId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsActive() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) ExpirationDate() const; + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto IsActive() const; + [[nodiscard]] auto ExpirationDate() const; }; template <> struct consume { @@ -560,7 +557,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_IProductLicenseWithFulfillment { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConsumable() const; + [[nodiscard]] auto IsConsumable() const; }; template <> struct consume { @@ -569,9 +566,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_IProductListing { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProductId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FormattedPrice() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto FormattedPrice() const; + [[nodiscard]] auto Name() const; }; template <> struct consume { @@ -580,10 +577,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_IProductListing2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FormattedBasePrice() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) SaleEndDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOnSale() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CurrencyCode() const; + [[nodiscard]] auto FormattedBasePrice() const; + [[nodiscard]] auto SaleEndDate() const; + [[nodiscard]] auto IsOnSale() const; + [[nodiscard]] auto CurrencyCode() const; }; template <> struct consume { @@ -592,7 +589,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_IProductListingWithConsumables { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::ProductType) ProductType() const; + [[nodiscard]] auto ProductType() const; }; template <> struct consume { @@ -601,11 +598,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_IProductListingWithMetadata { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) Keywords() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::ProductType) ProductType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Tag() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ImageUri() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Keywords() const; + [[nodiscard]] auto ProductType() const; + [[nodiscard]] auto Tag() const; + [[nodiscard]] auto ImageUri() const; }; template <> struct consume { @@ -614,12 +611,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Image() const; - WINRT_IMPL_AUTO(void) Image(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Image() const; + auto Image(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -628,7 +625,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayPropertiesFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties) CreateProductPurchaseDisplayProperties(param::hstring const& name) const; + auto CreateProductPurchaseDisplayProperties(param::hstring const& name) const; }; template <> struct consume { @@ -637,10 +634,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_IPurchaseResults { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::ProductPurchaseStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TransactionId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ReceiptXml() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OfferId() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto TransactionId() const; + [[nodiscard]] auto ReceiptXml() const; + [[nodiscard]] auto OfferId() const; }; template <> struct consume { @@ -649,9 +646,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_IUnfulfilledConsumable { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProductId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TransactionId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OfferId() const; + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto TransactionId() const; + [[nodiscard]] auto OfferId() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.1.h index 14ac67c6..2f956f5f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.2.h index 4cf45d5b..42f0dcab 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.0.h index d7dcd5fd..8760e9ca 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_LicenseManagement_0_H @@ -7,12 +7,10 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct HResult; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { @@ -96,8 +94,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AddLicenseAsync(winrt::Windows::Storage::Streams::IBuffer const& license) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetSatisfactionInfosAsync(param::async_iterable const& contentIds, param::async_iterable const& keyIds) const; + auto AddLicenseAsync(winrt::Windows::Storage::Streams::IBuffer const& license) const; + auto GetSatisfactionInfosAsync(param::async_iterable const& contentIds, param::async_iterable const& keyIds) const; }; template <> struct consume { @@ -106,7 +104,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RefreshLicensesAsync(winrt::Windows::ApplicationModel::Store::LicenseManagement::LicenseRefreshOption const& refreshOption) const; + auto RefreshLicensesAsync(winrt::Windows::ApplicationModel::Store::LicenseManagement::LicenseRefreshOption const& refreshOption) const; }; template <> struct consume { @@ -115,13 +113,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo { - [[nodiscard]] WINRT_IMPL_AUTO(bool) SatisfiedByDevice() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SatisfiedByOpenLicense() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SatisfiedByTrial() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SatisfiedByPass() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SatisfiedByInstallMedia() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SatisfiedBySignedInUser() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSatisfied() const; + [[nodiscard]] auto SatisfiedByDevice() const; + [[nodiscard]] auto SatisfiedByOpenLicense() const; + [[nodiscard]] auto SatisfiedByTrial() const; + [[nodiscard]] auto SatisfiedByPass() const; + [[nodiscard]] auto SatisfiedByInstallMedia() const; + [[nodiscard]] auto SatisfiedBySignedInUser() const; + [[nodiscard]] auto IsSatisfied() const; }; template <> struct consume { @@ -130,8 +128,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) LicenseSatisfactionInfos() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto LicenseSatisfactionInfos() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.1.h index 656f8a80..01797708 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_LicenseManagement_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.2.h index 65297357..4fcd0555 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_LicenseManagement_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.0.h index 7f75aa24..710d1fa6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.0.h @@ -1,31 +1,24 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_Preview_0_H #define WINRT_Windows_ApplicationModel_Store_Preview_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Web::Core { struct WebTokenRequest; - struct WebTokenRequestResult; } WINRT_EXPORT namespace winrt::Windows::Security::Credentials { struct WebAccount; } -WINRT_EXPORT namespace winrt::Windows::Storage::Streams -{ - struct IRandomAccessStreamReference; -} WINRT_EXPORT namespace winrt::Windows::System { struct User; @@ -329,8 +322,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettings { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::DeliveryOptimizationDownloadMode) DownloadMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::DeliveryOptimizationDownloadModeSource) DownloadModeSource() const; + [[nodiscard]] auto DownloadMode() const; + [[nodiscard]] auto DownloadModeSource() const; }; template <> struct consume { @@ -339,7 +332,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettingsStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::DeliveryOptimizationSettings) GetCurrentSettings() const; + auto GetCurrentSettings() const; }; template <> struct consume { @@ -348,12 +341,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics { - WINRT_IMPL_AUTO(void) SetSystemConfiguration(param::hstring const& catalogHardwareManufacturerId, param::hstring const& catalogStoreContentModifierId, winrt::Windows::Foundation::DateTime const& systemConfigurationExpiration, param::hstring const& catalogHardwareDescriptor) const; - WINRT_IMPL_AUTO(void) SetMobileOperatorConfiguration(param::hstring const& mobileOperatorId, uint32_t appDownloadLimitInMegabytes, uint32_t updateDownloadLimitInMegabytes) const; - WINRT_IMPL_AUTO(void) SetStoreWebAccountId(param::hstring const& webAccountId) const; - WINRT_IMPL_AUTO(bool) IsStoreWebAccountId(param::hstring const& webAccountId) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::StoreHardwareManufacturerInfo) HardwareManufacturerInfo() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FilterUnsupportedSystemFeaturesAsync(param::async_iterable const& systemFeatures) const; + auto SetSystemConfiguration(param::hstring const& catalogHardwareManufacturerId, param::hstring const& catalogStoreContentModifierId, winrt::Windows::Foundation::DateTime const& systemConfigurationExpiration, param::hstring const& catalogHardwareDescriptor) const; + auto SetMobileOperatorConfiguration(param::hstring const& mobileOperatorId, uint32_t appDownloadLimitInMegabytes, uint32_t updateDownloadLimitInMegabytes) const; + auto SetStoreWebAccountId(param::hstring const& webAccountId) const; + auto IsStoreWebAccountId(param::hstring const& webAccountId) const; + [[nodiscard]] auto HardwareManufacturerInfo() const; + auto FilterUnsupportedSystemFeaturesAsync(param::async_iterable const& systemFeatures) const; }; template <> struct consume { @@ -362,8 +355,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PurchasePromptingPolicy() const; - WINRT_IMPL_AUTO(void) PurchasePromptingPolicy(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto PurchasePromptingPolicy() const; + auto PurchasePromptingPolicy(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -372,13 +365,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3 { - WINRT_IMPL_AUTO(bool) HasStoreWebAccount() const; - WINRT_IMPL_AUTO(bool) HasStoreWebAccountForUser(winrt::Windows::System::User const& user) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetStoreLogDataAsync(winrt::Windows::ApplicationModel::Store::Preview::StoreLogOptions const& options) const; - WINRT_IMPL_AUTO(void) SetStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const; - WINRT_IMPL_AUTO(bool) IsStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) GetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user) const; - WINRT_IMPL_AUTO(void) SetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user, winrt::Windows::Foundation::IReference const& value) const; + auto HasStoreWebAccount() const; + auto HasStoreWebAccountForUser(winrt::Windows::System::User const& user) const; + auto GetStoreLogDataAsync(winrt::Windows::ApplicationModel::Store::Preview::StoreLogOptions const& options) const; + auto SetStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const; + auto IsStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const; + auto GetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user) const; + auto SetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user, winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -387,14 +380,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4 { - WINRT_IMPL_AUTO(hstring) GetStoreWebAccountId() const; - WINRT_IMPL_AUTO(hstring) GetStoreWebAccountIdForUser(winrt::Windows::System::User const& user) const; - WINRT_IMPL_AUTO(void) SetEnterpriseStoreWebAccountId(param::hstring const& webAccountId) const; - WINRT_IMPL_AUTO(void) SetEnterpriseStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const; - WINRT_IMPL_AUTO(hstring) GetEnterpriseStoreWebAccountId() const; - WINRT_IMPL_AUTO(hstring) GetEnterpriseStoreWebAccountIdForUser(winrt::Windows::System::User const& user) const; - WINRT_IMPL_AUTO(bool) ShouldRestrictToEnterpriseStoreOnly() const; - WINRT_IMPL_AUTO(bool) ShouldRestrictToEnterpriseStoreOnlyForUser(winrt::Windows::System::User const& user) const; + auto GetStoreWebAccountId() const; + auto GetStoreWebAccountIdForUser(winrt::Windows::System::User const& user) const; + auto SetEnterpriseStoreWebAccountId(param::hstring const& webAccountId) const; + auto SetEnterpriseStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const; + auto GetEnterpriseStoreWebAccountId() const; + auto GetEnterpriseStoreWebAccountIdForUser(winrt::Windows::System::User const& user) const; + auto ShouldRestrictToEnterpriseStoreOnly() const; + auto ShouldRestrictToEnterpriseStoreOnlyForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -403,11 +396,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5 { - WINRT_IMPL_AUTO(bool) IsPinToDesktopSupported() const; - WINRT_IMPL_AUTO(bool) IsPinToTaskbarSupported() const; - WINRT_IMPL_AUTO(bool) IsPinToStartSupported() const; - WINRT_IMPL_AUTO(void) PinToDesktop(param::hstring const& appPackageFamilyName) const; - WINRT_IMPL_AUTO(void) PinToDesktopForUser(winrt::Windows::System::User const& user, param::hstring const& appPackageFamilyName) const; + auto IsPinToDesktopSupported() const; + auto IsPinToTaskbarSupported() const; + auto IsPinToStartSupported() const; + auto PinToDesktop(param::hstring const& appPackageFamilyName) const; + auto PinToDesktopForUser(winrt::Windows::System::User const& user, param::hstring const& appPackageFamilyName) const; }; template <> struct consume { @@ -416,10 +409,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HardwareManufacturerId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StoreContentModifierId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ModelName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ManufacturerName() const; + [[nodiscard]] auto HardwareManufacturerId() const; + [[nodiscard]] auto StoreContentModifierId() const; + [[nodiscard]] auto ModelName() const; + [[nodiscard]] auto ManufacturerName() const; }; template <> struct consume { @@ -428,8 +421,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_IStorePreview { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestProductPurchaseByProductIdAndSkuIdAsync(param::hstring const& productId, param::hstring const& skuId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) LoadAddOnProductInfosAsync() const; + auto RequestProductPurchaseByProductIdAndSkuIdAsync(param::hstring const& productId, param::hstring const& skuId) const; + auto LoadAddOnProductInfosAsync() const; }; template <> struct consume { @@ -438,11 +431,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProductId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProductType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SkuInfoList() const; + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto ProductType() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto SkuInfoList() const; }; template <> struct consume { @@ -451,7 +444,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_IStorePreviewPurchaseResults { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::StorePreviewProductPurchaseStatus) ProductPurchaseStatus() const; + [[nodiscard]] auto ProductPurchaseStatus() const; }; template <> struct consume { @@ -460,15 +453,15 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProductId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SkuId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SkuType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CustomDeveloperData() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CurrencyCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FormattedListPrice() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExtendedData() const; + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto SkuId() const; + [[nodiscard]] auto SkuType() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto CustomDeveloperData() const; + [[nodiscard]] auto CurrencyCode() const; + [[nodiscard]] auto FormattedListPrice() const; + [[nodiscard]] auto ExtendedData() const; }; template <> struct consume { @@ -477,8 +470,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_IWebAuthenticationCoreManagerHelper { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestTokenWithUIElementHostingAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::UI::Xaml::UIElement const& uiElement) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestTokenWithUIElementHostingAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::UI::Xaml::UIElement const& uiElement) const; + auto RequestTokenWithUIElementHostingAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::UI::Xaml::UIElement const& uiElement) const; + auto RequestTokenWithUIElementHostingAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::UI::Xaml::UIElement const& uiElement) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.1.h index 98eacafb..487d2188 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_Preview_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.2.h index 4265a8ce..211ee0cd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_Preview_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.0.h index b9a4f1aa..3a2b9c9e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_Preview_InstallControl_0_H @@ -7,13 +7,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct HResult; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Management::Deployment { struct PackageVolume; @@ -445,22 +440,22 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProductId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PackageFamilyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallType) InstallType() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsUserInitiated() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallStatus) GetCurrentStatus() const; - WINRT_IMPL_AUTO(void) Cancel() const; - WINRT_IMPL_AUTO(void) Pause() const; - WINRT_IMPL_AUTO(void) Restart() const; - WINRT_IMPL_AUTO(winrt::event_token) Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto PackageFamilyName() const; + [[nodiscard]] auto InstallType() const; + [[nodiscard]] auto IsUserInitiated() const; + auto GetCurrentStatus() const; + auto Cancel() const; + auto Pause() const; + auto Restart() const; + auto Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Completed_revoker = impl::event_revoker::remove_Completed>; - [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Completed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Completed(winrt::event_token const& token) const noexcept; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; - [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -469,9 +464,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2 { - WINRT_IMPL_AUTO(void) Cancel(param::hstring const& correlationVector) const; - WINRT_IMPL_AUTO(void) Pause(param::hstring const& correlationVector) const; - WINRT_IMPL_AUTO(void) Restart(param::hstring const& correlationVector) const; + auto Cancel(param::hstring const& correlationVector) const; + auto Pause(param::hstring const& correlationVector) const; + auto Restart(param::hstring const& correlationVector) const; }; template <> struct consume { @@ -480,8 +475,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Children() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ItemOperationsMightAffectOtherItems() const; + [[nodiscard]] auto Children() const; + [[nodiscard]] auto ItemOperationsMightAffectOtherItems() const; }; template <> struct consume { @@ -490,8 +485,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem4 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) LaunchAfterInstall() const; - WINRT_IMPL_AUTO(void) LaunchAfterInstall(bool value) const; + [[nodiscard]] auto LaunchAfterInstall() const; + auto LaunchAfterInstall(bool value) const; }; template <> struct consume { @@ -500,16 +495,16 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) PinToDesktopAfterInstall() const; - WINRT_IMPL_AUTO(void) PinToDesktopAfterInstall(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PinToStartAfterInstall() const; - WINRT_IMPL_AUTO(void) PinToStartAfterInstall(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PinToTaskbarAfterInstall() const; - WINRT_IMPL_AUTO(void) PinToTaskbarAfterInstall(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode) CompletedInstallToastNotificationMode() const; - WINRT_IMPL_AUTO(void) CompletedInstallToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode) InstallInProgressToastNotificationMode() const; - WINRT_IMPL_AUTO(void) InstallInProgressToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const; + [[nodiscard]] auto PinToDesktopAfterInstall() const; + auto PinToDesktopAfterInstall(bool value) const; + [[nodiscard]] auto PinToStartAfterInstall() const; + auto PinToStartAfterInstall(bool value) const; + [[nodiscard]] auto PinToTaskbarAfterInstall() const; + auto PinToTaskbarAfterInstall(bool value) const; + [[nodiscard]] auto CompletedInstallToastNotificationMode() const; + auto CompletedInstallToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const; + [[nodiscard]] auto InstallInProgressToastNotificationMode() const; + auto InstallInProgressToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const; }; template <> struct consume { @@ -518,29 +513,29 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AppInstallItems() const; - WINRT_IMPL_AUTO(void) Cancel(param::hstring const& productId) const; - WINRT_IMPL_AUTO(void) Pause(param::hstring const& productId) const; - WINRT_IMPL_AUTO(void) Restart(param::hstring const& productId) const; - WINRT_IMPL_AUTO(winrt::event_token) ItemCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AppInstallItems() const; + auto Cancel(param::hstring const& productId) const; + auto Pause(param::hstring const& productId) const; + auto Restart(param::hstring const& productId) const; + auto ItemCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ItemCompleted_revoker = impl::event_revoker::remove_ItemCompleted>; - [[nodiscard]] ItemCompleted_revoker ItemCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ItemCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ItemStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ItemCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemCompleted(winrt::event_token const& token) const noexcept; + auto ItemStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ItemStatusChanged_revoker = impl::event_revoker::remove_ItemStatusChanged>; - [[nodiscard]] ItemStatusChanged_revoker ItemStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ItemStatusChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AutoUpdateSetting) AutoUpdateSetting() const; - WINRT_IMPL_AUTO(void) AutoUpdateSetting(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AutoUpdateSetting const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AcquisitionIdentity() const; - WINRT_IMPL_AUTO(void) AcquisitionIdentity(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIsApplicableAsync(param::hstring const& productId, param::hstring const& skuId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartAppInstallAsync(param::hstring const& productId, param::hstring const& skuId, bool repair, bool forceUseOfNonRemovableStorage) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UpdateAppByPackageFamilyNameAsync(param::hstring const& packageFamilyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) SearchForAllUpdatesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsStoreBlockedByPolicyAsync(param::hstring const& storeClientName, param::hstring const& storeClientPublisher) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIsAppAllowedToInstallAsync(param::hstring const& productId) const; + [[nodiscard]] auto ItemStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemStatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AutoUpdateSetting() const; + auto AutoUpdateSetting(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AutoUpdateSetting const& value) const; + [[nodiscard]] auto AcquisitionIdentity() const; + auto AcquisitionIdentity(param::hstring const& value) const; + auto GetIsApplicableAsync(param::hstring const& productId, param::hstring const& skuId) const; + auto StartAppInstallAsync(param::hstring const& productId, param::hstring const& skuId, bool repair, bool forceUseOfNonRemovableStorage) const; + auto UpdateAppByPackageFamilyNameAsync(param::hstring const& packageFamilyName) const; + auto SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId) const; + auto SearchForAllUpdatesAsync() const; + auto IsStoreBlockedByPolicyAsync(param::hstring const& storeClientName, param::hstring const& storeClientPublisher) const; + auto GetIsAppAllowedToInstallAsync(param::hstring const& productId) const; }; template <> struct consume { @@ -549,14 +544,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartAppInstallAsync(param::hstring const& productId, param::hstring const& skuId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& catalogId, param::hstring const& bundleId, param::hstring const& correlationVector) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UpdateAppByPackageFamilyNameAsync(param::hstring const& packageFamilyName, param::hstring const& correlationVector) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) SearchForAllUpdatesAsync(param::hstring const& correlationVector) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIsAppAllowedToInstallAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const; - WINRT_IMPL_AUTO(void) Cancel(param::hstring const& productId, param::hstring const& correlationVector) const; - WINRT_IMPL_AUTO(void) Pause(param::hstring const& productId, param::hstring const& correlationVector) const; - WINRT_IMPL_AUTO(void) Restart(param::hstring const& productId, param::hstring const& correlationVector) const; + auto StartAppInstallAsync(param::hstring const& productId, param::hstring const& skuId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& catalogId, param::hstring const& bundleId, param::hstring const& correlationVector) const; + auto UpdateAppByPackageFamilyNameAsync(param::hstring const& packageFamilyName, param::hstring const& correlationVector) const; + auto SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const; + auto SearchForAllUpdatesAsync(param::hstring const& correlationVector) const; + auto GetIsAppAllowedToInstallAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const; + auto Cancel(param::hstring const& productId, param::hstring const& correlationVector) const; + auto Pause(param::hstring const& productId, param::hstring const& correlationVector) const; + auto Restart(param::hstring const& productId, param::hstring const& correlationVector) const; }; template <> struct consume { @@ -565,14 +560,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) StartProductInstallAsync(param::hstring const& productId, param::hstring const& catalogId, param::hstring const& flightId, param::hstring const& clientId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& correlationVector, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) StartProductInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& catalogId, param::hstring const& flightId, param::hstring const& clientId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& correlationVector, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UpdateAppByPackageFamilyNameForUserAsync(winrt::Windows::System::User const& user, param::hstring const& packageFamilyName, param::hstring const& correlationVector) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SearchForUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) SearchForAllUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIsAppAllowedToInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIsApplicableForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId) const; - WINRT_IMPL_AUTO(void) MoveToFrontOfDownloadQueue(param::hstring const& productId, param::hstring const& correlationVector) const; + auto StartProductInstallAsync(param::hstring const& productId, param::hstring const& catalogId, param::hstring const& flightId, param::hstring const& clientId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& correlationVector, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; + auto StartProductInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& catalogId, param::hstring const& flightId, param::hstring const& clientId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& correlationVector, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; + auto UpdateAppByPackageFamilyNameForUserAsync(winrt::Windows::System::User const& user, param::hstring const& packageFamilyName, param::hstring const& correlationVector) const; + auto SearchForUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const; + auto SearchForAllUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector) const; + auto GetIsAppAllowedToInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const; + auto GetIsApplicableForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId) const; + auto MoveToFrontOfDownloadQueue(param::hstring const& productId, param::hstring const& correlationVector) const; }; template <> struct consume { @@ -581,9 +576,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFreeUserEntitlementAsync(param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFreeUserEntitlementForUserAsync(winrt::Windows::System::User const& user, param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFreeDeviceEntitlementAsync(param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const; + auto GetFreeUserEntitlementAsync(param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const; + auto GetFreeUserEntitlementForUserAsync(winrt::Windows::System::User const& user, param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const; + auto GetFreeDeviceEntitlementAsync(param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const; }; template <> struct consume { @@ -592,7 +587,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AppInstallItemsWithGroupSupport() const; + [[nodiscard]] auto AppInstallItemsWithGroupSupport() const; }; template <> struct consume { @@ -601,14 +596,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) SearchForAllUpdatesAsync(param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) SearchForAllUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SearchForUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) StartProductInstallAsync(param::hstring const& productId, param::hstring const& flightId, param::hstring const& clientId, param::hstring const& correlationVector, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallOptions const& installOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) StartProductInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& flightId, param::hstring const& clientId, param::hstring const& correlationVector, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallOptions const& installOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIsPackageIdentityAllowedToInstallAsync(param::hstring const& correlationVector, param::hstring const& packageIdentityName, param::hstring const& publisherCertificateName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIsPackageIdentityAllowedToInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector, param::hstring const& packageIdentityName, param::hstring const& publisherCertificateName) const; + auto SearchForAllUpdatesAsync(param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const; + auto SearchForAllUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const; + auto SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const; + auto SearchForUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const; + auto StartProductInstallAsync(param::hstring const& productId, param::hstring const& flightId, param::hstring const& clientId, param::hstring const& correlationVector, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallOptions const& installOptions) const; + auto StartProductInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& flightId, param::hstring const& clientId, param::hstring const& correlationVector, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallOptions const& installOptions) const; + auto GetIsPackageIdentityAllowedToInstallAsync(param::hstring const& correlationVector, param::hstring const& packageIdentityName, param::hstring const& publisherCertificateName) const; + auto GetIsPackageIdentityAllowedToInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector, param::hstring const& packageIdentityName, param::hstring const& publisherCertificateName) const; }; template <> struct consume { @@ -617,7 +612,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager7 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanInstallForAllUsers() const; + [[nodiscard]] auto CanInstallForAllUsers() const; }; template <> struct consume { @@ -626,7 +621,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManagerItemEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem) Item() const; + [[nodiscard]] auto Item() const; }; template <> struct consume { @@ -635,18 +630,18 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CatalogId() const; - WINRT_IMPL_AUTO(void) CatalogId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ForceUseOfNonRemovableStorage() const; - WINRT_IMPL_AUTO(void) ForceUseOfNonRemovableStorage(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowForcedAppRestart() const; - WINRT_IMPL_AUTO(void) AllowForcedAppRestart(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Repair() const; - WINRT_IMPL_AUTO(void) Repair(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) TargetVolume() const; - WINRT_IMPL_AUTO(void) TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) LaunchAfterInstall() const; - WINRT_IMPL_AUTO(void) LaunchAfterInstall(bool value) const; + [[nodiscard]] auto CatalogId() const; + auto CatalogId(param::hstring const& value) const; + [[nodiscard]] auto ForceUseOfNonRemovableStorage() const; + auto ForceUseOfNonRemovableStorage(bool value) const; + [[nodiscard]] auto AllowForcedAppRestart() const; + auto AllowForcedAppRestart(bool value) const; + [[nodiscard]] auto Repair() const; + auto Repair(bool value) const; + [[nodiscard]] auto TargetVolume() const; + auto TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const; + [[nodiscard]] auto LaunchAfterInstall() const; + auto LaunchAfterInstall(bool value) const; }; template <> struct consume { @@ -655,24 +650,24 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) PinToDesktopAfterInstall() const; - WINRT_IMPL_AUTO(void) PinToDesktopAfterInstall(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PinToStartAfterInstall() const; - WINRT_IMPL_AUTO(void) PinToStartAfterInstall(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PinToTaskbarAfterInstall() const; - WINRT_IMPL_AUTO(void) PinToTaskbarAfterInstall(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode) CompletedInstallToastNotificationMode() const; - WINRT_IMPL_AUTO(void) CompletedInstallToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode) InstallInProgressToastNotificationMode() const; - WINRT_IMPL_AUTO(void) InstallInProgressToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) InstallForAllUsers() const; - WINRT_IMPL_AUTO(void) InstallForAllUsers(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) StageButDoNotInstall() const; - WINRT_IMPL_AUTO(void) StageButDoNotInstall(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CampaignId() const; - WINRT_IMPL_AUTO(void) CampaignId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExtendedCampaignId() const; - WINRT_IMPL_AUTO(void) ExtendedCampaignId(param::hstring const& value) const; + [[nodiscard]] auto PinToDesktopAfterInstall() const; + auto PinToDesktopAfterInstall(bool value) const; + [[nodiscard]] auto PinToStartAfterInstall() const; + auto PinToStartAfterInstall(bool value) const; + [[nodiscard]] auto PinToTaskbarAfterInstall() const; + auto PinToTaskbarAfterInstall(bool value) const; + [[nodiscard]] auto CompletedInstallToastNotificationMode() const; + auto CompletedInstallToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const; + [[nodiscard]] auto InstallInProgressToastNotificationMode() const; + auto InstallInProgressToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const; + [[nodiscard]] auto InstallForAllUsers() const; + auto InstallForAllUsers(bool value) const; + [[nodiscard]] auto StageButDoNotInstall() const; + auto StageButDoNotInstall(bool value) const; + [[nodiscard]] auto CampaignId() const; + auto CampaignId(param::hstring const& value) const; + [[nodiscard]] auto ExtendedCampaignId() const; + auto ExtendedCampaignId(param::hstring const& value) const; }; template <> struct consume { @@ -681,11 +676,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallState) InstallState() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) DownloadSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) BytesDownloaded() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) PercentComplete() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ErrorCode() const; + [[nodiscard]] auto InstallState() const; + [[nodiscard]] auto DownloadSizeInBytes() const; + [[nodiscard]] auto BytesDownloaded() const; + [[nodiscard]] auto PercentComplete() const; + [[nodiscard]] auto ErrorCode() const; }; template <> struct consume { @@ -694,8 +689,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ReadyForLaunch() const; + [[nodiscard]] auto User() const; + [[nodiscard]] auto ReadyForLaunch() const; }; template <> struct consume { @@ -704,7 +699,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStaged() const; + [[nodiscard]] auto IsStaged() const; }; template <> struct consume { @@ -713,10 +708,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CatalogId() const; - WINRT_IMPL_AUTO(void) CatalogId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowForcedAppRestart() const; - WINRT_IMPL_AUTO(void) AllowForcedAppRestart(bool value) const; + [[nodiscard]] auto CatalogId() const; + auto CatalogId(param::hstring const& value) const; + [[nodiscard]] auto AllowForcedAppRestart() const; + auto AllowForcedAppRestart(bool value) const; }; template <> struct consume { @@ -725,8 +720,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutomaticallyDownloadAndInstallUpdateIfFound() const; - WINRT_IMPL_AUTO(void) AutomaticallyDownloadAndInstallUpdateIfFound(bool value) const; + [[nodiscard]] auto AutomaticallyDownloadAndInstallUpdateIfFound() const; + auto AutomaticallyDownloadAndInstallUpdateIfFound(bool value) const; }; template <> struct consume { @@ -735,7 +730,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IGetEntitlementResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.1.h index 294156d5..36cbfdf7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_Preview_InstallControl_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.2.h index 39924351..8aa075df 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_Preview_InstallControl_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.0.h index 8ce5baf0..46176aa8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserActivities_0_H @@ -8,15 +8,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct Deferral; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Security::Credentials { @@ -371,21 +368,21 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivity { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ActivityId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityVisualElements) VisualElements() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ContentUri() const; - WINRT_IMPL_AUTO(void) ContentUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentType() const; - WINRT_IMPL_AUTO(void) ContentType(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) FallbackUri() const; - WINRT_IMPL_AUTO(void) FallbackUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ActivationUri() const; - WINRT_IMPL_AUTO(void) ActivationUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo) ContentInfo() const; - WINRT_IMPL_AUTO(void) ContentInfo(winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivitySession) CreateSession() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto ActivityId() const; + [[nodiscard]] auto VisualElements() const; + [[nodiscard]] auto ContentUri() const; + auto ContentUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ContentType() const; + auto ContentType(param::hstring const& value) const; + [[nodiscard]] auto FallbackUri() const; + auto FallbackUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ActivationUri() const; + auto ActivationUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ContentInfo() const; + auto ContentInfo(winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo const& value) const; + auto SaveAsync() const; + auto CreateSession() const; }; template <> struct consume { @@ -394,7 +391,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivity2 { - WINRT_IMPL_AUTO(hstring) ToJson() const; + auto ToJson() const; }; template <> struct consume { @@ -403,8 +400,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivity3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRoamable() const; - WINRT_IMPL_AUTO(void) IsRoamable(bool value) const; + [[nodiscard]] auto IsRoamable() const; + auto IsRoamable(bool value) const; }; template <> struct consume { @@ -413,12 +410,12 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) IconUri() const; - WINRT_IMPL_AUTO(void) IconUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlternateText() const; - WINRT_IMPL_AUTO(void) AlternateText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AddImageQuery() const; - WINRT_IMPL_AUTO(void) AddImageQuery(bool value) const; + [[nodiscard]] auto IconUri() const; + auto IconUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto AlternateText() const; + auto AlternateText(param::hstring const& value) const; + [[nodiscard]] auto AddImageQuery() const; + auto AddImageQuery(bool value) const; }; template <> struct consume { @@ -427,7 +424,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityAttributionFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution) CreateWithUri(winrt::Windows::Foundation::Uri const& iconUri) const; + auto CreateWithUri(winrt::Windows::Foundation::Uri const& iconUri) const; }; template <> struct consume { @@ -436,9 +433,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetOrCreateUserActivityAsync(param::hstring const& activityId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteActivityAsync(param::hstring const& activityId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAllActivitiesAsync() const; + auto GetOrCreateUserActivityAsync(param::hstring const& activityId) const; + auto DeleteActivityAsync(param::hstring const& activityId) const; + auto DeleteAllActivitiesAsync() const; }; template <> struct consume { @@ -447,8 +444,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetRecentUserActivitiesAsync(int32_t maxUniqueActivities) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetSessionHistoryItemsForUserActivityAsync(param::hstring const& activityId, winrt::Windows::Foundation::DateTime const& startTime) const; + auto GetRecentUserActivitiesAsync(int32_t maxUniqueActivities) const; + auto GetSessionHistoryItemsForUserActivityAsync(param::hstring const& activityId, winrt::Windows::Foundation::DateTime const& startTime) const; }; template <> struct consume { @@ -457,7 +454,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -466,8 +463,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics2 { - WINRT_IMPL_AUTO(void) DisableAutoSessionCreation() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel) TryGetForWebAccount(winrt::Windows::Security::Credentials::WebAccount const& account) const; + auto DisableAutoSessionCreation() const; + auto TryGetForWebAccount(winrt::Windows::Security::Credentials::WebAccount const& account) const; }; template <> struct consume { @@ -476,7 +473,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel) GetForUser(winrt::Windows::System::User const& user) const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -485,7 +482,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityContentInfo { - WINRT_IMPL_AUTO(hstring) ToJson() const; + auto ToJson() const; }; template <> struct consume { @@ -494,7 +491,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityContentInfoStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityContentInfo) FromJson(param::hstring const& value) const; + auto FromJson(param::hstring const& value) const; }; template <> struct consume { @@ -503,7 +500,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivity) CreateWithActivityId(param::hstring const& activityId) const; + auto CreateWithActivityId(param::hstring const& activityId) const; }; template <> struct consume { @@ -512,7 +509,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityRequest { - WINRT_IMPL_AUTO(void) SetUserActivity(winrt::Windows::ApplicationModel::UserActivities::UserActivity const& activity) const; + auto SetUserActivity(winrt::Windows::ApplicationModel::UserActivities::UserActivity const& activity) const; }; template <> struct consume { @@ -521,10 +518,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager { - WINRT_IMPL_AUTO(winrt::event_token) UserActivityRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UserActivityRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UserActivityRequested_revoker = impl::event_revoker::remove_UserActivityRequested>; - [[nodiscard]] UserActivityRequested_revoker UserActivityRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UserActivityRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto UserActivityRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UserActivityRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -533,7 +530,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestManager) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -542,8 +539,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -552,7 +549,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivitySession { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ActivityId() const; + [[nodiscard]] auto ActivityId() const; }; template <> struct consume { @@ -561,9 +558,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivitySessionHistoryItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivity) UserActivity() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) StartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) EndTime() const; + [[nodiscard]] auto UserActivity() const; + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto EndTime() const; }; template <> struct consume { @@ -572,9 +569,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivity) TryParseFromJson(param::hstring const& json) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) TryParseFromJsonArray(param::hstring const& json) const; - WINRT_IMPL_AUTO(hstring) ToJsonArray(param::iterable const& activities) const; + auto TryParseFromJson(param::hstring const& json) const; + auto TryParseFromJsonArray(param::hstring const& json) const; + auto ToJsonArray(param::iterable const& activities) const; }; template <> struct consume { @@ -583,16 +580,16 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayText() const; - WINRT_IMPL_AUTO(void) DisplayText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) BackgroundColor() const; - WINRT_IMPL_AUTO(void) BackgroundColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution) Attribution() const; - WINRT_IMPL_AUTO(void) Attribution(winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution const& value) const; - WINRT_IMPL_AUTO(void) Content(winrt::Windows::UI::Shell::IAdaptiveCard const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Shell::IAdaptiveCard) Content() const; + [[nodiscard]] auto DisplayText() const; + auto DisplayText(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto BackgroundColor() const; + auto BackgroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Attribution() const; + auto Attribution(winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution const& value) const; + auto Content(winrt::Windows::UI::Shell::IAdaptiveCard const& value) const; + [[nodiscard]] auto Content() const; }; template <> struct consume { @@ -601,8 +598,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AttributionDisplayText() const; - WINRT_IMPL_AUTO(void) AttributionDisplayText(param::hstring const& value) const; + [[nodiscard]] auto AttributionDisplayText() const; + auto AttributionDisplayText(param::hstring const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.1.h index f9c333fa..ec586f29 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserActivities_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.2.h index 16251307..f9dd6c5f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserActivities_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.0.h index 283d2b23..0e67554e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserActivities_Core_0_H @@ -36,8 +36,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserActivities_Core_ICoreUserActivityManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivitySession) CreateUserActivitySessionInBackground(winrt::Windows::ApplicationModel::UserActivities::UserActivity const& activity) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteUserActivitySessionsInTimeRangeAsync(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel const& channel, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime) const; + auto CreateUserActivitySessionInBackground(winrt::Windows::ApplicationModel::UserActivities::UserActivity const& activity) const; + auto DeleteUserActivitySessionsInTimeRangeAsync(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel const& channel, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.1.h index 341c8938..bed9749d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserActivities_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.2.h index e168a5d1..6815795c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserActivities_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.0.h index e0c5c272..ec3633f1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.0.h @@ -1,39 +1,18 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_0_H #define WINRT_Windows_ApplicationModel_UserDataAccounts_0_H -WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Appointments -{ - struct AppointmentCalendar; -} -WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Contacts -{ - struct ContactAnnotationList; - struct ContactGroup; - struct ContactList; -} -WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Email -{ - struct EmailMailbox; -} -WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataTasks -{ - struct UserDataTaskList; -} WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { struct IPropertySet; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { @@ -245,20 +224,20 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserDisplayName() const; - WINRT_IMPL_AUTO(void) UserDisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountOtherAppReadAccess) OtherAppReadAccess() const; - WINRT_IMPL_AUTO(void) OtherAppReadAccess(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountOtherAppReadAccess const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Icon() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceAccountTypeId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PackageFamilyName() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAppointmentCalendarsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindEmailMailboxesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindContactListsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindContactAnnotationListsAsync() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto UserDisplayName() const; + auto UserDisplayName(param::hstring const& value) const; + [[nodiscard]] auto OtherAppReadAccess() const; + auto OtherAppReadAccess(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountOtherAppReadAccess const& value) const; + [[nodiscard]] auto Icon() const; + [[nodiscard]] auto DeviceAccountTypeId() const; + [[nodiscard]] auto PackageFamilyName() const; + auto SaveAsync() const; + auto DeleteAsync() const; + auto FindAppointmentCalendarsAsync() const; + auto FindEmailMailboxesAsync() const; + auto FindContactListsAsync() const; + auto FindContactAnnotationListsAsync() const; }; template <> struct consume { @@ -267,8 +246,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EnterpriseId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsProtectedUnderLock() const; + [[nodiscard]] auto EnterpriseId() const; + [[nodiscard]] auto IsProtectedUnderLock() const; }; template <> struct consume { @@ -277,9 +256,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ExplictReadAccessPackageFamilyNames() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; + [[nodiscard]] auto ExplictReadAccessPackageFamilyNames() const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; }; template <> struct consume { @@ -288,14 +267,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanShowCreateContactGroup() const; - WINRT_IMPL_AUTO(void) CanShowCreateContactGroup(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) ProviderProperties() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindUserDataTaskListsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindContactGroupsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryShowCreateContactGroupAsync() const; - WINRT_IMPL_AUTO(void) IsProtectedUnderLock(bool value) const; - WINRT_IMPL_AUTO(void) Icon(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto CanShowCreateContactGroup() const; + auto CanShowCreateContactGroup(bool value) const; + [[nodiscard]] auto ProviderProperties() const; + auto FindUserDataTaskListsAsync() const; + auto FindContactGroupsAsync() const; + auto TryShowCreateContactGroupAsync() const; + auto IsProtectedUnderLock(bool value) const; + auto Icon(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; }; template <> struct consume { @@ -304,8 +283,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerForUser { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType const& storeAccessType) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + auto RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType const& storeAccessType) const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -314,10 +293,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType const& storeAccessType) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowAddAccountAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountContentKinds const& contentKinds) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowAccountSettingsAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowAccountErrorResolverAsync(param::hstring const& id) const; + auto RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType const& storeAccessType) const; + auto ShowAddAccountAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountContentKinds const& contentKinds) const; + auto ShowAccountSettingsAsync(param::hstring const& id) const; + auto ShowAccountErrorResolverAsync(param::hstring const& id) const; }; template <> struct consume { @@ -326,7 +305,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountManagerForUser) GetForUser(winrt::Windows::System::User const& user) const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -335,9 +314,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAccountsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAccountAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAccountAsync(param::hstring const& userDisplayName) const; + auto FindAccountsAsync() const; + auto GetAccountAsync(param::hstring const& id) const; + auto CreateAccountAsync(param::hstring const& userDisplayName) const; }; template <> struct consume { @@ -346,11 +325,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAccountAsync(param::hstring const& userDisplayName, param::hstring const& packageRelativeAppId) const; - WINRT_IMPL_AUTO(winrt::event_token) StoreChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CreateAccountAsync(param::hstring const& userDisplayName, param::hstring const& packageRelativeAppId) const; + auto StoreChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StoreChanged_revoker = impl::event_revoker::remove_StoreChanged>; - [[nodiscard]] StoreChanged_revoker StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StoreChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StoreChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -359,7 +338,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAccountAsync(param::hstring const& userDisplayName, param::hstring const& packageRelativeAppId, param::hstring const& enterpriseId) const; + auto CreateAccountAsync(param::hstring const& userDisplayName, param::hstring const& packageRelativeAppId, param::hstring const& enterpriseId) const; }; template <> struct consume { @@ -368,7 +347,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStoreChangedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.1.h index f7a14f7d..1e8747c7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.2.h index 9009dbdb..66ad8346 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.0.h index 689c9334..06519583 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_Provider_0_H @@ -7,10 +7,6 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataAccounts { enum class UserDataAccountContentKinds : uint32_t; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::ApplicationModel::UserDataAccounts::Provider { enum class UserDataAccountProviderOperationKind : int32_t @@ -111,9 +107,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountPartnerAccountInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Priority() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::UserDataAccountProviderPartnerAccountKind) AccountKind() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Priority() const; + [[nodiscard]] auto AccountKind() const; }; template <> struct consume { @@ -122,9 +118,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderAddAccountOperation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountContentKinds) ContentKinds() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PartnerAccountInfos() const; - WINRT_IMPL_AUTO(void) ReportCompleted(param::hstring const& userDataAccountId) const; + [[nodiscard]] auto ContentKinds() const; + [[nodiscard]] auto PartnerAccountInfos() const; + auto ReportCompleted(param::hstring const& userDataAccountId) const; }; template <> struct consume { @@ -133,7 +129,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderOperation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::UserDataAccountProviderOperationKind) Kind() const; + [[nodiscard]] auto Kind() const; }; template <> struct consume { @@ -142,8 +138,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderResolveErrorsOperation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserDataAccountId() const; - WINRT_IMPL_AUTO(void) ReportCompleted() const; + [[nodiscard]] auto UserDataAccountId() const; + auto ReportCompleted() const; }; template <> struct consume { @@ -152,8 +148,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderSettingsOperation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserDataAccountId() const; - WINRT_IMPL_AUTO(void) ReportCompleted() const; + [[nodiscard]] auto UserDataAccountId() const; + auto ReportCompleted() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.1.h index d07ac462..69161725 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.2.h index 9c97ef89..ae362e9b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_Provider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.0.h index fa312eb8..6101d9ef 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_SystemAccess_0_H @@ -6,13 +6,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Security::Credentials { @@ -215,38 +213,38 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AccountName() const; - WINRT_IMPL_AUTO(void) AccountName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceAccountTypeId() const; - WINRT_IMPL_AUTO(void) DeviceAccountTypeId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountServerType) ServerType() const; - WINRT_IMPL_AUTO(void) ServerType(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountServerType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailAddress() const; - WINRT_IMPL_AUTO(void) EmailAddress(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Domain() const; - WINRT_IMPL_AUTO(void) Domain(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) EmailSyncEnabled() const; - WINRT_IMPL_AUTO(void) EmailSyncEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ContactsSyncEnabled() const; - WINRT_IMPL_AUTO(void) ContactsSyncEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CalendarSyncEnabled() const; - WINRT_IMPL_AUTO(void) CalendarSyncEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IncomingServerAddress() const; - WINRT_IMPL_AUTO(void) IncomingServerAddress(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) IncomingServerPort() const; - WINRT_IMPL_AUTO(void) IncomingServerPort(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IncomingServerRequiresSsl() const; - WINRT_IMPL_AUTO(void) IncomingServerRequiresSsl(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IncomingServerUsername() const; - WINRT_IMPL_AUTO(void) IncomingServerUsername(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OutgoingServerAddress() const; - WINRT_IMPL_AUTO(void) OutgoingServerAddress(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) OutgoingServerPort() const; - WINRT_IMPL_AUTO(void) OutgoingServerPort(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) OutgoingServerRequiresSsl() const; - WINRT_IMPL_AUTO(void) OutgoingServerRequiresSsl(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OutgoingServerUsername() const; - WINRT_IMPL_AUTO(void) OutgoingServerUsername(param::hstring const& value) const; + [[nodiscard]] auto AccountName() const; + auto AccountName(param::hstring const& value) const; + [[nodiscard]] auto DeviceAccountTypeId() const; + auto DeviceAccountTypeId(param::hstring const& value) const; + [[nodiscard]] auto ServerType() const; + auto ServerType(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountServerType const& value) const; + [[nodiscard]] auto EmailAddress() const; + auto EmailAddress(param::hstring const& value) const; + [[nodiscard]] auto Domain() const; + auto Domain(param::hstring const& value) const; + [[nodiscard]] auto EmailSyncEnabled() const; + auto EmailSyncEnabled(bool value) const; + [[nodiscard]] auto ContactsSyncEnabled() const; + auto ContactsSyncEnabled(bool value) const; + [[nodiscard]] auto CalendarSyncEnabled() const; + auto CalendarSyncEnabled(bool value) const; + [[nodiscard]] auto IncomingServerAddress() const; + auto IncomingServerAddress(param::hstring const& value) const; + [[nodiscard]] auto IncomingServerPort() const; + auto IncomingServerPort(int32_t value) const; + [[nodiscard]] auto IncomingServerRequiresSsl() const; + auto IncomingServerRequiresSsl(bool value) const; + [[nodiscard]] auto IncomingServerUsername() const; + auto IncomingServerUsername(param::hstring const& value) const; + [[nodiscard]] auto OutgoingServerAddress() const; + auto OutgoingServerAddress(param::hstring const& value) const; + [[nodiscard]] auto OutgoingServerPort() const; + auto OutgoingServerPort(int32_t value) const; + [[nodiscard]] auto OutgoingServerRequiresSsl() const; + auto OutgoingServerRequiresSsl(bool value) const; + [[nodiscard]] auto OutgoingServerUsername() const; + auto OutgoingServerUsername(param::hstring const& value) const; }; template <> struct consume { @@ -255,62 +253,62 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) IncomingServerCredential() const; - WINRT_IMPL_AUTO(void) IncomingServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) OutgoingServerCredential() const; - WINRT_IMPL_AUTO(void) OutgoingServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OAuthRefreshToken() const; - WINRT_IMPL_AUTO(void) OAuthRefreshToken(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsExternallyManaged() const; - WINRT_IMPL_AUTO(void) IsExternallyManaged(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountIconId) AccountIconId() const; - WINRT_IMPL_AUTO(void) AccountIconId(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountIconId const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountAuthenticationType) AuthenticationType() const; - WINRT_IMPL_AUTO(void) AuthenticationType(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountAuthenticationType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSsoAuthenticationSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SsoAccountId() const; - WINRT_IMPL_AUTO(void) SsoAccountId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AlwaysDownloadFullMessage() const; - WINRT_IMPL_AUTO(void) AlwaysDownloadFullMessage(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DoesPolicyAllowMailSync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind) SyncScheduleKind() const; - WINRT_IMPL_AUTO(void) SyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountMailAgeFilter) MailAgeFilter() const; - WINRT_IMPL_AUTO(void) MailAgeFilter(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountMailAgeFilter const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsClientAuthenticationCertificateRequired() const; - WINRT_IMPL_AUTO(void) IsClientAuthenticationCertificateRequired(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoSelectAuthenticationCertificate() const; - WINRT_IMPL_AUTO(void) AutoSelectAuthenticationCertificate(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AuthenticationCertificateId() const; - WINRT_IMPL_AUTO(void) AuthenticationCertificateId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind) CardDavSyncScheduleKind() const; - WINRT_IMPL_AUTO(void) CardDavSyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind) CalDavSyncScheduleKind() const; - WINRT_IMPL_AUTO(void) CalDavSyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) CardDavServerUrl() const; - WINRT_IMPL_AUTO(void) CardDavServerUrl(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CardDavRequiresSsl() const; - WINRT_IMPL_AUTO(void) CardDavRequiresSsl(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) CalDavServerUrl() const; - WINRT_IMPL_AUTO(void) CalDavServerUrl(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CalDavRequiresSsl() const; - WINRT_IMPL_AUTO(void) CalDavRequiresSsl(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) WasModifiedByUser() const; - WINRT_IMPL_AUTO(void) WasModifiedByUser(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) WasIncomingServerCertificateHashConfirmed() const; - WINRT_IMPL_AUTO(void) WasIncomingServerCertificateHashConfirmed(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IncomingServerCertificateHash() const; - WINRT_IMPL_AUTO(void) IncomingServerCertificateHash(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOutgoingServerAuthenticationRequired() const; - WINRT_IMPL_AUTO(void) IsOutgoingServerAuthenticationRequired(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOutgoingServerAuthenticationEnabled() const; - WINRT_IMPL_AUTO(void) IsOutgoingServerAuthenticationEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) WasOutgoingServerCertificateHashConfirmed() const; - WINRT_IMPL_AUTO(void) WasOutgoingServerCertificateHashConfirmed(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OutgoingServerCertificateHash() const; - WINRT_IMPL_AUTO(void) OutgoingServerCertificateHash(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSyncScheduleManagedBySystem() const; - WINRT_IMPL_AUTO(void) IsSyncScheduleManagedBySystem(bool value) const; + [[nodiscard]] auto IncomingServerCredential() const; + auto IncomingServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + [[nodiscard]] auto OutgoingServerCredential() const; + auto OutgoingServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + [[nodiscard]] auto OAuthRefreshToken() const; + auto OAuthRefreshToken(param::hstring const& value) const; + [[nodiscard]] auto IsExternallyManaged() const; + auto IsExternallyManaged(bool value) const; + [[nodiscard]] auto AccountIconId() const; + auto AccountIconId(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountIconId const& value) const; + [[nodiscard]] auto AuthenticationType() const; + auto AuthenticationType(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountAuthenticationType const& value) const; + [[nodiscard]] auto IsSsoAuthenticationSupported() const; + [[nodiscard]] auto SsoAccountId() const; + auto SsoAccountId(param::hstring const& value) const; + [[nodiscard]] auto AlwaysDownloadFullMessage() const; + auto AlwaysDownloadFullMessage(bool value) const; + [[nodiscard]] auto DoesPolicyAllowMailSync() const; + [[nodiscard]] auto SyncScheduleKind() const; + auto SyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const; + [[nodiscard]] auto MailAgeFilter() const; + auto MailAgeFilter(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountMailAgeFilter const& value) const; + [[nodiscard]] auto IsClientAuthenticationCertificateRequired() const; + auto IsClientAuthenticationCertificateRequired(bool value) const; + [[nodiscard]] auto AutoSelectAuthenticationCertificate() const; + auto AutoSelectAuthenticationCertificate(bool value) const; + [[nodiscard]] auto AuthenticationCertificateId() const; + auto AuthenticationCertificateId(param::hstring const& value) const; + [[nodiscard]] auto CardDavSyncScheduleKind() const; + auto CardDavSyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const; + [[nodiscard]] auto CalDavSyncScheduleKind() const; + auto CalDavSyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const; + [[nodiscard]] auto CardDavServerUrl() const; + auto CardDavServerUrl(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto CardDavRequiresSsl() const; + auto CardDavRequiresSsl(bool value) const; + [[nodiscard]] auto CalDavServerUrl() const; + auto CalDavServerUrl(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto CalDavRequiresSsl() const; + auto CalDavRequiresSsl(bool value) const; + [[nodiscard]] auto WasModifiedByUser() const; + auto WasModifiedByUser(bool value) const; + [[nodiscard]] auto WasIncomingServerCertificateHashConfirmed() const; + auto WasIncomingServerCertificateHashConfirmed(bool value) const; + [[nodiscard]] auto IncomingServerCertificateHash() const; + auto IncomingServerCertificateHash(param::hstring const& value) const; + [[nodiscard]] auto IsOutgoingServerAuthenticationRequired() const; + auto IsOutgoingServerAuthenticationRequired(bool value) const; + [[nodiscard]] auto IsOutgoingServerAuthenticationEnabled() const; + auto IsOutgoingServerAuthenticationEnabled(bool value) const; + [[nodiscard]] auto WasOutgoingServerCertificateHashConfirmed() const; + auto WasOutgoingServerCertificateHashConfirmed(bool value) const; + [[nodiscard]] auto OutgoingServerCertificateHash() const; + auto OutgoingServerCertificateHash(param::hstring const& value) const; + [[nodiscard]] auto IsSyncScheduleManagedBySystem() const; + auto IsSyncScheduleManagedBySystem(bool value) const; }; template <> struct consume { @@ -319,7 +317,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) AddAndShowDeviceAccountsAsync(param::async_iterable const& accounts) const; + auto AddAndShowDeviceAccountsAsync(param::async_iterable const& accounts) const; }; template <> struct consume { @@ -328,10 +326,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SuppressLocalAccountWithAccountAsync(param::hstring const& userDataAccountId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateDeviceAccountAsync(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountConfiguration const& account) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteDeviceAccountAsync(param::hstring const& accountId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDeviceAccountConfigurationAsync(param::hstring const& accountId) const; + auto SuppressLocalAccountWithAccountAsync(param::hstring const& userDataAccountId) const; + auto CreateDeviceAccountAsync(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountConfiguration const& account) const; + auto DeleteDeviceAccountAsync(param::hstring const& accountId) const; + auto GetDeviceAccountConfigurationAsync(param::hstring const& accountId) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.1.h index dc53a104..d5080acb 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_SystemAccess_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.2.h index 99adfda9..72b0a35c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataAccounts_SystemAccess_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.0.h index 6719adab..cf695250 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataTasks_0_H @@ -7,14 +7,9 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::System { struct User; @@ -408,33 +403,33 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ListId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const; - WINRT_IMPL_AUTO(void) RemoteId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) CompletedDate() const; - WINRT_IMPL_AUTO(void) CompletedDate(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Details() const; - WINRT_IMPL_AUTO(void) Details(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind) DetailsKind() const; - WINRT_IMPL_AUTO(void) DetailsKind(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DueDate() const; - WINRT_IMPL_AUTO(void) DueDate(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority) Priority() const; - WINRT_IMPL_AUTO(void) Priority(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceProperties) RecurrenceProperties() const; - WINRT_IMPL_AUTO(void) RecurrenceProperties(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceProperties const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationProperties) RegenerationProperties() const; - WINRT_IMPL_AUTO(void) RegenerationProperties(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationProperties const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Reminder() const; - WINRT_IMPL_AUTO(void) Reminder(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity) Sensitivity() const; - WINRT_IMPL_AUTO(void) Sensitivity(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - WINRT_IMPL_AUTO(void) Subject(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) StartDate() const; - WINRT_IMPL_AUTO(void) StartDate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto ListId() const; + [[nodiscard]] auto RemoteId() const; + auto RemoteId(param::hstring const& value) const; + [[nodiscard]] auto CompletedDate() const; + auto CompletedDate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Details() const; + auto Details(param::hstring const& value) const; + [[nodiscard]] auto DetailsKind() const; + auto DetailsKind(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind const& value) const; + [[nodiscard]] auto DueDate() const; + auto DueDate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Priority() const; + auto Priority(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority const& value) const; + [[nodiscard]] auto RecurrenceProperties() const; + auto RecurrenceProperties(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceProperties const& value) const; + [[nodiscard]] auto RegenerationProperties() const; + auto RegenerationProperties(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationProperties const& value) const; + [[nodiscard]] auto Reminder() const; + auto Reminder(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Sensitivity() const; + auto Sensitivity(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity const& value) const; + [[nodiscard]] auto Subject() const; + auto Subject(param::hstring const& value) const; + [[nodiscard]] auto StartDate() const; + auto StartDate(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -443,7 +438,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskBatch { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Tasks() const; + [[nodiscard]] auto Tasks() const; }; template <> struct consume { @@ -452,25 +447,25 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserDataAccountId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SourceDisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess) OtherAppReadAccess() const; - WINRT_IMPL_AUTO(void) OtherAppReadAccess(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess) OtherAppWriteAccess() const; - WINRT_IMPL_AUTO(void) OtherAppWriteAccess(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListLimitedWriteOperations) LimitedWriteOperations() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncManager) SyncManager() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RegisterSyncManagerAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskReader) GetTaskReader() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskReader) GetTaskReader(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetTaskAsync(param::hstring const& userDataTask) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveTaskAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& userDataTask) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteTaskAsync(param::hstring const& userDataTaskId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAsync() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto UserDataAccountId() const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto SourceDisplayName() const; + [[nodiscard]] auto OtherAppReadAccess() const; + auto OtherAppReadAccess(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess const& value) const; + [[nodiscard]] auto OtherAppWriteAccess() const; + auto OtherAppWriteAccess(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess const& value) const; + [[nodiscard]] auto LimitedWriteOperations() const; + [[nodiscard]] auto SyncManager() const; + auto RegisterSyncManagerAsync() const; + auto GetTaskReader() const; + auto GetTaskReader(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryOptions const& options) const; + auto GetTaskAsync(param::hstring const& userDataTask) const; + auto SaveTaskAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& userDataTask) const; + auto DeleteTaskAsync(param::hstring const& userDataTaskId) const; + auto DeleteAsync() const; + auto SaveAsync() const; }; template <> struct consume { @@ -479,10 +474,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryCompleteTaskAsync(param::hstring const& userDataTaskId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryCreateOrUpdateTaskAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& userDataTask) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryDeleteTaskAsync(param::hstring const& userDataTaskId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySkipOccurrenceAsync(param::hstring const& userDataTaskId) const; + auto TryCompleteTaskAsync(param::hstring const& userDataTaskId) const; + auto TryCreateOrUpdateTaskAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& userDataTask) const; + auto TryDeleteTaskAsync(param::hstring const& userDataTaskId) const; + auto TrySkipOccurrenceAsync(param::hstring const& userDataTaskId) const; }; template <> struct consume { @@ -491,17 +486,17 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastAttemptedSyncTime() const; - WINRT_IMPL_AUTO(void) LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastSuccessfulSyncTime() const; - WINRT_IMPL_AUTO(void) LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus) Status() const; - WINRT_IMPL_AUTO(void) Status(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SyncAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto LastAttemptedSyncTime() const; + auto LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto LastSuccessfulSyncTime() const; + auto LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto Status() const; + auto Status(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus const& value) const; + auto SyncAsync() const; + auto SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SyncStatusChanged_revoker = impl::event_revoker::remove_SyncStatusChanged>; - [[nodiscard]] SyncStatusChanged_revoker SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SyncStatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SyncStatusChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -510,8 +505,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManager { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskStoreAccessType const& accessType) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + auto RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskStoreAccessType const& accessType) const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -520,8 +515,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskManager) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskManager) GetForUser(winrt::Windows::System::User const& user) const; + auto GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -530,10 +525,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty) SortProperty() const; - WINRT_IMPL_AUTO(void) SortProperty(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind) Kind() const; - WINRT_IMPL_AUTO(void) Kind(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind const& value) const; + [[nodiscard]] auto SortProperty() const; + auto SortProperty(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty const& value) const; + [[nodiscard]] auto Kind() const; + auto Kind(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind const& value) const; }; template <> struct consume { @@ -542,7 +537,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskReader { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadBatchAsync() const; + auto ReadBatchAsync() const; }; template <> struct consume { @@ -551,22 +546,22 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit) Unit() const; - WINRT_IMPL_AUTO(void) Unit(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Occurrences() const; - WINRT_IMPL_AUTO(void) Occurrences(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Until() const; - WINRT_IMPL_AUTO(void) Until(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Interval() const; - WINRT_IMPL_AUTO(void) Interval(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DaysOfWeek() const; - WINRT_IMPL_AUTO(void) DaysOfWeek(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) WeekOfMonth() const; - WINRT_IMPL_AUTO(void) WeekOfMonth(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Month() const; - WINRT_IMPL_AUTO(void) Month(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Day() const; - WINRT_IMPL_AUTO(void) Day(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Unit() const; + auto Unit(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit const& value) const; + [[nodiscard]] auto Occurrences() const; + auto Occurrences(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Until() const; + auto Until(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Interval() const; + auto Interval(int32_t value) const; + [[nodiscard]] auto DaysOfWeek() const; + auto DaysOfWeek(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto WeekOfMonth() const; + auto WeekOfMonth(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Month() const; + auto Month(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Day() const; + auto Day(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -575,14 +570,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit) Unit() const; - WINRT_IMPL_AUTO(void) Unit(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Occurrences() const; - WINRT_IMPL_AUTO(void) Occurrences(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Until() const; - WINRT_IMPL_AUTO(void) Until(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Interval() const; - WINRT_IMPL_AUTO(void) Interval(int32_t value) const; + [[nodiscard]] auto Unit() const; + auto Unit(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit const& value) const; + [[nodiscard]] auto Occurrences() const; + auto Occurrences(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Until() const; + auto Until(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Interval() const; + auto Interval(int32_t value) const; }; template <> struct consume { @@ -591,10 +586,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateListAsync(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateListAsync(param::hstring const& name, param::hstring const& userDataAccountId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindListsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetListAsync(param::hstring const& taskListId) const; + auto CreateListAsync(param::hstring const& name) const; + auto CreateListAsync(param::hstring const& name, param::hstring const& userDataAccountId) const; + auto FindListsAsync() const; + auto GetListAsync(param::hstring const& taskListId) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.1.h index 489672df..fe31ad82 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataTasks_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.2.h index 83a61697..6aecb2ba 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataTasks_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.0.h index 357823ac..64e29999 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataTasks_DataProvider_0_H @@ -231,27 +231,27 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection { - WINRT_IMPL_AUTO(winrt::event_token) CreateOrUpdateTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CreateOrUpdateTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CreateOrUpdateTaskRequested_revoker = impl::event_revoker::remove_CreateOrUpdateTaskRequested>; - [[nodiscard]] CreateOrUpdateTaskRequested_revoker CreateOrUpdateTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CreateOrUpdateTaskRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CreateOrUpdateTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CreateOrUpdateTaskRequested(winrt::event_token const& token) const noexcept; + auto SyncRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SyncRequested_revoker = impl::event_revoker::remove_SyncRequested>; - [[nodiscard]] SyncRequested_revoker SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SyncRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SkipOccurrenceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SyncRequested(winrt::event_token const& token) const noexcept; + auto SkipOccurrenceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SkipOccurrenceRequested_revoker = impl::event_revoker::remove_SkipOccurrenceRequested>; - [[nodiscard]] SkipOccurrenceRequested_revoker SkipOccurrenceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SkipOccurrenceRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CompleteTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SkipOccurrenceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SkipOccurrenceRequested(winrt::event_token const& token) const noexcept; + auto CompleteTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CompleteTaskRequested_revoker = impl::event_revoker::remove_CompleteTaskRequested>; - [[nodiscard]] CompleteTaskRequested_revoker CompleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CompleteTaskRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DeleteTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CompleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CompleteTaskRequested(winrt::event_token const& token) const noexcept; + auto DeleteTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DeleteTaskRequested_revoker = impl::event_revoker::remove_DeleteTaskRequested>; - [[nodiscard]] DeleteTaskRequested_revoker DeleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DeleteTaskRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Start() const; + [[nodiscard]] auto DeleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DeleteTaskRequested(winrt::event_token const& token) const noexcept; + auto Start() const; }; template <> struct consume { @@ -260,7 +260,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection) Connection() const; + [[nodiscard]] auto Connection() const; }; template <> struct consume { @@ -269,10 +269,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TaskListId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TaskId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync(param::hstring const& completedTaskId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto TaskListId() const; + [[nodiscard]] auto TaskId() const; + auto ReportCompletedAsync(param::hstring const& completedTaskId) const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -281,8 +281,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCompleteTaskRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -291,10 +291,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TaskListId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask) Task() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& createdOrUpdatedUserDataTask) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto TaskListId() const; + [[nodiscard]] auto Task() const; + auto ReportCompletedAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& createdOrUpdatedUserDataTask) const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -303,8 +303,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCreateOrUpdateTaskRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -313,10 +313,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TaskListId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TaskId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto TaskListId() const; + [[nodiscard]] auto TaskId() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -325,8 +325,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListDeleteTaskRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -335,10 +335,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TaskListId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TaskId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto TaskListId() const; + [[nodiscard]] auto TaskId() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -347,8 +347,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSkipOccurrenceRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -357,9 +357,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TaskListId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto TaskListId() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -368,8 +368,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSyncManagerSyncRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.1.h index bf2d7695..75b73031 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataTasks_DataProvider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.2.h index 8d120115..ca97300c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_UserDataTasks_DataProvider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.0.h index 774125a4..ad280201 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_VoiceCommands_0_H @@ -11,15 +11,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Globalization { @@ -280,9 +276,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommand { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CommandName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView>) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult) SpeechRecognitionResult() const; + [[nodiscard]] auto CommandName() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto SpeechRecognitionResult() const; }; template <> struct consume { @@ -291,7 +287,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandCompletionReason) Reason() const; + [[nodiscard]] auto Reason() const; }; template <> struct consume { @@ -300,7 +296,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandConfirmationResult { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Confirmed() const; + [[nodiscard]] auto Confirmed() const; }; template <> struct consume { @@ -309,22 +305,22 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TextLine1() const; - WINRT_IMPL_AUTO(void) TextLine1(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TextLine2() const; - WINRT_IMPL_AUTO(void) TextLine2(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TextLine3() const; - WINRT_IMPL_AUTO(void) TextLine3(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) Image() const; - WINRT_IMPL_AUTO(void) Image(winrt::Windows::Storage::IStorageFile const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) AppContext() const; - WINRT_IMPL_AUTO(void) AppContext(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppLaunchArgument() const; - WINRT_IMPL_AUTO(void) AppLaunchArgument(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTileType) ContentTileType() const; - WINRT_IMPL_AUTO(void) ContentTileType(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTileType const& value) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto TextLine1() const; + auto TextLine1(param::hstring const& value) const; + [[nodiscard]] auto TextLine2() const; + auto TextLine2(param::hstring const& value) const; + [[nodiscard]] auto TextLine3() const; + auto TextLine3(param::hstring const& value) const; + [[nodiscard]] auto Image() const; + auto Image(winrt::Windows::Storage::IStorageFile const& value) const; + [[nodiscard]] auto AppContext() const; + auto AppContext(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto AppLaunchArgument() const; + auto AppLaunchArgument(param::hstring const& value) const; + [[nodiscard]] auto ContentTileType() const; + auto ContentTileType(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTileType const& value) const; }; template <> struct consume { @@ -333,9 +329,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinition { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetPhraseListAsync(param::hstring const& phraseListName, param::async_iterable const& phraseList) const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto Name() const; + auto SetPhraseListAsync(param::hstring const& phraseListName, param::async_iterable const& phraseList) const; }; template <> struct consume { @@ -344,8 +340,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinitionManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) InstallCommandDefinitionsFromStorageFileAsync(winrt::Windows::Storage::StorageFile const& file) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) InstalledCommandDefinitions() const; + auto InstallCommandDefinitionsFromStorageFileAsync(winrt::Windows::Storage::StorageFile const& file) const; + [[nodiscard]] auto InstalledCommandDefinitions() const; }; template <> struct consume { @@ -354,7 +350,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDisambiguationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile) SelectedItem() const; + [[nodiscard]] auto SelectedItem() const; }; template <> struct consume { @@ -363,13 +359,13 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage) Message() const; - WINRT_IMPL_AUTO(void) Message(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage) RepeatMessage() const; - WINRT_IMPL_AUTO(void) RepeatMessage(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppLaunchArgument() const; - WINRT_IMPL_AUTO(void) AppLaunchArgument(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) VoiceCommandContentTiles() const; + [[nodiscard]] auto Message() const; + auto Message(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& value) const; + [[nodiscard]] auto RepeatMessage() const; + auto RepeatMessage(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& value) const; + [[nodiscard]] auto AppLaunchArgument() const; + auto AppLaunchArgument(param::hstring const& value) const; + [[nodiscard]] auto VoiceCommandContentTiles() const; }; template <> struct consume { @@ -378,11 +374,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxSupportedVoiceCommandContentTiles() const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse) CreateResponse(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& userMessage) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse) CreateResponse(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, param::iterable const& contentTiles) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse) CreateResponseForPrompt(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& repeatMessage) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse) CreateResponseForPrompt(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& repeatMessage, param::iterable const& contentTiles) const; + [[nodiscard]] auto MaxSupportedVoiceCommandContentTiles() const; + auto CreateResponse(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& userMessage) const; + auto CreateResponse(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, param::iterable const& contentTiles) const; + auto CreateResponseForPrompt(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& repeatMessage) const; + auto CreateResponseForPrompt(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& repeatMessage, param::iterable const& contentTiles) const; }; template <> struct consume { @@ -391,18 +387,18 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetVoiceCommandAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestConfirmationAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestDisambiguationAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportProgressAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportSuccessAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailureAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RequestAppLaunchAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) Language() const; - WINRT_IMPL_AUTO(winrt::event_token) VoiceCommandCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetVoiceCommandAsync() const; + auto RequestConfirmationAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; + auto RequestDisambiguationAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; + auto ReportProgressAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; + auto ReportSuccessAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; + auto ReportFailureAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; + auto RequestAppLaunchAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const; + [[nodiscard]] auto Language() const; + auto VoiceCommandCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using VoiceCommandCompleted_revoker = impl::event_revoker::remove_VoiceCommandCompleted>; - [[nodiscard]] VoiceCommandCompleted_revoker VoiceCommandCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VoiceCommandCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto VoiceCommandCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VoiceCommandCompleted(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -411,7 +407,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnectionStatics { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandServiceConnection) FromAppServiceTriggerDetails(winrt::Windows::ApplicationModel::AppService::AppServiceTriggerDetails const& triggerDetails) const; + auto FromAppServiceTriggerDetails(winrt::Windows::ApplicationModel::AppService::AppServiceTriggerDetails const& triggerDetails) const; }; template <> struct consume { @@ -420,10 +416,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayMessage() const; - WINRT_IMPL_AUTO(void) DisplayMessage(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SpokenMessage() const; - WINRT_IMPL_AUTO(void) SpokenMessage(param::hstring const& value) const; + [[nodiscard]] auto DisplayMessage() const; + auto DisplayMessage(param::hstring const& value) const; + [[nodiscard]] auto SpokenMessage() const; + auto SpokenMessage(param::hstring const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.1.h index b483a200..4ed574ef 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_VoiceCommands_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.2.h index 5c5a024b..83e2c3a4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_VoiceCommands_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.0.h index f578aa7d..331d968a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Wallet_0_H @@ -11,15 +11,9 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IRandomAccessStreamReference; @@ -365,9 +359,9 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Wallet_IWalletBarcode { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletBarcodeSymbology) Symbology() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetImageAsync() const; + [[nodiscard]] auto Symbology() const; + [[nodiscard]] auto Value() const; + auto GetImageAsync() const; }; template <> struct consume { @@ -376,8 +370,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Wallet_IWalletBarcodeFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletBarcode) CreateWalletBarcode(winrt::Windows::ApplicationModel::Wallet::WalletBarcodeSymbology const& symbology, param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletBarcode) CreateCustomWalletBarcode(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& streamToBarcodeImage) const; + auto CreateWalletBarcode(winrt::Windows::ApplicationModel::Wallet::WalletBarcodeSymbology const& symbology, param::hstring const& value) const; + auto CreateCustomWalletBarcode(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& streamToBarcodeImage) const; }; template <> struct consume { @@ -386,58 +380,58 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Wallet_IWalletItem { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAcknowledged() const; - WINRT_IMPL_AUTO(void) IsAcknowledged(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IssuerDisplayName() const; - WINRT_IMPL_AUTO(void) IssuerDisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) LastUpdated() const; - WINRT_IMPL_AUTO(void) LastUpdated(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletItemKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletBarcode) Barcode() const; - WINRT_IMPL_AUTO(void) Barcode(winrt::Windows::ApplicationModel::Wallet::WalletBarcode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ExpirationDate() const; - WINRT_IMPL_AUTO(void) ExpirationDate(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Logo159x159() const; - WINRT_IMPL_AUTO(void) Logo159x159(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Logo336x336() const; - WINRT_IMPL_AUTO(void) Logo336x336(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Logo99x99() const; - WINRT_IMPL_AUTO(void) Logo99x99(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayMessage() const; - WINRT_IMPL_AUTO(void) DisplayMessage(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDisplayMessageLaunchable() const; - WINRT_IMPL_AUTO(void) IsDisplayMessageLaunchable(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LogoText() const; - WINRT_IMPL_AUTO(void) LogoText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) HeaderColor() const; - WINRT_IMPL_AUTO(void) HeaderColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) BodyColor() const; - WINRT_IMPL_AUTO(void) BodyColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) HeaderFontColor() const; - WINRT_IMPL_AUTO(void) HeaderFontColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) BodyFontColor() const; - WINRT_IMPL_AUTO(void) BodyFontColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) HeaderBackgroundImage() const; - WINRT_IMPL_AUTO(void) HeaderBackgroundImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) BodyBackgroundImage() const; - WINRT_IMPL_AUTO(void) BodyBackgroundImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) LogoImage() const; - WINRT_IMPL_AUTO(void) LogoImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) PromotionalImage() const; - WINRT_IMPL_AUTO(void) PromotionalImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) RelevantDate() const; - WINRT_IMPL_AUTO(void) RelevantDate(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RelevantDateDisplayMessage() const; - WINRT_IMPL_AUTO(void) RelevantDateDisplayMessage(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) TransactionHistory() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) RelevantLocations() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMoreTransactionHistoryLaunchable() const; - WINRT_IMPL_AUTO(void) IsMoreTransactionHistoryLaunchable(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) DisplayProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Verbs() const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto IsAcknowledged() const; + auto IsAcknowledged(bool value) const; + [[nodiscard]] auto IssuerDisplayName() const; + auto IssuerDisplayName(param::hstring const& value) const; + [[nodiscard]] auto LastUpdated() const; + auto LastUpdated(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Barcode() const; + auto Barcode(winrt::Windows::ApplicationModel::Wallet::WalletBarcode const& value) const; + [[nodiscard]] auto ExpirationDate() const; + auto ExpirationDate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Logo159x159() const; + auto Logo159x159(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto Logo336x336() const; + auto Logo336x336(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto Logo99x99() const; + auto Logo99x99(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto DisplayMessage() const; + auto DisplayMessage(param::hstring const& value) const; + [[nodiscard]] auto IsDisplayMessageLaunchable() const; + auto IsDisplayMessageLaunchable(bool value) const; + [[nodiscard]] auto LogoText() const; + auto LogoText(param::hstring const& value) const; + [[nodiscard]] auto HeaderColor() const; + auto HeaderColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto BodyColor() const; + auto BodyColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto HeaderFontColor() const; + auto HeaderFontColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto BodyFontColor() const; + auto BodyFontColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto HeaderBackgroundImage() const; + auto HeaderBackgroundImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto BodyBackgroundImage() const; + auto BodyBackgroundImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto LogoImage() const; + auto LogoImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto PromotionalImage() const; + auto PromotionalImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto RelevantDate() const; + auto RelevantDate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto RelevantDateDisplayMessage() const; + auto RelevantDateDisplayMessage(param::hstring const& value) const; + [[nodiscard]] auto TransactionHistory() const; + [[nodiscard]] auto RelevantLocations() const; + [[nodiscard]] auto IsMoreTransactionHistoryLaunchable() const; + auto IsMoreTransactionHistoryLaunchable(bool value) const; + [[nodiscard]] auto DisplayProperties() const; + [[nodiscard]] auto Verbs() const; }; template <> struct consume { @@ -446,16 +440,16 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; - WINRT_IMPL_AUTO(void) Value(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoDetectLinks() const; - WINRT_IMPL_AUTO(void) AutoDetectLinks(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletDetailViewPosition) DetailViewPosition() const; - WINRT_IMPL_AUTO(void) DetailViewPosition(winrt::Windows::ApplicationModel::Wallet::WalletDetailViewPosition const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletSummaryViewPosition) SummaryViewPosition() const; - WINRT_IMPL_AUTO(void) SummaryViewPosition(winrt::Windows::ApplicationModel::Wallet::WalletSummaryViewPosition const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Value() const; + auto Value(param::hstring const& value) const; + [[nodiscard]] auto AutoDetectLinks() const; + auto AutoDetectLinks(bool value) const; + [[nodiscard]] auto DetailViewPosition() const; + auto DetailViewPosition(winrt::Windows::ApplicationModel::Wallet::WalletDetailViewPosition const& value) const; + [[nodiscard]] auto SummaryViewPosition() const; + auto SummaryViewPosition(winrt::Windows::ApplicationModel::Wallet::WalletSummaryViewPosition const& value) const; }; template <> struct consume { @@ -464,7 +458,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Wallet_IWalletItemCustomPropertyFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletItemCustomProperty) CreateWalletItemCustomProperty(param::hstring const& name, param::hstring const& value) const; + auto CreateWalletItemCustomProperty(param::hstring const& name, param::hstring const& value) const; }; template <> struct consume { @@ -473,7 +467,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Wallet_IWalletItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletItem) CreateWalletItem(winrt::Windows::ApplicationModel::Wallet::WalletItemKind const& kind, param::hstring const& displayName) const; + auto CreateWalletItem(winrt::Windows::ApplicationModel::Wallet::WalletItemKind const& kind, param::hstring const& displayName) const; }; template <> struct consume { @@ -482,16 +476,16 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Wallet_IWalletItemStore { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AddAsync(param::hstring const& id, winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetWalletItemAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetItemsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetItemsAsync(winrt::Windows::ApplicationModel::Wallet::WalletItemKind const& kind) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ImportItemAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UpdateAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const; + auto AddAsync(param::hstring const& id, winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const; + auto ClearAsync() const; + auto GetWalletItemAsync(param::hstring const& id) const; + auto GetItemsAsync() const; + auto GetItemsAsync(winrt::Windows::ApplicationModel::Wallet::WalletItemKind const& kind) const; + auto ImportItemAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const; + auto DeleteAsync(param::hstring const& id) const; + auto ShowAsync() const; + auto ShowAsync(param::hstring const& id) const; + auto UpdateAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const; }; template <> struct consume { @@ -500,10 +494,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Wallet_IWalletItemStore2 { - WINRT_IMPL_AUTO(winrt::event_token) ItemsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ItemsChanged_revoker = impl::event_revoker::remove_ItemsChanged>; - [[nodiscard]] ItemsChanged_revoker ItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ItemsChanged(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto ItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemsChanged(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -512,7 +506,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Wallet_IWalletManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync() const; + auto RequestStoreAsync() const; }; template <> struct consume { @@ -521,10 +515,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) Position() const; - WINRT_IMPL_AUTO(void) Position(winrt::Windows::Devices::Geolocation::BasicGeoposition const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayMessage() const; - WINRT_IMPL_AUTO(void) DisplayMessage(param::hstring const& value) const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Devices::Geolocation::BasicGeoposition const& value) const; + [[nodiscard]] auto DisplayMessage() const; + auto DisplayMessage(param::hstring const& value) const; }; template <> struct consume { @@ -533,18 +527,18 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Wallet_IWalletTransaction { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayAmount() const; - WINRT_IMPL_AUTO(void) DisplayAmount(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IgnoreTimeOfDay() const; - WINRT_IMPL_AUTO(void) IgnoreTimeOfDay(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayLocation() const; - WINRT_IMPL_AUTO(void) DisplayLocation(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TransactionDate() const; - WINRT_IMPL_AUTO(void) TransactionDate(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLaunchable() const; - WINRT_IMPL_AUTO(void) IsLaunchable(bool value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto DisplayAmount() const; + auto DisplayAmount(param::hstring const& value) const; + [[nodiscard]] auto IgnoreTimeOfDay() const; + auto IgnoreTimeOfDay(bool value) const; + [[nodiscard]] auto DisplayLocation() const; + auto DisplayLocation(param::hstring const& value) const; + [[nodiscard]] auto TransactionDate() const; + auto TransactionDate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsLaunchable() const; + auto IsLaunchable(bool value) const; }; template <> struct consume { @@ -553,8 +547,8 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Wallet_IWalletVerb { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; }; template <> struct consume { @@ -563,7 +557,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Wallet_IWalletVerbFactory { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletVerb) CreateWalletVerb(param::hstring const& name) const; + auto CreateWalletVerb(param::hstring const& name) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.1.h index ef861c35..953f816c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Wallet_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.2.h index e41101b2..88927698 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Wallet_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.0.h index 23d49e1c..0e412ff0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Wallet_System_0_H @@ -11,13 +11,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IRandomAccessStreamReference; @@ -83,11 +78,11 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetItemsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ImportItemAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::System::WalletItemAppAssociation) GetAppStatusForItem(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchAppForItemAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const; + auto GetItemsAsync() const; + auto DeleteAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const; + auto ImportItemAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const; + auto GetAppStatusForItem(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const; + auto LaunchAppForItemAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const; }; template <> struct consume { @@ -96,10 +91,10 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2 { - WINRT_IMPL_AUTO(winrt::event_token) ItemsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ItemsChanged_revoker = impl::event_revoker::remove_ItemsChanged>; - [[nodiscard]] ItemsChanged_revoker ItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ItemsChanged(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto ItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemsChanged(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -108,7 +103,7 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_Wallet_System_IWalletManagerSystemStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync() const; + auto RequestStoreAsync() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.1.h index 7abfe4cd..6c1de371 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Wallet_System_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.2.h index d516351e..8a7785e8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_ApplicationModel_Wallet_System_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.0.h index 705f3629..5d7e9f58 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Html_0_H @@ -25,7 +25,7 @@ namespace winrt::impl template struct consume_Windows_Data_Html_IHtmlUtilities { - WINRT_IMPL_AUTO(hstring) ConvertToText(param::hstring const& html) const; + auto ConvertToText(param::hstring const& html) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.1.h index 37d3b795..31da569f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Html_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.2.h index 68d0829a..70293607 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Html_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.0.h index 0fdab2c5..65918fa1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Json_0_H @@ -173,11 +173,11 @@ namespace winrt::impl template struct consume_Windows_Data_Json_IJsonArray { - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonObject) GetObjectAt(uint32_t index) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonArray) GetArrayAt(uint32_t index) const; - WINRT_IMPL_AUTO(hstring) GetStringAt(uint32_t index) const; - WINRT_IMPL_AUTO(double) GetNumberAt(uint32_t index) const; - WINRT_IMPL_AUTO(bool) GetBooleanAt(uint32_t index) const; + auto GetObjectAt(uint32_t index) const; + auto GetArrayAt(uint32_t index) const; + auto GetStringAt(uint32_t index) const; + auto GetNumberAt(uint32_t index) const; + auto GetBooleanAt(uint32_t index) const; }; template <> struct consume { @@ -186,8 +186,8 @@ namespace winrt::impl template struct consume_Windows_Data_Json_IJsonArrayStatics { - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonArray) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonArray& result) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonArray& result) const; }; template <> struct consume { @@ -196,7 +196,7 @@ namespace winrt::impl template struct consume_Windows_Data_Json_IJsonErrorStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonErrorStatus) GetJsonStatus(int32_t hresult) const; + auto GetJsonStatus(int32_t hresult) const; }; template <> struct consume { @@ -205,13 +205,13 @@ namespace winrt::impl template struct consume_Windows_Data_Json_IJsonObject { - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) GetNamedValue(param::hstring const& name) const; - WINRT_IMPL_AUTO(void) SetNamedValue(param::hstring const& name, winrt::Windows::Data::Json::IJsonValue const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonObject) GetNamedObject(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonArray) GetNamedArray(param::hstring const& name) const; - WINRT_IMPL_AUTO(hstring) GetNamedString(param::hstring const& name) const; - WINRT_IMPL_AUTO(double) GetNamedNumber(param::hstring const& name) const; - WINRT_IMPL_AUTO(bool) GetNamedBoolean(param::hstring const& name) const; + auto GetNamedValue(param::hstring const& name) const; + auto SetNamedValue(param::hstring const& name, winrt::Windows::Data::Json::IJsonValue const& value) const; + auto GetNamedObject(param::hstring const& name) const; + auto GetNamedArray(param::hstring const& name) const; + auto GetNamedString(param::hstring const& name) const; + auto GetNamedNumber(param::hstring const& name) const; + auto GetNamedBoolean(param::hstring const& name) const; }; template <> struct consume { @@ -220,8 +220,8 @@ namespace winrt::impl template struct consume_Windows_Data_Json_IJsonObjectStatics { - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonObject) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonObject& result) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonObject& result) const; }; template <> struct consume { @@ -230,12 +230,12 @@ namespace winrt::impl template struct consume_Windows_Data_Json_IJsonObjectWithDefaultValues { - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) GetNamedValue(param::hstring const& name, winrt::Windows::Data::Json::JsonValue const& defaultValue) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonObject) GetNamedObject(param::hstring const& name, winrt::Windows::Data::Json::JsonObject const& defaultValue) const; - WINRT_IMPL_AUTO(hstring) GetNamedString(param::hstring const& name, param::hstring const& defaultValue) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonArray) GetNamedArray(param::hstring const& name, winrt::Windows::Data::Json::JsonArray const& defaultValue) const; - WINRT_IMPL_AUTO(double) GetNamedNumber(param::hstring const& name, double defaultValue) const; - WINRT_IMPL_AUTO(bool) GetNamedBoolean(param::hstring const& name, bool defaultValue) const; + auto GetNamedValue(param::hstring const& name, winrt::Windows::Data::Json::JsonValue const& defaultValue) const; + auto GetNamedObject(param::hstring const& name, winrt::Windows::Data::Json::JsonObject const& defaultValue) const; + auto GetNamedString(param::hstring const& name, param::hstring const& defaultValue) const; + auto GetNamedArray(param::hstring const& name, winrt::Windows::Data::Json::JsonArray const& defaultValue) const; + auto GetNamedNumber(param::hstring const& name, double defaultValue) const; + auto GetNamedBoolean(param::hstring const& name, bool defaultValue) const; }; template <> struct consume { @@ -244,13 +244,13 @@ namespace winrt::impl template struct consume_Windows_Data_Json_IJsonValue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValueType) ValueType() const; - WINRT_IMPL_AUTO(hstring) Stringify() const; - WINRT_IMPL_AUTO(hstring) GetString() const; - WINRT_IMPL_AUTO(double) GetNumber() const; - WINRT_IMPL_AUTO(bool) GetBoolean() const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonArray) GetArray() const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonObject) GetObject() const; + [[nodiscard]] auto ValueType() const; + auto Stringify() const; + auto GetString() const; + auto GetNumber() const; + auto GetBoolean() const; + auto GetArray() const; + auto GetObject() const; }; template <> struct consume { @@ -259,11 +259,11 @@ namespace winrt::impl template struct consume_Windows_Data_Json_IJsonValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonValue& result) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) CreateBooleanValue(bool input) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) CreateNumberValue(double input) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) CreateStringValue(param::hstring const& input) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonValue& result) const; + auto CreateBooleanValue(bool input) const; + auto CreateNumberValue(double input) const; + auto CreateStringValue(param::hstring const& input) const; }; template <> struct consume { @@ -272,7 +272,7 @@ namespace winrt::impl template struct consume_Windows_Data_Json_IJsonValueStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) CreateNullValue() const; + auto CreateNullValue() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.1.h index 69037ec4..ccbe2927 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Json_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.2.h index 78314d6b..f1c6e746 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Json_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.0.h index 92fde429..cc6ba6da 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Pdf_0_H @@ -6,7 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct Rect; struct Size; } @@ -137,9 +136,9 @@ namespace winrt::impl template struct consume_Windows_Data_Pdf_IPdfDocument { - WINRT_IMPL_AUTO(winrt::Windows::Data::Pdf::PdfPage) GetPage(uint32_t pageIndex) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PageCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPasswordProtected() const; + auto GetPage(uint32_t pageIndex) const; + [[nodiscard]] auto PageCount() const; + [[nodiscard]] auto IsPasswordProtected() const; }; template <> struct consume { @@ -148,10 +147,10 @@ namespace winrt::impl template struct consume_Windows_Data_Pdf_IPdfDocumentStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& password) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream, param::hstring const& password) const; + auto LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& password) const; + auto LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream) const; + auto LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream, param::hstring const& password) const; }; template <> struct consume { @@ -160,14 +159,14 @@ namespace winrt::impl template struct consume_Windows_Data_Pdf_IPdfPage { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RenderToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& outputStream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RenderToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& outputStream, winrt::Windows::Data::Pdf::PdfPageRenderOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) PreparePageAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Index() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) Size() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Pdf::PdfPageDimensions) Dimensions() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Pdf::PdfPageRotation) Rotation() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) PreferredZoom() const; + auto RenderToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& outputStream) const; + auto RenderToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& outputStream, winrt::Windows::Data::Pdf::PdfPageRenderOptions const& options) const; + auto PreparePageAsync() const; + [[nodiscard]] auto Index() const; + [[nodiscard]] auto Size() const; + [[nodiscard]] auto Dimensions() const; + [[nodiscard]] auto Rotation() const; + [[nodiscard]] auto PreferredZoom() const; }; template <> struct consume { @@ -176,11 +175,11 @@ namespace winrt::impl template struct consume_Windows_Data_Pdf_IPdfPageDimensions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) MediaBox() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) CropBox() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) BleedBox() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) TrimBox() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) ArtBox() const; + [[nodiscard]] auto MediaBox() const; + [[nodiscard]] auto CropBox() const; + [[nodiscard]] auto BleedBox() const; + [[nodiscard]] auto TrimBox() const; + [[nodiscard]] auto ArtBox() const; }; template <> struct consume { @@ -189,18 +188,18 @@ namespace winrt::impl template struct consume_Windows_Data_Pdf_IPdfPageRenderOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) SourceRect() const; - WINRT_IMPL_AUTO(void) SourceRect(winrt::Windows::Foundation::Rect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DestinationWidth() const; - WINRT_IMPL_AUTO(void) DestinationWidth(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DestinationHeight() const; - WINRT_IMPL_AUTO(void) DestinationHeight(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) BackgroundColor() const; - WINRT_IMPL_AUTO(void) BackgroundColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsIgnoringHighContrast() const; - WINRT_IMPL_AUTO(void) IsIgnoringHighContrast(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) BitmapEncoderId() const; - WINRT_IMPL_AUTO(void) BitmapEncoderId(winrt::guid const& value) const; + [[nodiscard]] auto SourceRect() const; + auto SourceRect(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto DestinationWidth() const; + auto DestinationWidth(uint32_t value) const; + [[nodiscard]] auto DestinationHeight() const; + auto DestinationHeight(uint32_t value) const; + [[nodiscard]] auto BackgroundColor() const; + auto BackgroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto IsIgnoringHighContrast() const; + auto IsIgnoringHighContrast(bool value) const; + [[nodiscard]] auto BitmapEncoderId() const; + auto BitmapEncoderId(winrt::guid const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.1.h index 8a268bb9..a15dcfb4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Pdf_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.2.h index f658c899..eb62691e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Pdf_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.0.h index b9537df7..4026cfd6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.0.h @@ -1,16 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Text_0_H #define WINRT_Windows_Data_Text_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::UI::Text::Core { @@ -404,9 +399,9 @@ namespace winrt::impl template struct consume_Windows_Data_Text_IAlternateWordForm { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextSegment) SourceTextSegment() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlternateText() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Text::AlternateNormalizationFormat) NormalizationFormat() const; + [[nodiscard]] auto SourceTextSegment() const; + [[nodiscard]] auto AlternateText() const; + [[nodiscard]] auto NormalizationFormat() const; }; template <> struct consume { @@ -415,8 +410,8 @@ namespace winrt::impl template struct consume_Windows_Data_Text_ISelectableWordSegment { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextSegment) SourceTextSegment() const; + [[nodiscard]] auto Text() const; + [[nodiscard]] auto SourceTextSegment() const; }; template <> struct consume { @@ -425,10 +420,10 @@ namespace winrt::impl template struct consume_Windows_Data_Text_ISelectableWordsSegmenter { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResolvedLanguage() const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Text::SelectableWordSegment) GetTokenAt(param::hstring const& text, uint32_t startIndex) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetTokens(param::hstring const& text) const; - WINRT_IMPL_AUTO(void) Tokenize(param::hstring const& text, uint32_t startIndex, winrt::Windows::Data::Text::SelectableWordSegmentsTokenizingHandler const& handler) const; + [[nodiscard]] auto ResolvedLanguage() const; + auto GetTokenAt(param::hstring const& text, uint32_t startIndex) const; + auto GetTokens(param::hstring const& text) const; + auto Tokenize(param::hstring const& text, uint32_t startIndex, winrt::Windows::Data::Text::SelectableWordSegmentsTokenizingHandler const& handler) const; }; template <> struct consume { @@ -437,7 +432,7 @@ namespace winrt::impl template struct consume_Windows_Data_Text_ISelectableWordsSegmenterFactory { - WINRT_IMPL_AUTO(winrt::Windows::Data::Text::SelectableWordsSegmenter) CreateWithLanguage(param::hstring const& language) const; + auto CreateWithLanguage(param::hstring const& language) const; }; template <> struct consume { @@ -446,8 +441,8 @@ namespace winrt::impl template struct consume_Windows_Data_Text_ISemanticTextQuery { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Find(param::hstring const& content) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindInProperty(param::hstring const& propertyContent, param::hstring const& propertyName) const; + auto Find(param::hstring const& content) const; + auto FindInProperty(param::hstring const& propertyContent, param::hstring const& propertyName) const; }; template <> struct consume { @@ -456,8 +451,8 @@ namespace winrt::impl template struct consume_Windows_Data_Text_ISemanticTextQueryFactory { - WINRT_IMPL_AUTO(winrt::Windows::Data::Text::SemanticTextQuery) Create(param::hstring const& aqsFilter) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Text::SemanticTextQuery) CreateWithLanguage(param::hstring const& aqsFilter, param::hstring const& filterLanguage) const; + auto Create(param::hstring const& aqsFilter) const; + auto CreateWithLanguage(param::hstring const& aqsFilter, param::hstring const& filterLanguage) const; }; template <> struct consume { @@ -466,10 +461,10 @@ namespace winrt::impl template struct consume_Windows_Data_Text_ITextConversionGenerator { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResolvedLanguage() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) LanguageAvailableButNotInstalled() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetCandidatesAsync(param::hstring const& input) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates) const; + [[nodiscard]] auto ResolvedLanguage() const; + [[nodiscard]] auto LanguageAvailableButNotInstalled() const; + auto GetCandidatesAsync(param::hstring const& input) const; + auto GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates) const; }; template <> struct consume { @@ -478,7 +473,7 @@ namespace winrt::impl template struct consume_Windows_Data_Text_ITextConversionGeneratorFactory { - WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextConversionGenerator) Create(param::hstring const& languageTag) const; + auto Create(param::hstring const& languageTag) const; }; template <> struct consume { @@ -487,8 +482,8 @@ namespace winrt::impl template struct consume_Windows_Data_Text_ITextPhoneme { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayText() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ReadingText() const; + [[nodiscard]] auto DisplayText() const; + [[nodiscard]] auto ReadingText() const; }; template <> struct consume { @@ -497,10 +492,10 @@ namespace winrt::impl template struct consume_Windows_Data_Text_ITextPredictionGenerator { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResolvedLanguage() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) LanguageAvailableButNotInstalled() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetCandidatesAsync(param::hstring const& input) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates) const; + [[nodiscard]] auto ResolvedLanguage() const; + [[nodiscard]] auto LanguageAvailableButNotInstalled() const; + auto GetCandidatesAsync(param::hstring const& input) const; + auto GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates) const; }; template <> struct consume { @@ -509,10 +504,10 @@ namespace winrt::impl template struct consume_Windows_Data_Text_ITextPredictionGenerator2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates, winrt::Windows::Data::Text::TextPredictionOptions const& predictionOptions, param::async_iterable const& previousStrings) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetNextWordCandidatesAsync(uint32_t maxCandidates, param::async_iterable const& previousStrings) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextInputScope) InputScope() const; - WINRT_IMPL_AUTO(void) InputScope(winrt::Windows::UI::Text::Core::CoreTextInputScope const& value) const; + auto GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates, winrt::Windows::Data::Text::TextPredictionOptions const& predictionOptions, param::async_iterable const& previousStrings) const; + auto GetNextWordCandidatesAsync(uint32_t maxCandidates, param::async_iterable const& previousStrings) const; + [[nodiscard]] auto InputScope() const; + auto InputScope(winrt::Windows::UI::Text::Core::CoreTextInputScope const& value) const; }; template <> struct consume { @@ -521,7 +516,7 @@ namespace winrt::impl template struct consume_Windows_Data_Text_ITextPredictionGeneratorFactory { - WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextPredictionGenerator) Create(param::hstring const& languageTag) const; + auto Create(param::hstring const& languageTag) const; }; template <> struct consume { @@ -530,9 +525,9 @@ namespace winrt::impl template struct consume_Windows_Data_Text_ITextReverseConversionGenerator { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResolvedLanguage() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) LanguageAvailableButNotInstalled() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConvertBackAsync(param::hstring const& input) const; + [[nodiscard]] auto ResolvedLanguage() const; + [[nodiscard]] auto LanguageAvailableButNotInstalled() const; + auto ConvertBackAsync(param::hstring const& input) const; }; template <> struct consume { @@ -541,7 +536,7 @@ namespace winrt::impl template struct consume_Windows_Data_Text_ITextReverseConversionGenerator2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetPhonemesAsync(param::hstring const& input) const; + auto GetPhonemesAsync(param::hstring const& input) const; }; template <> struct consume { @@ -550,7 +545,7 @@ namespace winrt::impl template struct consume_Windows_Data_Text_ITextReverseConversionGeneratorFactory { - WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextReverseConversionGenerator) Create(param::hstring const& languageTag) const; + auto Create(param::hstring const& languageTag) const; }; template <> struct consume { @@ -559,23 +554,23 @@ namespace winrt::impl template struct consume_Windows_Data_Text_IUnicodeCharactersStatics { - WINRT_IMPL_AUTO(uint32_t) GetCodepointFromSurrogatePair(uint32_t highSurrogate, uint32_t lowSurrogate) const; - WINRT_IMPL_AUTO(void) GetSurrogatePairFromCodepoint(uint32_t codepoint, char16_t& highSurrogate, char16_t& lowSurrogate) const; - WINRT_IMPL_AUTO(bool) IsHighSurrogate(uint32_t codepoint) const; - WINRT_IMPL_AUTO(bool) IsLowSurrogate(uint32_t codepoint) const; - WINRT_IMPL_AUTO(bool) IsSupplementary(uint32_t codepoint) const; - WINRT_IMPL_AUTO(bool) IsNoncharacter(uint32_t codepoint) const; - WINRT_IMPL_AUTO(bool) IsWhitespace(uint32_t codepoint) const; - WINRT_IMPL_AUTO(bool) IsAlphabetic(uint32_t codepoint) const; - WINRT_IMPL_AUTO(bool) IsCased(uint32_t codepoint) const; - WINRT_IMPL_AUTO(bool) IsUppercase(uint32_t codepoint) const; - WINRT_IMPL_AUTO(bool) IsLowercase(uint32_t codepoint) const; - WINRT_IMPL_AUTO(bool) IsIdStart(uint32_t codepoint) const; - WINRT_IMPL_AUTO(bool) IsIdContinue(uint32_t codepoint) const; - WINRT_IMPL_AUTO(bool) IsGraphemeBase(uint32_t codepoint) const; - WINRT_IMPL_AUTO(bool) IsGraphemeExtend(uint32_t codepoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Text::UnicodeNumericType) GetNumericType(uint32_t codepoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Text::UnicodeGeneralCategory) GetGeneralCategory(uint32_t codepoint) const; + auto GetCodepointFromSurrogatePair(uint32_t highSurrogate, uint32_t lowSurrogate) const; + auto GetSurrogatePairFromCodepoint(uint32_t codepoint, char16_t& highSurrogate, char16_t& lowSurrogate) const; + auto IsHighSurrogate(uint32_t codepoint) const; + auto IsLowSurrogate(uint32_t codepoint) const; + auto IsSupplementary(uint32_t codepoint) const; + auto IsNoncharacter(uint32_t codepoint) const; + auto IsWhitespace(uint32_t codepoint) const; + auto IsAlphabetic(uint32_t codepoint) const; + auto IsCased(uint32_t codepoint) const; + auto IsUppercase(uint32_t codepoint) const; + auto IsLowercase(uint32_t codepoint) const; + auto IsIdStart(uint32_t codepoint) const; + auto IsIdContinue(uint32_t codepoint) const; + auto IsGraphemeBase(uint32_t codepoint) const; + auto IsGraphemeExtend(uint32_t codepoint) const; + auto GetNumericType(uint32_t codepoint) const; + auto GetGeneralCategory(uint32_t codepoint) const; }; template <> struct consume { @@ -584,9 +579,9 @@ namespace winrt::impl template struct consume_Windows_Data_Text_IWordSegment { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextSegment) SourceTextSegment() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AlternateForms() const; + [[nodiscard]] auto Text() const; + [[nodiscard]] auto SourceTextSegment() const; + [[nodiscard]] auto AlternateForms() const; }; template <> struct consume { @@ -595,10 +590,10 @@ namespace winrt::impl template struct consume_Windows_Data_Text_IWordsSegmenter { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResolvedLanguage() const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Text::WordSegment) GetTokenAt(param::hstring const& text, uint32_t startIndex) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetTokens(param::hstring const& text) const; - WINRT_IMPL_AUTO(void) Tokenize(param::hstring const& text, uint32_t startIndex, winrt::Windows::Data::Text::WordSegmentsTokenizingHandler const& handler) const; + [[nodiscard]] auto ResolvedLanguage() const; + auto GetTokenAt(param::hstring const& text, uint32_t startIndex) const; + auto GetTokens(param::hstring const& text) const; + auto Tokenize(param::hstring const& text, uint32_t startIndex, winrt::Windows::Data::Text::WordSegmentsTokenizingHandler const& handler) const; }; template <> struct consume { @@ -607,7 +602,7 @@ namespace winrt::impl template struct consume_Windows_Data_Text_IWordsSegmenterFactory { - WINRT_IMPL_AUTO(winrt::Windows::Data::Text::WordsSegmenter) CreateWithLanguage(param::hstring const& language) const; + auto CreateWithLanguage(param::hstring const& language) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.1.h index 63b8edb1..cd83dd77 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Text_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.2.h index e5948466..4bf36b4c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Text_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.0.h index 1b8b9a4d..20279094 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Xml_Dom_0_H @@ -6,7 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Storage @@ -451,9 +450,9 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IDtdEntity { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) PublicId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SystemId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) NotationName() const; + [[nodiscard]] auto PublicId() const; + [[nodiscard]] auto SystemId() const; + [[nodiscard]] auto NotationName() const; }; template <> struct consume { @@ -462,8 +461,8 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IDtdNotation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) PublicId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SystemId() const; + [[nodiscard]] auto PublicId() const; + [[nodiscard]] auto SystemId() const; }; template <> struct consume { @@ -472,10 +471,10 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlAttribute { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Specified() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; - WINRT_IMPL_AUTO(void) Value(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Specified() const; + [[nodiscard]] auto Value() const; + auto Value(param::hstring const& value) const; }; template <> struct consume { @@ -492,14 +491,14 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlCharacterData { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Data() const; - WINRT_IMPL_AUTO(void) Data(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Length() const; - WINRT_IMPL_AUTO(hstring) SubstringData(uint32_t offset, uint32_t count) const; - WINRT_IMPL_AUTO(void) AppendData(param::hstring const& data) const; - WINRT_IMPL_AUTO(void) InsertData(uint32_t offset, param::hstring const& data) const; - WINRT_IMPL_AUTO(void) DeleteData(uint32_t offset, uint32_t count) const; - WINRT_IMPL_AUTO(void) ReplaceData(uint32_t offset, uint32_t count, param::hstring const& data) const; + [[nodiscard]] auto Data() const; + auto Data(param::hstring const& value) const; + [[nodiscard]] auto Length() const; + auto SubstringData(uint32_t offset, uint32_t count) const; + auto AppendData(param::hstring const& data) const; + auto InsertData(uint32_t offset, param::hstring const& data) const; + auto DeleteData(uint32_t offset, uint32_t count) const; + auto ReplaceData(uint32_t offset, uint32_t count, param::hstring const& data) const; }; template <> struct consume { @@ -516,23 +515,23 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlDocument { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocumentType) Doctype() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDomImplementation) Implementation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlElement) DocumentElement() const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlElement) CreateElement(param::hstring const& tagName) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocumentFragment) CreateDocumentFragment() const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlText) CreateTextNode(param::hstring const& data) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlComment) CreateComment(param::hstring const& data) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlProcessingInstruction) CreateProcessingInstruction(param::hstring const& target, param::hstring const& data) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) CreateAttribute(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlEntityReference) CreateEntityReference(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNodeList) GetElementsByTagName(param::hstring const& tagName) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlCDataSection) CreateCDataSection(param::hstring const& data) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DocumentUri() const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) CreateAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlElement) CreateElementNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlElement) GetElementById(param::hstring const& elementId) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) ImportNode(winrt::Windows::Data::Xml::Dom::IXmlNode const& node, bool deep) const; + [[nodiscard]] auto Doctype() const; + [[nodiscard]] auto Implementation() const; + [[nodiscard]] auto DocumentElement() const; + auto CreateElement(param::hstring const& tagName) const; + auto CreateDocumentFragment() const; + auto CreateTextNode(param::hstring const& data) const; + auto CreateComment(param::hstring const& data) const; + auto CreateProcessingInstruction(param::hstring const& target, param::hstring const& data) const; + auto CreateAttribute(param::hstring const& name) const; + auto CreateEntityReference(param::hstring const& name) const; + auto GetElementsByTagName(param::hstring const& tagName) const; + auto CreateCDataSection(param::hstring const& data) const; + [[nodiscard]] auto DocumentUri() const; + auto CreateAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName) const; + auto CreateElementNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName) const; + auto GetElementById(param::hstring const& elementId) const; + auto ImportNode(winrt::Windows::Data::Xml::Dom::IXmlNode const& node, bool deep) const; }; template <> struct consume { @@ -549,9 +548,9 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlDocumentIO { - WINRT_IMPL_AUTO(void) LoadXml(param::hstring const& xml) const; - WINRT_IMPL_AUTO(void) LoadXml(param::hstring const& xml, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveToFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto LoadXml(param::hstring const& xml) const; + auto LoadXml(param::hstring const& xml, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const; + auto SaveToFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; }; template <> struct consume { @@ -560,8 +559,8 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlDocumentIO2 { - WINRT_IMPL_AUTO(void) LoadXmlFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; - WINRT_IMPL_AUTO(void) LoadXmlFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const; + auto LoadXmlFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto LoadXmlFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const; }; template <> struct consume { @@ -570,10 +569,10 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlDocumentStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadFromUriAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const; + auto LoadFromUriAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto LoadFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const; + auto LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const; }; template <> struct consume { @@ -582,9 +581,9 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlDocumentType { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNamedNodeMap) Entities() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNamedNodeMap) Notations() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Entities() const; + [[nodiscard]] auto Notations() const; }; template <> struct consume { @@ -593,7 +592,7 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlDomImplementation { - WINRT_IMPL_AUTO(bool) HasFeature(param::hstring const& feature, winrt::Windows::Foundation::IInspectable const& version) const; + auto HasFeature(param::hstring const& feature, winrt::Windows::Foundation::IInspectable const& version) const; }; template <> struct consume { @@ -602,19 +601,19 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlElement { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TagName() const; - WINRT_IMPL_AUTO(hstring) GetAttribute(param::hstring const& attributeName) const; - WINRT_IMPL_AUTO(void) SetAttribute(param::hstring const& attributeName, param::hstring const& attributeValue) const; - WINRT_IMPL_AUTO(void) RemoveAttribute(param::hstring const& attributeName) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) GetAttributeNode(param::hstring const& attributeName) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) SetAttributeNode(winrt::Windows::Data::Xml::Dom::XmlAttribute const& newAttribute) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) RemoveAttributeNode(winrt::Windows::Data::Xml::Dom::XmlAttribute const& attributeNode) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNodeList) GetElementsByTagName(param::hstring const& tagName) const; - WINRT_IMPL_AUTO(void) SetAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName, param::hstring const& value) const; - WINRT_IMPL_AUTO(hstring) GetAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const; - WINRT_IMPL_AUTO(void) RemoveAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) SetAttributeNodeNS(winrt::Windows::Data::Xml::Dom::XmlAttribute const& newAttribute) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) GetAttributeNodeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const; + [[nodiscard]] auto TagName() const; + auto GetAttribute(param::hstring const& attributeName) const; + auto SetAttribute(param::hstring const& attributeName, param::hstring const& attributeValue) const; + auto RemoveAttribute(param::hstring const& attributeName) const; + auto GetAttributeNode(param::hstring const& attributeName) const; + auto SetAttributeNode(winrt::Windows::Data::Xml::Dom::XmlAttribute const& newAttribute) const; + auto RemoveAttributeNode(winrt::Windows::Data::Xml::Dom::XmlAttribute const& attributeNode) const; + auto GetElementsByTagName(param::hstring const& tagName) const; + auto SetAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName, param::hstring const& value) const; + auto GetAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const; + auto RemoveAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const; + auto SetAttributeNodeNS(winrt::Windows::Data::Xml::Dom::XmlAttribute const& newAttribute) const; + auto GetAttributeNodeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const; }; template <> struct consume { @@ -631,16 +630,16 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlLoadSettings { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxElementDepth() const; - WINRT_IMPL_AUTO(void) MaxElementDepth(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ProhibitDtd() const; - WINRT_IMPL_AUTO(void) ProhibitDtd(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ResolveExternals() const; - WINRT_IMPL_AUTO(void) ResolveExternals(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ValidateOnParse() const; - WINRT_IMPL_AUTO(void) ValidateOnParse(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ElementContentWhiteSpace() const; - WINRT_IMPL_AUTO(void) ElementContentWhiteSpace(bool value) const; + [[nodiscard]] auto MaxElementDepth() const; + auto MaxElementDepth(uint32_t value) const; + [[nodiscard]] auto ProhibitDtd() const; + auto ProhibitDtd(bool value) const; + [[nodiscard]] auto ResolveExternals() const; + auto ResolveExternals(bool value) const; + [[nodiscard]] auto ValidateOnParse() const; + auto ValidateOnParse(bool value) const; + [[nodiscard]] auto ElementContentWhiteSpace() const; + auto ElementContentWhiteSpace(bool value) const; }; template <> struct consume { @@ -649,14 +648,14 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Length() const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) Item(uint32_t index) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) GetNamedItem(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) SetNamedItem(winrt::Windows::Data::Xml::Dom::IXmlNode const& node) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) RemoveNamedItem(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) GetNamedItemNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) RemoveNamedItemNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) SetNamedItemNS(winrt::Windows::Data::Xml::Dom::IXmlNode const& node) const; + [[nodiscard]] auto Length() const; + auto Item(uint32_t index) const; + auto GetNamedItem(param::hstring const& name) const; + auto SetNamedItem(winrt::Windows::Data::Xml::Dom::IXmlNode const& node) const; + auto RemoveNamedItem(param::hstring const& name) const; + auto GetNamedItemNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& name) const; + auto RemoveNamedItemNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& name) const; + auto SetNamedItemNS(winrt::Windows::Data::Xml::Dom::IXmlNode const& node) const; }; template <> struct consume { @@ -665,29 +664,29 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlNode { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) NodeValue() const; - WINRT_IMPL_AUTO(void) NodeValue(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::NodeType) NodeType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NodeName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) ParentNode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNodeList) ChildNodes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) FirstChild() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) LastChild() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) PreviousSibling() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) NextSibling() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNamedNodeMap) Attributes() const; - WINRT_IMPL_AUTO(bool) HasChildNodes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) OwnerDocument() const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) InsertBefore(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild, winrt::Windows::Data::Xml::Dom::IXmlNode const& referenceChild) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) ReplaceChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild, winrt::Windows::Data::Xml::Dom::IXmlNode const& referenceChild) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) RemoveChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& childNode) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) AppendChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) CloneNode(bool deep) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) NamespaceUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) LocalName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Prefix() const; - WINRT_IMPL_AUTO(void) Normalize() const; - WINRT_IMPL_AUTO(void) Prefix(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto NodeValue() const; + auto NodeValue(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto NodeType() const; + [[nodiscard]] auto NodeName() const; + [[nodiscard]] auto ParentNode() const; + [[nodiscard]] auto ChildNodes() const; + [[nodiscard]] auto FirstChild() const; + [[nodiscard]] auto LastChild() const; + [[nodiscard]] auto PreviousSibling() const; + [[nodiscard]] auto NextSibling() const; + [[nodiscard]] auto Attributes() const; + auto HasChildNodes() const; + [[nodiscard]] auto OwnerDocument() const; + auto InsertBefore(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild, winrt::Windows::Data::Xml::Dom::IXmlNode const& referenceChild) const; + auto ReplaceChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild, winrt::Windows::Data::Xml::Dom::IXmlNode const& referenceChild) const; + auto RemoveChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& childNode) const; + auto AppendChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild) const; + auto CloneNode(bool deep) const; + [[nodiscard]] auto NamespaceUri() const; + [[nodiscard]] auto LocalName() const; + [[nodiscard]] auto Prefix() const; + auto Normalize() const; + auto Prefix(winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -696,8 +695,8 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlNodeList { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Length() const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) Item(uint32_t index) const; + [[nodiscard]] auto Length() const; + auto Item(uint32_t index) const; }; template <> struct consume { @@ -706,10 +705,10 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlNodeSelector { - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) SelectSingleNode(param::hstring const& xpath) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNodeList) SelectNodes(param::hstring const& xpath) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) SelectSingleNodeNS(param::hstring const& xpath, winrt::Windows::Foundation::IInspectable const& namespaces) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNodeList) SelectNodesNS(param::hstring const& xpath, winrt::Windows::Foundation::IInspectable const& namespaces) const; + auto SelectSingleNode(param::hstring const& xpath) const; + auto SelectNodes(param::hstring const& xpath) const; + auto SelectSingleNodeNS(param::hstring const& xpath, winrt::Windows::Foundation::IInspectable const& namespaces) const; + auto SelectNodesNS(param::hstring const& xpath, winrt::Windows::Foundation::IInspectable const& namespaces) const; }; template <> struct consume { @@ -718,9 +717,9 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlNodeSerializer { - WINRT_IMPL_AUTO(hstring) GetXml() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) InnerText() const; - WINRT_IMPL_AUTO(void) InnerText(param::hstring const& value) const; + auto GetXml() const; + [[nodiscard]] auto InnerText() const; + auto InnerText(param::hstring const& value) const; }; template <> struct consume { @@ -729,9 +728,9 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Target() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Data() const; - WINRT_IMPL_AUTO(void) Data(param::hstring const& value) const; + [[nodiscard]] auto Target() const; + [[nodiscard]] auto Data() const; + auto Data(param::hstring const& value) const; }; template <> struct consume { @@ -740,7 +739,7 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Dom_IXmlText { - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlText) SplitText(uint32_t offset) const; + auto SplitText(uint32_t offset) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.1.h index 905076fe..9a3b282c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Xml_Dom_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.2.h index aff29120..126b1f55 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Xml_Dom_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.0.h index 7c67d8c2..5f9c5ee2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Xml_Xsl_0_H @@ -53,7 +53,7 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Xsl_IXsltProcessor { - WINRT_IMPL_AUTO(hstring) TransformToString(winrt::Windows::Data::Xml::Dom::IXmlNode const& inputNode) const; + auto TransformToString(winrt::Windows::Data::Xml::Dom::IXmlNode const& inputNode) const; }; template <> struct consume { @@ -62,7 +62,7 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Xsl_IXsltProcessor2 { - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) TransformToDocument(winrt::Windows::Data::Xml::Dom::IXmlNode const& inputNode) const; + auto TransformToDocument(winrt::Windows::Data::Xml::Dom::IXmlNode const& inputNode) const; }; template <> struct consume { @@ -71,7 +71,7 @@ namespace winrt::impl template struct consume_Windows_Data_Xml_Xsl_IXsltProcessorFactory { - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Xsl::XsltProcessor) CreateInstance(winrt::Windows::Data::Xml::Dom::XmlDocument const& document) const; + auto CreateInstance(winrt::Windows::Data::Xml::Dom::XmlDocument const& document) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.1.h index 786e6457..622e706c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Xml_Xsl_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.2.h index d29c0e86..dfe7946a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Data_Xml_Xsl_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.0.h index a1d81d7d..f58e2e18 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_0_H @@ -87,11 +87,11 @@ namespace winrt::impl template struct consume_Windows_Devices_ILowLevelDevicesAggregateProvider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider) AdcControllerProvider() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider) PwmControllerProvider() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::IGpioControllerProvider) GpioControllerProvider() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::II2cControllerProvider) I2cControllerProvider() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ISpiControllerProvider) SpiControllerProvider() const; + [[nodiscard]] auto AdcControllerProvider() const; + [[nodiscard]] auto PwmControllerProvider() const; + [[nodiscard]] auto GpioControllerProvider() const; + [[nodiscard]] auto I2cControllerProvider() const; + [[nodiscard]] auto SpiControllerProvider() const; }; template <> struct consume { @@ -100,7 +100,7 @@ namespace winrt::impl template struct consume_Windows_Devices_ILowLevelDevicesAggregateProviderFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::LowLevelDevicesAggregateProvider) Create(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider const& adc, winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider const& pwm, winrt::Windows::Devices::Gpio::Provider::IGpioControllerProvider const& gpio, winrt::Windows::Devices::I2c::Provider::II2cControllerProvider const& i2c, winrt::Windows::Devices::Spi::Provider::ISpiControllerProvider const& spi) const; + auto Create(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider const& adc, winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider const& pwm, winrt::Windows::Devices::Gpio::Provider::IGpioControllerProvider const& gpio, winrt::Windows::Devices::I2c::Provider::II2cControllerProvider const& i2c, winrt::Windows::Devices::Spi::Provider::ISpiControllerProvider const& spi) const; }; template <> struct consume { @@ -117,8 +117,8 @@ namespace winrt::impl template struct consume_Windows_Devices_ILowLevelDevicesControllerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::ILowLevelDevicesAggregateProvider) DefaultProvider() const; - WINRT_IMPL_AUTO(void) DefaultProvider(winrt::Windows::Devices::ILowLevelDevicesAggregateProvider const& value) const; + [[nodiscard]] auto DefaultProvider() const; + auto DefaultProvider(winrt::Windows::Devices::ILowLevelDevicesAggregateProvider const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.1.h index 8099f220..3fd3a338 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.2.h index 2143f199..bef6f36e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.0.h index e7bbeb27..da69e681 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Adc_0_H @@ -7,14 +7,6 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Adc::Provider { struct IAdcProvider; } -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Devices::Adc { enum class AdcChannelMode : int32_t @@ -91,9 +83,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Adc_IAdcChannel { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Adc::AdcController) Controller() const; - WINRT_IMPL_AUTO(int32_t) ReadValue() const; - WINRT_IMPL_AUTO(double) ReadRatio() const; + [[nodiscard]] auto Controller() const; + auto ReadValue() const; + auto ReadRatio() const; }; template <> struct consume { @@ -102,14 +94,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Adc_IAdcController { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ChannelCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ResolutionInBits() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MinValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Adc::AdcChannelMode) ChannelMode() const; - WINRT_IMPL_AUTO(void) ChannelMode(winrt::Windows::Devices::Adc::AdcChannelMode const& value) const; - WINRT_IMPL_AUTO(bool) IsChannelModeSupported(winrt::Windows::Devices::Adc::AdcChannelMode const& channelMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Adc::AdcChannel) OpenChannel(int32_t channelNumber) const; + [[nodiscard]] auto ChannelCount() const; + [[nodiscard]] auto ResolutionInBits() const; + [[nodiscard]] auto MinValue() const; + [[nodiscard]] auto MaxValue() const; + [[nodiscard]] auto ChannelMode() const; + auto ChannelMode(winrt::Windows::Devices::Adc::AdcChannelMode const& value) const; + auto IsChannelModeSupported(winrt::Windows::Devices::Adc::AdcChannelMode const& channelMode) const; + auto OpenChannel(int32_t channelNumber) const; }; template <> struct consume { @@ -118,7 +110,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Adc_IAdcControllerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetControllersAsync(winrt::Windows::Devices::Adc::Provider::IAdcProvider const& provider) const; + auto GetControllersAsync(winrt::Windows::Devices::Adc::Provider::IAdcProvider const& provider) const; }; template <> struct consume { @@ -127,7 +119,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Adc_IAdcControllerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; + auto GetDefaultAsync() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.1.h index fc7c5737..a16e2225 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Adc_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.2.h index 3e129a93..11631a68 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Adc_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.0.h index e6e88089..a0ee4274 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.0.h @@ -1,12 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Adc_Provider_0_H #define WINRT_Windows_Devices_Adc_Provider_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Devices::Adc::Provider { enum class ProviderAdcChannelMode : int32_t @@ -53,16 +49,16 @@ namespace winrt::impl template struct consume_Windows_Devices_Adc_Provider_IAdcControllerProvider { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ChannelCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ResolutionInBits() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MinValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode) ChannelMode() const; - WINRT_IMPL_AUTO(void) ChannelMode(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode const& value) const; - WINRT_IMPL_AUTO(bool) IsChannelModeSupported(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode const& channelMode) const; - WINRT_IMPL_AUTO(void) AcquireChannel(int32_t channel) const; - WINRT_IMPL_AUTO(void) ReleaseChannel(int32_t channel) const; - WINRT_IMPL_AUTO(int32_t) ReadValue(int32_t channelNumber) const; + [[nodiscard]] auto ChannelCount() const; + [[nodiscard]] auto ResolutionInBits() const; + [[nodiscard]] auto MinValue() const; + [[nodiscard]] auto MaxValue() const; + [[nodiscard]] auto ChannelMode() const; + auto ChannelMode(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode const& value) const; + auto IsChannelModeSupported(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode const& channelMode) const; + auto AcquireChannel(int32_t channel) const; + auto ReleaseChannel(int32_t channel) const; + auto ReadValue(int32_t channelNumber) const; }; template <> struct consume { @@ -71,7 +67,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Adc_Provider_IAdcProvider { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetControllers() const; + auto GetControllers() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.1.h index 7779f741..fb34906b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Adc_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.2.h index c4ff28a4..aab66210 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Adc_Provider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.0.h index 036ff058..c2901b1d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_AllJoyn_0_H @@ -11,7 +11,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; @@ -19,10 +18,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Globalization { @@ -39,7 +34,6 @@ WINRT_EXPORT namespace winrt::Windows::Security::Credentials WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Certificates { struct Certificate; - enum class ChainValidationResult : int32_t; } WINRT_EXPORT namespace winrt::Windows::Devices::AllJoyn { @@ -756,27 +750,27 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynAboutData { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DefaultAppName() const; - WINRT_IMPL_AUTO(void) DefaultAppName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) AppNames() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DateOfManufacture() const; - WINRT_IMPL_AUTO(void) DateOfManufacture(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DefaultDescription() const; - WINRT_IMPL_AUTO(void) DefaultDescription(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Descriptions() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DefaultManufacturer() const; - WINRT_IMPL_AUTO(void) DefaultManufacturer(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Manufacturers() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ModelNumber() const; - WINRT_IMPL_AUTO(void) ModelNumber(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SoftwareVersion() const; - WINRT_IMPL_AUTO(void) SoftwareVersion(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) SupportUrl() const; - WINRT_IMPL_AUTO(void) SupportUrl(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) AppId() const; - WINRT_IMPL_AUTO(void) AppId(winrt::guid const& value) const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto DefaultAppName() const; + auto DefaultAppName(param::hstring const& value) const; + [[nodiscard]] auto AppNames() const; + [[nodiscard]] auto DateOfManufacture() const; + auto DateOfManufacture(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto DefaultDescription() const; + auto DefaultDescription(param::hstring const& value) const; + [[nodiscard]] auto Descriptions() const; + [[nodiscard]] auto DefaultManufacturer() const; + auto DefaultManufacturer(param::hstring const& value) const; + [[nodiscard]] auto Manufacturers() const; + [[nodiscard]] auto ModelNumber() const; + auto ModelNumber(param::hstring const& value) const; + [[nodiscard]] auto SoftwareVersion() const; + auto SoftwareVersion(param::hstring const& value) const; + [[nodiscard]] auto SupportUrl() const; + auto SupportUrl(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto AppId() const; + auto AppId(winrt::guid const& value) const; }; template <> struct consume { @@ -785,22 +779,22 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AJSoftwareVersion() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) AppId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DateOfManufacture() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) DefaultLanguage() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HardwareVersion() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ModelNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SoftwareVersion() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedLanguages() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) SupportUrl() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Manufacturer() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto AJSoftwareVersion() const; + [[nodiscard]] auto AppId() const; + [[nodiscard]] auto DateOfManufacture() const; + [[nodiscard]] auto DefaultLanguage() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto HardwareVersion() const; + [[nodiscard]] auto ModelNumber() const; + [[nodiscard]] auto SoftwareVersion() const; + [[nodiscard]] auto SupportedLanguages() const; + [[nodiscard]] auto SupportUrl() const; + [[nodiscard]] auto AppName() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto DeviceName() const; + [[nodiscard]] auto Manufacturer() const; }; template <> struct consume { @@ -809,8 +803,8 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynAboutDataViewStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDataBySessionPortAsync(param::hstring const& uniqueName, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment, uint16_t sessionPort) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDataBySessionPortAsync(param::hstring const& uniqueName, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment, uint16_t sessionPort, winrt::Windows::Globalization::Language const& language) const; + auto GetDataBySessionPortAsync(param::hstring const& uniqueName, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment, uint16_t sessionPort) const; + auto GetDataBySessionPortAsync(param::hstring const& uniqueName, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment, uint16_t sessionPort, winrt::Windows::Globalization::Language const& language) const; }; template <> struct consume { @@ -819,7 +813,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoiner { - WINRT_IMPL_AUTO(void) Accept() const; + auto Accept() const; }; template <> struct consume { @@ -828,12 +822,12 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UniqueName() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) SessionPort() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynTrafficType) TrafficType() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SamePhysicalNode() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SameNetwork() const; - WINRT_IMPL_AUTO(void) Accept() const; + [[nodiscard]] auto UniqueName() const; + [[nodiscard]] auto SessionPort() const; + [[nodiscard]] auto TrafficType() const; + [[nodiscard]] auto SamePhysicalNode() const; + [[nodiscard]] auto SameNetwork() const; + auto Accept() const; }; template <> struct consume { @@ -842,7 +836,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynAcceptSessionJoinerEventArgs) Create(param::hstring const& uniqueName, uint16_t sessionPort, winrt::Windows::Devices::AllJoyn::AllJoynTrafficType const& trafficType, uint8_t proximity, winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoiner const& acceptSessionJoiner) const; + auto Create(param::hstring const& uniqueName, uint16_t sessionPort, winrt::Windows::Devices::AllJoyn::AllJoynTrafficType const& trafficType, uint8_t proximity, winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoiner const& acceptSessionJoiner) const; }; template <> struct consume { @@ -851,9 +845,9 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynAuthenticationCompleteEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism) AuthenticationMechanism() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PeerUniqueName() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Succeeded() const; + [[nodiscard]] auto AuthenticationMechanism() const; + [[nodiscard]] auto PeerUniqueName() const; + [[nodiscard]] auto Succeeded() const; }; template <> struct consume { @@ -862,30 +856,30 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynAboutData) AboutData() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ConnectionSpecification() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UniqueName() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PingAsync(param::hstring const& uniqueName) const; - WINRT_IMPL_AUTO(void) Connect() const; - WINRT_IMPL_AUTO(void) Disconnect() const; - WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AboutData() const; + [[nodiscard]] auto ConnectionSpecification() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto UniqueName() const; + auto PingAsync(param::hstring const& uniqueName) const; + auto Connect() const; + auto Disconnect() const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; - [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StateChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) AuthenticationMechanisms() const; - WINRT_IMPL_AUTO(winrt::event_token) CredentialsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AuthenticationMechanisms() const; + auto CredentialsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CredentialsRequested_revoker = impl::event_revoker::remove_CredentialsRequested>; - [[nodiscard]] CredentialsRequested_revoker CredentialsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CredentialsRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CredentialsVerificationRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CredentialsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CredentialsRequested(winrt::event_token const& token) const noexcept; + auto CredentialsVerificationRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CredentialsVerificationRequested_revoker = impl::event_revoker::remove_CredentialsVerificationRequested>; - [[nodiscard]] CredentialsVerificationRequested_revoker CredentialsVerificationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CredentialsVerificationRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AuthenticationComplete(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CredentialsVerificationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CredentialsVerificationRequested(winrt::event_token const& token) const noexcept; + auto AuthenticationComplete(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AuthenticationComplete_revoker = impl::event_revoker::remove_AuthenticationComplete>; - [[nodiscard]] AuthenticationComplete_revoker AuthenticationComplete(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AuthenticationComplete(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AuthenticationComplete(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AuthenticationComplete(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -894,16 +888,16 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAboutDataAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAboutDataAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo, winrt::Windows::Globalization::Language const& language) const; - WINRT_IMPL_AUTO(winrt::event_token) AcceptSessionJoinerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetAboutDataAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo) const; + auto GetAboutDataAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo, winrt::Windows::Globalization::Language const& language) const; + auto AcceptSessionJoinerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AcceptSessionJoinerRequested_revoker = impl::event_revoker::remove_AcceptSessionJoinerRequested>; - [[nodiscard]] AcceptSessionJoinerRequested_revoker AcceptSessionJoinerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AcceptSessionJoinerRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SessionJoined(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AcceptSessionJoinerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AcceptSessionJoinerRequested(winrt::event_token const& token) const noexcept; + auto SessionJoined(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SessionJoined_revoker = impl::event_revoker::remove_SessionJoined>; - [[nodiscard]] SessionJoined_revoker SessionJoined(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SessionJoined(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SessionJoined(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SessionJoined(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -912,7 +906,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment) Create(param::hstring const& connectionSpecification) const; + auto Create(param::hstring const& connectionSpecification) const; }; template <> struct consume { @@ -921,8 +915,8 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Status() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -931,8 +925,8 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) GetWatcher(param::iterable const& requiredInterfaces) const; + auto GetDefault() const; + auto GetWatcher(param::iterable const& requiredInterfaces) const; }; template <> struct consume { @@ -941,15 +935,15 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynBusObject { - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(void) AddProducer(winrt::Windows::Devices::AllJoyn::IAllJoynProducer const& producer) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment) BusAttachment() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSession) Session() const; - WINRT_IMPL_AUTO(winrt::event_token) Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Start() const; + auto Stop() const; + auto AddProducer(winrt::Windows::Devices::AllJoyn::IAllJoynProducer const& producer) const; + [[nodiscard]] auto BusAttachment() const; + [[nodiscard]] auto Session() const; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Stopped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -958,8 +952,8 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynBusObjectFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusObject) Create(param::hstring const& objectPath) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusObject) CreateWithBusAttachment(param::hstring const& objectPath, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment) const; + auto Create(param::hstring const& objectPath) const; + auto CreateWithBusAttachment(param::hstring const& objectPath, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment) const; }; template <> struct consume { @@ -968,7 +962,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynBusObjectStoppedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -977,7 +971,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynBusObjectStoppedEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusObjectStoppedEventArgs) Create(int32_t status) const; + auto Create(int32_t status) const; }; template <> struct consume { @@ -986,13 +980,13 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynCredentials { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism) AuthenticationMechanism() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) Certificate() const; - WINRT_IMPL_AUTO(void) Certificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) PasswordCredential() const; - WINRT_IMPL_AUTO(void) PasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Timeout() const; - WINRT_IMPL_AUTO(void) Timeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto AuthenticationMechanism() const; + [[nodiscard]] auto Certificate() const; + auto Certificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; + [[nodiscard]] auto PasswordCredential() const; + auto PasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + [[nodiscard]] auto Timeout() const; + auto Timeout(winrt::Windows::Foundation::TimeSpan const& value) const; }; template <> struct consume { @@ -1001,11 +995,11 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) AttemptCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynCredentials) Credentials() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PeerUniqueName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RequestedUserName() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto AttemptCount() const; + [[nodiscard]] auto Credentials() const; + [[nodiscard]] auto PeerUniqueName() const; + [[nodiscard]] auto RequestedUserName() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1014,14 +1008,14 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism) AuthenticationMechanism() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PeerUniqueName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) PeerCertificate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) PeerCertificateErrorSeverity() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PeerCertificateErrors() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PeerIntermediateCertificates() const; - WINRT_IMPL_AUTO(void) Accept() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto AuthenticationMechanism() const; + [[nodiscard]] auto PeerUniqueName() const; + [[nodiscard]] auto PeerCertificate() const; + [[nodiscard]] auto PeerCertificateErrorSeverity() const; + [[nodiscard]] auto PeerCertificateErrors() const; + [[nodiscard]] auto PeerIntermediateCertificates() const; + auto Accept() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1030,7 +1024,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynMessageInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SenderUniqueName() const; + [[nodiscard]] auto SenderUniqueName() const; }; template <> struct consume { @@ -1039,7 +1033,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynMessageInfoFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynMessageInfo) Create(param::hstring const& senderUniqueName) const; + auto Create(param::hstring const& senderUniqueName) const; }; template <> struct consume { @@ -1048,7 +1042,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynProducer { - WINRT_IMPL_AUTO(void) SetBusObject(winrt::Windows::Devices::AllJoyn::AllJoynBusObject const& busObject) const; + auto SetBusObject(winrt::Windows::Devices::AllJoyn::AllJoynBusObject const& busObject) const; }; template <> struct consume { @@ -1057,7 +1051,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynProducerStoppedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -1066,7 +1060,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynProducerStoppedEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynProducerStoppedEventArgs) Create(int32_t status) const; + auto Create(int32_t status) const; }; template <> struct consume { @@ -1075,9 +1069,9 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynServiceInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UniqueName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ObjectPath() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) SessionPort() const; + [[nodiscard]] auto UniqueName() const; + [[nodiscard]] auto ObjectPath() const; + [[nodiscard]] auto SessionPort() const; }; template <> struct consume { @@ -1086,7 +1080,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo) Create(param::hstring const& uniqueName, param::hstring const& objectPath, uint16_t sessionPort) const; + auto Create(param::hstring const& uniqueName, param::hstring const& objectPath, uint16_t sessionPort) const; }; template <> struct consume { @@ -1095,7 +1089,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoRemovedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UniqueName() const; + [[nodiscard]] auto UniqueName() const; }; template <> struct consume { @@ -1104,7 +1098,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoRemovedEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfoRemovedEventArgs) Create(param::hstring const& uniqueName) const; + auto Create(param::hstring const& uniqueName) const; }; template <> struct consume { @@ -1113,7 +1107,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { @@ -1122,21 +1116,21 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynSession { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Status() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RemoveMemberAsync(param::hstring const& uniqueName) const; - WINRT_IMPL_AUTO(winrt::event_token) MemberAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Status() const; + auto RemoveMemberAsync(param::hstring const& uniqueName) const; + auto MemberAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MemberAdded_revoker = impl::event_revoker::remove_MemberAdded>; - [[nodiscard]] MemberAdded_revoker MemberAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MemberAdded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MemberRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MemberAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MemberAdded(winrt::event_token const& token) const noexcept; + auto MemberRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MemberRemoved_revoker = impl::event_revoker::remove_MemberRemoved>; - [[nodiscard]] MemberRemoved_revoker MemberRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MemberRemoved(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Lost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MemberRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MemberRemoved(winrt::event_token const& token) const noexcept; + auto Lost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Lost_revoker = impl::event_revoker::remove_Lost>; - [[nodiscard]] Lost_revoker Lost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Lost(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Lost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Lost(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1145,7 +1139,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynSessionJoinedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSession) Session() const; + [[nodiscard]] auto Session() const; }; template <> struct consume { @@ -1154,7 +1148,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynSessionJoinedEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSessionJoinedEventArgs) Create(winrt::Windows::Devices::AllJoyn::AllJoynSession const& session) const; + auto Create(winrt::Windows::Devices::AllJoyn::AllJoynSession const& session) const; }; template <> struct consume { @@ -1163,7 +1157,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynSessionLostEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSessionLostReason) Reason() const; + [[nodiscard]] auto Reason() const; }; template <> struct consume { @@ -1172,7 +1166,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynSessionLostEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSessionLostEventArgs) Create(winrt::Windows::Devices::AllJoyn::AllJoynSessionLostReason const& reason) const; + auto Create(winrt::Windows::Devices::AllJoyn::AllJoynSessionLostReason const& reason) const; }; template <> struct consume { @@ -1181,7 +1175,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberAddedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UniqueName() const; + [[nodiscard]] auto UniqueName() const; }; template <> struct consume { @@ -1190,7 +1184,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberAddedEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberAddedEventArgs) Create(param::hstring const& uniqueName) const; + auto Create(param::hstring const& uniqueName) const; }; template <> struct consume { @@ -1199,7 +1193,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberRemovedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UniqueName() const; + [[nodiscard]] auto UniqueName() const; }; template <> struct consume { @@ -1208,7 +1202,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberRemovedEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberRemovedEventArgs) Create(param::hstring const& uniqueName) const; + auto Create(param::hstring const& uniqueName) const; }; template <> struct consume { @@ -1217,8 +1211,8 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynSessionStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFromServiceInfoAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFromServiceInfoAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment) const; + auto GetFromServiceInfoAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo) const; + auto GetFromServiceInfoAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment) const; }; template <> struct consume { @@ -1227,24 +1221,24 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Ok() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Fail() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) OperationTimedOut() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) OtherEndClosed() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ConnectionRefused() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) AuthenticationFailed() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) AuthenticationRejectedByUser() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SslConnectFailed() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SslIdentityVerificationFailed() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) InsufficientSecurity() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) InvalidArgument1() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) InvalidArgument2() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) InvalidArgument3() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) InvalidArgument4() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) InvalidArgument5() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) InvalidArgument6() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) InvalidArgument7() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) InvalidArgument8() const; + [[nodiscard]] auto Ok() const; + [[nodiscard]] auto Fail() const; + [[nodiscard]] auto OperationTimedOut() const; + [[nodiscard]] auto OtherEndClosed() const; + [[nodiscard]] auto ConnectionRefused() const; + [[nodiscard]] auto AuthenticationFailed() const; + [[nodiscard]] auto AuthenticationRejectedByUser() const; + [[nodiscard]] auto SslConnectFailed() const; + [[nodiscard]] auto SslIdentityVerificationFailed() const; + [[nodiscard]] auto InsufficientSecurity() const; + [[nodiscard]] auto InvalidArgument1() const; + [[nodiscard]] auto InvalidArgument2() const; + [[nodiscard]] auto InvalidArgument3() const; + [[nodiscard]] auto InvalidArgument4() const; + [[nodiscard]] auto InvalidArgument5() const; + [[nodiscard]] auto InvalidArgument6() const; + [[nodiscard]] auto InvalidArgument7() const; + [[nodiscard]] auto InvalidArgument8() const; }; template <> struct consume { @@ -1253,7 +1247,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynWatcherStoppedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -1262,7 +1256,7 @@ namespace winrt::impl template struct consume_Windows_Devices_AllJoyn_IAllJoynWatcherStoppedEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynWatcherStoppedEventArgs) Create(int32_t status) const; + auto Create(int32_t status) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.1.h index a24f182e..29ee0d2e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_AllJoyn_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.2.h index a445ceea..8d4058de 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_AllJoyn_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.0.h index 39c7737a..c98df555 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Background_0_H @@ -47,9 +47,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Background_IDeviceServicingDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Arguments() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) ExpectedDuration() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Arguments() const; + [[nodiscard]] auto ExpectedDuration() const; }; template <> struct consume { @@ -58,8 +58,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Background_IDeviceUseDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Arguments() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Arguments() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.1.h index 6e70789d..48eadf56 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Background_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.2.h index ea47d81c..1a1c949e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Background_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.0.h index 606d9a54..3a493dbe 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_0_H @@ -6,43 +6,26 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::GenericAttributeProfile { struct GattDeviceService; - struct GattDeviceServicesResult; } WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Rfcomm { - struct RfcommDeviceService; - struct RfcommDeviceServicesResult; struct RfcommServiceId; } WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration { struct DeviceAccessInformation; - enum class DeviceAccessStatus : int32_t; struct DeviceInformation; } -WINRT_EXPORT namespace winrt::Windows::Devices::Radios -{ - struct Radio; -} WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Networking { struct HostName; } -WINRT_EXPORT namespace winrt::Windows::Storage::Streams -{ - struct IBuffer; -} WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth { enum class BluetoothAddressType : int32_t @@ -666,14 +649,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothAdapter { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) BluetoothAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsClassicSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLowEnergySupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPeripheralRoleSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCentralRoleSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAdvertisementOffloadSupported() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetRadioAsync() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto BluetoothAddress() const; + [[nodiscard]] auto IsClassicSupported() const; + [[nodiscard]] auto IsLowEnergySupported() const; + [[nodiscard]] auto IsPeripheralRoleSupported() const; + [[nodiscard]] auto IsCentralRoleSupported() const; + [[nodiscard]] auto IsAdvertisementOffloadSupported() const; + auto GetRadioAsync() const; }; template <> struct consume { @@ -682,8 +665,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothAdapter2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreClassicSecureConnectionsSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreLowEnergySecureConnectionsSupported() const; + [[nodiscard]] auto AreClassicSecureConnectionsSupported() const; + [[nodiscard]] auto AreLowEnergySecureConnectionsSupported() const; }; template <> struct consume { @@ -692,8 +675,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothAdapter3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsExtendedAdvertisingSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxAdvertisementDataLength() const; + [[nodiscard]] auto IsExtendedAdvertisingSupported() const; + [[nodiscard]] auto MaxAdvertisementDataLength() const; }; template <> struct consume { @@ -702,9 +685,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothAdapterStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDefaultAsync() const; }; template <> struct consume { @@ -713,10 +696,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) RawValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothMajorClass) MajorClass() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothMinorClass) MinorClass() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities) ServiceCapabilities() const; + [[nodiscard]] auto RawValue() const; + [[nodiscard]] auto MajorClass() const; + [[nodiscard]] auto MinorClass() const; + [[nodiscard]] auto ServiceCapabilities() const; }; template <> struct consume { @@ -725,8 +708,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothClassOfDeviceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice) FromRawValue(uint32_t rawValue) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice) FromParts(winrt::Windows::Devices::Bluetooth::BluetoothMajorClass const& majorClass, winrt::Windows::Devices::Bluetooth::BluetoothMinorClass const& minorClass, winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities const& serviceCapabilities) const; + auto FromRawValue(uint32_t rawValue) const; + auto FromParts(winrt::Windows::Devices::Bluetooth::BluetoothMajorClass const& majorClass, winrt::Windows::Devices::Bluetooth::BluetoothMinorClass const& minorClass, winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities const& serviceCapabilities) const; }; template <> struct consume { @@ -735,26 +718,26 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothDevice { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) HostName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice) ClassOfDevice() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SdpRecords() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) RfcommServices() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus) ConnectionStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) BluetoothAddress() const; - WINRT_IMPL_AUTO(winrt::event_token) NameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto HostName() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto ClassOfDevice() const; + [[nodiscard]] auto SdpRecords() const; + [[nodiscard]] auto RfcommServices() const; + [[nodiscard]] auto ConnectionStatus() const; + [[nodiscard]] auto BluetoothAddress() const; + auto NameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NameChanged_revoker = impl::event_revoker::remove_NameChanged>; - [[nodiscard]] NameChanged_revoker NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NameChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SdpRecordsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NameChanged(winrt::event_token const& token) const noexcept; + auto SdpRecordsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SdpRecordsChanged_revoker = impl::event_revoker::remove_SdpRecordsChanged>; - [[nodiscard]] SdpRecordsChanged_revoker SdpRecordsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SdpRecordsChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SdpRecordsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SdpRecordsChanged(winrt::event_token const& token) const noexcept; + auto ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ConnectionStatusChanged_revoker = impl::event_revoker::remove_ConnectionStatusChanged>; - [[nodiscard]] ConnectionStatusChanged_revoker ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ConnectionStatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConnectionStatusChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -763,7 +746,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothDevice2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) DeviceInformation() const; + [[nodiscard]] auto DeviceInformation() const; }; template <> struct consume { @@ -772,12 +755,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothDevice3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) DeviceAccessInformation() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetRfcommServicesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetRfcommServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetRfcommServicesForIdAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetRfcommServicesForIdAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + [[nodiscard]] auto DeviceAccessInformation() const; + auto RequestAccessAsync() const; + auto GetRfcommServicesAsync() const; + auto GetRfcommServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetRfcommServicesForIdAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const; + auto GetRfcommServicesForIdAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; }; template <> struct consume { @@ -786,7 +769,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothDevice4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId) BluetoothDeviceId() const; + [[nodiscard]] auto BluetoothDeviceId() const; }; template <> struct consume { @@ -795,7 +778,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothDevice5 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) WasSecureConnectionUsedForPairing() const; + [[nodiscard]] auto WasSecureConnectionUsedForPairing() const; }; template <> struct consume { @@ -804,9 +787,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothDeviceId { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsClassicDevice() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLowEnergyDevice() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto IsClassicDevice() const; + [[nodiscard]] auto IsLowEnergyDevice() const; }; template <> struct consume { @@ -815,7 +798,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothDeviceIdStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId) FromId(param::hstring const& deviceId) const; + auto FromId(param::hstring const& deviceId) const; }; template <> struct consume { @@ -824,10 +807,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromHostNameAsync(winrt::Windows::Networking::HostName const& hostName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromBluetoothAddressAsync(uint64_t address) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto FromHostNameAsync(winrt::Windows::Networking::HostName const& hostName) const; + auto FromBluetoothAddressAsync(uint64_t address) const; + auto GetDeviceSelector() const; }; template <> struct consume { @@ -836,11 +819,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2 { - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorFromPairingState(bool pairingState) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorFromConnectionStatus(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus const& connectionStatus) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorFromDeviceName(param::hstring const& deviceName) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorFromClassOfDevice(winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice const& classOfDevice) const; + auto GetDeviceSelectorFromPairingState(bool pairingState) const; + auto GetDeviceSelectorFromConnectionStatus(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus const& connectionStatus) const; + auto GetDeviceSelectorFromDeviceName(param::hstring const& deviceName) const; + auto GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress) const; + auto GetDeviceSelectorFromClassOfDevice(winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice const& classOfDevice) const; }; template <> struct consume { @@ -849,9 +832,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothLEAppearance { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) RawValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Category() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) SubCategory() const; + [[nodiscard]] auto RawValue() const; + [[nodiscard]] auto Category() const; + [[nodiscard]] auto SubCategory() const; }; template <> struct consume { @@ -860,28 +843,28 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Uncategorized() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Phone() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Computer() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Watch() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Clock() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Display() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) RemoteControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) EyeGlasses() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Tag() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Keyring() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) MediaPlayer() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) BarcodeScanner() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Thermometer() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) HeartRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) BloodPressure() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) HumanInterfaceDevice() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) GlucoseMeter() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) RunningWalking() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Cycling() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) PulseOximeter() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) WeightScale() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) OutdoorSportActivity() const; + [[nodiscard]] auto Uncategorized() const; + [[nodiscard]] auto Phone() const; + [[nodiscard]] auto Computer() const; + [[nodiscard]] auto Watch() const; + [[nodiscard]] auto Clock() const; + [[nodiscard]] auto Display() const; + [[nodiscard]] auto RemoteControl() const; + [[nodiscard]] auto EyeGlasses() const; + [[nodiscard]] auto Tag() const; + [[nodiscard]] auto Keyring() const; + [[nodiscard]] auto MediaPlayer() const; + [[nodiscard]] auto BarcodeScanner() const; + [[nodiscard]] auto Thermometer() const; + [[nodiscard]] auto HeartRate() const; + [[nodiscard]] auto BloodPressure() const; + [[nodiscard]] auto HumanInterfaceDevice() const; + [[nodiscard]] auto GlucoseMeter() const; + [[nodiscard]] auto RunningWalking() const; + [[nodiscard]] auto Cycling() const; + [[nodiscard]] auto PulseOximeter() const; + [[nodiscard]] auto WeightScale() const; + [[nodiscard]] auto OutdoorSportActivity() const; }; template <> struct consume { @@ -890,8 +873,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance) FromRawValue(uint16_t rawValue) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance) FromParts(uint16_t appearanceCategory, uint16_t appearanceSubCategory) const; + auto FromRawValue(uint16_t rawValue) const; + auto FromParts(uint16_t appearanceCategory, uint16_t appearanceSubCategory) const; }; template <> struct consume { @@ -900,34 +883,34 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Generic() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) SportsWatch() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) ThermometerEar() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) HeartRateBelt() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) BloodPressureArm() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) BloodPressureWrist() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Keyboard() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Mouse() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Joystick() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Gamepad() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) DigitizerTablet() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) CardReader() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) DigitalPen() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) BarcodeScanner() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) RunningWalkingInShoe() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) RunningWalkingOnShoe() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) RunningWalkingOnHip() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) CyclingComputer() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) CyclingSpeedSensor() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) CyclingCadenceSensor() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) CyclingPowerSensor() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) CyclingSpeedCadenceSensor() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) OximeterFingertip() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) OximeterWristWorn() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) LocationDisplay() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) LocationNavigationDisplay() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) LocationPod() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) LocationNavigationPod() const; + [[nodiscard]] auto Generic() const; + [[nodiscard]] auto SportsWatch() const; + [[nodiscard]] auto ThermometerEar() const; + [[nodiscard]] auto HeartRateBelt() const; + [[nodiscard]] auto BloodPressureArm() const; + [[nodiscard]] auto BloodPressureWrist() const; + [[nodiscard]] auto Keyboard() const; + [[nodiscard]] auto Mouse() const; + [[nodiscard]] auto Joystick() const; + [[nodiscard]] auto Gamepad() const; + [[nodiscard]] auto DigitizerTablet() const; + [[nodiscard]] auto CardReader() const; + [[nodiscard]] auto DigitalPen() const; + [[nodiscard]] auto BarcodeScanner() const; + [[nodiscard]] auto RunningWalkingInShoe() const; + [[nodiscard]] auto RunningWalkingOnShoe() const; + [[nodiscard]] auto RunningWalkingOnHip() const; + [[nodiscard]] auto CyclingComputer() const; + [[nodiscard]] auto CyclingSpeedSensor() const; + [[nodiscard]] auto CyclingCadenceSensor() const; + [[nodiscard]] auto CyclingPowerSensor() const; + [[nodiscard]] auto CyclingSpeedCadenceSensor() const; + [[nodiscard]] auto OximeterFingertip() const; + [[nodiscard]] auto OximeterWristWorn() const; + [[nodiscard]] auto LocationDisplay() const; + [[nodiscard]] auto LocationNavigationDisplay() const; + [[nodiscard]] auto LocationPod() const; + [[nodiscard]] auto LocationNavigationPod() const; }; template <> struct consume { @@ -936,24 +919,24 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothLEDevice { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GattServices() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus) ConnectionStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) BluetoothAddress() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService) GetGattService(winrt::guid const& serviceUuid) const; - WINRT_IMPL_AUTO(winrt::event_token) NameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto GattServices() const; + [[nodiscard]] auto ConnectionStatus() const; + [[nodiscard]] auto BluetoothAddress() const; + auto GetGattService(winrt::guid const& serviceUuid) const; + auto NameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NameChanged_revoker = impl::event_revoker::remove_NameChanged>; - [[nodiscard]] NameChanged_revoker NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NameChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) GattServicesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NameChanged(winrt::event_token const& token) const noexcept; + auto GattServicesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using GattServicesChanged_revoker = impl::event_revoker::remove_GattServicesChanged>; - [[nodiscard]] GattServicesChanged_revoker GattServicesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GattServicesChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto GattServicesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GattServicesChanged(winrt::event_token const& token) const noexcept; + auto ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ConnectionStatusChanged_revoker = impl::event_revoker::remove_ConnectionStatusChanged>; - [[nodiscard]] ConnectionStatusChanged_revoker ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ConnectionStatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConnectionStatusChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -962,9 +945,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothLEDevice2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) DeviceInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance) Appearance() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothAddressType) BluetoothAddressType() const; + [[nodiscard]] auto DeviceInformation() const; + [[nodiscard]] auto Appearance() const; + [[nodiscard]] auto BluetoothAddressType() const; }; template <> struct consume { @@ -973,12 +956,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) DeviceAccessInformation() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetGattServicesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetGattServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetGattServicesForUuidAsync(winrt::guid const& serviceUuid) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetGattServicesForUuidAsync(winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + [[nodiscard]] auto DeviceAccessInformation() const; + auto RequestAccessAsync() const; + auto GetGattServicesAsync() const; + auto GetGattServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetGattServicesForUuidAsync(winrt::guid const& serviceUuid) const; + auto GetGattServicesForUuidAsync(winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; }; template <> struct consume { @@ -987,7 +970,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothLEDevice4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId) BluetoothDeviceId() const; + [[nodiscard]] auto BluetoothDeviceId() const; }; template <> struct consume { @@ -996,7 +979,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothLEDevice5 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) WasSecureConnectionUsedForPairing() const; + [[nodiscard]] auto WasSecureConnectionUsedForPairing() const; }; template <> struct consume { @@ -1005,9 +988,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromBluetoothAddressAsync(uint64_t bluetoothAddress) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto FromBluetoothAddressAsync(uint64_t bluetoothAddress) const; + auto GetDeviceSelector() const; }; template <> struct consume { @@ -1016,13 +999,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2 { - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorFromPairingState(bool pairingState) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorFromConnectionStatus(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus const& connectionStatus) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorFromDeviceName(param::hstring const& deviceName) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress, winrt::Windows::Devices::Bluetooth::BluetoothAddressType const& bluetoothAddressType) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorFromAppearance(winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance const& appearance) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromBluetoothAddressAsync(uint64_t bluetoothAddress, winrt::Windows::Devices::Bluetooth::BluetoothAddressType const& bluetoothAddressType) const; + auto GetDeviceSelectorFromPairingState(bool pairingState) const; + auto GetDeviceSelectorFromConnectionStatus(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus const& connectionStatus) const; + auto GetDeviceSelectorFromDeviceName(param::hstring const& deviceName) const; + auto GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress) const; + auto GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress, winrt::Windows::Devices::Bluetooth::BluetoothAddressType const& bluetoothAddressType) const; + auto GetDeviceSelectorFromAppearance(winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance const& appearance) const; + auto FromBluetoothAddressAsync(uint64_t bluetoothAddress, winrt::Windows::Devices::Bluetooth::BluetoothAddressType const& bluetoothAddressType) const; }; template <> struct consume { @@ -1031,14 +1014,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InRangeThresholdInDBm() const; - WINRT_IMPL_AUTO(void) InRangeThresholdInDBm(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) OutOfRangeThresholdInDBm() const; - WINRT_IMPL_AUTO(void) OutOfRangeThresholdInDBm(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) OutOfRangeTimeout() const; - WINRT_IMPL_AUTO(void) OutOfRangeTimeout(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SamplingInterval() const; - WINRT_IMPL_AUTO(void) SamplingInterval(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto InRangeThresholdInDBm() const; + auto InRangeThresholdInDBm(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto OutOfRangeThresholdInDBm() const; + auto OutOfRangeThresholdInDBm(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto OutOfRangeTimeout() const; + auto OutOfRangeTimeout(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto SamplingInterval() const; + auto SamplingInterval(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -1047,8 +1030,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_IBluetoothUuidHelperStatics { - WINRT_IMPL_AUTO(winrt::guid) FromShortId(uint32_t shortId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TryGetShortId(winrt::guid const& uuid) const; + auto FromShortId(uint32_t shortId) const; + auto TryGetShortId(winrt::guid const& uuid) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.1.h index 47c9d61f..9ad74568 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.2.h index 835b0f05..466b772f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.0.h index a585bdc6..f6169b6b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_Advertisement_0_H @@ -15,11 +15,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IBuffer; @@ -428,15 +423,15 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Flags() const; - WINRT_IMPL_AUTO(void) Flags(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LocalName() const; - WINRT_IMPL_AUTO(void) LocalName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ServiceUuids() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ManufacturerData() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DataSections() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetManufacturerDataByCompanyId(uint16_t companyId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetSectionsByType(uint8_t type) const; + [[nodiscard]] auto Flags() const; + auto Flags(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto LocalName() const; + auto LocalName(param::hstring const& value) const; + [[nodiscard]] auto ServiceUuids() const; + [[nodiscard]] auto ManufacturerData() const; + [[nodiscard]] auto DataSections() const; + auto GetManufacturerDataByCompanyId(uint16_t companyId) const; + auto GetSectionsByType(uint8_t type) const; }; template <> struct consume { @@ -445,12 +440,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) DataType() const; - WINRT_IMPL_AUTO(void) DataType(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int16_t) Offset() const; - WINRT_IMPL_AUTO(void) Offset(int16_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Data() const; - WINRT_IMPL_AUTO(void) Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto DataType() const; + auto DataType(uint8_t value) const; + [[nodiscard]] auto Offset() const; + auto Offset(int16_t value) const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; }; template <> struct consume { @@ -459,7 +454,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePatternFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementBytePattern) Create(uint8_t dataType, int16_t offset, winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto Create(uint8_t dataType, int16_t offset, winrt::Windows::Storage::Streams::IBuffer const& data) const; }; template <> struct consume { @@ -468,10 +463,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) DataType() const; - WINRT_IMPL_AUTO(void) DataType(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Data() const; - WINRT_IMPL_AUTO(void) Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto DataType() const; + auto DataType(uint8_t value) const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; }; template <> struct consume { @@ -480,7 +475,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSectionFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementDataSection) Create(uint8_t dataType, winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto Create(uint8_t dataType, winrt::Windows::Storage::Streams::IBuffer const& data) const; }; template <> struct consume { @@ -489,28 +484,28 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Flags() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) IncompleteService16BitUuids() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) CompleteService16BitUuids() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) IncompleteService32BitUuids() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) CompleteService32BitUuids() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) IncompleteService128BitUuids() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) CompleteService128BitUuids() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) ShortenedLocalName() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) CompleteLocalName() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) TxPowerLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) SlaveConnectionIntervalRange() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) ServiceSolicitation16BitUuids() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) ServiceSolicitation32BitUuids() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) ServiceSolicitation128BitUuids() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) ServiceData16BitUuids() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) ServiceData32BitUuids() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) ServiceData128BitUuids() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) PublicTargetAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) RandomTargetAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Appearance() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) AdvertisingInterval() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) ManufacturerSpecificData() const; + [[nodiscard]] auto Flags() const; + [[nodiscard]] auto IncompleteService16BitUuids() const; + [[nodiscard]] auto CompleteService16BitUuids() const; + [[nodiscard]] auto IncompleteService32BitUuids() const; + [[nodiscard]] auto CompleteService32BitUuids() const; + [[nodiscard]] auto IncompleteService128BitUuids() const; + [[nodiscard]] auto CompleteService128BitUuids() const; + [[nodiscard]] auto ShortenedLocalName() const; + [[nodiscard]] auto CompleteLocalName() const; + [[nodiscard]] auto TxPowerLevel() const; + [[nodiscard]] auto SlaveConnectionIntervalRange() const; + [[nodiscard]] auto ServiceSolicitation16BitUuids() const; + [[nodiscard]] auto ServiceSolicitation32BitUuids() const; + [[nodiscard]] auto ServiceSolicitation128BitUuids() const; + [[nodiscard]] auto ServiceData16BitUuids() const; + [[nodiscard]] auto ServiceData32BitUuids() const; + [[nodiscard]] auto ServiceData128BitUuids() const; + [[nodiscard]] auto PublicTargetAddress() const; + [[nodiscard]] auto RandomTargetAddress() const; + [[nodiscard]] auto Appearance() const; + [[nodiscard]] auto AdvertisingInterval() const; + [[nodiscard]] auto ManufacturerSpecificData() const; }; template <> struct consume { @@ -519,9 +514,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementFilter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement) Advertisement() const; - WINRT_IMPL_AUTO(void) Advertisement(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) BytePatterns() const; + [[nodiscard]] auto Advertisement() const; + auto Advertisement(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement const& value) const; + [[nodiscard]] auto BytePatterns() const; }; template <> struct consume { @@ -530,14 +525,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement) Advertisement() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(winrt::event_token) StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Advertisement() const; + auto Start() const; + auto Stop() const; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; - [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -546,14 +541,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PreferredTransmitPowerLevelInDBm() const; - WINRT_IMPL_AUTO(void) PreferredTransmitPowerLevelInDBm(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) UseExtendedAdvertisement() const; - WINRT_IMPL_AUTO(void) UseExtendedAdvertisement(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAnonymous() const; - WINRT_IMPL_AUTO(void) IsAnonymous(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IncludeTransmitPowerLevel() const; - WINRT_IMPL_AUTO(void) IncludeTransmitPowerLevel(bool value) const; + [[nodiscard]] auto PreferredTransmitPowerLevelInDBm() const; + auto PreferredTransmitPowerLevelInDBm(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto UseExtendedAdvertisement() const; + auto UseExtendedAdvertisement(bool value) const; + [[nodiscard]] auto IsAnonymous() const; + auto IsAnonymous(bool value) const; + [[nodiscard]] auto IncludeTransmitPowerLevel() const; + auto IncludeTransmitPowerLevel(bool value) const; }; template <> struct consume { @@ -562,7 +557,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisher) Create(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement const& advertisement) const; + auto Create(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement const& advertisement) const; }; template <> struct consume { @@ -571,8 +566,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) Error() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Error() const; }; template <> struct consume { @@ -581,7 +576,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SelectedTransmitPowerLevelInDBm() const; + [[nodiscard]] auto SelectedTransmitPowerLevelInDBm() const; }; template <> struct consume { @@ -590,11 +585,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int16_t) RawSignalStrengthInDBm() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) BluetoothAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementType) AdvertisementType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement) Advertisement() const; + [[nodiscard]] auto RawSignalStrengthInDBm() const; + [[nodiscard]] auto BluetoothAddress() const; + [[nodiscard]] auto AdvertisementType() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Advertisement() const; }; template <> struct consume { @@ -603,13 +598,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothAddressType) BluetoothAddressType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TransmitPowerLevelInDBm() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAnonymous() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConnectable() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsScannable() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDirected() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsScanResponse() const; + [[nodiscard]] auto BluetoothAddressType() const; + [[nodiscard]] auto TransmitPowerLevelInDBm() const; + [[nodiscard]] auto IsAnonymous() const; + [[nodiscard]] auto IsConnectable() const; + [[nodiscard]] auto IsScannable() const; + [[nodiscard]] auto IsDirected() const; + [[nodiscard]] auto IsScanResponse() const; }; template <> struct consume { @@ -618,27 +613,27 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) MinSamplingInterval() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) MaxSamplingInterval() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) MinOutOfRangeTimeout() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) MaxOutOfRangeTimeout() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcherStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEScanningMode) ScanningMode() const; - WINRT_IMPL_AUTO(void) ScanningMode(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEScanningMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter) SignalStrengthFilter() const; - WINRT_IMPL_AUTO(void) SignalStrengthFilter(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter) AdvertisementFilter() const; - WINRT_IMPL_AUTO(void) AdvertisementFilter(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& value) const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(winrt::event_token) Received(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MinSamplingInterval() const; + [[nodiscard]] auto MaxSamplingInterval() const; + [[nodiscard]] auto MinOutOfRangeTimeout() const; + [[nodiscard]] auto MaxOutOfRangeTimeout() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ScanningMode() const; + auto ScanningMode(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEScanningMode const& value) const; + [[nodiscard]] auto SignalStrengthFilter() const; + auto SignalStrengthFilter(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter const& value) const; + [[nodiscard]] auto AdvertisementFilter() const; + auto AdvertisementFilter(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& value) const; + auto Start() const; + auto Stop() const; + auto Received(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Received_revoker = impl::event_revoker::remove_Received>; - [[nodiscard]] Received_revoker Received(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Received(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Received(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Received(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Stopped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -647,8 +642,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowExtendedAdvertisements() const; - WINRT_IMPL_AUTO(void) AllowExtendedAdvertisements(bool value) const; + [[nodiscard]] auto AllowExtendedAdvertisements() const; + auto AllowExtendedAdvertisements(bool value) const; }; template <> struct consume { @@ -657,7 +652,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcherFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher) Create(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& advertisementFilter) const; + auto Create(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& advertisementFilter) const; }; template <> struct consume { @@ -666,7 +661,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcherStoppedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) Error() const; + [[nodiscard]] auto Error() const; }; template <> struct consume { @@ -675,10 +670,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) CompanyId() const; - WINRT_IMPL_AUTO(void) CompanyId(uint16_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Data() const; - WINRT_IMPL_AUTO(void) Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto CompanyId() const; + auto CompanyId(uint16_t value) const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; }; template <> struct consume { @@ -687,7 +682,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerDataFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEManufacturerData) Create(uint16_t companyId, winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto Create(uint16_t companyId, winrt::Windows::Storage::Streams::IBuffer const& data) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.1.h index 92ac542c..b2454c30 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_Advertisement_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.2.h index 3875ae24..d2a83805 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_Advertisement_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.0.h index 50a4e30d..7e61cc3a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_Background_0_H @@ -13,27 +13,16 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Advertisement { enum class BluetoothLEAdvertisementPublisherStatus : int32_t; - struct BluetoothLEAdvertisementReceivedEventArgs; } WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::GenericAttributeProfile { struct GattCharacteristic; struct GattLocalService; - struct GattValueChangedEventArgs; } WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Rfcomm { struct RfcommServiceId; } -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IReference; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Networking::Sockets { struct StreamSocket; @@ -227,8 +216,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) Error() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Error() const; }; template <> struct consume { @@ -237,7 +226,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SelectedTransmitPowerLevelInDBm() const; + [[nodiscard]] auto SelectedTransmitPowerLevelInDBm() const; }; template <> struct consume { @@ -246,9 +235,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementWatcherTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) Error() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Advertisements() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter) SignalStrengthFilter() const; + [[nodiscard]] auto Error() const; + [[nodiscard]] auto Advertisements() const; + [[nodiscard]] auto SignalStrengthFilter() const; }; template <> struct consume { @@ -257,8 +246,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic) Characteristic() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Value() const; + [[nodiscard]] auto Characteristic() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -267,9 +256,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) Error() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Background::BluetoothEventTriggeringMode) EventTriggeringMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ValueChangedEvents() const; + [[nodiscard]] auto Error() const; + [[nodiscard]] auto EventTriggeringMode() const; + [[nodiscard]] auto ValueChangedEvents() const; }; template <> struct consume { @@ -278,9 +267,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TriggerId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalService) Service() const; - WINRT_IMPL_AUTO(void) Start() const; + [[nodiscard]] auto TriggerId() const; + [[nodiscard]] auto Service() const; + auto Start() const; }; template <> struct consume { @@ -289,7 +278,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnectionStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) AllServices() const; + [[nodiscard]] auto AllServices() const; }; template <> struct consume { @@ -298,7 +287,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Background::GattServiceProviderConnection) Connection() const; + [[nodiscard]] auto Connection() const; }; template <> struct consume { @@ -307,9 +296,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Background_IRfcommConnectionTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocket) Socket() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Incoming() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDevice) RemoteDevice() const; + [[nodiscard]] auto Socket() const; + [[nodiscard]] auto Incoming() const; + [[nodiscard]] auto RemoteDevice() const; }; template <> struct consume { @@ -318,12 +307,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) SdpRecord() const; - WINRT_IMPL_AUTO(void) SdpRecord(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) LocalServiceId() const; - WINRT_IMPL_AUTO(void) LocalServiceId(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities) ServiceCapabilities() const; - WINRT_IMPL_AUTO(void) ServiceCapabilities(winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities const& value) const; + [[nodiscard]] auto SdpRecord() const; + auto SdpRecord(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto LocalServiceId() const; + auto LocalServiceId(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& value) const; + [[nodiscard]] auto ServiceCapabilities() const; + auto ServiceCapabilities(winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities const& value) const; }; template <> struct consume { @@ -332,8 +321,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Background_IRfcommOutboundConnectionInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) RemoteServiceId() const; - WINRT_IMPL_AUTO(void) RemoteServiceId(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& value) const; + [[nodiscard]] auto RemoteServiceId() const; + auto RemoteServiceId(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.1.h index 0f367f40..3a2d7eea 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_Background_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.2.h index af042cf3..cef8c2b8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_Background_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.0.h index 3d173abd..1b59e706 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_GenericAttributeProfile_0_H @@ -13,21 +13,13 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration { struct DeviceAccessInformation; - enum class DeviceAccessStatus : int32_t; } WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IBuffer; @@ -1207,24 +1199,24 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetDescriptors(winrt::guid const& descriptorUuid) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties) CharacteristicProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) ProtectionLevel() const; - WINRT_IMPL_AUTO(void) ProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Uuid() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) AttributeHandle() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PresentationFormats() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadValueAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadValueAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption const& writeOption) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadClientCharacteristicConfigurationDescriptorAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) WriteClientCharacteristicConfigurationDescriptorAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue const& clientCharacteristicConfigurationDescriptorValue) const; - WINRT_IMPL_AUTO(winrt::event_token) ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& valueChangedHandler) const; + auto GetDescriptors(winrt::guid const& descriptorUuid) const; + [[nodiscard]] auto CharacteristicProperties() const; + [[nodiscard]] auto ProtectionLevel() const; + auto ProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; + [[nodiscard]] auto UserDescription() const; + [[nodiscard]] auto Uuid() const; + [[nodiscard]] auto AttributeHandle() const; + [[nodiscard]] auto PresentationFormats() const; + auto ReadValueAsync() const; + auto ReadValueAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption const& writeOption) const; + auto ReadClientCharacteristicConfigurationDescriptorAsync() const; + auto WriteClientCharacteristicConfigurationDescriptorAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue const& clientCharacteristicConfigurationDescriptorValue) const; + auto ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& valueChangedHandler) const; using ValueChanged_revoker = impl::event_revoker::remove_ValueChanged>; - [[nodiscard]] ValueChanged_revoker ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& valueChangedHandler) const; - WINRT_IMPL_AUTO(void) ValueChanged(winrt::event_token const& valueChangedEventCookie) const noexcept; + [[nodiscard]] auto ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& valueChangedHandler) const; + auto ValueChanged(winrt::event_token const& valueChangedEventCookie) const noexcept; }; template <> struct consume { @@ -1233,8 +1225,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService) Service() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAllDescriptors() const; + [[nodiscard]] auto Service() const; + auto GetAllDescriptors() const; }; template <> struct consume { @@ -1243,13 +1235,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDescriptorsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDescriptorsAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDescriptorsForUuidAsync(winrt::guid const& descriptorUuid) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDescriptorsForUuidAsync(winrt::guid const& descriptorUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption const& writeOption) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) WriteClientCharacteristicConfigurationDescriptorWithResultAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue const& clientCharacteristicConfigurationDescriptorValue) const; + auto GetDescriptorsAsync() const; + auto GetDescriptorsAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetDescriptorsForUuidAsync(winrt::guid const& descriptorUuid) const; + auto GetDescriptorsForUuidAsync(winrt::guid const& descriptorUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption const& writeOption) const; + auto WriteClientCharacteristicConfigurationDescriptorWithResultAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue const& clientCharacteristicConfigurationDescriptorValue) const; }; template <> struct consume { @@ -1258,7 +1250,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicStatics { - WINRT_IMPL_AUTO(winrt::guid) ConvertShortIdToUuid(uint16_t shortId) const; + auto ConvertShortIdToUuid(uint16_t shortId) const; }; template <> struct consume { @@ -1267,27 +1259,27 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) BatteryLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) BloodPressureFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) BloodPressureMeasurement() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) BodySensorLocation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CscFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CscMeasurement() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) GlucoseFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) GlucoseMeasurement() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) GlucoseMeasurementContext() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) HeartRateControlPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) HeartRateMeasurement() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) IntermediateCuffPressure() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) IntermediateTemperature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) MeasurementInterval() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) RecordAccessControlPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) RscFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) RscMeasurement() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) SCControlPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) SensorLocation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TemperatureMeasurement() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TemperatureType() const; + [[nodiscard]] auto BatteryLevel() const; + [[nodiscard]] auto BloodPressureFeature() const; + [[nodiscard]] auto BloodPressureMeasurement() const; + [[nodiscard]] auto BodySensorLocation() const; + [[nodiscard]] auto CscFeature() const; + [[nodiscard]] auto CscMeasurement() const; + [[nodiscard]] auto GlucoseFeature() const; + [[nodiscard]] auto GlucoseMeasurement() const; + [[nodiscard]] auto GlucoseMeasurementContext() const; + [[nodiscard]] auto HeartRateControlPoint() const; + [[nodiscard]] auto HeartRateMeasurement() const; + [[nodiscard]] auto IntermediateCuffPressure() const; + [[nodiscard]] auto IntermediateTemperature() const; + [[nodiscard]] auto MeasurementInterval() const; + [[nodiscard]] auto RecordAccessControlPoint() const; + [[nodiscard]] auto RscFeature() const; + [[nodiscard]] auto RscMeasurement() const; + [[nodiscard]] auto SCControlPoint() const; + [[nodiscard]] auto SensorLocation() const; + [[nodiscard]] auto TemperatureMeasurement() const; + [[nodiscard]] auto TemperatureType() const; }; template <> struct consume { @@ -1296,66 +1288,66 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) AlertCategoryId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) AlertCategoryIdBitMask() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) AlertLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) AlertNotificationControlPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) AlertStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) GapAppearance() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) BootKeyboardInputReport() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) BootKeyboardOutputReport() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) BootMouseInputReport() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CurrentTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CyclingPowerControlPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CyclingPowerFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CyclingPowerMeasurement() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CyclingPowerVector() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DateTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DayDateTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DayOfWeek() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) GapDeviceName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DstOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ExactTime256() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) FirmwareRevisionString() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) HardwareRevisionString() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) HidControlPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) HidInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Ieee1107320601RegulatoryCertificationDataList() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) LnControlPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) LnFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) LocalTimeInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) LocationAndSpeed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ManufacturerNameString() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ModelNumberString() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Navigation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) NewAlert() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) GapPeripheralPreferredConnectionParameters() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) GapPeripheralPrivacyFlag() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) PnpId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) PositionQuality() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ProtocolMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) GapReconnectionAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ReferenceTimeInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Report() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ReportMap() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) RingerControlPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) RingerSetting() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ScanIntervalWindow() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ScanRefresh() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) SerialNumberString() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) GattServiceChanged() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) SoftwareRevisionString() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) SupportedNewAlertCategory() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) SupportUnreadAlertCategory() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) SystemId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TimeAccuracy() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TimeSource() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TimeUpdateControlPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TimeUpdateState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TimeWithDst() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TimeZone() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TxPowerLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) UnreadAlertStatus() const; + [[nodiscard]] auto AlertCategoryId() const; + [[nodiscard]] auto AlertCategoryIdBitMask() const; + [[nodiscard]] auto AlertLevel() const; + [[nodiscard]] auto AlertNotificationControlPoint() const; + [[nodiscard]] auto AlertStatus() const; + [[nodiscard]] auto GapAppearance() const; + [[nodiscard]] auto BootKeyboardInputReport() const; + [[nodiscard]] auto BootKeyboardOutputReport() const; + [[nodiscard]] auto BootMouseInputReport() const; + [[nodiscard]] auto CurrentTime() const; + [[nodiscard]] auto CyclingPowerControlPoint() const; + [[nodiscard]] auto CyclingPowerFeature() const; + [[nodiscard]] auto CyclingPowerMeasurement() const; + [[nodiscard]] auto CyclingPowerVector() const; + [[nodiscard]] auto DateTime() const; + [[nodiscard]] auto DayDateTime() const; + [[nodiscard]] auto DayOfWeek() const; + [[nodiscard]] auto GapDeviceName() const; + [[nodiscard]] auto DstOffset() const; + [[nodiscard]] auto ExactTime256() const; + [[nodiscard]] auto FirmwareRevisionString() const; + [[nodiscard]] auto HardwareRevisionString() const; + [[nodiscard]] auto HidControlPoint() const; + [[nodiscard]] auto HidInformation() const; + [[nodiscard]] auto Ieee1107320601RegulatoryCertificationDataList() const; + [[nodiscard]] auto LnControlPoint() const; + [[nodiscard]] auto LnFeature() const; + [[nodiscard]] auto LocalTimeInformation() const; + [[nodiscard]] auto LocationAndSpeed() const; + [[nodiscard]] auto ManufacturerNameString() const; + [[nodiscard]] auto ModelNumberString() const; + [[nodiscard]] auto Navigation() const; + [[nodiscard]] auto NewAlert() const; + [[nodiscard]] auto GapPeripheralPreferredConnectionParameters() const; + [[nodiscard]] auto GapPeripheralPrivacyFlag() const; + [[nodiscard]] auto PnpId() const; + [[nodiscard]] auto PositionQuality() const; + [[nodiscard]] auto ProtocolMode() const; + [[nodiscard]] auto GapReconnectionAddress() const; + [[nodiscard]] auto ReferenceTimeInformation() const; + [[nodiscard]] auto Report() const; + [[nodiscard]] auto ReportMap() const; + [[nodiscard]] auto RingerControlPoint() const; + [[nodiscard]] auto RingerSetting() const; + [[nodiscard]] auto ScanIntervalWindow() const; + [[nodiscard]] auto ScanRefresh() const; + [[nodiscard]] auto SerialNumberString() const; + [[nodiscard]] auto GattServiceChanged() const; + [[nodiscard]] auto SoftwareRevisionString() const; + [[nodiscard]] auto SupportedNewAlertCategory() const; + [[nodiscard]] auto SupportUnreadAlertCategory() const; + [[nodiscard]] auto SystemId() const; + [[nodiscard]] auto TimeAccuracy() const; + [[nodiscard]] auto TimeSource() const; + [[nodiscard]] auto TimeUpdateControlPoint() const; + [[nodiscard]] auto TimeUpdateState() const; + [[nodiscard]] auto TimeWithDst() const; + [[nodiscard]] auto TimeZone() const; + [[nodiscard]] auto TxPowerLevel() const; + [[nodiscard]] auto UnreadAlertStatus() const; }; template <> struct consume { @@ -1364,9 +1356,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicsResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ProtocolError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Characteristics() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ProtocolError() const; + [[nodiscard]] auto Characteristics() const; }; template <> struct consume { @@ -1375,9 +1367,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient) SubscribedClient() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ProtocolError() const; + [[nodiscard]] auto SubscribedClient() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ProtocolError() const; }; template <> struct consume { @@ -1386,7 +1378,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) BytesSent() const; + [[nodiscard]] auto BytesSent() const; }; template <> struct consume { @@ -1395,13 +1387,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) ProtectionLevel() const; - WINRT_IMPL_AUTO(void) ProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Uuid() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) AttributeHandle() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadValueAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadValueAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto ProtectionLevel() const; + auto ProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; + [[nodiscard]] auto Uuid() const; + [[nodiscard]] auto AttributeHandle() const; + auto ReadValueAsync() const; + auto ReadValueAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; }; template <> struct consume { @@ -1410,7 +1402,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; }; template <> struct consume { @@ -1419,7 +1411,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorStatics { - WINRT_IMPL_AUTO(winrt::guid) ConvertShortIdToUuid(uint16_t shortId) const; + auto ConvertShortIdToUuid(uint16_t shortId) const; }; template <> struct consume { @@ -1428,12 +1420,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CharacteristicAggregateFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CharacteristicExtendedProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CharacteristicPresentationFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CharacteristicUserDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ClientCharacteristicConfiguration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ServerCharacteristicConfiguration() const; + [[nodiscard]] auto CharacteristicAggregateFormat() const; + [[nodiscard]] auto CharacteristicExtendedProperties() const; + [[nodiscard]] auto CharacteristicPresentationFormat() const; + [[nodiscard]] auto CharacteristicUserDescription() const; + [[nodiscard]] auto ClientCharacteristicConfiguration() const; + [[nodiscard]] auto ServerCharacteristicConfiguration() const; }; template <> struct consume { @@ -1442,9 +1434,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorsResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ProtocolError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Descriptors() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ProtocolError() const; + [[nodiscard]] auto Descriptors() const; }; template <> struct consume { @@ -1453,11 +1445,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetCharacteristics(winrt::guid const& characteristicUuid) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetIncludedServices(winrt::guid const& serviceUuid) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Uuid() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) AttributeHandle() const; + auto GetCharacteristics(winrt::guid const& characteristicUuid) const; + auto GetIncludedServices(winrt::guid const& serviceUuid) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Uuid() const; + [[nodiscard]] auto AttributeHandle() const; }; template <> struct consume { @@ -1466,10 +1458,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothLEDevice) Device() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ParentServices() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAllCharacteristics() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAllIncludedServices() const; + [[nodiscard]] auto Device() const; + [[nodiscard]] auto ParentServices() const; + auto GetAllCharacteristics() const; + auto GetAllIncludedServices() const; }; template <> struct consume { @@ -1478,19 +1470,19 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) DeviceAccessInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession) Session() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode) SharingMode() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode const& sharingMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCharacteristicsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCharacteristicsAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCharacteristicsForUuidAsync(winrt::guid const& characteristicUuid) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCharacteristicsForUuidAsync(winrt::guid const& characteristicUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIncludedServicesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIncludedServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + [[nodiscard]] auto DeviceAccessInformation() const; + [[nodiscard]] auto Session() const; + [[nodiscard]] auto SharingMode() const; + auto RequestAccessAsync() const; + auto OpenAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode const& sharingMode) const; + auto GetCharacteristicsAsync() const; + auto GetCharacteristicsAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetCharacteristicsForUuidAsync(winrt::guid const& characteristicUuid) const; + auto GetCharacteristicsForUuidAsync(winrt::guid const& characteristicUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetIncludedServicesAsync() const; + auto GetIncludedServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid) const; + auto GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; }; template <> struct consume { @@ -1499,10 +1491,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorFromUuid(winrt::guid const& serviceUuid) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorFromShortId(uint16_t serviceShortId) const; - WINRT_IMPL_AUTO(winrt::guid) ConvertShortIdToUuid(uint16_t shortId) const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelectorFromUuid(winrt::guid const& serviceUuid) const; + auto GetDeviceSelectorFromShortId(uint16_t serviceShortId) const; + auto ConvertShortIdToUuid(uint16_t shortId) const; }; template <> struct consume { @@ -1511,11 +1503,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode const& sharingMode) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorForBluetoothDeviceId(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorForBluetoothDeviceId(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorForBluetoothDeviceIdAndUuid(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::guid const& serviceUuid) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorForBluetoothDeviceIdAndUuid(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode const& sharingMode) const; + auto GetDeviceSelectorForBluetoothDeviceId(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId) const; + auto GetDeviceSelectorForBluetoothDeviceId(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetDeviceSelectorForBluetoothDeviceIdAndUuid(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::guid const& serviceUuid) const; + auto GetDeviceSelectorForBluetoothDeviceIdAndUuid(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; }; template <> struct consume { @@ -1524,9 +1516,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServicesResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ProtocolError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Services() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ProtocolError() const; + [[nodiscard]] auto Services() const; }; template <> struct consume { @@ -1535,30 +1527,30 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Uuid() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) StaticValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties) CharacteristicProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) ReadProtectionLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) WriteProtectionLevel() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateDescriptorAsync(winrt::guid const& descriptorUuid, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptorParameters const& parameters) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Descriptors() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PresentationFormats() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SubscribedClients() const; - WINRT_IMPL_AUTO(winrt::event_token) SubscribedClientsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Uuid() const; + [[nodiscard]] auto StaticValue() const; + [[nodiscard]] auto CharacteristicProperties() const; + [[nodiscard]] auto ReadProtectionLevel() const; + [[nodiscard]] auto WriteProtectionLevel() const; + auto CreateDescriptorAsync(winrt::guid const& descriptorUuid, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptorParameters const& parameters) const; + [[nodiscard]] auto Descriptors() const; + [[nodiscard]] auto UserDescription() const; + [[nodiscard]] auto PresentationFormats() const; + [[nodiscard]] auto SubscribedClients() const; + auto SubscribedClientsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SubscribedClientsChanged_revoker = impl::event_revoker::remove_SubscribedClientsChanged>; - [[nodiscard]] SubscribedClientsChanged_revoker SubscribedClientsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SubscribedClientsChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ReadRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SubscribedClientsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SubscribedClientsChanged(winrt::event_token const& token) const noexcept; + auto ReadRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReadRequested_revoker = impl::event_revoker::remove_ReadRequested>; - [[nodiscard]] ReadRequested_revoker ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReadRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) WriteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadRequested(winrt::event_token const& token) const noexcept; + auto WriteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using WriteRequested_revoker = impl::event_revoker::remove_WriteRequested>; - [[nodiscard]] WriteRequested_revoker WriteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) WriteRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) NotifyValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) NotifyValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient const& subscribedClient) const; + [[nodiscard]] auto WriteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto WriteRequested(winrt::event_token const& token) const noexcept; + auto NotifyValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto NotifyValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient const& subscribedClient) const; }; template <> struct consume { @@ -1567,17 +1559,17 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters { - WINRT_IMPL_AUTO(void) StaticValue(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) StaticValue() const; - WINRT_IMPL_AUTO(void) CharacteristicProperties(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties) CharacteristicProperties() const; - WINRT_IMPL_AUTO(void) ReadProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) ReadProtectionLevel() const; - WINRT_IMPL_AUTO(void) WriteProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) WriteProtectionLevel() const; - WINRT_IMPL_AUTO(void) UserDescription(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) PresentationFormats() const; + auto StaticValue(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto StaticValue() const; + auto CharacteristicProperties(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties const& value) const; + [[nodiscard]] auto CharacteristicProperties() const; + auto ReadProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; + [[nodiscard]] auto ReadProtectionLevel() const; + auto WriteProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; + [[nodiscard]] auto WriteProtectionLevel() const; + auto UserDescription(param::hstring const& value) const; + [[nodiscard]] auto UserDescription() const; + [[nodiscard]] auto PresentationFormats() const; }; template <> struct consume { @@ -1586,8 +1578,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic) Characteristic() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) Error() const; + [[nodiscard]] auto Characteristic() const; + [[nodiscard]] auto Error() const; }; template <> struct consume { @@ -1596,18 +1588,18 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Uuid() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) StaticValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) ReadProtectionLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) WriteProtectionLevel() const; - WINRT_IMPL_AUTO(winrt::event_token) ReadRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Uuid() const; + [[nodiscard]] auto StaticValue() const; + [[nodiscard]] auto ReadProtectionLevel() const; + [[nodiscard]] auto WriteProtectionLevel() const; + auto ReadRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReadRequested_revoker = impl::event_revoker::remove_ReadRequested>; - [[nodiscard]] ReadRequested_revoker ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReadRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) WriteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadRequested(winrt::event_token const& token) const noexcept; + auto WriteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using WriteRequested_revoker = impl::event_revoker::remove_WriteRequested>; - [[nodiscard]] WriteRequested_revoker WriteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) WriteRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto WriteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto WriteRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1616,12 +1608,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters { - WINRT_IMPL_AUTO(void) StaticValue(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) StaticValue() const; - WINRT_IMPL_AUTO(void) ReadProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) ReadProtectionLevel() const; - WINRT_IMPL_AUTO(void) WriteProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) WriteProtectionLevel() const; + auto StaticValue(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto StaticValue() const; + auto ReadProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; + [[nodiscard]] auto ReadProtectionLevel() const; + auto WriteProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const; + [[nodiscard]] auto WriteProtectionLevel() const; }; template <> struct consume { @@ -1630,8 +1622,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor) Descriptor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) Error() const; + [[nodiscard]] auto Descriptor() const; + [[nodiscard]] auto Error() const; }; template <> struct consume { @@ -1640,9 +1632,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalService { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Uuid() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateCharacteristicAsync(winrt::guid const& characteristicUuid, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristicParameters const& parameters) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Characteristics() const; + [[nodiscard]] auto Uuid() const; + auto CreateCharacteristicAsync(winrt::guid const& characteristicUuid, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristicParameters const& parameters) const; + [[nodiscard]] auto Characteristics() const; }; template <> struct consume { @@ -1651,11 +1643,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) FormatType() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Exponent() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Unit() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Namespace() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Description() const; + [[nodiscard]] auto FormatType() const; + [[nodiscard]] auto Exponent() const; + [[nodiscard]] auto Unit() const; + [[nodiscard]] auto Namespace() const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -1664,7 +1656,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) BluetoothSigAssignedNumbers() const; + [[nodiscard]] auto BluetoothSigAssignedNumbers() const; }; template <> struct consume { @@ -1673,7 +1665,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattPresentationFormat) FromParts(uint8_t formatType, int32_t exponent, uint16_t unit, uint8_t namespaceId, uint16_t description) const; + auto FromParts(uint8_t formatType, int32_t exponent, uint16_t unit, uint8_t namespaceId, uint16_t description) const; }; template <> struct consume { @@ -1682,33 +1674,33 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Boolean() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Bit2() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Nibble() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) UInt8() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) UInt12() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) UInt16() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) UInt24() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) UInt32() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) UInt48() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) UInt64() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) UInt128() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) SInt8() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) SInt12() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) SInt16() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) SInt24() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) SInt32() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) SInt48() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) SInt64() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) SInt128() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Float32() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Float64() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) SFloat() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Float() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) DUInt16() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Utf8() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Utf16() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Struct() const; + [[nodiscard]] auto Boolean() const; + [[nodiscard]] auto Bit2() const; + [[nodiscard]] auto Nibble() const; + [[nodiscard]] auto UInt8() const; + [[nodiscard]] auto UInt12() const; + [[nodiscard]] auto UInt16() const; + [[nodiscard]] auto UInt24() const; + [[nodiscard]] auto UInt32() const; + [[nodiscard]] auto UInt48() const; + [[nodiscard]] auto UInt64() const; + [[nodiscard]] auto UInt128() const; + [[nodiscard]] auto SInt8() const; + [[nodiscard]] auto SInt12() const; + [[nodiscard]] auto SInt16() const; + [[nodiscard]] auto SInt24() const; + [[nodiscard]] auto SInt32() const; + [[nodiscard]] auto SInt48() const; + [[nodiscard]] auto SInt64() const; + [[nodiscard]] auto SInt128() const; + [[nodiscard]] auto Float32() const; + [[nodiscard]] auto Float64() const; + [[nodiscard]] auto SFloat() const; + [[nodiscard]] auto Float() const; + [[nodiscard]] auto DUInt16() const; + [[nodiscard]] auto Utf8() const; + [[nodiscard]] auto Utf16() const; + [[nodiscard]] auto Struct() const; }; template <> struct consume { @@ -1717,23 +1709,23 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) InvalidHandle() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) ReadNotPermitted() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) WriteNotPermitted() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) InvalidPdu() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) InsufficientAuthentication() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) RequestNotSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) InvalidOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) InsufficientAuthorization() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) PrepareQueueFull() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) AttributeNotFound() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) AttributeNotLong() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) InsufficientEncryptionKeySize() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) InvalidAttributeValueLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) UnlikelyError() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) InsufficientEncryption() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) UnsupportedGroupType() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) InsufficientResources() const; + [[nodiscard]] auto InvalidHandle() const; + [[nodiscard]] auto ReadNotPermitted() const; + [[nodiscard]] auto WriteNotPermitted() const; + [[nodiscard]] auto InvalidPdu() const; + [[nodiscard]] auto InsufficientAuthentication() const; + [[nodiscard]] auto RequestNotSupported() const; + [[nodiscard]] auto InvalidOffset() const; + [[nodiscard]] auto InsufficientAuthorization() const; + [[nodiscard]] auto PrepareQueueFull() const; + [[nodiscard]] auto AttributeNotFound() const; + [[nodiscard]] auto AttributeNotLong() const; + [[nodiscard]] auto InsufficientEncryptionKeySize() const; + [[nodiscard]] auto InvalidAttributeValueLength() const; + [[nodiscard]] auto UnlikelyError() const; + [[nodiscard]] auto InsufficientEncryption() const; + [[nodiscard]] auto UnsupportedGroupType() const; + [[nodiscard]] auto InsufficientResources() const; }; template <> struct consume { @@ -1742,8 +1734,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue) ClientCharacteristicConfigurationDescriptor() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ClientCharacteristicConfigurationDescriptor() const; }; template <> struct consume { @@ -1752,7 +1744,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ProtocolError() const; + [[nodiscard]] auto ProtocolError() const; }; template <> struct consume { @@ -1761,15 +1753,15 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Offset() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Length() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState) State() const; - WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Offset() const; + [[nodiscard]] auto Length() const; + [[nodiscard]] auto State() const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; - [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) RespondWithValue(winrt::Windows::Storage::Streams::IBuffer const& value) const; - WINRT_IMPL_AUTO(void) RespondWithProtocolError(uint8_t protocolError) const; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + auto RespondWithValue(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto RespondWithProtocolError(uint8_t protocolError) const; }; template <> struct consume { @@ -1778,9 +1770,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession) Session() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetRequestAsync() const; + [[nodiscard]] auto Session() const; + auto GetDeferral() const; + auto GetRequestAsync() const; }; template <> struct consume { @@ -1789,8 +1781,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Value() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -1799,7 +1791,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ProtocolError() const; + [[nodiscard]] auto ProtocolError() const; }; template <> struct consume { @@ -1808,8 +1800,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction { - WINRT_IMPL_AUTO(void) WriteValue(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic const& characteristic, winrt::Windows::Storage::Streams::IBuffer const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CommitAsync() const; + auto WriteValue(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic const& characteristic, winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto CommitAsync() const; }; template <> struct consume { @@ -1818,7 +1810,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CommitWithResultAsync() const; + auto CommitWithResultAsync() const; }; template <> struct consume { @@ -1827,8 +1819,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattRequestStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) Error() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto Error() const; }; template <> struct consume { @@ -1837,15 +1829,15 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalService) Service() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatus) AdvertisementStatus() const; - WINRT_IMPL_AUTO(winrt::event_token) AdvertisementStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Service() const; + [[nodiscard]] auto AdvertisementStatus() const; + auto AdvertisementStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AdvertisementStatusChanged_revoker = impl::event_revoker::remove_AdvertisementStatusChanged>; - [[nodiscard]] AdvertisementStatusChanged_revoker AdvertisementStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AdvertisementStatusChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) StartAdvertising() const; - WINRT_IMPL_AUTO(void) StartAdvertising(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters const& parameters) const; - WINRT_IMPL_AUTO(void) StopAdvertising() const; + [[nodiscard]] auto AdvertisementStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AdvertisementStatusChanged(winrt::event_token const& token) const noexcept; + auto StartAdvertising() const; + auto StartAdvertising(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters const& parameters) const; + auto StopAdvertising() const; }; template <> struct consume { @@ -1854,8 +1846,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisementStatusChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) Error() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatus) Status() const; + [[nodiscard]] auto Error() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -1864,10 +1856,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters { - WINRT_IMPL_AUTO(void) IsConnectable(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConnectable() const; - WINRT_IMPL_AUTO(void) IsDiscoverable(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDiscoverable() const; + auto IsConnectable(bool value) const; + [[nodiscard]] auto IsConnectable() const; + auto IsDiscoverable(bool value) const; + [[nodiscard]] auto IsDiscoverable() const; }; template <> struct consume { @@ -1876,8 +1868,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters2 { - WINRT_IMPL_AUTO(void) ServiceData(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ServiceData() const; + auto ServiceData(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto ServiceData() const; }; template <> struct consume { @@ -1886,8 +1878,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) Error() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProvider) ServiceProvider() const; + [[nodiscard]] auto Error() const; + [[nodiscard]] auto ServiceProvider() const; }; template <> struct consume { @@ -1896,7 +1888,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAsync(winrt::guid const& serviceUuid) const; + auto CreateAsync(winrt::guid const& serviceUuid) const; }; template <> struct consume { @@ -1905,15 +1897,15 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Battery() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) BloodPressure() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CyclingSpeedAndCadence() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) GenericAccess() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) GenericAttribute() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Glucose() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) HealthThermometer() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) HeartRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) RunningSpeedAndCadence() const; + [[nodiscard]] auto Battery() const; + [[nodiscard]] auto BloodPressure() const; + [[nodiscard]] auto CyclingSpeedAndCadence() const; + [[nodiscard]] auto GenericAccess() const; + [[nodiscard]] auto GenericAttribute() const; + [[nodiscard]] auto Glucose() const; + [[nodiscard]] auto HealthThermometer() const; + [[nodiscard]] auto HeartRate() const; + [[nodiscard]] auto RunningSpeedAndCadence() const; }; template <> struct consume { @@ -1922,19 +1914,19 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) AlertNotification() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CurrentTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CyclingPower() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DeviceInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) HumanInterfaceDevice() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ImmediateAlert() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) LinkLoss() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) LocationAndNavigation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) NextDstChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) PhoneAlertStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ReferenceTimeUpdate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ScanParameters() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TxPower() const; + [[nodiscard]] auto AlertNotification() const; + [[nodiscard]] auto CurrentTime() const; + [[nodiscard]] auto CyclingPower() const; + [[nodiscard]] auto DeviceInformation() const; + [[nodiscard]] auto HumanInterfaceDevice() const; + [[nodiscard]] auto ImmediateAlert() const; + [[nodiscard]] auto LinkLoss() const; + [[nodiscard]] auto LocationAndNavigation() const; + [[nodiscard]] auto NextDstChange() const; + [[nodiscard]] auto PhoneAlertStatus() const; + [[nodiscard]] auto ReferenceTimeUpdate() const; + [[nodiscard]] auto ScanParameters() const; + [[nodiscard]] auto TxPower() const; }; template <> struct consume { @@ -1943,20 +1935,20 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanMaintainConnection() const; - WINRT_IMPL_AUTO(void) MaintainConnection(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) MaintainConnection() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) MaxPduSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatus) SessionStatus() const; - WINRT_IMPL_AUTO(winrt::event_token) MaxPduSizeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto CanMaintainConnection() const; + auto MaintainConnection(bool value) const; + [[nodiscard]] auto MaintainConnection() const; + [[nodiscard]] auto MaxPduSize() const; + [[nodiscard]] auto SessionStatus() const; + auto MaxPduSizeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MaxPduSizeChanged_revoker = impl::event_revoker::remove_MaxPduSizeChanged>; - [[nodiscard]] MaxPduSizeChanged_revoker MaxPduSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MaxPduSizeChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SessionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MaxPduSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MaxPduSizeChanged(winrt::event_token const& token) const noexcept; + auto SessionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SessionStatusChanged_revoker = impl::event_revoker::remove_SessionStatusChanged>; - [[nodiscard]] SessionStatusChanged_revoker SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SessionStatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SessionStatusChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1965,7 +1957,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromDeviceIdAsync(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& deviceId) const; + auto FromDeviceIdAsync(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& deviceId) const; }; template <> struct consume { @@ -1974,8 +1966,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatusChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) Error() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatus) Status() const; + [[nodiscard]] auto Error() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -1984,12 +1976,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession) Session() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) MaxNotificationSize() const; - WINRT_IMPL_AUTO(winrt::event_token) MaxNotificationSizeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Session() const; + [[nodiscard]] auto MaxNotificationSize() const; + auto MaxNotificationSizeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MaxNotificationSizeChanged_revoker = impl::event_revoker::remove_MaxNotificationSizeChanged>; - [[nodiscard]] MaxNotificationSizeChanged_revoker MaxNotificationSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MaxNotificationSizeChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto MaxNotificationSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MaxNotificationSizeChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1998,8 +1990,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattValueChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) CharacteristicValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; + [[nodiscard]] auto CharacteristicValue() const; + [[nodiscard]] auto Timestamp() const; }; template <> struct consume { @@ -2008,16 +2000,16 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Value() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Offset() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption) Option() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState) State() const; - WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Value() const; + [[nodiscard]] auto Offset() const; + [[nodiscard]] auto Option() const; + [[nodiscard]] auto State() const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; - [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Respond() const; - WINRT_IMPL_AUTO(void) RespondWithProtocolError(uint8_t protocolError) const; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + auto Respond() const; + auto RespondWithProtocolError(uint8_t protocolError) const; }; template <> struct consume { @@ -2026,9 +2018,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession) Session() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetRequestAsync() const; + [[nodiscard]] auto Session() const; + auto GetDeferral() const; + auto GetRequestAsync() const; }; template <> struct consume { @@ -2037,8 +2029,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ProtocolError() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ProtocolError() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.1.h index 7f936b16..aa4a8c9c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_GenericAttributeProfile_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.2.h index e58af689..3df2103e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_GenericAttributeProfile_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.0.h index b3343085..6032ee48 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_Rfcomm_0_H @@ -12,17 +12,6 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration { struct DeviceAccessInformation; - enum class DeviceAccessStatus : int32_t; -} -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Networking { @@ -33,10 +22,6 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Sockets enum class SocketProtectionLevel : int32_t; struct StreamSocketListener; } -WINRT_EXPORT namespace winrt::Windows::Storage::Streams -{ - struct IBuffer; -} WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Rfcomm { struct IRfcommDeviceService; @@ -206,13 +191,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) ConnectionHostName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ConnectionServiceName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) ServiceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketProtectionLevel) ProtectionLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketProtectionLevel) MaxProtectionLevel() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetSdpRawAttributesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetSdpRawAttributesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + [[nodiscard]] auto ConnectionHostName() const; + [[nodiscard]] auto ConnectionServiceName() const; + [[nodiscard]] auto ServiceId() const; + [[nodiscard]] auto ProtectionLevel() const; + [[nodiscard]] auto MaxProtectionLevel() const; + auto GetSdpRawAttributesAsync() const; + auto GetSdpRawAttributesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; }; template <> struct consume { @@ -221,7 +206,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDevice) Device() const; + [[nodiscard]] auto Device() const; }; template <> struct consume { @@ -230,8 +215,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) DeviceAccessInformation() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; + [[nodiscard]] auto DeviceAccessInformation() const; + auto RequestAccessAsync() const; }; template <> struct consume { @@ -240,8 +225,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const; }; template <> struct consume { @@ -250,10 +235,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2 { - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorForBluetoothDeviceAndServiceId(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorForBluetoothDeviceAndServiceId(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice) const; + auto GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; + auto GetDeviceSelectorForBluetoothDeviceAndServiceId(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const; + auto GetDeviceSelectorForBluetoothDeviceAndServiceId(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const; }; template <> struct consume { @@ -262,8 +247,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServicesResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) Error() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Services() const; + [[nodiscard]] auto Error() const; + [[nodiscard]] auto Services() const; }; template <> struct consume { @@ -272,9 +257,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceId { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Uuid() const; - WINRT_IMPL_AUTO(uint32_t) AsShortId() const; - WINRT_IMPL_AUTO(hstring) AsString() const; + [[nodiscard]] auto Uuid() const; + auto AsShortId() const; + auto AsString() const; }; template <> struct consume { @@ -283,14 +268,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) FromUuid(winrt::guid const& uuid) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) FromShortId(uint32_t shortId) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) SerialPort() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) ObexObjectPush() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) ObexFileTransfer() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) PhoneBookAccessPce() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) PhoneBookAccessPse() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) GenericFileTransfer() const; + auto FromUuid(winrt::guid const& uuid) const; + auto FromShortId(uint32_t shortId) const; + [[nodiscard]] auto SerialPort() const; + [[nodiscard]] auto ObexObjectPush() const; + [[nodiscard]] auto ObexFileTransfer() const; + [[nodiscard]] auto PhoneBookAccessPce() const; + [[nodiscard]] auto PhoneBookAccessPse() const; + [[nodiscard]] auto GenericFileTransfer() const; }; template <> struct consume { @@ -299,10 +284,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) ServiceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) SdpRawAttributes() const; - WINRT_IMPL_AUTO(void) StartAdvertising(winrt::Windows::Networking::Sockets::StreamSocketListener const& listener) const; - WINRT_IMPL_AUTO(void) StopAdvertising() const; + [[nodiscard]] auto ServiceId() const; + [[nodiscard]] auto SdpRawAttributes() const; + auto StartAdvertising(winrt::Windows::Networking::Sockets::StreamSocketListener const& listener) const; + auto StopAdvertising() const; }; template <> struct consume { @@ -311,7 +296,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider2 { - WINRT_IMPL_AUTO(void) StartAdvertising(winrt::Windows::Networking::Sockets::StreamSocketListener const& listener, bool radioDiscoverable) const; + auto StartAdvertising(winrt::Windows::Networking::Sockets::StreamSocketListener const& listener, bool radioDiscoverable) const; }; template <> struct consume { @@ -320,7 +305,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProviderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const; + auto CreateAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.1.h index 5a9d9961..c03cdfc7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_Rfcomm_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.2.h index 102665da..ef5c723b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Bluetooth_Rfcomm_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.0.h index ec6c988a..a148fdb7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.0.h @@ -1,12 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Custom_0_H #define WINRT_Windows_Devices_Custom_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IBuffer; @@ -128,10 +124,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Custom_ICustomDevice { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) InputStream() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) OutputStream() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendIOControlAsync(winrt::Windows::Devices::Custom::IIOControlCode const& ioControlCode, winrt::Windows::Storage::Streams::IBuffer const& inputBuffer, winrt::Windows::Storage::Streams::IBuffer const& outputBuffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySendIOControlAsync(winrt::Windows::Devices::Custom::IIOControlCode const& ioControlCode, winrt::Windows::Storage::Streams::IBuffer const& inputBuffer, winrt::Windows::Storage::Streams::IBuffer const& outputBuffer) const; + [[nodiscard]] auto InputStream() const; + [[nodiscard]] auto OutputStream() const; + auto SendIOControlAsync(winrt::Windows::Devices::Custom::IIOControlCode const& ioControlCode, winrt::Windows::Storage::Streams::IBuffer const& inputBuffer, winrt::Windows::Storage::Streams::IBuffer const& outputBuffer) const; + auto TrySendIOControlAsync(winrt::Windows::Devices::Custom::IIOControlCode const& ioControlCode, winrt::Windows::Storage::Streams::IBuffer const& inputBuffer, winrt::Windows::Storage::Streams::IBuffer const& outputBuffer) const; }; template <> struct consume { @@ -140,8 +136,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Custom_ICustomDeviceStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::guid const& classGuid) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::Custom::DeviceAccessMode const& desiredAccess, winrt::Windows::Devices::Custom::DeviceSharingMode const& sharingMode) const; + auto GetDeviceSelector(winrt::guid const& classGuid) const; + auto FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::Custom::DeviceAccessMode const& desiredAccess, winrt::Windows::Devices::Custom::DeviceSharingMode const& sharingMode) const; }; template <> struct consume { @@ -150,11 +146,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Custom_IIOControlCode { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Custom::IOControlAccessMode) AccessMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Custom::IOControlBufferingMethod) BufferingMethod() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Function() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) DeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ControlCode() const; + [[nodiscard]] auto AccessMode() const; + [[nodiscard]] auto BufferingMethod() const; + [[nodiscard]] auto Function() const; + [[nodiscard]] auto DeviceType() const; + [[nodiscard]] auto ControlCode() const; }; template <> struct consume { @@ -163,7 +159,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Custom_IIOControlCodeFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Custom::IOControlCode) CreateIOControlCode(uint16_t deviceType, uint16_t function, winrt::Windows::Devices::Custom::IOControlAccessMode const& accessMode, winrt::Windows::Devices::Custom::IOControlBufferingMethod const& bufferingMethod) const; + auto CreateIOControlCode(uint16_t deviceType, uint16_t function, winrt::Windows::Devices::Custom::IOControlAccessMode const& accessMode, winrt::Windows::Devices::Custom::IOControlBufferingMethod const& bufferingMethod) const; }; template <> struct consume { @@ -172,7 +168,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Custom_IKnownDeviceTypesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Unknown() const; + [[nodiscard]] auto Unknown() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.1.h index 304b075a..d376a53f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Custom_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.2.h index 58a8fd50..a7073775 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Custom_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.0.h index 3e8eabc4..cee80bf3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.0.h @@ -1,14 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Display_0_H #define WINRT_Windows_Devices_Display_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; struct Point; - struct Size; } WINRT_EXPORT namespace winrt::Windows::Graphics { @@ -118,26 +115,26 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_IDisplayMonitor { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitorConnectionKind) ConnectionKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitorPhysicalConnectorKind) PhysicalConnector() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayAdapterDeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DisplayAdapterId) DisplayAdapterId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DisplayAdapterTargetId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitorUsageKind) UsageKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) NativeResolutionInRawPixels() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PhysicalSizeInInches() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RawDpiX() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RawDpiY() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) RedPrimary() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) GreenPrimary() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) BluePrimary() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) WhitePoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MaxLuminanceInNits() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MinLuminanceInNits() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MaxAverageFullFrameLuminanceInNits() const; - WINRT_IMPL_AUTO(com_array) GetDescriptor(winrt::Windows::Devices::Display::DisplayMonitorDescriptorKind const& descriptorKind) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto ConnectionKind() const; + [[nodiscard]] auto PhysicalConnector() const; + [[nodiscard]] auto DisplayAdapterDeviceId() const; + [[nodiscard]] auto DisplayAdapterId() const; + [[nodiscard]] auto DisplayAdapterTargetId() const; + [[nodiscard]] auto UsageKind() const; + [[nodiscard]] auto NativeResolutionInRawPixels() const; + [[nodiscard]] auto PhysicalSizeInInches() const; + [[nodiscard]] auto RawDpiX() const; + [[nodiscard]] auto RawDpiY() const; + [[nodiscard]] auto RedPrimary() const; + [[nodiscard]] auto GreenPrimary() const; + [[nodiscard]] auto BluePrimary() const; + [[nodiscard]] auto WhitePoint() const; + [[nodiscard]] auto MaxLuminanceInNits() const; + [[nodiscard]] auto MinLuminanceInNits() const; + [[nodiscard]] auto MaxAverageFullFrameLuminanceInNits() const; + auto GetDescriptor(winrt::Windows::Devices::Display::DisplayMonitorDescriptorKind const& descriptorKind) const; }; template <> struct consume { @@ -146,7 +143,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_IDisplayMonitor2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDolbyVisionSupportedInHdrMode() const; + [[nodiscard]] auto IsDolbyVisionSupportedInHdrMode() const; }; template <> struct consume { @@ -155,9 +152,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_IDisplayMonitorStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromInterfaceIdAsync(param::hstring const& deviceInterfaceId) const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto FromInterfaceIdAsync(param::hstring const& deviceInterfaceId) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.1.h index 31ae470b..d2a6c2b2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Display_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.2.h index 3e1fa236..304ee4d1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Display_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.0.h index fc7768ad..28e61dc3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Display_Core_0_H @@ -20,9 +20,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; template struct __declspec(empty_bases) IKeyValuePair; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics { @@ -720,14 +717,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayAdapter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DisplayAdapterId) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceInterfacePath() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SourceCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PciVendorId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PciDeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PciSubSystemId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PciRevision() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DeviceInterfacePath() const; + [[nodiscard]] auto SourceCount() const; + [[nodiscard]] auto PciVendorId() const; + [[nodiscard]] auto PciDeviceId() const; + [[nodiscard]] auto PciSubSystemId() const; + [[nodiscard]] auto PciRevision() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -736,7 +733,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayAdapterStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayAdapter) FromId(winrt::Windows::Graphics::DisplayAdapterId const& id) const; + auto FromId(winrt::Windows::Graphics::DisplayAdapterId const& id) const; }; template <> struct consume { @@ -745,13 +742,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayDevice { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplaySource) CreateScanoutSource(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplaySurface) CreatePrimary(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription const& desc) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTaskPool) CreateTaskPool() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayFence) CreatePeriodicFence(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Foundation::TimeSpan const& offsetFromVBlank) const; - WINRT_IMPL_AUTO(void) WaitForVBlank(winrt::Windows::Devices::Display::Core::DisplaySource const& source) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayScanout) CreateSimpleScanout(winrt::Windows::Devices::Display::Core::DisplaySource const& pSource, winrt::Windows::Devices::Display::Core::DisplaySurface const& pSurface, uint32_t SubResourceIndex, uint32_t SyncInterval) const; - WINRT_IMPL_AUTO(bool) IsCapabilitySupported(winrt::Windows::Devices::Display::Core::DisplayDeviceCapability const& capability) const; + auto CreateScanoutSource(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; + auto CreatePrimary(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription const& desc) const; + auto CreateTaskPool() const; + auto CreatePeriodicFence(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Foundation::TimeSpan const& offsetFromVBlank) const; + auto WaitForVBlank(winrt::Windows::Devices::Display::Core::DisplaySource const& source) const; + auto CreateSimpleScanout(winrt::Windows::Devices::Display::Core::DisplaySource const& pSource, winrt::Windows::Devices::Display::Core::DisplaySurface const& pSurface, uint32_t SubResourceIndex, uint32_t SyncInterval) const; + auto IsCapabilitySupported(winrt::Windows::Devices::Display::Core::DisplayDeviceCapability const& capability) const; }; template <> struct consume { @@ -768,33 +765,33 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayManager { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetCurrentTargets() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetCurrentAdapters() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResult) TryAcquireTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; - WINRT_IMPL_AUTO(void) ReleaseTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) TryReadCurrentStateForAllTargets() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) TryAcquireTargetsAndReadCurrentState(param::iterable const& targets) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) TryAcquireTargetsAndCreateEmptyState(param::iterable const& targets) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) TryAcquireTargetsAndCreateSubstate(winrt::Windows::Devices::Display::Core::DisplayState const& existingState, param::iterable const& targets) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayDevice) CreateDisplayDevice(winrt::Windows::Devices::Display::Core::DisplayAdapter const& adapter) const; - WINRT_IMPL_AUTO(winrt::event_token) Enabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentTargets() const; + auto GetCurrentAdapters() const; + auto TryAcquireTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; + auto ReleaseTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; + auto TryReadCurrentStateForAllTargets() const; + auto TryAcquireTargetsAndReadCurrentState(param::iterable const& targets) const; + auto TryAcquireTargetsAndCreateEmptyState(param::iterable const& targets) const; + auto TryAcquireTargetsAndCreateSubstate(winrt::Windows::Devices::Display::Core::DisplayState const& existingState, param::iterable const& targets) const; + auto CreateDisplayDevice(winrt::Windows::Devices::Display::Core::DisplayAdapter const& adapter) const; + auto Enabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Enabled_revoker = impl::event_revoker::remove_Enabled>; - [[nodiscard]] Enabled_revoker Enabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Enabled(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Disabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Enabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Enabled(winrt::event_token const& token) const noexcept; + auto Disabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Disabled_revoker = impl::event_revoker::remove_Disabled>; - [[nodiscard]] Disabled_revoker Disabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Disabled(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Disabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Disabled(winrt::event_token const& token) const noexcept; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Changed_revoker = impl::event_revoker::remove_Changed>; - [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Changed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PathsFailedOrInvalidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Changed(winrt::event_token const& token) const noexcept; + auto PathsFailedOrInvalidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PathsFailedOrInvalidated_revoker = impl::event_revoker::remove_PathsFailedOrInvalidated>; - [[nodiscard]] PathsFailedOrInvalidated_revoker PathsFailedOrInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PathsFailedOrInvalidated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto PathsFailedOrInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PathsFailedOrInvalidated(winrt::event_token const& token) const noexcept; + auto Start() const; + auto Stop() const; }; template <> struct consume { @@ -803,9 +800,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -814,9 +811,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -825,9 +822,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -836,9 +833,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -847,9 +844,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResult) ErrorCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedErrorCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayState) State() const; + [[nodiscard]] auto ErrorCode() const; + [[nodiscard]] auto ExtendedErrorCode() const; + [[nodiscard]] auto State() const; }; template <> struct consume { @@ -858,7 +855,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManager) Create(winrt::Windows::Devices::Display::Core::DisplayManagerOptions const& options) const; + auto Create(winrt::Windows::Devices::Display::Core::DisplayManagerOptions const& options) const; }; template <> struct consume { @@ -867,15 +864,15 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayModeInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) SourceResolution() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStereo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) SourcePixelFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) TargetResolution() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPresentationRate) PresentationRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInterlaced() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayBitsPerChannel) GetWireFormatSupportedBitsPerChannel(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& encoding) const; - WINRT_IMPL_AUTO(bool) IsWireFormatSupported(winrt::Windows::Devices::Display::Core::DisplayWireFormat const& wireFormat) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto SourceResolution() const; + [[nodiscard]] auto IsStereo() const; + [[nodiscard]] auto SourcePixelFormat() const; + [[nodiscard]] auto TargetResolution() const; + [[nodiscard]] auto PresentationRate() const; + [[nodiscard]] auto IsInterlaced() const; + auto GetWireFormatSupportedBitsPerChannel(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& encoding) const; + auto IsWireFormatSupported(winrt::Windows::Devices::Display::Core::DisplayWireFormat const& wireFormat) const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -884,30 +881,30 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayPath { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayView) View() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTarget) Target() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPathStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SourceResolution() const; - WINRT_IMPL_AUTO(void) SourceResolution(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) SourcePixelFormat() const; - WINRT_IMPL_AUTO(void) SourcePixelFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStereo() const; - WINRT_IMPL_AUTO(void) IsStereo(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TargetResolution() const; - WINRT_IMPL_AUTO(void) TargetResolution(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PresentationRate() const; - WINRT_IMPL_AUTO(void) PresentationRate(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) IsInterlaced() const; - WINRT_IMPL_AUTO(void) IsInterlaced(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormat) WireFormat() const; - WINRT_IMPL_AUTO(void) WireFormat(winrt::Windows::Devices::Display::Core::DisplayWireFormat const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayRotation) Rotation() const; - WINRT_IMPL_AUTO(void) Rotation(winrt::Windows::Devices::Display::Core::DisplayRotation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPathScaling) Scaling() const; - WINRT_IMPL_AUTO(void) Scaling(winrt::Windows::Devices::Display::Core::DisplayPathScaling const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindModes(winrt::Windows::Devices::Display::Core::DisplayModeQueryOptions const& flags) const; - WINRT_IMPL_AUTO(void) ApplyPropertiesFromMode(winrt::Windows::Devices::Display::Core::DisplayModeInfo const& modeResult) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Properties() const; + [[nodiscard]] auto View() const; + [[nodiscard]] auto Target() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto SourceResolution() const; + auto SourceResolution(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto SourcePixelFormat() const; + auto SourcePixelFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const; + [[nodiscard]] auto IsStereo() const; + auto IsStereo(bool value) const; + [[nodiscard]] auto TargetResolution() const; + auto TargetResolution(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto PresentationRate() const; + auto PresentationRate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsInterlaced() const; + auto IsInterlaced(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto WireFormat() const; + auto WireFormat(winrt::Windows::Devices::Display::Core::DisplayWireFormat const& value) const; + [[nodiscard]] auto Rotation() const; + auto Rotation(winrt::Windows::Devices::Display::Core::DisplayRotation const& value) const; + [[nodiscard]] auto Scaling() const; + auto Scaling(winrt::Windows::Devices::Display::Core::DisplayPathScaling const& value) const; + auto FindModes(winrt::Windows::Devices::Display::Core::DisplayModeQueryOptions const& flags) const; + auto ApplyPropertiesFromMode(winrt::Windows::Devices::Display::Core::DisplayModeInfo const& modeResult) const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -916,13 +913,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Width() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Height() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) Format() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXColorSpace) ColorSpace() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStereo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription) MultisampleDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto Format() const; + [[nodiscard]] auto ColorSpace() const; + [[nodiscard]] auto IsStereo() const; + [[nodiscard]] auto MultisampleDescription() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -931,7 +928,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription) CreateInstance(uint32_t width, uint32_t height, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXColorSpace const& colorSpace, bool isStereo, winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription const& multisampleDescription) const; + auto CreateInstance(uint32_t width, uint32_t height, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXColorSpace const& colorSpace, bool isStereo, winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription const& multisampleDescription) const; }; template <> struct consume { @@ -940,7 +937,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription) CreateWithProperties(param::iterable> const& extraProperties, uint32_t width, uint32_t height, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXColorSpace const& colorSpace, bool isStereo, winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription const& multisampleDescription) const; + auto CreateWithProperties(param::iterable> const& extraProperties, uint32_t width, uint32_t height, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXColorSpace const& colorSpace, bool isStereo, winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription const& multisampleDescription) const; }; template <> struct consume { @@ -957,9 +954,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplaySource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DisplayAdapterId) AdapterId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SourceId() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) GetMetadata(winrt::guid const& Key) const; + [[nodiscard]] auto AdapterId() const; + [[nodiscard]] auto SourceId() const; + auto GetMetadata(winrt::guid const& Key) const; }; template <> struct consume { @@ -968,20 +965,20 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayState { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadOnly() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStale() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Targets() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Views() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Properties() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPath) ConnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPath) ConnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayView const& view) const; - WINRT_IMPL_AUTO(bool) CanConnectTargetToView(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayView const& view) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayView) GetViewForTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPath) GetPathForTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; - WINRT_IMPL_AUTO(void) DisconnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayStateOperationResult) TryFunctionalize(winrt::Windows::Devices::Display::Core::DisplayStateFunctionalizeOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayStateOperationResult) TryApply(winrt::Windows::Devices::Display::Core::DisplayStateApplyOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayState) Clone() const; + [[nodiscard]] auto IsReadOnly() const; + [[nodiscard]] auto IsStale() const; + [[nodiscard]] auto Targets() const; + [[nodiscard]] auto Views() const; + [[nodiscard]] auto Properties() const; + auto ConnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; + auto ConnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayView const& view) const; + auto CanConnectTargetToView(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayView const& view) const; + auto GetViewForTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; + auto GetPathForTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; + auto DisconnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const; + auto TryFunctionalize(winrt::Windows::Devices::Display::Core::DisplayStateFunctionalizeOptions const& options) const; + auto TryApply(winrt::Windows::Devices::Display::Core::DisplayStateApplyOptions const& options) const; + auto Clone() const; }; template <> struct consume { @@ -990,8 +987,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayStateOperationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayStateOperationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedErrorCode() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedErrorCode() const; }; template <> struct consume { @@ -1008,20 +1005,20 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayTarget { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayAdapter) Adapter() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceInterfacePath() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) AdapterRelativeId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConnected() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVirtualModeEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVirtualTopologyEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitorUsageKind) UsageKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTargetPersistence) MonitorPersistence() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StableMonitorId() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitor) TryGetMonitor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStale() const; - WINRT_IMPL_AUTO(bool) IsSame(winrt::Windows::Devices::Display::Core::DisplayTarget const& otherTarget) const; - WINRT_IMPL_AUTO(bool) IsEqual(winrt::Windows::Devices::Display::Core::DisplayTarget const& otherTarget) const; + [[nodiscard]] auto Adapter() const; + [[nodiscard]] auto DeviceInterfacePath() const; + [[nodiscard]] auto AdapterRelativeId() const; + [[nodiscard]] auto IsConnected() const; + [[nodiscard]] auto IsVirtualModeEnabled() const; + [[nodiscard]] auto IsVirtualTopologyEnabled() const; + [[nodiscard]] auto UsageKind() const; + [[nodiscard]] auto MonitorPersistence() const; + [[nodiscard]] auto StableMonitorId() const; + auto TryGetMonitor() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto IsStale() const; + auto IsSame(winrt::Windows::Devices::Display::Core::DisplayTarget const& otherTarget) const; + auto IsEqual(winrt::Windows::Devices::Display::Core::DisplayTarget const& otherTarget) const; }; template <> struct consume { @@ -1030,8 +1027,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayTask { - WINRT_IMPL_AUTO(void) SetScanout(winrt::Windows::Devices::Display::Core::DisplayScanout const& scanout) const; - WINRT_IMPL_AUTO(void) SetWait(winrt::Windows::Devices::Display::Core::DisplayFence const& readyFence, uint64_t readyFenceValue) const; + auto SetScanout(winrt::Windows::Devices::Display::Core::DisplayScanout const& scanout) const; + auto SetWait(winrt::Windows::Devices::Display::Core::DisplayFence const& readyFence, uint64_t readyFenceValue) const; }; template <> struct consume { @@ -1040,8 +1037,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayTaskPool { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTask) CreateTask() const; - WINRT_IMPL_AUTO(void) ExecuteTask(winrt::Windows::Devices::Display::Core::DisplayTask const& task) const; + auto CreateTask() const; + auto ExecuteTask(winrt::Windows::Devices::Display::Core::DisplayTask const& task) const; }; template <> struct consume { @@ -1050,11 +1047,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayView { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Paths() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ContentResolution() const; - WINRT_IMPL_AUTO(void) ContentResolution(winrt::Windows::Foundation::IReference const& value) const; - WINRT_IMPL_AUTO(void) SetPrimaryPath(winrt::Windows::Devices::Display::Core::DisplayPath const& path) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Properties() const; + [[nodiscard]] auto Paths() const; + [[nodiscard]] auto ContentResolution() const; + auto ContentResolution(winrt::Windows::Foundation::IReference const& value) const; + auto SetPrimaryPath(winrt::Windows::Devices::Display::Core::DisplayPath const& path) const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -1063,12 +1060,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayWireFormat { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding) PixelEncoding() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) BitsPerChannel() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace) ColorSpace() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf) Eotf() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata) HdrMetadata() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto PixelEncoding() const; + [[nodiscard]] auto BitsPerChannel() const; + [[nodiscard]] auto ColorSpace() const; + [[nodiscard]] auto Eotf() const; + [[nodiscard]] auto HdrMetadata() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -1077,7 +1074,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayWireFormatFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormat) CreateInstance(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& pixelEncoding, int32_t bitsPerChannel, winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace const& colorSpace, winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf const& eotf, winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata const& hdrMetadata) const; + auto CreateInstance(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& pixelEncoding, int32_t bitsPerChannel, winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace const& colorSpace, winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf const& eotf, winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata const& hdrMetadata) const; }; template <> struct consume { @@ -1086,7 +1083,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Display_Core_IDisplayWireFormatStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormat) CreateWithProperties(param::iterable> const& extraProperties, winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& pixelEncoding, int32_t bitsPerChannel, winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace const& colorSpace, winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf const& eotf, winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata const& hdrMetadata) const; + auto CreateWithProperties(param::iterable> const& extraProperties, winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& pixelEncoding, int32_t bitsPerChannel, winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace const& colorSpace, winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf const& eotf, winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata const& hdrMetadata) const; }; template <> struct consume { @@ -1094,7 +1091,7 @@ namespace winrt::impl }; struct struct_Windows_Devices_Display_Core_DisplayPresentationRate { - winrt::Windows::Foundation::Numerics::Rational VerticalSyncRate; + struct{ uint32_t Numerator; uint32_t Denominator; } VerticalSyncRate; int32_t VerticalSyncsPerPresentation; }; template <> struct abi diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.1.h index 0c3e0c83..f6803e1d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Display_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.2.h index b1e3b3c5..cf6b4ba1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Display_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.0.h index 4afba783..1b891d8e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Enumeration_0_H @@ -11,16 +11,13 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; struct Rect; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Security::Credentials { @@ -697,7 +694,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -706,7 +703,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; + [[nodiscard]] auto Id() const; }; template <> struct consume { @@ -715,11 +712,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceAccessInformation { - WINRT_IMPL_AUTO(winrt::event_token) AccessChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccessChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AccessChanged_revoker = impl::event_revoker::remove_AccessChanged>; - [[nodiscard]] AccessChanged_revoker AccessChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AccessChanged(winrt::event_token const& cookie) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessStatus) CurrentStatus() const; + [[nodiscard]] auto AccessChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccessChanged(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto CurrentStatus() const; }; template <> struct consume { @@ -728,9 +725,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceAccessInformationStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) CreateFromId(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) CreateFromDeviceClassId(winrt::guid const& deviceClassId) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) CreateFromDeviceClass(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const; + auto CreateFromId(param::hstring const& deviceId) const; + auto CreateFromDeviceClassId(winrt::guid const& deviceClassId) const; + auto CreateFromDeviceClass(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const; }; template <> struct consume { @@ -739,7 +736,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceConnectionChangeTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -748,7 +745,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceDisconnectButtonClickedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) Device() const; + [[nodiscard]] auto Device() const; }; template <> struct consume { @@ -757,15 +754,15 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceInformation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDefault() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::EnclosureLocation) EnclosureLocation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; - WINRT_IMPL_AUTO(void) Update(winrt::Windows::Devices::Enumeration::DeviceInformationUpdate const& updateInfo) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetThumbnailAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetGlyphThumbnailAsync() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto IsEnabled() const; + [[nodiscard]] auto IsDefault() const; + [[nodiscard]] auto EnclosureLocation() const; + [[nodiscard]] auto Properties() const; + auto Update(winrt::Windows::Devices::Enumeration::DeviceInformationUpdate const& updateInfo) const; + auto GetThumbnailAsync() const; + auto GetGlyphThumbnailAsync() const; }; template <> struct consume { @@ -774,8 +771,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceInformation2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformationKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformationPairing) Pairing() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Pairing() const; }; template <> struct consume { @@ -784,13 +781,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel, winrt::Windows::Devices::Enumeration::IDevicePairingSettings const& devicePairingSettings) const; - WINRT_IMPL_AUTO(winrt::event_token) PairingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported) const; + auto PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const; + auto PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel, winrt::Windows::Devices::Enumeration::IDevicePairingSettings const& devicePairingSettings) const; + auto PairingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PairingRequested_revoker = impl::event_revoker::remove_PairingRequested>; - [[nodiscard]] PairingRequested_revoker PairingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PairingRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PairingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PairingRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -799,10 +796,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceInformationPairing { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPaired() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanPair() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PairAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const; + [[nodiscard]] auto IsPaired() const; + [[nodiscard]] auto CanPair() const; + auto PairAsync() const; + auto PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const; }; template <> struct consume { @@ -811,10 +808,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceInformationPairing2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel) ProtectionLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformationCustomPairing) Custom() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel, winrt::Windows::Devices::Enumeration::IDevicePairingSettings const& devicePairingSettings) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UnpairAsync() const; + [[nodiscard]] auto ProtectionLevel() const; + [[nodiscard]] auto Custom() const; + auto PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel, winrt::Windows::Devices::Enumeration::IDevicePairingSettings const& devicePairingSettings) const; + auto UnpairAsync() const; }; template <> struct consume { @@ -823,7 +820,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceInformationPairingStatics { - WINRT_IMPL_AUTO(bool) TryRegisterForAllInboundPairingRequests(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported) const; + auto TryRegisterForAllInboundPairingRequests(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported) const; }; template <> struct consume { @@ -832,7 +829,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceInformationPairingStatics2 { - WINRT_IMPL_AUTO(bool) TryRegisterForAllInboundPairingRequestsWithProtectionLevel(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const; + auto TryRegisterForAllInboundPairingRequestsWithProtectionLevel(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const; }; template <> struct consume { @@ -841,16 +838,16 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceInformationStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable const& additionalProperties) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindAllAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindAllAsync(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindAllAsync(param::hstring const& aqsFilter) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindAllAsync(param::hstring const& aqsFilter, param::async_iterable const& additionalProperties) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) CreateWatcher() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) CreateWatcher(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) CreateWatcher(param::hstring const& aqsFilter) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) CreateWatcher(param::hstring const& aqsFilter, param::iterable const& additionalProperties) const; + auto CreateFromIdAsync(param::hstring const& deviceId) const; + auto CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable const& additionalProperties) const; + auto FindAllAsync() const; + auto FindAllAsync(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const; + auto FindAllAsync(param::hstring const& aqsFilter) const; + auto FindAllAsync(param::hstring const& aqsFilter, param::async_iterable const& additionalProperties) const; + auto CreateWatcher() const; + auto CreateWatcher(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const; + auto CreateWatcher(param::hstring const& aqsFilter) const; + auto CreateWatcher(param::hstring const& aqsFilter, param::iterable const& additionalProperties) const; }; template <> struct consume { @@ -859,10 +856,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceInformationStatics2 { - WINRT_IMPL_AUTO(hstring) GetAqsFilterFromDeviceClass(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindAllAsync(param::hstring const& aqsFilter, param::async_iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) CreateWatcher(param::hstring const& aqsFilter, param::iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const; + auto GetAqsFilterFromDeviceClass(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const; + auto CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const; + auto FindAllAsync(param::hstring const& aqsFilter, param::async_iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const; + auto CreateWatcher(param::hstring const& aqsFilter, param::iterable const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const; }; template <> struct consume { @@ -871,8 +868,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceInformationUpdate { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -881,7 +878,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceInformationUpdate2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformationKind) Kind() const; + [[nodiscard]] auto Kind() const; }; template <> struct consume { @@ -890,12 +887,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) DeviceInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePairingKinds) PairingKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Pin() const; - WINRT_IMPL_AUTO(void) Accept() const; - WINRT_IMPL_AUTO(void) Accept(param::hstring const& pin) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto DeviceInformation() const; + [[nodiscard]] auto PairingKind() const; + [[nodiscard]] auto Pin() const; + auto Accept() const; + auto Accept(param::hstring const& pin) const; + auto GetDeferral() const; }; template <> struct consume { @@ -904,7 +901,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs2 { - WINRT_IMPL_AUTO(void) AcceptWithPasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const; + auto AcceptWithPasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const; }; template <> struct consume { @@ -913,8 +910,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDevicePairingResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePairingResultStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel) ProtectionLevelUsed() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ProtectionLevelUsed() const; }; template <> struct consume { @@ -931,27 +928,27 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDevicePicker { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePickerFilter) Filter() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePickerAppearance) Appearance() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) RequestedProperties() const; - WINRT_IMPL_AUTO(winrt::event_token) DeviceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Filter() const; + [[nodiscard]] auto Appearance() const; + [[nodiscard]] auto RequestedProperties() const; + auto DeviceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DeviceSelected_revoker = impl::event_revoker::remove_DeviceSelected>; - [[nodiscard]] DeviceSelected_revoker DeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DeviceSelected(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DisconnectButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DeviceSelected(winrt::event_token const& token) const noexcept; + auto DisconnectButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DisconnectButtonClicked_revoker = impl::event_revoker::remove_DisconnectButtonClicked>; - [[nodiscard]] DisconnectButtonClicked_revoker DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DisconnectButtonClicked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DisconnectButtonClicked(winrt::event_token const& token) const noexcept; + auto DevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DevicePickerDismissed_revoker = impl::event_revoker::remove_DevicePickerDismissed>; - [[nodiscard]] DevicePickerDismissed_revoker DevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DevicePickerDismissed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Show(winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(void) Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& placement) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PickSingleDeviceAsync(winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PickSingleDeviceAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& placement) const; - WINRT_IMPL_AUTO(void) Hide() const; - WINRT_IMPL_AUTO(void) SetDisplayStatus(winrt::Windows::Devices::Enumeration::DeviceInformation const& device, param::hstring const& status, winrt::Windows::Devices::Enumeration::DevicePickerDisplayStatusOptions const& options) const; + [[nodiscard]] auto DevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DevicePickerDismissed(winrt::event_token const& token) const noexcept; + auto Show(winrt::Windows::Foundation::Rect const& selection) const; + auto Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& placement) const; + auto PickSingleDeviceAsync(winrt::Windows::Foundation::Rect const& selection) const; + auto PickSingleDeviceAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& placement) const; + auto Hide() const; + auto SetDisplayStatus(winrt::Windows::Devices::Enumeration::DeviceInformation const& device, param::hstring const& status, winrt::Windows::Devices::Enumeration::DevicePickerDisplayStatusOptions const& options) const; }; template <> struct consume { @@ -960,20 +957,20 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDevicePickerAppearance { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) ForegroundColor() const; - WINRT_IMPL_AUTO(void) ForegroundColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) BackgroundColor() const; - WINRT_IMPL_AUTO(void) BackgroundColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) AccentColor() const; - WINRT_IMPL_AUTO(void) AccentColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) SelectedForegroundColor() const; - WINRT_IMPL_AUTO(void) SelectedForegroundColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) SelectedBackgroundColor() const; - WINRT_IMPL_AUTO(void) SelectedBackgroundColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) SelectedAccentColor() const; - WINRT_IMPL_AUTO(void) SelectedAccentColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto ForegroundColor() const; + auto ForegroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto BackgroundColor() const; + auto BackgroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto AccentColor() const; + auto AccentColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto SelectedForegroundColor() const; + auto SelectedForegroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto SelectedBackgroundColor() const; + auto SelectedBackgroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto SelectedAccentColor() const; + auto SelectedAccentColor(winrt::Windows::UI::Color const& value) const; }; template <> struct consume { @@ -982,8 +979,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDevicePickerFilter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SupportedDeviceClasses() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SupportedDeviceSelectors() const; + [[nodiscard]] auto SupportedDeviceClasses() const; + [[nodiscard]] auto SupportedDeviceSelectors() const; }; template <> struct consume { @@ -992,7 +989,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceSelectedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) SelectedDevice() const; + [[nodiscard]] auto SelectedDevice() const; }; template <> struct consume { @@ -1001,7 +998,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceUnpairingResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceUnpairingResultStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -1010,29 +1007,29 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceWatcher { - WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Added_revoker = impl::event_revoker::remove_Added>; - [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Added(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Updated_revoker = impl::event_revoker::remove_Updated>; - [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Updated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Removed_revoker = impl::event_revoker::remove_Removed>; - [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Removed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Stopped(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherStatus) Status() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; }; template <> struct consume { @@ -1041,7 +1038,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceWatcher2 { - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::DeviceWatcherTrigger) GetBackgroundTrigger(param::iterable const& requestedEventKinds) const; + auto GetBackgroundTrigger(param::iterable const& requestedEventKinds) const; }; template <> struct consume { @@ -1050,9 +1047,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceWatcherEvent { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherEventKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) DeviceInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformationUpdate) DeviceInformationUpdate() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto DeviceInformation() const; + [[nodiscard]] auto DeviceInformationUpdate() const; }; template <> struct consume { @@ -1061,7 +1058,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IDeviceWatcherTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) DeviceWatcherEvents() const; + [[nodiscard]] auto DeviceWatcherEvents() const; }; template <> struct consume { @@ -1070,9 +1067,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IEnclosureLocation { - [[nodiscard]] WINRT_IMPL_AUTO(bool) InDock() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) InLid() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Panel) Panel() const; + [[nodiscard]] auto InDock() const; + [[nodiscard]] auto InLid() const; + [[nodiscard]] auto Panel() const; }; template <> struct consume { @@ -1081,7 +1078,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_IEnclosureLocation2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) RotationAngleInDegreesClockwise() const; + [[nodiscard]] auto RotationAngleInDegreesClockwise() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.1.h index 446c8681..c438f551 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Enumeration_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.2.h index cb380a01..f6d277d2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Enumeration_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.0.h index a9ec6f4d..7e469123 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Enumeration_Pnp_0_H @@ -10,13 +10,11 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration::Pnp @@ -122,10 +120,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_Pnp_IPnpObject { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType) Type() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; - WINRT_IMPL_AUTO(void) Update(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate const& updateInfo) const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Properties() const; + auto Update(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate const& updateInfo) const; }; template <> struct consume { @@ -134,11 +132,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFromIdAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::hstring const& id, param::async_iterable const& requestedProperties) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable const& requestedProperties) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable const& requestedProperties, param::hstring const& aqsFilter) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher) CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable const& requestedProperties) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher) CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable const& requestedProperties, param::hstring const& aqsFilter) const; + auto CreateFromIdAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::hstring const& id, param::async_iterable const& requestedProperties) const; + auto FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable const& requestedProperties) const; + auto FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable const& requestedProperties, param::hstring const& aqsFilter) const; + auto CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable const& requestedProperties) const; + auto CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable const& requestedProperties, param::hstring const& aqsFilter) const; }; template <> struct consume { @@ -147,9 +145,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_Pnp_IPnpObjectUpdate { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType) Type() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -158,29 +156,29 @@ namespace winrt::impl template struct consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher { - WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Added_revoker = impl::event_revoker::remove_Added>; - [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Added(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Updated_revoker = impl::event_revoker::remove_Updated>; - [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Updated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Removed_revoker = impl::event_revoker::remove_Removed>; - [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Removed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Stopped(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherStatus) Status() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.1.h index 623f3e4a..d3ce5c7c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Enumeration_Pnp_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.2.h index 650c60d7..cac35058 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Enumeration_Pnp_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.0.h index fe2ab761..3b58ff49 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Geolocation_0_H @@ -6,14 +6,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation { @@ -572,11 +570,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_ICivicAddress { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Country() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) City() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PostalCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; + [[nodiscard]] auto Country() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto City() const; + [[nodiscard]] auto PostalCode() const; + [[nodiscard]] auto Timestamp() const; }; template <> struct consume { @@ -585,11 +583,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeoboundingBox { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) NorthwestCorner() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) SoutheastCorner() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) Center() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinAltitude() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxAltitude() const; + [[nodiscard]] auto NorthwestCorner() const; + [[nodiscard]] auto SoutheastCorner() const; + [[nodiscard]] auto Center() const; + [[nodiscard]] auto MinAltitude() const; + [[nodiscard]] auto MaxAltitude() const; }; template <> struct consume { @@ -598,9 +596,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeoboundingBoxFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) CreateWithAltitudeReference(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) CreateWithAltitudeReferenceAndSpatialReference(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const; + auto Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner) const; + auto CreateWithAltitudeReference(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const; + auto CreateWithAltitudeReferenceAndSpatialReference(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const; }; template <> struct consume { @@ -609,9 +607,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) TryCompute(param::iterable const& positions) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) TryCompute(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) TryCompute(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem, uint32_t spatialReferenceId) const; + auto TryCompute(param::iterable const& positions) const; + auto TryCompute(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem) const; + auto TryCompute(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem, uint32_t spatialReferenceId) const; }; template <> struct consume { @@ -620,8 +618,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeocircle { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) Center() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Radius() const; + [[nodiscard]] auto Center() const; + [[nodiscard]] auto Radius() const; }; template <> struct consume { @@ -630,9 +628,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeocircleFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geocircle) Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geocircle) CreateWithAltitudeReferenceSystem(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geocircle) CreateWithAltitudeReferenceSystemAndSpatialReferenceId(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const; + auto Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius) const; + auto CreateWithAltitudeReferenceSystem(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const; + auto CreateWithAltitudeReferenceSystemAndSpatialReferenceId(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const; }; template <> struct consume { @@ -641,14 +639,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeocoordinate { - [[nodiscard]] WINRT_IMPL_AUTO(double) Latitude() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Longitude() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Altitude() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Accuracy() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AltitudeAccuracy() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Heading() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Speed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; + [[nodiscard]] auto Latitude() const; + [[nodiscard]] auto Longitude() const; + [[nodiscard]] auto Altitude() const; + [[nodiscard]] auto Accuracy() const; + [[nodiscard]] auto AltitudeAccuracy() const; + [[nodiscard]] auto Heading() const; + [[nodiscard]] auto Speed() const; + [[nodiscard]] auto Timestamp() const; }; template <> struct consume { @@ -657,9 +655,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PositionDilutionOfPrecision() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) HorizontalDilutionOfPrecision() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) VerticalDilutionOfPrecision() const; + [[nodiscard]] auto PositionDilutionOfPrecision() const; + [[nodiscard]] auto HorizontalDilutionOfPrecision() const; + [[nodiscard]] auto VerticalDilutionOfPrecision() const; }; template <> struct consume { @@ -668,8 +666,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) GeometricDilutionOfPrecision() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TimeDilutionOfPrecision() const; + [[nodiscard]] auto GeometricDilutionOfPrecision() const; + [[nodiscard]] auto TimeDilutionOfPrecision() const; }; template <> struct consume { @@ -678,7 +676,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeocoordinateWithPoint { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Point() const; + [[nodiscard]] auto Point() const; }; template <> struct consume { @@ -687,8 +685,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionData { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionSource) PositionSource() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeocoordinateSatelliteData) SatelliteData() const; + [[nodiscard]] auto PositionSource() const; + [[nodiscard]] auto SatelliteData() const; }; template <> struct consume { @@ -697,7 +695,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionSourceTimestamp { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PositionSourceTimestamp() const; + [[nodiscard]] auto PositionSourceTimestamp() const; }; template <> struct consume { @@ -706,23 +704,23 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeolocator { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionAccuracy) DesiredAccuracy() const; - WINRT_IMPL_AUTO(void) DesiredAccuracy(winrt::Windows::Devices::Geolocation::PositionAccuracy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MovementThreshold() const; - WINRT_IMPL_AUTO(void) MovementThreshold(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportInterval() const; - WINRT_IMPL_AUTO(void) ReportInterval(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionStatus) LocationStatus() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetGeopositionAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetGeopositionAsync(winrt::Windows::Foundation::TimeSpan const& maximumAge, winrt::Windows::Foundation::TimeSpan const& timeout) const; - WINRT_IMPL_AUTO(winrt::event_token) PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DesiredAccuracy() const; + auto DesiredAccuracy(winrt::Windows::Devices::Geolocation::PositionAccuracy const& value) const; + [[nodiscard]] auto MovementThreshold() const; + auto MovementThreshold(double value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto LocationStatus() const; + auto GetGeopositionAsync() const; + auto GetGeopositionAsync(winrt::Windows::Foundation::TimeSpan const& maximumAge, winrt::Windows::Foundation::TimeSpan const& timeout) const; + auto PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PositionChanged_revoker = impl::event_revoker::remove_PositionChanged>; - [[nodiscard]] PositionChanged_revoker PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PositionChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PositionChanged(winrt::event_token const& token) const noexcept; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; - [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -731,7 +729,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeolocator2 { - WINRT_IMPL_AUTO(void) AllowFallbackToConsentlessPositions() const; + auto AllowFallbackToConsentlessPositions() const; }; template <> struct consume { @@ -740,9 +738,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeolocatorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const; + auto RequestAccessAsync() const; + auto GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime) const; + auto GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const; }; template <> struct consume { @@ -751,9 +749,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeolocatorStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDefaultGeopositionRecommended() const; - WINRT_IMPL_AUTO(void) DefaultGeoposition(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DefaultGeoposition() const; + [[nodiscard]] auto IsDefaultGeopositionRecommended() const; + auto DefaultGeoposition(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto DefaultGeoposition() const; }; template <> struct consume { @@ -762,8 +760,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeolocatorWithScalarAccuracy { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DesiredAccuracyInMeters() const; - WINRT_IMPL_AUTO(void) DesiredAccuracyInMeters(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto DesiredAccuracyInMeters() const; + auto DesiredAccuracyInMeters(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -772,7 +770,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeopath { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Positions() const; + [[nodiscard]] auto Positions() const; }; template <> struct consume { @@ -781,9 +779,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeopathFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) Create(param::iterable const& positions) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) CreateWithAltitudeReference(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) CreateWithAltitudeReferenceAndSpatialReference(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const; + auto Create(param::iterable const& positions) const; + auto CreateWithAltitudeReference(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const; + auto CreateWithAltitudeReferenceAndSpatialReference(param::iterable const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const; }; template <> struct consume { @@ -792,7 +790,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeopoint { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) Position() const; + [[nodiscard]] auto Position() const; }; template <> struct consume { @@ -801,9 +799,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeopointFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) CreateWithAltitudeReferenceSystem(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) CreateWithAltitudeReferenceSystemAndSpatialReferenceId(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const; + auto Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position) const; + auto CreateWithAltitudeReferenceSystem(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const; + auto CreateWithAltitudeReferenceSystemAndSpatialReferenceId(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const; }; template <> struct consume { @@ -812,8 +810,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeoposition { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geocoordinate) Coordinate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::CivicAddress) CivicAddress() const; + [[nodiscard]] auto Coordinate() const; + [[nodiscard]] auto CivicAddress() const; }; template <> struct consume { @@ -822,7 +820,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeoposition2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::VenueData) VenueData() const; + [[nodiscard]] auto VenueData() const; }; template <> struct consume { @@ -831,9 +829,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeoshape { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoshapeType) GeoshapeType() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SpatialReferenceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem) AltitudeReferenceSystem() const; + [[nodiscard]] auto GeoshapeType() const; + [[nodiscard]] auto SpatialReferenceId() const; + [[nodiscard]] auto AltitudeReferenceSystem() const; }; template <> struct consume { @@ -842,9 +840,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeovisit { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::VisitStateChange) StateChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto StateChange() const; + [[nodiscard]] auto Timestamp() const; }; template <> struct consume { @@ -853,13 +851,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeovisitMonitor { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::VisitMonitoringScope) MonitoringScope() const; - WINRT_IMPL_AUTO(void) Start(winrt::Windows::Devices::Geolocation::VisitMonitoringScope const& value) const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(winrt::event_token) VisitStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MonitoringScope() const; + auto Start(winrt::Windows::Devices::Geolocation::VisitMonitoringScope const& value) const; + auto Stop() const; + auto VisitStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using VisitStateChanged_revoker = impl::event_revoker::remove_VisitStateChanged>; - [[nodiscard]] VisitStateChanged_revoker VisitStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VisitStateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto VisitStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VisitStateChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -868,7 +866,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeovisitMonitorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetLastReportAsync() const; + auto GetLastReportAsync() const; }; template <> struct consume { @@ -877,7 +875,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeovisitStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geovisit) Visit() const; + [[nodiscard]] auto Visit() const; }; template <> struct consume { @@ -886,7 +884,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IGeovisitTriggerDetails { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ReadReports() const; + auto ReadReports() const; }; template <> struct consume { @@ -895,7 +893,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IPositionChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) Position() const; + [[nodiscard]] auto Position() const; }; template <> struct consume { @@ -904,7 +902,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IStatusChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -913,8 +911,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_IVenueData { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Level() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Level() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.1.h index 01bcc8be..a9af1ee6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Geolocation_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.2.h index cb43c7c8..b048e4fc 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Geolocation_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.0.h index 02f29353..ed1af225 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Geolocation_Geofencing_0_H @@ -13,11 +13,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation::Geofencing { enum class GeofenceMonitorStatus : int32_t @@ -148,13 +143,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_Geofencing_IGeofence { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) StartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DwellTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates) MonitoredStates() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::IGeoshape) Geoshape() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SingleUse() const; + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto DwellTime() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto MonitoredStates() const; + [[nodiscard]] auto Geoshape() const; + [[nodiscard]] auto SingleUse() const; }; template <> struct consume { @@ -163,10 +158,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) Create(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) CreateWithMonitorStates(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) CreateWithMonitorStatesAndDwellTime(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse, winrt::Windows::Foundation::TimeSpan const& dwellTime) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) CreateWithMonitorStatesDwellTimeStartTimeAndDuration(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse, winrt::Windows::Foundation::TimeSpan const& dwellTime, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const; + auto Create(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape) const; + auto CreateWithMonitorStates(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse) const; + auto CreateWithMonitorStatesAndDwellTime(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse, winrt::Windows::Foundation::TimeSpan const& dwellTime) const; + auto CreateWithMonitorStatesDwellTimeStartTimeAndDuration(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse, winrt::Windows::Foundation::TimeSpan const& dwellTime, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const; }; template <> struct consume { @@ -175,18 +170,18 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitorStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Geofences() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) LastKnownGeoposition() const; - WINRT_IMPL_AUTO(winrt::event_token) GeofenceStateChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Geofences() const; + [[nodiscard]] auto LastKnownGeoposition() const; + auto GeofenceStateChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using GeofenceStateChanged_revoker = impl::event_revoker::remove_GeofenceStateChanged>; - [[nodiscard]] GeofenceStateChanged_revoker GeofenceStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) GeofenceStateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ReadReports() const; - WINRT_IMPL_AUTO(winrt::event_token) StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto GeofenceStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto GeofenceStateChanged(winrt::event_token const& token) const noexcept; + auto ReadReports() const; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; - [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) StatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto StatusChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -195,7 +190,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitorStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor) Current() const; + [[nodiscard]] auto Current() const; }; template <> struct consume { @@ -204,10 +199,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::GeofenceState) NewState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) Geofence() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) Geoposition() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::GeofenceRemovalReason) RemovalReason() const; + [[nodiscard]] auto NewState() const; + [[nodiscard]] auto Geofence() const; + [[nodiscard]] auto Geoposition() const; + [[nodiscard]] auto RemovalReason() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.1.h index fbf4d709..6a45de64 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Geolocation_Geofencing_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.2.h index d1697aba..17975c0c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Geolocation_Geofencing_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.0.h index 0878cac8..b4ceb6e2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Gpio_0_H @@ -11,14 +11,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Devices::Gpio { enum class GpioChangePolarity : int32_t @@ -238,13 +232,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Gpio_IGpioChangeCounter { - WINRT_IMPL_AUTO(void) Polarity(winrt::Windows::Devices::Gpio::GpioChangePolarity const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangePolarity) Polarity() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStarted() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeCount) Read() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeCount) Reset() const; + auto Polarity(winrt::Windows::Devices::Gpio::GpioChangePolarity const& value) const; + [[nodiscard]] auto Polarity() const; + [[nodiscard]] auto IsStarted() const; + auto Start() const; + auto Stop() const; + auto Read() const; + auto Reset() const; }; template <> struct consume { @@ -253,7 +247,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Gpio_IGpioChangeCounterFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeCounter) Create(winrt::Windows::Devices::Gpio::GpioPin const& pin) const; + auto Create(winrt::Windows::Devices::Gpio::GpioPin const& pin) const; }; template <> struct consume { @@ -262,20 +256,20 @@ namespace winrt::impl template struct consume_Windows_Devices_Gpio_IGpioChangeReader { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Capacity() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Length() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEmpty() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOverflowed() const; - WINRT_IMPL_AUTO(void) Polarity(winrt::Windows::Devices::Gpio::GpioChangePolarity const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangePolarity) Polarity() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStarted() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(void) Clear() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeRecord) GetNextItem() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeRecord) PeekNextItem() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetAllItems() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WaitForItemsAsync(int32_t count) const; + [[nodiscard]] auto Capacity() const; + [[nodiscard]] auto Length() const; + [[nodiscard]] auto IsEmpty() const; + [[nodiscard]] auto IsOverflowed() const; + auto Polarity(winrt::Windows::Devices::Gpio::GpioChangePolarity const& value) const; + [[nodiscard]] auto Polarity() const; + [[nodiscard]] auto IsStarted() const; + auto Start() const; + auto Stop() const; + auto Clear() const; + auto GetNextItem() const; + auto PeekNextItem() const; + auto GetAllItems() const; + auto WaitForItemsAsync(int32_t count) const; }; template <> struct consume { @@ -284,8 +278,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Gpio_IGpioChangeReaderFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeReader) Create(winrt::Windows::Devices::Gpio::GpioPin const& pin) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeReader) CreateWithCapacity(winrt::Windows::Devices::Gpio::GpioPin const& pin, int32_t minCapacity) const; + auto Create(winrt::Windows::Devices::Gpio::GpioPin const& pin) const; + auto CreateWithCapacity(winrt::Windows::Devices::Gpio::GpioPin const& pin, int32_t minCapacity) const; }; template <> struct consume { @@ -294,10 +288,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Gpio_IGpioController { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PinCount() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioPin) OpenPin(int32_t pinNumber) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioPin) OpenPin(int32_t pinNumber, winrt::Windows::Devices::Gpio::GpioSharingMode const& sharingMode) const; - WINRT_IMPL_AUTO(bool) TryOpenPin(int32_t pinNumber, winrt::Windows::Devices::Gpio::GpioSharingMode const& sharingMode, winrt::Windows::Devices::Gpio::GpioPin& pin, winrt::Windows::Devices::Gpio::GpioOpenStatus& openStatus) const; + [[nodiscard]] auto PinCount() const; + auto OpenPin(int32_t pinNumber) const; + auto OpenPin(int32_t pinNumber, winrt::Windows::Devices::Gpio::GpioSharingMode const& sharingMode) const; + auto TryOpenPin(int32_t pinNumber, winrt::Windows::Devices::Gpio::GpioSharingMode const& sharingMode, winrt::Windows::Devices::Gpio::GpioPin& pin, winrt::Windows::Devices::Gpio::GpioOpenStatus& openStatus) const; }; template <> struct consume { @@ -306,7 +300,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Gpio_IGpioControllerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioController) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -315,8 +309,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Gpio_IGpioControllerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetControllersAsync(winrt::Windows::Devices::Gpio::Provider::IGpioProvider const& provider) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; + auto GetControllersAsync(winrt::Windows::Devices::Gpio::Provider::IGpioProvider const& provider) const; + auto GetDefaultAsync() const; }; template <> struct consume { @@ -325,19 +319,19 @@ namespace winrt::impl template struct consume_Windows_Devices_Gpio_IGpioPin { - WINRT_IMPL_AUTO(winrt::event_token) ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ValueChanged_revoker = impl::event_revoker::remove_ValueChanged>; - [[nodiscard]] ValueChanged_revoker ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ValueChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DebounceTimeout() const; - WINRT_IMPL_AUTO(void) DebounceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PinNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioSharingMode) SharingMode() const; - WINRT_IMPL_AUTO(bool) IsDriveModeSupported(winrt::Windows::Devices::Gpio::GpioPinDriveMode const& driveMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioPinDriveMode) GetDriveMode() const; - WINRT_IMPL_AUTO(void) SetDriveMode(winrt::Windows::Devices::Gpio::GpioPinDriveMode const& value) const; - WINRT_IMPL_AUTO(void) Write(winrt::Windows::Devices::Gpio::GpioPinValue const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioPinValue) Read() const; + [[nodiscard]] auto ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ValueChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DebounceTimeout() const; + auto DebounceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto PinNumber() const; + [[nodiscard]] auto SharingMode() const; + auto IsDriveModeSupported(winrt::Windows::Devices::Gpio::GpioPinDriveMode const& driveMode) const; + auto GetDriveMode() const; + auto SetDriveMode(winrt::Windows::Devices::Gpio::GpioPinDriveMode const& value) const; + auto Write(winrt::Windows::Devices::Gpio::GpioPinValue const& value) const; + auto Read() const; }; template <> struct consume { @@ -346,7 +340,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Gpio_IGpioPinValueChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioPinEdge) Edge() const; + [[nodiscard]] auto Edge() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.1.h index c62d9c79..d3200219 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Gpio_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.2.h index 1e0f9097..bc5582e3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Gpio_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.0.h index c85de80b..35887909 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Gpio_Provider_0_H @@ -8,10 +8,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Devices::Gpio::Provider { enum class ProviderGpioPinDriveMode : int32_t @@ -124,8 +120,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Gpio_Provider_IGpioControllerProvider { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PinCount() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider) OpenPinProvider(int32_t pin, winrt::Windows::Devices::Gpio::Provider::ProviderGpioSharingMode const& sharingMode) const; + [[nodiscard]] auto PinCount() const; + auto OpenPinProvider(int32_t pin, winrt::Windows::Devices::Gpio::Provider::ProviderGpioSharingMode const& sharingMode) const; }; template <> struct consume { @@ -134,19 +130,19 @@ namespace winrt::impl template struct consume_Windows_Devices_Gpio_Provider_IGpioPinProvider { - WINRT_IMPL_AUTO(winrt::event_token) ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ValueChanged_revoker = impl::event_revoker::remove_ValueChanged>; - [[nodiscard]] ValueChanged_revoker ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ValueChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DebounceTimeout() const; - WINRT_IMPL_AUTO(void) DebounceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PinNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::ProviderGpioSharingMode) SharingMode() const; - WINRT_IMPL_AUTO(bool) IsDriveModeSupported(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode const& driveMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode) GetDriveMode() const; - WINRT_IMPL_AUTO(void) SetDriveMode(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode const& value) const; - WINRT_IMPL_AUTO(void) Write(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinValue const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinValue) Read() const; + [[nodiscard]] auto ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ValueChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DebounceTimeout() const; + auto DebounceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto PinNumber() const; + [[nodiscard]] auto SharingMode() const; + auto IsDriveModeSupported(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode const& driveMode) const; + auto GetDriveMode() const; + auto SetDriveMode(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode const& value) const; + auto Write(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinValue const& value) const; + auto Read() const; }; template <> struct consume { @@ -155,7 +151,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Gpio_Provider_IGpioPinProviderValueChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinEdge) Edge() const; + [[nodiscard]] auto Edge() const; }; template <> struct consume { @@ -164,7 +160,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Gpio_Provider_IGpioPinProviderValueChangedEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::GpioPinProviderValueChangedEventArgs) Create(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinEdge const& edge) const; + auto Create(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinEdge const& edge) const; }; template <> struct consume { @@ -173,7 +169,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Gpio_Provider_IGpioProvider { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetControllers() const; + auto GetControllers() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.1.h index 4b60be08..53fcd9a6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Gpio_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.2.h index 850c83f8..3e36a85c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Gpio_Provider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.0.h index 92411865..3ce6a253 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.0.h @@ -1,15 +1,10 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Haptics_0_H #define WINRT_Windows_Devices_Haptics_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Devices::Haptics { @@ -118,11 +113,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Click() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) BuzzContinuous() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) RumbleContinuous() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Press() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Release() const; + [[nodiscard]] auto Click() const; + [[nodiscard]] auto BuzzContinuous() const; + [[nodiscard]] auto RumbleContinuous() const; + [[nodiscard]] auto Press() const; + [[nodiscard]] auto Release() const; }; template <> struct consume { @@ -131,17 +126,17 @@ namespace winrt::impl template struct consume_Windows_Devices_Haptics_ISimpleHapticsController { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedFeedback() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsIntensitySupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPlayCountSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPlayDurationSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReplayPauseIntervalSupported() const; - WINRT_IMPL_AUTO(void) StopFeedback() const; - WINRT_IMPL_AUTO(void) SendHapticFeedback(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback) const; - WINRT_IMPL_AUTO(void) SendHapticFeedback(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity) const; - WINRT_IMPL_AUTO(void) SendHapticFeedbackForDuration(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity, winrt::Windows::Foundation::TimeSpan const& playDuration) const; - WINRT_IMPL_AUTO(void) SendHapticFeedbackForPlayCount(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity, int32_t playCount, winrt::Windows::Foundation::TimeSpan const& replayPauseInterval) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto SupportedFeedback() const; + [[nodiscard]] auto IsIntensitySupported() const; + [[nodiscard]] auto IsPlayCountSupported() const; + [[nodiscard]] auto IsPlayDurationSupported() const; + [[nodiscard]] auto IsReplayPauseIntervalSupported() const; + auto StopFeedback() const; + auto SendHapticFeedback(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback) const; + auto SendHapticFeedback(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity) const; + auto SendHapticFeedbackForDuration(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity, winrt::Windows::Foundation::TimeSpan const& playDuration) const; + auto SendHapticFeedbackForPlayCount(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity, int32_t playCount, winrt::Windows::Foundation::TimeSpan const& replayPauseInterval) const; }; template <> struct consume { @@ -150,8 +145,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Haptics_ISimpleHapticsControllerFeedback { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Waveform() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; + [[nodiscard]] auto Waveform() const; + [[nodiscard]] auto Duration() const; }; template <> struct consume { @@ -160,8 +155,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Haptics_IVibrationDevice { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) SimpleHapticsController() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto SimpleHapticsController() const; }; template <> struct consume { @@ -170,11 +165,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Haptics_IVibrationDeviceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAsync() const; + auto RequestAccessAsync() const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDefaultAsync() const; + auto FindAllAsync() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.1.h index afcfbb3d..52be07ca 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Haptics_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.2.h index 25efc314..7f525340 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Haptics_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.0.h index 0ed5e401..4c705c42 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_HumanInterfaceDevice_0_H @@ -6,13 +6,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Storage { enum class FileAccessMode : int32_t; @@ -297,12 +292,12 @@ namespace winrt::impl template struct consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) UsagePage() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) UsageId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsActive() const; - WINRT_IMPL_AUTO(void) IsActive(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription) ControlDescription() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto UsagePage() const; + [[nodiscard]] auto UsageId() const; + [[nodiscard]] auto IsActive() const; + auto IsActive(bool value) const; + [[nodiscard]] auto ControlDescription() const; }; template <> struct consume { @@ -311,12 +306,12 @@ namespace winrt::impl template struct consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) ReportId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType) ReportType() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) UsagePage() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) UsageId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ParentCollections() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto ReportId() const; + [[nodiscard]] auto ReportType() const; + [[nodiscard]] auto UsagePage() const; + [[nodiscard]] auto UsageId() const; + [[nodiscard]] auto ParentCollections() const; }; template <> struct consume { @@ -325,7 +320,7 @@ namespace winrt::impl template struct consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAbsolute() const; + [[nodiscard]] auto IsAbsolute() const; }; template <> struct consume { @@ -334,10 +329,10 @@ namespace winrt::impl template struct consume_Windows_Devices_HumanInterfaceDevice_IHidCollection { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidCollectionType) Type() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UsagePage() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UsageId() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto UsagePage() const; + [[nodiscard]] auto UsageId() const; }; template <> struct consume { @@ -346,27 +341,27 @@ namespace winrt::impl template struct consume_Windows_Devices_HumanInterfaceDevice_IHidDevice { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) VendorId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) ProductId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Version() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) UsagePage() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) UsageId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetInputReportAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetInputReportAsync(uint16_t reportId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFeatureReportAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFeatureReportAsync(uint16_t reportId) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidOutputReport) CreateOutputReport() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidOutputReport) CreateOutputReport(uint16_t reportId) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport) CreateFeatureReport() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport) CreateFeatureReport(uint16_t reportId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendOutputReportAsync(winrt::Windows::Devices::HumanInterfaceDevice::HidOutputReport const& outputReport) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendFeatureReportAsync(winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport const& featureReport) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetBooleanControlDescriptions(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType const& reportType, uint16_t usagePage, uint16_t usageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetNumericControlDescriptions(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType const& reportType, uint16_t usagePage, uint16_t usageId) const; - WINRT_IMPL_AUTO(winrt::event_token) InputReportReceived(winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; + [[nodiscard]] auto VendorId() const; + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto Version() const; + [[nodiscard]] auto UsagePage() const; + [[nodiscard]] auto UsageId() const; + auto GetInputReportAsync() const; + auto GetInputReportAsync(uint16_t reportId) const; + auto GetFeatureReportAsync() const; + auto GetFeatureReportAsync(uint16_t reportId) const; + auto CreateOutputReport() const; + auto CreateOutputReport(uint16_t reportId) const; + auto CreateFeatureReport() const; + auto CreateFeatureReport(uint16_t reportId) const; + auto SendOutputReportAsync(winrt::Windows::Devices::HumanInterfaceDevice::HidOutputReport const& outputReport) const; + auto SendFeatureReportAsync(winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport const& featureReport) const; + auto GetBooleanControlDescriptions(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType const& reportType, uint16_t usagePage, uint16_t usageId) const; + auto GetNumericControlDescriptions(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType const& reportType, uint16_t usagePage, uint16_t usageId) const; + auto InputReportReceived(winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; using InputReportReceived_revoker = impl::event_revoker::remove_InputReportReceived>; - [[nodiscard]] InputReportReceived_revoker InputReportReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; - WINRT_IMPL_AUTO(void) InputReportReceived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto InputReportReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; + auto InputReportReceived(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -375,9 +370,9 @@ namespace winrt::impl template struct consume_Windows_Devices_HumanInterfaceDevice_IHidDeviceStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(uint16_t usagePage, uint16_t usageId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(uint16_t usagePage, uint16_t usageId, uint16_t vendorId, uint16_t productId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId, winrt::Windows::Storage::FileAccessMode const& accessMode) const; + auto GetDeviceSelector(uint16_t usagePage, uint16_t usageId) const; + auto GetDeviceSelector(uint16_t usagePage, uint16_t usageId, uint16_t vendorId, uint16_t productId) const; + auto FromIdAsync(param::hstring const& deviceId, winrt::Windows::Storage::FileAccessMode const& accessMode) const; }; template <> struct consume { @@ -386,13 +381,13 @@ namespace winrt::impl template struct consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Data() const; - WINRT_IMPL_AUTO(void) Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) GetBooleanControl(uint16_t usagePage, uint16_t usageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) GetNumericControl(uint16_t usagePage, uint16_t usageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto GetBooleanControl(uint16_t usagePage, uint16_t usageId) const; + auto GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const; + auto GetNumericControl(uint16_t usagePage, uint16_t usageId) const; + auto GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const; }; template <> struct consume { @@ -401,14 +396,14 @@ namespace winrt::impl template struct consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Data() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ActivatedBooleanControls() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) TransitionedBooleanControls() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) GetBooleanControl(uint16_t usagePage, uint16_t usageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) GetNumericControl(uint16_t usagePage, uint16_t usageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Data() const; + [[nodiscard]] auto ActivatedBooleanControls() const; + [[nodiscard]] auto TransitionedBooleanControls() const; + auto GetBooleanControl(uint16_t usagePage, uint16_t usageId) const; + auto GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const; + auto GetNumericControl(uint16_t usagePage, uint16_t usageId) const; + auto GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const; }; template <> struct consume { @@ -417,7 +412,7 @@ namespace winrt::impl template struct consume_Windows_Devices_HumanInterfaceDevice_IHidInputReportReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidInputReport) Report() const; + [[nodiscard]] auto Report() const; }; template <> struct consume { @@ -426,15 +421,15 @@ namespace winrt::impl template struct consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGrouped() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) UsagePage() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) UsageId() const; - [[nodiscard]] WINRT_IMPL_AUTO(int64_t) Value() const; - WINRT_IMPL_AUTO(void) Value(int64_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int64_t) ScaledValue() const; - WINRT_IMPL_AUTO(void) ScaledValue(int64_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription) ControlDescription() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto IsGrouped() const; + [[nodiscard]] auto UsagePage() const; + [[nodiscard]] auto UsageId() const; + [[nodiscard]] auto Value() const; + auto Value(int64_t value) const; + [[nodiscard]] auto ScaledValue() const; + auto ScaledValue(int64_t value) const; + [[nodiscard]] auto ControlDescription() const; }; template <> struct consume { @@ -443,22 +438,22 @@ namespace winrt::impl template struct consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) ReportId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType) ReportType() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) UsagePage() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) UsageId() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LogicalMinimum() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LogicalMaximum() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PhysicalMinimum() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PhysicalMaximum() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UnitExponent() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Unit() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAbsolute() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasNull() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ParentCollections() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto ReportId() const; + [[nodiscard]] auto ReportType() const; + [[nodiscard]] auto ReportSize() const; + [[nodiscard]] auto ReportCount() const; + [[nodiscard]] auto UsagePage() const; + [[nodiscard]] auto UsageId() const; + [[nodiscard]] auto LogicalMinimum() const; + [[nodiscard]] auto LogicalMaximum() const; + [[nodiscard]] auto PhysicalMinimum() const; + [[nodiscard]] auto PhysicalMaximum() const; + [[nodiscard]] auto UnitExponent() const; + [[nodiscard]] auto Unit() const; + [[nodiscard]] auto IsAbsolute() const; + [[nodiscard]] auto HasNull() const; + [[nodiscard]] auto ParentCollections() const; }; template <> struct consume { @@ -467,13 +462,13 @@ namespace winrt::impl template struct consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Data() const; - WINRT_IMPL_AUTO(void) Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) GetBooleanControl(uint16_t usagePage, uint16_t usageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) GetNumericControl(uint16_t usagePage, uint16_t usageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto GetBooleanControl(uint16_t usagePage, uint16_t usageId) const; + auto GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const; + auto GetNumericControl(uint16_t usagePage, uint16_t usageId) const; + auto GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.1.h index 6a6245b6..471a2811 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_HumanInterfaceDevice_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.2.h index 05cdf29f..3b35f0cc 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_HumanInterfaceDevice_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.0.h index 8459c632..9a7125fe 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_I2c_0_H @@ -7,14 +7,6 @@ WINRT_EXPORT namespace winrt::Windows::Devices::I2c::Provider { struct II2cProvider; } -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Devices::I2c { enum class I2cBusSpeed : int32_t @@ -143,12 +135,12 @@ namespace winrt::impl template struct consume_Windows_Devices_I2c_II2cConnectionSettings { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SlaveAddress() const; - WINRT_IMPL_AUTO(void) SlaveAddress(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cBusSpeed) BusSpeed() const; - WINRT_IMPL_AUTO(void) BusSpeed(winrt::Windows::Devices::I2c::I2cBusSpeed const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cSharingMode) SharingMode() const; - WINRT_IMPL_AUTO(void) SharingMode(winrt::Windows::Devices::I2c::I2cSharingMode const& value) const; + [[nodiscard]] auto SlaveAddress() const; + auto SlaveAddress(int32_t value) const; + [[nodiscard]] auto BusSpeed() const; + auto BusSpeed(winrt::Windows::Devices::I2c::I2cBusSpeed const& value) const; + [[nodiscard]] auto SharingMode() const; + auto SharingMode(winrt::Windows::Devices::I2c::I2cSharingMode const& value) const; }; template <> struct consume { @@ -157,7 +149,7 @@ namespace winrt::impl template struct consume_Windows_Devices_I2c_II2cConnectionSettingsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cConnectionSettings) Create(int32_t slaveAddress) const; + auto Create(int32_t slaveAddress) const; }; template <> struct consume { @@ -166,7 +158,7 @@ namespace winrt::impl template struct consume_Windows_Devices_I2c_II2cController { - WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cDevice) GetDevice(winrt::Windows::Devices::I2c::I2cConnectionSettings const& settings) const; + auto GetDevice(winrt::Windows::Devices::I2c::I2cConnectionSettings const& settings) const; }; template <> struct consume { @@ -175,8 +167,8 @@ namespace winrt::impl template struct consume_Windows_Devices_I2c_II2cControllerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetControllersAsync(winrt::Windows::Devices::I2c::Provider::II2cProvider const& provider) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; + auto GetControllersAsync(winrt::Windows::Devices::I2c::Provider::II2cProvider const& provider) const; + auto GetDefaultAsync() const; }; template <> struct consume { @@ -185,14 +177,14 @@ namespace winrt::impl template struct consume_Windows_Devices_I2c_II2cDevice { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cConnectionSettings) ConnectionSettings() const; - WINRT_IMPL_AUTO(void) Write(array_view buffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cTransferResult) WritePartial(array_view buffer) const; - WINRT_IMPL_AUTO(void) Read(array_view buffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cTransferResult) ReadPartial(array_view buffer) const; - WINRT_IMPL_AUTO(void) WriteRead(array_view writeBuffer, array_view readBuffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cTransferResult) WriteReadPartial(array_view writeBuffer, array_view readBuffer) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto ConnectionSettings() const; + auto Write(array_view buffer) const; + auto WritePartial(array_view buffer) const; + auto Read(array_view buffer) const; + auto ReadPartial(array_view buffer) const; + auto WriteRead(array_view writeBuffer, array_view readBuffer) const; + auto WriteReadPartial(array_view writeBuffer, array_view readBuffer) const; }; template <> struct consume { @@ -201,9 +193,9 @@ namespace winrt::impl template struct consume_Windows_Devices_I2c_II2cDeviceStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(param::hstring const& friendlyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::I2c::I2cConnectionSettings const& settings) const; + auto GetDeviceSelector() const; + auto GetDeviceSelector(param::hstring const& friendlyName) const; + auto FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::I2c::I2cConnectionSettings const& settings) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.1.h index 3e4adb65..16f3206a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_I2c_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.2.h index 03b5bb79..3d350702 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_I2c_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.0.h index d6d52cd6..909d7a19 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.0.h @@ -1,16 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_I2c_Provider_0_H #define WINRT_Windows_Devices_I2c_Provider_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Devices::I2c::Provider { enum class ProviderI2cBusSpeed : int32_t @@ -103,7 +95,7 @@ namespace winrt::impl template struct consume_Windows_Devices_I2c_Provider_II2cControllerProvider { - WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::II2cDeviceProvider) GetDeviceProvider(winrt::Windows::Devices::I2c::Provider::ProviderI2cConnectionSettings const& settings) const; + auto GetDeviceProvider(winrt::Windows::Devices::I2c::Provider::ProviderI2cConnectionSettings const& settings) const; }; template <> struct consume { @@ -112,13 +104,13 @@ namespace winrt::impl template struct consume_Windows_Devices_I2c_Provider_II2cDeviceProvider { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - WINRT_IMPL_AUTO(void) Write(array_view buffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferResult) WritePartial(array_view buffer) const; - WINRT_IMPL_AUTO(void) Read(array_view buffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferResult) ReadPartial(array_view buffer) const; - WINRT_IMPL_AUTO(void) WriteRead(array_view writeBuffer, array_view readBuffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferResult) WriteReadPartial(array_view writeBuffer, array_view readBuffer) const; + [[nodiscard]] auto DeviceId() const; + auto Write(array_view buffer) const; + auto WritePartial(array_view buffer) const; + auto Read(array_view buffer) const; + auto ReadPartial(array_view buffer) const; + auto WriteRead(array_view writeBuffer, array_view readBuffer) const; + auto WriteReadPartial(array_view writeBuffer, array_view readBuffer) const; }; template <> struct consume { @@ -127,7 +119,7 @@ namespace winrt::impl template struct consume_Windows_Devices_I2c_Provider_II2cProvider { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetControllersAsync() const; + auto GetControllersAsync() const; }; template <> struct consume { @@ -136,12 +128,12 @@ namespace winrt::impl template struct consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SlaveAddress() const; - WINRT_IMPL_AUTO(void) SlaveAddress(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cBusSpeed) BusSpeed() const; - WINRT_IMPL_AUTO(void) BusSpeed(winrt::Windows::Devices::I2c::Provider::ProviderI2cBusSpeed const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cSharingMode) SharingMode() const; - WINRT_IMPL_AUTO(void) SharingMode(winrt::Windows::Devices::I2c::Provider::ProviderI2cSharingMode const& value) const; + [[nodiscard]] auto SlaveAddress() const; + auto SlaveAddress(int32_t value) const; + [[nodiscard]] auto BusSpeed() const; + auto BusSpeed(winrt::Windows::Devices::I2c::Provider::ProviderI2cBusSpeed const& value) const; + [[nodiscard]] auto SharingMode() const; + auto SharingMode(winrt::Windows::Devices::I2c::Provider::ProviderI2cSharingMode const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.1.h index 0bcd9030..8c780cc3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_I2c_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.2.h index e5ede00d..235bee6c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_I2c_Provider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.0.h index 9d930cf1..9070d9d6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Input_0_H @@ -9,10 +9,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct Rect; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Devices::Input { enum class PointerDeviceType : int32_t @@ -332,7 +328,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_IKeyboardCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) KeyboardPresent() const; + [[nodiscard]] auto KeyboardPresent() const; }; template <> struct consume { @@ -341,11 +337,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_IMouseCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MousePresent() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) VerticalWheelPresent() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) HorizontalWheelPresent() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SwapButtons() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) NumberOfButtons() const; + [[nodiscard]] auto MousePresent() const; + [[nodiscard]] auto VerticalWheelPresent() const; + [[nodiscard]] auto HorizontalWheelPresent() const; + [[nodiscard]] auto SwapButtons() const; + [[nodiscard]] auto NumberOfButtons() const; }; template <> struct consume { @@ -354,10 +350,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_IMouseDevice { - WINRT_IMPL_AUTO(winrt::event_token) MouseMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MouseMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MouseMoved_revoker = impl::event_revoker::remove_MouseMoved>; - [[nodiscard]] MouseMoved_revoker MouseMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MouseMoved(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto MouseMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MouseMoved(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -366,7 +362,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_IMouseDeviceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::MouseDevice) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -375,7 +371,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_IMouseEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::MouseDelta) MouseDelta() const; + [[nodiscard]] auto MouseDelta() const; }; template <> struct consume { @@ -384,23 +380,23 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_IPenButtonListener { - WINRT_IMPL_AUTO(bool) IsSupported() const; - WINRT_IMPL_AUTO(winrt::event_token) IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsSupported() const; + auto IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsSupportedChanged_revoker = impl::event_revoker::remove_IsSupportedChanged>; - [[nodiscard]] IsSupportedChanged_revoker IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsSupportedChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TailButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsSupportedChanged(winrt::event_token const& token) const noexcept; + auto TailButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TailButtonClicked_revoker = impl::event_revoker::remove_TailButtonClicked>; - [[nodiscard]] TailButtonClicked_revoker TailButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TailButtonClicked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TailButtonDoubleClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TailButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TailButtonClicked(winrt::event_token const& token) const noexcept; + auto TailButtonDoubleClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TailButtonDoubleClicked_revoker = impl::event_revoker::remove_TailButtonDoubleClicked>; - [[nodiscard]] TailButtonDoubleClicked_revoker TailButtonDoubleClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TailButtonDoubleClicked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TailButtonLongPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TailButtonDoubleClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TailButtonDoubleClicked(winrt::event_token const& token) const noexcept; + auto TailButtonLongPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TailButtonLongPressed_revoker = impl::event_revoker::remove_TailButtonLongPressed>; - [[nodiscard]] TailButtonLongPressed_revoker TailButtonLongPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TailButtonLongPressed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TailButtonLongPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TailButtonLongPressed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -409,7 +405,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_IPenButtonListenerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PenButtonListener) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -418,7 +414,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_IPenDevice { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) PenId() const; + [[nodiscard]] auto PenId() const; }; template <> struct consume { @@ -427,7 +423,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_IPenDeviceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PenDevice) GetFromPointerId(uint32_t pointerId) const; + auto GetFromPointerId(uint32_t pointerId) const; }; template <> struct consume { @@ -436,19 +432,19 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_IPenDockListener { - WINRT_IMPL_AUTO(bool) IsSupported() const; - WINRT_IMPL_AUTO(winrt::event_token) IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsSupported() const; + auto IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsSupportedChanged_revoker = impl::event_revoker::remove_IsSupportedChanged>; - [[nodiscard]] IsSupportedChanged_revoker IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsSupportedChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Docked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsSupportedChanged(winrt::event_token const& token) const noexcept; + auto Docked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Docked_revoker = impl::event_revoker::remove_Docked>; - [[nodiscard]] Docked_revoker Docked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Docked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Undocked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Docked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Docked(winrt::event_token const& token) const noexcept; + auto Undocked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Undocked_revoker = impl::event_revoker::remove_Undocked>; - [[nodiscard]] Undocked_revoker Undocked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Undocked(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Undocked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Undocked(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -457,7 +453,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_IPenDockListenerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PenDockListener) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -506,12 +502,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_IPointerDevice { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsIntegrated() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxContacts() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) PhysicalDeviceRect() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) ScreenRect() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedUsages() const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto IsIntegrated() const; + [[nodiscard]] auto MaxContacts() const; + [[nodiscard]] auto PhysicalDeviceRect() const; + [[nodiscard]] auto ScreenRect() const; + [[nodiscard]] auto SupportedUsages() const; }; template <> struct consume { @@ -520,7 +516,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_IPointerDevice2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxPointersWithZDistance() const; + [[nodiscard]] auto MaxPointersWithZDistance() const; }; template <> struct consume { @@ -529,8 +525,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_IPointerDeviceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDevice) GetPointerDevice(uint32_t pointerId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetPointerDevices() const; + auto GetPointerDevice(uint32_t pointerId) const; + auto GetPointerDevices() const; }; template <> struct consume { @@ -539,8 +535,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_ITouchCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) TouchPresent() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Contacts() const; + [[nodiscard]] auto TouchPresent() const; + [[nodiscard]] auto Contacts() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.1.h index 5f1fa188..329ece49 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Input_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.2.h index b3e27284..484d15ea 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Input_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.0.h index e0d0a330..37d381de 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.0.h @@ -1,27 +1,17 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Input_Preview_0_H #define WINRT_Windows_Devices_Input_Preview_0_H WINRT_EXPORT namespace winrt::Windows::Devices::HumanInterfaceDevice { - struct HidBooleanControlDescription; struct HidInputReport; - struct HidNumericControlDescription; } WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; - struct Point; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Devices::Input::Preview { enum class GazeDeviceConfigurationStatePreview : int32_t @@ -233,13 +223,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_Preview_IGazeDevicePreview { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanTrackEyes() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanTrackHead() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDeviceConfigurationStatePreview) ConfigurationState() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestCalibrationAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetNumericControlDescriptions(uint16_t usagePage, uint16_t usageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetBooleanControlDescriptions(uint16_t usagePage, uint16_t usageId) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto CanTrackEyes() const; + [[nodiscard]] auto CanTrackHead() const; + [[nodiscard]] auto ConfigurationState() const; + auto RequestCalibrationAsync() const; + auto GetNumericControlDescriptions(uint16_t usagePage, uint16_t usageId) const; + auto GetBooleanControlDescriptions(uint16_t usagePage, uint16_t usageId) const; }; template <> struct consume { @@ -248,7 +238,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherAddedPreviewEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDevicePreview) Device() const; + [[nodiscard]] auto Device() const; }; template <> struct consume { @@ -257,24 +247,24 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview { - WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Added_revoker = impl::event_revoker::remove_Added>; - [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Added(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Removed_revoker = impl::event_revoker::remove_Removed>; - [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Removed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Updated_revoker = impl::event_revoker::remove_Updated>; - [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Updated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Start() const; + auto Stop() const; }; template <> struct consume { @@ -283,7 +273,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherRemovedPreviewEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDevicePreview) Device() const; + [[nodiscard]] auto Device() const; }; template <> struct consume { @@ -292,7 +282,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherUpdatedPreviewEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDevicePreview) Device() const; + [[nodiscard]] auto Device() const; }; template <> struct consume { @@ -301,9 +291,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_Preview_IGazeEnteredPreviewEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazePointPreview) CurrentPoint() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto CurrentPoint() const; }; template <> struct consume { @@ -312,9 +302,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_Preview_IGazeExitedPreviewEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazePointPreview) CurrentPoint() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto CurrentPoint() const; }; template <> struct consume { @@ -323,18 +313,18 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview { - WINRT_IMPL_AUTO(winrt::event_token) GazeMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GazeMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using GazeMoved_revoker = impl::event_revoker::remove_GazeMoved>; - [[nodiscard]] GazeMoved_revoker GazeMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GazeMoved(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) GazeEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto GazeMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GazeMoved(winrt::event_token const& token) const noexcept; + auto GazeEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using GazeEntered_revoker = impl::event_revoker::remove_GazeEntered>; - [[nodiscard]] GazeEntered_revoker GazeEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GazeEntered(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) GazeExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto GazeEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GazeEntered(winrt::event_token const& token) const noexcept; + auto GazeExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using GazeExited_revoker = impl::event_revoker::remove_GazeExited>; - [[nodiscard]] GazeExited_revoker GazeExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GazeExited(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto GazeExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GazeExited(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -343,8 +333,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_Preview_IGazeInputSourcePreviewStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview) GetForCurrentView() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview) CreateWatcher() const; + auto GetForCurrentView() const; + auto CreateWatcher() const; }; template <> struct consume { @@ -353,10 +343,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazePointPreview) CurrentPoint() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetIntermediatePoints() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto CurrentPoint() const; + auto GetIntermediatePoints() const; }; template <> struct consume { @@ -365,11 +355,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Input_Preview_IGazePointPreview { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDevicePreview) SourceDevice() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) EyeGazePosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) HeadGazePosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidInputReport) HidInputReport() const; + [[nodiscard]] auto SourceDevice() const; + [[nodiscard]] auto EyeGazePosition() const; + [[nodiscard]] auto HeadGazePosition() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto HidInputReport() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.1.h index 2b7199cd..f875a02a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Input_Preview_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.2.h index f35f9ecd..5b8dbb56 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Input_Preview_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.0.h index 2f974cd3..a439ba89 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Lights_0_H @@ -7,8 +7,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics @@ -190,18 +188,18 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_ILamp { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) BrightnessLevel() const; - WINRT_IMPL_AUTO(void) BrightnessLevel(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsColorSettable() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto BrightnessLevel() const; + auto BrightnessLevel(float value) const; + [[nodiscard]] auto IsColorSettable() const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + auto AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AvailabilityChanged_revoker = impl::event_revoker::remove_AvailabilityChanged>; - [[nodiscard]] AvailabilityChanged_revoker AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AvailabilityChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AvailabilityChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -210,32 +208,32 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_ILampArray { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) HardwareVendorId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) HardwareProductId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) HardwareVersion() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::LampArrayKind) LampArrayKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LampCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) MinUpdateInterval() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) BoundingBox() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) BrightnessLevel() const; - WINRT_IMPL_AUTO(void) BrightnessLevel(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConnected() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SupportsVirtualKeys() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::LampInfo) GetLampInfo(int32_t lampIndex) const; - WINRT_IMPL_AUTO(com_array) GetIndicesForKey(winrt::Windows::System::VirtualKey const& key) const; - WINRT_IMPL_AUTO(com_array) GetIndicesForPurposes(winrt::Windows::Devices::Lights::LampPurposes const& purposes) const; - WINRT_IMPL_AUTO(void) SetColor(winrt::Windows::UI::Color const& desiredColor) const; - WINRT_IMPL_AUTO(void) SetColorForIndex(int32_t lampIndex, winrt::Windows::UI::Color const& desiredColor) const; - WINRT_IMPL_AUTO(void) SetSingleColorForIndices(winrt::Windows::UI::Color const& desiredColor, array_view lampIndexes) const; - WINRT_IMPL_AUTO(void) SetColorsForIndices(array_view desiredColors, array_view lampIndexes) const; - WINRT_IMPL_AUTO(void) SetColorsForKey(winrt::Windows::UI::Color const& desiredColor, winrt::Windows::System::VirtualKey const& key) const; - WINRT_IMPL_AUTO(void) SetColorsForKeys(array_view desiredColors, array_view keys) const; - WINRT_IMPL_AUTO(void) SetColorsForPurposes(winrt::Windows::UI::Color const& desiredColor, winrt::Windows::Devices::Lights::LampPurposes const& purposes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SendMessageAsync(int32_t messageId, winrt::Windows::Storage::Streams::IBuffer const& message) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestMessageAsync(int32_t messageId) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto HardwareVendorId() const; + [[nodiscard]] auto HardwareProductId() const; + [[nodiscard]] auto HardwareVersion() const; + [[nodiscard]] auto LampArrayKind() const; + [[nodiscard]] auto LampCount() const; + [[nodiscard]] auto MinUpdateInterval() const; + [[nodiscard]] auto BoundingBox() const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto BrightnessLevel() const; + auto BrightnessLevel(double value) const; + [[nodiscard]] auto IsConnected() const; + [[nodiscard]] auto SupportsVirtualKeys() const; + auto GetLampInfo(int32_t lampIndex) const; + auto GetIndicesForKey(winrt::Windows::System::VirtualKey const& key) const; + auto GetIndicesForPurposes(winrt::Windows::Devices::Lights::LampPurposes const& purposes) const; + auto SetColor(winrt::Windows::UI::Color const& desiredColor) const; + auto SetColorForIndex(int32_t lampIndex, winrt::Windows::UI::Color const& desiredColor) const; + auto SetSingleColorForIndices(winrt::Windows::UI::Color const& desiredColor, array_view lampIndexes) const; + auto SetColorsForIndices(array_view desiredColors, array_view lampIndexes) const; + auto SetColorsForKey(winrt::Windows::UI::Color const& desiredColor, winrt::Windows::System::VirtualKey const& key) const; + auto SetColorsForKeys(array_view desiredColors, array_view keys) const; + auto SetColorsForPurposes(winrt::Windows::UI::Color const& desiredColor, winrt::Windows::Devices::Lights::LampPurposes const& purposes) const; + auto SendMessageAsync(int32_t messageId, winrt::Windows::Storage::Streams::IBuffer const& message) const; + auto RequestMessageAsync(int32_t messageId) const; }; template <> struct consume { @@ -244,8 +242,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_ILampArrayStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { @@ -254,7 +252,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_ILampAvailabilityChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAvailable() const; + [[nodiscard]] auto IsAvailable() const; }; template <> struct consume { @@ -263,16 +261,16 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_ILampInfo { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Index() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::LampPurposes) Purposes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RedLevelCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) GreenLevelCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) BlueLevelCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) GainLevelCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) FixedColor() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Color) GetNearestSupportedColor(winrt::Windows::UI::Color const& desiredColor) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) UpdateLatency() const; + [[nodiscard]] auto Index() const; + [[nodiscard]] auto Purposes() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto RedLevelCount() const; + [[nodiscard]] auto GreenLevelCount() const; + [[nodiscard]] auto BlueLevelCount() const; + [[nodiscard]] auto GainLevelCount() const; + [[nodiscard]] auto FixedColor() const; + auto GetNearestSupportedColor(winrt::Windows::UI::Color const& desiredColor) const; + [[nodiscard]] auto UpdateLatency() const; }; template <> struct consume { @@ -281,9 +279,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_ILampStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDefaultAsync() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.1.h index 5aee5ece..76bc72a8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Lights_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.2.h index 42fa35b5..df41ea20 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Lights_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.0.h index e5c09d97..5366676a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Lights_Effects_0_H @@ -311,17 +311,17 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) StartDelay() const; - WINRT_IMPL_AUTO(void) StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) UpdateInterval() const; - WINRT_IMPL_AUTO(void) UpdateInterval(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) SuggestedBitmapSize() const; - WINRT_IMPL_AUTO(winrt::event_token) BitmapRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto StartDelay() const; + auto StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto UpdateInterval() const; + auto UpdateInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto SuggestedBitmapSize() const; + auto BitmapRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using BitmapRequested_revoker = impl::event_revoker::remove_BitmapRequested>; - [[nodiscard]] BitmapRequested_revoker BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BitmapRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BitmapRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -330,7 +330,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffectFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayBitmapEffect) CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const; + auto CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const; }; template <> struct consume { @@ -339,8 +339,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_Effects_ILampArrayBitmapRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) SinceStarted() const; - WINRT_IMPL_AUTO(void) UpdateBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; + [[nodiscard]] auto SinceStarted() const; + auto UpdateBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; }; template <> struct consume { @@ -349,22 +349,22 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) AttackDuration() const; - WINRT_IMPL_AUTO(void) AttackDuration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) SustainDuration() const; - WINRT_IMPL_AUTO(void) SustainDuration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DecayDuration() const; - WINRT_IMPL_AUTO(void) DecayDuration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RepetitionDelay() const; - WINRT_IMPL_AUTO(void) RepetitionDelay(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) StartDelay() const; - WINRT_IMPL_AUTO(void) StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Occurrences() const; - WINRT_IMPL_AUTO(void) Occurrences(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode) RepetitionMode() const; - WINRT_IMPL_AUTO(void) RepetitionMode(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode const& value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto AttackDuration() const; + auto AttackDuration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto SustainDuration() const; + auto SustainDuration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto DecayDuration() const; + auto DecayDuration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto RepetitionDelay() const; + auto RepetitionDelay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto StartDelay() const; + auto StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Occurrences() const; + auto Occurrences(int32_t value) const; + [[nodiscard]] auto RepetitionMode() const; + auto RepetitionMode(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode const& value) const; }; template <> struct consume { @@ -373,7 +373,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffectFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayBlinkEffect) CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const; + auto CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const; }; template <> struct consume { @@ -382,14 +382,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RampDuration() const; - WINRT_IMPL_AUTO(void) RampDuration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) StartDelay() const; - WINRT_IMPL_AUTO(void) StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior) CompletionBehavior() const; - WINRT_IMPL_AUTO(void) CompletionBehavior(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior const& value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto RampDuration() const; + auto RampDuration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto StartDelay() const; + auto StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto CompletionBehavior() const; + auto CompletionBehavior(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior const& value) const; }; template <> struct consume { @@ -398,7 +398,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffectFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayColorRampEffect) CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const; + auto CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const; }; template <> struct consume { @@ -407,14 +407,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) UpdateInterval() const; - WINRT_IMPL_AUTO(void) UpdateInterval(winrt::Windows::Foundation::TimeSpan const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) UpdateRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto UpdateInterval() const; + auto UpdateInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + auto UpdateRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UpdateRequested_revoker = impl::event_revoker::remove_UpdateRequested>; - [[nodiscard]] UpdateRequested_revoker UpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UpdateRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto UpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UpdateRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -423,7 +423,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffectFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayCustomEffect) CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const; + auto CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const; }; template <> struct consume { @@ -432,8 +432,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_Effects_ILampArrayEffect { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ZIndex() const; - WINRT_IMPL_AUTO(void) ZIndex(int32_t value) const; + [[nodiscard]] auto ZIndex() const; + auto ZIndex(int32_t value) const; }; template <> struct consume { @@ -442,17 +442,17 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist { - WINRT_IMPL_AUTO(void) Append(winrt::Windows::Devices::Lights::Effects::ILampArrayEffect const& effect) const; - WINRT_IMPL_AUTO(void) OverrideZIndex(int32_t zIndex) const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(void) Pause() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayEffectStartMode) EffectStartMode() const; - WINRT_IMPL_AUTO(void) EffectStartMode(winrt::Windows::Devices::Lights::Effects::LampArrayEffectStartMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Occurrences() const; - WINRT_IMPL_AUTO(void) Occurrences(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode) RepetitionMode() const; - WINRT_IMPL_AUTO(void) RepetitionMode(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode const& value) const; + auto Append(winrt::Windows::Devices::Lights::Effects::ILampArrayEffect const& effect) const; + auto OverrideZIndex(int32_t zIndex) const; + auto Start() const; + auto Stop() const; + auto Pause() const; + [[nodiscard]] auto EffectStartMode() const; + auto EffectStartMode(winrt::Windows::Devices::Lights::Effects::LampArrayEffectStartMode const& value) const; + [[nodiscard]] auto Occurrences() const; + auto Occurrences(int32_t value) const; + [[nodiscard]] auto RepetitionMode() const; + auto RepetitionMode(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode const& value) const; }; template <> struct consume { @@ -461,9 +461,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics { - WINRT_IMPL_AUTO(void) StartAll(param::iterable const& value) const; - WINRT_IMPL_AUTO(void) StopAll(param::iterable const& value) const; - WINRT_IMPL_AUTO(void) PauseAll(param::iterable const& value) const; + auto StartAll(param::iterable const& value) const; + auto StopAll(param::iterable const& value) const; + auto PauseAll(param::iterable const& value) const; }; template <> struct consume { @@ -472,14 +472,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) StartDelay() const; - WINRT_IMPL_AUTO(void) StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior) CompletionBehavior() const; - WINRT_IMPL_AUTO(void) CompletionBehavior(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior const& value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto StartDelay() const; + auto StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto CompletionBehavior() const; + auto CompletionBehavior(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior const& value) const; }; template <> struct consume { @@ -488,7 +488,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_Effects_ILampArraySolidEffectFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArraySolidEffect) CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const; + auto CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view lampIndexes) const; }; template <> struct consume { @@ -497,11 +497,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) SinceStarted() const; - WINRT_IMPL_AUTO(void) SetColor(winrt::Windows::UI::Color const& desiredColor) const; - WINRT_IMPL_AUTO(void) SetColorForIndex(int32_t lampIndex, winrt::Windows::UI::Color const& desiredColor) const; - WINRT_IMPL_AUTO(void) SetSingleColorForIndices(winrt::Windows::UI::Color const& desiredColor, array_view lampIndexes) const; - WINRT_IMPL_AUTO(void) SetColorsForIndices(array_view desiredColors, array_view lampIndexes) const; + [[nodiscard]] auto SinceStarted() const; + auto SetColor(winrt::Windows::UI::Color const& desiredColor) const; + auto SetColorForIndex(int32_t lampIndex, winrt::Windows::UI::Color const& desiredColor) const; + auto SetSingleColorForIndices(winrt::Windows::UI::Color const& desiredColor, array_view lampIndexes) const; + auto SetColorsForIndices(array_view desiredColors, array_view lampIndexes) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.1.h index 674970d2..245ddb39 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Lights_Effects_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.2.h index b12f76f0..37836209 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Lights_Effects_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.0.h index 490f868e..94ee3311 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Midi_0_H @@ -10,7 +10,6 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams @@ -481,8 +480,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiChannelPressureMessage { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Channel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Pressure() const; + [[nodiscard]] auto Channel() const; + [[nodiscard]] auto Pressure() const; }; template <> struct consume { @@ -491,7 +490,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiChannelPressureMessageFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiChannelPressureMessage) CreateMidiChannelPressureMessage(uint8_t channel, uint8_t pressure) const; + auto CreateMidiChannelPressureMessage(uint8_t channel, uint8_t pressure) const; }; template <> struct consume { @@ -500,9 +499,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiControlChangeMessage { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Channel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Controller() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) ControlValue() const; + [[nodiscard]] auto Channel() const; + [[nodiscard]] auto Controller() const; + [[nodiscard]] auto ControlValue() const; }; template <> struct consume { @@ -511,7 +510,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiControlChangeMessageFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiControlChangeMessage) CreateMidiControlChangeMessage(uint8_t channel, uint8_t controller, uint8_t controlValue) const; + auto CreateMidiControlChangeMessage(uint8_t channel, uint8_t controller, uint8_t controlValue) const; }; template <> struct consume { @@ -520,11 +519,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiInPort { - WINRT_IMPL_AUTO(winrt::event_token) MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MessageReceived_revoker = impl::event_revoker::remove_MessageReceived>; - [[nodiscard]] MessageReceived_revoker MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MessageReceived(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MessageReceived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -533,8 +532,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiInPortStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; }; template <> struct consume { @@ -543,9 +542,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiMessage { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) RawData() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiMessageType) Type() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto RawData() const; + [[nodiscard]] auto Type() const; }; template <> struct consume { @@ -554,7 +553,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiMessageReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::IMidiMessage) Message() const; + [[nodiscard]] auto Message() const; }; template <> struct consume { @@ -563,9 +562,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiNoteOffMessage { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Channel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Note() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Velocity() const; + [[nodiscard]] auto Channel() const; + [[nodiscard]] auto Note() const; + [[nodiscard]] auto Velocity() const; }; template <> struct consume { @@ -574,7 +573,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiNoteOffMessageFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiNoteOffMessage) CreateMidiNoteOffMessage(uint8_t channel, uint8_t note, uint8_t velocity) const; + auto CreateMidiNoteOffMessage(uint8_t channel, uint8_t note, uint8_t velocity) const; }; template <> struct consume { @@ -583,9 +582,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiNoteOnMessage { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Channel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Note() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Velocity() const; + [[nodiscard]] auto Channel() const; + [[nodiscard]] auto Note() const; + [[nodiscard]] auto Velocity() const; }; template <> struct consume { @@ -594,7 +593,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiNoteOnMessageFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiNoteOnMessage) CreateMidiNoteOnMessage(uint8_t channel, uint8_t note, uint8_t velocity) const; + auto CreateMidiNoteOnMessage(uint8_t channel, uint8_t note, uint8_t velocity) const; }; template <> struct consume { @@ -603,9 +602,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiOutPort { - WINRT_IMPL_AUTO(void) SendMessage(winrt::Windows::Devices::Midi::IMidiMessage const& midiMessage) const; - WINRT_IMPL_AUTO(void) SendBuffer(winrt::Windows::Storage::Streams::IBuffer const& midiData) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + auto SendMessage(winrt::Windows::Devices::Midi::IMidiMessage const& midiMessage) const; + auto SendBuffer(winrt::Windows::Storage::Streams::IBuffer const& midiData) const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -614,8 +613,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiOutPortStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; }; template <> struct consume { @@ -624,8 +623,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiPitchBendChangeMessage { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Channel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Bend() const; + [[nodiscard]] auto Channel() const; + [[nodiscard]] auto Bend() const; }; template <> struct consume { @@ -634,7 +633,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiPitchBendChangeMessageFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiPitchBendChangeMessage) CreateMidiPitchBendChangeMessage(uint8_t channel, uint16_t bend) const; + auto CreateMidiPitchBendChangeMessage(uint8_t channel, uint16_t bend) const; }; template <> struct consume { @@ -643,9 +642,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessage { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Channel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Note() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Pressure() const; + [[nodiscard]] auto Channel() const; + [[nodiscard]] auto Note() const; + [[nodiscard]] auto Pressure() const; }; template <> struct consume { @@ -654,7 +653,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessageFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiPolyphonicKeyPressureMessage) CreateMidiPolyphonicKeyPressureMessage(uint8_t channel, uint8_t note, uint8_t pressure) const; + auto CreateMidiPolyphonicKeyPressureMessage(uint8_t channel, uint8_t note, uint8_t pressure) const; }; template <> struct consume { @@ -663,8 +662,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiProgramChangeMessage { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Channel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Program() const; + [[nodiscard]] auto Channel() const; + [[nodiscard]] auto Program() const; }; template <> struct consume { @@ -673,7 +672,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiProgramChangeMessageFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiProgramChangeMessage) CreateMidiProgramChangeMessage(uint8_t channel, uint8_t program) const; + auto CreateMidiProgramChangeMessage(uint8_t channel, uint8_t program) const; }; template <> struct consume { @@ -682,7 +681,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiSongPositionPointerMessage { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Beats() const; + [[nodiscard]] auto Beats() const; }; template <> struct consume { @@ -691,7 +690,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiSongPositionPointerMessageFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiSongPositionPointerMessage) CreateMidiSongPositionPointerMessage(uint16_t beats) const; + auto CreateMidiSongPositionPointerMessage(uint16_t beats) const; }; template <> struct consume { @@ -700,7 +699,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiSongSelectMessage { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Song() const; + [[nodiscard]] auto Song() const; }; template <> struct consume { @@ -709,7 +708,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiSongSelectMessageFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiSongSelectMessage) CreateMidiSongSelectMessage(uint8_t song) const; + auto CreateMidiSongSelectMessage(uint8_t song) const; }; template <> struct consume { @@ -718,9 +717,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiSynthesizer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) AudioDevice() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Volume() const; - WINRT_IMPL_AUTO(void) Volume(double value) const; + [[nodiscard]] auto AudioDevice() const; + [[nodiscard]] auto Volume() const; + auto Volume(double value) const; }; template <> struct consume { @@ -729,9 +728,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiSynthesizerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& audioDevice) const; - WINRT_IMPL_AUTO(bool) IsSynthesizer(winrt::Windows::Devices::Enumeration::DeviceInformation const& midiDevice) const; + auto CreateAsync() const; + auto CreateAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& audioDevice) const; + auto IsSynthesizer(winrt::Windows::Devices::Enumeration::DeviceInformation const& midiDevice) const; }; template <> struct consume { @@ -740,7 +739,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiSystemExclusiveMessageFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiSystemExclusiveMessage) CreateMidiSystemExclusiveMessage(winrt::Windows::Storage::Streams::IBuffer const& rawData) const; + auto CreateMidiSystemExclusiveMessage(winrt::Windows::Storage::Streams::IBuffer const& rawData) const; }; template <> struct consume { @@ -749,8 +748,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiTimeCodeMessage { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) FrameType() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Values() const; + [[nodiscard]] auto FrameType() const; + [[nodiscard]] auto Values() const; }; template <> struct consume { @@ -759,7 +758,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Midi_IMidiTimeCodeMessageFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiTimeCodeMessage) CreateMidiTimeCodeMessage(uint8_t frameType, uint8_t values) const; + auto CreateMidiTimeCodeMessage(uint8_t frameType, uint8_t values) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.1.h index a963b55e..53934c77 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Midi_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.2.h index df20bd75..d1003907 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Midi_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.0.h index 7a34a353..032eb388 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Perception_0_H @@ -11,7 +11,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct Point; struct Rect; template struct __declspec(empty_bases) TypedEventHandler; @@ -19,8 +18,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { enum class CollectionChange : int32_t; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics { @@ -826,10 +823,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FocalLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PrincipalPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RadialDistortion() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TangentialDistortion() const; + [[nodiscard]] auto FocalLength() const; + [[nodiscard]] auto PrincipalPoint() const; + [[nodiscard]] auto RadialDistortion() const; + [[nodiscard]] auto TangentialDistortion() const; }; template <> struct consume { @@ -838,9 +835,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IKnownPerceptionColorFrameSourcePropertiesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Exposure() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AutoExposureEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExposureCompensation() const; + [[nodiscard]] auto Exposure() const; + [[nodiscard]] auto AutoExposureEnabled() const; + [[nodiscard]] auto ExposureCompensation() const; }; template <> struct consume { @@ -849,8 +846,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IKnownPerceptionDepthFrameSourcePropertiesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MinDepth() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MaxDepth() const; + [[nodiscard]] auto MinDepth() const; + [[nodiscard]] auto MaxDepth() const; }; template <> struct consume { @@ -859,11 +856,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PhysicalDeviceIds() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FrameKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceModelVersion() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EnclosureLocation() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto PhysicalDeviceIds() const; + [[nodiscard]] auto FrameKind() const; + [[nodiscard]] auto DeviceModelVersion() const; + [[nodiscard]] auto EnclosureLocation() const; }; template <> struct consume { @@ -872,7 +869,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -881,13 +878,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Exposure() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AutoExposureEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExposureCompensation() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ActiveIlluminationEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AmbientSubtractionEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StructureLightPatternEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) InterleavedIlluminationEnabled() const; + [[nodiscard]] auto Exposure() const; + [[nodiscard]] auto AutoExposureEnabled() const; + [[nodiscard]] auto ExposureCompensation() const; + [[nodiscard]] auto ActiveIlluminationEnabled() const; + [[nodiscard]] auto AmbientSubtractionEnabled() const; + [[nodiscard]] auto StructureLightPatternEnabled() const; + [[nodiscard]] auto InterleavedIlluminationEnabled() const; }; template <> struct consume { @@ -896,11 +893,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoProfile() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SupportedVideoProfiles() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AvailableVideoProfiles() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IsMirrored() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CameraIntrinsics() const; + [[nodiscard]] auto VideoProfile() const; + [[nodiscard]] auto SupportedVideoProfiles() const; + [[nodiscard]] auto AvailableVideoProfiles() const; + [[nodiscard]] auto IsMirrored() const; + [[nodiscard]] auto CameraIntrinsics() const; }; template <> struct consume { @@ -909,11 +906,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BitmapPixelFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BitmapAlphaMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Width() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Height() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FrameDuration() const; + [[nodiscard]] auto BitmapPixelFormat() const; + [[nodiscard]] auto BitmapAlphaMode() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto FrameDuration() const; }; template <> struct consume { @@ -922,7 +919,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionColorFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) VideoFrame() const; + [[nodiscard]] auto VideoFrame() const; }; template <> struct consume { @@ -931,8 +928,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionColorFrameArrivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RelativeTime() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrame) TryOpenFrame() const; + [[nodiscard]] auto RelativeTime() const; + auto TryOpenFrame() const; }; template <> struct consume { @@ -941,14 +938,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionColorFrameReader { - WINRT_IMPL_AUTO(winrt::event_token) FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FrameArrived_revoker = impl::event_revoker::remove_FrameArrived>; - [[nodiscard]] FrameArrived_revoker FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FrameArrived(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameSource) Source() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPaused() const; - WINRT_IMPL_AUTO(void) IsPaused(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrame) TryReadLatestFrame() const; + [[nodiscard]] auto FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Source() const; + [[nodiscard]] auto IsPaused() const; + auto IsPaused(bool value) const; + auto TryReadLatestFrame() const; }; template <> struct consume { @@ -957,45 +954,45 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionColorFrameSource { - WINRT_IMPL_AUTO(winrt::event_token) AvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AvailableChanged_revoker = impl::event_revoker::remove_AvailableChanged>; - [[nodiscard]] AvailableChanged_revoker AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AvailableChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AvailableChanged(winrt::event_token const& token) const noexcept; + auto ActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ActiveChanged_revoker = impl::event_revoker::remove_ActiveChanged>; - [[nodiscard]] ActiveChanged_revoker ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ActiveChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ActiveChanged(winrt::event_token const& token) const noexcept; + auto PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PropertiesChanged_revoker = impl::event_revoker::remove_PropertiesChanged>; - [[nodiscard]] PropertiesChanged_revoker PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PropertiesChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PropertiesChanged(winrt::event_token const& token) const noexcept; + auto VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using VideoProfileChanged_revoker = impl::event_revoker::remove_VideoProfileChanged>; - [[nodiscard]] VideoProfileChanged_revoker VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VideoProfileChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VideoProfileChanged(winrt::event_token const& token) const noexcept; + auto CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CameraIntrinsicsChanged_revoker = impl::event_revoker::remove_CameraIntrinsicsChanged>; - [[nodiscard]] CameraIntrinsicsChanged_revoker CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Available() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Active() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsControlled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedVideoProfiles() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AvailableVideoProfiles() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionVideoProfile) VideoProfile() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) CameraIntrinsics() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionControlSession) AcquireControlSession() const; - WINRT_IMPL_AUTO(bool) CanControlIndependentlyFrom(param::hstring const& targetId) const; - WINRT_IMPL_AUTO(bool) IsCorrelatedWith(param::hstring const& targetId) const; - WINRT_IMPL_AUTO(bool) TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& correlatedDepthFrameSource) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetSourceId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& correlatedDepthFrameSource) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameReader) OpenReader() const; + [[nodiscard]] auto CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto DeviceKind() const; + [[nodiscard]] auto Available() const; + [[nodiscard]] auto Active() const; + [[nodiscard]] auto IsControlled() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto SupportedVideoProfiles() const; + [[nodiscard]] auto AvailableVideoProfiles() const; + [[nodiscard]] auto VideoProfile() const; + [[nodiscard]] auto CameraIntrinsics() const; + auto AcquireControlSession() const; + auto CanControlIndependentlyFrom(param::hstring const& targetId) const; + auto IsCorrelatedWith(param::hstring const& targetId) const; + auto TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const; + auto TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& correlatedDepthFrameSource) const; + auto TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetSourceId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& correlatedDepthFrameSource) const; + auto TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const; + auto OpenReader() const; }; template <> struct consume { @@ -1004,7 +1001,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionColorFrameSource2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -1013,7 +1010,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionColorFrameSourceAddedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameSource) FrameSource() const; + [[nodiscard]] auto FrameSource() const; }; template <> struct consume { @@ -1022,7 +1019,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionColorFrameSourceRemovedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameSource) FrameSource() const; + [[nodiscard]] auto FrameSource() const; }; template <> struct consume { @@ -1031,10 +1028,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher) CreateWatcher() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; + auto CreateWatcher() const; + auto FindAllAsync() const; + auto FromIdAsync(param::hstring const& id) const; + auto RequestAccessAsync() const; }; template <> struct consume { @@ -1043,25 +1040,25 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher { - WINRT_IMPL_AUTO(winrt::event_token) SourceAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourceAdded_revoker = impl::event_revoker::remove_SourceAdded>; - [[nodiscard]] SourceAdded_revoker SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourceAdded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SourceRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceAdded(winrt::event_token const& token) const noexcept; + auto SourceRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourceRemoved_revoker = impl::event_revoker::remove_SourceRemoved>; - [[nodiscard]] SourceRemoved_revoker SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourceRemoved(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceRemoved(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Stopped(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherStatus) Status() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; }; template <> struct consume { @@ -1070,11 +1067,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionControlSession { - WINRT_IMPL_AUTO(winrt::event_token) ControlLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ControlLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ControlLost_revoker = impl::event_revoker::remove_ControlLost>; - [[nodiscard]] ControlLost_revoker ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ControlLost(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetPropertyAsync(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ControlLost(winrt::event_token const& token) const noexcept; + auto TrySetPropertyAsync(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -1083,10 +1080,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) UnprojectPixelAtCorrelatedDepth(winrt::Windows::Foundation::Point const& pixelCoordinate, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame) const; - WINRT_IMPL_AUTO(void) UnprojectPixelsAtCorrelatedDepth(array_view sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UnprojectRegionPixelsAtCorrelatedDepthAsync(winrt::Windows::Foundation::Rect const& region, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UnprojectAllPixelsAtCorrelatedDepthAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const; + auto UnprojectPixelAtCorrelatedDepth(winrt::Windows::Foundation::Point const& pixelCoordinate, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame) const; + auto UnprojectPixelsAtCorrelatedDepth(array_view sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const; + auto UnprojectRegionPixelsAtCorrelatedDepthAsync(winrt::Windows::Foundation::Rect const& region, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const; + auto UnprojectAllPixelsAtCorrelatedDepthAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const; }; template <> struct consume { @@ -1095,10 +1092,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) MapPixelToTarget(winrt::Windows::Foundation::Point const& sourcePixelCoordinate, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame) const; - WINRT_IMPL_AUTO(void) MapPixelsToTarget(array_view sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MapRegionOfPixelsToTargetAsync(winrt::Windows::Foundation::Rect const& region, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view targetCoordinates) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MapAllPixelsToTargetAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view targetCoordinates) const; + auto MapPixelToTarget(winrt::Windows::Foundation::Point const& sourcePixelCoordinate, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame) const; + auto MapPixelsToTarget(array_view sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view results) const; + auto MapRegionOfPixelsToTargetAsync(winrt::Windows::Foundation::Rect const& region, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view targetCoordinates) const; + auto MapAllPixelsToTargetAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view targetCoordinates) const; }; template <> struct consume { @@ -1107,7 +1104,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionDepthFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) VideoFrame() const; + [[nodiscard]] auto VideoFrame() const; }; template <> struct consume { @@ -1116,8 +1113,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionDepthFrameArrivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RelativeTime() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrame) TryOpenFrame() const; + [[nodiscard]] auto RelativeTime() const; + auto TryOpenFrame() const; }; template <> struct consume { @@ -1126,14 +1123,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionDepthFrameReader { - WINRT_IMPL_AUTO(winrt::event_token) FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FrameArrived_revoker = impl::event_revoker::remove_FrameArrived>; - [[nodiscard]] FrameArrived_revoker FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FrameArrived(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource) Source() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPaused() const; - WINRT_IMPL_AUTO(void) IsPaused(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrame) TryReadLatestFrame() const; + [[nodiscard]] auto FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Source() const; + [[nodiscard]] auto IsPaused() const; + auto IsPaused(bool value) const; + auto TryReadLatestFrame() const; }; template <> struct consume { @@ -1142,45 +1139,45 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSource { - WINRT_IMPL_AUTO(winrt::event_token) AvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AvailableChanged_revoker = impl::event_revoker::remove_AvailableChanged>; - [[nodiscard]] AvailableChanged_revoker AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AvailableChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AvailableChanged(winrt::event_token const& token) const noexcept; + auto ActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ActiveChanged_revoker = impl::event_revoker::remove_ActiveChanged>; - [[nodiscard]] ActiveChanged_revoker ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ActiveChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ActiveChanged(winrt::event_token const& token) const noexcept; + auto PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PropertiesChanged_revoker = impl::event_revoker::remove_PropertiesChanged>; - [[nodiscard]] PropertiesChanged_revoker PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PropertiesChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PropertiesChanged(winrt::event_token const& token) const noexcept; + auto VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using VideoProfileChanged_revoker = impl::event_revoker::remove_VideoProfileChanged>; - [[nodiscard]] VideoProfileChanged_revoker VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VideoProfileChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VideoProfileChanged(winrt::event_token const& token) const noexcept; + auto CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CameraIntrinsicsChanged_revoker = impl::event_revoker::remove_CameraIntrinsicsChanged>; - [[nodiscard]] CameraIntrinsicsChanged_revoker CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Available() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Active() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsControlled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedVideoProfiles() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AvailableVideoProfiles() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionVideoProfile) VideoProfile() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) CameraIntrinsics() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionControlSession) AcquireControlSession() const; - WINRT_IMPL_AUTO(bool) CanControlIndependentlyFrom(param::hstring const& targetId) const; - WINRT_IMPL_AUTO(bool) IsCorrelatedWith(param::hstring const& targetId) const; - WINRT_IMPL_AUTO(bool) TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& target) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& depthFrameSourceToMapWith) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameReader) OpenReader() const; + [[nodiscard]] auto CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto DeviceKind() const; + [[nodiscard]] auto Available() const; + [[nodiscard]] auto Active() const; + [[nodiscard]] auto IsControlled() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto SupportedVideoProfiles() const; + [[nodiscard]] auto AvailableVideoProfiles() const; + [[nodiscard]] auto VideoProfile() const; + [[nodiscard]] auto CameraIntrinsics() const; + auto AcquireControlSession() const; + auto CanControlIndependentlyFrom(param::hstring const& targetId) const; + auto IsCorrelatedWith(param::hstring const& targetId) const; + auto TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const; + auto TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& target) const; + auto TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& depthFrameSourceToMapWith) const; + auto TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const; + auto OpenReader() const; }; template <> struct consume { @@ -1189,7 +1186,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSource2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -1198,7 +1195,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceAddedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource) FrameSource() const; + [[nodiscard]] auto FrameSource() const; }; template <> struct consume { @@ -1207,7 +1204,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceRemovedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource) FrameSource() const; + [[nodiscard]] auto FrameSource() const; }; template <> struct consume { @@ -1216,10 +1213,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher) CreateWatcher() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; + auto CreateWatcher() const; + auto FindAllAsync() const; + auto FromIdAsync(param::hstring const& id) const; + auto RequestAccessAsync() const; }; template <> struct consume { @@ -1228,25 +1225,25 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher { - WINRT_IMPL_AUTO(winrt::event_token) SourceAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourceAdded_revoker = impl::event_revoker::remove_SourceAdded>; - [[nodiscard]] SourceAdded_revoker SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourceAdded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SourceRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceAdded(winrt::event_token const& token) const noexcept; + auto SourceRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourceRemoved_revoker = impl::event_revoker::remove_SourceRemoved>; - [[nodiscard]] SourceRemoved_revoker SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourceRemoved(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceRemoved(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Stopped(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherStatus) Status() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; }; template <> struct consume { @@ -1255,8 +1252,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertiesChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::CollectionChange) CollectionChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Key() const; + [[nodiscard]] auto CollectionChange() const; + [[nodiscard]] auto Key() const; }; template <> struct consume { @@ -1265,8 +1262,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertyChangeResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) NewValue() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto NewValue() const; }; template <> struct consume { @@ -1275,7 +1272,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionInfraredFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) VideoFrame() const; + [[nodiscard]] auto VideoFrame() const; }; template <> struct consume { @@ -1284,8 +1281,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameArrivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RelativeTime() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrame) TryOpenFrame() const; + [[nodiscard]] auto RelativeTime() const; + auto TryOpenFrame() const; }; template <> struct consume { @@ -1294,14 +1291,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader { - WINRT_IMPL_AUTO(winrt::event_token) FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FrameArrived_revoker = impl::event_revoker::remove_FrameArrived>; - [[nodiscard]] FrameArrived_revoker FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FrameArrived(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource) Source() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPaused() const; - WINRT_IMPL_AUTO(void) IsPaused(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrame) TryReadLatestFrame() const; + [[nodiscard]] auto FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Source() const; + [[nodiscard]] auto IsPaused() const; + auto IsPaused(bool value) const; + auto TryReadLatestFrame() const; }; template <> struct consume { @@ -1310,45 +1307,45 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource { - WINRT_IMPL_AUTO(winrt::event_token) AvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AvailableChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AvailableChanged_revoker = impl::event_revoker::remove_AvailableChanged>; - [[nodiscard]] AvailableChanged_revoker AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AvailableChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AvailableChanged(winrt::event_token const& token) const noexcept; + auto ActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ActiveChanged_revoker = impl::event_revoker::remove_ActiveChanged>; - [[nodiscard]] ActiveChanged_revoker ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ActiveChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ActiveChanged(winrt::event_token const& token) const noexcept; + auto PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PropertiesChanged_revoker = impl::event_revoker::remove_PropertiesChanged>; - [[nodiscard]] PropertiesChanged_revoker PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PropertiesChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PropertiesChanged(winrt::event_token const& token) const noexcept; + auto VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using VideoProfileChanged_revoker = impl::event_revoker::remove_VideoProfileChanged>; - [[nodiscard]] VideoProfileChanged_revoker VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VideoProfileChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VideoProfileChanged(winrt::event_token const& token) const noexcept; + auto CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CameraIntrinsicsChanged_revoker = impl::event_revoker::remove_CameraIntrinsicsChanged>; - [[nodiscard]] CameraIntrinsicsChanged_revoker CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Available() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Active() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsControlled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedVideoProfiles() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AvailableVideoProfiles() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionVideoProfile) VideoProfile() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) CameraIntrinsics() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionControlSession) AcquireControlSession() const; - WINRT_IMPL_AUTO(bool) CanControlIndependentlyFrom(param::hstring const& targetId) const; - WINRT_IMPL_AUTO(bool) IsCorrelatedWith(param::hstring const& targetId) const; - WINRT_IMPL_AUTO(bool) TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& target) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& depthFrameSourceToMapWith) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameReader) OpenReader() const; + [[nodiscard]] auto CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto DeviceKind() const; + [[nodiscard]] auto Available() const; + [[nodiscard]] auto Active() const; + [[nodiscard]] auto IsControlled() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto SupportedVideoProfiles() const; + [[nodiscard]] auto AvailableVideoProfiles() const; + [[nodiscard]] auto VideoProfile() const; + [[nodiscard]] auto CameraIntrinsics() const; + auto AcquireControlSession() const; + auto CanControlIndependentlyFrom(param::hstring const& targetId) const; + auto IsCorrelatedWith(param::hstring const& targetId) const; + auto TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const; + auto TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& target) const; + auto TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& depthFrameSourceToMapWith) const; + auto TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const; + auto OpenReader() const; }; template <> struct consume { @@ -1357,7 +1354,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -1366,7 +1363,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceAddedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource) FrameSource() const; + [[nodiscard]] auto FrameSource() const; }; template <> struct consume { @@ -1375,7 +1372,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceRemovedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource) FrameSource() const; + [[nodiscard]] auto FrameSource() const; }; template <> struct consume { @@ -1384,10 +1381,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher) CreateWatcher() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; + auto CreateWatcher() const; + auto FindAllAsync() const; + auto FromIdAsync(param::hstring const& id) const; + auto RequestAccessAsync() const; }; template <> struct consume { @@ -1396,25 +1393,25 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher { - WINRT_IMPL_AUTO(winrt::event_token) SourceAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourceAdded_revoker = impl::event_revoker::remove_SourceAdded>; - [[nodiscard]] SourceAdded_revoker SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourceAdded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SourceRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceAdded(winrt::event_token const& token) const noexcept; + auto SourceRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourceRemoved_revoker = impl::event_revoker::remove_SourceRemoved>; - [[nodiscard]] SourceRemoved_revoker SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourceRemoved(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceRemoved(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Stopped(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherStatus) Status() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; }; template <> struct consume { @@ -1423,12 +1420,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_IPerceptionVideoProfile { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) BitmapPixelFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) BitmapAlphaMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Width() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Height() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) FrameDuration() const; - WINRT_IMPL_AUTO(bool) IsEqual(winrt::Windows::Devices::Perception::PerceptionVideoProfile const& other) const; + [[nodiscard]] auto BitmapPixelFormat() const; + [[nodiscard]] auto BitmapAlphaMode() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto FrameDuration() const; + auto IsEqual(winrt::Windows::Devices::Perception::PerceptionVideoProfile const& other) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.1.h index f9adb35f..7a7a2c9a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Perception_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.2.h index 657e114a..d617f7f5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Perception_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.0.h index 479df09a..3d088b3f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Perception_Provider_0_H @@ -17,7 +17,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; struct IPropertySet; - template struct __declspec(empty_bases) IVectorView; struct ValueSet; } WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics @@ -322,9 +321,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IKnownPerceptionFrameKindStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Color() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Depth() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Infrared() const; + [[nodiscard]] auto Color() const; + [[nodiscard]] auto Depth() const; + [[nodiscard]] auto Infrared() const; }; template <> struct consume { @@ -333,7 +332,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IPerceptionControlGroup { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FrameProviderIds() const; + [[nodiscard]] auto FrameProviderIds() const; }; template <> struct consume { @@ -342,7 +341,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IPerceptionControlGroupFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup) Create(param::iterable const& ids) const; + auto Create(param::iterable const& ids) const; }; template <> struct consume { @@ -351,9 +350,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IPerceptionCorrelation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TargetId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) Orientation() const; + [[nodiscard]] auto TargetId() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Orientation() const; }; template <> struct consume { @@ -362,7 +361,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionCorrelation) Create(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const; + auto Create(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const; }; template <> struct consume { @@ -371,7 +370,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationGroup { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) RelativeLocations() const; + [[nodiscard]] auto RelativeLocations() const; }; template <> struct consume { @@ -380,7 +379,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationGroupFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup) Create(param::iterable const& relativeLocations) const; + auto Create(param::iterable const& relativeLocations) const; }; template <> struct consume { @@ -389,7 +388,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IPerceptionFaceAuthenticationGroup { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FrameProviderIds() const; + [[nodiscard]] auto FrameProviderIds() const; }; template <> struct consume { @@ -398,7 +397,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IPerceptionFaceAuthenticationGroupFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup) Create(param::iterable const& ids, winrt::Windows::Devices::Perception::Provider::PerceptionStartFaceAuthenticationHandler const& startHandler, winrt::Windows::Devices::Perception::Provider::PerceptionStopFaceAuthenticationHandler const& stopHandler) const; + auto Create(param::iterable const& ids, winrt::Windows::Devices::Perception::Provider::PerceptionStartFaceAuthenticationHandler const& startHandler, winrt::Windows::Devices::Perception::Provider::PerceptionStopFaceAuthenticationHandler const& stopHandler) const; }; template <> struct consume { @@ -407,10 +406,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IPerceptionFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RelativeTime() const; - WINRT_IMPL_AUTO(void) RelativeTime(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IMemoryBuffer) FrameData() const; + [[nodiscard]] auto RelativeTime() const; + auto RelativeTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto FrameData() const; }; template <> struct consume { @@ -419,12 +418,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo) FrameProviderInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Available() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) Properties() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(void) SetProperty(winrt::Windows::Devices::Perception::Provider::PerceptionPropertyChangeRequest const& value) const; + [[nodiscard]] auto FrameProviderInfo() const; + [[nodiscard]] auto Available() const; + [[nodiscard]] auto Properties() const; + auto Start() const; + auto Stop() const; + auto SetProperty(winrt::Windows::Devices::Perception::Provider::PerceptionPropertyChangeRequest const& value) const; }; template <> struct consume { @@ -433,16 +432,16 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(void) Id(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceKind() const; - WINRT_IMPL_AUTO(void) DeviceKind(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FrameKind() const; - WINRT_IMPL_AUTO(void) FrameKind(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Hidden() const; - WINRT_IMPL_AUTO(void) Hidden(bool value) const; + [[nodiscard]] auto Id() const; + auto Id(param::hstring const& value) const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto DeviceKind() const; + auto DeviceKind(param::hstring const& value) const; + [[nodiscard]] auto FrameKind() const; + auto FrameKind(param::hstring const& value) const; + [[nodiscard]] auto Hidden() const; + auto Hidden(bool value) const; }; template <> struct consume { @@ -451,7 +450,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManager { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider) GetFrameProvider(winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const; + auto GetFrameProvider(winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const; }; template <> struct consume { @@ -460,16 +459,16 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics { - WINRT_IMPL_AUTO(void) RegisterFrameProviderInfo(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const; - WINRT_IMPL_AUTO(void) UnregisterFrameProviderInfo(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const; - WINRT_IMPL_AUTO(void) RegisterFaceAuthenticationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& faceAuthenticationGroup) const; - WINRT_IMPL_AUTO(void) UnregisterFaceAuthenticationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& faceAuthenticationGroup) const; - WINRT_IMPL_AUTO(void) RegisterControlGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup const& controlGroup) const; - WINRT_IMPL_AUTO(void) UnregisterControlGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup const& controlGroup) const; - WINRT_IMPL_AUTO(void) RegisterCorrelationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup const& correlationGroup) const; - WINRT_IMPL_AUTO(void) UnregisterCorrelationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup const& correlationGroup) const; - WINRT_IMPL_AUTO(void) UpdateAvailabilityForProvider(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider const& provider, bool available) const; - WINRT_IMPL_AUTO(void) PublishFrameForProvider(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider const& provider, winrt::Windows::Devices::Perception::Provider::PerceptionFrame const& frame) const; + auto RegisterFrameProviderInfo(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const; + auto UnregisterFrameProviderInfo(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const; + auto RegisterFaceAuthenticationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& faceAuthenticationGroup) const; + auto UnregisterFaceAuthenticationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& faceAuthenticationGroup) const; + auto RegisterControlGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup const& controlGroup) const; + auto UnregisterControlGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup const& controlGroup) const; + auto RegisterCorrelationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup const& correlationGroup) const; + auto UnregisterCorrelationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup const& correlationGroup) const; + auto UpdateAvailabilityForProvider(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider const& provider, bool available) const; + auto PublishFrameForProvider(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider const& provider, winrt::Windows::Devices::Perception::Provider::PerceptionFrame const& frame) const; }; template <> struct consume { @@ -478,11 +477,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Value() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus) Status() const; - WINRT_IMPL_AUTO(void) Status(winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Value() const; + [[nodiscard]] auto Status() const; + auto Status(winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus const& value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -491,8 +490,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocator { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionFrame) AllocateFrame() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionFrame) CopyFromVideoFrame(winrt::Windows::Media::VideoFrame const& frame) const; + auto AllocateFrame() const; + auto CopyFromVideoFrame(winrt::Windows::Media::VideoFrame const& frame) const; }; template <> struct consume { @@ -501,7 +500,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocatorFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionVideoFrameAllocator) Create(uint32_t maxOutstandingFrameCountForWrite, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, winrt::Windows::Foundation::Size const& resolution, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; + auto Create(uint32_t maxOutstandingFrameCountForWrite, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, winrt::Windows::Foundation::Size const& resolution, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.1.h index 0215a763..f70ff0d7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Perception_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.2.h index 3a7da8d4..da5a9609 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Perception_Provider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.0.h index 88020429..2d10ffa5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_PointOfService_0_H @@ -8,7 +8,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct Point; struct Rect; struct Size; @@ -18,8 +17,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; template struct __declspec(empty_bases) IKeyValuePair; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging { @@ -2377,19 +2374,19 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IBarcodeScanner { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeScannerCapabilities) Capabilities() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ClaimScannerAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetSupportedSymbologiesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsSymbologySupportedAsync(uint32_t barcodeSymbology) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RetrieveStatisticsAsync(param::async_iterable const& statisticsCategories) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetSupportedProfiles() const; - WINRT_IMPL_AUTO(bool) IsProfileSupported(param::hstring const& profile) const; - WINRT_IMPL_AUTO(winrt::event_token) StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Capabilities() const; + auto ClaimScannerAsync() const; + auto CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const; + auto GetSupportedSymbologiesAsync() const; + auto IsSymbologySupportedAsync(uint32_t barcodeSymbology) const; + auto RetrieveStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto GetSupportedProfiles() const; + auto IsProfileSupported(param::hstring const& profile) const; + auto StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StatusUpdated_revoker = impl::event_revoker::remove_StatusUpdated>; - [[nodiscard]] StatusUpdated_revoker StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StatusUpdated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusUpdated(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2398,7 +2395,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IBarcodeScanner2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoDeviceId() const; + [[nodiscard]] auto VideoDeviceId() const; }; template <> struct consume { @@ -2407,10 +2404,10 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType) PowerReportingType() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStatisticsReportingSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStatisticsUpdatingSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsImagePreviewSupported() const; + [[nodiscard]] auto PowerReportingType() const; + [[nodiscard]] auto IsStatisticsReportingSupported() const; + [[nodiscard]] auto IsStatisticsUpdatingSupported() const; + [[nodiscard]] auto IsImagePreviewSupported() const; }; template <> struct consume { @@ -2419,7 +2416,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities1 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSoftwareTriggerSupported() const; + [[nodiscard]] auto IsSoftwareTriggerSupported() const; }; template <> struct consume { @@ -2428,7 +2425,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVideoPreviewSupported() const; + [[nodiscard]] auto IsVideoPreviewSupported() const; }; template <> struct consume { @@ -2437,7 +2434,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IBarcodeScannerDataReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeScannerReport) Report() const; + [[nodiscard]] auto Report() const; }; template <> struct consume { @@ -2446,9 +2443,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IBarcodeScannerErrorOccurredEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeScannerReport) PartialInputData() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRetriable() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData) ErrorData() const; + [[nodiscard]] auto PartialInputData() const; + [[nodiscard]] auto IsRetriable() const; + [[nodiscard]] auto ErrorData() const; }; template <> struct consume { @@ -2457,7 +2454,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IBarcodeScannerImagePreviewReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) Preview() const; + [[nodiscard]] auto Preview() const; }; template <> struct consume { @@ -2466,9 +2463,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IBarcodeScannerReport { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ScanDataType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ScanData() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ScanDataLabel() const; + [[nodiscard]] auto ScanDataType() const; + [[nodiscard]] auto ScanData() const; + [[nodiscard]] auto ScanDataLabel() const; }; template <> struct consume { @@ -2477,7 +2474,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IBarcodeScannerReportFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeScannerReport) CreateInstance(uint32_t scanDataType, winrt::Windows::Storage::Streams::IBuffer const& scanData, winrt::Windows::Storage::Streams::IBuffer const& scanDataLabel) const; + auto CreateInstance(uint32_t scanDataType, winrt::Windows::Storage::Streams::IBuffer const& scanData, winrt::Windows::Storage::Streams::IBuffer const& scanDataLabel) const; }; template <> struct consume { @@ -2486,9 +2483,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IBarcodeScannerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; + auto GetDefaultAsync() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; }; template <> struct consume { @@ -2497,7 +2494,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IBarcodeScannerStatics2 { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; + auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; }; template <> struct consume { @@ -2506,8 +2503,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IBarcodeScannerStatusUpdatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeScannerStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExtendedStatus() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedStatus() const; }; template <> struct consume { @@ -2516,100 +2513,100 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Unknown() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Ean8() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Ean8Add2() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Ean8Add5() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Eanv() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) EanvAdd2() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) EanvAdd5() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Ean13() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Ean13Add2() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Ean13Add5() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Isbn() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) IsbnAdd5() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Ismn() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) IsmnAdd2() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) IsmnAdd5() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Issn() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) IssnAdd2() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) IssnAdd5() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Ean99() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Ean99Add2() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Ean99Add5() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Upca() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UpcaAdd2() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UpcaAdd5() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Upce() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UpceAdd2() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UpceAdd5() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UpcCoupon() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TfStd() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TfDis() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TfInt() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TfInd() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TfMat() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TfIata() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Gs1DatabarType1() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Gs1DatabarType2() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Gs1DatabarType3() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Code39() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Code39Ex() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Trioptic39() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Code32() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Pzn() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Code93() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Code93Ex() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Code128() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Gs1128() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Gs1128Coupon() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UccEan128() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Sisac() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Isbt() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Codabar() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Code11() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Msi() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Plessey() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Telepen() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Code16k() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CodablockA() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CodablockF() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Codablock128() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Code49() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Aztec() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DataCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DataMatrix() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) HanXin() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Maxicode() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MicroPdf417() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MicroQr() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Pdf417() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Qr() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MsTag() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Ccab() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Ccc() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Tlc39() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) AusPost() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CanPost() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ChinaPost() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DutchKix() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) InfoMail() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ItalianPost25() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ItalianPost39() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) JapanPost() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) KoreanPost() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SwedenPost() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UkPost() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UsIntelligent() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UsIntelligentPkg() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UsPlanet() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UsPostNet() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Us4StateFics() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) OcrA() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) OcrB() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Micr() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExtendedBase() const; - WINRT_IMPL_AUTO(hstring) GetName(uint32_t scanDataType) const; + [[nodiscard]] auto Unknown() const; + [[nodiscard]] auto Ean8() const; + [[nodiscard]] auto Ean8Add2() const; + [[nodiscard]] auto Ean8Add5() const; + [[nodiscard]] auto Eanv() const; + [[nodiscard]] auto EanvAdd2() const; + [[nodiscard]] auto EanvAdd5() const; + [[nodiscard]] auto Ean13() const; + [[nodiscard]] auto Ean13Add2() const; + [[nodiscard]] auto Ean13Add5() const; + [[nodiscard]] auto Isbn() const; + [[nodiscard]] auto IsbnAdd5() const; + [[nodiscard]] auto Ismn() const; + [[nodiscard]] auto IsmnAdd2() const; + [[nodiscard]] auto IsmnAdd5() const; + [[nodiscard]] auto Issn() const; + [[nodiscard]] auto IssnAdd2() const; + [[nodiscard]] auto IssnAdd5() const; + [[nodiscard]] auto Ean99() const; + [[nodiscard]] auto Ean99Add2() const; + [[nodiscard]] auto Ean99Add5() const; + [[nodiscard]] auto Upca() const; + [[nodiscard]] auto UpcaAdd2() const; + [[nodiscard]] auto UpcaAdd5() const; + [[nodiscard]] auto Upce() const; + [[nodiscard]] auto UpceAdd2() const; + [[nodiscard]] auto UpceAdd5() const; + [[nodiscard]] auto UpcCoupon() const; + [[nodiscard]] auto TfStd() const; + [[nodiscard]] auto TfDis() const; + [[nodiscard]] auto TfInt() const; + [[nodiscard]] auto TfInd() const; + [[nodiscard]] auto TfMat() const; + [[nodiscard]] auto TfIata() const; + [[nodiscard]] auto Gs1DatabarType1() const; + [[nodiscard]] auto Gs1DatabarType2() const; + [[nodiscard]] auto Gs1DatabarType3() const; + [[nodiscard]] auto Code39() const; + [[nodiscard]] auto Code39Ex() const; + [[nodiscard]] auto Trioptic39() const; + [[nodiscard]] auto Code32() const; + [[nodiscard]] auto Pzn() const; + [[nodiscard]] auto Code93() const; + [[nodiscard]] auto Code93Ex() const; + [[nodiscard]] auto Code128() const; + [[nodiscard]] auto Gs1128() const; + [[nodiscard]] auto Gs1128Coupon() const; + [[nodiscard]] auto UccEan128() const; + [[nodiscard]] auto Sisac() const; + [[nodiscard]] auto Isbt() const; + [[nodiscard]] auto Codabar() const; + [[nodiscard]] auto Code11() const; + [[nodiscard]] auto Msi() const; + [[nodiscard]] auto Plessey() const; + [[nodiscard]] auto Telepen() const; + [[nodiscard]] auto Code16k() const; + [[nodiscard]] auto CodablockA() const; + [[nodiscard]] auto CodablockF() const; + [[nodiscard]] auto Codablock128() const; + [[nodiscard]] auto Code49() const; + [[nodiscard]] auto Aztec() const; + [[nodiscard]] auto DataCode() const; + [[nodiscard]] auto DataMatrix() const; + [[nodiscard]] auto HanXin() const; + [[nodiscard]] auto Maxicode() const; + [[nodiscard]] auto MicroPdf417() const; + [[nodiscard]] auto MicroQr() const; + [[nodiscard]] auto Pdf417() const; + [[nodiscard]] auto Qr() const; + [[nodiscard]] auto MsTag() const; + [[nodiscard]] auto Ccab() const; + [[nodiscard]] auto Ccc() const; + [[nodiscard]] auto Tlc39() const; + [[nodiscard]] auto AusPost() const; + [[nodiscard]] auto CanPost() const; + [[nodiscard]] auto ChinaPost() const; + [[nodiscard]] auto DutchKix() const; + [[nodiscard]] auto InfoMail() const; + [[nodiscard]] auto ItalianPost25() const; + [[nodiscard]] auto ItalianPost39() const; + [[nodiscard]] auto JapanPost() const; + [[nodiscard]] auto KoreanPost() const; + [[nodiscard]] auto SwedenPost() const; + [[nodiscard]] auto UkPost() const; + [[nodiscard]] auto UsIntelligent() const; + [[nodiscard]] auto UsIntelligentPkg() const; + [[nodiscard]] auto UsPlanet() const; + [[nodiscard]] auto UsPostNet() const; + [[nodiscard]] auto Us4StateFics() const; + [[nodiscard]] auto OcrA() const; + [[nodiscard]] auto OcrB() const; + [[nodiscard]] auto Micr() const; + [[nodiscard]] auto ExtendedBase() const; + auto GetName(uint32_t scanDataType) const; }; template <> struct consume { @@ -2618,7 +2615,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Gs1DWCode() const; + [[nodiscard]] auto Gs1DWCode() const; }; template <> struct consume { @@ -2627,19 +2624,19 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCheckDigitValidationEnabled() const; - WINRT_IMPL_AUTO(void) IsCheckDigitValidationEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCheckDigitValidationSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCheckDigitTransmissionEnabled() const; - WINRT_IMPL_AUTO(void) IsCheckDigitTransmissionEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCheckDigitTransmissionSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DecodeLength1() const; - WINRT_IMPL_AUTO(void) DecodeLength1(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DecodeLength2() const; - WINRT_IMPL_AUTO(void) DecodeLength2(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeSymbologyDecodeLengthKind) DecodeLengthKind() const; - WINRT_IMPL_AUTO(void) DecodeLengthKind(winrt::Windows::Devices::PointOfService::BarcodeSymbologyDecodeLengthKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDecodeLengthSupported() const; + [[nodiscard]] auto IsCheckDigitValidationEnabled() const; + auto IsCheckDigitValidationEnabled(bool value) const; + [[nodiscard]] auto IsCheckDigitValidationSupported() const; + [[nodiscard]] auto IsCheckDigitTransmissionEnabled() const; + auto IsCheckDigitTransmissionEnabled(bool value) const; + [[nodiscard]] auto IsCheckDigitTransmissionSupported() const; + [[nodiscard]] auto DecodeLength1() const; + auto DecodeLength1(uint32_t value) const; + [[nodiscard]] auto DecodeLength2() const; + auto DecodeLength2(uint32_t value) const; + [[nodiscard]] auto DecodeLengthKind() const; + auto DecodeLengthKind(winrt::Windows::Devices::PointOfService::BarcodeSymbologyDecodeLengthKind const& value) const; + [[nodiscard]] auto IsDecodeLengthSupported() const; }; template <> struct consume { @@ -2648,18 +2645,18 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ICashDrawer { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerCapabilities) Capabilities() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDrawerOpen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerEventSource) DrawerEventSource() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ClaimDrawerAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetStatisticsAsync(param::async_iterable const& statisticsCategories) const; - WINRT_IMPL_AUTO(winrt::event_token) StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Capabilities() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto IsDrawerOpen() const; + [[nodiscard]] auto DrawerEventSource() const; + auto ClaimDrawerAsync() const; + auto CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const; + auto GetStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StatusUpdated_revoker = impl::event_revoker::remove_StatusUpdated>; - [[nodiscard]] StatusUpdated_revoker StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StatusUpdated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusUpdated(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2668,12 +2665,12 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ICashDrawerCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType) PowerReportingType() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStatisticsReportingSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStatisticsUpdatingSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStatusReportingSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStatusMultiDrawerDetectSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDrawerOpenSensorAvailable() const; + [[nodiscard]] auto PowerReportingType() const; + [[nodiscard]] auto IsStatisticsReportingSupported() const; + [[nodiscard]] auto IsStatisticsUpdatingSupported() const; + [[nodiscard]] auto IsStatusReportingSupported() const; + [[nodiscard]] auto IsStatusMultiDrawerDetectSupported() const; + [[nodiscard]] auto IsDrawerOpenSensorAvailable() const; }; template <> struct consume { @@ -2682,19 +2679,19 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm { - WINRT_IMPL_AUTO(void) AlarmTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) AlarmTimeout() const; - WINRT_IMPL_AUTO(void) BeepFrequency(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) BeepFrequency() const; - WINRT_IMPL_AUTO(void) BeepDuration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) BeepDuration() const; - WINRT_IMPL_AUTO(void) BeepDelay(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) BeepDelay() const; - WINRT_IMPL_AUTO(winrt::event_token) AlarmTimeoutExpired(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AlarmTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto AlarmTimeout() const; + auto BeepFrequency(uint32_t value) const; + [[nodiscard]] auto BeepFrequency() const; + auto BeepDuration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto BeepDuration() const; + auto BeepDelay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto BeepDelay() const; + auto AlarmTimeoutExpired(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AlarmTimeoutExpired_revoker = impl::event_revoker::remove_AlarmTimeoutExpired>; - [[nodiscard]] AlarmTimeoutExpired_revoker AlarmTimeoutExpired(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AlarmTimeoutExpired(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartAsync() const; + [[nodiscard]] auto AlarmTimeoutExpired(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AlarmTimeoutExpired(winrt::event_token const& token) const noexcept; + auto StartAsync() const; }; template <> struct consume { @@ -2703,14 +2700,14 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ICashDrawerEventSource { - WINRT_IMPL_AUTO(winrt::event_token) DrawerClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DrawerClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DrawerClosed_revoker = impl::event_revoker::remove_DrawerClosed>; - [[nodiscard]] DrawerClosed_revoker DrawerClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DrawerClosed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DrawerOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DrawerClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DrawerClosed(winrt::event_token const& token) const noexcept; + auto DrawerOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DrawerOpened_revoker = impl::event_revoker::remove_DrawerOpened>; - [[nodiscard]] DrawerOpened_revoker DrawerOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DrawerOpened(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DrawerOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DrawerOpened(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2719,7 +2716,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ICashDrawerEventSourceEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawer) CashDrawer() const; + [[nodiscard]] auto CashDrawer() const; }; template <> struct consume { @@ -2728,9 +2725,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ICashDrawerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; + auto GetDefaultAsync() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; }; template <> struct consume { @@ -2739,7 +2736,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ICashDrawerStatics2 { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; + auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; }; template <> struct consume { @@ -2748,8 +2745,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ICashDrawerStatus { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerStatusKind) StatusKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExtendedStatus() const; + [[nodiscard]] auto StatusKind() const; + [[nodiscard]] auto ExtendedStatus() const; }; template <> struct consume { @@ -2758,7 +2755,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ICashDrawerStatusUpdatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -2767,43 +2764,43 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsDisabledOnDataReceived(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDisabledOnDataReceived() const; - WINRT_IMPL_AUTO(void) IsDecodeDataEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDecodeDataEnabled() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) EnableAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DisableAsync() const; - WINRT_IMPL_AUTO(void) RetainDevice() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetActiveSymbologiesAsync(param::async_iterable const& symbologies) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UpdateStatisticsAsync(param::async_iterable> const& statistics) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetActiveProfileAsync(param::hstring const& profile) const; - WINRT_IMPL_AUTO(winrt::event_token) DataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto IsEnabled() const; + auto IsDisabledOnDataReceived(bool value) const; + [[nodiscard]] auto IsDisabledOnDataReceived() const; + auto IsDecodeDataEnabled(bool value) const; + [[nodiscard]] auto IsDecodeDataEnabled() const; + auto EnableAsync() const; + auto DisableAsync() const; + auto RetainDevice() const; + auto SetActiveSymbologiesAsync(param::async_iterable const& symbologies) const; + auto ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto UpdateStatisticsAsync(param::async_iterable> const& statistics) const; + auto SetActiveProfileAsync(param::hstring const& profile) const; + auto DataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DataReceived_revoker = impl::event_revoker::remove_DataReceived>; - [[nodiscard]] DataReceived_revoker DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DataReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TriggerPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DataReceived(winrt::event_token const& token) const noexcept; + auto TriggerPressed(winrt::Windows::Foundation::EventHandler const& handler) const; using TriggerPressed_revoker = impl::event_revoker::remove_TriggerPressed>; - [[nodiscard]] TriggerPressed_revoker TriggerPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TriggerPressed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TriggerReleased(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto TriggerPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto TriggerPressed(winrt::event_token const& token) const noexcept; + auto TriggerReleased(winrt::Windows::Foundation::EventHandler const& handler) const; using TriggerReleased_revoker = impl::event_revoker::remove_TriggerReleased>; - [[nodiscard]] TriggerReleased_revoker TriggerReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TriggerReleased(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ReleaseDeviceRequested(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto TriggerReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto TriggerReleased(winrt::event_token const& token) const noexcept; + auto ReleaseDeviceRequested(winrt::Windows::Foundation::EventHandler const& handler) const; using ReleaseDeviceRequested_revoker = impl::event_revoker::remove_ReleaseDeviceRequested>; - [[nodiscard]] ReleaseDeviceRequested_revoker ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReleaseDeviceRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ImagePreviewReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ReleaseDeviceRequested(winrt::event_token const& token) const noexcept; + auto ImagePreviewReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ImagePreviewReceived_revoker = impl::event_revoker::remove_ImagePreviewReceived>; - [[nodiscard]] ImagePreviewReceived_revoker ImagePreviewReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ImagePreviewReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ImagePreviewReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ImagePreviewReceived(winrt::event_token const& token) const noexcept; + auto ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ErrorOccurred_revoker = impl::event_revoker::remove_ErrorOccurred>; - [[nodiscard]] ErrorOccurred_revoker ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ErrorOccurred(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ErrorOccurred(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2812,8 +2809,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner1 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartSoftwareTriggerAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StopSoftwareTriggerAsync() const; + auto StartSoftwareTriggerAsync() const; + auto StopSoftwareTriggerAsync() const; }; template <> struct consume { @@ -2822,8 +2819,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetSymbologyAttributesAsync(uint32_t barcodeSymbology) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetSymbologyAttributesAsync(uint32_t barcodeSymbology, winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes const& attributes) const; + auto GetSymbologyAttributesAsync(uint32_t barcodeSymbology) const; + auto SetSymbologyAttributesAsync(uint32_t barcodeSymbology, winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes const& attributes) const; }; template <> struct consume { @@ -2832,10 +2829,10 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowVideoPreviewAsync() const; - WINRT_IMPL_AUTO(void) HideVideoPreview() const; - WINRT_IMPL_AUTO(void) IsVideoPreviewShownOnEnable(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVideoPreviewShownOnEnable() const; + auto ShowVideoPreviewAsync() const; + auto HideVideoPreview() const; + auto IsVideoPreviewShownOnEnable(bool value) const; + [[nodiscard]] auto IsVideoPreviewShownOnEnable() const; }; template <> struct consume { @@ -2844,10 +2841,10 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4 { - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2864,20 +2861,20 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedCashDrawer { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDrawerOpen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerCloseAlarm) CloseAlarm() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenDrawerAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) EnableAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DisableAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RetainDeviceAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UpdateStatisticsAsync(param::async_iterable> const& statistics) const; - WINRT_IMPL_AUTO(winrt::event_token) ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto IsEnabled() const; + [[nodiscard]] auto IsDrawerOpen() const; + [[nodiscard]] auto CloseAlarm() const; + auto OpenDrawerAsync() const; + auto EnableAsync() const; + auto DisableAsync() const; + auto RetainDeviceAsync() const; + auto ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto UpdateStatisticsAsync(param::async_iterable> const& statistics) const; + auto ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReleaseDeviceRequested_revoker = impl::event_revoker::remove_ReleaseDeviceRequested>; - [[nodiscard]] ReleaseDeviceRequested_revoker ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReleaseDeviceRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReleaseDeviceRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2886,10 +2883,10 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedCashDrawer2 { - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2906,7 +2903,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedJournalPrinter { - WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::JournalPrintJob) CreateJob() const; + auto CreateJob() const; }; template <> struct consume { @@ -2915,19 +2912,19 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedLineDisplay { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCapabilities) Capabilities() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PhysicalDeviceName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PhysicalDeviceDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceControlDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceControlVersion() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceServiceVersion() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayWindow) DefaultWindow() const; - WINRT_IMPL_AUTO(void) RetainDevice() const; - WINRT_IMPL_AUTO(winrt::event_token) ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Capabilities() const; + [[nodiscard]] auto PhysicalDeviceName() const; + [[nodiscard]] auto PhysicalDeviceDescription() const; + [[nodiscard]] auto DeviceControlDescription() const; + [[nodiscard]] auto DeviceControlVersion() const; + [[nodiscard]] auto DeviceServiceVersion() const; + [[nodiscard]] auto DefaultWindow() const; + auto RetainDevice() const; + auto ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReleaseDeviceRequested_revoker = impl::event_revoker::remove_ReleaseDeviceRequested>; - [[nodiscard]] ReleaseDeviceRequested_revoker ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReleaseDeviceRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReleaseDeviceRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2936,25 +2933,25 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedLineDisplay2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetStatisticsAsync(param::async_iterable const& statisticsCategories) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CheckPowerStatusAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const; + auto CheckPowerStatusAsync() const; + auto StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StatusUpdated_revoker = impl::event_revoker::remove_StatusUpdated>; - [[nodiscard]] StatusUpdated_revoker StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StatusUpdated(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedScreenSizesInCharacters() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) MaxBitmapSizeInPixels() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedCharacterSets() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCustomGlyphs) CustomGlyphs() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayAttributes) GetAttributes() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryUpdateAttributesAsync(winrt::Windows::Devices::PointOfService::LineDisplayAttributes const& attributes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetDescriptorAsync(uint32_t descriptor, winrt::Windows::Devices::PointOfService::LineDisplayDescriptorState const& descriptorState) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryClearDescriptorsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryCreateWindowAsync(winrt::Windows::Foundation::Rect const& viewport, winrt::Windows::Foundation::Size const& windowSize) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment, int32_t widthInPixels) const; + [[nodiscard]] auto StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusUpdated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SupportedScreenSizesInCharacters() const; + [[nodiscard]] auto MaxBitmapSizeInPixels() const; + [[nodiscard]] auto SupportedCharacterSets() const; + [[nodiscard]] auto CustomGlyphs() const; + auto GetAttributes() const; + auto TryUpdateAttributesAsync(winrt::Windows::Devices::PointOfService::LineDisplayAttributes const& attributes) const; + auto TrySetDescriptorAsync(uint32_t descriptor, winrt::Windows::Devices::PointOfService::LineDisplayDescriptorState const& descriptorState) const; + auto TryClearDescriptorsAsync() const; + auto TryCreateWindowAsync(winrt::Windows::Foundation::Rect const& viewport, winrt::Windows::Foundation::Size const& windowSize) const; + auto TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap) const; + auto TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment) const; + auto TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment, int32_t widthInPixels) const; }; template <> struct consume { @@ -2963,10 +2960,10 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedLineDisplay3 { - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2983,9 +2980,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedLineDisplayStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; }; template <> struct consume { @@ -2994,49 +2991,49 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsDisabledOnDataReceived(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDisabledOnDataReceived() const; - WINRT_IMPL_AUTO(void) IsDecodeDataEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDecodeDataEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDeviceAuthenticated() const; - WINRT_IMPL_AUTO(void) DataEncryptionAlgorithm(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DataEncryptionAlgorithm() const; - WINRT_IMPL_AUTO(void) TracksToRead(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackIds const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackIds) TracksToRead() const; - WINRT_IMPL_AUTO(void) IsTransmitSentinelsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTransmitSentinelsEnabled() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) EnableAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DisableAsync() const; - WINRT_IMPL_AUTO(void) RetainDevice() const; - WINRT_IMPL_AUTO(void) SetErrorReportingType(winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorReportingType const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RetrieveDeviceAuthenticationDataAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AuthenticateDeviceAsync(array_view responseToken) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeAuthenticateDeviceAsync(array_view responseToken) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UpdateKeyAsync(param::hstring const& key, param::hstring const& keyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UpdateStatisticsAsync(param::async_iterable> const& statistics) const; - WINRT_IMPL_AUTO(winrt::event_token) BankCardDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto IsEnabled() const; + auto IsDisabledOnDataReceived(bool value) const; + [[nodiscard]] auto IsDisabledOnDataReceived() const; + auto IsDecodeDataEnabled(bool value) const; + [[nodiscard]] auto IsDecodeDataEnabled() const; + [[nodiscard]] auto IsDeviceAuthenticated() const; + auto DataEncryptionAlgorithm(uint32_t value) const; + [[nodiscard]] auto DataEncryptionAlgorithm() const; + auto TracksToRead(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackIds const& value) const; + [[nodiscard]] auto TracksToRead() const; + auto IsTransmitSentinelsEnabled(bool value) const; + [[nodiscard]] auto IsTransmitSentinelsEnabled() const; + auto EnableAsync() const; + auto DisableAsync() const; + auto RetainDevice() const; + auto SetErrorReportingType(winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorReportingType const& value) const; + auto RetrieveDeviceAuthenticationDataAsync() const; + auto AuthenticateDeviceAsync(array_view responseToken) const; + auto DeAuthenticateDeviceAsync(array_view responseToken) const; + auto UpdateKeyAsync(param::hstring const& key, param::hstring const& keyName) const; + auto ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto UpdateStatisticsAsync(param::async_iterable> const& statistics) const; + auto BankCardDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using BankCardDataReceived_revoker = impl::event_revoker::remove_BankCardDataReceived>; - [[nodiscard]] BankCardDataReceived_revoker BankCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BankCardDataReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AamvaCardDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto BankCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BankCardDataReceived(winrt::event_token const& token) const noexcept; + auto AamvaCardDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AamvaCardDataReceived_revoker = impl::event_revoker::remove_AamvaCardDataReceived>; - [[nodiscard]] AamvaCardDataReceived_revoker AamvaCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AamvaCardDataReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) VendorSpecificDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AamvaCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AamvaCardDataReceived(winrt::event_token const& token) const noexcept; + auto VendorSpecificDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using VendorSpecificDataReceived_revoker = impl::event_revoker::remove_VendorSpecificDataReceived>; - [[nodiscard]] VendorSpecificDataReceived_revoker VendorSpecificDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VendorSpecificDataReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ReleaseDeviceRequested(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto VendorSpecificDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VendorSpecificDataReceived(winrt::event_token const& token) const noexcept; + auto ReleaseDeviceRequested(winrt::Windows::Foundation::EventHandler const& handler) const; using ReleaseDeviceRequested_revoker = impl::event_revoker::remove_ReleaseDeviceRequested>; - [[nodiscard]] ReleaseDeviceRequested_revoker ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReleaseDeviceRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ReleaseDeviceRequested(winrt::event_token const& token) const noexcept; + auto ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ErrorOccurred_revoker = impl::event_revoker::remove_ErrorOccurred>; - [[nodiscard]] ErrorOccurred_revoker ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ErrorOccurred(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ErrorOccurred(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3045,10 +3042,10 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2 { - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3065,27 +3062,27 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedPosPrinter { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) CharacterSet(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CharacterSet() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCoverOpen() const; - WINRT_IMPL_AUTO(void) IsCharacterSetMappingEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCharacterSetMappingEnabled() const; - WINRT_IMPL_AUTO(void) MapMode(winrt::Windows::Devices::PointOfService::PosPrinterMapMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterMapMode) MapMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::ClaimedReceiptPrinter) Receipt() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::ClaimedSlipPrinter) Slip() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::ClaimedJournalPrinter) Journal() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) EnableAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DisableAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RetainDeviceAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UpdateStatisticsAsync(param::async_iterable> const& statistics) const; - WINRT_IMPL_AUTO(winrt::event_token) ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto IsEnabled() const; + auto CharacterSet(uint32_t value) const; + [[nodiscard]] auto CharacterSet() const; + [[nodiscard]] auto IsCoverOpen() const; + auto IsCharacterSetMappingEnabled(bool value) const; + [[nodiscard]] auto IsCharacterSetMappingEnabled() const; + auto MapMode(winrt::Windows::Devices::PointOfService::PosPrinterMapMode const& value) const; + [[nodiscard]] auto MapMode() const; + [[nodiscard]] auto Receipt() const; + [[nodiscard]] auto Slip() const; + [[nodiscard]] auto Journal() const; + auto EnableAsync() const; + auto DisableAsync() const; + auto RetainDeviceAsync() const; + auto ResetStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto UpdateStatisticsAsync(param::async_iterable> const& statistics) const; + auto ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReleaseDeviceRequested_revoker = impl::event_revoker::remove_ReleaseDeviceRequested>; - [[nodiscard]] ReleaseDeviceRequested_revoker ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReleaseDeviceRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReleaseDeviceRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3094,10 +3091,10 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedPosPrinter2 { - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3114,12 +3111,12 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SidewaysMaxLines() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SidewaysMaxChars() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) LinesToPaperCut() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) PageSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) PrintArea() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::ReceiptPrintJob) CreateJob() const; + [[nodiscard]] auto SidewaysMaxLines() const; + [[nodiscard]] auto SidewaysMaxChars() const; + [[nodiscard]] auto LinesToPaperCut() const; + [[nodiscard]] auto PageSize() const; + [[nodiscard]] auto PrintArea() const; + auto CreateJob() const; }; template <> struct consume { @@ -3128,19 +3125,19 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IClaimedSlipPrinter { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SidewaysMaxLines() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SidewaysMaxChars() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxLines() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) LinesNearEndToEnd() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterPrintSide) PrintSide() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) PageSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) PrintArea() const; - WINRT_IMPL_AUTO(void) OpenJaws() const; - WINRT_IMPL_AUTO(void) CloseJaws() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) InsertSlipAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RemoveSlipAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const; - WINRT_IMPL_AUTO(void) ChangePrintSide(winrt::Windows::Devices::PointOfService::PosPrinterPrintSide const& printSide) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::SlipPrintJob) CreateJob() const; + [[nodiscard]] auto SidewaysMaxLines() const; + [[nodiscard]] auto SidewaysMaxChars() const; + [[nodiscard]] auto MaxLines() const; + [[nodiscard]] auto LinesNearEndToEnd() const; + [[nodiscard]] auto PrintSide() const; + [[nodiscard]] auto PageSize() const; + [[nodiscard]] auto PrintArea() const; + auto OpenJaws() const; + auto CloseJaws() const; + auto InsertSlipAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const; + auto RemoveSlipAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const; + auto ChangePrintSide(winrt::Windows::Devices::PointOfService::PosPrinterPrintSide const& printSide) const; + auto CreateJob() const; }; template <> struct consume { @@ -3149,25 +3146,25 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation { - WINRT_IMPL_AUTO(void) CharactersPerLine(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CharactersPerLine() const; - WINRT_IMPL_AUTO(void) LineHeight(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) LineHeight() const; - WINRT_IMPL_AUTO(void) LineSpacing(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) LineSpacing() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) LineWidth() const; - WINRT_IMPL_AUTO(void) IsLetterQuality(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLetterQuality() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPaperNearEnd() const; - WINRT_IMPL_AUTO(void) ColorCartridge(winrt::Windows::Devices::PointOfService::PosPrinterColorCartridge const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterColorCartridge) ColorCartridge() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCoverOpen() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCartridgeRemoved() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCartridgeEmpty() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHeadCleaning() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPaperEmpty() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadyToPrint() const; - WINRT_IMPL_AUTO(bool) ValidateData(param::hstring const& data) const; + auto CharactersPerLine(uint32_t value) const; + [[nodiscard]] auto CharactersPerLine() const; + auto LineHeight(uint32_t value) const; + [[nodiscard]] auto LineHeight() const; + auto LineSpacing(uint32_t value) const; + [[nodiscard]] auto LineSpacing() const; + [[nodiscard]] auto LineWidth() const; + auto IsLetterQuality(bool value) const; + [[nodiscard]] auto IsLetterQuality() const; + [[nodiscard]] auto IsPaperNearEnd() const; + auto ColorCartridge(winrt::Windows::Devices::PointOfService::PosPrinterColorCartridge const& value) const; + [[nodiscard]] auto ColorCartridge() const; + [[nodiscard]] auto IsCoverOpen() const; + [[nodiscard]] auto IsCartridgeRemoved() const; + [[nodiscard]] auto IsCartridgeEmpty() const; + [[nodiscard]] auto IsHeadCleaning() const; + [[nodiscard]] auto IsPaperEmpty() const; + [[nodiscard]] auto IsReadyToPrint() const; + auto ValidateData(param::hstring const& data) const; }; template <> struct consume { @@ -3176,19 +3173,19 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPrinterPresent() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDualColorSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterColorCapabilities) ColorCartridgeCapabilities() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterCartridgeSensors) CartridgeSensors() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBoldSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsItalicSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsUnderlineSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDoubleHighPrintSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDoubleWidePrintSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDoubleHighDoubleWidePrintSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPaperEmptySensorSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPaperNearEndSensorSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedCharactersPerLine() const; + [[nodiscard]] auto IsPrinterPresent() const; + [[nodiscard]] auto IsDualColorSupported() const; + [[nodiscard]] auto ColorCartridgeCapabilities() const; + [[nodiscard]] auto CartridgeSensors() const; + [[nodiscard]] auto IsBoldSupported() const; + [[nodiscard]] auto IsItalicSupported() const; + [[nodiscard]] auto IsUnderlineSupported() const; + [[nodiscard]] auto IsDoubleHighPrintSupported() const; + [[nodiscard]] auto IsDoubleWidePrintSupported() const; + [[nodiscard]] auto IsDoubleHighDoubleWidePrintSupported() const; + [[nodiscard]] auto IsPaperEmptySensorSupported() const; + [[nodiscard]] auto IsPaperNearEndSensorSupported() const; + [[nodiscard]] auto SupportedCharactersPerLine() const; }; template <> struct consume { @@ -3197,15 +3194,15 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBarcodeSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBitmapSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLeft90RotationSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRight90RotationSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Is180RotationSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPrintAreaSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterRuledLineCapabilities) RuledLineCapabilities() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedBarcodeRotations() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedBitmapRotations() const; + [[nodiscard]] auto IsBarcodeSupported() const; + [[nodiscard]] auto IsBitmapSupported() const; + [[nodiscard]] auto IsLeft90RotationSupported() const; + [[nodiscard]] auto IsRight90RotationSupported() const; + [[nodiscard]] auto Is180RotationSupported() const; + [[nodiscard]] auto IsPrintAreaSupported() const; + [[nodiscard]] auto RuledLineCapabilities() const; + [[nodiscard]] auto SupportedBarcodeRotations() const; + [[nodiscard]] auto SupportedBitmapRotations() const; }; template <> struct consume { @@ -3214,9 +3211,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IJournalPrintJob { - WINRT_IMPL_AUTO(void) Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const; - WINRT_IMPL_AUTO(void) FeedPaperByLine(int32_t lineCount) const; - WINRT_IMPL_AUTO(void) FeedPaperByMapModeUnit(int32_t distance) const; + auto Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const; + auto FeedPaperByLine(int32_t lineCount) const; + auto FeedPaperByMapModeUnit(int32_t distance) const; }; template <> struct consume { @@ -3233,12 +3230,12 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReverseVideoSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStrikethroughSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSuperscriptSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSubscriptSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReversePaperFeedByLineSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReversePaperFeedByMapModeUnitSupported() const; + [[nodiscard]] auto IsReverseVideoSupported() const; + [[nodiscard]] auto IsStrikethroughSupported() const; + [[nodiscard]] auto IsSuperscriptSupported() const; + [[nodiscard]] auto IsSubscriptSupported() const; + [[nodiscard]] auto IsReversePaperFeedByLineSupported() const; + [[nodiscard]] auto IsReversePaperFeedByMapModeUnitSupported() const; }; template <> struct consume { @@ -3247,14 +3244,14 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ILineDisplay { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCapabilities) Capabilities() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PhysicalDeviceName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PhysicalDeviceDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceControlDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceControlVersion() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceServiceVersion() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ClaimAsync() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Capabilities() const; + [[nodiscard]] auto PhysicalDeviceName() const; + [[nodiscard]] auto PhysicalDeviceDescription() const; + [[nodiscard]] auto DeviceControlDescription() const; + [[nodiscard]] auto DeviceControlVersion() const; + [[nodiscard]] auto DeviceServiceVersion() const; + auto ClaimAsync() const; }; template <> struct consume { @@ -3263,7 +3260,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ILineDisplay2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CheckPowerStatusAsync() const; + auto CheckPowerStatusAsync() const; }; template <> struct consume { @@ -3272,20 +3269,20 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ILineDisplayAttributes { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPowerNotifyEnabled() const; - WINRT_IMPL_AUTO(void) IsPowerNotifyEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Brightness() const; - WINRT_IMPL_AUTO(void) Brightness(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) BlinkRate() const; - WINRT_IMPL_AUTO(void) BlinkRate(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) ScreenSizeInCharacters() const; - WINRT_IMPL_AUTO(void) ScreenSizeInCharacters(winrt::Windows::Foundation::Size const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CharacterSet() const; - WINRT_IMPL_AUTO(void) CharacterSet(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCharacterSetMappingEnabled() const; - WINRT_IMPL_AUTO(void) IsCharacterSetMappingEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayWindow) CurrentWindow() const; - WINRT_IMPL_AUTO(void) CurrentWindow(winrt::Windows::Devices::PointOfService::LineDisplayWindow const& value) const; + [[nodiscard]] auto IsPowerNotifyEnabled() const; + auto IsPowerNotifyEnabled(bool value) const; + [[nodiscard]] auto Brightness() const; + auto Brightness(int32_t value) const; + [[nodiscard]] auto BlinkRate() const; + auto BlinkRate(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto ScreenSizeInCharacters() const; + auto ScreenSizeInCharacters(winrt::Windows::Foundation::Size const& value) const; + [[nodiscard]] auto CharacterSet() const; + auto CharacterSet(int32_t value) const; + [[nodiscard]] auto IsCharacterSetMappingEnabled() const; + auto IsCharacterSetMappingEnabled(bool value) const; + [[nodiscard]] auto CurrentWindow() const; + auto CurrentWindow(winrt::Windows::Devices::PointOfService::LineDisplayWindow const& value) const; }; template <> struct consume { @@ -3294,24 +3291,24 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ILineDisplayCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStatisticsReportingSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStatisticsUpdatingSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType) PowerReportingType() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanChangeScreenSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanDisplayBitmaps() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanReadCharacterAtCursor() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanMapCharacterSets() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanDisplayCustomGlyphs() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayTextAttributeGranularity) CanReverse() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayTextAttributeGranularity) CanBlink() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanChangeBlinkRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBrightnessSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCursorSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHorizontalMarqueeSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVerticalMarqueeSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInterCharacterWaitSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SupportedDescriptors() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SupportedWindows() const; + [[nodiscard]] auto IsStatisticsReportingSupported() const; + [[nodiscard]] auto IsStatisticsUpdatingSupported() const; + [[nodiscard]] auto PowerReportingType() const; + [[nodiscard]] auto CanChangeScreenSize() const; + [[nodiscard]] auto CanDisplayBitmaps() const; + [[nodiscard]] auto CanReadCharacterAtCursor() const; + [[nodiscard]] auto CanMapCharacterSets() const; + [[nodiscard]] auto CanDisplayCustomGlyphs() const; + [[nodiscard]] auto CanReverse() const; + [[nodiscard]] auto CanBlink() const; + [[nodiscard]] auto CanChangeBlinkRate() const; + [[nodiscard]] auto IsBrightnessSupported() const; + [[nodiscard]] auto IsCursorSupported() const; + [[nodiscard]] auto IsHorizontalMarqueeSupported() const; + [[nodiscard]] auto IsVerticalMarqueeSupported() const; + [[nodiscard]] auto IsInterCharacterWaitSupported() const; + [[nodiscard]] auto SupportedDescriptors() const; + [[nodiscard]] auto SupportedWindows() const; }; template <> struct consume { @@ -3320,15 +3317,15 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ILineDisplayCursor { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanCustomize() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBlinkSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBlockSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHalfBlockSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsUnderlineSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReverseSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOtherSupported() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCursorAttributes) GetAttributes() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryUpdateAttributesAsync(winrt::Windows::Devices::PointOfService::LineDisplayCursorAttributes const& attributes) const; + [[nodiscard]] auto CanCustomize() const; + [[nodiscard]] auto IsBlinkSupported() const; + [[nodiscard]] auto IsBlockSupported() const; + [[nodiscard]] auto IsHalfBlockSupported() const; + [[nodiscard]] auto IsUnderlineSupported() const; + [[nodiscard]] auto IsReverseSupported() const; + [[nodiscard]] auto IsOtherSupported() const; + auto GetAttributes() const; + auto TryUpdateAttributesAsync(winrt::Windows::Devices::PointOfService::LineDisplayCursorAttributes const& attributes) const; }; template <> struct consume { @@ -3337,14 +3334,14 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBlinkEnabled() const; - WINRT_IMPL_AUTO(void) IsBlinkEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCursorType) CursorType() const; - WINRT_IMPL_AUTO(void) CursorType(winrt::Windows::Devices::PointOfService::LineDisplayCursorType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAutoAdvanceEnabled() const; - WINRT_IMPL_AUTO(void) IsAutoAdvanceEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - WINRT_IMPL_AUTO(void) Position(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto IsBlinkEnabled() const; + auto IsBlinkEnabled(bool value) const; + [[nodiscard]] auto CursorType() const; + auto CursorType(winrt::Windows::Devices::PointOfService::LineDisplayCursorType const& value) const; + [[nodiscard]] auto IsAutoAdvanceEnabled() const; + auto IsAutoAdvanceEnabled(bool value) const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::Point const& value) const; }; template <> struct consume { @@ -3353,9 +3350,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ILineDisplayCustomGlyphs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) SizeInPixels() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedGlyphCodes() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryRedefineAsync(uint32_t glyphCode, winrt::Windows::Storage::Streams::IBuffer const& glyphData) const; + [[nodiscard]] auto SizeInPixels() const; + [[nodiscard]] auto SupportedGlyphCodes() const; + auto TryRedefineAsync(uint32_t glyphCode, winrt::Windows::Storage::Streams::IBuffer const& glyphData) const; }; template <> struct consume { @@ -3364,14 +3361,14 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ILineDisplayMarquee { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayMarqueeFormat) Format() const; - WINRT_IMPL_AUTO(void) Format(winrt::Windows::Devices::PointOfService::LineDisplayMarqueeFormat const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RepeatWaitInterval() const; - WINRT_IMPL_AUTO(void) RepeatWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) ScrollWaitInterval() const; - WINRT_IMPL_AUTO(void) ScrollWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryStartScrollingAsync(winrt::Windows::Devices::PointOfService::LineDisplayScrollDirection const& direction) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryStopScrollingAsync() const; + [[nodiscard]] auto Format() const; + auto Format(winrt::Windows::Devices::PointOfService::LineDisplayMarqueeFormat const& value) const; + [[nodiscard]] auto RepeatWaitInterval() const; + auto RepeatWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto ScrollWaitInterval() const; + auto ScrollWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + auto TryStartScrollingAsync(winrt::Windows::Devices::PointOfService::LineDisplayScrollDirection const& direction) const; + auto TryStopScrollingAsync() const; }; template <> struct consume { @@ -3380,10 +3377,10 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ILineDisplayStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDefaultAsync() const; + auto GetDeviceSelector() const; + auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; }; template <> struct consume { @@ -3392,7 +3389,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ILineDisplayStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayStatisticsCategorySelector) StatisticsCategorySelector() const; + [[nodiscard]] auto StatisticsCategorySelector() const; }; template <> struct consume { @@ -3401,9 +3398,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ILineDisplayStatisticsCategorySelector { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AllStatistics() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UnifiedPosStatistics() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ManufacturerStatistics() const; + [[nodiscard]] auto AllStatistics() const; + [[nodiscard]] auto UnifiedPosStatistics() const; + [[nodiscard]] auto ManufacturerStatistics() const; }; template <> struct consume { @@ -3412,7 +3409,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ILineDisplayStatusUpdatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayPowerStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -3421,8 +3418,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ILineDisplayStoredBitmap { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EscapeSequence() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryDeleteAsync() const; + [[nodiscard]] auto EscapeSequence() const; + auto TryDeleteAsync() const; }; template <> struct consume { @@ -3431,15 +3428,15 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ILineDisplayWindow { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) SizeInCharacters() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) InterCharacterWaitInterval() const; - WINRT_IMPL_AUTO(void) InterCharacterWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryRefreshAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryDisplayTextAsync(param::hstring const& text, winrt::Windows::Devices::PointOfService::LineDisplayTextAttribute const& displayAttribute) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryDisplayTextAsync(param::hstring const& text, winrt::Windows::Devices::PointOfService::LineDisplayTextAttribute const& displayAttribute, winrt::Windows::Foundation::Point const& startPosition) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryDisplayTextAsync(param::hstring const& text) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryScrollTextAsync(winrt::Windows::Devices::PointOfService::LineDisplayScrollDirection const& direction, uint32_t numberOfColumnsOrRows) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryClearTextAsync() const; + [[nodiscard]] auto SizeInCharacters() const; + [[nodiscard]] auto InterCharacterWaitInterval() const; + auto InterCharacterWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + auto TryRefreshAsync() const; + auto TryDisplayTextAsync(param::hstring const& text, winrt::Windows::Devices::PointOfService::LineDisplayTextAttribute const& displayAttribute) const; + auto TryDisplayTextAsync(param::hstring const& text, winrt::Windows::Devices::PointOfService::LineDisplayTextAttribute const& displayAttribute, winrt::Windows::Foundation::Point const& startPosition) const; + auto TryDisplayTextAsync(param::hstring const& text) const; + auto TryScrollTextAsync(winrt::Windows::Devices::PointOfService::LineDisplayScrollDirection const& direction, uint32_t numberOfColumnsOrRows) const; + auto TryClearTextAsync() const; }; template <> struct consume { @@ -3448,15 +3445,15 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ILineDisplayWindow2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCursor) Cursor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayMarquee) Marquee() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadCharacterAtCursorAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryDisplayStoredBitmapAtCursorAsync(winrt::Windows::Devices::PointOfService::LineDisplayStoredBitmap const& bitmap) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment, int32_t widthInPixels) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryDisplayStorageFileBitmapAtPointAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Foundation::Point const& offsetInPixels) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryDisplayStorageFileBitmapAtPointAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Foundation::Point const& offsetInPixels, int32_t widthInPixels) const; + [[nodiscard]] auto Cursor() const; + [[nodiscard]] auto Marquee() const; + auto ReadCharacterAtCursorAsync() const; + auto TryDisplayStoredBitmapAtCursorAsync(winrt::Windows::Devices::PointOfService::LineDisplayStoredBitmap const& bitmap) const; + auto TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap) const; + auto TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment) const; + auto TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment, int32_t widthInPixels) const; + auto TryDisplayStorageFileBitmapAtPointAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Foundation::Point const& offsetInPixels) const; + auto TryDisplayStorageFileBitmapAtPointAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Foundation::Point const& offsetInPixels, int32_t widthInPixels) const; }; template <> struct consume { @@ -3465,18 +3462,18 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IMagneticStripeReader { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderCapabilities) Capabilities() const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) SupportedCardTypes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderAuthenticationProtocol) DeviceAuthenticationProtocol() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ClaimReaderAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RetrieveStatisticsAsync(param::async_iterable const& statisticsCategories) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorReportingType) GetErrorReportingType() const; - WINRT_IMPL_AUTO(winrt::event_token) StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Capabilities() const; + [[nodiscard]] auto SupportedCardTypes() const; + [[nodiscard]] auto DeviceAuthenticationProtocol() const; + auto CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const; + auto ClaimReaderAsync() const; + auto RetrieveStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto GetErrorReportingType() const; + auto StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StatusUpdated_revoker = impl::event_revoker::remove_StatusUpdated>; - [[nodiscard]] StatusUpdated_revoker StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StatusUpdated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusUpdated(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3485,25 +3482,25 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport) Report() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LicenseNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExpirationDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Restrictions() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Class() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Endorsements() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BirthDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FirstName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Surname() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Suffix() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Gender() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HairColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EyeColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Height() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Weight() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Address() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) City() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PostalCode() const; + [[nodiscard]] auto Report() const; + [[nodiscard]] auto LicenseNumber() const; + [[nodiscard]] auto ExpirationDate() const; + [[nodiscard]] auto Restrictions() const; + [[nodiscard]] auto Class() const; + [[nodiscard]] auto Endorsements() const; + [[nodiscard]] auto BirthDate() const; + [[nodiscard]] auto FirstName() const; + [[nodiscard]] auto Surname() const; + [[nodiscard]] auto Suffix() const; + [[nodiscard]] auto Gender() const; + [[nodiscard]] auto HairColor() const; + [[nodiscard]] auto EyeColor() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto Weight() const; + [[nodiscard]] auto Address() const; + [[nodiscard]] auto City() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto PostalCode() const; }; template <> struct consume { @@ -3512,15 +3509,15 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport) Report() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AccountNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExpirationDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FirstName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MiddleInitial() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Surname() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Suffix() const; + [[nodiscard]] auto Report() const; + [[nodiscard]] auto AccountNumber() const; + [[nodiscard]] auto ExpirationDate() const; + [[nodiscard]] auto ServiceCode() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto FirstName() const; + [[nodiscard]] auto MiddleInitial() const; + [[nodiscard]] auto Surname() const; + [[nodiscard]] auto Suffix() const; }; template <> struct consume { @@ -3529,17 +3526,17 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CardAuthentication() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SupportedEncryptionAlgorithms() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderAuthenticationLevel) AuthenticationLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsIsoSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsJisOneSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsJisTwoSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType) PowerReportingType() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStatisticsReportingSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStatisticsUpdatingSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTrackDataMaskingSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTransmitSentinelsSupported() const; + [[nodiscard]] auto CardAuthentication() const; + [[nodiscard]] auto SupportedEncryptionAlgorithms() const; + [[nodiscard]] auto AuthenticationLevel() const; + [[nodiscard]] auto IsIsoSupported() const; + [[nodiscard]] auto IsJisOneSupported() const; + [[nodiscard]] auto IsJisTwoSupported() const; + [[nodiscard]] auto PowerReportingType() const; + [[nodiscard]] auto IsStatisticsReportingSupported() const; + [[nodiscard]] auto IsStatisticsUpdatingSupported() const; + [[nodiscard]] auto IsTrackDataMaskingSupported() const; + [[nodiscard]] auto IsTransmitSentinelsSupported() const; }; template <> struct consume { @@ -3548,10 +3545,10 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Unknown() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Bank() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Aamva() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExtendedBase() const; + [[nodiscard]] auto Unknown() const; + [[nodiscard]] auto Bank() const; + [[nodiscard]] auto Aamva() const; + [[nodiscard]] auto ExtendedBase() const; }; template <> struct consume { @@ -3560,9 +3557,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderEncryptionAlgorithmsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) None() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TripleDesDukpt() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExtendedBase() const; + [[nodiscard]] auto None() const; + [[nodiscard]] auto TripleDesDukpt() const; + [[nodiscard]] auto ExtendedBase() const; }; template <> struct consume { @@ -3571,12 +3568,12 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType) Track1Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType) Track2Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType) Track3Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType) Track4Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData) ErrorData() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport) PartialInputData() const; + [[nodiscard]] auto Track1Status() const; + [[nodiscard]] auto Track2Status() const; + [[nodiscard]] auto Track3Status() const; + [[nodiscard]] auto Track4Status() const; + [[nodiscard]] auto ErrorData() const; + [[nodiscard]] auto PartialInputData() const; }; template <> struct consume { @@ -3585,15 +3582,15 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CardType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackData) Track1() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackData) Track2() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackData) Track3() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackData) Track4() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) CardAuthenticationData() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CardAuthenticationDataLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) AdditionalSecurityInformation() const; + [[nodiscard]] auto CardType() const; + [[nodiscard]] auto Track1() const; + [[nodiscard]] auto Track2() const; + [[nodiscard]] auto Track3() const; + [[nodiscard]] auto Track4() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto CardAuthenticationData() const; + [[nodiscard]] auto CardAuthenticationDataLength() const; + [[nodiscard]] auto AdditionalSecurityInformation() const; }; template <> struct consume { @@ -3602,9 +3599,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; + auto GetDefaultAsync() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; }; template <> struct consume { @@ -3613,7 +3610,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics2 { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; + auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; }; template <> struct consume { @@ -3622,8 +3619,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatusUpdatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExtendedStatus() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedStatus() const; }; template <> struct consume { @@ -3632,9 +3629,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderTrackData { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Data() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) DiscretionaryData() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) EncryptedData() const; + [[nodiscard]] auto Data() const; + [[nodiscard]] auto DiscretionaryData() const; + [[nodiscard]] auto EncryptedData() const; }; template <> struct consume { @@ -3643,7 +3640,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport) Report() const; + [[nodiscard]] auto Report() const; }; template <> struct consume { @@ -3652,18 +3649,18 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IPosPrinter { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterCapabilities) Capabilities() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedCharacterSets() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedTypeFaces() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterStatus) Status() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ClaimPrinterAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetStatisticsAsync(param::async_iterable const& statisticsCategories) const; - WINRT_IMPL_AUTO(winrt::event_token) StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Capabilities() const; + [[nodiscard]] auto SupportedCharacterSets() const; + [[nodiscard]] auto SupportedTypeFaces() const; + [[nodiscard]] auto Status() const; + auto ClaimPrinterAsync() const; + auto CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const; + auto GetStatisticsAsync(param::async_iterable const& statisticsCategories) const; + auto StatusUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StatusUpdated_revoker = impl::event_revoker::remove_StatusUpdated>; - [[nodiscard]] StatusUpdated_revoker StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StatusUpdated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusUpdated(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3672,8 +3669,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IPosPrinter2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedBarcodeSymbologies() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterFontProperty) GetFontProperty(param::hstring const& typeface) const; + [[nodiscard]] auto SupportedBarcodeSymbologies() const; + auto GetFontProperty(param::hstring const& typeface) const; }; template <> struct consume { @@ -3682,16 +3679,16 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IPosPrinterCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType) PowerReportingType() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStatisticsReportingSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStatisticsUpdatingSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DefaultCharacterSet() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasCoverSensor() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanMapCharacterSet() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTransactionSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::ReceiptPrinterCapabilities) Receipt() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::SlipPrinterCapabilities) Slip() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::JournalPrinterCapabilities) Journal() const; + [[nodiscard]] auto PowerReportingType() const; + [[nodiscard]] auto IsStatisticsReportingSupported() const; + [[nodiscard]] auto IsStatisticsUpdatingSupported() const; + [[nodiscard]] auto DefaultCharacterSet() const; + [[nodiscard]] auto HasCoverSensor() const; + [[nodiscard]] auto CanMapCharacterSet() const; + [[nodiscard]] auto IsTransactionSupported() const; + [[nodiscard]] auto Receipt() const; + [[nodiscard]] auto Slip() const; + [[nodiscard]] auto Journal() const; }; template <> struct consume { @@ -3700,9 +3697,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IPosPrinterCharacterSetIdsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Utf16LE() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Ascii() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Ansi() const; + [[nodiscard]] auto Utf16LE() const; + [[nodiscard]] auto Ascii() const; + [[nodiscard]] auto Ansi() const; }; template <> struct consume { @@ -3711,9 +3708,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IPosPrinterFontProperty { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TypeFace() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsScalableToAnySize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) CharacterSizes() const; + [[nodiscard]] auto TypeFace() const; + [[nodiscard]] auto IsScalableToAnySize() const; + [[nodiscard]] auto CharacterSizes() const; }; template <> struct consume { @@ -3722,10 +3719,10 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IPosPrinterJob { - WINRT_IMPL_AUTO(void) Print(param::hstring const& data) const; - WINRT_IMPL_AUTO(void) PrintLine(param::hstring const& data) const; - WINRT_IMPL_AUTO(void) PrintLine() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ExecuteAsync() const; + auto Print(param::hstring const& data) const; + auto PrintLine(param::hstring const& data) const; + auto PrintLine() const; + auto ExecuteAsync() const; }; template <> struct consume { @@ -3734,32 +3731,32 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TypeFace() const; - WINRT_IMPL_AUTO(void) TypeFace(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CharacterHeight() const; - WINRT_IMPL_AUTO(void) CharacterHeight(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Bold() const; - WINRT_IMPL_AUTO(void) Bold(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Italic() const; - WINRT_IMPL_AUTO(void) Italic(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Underline() const; - WINRT_IMPL_AUTO(void) Underline(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ReverseVideo() const; - WINRT_IMPL_AUTO(void) ReverseVideo(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Strikethrough() const; - WINRT_IMPL_AUTO(void) Strikethrough(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Superscript() const; - WINRT_IMPL_AUTO(void) Superscript(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Subscript() const; - WINRT_IMPL_AUTO(void) Subscript(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DoubleWide() const; - WINRT_IMPL_AUTO(void) DoubleWide(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DoubleHigh() const; - WINRT_IMPL_AUTO(void) DoubleHigh(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterAlignment) Alignment() const; - WINRT_IMPL_AUTO(void) Alignment(winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CharacterSet() const; - WINRT_IMPL_AUTO(void) CharacterSet(uint32_t value) const; + [[nodiscard]] auto TypeFace() const; + auto TypeFace(param::hstring const& value) const; + [[nodiscard]] auto CharacterHeight() const; + auto CharacterHeight(uint32_t value) const; + [[nodiscard]] auto Bold() const; + auto Bold(bool value) const; + [[nodiscard]] auto Italic() const; + auto Italic(bool value) const; + [[nodiscard]] auto Underline() const; + auto Underline(bool value) const; + [[nodiscard]] auto ReverseVideo() const; + auto ReverseVideo(bool value) const; + [[nodiscard]] auto Strikethrough() const; + auto Strikethrough(bool value) const; + [[nodiscard]] auto Superscript() const; + auto Superscript(bool value) const; + [[nodiscard]] auto Subscript() const; + auto Subscript(bool value) const; + [[nodiscard]] auto DoubleWide() const; + auto DoubleWide(bool value) const; + [[nodiscard]] auto DoubleHigh() const; + auto DoubleHigh(bool value) const; + [[nodiscard]] auto Alignment() const; + auto Alignment(winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& value) const; + [[nodiscard]] auto CharacterSet() const; + auto CharacterSet(uint32_t value) const; }; template <> struct consume { @@ -3776,9 +3773,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IPosPrinterStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; + auto GetDefaultAsync() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; }; template <> struct consume { @@ -3787,7 +3784,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IPosPrinterStatics2 { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; + auto GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const; }; template <> struct consume { @@ -3796,8 +3793,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IPosPrinterStatus { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterStatusKind) StatusKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExtendedStatus() const; + [[nodiscard]] auto StatusKind() const; + [[nodiscard]] auto ExtendedStatus() const; }; template <> struct consume { @@ -3806,7 +3803,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IPosPrinterStatusUpdatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -3815,21 +3812,21 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IReceiptOrSlipJob { - WINRT_IMPL_AUTO(void) SetBarcodeRotation(winrt::Windows::Devices::PointOfService::PosPrinterRotation const& value) const; - WINRT_IMPL_AUTO(void) SetPrintRotation(winrt::Windows::Devices::PointOfService::PosPrinterRotation const& value, bool includeBitmaps) const; - WINRT_IMPL_AUTO(void) SetPrintArea(winrt::Windows::Foundation::Rect const& value) const; - WINRT_IMPL_AUTO(void) SetBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const; - WINRT_IMPL_AUTO(void) SetBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment, uint32_t width) const; - WINRT_IMPL_AUTO(void) SetCustomAlignedBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance) const; - WINRT_IMPL_AUTO(void) SetCustomAlignedBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance, uint32_t width) const; - WINRT_IMPL_AUTO(void) PrintSavedBitmap(uint32_t bitmapNumber) const; - WINRT_IMPL_AUTO(void) DrawRuledLine(param::hstring const& positionList, winrt::Windows::Devices::PointOfService::PosPrinterLineDirection const& lineDirection, uint32_t lineWidth, winrt::Windows::Devices::PointOfService::PosPrinterLineStyle const& lineStyle, uint32_t lineColor) const; - WINRT_IMPL_AUTO(void) PrintBarcode(param::hstring const& data, uint32_t symbology, uint32_t height, uint32_t width, winrt::Windows::Devices::PointOfService::PosPrinterBarcodeTextPosition const& textPosition, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const; - WINRT_IMPL_AUTO(void) PrintBarcodeCustomAlign(param::hstring const& data, uint32_t symbology, uint32_t height, uint32_t width, winrt::Windows::Devices::PointOfService::PosPrinterBarcodeTextPosition const& textPosition, uint32_t alignmentDistance) const; - WINRT_IMPL_AUTO(void) PrintBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const; - WINRT_IMPL_AUTO(void) PrintBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment, uint32_t width) const; - WINRT_IMPL_AUTO(void) PrintCustomAlignedBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance) const; - WINRT_IMPL_AUTO(void) PrintCustomAlignedBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance, uint32_t width) const; + auto SetBarcodeRotation(winrt::Windows::Devices::PointOfService::PosPrinterRotation const& value) const; + auto SetPrintRotation(winrt::Windows::Devices::PointOfService::PosPrinterRotation const& value, bool includeBitmaps) const; + auto SetPrintArea(winrt::Windows::Foundation::Rect const& value) const; + auto SetBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const; + auto SetBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment, uint32_t width) const; + auto SetCustomAlignedBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance) const; + auto SetCustomAlignedBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance, uint32_t width) const; + auto PrintSavedBitmap(uint32_t bitmapNumber) const; + auto DrawRuledLine(param::hstring const& positionList, winrt::Windows::Devices::PointOfService::PosPrinterLineDirection const& lineDirection, uint32_t lineWidth, winrt::Windows::Devices::PointOfService::PosPrinterLineStyle const& lineStyle, uint32_t lineColor) const; + auto PrintBarcode(param::hstring const& data, uint32_t symbology, uint32_t height, uint32_t width, winrt::Windows::Devices::PointOfService::PosPrinterBarcodeTextPosition const& textPosition, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const; + auto PrintBarcodeCustomAlign(param::hstring const& data, uint32_t symbology, uint32_t height, uint32_t width, winrt::Windows::Devices::PointOfService::PosPrinterBarcodeTextPosition const& textPosition, uint32_t alignmentDistance) const; + auto PrintBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const; + auto PrintBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment, uint32_t width) const; + auto PrintCustomAlignedBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance) const; + auto PrintCustomAlignedBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance, uint32_t width) const; }; template <> struct consume { @@ -3838,9 +3835,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IReceiptPrintJob { - WINRT_IMPL_AUTO(void) MarkFeed(winrt::Windows::Devices::PointOfService::PosPrinterMarkFeedKind const& kind) const; - WINRT_IMPL_AUTO(void) CutPaper(double percentage) const; - WINRT_IMPL_AUTO(void) CutPaper() const; + auto MarkFeed(winrt::Windows::Devices::PointOfService::PosPrinterMarkFeedKind const& kind) const; + auto CutPaper(double percentage) const; + auto CutPaper() const; }; template <> struct consume { @@ -3849,10 +3846,10 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IReceiptPrintJob2 { - WINRT_IMPL_AUTO(void) StampPaper() const; - WINRT_IMPL_AUTO(void) Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const; - WINRT_IMPL_AUTO(void) FeedPaperByLine(int32_t lineCount) const; - WINRT_IMPL_AUTO(void) FeedPaperByMapModeUnit(int32_t distance) const; + auto StampPaper() const; + auto Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const; + auto FeedPaperByLine(int32_t lineCount) const; + auto FeedPaperByMapModeUnit(int32_t distance) const; }; template <> struct consume { @@ -3861,9 +3858,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanCutPaper() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStampSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterMarkFeedCapabilities) MarkFeedCapabilities() const; + [[nodiscard]] auto CanCutPaper() const; + [[nodiscard]] auto IsStampSupported() const; + [[nodiscard]] auto MarkFeedCapabilities() const; }; template <> struct consume { @@ -3872,12 +3869,12 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReverseVideoSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStrikethroughSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSuperscriptSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSubscriptSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReversePaperFeedByLineSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReversePaperFeedByMapModeUnitSupported() const; + [[nodiscard]] auto IsReverseVideoSupported() const; + [[nodiscard]] auto IsStrikethroughSupported() const; + [[nodiscard]] auto IsSuperscriptSupported() const; + [[nodiscard]] auto IsSubscriptSupported() const; + [[nodiscard]] auto IsReversePaperFeedByLineSupported() const; + [[nodiscard]] auto IsReversePaperFeedByMapModeUnitSupported() const; }; template <> struct consume { @@ -3886,9 +3883,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ISlipPrintJob { - WINRT_IMPL_AUTO(void) Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const; - WINRT_IMPL_AUTO(void) FeedPaperByLine(int32_t lineCount) const; - WINRT_IMPL_AUTO(void) FeedPaperByMapModeUnit(int32_t distance) const; + auto Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const; + auto FeedPaperByLine(int32_t lineCount) const; + auto FeedPaperByMapModeUnit(int32_t distance) const; }; template <> struct consume { @@ -3897,8 +3894,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFullLengthSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBothSidesPrintingSupported() const; + [[nodiscard]] auto IsFullLengthSupported() const; + [[nodiscard]] auto IsBothSidesPrintingSupported() const; }; template <> struct consume { @@ -3907,12 +3904,12 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReverseVideoSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStrikethroughSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSuperscriptSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSubscriptSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReversePaperFeedByLineSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReversePaperFeedByMapModeUnitSupported() const; + [[nodiscard]] auto IsReverseVideoSupported() const; + [[nodiscard]] auto IsStrikethroughSupported() const; + [[nodiscard]] auto IsSuperscriptSupported() const; + [[nodiscard]] auto IsSubscriptSupported() const; + [[nodiscard]] auto IsReversePaperFeedByLineSupported() const; + [[nodiscard]] auto IsReversePaperFeedByMapModeUnitSupported() const; }; template <> struct consume { @@ -3921,10 +3918,10 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IUnifiedPosErrorData { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosErrorSeverity) Severity() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosErrorReason) Reason() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExtendedReason() const; + [[nodiscard]] auto Message() const; + [[nodiscard]] auto Severity() const; + [[nodiscard]] auto Reason() const; + [[nodiscard]] auto ExtendedReason() const; }; template <> struct consume { @@ -3933,7 +3930,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_IUnifiedPosErrorDataFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData) CreateInstance(param::hstring const& message, winrt::Windows::Devices::PointOfService::UnifiedPosErrorSeverity const& severity, winrt::Windows::Devices::PointOfService::UnifiedPosErrorReason const& reason, uint32_t extendedReason) const; + auto CreateInstance(param::hstring const& message, winrt::Windows::Devices::PointOfService::UnifiedPosErrorSeverity const& severity, winrt::Windows::Devices::PointOfService::UnifiedPosErrorReason const& reason, uint32_t extendedReason) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.1.h index e72905ad..225e206a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_PointOfService_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.2.h index 034b25ce..e651382b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_PointOfService_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.0.h index ba5f2b08..d418a97f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_PointOfService_Provider_0_H @@ -14,14 +14,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct Deferral; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging { enum class BitmapPixelFormat : int32_t; @@ -548,8 +542,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -558,8 +552,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(int32_t reason) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; + auto ReportFailedAsync(int32_t reason) const; + auto ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; }; template <> struct consume { @@ -568,8 +562,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerDisableScannerRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -578,8 +572,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -588,8 +582,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(int32_t reason) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; + auto ReportFailedAsync(int32_t reason) const; + auto ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; }; template <> struct consume { @@ -598,8 +592,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerEnableScannerRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -608,14 +602,14 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StopAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryAcquireLatestFrameAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection) Connection() const; - WINRT_IMPL_AUTO(winrt::event_token) FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StartAsync() const; + auto StopAsync() const; + auto TryAcquireLatestFrameAsync() const; + [[nodiscard]] auto Connection() const; + auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FrameArrived_revoker = impl::event_revoker::remove_FrameArrived>; - [[nodiscard]] FrameArrived_revoker FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FrameArrived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -624,7 +618,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReaderFrameArrivedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -633,9 +627,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Symbology() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync(winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes const& attributes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto Symbology() const; + auto ReportCompletedAsync(winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes const& attributes) const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -644,8 +638,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(int32_t reason) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; + auto ReportFailedAsync(int32_t reason) const; + auto ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; }; template <> struct consume { @@ -654,8 +648,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerGetSymbologyAttributesRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -664,8 +658,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -674,8 +668,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(int32_t reason) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; + auto ReportFailedAsync(int32_t reason) const; + auto ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; }; template <> struct consume { @@ -684,8 +678,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerHideVideoPreviewRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -694,52 +688,52 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoDeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SupportedSymbologies() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CompanyName() const; - WINRT_IMPL_AUTO(void) CompanyName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Version() const; - WINRT_IMPL_AUTO(void) Version(param::hstring const& value) const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportScannedDataAsync(winrt::Windows::Devices::PointOfService::BarcodeScannerReport const& report) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportTriggerStateAsync(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerTriggerState const& state) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportErrorAsync(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData const& errorData) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportErrorAsync(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData const& errorData, bool isRetriable, winrt::Windows::Devices::PointOfService::BarcodeScannerReport const& scanReport) const; - WINRT_IMPL_AUTO(winrt::event_token) EnableScannerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto VideoDeviceId() const; + [[nodiscard]] auto SupportedSymbologies() const; + [[nodiscard]] auto CompanyName() const; + auto CompanyName(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Version() const; + auto Version(param::hstring const& value) const; + auto Start() const; + auto ReportScannedDataAsync(winrt::Windows::Devices::PointOfService::BarcodeScannerReport const& report) const; + auto ReportTriggerStateAsync(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerTriggerState const& state) const; + auto ReportErrorAsync(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData const& errorData) const; + auto ReportErrorAsync(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData const& errorData, bool isRetriable, winrt::Windows::Devices::PointOfService::BarcodeScannerReport const& scanReport) const; + auto EnableScannerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnableScannerRequested_revoker = impl::event_revoker::remove_EnableScannerRequested>; - [[nodiscard]] EnableScannerRequested_revoker EnableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnableScannerRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DisableScannerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EnableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnableScannerRequested(winrt::event_token const& token) const noexcept; + auto DisableScannerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DisableScannerRequested_revoker = impl::event_revoker::remove_DisableScannerRequested>; - [[nodiscard]] DisableScannerRequested_revoker DisableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DisableScannerRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SetActiveSymbologiesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DisableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DisableScannerRequested(winrt::event_token const& token) const noexcept; + auto SetActiveSymbologiesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SetActiveSymbologiesRequested_revoker = impl::event_revoker::remove_SetActiveSymbologiesRequested>; - [[nodiscard]] SetActiveSymbologiesRequested_revoker SetActiveSymbologiesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SetActiveSymbologiesRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) StartSoftwareTriggerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SetActiveSymbologiesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SetActiveSymbologiesRequested(winrt::event_token const& token) const noexcept; + auto StartSoftwareTriggerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StartSoftwareTriggerRequested_revoker = impl::event_revoker::remove_StartSoftwareTriggerRequested>; - [[nodiscard]] StartSoftwareTriggerRequested_revoker StartSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StartSoftwareTriggerRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) StopSoftwareTriggerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto StartSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StartSoftwareTriggerRequested(winrt::event_token const& token) const noexcept; + auto StopSoftwareTriggerRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StopSoftwareTriggerRequested_revoker = impl::event_revoker::remove_StopSoftwareTriggerRequested>; - [[nodiscard]] StopSoftwareTriggerRequested_revoker StopSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StopSoftwareTriggerRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) GetBarcodeSymbologyAttributesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto StopSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StopSoftwareTriggerRequested(winrt::event_token const& token) const noexcept; + auto GetBarcodeSymbologyAttributesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using GetBarcodeSymbologyAttributesRequested_revoker = impl::event_revoker::remove_GetBarcodeSymbologyAttributesRequested>; - [[nodiscard]] GetBarcodeSymbologyAttributesRequested_revoker GetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GetBarcodeSymbologyAttributesRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SetBarcodeSymbologyAttributesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto GetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetBarcodeSymbologyAttributesRequested(winrt::event_token const& token) const noexcept; + auto SetBarcodeSymbologyAttributesRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SetBarcodeSymbologyAttributesRequested_revoker = impl::event_revoker::remove_SetBarcodeSymbologyAttributesRequested>; - [[nodiscard]] SetBarcodeSymbologyAttributesRequested_revoker SetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SetBarcodeSymbologyAttributesRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) HideVideoPreviewRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SetBarcodeSymbologyAttributesRequested(winrt::event_token const& token) const noexcept; + auto HideVideoPreviewRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using HideVideoPreviewRequested_revoker = impl::event_revoker::remove_HideVideoPreviewRequested>; - [[nodiscard]] HideVideoPreviewRequested_revoker HideVideoPreviewRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) HideVideoPreviewRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto HideVideoPreviewRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto HideVideoPreviewRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -748,9 +742,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFrameReaderAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFrameReaderAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& preferredFormat) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFrameReaderAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& preferredFormat, winrt::Windows::Graphics::Imaging::BitmapSize const& preferredSize) const; + auto CreateFrameReaderAsync() const; + auto CreateFrameReaderAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& preferredFormat) const; + auto CreateFrameReaderAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& preferredFormat, winrt::Windows::Graphics::Imaging::BitmapSize const& preferredSize) const; }; template <> struct consume { @@ -759,7 +753,7 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection) Connection() const; + [[nodiscard]] auto Connection() const; }; template <> struct consume { @@ -768,9 +762,9 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Symbologies() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto Symbologies() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -779,8 +773,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(int32_t reason) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; + auto ReportFailedAsync(int32_t reason) const; + auto ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; }; template <> struct consume { @@ -789,8 +783,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetActiveSymbologiesRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -799,10 +793,10 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Symbology() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes) Attributes() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + [[nodiscard]] auto Symbology() const; + [[nodiscard]] auto Attributes() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -811,8 +805,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(int32_t reason) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; + auto ReportFailedAsync(int32_t reason) const; + auto ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; }; template <> struct consume { @@ -821,8 +815,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetSymbologyAttributesRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -831,8 +825,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -841,8 +835,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(int32_t reason) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; + auto ReportFailedAsync(int32_t reason) const; + auto ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; }; template <> struct consume { @@ -851,8 +845,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStartSoftwareTriggerRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -861,8 +855,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync() const; + auto ReportCompletedAsync() const; + auto ReportFailedAsync() const; }; template <> struct consume { @@ -871,8 +865,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(int32_t reason) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; + auto ReportFailedAsync(int32_t reason) const; + auto ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const; }; template <> struct consume { @@ -881,8 +875,8 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequestEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStopSoftwareTriggerRequest) Request() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + auto GetDeferral() const; }; template <> struct consume { @@ -891,10 +885,10 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) Format() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Width() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Height() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) PixelData() const; + [[nodiscard]] auto Format() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto PixelData() const; }; template <> struct consume { @@ -903,13 +897,13 @@ namespace winrt::impl template struct consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCheckDigitValidationSupported() const; - WINRT_IMPL_AUTO(void) IsCheckDigitValidationSupported(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCheckDigitTransmissionSupported() const; - WINRT_IMPL_AUTO(void) IsCheckDigitTransmissionSupported(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDecodeLengthSupported() const; - WINRT_IMPL_AUTO(void) IsDecodeLengthSupported(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes) CreateAttributes() const; + [[nodiscard]] auto IsCheckDigitValidationSupported() const; + auto IsCheckDigitValidationSupported(bool value) const; + [[nodiscard]] auto IsCheckDigitTransmissionSupported() const; + auto IsCheckDigitTransmissionSupported(bool value) const; + [[nodiscard]] auto IsDecodeLengthSupported() const; + auto IsDecodeLengthSupported(bool value) const; + auto CreateAttributes() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.1.h index 0c52b8c3..f243c198 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_PointOfService_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.2.h index 875215b9..afb40908 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_PointOfService_Provider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.0.h index f47351b3..a51a997b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Portable_0_H @@ -57,8 +57,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Portable_IServiceDeviceStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::Windows::Devices::Portable::ServiceDeviceType const& serviceType) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorFromServiceId(winrt::guid const& serviceId) const; + auto GetDeviceSelector(winrt::Windows::Devices::Portable::ServiceDeviceType const& serviceType) const; + auto GetDeviceSelectorFromServiceId(winrt::guid const& serviceId) const; }; template <> struct consume { @@ -67,8 +67,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Portable_IStorageDeviceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) FromId(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; + auto FromId(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.1.h index 5eaf1b57..bcd3fbe0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Portable_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.2.h index 8859a72b..6613f877 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Portable_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.0.h index ad31ee1f..2876fd4f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Power_0_H @@ -6,8 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::System::Power @@ -72,12 +70,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Power_IBattery { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Power::BatteryReport) GetReport() const; - WINRT_IMPL_AUTO(winrt::event_token) ReportUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + auto GetReport() const; + auto ReportUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReportUpdated_revoker = impl::event_revoker::remove_ReportUpdated>; - [[nodiscard]] ReportUpdated_revoker ReportUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReportUpdated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ReportUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReportUpdated(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -86,11 +84,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Power_IBatteryReport { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChargeRateInMilliwatts() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DesignCapacityInMilliwattHours() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) FullChargeCapacityInMilliwattHours() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) RemainingCapacityInMilliwattHours() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Power::BatteryStatus) Status() const; + [[nodiscard]] auto ChargeRateInMilliwatts() const; + [[nodiscard]] auto DesignCapacityInMilliwattHours() const; + [[nodiscard]] auto FullChargeCapacityInMilliwattHours() const; + [[nodiscard]] auto RemainingCapacityInMilliwattHours() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -99,9 +97,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Power_IBatteryStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Power::Battery) AggregateBattery() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; + [[nodiscard]] auto AggregateBattery() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.1.h index eca1cd52..977095cf 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Power_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.2.h index 54b2d9e4..9c7fc064 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Power_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.0.h index 7f02e5ad..51834f6b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.0.h @@ -1,12 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Printers_0_H #define WINRT_Windows_Devices_Printers_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IRandomAccessStreamWithContentType; @@ -63,7 +59,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Printers_IPrint3DDevice { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::PrintSchema) PrintSchema() const; + [[nodiscard]] auto PrintSchema() const; }; template <> struct consume { @@ -72,8 +68,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Printers_IPrint3DDeviceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; }; template <> struct consume { @@ -82,9 +78,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Printers_IPrintSchema { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultPrintTicketAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCapabilitiesAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& constrainTicket) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) MergeAndValidateWithDefaultPrintTicketAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& deltaTicket) const; + auto GetDefaultPrintTicketAsync() const; + auto GetCapabilitiesAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& constrainTicket) const; + auto MergeAndValidateWithDefaultPrintTicketAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& deltaTicket) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.1.h index 69dc643c..830b13cd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Printers_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.2.h index 52c21c4e..8b814bf9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Printers_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.0.h index 5b819513..ef9732bb 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Printers_Extensions_0_H @@ -199,14 +199,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceID() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetPrintModelPackage() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPrintReady() const; - WINRT_IMPL_AUTO(void) IsPrintReady(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) PrintRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto DeviceID() const; + auto GetPrintModelPackage() const; + [[nodiscard]] auto IsPrintReady() const; + auto IsPrintReady(bool value) const; + auto PrintRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using PrintRequested_revoker = impl::event_revoker::remove_PrintRequested>; - [[nodiscard]] PrintRequested_revoker PrintRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) PrintRequested(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto PrintRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto PrintRequested(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -215,10 +215,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2 { - WINRT_IMPL_AUTO(winrt::event_token) PrinterChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto PrinterChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using PrinterChanged_revoker = impl::event_revoker::remove_PrinterChanged>; - [[nodiscard]] PrinterChanged_revoker PrinterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) PrinterChanged(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto PrinterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto PrinterChanged(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -227,10 +227,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowStatus) Status() const; - WINRT_IMPL_AUTO(void) SetExtendedStatus(winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowDetail const& value) const; - WINRT_IMPL_AUTO(void) SetSource(winrt::Windows::Foundation::IInspectable const& source) const; - WINRT_IMPL_AUTO(void) SetSourceChanged(bool value) const; + [[nodiscard]] auto Status() const; + auto SetExtendedStatus(winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowDetail const& value) const; + auto SetSource(winrt::Windows::Foundation::IInspectable const& source) const; + auto SetSourceChanged(bool value) const; }; template <> struct consume { @@ -239,7 +239,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrinterChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NewDeviceId() const; + [[nodiscard]] auto NewDeviceId() const; }; template <> struct consume { @@ -248,7 +248,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Printers_Extensions_IPrintExtensionContextStatic { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) FromDeviceId(param::hstring const& deviceId) const; + auto FromDeviceId(param::hstring const& deviceId) const; }; template <> struct consume { @@ -257,9 +257,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Printers_Extensions_IPrintNotificationEventDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PrinterName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EventData() const; - WINRT_IMPL_AUTO(void) EventData(param::hstring const& value) const; + [[nodiscard]] auto PrinterName() const; + [[nodiscard]] auto EventData() const; + auto EventData(param::hstring const& value) const; }; template <> struct consume { @@ -268,11 +268,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) PrinterExtensionContext() const; - WINRT_IMPL_AUTO(winrt::event_token) SaveRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto PrinterExtensionContext() const; + auto SaveRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using SaveRequested_revoker = impl::event_revoker::remove_SaveRequested>; - [[nodiscard]] SaveRequested_revoker SaveRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) SaveRequested(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto SaveRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto SaveRequested(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -281,10 +281,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest { - WINRT_IMPL_AUTO(void) Cancel() const; - WINRT_IMPL_AUTO(void) Save(winrt::Windows::Foundation::IInspectable const& printerExtensionContext) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::Extensions::PrintTaskConfigurationSaveRequestedDeferral) GetDeferral() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Deadline() const; + auto Cancel() const; + auto Save(winrt::Windows::Foundation::IInspectable const& printerExtensionContext) const; + auto GetDeferral() const; + [[nodiscard]] auto Deadline() const; }; template <> struct consume { @@ -293,7 +293,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequestedDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -302,7 +302,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::Extensions::PrintTaskConfigurationSaveRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.1.h index db758bda..3822f499 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Printers_Extensions_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.2.h index e8c715cd..2452f585 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Printers_Extensions_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.0.h index 582688b4..e8cf53f7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Pwm_0_H @@ -7,14 +7,6 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Pwm::Provider { struct IPwmProvider; } -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Devices::Pwm { enum class PwmPulsePolarity : int32_t @@ -107,12 +99,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Pwm_IPwmController { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PinCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ActualFrequency() const; - WINRT_IMPL_AUTO(double) SetDesiredFrequency(double desiredFrequency) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinFrequency() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxFrequency() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Pwm::PwmPin) OpenPin(int32_t pinNumber) const; + [[nodiscard]] auto PinCount() const; + [[nodiscard]] auto ActualFrequency() const; + auto SetDesiredFrequency(double desiredFrequency) const; + [[nodiscard]] auto MinFrequency() const; + [[nodiscard]] auto MaxFrequency() const; + auto OpenPin(int32_t pinNumber) const; }; template <> struct consume { @@ -121,7 +113,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Pwm_IPwmControllerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetControllersAsync(winrt::Windows::Devices::Pwm::Provider::IPwmProvider const& provider) const; + auto GetControllersAsync(winrt::Windows::Devices::Pwm::Provider::IPwmProvider const& provider) const; }; template <> struct consume { @@ -130,7 +122,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Pwm_IPwmControllerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; + auto GetDefaultAsync() const; }; template <> struct consume { @@ -139,9 +131,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Pwm_IPwmControllerStatics3 { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(param::hstring const& friendlyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + auto GetDeviceSelector(param::hstring const& friendlyName) const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { @@ -150,14 +142,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Pwm_IPwmPin { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Pwm::PwmController) Controller() const; - WINRT_IMPL_AUTO(double) GetActiveDutyCyclePercentage() const; - WINRT_IMPL_AUTO(void) SetActiveDutyCyclePercentage(double dutyCyclePercentage) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Pwm::PwmPulsePolarity) Polarity() const; - WINRT_IMPL_AUTO(void) Polarity(winrt::Windows::Devices::Pwm::PwmPulsePolarity const& value) const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStarted() const; + [[nodiscard]] auto Controller() const; + auto GetActiveDutyCyclePercentage() const; + auto SetActiveDutyCyclePercentage(double dutyCyclePercentage) const; + [[nodiscard]] auto Polarity() const; + auto Polarity(winrt::Windows::Devices::Pwm::PwmPulsePolarity const& value) const; + auto Start() const; + auto Stop() const; + [[nodiscard]] auto IsStarted() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.1.h index 3c16d03c..b95530f5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Pwm_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.2.h index 883b01aa..bdd4466e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Pwm_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.0.h index 7c437174..df2dc84c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.0.h @@ -1,12 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Pwm_Provider_0_H #define WINRT_Windows_Devices_Pwm_Provider_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Devices::Pwm::Provider { struct IPwmControllerProvider; @@ -46,16 +42,16 @@ namespace winrt::impl template struct consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PinCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ActualFrequency() const; - WINRT_IMPL_AUTO(double) SetDesiredFrequency(double frequency) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxFrequency() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinFrequency() const; - WINRT_IMPL_AUTO(void) AcquirePin(int32_t pin) const; - WINRT_IMPL_AUTO(void) ReleasePin(int32_t pin) const; - WINRT_IMPL_AUTO(void) EnablePin(int32_t pin) const; - WINRT_IMPL_AUTO(void) DisablePin(int32_t pin) const; - WINRT_IMPL_AUTO(void) SetPulseParameters(int32_t pin, double dutyCycle, bool invertPolarity) const; + [[nodiscard]] auto PinCount() const; + [[nodiscard]] auto ActualFrequency() const; + auto SetDesiredFrequency(double frequency) const; + [[nodiscard]] auto MaxFrequency() const; + [[nodiscard]] auto MinFrequency() const; + auto AcquirePin(int32_t pin) const; + auto ReleasePin(int32_t pin) const; + auto EnablePin(int32_t pin) const; + auto DisablePin(int32_t pin) const; + auto SetPulseParameters(int32_t pin, double dutyCycle, bool invertPolarity) const; }; template <> struct consume { @@ -64,7 +60,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Pwm_Provider_IPwmProvider { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetControllers() const; + auto GetControllers() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.1.h index df452357..eaa1a9df 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Pwm_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.2.h index 2cdb5d6f..7d110663 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Pwm_Provider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.0.h index 0254f723..d2b4d870 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Radios_0_H @@ -6,13 +6,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Devices::Radios { enum class RadioAccessStatus : int32_t @@ -83,14 +78,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Radios_IRadio { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetStateAsync(winrt::Windows::Devices::Radios::RadioState const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SetStateAsync(winrt::Windows::Devices::Radios::RadioState const& value) const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; - [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StateChanged(winrt::event_token const& eventCookie) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Radios::RadioState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Radios::RadioKind) Kind() const; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto State() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Kind() const; }; template <> struct consume { @@ -99,10 +94,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Radios_IRadioStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetRadiosAsync() const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; + auto GetRadiosAsync() const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto RequestAccessAsync() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.1.h index 1c5636b4..22a90825 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Radios_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.2.h index 9d9621c9..91d9cc72 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Radios_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.0.h index 5579e13c..26e304d8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.0.h @@ -1,19 +1,13 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Scanners_0_H #define WINRT_Windows_Devices_Scanners_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperationWithProgress; - template struct __declspec(empty_bases) IAsyncOperation; struct Rect; struct Size; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Graphics::Printing { enum class PrintMediaSize : int32_t; @@ -21,7 +15,6 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Printing } WINRT_EXPORT namespace winrt::Windows::Storage { - struct StorageFile; struct StorageFolder; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams @@ -235,15 +228,15 @@ namespace winrt::impl template struct consume_Windows_Devices_Scanners_IImageScanner { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerScanSource) DefaultScanSource() const; - WINRT_IMPL_AUTO(bool) IsScanSourceSupported(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerFlatbedConfiguration) FlatbedConfiguration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerFeederConfiguration) FeederConfiguration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerAutoConfiguration) AutoConfiguration() const; - WINRT_IMPL_AUTO(bool) IsPreviewSupported(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ScanPreviewToStreamAsync(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource, winrt::Windows::Storage::Streams::IRandomAccessStream const& targetStream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) ScanFilesToFolderAsync(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource, winrt::Windows::Storage::StorageFolder const& storageFolder) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto DefaultScanSource() const; + auto IsScanSourceSupported(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& value) const; + [[nodiscard]] auto FlatbedConfiguration() const; + [[nodiscard]] auto FeederConfiguration() const; + [[nodiscard]] auto AutoConfiguration() const; + auto IsPreviewSupported(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource) const; + auto ScanPreviewToStreamAsync(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource, winrt::Windows::Storage::Streams::IRandomAccessStream const& targetStream) const; + auto ScanFilesToFolderAsync(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource, winrt::Windows::Storage::StorageFolder const& storageFolder) const; }; template <> struct consume { @@ -252,23 +245,23 @@ namespace winrt::impl template struct consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanAutoDetectPageSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoDetectPageSize() const; - WINRT_IMPL_AUTO(void) AutoDetectPageSize(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintMediaSize) PageSize() const; - WINRT_IMPL_AUTO(void) PageSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintOrientation) PageOrientation() const; - WINRT_IMPL_AUTO(void) PageOrientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) PageSizeDimensions() const; - WINRT_IMPL_AUTO(bool) IsPageSizeSupported(winrt::Windows::Graphics::Printing::PrintMediaSize const& pageSize, winrt::Windows::Graphics::Printing::PrintOrientation const& pageOrientation) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxNumberOfPages() const; - WINRT_IMPL_AUTO(void) MaxNumberOfPages(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanScanDuplex() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Duplex() const; - WINRT_IMPL_AUTO(void) Duplex(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanScanAhead() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ScanAhead() const; - WINRT_IMPL_AUTO(void) ScanAhead(bool value) const; + [[nodiscard]] auto CanAutoDetectPageSize() const; + [[nodiscard]] auto AutoDetectPageSize() const; + auto AutoDetectPageSize(bool value) const; + [[nodiscard]] auto PageSize() const; + auto PageSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const; + [[nodiscard]] auto PageOrientation() const; + auto PageOrientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const; + [[nodiscard]] auto PageSizeDimensions() const; + auto IsPageSizeSupported(winrt::Windows::Graphics::Printing::PrintMediaSize const& pageSize, winrt::Windows::Graphics::Printing::PrintOrientation const& pageOrientation) const; + [[nodiscard]] auto MaxNumberOfPages() const; + auto MaxNumberOfPages(uint32_t value) const; + [[nodiscard]] auto CanScanDuplex() const; + [[nodiscard]] auto Duplex() const; + auto Duplex(bool value) const; + [[nodiscard]] auto CanScanAhead() const; + [[nodiscard]] auto ScanAhead() const; + auto ScanAhead(bool value) const; }; template <> struct consume { @@ -277,10 +270,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerFormat) DefaultFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerFormat) Format() const; - WINRT_IMPL_AUTO(void) Format(winrt::Windows::Devices::Scanners::ImageScannerFormat const& value) const; - WINRT_IMPL_AUTO(bool) IsFormatSupported(winrt::Windows::Devices::Scanners::ImageScannerFormat const& value) const; + [[nodiscard]] auto DefaultFormat() const; + [[nodiscard]] auto Format() const; + auto Format(winrt::Windows::Devices::Scanners::ImageScannerFormat const& value) const; + auto IsFormatSupported(winrt::Windows::Devices::Scanners::ImageScannerFormat const& value) const; }; template <> struct consume { @@ -289,8 +282,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Scanners_IImageScannerPreviewResult { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Succeeded() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerFormat) Format() const; + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto Format() const; }; template <> struct consume { @@ -299,7 +292,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Scanners_IImageScannerScanResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ScannedFiles() const; + [[nodiscard]] auto ScannedFiles() const; }; template <> struct consume { @@ -308,35 +301,35 @@ namespace winrt::impl template struct consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) MinScanArea() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) MaxScanArea() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) SelectedScanRegion() const; - WINRT_IMPL_AUTO(void) SelectedScanRegion(winrt::Windows::Foundation::Rect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode) AutoCroppingMode() const; - WINRT_IMPL_AUTO(void) AutoCroppingMode(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode const& value) const; - WINRT_IMPL_AUTO(bool) IsAutoCroppingModeSupported(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerResolution) MinResolution() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerResolution) MaxResolution() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerResolution) OpticalResolution() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerResolution) DesiredResolution() const; - WINRT_IMPL_AUTO(void) DesiredResolution(winrt::Windows::Devices::Scanners::ImageScannerResolution const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerResolution) ActualResolution() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerColorMode) DefaultColorMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerColorMode) ColorMode() const; - WINRT_IMPL_AUTO(void) ColorMode(winrt::Windows::Devices::Scanners::ImageScannerColorMode const& value) const; - WINRT_IMPL_AUTO(bool) IsColorModeSupported(winrt::Windows::Devices::Scanners::ImageScannerColorMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MinBrightness() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxBrightness() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) BrightnessStep() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DefaultBrightness() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Brightness() const; - WINRT_IMPL_AUTO(void) Brightness(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MinContrast() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxContrast() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ContrastStep() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DefaultContrast() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Contrast() const; - WINRT_IMPL_AUTO(void) Contrast(int32_t value) const; + [[nodiscard]] auto MinScanArea() const; + [[nodiscard]] auto MaxScanArea() const; + [[nodiscard]] auto SelectedScanRegion() const; + auto SelectedScanRegion(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto AutoCroppingMode() const; + auto AutoCroppingMode(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode const& value) const; + auto IsAutoCroppingModeSupported(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode const& value) const; + [[nodiscard]] auto MinResolution() const; + [[nodiscard]] auto MaxResolution() const; + [[nodiscard]] auto OpticalResolution() const; + [[nodiscard]] auto DesiredResolution() const; + auto DesiredResolution(winrt::Windows::Devices::Scanners::ImageScannerResolution const& value) const; + [[nodiscard]] auto ActualResolution() const; + [[nodiscard]] auto DefaultColorMode() const; + [[nodiscard]] auto ColorMode() const; + auto ColorMode(winrt::Windows::Devices::Scanners::ImageScannerColorMode const& value) const; + auto IsColorModeSupported(winrt::Windows::Devices::Scanners::ImageScannerColorMode const& value) const; + [[nodiscard]] auto MinBrightness() const; + [[nodiscard]] auto MaxBrightness() const; + [[nodiscard]] auto BrightnessStep() const; + [[nodiscard]] auto DefaultBrightness() const; + [[nodiscard]] auto Brightness() const; + auto Brightness(int32_t value) const; + [[nodiscard]] auto MinContrast() const; + [[nodiscard]] auto MaxContrast() const; + [[nodiscard]] auto ContrastStep() const; + [[nodiscard]] auto DefaultContrast() const; + [[nodiscard]] auto Contrast() const; + auto Contrast(int32_t value) const; }; template <> struct consume { @@ -345,8 +338,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Scanners_IImageScannerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.1.h index 121babed..dd4585e1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Scanners_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.2.h index cb7de48a..1b1a9e0f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Scanners_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.0.h index de133425..345c1b69 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Sensors_0_H @@ -6,17 +6,9 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; struct IClosable; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Graphics::Display { enum class DisplayOrientations : uint32_t; @@ -1999,18 +1991,18 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAccelerometer { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AccelerometerReading) GetCurrentReading() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinimumReportInterval() const; - WINRT_IMPL_AUTO(void) ReportInterval(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportInterval() const; - WINRT_IMPL_AUTO(winrt::event_token) ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentReading() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; - [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReadingChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Shaken(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + auto Shaken(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Shaken_revoker = impl::event_revoker::remove_Shaken>; - [[nodiscard]] Shaken_revoker Shaken(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Shaken(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Shaken(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Shaken(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2019,8 +2011,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAccelerometer2 { - WINRT_IMPL_AUTO(void) ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) ReadingTransform() const; + auto ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + [[nodiscard]] auto ReadingTransform() const; }; template <> struct consume { @@ -2029,9 +2021,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAccelerometer3 { - WINRT_IMPL_AUTO(void) ReportLatency(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportLatency() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxBatchSize() const; + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; }; template <> struct consume { @@ -2040,7 +2032,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAccelerometer4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AccelerometerReadingType) ReadingType() const; + [[nodiscard]] auto ReadingType() const; }; template <> struct consume { @@ -2049,7 +2041,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAccelerometer5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AccelerometerDataThreshold) ReportThreshold() const; + [[nodiscard]] auto ReportThreshold() const; }; template <> struct consume { @@ -2058,12 +2050,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAccelerometerDataThreshold { - [[nodiscard]] WINRT_IMPL_AUTO(double) XAxisInGForce() const; - WINRT_IMPL_AUTO(void) XAxisInGForce(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) YAxisInGForce() const; - WINRT_IMPL_AUTO(void) YAxisInGForce(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ZAxisInGForce() const; - WINRT_IMPL_AUTO(void) ZAxisInGForce(double value) const; + [[nodiscard]] auto XAxisInGForce() const; + auto XAxisInGForce(double value) const; + [[nodiscard]] auto YAxisInGForce() const; + auto YAxisInGForce(double value) const; + [[nodiscard]] auto ZAxisInGForce() const; + auto ZAxisInGForce(double value) const; }; template <> struct consume { @@ -2072,7 +2064,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAccelerometerDeviceId { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -2081,10 +2073,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAccelerometerReading { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) AccelerationX() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) AccelerationY() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) AccelerationZ() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto AccelerationX() const; + [[nodiscard]] auto AccelerationY() const; + [[nodiscard]] auto AccelerationZ() const; }; template <> struct consume { @@ -2093,8 +2085,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAccelerometerReading2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PerformanceCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -2103,7 +2095,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAccelerometerReadingChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AccelerometerReading) Reading() const; + [[nodiscard]] auto Reading() const; }; template <> struct consume { @@ -2112,7 +2104,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAccelerometerShakenEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; + [[nodiscard]] auto Timestamp() const; }; template <> struct consume { @@ -2121,7 +2113,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAccelerometerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Accelerometer) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -2130,7 +2122,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAccelerometerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Accelerometer) GetDefault(winrt::Windows::Devices::Sensors::AccelerometerReadingType const& readingType) const; + auto GetDefault(winrt::Windows::Devices::Sensors::AccelerometerReadingType const& readingType) const; }; template <> struct consume { @@ -2139,8 +2131,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAccelerometerStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::Windows::Devices::Sensors::AccelerometerReadingType const& readingType) const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector(winrt::Windows::Devices::Sensors::AccelerometerReadingType const& readingType) const; }; template <> struct consume { @@ -2149,16 +2141,16 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IActivitySensor { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCurrentReadingAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SubscribedActivities() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) PowerInMilliwatts() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedActivities() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinimumReportInterval() const; - WINRT_IMPL_AUTO(winrt::event_token) ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentReadingAsync() const; + [[nodiscard]] auto SubscribedActivities() const; + [[nodiscard]] auto PowerInMilliwatts() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto SupportedActivities() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; - [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReadingChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2167,9 +2159,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IActivitySensorReading { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ActivityType) Activity() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ActivitySensorReadingConfidence) Confidence() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Activity() const; + [[nodiscard]] auto Confidence() const; }; template <> struct consume { @@ -2178,7 +2170,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IActivitySensorReadingChangeReport { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ActivitySensorReading) Reading() const; + [[nodiscard]] auto Reading() const; }; template <> struct consume { @@ -2187,7 +2179,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IActivitySensorReadingChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ActivitySensorReading) Reading() const; + [[nodiscard]] auto Reading() const; }; template <> struct consume { @@ -2196,11 +2188,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IActivitySensorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime, winrt::Windows::Foundation::TimeSpan const& duration) const; + auto GetDefaultAsync() const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime) const; + auto GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime, winrt::Windows::Foundation::TimeSpan const& duration) const; }; template <> struct consume { @@ -2209,7 +2201,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IActivitySensorTriggerDetails { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ReadReports() const; + auto ReadReports() const; }; template <> struct consume { @@ -2218,15 +2210,15 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAltimeter { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AltimeterReading) GetCurrentReading() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinimumReportInterval() const; - WINRT_IMPL_AUTO(void) ReportInterval(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportInterval() const; - WINRT_IMPL_AUTO(winrt::event_token) ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentReading() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; - [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReadingChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2235,9 +2227,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAltimeter2 { - WINRT_IMPL_AUTO(void) ReportLatency(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportLatency() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxBatchSize() const; + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; }; template <> struct consume { @@ -2246,8 +2238,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAltimeterReading { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) AltitudeChangeInMeters() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto AltitudeChangeInMeters() const; }; template <> struct consume { @@ -2256,8 +2248,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAltimeterReading2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PerformanceCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -2266,7 +2258,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAltimeterReadingChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AltimeterReading) Reading() const; + [[nodiscard]] auto Reading() const; }; template <> struct consume { @@ -2275,7 +2267,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IAltimeterStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Altimeter) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -2284,15 +2276,15 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IBarometer { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::BarometerReading) GetCurrentReading() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinimumReportInterval() const; - WINRT_IMPL_AUTO(void) ReportInterval(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportInterval() const; - WINRT_IMPL_AUTO(winrt::event_token) ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentReading() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; - [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReadingChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2301,9 +2293,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IBarometer2 { - WINRT_IMPL_AUTO(void) ReportLatency(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportLatency() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxBatchSize() const; + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; }; template <> struct consume { @@ -2312,7 +2304,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IBarometer3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::BarometerDataThreshold) ReportThreshold() const; + [[nodiscard]] auto ReportThreshold() const; }; template <> struct consume { @@ -2321,8 +2313,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IBarometerDataThreshold { - [[nodiscard]] WINRT_IMPL_AUTO(double) Hectopascals() const; - WINRT_IMPL_AUTO(void) Hectopascals(double value) const; + [[nodiscard]] auto Hectopascals() const; + auto Hectopascals(double value) const; }; template <> struct consume { @@ -2331,8 +2323,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IBarometerReading { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) StationPressureInHectopascals() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto StationPressureInHectopascals() const; }; template <> struct consume { @@ -2341,8 +2333,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IBarometerReading2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PerformanceCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -2351,7 +2343,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IBarometerReadingChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::BarometerReading) Reading() const; + [[nodiscard]] auto Reading() const; }; template <> struct consume { @@ -2360,7 +2352,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IBarometerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Barometer) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -2369,8 +2361,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IBarometerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; }; template <> struct consume { @@ -2379,14 +2371,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ICompass { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::CompassReading) GetCurrentReading() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinimumReportInterval() const; - WINRT_IMPL_AUTO(void) ReportInterval(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportInterval() const; - WINRT_IMPL_AUTO(winrt::event_token) ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentReading() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; - [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReadingChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2395,8 +2387,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ICompass2 { - WINRT_IMPL_AUTO(void) ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) ReadingTransform() const; + auto ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + [[nodiscard]] auto ReadingTransform() const; }; template <> struct consume { @@ -2405,9 +2397,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ICompass3 { - WINRT_IMPL_AUTO(void) ReportLatency(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportLatency() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxBatchSize() const; + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; }; template <> struct consume { @@ -2416,7 +2408,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ICompass4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::CompassDataThreshold) ReportThreshold() const; + [[nodiscard]] auto ReportThreshold() const; }; template <> struct consume { @@ -2425,8 +2417,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ICompassDataThreshold { - [[nodiscard]] WINRT_IMPL_AUTO(double) Degrees() const; - WINRT_IMPL_AUTO(void) Degrees(double value) const; + [[nodiscard]] auto Degrees() const; + auto Degrees(double value) const; }; template <> struct consume { @@ -2435,7 +2427,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ICompassDeviceId { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -2444,9 +2436,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ICompassReading { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HeadingMagneticNorth() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) HeadingTrueNorth() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto HeadingMagneticNorth() const; + [[nodiscard]] auto HeadingTrueNorth() const; }; template <> struct consume { @@ -2455,8 +2447,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ICompassReading2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PerformanceCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -2465,7 +2457,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ICompassReadingChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::CompassReading) Reading() const; + [[nodiscard]] auto Reading() const; }; template <> struct consume { @@ -2474,7 +2466,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ICompassReadingHeadingAccuracy { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerAccuracy) HeadingAccuracy() const; + [[nodiscard]] auto HeadingAccuracy() const; }; template <> struct consume { @@ -2483,7 +2475,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ICompassStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Compass) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -2492,8 +2484,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ICompassStatics2 { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { @@ -2502,14 +2494,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IGyrometer { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::GyrometerReading) GetCurrentReading() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinimumReportInterval() const; - WINRT_IMPL_AUTO(void) ReportInterval(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportInterval() const; - WINRT_IMPL_AUTO(winrt::event_token) ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentReading() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; - [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReadingChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2518,8 +2510,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IGyrometer2 { - WINRT_IMPL_AUTO(void) ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) ReadingTransform() const; + auto ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + [[nodiscard]] auto ReadingTransform() const; }; template <> struct consume { @@ -2528,9 +2520,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IGyrometer3 { - WINRT_IMPL_AUTO(void) ReportLatency(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportLatency() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxBatchSize() const; + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; }; template <> struct consume { @@ -2539,7 +2531,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IGyrometer4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::GyrometerDataThreshold) ReportThreshold() const; + [[nodiscard]] auto ReportThreshold() const; }; template <> struct consume { @@ -2548,12 +2540,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IGyrometerDataThreshold { - [[nodiscard]] WINRT_IMPL_AUTO(double) XAxisInDegreesPerSecond() const; - WINRT_IMPL_AUTO(void) XAxisInDegreesPerSecond(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) YAxisInDegreesPerSecond() const; - WINRT_IMPL_AUTO(void) YAxisInDegreesPerSecond(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ZAxisInDegreesPerSecond() const; - WINRT_IMPL_AUTO(void) ZAxisInDegreesPerSecond(double value) const; + [[nodiscard]] auto XAxisInDegreesPerSecond() const; + auto XAxisInDegreesPerSecond(double value) const; + [[nodiscard]] auto YAxisInDegreesPerSecond() const; + auto YAxisInDegreesPerSecond(double value) const; + [[nodiscard]] auto ZAxisInDegreesPerSecond() const; + auto ZAxisInDegreesPerSecond(double value) const; }; template <> struct consume { @@ -2562,7 +2554,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IGyrometerDeviceId { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -2571,10 +2563,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IGyrometerReading { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) AngularVelocityX() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) AngularVelocityY() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) AngularVelocityZ() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto AngularVelocityX() const; + [[nodiscard]] auto AngularVelocityY() const; + [[nodiscard]] auto AngularVelocityZ() const; }; template <> struct consume { @@ -2583,8 +2575,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IGyrometerReading2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PerformanceCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -2593,7 +2585,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IGyrometerReadingChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::GyrometerReading) Reading() const; + [[nodiscard]] auto Reading() const; }; template <> struct consume { @@ -2602,7 +2594,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IGyrometerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Gyrometer) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -2611,8 +2603,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IGyrometerStatics2 { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { @@ -2621,9 +2613,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IHingeAngleReading { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) AngleInDegrees() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto AngleInDegrees() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -2632,15 +2624,15 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IHingeAngleSensor { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCurrentReadingAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinReportThresholdInDegrees() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ReportThresholdInDegrees() const; - WINRT_IMPL_AUTO(void) ReportThresholdInDegrees(double value) const; - WINRT_IMPL_AUTO(winrt::event_token) ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentReadingAsync() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto MinReportThresholdInDegrees() const; + [[nodiscard]] auto ReportThresholdInDegrees() const; + auto ReportThresholdInDegrees(double value) const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; - [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReadingChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2649,7 +2641,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IHingeAngleSensorReadingChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::HingeAngleReading) Reading() const; + [[nodiscard]] auto Reading() const; }; template <> struct consume { @@ -2658,10 +2650,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IHingeAngleSensorStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetRelatedToAdjacentPanelsAsync(param::hstring const& firstPanelId, param::hstring const& secondPanelId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + auto GetDefaultAsync() const; + auto GetRelatedToAdjacentPanelsAsync(param::hstring const& firstPanelId, param::hstring const& secondPanelId) const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { @@ -2670,14 +2662,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IInclinometer { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::InclinometerReading) GetCurrentReading() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinimumReportInterval() const; - WINRT_IMPL_AUTO(void) ReportInterval(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportInterval() const; - WINRT_IMPL_AUTO(winrt::event_token) ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentReading() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; - [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReadingChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2686,9 +2678,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IInclinometer2 { - WINRT_IMPL_AUTO(void) ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) ReadingTransform() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SensorReadingType) ReadingType() const; + auto ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + [[nodiscard]] auto ReadingTransform() const; + [[nodiscard]] auto ReadingType() const; }; template <> struct consume { @@ -2697,9 +2689,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IInclinometer3 { - WINRT_IMPL_AUTO(void) ReportLatency(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportLatency() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxBatchSize() const; + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; }; template <> struct consume { @@ -2708,7 +2700,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IInclinometer4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::InclinometerDataThreshold) ReportThreshold() const; + [[nodiscard]] auto ReportThreshold() const; }; template <> struct consume { @@ -2717,12 +2709,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IInclinometerDataThreshold { - [[nodiscard]] WINRT_IMPL_AUTO(float) PitchInDegrees() const; - WINRT_IMPL_AUTO(void) PitchInDegrees(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RollInDegrees() const; - WINRT_IMPL_AUTO(void) RollInDegrees(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) YawInDegrees() const; - WINRT_IMPL_AUTO(void) YawInDegrees(float value) const; + [[nodiscard]] auto PitchInDegrees() const; + auto PitchInDegrees(float value) const; + [[nodiscard]] auto RollInDegrees() const; + auto RollInDegrees(float value) const; + [[nodiscard]] auto YawInDegrees() const; + auto YawInDegrees(float value) const; }; template <> struct consume { @@ -2731,7 +2723,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IInclinometerDeviceId { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -2740,10 +2732,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IInclinometerReading { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) PitchDegrees() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RollDegrees() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) YawDegrees() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto PitchDegrees() const; + [[nodiscard]] auto RollDegrees() const; + [[nodiscard]] auto YawDegrees() const; }; template <> struct consume { @@ -2752,8 +2744,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IInclinometerReading2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PerformanceCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -2762,7 +2754,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IInclinometerReadingChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::InclinometerReading) Reading() const; + [[nodiscard]] auto Reading() const; }; template <> struct consume { @@ -2771,7 +2763,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IInclinometerReadingYawAccuracy { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerAccuracy) YawAccuracy() const; + [[nodiscard]] auto YawAccuracy() const; }; template <> struct consume { @@ -2780,7 +2772,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IInclinometerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Inclinometer) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -2789,7 +2781,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IInclinometerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Inclinometer) GetDefaultForRelativeReadings() const; + auto GetDefaultForRelativeReadings() const; }; template <> struct consume { @@ -2798,7 +2790,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IInclinometerStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Inclinometer) GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingtype) const; + auto GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingtype) const; }; template <> struct consume { @@ -2807,8 +2799,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IInclinometerStatics4 { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType) const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { @@ -2817,14 +2809,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ILightSensor { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::LightSensorReading) GetCurrentReading() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinimumReportInterval() const; - WINRT_IMPL_AUTO(void) ReportInterval(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportInterval() const; - WINRT_IMPL_AUTO(winrt::event_token) ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentReading() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; - [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReadingChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2833,9 +2825,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ILightSensor2 { - WINRT_IMPL_AUTO(void) ReportLatency(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportLatency() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxBatchSize() const; + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; }; template <> struct consume { @@ -2844,7 +2836,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ILightSensor3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::LightSensorDataThreshold) ReportThreshold() const; + [[nodiscard]] auto ReportThreshold() const; }; template <> struct consume { @@ -2853,10 +2845,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ILightSensorDataThreshold { - [[nodiscard]] WINRT_IMPL_AUTO(float) LuxPercentage() const; - WINRT_IMPL_AUTO(void) LuxPercentage(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) AbsoluteLux() const; - WINRT_IMPL_AUTO(void) AbsoluteLux(float value) const; + [[nodiscard]] auto LuxPercentage() const; + auto LuxPercentage(float value) const; + [[nodiscard]] auto AbsoluteLux() const; + auto AbsoluteLux(float value) const; }; template <> struct consume { @@ -2865,7 +2857,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ILightSensorDeviceId { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -2874,8 +2866,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ILightSensorReading { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) IlluminanceInLux() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto IlluminanceInLux() const; }; template <> struct consume { @@ -2884,8 +2876,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ILightSensorReading2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PerformanceCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -2894,7 +2886,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ILightSensorReadingChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::LightSensorReading) Reading() const; + [[nodiscard]] auto Reading() const; }; template <> struct consume { @@ -2903,7 +2895,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ILightSensorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::LightSensor) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -2912,8 +2904,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ILightSensorStatics2 { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { @@ -2922,14 +2914,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IMagnetometer { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerReading) GetCurrentReading() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinimumReportInterval() const; - WINRT_IMPL_AUTO(void) ReportInterval(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportInterval() const; - WINRT_IMPL_AUTO(winrt::event_token) ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentReading() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; - [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReadingChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2938,8 +2930,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IMagnetometer2 { - WINRT_IMPL_AUTO(void) ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) ReadingTransform() const; + auto ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + [[nodiscard]] auto ReadingTransform() const; }; template <> struct consume { @@ -2948,9 +2940,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IMagnetometer3 { - WINRT_IMPL_AUTO(void) ReportLatency(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportLatency() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxBatchSize() const; + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; }; template <> struct consume { @@ -2959,7 +2951,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IMagnetometer4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerDataThreshold) ReportThreshold() const; + [[nodiscard]] auto ReportThreshold() const; }; template <> struct consume { @@ -2968,12 +2960,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IMagnetometerDataThreshold { - [[nodiscard]] WINRT_IMPL_AUTO(float) XAxisMicroteslas() const; - WINRT_IMPL_AUTO(void) XAxisMicroteslas(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) YAxisMicroteslas() const; - WINRT_IMPL_AUTO(void) YAxisMicroteslas(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) ZAxisMicroteslas() const; - WINRT_IMPL_AUTO(void) ZAxisMicroteslas(float value) const; + [[nodiscard]] auto XAxisMicroteslas() const; + auto XAxisMicroteslas(float value) const; + [[nodiscard]] auto YAxisMicroteslas() const; + auto YAxisMicroteslas(float value) const; + [[nodiscard]] auto ZAxisMicroteslas() const; + auto ZAxisMicroteslas(float value) const; }; template <> struct consume { @@ -2982,7 +2974,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IMagnetometerDeviceId { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -2991,11 +2983,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IMagnetometerReading { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MagneticFieldX() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MagneticFieldY() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MagneticFieldZ() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerAccuracy) DirectionalAccuracy() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto MagneticFieldX() const; + [[nodiscard]] auto MagneticFieldY() const; + [[nodiscard]] auto MagneticFieldZ() const; + [[nodiscard]] auto DirectionalAccuracy() const; }; template <> struct consume { @@ -3004,8 +2996,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IMagnetometerReading2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PerformanceCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -3014,7 +3006,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IMagnetometerReadingChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerReading) Reading() const; + [[nodiscard]] auto Reading() const; }; template <> struct consume { @@ -3023,7 +3015,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IMagnetometerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Magnetometer) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -3032,8 +3024,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IMagnetometerStatics2 { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { @@ -3042,14 +3034,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IOrientationSensor { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensorReading) GetCurrentReading() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinimumReportInterval() const; - WINRT_IMPL_AUTO(void) ReportInterval(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportInterval() const; - WINRT_IMPL_AUTO(winrt::event_token) ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentReading() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; - [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReadingChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3058,9 +3050,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IOrientationSensor2 { - WINRT_IMPL_AUTO(void) ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) ReadingTransform() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SensorReadingType) ReadingType() const; + auto ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + [[nodiscard]] auto ReadingTransform() const; + [[nodiscard]] auto ReadingType() const; }; template <> struct consume { @@ -3069,9 +3061,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IOrientationSensor3 { - WINRT_IMPL_AUTO(void) ReportLatency(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportLatency() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxBatchSize() const; + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; }; template <> struct consume { @@ -3080,7 +3072,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IOrientationSensorDeviceId { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -3089,9 +3081,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IOrientationSensorReading { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SensorRotationMatrix) RotationMatrix() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SensorQuaternion) Quaternion() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto RotationMatrix() const; + [[nodiscard]] auto Quaternion() const; }; template <> struct consume { @@ -3100,8 +3092,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IOrientationSensorReading2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PerformanceCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto PerformanceCount() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -3110,7 +3102,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IOrientationSensorReadingChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensorReading) Reading() const; + [[nodiscard]] auto Reading() const; }; template <> struct consume { @@ -3119,7 +3111,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IOrientationSensorReadingYawAccuracy { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerAccuracy) YawAccuracy() const; + [[nodiscard]] auto YawAccuracy() const; }; template <> struct consume { @@ -3128,7 +3120,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IOrientationSensorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensor) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -3137,7 +3129,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IOrientationSensorStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensor) GetDefaultForRelativeReadings() const; + auto GetDefaultForRelativeReadings() const; }; template <> struct consume { @@ -3146,8 +3138,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IOrientationSensorStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensor) GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingtype) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensor) GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingType, winrt::Windows::Devices::Sensors::SensorOptimizationGoal const& optimizationGoal) const; + auto GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingtype) const; + auto GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingType, winrt::Windows::Devices::Sensors::SensorOptimizationGoal const& optimizationGoal) const; }; template <> struct consume { @@ -3156,9 +3148,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IOrientationSensorStatics4 { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType, winrt::Windows::Devices::Sensors::SensorOptimizationGoal const& optimizationGoal) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType) const; + auto GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType, winrt::Windows::Devices::Sensors::SensorOptimizationGoal const& optimizationGoal) const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { @@ -3167,15 +3159,15 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IPedometer { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) PowerInMilliwatts() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinimumReportInterval() const; - WINRT_IMPL_AUTO(void) ReportInterval(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportInterval() const; - WINRT_IMPL_AUTO(winrt::event_token) ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto PowerInMilliwatts() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; - [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReadingChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3184,7 +3176,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IPedometer2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) GetCurrentReadings() const; + auto GetCurrentReadings() const; }; template <> struct consume { @@ -3193,7 +3185,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IPedometerDataThresholdFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::PedometerDataThreshold) Create(winrt::Windows::Devices::Sensors::Pedometer const& sensor, int32_t stepGoal) const; + auto Create(winrt::Windows::Devices::Sensors::Pedometer const& sensor, int32_t stepGoal) const; }; template <> struct consume { @@ -3202,10 +3194,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IPedometerReading { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::PedometerStepKind) StepKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CumulativeSteps() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) CumulativeStepsDuration() const; + [[nodiscard]] auto StepKind() const; + [[nodiscard]] auto CumulativeSteps() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto CumulativeStepsDuration() const; }; template <> struct consume { @@ -3214,7 +3206,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IPedometerReadingChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::PedometerReading) Reading() const; + [[nodiscard]] auto Reading() const; }; template <> struct consume { @@ -3223,11 +3215,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IPedometerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime, winrt::Windows::Foundation::TimeSpan const& duration) const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDefaultAsync() const; + auto GetDeviceSelector() const; + auto GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime) const; + auto GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime, winrt::Windows::Foundation::TimeSpan const& duration) const; }; template <> struct consume { @@ -3236,7 +3228,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IPedometerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails) const; + auto GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails) const; }; template <> struct consume { @@ -3245,15 +3237,15 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IProximitySensor { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxDistanceInMillimeters() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MinDistanceInMillimeters() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensorReading) GetCurrentReading() const; - WINRT_IMPL_AUTO(winrt::event_token) ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto MaxDistanceInMillimeters() const; + [[nodiscard]] auto MinDistanceInMillimeters() const; + auto GetCurrentReading() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; - [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReadingChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensorDisplayOnOffController) CreateDisplayOnOffController() const; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; + auto CreateDisplayOnOffController() const; }; template <> struct consume { @@ -3262,7 +3254,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IProximitySensorDataThresholdFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensorDataThreshold) Create(winrt::Windows::Devices::Sensors::ProximitySensor const& sensor) const; + auto Create(winrt::Windows::Devices::Sensors::ProximitySensor const& sensor) const; }; template <> struct consume { @@ -3271,9 +3263,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IProximitySensorReading { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDetected() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DistanceInMillimeters() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto IsDetected() const; + [[nodiscard]] auto DistanceInMillimeters() const; }; template <> struct consume { @@ -3282,7 +3274,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IProximitySensorReadingChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensorReading) Reading() const; + [[nodiscard]] auto Reading() const; }; template <> struct consume { @@ -3291,8 +3283,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IProximitySensorStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensor) FromId(param::hstring const& sensorId) const; + auto GetDeviceSelector() const; + auto FromId(param::hstring const& sensorId) const; }; template <> struct consume { @@ -3301,7 +3293,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_IProximitySensorStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails) const; + auto GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails) const; }; template <> struct consume { @@ -3318,8 +3310,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ISensorDataThresholdTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SensorType) SensorType() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto SensorType() const; }; template <> struct consume { @@ -3328,10 +3320,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ISensorQuaternion { - [[nodiscard]] WINRT_IMPL_AUTO(float) W() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) X() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Y() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Z() const; + [[nodiscard]] auto W() const; + [[nodiscard]] auto X() const; + [[nodiscard]] auto Y() const; + [[nodiscard]] auto Z() const; }; template <> struct consume { @@ -3340,15 +3332,15 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ISensorRotationMatrix { - [[nodiscard]] WINRT_IMPL_AUTO(float) M11() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) M12() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) M13() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) M21() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) M22() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) M23() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) M31() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) M32() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) M33() const; + [[nodiscard]] auto M11() const; + [[nodiscard]] auto M12() const; + [[nodiscard]] auto M13() const; + [[nodiscard]] auto M21() const; + [[nodiscard]] auto M22() const; + [[nodiscard]] auto M23() const; + [[nodiscard]] auto M31() const; + [[nodiscard]] auto M32() const; + [[nodiscard]] auto M33() const; }; template <> struct consume { @@ -3357,11 +3349,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ISimpleOrientationSensor { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientation) GetCurrentOrientation() const; - WINRT_IMPL_AUTO(winrt::event_token) OrientationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentOrientation() const; + auto OrientationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using OrientationChanged_revoker = impl::event_revoker::remove_OrientationChanged>; - [[nodiscard]] OrientationChanged_revoker OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) OrientationChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OrientationChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3370,8 +3362,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ISimpleOrientationSensor2 { - WINRT_IMPL_AUTO(void) ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) ReadingTransform() const; + auto ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + [[nodiscard]] auto ReadingTransform() const; }; template <> struct consume { @@ -3380,7 +3372,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ISimpleOrientationSensorDeviceId { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -3389,8 +3381,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ISimpleOrientationSensorOrientationChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientation) Orientation() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Orientation() const; }; template <> struct consume { @@ -3399,7 +3391,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientationSensor) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -3408,8 +3400,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics2 { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.1.h index c2cbe86d..93eacd54 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Sensors_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.2.h index 81b42676..50d15958 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Sensors_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.0.h index 68568ae2..587d22fe 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Sensors_Custom_0_H @@ -6,14 +6,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IMapView; -} WINRT_EXPORT namespace winrt::Windows::Devices::Sensors::Custom { struct ICustomSensor; @@ -110,15 +104,15 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_Custom_ICustomSensor { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Custom::CustomSensorReading) GetCurrentReading() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinimumReportInterval() const; - WINRT_IMPL_AUTO(void) ReportInterval(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportInterval() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - WINRT_IMPL_AUTO(winrt::event_token) ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentReading() const; + [[nodiscard]] auto MinimumReportInterval() const; + auto ReportInterval(uint32_t value) const; + [[nodiscard]] auto ReportInterval() const; + [[nodiscard]] auto DeviceId() const; + auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReadingChanged_revoker = impl::event_revoker::remove_ReadingChanged>; - [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReadingChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReadingChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -127,9 +121,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_Custom_ICustomSensor2 { - WINRT_IMPL_AUTO(void) ReportLatency(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportLatency() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxBatchSize() const; + auto ReportLatency(uint32_t value) const; + [[nodiscard]] auto ReportLatency() const; + [[nodiscard]] auto MaxBatchSize() const; }; template <> struct consume { @@ -138,8 +132,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_Custom_ICustomSensorReading { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -148,7 +142,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_Custom_ICustomSensorReading2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PerformanceCount() const; + [[nodiscard]] auto PerformanceCount() const; }; template <> struct consume { @@ -157,7 +151,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_Custom_ICustomSensorReadingChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Custom::CustomSensorReading) Reading() const; + [[nodiscard]] auto Reading() const; }; template <> struct consume { @@ -166,8 +160,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sensors_Custom_ICustomSensorStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::guid const& interfaceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& sensorId) const; + auto GetDeviceSelector(winrt::guid const& interfaceId) const; + auto FromIdAsync(param::hstring const& sensorId) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.1.h index 48516e3b..1f2ee4e6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Sensors_Custom_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.2.h index e21bbdc3..ad4fd166 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Sensors_Custom_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.0.h index 6d77a1e3..b78e4586 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_SerialCommunication_0_H @@ -6,7 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams @@ -160,7 +159,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SerialCommunication_IErrorReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialError) Error() const; + [[nodiscard]] auto Error() const; }; template <> struct consume { @@ -169,7 +168,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SerialCommunication_IPinChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialPinChange) PinChange() const; + [[nodiscard]] auto PinChange() const; }; template <> struct consume { @@ -178,43 +177,43 @@ namespace winrt::impl template struct consume_Windows_Devices_SerialCommunication_ISerialDevice { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) BaudRate() const; - WINRT_IMPL_AUTO(void) BaudRate(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) BreakSignalState() const; - WINRT_IMPL_AUTO(void) BreakSignalState(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) BytesReceived() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CarrierDetectState() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ClearToSendState() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) DataBits() const; - WINRT_IMPL_AUTO(void) DataBits(uint16_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DataSetReadyState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialHandshake) Handshake() const; - WINRT_IMPL_AUTO(void) Handshake(winrt::Windows::Devices::SerialCommunication::SerialHandshake const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDataTerminalReadyEnabled() const; - WINRT_IMPL_AUTO(void) IsDataTerminalReadyEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRequestToSendEnabled() const; - WINRT_IMPL_AUTO(void) IsRequestToSendEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialParity) Parity() const; - WINRT_IMPL_AUTO(void) Parity(winrt::Windows::Devices::SerialCommunication::SerialParity const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PortName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) ReadTimeout() const; - WINRT_IMPL_AUTO(void) ReadTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialStopBitCount) StopBits() const; - WINRT_IMPL_AUTO(void) StopBits(winrt::Windows::Devices::SerialCommunication::SerialStopBitCount const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) UsbVendorId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) UsbProductId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) WriteTimeout() const; - WINRT_IMPL_AUTO(void) WriteTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) InputStream() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) OutputStream() const; - WINRT_IMPL_AUTO(winrt::event_token) ErrorReceived(winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; + [[nodiscard]] auto BaudRate() const; + auto BaudRate(uint32_t value) const; + [[nodiscard]] auto BreakSignalState() const; + auto BreakSignalState(bool value) const; + [[nodiscard]] auto BytesReceived() const; + [[nodiscard]] auto CarrierDetectState() const; + [[nodiscard]] auto ClearToSendState() const; + [[nodiscard]] auto DataBits() const; + auto DataBits(uint16_t value) const; + [[nodiscard]] auto DataSetReadyState() const; + [[nodiscard]] auto Handshake() const; + auto Handshake(winrt::Windows::Devices::SerialCommunication::SerialHandshake const& value) const; + [[nodiscard]] auto IsDataTerminalReadyEnabled() const; + auto IsDataTerminalReadyEnabled(bool value) const; + [[nodiscard]] auto IsRequestToSendEnabled() const; + auto IsRequestToSendEnabled(bool value) const; + [[nodiscard]] auto Parity() const; + auto Parity(winrt::Windows::Devices::SerialCommunication::SerialParity const& value) const; + [[nodiscard]] auto PortName() const; + [[nodiscard]] auto ReadTimeout() const; + auto ReadTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto StopBits() const; + auto StopBits(winrt::Windows::Devices::SerialCommunication::SerialStopBitCount const& value) const; + [[nodiscard]] auto UsbVendorId() const; + [[nodiscard]] auto UsbProductId() const; + [[nodiscard]] auto WriteTimeout() const; + auto WriteTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto InputStream() const; + [[nodiscard]] auto OutputStream() const; + auto ErrorReceived(winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; using ErrorReceived_revoker = impl::event_revoker::remove_ErrorReceived>; - [[nodiscard]] ErrorReceived_revoker ErrorReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; - WINRT_IMPL_AUTO(void) ErrorReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PinChanged(winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; + [[nodiscard]] auto ErrorReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; + auto ErrorReceived(winrt::event_token const& token) const noexcept; + auto PinChanged(winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; using PinChanged_revoker = impl::event_revoker::remove_PinChanged>; - [[nodiscard]] PinChanged_revoker PinChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; - WINRT_IMPL_AUTO(void) PinChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PinChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& reportHandler) const; + auto PinChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -223,10 +222,10 @@ namespace winrt::impl template struct consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(param::hstring const& portName) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelectorFromUsbVidPid(uint16_t vendorId, uint16_t productId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + auto GetDeviceSelector(param::hstring const& portName) const; + auto GetDeviceSelectorFromUsbVidPid(uint16_t vendorId, uint16_t productId) const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.1.h index 1b0139a3..e2a7ff80 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_SerialCommunication_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.2.h index ad6bbca7..b45556f6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_SerialCommunication_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.0.h index 4deb061a..5fb2302e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_SmartCards_0_H @@ -7,14 +7,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; template struct __declspec(empty_bases) IVector; struct ValueSet; } @@ -1114,7 +1112,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ICardAddedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCard) SmartCard() const; + [[nodiscard]] auto SmartCard() const; }; template <> struct consume { @@ -1123,7 +1121,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ICardRemovedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCard) SmartCard() const; + [[nodiscard]] auto SmartCard() const; }; template <> struct consume { @@ -1132,8 +1130,8 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_IKnownSmartCardAppletIds { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) PaymentSystemEnvironment() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ProximityPaymentSystemEnvironment() const; + [[nodiscard]] auto PaymentSystemEnvironment() const; + [[nodiscard]] auto ProximityPaymentSystemEnvironment() const; }; template <> struct consume { @@ -1142,9 +1140,9 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCard { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardReader) Reader() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetStatusAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAnswerToResetAsync() const; + [[nodiscard]] auto Reader() const; + auto GetStatusAsync() const; + auto GetAnswerToResetAsync() const; }; template <> struct consume { @@ -1153,15 +1151,15 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) AppletIds() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory) SmartCardEmulationCategory() const; - WINRT_IMPL_AUTO(void) SmartCardEmulationCategory(winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulationType) SmartCardEmulationType() const; - WINRT_IMPL_AUTO(void) SmartCardEmulationType(winrt::Windows::Devices::SmartCards::SmartCardEmulationType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutomaticEnablement() const; - WINRT_IMPL_AUTO(void) AutomaticEnablement(bool value) const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto AppletIds() const; + [[nodiscard]] auto SmartCardEmulationCategory() const; + auto SmartCardEmulationCategory(winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory const& value) const; + [[nodiscard]] auto SmartCardEmulationType() const; + auto SmartCardEmulationType(winrt::Windows::Devices::SmartCards::SmartCardEmulationType const& value) const; + [[nodiscard]] auto AutomaticEnablement() const; + auto AutomaticEnablement(bool value) const; }; template <> struct consume { @@ -1170,13 +1168,13 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Logo() const; - WINRT_IMPL_AUTO(void) Logo(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SecureUserAuthenticationRequired() const; - WINRT_IMPL_AUTO(void) SecureUserAuthenticationRequired(bool value) const; + [[nodiscard]] auto Logo() const; + auto Logo(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto SecureUserAuthenticationRequired() const; + auto SecureUserAuthenticationRequired(bool value) const; }; template <> struct consume { @@ -1185,7 +1183,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup) Create(param::hstring const& displayName, param::vector const& appletIds, winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory const& emulationCategory, winrt::Windows::Devices::SmartCards::SmartCardEmulationType const& emulationType) const; + auto Create(param::hstring const& displayName, param::vector const& appletIds, winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory const& emulationCategory, winrt::Windows::Devices::SmartCards::SmartCardEmulationType const& emulationType) const; }; template <> struct consume { @@ -1194,11 +1192,11 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupActivationPolicy) ActivationPolicy() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup) AppletIdGroup() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestActivationPolicyChangeAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupActivationPolicy const& policy) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Id() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetAutomaticResponseApdusAsync(param::async_iterable const& apdus) const; + [[nodiscard]] auto ActivationPolicy() const; + [[nodiscard]] auto AppletIdGroup() const; + auto RequestActivationPolicyChangeAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupActivationPolicy const& policy) const; + [[nodiscard]] auto Id() const; + auto SetAutomaticResponseApdusAsync(param::async_iterable const& apdus) const; }; template <> struct consume { @@ -1207,8 +1205,8 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SmartCardReaderId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetPropertiesAsync(winrt::Windows::Foundation::Collections::ValueSet const& props) const; + [[nodiscard]] auto SmartCardReaderId() const; + auto SetPropertiesAsync(winrt::Windows::Foundation::Collections::ValueSet const& props) const; }; template <> struct consume { @@ -1217,7 +1215,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) MaxAppletIds() const; + [[nodiscard]] auto MaxAppletIds() const; }; template <> struct consume { @@ -1226,16 +1224,16 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) CommandApdu() const; - WINRT_IMPL_AUTO(void) CommandApdu(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) CommandApduBitMask() const; - WINRT_IMPL_AUTO(void) CommandApduBitMask(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldMatchLength() const; - WINRT_IMPL_AUTO(void) ShouldMatchLength(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) AppletId() const; - WINRT_IMPL_AUTO(void) AppletId(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ResponseApdu() const; - WINRT_IMPL_AUTO(void) ResponseApdu(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto CommandApdu() const; + auto CommandApdu(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto CommandApduBitMask() const; + auto CommandApduBitMask(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto ShouldMatchLength() const; + auto ShouldMatchLength(bool value) const; + [[nodiscard]] auto AppletId() const; + auto AppletId(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto ResponseApdu() const; + auto ResponseApdu(winrt::Windows::Storage::Streams::IBuffer const& value) const; }; template <> struct consume { @@ -1244,10 +1242,10 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InputState() const; - WINRT_IMPL_AUTO(void) InputState(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) OutputState() const; - WINRT_IMPL_AUTO(void) OutputState(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto InputState() const; + auto InputState(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto OutputState() const; + auto OutputState(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -1256,8 +1254,8 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowWhenCryptogramGeneratorNotPrepared() const; - WINRT_IMPL_AUTO(void) AllowWhenCryptogramGeneratorNotPrepared(bool value) const; + [[nodiscard]] auto AllowWhenCryptogramGeneratorNotPrepared() const; + auto AllowWhenCryptogramGeneratorNotPrepared(bool value) const; }; template <> struct consume { @@ -1266,7 +1264,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApduFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardAutomaticResponseApdu) Create(winrt::Windows::Storage::Streams::IBuffer const& commandApdu, winrt::Windows::Storage::Streams::IBuffer const& responseApdu) const; + auto Create(winrt::Windows::Storage::Streams::IBuffer const& commandApdu, winrt::Windows::Storage::Streams::IBuffer const& responseApdu) const; }; template <> struct consume { @@ -1275,11 +1273,11 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardChallengeContext { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Challenge() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) VerifyResponseAsync(winrt::Windows::Storage::Streams::IBuffer const& response) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ProvisionAsync(winrt::Windows::Storage::Streams::IBuffer const& response, bool formatCard) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ProvisionAsync(winrt::Windows::Storage::Streams::IBuffer const& response, bool formatCard, winrt::guid const& newCardId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ChangeAdministrativeKeyAsync(winrt::Windows::Storage::Streams::IBuffer const& response, winrt::Windows::Storage::Streams::IBuffer const& newAdministrativeKey) const; + [[nodiscard]] auto Challenge() const; + auto VerifyResponseAsync(winrt::Windows::Storage::Streams::IBuffer const& response) const; + auto ProvisionAsync(winrt::Windows::Storage::Streams::IBuffer const& response, bool formatCard) const; + auto ProvisionAsync(winrt::Windows::Storage::Streams::IBuffer const& response, bool formatCard, winrt::guid const& newCardId) const; + auto ChangeAdministrativeKeyAsync(winrt::Windows::Storage::Streams::IBuffer const& response, winrt::Windows::Storage::Streams::IBuffer const& newAdministrativeKey) const; }; template <> struct consume { @@ -1288,7 +1286,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardConnect { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConnectAsync() const; + auto ConnectAsync() const; }; template <> struct consume { @@ -1297,7 +1295,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardConnection { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TransmitAsync(winrt::Windows::Storage::Streams::IBuffer const& command) const; + auto TransmitAsync(winrt::Windows::Storage::Streams::IBuffer const& command) const; }; template <> struct consume { @@ -1306,18 +1304,18 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedCryptogramMaterialTypes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedCryptogramAlgorithms() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedCryptogramMaterialPackageFormats() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedCryptogramMaterialPackageConfirmationResponseFormats() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedSmartCardCryptogramStorageKeyCapabilities() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DeleteCryptogramMaterialStorageKeyAsync(param::hstring const& storageKeyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateCryptogramMaterialStorageKeyAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& storageKeyName, winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyAlgorithm const& algorithm, winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities const& capabilities) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestCryptogramMaterialStorageKeyInfoAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& storageKeyName, winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& format) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ImportCryptogramMaterialPackageAsync(winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat const& format, param::hstring const& storageKeyName, param::hstring const& materialPackageName, winrt::Windows::Storage::Streams::IBuffer const& cryptogramMaterialPackage) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryProvePossessionOfCryptogramMaterialPackageAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageConfirmationResponseFormat const& responseFormat, param::hstring const& materialPackageName, param::hstring const& materialName, winrt::Windows::Storage::Streams::IBuffer const& challenge) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestUnlockCryptogramMaterialForUseAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DeleteCryptogramMaterialPackageAsync(param::hstring const& materialPackageName) const; + [[nodiscard]] auto SupportedCryptogramMaterialTypes() const; + [[nodiscard]] auto SupportedCryptogramAlgorithms() const; + [[nodiscard]] auto SupportedCryptogramMaterialPackageFormats() const; + [[nodiscard]] auto SupportedCryptogramMaterialPackageConfirmationResponseFormats() const; + [[nodiscard]] auto SupportedSmartCardCryptogramStorageKeyCapabilities() const; + auto DeleteCryptogramMaterialStorageKeyAsync(param::hstring const& storageKeyName) const; + auto CreateCryptogramMaterialStorageKeyAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& storageKeyName, winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyAlgorithm const& algorithm, winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities const& capabilities) const; + auto RequestCryptogramMaterialStorageKeyInfoAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& storageKeyName, winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& format) const; + auto ImportCryptogramMaterialPackageAsync(winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat const& format, param::hstring const& storageKeyName, param::hstring const& materialPackageName, winrt::Windows::Storage::Streams::IBuffer const& cryptogramMaterialPackage) const; + auto TryProvePossessionOfCryptogramMaterialPackageAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageConfirmationResponseFormat const& responseFormat, param::hstring const& materialPackageName, param::hstring const& materialName, winrt::Windows::Storage::Streams::IBuffer const& challenge) const; + auto RequestUnlockCryptogramMaterialForUseAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior) const; + auto DeleteCryptogramMaterialPackageAsync(param::hstring const& materialPackageName) const; }; template <> struct consume { @@ -1326,11 +1324,11 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ValidateRequestApduAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, winrt::Windows::Storage::Streams::IBuffer const& apduToValidate, param::async_iterable const& cryptogramPlacementSteps) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAllCryptogramStorageKeyCharacteristicsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAllCryptogramMaterialPackageCharacteristicsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAllCryptogramMaterialPackageCharacteristicsAsync(param::hstring const& storageKeyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAllCryptogramMaterialCharacteristicsAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& materialPackageName) const; + auto ValidateRequestApduAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, winrt::Windows::Storage::Streams::IBuffer const& apduToValidate, param::async_iterable const& cryptogramPlacementSteps) const; + auto GetAllCryptogramStorageKeyCharacteristicsAsync() const; + auto GetAllCryptogramMaterialPackageCharacteristicsAsync() const; + auto GetAllCryptogramMaterialPackageCharacteristicsAsync(param::hstring const& storageKeyName) const; + auto GetAllCryptogramMaterialCharacteristicsAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& materialPackageName) const; }; template <> struct consume { @@ -1339,7 +1337,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGeneratorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetSmartCardCryptogramGeneratorAsync() const; + auto GetSmartCardCryptogramGeneratorAsync() const; }; template <> struct consume { @@ -1348,7 +1346,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGeneratorStatics2 { - WINRT_IMPL_AUTO(bool) IsSupported() const; + auto IsSupported() const; }; template <> struct consume { @@ -1357,8 +1355,8 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus) OperationStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Characteristics() const; + [[nodiscard]] auto OperationStatus() const; + [[nodiscard]] auto Characteristics() const; }; template <> struct consume { @@ -1367,8 +1365,8 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus) OperationStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Characteristics() const; + [[nodiscard]] auto OperationStatus() const; + [[nodiscard]] auto Characteristics() const; }; template <> struct consume { @@ -1377,8 +1375,8 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus) OperationStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Characteristics() const; + [[nodiscard]] auto OperationStatus() const; + [[nodiscard]] auto Characteristics() const; }; template <> struct consume { @@ -1387,14 +1385,14 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MaterialName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AllowedAlgorithms() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AllowedProofOfPossessionAlgorithms() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AllowedValidations() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialType) MaterialType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialProtectionMethod) ProtectionMethod() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ProtectionVersion() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaterialLength() const; + [[nodiscard]] auto MaterialName() const; + [[nodiscard]] auto AllowedAlgorithms() const; + [[nodiscard]] auto AllowedProofOfPossessionAlgorithms() const; + [[nodiscard]] auto AllowedValidations() const; + [[nodiscard]] auto MaterialType() const; + [[nodiscard]] auto ProtectionMethod() const; + [[nodiscard]] auto ProtectionVersion() const; + [[nodiscard]] auto MaterialLength() const; }; template <> struct consume { @@ -1403,10 +1401,10 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PackageName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StorageKeyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) DateImported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat) PackageFormat() const; + [[nodiscard]] auto PackageName() const; + [[nodiscard]] auto StorageKeyName() const; + [[nodiscard]] auto DateImported() const; + [[nodiscard]] auto PackageFormat() const; }; template <> struct consume { @@ -1415,8 +1413,8 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPossessionProof { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus) OperationStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Proof() const; + [[nodiscard]] auto OperationStatus() const; + [[nodiscard]] auto Proof() const; }; template <> struct consume { @@ -1425,24 +1423,24 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm) Algorithm() const; - WINRT_IMPL_AUTO(void) Algorithm(winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) SourceData() const; - WINRT_IMPL_AUTO(void) SourceData(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CryptogramMaterialPackageName() const; - WINRT_IMPL_AUTO(void) CryptogramMaterialPackageName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CryptogramMaterialName() const; - WINRT_IMPL_AUTO(void) CryptogramMaterialName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) TemplateOffset() const; - WINRT_IMPL_AUTO(void) TemplateOffset(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CryptogramOffset() const; - WINRT_IMPL_AUTO(void) CryptogramOffset(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CryptogramLength() const; - WINRT_IMPL_AUTO(void) CryptogramLength(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementOptions) CryptogramPlacementOptions() const; - WINRT_IMPL_AUTO(void) CryptogramPlacementOptions(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementOptions const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep) ChainedOutputStep() const; - WINRT_IMPL_AUTO(void) ChainedOutputStep(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep const& value) const; + [[nodiscard]] auto Algorithm() const; + auto Algorithm(winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm const& value) const; + [[nodiscard]] auto SourceData() const; + auto SourceData(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto CryptogramMaterialPackageName() const; + auto CryptogramMaterialPackageName(param::hstring const& value) const; + [[nodiscard]] auto CryptogramMaterialName() const; + auto CryptogramMaterialName(param::hstring const& value) const; + [[nodiscard]] auto TemplateOffset() const; + auto TemplateOffset(int32_t value) const; + [[nodiscard]] auto CryptogramOffset() const; + auto CryptogramOffset(int32_t value) const; + [[nodiscard]] auto CryptogramLength() const; + auto CryptogramLength(int32_t value) const; + [[nodiscard]] auto CryptogramPlacementOptions() const; + auto CryptogramPlacementOptions(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementOptions const& value) const; + [[nodiscard]] auto ChainedOutputStep() const; + auto ChainedOutputStep(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep const& value) const; }; template <> struct consume { @@ -1451,10 +1449,10 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StorageKeyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) DateCreated() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyAlgorithm) Algorithm() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities) Capabilities() const; + [[nodiscard]] auto StorageKeyName() const; + [[nodiscard]] auto DateCreated() const; + [[nodiscard]] auto Algorithm() const; + [[nodiscard]] auto Capabilities() const; }; template <> struct consume { @@ -1463,13 +1461,13 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus) OperationStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType) PublicKeyBlobType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) PublicKey() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptographicKeyAttestationStatus) AttestationStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Attestation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) AttestationCertificateChain() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities) Capabilities() const; + [[nodiscard]] auto OperationStatus() const; + [[nodiscard]] auto PublicKeyBlobType() const; + [[nodiscard]] auto PublicKey() const; + [[nodiscard]] auto AttestationStatus() const; + [[nodiscard]] auto Attestation() const; + [[nodiscard]] auto AttestationCertificateChain() const; + [[nodiscard]] auto Capabilities() const; }; template <> struct consume { @@ -1478,7 +1476,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OperationalRequirements() const; + [[nodiscard]] auto OperationalRequirements() const; }; template <> struct consume { @@ -1487,7 +1485,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardEmulator { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulatorEnablementPolicy) EnablementPolicy() const; + [[nodiscard]] auto EnablementPolicy() const; }; template <> struct consume { @@ -1496,16 +1494,16 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardEmulator2 { - WINRT_IMPL_AUTO(winrt::event_token) ApduReceived(winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto ApduReceived(winrt::Windows::Foundation::TypedEventHandler const& value) const; using ApduReceived_revoker = impl::event_revoker::remove_ApduReceived>; - [[nodiscard]] ApduReceived_revoker ApduReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) ApduReceived(winrt::event_token const& value) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ConnectionDeactivated(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto ApduReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto ApduReceived(winrt::event_token const& value) const noexcept; + auto ConnectionDeactivated(winrt::Windows::Foundation::TypedEventHandler const& value) const; using ConnectionDeactivated_revoker = impl::event_revoker::remove_ConnectionDeactivated>; - [[nodiscard]] ConnectionDeactivated_revoker ConnectionDeactivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) ConnectionDeactivated(winrt::event_token const& value) const noexcept; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(bool) IsHostCardEmulationSupported() const; + [[nodiscard]] auto ConnectionDeactivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto ConnectionDeactivated(winrt::event_token const& value) const noexcept; + auto Start() const; + auto IsHostCardEmulationSupported() const; }; template <> struct consume { @@ -1514,10 +1512,10 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) CommandApdu() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionProperties) ConnectionProperties() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryRespondAsync(winrt::Windows::Storage::Streams::IBuffer const& responseApdu) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardAutomaticResponseStatus) AutomaticResponseStatus() const; + [[nodiscard]] auto CommandApdu() const; + [[nodiscard]] auto ConnectionProperties() const; + auto TryRespondAsync(winrt::Windows::Storage::Streams::IBuffer const& responseApdu) const; + [[nodiscard]] auto AutomaticResponseStatus() const; }; template <> struct consume { @@ -1526,8 +1524,8 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) State() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryRespondAsync(winrt::Windows::Storage::Streams::IBuffer const& responseApdu, winrt::Windows::Foundation::IReference const& nextState) const; + [[nodiscard]] auto State() const; + auto TryRespondAsync(winrt::Windows::Storage::Streams::IBuffer const& responseApdu, winrt::Windows::Foundation::IReference const& nextState) const; }; template <> struct consume { @@ -1536,8 +1534,8 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgsWithCryptograms { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable const& cryptogramPlacementSteps) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable const& cryptogramPlacementSteps, winrt::Windows::Foundation::IReference const& nextState) const; + auto TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable const& cryptogramPlacementSteps) const; + auto TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable const& cryptogramPlacementSteps, winrt::Windows::Foundation::IReference const& nextState) const; }; template <> struct consume { @@ -1546,8 +1544,8 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionDeactivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionProperties) ConnectionProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionDeactivatedReason) Reason() const; + [[nodiscard]] auto ConnectionProperties() const; + [[nodiscard]] auto Reason() const; }; template <> struct consume { @@ -1556,8 +1554,8 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionProperties { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionSource) Source() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Source() const; }; template <> struct consume { @@ -1566,7 +1564,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; + auto GetDefaultAsync() const; }; template <> struct consume { @@ -1575,10 +1573,10 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetAppletIdGroupRegistrationsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RegisterAppletIdGroupAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup const& appletIdGroup) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UnregisterAppletIdGroupAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupRegistration const& registration) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) MaxAppletIdGroupRegistrations() const; + auto GetAppletIdGroupRegistrationsAsync() const; + auto RegisterAppletIdGroupAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup const& appletIdGroup) const; + auto UnregisterAppletIdGroupAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupRegistration const& registration) const; + [[nodiscard]] auto MaxAppletIdGroupRegistrations() const; }; template <> struct consume { @@ -1587,7 +1585,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics3 { - WINRT_IMPL_AUTO(bool) IsSupported() const; + auto IsSupported() const; }; template <> struct consume { @@ -1596,18 +1594,18 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardPinPolicy { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinLength() const; - WINRT_IMPL_AUTO(void) MinLength(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxLength() const; - WINRT_IMPL_AUTO(void) MaxLength(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption) UppercaseLetters() const; - WINRT_IMPL_AUTO(void) UppercaseLetters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption) LowercaseLetters() const; - WINRT_IMPL_AUTO(void) LowercaseLetters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption) Digits() const; - WINRT_IMPL_AUTO(void) Digits(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption) SpecialCharacters() const; - WINRT_IMPL_AUTO(void) SpecialCharacters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const; + [[nodiscard]] auto MinLength() const; + auto MinLength(uint32_t value) const; + [[nodiscard]] auto MaxLength() const; + auto MaxLength(uint32_t value) const; + [[nodiscard]] auto UppercaseLetters() const; + auto UppercaseLetters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const; + [[nodiscard]] auto LowercaseLetters() const; + auto LowercaseLetters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const; + [[nodiscard]] auto Digits() const; + auto Digits(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const; + [[nodiscard]] auto SpecialCharacters() const; + auto SpecialCharacters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const; }; template <> struct consume { @@ -1616,7 +1614,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardPinResetDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -1625,10 +1623,10 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Challenge() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Deadline() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardPinResetDeferral) GetDeferral() const; - WINRT_IMPL_AUTO(void) SetResponse(winrt::Windows::Storage::Streams::IBuffer const& response) const; + [[nodiscard]] auto Challenge() const; + [[nodiscard]] auto Deadline() const; + auto GetDeferral() const; + auto SetResponse(winrt::Windows::Storage::Streams::IBuffer const& response) const; }; template <> struct consume { @@ -1637,12 +1635,12 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardProvisioning { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCard) SmartCard() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIdAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetNameAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetChallengeContextAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPinChangeAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPinResetAsync(winrt::Windows::Devices::SmartCards::SmartCardPinResetHandler const& handler) const; + [[nodiscard]] auto SmartCard() const; + auto GetIdAsync() const; + auto GetNameAsync() const; + auto GetChallengeContextAsync() const; + auto RequestPinChangeAsync() const; + auto RequestPinResetAsync(winrt::Windows::Devices::SmartCards::SmartCardPinResetHandler const& handler) const; }; template <> struct consume { @@ -1651,7 +1649,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardProvisioning2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAuthorityKeyContainerNameAsync() const; + auto GetAuthorityKeyContainerNameAsync() const; }; template <> struct consume { @@ -1660,10 +1658,10 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromSmartCardAsync(winrt::Windows::Devices::SmartCards::SmartCard const& card) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy, winrt::guid const& cardId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestVirtualSmartCardDeletionAsync(winrt::Windows::Devices::SmartCards::SmartCard const& card) const; + auto FromSmartCardAsync(winrt::Windows::Devices::SmartCards::SmartCard const& card) const; + auto RequestVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy) const; + auto RequestVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy, winrt::guid const& cardId) const; + auto RequestVirtualSmartCardDeletionAsync(winrt::Windows::Devices::SmartCards::SmartCard const& card) const; }; template <> struct consume { @@ -1672,8 +1670,8 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAttestedVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAttestedVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy, winrt::guid const& cardId) const; + auto RequestAttestedVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy) const; + auto RequestAttestedVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy, winrt::guid const& cardId) const; }; template <> struct consume { @@ -1682,19 +1680,19 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardReader { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardReaderKind) Kind() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetStatusAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllCardsAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) CardAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Kind() const; + auto GetStatusAsync() const; + auto FindAllCardsAsync() const; + auto CardAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CardAdded_revoker = impl::event_revoker::remove_CardAdded>; - [[nodiscard]] CardAdded_revoker CardAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CardAdded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CardRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CardAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CardAdded(winrt::event_token const& token) const noexcept; + auto CardRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CardRemoved_revoker = impl::event_revoker::remove_CardRemoved>; - [[nodiscard]] CardRemoved_revoker CardRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CardRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CardRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CardRemoved(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1703,9 +1701,9 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardReaderStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::Windows::Devices::SmartCards::SmartCardReaderKind const& kind) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + auto GetDeviceSelector(winrt::Windows::Devices::SmartCards::SmartCardReaderKind const& kind) const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { @@ -1714,9 +1712,9 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardTriggerType) TriggerType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) SourceAppletId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) TriggerData() const; + [[nodiscard]] auto TriggerType() const; + [[nodiscard]] auto SourceAppletId() const; + [[nodiscard]] auto TriggerData() const; }; template <> struct consume { @@ -1725,9 +1723,9 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulator) Emulator() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryLaunchCurrentAppAsync(param::hstring const& arguments) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryLaunchCurrentAppAsync(param::hstring const& arguments, winrt::Windows::Devices::SmartCards::SmartCardLaunchBehavior const& behavior) const; + [[nodiscard]] auto Emulator() const; + auto TryLaunchCurrentAppAsync(param::hstring const& arguments) const; + auto TryLaunchCurrentAppAsync(param::hstring const& arguments, winrt::Windows::Devices::SmartCards::SmartCardLaunchBehavior const& behavior) const; }; template <> struct consume { @@ -1736,7 +1734,7 @@ namespace winrt::impl template struct consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCard) SmartCard() const; + [[nodiscard]] auto SmartCard() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.1.h index bb092420..dd5a20b3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_SmartCards_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.2.h index 774a1f8c..9e64a209 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_SmartCards_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.0.h index 5f98d4b0..3407be55 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Sms_0_H @@ -9,14 +9,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct IAsyncAction; template struct __declspec(empty_bases) IAsyncOperationWithProgress; template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { - template struct __declspec(empty_bases) IMap; template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { @@ -738,28 +735,28 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsAppMessage { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) To() const; - WINRT_IMPL_AUTO(void) To(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) From() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Body() const; - WINRT_IMPL_AUTO(void) Body(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CallbackNumber() const; - WINRT_IMPL_AUTO(void) CallbackNumber(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDeliveryNotificationEnabled() const; - WINRT_IMPL_AUTO(void) IsDeliveryNotificationEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RetryAttemptCount() const; - WINRT_IMPL_AUTO(void) RetryAttemptCount(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncoding) Encoding() const; - WINRT_IMPL_AUTO(void) Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PortNumber() const; - WINRT_IMPL_AUTO(void) PortNumber(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) TeleserviceId() const; - WINRT_IMPL_AUTO(void) TeleserviceId(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ProtocolId() const; - WINRT_IMPL_AUTO(void) ProtocolId(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) BinaryBody() const; - WINRT_IMPL_AUTO(void) BinaryBody(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto To() const; + auto To(param::hstring const& value) const; + [[nodiscard]] auto From() const; + [[nodiscard]] auto Body() const; + auto Body(param::hstring const& value) const; + [[nodiscard]] auto CallbackNumber() const; + auto CallbackNumber(param::hstring const& value) const; + [[nodiscard]] auto IsDeliveryNotificationEnabled() const; + auto IsDeliveryNotificationEnabled(bool value) const; + [[nodiscard]] auto RetryAttemptCount() const; + auto RetryAttemptCount(int32_t value) const; + [[nodiscard]] auto Encoding() const; + auto Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const; + [[nodiscard]] auto PortNumber() const; + auto PortNumber(int32_t value) const; + [[nodiscard]] auto TeleserviceId() const; + auto TeleserviceId(int32_t value) const; + [[nodiscard]] auto ProtocolId() const; + auto ProtocolId(int32_t value) const; + [[nodiscard]] auto BinaryBody() const; + auto BinaryBody(winrt::Windows::Storage::Streams::IBuffer const& value) const; }; template <> struct consume { @@ -768,10 +765,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsBinaryMessage { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDataFormat) Format() const; - WINRT_IMPL_AUTO(void) Format(winrt::Windows::Devices::Sms::SmsDataFormat const& value) const; - WINRT_IMPL_AUTO(com_array) GetData() const; - WINRT_IMPL_AUTO(void) SetData(array_view value) const; + [[nodiscard]] auto Format() const; + auto Format(winrt::Windows::Devices::Sms::SmsDataFormat const& value) const; + auto GetData() const; + auto SetData(array_view value) const; }; template <> struct consume { @@ -780,16 +777,16 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsBroadcastMessage { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) To() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Body() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Channel() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsGeographicalScope) GeographicalScope() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MessageCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) UpdateNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsBroadcastType) BroadcastType() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEmergencyAlert() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsUserPopupRequested() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto To() const; + [[nodiscard]] auto Body() const; + [[nodiscard]] auto Channel() const; + [[nodiscard]] auto GeographicalScope() const; + [[nodiscard]] auto MessageCode() const; + [[nodiscard]] auto UpdateNumber() const; + [[nodiscard]] auto BroadcastType() const; + [[nodiscard]] auto IsEmergencyAlert() const; + [[nodiscard]] auto IsUserPopupRequested() const; }; template <> struct consume { @@ -798,20 +795,20 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsDevice { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SendSmsMessageOperation) SendMessageAsync(winrt::Windows::Devices::Sms::ISmsMessage const& message) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncodedLength) CalculateLength(winrt::Windows::Devices::Sms::SmsTextMessage const& message) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AccountPhoneNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) CellularClass() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDeviceMessageStore) MessageStore() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDeviceStatus) DeviceStatus() const; - WINRT_IMPL_AUTO(winrt::event_token) SmsMessageReceived(winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const; + auto SendMessageAsync(winrt::Windows::Devices::Sms::ISmsMessage const& message) const; + auto CalculateLength(winrt::Windows::Devices::Sms::SmsTextMessage const& message) const; + [[nodiscard]] auto AccountPhoneNumber() const; + [[nodiscard]] auto CellularClass() const; + [[nodiscard]] auto MessageStore() const; + [[nodiscard]] auto DeviceStatus() const; + auto SmsMessageReceived(winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const; using SmsMessageReceived_revoker = impl::event_revoker::remove_SmsMessageReceived>; - [[nodiscard]] SmsMessageReceived_revoker SmsMessageReceived(auto_revoke_t, winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) SmsMessageReceived(winrt::event_token const& eventCookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SmsDeviceStatusChanged(winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const; + [[nodiscard]] auto SmsMessageReceived(auto_revoke_t, winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const; + auto SmsMessageReceived(winrt::event_token const& eventCookie) const noexcept; + auto SmsDeviceStatusChanged(winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const; using SmsDeviceStatusChanged_revoker = impl::event_revoker::remove_SmsDeviceStatusChanged>; - [[nodiscard]] SmsDeviceStatusChanged_revoker SmsDeviceStatusChanged(auto_revoke_t, winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) SmsDeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto SmsDeviceStatusChanged(auto_revoke_t, winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const; + auto SmsDeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -820,19 +817,19 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsDevice2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SmscAddress() const; - WINRT_IMPL_AUTO(void) SmscAddress(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ParentDeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AccountPhoneNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) CellularClass() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDeviceStatus) DeviceStatus() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncodedLength) CalculateLength(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendMessageAndGetResultAsync(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const; - WINRT_IMPL_AUTO(winrt::event_token) DeviceStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto SmscAddress() const; + auto SmscAddress(param::hstring const& value) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto ParentDeviceId() const; + [[nodiscard]] auto AccountPhoneNumber() const; + [[nodiscard]] auto CellularClass() const; + [[nodiscard]] auto DeviceStatus() const; + auto CalculateLength(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const; + auto SendMessageAndGetResultAsync(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const; + auto DeviceStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using DeviceStatusChanged_revoker = impl::event_revoker::remove_DeviceStatusChanged>; - [[nodiscard]] DeviceStatusChanged_revoker DeviceStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) DeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto DeviceStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto DeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -841,10 +838,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsDevice2Statics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDevice2) FromId(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDevice2) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDevice2) FromParentId(param::hstring const& parentDeviceId) const; + auto GetDeviceSelector() const; + auto FromId(param::hstring const& deviceId) const; + auto GetDefault() const; + auto FromParentId(param::hstring const& parentDeviceId) const; }; template <> struct consume { @@ -853,11 +850,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsDeviceMessageStore { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteMessageAsync(uint32_t messageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetMessageAsync(uint32_t messageId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress, int32_t>) GetMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxMessages() const; + auto DeleteMessageAsync(uint32_t messageId) const; + auto DeleteMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const; + auto GetMessageAsync(uint32_t messageId) const; + auto GetMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const; + [[nodiscard]] auto MaxMessages() const; }; template <> struct consume { @@ -866,9 +863,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsDeviceStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto GetDefaultAsync() const; }; template <> struct consume { @@ -877,7 +874,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsDeviceStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromNetworkAccountIdAsync(param::hstring const& networkAccountId) const; + auto FromNetworkAccountIdAsync(param::hstring const& networkAccountId) const; }; template <> struct consume { @@ -886,20 +883,20 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsFilterRule { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageType) MessageType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ImsiPrefixes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DeviceIds() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SenderNumbers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) TextMessagePrefixes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) PortNumbers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) CellularClass() const; - WINRT_IMPL_AUTO(void) CellularClass(winrt::Windows::Devices::Sms::CellularClass const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ProtocolIds() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) TeleserviceIds() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) WapApplicationIds() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) WapContentTypes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) BroadcastTypes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) BroadcastChannels() const; + [[nodiscard]] auto MessageType() const; + [[nodiscard]] auto ImsiPrefixes() const; + [[nodiscard]] auto DeviceIds() const; + [[nodiscard]] auto SenderNumbers() const; + [[nodiscard]] auto TextMessagePrefixes() const; + [[nodiscard]] auto PortNumbers() const; + [[nodiscard]] auto CellularClass() const; + auto CellularClass(winrt::Windows::Devices::Sms::CellularClass const& value) const; + [[nodiscard]] auto ProtocolIds() const; + [[nodiscard]] auto TeleserviceIds() const; + [[nodiscard]] auto WapApplicationIds() const; + [[nodiscard]] auto WapContentTypes() const; + [[nodiscard]] auto BroadcastTypes() const; + [[nodiscard]] auto BroadcastChannels() const; }; template <> struct consume { @@ -908,7 +905,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsFilterRuleFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsFilterRule) CreateFilterRule(winrt::Windows::Devices::Sms::SmsMessageType const& messageType) const; + auto CreateFilterRule(winrt::Windows::Devices::Sms::SmsMessageType const& messageType) const; }; template <> struct consume { @@ -917,8 +914,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsFilterRules { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsFilterActionType) ActionType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Rules() const; + [[nodiscard]] auto ActionType() const; + [[nodiscard]] auto Rules() const; }; template <> struct consume { @@ -927,7 +924,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsFilterRulesFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsFilterRules) CreateFilterRules(winrt::Windows::Devices::Sms::SmsFilterActionType const& actionType) const; + auto CreateFilterRules(winrt::Windows::Devices::Sms::SmsFilterActionType const& actionType) const; }; template <> struct consume { @@ -936,8 +933,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsMessage { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageClass) MessageClass() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto MessageClass() const; }; template <> struct consume { @@ -946,11 +943,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsMessageBase { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageType) MessageType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) CellularClass() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageClass) MessageClass() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SimIccId() const; + [[nodiscard]] auto MessageType() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto CellularClass() const; + [[nodiscard]] auto MessageClass() const; + [[nodiscard]] auto SimIccId() const; }; template <> struct consume { @@ -959,8 +956,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsMessageReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsTextMessage) TextMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsBinaryMessage) BinaryMessage() const; + [[nodiscard]] auto TextMessage() const; + [[nodiscard]] auto BinaryMessage() const; }; template <> struct consume { @@ -969,15 +966,15 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageType) MessageType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsTextMessage2) TextMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsWapMessage) WapMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsAppMessage) AppMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsBroadcastMessage) BroadcastMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsVoicemailMessage) VoicemailMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsStatusMessage) StatusMessage() const; - WINRT_IMPL_AUTO(void) Drop() const; - WINRT_IMPL_AUTO(void) Accept() const; + [[nodiscard]] auto MessageType() const; + [[nodiscard]] auto TextMessage() const; + [[nodiscard]] auto WapMessage() const; + [[nodiscard]] auto AppMessage() const; + [[nodiscard]] auto BroadcastMessage() const; + [[nodiscard]] auto VoicemailMessage() const; + [[nodiscard]] auto StatusMessage() const; + auto Drop() const; + auto Accept() const; }; template <> struct consume { @@ -986,12 +983,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsMessageRegistration { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(void) Unregister() const; - WINRT_IMPL_AUTO(winrt::event_token) MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto Id() const; + auto Unregister() const; + auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using MessageReceived_revoker = impl::event_revoker::remove_MessageReceived>; - [[nodiscard]] MessageReceived_revoker MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) MessageReceived(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto MessageReceived(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -1000,8 +997,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsMessageRegistrationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AllRegistrations() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageRegistration) Register(param::hstring const& id, winrt::Windows::Devices::Sms::SmsFilterRules const& filterRules) const; + [[nodiscard]] auto AllRegistrations() const; + auto Register(param::hstring const& id, winrt::Windows::Devices::Sms::SmsFilterRules const& filterRules) const; }; template <> struct consume { @@ -1010,8 +1007,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsReceivedEventDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MessageIndex() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto MessageIndex() const; }; template <> struct consume { @@ -1020,8 +1017,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsReceivedEventDetails2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageClass) MessageClass() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsBinaryMessage) BinaryMessage() const; + [[nodiscard]] auto MessageClass() const; + [[nodiscard]] auto BinaryMessage() const; }; template <> struct consume { @@ -1030,13 +1027,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsSendMessageResult { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSuccessful() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) MessageReferenceNumbers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) CellularClass() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsModemErrorCode) ModemErrorCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsErrorTransient() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) NetworkCauseCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) TransportFailureCause() const; + [[nodiscard]] auto IsSuccessful() const; + [[nodiscard]] auto MessageReferenceNumbers() const; + [[nodiscard]] auto CellularClass() const; + [[nodiscard]] auto ModemErrorCode() const; + [[nodiscard]] auto IsErrorTransient() const; + [[nodiscard]] auto NetworkCauseCode() const; + [[nodiscard]] auto TransportFailureCause() const; }; template <> struct consume { @@ -1045,13 +1042,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsStatusMessage { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) To() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) From() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Body() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MessageReferenceNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) ServiceCenterTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) DischargeTime() const; + [[nodiscard]] auto To() const; + [[nodiscard]] auto From() const; + [[nodiscard]] auto Body() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto MessageReferenceNumber() const; + [[nodiscard]] auto ServiceCenterTimestamp() const; + [[nodiscard]] auto DischargeTime() const; }; template <> struct consume { @@ -1060,19 +1057,19 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsTextMessage { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PartReferenceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PartNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PartCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) To() const; - WINRT_IMPL_AUTO(void) To(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) From() const; - WINRT_IMPL_AUTO(void) From(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Body() const; - WINRT_IMPL_AUTO(void) Body(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncoding) Encoding() const; - WINRT_IMPL_AUTO(void) Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ToBinaryMessages(winrt::Windows::Devices::Sms::SmsDataFormat const& format) const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto PartReferenceId() const; + [[nodiscard]] auto PartNumber() const; + [[nodiscard]] auto PartCount() const; + [[nodiscard]] auto To() const; + auto To(param::hstring const& value) const; + [[nodiscard]] auto From() const; + auto From(param::hstring const& value) const; + [[nodiscard]] auto Body() const; + auto Body(param::hstring const& value) const; + [[nodiscard]] auto Encoding() const; + auto Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const; + auto ToBinaryMessages(winrt::Windows::Devices::Sms::SmsDataFormat const& format) const; }; template <> struct consume { @@ -1081,22 +1078,22 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsTextMessage2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) To() const; - WINRT_IMPL_AUTO(void) To(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) From() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Body() const; - WINRT_IMPL_AUTO(void) Body(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncoding) Encoding() const; - WINRT_IMPL_AUTO(void) Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CallbackNumber() const; - WINRT_IMPL_AUTO(void) CallbackNumber(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDeliveryNotificationEnabled() const; - WINRT_IMPL_AUTO(void) IsDeliveryNotificationEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RetryAttemptCount() const; - WINRT_IMPL_AUTO(void) RetryAttemptCount(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) TeleserviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ProtocolId() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto To() const; + auto To(param::hstring const& value) const; + [[nodiscard]] auto From() const; + [[nodiscard]] auto Body() const; + auto Body(param::hstring const& value) const; + [[nodiscard]] auto Encoding() const; + auto Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const; + [[nodiscard]] auto CallbackNumber() const; + auto CallbackNumber(param::hstring const& value) const; + [[nodiscard]] auto IsDeliveryNotificationEnabled() const; + auto IsDeliveryNotificationEnabled(bool value) const; + [[nodiscard]] auto RetryAttemptCount() const; + auto RetryAttemptCount(int32_t value) const; + [[nodiscard]] auto TeleserviceId() const; + [[nodiscard]] auto ProtocolId() const; }; template <> struct consume { @@ -1105,8 +1102,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsTextMessageStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsTextMessage) FromBinaryMessage(winrt::Windows::Devices::Sms::SmsBinaryMessage const& binaryMessage) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsTextMessage) FromBinaryData(winrt::Windows::Devices::Sms::SmsDataFormat const& format, array_view value) const; + auto FromBinaryMessage(winrt::Windows::Devices::Sms::SmsBinaryMessage const& binaryMessage) const; + auto FromBinaryData(winrt::Windows::Devices::Sms::SmsDataFormat const& format, array_view value) const; }; template <> struct consume { @@ -1115,10 +1112,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsVoicemailMessage { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) To() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Body() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MessageCount() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto To() const; + [[nodiscard]] auto Body() const; + [[nodiscard]] auto MessageCount() const; }; template <> struct consume { @@ -1127,13 +1124,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Sms_ISmsWapMessage { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) To() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) From() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ApplicationId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) BinaryBody() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Headers() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto To() const; + [[nodiscard]] auto From() const; + [[nodiscard]] auto ApplicationId() const; + [[nodiscard]] auto ContentType() const; + [[nodiscard]] auto BinaryBody() const; + [[nodiscard]] auto Headers() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.1.h index 48929793..d58291be 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Sms_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.2.h index 11b8bed0..284d2686 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Sms_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.0.h index b6612c4a..43175ea1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Spi_0_H @@ -7,14 +7,6 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Spi::Provider { struct ISpiProvider; } -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Devices::Spi { enum class SpiMode : int32_t @@ -153,10 +145,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Spi_ISpiBusInfo { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ChipSelectLineCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MinClockFrequency() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxClockFrequency() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedDataBitLengths() const; + [[nodiscard]] auto ChipSelectLineCount() const; + [[nodiscard]] auto MinClockFrequency() const; + [[nodiscard]] auto MaxClockFrequency() const; + [[nodiscard]] auto SupportedDataBitLengths() const; }; template <> struct consume { @@ -165,16 +157,16 @@ namespace winrt::impl template struct consume_Windows_Devices_Spi_ISpiConnectionSettings { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ChipSelectLine() const; - WINRT_IMPL_AUTO(void) ChipSelectLine(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::Devices::Spi::SpiMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DataBitLength() const; - WINRT_IMPL_AUTO(void) DataBitLength(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ClockFrequency() const; - WINRT_IMPL_AUTO(void) ClockFrequency(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiSharingMode) SharingMode() const; - WINRT_IMPL_AUTO(void) SharingMode(winrt::Windows::Devices::Spi::SpiSharingMode const& value) const; + [[nodiscard]] auto ChipSelectLine() const; + auto ChipSelectLine(int32_t value) const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Devices::Spi::SpiMode const& value) const; + [[nodiscard]] auto DataBitLength() const; + auto DataBitLength(int32_t value) const; + [[nodiscard]] auto ClockFrequency() const; + auto ClockFrequency(int32_t value) const; + [[nodiscard]] auto SharingMode() const; + auto SharingMode(winrt::Windows::Devices::Spi::SpiSharingMode const& value) const; }; template <> struct consume { @@ -183,7 +175,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Spi_ISpiConnectionSettingsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiConnectionSettings) Create(int32_t chipSelectLine) const; + auto Create(int32_t chipSelectLine) const; }; template <> struct consume { @@ -192,7 +184,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Spi_ISpiController { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiDevice) GetDevice(winrt::Windows::Devices::Spi::SpiConnectionSettings const& settings) const; + auto GetDevice(winrt::Windows::Devices::Spi::SpiConnectionSettings const& settings) const; }; template <> struct consume { @@ -201,8 +193,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Spi_ISpiControllerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetControllersAsync(winrt::Windows::Devices::Spi::Provider::ISpiProvider const& provider) const; + auto GetDefaultAsync() const; + auto GetControllersAsync(winrt::Windows::Devices::Spi::Provider::ISpiProvider const& provider) const; }; template <> struct consume { @@ -211,12 +203,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Spi_ISpiDevice { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiConnectionSettings) ConnectionSettings() const; - WINRT_IMPL_AUTO(void) Write(array_view buffer) const; - WINRT_IMPL_AUTO(void) Read(array_view buffer) const; - WINRT_IMPL_AUTO(void) TransferSequential(array_view writeBuffer, array_view readBuffer) const; - WINRT_IMPL_AUTO(void) TransferFullDuplex(array_view writeBuffer, array_view readBuffer) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto ConnectionSettings() const; + auto Write(array_view buffer) const; + auto Read(array_view buffer) const; + auto TransferSequential(array_view writeBuffer, array_view readBuffer) const; + auto TransferFullDuplex(array_view writeBuffer, array_view readBuffer) const; }; template <> struct consume { @@ -225,10 +217,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Spi_ISpiDeviceStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(param::hstring const& friendlyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiBusInfo) GetBusInfo(param::hstring const& busId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& busId, winrt::Windows::Devices::Spi::SpiConnectionSettings const& settings) const; + auto GetDeviceSelector() const; + auto GetDeviceSelector(param::hstring const& friendlyName) const; + auto GetBusInfo(param::hstring const& busId) const; + auto FromIdAsync(param::hstring const& busId, winrt::Windows::Devices::Spi::SpiConnectionSettings const& settings) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.1.h index 4d9e115a..0e8793cc 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Spi_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.2.h index cc150bb3..b017c759 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Spi_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.0.h index 3531c4ab..474f9f67 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.0.h @@ -1,16 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Spi_Provider_0_H #define WINRT_Windows_Devices_Spi_Provider_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Devices::Spi::Provider { enum class ProviderSpiMode : int32_t @@ -108,16 +100,16 @@ namespace winrt::impl template struct consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ChipSelectLine() const; - WINRT_IMPL_AUTO(void) ChipSelectLine(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ProviderSpiMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::Devices::Spi::Provider::ProviderSpiMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DataBitLength() const; - WINRT_IMPL_AUTO(void) DataBitLength(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ClockFrequency() const; - WINRT_IMPL_AUTO(void) ClockFrequency(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ProviderSpiSharingMode) SharingMode() const; - WINRT_IMPL_AUTO(void) SharingMode(winrt::Windows::Devices::Spi::Provider::ProviderSpiSharingMode const& value) const; + [[nodiscard]] auto ChipSelectLine() const; + auto ChipSelectLine(int32_t value) const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Devices::Spi::Provider::ProviderSpiMode const& value) const; + [[nodiscard]] auto DataBitLength() const; + auto DataBitLength(int32_t value) const; + [[nodiscard]] auto ClockFrequency() const; + auto ClockFrequency(int32_t value) const; + [[nodiscard]] auto SharingMode() const; + auto SharingMode(winrt::Windows::Devices::Spi::Provider::ProviderSpiSharingMode const& value) const; }; template <> struct consume { @@ -126,7 +118,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettingsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ProviderSpiConnectionSettings) Create(int32_t chipSelectLine) const; + auto Create(int32_t chipSelectLine) const; }; template <> struct consume { @@ -135,7 +127,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Spi_Provider_ISpiControllerProvider { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ISpiDeviceProvider) GetDeviceProvider(winrt::Windows::Devices::Spi::Provider::ProviderSpiConnectionSettings const& settings) const; + auto GetDeviceProvider(winrt::Windows::Devices::Spi::Provider::ProviderSpiConnectionSettings const& settings) const; }; template <> struct consume { @@ -144,12 +136,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ProviderSpiConnectionSettings) ConnectionSettings() const; - WINRT_IMPL_AUTO(void) Write(array_view buffer) const; - WINRT_IMPL_AUTO(void) Read(array_view buffer) const; - WINRT_IMPL_AUTO(void) TransferSequential(array_view writeBuffer, array_view readBuffer) const; - WINRT_IMPL_AUTO(void) TransferFullDuplex(array_view writeBuffer, array_view readBuffer) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto ConnectionSettings() const; + auto Write(array_view buffer) const; + auto Read(array_view buffer) const; + auto TransferSequential(array_view writeBuffer, array_view readBuffer) const; + auto TransferFullDuplex(array_view writeBuffer, array_view readBuffer) const; }; template <> struct consume { @@ -158,7 +150,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Spi_Provider_ISpiProvider { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetControllersAsync() const; + auto GetControllersAsync() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.1.h index f0eee27f..a886f40b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Spi_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.2.h index 54101d3f..62ee3692 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Spi_Provider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.0.h index 6b611046..655a2e82 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Usb_0_H @@ -7,14 +7,9 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IBuffer; @@ -580,9 +575,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbBulkInEndpointDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxPacketSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) EndpointNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkInPipe) Pipe() const; + [[nodiscard]] auto MaxPacketSize() const; + [[nodiscard]] auto EndpointNumber() const; + [[nodiscard]] auto Pipe() const; }; template <> struct consume { @@ -591,13 +586,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbBulkInPipe { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxTransferSizeBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkInEndpointDescriptor) EndpointDescriptor() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearStallAsync() const; - WINRT_IMPL_AUTO(void) ReadOptions(winrt::Windows::Devices::Usb::UsbReadOptions const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbReadOptions) ReadOptions() const; - WINRT_IMPL_AUTO(void) FlushBuffer() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) InputStream() const; + [[nodiscard]] auto MaxTransferSizeBytes() const; + [[nodiscard]] auto EndpointDescriptor() const; + auto ClearStallAsync() const; + auto ReadOptions(winrt::Windows::Devices::Usb::UsbReadOptions const& value) const; + [[nodiscard]] auto ReadOptions() const; + auto FlushBuffer() const; + [[nodiscard]] auto InputStream() const; }; template <> struct consume { @@ -606,9 +601,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbBulkOutEndpointDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxPacketSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) EndpointNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkOutPipe) Pipe() const; + [[nodiscard]] auto MaxPacketSize() const; + [[nodiscard]] auto EndpointNumber() const; + [[nodiscard]] auto Pipe() const; }; template <> struct consume { @@ -617,11 +612,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbBulkOutPipe { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor) EndpointDescriptor() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearStallAsync() const; - WINRT_IMPL_AUTO(void) WriteOptions(winrt::Windows::Devices::Usb::UsbWriteOptions const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbWriteOptions) WriteOptions() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) OutputStream() const; + [[nodiscard]] auto EndpointDescriptor() const; + auto ClearStallAsync() const; + auto WriteOptions(winrt::Windows::Devices::Usb::UsbWriteOptions const& value) const; + [[nodiscard]] auto WriteOptions() const; + [[nodiscard]] auto OutputStream() const; }; template <> struct consume { @@ -630,9 +625,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) UsbInterfaces() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbConfigurationDescriptor) ConfigurationDescriptor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Descriptors() const; + [[nodiscard]] auto UsbInterfaces() const; + [[nodiscard]] auto ConfigurationDescriptor() const; + [[nodiscard]] auto Descriptors() const; }; template <> struct consume { @@ -641,10 +636,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbConfigurationDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) ConfigurationValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxPowerMilliamps() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SelfPowered() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RemoteWakeup() const; + [[nodiscard]] auto ConfigurationValue() const; + [[nodiscard]] auto MaxPowerMilliamps() const; + [[nodiscard]] auto SelfPowered() const; + [[nodiscard]] auto RemoteWakeup() const; }; template <> struct consume { @@ -653,8 +648,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbConfigurationDescriptorStatics { - WINRT_IMPL_AUTO(bool) TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbConfigurationDescriptor& parsed) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbConfigurationDescriptor) Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const; + auto TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbConfigurationDescriptor& parsed) const; + auto Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const; }; template <> struct consume { @@ -663,14 +658,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbControlRequestType { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbTransferDirection) Direction() const; - WINRT_IMPL_AUTO(void) Direction(winrt::Windows::Devices::Usb::UsbTransferDirection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbControlTransferType) ControlTransferType() const; - WINRT_IMPL_AUTO(void) ControlTransferType(winrt::Windows::Devices::Usb::UsbControlTransferType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbControlRecipient) Recipient() const; - WINRT_IMPL_AUTO(void) Recipient(winrt::Windows::Devices::Usb::UsbControlRecipient const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) AsByte() const; - WINRT_IMPL_AUTO(void) AsByte(uint8_t value) const; + [[nodiscard]] auto Direction() const; + auto Direction(winrt::Windows::Devices::Usb::UsbTransferDirection const& value) const; + [[nodiscard]] auto ControlTransferType() const; + auto ControlTransferType(winrt::Windows::Devices::Usb::UsbControlTransferType const& value) const; + [[nodiscard]] auto Recipient() const; + auto Recipient(winrt::Windows::Devices::Usb::UsbControlRecipient const& value) const; + [[nodiscard]] auto AsByte() const; + auto AsByte(uint8_t value) const; }; template <> struct consume { @@ -679,9 +674,9 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Length() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) DescriptorType() const; - WINRT_IMPL_AUTO(void) ReadDescriptorBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + [[nodiscard]] auto Length() const; + [[nodiscard]] auto DescriptorType() const; + auto ReadDescriptorBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; }; template <> struct consume { @@ -690,13 +685,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbDevice { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendControlOutTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendControlOutTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendControlInTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendControlInTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterface) DefaultInterface() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceDescriptor) DeviceDescriptor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbConfiguration) Configuration() const; + auto SendControlOutTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto SendControlOutTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket) const; + auto SendControlInTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto SendControlInTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket) const; + [[nodiscard]] auto DefaultInterface() const; + [[nodiscard]] auto DeviceDescriptor() const; + [[nodiscard]] auto Configuration() const; }; template <> struct consume { @@ -705,12 +700,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbDeviceClass { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) ClassCode() const; - WINRT_IMPL_AUTO(void) ClassCode(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SubclassCode() const; - WINRT_IMPL_AUTO(void) SubclassCode(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ProtocolCode() const; - WINRT_IMPL_AUTO(void) ProtocolCode(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ClassCode() const; + auto ClassCode(uint8_t value) const; + [[nodiscard]] auto SubclassCode() const; + auto SubclassCode(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ProtocolCode() const; + auto ProtocolCode(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -727,15 +722,15 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbDeviceClassesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) CdcControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) Physical() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) PersonalHealthcare() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) ActiveSync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) PalmSync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) DeviceFirmwareUpdate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) Irda() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) Measurement() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) VendorSpecific() const; + [[nodiscard]] auto CdcControl() const; + [[nodiscard]] auto Physical() const; + [[nodiscard]] auto PersonalHealthcare() const; + [[nodiscard]] auto ActiveSync() const; + [[nodiscard]] auto PalmSync() const; + [[nodiscard]] auto DeviceFirmwareUpdate() const; + [[nodiscard]] auto Irda() const; + [[nodiscard]] auto Measurement() const; + [[nodiscard]] auto VendorSpecific() const; }; template <> struct consume { @@ -744,12 +739,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbDeviceDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) BcdUsb() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) MaxPacketSize0() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) VendorId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ProductId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) BcdDeviceRevision() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) NumberOfConfigurations() const; + [[nodiscard]] auto BcdUsb() const; + [[nodiscard]] auto MaxPacketSize0() const; + [[nodiscard]] auto VendorId() const; + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto BcdDeviceRevision() const; + [[nodiscard]] auto NumberOfConfigurations() const; }; template <> struct consume { @@ -758,11 +753,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbDeviceStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(uint32_t vendorId, uint32_t productId, winrt::guid const& winUsbInterfaceClass) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::guid const& winUsbInterfaceClass) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(uint32_t vendorId, uint32_t productId) const; - WINRT_IMPL_AUTO(hstring) GetDeviceClassSelector(winrt::Windows::Devices::Usb::UsbDeviceClass const& usbClass) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector(uint32_t vendorId, uint32_t productId, winrt::guid const& winUsbInterfaceClass) const; + auto GetDeviceSelector(winrt::guid const& winUsbInterfaceClass) const; + auto GetDeviceSelector(uint32_t vendorId, uint32_t productId) const; + auto GetDeviceClassSelector(winrt::Windows::Devices::Usb::UsbDeviceClass const& usbClass) const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { @@ -771,13 +766,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbEndpointDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) EndpointNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbTransferDirection) Direction() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbEndpointType) EndpointType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkInEndpointDescriptor) AsBulkInEndpointDescriptor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor) AsInterruptInEndpointDescriptor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor) AsBulkOutEndpointDescriptor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor) AsInterruptOutEndpointDescriptor() const; + [[nodiscard]] auto EndpointNumber() const; + [[nodiscard]] auto Direction() const; + [[nodiscard]] auto EndpointType() const; + [[nodiscard]] auto AsBulkInEndpointDescriptor() const; + [[nodiscard]] auto AsInterruptInEndpointDescriptor() const; + [[nodiscard]] auto AsBulkOutEndpointDescriptor() const; + [[nodiscard]] auto AsInterruptOutEndpointDescriptor() const; }; template <> struct consume { @@ -786,8 +781,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbEndpointDescriptorStatics { - WINRT_IMPL_AUTO(bool) TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbEndpointDescriptor& parsed) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbEndpointDescriptor) Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const; + auto TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbEndpointDescriptor& parsed) const; + auto Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const; }; template <> struct consume { @@ -796,13 +791,13 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbInterface { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) BulkInPipes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) InterruptInPipes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) BulkOutPipes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) InterruptOutPipes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) InterfaceSettings() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) InterfaceNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Descriptors() const; + [[nodiscard]] auto BulkInPipes() const; + [[nodiscard]] auto InterruptInPipes() const; + [[nodiscard]] auto BulkOutPipes() const; + [[nodiscard]] auto InterruptOutPipes() const; + [[nodiscard]] auto InterfaceSettings() const; + [[nodiscard]] auto InterfaceNumber() const; + [[nodiscard]] auto Descriptors() const; }; template <> struct consume { @@ -811,11 +806,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbInterfaceDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) ClassCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) SubclassCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) ProtocolCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) AlternateSettingNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) InterfaceNumber() const; + [[nodiscard]] auto ClassCode() const; + [[nodiscard]] auto SubclassCode() const; + [[nodiscard]] auto ProtocolCode() const; + [[nodiscard]] auto AlternateSettingNumber() const; + [[nodiscard]] auto InterfaceNumber() const; }; template <> struct consume { @@ -824,8 +819,8 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbInterfaceDescriptorStatics { - WINRT_IMPL_AUTO(bool) TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbInterfaceDescriptor& parsed) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterfaceDescriptor) Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const; + auto TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbInterfaceDescriptor& parsed) const; + auto Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const; }; template <> struct consume { @@ -834,14 +829,14 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbInterfaceSetting { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) BulkInEndpoints() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) InterruptInEndpoints() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) BulkOutEndpoints() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) InterruptOutEndpoints() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Selected() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SelectSettingAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterfaceDescriptor) InterfaceDescriptor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Descriptors() const; + [[nodiscard]] auto BulkInEndpoints() const; + [[nodiscard]] auto InterruptInEndpoints() const; + [[nodiscard]] auto BulkOutEndpoints() const; + [[nodiscard]] auto InterruptOutEndpoints() const; + [[nodiscard]] auto Selected() const; + auto SelectSettingAsync() const; + [[nodiscard]] auto InterfaceDescriptor() const; + [[nodiscard]] auto Descriptors() const; }; template <> struct consume { @@ -850,10 +845,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxPacketSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) EndpointNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Interval() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptInPipe) Pipe() const; + [[nodiscard]] auto MaxPacketSize() const; + [[nodiscard]] auto EndpointNumber() const; + [[nodiscard]] auto Interval() const; + [[nodiscard]] auto Pipe() const; }; template <> struct consume { @@ -862,7 +857,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbInterruptInEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) InterruptData() const; + [[nodiscard]] auto InterruptData() const; }; template <> struct consume { @@ -871,12 +866,12 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbInterruptInPipe { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor) EndpointDescriptor() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearStallAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) DataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EndpointDescriptor() const; + auto ClearStallAsync() const; + auto DataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DataReceived_revoker = impl::event_revoker::remove_DataReceived>; - [[nodiscard]] DataReceived_revoker DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DataReceived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DataReceived(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -885,10 +880,10 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxPacketSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) EndpointNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Interval() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptOutPipe) Pipe() const; + [[nodiscard]] auto MaxPacketSize() const; + [[nodiscard]] auto EndpointNumber() const; + [[nodiscard]] auto Interval() const; + [[nodiscard]] auto Pipe() const; }; template <> struct consume { @@ -897,11 +892,11 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbInterruptOutPipe { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor) EndpointDescriptor() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearStallAsync() const; - WINRT_IMPL_AUTO(void) WriteOptions(winrt::Windows::Devices::Usb::UsbWriteOptions const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbWriteOptions) WriteOptions() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) OutputStream() const; + [[nodiscard]] auto EndpointDescriptor() const; + auto ClearStallAsync() const; + auto WriteOptions(winrt::Windows::Devices::Usb::UsbWriteOptions const& value) const; + [[nodiscard]] auto WriteOptions() const; + [[nodiscard]] auto OutputStream() const; }; template <> struct consume { @@ -910,16 +905,16 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbSetupPacket { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbControlRequestType) RequestType() const; - WINRT_IMPL_AUTO(void) RequestType(winrt::Windows::Devices::Usb::UsbControlRequestType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Request() const; - WINRT_IMPL_AUTO(void) Request(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Value() const; - WINRT_IMPL_AUTO(void) Value(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Index() const; - WINRT_IMPL_AUTO(void) Index(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Length() const; - WINRT_IMPL_AUTO(void) Length(uint32_t value) const; + [[nodiscard]] auto RequestType() const; + auto RequestType(winrt::Windows::Devices::Usb::UsbControlRequestType const& value) const; + [[nodiscard]] auto Request() const; + auto Request(uint8_t value) const; + [[nodiscard]] auto Value() const; + auto Value(uint32_t value) const; + [[nodiscard]] auto Index() const; + auto Index(uint32_t value) const; + [[nodiscard]] auto Length() const; + auto Length(uint32_t value) const; }; template <> struct consume { @@ -928,7 +923,7 @@ namespace winrt::impl template struct consume_Windows_Devices_Usb_IUsbSetupPacketFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbSetupPacket) CreateWithEightByteBuffer(winrt::Windows::Storage::Streams::IBuffer const& eightByteBuffer) const; + auto CreateWithEightByteBuffer(winrt::Windows::Storage::Streams::IBuffer const& eightByteBuffer) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.1.h index 832cdad9..f03b3354 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Usb_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.2.h index 59fb39e0..e4251891 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_Usb_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.0.h index c7c51fd3..f6f6370f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_WiFi_0_H @@ -7,13 +7,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Networking::Connectivity { struct NetworkAdapter; @@ -231,17 +226,17 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFi_IWiFiAdapter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAdapter) NetworkAdapter() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ScanAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFi::WiFiNetworkReport) NetworkReport() const; - WINRT_IMPL_AUTO(winrt::event_token) AvailableNetworksChanged(winrt::Windows::Foundation::TypedEventHandler const& args) const; + [[nodiscard]] auto NetworkAdapter() const; + auto ScanAsync() const; + [[nodiscard]] auto NetworkReport() const; + auto AvailableNetworksChanged(winrt::Windows::Foundation::TypedEventHandler const& args) const; using AvailableNetworksChanged_revoker = impl::event_revoker::remove_AvailableNetworksChanged>; - [[nodiscard]] AvailableNetworksChanged_revoker AvailableNetworksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& args) const; - WINRT_IMPL_AUTO(void) AvailableNetworksChanged(winrt::event_token const& eventCookie) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential, param::hstring const& ssid) const; - WINRT_IMPL_AUTO(void) Disconnect() const; + [[nodiscard]] auto AvailableNetworksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& args) const; + auto AvailableNetworksChanged(winrt::event_token const& eventCookie) const noexcept; + auto ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind) const; + auto ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const; + auto ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential, param::hstring const& ssid) const; + auto Disconnect() const; }; template <> struct consume { @@ -250,8 +245,8 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFi_IWiFiAdapter2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetWpsConfigurationAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential, param::hstring const& ssid, winrt::Windows::Devices::WiFi::WiFiConnectionMethod const& connectionMethod) const; + auto GetWpsConfigurationAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork) const; + auto ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential, param::hstring const& ssid, winrt::Windows::Devices::WiFi::WiFiConnectionMethod const& connectionMethod) const; }; template <> struct consume { @@ -260,10 +255,10 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFi_IWiFiAdapterStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAdaptersAsync() const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; + auto FindAllAdaptersAsync() const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; + auto RequestAccessAsync() const; }; template <> struct consume { @@ -272,17 +267,17 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFi_IWiFiAvailableNetwork { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Uptime() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Ssid() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Bssid() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ChannelCenterFrequencyInKilohertz() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) NetworkRssiInDecibelMilliwatts() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) SignalBars() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFi::WiFiNetworkKind) NetworkKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFi::WiFiPhyKind) PhyKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkSecuritySettings) SecuritySettings() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) BeaconInterval() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsWiFiDirect() const; + [[nodiscard]] auto Uptime() const; + [[nodiscard]] auto Ssid() const; + [[nodiscard]] auto Bssid() const; + [[nodiscard]] auto ChannelCenterFrequencyInKilohertz() const; + [[nodiscard]] auto NetworkRssiInDecibelMilliwatts() const; + [[nodiscard]] auto SignalBars() const; + [[nodiscard]] auto NetworkKind() const; + [[nodiscard]] auto PhyKind() const; + [[nodiscard]] auto SecuritySettings() const; + [[nodiscard]] auto BeaconInterval() const; + [[nodiscard]] auto IsWiFiDirect() const; }; template <> struct consume { @@ -291,7 +286,7 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFi_IWiFiConnectionResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFi::WiFiConnectionStatus) ConnectionStatus() const; + [[nodiscard]] auto ConnectionStatus() const; }; template <> struct consume { @@ -300,8 +295,8 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFi_IWiFiNetworkReport { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AvailableNetworks() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto AvailableNetworks() const; }; template <> struct consume { @@ -310,8 +305,8 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFi_IWiFiWpsConfigurationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFi::WiFiWpsConfigurationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedWpsKinds() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto SupportedWpsKinds() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.1.h index c7fdf3e8..e7d351a9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_WiFi_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.2.h index 4bebbae3..e84b7dd4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_WiFi_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.0.h index c4550ae7..a9fdbac2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_WiFiDirect_0_H @@ -11,18 +11,12 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { - template struct __declspec(empty_bases) IVectorView; template struct __declspec(empty_bases) IVector; } -WINRT_EXPORT namespace winrt::Windows::Networking -{ - struct EndpointPair; -} WINRT_EXPORT namespace winrt::Windows::Security::Credentials { struct PasswordCredential; @@ -342,13 +336,13 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) InformationElements() const; - WINRT_IMPL_AUTO(void) InformationElements(param::vector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementListenStateDiscoverability) ListenStateDiscoverability() const; - WINRT_IMPL_AUTO(void) ListenStateDiscoverability(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementListenStateDiscoverability const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAutonomousGroupOwnerEnabled() const; - WINRT_IMPL_AUTO(void) IsAutonomousGroupOwnerEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectLegacySettings) LegacySettings() const; + [[nodiscard]] auto InformationElements() const; + auto InformationElements(param::vector const& value) const; + [[nodiscard]] auto ListenStateDiscoverability() const; + auto ListenStateDiscoverability(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementListenStateDiscoverability const& value) const; + [[nodiscard]] auto IsAutonomousGroupOwnerEnabled() const; + auto IsAutonomousGroupOwnerEnabled(bool value) const; + [[nodiscard]] auto LegacySettings() const; }; template <> struct consume { @@ -357,7 +351,7 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SupportedConfigurationMethods() const; + [[nodiscard]] auto SupportedConfigurationMethods() const; }; template <> struct consume { @@ -366,14 +360,14 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisement) Advertisement() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatus) Status() const; - WINRT_IMPL_AUTO(winrt::event_token) StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Advertisement() const; + [[nodiscard]] auto Status() const; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; - [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StatusChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusChanged(winrt::event_token const& token) const noexcept; + auto Start() const; + auto Stop() const; }; template <> struct consume { @@ -382,8 +376,8 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisherStatusChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectError) Error() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Error() const; }; template <> struct consume { @@ -392,10 +386,10 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener { - WINRT_IMPL_AUTO(winrt::event_token) ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ConnectionRequested_revoker = impl::event_revoker::remove_ConnectionRequested>; - [[nodiscard]] ConnectionRequested_revoker ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ConnectionRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConnectionRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -404,8 +398,8 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters { - [[nodiscard]] WINRT_IMPL_AUTO(int16_t) GroupOwnerIntent() const; - WINRT_IMPL_AUTO(void) GroupOwnerIntent(int16_t value) const; + [[nodiscard]] auto GroupOwnerIntent() const; + auto GroupOwnerIntent(int16_t value) const; }; template <> struct consume { @@ -414,9 +408,9 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) PreferenceOrderedConfigurationMethods() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectPairingProcedure) PreferredPairingProcedure() const; - WINRT_IMPL_AUTO(void) PreferredPairingProcedure(winrt::Windows::Devices::WiFiDirect::WiFiDirectPairingProcedure const& value) const; + [[nodiscard]] auto PreferenceOrderedConfigurationMethods() const; + [[nodiscard]] auto PreferredPairingProcedure() const; + auto PreferredPairingProcedure(winrt::Windows::Devices::WiFiDirect::WiFiDirectPairingProcedure const& value) const; }; template <> struct consume { @@ -425,7 +419,7 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParametersStatics { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePairingKinds) GetDevicePairingKinds(winrt::Windows::Devices::WiFiDirect::WiFiDirectConfigurationMethod const& configurationMethod) const; + auto GetDevicePairingKinds(winrt::Windows::Devices::WiFiDirect::WiFiDirectConfigurationMethod const& configurationMethod) const; }; template <> struct consume { @@ -434,7 +428,7 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) DeviceInformation() const; + [[nodiscard]] auto DeviceInformation() const; }; template <> struct consume { @@ -443,7 +437,7 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionRequestedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionRequest) GetConnectionRequest() const; + auto GetConnectionRequest() const; }; template <> struct consume { @@ -452,13 +446,13 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionStatus) ConnectionStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - WINRT_IMPL_AUTO(winrt::event_token) ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ConnectionStatus() const; + [[nodiscard]] auto DeviceId() const; + auto ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ConnectionStatusChanged_revoker = impl::event_revoker::remove_ConnectionStatusChanged>; - [[nodiscard]] ConnectionStatusChanged_revoker ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ConnectionStatusChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetConnectionEndpointPairs() const; + [[nodiscard]] auto ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConnectionStatusChanged(winrt::event_token const& token) const noexcept; + auto GetConnectionEndpointPairs() const; }; template <> struct consume { @@ -467,8 +461,8 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { @@ -477,8 +471,8 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics2 { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::Windows::Devices::WiFiDirect::WiFiDirectDeviceSelectorType const& type) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionParameters const& connectionParameters) const; + auto GetDeviceSelector(winrt::Windows::Devices::WiFiDirect::WiFiDirectDeviceSelectorType const& type) const; + auto FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionParameters const& connectionParameters) const; }; template <> struct consume { @@ -487,12 +481,12 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Oui() const; - WINRT_IMPL_AUTO(void) Oui(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) OuiType() const; - WINRT_IMPL_AUTO(void) OuiType(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Value() const; - WINRT_IMPL_AUTO(void) Value(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto Oui() const; + auto Oui(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto OuiType() const; + auto OuiType(uint8_t value) const; + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::Storage::Streams::IBuffer const& value) const; }; template <> struct consume { @@ -501,8 +495,8 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElementStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) CreateFromDeviceInformation(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInformation) const; + auto CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CreateFromDeviceInformation(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInformation) const; }; template <> struct consume { @@ -511,12 +505,12 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Ssid() const; - WINRT_IMPL_AUTO(void) Ssid(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) Passphrase() const; - WINRT_IMPL_AUTO(void) Passphrase(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto Ssid() const; + auto Ssid(param::hstring const& value) const; + [[nodiscard]] auto Passphrase() const; + auto Passphrase(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.1.h index 525b6ff1..02be4d9d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_WiFiDirect_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.2.h index e864589a..8feae78d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_WiFiDirect_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.0.h index c618c49e..798088a1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_WiFiDirect_Services_0_H @@ -11,18 +11,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} -WINRT_EXPORT namespace winrt::Windows::Networking -{ - struct EndpointPair; -} WINRT_EXPORT namespace winrt::Windows::Networking::Sockets { struct DatagramSocket; @@ -316,20 +306,20 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) RemoteServiceInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedConfigurationMethods() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PreferGroupOwnerMode() const; - WINRT_IMPL_AUTO(void) PreferGroupOwnerMode(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) SessionInfo() const; - WINRT_IMPL_AUTO(void) SessionInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceError) ServiceError() const; - WINRT_IMPL_AUTO(winrt::event_token) SessionDeferred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto RemoteServiceInfo() const; + [[nodiscard]] auto SupportedConfigurationMethods() const; + [[nodiscard]] auto PreferGroupOwnerMode() const; + auto PreferGroupOwnerMode(bool value) const; + [[nodiscard]] auto SessionInfo() const; + auto SessionInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto ServiceError() const; + auto SessionDeferred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SessionDeferred_revoker = impl::event_revoker::remove_SessionDeferred>; - [[nodiscard]] SessionDeferred_revoker SessionDeferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SessionDeferred(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetProvisioningInfoAsync(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod const& selectedConfigurationMethod) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConnectAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConnectAsync(param::hstring const& pin) const; + [[nodiscard]] auto SessionDeferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SessionDeferred(winrt::event_token const& token) const noexcept; + auto GetProvisioningInfoAsync(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod const& selectedConfigurationMethod) const; + auto ConnectAsync() const; + auto ConnectAsync(param::hstring const& pin) const; }; template <> struct consume { @@ -338,39 +328,39 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ServiceNamePrefixes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ServiceInfo() const; - WINRT_IMPL_AUTO(void) ServiceInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoAcceptSession() const; - WINRT_IMPL_AUTO(void) AutoAcceptSession(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PreferGroupOwnerMode() const; - WINRT_IMPL_AUTO(void) PreferGroupOwnerMode(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) PreferredConfigurationMethods() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceStatus) ServiceStatus() const; - WINRT_IMPL_AUTO(void) ServiceStatus(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceStatus const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CustomServiceStatusCode() const; - WINRT_IMPL_AUTO(void) CustomServiceStatusCode(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) DeferredSessionInfo() const; - WINRT_IMPL_AUTO(void) DeferredSessionInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertisementStatus) AdvertisementStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceError) ServiceError() const; - WINRT_IMPL_AUTO(winrt::event_token) SessionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ServiceName() const; + [[nodiscard]] auto ServiceNamePrefixes() const; + [[nodiscard]] auto ServiceInfo() const; + auto ServiceInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto AutoAcceptSession() const; + auto AutoAcceptSession(bool value) const; + [[nodiscard]] auto PreferGroupOwnerMode() const; + auto PreferGroupOwnerMode(bool value) const; + [[nodiscard]] auto PreferredConfigurationMethods() const; + [[nodiscard]] auto ServiceStatus() const; + auto ServiceStatus(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceStatus const& value) const; + [[nodiscard]] auto CustomServiceStatusCode() const; + auto CustomServiceStatusCode(uint32_t value) const; + [[nodiscard]] auto DeferredSessionInfo() const; + auto DeferredSessionInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto AdvertisementStatus() const; + [[nodiscard]] auto ServiceError() const; + auto SessionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SessionRequested_revoker = impl::event_revoker::remove_SessionRequested>; - [[nodiscard]] SessionRequested_revoker SessionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SessionRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AutoAcceptSessionConnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SessionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SessionRequested(winrt::event_token const& token) const noexcept; + auto AutoAcceptSessionConnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AutoAcceptSessionConnected_revoker = impl::event_revoker::remove_AutoAcceptSessionConnected>; - [[nodiscard]] AutoAcceptSessionConnected_revoker AutoAcceptSessionConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AutoAcceptSessionConnected(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AdvertisementStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AutoAcceptSessionConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AutoAcceptSessionConnected(winrt::event_token const& token) const noexcept; + auto AdvertisementStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AdvertisementStatusChanged_revoker = impl::event_revoker::remove_AdvertisementStatusChanged>; - [[nodiscard]] AdvertisementStatusChanged_revoker AdvertisementStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AdvertisementStatusChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConnectAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInfo) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConnectAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInfo, param::hstring const& pin) const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto AdvertisementStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AdvertisementStatusChanged(winrt::event_token const& token) const noexcept; + auto ConnectAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInfo) const; + auto ConnectAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInfo, param::hstring const& pin) const; + auto Start() const; + auto Stop() const; }; template <> struct consume { @@ -379,7 +369,7 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiserFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser) CreateWiFiDirectServiceAdvertiser(param::hstring const& serviceName) const; + auto CreateWiFiDirectServiceAdvertiser(param::hstring const& serviceName) const; }; template <> struct consume { @@ -388,8 +378,8 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession) Session() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) SessionInfo() const; + [[nodiscard]] auto Session() const; + [[nodiscard]] auto SessionInfo() const; }; template <> struct consume { @@ -398,8 +388,8 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceProvisioningInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod) SelectedConfigurationMethod() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGroupFormationNeeded() const; + [[nodiscard]] auto SelectedConfigurationMethod() const; + [[nodiscard]] auto IsGroupFormationNeeded() const; }; template <> struct consume { @@ -408,8 +398,8 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceRemotePortAddedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) EndpointPairs() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceIPProtocol) Protocol() const; + [[nodiscard]] auto EndpointPairs() const; + [[nodiscard]] auto Protocol() const; }; template <> struct consume { @@ -418,24 +408,24 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionErrorStatus) ErrorStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SessionId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) AdvertisementId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SessionAddress() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetConnectionEndpointPairs() const; - WINRT_IMPL_AUTO(winrt::event_token) SessionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ServiceName() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ErrorStatus() const; + [[nodiscard]] auto SessionId() const; + [[nodiscard]] auto AdvertisementId() const; + [[nodiscard]] auto ServiceAddress() const; + [[nodiscard]] auto SessionAddress() const; + auto GetConnectionEndpointPairs() const; + auto SessionStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SessionStatusChanged_revoker = impl::event_revoker::remove_SessionStatusChanged>; - [[nodiscard]] SessionStatusChanged_revoker SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SessionStatusChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AddStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AddDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) RemotePortAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SessionStatusChanged(winrt::event_token const& token) const noexcept; + auto AddStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& value) const; + auto AddDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& value) const; + auto RemotePortAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RemotePortAdded_revoker = impl::event_revoker::remove_RemotePortAdded>; - [[nodiscard]] RemotePortAdded_revoker RemotePortAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RemotePortAdded(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RemotePortAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RemotePortAdded(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -444,7 +434,7 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionDeferredEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) DeferredSessionInfo() const; + [[nodiscard]] auto DeferredSessionInfo() const; }; template <> struct consume { @@ -453,9 +443,9 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) DeviceInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceProvisioningInfo) ProvisioningInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) SessionInfo() const; + [[nodiscard]] auto DeviceInformation() const; + [[nodiscard]] auto ProvisioningInfo() const; + [[nodiscard]] auto SessionInfo() const; }; template <> struct consume { @@ -464,7 +454,7 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequestedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionRequest) GetSessionRequest() const; + auto GetSessionRequest() const; }; template <> struct consume { @@ -473,9 +463,9 @@ namespace winrt::impl template struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceStatics { - WINRT_IMPL_AUTO(hstring) GetSelector(param::hstring const& serviceName) const; - WINRT_IMPL_AUTO(hstring) GetSelector(param::hstring const& serviceName, winrt::Windows::Storage::Streams::IBuffer const& serviceInfoFilter) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& deviceId) const; + auto GetSelector(param::hstring const& serviceName) const; + auto GetSelector(param::hstring const& serviceName, winrt::Windows::Storage::Streams::IBuffer const& serviceInfoFilter) const; + auto FromIdAsync(param::hstring const& deviceId) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.1.h index 9466502a..f0bdef2b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_WiFiDirect_Services_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.2.h index 802c58ca..de138424 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Devices_WiFiDirect_Services_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.0.h index 72c9c5b5..2f0afff0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Embedded_DeviceLockdown_0_H @@ -7,10 +7,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Embedded::DeviceLockdown { struct IDeviceLockdownProfileInformation; @@ -51,7 +47,7 @@ namespace winrt::impl template struct consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileInformation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; + [[nodiscard]] auto Name() const; }; template <> struct consume { @@ -60,10 +56,10 @@ namespace winrt::impl template struct consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetSupportedLockdownProfiles() const; - WINRT_IMPL_AUTO(winrt::guid) GetCurrentLockdownProfile() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ApplyLockdownProfileAsync(winrt::guid const& profileID) const; - WINRT_IMPL_AUTO(winrt::Windows::Embedded::DeviceLockdown::DeviceLockdownProfileInformation) GetLockdownProfileInformation(winrt::guid const& profileID) const; + auto GetSupportedLockdownProfiles() const; + auto GetCurrentLockdownProfile() const; + auto ApplyLockdownProfileAsync(winrt::guid const& profileID) const; + auto GetLockdownProfileInformation(winrt::guid const& profileID) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.1.h index d81d0c8f..aeef40e9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Embedded_DeviceLockdown_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.2.h index 66348771..79797488 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Embedded_DeviceLockdown_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.0.h index 5f6e306d..eb50e12e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_0_H @@ -594,9 +594,9 @@ namespace winrt::impl template struct consume_Windows_Foundation_IAsyncAction { - WINRT_IMPL_AUTO(void) Completed(winrt::Windows::Foundation::AsyncActionCompletedHandler const& handler) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncActionCompletedHandler) Completed() const; - WINRT_IMPL_AUTO(void) GetResults() const; + auto Completed(winrt::Windows::Foundation::AsyncActionCompletedHandler const& handler) const; + [[nodiscard]] auto Completed() const; + auto GetResults() const; auto get() const; auto wait_for(Windows::Foundation::TimeSpan const& timeout) const; }; @@ -607,11 +607,11 @@ namespace winrt::impl template struct consume_Windows_Foundation_IAsyncActionWithProgress { - WINRT_IMPL_AUTO(void) Progress(winrt::Windows::Foundation::AsyncActionProgressHandler const& handler) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncActionProgressHandler) Progress() const; - WINRT_IMPL_AUTO(void) Completed(winrt::Windows::Foundation::AsyncActionWithProgressCompletedHandler const& handler) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncActionWithProgressCompletedHandler) Completed() const; - WINRT_IMPL_AUTO(void) GetResults() const; + auto Progress(winrt::Windows::Foundation::AsyncActionProgressHandler const& handler) const; + [[nodiscard]] auto Progress() const; + auto Completed(winrt::Windows::Foundation::AsyncActionWithProgressCompletedHandler const& handler) const; + [[nodiscard]] auto Completed() const; + auto GetResults() const; auto get() const; auto wait_for(Windows::Foundation::TimeSpan const& timeout) const; }; @@ -622,11 +622,11 @@ namespace winrt::impl template struct consume_Windows_Foundation_IAsyncInfo { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ErrorCode() const; - WINRT_IMPL_AUTO(void) Cancel() const; - WINRT_IMPL_AUTO(void) Close() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ErrorCode() const; + auto Cancel() const; + auto Close() const; }; template <> struct consume { @@ -635,11 +635,11 @@ namespace winrt::impl template struct consume_Windows_Foundation_IAsyncOperationWithProgress { - WINRT_IMPL_AUTO(void) Progress(winrt::Windows::Foundation::AsyncOperationProgressHandler const& handler) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncOperationProgressHandler) Progress() const; - WINRT_IMPL_AUTO(void) Completed(winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler const& handler) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler) Completed() const; - WINRT_IMPL_AUTO(TResult) GetResults() const; + auto Progress(winrt::Windows::Foundation::AsyncOperationProgressHandler const& handler) const; + [[nodiscard]] auto Progress() const; + auto Completed(winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler const& handler) const; + [[nodiscard]] auto Completed() const; + auto GetResults() const; auto get() const; auto wait_for(Windows::Foundation::TimeSpan const& timeout) const; }; @@ -650,9 +650,9 @@ namespace winrt::impl template struct consume_Windows_Foundation_IAsyncOperation { - WINRT_IMPL_AUTO(void) Completed(winrt::Windows::Foundation::AsyncOperationCompletedHandler const& handler) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncOperationCompletedHandler) Completed() const; - WINRT_IMPL_AUTO(TResult) GetResults() const; + auto Completed(winrt::Windows::Foundation::AsyncOperationCompletedHandler const& handler) const; + [[nodiscard]] auto Completed() const; + auto GetResults() const; auto get() const; auto wait_for(Windows::Foundation::TimeSpan const& timeout) const; }; @@ -663,7 +663,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_IClosable { - WINRT_IMPL_AUTO(void) Close() const; + auto Close() const; }; template <> struct consume { @@ -672,7 +672,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_IDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -681,7 +681,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_IDeferralFactory { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) Create(winrt::Windows::Foundation::DeferralCompletedHandler const& handler) const; + auto Create(winrt::Windows::Foundation::DeferralCompletedHandler const& handler) const; }; template <> struct consume { @@ -690,7 +690,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_IGetActivationFactory { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetActivationFactory(param::hstring const& activatableClassId) const; + auto GetActivationFactory(param::hstring const& activatableClassId) const; }; template <> struct consume { @@ -699,9 +699,9 @@ namespace winrt::impl template struct consume_Windows_Foundation_IGuidHelperStatics { - WINRT_IMPL_AUTO(winrt::guid) CreateNewGuid() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Empty() const; - WINRT_IMPL_AUTO(bool) Equals(winrt::guid const& target, winrt::guid const& value) const; + auto CreateNewGuid() const; + [[nodiscard]] auto Empty() const; + auto Equals(winrt::guid const& target, winrt::guid const& value) const; }; template <> struct consume { @@ -710,7 +710,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_IMemoryBuffer { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IMemoryBufferReference) CreateReference() const; + auto CreateReference() const; }; template <> struct consume { @@ -719,7 +719,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_IMemoryBufferFactory { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::MemoryBuffer) Create(uint32_t capacity) const; + auto Create(uint32_t capacity) const; }; template <> struct consume { @@ -728,11 +728,11 @@ namespace winrt::impl template struct consume_Windows_Foundation_IMemoryBufferReference { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Capacity() const; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Capacity() const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& cookie) const noexcept; auto data() const { @@ -749,45 +749,45 @@ namespace winrt::impl template struct consume_Windows_Foundation_IPropertyValue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::PropertyType) Type() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsNumericScalar() const; - WINRT_IMPL_AUTO(uint8_t) GetUInt8() const; - WINRT_IMPL_AUTO(int16_t) GetInt16() const; - WINRT_IMPL_AUTO(uint16_t) GetUInt16() const; - WINRT_IMPL_AUTO(int32_t) GetInt32() const; - WINRT_IMPL_AUTO(uint32_t) GetUInt32() const; - WINRT_IMPL_AUTO(int64_t) GetInt64() const; - WINRT_IMPL_AUTO(uint64_t) GetUInt64() const; - WINRT_IMPL_AUTO(float) GetSingle() const; - WINRT_IMPL_AUTO(double) GetDouble() const; - WINRT_IMPL_AUTO(char16_t) GetChar16() const; - WINRT_IMPL_AUTO(bool) GetBoolean() const; - WINRT_IMPL_AUTO(hstring) GetString() const; - WINRT_IMPL_AUTO(winrt::guid) GetGuid() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) GetDateTime() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) GetTimeSpan() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) GetPoint() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) GetSize() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) GetRect() const; - WINRT_IMPL_AUTO(void) GetUInt8Array(com_array& value) const; - WINRT_IMPL_AUTO(void) GetInt16Array(com_array& value) const; - WINRT_IMPL_AUTO(void) GetUInt16Array(com_array& value) const; - WINRT_IMPL_AUTO(void) GetInt32Array(com_array& value) const; - WINRT_IMPL_AUTO(void) GetUInt32Array(com_array& value) const; - WINRT_IMPL_AUTO(void) GetInt64Array(com_array& value) const; - WINRT_IMPL_AUTO(void) GetUInt64Array(com_array& value) const; - WINRT_IMPL_AUTO(void) GetSingleArray(com_array& value) const; - WINRT_IMPL_AUTO(void) GetDoubleArray(com_array& value) const; - WINRT_IMPL_AUTO(void) GetChar16Array(com_array& value) const; - WINRT_IMPL_AUTO(void) GetBooleanArray(com_array& value) const; - WINRT_IMPL_AUTO(void) GetStringArray(com_array& value) const; - WINRT_IMPL_AUTO(void) GetInspectableArray(com_array& value) const; - WINRT_IMPL_AUTO(void) GetGuidArray(com_array& value) const; - WINRT_IMPL_AUTO(void) GetDateTimeArray(com_array& value) const; - WINRT_IMPL_AUTO(void) GetTimeSpanArray(com_array& value) const; - WINRT_IMPL_AUTO(void) GetPointArray(com_array& value) const; - WINRT_IMPL_AUTO(void) GetSizeArray(com_array& value) const; - WINRT_IMPL_AUTO(void) GetRectArray(com_array& value) const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto IsNumericScalar() const; + auto GetUInt8() const; + auto GetInt16() const; + auto GetUInt16() const; + auto GetInt32() const; + auto GetUInt32() const; + auto GetInt64() const; + auto GetUInt64() const; + auto GetSingle() const; + auto GetDouble() const; + auto GetChar16() const; + auto GetBoolean() const; + auto GetString() const; + auto GetGuid() const; + auto GetDateTime() const; + auto GetTimeSpan() const; + auto GetPoint() const; + auto GetSize() const; + auto GetRect() const; + auto GetUInt8Array(com_array& value) const; + auto GetInt16Array(com_array& value) const; + auto GetUInt16Array(com_array& value) const; + auto GetInt32Array(com_array& value) const; + auto GetUInt32Array(com_array& value) const; + auto GetInt64Array(com_array& value) const; + auto GetUInt64Array(com_array& value) const; + auto GetSingleArray(com_array& value) const; + auto GetDoubleArray(com_array& value) const; + auto GetChar16Array(com_array& value) const; + auto GetBooleanArray(com_array& value) const; + auto GetStringArray(com_array& value) const; + auto GetInspectableArray(com_array& value) const; + auto GetGuidArray(com_array& value) const; + auto GetDateTimeArray(com_array& value) const; + auto GetTimeSpanArray(com_array& value) const; + auto GetPointArray(com_array& value) const; + auto GetSizeArray(com_array& value) const; + auto GetRectArray(com_array& value) const; }; template <> struct consume { @@ -796,45 +796,45 @@ namespace winrt::impl template struct consume_Windows_Foundation_IPropertyValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateEmpty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateUInt8(uint8_t value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateInt16(int16_t value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateUInt16(uint16_t value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateInt32(int32_t value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateUInt32(uint32_t value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateInt64(int64_t value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateUInt64(uint64_t value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateSingle(float value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateDouble(double value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateChar16(char16_t value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateBoolean(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateString(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateInspectable(winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateGuid(winrt::guid const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateDateTime(winrt::Windows::Foundation::DateTime const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateTimeSpan(winrt::Windows::Foundation::TimeSpan const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreatePoint(winrt::Windows::Foundation::Point const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateSize(winrt::Windows::Foundation::Size const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateRect(winrt::Windows::Foundation::Rect const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateUInt8Array(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateInt16Array(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateUInt16Array(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateInt32Array(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateUInt32Array(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateInt64Array(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateUInt64Array(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateSingleArray(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateDoubleArray(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateChar16Array(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateBooleanArray(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateStringArray(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateInspectableArray(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateGuidArray(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateDateTimeArray(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateTimeSpanArray(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreatePointArray(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateSizeArray(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateRectArray(array_view value) const; + auto CreateEmpty() const; + auto CreateUInt8(uint8_t value) const; + auto CreateInt16(int16_t value) const; + auto CreateUInt16(uint16_t value) const; + auto CreateInt32(int32_t value) const; + auto CreateUInt32(uint32_t value) const; + auto CreateInt64(int64_t value) const; + auto CreateUInt64(uint64_t value) const; + auto CreateSingle(float value) const; + auto CreateDouble(double value) const; + auto CreateChar16(char16_t value) const; + auto CreateBoolean(bool value) const; + auto CreateString(param::hstring const& value) const; + auto CreateInspectable(winrt::Windows::Foundation::IInspectable const& value) const; + auto CreateGuid(winrt::guid const& value) const; + auto CreateDateTime(winrt::Windows::Foundation::DateTime const& value) const; + auto CreateTimeSpan(winrt::Windows::Foundation::TimeSpan const& value) const; + auto CreatePoint(winrt::Windows::Foundation::Point const& value) const; + auto CreateSize(winrt::Windows::Foundation::Size const& value) const; + auto CreateRect(winrt::Windows::Foundation::Rect const& value) const; + auto CreateUInt8Array(array_view value) const; + auto CreateInt16Array(array_view value) const; + auto CreateUInt16Array(array_view value) const; + auto CreateInt32Array(array_view value) const; + auto CreateUInt32Array(array_view value) const; + auto CreateInt64Array(array_view value) const; + auto CreateUInt64Array(array_view value) const; + auto CreateSingleArray(array_view value) const; + auto CreateDoubleArray(array_view value) const; + auto CreateChar16Array(array_view value) const; + auto CreateBooleanArray(array_view value) const; + auto CreateStringArray(array_view value) const; + auto CreateInspectableArray(array_view value) const; + auto CreateGuidArray(array_view value) const; + auto CreateDateTimeArray(array_view value) const; + auto CreateTimeSpanArray(array_view value) const; + auto CreatePointArray(array_view value) const; + auto CreateSizeArray(array_view value) const; + auto CreateRectArray(array_view value) const; }; template <> struct consume { @@ -843,7 +843,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_IReferenceArray { - [[nodiscard]] WINRT_IMPL_AUTO(com_array) Value() const; + [[nodiscard]] auto Value() const; }; template struct consume> { @@ -852,7 +852,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_IReference { - [[nodiscard]] WINRT_IMPL_AUTO(T) Value() const; + [[nodiscard]] auto Value() const; }; template struct consume> { @@ -861,7 +861,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_IStringable { - WINRT_IMPL_AUTO(hstring) ToString() const; + auto ToString() const; }; template <> struct consume { @@ -870,8 +870,8 @@ namespace winrt::impl template struct consume_Windows_Foundation_IUriEscapeStatics { - WINRT_IMPL_AUTO(hstring) UnescapeComponent(param::hstring const& toUnescape) const; - WINRT_IMPL_AUTO(hstring) EscapeComponent(param::hstring const& toEscape) const; + auto UnescapeComponent(param::hstring const& toUnescape) const; + auto EscapeComponent(param::hstring const& toEscape) const; }; template <> struct consume { @@ -880,23 +880,23 @@ namespace winrt::impl template struct consume_Windows_Foundation_IUriRuntimeClass { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AbsoluteUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Domain() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Extension() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Fragment() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Host() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Password() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Path() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Query() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::WwwFormUrlDecoder) QueryParsed() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RawUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SchemeName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserName() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Port() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Suspicious() const; - WINRT_IMPL_AUTO(bool) Equals(winrt::Windows::Foundation::Uri const& pUri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) CombineUri(param::hstring const& relativeUri) const; + [[nodiscard]] auto AbsoluteUri() const; + [[nodiscard]] auto DisplayUri() const; + [[nodiscard]] auto Domain() const; + [[nodiscard]] auto Extension() const; + [[nodiscard]] auto Fragment() const; + [[nodiscard]] auto Host() const; + [[nodiscard]] auto Password() const; + [[nodiscard]] auto Path() const; + [[nodiscard]] auto Query() const; + [[nodiscard]] auto QueryParsed() const; + [[nodiscard]] auto RawUri() const; + [[nodiscard]] auto SchemeName() const; + [[nodiscard]] auto UserName() const; + [[nodiscard]] auto Port() const; + [[nodiscard]] auto Suspicious() const; + auto Equals(winrt::Windows::Foundation::Uri const& pUri) const; + auto CombineUri(param::hstring const& relativeUri) const; }; template <> struct consume { @@ -905,8 +905,8 @@ namespace winrt::impl template struct consume_Windows_Foundation_IUriRuntimeClassFactory { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) CreateUri(param::hstring const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) CreateWithRelativeUri(param::hstring const& baseUri, param::hstring const& relativeUri) const; + auto CreateUri(param::hstring const& uri) const; + auto CreateWithRelativeUri(param::hstring const& baseUri, param::hstring const& relativeUri) const; }; template <> struct consume { @@ -915,8 +915,8 @@ namespace winrt::impl template struct consume_Windows_Foundation_IUriRuntimeClassWithAbsoluteCanonicalUri { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AbsoluteCanonicalUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayIri() const; + [[nodiscard]] auto AbsoluteCanonicalUri() const; + [[nodiscard]] auto DisplayIri() const; }; template <> struct consume { @@ -925,8 +925,8 @@ namespace winrt::impl template struct consume_Windows_Foundation_IWwwFormUrlDecoderEntry { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -935,7 +935,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_IWwwFormUrlDecoderRuntimeClass { - WINRT_IMPL_AUTO(hstring) GetFirstValueByName(param::hstring const& name) const; + auto GetFirstValueByName(param::hstring const& name) const; }; template <> struct consume { @@ -944,7 +944,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_IWwwFormUrlDecoderRuntimeClassFactory { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::WwwFormUrlDecoder) CreateWwwFormUrlDecoder(param::hstring const& query) const; + auto CreateWwwFormUrlDecoder(param::hstring const& query) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.1.h index 0a4fb70b..423ba905 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_1_H @@ -236,14 +236,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation } #ifdef __cpp_lib_format -template<> +template <> struct std::formatter : std::formatter { - template - auto format(winrt::Windows::Foundation::IStringable const& obj, FormatContext& fc) - { - return std::formatter::format(obj.ToString(), fc); - } + template + auto format(winrt::Windows::Foundation::IStringable const& obj, FormatContext& fc); }; #endif #endif diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.2.h index 8bf37e00..8ff44398 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.0.h index e163296f..d07dc123 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_Collections_0_H @@ -232,7 +232,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_Collections_IIterable { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterator) First() const; + auto First() const; auto begin() const; auto end() const; @@ -244,10 +244,10 @@ namespace winrt::impl template struct consume_Windows_Foundation_Collections_IIterator { - [[nodiscard]] WINRT_IMPL_AUTO(T) Current() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasCurrent() const; - WINRT_IMPL_AUTO(bool) MoveNext() const; - WINRT_IMPL_AUTO(uint32_t) GetMany(array_view items) const; + [[nodiscard]] auto Current() const; + [[nodiscard]] auto HasCurrent() const; + auto MoveNext() const; + auto GetMany(array_view items) const; auto& operator++() { @@ -276,8 +276,8 @@ namespace winrt::impl template struct consume_Windows_Foundation_Collections_IKeyValuePair { - [[nodiscard]] WINRT_IMPL_AUTO(K) Key() const; - [[nodiscard]] WINRT_IMPL_AUTO(V) Value() const; + [[nodiscard]] auto Key() const; + [[nodiscard]] auto Value() const; bool operator==(Windows::Foundation::Collections::IKeyValuePair const& other) const { @@ -296,8 +296,8 @@ namespace winrt::impl template struct consume_Windows_Foundation_Collections_IMapChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::CollectionChange) CollectionChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(K) Key() const; + [[nodiscard]] auto CollectionChange() const; + [[nodiscard]] auto Key() const; }; template struct consume> { @@ -306,10 +306,10 @@ namespace winrt::impl template struct consume_Windows_Foundation_Collections_IMapView { - WINRT_IMPL_AUTO(V) Lookup(impl::param_type const& key) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Size() const; - WINRT_IMPL_AUTO(bool) HasKey(impl::param_type const& key) const; - WINRT_IMPL_AUTO(void) Split(winrt::Windows::Foundation::Collections::IMapView& first, winrt::Windows::Foundation::Collections::IMapView& second) const; + auto Lookup(impl::param_type const& key) const; + [[nodiscard]] auto Size() const; + auto HasKey(impl::param_type const& key) const; + auto Split(winrt::Windows::Foundation::Collections::IMapView& first, winrt::Windows::Foundation::Collections::IMapView& second) const; auto TryLookup(param_type const& key) const { @@ -340,13 +340,13 @@ namespace winrt::impl template struct consume_Windows_Foundation_Collections_IMap { - WINRT_IMPL_AUTO(V) Lookup(impl::param_type const& key) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Size() const; - WINRT_IMPL_AUTO(bool) HasKey(impl::param_type const& key) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) GetView() const; - WINRT_IMPL_AUTO(bool) Insert(impl::param_type const& key, impl::param_type const& value) const; - WINRT_IMPL_AUTO(void) Remove(impl::param_type const& key) const; - WINRT_IMPL_AUTO(void) Clear() const; + auto Lookup(impl::param_type const& key) const; + [[nodiscard]] auto Size() const; + auto HasKey(impl::param_type const& key) const; + auto GetView() const; + auto Insert(impl::param_type const& key, impl::param_type const& value) const; + auto Remove(impl::param_type const& key) const; + auto Clear() const; auto TryLookup(param_type const& key) const { @@ -382,10 +382,10 @@ namespace winrt::impl template struct consume_Windows_Foundation_Collections_IObservableMap { - WINRT_IMPL_AUTO(winrt::event_token) MapChanged(winrt::Windows::Foundation::Collections::MapChangedEventHandler const& vhnd) const; + auto MapChanged(winrt::Windows::Foundation::Collections::MapChangedEventHandler const& vhnd) const; using MapChanged_revoker = impl::event_revoker, &impl::abi_t>::remove_MapChanged>; - [[nodiscard]] MapChanged_revoker MapChanged(auto_revoke_t, winrt::Windows::Foundation::Collections::MapChangedEventHandler const& vhnd) const; - WINRT_IMPL_AUTO(void) MapChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto MapChanged(auto_revoke_t, winrt::Windows::Foundation::Collections::MapChangedEventHandler const& vhnd) const; + auto MapChanged(winrt::event_token const& token) const noexcept; }; template struct consume> { @@ -394,10 +394,10 @@ namespace winrt::impl template struct consume_Windows_Foundation_Collections_IObservableVector { - WINRT_IMPL_AUTO(winrt::event_token) VectorChanged(winrt::Windows::Foundation::Collections::VectorChangedEventHandler const& vhnd) const; + auto VectorChanged(winrt::Windows::Foundation::Collections::VectorChangedEventHandler const& vhnd) const; using VectorChanged_revoker = impl::event_revoker, &impl::abi_t>::remove_VectorChanged>; - [[nodiscard]] VectorChanged_revoker VectorChanged(auto_revoke_t, winrt::Windows::Foundation::Collections::VectorChangedEventHandler const& vhnd) const; - WINRT_IMPL_AUTO(void) VectorChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto VectorChanged(auto_revoke_t, winrt::Windows::Foundation::Collections::VectorChangedEventHandler const& vhnd) const; + auto VectorChanged(winrt::event_token const& token) const noexcept; }; template struct consume> { @@ -414,8 +414,8 @@ namespace winrt::impl template struct consume_Windows_Foundation_Collections_IVectorChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::CollectionChange) CollectionChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Index() const; + [[nodiscard]] auto CollectionChange() const; + [[nodiscard]] auto Index() const; }; template <> struct consume { @@ -424,10 +424,10 @@ namespace winrt::impl template struct consume_Windows_Foundation_Collections_IVectorView { - WINRT_IMPL_AUTO(T) GetAt(uint32_t index) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Size() const; - WINRT_IMPL_AUTO(bool) IndexOf(impl::param_type const& value, uint32_t& index) const; - WINRT_IMPL_AUTO(uint32_t) GetMany(uint32_t startIndex, array_view items) const; + auto GetAt(uint32_t index) const; + [[nodiscard]] auto Size() const; + auto IndexOf(impl::param_type const& value, uint32_t& index) const; + auto GetMany(uint32_t startIndex, array_view items) const; }; template struct consume> { @@ -436,18 +436,18 @@ namespace winrt::impl template struct consume_Windows_Foundation_Collections_IVector { - WINRT_IMPL_AUTO(T) GetAt(uint32_t index) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Size() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetView() const; - WINRT_IMPL_AUTO(bool) IndexOf(impl::param_type const& value, uint32_t& index) const; - WINRT_IMPL_AUTO(void) SetAt(uint32_t index, impl::param_type const& value) const; - WINRT_IMPL_AUTO(void) InsertAt(uint32_t index, impl::param_type const& value) const; - WINRT_IMPL_AUTO(void) RemoveAt(uint32_t index) const; - WINRT_IMPL_AUTO(void) Append(impl::param_type const& value) const; - WINRT_IMPL_AUTO(void) RemoveAtEnd() const; - WINRT_IMPL_AUTO(void) Clear() const; - WINRT_IMPL_AUTO(uint32_t) GetMany(uint32_t startIndex, array_view items) const; - WINRT_IMPL_AUTO(void) ReplaceAll(array_view items) const; + auto GetAt(uint32_t index) const; + [[nodiscard]] auto Size() const; + auto GetView() const; + auto IndexOf(impl::param_type const& value, uint32_t& index) const; + auto SetAt(uint32_t index, impl::param_type const& value) const; + auto InsertAt(uint32_t index, impl::param_type const& value) const; + auto RemoveAt(uint32_t index) const; + auto Append(impl::param_type const& value) const; + auto RemoveAtEnd() const; + auto Clear() const; + auto GetMany(uint32_t startIndex, array_view items) const; + auto ReplaceAll(array_view items) const; }; template struct consume> { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.1.h index 864a0023..2319a710 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_Collections_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.2.h index 44a621a6..17ece4af 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_Collections_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.0.h index 4ff53fa8..a1a27be0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_Diagnostics_0_H @@ -8,7 +8,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation enum class AsyncStatus : int32_t; template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; struct Point; struct Rect; struct Size; @@ -588,15 +587,15 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics { - WINRT_IMPL_AUTO(void) TraceOperationCreation(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, param::hstring const& operationName, uint64_t relatedContext) const; - WINRT_IMPL_AUTO(void) TraceOperationCompletion(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::AsyncStatus const& status) const; - WINRT_IMPL_AUTO(void) TraceOperationRelation(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::Diagnostics::CausalityRelation const& relation) const; - WINRT_IMPL_AUTO(void) TraceSynchronousWorkStart(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork const& work) const; - WINRT_IMPL_AUTO(void) TraceSynchronousWorkCompletion(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork const& work) const; - WINRT_IMPL_AUTO(winrt::event_token) TracingStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + auto TraceOperationCreation(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, param::hstring const& operationName, uint64_t relatedContext) const; + auto TraceOperationCompletion(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::AsyncStatus const& status) const; + auto TraceOperationRelation(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::Diagnostics::CausalityRelation const& relation) const; + auto TraceSynchronousWorkStart(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::guid const& platformId, uint64_t operationId, winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork const& work) const; + auto TraceSynchronousWorkCompletion(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork const& work) const; + auto TracingStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using TracingStatusChanged_revoker = impl::event_revoker::remove_TracingStatusChanged>; - [[nodiscard]] TracingStatusChanged_revoker TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TracingStatusChanged(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto TracingStatusChanged(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -605,9 +604,9 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_IErrorDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LongDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) HelpUri() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto LongDescription() const; + [[nodiscard]] auto HelpUri() const; }; template <> struct consume { @@ -616,7 +615,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_IErrorDetailsStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFromHResultAsync(int32_t errorCode) const; + auto CreateFromHResultAsync(int32_t errorCode) const; }; template <> struct consume { @@ -625,8 +624,8 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_IErrorReportingSettings { - WINRT_IMPL_AUTO(void) SetErrorOptions(winrt::Windows::Foundation::Diagnostics::ErrorOptions const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::ErrorOptions) GetErrorOptions() const; + auto SetErrorOptions(winrt::Windows::Foundation::Diagnostics::ErrorOptions const& value) const; + auto GetErrorOptions() const; }; template <> struct consume { @@ -635,15 +634,15 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_IFileLoggingSession { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const; - WINRT_IMPL_AUTO(void) AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& maxLevel) const; - WINRT_IMPL_AUTO(void) RemoveLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CloseAndSaveToFileAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) LogFileGenerated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Name() const; + auto AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const; + auto AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& maxLevel) const; + auto RemoveLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const; + auto CloseAndSaveToFileAsync() const; + auto LogFileGenerated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LogFileGenerated_revoker = impl::event_revoker::remove_LogFileGenerated>; - [[nodiscard]] LogFileGenerated_revoker LogFileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LogFileGenerated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto LogFileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LogFileGenerated(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -652,7 +651,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_IFileLoggingSessionFactory { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::FileLoggingSession) Create(param::hstring const& name) const; + auto Create(param::hstring const& name) const; }; template <> struct consume { @@ -661,7 +660,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ILogFileGeneratedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) File() const; + [[nodiscard]] auto File() const; }; template <> struct consume { @@ -670,8 +669,8 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ILoggingActivity { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Id() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Id() const; }; template <> struct consume { @@ -680,10 +679,10 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ILoggingActivity2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannel) Channel() const; - WINRT_IMPL_AUTO(void) StopActivity(param::hstring const& stopEventName) const; - WINRT_IMPL_AUTO(void) StopActivity(param::hstring const& stopEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const; - WINRT_IMPL_AUTO(void) StopActivity(param::hstring const& stopEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const; + [[nodiscard]] auto Channel() const; + auto StopActivity(param::hstring const& stopEventName) const; + auto StopActivity(param::hstring const& stopEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const; + auto StopActivity(param::hstring const& stopEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const; }; template <> struct consume { @@ -692,8 +691,8 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ILoggingActivityFactory { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) CreateLoggingActivity(param::hstring const& activityName, winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) CreateLoggingActivityWithLevel(param::hstring const& activityName, winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; + auto CreateLoggingActivity(param::hstring const& activityName, winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const; + auto CreateLoggingActivityWithLevel(param::hstring const& activityName, winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; }; template <> struct consume { @@ -702,17 +701,17 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ILoggingChannel { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Enabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingLevel) Level() const; - WINRT_IMPL_AUTO(void) LogMessage(param::hstring const& eventString) const; - WINRT_IMPL_AUTO(void) LogMessage(param::hstring const& eventString, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; - WINRT_IMPL_AUTO(void) LogValuePair(param::hstring const& value1, int32_t value2) const; - WINRT_IMPL_AUTO(void) LogValuePair(param::hstring const& value1, int32_t value2, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; - WINRT_IMPL_AUTO(winrt::event_token) LoggingEnabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Enabled() const; + [[nodiscard]] auto Level() const; + auto LogMessage(param::hstring const& eventString) const; + auto LogMessage(param::hstring const& eventString, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; + auto LogValuePair(param::hstring const& value1, int32_t value2) const; + auto LogValuePair(param::hstring const& value1, int32_t value2, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; + auto LoggingEnabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LoggingEnabled_revoker = impl::event_revoker::remove_LoggingEnabled>; - [[nodiscard]] LoggingEnabled_revoker LoggingEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LoggingEnabled(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto LoggingEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LoggingEnabled(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -721,7 +720,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ILoggingChannel2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Id() const; + [[nodiscard]] auto Id() const; }; template <> struct consume { @@ -730,7 +729,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannel) Create(param::hstring const& name) const; + auto Create(param::hstring const& name) const; }; template <> struct consume { @@ -739,8 +738,8 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannel) CreateWithOptions(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannel) CreateWithOptionsAndId(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions const& options, winrt::guid const& id) const; + auto CreateWithOptions(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions const& options) const; + auto CreateWithOptionsAndId(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions const& options, winrt::guid const& id) const; }; template <> struct consume { @@ -749,8 +748,8 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ILoggingChannelOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Group() const; - WINRT_IMPL_AUTO(void) Group(winrt::guid const& value) const; + [[nodiscard]] auto Group() const; + auto Group(winrt::guid const& value) const; }; template <> struct consume { @@ -759,7 +758,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ILoggingChannelOptionsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions) Create(winrt::guid const& group) const; + auto Create(winrt::guid const& group) const; }; template <> struct consume { @@ -768,121 +767,121 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ILoggingFields { - WINRT_IMPL_AUTO(void) Clear() const; - WINRT_IMPL_AUTO(void) BeginStruct(param::hstring const& name) const; - WINRT_IMPL_AUTO(void) BeginStruct(param::hstring const& name, int32_t tags) const; - WINRT_IMPL_AUTO(void) EndStruct() const; - WINRT_IMPL_AUTO(void) AddEmpty(param::hstring const& name) const; - WINRT_IMPL_AUTO(void) AddEmpty(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddEmpty(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddUInt8(param::hstring const& name, uint8_t value) const; - WINRT_IMPL_AUTO(void) AddUInt8(param::hstring const& name, uint8_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddUInt8(param::hstring const& name, uint8_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddUInt8Array(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddUInt8Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddUInt8Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddInt16(param::hstring const& name, int16_t value) const; - WINRT_IMPL_AUTO(void) AddInt16(param::hstring const& name, int16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddInt16(param::hstring const& name, int16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddInt16Array(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddUInt16(param::hstring const& name, uint16_t value) const; - WINRT_IMPL_AUTO(void) AddUInt16(param::hstring const& name, uint16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddUInt16(param::hstring const& name, uint16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddUInt16Array(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddUInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddUInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddInt32(param::hstring const& name, int32_t value) const; - WINRT_IMPL_AUTO(void) AddInt32(param::hstring const& name, int32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddInt32(param::hstring const& name, int32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddInt32Array(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddUInt32(param::hstring const& name, uint32_t value) const; - WINRT_IMPL_AUTO(void) AddUInt32(param::hstring const& name, uint32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddUInt32(param::hstring const& name, uint32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddUInt32Array(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddUInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddUInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddInt64(param::hstring const& name, int64_t value) const; - WINRT_IMPL_AUTO(void) AddInt64(param::hstring const& name, int64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddInt64(param::hstring const& name, int64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddInt64Array(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddUInt64(param::hstring const& name, uint64_t value) const; - WINRT_IMPL_AUTO(void) AddUInt64(param::hstring const& name, uint64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddUInt64(param::hstring const& name, uint64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddUInt64Array(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddUInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddUInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddSingle(param::hstring const& name, float value) const; - WINRT_IMPL_AUTO(void) AddSingle(param::hstring const& name, float value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddSingle(param::hstring const& name, float value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddSingleArray(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddSingleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddSingleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddDouble(param::hstring const& name, double value) const; - WINRT_IMPL_AUTO(void) AddDouble(param::hstring const& name, double value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddDouble(param::hstring const& name, double value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddDoubleArray(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddDoubleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddDoubleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddChar16(param::hstring const& name, char16_t value) const; - WINRT_IMPL_AUTO(void) AddChar16(param::hstring const& name, char16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddChar16(param::hstring const& name, char16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddChar16Array(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddChar16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddChar16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddBoolean(param::hstring const& name, bool value) const; - WINRT_IMPL_AUTO(void) AddBoolean(param::hstring const& name, bool value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddBoolean(param::hstring const& name, bool value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddBooleanArray(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddBooleanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddBooleanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddString(param::hstring const& name, param::hstring const& value) const; - WINRT_IMPL_AUTO(void) AddString(param::hstring const& name, param::hstring const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddString(param::hstring const& name, param::hstring const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddStringArray(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddStringArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddStringArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddGuid(param::hstring const& name, winrt::guid const& value) const; - WINRT_IMPL_AUTO(void) AddGuid(param::hstring const& name, winrt::guid const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddGuid(param::hstring const& name, winrt::guid const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddGuidArray(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddGuidArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddGuidArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value) const; - WINRT_IMPL_AUTO(void) AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddDateTimeArray(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddDateTimeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddDateTimeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value) const; - WINRT_IMPL_AUTO(void) AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddTimeSpanArray(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddTimeSpanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddTimeSpanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value) const; - WINRT_IMPL_AUTO(void) AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddPointArray(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddPointArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddPointArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value) const; - WINRT_IMPL_AUTO(void) AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddSizeArray(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddSizeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddSizeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value) const; - WINRT_IMPL_AUTO(void) AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; - WINRT_IMPL_AUTO(void) AddRectArray(param::hstring const& name, array_view value) const; - WINRT_IMPL_AUTO(void) AddRectArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; - WINRT_IMPL_AUTO(void) AddRectArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto Clear() const; + auto BeginStruct(param::hstring const& name) const; + auto BeginStruct(param::hstring const& name, int32_t tags) const; + auto EndStruct() const; + auto AddEmpty(param::hstring const& name) const; + auto AddEmpty(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddEmpty(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddUInt8(param::hstring const& name, uint8_t value) const; + auto AddUInt8(param::hstring const& name, uint8_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddUInt8(param::hstring const& name, uint8_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddUInt8Array(param::hstring const& name, array_view value) const; + auto AddUInt8Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddUInt8Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddInt16(param::hstring const& name, int16_t value) const; + auto AddInt16(param::hstring const& name, int16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddInt16(param::hstring const& name, int16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddInt16Array(param::hstring const& name, array_view value) const; + auto AddInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddUInt16(param::hstring const& name, uint16_t value) const; + auto AddUInt16(param::hstring const& name, uint16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddUInt16(param::hstring const& name, uint16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddUInt16Array(param::hstring const& name, array_view value) const; + auto AddUInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddUInt16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddInt32(param::hstring const& name, int32_t value) const; + auto AddInt32(param::hstring const& name, int32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddInt32(param::hstring const& name, int32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddInt32Array(param::hstring const& name, array_view value) const; + auto AddInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddUInt32(param::hstring const& name, uint32_t value) const; + auto AddUInt32(param::hstring const& name, uint32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddUInt32(param::hstring const& name, uint32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddUInt32Array(param::hstring const& name, array_view value) const; + auto AddUInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddUInt32Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddInt64(param::hstring const& name, int64_t value) const; + auto AddInt64(param::hstring const& name, int64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddInt64(param::hstring const& name, int64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddInt64Array(param::hstring const& name, array_view value) const; + auto AddInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddUInt64(param::hstring const& name, uint64_t value) const; + auto AddUInt64(param::hstring const& name, uint64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddUInt64(param::hstring const& name, uint64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddUInt64Array(param::hstring const& name, array_view value) const; + auto AddUInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddUInt64Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddSingle(param::hstring const& name, float value) const; + auto AddSingle(param::hstring const& name, float value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddSingle(param::hstring const& name, float value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddSingleArray(param::hstring const& name, array_view value) const; + auto AddSingleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddSingleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddDouble(param::hstring const& name, double value) const; + auto AddDouble(param::hstring const& name, double value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddDouble(param::hstring const& name, double value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddDoubleArray(param::hstring const& name, array_view value) const; + auto AddDoubleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddDoubleArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddChar16(param::hstring const& name, char16_t value) const; + auto AddChar16(param::hstring const& name, char16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddChar16(param::hstring const& name, char16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddChar16Array(param::hstring const& name, array_view value) const; + auto AddChar16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddChar16Array(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddBoolean(param::hstring const& name, bool value) const; + auto AddBoolean(param::hstring const& name, bool value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddBoolean(param::hstring const& name, bool value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddBooleanArray(param::hstring const& name, array_view value) const; + auto AddBooleanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddBooleanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddString(param::hstring const& name, param::hstring const& value) const; + auto AddString(param::hstring const& name, param::hstring const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddString(param::hstring const& name, param::hstring const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddStringArray(param::hstring const& name, array_view value) const; + auto AddStringArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddStringArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddGuid(param::hstring const& name, winrt::guid const& value) const; + auto AddGuid(param::hstring const& name, winrt::guid const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddGuid(param::hstring const& name, winrt::guid const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddGuidArray(param::hstring const& name, array_view value) const; + auto AddGuidArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddGuidArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value) const; + auto AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddDateTimeArray(param::hstring const& name, array_view value) const; + auto AddDateTimeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddDateTimeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value) const; + auto AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddTimeSpanArray(param::hstring const& name, array_view value) const; + auto AddTimeSpanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddTimeSpanArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value) const; + auto AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddPointArray(param::hstring const& name, array_view value) const; + auto AddPointArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddPointArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value) const; + auto AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddSizeArray(param::hstring const& name, array_view value) const; + auto AddSizeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddSizeArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value) const; + auto AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; + auto AddRectArray(param::hstring const& name, array_view value) const; + auto AddRectArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const; + auto AddRectArray(param::hstring const& name, array_view value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const; }; template <> struct consume { @@ -891,18 +890,18 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ILoggingOptions { - [[nodiscard]] WINRT_IMPL_AUTO(int64_t) Keywords() const; - WINRT_IMPL_AUTO(void) Keywords(int64_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Tags() const; - WINRT_IMPL_AUTO(void) Tags(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int16_t) Task() const; - WINRT_IMPL_AUTO(void) Task(int16_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingOpcode) Opcode() const; - WINRT_IMPL_AUTO(void) Opcode(winrt::Windows::Foundation::Diagnostics::LoggingOpcode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ActivityId() const; - WINRT_IMPL_AUTO(void) ActivityId(winrt::guid const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) RelatedActivityId() const; - WINRT_IMPL_AUTO(void) RelatedActivityId(winrt::guid const& value) const; + [[nodiscard]] auto Keywords() const; + auto Keywords(int64_t value) const; + [[nodiscard]] auto Tags() const; + auto Tags(int32_t value) const; + [[nodiscard]] auto Task() const; + auto Task(int16_t value) const; + [[nodiscard]] auto Opcode() const; + auto Opcode(winrt::Windows::Foundation::Diagnostics::LoggingOpcode const& value) const; + [[nodiscard]] auto ActivityId() const; + auto ActivityId(winrt::guid const& value) const; + [[nodiscard]] auto RelatedActivityId() const; + auto RelatedActivityId(winrt::guid const& value) const; }; template <> struct consume { @@ -911,7 +910,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ILoggingOptionsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingOptions) CreateWithKeywords(int64_t keywords) const; + auto CreateWithKeywords(int64_t keywords) const; }; template <> struct consume { @@ -920,11 +919,11 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ILoggingSession { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SaveToFileAsync(winrt::Windows::Storage::IStorageFolder const& folder, param::hstring const& fileName) const; - WINRT_IMPL_AUTO(void) AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const; - WINRT_IMPL_AUTO(void) AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& maxLevel) const; - WINRT_IMPL_AUTO(void) RemoveLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const; + [[nodiscard]] auto Name() const; + auto SaveToFileAsync(winrt::Windows::Storage::IStorageFolder const& folder, param::hstring const& fileName) const; + auto AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const; + auto AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& maxLevel) const; + auto RemoveLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const; }; template <> struct consume { @@ -933,7 +932,7 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ILoggingSessionFactory { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingSession) Create(param::hstring const& name) const; + auto Create(param::hstring const& name) const; }; template <> struct consume { @@ -942,17 +941,17 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ILoggingTarget { - WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(bool) IsEnabled(winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; - WINRT_IMPL_AUTO(bool) IsEnabled(winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, int64_t keywords) const; - WINRT_IMPL_AUTO(void) LogEvent(param::hstring const& eventName) const; - WINRT_IMPL_AUTO(void) LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const; - WINRT_IMPL_AUTO(void) LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; - WINRT_IMPL_AUTO(void) LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) StartActivity(param::hstring const& startEventName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const; + auto IsEnabled() const; + auto IsEnabled(winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; + auto IsEnabled(winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, int64_t keywords) const; + auto LogEvent(param::hstring const& eventName) const; + auto LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const; + auto LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; + auto LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const; + auto StartActivity(param::hstring const& startEventName) const; + auto StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const; + auto StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const; + auto StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const; }; template <> struct consume { @@ -961,8 +960,8 @@ namespace winrt::impl template struct consume_Windows_Foundation_Diagnostics_ITracingStatusChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Enabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel) TraceLevel() const; + [[nodiscard]] auto Enabled() const; + [[nodiscard]] auto TraceLevel() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.1.h index 2554b574..0e27d7eb 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_Diagnostics_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.2.h index ad742491..44ae89a5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_Diagnostics_2_H @@ -17,7 +17,7 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Diagnostics static auto TraceSynchronousWorkCompletion(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork const& work); static auto TracingStatusChanged(winrt::Windows::Foundation::EventHandler const& handler); using TracingStatusChanged_revoker = impl::factory_event_revoker::remove_TracingStatusChanged>; - [[nodiscard]] static TracingStatusChanged_revoker TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto TracingStatusChanged(winrt::event_token const& cookie); }; struct __declspec(empty_bases) ErrorDetails : winrt::Windows::Foundation::Diagnostics::IErrorDetails diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.0.h index 126eb816..2f06881b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_Metadata_0_H @@ -108,16 +108,16 @@ namespace winrt::impl template struct consume_Windows_Foundation_Metadata_IApiInformationStatics { - WINRT_IMPL_AUTO(bool) IsTypePresent(param::hstring const& typeName) const; - WINRT_IMPL_AUTO(bool) IsMethodPresent(param::hstring const& typeName, param::hstring const& methodName) const; - WINRT_IMPL_AUTO(bool) IsMethodPresent(param::hstring const& typeName, param::hstring const& methodName, uint32_t inputParameterCount) const; - WINRT_IMPL_AUTO(bool) IsEventPresent(param::hstring const& typeName, param::hstring const& eventName) const; - WINRT_IMPL_AUTO(bool) IsPropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const; - WINRT_IMPL_AUTO(bool) IsReadOnlyPropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const; - WINRT_IMPL_AUTO(bool) IsWriteablePropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const; - WINRT_IMPL_AUTO(bool) IsEnumNamedValuePresent(param::hstring const& enumTypeName, param::hstring const& valueName) const; - WINRT_IMPL_AUTO(bool) IsApiContractPresent(param::hstring const& contractName, uint16_t majorVersion) const; - WINRT_IMPL_AUTO(bool) IsApiContractPresent(param::hstring const& contractName, uint16_t majorVersion, uint16_t minorVersion) const; + auto IsTypePresent(param::hstring const& typeName) const; + auto IsMethodPresent(param::hstring const& typeName, param::hstring const& methodName) const; + auto IsMethodPresent(param::hstring const& typeName, param::hstring const& methodName, uint32_t inputParameterCount) const; + auto IsEventPresent(param::hstring const& typeName, param::hstring const& eventName) const; + auto IsPropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const; + auto IsReadOnlyPropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const; + auto IsWriteablePropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const; + auto IsEnumNamedValuePresent(param::hstring const& enumTypeName, param::hstring const& valueName) const; + auto IsApiContractPresent(param::hstring const& contractName, uint16_t majorVersion) const; + auto IsApiContractPresent(param::hstring const& contractName, uint16_t majorVersion, uint16_t minorVersion) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.1.h index 5c2510ab..afad4792 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_Metadata_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.2.h index 0e894898..e862ff3d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_Metadata_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.0.h index c688c60e..c23d6433 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_Numerics_0_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.1.h index 082a27d4..2bb51388 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_Numerics_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.2.h index c2714ffc..6ca91cd9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Foundation_Numerics_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.0.h index 5d28f2fb..4655c52b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.0.h @@ -1,12 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Input_0_H #define WINRT_Windows_Gaming_Input_0_H -WINRT_EXPORT namespace winrt::Windows::Devices::Haptics -{ - struct SimpleHapticsController; -} WINRT_EXPORT namespace winrt::Windows::Devices::Power { struct BatteryReport; @@ -17,10 +13,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Gaming::Input::ForceFeedback { struct ForceFeedbackMotor; @@ -580,8 +572,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IArcadeStick { - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) GetButtonLabel(winrt::Windows::Gaming::Input::ArcadeStickButtons const& button) const; - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ArcadeStickReading) GetCurrentReading() const; + auto GetButtonLabel(winrt::Windows::Gaming::Input::ArcadeStickButtons const& button) const; + auto GetCurrentReading() const; }; template <> struct consume { @@ -590,15 +582,15 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IArcadeStickStatics { - WINRT_IMPL_AUTO(winrt::event_token) ArcadeStickAdded(winrt::Windows::Foundation::EventHandler const& value) const; + auto ArcadeStickAdded(winrt::Windows::Foundation::EventHandler const& value) const; using ArcadeStickAdded_revoker = impl::event_revoker::remove_ArcadeStickAdded>; - [[nodiscard]] ArcadeStickAdded_revoker ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; - WINRT_IMPL_AUTO(void) ArcadeStickAdded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ArcadeStickRemoved(winrt::Windows::Foundation::EventHandler const& value) const; + [[nodiscard]] auto ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto ArcadeStickAdded(winrt::event_token const& token) const noexcept; + auto ArcadeStickRemoved(winrt::Windows::Foundation::EventHandler const& value) const; using ArcadeStickRemoved_revoker = impl::event_revoker::remove_ArcadeStickRemoved>; - [[nodiscard]] ArcadeStickRemoved_revoker ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; - WINRT_IMPL_AUTO(void) ArcadeStickRemoved(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ArcadeSticks() const; + [[nodiscard]] auto ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto ArcadeStickRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ArcadeSticks() const; }; template <> struct consume { @@ -607,7 +599,7 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IArcadeStickStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ArcadeStick) FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; + auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; }; template <> struct consume { @@ -616,9 +608,9 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IFlightStick { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerSwitchKind) HatSwitchKind() const; - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) GetButtonLabel(winrt::Windows::Gaming::Input::FlightStickButtons const& button) const; - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::FlightStickReading) GetCurrentReading() const; + [[nodiscard]] auto HatSwitchKind() const; + auto GetButtonLabel(winrt::Windows::Gaming::Input::FlightStickButtons const& button) const; + auto GetCurrentReading() const; }; template <> struct consume { @@ -627,16 +619,16 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IFlightStickStatics { - WINRT_IMPL_AUTO(winrt::event_token) FlightStickAdded(winrt::Windows::Foundation::EventHandler const& value) const; + auto FlightStickAdded(winrt::Windows::Foundation::EventHandler const& value) const; using FlightStickAdded_revoker = impl::event_revoker::remove_FlightStickAdded>; - [[nodiscard]] FlightStickAdded_revoker FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; - WINRT_IMPL_AUTO(void) FlightStickAdded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) FlightStickRemoved(winrt::Windows::Foundation::EventHandler const& value) const; + [[nodiscard]] auto FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto FlightStickAdded(winrt::event_token const& token) const noexcept; + auto FlightStickRemoved(winrt::Windows::Foundation::EventHandler const& value) const; using FlightStickRemoved_revoker = impl::event_revoker::remove_FlightStickRemoved>; - [[nodiscard]] FlightStickRemoved_revoker FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; - WINRT_IMPL_AUTO(void) FlightStickRemoved(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FlightSticks() const; - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::FlightStick) FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; + [[nodiscard]] auto FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto FlightStickRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto FlightSticks() const; + auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; }; template <> struct consume { @@ -645,21 +637,21 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IGameController { - WINRT_IMPL_AUTO(winrt::event_token) HeadsetConnected(winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto HeadsetConnected(winrt::Windows::Foundation::TypedEventHandler const& value) const; using HeadsetConnected_revoker = impl::event_revoker::remove_HeadsetConnected>; - [[nodiscard]] HeadsetConnected_revoker HeadsetConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) HeadsetConnected(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) HeadsetDisconnected(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto HeadsetConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto HeadsetConnected(winrt::event_token const& token) const noexcept; + auto HeadsetDisconnected(winrt::Windows::Foundation::TypedEventHandler const& value) const; using HeadsetDisconnected_revoker = impl::event_revoker::remove_HeadsetDisconnected>; - [[nodiscard]] HeadsetDisconnected_revoker HeadsetDisconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) HeadsetDisconnected(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) UserChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto HeadsetDisconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto HeadsetDisconnected(winrt::event_token const& token) const noexcept; + auto UserChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using UserChanged_revoker = impl::event_revoker::remove_UserChanged>; - [[nodiscard]] UserChanged_revoker UserChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) UserChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::Headset) Headset() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsWireless() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto UserChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto UserChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Headset() const; + [[nodiscard]] auto IsWireless() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -668,7 +660,7 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IGameControllerBatteryInfo { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Power::BatteryReport) TryGetBatteryReport() const; + auto TryGetBatteryReport() const; }; template <> struct consume { @@ -677,9 +669,9 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IGamepad { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GamepadVibration) Vibration() const; - WINRT_IMPL_AUTO(void) Vibration(winrt::Windows::Gaming::Input::GamepadVibration const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GamepadReading) GetCurrentReading() const; + [[nodiscard]] auto Vibration() const; + auto Vibration(winrt::Windows::Gaming::Input::GamepadVibration const& value) const; + auto GetCurrentReading() const; }; template <> struct consume { @@ -688,7 +680,7 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IGamepad2 { - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) GetButtonLabel(winrt::Windows::Gaming::Input::GamepadButtons const& button) const; + auto GetButtonLabel(winrt::Windows::Gaming::Input::GamepadButtons const& button) const; }; template <> struct consume { @@ -697,15 +689,15 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IGamepadStatics { - WINRT_IMPL_AUTO(winrt::event_token) GamepadAdded(winrt::Windows::Foundation::EventHandler const& value) const; + auto GamepadAdded(winrt::Windows::Foundation::EventHandler const& value) const; using GamepadAdded_revoker = impl::event_revoker::remove_GamepadAdded>; - [[nodiscard]] GamepadAdded_revoker GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; - WINRT_IMPL_AUTO(void) GamepadAdded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) GamepadRemoved(winrt::Windows::Foundation::EventHandler const& value) const; + [[nodiscard]] auto GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto GamepadAdded(winrt::event_token const& token) const noexcept; + auto GamepadRemoved(winrt::Windows::Foundation::EventHandler const& value) const; using GamepadRemoved_revoker = impl::event_revoker::remove_GamepadRemoved>; - [[nodiscard]] GamepadRemoved_revoker GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; - WINRT_IMPL_AUTO(void) GamepadRemoved(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Gamepads() const; + [[nodiscard]] auto GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto GamepadRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Gamepads() const; }; template <> struct consume { @@ -714,7 +706,7 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IGamepadStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::Gamepad) FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; + auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; }; template <> struct consume { @@ -723,8 +715,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IHeadset { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CaptureDeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RenderDeviceId() const; + [[nodiscard]] auto CaptureDeviceId() const; + [[nodiscard]] auto RenderDeviceId() const; }; template <> struct consume { @@ -733,14 +725,14 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IRacingWheel { - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasClutch() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasHandbrake() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasPatternShifter() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxPatternShifterGear() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxWheelAngle() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor) WheelMotor() const; - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) GetButtonLabel(winrt::Windows::Gaming::Input::RacingWheelButtons const& button) const; - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::RacingWheelReading) GetCurrentReading() const; + [[nodiscard]] auto HasClutch() const; + [[nodiscard]] auto HasHandbrake() const; + [[nodiscard]] auto HasPatternShifter() const; + [[nodiscard]] auto MaxPatternShifterGear() const; + [[nodiscard]] auto MaxWheelAngle() const; + [[nodiscard]] auto WheelMotor() const; + auto GetButtonLabel(winrt::Windows::Gaming::Input::RacingWheelButtons const& button) const; + auto GetCurrentReading() const; }; template <> struct consume { @@ -749,15 +741,15 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IRacingWheelStatics { - WINRT_IMPL_AUTO(winrt::event_token) RacingWheelAdded(winrt::Windows::Foundation::EventHandler const& value) const; + auto RacingWheelAdded(winrt::Windows::Foundation::EventHandler const& value) const; using RacingWheelAdded_revoker = impl::event_revoker::remove_RacingWheelAdded>; - [[nodiscard]] RacingWheelAdded_revoker RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; - WINRT_IMPL_AUTO(void) RacingWheelAdded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RacingWheelRemoved(winrt::Windows::Foundation::EventHandler const& value) const; + [[nodiscard]] auto RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto RacingWheelAdded(winrt::event_token const& token) const noexcept; + auto RacingWheelRemoved(winrt::Windows::Foundation::EventHandler const& value) const; using RacingWheelRemoved_revoker = impl::event_revoker::remove_RacingWheelRemoved>; - [[nodiscard]] RacingWheelRemoved_revoker RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; - WINRT_IMPL_AUTO(void) RacingWheelRemoved(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) RacingWheels() const; + [[nodiscard]] auto RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto RacingWheelRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RacingWheels() const; }; template <> struct consume { @@ -766,7 +758,7 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IRacingWheelStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::RacingWheel) FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; + auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; }; template <> struct consume { @@ -775,15 +767,15 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IRawGameController { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) AxisCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ButtonCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ForceFeedbackMotors() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) HardwareProductId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) HardwareVendorId() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SwitchCount() const; - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) GetButtonLabel(int32_t buttonIndex) const; - WINRT_IMPL_AUTO(uint64_t) GetCurrentReading(array_view buttonArray, array_view switchArray, array_view axisArray) const; - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerSwitchKind) GetSwitchKind(int32_t switchIndex) const; + [[nodiscard]] auto AxisCount() const; + [[nodiscard]] auto ButtonCount() const; + [[nodiscard]] auto ForceFeedbackMotors() const; + [[nodiscard]] auto HardwareProductId() const; + [[nodiscard]] auto HardwareVendorId() const; + [[nodiscard]] auto SwitchCount() const; + auto GetButtonLabel(int32_t buttonIndex) const; + auto GetCurrentReading(array_view buttonArray, array_view switchArray, array_view axisArray) const; + auto GetSwitchKind(int32_t switchIndex) const; }; template <> struct consume { @@ -792,9 +784,9 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IRawGameController2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SimpleHapticsControllers() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NonRoamableId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; + [[nodiscard]] auto SimpleHapticsControllers() const; + [[nodiscard]] auto NonRoamableId() const; + [[nodiscard]] auto DisplayName() const; }; template <> struct consume { @@ -803,16 +795,16 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IRawGameControllerStatics { - WINRT_IMPL_AUTO(winrt::event_token) RawGameControllerAdded(winrt::Windows::Foundation::EventHandler const& value) const; + auto RawGameControllerAdded(winrt::Windows::Foundation::EventHandler const& value) const; using RawGameControllerAdded_revoker = impl::event_revoker::remove_RawGameControllerAdded>; - [[nodiscard]] RawGameControllerAdded_revoker RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; - WINRT_IMPL_AUTO(void) RawGameControllerAdded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RawGameControllerRemoved(winrt::Windows::Foundation::EventHandler const& value) const; + [[nodiscard]] auto RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto RawGameControllerAdded(winrt::event_token const& token) const noexcept; + auto RawGameControllerRemoved(winrt::Windows::Foundation::EventHandler const& value) const; using RawGameControllerRemoved_revoker = impl::event_revoker::remove_RawGameControllerRemoved>; - [[nodiscard]] RawGameControllerRemoved_revoker RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; - WINRT_IMPL_AUTO(void) RawGameControllerRemoved(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) RawGameControllers() const; - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::RawGameController) FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; + [[nodiscard]] auto RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto RawGameControllerRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RawGameControllers() const; + auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; }; template <> struct consume { @@ -821,9 +813,9 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IUINavigationController { - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::UINavigationReading) GetCurrentReading() const; - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) GetOptionalButtonLabel(winrt::Windows::Gaming::Input::OptionalUINavigationButtons const& button) const; - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) GetRequiredButtonLabel(winrt::Windows::Gaming::Input::RequiredUINavigationButtons const& button) const; + auto GetCurrentReading() const; + auto GetOptionalButtonLabel(winrt::Windows::Gaming::Input::OptionalUINavigationButtons const& button) const; + auto GetRequiredButtonLabel(winrt::Windows::Gaming::Input::RequiredUINavigationButtons const& button) const; }; template <> struct consume { @@ -832,15 +824,15 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IUINavigationControllerStatics { - WINRT_IMPL_AUTO(winrt::event_token) UINavigationControllerAdded(winrt::Windows::Foundation::EventHandler const& value) const; + auto UINavigationControllerAdded(winrt::Windows::Foundation::EventHandler const& value) const; using UINavigationControllerAdded_revoker = impl::event_revoker::remove_UINavigationControllerAdded>; - [[nodiscard]] UINavigationControllerAdded_revoker UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; - WINRT_IMPL_AUTO(void) UINavigationControllerAdded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) UINavigationControllerRemoved(winrt::Windows::Foundation::EventHandler const& value) const; + [[nodiscard]] auto UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto UINavigationControllerAdded(winrt::event_token const& token) const noexcept; + auto UINavigationControllerRemoved(winrt::Windows::Foundation::EventHandler const& value) const; using UINavigationControllerRemoved_revoker = impl::event_revoker::remove_UINavigationControllerRemoved>; - [[nodiscard]] UINavigationControllerRemoved_revoker UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; - WINRT_IMPL_AUTO(void) UINavigationControllerRemoved(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) UINavigationControllers() const; + [[nodiscard]] auto UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto UINavigationControllerRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto UINavigationControllers() const; }; template <> struct consume { @@ -849,7 +841,7 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_IUINavigationControllerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::UINavigationController) FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; + auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.1.h index 083439a8..5ef3873d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Input_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.2.h index f790d077..1f7162c2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Input_2_H @@ -112,11 +112,11 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input ArcadeStick(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::IArcadeStick(ptr, take_ownership_from_abi) {} static auto ArcadeStickAdded(winrt::Windows::Foundation::EventHandler const& value); using ArcadeStickAdded_revoker = impl::factory_event_revoker::remove_ArcadeStickAdded>; - [[nodiscard]] static ArcadeStickAdded_revoker ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + [[nodiscard]] static auto ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); static auto ArcadeStickAdded(winrt::event_token const& token); static auto ArcadeStickRemoved(winrt::Windows::Foundation::EventHandler const& value); using ArcadeStickRemoved_revoker = impl::factory_event_revoker::remove_ArcadeStickRemoved>; - [[nodiscard]] static ArcadeStickRemoved_revoker ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + [[nodiscard]] static auto ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); static auto ArcadeStickRemoved(winrt::event_token const& token); [[nodiscard]] static auto ArcadeSticks(); static auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController); @@ -128,11 +128,11 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input FlightStick(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::IFlightStick(ptr, take_ownership_from_abi) {} static auto FlightStickAdded(winrt::Windows::Foundation::EventHandler const& value); using FlightStickAdded_revoker = impl::factory_event_revoker::remove_FlightStickAdded>; - [[nodiscard]] static FlightStickAdded_revoker FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + [[nodiscard]] static auto FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); static auto FlightStickAdded(winrt::event_token const& token); static auto FlightStickRemoved(winrt::Windows::Foundation::EventHandler const& value); using FlightStickRemoved_revoker = impl::factory_event_revoker::remove_FlightStickRemoved>; - [[nodiscard]] static FlightStickRemoved_revoker FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + [[nodiscard]] static auto FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); static auto FlightStickRemoved(winrt::event_token const& token); [[nodiscard]] static auto FlightSticks(); static auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController); @@ -144,11 +144,11 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input Gamepad(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::IGamepad(ptr, take_ownership_from_abi) {} static auto GamepadAdded(winrt::Windows::Foundation::EventHandler const& value); using GamepadAdded_revoker = impl::factory_event_revoker::remove_GamepadAdded>; - [[nodiscard]] static GamepadAdded_revoker GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + [[nodiscard]] static auto GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); static auto GamepadAdded(winrt::event_token const& token); static auto GamepadRemoved(winrt::Windows::Foundation::EventHandler const& value); using GamepadRemoved_revoker = impl::factory_event_revoker::remove_GamepadRemoved>; - [[nodiscard]] static GamepadRemoved_revoker GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + [[nodiscard]] static auto GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); static auto GamepadRemoved(winrt::event_token const& token); [[nodiscard]] static auto Gamepads(); static auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController); @@ -166,11 +166,11 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input RacingWheel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::IRacingWheel(ptr, take_ownership_from_abi) {} static auto RacingWheelAdded(winrt::Windows::Foundation::EventHandler const& value); using RacingWheelAdded_revoker = impl::factory_event_revoker::remove_RacingWheelAdded>; - [[nodiscard]] static RacingWheelAdded_revoker RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + [[nodiscard]] static auto RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); static auto RacingWheelAdded(winrt::event_token const& token); static auto RacingWheelRemoved(winrt::Windows::Foundation::EventHandler const& value); using RacingWheelRemoved_revoker = impl::factory_event_revoker::remove_RacingWheelRemoved>; - [[nodiscard]] static RacingWheelRemoved_revoker RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + [[nodiscard]] static auto RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); static auto RacingWheelRemoved(winrt::event_token const& token); [[nodiscard]] static auto RacingWheels(); static auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController); @@ -182,11 +182,11 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input RawGameController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::IRawGameController(ptr, take_ownership_from_abi) {} static auto RawGameControllerAdded(winrt::Windows::Foundation::EventHandler const& value); using RawGameControllerAdded_revoker = impl::factory_event_revoker::remove_RawGameControllerAdded>; - [[nodiscard]] static RawGameControllerAdded_revoker RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + [[nodiscard]] static auto RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); static auto RawGameControllerAdded(winrt::event_token const& token); static auto RawGameControllerRemoved(winrt::Windows::Foundation::EventHandler const& value); using RawGameControllerRemoved_revoker = impl::factory_event_revoker::remove_RawGameControllerRemoved>; - [[nodiscard]] static RawGameControllerRemoved_revoker RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + [[nodiscard]] static auto RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); static auto RawGameControllerRemoved(winrt::event_token const& token); [[nodiscard]] static auto RawGameControllers(); static auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController); @@ -198,11 +198,11 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Input UINavigationController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::Input::IUINavigationController(ptr, take_ownership_from_abi) {} static auto UINavigationControllerAdded(winrt::Windows::Foundation::EventHandler const& value); using UINavigationControllerAdded_revoker = impl::factory_event_revoker::remove_UINavigationControllerAdded>; - [[nodiscard]] static UINavigationControllerAdded_revoker UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + [[nodiscard]] static auto UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); static auto UINavigationControllerAdded(winrt::event_token const& token); static auto UINavigationControllerRemoved(winrt::Windows::Foundation::EventHandler const& value); using UINavigationControllerRemoved_revoker = impl::factory_event_revoker::remove_UINavigationControllerRemoved>; - [[nodiscard]] static UINavigationControllerRemoved_revoker UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + [[nodiscard]] static auto UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); static auto UINavigationControllerRemoved(winrt::event_token const& token); [[nodiscard]] static auto UINavigationControllers(); static auto FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController); diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.0.h index 2cb64363..4ea7d9e6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.0.h @@ -1,12 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Input_Custom_0_H #define WINRT_Windows_Gaming_Input_Custom_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperationWithProgress; -} WINRT_EXPORT namespace winrt::Windows::Gaming::Input { struct IGameController; @@ -237,9 +233,9 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_Custom_ICustomGameControllerFactory { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateGameController(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const; - WINRT_IMPL_AUTO(void) OnGameControllerAdded(winrt::Windows::Gaming::Input::IGameController const& value) const; - WINRT_IMPL_AUTO(void) OnGameControllerRemoved(winrt::Windows::Gaming::Input::IGameController const& value) const; + auto CreateGameController(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const; + auto OnGameControllerAdded(winrt::Windows::Gaming::Input::IGameController const& value) const; + auto OnGameControllerRemoved(winrt::Windows::Gaming::Input::IGameController const& value) const; }; template <> struct consume { @@ -248,9 +244,9 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics { - WINRT_IMPL_AUTO(void) RegisterCustomFactoryForGipInterface(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::guid const& interfaceId) const; - WINRT_IMPL_AUTO(void) RegisterCustomFactoryForHardwareId(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, uint16_t hardwareVendorId, uint16_t hardwareProductId) const; - WINRT_IMPL_AUTO(void) RegisterCustomFactoryForXusbType(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::Windows::Gaming::Input::Custom::XusbDeviceType const& xusbType, winrt::Windows::Gaming::Input::Custom::XusbDeviceSubtype const& xusbSubtype) const; + auto RegisterCustomFactoryForGipInterface(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::guid const& interfaceId) const; + auto RegisterCustomFactoryForHardwareId(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, uint16_t hardwareVendorId, uint16_t hardwareProductId) const; + auto RegisterCustomFactoryForXusbType(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::Windows::Gaming::Input::Custom::XusbDeviceType const& xusbType, winrt::Windows::Gaming::Input::Custom::XusbDeviceSubtype const& xusbSubtype) const; }; template <> struct consume { @@ -259,7 +255,7 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::IGameController) TryGetFactoryControllerFromGameController(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::Windows::Gaming::Input::IGameController const& gameController) const; + auto TryGetFactoryControllerFromGameController(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::Windows::Gaming::Input::IGameController const& gameController) const; }; template <> struct consume { @@ -268,8 +264,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_Custom_IGameControllerInputSink { - WINRT_IMPL_AUTO(void) OnInputResumed(uint64_t timestamp) const; - WINRT_IMPL_AUTO(void) OnInputSuspended(uint64_t timestamp) const; + auto OnInputResumed(uint64_t timestamp) const; + auto OnInputSuspended(uint64_t timestamp) const; }; template <> struct consume { @@ -278,11 +274,11 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_Custom_IGameControllerProvider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::Custom::GameControllerVersionInfo) FirmwareVersionInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) HardwareProductId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) HardwareVendorId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::Custom::GameControllerVersionInfo) HardwareVersionInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConnected() const; + [[nodiscard]] auto FirmwareVersionInfo() const; + [[nodiscard]] auto HardwareProductId() const; + [[nodiscard]] auto HardwareVendorId() const; + [[nodiscard]] auto HardwareVersionInfo() const; + [[nodiscard]] auto IsConnected() const; }; template <> struct consume { @@ -291,9 +287,9 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_Custom_IGipFirmwareUpdateResult { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExtendedErrorCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) FinalComponentId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::Custom::GipFirmwareUpdateStatus) Status() const; + [[nodiscard]] auto ExtendedErrorCode() const; + [[nodiscard]] auto FinalComponentId() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -302,8 +298,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_Custom_IGipGameControllerInputSink { - WINRT_IMPL_AUTO(void) OnKeyReceived(uint64_t timestamp, uint8_t keyCode, bool isPressed) const; - WINRT_IMPL_AUTO(void) OnMessageReceived(uint64_t timestamp, winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, uint8_t sequenceId, array_view messageBuffer) const; + auto OnKeyReceived(uint64_t timestamp, uint8_t keyCode, bool isPressed) const; + auto OnMessageReceived(uint64_t timestamp, winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, uint8_t sequenceId, array_view messageBuffer) const; }; template <> struct consume { @@ -312,9 +308,9 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_Custom_IGipGameControllerProvider { - WINRT_IMPL_AUTO(void) SendMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view messageBuffer) const; - WINRT_IMPL_AUTO(void) SendReceiveMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view requestMessageBuffer, array_view responseMessageBuffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) UpdateFirmwareAsync(winrt::Windows::Storage::Streams::IInputStream const& firmwareImage) const; + auto SendMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view messageBuffer) const; + auto SendReceiveMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view requestMessageBuffer, array_view responseMessageBuffer) const; + auto UpdateFirmwareAsync(winrt::Windows::Storage::Streams::IInputStream const& firmwareImage) const; }; template <> struct consume { @@ -323,7 +319,7 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_Custom_IHidGameControllerInputSink { - WINRT_IMPL_AUTO(void) OnInputReportReceived(uint64_t timestamp, uint8_t reportId, array_view reportBuffer) const; + auto OnInputReportReceived(uint64_t timestamp, uint8_t reportId, array_view reportBuffer) const; }; template <> struct consume { @@ -332,11 +328,11 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) UsageId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) UsagePage() const; - WINRT_IMPL_AUTO(void) GetFeatureReport(uint8_t reportId, array_view reportBuffer) const; - WINRT_IMPL_AUTO(void) SendFeatureReport(uint8_t reportId, array_view reportBuffer) const; - WINRT_IMPL_AUTO(void) SendOutputReport(uint8_t reportId, array_view reportBuffer) const; + [[nodiscard]] auto UsageId() const; + [[nodiscard]] auto UsagePage() const; + auto GetFeatureReport(uint8_t reportId, array_view reportBuffer) const; + auto SendFeatureReport(uint8_t reportId, array_view reportBuffer) const; + auto SendOutputReport(uint8_t reportId, array_view reportBuffer) const; }; template <> struct consume { @@ -345,7 +341,7 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_Custom_IXusbGameControllerInputSink { - WINRT_IMPL_AUTO(void) OnInputReceived(uint64_t timestamp, uint8_t reportId, array_view inputBuffer) const; + auto OnInputReceived(uint64_t timestamp, uint8_t reportId, array_view inputBuffer) const; }; template <> struct consume { @@ -354,7 +350,7 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_Custom_IXusbGameControllerProvider { - WINRT_IMPL_AUTO(void) SetVibration(double lowFrequencyMotorSpeed, double highFrequencyMotorSpeed) const; + auto SetVibration(double lowFrequencyMotorSpeed, double highFrequencyMotorSpeed) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.1.h index 8f89382c..5fa72d25 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Input_Custom_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.2.h index 4b6a6053..9e496780 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Input_Custom_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.0.h index 1ecb31d6..d634f36f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.0.h @@ -1,11 +1,10 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Input_ForceFeedback_0_H #define WINRT_Windows_Gaming_Input_ForceFeedback_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; } WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics { @@ -192,8 +191,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffect { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffectKind) Kind() const; - WINRT_IMPL_AUTO(void) SetParameters(winrt::Windows::Foundation::Numerics::float3 const& direction, float positiveCoefficient, float negativeCoefficient, float maxPositiveMagnitude, float maxNegativeMagnitude, float deadZone, float bias) const; + [[nodiscard]] auto Kind() const; + auto SetParameters(winrt::Windows::Foundation::Numerics::float3 const& direction, float positiveCoefficient, float negativeCoefficient, float maxPositiveMagnitude, float maxNegativeMagnitude, float deadZone, float bias) const; }; template <> struct consume { @@ -202,7 +201,7 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffectFactory { - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffect) CreateInstance(winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffectKind const& effectKind) const; + auto CreateInstance(winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffectKind const& effectKind) const; }; template <> struct consume { @@ -211,8 +210,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_ForceFeedback_IConstantForceEffect { - WINRT_IMPL_AUTO(void) SetParameters(winrt::Windows::Foundation::Numerics::float3 const& vector, winrt::Windows::Foundation::TimeSpan const& duration) const; - WINRT_IMPL_AUTO(void) SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3 const& vector, float attackGain, float sustainGain, float releaseGain, winrt::Windows::Foundation::TimeSpan const& startDelay, winrt::Windows::Foundation::TimeSpan const& attackDuration, winrt::Windows::Foundation::TimeSpan const& sustainDuration, winrt::Windows::Foundation::TimeSpan const& releaseDuration, uint32_t repeatCount) const; + auto SetParameters(winrt::Windows::Foundation::Numerics::float3 const& vector, winrt::Windows::Foundation::TimeSpan const& duration) const; + auto SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3 const& vector, float attackGain, float sustainGain, float releaseGain, winrt::Windows::Foundation::TimeSpan const& startDelay, winrt::Windows::Foundation::TimeSpan const& attackDuration, winrt::Windows::Foundation::TimeSpan const& sustainDuration, winrt::Windows::Foundation::TimeSpan const& releaseDuration, uint32_t repeatCount) const; }; template <> struct consume { @@ -221,11 +220,11 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect { - [[nodiscard]] WINRT_IMPL_AUTO(double) Gain() const; - WINRT_IMPL_AUTO(void) Gain(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackEffectState) State() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto Gain() const; + auto Gain(double value) const; + [[nodiscard]] auto State() const; + auto Start() const; + auto Stop() const; }; template <> struct consume { @@ -234,19 +233,19 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreEffectsPaused() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MasterGain() const; - WINRT_IMPL_AUTO(void) MasterGain(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackEffectAxes) SupportedAxes() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadEffectAsync(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect const& effect) const; - WINRT_IMPL_AUTO(void) PauseAllEffects() const; - WINRT_IMPL_AUTO(void) ResumeAllEffects() const; - WINRT_IMPL_AUTO(void) StopAllEffects() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryDisableAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryEnableAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryResetAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryUnloadEffectAsync(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect const& effect) const; + [[nodiscard]] auto AreEffectsPaused() const; + [[nodiscard]] auto MasterGain() const; + auto MasterGain(double value) const; + [[nodiscard]] auto IsEnabled() const; + [[nodiscard]] auto SupportedAxes() const; + auto LoadEffectAsync(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect const& effect) const; + auto PauseAllEffects() const; + auto ResumeAllEffects() const; + auto StopAllEffects() const; + auto TryDisableAsync() const; + auto TryEnableAsync() const; + auto TryResetAsync() const; + auto TryUnloadEffectAsync(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect const& effect) const; }; template <> struct consume { @@ -255,9 +254,9 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffect { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffectKind) Kind() const; - WINRT_IMPL_AUTO(void) SetParameters(winrt::Windows::Foundation::Numerics::float3 const& vector, float frequency, float phase, float bias, winrt::Windows::Foundation::TimeSpan const& duration) const; - WINRT_IMPL_AUTO(void) SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3 const& vector, float frequency, float phase, float bias, float attackGain, float sustainGain, float releaseGain, winrt::Windows::Foundation::TimeSpan const& startDelay, winrt::Windows::Foundation::TimeSpan const& attackDuration, winrt::Windows::Foundation::TimeSpan const& sustainDuration, winrt::Windows::Foundation::TimeSpan const& releaseDuration, uint32_t repeatCount) const; + [[nodiscard]] auto Kind() const; + auto SetParameters(winrt::Windows::Foundation::Numerics::float3 const& vector, float frequency, float phase, float bias, winrt::Windows::Foundation::TimeSpan const& duration) const; + auto SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3 const& vector, float frequency, float phase, float bias, float attackGain, float sustainGain, float releaseGain, winrt::Windows::Foundation::TimeSpan const& startDelay, winrt::Windows::Foundation::TimeSpan const& attackDuration, winrt::Windows::Foundation::TimeSpan const& sustainDuration, winrt::Windows::Foundation::TimeSpan const& releaseDuration, uint32_t repeatCount) const; }; template <> struct consume { @@ -266,7 +265,7 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffectFactory { - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffect) CreateInstance(winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffectKind const& effectKind) const; + auto CreateInstance(winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffectKind const& effectKind) const; }; template <> struct consume { @@ -275,8 +274,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_ForceFeedback_IRampForceEffect { - WINRT_IMPL_AUTO(void) SetParameters(winrt::Windows::Foundation::Numerics::float3 const& startVector, winrt::Windows::Foundation::Numerics::float3 const& endVector, winrt::Windows::Foundation::TimeSpan const& duration) const; - WINRT_IMPL_AUTO(void) SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3 const& startVector, winrt::Windows::Foundation::Numerics::float3 const& endVector, float attackGain, float sustainGain, float releaseGain, winrt::Windows::Foundation::TimeSpan const& startDelay, winrt::Windows::Foundation::TimeSpan const& attackDuration, winrt::Windows::Foundation::TimeSpan const& sustainDuration, winrt::Windows::Foundation::TimeSpan const& releaseDuration, uint32_t repeatCount) const; + auto SetParameters(winrt::Windows::Foundation::Numerics::float3 const& startVector, winrt::Windows::Foundation::Numerics::float3 const& endVector, winrt::Windows::Foundation::TimeSpan const& duration) const; + auto SetParametersWithEnvelope(winrt::Windows::Foundation::Numerics::float3 const& startVector, winrt::Windows::Foundation::Numerics::float3 const& endVector, float attackGain, float sustainGain, float releaseGain, winrt::Windows::Foundation::TimeSpan const& startDelay, winrt::Windows::Foundation::TimeSpan const& attackDuration, winrt::Windows::Foundation::TimeSpan const& sustainDuration, winrt::Windows::Foundation::TimeSpan const& releaseDuration, uint32_t repeatCount) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.1.h index 824b5276..21ccf7a0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Input_ForceFeedback_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.2.h index ba8e8f23..676de950 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Input_ForceFeedback_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.0.h index 31cf4a94..ebbc8037 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Input_Preview_0_H @@ -30,8 +30,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_Input_Preview_IGameControllerProviderInfoStatics { - WINRT_IMPL_AUTO(hstring) GetParentProviderId(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const; - WINRT_IMPL_AUTO(hstring) GetProviderId(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const; + auto GetParentProviderId(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const; + auto GetProviderId(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.1.h index 52ddfe91..d892018e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Input_Preview_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.2.h index fda686a1..36fbd02f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Input_Preview_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.0.h index bb7eedf7..b0be18ea 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Preview_GamesEnumeration_0_H @@ -11,15 +11,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Storage { struct IStorageFile; @@ -200,11 +193,11 @@ namespace winrt::impl template struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppDisplayInfo) DisplayInfo() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListCategory) Category() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetCategoryAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListCategory const& value) const; + [[nodiscard]] auto DisplayInfo() const; + auto LaunchAsync() const; + [[nodiscard]] auto Category() const; + [[nodiscard]] auto Properties() const; + auto SetCategoryAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListCategory const& value) const; }; template <> struct consume { @@ -213,14 +206,14 @@ namespace winrt::impl template struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntryLaunchableState) LaunchableState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) LauncherExecutable() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LaunchParameters() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetLauncherExecutableFileAsync(winrt::Windows::Storage::IStorageFile const& executableFile) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetLauncherExecutableFileAsync(winrt::Windows::Storage::IStorageFile const& executableFile, param::hstring const& launchParams) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TitleId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetTitleIdAsync(param::hstring const& id) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::Preview::GamesEnumeration::GameModeConfiguration) GameModeConfiguration() const; + [[nodiscard]] auto LaunchableState() const; + [[nodiscard]] auto LauncherExecutable() const; + [[nodiscard]] auto LaunchParameters() const; + auto SetLauncherExecutableFileAsync(winrt::Windows::Storage::IStorageFile const& executableFile) const; + auto SetLauncherExecutableFileAsync(winrt::Windows::Storage::IStorageFile const& executableFile, param::hstring const& launchParams) const; + [[nodiscard]] auto TitleId() const; + auto SetTitleIdAsync(param::hstring const& id) const; + [[nodiscard]] auto GameModeConfiguration() const; }; template <> struct consume { @@ -229,20 +222,20 @@ namespace winrt::impl template struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAsync(param::hstring const& packageFamilyName) const; - WINRT_IMPL_AUTO(winrt::event_token) GameAdded(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const; + auto FindAllAsync() const; + auto FindAllAsync(param::hstring const& packageFamilyName) const; + auto GameAdded(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const; using GameAdded_revoker = impl::event_revoker::remove_GameAdded>; - [[nodiscard]] GameAdded_revoker GameAdded(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GameAdded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) GameRemoved(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler) const; + [[nodiscard]] auto GameAdded(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const; + auto GameAdded(winrt::event_token const& token) const noexcept; + auto GameRemoved(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler) const; using GameRemoved_revoker = impl::event_revoker::remove_GameRemoved>; - [[nodiscard]] GameRemoved_revoker GameRemoved(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GameRemoved(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) GameUpdated(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const; + [[nodiscard]] auto GameRemoved(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler) const; + auto GameRemoved(winrt::event_token const& token) const noexcept; + auto GameUpdated(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const; using GameUpdated_revoker = impl::event_revoker::remove_GameUpdated>; - [[nodiscard]] GameUpdated_revoker GameUpdated(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GameUpdated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto GameUpdated(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const; + auto GameUpdated(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -251,8 +244,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) MergeEntriesAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& left, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& right) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) UnmergeEntryAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& mergedEntry) const; + auto MergeEntriesAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& left, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& right) const; + auto UnmergeEntryAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& mergedEntry) const; }; template <> struct consume { @@ -261,24 +254,24 @@ namespace winrt::impl template struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) RelatedProcessNames() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PercentGpuTimeAllocatedToGame() const; - WINRT_IMPL_AUTO(void) PercentGpuTimeAllocatedToGame(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PercentGpuMemoryAllocatedToGame() const; - WINRT_IMPL_AUTO(void) PercentGpuMemoryAllocatedToGame(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PercentGpuMemoryAllocatedToSystemCompositor() const; - WINRT_IMPL_AUTO(void) PercentGpuMemoryAllocatedToSystemCompositor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxCpuCount() const; - WINRT_IMPL_AUTO(void) MaxCpuCount(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) CpuExclusivityMaskLow() const; - WINRT_IMPL_AUTO(void) CpuExclusivityMaskLow(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) CpuExclusivityMaskHigh() const; - WINRT_IMPL_AUTO(void) CpuExclusivityMaskHigh(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AffinitizeToExclusiveCpus() const; - WINRT_IMPL_AUTO(void) AffinitizeToExclusiveCpus(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAsync() const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto RelatedProcessNames() const; + [[nodiscard]] auto PercentGpuTimeAllocatedToGame() const; + auto PercentGpuTimeAllocatedToGame(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto PercentGpuMemoryAllocatedToGame() const; + auto PercentGpuMemoryAllocatedToGame(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto PercentGpuMemoryAllocatedToSystemCompositor() const; + auto PercentGpuMemoryAllocatedToSystemCompositor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxCpuCount() const; + auto MaxCpuCount(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto CpuExclusivityMaskLow() const; + auto CpuExclusivityMaskLow(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto CpuExclusivityMaskHigh() const; + auto CpuExclusivityMaskHigh(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto AffinitizeToExclusiveCpus() const; + auto AffinitizeToExclusiveCpus(bool value) const; + auto SaveAsync() const; }; template <> struct consume { @@ -287,8 +280,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GamingRelatedProcessNames() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAsync() const; + [[nodiscard]] auto GamingRelatedProcessNames() const; + auto SaveAsync() const; }; template <> struct consume { @@ -297,7 +290,7 @@ namespace winrt::impl template struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfigurationStatics { - WINRT_IMPL_AUTO(winrt::Windows::Gaming::Preview::GamesEnumeration::GameModeUserConfiguration) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.1.h index 9b43b76c..c8660ff5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Preview_GamesEnumeration_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.2.h index c6c2a0ba..3f3dd5be 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_Preview_GamesEnumeration_2_H @@ -36,15 +36,15 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::Preview::GamesEnumeration static auto FindAllAsync(param::hstring const& packageFamilyName); static auto GameAdded(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler); using GameAdded_revoker = impl::factory_event_revoker::remove_GameAdded>; - [[nodiscard]] static GameAdded_revoker GameAdded(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler); + [[nodiscard]] static auto GameAdded(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler); static auto GameAdded(winrt::event_token const& token); static auto GameRemoved(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler); using GameRemoved_revoker = impl::factory_event_revoker::remove_GameRemoved>; - [[nodiscard]] static GameRemoved_revoker GameRemoved(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler); + [[nodiscard]] static auto GameRemoved(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler); static auto GameRemoved(winrt::event_token const& token); static auto GameUpdated(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler); using GameUpdated_revoker = impl::factory_event_revoker::remove_GameUpdated>; - [[nodiscard]] static GameUpdated_revoker GameUpdated(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler); + [[nodiscard]] static auto GameUpdated(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler); static auto GameUpdated(winrt::event_token const& token); static auto MergeEntriesAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& left, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& right); static auto UnmergeEntryAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& mergedEntry); diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.0.h index 72eb667e..aee0cac9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_UI_0_H @@ -140,16 +140,16 @@ namespace winrt::impl template struct consume_Windows_Gaming_UI_IGameBarStatics { - WINRT_IMPL_AUTO(winrt::event_token) VisibilityChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + auto VisibilityChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using VisibilityChanged_revoker = impl::event_revoker::remove_VisibilityChanged>; - [[nodiscard]] VisibilityChanged_revoker VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VisibilityChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) IsInputRedirectedChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto VisibilityChanged(winrt::event_token const& token) const noexcept; + auto IsInputRedirectedChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using IsInputRedirectedChanged_revoker = impl::event_revoker::remove_IsInputRedirectedChanged>; - [[nodiscard]] IsInputRedirectedChanged_revoker IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsInputRedirectedChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Visible() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInputRedirected() const; + [[nodiscard]] auto IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto IsInputRedirectedChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Visible() const; + [[nodiscard]] auto IsInputRedirected() const; }; template <> struct consume { @@ -158,11 +158,11 @@ namespace winrt::impl template struct consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppDisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SenderName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::UI::GameChatMessageOrigin) Origin() const; + [[nodiscard]] auto AppId() const; + [[nodiscard]] auto AppDisplayName() const; + [[nodiscard]] auto SenderName() const; + [[nodiscard]] auto Message() const; + [[nodiscard]] auto Origin() const; }; template <> struct consume { @@ -171,9 +171,9 @@ namespace winrt::impl template struct consume_Windows_Gaming_UI_IGameChatOverlay { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::UI::GameChatOverlayPosition) DesiredPosition() const; - WINRT_IMPL_AUTO(void) DesiredPosition(winrt::Windows::Gaming::UI::GameChatOverlayPosition const& value) const; - WINRT_IMPL_AUTO(void) AddMessage(param::hstring const& sender, param::hstring const& message, winrt::Windows::Gaming::UI::GameChatMessageOrigin const& origin) const; + [[nodiscard]] auto DesiredPosition() const; + auto DesiredPosition(winrt::Windows::Gaming::UI::GameChatOverlayPosition const& value) const; + auto AddMessage(param::hstring const& sender, param::hstring const& message, winrt::Windows::Gaming::UI::GameChatMessageOrigin const& origin) const; }; template <> struct consume { @@ -182,11 +182,11 @@ namespace winrt::impl template struct consume_Windows_Gaming_UI_IGameChatOverlayMessageSource { - WINRT_IMPL_AUTO(winrt::event_token) MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MessageReceived_revoker = impl::event_revoker::remove_MessageReceived>; - [[nodiscard]] MessageReceived_revoker MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MessageReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SetDelayBeforeClosingAfterMessageReceived(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MessageReceived(winrt::event_token const& token) const noexcept; + auto SetDelayBeforeClosingAfterMessageReceived(winrt::Windows::Foundation::TimeSpan const& value) const; }; template <> struct consume { @@ -195,7 +195,7 @@ namespace winrt::impl template struct consume_Windows_Gaming_UI_IGameChatOverlayStatics { - WINRT_IMPL_AUTO(winrt::Windows::Gaming::UI::GameChatOverlay) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -204,8 +204,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_UI_IGameUIProviderActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) GameUIArgs() const; - WINRT_IMPL_AUTO(void) ReportCompleted(winrt::Windows::Foundation::Collections::ValueSet const& results) const; + [[nodiscard]] auto GameUIArgs() const; + auto ReportCompleted(winrt::Windows::Foundation::Collections::ValueSet const& results) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.1.h index e1d01259..17689f64 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_UI_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.2.h index d677586e..74db291a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_UI_2_H @@ -13,11 +13,11 @@ WINRT_EXPORT namespace winrt::Windows::Gaming::UI GameBar() = delete; static auto VisibilityChanged(winrt::Windows::Foundation::EventHandler const& handler); using VisibilityChanged_revoker = impl::factory_event_revoker::remove_VisibilityChanged>; - [[nodiscard]] static VisibilityChanged_revoker VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto VisibilityChanged(winrt::event_token const& token); static auto IsInputRedirectedChanged(winrt::Windows::Foundation::EventHandler const& handler); using IsInputRedirectedChanged_revoker = impl::factory_event_revoker::remove_IsInputRedirectedChanged>; - [[nodiscard]] static IsInputRedirectedChanged_revoker IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto IsInputRedirectedChanged(winrt::event_token const& token); [[nodiscard]] static auto Visible(); [[nodiscard]] static auto IsInputRedirected(); diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.0.h index 06a49b18..52ad33fc 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.0.h @@ -1,18 +1,16 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_XboxLive_Storage_0_H #define WINRT_Windows_Gaming_XboxLive_Storage_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; template struct __declspec(empty_bases) IMapView; struct IPropertySet; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { @@ -252,8 +250,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobGetResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Value() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -262,8 +260,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Size() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Size() const; }; template <> struct consume { @@ -272,8 +270,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoGetResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Value() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -282,9 +280,9 @@ namespace winrt::impl template struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoQuery { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetBlobInfoAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetBlobInfoAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetItemCountAsync() const; + auto GetBlobInfoAsync() const; + auto GetBlobInfoAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const; + auto GetItemCountAsync() const; }; template <> struct consume { @@ -293,13 +291,13 @@ namespace winrt::impl template struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveProvider) Provider() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SubmitUpdatesAsync(param::async_map_view const& blobsToWrite, param::async_iterable const& blobsToDelete, param::hstring const& displayName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadAsync(param::async_map_view const& blobsToRead) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAsync(param::async_iterable const& blobsToRead) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SubmitPropertySetUpdatesAsync(winrt::Windows::Foundation::Collections::IPropertySet const& blobsToWrite, param::async_iterable const& blobsToDelete, param::hstring const& displayName) const; - WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveBlobInfoQuery) CreateBlobInfoQuery(param::hstring const& blobNamePrefix) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Provider() const; + auto SubmitUpdatesAsync(param::async_map_view const& blobsToWrite, param::async_iterable const& blobsToDelete, param::hstring const& displayName) const; + auto ReadAsync(param::async_map_view const& blobsToRead) const; + auto GetAsync(param::async_iterable const& blobsToRead) const; + auto SubmitPropertySetUpdatesAsync(winrt::Windows::Foundation::Collections::IPropertySet const& blobsToWrite, param::async_iterable const& blobsToDelete, param::hstring const& displayName) const; + auto CreateBlobInfoQuery(param::hstring const& blobNamePrefix) const; }; template <> struct consume { @@ -308,11 +306,11 @@ namespace winrt::impl template struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) TotalSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastModifiedTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) NeedsSync() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto TotalSize() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto LastModifiedTime() const; + [[nodiscard]] auto NeedsSync() const; }; template <> struct consume { @@ -321,8 +319,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoGetResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Value() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -331,9 +329,9 @@ namespace winrt::impl template struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoQuery { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetContainerInfoAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetContainerInfoAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetItemCountAsync() const; + auto GetContainerInfoAsync() const; + auto GetContainerInfoAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const; + auto GetItemCountAsync() const; }; template <> struct consume { @@ -342,7 +340,7 @@ namespace winrt::impl template struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveOperationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -351,13 +349,13 @@ namespace winrt::impl template struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; - WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainer) CreateContainer(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DeleteContainerAsync(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfoQuery) CreateContainerInfoQuery() const; - WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfoQuery) CreateContainerInfoQuery(param::hstring const& containerNamePrefix) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetRemainingBytesInQuotaAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ContainersChangedSinceLastSync() const; + [[nodiscard]] auto User() const; + auto CreateContainer(param::hstring const& name) const; + auto DeleteContainerAsync(param::hstring const& name) const; + auto CreateContainerInfoQuery() const; + auto CreateContainerInfoQuery(param::hstring const& containerNamePrefix) const; + auto GetRemainingBytesInQuotaAsync() const; + [[nodiscard]] auto ContainersChangedSinceLastSync() const; }; template <> struct consume { @@ -366,8 +364,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderGetResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveProvider) Value() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -376,8 +374,8 @@ namespace winrt::impl template struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetForUserAsync(winrt::Windows::System::User const& user, param::hstring const& serviceConfigId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetSyncOnDemandForUserAsync(winrt::Windows::System::User const& user, param::hstring const& serviceConfigId) const; + auto GetForUserAsync(winrt::Windows::System::User const& user, param::hstring const& serviceConfigId) const; + auto GetSyncOnDemandForUserAsync(winrt::Windows::System::User const& user, param::hstring const& serviceConfigId) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.1.h index 8be2fd7f..48414864 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_XboxLive_Storage_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.2.h index c110c2cf..9060dea6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Gaming_XboxLive_Storage_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.0.h index b8d08d72..dd15b027 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_0_H @@ -9,8 +9,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::System { @@ -749,10 +747,10 @@ namespace winrt::impl template struct consume_Windows_Globalization_IApplicationLanguagesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PrimaryLanguageOverride() const; - WINRT_IMPL_AUTO(void) PrimaryLanguageOverride(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Languages() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ManifestLanguages() const; + [[nodiscard]] auto PrimaryLanguageOverride() const; + auto PrimaryLanguageOverride(param::hstring const& value) const; + [[nodiscard]] auto Languages() const; + [[nodiscard]] auto ManifestLanguages() const; }; template <> struct consume { @@ -761,7 +759,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_IApplicationLanguagesStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetLanguagesForUser(winrt::Windows::System::User const& user) const; + auto GetLanguagesForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -770,104 +768,104 @@ namespace winrt::impl template struct consume_Windows_Globalization_ICalendar { - WINRT_IMPL_AUTO(winrt::Windows::Globalization::Calendar) Clone() const; - WINRT_IMPL_AUTO(void) SetToMin() const; - WINRT_IMPL_AUTO(void) SetToMax() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Languages() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NumeralSystem() const; - WINRT_IMPL_AUTO(void) NumeralSystem(param::hstring const& value) const; - WINRT_IMPL_AUTO(hstring) GetCalendarSystem() const; - WINRT_IMPL_AUTO(void) ChangeCalendarSystem(param::hstring const& value) const; - WINRT_IMPL_AUTO(hstring) GetClock() const; - WINRT_IMPL_AUTO(void) ChangeClock(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) GetDateTime() const; - WINRT_IMPL_AUTO(void) SetDateTime(winrt::Windows::Foundation::DateTime const& value) const; - WINRT_IMPL_AUTO(void) SetToNow() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FirstEra() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LastEra() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) NumberOfEras() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Era() const; - WINRT_IMPL_AUTO(void) Era(int32_t value) const; - WINRT_IMPL_AUTO(void) AddEras(int32_t eras) const; - WINRT_IMPL_AUTO(hstring) EraAsString() const; - WINRT_IMPL_AUTO(hstring) EraAsString(int32_t idealLength) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FirstYearInThisEra() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LastYearInThisEra() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) NumberOfYearsInThisEra() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Year() const; - WINRT_IMPL_AUTO(void) Year(int32_t value) const; - WINRT_IMPL_AUTO(void) AddYears(int32_t years) const; - WINRT_IMPL_AUTO(hstring) YearAsString() const; - WINRT_IMPL_AUTO(hstring) YearAsTruncatedString(int32_t remainingDigits) const; - WINRT_IMPL_AUTO(hstring) YearAsPaddedString(int32_t minDigits) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FirstMonthInThisYear() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LastMonthInThisYear() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) NumberOfMonthsInThisYear() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Month() const; - WINRT_IMPL_AUTO(void) Month(int32_t value) const; - WINRT_IMPL_AUTO(void) AddMonths(int32_t months) const; - WINRT_IMPL_AUTO(hstring) MonthAsString() const; - WINRT_IMPL_AUTO(hstring) MonthAsString(int32_t idealLength) const; - WINRT_IMPL_AUTO(hstring) MonthAsSoloString() const; - WINRT_IMPL_AUTO(hstring) MonthAsSoloString(int32_t idealLength) const; - WINRT_IMPL_AUTO(hstring) MonthAsNumericString() const; - WINRT_IMPL_AUTO(hstring) MonthAsPaddedNumericString(int32_t minDigits) const; - WINRT_IMPL_AUTO(void) AddWeeks(int32_t weeks) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FirstDayInThisMonth() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LastDayInThisMonth() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) NumberOfDaysInThisMonth() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Day() const; - WINRT_IMPL_AUTO(void) Day(int32_t value) const; - WINRT_IMPL_AUTO(void) AddDays(int32_t days) const; - WINRT_IMPL_AUTO(hstring) DayAsString() const; - WINRT_IMPL_AUTO(hstring) DayAsPaddedString(int32_t minDigits) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) DayOfWeek() const; - WINRT_IMPL_AUTO(hstring) DayOfWeekAsString() const; - WINRT_IMPL_AUTO(hstring) DayOfWeekAsString(int32_t idealLength) const; - WINRT_IMPL_AUTO(hstring) DayOfWeekAsSoloString() const; - WINRT_IMPL_AUTO(hstring) DayOfWeekAsSoloString(int32_t idealLength) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FirstPeriodInThisDay() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LastPeriodInThisDay() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) NumberOfPeriodsInThisDay() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Period() const; - WINRT_IMPL_AUTO(void) Period(int32_t value) const; - WINRT_IMPL_AUTO(void) AddPeriods(int32_t periods) const; - WINRT_IMPL_AUTO(hstring) PeriodAsString() const; - WINRT_IMPL_AUTO(hstring) PeriodAsString(int32_t idealLength) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FirstHourInThisPeriod() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LastHourInThisPeriod() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) NumberOfHoursInThisPeriod() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Hour() const; - WINRT_IMPL_AUTO(void) Hour(int32_t value) const; - WINRT_IMPL_AUTO(void) AddHours(int32_t hours) const; - WINRT_IMPL_AUTO(hstring) HourAsString() const; - WINRT_IMPL_AUTO(hstring) HourAsPaddedString(int32_t minDigits) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Minute() const; - WINRT_IMPL_AUTO(void) Minute(int32_t value) const; - WINRT_IMPL_AUTO(void) AddMinutes(int32_t minutes) const; - WINRT_IMPL_AUTO(hstring) MinuteAsString() const; - WINRT_IMPL_AUTO(hstring) MinuteAsPaddedString(int32_t minDigits) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Second() const; - WINRT_IMPL_AUTO(void) Second(int32_t value) const; - WINRT_IMPL_AUTO(void) AddSeconds(int32_t seconds) const; - WINRT_IMPL_AUTO(hstring) SecondAsString() const; - WINRT_IMPL_AUTO(hstring) SecondAsPaddedString(int32_t minDigits) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Nanosecond() const; - WINRT_IMPL_AUTO(void) Nanosecond(int32_t value) const; - WINRT_IMPL_AUTO(void) AddNanoseconds(int32_t nanoseconds) const; - WINRT_IMPL_AUTO(hstring) NanosecondAsString() const; - WINRT_IMPL_AUTO(hstring) NanosecondAsPaddedString(int32_t minDigits) const; - WINRT_IMPL_AUTO(int32_t) Compare(winrt::Windows::Globalization::Calendar const& other) const; - WINRT_IMPL_AUTO(int32_t) CompareDateTime(winrt::Windows::Foundation::DateTime const& other) const; - WINRT_IMPL_AUTO(void) CopyTo(winrt::Windows::Globalization::Calendar const& other) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FirstMinuteInThisHour() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LastMinuteInThisHour() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) NumberOfMinutesInThisHour() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FirstSecondInThisMinute() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LastSecondInThisMinute() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) NumberOfSecondsInThisMinute() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResolvedLanguage() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDaylightSavingTime() const; + auto Clone() const; + auto SetToMin() const; + auto SetToMax() const; + [[nodiscard]] auto Languages() const; + [[nodiscard]] auto NumeralSystem() const; + auto NumeralSystem(param::hstring const& value) const; + auto GetCalendarSystem() const; + auto ChangeCalendarSystem(param::hstring const& value) const; + auto GetClock() const; + auto ChangeClock(param::hstring const& value) const; + auto GetDateTime() const; + auto SetDateTime(winrt::Windows::Foundation::DateTime const& value) const; + auto SetToNow() const; + [[nodiscard]] auto FirstEra() const; + [[nodiscard]] auto LastEra() const; + [[nodiscard]] auto NumberOfEras() const; + [[nodiscard]] auto Era() const; + auto Era(int32_t value) const; + auto AddEras(int32_t eras) const; + auto EraAsString() const; + auto EraAsString(int32_t idealLength) const; + [[nodiscard]] auto FirstYearInThisEra() const; + [[nodiscard]] auto LastYearInThisEra() const; + [[nodiscard]] auto NumberOfYearsInThisEra() const; + [[nodiscard]] auto Year() const; + auto Year(int32_t value) const; + auto AddYears(int32_t years) const; + auto YearAsString() const; + auto YearAsTruncatedString(int32_t remainingDigits) const; + auto YearAsPaddedString(int32_t minDigits) const; + [[nodiscard]] auto FirstMonthInThisYear() const; + [[nodiscard]] auto LastMonthInThisYear() const; + [[nodiscard]] auto NumberOfMonthsInThisYear() const; + [[nodiscard]] auto Month() const; + auto Month(int32_t value) const; + auto AddMonths(int32_t months) const; + auto MonthAsString() const; + auto MonthAsString(int32_t idealLength) const; + auto MonthAsSoloString() const; + auto MonthAsSoloString(int32_t idealLength) const; + auto MonthAsNumericString() const; + auto MonthAsPaddedNumericString(int32_t minDigits) const; + auto AddWeeks(int32_t weeks) const; + [[nodiscard]] auto FirstDayInThisMonth() const; + [[nodiscard]] auto LastDayInThisMonth() const; + [[nodiscard]] auto NumberOfDaysInThisMonth() const; + [[nodiscard]] auto Day() const; + auto Day(int32_t value) const; + auto AddDays(int32_t days) const; + auto DayAsString() const; + auto DayAsPaddedString(int32_t minDigits) const; + [[nodiscard]] auto DayOfWeek() const; + auto DayOfWeekAsString() const; + auto DayOfWeekAsString(int32_t idealLength) const; + auto DayOfWeekAsSoloString() const; + auto DayOfWeekAsSoloString(int32_t idealLength) const; + [[nodiscard]] auto FirstPeriodInThisDay() const; + [[nodiscard]] auto LastPeriodInThisDay() const; + [[nodiscard]] auto NumberOfPeriodsInThisDay() const; + [[nodiscard]] auto Period() const; + auto Period(int32_t value) const; + auto AddPeriods(int32_t periods) const; + auto PeriodAsString() const; + auto PeriodAsString(int32_t idealLength) const; + [[nodiscard]] auto FirstHourInThisPeriod() const; + [[nodiscard]] auto LastHourInThisPeriod() const; + [[nodiscard]] auto NumberOfHoursInThisPeriod() const; + [[nodiscard]] auto Hour() const; + auto Hour(int32_t value) const; + auto AddHours(int32_t hours) const; + auto HourAsString() const; + auto HourAsPaddedString(int32_t minDigits) const; + [[nodiscard]] auto Minute() const; + auto Minute(int32_t value) const; + auto AddMinutes(int32_t minutes) const; + auto MinuteAsString() const; + auto MinuteAsPaddedString(int32_t minDigits) const; + [[nodiscard]] auto Second() const; + auto Second(int32_t value) const; + auto AddSeconds(int32_t seconds) const; + auto SecondAsString() const; + auto SecondAsPaddedString(int32_t minDigits) const; + [[nodiscard]] auto Nanosecond() const; + auto Nanosecond(int32_t value) const; + auto AddNanoseconds(int32_t nanoseconds) const; + auto NanosecondAsString() const; + auto NanosecondAsPaddedString(int32_t minDigits) const; + auto Compare(winrt::Windows::Globalization::Calendar const& other) const; + auto CompareDateTime(winrt::Windows::Foundation::DateTime const& other) const; + auto CopyTo(winrt::Windows::Globalization::Calendar const& other) const; + [[nodiscard]] auto FirstMinuteInThisHour() const; + [[nodiscard]] auto LastMinuteInThisHour() const; + [[nodiscard]] auto NumberOfMinutesInThisHour() const; + [[nodiscard]] auto FirstSecondInThisMinute() const; + [[nodiscard]] auto LastSecondInThisMinute() const; + [[nodiscard]] auto NumberOfSecondsInThisMinute() const; + [[nodiscard]] auto ResolvedLanguage() const; + [[nodiscard]] auto IsDaylightSavingTime() const; }; template <> struct consume { @@ -876,8 +874,8 @@ namespace winrt::impl template struct consume_Windows_Globalization_ICalendarFactory { - WINRT_IMPL_AUTO(winrt::Windows::Globalization::Calendar) CreateCalendarDefaultCalendarAndClock(param::iterable const& languages) const; - WINRT_IMPL_AUTO(winrt::Windows::Globalization::Calendar) CreateCalendar(param::iterable const& languages, param::hstring const& calendar, param::hstring const& clock) const; + auto CreateCalendarDefaultCalendarAndClock(param::iterable const& languages) const; + auto CreateCalendar(param::iterable const& languages, param::hstring const& calendar, param::hstring const& clock) const; }; template <> struct consume { @@ -886,7 +884,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_ICalendarFactory2 { - WINRT_IMPL_AUTO(winrt::Windows::Globalization::Calendar) CreateCalendarWithTimeZone(param::iterable const& languages, param::hstring const& calendar, param::hstring const& clock, param::hstring const& timeZoneId) const; + auto CreateCalendarWithTimeZone(param::iterable const& languages, param::hstring const& calendar, param::hstring const& clock, param::hstring const& timeZoneId) const; }; template <> struct consume { @@ -895,15 +893,15 @@ namespace winrt::impl template struct consume_Windows_Globalization_ICalendarIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Gregorian() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Hebrew() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Hijri() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Japanese() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Julian() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Korean() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Taiwan() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Thai() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UmAlQura() const; + [[nodiscard]] auto Gregorian() const; + [[nodiscard]] auto Hebrew() const; + [[nodiscard]] auto Hijri() const; + [[nodiscard]] auto Japanese() const; + [[nodiscard]] auto Julian() const; + [[nodiscard]] auto Korean() const; + [[nodiscard]] auto Taiwan() const; + [[nodiscard]] auto Thai() const; + [[nodiscard]] auto UmAlQura() const; }; template <> struct consume { @@ -912,7 +910,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_ICalendarIdentifiersStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Persian() const; + [[nodiscard]] auto Persian() const; }; template <> struct consume { @@ -921,11 +919,11 @@ namespace winrt::impl template struct consume_Windows_Globalization_ICalendarIdentifiersStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ChineseLunar() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) JapaneseLunar() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KoreanLunar() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TaiwanLunar() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VietnameseLunar() const; + [[nodiscard]] auto ChineseLunar() const; + [[nodiscard]] auto JapaneseLunar() const; + [[nodiscard]] auto KoreanLunar() const; + [[nodiscard]] auto TaiwanLunar() const; + [[nodiscard]] auto VietnameseLunar() const; }; template <> struct consume { @@ -934,8 +932,8 @@ namespace winrt::impl template struct consume_Windows_Globalization_IClockIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TwelveHour() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TwentyFourHour() const; + [[nodiscard]] auto TwelveHour() const; + [[nodiscard]] auto TwentyFourHour() const; }; template <> struct consume { @@ -944,8 +942,8 @@ namespace winrt::impl template struct consume_Windows_Globalization_ICurrencyAmount { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Amount() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Currency() const; + [[nodiscard]] auto Amount() const; + [[nodiscard]] auto Currency() const; }; template <> struct consume { @@ -954,7 +952,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_ICurrencyAmountFactory { - WINRT_IMPL_AUTO(winrt::Windows::Globalization::CurrencyAmount) Create(param::hstring const& amount, param::hstring const& currency) const; + auto Create(param::hstring const& amount, param::hstring const& currency) const; }; template <> struct consume { @@ -963,163 +961,163 @@ namespace winrt::impl template struct consume_Windows_Globalization_ICurrencyIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AED() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AFN() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ALL() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AMD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ANG() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AOA() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ARS() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AUD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AWG() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AZN() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BAM() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BBD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BDT() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BGN() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BHD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BIF() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BMD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BND() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BOB() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BRL() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BSD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BTN() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BWP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BYR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BZD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CAD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CDF() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CHF() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CLP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CNY() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) COP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CRC() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CUP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CVE() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CZK() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DJF() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DKK() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DOP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DZD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EGP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ERN() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ETB() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EUR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FJD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FKP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GBP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GEL() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GHS() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GIP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GMD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GNF() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GTQ() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GYD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HKD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HNL() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HRK() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HTG() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HUF() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IDR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ILS() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) INR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IQD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IRR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ISK() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) JMD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) JOD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) JPY() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KES() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KGS() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KHR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KMF() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KPW() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KRW() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KWD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KYD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KZT() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LAK() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LBP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LKR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LRD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LSL() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LTL() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LVL() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LYD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MAD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MDL() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MGA() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MKD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MMK() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MNT() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MOP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MRO() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MUR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MVR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MWK() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MXN() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MYR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MZN() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NAD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NGN() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NIO() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NOK() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NPR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NZD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OMR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PAB() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PEN() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PGK() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PHP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PKR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PLN() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PYG() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) QAR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RON() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RSD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RUB() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RWF() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SAR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SBD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SCR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SDG() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SEK() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SGD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SHP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SLL() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SOS() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SRD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) STD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SYP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SZL() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) THB() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TJS() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TMT() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TND() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TOP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TRY() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TTD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TWD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TZS() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UAH() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UGX() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) USD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UYU() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UZS() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VEF() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VND() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VUV() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WST() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) XAF() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) XCD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) XOF() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) XPF() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) XXX() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) YER() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ZAR() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ZMW() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ZWL() const; + [[nodiscard]] auto AED() const; + [[nodiscard]] auto AFN() const; + [[nodiscard]] auto ALL() const; + [[nodiscard]] auto AMD() const; + [[nodiscard]] auto ANG() const; + [[nodiscard]] auto AOA() const; + [[nodiscard]] auto ARS() const; + [[nodiscard]] auto AUD() const; + [[nodiscard]] auto AWG() const; + [[nodiscard]] auto AZN() const; + [[nodiscard]] auto BAM() const; + [[nodiscard]] auto BBD() const; + [[nodiscard]] auto BDT() const; + [[nodiscard]] auto BGN() const; + [[nodiscard]] auto BHD() const; + [[nodiscard]] auto BIF() const; + [[nodiscard]] auto BMD() const; + [[nodiscard]] auto BND() const; + [[nodiscard]] auto BOB() const; + [[nodiscard]] auto BRL() const; + [[nodiscard]] auto BSD() const; + [[nodiscard]] auto BTN() const; + [[nodiscard]] auto BWP() const; + [[nodiscard]] auto BYR() const; + [[nodiscard]] auto BZD() const; + [[nodiscard]] auto CAD() const; + [[nodiscard]] auto CDF() const; + [[nodiscard]] auto CHF() const; + [[nodiscard]] auto CLP() const; + [[nodiscard]] auto CNY() const; + [[nodiscard]] auto COP() const; + [[nodiscard]] auto CRC() const; + [[nodiscard]] auto CUP() const; + [[nodiscard]] auto CVE() const; + [[nodiscard]] auto CZK() const; + [[nodiscard]] auto DJF() const; + [[nodiscard]] auto DKK() const; + [[nodiscard]] auto DOP() const; + [[nodiscard]] auto DZD() const; + [[nodiscard]] auto EGP() const; + [[nodiscard]] auto ERN() const; + [[nodiscard]] auto ETB() const; + [[nodiscard]] auto EUR() const; + [[nodiscard]] auto FJD() const; + [[nodiscard]] auto FKP() const; + [[nodiscard]] auto GBP() const; + [[nodiscard]] auto GEL() const; + [[nodiscard]] auto GHS() const; + [[nodiscard]] auto GIP() const; + [[nodiscard]] auto GMD() const; + [[nodiscard]] auto GNF() const; + [[nodiscard]] auto GTQ() const; + [[nodiscard]] auto GYD() const; + [[nodiscard]] auto HKD() const; + [[nodiscard]] auto HNL() const; + [[nodiscard]] auto HRK() const; + [[nodiscard]] auto HTG() const; + [[nodiscard]] auto HUF() const; + [[nodiscard]] auto IDR() const; + [[nodiscard]] auto ILS() const; + [[nodiscard]] auto INR() const; + [[nodiscard]] auto IQD() const; + [[nodiscard]] auto IRR() const; + [[nodiscard]] auto ISK() const; + [[nodiscard]] auto JMD() const; + [[nodiscard]] auto JOD() const; + [[nodiscard]] auto JPY() const; + [[nodiscard]] auto KES() const; + [[nodiscard]] auto KGS() const; + [[nodiscard]] auto KHR() const; + [[nodiscard]] auto KMF() const; + [[nodiscard]] auto KPW() const; + [[nodiscard]] auto KRW() const; + [[nodiscard]] auto KWD() const; + [[nodiscard]] auto KYD() const; + [[nodiscard]] auto KZT() const; + [[nodiscard]] auto LAK() const; + [[nodiscard]] auto LBP() const; + [[nodiscard]] auto LKR() const; + [[nodiscard]] auto LRD() const; + [[nodiscard]] auto LSL() const; + [[nodiscard]] auto LTL() const; + [[nodiscard]] auto LVL() const; + [[nodiscard]] auto LYD() const; + [[nodiscard]] auto MAD() const; + [[nodiscard]] auto MDL() const; + [[nodiscard]] auto MGA() const; + [[nodiscard]] auto MKD() const; + [[nodiscard]] auto MMK() const; + [[nodiscard]] auto MNT() const; + [[nodiscard]] auto MOP() const; + [[nodiscard]] auto MRO() const; + [[nodiscard]] auto MUR() const; + [[nodiscard]] auto MVR() const; + [[nodiscard]] auto MWK() const; + [[nodiscard]] auto MXN() const; + [[nodiscard]] auto MYR() const; + [[nodiscard]] auto MZN() const; + [[nodiscard]] auto NAD() const; + [[nodiscard]] auto NGN() const; + [[nodiscard]] auto NIO() const; + [[nodiscard]] auto NOK() const; + [[nodiscard]] auto NPR() const; + [[nodiscard]] auto NZD() const; + [[nodiscard]] auto OMR() const; + [[nodiscard]] auto PAB() const; + [[nodiscard]] auto PEN() const; + [[nodiscard]] auto PGK() const; + [[nodiscard]] auto PHP() const; + [[nodiscard]] auto PKR() const; + [[nodiscard]] auto PLN() const; + [[nodiscard]] auto PYG() const; + [[nodiscard]] auto QAR() const; + [[nodiscard]] auto RON() const; + [[nodiscard]] auto RSD() const; + [[nodiscard]] auto RUB() const; + [[nodiscard]] auto RWF() const; + [[nodiscard]] auto SAR() const; + [[nodiscard]] auto SBD() const; + [[nodiscard]] auto SCR() const; + [[nodiscard]] auto SDG() const; + [[nodiscard]] auto SEK() const; + [[nodiscard]] auto SGD() const; + [[nodiscard]] auto SHP() const; + [[nodiscard]] auto SLL() const; + [[nodiscard]] auto SOS() const; + [[nodiscard]] auto SRD() const; + [[nodiscard]] auto STD() const; + [[nodiscard]] auto SYP() const; + [[nodiscard]] auto SZL() const; + [[nodiscard]] auto THB() const; + [[nodiscard]] auto TJS() const; + [[nodiscard]] auto TMT() const; + [[nodiscard]] auto TND() const; + [[nodiscard]] auto TOP() const; + [[nodiscard]] auto TRY() const; + [[nodiscard]] auto TTD() const; + [[nodiscard]] auto TWD() const; + [[nodiscard]] auto TZS() const; + [[nodiscard]] auto UAH() const; + [[nodiscard]] auto UGX() const; + [[nodiscard]] auto USD() const; + [[nodiscard]] auto UYU() const; + [[nodiscard]] auto UZS() const; + [[nodiscard]] auto VEF() const; + [[nodiscard]] auto VND() const; + [[nodiscard]] auto VUV() const; + [[nodiscard]] auto WST() const; + [[nodiscard]] auto XAF() const; + [[nodiscard]] auto XCD() const; + [[nodiscard]] auto XOF() const; + [[nodiscard]] auto XPF() const; + [[nodiscard]] auto XXX() const; + [[nodiscard]] auto YER() const; + [[nodiscard]] auto ZAR() const; + [[nodiscard]] auto ZMW() const; + [[nodiscard]] auto ZWL() const; }; template <> struct consume { @@ -1128,7 +1126,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_ICurrencyIdentifiersStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BYN() const; + [[nodiscard]] auto BYN() const; }; template <> struct consume { @@ -1137,10 +1135,10 @@ namespace winrt::impl template struct consume_Windows_Globalization_ICurrencyIdentifiersStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MRU() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SSP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) STN() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VES() const; + [[nodiscard]] auto MRU() const; + [[nodiscard]] auto SSP() const; + [[nodiscard]] auto STN() const; + [[nodiscard]] auto VES() const; }; template <> struct consume { @@ -1149,13 +1147,13 @@ namespace winrt::impl template struct consume_Windows_Globalization_IGeographicRegion { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Code() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CodeTwoLetter() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CodeThreeLetter() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CodeThreeDigit() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NativeName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) CurrenciesInUse() const; + [[nodiscard]] auto Code() const; + [[nodiscard]] auto CodeTwoLetter() const; + [[nodiscard]] auto CodeThreeLetter() const; + [[nodiscard]] auto CodeThreeDigit() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto NativeName() const; + [[nodiscard]] auto CurrenciesInUse() const; }; template <> struct consume { @@ -1164,7 +1162,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_IGeographicRegionFactory { - WINRT_IMPL_AUTO(winrt::Windows::Globalization::GeographicRegion) CreateGeographicRegion(param::hstring const& geographicRegionCode) const; + auto CreateGeographicRegion(param::hstring const& geographicRegionCode) const; }; template <> struct consume { @@ -1173,7 +1171,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_IGeographicRegionStatics { - WINRT_IMPL_AUTO(bool) IsSupported(param::hstring const& geographicRegionCode) const; + auto IsSupported(param::hstring const& geographicRegionCode) const; }; template <> struct consume { @@ -1182,9 +1180,9 @@ namespace winrt::impl template struct consume_Windows_Globalization_IJapanesePhoneme { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayText() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) YomiText() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPhraseStart() const; + [[nodiscard]] auto DisplayText() const; + [[nodiscard]] auto YomiText() const; + [[nodiscard]] auto IsPhraseStart() const; }; template <> struct consume { @@ -1193,8 +1191,8 @@ namespace winrt::impl template struct consume_Windows_Globalization_IJapanesePhoneticAnalyzerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetWords(param::hstring const& input) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetWords(param::hstring const& input, bool monoRuby) const; + auto GetWords(param::hstring const& input) const; + auto GetWords(param::hstring const& input, bool monoRuby) const; }; template <> struct consume { @@ -1203,10 +1201,10 @@ namespace winrt::impl template struct consume_Windows_Globalization_ILanguage { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LanguageTag() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NativeName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Script() const; + [[nodiscard]] auto LanguageTag() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto NativeName() const; + [[nodiscard]] auto Script() const; }; template <> struct consume { @@ -1215,7 +1213,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_ILanguage2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::LanguageLayoutDirection) LayoutDirection() const; + [[nodiscard]] auto LayoutDirection() const; }; template <> struct consume { @@ -1224,7 +1222,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_ILanguage3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AbbreviatedName() const; + [[nodiscard]] auto AbbreviatedName() const; }; template <> struct consume { @@ -1233,7 +1231,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_ILanguageExtensionSubtags { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetExtensionSubtags(param::hstring const& singleton) const; + auto GetExtensionSubtags(param::hstring const& singleton) const; }; template <> struct consume { @@ -1242,7 +1240,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_ILanguageFactory { - WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) CreateLanguage(param::hstring const& languageTag) const; + auto CreateLanguage(param::hstring const& languageTag) const; }; template <> struct consume { @@ -1251,8 +1249,8 @@ namespace winrt::impl template struct consume_Windows_Globalization_ILanguageStatics { - WINRT_IMPL_AUTO(bool) IsWellFormed(param::hstring const& languageTag) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CurrentInputMethodLanguageTag() const; + auto IsWellFormed(param::hstring const& languageTag) const; + [[nodiscard]] auto CurrentInputMethodLanguageTag() const; }; template <> struct consume { @@ -1261,7 +1259,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_ILanguageStatics2 { - WINRT_IMPL_AUTO(bool) TrySetInputMethodLanguageTag(param::hstring const& languageTag) const; + auto TrySetInputMethodLanguageTag(param::hstring const& languageTag) const; }; template <> struct consume { @@ -1270,7 +1268,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_ILanguageStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetMuiCompatibleLanguageListFromLanguageTags(param::iterable const& languageTags) const; + auto GetMuiCompatibleLanguageListFromLanguageTags(param::iterable const& languageTags) const; }; template <> struct consume { @@ -1279,42 +1277,42 @@ namespace winrt::impl template struct consume_Windows_Globalization_INumeralSystemIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Arab() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ArabExt() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Bali() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Beng() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Cham() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Deva() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FullWide() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Gujr() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Guru() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HaniDec() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Java() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Kali() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Khmr() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Knda() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Lana() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LanaTham() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Laoo() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Latn() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Lepc() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Limb() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Mlym() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Mong() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Mtei() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Mymr() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MymrShan() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Nkoo() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Olck() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Orya() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Saur() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sund() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Talu() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TamlDec() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Telu() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Thai() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Tibt() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Vaii() const; + [[nodiscard]] auto Arab() const; + [[nodiscard]] auto ArabExt() const; + [[nodiscard]] auto Bali() const; + [[nodiscard]] auto Beng() const; + [[nodiscard]] auto Cham() const; + [[nodiscard]] auto Deva() const; + [[nodiscard]] auto FullWide() const; + [[nodiscard]] auto Gujr() const; + [[nodiscard]] auto Guru() const; + [[nodiscard]] auto HaniDec() const; + [[nodiscard]] auto Java() const; + [[nodiscard]] auto Kali() const; + [[nodiscard]] auto Khmr() const; + [[nodiscard]] auto Knda() const; + [[nodiscard]] auto Lana() const; + [[nodiscard]] auto LanaTham() const; + [[nodiscard]] auto Laoo() const; + [[nodiscard]] auto Latn() const; + [[nodiscard]] auto Lepc() const; + [[nodiscard]] auto Limb() const; + [[nodiscard]] auto Mlym() const; + [[nodiscard]] auto Mong() const; + [[nodiscard]] auto Mtei() const; + [[nodiscard]] auto Mymr() const; + [[nodiscard]] auto MymrShan() const; + [[nodiscard]] auto Nkoo() const; + [[nodiscard]] auto Olck() const; + [[nodiscard]] auto Orya() const; + [[nodiscard]] auto Saur() const; + [[nodiscard]] auto Sund() const; + [[nodiscard]] auto Talu() const; + [[nodiscard]] auto TamlDec() const; + [[nodiscard]] auto Telu() const; + [[nodiscard]] auto Thai() const; + [[nodiscard]] auto Tibt() const; + [[nodiscard]] auto Vaii() const; }; template <> struct consume { @@ -1323,18 +1321,18 @@ namespace winrt::impl template struct consume_Windows_Globalization_INumeralSystemIdentifiersStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Brah() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Osma() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MathBold() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MathDbl() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MathSans() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MathSanb() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MathMono() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ZmthBold() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ZmthDbl() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ZmthSans() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ZmthSanb() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ZmthMono() const; + [[nodiscard]] auto Brah() const; + [[nodiscard]] auto Osma() const; + [[nodiscard]] auto MathBold() const; + [[nodiscard]] auto MathDbl() const; + [[nodiscard]] auto MathSans() const; + [[nodiscard]] auto MathSanb() const; + [[nodiscard]] auto MathMono() const; + [[nodiscard]] auto ZmthBold() const; + [[nodiscard]] auto ZmthDbl() const; + [[nodiscard]] auto ZmthSans() const; + [[nodiscard]] auto ZmthSanb() const; + [[nodiscard]] auto ZmthMono() const; }; template <> struct consume { @@ -1343,10 +1341,10 @@ namespace winrt::impl template struct consume_Windows_Globalization_ITimeZoneOnCalendar { - WINRT_IMPL_AUTO(hstring) GetTimeZone() const; - WINRT_IMPL_AUTO(void) ChangeTimeZone(param::hstring const& timeZoneId) const; - WINRT_IMPL_AUTO(hstring) TimeZoneAsString() const; - WINRT_IMPL_AUTO(hstring) TimeZoneAsString(int32_t idealLength) const; + auto GetTimeZone() const; + auto ChangeTimeZone(param::hstring const& timeZoneId) const; + auto TimeZoneAsString() const; + auto TimeZoneAsString(int32_t idealLength) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.1.h index 52ec3194..8fdf3f55 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.2.h index 19bbf782..e0fb0435 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.0.h index a42a39b7..98fe6359 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_Collation_0_H @@ -53,8 +53,8 @@ namespace winrt::impl template struct consume_Windows_Globalization_Collation_ICharacterGrouping { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) First() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const; + [[nodiscard]] auto First() const; + [[nodiscard]] auto Label() const; }; template <> struct consume { @@ -63,7 +63,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_Collation_ICharacterGroupings { - WINRT_IMPL_AUTO(hstring) Lookup(param::hstring const& text) const; + auto Lookup(param::hstring const& text) const; }; template <> struct consume { @@ -72,7 +72,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_Collation_ICharacterGroupingsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Globalization::Collation::CharacterGroupings) Create(param::hstring const& language) const; + auto Create(param::hstring const& language) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.1.h index 6691d760..73afc4bf 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_Collation_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.2.h index df803dcd..fe19e294 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_Collation_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.0.h index 2ef26ca3..46d6d8ed 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_DateTimeFormatting_0_H @@ -9,7 +9,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Globalization::DateTimeFormatting { @@ -149,24 +148,24 @@ namespace winrt::impl template struct consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Languages() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GeographicRegion() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Calendar() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Clock() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NumeralSystem() const; - WINRT_IMPL_AUTO(void) NumeralSystem(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Patterns() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Template() const; - WINRT_IMPL_AUTO(hstring) Format(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::YearFormat) IncludeYear() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::MonthFormat) IncludeMonth() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat) IncludeDayOfWeek() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DayFormat) IncludeDay() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::HourFormat) IncludeHour() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat) IncludeMinute() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::SecondFormat) IncludeSecond() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResolvedLanguage() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResolvedGeographicRegion() const; + [[nodiscard]] auto Languages() const; + [[nodiscard]] auto GeographicRegion() const; + [[nodiscard]] auto Calendar() const; + [[nodiscard]] auto Clock() const; + [[nodiscard]] auto NumeralSystem() const; + auto NumeralSystem(param::hstring const& value) const; + [[nodiscard]] auto Patterns() const; + [[nodiscard]] auto Template() const; + auto Format(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto IncludeYear() const; + [[nodiscard]] auto IncludeMonth() const; + [[nodiscard]] auto IncludeDayOfWeek() const; + [[nodiscard]] auto IncludeDay() const; + [[nodiscard]] auto IncludeHour() const; + [[nodiscard]] auto IncludeMinute() const; + [[nodiscard]] auto IncludeSecond() const; + [[nodiscard]] auto ResolvedLanguage() const; + [[nodiscard]] auto ResolvedGeographicRegion() const; }; template <> struct consume { @@ -175,7 +174,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter2 { - WINRT_IMPL_AUTO(hstring) Format(winrt::Windows::Foundation::DateTime const& datetime, param::hstring const& timeZoneId) const; + auto Format(winrt::Windows::Foundation::DateTime const& datetime, param::hstring const& timeZoneId) const; }; template <> struct consume { @@ -184,13 +183,13 @@ namespace winrt::impl template struct consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory { - WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) CreateDateTimeFormatter(param::hstring const& formatTemplate) const; - WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) CreateDateTimeFormatterLanguages(param::hstring const& formatTemplate, param::iterable const& languages) const; - WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) CreateDateTimeFormatterContext(param::hstring const& formatTemplate, param::iterable const& languages, param::hstring const& geographicRegion, param::hstring const& calendar, param::hstring const& clock) const; - WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) CreateDateTimeFormatterDate(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat) const; - WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) CreateDateTimeFormatterTime(winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat) const; - WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) CreateDateTimeFormatterDateTimeLanguages(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat, winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat, param::iterable const& languages) const; - WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) CreateDateTimeFormatterDateTimeContext(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat, winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat, param::iterable const& languages, param::hstring const& geographicRegion, param::hstring const& calendar, param::hstring const& clock) const; + auto CreateDateTimeFormatter(param::hstring const& formatTemplate) const; + auto CreateDateTimeFormatterLanguages(param::hstring const& formatTemplate, param::iterable const& languages) const; + auto CreateDateTimeFormatterContext(param::hstring const& formatTemplate, param::iterable const& languages, param::hstring const& geographicRegion, param::hstring const& calendar, param::hstring const& clock) const; + auto CreateDateTimeFormatterDate(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat) const; + auto CreateDateTimeFormatterTime(winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat) const; + auto CreateDateTimeFormatterDateTimeLanguages(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat, winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat, param::iterable const& languages) const; + auto CreateDateTimeFormatterDateTimeContext(winrt::Windows::Globalization::DateTimeFormatting::YearFormat const& yearFormat, winrt::Windows::Globalization::DateTimeFormatting::MonthFormat const& monthFormat, winrt::Windows::Globalization::DateTimeFormatting::DayFormat const& dayFormat, winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat const& dayOfWeekFormat, winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat, param::iterable const& languages, param::hstring const& geographicRegion, param::hstring const& calendar, param::hstring const& clock) const; }; template <> struct consume { @@ -199,10 +198,10 @@ namespace winrt::impl template struct consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) LongDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) LongTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) ShortDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) ShortTime() const; + [[nodiscard]] auto LongDate() const; + [[nodiscard]] auto LongTime() const; + [[nodiscard]] auto ShortDate() const; + [[nodiscard]] auto ShortTime() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.1.h index 3c502286..c63ac3db 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_DateTimeFormatting_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.2.h index cf85088d..71826ed0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_DateTimeFormatting_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.0.h index d66241d0..2694d66e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_Fonts_0_H @@ -72,11 +72,11 @@ namespace winrt::impl template struct consume_Windows_Globalization_Fonts_ILanguageFont { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FontFamily() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) FontWeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) FontStretch() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) FontStyle() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ScaleFactor() const; + [[nodiscard]] auto FontFamily() const; + [[nodiscard]] auto FontWeight() const; + [[nodiscard]] auto FontStretch() const; + [[nodiscard]] auto FontStyle() const; + [[nodiscard]] auto ScaleFactor() const; }; template <> struct consume { @@ -85,17 +85,17 @@ namespace winrt::impl template struct consume_Windows_Globalization_Fonts_ILanguageFontGroup { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) UITextFont() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) UIHeadingFont() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) UITitleFont() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) UICaptionFont() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) UINotificationHeadingFont() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) TraditionalDocumentFont() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) ModernDocumentFont() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) DocumentHeadingFont() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) FixedWidthTextFont() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) DocumentAlternate1Font() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) DocumentAlternate2Font() const; + [[nodiscard]] auto UITextFont() const; + [[nodiscard]] auto UIHeadingFont() const; + [[nodiscard]] auto UITitleFont() const; + [[nodiscard]] auto UICaptionFont() const; + [[nodiscard]] auto UINotificationHeadingFont() const; + [[nodiscard]] auto TraditionalDocumentFont() const; + [[nodiscard]] auto ModernDocumentFont() const; + [[nodiscard]] auto DocumentHeadingFont() const; + [[nodiscard]] auto FixedWidthTextFont() const; + [[nodiscard]] auto DocumentAlternate1Font() const; + [[nodiscard]] auto DocumentAlternate2Font() const; }; template <> struct consume { @@ -104,7 +104,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_Fonts_ILanguageFontGroupFactory { - WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFontGroup) CreateLanguageFontGroup(param::hstring const& languageTag) const; + auto CreateLanguageFontGroup(param::hstring const& languageTag) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.1.h index 3b7ad693..7b008d2f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_Fonts_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.2.h index 3d202138..23bd1109 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_Fonts_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.0.h index d52a9c50..f75f1a4f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.0.h @@ -1,16 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_NumberFormatting_0_H #define WINRT_Windows_Globalization_NumberFormatting_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IReference; -} WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Globalization::NumberFormatting { @@ -310,8 +305,8 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Currency() const; - WINRT_IMPL_AUTO(void) Currency(param::hstring const& value) const; + [[nodiscard]] auto Currency() const; + auto Currency(param::hstring const& value) const; }; template <> struct consume { @@ -320,9 +315,9 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::CurrencyFormatterMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::Globalization::NumberFormatting::CurrencyFormatterMode const& value) const; - WINRT_IMPL_AUTO(void) ApplyRoundingForCurrency(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& roundingAlgorithm) const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Globalization::NumberFormatting::CurrencyFormatterMode const& value) const; + auto ApplyRoundingForCurrency(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& roundingAlgorithm) const; }; template <> struct consume { @@ -331,8 +326,8 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_ICurrencyFormatterFactory { - WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::CurrencyFormatter) CreateCurrencyFormatterCode(param::hstring const& currencyCode) const; - WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::CurrencyFormatter) CreateCurrencyFormatterCodeContext(param::hstring const& currencyCode, param::iterable const& languages, param::hstring const& geographicRegion) const; + auto CreateCurrencyFormatterCode(param::hstring const& currencyCode) const; + auto CreateCurrencyFormatterCodeContext(param::hstring const& currencyCode, param::iterable const& languages, param::hstring const& geographicRegion) const; }; template <> struct consume { @@ -341,7 +336,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_IDecimalFormatterFactory { - WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::DecimalFormatter) CreateDecimalFormatter(param::iterable const& languages, param::hstring const& geographicRegion) const; + auto CreateDecimalFormatter(param::iterable const& languages, param::hstring const& geographicRegion) const; }; template <> struct consume { @@ -350,10 +345,10 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm) RoundingAlgorithm() const; - WINRT_IMPL_AUTO(void) RoundingAlgorithm(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Increment() const; - WINRT_IMPL_AUTO(void) Increment(double value) const; + [[nodiscard]] auto RoundingAlgorithm() const; + auto RoundingAlgorithm(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& value) const; + [[nodiscard]] auto Increment() const; + auto Increment(double value) const; }; template <> struct consume { @@ -362,9 +357,9 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_INumberFormatter { - WINRT_IMPL_AUTO(hstring) Format(int64_t value) const; - WINRT_IMPL_AUTO(hstring) Format(uint64_t value) const; - WINRT_IMPL_AUTO(hstring) Format(double value) const; + auto Format(int64_t value) const; + auto Format(uint64_t value) const; + auto Format(double value) const; }; template <> struct consume { @@ -373,9 +368,9 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_INumberFormatter2 { - WINRT_IMPL_AUTO(hstring) FormatInt(int64_t value) const; - WINRT_IMPL_AUTO(hstring) FormatUInt(uint64_t value) const; - WINRT_IMPL_AUTO(hstring) FormatDouble(double value) const; + auto FormatInt(int64_t value) const; + auto FormatUInt(uint64_t value) const; + auto FormatDouble(double value) const; }; template <> struct consume { @@ -384,20 +379,20 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Languages() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GeographicRegion() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) IntegerDigits() const; - WINRT_IMPL_AUTO(void) IntegerDigits(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FractionDigits() const; - WINRT_IMPL_AUTO(void) FractionDigits(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGrouped() const; - WINRT_IMPL_AUTO(void) IsGrouped(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDecimalPointAlwaysDisplayed() const; - WINRT_IMPL_AUTO(void) IsDecimalPointAlwaysDisplayed(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NumeralSystem() const; - WINRT_IMPL_AUTO(void) NumeralSystem(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResolvedLanguage() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResolvedGeographicRegion() const; + [[nodiscard]] auto Languages() const; + [[nodiscard]] auto GeographicRegion() const; + [[nodiscard]] auto IntegerDigits() const; + auto IntegerDigits(int32_t value) const; + [[nodiscard]] auto FractionDigits() const; + auto FractionDigits(int32_t value) const; + [[nodiscard]] auto IsGrouped() const; + auto IsGrouped(bool value) const; + [[nodiscard]] auto IsDecimalPointAlwaysDisplayed() const; + auto IsDecimalPointAlwaysDisplayed(bool value) const; + [[nodiscard]] auto NumeralSystem() const; + auto NumeralSystem(param::hstring const& value) const; + [[nodiscard]] auto ResolvedLanguage() const; + [[nodiscard]] auto ResolvedGeographicRegion() const; }; template <> struct consume { @@ -406,9 +401,9 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_INumberParser { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ParseInt(param::hstring const& text) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ParseUInt(param::hstring const& text) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ParseDouble(param::hstring const& text) const; + auto ParseInt(param::hstring const& text) const; + auto ParseUInt(param::hstring const& text) const; + auto ParseDouble(param::hstring const& text) const; }; template <> struct consume { @@ -417,12 +412,12 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_INumberRounder { - WINRT_IMPL_AUTO(int32_t) RoundInt32(int32_t value) const; - WINRT_IMPL_AUTO(uint32_t) RoundUInt32(uint32_t value) const; - WINRT_IMPL_AUTO(int64_t) RoundInt64(int64_t value) const; - WINRT_IMPL_AUTO(uint64_t) RoundUInt64(uint64_t value) const; - WINRT_IMPL_AUTO(float) RoundSingle(float value) const; - WINRT_IMPL_AUTO(double) RoundDouble(double value) const; + auto RoundInt32(int32_t value) const; + auto RoundUInt32(uint32_t value) const; + auto RoundInt64(int64_t value) const; + auto RoundUInt64(uint64_t value) const; + auto RoundSingle(float value) const; + auto RoundDouble(double value) const; }; template <> struct consume { @@ -431,8 +426,8 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_INumberRounderOption { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::INumberRounder) NumberRounder() const; - WINRT_IMPL_AUTO(void) NumberRounder(winrt::Windows::Globalization::NumberFormatting::INumberRounder const& value) const; + [[nodiscard]] auto NumberRounder() const; + auto NumberRounder(winrt::Windows::Globalization::NumberFormatting::INumberRounder const& value) const; }; template <> struct consume { @@ -441,11 +436,11 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Languages() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResolvedLanguage() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NumeralSystem() const; - WINRT_IMPL_AUTO(void) NumeralSystem(param::hstring const& value) const; - WINRT_IMPL_AUTO(hstring) TranslateNumerals(param::hstring const& value) const; + [[nodiscard]] auto Languages() const; + [[nodiscard]] auto ResolvedLanguage() const; + [[nodiscard]] auto NumeralSystem() const; + auto NumeralSystem(param::hstring const& value) const; + auto TranslateNumerals(param::hstring const& value) const; }; template <> struct consume { @@ -454,7 +449,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslatorFactory { - WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::NumeralSystemTranslator) Create(param::iterable const& languages) const; + auto Create(param::iterable const& languages) const; }; template <> struct consume { @@ -463,7 +458,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_IPercentFormatterFactory { - WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::PercentFormatter) CreatePercentFormatter(param::iterable const& languages, param::hstring const& geographicRegion) const; + auto CreatePercentFormatter(param::iterable const& languages, param::hstring const& geographicRegion) const; }; template <> struct consume { @@ -472,7 +467,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_IPermilleFormatterFactory { - WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::PermilleFormatter) CreatePermilleFormatter(param::iterable const& languages, param::hstring const& geographicRegion) const; + auto CreatePermilleFormatter(param::iterable const& languages, param::hstring const& geographicRegion) const; }; template <> struct consume { @@ -481,8 +476,8 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_ISignedZeroOption { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsZeroSigned() const; - WINRT_IMPL_AUTO(void) IsZeroSigned(bool value) const; + [[nodiscard]] auto IsZeroSigned() const; + auto IsZeroSigned(bool value) const; }; template <> struct consume { @@ -491,10 +486,10 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm) RoundingAlgorithm() const; - WINRT_IMPL_AUTO(void) RoundingAlgorithm(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SignificantDigits() const; - WINRT_IMPL_AUTO(void) SignificantDigits(uint32_t value) const; + [[nodiscard]] auto RoundingAlgorithm() const; + auto RoundingAlgorithm(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& value) const; + [[nodiscard]] auto SignificantDigits() const; + auto SignificantDigits(uint32_t value) const; }; template <> struct consume { @@ -503,8 +498,8 @@ namespace winrt::impl template struct consume_Windows_Globalization_NumberFormatting_ISignificantDigitsOption { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SignificantDigits() const; - WINRT_IMPL_AUTO(void) SignificantDigits(int32_t value) const; + [[nodiscard]] auto SignificantDigits() const; + auto SignificantDigits(int32_t value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.1.h index 648510ab..5644e571 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_NumberFormatting_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.2.h index fa150176..fb60d15b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_NumberFormatting_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.0.h index e837866f..4e5ad775 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_PhoneNumberFormatting_0_H @@ -134,11 +134,11 @@ namespace winrt::impl template struct consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter { - WINRT_IMPL_AUTO(hstring) Format(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& number) const; - WINRT_IMPL_AUTO(hstring) Format(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& number, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberFormat const& numberFormat) const; - WINRT_IMPL_AUTO(hstring) FormatPartialString(param::hstring const& number) const; - WINRT_IMPL_AUTO(hstring) FormatString(param::hstring const& number) const; - WINRT_IMPL_AUTO(hstring) FormatStringWithLeftToRightMarkers(param::hstring const& number) const; + auto Format(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& number) const; + auto Format(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& number, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberFormat const& numberFormat) const; + auto FormatPartialString(param::hstring const& number) const; + auto FormatString(param::hstring const& number) const; + auto FormatStringWithLeftToRightMarkers(param::hstring const& number) const; }; template <> struct consume { @@ -147,10 +147,10 @@ namespace winrt::impl template struct consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics { - WINRT_IMPL_AUTO(void) TryCreate(param::hstring const& regionCode, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberFormatter& phoneNumber) const; - WINRT_IMPL_AUTO(int32_t) GetCountryCodeForRegion(param::hstring const& regionCode) const; - WINRT_IMPL_AUTO(hstring) GetNationalDirectDialingPrefixForRegion(param::hstring const& regionCode, bool stripNonDigit) const; - WINRT_IMPL_AUTO(hstring) WrapWithLeftToRightMarkers(param::hstring const& number) const; + auto TryCreate(param::hstring const& regionCode, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberFormatter& phoneNumber) const; + auto GetCountryCodeForRegion(param::hstring const& regionCode) const; + auto GetNationalDirectDialingPrefixForRegion(param::hstring const& regionCode, bool stripNonDigit) const; + auto WrapWithLeftToRightMarkers(param::hstring const& number) const; }; template <> struct consume { @@ -159,14 +159,14 @@ namespace winrt::impl template struct consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CountryCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PhoneNumber() const; - WINRT_IMPL_AUTO(int32_t) GetLengthOfGeographicalAreaCode() const; - WINRT_IMPL_AUTO(hstring) GetNationalSignificantNumber() const; - WINRT_IMPL_AUTO(int32_t) GetLengthOfNationalDestinationCode() const; - WINRT_IMPL_AUTO(winrt::Windows::Globalization::PhoneNumberFormatting::PredictedPhoneNumberKind) PredictNumberKind() const; - WINRT_IMPL_AUTO(hstring) GetGeographicRegionCode() const; - WINRT_IMPL_AUTO(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberMatchResult) CheckNumberMatch(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& otherNumber) const; + [[nodiscard]] auto CountryCode() const; + [[nodiscard]] auto PhoneNumber() const; + auto GetLengthOfGeographicalAreaCode() const; + auto GetNationalSignificantNumber() const; + auto GetLengthOfNationalDestinationCode() const; + auto PredictNumberKind() const; + auto GetGeographicRegionCode() const; + auto CheckNumberMatch(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& otherNumber) const; }; template <> struct consume { @@ -175,7 +175,7 @@ namespace winrt::impl template struct consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoFactory { - WINRT_IMPL_AUTO(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo) Create(param::hstring const& number) const; + auto Create(param::hstring const& number) const; }; template <> struct consume { @@ -184,8 +184,8 @@ namespace winrt::impl template struct consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoStatics { - WINRT_IMPL_AUTO(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberParseResult) TryParse(param::hstring const& input, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo& phoneNumber) const; - WINRT_IMPL_AUTO(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberParseResult) TryParse(param::hstring const& input, param::hstring const& regionCode, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo& phoneNumber) const; + auto TryParse(param::hstring const& input, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo& phoneNumber) const; + auto TryParse(param::hstring const& input, param::hstring const& regionCode, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo& phoneNumber) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.1.h index 7d707816..501f8ea2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_PhoneNumberFormatting_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.2.h index 96dbd754..eb1f004e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Globalization_PhoneNumberFormatting_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.0.h index bbd10c5f..401f2936 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_0_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.1.h index 1a3d16ae..229490c0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.2.h index 9033fdb2..d3291d93 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.0.h index 64361d57..3a1907d2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Capture_0_H @@ -6,7 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Graphics @@ -23,10 +22,6 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 struct IDirect3DDevice; struct IDirect3DSurface; } -WINRT_EXPORT namespace winrt::Windows::Security::Authorization::AppCapabilityAccess -{ - enum class AppCapabilityAccessStatus : int32_t; -} WINRT_EXPORT namespace winrt::Windows::System { struct DispatcherQueue; @@ -232,9 +227,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) Surface() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) SystemRelativeTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) ContentSize() const; + [[nodiscard]] auto Surface() const; + [[nodiscard]] auto SystemRelativeTime() const; + [[nodiscard]] auto ContentSize() const; }; template <> struct consume { @@ -243,14 +238,14 @@ namespace winrt::impl template struct consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool { - WINRT_IMPL_AUTO(void) Recreate(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::Direct3D11CaptureFrame) TryGetNextFrame() const; - WINRT_IMPL_AUTO(winrt::event_token) FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Recreate(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size) const; + auto TryGetNextFrame() const; + auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FrameArrived_revoker = impl::event_revoker::remove_FrameArrived>; - [[nodiscard]] FrameArrived_revoker FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FrameArrived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureSession) CreateCaptureSession(winrt::Windows::Graphics::Capture::GraphicsCaptureItem const& item) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) DispatcherQueue() const; + [[nodiscard]] auto FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::event_token const& token) const noexcept; + auto CreateCaptureSession(winrt::Windows::Graphics::Capture::GraphicsCaptureItem const& item) const; + [[nodiscard]] auto DispatcherQueue() const; }; template <> struct consume { @@ -259,7 +254,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePoolStatics { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool) Create(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size) const; + auto Create(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size) const; }; template <> struct consume { @@ -268,7 +263,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePoolStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool) CreateFreeThreaded(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size) const; + auto CreateFreeThreaded(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size) const; }; template <> struct consume { @@ -277,7 +272,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Capture_IGraphicsCaptureAccessStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request) const; + auto RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request) const; }; template <> struct consume { @@ -286,12 +281,12 @@ namespace winrt::impl template struct consume_Windows_Graphics_Capture_IGraphicsCaptureItem { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) Size() const; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Size() const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -300,7 +295,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) CreateFromVisual(winrt::Windows::UI::Composition::Visual const& visual) const; + auto CreateFromVisual(winrt::Windows::UI::Composition::Visual const& visual) const; }; template <> struct consume { @@ -309,8 +304,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) TryCreateFromWindowId(winrt::Windows::UI::WindowId const& windowId) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) TryCreateFromDisplayId(winrt::Windows::Graphics::DisplayId const& displayId) const; + auto TryCreateFromWindowId(winrt::Windows::UI::WindowId const& windowId) const; + auto TryCreateFromDisplayId(winrt::Windows::Graphics::DisplayId const& displayId) const; }; template <> struct consume { @@ -319,7 +314,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Capture_IGraphicsCapturePicker { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PickSingleItemAsync() const; + auto PickSingleItemAsync() const; }; template <> struct consume { @@ -328,7 +323,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Capture_IGraphicsCaptureSession { - WINRT_IMPL_AUTO(void) StartCapture() const; + auto StartCapture() const; }; template <> struct consume { @@ -337,8 +332,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Capture_IGraphicsCaptureSession2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCursorCaptureEnabled() const; - WINRT_IMPL_AUTO(void) IsCursorCaptureEnabled(bool value) const; + [[nodiscard]] auto IsCursorCaptureEnabled() const; + auto IsCursorCaptureEnabled(bool value) const; }; template <> struct consume { @@ -347,8 +342,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Capture_IGraphicsCaptureSession3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBorderRequired() const; - WINRT_IMPL_AUTO(void) IsBorderRequired(bool value) const; + [[nodiscard]] auto IsBorderRequired() const; + auto IsBorderRequired(bool value) const; }; template <> struct consume { @@ -357,7 +352,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Capture_IGraphicsCaptureSessionStatics { - WINRT_IMPL_AUTO(bool) IsSupported() const; + auto IsSupported() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.1.h index 87c4cbed..e8bc5d0e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Capture_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.2.h index 5adc964f..91cf6bdd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Capture_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.0.h index d917ab6d..ae5d3a4d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_DirectX_0_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.1.h index d73d917a..7fa5317a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_DirectX_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.2.h index dfdaa1ca..e277d6f7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_DirectX_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.0.h index 12968d9b..4ea91613 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_DirectX_Direct3D11_0_H @@ -67,7 +67,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_DirectX_Direct3D11_IDirect3DDevice { - WINRT_IMPL_AUTO(void) Trim() const; + auto Trim() const; }; template <> struct consume { @@ -76,7 +76,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_DirectX_Direct3D11_IDirect3DSurface { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DSurfaceDescription) Description() const; + [[nodiscard]] auto Description() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.1.h index a17b9223..aaf527ec 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_DirectX_Direct3D11_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.2.h index 74d868c0..1da29741 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_DirectX_Direct3D11_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.0.h index 512dd010..e9fbf78d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Display_0_H @@ -6,23 +6,13 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; struct Point; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Graphics { struct DisplayId; } -WINRT_EXPORT namespace winrt::Windows::Storage::Streams -{ - struct IRandomAccessStream; -} WINRT_EXPORT namespace winrt::Windows::Graphics::Display { enum class AdvancedColorKind : int32_t @@ -463,17 +453,17 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IAdvancedColorInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::AdvancedColorKind) CurrentAdvancedColorKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) RedPrimary() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) GreenPrimary() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) BluePrimary() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) WhitePoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MaxLuminanceInNits() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MinLuminanceInNits() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MaxAverageFullFrameLuminanceInNits() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) SdrWhiteLevelInNits() const; - WINRT_IMPL_AUTO(bool) IsHdrMetadataFormatCurrentlySupported(winrt::Windows::Graphics::Display::HdrMetadataFormat const& format) const; - WINRT_IMPL_AUTO(bool) IsAdvancedColorKindAvailable(winrt::Windows::Graphics::Display::AdvancedColorKind const& kind) const; + [[nodiscard]] auto CurrentAdvancedColorKind() const; + [[nodiscard]] auto RedPrimary() const; + [[nodiscard]] auto GreenPrimary() const; + [[nodiscard]] auto BluePrimary() const; + [[nodiscard]] auto WhitePoint() const; + [[nodiscard]] auto MaxLuminanceInNits() const; + [[nodiscard]] auto MinLuminanceInNits() const; + [[nodiscard]] auto MaxAverageFullFrameLuminanceInNits() const; + [[nodiscard]] auto SdrWhiteLevelInNits() const; + auto IsHdrMetadataFormatCurrentlySupported(winrt::Windows::Graphics::Display::HdrMetadataFormat const& format) const; + auto IsAdvancedColorKindAvailable(winrt::Windows::Graphics::Display::AdvancedColorKind const& kind) const; }; template <> struct consume { @@ -482,26 +472,26 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IBrightnessOverride { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOverrideActive() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) BrightnessLevel() const; - WINRT_IMPL_AUTO(void) SetBrightnessLevel(double brightnessLevel, winrt::Windows::Graphics::Display::DisplayBrightnessOverrideOptions const& options) const; - WINRT_IMPL_AUTO(void) SetBrightnessScenario(winrt::Windows::Graphics::Display::DisplayBrightnessScenario const& scenario, winrt::Windows::Graphics::Display::DisplayBrightnessOverrideOptions const& options) const; - WINRT_IMPL_AUTO(double) GetLevelForScenario(winrt::Windows::Graphics::Display::DisplayBrightnessScenario const& scenario) const; - WINRT_IMPL_AUTO(void) StartOverride() const; - WINRT_IMPL_AUTO(void) StopOverride() const; - WINRT_IMPL_AUTO(winrt::event_token) IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsSupported() const; + [[nodiscard]] auto IsOverrideActive() const; + [[nodiscard]] auto BrightnessLevel() const; + auto SetBrightnessLevel(double brightnessLevel, winrt::Windows::Graphics::Display::DisplayBrightnessOverrideOptions const& options) const; + auto SetBrightnessScenario(winrt::Windows::Graphics::Display::DisplayBrightnessScenario const& scenario, winrt::Windows::Graphics::Display::DisplayBrightnessOverrideOptions const& options) const; + auto GetLevelForScenario(winrt::Windows::Graphics::Display::DisplayBrightnessScenario const& scenario) const; + auto StartOverride() const; + auto StopOverride() const; + auto IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsSupportedChanged_revoker = impl::event_revoker::remove_IsSupportedChanged>; - [[nodiscard]] IsSupportedChanged_revoker IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsSupportedChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) IsOverrideActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsSupportedChanged(winrt::event_token const& token) const noexcept; + auto IsOverrideActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsOverrideActiveChanged_revoker = impl::event_revoker::remove_IsOverrideActiveChanged>; - [[nodiscard]] IsOverrideActiveChanged_revoker IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsOverrideActiveChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BrightnessLevelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsOverrideActiveChanged(winrt::event_token const& token) const noexcept; + auto BrightnessLevelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using BrightnessLevelChanged_revoker = impl::event_revoker::remove_BrightnessLevelChanged>; - [[nodiscard]] BrightnessLevelChanged_revoker BrightnessLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BrightnessLevelChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto BrightnessLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BrightnessLevelChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -510,8 +500,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IBrightnessOverrideSettings { - [[nodiscard]] WINRT_IMPL_AUTO(double) DesiredLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) DesiredNits() const; + [[nodiscard]] auto DesiredLevel() const; + [[nodiscard]] auto DesiredNits() const; }; template <> struct consume { @@ -520,9 +510,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IBrightnessOverrideSettingsStatics { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverrideSettings) CreateFromLevel(double level) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverrideSettings) CreateFromNits(float nits) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverrideSettings) CreateFromDisplayBrightnessOverrideScenario(winrt::Windows::Graphics::Display::DisplayBrightnessOverrideScenario const& overrideScenario) const; + auto CreateFromLevel(double level) const; + auto CreateFromNits(float nits) const; + auto CreateFromDisplayBrightnessOverrideScenario(winrt::Windows::Graphics::Display::DisplayBrightnessOverrideScenario const& overrideScenario) const; }; template <> struct consume { @@ -531,9 +521,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IBrightnessOverrideStatics { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverride) GetDefaultForSystem() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverride) GetForCurrentView() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SaveForSystemAsync(winrt::Windows::Graphics::Display::BrightnessOverride const& value) const; + auto GetDefaultForSystem() const; + auto GetForCurrentView() const; + auto SaveForSystemAsync(winrt::Windows::Graphics::Display::BrightnessOverride const& value) const; }; template <> struct consume { @@ -542,7 +532,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IColorOverrideSettings { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayColorOverrideScenario) DesiredDisplayColorOverrideScenario() const; + [[nodiscard]] auto DesiredDisplayColorOverrideScenario() const; }; template <> struct consume { @@ -551,7 +541,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IColorOverrideSettingsStatics { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::ColorOverrideSettings) CreateFromDisplayColorOverrideScenario(winrt::Windows::Graphics::Display::DisplayColorOverrideScenario const& overrideScenario) const; + auto CreateFromDisplayColorOverrideScenario(winrt::Windows::Graphics::Display::DisplayColorOverrideScenario const& overrideScenario) const; }; template <> struct consume { @@ -560,27 +550,27 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IDisplayEnhancementOverride { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::ColorOverrideSettings) ColorOverrideSettings() const; - WINRT_IMPL_AUTO(void) ColorOverrideSettings(winrt::Windows::Graphics::Display::ColorOverrideSettings const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverrideSettings) BrightnessOverrideSettings() const; - WINRT_IMPL_AUTO(void) BrightnessOverrideSettings(winrt::Windows::Graphics::Display::BrightnessOverrideSettings const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanOverride() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOverrideActive() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilities) GetCurrentDisplayEnhancementOverrideCapabilities() const; - WINRT_IMPL_AUTO(void) RequestOverride() const; - WINRT_IMPL_AUTO(void) StopOverride() const; - WINRT_IMPL_AUTO(winrt::event_token) CanOverrideChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ColorOverrideSettings() const; + auto ColorOverrideSettings(winrt::Windows::Graphics::Display::ColorOverrideSettings const& value) const; + [[nodiscard]] auto BrightnessOverrideSettings() const; + auto BrightnessOverrideSettings(winrt::Windows::Graphics::Display::BrightnessOverrideSettings const& value) const; + [[nodiscard]] auto CanOverride() const; + [[nodiscard]] auto IsOverrideActive() const; + auto GetCurrentDisplayEnhancementOverrideCapabilities() const; + auto RequestOverride() const; + auto StopOverride() const; + auto CanOverrideChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CanOverrideChanged_revoker = impl::event_revoker::remove_CanOverrideChanged>; - [[nodiscard]] CanOverrideChanged_revoker CanOverrideChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CanOverrideChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) IsOverrideActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CanOverrideChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CanOverrideChanged(winrt::event_token const& token) const noexcept; + auto IsOverrideActiveChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsOverrideActiveChanged_revoker = impl::event_revoker::remove_IsOverrideActiveChanged>; - [[nodiscard]] IsOverrideActiveChanged_revoker IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsOverrideActiveChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DisplayEnhancementOverrideCapabilitiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsOverrideActiveChanged(winrt::event_token const& token) const noexcept; + auto DisplayEnhancementOverrideCapabilitiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DisplayEnhancementOverrideCapabilitiesChanged_revoker = impl::event_revoker::remove_DisplayEnhancementOverrideCapabilitiesChanged>; - [[nodiscard]] DisplayEnhancementOverrideCapabilitiesChanged_revoker DisplayEnhancementOverrideCapabilitiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DisplayEnhancementOverrideCapabilitiesChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DisplayEnhancementOverrideCapabilitiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DisplayEnhancementOverrideCapabilitiesChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -589,9 +579,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBrightnessControlSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBrightnessNitsControlSupported() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetSupportedNitRanges() const; + [[nodiscard]] auto IsBrightnessControlSupported() const; + [[nodiscard]] auto IsBrightnessNitsControlSupported() const; + auto GetSupportedNitRanges() const; }; template <> struct consume { @@ -600,7 +590,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilitiesChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilities) Capabilities() const; + [[nodiscard]] auto Capabilities() const; }; template <> struct consume { @@ -609,7 +599,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IDisplayEnhancementOverrideStatics { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayEnhancementOverride) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -618,30 +608,30 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IDisplayInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) CurrentOrientation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) NativeOrientation() const; - WINRT_IMPL_AUTO(winrt::event_token) OrientationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CurrentOrientation() const; + [[nodiscard]] auto NativeOrientation() const; + auto OrientationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using OrientationChanged_revoker = impl::event_revoker::remove_OrientationChanged>; - [[nodiscard]] OrientationChanged_revoker OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) OrientationChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::ResolutionScale) ResolutionScale() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) LogicalDpi() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RawDpiX() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RawDpiY() const; - WINRT_IMPL_AUTO(winrt::event_token) DpiChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OrientationChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ResolutionScale() const; + [[nodiscard]] auto LogicalDpi() const; + [[nodiscard]] auto RawDpiX() const; + [[nodiscard]] auto RawDpiY() const; + auto DpiChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DpiChanged_revoker = impl::event_revoker::remove_DpiChanged>; - [[nodiscard]] DpiChanged_revoker DpiChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DpiChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(bool) StereoEnabled() const; - WINRT_IMPL_AUTO(winrt::event_token) StereoEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DpiChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DpiChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StereoEnabled() const; + auto StereoEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StereoEnabledChanged_revoker = impl::event_revoker::remove_StereoEnabledChanged>; - [[nodiscard]] StereoEnabledChanged_revoker StereoEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StereoEnabledChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetColorProfileAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) ColorProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto StereoEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StereoEnabledChanged(winrt::event_token const& token) const noexcept; + auto GetColorProfileAsync() const; + auto ColorProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ColorProfileChanged_revoker = impl::event_revoker::remove_ColorProfileChanged>; - [[nodiscard]] ColorProfileChanged_revoker ColorProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ColorProfileChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ColorProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ColorProfileChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -650,7 +640,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IDisplayInformation2 { - [[nodiscard]] WINRT_IMPL_AUTO(double) RawPixelsPerViewPixel() const; + [[nodiscard]] auto RawPixelsPerViewPixel() const; }; template <> struct consume { @@ -659,7 +649,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IDisplayInformation3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DiagonalSizeInInches() const; + [[nodiscard]] auto DiagonalSizeInInches() const; }; template <> struct consume { @@ -668,8 +658,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IDisplayInformation4 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ScreenWidthInRawPixels() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ScreenHeightInRawPixels() const; + [[nodiscard]] auto ScreenWidthInRawPixels() const; + [[nodiscard]] auto ScreenHeightInRawPixels() const; }; template <> struct consume { @@ -678,11 +668,11 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IDisplayInformation5 { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::AdvancedColorInfo) GetAdvancedColorInfo() const; - WINRT_IMPL_AUTO(winrt::event_token) AdvancedColorInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetAdvancedColorInfo() const; + auto AdvancedColorInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AdvancedColorInfoChanged_revoker = impl::event_revoker::remove_AdvancedColorInfoChanged>; - [[nodiscard]] AdvancedColorInfoChanged_revoker AdvancedColorInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AdvancedColorInfoChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AdvancedColorInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AdvancedColorInfoChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -691,13 +681,13 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IDisplayInformationStatics { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayInformation) GetForCurrentView() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) AutoRotationPreferences() const; - WINRT_IMPL_AUTO(void) AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) DisplayContentsInvalidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetForCurrentView() const; + [[nodiscard]] auto AutoRotationPreferences() const; + auto AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + auto DisplayContentsInvalidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DisplayContentsInvalidated_revoker = impl::event_revoker::remove_DisplayContentsInvalidated>; - [[nodiscard]] DisplayContentsInvalidated_revoker DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DisplayContentsInvalidated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DisplayContentsInvalidated(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -706,34 +696,34 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IDisplayPropertiesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) CurrentOrientation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) NativeOrientation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) AutoRotationPreferences() const; - WINRT_IMPL_AUTO(void) AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) OrientationChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + [[nodiscard]] auto CurrentOrientation() const; + [[nodiscard]] auto NativeOrientation() const; + [[nodiscard]] auto AutoRotationPreferences() const; + auto AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const; + auto OrientationChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; using OrientationChanged_revoker = impl::event_revoker::remove_OrientationChanged>; - [[nodiscard]] OrientationChanged_revoker OrientationChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) OrientationChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::ResolutionScale) ResolutionScale() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) LogicalDpi() const; - WINRT_IMPL_AUTO(winrt::event_token) LogicalDpiChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + [[nodiscard]] auto OrientationChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + auto OrientationChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ResolutionScale() const; + [[nodiscard]] auto LogicalDpi() const; + auto LogicalDpiChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; using LogicalDpiChanged_revoker = impl::event_revoker::remove_LogicalDpiChanged>; - [[nodiscard]] LogicalDpiChanged_revoker LogicalDpiChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LogicalDpiChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(bool) StereoEnabled() const; - WINRT_IMPL_AUTO(winrt::event_token) StereoEnabledChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + [[nodiscard]] auto LogicalDpiChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + auto LogicalDpiChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StereoEnabled() const; + auto StereoEnabledChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; using StereoEnabledChanged_revoker = impl::event_revoker::remove_StereoEnabledChanged>; - [[nodiscard]] StereoEnabledChanged_revoker StereoEnabledChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StereoEnabledChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetColorProfileAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) ColorProfileChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + [[nodiscard]] auto StereoEnabledChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + auto StereoEnabledChanged(winrt::event_token const& token) const noexcept; + auto GetColorProfileAsync() const; + auto ColorProfileChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; using ColorProfileChanged_revoker = impl::event_revoker::remove_ColorProfileChanged>; - [[nodiscard]] ColorProfileChanged_revoker ColorProfileChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ColorProfileChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DisplayContentsInvalidated(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + [[nodiscard]] auto ColorProfileChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + auto ColorProfileChanged(winrt::event_token const& token) const noexcept; + auto DisplayContentsInvalidated(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; using DisplayContentsInvalidated_revoker = impl::event_revoker::remove_DisplayContentsInvalidated>; - [[nodiscard]] DisplayContentsInvalidated_revoker DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DisplayContentsInvalidated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const; + auto DisplayContentsInvalidated(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -750,7 +740,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_IDisplayServicesStatics { - WINRT_IMPL_AUTO(com_array) FindAll() const; + auto FindAll() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.1.h index 1be4f014..1894e594 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Display_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.2.h index 915d3de9..cde68f7a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Display_2_H @@ -85,7 +85,7 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display static auto AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value); static auto DisplayContentsInvalidated(winrt::Windows::Foundation::TypedEventHandler const& handler); using DisplayContentsInvalidated_revoker = impl::factory_event_revoker::remove_DisplayContentsInvalidated>; - [[nodiscard]] static DisplayContentsInvalidated_revoker DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); + [[nodiscard]] static auto DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); static auto DisplayContentsInvalidated(winrt::event_token const& token); }; struct DisplayProperties @@ -97,27 +97,27 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display static auto AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value); static auto OrientationChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); using OrientationChanged_revoker = impl::factory_event_revoker::remove_OrientationChanged>; - [[nodiscard]] static OrientationChanged_revoker OrientationChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); + [[nodiscard]] static auto OrientationChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); static auto OrientationChanged(winrt::event_token const& token); [[nodiscard]] static auto ResolutionScale(); [[nodiscard]] static auto LogicalDpi(); static auto LogicalDpiChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); using LogicalDpiChanged_revoker = impl::factory_event_revoker::remove_LogicalDpiChanged>; - [[nodiscard]] static LogicalDpiChanged_revoker LogicalDpiChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); + [[nodiscard]] static auto LogicalDpiChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); static auto LogicalDpiChanged(winrt::event_token const& token); [[nodiscard]] static auto StereoEnabled(); static auto StereoEnabledChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); using StereoEnabledChanged_revoker = impl::factory_event_revoker::remove_StereoEnabledChanged>; - [[nodiscard]] static StereoEnabledChanged_revoker StereoEnabledChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); + [[nodiscard]] static auto StereoEnabledChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); static auto StereoEnabledChanged(winrt::event_token const& token); static auto GetColorProfileAsync(); static auto ColorProfileChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); using ColorProfileChanged_revoker = impl::factory_event_revoker::remove_ColorProfileChanged>; - [[nodiscard]] static ColorProfileChanged_revoker ColorProfileChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); + [[nodiscard]] static auto ColorProfileChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); static auto ColorProfileChanged(winrt::event_token const& token); static auto DisplayContentsInvalidated(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); using DisplayContentsInvalidated_revoker = impl::factory_event_revoker::remove_DisplayContentsInvalidated>; - [[nodiscard]] static DisplayContentsInvalidated_revoker DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); + [[nodiscard]] static auto DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); static auto DisplayContentsInvalidated(winrt::event_token const& token); }; struct __declspec(empty_bases) DisplayServices : winrt::Windows::Graphics::Display::IDisplayServices diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.0.h index fefd5e0d..1979dedd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Display_Core_0_H @@ -7,13 +7,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Graphics::Display::Core { enum class HdmiDisplayColorSpace : int32_t @@ -121,16 +116,16 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetSupportedDisplayModes() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode) GetCurrentDisplayMode() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetDefaultDisplayModeAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode, winrt::Windows::Graphics::Display::Core::HdmiDisplayHdrOption const& hdrOption) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode, winrt::Windows::Graphics::Display::Core::HdmiDisplayHdrOption const& hdrOption, winrt::Windows::Graphics::Display::Core::HdmiDisplayHdr2086Metadata const& hdrMetadata) const; - WINRT_IMPL_AUTO(winrt::event_token) DisplayModesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto GetSupportedDisplayModes() const; + auto GetCurrentDisplayMode() const; + auto SetDefaultDisplayModeAsync() const; + auto RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode) const; + auto RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode, winrt::Windows::Graphics::Display::Core::HdmiDisplayHdrOption const& hdrOption) const; + auto RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode, winrt::Windows::Graphics::Display::Core::HdmiDisplayHdrOption const& hdrOption, winrt::Windows::Graphics::Display::Core::HdmiDisplayHdr2086Metadata const& hdrMetadata) const; + auto DisplayModesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using DisplayModesChanged_revoker = impl::event_revoker::remove_DisplayModesChanged>; - [[nodiscard]] DisplayModesChanged_revoker DisplayModesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) DisplayModesChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DisplayModesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto DisplayModesChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -139,7 +134,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_Core_IHdmiDisplayInformationStatics { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::Core::HdmiDisplayInformation) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -148,17 +143,17 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_Core_IHdmiDisplayMode { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ResolutionWidthInRawPixels() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ResolutionHeightInRawPixels() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RefreshRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) StereoEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) BitsPerPixel() const; - WINRT_IMPL_AUTO(bool) IsEqual(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::Core::HdmiDisplayColorSpace) ColorSpace() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::Core::HdmiDisplayPixelEncoding) PixelEncoding() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSdrLuminanceSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSmpte2084Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Is2086MetadataSupported() const; + [[nodiscard]] auto ResolutionWidthInRawPixels() const; + [[nodiscard]] auto ResolutionHeightInRawPixels() const; + [[nodiscard]] auto RefreshRate() const; + [[nodiscard]] auto StereoEnabled() const; + [[nodiscard]] auto BitsPerPixel() const; + auto IsEqual(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode) const; + [[nodiscard]] auto ColorSpace() const; + [[nodiscard]] auto PixelEncoding() const; + [[nodiscard]] auto IsSdrLuminanceSupported() const; + [[nodiscard]] auto IsSmpte2084Supported() const; + [[nodiscard]] auto Is2086MetadataSupported() const; }; template <> struct consume { @@ -167,7 +162,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Display_Core_IHdmiDisplayMode2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDolbyVisionLowLatencySupported() const; + [[nodiscard]] auto IsDolbyVisionLowLatencySupported() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.1.h index e08152fb..93722b15 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Display_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.2.h index 9b454734..ec8b5cec 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Display_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.0.h index 2147bba1..a10dce12 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Effects_0_H @@ -33,8 +33,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Effects_IGraphicsEffect { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& name) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& name) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.1.h index 1a1c884d..548ad329 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Effects_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.2.h index 3889241c..b10edc1a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Effects_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.0.h index 40fe6660..a62accc1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Holographic_0_H @@ -8,16 +8,10 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct Deferral; template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; - template struct __declspec(empty_bases) IReference; struct Rect; struct Size; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics { } @@ -36,7 +30,6 @@ WINRT_EXPORT namespace winrt::Windows::Perception } WINRT_EXPORT namespace winrt::Windows::Perception::Spatial { - struct SpatialBoundingFrustum; struct SpatialCoordinateSystem; struct SpatialLocator; } @@ -708,13 +701,13 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicCamera { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) RenderTargetSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ViewportScaleFactor() const; - WINRT_IMPL_AUTO(void) ViewportScaleFactor(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStereo() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - WINRT_IMPL_AUTO(void) SetNearPlaneDistance(double value) const; - WINRT_IMPL_AUTO(void) SetFarPlaneDistance(double value) const; + [[nodiscard]] auto RenderTargetSize() const; + [[nodiscard]] auto ViewportScaleFactor() const; + auto ViewportScaleFactor(double value) const; + [[nodiscard]] auto IsStereo() const; + [[nodiscard]] auto Id() const; + auto SetNearPlaneDistance(double value) const; + auto SetFarPlaneDistance(double value) const; }; template <> struct consume { @@ -723,9 +716,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicCamera2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCameraViewportParameters) LeftViewportParameters() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCameraViewportParameters) RightViewportParameters() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDisplay) Display() const; + [[nodiscard]] auto LeftViewportParameters() const; + [[nodiscard]] auto RightViewportParameters() const; + [[nodiscard]] auto Display() const; }; template <> struct consume { @@ -734,10 +727,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicCamera3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPrimaryLayerEnabled() const; - WINRT_IMPL_AUTO(void) IsPrimaryLayerEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxQuadLayerCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) QuadLayers() const; + [[nodiscard]] auto IsPrimaryLayerEnabled() const; + auto IsPrimaryLayerEnabled(bool value) const; + [[nodiscard]] auto MaxQuadLayerCount() const; + [[nodiscard]] auto QuadLayers() const; }; template <> struct consume { @@ -746,7 +739,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicCamera4 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanOverrideViewport() const; + [[nodiscard]] auto CanOverrideViewport() const; }; template <> struct consume { @@ -755,9 +748,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicCamera5 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHardwareContentProtectionSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHardwareContentProtectionEnabled() const; - WINRT_IMPL_AUTO(void) IsHardwareContentProtectionEnabled(bool value) const; + [[nodiscard]] auto IsHardwareContentProtectionSupported() const; + [[nodiscard]] auto IsHardwareContentProtectionEnabled() const; + auto IsHardwareContentProtectionEnabled(bool value) const; }; template <> struct consume { @@ -766,7 +759,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicCamera6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicViewConfiguration) ViewConfiguration() const; + [[nodiscard]] auto ViewConfiguration() const; }; template <> struct consume { @@ -775,14 +768,14 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicCameraPose { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCamera) HolographicCamera() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Viewport() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TryGetViewTransform(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicStereoTransform) ProjectionTransform() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TryGetCullingFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TryGetVisibleFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) NearPlaneDistance() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FarPlaneDistance() const; + [[nodiscard]] auto HolographicCamera() const; + [[nodiscard]] auto Viewport() const; + auto TryGetViewTransform(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + [[nodiscard]] auto ProjectionTransform() const; + auto TryGetCullingFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + auto TryGetVisibleFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + [[nodiscard]] auto NearPlaneDistance() const; + [[nodiscard]] auto FarPlaneDistance() const; }; template <> struct consume { @@ -791,9 +784,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicCameraPose2 { - WINRT_IMPL_AUTO(void) OverrideViewTransform(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Graphics::Holographic::HolographicStereoTransform const& coordinateSystemToViewTransform) const; - WINRT_IMPL_AUTO(void) OverrideProjectionTransform(winrt::Windows::Graphics::Holographic::HolographicStereoTransform const& projectionTransform) const; - WINRT_IMPL_AUTO(void) OverrideViewport(winrt::Windows::Foundation::Rect const& leftViewport, winrt::Windows::Foundation::Rect const& rightViewport) const; + auto OverrideViewTransform(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Graphics::Holographic::HolographicStereoTransform const& coordinateSystemToViewTransform) const; + auto OverrideProjectionTransform(winrt::Windows::Graphics::Holographic::HolographicStereoTransform const& projectionTransform) const; + auto OverrideViewport(winrt::Windows::Foundation::Rect const& leftViewport, winrt::Windows::Foundation::Rect const& rightViewport) const; }; template <> struct consume { @@ -802,11 +795,11 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters { - WINRT_IMPL_AUTO(void) SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position) const; - WINRT_IMPL_AUTO(void) SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::float3 const& normal) const; - WINRT_IMPL_AUTO(void) SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::float3 const& normal, winrt::Windows::Foundation::Numerics::float3 const& linearVelocity) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice) Direct3D11Device() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) Direct3D11BackBuffer() const; + auto SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position) const; + auto SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::float3 const& normal) const; + auto SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::float3 const& normal, winrt::Windows::Foundation::Numerics::float3 const& linearVelocity) const; + [[nodiscard]] auto Direct3D11Device() const; + [[nodiscard]] auto Direct3D11BackBuffer() const; }; template <> struct consume { @@ -815,9 +808,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicReprojectionMode) ReprojectionMode() const; - WINRT_IMPL_AUTO(void) ReprojectionMode(winrt::Windows::Graphics::Holographic::HolographicReprojectionMode const& value) const; - WINRT_IMPL_AUTO(void) CommitDirect3D11DepthBuffer(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& value) const; + [[nodiscard]] auto ReprojectionMode() const; + auto ReprojectionMode(winrt::Windows::Graphics::Holographic::HolographicReprojectionMode const& value) const; + auto CommitDirect3D11DepthBuffer(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& value) const; }; template <> struct consume { @@ -826,8 +819,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsContentProtectionEnabled() const; - WINRT_IMPL_AUTO(void) IsContentProtectionEnabled(bool value) const; + [[nodiscard]] auto IsContentProtectionEnabled() const; + auto IsContentProtectionEnabled(bool value) const; }; template <> struct consume { @@ -836,8 +829,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod) DepthReprojectionMethod() const; - WINRT_IMPL_AUTO(void) DepthReprojectionMethod(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod const& value) const; + [[nodiscard]] auto DepthReprojectionMethod() const; + auto DepthReprojectionMethod(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod const& value) const; }; template <> struct consume { @@ -846,8 +839,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicCameraViewportParameters { - [[nodiscard]] WINRT_IMPL_AUTO(com_array) HiddenAreaMesh() const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) VisibleAreaMesh() const; + [[nodiscard]] auto HiddenAreaMesh() const; + [[nodiscard]] auto VisibleAreaMesh() const; }; template <> struct consume { @@ -856,12 +849,12 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicDisplay { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) MaxViewportSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStereo() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOpaque() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicAdapterId) AdapterId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocator) SpatialLocator() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto MaxViewportSize() const; + [[nodiscard]] auto IsStereo() const; + [[nodiscard]] auto IsOpaque() const; + [[nodiscard]] auto AdapterId() const; + [[nodiscard]] auto SpatialLocator() const; }; template <> struct consume { @@ -870,7 +863,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicDisplay2 { - [[nodiscard]] WINRT_IMPL_AUTO(double) RefreshRate() const; + [[nodiscard]] auto RefreshRate() const; }; template <> struct consume { @@ -879,7 +872,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicDisplay3 { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicViewConfiguration) TryGetViewConfiguration(winrt::Windows::Graphics::Holographic::HolographicViewConfigurationKind const& kind) const; + auto TryGetViewConfiguration(winrt::Windows::Graphics::Holographic::HolographicViewConfigurationKind const& kind) const; }; template <> struct consume { @@ -888,7 +881,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicDisplayStatics { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDisplay) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -897,15 +890,15 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AddedCameras() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) RemovedCameras() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCameraRenderingParameters) GetRenderingParameters(winrt::Windows::Graphics::Holographic::HolographicCameraPose const& cameraPose) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFramePrediction) CurrentPrediction() const; - WINRT_IMPL_AUTO(void) UpdateCurrentPrediction() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFramePresentResult) PresentUsingCurrentPrediction() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFramePresentResult) PresentUsingCurrentPrediction(winrt::Windows::Graphics::Holographic::HolographicFramePresentWaitBehavior const& waitBehavior) const; - WINRT_IMPL_AUTO(void) WaitForFrameToFinish() const; + [[nodiscard]] auto AddedCameras() const; + [[nodiscard]] auto RemovedCameras() const; + auto GetRenderingParameters(winrt::Windows::Graphics::Holographic::HolographicCameraPose const& cameraPose) const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto CurrentPrediction() const; + auto UpdateCurrentPrediction() const; + auto PresentUsingCurrentPrediction() const; + auto PresentUsingCurrentPrediction(winrt::Windows::Graphics::Holographic::HolographicFramePresentWaitBehavior const& waitBehavior) const; + auto WaitForFrameToFinish() const; }; template <> struct consume { @@ -914,7 +907,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicFrame2 { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicQuadLayerUpdateParameters) GetQuadLayerUpdateParameters(winrt::Windows::Graphics::Holographic::HolographicQuadLayer const& layer) const; + auto GetQuadLayerUpdateParameters(winrt::Windows::Graphics::Holographic::HolographicQuadLayer const& layer) const; }; template <> struct consume { @@ -923,7 +916,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicFrame3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFrameId) Id() const; + [[nodiscard]] auto Id() const; }; template <> struct consume { @@ -932,8 +925,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicFramePrediction { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) CameraPoses() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) Timestamp() const; + [[nodiscard]] auto CameraPoses() const; + [[nodiscard]] auto Timestamp() const; }; template <> struct consume { @@ -942,7 +935,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicFramePresentationMonitor { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ReadReports() const; + auto ReadReports() const; }; template <> struct consume { @@ -951,11 +944,11 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) CompositorGpuDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) AppGpuDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) AppGpuOverrun() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MissedPresentationOpportunityCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PresentationCount() const; + [[nodiscard]] auto CompositorGpuDuration() const; + [[nodiscard]] auto AppGpuDuration() const; + [[nodiscard]] auto AppGpuOverrun() const; + [[nodiscard]] auto MissedPresentationOpportunityCount() const; + [[nodiscard]] auto PresentationCount() const; }; template <> struct consume { @@ -964,11 +957,11 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFrameId) FrameId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MissedLatchCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) SystemRelativeFrameReadyTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) SystemRelativeActualGpuFinishTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) SystemRelativeTargetLatchTime() const; + [[nodiscard]] auto FrameId() const; + [[nodiscard]] auto MissedLatchCount() const; + [[nodiscard]] auto SystemRelativeFrameReadyTime() const; + [[nodiscard]] auto SystemRelativeActualGpuFinishTime() const; + [[nodiscard]] auto SystemRelativeTargetLatchTime() const; }; template <> struct consume { @@ -977,7 +970,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicFrameScanoutMonitor { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ReadReports() const; + auto ReadReports() const; }; template <> struct consume { @@ -986,11 +979,11 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFrameRenderingReport) RenderingReport() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MissedScanoutCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) SystemRelativeLatchTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) SystemRelativeScanoutStartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) SystemRelativePhotonTime() const; + [[nodiscard]] auto RenderingReport() const; + [[nodiscard]] auto MissedScanoutCount() const; + [[nodiscard]] auto SystemRelativeLatchTime() const; + [[nodiscard]] auto SystemRelativeScanoutStartTime() const; + [[nodiscard]] auto SystemRelativePhotonTime() const; }; template <> struct consume { @@ -999,8 +992,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicQuadLayer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) PixelFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) Size() const; + [[nodiscard]] auto PixelFormat() const; + [[nodiscard]] auto Size() const; }; template <> struct consume { @@ -1009,8 +1002,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicQuadLayerFactory { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicQuadLayer) Create(winrt::Windows::Foundation::Size const& size) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicQuadLayer) CreateWithPixelFormat(winrt::Windows::Foundation::Size const& size, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat) const; + auto Create(winrt::Windows::Foundation::Size const& size) const; + auto CreateWithPixelFormat(winrt::Windows::Foundation::Size const& size, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat) const; }; template <> struct consume { @@ -1019,12 +1012,12 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) AcquireBufferToUpdateContent() const; - WINRT_IMPL_AUTO(void) UpdateViewport(winrt::Windows::Foundation::Rect const& value) const; - WINRT_IMPL_AUTO(void) UpdateContentProtectionEnabled(bool value) const; - WINRT_IMPL_AUTO(void) UpdateExtents(winrt::Windows::Foundation::Numerics::float2 const& value) const; - WINRT_IMPL_AUTO(void) UpdateLocationWithStationaryMode(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const; - WINRT_IMPL_AUTO(void) UpdateLocationWithDisplayRelativeMode(winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const; + auto AcquireBufferToUpdateContent() const; + auto UpdateViewport(winrt::Windows::Foundation::Rect const& value) const; + auto UpdateContentProtectionEnabled(bool value) const; + auto UpdateExtents(winrt::Windows::Foundation::Numerics::float2 const& value) const; + auto UpdateLocationWithStationaryMode(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const; + auto UpdateLocationWithDisplayRelativeMode(winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const; }; template <> struct consume { @@ -1033,8 +1026,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanAcquireWithHardwareProtection() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) AcquireBufferToUpdateContentWithHardwareProtection() const; + [[nodiscard]] auto CanAcquireWithHardwareProtection() const; + auto AcquireBufferToUpdateContentWithHardwareProtection() const; }; template <> struct consume { @@ -1043,17 +1036,17 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicSpace { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicAdapterId) PrimaryAdapterId() const; - WINRT_IMPL_AUTO(void) SetDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) CameraAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PrimaryAdapterId() const; + auto SetDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& value) const; + auto CameraAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CameraAdded_revoker = impl::event_revoker::remove_CameraAdded>; - [[nodiscard]] CameraAdded_revoker CameraAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CameraAdded(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CameraRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CameraAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CameraAdded(winrt::event_token const& cookie) const noexcept; + auto CameraRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CameraRemoved_revoker = impl::event_revoker::remove_CameraRemoved>; - [[nodiscard]] CameraRemoved_revoker CameraRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CameraRemoved(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFrame) CreateNextFrame() const; + [[nodiscard]] auto CameraRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CameraRemoved(winrt::event_token const& cookie) const noexcept; + auto CreateNextFrame() const; }; template <> struct consume { @@ -1062,14 +1055,14 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicSpace2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicSpaceUserPresence) UserPresence() const; - WINRT_IMPL_AUTO(winrt::event_token) UserPresenceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto UserPresence() const; + auto UserPresenceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UserPresenceChanged_revoker = impl::event_revoker::remove_UserPresenceChanged>; - [[nodiscard]] UserPresenceChanged_revoker UserPresenceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UserPresenceChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) WaitForNextFrameReady() const; - WINRT_IMPL_AUTO(void) WaitForNextFrameReadyWithHeadStart(winrt::Windows::Foundation::TimeSpan const& requestedHeadStartDuration) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFramePresentationMonitor) CreateFramePresentationMonitor(uint32_t maxQueuedReports) const; + [[nodiscard]] auto UserPresenceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UserPresenceChanged(winrt::event_token const& token) const noexcept; + auto WaitForNextFrameReady() const; + auto WaitForNextFrameReadyWithHeadStart(winrt::Windows::Foundation::TimeSpan const& requestedHeadStartDuration) const; + auto CreateFramePresentationMonitor(uint32_t maxQueuedReports) const; }; template <> struct consume { @@ -1078,7 +1071,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicSpace3 { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFrameScanoutMonitor) CreateFrameScanoutMonitor(uint32_t maxQueuedReports) const; + auto CreateFrameScanoutMonitor(uint32_t maxQueuedReports) const; }; template <> struct consume { @@ -1087,8 +1080,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicSpaceCameraAddedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCamera) Camera() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Camera() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1097,7 +1090,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicSpaceCameraRemovedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCamera) Camera() const; + [[nodiscard]] auto Camera() const; }; template <> struct consume { @@ -1106,7 +1099,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicSpaceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicSpace) CreateForCoreWindow(winrt::Windows::UI::Core::CoreWindow const& window) const; + auto CreateForCoreWindow(winrt::Windows::UI::Core::CoreWindow const& window) const; }; template <> struct consume { @@ -1115,12 +1108,12 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAvailable() const; - WINRT_IMPL_AUTO(winrt::event_token) IsAvailableChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto IsSupported() const; + [[nodiscard]] auto IsAvailable() const; + auto IsAvailableChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using IsAvailableChanged_revoker = impl::event_revoker::remove_IsAvailableChanged>; - [[nodiscard]] IsAvailableChanged_revoker IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsAvailableChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto IsAvailableChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1129,7 +1122,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicSpaceStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConfigured() const; + [[nodiscard]] auto IsConfigured() const; }; template <> struct consume { @@ -1138,18 +1131,18 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicViewConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) NativeRenderTargetSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) RenderTargetSize() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) RequestRenderTargetSize(winrt::Windows::Foundation::Size const& size) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedPixelFormats() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) PixelFormat() const; - WINRT_IMPL_AUTO(void) PixelFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStereo() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RefreshRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicViewConfigurationKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDisplay) Display() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; + [[nodiscard]] auto NativeRenderTargetSize() const; + [[nodiscard]] auto RenderTargetSize() const; + auto RequestRenderTargetSize(winrt::Windows::Foundation::Size const& size) const; + [[nodiscard]] auto SupportedPixelFormats() const; + [[nodiscard]] auto PixelFormat() const; + auto PixelFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const; + [[nodiscard]] auto IsStereo() const; + [[nodiscard]] auto RefreshRate() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Display() const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; }; template <> struct consume { @@ -1158,7 +1151,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Holographic_IHolographicViewConfiguration2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedDepthReprojectionMethods() const; + [[nodiscard]] auto SupportedDepthReprojectionMethods() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.1.h index bb9fd882..86723ee3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Holographic_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.2.h index a28533fb..636892e5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Holographic_2_H @@ -138,7 +138,7 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic [[nodiscard]] static auto IsAvailable(); static auto IsAvailableChanged(winrt::Windows::Foundation::EventHandler const& handler); using IsAvailableChanged_revoker = impl::factory_event_revoker::remove_IsAvailableChanged>; - [[nodiscard]] static IsAvailableChanged_revoker IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto IsAvailableChanged(winrt::event_token const& token); [[nodiscard]] static auto IsConfigured(); }; diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.0.h index 662636d6..13012f93 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Imaging_0_H @@ -6,7 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; enum class PropertyType : int32_t; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections @@ -14,7 +13,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections template struct __declspec(empty_bases) IIterable; template struct __declspec(empty_bases) IKeyValuePair; template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 { @@ -505,8 +503,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IBitmapBuffer { - WINRT_IMPL_AUTO(int32_t) GetPlaneCount() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPlaneDescription) GetPlaneDescription(int32_t index) const; + auto GetPlaneCount() const; + auto GetPlaneDescription(int32_t index) const; }; template <> struct consume { @@ -515,10 +513,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IBitmapCodecInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CodecId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FileExtensions() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FriendlyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) MimeTypes() const; + [[nodiscard]] auto CodecId() const; + [[nodiscard]] auto FileExtensions() const; + [[nodiscard]] auto FriendlyName() const; + [[nodiscard]] auto MimeTypes() const; }; template <> struct consume { @@ -527,11 +525,11 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IBitmapDecoder { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPropertiesView) BitmapContainerProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapCodecInformation) DecoderInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) FrameCount() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPreviewAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFrameAsync(uint32_t frameIndex) const; + [[nodiscard]] auto BitmapContainerProperties() const; + [[nodiscard]] auto DecoderInformation() const; + [[nodiscard]] auto FrameCount() const; + auto GetPreviewAsync() const; + auto GetFrameAsync(uint32_t frameIndex) const; }; template <> struct consume { @@ -540,16 +538,16 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IBitmapDecoderStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) BmpDecoderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) JpegDecoderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) PngDecoderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TiffDecoderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) GifDecoderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) JpegXRDecoderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) IcoDecoderId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetDecoderInformationEnumerator() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAsync(winrt::guid const& decoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + [[nodiscard]] auto BmpDecoderId() const; + [[nodiscard]] auto JpegDecoderId() const; + [[nodiscard]] auto PngDecoderId() const; + [[nodiscard]] auto TiffDecoderId() const; + [[nodiscard]] auto GifDecoderId() const; + [[nodiscard]] auto JpegXRDecoderId() const; + [[nodiscard]] auto IcoDecoderId() const; + auto GetDecoderInformationEnumerator() const; + auto CreateAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto CreateAsync(winrt::guid const& decoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; }; template <> struct consume { @@ -558,8 +556,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IBitmapDecoderStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) HeifDecoderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) WebpDecoderId() const; + [[nodiscard]] auto HeifDecoderId() const; + [[nodiscard]] auto WebpDecoderId() const; }; template <> struct consume { @@ -568,20 +566,20 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IBitmapEncoder { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapCodecInformation) EncoderInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapProperties) BitmapProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapProperties) BitmapContainerProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsThumbnailGenerated() const; - WINRT_IMPL_AUTO(void) IsThumbnailGenerated(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) GeneratedThumbnailWidth() const; - WINRT_IMPL_AUTO(void) GeneratedThumbnailWidth(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) GeneratedThumbnailHeight() const; - WINRT_IMPL_AUTO(void) GeneratedThumbnailHeight(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapTransform) BitmapTransform() const; - WINRT_IMPL_AUTO(void) SetPixelData(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode, uint32_t width, uint32_t height, double dpiX, double dpiY, array_view pixels) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) GoToNextFrameAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) GoToNextFrameAsync(param::async_iterable> const& encodingOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) FlushAsync() const; + [[nodiscard]] auto EncoderInformation() const; + [[nodiscard]] auto BitmapProperties() const; + [[nodiscard]] auto BitmapContainerProperties() const; + [[nodiscard]] auto IsThumbnailGenerated() const; + auto IsThumbnailGenerated(bool value) const; + [[nodiscard]] auto GeneratedThumbnailWidth() const; + auto GeneratedThumbnailWidth(uint32_t value) const; + [[nodiscard]] auto GeneratedThumbnailHeight() const; + auto GeneratedThumbnailHeight(uint32_t value) const; + [[nodiscard]] auto BitmapTransform() const; + auto SetPixelData(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode, uint32_t width, uint32_t height, double dpiX, double dpiY, array_view pixels) const; + auto GoToNextFrameAsync() const; + auto GoToNextFrameAsync(param::async_iterable> const& encodingOptions) const; + auto FlushAsync() const; }; template <> struct consume { @@ -590,17 +588,17 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IBitmapEncoderStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) BmpEncoderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) JpegEncoderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) PngEncoderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TiffEncoderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) GifEncoderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) JpegXREncoderId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetEncoderInformationEnumerator() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::async_iterable> const& encodingOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateForTranscodingAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Graphics::Imaging::BitmapDecoder const& bitmapDecoder) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateForInPlacePropertyEncodingAsync(winrt::Windows::Graphics::Imaging::BitmapDecoder const& bitmapDecoder) const; + [[nodiscard]] auto BmpEncoderId() const; + [[nodiscard]] auto JpegEncoderId() const; + [[nodiscard]] auto PngEncoderId() const; + [[nodiscard]] auto TiffEncoderId() const; + [[nodiscard]] auto GifEncoderId() const; + [[nodiscard]] auto JpegXREncoderId() const; + auto GetEncoderInformationEnumerator() const; + auto CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::async_iterable> const& encodingOptions) const; + auto CreateForTranscodingAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Graphics::Imaging::BitmapDecoder const& bitmapDecoder) const; + auto CreateForInPlacePropertyEncodingAsync(winrt::Windows::Graphics::Imaging::BitmapDecoder const& bitmapDecoder) const; }; template <> struct consume { @@ -609,7 +607,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IBitmapEncoderStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) HeifEncoderId() const; + [[nodiscard]] auto HeifEncoderId() const; }; template <> struct consume { @@ -618,7 +616,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IBitmapEncoderWithSoftwareBitmap { - WINRT_IMPL_AUTO(void) SetSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; + auto SetSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; }; template <> struct consume { @@ -627,18 +625,18 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IBitmapFrame { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetThumbnailAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPropertiesView) BitmapProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) BitmapPixelFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) BitmapAlphaMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DpiX() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DpiY() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PixelWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PixelHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) OrientedPixelWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) OrientedPixelHeight() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPixelDataAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPixelDataAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode, winrt::Windows::Graphics::Imaging::BitmapTransform const& transform, winrt::Windows::Graphics::Imaging::ExifOrientationMode const& exifOrientationMode, winrt::Windows::Graphics::Imaging::ColorManagementMode const& colorManagementMode) const; + auto GetThumbnailAsync() const; + [[nodiscard]] auto BitmapProperties() const; + [[nodiscard]] auto BitmapPixelFormat() const; + [[nodiscard]] auto BitmapAlphaMode() const; + [[nodiscard]] auto DpiX() const; + [[nodiscard]] auto DpiY() const; + [[nodiscard]] auto PixelWidth() const; + [[nodiscard]] auto PixelHeight() const; + [[nodiscard]] auto OrientedPixelWidth() const; + [[nodiscard]] auto OrientedPixelHeight() const; + auto GetPixelDataAsync() const; + auto GetPixelDataAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode, winrt::Windows::Graphics::Imaging::BitmapTransform const& transform, winrt::Windows::Graphics::Imaging::ExifOrientationMode const& exifOrientationMode, winrt::Windows::Graphics::Imaging::ColorManagementMode const& colorManagementMode) const; }; template <> struct consume { @@ -647,9 +645,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IBitmapFrameWithSoftwareBitmap { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetSoftwareBitmapAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetSoftwareBitmapAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetSoftwareBitmapAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode, winrt::Windows::Graphics::Imaging::BitmapTransform const& transform, winrt::Windows::Graphics::Imaging::ExifOrientationMode const& exifOrientationMode, winrt::Windows::Graphics::Imaging::ColorManagementMode const& colorManagementMode) const; + auto GetSoftwareBitmapAsync() const; + auto GetSoftwareBitmapAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode) const; + auto GetSoftwareBitmapAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode, winrt::Windows::Graphics::Imaging::BitmapTransform const& transform, winrt::Windows::Graphics::Imaging::ExifOrientationMode const& exifOrientationMode, winrt::Windows::Graphics::Imaging::ColorManagementMode const& colorManagementMode) const; }; template <> struct consume { @@ -658,7 +656,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IBitmapProperties { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetPropertiesAsync(param::async_iterable> const& propertiesToSet) const; + auto SetPropertiesAsync(param::async_iterable> const& propertiesToSet) const; }; template <> struct consume { @@ -667,7 +665,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IBitmapPropertiesView { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPropertiesAsync(param::async_iterable const& propertiesToRetrieve) const; + auto GetPropertiesAsync(param::async_iterable const& propertiesToRetrieve) const; }; template <> struct consume { @@ -676,18 +674,18 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IBitmapTransform { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ScaledWidth() const; - WINRT_IMPL_AUTO(void) ScaledWidth(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ScaledHeight() const; - WINRT_IMPL_AUTO(void) ScaledHeight(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapInterpolationMode) InterpolationMode() const; - WINRT_IMPL_AUTO(void) InterpolationMode(winrt::Windows::Graphics::Imaging::BitmapInterpolationMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapFlip) Flip() const; - WINRT_IMPL_AUTO(void) Flip(winrt::Windows::Graphics::Imaging::BitmapFlip const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapRotation) Rotation() const; - WINRT_IMPL_AUTO(void) Rotation(winrt::Windows::Graphics::Imaging::BitmapRotation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapBounds) Bounds() const; - WINRT_IMPL_AUTO(void) Bounds(winrt::Windows::Graphics::Imaging::BitmapBounds const& value) const; + [[nodiscard]] auto ScaledWidth() const; + auto ScaledWidth(uint32_t value) const; + [[nodiscard]] auto ScaledHeight() const; + auto ScaledHeight(uint32_t value) const; + [[nodiscard]] auto InterpolationMode() const; + auto InterpolationMode(winrt::Windows::Graphics::Imaging::BitmapInterpolationMode const& value) const; + [[nodiscard]] auto Flip() const; + auto Flip(winrt::Windows::Graphics::Imaging::BitmapFlip const& value) const; + [[nodiscard]] auto Rotation() const; + auto Rotation(winrt::Windows::Graphics::Imaging::BitmapRotation const& value) const; + [[nodiscard]] auto Bounds() const; + auto Bounds(winrt::Windows::Graphics::Imaging::BitmapBounds const& value) const; }; template <> struct consume { @@ -696,8 +694,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IBitmapTypedValue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Value() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::PropertyType) Type() const; + [[nodiscard]] auto Value() const; + [[nodiscard]] auto Type() const; }; template <> struct consume { @@ -706,7 +704,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IBitmapTypedValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapTypedValue) Create(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::PropertyType const& type) const; + auto Create(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::PropertyType const& type) const; }; template <> struct consume { @@ -715,7 +713,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_IPixelDataProvider { - WINRT_IMPL_AUTO(com_array) DetachPixelData() const; + auto DetachPixelData() const; }; template <> struct consume { @@ -724,20 +722,20 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_ISoftwareBitmap { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) BitmapPixelFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) BitmapAlphaMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PixelWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PixelHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadOnly() const; - WINRT_IMPL_AUTO(void) DpiX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DpiX() const; - WINRT_IMPL_AUTO(void) DpiY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DpiY() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapBuffer) LockBuffer(winrt::Windows::Graphics::Imaging::BitmapBufferAccessMode const& mode) const; - WINRT_IMPL_AUTO(void) CopyTo(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; - WINRT_IMPL_AUTO(void) CopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; - WINRT_IMPL_AUTO(void) CopyToBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) GetReadOnlyView() const; + [[nodiscard]] auto BitmapPixelFormat() const; + [[nodiscard]] auto BitmapAlphaMode() const; + [[nodiscard]] auto PixelWidth() const; + [[nodiscard]] auto PixelHeight() const; + [[nodiscard]] auto IsReadOnly() const; + auto DpiX(double value) const; + [[nodiscard]] auto DpiX() const; + auto DpiY(double value) const; + [[nodiscard]] auto DpiY() const; + auto LockBuffer(winrt::Windows::Graphics::Imaging::BitmapBufferAccessMode const& mode) const; + auto CopyTo(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; + auto CopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CopyToBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto GetReadOnlyView() const; }; template <> struct consume { @@ -746,8 +744,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_ISoftwareBitmapFactory { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) Create(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) CreateWithAlpha(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; + auto Create(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const; + auto CreateWithAlpha(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; }; template <> struct consume { @@ -756,13 +754,13 @@ namespace winrt::impl template struct consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) Copy(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) Convert(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) Convert(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) CreateCopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) CreateCopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateCopyFromSurfaceAsync(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateCopyFromSurfaceAsync(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; + auto Copy(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source) const; + auto Convert(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format) const; + auto Convert(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; + auto CreateCopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const; + auto CreateCopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; + auto CreateCopyFromSurfaceAsync(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface) const; + auto CreateCopyFromSurfaceAsync(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.1.h index b907e31e..7f212e51 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Imaging_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.2.h index 428a650b..51366f38 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Imaging_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.0.h index b8c3b8c3..50d01869 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing_0_H @@ -10,15 +10,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::DataTransfer WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; struct Rect; struct Size; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IRandomAccessStream; @@ -813,10 +808,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintManager { - WINRT_IMPL_AUTO(winrt::event_token) PrintTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto PrintTaskRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using PrintTaskRequested_revoker = impl::event_revoker::remove_PrintTaskRequested>; - [[nodiscard]] PrintTaskRequested_revoker PrintTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) PrintTaskRequested(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto PrintTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto PrintTaskRequested(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -825,8 +820,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintManagerStatic { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintManager) GetForCurrentView() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowPrintUIAsync() const; + auto GetForCurrentView() const; + auto ShowPrintUIAsync() const; }; template <> struct consume { @@ -835,7 +830,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintManagerStatic2 { - WINRT_IMPL_AUTO(bool) IsSupported() const; + auto IsSupported() const; }; template <> struct consume { @@ -844,16 +839,16 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintPageInfo { - WINRT_IMPL_AUTO(void) MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintMediaSize) MediaSize() const; - WINRT_IMPL_AUTO(void) PageSize(winrt::Windows::Foundation::Size const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) PageSize() const; - WINRT_IMPL_AUTO(void) DpiX(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DpiX() const; - WINRT_IMPL_AUTO(void) DpiY(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DpiY() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintOrientation) Orientation() const; + auto MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const; + [[nodiscard]] auto MediaSize() const; + auto PageSize(winrt::Windows::Foundation::Size const& value) const; + [[nodiscard]] auto PageSize() const; + auto DpiX(uint32_t value) const; + [[nodiscard]] auto DpiX() const; + auto DpiY(uint32_t value) const; + [[nodiscard]] auto DpiY() const; + auto Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const; + [[nodiscard]] auto Orientation() const; }; template <> struct consume { @@ -862,8 +857,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintPageRange { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FirstPageNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LastPageNumber() const; + [[nodiscard]] auto FirstPageNumber() const; + [[nodiscard]] auto LastPageNumber() const; }; template <> struct consume { @@ -872,8 +867,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintPageRangeFactory { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintPageRange) Create(int32_t firstPage, int32_t lastPage) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintPageRange) CreateWithSinglePage(int32_t page) const; + auto Create(int32_t firstPage, int32_t lastPage) const; + auto CreateWithSinglePage(int32_t page) const; }; template <> struct consume { @@ -882,12 +877,12 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintPageRangeOptions { - WINRT_IMPL_AUTO(void) AllowAllPages(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowAllPages() const; - WINRT_IMPL_AUTO(void) AllowCurrentPage(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowCurrentPage() const; - WINRT_IMPL_AUTO(void) AllowCustomSetOfPages(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowCustomSetOfPages() const; + auto AllowAllPages(bool value) const; + [[nodiscard]] auto AllowAllPages() const; + auto AllowCurrentPage(bool value) const; + [[nodiscard]] auto AllowCurrentPage() const; + auto AllowCustomSetOfPages(bool value) const; + [[nodiscard]] auto AllowCustomSetOfPages() const; }; template <> struct consume { @@ -896,25 +891,25 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintTask { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackagePropertySet) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::IPrintDocumentSource) Source() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskOptions) Options() const; - WINRT_IMPL_AUTO(winrt::event_token) Previewing(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto Source() const; + [[nodiscard]] auto Options() const; + auto Previewing(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using Previewing_revoker = impl::event_revoker::remove_Previewing>; - [[nodiscard]] Previewing_revoker Previewing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) Previewing(winrt::event_token const& eventCookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Submitting(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto Previewing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Previewing(winrt::event_token const& eventCookie) const noexcept; + auto Submitting(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using Submitting_revoker = impl::event_revoker::remove_Submitting>; - [[nodiscard]] Submitting_revoker Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) Submitting(winrt::event_token const& eventCookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Progressing(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Submitting(winrt::event_token const& eventCookie) const noexcept; + auto Progressing(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using Progressing_revoker = impl::event_revoker::remove_Progressing>; - [[nodiscard]] Progressing_revoker Progressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) Progressing(winrt::event_token const& eventCookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Completed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto Progressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Progressing(winrt::event_token const& eventCookie) const noexcept; + auto Completed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using Completed_revoker = impl::event_revoker::remove_Completed>; - [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) Completed(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Completed(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -923,8 +918,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintTask2 { - WINRT_IMPL_AUTO(void) IsPreviewEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPreviewEnabled() const; + auto IsPreviewEnabled(bool value) const; + [[nodiscard]] auto IsPreviewEnabled() const; }; template <> struct consume { @@ -933,7 +928,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintTaskCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskCompletion) Completion() const; + [[nodiscard]] auto Completion() const; }; template <> struct consume { @@ -942,9 +937,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintTaskOptions { - WINRT_IMPL_AUTO(void) Bordering(winrt::Windows::Graphics::Printing::PrintBordering const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintBordering) Bordering() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) GetPagePrintTicket(winrt::Windows::Graphics::Printing::PrintPageInfo const& printPageInfo) const; + auto Bordering(winrt::Windows::Graphics::Printing::PrintBordering const& value) const; + [[nodiscard]] auto Bordering() const; + auto GetPagePrintTicket(winrt::Windows::Graphics::Printing::PrintPageInfo const& printPageInfo) const; }; template <> struct consume { @@ -953,8 +948,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintTaskOptions2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintPageRangeOptions) PageRangeOptions() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) CustomPageRanges() const; + [[nodiscard]] auto PageRangeOptions() const; + [[nodiscard]] auto CustomPageRanges() const; }; template <> struct consume { @@ -963,7 +958,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintTaskOptionsCore { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintPageDescription) GetPageDescription(uint32_t jobPageNumber) const; + auto GetPageDescription(uint32_t jobPageNumber) const; }; template <> struct consume { @@ -972,30 +967,30 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties { - WINRT_IMPL_AUTO(void) MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintMediaSize) MediaSize() const; - WINRT_IMPL_AUTO(void) MediaType(winrt::Windows::Graphics::Printing::PrintMediaType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintMediaType) MediaType() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintOrientation) Orientation() const; - WINRT_IMPL_AUTO(void) PrintQuality(winrt::Windows::Graphics::Printing::PrintQuality const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintQuality) PrintQuality() const; - WINRT_IMPL_AUTO(void) ColorMode(winrt::Windows::Graphics::Printing::PrintColorMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintColorMode) ColorMode() const; - WINRT_IMPL_AUTO(void) Duplex(winrt::Windows::Graphics::Printing::PrintDuplex const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintDuplex) Duplex() const; - WINRT_IMPL_AUTO(void) Collation(winrt::Windows::Graphics::Printing::PrintCollation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintCollation) Collation() const; - WINRT_IMPL_AUTO(void) Staple(winrt::Windows::Graphics::Printing::PrintStaple const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintStaple) Staple() const; - WINRT_IMPL_AUTO(void) HolePunch(winrt::Windows::Graphics::Printing::PrintHolePunch const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintHolePunch) HolePunch() const; - WINRT_IMPL_AUTO(void) Binding(winrt::Windows::Graphics::Printing::PrintBinding const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintBinding) Binding() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinCopies() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxCopies() const; - WINRT_IMPL_AUTO(void) NumberOfCopies(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) NumberOfCopies() const; + auto MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const; + [[nodiscard]] auto MediaSize() const; + auto MediaType(winrt::Windows::Graphics::Printing::PrintMediaType const& value) const; + [[nodiscard]] auto MediaType() const; + auto Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const; + [[nodiscard]] auto Orientation() const; + auto PrintQuality(winrt::Windows::Graphics::Printing::PrintQuality const& value) const; + [[nodiscard]] auto PrintQuality() const; + auto ColorMode(winrt::Windows::Graphics::Printing::PrintColorMode const& value) const; + [[nodiscard]] auto ColorMode() const; + auto Duplex(winrt::Windows::Graphics::Printing::PrintDuplex const& value) const; + [[nodiscard]] auto Duplex() const; + auto Collation(winrt::Windows::Graphics::Printing::PrintCollation const& value) const; + [[nodiscard]] auto Collation() const; + auto Staple(winrt::Windows::Graphics::Printing::PrintStaple const& value) const; + [[nodiscard]] auto Staple() const; + auto HolePunch(winrt::Windows::Graphics::Printing::PrintHolePunch const& value) const; + [[nodiscard]] auto HolePunch() const; + auto Binding(winrt::Windows::Graphics::Printing::PrintBinding const& value) const; + [[nodiscard]] auto Binding() const; + [[nodiscard]] auto MinCopies() const; + [[nodiscard]] auto MaxCopies() const; + auto NumberOfCopies(uint32_t value) const; + [[nodiscard]] auto NumberOfCopies() const; }; template <> struct consume { @@ -1004,7 +999,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreUIConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DisplayedOptions() const; + [[nodiscard]] auto DisplayedOptions() const; }; template <> struct consume { @@ -1013,7 +1008,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintTaskProgressingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DocumentPageCount() const; + [[nodiscard]] auto DocumentPageCount() const; }; template <> struct consume { @@ -1022,9 +1017,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintTaskRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Deadline() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTask) CreatePrintTask(param::hstring const& title, winrt::Windows::Graphics::Printing::PrintTaskSourceRequestedHandler const& handler) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskRequestedDeferral) GetDeferral() const; + [[nodiscard]] auto Deadline() const; + auto CreatePrintTask(param::hstring const& title, winrt::Windows::Graphics::Printing::PrintTaskSourceRequestedHandler const& handler) const; + auto GetDeferral() const; }; template <> struct consume { @@ -1033,7 +1028,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintTaskRequestedDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -1042,7 +1037,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintTaskRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -1051,9 +1046,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Deadline() const; - WINRT_IMPL_AUTO(void) SetSource(winrt::Windows::Graphics::Printing::IPrintDocumentSource const& source) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskSourceRequestedDeferral) GetDeferral() const; + [[nodiscard]] auto Deadline() const; + auto SetSource(winrt::Windows::Graphics::Printing::IPrintDocumentSource const& source) const; + auto GetDeferral() const; }; template <> struct consume { @@ -1062,7 +1057,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -1071,10 +1066,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport { - WINRT_IMPL_AUTO(void) IsPrinterTargetEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPrinterTargetEnabled() const; - WINRT_IMPL_AUTO(void) Is3DManufacturingTargetEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Is3DManufacturingTargetEnabled() const; + auto IsPrinterTargetEnabled(bool value) const; + [[nodiscard]] auto IsPrinterTargetEnabled() const; + auto Is3DManufacturingTargetEnabled(bool value) const; + [[nodiscard]] auto Is3DManufacturingTargetEnabled() const; }; template <> struct consume { @@ -1083,19 +1078,19 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MediaSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MediaType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Orientation() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PrintQuality() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ColorMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Duplex() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Collation() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Staple() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HolePunch() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Binding() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Copies() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NUp() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) InputBin() const; + [[nodiscard]] auto MediaSize() const; + [[nodiscard]] auto MediaType() const; + [[nodiscard]] auto Orientation() const; + [[nodiscard]] auto PrintQuality() const; + [[nodiscard]] auto ColorMode() const; + [[nodiscard]] auto Duplex() const; + [[nodiscard]] auto Collation() const; + [[nodiscard]] auto Staple() const; + [[nodiscard]] auto HolePunch() const; + [[nodiscard]] auto Binding() const; + [[nodiscard]] auto Copies() const; + [[nodiscard]] auto NUp() const; + [[nodiscard]] auto InputBin() const; }; template <> struct consume { @@ -1104,7 +1099,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Bordering() const; + [[nodiscard]] auto Bordering() const; }; template <> struct consume { @@ -1113,7 +1108,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CustomPageRanges() const; + [[nodiscard]] auto CustomPageRanges() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.1.h index 29dee8ea..fa9789b6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.2.h index a2b47b3a..744c1bf8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.0.h index 44e84d69..3e787d52 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing_OptionDetails_0_H @@ -8,11 +8,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Graphics::Printing { struct PrintTaskOptions; @@ -508,10 +503,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails { - WINRT_IMPL_AUTO(void) WarningText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WarningText() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -520,10 +515,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails { - WINRT_IMPL_AUTO(void) WarningText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WarningText() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -532,10 +527,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails { - WINRT_IMPL_AUTO(void) WarningText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WarningText() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -544,10 +539,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails { - WINRT_IMPL_AUTO(void) WarningText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WarningText() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -556,10 +551,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails { - WINRT_IMPL_AUTO(void) WarningText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WarningText() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -568,9 +563,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ItemId() const; - WINRT_IMPL_AUTO(void) ItemDisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ItemDisplayName() const; + [[nodiscard]] auto ItemId() const; + auto ItemDisplayName(param::hstring const& value) const; + [[nodiscard]] auto ItemDisplayName() const; }; template <> struct consume { @@ -579,7 +574,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails { - WINRT_IMPL_AUTO(void) AddItem(param::hstring const& itemId, param::hstring const& displayName) const; + auto AddItem(param::hstring const& itemId, param::hstring const& displayName) const; }; template <> struct consume { @@ -588,7 +583,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails2 { - WINRT_IMPL_AUTO(void) AddItem(param::hstring const& itemId, param::hstring const& displayName, param::hstring const& description, winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& icon) const; + auto AddItem(param::hstring const& itemId, param::hstring const& displayName, param::hstring const& description, winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& icon) const; }; template <> struct consume { @@ -597,10 +592,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3 { - WINRT_IMPL_AUTO(void) WarningText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WarningText() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -609,8 +604,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomOptionDetails { - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto DisplayName() const; }; template <> struct consume { @@ -619,8 +614,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails { - WINRT_IMPL_AUTO(void) MaxCharacters(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxCharacters() const; + auto MaxCharacters(uint32_t value) const; + [[nodiscard]] auto MaxCharacters() const; }; template <> struct consume { @@ -629,10 +624,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2 { - WINRT_IMPL_AUTO(void) WarningText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WarningText() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -641,10 +636,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails { - WINRT_IMPL_AUTO(void) WarningText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WarningText() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -653,10 +648,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails { - WINRT_IMPL_AUTO(void) WarningText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WarningText() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -665,10 +660,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails { - WINRT_IMPL_AUTO(void) WarningText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WarningText() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -677,7 +672,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintItemListOptionDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Items() const; + [[nodiscard]] auto Items() const; }; template <> struct consume { @@ -686,10 +681,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails { - WINRT_IMPL_AUTO(void) WarningText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WarningText() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -698,10 +693,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails { - WINRT_IMPL_AUTO(void) WarningText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WarningText() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -710,8 +705,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintNumberOptionDetails { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxValue() const; + [[nodiscard]] auto MinValue() const; + [[nodiscard]] auto MaxValue() const; }; template <> struct consume { @@ -720,14 +715,14 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OptionId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintOptionType) OptionType() const; - WINRT_IMPL_AUTO(void) ErrorText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ErrorText() const; - WINRT_IMPL_AUTO(void) State(winrt::Windows::Graphics::Printing::OptionDetails::PrintOptionStates const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintOptionStates) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Value() const; - WINRT_IMPL_AUTO(bool) TrySetValue(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto OptionId() const; + [[nodiscard]] auto OptionType() const; + auto ErrorText(param::hstring const& value) const; + [[nodiscard]] auto ErrorText() const; + auto State(winrt::Windows::Graphics::Printing::OptionDetails::PrintOptionStates const& value) const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto Value() const; + auto TrySetValue(winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -736,10 +731,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails { - WINRT_IMPL_AUTO(void) WarningText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WarningText() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -748,10 +743,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails { - WINRT_IMPL_AUTO(void) WarningText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WarningText() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -760,10 +755,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails { - WINRT_IMPL_AUTO(void) WarningText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WarningText() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -772,10 +767,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails { - WINRT_IMPL_AUTO(void) WarningText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WarningText() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; + auto WarningText(param::hstring const& value) const; + [[nodiscard]] auto WarningText() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Description() const; }; template <> struct consume { @@ -784,7 +779,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) OptionId() const; + [[nodiscard]] auto OptionId() const; }; template <> struct consume { @@ -793,17 +788,17 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Options() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintCustomItemListOptionDetails) CreateItemListOption(param::hstring const& optionId, param::hstring const& displayName) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintCustomTextOptionDetails) CreateTextOption(param::hstring const& optionId, param::hstring const& displayName) const; - WINRT_IMPL_AUTO(winrt::event_token) OptionChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto Options() const; + auto CreateItemListOption(param::hstring const& optionId, param::hstring const& displayName) const; + auto CreateTextOption(param::hstring const& optionId, param::hstring const& displayName) const; + auto OptionChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using OptionChanged_revoker = impl::event_revoker::remove_OptionChanged>; - [[nodiscard]] OptionChanged_revoker OptionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) OptionChanged(winrt::event_token const& eventCookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BeginValidation(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto OptionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto OptionChanged(winrt::event_token const& eventCookie) const noexcept; + auto BeginValidation(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using BeginValidation_revoker = impl::event_revoker::remove_BeginValidation>; - [[nodiscard]] BeginValidation_revoker BeginValidation(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) BeginValidation(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto BeginValidation(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto BeginValidation(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -812,7 +807,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails2 { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintCustomToggleOptionDetails) CreateToggleOption(param::hstring const& optionId, param::hstring const& displayName) const; + auto CreateToggleOption(param::hstring const& optionId, param::hstring const& displayName) const; }; template <> struct consume { @@ -821,7 +816,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetailsStatic { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails) GetFromPrintTaskOptions(winrt::Windows::Graphics::Printing::PrintTaskOptions const& printTaskOptions) const; + auto GetFromPrintTaskOptions(winrt::Windows::Graphics::Printing::PrintTaskOptions const& printTaskOptions) const; }; template <> struct consume { @@ -830,7 +825,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_OptionDetails_IPrintTextOptionDetails { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxCharacters() const; + [[nodiscard]] auto MaxCharacters() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.1.h index 466e1406..52228885 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing_OptionDetails_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.2.h index 9db99986..aafefc8e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing_OptionDetails_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.0.h index 7a08d6d5..36da70e5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing_PrintTicket_0_H @@ -11,11 +11,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct HResult; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::PrintTicket { @@ -240,26 +235,26 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) XmlNamespace() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) XmlNode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) DocumentBindingFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) DocumentCollateFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) DocumentDuplexFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) DocumentHolePunchFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) DocumentInputBinFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) DocumentNUpFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) DocumentStapleFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) JobPasscodeFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) PageBorderlessFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) PageMediaSizeFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) PageMediaTypeFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) PageOrientationFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) PageOutputColorFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) PageOutputQualityFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) PageResolutionFeature() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) GetFeature(param::hstring const& name, param::hstring const& xmlNamespace) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterDefinition) GetParameterDefinition(param::hstring const& name, param::hstring const& xmlNamespace) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto XmlNamespace() const; + [[nodiscard]] auto XmlNode() const; + [[nodiscard]] auto DocumentBindingFeature() const; + [[nodiscard]] auto DocumentCollateFeature() const; + [[nodiscard]] auto DocumentDuplexFeature() const; + [[nodiscard]] auto DocumentHolePunchFeature() const; + [[nodiscard]] auto DocumentInputBinFeature() const; + [[nodiscard]] auto DocumentNUpFeature() const; + [[nodiscard]] auto DocumentStapleFeature() const; + [[nodiscard]] auto JobPasscodeFeature() const; + [[nodiscard]] auto PageBorderlessFeature() const; + [[nodiscard]] auto PageMediaSizeFeature() const; + [[nodiscard]] auto PageMediaTypeFeature() const; + [[nodiscard]] auto PageOrientationFeature() const; + [[nodiscard]] auto PageOutputColorFeature() const; + [[nodiscard]] auto PageOutputQualityFeature() const; + [[nodiscard]] auto PageResolutionFeature() const; + auto GetFeature(param::hstring const& name, param::hstring const& xmlNamespace) const; + auto GetParameterDefinition(param::hstring const& name, param::hstring const& xmlNamespace) const; }; template <> struct consume { @@ -268,15 +263,15 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) XmlNamespace() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) XmlNode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption) GetOption(param::hstring const& name, param::hstring const& xmlNamespace) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Options() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption) GetSelectedOption() const; - WINRT_IMPL_AUTO(void) SetSelectedOption(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeatureSelectionType) SelectionType() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto XmlNamespace() const; + [[nodiscard]] auto XmlNode() const; + [[nodiscard]] auto DisplayName() const; + auto GetOption(param::hstring const& name, param::hstring const& xmlNamespace) const; + [[nodiscard]] auto Options() const; + auto GetSelectedOption() const; + auto SetSelectedOption(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption const& value) const; + [[nodiscard]] auto SelectionType() const; }; template <> struct consume { @@ -285,14 +280,14 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) XmlNamespace() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) XmlNode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) GetPropertyNode(param::hstring const& name, param::hstring const& xmlNamespace) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) GetScoredPropertyNode(param::hstring const& name, param::hstring const& xmlNamespace) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue) GetPropertyValue(param::hstring const& name, param::hstring const& xmlNamespace) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue) GetScoredPropertyValue(param::hstring const& name, param::hstring const& xmlNamespace) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto XmlNamespace() const; + [[nodiscard]] auto XmlNode() const; + [[nodiscard]] auto DisplayName() const; + auto GetPropertyNode(param::hstring const& name, param::hstring const& xmlNamespace) const; + auto GetScoredPropertyNode(param::hstring const& name, param::hstring const& xmlNamespace) const; + auto GetPropertyValue(param::hstring const& name, param::hstring const& xmlNamespace) const; + auto GetScoredPropertyValue(param::hstring const& name, param::hstring const& xmlNamespace) const; }; template <> struct consume { @@ -301,13 +296,13 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) XmlNamespace() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) XmlNode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterDataType) DataType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UnitType() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RangeMin() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RangeMax() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto XmlNamespace() const; + [[nodiscard]] auto XmlNode() const; + [[nodiscard]] auto DataType() const; + [[nodiscard]] auto UnitType() const; + [[nodiscard]] auto RangeMin() const; + [[nodiscard]] auto RangeMax() const; }; template <> struct consume { @@ -316,11 +311,11 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) XmlNamespace() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) XmlNode() const; - WINRT_IMPL_AUTO(void) Value(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue) Value() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto XmlNamespace() const; + [[nodiscard]] auto XmlNode() const; + auto Value(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue const& value) const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -329,9 +324,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValueType) Type() const; - WINRT_IMPL_AUTO(int32_t) GetValueAsInteger() const; - WINRT_IMPL_AUTO(hstring) GetValueAsString() const; + [[nodiscard]] auto Type() const; + auto GetValueAsInteger() const; + auto GetValueAsString() const; }; template <> struct consume { @@ -340,32 +335,32 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) XmlNamespace() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) XmlNode() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketCapabilities) GetCapabilities() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) DocumentBindingFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) DocumentCollateFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) DocumentDuplexFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) DocumentHolePunchFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) DocumentInputBinFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) DocumentNUpFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) DocumentStapleFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) JobPasscodeFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) PageBorderlessFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) PageMediaSizeFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) PageMediaTypeFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) PageOrientationFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) PageOutputColorFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) PageOutputQualityFeature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) PageResolutionFeature() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) GetFeature(param::hstring const& name, param::hstring const& xmlNamespace) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) NotifyXmlChangedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ValidateAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterInitializer) GetParameterInitializer(param::hstring const& name, param::hstring const& xmlNamespace) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterInitializer) SetParameterInitializerAsInteger(param::hstring const& name, param::hstring const& xmlNamespace, int32_t integerValue) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterInitializer) SetParameterInitializerAsString(param::hstring const& name, param::hstring const& xmlNamespace, param::hstring const& stringValue) const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket) MergeAndValidateTicket(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& deltaShemaTicket) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto XmlNamespace() const; + [[nodiscard]] auto XmlNode() const; + auto GetCapabilities() const; + [[nodiscard]] auto DocumentBindingFeature() const; + [[nodiscard]] auto DocumentCollateFeature() const; + [[nodiscard]] auto DocumentDuplexFeature() const; + [[nodiscard]] auto DocumentHolePunchFeature() const; + [[nodiscard]] auto DocumentInputBinFeature() const; + [[nodiscard]] auto DocumentNUpFeature() const; + [[nodiscard]] auto DocumentStapleFeature() const; + [[nodiscard]] auto JobPasscodeFeature() const; + [[nodiscard]] auto PageBorderlessFeature() const; + [[nodiscard]] auto PageMediaSizeFeature() const; + [[nodiscard]] auto PageMediaTypeFeature() const; + [[nodiscard]] auto PageOrientationFeature() const; + [[nodiscard]] auto PageOutputColorFeature() const; + [[nodiscard]] auto PageOutputQualityFeature() const; + [[nodiscard]] auto PageResolutionFeature() const; + auto GetFeature(param::hstring const& name, param::hstring const& xmlNamespace) const; + auto NotifyXmlChangedAsync() const; + auto ValidateAsync() const; + auto GetParameterInitializer(param::hstring const& name, param::hstring const& xmlNamespace) const; + auto SetParameterInitializerAsInteger(param::hstring const& name, param::hstring const& xmlNamespace, int32_t integerValue) const; + auto SetParameterInitializerAsString(param::hstring const& name, param::hstring const& xmlNamespace, param::hstring const& stringValue) const; + auto MergeAndValidateTicket(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& deltaShemaTicket) const; }; template <> struct consume { @@ -374,8 +369,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicketValidationResult { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Validated() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto Validated() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.1.h index 7efe4297..a8176682 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing_PrintTicket_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.2.h index 8c1ae566..1dd6b40a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing_PrintTicket_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.0.h index e65e6071..9c046725 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing_Workflow_0_H @@ -7,7 +7,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::PrintTicket @@ -307,16 +306,16 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession { - WINRT_IMPL_AUTO(winrt::event_token) SetupRequested(winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const; + auto SetupRequested(winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const; using SetupRequested_revoker = impl::event_revoker::remove_SetupRequested>; - [[nodiscard]] SetupRequested_revoker SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const; - WINRT_IMPL_AUTO(void) SetupRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Submitted(winrt::Windows::Foundation::TypedEventHandler const& submittedEventHandler) const; + [[nodiscard]] auto SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const; + auto SetupRequested(winrt::event_token const& token) const noexcept; + auto Submitted(winrt::Windows::Foundation::TypedEventHandler const& submittedEventHandler) const; using Submitted_revoker = impl::event_revoker::remove_Submitted>; - [[nodiscard]] Submitted_revoker Submitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& submittedEventHandler) const; - WINRT_IMPL_AUTO(void) Submitted(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSessionStatus) Status() const; - WINRT_IMPL_AUTO(void) Start() const; + [[nodiscard]] auto Submitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& submittedEventHandler) const; + auto Submitted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; }; template <> struct consume { @@ -325,10 +324,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetUserPrintTicketAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowConfiguration) Configuration() const; - WINRT_IMPL_AUTO(void) SetRequiresUI() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + auto GetUserPrintTicketAsync() const; + [[nodiscard]] auto Configuration() const; + auto SetRequiresUI() const; + auto GetDeferral() const; }; template <> struct consume { @@ -337,9 +336,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SourceAppDisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) JobTitle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SessionId() const; + [[nodiscard]] auto SourceAppDisplayName() const; + [[nodiscard]] auto JobTitle() const; + [[nodiscard]] auto SessionId() const; }; template <> struct consume { @@ -348,16 +347,16 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession { - WINRT_IMPL_AUTO(winrt::event_token) SetupRequested(winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const; + auto SetupRequested(winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const; using SetupRequested_revoker = impl::event_revoker::remove_SetupRequested>; - [[nodiscard]] SetupRequested_revoker SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const; - WINRT_IMPL_AUTO(void) SetupRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) XpsDataAvailable(winrt::Windows::Foundation::TypedEventHandler const& xpsDataAvailableEventHandler) const; + [[nodiscard]] auto SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& setupEventHandler) const; + auto SetupRequested(winrt::event_token const& token) const noexcept; + auto XpsDataAvailable(winrt::Windows::Foundation::TypedEventHandler const& xpsDataAvailableEventHandler) const; using XpsDataAvailable_revoker = impl::event_revoker::remove_XpsDataAvailable>; - [[nodiscard]] XpsDataAvailable_revoker XpsDataAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& xpsDataAvailableEventHandler) const; - WINRT_IMPL_AUTO(void) XpsDataAvailable(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSessionStatus) Status() const; - WINRT_IMPL_AUTO(void) Start() const; + [[nodiscard]] auto XpsDataAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& xpsDataAvailableEventHandler) const; + auto XpsDataAvailable(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; }; template <> struct consume { @@ -366,9 +365,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSetupRequestedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetUserPrintTicketAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowConfiguration) Configuration() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + auto GetUserPrintTicketAsync() const; + [[nodiscard]] auto Configuration() const; + auto GetDeferral() const; }; template <> struct consume { @@ -393,9 +392,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSourceContent { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetJobPrintTicketAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSpoolStreamContent) GetSourceSpoolDataAsStreamContent() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowObjectModelSourceFileContent) GetSourceSpoolDataAsXpsObjectModel() const; + auto GetJobPrintTicketAsync() const; + auto GetSourceSpoolDataAsStreamContent() const; + auto GetSourceSpoolDataAsXpsObjectModel() const; }; template <> struct consume { @@ -404,7 +403,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSpoolStreamContent { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) GetInputStream() const; + auto GetInputStream() const; }; template <> struct consume { @@ -413,7 +412,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowStreamTarget { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) GetOutputStream() const; + auto GetOutputStream() const; }; template <> struct consume { @@ -422,9 +421,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedOperation) Operation() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowTarget) GetTarget(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& jobPrintTicket) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Operation() const; + auto GetTarget(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& jobPrintTicket) const; + auto GetDeferral() const; }; template <> struct consume { @@ -433,9 +432,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedOperation { - WINRT_IMPL_AUTO(void) Complete(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedStatus const& status) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowConfiguration) Configuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSourceContent) XpsContent() const; + auto Complete(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedStatus const& status) const; + [[nodiscard]] auto Configuration() const; + [[nodiscard]] auto XpsContent() const; }; template <> struct consume { @@ -444,8 +443,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTarget { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowStreamTarget) TargetAsStream() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowObjectModelTargetPackage) TargetAsXpsObjectModelPackage() const; + [[nodiscard]] auto TargetAsStream() const; + [[nodiscard]] auto TargetAsXpsObjectModelPackage() const; }; template <> struct consume { @@ -454,7 +453,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession) PrintWorkflowSession() const; + [[nodiscard]] auto PrintWorkflowSession() const; }; template <> struct consume { @@ -463,7 +462,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowUIActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession) PrintWorkflowSession() const; + [[nodiscard]] auto PrintWorkflowSession() const; }; template <> struct consume { @@ -472,8 +471,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowXpsDataAvailableEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedOperation) Operation() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Operation() const; + auto GetDeferral() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.1.h index d9012049..b01ba2a9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing_Workflow_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.2.h index 6e5dae1c..e7d779e6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing_Workflow_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.0.h index d268e699..6102c928 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing3D_0_H @@ -7,16 +7,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { - template struct __declspec(empty_bases) IMap; struct IPropertySet; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics { @@ -790,10 +785,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrint3DManager { - WINRT_IMPL_AUTO(winrt::event_token) TaskRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto TaskRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using TaskRequested_revoker = impl::event_revoker::remove_TaskRequested>; - [[nodiscard]] TaskRequested_revoker TaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) TaskRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto TaskRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -802,8 +797,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrint3DManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DManager) GetForCurrentView() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowPrintUIAsync() const; + auto GetForCurrentView() const; + auto ShowPrintUIAsync() const; }; template <> struct consume { @@ -812,19 +807,19 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrint3DTask { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage) Source() const; - WINRT_IMPL_AUTO(winrt::event_token) Submitting(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto Source() const; + auto Submitting(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using Submitting_revoker = impl::event_revoker::remove_Submitting>; - [[nodiscard]] Submitting_revoker Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) Submitting(winrt::event_token const& eventCookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Completed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Submitting(winrt::event_token const& eventCookie) const noexcept; + auto Completed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using Completed_revoker = impl::event_revoker::remove_Completed>; - [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) Completed(winrt::event_token const& eventCookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SourceChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Completed(winrt::event_token const& eventCookie) const noexcept; + auto SourceChanged(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using SourceChanged_revoker = impl::event_revoker::remove_SourceChanged>; - [[nodiscard]] SourceChanged_revoker SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) SourceChanged(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto SourceChanged(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -833,8 +828,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrint3DTaskCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DTaskCompletion) Completion() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DTaskDetail) ExtendedStatus() const; + [[nodiscard]] auto Completion() const; + [[nodiscard]] auto ExtendedStatus() const; }; template <> struct consume { @@ -843,7 +838,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrint3DTaskRequest { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DTask) CreateTask(param::hstring const& title, param::hstring const& printerId, winrt::Windows::Graphics::Printing3D::Print3DTaskSourceRequestedHandler const& handler) const; + auto CreateTask(param::hstring const& title, param::hstring const& printerId, winrt::Windows::Graphics::Printing3D::Print3DTaskSourceRequestedHandler const& handler) const; }; template <> struct consume { @@ -852,7 +847,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrint3DTaskRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DTaskRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -861,7 +856,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrint3DTaskSourceChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage) Source() const; + [[nodiscard]] auto Source() const; }; template <> struct consume { @@ -870,7 +865,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrint3DTaskSourceRequestedArgs { - WINRT_IMPL_AUTO(void) SetSource(winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage const& source) const; + auto SetSource(winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage const& source) const; }; template <> struct consume { @@ -879,16 +874,16 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SaveAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) PrintTicket() const; - WINRT_IMPL_AUTO(void) PrintTicket(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) ModelPart() const; - WINRT_IMPL_AUTO(void) ModelPart(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource) Thumbnail() const; - WINRT_IMPL_AUTO(void) Thumbnail(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Textures() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadModelFromPackageAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveModelToPackageAsync(winrt::Windows::Graphics::Printing3D::Printing3DModel const& value) const; + auto SaveAsync() const; + [[nodiscard]] auto PrintTicket() const; + auto PrintTicket(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; + [[nodiscard]] auto ModelPart() const; + auto ModelPart(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; + [[nodiscard]] auto Thumbnail() const; + auto Thumbnail(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const; + [[nodiscard]] auto Textures() const; + auto LoadModelFromPackageAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; + auto SaveModelToPackageAsync(winrt::Windows::Graphics::Printing3D::Printing3DModel const& value) const; }; template <> struct consume { @@ -897,8 +892,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DPackageCompression) Compression() const; - WINRT_IMPL_AUTO(void) Compression(winrt::Windows::Graphics::Printing3D::Printing3DPackageCompression const& value) const; + [[nodiscard]] auto Compression() const; + auto Compression(winrt::Windows::Graphics::Printing3D::Printing3DPackageCompression const& value) const; }; template <> struct consume { @@ -907,7 +902,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackageStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; + auto LoadAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; }; template <> struct consume { @@ -916,10 +911,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DColorMaterial) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::Graphics::Printing3D::Printing3DColorMaterial const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::Graphics::Printing3D::Printing3DColorMaterial const& value) const; }; template <> struct consume { @@ -928,8 +923,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroup { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Bases() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaterialGroupId() const; + [[nodiscard]] auto Bases() const; + [[nodiscard]] auto MaterialGroupId() const; }; template <> struct consume { @@ -938,7 +933,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroupFactory { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup) Create(uint32_t MaterialGroupId) const; + auto Create(uint32_t MaterialGroupId) const; }; template <> struct consume { @@ -947,8 +942,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Abs() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Pla() const; + [[nodiscard]] auto Abs() const; + [[nodiscard]] auto Pla() const; }; template <> struct consume { @@ -957,8 +952,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Value() const; - WINRT_IMPL_AUTO(void) Value(uint32_t value) const; + [[nodiscard]] auto Value() const; + auto Value(uint32_t value) const; }; template <> struct consume { @@ -967,8 +962,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; }; template <> struct consume { @@ -977,8 +972,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroup { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Colors() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaterialGroupId() const; + [[nodiscard]] auto Colors() const; + [[nodiscard]] auto MaterialGroupId() const; }; template <> struct consume { @@ -987,7 +982,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroupFactory { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DColorMaterialGroup) Create(uint32_t MaterialGroupId) const; + auto Create(uint32_t MaterialGroupId) const; }; template <> struct consume { @@ -996,17 +991,17 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DComponent { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DMesh) Mesh() const; - WINRT_IMPL_AUTO(void) Mesh(winrt::Windows::Graphics::Printing3D::Printing3DMesh const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Components() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource) Thumbnail() const; - WINRT_IMPL_AUTO(void) Thumbnail(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DObjectType) Type() const; - WINRT_IMPL_AUTO(void) Type(winrt::Windows::Graphics::Printing3D::Printing3DObjectType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PartNumber() const; - WINRT_IMPL_AUTO(void) PartNumber(param::hstring const& value) const; + [[nodiscard]] auto Mesh() const; + auto Mesh(winrt::Windows::Graphics::Printing3D::Printing3DMesh const& value) const; + [[nodiscard]] auto Components() const; + [[nodiscard]] auto Thumbnail() const; + auto Thumbnail(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const; + [[nodiscard]] auto Type() const; + auto Type(winrt::Windows::Graphics::Printing3D::Printing3DObjectType const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto PartNumber() const; + auto PartNumber(param::hstring const& value) const; }; template <> struct consume { @@ -1015,10 +1010,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DComponent) Component() const; - WINRT_IMPL_AUTO(void) Component(winrt::Windows::Graphics::Printing3D::Printing3DComponent const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) Matrix() const; - WINRT_IMPL_AUTO(void) Matrix(winrt::Windows::Foundation::Numerics::float4x4 const& value) const; + [[nodiscard]] auto Component() const; + auto Component(winrt::Windows::Graphics::Printing3D::Printing3DComponent const& value) const; + [[nodiscard]] auto Matrix() const; + auto Matrix(winrt::Windows::Foundation::Numerics::float4x4 const& value) const; }; template <> struct consume { @@ -1027,7 +1022,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterial { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Values() const; + [[nodiscard]] auto Values() const; }; template <> struct consume { @@ -1036,9 +1031,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Composites() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaterialGroupId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) MaterialIndices() const; + [[nodiscard]] auto Composites() const; + [[nodiscard]] auto MaterialGroupId() const; + [[nodiscard]] auto MaterialIndices() const; }; template <> struct consume { @@ -1047,8 +1042,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup) BaseMaterialGroup() const; - WINRT_IMPL_AUTO(void) BaseMaterialGroup(winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup const& value) const; + [[nodiscard]] auto BaseMaterialGroup() const; + auto BaseMaterialGroup(winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup const& value) const; }; template <> struct consume { @@ -1057,7 +1052,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroupFactory { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DCompositeMaterialGroup) Create(uint32_t MaterialGroupId) const; + auto Create(uint32_t MaterialGroupId) const; }; template <> struct consume { @@ -1066,12 +1061,12 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions { - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxReductionArea() const; - WINRT_IMPL_AUTO(void) MaxReductionArea(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TargetTriangleCount() const; - WINRT_IMPL_AUTO(void) TargetTriangleCount(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxEdgeLength() const; - WINRT_IMPL_AUTO(void) MaxEdgeLength(double value) const; + [[nodiscard]] auto MaxReductionArea() const; + auto MaxReductionArea(double value) const; + [[nodiscard]] auto TargetTriangleCount() const; + auto TargetTriangleCount(uint32_t value) const; + [[nodiscard]] auto MaxEdgeLength() const; + auto MaxEdgeLength(double value) const; }; template <> struct consume { @@ -1080,11 +1075,11 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DMaterial { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) BaseGroups() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ColorGroups() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Texture2CoordGroups() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) CompositeGroups() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) MultiplePropertyGroups() const; + [[nodiscard]] auto BaseGroups() const; + [[nodiscard]] auto ColorGroups() const; + [[nodiscard]] auto Texture2CoordGroups() const; + [[nodiscard]] auto CompositeGroups() const; + [[nodiscard]] auto MultiplePropertyGroups() const; }; template <> struct consume { @@ -1093,29 +1088,29 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DMesh { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) VertexCount() const; - WINRT_IMPL_AUTO(void) VertexCount(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) IndexCount() const; - WINRT_IMPL_AUTO(void) IndexCount(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription) VertexPositionsDescription() const; - WINRT_IMPL_AUTO(void) VertexPositionsDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription) VertexNormalsDescription() const; - WINRT_IMPL_AUTO(void) VertexNormalsDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription) TriangleIndicesDescription() const; - WINRT_IMPL_AUTO(void) TriangleIndicesDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription) TriangleMaterialIndicesDescription() const; - WINRT_IMPL_AUTO(void) TriangleMaterialIndicesDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) GetVertexPositions() const; - WINRT_IMPL_AUTO(void) CreateVertexPositions(uint32_t value) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) GetVertexNormals() const; - WINRT_IMPL_AUTO(void) CreateVertexNormals(uint32_t value) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) GetTriangleIndices() const; - WINRT_IMPL_AUTO(void) CreateTriangleIndices(uint32_t value) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) GetTriangleMaterialIndices() const; - WINRT_IMPL_AUTO(void) CreateTriangleMaterialIndices(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) BufferDescriptionSet() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) BufferSet() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) VerifyAsync(winrt::Windows::Graphics::Printing3D::Printing3DMeshVerificationMode const& value) const; + [[nodiscard]] auto VertexCount() const; + auto VertexCount(uint32_t value) const; + [[nodiscard]] auto IndexCount() const; + auto IndexCount(uint32_t value) const; + [[nodiscard]] auto VertexPositionsDescription() const; + auto VertexPositionsDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const; + [[nodiscard]] auto VertexNormalsDescription() const; + auto VertexNormalsDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const; + [[nodiscard]] auto TriangleIndicesDescription() const; + auto TriangleIndicesDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const; + [[nodiscard]] auto TriangleMaterialIndicesDescription() const; + auto TriangleMaterialIndicesDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const; + auto GetVertexPositions() const; + auto CreateVertexPositions(uint32_t value) const; + auto GetVertexNormals() const; + auto CreateVertexNormals(uint32_t value) const; + auto GetTriangleIndices() const; + auto CreateTriangleIndices(uint32_t value) const; + auto GetTriangleMaterialIndices() const; + auto CreateTriangleMaterialIndices(uint32_t value) const; + [[nodiscard]] auto BufferDescriptionSet() const; + [[nodiscard]] auto BufferSet() const; + auto VerifyAsync(winrt::Windows::Graphics::Printing3D::Printing3DMeshVerificationMode const& value) const; }; template <> struct consume { @@ -1124,9 +1119,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DMeshVerificationResult { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsValid() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) NonmanifoldTriangles() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ReversedNormalTriangles() const; + [[nodiscard]] auto IsValid() const; + [[nodiscard]] auto NonmanifoldTriangles() const; + [[nodiscard]] auto ReversedNormalTriangles() const; }; template <> struct consume { @@ -1135,21 +1130,21 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DModel { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DModelUnit) Unit() const; - WINRT_IMPL_AUTO(void) Unit(winrt::Windows::Graphics::Printing3D::Printing3DModelUnit const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Textures() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Meshes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Components() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DMaterial) Material() const; - WINRT_IMPL_AUTO(void) Material(winrt::Windows::Graphics::Printing3D::Printing3DMaterial const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DComponent) Build() const; - WINRT_IMPL_AUTO(void) Build(winrt::Windows::Graphics::Printing3D::Printing3DComponent const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Version() const; - WINRT_IMPL_AUTO(void) Version(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) RequiredExtensions() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Metadata() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RepairAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DModel) Clone() const; + [[nodiscard]] auto Unit() const; + auto Unit(winrt::Windows::Graphics::Printing3D::Printing3DModelUnit const& value) const; + [[nodiscard]] auto Textures() const; + [[nodiscard]] auto Meshes() const; + [[nodiscard]] auto Components() const; + [[nodiscard]] auto Material() const; + auto Material(winrt::Windows::Graphics::Printing3D::Printing3DMaterial const& value) const; + [[nodiscard]] auto Build() const; + auto Build(winrt::Windows::Graphics::Printing3D::Printing3DComponent const& value) const; + [[nodiscard]] auto Version() const; + auto Version(param::hstring const& value) const; + [[nodiscard]] auto RequiredExtensions() const; + [[nodiscard]] auto Metadata() const; + auto RepairAsync() const; + auto Clone() const; }; template <> struct consume { @@ -1158,12 +1153,12 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DModel2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryPartialRepairAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryPartialRepairAsync(winrt::Windows::Foundation::TimeSpan const& maxWaitTime) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) TryReduceFacesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) TryReduceFacesAsync(winrt::Windows::Graphics::Printing3D::Printing3DFaceReductionOptions const& printing3DFaceReductionOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) TryReduceFacesAsync(winrt::Windows::Graphics::Printing3D::Printing3DFaceReductionOptions const& printing3DFaceReductionOptions, winrt::Windows::Foundation::TimeSpan const& maxWait) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RepairWithProgressAsync() const; + auto TryPartialRepairAsync() const; + auto TryPartialRepairAsync(winrt::Windows::Foundation::TimeSpan const& maxWaitTime) const; + auto TryReduceFacesAsync() const; + auto TryReduceFacesAsync(winrt::Windows::Graphics::Printing3D::Printing3DFaceReductionOptions const& printing3DFaceReductionOptions) const; + auto TryReduceFacesAsync(winrt::Windows::Graphics::Printing3D::Printing3DFaceReductionOptions const& printing3DFaceReductionOptions, winrt::Windows::Foundation::TimeSpan const& maxWait) const; + auto RepairWithProgressAsync() const; }; template <> struct consume { @@ -1172,12 +1167,12 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource) TextureResource() const; - WINRT_IMPL_AUTO(void) TextureResource(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior) TileStyleU() const; - WINRT_IMPL_AUTO(void) TileStyleU(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior) TileStyleV() const; - WINRT_IMPL_AUTO(void) TileStyleV(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior const& value) const; + [[nodiscard]] auto TextureResource() const; + auto TextureResource(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const; + [[nodiscard]] auto TileStyleU() const; + auto TileStyleU(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior const& value) const; + [[nodiscard]] auto TileStyleV() const; + auto TileStyleV(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior const& value) const; }; template <> struct consume { @@ -1186,7 +1181,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterial { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) MaterialIndices() const; + [[nodiscard]] auto MaterialIndices() const; }; template <> struct consume { @@ -1195,9 +1190,9 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroup { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) MultipleProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) MaterialGroupIndices() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaterialGroupId() const; + [[nodiscard]] auto MultipleProperties() const; + [[nodiscard]] auto MaterialGroupIndices() const; + [[nodiscard]] auto MaterialGroupId() const; }; template <> struct consume { @@ -1206,7 +1201,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroupFactory { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DMultiplePropertyMaterialGroup) Create(uint32_t MaterialGroupId) const; + auto Create(uint32_t MaterialGroupId) const; }; template <> struct consume { @@ -1215,12 +1210,12 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture) Texture() const; - WINRT_IMPL_AUTO(void) Texture(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) U() const; - WINRT_IMPL_AUTO(void) U(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) V() const; - WINRT_IMPL_AUTO(void) V(double value) const; + [[nodiscard]] auto Texture() const; + auto Texture(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture const& value) const; + [[nodiscard]] auto U() const; + auto U(double value) const; + [[nodiscard]] auto V() const; + auto V(double value) const; }; template <> struct consume { @@ -1229,8 +1224,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Texture2Coords() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaterialGroupId() const; + [[nodiscard]] auto Texture2Coords() const; + [[nodiscard]] auto MaterialGroupId() const; }; template <> struct consume { @@ -1239,8 +1234,8 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture) Texture() const; - WINRT_IMPL_AUTO(void) Texture(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture const& value) const; + [[nodiscard]] auto Texture() const; + auto Texture(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture const& value) const; }; template <> struct consume { @@ -1249,7 +1244,7 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroupFactory { - WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTexture2CoordMaterialGroup) Create(uint32_t MaterialGroupId) const; + auto Create(uint32_t MaterialGroupId) const; }; template <> struct consume { @@ -1258,10 +1253,10 @@ namespace winrt::impl template struct consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) TextureData() const; - WINRT_IMPL_AUTO(void) TextureData(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; + [[nodiscard]] auto TextureData() const; + auto TextureData(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.1.h index 8e89dd2c..d071759c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing3D_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.2.h index 0644c9cd..95dd0f2e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Graphics_Printing3D_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.0.h index 65d9d4c5..52972555 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_0_H @@ -11,7 +11,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Management { @@ -118,19 +117,19 @@ namespace winrt::impl template struct consume_Windows_Management_IMdmAlert { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Data() const; - WINRT_IMPL_AUTO(void) Data(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Management::MdmAlertDataType) Format() const; - WINRT_IMPL_AUTO(void) Format(winrt::Windows::Management::MdmAlertDataType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Management::MdmAlertMark) Mark() const; - WINRT_IMPL_AUTO(void) Mark(winrt::Windows::Management::MdmAlertMark const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Source() const; - WINRT_IMPL_AUTO(void) Source(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Target() const; - WINRT_IMPL_AUTO(void) Target(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Type() const; - WINRT_IMPL_AUTO(void) Type(param::hstring const& value) const; + [[nodiscard]] auto Data() const; + auto Data(param::hstring const& value) const; + [[nodiscard]] auto Format() const; + auto Format(winrt::Windows::Management::MdmAlertDataType const& value) const; + [[nodiscard]] auto Mark() const; + auto Mark(winrt::Windows::Management::MdmAlertMark const& value) const; + [[nodiscard]] auto Source() const; + auto Source(param::hstring const& value) const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Target() const; + auto Target(param::hstring const& value) const; + [[nodiscard]] auto Type() const; + auto Type(param::hstring const& value) const; }; template <> struct consume { @@ -139,14 +138,14 @@ namespace winrt::impl template struct consume_Windows_Management_IMdmSession { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Alerts() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Management::MdmSessionState) State() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AttachAsync() const; - WINRT_IMPL_AUTO(void) Delete() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartAsync(param::async_iterable const& alerts) const; + [[nodiscard]] auto Alerts() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto State() const; + auto AttachAsync() const; + auto Delete() const; + auto StartAsync() const; + auto StartAsync(param::async_iterable const& alerts) const; }; template <> struct consume { @@ -155,10 +154,10 @@ namespace winrt::impl template struct consume_Windows_Management_IMdmSessionManagerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SessionIds() const; - WINRT_IMPL_AUTO(winrt::Windows::Management::MdmSession) TryCreateSession() const; - WINRT_IMPL_AUTO(void) DeleteSessionById(param::hstring const& sessionId) const; - WINRT_IMPL_AUTO(winrt::Windows::Management::MdmSession) GetSessionById(param::hstring const& sessionId) const; + [[nodiscard]] auto SessionIds() const; + auto TryCreateSession() const; + auto DeleteSessionById(param::hstring const& sessionId) const; + auto GetSessionById(param::hstring const& sessionId) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.1.h index d7bb357b..87adcb22 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.2.h index afc97038..6457fc2f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.0.h index 9467603f..6429a47c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Core_0_H @@ -48,7 +48,7 @@ namespace winrt::impl template struct consume_Windows_Management_Core_IApplicationDataManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationData) CreateForPackageFamily(param::hstring const& packageFamilyName) const; + auto CreateForPackageFamily(param::hstring const& packageFamilyName) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.1.h index a47d00fe..f1b07368 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.2.h index ce0d91e6..0acb7714 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.0.h index 60400708..f5d12bce 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Deployment_0_H @@ -12,15 +12,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct HResult; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Management::Deployment { @@ -508,36 +504,36 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IAddPackageOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DependencyPackageUris() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) TargetVolume() const; - WINRT_IMPL_AUTO(void) TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) OptionalPackageFamilyNames() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) OptionalPackageUris() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) RelatedPackageUris() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ExternalLocationUri() const; - WINRT_IMPL_AUTO(void) ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::StubPackageOption) StubPackageOption() const; - WINRT_IMPL_AUTO(void) StubPackageOption(winrt::Windows::Management::Deployment::StubPackageOption const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DeveloperMode() const; - WINRT_IMPL_AUTO(void) DeveloperMode(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ForceAppShutdown() const; - WINRT_IMPL_AUTO(void) ForceAppShutdown(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ForceTargetAppShutdown() const; - WINRT_IMPL_AUTO(void) ForceTargetAppShutdown(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ForceUpdateFromAnyVersion() const; - WINRT_IMPL_AUTO(void) ForceUpdateFromAnyVersion(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) InstallAllResources() const; - WINRT_IMPL_AUTO(void) InstallAllResources(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RequiredContentGroupOnly() const; - WINRT_IMPL_AUTO(void) RequiredContentGroupOnly(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RetainFilesOnFailure() const; - WINRT_IMPL_AUTO(void) RetainFilesOnFailure(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) StageInPlace() const; - WINRT_IMPL_AUTO(void) StageInPlace(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowUnsigned() const; - WINRT_IMPL_AUTO(void) AllowUnsigned(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DeferRegistrationWhenPackagesAreInUse() const; - WINRT_IMPL_AUTO(void) DeferRegistrationWhenPackagesAreInUse(bool value) const; + [[nodiscard]] auto DependencyPackageUris() const; + [[nodiscard]] auto TargetVolume() const; + auto TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const; + [[nodiscard]] auto OptionalPackageFamilyNames() const; + [[nodiscard]] auto OptionalPackageUris() const; + [[nodiscard]] auto RelatedPackageUris() const; + [[nodiscard]] auto ExternalLocationUri() const; + auto ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto StubPackageOption() const; + auto StubPackageOption(winrt::Windows::Management::Deployment::StubPackageOption const& value) const; + [[nodiscard]] auto DeveloperMode() const; + auto DeveloperMode(bool value) const; + [[nodiscard]] auto ForceAppShutdown() const; + auto ForceAppShutdown(bool value) const; + [[nodiscard]] auto ForceTargetAppShutdown() const; + auto ForceTargetAppShutdown(bool value) const; + [[nodiscard]] auto ForceUpdateFromAnyVersion() const; + auto ForceUpdateFromAnyVersion(bool value) const; + [[nodiscard]] auto InstallAllResources() const; + auto InstallAllResources(bool value) const; + [[nodiscard]] auto RequiredContentGroupOnly() const; + auto RequiredContentGroupOnly(bool value) const; + [[nodiscard]] auto RetainFilesOnFailure() const; + auto RetainFilesOnFailure(bool value) const; + [[nodiscard]] auto StageInPlace() const; + auto StageInPlace(bool value) const; + [[nodiscard]] auto AllowUnsigned() const; + auto AllowUnsigned(bool value) const; + [[nodiscard]] auto DeferRegistrationWhenPackagesAreInUse() const; + auto DeferRegistrationWhenPackagesAreInUse(bool value) const; }; template <> struct consume { @@ -546,9 +542,9 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IDeploymentResult { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ErrorText() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ActivityId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedErrorCode() const; + [[nodiscard]] auto ErrorText() const; + [[nodiscard]] auto ActivityId() const; + [[nodiscard]] auto ExtendedErrorCode() const; }; template <> struct consume { @@ -557,7 +553,7 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IDeploymentResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRegistered() const; + [[nodiscard]] auto IsRegistered() const; }; template <> struct consume { @@ -566,22 +562,22 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IPackageManager { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) UpdatePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RemovePackageAsync(param::hstring const& packageFullName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindPackages() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindPackagesForUser(param::hstring const& userSecurityId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindUsers(param::hstring const& packageFullName) const; - WINRT_IMPL_AUTO(void) SetPackageState(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageState const& packageState) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) FindPackage(param::hstring const& packageFullName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) CleanupPackageForUserAsync(param::hstring const& packageName, param::hstring const& userSecurityId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindPackages(param::hstring const& packageFamilyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageFamilyName) const; - WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) FindPackageForUser(param::hstring const& userSecurityId, param::hstring const& packageFullName) const; + auto AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; + auto UpdatePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; + auto RemovePackageAsync(param::hstring const& packageFullName) const; + auto StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris) const; + auto RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; + auto FindPackages() const; + auto FindPackagesForUser(param::hstring const& userSecurityId) const; + auto FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const; + auto FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher) const; + auto FindUsers(param::hstring const& packageFullName) const; + auto SetPackageState(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageState const& packageState) const; + auto FindPackage(param::hstring const& packageFullName) const; + auto CleanupPackageForUserAsync(param::hstring const& packageName, param::hstring const& userSecurityId) const; + auto FindPackages(param::hstring const& packageFamilyName) const; + auto FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageFamilyName) const; + auto FindPackageForUser(param::hstring const& userSecurityId, param::hstring const& packageFullName) const; }; template <> struct consume { @@ -590,16 +586,16 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IPackageManager2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RemovePackageAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::RemovalOptions const& removalOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RegisterPackageByFullNameAsync(param::hstring const& mainPackageFullName, param::async_iterable const& dependencyPackageFullNames, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindPackagesWithPackageTypes(param::hstring const& packageName, param::hstring const& packagePublisher, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindPackagesWithPackageTypes(param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) StageUserDataAsync(param::hstring const& packageFullName) const; + auto RemovePackageAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::RemovalOptions const& removalOptions) const; + auto StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; + auto RegisterPackageByFullNameAsync(param::hstring const& mainPackageFullName, param::async_iterable const& dependencyPackageFullNames, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; + auto FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; + auto FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; + auto FindPackagesWithPackageTypes(param::hstring const& packageName, param::hstring const& packagePublisher, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; + auto FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; + auto FindPackagesWithPackageTypes(param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; + auto FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; + auto StageUserDataAsync(param::hstring const& packageFullName) const; }; template <> struct consume { @@ -608,21 +604,21 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IPackageManager3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AddPackageVolumeAsync(param::hstring const& packageStorePath) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; - WINRT_IMPL_AUTO(void) ClearPackageStatus(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageStatus const& status) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& appDataVolume) const; - WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) FindPackageVolume(param::hstring const& volumeName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindPackageVolumes() const; - WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) GetDefaultPackageVolume() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) MovePackageToVolumeAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RemovePackageVolumeAsync(winrt::Windows::Management::Deployment::PackageVolume const& volume) const; - WINRT_IMPL_AUTO(void) SetDefaultPackageVolume(winrt::Windows::Management::Deployment::PackageVolume const& volume) const; - WINRT_IMPL_AUTO(void) SetPackageStatus(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageStatus const& status) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) SetPackageVolumeOfflineAsync(winrt::Windows::Management::Deployment::PackageVolume const& packageVolume) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) SetPackageVolumeOnlineAsync(winrt::Windows::Management::Deployment::PackageVolume const& packageVolume) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) StageUserDataAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; + auto AddPackageVolumeAsync(param::hstring const& packageStorePath) const; + auto AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; + auto ClearPackageStatus(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageStatus const& status) const; + auto RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& appDataVolume) const; + auto FindPackageVolume(param::hstring const& volumeName) const; + auto FindPackageVolumes() const; + auto GetDefaultPackageVolume() const; + auto MovePackageToVolumeAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; + auto RemovePackageVolumeAsync(winrt::Windows::Management::Deployment::PackageVolume const& volume) const; + auto SetDefaultPackageVolume(winrt::Windows::Management::Deployment::PackageVolume const& volume) const; + auto SetPackageStatus(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageStatus const& status) const; + auto SetPackageVolumeOfflineAsync(winrt::Windows::Management::Deployment::PackageVolume const& packageVolume) const; + auto SetPackageVolumeOnlineAsync(winrt::Windows::Management::Deployment::PackageVolume const& packageVolume) const; + auto StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; + auto StageUserDataAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; }; template <> struct consume { @@ -631,7 +627,7 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IPackageManager4 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetPackageVolumesAsync() const; + auto GetPackageVolumesAsync() const; }; template <> struct consume { @@ -640,10 +636,10 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IPackageManager5 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& externalPackageUris) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& externalPackageUris) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RegisterPackageByFamilyNameAsync(param::hstring const& mainPackageFamilyName, param::async_iterable const& dependencyPackageFamilyNames, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& appDataVolume, param::async_iterable const& optionalPackageFamilyNames) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageManagerDebugSettings) DebugSettings() const; + auto AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& externalPackageUris) const; + auto StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& externalPackageUris) const; + auto RegisterPackageByFamilyNameAsync(param::hstring const& mainPackageFamilyName, param::async_iterable const& dependencyPackageFamilyNames, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& appDataVolume, param::async_iterable const& optionalPackageFamilyNames) const; + [[nodiscard]] auto DebugSettings() const; }; template <> struct consume { @@ -652,12 +648,12 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IPackageManager6 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) ProvisionPackageForAllUsersAsync(param::hstring const& packageFamilyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) AddPackageByAppInstallerFileAsync(winrt::Windows::Foundation::Uri const& appInstallerFileUri, winrt::Windows::Management::Deployment::AddPackageByAppInstallerOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RequestAddPackageByAppInstallerFileAsync(winrt::Windows::Foundation::Uri const& appInstallerFileUri, winrt::Windows::Management::Deployment::AddPackageByAppInstallerOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& packageUrisToInstall, param::async_iterable const& relatedPackageUris) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& packageUrisToInstall, param::async_iterable const& relatedPackageUris) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& relatedPackageUris) const; + auto ProvisionPackageForAllUsersAsync(param::hstring const& packageFamilyName) const; + auto AddPackageByAppInstallerFileAsync(winrt::Windows::Foundation::Uri const& appInstallerFileUri, winrt::Windows::Management::Deployment::AddPackageByAppInstallerOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; + auto RequestAddPackageByAppInstallerFileAsync(winrt::Windows::Foundation::Uri const& appInstallerFileUri, winrt::Windows::Management::Deployment::AddPackageByAppInstallerOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const; + auto AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& packageUrisToInstall, param::async_iterable const& relatedPackageUris) const; + auto StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& packageUrisToInstall, param::async_iterable const& relatedPackageUris) const; + auto RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& relatedPackageUris) const; }; template <> struct consume { @@ -666,7 +662,7 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IPackageManager7 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& relatedPackageUris, param::async_iterable const& packageUrisToInstall) const; + auto RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable const& optionalPackageFamilyNames, param::async_iterable const& relatedPackageUris, param::async_iterable const& packageUrisToInstall) const; }; template <> struct consume { @@ -675,7 +671,7 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IPackageManager8 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) DeprovisionPackageForAllUsersAsync(param::hstring const& packageFamilyName) const; + auto DeprovisionPackageForAllUsersAsync(param::hstring const& packageFamilyName) const; }; template <> struct consume { @@ -684,13 +680,13 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IPackageManager9 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FindProvisionedPackages() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) AddPackageByUriAsync(winrt::Windows::Foundation::Uri const& packageUri, winrt::Windows::Management::Deployment::AddPackageOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) StagePackageByUriAsync(winrt::Windows::Foundation::Uri const& packageUri, winrt::Windows::Management::Deployment::StagePackageOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RegisterPackageByUriAsync(winrt::Windows::Foundation::Uri const& manifestUri, winrt::Windows::Management::Deployment::RegisterPackageOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RegisterPackagesByFullNameAsync(param::async_iterable const& packageFullNames, winrt::Windows::Management::Deployment::RegisterPackageOptions const& options) const; - WINRT_IMPL_AUTO(void) SetPackageStubPreference(param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageStubPreference const& useStub) const; - WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageStubPreference) GetPackageStubPreference(param::hstring const& packageFamilyName) const; + auto FindProvisionedPackages() const; + auto AddPackageByUriAsync(winrt::Windows::Foundation::Uri const& packageUri, winrt::Windows::Management::Deployment::AddPackageOptions const& options) const; + auto StagePackageByUriAsync(winrt::Windows::Foundation::Uri const& packageUri, winrt::Windows::Management::Deployment::StagePackageOptions const& options) const; + auto RegisterPackageByUriAsync(winrt::Windows::Foundation::Uri const& manifestUri, winrt::Windows::Management::Deployment::RegisterPackageOptions const& options) const; + auto RegisterPackagesByFullNameAsync(param::async_iterable const& packageFullNames, winrt::Windows::Management::Deployment::RegisterPackageOptions const& options) const; + auto SetPackageStubPreference(param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageStubPreference const& useStub) const; + auto GetPackageStubPreference(param::hstring const& packageFamilyName) const; }; template <> struct consume { @@ -699,8 +695,8 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IPackageManagerDebugSettings { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetContentGroupStateAsync(winrt::Windows::ApplicationModel::Package const& package, param::hstring const& contentGroupName, winrt::Windows::ApplicationModel::PackageContentGroupState const& state) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetContentGroupStateAsync(winrt::Windows::ApplicationModel::Package const& package, param::hstring const& contentGroupName, winrt::Windows::ApplicationModel::PackageContentGroupState const& state, double completionPercentage) const; + auto SetContentGroupStateAsync(winrt::Windows::ApplicationModel::Package const& package, param::hstring const& contentGroupName, winrt::Windows::ApplicationModel::PackageContentGroupState const& state) const; + auto SetContentGroupStateAsync(winrt::Windows::ApplicationModel::Package const& package, param::hstring const& contentGroupName, winrt::Windows::ApplicationModel::PackageContentGroupState const& state, double completionPercentage) const; }; template <> struct consume { @@ -709,8 +705,8 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IPackageUserInformation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserSecurityId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageInstallState) InstallState() const; + [[nodiscard]] auto UserSecurityId() const; + [[nodiscard]] auto InstallState() const; }; template <> struct consume { @@ -719,26 +715,26 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IPackageVolume { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOffline() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSystemVolume() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MountPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PackageStorePath() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SupportsHardLinks() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FindPackages() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FindPackages(param::hstring const& packageFamilyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageName, param::hstring const& packagePublisher) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageFamilyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FindPackage(param::hstring const& packageFullName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FindPackagesForUser(param::hstring const& userSecurityId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageFamilyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageName, param::hstring const& packagePublisher) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageFamilyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FindPackageForUser(param::hstring const& userSecurityId, param::hstring const& packageFullName) const; + [[nodiscard]] auto IsOffline() const; + [[nodiscard]] auto IsSystemVolume() const; + [[nodiscard]] auto MountPoint() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto PackageStorePath() const; + [[nodiscard]] auto SupportsHardLinks() const; + auto FindPackages() const; + auto FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const; + auto FindPackages(param::hstring const& packageFamilyName) const; + auto FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; + auto FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageName, param::hstring const& packagePublisher) const; + auto FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageFamilyName) const; + auto FindPackage(param::hstring const& packageFullName) const; + auto FindPackagesForUser(param::hstring const& userSecurityId) const; + auto FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher) const; + auto FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageFamilyName) const; + auto FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const; + auto FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageName, param::hstring const& packagePublisher) const; + auto FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageFamilyName) const; + auto FindPackageForUser(param::hstring const& userSecurityId, param::hstring const& packageFullName) const; }; template <> struct consume { @@ -747,9 +743,9 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IPackageVolume2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFullTrustPackageSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAppxInstallSupported() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAvailableSpaceAsync() const; + [[nodiscard]] auto IsFullTrustPackageSupported() const; + [[nodiscard]] auto IsAppxInstallSupported() const; + auto GetAvailableSpaceAsync() const; }; template <> struct consume { @@ -758,28 +754,28 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IRegisterPackageOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DependencyPackageUris() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) AppDataVolume() const; - WINRT_IMPL_AUTO(void) AppDataVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) OptionalPackageFamilyNames() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ExternalLocationUri() const; - WINRT_IMPL_AUTO(void) ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DeveloperMode() const; - WINRT_IMPL_AUTO(void) DeveloperMode(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ForceAppShutdown() const; - WINRT_IMPL_AUTO(void) ForceAppShutdown(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ForceTargetAppShutdown() const; - WINRT_IMPL_AUTO(void) ForceTargetAppShutdown(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ForceUpdateFromAnyVersion() const; - WINRT_IMPL_AUTO(void) ForceUpdateFromAnyVersion(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) InstallAllResources() const; - WINRT_IMPL_AUTO(void) InstallAllResources(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) StageInPlace() const; - WINRT_IMPL_AUTO(void) StageInPlace(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowUnsigned() const; - WINRT_IMPL_AUTO(void) AllowUnsigned(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DeferRegistrationWhenPackagesAreInUse() const; - WINRT_IMPL_AUTO(void) DeferRegistrationWhenPackagesAreInUse(bool value) const; + [[nodiscard]] auto DependencyPackageUris() const; + [[nodiscard]] auto AppDataVolume() const; + auto AppDataVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const; + [[nodiscard]] auto OptionalPackageFamilyNames() const; + [[nodiscard]] auto ExternalLocationUri() const; + auto ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto DeveloperMode() const; + auto DeveloperMode(bool value) const; + [[nodiscard]] auto ForceAppShutdown() const; + auto ForceAppShutdown(bool value) const; + [[nodiscard]] auto ForceTargetAppShutdown() const; + auto ForceTargetAppShutdown(bool value) const; + [[nodiscard]] auto ForceUpdateFromAnyVersion() const; + auto ForceUpdateFromAnyVersion(bool value) const; + [[nodiscard]] auto InstallAllResources() const; + auto InstallAllResources(bool value) const; + [[nodiscard]] auto StageInPlace() const; + auto StageInPlace(bool value) const; + [[nodiscard]] auto AllowUnsigned() const; + auto AllowUnsigned(bool value) const; + [[nodiscard]] auto DeferRegistrationWhenPackagesAreInUse() const; + auto DeferRegistrationWhenPackagesAreInUse(bool value) const; }; template <> struct consume { @@ -788,28 +784,28 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_IStagePackageOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DependencyPackageUris() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) TargetVolume() const; - WINRT_IMPL_AUTO(void) TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) OptionalPackageFamilyNames() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) OptionalPackageUris() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) RelatedPackageUris() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ExternalLocationUri() const; - WINRT_IMPL_AUTO(void) ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::StubPackageOption) StubPackageOption() const; - WINRT_IMPL_AUTO(void) StubPackageOption(winrt::Windows::Management::Deployment::StubPackageOption const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DeveloperMode() const; - WINRT_IMPL_AUTO(void) DeveloperMode(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ForceUpdateFromAnyVersion() const; - WINRT_IMPL_AUTO(void) ForceUpdateFromAnyVersion(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) InstallAllResources() const; - WINRT_IMPL_AUTO(void) InstallAllResources(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RequiredContentGroupOnly() const; - WINRT_IMPL_AUTO(void) RequiredContentGroupOnly(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) StageInPlace() const; - WINRT_IMPL_AUTO(void) StageInPlace(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowUnsigned() const; - WINRT_IMPL_AUTO(void) AllowUnsigned(bool value) const; + [[nodiscard]] auto DependencyPackageUris() const; + [[nodiscard]] auto TargetVolume() const; + auto TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const; + [[nodiscard]] auto OptionalPackageFamilyNames() const; + [[nodiscard]] auto OptionalPackageUris() const; + [[nodiscard]] auto RelatedPackageUris() const; + [[nodiscard]] auto ExternalLocationUri() const; + auto ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto StubPackageOption() const; + auto StubPackageOption(winrt::Windows::Management::Deployment::StubPackageOption const& value) const; + [[nodiscard]] auto DeveloperMode() const; + auto DeveloperMode(bool value) const; + [[nodiscard]] auto ForceUpdateFromAnyVersion() const; + auto ForceUpdateFromAnyVersion(bool value) const; + [[nodiscard]] auto InstallAllResources() const; + auto InstallAllResources(bool value) const; + [[nodiscard]] auto RequiredContentGroupOnly() const; + auto RequiredContentGroupOnly(bool value) const; + [[nodiscard]] auto StageInPlace() const; + auto StageInPlace(bool value) const; + [[nodiscard]] auto AllowUnsigned() const; + auto AllowUnsigned(bool value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.1.h index 4c752dfb..b4f78c8f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Deployment_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.2.h index 0e85896e..6ab06449 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Deployment_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.0.h index d500f52b..9db06813 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Deployment_Preview_0_H @@ -41,7 +41,7 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_Preview_IClassicAppManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::Preview::InstalledClassicAppInfo) FindInstalledApp(param::hstring const& appUninstallKey) const; + auto FindInstalledApp(param::hstring const& appUninstallKey) const; }; template <> struct consume { @@ -50,8 +50,8 @@ namespace winrt::impl template struct consume_Windows_Management_Deployment_Preview_IInstalledClassicAppInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayVersion() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto DisplayVersion() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.1.h index e9cfb56b..23a13785 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Deployment_Preview_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.2.h index 17b6864d..373e3edc 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Deployment_Preview_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.0.h index bc1b0f1b..c32d2e23 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Policies_0_H @@ -77,21 +77,21 @@ namespace winrt::impl template struct consume_Windows_Management_Policies_INamedPolicyData { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Area() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Management::Policies::NamedPolicyKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsManaged() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsUserPolicy() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; - WINRT_IMPL_AUTO(bool) GetBoolean() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) GetBinary() const; - WINRT_IMPL_AUTO(int32_t) GetInt32() const; - WINRT_IMPL_AUTO(int64_t) GetInt64() const; - WINRT_IMPL_AUTO(hstring) GetString() const; - WINRT_IMPL_AUTO(winrt::event_token) Changed(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; + [[nodiscard]] auto Area() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto IsManaged() const; + [[nodiscard]] auto IsUserPolicy() const; + [[nodiscard]] auto User() const; + auto GetBoolean() const; + auto GetBinary() const; + auto GetInt32() const; + auto GetInt64() const; + auto GetString() const; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; using Changed_revoker = impl::event_revoker::remove_Changed>; - [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; - WINRT_IMPL_AUTO(void) Changed(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; + auto Changed(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -100,8 +100,8 @@ namespace winrt::impl template struct consume_Windows_Management_Policies_INamedPolicyStatics { - WINRT_IMPL_AUTO(winrt::Windows::Management::Policies::NamedPolicyData) GetPolicyFromPath(param::hstring const& area, param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Management::Policies::NamedPolicyData) GetPolicyFromPathForUser(winrt::Windows::System::User const& user, param::hstring const& area, param::hstring const& name) const; + auto GetPolicyFromPath(param::hstring const& area, param::hstring const& name) const; + auto GetPolicyFromPathForUser(winrt::Windows::System::User const& user, param::hstring const& area, param::hstring const& name) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.1.h index a7bbe0dd..c9e9c82a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Policies_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.2.h index b9cadca1..c3e555c4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Policies_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.0.h index e6d24332..6956a71d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.0.h @@ -1,12 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Update_0_H #define WINRT_Windows_Management_Update_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { struct ValueSet; @@ -64,10 +60,10 @@ namespace winrt::impl template struct consume_Windows_Management_Update_IPreviewBuildsManager { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ArePreviewBuildsAllowed() const; - WINRT_IMPL_AUTO(void) ArePreviewBuildsAllowed(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Management::Update::PreviewBuildsState) GetCurrentState() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SyncAsync() const; + [[nodiscard]] auto ArePreviewBuildsAllowed() const; + auto ArePreviewBuildsAllowed(bool value) const; + auto GetCurrentState() const; + auto SyncAsync() const; }; template <> struct consume { @@ -76,8 +72,8 @@ namespace winrt::impl template struct consume_Windows_Management_Update_IPreviewBuildsManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Management::Update::PreviewBuildsManager) GetDefault() const; - WINRT_IMPL_AUTO(bool) IsSupported() const; + auto GetDefault() const; + auto IsSupported() const; }; template <> struct consume { @@ -86,7 +82,7 @@ namespace winrt::impl template struct consume_Windows_Management_Update_IPreviewBuildsState { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Properties() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.1.h index 088adf68..a847f986 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Update_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.2.h index 477af056..761ef554 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Update_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.0.h index bb72ca10..c33139f2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Workplace_0_H @@ -61,10 +61,10 @@ namespace winrt::impl template struct consume_Windows_Management_Workplace_IMdmAllowPolicyStatics { - WINRT_IMPL_AUTO(bool) IsBrowserAllowed() const; - WINRT_IMPL_AUTO(bool) IsCameraAllowed() const; - WINRT_IMPL_AUTO(bool) IsMicrosoftAccountAllowed() const; - WINRT_IMPL_AUTO(bool) IsStoreAllowed() const; + auto IsBrowserAllowed() const; + auto IsCameraAllowed() const; + auto IsMicrosoftAccountAllowed() const; + auto IsStoreAllowed() const; }; template <> struct consume { @@ -73,7 +73,7 @@ namespace winrt::impl template struct consume_Windows_Management_Workplace_IMdmPolicyStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Management::Workplace::MessagingSyncPolicy) GetMessagingSyncPolicy() const; + auto GetMessagingSyncPolicy() const; }; template <> struct consume { @@ -82,7 +82,7 @@ namespace winrt::impl template struct consume_Windows_Management_Workplace_IWorkplaceSettingsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMicrosoftAccountOptional() const; + [[nodiscard]] auto IsMicrosoftAccountOptional() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.1.h index 0a6444b1..40f8fd8c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Workplace_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.2.h index 05a90041..d9033c23 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Management_Workplace_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.0.h index 3fd248d3..db3e948a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_0_H @@ -13,7 +13,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; struct HResult; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; @@ -21,8 +20,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { struct IPropertySet; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; struct ValueSet; } WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX @@ -792,9 +789,9 @@ namespace winrt::impl template struct consume_Windows_Media_IAudioBuffer { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Capacity() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Length() const; - WINRT_IMPL_AUTO(void) Length(uint32_t value) const; + [[nodiscard]] auto Capacity() const; + [[nodiscard]] auto Length() const; + auto Length(uint32_t value) const; }; template <> struct consume { @@ -803,7 +800,7 @@ namespace winrt::impl template struct consume_Windows_Media_IAudioFrame { - WINRT_IMPL_AUTO(winrt::Windows::Media::AudioBuffer) LockBuffer(winrt::Windows::Media::AudioBufferAccessMode const& mode) const; + auto LockBuffer(winrt::Windows::Media::AudioBufferAccessMode const& mode) const; }; template <> struct consume { @@ -812,7 +809,7 @@ namespace winrt::impl template struct consume_Windows_Media_IAudioFrameFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) Create(uint32_t capacity) const; + auto Create(uint32_t capacity) const; }; template <> struct consume { @@ -821,7 +818,7 @@ namespace winrt::impl template struct consume_Windows_Media_IAutoRepeatModeChangeRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackAutoRepeatMode) RequestedAutoRepeatMode() const; + [[nodiscard]] auto RequestedAutoRepeatMode() const; }; template <> struct consume { @@ -830,10 +827,10 @@ namespace winrt::impl template struct consume_Windows_Media_IImageDisplayProperties { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subtitle() const; - WINRT_IMPL_AUTO(void) Subtitle(param::hstring const& value) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Subtitle() const; + auto Subtitle(param::hstring const& value) const; }; template <> struct consume { @@ -842,63 +839,63 @@ namespace winrt::impl template struct consume_Windows_Media_IMediaControl { - WINRT_IMPL_AUTO(winrt::event_token) SoundLevelChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + auto SoundLevelChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using SoundLevelChanged_revoker = impl::event_revoker::remove_SoundLevelChanged>; - [[nodiscard]] SoundLevelChanged_revoker SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SoundLevelChanged(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PlayPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto SoundLevelChanged(winrt::event_token const& cookie) const noexcept; + auto PlayPressed(winrt::Windows::Foundation::EventHandler const& handler) const; using PlayPressed_revoker = impl::event_revoker::remove_PlayPressed>; - [[nodiscard]] PlayPressed_revoker PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PlayPressed(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PausePressed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto PlayPressed(winrt::event_token const& cookie) const noexcept; + auto PausePressed(winrt::Windows::Foundation::EventHandler const& handler) const; using PausePressed_revoker = impl::event_revoker::remove_PausePressed>; - [[nodiscard]] PausePressed_revoker PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PausePressed(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) StopPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto PausePressed(winrt::event_token const& cookie) const noexcept; + auto StopPressed(winrt::Windows::Foundation::EventHandler const& handler) const; using StopPressed_revoker = impl::event_revoker::remove_StopPressed>; - [[nodiscard]] StopPressed_revoker StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StopPressed(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PlayPauseTogglePressed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto StopPressed(winrt::event_token const& cookie) const noexcept; + auto PlayPauseTogglePressed(winrt::Windows::Foundation::EventHandler const& handler) const; using PlayPauseTogglePressed_revoker = impl::event_revoker::remove_PlayPauseTogglePressed>; - [[nodiscard]] PlayPauseTogglePressed_revoker PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PlayPauseTogglePressed(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RecordPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto PlayPauseTogglePressed(winrt::event_token const& cookie) const noexcept; + auto RecordPressed(winrt::Windows::Foundation::EventHandler const& handler) const; using RecordPressed_revoker = impl::event_revoker::remove_RecordPressed>; - [[nodiscard]] RecordPressed_revoker RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RecordPressed(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NextTrackPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto RecordPressed(winrt::event_token const& cookie) const noexcept; + auto NextTrackPressed(winrt::Windows::Foundation::EventHandler const& handler) const; using NextTrackPressed_revoker = impl::event_revoker::remove_NextTrackPressed>; - [[nodiscard]] NextTrackPressed_revoker NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NextTrackPressed(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PreviousTrackPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto NextTrackPressed(winrt::event_token const& cookie) const noexcept; + auto PreviousTrackPressed(winrt::Windows::Foundation::EventHandler const& handler) const; using PreviousTrackPressed_revoker = impl::event_revoker::remove_PreviousTrackPressed>; - [[nodiscard]] PreviousTrackPressed_revoker PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PreviousTrackPressed(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) FastForwardPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto PreviousTrackPressed(winrt::event_token const& cookie) const noexcept; + auto FastForwardPressed(winrt::Windows::Foundation::EventHandler const& handler) const; using FastForwardPressed_revoker = impl::event_revoker::remove_FastForwardPressed>; - [[nodiscard]] FastForwardPressed_revoker FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FastForwardPressed(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RewindPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto FastForwardPressed(winrt::event_token const& cookie) const noexcept; + auto RewindPressed(winrt::Windows::Foundation::EventHandler const& handler) const; using RewindPressed_revoker = impl::event_revoker::remove_RewindPressed>; - [[nodiscard]] RewindPressed_revoker RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RewindPressed(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ChannelUpPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto RewindPressed(winrt::event_token const& cookie) const noexcept; + auto ChannelUpPressed(winrt::Windows::Foundation::EventHandler const& handler) const; using ChannelUpPressed_revoker = impl::event_revoker::remove_ChannelUpPressed>; - [[nodiscard]] ChannelUpPressed_revoker ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ChannelUpPressed(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ChannelDownPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ChannelUpPressed(winrt::event_token const& cookie) const noexcept; + auto ChannelDownPressed(winrt::Windows::Foundation::EventHandler const& handler) const; using ChannelDownPressed_revoker = impl::event_revoker::remove_ChannelDownPressed>; - [[nodiscard]] ChannelDownPressed_revoker ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ChannelDownPressed(winrt::event_token const& cookie) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SoundLevel) SoundLevel() const; - WINRT_IMPL_AUTO(void) TrackName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TrackName() const; - WINRT_IMPL_AUTO(void) ArtistName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ArtistName() const; - WINRT_IMPL_AUTO(void) IsPlaying(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPlaying() const; - WINRT_IMPL_AUTO(void) AlbumArt(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) AlbumArt() const; + [[nodiscard]] auto ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ChannelDownPressed(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto SoundLevel() const; + auto TrackName(param::hstring const& value) const; + [[nodiscard]] auto TrackName() const; + auto ArtistName(param::hstring const& value) const; + [[nodiscard]] auto ArtistName() const; + auto IsPlaying(bool value) const; + [[nodiscard]] auto IsPlaying() const; + auto AlbumArt(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto AlbumArt() const; }; template <> struct consume { @@ -907,7 +904,7 @@ namespace winrt::impl template struct consume_Windows_Media_IMediaExtension { - WINRT_IMPL_AUTO(void) SetProperties(winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto SetProperties(winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; }; template <> struct consume { @@ -916,18 +913,18 @@ namespace winrt::impl template struct consume_Windows_Media_IMediaExtensionManager { - WINRT_IMPL_AUTO(void) RegisterSchemeHandler(param::hstring const& activatableClassId, param::hstring const& scheme) const; - WINRT_IMPL_AUTO(void) RegisterSchemeHandler(param::hstring const& activatableClassId, param::hstring const& scheme, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; - WINRT_IMPL_AUTO(void) RegisterByteStreamHandler(param::hstring const& activatableClassId, param::hstring const& fileExtension, param::hstring const& mimeType) const; - WINRT_IMPL_AUTO(void) RegisterByteStreamHandler(param::hstring const& activatableClassId, param::hstring const& fileExtension, param::hstring const& mimeType, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; - WINRT_IMPL_AUTO(void) RegisterAudioDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const; - WINRT_IMPL_AUTO(void) RegisterAudioDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; - WINRT_IMPL_AUTO(void) RegisterAudioEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const; - WINRT_IMPL_AUTO(void) RegisterAudioEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; - WINRT_IMPL_AUTO(void) RegisterVideoDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const; - WINRT_IMPL_AUTO(void) RegisterVideoDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; - WINRT_IMPL_AUTO(void) RegisterVideoEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const; - WINRT_IMPL_AUTO(void) RegisterVideoEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto RegisterSchemeHandler(param::hstring const& activatableClassId, param::hstring const& scheme) const; + auto RegisterSchemeHandler(param::hstring const& activatableClassId, param::hstring const& scheme, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto RegisterByteStreamHandler(param::hstring const& activatableClassId, param::hstring const& fileExtension, param::hstring const& mimeType) const; + auto RegisterByteStreamHandler(param::hstring const& activatableClassId, param::hstring const& fileExtension, param::hstring const& mimeType, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto RegisterAudioDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const; + auto RegisterAudioDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto RegisterAudioEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const; + auto RegisterAudioEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto RegisterVideoDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const; + auto RegisterVideoDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto RegisterVideoEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const; + auto RegisterVideoEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; }; template <> struct consume { @@ -936,7 +933,7 @@ namespace winrt::impl template struct consume_Windows_Media_IMediaExtensionManager2 { - WINRT_IMPL_AUTO(void) RegisterMediaExtensionForAppService(winrt::Windows::Media::IMediaExtension const& extension, winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& connection) const; + auto RegisterMediaExtensionForAppService(winrt::Windows::Media::IMediaExtension const& extension, winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& connection) const; }; template <> struct consume { @@ -945,17 +942,17 @@ namespace winrt::impl template struct consume_Windows_Media_IMediaFrame { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Type() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadOnly() const; - WINRT_IMPL_AUTO(void) RelativeTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) RelativeTime() const; - WINRT_IMPL_AUTO(void) SystemRelativeTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SystemRelativeTime() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Duration() const; - WINRT_IMPL_AUTO(void) IsDiscontinuous(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDiscontinuous() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) ExtendedProperties() const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto IsReadOnly() const; + auto RelativeTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto RelativeTime() const; + auto SystemRelativeTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto SystemRelativeTime() const; + auto Duration(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Duration() const; + auto IsDiscontinuous(bool value) const; + [[nodiscard]] auto IsDiscontinuous() const; + [[nodiscard]] auto ExtendedProperties() const; }; template <> struct consume { @@ -964,9 +961,9 @@ namespace winrt::impl template struct consume_Windows_Media_IMediaMarker { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Time() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MediaMarkerType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; + [[nodiscard]] auto Time() const; + [[nodiscard]] auto MediaMarkerType() const; + [[nodiscard]] auto Text() const; }; template <> struct consume { @@ -975,7 +972,7 @@ namespace winrt::impl template struct consume_Windows_Media_IMediaMarkerTypesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Bookmark() const; + [[nodiscard]] auto Bookmark() const; }; template <> struct consume { @@ -984,7 +981,7 @@ namespace winrt::impl template struct consume_Windows_Media_IMediaMarkers { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Markers() const; + [[nodiscard]] auto Markers() const; }; template <> struct consume { @@ -993,7 +990,7 @@ namespace winrt::impl template struct consume_Windows_Media_IMediaProcessingTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Arguments() const; + [[nodiscard]] auto Arguments() const; }; template <> struct consume { @@ -1002,22 +999,22 @@ namespace winrt::impl template struct consume_Windows_Media_IMediaTimelineController { - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Resume() const; - WINRT_IMPL_AUTO(void) Pause() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Position() const; - WINRT_IMPL_AUTO(void) Position(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ClockRate() const; - WINRT_IMPL_AUTO(void) ClockRate(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaTimelineControllerState) State() const; - WINRT_IMPL_AUTO(winrt::event_token) PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& positionChangedEventHandler) const; + auto Start() const; + auto Resume() const; + auto Pause() const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto ClockRate() const; + auto ClockRate(double value) const; + [[nodiscard]] auto State() const; + auto PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& positionChangedEventHandler) const; using PositionChanged_revoker = impl::event_revoker::remove_PositionChanged>; - [[nodiscard]] PositionChanged_revoker PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& positionChangedEventHandler) const; - WINRT_IMPL_AUTO(void) PositionChanged(winrt::event_token const& eventCookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler const& stateChangedEventHandler) const; + [[nodiscard]] auto PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& positionChangedEventHandler) const; + auto PositionChanged(winrt::event_token const& eventCookie) const noexcept; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& stateChangedEventHandler) const; using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; - [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& stateChangedEventHandler) const; - WINRT_IMPL_AUTO(void) StateChanged(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& stateChangedEventHandler) const; + auto StateChanged(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -1026,18 +1023,18 @@ namespace winrt::impl template struct consume_Windows_Media_IMediaTimelineController2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Duration() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLoopingEnabled() const; - WINRT_IMPL_AUTO(void) IsLoopingEnabled(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) Failed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsLoopingEnabled() const; + auto IsLoopingEnabled(bool value) const; + auto Failed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using Failed_revoker = impl::event_revoker::remove_Failed>; - [[nodiscard]] Failed_revoker Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) Failed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Ended(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Failed(winrt::event_token const& token) const noexcept; + auto Ended(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using Ended_revoker = impl::event_revoker::remove_Ended>; - [[nodiscard]] Ended_revoker Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) Ended(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Ended(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1046,7 +1043,7 @@ namespace winrt::impl template struct consume_Windows_Media_IMediaTimelineControllerFailedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1055,12 +1052,12 @@ namespace winrt::impl template struct consume_Windows_Media_IMusicDisplayProperties { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlbumArtist() const; - WINRT_IMPL_AUTO(void) AlbumArtist(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Artist() const; - WINRT_IMPL_AUTO(void) Artist(param::hstring const& value) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto AlbumArtist() const; + auto AlbumArtist(param::hstring const& value) const; + [[nodiscard]] auto Artist() const; + auto Artist(param::hstring const& value) const; }; template <> struct consume { @@ -1069,11 +1066,11 @@ namespace winrt::impl template struct consume_Windows_Media_IMusicDisplayProperties2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlbumTitle() const; - WINRT_IMPL_AUTO(void) AlbumTitle(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TrackNumber() const; - WINRT_IMPL_AUTO(void) TrackNumber(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Genres() const; + [[nodiscard]] auto AlbumTitle() const; + auto AlbumTitle(param::hstring const& value) const; + [[nodiscard]] auto TrackNumber() const; + auto TrackNumber(uint32_t value) const; + [[nodiscard]] auto Genres() const; }; template <> struct consume { @@ -1082,8 +1079,8 @@ namespace winrt::impl template struct consume_Windows_Media_IMusicDisplayProperties3 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) AlbumTrackCount() const; - WINRT_IMPL_AUTO(void) AlbumTrackCount(uint32_t value) const; + [[nodiscard]] auto AlbumTrackCount() const; + auto AlbumTrackCount(uint32_t value) const; }; template <> struct consume { @@ -1092,7 +1089,7 @@ namespace winrt::impl template struct consume_Windows_Media_IPlaybackPositionChangeRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RequestedPlaybackPosition() const; + [[nodiscard]] auto RequestedPlaybackPosition() const; }; template <> struct consume { @@ -1101,7 +1098,7 @@ namespace winrt::impl template struct consume_Windows_Media_IPlaybackRateChangeRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(double) RequestedPlaybackRate() const; + [[nodiscard]] auto RequestedPlaybackRate() const; }; template <> struct consume { @@ -1110,7 +1107,7 @@ namespace winrt::impl template struct consume_Windows_Media_IShuffleEnabledChangeRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) RequestedShuffleEnabled() const; + [[nodiscard]] auto RequestedShuffleEnabled() const; }; template <> struct consume { @@ -1119,40 +1116,40 @@ namespace winrt::impl template struct consume_Windows_Media_ISystemMediaTransportControls { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackStatus) PlaybackStatus() const; - WINRT_IMPL_AUTO(void) PlaybackStatus(winrt::Windows::Media::MediaPlaybackStatus const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControlsDisplayUpdater) DisplayUpdater() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SoundLevel) SoundLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPlayEnabled() const; - WINRT_IMPL_AUTO(void) IsPlayEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStopEnabled() const; - WINRT_IMPL_AUTO(void) IsStopEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPauseEnabled() const; - WINRT_IMPL_AUTO(void) IsPauseEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRecordEnabled() const; - WINRT_IMPL_AUTO(void) IsRecordEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFastForwardEnabled() const; - WINRT_IMPL_AUTO(void) IsFastForwardEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRewindEnabled() const; - WINRT_IMPL_AUTO(void) IsRewindEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPreviousEnabled() const; - WINRT_IMPL_AUTO(void) IsPreviousEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsNextEnabled() const; - WINRT_IMPL_AUTO(void) IsNextEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsChannelUpEnabled() const; - WINRT_IMPL_AUTO(void) IsChannelUpEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsChannelDownEnabled() const; - WINRT_IMPL_AUTO(void) IsChannelDownEnabled(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) ButtonPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PlaybackStatus() const; + auto PlaybackStatus(winrt::Windows::Media::MediaPlaybackStatus const& value) const; + [[nodiscard]] auto DisplayUpdater() const; + [[nodiscard]] auto SoundLevel() const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto IsPlayEnabled() const; + auto IsPlayEnabled(bool value) const; + [[nodiscard]] auto IsStopEnabled() const; + auto IsStopEnabled(bool value) const; + [[nodiscard]] auto IsPauseEnabled() const; + auto IsPauseEnabled(bool value) const; + [[nodiscard]] auto IsRecordEnabled() const; + auto IsRecordEnabled(bool value) const; + [[nodiscard]] auto IsFastForwardEnabled() const; + auto IsFastForwardEnabled(bool value) const; + [[nodiscard]] auto IsRewindEnabled() const; + auto IsRewindEnabled(bool value) const; + [[nodiscard]] auto IsPreviousEnabled() const; + auto IsPreviousEnabled(bool value) const; + [[nodiscard]] auto IsNextEnabled() const; + auto IsNextEnabled(bool value) const; + [[nodiscard]] auto IsChannelUpEnabled() const; + auto IsChannelUpEnabled(bool value) const; + [[nodiscard]] auto IsChannelDownEnabled() const; + auto IsChannelDownEnabled(bool value) const; + auto ButtonPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ButtonPressed_revoker = impl::event_revoker::remove_ButtonPressed>; - [[nodiscard]] ButtonPressed_revoker ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ButtonPressed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PropertyChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ButtonPressed(winrt::event_token const& token) const noexcept; + auto PropertyChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PropertyChanged_revoker = impl::event_revoker::remove_PropertyChanged>; - [[nodiscard]] PropertyChanged_revoker PropertyChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PropertyChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PropertyChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PropertyChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1161,29 +1158,29 @@ namespace winrt::impl template struct consume_Windows_Media_ISystemMediaTransportControls2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackAutoRepeatMode) AutoRepeatMode() const; - WINRT_IMPL_AUTO(void) AutoRepeatMode(winrt::Windows::Media::MediaPlaybackAutoRepeatMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShuffleEnabled() const; - WINRT_IMPL_AUTO(void) ShuffleEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) PlaybackRate() const; - WINRT_IMPL_AUTO(void) PlaybackRate(double value) const; - WINRT_IMPL_AUTO(void) UpdateTimelineProperties(winrt::Windows::Media::SystemMediaTransportControlsTimelineProperties const& timelineProperties) const; - WINRT_IMPL_AUTO(winrt::event_token) PlaybackPositionChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AutoRepeatMode() const; + auto AutoRepeatMode(winrt::Windows::Media::MediaPlaybackAutoRepeatMode const& value) const; + [[nodiscard]] auto ShuffleEnabled() const; + auto ShuffleEnabled(bool value) const; + [[nodiscard]] auto PlaybackRate() const; + auto PlaybackRate(double value) const; + auto UpdateTimelineProperties(winrt::Windows::Media::SystemMediaTransportControlsTimelineProperties const& timelineProperties) const; + auto PlaybackPositionChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PlaybackPositionChangeRequested_revoker = impl::event_revoker::remove_PlaybackPositionChangeRequested>; - [[nodiscard]] PlaybackPositionChangeRequested_revoker PlaybackPositionChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PlaybackPositionChangeRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PlaybackRateChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PlaybackPositionChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlaybackPositionChangeRequested(winrt::event_token const& token) const noexcept; + auto PlaybackRateChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PlaybackRateChangeRequested_revoker = impl::event_revoker::remove_PlaybackRateChangeRequested>; - [[nodiscard]] PlaybackRateChangeRequested_revoker PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PlaybackRateChangeRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ShuffleEnabledChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlaybackRateChangeRequested(winrt::event_token const& token) const noexcept; + auto ShuffleEnabledChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ShuffleEnabledChangeRequested_revoker = impl::event_revoker::remove_ShuffleEnabledChangeRequested>; - [[nodiscard]] ShuffleEnabledChangeRequested_revoker ShuffleEnabledChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ShuffleEnabledChangeRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AutoRepeatModeChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ShuffleEnabledChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ShuffleEnabledChangeRequested(winrt::event_token const& token) const noexcept; + auto AutoRepeatModeChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AutoRepeatModeChangeRequested_revoker = impl::event_revoker::remove_AutoRepeatModeChangeRequested>; - [[nodiscard]] AutoRepeatModeChangeRequested_revoker AutoRepeatModeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AutoRepeatModeChangeRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AutoRepeatModeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AutoRepeatModeChangeRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1192,7 +1189,7 @@ namespace winrt::impl template struct consume_Windows_Media_ISystemMediaTransportControlsButtonPressedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControlsButton) Button() const; + [[nodiscard]] auto Button() const; }; template <> struct consume { @@ -1201,18 +1198,18 @@ namespace winrt::impl template struct consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackType) Type() const; - WINRT_IMPL_AUTO(void) Type(winrt::Windows::Media::MediaPlaybackType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppMediaId() const; - WINRT_IMPL_AUTO(void) AppMediaId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) Thumbnail() const; - WINRT_IMPL_AUTO(void) Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MusicDisplayProperties) MusicProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoDisplayProperties) VideoProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::ImageDisplayProperties) ImageProperties() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CopyFromFileAsync(winrt::Windows::Media::MediaPlaybackType const& type, winrt::Windows::Storage::StorageFile const& source) const; - WINRT_IMPL_AUTO(void) ClearAll() const; - WINRT_IMPL_AUTO(void) Update() const; + [[nodiscard]] auto Type() const; + auto Type(winrt::Windows::Media::MediaPlaybackType const& value) const; + [[nodiscard]] auto AppMediaId() const; + auto AppMediaId(param::hstring const& value) const; + [[nodiscard]] auto Thumbnail() const; + auto Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const; + [[nodiscard]] auto MusicProperties() const; + [[nodiscard]] auto VideoProperties() const; + [[nodiscard]] auto ImageProperties() const; + auto CopyFromFileAsync(winrt::Windows::Media::MediaPlaybackType const& type, winrt::Windows::Storage::StorageFile const& source) const; + auto ClearAll() const; + auto Update() const; }; template <> struct consume { @@ -1221,7 +1218,7 @@ namespace winrt::impl template struct consume_Windows_Media_ISystemMediaTransportControlsPropertyChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControlsProperty) Property() const; + [[nodiscard]] auto Property() const; }; template <> struct consume { @@ -1230,7 +1227,7 @@ namespace winrt::impl template struct consume_Windows_Media_ISystemMediaTransportControlsStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControls) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -1239,16 +1236,16 @@ namespace winrt::impl template struct consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) StartTime() const; - WINRT_IMPL_AUTO(void) StartTime(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) EndTime() const; - WINRT_IMPL_AUTO(void) EndTime(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) MinSeekTime() const; - WINRT_IMPL_AUTO(void) MinSeekTime(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) MaxSeekTime() const; - WINRT_IMPL_AUTO(void) MaxSeekTime(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Position() const; - WINRT_IMPL_AUTO(void) Position(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto StartTime() const; + auto StartTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto EndTime() const; + auto EndTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto MinSeekTime() const; + auto MinSeekTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto MaxSeekTime() const; + auto MaxSeekTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::TimeSpan const& value) const; }; template <> struct consume { @@ -1257,10 +1254,10 @@ namespace winrt::impl template struct consume_Windows_Media_IVideoDisplayProperties { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subtitle() const; - WINRT_IMPL_AUTO(void) Subtitle(param::hstring const& value) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Subtitle() const; + auto Subtitle(param::hstring const& value) const; }; template <> struct consume { @@ -1269,7 +1266,7 @@ namespace winrt::impl template struct consume_Windows_Media_IVideoDisplayProperties2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Genres() const; + [[nodiscard]] auto Genres() const; }; template <> struct consume { @@ -1278,7 +1275,7 @@ namespace winrt::impl template struct consume_Windows_Media_IVideoEffectsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoStabilization() const; + [[nodiscard]] auto VideoStabilization() const; }; template <> struct consume { @@ -1287,9 +1284,9 @@ namespace winrt::impl template struct consume_Windows_Media_IVideoFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) SoftwareBitmap() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CopyToAsync(winrt::Windows::Media::VideoFrame const& frame) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) Direct3DSurface() const; + [[nodiscard]] auto SoftwareBitmap() const; + auto CopyToAsync(winrt::Windows::Media::VideoFrame const& frame) const; + [[nodiscard]] auto Direct3DSurface() const; }; template <> struct consume { @@ -1298,7 +1295,7 @@ namespace winrt::impl template struct consume_Windows_Media_IVideoFrame2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CopyToAsync(winrt::Windows::Media::VideoFrame const& frame, winrt::Windows::Foundation::IReference const& sourceBounds, winrt::Windows::Foundation::IReference const& destinationBounds) const; + auto CopyToAsync(winrt::Windows::Media::VideoFrame const& frame, winrt::Windows::Foundation::IReference const& sourceBounds, winrt::Windows::Foundation::IReference const& destinationBounds) const; }; template <> struct consume { @@ -1307,8 +1304,8 @@ namespace winrt::impl template struct consume_Windows_Media_IVideoFrameFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) Create(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) CreateWithAlpha(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; + auto Create(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const; + auto CreateWithAlpha(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const; }; template <> struct consume { @@ -1317,10 +1314,10 @@ namespace winrt::impl template struct consume_Windows_Media_IVideoFrameStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) CreateAsDirect3D11SurfaceBacked(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, int32_t width, int32_t height) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) CreateAsDirect3D11SurfaceBacked(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) CreateWithSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) CreateWithDirect3D11Surface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface) const; + auto CreateAsDirect3D11SurfaceBacked(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, int32_t width, int32_t height) const; + auto CreateAsDirect3D11SurfaceBacked(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const; + auto CreateWithSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; + auto CreateWithDirect3D11Surface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.1.h index 53e08da5..8ae5709b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.2.h index 6a2b6176..743222ef 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_2_H @@ -49,51 +49,51 @@ WINRT_EXPORT namespace winrt::Windows::Media MediaControl() = delete; static auto SoundLevelChanged(winrt::Windows::Foundation::EventHandler const& handler); using SoundLevelChanged_revoker = impl::factory_event_revoker::remove_SoundLevelChanged>; - [[nodiscard]] static SoundLevelChanged_revoker SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto SoundLevelChanged(winrt::event_token const& cookie); static auto PlayPressed(winrt::Windows::Foundation::EventHandler const& handler); using PlayPressed_revoker = impl::factory_event_revoker::remove_PlayPressed>; - [[nodiscard]] static PlayPressed_revoker PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto PlayPressed(winrt::event_token const& cookie); static auto PausePressed(winrt::Windows::Foundation::EventHandler const& handler); using PausePressed_revoker = impl::factory_event_revoker::remove_PausePressed>; - [[nodiscard]] static PausePressed_revoker PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto PausePressed(winrt::event_token const& cookie); static auto StopPressed(winrt::Windows::Foundation::EventHandler const& handler); using StopPressed_revoker = impl::factory_event_revoker::remove_StopPressed>; - [[nodiscard]] static StopPressed_revoker StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto StopPressed(winrt::event_token const& cookie); static auto PlayPauseTogglePressed(winrt::Windows::Foundation::EventHandler const& handler); using PlayPauseTogglePressed_revoker = impl::factory_event_revoker::remove_PlayPauseTogglePressed>; - [[nodiscard]] static PlayPauseTogglePressed_revoker PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto PlayPauseTogglePressed(winrt::event_token const& cookie); static auto RecordPressed(winrt::Windows::Foundation::EventHandler const& handler); using RecordPressed_revoker = impl::factory_event_revoker::remove_RecordPressed>; - [[nodiscard]] static RecordPressed_revoker RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto RecordPressed(winrt::event_token const& cookie); static auto NextTrackPressed(winrt::Windows::Foundation::EventHandler const& handler); using NextTrackPressed_revoker = impl::factory_event_revoker::remove_NextTrackPressed>; - [[nodiscard]] static NextTrackPressed_revoker NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto NextTrackPressed(winrt::event_token const& cookie); static auto PreviousTrackPressed(winrt::Windows::Foundation::EventHandler const& handler); using PreviousTrackPressed_revoker = impl::factory_event_revoker::remove_PreviousTrackPressed>; - [[nodiscard]] static PreviousTrackPressed_revoker PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto PreviousTrackPressed(winrt::event_token const& cookie); static auto FastForwardPressed(winrt::Windows::Foundation::EventHandler const& handler); using FastForwardPressed_revoker = impl::factory_event_revoker::remove_FastForwardPressed>; - [[nodiscard]] static FastForwardPressed_revoker FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto FastForwardPressed(winrt::event_token const& cookie); static auto RewindPressed(winrt::Windows::Foundation::EventHandler const& handler); using RewindPressed_revoker = impl::factory_event_revoker::remove_RewindPressed>; - [[nodiscard]] static RewindPressed_revoker RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto RewindPressed(winrt::event_token const& cookie); static auto ChannelUpPressed(winrt::Windows::Foundation::EventHandler const& handler); using ChannelUpPressed_revoker = impl::factory_event_revoker::remove_ChannelUpPressed>; - [[nodiscard]] static ChannelUpPressed_revoker ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto ChannelUpPressed(winrt::event_token const& cookie); static auto ChannelDownPressed(winrt::Windows::Foundation::EventHandler const& handler); using ChannelDownPressed_revoker = impl::factory_event_revoker::remove_ChannelDownPressed>; - [[nodiscard]] static ChannelDownPressed_revoker ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto ChannelDownPressed(winrt::event_token const& cookie); [[nodiscard]] static auto SoundLevel(); static auto TrackName(param::hstring const& value); diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.0.h index 7238b551..383a2ed0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_AppBroadcasting_0_H @@ -103,11 +103,11 @@ namespace winrt::impl template struct consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCurrentAppBroadcasting() const; - WINRT_IMPL_AUTO(winrt::event_token) IsCurrentAppBroadcastingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsCurrentAppBroadcasting() const; + auto IsCurrentAppBroadcastingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsCurrentAppBroadcastingChanged_revoker = impl::event_revoker::remove_IsCurrentAppBroadcastingChanged>; - [[nodiscard]] IsCurrentAppBroadcastingChanged_revoker IsCurrentAppBroadcastingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsCurrentAppBroadcastingChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsCurrentAppBroadcastingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsCurrentAppBroadcastingChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -116,8 +116,8 @@ namespace winrt::impl template struct consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatus { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanStartBroadcast() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::AppBroadcasting::AppBroadcastingStatusDetails) Details() const; + [[nodiscard]] auto CanStartBroadcast() const; + [[nodiscard]] auto Details() const; }; template <> struct consume { @@ -126,14 +126,14 @@ namespace winrt::impl template struct consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAnyAppBroadcasting() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCaptureResourceUnavailable() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGameStreamInProgress() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGpuConstrained() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAppInactive() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBlockedForApp() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDisabledByUser() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDisabledBySystem() const; + [[nodiscard]] auto IsAnyAppBroadcasting() const; + [[nodiscard]] auto IsCaptureResourceUnavailable() const; + [[nodiscard]] auto IsGameStreamInProgress() const; + [[nodiscard]] auto IsGpuConstrained() const; + [[nodiscard]] auto IsAppInactive() const; + [[nodiscard]] auto IsBlockedForApp() const; + [[nodiscard]] auto IsDisabledByUser() const; + [[nodiscard]] auto IsDisabledBySystem() const; }; template <> struct consume { @@ -142,8 +142,8 @@ namespace winrt::impl template struct consume_Windows_Media_AppBroadcasting_IAppBroadcastingUI { - WINRT_IMPL_AUTO(winrt::Windows::Media::AppBroadcasting::AppBroadcastingStatus) GetStatus() const; - WINRT_IMPL_AUTO(void) ShowBroadcastUI() const; + auto GetStatus() const; + auto ShowBroadcastUI() const; }; template <> struct consume { @@ -152,8 +152,8 @@ namespace winrt::impl template struct consume_Windows_Media_AppBroadcasting_IAppBroadcastingUIStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::AppBroadcasting::AppBroadcastingUI) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::AppBroadcasting::AppBroadcastingUI) GetForUser(winrt::Windows::System::User const& user) const; + auto GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.1.h index 35308864..38009c1e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_AppBroadcasting_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.2.h index 9661e5be..9510095e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_AppBroadcasting_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.0.h index 72769c03..858db06f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_AppRecording_0_H @@ -6,12 +6,10 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct HResult; - template struct __declspec(empty_bases) IAsyncOperation; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Storage { @@ -155,11 +153,11 @@ namespace winrt::impl template struct consume_Windows_Media_AppRecording_IAppRecordingManager { - WINRT_IMPL_AUTO(winrt::Windows::Media::AppRecording::AppRecordingStatus) GetStatus() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartRecordingToFileAsync(winrt::Windows::Storage::StorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RecordTimeSpanToFileAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration, winrt::Windows::Storage::StorageFile const& file) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedScreenshotMediaEncodingSubtypes() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SaveScreenshotToFilesAsync(winrt::Windows::Storage::StorageFolder const& folder, param::hstring const& filenamePrefix, winrt::Windows::Media::AppRecording::AppRecordingSaveScreenshotOption const& option, param::async_iterable const& requestedFormats) const; + auto GetStatus() const; + auto StartRecordingToFileAsync(winrt::Windows::Storage::StorageFile const& file) const; + auto RecordTimeSpanToFileAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration, winrt::Windows::Storage::StorageFile const& file) const; + [[nodiscard]] auto SupportedScreenshotMediaEncodingSubtypes() const; + auto SaveScreenshotToFilesAsync(winrt::Windows::Storage::StorageFolder const& folder, param::hstring const& filenamePrefix, winrt::Windows::Media::AppRecording::AppRecordingSaveScreenshotOption const& option, param::async_iterable const& requestedFormats) const; }; template <> struct consume { @@ -168,7 +166,7 @@ namespace winrt::impl template struct consume_Windows_Media_AppRecording_IAppRecordingManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::AppRecording::AppRecordingManager) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -177,10 +175,10 @@ namespace winrt::impl template struct consume_Windows_Media_AppRecording_IAppRecordingResult { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Succeeded() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFileTruncated() const; + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto IsFileTruncated() const; }; template <> struct consume { @@ -189,9 +187,9 @@ namespace winrt::impl template struct consume_Windows_Media_AppRecording_IAppRecordingSaveScreenshotResult { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Succeeded() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SavedScreenshotInfos() const; + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto SavedScreenshotInfos() const; }; template <> struct consume { @@ -200,8 +198,8 @@ namespace winrt::impl template struct consume_Windows_Media_AppRecording_IAppRecordingSavedScreenshotInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) File() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MediaEncodingSubtype() const; + [[nodiscard]] auto File() const; + [[nodiscard]] auto MediaEncodingSubtype() const; }; template <> struct consume { @@ -210,10 +208,10 @@ namespace winrt::impl template struct consume_Windows_Media_AppRecording_IAppRecordingStatus { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanRecord() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanRecordTimeSpan() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) HistoricalBufferDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::AppRecording::AppRecordingStatusDetails) Details() const; + [[nodiscard]] auto CanRecord() const; + [[nodiscard]] auto CanRecordTimeSpan() const; + [[nodiscard]] auto HistoricalBufferDuration() const; + [[nodiscard]] auto Details() const; }; template <> struct consume { @@ -222,15 +220,15 @@ namespace winrt::impl template struct consume_Windows_Media_AppRecording_IAppRecordingStatusDetails { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAnyAppBroadcasting() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCaptureResourceUnavailable() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGameStreamInProgress() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTimeSpanRecordingDisabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGpuConstrained() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAppInactive() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBlockedForApp() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDisabledByUser() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDisabledBySystem() const; + [[nodiscard]] auto IsAnyAppBroadcasting() const; + [[nodiscard]] auto IsCaptureResourceUnavailable() const; + [[nodiscard]] auto IsGameStreamInProgress() const; + [[nodiscard]] auto IsTimeSpanRecordingDisabled() const; + [[nodiscard]] auto IsGpuConstrained() const; + [[nodiscard]] auto IsAppInactive() const; + [[nodiscard]] auto IsBlockedForApp() const; + [[nodiscard]] auto IsDisabledByUser() const; + [[nodiscard]] auto IsDisabledBySystem() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.1.h index e83b6517..8244497b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_AppRecording_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.2.h index 53920638..04806ecc 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_AppRecording_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.0.h index bbf15855..19b85d70 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Audio_0_H @@ -12,16 +12,10 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; struct HResult; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct IClosable; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics { } @@ -56,10 +50,6 @@ WINRT_EXPORT namespace winrt::Windows::Media::Render { enum class AudioRenderCategory : int32_t; } -WINRT_EXPORT namespace winrt::Windows::Media::Transcoding -{ - enum class TranscodeFailureReason : int32_t; -} WINRT_EXPORT namespace winrt::Windows::Storage { struct IStorageFile; @@ -1284,7 +1274,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioDeviceInputNode { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) Device() const; + [[nodiscard]] auto Device() const; }; template <> struct consume { @@ -1293,7 +1283,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioDeviceOutputNode { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) Device() const; + [[nodiscard]] auto Device() const; }; template <> struct consume { @@ -1302,22 +1292,22 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioFileInputNode { - WINRT_IMPL_AUTO(void) PlaybackSpeedFactor(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) PlaybackSpeedFactor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Position() const; - WINRT_IMPL_AUTO(void) Seek(winrt::Windows::Foundation::TimeSpan const& position) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) StartTime() const; - WINRT_IMPL_AUTO(void) StartTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) EndTime() const; - WINRT_IMPL_AUTO(void) EndTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) LoopCount() const; - WINRT_IMPL_AUTO(void) LoopCount(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) SourceFile() const; - WINRT_IMPL_AUTO(winrt::event_token) FileCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlaybackSpeedFactor(double value) const; + [[nodiscard]] auto PlaybackSpeedFactor() const; + [[nodiscard]] auto Position() const; + auto Seek(winrt::Windows::Foundation::TimeSpan const& position) const; + [[nodiscard]] auto StartTime() const; + auto StartTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto EndTime() const; + auto EndTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto LoopCount() const; + auto LoopCount(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto SourceFile() const; + auto FileCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FileCompleted_revoker = impl::event_revoker::remove_FileCompleted>; - [[nodiscard]] FileCompleted_revoker FileCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FileCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto FileCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FileCompleted(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1326,9 +1316,9 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioFileOutputNode { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) File() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) FileEncodingProfile() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FinalizeAsync() const; + [[nodiscard]] auto File() const; + [[nodiscard]] auto FileEncodingProfile() const; + auto FinalizeAsync() const; }; template <> struct consume { @@ -1337,7 +1327,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioFrameCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) Frame() const; + [[nodiscard]] auto Frame() const; }; template <> struct consume { @@ -1346,19 +1336,19 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioFrameInputNode { - WINRT_IMPL_AUTO(void) PlaybackSpeedFactor(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) PlaybackSpeedFactor() const; - WINRT_IMPL_AUTO(void) AddFrame(winrt::Windows::Media::AudioFrame const& frame) const; - WINRT_IMPL_AUTO(void) DiscardQueuedFrames() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) QueuedSampleCount() const; - WINRT_IMPL_AUTO(winrt::event_token) AudioFrameCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlaybackSpeedFactor(double value) const; + [[nodiscard]] auto PlaybackSpeedFactor() const; + auto AddFrame(winrt::Windows::Media::AudioFrame const& frame) const; + auto DiscardQueuedFrames() const; + [[nodiscard]] auto QueuedSampleCount() const; + auto AudioFrameCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AudioFrameCompleted_revoker = impl::event_revoker::remove_AudioFrameCompleted>; - [[nodiscard]] AudioFrameCompleted_revoker AudioFrameCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AudioFrameCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) QuantumStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AudioFrameCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AudioFrameCompleted(winrt::event_token const& token) const noexcept; + auto QuantumStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using QuantumStarted_revoker = impl::event_revoker::remove_QuantumStarted>; - [[nodiscard]] QuantumStarted_revoker QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) QuantumStarted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto QuantumStarted(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1367,7 +1357,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioFrameOutputNode { - WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) GetFrame() const; + auto GetFrame() const; }; template <> struct consume { @@ -1376,40 +1366,40 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioGraph { - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFrameInputNode) CreateFrameInputNode() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFrameInputNode) CreateFrameInputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFrameOutputNode) CreateFrameOutputNode() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFrameOutputNode) CreateFrameOutputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateDeviceOutputNodeAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFileInputNodeAsync(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFileOutputNodeAsync(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFileOutputNodeAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& fileEncodingProfile) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioSubmixNode) CreateSubmixNode() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioSubmixNode) CreateSubmixNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(void) ResetAllNodes() const; - WINRT_IMPL_AUTO(winrt::event_token) QuantumStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CreateFrameInputNode() const; + auto CreateFrameInputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; + auto CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category) const; + auto CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; + auto CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const; + auto CreateFrameOutputNode() const; + auto CreateFrameOutputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; + auto CreateDeviceOutputNodeAsync() const; + auto CreateFileInputNodeAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto CreateFileOutputNodeAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto CreateFileOutputNodeAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& fileEncodingProfile) const; + auto CreateSubmixNode() const; + auto CreateSubmixNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; + auto Start() const; + auto Stop() const; + auto ResetAllNodes() const; + auto QuantumStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using QuantumStarted_revoker = impl::event_revoker::remove_QuantumStarted>; - [[nodiscard]] QuantumStarted_revoker QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) QuantumStarted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) QuantumProcessed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto QuantumStarted(winrt::event_token const& token) const noexcept; + auto QuantumProcessed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using QuantumProcessed_revoker = impl::event_revoker::remove_QuantumProcessed>; - [[nodiscard]] QuantumProcessed_revoker QuantumProcessed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) QuantumProcessed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) UnrecoverableErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto QuantumProcessed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto QuantumProcessed(winrt::event_token const& token) const noexcept; + auto UnrecoverableErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UnrecoverableErrorOccurred_revoker = impl::event_revoker::remove_UnrecoverableErrorOccurred>; - [[nodiscard]] UnrecoverableErrorOccurred_revoker UnrecoverableErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UnrecoverableErrorOccurred(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) CompletedQuantumCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) EncodingProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LatencyInSamples() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) PrimaryRenderDevice() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::AudioProcessing) RenderDeviceAudioProcessing() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SamplesPerQuantum() const; + [[nodiscard]] auto UnrecoverableErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UnrecoverableErrorOccurred(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CompletedQuantumCount() const; + [[nodiscard]] auto EncodingProperties() const; + [[nodiscard]] auto LatencyInSamples() const; + [[nodiscard]] auto PrimaryRenderDevice() const; + [[nodiscard]] auto RenderDeviceAudioProcessing() const; + [[nodiscard]] auto SamplesPerQuantum() const; }; template <> struct consume { @@ -1418,11 +1408,11 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioGraph2 { - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFrameInputNode) CreateFrameInputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Devices::Enumeration::DeviceInformation const& device, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFileInputNodeAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioSubmixNode) CreateSubmixNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioGraphBatchUpdater) CreateBatchUpdater() const; + auto CreateFrameInputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const; + auto CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Devices::Enumeration::DeviceInformation const& device, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const; + auto CreateFileInputNodeAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const; + auto CreateSubmixNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const; + auto CreateBatchUpdater() const; }; template <> struct consume { @@ -1431,8 +1421,8 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioGraph3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateMediaSourceAudioInputNodeAsync(winrt::Windows::Media::Core::MediaSource const& mediaSource) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateMediaSourceAudioInputNodeAsync(winrt::Windows::Media::Core::MediaSource const& mediaSource, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const; + auto CreateMediaSourceAudioInputNodeAsync(winrt::Windows::Media::Core::MediaSource const& mediaSource) const; + auto CreateMediaSourceAudioInputNodeAsync(winrt::Windows::Media::Core::MediaSource const& mediaSource, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const; }; template <> struct consume { @@ -1441,9 +1431,9 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioGraphConnection { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::IAudioNode) Destination() const; - WINRT_IMPL_AUTO(void) Gain(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Gain() const; + [[nodiscard]] auto Destination() const; + auto Gain(double value) const; + [[nodiscard]] auto Gain() const; }; template <> struct consume { @@ -1452,18 +1442,18 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioGraphSettings { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) EncodingProperties() const; - WINRT_IMPL_AUTO(void) EncodingProperties(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) PrimaryRenderDevice() const; - WINRT_IMPL_AUTO(void) PrimaryRenderDevice(winrt::Windows::Devices::Enumeration::DeviceInformation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::QuantumSizeSelectionMode) QuantumSizeSelectionMode() const; - WINRT_IMPL_AUTO(void) QuantumSizeSelectionMode(winrt::Windows::Media::Audio::QuantumSizeSelectionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DesiredSamplesPerQuantum() const; - WINRT_IMPL_AUTO(void) DesiredSamplesPerQuantum(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Render::AudioRenderCategory) AudioRenderCategory() const; - WINRT_IMPL_AUTO(void) AudioRenderCategory(winrt::Windows::Media::Render::AudioRenderCategory const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::AudioProcessing) DesiredRenderDeviceAudioProcessing() const; - WINRT_IMPL_AUTO(void) DesiredRenderDeviceAudioProcessing(winrt::Windows::Media::AudioProcessing const& value) const; + [[nodiscard]] auto EncodingProperties() const; + auto EncodingProperties(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& value) const; + [[nodiscard]] auto PrimaryRenderDevice() const; + auto PrimaryRenderDevice(winrt::Windows::Devices::Enumeration::DeviceInformation const& value) const; + [[nodiscard]] auto QuantumSizeSelectionMode() const; + auto QuantumSizeSelectionMode(winrt::Windows::Media::Audio::QuantumSizeSelectionMode const& value) const; + [[nodiscard]] auto DesiredSamplesPerQuantum() const; + auto DesiredSamplesPerQuantum(int32_t value) const; + [[nodiscard]] auto AudioRenderCategory() const; + auto AudioRenderCategory(winrt::Windows::Media::Render::AudioRenderCategory const& value) const; + [[nodiscard]] auto DesiredRenderDeviceAudioProcessing() const; + auto DesiredRenderDeviceAudioProcessing(winrt::Windows::Media::AudioProcessing const& value) const; }; template <> struct consume { @@ -1472,8 +1462,8 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioGraphSettings2 { - WINRT_IMPL_AUTO(void) MaxPlaybackSpeedFactor(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxPlaybackSpeedFactor() const; + auto MaxPlaybackSpeedFactor(double value) const; + [[nodiscard]] auto MaxPlaybackSpeedFactor() const; }; template <> struct consume { @@ -1482,7 +1472,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioGraphSettingsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioGraphSettings) Create(winrt::Windows::Media::Render::AudioRenderCategory const& audioRenderCategory) const; + auto Create(winrt::Windows::Media::Render::AudioRenderCategory const& audioRenderCategory) const; }; template <> struct consume { @@ -1491,7 +1481,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioGraphStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAsync(winrt::Windows::Media::Audio::AudioGraphSettings const& settings) const; + auto CreateAsync(winrt::Windows::Media::Audio::AudioGraphSettings const& settings) const; }; template <> struct consume { @@ -1500,7 +1490,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioGraphUnrecoverableErrorOccurredEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioGraphUnrecoverableError) Error() const; + [[nodiscard]] auto Error() const; }; template <> struct consume { @@ -1509,10 +1499,10 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioInputNode { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) OutgoingConnections() const; - WINRT_IMPL_AUTO(void) AddOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination) const; - WINRT_IMPL_AUTO(void) AddOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination, double gain) const; - WINRT_IMPL_AUTO(void) RemoveOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination) const; + [[nodiscard]] auto OutgoingConnections() const; + auto AddOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination) const; + auto AddOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination, double gain) const; + auto RemoveOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination) const; }; template <> struct consume { @@ -1521,7 +1511,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioInputNode2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitter) Emitter() const; + [[nodiscard]] auto Emitter() const; }; template <> struct consume { @@ -1530,17 +1520,17 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioNode { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) EffectDefinitions() const; - WINRT_IMPL_AUTO(void) OutgoingGain(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OutgoingGain() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) EncodingProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ConsumeInput() const; - WINRT_IMPL_AUTO(void) ConsumeInput(bool value) const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(void) Reset() const; - WINRT_IMPL_AUTO(void) DisableEffectsByDefinition(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const; - WINRT_IMPL_AUTO(void) EnableEffectsByDefinition(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const; + [[nodiscard]] auto EffectDefinitions() const; + auto OutgoingGain(double value) const; + [[nodiscard]] auto OutgoingGain() const; + [[nodiscard]] auto EncodingProperties() const; + [[nodiscard]] auto ConsumeInput() const; + auto ConsumeInput(bool value) const; + auto Start() const; + auto Stop() const; + auto Reset() const; + auto DisableEffectsByDefinition(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const; + auto EnableEffectsByDefinition(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const; }; template <> struct consume { @@ -1549,21 +1539,21 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioNodeEmitter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Position() const; - WINRT_IMPL_AUTO(void) Position(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Direction() const; - WINRT_IMPL_AUTO(void) Direction(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterShape) Shape() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel) DecayModel() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Gain() const; - WINRT_IMPL_AUTO(void) Gain(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DistanceScale() const; - WINRT_IMPL_AUTO(void) DistanceScale(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DopplerScale() const; - WINRT_IMPL_AUTO(void) DopplerScale(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) DopplerVelocity() const; - WINRT_IMPL_AUTO(void) DopplerVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDopplerDisabled() const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Direction() const; + auto Direction(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Shape() const; + [[nodiscard]] auto DecayModel() const; + [[nodiscard]] auto Gain() const; + auto Gain(double value) const; + [[nodiscard]] auto DistanceScale() const; + auto DistanceScale(double value) const; + [[nodiscard]] auto DopplerScale() const; + auto DopplerScale(double value) const; + [[nodiscard]] auto DopplerVelocity() const; + auto DopplerVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto IsDopplerDisabled() const; }; template <> struct consume { @@ -1572,8 +1562,8 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioNodeEmitter2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::SpatialAudioModel) SpatialAudioModel() const; - WINRT_IMPL_AUTO(void) SpatialAudioModel(winrt::Windows::Media::Audio::SpatialAudioModel const& value) const; + [[nodiscard]] auto SpatialAudioModel() const; + auto SpatialAudioModel(winrt::Windows::Media::Audio::SpatialAudioModel const& value) const; }; template <> struct consume { @@ -1582,9 +1572,9 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioNodeEmitterConeProperties { - [[nodiscard]] WINRT_IMPL_AUTO(double) InnerAngle() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OuterAngle() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OuterAngleGain() const; + [[nodiscard]] auto InnerAngle() const; + [[nodiscard]] auto OuterAngle() const; + [[nodiscard]] auto OuterAngleGain() const; }; template <> struct consume { @@ -1593,10 +1583,10 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterDecayKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinGain() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxGain() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterNaturalDecayModelProperties) NaturalProperties() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto MinGain() const; + [[nodiscard]] auto MaxGain() const; + [[nodiscard]] auto NaturalProperties() const; }; template <> struct consume { @@ -1605,8 +1595,8 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioNodeEmitterDecayModelStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel) CreateNatural(double minGain, double maxGain, double unityGainDistance, double cutoffDistance) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel) CreateCustom(double minGain, double maxGain) const; + auto CreateNatural(double minGain, double maxGain, double unityGainDistance, double cutoffDistance) const; + auto CreateCustom(double minGain, double maxGain) const; }; template <> struct consume { @@ -1615,7 +1605,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioNodeEmitterFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitter) CreateAudioNodeEmitter(winrt::Windows::Media::Audio::AudioNodeEmitterShape const& shape, winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel const& decayModel, winrt::Windows::Media::Audio::AudioNodeEmitterSettings const& settings) const; + auto CreateAudioNodeEmitter(winrt::Windows::Media::Audio::AudioNodeEmitterShape const& shape, winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel const& decayModel, winrt::Windows::Media::Audio::AudioNodeEmitterSettings const& settings) const; }; template <> struct consume { @@ -1624,8 +1614,8 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioNodeEmitterNaturalDecayModelProperties { - [[nodiscard]] WINRT_IMPL_AUTO(double) UnityGainDistance() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CutoffDistance() const; + [[nodiscard]] auto UnityGainDistance() const; + [[nodiscard]] auto CutoffDistance() const; }; template <> struct consume { @@ -1634,8 +1624,8 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioNodeEmitterShape { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterShapeKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterConeProperties) ConeProperties() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto ConeProperties() const; }; template <> struct consume { @@ -1644,8 +1634,8 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioNodeEmitterShapeStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterShape) CreateCone(double innerAngle, double outerAngle, double outerAngleGain) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterShape) CreateOmnidirectional() const; + auto CreateCone(double innerAngle, double outerAngle, double outerAngleGain) const; + auto CreateOmnidirectional() const; }; template <> struct consume { @@ -1654,14 +1644,14 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioNodeListener { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Position() const; - WINRT_IMPL_AUTO(void) Position(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) Orientation() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SpeedOfSound() const; - WINRT_IMPL_AUTO(void) SpeedOfSound(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) DopplerVelocity() const; - WINRT_IMPL_AUTO(void) DopplerVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Orientation() const; + auto Orientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const; + [[nodiscard]] auto SpeedOfSound() const; + auto SpeedOfSound(double value) const; + [[nodiscard]] auto DopplerVelocity() const; + auto DopplerVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const; }; template <> struct consume { @@ -1670,8 +1660,8 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioNodeWithListener { - WINRT_IMPL_AUTO(void) Listener(winrt::Windows::Media::Audio::AudioNodeListener const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeListener) Listener() const; + auto Listener(winrt::Windows::Media::Audio::AudioNodeListener const& value) const; + [[nodiscard]] auto Listener() const; }; template <> struct consume { @@ -1680,16 +1670,16 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioPlaybackConnection { - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioPlaybackConnectionState) State() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioPlaybackConnectionOpenResult) Open() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Start() const; + auto StartAsync() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto State() const; + auto Open() const; + auto OpenAsync() const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; - [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1698,8 +1688,8 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioPlaybackConnectionOpenResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioPlaybackConnectionOpenResultStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1708,8 +1698,8 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioPlaybackConnectionStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioPlaybackConnection) TryCreateFromId(param::hstring const& id) const; + auto GetDeviceSelector() const; + auto TryCreateFromId(param::hstring const& id) const; }; template <> struct consume { @@ -1718,11 +1708,11 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioStateMonitor { - WINRT_IMPL_AUTO(winrt::event_token) SoundLevelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SoundLevelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SoundLevelChanged_revoker = impl::event_revoker::remove_SoundLevelChanged>; - [[nodiscard]] SoundLevelChanged_revoker SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SoundLevelChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SoundLevel) SoundLevel() const; + [[nodiscard]] auto SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SoundLevelChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SoundLevel() const; }; template <> struct consume { @@ -1731,14 +1721,14 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IAudioStateMonitorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) CreateForRenderMonitoring() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) CreateForRenderMonitoring(winrt::Windows::Media::Render::AudioRenderCategory const& category) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) CreateForRenderMonitoring(winrt::Windows::Media::Render::AudioRenderCategory const& category, winrt::Windows::Media::Devices::AudioDeviceRole const& role) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) CreateForRenderMonitoringWithCategoryAndDeviceId(winrt::Windows::Media::Render::AudioRenderCategory const& category, param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) CreateForCaptureMonitoring() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) CreateForCaptureMonitoring(winrt::Windows::Media::Capture::MediaCategory const& category) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) CreateForCaptureMonitoring(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::Devices::AudioDeviceRole const& role) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) CreateForCaptureMonitoringWithCategoryAndDeviceId(winrt::Windows::Media::Capture::MediaCategory const& category, param::hstring const& deviceId) const; + auto CreateForRenderMonitoring() const; + auto CreateForRenderMonitoring(winrt::Windows::Media::Render::AudioRenderCategory const& category) const; + auto CreateForRenderMonitoring(winrt::Windows::Media::Render::AudioRenderCategory const& category, winrt::Windows::Media::Devices::AudioDeviceRole const& role) const; + auto CreateForRenderMonitoringWithCategoryAndDeviceId(winrt::Windows::Media::Render::AudioRenderCategory const& category, param::hstring const& deviceId) const; + auto CreateForCaptureMonitoring() const; + auto CreateForCaptureMonitoring(winrt::Windows::Media::Capture::MediaCategory const& category) const; + auto CreateForCaptureMonitoring(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::Devices::AudioDeviceRole const& role) const; + auto CreateForCaptureMonitoringWithCategoryAndDeviceId(winrt::Windows::Media::Capture::MediaCategory const& category, param::hstring const& deviceId) const; }; template <> struct consume { @@ -1747,8 +1737,8 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioDeviceNodeCreationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioDeviceInputNode) DeviceInputNode() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto DeviceInputNode() const; }; template <> struct consume { @@ -1757,7 +1747,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1766,8 +1756,8 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioDeviceNodeCreationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioDeviceOutputNode) DeviceOutputNode() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto DeviceOutputNode() const; }; template <> struct consume { @@ -1776,7 +1766,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1785,8 +1775,8 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFileNodeCreationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFileInputNode) FileInputNode() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto FileInputNode() const; }; template <> struct consume { @@ -1795,7 +1785,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1804,8 +1794,8 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFileNodeCreationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFileOutputNode) FileOutputNode() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto FileOutputNode() const; }; template <> struct consume { @@ -1814,7 +1804,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1823,8 +1813,8 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ICreateAudioGraphResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioGraphCreationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioGraph) Graph() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Graph() const; }; template <> struct consume { @@ -1833,7 +1823,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ICreateAudioGraphResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1842,8 +1832,8 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::MediaSourceAudioInputNodeCreationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::MediaSourceAudioInputNode) Node() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Node() const; }; template <> struct consume { @@ -1852,7 +1842,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1861,12 +1851,12 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IEchoEffectDefinition { - WINRT_IMPL_AUTO(void) WetDryMix(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) WetDryMix() const; - WINRT_IMPL_AUTO(void) Feedback(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Feedback() const; - WINRT_IMPL_AUTO(void) Delay(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Delay() const; + auto WetDryMix(double value) const; + [[nodiscard]] auto WetDryMix() const; + auto Feedback(double value) const; + [[nodiscard]] auto Feedback() const; + auto Delay(double value) const; + [[nodiscard]] auto Delay() const; }; template <> struct consume { @@ -1875,7 +1865,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IEchoEffectDefinitionFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::EchoEffectDefinition) Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const; + auto Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const; }; template <> struct consume { @@ -1884,12 +1874,12 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IEqualizerBand { - [[nodiscard]] WINRT_IMPL_AUTO(double) Bandwidth() const; - WINRT_IMPL_AUTO(void) Bandwidth(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FrequencyCenter() const; - WINRT_IMPL_AUTO(void) FrequencyCenter(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Gain() const; - WINRT_IMPL_AUTO(void) Gain(double value) const; + [[nodiscard]] auto Bandwidth() const; + auto Bandwidth(double value) const; + [[nodiscard]] auto FrequencyCenter() const; + auto FrequencyCenter(double value) const; + [[nodiscard]] auto Gain() const; + auto Gain(double value) const; }; template <> struct consume { @@ -1898,7 +1888,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IEqualizerEffectDefinition { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Bands() const; + [[nodiscard]] auto Bands() const; }; template <> struct consume { @@ -1907,7 +1897,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IEqualizerEffectDefinitionFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::EqualizerEffectDefinition) Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const; + auto Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const; }; template <> struct consume { @@ -1916,7 +1906,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IFrameInputNodeQuantumStartedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RequiredSamples() const; + [[nodiscard]] auto RequiredSamples() const; }; template <> struct consume { @@ -1925,10 +1915,10 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ILimiterEffectDefinition { - WINRT_IMPL_AUTO(void) Release(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Release() const; - WINRT_IMPL_AUTO(void) Loudness(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Loudness() const; + auto Release(uint32_t value) const; + [[nodiscard]] auto Release() const; + auto Loudness(uint32_t value) const; + [[nodiscard]] auto Loudness() const; }; template <> struct consume { @@ -1937,7 +1927,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ILimiterEffectDefinitionFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::LimiterEffectDefinition) Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const; + auto Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const; }; template <> struct consume { @@ -1946,22 +1936,22 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IMediaSourceAudioInputNode { - WINRT_IMPL_AUTO(void) PlaybackSpeedFactor(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) PlaybackSpeedFactor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Position() const; - WINRT_IMPL_AUTO(void) Seek(winrt::Windows::Foundation::TimeSpan const& position) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) StartTime() const; - WINRT_IMPL_AUTO(void) StartTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) EndTime() const; - WINRT_IMPL_AUTO(void) EndTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) LoopCount() const; - WINRT_IMPL_AUTO(void) LoopCount(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) MediaSource() const; - WINRT_IMPL_AUTO(winrt::event_token) MediaSourceCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlaybackSpeedFactor(double value) const; + [[nodiscard]] auto PlaybackSpeedFactor() const; + [[nodiscard]] auto Position() const; + auto Seek(winrt::Windows::Foundation::TimeSpan const& position) const; + [[nodiscard]] auto StartTime() const; + auto StartTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto EndTime() const; + auto EndTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto LoopCount() const; + auto LoopCount(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto MediaSource() const; + auto MediaSourceCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MediaSourceCompleted_revoker = impl::event_revoker::remove_MediaSourceCompleted>; - [[nodiscard]] MediaSourceCompleted_revoker MediaSourceCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MediaSourceCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto MediaSourceCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MediaSourceCompleted(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1970,52 +1960,52 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IReverbEffectDefinition { - WINRT_IMPL_AUTO(void) WetDryMix(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) WetDryMix() const; - WINRT_IMPL_AUTO(void) ReflectionsDelay(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReflectionsDelay() const; - WINRT_IMPL_AUTO(void) ReverbDelay(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) ReverbDelay() const; - WINRT_IMPL_AUTO(void) RearDelay(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) RearDelay() const; - WINRT_IMPL_AUTO(void) PositionLeft(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) PositionLeft() const; - WINRT_IMPL_AUTO(void) PositionRight(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) PositionRight() const; - WINRT_IMPL_AUTO(void) PositionMatrixLeft(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) PositionMatrixLeft() const; - WINRT_IMPL_AUTO(void) PositionMatrixRight(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) PositionMatrixRight() const; - WINRT_IMPL_AUTO(void) EarlyDiffusion(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) EarlyDiffusion() const; - WINRT_IMPL_AUTO(void) LateDiffusion(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) LateDiffusion() const; - WINRT_IMPL_AUTO(void) LowEQGain(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) LowEQGain() const; - WINRT_IMPL_AUTO(void) LowEQCutoff(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) LowEQCutoff() const; - WINRT_IMPL_AUTO(void) HighEQGain(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) HighEQGain() const; - WINRT_IMPL_AUTO(void) HighEQCutoff(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) HighEQCutoff() const; - WINRT_IMPL_AUTO(void) RoomFilterFreq(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RoomFilterFreq() const; - WINRT_IMPL_AUTO(void) RoomFilterMain(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RoomFilterMain() const; - WINRT_IMPL_AUTO(void) RoomFilterHF(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RoomFilterHF() const; - WINRT_IMPL_AUTO(void) ReflectionsGain(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ReflectionsGain() const; - WINRT_IMPL_AUTO(void) ReverbGain(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ReverbGain() const; - WINRT_IMPL_AUTO(void) DecayTime(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DecayTime() const; - WINRT_IMPL_AUTO(void) Density(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Density() const; - WINRT_IMPL_AUTO(void) RoomSize(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RoomSize() const; - WINRT_IMPL_AUTO(void) DisableLateField(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DisableLateField() const; + auto WetDryMix(double value) const; + [[nodiscard]] auto WetDryMix() const; + auto ReflectionsDelay(uint32_t value) const; + [[nodiscard]] auto ReflectionsDelay() const; + auto ReverbDelay(uint8_t value) const; + [[nodiscard]] auto ReverbDelay() const; + auto RearDelay(uint8_t value) const; + [[nodiscard]] auto RearDelay() const; + auto PositionLeft(uint8_t value) const; + [[nodiscard]] auto PositionLeft() const; + auto PositionRight(uint8_t value) const; + [[nodiscard]] auto PositionRight() const; + auto PositionMatrixLeft(uint8_t value) const; + [[nodiscard]] auto PositionMatrixLeft() const; + auto PositionMatrixRight(uint8_t value) const; + [[nodiscard]] auto PositionMatrixRight() const; + auto EarlyDiffusion(uint8_t value) const; + [[nodiscard]] auto EarlyDiffusion() const; + auto LateDiffusion(uint8_t value) const; + [[nodiscard]] auto LateDiffusion() const; + auto LowEQGain(uint8_t value) const; + [[nodiscard]] auto LowEQGain() const; + auto LowEQCutoff(uint8_t value) const; + [[nodiscard]] auto LowEQCutoff() const; + auto HighEQGain(uint8_t value) const; + [[nodiscard]] auto HighEQGain() const; + auto HighEQCutoff(uint8_t value) const; + [[nodiscard]] auto HighEQCutoff() const; + auto RoomFilterFreq(double value) const; + [[nodiscard]] auto RoomFilterFreq() const; + auto RoomFilterMain(double value) const; + [[nodiscard]] auto RoomFilterMain() const; + auto RoomFilterHF(double value) const; + [[nodiscard]] auto RoomFilterHF() const; + auto ReflectionsGain(double value) const; + [[nodiscard]] auto ReflectionsGain() const; + auto ReverbGain(double value) const; + [[nodiscard]] auto ReverbGain() const; + auto DecayTime(double value) const; + [[nodiscard]] auto DecayTime() const; + auto Density(double value) const; + [[nodiscard]] auto Density() const; + auto RoomSize(double value) const; + [[nodiscard]] auto RoomSize() const; + auto DisableLateField(bool value) const; + [[nodiscard]] auto DisableLateField() const; }; template <> struct consume { @@ -2024,7 +2014,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_IReverbEffectDefinitionFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::ReverbEffectDefinition) Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const; + auto Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const; }; template <> struct consume { @@ -2033,7 +2023,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ISetDefaultSpatialAudioFormatResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::SetDefaultSpatialAudioFormatStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -2042,16 +2032,16 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSpatialAudioSupported() const; - WINRT_IMPL_AUTO(bool) IsSpatialAudioFormatSupported(param::hstring const& subtype) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ActiveSpatialAudioFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DefaultSpatialAudioFormat() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetDefaultSpatialAudioFormatAsync(param::hstring const& subtype) const; - WINRT_IMPL_AUTO(winrt::event_token) ConfigurationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto IsSpatialAudioSupported() const; + auto IsSpatialAudioFormatSupported(param::hstring const& subtype) const; + [[nodiscard]] auto ActiveSpatialAudioFormat() const; + [[nodiscard]] auto DefaultSpatialAudioFormat() const; + auto SetDefaultSpatialAudioFormatAsync(param::hstring const& subtype) const; + auto ConfigurationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ConfigurationChanged_revoker = impl::event_revoker::remove_ConfigurationChanged>; - [[nodiscard]] ConfigurationChanged_revoker ConfigurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ConfigurationChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ConfigurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConfigurationChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2060,7 +2050,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ISpatialAudioDeviceConfigurationStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::SpatialAudioDeviceConfiguration) GetForDeviceId(param::hstring const& deviceId) const; + auto GetForDeviceId(param::hstring const& deviceId) const; }; template <> struct consume { @@ -2069,10 +2059,10 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportLicenseChangedAsync(param::hstring const& subtype) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportConfigurationChangedAsync(param::hstring const& subtype) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::MixedRealitySpatialAudioFormatPolicy) MixedRealityExclusiveModePolicy() const; - WINRT_IMPL_AUTO(void) MixedRealityExclusiveModePolicy(winrt::Windows::Media::Audio::MixedRealitySpatialAudioFormatPolicy const& value) const; + auto ReportLicenseChangedAsync(param::hstring const& subtype) const; + auto ReportConfigurationChangedAsync(param::hstring const& subtype) const; + [[nodiscard]] auto MixedRealityExclusiveModePolicy() const; + auto MixedRealityExclusiveModePolicy(winrt::Windows::Media::Audio::MixedRealitySpatialAudioFormatPolicy const& value) const; }; template <> struct consume { @@ -2081,7 +2071,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ISpatialAudioFormatConfigurationStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::SpatialAudioFormatConfiguration) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -2090,12 +2080,12 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WindowsSonic() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DolbyAtmosForHeadphones() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DolbyAtmosForHomeTheater() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DolbyAtmosForSpeakers() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DTSHeadphoneX() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DTSXUltra() const; + [[nodiscard]] auto WindowsSonic() const; + [[nodiscard]] auto DolbyAtmosForHeadphones() const; + [[nodiscard]] auto DolbyAtmosForHomeTheater() const; + [[nodiscard]] auto DolbyAtmosForSpeakers() const; + [[nodiscard]] auto DTSHeadphoneX() const; + [[nodiscard]] auto DTSXUltra() const; }; template <> struct consume { @@ -2104,7 +2094,7 @@ namespace winrt::impl template struct consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DTSXForHomeTheater() const; + [[nodiscard]] auto DTSXForHomeTheater() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.1.h index 384d6c98..79bc5d2f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Audio_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.2.h index 312d86b2..d49ce8e9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Audio_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.0.h index edd3d907..43e63345 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Capture_0_H @@ -11,9 +11,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; - struct Rect; struct Size; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; @@ -21,9 +18,7 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; struct IPropertySet; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 { @@ -43,17 +38,10 @@ WINRT_EXPORT namespace winrt::Windows::Media struct IMediaExtension; struct VideoFrame; } -WINRT_EXPORT namespace winrt::Windows::Media::Capture::Core -{ - struct VariablePhotoSequenceCapture; -} WINRT_EXPORT namespace winrt::Windows::Media::Capture::Frames { - struct MediaFrameReader; struct MediaFrameSource; struct MediaFrameSourceGroup; - struct MediaFrameSourceInfo; - struct MultiSourceMediaFrameReader; } WINRT_EXPORT namespace winrt::Windows::Media::Core { @@ -64,7 +52,6 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices enum class AdvancedPhotoMode : int32_t; struct AudioDeviceController; enum class CameraStreamState : int32_t; - enum class CaptureSceneMode : int32_t; enum class MediaCaptureFocusState : int32_t; enum class MediaCapturePauseBehavior : int32_t; struct VideoDeviceController; @@ -2556,9 +2543,9 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAdvancedCapturedPhoto { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) Frame() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AdvancedPhotoMode) Mode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Context() const; + [[nodiscard]] auto Frame() const; + [[nodiscard]] auto Mode() const; + [[nodiscard]] auto Context() const; }; template <> struct consume { @@ -2567,7 +2554,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAdvancedCapturedPhoto2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) FrameBoundsRelativeToReferencePhoto() const; + [[nodiscard]] auto FrameBoundsRelativeToReferencePhoto() const; }; template <> struct consume { @@ -2576,17 +2563,17 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAdvancedPhotoCapture { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CaptureAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CaptureAsync(winrt::Windows::Foundation::IInspectable const& context) const; - WINRT_IMPL_AUTO(winrt::event_token) OptionalReferencePhotoCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CaptureAsync() const; + auto CaptureAsync(winrt::Windows::Foundation::IInspectable const& context) const; + auto OptionalReferencePhotoCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using OptionalReferencePhotoCaptured_revoker = impl::event_revoker::remove_OptionalReferencePhotoCaptured>; - [[nodiscard]] OptionalReferencePhotoCaptured_revoker OptionalReferencePhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) OptionalReferencePhotoCaptured(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AllPhotosCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto OptionalReferencePhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OptionalReferencePhotoCaptured(winrt::event_token const& token) const noexcept; + auto AllPhotosCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AllPhotosCaptured_revoker = impl::event_revoker::remove_AllPhotosCaptured>; - [[nodiscard]] AllPhotosCaptured_revoker AllPhotosCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AllPhotosCaptured(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) FinishAsync() const; + [[nodiscard]] auto AllPhotosCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AllPhotosCaptured(winrt::event_token const& token) const noexcept; + auto FinishAsync() const; }; template <> struct consume { @@ -2595,22 +2582,22 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastBackgroundService { - WINRT_IMPL_AUTO(void) PlugInState(winrt::Windows::Media::Capture::AppBroadcastPlugInState const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugInState) PlugInState() const; - WINRT_IMPL_AUTO(void) SignInInfo(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo) SignInInfo() const; - WINRT_IMPL_AUTO(void) StreamInfo(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo) StreamInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BroadcastTitle() const; - WINRT_IMPL_AUTO(void) ViewerCount(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ViewerCount() const; - WINRT_IMPL_AUTO(void) TerminateBroadcast(winrt::Windows::Media::Capture::AppBroadcastTerminationReason const& reason, uint32_t providerSpecificReason) const; - WINRT_IMPL_AUTO(winrt::event_token) HeartbeatRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlugInState(winrt::Windows::Media::Capture::AppBroadcastPlugInState const& value) const; + [[nodiscard]] auto PlugInState() const; + auto SignInInfo(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo const& value) const; + [[nodiscard]] auto SignInInfo() const; + auto StreamInfo(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo const& value) const; + [[nodiscard]] auto StreamInfo() const; + [[nodiscard]] auto AppId() const; + [[nodiscard]] auto BroadcastTitle() const; + auto ViewerCount(uint32_t value) const; + [[nodiscard]] auto ViewerCount() const; + auto TerminateBroadcast(winrt::Windows::Media::Capture::AppBroadcastTerminationReason const& reason, uint32_t providerSpecificReason) const; + auto HeartbeatRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using HeartbeatRequested_revoker = impl::event_revoker::remove_HeartbeatRequested>; - [[nodiscard]] HeartbeatRequested_revoker HeartbeatRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) HeartbeatRequested(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TitleId() const; + [[nodiscard]] auto HeartbeatRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto HeartbeatRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TitleId() const; }; template <> struct consume { @@ -2619,23 +2606,23 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastBackgroundService2 { - WINRT_IMPL_AUTO(void) BroadcastTitle(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BroadcastLanguage() const; - WINRT_IMPL_AUTO(void) BroadcastLanguage(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BroadcastChannel() const; - WINRT_IMPL_AUTO(void) BroadcastChannel(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) BroadcastTitleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BroadcastTitle(param::hstring const& value) const; + [[nodiscard]] auto BroadcastLanguage() const; + auto BroadcastLanguage(param::hstring const& value) const; + [[nodiscard]] auto BroadcastChannel() const; + auto BroadcastChannel(param::hstring const& value) const; + auto BroadcastTitleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using BroadcastTitleChanged_revoker = impl::event_revoker::remove_BroadcastTitleChanged>; - [[nodiscard]] BroadcastTitleChanged_revoker BroadcastTitleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BroadcastTitleChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BroadcastLanguageChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto BroadcastTitleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BroadcastTitleChanged(winrt::event_token const& token) const noexcept; + auto BroadcastLanguageChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using BroadcastLanguageChanged_revoker = impl::event_revoker::remove_BroadcastLanguageChanged>; - [[nodiscard]] BroadcastLanguageChanged_revoker BroadcastLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BroadcastLanguageChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BroadcastChannelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto BroadcastLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BroadcastLanguageChanged(winrt::event_token const& token) const noexcept; + auto BroadcastChannelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using BroadcastChannelChanged_revoker = impl::event_revoker::remove_BroadcastChannelChanged>; - [[nodiscard]] BroadcastChannelChanged_revoker BroadcastChannelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BroadcastChannelChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto BroadcastChannelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BroadcastChannelChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2644,18 +2631,18 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastSignInState) SignInState() const; - WINRT_IMPL_AUTO(void) OAuthRequestUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) OAuthRequestUri() const; - WINRT_IMPL_AUTO(void) OAuthCallbackUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) OAuthCallbackUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::WebAuthenticationResult) AuthenticationResult() const; - WINRT_IMPL_AUTO(void) UserName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserName() const; - WINRT_IMPL_AUTO(winrt::event_token) SignInStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SignInState() const; + auto OAuthRequestUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto OAuthRequestUri() const; + auto OAuthCallbackUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto OAuthCallbackUri() const; + [[nodiscard]] auto AuthenticationResult() const; + auto UserName(param::hstring const& value) const; + [[nodiscard]] auto UserName() const; + auto SignInStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SignInStateChanged_revoker = impl::event_revoker::remove_SignInStateChanged>; - [[nodiscard]] SignInStateChanged_revoker SignInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SignInStateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SignInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SignInStateChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2664,10 +2651,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2 { - WINRT_IMPL_AUTO(winrt::event_token) UserNameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UserNameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UserNameChanged_revoker = impl::event_revoker::remove_UserNameChanged>; - [[nodiscard]] UserNameChanged_revoker UserNameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UserNameChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto UserNameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UserNameChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2676,26 +2663,26 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamState) StreamState() const; - WINRT_IMPL_AUTO(void) DesiredVideoEncodingBitrate(uint64_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) DesiredVideoEncodingBitrate() const; - WINRT_IMPL_AUTO(void) BandwidthTestBitrate(uint64_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) BandwidthTestBitrate() const; - WINRT_IMPL_AUTO(void) AudioCodec(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioCodec() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamReader) BroadcastStreamReader() const; - WINRT_IMPL_AUTO(winrt::event_token) StreamStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto StreamState() const; + auto DesiredVideoEncodingBitrate(uint64_t value) const; + [[nodiscard]] auto DesiredVideoEncodingBitrate() const; + auto BandwidthTestBitrate(uint64_t value) const; + [[nodiscard]] auto BandwidthTestBitrate() const; + auto AudioCodec(param::hstring const& value) const; + [[nodiscard]] auto AudioCodec() const; + [[nodiscard]] auto BroadcastStreamReader() const; + auto StreamStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StreamStateChanged_revoker = impl::event_revoker::remove_StreamStateChanged>; - [[nodiscard]] StreamStateChanged_revoker StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StreamStateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) VideoEncodingResolutionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StreamStateChanged(winrt::event_token const& token) const noexcept; + auto VideoEncodingResolutionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using VideoEncodingResolutionChanged_revoker = impl::event_revoker::remove_VideoEncodingResolutionChanged>; - [[nodiscard]] VideoEncodingResolutionChanged_revoker VideoEncodingResolutionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VideoEncodingResolutionChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) VideoEncodingBitrateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto VideoEncodingResolutionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VideoEncodingResolutionChanged(winrt::event_token const& token) const noexcept; + auto VideoEncodingBitrateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using VideoEncodingBitrateChanged_revoker = impl::event_revoker::remove_VideoEncodingBitrateChanged>; - [[nodiscard]] VideoEncodingBitrateChanged_revoker VideoEncodingBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VideoEncodingBitrateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto VideoEncodingBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VideoEncodingBitrateChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2704,7 +2691,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo2 { - WINRT_IMPL_AUTO(void) ReportProblemWithStream() const; + auto ReportProblemWithStream() const; }; template <> struct consume { @@ -2713,8 +2700,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastCameraCaptureStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastCameraCaptureState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ErrorCode() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto ErrorCode() const; }; template <> struct consume { @@ -2723,30 +2710,30 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastGlobalSettings { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBroadcastEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDisabledByPolicy() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGpuConstrained() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasHardwareEncoder() const; - WINRT_IMPL_AUTO(void) IsAudioCaptureEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAudioCaptureEnabled() const; - WINRT_IMPL_AUTO(void) IsMicrophoneCaptureEnabledByDefault(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMicrophoneCaptureEnabledByDefault() const; - WINRT_IMPL_AUTO(void) IsEchoCancellationEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEchoCancellationEnabled() const; - WINRT_IMPL_AUTO(void) SystemAudioGain(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SystemAudioGain() const; - WINRT_IMPL_AUTO(void) MicrophoneGain(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MicrophoneGain() const; - WINRT_IMPL_AUTO(void) IsCameraCaptureEnabledByDefault(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCameraCaptureEnabledByDefault() const; - WINRT_IMPL_AUTO(void) SelectedCameraId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SelectedCameraId() const; - WINRT_IMPL_AUTO(void) CameraOverlayLocation(winrt::Windows::Media::Capture::AppBroadcastCameraOverlayLocation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastCameraOverlayLocation) CameraOverlayLocation() const; - WINRT_IMPL_AUTO(void) CameraOverlaySize(winrt::Windows::Media::Capture::AppBroadcastCameraOverlaySize const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastCameraOverlaySize) CameraOverlaySize() const; - WINRT_IMPL_AUTO(void) IsCursorImageCaptureEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCursorImageCaptureEnabled() const; + [[nodiscard]] auto IsBroadcastEnabled() const; + [[nodiscard]] auto IsDisabledByPolicy() const; + [[nodiscard]] auto IsGpuConstrained() const; + [[nodiscard]] auto HasHardwareEncoder() const; + auto IsAudioCaptureEnabled(bool value) const; + [[nodiscard]] auto IsAudioCaptureEnabled() const; + auto IsMicrophoneCaptureEnabledByDefault(bool value) const; + [[nodiscard]] auto IsMicrophoneCaptureEnabledByDefault() const; + auto IsEchoCancellationEnabled(bool value) const; + [[nodiscard]] auto IsEchoCancellationEnabled() const; + auto SystemAudioGain(double value) const; + [[nodiscard]] auto SystemAudioGain() const; + auto MicrophoneGain(double value) const; + [[nodiscard]] auto MicrophoneGain() const; + auto IsCameraCaptureEnabledByDefault(bool value) const; + [[nodiscard]] auto IsCameraCaptureEnabledByDefault() const; + auto SelectedCameraId(param::hstring const& value) const; + [[nodiscard]] auto SelectedCameraId() const; + auto CameraOverlayLocation(winrt::Windows::Media::Capture::AppBroadcastCameraOverlayLocation const& value) const; + [[nodiscard]] auto CameraOverlayLocation() const; + auto CameraOverlaySize(winrt::Windows::Media::Capture::AppBroadcastCameraOverlaySize const& value) const; + [[nodiscard]] auto CameraOverlaySize() const; + auto IsCursorImageCaptureEnabled(bool value) const; + [[nodiscard]] auto IsCursorImageCaptureEnabled() const; }; template <> struct consume { @@ -2755,8 +2742,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastHeartbeatRequestedEventArgs { - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto Handled() const; }; template <> struct consume { @@ -2765,10 +2752,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastGlobalSettings) GetGlobalSettings() const; - WINRT_IMPL_AUTO(void) ApplyGlobalSettings(winrt::Windows::Media::Capture::AppBroadcastGlobalSettings const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastProviderSettings) GetProviderSettings() const; - WINRT_IMPL_AUTO(void) ApplyProviderSettings(winrt::Windows::Media::Capture::AppBroadcastProviderSettings const& value) const; + auto GetGlobalSettings() const; + auto ApplyGlobalSettings(winrt::Windows::Media::Capture::AppBroadcastGlobalSettings const& value) const; + auto GetProviderSettings() const; + auto ApplyProviderSettings(winrt::Windows::Media::Capture::AppBroadcastProviderSettings const& value) const; }; template <> struct consume { @@ -2777,8 +2764,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastMicrophoneCaptureStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ErrorCode() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto ErrorCode() const; }; template <> struct consume { @@ -2787,10 +2774,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastPlugIn { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastProviderSettings) ProviderSettings() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Logo() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; + [[nodiscard]] auto AppId() const; + [[nodiscard]] auto ProviderSettings() const; + [[nodiscard]] auto Logo() const; + [[nodiscard]] auto DisplayName() const; }; template <> struct consume { @@ -2799,10 +2786,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastPlugInManager { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBroadcastProviderAvailable() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PlugInList() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugIn) DefaultPlugIn() const; - WINRT_IMPL_AUTO(void) DefaultPlugIn(winrt::Windows::Media::Capture::AppBroadcastPlugIn const& value) const; + [[nodiscard]] auto IsBroadcastProviderAvailable() const; + [[nodiscard]] auto PlugInList() const; + [[nodiscard]] auto DefaultPlugIn() const; + auto DefaultPlugIn(winrt::Windows::Media::Capture::AppBroadcastPlugIn const& value) const; }; template <> struct consume { @@ -2811,8 +2798,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastPlugInManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugInManager) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugInManager) GetForUser(winrt::Windows::System::User const& user) const; + auto GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -2821,7 +2808,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastPlugInStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugInState) PlugInState() const; + [[nodiscard]] auto PlugInState() const; }; template <> struct consume { @@ -2830,14 +2817,14 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastPreview { - WINRT_IMPL_AUTO(void) StopPreview() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreviewState) PreviewState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ErrorCode() const; - WINRT_IMPL_AUTO(winrt::event_token) PreviewStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto StopPreview() const; + [[nodiscard]] auto PreviewState() const; + [[nodiscard]] auto ErrorCode() const; + auto PreviewStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using PreviewStateChanged_revoker = impl::event_revoker::remove_PreviewStateChanged>; - [[nodiscard]] PreviewStateChanged_revoker PreviewStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) PreviewStateChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreviewStreamReader) PreviewStreamReader() const; + [[nodiscard]] auto PreviewStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto PreviewStateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PreviewStreamReader() const; }; template <> struct consume { @@ -2846,8 +2833,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastPreviewStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreviewState) PreviewState() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ErrorCode() const; + [[nodiscard]] auto PreviewState() const; + [[nodiscard]] auto ErrorCode() const; }; template <> struct consume { @@ -2856,16 +2843,16 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) VideoWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) VideoHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) VideoStride() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) VideoBitmapPixelFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) VideoBitmapAlphaMode() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreviewStreamVideoFrame) TryGetNextVideoFrame() const; - WINRT_IMPL_AUTO(winrt::event_token) VideoFrameArrived(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto VideoWidth() const; + [[nodiscard]] auto VideoHeight() const; + [[nodiscard]] auto VideoStride() const; + [[nodiscard]] auto VideoBitmapPixelFormat() const; + [[nodiscard]] auto VideoBitmapAlphaMode() const; + auto TryGetNextVideoFrame() const; + auto VideoFrameArrived(winrt::Windows::Foundation::TypedEventHandler const& value) const; using VideoFrameArrived_revoker = impl::event_revoker::remove_VideoFrameArrived>; - [[nodiscard]] VideoFrameArrived_revoker VideoFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) VideoFrameArrived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto VideoFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto VideoFrameArrived(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2874,8 +2861,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreviewStreamVideoHeader) VideoHeader() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) VideoBuffer() const; + [[nodiscard]] auto VideoHeader() const; + [[nodiscard]] auto VideoBuffer() const; }; template <> struct consume { @@ -2884,10 +2871,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) AbsoluteTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RelativeTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) FrameId() const; + [[nodiscard]] auto AbsoluteTimestamp() const; + [[nodiscard]] auto RelativeTimestamp() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto FrameId() const; }; template <> struct consume { @@ -2896,20 +2883,20 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastProviderSettings { - WINRT_IMPL_AUTO(void) DefaultBroadcastTitle(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DefaultBroadcastTitle() const; - WINRT_IMPL_AUTO(void) AudioEncodingBitrate(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) AudioEncodingBitrate() const; - WINRT_IMPL_AUTO(void) CustomVideoEncodingBitrate(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CustomVideoEncodingBitrate() const; - WINRT_IMPL_AUTO(void) CustomVideoEncodingHeight(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CustomVideoEncodingHeight() const; - WINRT_IMPL_AUTO(void) CustomVideoEncodingWidth(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CustomVideoEncodingWidth() const; - WINRT_IMPL_AUTO(void) VideoEncodingBitrateMode(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingBitrateMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingBitrateMode) VideoEncodingBitrateMode() const; - WINRT_IMPL_AUTO(void) VideoEncodingResolutionMode(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingResolutionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingResolutionMode) VideoEncodingResolutionMode() const; + auto DefaultBroadcastTitle(param::hstring const& value) const; + [[nodiscard]] auto DefaultBroadcastTitle() const; + auto AudioEncodingBitrate(uint32_t value) const; + [[nodiscard]] auto AudioEncodingBitrate() const; + auto CustomVideoEncodingBitrate(uint32_t value) const; + [[nodiscard]] auto CustomVideoEncodingBitrate() const; + auto CustomVideoEncodingHeight(uint32_t value) const; + [[nodiscard]] auto CustomVideoEncodingHeight() const; + auto CustomVideoEncodingWidth(uint32_t value) const; + [[nodiscard]] auto CustomVideoEncodingWidth() const; + auto VideoEncodingBitrateMode(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingBitrateMode const& value) const; + [[nodiscard]] auto VideoEncodingBitrateMode() const; + auto VideoEncodingResolutionMode(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingResolutionMode const& value) const; + [[nodiscard]] auto VideoEncodingResolutionMode() const; }; template <> struct consume { @@ -2918,21 +2905,21 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastServices { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastCaptureTargetType) CaptureTargetType() const; - WINRT_IMPL_AUTO(void) CaptureTargetType(winrt::Windows::Media::Capture::AppBroadcastCaptureTargetType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BroadcastTitle() const; - WINRT_IMPL_AUTO(void) BroadcastTitle(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BroadcastLanguage() const; - WINRT_IMPL_AUTO(void) BroadcastLanguage(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserName() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanCapture() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) EnterBroadcastModeAsync(winrt::Windows::Media::Capture::AppBroadcastPlugIn const& plugIn) const; - WINRT_IMPL_AUTO(void) ExitBroadcastMode(winrt::Windows::Media::Capture::AppBroadcastExitBroadcastModeReason const& reason) const; - WINRT_IMPL_AUTO(void) StartBroadcast() const; - WINRT_IMPL_AUTO(void) PauseBroadcast() const; - WINRT_IMPL_AUTO(void) ResumeBroadcast() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreview) StartPreview(winrt::Windows::Foundation::Size const& desiredSize) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastState) State() const; + [[nodiscard]] auto CaptureTargetType() const; + auto CaptureTargetType(winrt::Windows::Media::Capture::AppBroadcastCaptureTargetType const& value) const; + [[nodiscard]] auto BroadcastTitle() const; + auto BroadcastTitle(param::hstring const& value) const; + [[nodiscard]] auto BroadcastLanguage() const; + auto BroadcastLanguage(param::hstring const& value) const; + [[nodiscard]] auto UserName() const; + [[nodiscard]] auto CanCapture() const; + auto EnterBroadcastModeAsync(winrt::Windows::Media::Capture::AppBroadcastPlugIn const& plugIn) const; + auto ExitBroadcastMode(winrt::Windows::Media::Capture::AppBroadcastExitBroadcastModeReason const& reason) const; + auto StartBroadcast() const; + auto PauseBroadcast() const; + auto ResumeBroadcast() const; + auto StartPreview(winrt::Windows::Foundation::Size const& desiredSize) const; + [[nodiscard]] auto State() const; }; template <> struct consume { @@ -2941,8 +2928,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastSignInStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastSignInState) SignInState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastSignInResult) Result() const; + [[nodiscard]] auto SignInState() const; + [[nodiscard]] auto Result() const; }; template <> struct consume { @@ -2951,53 +2938,53 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastState { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCaptureTargetRunning() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ViewerCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldCaptureMicrophone() const; - WINRT_IMPL_AUTO(void) ShouldCaptureMicrophone(bool value) const; - WINRT_IMPL_AUTO(void) RestartMicrophoneCapture() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldCaptureCamera() const; - WINRT_IMPL_AUTO(void) ShouldCaptureCamera(bool value) const; - WINRT_IMPL_AUTO(void) RestartCameraCapture() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) EncodedVideoSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureState) MicrophoneCaptureState() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MicrophoneCaptureError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastCameraCaptureState) CameraCaptureState() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CameraCaptureError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamState) StreamState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugInState) PlugInState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) OAuthRequestUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) OAuthCallbackUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::WebAuthenticationResult) AuthenticationResult() const; - WINRT_IMPL_AUTO(void) AuthenticationResult(winrt::Windows::Security::Authentication::Web::WebAuthenticationResult const& value) const; - WINRT_IMPL_AUTO(void) SignInState(winrt::Windows::Media::Capture::AppBroadcastSignInState const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastSignInState) SignInState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastTerminationReason) TerminationReason() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TerminationReasonPlugInSpecific() const; - WINRT_IMPL_AUTO(winrt::event_token) ViewerCountChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto IsCaptureTargetRunning() const; + [[nodiscard]] auto ViewerCount() const; + [[nodiscard]] auto ShouldCaptureMicrophone() const; + auto ShouldCaptureMicrophone(bool value) const; + auto RestartMicrophoneCapture() const; + [[nodiscard]] auto ShouldCaptureCamera() const; + auto ShouldCaptureCamera(bool value) const; + auto RestartCameraCapture() const; + [[nodiscard]] auto EncodedVideoSize() const; + [[nodiscard]] auto MicrophoneCaptureState() const; + [[nodiscard]] auto MicrophoneCaptureError() const; + [[nodiscard]] auto CameraCaptureState() const; + [[nodiscard]] auto CameraCaptureError() const; + [[nodiscard]] auto StreamState() const; + [[nodiscard]] auto PlugInState() const; + [[nodiscard]] auto OAuthRequestUri() const; + [[nodiscard]] auto OAuthCallbackUri() const; + [[nodiscard]] auto AuthenticationResult() const; + auto AuthenticationResult(winrt::Windows::Security::Authentication::Web::WebAuthenticationResult const& value) const; + auto SignInState(winrt::Windows::Media::Capture::AppBroadcastSignInState const& value) const; + [[nodiscard]] auto SignInState() const; + [[nodiscard]] auto TerminationReason() const; + [[nodiscard]] auto TerminationReasonPlugInSpecific() const; + auto ViewerCountChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using ViewerCountChanged_revoker = impl::event_revoker::remove_ViewerCountChanged>; - [[nodiscard]] ViewerCountChanged_revoker ViewerCountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) ViewerCountChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MicrophoneCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto ViewerCountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto ViewerCountChanged(winrt::event_token const& token) const noexcept; + auto MicrophoneCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using MicrophoneCaptureStateChanged_revoker = impl::event_revoker::remove_MicrophoneCaptureStateChanged>; - [[nodiscard]] MicrophoneCaptureStateChanged_revoker MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) MicrophoneCaptureStateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CameraCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto MicrophoneCaptureStateChanged(winrt::event_token const& token) const noexcept; + auto CameraCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using CameraCaptureStateChanged_revoker = impl::event_revoker::remove_CameraCaptureStateChanged>; - [[nodiscard]] CameraCaptureStateChanged_revoker CameraCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) CameraCaptureStateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PlugInStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CameraCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto CameraCaptureStateChanged(winrt::event_token const& token) const noexcept; + auto PlugInStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PlugInStateChanged_revoker = impl::event_revoker::remove_PlugInStateChanged>; - [[nodiscard]] PlugInStateChanged_revoker PlugInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PlugInStateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) StreamStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PlugInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlugInStateChanged(winrt::event_token const& token) const noexcept; + auto StreamStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StreamStateChanged_revoker = impl::event_revoker::remove_StreamStateChanged>; - [[nodiscard]] StreamStateChanged_revoker StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StreamStateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CaptureTargetClosed(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StreamStateChanged(winrt::event_token const& token) const noexcept; + auto CaptureTargetClosed(winrt::Windows::Foundation::TypedEventHandler const& value) const; using CaptureTargetClosed_revoker = impl::event_revoker::remove_CaptureTargetClosed>; - [[nodiscard]] CaptureTargetClosed_revoker CaptureTargetClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) CaptureTargetClosed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CaptureTargetClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto CaptureTargetClosed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3006,8 +2993,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastStreamAudioFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamAudioHeader) AudioHeader() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) AudioBuffer() const; + [[nodiscard]] auto AudioHeader() const; + [[nodiscard]] auto AudioBuffer() const; }; template <> struct consume { @@ -3016,11 +3003,11 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) AbsoluteTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RelativeTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasDiscontinuity() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) FrameId() const; + [[nodiscard]] auto AbsoluteTimestamp() const; + [[nodiscard]] auto RelativeTimestamp() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto HasDiscontinuity() const; + [[nodiscard]] auto FrameId() const; }; template <> struct consume { @@ -3029,23 +3016,23 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastStreamReader { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) AudioChannels() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) AudioSampleRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) AudioAacSequence() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) AudioBitrate() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamAudioFrame) TryGetNextAudioFrame() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) VideoWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) VideoHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) VideoBitrate() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamVideoFrame) TryGetNextVideoFrame() const; - WINRT_IMPL_AUTO(winrt::event_token) AudioFrameArrived(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto AudioChannels() const; + [[nodiscard]] auto AudioSampleRate() const; + [[nodiscard]] auto AudioAacSequence() const; + [[nodiscard]] auto AudioBitrate() const; + auto TryGetNextAudioFrame() const; + [[nodiscard]] auto VideoWidth() const; + [[nodiscard]] auto VideoHeight() const; + [[nodiscard]] auto VideoBitrate() const; + auto TryGetNextVideoFrame() const; + auto AudioFrameArrived(winrt::Windows::Foundation::TypedEventHandler const& value) const; using AudioFrameArrived_revoker = impl::event_revoker::remove_AudioFrameArrived>; - [[nodiscard]] AudioFrameArrived_revoker AudioFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) AudioFrameArrived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) VideoFrameArrived(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto AudioFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto AudioFrameArrived(winrt::event_token const& token) const noexcept; + auto VideoFrameArrived(winrt::Windows::Foundation::TypedEventHandler const& value) const; using VideoFrameArrived_revoker = impl::event_revoker::remove_VideoFrameArrived>; - [[nodiscard]] VideoFrameArrived_revoker VideoFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) VideoFrameArrived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto VideoFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto VideoFrameArrived(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3054,7 +3041,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastStreamStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamState) StreamState() const; + [[nodiscard]] auto StreamState() const; }; template <> struct consume { @@ -3063,8 +3050,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastStreamVideoFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamVideoHeader) VideoHeader() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) VideoBuffer() const; + [[nodiscard]] auto VideoHeader() const; + [[nodiscard]] auto VideoBuffer() const; }; template <> struct consume { @@ -3073,12 +3060,12 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) AbsoluteTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RelativeTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsKeyFrame() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasDiscontinuity() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) FrameId() const; + [[nodiscard]] auto AbsoluteTimestamp() const; + [[nodiscard]] auto RelativeTimestamp() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto IsKeyFrame() const; + [[nodiscard]] auto HasDiscontinuity() const; + [[nodiscard]] auto FrameId() const; }; template <> struct consume { @@ -3087,7 +3074,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastBackgroundService) BackgroundService() const; + [[nodiscard]] auto BackgroundService() const; }; template <> struct consume { @@ -3096,7 +3083,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppBroadcastViewerCountChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ViewerCount() const; + [[nodiscard]] auto ViewerCount() const; }; template <> struct consume { @@ -3105,12 +3092,12 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCapture { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCapturingAudio() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCapturingVideo() const; - WINRT_IMPL_AUTO(winrt::event_token) CapturingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsCapturingAudio() const; + [[nodiscard]] auto IsCapturingVideo() const; + auto CapturingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CapturingChanged_revoker = impl::event_revoker::remove_CapturingChanged>; - [[nodiscard]] CapturingChanged_revoker CapturingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CapturingChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CapturingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CapturingChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3119,26 +3106,26 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys { - WINRT_IMPL_AUTO(void) ToggleGameBarKey(winrt::Windows::System::VirtualKey const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) ToggleGameBarKey() const; - WINRT_IMPL_AUTO(void) ToggleGameBarKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) ToggleGameBarKeyModifiers() const; - WINRT_IMPL_AUTO(void) SaveHistoricalVideoKey(winrt::Windows::System::VirtualKey const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) SaveHistoricalVideoKey() const; - WINRT_IMPL_AUTO(void) SaveHistoricalVideoKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) SaveHistoricalVideoKeyModifiers() const; - WINRT_IMPL_AUTO(void) ToggleRecordingKey(winrt::Windows::System::VirtualKey const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) ToggleRecordingKey() const; - WINRT_IMPL_AUTO(void) ToggleRecordingKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) ToggleRecordingKeyModifiers() const; - WINRT_IMPL_AUTO(void) TakeScreenshotKey(winrt::Windows::System::VirtualKey const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) TakeScreenshotKey() const; - WINRT_IMPL_AUTO(void) TakeScreenshotKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) TakeScreenshotKeyModifiers() const; - WINRT_IMPL_AUTO(void) ToggleRecordingIndicatorKey(winrt::Windows::System::VirtualKey const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) ToggleRecordingIndicatorKey() const; - WINRT_IMPL_AUTO(void) ToggleRecordingIndicatorKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) ToggleRecordingIndicatorKeyModifiers() const; + auto ToggleGameBarKey(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto ToggleGameBarKey() const; + auto ToggleGameBarKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto ToggleGameBarKeyModifiers() const; + auto SaveHistoricalVideoKey(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto SaveHistoricalVideoKey() const; + auto SaveHistoricalVideoKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto SaveHistoricalVideoKeyModifiers() const; + auto ToggleRecordingKey(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto ToggleRecordingKey() const; + auto ToggleRecordingKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto ToggleRecordingKeyModifiers() const; + auto TakeScreenshotKey(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto TakeScreenshotKey() const; + auto TakeScreenshotKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto TakeScreenshotKeyModifiers() const; + auto ToggleRecordingIndicatorKey(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto ToggleRecordingIndicatorKey() const; + auto ToggleRecordingIndicatorKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto ToggleRecordingIndicatorKeyModifiers() const; }; template <> struct consume { @@ -3147,10 +3134,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2 { - WINRT_IMPL_AUTO(void) ToggleMicrophoneCaptureKey(winrt::Windows::System::VirtualKey const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) ToggleMicrophoneCaptureKey() const; - WINRT_IMPL_AUTO(void) ToggleMicrophoneCaptureKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) ToggleMicrophoneCaptureKeyModifiers() const; + auto ToggleMicrophoneCaptureKey(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto ToggleMicrophoneCaptureKey() const; + auto ToggleMicrophoneCaptureKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto ToggleMicrophoneCaptureKeyModifiers() const; }; template <> struct consume { @@ -3159,14 +3146,14 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3 { - WINRT_IMPL_AUTO(void) ToggleCameraCaptureKey(winrt::Windows::System::VirtualKey const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) ToggleCameraCaptureKey() const; - WINRT_IMPL_AUTO(void) ToggleCameraCaptureKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) ToggleCameraCaptureKeyModifiers() const; - WINRT_IMPL_AUTO(void) ToggleBroadcastKey(winrt::Windows::System::VirtualKey const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) ToggleBroadcastKey() const; - WINRT_IMPL_AUTO(void) ToggleBroadcastKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) ToggleBroadcastKeyModifiers() const; + auto ToggleCameraCaptureKey(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto ToggleCameraCaptureKey() const; + auto ToggleCameraCaptureKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto ToggleCameraCaptureKeyModifiers() const; + auto ToggleBroadcastKey(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto ToggleBroadcastKey() const; + auto ToggleBroadcastKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto ToggleBroadcastKeyModifiers() const; }; template <> struct consume { @@ -3175,7 +3162,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureDurationGeneratedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; + [[nodiscard]] auto Duration() const; }; template <> struct consume { @@ -3184,7 +3171,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureFileGeneratedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) File() const; + [[nodiscard]] auto File() const; }; template <> struct consume { @@ -3193,8 +3180,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureSettings) GetCurrentSettings() const; - WINRT_IMPL_AUTO(void) ApplySettings(winrt::Windows::Media::Capture::AppCaptureSettings const& appCaptureSettings) const; + auto GetCurrentSettings() const; + auto ApplySettings(winrt::Windows::Media::Capture::AppCaptureSettings const& appCaptureSettings) const; }; template <> struct consume { @@ -3203,19 +3190,19 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureMetadataWriter { - WINRT_IMPL_AUTO(void) AddStringEvent(param::hstring const& name, param::hstring const& value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; - WINRT_IMPL_AUTO(void) AddInt32Event(param::hstring const& name, int32_t value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; - WINRT_IMPL_AUTO(void) AddDoubleEvent(param::hstring const& name, double value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; - WINRT_IMPL_AUTO(void) StartStringState(param::hstring const& name, param::hstring const& value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; - WINRT_IMPL_AUTO(void) StartInt32State(param::hstring const& name, int32_t value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; - WINRT_IMPL_AUTO(void) StartDoubleState(param::hstring const& name, double value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; - WINRT_IMPL_AUTO(void) StopState(param::hstring const& name) const; - WINRT_IMPL_AUTO(void) StopAllStates() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) RemainingStorageBytesAvailable() const; - WINRT_IMPL_AUTO(winrt::event_token) MetadataPurged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AddStringEvent(param::hstring const& name, param::hstring const& value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; + auto AddInt32Event(param::hstring const& name, int32_t value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; + auto AddDoubleEvent(param::hstring const& name, double value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; + auto StartStringState(param::hstring const& name, param::hstring const& value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; + auto StartInt32State(param::hstring const& name, int32_t value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; + auto StartDoubleState(param::hstring const& name, double value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const; + auto StopState(param::hstring const& name) const; + auto StopAllStates() const; + [[nodiscard]] auto RemainingStorageBytesAvailable() const; + auto MetadataPurged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MetadataPurged_revoker = impl::event_revoker::remove_MetadataPurged>; - [[nodiscard]] MetadataPurged_revoker MetadataPurged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MetadataPurged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto MetadataPurged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MetadataPurged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3224,8 +3211,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureMicrophoneCaptureStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ErrorCode() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto ErrorCode() const; }; template <> struct consume { @@ -3234,24 +3221,24 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureRecordOperation { - WINRT_IMPL_AUTO(void) StopRecording() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureRecordingState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ErrorCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) File() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) IsFileTruncated() const; - WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto StopRecording() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto ErrorCode() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto File() const; + [[nodiscard]] auto IsFileTruncated() const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; - [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) StateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DurationGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + auto DurationGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const; using DurationGenerated_revoker = impl::event_revoker::remove_DurationGenerated>; - [[nodiscard]] DurationGenerated_revoker DurationGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) DurationGenerated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) FileGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto DurationGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto DurationGenerated(winrt::event_token const& token) const noexcept; + auto FileGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const; using FileGenerated_revoker = impl::event_revoker::remove_FileGenerated>; - [[nodiscard]] FileGenerated_revoker FileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) FileGenerated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto FileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto FileGenerated(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3260,8 +3247,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureRecordingStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureRecordingState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ErrorCode() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto ErrorCode() const; }; template <> struct consume { @@ -3270,10 +3257,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureServices { - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureRecordOperation) Record() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureRecordOperation) RecordTimeSpan(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanCapture() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureState) State() const; + auto Record() const; + auto RecordTimeSpan(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const; + [[nodiscard]] auto CanCapture() const; + [[nodiscard]] auto State() const; }; template <> struct consume { @@ -3282,42 +3269,42 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureSettings { - WINRT_IMPL_AUTO(void) AppCaptureDestinationFolder(winrt::Windows::Storage::StorageFolder const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) AppCaptureDestinationFolder() const; - WINRT_IMPL_AUTO(void) AudioEncodingBitrate(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) AudioEncodingBitrate() const; - WINRT_IMPL_AUTO(void) IsAudioCaptureEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAudioCaptureEnabled() const; - WINRT_IMPL_AUTO(void) CustomVideoEncodingBitrate(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CustomVideoEncodingBitrate() const; - WINRT_IMPL_AUTO(void) CustomVideoEncodingHeight(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CustomVideoEncodingHeight() const; - WINRT_IMPL_AUTO(void) CustomVideoEncodingWidth(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CustomVideoEncodingWidth() const; - WINRT_IMPL_AUTO(void) HistoricalBufferLength(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) HistoricalBufferLength() const; - WINRT_IMPL_AUTO(void) HistoricalBufferLengthUnit(winrt::Windows::Media::Capture::AppCaptureHistoricalBufferLengthUnit const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureHistoricalBufferLengthUnit) HistoricalBufferLengthUnit() const; - WINRT_IMPL_AUTO(void) IsHistoricalCaptureEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHistoricalCaptureEnabled() const; - WINRT_IMPL_AUTO(void) IsHistoricalCaptureOnBatteryAllowed(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHistoricalCaptureOnBatteryAllowed() const; - WINRT_IMPL_AUTO(void) IsHistoricalCaptureOnWirelessDisplayAllowed(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHistoricalCaptureOnWirelessDisplayAllowed() const; - WINRT_IMPL_AUTO(void) MaximumRecordLength(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) MaximumRecordLength() const; - WINRT_IMPL_AUTO(void) ScreenshotDestinationFolder(winrt::Windows::Storage::StorageFolder const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) ScreenshotDestinationFolder() const; - WINRT_IMPL_AUTO(void) VideoEncodingBitrateMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingBitrateMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureVideoEncodingBitrateMode) VideoEncodingBitrateMode() const; - WINRT_IMPL_AUTO(void) VideoEncodingResolutionMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingResolutionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureVideoEncodingResolutionMode) VideoEncodingResolutionMode() const; - WINRT_IMPL_AUTO(void) IsAppCaptureEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAppCaptureEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCpuConstrained() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDisabledByPolicy() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMemoryConstrained() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasHardwareEncoder() const; + auto AppCaptureDestinationFolder(winrt::Windows::Storage::StorageFolder const& value) const; + [[nodiscard]] auto AppCaptureDestinationFolder() const; + auto AudioEncodingBitrate(uint32_t value) const; + [[nodiscard]] auto AudioEncodingBitrate() const; + auto IsAudioCaptureEnabled(bool value) const; + [[nodiscard]] auto IsAudioCaptureEnabled() const; + auto CustomVideoEncodingBitrate(uint32_t value) const; + [[nodiscard]] auto CustomVideoEncodingBitrate() const; + auto CustomVideoEncodingHeight(uint32_t value) const; + [[nodiscard]] auto CustomVideoEncodingHeight() const; + auto CustomVideoEncodingWidth(uint32_t value) const; + [[nodiscard]] auto CustomVideoEncodingWidth() const; + auto HistoricalBufferLength(uint32_t value) const; + [[nodiscard]] auto HistoricalBufferLength() const; + auto HistoricalBufferLengthUnit(winrt::Windows::Media::Capture::AppCaptureHistoricalBufferLengthUnit const& value) const; + [[nodiscard]] auto HistoricalBufferLengthUnit() const; + auto IsHistoricalCaptureEnabled(bool value) const; + [[nodiscard]] auto IsHistoricalCaptureEnabled() const; + auto IsHistoricalCaptureOnBatteryAllowed(bool value) const; + [[nodiscard]] auto IsHistoricalCaptureOnBatteryAllowed() const; + auto IsHistoricalCaptureOnWirelessDisplayAllowed(bool value) const; + [[nodiscard]] auto IsHistoricalCaptureOnWirelessDisplayAllowed() const; + auto MaximumRecordLength(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto MaximumRecordLength() const; + auto ScreenshotDestinationFolder(winrt::Windows::Storage::StorageFolder const& value) const; + [[nodiscard]] auto ScreenshotDestinationFolder() const; + auto VideoEncodingBitrateMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingBitrateMode const& value) const; + [[nodiscard]] auto VideoEncodingBitrateMode() const; + auto VideoEncodingResolutionMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingResolutionMode const& value) const; + [[nodiscard]] auto VideoEncodingResolutionMode() const; + auto IsAppCaptureEnabled(bool value) const; + [[nodiscard]] auto IsAppCaptureEnabled() const; + [[nodiscard]] auto IsCpuConstrained() const; + [[nodiscard]] auto IsDisabledByPolicy() const; + [[nodiscard]] auto IsMemoryConstrained() const; + [[nodiscard]] auto HasHardwareEncoder() const; }; template <> struct consume { @@ -3326,8 +3313,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureSettings2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGpuConstrained() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureAlternateShortcutKeys) AlternateShortcutKeys() const; + [[nodiscard]] auto IsGpuConstrained() const; + [[nodiscard]] auto AlternateShortcutKeys() const; }; template <> struct consume { @@ -3336,8 +3323,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureSettings3 { - WINRT_IMPL_AUTO(void) IsMicrophoneCaptureEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMicrophoneCaptureEnabled() const; + auto IsMicrophoneCaptureEnabled(bool value) const; + [[nodiscard]] auto IsMicrophoneCaptureEnabled() const; }; template <> struct consume { @@ -3346,14 +3333,14 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureSettings4 { - WINRT_IMPL_AUTO(void) IsMicrophoneCaptureEnabledByDefault(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMicrophoneCaptureEnabledByDefault() const; - WINRT_IMPL_AUTO(void) SystemAudioGain(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SystemAudioGain() const; - WINRT_IMPL_AUTO(void) MicrophoneGain(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MicrophoneGain() const; - WINRT_IMPL_AUTO(void) VideoEncodingFrameRateMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingFrameRateMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureVideoEncodingFrameRateMode) VideoEncodingFrameRateMode() const; + auto IsMicrophoneCaptureEnabledByDefault(bool value) const; + [[nodiscard]] auto IsMicrophoneCaptureEnabledByDefault() const; + auto SystemAudioGain(double value) const; + [[nodiscard]] auto SystemAudioGain() const; + auto MicrophoneGain(double value) const; + [[nodiscard]] auto MicrophoneGain() const; + auto VideoEncodingFrameRateMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingFrameRateMode const& value) const; + [[nodiscard]] auto VideoEncodingFrameRateMode() const; }; template <> struct consume { @@ -3362,10 +3349,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureSettings5 { - WINRT_IMPL_AUTO(void) IsEchoCancellationEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEchoCancellationEnabled() const; - WINRT_IMPL_AUTO(void) IsCursorImageCaptureEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCursorImageCaptureEnabled() const; + auto IsEchoCancellationEnabled(bool value) const; + [[nodiscard]] auto IsEchoCancellationEnabled() const; + auto IsCursorImageCaptureEnabled(bool value) const; + [[nodiscard]] auto IsCursorImageCaptureEnabled() const; }; template <> struct consume { @@ -3374,21 +3361,21 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureState { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTargetRunning() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHistoricalCaptureEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldCaptureMicrophone() const; - WINRT_IMPL_AUTO(void) ShouldCaptureMicrophone(bool value) const; - WINRT_IMPL_AUTO(void) RestartMicrophoneCapture() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureState) MicrophoneCaptureState() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MicrophoneCaptureError() const; - WINRT_IMPL_AUTO(winrt::event_token) MicrophoneCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto IsTargetRunning() const; + [[nodiscard]] auto IsHistoricalCaptureEnabled() const; + [[nodiscard]] auto ShouldCaptureMicrophone() const; + auto ShouldCaptureMicrophone(bool value) const; + auto RestartMicrophoneCapture() const; + [[nodiscard]] auto MicrophoneCaptureState() const; + [[nodiscard]] auto MicrophoneCaptureError() const; + auto MicrophoneCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using MicrophoneCaptureStateChanged_revoker = impl::event_revoker::remove_MicrophoneCaptureStateChanged>; - [[nodiscard]] MicrophoneCaptureStateChanged_revoker MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) MicrophoneCaptureStateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CaptureTargetClosed(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto MicrophoneCaptureStateChanged(winrt::event_token const& token) const noexcept; + auto CaptureTargetClosed(winrt::Windows::Foundation::TypedEventHandler const& value) const; using CaptureTargetClosed_revoker = impl::event_revoker::remove_CaptureTargetClosed>; - [[nodiscard]] CaptureTargetClosed_revoker CaptureTargetClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) CaptureTargetClosed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CaptureTargetClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto CaptureTargetClosed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3397,7 +3384,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCapture) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -3406,7 +3393,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IAppCaptureStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetAllowedAsync(bool allowed) const; + auto SetAllowedAsync(bool allowed) const; }; template <> struct consume { @@ -3415,9 +3402,9 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_ICameraCaptureUI { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIPhotoCaptureSettings) PhotoSettings() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIVideoCaptureSettings) VideoSettings() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CaptureFileAsync(winrt::Windows::Media::Capture::CameraCaptureUIMode const& mode) const; + [[nodiscard]] auto PhotoSettings() const; + [[nodiscard]] auto VideoSettings() const; + auto CaptureFileAsync(winrt::Windows::Media::Capture::CameraCaptureUIMode const& mode) const; }; template <> struct consume { @@ -3426,16 +3413,16 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIPhotoFormat) Format() const; - WINRT_IMPL_AUTO(void) Format(winrt::Windows::Media::Capture::CameraCaptureUIPhotoFormat const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIMaxPhotoResolution) MaxResolution() const; - WINRT_IMPL_AUTO(void) MaxResolution(winrt::Windows::Media::Capture::CameraCaptureUIMaxPhotoResolution const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) CroppedSizeInPixels() const; - WINRT_IMPL_AUTO(void) CroppedSizeInPixels(winrt::Windows::Foundation::Size const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) CroppedAspectRatio() const; - WINRT_IMPL_AUTO(void) CroppedAspectRatio(winrt::Windows::Foundation::Size const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowCropping() const; - WINRT_IMPL_AUTO(void) AllowCropping(bool value) const; + [[nodiscard]] auto Format() const; + auto Format(winrt::Windows::Media::Capture::CameraCaptureUIPhotoFormat const& value) const; + [[nodiscard]] auto MaxResolution() const; + auto MaxResolution(winrt::Windows::Media::Capture::CameraCaptureUIMaxPhotoResolution const& value) const; + [[nodiscard]] auto CroppedSizeInPixels() const; + auto CroppedSizeInPixels(winrt::Windows::Foundation::Size const& value) const; + [[nodiscard]] auto CroppedAspectRatio() const; + auto CroppedAspectRatio(winrt::Windows::Foundation::Size const& value) const; + [[nodiscard]] auto AllowCropping() const; + auto AllowCropping(bool value) const; }; template <> struct consume { @@ -3444,14 +3431,14 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIVideoFormat) Format() const; - WINRT_IMPL_AUTO(void) Format(winrt::Windows::Media::Capture::CameraCaptureUIVideoFormat const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIMaxVideoResolution) MaxResolution() const; - WINRT_IMPL_AUTO(void) MaxResolution(winrt::Windows::Media::Capture::CameraCaptureUIMaxVideoResolution const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MaxDurationInSeconds() const; - WINRT_IMPL_AUTO(void) MaxDurationInSeconds(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowTrimming() const; - WINRT_IMPL_AUTO(void) AllowTrimming(bool value) const; + [[nodiscard]] auto Format() const; + auto Format(winrt::Windows::Media::Capture::CameraCaptureUIVideoFormat const& value) const; + [[nodiscard]] auto MaxResolution() const; + auto MaxResolution(winrt::Windows::Media::Capture::CameraCaptureUIMaxVideoResolution const& value) const; + [[nodiscard]] auto MaxDurationInSeconds() const; + auto MaxDurationInSeconds(float value) const; + [[nodiscard]] auto AllowTrimming() const; + auto AllowTrimming(bool value) const; }; template <> struct consume { @@ -3460,7 +3447,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_ICameraOptionsUIStatics { - WINRT_IMPL_AUTO(void) Show(winrt::Windows::Media::Capture::MediaCapture const& mediaCapture) const; + auto Show(winrt::Windows::Media::Capture::MediaCapture const& mediaCapture) const; }; template <> struct consume { @@ -3469,8 +3456,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_ICapturedFrame { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Width() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Height() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; }; template <> struct consume { @@ -3479,8 +3466,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_ICapturedFrame2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrameControlValues) ControlValues() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPropertySet) BitmapProperties() const; + [[nodiscard]] auto ControlValues() const; + [[nodiscard]] auto BitmapProperties() const; }; template <> struct consume { @@ -3489,15 +3476,15 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_ICapturedFrameControlValues { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Exposure() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ExposureCompensation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) IsoSpeed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Focus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SceneMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Flashed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) FlashPowerPercent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) WhiteBalance() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ZoomFactor() const; + [[nodiscard]] auto Exposure() const; + [[nodiscard]] auto ExposureCompensation() const; + [[nodiscard]] auto IsoSpeed() const; + [[nodiscard]] auto Focus() const; + [[nodiscard]] auto SceneMode() const; + [[nodiscard]] auto Flashed() const; + [[nodiscard]] auto FlashPowerPercent() const; + [[nodiscard]] auto WhiteBalance() const; + [[nodiscard]] auto ZoomFactor() const; }; template <> struct consume { @@ -3506,11 +3493,11 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_ICapturedFrameControlValues2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) FocusState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) IsoDigitalGain() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) IsoAnalogGain() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) SensorFrameRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) WhiteBalanceGain() const; + [[nodiscard]] auto FocusState() const; + [[nodiscard]] auto IsoDigitalGain() const; + [[nodiscard]] auto IsoAnalogGain() const; + [[nodiscard]] auto SensorFrameRate() const; + [[nodiscard]] auto WhiteBalanceGain() const; }; template <> struct consume { @@ -3519,7 +3506,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_ICapturedFrameWithSoftwareBitmap { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) SoftwareBitmap() const; + [[nodiscard]] auto SoftwareBitmap() const; }; template <> struct consume { @@ -3528,8 +3515,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_ICapturedPhoto { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) Frame() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) Thumbnail() const; + [[nodiscard]] auto Frame() const; + [[nodiscard]] auto Thumbnail() const; }; template <> struct consume { @@ -3538,17 +3525,17 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IGameBarServices { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarTargetCapturePolicy) TargetCapturePolicy() const; - WINRT_IMPL_AUTO(void) EnableCapture() const; - WINRT_IMPL_AUTO(void) DisableCapture() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarServicesTargetInfo) TargetInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SessionId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastServices) AppBroadcastServices() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureServices) AppCaptureServices() const; - WINRT_IMPL_AUTO(winrt::event_token) CommandReceived(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto TargetCapturePolicy() const; + auto EnableCapture() const; + auto DisableCapture() const; + [[nodiscard]] auto TargetInfo() const; + [[nodiscard]] auto SessionId() const; + [[nodiscard]] auto AppBroadcastServices() const; + [[nodiscard]] auto AppCaptureServices() const; + auto CommandReceived(winrt::Windows::Foundation::TypedEventHandler const& value) const; using CommandReceived_revoker = impl::event_revoker::remove_CommandReceived>; - [[nodiscard]] CommandReceived_revoker CommandReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) CommandReceived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CommandReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto CommandReceived(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3557,8 +3544,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IGameBarServicesCommandEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarCommand) Command() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarCommandOrigin) Origin() const; + [[nodiscard]] auto Command() const; + [[nodiscard]] auto Origin() const; }; template <> struct consume { @@ -3567,10 +3554,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IGameBarServicesManager { - WINRT_IMPL_AUTO(winrt::event_token) GameBarServicesCreated(winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto GameBarServicesCreated(winrt::Windows::Foundation::TypedEventHandler const& value) const; using GameBarServicesCreated_revoker = impl::event_revoker::remove_GameBarServicesCreated>; - [[nodiscard]] GameBarServicesCreated_revoker GameBarServicesCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) GameBarServicesCreated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto GameBarServicesCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto GameBarServicesCreated(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3579,7 +3566,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IGameBarServicesManagerGameBarServicesCreatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarServices) GameBarServices() const; + [[nodiscard]] auto GameBarServices() const; }; template <> struct consume { @@ -3588,7 +3575,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IGameBarServicesManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarServicesManager) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -3597,10 +3584,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IGameBarServicesTargetInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TitleId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarServicesDisplayMode) DisplayMode() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto AppId() const; + [[nodiscard]] auto TitleId() const; + [[nodiscard]] auto DisplayMode() const; }; template <> struct consume { @@ -3609,9 +3596,9 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_ILowLagMediaRecording { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StopAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) FinishAsync() const; + auto StartAsync() const; + auto StopAsync() const; + auto FinishAsync() const; }; template <> struct consume { @@ -3620,8 +3607,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_ILowLagMediaRecording2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) PauseAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ResumeAsync() const; + auto PauseAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const; + auto ResumeAsync() const; }; template <> struct consume { @@ -3630,8 +3617,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_ILowLagMediaRecording3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PauseWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StopWithResultAsync() const; + auto PauseWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const; + auto StopWithResultAsync() const; }; template <> struct consume { @@ -3640,8 +3627,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_ILowLagPhotoCapture { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CaptureAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) FinishAsync() const; + auto CaptureAsync() const; + auto FinishAsync() const; }; template <> struct consume { @@ -3650,13 +3637,13 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StopAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) FinishAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) PhotoCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StartAsync() const; + auto StopAsync() const; + auto FinishAsync() const; + auto PhotoCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PhotoCaptured_revoker = impl::event_revoker::remove_PhotoCaptured>; - [[nodiscard]] PhotoCaptured_revoker PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PhotoCaptured(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PhotoCaptured(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3665,36 +3652,36 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCapture { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) InitializeAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) InitializeAsync(winrt::Windows::Media::Capture::MediaCaptureInitializationSettings const& mediaCaptureInitializationSettings) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartRecordToStorageFileAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartRecordToStreamAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StopRecordAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CapturePhotoToStorageFileAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type, winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CapturePhotoToStreamAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AddEffectAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, param::hstring const& effectActivationID, winrt::Windows::Foundation::Collections::IPropertySet const& effectSettings) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearEffectsAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const; - WINRT_IMPL_AUTO(void) SetEncoderProperty(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::guid const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetEncoderProperty(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::guid const& propertyId) const; - WINRT_IMPL_AUTO(winrt::event_token) Failed(winrt::Windows::Media::Capture::MediaCaptureFailedEventHandler const& errorEventHandler) const; + auto InitializeAsync() const; + auto InitializeAsync(winrt::Windows::Media::Capture::MediaCaptureInitializationSettings const& mediaCaptureInitializationSettings) const; + auto StartRecordToStorageFileAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::IStorageFile const& file) const; + auto StartRecordToStreamAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto StartRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const; + auto StartRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const; + auto StopRecordAsync() const; + auto CapturePhotoToStorageFileAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type, winrt::Windows::Storage::IStorageFile const& file) const; + auto CapturePhotoToStreamAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto AddEffectAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, param::hstring const& effectActivationID, winrt::Windows::Foundation::Collections::IPropertySet const& effectSettings) const; + auto ClearEffectsAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const; + auto SetEncoderProperty(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::guid const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const; + auto GetEncoderProperty(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::guid const& propertyId) const; + auto Failed(winrt::Windows::Media::Capture::MediaCaptureFailedEventHandler const& errorEventHandler) const; using Failed_revoker = impl::event_revoker::remove_Failed>; - [[nodiscard]] Failed_revoker Failed(auto_revoke_t, winrt::Windows::Media::Capture::MediaCaptureFailedEventHandler const& errorEventHandler) const; - WINRT_IMPL_AUTO(void) Failed(winrt::event_token const& eventCookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RecordLimitationExceeded(winrt::Windows::Media::Capture::RecordLimitationExceededEventHandler const& recordLimitationExceededEventHandler) const; + [[nodiscard]] auto Failed(auto_revoke_t, winrt::Windows::Media::Capture::MediaCaptureFailedEventHandler const& errorEventHandler) const; + auto Failed(winrt::event_token const& eventCookie) const noexcept; + auto RecordLimitationExceeded(winrt::Windows::Media::Capture::RecordLimitationExceededEventHandler const& recordLimitationExceededEventHandler) const; using RecordLimitationExceeded_revoker = impl::event_revoker::remove_RecordLimitationExceeded>; - [[nodiscard]] RecordLimitationExceeded_revoker RecordLimitationExceeded(auto_revoke_t, winrt::Windows::Media::Capture::RecordLimitationExceededEventHandler const& recordLimitationExceededEventHandler) const; - WINRT_IMPL_AUTO(void) RecordLimitationExceeded(winrt::event_token const& eventCookie) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureSettings) MediaCaptureSettings() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AudioDeviceController) AudioDeviceController() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceController) VideoDeviceController() const; - WINRT_IMPL_AUTO(void) SetPreviewMirroring(bool value) const; - WINRT_IMPL_AUTO(bool) GetPreviewMirroring() const; - WINRT_IMPL_AUTO(void) SetPreviewRotation(winrt::Windows::Media::Capture::VideoRotation const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::VideoRotation) GetPreviewRotation() const; - WINRT_IMPL_AUTO(void) SetRecordRotation(winrt::Windows::Media::Capture::VideoRotation const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::VideoRotation) GetRecordRotation() const; + [[nodiscard]] auto RecordLimitationExceeded(auto_revoke_t, winrt::Windows::Media::Capture::RecordLimitationExceededEventHandler const& recordLimitationExceededEventHandler) const; + auto RecordLimitationExceeded(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto MediaCaptureSettings() const; + [[nodiscard]] auto AudioDeviceController() const; + [[nodiscard]] auto VideoDeviceController() const; + auto SetPreviewMirroring(bool value) const; + auto GetPreviewMirroring() const; + auto SetPreviewRotation(winrt::Windows::Media::Capture::VideoRotation const& value) const; + auto GetPreviewRotation() const; + auto SetRecordRotation(winrt::Windows::Media::Capture::VideoRotation const& value) const; + auto GetRecordRotation() const; }; template <> struct consume { @@ -3703,13 +3690,13 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCapture2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PrepareLowLagRecordToStorageFileAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PrepareLowLagRecordToStreamAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PrepareLowLagRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PrepareLowLagRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PrepareLowLagPhotoCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PrepareLowLagPhotoSequenceCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetEncodingPropertiesAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& mediaEncodingProperties, winrt::Windows::Media::MediaProperties::MediaPropertySet const& encoderProperties) const; + auto PrepareLowLagRecordToStorageFileAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::IStorageFile const& file) const; + auto PrepareLowLagRecordToStreamAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto PrepareLowLagRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const; + auto PrepareLowLagRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const; + auto PrepareLowLagPhotoCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const; + auto PrepareLowLagPhotoSequenceCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const; + auto SetEncodingPropertiesAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& mediaEncodingProperties, winrt::Windows::Media::MediaProperties::MediaPropertySet const& encoderProperties) const; }; template <> struct consume { @@ -3718,15 +3705,15 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCapture3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PrepareVariablePhotoSequenceCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const; - WINRT_IMPL_AUTO(winrt::event_token) FocusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PrepareVariablePhotoSequenceCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const; + auto FocusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FocusChanged_revoker = impl::event_revoker::remove_FocusChanged>; - [[nodiscard]] FocusChanged_revoker FocusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FocusChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PhotoConfirmationCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto FocusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FocusChanged(winrt::event_token const& token) const noexcept; + auto PhotoConfirmationCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PhotoConfirmationCaptured_revoker = impl::event_revoker::remove_PhotoConfirmationCaptured>; - [[nodiscard]] PhotoConfirmationCaptured_revoker PhotoConfirmationCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PhotoConfirmationCaptured(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PhotoConfirmationCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PhotoConfirmationCaptured(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3735,23 +3722,23 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCapture4 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AddAudioEffectAsync(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AddVideoEffectAsync(winrt::Windows::Media::Effects::IVideoEffectDefinition const& definition, winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) PauseRecordAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ResumeRecordAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) CameraStreamStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AddAudioEffectAsync(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const; + auto AddVideoEffectAsync(winrt::Windows::Media::Effects::IVideoEffectDefinition const& definition, winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const; + auto PauseRecordAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const; + auto ResumeRecordAsync() const; + auto CameraStreamStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CameraStreamStateChanged_revoker = impl::event_revoker::remove_CameraStreamStateChanged>; - [[nodiscard]] CameraStreamStateChanged_revoker CameraStreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CameraStreamStateChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::CameraStreamState) CameraStreamState() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPreviewFrameAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPreviewFrameAsync(winrt::Windows::Media::VideoFrame const& destination) const; - WINRT_IMPL_AUTO(winrt::event_token) ThermalStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CameraStreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CameraStreamStateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CameraStreamState() const; + auto GetPreviewFrameAsync() const; + auto GetPreviewFrameAsync(winrt::Windows::Media::VideoFrame const& destination) const; + auto ThermalStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ThermalStatusChanged_revoker = impl::event_revoker::remove_ThermalStatusChanged>; - [[nodiscard]] ThermalStatusChanged_revoker ThermalStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ThermalStatusChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureThermalStatus) ThermalStatus() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PrepareAdvancedPhotoCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& encodingProperties) const; + [[nodiscard]] auto ThermalStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ThermalStatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ThermalStatus() const; + auto PrepareAdvancedPhotoCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& encodingProperties) const; }; template <> struct consume { @@ -3760,13 +3747,13 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCapture5 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RemoveEffectAsync(winrt::Windows::Media::IMediaExtension const& effect) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PauseRecordWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StopRecordWithResultAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) FrameSources() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource, param::hstring const& outputSubtype) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource, param::hstring const& outputSubtype, winrt::Windows::Graphics::Imaging::BitmapSize const& outputSize) const; + auto RemoveEffectAsync(winrt::Windows::Media::IMediaExtension const& effect) const; + auto PauseRecordWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const; + auto StopRecordWithResultAsync() const; + [[nodiscard]] auto FrameSources() const; + auto CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource) const; + auto CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource, param::hstring const& outputSubtype) const; + auto CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource, param::hstring const& outputSubtype, winrt::Windows::Graphics::Imaging::BitmapSize const& outputSize) const; }; template <> struct consume { @@ -3775,11 +3762,11 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCapture6 { - WINRT_IMPL_AUTO(winrt::event_token) CaptureDeviceExclusiveControlStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CaptureDeviceExclusiveControlStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CaptureDeviceExclusiveControlStatusChanged_revoker = impl::event_revoker::remove_CaptureDeviceExclusiveControlStatusChanged>; - [[nodiscard]] CaptureDeviceExclusiveControlStatusChanged_revoker CaptureDeviceExclusiveControlStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CaptureDeviceExclusiveControlStatusChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateMultiSourceFrameReaderAsync(param::async_iterable const& inputSources) const; + [[nodiscard]] auto CaptureDeviceExclusiveControlStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CaptureDeviceExclusiveControlStatusChanged(winrt::event_token const& token) const noexcept; + auto CreateMultiSourceFrameReaderAsync(param::async_iterable const& inputSources) const; }; template <> struct consume { @@ -3788,7 +3775,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCapture7 { - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureRelativePanelWatcher) CreateRelativePanelWatcher(winrt::Windows::Media::Capture::StreamingCaptureMode const& captureMode, winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const; + auto CreateRelativePanelWatcher(winrt::Windows::Media::Capture::StreamingCaptureMode const& captureMode, winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const; }; template <> struct consume { @@ -3797,8 +3784,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureDeviceExclusiveControlStatus) Status() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -3807,8 +3794,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureFailedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Code() const; + [[nodiscard]] auto Message() const; + [[nodiscard]] auto Code() const; }; template <> struct consume { @@ -3817,7 +3804,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureFocusChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaCaptureFocusState) FocusState() const; + [[nodiscard]] auto FocusState() const; }; template <> struct consume { @@ -3826,14 +3813,14 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureInitializationSettings { - WINRT_IMPL_AUTO(void) AudioDeviceId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioDeviceId() const; - WINRT_IMPL_AUTO(void) VideoDeviceId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoDeviceId() const; - WINRT_IMPL_AUTO(void) StreamingCaptureMode(winrt::Windows::Media::Capture::StreamingCaptureMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::StreamingCaptureMode) StreamingCaptureMode() const; - WINRT_IMPL_AUTO(void) PhotoCaptureSource(winrt::Windows::Media::Capture::PhotoCaptureSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::PhotoCaptureSource) PhotoCaptureSource() const; + auto AudioDeviceId(param::hstring const& value) const; + [[nodiscard]] auto AudioDeviceId() const; + auto VideoDeviceId(param::hstring const& value) const; + [[nodiscard]] auto VideoDeviceId() const; + auto StreamingCaptureMode(winrt::Windows::Media::Capture::StreamingCaptureMode const& value) const; + [[nodiscard]] auto StreamingCaptureMode() const; + auto PhotoCaptureSource(winrt::Windows::Media::Capture::PhotoCaptureSource const& value) const; + [[nodiscard]] auto PhotoCaptureSource() const; }; template <> struct consume { @@ -3842,10 +3829,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2 { - WINRT_IMPL_AUTO(void) MediaCategory(winrt::Windows::Media::Capture::MediaCategory const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCategory) MediaCategory() const; - WINRT_IMPL_AUTO(void) AudioProcessing(winrt::Windows::Media::AudioProcessing const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::AudioProcessing) AudioProcessing() const; + auto MediaCategory(winrt::Windows::Media::Capture::MediaCategory const& value) const; + [[nodiscard]] auto MediaCategory() const; + auto AudioProcessing(winrt::Windows::Media::AudioProcessing const& value) const; + [[nodiscard]] auto AudioProcessing() const; }; template <> struct consume { @@ -3854,10 +3841,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3 { - WINRT_IMPL_AUTO(void) AudioSource(winrt::Windows::Media::Core::IMediaSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaSource) AudioSource() const; - WINRT_IMPL_AUTO(void) VideoSource(winrt::Windows::Media::Core::IMediaSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaSource) VideoSource() const; + auto AudioSource(winrt::Windows::Media::Core::IMediaSource const& value) const; + [[nodiscard]] auto AudioSource() const; + auto VideoSource(winrt::Windows::Media::Core::IMediaSource const& value) const; + [[nodiscard]] auto VideoSource() const; }; template <> struct consume { @@ -3866,14 +3853,14 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureVideoProfile) VideoProfile() const; - WINRT_IMPL_AUTO(void) VideoProfile(winrt::Windows::Media::Capture::MediaCaptureVideoProfile const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription) PreviewMediaDescription() const; - WINRT_IMPL_AUTO(void) PreviewMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription) RecordMediaDescription() const; - WINRT_IMPL_AUTO(void) RecordMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription) PhotoMediaDescription() const; - WINRT_IMPL_AUTO(void) PhotoMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const; + [[nodiscard]] auto VideoProfile() const; + auto VideoProfile(winrt::Windows::Media::Capture::MediaCaptureVideoProfile const& value) const; + [[nodiscard]] auto PreviewMediaDescription() const; + auto PreviewMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const; + [[nodiscard]] auto RecordMediaDescription() const; + auto RecordMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const; + [[nodiscard]] auto PhotoMediaDescription() const; + auto PhotoMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const; }; template <> struct consume { @@ -3882,12 +3869,12 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup) SourceGroup() const; - WINRT_IMPL_AUTO(void) SourceGroup(winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureSharingMode) SharingMode() const; - WINRT_IMPL_AUTO(void) SharingMode(winrt::Windows::Media::Capture::MediaCaptureSharingMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureMemoryPreference) MemoryPreference() const; - WINRT_IMPL_AUTO(void) MemoryPreference(winrt::Windows::Media::Capture::MediaCaptureMemoryPreference const& value) const; + [[nodiscard]] auto SourceGroup() const; + auto SourceGroup(winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup const& value) const; + [[nodiscard]] auto SharingMode() const; + auto SharingMode(winrt::Windows::Media::Capture::MediaCaptureSharingMode const& value) const; + [[nodiscard]] auto MemoryPreference() const; + auto MemoryPreference(winrt::Windows::Media::Capture::MediaCaptureMemoryPreference const& value) const; }; template <> struct consume { @@ -3896,8 +3883,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureInitializationSettings6 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AlwaysPlaySystemShutterSound() const; - WINRT_IMPL_AUTO(void) AlwaysPlaySystemShutterSound(bool value) const; + [[nodiscard]] auto AlwaysPlaySystemShutterSound() const; + auto AlwaysPlaySystemShutterSound(bool value) const; }; template <> struct consume { @@ -3906,10 +3893,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) DeviceUriPasswordCredential() const; - WINRT_IMPL_AUTO(void) DeviceUriPasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) DeviceUri() const; - WINRT_IMPL_AUTO(void) DeviceUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto DeviceUriPasswordCredential() const; + auto DeviceUriPasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + [[nodiscard]] auto DeviceUri() const; + auto DeviceUri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -3918,8 +3905,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCapturePauseResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) LastFrame() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RecordDuration() const; + [[nodiscard]] auto LastFrame() const; + [[nodiscard]] auto RecordDuration() const; }; template <> struct consume { @@ -3928,13 +3915,13 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Panel) RelativePanel() const; - WINRT_IMPL_AUTO(winrt::event_token) Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto RelativePanel() const; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Changed_revoker = impl::event_revoker::remove_Changed>; - [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Changed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Changed(winrt::event_token const& token) const noexcept; + auto Start() const; + auto Stop() const; }; template <> struct consume { @@ -3943,11 +3930,11 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureSettings { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioDeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoDeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::StreamingCaptureMode) StreamingCaptureMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::PhotoCaptureSource) PhotoCaptureSource() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::VideoDeviceCharacteristic) VideoDeviceCharacteristic() const; + [[nodiscard]] auto AudioDeviceId() const; + [[nodiscard]] auto VideoDeviceId() const; + [[nodiscard]] auto StreamingCaptureMode() const; + [[nodiscard]] auto PhotoCaptureSource() const; + [[nodiscard]] auto VideoDeviceCharacteristic() const; }; template <> struct consume { @@ -3956,14 +3943,14 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureSettings2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ConcurrentRecordAndPhotoSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ConcurrentRecordAndPhotoSequenceSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CameraSoundRequiredForRegion() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Horizontal35mmEquivalentFocalLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PitchOffsetDegrees() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Vertical35mmEquivalentFocalLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCategory) MediaCategory() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::AudioProcessing) AudioProcessing() const; + [[nodiscard]] auto ConcurrentRecordAndPhotoSupported() const; + [[nodiscard]] auto ConcurrentRecordAndPhotoSequenceSupported() const; + [[nodiscard]] auto CameraSoundRequiredForRegion() const; + [[nodiscard]] auto Horizontal35mmEquivalentFocalLength() const; + [[nodiscard]] auto PitchOffsetDegrees() const; + [[nodiscard]] auto Vertical35mmEquivalentFocalLength() const; + [[nodiscard]] auto MediaCategory() const; + [[nodiscard]] auto AudioProcessing() const; }; template <> struct consume { @@ -3972,7 +3959,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureSettings3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice) Direct3D11Device() const; + [[nodiscard]] auto Direct3D11Device() const; }; template <> struct consume { @@ -3981,10 +3968,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureStatics { - WINRT_IMPL_AUTO(bool) IsVideoProfileSupported(param::hstring const& videoDeviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindAllVideoProfiles(param::hstring const& videoDeviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindConcurrentProfiles(param::hstring const& videoDeviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindKnownVideoProfiles(param::hstring const& videoDeviceId, winrt::Windows::Media::Capture::KnownVideoProfile const& name) const; + auto IsVideoProfileSupported(param::hstring const& videoDeviceId) const; + auto FindAllVideoProfiles(param::hstring const& videoDeviceId) const; + auto FindConcurrentProfiles(param::hstring const& videoDeviceId) const; + auto FindKnownVideoProfiles(param::hstring const& videoDeviceId, winrt::Windows::Media::Capture::KnownVideoProfile const& name) const; }; template <> struct consume { @@ -3993,8 +3980,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureStopResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) LastFrame() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RecordDuration() const; + [[nodiscard]] auto LastFrame() const; + [[nodiscard]] auto RecordDuration() const; }; template <> struct consume { @@ -4003,10 +3990,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureVideoPreview { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartPreviewAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartPreviewToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartPreviewToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StopPreviewAsync() const; + auto StartPreviewAsync() const; + auto StartPreviewToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const; + auto StartPreviewToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const; + auto StopPreviewAsync() const; }; template <> struct consume { @@ -4015,12 +4002,12 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureVideoProfile { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoDeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedPreviewMediaDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedRecordMediaDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedPhotoMediaDescription() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetConcurrency() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto VideoDeviceId() const; + [[nodiscard]] auto SupportedPreviewMediaDescription() const; + [[nodiscard]] auto SupportedRecordMediaDescription() const; + [[nodiscard]] auto SupportedPhotoMediaDescription() const; + auto GetConcurrency() const; }; template <> struct consume { @@ -4029,8 +4016,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureVideoProfile2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FrameSourceInfos() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto FrameSourceInfos() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -4039,11 +4026,11 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Width() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Height() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FrameRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVariablePhotoSequenceSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHdrVideoSupported() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto FrameRate() const; + [[nodiscard]] auto IsVariablePhotoSequenceSupported() const; + [[nodiscard]] auto IsHdrVideoSupported() const; }; template <> struct consume { @@ -4052,8 +4039,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subtype() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto Subtype() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -4062,8 +4049,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IOptionalReferencePhotoCapturedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) Frame() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Context() const; + [[nodiscard]] auto Frame() const; + [[nodiscard]] auto Context() const; }; template <> struct consume { @@ -4072,9 +4059,9 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IPhotoCapturedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) Frame() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) Thumbnail() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) CaptureTimeOffset() const; + [[nodiscard]] auto Frame() const; + [[nodiscard]] auto Thumbnail() const; + [[nodiscard]] auto CaptureTimeOffset() const; }; template <> struct consume { @@ -4083,8 +4070,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IPhotoConfirmationCapturedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) Frame() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) CaptureTimeOffset() const; + [[nodiscard]] auto Frame() const; + [[nodiscard]] auto CaptureTimeOffset() const; }; template <> struct consume { @@ -4093,14 +4080,14 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IScreenCapture { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaSource) AudioSource() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaSource) VideoSource() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAudioSuspended() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVideoSuspended() const; - WINRT_IMPL_AUTO(winrt::event_token) SourceSuspensionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AudioSource() const; + [[nodiscard]] auto VideoSource() const; + [[nodiscard]] auto IsAudioSuspended() const; + [[nodiscard]] auto IsVideoSuspended() const; + auto SourceSuspensionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourceSuspensionChanged_revoker = impl::event_revoker::remove_SourceSuspensionChanged>; - [[nodiscard]] SourceSuspensionChanged_revoker SourceSuspensionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourceSuspensionChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SourceSuspensionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceSuspensionChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -4109,7 +4096,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IScreenCaptureStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::ScreenCapture) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -4118,8 +4105,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_ISourceSuspensionChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAudioSuspended() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVideoSuspended() const; + [[nodiscard]] auto IsAudioSuspended() const; + [[nodiscard]] auto IsVideoSuspended() const; }; template <> struct consume { @@ -4128,8 +4115,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_IVideoStreamConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) InputProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) OutputProperties() const; + [[nodiscard]] auto InputProperties() const; + [[nodiscard]] auto OutputProperties() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.1.h index 52f42487..e47f67a6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Capture_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.2.h index 4567af8b..b7b7f322 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Capture_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.0.h index 1446cb87..08020fd2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Capture_Core_0_H @@ -7,7 +7,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Media::Capture @@ -73,10 +72,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) Frame() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) CaptureTimeOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) UsedFrameControllerIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrameControlValues) CapturedFrameControlValues() const; + [[nodiscard]] auto Frame() const; + [[nodiscard]] auto CaptureTimeOffset() const; + [[nodiscard]] auto UsedFrameControllerIndex() const; + [[nodiscard]] auto CapturedFrameControlValues() const; }; template <> struct consume { @@ -85,17 +84,17 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StopAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) FinishAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) PhotoCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StartAsync() const; + auto StopAsync() const; + auto FinishAsync() const; + auto PhotoCaptured(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PhotoCaptured_revoker = impl::event_revoker::remove_PhotoCaptured>; - [[nodiscard]] PhotoCaptured_revoker PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PhotoCaptured(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PhotoCaptured(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Stopped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -104,7 +103,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UpdateSettingsAsync() const; + auto UpdateSettingsAsync() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.1.h index b3c8b8f6..c3bbd8a5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Capture_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.2.h index a14ed5ec..f4eac18b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Capture_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.0.h index c53eb498..4589d5e4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Capture_Frames_0_H @@ -12,15 +12,9 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 { struct IDirect3DSurface; @@ -36,7 +30,6 @@ WINRT_EXPORT namespace winrt::Windows::Media } WINRT_EXPORT namespace winrt::Windows::Media::Capture { - struct MediaCaptureVideoProfileMediaDescription; enum class MediaStreamType : int32_t; } WINRT_EXPORT namespace winrt::Windows::Media::Devices @@ -591,9 +584,9 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IAudioMediaFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) FrameReference() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) AudioEncodingProperties() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) GetAudioFrame() const; + [[nodiscard]] auto FrameReference() const; + [[nodiscard]] auto AudioEncodingProperties() const; + auto GetAudioFrame() const; }; template <> struct consume { @@ -602,8 +595,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IBufferMediaFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) FrameReference() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Buffer() const; + [[nodiscard]] auto FrameReference() const; + [[nodiscard]] auto Buffer() const; }; template <> struct consume { @@ -612,10 +605,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IDepthMediaFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) FrameReference() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrame) VideoMediaFrame() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::DepthMediaFrameFormat) DepthFormat() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::DepthCorrelatedCoordinateMapper) TryCreateCoordinateMapper(winrt::Windows::Media::Devices::Core::CameraIntrinsics const& cameraIntrinsics, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + [[nodiscard]] auto FrameReference() const; + [[nodiscard]] auto VideoMediaFrame() const; + [[nodiscard]] auto DepthFormat() const; + auto TryCreateCoordinateMapper(winrt::Windows::Media::Devices::Core::CameraIntrinsics const& cameraIntrinsics, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; }; template <> struct consume { @@ -624,8 +617,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IDepthMediaFrame2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxReliableDepth() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinReliableDepth() const; + [[nodiscard]] auto MaxReliableDepth() const; + [[nodiscard]] auto MinReliableDepth() const; }; template <> struct consume { @@ -634,8 +627,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IDepthMediaFrameFormat { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrameFormat) VideoFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DepthScaleInMeters() const; + [[nodiscard]] auto VideoFormat() const; + [[nodiscard]] auto DepthScaleInMeters() const; }; template <> struct consume { @@ -644,9 +637,9 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IInfraredMediaFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) FrameReference() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrame) VideoMediaFrame() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsIlluminated() const; + [[nodiscard]] auto FrameReference() const; + [[nodiscard]] auto VideoMediaFrame() const; + [[nodiscard]] auto IsIlluminated() const; }; template <> struct consume { @@ -663,11 +656,11 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMediaFrameFormat { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MajorType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subtype() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) FrameRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrameFormat) VideoFormat() const; + [[nodiscard]] auto MajorType() const; + [[nodiscard]] auto Subtype() const; + [[nodiscard]] auto FrameRate() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto VideoFormat() const; }; template <> struct consume { @@ -676,7 +669,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMediaFrameFormat2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) AudioEncodingProperties() const; + [[nodiscard]] auto AudioEncodingProperties() const; }; template <> struct consume { @@ -685,13 +678,13 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMediaFrameReader { - WINRT_IMPL_AUTO(winrt::event_token) FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FrameArrived_revoker = impl::event_revoker::remove_FrameArrived>; - [[nodiscard]] FrameArrived_revoker FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FrameArrived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) TryAcquireLatestFrame() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StopAsync() const; + [[nodiscard]] auto FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::event_token const& token) const noexcept; + auto TryAcquireLatestFrame() const; + auto StartAsync() const; + auto StopAsync() const; }; template <> struct consume { @@ -700,8 +693,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMediaFrameReader2 { - WINRT_IMPL_AUTO(void) AcquisitionMode(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode) AcquisitionMode() const; + auto AcquisitionMode(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode const& value) const; + [[nodiscard]] auto AcquisitionMode() const; }; template <> struct consume { @@ -710,14 +703,14 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMediaFrameReference { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceKind) SourceKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameFormat) Format() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SystemRelativeTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::BufferMediaFrame) BufferMediaFrame() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrame) VideoMediaFrame() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) CoordinateSystem() const; + [[nodiscard]] auto SourceKind() const; + [[nodiscard]] auto Format() const; + [[nodiscard]] auto SystemRelativeTime() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto BufferMediaFrame() const; + [[nodiscard]] auto VideoMediaFrame() const; + [[nodiscard]] auto CoordinateSystem() const; }; template <> struct consume { @@ -726,7 +719,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMediaFrameReference2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::AudioMediaFrame) AudioMediaFrame() const; + [[nodiscard]] auto AudioMediaFrame() const; }; template <> struct consume { @@ -735,16 +728,16 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMediaFrameSource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceInfo) Info() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceController) Controller() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedFormats() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameFormat) CurrentFormat() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetFormatAsync(winrt::Windows::Media::Capture::Frames::MediaFrameFormat const& format) const; - WINRT_IMPL_AUTO(winrt::event_token) FormatChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Info() const; + [[nodiscard]] auto Controller() const; + [[nodiscard]] auto SupportedFormats() const; + [[nodiscard]] auto CurrentFormat() const; + auto SetFormatAsync(winrt::Windows::Media::Capture::Frames::MediaFrameFormat const& format) const; + auto FormatChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FormatChanged_revoker = impl::event_revoker::remove_FormatChanged>; - [[nodiscard]] FormatChanged_revoker FormatChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FormatChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) TryGetCameraIntrinsics(winrt::Windows::Media::Capture::Frames::MediaFrameFormat const& format) const; + [[nodiscard]] auto FormatChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FormatChanged(winrt::event_token const& token) const noexcept; + auto TryGetCameraIntrinsics(winrt::Windows::Media::Capture::Frames::MediaFrameFormat const& format) const; }; template <> struct consume { @@ -753,9 +746,9 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceController { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPropertyAsync(param::hstring const& propertyId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetPropertyAsync(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceController) VideoDeviceController() const; + auto GetPropertyAsync(param::hstring const& propertyId) const; + auto SetPropertyAsync(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const; + [[nodiscard]] auto VideoDeviceController() const; }; template <> struct consume { @@ -764,8 +757,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceController2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPropertyByExtendedIdAsync(array_view extendedPropertyId, winrt::Windows::Foundation::IReference const& maxPropertyValueSize) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetPropertyByExtendedIdAsync(array_view extendedPropertyId, array_view propertyValue) const; + auto GetPropertyByExtendedIdAsync(array_view extendedPropertyId, winrt::Windows::Foundation::IReference const& maxPropertyValueSize) const; + auto SetPropertyByExtendedIdAsync(array_view extendedPropertyId, array_view propertyValue) const; }; template <> struct consume { @@ -774,7 +767,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceController3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AudioDeviceController) AudioDeviceController() const; + [[nodiscard]] auto AudioDeviceController() const; }; template <> struct consume { @@ -783,8 +776,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceGetPropertyResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceGetPropertyStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Value() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -793,9 +786,9 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroup { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SourceInfos() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto SourceInfos() const; }; template <> struct consume { @@ -804,9 +797,9 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroupStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; + auto FindAllAsync() const; + auto FromIdAsync(param::hstring const& id) const; + auto GetDeviceSelector() const; }; template <> struct consume { @@ -815,13 +808,13 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaStreamType) MediaStreamType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceKind) SourceKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup) SourceGroup() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) DeviceInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) CoordinateSystem() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto MediaStreamType() const; + [[nodiscard]] auto SourceKind() const; + [[nodiscard]] auto SourceGroup() const; + [[nodiscard]] auto DeviceInformation() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto CoordinateSystem() const; }; template <> struct consume { @@ -830,8 +823,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProfileId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) VideoProfileMediaDescription() const; + [[nodiscard]] auto ProfileId() const; + [[nodiscard]] auto VideoProfileMediaDescription() const; }; template <> struct consume { @@ -840,7 +833,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo3 { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Panel) GetRelativePanel(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const; + auto GetRelativePanel(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const; }; template <> struct consume { @@ -857,13 +850,13 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader { - WINRT_IMPL_AUTO(winrt::event_token) FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FrameArrived_revoker = impl::event_revoker::remove_FrameArrived>; - [[nodiscard]] FrameArrived_revoker FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FrameArrived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReference) TryAcquireLatestFrame() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StopAsync() const; + [[nodiscard]] auto FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameArrived(winrt::event_token const& token) const noexcept; + auto TryAcquireLatestFrame() const; + auto StartAsync() const; + auto StopAsync() const; }; template <> struct consume { @@ -872,8 +865,8 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader2 { - WINRT_IMPL_AUTO(void) AcquisitionMode(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode) AcquisitionMode() const; + auto AcquisitionMode(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode const& value) const; + [[nodiscard]] auto AcquisitionMode() const; }; template <> struct consume { @@ -882,7 +875,7 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReference { - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) TryGetFrameReferenceBySourceId(param::hstring const& sourceId) const; + auto TryGetFrameReferenceBySourceId(param::hstring const& sourceId) const; }; template <> struct consume { @@ -891,14 +884,14 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IVideoMediaFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) FrameReference() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrameFormat) VideoFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) SoftwareBitmap() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) Direct3DSurface() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) CameraIntrinsics() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::InfraredMediaFrame) InfraredMediaFrame() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::DepthMediaFrame) DepthMediaFrame() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) GetVideoFrame() const; + [[nodiscard]] auto FrameReference() const; + [[nodiscard]] auto VideoFormat() const; + [[nodiscard]] auto SoftwareBitmap() const; + [[nodiscard]] auto Direct3DSurface() const; + [[nodiscard]] auto CameraIntrinsics() const; + [[nodiscard]] auto InfraredMediaFrame() const; + [[nodiscard]] auto DepthMediaFrame() const; + auto GetVideoFrame() const; }; template <> struct consume { @@ -907,10 +900,10 @@ namespace winrt::impl template struct consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameFormat) MediaFrameFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::DepthMediaFrameFormat) DepthFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Width() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Height() const; + [[nodiscard]] auto MediaFrameFormat() const; + [[nodiscard]] auto DepthFormat() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.1.h index cf1b2155..95fed9e0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Capture_Frames_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.2.h index f22e9e09..9851c408 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Capture_Frames_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.0.h index 4c1847bc..f27b68d9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Casting_0_H @@ -11,15 +11,10 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; struct Rect; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IRandomAccessStreamWithContentType; @@ -215,20 +210,20 @@ namespace winrt::impl template struct consume_Windows_Media_Casting_ICastingConnection { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingConnectionState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingDevice) Device() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingSource) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::Media::Casting::CastingSource const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto Device() const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::Media::Casting::CastingSource const& value) const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; - [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + auto ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ErrorOccurred_revoker = impl::event_revoker::remove_ErrorOccurred>; - [[nodiscard]] ErrorOccurred_revoker ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ErrorOccurred(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStartCastingAsync(winrt::Windows::Media::Casting::CastingSource const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DisconnectAsync() const; + [[nodiscard]] auto ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ErrorOccurred(winrt::event_token const& token) const noexcept; + auto RequestStartCastingAsync(winrt::Windows::Media::Casting::CastingSource const& value) const; + auto DisconnectAsync() const; }; template <> struct consume { @@ -237,8 +232,8 @@ namespace winrt::impl template struct consume_Windows_Media_Casting_ICastingConnectionErrorOccurredEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingConnectionErrorStatus) ErrorStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const; + [[nodiscard]] auto ErrorStatus() const; + [[nodiscard]] auto Message() const; }; template <> struct consume { @@ -247,11 +242,11 @@ namespace winrt::impl template struct consume_Windows_Media_Casting_ICastingDevice { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FriendlyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) Icon() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetSupportedCastingPlaybackTypesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingConnection) CreateCastingConnection() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto FriendlyName() const; + [[nodiscard]] auto Icon() const; + auto GetSupportedCastingPlaybackTypesAsync() const; + auto CreateCastingConnection() const; }; template <> struct consume { @@ -260,19 +255,19 @@ namespace winrt::impl template struct consume_Windows_Media_Casting_ICastingDevicePicker { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingDevicePickerFilter) Filter() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePickerAppearance) Appearance() const; - WINRT_IMPL_AUTO(winrt::event_token) CastingDeviceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Filter() const; + [[nodiscard]] auto Appearance() const; + auto CastingDeviceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CastingDeviceSelected_revoker = impl::event_revoker::remove_CastingDeviceSelected>; - [[nodiscard]] CastingDeviceSelected_revoker CastingDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CastingDeviceSelected(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CastingDevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CastingDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CastingDeviceSelected(winrt::event_token const& token) const noexcept; + auto CastingDevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CastingDevicePickerDismissed_revoker = impl::event_revoker::remove_CastingDevicePickerDismissed>; - [[nodiscard]] CastingDevicePickerDismissed_revoker CastingDevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CastingDevicePickerDismissed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Show(winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(void) Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; - WINRT_IMPL_AUTO(void) Hide() const; + [[nodiscard]] auto CastingDevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CastingDevicePickerDismissed(winrt::event_token const& token) const noexcept; + auto Show(winrt::Windows::Foundation::Rect const& selection) const; + auto Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + auto Hide() const; }; template <> struct consume { @@ -281,13 +276,13 @@ namespace winrt::impl template struct consume_Windows_Media_Casting_ICastingDevicePickerFilter { - [[nodiscard]] WINRT_IMPL_AUTO(bool) SupportsAudio() const; - WINRT_IMPL_AUTO(void) SupportsAudio(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SupportsVideo() const; - WINRT_IMPL_AUTO(void) SupportsVideo(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SupportsPictures() const; - WINRT_IMPL_AUTO(void) SupportsPictures(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SupportedCastingSources() const; + [[nodiscard]] auto SupportsAudio() const; + auto SupportsAudio(bool value) const; + [[nodiscard]] auto SupportsVideo() const; + auto SupportsVideo(bool value) const; + [[nodiscard]] auto SupportsPictures() const; + auto SupportsPictures(bool value) const; + [[nodiscard]] auto SupportedCastingSources() const; }; template <> struct consume { @@ -296,7 +291,7 @@ namespace winrt::impl template struct consume_Windows_Media_Casting_ICastingDeviceSelectedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingDevice) SelectedCastingDevice() const; + [[nodiscard]] auto SelectedCastingDevice() const; }; template <> struct consume { @@ -305,10 +300,10 @@ namespace winrt::impl template struct consume_Windows_Media_Casting_ICastingDeviceStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::Windows::Media::Casting::CastingPlaybackTypes const& type) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDeviceSelectorFromCastingSourceAsync(winrt::Windows::Media::Casting::CastingSource const& castingSource) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DeviceInfoSupportsCastingAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const; + auto GetDeviceSelector(winrt::Windows::Media::Casting::CastingPlaybackTypes const& type) const; + auto GetDeviceSelectorFromCastingSourceAsync(winrt::Windows::Media::Casting::CastingSource const& castingSource) const; + auto FromIdAsync(param::hstring const& value) const; + auto DeviceInfoSupportsCastingAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const; }; template <> struct consume { @@ -317,8 +312,8 @@ namespace winrt::impl template struct consume_Windows_Media_Casting_ICastingSource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) PreferredSourceUri() const; - WINRT_IMPL_AUTO(void) PreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto PreferredSourceUri() const; + auto PreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.1.h index 16ac2259..abb65fa0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Casting_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.2.h index d8322515..7526c6e1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Casting_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.0.h index fdc977e6..c3ebbca4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_ClosedCaptioning_0_H @@ -98,18 +98,18 @@ namespace winrt::impl template struct consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor) FontColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) ComputedFontColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity) FontOpacity() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionSize) FontSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionStyle) FontStyle() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionEdgeEffect) FontEffect() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor) BackgroundColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) ComputedBackgroundColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity) BackgroundOpacity() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor) RegionColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) ComputedRegionColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity) RegionOpacity() const; + [[nodiscard]] auto FontColor() const; + [[nodiscard]] auto ComputedFontColor() const; + [[nodiscard]] auto FontOpacity() const; + [[nodiscard]] auto FontSize() const; + [[nodiscard]] auto FontStyle() const; + [[nodiscard]] auto FontEffect() const; + [[nodiscard]] auto BackgroundColor() const; + [[nodiscard]] auto ComputedBackgroundColor() const; + [[nodiscard]] auto BackgroundOpacity() const; + [[nodiscard]] auto RegionColor() const; + [[nodiscard]] auto ComputedRegionColor() const; + [[nodiscard]] auto RegionOpacity() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.1.h index 2e2a16ca..bbc87bed 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_ClosedCaptioning_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.2.h index c154fb67..4c8ca9b8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_ClosedCaptioning_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.0.h index 6f8da5bb..ef54e9f7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_ContentRestrictions_0_H @@ -7,8 +7,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { @@ -128,9 +126,9 @@ namespace winrt::impl template struct consume_Windows_Media_ContentRestrictions_IContentRestrictionsBrowsePolicy { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GeographicRegion() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxBrowsableAgeRating() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PreferredAgeRating() const; + [[nodiscard]] auto GeographicRegion() const; + [[nodiscard]] auto MaxBrowsableAgeRating() const; + [[nodiscard]] auto PreferredAgeRating() const; }; template <> struct consume { @@ -139,16 +137,16 @@ namespace winrt::impl template struct consume_Windows_Media_ContentRestrictions_IRatedContentDescription { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(void) Id(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Image() const; - WINRT_IMPL_AUTO(void) Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::ContentRestrictions::RatedContentCategory) Category() const; - WINRT_IMPL_AUTO(void) Category(winrt::Windows::Media::ContentRestrictions::RatedContentCategory const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Ratings() const; - WINRT_IMPL_AUTO(void) Ratings(param::vector const& value) const; + [[nodiscard]] auto Id() const; + auto Id(param::hstring const& value) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Image() const; + auto Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto Category() const; + auto Category(winrt::Windows::Media::ContentRestrictions::RatedContentCategory const& value) const; + [[nodiscard]] auto Ratings() const; + auto Ratings(param::vector const& value) const; }; template <> struct consume { @@ -157,7 +155,7 @@ namespace winrt::impl template struct consume_Windows_Media_ContentRestrictions_IRatedContentDescriptionFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::ContentRestrictions::RatedContentDescription) Create(param::hstring const& id, param::hstring const& title, winrt::Windows::Media::ContentRestrictions::RatedContentCategory const& category) const; + auto Create(param::hstring const& id, param::hstring const& title, winrt::Windows::Media::ContentRestrictions::RatedContentCategory const& category) const; }; template <> struct consume { @@ -166,13 +164,13 @@ namespace winrt::impl template struct consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetBrowsePolicyAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetRestrictionLevelAsync(winrt::Windows::Media::ContentRestrictions::RatedContentDescription const& RatedContentDescription) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestContentAccessAsync(winrt::Windows::Media::ContentRestrictions::RatedContentDescription const& RatedContentDescription) const; - WINRT_IMPL_AUTO(winrt::event_token) RestrictionsChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + auto GetBrowsePolicyAsync() const; + auto GetRestrictionLevelAsync(winrt::Windows::Media::ContentRestrictions::RatedContentDescription const& RatedContentDescription) const; + auto RequestContentAccessAsync(winrt::Windows::Media::ContentRestrictions::RatedContentDescription const& RatedContentDescription) const; + auto RestrictionsChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using RestrictionsChanged_revoker = impl::event_revoker::remove_RestrictionsChanged>; - [[nodiscard]] RestrictionsChanged_revoker RestrictionsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RestrictionsChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RestrictionsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto RestrictionsChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -181,7 +179,7 @@ namespace winrt::impl template struct consume_Windows_Media_ContentRestrictions_IRatedContentRestrictionsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::ContentRestrictions::RatedContentRestrictions) CreateWithMaxAgeRating(uint32_t maxAgeRating) const; + auto CreateWithMaxAgeRating(uint32_t maxAgeRating) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.1.h index 28f950ca..4a438907 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_ContentRestrictions_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.2.h index 87b2b38a..884efb35 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_ContentRestrictions_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.0.h index c7145b3b..3e8d800a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Control_0_H @@ -6,18 +6,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Media { enum class MediaPlaybackAutoRepeatMode : int32_t; - enum class MediaPlaybackType : int32_t; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { @@ -283,37 +276,37 @@ namespace winrt::impl template struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SourceAppUserModelId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryGetMediaPropertiesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionTimelineProperties) GetTimelineProperties() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionPlaybackInfo) GetPlaybackInfo() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryPlayAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryPauseAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryStopAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryRecordAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryFastForwardAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryRewindAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySkipNextAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySkipPreviousAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryChangeChannelUpAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryChangeChannelDownAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryTogglePlayPauseAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryChangeAutoRepeatModeAsync(winrt::Windows::Media::MediaPlaybackAutoRepeatMode const& requestedAutoRepeatMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryChangePlaybackRateAsync(double requestedPlaybackRate) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryChangeShuffleActiveAsync(bool requestedShuffleState) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryChangePlaybackPositionAsync(int64_t requestedPlaybackPosition) const; - WINRT_IMPL_AUTO(winrt::event_token) TimelinePropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SourceAppUserModelId() const; + auto TryGetMediaPropertiesAsync() const; + auto GetTimelineProperties() const; + auto GetPlaybackInfo() const; + auto TryPlayAsync() const; + auto TryPauseAsync() const; + auto TryStopAsync() const; + auto TryRecordAsync() const; + auto TryFastForwardAsync() const; + auto TryRewindAsync() const; + auto TrySkipNextAsync() const; + auto TrySkipPreviousAsync() const; + auto TryChangeChannelUpAsync() const; + auto TryChangeChannelDownAsync() const; + auto TryTogglePlayPauseAsync() const; + auto TryChangeAutoRepeatModeAsync(winrt::Windows::Media::MediaPlaybackAutoRepeatMode const& requestedAutoRepeatMode) const; + auto TryChangePlaybackRateAsync(double requestedPlaybackRate) const; + auto TryChangeShuffleActiveAsync(bool requestedShuffleState) const; + auto TryChangePlaybackPositionAsync(int64_t requestedPlaybackPosition) const; + auto TimelinePropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TimelinePropertiesChanged_revoker = impl::event_revoker::remove_TimelinePropertiesChanged>; - [[nodiscard]] TimelinePropertiesChanged_revoker TimelinePropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TimelinePropertiesChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PlaybackInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TimelinePropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TimelinePropertiesChanged(winrt::event_token const& token) const noexcept; + auto PlaybackInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PlaybackInfoChanged_revoker = impl::event_revoker::remove_PlaybackInfoChanged>; - [[nodiscard]] PlaybackInfoChanged_revoker PlaybackInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PlaybackInfoChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MediaPropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PlaybackInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlaybackInfoChanged(winrt::event_token const& token) const noexcept; + auto MediaPropertiesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MediaPropertiesChanged_revoker = impl::event_revoker::remove_MediaPropertiesChanged>; - [[nodiscard]] MediaPropertiesChanged_revoker MediaPropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MediaPropertiesChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto MediaPropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MediaPropertiesChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -322,16 +315,16 @@ namespace winrt::impl template struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager { - WINRT_IMPL_AUTO(winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession) GetCurrentSession() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetSessions() const; - WINRT_IMPL_AUTO(winrt::event_token) CurrentSessionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentSession() const; + auto GetSessions() const; + auto CurrentSessionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CurrentSessionChanged_revoker = impl::event_revoker::remove_CurrentSessionChanged>; - [[nodiscard]] CurrentSessionChanged_revoker CurrentSessionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CurrentSessionChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SessionsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CurrentSessionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CurrentSessionChanged(winrt::event_token const& token) const noexcept; + auto SessionsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SessionsChanged_revoker = impl::event_revoker::remove_SessionsChanged>; - [[nodiscard]] SessionsChanged_revoker SessionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SessionsChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SessionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SessionsChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -340,7 +333,7 @@ namespace winrt::impl template struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAsync() const; + auto RequestAsync() const; }; template <> struct consume { @@ -349,16 +342,16 @@ namespace winrt::impl template struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subtitle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlbumArtist() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Artist() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlbumTitle() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) TrackNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Genres() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) AlbumTrackCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PlaybackType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Thumbnail() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Subtitle() const; + [[nodiscard]] auto AlbumArtist() const; + [[nodiscard]] auto Artist() const; + [[nodiscard]] auto AlbumTitle() const; + [[nodiscard]] auto TrackNumber() const; + [[nodiscard]] auto Genres() const; + [[nodiscard]] auto AlbumTrackCount() const; + [[nodiscard]] auto PlaybackType() const; + [[nodiscard]] auto Thumbnail() const; }; template <> struct consume { @@ -367,21 +360,21 @@ namespace winrt::impl template struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPlayEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPauseEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStopEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRecordEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFastForwardEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRewindEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsNextEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPreviousEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsChannelUpEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsChannelDownEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPlayPauseToggleEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsShuffleEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRepeatEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPlaybackRateEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPlaybackPositionEnabled() const; + [[nodiscard]] auto IsPlayEnabled() const; + [[nodiscard]] auto IsPauseEnabled() const; + [[nodiscard]] auto IsStopEnabled() const; + [[nodiscard]] auto IsRecordEnabled() const; + [[nodiscard]] auto IsFastForwardEnabled() const; + [[nodiscard]] auto IsRewindEnabled() const; + [[nodiscard]] auto IsNextEnabled() const; + [[nodiscard]] auto IsPreviousEnabled() const; + [[nodiscard]] auto IsChannelUpEnabled() const; + [[nodiscard]] auto IsChannelDownEnabled() const; + [[nodiscard]] auto IsPlayPauseToggleEnabled() const; + [[nodiscard]] auto IsShuffleEnabled() const; + [[nodiscard]] auto IsRepeatEnabled() const; + [[nodiscard]] auto IsPlaybackRateEnabled() const; + [[nodiscard]] auto IsPlaybackPositionEnabled() const; }; template <> struct consume { @@ -390,12 +383,12 @@ namespace winrt::impl template struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionPlaybackControls) Controls() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionPlaybackStatus) PlaybackStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PlaybackType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AutoRepeatMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PlaybackRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) IsShuffleActive() const; + [[nodiscard]] auto Controls() const; + [[nodiscard]] auto PlaybackStatus() const; + [[nodiscard]] auto PlaybackType() const; + [[nodiscard]] auto AutoRepeatMode() const; + [[nodiscard]] auto PlaybackRate() const; + [[nodiscard]] auto IsShuffleActive() const; }; template <> struct consume { @@ -404,12 +397,12 @@ namespace winrt::impl template struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) StartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) EndTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) MinSeekTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) MaxSeekTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastUpdatedTime() const; + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto EndTime() const; + [[nodiscard]] auto MinSeekTime() const; + [[nodiscard]] auto MaxSeekTime() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto LastUpdatedTime() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.1.h index 9bbff292..8878b7cf 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Control_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.2.h index 97dd1359..4bfd5abd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Control_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.0.h index 36b924cf..c44c8460 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Core_0_H @@ -13,8 +13,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; struct HResult; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; @@ -23,9 +21,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IObservableVector; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; struct PropertySet; struct ValueSet; } @@ -35,7 +30,6 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 } WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging { - enum class BitmapPixelFormat : int32_t; struct SoftwareBitmap; } WINRT_EXPORT namespace winrt::Windows::Media::Capture @@ -51,18 +45,10 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices { struct VideoDeviceController; } -WINRT_EXPORT namespace winrt::Windows::Media::Devices::Core -{ - struct FrameController; -} WINRT_EXPORT namespace winrt::Windows::Media::Effects { struct IVideoEffectDefinition; } -WINRT_EXPORT namespace winrt::Windows::Media::FaceAnalysis -{ - struct DetectedFace; -} WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties { struct AudioEncodingProperties; @@ -2237,7 +2223,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IAudioStreamDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) EncodingProperties() const; + [[nodiscard]] auto EncodingProperties() const; }; template <> struct consume { @@ -2246,10 +2232,10 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IAudioStreamDescriptor2 { - WINRT_IMPL_AUTO(void) LeadingEncoderPadding(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) LeadingEncoderPadding() const; - WINRT_IMPL_AUTO(void) TrailingEncoderPadding(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TrailingEncoderPadding() const; + auto LeadingEncoderPadding(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto LeadingEncoderPadding() const; + auto TrailingEncoderPadding(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto TrailingEncoderPadding() const; }; template <> struct consume { @@ -2258,7 +2244,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IAudioStreamDescriptor3 { - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::AudioStreamDescriptor) Copy() const; + auto Copy() const; }; template <> struct consume { @@ -2267,7 +2253,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IAudioStreamDescriptorFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::AudioStreamDescriptor) Create(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; + auto Create(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; }; template <> struct consume { @@ -2276,14 +2262,14 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IAudioTrack { - WINRT_IMPL_AUTO(winrt::event_token) OpenFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OpenFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using OpenFailed_revoker = impl::event_revoker::remove_OpenFailed>; - [[nodiscard]] OpenFailed_revoker OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) OpenFailed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) GetEncodingProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) PlaybackItem() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::AudioTrackSupportInfo) SupportInfo() const; + [[nodiscard]] auto OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OpenFailed(winrt::event_token const& token) const noexcept; + auto GetEncodingProperties() const; + [[nodiscard]] auto PlaybackItem() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto SupportInfo() const; }; template <> struct consume { @@ -2292,7 +2278,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IAudioTrackOpenFailedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -2301,10 +2287,10 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IAudioTrackSupportInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaDecoderStatus) DecoderStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::AudioDecoderDegradation) Degradation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::AudioDecoderDegradationReason) DegradationReason() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceStatus) MediaSourceStatus() const; + [[nodiscard]] auto DecoderStatus() const; + [[nodiscard]] auto Degradation() const; + [[nodiscard]] auto DegradationReason() const; + [[nodiscard]] auto MediaSourceStatus() const; }; template <> struct consume { @@ -2313,8 +2299,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IChapterCue { - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Title() const; }; template <> struct consume { @@ -2323,11 +2309,11 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ICodecInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::CodecKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::CodecCategory) Category() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Subtypes() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTrusted() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Category() const; + [[nodiscard]] auto Subtypes() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto IsTrusted() const; }; template <> struct consume { @@ -2336,7 +2322,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ICodecQuery { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAsync(winrt::Windows::Media::Core::CodecKind const& kind, winrt::Windows::Media::Core::CodecCategory const& category, param::hstring const& subType) const; + auto FindAllAsync(winrt::Windows::Media::Core::CodecKind const& kind, winrt::Windows::Media::Core::CodecCategory const& category, param::hstring const& subType) const; }; template <> struct consume { @@ -2345,57 +2331,57 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ICodecSubtypesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatDV25() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatDV50() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatDvc() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatDvh1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatDvhD() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatDvsd() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatDvsl() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatH263() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatH264() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatH265() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatH264ES() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatHevc() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatHevcES() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatM4S2() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatMjpg() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatMP43() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatMP4S() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatMP4V() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatMpeg2() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatVP80() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatVP90() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatMpg1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatMss1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatMss2() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatWmv1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatWmv2() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatWmv3() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormatWvc1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoFormat420O() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatAac() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatAdts() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatAlac() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatAmrNB() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatAmrWB() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatAmrWP() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatDolbyAC3() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatDolbyAC3Spdif() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatDolbyDDPlus() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatDrm() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatDts() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatFlac() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatFloat() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatMP3() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatMPeg() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatMsp1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatOpus() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatPcm() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatWmaSpdif() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatWMAudioLossless() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatWMAudioV8() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioFormatWMAudioV9() const; + [[nodiscard]] auto VideoFormatDV25() const; + [[nodiscard]] auto VideoFormatDV50() const; + [[nodiscard]] auto VideoFormatDvc() const; + [[nodiscard]] auto VideoFormatDvh1() const; + [[nodiscard]] auto VideoFormatDvhD() const; + [[nodiscard]] auto VideoFormatDvsd() const; + [[nodiscard]] auto VideoFormatDvsl() const; + [[nodiscard]] auto VideoFormatH263() const; + [[nodiscard]] auto VideoFormatH264() const; + [[nodiscard]] auto VideoFormatH265() const; + [[nodiscard]] auto VideoFormatH264ES() const; + [[nodiscard]] auto VideoFormatHevc() const; + [[nodiscard]] auto VideoFormatHevcES() const; + [[nodiscard]] auto VideoFormatM4S2() const; + [[nodiscard]] auto VideoFormatMjpg() const; + [[nodiscard]] auto VideoFormatMP43() const; + [[nodiscard]] auto VideoFormatMP4S() const; + [[nodiscard]] auto VideoFormatMP4V() const; + [[nodiscard]] auto VideoFormatMpeg2() const; + [[nodiscard]] auto VideoFormatVP80() const; + [[nodiscard]] auto VideoFormatVP90() const; + [[nodiscard]] auto VideoFormatMpg1() const; + [[nodiscard]] auto VideoFormatMss1() const; + [[nodiscard]] auto VideoFormatMss2() const; + [[nodiscard]] auto VideoFormatWmv1() const; + [[nodiscard]] auto VideoFormatWmv2() const; + [[nodiscard]] auto VideoFormatWmv3() const; + [[nodiscard]] auto VideoFormatWvc1() const; + [[nodiscard]] auto VideoFormat420O() const; + [[nodiscard]] auto AudioFormatAac() const; + [[nodiscard]] auto AudioFormatAdts() const; + [[nodiscard]] auto AudioFormatAlac() const; + [[nodiscard]] auto AudioFormatAmrNB() const; + [[nodiscard]] auto AudioFormatAmrWB() const; + [[nodiscard]] auto AudioFormatAmrWP() const; + [[nodiscard]] auto AudioFormatDolbyAC3() const; + [[nodiscard]] auto AudioFormatDolbyAC3Spdif() const; + [[nodiscard]] auto AudioFormatDolbyDDPlus() const; + [[nodiscard]] auto AudioFormatDrm() const; + [[nodiscard]] auto AudioFormatDts() const; + [[nodiscard]] auto AudioFormatFlac() const; + [[nodiscard]] auto AudioFormatFloat() const; + [[nodiscard]] auto AudioFormatMP3() const; + [[nodiscard]] auto AudioFormatMPeg() const; + [[nodiscard]] auto AudioFormatMsp1() const; + [[nodiscard]] auto AudioFormatOpus() const; + [[nodiscard]] auto AudioFormatPcm() const; + [[nodiscard]] auto AudioFormatWmaSpdif() const; + [[nodiscard]] auto AudioFormatWMAudioLossless() const; + [[nodiscard]] auto AudioFormatWMAudioV8() const; + [[nodiscard]] auto AudioFormatWMAudioV9() const; }; template <> struct consume { @@ -2404,8 +2390,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IDataCue { - WINRT_IMPL_AUTO(void) Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Data() const; + auto Data(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto Data() const; }; template <> struct consume { @@ -2414,7 +2400,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IDataCue2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::PropertySet) Properties() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -2423,7 +2409,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IFaceDetectedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::FaceDetectionEffectFrame) ResultFrame() const; + [[nodiscard]] auto ResultFrame() const; }; template <> struct consume { @@ -2432,14 +2418,14 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IFaceDetectionEffect { - WINRT_IMPL_AUTO(void) Enabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Enabled() const; - WINRT_IMPL_AUTO(void) DesiredDetectionInterval(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DesiredDetectionInterval() const; - WINRT_IMPL_AUTO(winrt::event_token) FaceDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Enabled(bool value) const; + [[nodiscard]] auto Enabled() const; + auto DesiredDetectionInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto DesiredDetectionInterval() const; + auto FaceDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FaceDetected_revoker = impl::event_revoker::remove_FaceDetected>; - [[nodiscard]] FaceDetected_revoker FaceDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FaceDetected(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto FaceDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FaceDetected(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -2448,10 +2434,10 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IFaceDetectionEffectDefinition { - WINRT_IMPL_AUTO(void) DetectionMode(winrt::Windows::Media::Core::FaceDetectionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::FaceDetectionMode) DetectionMode() const; - WINRT_IMPL_AUTO(void) SynchronousDetectionEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SynchronousDetectionEnabled() const; + auto DetectionMode(winrt::Windows::Media::Core::FaceDetectionMode const& value) const; + [[nodiscard]] auto DetectionMode() const; + auto SynchronousDetectionEnabled(bool value) const; + [[nodiscard]] auto SynchronousDetectionEnabled() const; }; template <> struct consume { @@ -2460,7 +2446,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IFaceDetectionEffectFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) DetectedFaces() const; + [[nodiscard]] auto DetectedFaces() const; }; template <> struct consume { @@ -2469,8 +2455,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IHighDynamicRangeControl { - WINRT_IMPL_AUTO(void) Enabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Enabled() const; + auto Enabled(bool value) const; + [[nodiscard]] auto Enabled() const; }; template <> struct consume { @@ -2479,8 +2465,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IHighDynamicRangeOutput { - [[nodiscard]] WINRT_IMPL_AUTO(double) Certainty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FrameControllers() const; + [[nodiscard]] auto Certainty() const; + [[nodiscard]] auto FrameControllers() const; }; template <> struct consume { @@ -2489,12 +2475,12 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IImageCue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextPoint) Position() const; - WINRT_IMPL_AUTO(void) Position(winrt::Windows::Media::Core::TimedTextPoint const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSize) Extent() const; - WINRT_IMPL_AUTO(void) Extent(winrt::Windows::Media::Core::TimedTextSize const& value) const; - WINRT_IMPL_AUTO(void) SoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) SoftwareBitmap() const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Media::Core::TimedTextPoint const& value) const; + [[nodiscard]] auto Extent() const; + auto Extent(winrt::Windows::Media::Core::TimedTextSize const& value) const; + auto SoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& value) const; + [[nodiscard]] auto SoftwareBitmap() const; }; template <> struct consume { @@ -2503,9 +2489,9 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IInitializeMediaStreamSourceRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) Source() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) RandomAccessStream() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Source() const; + [[nodiscard]] auto RandomAccessStream() const; + auto GetDeferral() const; }; template <> struct consume { @@ -2514,7 +2500,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ILowLightFusionResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) Frame() const; + [[nodiscard]] auto Frame() const; }; template <> struct consume { @@ -2523,9 +2509,9 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ILowLightFusionStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedBitmapPixelFormats() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxSupportedFrameCount() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) FuseAsync(param::async_iterable const& frameSet) const; + [[nodiscard]] auto SupportedBitmapPixelFormats() const; + [[nodiscard]] auto MaxSupportedFrameCount() const; + auto FuseAsync(param::async_iterable const& frameSet) const; }; template <> struct consume { @@ -2534,13 +2520,13 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaBinder { - WINRT_IMPL_AUTO(winrt::event_token) Binding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Binding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Binding_revoker = impl::event_revoker::remove_Binding>; - [[nodiscard]] Binding_revoker Binding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Binding(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Token() const; - WINRT_IMPL_AUTO(void) Token(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) Source() const; + [[nodiscard]] auto Binding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Binding(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Token() const; + auto Token(param::hstring const& value) const; + [[nodiscard]] auto Source() const; }; template <> struct consume { @@ -2549,15 +2535,15 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaBindingEventArgs { - WINRT_IMPL_AUTO(winrt::event_token) Canceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Canceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Canceled_revoker = impl::event_revoker::remove_Canceled>; - [[nodiscard]] Canceled_revoker Canceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Canceled(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaBinder) MediaBinder() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; - WINRT_IMPL_AUTO(void) SetUri(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(void) SetStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& contentType) const; - WINRT_IMPL_AUTO(void) SetStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream, param::hstring const& contentType) const; + [[nodiscard]] auto Canceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Canceled(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto MediaBinder() const; + auto GetDeferral() const; + auto SetUri(winrt::Windows::Foundation::Uri const& uri) const; + auto SetStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& contentType) const; + auto SetStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream, param::hstring const& contentType) const; }; template <> struct consume { @@ -2566,8 +2552,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaBindingEventArgs2 { - WINRT_IMPL_AUTO(void) SetAdaptiveMediaSource(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource const& mediaSource) const; - WINRT_IMPL_AUTO(void) SetStorageFile(winrt::Windows::Storage::IStorageFile const& file) const; + auto SetAdaptiveMediaSource(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource const& mediaSource) const; + auto SetStorageFile(winrt::Windows::Storage::IStorageFile const& file) const; }; template <> struct consume { @@ -2576,7 +2562,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaBindingEventArgs3 { - WINRT_IMPL_AUTO(void) SetDownloadOperation(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation const& downloadOperation) const; + auto SetDownloadOperation(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation const& downloadOperation) const; }; template <> struct consume { @@ -2585,12 +2571,12 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaCue { - WINRT_IMPL_AUTO(void) StartTime(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) StartTime() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - WINRT_IMPL_AUTO(void) Id(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; + auto StartTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto StartTime() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Duration() const; + auto Id(param::hstring const& value) const; + [[nodiscard]] auto Id() const; }; template <> struct consume { @@ -2599,7 +2585,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaCueEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaCue) Cue() const; + [[nodiscard]] auto Cue() const; }; template <> struct consume { @@ -2616,15 +2602,15 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaSource2 { - WINRT_IMPL_AUTO(winrt::event_token) OpenOperationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OpenOperationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using OpenOperationCompleted_revoker = impl::event_revoker::remove_OpenOperationCompleted>; - [[nodiscard]] OpenOperationCompleted_revoker OpenOperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) OpenOperationCompleted(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) CustomProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOpen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) ExternalTimedTextSources() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) ExternalTimedMetadataTracks() const; + [[nodiscard]] auto OpenOperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OpenOperationCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CustomProperties() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto IsOpen() const; + [[nodiscard]] auto ExternalTimedTextSources() const; + [[nodiscard]] auto ExternalTimedMetadataTracks() const; }; template <> struct consume { @@ -2633,12 +2619,12 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaSource3 { - WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; - [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StateChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceState) State() const; - WINRT_IMPL_AUTO(void) Reset() const; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto State() const; + auto Reset() const; }; template <> struct consume { @@ -2647,11 +2633,11 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaSource4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource) AdaptiveMediaSource() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) MediaStreamSource() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseStreamSource) MseStreamSource() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) OpenAsync() const; + [[nodiscard]] auto AdaptiveMediaSource() const; + [[nodiscard]] auto MediaStreamSource() const; + [[nodiscard]] auto MseStreamSource() const; + [[nodiscard]] auto Uri() const; + auto OpenAsync() const; }; template <> struct consume { @@ -2660,7 +2646,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaSource5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation) DownloadOperation() const; + [[nodiscard]] auto DownloadOperation() const; }; template <> struct consume { @@ -2669,11 +2655,11 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaSourceAppServiceConnection { - WINRT_IMPL_AUTO(winrt::event_token) InitializeMediaStreamSourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto InitializeMediaStreamSourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using InitializeMediaStreamSourceRequested_revoker = impl::event_revoker::remove_InitializeMediaStreamSourceRequested>; - [[nodiscard]] InitializeMediaStreamSourceRequested_revoker InitializeMediaStreamSourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) InitializeMediaStreamSourceRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Start() const; + [[nodiscard]] auto InitializeMediaStreamSourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto InitializeMediaStreamSourceRequested(winrt::event_token const& token) const noexcept; + auto Start() const; }; template <> struct consume { @@ -2682,7 +2668,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaSourceAppServiceConnectionFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceAppServiceConnection) Create(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& appServiceConnection) const; + auto Create(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& appServiceConnection) const; }; template <> struct consume { @@ -2691,7 +2677,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaSourceError { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -2700,7 +2686,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaSourceOpenOperationCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceError) Error() const; + [[nodiscard]] auto Error() const; }; template <> struct consume { @@ -2709,8 +2695,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaSourceStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceState) OldState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceState) NewState() const; + [[nodiscard]] auto OldState() const; + [[nodiscard]] auto NewState() const; }; template <> struct consume { @@ -2719,14 +2705,14 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaSourceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) CreateFromAdaptiveMediaSource(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource const& mediaSource) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) CreateFromMediaStreamSource(winrt::Windows::Media::Core::MediaStreamSource const& mediaSource) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) CreateFromMseStreamSource(winrt::Windows::Media::Core::MseStreamSource const& mediaSource) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) CreateFromIMediaSource(winrt::Windows::Media::Core::IMediaSource const& mediaSource) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) CreateFromStorageFile(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& contentType) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) CreateFromStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream, param::hstring const& contentType) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const; + auto CreateFromAdaptiveMediaSource(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource const& mediaSource) const; + auto CreateFromMediaStreamSource(winrt::Windows::Media::Core::MediaStreamSource const& mediaSource) const; + auto CreateFromMseStreamSource(winrt::Windows::Media::Core::MseStreamSource const& mediaSource) const; + auto CreateFromIMediaSource(winrt::Windows::Media::Core::IMediaSource const& mediaSource) const; + auto CreateFromStorageFile(winrt::Windows::Storage::IStorageFile const& file) const; + auto CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& contentType) const; + auto CreateFromStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream, param::hstring const& contentType) const; + auto CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const; }; template <> struct consume { @@ -2735,7 +2721,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaSourceStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) CreateFromMediaBinder(winrt::Windows::Media::Core::MediaBinder const& binder) const; + auto CreateFromMediaBinder(winrt::Windows::Media::Core::MediaBinder const& binder) const; }; template <> struct consume { @@ -2744,7 +2730,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaSourceStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) CreateFromMediaFrameSource(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& frameSource) const; + auto CreateFromMediaFrameSource(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& frameSource) const; }; template <> struct consume { @@ -2753,7 +2739,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaSourceStatics4 { - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) CreateFromDownloadOperation(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation const& downloadOperation) const; + auto CreateFromDownloadOperation(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation const& downloadOperation) const; }; template <> struct consume { @@ -2762,11 +2748,11 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSelected() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Language(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; + [[nodiscard]] auto IsSelected() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + auto Language(param::hstring const& value) const; + [[nodiscard]] auto Language() const; }; template <> struct consume { @@ -2775,8 +2761,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamDescriptor2 { - WINRT_IMPL_AUTO(void) Label(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const; + auto Label(param::hstring const& value) const; + [[nodiscard]] auto Label() const; }; template <> struct consume { @@ -2785,22 +2771,22 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSample { - WINRT_IMPL_AUTO(winrt::event_token) Processed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Processed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Processed_revoker = impl::event_revoker::remove_Processed>; - [[nodiscard]] Processed_revoker Processed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Processed(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::Buffer) Buffer() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSamplePropertySet) ExtendedProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSampleProtectionProperties) Protection() const; - WINRT_IMPL_AUTO(void) DecodeTimestamp(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DecodeTimestamp() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - WINRT_IMPL_AUTO(void) KeyFrame(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) KeyFrame() const; - WINRT_IMPL_AUTO(void) Discontinuous(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Discontinuous() const; + [[nodiscard]] auto Processed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Processed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Buffer() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto ExtendedProperties() const; + [[nodiscard]] auto Protection() const; + auto DecodeTimestamp(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto DecodeTimestamp() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Duration() const; + auto KeyFrame(bool value) const; + [[nodiscard]] auto KeyFrame() const; + auto Discontinuous(bool value) const; + [[nodiscard]] auto Discontinuous() const; }; template <> struct consume { @@ -2809,7 +2795,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSample2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) Direct3D11Surface() const; + [[nodiscard]] auto Direct3D11Surface() const; }; template <> struct consume { @@ -2818,12 +2804,12 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties { - WINRT_IMPL_AUTO(void) SetKeyIdentifier(array_view value) const; - WINRT_IMPL_AUTO(void) GetKeyIdentifier(com_array& value) const; - WINRT_IMPL_AUTO(void) SetInitializationVector(array_view value) const; - WINRT_IMPL_AUTO(void) GetInitializationVector(com_array& value) const; - WINRT_IMPL_AUTO(void) SetSubSampleMapping(array_view value) const; - WINRT_IMPL_AUTO(void) GetSubSampleMapping(com_array& value) const; + auto SetKeyIdentifier(array_view value) const; + auto GetKeyIdentifier(com_array& value) const; + auto SetInitializationVector(array_view value) const; + auto GetInitializationVector(com_array& value) const; + auto SetSubSampleMapping(array_view value) const; + auto GetSubSampleMapping(com_array& value) const; }; template <> struct consume { @@ -2832,8 +2818,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSampleStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSample) CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, winrt::Windows::Foundation::TimeSpan const& timestamp) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, uint32_t count, winrt::Windows::Foundation::TimeSpan const& timestamp) const; + auto CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, winrt::Windows::Foundation::TimeSpan const& timestamp) const; + auto CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, uint32_t count, winrt::Windows::Foundation::TimeSpan const& timestamp) const; }; template <> struct consume { @@ -2842,7 +2828,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSampleStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSample) CreateFromDirect3D11Surface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Foundation::TimeSpan const& timestamp) const; + auto CreateFromDirect3D11Surface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Foundation::TimeSpan const& timestamp) const; }; template <> struct consume { @@ -2851,42 +2837,42 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSource { - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Starting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + auto Starting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Starting_revoker = impl::event_revoker::remove_Starting>; - [[nodiscard]] Starting_revoker Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Starting(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Paused(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Starting(winrt::event_token const& token) const noexcept; + auto Paused(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Paused_revoker = impl::event_revoker::remove_Paused>; - [[nodiscard]] Paused_revoker Paused(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Paused(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SampleRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Paused(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Paused(winrt::event_token const& token) const noexcept; + auto SampleRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SampleRequested_revoker = impl::event_revoker::remove_SampleRequested>; - [[nodiscard]] SampleRequested_revoker SampleRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SampleRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SwitchStreamsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SampleRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SampleRequested(winrt::event_token const& token) const noexcept; + auto SwitchStreamsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SwitchStreamsRequested_revoker = impl::event_revoker::remove_SwitchStreamsRequested>; - [[nodiscard]] SwitchStreamsRequested_revoker SwitchStreamsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SwitchStreamsRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) NotifyError(winrt::Windows::Media::Core::MediaStreamSourceErrorStatus const& errorStatus) const; - WINRT_IMPL_AUTO(void) AddStreamDescriptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor) const; - WINRT_IMPL_AUTO(void) MediaProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionManager) MediaProtectionManager() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - WINRT_IMPL_AUTO(void) CanSeek(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanSeek() const; - WINRT_IMPL_AUTO(void) BufferTime(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) BufferTime() const; - WINRT_IMPL_AUTO(void) SetBufferedRange(winrt::Windows::Foundation::TimeSpan const& startOffset, winrt::Windows::Foundation::TimeSpan const& endOffset) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::MusicProperties) MusicProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::VideoProperties) VideoProperties() const; - WINRT_IMPL_AUTO(void) Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Thumbnail() const; - WINRT_IMPL_AUTO(void) AddProtectionKey(winrt::Windows::Media::Core::IMediaStreamDescriptor const& streamDescriptor, array_view keyIdentifier, array_view licenseData) const; + [[nodiscard]] auto SwitchStreamsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SwitchStreamsRequested(winrt::event_token const& token) const noexcept; + auto NotifyError(winrt::Windows::Media::Core::MediaStreamSourceErrorStatus const& errorStatus) const; + auto AddStreamDescriptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor) const; + auto MediaProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const; + [[nodiscard]] auto MediaProtectionManager() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Duration() const; + auto CanSeek(bool value) const; + [[nodiscard]] auto CanSeek() const; + auto BufferTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto BufferTime() const; + auto SetBufferedRange(winrt::Windows::Foundation::TimeSpan const& startOffset, winrt::Windows::Foundation::TimeSpan const& endOffset) const; + [[nodiscard]] auto MusicProperties() const; + [[nodiscard]] auto VideoProperties() const; + auto Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto Thumbnail() const; + auto AddProtectionKey(winrt::Windows::Media::Core::IMediaStreamDescriptor const& streamDescriptor, array_view keyIdentifier, array_view licenseData) const; }; template <> struct consume { @@ -2895,10 +2881,10 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSource2 { - WINRT_IMPL_AUTO(winrt::event_token) SampleRendered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SampleRendered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SampleRendered_revoker = impl::event_revoker::remove_SampleRendered>; - [[nodiscard]] SampleRendered_revoker SampleRendered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SampleRendered(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SampleRendered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SampleRendered(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2907,8 +2893,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSource3 { - WINRT_IMPL_AUTO(void) MaxSupportedPlaybackRate(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxSupportedPlaybackRate() const; + auto MaxSupportedPlaybackRate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxSupportedPlaybackRate() const; }; template <> struct consume { @@ -2917,8 +2903,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSource4 { - WINRT_IMPL_AUTO(void) IsLive(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLive() const; + auto IsLive(bool value) const; + [[nodiscard]] auto IsLive() const; }; template <> struct consume { @@ -2927,7 +2913,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSourceClosedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceClosedRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -2936,7 +2922,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSourceClosedRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceClosedReason) Reason() const; + [[nodiscard]] auto Reason() const; }; template <> struct consume { @@ -2945,8 +2931,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSourceFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) CreateFromDescriptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) CreateFromDescriptors(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor2) const; + auto CreateFromDescriptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor) const; + auto CreateFromDescriptors(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor2) const; }; template <> struct consume { @@ -2955,7 +2941,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSourceSampleRenderedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) SampleLag() const; + [[nodiscard]] auto SampleLag() const; }; template <> struct consume { @@ -2964,11 +2950,11 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSourceSampleRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaStreamDescriptor) StreamDescriptor() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceSampleRequestDeferral) GetDeferral() const; - WINRT_IMPL_AUTO(void) Sample(winrt::Windows::Media::Core::MediaStreamSample const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSample) Sample() const; - WINRT_IMPL_AUTO(void) ReportSampleProgress(uint32_t progress) const; + [[nodiscard]] auto StreamDescriptor() const; + auto GetDeferral() const; + auto Sample(winrt::Windows::Media::Core::MediaStreamSample const& value) const; + [[nodiscard]] auto Sample() const; + auto ReportSampleProgress(uint32_t progress) const; }; template <> struct consume { @@ -2977,7 +2963,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSourceSampleRequestDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -2986,7 +2972,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSourceSampleRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceSampleRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -2995,7 +2981,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSourceStartingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceStartingRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -3004,9 +2990,9 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSourceStartingRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) StartPosition() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceStartingRequestDeferral) GetDeferral() const; - WINRT_IMPL_AUTO(void) SetActualStartPosition(winrt::Windows::Foundation::TimeSpan const& position) const; + [[nodiscard]] auto StartPosition() const; + auto GetDeferral() const; + auto SetActualStartPosition(winrt::Windows::Foundation::TimeSpan const& position) const; }; template <> struct consume { @@ -3015,7 +3001,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSourceStartingRequestDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -3024,9 +3010,9 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaStreamDescriptor) OldStreamDescriptor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaStreamDescriptor) NewStreamDescriptor() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequestDeferral) GetDeferral() const; + [[nodiscard]] auto OldStreamDescriptor() const; + [[nodiscard]] auto NewStreamDescriptor() const; + auto GetDeferral() const; }; template <> struct consume { @@ -3035,7 +3021,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequestDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -3044,7 +3030,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -3053,11 +3039,11 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMediaTrack { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaTrackKind) TrackKind() const; - WINRT_IMPL_AUTO(void) Label(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto TrackKind() const; + auto Label(param::hstring const& value) const; + [[nodiscard]] auto Label() const; }; template <> struct consume { @@ -3066,41 +3052,41 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMseSourceBuffer { - WINRT_IMPL_AUTO(winrt::event_token) UpdateStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UpdateStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UpdateStarting_revoker = impl::event_revoker::remove_UpdateStarting>; - [[nodiscard]] UpdateStarting_revoker UpdateStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UpdateStarting(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto UpdateStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UpdateStarting(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Updated_revoker = impl::event_revoker::remove_Updated>; - [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Updated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) UpdateEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto UpdateEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UpdateEnded_revoker = impl::event_revoker::remove_UpdateEnded>; - [[nodiscard]] UpdateEnded_revoker UpdateEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UpdateEnded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto UpdateEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UpdateEnded(winrt::event_token const& token) const noexcept; + auto ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ErrorOccurred_revoker = impl::event_revoker::remove_ErrorOccurred>; - [[nodiscard]] ErrorOccurred_revoker ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ErrorOccurred(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Aborted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ErrorOccurred(winrt::event_token const& token) const noexcept; + auto Aborted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Aborted_revoker = impl::event_revoker::remove_Aborted>; - [[nodiscard]] Aborted_revoker Aborted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Aborted(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseAppendMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::Media::Core::MseAppendMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsUpdating() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Buffered() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TimestampOffset() const; - WINRT_IMPL_AUTO(void) TimestampOffset(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) AppendWindowStart() const; - WINRT_IMPL_AUTO(void) AppendWindowStart(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AppendWindowEnd() const; - WINRT_IMPL_AUTO(void) AppendWindowEnd(winrt::Windows::Foundation::IReference const& value) const; - WINRT_IMPL_AUTO(void) AppendBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; - WINRT_IMPL_AUTO(void) AppendStream(winrt::Windows::Storage::Streams::IInputStream const& stream) const; - WINRT_IMPL_AUTO(void) AppendStream(winrt::Windows::Storage::Streams::IInputStream const& stream, uint64_t maxSize) const; - WINRT_IMPL_AUTO(void) Abort() const; - WINRT_IMPL_AUTO(void) Remove(winrt::Windows::Foundation::TimeSpan const& start, winrt::Windows::Foundation::IReference const& end) const; + [[nodiscard]] auto Aborted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Aborted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Core::MseAppendMode const& value) const; + [[nodiscard]] auto IsUpdating() const; + [[nodiscard]] auto Buffered() const; + [[nodiscard]] auto TimestampOffset() const; + auto TimestampOffset(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto AppendWindowStart() const; + auto AppendWindowStart(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto AppendWindowEnd() const; + auto AppendWindowEnd(winrt::Windows::Foundation::IReference const& value) const; + auto AppendBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto AppendStream(winrt::Windows::Storage::Streams::IInputStream const& stream) const; + auto AppendStream(winrt::Windows::Storage::Streams::IInputStream const& stream, uint64_t maxSize) const; + auto Abort() const; + auto Remove(winrt::Windows::Foundation::TimeSpan const& start, winrt::Windows::Foundation::IReference const& end) const; }; template <> struct consume { @@ -3109,15 +3095,15 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMseSourceBufferList { - WINRT_IMPL_AUTO(winrt::event_token) SourceBufferAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceBufferAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourceBufferAdded_revoker = impl::event_revoker::remove_SourceBufferAdded>; - [[nodiscard]] SourceBufferAdded_revoker SourceBufferAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourceBufferAdded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SourceBufferRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SourceBufferAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceBufferAdded(winrt::event_token const& token) const noexcept; + auto SourceBufferRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourceBufferRemoved_revoker = impl::event_revoker::remove_SourceBufferRemoved>; - [[nodiscard]] SourceBufferRemoved_revoker SourceBufferRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourceBufferRemoved(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Buffers() const; + [[nodiscard]] auto SourceBufferRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceBufferRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Buffers() const; }; template <> struct consume { @@ -3126,26 +3112,26 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMseStreamSource { - WINRT_IMPL_AUTO(winrt::event_token) Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Opened_revoker = impl::event_revoker::remove_Opened>; - [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Opened(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Ended(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Opened(winrt::event_token const& token) const noexcept; + auto Ended(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Ended_revoker = impl::event_revoker::remove_Ended>; - [[nodiscard]] Ended_revoker Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Ended(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Ended(winrt::event_token const& token) const noexcept; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseSourceBufferList) SourceBuffers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseSourceBufferList) ActiveSourceBuffers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseReadyState) ReadyState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Duration() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::IReference const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseSourceBuffer) AddSourceBuffer(param::hstring const& mimeType) const; - WINRT_IMPL_AUTO(void) RemoveSourceBuffer(winrt::Windows::Media::Core::MseSourceBuffer const& buffer) const; - WINRT_IMPL_AUTO(void) EndOfStream(winrt::Windows::Media::Core::MseEndOfStreamStatus const& status) const; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SourceBuffers() const; + [[nodiscard]] auto ActiveSourceBuffers() const; + [[nodiscard]] auto ReadyState() const; + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::IReference const& value) const; + auto AddSourceBuffer(param::hstring const& mimeType) const; + auto RemoveSourceBuffer(winrt::Windows::Media::Core::MseSourceBuffer const& buffer) const; + auto EndOfStream(winrt::Windows::Media::Core::MseEndOfStreamStatus const& status) const; }; template <> struct consume { @@ -3154,8 +3140,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMseStreamSource2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) LiveSeekableRange() const; - WINRT_IMPL_AUTO(void) LiveSeekableRange(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto LiveSeekableRange() const; + auto LiveSeekableRange(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -3164,7 +3150,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IMseStreamSourceStatics { - WINRT_IMPL_AUTO(bool) IsContentTypeSupported(param::hstring const& contentType) const; + auto IsContentTypeSupported(param::hstring const& contentType) const; }; template <> struct consume { @@ -3173,13 +3159,13 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ISceneAnalysisEffect { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::HighDynamicRangeControl) HighDynamicRangeAnalyzer() const; - WINRT_IMPL_AUTO(void) DesiredAnalysisInterval(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DesiredAnalysisInterval() const; - WINRT_IMPL_AUTO(winrt::event_token) SceneAnalyzed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto HighDynamicRangeAnalyzer() const; + auto DesiredAnalysisInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto DesiredAnalysisInterval() const; + auto SceneAnalyzed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SceneAnalyzed_revoker = impl::event_revoker::remove_SceneAnalyzed>; - [[nodiscard]] SceneAnalyzed_revoker SceneAnalyzed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SceneAnalyzed(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto SceneAnalyzed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SceneAnalyzed(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -3188,8 +3174,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ISceneAnalysisEffectFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrameControlValues) FrameControlValues() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::HighDynamicRangeOutput) HighDynamicRange() const; + [[nodiscard]] auto FrameControlValues() const; + [[nodiscard]] auto HighDynamicRange() const; }; template <> struct consume { @@ -3198,7 +3184,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ISceneAnalysisEffectFrame2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::SceneAnalysisRecommendation) AnalysisRecommendation() const; + [[nodiscard]] auto AnalysisRecommendation() const; }; template <> struct consume { @@ -3207,7 +3193,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ISceneAnalyzedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::SceneAnalysisEffectFrame) ResultFrame() const; + [[nodiscard]] auto ResultFrame() const; }; template <> struct consume { @@ -3216,12 +3202,12 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ISingleSelectMediaTrackList { - WINRT_IMPL_AUTO(winrt::event_token) SelectedIndexChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SelectedIndexChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SelectedIndexChanged_revoker = impl::event_revoker::remove_SelectedIndexChanged>; - [[nodiscard]] SelectedIndexChanged_revoker SelectedIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SelectedIndexChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SelectedIndex(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SelectedIndex() const; + [[nodiscard]] auto SelectedIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SelectedIndexChanged(winrt::event_token const& token) const noexcept; + auto SelectedIndex(int32_t value) const; + [[nodiscard]] auto SelectedIndex() const; }; template <> struct consume { @@ -3230,12 +3216,12 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ISpeechCue { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) StartPositionInInput() const; - WINRT_IMPL_AUTO(void) StartPositionInInput(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) EndPositionInInput() const; - WINRT_IMPL_AUTO(void) EndPositionInInput(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto StartPositionInInput() const; + auto StartPositionInInput(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto EndPositionInInput() const; + auto EndPositionInInput(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -3244,8 +3230,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedMetadataStreamDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) EncodingProperties() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataStreamDescriptor) Copy() const; + [[nodiscard]] auto EncodingProperties() const; + auto Copy() const; }; template <> struct consume { @@ -3254,7 +3240,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedMetadataStreamDescriptorFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataStreamDescriptor) Create(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties const& encodingProperties) const; + auto Create(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties const& encodingProperties) const; }; template <> struct consume { @@ -3263,24 +3249,24 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedMetadataTrack { - WINRT_IMPL_AUTO(winrt::event_token) CueEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CueEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CueEntered_revoker = impl::event_revoker::remove_CueEntered>; - [[nodiscard]] CueEntered_revoker CueEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CueEntered(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CueExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CueEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CueEntered(winrt::event_token const& token) const noexcept; + auto CueExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CueExited_revoker = impl::event_revoker::remove_CueExited>; - [[nodiscard]] CueExited_revoker CueExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CueExited(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TrackFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CueExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CueExited(winrt::event_token const& token) const noexcept; + auto TrackFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TrackFailed_revoker = impl::event_revoker::remove_TrackFailed>; - [[nodiscard]] TrackFailed_revoker TrackFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TrackFailed(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Cues() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ActiveCues() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataKind) TimedMetadataKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DispatchType() const; - WINRT_IMPL_AUTO(void) AddCue(winrt::Windows::Media::Core::IMediaCue const& cue) const; - WINRT_IMPL_AUTO(void) RemoveCue(winrt::Windows::Media::Core::IMediaCue const& cue) const; + [[nodiscard]] auto TrackFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TrackFailed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Cues() const; + [[nodiscard]] auto ActiveCues() const; + [[nodiscard]] auto TimedMetadataKind() const; + [[nodiscard]] auto DispatchType() const; + auto AddCue(winrt::Windows::Media::Core::IMediaCue const& cue) const; + auto RemoveCue(winrt::Windows::Media::Core::IMediaCue const& cue) const; }; template <> struct consume { @@ -3289,8 +3275,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedMetadataTrack2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) PlaybackItem() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; + [[nodiscard]] auto PlaybackItem() const; + [[nodiscard]] auto Name() const; }; template <> struct consume { @@ -3299,8 +3285,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedMetadataTrackError { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataTrackErrorCode) ErrorCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto ErrorCode() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -3309,7 +3295,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedMetadataTrackFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataTrack) Create(param::hstring const& id, param::hstring const& language, winrt::Windows::Media::Core::TimedMetadataKind const& kind) const; + auto Create(param::hstring const& id, param::hstring const& language, winrt::Windows::Media::Core::TimedMetadataKind const& kind) const; }; template <> struct consume { @@ -3318,7 +3304,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedMetadataTrackFailedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataTrackError) Error() const; + [[nodiscard]] auto Error() const; }; template <> struct consume { @@ -3327,7 +3313,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedMetadataTrackProvider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) TimedMetadataTracks() const; + [[nodiscard]] auto TimedMetadataTracks() const; }; template <> struct consume { @@ -3336,12 +3322,12 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedTextBouten { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBoutenType) Type() const; - WINRT_IMPL_AUTO(void) Type(winrt::Windows::Media::Core::TimedTextBoutenType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBoutenPosition) Position() const; - WINRT_IMPL_AUTO(void) Position(winrt::Windows::Media::Core::TimedTextBoutenPosition const& value) const; + [[nodiscard]] auto Type() const; + auto Type(winrt::Windows::Media::Core::TimedTextBoutenType const& value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Media::Core::TimedTextBoutenPosition const& value) const; }; template <> struct consume { @@ -3350,11 +3336,11 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedTextCue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRegion) CueRegion() const; - WINRT_IMPL_AUTO(void) CueRegion(winrt::Windows::Media::Core::TimedTextRegion const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextStyle) CueStyle() const; - WINRT_IMPL_AUTO(void) CueStyle(winrt::Windows::Media::Core::TimedTextStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Lines() const; + [[nodiscard]] auto CueRegion() const; + auto CueRegion(winrt::Windows::Media::Core::TimedTextRegion const& value) const; + [[nodiscard]] auto CueStyle() const; + auto CueStyle(winrt::Windows::Media::Core::TimedTextStyle const& value) const; + [[nodiscard]] auto Lines() const; }; template <> struct consume { @@ -3363,9 +3349,9 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedTextLine { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Subformats() const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto Subformats() const; }; template <> struct consume { @@ -3374,30 +3360,30 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedTextRegion { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextPoint) Position() const; - WINRT_IMPL_AUTO(void) Position(winrt::Windows::Media::Core::TimedTextPoint const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSize) Extent() const; - WINRT_IMPL_AUTO(void) Extent(winrt::Windows::Media::Core::TimedTextSize const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Background() const; - WINRT_IMPL_AUTO(void) Background(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextWritingMode) WritingMode() const; - WINRT_IMPL_AUTO(void) WritingMode(winrt::Windows::Media::Core::TimedTextWritingMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextDisplayAlignment) DisplayAlignment() const; - WINRT_IMPL_AUTO(void) DisplayAlignment(winrt::Windows::Media::Core::TimedTextDisplayAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextDouble) LineHeight() const; - WINRT_IMPL_AUTO(void) LineHeight(winrt::Windows::Media::Core::TimedTextDouble const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOverflowClipped() const; - WINRT_IMPL_AUTO(void) IsOverflowClipped(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextPadding) Padding() const; - WINRT_IMPL_AUTO(void) Padding(winrt::Windows::Media::Core::TimedTextPadding const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextWrapping) TextWrapping() const; - WINRT_IMPL_AUTO(void) TextWrapping(winrt::Windows::Media::Core::TimedTextWrapping const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ZIndex() const; - WINRT_IMPL_AUTO(void) ZIndex(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextScrollMode) ScrollMode() const; - WINRT_IMPL_AUTO(void) ScrollMode(winrt::Windows::Media::Core::TimedTextScrollMode const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Media::Core::TimedTextPoint const& value) const; + [[nodiscard]] auto Extent() const; + auto Extent(winrt::Windows::Media::Core::TimedTextSize const& value) const; + [[nodiscard]] auto Background() const; + auto Background(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto WritingMode() const; + auto WritingMode(winrt::Windows::Media::Core::TimedTextWritingMode const& value) const; + [[nodiscard]] auto DisplayAlignment() const; + auto DisplayAlignment(winrt::Windows::Media::Core::TimedTextDisplayAlignment const& value) const; + [[nodiscard]] auto LineHeight() const; + auto LineHeight(winrt::Windows::Media::Core::TimedTextDouble const& value) const; + [[nodiscard]] auto IsOverflowClipped() const; + auto IsOverflowClipped(bool value) const; + [[nodiscard]] auto Padding() const; + auto Padding(winrt::Windows::Media::Core::TimedTextPadding const& value) const; + [[nodiscard]] auto TextWrapping() const; + auto TextWrapping(winrt::Windows::Media::Core::TimedTextWrapping const& value) const; + [[nodiscard]] auto ZIndex() const; + auto ZIndex(int32_t value) const; + [[nodiscard]] auto ScrollMode() const; + auto ScrollMode(winrt::Windows::Media::Core::TimedTextScrollMode const& value) const; }; template <> struct consume { @@ -3406,14 +3392,14 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedTextRuby { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyPosition) Position() const; - WINRT_IMPL_AUTO(void) Position(winrt::Windows::Media::Core::TimedTextRubyPosition const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyAlign) Align() const; - WINRT_IMPL_AUTO(void) Align(winrt::Windows::Media::Core::TimedTextRubyAlign const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyReserve) Reserve() const; - WINRT_IMPL_AUTO(void) Reserve(winrt::Windows::Media::Core::TimedTextRubyReserve const& value) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Media::Core::TimedTextRubyPosition const& value) const; + [[nodiscard]] auto Align() const; + auto Align(winrt::Windows::Media::Core::TimedTextRubyAlign const& value) const; + [[nodiscard]] auto Reserve() const; + auto Reserve(winrt::Windows::Media::Core::TimedTextRubyReserve const& value) const; }; template <> struct consume { @@ -3422,10 +3408,10 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedTextSource { - WINRT_IMPL_AUTO(winrt::event_token) Resolved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Resolved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Resolved_revoker = impl::event_revoker::remove_Resolved>; - [[nodiscard]] Resolved_revoker Resolved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Resolved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Resolved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Resolved(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3434,8 +3420,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedTextSourceResolveResultEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataTrackError) Error() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Tracks() const; + [[nodiscard]] auto Error() const; + [[nodiscard]] auto Tracks() const; }; template <> struct consume { @@ -3444,10 +3430,10 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedTextSourceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& defaultLanguage) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) CreateFromUri(winrt::Windows::Foundation::Uri const& uri, param::hstring const& defaultLanguage) const; + auto CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const; + auto CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& defaultLanguage) const; + auto CreateFromUri(winrt::Windows::Foundation::Uri const& uri, param::hstring const& defaultLanguage) const; }; template <> struct consume { @@ -3456,10 +3442,10 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedTextSourceStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) CreateFromStreamWithIndex(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Storage::Streams::IRandomAccessStream const& indexStream) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) CreateFromUriWithIndex(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Uri const& indexUri) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) CreateFromStreamWithIndex(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Storage::Streams::IRandomAccessStream const& indexStream, param::hstring const& defaultLanguage) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) CreateFromUriWithIndex(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Uri const& indexUri, param::hstring const& defaultLanguage) const; + auto CreateFromStreamWithIndex(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Storage::Streams::IRandomAccessStream const& indexStream) const; + auto CreateFromUriWithIndex(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Uri const& indexUri) const; + auto CreateFromStreamWithIndex(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Storage::Streams::IRandomAccessStream const& indexStream, param::hstring const& defaultLanguage) const; + auto CreateFromUriWithIndex(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Uri const& indexUri, param::hstring const& defaultLanguage) const; }; template <> struct consume { @@ -3468,30 +3454,30 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedTextStyle { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FontFamily() const; - WINRT_IMPL_AUTO(void) FontFamily(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextDouble) FontSize() const; - WINRT_IMPL_AUTO(void) FontSize(winrt::Windows::Media::Core::TimedTextDouble const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextWeight) FontWeight() const; - WINRT_IMPL_AUTO(void) FontWeight(winrt::Windows::Media::Core::TimedTextWeight const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Foreground() const; - WINRT_IMPL_AUTO(void) Foreground(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Background() const; - WINRT_IMPL_AUTO(void) Background(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBackgroundAlwaysShown() const; - WINRT_IMPL_AUTO(void) IsBackgroundAlwaysShown(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextFlowDirection) FlowDirection() const; - WINRT_IMPL_AUTO(void) FlowDirection(winrt::Windows::Media::Core::TimedTextFlowDirection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextLineAlignment) LineAlignment() const; - WINRT_IMPL_AUTO(void) LineAlignment(winrt::Windows::Media::Core::TimedTextLineAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) OutlineColor() const; - WINRT_IMPL_AUTO(void) OutlineColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextDouble) OutlineThickness() const; - WINRT_IMPL_AUTO(void) OutlineThickness(winrt::Windows::Media::Core::TimedTextDouble const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextDouble) OutlineRadius() const; - WINRT_IMPL_AUTO(void) OutlineRadius(winrt::Windows::Media::Core::TimedTextDouble const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto FontFamily() const; + auto FontFamily(param::hstring const& value) const; + [[nodiscard]] auto FontSize() const; + auto FontSize(winrt::Windows::Media::Core::TimedTextDouble const& value) const; + [[nodiscard]] auto FontWeight() const; + auto FontWeight(winrt::Windows::Media::Core::TimedTextWeight const& value) const; + [[nodiscard]] auto Foreground() const; + auto Foreground(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Background() const; + auto Background(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto IsBackgroundAlwaysShown() const; + auto IsBackgroundAlwaysShown(bool value) const; + [[nodiscard]] auto FlowDirection() const; + auto FlowDirection(winrt::Windows::Media::Core::TimedTextFlowDirection const& value) const; + [[nodiscard]] auto LineAlignment() const; + auto LineAlignment(winrt::Windows::Media::Core::TimedTextLineAlignment const& value) const; + [[nodiscard]] auto OutlineColor() const; + auto OutlineColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto OutlineThickness() const; + auto OutlineThickness(winrt::Windows::Media::Core::TimedTextDouble const& value) const; + [[nodiscard]] auto OutlineRadius() const; + auto OutlineRadius(winrt::Windows::Media::Core::TimedTextDouble const& value) const; }; template <> struct consume { @@ -3500,14 +3486,14 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedTextStyle2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextFontStyle) FontStyle() const; - WINRT_IMPL_AUTO(void) FontStyle(winrt::Windows::Media::Core::TimedTextFontStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsUnderlineEnabled() const; - WINRT_IMPL_AUTO(void) IsUnderlineEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLineThroughEnabled() const; - WINRT_IMPL_AUTO(void) IsLineThroughEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOverlineEnabled() const; - WINRT_IMPL_AUTO(void) IsOverlineEnabled(bool value) const; + [[nodiscard]] auto FontStyle() const; + auto FontStyle(winrt::Windows::Media::Core::TimedTextFontStyle const& value) const; + [[nodiscard]] auto IsUnderlineEnabled() const; + auto IsUnderlineEnabled(bool value) const; + [[nodiscard]] auto IsLineThroughEnabled() const; + auto IsLineThroughEnabled(bool value) const; + [[nodiscard]] auto IsOverlineEnabled() const; + auto IsOverlineEnabled(bool value) const; }; template <> struct consume { @@ -3516,12 +3502,12 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedTextStyle3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRuby) Ruby() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBouten) Bouten() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextCombined() const; - WINRT_IMPL_AUTO(void) IsTextCombined(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FontAngleInDegrees() const; - WINRT_IMPL_AUTO(void) FontAngleInDegrees(double value) const; + [[nodiscard]] auto Ruby() const; + [[nodiscard]] auto Bouten() const; + [[nodiscard]] auto IsTextCombined() const; + auto IsTextCombined(bool value) const; + [[nodiscard]] auto FontAngleInDegrees() const; + auto FontAngleInDegrees(double value) const; }; template <> struct consume { @@ -3530,12 +3516,12 @@ namespace winrt::impl template struct consume_Windows_Media_Core_ITimedTextSubformat { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) StartIndex() const; - WINRT_IMPL_AUTO(void) StartIndex(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Length() const; - WINRT_IMPL_AUTO(void) Length(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextStyle) SubformatStyle() const; - WINRT_IMPL_AUTO(void) SubformatStyle(winrt::Windows::Media::Core::TimedTextStyle const& value) const; + [[nodiscard]] auto StartIndex() const; + auto StartIndex(int32_t value) const; + [[nodiscard]] auto Length() const; + auto Length(int32_t value) const; + [[nodiscard]] auto SubformatStyle() const; + auto SubformatStyle(winrt::Windows::Media::Core::TimedTextStyle const& value) const; }; template <> struct consume { @@ -3544,13 +3530,13 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IVideoStabilizationEffect { - WINRT_IMPL_AUTO(void) Enabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Enabled() const; - WINRT_IMPL_AUTO(winrt::event_token) EnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Enabled(bool value) const; + [[nodiscard]] auto Enabled() const; + auto EnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnabledChanged_revoker = impl::event_revoker::remove_EnabledChanged>; - [[nodiscard]] EnabledChanged_revoker EnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnabledChanged(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::VideoStreamConfiguration) GetRecommendedStreamConfiguration(winrt::Windows::Media::Devices::VideoDeviceController const& controller, winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& desiredProperties) const; + [[nodiscard]] auto EnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnabledChanged(winrt::event_token const& cookie) const noexcept; + auto GetRecommendedStreamConfiguration(winrt::Windows::Media::Devices::VideoDeviceController const& controller, winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& desiredProperties) const; }; template <> struct consume { @@ -3559,7 +3545,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IVideoStabilizationEffectEnabledChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::VideoStabilizationEffectEnabledChangedReason) Reason() const; + [[nodiscard]] auto Reason() const; }; template <> struct consume { @@ -3568,7 +3554,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IVideoStreamDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) EncodingProperties() const; + [[nodiscard]] auto EncodingProperties() const; }; template <> struct consume { @@ -3577,7 +3563,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IVideoStreamDescriptor2 { - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::VideoStreamDescriptor) Copy() const; + auto Copy() const; }; template <> struct consume { @@ -3586,7 +3572,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IVideoStreamDescriptorFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::VideoStreamDescriptor) Create(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& encodingProperties) const; + auto Create(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& encodingProperties) const; }; template <> struct consume { @@ -3595,14 +3581,14 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IVideoTrack { - WINRT_IMPL_AUTO(winrt::event_token) OpenFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OpenFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using OpenFailed_revoker = impl::event_revoker::remove_OpenFailed>; - [[nodiscard]] OpenFailed_revoker OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) OpenFailed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) GetEncodingProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) PlaybackItem() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::VideoTrackSupportInfo) SupportInfo() const; + [[nodiscard]] auto OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OpenFailed(winrt::event_token const& token) const noexcept; + auto GetEncodingProperties() const; + [[nodiscard]] auto PlaybackItem() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto SupportInfo() const; }; template <> struct consume { @@ -3611,7 +3597,7 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IVideoTrackOpenFailedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -3620,8 +3606,8 @@ namespace winrt::impl template struct consume_Windows_Media_Core_IVideoTrackSupportInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaDecoderStatus) DecoderStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceStatus) MediaSourceStatus() const; + [[nodiscard]] auto DecoderStatus() const; + [[nodiscard]] auto MediaSourceStatus() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.1.h index 797281c8..c23ed616 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.2.h index 5aa10d18..664ad72b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.0.h index 274e63dd..40156f55 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Core_Preview_0_H @@ -36,11 +36,11 @@ namespace winrt::impl template struct consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SoundLevel) SoundLevel() const; - WINRT_IMPL_AUTO(winrt::event_token) SoundLevelChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto SoundLevel() const; + auto SoundLevelChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using SoundLevelChanged_revoker = impl::event_revoker::remove_SoundLevelChanged>; - [[nodiscard]] SoundLevelChanged_revoker SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SoundLevelChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto SoundLevelChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.1.h index be569d72..4b032c7e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Core_Preview_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.2.h index 45bbfc8f..05fb729b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Core_Preview_2_H @@ -13,7 +13,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core::Preview [[nodiscard]] static auto SoundLevel(); static auto SoundLevelChanged(winrt::Windows::Foundation::EventHandler const& handler); using SoundLevelChanged_revoker = impl::factory_event_revoker::remove_SoundLevelChanged>; - [[nodiscard]] static SoundLevelChanged_revoker SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto SoundLevelChanged(winrt::event_token const& token); }; } diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.0.h index db3c4864..89ccf76e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Devices_0_H @@ -11,7 +11,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; struct Rect; template struct __declspec(empty_bases) TypedEventHandler; @@ -19,7 +18,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Media::Capture { @@ -1427,8 +1425,8 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IAdvancedPhotoCaptureSettings { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AdvancedPhotoMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::Media::Devices::AdvancedPhotoMode const& value) const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Devices::AdvancedPhotoMode const& value) const; }; template <> struct consume { @@ -1437,10 +1435,10 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IAdvancedPhotoControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedModes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AdvancedPhotoMode) Mode() const; - WINRT_IMPL_AUTO(void) Configure(winrt::Windows::Media::Devices::AdvancedPhotoCaptureSettings const& settings) const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto SupportedModes() const; + [[nodiscard]] auto Mode() const; + auto Configure(winrt::Windows::Media::Devices::AdvancedPhotoCaptureSettings const& settings) const; }; template <> struct consume { @@ -1449,8 +1447,8 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController { - WINRT_IMPL_AUTO(void) SetDeviceProperty(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetDeviceProperty(param::hstring const& propertyId) const; + auto SetDeviceProperty(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const; + auto GetDeviceProperty(param::hstring const& propertyId) const; }; template <> struct consume { @@ -1459,19 +1457,19 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::LowLagPhotoSequenceControl) LowLagPhotoSequence() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::LowLagPhotoControl) LowLagPhoto() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::SceneModeControl) SceneModeControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::TorchControl) TorchControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::FlashControl) FlashControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::WhiteBalanceControl) WhiteBalanceControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ExposureControl) ExposureControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::FocusControl) FocusControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ExposureCompensationControl) ExposureCompensationControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::IsoSpeedControl) IsoSpeedControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::RegionsOfInterestControl) RegionsOfInterestControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::CaptureUse) PrimaryUse() const; - WINRT_IMPL_AUTO(void) PrimaryUse(winrt::Windows::Media::Devices::CaptureUse const& value) const; + [[nodiscard]] auto LowLagPhotoSequence() const; + [[nodiscard]] auto LowLagPhoto() const; + [[nodiscard]] auto SceneModeControl() const; + [[nodiscard]] auto TorchControl() const; + [[nodiscard]] auto FlashControl() const; + [[nodiscard]] auto WhiteBalanceControl() const; + [[nodiscard]] auto ExposureControl() const; + [[nodiscard]] auto FocusControl() const; + [[nodiscard]] auto ExposureCompensationControl() const; + [[nodiscard]] auto IsoSpeedControl() const; + [[nodiscard]] auto RegionsOfInterestControl() const; + [[nodiscard]] auto PrimaryUse() const; + auto PrimaryUse(winrt::Windows::Media::Devices::CaptureUse const& value) const; }; template <> struct consume { @@ -1480,9 +1478,9 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::VariablePhotoSequenceController) VariablePhotoSequenceController() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::PhotoConfirmationControl) PhotoConfirmationControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ZoomControl) ZoomControl() const; + [[nodiscard]] auto VariablePhotoSequenceController() const; + [[nodiscard]] auto PhotoConfirmationControl() const; + [[nodiscard]] auto ZoomControl() const; }; template <> struct consume { @@ -1491,12 +1489,12 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ExposurePriorityVideoControl) ExposurePriorityVideoControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaCaptureOptimization) DesiredOptimization() const; - WINRT_IMPL_AUTO(void) DesiredOptimization(winrt::Windows::Media::Devices::MediaCaptureOptimization const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::HdrVideoControl) HdrVideoControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::OpticalImageStabilizationControl) OpticalImageStabilizationControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AdvancedPhotoControl) AdvancedPhotoControl() const; + [[nodiscard]] auto ExposurePriorityVideoControl() const; + [[nodiscard]] auto DesiredOptimization() const; + auto DesiredOptimization(winrt::Windows::Media::Devices::MediaCaptureOptimization const& value) const; + [[nodiscard]] auto HdrVideoControl() const; + [[nodiscard]] auto OpticalImageStabilizationControl() const; + [[nodiscard]] auto AdvancedPhotoControl() const; }; template <> struct consume { @@ -1505,11 +1503,11 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceControllerGetDevicePropertyResult) GetDevicePropertyById(param::hstring const& propertyId, winrt::Windows::Foundation::IReference const& maxPropertyValueSize) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceControllerSetDevicePropertyStatus) SetDevicePropertyById(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceControllerGetDevicePropertyResult) GetDevicePropertyByExtendedId(array_view extendedPropertyId, winrt::Windows::Foundation::IReference const& maxPropertyValueSize) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceControllerSetDevicePropertyStatus) SetDevicePropertyByExtendedId(array_view extendedPropertyId, array_view propertyValue) const; + [[nodiscard]] auto Id() const; + auto GetDevicePropertyById(param::hstring const& propertyId, winrt::Windows::Foundation::IReference const& maxPropertyValueSize) const; + auto SetDevicePropertyById(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const; + auto GetDevicePropertyByExtendedId(array_view extendedPropertyId, winrt::Windows::Foundation::IReference const& maxPropertyValueSize) const; + auto SetDevicePropertyByExtendedId(array_view extendedPropertyId, array_view propertyValue) const; }; template <> struct consume { @@ -1518,7 +1516,7 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoTemporalDenoisingControl) VideoTemporalDenoisingControl() const; + [[nodiscard]] auto VideoTemporalDenoisingControl() const; }; template <> struct consume { @@ -1527,7 +1525,7 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::InfraredTorchControl) InfraredTorchControl() const; + [[nodiscard]] auto InfraredTorchControl() const; }; template <> struct consume { @@ -1536,7 +1534,7 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController8 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::PanelBasedOptimizationControl) PanelBasedOptimizationControl() const; + [[nodiscard]] auto PanelBasedOptimizationControl() const; }; template <> struct consume { @@ -1545,7 +1543,7 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController9 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowControl) DigitalWindowControl() const; + [[nodiscard]] auto DigitalWindowControl() const; }; template <> struct consume { @@ -1554,10 +1552,10 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IAudioDeviceController { - WINRT_IMPL_AUTO(void) Muted(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Muted() const; - WINRT_IMPL_AUTO(void) VolumePercent(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) VolumePercent() const; + auto Muted(bool value) const; + [[nodiscard]] auto Muted() const; + auto VolumePercent(float value) const; + [[nodiscard]] auto VolumePercent() const; }; template <> struct consume { @@ -1566,12 +1564,12 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IAudioDeviceModule { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ClassId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) InstanceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MajorVersion() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinorVersion() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendCommandAsync(winrt::Windows::Storage::Streams::IBuffer const& Command) const; + [[nodiscard]] auto ClassId() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto InstanceId() const; + [[nodiscard]] auto MajorVersion() const; + [[nodiscard]] auto MinorVersion() const; + auto SendCommandAsync(winrt::Windows::Storage::Streams::IBuffer const& Command) const; }; template <> struct consume { @@ -1580,8 +1578,8 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IAudioDeviceModuleNotificationEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AudioDeviceModule) Module() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) NotificationData() const; + [[nodiscard]] auto Module() const; + [[nodiscard]] auto NotificationData() const; }; template <> struct consume { @@ -1590,12 +1588,12 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IAudioDeviceModulesManager { - WINRT_IMPL_AUTO(winrt::event_token) ModuleNotificationReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ModuleNotificationReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ModuleNotificationReceived_revoker = impl::event_revoker::remove_ModuleNotificationReceived>; - [[nodiscard]] ModuleNotificationReceived_revoker ModuleNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ModuleNotificationReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindAllById(param::hstring const& moduleId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindAll() const; + [[nodiscard]] auto ModuleNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ModuleNotificationReceived(winrt::event_token const& token) const noexcept; + auto FindAllById(param::hstring const& moduleId) const; + auto FindAll() const; }; template <> struct consume { @@ -1604,7 +1602,7 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IAudioDeviceModulesManagerFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AudioDeviceModulesManager) Create(param::hstring const& deviceId) const; + auto Create(param::hstring const& deviceId) const; }; template <> struct consume { @@ -1613,35 +1611,35 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_ICallControl { - WINRT_IMPL_AUTO(uint64_t) IndicateNewIncomingCall(bool enableRinger, param::hstring const& callerId) const; - WINRT_IMPL_AUTO(uint64_t) IndicateNewOutgoingCall() const; - WINRT_IMPL_AUTO(void) IndicateActiveCall(uint64_t callToken) const; - WINRT_IMPL_AUTO(void) EndCall(uint64_t callToken) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasRinger() const; - WINRT_IMPL_AUTO(winrt::event_token) AnswerRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; + auto IndicateNewIncomingCall(bool enableRinger, param::hstring const& callerId) const; + auto IndicateNewOutgoingCall() const; + auto IndicateActiveCall(uint64_t callToken) const; + auto EndCall(uint64_t callToken) const; + [[nodiscard]] auto HasRinger() const; + auto AnswerRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; using AnswerRequested_revoker = impl::event_revoker::remove_AnswerRequested>; - [[nodiscard]] AnswerRequested_revoker AnswerRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AnswerRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) HangUpRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; + [[nodiscard]] auto AnswerRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; + auto AnswerRequested(winrt::event_token const& token) const noexcept; + auto HangUpRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; using HangUpRequested_revoker = impl::event_revoker::remove_HangUpRequested>; - [[nodiscard]] HangUpRequested_revoker HangUpRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) HangUpRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DialRequested(winrt::Windows::Media::Devices::DialRequestedEventHandler const& handler) const; + [[nodiscard]] auto HangUpRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; + auto HangUpRequested(winrt::event_token const& token) const noexcept; + auto DialRequested(winrt::Windows::Media::Devices::DialRequestedEventHandler const& handler) const; using DialRequested_revoker = impl::event_revoker::remove_DialRequested>; - [[nodiscard]] DialRequested_revoker DialRequested(auto_revoke_t, winrt::Windows::Media::Devices::DialRequestedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DialRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RedialRequested(winrt::Windows::Media::Devices::RedialRequestedEventHandler const& handler) const; + [[nodiscard]] auto DialRequested(auto_revoke_t, winrt::Windows::Media::Devices::DialRequestedEventHandler const& handler) const; + auto DialRequested(winrt::event_token const& token) const noexcept; + auto RedialRequested(winrt::Windows::Media::Devices::RedialRequestedEventHandler const& handler) const; using RedialRequested_revoker = impl::event_revoker::remove_RedialRequested>; - [[nodiscard]] RedialRequested_revoker RedialRequested(auto_revoke_t, winrt::Windows::Media::Devices::RedialRequestedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RedialRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) KeypadPressed(winrt::Windows::Media::Devices::KeypadPressedEventHandler const& handler) const; + [[nodiscard]] auto RedialRequested(auto_revoke_t, winrt::Windows::Media::Devices::RedialRequestedEventHandler const& handler) const; + auto RedialRequested(winrt::event_token const& token) const noexcept; + auto KeypadPressed(winrt::Windows::Media::Devices::KeypadPressedEventHandler const& handler) const; using KeypadPressed_revoker = impl::event_revoker::remove_KeypadPressed>; - [[nodiscard]] KeypadPressed_revoker KeypadPressed(auto_revoke_t, winrt::Windows::Media::Devices::KeypadPressedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) KeypadPressed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AudioTransferRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; + [[nodiscard]] auto KeypadPressed(auto_revoke_t, winrt::Windows::Media::Devices::KeypadPressedEventHandler const& handler) const; + auto KeypadPressed(winrt::event_token const& token) const noexcept; + auto AudioTransferRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; using AudioTransferRequested_revoker = impl::event_revoker::remove_AudioTransferRequested>; - [[nodiscard]] AudioTransferRequested_revoker AudioTransferRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AudioTransferRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AudioTransferRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const; + auto AudioTransferRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1650,8 +1648,8 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_ICallControlStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::CallControl) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::CallControl) FromId(param::hstring const& deviceId) const; + auto GetDefault() const; + auto FromId(param::hstring const& deviceId) const; }; template <> struct consume { @@ -1660,8 +1658,8 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IDefaultAudioDeviceChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AudioDeviceRole) Role() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Role() const; }; template <> struct consume { @@ -1670,8 +1668,8 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IDialRequestedEventArgs { - WINRT_IMPL_AUTO(void) Handled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Contact() const; + auto Handled() const; + [[nodiscard]] auto Contact() const; }; template <> struct consume { @@ -1680,12 +1678,12 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IDigitalWindowBounds { - [[nodiscard]] WINRT_IMPL_AUTO(double) NormalizedOriginTop() const; - WINRT_IMPL_AUTO(void) NormalizedOriginTop(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) NormalizedOriginLeft() const; - WINRT_IMPL_AUTO(void) NormalizedOriginLeft(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Scale() const; - WINRT_IMPL_AUTO(void) Scale(double value) const; + [[nodiscard]] auto NormalizedOriginTop() const; + auto NormalizedOriginTop(double value) const; + [[nodiscard]] auto NormalizedOriginLeft() const; + auto NormalizedOriginLeft(double value) const; + [[nodiscard]] auto Scale() const; + auto Scale(double value) const; }; template <> struct consume { @@ -1694,12 +1692,12 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IDigitalWindowCapability { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Width() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Height() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinScaleValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxScaleValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinScaleValueWithoutUpsampling() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) NormalizedFieldOfViewLimit() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto MinScaleValue() const; + [[nodiscard]] auto MaxScaleValue() const; + [[nodiscard]] auto MinScaleValueWithoutUpsampling() const; + [[nodiscard]] auto NormalizedFieldOfViewLimit() const; }; template <> struct consume { @@ -1708,14 +1706,14 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IDigitalWindowControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) SupportedModes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowMode) CurrentMode() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowBounds) GetBounds() const; - WINRT_IMPL_AUTO(void) Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode) const; - WINRT_IMPL_AUTO(void) Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode, winrt::Windows::Media::Devices::DigitalWindowBounds const& digitalWindowBounds) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedCapabilities() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowCapability) GetCapabilityForSize(int32_t width, int32_t height) const; + [[nodiscard]] auto IsSupported() const; + [[nodiscard]] auto SupportedModes() const; + [[nodiscard]] auto CurrentMode() const; + auto GetBounds() const; + auto Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode) const; + auto Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode, winrt::Windows::Media::Devices::DigitalWindowBounds const& digitalWindowBounds) const; + [[nodiscard]] auto SupportedCapabilities() const; + auto GetCapabilityForSize(int32_t width, int32_t height) const; }; template <> struct consume { @@ -1724,12 +1722,12 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IExposureCompensationControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Min() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Max() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Step() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Value() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetValueAsync(float value) const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + [[nodiscard]] auto Value() const; + auto SetValueAsync(float value) const; }; template <> struct consume { @@ -1738,14 +1736,14 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IExposureControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Auto() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetAutoAsync(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Min() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Max() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Step() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Value() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetValueAsync(winrt::Windows::Foundation::TimeSpan const& shutterDuration) const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Auto() const; + auto SetAutoAsync(bool value) const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + [[nodiscard]] auto Value() const; + auto SetValueAsync(winrt::Windows::Foundation::TimeSpan const& shutterDuration) const; }; template <> struct consume { @@ -1754,9 +1752,9 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IExposurePriorityVideoControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Enabled() const; - WINRT_IMPL_AUTO(void) Enabled(bool value) const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Enabled() const; + auto Enabled(bool value) const; }; template <> struct consume { @@ -1765,17 +1763,17 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IFlashControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PowerSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RedEyeReductionSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Enabled() const; - WINRT_IMPL_AUTO(void) Enabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Auto() const; - WINRT_IMPL_AUTO(void) Auto(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RedEyeReduction() const; - WINRT_IMPL_AUTO(void) RedEyeReduction(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) PowerPercent() const; - WINRT_IMPL_AUTO(void) PowerPercent(float value) const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto PowerSupported() const; + [[nodiscard]] auto RedEyeReductionSupported() const; + [[nodiscard]] auto Enabled() const; + auto Enabled(bool value) const; + [[nodiscard]] auto Auto() const; + auto Auto(bool value) const; + [[nodiscard]] auto RedEyeReduction() const; + auto RedEyeReduction(bool value) const; + [[nodiscard]] auto PowerPercent() const; + auto PowerPercent(float value) const; }; template <> struct consume { @@ -1784,9 +1782,9 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IFlashControl2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AssistantLightSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AssistantLightEnabled() const; - WINRT_IMPL_AUTO(void) AssistantLightEnabled(bool value) const; + [[nodiscard]] auto AssistantLightSupported() const; + [[nodiscard]] auto AssistantLightEnabled() const; + auto AssistantLightEnabled(bool value) const; }; template <> struct consume { @@ -1795,17 +1793,17 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IFocusControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedPresets() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::FocusPreset) Preset() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetPresetAsync(winrt::Windows::Media::Devices::FocusPreset const& preset) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetPresetAsync(winrt::Windows::Media::Devices::FocusPreset const& preset, bool completeBeforeFocus) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Min() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Max() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Step() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Value() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetValueAsync(uint32_t focus) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) FocusAsync() const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto SupportedPresets() const; + [[nodiscard]] auto Preset() const; + auto SetPresetAsync(winrt::Windows::Media::Devices::FocusPreset const& preset) const; + auto SetPresetAsync(winrt::Windows::Media::Devices::FocusPreset const& preset, bool completeBeforeFocus) const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + [[nodiscard]] auto Value() const; + auto SetValueAsync(uint32_t focus) const; + auto FocusAsync() const; }; template <> struct consume { @@ -1814,16 +1812,16 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IFocusControl2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) FocusChangedSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) WaitForFocusSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedFocusModes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedFocusDistances() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedFocusRanges() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::FocusMode) Mode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaCaptureFocusState) FocusState() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UnlockAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) LockAsync() const; - WINRT_IMPL_AUTO(void) Configure(winrt::Windows::Media::Devices::FocusSettings const& settings) const; + [[nodiscard]] auto FocusChangedSupported() const; + [[nodiscard]] auto WaitForFocusSupported() const; + [[nodiscard]] auto SupportedFocusModes() const; + [[nodiscard]] auto SupportedFocusDistances() const; + [[nodiscard]] auto SupportedFocusRanges() const; + [[nodiscard]] auto Mode() const; + [[nodiscard]] auto FocusState() const; + auto UnlockAsync() const; + auto LockAsync() const; + auto Configure(winrt::Windows::Media::Devices::FocusSettings const& settings) const; }; template <> struct consume { @@ -1832,18 +1830,18 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IFocusSettings { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::FocusMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::Media::Devices::FocusMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AutoFocusRange) AutoFocusRange() const; - WINRT_IMPL_AUTO(void) AutoFocusRange(winrt::Windows::Media::Devices::AutoFocusRange const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Value() const; - WINRT_IMPL_AUTO(void) Value(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Distance() const; - WINRT_IMPL_AUTO(void) Distance(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) WaitForFocus() const; - WINRT_IMPL_AUTO(void) WaitForFocus(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DisableDriverFallback() const; - WINRT_IMPL_AUTO(void) DisableDriverFallback(bool value) const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Devices::FocusMode const& value) const; + [[nodiscard]] auto AutoFocusRange() const; + auto AutoFocusRange(winrt::Windows::Media::Devices::AutoFocusRange const& value) const; + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Distance() const; + auto Distance(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto WaitForFocus() const; + auto WaitForFocus(bool value) const; + [[nodiscard]] auto DisableDriverFallback() const; + auto DisableDriverFallback(bool value) const; }; template <> struct consume { @@ -1852,10 +1850,10 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IHdrVideoControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedModes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::HdrVideoMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::Media::Devices::HdrVideoMode const& value) const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto SupportedModes() const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Devices::HdrVideoMode const& value) const; }; template <> struct consume { @@ -1864,15 +1862,15 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IInfraredTorchControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedModes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::InfraredTorchMode) CurrentMode() const; - WINRT_IMPL_AUTO(void) CurrentMode(winrt::Windows::Media::Devices::InfraredTorchMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MinPower() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxPower() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PowerStep() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Power() const; - WINRT_IMPL_AUTO(void) Power(int32_t value) const; + [[nodiscard]] auto IsSupported() const; + [[nodiscard]] auto SupportedModes() const; + [[nodiscard]] auto CurrentMode() const; + auto CurrentMode(winrt::Windows::Media::Devices::InfraredTorchMode const& value) const; + [[nodiscard]] auto MinPower() const; + [[nodiscard]] auto MaxPower() const; + [[nodiscard]] auto PowerStep() const; + [[nodiscard]] auto Power() const; + auto Power(int32_t value) const; }; template <> struct consume { @@ -1881,10 +1879,10 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IIsoSpeedControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedPresets() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::IsoSpeedPreset) Preset() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetPresetAsync(winrt::Windows::Media::Devices::IsoSpeedPreset const& preset) const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto SupportedPresets() const; + [[nodiscard]] auto Preset() const; + auto SetPresetAsync(winrt::Windows::Media::Devices::IsoSpeedPreset const& preset) const; }; template <> struct consume { @@ -1893,13 +1891,13 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IIsoSpeedControl2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Min() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Max() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Step() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Value() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetValueAsync(uint32_t isoSpeed) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Auto() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetAutoAsync() const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + [[nodiscard]] auto Value() const; + auto SetValueAsync(uint32_t isoSpeed) const; + [[nodiscard]] auto Auto() const; + auto SetAutoAsync() const; }; template <> struct consume { @@ -1908,7 +1906,7 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IKeypadPressedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::TelephonyKey) TelephonyKey() const; + [[nodiscard]] auto TelephonyKey() const; }; template <> struct consume { @@ -1917,15 +1915,15 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_ILowLagPhotoControl { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) GetCurrentFrameRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ThumbnailEnabled() const; - WINRT_IMPL_AUTO(void) ThumbnailEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat) ThumbnailFormat() const; - WINRT_IMPL_AUTO(void) ThumbnailFormat(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DesiredThumbnailSize() const; - WINRT_IMPL_AUTO(void) DesiredThumbnailSize(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) HardwareAcceleratedThumbnailSupported() const; + auto GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const; + auto GetCurrentFrameRate() const; + [[nodiscard]] auto ThumbnailEnabled() const; + auto ThumbnailEnabled(bool value) const; + [[nodiscard]] auto ThumbnailFormat() const; + auto ThumbnailFormat(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat const& value) const; + [[nodiscard]] auto DesiredThumbnailSize() const; + auto DesiredThumbnailSize(uint32_t value) const; + [[nodiscard]] auto HardwareAcceleratedThumbnailSupported() const; }; template <> struct consume { @@ -1934,22 +1932,22 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_ILowLagPhotoSequenceControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxPastPhotos() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MaxPhotosPerSecond() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PastPhotoLimit() const; - WINRT_IMPL_AUTO(void) PastPhotoLimit(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) PhotosPerSecondLimit() const; - WINRT_IMPL_AUTO(void) PhotosPerSecondLimit(float value) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) GetCurrentFrameRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ThumbnailEnabled() const; - WINRT_IMPL_AUTO(void) ThumbnailEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat) ThumbnailFormat() const; - WINRT_IMPL_AUTO(void) ThumbnailFormat(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DesiredThumbnailSize() const; - WINRT_IMPL_AUTO(void) DesiredThumbnailSize(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) HardwareAcceleratedThumbnailSupported() const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto MaxPastPhotos() const; + [[nodiscard]] auto MaxPhotosPerSecond() const; + [[nodiscard]] auto PastPhotoLimit() const; + auto PastPhotoLimit(uint32_t value) const; + [[nodiscard]] auto PhotosPerSecondLimit() const; + auto PhotosPerSecondLimit(float value) const; + auto GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const; + auto GetCurrentFrameRate() const; + [[nodiscard]] auto ThumbnailEnabled() const; + auto ThumbnailEnabled(bool value) const; + [[nodiscard]] auto ThumbnailFormat() const; + auto ThumbnailFormat(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat const& value) const; + [[nodiscard]] auto DesiredThumbnailSize() const; + auto DesiredThumbnailSize(uint32_t value) const; + [[nodiscard]] auto HardwareAcceleratedThumbnailSupported() const; }; template <> struct consume { @@ -1958,11 +1956,11 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IMediaDeviceControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControlCapabilities) Capabilities() const; - WINRT_IMPL_AUTO(bool) TryGetValue(double& value) const; - WINRT_IMPL_AUTO(bool) TrySetValue(double value) const; - WINRT_IMPL_AUTO(bool) TryGetAuto(bool& value) const; - WINRT_IMPL_AUTO(bool) TrySetAuto(bool value) const; + [[nodiscard]] auto Capabilities() const; + auto TryGetValue(double& value) const; + auto TrySetValue(double value) const; + auto TryGetAuto(bool& value) const; + auto TrySetAuto(bool value) const; }; template <> struct consume { @@ -1971,12 +1969,12 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IMediaDeviceControlCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Min() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Max() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Step() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Default() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoModeSupported() const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + [[nodiscard]] auto Default() const; + [[nodiscard]] auto AutoModeSupported() const; }; template <> struct consume { @@ -1985,9 +1983,9 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IMediaDeviceController { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAvailableMediaStreamProperties(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties) GetMediaStreamProperties(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetMediaStreamPropertiesAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& mediaEncodingProperties) const; + auto GetAvailableMediaStreamProperties(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const; + auto GetMediaStreamProperties(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const; + auto SetMediaStreamPropertiesAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& mediaEncodingProperties) const; }; template <> struct consume { @@ -1996,19 +1994,19 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IMediaDeviceStatics { - WINRT_IMPL_AUTO(hstring) GetAudioCaptureSelector() const; - WINRT_IMPL_AUTO(hstring) GetAudioRenderSelector() const; - WINRT_IMPL_AUTO(hstring) GetVideoCaptureSelector() const; - WINRT_IMPL_AUTO(hstring) GetDefaultAudioCaptureId(winrt::Windows::Media::Devices::AudioDeviceRole const& role) const; - WINRT_IMPL_AUTO(hstring) GetDefaultAudioRenderId(winrt::Windows::Media::Devices::AudioDeviceRole const& role) const; - WINRT_IMPL_AUTO(winrt::event_token) DefaultAudioCaptureDeviceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetAudioCaptureSelector() const; + auto GetAudioRenderSelector() const; + auto GetVideoCaptureSelector() const; + auto GetDefaultAudioCaptureId(winrt::Windows::Media::Devices::AudioDeviceRole const& role) const; + auto GetDefaultAudioRenderId(winrt::Windows::Media::Devices::AudioDeviceRole const& role) const; + auto DefaultAudioCaptureDeviceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DefaultAudioCaptureDeviceChanged_revoker = impl::event_revoker::remove_DefaultAudioCaptureDeviceChanged>; - [[nodiscard]] DefaultAudioCaptureDeviceChanged_revoker DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DefaultAudioCaptureDeviceChanged(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DefaultAudioRenderDeviceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DefaultAudioCaptureDeviceChanged(winrt::event_token const& cookie) const noexcept; + auto DefaultAudioRenderDeviceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DefaultAudioRenderDeviceChanged_revoker = impl::event_revoker::remove_DefaultAudioRenderDeviceChanged>; - [[nodiscard]] DefaultAudioRenderDeviceChanged_revoker DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DefaultAudioRenderDeviceChanged(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DefaultAudioRenderDeviceChanged(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -2017,8 +2015,8 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IModuleCommandResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::SendCommandStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Result() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Result() const; }; template <> struct consume { @@ -2027,10 +2025,10 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IOpticalImageStabilizationControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedModes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::OpticalImageStabilizationMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::Media::Devices::OpticalImageStabilizationMode const& value) const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto SupportedModes() const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Devices::OpticalImageStabilizationMode const& value) const; }; template <> struct consume { @@ -2039,9 +2037,9 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IPanelBasedOptimizationControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Panel) Panel() const; - WINRT_IMPL_AUTO(void) Panel(winrt::Windows::Devices::Enumeration::Panel const& value) const; + [[nodiscard]] auto IsSupported() const; + [[nodiscard]] auto Panel() const; + auto Panel(winrt::Windows::Devices::Enumeration::Panel const& value) const; }; template <> struct consume { @@ -2050,11 +2048,11 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IPhotoConfirmationControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Enabled() const; - WINRT_IMPL_AUTO(void) Enabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaPixelFormat) PixelFormat() const; - WINRT_IMPL_AUTO(void) PixelFormat(winrt::Windows::Media::MediaProperties::MediaPixelFormat const& format) const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Enabled() const; + auto Enabled(bool value) const; + [[nodiscard]] auto PixelFormat() const; + auto PixelFormat(winrt::Windows::Media::MediaProperties::MediaPixelFormat const& format) const; }; template <> struct consume { @@ -2063,7 +2061,7 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IRedialRequestedEventArgs { - WINRT_IMPL_AUTO(void) Handled() const; + auto Handled() const; }; template <> struct consume { @@ -2072,14 +2070,14 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IRegionOfInterest { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoFocusEnabled() const; - WINRT_IMPL_AUTO(void) AutoFocusEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoWhiteBalanceEnabled() const; - WINRT_IMPL_AUTO(void) AutoWhiteBalanceEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoExposureEnabled() const; - WINRT_IMPL_AUTO(void) AutoExposureEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Bounds() const; - WINRT_IMPL_AUTO(void) Bounds(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto AutoFocusEnabled() const; + auto AutoFocusEnabled(bool value) const; + [[nodiscard]] auto AutoWhiteBalanceEnabled() const; + auto AutoWhiteBalanceEnabled(bool value) const; + [[nodiscard]] auto AutoExposureEnabled() const; + auto AutoExposureEnabled(bool value) const; + [[nodiscard]] auto Bounds() const; + auto Bounds(winrt::Windows::Foundation::Rect const& value) const; }; template <> struct consume { @@ -2088,12 +2086,12 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IRegionOfInterest2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::RegionOfInterestType) Type() const; - WINRT_IMPL_AUTO(void) Type(winrt::Windows::Media::Devices::RegionOfInterestType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) BoundsNormalized() const; - WINRT_IMPL_AUTO(void) BoundsNormalized(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Weight() const; - WINRT_IMPL_AUTO(void) Weight(uint32_t value) const; + [[nodiscard]] auto Type() const; + auto Type(winrt::Windows::Media::Devices::RegionOfInterestType const& value) const; + [[nodiscard]] auto BoundsNormalized() const; + auto BoundsNormalized(bool value) const; + [[nodiscard]] auto Weight() const; + auto Weight(uint32_t value) const; }; template <> struct consume { @@ -2102,13 +2100,13 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IRegionsOfInterestControl { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxRegions() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetRegionsAsync(param::async_iterable const& regions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetRegionsAsync(param::async_iterable const& regions, bool lockValues) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearRegionsAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoFocusSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoWhiteBalanceSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoExposureSupported() const; + [[nodiscard]] auto MaxRegions() const; + auto SetRegionsAsync(param::async_iterable const& regions) const; + auto SetRegionsAsync(param::async_iterable const& regions, bool lockValues) const; + auto ClearRegionsAsync() const; + [[nodiscard]] auto AutoFocusSupported() const; + [[nodiscard]] auto AutoWhiteBalanceSupported() const; + [[nodiscard]] auto AutoExposureSupported() const; }; template <> struct consume { @@ -2117,9 +2115,9 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_ISceneModeControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedModes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::CaptureSceneMode) Value() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetValueAsync(winrt::Windows::Media::Devices::CaptureSceneMode const& sceneMode) const; + [[nodiscard]] auto SupportedModes() const; + [[nodiscard]] auto Value() const; + auto SetValueAsync(winrt::Windows::Media::Devices::CaptureSceneMode const& sceneMode) const; }; template <> struct consume { @@ -2128,12 +2126,12 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_ITorchControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PowerSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Enabled() const; - WINRT_IMPL_AUTO(void) Enabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) PowerPercent() const; - WINRT_IMPL_AUTO(void) PowerPercent(float value) const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto PowerSupported() const; + [[nodiscard]] auto Enabled() const; + auto Enabled(bool value) const; + [[nodiscard]] auto PowerPercent() const; + auto PowerPercent(float value) const; }; template <> struct consume { @@ -2142,19 +2140,19 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IVideoDeviceController { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) Brightness() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) Contrast() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) Hue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) WhiteBalance() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) BacklightCompensation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) Pan() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) Tilt() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) Zoom() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) Roll() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) Exposure() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) Focus() const; - WINRT_IMPL_AUTO(bool) TrySetPowerlineFrequency(winrt::Windows::Media::Capture::PowerlineFrequency const& value) const; - WINRT_IMPL_AUTO(bool) TryGetPowerlineFrequency(winrt::Windows::Media::Capture::PowerlineFrequency& value) const; + [[nodiscard]] auto Brightness() const; + [[nodiscard]] auto Contrast() const; + [[nodiscard]] auto Hue() const; + [[nodiscard]] auto WhiteBalance() const; + [[nodiscard]] auto BacklightCompensation() const; + [[nodiscard]] auto Pan() const; + [[nodiscard]] auto Tilt() const; + [[nodiscard]] auto Zoom() const; + [[nodiscard]] auto Roll() const; + [[nodiscard]] auto Exposure() const; + [[nodiscard]] auto Focus() const; + auto TrySetPowerlineFrequency(winrt::Windows::Media::Capture::PowerlineFrequency const& value) const; + auto TryGetPowerlineFrequency(winrt::Windows::Media::Capture::PowerlineFrequency& value) const; }; template <> struct consume { @@ -2163,8 +2161,8 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IVideoDeviceControllerGetDevicePropertyResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceControllerGetDevicePropertyStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Value() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -2173,10 +2171,10 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IVideoTemporalDenoisingControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedModes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoTemporalDenoisingMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::Media::Devices::VideoTemporalDenoisingMode const& value) const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto SupportedModes() const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Devices::VideoTemporalDenoisingMode const& value) const; }; template <> struct consume { @@ -2185,14 +2183,14 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IWhiteBalanceControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ColorTemperaturePreset) Preset() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetPresetAsync(winrt::Windows::Media::Devices::ColorTemperaturePreset const& preset) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Min() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Max() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Step() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Value() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetValueAsync(uint32_t temperature) const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Preset() const; + auto SetPresetAsync(winrt::Windows::Media::Devices::ColorTemperaturePreset const& preset) const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + [[nodiscard]] auto Value() const; + auto SetValueAsync(uint32_t temperature) const; }; template <> struct consume { @@ -2201,12 +2199,12 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IZoomControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Min() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Max() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Step() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Value() const; - WINRT_IMPL_AUTO(void) Value(float value) const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; + [[nodiscard]] auto Value() const; + auto Value(float value) const; }; template <> struct consume { @@ -2215,9 +2213,9 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IZoomControl2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedModes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ZoomTransitionMode) Mode() const; - WINRT_IMPL_AUTO(void) Configure(winrt::Windows::Media::Devices::ZoomSettings const& settings) const; + [[nodiscard]] auto SupportedModes() const; + [[nodiscard]] auto Mode() const; + auto Configure(winrt::Windows::Media::Devices::ZoomSettings const& settings) const; }; template <> struct consume { @@ -2226,10 +2224,10 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_IZoomSettings { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ZoomTransitionMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::Media::Devices::ZoomTransitionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Value() const; - WINRT_IMPL_AUTO(void) Value(float value) const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Devices::ZoomTransitionMode const& value) const; + [[nodiscard]] auto Value() const; + auto Value(float value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.1.h index 73438cc3..50911004 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Devices_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.2.h index d1af1fc1..8740f209 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Devices_2_H @@ -195,11 +195,11 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices static auto GetDefaultAudioRenderId(winrt::Windows::Media::Devices::AudioDeviceRole const& role); static auto DefaultAudioCaptureDeviceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler); using DefaultAudioCaptureDeviceChanged_revoker = impl::factory_event_revoker::remove_DefaultAudioCaptureDeviceChanged>; - [[nodiscard]] static DefaultAudioCaptureDeviceChanged_revoker DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); + [[nodiscard]] static auto DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); static auto DefaultAudioCaptureDeviceChanged(winrt::event_token const& cookie); static auto DefaultAudioRenderDeviceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler); using DefaultAudioRenderDeviceChanged_revoker = impl::factory_event_revoker::remove_DefaultAudioRenderDeviceChanged>; - [[nodiscard]] static DefaultAudioRenderDeviceChanged_revoker DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); + [[nodiscard]] static auto DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); static auto DefaultAudioRenderDeviceChanged(winrt::event_token const& cookie); }; struct __declspec(empty_bases) MediaDeviceControl : winrt::Windows::Media::Devices::IMediaDeviceControl diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.0.h index e821e711..03e0981d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Devices_Core_0_H @@ -8,10 +8,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation template struct __declspec(empty_bases) IReference; struct Point; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics { } @@ -370,16 +366,16 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_ICameraIntrinsics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) FocalLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) PrincipalPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) RadialDistortion() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) TangentialDistortion() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ImageWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ImageHeight() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) ProjectOntoFrame(winrt::Windows::Foundation::Numerics::float3 const& coordinate) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) UnprojectAtUnitDepth(winrt::Windows::Foundation::Point const& pixelCoordinate) const; - WINRT_IMPL_AUTO(void) ProjectManyOntoFrame(array_view coordinates, array_view results) const; - WINRT_IMPL_AUTO(void) UnprojectPixelsAtUnitDepth(array_view pixelCoordinates, array_view results) const; + [[nodiscard]] auto FocalLength() const; + [[nodiscard]] auto PrincipalPoint() const; + [[nodiscard]] auto RadialDistortion() const; + [[nodiscard]] auto TangentialDistortion() const; + [[nodiscard]] auto ImageWidth() const; + [[nodiscard]] auto ImageHeight() const; + auto ProjectOntoFrame(winrt::Windows::Foundation::Numerics::float3 const& coordinate) const; + auto UnprojectAtUnitDepth(winrt::Windows::Foundation::Point const& pixelCoordinate) const; + auto ProjectManyOntoFrame(array_view coordinates, array_view results) const; + auto UnprojectPixelsAtUnitDepth(array_view pixelCoordinates, array_view results) const; }; template <> struct consume { @@ -388,11 +384,11 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_ICameraIntrinsics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) UndistortedProjectionTransform() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) DistortPoint(winrt::Windows::Foundation::Point const& input) const; - WINRT_IMPL_AUTO(void) DistortPoints(array_view inputs, array_view results) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) UndistortPoint(winrt::Windows::Foundation::Point const& input) const; - WINRT_IMPL_AUTO(void) UndistortPoints(array_view inputs, array_view results) const; + [[nodiscard]] auto UndistortedProjectionTransform() const; + auto DistortPoint(winrt::Windows::Foundation::Point const& input) const; + auto DistortPoints(array_view inputs, array_view results) const; + auto UndistortPoint(winrt::Windows::Foundation::Point const& input) const; + auto UndistortPoints(array_view inputs, array_view results) const; }; template <> struct consume { @@ -401,7 +397,7 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_ICameraIntrinsicsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) Create(winrt::Windows::Foundation::Numerics::float2 const& focalLength, winrt::Windows::Foundation::Numerics::float2 const& principalPoint, winrt::Windows::Foundation::Numerics::float3 const& radialDistortion, winrt::Windows::Foundation::Numerics::float2 const& tangentialDistortion, uint32_t imageWidth, uint32_t imageHeight) const; + auto Create(winrt::Windows::Foundation::Numerics::float2 const& focalLength, winrt::Windows::Foundation::Numerics::float2 const& principalPoint, winrt::Windows::Foundation::Numerics::float3 const& radialDistortion, winrt::Windows::Foundation::Numerics::float2 const& tangentialDistortion, uint32_t imageWidth, uint32_t imageHeight) const; }; template <> struct consume { @@ -410,10 +406,10 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) UnprojectPoint(winrt::Windows::Foundation::Point const& sourcePoint, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem) const; - WINRT_IMPL_AUTO(void) UnprojectPoints(array_view sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, array_view results) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) MapPoint(winrt::Windows::Foundation::Point const& sourcePoint, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, winrt::Windows::Media::Devices::Core::CameraIntrinsics const& targetCameraIntrinsics) const; - WINRT_IMPL_AUTO(void) MapPoints(array_view sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, winrt::Windows::Media::Devices::Core::CameraIntrinsics const& targetCameraIntrinsics, array_view results) const; + auto UnprojectPoint(winrt::Windows::Foundation::Point const& sourcePoint, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem) const; + auto UnprojectPoints(array_view sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, array_view results) const; + auto MapPoint(winrt::Windows::Foundation::Point const& sourcePoint, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, winrt::Windows::Media::Devices::Core::CameraIntrinsics const& targetCameraIntrinsics) const; + auto MapPoints(array_view sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, winrt::Windows::Media::Devices::Core::CameraIntrinsics const& targetCameraIntrinsics, array_view results) const; }; template <> struct consume { @@ -422,11 +418,11 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_IFrameControlCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameExposureCapabilities) Exposure() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameExposureCompensationCapabilities) ExposureCompensation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameIsoSpeedCapabilities) IsoSpeed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameFocusCapabilities) Focus() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PhotoConfirmationSupported() const; + [[nodiscard]] auto Exposure() const; + [[nodiscard]] auto ExposureCompensation() const; + [[nodiscard]] auto IsoSpeed() const; + [[nodiscard]] auto Focus() const; + [[nodiscard]] auto PhotoConfirmationSupported() const; }; template <> struct consume { @@ -435,7 +431,7 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_IFrameControlCapabilities2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameFlashCapabilities) Flash() const; + [[nodiscard]] auto Flash() const; }; template <> struct consume { @@ -444,12 +440,12 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_IFrameController { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameExposureControl) ExposureControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameExposureCompensationControl) ExposureCompensationControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameIsoSpeedControl) IsoSpeedControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameFocusControl) FocusControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PhotoConfirmationEnabled() const; - WINRT_IMPL_AUTO(void) PhotoConfirmationEnabled(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ExposureControl() const; + [[nodiscard]] auto ExposureCompensationControl() const; + [[nodiscard]] auto IsoSpeedControl() const; + [[nodiscard]] auto FocusControl() const; + [[nodiscard]] auto PhotoConfirmationEnabled() const; + auto PhotoConfirmationEnabled(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -458,7 +454,7 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_IFrameController2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameFlashControl) FlashControl() const; + [[nodiscard]] auto FlashControl() const; }; template <> struct consume { @@ -467,10 +463,10 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_IFrameExposureCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Min() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Max() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Step() const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; }; template <> struct consume { @@ -479,10 +475,10 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Min() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Max() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Step() const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; }; template <> struct consume { @@ -491,8 +487,8 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_IFrameExposureCompensationControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Value() const; - WINRT_IMPL_AUTO(void) Value(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -501,10 +497,10 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_IFrameExposureControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Auto() const; - WINRT_IMPL_AUTO(void) Auto(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Value() const; - WINRT_IMPL_AUTO(void) Value(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Auto() const; + auto Auto(bool value) const; + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -513,9 +509,9 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_IFrameFlashCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RedEyeReductionSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PowerSupported() const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto RedEyeReductionSupported() const; + [[nodiscard]] auto PowerSupported() const; }; template <> struct consume { @@ -524,14 +520,14 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_IFrameFlashControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameFlashMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::Media::Devices::Core::FrameFlashMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Auto() const; - WINRT_IMPL_AUTO(void) Auto(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RedEyeReduction() const; - WINRT_IMPL_AUTO(void) RedEyeReduction(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) PowerPercent() const; - WINRT_IMPL_AUTO(void) PowerPercent(float value) const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Devices::Core::FrameFlashMode const& value) const; + [[nodiscard]] auto Auto() const; + auto Auto(bool value) const; + [[nodiscard]] auto RedEyeReduction() const; + auto RedEyeReduction(bool value) const; + [[nodiscard]] auto PowerPercent() const; + auto PowerPercent(float value) const; }; template <> struct consume { @@ -540,10 +536,10 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_IFrameFocusCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Min() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Max() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Step() const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; }; template <> struct consume { @@ -552,8 +548,8 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_IFrameFocusControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Value() const; - WINRT_IMPL_AUTO(void) Value(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -562,10 +558,10 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Min() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Max() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Step() const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Step() const; }; template <> struct consume { @@ -574,10 +570,10 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Auto() const; - WINRT_IMPL_AUTO(void) Auto(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Value() const; - WINRT_IMPL_AUTO(void) Value(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Auto() const; + auto Auto(bool value) const; + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -586,14 +582,14 @@ namespace winrt::impl template struct consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MaxPhotosPerSecond() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) PhotosPerSecondLimit() const; - WINRT_IMPL_AUTO(void) PhotosPerSecondLimit(float value) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) GetCurrentFrameRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameControlCapabilities) FrameCapabilities() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DesiredFrameControllers() const; + [[nodiscard]] auto Supported() const; + [[nodiscard]] auto MaxPhotosPerSecond() const; + [[nodiscard]] auto PhotosPerSecondLimit() const; + auto PhotosPerSecondLimit(float value) const; + auto GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const; + auto GetCurrentFrameRate() const; + [[nodiscard]] auto FrameCapabilities() const; + [[nodiscard]] auto DesiredFrameControllers() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.1.h index 09eb2213..6ce7eb72 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Devices_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.2.h index 6d0a8d7e..20d84584 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Devices_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.0.h index 66908f0c..e7caa5ba 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_DialProtocol_0_H @@ -12,7 +12,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct Rect; template struct __declspec(empty_bases) TypedEventHandler; } @@ -20,8 +19,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; template struct __declspec(empty_bases) IKeyValuePair; - template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { @@ -263,10 +260,10 @@ namespace winrt::impl template struct consume_Windows_Media_DialProtocol_IDialApp { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppName() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestLaunchAsync(param::hstring const& appArgument) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StopAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAppStateAsync() const; + [[nodiscard]] auto AppName() const; + auto RequestLaunchAsync(param::hstring const& appArgument) const; + auto StopAsync() const; + auto GetAppStateAsync() const; }; template <> struct consume { @@ -275,8 +272,8 @@ namespace winrt::impl template struct consume_Windows_Media_DialProtocol_IDialAppStateDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialAppState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FullXml() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto FullXml() const; }; template <> struct consume { @@ -285,8 +282,8 @@ namespace winrt::impl template struct consume_Windows_Media_DialProtocol_IDialDevice { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialApp) GetDialApp(param::hstring const& appName) const; + [[nodiscard]] auto Id() const; + auto GetDialApp(param::hstring const& appName) const; }; template <> struct consume { @@ -295,8 +292,8 @@ namespace winrt::impl template struct consume_Windows_Media_DialProtocol_IDialDevice2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FriendlyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Thumbnail() const; + [[nodiscard]] auto FriendlyName() const; + [[nodiscard]] auto Thumbnail() const; }; template <> struct consume { @@ -305,26 +302,26 @@ namespace winrt::impl template struct consume_Windows_Media_DialProtocol_IDialDevicePicker { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialDevicePickerFilter) Filter() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePickerAppearance) Appearance() const; - WINRT_IMPL_AUTO(winrt::event_token) DialDeviceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Filter() const; + [[nodiscard]] auto Appearance() const; + auto DialDeviceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DialDeviceSelected_revoker = impl::event_revoker::remove_DialDeviceSelected>; - [[nodiscard]] DialDeviceSelected_revoker DialDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DialDeviceSelected(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DisconnectButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DialDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DialDeviceSelected(winrt::event_token const& token) const noexcept; + auto DisconnectButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DisconnectButtonClicked_revoker = impl::event_revoker::remove_DisconnectButtonClicked>; - [[nodiscard]] DisconnectButtonClicked_revoker DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DisconnectButtonClicked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DialDevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DisconnectButtonClicked(winrt::event_token const& token) const noexcept; + auto DialDevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DialDevicePickerDismissed_revoker = impl::event_revoker::remove_DialDevicePickerDismissed>; - [[nodiscard]] DialDevicePickerDismissed_revoker DialDevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DialDevicePickerDismissed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Show(winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(void) Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PickSingleDialDeviceAsync(winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PickSingleDialDeviceAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; - WINRT_IMPL_AUTO(void) Hide() const; - WINRT_IMPL_AUTO(void) SetDisplayStatus(winrt::Windows::Media::DialProtocol::DialDevice const& device, winrt::Windows::Media::DialProtocol::DialDeviceDisplayStatus const& status) const; + [[nodiscard]] auto DialDevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DialDevicePickerDismissed(winrt::event_token const& token) const noexcept; + auto Show(winrt::Windows::Foundation::Rect const& selection) const; + auto Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + auto PickSingleDialDeviceAsync(winrt::Windows::Foundation::Rect const& selection) const; + auto PickSingleDialDeviceAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + auto Hide() const; + auto SetDisplayStatus(winrt::Windows::Media::DialProtocol::DialDevice const& device, winrt::Windows::Media::DialProtocol::DialDeviceDisplayStatus const& status) const; }; template <> struct consume { @@ -333,7 +330,7 @@ namespace winrt::impl template struct consume_Windows_Media_DialProtocol_IDialDevicePickerFilter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SupportedAppNames() const; + [[nodiscard]] auto SupportedAppNames() const; }; template <> struct consume { @@ -342,7 +339,7 @@ namespace winrt::impl template struct consume_Windows_Media_DialProtocol_IDialDeviceSelectedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialDevice) SelectedDialDevice() const; + [[nodiscard]] auto SelectedDialDevice() const; }; template <> struct consume { @@ -351,9 +348,9 @@ namespace winrt::impl template struct consume_Windows_Media_DialProtocol_IDialDeviceStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector(param::hstring const& appName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DeviceInfoSupportsDialAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const; + auto GetDeviceSelector(param::hstring const& appName) const; + auto FromIdAsync(param::hstring const& value) const; + auto DeviceInfoSupportsDialAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const; }; template <> struct consume { @@ -362,7 +359,7 @@ namespace winrt::impl template struct consume_Windows_Media_DialProtocol_IDialDisconnectButtonClickedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialDevice) Device() const; + [[nodiscard]] auto Device() const; }; template <> struct consume { @@ -371,8 +368,8 @@ namespace winrt::impl template struct consume_Windows_Media_DialProtocol_IDialReceiverApp { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetAdditionalDataAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetAdditionalDataAsync(param::async_iterable> const& additionalData) const; + auto GetAdditionalDataAsync() const; + auto SetAdditionalDataAsync(param::async_iterable> const& additionalData) const; }; template <> struct consume { @@ -381,7 +378,7 @@ namespace winrt::impl template struct consume_Windows_Media_DialProtocol_IDialReceiverApp2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetUniqueDeviceNameAsync() const; + auto GetUniqueDeviceNameAsync() const; }; template <> struct consume { @@ -390,7 +387,7 @@ namespace winrt::impl template struct consume_Windows_Media_DialProtocol_IDialReceiverAppStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialReceiverApp) Current() const; + [[nodiscard]] auto Current() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.1.h index a703e679..793b245c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_DialProtocol_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.2.h index 2c9b64ec..58af7121 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_DialProtocol_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.0.h index 682c6e0f..005fbe49 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Editing_0_H @@ -6,34 +6,23 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; - template struct __declspec(empty_bases) IAsyncOperation; struct Rect; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 { struct IDirect3DSurface; } -WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging -{ - struct ImageStream; -} WINRT_EXPORT namespace winrt::Windows::Media::Core { struct MediaStreamSource; } WINRT_EXPORT namespace winrt::Windows::Media::Effects { - struct IAudioEffectDefinition; struct IVideoCompositorDefinition; - struct IVideoEffectDefinition; } WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties { @@ -41,10 +30,6 @@ WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties struct MediaEncodingProfile; struct VideoEncodingProperties; } -WINRT_EXPORT namespace winrt::Windows::Media::Transcoding -{ - enum class TranscodeFailureReason : int32_t; -} WINRT_EXPORT namespace winrt::Windows::Storage { struct IStorageFile; @@ -302,20 +287,20 @@ namespace winrt::impl template struct consume_Windows_Media_Editing_IBackgroundAudioTrack { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TrimTimeFromStart() const; - WINRT_IMPL_AUTO(void) TrimTimeFromStart(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TrimTimeFromEnd() const; - WINRT_IMPL_AUTO(void) TrimTimeFromEnd(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) OriginalDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TrimmedDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) UserData() const; - WINRT_IMPL_AUTO(void) Delay(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Delay() const; - WINRT_IMPL_AUTO(void) Volume(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Volume() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::BackgroundAudioTrack) Clone() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) GetAudioEncodingProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) AudioEffectDefinitions() const; + [[nodiscard]] auto TrimTimeFromStart() const; + auto TrimTimeFromStart(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto TrimTimeFromEnd() const; + auto TrimTimeFromEnd(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto OriginalDuration() const; + [[nodiscard]] auto TrimmedDuration() const; + [[nodiscard]] auto UserData() const; + auto Delay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Delay() const; + auto Volume(double value) const; + [[nodiscard]] auto Volume() const; + auto Clone() const; + auto GetAudioEncodingProperties() const; + [[nodiscard]] auto AudioEffectDefinitions() const; }; template <> struct consume { @@ -324,8 +309,8 @@ namespace winrt::impl template struct consume_Windows_Media_Editing_IBackgroundAudioTrackStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::BackgroundAudioTrack) CreateFromEmbeddedAudioTrack(winrt::Windows::Media::Editing::EmbeddedAudioTrack const& embeddedAudioTrack) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto CreateFromEmbeddedAudioTrack(winrt::Windows::Media::Editing::EmbeddedAudioTrack const& embeddedAudioTrack) const; + auto CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; }; template <> struct consume { @@ -334,7 +319,7 @@ namespace winrt::impl template struct consume_Windows_Media_Editing_IEmbeddedAudioTrack { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) GetAudioEncodingProperties() const; + auto GetAudioEncodingProperties() const; }; template <> struct consume { @@ -343,24 +328,24 @@ namespace winrt::impl template struct consume_Windows_Media_Editing_IMediaClip { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TrimTimeFromStart() const; - WINRT_IMPL_AUTO(void) TrimTimeFromStart(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TrimTimeFromEnd() const; - WINRT_IMPL_AUTO(void) TrimTimeFromEnd(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) OriginalDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TrimmedDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) UserData() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaClip) Clone() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) StartTimeInComposition() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) EndTimeInComposition() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) EmbeddedAudioTracks() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SelectedEmbeddedAudioTrackIndex() const; - WINRT_IMPL_AUTO(void) SelectedEmbeddedAudioTrackIndex(uint32_t value) const; - WINRT_IMPL_AUTO(void) Volume(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Volume() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) GetVideoEncodingProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) AudioEffectDefinitions() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) VideoEffectDefinitions() const; + [[nodiscard]] auto TrimTimeFromStart() const; + auto TrimTimeFromStart(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto TrimTimeFromEnd() const; + auto TrimTimeFromEnd(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto OriginalDuration() const; + [[nodiscard]] auto TrimmedDuration() const; + [[nodiscard]] auto UserData() const; + auto Clone() const; + [[nodiscard]] auto StartTimeInComposition() const; + [[nodiscard]] auto EndTimeInComposition() const; + [[nodiscard]] auto EmbeddedAudioTracks() const; + [[nodiscard]] auto SelectedEmbeddedAudioTrackIndex() const; + auto SelectedEmbeddedAudioTrackIndex(uint32_t value) const; + auto Volume(double value) const; + [[nodiscard]] auto Volume() const; + auto GetVideoEncodingProperties() const; + [[nodiscard]] auto AudioEffectDefinitions() const; + [[nodiscard]] auto VideoEffectDefinitions() const; }; template <> struct consume { @@ -369,9 +354,9 @@ namespace winrt::impl template struct consume_Windows_Media_Editing_IMediaClipStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaClip) CreateFromColor(winrt::Windows::UI::Color const& color, winrt::Windows::Foundation::TimeSpan const& originalDuration) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFromImageFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Foundation::TimeSpan const& originalDuration) const; + auto CreateFromColor(winrt::Windows::UI::Color const& color, winrt::Windows::Foundation::TimeSpan const& originalDuration) const; + auto CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto CreateFromImageFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Foundation::TimeSpan const& originalDuration) const; }; template <> struct consume { @@ -380,7 +365,7 @@ namespace winrt::impl template struct consume_Windows_Media_Editing_IMediaClipStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaClip) CreateFromSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Foundation::TimeSpan const& originalDuration) const; + auto CreateFromSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Foundation::TimeSpan const& originalDuration) const; }; template <> struct consume { @@ -389,21 +374,21 @@ namespace winrt::impl template struct consume_Windows_Media_Editing_IMediaComposition { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Clips() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) BackgroundAudioTracks() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) UserData() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaComposition) Clone() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAsync(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetThumbnailAsync(winrt::Windows::Foundation::TimeSpan const& timeFromStart, int32_t scaledWidth, int32_t scaledHeight, winrt::Windows::Media::Editing::VideoFramePrecision const& framePrecision) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetThumbnailsAsync(param::async_iterable const& timesFromStart, int32_t scaledWidth, int32_t scaledHeight, winrt::Windows::Media::Editing::VideoFramePrecision const& framePrecision) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::Editing::MediaTrimmingPreference const& trimmingPreference) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::Editing::MediaTrimmingPreference const& trimmingPreference, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) CreateDefaultEncodingProfile() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) GenerateMediaStreamSource() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) GenerateMediaStreamSource(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) GeneratePreviewMediaStreamSource(int32_t scaledWidth, int32_t scaledHeight) const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto Clips() const; + [[nodiscard]] auto BackgroundAudioTracks() const; + [[nodiscard]] auto UserData() const; + auto Clone() const; + auto SaveAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto GetThumbnailAsync(winrt::Windows::Foundation::TimeSpan const& timeFromStart, int32_t scaledWidth, int32_t scaledHeight, winrt::Windows::Media::Editing::VideoFramePrecision const& framePrecision) const; + auto GetThumbnailsAsync(param::async_iterable const& timesFromStart, int32_t scaledWidth, int32_t scaledHeight, winrt::Windows::Media::Editing::VideoFramePrecision const& framePrecision) const; + auto RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination) const; + auto RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::Editing::MediaTrimmingPreference const& trimmingPreference) const; + auto RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::Editing::MediaTrimmingPreference const& trimmingPreference, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile) const; + auto CreateDefaultEncodingProfile() const; + auto GenerateMediaStreamSource() const; + auto GenerateMediaStreamSource(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile) const; + auto GeneratePreviewMediaStreamSource(int32_t scaledWidth, int32_t scaledHeight) const; }; template <> struct consume { @@ -412,7 +397,7 @@ namespace winrt::impl template struct consume_Windows_Media_Editing_IMediaComposition2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) OverlayLayers() const; + [[nodiscard]] auto OverlayLayers() const; }; template <> struct consume { @@ -421,7 +406,7 @@ namespace winrt::impl template struct consume_Windows_Media_Editing_IMediaCompositionStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadAsync(winrt::Windows::Storage::StorageFile const& file) const; + auto LoadAsync(winrt::Windows::Storage::StorageFile const& file) const; }; template <> struct consume { @@ -430,16 +415,16 @@ namespace winrt::impl template struct consume_Windows_Media_Editing_IMediaOverlay { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Position() const; - WINRT_IMPL_AUTO(void) Position(winrt::Windows::Foundation::Rect const& value) const; - WINRT_IMPL_AUTO(void) Delay(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Delay() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Opacity() const; - WINRT_IMPL_AUTO(void) Opacity(double value) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlay) Clone() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaClip) Clip() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AudioEnabled() const; - WINRT_IMPL_AUTO(void) AudioEnabled(bool value) const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::Rect const& value) const; + auto Delay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Delay() const; + [[nodiscard]] auto Opacity() const; + auto Opacity(double value) const; + auto Clone() const; + [[nodiscard]] auto Clip() const; + [[nodiscard]] auto AudioEnabled() const; + auto AudioEnabled(bool value) const; }; template <> struct consume { @@ -448,8 +433,8 @@ namespace winrt::impl template struct consume_Windows_Media_Editing_IMediaOverlayFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlay) Create(winrt::Windows::Media::Editing::MediaClip const& clip) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlay) CreateWithPositionAndOpacity(winrt::Windows::Media::Editing::MediaClip const& clip, winrt::Windows::Foundation::Rect const& position, double opacity) const; + auto Create(winrt::Windows::Media::Editing::MediaClip const& clip) const; + auto CreateWithPositionAndOpacity(winrt::Windows::Media::Editing::MediaClip const& clip, winrt::Windows::Foundation::Rect const& position, double opacity) const; }; template <> struct consume { @@ -458,9 +443,9 @@ namespace winrt::impl template struct consume_Windows_Media_Editing_IMediaOverlayLayer { - WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlayLayer) Clone() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Overlays() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::IVideoCompositorDefinition) CustomCompositorDefinition() const; + auto Clone() const; + [[nodiscard]] auto Overlays() const; + [[nodiscard]] auto CustomCompositorDefinition() const; }; template <> struct consume { @@ -469,7 +454,7 @@ namespace winrt::impl template struct consume_Windows_Media_Editing_IMediaOverlayLayerFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlayLayer) CreateWithCompositorDefinition(winrt::Windows::Media::Effects::IVideoCompositorDefinition const& compositorDefinition) const; + auto CreateWithCompositorDefinition(winrt::Windows::Media::Effects::IVideoCompositorDefinition const& compositorDefinition) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.1.h index 79048d9b..f4b032a1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Editing_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.2.h index b291d471..d9da22da 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Editing_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.0.h index c5ee42cb..64eab25b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Effects_0_H @@ -13,7 +13,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { struct IPropertySet; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics { @@ -453,11 +452,11 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IAudioCaptureEffectsManager { - WINRT_IMPL_AUTO(winrt::event_token) AudioCaptureEffectsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AudioCaptureEffectsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AudioCaptureEffectsChanged_revoker = impl::event_revoker::remove_AudioCaptureEffectsChanged>; - [[nodiscard]] AudioCaptureEffectsChanged_revoker AudioCaptureEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AudioCaptureEffectsChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAudioCaptureEffects() const; + [[nodiscard]] auto AudioCaptureEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AudioCaptureEffectsChanged(winrt::event_token const& token) const noexcept; + auto GetAudioCaptureEffects() const; }; template <> struct consume { @@ -466,7 +465,7 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IAudioEffect { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioEffectType) AudioEffectType() const; + [[nodiscard]] auto AudioEffectType() const; }; template <> struct consume { @@ -475,8 +474,8 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IAudioEffectDefinition { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ActivatableClassId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) Properties() const; + [[nodiscard]] auto ActivatableClassId() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -485,8 +484,8 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IAudioEffectDefinitionFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioEffectDefinition) Create(param::hstring const& activatableClassId) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioEffectDefinition) CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const; + auto Create(param::hstring const& activatableClassId) const; + auto CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const; }; template <> struct consume { @@ -495,10 +494,10 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IAudioEffectsManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioRenderEffectsManager) CreateAudioRenderEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Render::AudioRenderCategory const& category) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioRenderEffectsManager) CreateAudioRenderEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Render::AudioRenderCategory const& category, winrt::Windows::Media::AudioProcessing const& mode) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioCaptureEffectsManager) CreateAudioCaptureEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Capture::MediaCategory const& category) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioCaptureEffectsManager) CreateAudioCaptureEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::AudioProcessing const& mode) const; + auto CreateAudioRenderEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Render::AudioRenderCategory const& category) const; + auto CreateAudioRenderEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Render::AudioRenderCategory const& category, winrt::Windows::Media::AudioProcessing const& mode) const; + auto CreateAudioCaptureEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Capture::MediaCategory const& category) const; + auto CreateAudioCaptureEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::AudioProcessing const& mode) const; }; template <> struct consume { @@ -507,11 +506,11 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IAudioRenderEffectsManager { - WINRT_IMPL_AUTO(winrt::event_token) AudioRenderEffectsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AudioRenderEffectsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AudioRenderEffectsChanged_revoker = impl::event_revoker::remove_AudioRenderEffectsChanged>; - [[nodiscard]] AudioRenderEffectsChanged_revoker AudioRenderEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AudioRenderEffectsChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAudioRenderEffects() const; + [[nodiscard]] auto AudioRenderEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AudioRenderEffectsChanged(winrt::event_token const& token) const noexcept; + auto GetAudioRenderEffects() const; }; template <> struct consume { @@ -520,9 +519,9 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IAudioRenderEffectsManager2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) EffectsProviderThumbnail() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EffectsProviderSettingsLabel() const; - WINRT_IMPL_AUTO(void) ShowSettingsUI() const; + [[nodiscard]] auto EffectsProviderThumbnail() const; + [[nodiscard]] auto EffectsProviderSettingsLabel() const; + auto ShowSettingsUI() const; }; template <> struct consume { @@ -531,12 +530,12 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IBasicAudioEffect { - [[nodiscard]] WINRT_IMPL_AUTO(bool) UseInputFrameForOutput() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedEncodingProperties() const; - WINRT_IMPL_AUTO(void) SetEncodingProperties(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; - WINRT_IMPL_AUTO(void) ProcessFrame(winrt::Windows::Media::Effects::ProcessAudioFrameContext const& context) const; - WINRT_IMPL_AUTO(void) Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const; - WINRT_IMPL_AUTO(void) DiscardQueuedFrames() const; + [[nodiscard]] auto UseInputFrameForOutput() const; + [[nodiscard]] auto SupportedEncodingProperties() const; + auto SetEncodingProperties(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const; + auto ProcessFrame(winrt::Windows::Media::Effects::ProcessAudioFrameContext const& context) const; + auto Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const; + auto DiscardQueuedFrames() const; }; template <> struct consume { @@ -545,14 +544,14 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IBasicVideoEffect { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadOnly() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::MediaMemoryTypes) SupportedMemoryTypes() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) TimeIndependent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedEncodingProperties() const; - WINRT_IMPL_AUTO(void) SetEncodingProperties(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& encodingProperties, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const; - WINRT_IMPL_AUTO(void) ProcessFrame(winrt::Windows::Media::Effects::ProcessVideoFrameContext const& context) const; - WINRT_IMPL_AUTO(void) Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const; - WINRT_IMPL_AUTO(void) DiscardQueuedFrames() const; + [[nodiscard]] auto IsReadOnly() const; + [[nodiscard]] auto SupportedMemoryTypes() const; + [[nodiscard]] auto TimeIndependent() const; + [[nodiscard]] auto SupportedEncodingProperties() const; + auto SetEncodingProperties(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& encodingProperties, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const; + auto ProcessFrame(winrt::Windows::Media::Effects::ProcessVideoFrameContext const& context) const; + auto Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const; + auto DiscardQueuedFrames() const; }; template <> struct consume { @@ -561,10 +560,10 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_ICompositeVideoFrameContext { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SurfacesToOverlay() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) BackgroundFrame() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) OutputFrame() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlay) GetOverlayForSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surfaceToOverlay) const; + [[nodiscard]] auto SurfacesToOverlay() const; + [[nodiscard]] auto BackgroundFrame() const; + [[nodiscard]] auto OutputFrame() const; + auto GetOverlayForSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surfaceToOverlay) const; }; template <> struct consume { @@ -573,8 +572,8 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IProcessAudioFrameContext { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) InputFrame() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) OutputFrame() const; + [[nodiscard]] auto InputFrame() const; + [[nodiscard]] auto OutputFrame() const; }; template <> struct consume { @@ -583,8 +582,8 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IProcessVideoFrameContext { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) InputFrame() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) OutputFrame() const; + [[nodiscard]] auto InputFrame() const; + [[nodiscard]] auto OutputFrame() const; }; template <> struct consume { @@ -593,8 +592,8 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_ISlowMotionEffectDefinition { - [[nodiscard]] WINRT_IMPL_AUTO(double) TimeStretchRate() const; - WINRT_IMPL_AUTO(void) TimeStretchRate(double value) const; + [[nodiscard]] auto TimeStretchRate() const; + auto TimeStretchRate(double value) const; }; template <> struct consume { @@ -603,11 +602,11 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IVideoCompositor { - [[nodiscard]] WINRT_IMPL_AUTO(bool) TimeIndependent() const; - WINRT_IMPL_AUTO(void) SetEncodingProperties(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& backgroundProperties, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const; - WINRT_IMPL_AUTO(void) CompositeFrame(winrt::Windows::Media::Effects::CompositeVideoFrameContext const& context) const; - WINRT_IMPL_AUTO(void) Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const; - WINRT_IMPL_AUTO(void) DiscardQueuedFrames() const; + [[nodiscard]] auto TimeIndependent() const; + auto SetEncodingProperties(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& backgroundProperties, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const; + auto CompositeFrame(winrt::Windows::Media::Effects::CompositeVideoFrameContext const& context) const; + auto Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const; + auto DiscardQueuedFrames() const; }; template <> struct consume { @@ -616,8 +615,8 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IVideoCompositorDefinition { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ActivatableClassId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) Properties() const; + [[nodiscard]] auto ActivatableClassId() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -626,8 +625,8 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IVideoCompositorDefinitionFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::VideoCompositorDefinition) Create(param::hstring const& activatableClassId) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::VideoCompositorDefinition) CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const; + auto Create(param::hstring const& activatableClassId) const; + auto CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const; }; template <> struct consume { @@ -636,8 +635,8 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IVideoEffectDefinition { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ActivatableClassId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) Properties() const; + [[nodiscard]] auto ActivatableClassId() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -646,8 +645,8 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IVideoEffectDefinitionFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::VideoEffectDefinition) Create(param::hstring const& activatableClassId) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::VideoEffectDefinition) CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const; + auto Create(param::hstring const& activatableClassId) const; + auto CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const; }; template <> struct consume { @@ -656,18 +655,18 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IVideoTransformEffectDefinition { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) PaddingColor() const; - WINRT_IMPL_AUTO(void) PaddingColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) OutputSize() const; - WINRT_IMPL_AUTO(void) OutputSize(winrt::Windows::Foundation::Size const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) CropRectangle() const; - WINRT_IMPL_AUTO(void) CropRectangle(winrt::Windows::Foundation::Rect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRotation) Rotation() const; - WINRT_IMPL_AUTO(void) Rotation(winrt::Windows::Media::MediaProperties::MediaRotation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaMirroringOptions) Mirror() const; - WINRT_IMPL_AUTO(void) Mirror(winrt::Windows::Media::MediaProperties::MediaMirroringOptions const& value) const; - WINRT_IMPL_AUTO(void) ProcessingAlgorithm(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm) ProcessingAlgorithm() const; + [[nodiscard]] auto PaddingColor() const; + auto PaddingColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto OutputSize() const; + auto OutputSize(winrt::Windows::Foundation::Size const& value) const; + [[nodiscard]] auto CropRectangle() const; + auto CropRectangle(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto Rotation() const; + auto Rotation(winrt::Windows::Media::MediaProperties::MediaRotation const& value) const; + [[nodiscard]] auto Mirror() const; + auto Mirror(winrt::Windows::Media::MediaProperties::MediaMirroringOptions const& value) const; + auto ProcessingAlgorithm(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm const& value) const; + [[nodiscard]] auto ProcessingAlgorithm() const; }; template <> struct consume { @@ -676,7 +675,7 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IVideoTransformEffectDefinition2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::VideoTransformSphericalProjection) SphericalProjection() const; + [[nodiscard]] auto SphericalProjection() const; }; template <> struct consume { @@ -685,16 +684,16 @@ namespace winrt::impl template struct consume_Windows_Media_Effects_IVideoTransformSphericalProjection { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat) FrameFormat() const; - WINRT_IMPL_AUTO(void) FrameFormat(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::SphericalVideoProjectionMode) ProjectionMode() const; - WINRT_IMPL_AUTO(void) ProjectionMode(winrt::Windows::Media::Playback::SphericalVideoProjectionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalFieldOfViewInDegrees() const; - WINRT_IMPL_AUTO(void) HorizontalFieldOfViewInDegrees(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) ViewOrientation() const; - WINRT_IMPL_AUTO(void) ViewOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto FrameFormat() const; + auto FrameFormat(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat const& value) const; + [[nodiscard]] auto ProjectionMode() const; + auto ProjectionMode(winrt::Windows::Media::Playback::SphericalVideoProjectionMode const& value) const; + [[nodiscard]] auto HorizontalFieldOfViewInDegrees() const; + auto HorizontalFieldOfViewInDegrees(double value) const; + [[nodiscard]] auto ViewOrientation() const; + auto ViewOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.1.h index 5eb42552..7d06552a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Effects_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.2.h index 6704ab61..40a3a91c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Effects_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.0.h index 2dc915ea..d041759b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.0.h @@ -1,17 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_FaceAnalysis_0_H #define WINRT_Windows_Media_FaceAnalysis_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging { struct BitmapBounds; @@ -113,7 +104,7 @@ namespace winrt::impl template struct consume_Windows_Media_FaceAnalysis_IDetectedFace { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapBounds) FaceBox() const; + [[nodiscard]] auto FaceBox() const; }; template <> struct consume { @@ -122,12 +113,12 @@ namespace winrt::impl template struct consume_Windows_Media_FaceAnalysis_IFaceDetector { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) DetectFacesAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& image) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) DetectFacesAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& image, winrt::Windows::Graphics::Imaging::BitmapBounds const& searchArea) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapSize) MinDetectableFaceSize() const; - WINRT_IMPL_AUTO(void) MinDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapSize) MaxDetectableFaceSize() const; - WINRT_IMPL_AUTO(void) MaxDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const; + auto DetectFacesAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& image) const; + auto DetectFacesAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& image, winrt::Windows::Graphics::Imaging::BitmapBounds const& searchArea) const; + [[nodiscard]] auto MinDetectableFaceSize() const; + auto MinDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const; + [[nodiscard]] auto MaxDetectableFaceSize() const; + auto MaxDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const; }; template <> struct consume { @@ -136,10 +127,10 @@ namespace winrt::impl template struct consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetSupportedBitmapPixelFormats() const; - WINRT_IMPL_AUTO(bool) IsBitmapPixelFormatSupported(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& bitmapPixelFormat) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const; + auto CreateAsync() const; + auto GetSupportedBitmapPixelFormats() const; + auto IsBitmapPixelFormatSupported(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& bitmapPixelFormat) const; + [[nodiscard]] auto IsSupported() const; }; template <> struct consume { @@ -148,11 +139,11 @@ namespace winrt::impl template struct consume_Windows_Media_FaceAnalysis_IFaceTracker { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ProcessNextFrameAsync(winrt::Windows::Media::VideoFrame const& videoFrame) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapSize) MinDetectableFaceSize() const; - WINRT_IMPL_AUTO(void) MinDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapSize) MaxDetectableFaceSize() const; - WINRT_IMPL_AUTO(void) MaxDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const; + auto ProcessNextFrameAsync(winrt::Windows::Media::VideoFrame const& videoFrame) const; + [[nodiscard]] auto MinDetectableFaceSize() const; + auto MinDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const; + [[nodiscard]] auto MaxDetectableFaceSize() const; + auto MaxDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const; }; template <> struct consume { @@ -161,10 +152,10 @@ namespace winrt::impl template struct consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetSupportedBitmapPixelFormats() const; - WINRT_IMPL_AUTO(bool) IsBitmapPixelFormatSupported(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& bitmapPixelFormat) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const; + auto CreateAsync() const; + auto GetSupportedBitmapPixelFormats() const; + auto IsBitmapPixelFormatSupported(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& bitmapPixelFormat) const; + [[nodiscard]] auto IsSupported() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.1.h index 51f03691..ea4c86fd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_FaceAnalysis_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.2.h index 456a0628..515bb499 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_FaceAnalysis_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.0.h index dd6b9f8e..de074b69 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Import_0_H @@ -7,15 +7,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Storage { struct IStorageFolder; @@ -496,19 +489,19 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSession) Session() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasSucceeded() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) DeletedItems() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PhotosCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) PhotosSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) VideosCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) VideosSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SidecarsCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) SidecarsSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SiblingsCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) SiblingsSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TotalCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) TotalSizeInBytes() const; + [[nodiscard]] auto Session() const; + [[nodiscard]] auto HasSucceeded() const; + [[nodiscard]] auto DeletedItems() const; + [[nodiscard]] auto PhotosCount() const; + [[nodiscard]] auto PhotosSizeInBytes() const; + [[nodiscard]] auto VideosCount() const; + [[nodiscard]] auto VideosSizeInBytes() const; + [[nodiscard]] auto SidecarsCount() const; + [[nodiscard]] auto SidecarsSizeInBytes() const; + [[nodiscard]] auto SiblingsCount() const; + [[nodiscard]] auto SiblingsSizeInBytes() const; + [[nodiscard]] auto TotalCount() const; + [[nodiscard]] auto TotalSizeInBytes() const; }; template <> struct consume { @@ -517,43 +510,43 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportFindItemsResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSession) Session() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasSucceeded() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FoundItems() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PhotosCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) PhotosSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) VideosCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) VideosSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SidecarsCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) SidecarsSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SiblingsCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) SiblingsSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TotalCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) TotalSizeInBytes() const; - WINRT_IMPL_AUTO(void) SelectAll() const; - WINRT_IMPL_AUTO(void) SelectNone() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SelectNewAsync() const; - WINRT_IMPL_AUTO(void) SetImportMode(winrt::Windows::Media::Import::PhotoImportImportMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportImportMode) ImportMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SelectedPhotosCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) SelectedPhotosSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SelectedVideosCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) SelectedVideosSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SelectedSidecarsCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) SelectedSidecarsSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SelectedSiblingsCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) SelectedSiblingsSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SelectedTotalCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) SelectedTotalSizeInBytes() const; - WINRT_IMPL_AUTO(winrt::event_token) SelectionChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto Session() const; + [[nodiscard]] auto HasSucceeded() const; + [[nodiscard]] auto FoundItems() const; + [[nodiscard]] auto PhotosCount() const; + [[nodiscard]] auto PhotosSizeInBytes() const; + [[nodiscard]] auto VideosCount() const; + [[nodiscard]] auto VideosSizeInBytes() const; + [[nodiscard]] auto SidecarsCount() const; + [[nodiscard]] auto SidecarsSizeInBytes() const; + [[nodiscard]] auto SiblingsCount() const; + [[nodiscard]] auto SiblingsSizeInBytes() const; + [[nodiscard]] auto TotalCount() const; + [[nodiscard]] auto TotalSizeInBytes() const; + auto SelectAll() const; + auto SelectNone() const; + auto SelectNewAsync() const; + auto SetImportMode(winrt::Windows::Media::Import::PhotoImportImportMode const& value) const; + [[nodiscard]] auto ImportMode() const; + [[nodiscard]] auto SelectedPhotosCount() const; + [[nodiscard]] auto SelectedPhotosSizeInBytes() const; + [[nodiscard]] auto SelectedVideosCount() const; + [[nodiscard]] auto SelectedVideosSizeInBytes() const; + [[nodiscard]] auto SelectedSidecarsCount() const; + [[nodiscard]] auto SelectedSidecarsSizeInBytes() const; + [[nodiscard]] auto SelectedSiblingsCount() const; + [[nodiscard]] auto SelectedSiblingsSizeInBytes() const; + [[nodiscard]] auto SelectedTotalCount() const; + [[nodiscard]] auto SelectedTotalSizeInBytes() const; + auto SelectionChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using SelectionChanged_revoker = impl::event_revoker::remove_SelectionChanged>; - [[nodiscard]] SelectionChanged_revoker SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) SelectionChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) ImportItemsAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) ItemImported(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto SelectionChanged(winrt::event_token const& token) const noexcept; + auto ImportItemsAsync() const; + auto ItemImported(winrt::Windows::Foundation::TypedEventHandler const& value) const; using ItemImported_revoker = impl::event_revoker::remove_ItemImported>; - [[nodiscard]] ItemImported_revoker ItemImported(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) ItemImported(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ItemImported(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto ItemImported(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -562,7 +555,7 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportFindItemsResult2 { - WINRT_IMPL_AUTO(void) AddItemsInDateRangeToSelection(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const; + auto AddItemsInDateRangeToSelection(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const; }; template <> struct consume { @@ -571,20 +564,20 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportImportItemsResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSession) Session() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasSucceeded() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ImportedItems() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PhotosCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) PhotosSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) VideosCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) VideosSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SidecarsCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) SidecarsSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SiblingsCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) SiblingsSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TotalCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) TotalSizeInBytes() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) DeleteImportedItemsFromSourceAsync() const; + [[nodiscard]] auto Session() const; + [[nodiscard]] auto HasSucceeded() const; + [[nodiscard]] auto ImportedItems() const; + [[nodiscard]] auto PhotosCount() const; + [[nodiscard]] auto PhotosSizeInBytes() const; + [[nodiscard]] auto VideosCount() const; + [[nodiscard]] auto VideosSizeInBytes() const; + [[nodiscard]] auto SidecarsCount() const; + [[nodiscard]] auto SidecarsSizeInBytes() const; + [[nodiscard]] auto SiblingsCount() const; + [[nodiscard]] auto SiblingsSizeInBytes() const; + [[nodiscard]] auto TotalCount() const; + [[nodiscard]] auto TotalSizeInBytes() const; + auto DeleteImportedItemsFromSourceAsync() const; }; template <> struct consume { @@ -593,19 +586,19 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportItem { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) ItemKey() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportContentType) ContentType() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) SizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Date() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSidecar) Sibling() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Sidecars() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) VideoSegments() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSelected() const; - WINRT_IMPL_AUTO(void) IsSelected(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Thumbnail() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ImportedFileNames() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) DeletedFileNames() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto ItemKey() const; + [[nodiscard]] auto ContentType() const; + [[nodiscard]] auto SizeInBytes() const; + [[nodiscard]] auto Date() const; + [[nodiscard]] auto Sibling() const; + [[nodiscard]] auto Sidecars() const; + [[nodiscard]] auto VideoSegments() const; + [[nodiscard]] auto IsSelected() const; + auto IsSelected(bool value) const; + [[nodiscard]] auto Thumbnail() const; + [[nodiscard]] auto ImportedFileNames() const; + [[nodiscard]] auto DeletedFileNames() const; }; template <> struct consume { @@ -614,7 +607,7 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportItem2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Path() const; + [[nodiscard]] auto Path() const; }; template <> struct consume { @@ -623,7 +616,7 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportItemImportedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportItem) ImportedItem() const; + [[nodiscard]] auto ImportedItem() const; }; template <> struct consume { @@ -632,9 +625,9 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsSupportedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllSourcesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetPendingOperations() const; + auto IsSupportedAsync() const; + auto FindAllSourcesAsync() const; + auto GetPendingOperations() const; }; template <> struct consume { @@ -643,11 +636,11 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportOperation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportStage) Stage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSession) Session() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) ContinueFindingItemsAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) ContinueImportingItemsAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) ContinueDeletingImportedItemsFromSourceAsync() const; + [[nodiscard]] auto Stage() const; + [[nodiscard]] auto Session() const; + [[nodiscard]] auto ContinueFindingItemsAsync() const; + [[nodiscard]] auto ContinueImportingItemsAsync() const; + [[nodiscard]] auto ContinueDeletingImportedItemsFromSourceAsync() const; }; template <> struct consume { @@ -656,7 +649,7 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportSelectionChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSelectionEmpty() const; + [[nodiscard]] auto IsSelectionEmpty() const; }; template <> struct consume { @@ -665,17 +658,17 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportSession { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSource) Source() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) SessionId() const; - WINRT_IMPL_AUTO(void) DestinationFolder(winrt::Windows::Storage::IStorageFolder const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFolder) DestinationFolder() const; - WINRT_IMPL_AUTO(void) AppendSessionDateToDestinationFolder(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AppendSessionDateToDestinationFolder() const; - WINRT_IMPL_AUTO(void) SubfolderCreationMode(winrt::Windows::Media::Import::PhotoImportSubfolderCreationMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSubfolderCreationMode) SubfolderCreationMode() const; - WINRT_IMPL_AUTO(void) DestinationFileNamePrefix(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DestinationFileNamePrefix() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) FindItemsAsync(winrt::Windows::Media::Import::PhotoImportContentTypeFilter const& contentTypeFilter, winrt::Windows::Media::Import::PhotoImportItemSelectionMode const& itemSelectionMode) const; + [[nodiscard]] auto Source() const; + [[nodiscard]] auto SessionId() const; + auto DestinationFolder(winrt::Windows::Storage::IStorageFolder const& value) const; + [[nodiscard]] auto DestinationFolder() const; + auto AppendSessionDateToDestinationFolder(bool value) const; + [[nodiscard]] auto AppendSessionDateToDestinationFolder() const; + auto SubfolderCreationMode(winrt::Windows::Media::Import::PhotoImportSubfolderCreationMode const& value) const; + [[nodiscard]] auto SubfolderCreationMode() const; + auto DestinationFileNamePrefix(param::hstring const& value) const; + [[nodiscard]] auto DestinationFileNamePrefix() const; + auto FindItemsAsync(winrt::Windows::Media::Import::PhotoImportContentTypeFilter const& contentTypeFilter, winrt::Windows::Media::Import::PhotoImportItemSelectionMode const& itemSelectionMode) const; }; template <> struct consume { @@ -684,10 +677,10 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportSession2 { - WINRT_IMPL_AUTO(void) SubfolderDateFormat(winrt::Windows::Media::Import::PhotoImportSubfolderDateFormat const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSubfolderDateFormat) SubfolderDateFormat() const; - WINRT_IMPL_AUTO(void) RememberDeselectedItems(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RememberDeselectedItems() const; + auto SubfolderDateFormat(winrt::Windows::Media::Import::PhotoImportSubfolderDateFormat const& value) const; + [[nodiscard]] auto SubfolderDateFormat() const; + auto RememberDeselectedItems(bool value) const; + [[nodiscard]] auto RememberDeselectedItems() const; }; template <> struct consume { @@ -696,9 +689,9 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportSidecar { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) SizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Date() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto SizeInBytes() const; + [[nodiscard]] auto Date() const; }; template <> struct consume { @@ -707,23 +700,23 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportSource { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Manufacturer() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Model() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SerialNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ConnectionProtocol() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportConnectionTransport) ConnectionTransport() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSourceType) Type() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportPowerSource) PowerSource() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BatteryLevelPercent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DateTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) StorageMedia() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) IsLocked() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMassStorage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Thumbnail() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSession) CreateImportSession() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Manufacturer() const; + [[nodiscard]] auto Model() const; + [[nodiscard]] auto SerialNumber() const; + [[nodiscard]] auto ConnectionProtocol() const; + [[nodiscard]] auto ConnectionTransport() const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto PowerSource() const; + [[nodiscard]] auto BatteryLevelPercent() const; + [[nodiscard]] auto DateTime() const; + [[nodiscard]] auto StorageMedia() const; + [[nodiscard]] auto IsLocked() const; + [[nodiscard]] auto IsMassStorage() const; + [[nodiscard]] auto Thumbnail() const; + auto CreateImportSession() const; }; template <> struct consume { @@ -732,8 +725,8 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportSourceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromIdAsync(param::hstring const& sourceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FromFolderAsync(winrt::Windows::Storage::IStorageFolder const& sourceRootFolder) const; + auto FromIdAsync(param::hstring const& sourceId) const; + auto FromFolderAsync(winrt::Windows::Storage::IStorageFolder const& sourceRootFolder) const; }; template <> struct consume { @@ -742,14 +735,14 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportStorageMedium { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SerialNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportStorageMediumType) StorageMediumType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportAccessMode) SupportedAccessMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) CapacityInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) AvailableSpaceInBytes() const; - WINRT_IMPL_AUTO(void) Refresh() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto SerialNumber() const; + [[nodiscard]] auto StorageMediumType() const; + [[nodiscard]] auto SupportedAccessMode() const; + [[nodiscard]] auto CapacityInBytes() const; + [[nodiscard]] auto AvailableSpaceInBytes() const; + auto Refresh() const; }; template <> struct consume { @@ -758,11 +751,11 @@ namespace winrt::impl template struct consume_Windows_Media_Import_IPhotoImportVideoSegment { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) SizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Date() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSidecar) Sibling() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Sidecars() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto SizeInBytes() const; + [[nodiscard]] auto Date() const; + [[nodiscard]] auto Sibling() const; + [[nodiscard]] auto Sidecars() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.1.h index b95c1b8a..34f95719 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Import_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.2.h index 5abb8ca7..75a3036f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Import_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.0.h index cfde96d2..1d3a3062 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.0.h @@ -1,17 +1,12 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_MediaProperties_0_H #define WINRT_Windows_Media_MediaProperties_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Media::Core { @@ -684,14 +679,14 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IAudioEncodingProperties { - WINRT_IMPL_AUTO(void) Bitrate(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Bitrate() const; - WINRT_IMPL_AUTO(void) ChannelCount(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ChannelCount() const; - WINRT_IMPL_AUTO(void) SampleRate(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SampleRate() const; - WINRT_IMPL_AUTO(void) BitsPerSample(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) BitsPerSample() const; + auto Bitrate(uint32_t value) const; + [[nodiscard]] auto Bitrate() const; + auto ChannelCount(uint32_t value) const; + [[nodiscard]] auto ChannelCount() const; + auto SampleRate(uint32_t value) const; + [[nodiscard]] auto SampleRate() const; + auto BitsPerSample(uint32_t value) const; + [[nodiscard]] auto BitsPerSample() const; }; template <> struct consume { @@ -700,7 +695,7 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IAudioEncodingProperties2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSpatial() const; + [[nodiscard]] auto IsSpatial() const; }; template <> struct consume { @@ -709,7 +704,7 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IAudioEncodingProperties3 { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) Copy() const; + auto Copy() const; }; template <> struct consume { @@ -718,11 +713,11 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) CreateAac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) CreateAacAdts(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) CreateMp3(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) CreatePcm(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) CreateWma(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const; + auto CreateAac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const; + auto CreateAacAdts(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const; + auto CreateMp3(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const; + auto CreatePcm(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const; + auto CreateWma(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const; }; template <> struct consume { @@ -731,8 +726,8 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) CreateAlac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) CreateFlac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const; + auto CreateAlac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const; + auto CreateFlac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const; }; template <> struct consume { @@ -741,8 +736,8 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesWithFormatUserData { - WINRT_IMPL_AUTO(void) SetFormatUserData(array_view value) const; - WINRT_IMPL_AUTO(void) GetFormatUserData(com_array& value) const; + auto SetFormatUserData(array_view value) const; + auto GetFormatUserData(com_array& value) const; }; template <> struct consume { @@ -759,7 +754,7 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IContainerEncodingProperties2 { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ContainerEncodingProperties) Copy() const; + auto Copy() const; }; template <> struct consume { @@ -768,16 +763,16 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ConstrainedBaseline() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Baseline() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Extended() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Main() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) High() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) High10() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) High422() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) High444() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) StereoHigh() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MultiviewHigh() const; + [[nodiscard]] auto ConstrainedBaseline() const; + [[nodiscard]] auto Baseline() const; + [[nodiscard]] auto Extended() const; + [[nodiscard]] auto Main() const; + [[nodiscard]] auto High() const; + [[nodiscard]] auto High10() const; + [[nodiscard]] auto High422() const; + [[nodiscard]] auto High444() const; + [[nodiscard]] auto StereoHigh() const; + [[nodiscard]] auto MultiviewHigh() const; }; template <> struct consume { @@ -786,10 +781,10 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IImageEncodingProperties { - WINRT_IMPL_AUTO(void) Width(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Width() const; - WINRT_IMPL_AUTO(void) Height(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Height() const; + auto Width(uint32_t value) const; + [[nodiscard]] auto Width() const; + auto Height(uint32_t value) const; + [[nodiscard]] auto Height() const; }; template <> struct consume { @@ -798,7 +793,7 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IImageEncodingProperties2 { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) Copy() const; + auto Copy() const; }; template <> struct consume { @@ -807,9 +802,9 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) CreateJpeg() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) CreatePng() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) CreateJpegXR() const; + auto CreateJpeg() const; + auto CreatePng() const; + auto CreateJpegXR() const; }; template <> struct consume { @@ -818,8 +813,8 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) CreateUncompressed(winrt::Windows::Media::MediaProperties::MediaPixelFormat const& format) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) CreateBmp() const; + auto CreateUncompressed(winrt::Windows::Media::MediaProperties::MediaPixelFormat const& format) const; + auto CreateBmp() const; }; template <> struct consume { @@ -828,7 +823,7 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) CreateHeif() const; + auto CreateHeif() const; }; template <> struct consume { @@ -837,12 +832,12 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IMediaEncodingProfile { - WINRT_IMPL_AUTO(void) Audio(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) Audio() const; - WINRT_IMPL_AUTO(void) Video(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) Video() const; - WINRT_IMPL_AUTO(void) Container(winrt::Windows::Media::MediaProperties::ContainerEncodingProperties const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ContainerEncodingProperties) Container() const; + auto Audio(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& value) const; + [[nodiscard]] auto Audio() const; + auto Video(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& value) const; + [[nodiscard]] auto Video() const; + auto Container(winrt::Windows::Media::MediaProperties::ContainerEncodingProperties const& value) const; + [[nodiscard]] auto Container() const; }; template <> struct consume { @@ -851,10 +846,10 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IMediaEncodingProfile2 { - WINRT_IMPL_AUTO(void) SetAudioTracks(param::iterable const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetAudioTracks() const; - WINRT_IMPL_AUTO(void) SetVideoTracks(param::iterable const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetVideoTracks() const; + auto SetAudioTracks(param::iterable const& value) const; + auto GetAudioTracks() const; + auto SetVideoTracks(param::iterable const& value) const; + auto GetVideoTracks() const; }; template <> struct consume { @@ -863,8 +858,8 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IMediaEncodingProfile3 { - WINRT_IMPL_AUTO(void) SetTimedMetadataTracks(param::iterable const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetTimedMetadataTracks() const; + auto SetTimedMetadataTracks(param::iterable const& value) const; + auto GetTimedMetadataTracks() const; }; template <> struct consume { @@ -873,13 +868,13 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) CreateM4a(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) CreateMp3(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) CreateWma(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) CreateMp4(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) CreateWmv(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto CreateM4a(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; + auto CreateMp3(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; + auto CreateWma(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; + auto CreateMp4(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const; + auto CreateWmv(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const; + auto CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto CreateFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; }; template <> struct consume { @@ -888,8 +883,8 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) CreateWav(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) CreateAvi(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const; + auto CreateWav(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; + auto CreateAvi(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const; }; template <> struct consume { @@ -898,9 +893,9 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) CreateAlac(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) CreateFlac(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) CreateHevc(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const; + auto CreateAlac(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; + auto CreateFlac(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const; + auto CreateHevc(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const; }; template <> struct consume { @@ -909,10 +904,10 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IMediaEncodingProperties { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaPropertySet) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Type() const; - WINRT_IMPL_AUTO(void) Subtype(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subtype() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto Type() const; + auto Subtype(param::hstring const& value) const; + [[nodiscard]] auto Subtype() const; }; template <> struct consume { @@ -921,46 +916,46 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Aac() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AacAdts() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Ac3() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AmrNb() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AmrWb() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Argb32() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Asf() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Avi() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Bgra8() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Bmp() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Eac3() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Float() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Gif() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) H263() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) H264() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) H264Es() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Hevc() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HevcEs() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Iyuv() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Jpeg() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) JpegXr() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Mjpg() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Mpeg() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Mpeg1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Mpeg2() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Mp3() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Mpeg4() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Nv12() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Pcm() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Png() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Rgb24() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Rgb32() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Tiff() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Wave() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Wma8() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Wma9() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Wmv3() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Wvc1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Yuy2() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Yv12() const; + [[nodiscard]] auto Aac() const; + [[nodiscard]] auto AacAdts() const; + [[nodiscard]] auto Ac3() const; + [[nodiscard]] auto AmrNb() const; + [[nodiscard]] auto AmrWb() const; + [[nodiscard]] auto Argb32() const; + [[nodiscard]] auto Asf() const; + [[nodiscard]] auto Avi() const; + [[nodiscard]] auto Bgra8() const; + [[nodiscard]] auto Bmp() const; + [[nodiscard]] auto Eac3() const; + [[nodiscard]] auto Float() const; + [[nodiscard]] auto Gif() const; + [[nodiscard]] auto H263() const; + [[nodiscard]] auto H264() const; + [[nodiscard]] auto H264Es() const; + [[nodiscard]] auto Hevc() const; + [[nodiscard]] auto HevcEs() const; + [[nodiscard]] auto Iyuv() const; + [[nodiscard]] auto Jpeg() const; + [[nodiscard]] auto JpegXr() const; + [[nodiscard]] auto Mjpg() const; + [[nodiscard]] auto Mpeg() const; + [[nodiscard]] auto Mpeg1() const; + [[nodiscard]] auto Mpeg2() const; + [[nodiscard]] auto Mp3() const; + [[nodiscard]] auto Mpeg4() const; + [[nodiscard]] auto Nv12() const; + [[nodiscard]] auto Pcm() const; + [[nodiscard]] auto Png() const; + [[nodiscard]] auto Rgb24() const; + [[nodiscard]] auto Rgb32() const; + [[nodiscard]] auto Tiff() const; + [[nodiscard]] auto Wave() const; + [[nodiscard]] auto Wma8() const; + [[nodiscard]] auto Wma9() const; + [[nodiscard]] auto Wmv3() const; + [[nodiscard]] auto Wvc1() const; + [[nodiscard]] auto Yuy2() const; + [[nodiscard]] auto Yv12() const; }; template <> struct consume { @@ -969,10 +964,10 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Vp9() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) L8() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) L16() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) D16() const; + [[nodiscard]] auto Vp9() const; + [[nodiscard]] auto L8() const; + [[nodiscard]] auto L16() const; + [[nodiscard]] auto D16() const; }; template <> struct consume { @@ -981,8 +976,8 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Alac() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Flac() const; + [[nodiscard]] auto Alac() const; + [[nodiscard]] auto Flac() const; }; template <> struct consume { @@ -991,7 +986,7 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) P010() const; + [[nodiscard]] auto P010() const; }; template <> struct consume { @@ -1000,7 +995,7 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Heif() const; + [[nodiscard]] auto Heif() const; }; template <> struct consume { @@ -1009,10 +1004,10 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Pgs() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Srt() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Ssa() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VobSub() const; + [[nodiscard]] auto Pgs() const; + [[nodiscard]] auto Srt() const; + [[nodiscard]] auto Ssa() const; + [[nodiscard]] auto VobSub() const; }; template <> struct consume { @@ -1021,10 +1016,10 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IMediaRatio { - WINRT_IMPL_AUTO(void) Numerator(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Numerator() const; - WINRT_IMPL_AUTO(void) Denominator(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Denominator() const; + auto Numerator(uint32_t value) const; + [[nodiscard]] auto Numerator() const; + auto Denominator(uint32_t value) const; + [[nodiscard]] auto Denominator() const; }; template <> struct consume { @@ -1033,11 +1028,11 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Simple() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Main() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SignalNoiseRatioScalable() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SpatiallyScalable() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) High() const; + [[nodiscard]] auto Simple() const; + [[nodiscard]] auto Main() const; + [[nodiscard]] auto SignalNoiseRatioScalable() const; + [[nodiscard]] auto SpatiallyScalable() const; + [[nodiscard]] auto High() const; }; template <> struct consume { @@ -1046,9 +1041,9 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_ITimedMetadataEncodingProperties { - WINRT_IMPL_AUTO(void) SetFormatUserData(array_view value) const; - WINRT_IMPL_AUTO(void) GetFormatUserData(com_array& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) Copy() const; + auto SetFormatUserData(array_view value) const; + auto GetFormatUserData(com_array& value) const; + auto Copy() const; }; template <> struct consume { @@ -1057,10 +1052,10 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) CreatePgs() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) CreateSrt() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) CreateSsa(array_view formatUserData) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) CreateVobSub(array_view formatUserData) const; + auto CreatePgs() const; + auto CreateSrt() const; + auto CreateSsa(array_view formatUserData) const; + auto CreateVobSub(array_view formatUserData) const; }; template <> struct consume { @@ -1069,14 +1064,14 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IVideoEncodingProperties { - WINRT_IMPL_AUTO(void) Bitrate(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Bitrate() const; - WINRT_IMPL_AUTO(void) Width(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Width() const; - WINRT_IMPL_AUTO(void) Height(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Height() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) FrameRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) PixelAspectRatio() const; + auto Bitrate(uint32_t value) const; + [[nodiscard]] auto Bitrate() const; + auto Width(uint32_t value) const; + [[nodiscard]] auto Width() const; + auto Height(uint32_t value) const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto FrameRate() const; + [[nodiscard]] auto PixelAspectRatio() const; }; template <> struct consume { @@ -1085,10 +1080,10 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IVideoEncodingProperties2 { - WINRT_IMPL_AUTO(void) SetFormatUserData(array_view value) const; - WINRT_IMPL_AUTO(void) GetFormatUserData(com_array& value) const; - WINRT_IMPL_AUTO(void) ProfileId(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ProfileId() const; + auto SetFormatUserData(array_view value) const; + auto GetFormatUserData(com_array& value) const; + auto ProfileId(int32_t value) const; + [[nodiscard]] auto ProfileId() const; }; template <> struct consume { @@ -1097,7 +1092,7 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IVideoEncodingProperties3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode) StereoscopicVideoPackingMode() const; + [[nodiscard]] auto StereoscopicVideoPackingMode() const; }; template <> struct consume { @@ -1106,7 +1101,7 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IVideoEncodingProperties4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat) SphericalVideoFrameFormat() const; + [[nodiscard]] auto SphericalVideoFrameFormat() const; }; template <> struct consume { @@ -1115,7 +1110,7 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IVideoEncodingProperties5 { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) Copy() const; + auto Copy() const; }; template <> struct consume { @@ -1124,9 +1119,9 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) CreateH264() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) CreateMpeg2() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) CreateUncompressed(param::hstring const& subtype, uint32_t width, uint32_t height) const; + auto CreateH264() const; + auto CreateMpeg2() const; + auto CreateUncompressed(param::hstring const& subtype, uint32_t width, uint32_t height) const; }; template <> struct consume { @@ -1135,7 +1130,7 @@ namespace winrt::impl template struct consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) CreateHevc() const; + auto CreateHevc() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.1.h index 591d7b26..c42223ac 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_MediaProperties_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.2.h index c7253dd9..25376c5e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_MediaProperties_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.0.h index 88ea97e2..8fb3411c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Miracast_0_H @@ -13,13 +13,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; struct HResult; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Graphics { struct PointInt32; @@ -480,21 +475,21 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiver { - WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverSettings) GetDefaultSettings() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverSettings) GetCurrentSettings() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCurrentSettingsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverApplySettingsResult) DisconnectAllAndApplySettings(winrt::Windows::Media::Miracast::MiracastReceiverSettings const& settings) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DisconnectAllAndApplySettingsAsync(winrt::Windows::Media::Miracast::MiracastReceiverSettings const& settings) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverStatus) GetStatus() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetStatusAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetDefaultSettings() const; + auto GetCurrentSettings() const; + auto GetCurrentSettingsAsync() const; + auto DisconnectAllAndApplySettings(winrt::Windows::Media::Miracast::MiracastReceiverSettings const& settings) const; + auto DisconnectAllAndApplySettingsAsync(winrt::Windows::Media::Miracast::MiracastReceiverSettings const& settings) const; + auto GetStatus() const; + auto GetStatusAsync() const; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; - [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StatusChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverSession) CreateSession(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateSessionAsync(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const; - WINRT_IMPL_AUTO(void) ClearKnownTransmitters() const; - WINRT_IMPL_AUTO(void) RemoveKnownTransmitter(winrt::Windows::Media::Miracast::MiracastTransmitter const& transmitter) const; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusChanged(winrt::event_token const& token) const noexcept; + auto CreateSession(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const; + auto CreateSessionAsync(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const; + auto ClearKnownTransmitters() const; + auto RemoveKnownTransmitter(winrt::Windows::Media::Miracast::MiracastTransmitter const& transmitter) const; }; template <> struct consume { @@ -503,8 +498,8 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiverApplySettingsResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverApplySettingsStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -513,16 +508,16 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiverConnection { - WINRT_IMPL_AUTO(void) Disconnect(winrt::Windows::Media::Miracast::MiracastReceiverDisconnectReason const& reason) const; - WINRT_IMPL_AUTO(void) Disconnect(winrt::Windows::Media::Miracast::MiracastReceiverDisconnectReason const& reason, param::hstring const& message) const; - WINRT_IMPL_AUTO(void) Pause() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) PauseAsync() const; - WINRT_IMPL_AUTO(void) Resume() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ResumeAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastTransmitter) Transmitter() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverInputDevices) InputDevices() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel) CursorImageChannel() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverStreamControl) StreamControl() const; + auto Disconnect(winrt::Windows::Media::Miracast::MiracastReceiverDisconnectReason const& reason) const; + auto Disconnect(winrt::Windows::Media::Miracast::MiracastReceiverDisconnectReason const& reason, param::hstring const& message) const; + auto Pause() const; + auto PauseAsync() const; + auto Resume() const; + auto ResumeAsync() const; + [[nodiscard]] auto Transmitter() const; + [[nodiscard]] auto InputDevices() const; + [[nodiscard]] auto CursorImageChannel() const; + [[nodiscard]] auto StreamControl() const; }; template <> struct consume { @@ -531,9 +526,9 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiverConnectionCreatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverConnection) Connection() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Pin() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Connection() const; + [[nodiscard]] auto Pin() const; + auto GetDeferral() const; }; template <> struct consume { @@ -542,18 +537,18 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) MaxImageSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::PointInt32) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) ImageStream() const; - WINRT_IMPL_AUTO(winrt::event_token) ImageStreamChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsEnabled() const; + [[nodiscard]] auto MaxImageSize() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto ImageStream() const; + auto ImageStreamChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ImageStreamChanged_revoker = impl::event_revoker::remove_ImageStreamChanged>; - [[nodiscard]] ImageStreamChanged_revoker ImageStreamChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ImageStreamChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ImageStreamChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ImageStreamChanged(winrt::event_token const& token) const noexcept; + auto PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PositionChanged_revoker = impl::event_revoker::remove_PositionChanged>; - [[nodiscard]] PositionChanged_revoker PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PositionChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PositionChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -562,10 +557,10 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) MaxImageSize() const; - WINRT_IMPL_AUTO(void) MaxImageSize(winrt::Windows::Graphics::SizeInt32 const& value) const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto MaxImageSize() const; + auto MaxImageSize(winrt::Windows::Graphics::SizeInt32 const& value) const; }; template <> struct consume { @@ -574,7 +569,7 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiverDisconnectedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverConnection) Connection() const; + [[nodiscard]] auto Connection() const; }; template <> struct consume { @@ -583,16 +578,16 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice { - [[nodiscard]] WINRT_IMPL_AUTO(bool) TransmitInput() const; - WINRT_IMPL_AUTO(void) TransmitInput(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRequestedByTransmitter() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTransmittingInput() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDeviceUsageMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDeviceUsageMode const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TransmitInput() const; + auto TransmitInput(bool value) const; + [[nodiscard]] auto IsRequestedByTransmitter() const; + [[nodiscard]] auto IsTransmittingInput() const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDeviceUsageMode const& value) const; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Changed_revoker = impl::event_revoker::remove_Changed>; - [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Changed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Changed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -601,8 +596,8 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiverInputDevices { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverKeyboardDevice) Keyboard() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDevice) GameController() const; + [[nodiscard]] auto Keyboard() const; + [[nodiscard]] auto GameController() const; }; template <> struct consume { @@ -611,14 +606,14 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice { - [[nodiscard]] WINRT_IMPL_AUTO(bool) TransmitInput() const; - WINRT_IMPL_AUTO(void) TransmitInput(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRequestedByTransmitter() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTransmittingInput() const; - WINRT_IMPL_AUTO(winrt::event_token) Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TransmitInput() const; + auto TransmitInput(bool value) const; + [[nodiscard]] auto IsRequestedByTransmitter() const; + [[nodiscard]] auto IsTransmittingInput() const; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Changed_revoker = impl::event_revoker::remove_Changed>; - [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Changed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Changed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -627,10 +622,10 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverConnection) Connection() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) MediaSource() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannelSettings) CursorImageChannelSettings() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Connection() const; + [[nodiscard]] auto MediaSource() const; + [[nodiscard]] auto CursorImageChannelSettings() const; + auto GetDeferral() const; }; template <> struct consume { @@ -639,24 +634,24 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiverSession { - WINRT_IMPL_AUTO(winrt::event_token) ConnectionCreated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConnectionCreated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ConnectionCreated_revoker = impl::event_revoker::remove_ConnectionCreated>; - [[nodiscard]] ConnectionCreated_revoker ConnectionCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ConnectionCreated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MediaSourceCreated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ConnectionCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConnectionCreated(winrt::event_token const& token) const noexcept; + auto MediaSourceCreated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MediaSourceCreated_revoker = impl::event_revoker::remove_MediaSourceCreated>; - [[nodiscard]] MediaSourceCreated_revoker MediaSourceCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MediaSourceCreated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Disconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MediaSourceCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MediaSourceCreated(winrt::event_token const& token) const noexcept; + auto Disconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Disconnected_revoker = impl::event_revoker::remove_Disconnected>; - [[nodiscard]] Disconnected_revoker Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Disconnected(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowConnectionTakeover() const; - WINRT_IMPL_AUTO(void) AllowConnectionTakeover(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxSimultaneousConnections() const; - WINRT_IMPL_AUTO(void) MaxSimultaneousConnections(int32_t value) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverSessionStartResult) Start() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartAsync() const; + [[nodiscard]] auto Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Disconnected(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AllowConnectionTakeover() const; + auto AllowConnectionTakeover(bool value) const; + [[nodiscard]] auto MaxSimultaneousConnections() const; + auto MaxSimultaneousConnections(int32_t value) const; + auto Start() const; + auto StartAsync() const; }; template <> struct consume { @@ -665,8 +660,8 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiverSessionStartResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverSessionStartStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -675,16 +670,16 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiverSettings { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FriendlyName() const; - WINRT_IMPL_AUTO(void) FriendlyName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ModelName() const; - WINRT_IMPL_AUTO(void) ModelName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ModelNumber() const; - WINRT_IMPL_AUTO(void) ModelNumber(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverAuthorizationMethod) AuthorizationMethod() const; - WINRT_IMPL_AUTO(void) AuthorizationMethod(winrt::Windows::Media::Miracast::MiracastReceiverAuthorizationMethod const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RequireAuthorizationFromKnownTransmitters() const; - WINRT_IMPL_AUTO(void) RequireAuthorizationFromKnownTransmitters(bool value) const; + [[nodiscard]] auto FriendlyName() const; + auto FriendlyName(param::hstring const& value) const; + [[nodiscard]] auto ModelName() const; + auto ModelName(param::hstring const& value) const; + [[nodiscard]] auto ModelNumber() const; + auto ModelNumber(param::hstring const& value) const; + [[nodiscard]] auto AuthorizationMethod() const; + auto AuthorizationMethod(winrt::Windows::Media::Miracast::MiracastReceiverAuthorizationMethod const& value) const; + [[nodiscard]] auto RequireAuthorizationFromKnownTransmitters() const; + auto RequireAuthorizationFromKnownTransmitters(bool value) const; }; template <> struct consume { @@ -693,11 +688,11 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiverStatus { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverListeningStatus) ListeningStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverWiFiStatus) WiFiStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConnectionTakeoverSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxSimultaneousConnections() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) KnownTransmitters() const; + [[nodiscard]] auto ListeningStatus() const; + [[nodiscard]] auto WiFiStatus() const; + [[nodiscard]] auto IsConnectionTakeoverSupported() const; + [[nodiscard]] auto MaxSimultaneousConnections() const; + [[nodiscard]] auto KnownTransmitters() const; }; template <> struct consume { @@ -706,12 +701,12 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiverStreamControl { - WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings) GetVideoStreamSettings() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetVideoStreamSettingsAsync() const; - WINRT_IMPL_AUTO(void) SuggestVideoStreamSettings(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings const& settings) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SuggestVideoStreamSettingsAsync(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings const& settings) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) MuteAudio() const; - WINRT_IMPL_AUTO(void) MuteAudio(bool value) const; + auto GetVideoStreamSettings() const; + auto GetVideoStreamSettingsAsync() const; + auto SuggestVideoStreamSettings(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings const& settings) const; + auto SuggestVideoStreamSettingsAsync(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings const& settings) const; + [[nodiscard]] auto MuteAudio() const; + auto MuteAudio(bool value) const; }; template <> struct consume { @@ -720,10 +715,10 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) Size() const; - WINRT_IMPL_AUTO(void) Size(winrt::Windows::Graphics::SizeInt32 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Bitrate() const; - WINRT_IMPL_AUTO(void) Bitrate(int32_t value) const; + [[nodiscard]] auto Size() const; + auto Size(winrt::Windows::Graphics::SizeInt32 const& value) const; + [[nodiscard]] auto Bitrate() const; + auto Bitrate(int32_t value) const; }; template <> struct consume { @@ -732,13 +727,13 @@ namespace winrt::impl template struct consume_Windows_Media_Miracast_IMiracastTransmitter { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastTransmitterAuthorizationStatus) AuthorizationStatus() const; - WINRT_IMPL_AUTO(void) AuthorizationStatus(winrt::Windows::Media::Miracast::MiracastTransmitterAuthorizationStatus const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetConnections() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MacAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastConnectionTime() const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto AuthorizationStatus() const; + auto AuthorizationStatus(winrt::Windows::Media::Miracast::MiracastTransmitterAuthorizationStatus const& value) const; + auto GetConnections() const; + [[nodiscard]] auto MacAddress() const; + [[nodiscard]] auto LastConnectionTime() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.1.h index 73eefa50..df98e4e3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Miracast_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.2.h index e070fdee..b0bab1c8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Miracast_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.0.h index eb667249..db6ab92d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.0.h @@ -1,18 +1,12 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Ocr_0_H #define WINRT_Windows_Media_Ocr_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; struct Rect; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Globalization { struct Language; @@ -109,8 +103,8 @@ namespace winrt::impl template struct consume_Windows_Media_Ocr_IOcrEngine { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RecognizeAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) RecognizerLanguage() const; + auto RecognizeAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const; + [[nodiscard]] auto RecognizerLanguage() const; }; template <> struct consume { @@ -119,11 +113,11 @@ namespace winrt::impl template struct consume_Windows_Media_Ocr_IOcrEngineStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxImageDimension() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AvailableRecognizerLanguages() const; - WINRT_IMPL_AUTO(bool) IsLanguageSupported(winrt::Windows::Globalization::Language const& language) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Ocr::OcrEngine) TryCreateFromLanguage(winrt::Windows::Globalization::Language const& language) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Ocr::OcrEngine) TryCreateFromUserProfileLanguages() const; + [[nodiscard]] auto MaxImageDimension() const; + [[nodiscard]] auto AvailableRecognizerLanguages() const; + auto IsLanguageSupported(winrt::Windows::Globalization::Language const& language) const; + auto TryCreateFromLanguage(winrt::Windows::Globalization::Language const& language) const; + auto TryCreateFromUserProfileLanguages() const; }; template <> struct consume { @@ -132,8 +126,8 @@ namespace winrt::impl template struct consume_Windows_Media_Ocr_IOcrLine { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Words() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; + [[nodiscard]] auto Words() const; + [[nodiscard]] auto Text() const; }; template <> struct consume { @@ -142,9 +136,9 @@ namespace winrt::impl template struct consume_Windows_Media_Ocr_IOcrResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Lines() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TextAngle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; + [[nodiscard]] auto Lines() const; + [[nodiscard]] auto TextAngle() const; + [[nodiscard]] auto Text() const; }; template <> struct consume { @@ -153,8 +147,8 @@ namespace winrt::impl template struct consume_Windows_Media_Ocr_IOcrWord { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) BoundingRect() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; + [[nodiscard]] auto BoundingRect() const; + [[nodiscard]] auto Text() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.1.h index 2e2dd93e..bd51570e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Ocr_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.2.h index 617b5e64..58c6b76d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Ocr_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.0.h index f926c211..d5312e86 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_PlayTo_0_H @@ -7,13 +7,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { - template struct __declspec(empty_bases) IMapView; struct IPropertySet; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams @@ -384,7 +382,7 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_ICurrentTimeChangeRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Time() const; + [[nodiscard]] auto Time() const; }; template <> struct consume { @@ -393,7 +391,7 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_IMuteChangeRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Mute() const; + [[nodiscard]] auto Mute() const; }; template <> struct consume { @@ -402,19 +400,19 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_IPlayToConnection { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToConnectionState) State() const; - WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto State() const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; - [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Transferred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + auto Transferred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Transferred_revoker = impl::event_revoker::remove_Transferred>; - [[nodiscard]] Transferred_revoker Transferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Transferred(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Error(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Transferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Transferred(winrt::event_token const& token) const noexcept; + auto Error(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Error_revoker = impl::event_revoker::remove_Error>; - [[nodiscard]] Error_revoker Error(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Error(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Error(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Error(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -423,8 +421,8 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_IPlayToConnectionErrorEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToConnectionError) Code() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const; + [[nodiscard]] auto Code() const; + [[nodiscard]] auto Message() const; }; template <> struct consume { @@ -433,8 +431,8 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_IPlayToConnectionStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToConnectionState) PreviousState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToConnectionState) CurrentState() const; + [[nodiscard]] auto PreviousState() const; + [[nodiscard]] auto CurrentState() const; }; template <> struct consume { @@ -443,8 +441,8 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_IPlayToConnectionTransferredEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSource) PreviousSource() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSource) CurrentSource() const; + [[nodiscard]] auto PreviousSource() const; + [[nodiscard]] auto CurrentSource() const; }; template <> struct consume { @@ -453,16 +451,16 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_IPlayToManager { - WINRT_IMPL_AUTO(winrt::event_token) SourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourceRequested_revoker = impl::event_revoker::remove_SourceRequested>; - [[nodiscard]] SourceRequested_revoker SourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourceRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SourceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceRequested(winrt::event_token const& token) const noexcept; + auto SourceSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourceSelected_revoker = impl::event_revoker::remove_SourceSelected>; - [[nodiscard]] SourceSelected_revoker SourceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourceSelected(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) DefaultSourceSelection(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DefaultSourceSelection() const; + [[nodiscard]] auto SourceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceSelected(winrt::event_token const& token) const noexcept; + auto DefaultSourceSelection(bool value) const; + [[nodiscard]] auto DefaultSourceSelection() const; }; template <> struct consume { @@ -471,8 +469,8 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_IPlayToManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToManager) GetForCurrentView() const; - WINRT_IMPL_AUTO(void) ShowPlayToUI() const; + auto GetForCurrentView() const; + auto ShowPlayToUI() const; }; template <> struct consume { @@ -481,65 +479,65 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_IPlayToReceiver { - WINRT_IMPL_AUTO(winrt::event_token) PlayRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlayRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PlayRequested_revoker = impl::event_revoker::remove_PlayRequested>; - [[nodiscard]] PlayRequested_revoker PlayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PlayRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PauseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PlayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlayRequested(winrt::event_token const& token) const noexcept; + auto PauseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PauseRequested_revoker = impl::event_revoker::remove_PauseRequested>; - [[nodiscard]] PauseRequested_revoker PauseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PauseRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SourceChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PauseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PauseRequested(winrt::event_token const& token) const noexcept; + auto SourceChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourceChangeRequested_revoker = impl::event_revoker::remove_SourceChangeRequested>; - [[nodiscard]] SourceChangeRequested_revoker SourceChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourceChangeRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PlaybackRateChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SourceChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceChangeRequested(winrt::event_token const& token) const noexcept; + auto PlaybackRateChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PlaybackRateChangeRequested_revoker = impl::event_revoker::remove_PlaybackRateChangeRequested>; - [[nodiscard]] PlaybackRateChangeRequested_revoker PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PlaybackRateChangeRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CurrentTimeChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlaybackRateChangeRequested(winrt::event_token const& token) const noexcept; + auto CurrentTimeChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CurrentTimeChangeRequested_revoker = impl::event_revoker::remove_CurrentTimeChangeRequested>; - [[nodiscard]] CurrentTimeChangeRequested_revoker CurrentTimeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CurrentTimeChangeRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MuteChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CurrentTimeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CurrentTimeChangeRequested(winrt::event_token const& token) const noexcept; + auto MuteChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MuteChangeRequested_revoker = impl::event_revoker::remove_MuteChangeRequested>; - [[nodiscard]] MuteChangeRequested_revoker MuteChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MuteChangeRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) VolumeChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MuteChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MuteChangeRequested(winrt::event_token const& token) const noexcept; + auto VolumeChangeRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using VolumeChangeRequested_revoker = impl::event_revoker::remove_VolumeChangeRequested>; - [[nodiscard]] VolumeChangeRequested_revoker VolumeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VolumeChangeRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TimeUpdateRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto VolumeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VolumeChangeRequested(winrt::event_token const& token) const noexcept; + auto TimeUpdateRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TimeUpdateRequested_revoker = impl::event_revoker::remove_TimeUpdateRequested>; - [[nodiscard]] TimeUpdateRequested_revoker TimeUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TimeUpdateRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) StopRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TimeUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TimeUpdateRequested(winrt::event_token const& token) const noexcept; + auto StopRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StopRequested_revoker = impl::event_revoker::remove_StopRequested>; - [[nodiscard]] StopRequested_revoker StopRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StopRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) NotifyVolumeChange(double volume, bool mute) const; - WINRT_IMPL_AUTO(void) NotifyRateChange(double rate) const; - WINRT_IMPL_AUTO(void) NotifyLoadedMetadata() const; - WINRT_IMPL_AUTO(void) NotifyTimeUpdate(winrt::Windows::Foundation::TimeSpan const& currentTime) const; - WINRT_IMPL_AUTO(void) NotifyDurationChange(winrt::Windows::Foundation::TimeSpan const& duration) const; - WINRT_IMPL_AUTO(void) NotifySeeking() const; - WINRT_IMPL_AUTO(void) NotifySeeked() const; - WINRT_IMPL_AUTO(void) NotifyPaused() const; - WINRT_IMPL_AUTO(void) NotifyPlaying() const; - WINRT_IMPL_AUTO(void) NotifyEnded() const; - WINRT_IMPL_AUTO(void) NotifyError() const; - WINRT_IMPL_AUTO(void) NotifyStopped() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FriendlyName() const; - WINRT_IMPL_AUTO(void) FriendlyName(param::hstring const& value) const; - WINRT_IMPL_AUTO(void) SupportsImage(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SupportsImage() const; - WINRT_IMPL_AUTO(void) SupportsAudio(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SupportsAudio() const; - WINRT_IMPL_AUTO(void) SupportsVideo(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SupportsVideo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) Properties() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StopAsync() const; + [[nodiscard]] auto StopRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StopRequested(winrt::event_token const& token) const noexcept; + auto NotifyVolumeChange(double volume, bool mute) const; + auto NotifyRateChange(double rate) const; + auto NotifyLoadedMetadata() const; + auto NotifyTimeUpdate(winrt::Windows::Foundation::TimeSpan const& currentTime) const; + auto NotifyDurationChange(winrt::Windows::Foundation::TimeSpan const& duration) const; + auto NotifySeeking() const; + auto NotifySeeked() const; + auto NotifyPaused() const; + auto NotifyPlaying() const; + auto NotifyEnded() const; + auto NotifyError() const; + auto NotifyStopped() const; + [[nodiscard]] auto FriendlyName() const; + auto FriendlyName(param::hstring const& value) const; + auto SupportsImage(bool value) const; + [[nodiscard]] auto SupportsImage() const; + auto SupportsAudio(bool value) const; + [[nodiscard]] auto SupportsAudio() const; + auto SupportsVideo(bool value) const; + [[nodiscard]] auto SupportsVideo() const; + [[nodiscard]] auto Properties() const; + auto StartAsync() const; + auto StopAsync() const; }; template <> struct consume { @@ -548,10 +546,10 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_IPlayToSource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToConnection) Connection() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSource) Next() const; - WINRT_IMPL_AUTO(void) Next(winrt::Windows::Media::PlayTo::PlayToSource const& value) const; - WINRT_IMPL_AUTO(void) PlayNext() const; + [[nodiscard]] auto Connection() const; + [[nodiscard]] auto Next() const; + auto Next(winrt::Windows::Media::PlayTo::PlayToSource const& value) const; + auto PlayNext() const; }; template <> struct consume { @@ -560,7 +558,7 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_IPlayToSourceDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -569,10 +567,10 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_IPlayToSourceRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Deadline() const; - WINRT_IMPL_AUTO(void) DisplayErrorString(param::hstring const& errorString) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSourceDeferral) GetDeferral() const; - WINRT_IMPL_AUTO(void) SetSource(winrt::Windows::Media::PlayTo::PlayToSource const& value) const; + [[nodiscard]] auto Deadline() const; + auto DisplayErrorString(param::hstring const& errorString) const; + auto GetDeferral() const; + auto SetSource(winrt::Windows::Media::PlayTo::PlayToSource const& value) const; }; template <> struct consume { @@ -581,7 +579,7 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_IPlayToSourceRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSourceRequest) SourceRequest() const; + [[nodiscard]] auto SourceRequest() const; }; template <> struct consume { @@ -590,11 +588,11 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FriendlyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) Icon() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SupportsImage() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SupportsAudio() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SupportsVideo() const; + [[nodiscard]] auto FriendlyName() const; + [[nodiscard]] auto Icon() const; + [[nodiscard]] auto SupportsImage() const; + [[nodiscard]] auto SupportsAudio() const; + [[nodiscard]] auto SupportsVideo() const; }; template <> struct consume { @@ -603,8 +601,8 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_IPlayToSourceWithPreferredSourceUri { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) PreferredSourceUri() const; - WINRT_IMPL_AUTO(void) PreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto PreferredSourceUri() const; + auto PreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -613,7 +611,7 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_IPlaybackRateChangeRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(double) Rate() const; + [[nodiscard]] auto Rate() const; }; template <> struct consume { @@ -622,16 +620,16 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) Stream() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Author() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Album() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Genre() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Date() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Thumbnail() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Rating() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto Stream() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Author() const; + [[nodiscard]] auto Album() const; + [[nodiscard]] auto Genre() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Date() const; + [[nodiscard]] auto Thumbnail() const; + [[nodiscard]] auto Rating() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -640,7 +638,7 @@ namespace winrt::impl template struct consume_Windows_Media_PlayTo_IVolumeChangeRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(double) Volume() const; + [[nodiscard]] auto Volume() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.1.h index 70edd77e..7bcda531 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_PlayTo_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.2.h index 3f3c2b70..6b5f39a3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_PlayTo_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.0.h index b3ce23c0..5e3cb078 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Playback_0_H @@ -22,7 +22,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IObservableVector; struct IPropertySet; struct IVectorChangedEventArgs; template struct __declspec(empty_bases) IVectorView; @@ -39,7 +38,6 @@ WINRT_EXPORT namespace winrt::Windows::Media { enum class MediaPlaybackAutoRepeatMode : int32_t; enum class MediaPlaybackType : int32_t; - struct MediaTimeRange; struct MediaTimelineController; struct MusicDisplayProperties; struct SystemMediaTransportControls; @@ -1425,19 +1423,19 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) Current() const; - WINRT_IMPL_AUTO(winrt::event_token) MessageReceivedFromBackground(winrt::Windows::Foundation::EventHandler const& value) const; + [[nodiscard]] auto Current() const; + auto MessageReceivedFromBackground(winrt::Windows::Foundation::EventHandler const& value) const; using MessageReceivedFromBackground_revoker = impl::event_revoker::remove_MessageReceivedFromBackground>; - [[nodiscard]] MessageReceivedFromBackground_revoker MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; - WINRT_IMPL_AUTO(void) MessageReceivedFromBackground(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MessageReceivedFromForeground(winrt::Windows::Foundation::EventHandler const& value) const; + [[nodiscard]] auto MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto MessageReceivedFromBackground(winrt::event_token const& token) const noexcept; + auto MessageReceivedFromForeground(winrt::Windows::Foundation::EventHandler const& value) const; using MessageReceivedFromForeground_revoker = impl::event_revoker::remove_MessageReceivedFromForeground>; - [[nodiscard]] MessageReceivedFromForeground_revoker MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; - WINRT_IMPL_AUTO(void) MessageReceivedFromForeground(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SendMessageToBackground(winrt::Windows::Foundation::Collections::ValueSet const& value) const; - WINRT_IMPL_AUTO(void) SendMessageToForeground(winrt::Windows::Foundation::Collections::ValueSet const& value) const; - WINRT_IMPL_AUTO(bool) IsMediaPlaying() const; - WINRT_IMPL_AUTO(void) Shutdown() const; + [[nodiscard]] auto MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value) const; + auto MessageReceivedFromForeground(winrt::event_token const& token) const noexcept; + auto SendMessageToBackground(winrt::Windows::Foundation::Collections::ValueSet const& value) const; + auto SendMessageToForeground(winrt::Windows::Foundation::Collections::ValueSet const& value) const; + auto IsMediaPlaying() const; + auto Shutdown() const; }; template <> struct consume { @@ -1446,8 +1444,8 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) NewItem() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) OldItem() const; + [[nodiscard]] auto NewItem() const; + [[nodiscard]] auto OldItem() const; }; template <> struct consume { @@ -1456,7 +1454,7 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItemChangedReason) Reason() const; + [[nodiscard]] auto Reason() const; }; template <> struct consume { @@ -1465,12 +1463,12 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaBreak { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackList) PlaybackList() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PresentationPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreakInsertionMethod) InsertionMethod() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) CustomProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanStart() const; - WINRT_IMPL_AUTO(void) CanStart(bool value) const; + [[nodiscard]] auto PlaybackList() const; + [[nodiscard]] auto PresentationPosition() const; + [[nodiscard]] auto InsertionMethod() const; + [[nodiscard]] auto CustomProperties() const; + [[nodiscard]] auto CanStart() const; + auto CanStart(bool value) const; }; template <> struct consume { @@ -1479,7 +1477,7 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaBreakEndedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) MediaBreak() const; + [[nodiscard]] auto MediaBreak() const; }; template <> struct consume { @@ -1488,8 +1486,8 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaBreakFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) Create(winrt::Windows::Media::Playback::MediaBreakInsertionMethod const& insertionMethod) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) CreateWithPresentationPosition(winrt::Windows::Media::Playback::MediaBreakInsertionMethod const& insertionMethod, winrt::Windows::Foundation::TimeSpan const& presentationPosition) const; + auto Create(winrt::Windows::Media::Playback::MediaBreakInsertionMethod const& insertionMethod) const; + auto CreateWithPresentationPosition(winrt::Windows::Media::Playback::MediaBreakInsertionMethod const& insertionMethod, winrt::Windows::Foundation::TimeSpan const& presentationPosition) const; }; template <> struct consume { @@ -1498,26 +1496,26 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaBreakManager { - WINRT_IMPL_AUTO(winrt::event_token) BreaksSeekedOver(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BreaksSeekedOver(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using BreaksSeekedOver_revoker = impl::event_revoker::remove_BreaksSeekedOver>; - [[nodiscard]] BreaksSeekedOver_revoker BreaksSeekedOver(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BreaksSeekedOver(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BreakStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto BreaksSeekedOver(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BreaksSeekedOver(winrt::event_token const& token) const noexcept; + auto BreakStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using BreakStarted_revoker = impl::event_revoker::remove_BreakStarted>; - [[nodiscard]] BreakStarted_revoker BreakStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BreakStarted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BreakEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto BreakStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BreakStarted(winrt::event_token const& token) const noexcept; + auto BreakEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using BreakEnded_revoker = impl::event_revoker::remove_BreakEnded>; - [[nodiscard]] BreakEnded_revoker BreakEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BreakEnded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BreakSkipped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto BreakEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BreakEnded(winrt::event_token const& token) const noexcept; + auto BreakSkipped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using BreakSkipped_revoker = impl::event_revoker::remove_BreakSkipped>; - [[nodiscard]] BreakSkipped_revoker BreakSkipped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BreakSkipped(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) CurrentBreak() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackSession) PlaybackSession() const; - WINRT_IMPL_AUTO(void) PlayBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const; - WINRT_IMPL_AUTO(void) SkipCurrentBreak() const; + [[nodiscard]] auto BreakSkipped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BreakSkipped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CurrentBreak() const; + [[nodiscard]] auto PlaybackSession() const; + auto PlayBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const; + auto SkipCurrentBreak() const; }; template <> struct consume { @@ -1526,18 +1524,18 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaBreakSchedule { - WINRT_IMPL_AUTO(winrt::event_token) ScheduleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ScheduleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ScheduleChanged_revoker = impl::event_revoker::remove_ScheduleChanged>; - [[nodiscard]] ScheduleChanged_revoker ScheduleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ScheduleChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) InsertMidrollBreak(winrt::Windows::Media::Playback::MediaBreak const& mediaBreak) const; - WINRT_IMPL_AUTO(void) RemoveMidrollBreak(winrt::Windows::Media::Playback::MediaBreak const& mediaBreak) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) MidrollBreaks() const; - WINRT_IMPL_AUTO(void) PrerollBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) PrerollBreak() const; - WINRT_IMPL_AUTO(void) PostrollBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) PostrollBreak() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) PlaybackItem() const; + [[nodiscard]] auto ScheduleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ScheduleChanged(winrt::event_token const& token) const noexcept; + auto InsertMidrollBreak(winrt::Windows::Media::Playback::MediaBreak const& mediaBreak) const; + auto RemoveMidrollBreak(winrt::Windows::Media::Playback::MediaBreak const& mediaBreak) const; + [[nodiscard]] auto MidrollBreaks() const; + auto PrerollBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const; + [[nodiscard]] auto PrerollBreak() const; + auto PostrollBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const; + [[nodiscard]] auto PostrollBreak() const; + [[nodiscard]] auto PlaybackItem() const; }; template <> struct consume { @@ -1546,9 +1544,9 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaBreakSeekedOverEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SeekedOverBreaks() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) OldPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) NewPosition() const; + [[nodiscard]] auto SeekedOverBreaks() const; + [[nodiscard]] auto OldPosition() const; + [[nodiscard]] auto NewPosition() const; }; template <> struct consume { @@ -1557,7 +1555,7 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaBreakSkippedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) MediaBreak() const; + [[nodiscard]] auto MediaBreak() const; }; template <> struct consume { @@ -1566,7 +1564,7 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaBreakStartedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) MediaBreak() const; + [[nodiscard]] auto MediaBreak() const; }; template <> struct consume { @@ -1575,8 +1573,8 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaEnginePlaybackSource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) CurrentItem() const; - WINRT_IMPL_AUTO(void) SetPlaybackSource(winrt::Windows::Media::Playback::IMediaPlaybackSource const& source) const; + [[nodiscard]] auto CurrentItem() const; + auto SetPlaybackSource(winrt::Windows::Media::Playback::IMediaPlaybackSource const& source) const; }; template <> struct consume { @@ -1585,13 +1583,13 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaItemDisplayProperties { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackType) Type() const; - WINRT_IMPL_AUTO(void) Type(winrt::Windows::Media::MediaPlaybackType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MusicDisplayProperties) MusicProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoDisplayProperties) VideoProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) Thumbnail() const; - WINRT_IMPL_AUTO(void) Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const; - WINRT_IMPL_AUTO(void) ClearAll() const; + [[nodiscard]] auto Type() const; + auto Type(winrt::Windows::Media::MediaPlaybackType const& value) const; + [[nodiscard]] auto MusicProperties() const; + [[nodiscard]] auto VideoProperties() const; + [[nodiscard]] auto Thumbnail() const; + auto Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const; + auto ClearAll() const; }; template <> struct consume { @@ -1600,59 +1598,59 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackCommandManager { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) MediaPlayer() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) PlayBehavior() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) PauseBehavior() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) NextBehavior() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) PreviousBehavior() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) FastForwardBehavior() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) RewindBehavior() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) ShuffleBehavior() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) AutoRepeatModeBehavior() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) PositionBehavior() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) RateBehavior() const; - WINRT_IMPL_AUTO(winrt::event_token) PlayReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto MediaPlayer() const; + [[nodiscard]] auto PlayBehavior() const; + [[nodiscard]] auto PauseBehavior() const; + [[nodiscard]] auto NextBehavior() const; + [[nodiscard]] auto PreviousBehavior() const; + [[nodiscard]] auto FastForwardBehavior() const; + [[nodiscard]] auto RewindBehavior() const; + [[nodiscard]] auto ShuffleBehavior() const; + [[nodiscard]] auto AutoRepeatModeBehavior() const; + [[nodiscard]] auto PositionBehavior() const; + [[nodiscard]] auto RateBehavior() const; + auto PlayReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PlayReceived_revoker = impl::event_revoker::remove_PlayReceived>; - [[nodiscard]] PlayReceived_revoker PlayReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PlayReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PauseReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PlayReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlayReceived(winrt::event_token const& token) const noexcept; + auto PauseReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PauseReceived_revoker = impl::event_revoker::remove_PauseReceived>; - [[nodiscard]] PauseReceived_revoker PauseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PauseReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NextReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PauseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PauseReceived(winrt::event_token const& token) const noexcept; + auto NextReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NextReceived_revoker = impl::event_revoker::remove_NextReceived>; - [[nodiscard]] NextReceived_revoker NextReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NextReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PreviousReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto NextReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NextReceived(winrt::event_token const& token) const noexcept; + auto PreviousReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PreviousReceived_revoker = impl::event_revoker::remove_PreviousReceived>; - [[nodiscard]] PreviousReceived_revoker PreviousReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PreviousReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) FastForwardReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PreviousReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PreviousReceived(winrt::event_token const& token) const noexcept; + auto FastForwardReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FastForwardReceived_revoker = impl::event_revoker::remove_FastForwardReceived>; - [[nodiscard]] FastForwardReceived_revoker FastForwardReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FastForwardReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RewindReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto FastForwardReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FastForwardReceived(winrt::event_token const& token) const noexcept; + auto RewindReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RewindReceived_revoker = impl::event_revoker::remove_RewindReceived>; - [[nodiscard]] RewindReceived_revoker RewindReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RewindReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ShuffleReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto RewindReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RewindReceived(winrt::event_token const& token) const noexcept; + auto ShuffleReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ShuffleReceived_revoker = impl::event_revoker::remove_ShuffleReceived>; - [[nodiscard]] ShuffleReceived_revoker ShuffleReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ShuffleReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AutoRepeatModeReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ShuffleReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ShuffleReceived(winrt::event_token const& token) const noexcept; + auto AutoRepeatModeReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AutoRepeatModeReceived_revoker = impl::event_revoker::remove_AutoRepeatModeReceived>; - [[nodiscard]] AutoRepeatModeReceived_revoker AutoRepeatModeReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AutoRepeatModeReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PositionReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AutoRepeatModeReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AutoRepeatModeReceived(winrt::event_token const& token) const noexcept; + auto PositionReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PositionReceived_revoker = impl::event_revoker::remove_PositionReceived>; - [[nodiscard]] PositionReceived_revoker PositionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PositionReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RateReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PositionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PositionReceived(winrt::event_token const& token) const noexcept; + auto RateReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RateReceived_revoker = impl::event_revoker::remove_RateReceived>; - [[nodiscard]] RateReceived_revoker RateReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RateReceived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RateReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RateReceived(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1661,10 +1659,10 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackAutoRepeatMode) AutoRepeatMode() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto AutoRepeatMode() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1673,14 +1671,14 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManager) CommandManager() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaCommandEnablingRule) EnablingRule() const; - WINRT_IMPL_AUTO(void) EnablingRule(winrt::Windows::Media::Playback::MediaCommandEnablingRule const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) IsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CommandManager() const; + [[nodiscard]] auto IsEnabled() const; + [[nodiscard]] auto EnablingRule() const; + auto EnablingRule(winrt::Windows::Media::Playback::MediaCommandEnablingRule const& value) const; + auto IsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsEnabledChanged_revoker = impl::event_revoker::remove_IsEnabledChanged>; - [[nodiscard]] IsEnabledChanged_revoker IsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsEnabledChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsEnabledChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1689,9 +1687,9 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerFastForwardReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -1700,9 +1698,9 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerNextReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -1711,9 +1709,9 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPauseReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -1722,9 +1720,9 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPlayReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -1733,10 +1731,10 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Position() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto Position() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1745,9 +1743,9 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPreviousReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -1756,10 +1754,10 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) PlaybackRate() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto PlaybackRate() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1768,9 +1766,9 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRewindReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -1779,10 +1777,10 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsShuffleRequested() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto IsShuffleRequested() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1791,22 +1789,22 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackItem { - WINRT_IMPL_AUTO(winrt::event_token) AudioTracksChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AudioTracksChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AudioTracksChanged_revoker = impl::event_revoker::remove_AudioTracksChanged>; - [[nodiscard]] AudioTracksChanged_revoker AudioTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AudioTracksChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) VideoTracksChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AudioTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AudioTracksChanged(winrt::event_token const& token) const noexcept; + auto VideoTracksChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using VideoTracksChanged_revoker = impl::event_revoker::remove_VideoTracksChanged>; - [[nodiscard]] VideoTracksChanged_revoker VideoTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VideoTracksChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TimedMetadataTracksChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto VideoTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VideoTracksChanged(winrt::event_token const& token) const noexcept; + auto TimedMetadataTracksChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TimedMetadataTracksChanged_revoker = impl::event_revoker::remove_TimedMetadataTracksChanged>; - [[nodiscard]] TimedMetadataTracksChanged_revoker TimedMetadataTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TimedMetadataTracksChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) Source() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackAudioTrackList) AudioTracks() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackVideoTrackList) VideoTracks() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackTimedMetadataTrackList) TimedMetadataTracks() const; + [[nodiscard]] auto TimedMetadataTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TimedMetadataTracksChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Source() const; + [[nodiscard]] auto AudioTracks() const; + [[nodiscard]] auto VideoTracks() const; + [[nodiscard]] auto TimedMetadataTracks() const; }; template <> struct consume { @@ -1815,13 +1813,13 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackItem2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreakSchedule) BreakSchedule() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) StartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DurationLimit() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanSkip() const; - WINRT_IMPL_AUTO(void) CanSkip(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaItemDisplayProperties) GetDisplayProperties() const; - WINRT_IMPL_AUTO(void) ApplyDisplayProperties(winrt::Windows::Media::Playback::MediaItemDisplayProperties const& value) const; + [[nodiscard]] auto BreakSchedule() const; + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto DurationLimit() const; + [[nodiscard]] auto CanSkip() const; + auto CanSkip(bool value) const; + auto GetDisplayProperties() const; + auto ApplyDisplayProperties(winrt::Windows::Media::Playback::MediaItemDisplayProperties const& value) const; }; template <> struct consume { @@ -1830,11 +1828,11 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackItem3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDisabledInPlaybackList() const; - WINRT_IMPL_AUTO(void) IsDisabledInPlaybackList(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) TotalDownloadProgress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::AutoLoadedDisplayPropertyKind) AutoLoadedDisplayProperties() const; - WINRT_IMPL_AUTO(void) AutoLoadedDisplayProperties(winrt::Windows::Media::Playback::AutoLoadedDisplayPropertyKind const& value) const; + [[nodiscard]] auto IsDisabledInPlaybackList() const; + auto IsDisabledInPlaybackList(bool value) const; + [[nodiscard]] auto TotalDownloadProgress() const; + [[nodiscard]] auto AutoLoadedDisplayProperties() const; + auto AutoLoadedDisplayProperties(winrt::Windows::Media::Playback::AutoLoadedDisplayPropertyKind const& value) const; }; template <> struct consume { @@ -1843,8 +1841,8 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackItemError { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItemErrorCode) ErrorCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto ErrorCode() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1853,7 +1851,7 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) Create(winrt::Windows::Media::Core::MediaSource const& source) const; + auto Create(winrt::Windows::Media::Core::MediaSource const& source) const; }; template <> struct consume { @@ -1862,8 +1860,8 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackItemFactory2 { - WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) CreateWithStartTime(winrt::Windows::Media::Core::MediaSource const& source, winrt::Windows::Foundation::TimeSpan const& startTime) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) CreateWithStartTimeAndDurationLimit(winrt::Windows::Media::Core::MediaSource const& source, winrt::Windows::Foundation::TimeSpan const& startTime, winrt::Windows::Foundation::TimeSpan const& durationLimit) const; + auto CreateWithStartTime(winrt::Windows::Media::Core::MediaSource const& source, winrt::Windows::Foundation::TimeSpan const& startTime) const; + auto CreateWithStartTimeAndDurationLimit(winrt::Windows::Media::Core::MediaSource const& source, winrt::Windows::Foundation::TimeSpan const& startTime, winrt::Windows::Foundation::TimeSpan const& durationLimit) const; }; template <> struct consume { @@ -1872,8 +1870,8 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackItemFailedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) Item() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItemError) Error() const; + [[nodiscard]] auto Item() const; + [[nodiscard]] auto Error() const; }; template <> struct consume { @@ -1882,7 +1880,7 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackItemOpenedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) Item() const; + [[nodiscard]] auto Item() const; }; template <> struct consume { @@ -1891,7 +1889,7 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackItemStatics { - WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) FindFromMediaSource(winrt::Windows::Media::Core::MediaSource const& source) const; + auto FindFromMediaSource(winrt::Windows::Media::Core::MediaSource const& source) const; }; template <> struct consume { @@ -1900,28 +1898,28 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackList { - WINRT_IMPL_AUTO(winrt::event_token) ItemFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ItemFailed_revoker = impl::event_revoker::remove_ItemFailed>; - [[nodiscard]] ItemFailed_revoker ItemFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ItemFailed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CurrentItemChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ItemFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemFailed(winrt::event_token const& token) const noexcept; + auto CurrentItemChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CurrentItemChanged_revoker = impl::event_revoker::remove_CurrentItemChanged>; - [[nodiscard]] CurrentItemChanged_revoker CurrentItemChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CurrentItemChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ItemOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CurrentItemChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CurrentItemChanged(winrt::event_token const& token) const noexcept; + auto ItemOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ItemOpened_revoker = impl::event_revoker::remove_ItemOpened>; - [[nodiscard]] ItemOpened_revoker ItemOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ItemOpened(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) Items() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoRepeatEnabled() const; - WINRT_IMPL_AUTO(void) AutoRepeatEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShuffleEnabled() const; - WINRT_IMPL_AUTO(void) ShuffleEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) CurrentItem() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CurrentItemIndex() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) MoveNext() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) MovePrevious() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) MoveTo(uint32_t itemIndex) const; + [[nodiscard]] auto ItemOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemOpened(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Items() const; + [[nodiscard]] auto AutoRepeatEnabled() const; + auto AutoRepeatEnabled(bool value) const; + [[nodiscard]] auto ShuffleEnabled() const; + auto ShuffleEnabled(bool value) const; + [[nodiscard]] auto CurrentItem() const; + [[nodiscard]] auto CurrentItemIndex() const; + auto MoveNext() const; + auto MovePrevious() const; + auto MoveTo(uint32_t itemIndex) const; }; template <> struct consume { @@ -1930,12 +1928,12 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackList2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxPrefetchTime() const; - WINRT_IMPL_AUTO(void) MaxPrefetchTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) StartingItem() const; - WINRT_IMPL_AUTO(void) StartingItem(winrt::Windows::Media::Playback::MediaPlaybackItem const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ShuffledItems() const; - WINRT_IMPL_AUTO(void) SetShuffledItems(param::iterable const& value) const; + [[nodiscard]] auto MaxPrefetchTime() const; + auto MaxPrefetchTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto StartingItem() const; + auto StartingItem(winrt::Windows::Media::Playback::MediaPlaybackItem const& value) const; + [[nodiscard]] auto ShuffledItems() const; + auto SetShuffledItems(param::iterable const& value) const; }; template <> struct consume { @@ -1944,8 +1942,8 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackList3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxPlayedItemsToKeepOpen() const; - WINRT_IMPL_AUTO(void) MaxPlayedItemsToKeepOpen(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxPlayedItemsToKeepOpen() const; + auto MaxPlayedItemsToKeepOpen(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -1954,64 +1952,64 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackSession { - WINRT_IMPL_AUTO(winrt::event_token) PlaybackStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto PlaybackStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using PlaybackStateChanged_revoker = impl::event_revoker::remove_PlaybackStateChanged>; - [[nodiscard]] PlaybackStateChanged_revoker PlaybackStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) PlaybackStateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PlaybackRateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto PlaybackStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto PlaybackStateChanged(winrt::event_token const& token) const noexcept; + auto PlaybackRateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using PlaybackRateChanged_revoker = impl::event_revoker::remove_PlaybackRateChanged>; - [[nodiscard]] PlaybackRateChanged_revoker PlaybackRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) PlaybackRateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SeekCompleted(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto PlaybackRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto PlaybackRateChanged(winrt::event_token const& token) const noexcept; + auto SeekCompleted(winrt::Windows::Foundation::TypedEventHandler const& value) const; using SeekCompleted_revoker = impl::event_revoker::remove_SeekCompleted>; - [[nodiscard]] SeekCompleted_revoker SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) SeekCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BufferingStarted(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto SeekCompleted(winrt::event_token const& token) const noexcept; + auto BufferingStarted(winrt::Windows::Foundation::TypedEventHandler const& value) const; using BufferingStarted_revoker = impl::event_revoker::remove_BufferingStarted>; - [[nodiscard]] BufferingStarted_revoker BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) BufferingStarted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BufferingEnded(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BufferingStarted(winrt::event_token const& token) const noexcept; + auto BufferingEnded(winrt::Windows::Foundation::TypedEventHandler const& value) const; using BufferingEnded_revoker = impl::event_revoker::remove_BufferingEnded>; - [[nodiscard]] BufferingEnded_revoker BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) BufferingEnded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BufferingProgressChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BufferingEnded(winrt::event_token const& token) const noexcept; + auto BufferingProgressChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using BufferingProgressChanged_revoker = impl::event_revoker::remove_BufferingProgressChanged>; - [[nodiscard]] BufferingProgressChanged_revoker BufferingProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) BufferingProgressChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DownloadProgressChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto BufferingProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BufferingProgressChanged(winrt::event_token const& token) const noexcept; + auto DownloadProgressChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using DownloadProgressChanged_revoker = impl::event_revoker::remove_DownloadProgressChanged>; - [[nodiscard]] DownloadProgressChanged_revoker DownloadProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) DownloadProgressChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NaturalDurationChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto DownloadProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto DownloadProgressChanged(winrt::event_token const& token) const noexcept; + auto NaturalDurationChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using NaturalDurationChanged_revoker = impl::event_revoker::remove_NaturalDurationChanged>; - [[nodiscard]] NaturalDurationChanged_revoker NaturalDurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) NaturalDurationChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto NaturalDurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto NaturalDurationChanged(winrt::event_token const& token) const noexcept; + auto PositionChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using PositionChanged_revoker = impl::event_revoker::remove_PositionChanged>; - [[nodiscard]] PositionChanged_revoker PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) PositionChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NaturalVideoSizeChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto PositionChanged(winrt::event_token const& token) const noexcept; + auto NaturalVideoSizeChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using NaturalVideoSizeChanged_revoker = impl::event_revoker::remove_NaturalVideoSizeChanged>; - [[nodiscard]] NaturalVideoSizeChanged_revoker NaturalVideoSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) NaturalVideoSizeChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) MediaPlayer() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) NaturalDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Position() const; - WINRT_IMPL_AUTO(void) Position(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackState) PlaybackState() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanSeek() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanPause() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsProtected() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) PlaybackRate() const; - WINRT_IMPL_AUTO(void) PlaybackRate(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) BufferingProgress() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DownloadProgress() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) NaturalVideoHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) NaturalVideoWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) NormalizedSourceRect() const; - WINRT_IMPL_AUTO(void) NormalizedSourceRect(winrt::Windows::Foundation::Rect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode) StereoscopicVideoPackingMode() const; - WINRT_IMPL_AUTO(void) StereoscopicVideoPackingMode(winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode const& value) const; + [[nodiscard]] auto NaturalVideoSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto NaturalVideoSizeChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto MediaPlayer() const; + [[nodiscard]] auto NaturalDuration() const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto PlaybackState() const; + [[nodiscard]] auto CanSeek() const; + [[nodiscard]] auto CanPause() const; + [[nodiscard]] auto IsProtected() const; + [[nodiscard]] auto PlaybackRate() const; + auto PlaybackRate(double value) const; + [[nodiscard]] auto BufferingProgress() const; + [[nodiscard]] auto DownloadProgress() const; + [[nodiscard]] auto NaturalVideoHeight() const; + [[nodiscard]] auto NaturalVideoWidth() const; + [[nodiscard]] auto NormalizedSourceRect() const; + auto NormalizedSourceRect(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto StereoscopicVideoPackingMode() const; + auto StereoscopicVideoPackingMode(winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode const& value) const; }; template <> struct consume { @@ -2020,29 +2018,29 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackSession2 { - WINRT_IMPL_AUTO(winrt::event_token) BufferedRangesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BufferedRangesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using BufferedRangesChanged_revoker = impl::event_revoker::remove_BufferedRangesChanged>; - [[nodiscard]] BufferedRangesChanged_revoker BufferedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) BufferedRangesChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PlayedRangesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto BufferedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BufferedRangesChanged(winrt::event_token const& token) const noexcept; + auto PlayedRangesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using PlayedRangesChanged_revoker = impl::event_revoker::remove_PlayedRangesChanged>; - [[nodiscard]] PlayedRangesChanged_revoker PlayedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) PlayedRangesChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SeekableRangesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto PlayedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto PlayedRangesChanged(winrt::event_token const& token) const noexcept; + auto SeekableRangesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using SeekableRangesChanged_revoker = impl::event_revoker::remove_SeekableRangesChanged>; - [[nodiscard]] SeekableRangesChanged_revoker SeekableRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) SeekableRangesChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SupportedPlaybackRatesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto SeekableRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto SeekableRangesChanged(winrt::event_token const& token) const noexcept; + auto SupportedPlaybackRatesChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using SupportedPlaybackRatesChanged_revoker = impl::event_revoker::remove_SupportedPlaybackRatesChanged>; - [[nodiscard]] SupportedPlaybackRatesChanged_revoker SupportedPlaybackRatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) SupportedPlaybackRatesChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackSphericalVideoProjection) SphericalVideoProjection() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMirroring() const; - WINRT_IMPL_AUTO(void) IsMirroring(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetBufferedRanges() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetPlayedRanges() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetSeekableRanges() const; - WINRT_IMPL_AUTO(bool) IsSupportedPlaybackRateRange(double rate1, double rate2) const; + [[nodiscard]] auto SupportedPlaybackRatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto SupportedPlaybackRatesChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SphericalVideoProjection() const; + [[nodiscard]] auto IsMirroring() const; + auto IsMirroring(bool value) const; + auto GetBufferedRanges() const; + auto GetPlayedRanges() const; + auto GetSeekableRanges() const; + auto IsSupportedPlaybackRateRange(double rate1, double rate2) const; }; template <> struct consume { @@ -2051,9 +2049,9 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackSession3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRotation) PlaybackRotation() const; - WINRT_IMPL_AUTO(void) PlaybackRotation(winrt::Windows::Media::MediaProperties::MediaRotation const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackSessionOutputDegradationPolicyState) GetOutputDegradationPolicyState() const; + [[nodiscard]] auto PlaybackRotation() const; + auto PlaybackRotation(winrt::Windows::Media::MediaProperties::MediaRotation const& value) const; + auto GetOutputDegradationPolicyState() const; }; template <> struct consume { @@ -2062,7 +2060,7 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackSessionBufferingStartedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPlaybackInterruption() const; + [[nodiscard]] auto IsPlaybackInterruption() const; }; template <> struct consume { @@ -2071,7 +2069,7 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackSessionOutputDegradationPolicyState { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackSessionVideoConstrictionReason) VideoConstrictionReason() const; + [[nodiscard]] auto VideoConstrictionReason() const; }; template <> struct consume { @@ -2088,16 +2086,16 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat) FrameFormat() const; - WINRT_IMPL_AUTO(void) FrameFormat(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalFieldOfViewInDegrees() const; - WINRT_IMPL_AUTO(void) HorizontalFieldOfViewInDegrees(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) ViewOrientation() const; - WINRT_IMPL_AUTO(void) ViewOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::SphericalVideoProjectionMode) ProjectionMode() const; - WINRT_IMPL_AUTO(void) ProjectionMode(winrt::Windows::Media::Playback::SphericalVideoProjectionMode const& value) const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto FrameFormat() const; + auto FrameFormat(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat const& value) const; + [[nodiscard]] auto HorizontalFieldOfViewInDegrees() const; + auto HorizontalFieldOfViewInDegrees(double value) const; + [[nodiscard]] auto ViewOrientation() const; + auto ViewOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const; + [[nodiscard]] auto ProjectionMode() const; + auto ProjectionMode(winrt::Windows::Media::Playback::SphericalVideoProjectionMode const& value) const; }; template <> struct consume { @@ -2106,12 +2104,12 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList { - WINRT_IMPL_AUTO(winrt::event_token) PresentationModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PresentationModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PresentationModeChanged_revoker = impl::event_revoker::remove_PresentationModeChanged>; - [[nodiscard]] PresentationModeChanged_revoker PresentationModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PresentationModeChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode) GetPresentationMode(uint32_t index) const; - WINRT_IMPL_AUTO(void) SetPresentationMode(uint32_t index, winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode const& value) const; + [[nodiscard]] auto PresentationModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PresentationModeChanged(winrt::event_token const& token) const noexcept; + auto GetPresentationMode(uint32_t index) const; + auto SetPresentationMode(uint32_t index, winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode const& value) const; }; template <> struct consume { @@ -2120,68 +2118,68 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlayer { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoPlay() const; - WINRT_IMPL_AUTO(void) AutoPlay(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) NaturalDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Position() const; - WINRT_IMPL_AUTO(void) Position(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) BufferingProgress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayerState) CurrentState() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanSeek() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanPause() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLoopingEnabled() const; - WINRT_IMPL_AUTO(void) IsLoopingEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsProtected() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMuted() const; - WINRT_IMPL_AUTO(void) IsMuted(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) PlaybackRate() const; - WINRT_IMPL_AUTO(void) PlaybackRate(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Volume() const; - WINRT_IMPL_AUTO(void) Volume(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::PlaybackMediaMarkerSequence) PlaybackMediaMarkers() const; - WINRT_IMPL_AUTO(winrt::event_token) MediaOpened(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto AutoPlay() const; + auto AutoPlay(bool value) const; + [[nodiscard]] auto NaturalDuration() const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto BufferingProgress() const; + [[nodiscard]] auto CurrentState() const; + [[nodiscard]] auto CanSeek() const; + [[nodiscard]] auto CanPause() const; + [[nodiscard]] auto IsLoopingEnabled() const; + auto IsLoopingEnabled(bool value) const; + [[nodiscard]] auto IsProtected() const; + [[nodiscard]] auto IsMuted() const; + auto IsMuted(bool value) const; + [[nodiscard]] auto PlaybackRate() const; + auto PlaybackRate(double value) const; + [[nodiscard]] auto Volume() const; + auto Volume(double value) const; + [[nodiscard]] auto PlaybackMediaMarkers() const; + auto MediaOpened(winrt::Windows::Foundation::TypedEventHandler const& value) const; using MediaOpened_revoker = impl::event_revoker::remove_MediaOpened>; - [[nodiscard]] MediaOpened_revoker MediaOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) MediaOpened(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MediaEnded(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto MediaOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto MediaOpened(winrt::event_token const& token) const noexcept; + auto MediaEnded(winrt::Windows::Foundation::TypedEventHandler const& value) const; using MediaEnded_revoker = impl::event_revoker::remove_MediaEnded>; - [[nodiscard]] MediaEnded_revoker MediaEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) MediaEnded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MediaFailed(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto MediaEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto MediaEnded(winrt::event_token const& token) const noexcept; + auto MediaFailed(winrt::Windows::Foundation::TypedEventHandler const& value) const; using MediaFailed_revoker = impl::event_revoker::remove_MediaFailed>; - [[nodiscard]] MediaFailed_revoker MediaFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) MediaFailed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CurrentStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto MediaFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto MediaFailed(winrt::event_token const& token) const noexcept; + auto CurrentStateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using CurrentStateChanged_revoker = impl::event_revoker::remove_CurrentStateChanged>; - [[nodiscard]] CurrentStateChanged_revoker CurrentStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) CurrentStateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PlaybackMediaMarkerReached(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto CurrentStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto CurrentStateChanged(winrt::event_token const& token) const noexcept; + auto PlaybackMediaMarkerReached(winrt::Windows::Foundation::TypedEventHandler const& value) const; using PlaybackMediaMarkerReached_revoker = impl::event_revoker::remove_PlaybackMediaMarkerReached>; - [[nodiscard]] PlaybackMediaMarkerReached_revoker PlaybackMediaMarkerReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) PlaybackMediaMarkerReached(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MediaPlayerRateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto PlaybackMediaMarkerReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto PlaybackMediaMarkerReached(winrt::event_token const& token) const noexcept; + auto MediaPlayerRateChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using MediaPlayerRateChanged_revoker = impl::event_revoker::remove_MediaPlayerRateChanged>; - [[nodiscard]] MediaPlayerRateChanged_revoker MediaPlayerRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) MediaPlayerRateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) VolumeChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto MediaPlayerRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto MediaPlayerRateChanged(winrt::event_token const& token) const noexcept; + auto VolumeChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using VolumeChanged_revoker = impl::event_revoker::remove_VolumeChanged>; - [[nodiscard]] VolumeChanged_revoker VolumeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) VolumeChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SeekCompleted(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto VolumeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto VolumeChanged(winrt::event_token const& token) const noexcept; + auto SeekCompleted(winrt::Windows::Foundation::TypedEventHandler const& value) const; using SeekCompleted_revoker = impl::event_revoker::remove_SeekCompleted>; - [[nodiscard]] SeekCompleted_revoker SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) SeekCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BufferingStarted(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto SeekCompleted(winrt::event_token const& token) const noexcept; + auto BufferingStarted(winrt::Windows::Foundation::TypedEventHandler const& value) const; using BufferingStarted_revoker = impl::event_revoker::remove_BufferingStarted>; - [[nodiscard]] BufferingStarted_revoker BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) BufferingStarted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BufferingEnded(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BufferingStarted(winrt::event_token const& token) const noexcept; + auto BufferingEnded(winrt::Windows::Foundation::TypedEventHandler const& value) const; using BufferingEnded_revoker = impl::event_revoker::remove_BufferingEnded>; - [[nodiscard]] BufferingEnded_revoker BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) BufferingEnded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Play() const; - WINRT_IMPL_AUTO(void) Pause() const; - WINRT_IMPL_AUTO(void) SetUriSource(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BufferingEnded(winrt::event_token const& token) const noexcept; + auto Play() const; + auto Pause() const; + auto SetUriSource(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -2190,11 +2188,11 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlayer2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControls) SystemMediaTransportControls() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayerAudioCategory) AudioCategory() const; - WINRT_IMPL_AUTO(void) AudioCategory(winrt::Windows::Media::Playback::MediaPlayerAudioCategory const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayerAudioDeviceType) AudioDeviceType() const; - WINRT_IMPL_AUTO(void) AudioDeviceType(winrt::Windows::Media::Playback::MediaPlayerAudioDeviceType const& value) const; + [[nodiscard]] auto SystemMediaTransportControls() const; + [[nodiscard]] auto AudioCategory() const; + auto AudioCategory(winrt::Windows::Media::Playback::MediaPlayerAudioCategory const& value) const; + [[nodiscard]] auto AudioDeviceType() const; + auto AudioDeviceType(winrt::Windows::Media::Playback::MediaPlayerAudioDeviceType const& value) const; }; template <> struct consume { @@ -2203,32 +2201,32 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlayer3 { - WINRT_IMPL_AUTO(winrt::event_token) IsMutedChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto IsMutedChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using IsMutedChanged_revoker = impl::event_revoker::remove_IsMutedChanged>; - [[nodiscard]] IsMutedChanged_revoker IsMutedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) IsMutedChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SourceChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto IsMutedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto IsMutedChanged(winrt::event_token const& token) const noexcept; + auto SourceChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using SourceChanged_revoker = impl::event_revoker::remove_SourceChanged>; - [[nodiscard]] SourceChanged_revoker SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) SourceChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(double) AudioBalance() const; - WINRT_IMPL_AUTO(void) AudioBalance(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RealTimePlayback() const; - WINRT_IMPL_AUTO(void) RealTimePlayback(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::StereoscopicVideoRenderMode) StereoscopicVideoRenderMode() const; - WINRT_IMPL_AUTO(void) StereoscopicVideoRenderMode(winrt::Windows::Media::Playback::StereoscopicVideoRenderMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreakManager) BreakManager() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManager) CommandManager() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) AudioDevice() const; - WINRT_IMPL_AUTO(void) AudioDevice(winrt::Windows::Devices::Enumeration::DeviceInformation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaTimelineController) TimelineController() const; - WINRT_IMPL_AUTO(void) TimelineController(winrt::Windows::Media::MediaTimelineController const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TimelineControllerPositionOffset() const; - WINRT_IMPL_AUTO(void) TimelineControllerPositionOffset(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackSession) PlaybackSession() const; - WINRT_IMPL_AUTO(void) StepForwardOneFrame() const; - WINRT_IMPL_AUTO(void) StepBackwardOneFrame() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingSource) GetAsCastingSource() const; + [[nodiscard]] auto SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto SourceChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AudioBalance() const; + auto AudioBalance(double value) const; + [[nodiscard]] auto RealTimePlayback() const; + auto RealTimePlayback(bool value) const; + [[nodiscard]] auto StereoscopicVideoRenderMode() const; + auto StereoscopicVideoRenderMode(winrt::Windows::Media::Playback::StereoscopicVideoRenderMode const& value) const; + [[nodiscard]] auto BreakManager() const; + [[nodiscard]] auto CommandManager() const; + [[nodiscard]] auto AudioDevice() const; + auto AudioDevice(winrt::Windows::Devices::Enumeration::DeviceInformation const& value) const; + [[nodiscard]] auto TimelineController() const; + auto TimelineController(winrt::Windows::Media::MediaTimelineController const& value) const; + [[nodiscard]] auto TimelineControllerPositionOffset() const; + auto TimelineControllerPositionOffset(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto PlaybackSession() const; + auto StepForwardOneFrame() const; + auto StepBackwardOneFrame() const; + auto GetAsCastingSource() const; }; template <> struct consume { @@ -2237,8 +2235,8 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlayer4 { - WINRT_IMPL_AUTO(void) SetSurfaceSize(winrt::Windows::Foundation::Size const& size) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayerSurface) GetSurface(winrt::Windows::UI::Composition::Compositor const& compositor) const; + auto SetSurfaceSize(winrt::Windows::Foundation::Size const& size) const; + auto GetSurface(winrt::Windows::UI::Composition::Compositor const& compositor) const; }; template <> struct consume { @@ -2247,15 +2245,15 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlayer5 { - WINRT_IMPL_AUTO(winrt::event_token) VideoFrameAvailable(winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto VideoFrameAvailable(winrt::Windows::Foundation::TypedEventHandler const& value) const; using VideoFrameAvailable_revoker = impl::event_revoker::remove_VideoFrameAvailable>; - [[nodiscard]] VideoFrameAvailable_revoker VideoFrameAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) VideoFrameAvailable(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVideoFrameServerEnabled() const; - WINRT_IMPL_AUTO(void) IsVideoFrameServerEnabled(bool value) const; - WINRT_IMPL_AUTO(void) CopyFrameToVideoSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination) const; - WINRT_IMPL_AUTO(void) CopyFrameToVideoSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination, winrt::Windows::Foundation::Rect const& targetRectangle) const; - WINRT_IMPL_AUTO(void) CopyFrameToStereoscopicVideoSurfaces(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destinationLeftEye, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destinationRightEye) const; + [[nodiscard]] auto VideoFrameAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto VideoFrameAvailable(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsVideoFrameServerEnabled() const; + auto IsVideoFrameServerEnabled(bool value) const; + auto CopyFrameToVideoSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination) const; + auto CopyFrameToVideoSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination, winrt::Windows::Foundation::Rect const& targetRectangle) const; + auto CopyFrameToStereoscopicVideoSurfaces(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destinationLeftEye, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destinationRightEye) const; }; template <> struct consume { @@ -2264,12 +2262,12 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlayer6 { - WINRT_IMPL_AUTO(winrt::event_token) SubtitleFrameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SubtitleFrameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SubtitleFrameChanged_revoker = impl::event_revoker::remove_SubtitleFrameChanged>; - [[nodiscard]] SubtitleFrameChanged_revoker SubtitleFrameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SubtitleFrameChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(bool) RenderSubtitlesToSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination) const; - WINRT_IMPL_AUTO(bool) RenderSubtitlesToSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination, winrt::Windows::Foundation::Rect const& targetRectangle) const; + [[nodiscard]] auto SubtitleFrameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SubtitleFrameChanged(winrt::event_token const& token) const noexcept; + auto RenderSubtitlesToSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination) const; + auto RenderSubtitlesToSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination, winrt::Windows::Foundation::Rect const& targetRectangle) const; }; template <> struct consume { @@ -2278,7 +2276,7 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlayer7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) AudioStateMonitor() const; + [[nodiscard]] auto AudioStateMonitor() const; }; template <> struct consume { @@ -2287,7 +2285,7 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlayerDataReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Data() const; + [[nodiscard]] auto Data() const; }; template <> struct consume { @@ -2296,8 +2294,8 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlayerEffects { - WINRT_IMPL_AUTO(void) AddAudioEffect(param::hstring const& activatableClassId, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; - WINRT_IMPL_AUTO(void) RemoveAllEffects() const; + auto AddAudioEffect(param::hstring const& activatableClassId, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto RemoveAllEffects() const; }; template <> struct consume { @@ -2306,7 +2304,7 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlayerEffects2 { - WINRT_IMPL_AUTO(void) AddVideoEffect(param::hstring const& activatableClassId, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& effectConfiguration) const; + auto AddVideoEffect(param::hstring const& activatableClassId, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& effectConfiguration) const; }; template <> struct consume { @@ -2315,9 +2313,9 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlayerFailedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayerError) Error() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedErrorCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ErrorMessage() const; + [[nodiscard]] auto Error() const; + [[nodiscard]] auto ExtendedErrorCode() const; + [[nodiscard]] auto ErrorMessage() const; }; template <> struct consume { @@ -2326,7 +2324,7 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlayerRateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(double) NewRate() const; + [[nodiscard]] auto NewRate() const; }; template <> struct consume { @@ -2335,11 +2333,11 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlayerSource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionManager) ProtectionManager() const; - WINRT_IMPL_AUTO(void) ProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const; - WINRT_IMPL_AUTO(void) SetFileSource(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(void) SetStreamSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; - WINRT_IMPL_AUTO(void) SetMediaSource(winrt::Windows::Media::Core::IMediaSource const& source) const; + [[nodiscard]] auto ProtectionManager() const; + auto ProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const; + auto SetFileSource(winrt::Windows::Storage::IStorageFile const& file) const; + auto SetStreamSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto SetMediaSource(winrt::Windows::Media::Core::IMediaSource const& source) const; }; template <> struct consume { @@ -2348,8 +2346,8 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlayerSource2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::IMediaPlaybackSource) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::Media::Playback::IMediaPlaybackSource const& value) const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::Media::Playback::IMediaPlaybackSource const& value) const; }; template <> struct consume { @@ -2358,9 +2356,9 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IMediaPlayerSurface { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ICompositionSurface) CompositionSurface() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Compositor) Compositor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) MediaPlayer() const; + [[nodiscard]] auto CompositionSurface() const; + [[nodiscard]] auto Compositor() const; + [[nodiscard]] auto MediaPlayer() const; }; template <> struct consume { @@ -2369,9 +2367,9 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IPlaybackMediaMarker { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Time() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MediaMarkerType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; + [[nodiscard]] auto Time() const; + [[nodiscard]] auto MediaMarkerType() const; + [[nodiscard]] auto Text() const; }; template <> struct consume { @@ -2380,8 +2378,8 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IPlaybackMediaMarkerFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::PlaybackMediaMarker) CreateFromTime(winrt::Windows::Foundation::TimeSpan const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::PlaybackMediaMarker) Create(winrt::Windows::Foundation::TimeSpan const& value, param::hstring const& mediaMarketType, param::hstring const& text) const; + auto CreateFromTime(winrt::Windows::Foundation::TimeSpan const& value) const; + auto Create(winrt::Windows::Foundation::TimeSpan const& value, param::hstring const& mediaMarketType, param::hstring const& text) const; }; template <> struct consume { @@ -2390,7 +2388,7 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IPlaybackMediaMarkerReachedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::PlaybackMediaMarker) PlaybackMediaMarker() const; + [[nodiscard]] auto PlaybackMediaMarker() const; }; template <> struct consume { @@ -2399,9 +2397,9 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_IPlaybackMediaMarkerSequence { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Size() const; - WINRT_IMPL_AUTO(void) Insert(winrt::Windows::Media::Playback::PlaybackMediaMarker const& value) const; - WINRT_IMPL_AUTO(void) Clear() const; + [[nodiscard]] auto Size() const; + auto Insert(winrt::Windows::Media::Playback::PlaybackMediaMarker const& value) const; + auto Clear() const; }; template <> struct consume { @@ -2410,9 +2408,9 @@ namespace winrt::impl template struct consume_Windows_Media_Playback_ITimedMetadataPresentationModeChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataTrack) Track() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode) OldPresentationMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode) NewPresentationMode() const; + [[nodiscard]] auto Track() const; + [[nodiscard]] auto OldPresentationMode() const; + [[nodiscard]] auto NewPresentationMode() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.1.h index 4193d5c6..907fd126 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Playback_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.2.h index 64140f23..9aee0c11 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Playback_2_H @@ -15,11 +15,11 @@ WINRT_EXPORT namespace winrt::Windows::Media::Playback [[nodiscard]] static auto Current(); static auto MessageReceivedFromBackground(winrt::Windows::Foundation::EventHandler const& value); using MessageReceivedFromBackground_revoker = impl::factory_event_revoker::remove_MessageReceivedFromBackground>; - [[nodiscard]] static MessageReceivedFromBackground_revoker MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + [[nodiscard]] static auto MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); static auto MessageReceivedFromBackground(winrt::event_token const& token); static auto MessageReceivedFromForeground(winrt::Windows::Foundation::EventHandler const& value); using MessageReceivedFromForeground_revoker = impl::factory_event_revoker::remove_MessageReceivedFromForeground>; - [[nodiscard]] static MessageReceivedFromForeground_revoker MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); + [[nodiscard]] static auto MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& value); static auto MessageReceivedFromForeground(winrt::event_token const& token); static auto SendMessageToBackground(winrt::Windows::Foundation::Collections::ValueSet const& value); static auto SendMessageToForeground(winrt::Windows::Foundation::Collections::ValueSet const& value); diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.0.h index 978dd4e3..79568269 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Playlists_0_H @@ -6,18 +6,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Storage { struct IStorageFile; struct IStorageFolder; enum class NameCollisionOption : int32_t; - struct StorageFile; } WINRT_EXPORT namespace winrt::Windows::Media::Playlists { @@ -64,10 +58,10 @@ namespace winrt::impl template struct consume_Windows_Media_Playlists_IPlaylist { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Files() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SaveAsAsync(winrt::Windows::Storage::IStorageFolder const& saveLocation, param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SaveAsAsync(winrt::Windows::Storage::IStorageFolder const& saveLocation, param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option, winrt::Windows::Media::Playlists::PlaylistFormat const& playlistFormat) const; + [[nodiscard]] auto Files() const; + auto SaveAsync() const; + auto SaveAsAsync(winrt::Windows::Storage::IStorageFolder const& saveLocation, param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option) const; + auto SaveAsAsync(winrt::Windows::Storage::IStorageFolder const& saveLocation, param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option, winrt::Windows::Media::Playlists::PlaylistFormat const& playlistFormat) const; }; template <> struct consume { @@ -76,7 +70,7 @@ namespace winrt::impl template struct consume_Windows_Media_Playlists_IPlaylistStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto LoadAsync(winrt::Windows::Storage::IStorageFile const& file) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.1.h index 59d7bc81..d8a685d9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Playlists_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.2.h index b4121601..0e7302cd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Playlists_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.0.h index c1e3da5e..13a3743c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Protection_0_H @@ -6,15 +6,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { struct IPropertySet; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Media::Playback { @@ -326,8 +322,8 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_IComponentLoadFailedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::RevocationAndRenewalInformation) Information() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionServiceCompletion) Completion() const; + [[nodiscard]] auto Information() const; + [[nodiscard]] auto Completion() const; }; template <> struct consume { @@ -336,7 +332,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_IComponentRenewalStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RenewSystemComponentsAsync(winrt::Windows::Media::Protection::RevocationAndRenewalInformation const& information) const; + auto RenewSystemComponentsAsync(winrt::Windows::Media::Protection::RevocationAndRenewalInformation const& information) const; }; template <> struct consume { @@ -345,13 +341,13 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_IHdcpSession { - WINRT_IMPL_AUTO(bool) IsEffectiveProtectionAtLeast(winrt::Windows::Media::Protection::HdcpProtection const& protection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) GetEffectiveProtection() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetDesiredMinProtectionAsync(winrt::Windows::Media::Protection::HdcpProtection const& protection) const; - WINRT_IMPL_AUTO(winrt::event_token) ProtectionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsEffectiveProtectionAtLeast(winrt::Windows::Media::Protection::HdcpProtection const& protection) const; + auto GetEffectiveProtection() const; + auto SetDesiredMinProtectionAsync(winrt::Windows::Media::Protection::HdcpProtection const& protection) const; + auto ProtectionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ProtectionChanged_revoker = impl::event_revoker::remove_ProtectionChanged>; - [[nodiscard]] ProtectionChanged_revoker ProtectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ProtectionChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ProtectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ProtectionChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -360,19 +356,19 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_IMediaProtectionManager { - WINRT_IMPL_AUTO(winrt::event_token) ServiceRequested(winrt::Windows::Media::Protection::ServiceRequestedEventHandler const& handler) const; + auto ServiceRequested(winrt::Windows::Media::Protection::ServiceRequestedEventHandler const& handler) const; using ServiceRequested_revoker = impl::event_revoker::remove_ServiceRequested>; - [[nodiscard]] ServiceRequested_revoker ServiceRequested(auto_revoke_t, winrt::Windows::Media::Protection::ServiceRequestedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ServiceRequested(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RebootNeeded(winrt::Windows::Media::Protection::RebootNeededEventHandler const& handler) const; + [[nodiscard]] auto ServiceRequested(auto_revoke_t, winrt::Windows::Media::Protection::ServiceRequestedEventHandler const& handler) const; + auto ServiceRequested(winrt::event_token const& cookie) const noexcept; + auto RebootNeeded(winrt::Windows::Media::Protection::RebootNeededEventHandler const& handler) const; using RebootNeeded_revoker = impl::event_revoker::remove_RebootNeeded>; - [[nodiscard]] RebootNeeded_revoker RebootNeeded(auto_revoke_t, winrt::Windows::Media::Protection::RebootNeededEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RebootNeeded(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ComponentLoadFailed(winrt::Windows::Media::Protection::ComponentLoadFailedEventHandler const& handler) const; + [[nodiscard]] auto RebootNeeded(auto_revoke_t, winrt::Windows::Media::Protection::RebootNeededEventHandler const& handler) const; + auto RebootNeeded(winrt::event_token const& cookie) const noexcept; + auto ComponentLoadFailed(winrt::Windows::Media::Protection::ComponentLoadFailedEventHandler const& handler) const; using ComponentLoadFailed_revoker = impl::event_revoker::remove_ComponentLoadFailed>; - [[nodiscard]] ComponentLoadFailed_revoker ComponentLoadFailed(auto_revoke_t, winrt::Windows::Media::Protection::ComponentLoadFailedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ComponentLoadFailed(winrt::event_token const& cookie) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) Properties() const; + [[nodiscard]] auto ComponentLoadFailed(auto_revoke_t, winrt::Windows::Media::Protection::ComponentLoadFailedEventHandler const& handler) const; + auto ComponentLoadFailed(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -381,7 +377,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_IMediaProtectionPMPServer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) Properties() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -390,7 +386,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_IMediaProtectionPMPServerFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionPMPServer) CreatePMPServer(winrt::Windows::Foundation::Collections::IPropertySet const& pProperties) const; + auto CreatePMPServer(winrt::Windows::Foundation::Collections::IPropertySet const& pProperties) const; }; template <> struct consume { @@ -399,7 +395,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_IMediaProtectionServiceCompletion { - WINRT_IMPL_AUTO(void) Complete(bool success) const; + auto Complete(bool success) const; }; template <> struct consume { @@ -408,8 +404,8 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_IMediaProtectionServiceRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ProtectionSystem() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Type() const; + [[nodiscard]] auto ProtectionSystem() const; + [[nodiscard]] auto Type() const; }; template <> struct consume { @@ -418,7 +414,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_IProtectionCapabilities { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::ProtectionCapabilityResult) IsTypeSupported(param::hstring const& type, param::hstring const& keySystem) const; + auto IsTypeSupported(param::hstring const& type, param::hstring const& keySystem) const; }; template <> struct consume { @@ -427,7 +423,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_IRevocationAndRenewalInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Items() const; + [[nodiscard]] auto Items() const; }; template <> struct consume { @@ -436,11 +432,11 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_IRevocationAndRenewalItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::RevocationAndRenewalReasons) Reasons() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HeaderHash() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PublicKeyHash() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RenewalId() const; + [[nodiscard]] auto Reasons() const; + [[nodiscard]] auto HeaderHash() const; + [[nodiscard]] auto PublicKeyHash() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto RenewalId() const; }; template <> struct consume { @@ -449,8 +445,8 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_IServiceRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::IMediaProtectionServiceRequest) Request() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionServiceCompletion) Completion() const; + [[nodiscard]] auto Request() const; + [[nodiscard]] auto Completion() const; }; template <> struct consume { @@ -459,7 +455,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_IServiceRequestedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) MediaPlaybackItem() const; + [[nodiscard]] auto MediaPlaybackItem() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.1.h index c3908604..1b4c2701 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Protection_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.2.h index ad0b4856..7953dd9f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Protection_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.0.h index 1fa072cd..7e40cbe2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Protection_PlayReady_0_H @@ -8,8 +8,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; struct HResult; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } @@ -986,30 +984,30 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDClient { - WINRT_IMPL_AUTO(winrt::event_token) RegistrationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RegistrationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RegistrationCompleted_revoker = impl::event_revoker::remove_RegistrationCompleted>; - [[nodiscard]] RegistrationCompleted_revoker RegistrationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RegistrationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ProximityDetectionCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto RegistrationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RegistrationCompleted(winrt::event_token const& token) const noexcept; + auto ProximityDetectionCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ProximityDetectionCompleted_revoker = impl::event_revoker::remove_ProximityDetectionCompleted>; - [[nodiscard]] ProximityDetectionCompleted_revoker ProximityDetectionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ProximityDetectionCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LicenseFetchCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ProximityDetectionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ProximityDetectionCompleted(winrt::event_token const& token) const noexcept; + auto LicenseFetchCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LicenseFetchCompleted_revoker = impl::event_revoker::remove_LicenseFetchCompleted>; - [[nodiscard]] LicenseFetchCompleted_revoker LicenseFetchCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LicenseFetchCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ReRegistrationNeeded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto LicenseFetchCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LicenseFetchCompleted(winrt::event_token const& token) const noexcept; + auto ReRegistrationNeeded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ReRegistrationNeeded_revoker = impl::event_revoker::remove_ReRegistrationNeeded>; - [[nodiscard]] ReRegistrationNeeded_revoker ReRegistrationNeeded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ReRegistrationNeeded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ClosedCaptionDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ReRegistrationNeeded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReRegistrationNeeded(winrt::event_token const& token) const noexcept; + auto ClosedCaptionDataReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ClosedCaptionDataReceived_revoker = impl::event_revoker::remove_ClosedCaptionDataReceived>; - [[nodiscard]] ClosedCaptionDataReceived_revoker ClosedCaptionDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ClosedCaptionDataReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartAsync(winrt::Windows::Foundation::Uri const& contentUrl, uint32_t startAsyncOptions, winrt::Windows::Media::Protection::PlayReady::INDCustomData const& registrationCustomData, winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LicenseFetchAsync(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReRegistrationAsync(winrt::Windows::Media::Protection::PlayReady::INDCustomData const& registrationCustomData) const; - WINRT_IMPL_AUTO(void) Close() const; + [[nodiscard]] auto ClosedCaptionDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ClosedCaptionDataReceived(winrt::event_token const& token) const noexcept; + auto StartAsync(winrt::Windows::Foundation::Uri const& contentUrl, uint32_t startAsyncOptions, winrt::Windows::Media::Protection::PlayReady::INDCustomData const& registrationCustomData, winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const; + auto LicenseFetchAsync(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const; + auto ReRegistrationAsync(winrt::Windows::Media::Protection::PlayReady::INDCustomData const& registrationCustomData) const; + auto Close() const; }; template <> struct consume { @@ -1018,7 +1016,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDClientFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDClient) CreateInstance(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine const& downloadEngine, winrt::Windows::Media::Protection::PlayReady::INDStreamParser const& streamParser, winrt::Windows::Media::Protection::PlayReady::INDMessenger const& pMessenger) const; + auto CreateInstance(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine const& downloadEngine, winrt::Windows::Media::Protection::PlayReady::INDStreamParser const& streamParser, winrt::Windows::Media::Protection::PlayReady::INDMessenger const& pMessenger) const; }; template <> struct consume { @@ -1027,9 +1025,9 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDClosedCaptionDataReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDClosedCaptionFormat) ClosedCaptionDataFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(int64_t) PresentationTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) ClosedCaptionData() const; + [[nodiscard]] auto ClosedCaptionDataFormat() const; + [[nodiscard]] auto PresentationTimestamp() const; + [[nodiscard]] auto ClosedCaptionData() const; }; template <> struct consume { @@ -1038,8 +1036,8 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDCustomData { - [[nodiscard]] WINRT_IMPL_AUTO(com_array) CustomDataTypeID() const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) CustomData() const; + [[nodiscard]] auto CustomDataTypeID() const; + [[nodiscard]] auto CustomData() const; }; template <> struct consume { @@ -1048,7 +1046,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDCustomDataFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDCustomData) CreateInstance(array_view customDataTypeIDBytes, array_view customDataBytes) const; + auto CreateInstance(array_view customDataTypeIDBytes, array_view customDataBytes) const; }; template <> struct consume { @@ -1057,15 +1055,15 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDDownloadEngine { - WINRT_IMPL_AUTO(void) Open(winrt::Windows::Foundation::Uri const& uri, array_view sessionIDBytes) const; - WINRT_IMPL_AUTO(void) Pause() const; - WINRT_IMPL_AUTO(void) Resume() const; - WINRT_IMPL_AUTO(void) Close() const; - WINRT_IMPL_AUTO(void) Seek(winrt::Windows::Foundation::TimeSpan const& startPosition) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanSeek() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) BufferFullMinThresholdInSamples() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) BufferFullMaxThresholdInSamples() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDDownloadEngineNotifier) Notifier() const; + auto Open(winrt::Windows::Foundation::Uri const& uri, array_view sessionIDBytes) const; + auto Pause() const; + auto Resume() const; + auto Close() const; + auto Seek(winrt::Windows::Foundation::TimeSpan const& startPosition) const; + [[nodiscard]] auto CanSeek() const; + [[nodiscard]] auto BufferFullMinThresholdInSamples() const; + [[nodiscard]] auto BufferFullMaxThresholdInSamples() const; + [[nodiscard]] auto Notifier() const; }; template <> struct consume { @@ -1074,12 +1072,12 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier { - WINRT_IMPL_AUTO(void) OnStreamOpened() const; - WINRT_IMPL_AUTO(void) OnPlayReadyObjectReceived(array_view dataBytes) const; - WINRT_IMPL_AUTO(void) OnContentIDReceived(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const; - WINRT_IMPL_AUTO(void) OnDataReceived(array_view dataBytes, uint32_t bytesReceived) const; - WINRT_IMPL_AUTO(void) OnEndOfStream() const; - WINRT_IMPL_AUTO(void) OnNetworkError() const; + auto OnStreamOpened() const; + auto OnPlayReadyObjectReceived(array_view dataBytes) const; + auto OnContentIDReceived(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const; + auto OnDataReceived(array_view dataBytes, uint32_t bytesReceived) const; + auto OnEndOfStream() const; + auto OnNetworkError() const; }; template <> struct consume { @@ -1088,7 +1086,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDLicenseFetchCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::INDCustomData) ResponseCustomData() const; + [[nodiscard]] auto ResponseCustomData() const; }; template <> struct consume { @@ -1097,10 +1095,10 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDContentIDType) ContentIDType() const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) ContentID() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::INDCustomData) LicenseFetchChallengeCustomData() const; - WINRT_IMPL_AUTO(void) LicenseFetchChallengeCustomData(winrt::Windows::Media::Protection::PlayReady::INDCustomData const& licenseFetchChallengeCustomData) const; + [[nodiscard]] auto ContentIDType() const; + [[nodiscard]] auto ContentID() const; + [[nodiscard]] auto LicenseFetchChallengeCustomData() const; + auto LicenseFetchChallengeCustomData(winrt::Windows::Media::Protection::PlayReady::INDCustomData const& licenseFetchChallengeCustomData) const; }; template <> struct consume { @@ -1109,7 +1107,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptorFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDLicenseFetchDescriptor) CreateInstance(winrt::Windows::Media::Protection::PlayReady::NDContentIDType const& contentIDType, array_view contentIDBytes, winrt::Windows::Media::Protection::PlayReady::INDCustomData const& licenseFetchChallengeCustomData) const; + auto CreateInstance(winrt::Windows::Media::Protection::PlayReady::NDContentIDType const& contentIDType, array_view contentIDBytes, winrt::Windows::Media::Protection::PlayReady::INDCustomData const& licenseFetchChallengeCustomData) const; }; template <> struct consume { @@ -1118,7 +1116,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDLicenseFetchResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::INDCustomData) ResponseCustomData() const; + [[nodiscard]] auto ResponseCustomData() const; }; template <> struct consume { @@ -1127,10 +1125,10 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDMessenger { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendRegistrationRequestAsync(array_view sessionIDBytes, array_view challengeDataBytes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendProximityDetectionStartAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view transmitterChannelBytes, array_view sessionIDBytes, array_view challengeDataBytes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendProximityDetectionResponseAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view transmitterChannelBytes, array_view sessionIDBytes, array_view responseDataBytes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendLicenseFetchRequestAsync(array_view sessionIDBytes, array_view challengeDataBytes) const; + auto SendRegistrationRequestAsync(array_view sessionIDBytes, array_view challengeDataBytes) const; + auto SendProximityDetectionStartAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view transmitterChannelBytes, array_view sessionIDBytes, array_view challengeDataBytes) const; + auto SendProximityDetectionResponseAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view transmitterChannelBytes, array_view sessionIDBytes, array_view responseDataBytes) const; + auto SendLicenseFetchRequestAsync(array_view sessionIDBytes, array_view challengeDataBytes) const; }; template <> struct consume { @@ -1139,7 +1137,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDProximityDetectionCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ProximityDetectionRetryCount() const; + [[nodiscard]] auto ProximityDetectionRetryCount() const; }; template <> struct consume { @@ -1148,10 +1146,10 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::INDCustomData) ResponseCustomData() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties) TransmitterProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) TransmitterCertificateAccepted() const; - WINRT_IMPL_AUTO(void) TransmitterCertificateAccepted(bool accept) const; + [[nodiscard]] auto ResponseCustomData() const; + [[nodiscard]] auto TransmitterProperties() const; + [[nodiscard]] auto TransmitterCertificateAccepted() const; + auto TransmitterCertificateAccepted(bool accept) const; }; template <> struct consume { @@ -1160,7 +1158,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDSendResult { - [[nodiscard]] WINRT_IMPL_AUTO(com_array) Response() const; + [[nodiscard]] auto Response() const; }; template <> struct consume { @@ -1169,7 +1167,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDStartResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) MediaStreamSource() const; + [[nodiscard]] auto MediaStreamSource() const; }; template <> struct consume { @@ -1178,7 +1176,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDStorageFileHelper { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetFileURLs(winrt::Windows::Storage::IStorageFile const& file) const; + auto GetFileURLs(winrt::Windows::Storage::IStorageFile const& file) const; }; template <> struct consume { @@ -1187,11 +1185,11 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDStreamParser { - WINRT_IMPL_AUTO(void) ParseData(array_view dataBytes) const; - WINRT_IMPL_AUTO(uint32_t) GetStreamInformation(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::Windows::Media::Protection::PlayReady::NDMediaStreamType& streamType) const; - WINRT_IMPL_AUTO(void) BeginOfStream() const; - WINRT_IMPL_AUTO(void) EndOfStream() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDStreamParserNotifier) Notifier() const; + auto ParseData(array_view dataBytes) const; + auto GetStreamInformation(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::Windows::Media::Protection::PlayReady::NDMediaStreamType& streamType) const; + auto BeginOfStream() const; + auto EndOfStream() const; + [[nodiscard]] auto Notifier() const; }; template <> struct consume { @@ -1200,10 +1198,10 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier { - WINRT_IMPL_AUTO(void) OnContentIDReceived(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const; - WINRT_IMPL_AUTO(void) OnMediaStreamDescriptorCreated(param::vector const& audioStreamDescriptors, param::vector const& videoStreamDescriptors) const; - WINRT_IMPL_AUTO(void) OnSampleParsed(uint32_t streamID, winrt::Windows::Media::Protection::PlayReady::NDMediaStreamType const& streamType, winrt::Windows::Media::Core::MediaStreamSample const& streamSample, int64_t pts, winrt::Windows::Media::Protection::PlayReady::NDClosedCaptionFormat const& ccFormat, array_view ccDataBytes) const; - WINRT_IMPL_AUTO(void) OnBeginSetupDecryptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::guid const& keyID, array_view proBytes) const; + auto OnContentIDReceived(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const; + auto OnMediaStreamDescriptorCreated(param::vector const& audioStreamDescriptors, param::vector const& videoStreamDescriptors) const; + auto OnSampleParsed(uint32_t streamID, winrt::Windows::Media::Protection::PlayReady::NDMediaStreamType const& streamType, winrt::Windows::Media::Core::MediaStreamSample const& streamSample, int64_t pts, winrt::Windows::Media::Protection::PlayReady::NDClosedCaptionFormat const& ccFormat, array_view ccDataBytes) const; + auto OnBeginSetupDecryptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::guid const& keyID, array_view proBytes) const; }; template <> struct consume { @@ -1212,7 +1210,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDTCPMessengerFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDTCPMessenger) CreateInstance(param::hstring const& remoteHostName, uint32_t remoteHostPort) const; + auto CreateInstance(param::hstring const& remoteHostName, uint32_t remoteHostPort) const; }; template <> struct consume { @@ -1221,17 +1219,17 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDCertificateType) CertificateType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDCertificatePlatformID) PlatformIdentifier() const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) SupportedFeatures() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SecurityLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SecurityVersion() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) ExpirationDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) ClientID() const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) ModelDigest() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ModelManufacturerName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ModelName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ModelNumber() const; + [[nodiscard]] auto CertificateType() const; + [[nodiscard]] auto PlatformIdentifier() const; + [[nodiscard]] auto SupportedFeatures() const; + [[nodiscard]] auto SecurityLevel() const; + [[nodiscard]] auto SecurityVersion() const; + [[nodiscard]] auto ExpirationDate() const; + [[nodiscard]] auto ClientID() const; + [[nodiscard]] auto ModelDigest() const; + [[nodiscard]] auto ModelManufacturerName() const; + [[nodiscard]] auto ModelName() const; + [[nodiscard]] auto ModelNumber() const; }; template <> struct consume { @@ -1240,16 +1238,16 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) KeyId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KeyIdString() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) LicenseAcquisitionUrl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) LicenseAcquisitionUserInterfaceUrl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DomainServiceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm) EncryptionType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CustomAttributes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyDecryptorSetup) DecryptorSetup() const; - WINRT_IMPL_AUTO(com_array) GetSerializedHeader() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) HeaderWithEmbeddedUpdates() const; + [[nodiscard]] auto KeyId() const; + [[nodiscard]] auto KeyIdString() const; + [[nodiscard]] auto LicenseAcquisitionUrl() const; + [[nodiscard]] auto LicenseAcquisitionUserInterfaceUrl() const; + [[nodiscard]] auto DomainServiceId() const; + [[nodiscard]] auto EncryptionType() const; + [[nodiscard]] auto CustomAttributes() const; + [[nodiscard]] auto DecryptorSetup() const; + auto GetSerializedHeader() const; + [[nodiscard]] auto HeaderWithEmbeddedUpdates() const; }; template <> struct consume { @@ -1258,8 +1256,8 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader2 { - [[nodiscard]] WINRT_IMPL_AUTO(com_array) KeyIds() const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) KeyIdStrings() const; + [[nodiscard]] auto KeyIds() const; + [[nodiscard]] auto KeyIdStrings() const; }; template <> struct consume { @@ -1268,9 +1266,9 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) CreateInstanceFromWindowsMediaDrmHeader(array_view headerBytes, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) CreateInstanceFromComponents(winrt::guid const& contentKeyId, param::hstring const& contentKeyIdString, winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm const& contentEncryptionAlgorithm, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) CreateInstanceFromPlayReadyHeader(array_view headerBytes) const; + auto CreateInstanceFromWindowsMediaDrmHeader(array_view headerBytes, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId) const; + auto CreateInstanceFromComponents(winrt::guid const& contentKeyId, param::hstring const& contentKeyIdString, winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm const& contentEncryptionAlgorithm, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId) const; + auto CreateInstanceFromPlayReadyHeader(array_view headerBytes) const; }; template <> struct consume { @@ -1279,7 +1277,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory2 { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) CreateInstanceFromComponents2(uint32_t dwFlags, array_view contentKeyIds, array_view contentKeyIdStrings, winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm const& contentEncryptionAlgorithm, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId) const; + auto CreateInstanceFromComponents2(uint32_t dwFlags, array_view contentKeyIds, array_view contentKeyIdStrings, winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm const& contentEncryptionAlgorithm, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId) const; }; template <> struct consume { @@ -1288,7 +1286,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyContentResolver { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest) ServiceRequest(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader) const; + auto ServiceRequest(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader) const; }; template <> struct consume { @@ -1297,11 +1295,11 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) AccountId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ServiceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Revision() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FriendlyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) DomainJoinUrl() const; + [[nodiscard]] auto AccountId() const; + [[nodiscard]] auto ServiceId() const; + [[nodiscard]] auto Revision() const; + [[nodiscard]] auto FriendlyName() const; + [[nodiscard]] auto DomainJoinUrl() const; }; template <> struct consume { @@ -1310,7 +1308,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainIterableFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyDomainIterable) CreateInstance(winrt::guid const& domainAccountId) const; + auto CreateInstance(winrt::guid const& domainAccountId) const; }; template <> struct consume { @@ -1319,12 +1317,12 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DomainAccountId() const; - WINRT_IMPL_AUTO(void) DomainAccountId(winrt::guid const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DomainFriendlyName() const; - WINRT_IMPL_AUTO(void) DomainFriendlyName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DomainServiceId() const; - WINRT_IMPL_AUTO(void) DomainServiceId(winrt::guid const& value) const; + [[nodiscard]] auto DomainAccountId() const; + auto DomainAccountId(winrt::guid const& value) const; + [[nodiscard]] auto DomainFriendlyName() const; + auto DomainFriendlyName(param::hstring const& value) const; + [[nodiscard]] auto DomainServiceId() const; + auto DomainServiceId(winrt::guid const& value) const; }; template <> struct consume { @@ -1333,10 +1331,10 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DomainAccountId() const; - WINRT_IMPL_AUTO(void) DomainAccountId(winrt::guid const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DomainServiceId() const; - WINRT_IMPL_AUTO(void) DomainServiceId(winrt::guid const& value) const; + [[nodiscard]] auto DomainAccountId() const; + auto DomainAccountId(winrt::guid const& value) const; + [[nodiscard]] auto DomainServiceId() const; + auto DomainServiceId(winrt::guid const& value) const; }; template <> struct consume { @@ -1345,7 +1343,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyITADataGenerator { - WINRT_IMPL_AUTO(com_array) GenerateData(winrt::guid const& guidCPSystemId, uint32_t countOfStreams, winrt::Windows::Foundation::Collections::IPropertySet const& configuration, winrt::Windows::Media::Protection::PlayReady::PlayReadyITADataFormat const& format) const; + auto GenerateData(winrt::guid const& guidCPSystemId, uint32_t countOfStreams, winrt::Windows::Foundation::Collections::IPropertySet const& configuration, winrt::Windows::Media::Protection::PlayReady::PlayReadyITADataFormat const& format) const; }; template <> struct consume { @@ -1362,13 +1360,13 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense { - [[nodiscard]] WINRT_IMPL_AUTO(bool) FullyEvaluated() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) UsableForPlay() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ExpirationDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExpireAfterFirstPlay() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DomainAccountID() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ChainDepth() const; - WINRT_IMPL_AUTO(winrt::guid) GetKIDAtChainDepth(uint32_t chainDepth) const; + [[nodiscard]] auto FullyEvaluated() const; + [[nodiscard]] auto UsableForPlay() const; + [[nodiscard]] auto ExpirationDate() const; + [[nodiscard]] auto ExpireAfterFirstPlay() const; + [[nodiscard]] auto DomainAccountID() const; + [[nodiscard]] auto ChainDepth() const; + auto GetKIDAtChainDepth(uint32_t chainDepth) const; }; template <> struct consume { @@ -1377,10 +1375,10 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) SecureStopId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SecurityLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) InMemoryOnly() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ExpiresInRealTime() const; + [[nodiscard]] auto SecureStopId() const; + [[nodiscard]] auto SecurityLevel() const; + [[nodiscard]] auto InMemoryOnly() const; + [[nodiscard]] auto ExpiresInRealTime() const; }; template <> struct consume { @@ -1389,10 +1387,10 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) ContentHeader() const; - WINRT_IMPL_AUTO(void) ContentHeader(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DomainServiceId() const; - WINRT_IMPL_AUTO(void) DomainServiceId(winrt::guid const& value) const; + [[nodiscard]] auto ContentHeader() const; + auto ContentHeader(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& value) const; + [[nodiscard]] auto DomainServiceId() const; + auto DomainServiceId(winrt::guid const& value) const; }; template <> struct consume { @@ -1401,7 +1399,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) SessionId() const; + [[nodiscard]] auto SessionId() const; }; template <> struct consume { @@ -1410,7 +1408,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest3 { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyLicenseIterable) CreateLicenseIterable(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const; + auto CreateLicenseIterable(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const; }; template <> struct consume { @@ -1419,7 +1417,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseIterableFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyLicenseIterable) CreateInstance(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const; + auto CreateInstance(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const; }; template <> struct consume { @@ -1428,7 +1426,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseManagement { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteLicenses(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader) const; + auto DeleteLicenses(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader) const; }; template <> struct consume { @@ -1437,8 +1435,8 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest) CreateLAServiceRequest() const; - WINRT_IMPL_AUTO(void) ConfigureMediaProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& mpm) const; + auto CreateLAServiceRequest() const; + auto ConfigureMediaProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& mpm) const; }; template <> struct consume { @@ -1447,7 +1445,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession2 { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyLicenseIterable) CreateLicenseIterable(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const; + auto CreateLicenseIterable(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const; }; template <> struct consume { @@ -1456,7 +1454,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSessionFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyLicenseSession) CreateInstance(winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto CreateInstance(winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; }; template <> struct consume { @@ -1465,8 +1463,8 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyMeteringReportServiceRequest { - [[nodiscard]] WINRT_IMPL_AUTO(com_array) MeteringCertificate() const; - WINRT_IMPL_AUTO(void) MeteringCertificate(array_view meteringCertBytes) const; + [[nodiscard]] auto MeteringCertificate() const; + auto MeteringCertificate(array_view meteringCertBytes) const; }; template <> struct consume { @@ -1483,7 +1481,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopIterableFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadySecureStopIterable) CreateInstance(array_view publisherCertBytes) const; + auto CreateInstance(array_view publisherCertBytes) const; }; template <> struct consume { @@ -1492,11 +1490,11 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) SessionID() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) StartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) UpdateTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Stopped() const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) PublisherCertificate() const; + [[nodiscard]] auto SessionID() const; + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto UpdateTime() const; + [[nodiscard]] auto Stopped() const; + [[nodiscard]] auto PublisherCertificate() const; }; template <> struct consume { @@ -1505,8 +1503,8 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequestFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadySecureStopServiceRequest) CreateInstance(array_view publisherCertBytes) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadySecureStopServiceRequest) CreateInstanceFromSessionID(winrt::guid const& sessionID, array_view publisherCertBytes) const; + auto CreateInstance(array_view publisherCertBytes) const; + auto CreateInstanceFromSessionID(winrt::guid const& sessionID, array_view publisherCertBytes) const; }; template <> struct consume { @@ -1515,15 +1513,15 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - WINRT_IMPL_AUTO(void) Uri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResponseCustomData() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ChallengeCustomData() const; - WINRT_IMPL_AUTO(void) ChallengeCustomData(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) BeginServiceRequest() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest) NextServiceRequest() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadySoapMessage) GenerateManualEnablingChallenge() const; - WINRT_IMPL_AUTO(winrt::hresult) ProcessManualEnablingResponse(array_view responseBytes) const; + [[nodiscard]] auto Uri() const; + auto Uri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ResponseCustomData() const; + [[nodiscard]] auto ChallengeCustomData() const; + auto ChallengeCustomData(param::hstring const& value) const; + auto BeginServiceRequest() const; + auto NextServiceRequest() const; + auto GenerateManualEnablingChallenge() const; + auto ProcessManualEnablingResponse(array_view responseBytes) const; }; template <> struct consume { @@ -1532,9 +1530,9 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadySoapMessage { - WINRT_IMPL_AUTO(com_array) GetMessageBody() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) MessageHeaders() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; + auto GetMessageBody() const; + [[nodiscard]] auto MessageHeaders() const; + [[nodiscard]] auto Uri() const; }; template <> struct consume { @@ -1543,14 +1541,14 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DomainJoinServiceRequestType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DomainLeaveServiceRequestType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) IndividualizationServiceRequestType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) LicenseAcquirerServiceRequestType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) MeteringReportServiceRequestType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) RevocationServiceRequestType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) MediaProtectionSystemId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PlayReadySecurityVersion() const; + [[nodiscard]] auto DomainJoinServiceRequestType() const; + [[nodiscard]] auto DomainLeaveServiceRequestType() const; + [[nodiscard]] auto IndividualizationServiceRequestType() const; + [[nodiscard]] auto LicenseAcquirerServiceRequestType() const; + [[nodiscard]] auto MeteringReportServiceRequestType() const; + [[nodiscard]] auto RevocationServiceRequestType() const; + [[nodiscard]] auto MediaProtectionSystemId() const; + [[nodiscard]] auto PlayReadySecurityVersion() const; }; template <> struct consume { @@ -1559,7 +1557,7 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PlayReadyCertificateSecurityLevel() const; + [[nodiscard]] auto PlayReadyCertificateSecurityLevel() const; }; template <> struct consume { @@ -1568,8 +1566,8 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) SecureStopServiceRequestType() const; - WINRT_IMPL_AUTO(bool) CheckSupportedHardware(winrt::Windows::Media::Protection::PlayReady::PlayReadyHardwareDRMFeatures const& hwdrmFeature) const; + [[nodiscard]] auto SecureStopServiceRequestType() const; + auto CheckSupportedHardware(winrt::Windows::Media::Protection::PlayReady::PlayReadyHardwareDRMFeatures const& hwdrmFeature) const; }; template <> struct consume { @@ -1578,8 +1576,8 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) InputTrustAuthorityToCreate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ProtectionSystemId() const; + [[nodiscard]] auto InputTrustAuthorityToCreate() const; + [[nodiscard]] auto ProtectionSystemId() const; }; template <> struct consume { @@ -1588,9 +1586,9 @@ namespace winrt::impl template struct consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) HardwareDRMDisabledAtTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) HardwareDRMDisabledUntilTime() const; - WINRT_IMPL_AUTO(void) ResetHardwareDRMDisabled() const; + [[nodiscard]] auto HardwareDRMDisabledAtTime() const; + [[nodiscard]] auto HardwareDRMDisabledUntilTime() const; + auto ResetHardwareDRMDisabled() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.1.h index 5fd66aab..4a5c8fcc 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Protection_PlayReady_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.2.h index 9b8b94db..569df8b5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Protection_PlayReady_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.0.h index 79179022..f7df1bf6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Render_0_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.1.h index 18d77376..5bb173ea 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Render_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.2.h index cfec448c..81ec7ba6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Render_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.0.h index 0594a8a3..4574704b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_SpeechRecognition_0_H @@ -7,15 +7,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Globalization { @@ -556,7 +552,7 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -565,7 +561,7 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionResultGeneratedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult) Result() const; + [[nodiscard]] auto Result() const; }; template <> struct consume { @@ -574,22 +570,22 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) AutoStopSilenceTimeout() const; - WINRT_IMPL_AUTO(void) AutoStopSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartAsync(winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionMode const& mode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StopAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CancelAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) PauseAsync() const; - WINRT_IMPL_AUTO(void) Resume() const; - WINRT_IMPL_AUTO(winrt::event_token) Completed(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto AutoStopSilenceTimeout() const; + auto AutoStopSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + auto StartAsync() const; + auto StartAsync(winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionMode const& mode) const; + auto StopAsync() const; + auto CancelAsync() const; + auto PauseAsync() const; + auto Resume() const; + auto Completed(winrt::Windows::Foundation::TypedEventHandler const& value) const; using Completed_revoker = impl::event_revoker::remove_Completed>; - [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) Completed(winrt::event_token const& value) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ResultGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto Completed(winrt::event_token const& value) const noexcept; + auto ResultGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const; using ResultGenerated_revoker = impl::event_revoker::remove_ResultGenerated>; - [[nodiscard]] ResultGenerated_revoker ResultGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) ResultGenerated(winrt::event_token const& value) const noexcept; + [[nodiscard]] auto ResultGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto ResultGenerated(winrt::event_token const& value) const noexcept; }; template <> struct consume { @@ -598,7 +594,7 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionCompilationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -607,13 +603,13 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Tag() const; - WINRT_IMPL_AUTO(void) Tag(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintType) Type() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintProbability) Probability() const; - WINRT_IMPL_AUTO(void) Probability(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintProbability const& value) const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto Tag() const; + auto Tag(param::hstring const& value) const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto Probability() const; + auto Probability(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintProbability const& value) const; }; template <> struct consume { @@ -622,7 +618,7 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraint { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) GrammarFile() const; + [[nodiscard]] auto GrammarFile() const; }; template <> struct consume { @@ -631,8 +627,8 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraintFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionGrammarFileConstraint) Create(winrt::Windows::Storage::StorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionGrammarFileConstraint) CreateWithTag(winrt::Windows::Storage::StorageFile const& file, param::hstring const& tag) const; + auto Create(winrt::Windows::Storage::StorageFile const& file) const; + auto CreateWithTag(winrt::Windows::Storage::StorageFile const& file, param::hstring const& tag) const; }; template <> struct consume { @@ -641,7 +637,7 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesis { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; + [[nodiscard]] auto Text() const; }; template <> struct consume { @@ -650,7 +646,7 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesisGeneratedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionHypothesis) Hypothesis() const; + [[nodiscard]] auto Hypothesis() const; }; template <> struct consume { @@ -659,7 +655,7 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraint { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Commands() const; + [[nodiscard]] auto Commands() const; }; template <> struct consume { @@ -668,8 +664,8 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraintFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionListConstraint) Create(param::iterable const& commands) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionListConstraint) CreateWithTag(param::iterable const& commands, param::hstring const& tag) const; + auto Create(param::iterable const& commands) const; + auto CreateWithTag(param::iterable const& commands, param::hstring const& tag) const; }; template <> struct consume { @@ -678,7 +674,7 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionQualityDegradingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionAudioProblem) Problem() const; + [[nodiscard]] auto Problem() const; }; template <> struct consume { @@ -687,14 +683,14 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConfidence) Confidence() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionSemanticInterpretation) SemanticInterpretation() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAlternates(uint32_t maxAlternates) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint) Constraint() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) RulePath() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RawConfidence() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Text() const; + [[nodiscard]] auto Confidence() const; + [[nodiscard]] auto SemanticInterpretation() const; + auto GetAlternates(uint32_t maxAlternates) const; + [[nodiscard]] auto Constraint() const; + [[nodiscard]] auto RulePath() const; + [[nodiscard]] auto RawConfidence() const; }; template <> struct consume { @@ -703,8 +699,8 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) PhraseStartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) PhraseDuration() const; + [[nodiscard]] auto PhraseStartTime() const; + [[nodiscard]] auto PhraseDuration() const; }; template <> struct consume { @@ -713,7 +709,7 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionSemanticInterpretation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView>) Properties() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -722,8 +718,8 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraint { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario) Scenario() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TopicHint() const; + [[nodiscard]] auto Scenario() const; + [[nodiscard]] auto TopicHint() const; }; template <> struct consume { @@ -732,8 +728,8 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraintFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionTopicConstraint) Create(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario const& scenario, param::hstring const& topicHint) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionTopicConstraint) CreateWithTag(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario const& scenario, param::hstring const& topicHint, param::hstring const& tag) const; + auto Create(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario const& scenario, param::hstring const& topicHint) const; + auto CreateWithTag(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario const& scenario, param::hstring const& topicHint, param::hstring const& tag) const; }; template <> struct consume { @@ -750,21 +746,21 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) CurrentLanguage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Constraints() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognizerTimeouts) Timeouts() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognizerUIOptions) UIOptions() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CompileConstraintsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RecognizeAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RecognizeWithUIAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) RecognitionQualityDegrading(winrt::Windows::Foundation::TypedEventHandler const& speechRecognitionQualityDegradingHandler) const; + [[nodiscard]] auto CurrentLanguage() const; + [[nodiscard]] auto Constraints() const; + [[nodiscard]] auto Timeouts() const; + [[nodiscard]] auto UIOptions() const; + auto CompileConstraintsAsync() const; + auto RecognizeAsync() const; + auto RecognizeWithUIAsync() const; + auto RecognitionQualityDegrading(winrt::Windows::Foundation::TypedEventHandler const& speechRecognitionQualityDegradingHandler) const; using RecognitionQualityDegrading_revoker = impl::event_revoker::remove_RecognitionQualityDegrading>; - [[nodiscard]] RecognitionQualityDegrading_revoker RecognitionQualityDegrading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& speechRecognitionQualityDegradingHandler) const; - WINRT_IMPL_AUTO(void) RecognitionQualityDegrading(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler const& stateChangedHandler) const; + [[nodiscard]] auto RecognitionQualityDegrading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& speechRecognitionQualityDegradingHandler) const; + auto RecognitionQualityDegrading(winrt::event_token const& cookie) const noexcept; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& stateChangedHandler) const; using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; - [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& stateChangedHandler) const; - WINRT_IMPL_AUTO(void) StateChanged(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& stateChangedHandler) const; + auto StateChanged(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -773,13 +769,13 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession) ContinuousRecognitionSession() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognizerState) State() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StopRecognitionAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) HypothesisGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto ContinuousRecognitionSession() const; + [[nodiscard]] auto State() const; + auto StopRecognitionAsync() const; + auto HypothesisGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const; using HypothesisGenerated_revoker = impl::event_revoker::remove_HypothesisGenerated>; - [[nodiscard]] HypothesisGenerated_revoker HypothesisGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) HypothesisGenerated(winrt::event_token const& value) const noexcept; + [[nodiscard]] auto HypothesisGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto HypothesisGenerated(winrt::event_token const& value) const noexcept; }; template <> struct consume { @@ -788,7 +784,7 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerFactory { - WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognizer) Create(winrt::Windows::Globalization::Language const& language) const; + auto Create(winrt::Windows::Globalization::Language const& language) const; }; template <> struct consume { @@ -797,7 +793,7 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognizerState) State() const; + [[nodiscard]] auto State() const; }; template <> struct consume { @@ -806,9 +802,9 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) SystemSpeechLanguage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedTopicLanguages() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedGrammarLanguages() const; + [[nodiscard]] auto SystemSpeechLanguage() const; + [[nodiscard]] auto SupportedTopicLanguages() const; + [[nodiscard]] auto SupportedGrammarLanguages() const; }; template <> struct consume { @@ -817,7 +813,7 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetSystemSpeechLanguageAsync(winrt::Windows::Globalization::Language const& speechLanguage) const; + auto TrySetSystemSpeechLanguageAsync(winrt::Windows::Globalization::Language const& speechLanguage) const; }; template <> struct consume { @@ -826,12 +822,12 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) InitialSilenceTimeout() const; - WINRT_IMPL_AUTO(void) InitialSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) EndSilenceTimeout() const; - WINRT_IMPL_AUTO(void) EndSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) BabbleTimeout() const; - WINRT_IMPL_AUTO(void) BabbleTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto InitialSilenceTimeout() const; + auto InitialSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto EndSilenceTimeout() const; + auto EndSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto BabbleTimeout() const; + auto BabbleTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; }; template <> struct consume { @@ -840,14 +836,14 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExampleText() const; - WINRT_IMPL_AUTO(void) ExampleText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudiblePrompt() const; - WINRT_IMPL_AUTO(void) AudiblePrompt(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadBackEnabled() const; - WINRT_IMPL_AUTO(void) IsReadBackEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShowConfirmation() const; - WINRT_IMPL_AUTO(void) ShowConfirmation(bool value) const; + [[nodiscard]] auto ExampleText() const; + auto ExampleText(param::hstring const& value) const; + [[nodiscard]] auto AudiblePrompt() const; + auto AudiblePrompt(param::hstring const& value) const; + [[nodiscard]] auto IsReadBackEnabled() const; + auto IsReadBackEnabled(bool value) const; + [[nodiscard]] auto ShowConfirmation() const; + auto ShowConfirmation(bool value) const; }; template <> struct consume { @@ -856,8 +852,8 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_IVoiceCommandManager { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) InstallCommandSetsFromStorageFileAsync(winrt::Windows::Storage::StorageFile const& file) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) InstalledCommandSets() const; + auto InstallCommandSetsFromStorageFileAsync(winrt::Windows::Storage::StorageFile const& file) const; + [[nodiscard]] auto InstalledCommandSets() const; }; template <> struct consume { @@ -866,9 +862,9 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechRecognition_IVoiceCommandSet { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetPhraseListAsync(param::hstring const& phraseListName, param::async_iterable const& phraseList) const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto Name() const; + auto SetPhraseListAsync(param::hstring const& phraseListName, param::async_iterable const& phraseList) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.1.h index 59d92acb..0de99184 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_SpeechRecognition_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.2.h index f7a3448a..be03cdb0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_SpeechRecognition_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.0.h index 24c168f6..d65c1b0f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.0.h @@ -1,20 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_SpeechSynthesis_0_H #define WINRT_Windows_Media_SpeechSynthesis_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} -WINRT_EXPORT namespace winrt::Windows::Media -{ - struct IMediaMarker; -} WINRT_EXPORT namespace winrt::Windows::Media::SpeechSynthesis { enum class SpeechAppendedSilence : int32_t @@ -178,8 +166,8 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AllVoices() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::VoiceInformation) DefaultVoice() const; + [[nodiscard]] auto AllVoices() const; + [[nodiscard]] auto DefaultVoice() const; }; template <> struct consume { @@ -188,7 +176,7 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetDefaultVoiceAsync(winrt::Windows::Media::SpeechSynthesis::VoiceInformation const& voice) const; + auto TrySetDefaultVoiceAsync(winrt::Windows::Media::SpeechSynthesis::VoiceInformation const& voice) const; }; template <> struct consume { @@ -197,7 +185,7 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechSynthesis_ISpeechSynthesisStream { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Markers() const; + [[nodiscard]] auto Markers() const; }; template <> struct consume { @@ -206,10 +194,10 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SynthesizeTextToStreamAsync(param::hstring const& text) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SynthesizeSsmlToStreamAsync(param::hstring const& Ssml) const; - WINRT_IMPL_AUTO(void) Voice(winrt::Windows::Media::SpeechSynthesis::VoiceInformation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::VoiceInformation) Voice() const; + auto SynthesizeTextToStreamAsync(param::hstring const& text) const; + auto SynthesizeSsmlToStreamAsync(param::hstring const& Ssml) const; + auto Voice(winrt::Windows::Media::SpeechSynthesis::VoiceInformation const& value) const; + [[nodiscard]] auto Voice() const; }; template <> struct consume { @@ -218,7 +206,7 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::SpeechSynthesizerOptions) Options() const; + [[nodiscard]] auto Options() const; }; template <> struct consume { @@ -227,10 +215,10 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IncludeWordBoundaryMetadata() const; - WINRT_IMPL_AUTO(void) IncludeWordBoundaryMetadata(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IncludeSentenceBoundaryMetadata() const; - WINRT_IMPL_AUTO(void) IncludeSentenceBoundaryMetadata(bool value) const; + [[nodiscard]] auto IncludeWordBoundaryMetadata() const; + auto IncludeWordBoundaryMetadata(bool value) const; + [[nodiscard]] auto IncludeSentenceBoundaryMetadata() const; + auto IncludeSentenceBoundaryMetadata(bool value) const; }; template <> struct consume { @@ -239,12 +227,12 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2 { - [[nodiscard]] WINRT_IMPL_AUTO(double) AudioVolume() const; - WINRT_IMPL_AUTO(void) AudioVolume(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SpeakingRate() const; - WINRT_IMPL_AUTO(void) SpeakingRate(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) AudioPitch() const; - WINRT_IMPL_AUTO(void) AudioPitch(double value) const; + [[nodiscard]] auto AudioVolume() const; + auto AudioVolume(double value) const; + [[nodiscard]] auto SpeakingRate() const; + auto SpeakingRate(double value) const; + [[nodiscard]] auto AudioPitch() const; + auto AudioPitch(double value) const; }; template <> struct consume { @@ -253,10 +241,10 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::SpeechAppendedSilence) AppendedSilence() const; - WINRT_IMPL_AUTO(void) AppendedSilence(winrt::Windows::Media::SpeechSynthesis::SpeechAppendedSilence const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::SpeechPunctuationSilence) PunctuationSilence() const; - WINRT_IMPL_AUTO(void) PunctuationSilence(winrt::Windows::Media::SpeechSynthesis::SpeechPunctuationSilence const& value) const; + [[nodiscard]] auto AppendedSilence() const; + auto AppendedSilence(winrt::Windows::Media::SpeechSynthesis::SpeechAppendedSilence const& value) const; + [[nodiscard]] auto PunctuationSilence() const; + auto PunctuationSilence(winrt::Windows::Media::SpeechSynthesis::SpeechPunctuationSilence const& value) const; }; template <> struct consume { @@ -265,11 +253,11 @@ namespace winrt::impl template struct consume_Windows_Media_SpeechSynthesis_IVoiceInformation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::VoiceGender) Gender() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Gender() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.1.h index 5f0dd26c..635a9185 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_SpeechSynthesis_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.2.h index 91c3eb2d..d238720d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_SpeechSynthesis_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.0.h index 3602eb54..2addae73 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Streaming_Adaptive_0_H @@ -7,15 +7,10 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct HResult; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IBuffer; @@ -540,42 +535,42 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLive() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DesiredLiveOffset() const; - WINRT_IMPL_AUTO(void) DesiredLiveOffset(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) InitialBitrate() const; - WINRT_IMPL_AUTO(void) InitialBitrate(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CurrentDownloadBitrate() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CurrentPlaybackBitrate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AvailableBitrates() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DesiredMinBitrate() const; - WINRT_IMPL_AUTO(void) DesiredMinBitrate(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DesiredMaxBitrate() const; - WINRT_IMPL_AUTO(void) DesiredMaxBitrate(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AudioOnlyPlayback() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) InboundBitsPerSecond() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) InboundBitsPerSecondWindow() const; - WINRT_IMPL_AUTO(void) InboundBitsPerSecondWindow(winrt::Windows::Foundation::TimeSpan const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) DownloadBitrateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsLive() const; + [[nodiscard]] auto DesiredLiveOffset() const; + auto DesiredLiveOffset(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto InitialBitrate() const; + auto InitialBitrate(uint32_t value) const; + [[nodiscard]] auto CurrentDownloadBitrate() const; + [[nodiscard]] auto CurrentPlaybackBitrate() const; + [[nodiscard]] auto AvailableBitrates() const; + [[nodiscard]] auto DesiredMinBitrate() const; + auto DesiredMinBitrate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto DesiredMaxBitrate() const; + auto DesiredMaxBitrate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto AudioOnlyPlayback() const; + [[nodiscard]] auto InboundBitsPerSecond() const; + [[nodiscard]] auto InboundBitsPerSecondWindow() const; + auto InboundBitsPerSecondWindow(winrt::Windows::Foundation::TimeSpan const& value) const; + auto DownloadBitrateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DownloadBitrateChanged_revoker = impl::event_revoker::remove_DownloadBitrateChanged>; - [[nodiscard]] DownloadBitrateChanged_revoker DownloadBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DownloadBitrateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PlaybackBitrateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DownloadBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DownloadBitrateChanged(winrt::event_token const& token) const noexcept; + auto PlaybackBitrateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PlaybackBitrateChanged_revoker = impl::event_revoker::remove_PlaybackBitrateChanged>; - [[nodiscard]] PlaybackBitrateChanged_revoker PlaybackBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PlaybackBitrateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DownloadRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PlaybackBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PlaybackBitrateChanged(winrt::event_token const& token) const noexcept; + auto DownloadRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DownloadRequested_revoker = impl::event_revoker::remove_DownloadRequested>; - [[nodiscard]] DownloadRequested_revoker DownloadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DownloadRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DownloadCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DownloadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DownloadRequested(winrt::event_token const& token) const noexcept; + auto DownloadCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DownloadCompleted_revoker = impl::event_revoker::remove_DownloadCompleted>; - [[nodiscard]] DownloadCompleted_revoker DownloadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DownloadCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DownloadFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DownloadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DownloadCompleted(winrt::event_token const& token) const noexcept; + auto DownloadFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DownloadFailed_revoker = impl::event_revoker::remove_DownloadFailed>; - [[nodiscard]] DownloadFailed_revoker DownloadFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DownloadFailed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DownloadFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DownloadFailed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -584,7 +579,7 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceAdvancedSettings) AdvancedSettings() const; + [[nodiscard]] auto AdvancedSettings() const; }; template <> struct consume { @@ -593,12 +588,12 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MinLiveOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxSeekableWindowSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DesiredSeekableWindowSize() const; - WINRT_IMPL_AUTO(void) DesiredSeekableWindowSize(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics) Diagnostics() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCorrelatedTimes) GetCorrelatedTimes() const; + [[nodiscard]] auto MinLiveOffset() const; + [[nodiscard]] auto MaxSeekableWindowSize() const; + [[nodiscard]] auto DesiredSeekableWindowSize() const; + auto DesiredSeekableWindowSize(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Diagnostics() const; + auto GetCorrelatedTimes() const; }; template <> struct consume { @@ -607,12 +602,12 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllSegmentsIndependent() const; - WINRT_IMPL_AUTO(void) AllSegmentsIndependent(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DesiredBitrateHeadroomRatio() const; - WINRT_IMPL_AUTO(void) DesiredBitrateHeadroomRatio(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BitrateDowngradeTriggerRatio() const; - WINRT_IMPL_AUTO(void) BitrateDowngradeTriggerRatio(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto AllSegmentsIndependent() const; + auto AllSegmentsIndependent(bool value) const; + [[nodiscard]] auto DesiredBitrateHeadroomRatio() const; + auto DesiredBitrateHeadroomRatio(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto BitrateDowngradeTriggerRatio() const; + auto BitrateDowngradeTriggerRatio(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -621,9 +616,9 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PresentationTimeStamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ProgramDateTime() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto PresentationTimeStamp() const; + [[nodiscard]] auto ProgramDateTime() const; }; template <> struct consume { @@ -632,9 +627,9 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource) MediaSource() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) HttpResponseMessage() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto MediaSource() const; + [[nodiscard]] auto HttpResponseMessage() const; }; template <> struct consume { @@ -643,7 +638,7 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -652,15 +647,15 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticType) DiagnosticType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) RequestId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SegmentId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResourceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ResourceUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResourceByteRangeOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResourceByteRangeLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Bitrate() const; + [[nodiscard]] auto DiagnosticType() const; + [[nodiscard]] auto RequestId() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto SegmentId() const; + [[nodiscard]] auto ResourceType() const; + [[nodiscard]] auto ResourceUri() const; + [[nodiscard]] auto ResourceByteRangeOffset() const; + [[nodiscard]] auto ResourceByteRangeLength() const; + [[nodiscard]] auto Bitrate() const; }; template <> struct consume { @@ -669,7 +664,7 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -678,8 +673,8 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResourceDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResourceContentType() const; + [[nodiscard]] auto ResourceDuration() const; + [[nodiscard]] auto ResourceContentType() const; }; template <> struct consume { @@ -688,10 +683,10 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics { - WINRT_IMPL_AUTO(winrt::event_token) DiagnosticAvailable(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DiagnosticAvailable(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DiagnosticAvailable_revoker = impl::event_revoker::remove_DiagnosticAvailable>; - [[nodiscard]] DiagnosticAvailable_revoker DiagnosticAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DiagnosticAvailable(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DiagnosticAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DiagnosticAvailable(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -700,8 +695,8 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) OldValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) NewValue() const; + [[nodiscard]] auto OldValue() const; + [[nodiscard]] auto NewValue() const; }; template <> struct consume { @@ -710,7 +705,7 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedReason) Reason() const; + [[nodiscard]] auto Reason() const; }; template <> struct consume { @@ -719,11 +714,11 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType) ResourceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ResourceUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResourceByteRangeOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResourceByteRangeLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) HttpResponseMessage() const; + [[nodiscard]] auto ResourceType() const; + [[nodiscard]] auto ResourceUri() const; + [[nodiscard]] auto ResourceByteRangeOffset() const; + [[nodiscard]] auto ResourceByteRangeLength() const; + [[nodiscard]] auto HttpResponseMessage() const; }; template <> struct consume { @@ -732,9 +727,9 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RequestId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadStatistics) Statistics() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Position() const; + [[nodiscard]] auto RequestId() const; + [[nodiscard]] auto Statistics() const; + [[nodiscard]] auto Position() const; }; template <> struct consume { @@ -743,8 +738,8 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResourceDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResourceContentType() const; + [[nodiscard]] auto ResourceDuration() const; + [[nodiscard]] auto ResourceContentType() const; }; template <> struct consume { @@ -753,11 +748,11 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType) ResourceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ResourceUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResourceByteRangeOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResourceByteRangeLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) HttpResponseMessage() const; + [[nodiscard]] auto ResourceType() const; + [[nodiscard]] auto ResourceUri() const; + [[nodiscard]] auto ResourceByteRangeOffset() const; + [[nodiscard]] auto ResourceByteRangeLength() const; + [[nodiscard]] auto HttpResponseMessage() const; }; template <> struct consume { @@ -766,10 +761,10 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RequestId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadStatistics) Statistics() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Position() const; + [[nodiscard]] auto RequestId() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto Statistics() const; + [[nodiscard]] auto Position() const; }; template <> struct consume { @@ -778,8 +773,8 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResourceDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResourceContentType() const; + [[nodiscard]] auto ResourceDuration() const; + [[nodiscard]] auto ResourceContentType() const; }; template <> struct consume { @@ -788,7 +783,7 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -797,12 +792,12 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType) ResourceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ResourceUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResourceByteRangeOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResourceByteRangeLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadResult) Result() const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedDeferral) GetDeferral() const; + [[nodiscard]] auto ResourceType() const; + [[nodiscard]] auto ResourceUri() const; + [[nodiscard]] auto ResourceByteRangeOffset() const; + [[nodiscard]] auto ResourceByteRangeLength() const; + [[nodiscard]] auto Result() const; + auto GetDeferral() const; }; template <> struct consume { @@ -811,8 +806,8 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RequestId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Position() const; + [[nodiscard]] auto RequestId() const; + [[nodiscard]] auto Position() const; }; template <> struct consume { @@ -821,8 +816,8 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResourceDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResourceContentType() const; + [[nodiscard]] auto ResourceDuration() const; + [[nodiscard]] auto ResourceContentType() const; }; template <> struct consume { @@ -831,16 +826,16 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ResourceUri() const; - WINRT_IMPL_AUTO(void) ResourceUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) InputStream() const; - WINRT_IMPL_AUTO(void) InputStream(winrt::Windows::Storage::Streams::IInputStream const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Buffer() const; - WINRT_IMPL_AUTO(void) Buffer(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentType() const; - WINRT_IMPL_AUTO(void) ContentType(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExtendedStatus() const; - WINRT_IMPL_AUTO(void) ExtendedStatus(uint32_t value) const; + [[nodiscard]] auto ResourceUri() const; + auto ResourceUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto InputStream() const; + auto InputStream(winrt::Windows::Storage::Streams::IInputStream const& value) const; + [[nodiscard]] auto Buffer() const; + auto Buffer(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto ContentType() const; + auto ContentType(param::hstring const& value) const; + [[nodiscard]] auto ExtendedStatus() const; + auto ExtendedStatus(uint32_t value) const; }; template <> struct consume { @@ -849,10 +844,10 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResourceByteRangeOffset() const; - WINRT_IMPL_AUTO(void) ResourceByteRangeOffset(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResourceByteRangeLength() const; - WINRT_IMPL_AUTO(void) ResourceByteRangeLength(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ResourceByteRangeOffset() const; + auto ResourceByteRangeOffset(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ResourceByteRangeLength() const; + auto ResourceByteRangeLength(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -861,10 +856,10 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) ContentBytesReceivedCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TimeToHeadersReceived() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TimeToFirstByteReceived() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TimeToLastByteReceived() const; + [[nodiscard]] auto ContentBytesReceivedCount() const; + [[nodiscard]] auto TimeToHeadersReceived() const; + [[nodiscard]] auto TimeToFirstByteReceived() const; + [[nodiscard]] auto TimeToLastByteReceived() const; }; template <> struct consume { @@ -873,9 +868,9 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) OldValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) NewValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AudioOnly() const; + [[nodiscard]] auto OldValue() const; + [[nodiscard]] auto NewValue() const; + [[nodiscard]] auto AudioOnly() const; }; template <> struct consume { @@ -884,11 +879,11 @@ namespace winrt::impl template struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics { - WINRT_IMPL_AUTO(bool) IsContentTypeSupported(param::hstring const& contentType) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpClient const& httpClient) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, winrt::Windows::Foundation::Uri const& uri, param::hstring const& contentType) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, winrt::Windows::Foundation::Uri const& uri, param::hstring const& contentType, winrt::Windows::Web::Http::HttpClient const& httpClient) const; + auto IsContentTypeSupported(param::hstring const& contentType) const; + auto CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpClient const& httpClient) const; + auto CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, winrt::Windows::Foundation::Uri const& uri, param::hstring const& contentType) const; + auto CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, winrt::Windows::Foundation::Uri const& uri, param::hstring const& contentType, winrt::Windows::Web::Http::HttpClient const& httpClient) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.1.h index 35ce7a45..3b157add 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Streaming_Adaptive_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.2.h index 1da17a0b..ed93f5ff 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Streaming_Adaptive_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.0.h index f0b82c92..58b3c425 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.0.h @@ -1,12 +1,10 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Transcoding_0_H #define WINRT_Windows_Media_Transcoding_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncActionWithProgress; - template struct __declspec(empty_bases) IAsyncOperation; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { @@ -111,21 +109,21 @@ namespace winrt::impl template struct consume_Windows_Media_Transcoding_IMediaTranscoder { - WINRT_IMPL_AUTO(void) TrimStartTime(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TrimStartTime() const; - WINRT_IMPL_AUTO(void) TrimStopTime(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TrimStopTime() const; - WINRT_IMPL_AUTO(void) AlwaysReencode(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AlwaysReencode() const; - WINRT_IMPL_AUTO(void) HardwareAccelerationEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HardwareAccelerationEnabled() const; - WINRT_IMPL_AUTO(void) AddAudioEffect(param::hstring const& activatableClassId) const; - WINRT_IMPL_AUTO(void) AddAudioEffect(param::hstring const& activatableClassId, bool effectRequired, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; - WINRT_IMPL_AUTO(void) AddVideoEffect(param::hstring const& activatableClassId) const; - WINRT_IMPL_AUTO(void) AddVideoEffect(param::hstring const& activatableClassId, bool effectRequired, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; - WINRT_IMPL_AUTO(void) ClearEffects() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PrepareFileTranscodeAsync(winrt::Windows::Storage::IStorageFile const& source, winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PrepareStreamTranscodeAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& source, winrt::Windows::Storage::Streams::IRandomAccessStream const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const; + auto TrimStartTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto TrimStartTime() const; + auto TrimStopTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto TrimStopTime() const; + auto AlwaysReencode(bool value) const; + [[nodiscard]] auto AlwaysReencode() const; + auto HardwareAccelerationEnabled(bool value) const; + [[nodiscard]] auto HardwareAccelerationEnabled() const; + auto AddAudioEffect(param::hstring const& activatableClassId) const; + auto AddAudioEffect(param::hstring const& activatableClassId, bool effectRequired, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto AddVideoEffect(param::hstring const& activatableClassId) const; + auto AddVideoEffect(param::hstring const& activatableClassId, bool effectRequired, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const; + auto ClearEffects() const; + auto PrepareFileTranscodeAsync(winrt::Windows::Storage::IStorageFile const& source, winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const; + auto PrepareStreamTranscodeAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& source, winrt::Windows::Storage::Streams::IRandomAccessStream const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const; }; template <> struct consume { @@ -134,9 +132,9 @@ namespace winrt::impl template struct consume_Windows_Media_Transcoding_IMediaTranscoder2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PrepareMediaStreamSourceTranscodeAsync(winrt::Windows::Media::Core::IMediaSource const& source, winrt::Windows::Storage::Streams::IRandomAccessStream const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const; - WINRT_IMPL_AUTO(void) VideoProcessingAlgorithm(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm) VideoProcessingAlgorithm() const; + auto PrepareMediaStreamSourceTranscodeAsync(winrt::Windows::Media::Core::IMediaSource const& source, winrt::Windows::Storage::Streams::IRandomAccessStream const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const; + auto VideoProcessingAlgorithm(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm const& value) const; + [[nodiscard]] auto VideoProcessingAlgorithm() const; }; template <> struct consume { @@ -145,9 +143,9 @@ namespace winrt::impl template struct consume_Windows_Media_Transcoding_IPrepareTranscodeResult { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanTranscode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Transcoding::TranscodeFailureReason) FailureReason() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress) TranscodeAsync() const; + [[nodiscard]] auto CanTranscode() const; + [[nodiscard]] auto FailureReason() const; + auto TranscodeAsync() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.1.h index d12865db..6fc4dffa 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Transcoding_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.2.h index aa9ef113..5da7b8db 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Media_Transcoding_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.0.h index 181252f0..64cf82c8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_0_H @@ -113,14 +113,14 @@ namespace winrt::impl template struct consume_Windows_Networking_IEndpointPair { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) LocalHostName() const; - WINRT_IMPL_AUTO(void) LocalHostName(winrt::Windows::Networking::HostName const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LocalServiceName() const; - WINRT_IMPL_AUTO(void) LocalServiceName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) RemoteHostName() const; - WINRT_IMPL_AUTO(void) RemoteHostName(winrt::Windows::Networking::HostName const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteServiceName() const; - WINRT_IMPL_AUTO(void) RemoteServiceName(param::hstring const& value) const; + [[nodiscard]] auto LocalHostName() const; + auto LocalHostName(winrt::Windows::Networking::HostName const& value) const; + [[nodiscard]] auto LocalServiceName() const; + auto LocalServiceName(param::hstring const& value) const; + [[nodiscard]] auto RemoteHostName() const; + auto RemoteHostName(winrt::Windows::Networking::HostName const& value) const; + [[nodiscard]] auto RemoteServiceName() const; + auto RemoteServiceName(param::hstring const& value) const; }; template <> struct consume { @@ -129,7 +129,7 @@ namespace winrt::impl template struct consume_Windows_Networking_IEndpointPairFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::EndpointPair) CreateEndpointPair(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName, winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; + auto CreateEndpointPair(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName, winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; }; template <> struct consume { @@ -138,12 +138,12 @@ namespace winrt::impl template struct consume_Windows_Networking_IHostName { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::IPInformation) IPInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RawName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CanonicalName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostNameType) Type() const; - WINRT_IMPL_AUTO(bool) IsEqual(winrt::Windows::Networking::HostName const& hostName) const; + [[nodiscard]] auto IPInformation() const; + [[nodiscard]] auto RawName() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto CanonicalName() const; + [[nodiscard]] auto Type() const; + auto IsEqual(winrt::Windows::Networking::HostName const& hostName) const; }; template <> struct consume { @@ -152,7 +152,7 @@ namespace winrt::impl template struct consume_Windows_Networking_IHostNameFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) CreateHostName(param::hstring const& hostName) const; + auto CreateHostName(param::hstring const& hostName) const; }; template <> struct consume { @@ -161,7 +161,7 @@ namespace winrt::impl template struct consume_Windows_Networking_IHostNameStatics { - WINRT_IMPL_AUTO(int32_t) Compare(param::hstring const& value1, param::hstring const& value2) const; + auto Compare(param::hstring const& value1, param::hstring const& value2) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.1.h index cee86434..4fdc2bb2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.2.h index 58b74383..3d0a22af 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.0.h index d69b2e29..a594e171 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_BackgroundTransfer_0_H @@ -11,18 +11,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Security::Credentials { @@ -646,9 +640,9 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader { - WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation) CreateDownload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation) CreateDownload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile, winrt::Windows::Storage::IStorageFile const& requestBodyFile) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateDownloadAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile, winrt::Windows::Storage::Streams::IInputStream const& requestBodyStream) const; + auto CreateDownload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile) const; + auto CreateDownload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile, winrt::Windows::Storage::IStorageFile const& requestBodyFile) const; + auto CreateDownloadAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile, winrt::Windows::Storage::Streams::IInputStream const& requestBodyStream) const; }; template <> struct consume { @@ -657,16 +651,16 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) TransferGroup() const; - WINRT_IMPL_AUTO(void) TransferGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) SuccessToastNotification() const; - WINRT_IMPL_AUTO(void) SuccessToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) FailureToastNotification() const; - WINRT_IMPL_AUTO(void) FailureToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) SuccessTileNotification() const; - WINRT_IMPL_AUTO(void) SuccessTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) FailureTileNotification() const; - WINRT_IMPL_AUTO(void) FailureTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const; + [[nodiscard]] auto TransferGroup() const; + auto TransferGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& value) const; + [[nodiscard]] auto SuccessToastNotification() const; + auto SuccessToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const; + [[nodiscard]] auto FailureToastNotification() const; + auto FailureToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const; + [[nodiscard]] auto SuccessTileNotification() const; + auto SuccessTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const; + [[nodiscard]] auto FailureTileNotification() const; + auto FailureTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const; }; template <> struct consume { @@ -675,7 +669,7 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup) CompletionGroup() const; + [[nodiscard]] auto CompletionGroup() const; }; template <> struct consume { @@ -684,7 +678,7 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundDownloader) CreateWithCompletionGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup const& completionGroup) const; + auto CreateWithCompletionGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup const& completionGroup) const; }; template <> struct consume { @@ -693,8 +687,8 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetCurrentDownloadsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetCurrentDownloadsAsync(param::hstring const& group) const; + auto GetCurrentDownloadsAsync() const; + auto GetCurrentDownloadsAsync(param::hstring const& group) const; }; template <> struct consume { @@ -703,7 +697,7 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetCurrentDownloadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group) const; + auto GetCurrentDownloadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group) const; }; template <> struct consume { @@ -712,7 +706,7 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderUserConsent { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestUnconstrainedDownloadsAsync(param::async_iterable const& operations) const; + auto RequestUnconstrainedDownloadsAsync(param::async_iterable const& operations) const; }; template <> struct consume { @@ -721,17 +715,17 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase { - WINRT_IMPL_AUTO(void) SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) ServerCredential() const; - WINRT_IMPL_AUTO(void) ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) ProxyCredential() const; - WINRT_IMPL_AUTO(void) ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Method() const; - WINRT_IMPL_AUTO(void) Method(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Group() const; - WINRT_IMPL_AUTO(void) Group(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy) CostPolicy() const; - WINRT_IMPL_AUTO(void) CostPolicy(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy const& value) const; + auto SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const; + [[nodiscard]] auto ServerCredential() const; + auto ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const; + [[nodiscard]] auto ProxyCredential() const; + auto ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const; + [[nodiscard]] auto Method() const; + auto Method(param::hstring const& value) const; + [[nodiscard]] auto Group() const; + auto Group(param::hstring const& value) const; + [[nodiscard]] auto CostPolicy() const; + auto CostPolicy(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy const& value) const; }; template <> struct consume { @@ -740,9 +734,9 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroup { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger) Trigger() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) Enable() const; + [[nodiscard]] auto Trigger() const; + [[nodiscard]] auto IsEnabled() const; + auto Enable() const; }; template <> struct consume { @@ -751,8 +745,8 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroupTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Downloads() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Uploads() const; + [[nodiscard]] auto Downloads() const; + [[nodiscard]] auto Uploads() const; }; template <> struct consume { @@ -761,9 +755,9 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPart { - WINRT_IMPL_AUTO(void) SetHeader(param::hstring const& headerName, param::hstring const& headerValue) const; - WINRT_IMPL_AUTO(void) SetText(param::hstring const& value) const; - WINRT_IMPL_AUTO(void) SetFile(winrt::Windows::Storage::IStorageFile const& value) const; + auto SetHeader(param::hstring const& headerName, param::hstring const& headerValue) const; + auto SetText(param::hstring const& value) const; + auto SetFile(winrt::Windows::Storage::IStorageFile const& value) const; }; template <> struct consume { @@ -772,8 +766,8 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPartFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart) CreateWithName(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart) CreateWithNameAndFileName(param::hstring const& name, param::hstring const& fileName) const; + auto CreateWithName(param::hstring const& name) const; + auto CreateWithNameAndFileName(param::hstring const& name, param::hstring const& fileName) const; }; template <> struct consume { @@ -782,7 +776,7 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferErrorStaticMethods { - WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) GetStatus(int32_t hresult) const; + auto GetStatus(int32_t hresult) const; }; template <> struct consume { @@ -791,9 +785,9 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroup { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferBehavior) TransferBehavior() const; - WINRT_IMPL_AUTO(void) TransferBehavior(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferBehavior const& value) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto TransferBehavior() const; + auto TransferBehavior(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferBehavior const& value) const; }; template <> struct consume { @@ -802,7 +796,7 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroupStatics { - WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) CreateGroup(param::hstring const& name) const; + auto CreateGroup(param::hstring const& name) const; }; template <> struct consume { @@ -811,14 +805,14 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Guid() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) RequestedUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Method() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Group() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy) CostPolicy() const; - WINRT_IMPL_AUTO(void) CostPolicy(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) GetResultStreamAt(uint64_t position) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::ResponseInformation) GetResponseInformation() const; + [[nodiscard]] auto Guid() const; + [[nodiscard]] auto RequestedUri() const; + [[nodiscard]] auto Method() const; + [[nodiscard]] auto Group() const; + [[nodiscard]] auto CostPolicy() const; + auto CostPolicy(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy const& value) const; + auto GetResultStreamAt(uint64_t position) const; + auto GetResponseInformation() const; }; template <> struct consume { @@ -827,8 +821,8 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperationPriority { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferPriority) Priority() const; - WINRT_IMPL_AUTO(void) Priority(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferPriority const& value) const; + [[nodiscard]] auto Priority() const; + auto Priority(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferPriority const& value) const; }; template <> struct consume { @@ -837,9 +831,9 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferRangesDownloadedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) WasDownloadRestarted() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) AddedRanges() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto WasDownloadRestarted() const; + [[nodiscard]] auto AddedRanges() const; + auto GetDeferral() const; }; template <> struct consume { @@ -848,11 +842,11 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader { - WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::UploadOperation) CreateUpload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& sourceFile) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateUploadFromStreamAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IInputStream const& sourceStream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable const& parts) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable const& parts, param::hstring const& subType) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable const& parts, param::hstring const& subType, param::hstring const& boundary) const; + auto CreateUpload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& sourceFile) const; + auto CreateUploadFromStreamAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IInputStream const& sourceStream) const; + auto CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable const& parts) const; + auto CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable const& parts, param::hstring const& subType) const; + auto CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable const& parts, param::hstring const& subType, param::hstring const& boundary) const; }; template <> struct consume { @@ -861,16 +855,16 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) TransferGroup() const; - WINRT_IMPL_AUTO(void) TransferGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) SuccessToastNotification() const; - WINRT_IMPL_AUTO(void) SuccessToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) FailureToastNotification() const; - WINRT_IMPL_AUTO(void) FailureToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) SuccessTileNotification() const; - WINRT_IMPL_AUTO(void) SuccessTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) FailureTileNotification() const; - WINRT_IMPL_AUTO(void) FailureTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const; + [[nodiscard]] auto TransferGroup() const; + auto TransferGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& value) const; + [[nodiscard]] auto SuccessToastNotification() const; + auto SuccessToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const; + [[nodiscard]] auto FailureToastNotification() const; + auto FailureToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const; + [[nodiscard]] auto SuccessTileNotification() const; + auto SuccessTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const; + [[nodiscard]] auto FailureTileNotification() const; + auto FailureTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const; }; template <> struct consume { @@ -879,7 +873,7 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup) CompletionGroup() const; + [[nodiscard]] auto CompletionGroup() const; }; template <> struct consume { @@ -888,7 +882,7 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundUploader) CreateWithCompletionGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup const& completionGroup) const; + auto CreateWithCompletionGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup const& completionGroup) const; }; template <> struct consume { @@ -897,8 +891,8 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetCurrentUploadsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetCurrentUploadsAsync(param::hstring const& group) const; + auto GetCurrentUploadsAsync() const; + auto GetCurrentUploadsAsync(param::hstring const& group) const; }; template <> struct consume { @@ -907,7 +901,7 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetCurrentUploadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group) const; + auto GetCurrentUploadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group) const; }; template <> struct consume { @@ -916,7 +910,7 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderUserConsent { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestUnconstrainedUploadsAsync(param::async_iterable const& operations) const; + auto RequestUnconstrainedUploadsAsync(param::async_iterable const& operations) const; }; template <> struct consume { @@ -925,9 +919,9 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IContentPrefetcher { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ContentUris() const; - WINRT_IMPL_AUTO(void) IndirectContentUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) IndirectContentUri() const; + [[nodiscard]] auto ContentUris() const; + auto IndirectContentUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto IndirectContentUri() const; }; template <> struct consume { @@ -936,7 +930,7 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IContentPrefetcherTime { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) LastSuccessfulPrefetchTime() const; + [[nodiscard]] auto LastSuccessfulPrefetchTime() const; }; template <> struct consume { @@ -945,12 +939,12 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IDownloadOperation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) ResultFile() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundDownloadProgress) Progress() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) StartAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) AttachAsync() const; - WINRT_IMPL_AUTO(void) Pause() const; - WINRT_IMPL_AUTO(void) Resume() const; + [[nodiscard]] auto ResultFile() const; + [[nodiscard]] auto Progress() const; + auto StartAsync() const; + auto AttachAsync() const; + auto Pause() const; + auto Resume() const; }; template <> struct consume { @@ -959,7 +953,7 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IDownloadOperation2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) TransferGroup() const; + [[nodiscard]] auto TransferGroup() const; }; template <> struct consume { @@ -968,17 +962,17 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRandomAccessRequired() const; - WINRT_IMPL_AUTO(void) IsRandomAccessRequired(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) GetResultRandomAccessStreamReference() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetDownloadedRanges() const; - WINRT_IMPL_AUTO(winrt::event_token) RangesDownloaded(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto IsRandomAccessRequired() const; + auto IsRandomAccessRequired(bool value) const; + auto GetResultRandomAccessStreamReference() const; + auto GetDownloadedRanges() const; + auto RangesDownloaded(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using RangesDownloaded_revoker = impl::event_revoker::remove_RangesDownloaded>; - [[nodiscard]] RangesDownloaded_revoker RangesDownloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) RangesDownloaded(winrt::event_token const& eventCookie) const noexcept; - WINRT_IMPL_AUTO(void) RequestedUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) RecoverableWebErrorStatuses() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) CurrentWebErrorStatus() const; + [[nodiscard]] auto RangesDownloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto RangesDownloaded(winrt::event_token const& eventCookie) const noexcept; + auto RequestedUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto RecoverableWebErrorStatuses() const; + [[nodiscard]] auto CurrentWebErrorStatus() const; }; template <> struct consume { @@ -987,7 +981,7 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IDownloadOperation4 { - WINRT_IMPL_AUTO(void) MakeCurrentInTransferGroup() const; + auto MakeCurrentInTransferGroup() const; }; template <> struct consume { @@ -996,8 +990,8 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IDownloadOperation5 { - WINRT_IMPL_AUTO(void) SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const; - WINRT_IMPL_AUTO(void) RemoveRequestHeader(param::hstring const& headerName) const; + auto SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const; + auto RemoveRequestHeader(param::hstring const& headerName) const; }; template <> struct consume { @@ -1006,10 +1000,10 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IResponseInformation { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsResumable() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ActualUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) StatusCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Headers() const; + [[nodiscard]] auto IsResumable() const; + [[nodiscard]] auto ActualUri() const; + [[nodiscard]] auto StatusCode() const; + [[nodiscard]] auto Headers() const; }; template <> struct consume { @@ -1018,7 +1012,7 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IUnconstrainedTransferRequestResult { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsUnconstrained() const; + [[nodiscard]] auto IsUnconstrained() const; }; template <> struct consume { @@ -1027,10 +1021,10 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IUploadOperation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) SourceFile() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundUploadProgress) Progress() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) StartAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) AttachAsync() const; + [[nodiscard]] auto SourceFile() const; + [[nodiscard]] auto Progress() const; + auto StartAsync() const; + auto AttachAsync() const; }; template <> struct consume { @@ -1039,7 +1033,7 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IUploadOperation2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) TransferGroup() const; + [[nodiscard]] auto TransferGroup() const; }; template <> struct consume { @@ -1048,7 +1042,7 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IUploadOperation3 { - WINRT_IMPL_AUTO(void) MakeCurrentInTransferGroup() const; + auto MakeCurrentInTransferGroup() const; }; template <> struct consume { @@ -1057,8 +1051,8 @@ namespace winrt::impl template struct consume_Windows_Networking_BackgroundTransfer_IUploadOperation4 { - WINRT_IMPL_AUTO(void) SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const; - WINRT_IMPL_AUTO(void) RemoveRequestHeader(param::hstring const& headerName) const; + auto SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const; + auto RemoveRequestHeader(param::hstring const& headerName) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.1.h index 7a14ffa9..89d67034 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_BackgroundTransfer_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.2.h index d26c07e5..0ad101e0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_BackgroundTransfer_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.0.h index 6c3c616e..dcd445df 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_Connectivity_0_H @@ -6,14 +6,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Networking { @@ -807,11 +805,11 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IAttributedNetworkUsage { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) BytesSent() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) BytesReceived() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AttributionId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AttributionName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) AttributionThumbnail() const; + [[nodiscard]] auto BytesSent() const; + [[nodiscard]] auto BytesReceived() const; + [[nodiscard]] auto AttributionId() const; + [[nodiscard]] auto AttributionName() const; + [[nodiscard]] auto AttributionThumbnail() const; }; template <> struct consume { @@ -820,18 +818,18 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_ICellularApnContext { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const; - WINRT_IMPL_AUTO(void) ProviderId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AccessPointName() const; - WINRT_IMPL_AUTO(void) AccessPointName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserName() const; - WINRT_IMPL_AUTO(void) UserName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Password() const; - WINRT_IMPL_AUTO(void) Password(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCompressionEnabled() const; - WINRT_IMPL_AUTO(void) IsCompressionEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::CellularApnAuthenticationType) AuthenticationType() const; - WINRT_IMPL_AUTO(void) AuthenticationType(winrt::Windows::Networking::Connectivity::CellularApnAuthenticationType const& value) const; + [[nodiscard]] auto ProviderId() const; + auto ProviderId(param::hstring const& value) const; + [[nodiscard]] auto AccessPointName() const; + auto AccessPointName(param::hstring const& value) const; + [[nodiscard]] auto UserName() const; + auto UserName(param::hstring const& value) const; + [[nodiscard]] auto Password() const; + auto Password(param::hstring const& value) const; + [[nodiscard]] auto IsCompressionEnabled() const; + auto IsCompressionEnabled(bool value) const; + [[nodiscard]] auto AuthenticationType() const; + auto AuthenticationType(winrt::Windows::Networking::Connectivity::CellularApnAuthenticationType const& value) const; }; template <> struct consume { @@ -840,8 +838,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_ICellularApnContext2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProfileName() const; - WINRT_IMPL_AUTO(void) ProfileName(param::hstring const& value) const; + [[nodiscard]] auto ProfileName() const; + auto ProfileName(param::hstring const& value) const; }; template <> struct consume { @@ -850,10 +848,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IConnectionCost { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkCostType) NetworkCostType() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Roaming() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) OverDataLimit() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ApproachingDataLimit() const; + [[nodiscard]] auto NetworkCostType() const; + [[nodiscard]] auto Roaming() const; + [[nodiscard]] auto OverDataLimit() const; + [[nodiscard]] auto ApproachingDataLimit() const; }; template <> struct consume { @@ -862,7 +860,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IConnectionCost2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) BackgroundDataUsageRestricted() const; + [[nodiscard]] auto BackgroundDataUsageRestricted() const; }; template <> struct consume { @@ -871,15 +869,15 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IConnectionProfile { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProfileName() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkConnectivityLevel) GetNetworkConnectivityLevel() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetNetworkNames() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::ConnectionCost) GetConnectionCost() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::DataPlanStatus) GetDataPlanStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAdapter) NetworkAdapter() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::DataUsage) GetLocalUsage(winrt::Windows::Foundation::DateTime const& StartTime, winrt::Windows::Foundation::DateTime const& EndTime) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::DataUsage) GetLocalUsage(winrt::Windows::Foundation::DateTime const& StartTime, winrt::Windows::Foundation::DateTime const& EndTime, winrt::Windows::Networking::Connectivity::RoamingStates const& States) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkSecuritySettings) NetworkSecuritySettings() const; + [[nodiscard]] auto ProfileName() const; + auto GetNetworkConnectivityLevel() const; + auto GetNetworkNames() const; + auto GetConnectionCost() const; + auto GetDataPlanStatus() const; + [[nodiscard]] auto NetworkAdapter() const; + auto GetLocalUsage(winrt::Windows::Foundation::DateTime const& StartTime, winrt::Windows::Foundation::DateTime const& EndTime) const; + auto GetLocalUsage(winrt::Windows::Foundation::DateTime const& StartTime, winrt::Windows::Foundation::DateTime const& EndTime, winrt::Windows::Networking::Connectivity::RoamingStates const& States) const; + [[nodiscard]] auto NetworkSecuritySettings() const; }; template <> struct consume { @@ -888,15 +886,15 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IConnectionProfile2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsWwanConnectionProfile() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsWlanConnectionProfile() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::WwanConnectionProfileDetails) WwanConnectionProfileDetails() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::WlanConnectionProfileDetails) WlanConnectionProfileDetails() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ServiceProviderGuid() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) GetSignalBars() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::DomainConnectivityLevel) GetDomainConnectivityLevel() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::DataUsageGranularity const& granularity, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetConnectivityIntervalsAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const; + [[nodiscard]] auto IsWwanConnectionProfile() const; + [[nodiscard]] auto IsWlanConnectionProfile() const; + [[nodiscard]] auto WwanConnectionProfileDetails() const; + [[nodiscard]] auto WlanConnectionProfileDetails() const; + [[nodiscard]] auto ServiceProviderGuid() const; + auto GetSignalBars() const; + auto GetDomainConnectivityLevel() const; + auto GetNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::DataUsageGranularity const& granularity, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const; + auto GetConnectivityIntervalsAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const; }; template <> struct consume { @@ -905,7 +903,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IConnectionProfile3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetAttributedNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const; + auto GetAttributedNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const; }; template <> struct consume { @@ -914,7 +912,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IConnectionProfile4 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetProviderNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const; + auto GetProviderNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const; }; template <> struct consume { @@ -923,8 +921,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IConnectionProfile5 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanDelete() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryDeleteAsync() const; + [[nodiscard]] auto CanDelete() const; + auto TryDeleteAsync() const; }; template <> struct consume { @@ -933,16 +931,16 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IConnectionProfileFilter { - WINRT_IMPL_AUTO(void) IsConnected(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConnected() const; - WINRT_IMPL_AUTO(void) IsWwanConnectionProfile(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsWwanConnectionProfile() const; - WINRT_IMPL_AUTO(void) IsWlanConnectionProfile(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsWlanConnectionProfile() const; - WINRT_IMPL_AUTO(void) NetworkCostType(winrt::Windows::Networking::Connectivity::NetworkCostType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkCostType) NetworkCostType() const; - WINRT_IMPL_AUTO(void) ServiceProviderGuid(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ServiceProviderGuid() const; + auto IsConnected(bool value) const; + [[nodiscard]] auto IsConnected() const; + auto IsWwanConnectionProfile(bool value) const; + [[nodiscard]] auto IsWwanConnectionProfile() const; + auto IsWlanConnectionProfile(bool value) const; + [[nodiscard]] auto IsWlanConnectionProfile() const; + auto NetworkCostType(winrt::Windows::Networking::Connectivity::NetworkCostType const& value) const; + [[nodiscard]] auto NetworkCostType() const; + auto ServiceProviderGuid(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ServiceProviderGuid() const; }; template <> struct consume { @@ -951,13 +949,13 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IConnectionProfileFilter2 { - WINRT_IMPL_AUTO(void) IsRoaming(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) IsRoaming() const; - WINRT_IMPL_AUTO(void) IsOverDataLimit(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) IsOverDataLimit() const; - WINRT_IMPL_AUTO(void) IsBackgroundDataUsageRestricted(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) IsBackgroundDataUsageRestricted() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) RawData() const; + auto IsRoaming(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsRoaming() const; + auto IsOverDataLimit(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsOverDataLimit() const; + auto IsBackgroundDataUsageRestricted(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsBackgroundDataUsageRestricted() const; + [[nodiscard]] auto RawData() const; }; template <> struct consume { @@ -966,8 +964,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IConnectionProfileFilter3 { - WINRT_IMPL_AUTO(void) PurposeGuid(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PurposeGuid() const; + auto PurposeGuid(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto PurposeGuid() const; }; template <> struct consume { @@ -976,7 +974,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IConnectionSession { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::ConnectionProfile) ConnectionProfile() const; + [[nodiscard]] auto ConnectionProfile() const; }; template <> struct consume { @@ -985,8 +983,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IConnectivityInterval { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) StartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) ConnectionDuration() const; + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto ConnectionDuration() const; }; template <> struct consume { @@ -995,9 +993,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IConnectivityManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AcquireConnectionAsync(winrt::Windows::Networking::Connectivity::CellularApnContext const& cellularApnContext) const; - WINRT_IMPL_AUTO(void) AddHttpRoutePolicy(winrt::Windows::Networking::Connectivity::RoutePolicy const& routePolicy) const; - WINRT_IMPL_AUTO(void) RemoveHttpRoutePolicy(winrt::Windows::Networking::Connectivity::RoutePolicy const& routePolicy) const; + auto AcquireConnectionAsync(winrt::Windows::Networking::Connectivity::CellularApnContext const& cellularApnContext) const; + auto AddHttpRoutePolicy(winrt::Windows::Networking::Connectivity::RoutePolicy const& routePolicy) const; + auto RemoveHttpRoutePolicy(winrt::Windows::Networking::Connectivity::RoutePolicy const& routePolicy) const; }; template <> struct consume { @@ -1006,12 +1004,12 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IDataPlanStatus { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::DataPlanUsage) DataPlanUsage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DataLimitInMegabytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InboundBitsPerSecond() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) OutboundBitsPerSecond() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) NextBillingCycle() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxTransferSizeInMegabytes() const; + [[nodiscard]] auto DataPlanUsage() const; + [[nodiscard]] auto DataLimitInMegabytes() const; + [[nodiscard]] auto InboundBitsPerSecond() const; + [[nodiscard]] auto OutboundBitsPerSecond() const; + [[nodiscard]] auto NextBillingCycle() const; + [[nodiscard]] auto MaxTransferSizeInMegabytes() const; }; template <> struct consume { @@ -1020,8 +1018,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IDataPlanUsage { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MegabytesUsed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastSyncTime() const; + [[nodiscard]] auto MegabytesUsed() const; + [[nodiscard]] auto LastSyncTime() const; }; template <> struct consume { @@ -1030,8 +1028,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IDataUsage { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) BytesSent() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) BytesReceived() const; + [[nodiscard]] auto BytesSent() const; + [[nodiscard]] auto BytesReceived() const; }; template <> struct consume { @@ -1040,8 +1038,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IIPInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAdapter) NetworkAdapter() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PrefixLength() const; + [[nodiscard]] auto NetworkAdapter() const; + [[nodiscard]] auto PrefixLength() const; }; template <> struct consume { @@ -1050,9 +1048,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_ILanIdentifier { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::LanIdentifierData) InfrastructureId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::LanIdentifierData) PortId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) NetworkAdapterId() const; + [[nodiscard]] auto InfrastructureId() const; + [[nodiscard]] auto PortId() const; + [[nodiscard]] auto NetworkAdapterId() const; }; template <> struct consume { @@ -1061,8 +1059,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_ILanIdentifierData { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Type() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Value() const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -1071,12 +1069,12 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_INetworkAdapter { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) OutboundMaxBitsPerSecond() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) InboundMaxBitsPerSecond() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) IanaInterfaceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkItem) NetworkItem() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) NetworkAdapterId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetConnectedProfileAsync() const; + [[nodiscard]] auto OutboundMaxBitsPerSecond() const; + [[nodiscard]] auto InboundMaxBitsPerSecond() const; + [[nodiscard]] auto IanaInterfaceType() const; + [[nodiscard]] auto NetworkItem() const; + [[nodiscard]] auto NetworkAdapterId() const; + auto GetConnectedProfileAsync() const; }; template <> struct consume { @@ -1085,16 +1083,16 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_INetworkInformationStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetConnectionProfiles() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::ConnectionProfile) GetInternetConnectionProfile() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetLanIdentifiers() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetHostNames() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetProxyConfigurationAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetSortedEndpointPairs(param::iterable const& destinationList, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const; - WINRT_IMPL_AUTO(winrt::event_token) NetworkStatusChanged(winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler) const; + auto GetConnectionProfiles() const; + auto GetInternetConnectionProfile() const; + auto GetLanIdentifiers() const; + auto GetHostNames() const; + auto GetProxyConfigurationAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto GetSortedEndpointPairs(param::iterable const& destinationList, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const; + auto NetworkStatusChanged(winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler) const; using NetworkStatusChanged_revoker = impl::event_revoker::remove_NetworkStatusChanged>; - [[nodiscard]] NetworkStatusChanged_revoker NetworkStatusChanged(auto_revoke_t, winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler) const; - WINRT_IMPL_AUTO(void) NetworkStatusChanged(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto NetworkStatusChanged(auto_revoke_t, winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler) const; + auto NetworkStatusChanged(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -1103,7 +1101,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_INetworkInformationStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindConnectionProfilesAsync(winrt::Windows::Networking::Connectivity::ConnectionProfileFilter const& pProfileFilter) const; + auto FindConnectionProfilesAsync(winrt::Windows::Networking::Connectivity::ConnectionProfileFilter const& pProfileFilter) const; }; template <> struct consume { @@ -1112,8 +1110,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_INetworkItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) NetworkId() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkTypes) GetNetworkTypes() const; + [[nodiscard]] auto NetworkId() const; + auto GetNetworkTypes() const; }; template <> struct consume { @@ -1122,8 +1120,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_INetworkSecuritySettings { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAuthenticationType) NetworkAuthenticationType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkEncryptionType) NetworkEncryptionType() const; + [[nodiscard]] auto NetworkAuthenticationType() const; + [[nodiscard]] auto NetworkEncryptionType() const; }; template <> struct consume { @@ -1132,12 +1130,12 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails { - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasNewInternetConnectionProfile() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasNewConnectionCost() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasNewNetworkConnectivityLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasNewDomainConnectivityLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasNewHostNameList() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasNewWwanRegistrationState() const; + [[nodiscard]] auto HasNewInternetConnectionProfile() const; + [[nodiscard]] auto HasNewConnectionCost() const; + [[nodiscard]] auto HasNewNetworkConnectivityLevel() const; + [[nodiscard]] auto HasNewDomainConnectivityLevel() const; + [[nodiscard]] auto HasNewHostNameList() const; + [[nodiscard]] auto HasNewWwanRegistrationState() const; }; template <> struct consume { @@ -1146,8 +1144,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasNewTetheringOperationalState() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasNewTetheringClientCount() const; + [[nodiscard]] auto HasNewTetheringOperationalState() const; + [[nodiscard]] auto HasNewTetheringClientCount() const; }; template <> struct consume { @@ -1156,9 +1154,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_INetworkUsage { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) BytesSent() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) BytesReceived() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) ConnectionDuration() const; + [[nodiscard]] auto BytesSent() const; + [[nodiscard]] auto BytesReceived() const; + [[nodiscard]] auto ConnectionDuration() const; }; template <> struct consume { @@ -1167,9 +1165,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IProviderNetworkUsage { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) BytesSent() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) BytesReceived() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const; + [[nodiscard]] auto BytesSent() const; + [[nodiscard]] auto BytesReceived() const; + [[nodiscard]] auto ProviderId() const; }; template <> struct consume { @@ -1178,8 +1176,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IProxyConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ProxyUris() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanConnectDirectly() const; + [[nodiscard]] auto ProxyUris() const; + [[nodiscard]] auto CanConnectDirectly() const; }; template <> struct consume { @@ -1188,9 +1186,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IRoutePolicy { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::ConnectionProfile) ConnectionProfile() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) HostName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::DomainNameType) HostNameType() const; + [[nodiscard]] auto ConnectionProfile() const; + [[nodiscard]] auto HostName() const; + [[nodiscard]] auto HostNameType() const; }; template <> struct consume { @@ -1199,7 +1197,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IRoutePolicyFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::RoutePolicy) CreateRoutePolicy(winrt::Windows::Networking::Connectivity::ConnectionProfile const& connectionProfile, winrt::Windows::Networking::HostName const& hostName, winrt::Windows::Networking::DomainNameType const& type) const; + auto CreateRoutePolicy(winrt::Windows::Networking::Connectivity::ConnectionProfile const& connectionProfile, winrt::Windows::Networking::HostName const& hostName, winrt::Windows::Networking::DomainNameType const& type) const; }; template <> struct consume { @@ -1208,7 +1206,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IWlanConnectionProfileDetails { - WINRT_IMPL_AUTO(hstring) GetConnectedSsid() const; + auto GetConnectedSsid() const; }; template <> struct consume { @@ -1217,10 +1215,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HomeProviderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AccessPointName() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::WwanNetworkRegistrationState) GetNetworkRegistrationState() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::WwanDataClass) GetCurrentDataClass() const; + [[nodiscard]] auto HomeProviderId() const; + [[nodiscard]] auto AccessPointName() const; + auto GetNetworkRegistrationState() const; + auto GetCurrentDataClass() const; }; template <> struct consume { @@ -1229,8 +1227,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::WwanNetworkIPKind) IPKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PurposeGuids() const; + [[nodiscard]] auto IPKind() const; + [[nodiscard]] auto PurposeGuids() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.1.h index 264f7765..73d7504f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_Connectivity_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.2.h index 90c569d0..d21bb6bb 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_Connectivity_2_H @@ -127,7 +127,7 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Connectivity static auto GetSortedEndpointPairs(param::iterable const& destinationList, winrt::Windows::Networking::HostNameSortOptions const& sortOptions); static auto NetworkStatusChanged(winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler); using NetworkStatusChanged_revoker = impl::factory_event_revoker::remove_NetworkStatusChanged>; - [[nodiscard]] static NetworkStatusChanged_revoker NetworkStatusChanged(auto_revoke_t, winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler); + [[nodiscard]] static auto NetworkStatusChanged(auto_revoke_t, winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler); static auto NetworkStatusChanged(winrt::event_token const& eventCookie); static auto FindConnectionProfilesAsync(winrt::Windows::Networking::Connectivity::ConnectionProfileFilter const& pProfileFilter); }; diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.0.h index dd6edc70..71512908 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_NetworkOperators_0_H @@ -17,16 +17,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Networking { @@ -2261,20 +2257,20 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IESim { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AvailableMemoryInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Eid() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FirmwareVersion() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MobileBroadbandModemDeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimPolicy) Policy() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimState) State() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetProfiles() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DeleteProfileAsync(param::hstring const& profileId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DownloadProfileMetadataAsync(param::hstring const& activationCode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ResetAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) ProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AvailableMemoryInBytes() const; + [[nodiscard]] auto Eid() const; + [[nodiscard]] auto FirmwareVersion() const; + [[nodiscard]] auto MobileBroadbandModemDeviceId() const; + [[nodiscard]] auto Policy() const; + [[nodiscard]] auto State() const; + auto GetProfiles() const; + auto DeleteProfileAsync(param::hstring const& profileId) const; + auto DownloadProfileMetadataAsync(param::hstring const& activationCode) const; + auto ResetAsync() const; + auto ProfileChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ProfileChanged_revoker = impl::event_revoker::remove_ProfileChanged>; - [[nodiscard]] ProfileChanged_revoker ProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ProfileChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ProfileChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2283,10 +2279,10 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IESim2 { - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimDiscoverResult) Discover() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimDiscoverResult) Discover(param::hstring const& serverAddress, param::hstring const& matchingId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DiscoverAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DiscoverAsync(param::hstring const& serverAddress, param::hstring const& matchingId) const; + auto Discover() const; + auto Discover(param::hstring const& serverAddress, param::hstring const& matchingId) const; + auto DiscoverAsync() const; + auto DiscoverAsync(param::hstring const& serverAddress, param::hstring const& matchingId) const; }; template <> struct consume { @@ -2295,7 +2291,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IESimAddedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESim) ESim() const; + [[nodiscard]] auto ESim() const; }; template <> struct consume { @@ -2304,8 +2300,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IESimDiscoverEvent { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MatchingId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RspServerAddress() const; + [[nodiscard]] auto MatchingId() const; + [[nodiscard]] auto RspServerAddress() const; }; template <> struct consume { @@ -2314,10 +2310,10 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IESimDiscoverResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Events() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimDiscoverResultKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata) ProfileMetadata() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimOperationResult) Result() const; + [[nodiscard]] auto Events() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto ProfileMetadata() const; + [[nodiscard]] auto Result() const; }; template <> struct consume { @@ -2326,8 +2322,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IESimDownloadProfileMetadataResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimOperationResult) Result() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata) ProfileMetadata() const; + [[nodiscard]] auto Result() const; + [[nodiscard]] auto ProfileMetadata() const; }; template <> struct consume { @@ -2336,12 +2332,12 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IESimManagerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimServiceInfo) ServiceInfo() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimWatcher) TryCreateESimWatcher() const; - WINRT_IMPL_AUTO(winrt::event_token) ServiceInfoChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto ServiceInfo() const; + auto TryCreateESimWatcher() const; + auto ServiceInfoChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using ServiceInfoChanged_revoker = impl::event_revoker::remove_ServiceInfoChanged>; - [[nodiscard]] ServiceInfoChanged_revoker ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ServiceInfoChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ServiceInfoChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2350,7 +2346,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IESimOperationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimOperationStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -2359,7 +2355,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IESimPolicy { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldEnableManagingUi() const; + [[nodiscard]] auto ShouldEnableManagingUi() const; }; template <> struct consume { @@ -2368,17 +2364,17 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IESimProfile { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfileClass) Class() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Nickname() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfilePolicy) Policy() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) ProviderIcon() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfileState) State() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DisableAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) EnableAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetNicknameAsync(param::hstring const& newNickname) const; + [[nodiscard]] auto Class() const; + [[nodiscard]] auto Nickname() const; + [[nodiscard]] auto Policy() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto ProviderIcon() const; + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto ProviderName() const; + [[nodiscard]] auto State() const; + auto DisableAsync() const; + auto EnableAsync() const; + auto SetNicknameAsync(param::hstring const& newNickname) const; }; template <> struct consume { @@ -2387,21 +2383,21 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IESimProfileMetadata { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConfirmationCodeRequired() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfilePolicy) Policy() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) ProviderIcon() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfileMetadataState) State() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DenyInstallAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) ConfirmInstallAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) ConfirmInstallAsync(param::hstring const& confirmationCode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PostponeInstallAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsConfirmationCodeRequired() const; + [[nodiscard]] auto Policy() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto ProviderIcon() const; + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto ProviderName() const; + [[nodiscard]] auto State() const; + auto DenyInstallAsync() const; + auto ConfirmInstallAsync() const; + auto ConfirmInstallAsync(param::hstring const& confirmationCode) const; + auto PostponeInstallAsync() const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; - [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2410,9 +2406,9 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IESimProfilePolicy { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanDelete() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanDisable() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsManagedByEnterprise() const; + [[nodiscard]] auto CanDelete() const; + [[nodiscard]] auto CanDisable() const; + [[nodiscard]] auto IsManagedByEnterprise() const; }; template <> struct consume { @@ -2421,7 +2417,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IESimRemovedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESim) ESim() const; + [[nodiscard]] auto ESim() const; }; template <> struct consume { @@ -2430,8 +2426,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IESimServiceInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimAuthenticationPreference) AuthenticationPreference() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsESimUiEnabled() const; + [[nodiscard]] auto AuthenticationPreference() const; + [[nodiscard]] auto IsESimUiEnabled() const; }; template <> struct consume { @@ -2440,7 +2436,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IESimUpdatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESim) ESim() const; + [[nodiscard]] auto ESim() const; }; template <> struct consume { @@ -2449,29 +2445,29 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IESimWatcher { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimWatcherStatus) Status() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Added_revoker = impl::event_revoker::remove_Added>; - [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Added(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Removed_revoker = impl::event_revoker::remove_Removed>; - [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Removed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Stopped(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Updated_revoker = impl::event_revoker::remove_Updated>; - [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Updated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2480,7 +2476,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IFdnAccessManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestUnlockAsync(param::hstring const& contactListId) const; + auto RequestUnlockAsync(param::hstring const& contactListId) const; }; template <> struct consume { @@ -2489,15 +2485,15 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext { - [[nodiscard]] WINRT_IMPL_AUTO(com_array) WirelessNetworkId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAdapter) NetworkAdapter() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) RedirectMessageUrl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) RedirectMessageXml() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) AuthenticationUrl() const; - WINRT_IMPL_AUTO(void) IssueCredentials(param::hstring const& userName, param::hstring const& password, param::hstring const& extraParameters, bool markAsManualConnectOnFailure) const; - WINRT_IMPL_AUTO(void) AbortAuthentication(bool markAsManual) const; - WINRT_IMPL_AUTO(void) SkipAuthentication() const; - WINRT_IMPL_AUTO(void) TriggerAttentionRequired(param::hstring const& packageRelativeApplicationId, param::hstring const& applicationParameters) const; + [[nodiscard]] auto WirelessNetworkId() const; + [[nodiscard]] auto NetworkAdapter() const; + [[nodiscard]] auto RedirectMessageUrl() const; + [[nodiscard]] auto RedirectMessageXml() const; + [[nodiscard]] auto AuthenticationUrl() const; + auto IssueCredentials(param::hstring const& userName, param::hstring const& password, param::hstring const& extraParameters, bool markAsManualConnectOnFailure) const; + auto AbortAuthentication(bool markAsManual) const; + auto SkipAuthentication() const; + auto TriggerAttentionRequired(param::hstring const& packageRelativeApplicationId, param::hstring const& applicationParameters) const; }; template <> struct consume { @@ -2506,7 +2502,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IssueCredentialsAsync(param::hstring const& userName, param::hstring const& password, param::hstring const& extraParameters, bool markAsManualConnectOnFailure) const; + auto IssueCredentialsAsync(param::hstring const& userName, param::hstring const& password, param::hstring const& extraParameters, bool markAsManualConnectOnFailure) const; }; template <> struct consume { @@ -2515,7 +2511,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContextStatics { - WINRT_IMPL_AUTO(bool) TryGetAuthenticationContext(param::hstring const& evenToken, winrt::Windows::Networking::NetworkOperators::HotspotAuthenticationContext& context) const; + auto TryGetAuthenticationContext(param::hstring const& evenToken, winrt::Windows::Networking::NetworkOperators::HotspotAuthenticationContext& context) const; }; template <> struct consume { @@ -2524,7 +2520,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationEventDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EventToken() const; + [[nodiscard]] auto EventToken() const; }; template <> struct consume { @@ -2533,10 +2529,10 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult { - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasNetworkErrorOccurred() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::HotspotAuthenticationResponseCode) ResponseCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) LogoffUrl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) AuthenticationReplyXml() const; + [[nodiscard]] auto HasNetworkErrorOccurred() const; + [[nodiscard]] auto ResponseCode() const; + [[nodiscard]] auto LogoffUrl() const; + [[nodiscard]] auto AuthenticationReplyXml() const; }; template <> struct consume { @@ -2545,9 +2541,9 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) EFSpn() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Gid1() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Gid2() const; + [[nodiscard]] auto EFSpn() const; + [[nodiscard]] auto Gid1() const; + [[nodiscard]] auto Gid2() const; }; template <> struct consume { @@ -2556,9 +2552,9 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) EFSpn() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Gid1() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Gid2() const; + [[nodiscard]] auto EFSpn() const; + [[nodiscard]] auto Gid1() const; + [[nodiscard]] auto Gid2() const; }; template <> struct consume { @@ -2567,10 +2563,10 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) EFOns() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) EFSpn() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Gid1() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Gid2() const; + [[nodiscard]] auto EFOns() const; + [[nodiscard]] auto EFSpn() const; + [[nodiscard]] auto Gid1() const; + [[nodiscard]] auto Gid2() const; }; template <> struct consume { @@ -2579,11 +2575,11 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) EFSpn() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) EFOpl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) EFPnn() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Gid1() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Gid2() const; + [[nodiscard]] auto EFSpn() const; + [[nodiscard]] auto EFOpl() const; + [[nodiscard]] auto EFPnn() const; + [[nodiscard]] auto Gid1() const; + [[nodiscard]] auto Gid2() const; }; template <> struct consume { @@ -2592,11 +2588,11 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NetworkAccountId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ServiceProviderGuid() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceProviderName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetwork) CurrentNetwork() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceInformation) CurrentDeviceInformation() const; + [[nodiscard]] auto NetworkAccountId() const; + [[nodiscard]] auto ServiceProviderGuid() const; + [[nodiscard]] auto ServiceProviderName() const; + [[nodiscard]] auto CurrentNetwork() const; + [[nodiscard]] auto CurrentDeviceInformation() const; }; template <> struct consume { @@ -2605,7 +2601,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetConnectionProfiles() const; + auto GetConnectionProfiles() const; }; template <> struct consume { @@ -2614,7 +2610,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) AccountExperienceUrl() const; + [[nodiscard]] auto AccountExperienceUrl() const; }; template <> struct consume { @@ -2623,7 +2619,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NetworkAccountId() const; + [[nodiscard]] auto NetworkAccountId() const; }; template <> struct consume { @@ -2632,8 +2628,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AvailableNetworkAccountIds() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccount) CreateFromNetworkAccountId(param::hstring const& networkAccountId) const; + [[nodiscard]] auto AvailableNetworkAccountIds() const; + auto CreateFromNetworkAccountId(param::hstring const& networkAccountId) const; }; template <> struct consume { @@ -2642,9 +2638,9 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NetworkAccountId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasDeviceInformationChanged() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasNetworkChanged() const; + [[nodiscard]] auto NetworkAccountId() const; + [[nodiscard]] auto HasDeviceInformationChanged() const; + [[nodiscard]] auto HasNetworkChanged() const; }; template <> struct consume { @@ -2653,29 +2649,29 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher { - WINRT_IMPL_AUTO(winrt::event_token) AccountAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccountAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AccountAdded_revoker = impl::event_revoker::remove_AccountAdded>; - [[nodiscard]] AccountAdded_revoker AccountAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AccountAdded(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AccountUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AccountAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccountAdded(winrt::event_token const& cookie) const noexcept; + auto AccountUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AccountUpdated_revoker = impl::event_revoker::remove_AccountUpdated>; - [[nodiscard]] AccountUpdated_revoker AccountUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AccountUpdated(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AccountRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AccountUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccountUpdated(winrt::event_token const& cookie) const noexcept; + auto AccountRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AccountRemoved_revoker = impl::event_revoker::remove_AccountRemoved>; - [[nodiscard]] AccountRemoved_revoker AccountRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AccountRemoved(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AccountRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccountRemoved(winrt::event_token const& cookie) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& cookie) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Stopped(winrt::event_token const& cookie) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcherStatus) Status() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; }; template <> struct consume { @@ -2684,8 +2680,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSar { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) AntennaIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SarBackoffIndex() const; + [[nodiscard]] auto AntennaIndex() const; + [[nodiscard]] auto SarBackoffIndex() const; }; template <> struct consume { @@ -2694,7 +2690,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSarFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandAntennaSar) CreateWithIndex(int32_t antennaIndex, int32_t sarBackoffIndex) const; + auto CreateWithIndex(int32_t antennaIndex, int32_t sarBackoffIndex) const; }; template <> struct consume { @@ -2703,14 +2699,14 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BaseStationId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BaseStationPNCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BaseStationLatitude() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BaseStationLongitude() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BaseStationLastBroadcastGpsTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) NetworkId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PilotSignalStrengthInDB() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SystemId() const; + [[nodiscard]] auto BaseStationId() const; + [[nodiscard]] auto BaseStationPNCode() const; + [[nodiscard]] auto BaseStationLatitude() const; + [[nodiscard]] auto BaseStationLongitude() const; + [[nodiscard]] auto BaseStationLastBroadcastGpsTime() const; + [[nodiscard]] auto NetworkId() const; + [[nodiscard]] auto PilotSignalStrengthInDB() const; + [[nodiscard]] auto SystemId() const; }; template <> struct consume { @@ -2719,13 +2715,13 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BaseStationId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) CellId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChannelNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) LocationAreaCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ReceivedSignalStrengthInDBm() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TimingAdvanceInBitPeriods() const; + [[nodiscard]] auto BaseStationId() const; + [[nodiscard]] auto CellId() const; + [[nodiscard]] auto ChannelNumber() const; + [[nodiscard]] auto LocationAreaCode() const; + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto ReceivedSignalStrengthInDBm() const; + [[nodiscard]] auto TimingAdvanceInBitPeriods() const; }; template <> struct consume { @@ -2734,14 +2730,14 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) CellId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChannelNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PhysicalCellId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ReferenceSignalReceivedPowerInDBm() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ReferenceSignalReceivedQualityInDBm() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TimingAdvanceInBitPeriods() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TrackingAreaCode() const; + [[nodiscard]] auto CellId() const; + [[nodiscard]] auto ChannelNumber() const; + [[nodiscard]] auto PhysicalCellId() const; + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto ReferenceSignalReceivedPowerInDBm() const; + [[nodiscard]] auto ReferenceSignalReceivedQualityInDBm() const; + [[nodiscard]] auto TimingAdvanceInBitPeriods() const; + [[nodiscard]] auto TrackingAreaCode() const; }; template <> struct consume { @@ -2750,15 +2746,15 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) CellId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChannelNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PhysicalCellId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ReferenceSignalReceivedPowerInDBm() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ReferenceSignalReceivedQualityInDBm() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TimingAdvanceInNanoseconds() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TrackingAreaCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SignalToNoiseRatioInDB() const; + [[nodiscard]] auto CellId() const; + [[nodiscard]] auto ChannelNumber() const; + [[nodiscard]] auto PhysicalCellId() const; + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto ReferenceSignalReceivedPowerInDBm() const; + [[nodiscard]] auto ReferenceSignalReceivedQualityInDBm() const; + [[nodiscard]] auto TimingAdvanceInNanoseconds() const; + [[nodiscard]] auto TrackingAreaCode() const; + [[nodiscard]] auto SignalToNoiseRatioInDB() const; }; template <> struct consume { @@ -2767,14 +2763,14 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) CellId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) CellParameterId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChannelNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) LocationAreaCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PathLossInDB() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ReceivedSignalCodePowerInDBm() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TimingAdvanceInBitPeriods() const; + [[nodiscard]] auto CellId() const; + [[nodiscard]] auto CellParameterId() const; + [[nodiscard]] auto ChannelNumber() const; + [[nodiscard]] auto LocationAreaCode() const; + [[nodiscard]] auto PathLossInDB() const; + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto ReceivedSignalCodePowerInDBm() const; + [[nodiscard]] auto TimingAdvanceInBitPeriods() const; }; template <> struct consume { @@ -2783,14 +2779,14 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) CellId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChannelNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) LocationAreaCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PathLossInDB() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PrimaryScramblingCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ReceivedSignalCodePowerInDBm() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SignalToNoiseRatioInDB() const; + [[nodiscard]] auto CellId() const; + [[nodiscard]] auto ChannelNumber() const; + [[nodiscard]] auto LocationAreaCode() const; + [[nodiscard]] auto PathLossInDB() const; + [[nodiscard]] auto PrimaryScramblingCode() const; + [[nodiscard]] auto ProviderId() const; + [[nodiscard]] auto ReceivedSignalCodePowerInDBm() const; + [[nodiscard]] auto SignalToNoiseRatioInDB() const; }; template <> struct consume { @@ -2799,16 +2795,16 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) NeighboringCellsCdma() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) NeighboringCellsGsm() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) NeighboringCellsLte() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) NeighboringCellsTdscdma() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) NeighboringCellsUmts() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServingCellsCdma() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServingCellsGsm() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServingCellsLte() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServingCellsTdscdma() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServingCellsUmts() const; + [[nodiscard]] auto NeighboringCellsCdma() const; + [[nodiscard]] auto NeighboringCellsGsm() const; + [[nodiscard]] auto NeighboringCellsLte() const; + [[nodiscard]] auto NeighboringCellsTdscdma() const; + [[nodiscard]] auto NeighboringCellsUmts() const; + [[nodiscard]] auto ServingCellsCdma() const; + [[nodiscard]] auto ServingCellsGsm() const; + [[nodiscard]] auto ServingCellsLte() const; + [[nodiscard]] auto ServingCellsTdscdma() const; + [[nodiscard]] auto ServingCellsUmts() const; }; template <> struct consume { @@ -2817,8 +2813,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) NeighboringCellsNR() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServingCellsNR() const; + [[nodiscard]] auto NeighboringCellsNR() const; + [[nodiscard]] auto ServingCellsNR() const; }; template <> struct consume { @@ -2827,7 +2823,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCurrentSlotIndexChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CurrentSlotIndex() const; + [[nodiscard]] auto CurrentSlotIndex() const; }; template <> struct consume { @@ -2836,20 +2832,20 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkDeviceStatus) NetworkDeviceStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Manufacturer() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Model() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FirmwareInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) CellularClass() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::DataClasses) DataClasses() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CustomDataClass() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MobileEquipmentId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) TelephoneNumbers() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SubscriberId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SimIccId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceType) DeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioState) CurrentRadioState() const; + [[nodiscard]] auto NetworkDeviceStatus() const; + [[nodiscard]] auto Manufacturer() const; + [[nodiscard]] auto Model() const; + [[nodiscard]] auto FirmwareInformation() const; + [[nodiscard]] auto CellularClass() const; + [[nodiscard]] auto DataClasses() const; + [[nodiscard]] auto CustomDataClass() const; + [[nodiscard]] auto MobileEquipmentId() const; + [[nodiscard]] auto TelephoneNumbers() const; + [[nodiscard]] auto SubscriberId() const; + [[nodiscard]] auto SimIccId() const; + [[nodiscard]] auto DeviceType() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto CurrentRadioState() const; }; template <> struct consume { @@ -2858,9 +2854,9 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinManager) PinManager() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Revision() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SerialNumber() const; + [[nodiscard]] auto PinManager() const; + [[nodiscard]] auto Revision() const; + [[nodiscard]] auto SerialNumber() const; }; template <> struct consume { @@ -2869,9 +2865,9 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SimSpn() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SimPnn() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SimGid1() const; + [[nodiscard]] auto SimSpn() const; + [[nodiscard]] auto SimPnn() const; + [[nodiscard]] auto SimGid1() const; }; template <> struct consume { @@ -2880,7 +2876,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager) SlotManager() const; + [[nodiscard]] auto SlotManager() const; }; template <> struct consume { @@ -2889,10 +2885,10 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DeviceServiceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedCommands() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataSession) OpenDataSession() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceCommandSession) OpenCommandSession() const; + [[nodiscard]] auto DeviceServiceId() const; + [[nodiscard]] auto SupportedCommands() const; + auto OpenDataSession() const; + auto OpenCommandSession() const; }; template <> struct consume { @@ -2901,8 +2897,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandResult { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) StatusCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ResponseData() const; + [[nodiscard]] auto StatusCode() const; + [[nodiscard]] auto ResponseData() const; }; template <> struct consume { @@ -2911,9 +2907,9 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendQueryCommandAsync(uint32_t commandId, winrt::Windows::Storage::Streams::IBuffer const& data) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendSetCommandAsync(uint32_t commandId, winrt::Windows::Storage::Streams::IBuffer const& data) const; - WINRT_IMPL_AUTO(void) CloseSession() const; + auto SendQueryCommandAsync(uint32_t commandId, winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto SendSetCommandAsync(uint32_t commandId, winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto CloseSession() const; }; template <> struct consume { @@ -2922,7 +2918,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ReceivedData() const; + [[nodiscard]] auto ReceivedData() const; }; template <> struct consume { @@ -2931,12 +2927,12 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WriteDataAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; - WINRT_IMPL_AUTO(void) CloseSession() const; - WINRT_IMPL_AUTO(winrt::event_token) DataReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto WriteDataAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto CloseSession() const; + auto DataReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using DataReceived_revoker = impl::event_revoker::remove_DataReceived>; - [[nodiscard]] DataReceived_revoker DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) DataReceived(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto DataReceived(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -2945,9 +2941,9 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DeviceServiceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDataReadSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDataWriteSupported() const; + [[nodiscard]] auto DeviceServiceId() const; + [[nodiscard]] auto IsDataReadSupported() const; + [[nodiscard]] auto IsDataWriteSupported() const; }; template <> struct consume { @@ -2956,9 +2952,9 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DeviceServiceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ReceivedData() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto DeviceServiceId() const; + [[nodiscard]] auto ReceivedData() const; }; template <> struct consume { @@ -2967,16 +2963,16 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccount) CurrentAccount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceInformation) DeviceInformation() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxDeviceServiceCommandSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxDeviceServiceDataSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) DeviceServices() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceService) GetDeviceService(winrt::guid const& deviceServiceId) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsResetSupported() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ResetAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCurrentConfigurationAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetwork) CurrentNetwork() const; + [[nodiscard]] auto CurrentAccount() const; + [[nodiscard]] auto DeviceInformation() const; + [[nodiscard]] auto MaxDeviceServiceCommandSizeInBytes() const; + [[nodiscard]] auto MaxDeviceServiceDataSizeInBytes() const; + [[nodiscard]] auto DeviceServices() const; + auto GetDeviceService(winrt::guid const& deviceServiceId) const; + [[nodiscard]] auto IsResetSupported() const; + auto ResetAsync() const; + auto GetCurrentConfigurationAsync() const; + [[nodiscard]] auto CurrentNetwork() const; }; template <> struct consume { @@ -2985,8 +2981,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIsPassthroughEnabledAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetIsPassthroughEnabledAsync(bool value) const; + auto GetIsPassthroughEnabledAsync() const; + auto SetIsPassthroughEnabledAsync(bool value) const; }; template <> struct consume { @@ -2995,12 +2991,12 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryGetPcoAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInEmergencyCallMode() const; - WINRT_IMPL_AUTO(winrt::event_token) IsInEmergencyCallModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TryGetPcoAsync() const; + [[nodiscard]] auto IsInEmergencyCallMode() const; + auto IsInEmergencyCallModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsInEmergencyCallModeChanged_revoker = impl::event_revoker::remove_IsInEmergencyCallModeChanged>; - [[nodiscard]] IsInEmergencyCallModeChanged_revoker IsInEmergencyCallModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsInEmergencyCallModeChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsInEmergencyCallModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsInEmergencyCallModeChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3009,9 +3005,9 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandUicc) Uicc() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HomeProviderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HomeProviderName() const; + [[nodiscard]] auto Uicc() const; + [[nodiscard]] auto HomeProviderId() const; + [[nodiscard]] auto HomeProviderName() const; }; template <> struct consume { @@ -3020,7 +3016,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager) SarManager() const; + [[nodiscard]] auto SarManager() const; }; template <> struct consume { @@ -3029,10 +3025,10 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation { - WINRT_IMPL_AUTO(void) AddAllowedHost(winrt::Windows::Networking::HostName const& host) const; - WINRT_IMPL_AUTO(void) AddAllowedHostRange(winrt::Windows::Networking::HostName const& first, winrt::Windows::Networking::HostName const& last) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ApplyConfigurationAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearConfigurationAsync() const; + auto AddAllowedHost(winrt::Windows::Networking::HostName const& host) const; + auto AddAllowedHostRange(winrt::Windows::Networking::HostName const& first, winrt::Windows::Networking::HostName const& last) const; + auto ApplyConfigurationAsync() const; + auto ClearConfigurationAsync() const; }; template <> struct consume { @@ -3041,7 +3037,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolationFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemIsolation) Create(param::hstring const& modemDeviceId, param::hstring const& ruleGroupId) const; + auto Create(param::hstring const& modemDeviceId, param::hstring const& ruleGroupId) const; }; template <> struct consume { @@ -3050,9 +3046,9 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem) FromId(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem) GetDefault() const; + auto GetDeviceSelector() const; + auto FromId(param::hstring const& deviceId) const; + auto GetDefault() const; }; template <> struct consume { @@ -3061,16 +3057,16 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAdapter) NetworkAdapter() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkRegistrationState) NetworkRegistrationState() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) RegistrationNetworkError() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PacketAttachNetworkError() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ActivationNetworkError() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AccessPointName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::DataClasses) RegisteredDataClass() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RegisteredProviderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RegisteredProviderName() const; - WINRT_IMPL_AUTO(void) ShowConnectionUI() const; + [[nodiscard]] auto NetworkAdapter() const; + [[nodiscard]] auto NetworkRegistrationState() const; + [[nodiscard]] auto RegistrationNetworkError() const; + [[nodiscard]] auto PacketAttachNetworkError() const; + [[nodiscard]] auto ActivationNetworkError() const; + [[nodiscard]] auto AccessPointName() const; + [[nodiscard]] auto RegisteredDataClass() const; + [[nodiscard]] auto RegisteredProviderId() const; + [[nodiscard]] auto RegisteredProviderName() const; + auto ShowConnectionUI() const; }; template <> struct consume { @@ -3079,8 +3075,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetVoiceCallSupportAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) RegistrationUiccApps() const; + auto GetVoiceCallSupportAsync() const; + [[nodiscard]] auto RegistrationUiccApps() const; }; template <> struct consume { @@ -3089,7 +3085,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCellsInfoAsync() const; + auto GetCellsInfoAsync() const; }; template <> struct consume { @@ -3098,8 +3094,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChange { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetwork) Network() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto Network() const; }; template <> struct consume { @@ -3108,7 +3104,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) NetworkRegistrationStateChanges() const; + [[nodiscard]] auto NetworkRegistrationStateChanges() const; }; template <> struct consume { @@ -3117,9 +3113,9 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Data() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsComplete() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto Data() const; + [[nodiscard]] auto IsComplete() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -3128,7 +3124,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPcoDataChangeTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPco) UpdatedData() const; + [[nodiscard]] auto UpdatedData() const; }; template <> struct consume { @@ -3137,18 +3133,18 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType) Type() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockState) LockState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinFormat) Format() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Enabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) AttemptsRemaining() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) EnableAsync(param::hstring const& currentPin) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DisableAsync(param::hstring const& currentPin) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) EnterAsync(param::hstring const& currentPin) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ChangeAsync(param::hstring const& currentPin, param::hstring const& newPin) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UnblockAsync(param::hstring const& pinUnblockKey, param::hstring const& newPin) const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto LockState() const; + [[nodiscard]] auto Format() const; + [[nodiscard]] auto Enabled() const; + [[nodiscard]] auto MaxLength() const; + [[nodiscard]] auto MinLength() const; + [[nodiscard]] auto AttemptsRemaining() const; + auto EnableAsync(param::hstring const& currentPin) const; + auto DisableAsync(param::hstring const& currentPin) const; + auto EnterAsync(param::hstring const& currentPin) const; + auto ChangeAsync(param::hstring const& currentPin, param::hstring const& newPin) const; + auto UnblockAsync(param::hstring const& pinUnblockKey, param::hstring const& newPin) const; }; template <> struct consume { @@ -3157,9 +3153,9 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType) PinType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockState) PinLockState() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto PinType() const; + [[nodiscard]] auto PinLockState() const; }; template <> struct consume { @@ -3168,7 +3164,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChangeTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PinLockStateChanges() const; + [[nodiscard]] auto PinLockStateChanges() const; }; template <> struct consume { @@ -3177,8 +3173,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinManager { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedPins() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPin) GetPin(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType const& pinType) const; + [[nodiscard]] auto SupportedPins() const; + auto GetPin(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType const& pinType) const; }; template <> struct consume { @@ -3187,8 +3183,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinOperationResult { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSuccessful() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) AttemptsRemaining() const; + [[nodiscard]] auto IsSuccessful() const; + [[nodiscard]] auto AttemptsRemaining() const; }; template <> struct consume { @@ -3197,8 +3193,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChange { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioState) RadioState() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto RadioState() const; }; template <> struct consume { @@ -3207,7 +3203,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChangeTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) RadioStateChanges() const; + [[nodiscard]] auto RadioStateChanges() const; }; template <> struct consume { @@ -3216,23 +3212,23 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBackoffEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsWiFiHardwareIntegrated() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSarControlledByHardware() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Antennas() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) HysteresisTimerPeriod() const; - WINRT_IMPL_AUTO(winrt::event_token) TransmissionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsBackoffEnabled() const; + [[nodiscard]] auto IsWiFiHardwareIntegrated() const; + [[nodiscard]] auto IsSarControlledByHardware() const; + [[nodiscard]] auto Antennas() const; + [[nodiscard]] auto HysteresisTimerPeriod() const; + auto TransmissionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TransmissionStateChanged_revoker = impl::event_revoker::remove_TransmissionStateChanged>; - [[nodiscard]] TransmissionStateChanged_revoker TransmissionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TransmissionStateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) EnableBackoffAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DisableBackoffAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetConfigurationAsync(param::async_iterable const& antennas) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RevertSarToHardwareControlAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetTransmissionStateChangedHysteresisAsync(winrt::Windows::Foundation::TimeSpan const& timerPeriod) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIsTransmittingAsync() const; - WINRT_IMPL_AUTO(void) StartTransmissionStateMonitoring() const; - WINRT_IMPL_AUTO(void) StopTransmissionStateMonitoring() const; + [[nodiscard]] auto TransmissionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TransmissionStateChanged(winrt::event_token const& token) const noexcept; + auto EnableBackoffAsync() const; + auto DisableBackoffAsync() const; + auto SetConfigurationAsync(param::async_iterable const& antennas) const; + auto RevertSarToHardwareControlAsync() const; + auto SetTransmissionStateChangedHysteresisAsync(winrt::Windows::Foundation::TimeSpan const& timerPeriod) const; + auto GetIsTransmittingAsync() const; + auto StartTransmissionStateMonitoring() const; + auto StopTransmissionStateMonitoring() const; }; template <> struct consume { @@ -3241,8 +3237,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Index() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotState) State() const; + [[nodiscard]] auto Index() const; + [[nodiscard]] auto State() const; }; template <> struct consume { @@ -3251,7 +3247,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfoChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo) SlotInfo() const; + [[nodiscard]] auto SlotInfo() const; }; template <> struct consume { @@ -3260,18 +3256,18 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SlotInfos() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CurrentSlotIndex() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus) SetCurrentSlot(int32_t slotIndex) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetCurrentSlotAsync(int32_t slotIndex) const; - WINRT_IMPL_AUTO(winrt::event_token) SlotInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SlotInfos() const; + [[nodiscard]] auto CurrentSlotIndex() const; + auto SetCurrentSlot(int32_t slotIndex) const; + auto SetCurrentSlotAsync(int32_t slotIndex) const; + auto SlotInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SlotInfoChanged_revoker = impl::event_revoker::remove_SlotInfoChanged>; - [[nodiscard]] SlotInfoChanged_revoker SlotInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SlotInfoChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CurrentSlotIndexChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SlotInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SlotInfoChanged(winrt::event_token const& token) const noexcept; + auto CurrentSlotIndexChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CurrentSlotIndexChanged_revoker = impl::event_revoker::remove_CurrentSlotIndexChanged>; - [[nodiscard]] CurrentSlotIndexChanged_revoker CurrentSlotIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CurrentSlotIndexChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CurrentSlotIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CurrentSlotIndexChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3280,7 +3276,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandTransmissionStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTransmitting() const; + [[nodiscard]] auto IsTransmitting() const; }; template <> struct consume { @@ -3289,8 +3285,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandUicc { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SimIccId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetUiccAppsAsync() const; + [[nodiscard]] auto SimIccId() const; + auto GetUiccAppsAsync() const; }; template <> struct consume { @@ -3299,10 +3295,10 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UiccAppKind) Kind() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetRecordDetailsAsync(param::async_iterable const& uiccFilePath) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadRecordAsync(param::async_iterable const& uiccFilePath, int32_t recordIndex) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Kind() const; + auto GetRecordDetailsAsync(param::async_iterable const& uiccFilePath) const; + auto ReadRecordAsync(param::async_iterable const& uiccFilePath, int32_t recordIndex) const; }; template <> struct consume { @@ -3311,8 +3307,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppReadRecordResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Data() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Data() const; }; template <> struct consume { @@ -3321,12 +3317,12 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UiccAppRecordKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RecordCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RecordSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UiccAccessCondition) ReadAccessCondition() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UiccAccessCondition) WriteAccessCondition() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto RecordCount() const; + [[nodiscard]] auto RecordSize() const; + [[nodiscard]] auto ReadAccessCondition() const; + [[nodiscard]] auto WriteAccessCondition() const; }; template <> struct consume { @@ -3335,8 +3331,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppsResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) UiccApps() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto UiccApps() const; }; template <> struct consume { @@ -3345,7 +3341,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_INetworkOperatorDataUsageTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorDataUsageNotificationKind) NotificationKind() const; + [[nodiscard]] auto NotificationKind() const; }; template <> struct consume { @@ -3354,12 +3350,12 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorEventMessageType) NotificationType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NetworkAccountId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) EncodingType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RuleId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::ISmsMessage) SmsMessage() const; + [[nodiscard]] auto NotificationType() const; + [[nodiscard]] auto NetworkAccountId() const; + [[nodiscard]] auto EncodingType() const; + [[nodiscard]] auto Message() const; + [[nodiscard]] auto RuleId() const; + [[nodiscard]] auto SmsMessage() const; }; template <> struct consume { @@ -3368,10 +3364,10 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Ssid() const; - WINRT_IMPL_AUTO(void) Ssid(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Passphrase() const; - WINRT_IMPL_AUTO(void) Passphrase(param::hstring const& value) const; + [[nodiscard]] auto Ssid() const; + auto Ssid(param::hstring const& value) const; + [[nodiscard]] auto Passphrase() const; + auto Passphrase(param::hstring const& value) const; }; template <> struct consume { @@ -3380,10 +3376,10 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2 { - WINRT_IMPL_AUTO(bool) IsBandSupported(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsBandSupportedAsync(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand) Band() const; - WINRT_IMPL_AUTO(void) Band(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& value) const; + auto IsBandSupported(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const; + auto IsBandSupportedAsync(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const; + [[nodiscard]] auto Band() const; + auto Band(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& value) const; }; template <> struct consume { @@ -3392,8 +3388,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClient { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MacAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) HostNames() const; + [[nodiscard]] auto MacAddress() const; + [[nodiscard]] auto HostNames() const; }; template <> struct consume { @@ -3402,7 +3398,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClientManager { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetTetheringClients() const; + auto GetTetheringClients() const; }; template <> struct consume { @@ -3411,7 +3407,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringEntitlementCheck { - WINRT_IMPL_AUTO(void) AuthorizeTethering(bool allow, param::hstring const& entitlementFailureReason) const; + auto AuthorizeTethering(bool allow, param::hstring const& entitlementFailureReason) const; }; template <> struct consume { @@ -3420,13 +3416,13 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxClientCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ClientCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::TetheringOperationalState) TetheringOperationalState() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringAccessPointConfiguration) GetCurrentAccessPointConfiguration() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ConfigureAccessPointAsync(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringAccessPointConfiguration const& configuration) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartTetheringAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StopTetheringAsync() const; + [[nodiscard]] auto MaxClientCount() const; + [[nodiscard]] auto ClientCount() const; + [[nodiscard]] auto TetheringOperationalState() const; + auto GetCurrentAccessPointConfiguration() const; + auto ConfigureAccessPointAsync(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringAccessPointConfiguration const& configuration) const; + auto StartTetheringAsync() const; + auto StopTetheringAsync() const; }; template <> struct consume { @@ -3435,8 +3431,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::TetheringCapability) GetTetheringCapability(param::hstring const& networkAccountId) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringManager) CreateFromNetworkAccountId(param::hstring const& networkAccountId) const; + auto GetTetheringCapability(param::hstring const& networkAccountId) const; + auto CreateFromNetworkAccountId(param::hstring const& networkAccountId) const; }; template <> struct consume { @@ -3445,8 +3441,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::TetheringCapability) GetTetheringCapabilityFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringManager) CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile) const; + auto GetTetheringCapabilityFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile) const; + auto CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile) const; }; template <> struct consume { @@ -3455,7 +3451,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringManager) CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; + auto CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; }; template <> struct consume { @@ -3464,11 +3460,11 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4 { - WINRT_IMPL_AUTO(bool) IsNoConnectionsTimeoutEnabled() const; - WINRT_IMPL_AUTO(void) EnableNoConnectionsTimeout() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) EnableNoConnectionsTimeoutAsync() const; - WINRT_IMPL_AUTO(void) DisableNoConnectionsTimeout() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DisableNoConnectionsTimeoutAsync() const; + auto IsNoConnectionsTimeoutEnabled() const; + auto EnableNoConnectionsTimeout() const; + auto EnableNoConnectionsTimeoutAsync() const; + auto DisableNoConnectionsTimeout() const; + auto DisableNoConnectionsTimeoutAsync() const; }; template <> struct consume { @@ -3477,8 +3473,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringOperationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::TetheringOperationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AdditionalErrorMessage() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto AdditionalErrorMessage() const; }; template <> struct consume { @@ -3487,8 +3483,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IProvisionFromXmlDocumentResults { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllElementsProvisioned() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProvisionResultsXml() const; + [[nodiscard]] auto AllElementsProvisioned() const; + [[nodiscard]] auto ProvisionResultsXml() const; }; template <> struct consume { @@ -3497,8 +3493,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IProvisionedProfile { - WINRT_IMPL_AUTO(void) UpdateCost(winrt::Windows::Networking::Connectivity::NetworkCostType const& value) const; - WINRT_IMPL_AUTO(void) UpdateUsage(winrt::Windows::Networking::NetworkOperators::ProfileUsage const& value) const; + auto UpdateCost(winrt::Windows::Networking::Connectivity::NetworkCostType const& value) const; + auto UpdateUsage(winrt::Windows::Networking::NetworkOperators::ProfileUsage const& value) const; }; template <> struct consume { @@ -3507,8 +3503,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IProvisioningAgent { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ProvisionFromXmlDocumentAsync(param::hstring const& provisioningXmlDocument) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ProvisionedProfile) GetProvisionedProfile(winrt::Windows::Networking::NetworkOperators::ProfileMediaType const& mediaType, param::hstring const& profileName) const; + auto ProvisionFromXmlDocumentAsync(param::hstring const& provisioningXmlDocument) const; + auto GetProvisionedProfile(winrt::Windows::Networking::NetworkOperators::ProfileMediaType const& mediaType, param::hstring const& profileName) const; }; template <> struct consume { @@ -3517,7 +3513,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IProvisioningAgentStaticMethods { - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ProvisioningAgent) CreateFromNetworkAccountId(param::hstring const& networkAccountId) const; + auto CreateFromNetworkAccountId(param::hstring const& networkAccountId) const; }; template <> struct consume { @@ -3526,9 +3522,9 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NetworkAccountId() const; - WINRT_IMPL_AUTO(void) AllowTethering() const; - WINRT_IMPL_AUTO(void) DenyTethering(param::hstring const& entitlementFailureReason) const; + [[nodiscard]] auto NetworkAccountId() const; + auto AllowTethering() const; + auto DenyTethering(param::hstring const& entitlementFailureReason) const; }; template <> struct consume { @@ -3537,12 +3533,12 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IUssdMessage { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) DataCodingScheme() const; - WINRT_IMPL_AUTO(void) DataCodingScheme(uint8_t value) const; - WINRT_IMPL_AUTO(com_array) GetPayload() const; - WINRT_IMPL_AUTO(void) SetPayload(array_view value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PayloadAsText() const; - WINRT_IMPL_AUTO(void) PayloadAsText(param::hstring const& value) const; + [[nodiscard]] auto DataCodingScheme() const; + auto DataCodingScheme(uint8_t value) const; + auto GetPayload() const; + auto SetPayload(array_view value) const; + [[nodiscard]] auto PayloadAsText() const; + auto PayloadAsText(param::hstring const& value) const; }; template <> struct consume { @@ -3551,7 +3547,7 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IUssdMessageFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UssdMessage) CreateMessage(param::hstring const& messageText) const; + auto CreateMessage(param::hstring const& messageText) const; }; template <> struct consume { @@ -3560,8 +3556,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IUssdReply { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UssdResultCode) ResultCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UssdMessage) Message() const; + [[nodiscard]] auto ResultCode() const; + [[nodiscard]] auto Message() const; }; template <> struct consume { @@ -3570,8 +3566,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IUssdSession { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendMessageAndGetReplyAsync(winrt::Windows::Networking::NetworkOperators::UssdMessage const& message) const; - WINRT_IMPL_AUTO(void) Close() const; + auto SendMessageAndGetReplyAsync(winrt::Windows::Networking::NetworkOperators::UssdMessage const& message) const; + auto Close() const; }; template <> struct consume { @@ -3580,8 +3576,8 @@ namespace winrt::impl template struct consume_Windows_Networking_NetworkOperators_IUssdSessionStatics { - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UssdSession) CreateFromNetworkAccountId(param::hstring const& networkAccountId) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UssdSession) CreateFromNetworkInterfaceId(param::hstring const& networkInterfaceId) const; + auto CreateFromNetworkAccountId(param::hstring const& networkAccountId) const; + auto CreateFromNetworkInterfaceId(param::hstring const& networkInterfaceId) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.1.h index d62ac2e0..da0ab9e8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_NetworkOperators_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.2.h index be6869a2..e9ea6481 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_NetworkOperators_2_H @@ -67,7 +67,7 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators static auto TryCreateESimWatcher(); static auto ServiceInfoChanged(winrt::Windows::Foundation::EventHandler const& handler); using ServiceInfoChanged_revoker = impl::factory_event_revoker::remove_ServiceInfoChanged>; - [[nodiscard]] static ServiceInfoChanged_revoker ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto ServiceInfoChanged(winrt::event_token const& token); }; struct __declspec(empty_bases) ESimOperationResult : winrt::Windows::Networking::NetworkOperators::IESimOperationResult diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.0.h index 360b5722..a957f5b7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_Proximity_0_H @@ -6,15 +6,9 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Networking { struct HostName; @@ -323,7 +317,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Proximity_IConnectionRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::PeerInformation) PeerInformation() const; + [[nodiscard]] auto PeerInformation() const; }; template <> struct consume { @@ -332,29 +326,29 @@ namespace winrt::impl template struct consume_Windows_Networking_Proximity_IPeerFinderStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowBluetooth() const; - WINRT_IMPL_AUTO(void) AllowBluetooth(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowInfrastructure() const; - WINRT_IMPL_AUTO(void) AllowInfrastructure(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowWiFiDirect() const; - WINRT_IMPL_AUTO(void) AllowWiFiDirect(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::PeerDiscoveryTypes) SupportedDiscoveryTypes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) AlternateIdentities() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Start(param::hstring const& peerMessage) const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(winrt::event_token) TriggeredConnectionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AllowBluetooth() const; + auto AllowBluetooth(bool value) const; + [[nodiscard]] auto AllowInfrastructure() const; + auto AllowInfrastructure(bool value) const; + [[nodiscard]] auto AllowWiFiDirect() const; + auto AllowWiFiDirect(bool value) const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto SupportedDiscoveryTypes() const; + [[nodiscard]] auto AlternateIdentities() const; + auto Start() const; + auto Start(param::hstring const& peerMessage) const; + auto Stop() const; + auto TriggeredConnectionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TriggeredConnectionStateChanged_revoker = impl::event_revoker::remove_TriggeredConnectionStateChanged>; - [[nodiscard]] TriggeredConnectionStateChanged_revoker TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TriggeredConnectionStateChanged(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TriggeredConnectionStateChanged(winrt::event_token const& cookie) const noexcept; + auto ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ConnectionRequested_revoker = impl::event_revoker::remove_ConnectionRequested>; - [[nodiscard]] ConnectionRequested_revoker ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ConnectionRequested(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllPeersAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConnectAsync(winrt::Windows::Networking::Proximity::PeerInformation const& peerInformation) const; + [[nodiscard]] auto ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ConnectionRequested(winrt::event_token const& cookie) const noexcept; + auto FindAllPeersAsync() const; + auto ConnectAsync(winrt::Windows::Networking::Proximity::PeerInformation const& peerInformation) const; }; template <> struct consume { @@ -363,11 +357,11 @@ namespace winrt::impl template struct consume_Windows_Networking_Proximity_IPeerFinderStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::PeerRole) Role() const; - WINRT_IMPL_AUTO(void) Role(winrt::Windows::Networking::Proximity::PeerRole const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) DiscoveryData() const; - WINRT_IMPL_AUTO(void) DiscoveryData(winrt::Windows::Storage::Streams::IBuffer const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::PeerWatcher) CreateWatcher() const; + [[nodiscard]] auto Role() const; + auto Role(winrt::Windows::Networking::Proximity::PeerRole const& value) const; + [[nodiscard]] auto DiscoveryData() const; + auto DiscoveryData(winrt::Windows::Storage::Streams::IBuffer const& value) const; + auto CreateWatcher() const; }; template <> struct consume { @@ -376,7 +370,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Proximity_IPeerInformation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; + [[nodiscard]] auto DisplayName() const; }; template <> struct consume { @@ -385,8 +379,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Proximity_IPeerInformation3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) DiscoveryData() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DiscoveryData() const; }; template <> struct consume { @@ -395,8 +389,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Proximity_IPeerInformationWithHostAndService { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) HostName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceName() const; + [[nodiscard]] auto HostName() const; + [[nodiscard]] auto ServiceName() const; }; template <> struct consume { @@ -405,29 +399,29 @@ namespace winrt::impl template struct consume_Windows_Networking_Proximity_IPeerWatcher { - WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Added_revoker = impl::event_revoker::remove_Added>; - [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Added(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Removed_revoker = impl::event_revoker::remove_Removed>; - [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Removed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Updated_revoker = impl::event_revoker::remove_Updated>; - [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Updated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Stopped(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::PeerWatcherStatus) Status() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; }; template <> struct consume { @@ -436,26 +430,26 @@ namespace winrt::impl template struct consume_Windows_Networking_Proximity_IProximityDevice { - WINRT_IMPL_AUTO(int64_t) SubscribeForMessage(param::hstring const& messageType, winrt::Windows::Networking::Proximity::MessageReceivedHandler const& messageReceivedHandler) const; - WINRT_IMPL_AUTO(int64_t) PublishMessage(param::hstring const& messageType, param::hstring const& message) const; - WINRT_IMPL_AUTO(int64_t) PublishMessage(param::hstring const& messageType, param::hstring const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const; - WINRT_IMPL_AUTO(int64_t) PublishBinaryMessage(param::hstring const& messageType, winrt::Windows::Storage::Streams::IBuffer const& message) const; - WINRT_IMPL_AUTO(int64_t) PublishBinaryMessage(param::hstring const& messageType, winrt::Windows::Storage::Streams::IBuffer const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const; - WINRT_IMPL_AUTO(int64_t) PublishUriMessage(winrt::Windows::Foundation::Uri const& message) const; - WINRT_IMPL_AUTO(int64_t) PublishUriMessage(winrt::Windows::Foundation::Uri const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const; - WINRT_IMPL_AUTO(void) StopSubscribingForMessage(int64_t subscriptionId) const; - WINRT_IMPL_AUTO(void) StopPublishingMessage(int64_t messageId) const; - WINRT_IMPL_AUTO(winrt::event_token) DeviceArrived(winrt::Windows::Networking::Proximity::DeviceArrivedEventHandler const& arrivedHandler) const; + auto SubscribeForMessage(param::hstring const& messageType, winrt::Windows::Networking::Proximity::MessageReceivedHandler const& messageReceivedHandler) const; + auto PublishMessage(param::hstring const& messageType, param::hstring const& message) const; + auto PublishMessage(param::hstring const& messageType, param::hstring const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const; + auto PublishBinaryMessage(param::hstring const& messageType, winrt::Windows::Storage::Streams::IBuffer const& message) const; + auto PublishBinaryMessage(param::hstring const& messageType, winrt::Windows::Storage::Streams::IBuffer const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const; + auto PublishUriMessage(winrt::Windows::Foundation::Uri const& message) const; + auto PublishUriMessage(winrt::Windows::Foundation::Uri const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const; + auto StopSubscribingForMessage(int64_t subscriptionId) const; + auto StopPublishingMessage(int64_t messageId) const; + auto DeviceArrived(winrt::Windows::Networking::Proximity::DeviceArrivedEventHandler const& arrivedHandler) const; using DeviceArrived_revoker = impl::event_revoker::remove_DeviceArrived>; - [[nodiscard]] DeviceArrived_revoker DeviceArrived(auto_revoke_t, winrt::Windows::Networking::Proximity::DeviceArrivedEventHandler const& arrivedHandler) const; - WINRT_IMPL_AUTO(void) DeviceArrived(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DeviceDeparted(winrt::Windows::Networking::Proximity::DeviceDepartedEventHandler const& departedHandler) const; + [[nodiscard]] auto DeviceArrived(auto_revoke_t, winrt::Windows::Networking::Proximity::DeviceArrivedEventHandler const& arrivedHandler) const; + auto DeviceArrived(winrt::event_token const& cookie) const noexcept; + auto DeviceDeparted(winrt::Windows::Networking::Proximity::DeviceDepartedEventHandler const& departedHandler) const; using DeviceDeparted_revoker = impl::event_revoker::remove_DeviceDeparted>; - [[nodiscard]] DeviceDeparted_revoker DeviceDeparted(auto_revoke_t, winrt::Windows::Networking::Proximity::DeviceDepartedEventHandler const& departedHandler) const; - WINRT_IMPL_AUTO(void) DeviceDeparted(winrt::event_token const& cookie) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxMessageBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) BitsPerSecond() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceDeparted(auto_revoke_t, winrt::Windows::Networking::Proximity::DeviceDepartedEventHandler const& departedHandler) const; + auto DeviceDeparted(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto MaxMessageBytes() const; + [[nodiscard]] auto BitsPerSecond() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -464,9 +458,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Proximity_IProximityDeviceStatics { - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::ProximityDevice) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::ProximityDevice) FromId(param::hstring const& deviceId) const; + auto GetDeviceSelector() const; + auto GetDefault() const; + auto FromId(param::hstring const& deviceId) const; }; template <> struct consume { @@ -475,10 +469,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Proximity_IProximityMessage { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MessageType() const; - [[nodiscard]] WINRT_IMPL_AUTO(int64_t) SubscriptionId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Data() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DataAsString() const; + [[nodiscard]] auto MessageType() const; + [[nodiscard]] auto SubscriptionId() const; + [[nodiscard]] auto Data() const; + [[nodiscard]] auto DataAsString() const; }; template <> struct consume { @@ -487,9 +481,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Proximity_ITriggeredConnectionStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::TriggeredConnectState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocket) Socket() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Socket() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.1.h index 24d3f29e..417c9e69 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_Proximity_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.2.h index afa0670a..ac3f28a7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_Proximity_2_H @@ -75,11 +75,11 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Proximity static auto Stop(); static auto TriggeredConnectionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler); using TriggeredConnectionStateChanged_revoker = impl::factory_event_revoker::remove_TriggeredConnectionStateChanged>; - [[nodiscard]] static TriggeredConnectionStateChanged_revoker TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); + [[nodiscard]] static auto TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); static auto TriggeredConnectionStateChanged(winrt::event_token const& cookie); static auto ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler); using ConnectionRequested_revoker = impl::factory_event_revoker::remove_ConnectionRequested>; - [[nodiscard]] static ConnectionRequested_revoker ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); + [[nodiscard]] static auto ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); static auto ConnectionRequested(winrt::event_token const& cookie); static auto FindAllPeersAsync(); static auto ConnectAsync(winrt::Windows::Networking::Proximity::PeerInformation const& peerInformation); diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.0.h index f46651e6..b4bfcaa9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_PushNotifications_0_H @@ -7,13 +7,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IMapView; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IBuffer; @@ -218,13 +213,13 @@ namespace winrt::impl template struct consume_Windows_Networking_PushNotifications_IPushNotificationChannel { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) ExpirationTime() const; - WINRT_IMPL_AUTO(void) Close() const; - WINRT_IMPL_AUTO(winrt::event_token) PushNotificationReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto ExpirationTime() const; + auto Close() const; + auto PushNotificationReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PushNotificationReceived_revoker = impl::event_revoker::remove_PushNotificationReceived>; - [[nodiscard]] PushNotificationReceived_revoker PushNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PushNotificationReceived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PushNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PushNotificationReceived(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -233,10 +228,10 @@ namespace winrt::impl template struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreatePushNotificationChannelForApplicationAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreatePushNotificationChannelForApplicationAsync(param::hstring const& applicationId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreatePushNotificationChannelForSecondaryTileAsync(param::hstring const& tileId) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + auto CreatePushNotificationChannelForApplicationAsync() const; + auto CreatePushNotificationChannelForApplicationAsync(param::hstring const& applicationId) const; + auto CreatePushNotificationChannelForSecondaryTileAsync(param::hstring const& tileId) const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -245,8 +240,8 @@ namespace winrt::impl template struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(winrt::Windows::Storage::Streams::IBuffer const& appServerKey, param::hstring const& channelId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(winrt::Windows::Storage::Streams::IBuffer const& appServerKey, param::hstring const& channelId, param::hstring const& appId) const; + auto CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(winrt::Windows::Storage::Streams::IBuffer const& appServerKey, param::hstring const& channelId) const; + auto CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(winrt::Windows::Storage::Streams::IBuffer const& appServerKey, param::hstring const& channelId, param::hstring const& appId) const; }; template <> struct consume { @@ -255,9 +250,9 @@ namespace winrt::impl template struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreatePushNotificationChannelForApplicationAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreatePushNotificationChannelForApplicationAsync(param::hstring const& applicationId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreatePushNotificationChannelForSecondaryTileAsync(param::hstring const& tileId) const; + auto CreatePushNotificationChannelForApplicationAsync() const; + auto CreatePushNotificationChannelForApplicationAsync(param::hstring const& applicationId) const; + auto CreatePushNotificationChannelForSecondaryTileAsync(param::hstring const& tileId) const; }; template <> struct consume { @@ -266,7 +261,7 @@ namespace winrt::impl template struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Networking::PushNotifications::PushNotificationChannelManagerForUser) GetForUser(winrt::Windows::System::User const& user) const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -275,7 +270,7 @@ namespace winrt::impl template struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Networking::PushNotifications::PushNotificationChannelManagerForUser) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -284,10 +279,10 @@ namespace winrt::impl template struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4 { - WINRT_IMPL_AUTO(winrt::event_token) ChannelsRevoked(winrt::Windows::Foundation::EventHandler const& handler) const; + auto ChannelsRevoked(winrt::Windows::Foundation::EventHandler const& handler) const; using ChannelsRevoked_revoker = impl::event_revoker::remove_ChannelsRevoked>; - [[nodiscard]] ChannelsRevoked_revoker ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ChannelsRevoked(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ChannelsRevoked(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -304,13 +299,13 @@ namespace winrt::impl template struct consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs { - WINRT_IMPL_AUTO(void) Cancel(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::PushNotifications::PushNotificationType) NotificationType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) ToastNotification() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) TileNotification() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeNotification) BadgeNotification() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::PushNotifications::RawNotification) RawNotification() const; + auto Cancel(bool value) const; + [[nodiscard]] auto Cancel() const; + [[nodiscard]] auto NotificationType() const; + [[nodiscard]] auto ToastNotification() const; + [[nodiscard]] auto TileNotification() const; + [[nodiscard]] auto BadgeNotification() const; + [[nodiscard]] auto RawNotification() const; }; template <> struct consume { @@ -319,7 +314,7 @@ namespace winrt::impl template struct consume_Windows_Networking_PushNotifications_IRawNotification { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Content() const; + [[nodiscard]] auto Content() const; }; template <> struct consume { @@ -328,8 +323,8 @@ namespace winrt::impl template struct consume_Windows_Networking_PushNotifications_IRawNotification2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Headers() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ChannelId() const; + [[nodiscard]] auto Headers() const; + [[nodiscard]] auto ChannelId() const; }; template <> struct consume { @@ -338,7 +333,7 @@ namespace winrt::impl template struct consume_Windows_Networking_PushNotifications_IRawNotification3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ContentBytes() const; + [[nodiscard]] auto ContentBytes() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.1.h index 9d14fbc4..a8914c22 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_PushNotifications_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.2.h index 64aedcf5..c96e57d0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_PushNotifications_2_H @@ -23,7 +23,7 @@ WINRT_EXPORT namespace winrt::Windows::Networking::PushNotifications static auto GetDefault(); static auto ChannelsRevoked(winrt::Windows::Foundation::EventHandler const& handler); using ChannelsRevoked_revoker = impl::factory_event_revoker::remove_ChannelsRevoked>; - [[nodiscard]] static ChannelsRevoked_revoker ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto ChannelsRevoked(winrt::event_token const& token); }; struct __declspec(empty_bases) PushNotificationChannelManagerForUser : winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerForUser, diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.0.h index ea627561..f70d51b1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_ServiceDiscovery_Dnssd_0_H @@ -6,12 +6,10 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { - template struct __declspec(empty_bases) IMap; template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Networking @@ -139,9 +137,9 @@ namespace winrt::impl template struct consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdRegistrationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) IPAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasInstanceNameChanged() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto IPAddress() const; + [[nodiscard]] auto HasInstanceNameChanged() const; }; template <> struct consume { @@ -150,21 +148,21 @@ namespace winrt::impl template struct consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DnssdServiceInstanceName() const; - WINRT_IMPL_AUTO(void) DnssdServiceInstanceName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) HostName() const; - WINRT_IMPL_AUTO(void) HostName(winrt::Windows::Networking::HostName const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Port() const; - WINRT_IMPL_AUTO(void) Port(uint16_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Priority() const; - WINRT_IMPL_AUTO(void) Priority(uint16_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Weight() const; - WINRT_IMPL_AUTO(void) Weight(uint16_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) TextAttributes() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RegisterStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& socket) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RegisterStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& socket, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RegisterDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& socket) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RegisterDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& socket, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; + [[nodiscard]] auto DnssdServiceInstanceName() const; + auto DnssdServiceInstanceName(param::hstring const& value) const; + [[nodiscard]] auto HostName() const; + auto HostName(winrt::Windows::Networking::HostName const& value) const; + [[nodiscard]] auto Port() const; + auto Port(uint16_t value) const; + [[nodiscard]] auto Priority() const; + auto Priority(uint16_t value) const; + [[nodiscard]] auto Weight() const; + auto Weight(uint16_t value) const; + [[nodiscard]] auto TextAttributes() const; + auto RegisterStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& socket) const; + auto RegisterStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& socket, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; + auto RegisterDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& socket) const; + auto RegisterDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& socket, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; }; template <> struct consume { @@ -173,7 +171,7 @@ namespace winrt::impl template struct consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstanceFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceInstance) Create(param::hstring const& dnssdServiceInstanceName, winrt::Windows::Networking::HostName const& hostName, uint16_t port) const; + auto Create(param::hstring const& dnssdServiceInstanceName, winrt::Windows::Networking::HostName const& hostName, uint16_t port) const; }; template <> struct consume { @@ -182,21 +180,21 @@ namespace winrt::impl template struct consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher { - WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Added_revoker = impl::event_revoker::remove_Added>; - [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Added(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Stopped(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcherStatus) Status() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.1.h index 1d10e8a0..a82004d9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_ServiceDiscovery_Dnssd_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.2.h index a78553ec..8f5c11c3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_ServiceDiscovery_Dnssd_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.0.h index 47f3ca65..bb44c111 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_Sockets_0_H @@ -13,17 +13,9 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct Deferral; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Networking { struct EndpointPair; @@ -41,7 +33,6 @@ WINRT_EXPORT namespace winrt::Windows::Security::Credentials WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Certificates { struct Certificate; - enum class ChainValidationResult : int32_t; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { @@ -1170,17 +1161,17 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IControlChannelTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ControlChannelTriggerId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ServerKeepAliveIntervalInMinutes() const; - WINRT_IMPL_AUTO(void) ServerKeepAliveIntervalInMinutes(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CurrentKeepAliveIntervalInMinutes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) TransportObject() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger) KeepAliveTrigger() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger) PushNotificationTrigger() const; - WINRT_IMPL_AUTO(void) UsingTransport(winrt::Windows::Foundation::IInspectable const& transport) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTriggerStatus) WaitForPushEnabled() const; - WINRT_IMPL_AUTO(void) DecreaseNetworkKeepAliveInterval() const; - WINRT_IMPL_AUTO(void) FlushTransport() const; + [[nodiscard]] auto ControlChannelTriggerId() const; + [[nodiscard]] auto ServerKeepAliveIntervalInMinutes() const; + auto ServerKeepAliveIntervalInMinutes(uint32_t value) const; + [[nodiscard]] auto CurrentKeepAliveIntervalInMinutes() const; + [[nodiscard]] auto TransportObject() const; + [[nodiscard]] auto KeepAliveTrigger() const; + [[nodiscard]] auto PushNotificationTrigger() const; + auto UsingTransport(winrt::Windows::Foundation::IInspectable const& transport) const; + auto WaitForPushEnabled() const; + auto DecreaseNetworkKeepAliveInterval() const; + auto FlushTransport() const; }; template <> struct consume { @@ -1189,7 +1180,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IControlChannelTrigger2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsWakeFromLowPowerSupported() const; + [[nodiscard]] auto IsWakeFromLowPowerSupported() const; }; template <> struct consume { @@ -1198,7 +1189,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IControlChannelTriggerEventDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTrigger) ControlChannelTrigger() const; + [[nodiscard]] auto ControlChannelTrigger() const; }; template <> struct consume { @@ -1207,8 +1198,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IControlChannelTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTrigger) CreateControlChannelTrigger(param::hstring const& channelId, uint32_t serverKeepAliveIntervalInMinutes) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTrigger) CreateControlChannelTriggerEx(param::hstring const& channelId, uint32_t serverKeepAliveIntervalInMinutes, winrt::Windows::Networking::Sockets::ControlChannelTriggerResourceType const& resourceRequestType) const; + auto CreateControlChannelTrigger(param::hstring const& channelId, uint32_t serverKeepAliveIntervalInMinutes) const; + auto CreateControlChannelTriggerEx(param::hstring const& channelId, uint32_t serverKeepAliveIntervalInMinutes, winrt::Windows::Networking::Sockets::ControlChannelTriggerResourceType const& resourceRequestType) const; }; template <> struct consume { @@ -1217,9 +1208,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IControlChannelTriggerResetEventDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTriggerResetReason) ResetReason() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HardwareSlotReset() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SoftwareSlotReset() const; + [[nodiscard]] auto ResetReason() const; + [[nodiscard]] auto HardwareSlotReset() const; + [[nodiscard]] auto SoftwareSlotReset() const; }; template <> struct consume { @@ -1228,20 +1219,20 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IDatagramSocket { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::DatagramSocketControl) Control() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::DatagramSocketInformation) Information() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) OutputStream() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) BindServiceNameAsync(param::hstring const& localServiceName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) BindEndpointAsync(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName) const; - WINRT_IMPL_AUTO(void) JoinMulticastGroup(winrt::Windows::Networking::HostName const& host) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetOutputStreamAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetOutputStreamAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const; - WINRT_IMPL_AUTO(winrt::event_token) MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto Control() const; + [[nodiscard]] auto Information() const; + [[nodiscard]] auto OutputStream() const; + auto ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; + auto ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const; + auto BindServiceNameAsync(param::hstring const& localServiceName) const; + auto BindEndpointAsync(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName) const; + auto JoinMulticastGroup(winrt::Windows::Networking::HostName const& host) const; + auto GetOutputStreamAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; + auto GetOutputStreamAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const; + auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using MessageReceived_revoker = impl::event_revoker::remove_MessageReceived>; - [[nodiscard]] MessageReceived_revoker MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) MessageReceived(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto MessageReceived(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -1250,7 +1241,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IDatagramSocket2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; + auto BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; }; template <> struct consume { @@ -1259,12 +1250,12 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IDatagramSocket3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CancelIOAsync() const; - WINRT_IMPL_AUTO(void) EnableTransferOwnership(winrt::guid const& taskId) const; - WINRT_IMPL_AUTO(void) EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const; - WINRT_IMPL_AUTO(void) TransferOwnership(param::hstring const& socketId) const; - WINRT_IMPL_AUTO(void) TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const; - WINRT_IMPL_AUTO(void) TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data, winrt::Windows::Foundation::TimeSpan const& keepAliveTime) const; + auto CancelIOAsync() const; + auto EnableTransferOwnership(winrt::guid const& taskId) const; + auto EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const; + auto TransferOwnership(param::hstring const& socketId) const; + auto TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const; + auto TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data, winrt::Windows::Foundation::TimeSpan const& keepAliveTime) const; }; template <> struct consume { @@ -1273,10 +1264,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IDatagramSocketControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketQualityOfService) QualityOfService() const; - WINRT_IMPL_AUTO(void) QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) OutboundUnicastHopLimit() const; - WINRT_IMPL_AUTO(void) OutboundUnicastHopLimit(uint8_t value) const; + [[nodiscard]] auto QualityOfService() const; + auto QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const; + [[nodiscard]] auto OutboundUnicastHopLimit() const; + auto OutboundUnicastHopLimit(uint8_t value) const; }; template <> struct consume { @@ -1285,10 +1276,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IDatagramSocketControl2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) InboundBufferSizeInBytes() const; - WINRT_IMPL_AUTO(void) InboundBufferSizeInBytes(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DontFragment() const; - WINRT_IMPL_AUTO(void) DontFragment(bool value) const; + [[nodiscard]] auto InboundBufferSizeInBytes() const; + auto InboundBufferSizeInBytes(uint32_t value) const; + [[nodiscard]] auto DontFragment() const; + auto DontFragment(bool value) const; }; template <> struct consume { @@ -1297,8 +1288,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IDatagramSocketControl3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) MulticastOnly() const; - WINRT_IMPL_AUTO(void) MulticastOnly(bool value) const; + [[nodiscard]] auto MulticastOnly() const; + auto MulticastOnly(bool value) const; }; template <> struct consume { @@ -1307,10 +1298,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IDatagramSocketInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) LocalAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LocalPort() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) RemoteAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemotePort() const; + [[nodiscard]] auto LocalAddress() const; + [[nodiscard]] auto LocalPort() const; + [[nodiscard]] auto RemoteAddress() const; + [[nodiscard]] auto RemotePort() const; }; template <> struct consume { @@ -1319,11 +1310,11 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) RemoteAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemotePort() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) LocalAddress() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataReader) GetDataReader() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) GetDataStream() const; + [[nodiscard]] auto RemoteAddress() const; + [[nodiscard]] auto RemotePort() const; + [[nodiscard]] auto LocalAddress() const; + auto GetDataReader() const; + auto GetDataStream() const; }; template <> struct consume { @@ -1332,8 +1323,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IDatagramSocketStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const; + auto GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; + auto GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const; }; template <> struct consume { @@ -1342,12 +1333,12 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IMessageWebSocket { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::MessageWebSocketControl) Control() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::MessageWebSocketInformation) Information() const; - WINRT_IMPL_AUTO(winrt::event_token) MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto Control() const; + [[nodiscard]] auto Information() const; + auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using MessageReceived_revoker = impl::event_revoker::remove_MessageReceived>; - [[nodiscard]] MessageReceived_revoker MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) MessageReceived(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto MessageReceived(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -1356,10 +1347,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IMessageWebSocket2 { - WINRT_IMPL_AUTO(winrt::event_token) ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using ServerCustomValidationRequested_revoker = impl::event_revoker::remove_ServerCustomValidationRequested>; - [[nodiscard]] ServerCustomValidationRequested_revoker ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) ServerCustomValidationRequested(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto ServerCustomValidationRequested(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -1368,8 +1359,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IMessageWebSocket3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) SendNonfinalFrameAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) SendFinalFrameAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto SendNonfinalFrameAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto SendFinalFrameAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; }; template <> struct consume { @@ -1378,10 +1369,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IMessageWebSocketControl { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxMessageSize() const; - WINRT_IMPL_AUTO(void) MaxMessageSize(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketMessageType) MessageType() const; - WINRT_IMPL_AUTO(void) MessageType(winrt::Windows::Networking::Sockets::SocketMessageType const& value) const; + [[nodiscard]] auto MaxMessageSize() const; + auto MaxMessageSize(uint32_t value) const; + [[nodiscard]] auto MessageType() const; + auto MessageType(winrt::Windows::Networking::Sockets::SocketMessageType const& value) const; }; template <> struct consume { @@ -1390,13 +1381,13 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IMessageWebSocketControl2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DesiredUnsolicitedPongInterval() const; - WINRT_IMPL_AUTO(void) DesiredUnsolicitedPongInterval(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) ActualUnsolicitedPongInterval() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::MessageWebSocketReceiveMode) ReceiveMode() const; - WINRT_IMPL_AUTO(void) ReceiveMode(winrt::Windows::Networking::Sockets::MessageWebSocketReceiveMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) ClientCertificate() const; - WINRT_IMPL_AUTO(void) ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; + [[nodiscard]] auto DesiredUnsolicitedPongInterval() const; + auto DesiredUnsolicitedPongInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto ActualUnsolicitedPongInterval() const; + [[nodiscard]] auto ReceiveMode() const; + auto ReceiveMode(winrt::Windows::Networking::Sockets::MessageWebSocketReceiveMode const& value) const; + [[nodiscard]] auto ClientCertificate() const; + auto ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; }; template <> struct consume { @@ -1405,9 +1396,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketMessageType) MessageType() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataReader) GetDataReader() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) GetDataStream() const; + [[nodiscard]] auto MessageType() const; + auto GetDataReader() const; + auto GetDataStream() const; }; template <> struct consume { @@ -1416,7 +1407,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMessageComplete() const; + [[nodiscard]] auto IsMessageComplete() const; }; template <> struct consume { @@ -1425,18 +1416,18 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IServerMessageWebSocket { - WINRT_IMPL_AUTO(winrt::event_token) MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& value) const; using MessageReceived_revoker = impl::event_revoker::remove_MessageReceived>; - [[nodiscard]] MessageReceived_revoker MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) MessageReceived(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerMessageWebSocketControl) Control() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerMessageWebSocketInformation) Information() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) OutputStream() const; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto MessageReceived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Control() const; + [[nodiscard]] auto Information() const; + [[nodiscard]] auto OutputStream() const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& value) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Close(uint16_t code, param::hstring const& reason) const; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto Closed(winrt::event_token const& token) const noexcept; + auto Close(uint16_t code, param::hstring const& reason) const; }; template <> struct consume { @@ -1445,8 +1436,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IServerMessageWebSocketControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketMessageType) MessageType() const; - WINRT_IMPL_AUTO(void) MessageType(winrt::Windows::Networking::Sockets::SocketMessageType const& value) const; + [[nodiscard]] auto MessageType() const; + auto MessageType(winrt::Windows::Networking::Sockets::SocketMessageType const& value) const; }; template <> struct consume { @@ -1455,9 +1446,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IServerMessageWebSocketInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::BandwidthStatistics) BandwidthStatistics() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Protocol() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) LocalAddress() const; + [[nodiscard]] auto BandwidthStatistics() const; + [[nodiscard]] auto Protocol() const; + [[nodiscard]] auto LocalAddress() const; }; template <> struct consume { @@ -1466,14 +1457,14 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IServerStreamWebSocket { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerStreamWebSocketInformation) Information() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) InputStream() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) OutputStream() const; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto Information() const; + [[nodiscard]] auto InputStream() const; + [[nodiscard]] auto OutputStream() const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& value) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Close(uint16_t code, param::hstring const& reason) const; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto Closed(winrt::event_token const& token) const noexcept; + auto Close(uint16_t code, param::hstring const& reason) const; }; template <> struct consume { @@ -1482,9 +1473,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IServerStreamWebSocketInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::BandwidthStatistics) BandwidthStatistics() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Protocol() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) LocalAddress() const; + [[nodiscard]] auto BandwidthStatistics() const; + [[nodiscard]] auto Protocol() const; + [[nodiscard]] auto LocalAddress() const; }; template <> struct consume { @@ -1493,7 +1484,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_ISocketActivityContext { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Data() const; + [[nodiscard]] auto Data() const; }; template <> struct consume { @@ -1502,7 +1493,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_ISocketActivityContextFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketActivityContext) Create(winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto Create(winrt::Windows::Storage::Streams::IBuffer const& data) const; }; template <> struct consume { @@ -1511,13 +1502,13 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_ISocketActivityInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TaskId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketActivityKind) SocketKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketActivityContext) Context() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::DatagramSocket) DatagramSocket() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocket) StreamSocket() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocketListener) StreamSocketListener() const; + [[nodiscard]] auto TaskId() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto SocketKind() const; + [[nodiscard]] auto Context() const; + [[nodiscard]] auto DatagramSocket() const; + [[nodiscard]] auto StreamSocket() const; + [[nodiscard]] auto StreamSocketListener() const; }; template <> struct consume { @@ -1526,7 +1517,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_ISocketActivityInformationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) AllSockets() const; + [[nodiscard]] auto AllSockets() const; }; template <> struct consume { @@ -1535,8 +1526,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_ISocketActivityTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketActivityTriggerReason) Reason() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketActivityInformation) SocketInformation() const; + [[nodiscard]] auto Reason() const; + [[nodiscard]] auto SocketInformation() const; }; template <> struct consume { @@ -1545,7 +1536,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_ISocketErrorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketErrorStatus) GetStatus(int32_t hresult) const; + auto GetStatus(int32_t hresult) const; }; template <> struct consume { @@ -1554,15 +1545,15 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocket { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocketControl) Control() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocketInformation) Information() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) InputStream() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) OutputStream() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UpgradeToSslAsync(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::HostName const& validationHostName) const; + [[nodiscard]] auto Control() const; + [[nodiscard]] auto Information() const; + [[nodiscard]] auto InputStream() const; + [[nodiscard]] auto OutputStream() const; + auto ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const; + auto ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; + auto ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const; + auto ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const; + auto UpgradeToSslAsync(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::HostName const& validationHostName) const; }; template <> struct consume { @@ -1571,7 +1562,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocket2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; + auto ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; }; template <> struct consume { @@ -1580,12 +1571,12 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocket3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CancelIOAsync() const; - WINRT_IMPL_AUTO(void) EnableTransferOwnership(winrt::guid const& taskId) const; - WINRT_IMPL_AUTO(void) EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const; - WINRT_IMPL_AUTO(void) TransferOwnership(param::hstring const& socketId) const; - WINRT_IMPL_AUTO(void) TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const; - WINRT_IMPL_AUTO(void) TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data, winrt::Windows::Foundation::TimeSpan const& keepAliveTime) const; + auto CancelIOAsync() const; + auto EnableTransferOwnership(winrt::guid const& taskId) const; + auto EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const; + auto TransferOwnership(param::hstring const& socketId) const; + auto TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const; + auto TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data, winrt::Windows::Foundation::TimeSpan const& keepAliveTime) const; }; template <> struct consume { @@ -1594,16 +1585,16 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocketControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) NoDelay() const; - WINRT_IMPL_AUTO(void) NoDelay(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) KeepAlive() const; - WINRT_IMPL_AUTO(void) KeepAlive(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) OutboundBufferSizeInBytes() const; - WINRT_IMPL_AUTO(void) OutboundBufferSizeInBytes(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketQualityOfService) QualityOfService() const; - WINRT_IMPL_AUTO(void) QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) OutboundUnicastHopLimit() const; - WINRT_IMPL_AUTO(void) OutboundUnicastHopLimit(uint8_t value) const; + [[nodiscard]] auto NoDelay() const; + auto NoDelay(bool value) const; + [[nodiscard]] auto KeepAlive() const; + auto KeepAlive(bool value) const; + [[nodiscard]] auto OutboundBufferSizeInBytes() const; + auto OutboundBufferSizeInBytes(uint32_t value) const; + [[nodiscard]] auto QualityOfService() const; + auto QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const; + [[nodiscard]] auto OutboundUnicastHopLimit() const; + auto OutboundUnicastHopLimit(uint8_t value) const; }; template <> struct consume { @@ -1612,7 +1603,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocketControl2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) IgnorableServerCertificateErrors() const; + [[nodiscard]] auto IgnorableServerCertificateErrors() const; }; template <> struct consume { @@ -1621,10 +1612,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocketControl3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) SerializeConnectionAttempts() const; - WINRT_IMPL_AUTO(void) SerializeConnectionAttempts(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) ClientCertificate() const; - WINRT_IMPL_AUTO(void) ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; + [[nodiscard]] auto SerializeConnectionAttempts() const; + auto SerializeConnectionAttempts(bool value) const; + [[nodiscard]] auto ClientCertificate() const; + auto ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; }; template <> struct consume { @@ -1633,8 +1624,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocketControl4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketProtectionLevel) MinProtectionLevel() const; - WINRT_IMPL_AUTO(void) MinProtectionLevel(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& value) const; + [[nodiscard]] auto MinProtectionLevel() const; + auto MinProtectionLevel(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& value) const; }; template <> struct consume { @@ -1643,16 +1634,16 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocketInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) LocalAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LocalPort() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) RemoteHostName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) RemoteAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteServiceName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemotePort() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::RoundTripTimeStatistics) RoundTripTimeStatistics() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::BandwidthStatistics) BandwidthStatistics() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketProtectionLevel) ProtectionLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) SessionKey() const; + [[nodiscard]] auto LocalAddress() const; + [[nodiscard]] auto LocalPort() const; + [[nodiscard]] auto RemoteHostName() const; + [[nodiscard]] auto RemoteAddress() const; + [[nodiscard]] auto RemoteServiceName() const; + [[nodiscard]] auto RemotePort() const; + [[nodiscard]] auto RoundTripTimeStatistics() const; + [[nodiscard]] auto BandwidthStatistics() const; + [[nodiscard]] auto ProtectionLevel() const; + [[nodiscard]] auto SessionKey() const; }; template <> struct consume { @@ -1661,10 +1652,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocketInformation2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) ServerCertificateErrorSeverity() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServerCertificateErrors() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) ServerCertificate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServerIntermediateCertificates() const; + [[nodiscard]] auto ServerCertificateErrorSeverity() const; + [[nodiscard]] auto ServerCertificateErrors() const; + [[nodiscard]] auto ServerCertificate() const; + [[nodiscard]] auto ServerIntermediateCertificates() const; }; template <> struct consume { @@ -1673,14 +1664,14 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocketListener { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocketListenerControl) Control() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocketListenerInformation) Information() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) BindServiceNameAsync(param::hstring const& localServiceName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) BindEndpointAsync(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName) const; - WINRT_IMPL_AUTO(winrt::event_token) ConnectionReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto Control() const; + [[nodiscard]] auto Information() const; + auto BindServiceNameAsync(param::hstring const& localServiceName) const; + auto BindEndpointAsync(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName) const; + auto ConnectionReceived(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using ConnectionReceived_revoker = impl::event_revoker::remove_ConnectionReceived>; - [[nodiscard]] ConnectionReceived_revoker ConnectionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) ConnectionReceived(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto ConnectionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto ConnectionReceived(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -1689,8 +1680,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocketListener2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; + auto BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const; + auto BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const; }; template <> struct consume { @@ -1699,11 +1690,11 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocketListener3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CancelIOAsync() const; - WINRT_IMPL_AUTO(void) EnableTransferOwnership(winrt::guid const& taskId) const; - WINRT_IMPL_AUTO(void) EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const; - WINRT_IMPL_AUTO(void) TransferOwnership(param::hstring const& socketId) const; - WINRT_IMPL_AUTO(void) TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const; + auto CancelIOAsync() const; + auto EnableTransferOwnership(winrt::guid const& taskId) const; + auto EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const; + auto TransferOwnership(param::hstring const& socketId) const; + auto TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const; }; template <> struct consume { @@ -1712,7 +1703,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocketListenerConnectionReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocket) Socket() const; + [[nodiscard]] auto Socket() const; }; template <> struct consume { @@ -1721,8 +1712,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocketListenerControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketQualityOfService) QualityOfService() const; - WINRT_IMPL_AUTO(void) QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const; + [[nodiscard]] auto QualityOfService() const; + auto QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const; }; template <> struct consume { @@ -1731,14 +1722,14 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocketListenerControl2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) NoDelay() const; - WINRT_IMPL_AUTO(void) NoDelay(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) KeepAlive() const; - WINRT_IMPL_AUTO(void) KeepAlive(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) OutboundBufferSizeInBytes() const; - WINRT_IMPL_AUTO(void) OutboundBufferSizeInBytes(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) OutboundUnicastHopLimit() const; - WINRT_IMPL_AUTO(void) OutboundUnicastHopLimit(uint8_t value) const; + [[nodiscard]] auto NoDelay() const; + auto NoDelay(bool value) const; + [[nodiscard]] auto KeepAlive() const; + auto KeepAlive(bool value) const; + [[nodiscard]] auto OutboundBufferSizeInBytes() const; + auto OutboundBufferSizeInBytes(uint32_t value) const; + [[nodiscard]] auto OutboundUnicastHopLimit() const; + auto OutboundUnicastHopLimit(uint8_t value) const; }; template <> struct consume { @@ -1747,7 +1738,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocketListenerInformation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LocalPort() const; + [[nodiscard]] auto LocalPort() const; }; template <> struct consume { @@ -1756,8 +1747,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamSocketStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const; + auto GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const; + auto GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const; }; template <> struct consume { @@ -1766,9 +1757,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamWebSocket { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamWebSocketControl) Control() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamWebSocketInformation) Information() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) InputStream() const; + [[nodiscard]] auto Control() const; + [[nodiscard]] auto Information() const; + [[nodiscard]] auto InputStream() const; }; template <> struct consume { @@ -1777,10 +1768,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamWebSocket2 { - WINRT_IMPL_AUTO(winrt::event_token) ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using ServerCustomValidationRequested_revoker = impl::event_revoker::remove_ServerCustomValidationRequested>; - [[nodiscard]] ServerCustomValidationRequested_revoker ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) ServerCustomValidationRequested(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto ServerCustomValidationRequested(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -1789,8 +1780,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamWebSocketControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) NoDelay() const; - WINRT_IMPL_AUTO(void) NoDelay(bool value) const; + [[nodiscard]] auto NoDelay() const; + auto NoDelay(bool value) const; }; template <> struct consume { @@ -1799,11 +1790,11 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IStreamWebSocketControl2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DesiredUnsolicitedPongInterval() const; - WINRT_IMPL_AUTO(void) DesiredUnsolicitedPongInterval(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) ActualUnsolicitedPongInterval() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) ClientCertificate() const; - WINRT_IMPL_AUTO(void) ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; + [[nodiscard]] auto DesiredUnsolicitedPongInterval() const; + auto DesiredUnsolicitedPongInterval(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto ActualUnsolicitedPongInterval() const; + [[nodiscard]] auto ClientCertificate() const; + auto ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; }; template <> struct consume { @@ -1812,14 +1803,14 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IWebSocket { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) OutputStream() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ConnectAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(void) SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto OutputStream() const; + auto ConnectAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& eventCookie) const noexcept; - WINRT_IMPL_AUTO(void) Close(uint16_t code, param::hstring const& reason) const; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Closed(winrt::event_token const& eventCookie) const noexcept; + auto Close(uint16_t code, param::hstring const& reason) const; }; template <> struct consume { @@ -1828,8 +1819,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IWebSocketClosedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Code() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Reason() const; + [[nodiscard]] auto Code() const; + [[nodiscard]] auto Reason() const; }; template <> struct consume { @@ -1838,13 +1829,13 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IWebSocketControl { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) OutboundBufferSizeInBytes() const; - WINRT_IMPL_AUTO(void) OutboundBufferSizeInBytes(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) ServerCredential() const; - WINRT_IMPL_AUTO(void) ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) ProxyCredential() const; - WINRT_IMPL_AUTO(void) ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SupportedProtocols() const; + [[nodiscard]] auto OutboundBufferSizeInBytes() const; + auto OutboundBufferSizeInBytes(uint32_t value) const; + [[nodiscard]] auto ServerCredential() const; + auto ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + [[nodiscard]] auto ProxyCredential() const; + auto ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + [[nodiscard]] auto SupportedProtocols() const; }; template <> struct consume { @@ -1853,7 +1844,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IWebSocketControl2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) IgnorableServerCertificateErrors() const; + [[nodiscard]] auto IgnorableServerCertificateErrors() const; }; template <> struct consume { @@ -1862,7 +1853,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IWebSocketErrorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) GetStatus(int32_t hresult) const; + auto GetStatus(int32_t hresult) const; }; template <> struct consume { @@ -1871,9 +1862,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IWebSocketInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) LocalAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::BandwidthStatistics) BandwidthStatistics() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Protocol() const; + [[nodiscard]] auto LocalAddress() const; + [[nodiscard]] auto BandwidthStatistics() const; + [[nodiscard]] auto Protocol() const; }; template <> struct consume { @@ -1882,10 +1873,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IWebSocketInformation2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) ServerCertificate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) ServerCertificateErrorSeverity() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServerCertificateErrors() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServerIntermediateCertificates() const; + [[nodiscard]] auto ServerCertificate() const; + [[nodiscard]] auto ServerCertificateErrorSeverity() const; + [[nodiscard]] auto ServerCertificateErrors() const; + [[nodiscard]] auto ServerIntermediateCertificates() const; }; template <> struct consume { @@ -1894,12 +1885,12 @@ namespace winrt::impl template struct consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) ServerCertificate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) ServerCertificateErrorSeverity() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServerCertificateErrors() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServerIntermediateCertificates() const; - WINRT_IMPL_AUTO(void) Reject() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto ServerCertificate() const; + [[nodiscard]] auto ServerCertificateErrorSeverity() const; + [[nodiscard]] auto ServerCertificateErrors() const; + [[nodiscard]] auto ServerIntermediateCertificates() const; + auto Reject() const; + auto GetDeferral() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.1.h index 22bdd77b..acba6b84 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_Sockets_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.2.h index 172d9d63..7265d098 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_Sockets_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.0.h index 42be193f..b2f163a5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_Vpn_0_H @@ -7,7 +7,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } @@ -1043,10 +1042,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnAppId { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAppIdType) Type() const; - WINRT_IMPL_AUTO(void) Type(winrt::Windows::Networking::Vpn::VpnAppIdType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; - WINRT_IMPL_AUTO(void) Value(param::hstring const& value) const; + [[nodiscard]] auto Type() const; + auto Type(winrt::Windows::Networking::Vpn::VpnAppIdType const& value) const; + [[nodiscard]] auto Value() const; + auto Value(param::hstring const& value) const; }; template <> struct consume { @@ -1055,7 +1054,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnAppIdFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAppId) Create(winrt::Windows::Networking::Vpn::VpnAppIdType const& type, param::hstring const& value) const; + auto Create(winrt::Windows::Networking::Vpn::VpnAppIdType const& type, param::hstring const& value) const; }; template <> struct consume { @@ -1064,24 +1063,24 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnChannel { - WINRT_IMPL_AUTO(void) AssociateTransport(winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport) const; - WINRT_IMPL_AUTO(void) Start(param::vector_view const& assignedClientIPv4list, param::vector_view const& assignedClientIPv6list, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& routeScope, winrt::Windows::Networking::Vpn::VpnNamespaceAssignment const& namespaceScope, uint32_t mtuSize, uint32_t maxFrameSize, bool optimizeForLowCostNetwork, winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport) const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPickedCredential) RequestCredentials(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, bool isRetry, bool isSingleSignOnCredential, winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; - WINRT_IMPL_AUTO(void) RequestVpnPacketBuffer(winrt::Windows::Networking::Vpn::VpnDataPathType const& type, winrt::Windows::Networking::Vpn::VpnPacketBuffer& vpnPacketBuffer) const; - WINRT_IMPL_AUTO(void) LogDiagnosticMessage(param::hstring const& message) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnChannelConfiguration) Configuration() const; - WINRT_IMPL_AUTO(winrt::event_token) ActivityChange(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AssociateTransport(winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport) const; + auto Start(param::vector_view const& assignedClientIPv4list, param::vector_view const& assignedClientIPv6list, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& routeScope, winrt::Windows::Networking::Vpn::VpnNamespaceAssignment const& namespaceScope, uint32_t mtuSize, uint32_t maxFrameSize, bool optimizeForLowCostNetwork, winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport) const; + auto Stop() const; + auto RequestCredentials(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, bool isRetry, bool isSingleSignOnCredential, winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; + auto RequestVpnPacketBuffer(winrt::Windows::Networking::Vpn::VpnDataPathType const& type, winrt::Windows::Networking::Vpn::VpnPacketBuffer& vpnPacketBuffer) const; + auto LogDiagnosticMessage(param::hstring const& message) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Configuration() const; + auto ActivityChange(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ActivityChange_revoker = impl::event_revoker::remove_ActivityChange>; - [[nodiscard]] ActivityChange_revoker ActivityChange(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ActivityChange(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) PlugInContext(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) PlugInContext() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnSystemHealth) SystemHealth() const; - WINRT_IMPL_AUTO(void) RequestCustomPrompt(param::vector_view const& customPrompt) const; - WINRT_IMPL_AUTO(void) SetErrorMessage(param::hstring const& message) const; - WINRT_IMPL_AUTO(void) SetAllowedSslTlsVersions(winrt::Windows::Foundation::IInspectable const& tunnelTransport, bool useTls12) const; + [[nodiscard]] auto ActivityChange(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ActivityChange(winrt::event_token const& token) const noexcept; + auto PlugInContext(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto PlugInContext() const; + [[nodiscard]] auto SystemHealth() const; + auto RequestCustomPrompt(param::vector_view const& customPrompt) const; + auto SetErrorMessage(param::hstring const& message) const; + auto SetAllowedSslTlsVersions(winrt::Windows::Foundation::IInspectable const& tunnelTransport, bool useTls12) const; }; template <> struct consume { @@ -1090,20 +1089,20 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnChannel2 { - WINRT_IMPL_AUTO(void) StartWithMainTransport(param::vector_view const& assignedClientIPv4list, param::vector_view const& assignedClientIPv6list, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedDomainName, uint32_t mtuSize, uint32_t maxFrameSize, bool Reserved, winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport) const; - WINRT_IMPL_AUTO(void) StartExistingTransports(param::vector_view const& assignedClientIPv4list, param::vector_view const& assignedClientIPv6list, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedDomainName, uint32_t mtuSize, uint32_t maxFrameSize, bool Reserved) const; - WINRT_IMPL_AUTO(winrt::event_token) ActivityStateChange(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StartWithMainTransport(param::vector_view const& assignedClientIPv4list, param::vector_view const& assignedClientIPv6list, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedDomainName, uint32_t mtuSize, uint32_t maxFrameSize, bool Reserved, winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport) const; + auto StartExistingTransports(param::vector_view const& assignedClientIPv4list, param::vector_view const& assignedClientIPv6list, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedDomainName, uint32_t mtuSize, uint32_t maxFrameSize, bool Reserved) const; + auto ActivityStateChange(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ActivityStateChange_revoker = impl::event_revoker::remove_ActivityStateChange>; - [[nodiscard]] ActivityStateChange_revoker ActivityStateChange(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ActivityStateChange(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) GetVpnSendPacketBuffer() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) GetVpnReceivePacketBuffer() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RequestCustomPromptAsync(param::async_vector_view const& customPromptElement) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, uint32_t credOptions, winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, uint32_t credOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType) const; - WINRT_IMPL_AUTO(void) TerminateConnection(param::hstring const& message) const; - WINRT_IMPL_AUTO(void) StartWithTrafficFilter(param::vector_view const& assignedClientIpv4List, param::vector_view const& assignedClientIpv6List, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedNamespace, uint32_t mtuSize, uint32_t maxFrameSize, bool reserved, winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport, winrt::Windows::Networking::Vpn::VpnTrafficFilterAssignment const& assignedTrafficFilters) const; + [[nodiscard]] auto ActivityStateChange(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ActivityStateChange(winrt::event_token const& token) const noexcept; + auto GetVpnSendPacketBuffer() const; + auto GetVpnReceivePacketBuffer() const; + auto RequestCustomPromptAsync(param::async_vector_view const& customPromptElement) const; + auto RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, uint32_t credOptions, winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; + auto RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, uint32_t credOptions) const; + auto RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType) const; + auto TerminateConnection(param::hstring const& message) const; + auto StartWithTrafficFilter(param::vector_view const& assignedClientIpv4List, param::vector_view const& assignedClientIpv6List, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpnInterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedNamespace, uint32_t mtuSize, uint32_t maxFrameSize, bool reserved, winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport, winrt::Windows::Networking::Vpn::VpnTrafficFilterAssignment const& assignedTrafficFilters) const; }; template <> struct consume { @@ -1112,12 +1111,12 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnChannel4 { - WINRT_IMPL_AUTO(void) AddAndAssociateTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const; - WINRT_IMPL_AUTO(void) StartWithTrafficFilter(param::iterable const& assignedClientIpv4Addresses, param::iterable const& assignedClientIpv6Addresses, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpninterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedNamespace, uint32_t mtuSize, uint32_t maxFrameSize, bool reserved, param::iterable const& transports, winrt::Windows::Networking::Vpn::VpnTrafficFilterAssignment const& assignedTrafficFilters) const; - WINRT_IMPL_AUTO(void) ReplaceAndAssociateTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const; - WINRT_IMPL_AUTO(void) StartReconnectingTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTriggerStatus) GetSlotTypeForTransportContext(winrt::Windows::Foundation::IInspectable const& context) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CurrentRequestTransportContext() const; + auto AddAndAssociateTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const; + auto StartWithTrafficFilter(param::iterable const& assignedClientIpv4Addresses, param::iterable const& assignedClientIpv6Addresses, winrt::Windows::Networking::Vpn::VpnInterfaceId const& vpninterfaceId, winrt::Windows::Networking::Vpn::VpnRouteAssignment const& assignedRoutes, winrt::Windows::Networking::Vpn::VpnDomainNameAssignment const& assignedNamespace, uint32_t mtuSize, uint32_t maxFrameSize, bool reserved, param::iterable const& transports, winrt::Windows::Networking::Vpn::VpnTrafficFilterAssignment const& assignedTrafficFilters) const; + auto ReplaceAndAssociateTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const; + auto StartReconnectingTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const; + auto GetSlotTypeForTransportContext(winrt::Windows::Foundation::IInspectable const& context) const; + [[nodiscard]] auto CurrentRequestTransportContext() const; }; template <> struct consume { @@ -1126,10 +1125,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnChannel5 { - WINRT_IMPL_AUTO(void) AppendVpnReceivePacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& decapsulatedPacketBuffer) const; - WINRT_IMPL_AUTO(void) AppendVpnSendPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& encapsulatedPacketBuffer) const; - WINRT_IMPL_AUTO(void) FlushVpnReceivePacketBuffers() const; - WINRT_IMPL_AUTO(void) FlushVpnSendPacketBuffers() const; + auto AppendVpnReceivePacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& decapsulatedPacketBuffer) const; + auto AppendVpnSendPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& encapsulatedPacketBuffer) const; + auto FlushVpnReceivePacketBuffers() const; + auto FlushVpnSendPacketBuffers() const; }; template <> struct consume { @@ -1138,7 +1137,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnChannelActivityEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnChannelActivityEventType) Type() const; + [[nodiscard]] auto Type() const; }; template <> struct consume { @@ -1147,7 +1146,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnChannelActivityStateChangedArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnChannelActivityEventType) ActivityState() const; + [[nodiscard]] auto ActivityState() const; }; template <> struct consume { @@ -1156,9 +1155,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnChannelConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServerServiceName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServerHostNameList() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CustomField() const; + [[nodiscard]] auto ServerServiceName() const; + [[nodiscard]] auto ServerHostNameList() const; + [[nodiscard]] auto CustomField() const; }; template <> struct consume { @@ -1167,7 +1166,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnChannelConfiguration2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServerUris() const; + [[nodiscard]] auto ServerUris() const; }; template <> struct consume { @@ -1176,7 +1175,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnChannelStatics { - WINRT_IMPL_AUTO(void) ProcessEventAsync(winrt::Windows::Foundation::IInspectable const& thirdPartyPlugIn, winrt::Windows::Foundation::IInspectable const& event) const; + auto ProcessEventAsync(winrt::Windows::Foundation::IInspectable const& thirdPartyPlugIn, winrt::Windows::Foundation::IInspectable const& event) const; }; template <> struct consume { @@ -1185,10 +1184,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnCredential { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) PasskeyCredential() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) CertificateCredential() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AdditionalPin() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) OldPasswordCredential() const; + [[nodiscard]] auto PasskeyCredential() const; + [[nodiscard]] auto CertificateCredential() const; + [[nodiscard]] auto AdditionalPin() const; + [[nodiscard]] auto OldPasswordCredential() const; }; template <> struct consume { @@ -1197,9 +1196,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnCustomCheckBox { - WINRT_IMPL_AUTO(void) InitialCheckState(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) InitialCheckState() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Checked() const; + auto InitialCheckState(bool value) const; + [[nodiscard]] auto InitialCheckState() const; + [[nodiscard]] auto Checked() const; }; template <> struct consume { @@ -1208,9 +1207,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnCustomComboBox { - WINRT_IMPL_AUTO(void) OptionsText(param::async_vector_view const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) OptionsText() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Selected() const; + auto OptionsText(param::async_vector_view const& value) const; + [[nodiscard]] auto OptionsText() const; + [[nodiscard]] auto Selected() const; }; template <> struct consume { @@ -1219,11 +1218,11 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnCustomEditBox { - WINRT_IMPL_AUTO(void) DefaultText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DefaultText() const; - WINRT_IMPL_AUTO(void) NoEcho(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) NoEcho() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; + auto DefaultText(param::hstring const& value) const; + [[nodiscard]] auto DefaultText() const; + auto NoEcho(bool value) const; + [[nodiscard]] auto NoEcho() const; + [[nodiscard]] auto Text() const; }; template <> struct consume { @@ -1240,12 +1239,12 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnCustomPrompt { - WINRT_IMPL_AUTO(void) Label(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const; - WINRT_IMPL_AUTO(void) Compulsory(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Compulsory() const; - WINRT_IMPL_AUTO(void) Bordered(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Bordered() const; + auto Label(param::hstring const& value) const; + [[nodiscard]] auto Label() const; + auto Compulsory(bool value) const; + [[nodiscard]] auto Compulsory() const; + auto Bordered(bool value) const; + [[nodiscard]] auto Bordered() const; }; template <> struct consume { @@ -1254,9 +1253,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnCustomPromptBooleanInput { - WINRT_IMPL_AUTO(void) InitialValue(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) InitialValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Value() const; + auto InitialValue(bool value) const; + [[nodiscard]] auto InitialValue() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -1265,12 +1264,12 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnCustomPromptElement { - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) Compulsory(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Compulsory() const; - WINRT_IMPL_AUTO(void) Emphasized(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Emphasized() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto DisplayName() const; + auto Compulsory(bool value) const; + [[nodiscard]] auto Compulsory() const; + auto Emphasized(bool value) const; + [[nodiscard]] auto Emphasized() const; }; template <> struct consume { @@ -1279,8 +1278,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnCustomPromptOptionSelector { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Options() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SelectedIndex() const; + [[nodiscard]] auto Options() const; + [[nodiscard]] auto SelectedIndex() const; }; template <> struct consume { @@ -1289,8 +1288,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnCustomPromptText { - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto Text() const; }; template <> struct consume { @@ -1299,11 +1298,11 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput { - WINRT_IMPL_AUTO(void) PlaceholderText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PlaceholderText() const; - WINRT_IMPL_AUTO(void) IsTextHidden(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextHidden() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; + auto PlaceholderText(param::hstring const& value) const; + [[nodiscard]] auto PlaceholderText() const; + auto IsTextHidden(bool value) const; + [[nodiscard]] auto IsTextHidden() const; + [[nodiscard]] auto Text() const; }; template <> struct consume { @@ -1312,8 +1311,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnCustomTextBox { - WINRT_IMPL_AUTO(void) DisplayText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayText() const; + auto DisplayText(param::hstring const& value) const; + [[nodiscard]] auto DisplayText() const; }; template <> struct consume { @@ -1322,9 +1321,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnDomainNameAssignment { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DomainNameList() const; - WINRT_IMPL_AUTO(void) ProxyAutoConfigurationUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ProxyAutoConfigurationUri() const; + [[nodiscard]] auto DomainNameList() const; + auto ProxyAutoConfigurationUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ProxyAutoConfigurationUri() const; }; template <> struct consume { @@ -1333,12 +1332,12 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnDomainNameInfo { - WINRT_IMPL_AUTO(void) DomainName(winrt::Windows::Networking::HostName const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) DomainName() const; - WINRT_IMPL_AUTO(void) DomainNameType(winrt::Windows::Networking::Vpn::VpnDomainNameType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnDomainNameType) DomainNameType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DnsServers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) WebProxyServers() const; + auto DomainName(winrt::Windows::Networking::HostName const& value) const; + [[nodiscard]] auto DomainName() const; + auto DomainNameType(winrt::Windows::Networking::Vpn::VpnDomainNameType const& value) const; + [[nodiscard]] auto DomainNameType() const; + [[nodiscard]] auto DnsServers() const; + [[nodiscard]] auto WebProxyServers() const; }; template <> struct consume { @@ -1347,7 +1346,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnDomainNameInfo2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) WebProxyUris() const; + [[nodiscard]] auto WebProxyUris() const; }; template <> struct consume { @@ -1356,7 +1355,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnDomainNameInfoFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnDomainNameInfo) CreateVpnDomainNameInfo(param::hstring const& name, winrt::Windows::Networking::Vpn::VpnDomainNameType const& nameType, param::iterable const& dnsServerList, param::iterable const& proxyServerList) const; + auto CreateVpnDomainNameInfo(param::hstring const& name, winrt::Windows::Networking::Vpn::VpnDomainNameType const& nameType, param::iterable const& dnsServerList, param::iterable const& proxyServerList) const; }; template <> struct consume { @@ -1365,7 +1364,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnInterfaceId { - WINRT_IMPL_AUTO(void) GetAddressInfo(com_array& id) const; + auto GetAddressInfo(com_array& id) const; }; template <> struct consume { @@ -1374,7 +1373,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnInterfaceIdFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnInterfaceId) CreateVpnInterfaceId(array_view address) const; + auto CreateVpnInterfaceId(array_view address) const; }; template <> struct consume { @@ -1383,15 +1382,15 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnManagementAgent { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AddProfileFromXmlAsync(param::hstring const& xml) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AddProfileFromObjectAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UpdateProfileFromXmlAsync(param::hstring const& xml) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UpdateProfileFromObjectAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetProfilesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DeleteProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConnectProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ConnectProfileWithPasswordCredentialAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DisconnectProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const; + auto AddProfileFromXmlAsync(param::hstring const& xml) const; + auto AddProfileFromObjectAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const; + auto UpdateProfileFromXmlAsync(param::hstring const& xml) const; + auto UpdateProfileFromObjectAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const; + auto GetProfilesAsync() const; + auto DeleteProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const; + auto ConnectProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const; + auto ConnectProfileWithPasswordCredentialAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const; + auto DisconnectProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const; }; template <> struct consume { @@ -1400,10 +1399,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnNamespaceAssignment { - WINRT_IMPL_AUTO(void) NamespaceList(param::vector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) NamespaceList() const; - WINRT_IMPL_AUTO(void) ProxyAutoConfigUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ProxyAutoConfigUri() const; + auto NamespaceList(param::vector const& value) const; + [[nodiscard]] auto NamespaceList() const; + auto ProxyAutoConfigUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ProxyAutoConfigUri() const; }; template <> struct consume { @@ -1412,12 +1411,12 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnNamespaceInfo { - WINRT_IMPL_AUTO(void) Namespace(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Namespace() const; - WINRT_IMPL_AUTO(void) DnsServers(param::vector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DnsServers() const; - WINRT_IMPL_AUTO(void) WebProxyServers(param::vector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) WebProxyServers() const; + auto Namespace(param::hstring const& value) const; + [[nodiscard]] auto Namespace() const; + auto DnsServers(param::vector const& value) const; + [[nodiscard]] auto DnsServers() const; + auto WebProxyServers(param::vector const& value) const; + [[nodiscard]] auto WebProxyServers() const; }; template <> struct consume { @@ -1426,7 +1425,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnNamespaceInfoFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnNamespaceInfo) CreateVpnNamespaceInfo(param::hstring const& name, param::vector const& dnsServerList, param::vector const& proxyServerList) const; + auto CreateVpnNamespaceInfo(param::hstring const& name, param::vector const& dnsServerList, param::vector const& proxyServerList) const; }; template <> struct consume { @@ -1435,17 +1434,17 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnNativeProfile { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Servers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType) RoutingPolicyType() const; - WINRT_IMPL_AUTO(void) RoutingPolicyType(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnNativeProtocolType) NativeProtocolType() const; - WINRT_IMPL_AUTO(void) NativeProtocolType(winrt::Windows::Networking::Vpn::VpnNativeProtocolType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod) UserAuthenticationMethod() const; - WINRT_IMPL_AUTO(void) UserAuthenticationMethod(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod) TunnelAuthenticationMethod() const; - WINRT_IMPL_AUTO(void) TunnelAuthenticationMethod(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EapConfiguration() const; - WINRT_IMPL_AUTO(void) EapConfiguration(param::hstring const& value) const; + [[nodiscard]] auto Servers() const; + [[nodiscard]] auto RoutingPolicyType() const; + auto RoutingPolicyType(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType const& value) const; + [[nodiscard]] auto NativeProtocolType() const; + auto NativeProtocolType(winrt::Windows::Networking::Vpn::VpnNativeProtocolType const& value) const; + [[nodiscard]] auto UserAuthenticationMethod() const; + auto UserAuthenticationMethod(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod const& value) const; + [[nodiscard]] auto TunnelAuthenticationMethod() const; + auto TunnelAuthenticationMethod(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod const& value) const; + [[nodiscard]] auto EapConfiguration() const; + auto EapConfiguration(param::hstring const& value) const; }; template <> struct consume { @@ -1454,9 +1453,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnNativeProfile2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) RequireVpnClientAppUI() const; - WINRT_IMPL_AUTO(void) RequireVpnClientAppUI(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnManagementConnectionStatus) ConnectionStatus() const; + [[nodiscard]] auto RequireVpnClientAppUI() const; + auto RequireVpnClientAppUI(bool value) const; + [[nodiscard]] auto ConnectionStatus() const; }; template <> struct consume { @@ -1465,11 +1464,11 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnPacketBuffer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::Buffer) Buffer() const; - WINRT_IMPL_AUTO(void) Status(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus) Status() const; - WINRT_IMPL_AUTO(void) TransportAffinity(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TransportAffinity() const; + [[nodiscard]] auto Buffer() const; + auto Status(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus const& value) const; + [[nodiscard]] auto Status() const; + auto TransportAffinity(uint32_t value) const; + [[nodiscard]] auto TransportAffinity() const; }; template <> struct consume { @@ -1478,7 +1477,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnPacketBuffer2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAppId) AppId() const; + [[nodiscard]] auto AppId() const; }; template <> struct consume { @@ -1487,8 +1486,8 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnPacketBuffer3 { - WINRT_IMPL_AUTO(void) TransportContext(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) TransportContext() const; + auto TransportContext(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto TransportContext() const; }; template <> struct consume { @@ -1497,7 +1496,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnPacketBufferFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) CreateVpnPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& parentBuffer, uint32_t offset, uint32_t length) const; + auto CreateVpnPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& parentBuffer, uint32_t offset, uint32_t length) const; }; template <> struct consume { @@ -1506,14 +1505,14 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnPacketBufferList { - WINRT_IMPL_AUTO(void) Append(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const; - WINRT_IMPL_AUTO(void) AddAtBegin(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) RemoveAtEnd() const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) RemoveAtBegin() const; - WINRT_IMPL_AUTO(void) Clear() const; - WINRT_IMPL_AUTO(void) Status(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Size() const; + auto Append(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const; + auto AddAtBegin(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const; + auto RemoveAtEnd() const; + auto RemoveAtBegin() const; + auto Clear() const; + auto Status(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus const& value) const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Size() const; }; template <> struct consume { @@ -1522,10 +1521,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnPacketBufferList2 { - WINRT_IMPL_AUTO(void) AddLeadingPacket(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) RemoveLeadingPacket() const; - WINRT_IMPL_AUTO(void) AddTrailingPacket(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) RemoveTrailingPacket() const; + auto AddLeadingPacket(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const; + auto RemoveLeadingPacket() const; + auto AddTrailingPacket(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const; + auto RemoveTrailingPacket() const; }; template <> struct consume { @@ -1534,9 +1533,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnPickedCredential { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) PasskeyCredential() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AdditionalPin() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) OldPasswordCredential() const; + [[nodiscard]] auto PasskeyCredential() const; + [[nodiscard]] auto AdditionalPin() const; + [[nodiscard]] auto OldPasswordCredential() const; }; template <> struct consume { @@ -1545,11 +1544,11 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnPlugIn { - WINRT_IMPL_AUTO(void) Connect(winrt::Windows::Networking::Vpn::VpnChannel const& channel) const; - WINRT_IMPL_AUTO(void) Disconnect(winrt::Windows::Networking::Vpn::VpnChannel const& channel) const; - WINRT_IMPL_AUTO(void) GetKeepAlivePayload(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBuffer& keepAlivePacket) const; - WINRT_IMPL_AUTO(void) Encapsulate(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& packets, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& encapulatedPackets) const; - WINRT_IMPL_AUTO(void) Decapsulate(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBuffer const& encapBuffer, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& decapsulatedPackets, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& controlPacketsToSend) const; + auto Connect(winrt::Windows::Networking::Vpn::VpnChannel const& channel) const; + auto Disconnect(winrt::Windows::Networking::Vpn::VpnChannel const& channel) const; + auto GetKeepAlivePayload(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBuffer& keepAlivePacket) const; + auto Encapsulate(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& packets, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& encapulatedPackets) const; + auto Decapsulate(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBuffer const& encapBuffer, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& decapsulatedPackets, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& controlPacketsToSend) const; }; template <> struct consume { @@ -1558,11 +1557,11 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnPlugInProfile { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ServerUris() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CustomConfiguration() const; - WINRT_IMPL_AUTO(void) CustomConfiguration(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VpnPluginPackageFamilyName() const; - WINRT_IMPL_AUTO(void) VpnPluginPackageFamilyName(param::hstring const& value) const; + [[nodiscard]] auto ServerUris() const; + [[nodiscard]] auto CustomConfiguration() const; + auto CustomConfiguration(param::hstring const& value) const; + [[nodiscard]] auto VpnPluginPackageFamilyName() const; + auto VpnPluginPackageFamilyName(param::hstring const& value) const; }; template <> struct consume { @@ -1571,9 +1570,9 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnPlugInProfile2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) RequireVpnClientAppUI() const; - WINRT_IMPL_AUTO(void) RequireVpnClientAppUI(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnManagementConnectionStatus) ConnectionStatus() const; + [[nodiscard]] auto RequireVpnClientAppUI() const; + auto RequireVpnClientAppUI(bool value) const; + [[nodiscard]] auto ConnectionStatus() const; }; template <> struct consume { @@ -1582,16 +1581,16 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnProfile { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProfileName() const; - WINRT_IMPL_AUTO(void) ProfileName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) AppTriggers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Routes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DomainNameInfoList() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) TrafficFilters() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RememberCredentials() const; - WINRT_IMPL_AUTO(void) RememberCredentials(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AlwaysOn() const; - WINRT_IMPL_AUTO(void) AlwaysOn(bool value) const; + [[nodiscard]] auto ProfileName() const; + auto ProfileName(param::hstring const& value) const; + [[nodiscard]] auto AppTriggers() const; + [[nodiscard]] auto Routes() const; + [[nodiscard]] auto DomainNameInfoList() const; + [[nodiscard]] auto TrafficFilters() const; + [[nodiscard]] auto RememberCredentials() const; + auto RememberCredentials(bool value) const; + [[nodiscard]] auto AlwaysOn() const; + auto AlwaysOn(bool value) const; }; template <> struct consume { @@ -1600,10 +1599,10 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnRoute { - WINRT_IMPL_AUTO(void) Address(winrt::Windows::Networking::HostName const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) Address() const; - WINRT_IMPL_AUTO(void) PrefixSize(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) PrefixSize() const; + auto Address(winrt::Windows::Networking::HostName const& value) const; + [[nodiscard]] auto Address() const; + auto PrefixSize(uint8_t value) const; + [[nodiscard]] auto PrefixSize() const; }; template <> struct consume { @@ -1612,16 +1611,16 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnRouteAssignment { - WINRT_IMPL_AUTO(void) Ipv4InclusionRoutes(param::vector const& value) const; - WINRT_IMPL_AUTO(void) Ipv6InclusionRoutes(param::vector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Ipv4InclusionRoutes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Ipv6InclusionRoutes() const; - WINRT_IMPL_AUTO(void) Ipv4ExclusionRoutes(param::vector const& value) const; - WINRT_IMPL_AUTO(void) Ipv6ExclusionRoutes(param::vector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Ipv4ExclusionRoutes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Ipv6ExclusionRoutes() const; - WINRT_IMPL_AUTO(void) ExcludeLocalSubnets(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ExcludeLocalSubnets() const; + auto Ipv4InclusionRoutes(param::vector const& value) const; + auto Ipv6InclusionRoutes(param::vector const& value) const; + [[nodiscard]] auto Ipv4InclusionRoutes() const; + [[nodiscard]] auto Ipv6InclusionRoutes() const; + auto Ipv4ExclusionRoutes(param::vector const& value) const; + auto Ipv6ExclusionRoutes(param::vector const& value) const; + [[nodiscard]] auto Ipv4ExclusionRoutes() const; + [[nodiscard]] auto Ipv6ExclusionRoutes() const; + auto ExcludeLocalSubnets(bool value) const; + [[nodiscard]] auto ExcludeLocalSubnets() const; }; template <> struct consume { @@ -1630,7 +1629,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnRouteFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnRoute) CreateVpnRoute(winrt::Windows::Networking::HostName const& address, uint8_t prefixSize) const; + auto CreateVpnRoute(winrt::Windows::Networking::HostName const& address, uint8_t prefixSize) const; }; template <> struct consume { @@ -1639,7 +1638,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnSystemHealth { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::Buffer) StatementOfHealth() const; + [[nodiscard]] auto StatementOfHealth() const; }; template <> struct consume { @@ -1648,17 +1647,17 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnTrafficFilter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAppId) AppId() const; - WINRT_IMPL_AUTO(void) AppId(winrt::Windows::Networking::Vpn::VpnAppId const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) AppClaims() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnIPProtocol) Protocol() const; - WINRT_IMPL_AUTO(void) Protocol(winrt::Windows::Networking::Vpn::VpnIPProtocol const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) LocalPortRanges() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) RemotePortRanges() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) LocalAddressRanges() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) RemoteAddressRanges() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType) RoutingPolicyType() const; - WINRT_IMPL_AUTO(void) RoutingPolicyType(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType const& value) const; + [[nodiscard]] auto AppId() const; + auto AppId(winrt::Windows::Networking::Vpn::VpnAppId const& value) const; + [[nodiscard]] auto AppClaims() const; + [[nodiscard]] auto Protocol() const; + auto Protocol(winrt::Windows::Networking::Vpn::VpnIPProtocol const& value) const; + [[nodiscard]] auto LocalPortRanges() const; + [[nodiscard]] auto RemotePortRanges() const; + [[nodiscard]] auto LocalAddressRanges() const; + [[nodiscard]] auto RemoteAddressRanges() const; + [[nodiscard]] auto RoutingPolicyType() const; + auto RoutingPolicyType(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType const& value) const; }; template <> struct consume { @@ -1667,11 +1666,11 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) TrafficFilterList() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowOutbound() const; - WINRT_IMPL_AUTO(void) AllowOutbound(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowInbound() const; - WINRT_IMPL_AUTO(void) AllowInbound(bool value) const; + [[nodiscard]] auto TrafficFilterList() const; + [[nodiscard]] auto AllowOutbound() const; + auto AllowOutbound(bool value) const; + [[nodiscard]] auto AllowInbound() const; + auto AllowInbound(bool value) const; }; template <> struct consume { @@ -1680,7 +1679,7 @@ namespace winrt::impl template struct consume_Windows_Networking_Vpn_IVpnTrafficFilterFactory { - WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnTrafficFilter) Create(winrt::Windows::Networking::Vpn::VpnAppId const& appId) const; + auto Create(winrt::Windows::Networking::Vpn::VpnAppId const& appId) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.1.h index fe334f11..1e67ceb9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_Vpn_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.2.h index c7177fa9..e365d959 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_Vpn_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.0.h index 9819161f..1846420d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_XboxLive_0_H @@ -7,14 +7,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Networking { struct HostName; @@ -361,17 +355,17 @@ namespace winrt::impl template struct consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress { - WINRT_IMPL_AUTO(winrt::event_token) SnapshotChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SnapshotChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SnapshotChanged_revoker = impl::event_revoker::remove_SnapshotChanged>; - [[nodiscard]] SnapshotChanged_revoker SnapshotChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SnapshotChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(hstring) GetSnapshotAsBase64() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) GetSnapshotAsBuffer() const; - WINRT_IMPL_AUTO(void) GetSnapshotAsBytes(array_view buffer, uint32_t& bytesWritten) const; - WINRT_IMPL_AUTO(int32_t) Compare(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& otherDeviceAddress) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsValid() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLocal() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveNetworkAccessKind) NetworkAccessKind() const; + [[nodiscard]] auto SnapshotChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SnapshotChanged(winrt::event_token const& token) const noexcept; + auto GetSnapshotAsBase64() const; + auto GetSnapshotAsBuffer() const; + auto GetSnapshotAsBytes(array_view buffer, uint32_t& bytesWritten) const; + auto Compare(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& otherDeviceAddress) const; + [[nodiscard]] auto IsValid() const; + [[nodiscard]] auto IsLocal() const; + [[nodiscard]] auto NetworkAccessKind() const; }; template <> struct consume { @@ -380,11 +374,11 @@ namespace winrt::impl template struct consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics { - WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) CreateFromSnapshotBase64(param::hstring const& base64) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) CreateFromSnapshotBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) CreateFromSnapshotBytes(array_view buffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) GetLocal() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxSnapshotBytesSize() const; + auto CreateFromSnapshotBase64(param::hstring const& base64) const; + auto CreateFromSnapshotBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto CreateFromSnapshotBytes(array_view buffer) const; + auto GetLocal() const; + [[nodiscard]] auto MaxSnapshotBytesSize() const; }; template <> struct consume { @@ -393,20 +387,20 @@ namespace winrt::impl template struct consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair { - WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; - [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync() const; - WINRT_IMPL_AUTO(void) GetRemoteSocketAddressBytes(array_view socketAddress) const; - WINRT_IMPL_AUTO(void) GetLocalSocketAddressBytes(array_view socketAddress) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate) Template() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) RemoteDeviceAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) RemoteHostName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemotePort() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) LocalHostName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LocalPort() const; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + auto DeleteAsync() const; + auto GetRemoteSocketAddressBytes(array_view socketAddress) const; + auto GetLocalSocketAddressBytes(array_view socketAddress) const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto Template() const; + [[nodiscard]] auto RemoteDeviceAddress() const; + [[nodiscard]] auto RemoteHostName() const; + [[nodiscard]] auto RemotePort() const; + [[nodiscard]] auto LocalHostName() const; + [[nodiscard]] auto LocalPort() const; }; template <> struct consume { @@ -415,10 +409,10 @@ namespace winrt::impl template struct consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) DeviceAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsExistingPathEvaluation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair) EndpointPair() const; + [[nodiscard]] auto DeviceAddress() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto IsExistingPathEvaluation() const; + [[nodiscard]] auto EndpointPair() const; }; template <> struct consume { @@ -427,8 +421,8 @@ namespace winrt::impl template struct consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairState) OldState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairState) NewState() const; + [[nodiscard]] auto OldState() const; + [[nodiscard]] auto NewState() const; }; template <> struct consume { @@ -437,8 +431,8 @@ namespace winrt::impl template struct consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStatics { - WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair) FindEndpointPairBySocketAddressBytes(array_view localSocketAddress, array_view remoteSocketAddress) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair) FindEndpointPairByHostNamesAndPorts(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localPort, winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remotePort) const; + auto FindEndpointPairBySocketAddressBytes(array_view localSocketAddress, array_view remoteSocketAddress) const; + auto FindEndpointPairByHostNamesAndPorts(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localPort, winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remotePort) const; }; template <> struct consume { @@ -447,21 +441,21 @@ namespace winrt::impl template struct consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate { - WINRT_IMPL_AUTO(winrt::event_token) InboundEndpointPairCreated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto InboundEndpointPairCreated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using InboundEndpointPairCreated_revoker = impl::event_revoker::remove_InboundEndpointPairCreated>; - [[nodiscard]] InboundEndpointPairCreated_revoker InboundEndpointPairCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) InboundEndpointPairCreated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateEndpointPairAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateEndpointPairAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationBehaviors const& behaviors) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateEndpointPairForPortsAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, param::hstring const& initiatorPort, param::hstring const& acceptorPort) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateEndpointPairForPortsAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, param::hstring const& initiatorPort, param::hstring const& acceptorPort, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationBehaviors const& behaviors) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveSocketKind) SocketKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) InitiatorBoundPortRangeLower() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) InitiatorBoundPortRangeUpper() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) AcceptorBoundPortRangeLower() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) AcceptorBoundPortRangeUpper() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) EndpointPairs() const; + [[nodiscard]] auto InboundEndpointPairCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto InboundEndpointPairCreated(winrt::event_token const& token) const noexcept; + auto CreateEndpointPairAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const; + auto CreateEndpointPairAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationBehaviors const& behaviors) const; + auto CreateEndpointPairForPortsAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, param::hstring const& initiatorPort, param::hstring const& acceptorPort) const; + auto CreateEndpointPairForPortsAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, param::hstring const& initiatorPort, param::hstring const& acceptorPort, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationBehaviors const& behaviors) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto SocketKind() const; + [[nodiscard]] auto InitiatorBoundPortRangeLower() const; + [[nodiscard]] auto InitiatorBoundPortRangeUpper() const; + [[nodiscard]] auto AcceptorBoundPortRangeLower() const; + [[nodiscard]] auto AcceptorBoundPortRangeUpper() const; + [[nodiscard]] auto EndpointPairs() const; }; template <> struct consume { @@ -470,8 +464,8 @@ namespace winrt::impl template struct consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplateStatics { - WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate) GetTemplateByName(param::hstring const& name) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Templates() const; + auto GetTemplateByName(param::hstring const& name) const; + [[nodiscard]] auto Templates() const; }; template <> struct consume { @@ -480,7 +474,7 @@ namespace winrt::impl template struct consume_Windows_Networking_XboxLive_IXboxLiveInboundEndpointPairCreatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair) EndpointPair() const; + [[nodiscard]] auto EndpointPair() const; }; template <> struct consume { @@ -489,22 +483,22 @@ namespace winrt::impl template struct consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MeasureAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetMetricResultsForDevice(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetMetricResultsForMetric(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric const& metric) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetricResult) GetMetricResult(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric const& metric) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServicePrivatePayloadResult) GetPrivatePayloadResult(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Metrics() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DeviceAddresses() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldRequestPrivatePayloads() const; - WINRT_IMPL_AUTO(void) ShouldRequestPrivatePayloads(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TimeoutInMilliseconds() const; - WINRT_IMPL_AUTO(void) TimeoutInMilliseconds(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) NumberOfProbesToAttempt() const; - WINRT_IMPL_AUTO(void) NumberOfProbesToAttempt(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) NumberOfResultsPending() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) MetricResults() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PrivatePayloadResults() const; + auto MeasureAsync() const; + auto GetMetricResultsForDevice(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const; + auto GetMetricResultsForMetric(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric const& metric) const; + auto GetMetricResult(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric const& metric) const; + auto GetPrivatePayloadResult(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const; + [[nodiscard]] auto Metrics() const; + [[nodiscard]] auto DeviceAddresses() const; + [[nodiscard]] auto ShouldRequestPrivatePayloads() const; + auto ShouldRequestPrivatePayloads(bool value) const; + [[nodiscard]] auto TimeoutInMilliseconds() const; + auto TimeoutInMilliseconds(uint32_t value) const; + [[nodiscard]] auto NumberOfProbesToAttempt() const; + auto NumberOfProbesToAttempt(uint32_t value) const; + [[nodiscard]] auto NumberOfResultsPending() const; + [[nodiscard]] auto MetricResults() const; + [[nodiscard]] auto PrivatePayloadResults() const; }; template <> struct consume { @@ -513,17 +507,17 @@ namespace winrt::impl template struct consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics { - WINRT_IMPL_AUTO(void) PublishPrivatePayloadBytes(array_view payload) const; - WINRT_IMPL_AUTO(void) ClearPrivatePayload() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxSimultaneousProbeConnections() const; - WINRT_IMPL_AUTO(void) MaxSimultaneousProbeConnections(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSystemOutboundBandwidthConstrained() const; - WINRT_IMPL_AUTO(void) IsSystemOutboundBandwidthConstrained(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSystemInboundBandwidthConstrained() const; - WINRT_IMPL_AUTO(void) IsSystemInboundBandwidthConstrained(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) PublishedPrivatePayload() const; - WINRT_IMPL_AUTO(void) PublishedPrivatePayload(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxPrivatePayloadSize() const; + auto PublishPrivatePayloadBytes(array_view payload) const; + auto ClearPrivatePayload() const; + [[nodiscard]] auto MaxSimultaneousProbeConnections() const; + auto MaxSimultaneousProbeConnections(uint32_t value) const; + [[nodiscard]] auto IsSystemOutboundBandwidthConstrained() const; + auto IsSystemOutboundBandwidthConstrained(bool value) const; + [[nodiscard]] auto IsSystemInboundBandwidthConstrained() const; + auto IsSystemInboundBandwidthConstrained(bool value) const; + [[nodiscard]] auto PublishedPrivatePayload() const; + auto PublishedPrivatePayload(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto MaxPrivatePayloadSize() const; }; template <> struct consume { @@ -532,10 +526,10 @@ namespace winrt::impl template struct consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMeasurementStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) DeviceAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric) Metric() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) Value() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto DeviceAddress() const; + [[nodiscard]] auto Metric() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -544,9 +538,9 @@ namespace winrt::impl template struct consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServicePrivatePayloadResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMeasurementStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) DeviceAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Value() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto DeviceAddress() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.1.h index f4d04231..53f68817 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_XboxLive_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.2.h index 222d547a..164e6073 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Networking_XboxLive_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.0.h index 7a91009d..84c96ea6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_0_H @@ -66,8 +66,8 @@ namespace winrt::impl template struct consume_Windows_Perception_IPerceptionTimestamp { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) TargetTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) PredictionAmount() const; + [[nodiscard]] auto TargetTime() const; + [[nodiscard]] auto PredictionAmount() const; }; template <> struct consume { @@ -76,7 +76,7 @@ namespace winrt::impl template struct consume_Windows_Perception_IPerceptionTimestamp2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) SystemRelativeTargetTime() const; + [[nodiscard]] auto SystemRelativeTargetTime() const; }; template <> struct consume { @@ -85,7 +85,7 @@ namespace winrt::impl template struct consume_Windows_Perception_IPerceptionTimestampHelperStatics { - WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) FromHistoricalTargetTime(winrt::Windows::Foundation::DateTime const& targetTime) const; + auto FromHistoricalTargetTime(winrt::Windows::Foundation::DateTime const& targetTime) const; }; template <> struct consume { @@ -94,7 +94,7 @@ namespace winrt::impl template struct consume_Windows_Perception_IPerceptionTimestampHelperStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) FromSystemRelativeTargetTime(winrt::Windows::Foundation::TimeSpan const& targetTime) const; + auto FromSystemRelativeTargetTime(winrt::Windows::Foundation::TimeSpan const& targetTime) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.1.h index 49d1ed69..da7cad93 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.2.h index 8b9fa917..cb8e278e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.0.h index 31ced5cd..538dc7ea 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_Automation_Core_0_H @@ -29,7 +29,7 @@ namespace winrt::impl template struct consume_Windows_Perception_Automation_Core_ICorePerceptionAutomationStatics { - WINRT_IMPL_AUTO(void) SetActivationFactoryProvider(winrt::Windows::Foundation::IGetActivationFactory const& provider) const; + auto SetActivationFactoryProvider(winrt::Windows::Foundation::IGetActivationFactory const& provider) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.1.h index 406a1d3d..c65eb96b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_Automation_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.2.h index 25df10a2..904e4963 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_Automation_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.0.h index 208bf60a..8289dbc8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.0.h @@ -1,13 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_People_0_H #define WINRT_Windows_Perception_People_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; -} WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics { } @@ -18,11 +13,6 @@ WINRT_EXPORT namespace winrt::Windows::Perception WINRT_EXPORT namespace winrt::Windows::Perception::Spatial { struct SpatialCoordinateSystem; - struct SpatialRay; -} -WINRT_EXPORT namespace winrt::Windows::UI::Input -{ - enum class GazeInputAccessStatus : int32_t; } WINRT_EXPORT namespace winrt::Windows::UI::Input::Spatial { @@ -183,9 +173,9 @@ namespace winrt::impl template struct consume_Windows_Perception_People_IEyesPose { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCalibrationValid() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Gaze() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) UpdateTimestamp() const; + [[nodiscard]] auto IsCalibrationValid() const; + [[nodiscard]] auto Gaze() const; + [[nodiscard]] auto UpdateTimestamp() const; }; template <> struct consume { @@ -194,8 +184,8 @@ namespace winrt::impl template struct consume_Windows_Perception_People_IEyesPoseStatics { - WINRT_IMPL_AUTO(bool) IsSupported() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; + auto IsSupported() const; + auto RequestAccessAsync() const; }; template <> struct consume { @@ -204,14 +194,14 @@ namespace winrt::impl template struct consume_Windows_Perception_People_IHandMeshObserver { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSource) Source() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TriangleIndexCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) VertexCount() const; - WINRT_IMPL_AUTO(void) GetTriangleIndices(array_view indices) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HandMeshVertexState) GetVertexStateForPose(winrt::Windows::Perception::People::HandPose const& handPose) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HandPose) NeutralPose() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) NeutralPoseVersion() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ModelId() const; + [[nodiscard]] auto Source() const; + [[nodiscard]] auto TriangleIndexCount() const; + [[nodiscard]] auto VertexCount() const; + auto GetTriangleIndices(array_view indices) const; + auto GetVertexStateForPose(winrt::Windows::Perception::People::HandPose const& handPose) const; + [[nodiscard]] auto NeutralPose() const; + [[nodiscard]] auto NeutralPoseVersion() const; + [[nodiscard]] auto ModelId() const; }; template <> struct consume { @@ -220,9 +210,9 @@ namespace winrt::impl template struct consume_Windows_Perception_People_IHandMeshVertexState { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) CoordinateSystem() const; - WINRT_IMPL_AUTO(void) GetVertices(array_view vertices) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) UpdateTimestamp() const; + [[nodiscard]] auto CoordinateSystem() const; + auto GetVertices(array_view vertices) const; + [[nodiscard]] auto UpdateTimestamp() const; }; template <> struct consume { @@ -231,10 +221,10 @@ namespace winrt::impl template struct consume_Windows_Perception_People_IHandPose { - WINRT_IMPL_AUTO(bool) TryGetJoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::People::HandJointKind const& joint, winrt::Windows::Perception::People::JointPose& jointPose) const; - WINRT_IMPL_AUTO(bool) TryGetJoints(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, array_view joints, array_view jointPoses) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::People::JointPose) GetRelativeJoint(winrt::Windows::Perception::People::HandJointKind const& joint, winrt::Windows::Perception::People::HandJointKind const& referenceJoint) const; - WINRT_IMPL_AUTO(void) GetRelativeJoints(array_view joints, array_view referenceJoints, array_view jointPoses) const; + auto TryGetJoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::People::HandJointKind const& joint, winrt::Windows::Perception::People::JointPose& jointPose) const; + auto TryGetJoints(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, array_view joints, array_view jointPoses) const; + auto GetRelativeJoint(winrt::Windows::Perception::People::HandJointKind const& joint, winrt::Windows::Perception::People::HandJointKind const& referenceJoint) const; + auto GetRelativeJoints(array_view joints, array_view referenceJoints, array_view jointPoses) const; }; template <> struct consume { @@ -243,9 +233,9 @@ namespace winrt::impl template struct consume_Windows_Perception_People_IHeadPose { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) ForwardDirection() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) UpDirection() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto ForwardDirection() const; + [[nodiscard]] auto UpDirection() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.1.h index dcb41e15..b5980f0d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_People_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.2.h index 2ba16330..aaa12a1a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_People_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.0.h index 6423bb19..c3302f5c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_Spatial_0_H @@ -8,15 +8,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; template struct __declspec(empty_bases) IKeyValuePair; - template struct __declspec(empty_bases) IMapView; struct ValueSet; } WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics @@ -586,12 +583,12 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialAnchor { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) CoordinateSystem() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) RawCoordinateSystem() const; - WINRT_IMPL_AUTO(winrt::event_token) RawCoordinateSystemAdjusted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CoordinateSystem() const; + [[nodiscard]] auto RawCoordinateSystem() const; + auto RawCoordinateSystemAdjusted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RawCoordinateSystemAdjusted_revoker = impl::event_revoker::remove_RawCoordinateSystemAdjusted>; - [[nodiscard]] RawCoordinateSystemAdjusted_revoker RawCoordinateSystemAdjusted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RawCoordinateSystemAdjusted(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto RawCoordinateSystemAdjusted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RawCoordinateSystemAdjusted(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -600,7 +597,7 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialAnchor2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) RemovedByUser() const; + [[nodiscard]] auto RemovedByUser() const; }; template <> struct consume { @@ -609,9 +606,9 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialAnchorExportSufficiency { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMinimallySufficient() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SufficiencyLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RecommendedSufficiencyLevel() const; + [[nodiscard]] auto IsMinimallySufficient() const; + [[nodiscard]] auto SufficiencyLevel() const; + [[nodiscard]] auto RecommendedSufficiencyLevel() const; }; template <> struct consume { @@ -620,8 +617,8 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialAnchorExporter { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAnchorExportSufficiencyAsync(winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor, winrt::Windows::Perception::Spatial::SpatialAnchorExportPurpose const& purpose) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryExportAnchorAsync(winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor, winrt::Windows::Perception::Spatial::SpatialAnchorExportPurpose const& purpose, winrt::Windows::Storage::Streams::IOutputStream const& stream) const; + auto GetAnchorExportSufficiencyAsync(winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor, winrt::Windows::Perception::Spatial::SpatialAnchorExportPurpose const& purpose) const; + auto TryExportAnchorAsync(winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor, winrt::Windows::Perception::Spatial::SpatialAnchorExportPurpose const& purpose, winrt::Windows::Storage::Streams::IOutputStream const& stream) const; }; template <> struct consume { @@ -630,8 +627,8 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialAnchorExporterStatics { - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialAnchorExporter) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; + auto GetDefault() const; + auto RequestAccessAsync() const; }; template <> struct consume { @@ -640,7 +637,7 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialAnchorManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStoreAsync() const; + auto RequestStoreAsync() const; }; template <> struct consume { @@ -649,7 +646,7 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialAnchorRawCoordinateSystemAdjustedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) OldRawCoordinateSystemToNewRawCoordinateSystemTransform() const; + [[nodiscard]] auto OldRawCoordinateSystemToNewRawCoordinateSystemTransform() const; }; template <> struct consume { @@ -658,9 +655,9 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialAnchorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialAnchor) TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialAnchor) TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialAnchor) TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const; + auto TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + auto TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position) const; + auto TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const; }; template <> struct consume { @@ -669,10 +666,10 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialAnchorStore { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) GetAllSavedAnchors() const; - WINRT_IMPL_AUTO(bool) TrySave(param::hstring const& id, winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor) const; - WINRT_IMPL_AUTO(void) Remove(param::hstring const& id) const; - WINRT_IMPL_AUTO(void) Clear() const; + auto GetAllSavedAnchors() const; + auto TrySave(param::hstring const& id, winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor) const; + auto Remove(param::hstring const& id) const; + auto Clear() const; }; template <> struct consume { @@ -681,9 +678,9 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialAnchorTransferManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) TryImportAnchorsAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryExportAnchorsAsync(param::async_iterable> const& anchors, winrt::Windows::Storage::Streams::IOutputStream const& stream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; + auto TryImportAnchorsAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const; + auto TryExportAnchorsAsync(param::async_iterable> const& anchors, winrt::Windows::Storage::Streams::IOutputStream const& stream) const; + auto RequestAccessAsync() const; }; template <> struct consume { @@ -700,10 +697,10 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics { - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialBoundingVolume) FromBox(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingBox const& box) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialBoundingVolume) FromOrientedBox(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingOrientedBox const& box) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialBoundingVolume) FromSphere(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingSphere const& sphere) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialBoundingVolume) FromFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingFrustum const& frustum) const; + auto FromBox(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingBox const& box) const; + auto FromOrientedBox(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingOrientedBox const& box) const; + auto FromSphere(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingSphere const& sphere) const; + auto FromFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingFrustum const& frustum) const; }; template <> struct consume { @@ -712,7 +709,7 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialCoordinateSystem { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TryGetTransformTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& target) const; + auto TryGetTransformTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& target) const; }; template <> struct consume { @@ -721,9 +718,9 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialEntity { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialAnchor) Anchor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Properties() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Anchor() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -732,7 +729,7 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialEntityAddedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) Entity() const; + [[nodiscard]] auto Entity() const; }; template <> struct consume { @@ -741,8 +738,8 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialEntityFactory { - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) CreateWithSpatialAnchor(winrt::Windows::Perception::Spatial::SpatialAnchor const& spatialAnchor) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) CreateWithSpatialAnchorAndProperties(winrt::Windows::Perception::Spatial::SpatialAnchor const& spatialAnchor, winrt::Windows::Foundation::Collections::ValueSet const& propertySet) const; + auto CreateWithSpatialAnchor(winrt::Windows::Perception::Spatial::SpatialAnchor const& spatialAnchor) const; + auto CreateWithSpatialAnchorAndProperties(winrt::Windows::Perception::Spatial::SpatialAnchor const& spatialAnchor, winrt::Windows::Foundation::Collections::ValueSet const& propertySet) const; }; template <> struct consume { @@ -751,7 +748,7 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialEntityRemovedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) Entity() const; + [[nodiscard]] auto Entity() const; }; template <> struct consume { @@ -760,9 +757,9 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialEntityStore { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAsync(winrt::Windows::Perception::Spatial::SpatialEntity const& entity) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RemoveAsync(winrt::Windows::Perception::Spatial::SpatialEntity const& entity) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntityWatcher) CreateEntityWatcher() const; + auto SaveAsync(winrt::Windows::Perception::Spatial::SpatialEntity const& entity) const; + auto RemoveAsync(winrt::Windows::Perception::Spatial::SpatialEntity const& entity) const; + auto CreateEntityWatcher() const; }; template <> struct consume { @@ -771,8 +768,8 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialEntityStoreStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntityStore) TryGet(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session) const; + [[nodiscard]] auto IsSupported() const; + auto TryGet(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session) const; }; template <> struct consume { @@ -781,7 +778,7 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialEntityUpdatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) Entity() const; + [[nodiscard]] auto Entity() const; }; template <> struct consume { @@ -790,25 +787,25 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialEntityWatcher { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntityWatcherStatus) Status() const; - WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Status() const; + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Added_revoker = impl::event_revoker::remove_Added>; - [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Added(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Updated_revoker = impl::event_revoker::remove_Updated>; - [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Updated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Removed_revoker = impl::event_revoker::remove_Removed>; - [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Removed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Start() const; + auto Stop() const; }; template <> struct consume { @@ -817,12 +814,12 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialLocation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) Orientation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) AbsoluteLinearVelocity() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) AbsoluteLinearAcceleration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) AbsoluteAngularVelocity() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) AbsoluteAngularAcceleration() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Orientation() const; + [[nodiscard]] auto AbsoluteLinearVelocity() const; + [[nodiscard]] auto AbsoluteLinearAcceleration() const; + [[nodiscard]] auto AbsoluteAngularVelocity() const; + [[nodiscard]] auto AbsoluteAngularAcceleration() const; }; template <> struct consume { @@ -831,8 +828,8 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialLocation2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) AbsoluteAngularVelocityAxisAngle() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) AbsoluteAngularAccelerationAxisAngle() const; + [[nodiscard]] auto AbsoluteAngularVelocityAxisAngle() const; + [[nodiscard]] auto AbsoluteAngularAccelerationAxisAngle() const; }; template <> struct consume { @@ -841,24 +838,24 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialLocator { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocatability) Locatability() const; - WINRT_IMPL_AUTO(winrt::event_token) LocatabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Locatability() const; + auto LocatabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LocatabilityChanged_revoker = impl::event_revoker::remove_LocatabilityChanged>; - [[nodiscard]] LocatabilityChanged_revoker LocatabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LocatabilityChanged(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PositionalTrackingDeactivating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto LocatabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LocatabilityChanged(winrt::event_token const& cookie) const noexcept; + auto PositionalTrackingDeactivating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PositionalTrackingDeactivating_revoker = impl::event_revoker::remove_PositionalTrackingDeactivating>; - [[nodiscard]] PositionalTrackingDeactivating_revoker PositionalTrackingDeactivating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PositionalTrackingDeactivating(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocation) TryLocateAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocatorAttachedFrameOfReference) CreateAttachedFrameOfReferenceAtCurrentHeading() const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocatorAttachedFrameOfReference) CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocatorAttachedFrameOfReference) CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocatorAttachedFrameOfReference) CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation, double relativeHeadingInRadians) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference) CreateStationaryFrameOfReferenceAtCurrentLocation() const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference) CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference) CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference) CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation, double relativeHeadingInRadians) const; + [[nodiscard]] auto PositionalTrackingDeactivating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PositionalTrackingDeactivating(winrt::event_token const& cookie) const noexcept; + auto TryLocateAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + auto CreateAttachedFrameOfReferenceAtCurrentHeading() const; + auto CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const; + auto CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const; + auto CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation, double relativeHeadingInRadians) const; + auto CreateStationaryFrameOfReferenceAtCurrentLocation() const; + auto CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const; + auto CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const; + auto CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation, double relativeHeadingInRadians) const; }; template <> struct consume { @@ -867,13 +864,13 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) RelativePosition() const; - WINRT_IMPL_AUTO(void) RelativePosition(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) RelativeOrientation() const; - WINRT_IMPL_AUTO(void) RelativeOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const; - WINRT_IMPL_AUTO(void) AdjustHeading(double headingOffsetInRadians) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) GetStationaryCoordinateSystemAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TryGetRelativeHeadingAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const; + [[nodiscard]] auto RelativePosition() const; + auto RelativePosition(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto RelativeOrientation() const; + auto RelativeOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const; + auto AdjustHeading(double headingOffsetInRadians) const; + auto GetStationaryCoordinateSystemAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const; + auto TryGetRelativeHeadingAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const; }; template <> struct consume { @@ -882,8 +879,8 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialLocatorPositionalTrackingDeactivatingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Canceled() const; - WINRT_IMPL_AUTO(void) Canceled(bool value) const; + [[nodiscard]] auto Canceled() const; + auto Canceled(bool value) const; }; template <> struct consume { @@ -892,7 +889,7 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialLocatorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocator) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -901,11 +898,11 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) CoordinateSystem() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialMovementRange) MovementRange() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLookDirectionRange) LookDirectionRange() const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) GetCoordinateSystemAtCurrentLocation(winrt::Windows::Perception::Spatial::SpatialLocator const& locator) const; - WINRT_IMPL_AUTO(com_array) TryGetMovementBounds(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + [[nodiscard]] auto CoordinateSystem() const; + [[nodiscard]] auto MovementRange() const; + [[nodiscard]] auto LookDirectionRange() const; + auto GetCoordinateSystemAtCurrentLocation(winrt::Windows::Perception::Spatial::SpatialLocator const& locator) const; + auto TryGetMovementBounds(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; }; template <> struct consume { @@ -914,12 +911,12 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialStageFrameOfReference) Current() const; - WINRT_IMPL_AUTO(winrt::event_token) CurrentChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto Current() const; + auto CurrentChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using CurrentChanged_revoker = impl::event_revoker::remove_CurrentChanged>; - [[nodiscard]] CurrentChanged_revoker CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CurrentChanged(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestNewStageAsync() const; + [[nodiscard]] auto CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto CurrentChanged(winrt::event_token const& cookie) const noexcept; + auto RequestNewStageAsync() const; }; template <> struct consume { @@ -928,7 +925,7 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_ISpatialStationaryFrameOfReference { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) CoordinateSystem() const; + [[nodiscard]] auto CoordinateSystem() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.1.h index b7a1f551..e18970f9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_Spatial_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.2.h index c8517e5d..c36ec74e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_Spatial_2_H @@ -201,7 +201,7 @@ WINRT_EXPORT namespace winrt::Windows::Perception::Spatial [[nodiscard]] static auto Current(); static auto CurrentChanged(winrt::Windows::Foundation::EventHandler const& handler); using CurrentChanged_revoker = impl::factory_event_revoker::remove_CurrentChanged>; - [[nodiscard]] static CurrentChanged_revoker CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto CurrentChanged(winrt::event_token const& cookie); static auto RequestNewStageAsync(); }; diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.0.h index 3b1cd881..c764060c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_Spatial_Preview_0_H @@ -66,9 +66,9 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropFrameOfReferencePreview { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) CoordinateSystem() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) NodeId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) CoordinateSystemToNodeTransform() const; + [[nodiscard]] auto CoordinateSystem() const; + [[nodiscard]] auto NodeId() const; + [[nodiscard]] auto CoordinateSystemToNodeTransform() const; }; template <> struct consume { @@ -77,10 +77,10 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics { - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) CreateCoordinateSystemForNode(winrt::guid const& nodeId) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) CreateCoordinateSystemForNode(winrt::guid const& nodeId, winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) CreateCoordinateSystemForNode(winrt::guid const& nodeId, winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocator) CreateLocatorForNode(winrt::guid const& nodeId) const; + auto CreateCoordinateSystemForNode(winrt::guid const& nodeId) const; + auto CreateCoordinateSystemForNode(winrt::guid const& nodeId, winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const; + auto CreateCoordinateSystemForNode(winrt::guid const& nodeId, winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const; + auto CreateLocatorForNode(winrt::guid const& nodeId) const; }; template <> struct consume { @@ -89,9 +89,9 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Preview::SpatialGraphInteropFrameOfReferencePreview) TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Preview::SpatialGraphInteropFrameOfReferencePreview) TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const; - WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Preview::SpatialGraphInteropFrameOfReferencePreview) TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const; + auto TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + auto TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const; + auto TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.1.h index 818f8c66..24100e2a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_Spatial_Preview_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.2.h index 7eb6baab..60c26461 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_Spatial_Preview_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.0.h index a4052be9..803bdf29 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_Spatial_Surfaces_0_H @@ -6,15 +6,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics { @@ -25,10 +21,8 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX } WINRT_EXPORT namespace winrt::Windows::Perception::Spatial { - struct SpatialBoundingOrientedBox; struct SpatialBoundingVolume; struct SpatialCoordinateSystem; - enum class SpatialPerceptionAccessStatus : int32_t; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { @@ -175,11 +169,11 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) UpdateTime() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TryGetBounds(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryComputeLatestMeshAsync(double maxTrianglesPerCubicMeter) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryComputeLatestMeshAsync(double maxTrianglesPerCubicMeter, winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshOptions const& options) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto UpdateTime() const; + auto TryGetBounds(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + auto TryComputeLatestMeshAsync(double maxTrianglesPerCubicMeter) const; + auto TryComputeLatestMeshAsync(double maxTrianglesPerCubicMeter, winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshOptions const& options) const; }; template <> struct consume { @@ -188,12 +182,12 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceInfo) SurfaceInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) CoordinateSystem() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshBuffer) TriangleIndices() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshBuffer) VertexPositions() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) VertexPositionScale() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshBuffer) VertexNormals() const; + [[nodiscard]] auto SurfaceInfo() const; + [[nodiscard]] auto CoordinateSystem() const; + [[nodiscard]] auto TriangleIndices() const; + [[nodiscard]] auto VertexPositions() const; + [[nodiscard]] auto VertexPositionScale() const; + [[nodiscard]] auto VertexNormals() const; }; template <> struct consume { @@ -202,10 +196,10 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) Format() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Stride() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ElementCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Data() const; + [[nodiscard]] auto Format() const; + [[nodiscard]] auto Stride() const; + [[nodiscard]] auto ElementCount() const; + [[nodiscard]] auto Data() const; }; template <> struct consume { @@ -214,14 +208,14 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) VertexPositionFormat() const; - WINRT_IMPL_AUTO(void) VertexPositionFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) TriangleIndexFormat() const; - WINRT_IMPL_AUTO(void) TriangleIndexFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) VertexNormalFormat() const; - WINRT_IMPL_AUTO(void) VertexNormalFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IncludeVertexNormals() const; - WINRT_IMPL_AUTO(void) IncludeVertexNormals(bool value) const; + [[nodiscard]] auto VertexPositionFormat() const; + auto VertexPositionFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const; + [[nodiscard]] auto TriangleIndexFormat() const; + auto TriangleIndexFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const; + [[nodiscard]] auto VertexNormalFormat() const; + auto VertexNormalFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const; + [[nodiscard]] auto IncludeVertexNormals() const; + auto IncludeVertexNormals(bool value) const; }; template <> struct consume { @@ -230,9 +224,9 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptionsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedVertexPositionFormats() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedTriangleIndexFormats() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedVertexNormalFormats() const; + [[nodiscard]] auto SupportedVertexPositionFormats() const; + [[nodiscard]] auto SupportedTriangleIndexFormats() const; + [[nodiscard]] auto SupportedVertexNormalFormats() const; }; template <> struct consume { @@ -241,13 +235,13 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) GetObservedSurfaces() const; - WINRT_IMPL_AUTO(void) SetBoundingVolume(winrt::Windows::Perception::Spatial::SpatialBoundingVolume const& bounds) const; - WINRT_IMPL_AUTO(void) SetBoundingVolumes(param::iterable const& bounds) const; - WINRT_IMPL_AUTO(winrt::event_token) ObservedSurfacesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetObservedSurfaces() const; + auto SetBoundingVolume(winrt::Windows::Perception::Spatial::SpatialBoundingVolume const& bounds) const; + auto SetBoundingVolumes(param::iterable const& bounds) const; + auto ObservedSurfacesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ObservedSurfacesChanged_revoker = impl::event_revoker::remove_ObservedSurfacesChanged>; - [[nodiscard]] ObservedSurfacesChanged_revoker ObservedSurfacesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ObservedSurfacesChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ObservedSurfacesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ObservedSurfacesChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -256,7 +250,7 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserverStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; + auto RequestAccessAsync() const; }; template <> struct consume { @@ -265,7 +259,7 @@ namespace winrt::impl template struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserverStatics2 { - WINRT_IMPL_AUTO(bool) IsSupported() const; + auto IsSupported() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.1.h index aae283b9..d115e1cd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_Spatial_Surfaces_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.2.h index d3dec379..4aaa33d0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Perception_Spatial_Surfaces_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.0.h index 2bc5a9e9..343d495d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_ApplicationModel_0_H @@ -32,7 +32,7 @@ namespace winrt::impl template struct consume_Windows_Phone_ApplicationModel_IApplicationProfileStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::ApplicationModel::ApplicationProfileModes) Modes() const; + [[nodiscard]] auto Modes() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.1.h index a41d1672..59b1c917 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_ApplicationModel_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.2.h index f196f34c..51f74ae5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_ApplicationModel_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.0.h index 08e53fba..5e197a26 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Devices_Notification_0_H @@ -41,8 +41,8 @@ namespace winrt::impl template struct consume_Windows_Phone_Devices_Notification_IVibrationDevice { - WINRT_IMPL_AUTO(void) Vibrate(winrt::Windows::Foundation::TimeSpan const& duration) const; - WINRT_IMPL_AUTO(void) Cancel() const; + auto Vibrate(winrt::Windows::Foundation::TimeSpan const& duration) const; + auto Cancel() const; }; template <> struct consume { @@ -51,7 +51,7 @@ namespace winrt::impl template struct consume_Windows_Phone_Devices_Notification_IVibrationDeviceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Phone::Devices::Notification::VibrationDevice) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.1.h index aafe5769..167db3d4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Devices_Notification_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.2.h index c5abb116..ac9fcbc9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Devices_Notification_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.0.h index 2bd89bb0..f5f102d7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Devices_Power_0_H @@ -45,12 +45,12 @@ namespace winrt::impl template struct consume_Windows_Phone_Devices_Power_IBattery { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RemainingChargePercent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RemainingDischargeTime() const; - WINRT_IMPL_AUTO(winrt::event_token) RemainingChargePercentChanged(winrt::Windows::Foundation::EventHandler const& changeHandler) const; + [[nodiscard]] auto RemainingChargePercent() const; + [[nodiscard]] auto RemainingDischargeTime() const; + auto RemainingChargePercentChanged(winrt::Windows::Foundation::EventHandler const& changeHandler) const; using RemainingChargePercentChanged_revoker = impl::event_revoker::remove_RemainingChargePercentChanged>; - [[nodiscard]] RemainingChargePercentChanged_revoker RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler) const; - WINRT_IMPL_AUTO(void) RemainingChargePercentChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler) const; + auto RemainingChargePercentChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -59,7 +59,7 @@ namespace winrt::impl template struct consume_Windows_Phone_Devices_Power_IBatteryStatics { - WINRT_IMPL_AUTO(winrt::Windows::Phone::Devices::Power::Battery) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.1.h index 921512f2..cd2b50ca 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Devices_Power_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.2.h index 09c273df..0c71168d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Devices_Power_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.0.h index 59e20fa9..1494e94e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.0.h @@ -1,23 +1,16 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Management_Deployment_0_H #define WINRT_Windows_Phone_Management_Deployment_0_H -WINRT_EXPORT namespace winrt::Windows::ApplicationModel -{ - struct Package; -} WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Management::Deployment { @@ -162,12 +155,12 @@ namespace winrt::impl template struct consume_Windows_Phone_Management_Deployment_IEnterprise { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) WorkplaceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) EnrollmentValidFrom() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) EnrollmentValidTo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Management::Deployment::EnterpriseStatus) Status() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto WorkplaceId() const; + [[nodiscard]] auto EnrollmentValidFrom() const; + [[nodiscard]] auto EnrollmentValidTo() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -176,11 +169,11 @@ namespace winrt::impl template struct consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) EnrolledEnterprises() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Management::Deployment::Enterprise) CurrentEnterprise() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ValidateEnterprisesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestEnrollmentAsync(param::hstring const& enrollmentToken) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestUnenrollmentAsync(winrt::Windows::Phone::Management::Deployment::Enterprise const& enterprise) const; + [[nodiscard]] auto EnrolledEnterprises() const; + [[nodiscard]] auto CurrentEnterprise() const; + auto ValidateEnterprisesAsync() const; + auto RequestEnrollmentAsync(param::hstring const& enrollmentToken) const; + auto RequestUnenrollmentAsync(winrt::Windows::Phone::Management::Deployment::Enterprise const& enterprise) const; }; template <> struct consume { @@ -189,8 +182,8 @@ namespace winrt::impl template struct consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Management::Deployment::Enterprise) EnrolledEnterprise() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Management::Deployment::EnterpriseEnrollmentStatus) Status() const; + [[nodiscard]] auto EnrolledEnterprise() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -199,11 +192,11 @@ namespace winrt::impl template struct consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) AddPackageAsync(param::hstring const& title, winrt::Windows::Foundation::Uri const& sourceLocation) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) AddPackageAsync(param::hstring const& title, winrt::Windows::Foundation::Uri const& sourceLocation, param::hstring const& instanceId, param::hstring const& offerId, winrt::Windows::Foundation::Uri const& license) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable>) GetPendingPackageInstalls() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindPackagesForCurrentPublisher() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindPackages() const; + auto AddPackageAsync(param::hstring const& title, winrt::Windows::Foundation::Uri const& sourceLocation) const; + auto AddPackageAsync(param::hstring const& title, winrt::Windows::Foundation::Uri const& sourceLocation, param::hstring const& instanceId, param::hstring const& offerId, winrt::Windows::Foundation::Uri const& license) const; + auto GetPendingPackageInstalls() const; + auto FindPackagesForCurrentPublisher() const; + auto FindPackages() const; }; template <> struct consume { @@ -212,9 +205,9 @@ namespace winrt::impl template struct consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RemovePackageAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::RemovalOptions const& removalOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const; + auto RemovePackageAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::RemovalOptions const& removalOptions) const; + auto RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const; + auto FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const; }; template <> struct consume { @@ -223,8 +216,8 @@ namespace winrt::impl template struct consume_Windows_Phone_Management_Deployment_IPackageInstallResult { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProductId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageInstallState) InstallState() const; + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto InstallState() const; }; template <> struct consume { @@ -233,7 +226,7 @@ namespace winrt::impl template struct consume_Windows_Phone_Management_Deployment_IPackageInstallResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ErrorText() const; + [[nodiscard]] auto ErrorText() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.1.h index 66d79345..240304f0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Management_Deployment_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.2.h index b6a094ae..ec463398 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Management_Deployment_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.0.h index 5d76ce67..4dda026e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Media_Devices_0_H @@ -68,13 +68,13 @@ namespace winrt::impl template struct consume_Windows_Phone_Media_Devices_IAudioRoutingManager { - WINRT_IMPL_AUTO(winrt::Windows::Phone::Media::Devices::AudioRoutingEndpoint) GetAudioEndpoint() const; - WINRT_IMPL_AUTO(void) SetAudioEndpoint(winrt::Windows::Phone::Media::Devices::AudioRoutingEndpoint const& endpoint) const; - WINRT_IMPL_AUTO(winrt::event_token) AudioEndpointChanged(winrt::Windows::Foundation::TypedEventHandler const& endpointChangeHandler) const; + auto GetAudioEndpoint() const; + auto SetAudioEndpoint(winrt::Windows::Phone::Media::Devices::AudioRoutingEndpoint const& endpoint) const; + auto AudioEndpointChanged(winrt::Windows::Foundation::TypedEventHandler const& endpointChangeHandler) const; using AudioEndpointChanged_revoker = impl::event_revoker::remove_AudioEndpointChanged>; - [[nodiscard]] AudioEndpointChanged_revoker AudioEndpointChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& endpointChangeHandler) const; - WINRT_IMPL_AUTO(void) AudioEndpointChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Media::Devices::AvailableAudioRoutingEndpoints) AvailableAudioEndpoints() const; + [[nodiscard]] auto AudioEndpointChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& endpointChangeHandler) const; + auto AudioEndpointChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AvailableAudioEndpoints() const; }; template <> struct consume { @@ -83,7 +83,7 @@ namespace winrt::impl template struct consume_Windows_Phone_Media_Devices_IAudioRoutingManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Phone::Media::Devices::AudioRoutingManager) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.1.h index 6ea3d4bc..caa1a562 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Media_Devices_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.2.h index ff4e14b6..a2eaf6a2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Media_Devices_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.0.h index 98149679..269fbccc 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Notification_Management_0_H @@ -16,7 +16,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { - template struct __declspec(empty_bases) IMapView; template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams @@ -698,50 +697,50 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IAccessoryManager { - WINRT_IMPL_AUTO(hstring) RegisterAccessoryApp() const; - WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails) GetNextTriggerDetails() const; - WINRT_IMPL_AUTO(void) ProcessTriggerDetails(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails const& pDetails) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PhoneLineDetails() const; - WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneLineDetails) GetPhoneLineDetails(winrt::guid const& phoneLine) const; - WINRT_IMPL_AUTO(void) AcceptPhoneCall(uint32_t phoneCallId) const; - WINRT_IMPL_AUTO(void) AcceptPhoneCall(uint32_t phoneCallId, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const; - WINRT_IMPL_AUTO(void) AcceptPhoneCallWithVideo(uint32_t phoneCallId) const; - WINRT_IMPL_AUTO(void) AcceptPhoneCallWithVideo(uint32_t phoneCallId, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const; - WINRT_IMPL_AUTO(void) RejectPhoneCall(uint32_t phoneCallId) const; - WINRT_IMPL_AUTO(void) RejectPhoneCall(uint32_t phoneCallId, uint32_t textResponseID) const; - WINRT_IMPL_AUTO(void) MakePhoneCall(winrt::guid const& phoneLine, param::hstring const& phoneNumber) const; - WINRT_IMPL_AUTO(void) MakePhoneCall(winrt::guid const& phoneLine, param::hstring const& phoneNumber, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const; - WINRT_IMPL_AUTO(void) MakePhoneCallWithVideo(winrt::guid const& phoneLine, param::hstring const& phoneNumber) const; - WINRT_IMPL_AUTO(void) MakePhoneCallWithVideo(winrt::guid const& phoneLine, param::hstring const& phoneNumber, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const; - WINRT_IMPL_AUTO(void) SwapPhoneCalls(uint32_t phoneCallIdToHold, uint32_t phoneCallIdOnHold) const; - WINRT_IMPL_AUTO(void) HoldPhoneCall(uint32_t phoneCallId, bool holdCall) const; - WINRT_IMPL_AUTO(void) EndPhoneCall(uint32_t phoneCallId) const; - WINRT_IMPL_AUTO(void) PhoneMute(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PhoneMute() const; - WINRT_IMPL_AUTO(void) PhoneCallAudioEndpoint(winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint) PhoneCallAudioEndpoint() const; - WINRT_IMPL_AUTO(void) SnoozeAlarm(winrt::guid const& alarmId) const; - WINRT_IMPL_AUTO(void) SnoozeAlarm(winrt::guid const& alarmId, winrt::Windows::Foundation::TimeSpan const& timeSpan) const; - WINRT_IMPL_AUTO(void) DismissAlarm(winrt::guid const& alarmId) const; - WINRT_IMPL_AUTO(void) SnoozeReminder(winrt::guid const& reminderId) const; - WINRT_IMPL_AUTO(void) SnoozeReminder(winrt::guid const& reminderId, winrt::Windows::Foundation::TimeSpan const& timeSpan) const; - WINRT_IMPL_AUTO(void) DismissReminder(winrt::guid const& reminderId) const; - WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::MediaMetadata) GetMediaMetadata() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PlaybackCapability) MediaPlaybackCapabilities() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PlaybackStatus) MediaPlaybackStatus() const; - WINRT_IMPL_AUTO(void) PerformMediaPlaybackCommand(winrt::Windows::Phone::Notification::Management::PlaybackCommand const& command) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DoNotDisturbEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DrivingModeEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) BatterySaverState() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) GetApps() const; - WINRT_IMPL_AUTO(void) EnableNotificationsForApplication(param::hstring const& appId) const; - WINRT_IMPL_AUTO(void) DisableNotificationsForApplication(param::hstring const& appId) const; - WINRT_IMPL_AUTO(bool) IsNotificationEnabledForApplication(param::hstring const& appId) const; - WINRT_IMPL_AUTO(int32_t) GetEnabledAccessoryNotificationTypes() const; - WINRT_IMPL_AUTO(void) EnableAccessoryNotificationTypes(int32_t accessoryNotificationTypes) const; - WINRT_IMPL_AUTO(void) DisableAllAccessoryNotificationTypes() const; - WINRT_IMPL_AUTO(bool) GetUserConsent() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) GetAppIcon(param::hstring const& appId) const; + auto RegisterAccessoryApp() const; + auto GetNextTriggerDetails() const; + auto ProcessTriggerDetails(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails const& pDetails) const; + [[nodiscard]] auto PhoneLineDetails() const; + auto GetPhoneLineDetails(winrt::guid const& phoneLine) const; + auto AcceptPhoneCall(uint32_t phoneCallId) const; + auto AcceptPhoneCall(uint32_t phoneCallId, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const; + auto AcceptPhoneCallWithVideo(uint32_t phoneCallId) const; + auto AcceptPhoneCallWithVideo(uint32_t phoneCallId, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const; + auto RejectPhoneCall(uint32_t phoneCallId) const; + auto RejectPhoneCall(uint32_t phoneCallId, uint32_t textResponseID) const; + auto MakePhoneCall(winrt::guid const& phoneLine, param::hstring const& phoneNumber) const; + auto MakePhoneCall(winrt::guid const& phoneLine, param::hstring const& phoneNumber, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const; + auto MakePhoneCallWithVideo(winrt::guid const& phoneLine, param::hstring const& phoneNumber) const; + auto MakePhoneCallWithVideo(winrt::guid const& phoneLine, param::hstring const& phoneNumber, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const; + auto SwapPhoneCalls(uint32_t phoneCallIdToHold, uint32_t phoneCallIdOnHold) const; + auto HoldPhoneCall(uint32_t phoneCallId, bool holdCall) const; + auto EndPhoneCall(uint32_t phoneCallId) const; + auto PhoneMute(bool value) const; + [[nodiscard]] auto PhoneMute() const; + auto PhoneCallAudioEndpoint(winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& value) const; + [[nodiscard]] auto PhoneCallAudioEndpoint() const; + auto SnoozeAlarm(winrt::guid const& alarmId) const; + auto SnoozeAlarm(winrt::guid const& alarmId, winrt::Windows::Foundation::TimeSpan const& timeSpan) const; + auto DismissAlarm(winrt::guid const& alarmId) const; + auto SnoozeReminder(winrt::guid const& reminderId) const; + auto SnoozeReminder(winrt::guid const& reminderId, winrt::Windows::Foundation::TimeSpan const& timeSpan) const; + auto DismissReminder(winrt::guid const& reminderId) const; + auto GetMediaMetadata() const; + [[nodiscard]] auto MediaPlaybackCapabilities() const; + [[nodiscard]] auto MediaPlaybackStatus() const; + auto PerformMediaPlaybackCommand(winrt::Windows::Phone::Notification::Management::PlaybackCommand const& command) const; + [[nodiscard]] auto DoNotDisturbEnabled() const; + [[nodiscard]] auto DrivingModeEnabled() const; + [[nodiscard]] auto BatterySaverState() const; + auto GetApps() const; + auto EnableNotificationsForApplication(param::hstring const& appId) const; + auto DisableNotificationsForApplication(param::hstring const& appId) const; + auto IsNotificationEnabledForApplication(param::hstring const& appId) const; + auto GetEnabledAccessoryNotificationTypes() const; + auto EnableAccessoryNotificationTypes(int32_t accessoryNotificationTypes) const; + auto DisableAllAccessoryNotificationTypes() const; + auto GetUserConsent() const; + auto GetAppIcon(param::hstring const& appId) const; }; template <> struct consume { @@ -750,21 +749,21 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IAccessoryManager2 { - WINRT_IMPL_AUTO(void) RingDevice() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SpeedDialList() const; - WINRT_IMPL_AUTO(void) ClearToast(param::hstring const& instanceId) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPhonePinLocked() const; - WINRT_IMPL_AUTO(void) IncreaseVolume(int32_t step) const; - WINRT_IMPL_AUTO(void) DecreaseVolume(int32_t step) const; - WINRT_IMPL_AUTO(void) SetMute(bool mute) const; - WINRT_IMPL_AUTO(void) SetRingerVibrate(bool ringer, bool vibrate) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::VolumeInfo) VolumeInfo() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAllEmailAccounts() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetFolders(param::hstring const& emailAccount) const; - WINRT_IMPL_AUTO(void) EnableEmailNotificationEmailAccount(param::hstring const& emailAccount) const; - WINRT_IMPL_AUTO(void) DisableEmailNotificationEmailAccount(param::hstring const& emailAccount) const; - WINRT_IMPL_AUTO(void) EnableEmailNotificationFolderFilter(param::hstring const& emailAccount, param::vector_view const& folders) const; - WINRT_IMPL_AUTO(void) UpdateEmailReadStatus(winrt::Windows::Phone::Notification::Management::BinaryId const& messageEntryId, bool isRead) const; + auto RingDevice() const; + [[nodiscard]] auto SpeedDialList() const; + auto ClearToast(param::hstring const& instanceId) const; + [[nodiscard]] auto IsPhonePinLocked() const; + auto IncreaseVolume(int32_t step) const; + auto DecreaseVolume(int32_t step) const; + auto SetMute(bool mute) const; + auto SetRingerVibrate(bool ringer, bool vibrate) const; + [[nodiscard]] auto VolumeInfo() const; + auto GetAllEmailAccounts() const; + auto GetFolders(param::hstring const& emailAccount) const; + auto EnableEmailNotificationEmailAccount(param::hstring const& emailAccount) const; + auto DisableEmailNotificationEmailAccount(param::hstring const& emailAccount) const; + auto EnableEmailNotificationFolderFilter(param::hstring const& emailAccount, param::vector_view const& folders) const; + auto UpdateEmailReadStatus(winrt::Windows::Phone::Notification::Management::BinaryId const& messageEntryId, bool isRead) const; }; template <> struct consume { @@ -773,10 +772,10 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IAccessoryManager3 { - WINRT_IMPL_AUTO(void) SnoozeAlarmByInstanceId(param::hstring const& instanceId) const; - WINRT_IMPL_AUTO(void) DismissAlarmByInstanceId(param::hstring const& instanceId) const; - WINRT_IMPL_AUTO(void) SnoozeReminderByInstanceId(param::hstring const& instanceId) const; - WINRT_IMPL_AUTO(void) DismissReminderByInstanceId(param::hstring const& instanceId) const; + auto SnoozeAlarmByInstanceId(param::hstring const& instanceId) const; + auto DismissAlarmByInstanceId(param::hstring const& instanceId) const; + auto SnoozeReminderByInstanceId(param::hstring const& instanceId) const; + auto DismissReminderByInstanceId(param::hstring const& instanceId) const; }; template <> struct consume { @@ -785,12 +784,12 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) TimeCreated() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppDisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::AccessoryNotificationType) AccessoryNotificationType() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) StartedProcessing() const; - WINRT_IMPL_AUTO(void) StartedProcessing(bool value) const; + [[nodiscard]] auto TimeCreated() const; + [[nodiscard]] auto AppDisplayName() const; + [[nodiscard]] auto AppId() const; + [[nodiscard]] auto AccessoryNotificationType() const; + [[nodiscard]] auto StartedProcessing() const; + auto StartedProcessing(bool value) const; }; template <> struct consume { @@ -799,10 +798,10 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) AlarmId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::ReminderState) ReminderState() const; + [[nodiscard]] auto AlarmId() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto ReminderState() const; }; template <> struct consume { @@ -811,7 +810,7 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) InstanceId() const; + [[nodiscard]] auto InstanceId() const; }; template <> struct consume { @@ -820,8 +819,8 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IAppNotificationInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Name() const; }; template <> struct consume { @@ -830,8 +829,8 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IBinaryId { - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Length() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Length() const; }; template <> struct consume { @@ -840,8 +839,8 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_ICalendarChangedNotificationTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::CalendarChangedEvent) EventType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ItemId() const; + [[nodiscard]] auto EventType() const; + [[nodiscard]] auto ItemId() const; }; template <> struct consume { @@ -850,16 +849,16 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TileId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Content() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LargeContent1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LargeContent2() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmphasizedText() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NonWrappedSmallContent1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NonWrappedSmallContent2() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NonWrappedSmallContent3() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NonWrappedSmallContent4() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Source() const; + [[nodiscard]] auto TileId() const; + [[nodiscard]] auto Content() const; + [[nodiscard]] auto LargeContent1() const; + [[nodiscard]] auto LargeContent2() const; + [[nodiscard]] auto EmphasizedText() const; + [[nodiscard]] auto NonWrappedSmallContent1() const; + [[nodiscard]] auto NonWrappedSmallContent2() const; + [[nodiscard]] auto NonWrappedSmallContent3() const; + [[nodiscard]] auto NonWrappedSmallContent4() const; + [[nodiscard]] auto Source() const; }; template <> struct consume { @@ -868,8 +867,8 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IEmailAccountInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsNotificationEnabled() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto IsNotificationEnabled() const; }; template <> struct consume { @@ -878,8 +877,8 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IEmailFolderInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsNotificationEnabled() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto IsNotificationEnabled() const; }; template <> struct consume { @@ -888,12 +887,12 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AccountName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ParentFolderName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SenderName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SenderAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessage) EmailMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; + [[nodiscard]] auto AccountName() const; + [[nodiscard]] auto ParentFolderName() const; + [[nodiscard]] auto SenderName() const; + [[nodiscard]] auto SenderAddress() const; + [[nodiscard]] auto EmailMessage() const; + [[nodiscard]] auto Timestamp() const; }; template <> struct consume { @@ -902,7 +901,7 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::BinaryId) MessageEntryId() const; + [[nodiscard]] auto MessageEntryId() const; }; template <> struct consume { @@ -911,10 +910,10 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AccountName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ParentFolderName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::BinaryId) MessageEntryId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRead() const; + [[nodiscard]] auto AccountName() const; + [[nodiscard]] auto ParentFolderName() const; + [[nodiscard]] auto MessageEntryId() const; + [[nodiscard]] auto IsRead() const; }; template <> struct consume { @@ -923,8 +922,8 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IMediaControlsTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PlaybackStatus) PlaybackStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::MediaMetadata) MediaMetadata() const; + [[nodiscard]] auto PlaybackStatus() const; + [[nodiscard]] auto MediaMetadata() const; }; template <> struct consume { @@ -933,13 +932,13 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IMediaMetadata { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subtitle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Artist() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Album() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Track() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Thumbnail() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Subtitle() const; + [[nodiscard]] auto Artist() const; + [[nodiscard]] auto Album() const; + [[nodiscard]] auto Track() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto Thumbnail() const; }; template <> struct consume { @@ -948,18 +947,18 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IPhoneCallDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) PhoneLine() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CallId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneCallTransport) CallTransport() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneMediaType) CallMediaType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneCallDirection) CallDirection() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneCallState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ConferenceCallId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) StartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) EndTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PhoneNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContactName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PresetTextResponses() const; + [[nodiscard]] auto PhoneLine() const; + [[nodiscard]] auto CallId() const; + [[nodiscard]] auto CallTransport() const; + [[nodiscard]] auto CallMediaType() const; + [[nodiscard]] auto CallDirection() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto ConferenceCallId() const; + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto EndTime() const; + [[nodiscard]] auto PhoneNumber() const; + [[nodiscard]] auto ContactName() const; + [[nodiscard]] auto PresetTextResponses() const; }; template <> struct consume { @@ -968,12 +967,12 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IPhoneLineDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) LineId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LineNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DefaultOutgoingLine() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) VoicemailCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneLineRegistrationState) RegistrationState() const; + [[nodiscard]] auto LineId() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto LineNumber() const; + [[nodiscard]] auto DefaultOutgoingLine() const; + [[nodiscard]] auto VoicemailCount() const; + [[nodiscard]] auto RegistrationState() const; }; template <> struct consume { @@ -982,7 +981,7 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IPhoneLineDetails2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MissedCallCount() const; + [[nodiscard]] auto MissedCallCount() const; }; template <> struct consume { @@ -991,9 +990,9 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IPhoneNotificationTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneNotificationType) PhoneNotificationType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneCallDetails) CallDetails() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) PhoneLineChangedId() const; + [[nodiscard]] auto PhoneNotificationType() const; + [[nodiscard]] auto CallDetails() const; + [[nodiscard]] auto PhoneLineChangedId() const; }; template <> struct consume { @@ -1002,13 +1001,13 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ReminderId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Details() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) Appointment() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::ReminderState) ReminderState() const; + [[nodiscard]] auto ReminderId() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Details() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Appointment() const; + [[nodiscard]] auto ReminderState() const; }; template <> struct consume { @@ -1017,7 +1016,7 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) InstanceId() const; + [[nodiscard]] auto InstanceId() const; }; template <> struct consume { @@ -1026,9 +1025,9 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_ISpeedDialEntry { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PhoneNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NumberType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContactName() const; + [[nodiscard]] auto PhoneNumber() const; + [[nodiscard]] auto NumberType() const; + [[nodiscard]] auto ContactName() const; }; template <> struct consume { @@ -1037,8 +1036,8 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_ITextResponse { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Content() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Content() const; }; template <> struct consume { @@ -1047,11 +1046,11 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text2() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text3() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text4() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SuppressPopup() const; + [[nodiscard]] auto Text1() const; + [[nodiscard]] auto Text2() const; + [[nodiscard]] auto Text3() const; + [[nodiscard]] auto Text4() const; + [[nodiscard]] auto SuppressPopup() const; }; template <> struct consume { @@ -1060,7 +1059,7 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) InstanceId() const; + [[nodiscard]] auto InstanceId() const; }; template <> struct consume { @@ -1069,11 +1068,11 @@ namespace winrt::impl template struct consume_Windows_Phone_Notification_Management_IVolumeInfo { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SystemVolume() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CallVolume() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MediaVolume() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMuted() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::VibrateState) IsVibrateEnabled() const; + [[nodiscard]] auto SystemVolume() const; + [[nodiscard]] auto CallVolume() const; + [[nodiscard]] auto MediaVolume() const; + [[nodiscard]] auto IsMuted() const; + [[nodiscard]] auto IsVibrateEnabled() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.1.h index 906dc49a..6cff4b21 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Notification_Management_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.2.h index e49db740..c0509bff 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Notification_Management_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.0.h index 08ea9e75..531c83f3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_PersonalInformation_0_H @@ -6,19 +6,14 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IInputStream; - struct IRandomAccessStream; struct IRandomAccessStreamReference; } WINRT_EXPORT namespace winrt::Windows::Phone::PersonalInformation @@ -324,16 +319,16 @@ namespace winrt::impl template struct consume_Windows_Phone_PersonalInformation_IContactAddress { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Country() const; - WINRT_IMPL_AUTO(void) Country(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Locality() const; - WINRT_IMPL_AUTO(void) Locality(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Region() const; - WINRT_IMPL_AUTO(void) Region(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PostalCode() const; - WINRT_IMPL_AUTO(void) PostalCode(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StreetAddress() const; - WINRT_IMPL_AUTO(void) StreetAddress(param::hstring const& value) const; + [[nodiscard]] auto Country() const; + auto Country(param::hstring const& value) const; + [[nodiscard]] auto Locality() const; + auto Locality(param::hstring const& value) const; + [[nodiscard]] auto Region() const; + auto Region(param::hstring const& value) const; + [[nodiscard]] auto PostalCode() const; + auto PostalCode(param::hstring const& value) const; + [[nodiscard]] auto StreetAddress() const; + auto StreetAddress(param::hstring const& value) const; }; template <> struct consume { @@ -342,10 +337,10 @@ namespace winrt::impl template struct consume_Windows_Phone_PersonalInformation_IContactChangeRecord { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactChangeType) ChangeType() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) RevisionNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const; + [[nodiscard]] auto ChangeType() const; + [[nodiscard]] auto RevisionNumber() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto RemoteId() const; }; template <> struct consume { @@ -354,22 +349,22 @@ namespace winrt::impl template struct consume_Windows_Phone_PersonalInformation_IContactInformation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FamilyName() const; - WINRT_IMPL_AUTO(void) FamilyName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GivenName() const; - WINRT_IMPL_AUTO(void) GivenName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HonorificPrefix() const; - WINRT_IMPL_AUTO(void) HonorificPrefix(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HonorificSuffix() const; - WINRT_IMPL_AUTO(void) HonorificSuffix(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDisplayPictureAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetDisplayPictureAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) DisplayPicture() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetPropertiesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ToVcardAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ToVcardAsync(winrt::Windows::Phone::PersonalInformation::VCardFormat const& format) const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto FamilyName() const; + auto FamilyName(param::hstring const& value) const; + [[nodiscard]] auto GivenName() const; + auto GivenName(param::hstring const& value) const; + [[nodiscard]] auto HonorificPrefix() const; + auto HonorificPrefix(param::hstring const& value) const; + [[nodiscard]] auto HonorificSuffix() const; + auto HonorificSuffix(param::hstring const& value) const; + auto GetDisplayPictureAsync() const; + auto SetDisplayPictureAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const; + [[nodiscard]] auto DisplayPicture() const; + auto GetPropertiesAsync() const; + auto ToVcardAsync() const; + auto ToVcardAsync(winrt::Windows::Phone::PersonalInformation::VCardFormat const& format) const; }; template <> struct consume { @@ -378,8 +373,8 @@ namespace winrt::impl template struct consume_Windows_Phone_PersonalInformation_IContactInformation2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) DisplayPictureDate() const; - WINRT_IMPL_AUTO(void) DisplayPictureDate(winrt::Windows::Foundation::DateTime const& returnValue) const; + [[nodiscard]] auto DisplayPictureDate() const; + auto DisplayPictureDate(winrt::Windows::Foundation::DateTime const& returnValue) const; }; template <> struct consume { @@ -388,7 +383,7 @@ namespace winrt::impl template struct consume_Windows_Phone_PersonalInformation_IContactInformationStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ParseVcardAsync(winrt::Windows::Storage::Streams::IInputStream const& vcard) const; + auto ParseVcardAsync(winrt::Windows::Storage::Streams::IInputStream const& vcard) const; }; template <> struct consume { @@ -397,9 +392,9 @@ namespace winrt::impl template struct consume_Windows_Phone_PersonalInformation_IContactQueryOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DesiredFields() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactQueryResultOrdering) OrderBy() const; - WINRT_IMPL_AUTO(void) OrderBy(winrt::Windows::Phone::PersonalInformation::ContactQueryResultOrdering const& value) const; + [[nodiscard]] auto DesiredFields() const; + [[nodiscard]] auto OrderBy() const; + auto OrderBy(winrt::Windows::Phone::PersonalInformation::ContactQueryResultOrdering const& value) const; }; template <> struct consume { @@ -408,10 +403,10 @@ namespace winrt::impl template struct consume_Windows_Phone_PersonalInformation_IContactQueryResult { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetContactCountAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetContactsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetContactsAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const; - WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactQueryOptions) GetCurrentQueryOptions() const; + auto GetContactCountAsync() const; + auto GetContactsAsync() const; + auto GetContactsAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const; + auto GetCurrentQueryOptions() const; }; template <> struct consume { @@ -420,16 +415,16 @@ namespace winrt::impl template struct consume_Windows_Phone_PersonalInformation_IContactStore { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindContactByRemoteIdAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindContactByIdAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteContactAsync(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactQueryResult) CreateContactQuery() const; - WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactQueryResult) CreateContactQuery(winrt::Windows::Phone::PersonalInformation::ContactQueryOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) RevisionNumber() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetChangesAsync(uint64_t baseRevisionNumber) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) LoadExtendedPropertiesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveExtendedPropertiesAsync(param::async_map_view const& data) const; + auto FindContactByRemoteIdAsync(param::hstring const& id) const; + auto FindContactByIdAsync(param::hstring const& id) const; + auto DeleteContactAsync(param::hstring const& id) const; + auto CreateContactQuery() const; + auto CreateContactQuery(winrt::Windows::Phone::PersonalInformation::ContactQueryOptions const& options) const; + auto DeleteAsync() const; + [[nodiscard]] auto RevisionNumber() const; + auto GetChangesAsync(uint64_t baseRevisionNumber) const; + auto LoadExtendedPropertiesAsync() const; + auto SaveExtendedPropertiesAsync(param::async_map_view const& data) const; }; template <> struct consume { @@ -438,7 +433,7 @@ namespace winrt::impl template struct consume_Windows_Phone_PersonalInformation_IContactStore2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateMeContactAsync(param::hstring const& id) const; + auto CreateMeContactAsync(param::hstring const& id) const; }; template <> struct consume { @@ -447,8 +442,8 @@ namespace winrt::impl template struct consume_Windows_Phone_PersonalInformation_IContactStoreStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateOrOpenAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateOrOpenAsync(winrt::Windows::Phone::PersonalInformation::ContactStoreSystemAccessMode const& access, winrt::Windows::Phone::PersonalInformation::ContactStoreApplicationAccessMode const& sharing) const; + auto CreateOrOpenAsync() const; + auto CreateOrOpenAsync(winrt::Windows::Phone::PersonalInformation::ContactStoreSystemAccessMode const& access, winrt::Windows::Phone::PersonalInformation::ContactStoreApplicationAccessMode const& sharing) const; }; template <> struct consume { @@ -457,41 +452,41 @@ namespace winrt::impl template struct consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FamilyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GivenName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HonorificPrefix() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HonorificSuffix() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AdditionalName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Address() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OtherAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Email() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WorkAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WorkTelephone() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) JobTitle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Birthdate() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Anniversary() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Telephone() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MobileTelephone() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Url() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Notes() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WorkFax() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Children() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SignificantOther() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CompanyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CompanyTelephone() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HomeFax() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlternateTelephone() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Manager() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Nickname() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OfficeLocation() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WorkEmail() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) YomiGivenName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) YomiFamilyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) YomiCompanyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OtherEmail() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlternateMobileTelephone() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlternateWorkTelephone() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto FamilyName() const; + [[nodiscard]] auto GivenName() const; + [[nodiscard]] auto HonorificPrefix() const; + [[nodiscard]] auto HonorificSuffix() const; + [[nodiscard]] auto AdditionalName() const; + [[nodiscard]] auto Address() const; + [[nodiscard]] auto OtherAddress() const; + [[nodiscard]] auto Email() const; + [[nodiscard]] auto WorkAddress() const; + [[nodiscard]] auto WorkTelephone() const; + [[nodiscard]] auto JobTitle() const; + [[nodiscard]] auto Birthdate() const; + [[nodiscard]] auto Anniversary() const; + [[nodiscard]] auto Telephone() const; + [[nodiscard]] auto MobileTelephone() const; + [[nodiscard]] auto Url() const; + [[nodiscard]] auto Notes() const; + [[nodiscard]] auto WorkFax() const; + [[nodiscard]] auto Children() const; + [[nodiscard]] auto SignificantOther() const; + [[nodiscard]] auto CompanyName() const; + [[nodiscard]] auto CompanyTelephone() const; + [[nodiscard]] auto HomeFax() const; + [[nodiscard]] auto AlternateTelephone() const; + [[nodiscard]] auto Manager() const; + [[nodiscard]] auto Nickname() const; + [[nodiscard]] auto OfficeLocation() const; + [[nodiscard]] auto WorkEmail() const; + [[nodiscard]] auto YomiGivenName() const; + [[nodiscard]] auto YomiFamilyName() const; + [[nodiscard]] auto YomiCompanyName() const; + [[nodiscard]] auto OtherEmail() const; + [[nodiscard]] auto AlternateMobileTelephone() const; + [[nodiscard]] auto AlternateWorkTelephone() const; }; template <> struct consume { @@ -500,13 +495,13 @@ namespace winrt::impl template struct consume_Windows_Phone_PersonalInformation_IStoredContact { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactStore) Store() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const; - WINRT_IMPL_AUTO(void) RemoteId(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetExtendedPropertiesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReplaceExistingContactAsync(param::hstring const& id) const; + [[nodiscard]] auto Store() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto RemoteId() const; + auto RemoteId(param::hstring const& value) const; + auto GetExtendedPropertiesAsync() const; + auto SaveAsync() const; + auto ReplaceExistingContactAsync(param::hstring const& id) const; }; template <> struct consume { @@ -515,8 +510,8 @@ namespace winrt::impl template struct consume_Windows_Phone_PersonalInformation_IStoredContactFactory { - WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::StoredContact) CreateStoredContact(winrt::Windows::Phone::PersonalInformation::ContactStore const& store) const; - WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::StoredContact) CreateStoredContactFromInformation(winrt::Windows::Phone::PersonalInformation::ContactStore const& store, winrt::Windows::Phone::PersonalInformation::ContactInformation const& contact) const; + auto CreateStoredContact(winrt::Windows::Phone::PersonalInformation::ContactStore const& store) const; + auto CreateStoredContactFromInformation(winrt::Windows::Phone::PersonalInformation::ContactStore const& store, winrt::Windows::Phone::PersonalInformation::ContactInformation const& contact) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.1.h index 1780d4d2..195f146e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_PersonalInformation_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.2.h index c07a814f..4745ea66 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_PersonalInformation_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.0.h index 9a2436ed..e1eb7635 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_PersonalInformation_Provisioning_0_H @@ -69,8 +69,8 @@ namespace winrt::impl template struct consume_Windows_Phone_PersonalInformation_Provisioning_IContactPartnerProvisioningManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AssociateNetworkAccountAsync(winrt::Windows::Phone::PersonalInformation::ContactStore const& store, param::hstring const& networkName, param::hstring const& networkAccountId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ImportVcardToSystemAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const; + auto AssociateNetworkAccountAsync(winrt::Windows::Phone::PersonalInformation::ContactStore const& store, param::hstring const& networkName, param::hstring const& networkAccountId) const; + auto ImportVcardToSystemAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const; }; template <> struct consume { @@ -79,7 +79,7 @@ namespace winrt::impl template struct consume_Windows_Phone_PersonalInformation_Provisioning_IContactPartnerProvisioningManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AssociateSocialNetworkAccountAsync(winrt::Windows::Phone::PersonalInformation::ContactStore const& store, param::hstring const& networkName, param::hstring const& networkAccountId) const; + auto AssociateSocialNetworkAccountAsync(winrt::Windows::Phone::PersonalInformation::ContactStore const& store, param::hstring const& networkName, param::hstring const& networkAccountId) const; }; template <> struct consume { @@ -88,8 +88,8 @@ namespace winrt::impl template struct consume_Windows_Phone_PersonalInformation_Provisioning_IMessagePartnerProvisioningManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ImportSmsToSystemAsync(bool incoming, bool read, param::hstring const& body, param::hstring const& sender, param::async_vector_view const& recipients, winrt::Windows::Foundation::DateTime const& deliveryTime) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ImportMmsToSystemAsync(bool incoming, bool read, param::hstring const& subject, param::hstring const& sender, param::async_vector_view const& recipients, winrt::Windows::Foundation::DateTime const& deliveryTime, param::async_vector_view> const& attachments) const; + auto ImportSmsToSystemAsync(bool incoming, bool read, param::hstring const& body, param::hstring const& sender, param::async_vector_view const& recipients, winrt::Windows::Foundation::DateTime const& deliveryTime) const; + auto ImportMmsToSystemAsync(bool incoming, bool read, param::hstring const& subject, param::hstring const& sender, param::async_vector_view const& recipients, winrt::Windows::Foundation::DateTime const& deliveryTime, param::async_vector_view> const& attachments) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.1.h index dad8cc43..07f01624 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_PersonalInformation_Provisioning_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.2.h index e6de5454..2e950005 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_PersonalInformation_Provisioning_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.0.h index 68bca054..cc9e5847 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Speech_Recognition_0_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.1.h index 95d1169b..ba4cd977 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Speech_Recognition_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.2.h index 92ec1a7b..90a3521a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_Speech_Recognition_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.0.h index 9755c10c..68a8cc2c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.0.h @@ -1,12 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_StartScreen_0_H #define WINRT_Windows_Phone_StartScreen_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} WINRT_EXPORT namespace winrt::Windows::UI::Notifications { struct BadgeUpdater; @@ -70,12 +66,12 @@ namespace winrt::impl template struct consume_Windows_Phone_StartScreen_IDualSimTile { - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPinnedToStart() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UpdateAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DeleteAsync() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto IsPinnedToStart() const; + auto CreateAsync() const; + auto UpdateAsync() const; + auto DeleteAsync() const; }; template <> struct consume { @@ -84,14 +80,14 @@ namespace winrt::impl template struct consume_Windows_Phone_StartScreen_IDualSimTileStatics { - WINRT_IMPL_AUTO(winrt::Windows::Phone::StartScreen::DualSimTile) GetTileForSim2() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UpdateDisplayNameForSim1Async(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) CreateTileUpdaterForSim1() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) CreateTileUpdaterForSim2() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) CreateBadgeUpdaterForSim1() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) CreateBadgeUpdaterForSim2() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) CreateToastNotifierForSim1() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) CreateToastNotifierForSim2() const; + auto GetTileForSim2() const; + auto UpdateDisplayNameForSim1Async(param::hstring const& name) const; + auto CreateTileUpdaterForSim1() const; + auto CreateTileUpdaterForSim2() const; + auto CreateBadgeUpdaterForSim1() const; + auto CreateBadgeUpdaterForSim2() const; + auto CreateToastNotifierForSim1() const; + auto CreateToastNotifierForSim2() const; }; template <> struct consume { @@ -100,7 +96,7 @@ namespace winrt::impl template struct consume_Windows_Phone_StartScreen_IToastNotificationManagerStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) CreateToastNotifierForSecondaryTile(param::hstring const& tileId) const; + auto CreateToastNotifierForSecondaryTile(param::hstring const& tileId) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.1.h index be1956c4..00ff1b20 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_StartScreen_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.2.h index 84e92f59..cec40041 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_StartScreen_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.0.h index 6502f56b..fbe28a57 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_System_0_H @@ -36,7 +36,7 @@ namespace winrt::impl template struct consume_Windows_Phone_System_ISystemProtectionStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ScreenLocked() const; + [[nodiscard]] auto ScreenLocked() const; }; template <> struct consume { @@ -45,7 +45,7 @@ namespace winrt::impl template struct consume_Windows_Phone_System_ISystemProtectionUnlockStatics { - WINRT_IMPL_AUTO(void) RequestScreenUnlock() const; + auto RequestScreenUnlock() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.1.h index 6ee23a58..f51ad80a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_System_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.2.h index da339f63..38746321 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_System_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.0.h index 1058a0c6..89bfa46a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_System_Power_0_H @@ -50,11 +50,11 @@ namespace winrt::impl template struct consume_Windows_Phone_System_Power_IPowerManagerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::System::Power::PowerSavingMode) PowerSavingMode() const; - WINRT_IMPL_AUTO(winrt::event_token) PowerSavingModeChanged(winrt::Windows::Foundation::EventHandler const& changeHandler) const; + [[nodiscard]] auto PowerSavingMode() const; + auto PowerSavingModeChanged(winrt::Windows::Foundation::EventHandler const& changeHandler) const; using PowerSavingModeChanged_revoker = impl::event_revoker::remove_PowerSavingModeChanged>; - [[nodiscard]] PowerSavingModeChanged_revoker PowerSavingModeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler) const; - WINRT_IMPL_AUTO(void) PowerSavingModeChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PowerSavingModeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler) const; + auto PowerSavingModeChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -63,7 +63,7 @@ namespace winrt::impl template struct consume_Windows_Phone_System_Power_IPowerManagerStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) PowerSavingModeEnabled() const; + [[nodiscard]] auto PowerSavingModeEnabled() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.1.h index 8b22db8c..6f5dd6ee 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_System_Power_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.2.h index 3f4bf7b7..41fbeb84 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_System_Power_2_H @@ -13,7 +13,7 @@ WINRT_EXPORT namespace winrt::Windows::Phone::System::Power [[nodiscard]] static auto PowerSavingMode(); static auto PowerSavingModeChanged(winrt::Windows::Foundation::EventHandler const& changeHandler); using PowerSavingModeChanged_revoker = impl::factory_event_revoker::remove_PowerSavingModeChanged>; - [[nodiscard]] static PowerSavingModeChanged_revoker PowerSavingModeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler); + [[nodiscard]] static auto PowerSavingModeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler); static auto PowerSavingModeChanged(winrt::event_token const& token); [[nodiscard]] static auto PowerSavingModeEnabled(); }; diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.0.h index e2440334..e4c219fd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_System_Profile_0_H @@ -25,7 +25,7 @@ namespace winrt::impl template struct consume_Windows_Phone_System_Profile_IRetailModeStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) RetailModeEnabled() const; + [[nodiscard]] auto RetailModeEnabled() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.1.h index 2ffd4732..268dc8e5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_System_Profile_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.2.h index 2c59a60e..985fd14b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_System_Profile_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.0.h index 23e93152..e8d0c6a9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.0.h @@ -1,11 +1,10 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_System_UserProfile_GameServices_Core_0_H #define WINRT_Windows_Phone_System_UserProfile_GameServices_Core_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams @@ -84,14 +83,14 @@ namespace winrt::impl template struct consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ServiceUri() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetGamerProfileAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetInstalledGameItemsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPartnerTokenAsync(winrt::Windows::Foundation::Uri const& audienceUri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPrivilegesAsync() const; - WINRT_IMPL_AUTO(void) GrantAchievement(uint32_t achievementId) const; - WINRT_IMPL_AUTO(void) GrantAvatarAward(uint32_t avatarAwardId) const; - WINRT_IMPL_AUTO(void) PostResult(uint32_t gameVariant, winrt::Windows::Phone::System::UserProfile::GameServices::Core::GameServiceScoreKind const& scoreKind, int64_t scoreValue, winrt::Windows::Phone::System::UserProfile::GameServices::Core::GameServiceGameOutcome const& gameOutcome, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + [[nodiscard]] auto ServiceUri() const; + auto GetGamerProfileAsync() const; + auto GetInstalledGameItemsAsync() const; + auto GetPartnerTokenAsync(winrt::Windows::Foundation::Uri const& audienceUri) const; + auto GetPrivilegesAsync() const; + auto GrantAchievement(uint32_t achievementId) const; + auto GrantAvatarAward(uint32_t avatarAwardId) const; + auto PostResult(uint32_t gameVariant, winrt::Windows::Phone::System::UserProfile::GameServices::Core::GameServiceScoreKind const& scoreKind, int64_t scoreValue, winrt::Windows::Phone::System::UserProfile::GameServices::Core::GameServiceGameOutcome const& gameOutcome, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; }; template <> struct consume { @@ -100,8 +99,8 @@ namespace winrt::impl template struct consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService2 { - WINRT_IMPL_AUTO(void) NotifyPartnerTokenExpired(winrt::Windows::Foundation::Uri const& audienceUri) const; - WINRT_IMPL_AUTO(uint32_t) GetAuthenticationStatus() const; + auto NotifyPartnerTokenExpired(winrt::Windows::Foundation::Uri const& audienceUri) const; + auto GetAuthenticationStatus() const; }; template <> struct consume { @@ -110,7 +109,7 @@ namespace winrt::impl template struct consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameServicePropertyCollection { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPropertyAsync(param::hstring const& propertyName) const; + auto GetPropertyAsync(param::hstring const& propertyName) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.1.h index 3185f372..7ceab285 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_System_UserProfile_GameServices_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.2.h index 7ac72ceb..7cba8e27 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_System_UserProfile_GameServices_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.0.h index 527f1202..3e1eb953 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_UI_Input_0_H @@ -77,8 +77,8 @@ namespace winrt::impl template struct consume_Windows_Phone_UI_Input_IBackPressedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -95,10 +95,10 @@ namespace winrt::impl template struct consume_Windows_Phone_UI_Input_IHardwareButtonsStatics { - WINRT_IMPL_AUTO(winrt::event_token) BackPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + auto BackPressed(winrt::Windows::Foundation::EventHandler const& handler) const; using BackPressed_revoker = impl::event_revoker::remove_BackPressed>; - [[nodiscard]] BackPressed_revoker BackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BackPressed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto BackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto BackPressed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -107,18 +107,18 @@ namespace winrt::impl template struct consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2 { - WINRT_IMPL_AUTO(winrt::event_token) CameraHalfPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + auto CameraHalfPressed(winrt::Windows::Foundation::EventHandler const& handler) const; using CameraHalfPressed_revoker = impl::event_revoker::remove_CameraHalfPressed>; - [[nodiscard]] CameraHalfPressed_revoker CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CameraHalfPressed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CameraPressed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto CameraHalfPressed(winrt::event_token const& token) const noexcept; + auto CameraPressed(winrt::Windows::Foundation::EventHandler const& handler) const; using CameraPressed_revoker = impl::event_revoker::remove_CameraPressed>; - [[nodiscard]] CameraPressed_revoker CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CameraPressed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CameraReleased(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto CameraPressed(winrt::event_token const& token) const noexcept; + auto CameraReleased(winrt::Windows::Foundation::EventHandler const& handler) const; using CameraReleased_revoker = impl::event_revoker::remove_CameraReleased>; - [[nodiscard]] CameraReleased_revoker CameraReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CameraReleased(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CameraReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto CameraReleased(winrt::event_token const& token) const noexcept; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.1.h index cef3219c..eaef7b52 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_UI_Input_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.2.h index 8f318f39..e0891a8b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Phone_UI_Input_2_H @@ -22,19 +22,19 @@ WINRT_EXPORT namespace winrt::Windows::Phone::UI::Input HardwareButtons() = delete; static auto BackPressed(winrt::Windows::Foundation::EventHandler const& handler); using BackPressed_revoker = impl::factory_event_revoker::remove_BackPressed>; - [[nodiscard]] static BackPressed_revoker BackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto BackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto BackPressed(winrt::event_token const& token); static auto CameraHalfPressed(winrt::Windows::Foundation::EventHandler const& handler); using CameraHalfPressed_revoker = impl::factory_event_revoker::remove_CameraHalfPressed>; - [[nodiscard]] static CameraHalfPressed_revoker CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto CameraHalfPressed(winrt::event_token const& token); static auto CameraPressed(winrt::Windows::Foundation::EventHandler const& handler); using CameraPressed_revoker = impl::factory_event_revoker::remove_CameraPressed>; - [[nodiscard]] static CameraPressed_revoker CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto CameraPressed(winrt::event_token const& token); static auto CameraReleased(winrt::Windows::Foundation::EventHandler const& handler); using CameraReleased_revoker = impl::factory_event_revoker::remove_CameraReleased>; - [[nodiscard]] static CameraReleased_revoker CameraReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto CameraReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto CameraReleased(winrt::event_token const& token); }; } diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.0.h index 85d4d53a..e955147f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.0.h @@ -1,16 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Identity_0_H #define WINRT_Windows_Security_Authentication_Identity_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Identity { struct IEnterpriseKeyCredentialRegistrationInfo; @@ -64,11 +56,11 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TenantId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TenantName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KeyId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KeyName() const; + [[nodiscard]] auto TenantId() const; + [[nodiscard]] auto TenantName() const; + [[nodiscard]] auto Subject() const; + [[nodiscard]] auto KeyId() const; + [[nodiscard]] auto KeyName() const; }; template <> struct consume { @@ -77,7 +69,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationManager { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetRegistrationsAsync() const; + auto GetRegistrationsAsync() const; }; template <> struct consume { @@ -86,7 +78,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationManagerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::EnterpriseKeyCredentialRegistrationManager) Current() const; + [[nodiscard]] auto Current() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.1.h index 27449413..a96083e1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Identity_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.2.h index 0f511f5d..d7f622b4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Identity_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.0.h index f009cc44..d42b618b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.0.h @@ -1,16 +1,14 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Identity_Core_0_H #define WINRT_Windows_Security_Authentication_Identity_Core_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Identity::Core { @@ -176,16 +174,16 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetOneTimePassCodeAsync(param::hstring const& userAccountId, uint32_t codeLength) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AddDeviceAsync(param::hstring const& userAccountId, param::hstring const& authenticationToken, param::hstring const& wnsChannelId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RemoveDeviceAsync(param::hstring const& userAccountId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UpdateWnsChannelAsync(param::hstring const& userAccountId, param::hstring const& channelUri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetSessionsAsync(param::async_iterable const& userAccountIdList) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetSessionsAndUnregisteredAccountsAsync(param::async_iterable const& userAccountIdList) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ApproveSessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionAuthenticationStatus const& sessionAuthentictionStatus, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo const& authenticationSessionInfo) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ApproveSessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionAuthenticationStatus const& sessionAuthentictionStatus, param::hstring const& userAccountId, param::hstring const& sessionId, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationType const& sessionAuthenticationType) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DenySessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo const& authenticationSessionInfo) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DenySessionAsync(param::hstring const& userAccountId, param::hstring const& sessionId, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationType const& sessionAuthenticationType) const; + auto GetOneTimePassCodeAsync(param::hstring const& userAccountId, uint32_t codeLength) const; + auto AddDeviceAsync(param::hstring const& userAccountId, param::hstring const& authenticationToken, param::hstring const& wnsChannelId) const; + auto RemoveDeviceAsync(param::hstring const& userAccountId) const; + auto UpdateWnsChannelAsync(param::hstring const& userAccountId, param::hstring const& channelUri) const; + auto GetSessionsAsync(param::async_iterable const& userAccountIdList) const; + auto GetSessionsAndUnregisteredAccountsAsync(param::async_iterable const& userAccountIdList) const; + auto ApproveSessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionAuthenticationStatus const& sessionAuthentictionStatus, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo const& authenticationSessionInfo) const; + auto ApproveSessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionAuthenticationStatus const& sessionAuthentictionStatus, param::hstring const& userAccountId, param::hstring const& sessionId, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationType const& sessionAuthenticationType) const; + auto DenySessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo const& authenticationSessionInfo) const; + auto DenySessionAsync(param::hstring const& userAccountId, param::hstring const& sessionId, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationType const& sessionAuthenticationType) const; }; template <> struct consume { @@ -194,7 +192,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticatorStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationManager) Current() const; + [[nodiscard]] auto Current() const; }; template <> struct consume { @@ -203,8 +201,8 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorGetSessionsResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Sessions() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse) ServiceResponse() const; + [[nodiscard]] auto Sessions() const; + [[nodiscard]] auto ServiceResponse() const; }; template <> struct consume { @@ -213,10 +211,10 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Code() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TimeInterval() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TimeToLive() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse) ServiceResponse() const; + [[nodiscard]] auto Code() const; + [[nodiscard]] auto TimeInterval() const; + [[nodiscard]] auto TimeToLive() const; + [[nodiscard]] auto ServiceResponse() const; }; template <> struct consume { @@ -225,13 +223,13 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserAccountId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SessionId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplaySessionId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionApprovalStatus) ApprovalStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationType) AuthenticationType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) RequestTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) ExpirationTime() const; + [[nodiscard]] auto UserAccountId() const; + [[nodiscard]] auto SessionId() const; + [[nodiscard]] auto DisplaySessionId() const; + [[nodiscard]] auto ApprovalStatus() const; + [[nodiscard]] auto AuthenticationType() const; + [[nodiscard]] auto RequestTime() const; + [[nodiscard]] auto ExpirationTime() const; }; template <> struct consume { @@ -240,9 +238,9 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Sessions() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) UnregisteredAccounts() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse) ServiceResponse() const; + [[nodiscard]] auto Sessions() const; + [[nodiscard]] auto UnregisteredAccounts() const; + [[nodiscard]] auto ServiceResponse() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.1.h index 3b61a617..799d7187 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Identity_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.2.h index 307f496e..4b31a5de 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Identity_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.0.h index 912a81c6..be9567b7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Identity_Provider_0_H @@ -8,11 +8,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { @@ -326,12 +321,12 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ServiceAuthenticationHmac() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) SessionNonce() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) DeviceNonce() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) DeviceConfigurationData() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FinishAuthenticationAsync(winrt::Windows::Storage::Streams::IBuffer const& deviceHmac, winrt::Windows::Storage::Streams::IBuffer const& sessionHmac) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AbortAuthenticationAsync(param::hstring const& errorLogMessage) const; + [[nodiscard]] auto ServiceAuthenticationHmac() const; + [[nodiscard]] auto SessionNonce() const; + [[nodiscard]] auto DeviceNonce() const; + [[nodiscard]] auto DeviceConfigurationData() const; + auto FinishAuthenticationAsync(winrt::Windows::Storage::Streams::IBuffer const& deviceHmac, winrt::Windows::Storage::Streams::IBuffer const& sessionHmac) const; + auto AbortAuthenticationAsync(param::hstring const& errorLogMessage) const; }; template <> struct consume { @@ -340,8 +335,8 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthentication) Authentication() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Authentication() const; }; template <> struct consume { @@ -350,7 +345,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageInfo) StageInfo() const; + [[nodiscard]] auto StageInfo() const; }; template <> struct consume { @@ -359,9 +354,9 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStage) Stage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationScenario) Scenario() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto Stage() const; + [[nodiscard]] auto Scenario() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -370,13 +365,13 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowNotificationMessageAsync(param::hstring const& deviceName, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationMessage const& message) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartAuthenticationAsync(param::hstring const& deviceId, winrt::Windows::Storage::Streams::IBuffer const& serviceAuthenticationNonce) const; - WINRT_IMPL_AUTO(winrt::event_token) AuthenticationStageChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + auto ShowNotificationMessageAsync(param::hstring const& deviceName, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationMessage const& message) const; + auto StartAuthenticationAsync(param::hstring const& deviceId, winrt::Windows::Storage::Streams::IBuffer const& serviceAuthenticationNonce) const; + auto AuthenticationStageChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using AuthenticationStageChanged_revoker = impl::event_revoker::remove_AuthenticationStageChanged>; - [[nodiscard]] AuthenticationStageChanged_revoker AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AuthenticationStageChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAuthenticationStageInfoAsync() const; + [[nodiscard]] auto AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto AuthenticationStageChanged(winrt::event_token const& token) const noexcept; + auto GetAuthenticationStageInfoAsync() const; }; template <> struct consume { @@ -385,10 +380,10 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RegisterDevicePresenceMonitoringAsync(param::hstring const& deviceId, param::hstring const& deviceInstancePath, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RegisterDevicePresenceMonitoringAsync(param::hstring const& deviceId, param::hstring const& deviceInstancePath, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode, param::hstring const& deviceFriendlyName, param::hstring const& deviceModelNumber, winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UnregisterDevicePresenceMonitoringAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(bool) IsDevicePresenceMonitoringSupported() const; + auto RegisterDevicePresenceMonitoringAsync(param::hstring const& deviceId, param::hstring const& deviceInstancePath, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode) const; + auto RegisterDevicePresenceMonitoringAsync(param::hstring const& deviceId, param::hstring const& deviceInstancePath, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode, param::hstring const& deviceFriendlyName, param::hstring const& deviceModelNumber, winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const; + auto UnregisterDevicePresenceMonitoringAsync(param::hstring const& deviceId) const; + auto IsDevicePresenceMonitoringSupported() const; }; template <> struct consume { @@ -397,10 +392,10 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceFriendlyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceModelNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) DeviceConfigurationData() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto DeviceFriendlyName() const; + [[nodiscard]] auto DeviceModelNumber() const; + [[nodiscard]] auto DeviceConfigurationData() const; }; template <> struct consume { @@ -409,9 +404,9 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode) PresenceMonitoringMode() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UpdateDevicePresenceAsync(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresence const& presenceState) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAuthenticationSupported() const; + [[nodiscard]] auto PresenceMonitoringMode() const; + auto UpdateDevicePresenceAsync(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresence const& presenceState) const; + [[nodiscard]] auto IsAuthenticationSupported() const; }; template <> struct consume { @@ -420,8 +415,8 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistration { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) FinishRegisteringDeviceAsync(winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AbortRegisteringDeviceAsync(param::hstring const& errorLogMessage) const; + auto FinishRegisteringDeviceAsync(winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const; + auto AbortRegisteringDeviceAsync(param::hstring const& errorLogMessage) const; }; template <> struct consume { @@ -430,8 +425,8 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorRegistrationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorRegistration) Registration() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Registration() const; }; template <> struct consume { @@ -440,10 +435,10 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStartRegisteringDeviceAsync(param::hstring const& deviceId, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDeviceCapabilities const& capabilities, param::hstring const& deviceFriendlyName, param::hstring const& deviceModelNumber, winrt::Windows::Storage::Streams::IBuffer const& deviceKey, winrt::Windows::Storage::Streams::IBuffer const& mutualAuthenticationKey) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllRegisteredDeviceInfoAsync(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDeviceFindScope const& queryType) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UnregisterDeviceAsync(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UpdateDeviceConfigurationDataAsync(param::hstring const& deviceId, winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const; + auto RequestStartRegisteringDeviceAsync(param::hstring const& deviceId, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDeviceCapabilities const& capabilities, param::hstring const& deviceFriendlyName, param::hstring const& deviceModelNumber, winrt::Windows::Storage::Streams::IBuffer const& deviceKey, winrt::Windows::Storage::Streams::IBuffer const& mutualAuthenticationKey) const; + auto FindAllRegisteredDeviceInfoAsync(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDeviceFindScope const& queryType) const; + auto UnregisterDeviceAsync(param::hstring const& deviceId) const; + auto UpdateDeviceConfigurationDataAsync(param::hstring const& deviceId, winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.1.h index 217abec7..b17d091a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Identity_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.2.h index 9adf2da9..94f95e49 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Identity_Provider_2_H @@ -16,7 +16,7 @@ WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Identity::Provi static auto StartAuthenticationAsync(param::hstring const& deviceId, winrt::Windows::Storage::Streams::IBuffer const& serviceAuthenticationNonce); static auto AuthenticationStageChanged(winrt::Windows::Foundation::EventHandler const& handler); using AuthenticationStageChanged_revoker = impl::factory_event_revoker::remove_AuthenticationStageChanged>; - [[nodiscard]] static AuthenticationStageChanged_revoker AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto AuthenticationStageChanged(winrt::event_token const& token); static auto GetAuthenticationStageInfoAsync(); }; diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.0.h index 15e85372..0ca1742c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_OnlineId_0_H @@ -12,7 +12,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::System { @@ -204,13 +203,13 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator { - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::UserAuthenticationOperation) AuthenticateUserAsync(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest const& request) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::UserAuthenticationOperation) AuthenticateUserAsync(param::iterable const& requests, winrt::Windows::Security::Authentication::OnlineId::CredentialPromptType const& credentialPromptType) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::SignOutUserOperation) SignOutUserAsync() const; - WINRT_IMPL_AUTO(void) ApplicationId(winrt::guid const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ApplicationId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanSignOut() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AuthenticatedSafeCustomerId() const; + auto AuthenticateUserAsync(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest const& request) const; + auto AuthenticateUserAsync(param::iterable const& requests, winrt::Windows::Security::Authentication::OnlineId::CredentialPromptType const& credentialPromptType) const; + auto SignOutUserAsync() const; + auto ApplicationId(winrt::guid const& value) const; + [[nodiscard]] auto ApplicationId() const; + [[nodiscard]] auto CanSignOut() const; + [[nodiscard]] auto AuthenticatedSafeCustomerId() const; }; template <> struct consume { @@ -219,9 +218,9 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicket { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest) Request() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ErrorCode() const; + [[nodiscard]] auto Value() const; + [[nodiscard]] auto Request() const; + [[nodiscard]] auto ErrorCode() const; }; template <> struct consume { @@ -230,8 +229,8 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Service() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Policy() const; + [[nodiscard]] auto Service() const; + [[nodiscard]] auto Policy() const; }; template <> struct consume { @@ -240,8 +239,8 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequestFactory { - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest) CreateOnlineIdServiceTicketRequest(param::hstring const& service, param::hstring const& policy) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest) CreateOnlineIdServiceTicketRequestAdvanced(param::hstring const& service) const; + auto CreateOnlineIdServiceTicketRequest(param::hstring const& service, param::hstring const& policy) const; + auto CreateOnlineIdServiceTicketRequestAdvanced(param::hstring const& service) const; }; template <> struct consume { @@ -250,10 +249,10 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetTicketAsync(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest const& request) const; - WINRT_IMPL_AUTO(void) ApplicationId(winrt::guid const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ApplicationId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + auto GetTicketAsync(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest const& request) const; + auto ApplicationId(winrt::guid const& value) const; + [[nodiscard]] auto ApplicationId() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -262,8 +261,8 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemAuthenticatorForUser) Default() const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemAuthenticatorForUser) GetForUser(winrt::Windows::System::User const& user) const; + [[nodiscard]] auto Default() const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -272,8 +271,8 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemIdentity { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicket) Ticket() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; + [[nodiscard]] auto Ticket() const; + [[nodiscard]] auto Id() const; }; template <> struct consume { @@ -282,9 +281,9 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemTicketResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemIdentity) Identity() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemTicketStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto Identity() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -293,14 +292,14 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_OnlineId_IUserIdentity { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Tickets() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SafeCustomerId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SignInName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FirstName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LastName() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBetaAccount() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConfirmedPC() const; + [[nodiscard]] auto Tickets() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto SafeCustomerId() const; + [[nodiscard]] auto SignInName() const; + [[nodiscard]] auto FirstName() const; + [[nodiscard]] auto LastName() const; + [[nodiscard]] auto IsBetaAccount() const; + [[nodiscard]] auto IsConfirmedPC() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.1.h index 96552e36..9a9647c1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_OnlineId_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.2.h index ad5e04cf..68f78f0e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_OnlineId_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.0.h index 99b77b88..2636dca2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.0.h @@ -1,11 +1,10 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Web_0_H #define WINRT_Windows_Security_Authentication_Web_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections @@ -94,9 +93,9 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AuthenticateAsync(winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options, winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AuthenticateAsync(winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options, winrt::Windows::Foundation::Uri const& requestUri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) GetCurrentApplicationCallbackUri() const; + auto AuthenticateAsync(winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options, winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri) const; + auto AuthenticateAsync(winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options, winrt::Windows::Foundation::Uri const& requestUri) const; + auto GetCurrentApplicationCallbackUri() const; }; template <> struct consume { @@ -105,11 +104,11 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2 { - WINRT_IMPL_AUTO(void) AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri) const; - WINRT_IMPL_AUTO(void) AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri) const; - WINRT_IMPL_AUTO(void) AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri, winrt::Windows::Foundation::Collections::ValueSet const& continuationData, winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AuthenticateSilentlyAsync(winrt::Windows::Foundation::Uri const& requestUri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AuthenticateSilentlyAsync(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options) const; + auto AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri) const; + auto AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri) const; + auto AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri, winrt::Windows::Foundation::Collections::ValueSet const& continuationData, winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options) const; + auto AuthenticateSilentlyAsync(winrt::Windows::Foundation::Uri const& requestUri) const; + auto AuthenticateSilentlyAsync(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options) const; }; template <> struct consume { @@ -118,9 +117,9 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_IWebAuthenticationResult { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResponseData() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::WebAuthenticationStatus) ResponseStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ResponseErrorDetail() const; + [[nodiscard]] auto ResponseData() const; + [[nodiscard]] auto ResponseStatus() const; + [[nodiscard]] auto ResponseErrorDetail() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.1.h index 3fa16f22..685c6f69 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Web_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.2.h index 8564ee93..0a604065 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Web_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.0.h index 70553741..1dfba749 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Web_Core_0_H @@ -7,14 +7,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Security::Credentials { @@ -314,9 +311,9 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IFindAllAccountsResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Accounts() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::FindAllWebAccountsStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebProviderError) ProviderError() const; + [[nodiscard]] auto Accounts() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ProviderError() const; }; template <> struct consume { @@ -325,7 +322,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IWebAccountEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) Account() const; + [[nodiscard]] auto Account() const; }; template <> struct consume { @@ -334,18 +331,18 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor { - WINRT_IMPL_AUTO(winrt::event_token) Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Updated_revoker = impl::event_revoker::remove_Updated>; - [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Updated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Removed_revoker = impl::event_revoker::remove_Removed>; - [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Removed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DefaultSignInAccountChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto DefaultSignInAccountChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DefaultSignInAccountChanged_revoker = impl::event_revoker::remove_DefaultSignInAccountChanged>; - [[nodiscard]] DefaultSignInAccountChanged_revoker DefaultSignInAccountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DefaultSignInAccountChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DefaultSignInAccountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DefaultSignInAccountChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -354,10 +351,10 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2 { - WINRT_IMPL_AUTO(winrt::event_token) AccountPictureUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccountPictureUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AccountPictureUpdated_revoker = impl::event_revoker::remove_AccountPictureUpdated>; - [[nodiscard]] AccountPictureUpdated_revoker AccountPictureUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AccountPictureUpdated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AccountPictureUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccountPictureUpdated(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -366,13 +363,13 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetTokenSilentlyAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetTokenSilentlyAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindAccountAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& webAccountId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindAccountProviderAsync(param::hstring const& webAccountProviderId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority) const; + auto GetTokenSilentlyAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request) const; + auto GetTokenSilentlyAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + auto RequestTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request) const; + auto RequestTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + auto FindAccountAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& webAccountId) const; + auto FindAccountProviderAsync(param::hstring const& webAccountProviderId) const; + auto FindAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority) const; }; template <> struct consume { @@ -381,7 +378,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority, winrt::Windows::System::User const& user) const; + auto FindAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority, winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -390,7 +387,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor) CreateWebAccountMonitor(param::iterable const& webAccounts) const; + auto CreateWebAccountMonitor(param::iterable const& webAccounts) const; }; template <> struct consume { @@ -399,11 +396,11 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindAllAccountsAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindAllAccountsAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& clientId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority, winrt::Windows::System::User const& user) const; + auto FindAllAccountsAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider) const; + auto FindAllAccountsAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& clientId) const; + auto FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId) const; + auto FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority) const; + auto FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority, winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -412,9 +409,9 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IWebProviderError { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ErrorCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ErrorMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Properties() const; + [[nodiscard]] auto ErrorCode() const; + [[nodiscard]] auto ErrorMessage() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -423,7 +420,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IWebProviderErrorFactory { - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebProviderError) Create(uint32_t errorCode, param::hstring const& errorMessage) const; + auto Create(uint32_t errorCode, param::hstring const& errorMessage) const; }; template <> struct consume { @@ -432,11 +429,11 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountProvider) WebAccountProvider() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Scope() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ClientId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestPromptType) PromptType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Properties() const; + [[nodiscard]] auto WebAccountProvider() const; + [[nodiscard]] auto Scope() const; + [[nodiscard]] auto ClientId() const; + [[nodiscard]] auto PromptType() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -445,7 +442,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) AppProperties() const; + [[nodiscard]] auto AppProperties() const; }; template <> struct consume { @@ -454,8 +451,8 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CorrelationId() const; - WINRT_IMPL_AUTO(void) CorrelationId(param::hstring const& value) const; + [[nodiscard]] auto CorrelationId() const; + auto CorrelationId(param::hstring const& value) const; }; template <> struct consume { @@ -464,10 +461,10 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory { - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest) Create(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope, param::hstring const& clientId) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest) CreateWithPromptType(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope, param::hstring const& clientId, winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestPromptType const& promptType) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest) CreateWithProvider(winrt::Windows::Security::Credentials::WebAccountProvider const& provider) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest) CreateWithScope(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope) const; + auto Create(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope, param::hstring const& clientId) const; + auto CreateWithPromptType(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope, param::hstring const& clientId, winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestPromptType const& promptType) const; + auto CreateWithProvider(winrt::Windows::Security::Credentials::WebAccountProvider const& provider) const; + auto CreateWithScope(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope) const; }; template <> struct consume { @@ -476,10 +473,10 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ResponseData() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestStatus) ResponseStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebProviderError) ResponseError() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) InvalidateCacheAsync() const; + [[nodiscard]] auto ResponseData() const; + [[nodiscard]] auto ResponseStatus() const; + [[nodiscard]] auto ResponseError() const; + auto InvalidateCacheAsync() const; }; template <> struct consume { @@ -488,10 +485,10 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Token() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebProviderError) ProviderError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) WebAccount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Properties() const; + [[nodiscard]] auto Token() const; + [[nodiscard]] auto ProviderError() const; + [[nodiscard]] auto WebAccount() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -500,9 +497,9 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Core_IWebTokenResponseFactory { - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse) CreateWithToken(param::hstring const& token) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse) CreateWithTokenAndAccount(param::hstring const& token, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse) CreateWithTokenAccountAndError(param::hstring const& token, winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& error) const; + auto CreateWithToken(param::hstring const& token) const; + auto CreateWithTokenAndAccount(param::hstring const& token, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + auto CreateWithTokenAccountAndError(param::hstring const& token, winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& error) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.1.h index 293594c6..df5358ff 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Web_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.2.h index cfa65be3..58575cae 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Web_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.0.h index c5e3d209..37828b2f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Web_Provider_0_H @@ -6,14 +6,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IMapView; template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Web { @@ -29,13 +27,8 @@ WINRT_EXPORT namespace winrt::Windows::Security::Credentials { struct WebAccount; } -WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Core -{ - struct CryptographicKey; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { - struct IBuffer; struct IRandomAccessStream; } WINRT_EXPORT namespace winrt::Windows::System @@ -448,9 +441,9 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientView { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ApplicationCallbackUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType) Type() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AccountPairwiseId() const; + [[nodiscard]] auto ApplicationCallbackUri() const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto AccountPairwiseId() const; }; template <> struct consume { @@ -459,8 +452,8 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientViewFactory { - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView) Create(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType const& viewType, winrt::Windows::Foundation::Uri const& applicationCallbackUri) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView) CreateWithPairwiseId(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType const& viewType, winrt::Windows::Foundation::Uri const& applicationCallbackUri, param::hstring const& accountPairwiseId) const; + auto Create(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType const& viewType, winrt::Windows::Foundation::Uri const& applicationCallbackUri) const; + auto CreateWithPairwiseId(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType const& viewType, winrt::Windows::Foundation::Uri const& applicationCallbackUri, param::hstring const& accountPairwiseId) const; }; template <> struct consume { @@ -469,16 +462,16 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UpdateWebAccountPropertiesAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, param::hstring const& webAccountUserName, param::async_map_view const& additionalProperties) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteWebAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllProviderWebAccountsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) PushCookiesAsync(winrt::Windows::Foundation::Uri const& uri, param::async_vector_view const& cookies) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetViewAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView const& view) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearViewAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Foundation::Uri const& applicationCallbackUri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetViewsAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetWebAccountPictureAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Storage::Streams::IRandomAccessStream const& webAccountPicture) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearWebAccountPictureAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + auto UpdateWebAccountPropertiesAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, param::hstring const& webAccountUserName, param::async_map_view const& additionalProperties) const; + auto AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props) const; + auto DeleteWebAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + auto FindAllProviderWebAccountsAsync() const; + auto PushCookiesAsync(winrt::Windows::Foundation::Uri const& uri, param::async_vector_view const& cookies) const; + auto SetViewAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView const& view) const; + auto ClearViewAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Foundation::Uri const& applicationCallbackUri) const; + auto GetViewsAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + auto SetWebAccountPictureAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Storage::Streams::IRandomAccessStream const& webAccountPicture) const; + auto ClearWebAccountPictureAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; }; template <> struct consume { @@ -487,7 +480,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) PullCookiesAsync(param::hstring const& uriString, param::hstring const& callerPFN) const; + auto PullCookiesAsync(param::hstring const& uriString, param::hstring const& callerPFN) const; }; template <> struct consume { @@ -496,10 +489,10 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllProviderWebAccountsForUserAsync(winrt::Windows::System::User const& user) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope, param::hstring const& perUserWebAccountId) const; + auto FindAllProviderWebAccountsForUserAsync(winrt::Windows::System::User const& user) const; + auto AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props) const; + auto AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const; + auto AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope, param::hstring const& perUserWebAccountId) const; }; template <> struct consume { @@ -508,8 +501,8 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics4 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) InvalidateAppCacheForAllAccountsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) InvalidateAppCacheForAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + auto InvalidateAppCacheForAllAccountsAsync() const; + auto InvalidateAppCacheForAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; }; template <> struct consume { @@ -518,10 +511,10 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope, param::hstring const& perUserWebAccountId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetPerAppToPerUserAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount, param::hstring const& perUserWebAccountId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPerUserFromPerAppAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearPerUserFromPerAppAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount) const; + auto AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope, param::hstring const& perUserWebAccountId) const; + auto SetPerAppToPerUserAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount, param::hstring const& perUserWebAccountId) const; + auto GetPerUserFromPerAppAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount) const; + auto ClearPerUserFromPerAppAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount) const; }; template <> struct consume { @@ -530,7 +523,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderAddAccountOperation { - WINRT_IMPL_AUTO(void) ReportCompleted() const; + auto ReportCompleted() const; }; template <> struct consume { @@ -539,8 +532,8 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderBaseReportOperation { - WINRT_IMPL_AUTO(void) ReportCompleted() const; - WINRT_IMPL_AUTO(void) ReportError(winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& value) const; + auto ReportCompleted() const; + auto ReportError(winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& value) const; }; template <> struct consume { @@ -549,7 +542,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderDeleteAccountOperation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) WebAccount() const; + [[nodiscard]] auto WebAccount() const; }; template <> struct consume { @@ -558,8 +551,8 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderManageAccountOperation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) WebAccount() const; - WINRT_IMPL_AUTO(void) ReportCompleted() const; + [[nodiscard]] auto WebAccount() const; + auto ReportCompleted() const; }; template <> struct consume { @@ -568,7 +561,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderOperation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountProviderOperationKind) Kind() const; + [[nodiscard]] auto Kind() const; }; template <> struct consume { @@ -577,11 +570,11 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Context() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Cookies() const; - WINRT_IMPL_AUTO(void) Uri(winrt::Windows::Foundation::Uri const& uri) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ApplicationCallbackUri() const; + [[nodiscard]] auto Context() const; + [[nodiscard]] auto Cookies() const; + auto Uri(winrt::Windows::Foundation::Uri const& uri) const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto ApplicationCallbackUri() const; }; template <> struct consume { @@ -590,9 +583,9 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSignOutAccountOperation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) WebAccount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ApplicationCallbackUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ClientId() const; + [[nodiscard]] auto WebAccount() const; + [[nodiscard]] auto ApplicationCallbackUri() const; + [[nodiscard]] auto ClientId() const; }; template <> struct consume { @@ -601,8 +594,8 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSilentReportOperation { - WINRT_IMPL_AUTO(void) ReportUserInteractionRequired() const; - WINRT_IMPL_AUTO(void) ReportUserInteractionRequired(winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& value) const; + auto ReportUserInteractionRequired() const; + auto ReportUserInteractionRequired(winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& value) const; }; template <> struct consume { @@ -611,7 +604,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenObjects { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderOperation) Operation() const; + [[nodiscard]] auto Operation() const; }; template <> struct consume { @@ -620,7 +613,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenObjects2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -629,10 +622,10 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebProviderTokenRequest) ProviderRequest() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ProviderResponses() const; - WINRT_IMPL_AUTO(void) CacheExpirationTime(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) CacheExpirationTime() const; + [[nodiscard]] auto ProviderRequest() const; + [[nodiscard]] auto ProviderResponses() const; + auto CacheExpirationTime(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto CacheExpirationTime() const; }; template <> struct consume { @@ -641,7 +634,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderUIReportOperation { - WINRT_IMPL_AUTO(void) ReportUserCanceled() const; + auto ReportUserCanceled() const; }; template <> struct consume { @@ -650,9 +643,9 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountScopeManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetScopeAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope) GetScope(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; + auto AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const; + auto SetScopeAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const; + auto GetScope(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const; }; template <> struct consume { @@ -661,11 +654,11 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest) ClientRequest() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) WebAccounts() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountSelectionOptions) WebAccountSelectionOptions() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ApplicationCallbackUri() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetApplicationTokenBindingKeyAsync(winrt::Windows::Security::Authentication::Web::TokenBindingKeyType const& keyType, winrt::Windows::Foundation::Uri const& target) const; + [[nodiscard]] auto ClientRequest() const; + [[nodiscard]] auto WebAccounts() const; + [[nodiscard]] auto WebAccountSelectionOptions() const; + [[nodiscard]] auto ApplicationCallbackUri() const; + auto GetApplicationTokenBindingKeyAsync(winrt::Windows::Security::Authentication::Web::TokenBindingKeyType const& keyType, winrt::Windows::Foundation::Uri const& target) const; }; template <> struct consume { @@ -674,7 +667,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetApplicationTokenBindingKeyIdAsync(winrt::Windows::Security::Authentication::Web::TokenBindingKeyType const& keyType, winrt::Windows::Foundation::Uri const& target) const; + auto GetApplicationTokenBindingKeyIdAsync(winrt::Windows::Security::Authentication::Web::TokenBindingKeyType const& keyType, winrt::Windows::Foundation::Uri const& target) const; }; template <> struct consume { @@ -683,9 +676,9 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ApplicationPackageFamilyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ApplicationProcessName() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CheckApplicationForCapabilityAsync(param::hstring const& capabilityName) const; + [[nodiscard]] auto ApplicationPackageFamilyName() const; + [[nodiscard]] auto ApplicationProcessName() const; + auto CheckApplicationForCapabilityAsync(param::hstring const& capabilityName) const; }; template <> struct consume { @@ -694,7 +687,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenResponse { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse) ClientResponse() const; + [[nodiscard]] auto ClientResponse() const; }; template <> struct consume { @@ -703,7 +696,7 @@ namespace winrt::impl template struct consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenResponseFactory { - WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebProviderTokenResponse) Create(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse const& webTokenResponse) const; + auto Create(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse const& webTokenResponse) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.1.h index 6d8a12f7..88458ee2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Web_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.2.h index 4c7026fc..206fd2ff 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authentication_Web_Provider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.0.h index f7dc118f..5d377435 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authorization_AppCapabilityAccess_0_H @@ -6,13 +6,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; } WINRT_EXPORT namespace winrt::Windows::System { @@ -84,14 +82,14 @@ namespace winrt::impl template struct consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CapabilityName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus) CheckAccess() const; - WINRT_IMPL_AUTO(winrt::event_token) AccessChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CapabilityName() const; + [[nodiscard]] auto User() const; + auto RequestAccessAsync() const; + auto CheckAccess() const; + auto AccessChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AccessChanged_revoker = impl::event_revoker::remove_AccessChanged>; - [[nodiscard]] AccessChanged_revoker AccessChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AccessChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AccessChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccessChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -108,10 +106,10 @@ namespace winrt::impl template struct consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) RequestAccessForCapabilitiesAsync(param::async_iterable const& capabilityNames) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) RequestAccessForCapabilitiesForUserAsync(winrt::Windows::System::User const& user, param::async_iterable const& capabilityNames) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapability) Create(param::hstring const& capabilityName) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapability) CreateWithProcessIdForUser(winrt::Windows::System::User const& user, param::hstring const& capabilityName, uint32_t pid) const; + auto RequestAccessForCapabilitiesAsync(param::async_iterable const& capabilityNames) const; + auto RequestAccessForCapabilitiesForUserAsync(winrt::Windows::System::User const& user, param::async_iterable const& capabilityNames) const; + auto Create(param::hstring const& capabilityName) const; + auto CreateWithProcessIdForUser(winrt::Windows::System::User const& user, param::hstring const& capabilityName, uint32_t pid) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.1.h index 83498071..1416137b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authorization_AppCapabilityAccess_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.2.h index 4f0a4e75..fd5a8929 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Authorization_AppCapabilityAccess_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.0.h index 8ddcaedc..17ae4698 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Credentials_0_H @@ -6,14 +6,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { - template struct __declspec(empty_bases) IMapView; struct IPropertySet; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Core { @@ -22,7 +19,6 @@ WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Core WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IBuffer; - struct IRandomAccessStream; } WINRT_EXPORT namespace winrt::Windows::System { @@ -329,7 +325,7 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_ICredentialFactory { - WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) CreatePasswordCredential(param::hstring const& resource, param::hstring const& userName, param::hstring const& password) const; + auto CreatePasswordCredential(param::hstring const& resource, param::hstring const& userName, param::hstring const& password) const; }; template <> struct consume { @@ -338,11 +334,11 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_IKeyCredential { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) RetrievePublicKey() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) RetrievePublicKey(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& blobType) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestSignAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAttestationAsync() const; + [[nodiscard]] auto Name() const; + auto RetrievePublicKey() const; + auto RetrievePublicKey(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& blobType) const; + auto RequestSignAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto GetAttestationAsync() const; }; template <> struct consume { @@ -351,9 +347,9 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_IKeyCredentialAttestationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) CertificateChainBuffer() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) AttestationBuffer() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::KeyCredentialAttestationStatus) Status() const; + [[nodiscard]] auto CertificateChainBuffer() const; + [[nodiscard]] auto AttestationBuffer() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -362,11 +358,11 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_IKeyCredentialManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsSupportedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RenewAttestationAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestCreateAsync(param::hstring const& name, winrt::Windows::Security::Credentials::KeyCredentialCreationOption const& option) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenAsync(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync(param::hstring const& name) const; + auto IsSupportedAsync() const; + auto RenewAttestationAsync() const; + auto RequestCreateAsync(param::hstring const& name, winrt::Windows::Security::Credentials::KeyCredentialCreationOption const& option) const; + auto OpenAsync(param::hstring const& name) const; + auto DeleteAsync(param::hstring const& name) const; }; template <> struct consume { @@ -375,8 +371,8 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_IKeyCredentialOperationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Result() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::KeyCredentialStatus) Status() const; + [[nodiscard]] auto Result() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -385,8 +381,8 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_IKeyCredentialRetrievalResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::KeyCredential) Credential() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::KeyCredentialStatus) Status() const; + [[nodiscard]] auto Credential() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -395,14 +391,14 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_IPasswordCredential { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Resource() const; - WINRT_IMPL_AUTO(void) Resource(param::hstring const& resource) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserName() const; - WINRT_IMPL_AUTO(void) UserName(param::hstring const& userName) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Password() const; - WINRT_IMPL_AUTO(void) Password(param::hstring const& password) const; - WINRT_IMPL_AUTO(void) RetrievePassword() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) Properties() const; + [[nodiscard]] auto Resource() const; + auto Resource(param::hstring const& resource) const; + [[nodiscard]] auto UserName() const; + auto UserName(param::hstring const& userName) const; + [[nodiscard]] auto Password() const; + auto Password(param::hstring const& password) const; + auto RetrievePassword() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -411,12 +407,12 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_IPasswordVault { - WINRT_IMPL_AUTO(void) Add(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const; - WINRT_IMPL_AUTO(void) Remove(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) Retrieve(param::hstring const& resource, param::hstring const& userName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindAllByResource(param::hstring const& resource) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindAllByUserName(param::hstring const& userName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) RetrieveAll() const; + auto Add(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const; + auto Remove(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const; + auto Retrieve(param::hstring const& resource, param::hstring const& userName) const; + auto FindAllByResource(param::hstring const& resource) const; + auto FindAllByUserName(param::hstring const& userName) const; + auto RetrieveAll() const; }; template <> struct consume { @@ -425,9 +421,9 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_IWebAccount { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountProvider) WebAccountProvider() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountState) State() const; + [[nodiscard]] auto WebAccountProvider() const; + [[nodiscard]] auto UserName() const; + [[nodiscard]] auto State() const; }; template <> struct consume { @@ -436,11 +432,11 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_IWebAccount2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPictureAsync(winrt::Windows::Security::Credentials::WebAccountPictureSize const& desizedSize) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SignOutAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SignOutAsync(param::hstring const& clientId) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Properties() const; + auto GetPictureAsync(winrt::Windows::Security::Credentials::WebAccountPictureSize const& desizedSize) const; + auto SignOutAsync() const; + auto SignOutAsync(param::hstring const& clientId) const; }; template <> struct consume { @@ -449,7 +445,7 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_IWebAccountFactory { - WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) CreateWebAccount(winrt::Windows::Security::Credentials::WebAccountProvider const& webAccountProvider, param::hstring const& userName, winrt::Windows::Security::Credentials::WebAccountState const& state) const; + auto CreateWebAccount(winrt::Windows::Security::Credentials::WebAccountProvider const& webAccountProvider, param::hstring const& userName, winrt::Windows::Security::Credentials::WebAccountState const& state) const; }; template <> struct consume { @@ -458,9 +454,9 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_IWebAccountProvider { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) IconUri() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto IconUri() const; }; template <> struct consume { @@ -469,8 +465,8 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_IWebAccountProvider2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayPurpose() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Authority() const; + [[nodiscard]] auto DisplayPurpose() const; + [[nodiscard]] auto Authority() const; }; template <> struct consume { @@ -479,7 +475,7 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_IWebAccountProvider3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -488,7 +484,7 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_IWebAccountProvider4 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSystemProvider() const; + [[nodiscard]] auto IsSystemProvider() const; }; template <> struct consume { @@ -497,7 +493,7 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_IWebAccountProviderFactory { - WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountProvider) CreateWebAccountProvider(param::hstring const& id, param::hstring const& displayName, winrt::Windows::Foundation::Uri const& iconUri) const; + auto CreateWebAccountProvider(param::hstring const& id, param::hstring const& displayName, winrt::Windows::Foundation::Uri const& iconUri) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.1.h index 8d356517..fe69083d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Credentials_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.2.h index 7b82f3a5..eb854cc5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Credentials_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.0.h index 735d8e0e..8180f867 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.0.h @@ -1,12 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Credentials_UI_0_H #define WINRT_Windows_Security_Credentials_UI_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IBuffer; @@ -147,26 +143,26 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_UI_ICredentialPickerOptions { - WINRT_IMPL_AUTO(void) Caption(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Caption() const; - WINRT_IMPL_AUTO(void) Message(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const; - WINRT_IMPL_AUTO(void) ErrorCode(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ErrorCode() const; - WINRT_IMPL_AUTO(void) TargetName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TargetName() const; - WINRT_IMPL_AUTO(void) AuthenticationProtocol(winrt::Windows::Security::Credentials::UI::AuthenticationProtocol const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::UI::AuthenticationProtocol) AuthenticationProtocol() const; - WINRT_IMPL_AUTO(void) CustomAuthenticationProtocol(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CustomAuthenticationProtocol() const; - WINRT_IMPL_AUTO(void) PreviousCredential(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) PreviousCredential() const; - WINRT_IMPL_AUTO(void) AlwaysDisplayDialog(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AlwaysDisplayDialog() const; - WINRT_IMPL_AUTO(void) CallerSavesCredential(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CallerSavesCredential() const; - WINRT_IMPL_AUTO(void) CredentialSaveOption(winrt::Windows::Security::Credentials::UI::CredentialSaveOption const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::UI::CredentialSaveOption) CredentialSaveOption() const; + auto Caption(param::hstring const& value) const; + [[nodiscard]] auto Caption() const; + auto Message(param::hstring const& value) const; + [[nodiscard]] auto Message() const; + auto ErrorCode(uint32_t value) const; + [[nodiscard]] auto ErrorCode() const; + auto TargetName(param::hstring const& value) const; + [[nodiscard]] auto TargetName() const; + auto AuthenticationProtocol(winrt::Windows::Security::Credentials::UI::AuthenticationProtocol const& value) const; + [[nodiscard]] auto AuthenticationProtocol() const; + auto CustomAuthenticationProtocol(param::hstring const& value) const; + [[nodiscard]] auto CustomAuthenticationProtocol() const; + auto PreviousCredential(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto PreviousCredential() const; + auto AlwaysDisplayDialog(bool value) const; + [[nodiscard]] auto AlwaysDisplayDialog() const; + auto CallerSavesCredential(bool value) const; + [[nodiscard]] auto CallerSavesCredential() const; + auto CredentialSaveOption(winrt::Windows::Security::Credentials::UI::CredentialSaveOption const& value) const; + [[nodiscard]] auto CredentialSaveOption() const; }; template <> struct consume { @@ -175,13 +171,13 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_UI_ICredentialPickerResults { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ErrorCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::UI::CredentialSaveOption) CredentialSaveOption() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CredentialSaved() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Credential() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CredentialDomainName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CredentialUserName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CredentialPassword() const; + [[nodiscard]] auto ErrorCode() const; + [[nodiscard]] auto CredentialSaveOption() const; + [[nodiscard]] auto CredentialSaved() const; + [[nodiscard]] auto Credential() const; + [[nodiscard]] auto CredentialDomainName() const; + [[nodiscard]] auto CredentialUserName() const; + [[nodiscard]] auto CredentialPassword() const; }; template <> struct consume { @@ -190,9 +186,9 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_UI_ICredentialPickerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PickAsync(winrt::Windows::Security::Credentials::UI::CredentialPickerOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PickAsync(param::hstring const& targetName, param::hstring const& message) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PickAsync(param::hstring const& targetName, param::hstring const& message, param::hstring const& caption) const; + auto PickAsync(winrt::Windows::Security::Credentials::UI::CredentialPickerOptions const& options) const; + auto PickAsync(param::hstring const& targetName, param::hstring const& message) const; + auto PickAsync(param::hstring const& targetName, param::hstring const& message, param::hstring const& caption) const; }; template <> struct consume { @@ -201,8 +197,8 @@ namespace winrt::impl template struct consume_Windows_Security_Credentials_UI_IUserConsentVerifierStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CheckAvailabilityAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestVerificationAsync(param::hstring const& message) const; + auto CheckAvailabilityAsync() const; + auto RequestVerificationAsync(param::hstring const& message) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.1.h index be484a18..bebb34b5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Credentials_UI_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.2.h index 2ef4493f..ea7b2415 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Credentials_UI_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.0.h index 836197c4..d4541de0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Cryptography_0_H @@ -47,17 +47,17 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_ICryptographicBufferStatics { - WINRT_IMPL_AUTO(bool) Compare(winrt::Windows::Storage::Streams::IBuffer const& object1, winrt::Windows::Storage::Streams::IBuffer const& object2) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) GenerateRandom(uint32_t length) const; - WINRT_IMPL_AUTO(uint32_t) GenerateRandomNumber() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) CreateFromByteArray(array_view value) const; - WINRT_IMPL_AUTO(void) CopyToByteArray(winrt::Windows::Storage::Streams::IBuffer const& buffer, com_array& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) DecodeFromHexString(param::hstring const& value) const; - WINRT_IMPL_AUTO(hstring) EncodeToHexString(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) DecodeFromBase64String(param::hstring const& value) const; - WINRT_IMPL_AUTO(hstring) EncodeToBase64String(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ConvertStringToBinary(param::hstring const& value, winrt::Windows::Security::Cryptography::BinaryStringEncoding const& encoding) const; - WINRT_IMPL_AUTO(hstring) ConvertBinaryToString(winrt::Windows::Security::Cryptography::BinaryStringEncoding const& encoding, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto Compare(winrt::Windows::Storage::Streams::IBuffer const& object1, winrt::Windows::Storage::Streams::IBuffer const& object2) const; + auto GenerateRandom(uint32_t length) const; + auto GenerateRandomNumber() const; + auto CreateFromByteArray(array_view value) const; + auto CopyToByteArray(winrt::Windows::Storage::Streams::IBuffer const& buffer, com_array& value) const; + auto DecodeFromHexString(param::hstring const& value) const; + auto EncodeToHexString(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto DecodeFromBase64String(param::hstring const& value) const; + auto EncodeToBase64String(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto ConvertStringToBinary(param::hstring const& value, winrt::Windows::Security::Cryptography::BinaryStringEncoding const& encoding) const; + auto ConvertBinaryToString(winrt::Windows::Security::Cryptography::BinaryStringEncoding const& encoding, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.1.h index 3f415cda..23e4a903 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Cryptography_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.2.h index 379c8d5a..6b127344 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Cryptography_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.0.h index c7864a7f..f722c708 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Cryptography_Certificates_0_H @@ -6,13 +6,10 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Networking { @@ -834,21 +831,21 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificate { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) BuildChainAsync(param::async_iterable const& certificates) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) BuildChainAsync(param::async_iterable const& certificates, winrt::Windows::Security::Cryptography::Certificates::ChainBuildingParameters const& parameters) const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) SerialNumber() const; - WINRT_IMPL_AUTO(com_array) GetHashValue() const; - WINRT_IMPL_AUTO(com_array) GetHashValue(param::hstring const& hashAlgorithmName) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) GetCertificateBlob() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Issuer() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasPrivateKey() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStronglyProtected() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) ValidFrom() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) ValidTo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) EnhancedKeyUsages() const; - WINRT_IMPL_AUTO(void) FriendlyName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FriendlyName() const; + auto BuildChainAsync(param::async_iterable const& certificates) const; + auto BuildChainAsync(param::async_iterable const& certificates, winrt::Windows::Security::Cryptography::Certificates::ChainBuildingParameters const& parameters) const; + [[nodiscard]] auto SerialNumber() const; + auto GetHashValue() const; + auto GetHashValue(param::hstring const& hashAlgorithmName) const; + auto GetCertificateBlob() const; + [[nodiscard]] auto Subject() const; + [[nodiscard]] auto Issuer() const; + [[nodiscard]] auto HasPrivateKey() const; + [[nodiscard]] auto IsStronglyProtected() const; + [[nodiscard]] auto ValidFrom() const; + [[nodiscard]] auto ValidTo() const; + [[nodiscard]] auto EnhancedKeyUsages() const; + auto FriendlyName(param::hstring const& value) const; + [[nodiscard]] auto FriendlyName() const; }; template <> struct consume { @@ -857,12 +854,12 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificate2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSecurityDeviceBound() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateKeyUsages) KeyUsages() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KeyAlgorithmName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SignatureAlgorithmName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SignatureHashAlgorithmName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::SubjectAlternativeNameInfo) SubjectAlternativeName() const; + [[nodiscard]] auto IsSecurityDeviceBound() const; + [[nodiscard]] auto KeyUsages() const; + [[nodiscard]] auto KeyAlgorithmName() const; + [[nodiscard]] auto SignatureAlgorithmName() const; + [[nodiscard]] auto SignatureHashAlgorithmName() const; + [[nodiscard]] auto SubjectAlternativeName() const; }; template <> struct consume { @@ -871,9 +868,9 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificate3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPerUser() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StoreName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KeyStorageProviderName() const; + [[nodiscard]] auto IsPerUser() const; + [[nodiscard]] auto StoreName() const; + [[nodiscard]] auto KeyStorageProviderName() const; }; template <> struct consume { @@ -882,9 +879,9 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateChain { - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult) Validate() const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult) Validate(winrt::Windows::Security::Cryptography::Certificates::ChainValidationParameters const& parameter) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetCertificates(bool includeRoot) const; + auto Validate() const; + auto Validate(winrt::Windows::Security::Cryptography::Certificates::ChainValidationParameters const& parameter) const; + auto GetCertificates(bool includeRoot) const; }; template <> struct consume { @@ -893,9 +890,9 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateRequestAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateRequestProperties const& request) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) InstallCertificateAsync(param::hstring const& certificate, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName) const; + auto CreateRequestAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateRequestProperties const& request) const; + auto InstallCertificateAsync(param::hstring const& certificate, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption) const; + auto ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName) const; }; template <> struct consume { @@ -904,8 +901,8 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::UserCertificateEnrollmentManager) UserCertificateEnrollmentManager() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName, param::hstring const& keyStorageProvider) const; + [[nodiscard]] auto UserCertificateEnrollmentManager() const; + auto ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName, param::hstring const& keyStorageProvider) const; }; template <> struct consume { @@ -914,7 +911,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::PfxImportParameters const& pfxImportParameters) const; + auto ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::PfxImportParameters const& pfxImportParameters) const; }; template <> struct consume { @@ -923,13 +920,13 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateExtension { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ObjectId() const; - WINRT_IMPL_AUTO(void) ObjectId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCritical() const; - WINRT_IMPL_AUTO(void) IsCritical(bool value) const; - WINRT_IMPL_AUTO(void) EncodeValue(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) Value() const; - WINRT_IMPL_AUTO(void) Value(array_view value) const; + [[nodiscard]] auto ObjectId() const; + auto ObjectId(param::hstring const& value) const; + [[nodiscard]] auto IsCritical() const; + auto IsCritical(bool value) const; + auto EncodeValue(param::hstring const& value) const; + [[nodiscard]] auto Value() const; + auto Value(array_view value) const; }; template <> struct consume { @@ -938,7 +935,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateFactory { - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) CreateCertificate(winrt::Windows::Storage::Streams::IBuffer const& certBlob) const; + auto CreateCertificate(winrt::Windows::Storage::Streams::IBuffer const& certBlob) const; }; template <> struct consume { @@ -947,22 +944,22 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages { - [[nodiscard]] WINRT_IMPL_AUTO(bool) EncipherOnly() const; - WINRT_IMPL_AUTO(void) EncipherOnly(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CrlSign() const; - WINRT_IMPL_AUTO(void) CrlSign(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) KeyCertificateSign() const; - WINRT_IMPL_AUTO(void) KeyCertificateSign(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) KeyAgreement() const; - WINRT_IMPL_AUTO(void) KeyAgreement(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DataEncipherment() const; - WINRT_IMPL_AUTO(void) DataEncipherment(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) KeyEncipherment() const; - WINRT_IMPL_AUTO(void) KeyEncipherment(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) NonRepudiation() const; - WINRT_IMPL_AUTO(void) NonRepudiation(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DigitalSignature() const; - WINRT_IMPL_AUTO(void) DigitalSignature(bool value) const; + [[nodiscard]] auto EncipherOnly() const; + auto EncipherOnly(bool value) const; + [[nodiscard]] auto CrlSign() const; + auto CrlSign(bool value) const; + [[nodiscard]] auto KeyCertificateSign() const; + auto KeyCertificateSign(bool value) const; + [[nodiscard]] auto KeyAgreement() const; + auto KeyAgreement(bool value) const; + [[nodiscard]] auto DataEncipherment() const; + auto DataEncipherment(bool value) const; + [[nodiscard]] auto KeyEncipherment() const; + auto KeyEncipherment(bool value) const; + [[nodiscard]] auto NonRepudiation() const; + auto NonRepudiation(bool value) const; + [[nodiscard]] auto DigitalSignature() const; + auto DigitalSignature(bool value) const; }; template <> struct consume { @@ -971,15 +968,15 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateQuery { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) EnhancedKeyUsages() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IssuerName() const; - WINRT_IMPL_AUTO(void) IssuerName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FriendlyName() const; - WINRT_IMPL_AUTO(void) FriendlyName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) Thumbprint() const; - WINRT_IMPL_AUTO(void) Thumbprint(array_view value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HardwareOnly() const; - WINRT_IMPL_AUTO(void) HardwareOnly(bool value) const; + [[nodiscard]] auto EnhancedKeyUsages() const; + [[nodiscard]] auto IssuerName() const; + auto IssuerName(param::hstring const& value) const; + [[nodiscard]] auto FriendlyName() const; + auto FriendlyName(param::hstring const& value) const; + [[nodiscard]] auto Thumbprint() const; + auto Thumbprint(array_view value) const; + [[nodiscard]] auto HardwareOnly() const; + auto HardwareOnly(bool value) const; }; template <> struct consume { @@ -988,12 +985,12 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IncludeDuplicates() const; - WINRT_IMPL_AUTO(void) IncludeDuplicates(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IncludeExpiredCertificates() const; - WINRT_IMPL_AUTO(void) IncludeExpiredCertificates(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StoreName() const; - WINRT_IMPL_AUTO(void) StoreName(param::hstring const& value) const; + [[nodiscard]] auto IncludeDuplicates() const; + auto IncludeDuplicates(bool value) const; + [[nodiscard]] auto IncludeExpiredCertificates() const; + auto IncludeExpiredCertificates(bool value) const; + [[nodiscard]] auto StoreName() const; + auto StoreName(param::hstring const& value) const; }; template <> struct consume { @@ -1002,24 +999,24 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subject() const; - WINRT_IMPL_AUTO(void) Subject(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KeyAlgorithmName() const; - WINRT_IMPL_AUTO(void) KeyAlgorithmName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) KeySize() const; - WINRT_IMPL_AUTO(void) KeySize(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FriendlyName() const; - WINRT_IMPL_AUTO(void) FriendlyName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HashAlgorithmName() const; - WINRT_IMPL_AUTO(void) HashAlgorithmName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::ExportOption) Exportable() const; - WINRT_IMPL_AUTO(void) Exportable(winrt::Windows::Security::Cryptography::Certificates::ExportOption const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::EnrollKeyUsages) KeyUsages() const; - WINRT_IMPL_AUTO(void) KeyUsages(winrt::Windows::Security::Cryptography::Certificates::EnrollKeyUsages const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel) KeyProtectionLevel() const; - WINRT_IMPL_AUTO(void) KeyProtectionLevel(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KeyStorageProviderName() const; - WINRT_IMPL_AUTO(void) KeyStorageProviderName(param::hstring const& value) const; + [[nodiscard]] auto Subject() const; + auto Subject(param::hstring const& value) const; + [[nodiscard]] auto KeyAlgorithmName() const; + auto KeyAlgorithmName(param::hstring const& value) const; + [[nodiscard]] auto KeySize() const; + auto KeySize(uint32_t value) const; + [[nodiscard]] auto FriendlyName() const; + auto FriendlyName(param::hstring const& value) const; + [[nodiscard]] auto HashAlgorithmName() const; + auto HashAlgorithmName(param::hstring const& value) const; + [[nodiscard]] auto Exportable() const; + auto Exportable(winrt::Windows::Security::Cryptography::Certificates::ExportOption const& value) const; + [[nodiscard]] auto KeyUsages() const; + auto KeyUsages(winrt::Windows::Security::Cryptography::Certificates::EnrollKeyUsages const& value) const; + [[nodiscard]] auto KeyProtectionLevel() const; + auto KeyProtectionLevel(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& value) const; + [[nodiscard]] auto KeyStorageProviderName() const; + auto KeyStorageProviderName(param::hstring const& value) const; }; template <> struct consume { @@ -1028,12 +1025,12 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SmartcardReaderName() const; - WINRT_IMPL_AUTO(void) SmartcardReaderName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) SigningCertificate() const; - WINRT_IMPL_AUTO(void) SigningCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) AttestationCredentialCertificate() const; - WINRT_IMPL_AUTO(void) AttestationCredentialCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; + [[nodiscard]] auto SmartcardReaderName() const; + auto SmartcardReaderName(param::hstring const& value) const; + [[nodiscard]] auto SigningCertificate() const; + auto SigningCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; + [[nodiscard]] auto AttestationCredentialCertificate() const; + auto AttestationCredentialCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; }; template <> struct consume { @@ -1042,16 +1039,16 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CurveName() const; - WINRT_IMPL_AUTO(void) CurveName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) CurveParameters() const; - WINRT_IMPL_AUTO(void) CurveParameters(array_view value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContainerNamePrefix() const; - WINRT_IMPL_AUTO(void) ContainerNamePrefix(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContainerName() const; - WINRT_IMPL_AUTO(void) ContainerName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) UseExistingKey() const; - WINRT_IMPL_AUTO(void) UseExistingKey(bool value) const; + [[nodiscard]] auto CurveName() const; + auto CurveName(param::hstring const& value) const; + [[nodiscard]] auto CurveParameters() const; + auto CurveParameters(array_view value) const; + [[nodiscard]] auto ContainerNamePrefix() const; + auto ContainerNamePrefix(param::hstring const& value) const; + [[nodiscard]] auto ContainerName() const; + auto ContainerName(param::hstring const& value) const; + [[nodiscard]] auto UseExistingKey() const; + auto UseExistingKey(bool value) const; }; template <> struct consume { @@ -1060,9 +1057,9 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SuppressedDefaults() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::SubjectAlternativeNameInfo) SubjectAlternativeName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Extensions() const; + [[nodiscard]] auto SuppressedDefaults() const; + [[nodiscard]] auto SubjectAlternativeName() const; + [[nodiscard]] auto Extensions() const; }; template <> struct consume { @@ -1071,8 +1068,8 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateStore { - WINRT_IMPL_AUTO(void) Add(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; - WINRT_IMPL_AUTO(void) Delete(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; + auto Add(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; + auto Delete(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; }; template <> struct consume { @@ -1081,7 +1078,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateStore2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; + [[nodiscard]] auto Name() const; }; template <> struct consume { @@ -1090,11 +1087,11 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateQuery const& query) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateStore) TrustedRootCertificationAuthorities() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateStore) IntermediateCertificationAuthorities() const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateStore) GetStoreByName(param::hstring const& storeName) const; + auto FindAllAsync() const; + auto FindAllAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateQuery const& query) const; + [[nodiscard]] auto TrustedRootCertificationAuthorities() const; + [[nodiscard]] auto IntermediateCertificationAuthorities() const; + auto GetStoreByName(param::hstring const& storeName) const; }; template <> struct consume { @@ -1103,7 +1100,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::UserCertificateStore) GetUserStoreByName(param::hstring const& storeName) const; + auto GetUserStoreByName(param::hstring const& storeName) const; }; template <> struct consume { @@ -1112,18 +1109,18 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) EnhancedKeyUsages() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) ValidationTimestamp() const; - WINRT_IMPL_AUTO(void) ValidationTimestamp(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RevocationCheckEnabled() const; - WINRT_IMPL_AUTO(void) RevocationCheckEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) NetworkRetrievalEnabled() const; - WINRT_IMPL_AUTO(void) NetworkRetrievalEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AuthorityInformationAccessEnabled() const; - WINRT_IMPL_AUTO(void) AuthorityInformationAccessEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CurrentTimeValidationEnabled() const; - WINRT_IMPL_AUTO(void) CurrentTimeValidationEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ExclusiveTrustRoots() const; + [[nodiscard]] auto EnhancedKeyUsages() const; + [[nodiscard]] auto ValidationTimestamp() const; + auto ValidationTimestamp(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto RevocationCheckEnabled() const; + auto RevocationCheckEnabled(bool value) const; + [[nodiscard]] auto NetworkRetrievalEnabled() const; + auto NetworkRetrievalEnabled(bool value) const; + [[nodiscard]] auto AuthorityInformationAccessEnabled() const; + auto AuthorityInformationAccessEnabled(bool value) const; + [[nodiscard]] auto CurrentTimeValidationEnabled() const; + auto CurrentTimeValidationEnabled(bool value) const; + [[nodiscard]] auto ExclusiveTrustRoots() const; }; template <> struct consume { @@ -1132,10 +1129,10 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateChainPolicy) CertificateChainPolicy() const; - WINRT_IMPL_AUTO(void) CertificateChainPolicy(winrt::Windows::Security::Cryptography::Certificates::CertificateChainPolicy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) ServerDnsName() const; - WINRT_IMPL_AUTO(void) ServerDnsName(winrt::Windows::Networking::HostName const& value) const; + [[nodiscard]] auto CertificateChainPolicy() const; + auto CertificateChainPolicy(winrt::Windows::Security::Cryptography::Certificates::CertificateChainPolicy const& value) const; + [[nodiscard]] auto ServerDnsName() const; + auto ServerDnsName(winrt::Windows::Networking::HostName const& value) const; }; template <> struct consume { @@ -1144,10 +1141,10 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Certificates() const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) Content() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Signers() const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::SignatureValidationResult) VerifySignature() const; + [[nodiscard]] auto Certificates() const; + [[nodiscard]] auto Content() const; + [[nodiscard]] auto Signers() const; + auto VerifySignature() const; }; template <> struct consume { @@ -1156,7 +1153,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignatureFactory { - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CmsAttachedSignature) CreateCmsAttachedSignature(winrt::Windows::Storage::Streams::IBuffer const& inputBlob) const; + auto CreateCmsAttachedSignature(winrt::Windows::Storage::Streams::IBuffer const& inputBlob) const; }; template <> struct consume { @@ -1165,7 +1162,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignatureStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GenerateSignatureAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::async_iterable const& signers, param::async_iterable const& certificates) const; + auto GenerateSignatureAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::async_iterable const& signers, param::async_iterable const& certificates) const; }; template <> struct consume { @@ -1174,9 +1171,9 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignature { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Certificates() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Signers() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) VerifySignatureAsync(winrt::Windows::Storage::Streams::IInputStream const& data) const; + [[nodiscard]] auto Certificates() const; + [[nodiscard]] auto Signers() const; + auto VerifySignatureAsync(winrt::Windows::Storage::Streams::IInputStream const& data) const; }; template <> struct consume { @@ -1185,7 +1182,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignatureFactory { - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CmsDetachedSignature) CreateCmsDetachedSignature(winrt::Windows::Storage::Streams::IBuffer const& inputBlob) const; + auto CreateCmsDetachedSignature(winrt::Windows::Storage::Streams::IBuffer const& inputBlob) const; }; template <> struct consume { @@ -1194,7 +1191,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignatureStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GenerateSignatureAsync(winrt::Windows::Storage::Streams::IInputStream const& data, param::async_iterable const& signers, param::async_iterable const& certificates) const; + auto GenerateSignatureAsync(winrt::Windows::Storage::Streams::IInputStream const& data, param::async_iterable const& signers, param::async_iterable const& certificates) const; }; template <> struct consume { @@ -1203,11 +1200,11 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) Certificate() const; - WINRT_IMPL_AUTO(void) Certificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HashAlgorithmName() const; - WINRT_IMPL_AUTO(void) HashAlgorithmName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CmsTimestampInfo) TimestampInfo() const; + [[nodiscard]] auto Certificate() const; + auto Certificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; + [[nodiscard]] auto HashAlgorithmName() const; + auto HashAlgorithmName(param::hstring const& value) const; + [[nodiscard]] auto TimestampInfo() const; }; template <> struct consume { @@ -1216,9 +1213,9 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ICmsTimestampInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) SigningCertificate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Certificates() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; + [[nodiscard]] auto SigningCertificate() const; + [[nodiscard]] auto Certificates() const; + [[nodiscard]] auto Timestamp() const; }; template <> struct consume { @@ -1227,14 +1224,14 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Rsa() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Dsa() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Ecdh256() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Ecdh384() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Ecdh521() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Ecdsa256() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Ecdsa384() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Ecdsa521() const; + [[nodiscard]] auto Rsa() const; + [[nodiscard]] auto Dsa() const; + [[nodiscard]] auto Ecdh256() const; + [[nodiscard]] auto Ecdh384() const; + [[nodiscard]] auto Ecdh521() const; + [[nodiscard]] auto Ecdsa256() const; + [[nodiscard]] auto Ecdsa384() const; + [[nodiscard]] auto Ecdsa521() const; }; template <> struct consume { @@ -1243,8 +1240,8 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Ecdsa() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Ecdh() const; + [[nodiscard]] auto Ecdsa() const; + [[nodiscard]] auto Ecdh() const; }; template <> struct consume { @@ -1253,8 +1250,8 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DecryptTpmAttestationCredentialAsync(param::hstring const& credential) const; - WINRT_IMPL_AUTO(hstring) GetTpmAttestationCredentialId(param::hstring const& credential) const; + auto DecryptTpmAttestationCredentialAsync(param::hstring const& credential) const; + auto GetTpmAttestationCredentialId(param::hstring const& credential) const; }; template <> struct consume { @@ -1263,7 +1260,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DecryptTpmAttestationCredentialAsync(param::hstring const& credential, param::hstring const& containerName) const; + auto DecryptTpmAttestationCredentialAsync(param::hstring const& credential, param::hstring const& containerName) const; }; template <> struct consume { @@ -1272,9 +1269,9 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SoftwareKeyStorageProvider() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SmartcardKeyStorageProvider() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PlatformKeyStorageProvider() const; + [[nodiscard]] auto SoftwareKeyStorageProvider() const; + [[nodiscard]] auto SmartcardKeyStorageProvider() const; + [[nodiscard]] auto PlatformKeyStorageProvider() const; }; template <> struct consume { @@ -1283,7 +1280,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PassportKeyStorageProvider() const; + [[nodiscard]] auto PassportKeyStorageProvider() const; }; template <> struct consume { @@ -1292,20 +1289,20 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::ExportOption) Exportable() const; - WINRT_IMPL_AUTO(void) Exportable(winrt::Windows::Security::Cryptography::Certificates::ExportOption const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel) KeyProtectionLevel() const; - WINRT_IMPL_AUTO(void) KeyProtectionLevel(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::InstallOptions) InstallOptions() const; - WINRT_IMPL_AUTO(void) InstallOptions(winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FriendlyName() const; - WINRT_IMPL_AUTO(void) FriendlyName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KeyStorageProviderName() const; - WINRT_IMPL_AUTO(void) KeyStorageProviderName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContainerNamePrefix() const; - WINRT_IMPL_AUTO(void) ContainerNamePrefix(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ReaderName() const; - WINRT_IMPL_AUTO(void) ReaderName(param::hstring const& value) const; + [[nodiscard]] auto Exportable() const; + auto Exportable(winrt::Windows::Security::Cryptography::Certificates::ExportOption const& value) const; + [[nodiscard]] auto KeyProtectionLevel() const; + auto KeyProtectionLevel(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& value) const; + [[nodiscard]] auto InstallOptions() const; + auto InstallOptions(winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& value) const; + [[nodiscard]] auto FriendlyName() const; + auto FriendlyName(param::hstring const& value) const; + [[nodiscard]] auto KeyStorageProviderName() const; + auto KeyStorageProviderName(param::hstring const& value) const; + [[nodiscard]] auto ContainerNamePrefix() const; + auto ContainerNamePrefix(param::hstring const& value) const; + [[nodiscard]] auto ReaderName() const; + auto ReaderName(param::hstring const& value) const; }; template <> struct consume { @@ -1314,9 +1311,9 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_IStandardCertificateStoreNamesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Personal() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TrustedRootCertificationAuthorities() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IntermediateCertificationAuthorities() const; + [[nodiscard]] auto Personal() const; + [[nodiscard]] auto TrustedRootCertificationAuthorities() const; + [[nodiscard]] auto IntermediateCertificationAuthorities() const; }; template <> struct consume { @@ -1325,12 +1322,12 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) EmailName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) IPAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Url() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) DnsName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) DistinguishedName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PrincipalName() const; + [[nodiscard]] auto EmailName() const; + [[nodiscard]] auto IPAddress() const; + [[nodiscard]] auto Url() const; + [[nodiscard]] auto DnsName() const; + [[nodiscard]] auto DistinguishedName() const; + [[nodiscard]] auto PrincipalName() const; }; template <> struct consume { @@ -1339,13 +1336,13 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) EmailNames() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) IPAddresses() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Urls() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DnsNames() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DistinguishedNames() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) PrincipalNames() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateExtension) Extension() const; + [[nodiscard]] auto EmailNames() const; + [[nodiscard]] auto IPAddresses() const; + [[nodiscard]] auto Urls() const; + [[nodiscard]] auto DnsNames() const; + [[nodiscard]] auto DistinguishedNames() const; + [[nodiscard]] auto PrincipalNames() const; + [[nodiscard]] auto Extension() const; }; template <> struct consume { @@ -1354,10 +1351,10 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateRequestAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateRequestProperties const& request) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) InstallCertificateAsync(param::hstring const& certificate, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName, param::hstring const& keyStorageProvider) const; + auto CreateRequestAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateRequestProperties const& request) const; + auto InstallCertificateAsync(param::hstring const& certificate, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption) const; + auto ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName) const; + auto ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::ExportOption const& exportable, winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& keyProtectionLevel, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption, param::hstring const& friendlyName, param::hstring const& keyStorageProvider) const; }; template <> struct consume { @@ -1366,7 +1363,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::PfxImportParameters const& pfxImportParameters) const; + auto ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::PfxImportParameters const& pfxImportParameters) const; }; template <> struct consume { @@ -1375,9 +1372,9 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Certificates_IUserCertificateStore { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAddAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestDeleteAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; + auto RequestAddAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; + auto RequestDeleteAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const; + [[nodiscard]] auto Name() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.1.h index fdd59402..3cf2ded8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Cryptography_Certificates_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.2.h index 1135f5ac..8fa6b137 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Cryptography_Certificates_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.0.h index 75a304cb..5f2fcddd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.0.h @@ -1,16 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Cryptography_Core_0_H #define WINRT_Windows_Security_Cryptography_Core_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Certificates { struct Certificate; @@ -598,24 +590,24 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RsaPkcs1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RsaOaepSha1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RsaOaepSha256() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RsaOaepSha384() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RsaOaepSha512() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EcdsaP256Sha256() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EcdsaP384Sha384() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EcdsaP521Sha512() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DsaSha1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DsaSha256() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RsaSignPkcs1Sha1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RsaSignPkcs1Sha256() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RsaSignPkcs1Sha384() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RsaSignPkcs1Sha512() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RsaSignPssSha1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RsaSignPssSha256() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RsaSignPssSha384() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RsaSignPssSha512() const; + [[nodiscard]] auto RsaPkcs1() const; + [[nodiscard]] auto RsaOaepSha1() const; + [[nodiscard]] auto RsaOaepSha256() const; + [[nodiscard]] auto RsaOaepSha384() const; + [[nodiscard]] auto RsaOaepSha512() const; + [[nodiscard]] auto EcdsaP256Sha256() const; + [[nodiscard]] auto EcdsaP384Sha384() const; + [[nodiscard]] auto EcdsaP521Sha512() const; + [[nodiscard]] auto DsaSha1() const; + [[nodiscard]] auto DsaSha256() const; + [[nodiscard]] auto RsaSignPkcs1Sha1() const; + [[nodiscard]] auto RsaSignPkcs1Sha256() const; + [[nodiscard]] auto RsaSignPkcs1Sha384() const; + [[nodiscard]] auto RsaSignPkcs1Sha512() const; + [[nodiscard]] auto RsaSignPssSha1() const; + [[nodiscard]] auto RsaSignPssSha256() const; + [[nodiscard]] auto RsaSignPssSha384() const; + [[nodiscard]] auto RsaSignPssSha512() const; }; template <> struct consume { @@ -624,9 +616,9 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EcdsaSha256() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EcdsaSha384() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EcdsaSha512() const; + [[nodiscard]] auto EcdsaSha256() const; + [[nodiscard]] auto EcdsaSha384() const; + [[nodiscard]] auto EcdsaSha512() const; }; template <> struct consume { @@ -635,12 +627,12 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlgorithmName() const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) CreateKeyPair(uint32_t keySize) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) ImportKeyPair(winrt::Windows::Storage::Streams::IBuffer const& keyBlob) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) ImportKeyPair(winrt::Windows::Storage::Streams::IBuffer const& keyBlob, winrt::Windows::Security::Cryptography::Core::CryptographicPrivateKeyBlobType const& BlobType) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) ImportPublicKey(winrt::Windows::Storage::Streams::IBuffer const& keyBlob) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) ImportPublicKey(winrt::Windows::Storage::Streams::IBuffer const& keyBlob, winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& BlobType) const; + [[nodiscard]] auto AlgorithmName() const; + auto CreateKeyPair(uint32_t keySize) const; + auto ImportKeyPair(winrt::Windows::Storage::Streams::IBuffer const& keyBlob) const; + auto ImportKeyPair(winrt::Windows::Storage::Streams::IBuffer const& keyBlob, winrt::Windows::Security::Cryptography::Core::CryptographicPrivateKeyBlobType const& BlobType) const; + auto ImportPublicKey(winrt::Windows::Storage::Streams::IBuffer const& keyBlob) const; + auto ImportPublicKey(winrt::Windows::Storage::Streams::IBuffer const& keyBlob, winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& BlobType) const; }; template <> struct consume { @@ -649,8 +641,8 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider2 { - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) CreateKeyPairWithCurveName(param::hstring const& curveName) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) CreateKeyPairWithCurveParameters(array_view parameters) const; + auto CreateKeyPairWithCurveName(param::hstring const& curveName) const; + auto CreateKeyPairWithCurveParameters(array_view parameters) const; }; template <> struct consume { @@ -659,7 +651,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProviderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::AsymmetricKeyAlgorithmProvider) OpenAlgorithm(param::hstring const& algorithm) const; + auto OpenAlgorithm(param::hstring const& algorithm) const; }; template <> struct consume { @@ -668,13 +660,13 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Encrypt(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Decrypt(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::EncryptedAndAuthenticatedData) EncryptAndAuthenticate(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& nonce, winrt::Windows::Storage::Streams::IBuffer const& authenticatedData) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) DecryptAndAuthenticate(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& nonce, winrt::Windows::Storage::Streams::IBuffer const& authenticationTag, winrt::Windows::Storage::Streams::IBuffer const& authenticatedData) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Sign(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const; - WINRT_IMPL_AUTO(bool) VerifySignature(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& signature) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) DeriveKeyMaterial(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters const& parameters, uint32_t desiredKeySize) const; + auto Encrypt(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv) const; + auto Decrypt(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv) const; + auto EncryptAndAuthenticate(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& nonce, winrt::Windows::Storage::Streams::IBuffer const& authenticatedData) const; + auto DecryptAndAuthenticate(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& nonce, winrt::Windows::Storage::Streams::IBuffer const& authenticationTag, winrt::Windows::Storage::Streams::IBuffer const& authenticatedData) const; + auto Sign(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto VerifySignature(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& signature) const; + auto DeriveKeyMaterial(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters const& parameters, uint32_t desiredKeySize) const; }; template <> struct consume { @@ -683,11 +675,11 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) SignHashedData(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const; - WINRT_IMPL_AUTO(bool) VerifySignatureWithHashInput(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& signature) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) DecryptAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SignAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SignHashedDataAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto SignHashedData(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto VerifySignatureWithHashInput(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& signature) const; + auto DecryptAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::Storage::Streams::IBuffer const& iv) const; + auto SignAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto SignHashedDataAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const; }; template <> struct consume { @@ -696,11 +688,11 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_ICryptographicKey { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) KeySize() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Export() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Export(winrt::Windows::Security::Cryptography::Core::CryptographicPrivateKeyBlobType const& BlobType) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ExportPublicKey() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ExportPublicKey(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& BlobType) const; + [[nodiscard]] auto KeySize() const; + auto Export() const; + auto Export(winrt::Windows::Security::Cryptography::Core::CryptographicPrivateKeyBlobType const& BlobType) const; + auto ExportPublicKey() const; + auto ExportPublicKey(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& BlobType) const; }; template <> struct consume { @@ -709,52 +701,52 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BrainpoolP160r1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BrainpoolP160t1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BrainpoolP192r1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BrainpoolP192t1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BrainpoolP224r1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BrainpoolP224t1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BrainpoolP256r1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BrainpoolP256t1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BrainpoolP320r1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BrainpoolP320t1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BrainpoolP384r1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BrainpoolP384t1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BrainpoolP512r1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BrainpoolP512t1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Curve25519() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Ec192wapi() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NistP192() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NistP224() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NistP256() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NistP384() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NistP521() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NumsP256t1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NumsP384t1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NumsP512t1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SecP160k1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SecP160r1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SecP160r2() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SecP192k1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SecP192r1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SecP224k1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SecP224r1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SecP256k1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SecP256r1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SecP384r1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SecP521r1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Wtls7() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Wtls9() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Wtls12() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) X962P192v1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) X962P192v2() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) X962P192v3() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) X962P239v1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) X962P239v2() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) X962P239v3() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) X962P256v1() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AllEccCurveNames() const; + [[nodiscard]] auto BrainpoolP160r1() const; + [[nodiscard]] auto BrainpoolP160t1() const; + [[nodiscard]] auto BrainpoolP192r1() const; + [[nodiscard]] auto BrainpoolP192t1() const; + [[nodiscard]] auto BrainpoolP224r1() const; + [[nodiscard]] auto BrainpoolP224t1() const; + [[nodiscard]] auto BrainpoolP256r1() const; + [[nodiscard]] auto BrainpoolP256t1() const; + [[nodiscard]] auto BrainpoolP320r1() const; + [[nodiscard]] auto BrainpoolP320t1() const; + [[nodiscard]] auto BrainpoolP384r1() const; + [[nodiscard]] auto BrainpoolP384t1() const; + [[nodiscard]] auto BrainpoolP512r1() const; + [[nodiscard]] auto BrainpoolP512t1() const; + [[nodiscard]] auto Curve25519() const; + [[nodiscard]] auto Ec192wapi() const; + [[nodiscard]] auto NistP192() const; + [[nodiscard]] auto NistP224() const; + [[nodiscard]] auto NistP256() const; + [[nodiscard]] auto NistP384() const; + [[nodiscard]] auto NistP521() const; + [[nodiscard]] auto NumsP256t1() const; + [[nodiscard]] auto NumsP384t1() const; + [[nodiscard]] auto NumsP512t1() const; + [[nodiscard]] auto SecP160k1() const; + [[nodiscard]] auto SecP160r1() const; + [[nodiscard]] auto SecP160r2() const; + [[nodiscard]] auto SecP192k1() const; + [[nodiscard]] auto SecP192r1() const; + [[nodiscard]] auto SecP224k1() const; + [[nodiscard]] auto SecP224r1() const; + [[nodiscard]] auto SecP256k1() const; + [[nodiscard]] auto SecP256r1() const; + [[nodiscard]] auto SecP384r1() const; + [[nodiscard]] auto SecP521r1() const; + [[nodiscard]] auto Wtls7() const; + [[nodiscard]] auto Wtls9() const; + [[nodiscard]] auto Wtls12() const; + [[nodiscard]] auto X962P192v1() const; + [[nodiscard]] auto X962P192v2() const; + [[nodiscard]] auto X962P192v3() const; + [[nodiscard]] auto X962P239v1() const; + [[nodiscard]] auto X962P239v2() const; + [[nodiscard]] auto X962P239v3() const; + [[nodiscard]] auto X962P256v1() const; + [[nodiscard]] auto AllEccCurveNames() const; }; template <> struct consume { @@ -763,8 +755,8 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IEncryptedAndAuthenticatedData { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) EncryptedData() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) AuthenticationTag() const; + [[nodiscard]] auto EncryptedData() const; + [[nodiscard]] auto AuthenticationTag() const; }; template <> struct consume { @@ -773,11 +765,11 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Md5() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sha1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sha256() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sha384() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sha512() const; + [[nodiscard]] auto Md5() const; + [[nodiscard]] auto Sha1() const; + [[nodiscard]] auto Sha256() const; + [[nodiscard]] auto Sha384() const; + [[nodiscard]] auto Sha512() const; }; template <> struct consume { @@ -786,10 +778,10 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlgorithmName() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) HashLength() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) HashData(winrt::Windows::Storage::Streams::IBuffer const& data) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicHash) CreateHash() const; + [[nodiscard]] auto AlgorithmName() const; + [[nodiscard]] auto HashLength() const; + auto HashData(winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto CreateHash() const; }; template <> struct consume { @@ -798,7 +790,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IHashAlgorithmProviderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::HashAlgorithmProvider) OpenAlgorithm(param::hstring const& algorithm) const; + auto OpenAlgorithm(param::hstring const& algorithm) const; }; template <> struct consume { @@ -807,8 +799,8 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IHashComputation { - WINRT_IMPL_AUTO(void) Append(winrt::Windows::Storage::Streams::IBuffer const& data) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) GetValueAndReset() const; + auto Append(winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto GetValueAndReset() const; }; template <> struct consume { @@ -817,21 +809,21 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Pbkdf2Md5() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Pbkdf2Sha1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Pbkdf2Sha256() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Pbkdf2Sha384() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Pbkdf2Sha512() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sp800108CtrHmacMd5() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sp800108CtrHmacSha1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sp800108CtrHmacSha256() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sp800108CtrHmacSha384() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sp800108CtrHmacSha512() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sp80056aConcatMd5() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sp80056aConcatSha1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sp80056aConcatSha256() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sp80056aConcatSha384() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sp80056aConcatSha512() const; + [[nodiscard]] auto Pbkdf2Md5() const; + [[nodiscard]] auto Pbkdf2Sha1() const; + [[nodiscard]] auto Pbkdf2Sha256() const; + [[nodiscard]] auto Pbkdf2Sha384() const; + [[nodiscard]] auto Pbkdf2Sha512() const; + [[nodiscard]] auto Sp800108CtrHmacMd5() const; + [[nodiscard]] auto Sp800108CtrHmacSha1() const; + [[nodiscard]] auto Sp800108CtrHmacSha256() const; + [[nodiscard]] auto Sp800108CtrHmacSha384() const; + [[nodiscard]] auto Sp800108CtrHmacSha512() const; + [[nodiscard]] auto Sp80056aConcatMd5() const; + [[nodiscard]] auto Sp80056aConcatSha1() const; + [[nodiscard]] auto Sp80056aConcatSha256() const; + [[nodiscard]] auto Sp80056aConcatSha384() const; + [[nodiscard]] auto Sp80056aConcatSha512() const; }; template <> struct consume { @@ -840,11 +832,11 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CapiKdfMd5() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CapiKdfSha1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CapiKdfSha256() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CapiKdfSha384() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CapiKdfSha512() const; + [[nodiscard]] auto CapiKdfMd5() const; + [[nodiscard]] auto CapiKdfSha1() const; + [[nodiscard]] auto CapiKdfSha256() const; + [[nodiscard]] auto CapiKdfSha384() const; + [[nodiscard]] auto CapiKdfSha512() const; }; template <> struct consume { @@ -853,8 +845,8 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProvider { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlgorithmName() const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) CreateKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const; + [[nodiscard]] auto AlgorithmName() const; + auto CreateKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const; }; template <> struct consume { @@ -863,7 +855,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProviderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::KeyDerivationAlgorithmProvider) OpenAlgorithm(param::hstring const& algorithm) const; + auto OpenAlgorithm(param::hstring const& algorithm) const; }; template <> struct consume { @@ -872,9 +864,9 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) KdfGenericBinary() const; - WINRT_IMPL_AUTO(void) KdfGenericBinary(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) IterationCount() const; + [[nodiscard]] auto KdfGenericBinary() const; + auto KdfGenericBinary(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto IterationCount() const; }; template <> struct consume { @@ -883,8 +875,8 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm) Capi1KdfTargetAlgorithm() const; - WINRT_IMPL_AUTO(void) Capi1KdfTargetAlgorithm(winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm const& value) const; + [[nodiscard]] auto Capi1KdfTargetAlgorithm() const; + auto Capi1KdfTargetAlgorithm(winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm const& value) const; }; template <> struct consume { @@ -893,9 +885,9 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics { - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters) BuildForPbkdf2(winrt::Windows::Storage::Streams::IBuffer const& pbkdf2Salt, uint32_t iterationCount) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters) BuildForSP800108(winrt::Windows::Storage::Streams::IBuffer const& label, winrt::Windows::Storage::Streams::IBuffer const& context) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters) BuildForSP80056a(winrt::Windows::Storage::Streams::IBuffer const& algorithmId, winrt::Windows::Storage::Streams::IBuffer const& partyUInfo, winrt::Windows::Storage::Streams::IBuffer const& partyVInfo, winrt::Windows::Storage::Streams::IBuffer const& suppPubInfo, winrt::Windows::Storage::Streams::IBuffer const& suppPrivInfo) const; + auto BuildForPbkdf2(winrt::Windows::Storage::Streams::IBuffer const& pbkdf2Salt, uint32_t iterationCount) const; + auto BuildForSP800108(winrt::Windows::Storage::Streams::IBuffer const& label, winrt::Windows::Storage::Streams::IBuffer const& context) const; + auto BuildForSP80056a(winrt::Windows::Storage::Streams::IBuffer const& algorithmId, winrt::Windows::Storage::Streams::IBuffer const& partyUInfo, winrt::Windows::Storage::Streams::IBuffer const& partyVInfo, winrt::Windows::Storage::Streams::IBuffer const& suppPubInfo, winrt::Windows::Storage::Streams::IBuffer const& suppPrivInfo) const; }; template <> struct consume { @@ -904,7 +896,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters) BuildForCapi1Kdf(winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm const& capi1KdfTargetAlgorithm) const; + auto BuildForCapi1Kdf(winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm const& capi1KdfTargetAlgorithm) const; }; template <> struct consume { @@ -913,12 +905,12 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HmacMd5() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HmacSha1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HmacSha256() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HmacSha384() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HmacSha512() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AesCmac() const; + [[nodiscard]] auto HmacMd5() const; + [[nodiscard]] auto HmacSha1() const; + [[nodiscard]] auto HmacSha256() const; + [[nodiscard]] auto HmacSha384() const; + [[nodiscard]] auto HmacSha512() const; + [[nodiscard]] auto AesCmac() const; }; template <> struct consume { @@ -927,9 +919,9 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlgorithmName() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MacLength() const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) CreateKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const; + [[nodiscard]] auto AlgorithmName() const; + [[nodiscard]] auto MacLength() const; + auto CreateKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const; }; template <> struct consume { @@ -938,7 +930,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider2 { - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicHash) CreateHash(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const; + auto CreateHash(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const; }; template <> struct consume { @@ -947,7 +939,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IMacAlgorithmProviderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::MacAlgorithmProvider) OpenAlgorithm(param::hstring const& algorithm) const; + auto OpenAlgorithm(param::hstring const& algorithm) const; }; template <> struct consume { @@ -956,8 +948,8 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_IPersistedKeyProviderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenKeyPairFromCertificateAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate, param::hstring const& hashAlgorithmName, winrt::Windows::Security::Cryptography::Core::CryptographicPadding const& padding) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) OpenPublicKeyFromCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate, param::hstring const& hashAlgorithmName, winrt::Windows::Security::Cryptography::Core::CryptographicPadding const& padding) const; + auto OpenKeyPairFromCertificateAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate, param::hstring const& hashAlgorithmName, winrt::Windows::Security::Cryptography::Core::CryptographicPadding const& padding) const; + auto OpenPublicKeyFromCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate, param::hstring const& hashAlgorithmName, winrt::Windows::Security::Cryptography::Core::CryptographicPadding const& padding) const; }; template <> struct consume { @@ -966,25 +958,25 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DesCbc() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DesEcb() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TripleDesCbc() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TripleDesEcb() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Rc2Cbc() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Rc2Ecb() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AesCbc() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AesEcb() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AesGcm() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AesCcm() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AesCbcPkcs7() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AesEcbPkcs7() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DesCbcPkcs7() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DesEcbPkcs7() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TripleDesCbcPkcs7() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TripleDesEcbPkcs7() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Rc2CbcPkcs7() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Rc2EcbPkcs7() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Rc4() const; + [[nodiscard]] auto DesCbc() const; + [[nodiscard]] auto DesEcb() const; + [[nodiscard]] auto TripleDesCbc() const; + [[nodiscard]] auto TripleDesEcb() const; + [[nodiscard]] auto Rc2Cbc() const; + [[nodiscard]] auto Rc2Ecb() const; + [[nodiscard]] auto AesCbc() const; + [[nodiscard]] auto AesEcb() const; + [[nodiscard]] auto AesGcm() const; + [[nodiscard]] auto AesCcm() const; + [[nodiscard]] auto AesCbcPkcs7() const; + [[nodiscard]] auto AesEcbPkcs7() const; + [[nodiscard]] auto DesCbcPkcs7() const; + [[nodiscard]] auto DesEcbPkcs7() const; + [[nodiscard]] auto TripleDesCbcPkcs7() const; + [[nodiscard]] auto TripleDesEcbPkcs7() const; + [[nodiscard]] auto Rc2CbcPkcs7() const; + [[nodiscard]] auto Rc2EcbPkcs7() const; + [[nodiscard]] auto Rc4() const; }; template <> struct consume { @@ -993,9 +985,9 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProvider { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlgorithmName() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) BlockLength() const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) CreateSymmetricKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const; + [[nodiscard]] auto AlgorithmName() const; + [[nodiscard]] auto BlockLength() const; + auto CreateSymmetricKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const; }; template <> struct consume { @@ -1004,7 +996,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProviderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::SymmetricKeyAlgorithmProvider) OpenAlgorithm(param::hstring const& algorithm) const; + auto OpenAlgorithm(param::hstring const& algorithm) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.1.h index b8e22f6b..5689ebca 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Cryptography_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.2.h index 23c7ec4c..52c1328f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Cryptography_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.0.h index 554ba1a9..9415a583 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Cryptography_DataProtection_0_H @@ -6,7 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { @@ -51,10 +50,10 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ProtectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UnprotectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ProtectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& src, winrt::Windows::Storage::Streams::IOutputStream const& dest) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UnprotectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& src, winrt::Windows::Storage::Streams::IOutputStream const& dest) const; + auto ProtectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto UnprotectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto ProtectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& src, winrt::Windows::Storage::Streams::IOutputStream const& dest) const; + auto UnprotectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& src, winrt::Windows::Storage::Streams::IOutputStream const& dest) const; }; template <> struct consume { @@ -63,7 +62,7 @@ namespace winrt::impl template struct consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProviderFactory { - WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::DataProtection::DataProtectionProvider) CreateOverloadExplicit(param::hstring const& protectionDescriptor) const; + auto CreateOverloadExplicit(param::hstring const& protectionDescriptor) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.1.h index 38cca420..c6c96518 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Cryptography_DataProtection_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.2.h index d460f47c..cd358bb7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Cryptography_DataProtection_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.0.h index 9f8a7c8c..78261740 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_DataProtection_0_H @@ -7,7 +7,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Storage @@ -132,7 +131,7 @@ namespace winrt::impl template struct consume_Windows_Security_DataProtection_IUserDataAvailabilityStateChangedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -141,8 +140,8 @@ namespace winrt::impl template struct consume_Windows_Security_DataProtection_IUserDataBufferUnprotectResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::DataProtection::UserDataBufferUnprotectStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) UnprotectedBuffer() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto UnprotectedBuffer() const; }; template <> struct consume { @@ -151,15 +150,15 @@ namespace winrt::impl template struct consume_Windows_Security_DataProtection_IUserDataProtectionManager { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ProtectStorageItemAsync(winrt::Windows::Storage::IStorageItem const& storageItem, winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetStorageItemProtectionInfoAsync(winrt::Windows::Storage::IStorageItem const& storageItem) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ProtectBufferAsync(winrt::Windows::Storage::Streams::IBuffer const& unprotectedBuffer, winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UnprotectBufferAsync(winrt::Windows::Storage::Streams::IBuffer const& protectedBuffer) const; - WINRT_IMPL_AUTO(bool) IsContinuedDataAvailabilityExpected(winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const; - WINRT_IMPL_AUTO(winrt::event_token) DataAvailabilityStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ProtectStorageItemAsync(winrt::Windows::Storage::IStorageItem const& storageItem, winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const; + auto GetStorageItemProtectionInfoAsync(winrt::Windows::Storage::IStorageItem const& storageItem) const; + auto ProtectBufferAsync(winrt::Windows::Storage::Streams::IBuffer const& unprotectedBuffer, winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const; + auto UnprotectBufferAsync(winrt::Windows::Storage::Streams::IBuffer const& protectedBuffer) const; + auto IsContinuedDataAvailabilityExpected(winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const; + auto DataAvailabilityStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DataAvailabilityStateChanged_revoker = impl::event_revoker::remove_DataAvailabilityStateChanged>; - [[nodiscard]] DataAvailabilityStateChanged_revoker DataAvailabilityStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DataAvailabilityStateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DataAvailabilityStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DataAvailabilityStateChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -168,8 +167,8 @@ namespace winrt::impl template struct consume_Windows_Security_DataProtection_IUserDataProtectionManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Security::DataProtection::UserDataProtectionManager) TryGetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::Security::DataProtection::UserDataProtectionManager) TryGetForUser(winrt::Windows::System::User const& user) const; + auto TryGetDefault() const; + auto TryGetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -178,7 +177,7 @@ namespace winrt::impl template struct consume_Windows_Security_DataProtection_IUserDataStorageItemProtectionInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::DataProtection::UserDataAvailability) Availability() const; + [[nodiscard]] auto Availability() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.1.h index 0f0d3f10..dc5f9e43 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_DataProtection_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.2.h index d5c86b9b..ab283761 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_DataProtection_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.0.h index c7a9a9da..dfeeba8d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_EnterpriseData_0_H @@ -8,12 +8,10 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct Deferral; template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Networking { @@ -537,8 +535,8 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IBufferProtectUnprotectResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Buffer() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::DataProtectionInfo) ProtectionInfo() const; + [[nodiscard]] auto Buffer() const; + [[nodiscard]] auto ProtectionInfo() const; }; template <> struct consume { @@ -547,8 +545,8 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IDataProtectionInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::DataProtectionStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Identity() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Identity() const; }; template <> struct consume { @@ -557,12 +555,12 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ProtectAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::hstring const& identity) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UnprotectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ProtectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& unprotectedStream, param::hstring const& identity, winrt::Windows::Storage::Streams::IOutputStream const& protectedStream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UnprotectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& protectedStream, winrt::Windows::Storage::Streams::IOutputStream const& unprotectedStream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetProtectionInfoAsync(winrt::Windows::Storage::Streams::IBuffer const& protectedData) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetStreamProtectionInfoAsync(winrt::Windows::Storage::Streams::IInputStream const& protectedStream) const; + auto ProtectAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::hstring const& identity) const; + auto UnprotectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const; + auto ProtectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& unprotectedStream, param::hstring const& identity, winrt::Windows::Storage::Streams::IOutputStream const& protectedStream) const; + auto UnprotectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& protectedStream, winrt::Windows::Storage::Streams::IOutputStream const& unprotectedStream) const; + auto GetProtectionInfoAsync(winrt::Windows::Storage::Streams::IBuffer const& protectedData) const; + auto GetStreamProtectionInfoAsync(winrt::Windows::Storage::Streams::IInputStream const& protectedStream) const; }; template <> struct consume { @@ -571,9 +569,9 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IFileProtectionInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::FileProtectionStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRoamable() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Identity() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto IsRoamable() const; + [[nodiscard]] auto Identity() const; }; template <> struct consume { @@ -582,7 +580,7 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IFileProtectionInfo2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsProtectWhileOpenSupported() const; + [[nodiscard]] auto IsProtectWhileOpenSupported() const; }; template <> struct consume { @@ -591,13 +589,13 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ProtectAsync(winrt::Windows::Storage::IStorageItem const& target, param::hstring const& identity) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CopyProtectionAsync(winrt::Windows::Storage::IStorageItem const& source, winrt::Windows::Storage::IStorageItem const& target) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetProtectionInfoAsync(winrt::Windows::Storage::IStorageItem const& source) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile, winrt::Windows::Storage::IStorageItem const& target) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateProtectedAndOpenAsync(winrt::Windows::Storage::IStorageFolder const& parentFolder, param::hstring const& desiredName, param::hstring const& identity, winrt::Windows::Storage::CreationCollisionOption const& collisionOption) const; + auto ProtectAsync(winrt::Windows::Storage::IStorageItem const& target, param::hstring const& identity) const; + auto CopyProtectionAsync(winrt::Windows::Storage::IStorageItem const& source, winrt::Windows::Storage::IStorageItem const& target) const; + auto GetProtectionInfoAsync(winrt::Windows::Storage::IStorageItem const& source) const; + auto SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile) const; + auto LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile) const; + auto LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile, winrt::Windows::Storage::IStorageItem const& target) const; + auto CreateProtectedAndOpenAsync(winrt::Windows::Storage::IStorageFolder const& parentFolder, param::hstring const& desiredName, param::hstring const& identity, winrt::Windows::Storage::CreationCollisionOption const& collisionOption) const; }; template <> struct consume { @@ -606,9 +604,9 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsContainerAsync(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile, winrt::Windows::Storage::IStorageItem const& target, winrt::Windows::Storage::NameCollisionOption const& collisionOption) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile, param::async_iterable const& sharedWithIdentities) const; + auto IsContainerAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile, winrt::Windows::Storage::IStorageItem const& target, winrt::Windows::Storage::NameCollisionOption const& collisionOption) const; + auto SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile, param::async_iterable const& sharedWithIdentities) const; }; template <> struct consume { @@ -617,8 +615,8 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UnprotectAsync(winrt::Windows::Storage::IStorageItem const& target) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UnprotectAsync(winrt::Windows::Storage::IStorageItem const& target, winrt::Windows::Security::EnterpriseData::FileUnprotectOptions const& options) const; + auto UnprotectAsync(winrt::Windows::Storage::IStorageItem const& target) const; + auto UnprotectAsync(winrt::Windows::Storage::IStorageItem const& target, winrt::Windows::Security::EnterpriseData::FileUnprotectOptions const& options) const; }; template <> struct consume { @@ -627,10 +625,10 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ProtectAsync(winrt::Windows::Storage::IStorageItem const& storageItem, param::hstring const& enterpriseIdentity) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CopyProtectionAsync(winrt::Windows::Storage::IStorageItem const& sourceStorageItem, winrt::Windows::Storage::IStorageItem const& targetStorageItem) const; - WINRT_IMPL_AUTO(void) Revoke(param::hstring const& enterpriseIdentity) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetStatusAsync(winrt::Windows::Storage::IStorageItem const& storageItem) const; + auto ProtectAsync(winrt::Windows::Storage::IStorageItem const& storageItem, param::hstring const& enterpriseIdentity) const; + auto CopyProtectionAsync(winrt::Windows::Storage::IStorageItem const& sourceStorageItem, winrt::Windows::Storage::IStorageItem const& targetStorageItem) const; + auto Revoke(param::hstring const& enterpriseIdentity) const; + auto GetStatusAsync(winrt::Windows::Storage::IStorageItem const& storageItem) const; }; template <> struct consume { @@ -639,8 +637,8 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IFileUnprotectOptions { - WINRT_IMPL_AUTO(void) Audit(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Audit() const; + auto Audit(bool value) const; + [[nodiscard]] auto Audit() const; }; template <> struct consume { @@ -649,7 +647,7 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IFileUnprotectOptionsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::FileUnprotectOptions) Create(bool audit) const; + auto Create(bool audit) const; }; template <> struct consume { @@ -658,7 +656,7 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IProtectedAccessResumedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Identities() const; + [[nodiscard]] auto Identities() const; }; template <> struct consume { @@ -667,9 +665,9 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IProtectedAccessSuspendingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Identities() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Deadline() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Identities() const; + [[nodiscard]] auto Deadline() const; + auto GetDeferral() const; }; template <> struct consume { @@ -678,8 +676,8 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IProtectedContainerExportResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectedImportExportStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) File() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto File() const; }; template <> struct consume { @@ -688,8 +686,8 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IProtectedContainerImportResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectedImportExportStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) File() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto File() const; }; template <> struct consume { @@ -698,7 +696,7 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IProtectedContentRevokedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Identities() const; + [[nodiscard]] auto Identities() const; }; template <> struct consume { @@ -707,9 +705,9 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IProtectedFileCreateResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) File() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) Stream() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::FileProtectionInfo) ProtectionInfo() const; + [[nodiscard]] auto File() const; + [[nodiscard]] auto Stream() const; + [[nodiscard]] auto ProtectionInfo() const; }; template <> struct consume { @@ -718,14 +716,14 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo { - WINRT_IMPL_AUTO(void) Action(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction) Action() const; - WINRT_IMPL_AUTO(void) DataDescription(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DataDescription() const; - WINRT_IMPL_AUTO(void) SourceDescription(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SourceDescription() const; - WINRT_IMPL_AUTO(void) TargetDescription(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TargetDescription() const; + auto Action(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& value) const; + [[nodiscard]] auto Action() const; + auto DataDescription(param::hstring const& value) const; + [[nodiscard]] auto DataDescription() const; + auto SourceDescription(param::hstring const& value) const; + [[nodiscard]] auto SourceDescription() const; + auto TargetDescription(param::hstring const& value) const; + [[nodiscard]] auto TargetDescription() const; }; template <> struct consume { @@ -734,8 +732,8 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfoFactory { - WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo) Create(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& action, param::hstring const& dataDescription, param::hstring const& sourceDescription, param::hstring const& targetDescription) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo) CreateWithActionAndDataDescription(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& action, param::hstring const& dataDescription) const; + auto Create(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& action, param::hstring const& dataDescription, param::hstring const& sourceDescription, param::hstring const& targetDescription) const; + auto CreateWithActionAndDataDescription(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& action, param::hstring const& dataDescription) const; }; template <> struct consume { @@ -744,8 +742,8 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IProtectionPolicyManager { - WINRT_IMPL_AUTO(void) Identity(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Identity() const; + auto Identity(param::hstring const& value) const; + [[nodiscard]] auto Identity() const; }; template <> struct consume { @@ -754,8 +752,8 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IProtectionPolicyManager2 { - WINRT_IMPL_AUTO(void) ShowEnterpriseIndicator(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShowEnterpriseIndicator() const; + auto ShowEnterpriseIndicator(bool value) const; + [[nodiscard]] auto ShowEnterpriseIndicator() const; }; template <> struct consume { @@ -764,27 +762,27 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics { - WINRT_IMPL_AUTO(bool) IsIdentityManaged(param::hstring const& identity) const; - WINRT_IMPL_AUTO(bool) TryApplyProcessUIPolicy(param::hstring const& identity) const; - WINRT_IMPL_AUTO(void) ClearProcessUIPolicy() const; - WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ThreadNetworkContext) CreateCurrentThreadNetworkContext(param::hstring const& identity) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPrimaryManagedIdentityForNetworkEndpointAsync(winrt::Windows::Networking::HostName const& endpointHost) const; - WINRT_IMPL_AUTO(void) RevokeContent(param::hstring const& identity) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyManager) GetForCurrentView() const; - WINRT_IMPL_AUTO(winrt::event_token) ProtectedAccessSuspending(winrt::Windows::Foundation::EventHandler const& handler) const; + auto IsIdentityManaged(param::hstring const& identity) const; + auto TryApplyProcessUIPolicy(param::hstring const& identity) const; + auto ClearProcessUIPolicy() const; + auto CreateCurrentThreadNetworkContext(param::hstring const& identity) const; + auto GetPrimaryManagedIdentityForNetworkEndpointAsync(winrt::Windows::Networking::HostName const& endpointHost) const; + auto RevokeContent(param::hstring const& identity) const; + auto GetForCurrentView() const; + auto ProtectedAccessSuspending(winrt::Windows::Foundation::EventHandler const& handler) const; using ProtectedAccessSuspending_revoker = impl::event_revoker::remove_ProtectedAccessSuspending>; - [[nodiscard]] ProtectedAccessSuspending_revoker ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ProtectedAccessSuspending(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ProtectedAccessResumed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ProtectedAccessSuspending(winrt::event_token const& token) const noexcept; + auto ProtectedAccessResumed(winrt::Windows::Foundation::EventHandler const& handler) const; using ProtectedAccessResumed_revoker = impl::event_revoker::remove_ProtectedAccessResumed>; - [[nodiscard]] ProtectedAccessResumed_revoker ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ProtectedAccessResumed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ProtectedContentRevoked(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ProtectedAccessResumed(winrt::event_token const& token) const noexcept; + auto ProtectedContentRevoked(winrt::Windows::Foundation::EventHandler const& handler) const; using ProtectedContentRevoked_revoker = impl::event_revoker::remove_ProtectedContentRevoked>; - [[nodiscard]] ProtectedContentRevoked_revoker ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ProtectedContentRevoked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult) CheckAccess(param::hstring const& sourceIdentity, param::hstring const& targetIdentity) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity) const; + [[nodiscard]] auto ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ProtectedContentRevoked(winrt::event_token const& token) const noexcept; + auto CheckAccess(param::hstring const& sourceIdentity, param::hstring const& targetIdentity) const; + auto RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity) const; }; template <> struct consume { @@ -793,17 +791,17 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2 { - WINRT_IMPL_AUTO(bool) HasContentBeenRevokedSince(param::hstring const& identity, winrt::Windows::Foundation::DateTime const& since) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult) CheckAccessForApp(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::EnforcementLevel) GetEnforcementLevel(param::hstring const& identity) const; - WINRT_IMPL_AUTO(bool) IsUserDecryptionAllowed(param::hstring const& identity) const; - WINRT_IMPL_AUTO(bool) IsProtectionUnderLockRequired(param::hstring const& identity) const; - WINRT_IMPL_AUTO(winrt::event_token) PolicyChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + auto HasContentBeenRevokedSince(param::hstring const& identity, winrt::Windows::Foundation::DateTime const& since) const; + auto CheckAccessForApp(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName) const; + auto RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName) const; + auto GetEnforcementLevel(param::hstring const& identity) const; + auto IsUserDecryptionAllowed(param::hstring const& identity) const; + auto IsProtectionUnderLockRequired(param::hstring const& identity) const; + auto PolicyChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using PolicyChanged_revoker = impl::event_revoker::remove_PolicyChanged>; - [[nodiscard]] PolicyChanged_revoker PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PolicyChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsProtectionEnabled() const; + [[nodiscard]] auto PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto PolicyChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsProtectionEnabled() const; }; template <> struct consume { @@ -812,11 +810,11 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp) const; - WINRT_IMPL_AUTO(void) LogAuditEvent(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const; + auto RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const; + auto RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp) const; + auto RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const; + auto RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp) const; + auto LogAuditEvent(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const; }; template <> struct consume { @@ -825,17 +823,17 @@ namespace winrt::impl template struct consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4 { - WINRT_IMPL_AUTO(bool) IsRoamableProtectionEnabled(param::hstring const& identity) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessToFilesForAppAsync(param::async_iterable const& sourceItemList, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessToFilesForAppAsync(param::async_iterable const& sourceItemList, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessToFilesForProcessAsync(param::async_iterable const& sourceItemList, uint32_t processId, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessToFilesForProcessAsync(param::async_iterable const& sourceItemList, uint32_t processId, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsFileProtectionRequiredAsync(winrt::Windows::Storage::IStorageItem const& target, param::hstring const& identity) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsFileProtectionRequiredForNewFileAsync(winrt::Windows::Storage::IStorageFolder const& parentFolder, param::hstring const& identity, param::hstring const& desiredName) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PrimaryManagedIdentity() const; - WINRT_IMPL_AUTO(hstring) GetPrimaryManagedIdentityForIdentity(param::hstring const& identity) const; + auto IsRoamableProtectionEnabled(param::hstring const& identity) const; + auto RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const; + auto RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const; + auto RequestAccessToFilesForAppAsync(param::async_iterable const& sourceItemList, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const; + auto RequestAccessToFilesForAppAsync(param::async_iterable const& sourceItemList, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const; + auto RequestAccessToFilesForProcessAsync(param::async_iterable const& sourceItemList, uint32_t processId, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const; + auto RequestAccessToFilesForProcessAsync(param::async_iterable const& sourceItemList, uint32_t processId, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp, winrt::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior const& behavior) const; + auto IsFileProtectionRequiredAsync(winrt::Windows::Storage::IStorageItem const& target, param::hstring const& identity) const; + auto IsFileProtectionRequiredForNewFileAsync(winrt::Windows::Storage::IStorageFolder const& parentFolder, param::hstring const& identity, param::hstring const& desiredName) const; + [[nodiscard]] auto PrimaryManagedIdentity() const; + auto GetPrimaryManagedIdentityForIdentity(param::hstring const& identity) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.1.h index ca924ca1..dea289fc 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_EnterpriseData_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.2.h index 4ba1bc92..65258f46 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_EnterpriseData_2_H @@ -118,15 +118,15 @@ WINRT_EXPORT namespace winrt::Windows::Security::EnterpriseData static auto GetForCurrentView(); static auto ProtectedAccessSuspending(winrt::Windows::Foundation::EventHandler const& handler); using ProtectedAccessSuspending_revoker = impl::factory_event_revoker::remove_ProtectedAccessSuspending>; - [[nodiscard]] static ProtectedAccessSuspending_revoker ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto ProtectedAccessSuspending(winrt::event_token const& token); static auto ProtectedAccessResumed(winrt::Windows::Foundation::EventHandler const& handler); using ProtectedAccessResumed_revoker = impl::factory_event_revoker::remove_ProtectedAccessResumed>; - [[nodiscard]] static ProtectedAccessResumed_revoker ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto ProtectedAccessResumed(winrt::event_token const& token); static auto ProtectedContentRevoked(winrt::Windows::Foundation::EventHandler const& handler); using ProtectedContentRevoked_revoker = impl::factory_event_revoker::remove_ProtectedContentRevoked>; - [[nodiscard]] static ProtectedContentRevoked_revoker ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto ProtectedContentRevoked(winrt::event_token const& token); static auto CheckAccess(param::hstring const& sourceIdentity, param::hstring const& targetIdentity); static auto RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity); @@ -138,7 +138,7 @@ WINRT_EXPORT namespace winrt::Windows::Security::EnterpriseData static auto IsProtectionUnderLockRequired(param::hstring const& identity); static auto PolicyChanged(winrt::Windows::Foundation::EventHandler const& handler); using PolicyChanged_revoker = impl::factory_event_revoker::remove_PolicyChanged>; - [[nodiscard]] static PolicyChanged_revoker PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto PolicyChanged(winrt::event_token const& token); [[nodiscard]] static auto IsProtectionEnabled(); static auto RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo); diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.0.h index d4aea4d0..fb50bc06 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.0.h @@ -1,11 +1,10 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_ExchangeActiveSyncProvisioning_0_H #define WINRT_Windows_Security_ExchangeActiveSyncProvisioning_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; } WINRT_EXPORT namespace winrt::Windows::Security::ExchangeActiveSyncProvisioning { @@ -238,12 +237,12 @@ namespace winrt::impl template struct consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OperatingSystem() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FriendlyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SystemManufacturer() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SystemProductName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SystemSku() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto OperatingSystem() const; + [[nodiscard]] auto FriendlyName() const; + [[nodiscard]] auto SystemManufacturer() const; + [[nodiscard]] auto SystemProductName() const; + [[nodiscard]] auto SystemSku() const; }; template <> struct consume { @@ -252,8 +251,8 @@ namespace winrt::impl template struct consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SystemHardwareVersion() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SystemFirmwareVersion() const; + [[nodiscard]] auto SystemHardwareVersion() const; + [[nodiscard]] auto SystemFirmwareVersion() const; }; template <> struct consume { @@ -262,24 +261,24 @@ namespace winrt::impl template struct consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy { - [[nodiscard]] WINRT_IMPL_AUTO(bool) RequireEncryption() const; - WINRT_IMPL_AUTO(void) RequireEncryption(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) MinPasswordLength() const; - WINRT_IMPL_AUTO(void) MinPasswordLength(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DisallowConvenienceLogon() const; - WINRT_IMPL_AUTO(void) DisallowConvenienceLogon(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) MinPasswordComplexCharacters() const; - WINRT_IMPL_AUTO(void) MinPasswordComplexCharacters(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) PasswordExpiration() const; - WINRT_IMPL_AUTO(void) PasswordExpiration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PasswordHistory() const; - WINRT_IMPL_AUTO(void) PasswordHistory(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) MaxPasswordFailedAttempts() const; - WINRT_IMPL_AUTO(void) MaxPasswordFailedAttempts(uint8_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) MaxInactivityTimeLock() const; - WINRT_IMPL_AUTO(void) MaxInactivityTimeLock(winrt::Windows::Foundation::TimeSpan const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasComplianceResults) CheckCompliance() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ApplyAsync() const; + [[nodiscard]] auto RequireEncryption() const; + auto RequireEncryption(bool value) const; + [[nodiscard]] auto MinPasswordLength() const; + auto MinPasswordLength(uint8_t value) const; + [[nodiscard]] auto DisallowConvenienceLogon() const; + auto DisallowConvenienceLogon(bool value) const; + [[nodiscard]] auto MinPasswordComplexCharacters() const; + auto MinPasswordComplexCharacters(uint8_t value) const; + [[nodiscard]] auto PasswordExpiration() const; + auto PasswordExpiration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto PasswordHistory() const; + auto PasswordHistory(uint32_t value) const; + [[nodiscard]] auto MaxPasswordFailedAttempts() const; + auto MaxPasswordFailedAttempts(uint8_t value) const; + [[nodiscard]] auto MaxInactivityTimeLock() const; + auto MaxInactivityTimeLock(winrt::Windows::Foundation::TimeSpan const& value) const; + auto CheckCompliance() const; + auto ApplyAsync() const; }; template <> struct consume { @@ -288,15 +287,15 @@ namespace winrt::impl template struct consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Compliant() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasRequireEncryptionResult) RequireEncryptionResult() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMinPasswordLengthResult) MinPasswordLengthResult() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasDisallowConvenienceLogonResult) DisallowConvenienceLogonResult() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMinPasswordComplexCharactersResult) MinPasswordComplexCharactersResult() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasPasswordExpirationResult) PasswordExpirationResult() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasPasswordHistoryResult) PasswordHistoryResult() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMaxPasswordFailedAttemptsResult) MaxPasswordFailedAttemptsResult() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMaxInactivityTimeLockResult) MaxInactivityTimeLockResult() const; + [[nodiscard]] auto Compliant() const; + [[nodiscard]] auto RequireEncryptionResult() const; + [[nodiscard]] auto MinPasswordLengthResult() const; + [[nodiscard]] auto DisallowConvenienceLogonResult() const; + [[nodiscard]] auto MinPasswordComplexCharactersResult() const; + [[nodiscard]] auto PasswordExpirationResult() const; + [[nodiscard]] auto PasswordHistoryResult() const; + [[nodiscard]] auto MaxPasswordFailedAttemptsResult() const; + [[nodiscard]] auto MaxInactivityTimeLockResult() const; }; template <> struct consume { @@ -305,7 +304,7 @@ namespace winrt::impl template struct consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasEncryptionProviderType) EncryptionProviderType() const; + [[nodiscard]] auto EncryptionProviderType() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.1.h index 2d9c7a24..80b426a4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_ExchangeActiveSyncProvisioning_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.2.h index 5e1fa550..19e8391a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_ExchangeActiveSyncProvisioning_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.0.h index 3324940a..dcad0ec9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Isolation_0_H @@ -7,14 +7,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct HResult; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; - template struct __declspec(empty_bases) IAsyncOperation; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Security::Isolation { @@ -587,17 +584,17 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartProcessSilentlyAsync(param::hstring const& hostExePath, param::hstring const& arguments, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentActivator const& activator) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartProcessSilentlyAsync(param::hstring const& hostExePath, param::hstring const& arguments, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentActivator const& activator, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShareFolderAsync(param::hstring const& hostFolder, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShareFolderAsync(param::hstring const& hostFolder, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchFileWithUIAsync(param::hstring const& appExePath, param::hstring const& argumentsTemplate, param::hstring const& filePath) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchFileWithUIAsync(param::hstring const& appExePath, param::hstring const& argumentsTemplate, param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) TerminateAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) TerminateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; - WINRT_IMPL_AUTO(void) RegisterMessageReceiver(winrt::guid const& receiverId, winrt::Windows::Security::Isolation::MessageReceivedCallback const& messageReceivedCallback) const; - WINRT_IMPL_AUTO(void) UnregisterMessageReceiver(winrt::guid const& receiverId) const; + [[nodiscard]] auto Id() const; + auto StartProcessSilentlyAsync(param::hstring const& hostExePath, param::hstring const& arguments, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentActivator const& activator) const; + auto StartProcessSilentlyAsync(param::hstring const& hostExePath, param::hstring const& arguments, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentActivator const& activator, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; + auto ShareFolderAsync(param::hstring const& hostFolder, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions) const; + auto ShareFolderAsync(param::hstring const& hostFolder, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; + auto LaunchFileWithUIAsync(param::hstring const& appExePath, param::hstring const& argumentsTemplate, param::hstring const& filePath) const; + auto LaunchFileWithUIAsync(param::hstring const& appExePath, param::hstring const& argumentsTemplate, param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; + auto TerminateAsync() const; + auto TerminateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; + auto RegisterMessageReceiver(winrt::guid const& receiverId, winrt::Windows::Security::Isolation::MessageReceivedCallback const& messageReceivedCallback) const; + auto UnregisterMessageReceiver(winrt::guid const& receiverId) const; }; template <> struct consume { @@ -606,8 +603,8 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable const& message) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable const& message, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; + auto PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable const& message) const; + auto PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable const& message, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; }; template <> struct consume { @@ -616,9 +613,9 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3 { - WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentUserInfo) GetUserInfo() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; + auto GetUserInfo() const; + auto ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options) const; + auto ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; }; template <> struct consume { @@ -627,9 +624,9 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironment) Environment() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto Environment() const; }; template <> struct consume { @@ -638,10 +635,10 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) CreateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) CreateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; - WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironment) GetById(param::hstring const& environmentId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindByOwnerId(param::hstring const& environmentOwnerId) const; + auto CreateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOptions const& options) const; + auto CreateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; + auto GetById(param::hstring const& environmentId) const; + auto FindByOwnerId(param::hstring const& environmentOwnerId) const; }; template <> struct consume { @@ -650,9 +647,9 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HostPath() const; - WINRT_IMPL_AUTO(void) Close() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto HostPath() const; + auto Close() const; }; template <> struct consume { @@ -661,8 +658,8 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GuestPath() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadOnly() const; + [[nodiscard]] auto GuestPath() const; + [[nodiscard]] auto IsReadOnly() const; }; template <> struct consume { @@ -671,8 +668,8 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentHostStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReady() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) HostErrors() const; + [[nodiscard]] auto IsReady() const; + [[nodiscard]] auto HostErrors() const; }; template <> struct consume { @@ -681,9 +678,9 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentLaunchFileResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentLaunchFileStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentFile) File() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto File() const; }; template <> struct consume { @@ -692,23 +689,23 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EnvironmentOwnerId() const; - WINRT_IMPL_AUTO(void) EnvironmentOwnerId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAllowedClipboardFormats) AllowedClipboardFormats() const; - WINRT_IMPL_AUTO(void) AllowedClipboardFormats(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAllowedClipboardFormats const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentClipboardCopyPasteDirections) ClipboardCopyPasteDirections() const; - WINRT_IMPL_AUTO(void) ClipboardCopyPasteDirections(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentClipboardCopyPasteDirections const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAvailablePrinters) AvailablePrinters() const; - WINRT_IMPL_AUTO(void) AvailablePrinters(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAvailablePrinters const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SharedHostFolderPath() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SharedFolderNameInEnvironment() const; - WINRT_IMPL_AUTO(void) ShareHostFolderForUntrustedItems(param::hstring const& SharedHostFolderPath, param::hstring const& ShareFolderNameInEnvironment) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PersistUserProfile() const; - WINRT_IMPL_AUTO(void) PersistUserProfile(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowGraphicsHardwareAcceleration() const; - WINRT_IMPL_AUTO(void) AllowGraphicsHardwareAcceleration(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowCameraAndMicrophoneAccess() const; - WINRT_IMPL_AUTO(void) AllowCameraAndMicrophoneAccess(bool value) const; + [[nodiscard]] auto EnvironmentOwnerId() const; + auto EnvironmentOwnerId(param::hstring const& value) const; + [[nodiscard]] auto AllowedClipboardFormats() const; + auto AllowedClipboardFormats(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAllowedClipboardFormats const& value) const; + [[nodiscard]] auto ClipboardCopyPasteDirections() const; + auto ClipboardCopyPasteDirections(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentClipboardCopyPasteDirections const& value) const; + [[nodiscard]] auto AvailablePrinters() const; + auto AvailablePrinters(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAvailablePrinters const& value) const; + [[nodiscard]] auto SharedHostFolderPath() const; + [[nodiscard]] auto SharedFolderNameInEnvironment() const; + auto ShareHostFolderForUntrustedItems(param::hstring const& SharedHostFolderPath, param::hstring const& ShareFolderNameInEnvironment) const; + [[nodiscard]] auto PersistUserProfile() const; + auto PersistUserProfile(bool value) const; + [[nodiscard]] auto AllowGraphicsHardwareAcceleration() const; + auto AllowGraphicsHardwareAcceleration(bool value) const; + [[nodiscard]] auto AllowCameraAndMicrophoneAccess() const; + auto AllowCameraAndMicrophoneAccess(bool value) const; }; template <> struct consume { @@ -717,8 +714,8 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WindowAnnotationOverride() const; - WINRT_IMPL_AUTO(void) WindowAnnotationOverride(param::hstring const& value) const; + [[nodiscard]] auto WindowAnnotationOverride() const; + auto WindowAnnotationOverride(param::hstring const& value) const; }; template <> struct consume { @@ -727,10 +724,10 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ShareableFolders() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ProcessesRunnableAsSystem() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ProcessesRunnableAsUser() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ActivationFileExtensions() const; + [[nodiscard]] auto ShareableFolders() const; + [[nodiscard]] auto ProcessesRunnableAsSystem() const; + [[nodiscard]] auto ProcessesRunnableAsUser() const; + [[nodiscard]] auto ActivationFileExtensions() const; }; template <> struct consume { @@ -739,8 +736,8 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -749,8 +746,8 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationStatics { - WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationResult) Register(param::hstring const& ownerName, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationData const& ownerRegistrationData) const; - WINRT_IMPL_AUTO(void) Unregister(param::hstring const& ownerName) const; + auto Register(param::hstring const& ownerName, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationData const& ownerRegistrationData) const; + auto Unregister(param::hstring const& ownerName) const; }; template <> struct consume { @@ -759,8 +756,8 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentPostMessageResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -769,11 +766,11 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProcessState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExitCode() const; - WINRT_IMPL_AUTO(void) WaitForExit() const; - WINRT_IMPL_AUTO(void) WaitForExitWithTimeout(uint32_t timeoutMilliseconds) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WaitForExitAsync() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto ExitCode() const; + auto WaitForExit() const; + auto WaitForExitWithTimeout(uint32_t timeoutMilliseconds) const; + auto WaitForExitAsync() const; }; template <> struct consume { @@ -782,8 +779,8 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowWrite() const; - WINRT_IMPL_AUTO(void) AllowWrite(bool value) const; + [[nodiscard]] auto AllowWrite() const; + auto AllowWrite(bool value) const; }; template <> struct consume { @@ -792,9 +789,9 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentFile) File() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto File() const; }; template <> struct consume { @@ -803,8 +800,8 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderRequestOptions { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowWrite() const; - WINRT_IMPL_AUTO(void) AllowWrite(bool value) const; + [[nodiscard]] auto AllowWrite() const; + auto AllowWrite(bool value) const; }; template <> struct consume { @@ -813,8 +810,8 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -823,9 +820,9 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentStartProcessResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProcess) Process() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto Process() const; }; template <> struct consume { @@ -834,8 +831,8 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentTelemetryParameters { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CorrelationId() const; - WINRT_IMPL_AUTO(void) CorrelationId(winrt::guid const& value) const; + [[nodiscard]] auto CorrelationId() const; + auto CorrelationId(winrt::guid const& value) const; }; template <> struct consume { @@ -844,9 +841,9 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EnvironmentUserSid() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EnvironmentUserName() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryWaitForSignInAsync() const; + [[nodiscard]] auto EnvironmentUserSid() const; + [[nodiscard]] auto EnvironmentUserName() const; + auto TryWaitForSignInAsync() const; }; template <> struct consume { @@ -855,8 +852,8 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics { - WINRT_IMPL_AUTO(void) PostMessageToReceiver(winrt::guid const& receiverId, param::vector_view const& message) const; - WINRT_IMPL_AUTO(winrt::guid) GetFileId(param::hstring const& filePath) const; + auto PostMessageToReceiver(winrt::guid const& receiverId, param::vector_view const& message) const; + auto GetFileId(param::hstring const& filePath) const; }; template <> struct consume { @@ -865,8 +862,8 @@ namespace winrt::impl template struct consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics2 { - WINRT_IMPL_AUTO(void) RegisterHostMessageReceiver(winrt::guid const& receiverId, winrt::Windows::Security::Isolation::HostMessageReceivedCallback const& hostMessageReceivedCallback) const; - WINRT_IMPL_AUTO(void) UnregisterHostMessageReceiver(winrt::guid const& receiverId) const; + auto RegisterHostMessageReceiver(winrt::guid const& receiverId, winrt::Windows::Security::Isolation::HostMessageReceivedCallback const& hostMessageReceivedCallback) const; + auto UnregisterHostMessageReceiver(winrt::guid const& receiverId) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.1.h index 906d5747..be4a4f4c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Isolation_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.2.h index 57d40a4b..6667f54a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Security_Isolation_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.0.h index 474a5a1b..1ce5c08e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Cortana_0_H @@ -10,7 +10,6 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::DataTransfer WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections @@ -167,14 +166,14 @@ namespace winrt::impl template struct consume_Windows_Services_Cortana_ICortanaActionableInsights { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsAvailableAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowInsightsForImageAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& imageStream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowInsightsForImageAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& imageStream, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowInsightsForTextAsync(param::hstring const& text) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowInsightsForTextAsync(param::hstring const& text, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowInsightsAsync(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& datapackage) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowInsightsAsync(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& datapackage, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const; + [[nodiscard]] auto User() const; + auto IsAvailableAsync() const; + auto ShowInsightsForImageAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& imageStream) const; + auto ShowInsightsForImageAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& imageStream, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const; + auto ShowInsightsForTextAsync(param::hstring const& text) const; + auto ShowInsightsForTextAsync(param::hstring const& text, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const; + auto ShowInsightsAsync(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& datapackage) const; + auto ShowInsightsAsync(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& datapackage, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const; }; template <> struct consume { @@ -183,10 +182,10 @@ namespace winrt::impl template struct consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ContentSourceWebLink() const; - WINRT_IMPL_AUTO(void) ContentSourceWebLink(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SurroundingText() const; - WINRT_IMPL_AUTO(void) SurroundingText(param::hstring const& value) const; + [[nodiscard]] auto ContentSourceWebLink() const; + auto ContentSourceWebLink(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto SurroundingText() const; + auto SurroundingText(param::hstring const& value) const; }; template <> struct consume { @@ -195,8 +194,8 @@ namespace winrt::impl template struct consume_Windows_Services_Cortana_ICortanaActionableInsightsStatics { - WINRT_IMPL_AUTO(winrt::Windows::Services::Cortana::CortanaActionableInsights) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::Services::Cortana::CortanaActionableInsights) GetForUser(winrt::Windows::System::User const& user) const; + auto GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -205,10 +204,10 @@ namespace winrt::impl template struct consume_Windows_Services_Cortana_ICortanaPermissionsManager { - WINRT_IMPL_AUTO(bool) IsSupported() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ArePermissionsGrantedAsync(param::async_iterable const& permissions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GrantPermissionsAsync(param::async_iterable const& permissions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RevokePermissionsAsync(param::async_iterable const& permissions) const; + auto IsSupported() const; + auto ArePermissionsGrantedAsync(param::async_iterable const& permissions) const; + auto GrantPermissionsAsync(param::async_iterable const& permissions) const; + auto RevokePermissionsAsync(param::async_iterable const& permissions) const; }; template <> struct consume { @@ -217,7 +216,7 @@ namespace winrt::impl template struct consume_Windows_Services_Cortana_ICortanaPermissionsManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Services::Cortana::CortanaPermissionsManager) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -226,9 +225,9 @@ namespace winrt::impl template struct consume_Windows_Services_Cortana_ICortanaSettings { - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasUserConsentToVoiceActivation() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVoiceActivationEnabled() const; - WINRT_IMPL_AUTO(void) IsVoiceActivationEnabled(bool value) const; + [[nodiscard]] auto HasUserConsentToVoiceActivation() const; + [[nodiscard]] auto IsVoiceActivationEnabled() const; + auto IsVoiceActivationEnabled(bool value) const; }; template <> struct consume { @@ -237,8 +236,8 @@ namespace winrt::impl template struct consume_Windows_Services_Cortana_ICortanaSettingsStatics { - WINRT_IMPL_AUTO(bool) IsSupported() const; - WINRT_IMPL_AUTO(winrt::Windows::Services::Cortana::CortanaSettings) GetDefault() const; + auto IsSupported() const; + auto GetDefault() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.1.h index becbf00b..ecf46385 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Cortana_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.2.h index 0d83c87e..26d657d8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Cortana_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.0.h index 30250020..9c7297ec 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Maps_0_H @@ -12,14 +12,12 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation } WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; struct Rect; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::UI::Popups { @@ -712,8 +710,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IEnhancedWaypoint { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Point() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::WaypointKind) Kind() const; + [[nodiscard]] auto Point() const; + [[nodiscard]] auto Kind() const; }; template <> struct consume { @@ -722,7 +720,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IEnhancedWaypointFactory { - WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::EnhancedWaypoint) Create(winrt::Windows::Devices::Geolocation::Geopoint const& point, winrt::Windows::Services::Maps::WaypointKind const& kind) const; + auto Create(winrt::Windows::Devices::Geolocation::Geopoint const& point, winrt::Windows::Services::Maps::WaypointKind const& kind) const; }; template <> struct consume { @@ -731,8 +729,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IManeuverWarning { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::ManeuverWarningKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::ManeuverWarningSeverity) Severity() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Severity() const; }; template <> struct consume { @@ -741,21 +739,21 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapAddress { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BuildingName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BuildingFloor() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BuildingRoom() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BuildingWing() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StreetNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Street() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Neighborhood() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) District() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Town() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Region() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RegionCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Country() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CountryCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PostCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Continent() const; + [[nodiscard]] auto BuildingName() const; + [[nodiscard]] auto BuildingFloor() const; + [[nodiscard]] auto BuildingRoom() const; + [[nodiscard]] auto BuildingWing() const; + [[nodiscard]] auto StreetNumber() const; + [[nodiscard]] auto Street() const; + [[nodiscard]] auto Neighborhood() const; + [[nodiscard]] auto District() const; + [[nodiscard]] auto Town() const; + [[nodiscard]] auto Region() const; + [[nodiscard]] auto RegionCode() const; + [[nodiscard]] auto Country() const; + [[nodiscard]] auto CountryCode() const; + [[nodiscard]] auto PostCode() const; + [[nodiscard]] auto Continent() const; }; template <> struct consume { @@ -764,7 +762,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapAddress2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FormattedAddress() const; + [[nodiscard]] auto FormattedAddress() const; }; template <> struct consume { @@ -773,10 +771,10 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapLocation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Point() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapAddress) Address() const; + [[nodiscard]] auto Point() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Address() const; }; template <> struct consume { @@ -785,8 +783,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapLocationFinderResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Locations() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapLocationFinderStatus) Status() const; + [[nodiscard]] auto Locations() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -795,9 +793,9 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapLocationFinderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindLocationsAtAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindLocationsAsync(param::hstring const& searchText, winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindLocationsAsync(param::hstring const& searchText, winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint, uint32_t maxCount) const; + auto FindLocationsAtAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint) const; + auto FindLocationsAsync(param::hstring const& searchText, winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint) const; + auto FindLocationsAsync(param::hstring const& searchText, winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint, uint32_t maxCount) const; }; template <> struct consume { @@ -806,7 +804,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapLocationFinderStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindLocationsAtAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint, winrt::Windows::Services::Maps::MapLocationDesiredAccuracy const& accuracy) const; + auto FindLocationsAtAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint, winrt::Windows::Services::Maps::MapLocationDesiredAccuracy const& accuracy) const; }; template <> struct consume { @@ -815,8 +813,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapManagerStatics { - WINRT_IMPL_AUTO(void) ShowDownloadedMapsUI() const; - WINRT_IMPL_AUTO(void) ShowMapsUpdateUI() const; + auto ShowDownloadedMapsUI() const; + auto ShowMapsUpdateUI() const; }; template <> struct consume { @@ -825,12 +823,12 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapRoute { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) BoundingBox() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) LengthInMeters() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) EstimatedDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) Path() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Legs() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTrafficBased() const; + [[nodiscard]] auto BoundingBox() const; + [[nodiscard]] auto LengthInMeters() const; + [[nodiscard]] auto EstimatedDuration() const; + [[nodiscard]] auto Path() const; + [[nodiscard]] auto Legs() const; + [[nodiscard]] auto IsTrafficBased() const; }; template <> struct consume { @@ -839,8 +837,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapRoute2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRouteRestrictions) ViolatedRestrictions() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasBlockedRoads() const; + [[nodiscard]] auto ViolatedRestrictions() const; + [[nodiscard]] auto HasBlockedRoads() const; }; template <> struct consume { @@ -849,8 +847,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapRoute3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DurationWithoutTraffic() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::TrafficCongestion) TrafficCongestion() const; + [[nodiscard]] auto DurationWithoutTraffic() const; + [[nodiscard]] auto TrafficCongestion() const; }; template <> struct consume { @@ -859,7 +857,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapRoute4 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsScenic() const; + [[nodiscard]] auto IsScenic() const; }; template <> struct consume { @@ -868,14 +866,14 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapRouteDrivingOptions { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxAlternateRouteCount() const; - WINRT_IMPL_AUTO(void) MaxAlternateRouteCount(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InitialHeading() const; - WINRT_IMPL_AUTO(void) InitialHeading(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRouteOptimization) RouteOptimization() const; - WINRT_IMPL_AUTO(void) RouteOptimization(winrt::Windows::Services::Maps::MapRouteOptimization const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRouteRestrictions) RouteRestrictions() const; - WINRT_IMPL_AUTO(void) RouteRestrictions(winrt::Windows::Services::Maps::MapRouteRestrictions const& value) const; + [[nodiscard]] auto MaxAlternateRouteCount() const; + auto MaxAlternateRouteCount(uint32_t value) const; + [[nodiscard]] auto InitialHeading() const; + auto InitialHeading(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto RouteOptimization() const; + auto RouteOptimization(winrt::Windows::Services::Maps::MapRouteOptimization const& value) const; + [[nodiscard]] auto RouteRestrictions() const; + auto RouteRestrictions(winrt::Windows::Services::Maps::MapRouteRestrictions const& value) const; }; template <> struct consume { @@ -884,8 +882,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapRouteDrivingOptions2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) DepartureTime() const; - WINRT_IMPL_AUTO(void) DepartureTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto DepartureTime() const; + auto DepartureTime(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -894,8 +892,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapRouteFinderResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRoute) Route() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRouteFinderStatus) Status() const; + [[nodiscard]] auto Route() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -904,7 +902,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapRouteFinderResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AlternateRoutes() const; + [[nodiscard]] auto AlternateRoutes() const; }; template <> struct consume { @@ -913,16 +911,16 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapRouteFinderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions, double headingInDegrees) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDrivingRouteFromWaypointsAsync(param::async_iterable const& wayPoints) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDrivingRouteFromWaypointsAsync(param::async_iterable const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDrivingRouteFromWaypointsAsync(param::async_iterable const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDrivingRouteFromWaypointsAsync(param::async_iterable const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions, double headingInDegrees) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetWalkingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetWalkingRouteFromWaypointsAsync(param::async_iterable const& wayPoints) const; + auto GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint) const; + auto GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization) const; + auto GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions) const; + auto GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions, double headingInDegrees) const; + auto GetDrivingRouteFromWaypointsAsync(param::async_iterable const& wayPoints) const; + auto GetDrivingRouteFromWaypointsAsync(param::async_iterable const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization) const; + auto GetDrivingRouteFromWaypointsAsync(param::async_iterable const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions) const; + auto GetDrivingRouteFromWaypointsAsync(param::async_iterable const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions, double headingInDegrees) const; + auto GetWalkingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint) const; + auto GetWalkingRouteFromWaypointsAsync(param::async_iterable const& wayPoints) const; }; template <> struct consume { @@ -931,7 +929,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapRouteFinderStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteDrivingOptions const& options) const; + auto GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteDrivingOptions const& options) const; }; template <> struct consume { @@ -940,8 +938,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapRouteFinderStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDrivingRouteFromEnhancedWaypointsAsync(param::async_iterable const& waypoints) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDrivingRouteFromEnhancedWaypointsAsync(param::async_iterable const& waypoints, winrt::Windows::Services::Maps::MapRouteDrivingOptions const& options) const; + auto GetDrivingRouteFromEnhancedWaypointsAsync(param::async_iterable const& waypoints) const; + auto GetDrivingRouteFromEnhancedWaypointsAsync(param::async_iterable const& waypoints, winrt::Windows::Services::Maps::MapRouteDrivingOptions const& options) const; }; template <> struct consume { @@ -950,11 +948,11 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapRouteLeg { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) BoundingBox() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) Path() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) LengthInMeters() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) EstimatedDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Maneuvers() const; + [[nodiscard]] auto BoundingBox() const; + [[nodiscard]] auto Path() const; + [[nodiscard]] auto LengthInMeters() const; + [[nodiscard]] auto EstimatedDuration() const; + [[nodiscard]] auto Maneuvers() const; }; template <> struct consume { @@ -963,8 +961,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapRouteLeg2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DurationWithoutTraffic() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::TrafficCongestion) TrafficCongestion() const; + [[nodiscard]] auto DurationWithoutTraffic() const; + [[nodiscard]] auto TrafficCongestion() const; }; template <> struct consume { @@ -973,12 +971,12 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapRouteManeuver { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) StartingPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) LengthInMeters() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) InstructionText() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRouteManeuverKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExitNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapManeuverNotices) ManeuverNotices() const; + [[nodiscard]] auto StartingPoint() const; + [[nodiscard]] auto LengthInMeters() const; + [[nodiscard]] auto InstructionText() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto ExitNumber() const; + [[nodiscard]] auto ManeuverNotices() const; }; template <> struct consume { @@ -987,9 +985,9 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapRouteManeuver2 { - [[nodiscard]] WINRT_IMPL_AUTO(double) StartHeading() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) EndHeading() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StreetName() const; + [[nodiscard]] auto StartHeading() const; + [[nodiscard]] auto EndHeading() const; + [[nodiscard]] auto StreetName() const; }; template <> struct consume { @@ -998,7 +996,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapRouteManeuver3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Warnings() const; + [[nodiscard]] auto Warnings() const; }; template <> struct consume { @@ -1007,8 +1005,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapServiceStatics { - WINRT_IMPL_AUTO(void) ServiceToken(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceToken() const; + auto ServiceToken(param::hstring const& value) const; + [[nodiscard]] auto ServiceToken() const; }; template <> struct consume { @@ -1017,7 +1015,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapServiceStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WorldViewRegionCode() const; + [[nodiscard]] auto WorldViewRegionCode() const; }; template <> struct consume { @@ -1026,7 +1024,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapServiceStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DataAttributions() const; + [[nodiscard]] auto DataAttributions() const; }; template <> struct consume { @@ -1035,8 +1033,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IMapServiceStatics4 { - WINRT_IMPL_AUTO(void) DataUsagePreference(winrt::Windows::Services::Maps::MapServiceDataUsagePreference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapServiceDataUsagePreference) DataUsagePreference() const; + auto DataUsagePreference(winrt::Windows::Services::Maps::MapServiceDataUsagePreference const& value) const; + [[nodiscard]] auto DataUsagePreference() const; }; template <> struct consume { @@ -1045,12 +1043,12 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IPlaceInfo { - WINRT_IMPL_AUTO(void) Show(winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(void) Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Identifier() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayAddress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::IGeoshape) Geoshape() const; + auto Show(winrt::Windows::Foundation::Rect const& selection) const; + auto Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + [[nodiscard]] auto Identifier() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto DisplayAddress() const; + [[nodiscard]] auto Geoshape() const; }; template <> struct consume { @@ -1059,10 +1057,10 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IPlaceInfoCreateOptions { - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayAddress(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayAddress() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto DisplayName() const; + auto DisplayAddress(param::hstring const& value) const; + [[nodiscard]] auto DisplayAddress() const; }; template <> struct consume { @@ -1071,12 +1069,12 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IPlaceInfoStatics { - WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) Create(winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) Create(winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint, winrt::Windows::Services::Maps::PlaceInfoCreateOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) CreateFromIdentifier(param::hstring const& identifier) const; - WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) CreateFromIdentifier(param::hstring const& identifier, winrt::Windows::Devices::Geolocation::Geopoint const& defaultPoint, winrt::Windows::Services::Maps::PlaceInfoCreateOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) CreateFromMapLocation(winrt::Windows::Services::Maps::MapLocation const& location) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsShowSupported() const; + auto Create(winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint) const; + auto Create(winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint, winrt::Windows::Services::Maps::PlaceInfoCreateOptions const& options) const; + auto CreateFromIdentifier(param::hstring const& identifier) const; + auto CreateFromIdentifier(param::hstring const& identifier, winrt::Windows::Devices::Geolocation::Geopoint const& defaultPoint, winrt::Windows::Services::Maps::PlaceInfoCreateOptions const& options) const; + auto CreateFromMapLocation(winrt::Windows::Services::Maps::MapLocation const& location) const; + [[nodiscard]] auto IsShowSupported() const; }; template <> struct consume { @@ -1085,8 +1083,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_IPlaceInfoStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) CreateFromAddress(param::hstring const& displayAddress) const; - WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) CreateFromAddress(param::hstring const& displayAddress, param::hstring const& displayName) const; + auto CreateFromAddress(param::hstring const& displayAddress) const; + auto CreateFromAddress(param::hstring const& displayAddress, param::hstring const& displayName) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.1.h index 014527ab..8c0e8640 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Maps_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.2.h index 8b6d37c5..052e41bc 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Maps_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.0.h index e9b5d55e..7ddaa9dd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Maps_Guidance_0_H @@ -16,10 +16,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Services::Maps { struct MapRoute; @@ -462,9 +458,9 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceAudioNotificationRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotificationKind) AudioNotification() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AudioFilePaths() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioText() const; + [[nodiscard]] auto AudioNotification() const; + [[nodiscard]] auto AudioFilePaths() const; + [[nodiscard]] auto AudioText() const; }; template <> struct consume { @@ -473,8 +469,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceLaneInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceLaneMarkers) LaneMarkers() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOnRoute() const; + [[nodiscard]] auto LaneMarkers() const; + [[nodiscard]] auto IsOnRoute() const; }; template <> struct consume { @@ -483,18 +479,18 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceManeuver { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) StartLocation() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DistanceFromRouteStart() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DistanceFromPreviousManeuver() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DepartureRoadName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NextRoadName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DepartureShortRoadName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NextShortRoadName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceManeuverKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) StartAngle() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) EndAngle() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceRoadSignpost) RoadSignpost() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) InstructionText() const; + [[nodiscard]] auto StartLocation() const; + [[nodiscard]] auto DistanceFromRouteStart() const; + [[nodiscard]] auto DistanceFromPreviousManeuver() const; + [[nodiscard]] auto DepartureRoadName() const; + [[nodiscard]] auto NextRoadName() const; + [[nodiscard]] auto DepartureShortRoadName() const; + [[nodiscard]] auto NextShortRoadName() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto StartAngle() const; + [[nodiscard]] auto EndAngle() const; + [[nodiscard]] auto RoadSignpost() const; + [[nodiscard]] auto InstructionText() const; }; template <> struct consume { @@ -503,11 +499,11 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CurrentHeading() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CurrentSpeed() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOnStreet() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceRoadSegment) Road() const; + [[nodiscard]] auto Location() const; + [[nodiscard]] auto CurrentHeading() const; + [[nodiscard]] auto CurrentSpeed() const; + [[nodiscard]] auto IsOnStreet() const; + [[nodiscard]] auto Road() const; }; template <> struct consume { @@ -516,48 +512,48 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceNavigator { - WINRT_IMPL_AUTO(void) StartNavigating(winrt::Windows::Services::Maps::Guidance::GuidanceRoute const& route) const; - WINRT_IMPL_AUTO(void) StartSimulating(winrt::Windows::Services::Maps::Guidance::GuidanceRoute const& route, int32_t speedInMetersPerSecond) const; - WINRT_IMPL_AUTO(void) StartTracking() const; - WINRT_IMPL_AUTO(void) Pause() const; - WINRT_IMPL_AUTO(void) Resume() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(void) RepeatLastAudioNotification() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceAudioMeasurementSystem) AudioMeasurementSystem() const; - WINRT_IMPL_AUTO(void) AudioMeasurementSystem(winrt::Windows::Services::Maps::Guidance::GuidanceAudioMeasurementSystem const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotifications) AudioNotifications() const; - WINRT_IMPL_AUTO(void) AudioNotifications(winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotifications const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) GuidanceUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StartNavigating(winrt::Windows::Services::Maps::Guidance::GuidanceRoute const& route) const; + auto StartSimulating(winrt::Windows::Services::Maps::Guidance::GuidanceRoute const& route, int32_t speedInMetersPerSecond) const; + auto StartTracking() const; + auto Pause() const; + auto Resume() const; + auto Stop() const; + auto RepeatLastAudioNotification() const; + [[nodiscard]] auto AudioMeasurementSystem() const; + auto AudioMeasurementSystem(winrt::Windows::Services::Maps::Guidance::GuidanceAudioMeasurementSystem const& value) const; + [[nodiscard]] auto AudioNotifications() const; + auto AudioNotifications(winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotifications const& value) const; + auto GuidanceUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using GuidanceUpdated_revoker = impl::event_revoker::remove_GuidanceUpdated>; - [[nodiscard]] GuidanceUpdated_revoker GuidanceUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GuidanceUpdated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DestinationReached(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto GuidanceUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GuidanceUpdated(winrt::event_token const& token) const noexcept; + auto DestinationReached(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DestinationReached_revoker = impl::event_revoker::remove_DestinationReached>; - [[nodiscard]] DestinationReached_revoker DestinationReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DestinationReached(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Rerouting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DestinationReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DestinationReached(winrt::event_token const& token) const noexcept; + auto Rerouting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Rerouting_revoker = impl::event_revoker::remove_Rerouting>; - [[nodiscard]] Rerouting_revoker Rerouting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Rerouting(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Rerouted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Rerouting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Rerouting(winrt::event_token const& token) const noexcept; + auto Rerouted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Rerouted_revoker = impl::event_revoker::remove_Rerouted>; - [[nodiscard]] Rerouted_revoker Rerouted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Rerouted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RerouteFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Rerouted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Rerouted(winrt::event_token const& token) const noexcept; + auto RerouteFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RerouteFailed_revoker = impl::event_revoker::remove_RerouteFailed>; - [[nodiscard]] RerouteFailed_revoker RerouteFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RerouteFailed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) UserLocationLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto RerouteFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RerouteFailed(winrt::event_token const& token) const noexcept; + auto UserLocationLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UserLocationLost_revoker = impl::event_revoker::remove_UserLocationLost>; - [[nodiscard]] UserLocationLost_revoker UserLocationLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UserLocationLost(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) UserLocationRestored(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto UserLocationLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UserLocationLost(winrt::event_token const& token) const noexcept; + auto UserLocationRestored(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UserLocationRestored_revoker = impl::event_revoker::remove_UserLocationRestored>; - [[nodiscard]] UserLocationRestored_revoker UserLocationRestored(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UserLocationRestored(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SetGuidanceVoice(int32_t voiceId, param::hstring const& voiceFolder) const; - WINRT_IMPL_AUTO(void) UpdateUserLocation(winrt::Windows::Devices::Geolocation::Geocoordinate const& userLocation) const; - WINRT_IMPL_AUTO(void) UpdateUserLocation(winrt::Windows::Devices::Geolocation::Geocoordinate const& userLocation, winrt::Windows::Devices::Geolocation::BasicGeoposition const& positionOverride) const; + [[nodiscard]] auto UserLocationRestored(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UserLocationRestored(winrt::event_token const& token) const noexcept; + auto SetGuidanceVoice(int32_t voiceId, param::hstring const& voiceFolder) const; + auto UpdateUserLocation(winrt::Windows::Devices::Geolocation::Geocoordinate const& userLocation) const; + auto UpdateUserLocation(winrt::Windows::Devices::Geolocation::Geocoordinate const& userLocation, winrt::Windows::Devices::Geolocation::BasicGeoposition const& positionOverride) const; }; template <> struct consume { @@ -566,12 +562,12 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2 { - WINRT_IMPL_AUTO(winrt::event_token) AudioNotificationRequested(winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto AudioNotificationRequested(winrt::Windows::Foundation::TypedEventHandler const& value) const; using AudioNotificationRequested_revoker = impl::event_revoker::remove_AudioNotificationRequested>; - [[nodiscard]] AudioNotificationRequested_revoker AudioNotificationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) AudioNotificationRequested(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGuidanceAudioMuted() const; - WINRT_IMPL_AUTO(void) IsGuidanceAudioMuted(bool value) const; + [[nodiscard]] auto AudioNotificationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto AudioNotificationRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsGuidanceAudioMuted() const; + auto IsGuidanceAudioMuted(bool value) const; }; template <> struct consume { @@ -580,7 +576,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceNavigatorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceNavigator) GetCurrent() const; + auto GetCurrent() const; }; template <> struct consume { @@ -589,7 +585,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceNavigatorStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) UseAppProvidedVoice() const; + [[nodiscard]] auto UseAppProvidedVoice() const; }; template <> struct consume { @@ -598,7 +594,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceReroutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceRoute) Route() const; + [[nodiscard]] auto Route() const; }; template <> struct consume { @@ -607,15 +603,15 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RoadName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ShortRoadName() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SpeedLimit() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TravelTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) Path() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHighway() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTunnel() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTollRoad() const; + [[nodiscard]] auto RoadName() const; + [[nodiscard]] auto ShortRoadName() const; + [[nodiscard]] auto SpeedLimit() const; + [[nodiscard]] auto TravelTime() const; + [[nodiscard]] auto Path() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto IsHighway() const; + [[nodiscard]] auto IsTunnel() const; + [[nodiscard]] auto IsTollRoad() const; }; template <> struct consume { @@ -624,7 +620,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsScenic() const; + [[nodiscard]] auto IsScenic() const; }; template <> struct consume { @@ -633,11 +629,11 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExitNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Exit() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) BackgroundColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) ForegroundColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ExitDirections() const; + [[nodiscard]] auto ExitNumber() const; + [[nodiscard]] auto Exit() const; + [[nodiscard]] auto BackgroundColor() const; + [[nodiscard]] auto ForegroundColor() const; + [[nodiscard]] auto ExitDirections() const; }; template <> struct consume { @@ -646,13 +642,13 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceRoute { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Distance() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Maneuvers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) BoundingBox() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) Path() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) RoadSegments() const; - WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRoute) ConvertToMapRoute() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto Distance() const; + [[nodiscard]] auto Maneuvers() const; + [[nodiscard]] auto BoundingBox() const; + [[nodiscard]] auto Path() const; + [[nodiscard]] auto RoadSegments() const; + auto ConvertToMapRoute() const; }; template <> struct consume { @@ -661,8 +657,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceRouteStatics { - WINRT_IMPL_AUTO(bool) CanCreateFromMapRoute(winrt::Windows::Services::Maps::MapRoute const& mapRoute) const; - WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceRoute) TryCreateFromMapRoute(winrt::Windows::Services::Maps::MapRoute const& mapRoute) const; + auto CanCreateFromMapRoute(winrt::Windows::Services::Maps::MapRoute const& mapRoute) const; + auto TryCreateFromMapRoute(winrt::Windows::Services::Maps::MapRoute const& mapRoute) const; }; template <> struct consume { @@ -671,13 +667,13 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Enabled() const; - WINRT_IMPL_AUTO(void) Enabled(bool value) const; - WINRT_IMPL_AUTO(void) ClearLocalData() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SpeedTrigger() const; - WINRT_IMPL_AUTO(void) SpeedTrigger(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) UploadFrequency() const; - WINRT_IMPL_AUTO(void) UploadFrequency(int32_t value) const; + [[nodiscard]] auto Enabled() const; + auto Enabled(bool value) const; + auto ClearLocalData() const; + [[nodiscard]] auto SpeedTrigger() const; + auto SpeedTrigger(double value) const; + [[nodiscard]] auto UploadFrequency() const; + auto UploadFrequency(int32_t value) const; }; template <> struct consume { @@ -686,7 +682,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollectorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceTelemetryCollector) GetCurrent() const; + auto GetCurrent() const; }; template <> struct consume { @@ -695,20 +691,20 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceMode) Mode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceManeuver) NextManeuver() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) NextManeuverDistance() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceManeuver) AfterNextManeuver() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) AfterNextManeuverDistance() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DistanceToDestination() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ElapsedDistance() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) ElapsedTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TimeToDestination() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RoadName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceRoute) Route() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceMapMatchedCoordinate) CurrentLocation() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsNewManeuver() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) LaneInfo() const; + [[nodiscard]] auto Mode() const; + [[nodiscard]] auto NextManeuver() const; + [[nodiscard]] auto NextManeuverDistance() const; + [[nodiscard]] auto AfterNextManeuver() const; + [[nodiscard]] auto AfterNextManeuverDistance() const; + [[nodiscard]] auto DistanceToDestination() const; + [[nodiscard]] auto ElapsedDistance() const; + [[nodiscard]] auto ElapsedTime() const; + [[nodiscard]] auto TimeToDestination() const; + [[nodiscard]] auto RoadName() const; + [[nodiscard]] auto Route() const; + [[nodiscard]] auto CurrentLocation() const; + [[nodiscard]] auto IsNewManeuver() const; + [[nodiscard]] auto LaneInfo() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.1.h index f7d7d176..5adccf4d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Maps_Guidance_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.2.h index 2d5ba61f..83be036c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Maps_Guidance_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.0.h index 930545d1..f8ef0aa6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Maps_LocalSearch_0_H @@ -10,12 +10,6 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation } WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Globalization { @@ -180,14 +174,14 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BankAndCreditUnions() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EatDrink() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Hospitals() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HotelsAndMotels() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) All() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Parking() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SeeDo() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Shop() const; + [[nodiscard]] auto BankAndCreditUnions() const; + [[nodiscard]] auto EatDrink() const; + [[nodiscard]] auto Hospitals() const; + [[nodiscard]] auto HotelsAndMotels() const; + [[nodiscard]] auto All() const; + [[nodiscard]] auto Parking() const; + [[nodiscard]] auto SeeDo() const; + [[nodiscard]] auto Shop() const; }; template <> struct consume { @@ -196,13 +190,13 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_LocalSearch_ILocalLocation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapAddress) Address() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Identifier() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Point() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PhoneNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DataAttribution() const; + [[nodiscard]] auto Address() const; + [[nodiscard]] auto Identifier() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Point() const; + [[nodiscard]] auto PhoneNumber() const; + [[nodiscard]] auto DataAttribution() const; }; template <> struct consume { @@ -211,9 +205,9 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_LocalSearch_ILocalLocation2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Category() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::LocalSearch::LocalLocationRatingInfo) RatingInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) HoursOfOperation() const; + [[nodiscard]] auto Category() const; + [[nodiscard]] auto RatingInfo() const; + [[nodiscard]] auto HoursOfOperation() const; }; template <> struct consume { @@ -222,8 +216,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_LocalSearch_ILocalLocationFinderResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) LocalLocations() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::LocalSearch::LocalLocationFinderStatus) Status() const; + [[nodiscard]] auto LocalLocations() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -232,7 +226,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_LocalSearch_ILocalLocationFinderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindLocalLocationsAsync(param::hstring const& searchTerm, winrt::Windows::Devices::Geolocation::Geocircle const& searchArea, param::hstring const& localCategory, uint32_t maxResults) const; + auto FindLocalLocationsAsync(param::hstring const& searchTerm, winrt::Windows::Devices::Geolocation::Geocircle const& searchArea, param::hstring const& localCategory, uint32_t maxResults) const; }; template <> struct consume { @@ -241,9 +235,9 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_LocalSearch_ILocalLocationHoursOfOperationItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) Day() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Start() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Span() const; + [[nodiscard]] auto Day() const; + [[nodiscard]] auto Start() const; + [[nodiscard]] auto Span() const; }; template <> struct consume { @@ -252,9 +246,9 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_LocalSearch_ILocalLocationRatingInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AggregateRating() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) RatingCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderIdentifier() const; + [[nodiscard]] auto AggregateRating() const; + [[nodiscard]] auto RatingCount() const; + [[nodiscard]] auto ProviderIdentifier() const; }; template <> struct consume { @@ -263,7 +257,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_LocalSearch_IPlaceInfoHelperStatics { - WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) CreateFromLocalLocation(winrt::Windows::Services::Maps::LocalSearch::LocalLocation const& location) const; + auto CreateFromLocalLocation(winrt::Windows::Services::Maps::LocalSearch::LocalLocation const& location) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.1.h index 70f702a2..620bfd8e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Maps_LocalSearch_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.2.h index 24b65d01..85a2b32a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Maps_LocalSearch_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.0.h index e6ccd375..b66eb071 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Maps_OfflineMaps_0_H @@ -12,13 +12,8 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Services::Maps::OfflineMaps { enum class OfflineMapPackageQueryStatus : int32_t @@ -119,15 +114,15 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EnclosingRegionName() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) EstimatedSizeInBytes() const; - WINRT_IMPL_AUTO(void) StatusChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto EnclosingRegionName() const; + [[nodiscard]] auto EstimatedSizeInBytes() const; + auto StatusChanged(winrt::event_token const& token) const noexcept; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& value) const; using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; - [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStartDownloadAsync() const; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto RequestStartDownloadAsync() const; }; template <> struct consume { @@ -136,8 +131,8 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageQueryResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageQueryStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Packages() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Packages() const; }; template <> struct consume { @@ -146,7 +141,7 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStartDownloadResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageStartDownloadStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -155,9 +150,9 @@ namespace winrt::impl template struct consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindPackagesAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindPackagesInBoundingBoxAsync(winrt::Windows::Devices::Geolocation::GeoboundingBox const& queryBoundingBox) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindPackagesInGeocircleAsync(winrt::Windows::Devices::Geolocation::Geocircle const& queryCircle) const; + auto FindPackagesAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint) const; + auto FindPackagesInBoundingBoxAsync(winrt::Windows::Devices::Geolocation::GeoboundingBox const& queryBoundingBox) const; + auto FindPackagesInGeocircleAsync(winrt::Windows::Devices::Geolocation::Geocircle const& queryCircle) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.1.h index 0b8fcd97..cda4facb 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Maps_OfflineMaps_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.2.h index 45d564de..5921814b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Maps_OfflineMaps_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.0.h index da560434..faa5e564 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Store_0_H @@ -12,17 +12,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; struct HResult; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::System { @@ -868,8 +863,8 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreAcquireLicenseResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePackageLicense) StorePackageLicense() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto StorePackageLicense() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -878,15 +873,15 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreAppLicense { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SkuStoreId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsActive() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTrial() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) ExpirationDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExtendedJsonData() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) AddOnLicenses() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TrialTimeRemaining() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTrialOwnedByThisUser() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TrialUniqueId() const; + [[nodiscard]] auto SkuStoreId() const; + [[nodiscard]] auto IsActive() const; + [[nodiscard]] auto IsTrial() const; + [[nodiscard]] auto ExpirationDate() const; + [[nodiscard]] auto ExtendedJsonData() const; + [[nodiscard]] auto AddOnLicenses() const; + [[nodiscard]] auto TrialTimeRemaining() const; + [[nodiscard]] auto IsTrialOwnedByThisUser() const; + [[nodiscard]] auto TrialUniqueId() const; }; template <> struct consume { @@ -895,7 +890,7 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreAppLicense2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDiscLicense() const; + [[nodiscard]] auto IsDiscLicense() const; }; template <> struct consume { @@ -904,12 +899,12 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreAvailability { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StoreId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) EndDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePrice) Price() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExtendedJsonData() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPurchaseAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPurchaseAsync(winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const; + [[nodiscard]] auto StoreId() const; + [[nodiscard]] auto EndDate() const; + [[nodiscard]] auto Price() const; + [[nodiscard]] auto ExtendedJsonData() const; + auto RequestPurchaseAsync() const; + auto RequestPurchaseAsync(winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const; }; template <> struct consume { @@ -918,9 +913,9 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreCanAcquireLicenseResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LicensableSku() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreCanLicenseStatus) Status() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto LicensableSku() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -929,14 +924,14 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreCollectionData { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTrial() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CampaignId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeveloperOfferId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) AcquiredDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) StartDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) EndDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TrialTimeRemaining() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExtendedJsonData() const; + [[nodiscard]] auto IsTrial() const; + [[nodiscard]] auto CampaignId() const; + [[nodiscard]] auto DeveloperOfferId() const; + [[nodiscard]] auto AcquiredDate() const; + [[nodiscard]] auto StartDate() const; + [[nodiscard]] auto EndDate() const; + [[nodiscard]] auto TrialTimeRemaining() const; + [[nodiscard]] auto ExtendedJsonData() const; }; template <> struct consume { @@ -945,10 +940,10 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreConsumableResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreConsumableStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TrackingId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) BalanceRemaining() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto TrackingId() const; + [[nodiscard]] auto BalanceRemaining() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -957,29 +952,29 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreContext { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; - WINRT_IMPL_AUTO(winrt::event_token) OfflineLicensesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto User() const; + auto OfflineLicensesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using OfflineLicensesChanged_revoker = impl::event_revoker::remove_OfflineLicensesChanged>; - [[nodiscard]] OfflineLicensesChanged_revoker OfflineLicensesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) OfflineLicensesChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCustomerPurchaseIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCustomerCollectionsIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAppLicenseAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetStoreProductForCurrentAppAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetStoreProductsAsync(param::async_iterable const& productKinds, param::async_iterable const& storeIds) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAssociatedStoreProductsAsync(param::async_iterable const& productKinds) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAssociatedStoreProductsWithPagingAsync(param::async_iterable const& productKinds, uint32_t maxItemsToRetrievePerPage) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetUserCollectionAsync(param::async_iterable const& productKinds) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetUserCollectionWithPagingAsync(param::async_iterable const& productKinds, uint32_t maxItemsToRetrievePerPage) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReportConsumableFulfillmentAsync(param::hstring const& productStoreId, uint32_t quantity, winrt::guid const& trackingId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetConsumableBalanceRemainingAsync(param::hstring const& productStoreId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AcquireStoreLicenseForOptionalPackageAsync(winrt::Windows::ApplicationModel::Package const& optionalPackage) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPurchaseAsync(param::hstring const& storeId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPurchaseAsync(param::hstring const& storeId, winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetAppAndOptionalStorePackageUpdatesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RequestDownloadStorePackageUpdatesAsync(param::async_iterable const& storePackageUpdates) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RequestDownloadAndInstallStorePackageUpdatesAsync(param::async_iterable const& storePackageUpdates) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RequestDownloadAndInstallStorePackagesAsync(param::async_iterable const& storeIds) const; + [[nodiscard]] auto OfflineLicensesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OfflineLicensesChanged(winrt::event_token const& token) const noexcept; + auto GetCustomerPurchaseIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const; + auto GetCustomerCollectionsIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const; + auto GetAppLicenseAsync() const; + auto GetStoreProductForCurrentAppAsync() const; + auto GetStoreProductsAsync(param::async_iterable const& productKinds, param::async_iterable const& storeIds) const; + auto GetAssociatedStoreProductsAsync(param::async_iterable const& productKinds) const; + auto GetAssociatedStoreProductsWithPagingAsync(param::async_iterable const& productKinds, uint32_t maxItemsToRetrievePerPage) const; + auto GetUserCollectionAsync(param::async_iterable const& productKinds) const; + auto GetUserCollectionWithPagingAsync(param::async_iterable const& productKinds, uint32_t maxItemsToRetrievePerPage) const; + auto ReportConsumableFulfillmentAsync(param::hstring const& productStoreId, uint32_t quantity, winrt::guid const& trackingId) const; + auto GetConsumableBalanceRemainingAsync(param::hstring const& productStoreId) const; + auto AcquireStoreLicenseForOptionalPackageAsync(winrt::Windows::ApplicationModel::Package const& optionalPackage) const; + auto RequestPurchaseAsync(param::hstring const& storeId) const; + auto RequestPurchaseAsync(param::hstring const& storeId, winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const; + auto GetAppAndOptionalStorePackageUpdatesAsync() const; + auto RequestDownloadStorePackageUpdatesAsync(param::async_iterable const& storePackageUpdates) const; + auto RequestDownloadAndInstallStorePackageUpdatesAsync(param::async_iterable const& storePackageUpdates) const; + auto RequestDownloadAndInstallStorePackagesAsync(param::async_iterable const& storeIds) const; }; template <> struct consume { @@ -988,7 +983,7 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreContext2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindStoreProductForPackageAsync(param::async_iterable const& productKinds, winrt::Windows::ApplicationModel::Package const& package) const; + auto FindStoreProductForPackageAsync(param::async_iterable const& productKinds, winrt::Windows::ApplicationModel::Package const& package) const; }; template <> struct consume { @@ -997,20 +992,20 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreContext3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanSilentlyDownloadStorePackageUpdates() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) TrySilentDownloadStorePackageUpdatesAsync(param::async_iterable const& storePackageUpdates) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) TrySilentDownloadAndInstallStorePackageUpdatesAsync(param::async_iterable const& storePackageUpdates) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CanAcquireStoreLicenseForOptionalPackageAsync(winrt::Windows::ApplicationModel::Package const& optionalPackage) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CanAcquireStoreLicenseAsync(param::hstring const& productStoreId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetStoreProductsAsync(param::async_iterable const& productKinds, param::async_iterable const& storeIds, winrt::Windows::Services::Store::StoreProductOptions const& storeProductOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetAssociatedStoreQueueItemsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetStoreQueueItemsAsync(param::async_iterable const& storeIds) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RequestDownloadAndInstallStorePackagesAsync(param::async_iterable const& storeIds, winrt::Windows::Services::Store::StorePackageInstallOptions const& storePackageInstallOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) DownloadAndInstallStorePackagesAsync(param::async_iterable const& storeIds) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestUninstallStorePackageAsync(winrt::Windows::ApplicationModel::Package const& package) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestUninstallStorePackageByStoreIdAsync(param::hstring const& storeId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UninstallStorePackageAsync(winrt::Windows::ApplicationModel::Package const& package) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UninstallStorePackageByStoreIdAsync(param::hstring const& storeId) const; + [[nodiscard]] auto CanSilentlyDownloadStorePackageUpdates() const; + auto TrySilentDownloadStorePackageUpdatesAsync(param::async_iterable const& storePackageUpdates) const; + auto TrySilentDownloadAndInstallStorePackageUpdatesAsync(param::async_iterable const& storePackageUpdates) const; + auto CanAcquireStoreLicenseForOptionalPackageAsync(winrt::Windows::ApplicationModel::Package const& optionalPackage) const; + auto CanAcquireStoreLicenseAsync(param::hstring const& productStoreId) const; + auto GetStoreProductsAsync(param::async_iterable const& productKinds, param::async_iterable const& storeIds, winrt::Windows::Services::Store::StoreProductOptions const& storeProductOptions) const; + auto GetAssociatedStoreQueueItemsAsync() const; + auto GetStoreQueueItemsAsync(param::async_iterable const& storeIds) const; + auto RequestDownloadAndInstallStorePackagesAsync(param::async_iterable const& storeIds, winrt::Windows::Services::Store::StorePackageInstallOptions const& storePackageInstallOptions) const; + auto DownloadAndInstallStorePackagesAsync(param::async_iterable const& storeIds) const; + auto RequestUninstallStorePackageAsync(winrt::Windows::ApplicationModel::Package const& package) const; + auto RequestUninstallStorePackageByStoreIdAsync(param::hstring const& storeId) const; + auto UninstallStorePackageAsync(winrt::Windows::ApplicationModel::Package const& package) const; + auto UninstallStorePackageByStoreIdAsync(param::hstring const& storeId) const; }; template <> struct consume { @@ -1019,8 +1014,8 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreContext4 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestRateAndReviewAppAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) SetInstallOrderForAssociatedStoreQueueItemsAsync(param::async_iterable const& items) const; + auto RequestRateAndReviewAppAsync() const; + auto SetInstallOrderForAssociatedStoreQueueItemsAsync(param::async_iterable const& items) const; }; template <> struct consume { @@ -1029,8 +1024,8 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreContextStatics { - WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreContext) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreContext) GetForUser(winrt::Windows::System::User const& user) const; + auto GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -1039,11 +1034,11 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreImage { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ImagePurposeTag() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Width() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Height() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Caption() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto ImagePurposeTag() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto Caption() const; }; template <> struct consume { @@ -1052,11 +1047,11 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreLicense { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SkuStoreId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsActive() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) ExpirationDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExtendedJsonData() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) InAppOfferToken() const; + [[nodiscard]] auto SkuStoreId() const; + [[nodiscard]] auto IsActive() const; + [[nodiscard]] auto ExpirationDate() const; + [[nodiscard]] auto ExtendedJsonData() const; + [[nodiscard]] auto InAppOfferToken() const; }; template <> struct consume { @@ -1065,8 +1060,8 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStorePackageInstallOptions { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowForcedAppRestart() const; - WINRT_IMPL_AUTO(void) AllowForcedAppRestart(bool value) const; + [[nodiscard]] auto AllowForcedAppRestart() const; + auto AllowForcedAppRestart(bool value) const; }; template <> struct consume { @@ -1075,13 +1070,13 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStorePackageLicense { - WINRT_IMPL_AUTO(winrt::event_token) LicenseLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LicenseLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LicenseLost_revoker = impl::event_revoker::remove_LicenseLost>; - [[nodiscard]] LicenseLost_revoker LicenseLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LicenseLost(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsValid() const; - WINRT_IMPL_AUTO(void) ReleaseLicense() const; + [[nodiscard]] auto LicenseLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LicenseLost(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Package() const; + [[nodiscard]] auto IsValid() const; + auto ReleaseLicense() const; }; template <> struct consume { @@ -1090,8 +1085,8 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStorePackageUpdate { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Mandatory() const; + [[nodiscard]] auto Package() const; + [[nodiscard]] auto Mandatory() const; }; template <> struct consume { @@ -1100,8 +1095,8 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStorePackageUpdateResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePackageUpdateState) OverallState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) StorePackageUpdateStatuses() const; + [[nodiscard]] auto OverallState() const; + [[nodiscard]] auto StorePackageUpdateStatuses() const; }; template <> struct consume { @@ -1110,7 +1105,7 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStorePackageUpdateResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) StoreQueueItems() const; + [[nodiscard]] auto StoreQueueItems() const; }; template <> struct consume { @@ -1119,12 +1114,12 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStorePrice { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FormattedBasePrice() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FormattedPrice() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOnSale() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) SaleEndDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CurrencyCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FormattedRecurrencePrice() const; + [[nodiscard]] auto FormattedBasePrice() const; + [[nodiscard]] auto FormattedPrice() const; + [[nodiscard]] auto IsOnSale() const; + [[nodiscard]] auto SaleEndDate() const; + [[nodiscard]] auto CurrencyCode() const; + [[nodiscard]] auto FormattedRecurrencePrice() const; }; template <> struct consume { @@ -1133,24 +1128,24 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreProduct { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StoreId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProductKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasDigitalDownload() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Keywords() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Images() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Videos() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Skus() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInUserCollection() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePrice) Price() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExtendedJsonData() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) LinkUri() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIsAnySkuInstalledAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPurchaseAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPurchaseAsync(winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) InAppOfferToken() const; + [[nodiscard]] auto StoreId() const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto ProductKind() const; + [[nodiscard]] auto HasDigitalDownload() const; + [[nodiscard]] auto Keywords() const; + [[nodiscard]] auto Images() const; + [[nodiscard]] auto Videos() const; + [[nodiscard]] auto Skus() const; + [[nodiscard]] auto IsInUserCollection() const; + [[nodiscard]] auto Price() const; + [[nodiscard]] auto ExtendedJsonData() const; + [[nodiscard]] auto LinkUri() const; + auto GetIsAnySkuInstalledAsync() const; + auto RequestPurchaseAsync() const; + auto RequestPurchaseAsync(winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const; + [[nodiscard]] auto InAppOfferToken() const; }; template <> struct consume { @@ -1159,7 +1154,7 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreProductOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ActionFilters() const; + [[nodiscard]] auto ActionFilters() const; }; template <> struct consume { @@ -1168,10 +1163,10 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreProductPagedQueryResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Products() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasMoreResults() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetNextAsync() const; + [[nodiscard]] auto Products() const; + [[nodiscard]] auto HasMoreResults() const; + [[nodiscard]] auto ExtendedError() const; + auto GetNextAsync() const; }; template <> struct consume { @@ -1180,8 +1175,8 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreProductQueryResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Products() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto Products() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1190,8 +1185,8 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreProductResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreProduct) Product() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto Product() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1200,10 +1195,10 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStorePurchaseProperties { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExtendedJsonData() const; - WINRT_IMPL_AUTO(void) ExtendedJsonData(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto ExtendedJsonData() const; + auto ExtendedJsonData(param::hstring const& value) const; }; template <> struct consume { @@ -1212,7 +1207,7 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStorePurchasePropertiesFactory { - WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePurchaseProperties) Create(param::hstring const& name) const; + auto Create(param::hstring const& name) const; }; template <> struct consume { @@ -1221,8 +1216,8 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStorePurchaseResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePurchaseStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1231,18 +1226,18 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreQueueItem { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProductId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PackageFamilyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreQueueItemKind) InstallKind() const; - WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreQueueItemStatus) GetCurrentStatus() const; - WINRT_IMPL_AUTO(winrt::event_token) Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto PackageFamilyName() const; + [[nodiscard]] auto InstallKind() const; + auto GetCurrentStatus() const; + auto Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Completed_revoker = impl::event_revoker::remove_Completed>; - [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Completed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Completed(winrt::event_token const& token) const noexcept; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StatusChanged_revoker = impl::event_revoker::remove_StatusChanged>; - [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StatusChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1251,9 +1246,9 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreQueueItem2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CancelInstallAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) PauseInstallAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ResumeInstallAsync() const; + auto CancelInstallAsync() const; + auto PauseInstallAsync() const; + auto ResumeInstallAsync() const; }; template <> struct consume { @@ -1262,7 +1257,7 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreQueueItemCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreQueueItemStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -1271,10 +1266,10 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreQueueItemStatus { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreQueueItemState) PackageInstallState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreQueueItemExtendedState) PackageInstallExtendedState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePackageUpdateStatus) UpdateStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto PackageInstallState() const; + [[nodiscard]] auto PackageInstallExtendedState() const; + [[nodiscard]] auto UpdateStatus() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1283,10 +1278,10 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreRateAndReviewResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExtendedJsonData() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) WasUpdated() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreRateAndReviewStatus) Status() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto ExtendedJsonData() const; + [[nodiscard]] auto WasUpdated() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -1295,7 +1290,7 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreRequestHelperStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendRequestAsync(winrt::Windows::Services::Store::StoreContext const& context, uint32_t requestKind, param::hstring const& parametersAsJson) const; + auto SendRequestAsync(winrt::Windows::Services::Store::StoreContext const& context, uint32_t requestKind, param::hstring const& parametersAsJson) const; }; template <> struct consume { @@ -1304,8 +1299,8 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreSendRequestResult { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Response() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto Response() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1314,7 +1309,7 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreSendRequestResult2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStatusCode) HttpStatusCode() const; + [[nodiscard]] auto HttpStatusCode() const; }; template <> struct consume { @@ -1323,25 +1318,25 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreSku { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StoreId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTrial() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CustomDeveloperData() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Images() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Videos() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Availabilities() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePrice) Price() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExtendedJsonData() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInUserCollection() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) BundledSkus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreCollectionData) CollectionData() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIsInstalledAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPurchaseAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPurchaseAsync(winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSubscription() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreSubscriptionInfo) SubscriptionInfo() const; + [[nodiscard]] auto StoreId() const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto IsTrial() const; + [[nodiscard]] auto CustomDeveloperData() const; + [[nodiscard]] auto Images() const; + [[nodiscard]] auto Videos() const; + [[nodiscard]] auto Availabilities() const; + [[nodiscard]] auto Price() const; + [[nodiscard]] auto ExtendedJsonData() const; + [[nodiscard]] auto IsInUserCollection() const; + [[nodiscard]] auto BundledSkus() const; + [[nodiscard]] auto CollectionData() const; + auto GetIsInstalledAsync() const; + auto RequestPurchaseAsync() const; + auto RequestPurchaseAsync(winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const; + [[nodiscard]] auto IsSubscription() const; + [[nodiscard]] auto SubscriptionInfo() const; }; template <> struct consume { @@ -1350,11 +1345,11 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreSubscriptionInfo { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) BillingPeriod() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreDurationUnit) BillingPeriodUnit() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasTrialPeriod() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TrialPeriod() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreDurationUnit) TrialPeriodUnit() const; + [[nodiscard]] auto BillingPeriod() const; + [[nodiscard]] auto BillingPeriodUnit() const; + [[nodiscard]] auto HasTrialPeriod() const; + [[nodiscard]] auto TrialPeriod() const; + [[nodiscard]] auto TrialPeriodUnit() const; }; template <> struct consume { @@ -1363,8 +1358,8 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreUninstallStorePackageResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreUninstallStorePackageStatus) Status() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -1373,12 +1368,12 @@ namespace winrt::impl template struct consume_Windows_Services_Store_IStoreVideo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoPurposeTag() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Width() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Height() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Caption() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreImage) PreviewImage() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto VideoPurposeTag() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto Caption() const; + [[nodiscard]] auto PreviewImage() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.1.h index 9a945e0f..162c70c2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Store_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.2.h index 497076db..f1451cc4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_Store_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.0.h index 6dcd912d..d9e0d40f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_TargetedContent_0_H @@ -8,17 +8,9 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct Deferral; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IRandomAccessStreamReference; @@ -362,7 +354,7 @@ namespace winrt::impl template struct consume_Windows_Services_TargetedContent_ITargetedContentAction { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) InvokeAsync() const; + auto InvokeAsync() const; }; template <> struct consume { @@ -371,7 +363,7 @@ namespace winrt::impl template struct consume_Windows_Services_TargetedContent_ITargetedContentAvailabilityChangedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -380,8 +372,8 @@ namespace winrt::impl template struct consume_Windows_Services_TargetedContent_ITargetedContentChangedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasPreviousContentExpired() const; + auto GetDeferral() const; + [[nodiscard]] auto HasPreviousContentExpired() const; }; template <> struct consume { @@ -390,13 +382,13 @@ namespace winrt::impl template struct consume_Windows_Services_TargetedContent_ITargetedContentCollection { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(void) ReportInteraction(winrt::Windows::Services::TargetedContent::TargetedContentInteraction const& interaction) const; - WINRT_IMPL_AUTO(void) ReportCustomInteraction(param::hstring const& customInteractionName) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Path() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Collections() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Items() const; + [[nodiscard]] auto Id() const; + auto ReportInteraction(winrt::Windows::Services::TargetedContent::TargetedContentInteraction const& interaction) const; + auto ReportCustomInteraction(param::hstring const& customInteractionName) const; + [[nodiscard]] auto Path() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto Collections() const; + [[nodiscard]] auto Items() const; }; template <> struct consume { @@ -405,11 +397,11 @@ namespace winrt::impl template struct consume_Windows_Services_TargetedContent_ITargetedContentContainer { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentAvailability) Availability() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentCollection) Content() const; - WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentObject) SelectSingleObject(param::hstring const& path) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Availability() const; + [[nodiscard]] auto Content() const; + auto SelectSingleObject(param::hstring const& path) const; }; template <> struct consume { @@ -418,7 +410,7 @@ namespace winrt::impl template struct consume_Windows_Services_TargetedContent_ITargetedContentContainerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAsync(param::hstring const& contentId) const; + auto GetAsync(param::hstring const& contentId) const; }; template <> struct consume { @@ -427,8 +419,8 @@ namespace winrt::impl template struct consume_Windows_Services_TargetedContent_ITargetedContentImage { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Height() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto Width() const; }; template <> struct consume { @@ -437,12 +429,12 @@ namespace winrt::impl template struct consume_Windows_Services_TargetedContent_ITargetedContentItem { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Path() const; - WINRT_IMPL_AUTO(void) ReportInteraction(winrt::Windows::Services::TargetedContent::TargetedContentInteraction const& interaction) const; - WINRT_IMPL_AUTO(void) ReportCustomInteraction(param::hstring const& customInteractionName) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentItemState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Collections() const; + [[nodiscard]] auto Path() const; + auto ReportInteraction(winrt::Windows::Services::TargetedContent::TargetedContentInteraction const& interaction) const; + auto ReportCustomInteraction(param::hstring const& customInteractionName) const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto Collections() const; }; template <> struct consume { @@ -451,8 +443,8 @@ namespace winrt::impl template struct consume_Windows_Services_TargetedContent_ITargetedContentItemState { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldDisplay() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentAppInstallationState) AppInstallationState() const; + [[nodiscard]] auto ShouldDisplay() const; + [[nodiscard]] auto AppInstallationState() const; }; template <> struct consume { @@ -461,10 +453,10 @@ namespace winrt::impl template struct consume_Windows_Services_TargetedContent_ITargetedContentObject { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentObjectKind) ObjectKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentCollection) Collection() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentItem) Item() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentValue) Value() const; + [[nodiscard]] auto ObjectKind() const; + [[nodiscard]] auto Collection() const; + [[nodiscard]] auto Item() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -473,7 +465,7 @@ namespace winrt::impl template struct consume_Windows_Services_TargetedContent_ITargetedContentStateChangedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -482,20 +474,20 @@ namespace winrt::impl template struct consume_Windows_Services_TargetedContent_ITargetedContentSubscription { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetContentContainerAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) ContentChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Id() const; + auto GetContentContainerAsync() const; + auto ContentChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ContentChanged_revoker = impl::event_revoker::remove_ContentChanged>; - [[nodiscard]] ContentChanged_revoker ContentChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContentChanged(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ContentChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ContentChanged(winrt::event_token const& cookie) const noexcept; + auto AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AvailabilityChanged_revoker = impl::event_revoker::remove_AvailabilityChanged>; - [[nodiscard]] AvailabilityChanged_revoker AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AvailabilityChanged(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AvailabilityChanged(winrt::event_token const& cookie) const noexcept; + auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; - [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StateChanged(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StateChanged(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -504,12 +496,12 @@ namespace winrt::impl template struct consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SubscriptionId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowPartialContentAvailability() const; - WINRT_IMPL_AUTO(void) AllowPartialContentAvailability(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) CloudQueryParameters() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) LocalFilters() const; - WINRT_IMPL_AUTO(void) Update() const; + [[nodiscard]] auto SubscriptionId() const; + [[nodiscard]] auto AllowPartialContentAvailability() const; + auto AllowPartialContentAvailability(bool value) const; + [[nodiscard]] auto CloudQueryParameters() const; + [[nodiscard]] auto LocalFilters() const; + auto Update() const; }; template <> struct consume { @@ -518,8 +510,8 @@ namespace winrt::impl template struct consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetAsync(param::hstring const& subscriptionId) const; - WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentSubscriptionOptions) GetOptions(param::hstring const& subscriptionId) const; + auto GetAsync(param::hstring const& subscriptionId) const; + auto GetOptions(param::hstring const& subscriptionId) const; }; template <> struct consume { @@ -528,22 +520,22 @@ namespace winrt::impl template struct consume_Windows_Services_TargetedContent_ITargetedContentValue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentValueKind) ValueKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Path() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) String() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Number() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Boolean() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentFile) File() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentImage) ImageFile() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentAction) Action() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Strings() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Uris() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Numbers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Booleans() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Files() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ImageFiles() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Actions() const; + [[nodiscard]] auto ValueKind() const; + [[nodiscard]] auto Path() const; + [[nodiscard]] auto String() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Number() const; + [[nodiscard]] auto Boolean() const; + [[nodiscard]] auto File() const; + [[nodiscard]] auto ImageFile() const; + [[nodiscard]] auto Action() const; + [[nodiscard]] auto Strings() const; + [[nodiscard]] auto Uris() const; + [[nodiscard]] auto Numbers() const; + [[nodiscard]] auto Booleans() const; + [[nodiscard]] auto Files() const; + [[nodiscard]] auto ImageFiles() const; + [[nodiscard]] auto Actions() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.1.h index 6103d37f..f7c4ace9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_TargetedContent_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.2.h index 44721a24..53cbc77e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Services_TargetedContent_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.0.h index 23981d81..061e0839 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_0_H @@ -7,31 +7,20 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IObservableVector; struct IPropertySet; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Storage::FileProperties { - struct BasicProperties; struct StorageItemContentProperties; - struct StorageItemThumbnail; enum class ThumbnailMode : int32_t; enum class ThumbnailOptions : uint32_t; } -WINRT_EXPORT namespace winrt::Windows::Storage::Provider -{ - enum class FileUpdateStatus : int32_t; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IBuffer; @@ -1268,15 +1257,15 @@ namespace winrt::impl template struct consume_Windows_Storage_IAppDataPaths { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Cookies() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Desktop() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Documents() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Favorites() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) History() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) InternetCache() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LocalAppData() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProgramData() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RoamingAppData() const; + [[nodiscard]] auto Cookies() const; + [[nodiscard]] auto Desktop() const; + [[nodiscard]] auto Documents() const; + [[nodiscard]] auto Favorites() const; + [[nodiscard]] auto History() const; + [[nodiscard]] auto InternetCache() const; + [[nodiscard]] auto LocalAppData() const; + [[nodiscard]] auto ProgramData() const; + [[nodiscard]] auto RoamingAppData() const; }; template <> struct consume { @@ -1285,8 +1274,8 @@ namespace winrt::impl template struct consume_Windows_Storage_IAppDataPathsStatics { - WINRT_IMPL_AUTO(winrt::Windows::Storage::AppDataPaths) GetForUser(winrt::Windows::System::User const& user) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::AppDataPaths) GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; + auto GetDefault() const; }; template <> struct consume { @@ -1295,21 +1284,21 @@ namespace winrt::impl template struct consume_Windows_Storage_IApplicationData { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Version() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetVersionAsync(uint32_t desiredVersion, winrt::Windows::Storage::ApplicationDataSetVersionHandler const& handler) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearAsync(winrt::Windows::Storage::ApplicationDataLocality const& locality) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationDataContainer) LocalSettings() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationDataContainer) RoamingSettings() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) LocalFolder() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) RoamingFolder() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) TemporaryFolder() const; - WINRT_IMPL_AUTO(winrt::event_token) DataChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Version() const; + auto SetVersionAsync(uint32_t desiredVersion, winrt::Windows::Storage::ApplicationDataSetVersionHandler const& handler) const; + auto ClearAsync() const; + auto ClearAsync(winrt::Windows::Storage::ApplicationDataLocality const& locality) const; + [[nodiscard]] auto LocalSettings() const; + [[nodiscard]] auto RoamingSettings() const; + [[nodiscard]] auto LocalFolder() const; + [[nodiscard]] auto RoamingFolder() const; + [[nodiscard]] auto TemporaryFolder() const; + auto DataChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DataChanged_revoker = impl::event_revoker::remove_DataChanged>; - [[nodiscard]] DataChanged_revoker DataChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DataChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SignalDataChanged() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) RoamingStorageQuota() const; + [[nodiscard]] auto DataChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DataChanged(winrt::event_token const& token) const noexcept; + auto SignalDataChanged() const; + [[nodiscard]] auto RoamingStorageQuota() const; }; template <> struct consume { @@ -1318,7 +1307,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IApplicationData2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) LocalCacheFolder() const; + [[nodiscard]] auto LocalCacheFolder() const; }; template <> struct consume { @@ -1327,9 +1316,9 @@ namespace winrt::impl template struct consume_Windows_Storage_IApplicationData3 { - WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) GetPublisherCacheFolder(param::hstring const& folderName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearPublisherCacheFolderAsync(param::hstring const& folderName) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) SharedLocalFolder() const; + auto GetPublisherCacheFolder(param::hstring const& folderName) const; + auto ClearPublisherCacheFolderAsync(param::hstring const& folderName) const; + [[nodiscard]] auto SharedLocalFolder() const; }; template <> struct consume { @@ -1338,12 +1327,12 @@ namespace winrt::impl template struct consume_Windows_Storage_IApplicationDataContainer { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationDataLocality) Locality() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) Values() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Containers() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationDataContainer) CreateContainer(param::hstring const& name, winrt::Windows::Storage::ApplicationDataCreateDisposition const& disposition) const; - WINRT_IMPL_AUTO(void) DeleteContainer(param::hstring const& name) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Locality() const; + [[nodiscard]] auto Values() const; + [[nodiscard]] auto Containers() const; + auto CreateContainer(param::hstring const& name, winrt::Windows::Storage::ApplicationDataCreateDisposition const& disposition) const; + auto DeleteContainer(param::hstring const& name) const; }; template <> struct consume { @@ -1352,7 +1341,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IApplicationDataStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationData) Current() const; + [[nodiscard]] auto Current() const; }; template <> struct consume { @@ -1361,7 +1350,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IApplicationDataStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetForUserAsync(winrt::Windows::System::User const& user) const; + auto GetForUserAsync(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -1370,8 +1359,8 @@ namespace winrt::impl template struct consume_Windows_Storage_ICachedFileManagerStatics { - WINRT_IMPL_AUTO(void) DeferUpdates(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CompleteUpdatesAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto DeferUpdates(winrt::Windows::Storage::IStorageFile const& file) const; + auto CompleteUpdatesAsync(winrt::Windows::Storage::IStorageFile const& file) const; }; template <> struct consume { @@ -1380,10 +1369,10 @@ namespace winrt::impl template struct consume_Windows_Storage_IDownloadsFolderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFileAsync(param::hstring const& desiredName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFolderAsync(param::hstring const& desiredName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFileAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFolderAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const; + auto CreateFileAsync(param::hstring const& desiredName) const; + auto CreateFolderAsync(param::hstring const& desiredName) const; + auto CreateFileAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const; + auto CreateFolderAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const; }; template <> struct consume { @@ -1392,10 +1381,10 @@ namespace winrt::impl template struct consume_Windows_Storage_IDownloadsFolderStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFileForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFolderForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFileForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFolderForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const; + auto CreateFileForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName) const; + auto CreateFolderForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName) const; + auto CreateFileForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const; + auto CreateFolderForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const; }; template <> struct consume { @@ -1404,21 +1393,21 @@ namespace winrt::impl template struct consume_Windows_Storage_IFileIOStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadTextAsync(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadTextAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WriteTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WriteTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AppendTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AppendTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ReadLinesAsync(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ReadLinesAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WriteLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable const& lines) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WriteLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AppendLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable const& lines) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AppendLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadBufferAsync(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WriteBufferAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WriteBytesAsync(winrt::Windows::Storage::IStorageFile const& file, array_view buffer) const; + auto ReadTextAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto ReadTextAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; + auto WriteTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents) const; + auto WriteTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; + auto AppendTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents) const; + auto AppendTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; + auto ReadLinesAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto ReadLinesAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; + auto WriteLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable const& lines) const; + auto WriteLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; + auto AppendLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable const& lines) const; + auto AppendLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; + auto ReadBufferAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto WriteBufferAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto WriteBytesAsync(winrt::Windows::Storage::IStorageFile const& file, array_view buffer) const; }; template <> struct consume { @@ -1427,7 +1416,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IKnownFoldersCameraRollStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) CameraRoll() const; + [[nodiscard]] auto CameraRoll() const; }; template <> struct consume { @@ -1436,7 +1425,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IKnownFoldersPlaylistsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) Playlists() const; + [[nodiscard]] auto Playlists() const; }; template <> struct consume { @@ -1445,7 +1434,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IKnownFoldersSavedPicturesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) SavedPictures() const; + [[nodiscard]] auto SavedPictures() const; }; template <> struct consume { @@ -1454,13 +1443,13 @@ namespace winrt::impl template struct consume_Windows_Storage_IKnownFoldersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) MusicLibrary() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) PicturesLibrary() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) VideosLibrary() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) DocumentsLibrary() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) HomeGroup() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) RemovableDevices() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) MediaServerDevices() const; + [[nodiscard]] auto MusicLibrary() const; + [[nodiscard]] auto PicturesLibrary() const; + [[nodiscard]] auto VideosLibrary() const; + [[nodiscard]] auto DocumentsLibrary() const; + [[nodiscard]] auto HomeGroup() const; + [[nodiscard]] auto RemovableDevices() const; + [[nodiscard]] auto MediaServerDevices() const; }; template <> struct consume { @@ -1469,9 +1458,9 @@ namespace winrt::impl template struct consume_Windows_Storage_IKnownFoldersStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) Objects3D() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) AppCaptures() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) RecordedCalls() const; + [[nodiscard]] auto Objects3D() const; + [[nodiscard]] auto AppCaptures() const; + [[nodiscard]] auto RecordedCalls() const; }; template <> struct consume { @@ -1480,7 +1469,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IKnownFoldersStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFolderForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Storage::KnownFolderId const& folderId) const; + auto GetFolderForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Storage::KnownFolderId const& folderId) const; }; template <> struct consume { @@ -1489,9 +1478,9 @@ namespace winrt::impl template struct consume_Windows_Storage_IKnownFoldersStatics4 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync(winrt::Windows::Storage::KnownFolderId const& folderId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Storage::KnownFolderId const& folderId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFolderAsync(winrt::Windows::Storage::KnownFolderId const& folderId) const; + auto RequestAccessAsync(winrt::Windows::Storage::KnownFolderId const& folderId) const; + auto RequestAccessForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Storage::KnownFolderId const& folderId) const; + auto GetFolderAsync(winrt::Windows::Storage::KnownFolderId const& folderId) const; }; template <> struct consume { @@ -1500,21 +1489,21 @@ namespace winrt::impl template struct consume_Windows_Storage_IPathIOStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadTextAsync(param::hstring const& absolutePath) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadTextAsync(param::hstring const& absolutePath, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WriteTextAsync(param::hstring const& absolutePath, param::hstring const& contents) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WriteTextAsync(param::hstring const& absolutePath, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AppendTextAsync(param::hstring const& absolutePath, param::hstring const& contents) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AppendTextAsync(param::hstring const& absolutePath, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ReadLinesAsync(param::hstring const& absolutePath) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ReadLinesAsync(param::hstring const& absolutePath, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WriteLinesAsync(param::hstring const& absolutePath, param::async_iterable const& lines) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WriteLinesAsync(param::hstring const& absolutePath, param::async_iterable const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AppendLinesAsync(param::hstring const& absolutePath, param::async_iterable const& lines) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AppendLinesAsync(param::hstring const& absolutePath, param::async_iterable const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReadBufferAsync(param::hstring const& absolutePath) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WriteBufferAsync(param::hstring const& absolutePath, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WriteBytesAsync(param::hstring const& absolutePath, array_view buffer) const; + auto ReadTextAsync(param::hstring const& absolutePath) const; + auto ReadTextAsync(param::hstring const& absolutePath, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; + auto WriteTextAsync(param::hstring const& absolutePath, param::hstring const& contents) const; + auto WriteTextAsync(param::hstring const& absolutePath, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; + auto AppendTextAsync(param::hstring const& absolutePath, param::hstring const& contents) const; + auto AppendTextAsync(param::hstring const& absolutePath, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; + auto ReadLinesAsync(param::hstring const& absolutePath) const; + auto ReadLinesAsync(param::hstring const& absolutePath, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; + auto WriteLinesAsync(param::hstring const& absolutePath, param::async_iterable const& lines) const; + auto WriteLinesAsync(param::hstring const& absolutePath, param::async_iterable const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; + auto AppendLinesAsync(param::hstring const& absolutePath, param::async_iterable const& lines) const; + auto AppendLinesAsync(param::hstring const& absolutePath, param::async_iterable const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; + auto ReadBufferAsync(param::hstring const& absolutePath) const; + auto WriteBufferAsync(param::hstring const& absolutePath, winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto WriteBytesAsync(param::hstring const& absolutePath, array_view buffer) const; }; template <> struct consume { @@ -1523,7 +1512,7 @@ namespace winrt::impl template struct consume_Windows_Storage_ISetVersionDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -1532,9 +1521,9 @@ namespace winrt::impl template struct consume_Windows_Storage_ISetVersionRequest { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CurrentVersion() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DesiredVersion() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::SetVersionDeferral) GetDeferral() const; + [[nodiscard]] auto CurrentVersion() const; + [[nodiscard]] auto DesiredVersion() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1543,18 +1532,18 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageFile { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FileType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentType() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenAsync(winrt::Windows::Storage::FileAccessMode const& accessMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenTransactedWriteAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName, winrt::Windows::Storage::NameCollisionOption const& option) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CopyAndReplaceAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MoveAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MoveAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MoveAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName, winrt::Windows::Storage::NameCollisionOption const& option) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MoveAndReplaceAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace) const; + [[nodiscard]] auto FileType() const; + [[nodiscard]] auto ContentType() const; + auto OpenAsync(winrt::Windows::Storage::FileAccessMode const& accessMode) const; + auto OpenTransactedWriteAsync() const; + auto CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder) const; + auto CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName) const; + auto CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName, winrt::Windows::Storage::NameCollisionOption const& option) const; + auto CopyAndReplaceAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace) const; + auto MoveAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder) const; + auto MoveAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName) const; + auto MoveAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName, winrt::Windows::Storage::NameCollisionOption const& option) const; + auto MoveAndReplaceAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace) const; }; template <> struct consume { @@ -1563,8 +1552,8 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageFile2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenAsync(winrt::Windows::Storage::FileAccessMode const& accessMode, winrt::Windows::Storage::StorageOpenOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenTransactedWriteAsync(winrt::Windows::Storage::StorageOpenOptions const& options) const; + auto OpenAsync(winrt::Windows::Storage::FileAccessMode const& accessMode, winrt::Windows::Storage::StorageOpenOptions const& options) const; + auto OpenTransactedWriteAsync(winrt::Windows::Storage::StorageOpenOptions const& options) const; }; template <> struct consume { @@ -1573,7 +1562,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageFilePropertiesWithAvailability { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAvailable() const; + [[nodiscard]] auto IsAvailable() const; }; template <> struct consume { @@ -1582,12 +1571,12 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageFileStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFileFromPathAsync(param::hstring const& path) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFileFromApplicationUriAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateStreamedFileAsync(param::hstring const& displayNameWithExtension, winrt::Windows::Storage::StreamedFileDataRequestedHandler const& dataRequested, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReplaceWithStreamedFileAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace, winrt::Windows::Storage::StreamedFileDataRequestedHandler const& dataRequested, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateStreamedFileFromUriAsync(param::hstring const& displayNameWithExtension, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ReplaceWithStreamedFileFromUriAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const; + auto GetFileFromPathAsync(param::hstring const& path) const; + auto GetFileFromApplicationUriAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto CreateStreamedFileAsync(param::hstring const& displayNameWithExtension, winrt::Windows::Storage::StreamedFileDataRequestedHandler const& dataRequested, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const; + auto ReplaceWithStreamedFileAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace, winrt::Windows::Storage::StreamedFileDataRequestedHandler const& dataRequested, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const; + auto CreateStreamedFileFromUriAsync(param::hstring const& displayNameWithExtension, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const; + auto ReplaceWithStreamedFileFromUriAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const; }; template <> struct consume { @@ -1596,7 +1585,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageFileStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFileFromPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path) const; + auto GetFileFromPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path) const; }; template <> struct consume { @@ -1605,16 +1594,16 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageFolder { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFileAsync(param::hstring const& desiredName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFileAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFolderAsync(param::hstring const& desiredName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFolderAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFileAsync(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFolderAsync(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetItemAsync(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetFilesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetFoldersAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetItemsAsync() const; + auto CreateFileAsync(param::hstring const& desiredName) const; + auto CreateFileAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& options) const; + auto CreateFolderAsync(param::hstring const& desiredName) const; + auto CreateFolderAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& options) const; + auto GetFileAsync(param::hstring const& name) const; + auto GetFolderAsync(param::hstring const& name) const; + auto GetItemAsync(param::hstring const& name) const; + auto GetFilesAsync() const; + auto GetFoldersAsync() const; + auto GetItemsAsync() const; }; template <> struct consume { @@ -1623,7 +1612,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageFolder2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryGetItemAsync(param::hstring const& name) const; + auto TryGetItemAsync(param::hstring const& name) const; }; template <> struct consume { @@ -1632,7 +1621,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageFolder3 { - WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeTracker) TryGetChangeTracker() const; + auto TryGetChangeTracker() const; }; template <> struct consume { @@ -1641,7 +1630,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageFolderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFolderFromPathAsync(param::hstring const& path) const; + auto GetFolderFromPathAsync(param::hstring const& path) const; }; template <> struct consume { @@ -1650,7 +1639,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageFolderStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFolderFromPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path) const; + auto GetFolderFromPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path) const; }; template <> struct consume { @@ -1659,16 +1648,16 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageItem { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RenameAsync(param::hstring const& desiredName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RenameAsync(param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync(winrt::Windows::Storage::StorageDeleteOption const& option) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetBasicPropertiesAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Path() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::FileAttributes) Attributes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) DateCreated() const; - WINRT_IMPL_AUTO(bool) IsOfType(winrt::Windows::Storage::StorageItemTypes const& type) const; + auto RenameAsync(param::hstring const& desiredName) const; + auto RenameAsync(param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option) const; + auto DeleteAsync() const; + auto DeleteAsync(winrt::Windows::Storage::StorageDeleteOption const& option) const; + auto GetBasicPropertiesAsync() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Path() const; + [[nodiscard]] auto Attributes() const; + [[nodiscard]] auto DateCreated() const; + auto IsOfType(winrt::Windows::Storage::StorageItemTypes const& type) const; }; template <> struct consume { @@ -1677,8 +1666,8 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageItem2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetParentAsync() const; - WINRT_IMPL_AUTO(bool) IsEqual(winrt::Windows::Storage::IStorageItem const& item) const; + auto GetParentAsync() const; + auto IsEqual(winrt::Windows::Storage::IStorageItem const& item) const; }; template <> struct consume { @@ -1687,13 +1676,13 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageItemProperties { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& options) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FolderRelativeId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::StorageItemContentProperties) Properties() const; + auto GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const; + auto GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize) const; + auto GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& options) const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto DisplayType() const; + [[nodiscard]] auto FolderRelativeId() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -1702,9 +1691,9 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageItemProperties2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& options) const; + auto GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const; + auto GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize) const; + auto GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& options) const; }; template <> struct consume { @@ -1713,7 +1702,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageItemPropertiesWithProvider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageProvider) Provider() const; + [[nodiscard]] auto Provider() const; }; template <> struct consume { @@ -1722,14 +1711,14 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageLibrary { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAddFolderAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestRemoveFolderAsync(winrt::Windows::Storage::StorageFolder const& folder) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) Folders() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) SaveFolder() const; - WINRT_IMPL_AUTO(winrt::event_token) DefinitionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RequestAddFolderAsync() const; + auto RequestRemoveFolderAsync(winrt::Windows::Storage::StorageFolder const& folder) const; + [[nodiscard]] auto Folders() const; + [[nodiscard]] auto SaveFolder() const; + auto DefinitionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DefinitionChanged_revoker = impl::event_revoker::remove_DefinitionChanged>; - [[nodiscard]] DefinitionChanged_revoker DefinitionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DefinitionChanged(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto DefinitionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DefinitionChanged(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -1738,7 +1727,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageLibrary2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeTracker) ChangeTracker() const; + [[nodiscard]] auto ChangeTracker() const; }; template <> struct consume { @@ -1747,7 +1736,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageLibrary3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AreFolderSuggestionsAvailableAsync() const; + auto AreFolderSuggestionsAvailableAsync() const; }; template <> struct consume { @@ -1756,11 +1745,11 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageLibraryChange { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeType) ChangeType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Path() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PreviousPath() const; - WINRT_IMPL_AUTO(bool) IsOfType(winrt::Windows::Storage::StorageItemTypes const& type) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetStorageItemAsync() const; + [[nodiscard]] auto ChangeType() const; + [[nodiscard]] auto Path() const; + [[nodiscard]] auto PreviousPath() const; + auto IsOfType(winrt::Windows::Storage::StorageItemTypes const& type) const; + auto GetStorageItemAsync() const; }; template <> struct consume { @@ -1769,8 +1758,8 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageLibraryChangeReader { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ReadBatchAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AcceptChangesAsync() const; + auto ReadBatchAsync() const; + auto AcceptChangesAsync() const; }; template <> struct consume { @@ -1779,7 +1768,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageLibraryChangeReader2 { - WINRT_IMPL_AUTO(uint64_t) GetLastChangeId() const; + auto GetLastChangeId() const; }; template <> struct consume { @@ -1788,9 +1777,9 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageLibraryChangeTracker { - WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeReader) GetChangeReader() const; - WINRT_IMPL_AUTO(void) Enable() const; - WINRT_IMPL_AUTO(void) Reset() const; + auto GetChangeReader() const; + auto Enable() const; + auto Reset() const; }; template <> struct consume { @@ -1799,8 +1788,8 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageLibraryChangeTracker2 { - WINRT_IMPL_AUTO(void) Enable(winrt::Windows::Storage::StorageLibraryChangeTrackerOptions const& options) const; - WINRT_IMPL_AUTO(void) Disable() const; + auto Enable(winrt::Windows::Storage::StorageLibraryChangeTrackerOptions const& options) const; + auto Disable() const; }; template <> struct consume { @@ -1809,8 +1798,8 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageLibraryChangeTrackerOptions { - [[nodiscard]] WINRT_IMPL_AUTO(bool) TrackChangeDetails() const; - WINRT_IMPL_AUTO(void) TrackChangeDetails(bool value) const; + [[nodiscard]] auto TrackChangeDetails() const; + auto TrackChangeDetails(bool value) const; }; template <> struct consume { @@ -1827,7 +1816,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageLibraryLastChangeIdStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) Unknown() const; + [[nodiscard]] auto Unknown() const; }; template <> struct consume { @@ -1836,7 +1825,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageLibraryStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetLibraryAsync(winrt::Windows::Storage::KnownLibraryId const& libraryId) const; + auto GetLibraryAsync(winrt::Windows::Storage::KnownLibraryId const& libraryId) const; }; template <> struct consume { @@ -1845,7 +1834,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageLibraryStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetLibraryForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Storage::KnownLibraryId const& libraryId) const; + auto GetLibraryForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Storage::KnownLibraryId const& libraryId) const; }; template <> struct consume { @@ -1854,8 +1843,8 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageProvider { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; }; template <> struct consume { @@ -1864,7 +1853,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageProvider2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsPropertySupportedForPartialFileAsync(param::hstring const& propertyCanonicalName) const; + auto IsPropertySupportedForPartialFileAsync(param::hstring const& propertyCanonicalName) const; }; template <> struct consume { @@ -1873,8 +1862,8 @@ namespace winrt::impl template struct consume_Windows_Storage_IStorageStreamTransaction { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) Stream() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CommitAsync() const; + [[nodiscard]] auto Stream() const; + auto CommitAsync() const; }; template <> struct consume { @@ -1883,7 +1872,7 @@ namespace winrt::impl template struct consume_Windows_Storage_IStreamedFileDataRequest { - WINRT_IMPL_AUTO(void) FailAndClose(winrt::Windows::Storage::StreamedFileFailureMode const& failureMode) const; + auto FailAndClose(winrt::Windows::Storage::StreamedFileFailureMode const& failureMode) const; }; template <> struct consume { @@ -1892,7 +1881,7 @@ namespace winrt::impl template struct consume_Windows_Storage_ISystemAudioProperties { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EncodingBitrate() const; + [[nodiscard]] auto EncodingBitrate() const; }; template <> struct consume { @@ -1901,22 +1890,22 @@ namespace winrt::impl template struct consume_Windows_Storage_ISystemDataPaths { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Fonts() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProgramData() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Public() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PublicDesktop() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PublicDocuments() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PublicDownloads() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PublicMusic() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PublicPictures() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PublicVideos() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) System() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SystemHost() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SystemX86() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SystemX64() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SystemArm() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserProfiles() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Windows() const; + [[nodiscard]] auto Fonts() const; + [[nodiscard]] auto ProgramData() const; + [[nodiscard]] auto Public() const; + [[nodiscard]] auto PublicDesktop() const; + [[nodiscard]] auto PublicDocuments() const; + [[nodiscard]] auto PublicDownloads() const; + [[nodiscard]] auto PublicMusic() const; + [[nodiscard]] auto PublicPictures() const; + [[nodiscard]] auto PublicVideos() const; + [[nodiscard]] auto System() const; + [[nodiscard]] auto SystemHost() const; + [[nodiscard]] auto SystemX86() const; + [[nodiscard]] auto SystemX64() const; + [[nodiscard]] auto SystemArm() const; + [[nodiscard]] auto UserProfiles() const; + [[nodiscard]] auto Windows() const; }; template <> struct consume { @@ -1925,7 +1914,7 @@ namespace winrt::impl template struct consume_Windows_Storage_ISystemDataPathsStatics { - WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemDataPaths) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -1934,8 +1923,8 @@ namespace winrt::impl template struct consume_Windows_Storage_ISystemGPSProperties { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LatitudeDecimal() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LongitudeDecimal() const; + [[nodiscard]] auto LatitudeDecimal() const; + [[nodiscard]] auto LongitudeDecimal() const; }; template <> struct consume { @@ -1944,8 +1933,8 @@ namespace winrt::impl template struct consume_Windows_Storage_ISystemImageProperties { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HorizontalSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VerticalSize() const; + [[nodiscard]] auto HorizontalSize() const; + [[nodiscard]] auto VerticalSize() const; }; template <> struct consume { @@ -1954,12 +1943,12 @@ namespace winrt::impl template struct consume_Windows_Storage_ISystemMediaProperties { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Producer() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Publisher() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SubTitle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Writer() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Year() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto Producer() const; + [[nodiscard]] auto Publisher() const; + [[nodiscard]] auto SubTitle() const; + [[nodiscard]] auto Writer() const; + [[nodiscard]] auto Year() const; }; template <> struct consume { @@ -1968,14 +1957,14 @@ namespace winrt::impl template struct consume_Windows_Storage_ISystemMusicProperties { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlbumArtist() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlbumTitle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Artist() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Composer() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Conductor() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayArtist() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Genre() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TrackNumber() const; + [[nodiscard]] auto AlbumArtist() const; + [[nodiscard]] auto AlbumTitle() const; + [[nodiscard]] auto Artist() const; + [[nodiscard]] auto Composer() const; + [[nodiscard]] auto Conductor() const; + [[nodiscard]] auto DisplayArtist() const; + [[nodiscard]] auto Genre() const; + [[nodiscard]] auto TrackNumber() const; }; template <> struct consume { @@ -1984,11 +1973,11 @@ namespace winrt::impl template struct consume_Windows_Storage_ISystemPhotoProperties { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CameraManufacturer() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CameraModel() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DateTaken() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Orientation() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PeopleNames() const; + [[nodiscard]] auto CameraManufacturer() const; + [[nodiscard]] auto CameraModel() const; + [[nodiscard]] auto DateTaken() const; + [[nodiscard]] auto Orientation() const; + [[nodiscard]] auto PeopleNames() const; }; template <> struct consume { @@ -1997,19 +1986,19 @@ namespace winrt::impl template struct consume_Windows_Storage_ISystemProperties { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Author() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Comment() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ItemNameDisplay() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Keywords() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Rating() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemAudioProperties) Audio() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemGPSProperties) GPS() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemMediaProperties) Media() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemMusicProperties) Music() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemPhotoProperties) Photo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemVideoProperties) Video() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemImageProperties) Image() const; + [[nodiscard]] auto Author() const; + [[nodiscard]] auto Comment() const; + [[nodiscard]] auto ItemNameDisplay() const; + [[nodiscard]] auto Keywords() const; + [[nodiscard]] auto Rating() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Audio() const; + [[nodiscard]] auto GPS() const; + [[nodiscard]] auto Media() const; + [[nodiscard]] auto Music() const; + [[nodiscard]] auto Photo() const; + [[nodiscard]] auto Video() const; + [[nodiscard]] auto Image() const; }; template <> struct consume { @@ -2018,11 +2007,11 @@ namespace winrt::impl template struct consume_Windows_Storage_ISystemVideoProperties { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Director() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FrameHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FrameWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Orientation() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TotalBitrate() const; + [[nodiscard]] auto Director() const; + [[nodiscard]] auto FrameHeight() const; + [[nodiscard]] auto FrameWidth() const; + [[nodiscard]] auto Orientation() const; + [[nodiscard]] auto TotalBitrate() const; }; template <> struct consume { @@ -2031,25 +2020,25 @@ namespace winrt::impl template struct consume_Windows_Storage_IUserDataPaths { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CameraRoll() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Cookies() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Desktop() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Documents() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Downloads() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Favorites() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) History() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) InternetCache() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LocalAppData() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LocalAppDataLow() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Music() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Pictures() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Profile() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Recent() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RoamingAppData() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SavedPictures() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Screenshots() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Templates() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Videos() const; + [[nodiscard]] auto CameraRoll() const; + [[nodiscard]] auto Cookies() const; + [[nodiscard]] auto Desktop() const; + [[nodiscard]] auto Documents() const; + [[nodiscard]] auto Downloads() const; + [[nodiscard]] auto Favorites() const; + [[nodiscard]] auto History() const; + [[nodiscard]] auto InternetCache() const; + [[nodiscard]] auto LocalAppData() const; + [[nodiscard]] auto LocalAppDataLow() const; + [[nodiscard]] auto Music() const; + [[nodiscard]] auto Pictures() const; + [[nodiscard]] auto Profile() const; + [[nodiscard]] auto Recent() const; + [[nodiscard]] auto RoamingAppData() const; + [[nodiscard]] auto SavedPictures() const; + [[nodiscard]] auto Screenshots() const; + [[nodiscard]] auto Templates() const; + [[nodiscard]] auto Videos() const; }; template <> struct consume { @@ -2058,8 +2047,8 @@ namespace winrt::impl template struct consume_Windows_Storage_IUserDataPathsStatics { - WINRT_IMPL_AUTO(winrt::Windows::Storage::UserDataPaths) GetForUser(winrt::Windows::System::User const& user) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::UserDataPaths) GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; + auto GetDefault() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.1.h index 9c012a93..d12e3cef 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.2.h index d441002c..11652477 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.0.h index e5e12156..c7f0f559 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_AccessCache_0_H @@ -6,7 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections @@ -16,8 +15,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections WINRT_EXPORT namespace winrt::Windows::Storage { struct IStorageItem; - struct StorageFile; - struct StorageFolder; } WINRT_EXPORT namespace winrt::Windows::System { @@ -155,7 +152,7 @@ namespace winrt::impl template struct consume_Windows_Storage_AccessCache_IItemRemovedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::AccessListEntry) RemovedEntry() const; + [[nodiscard]] auto RemovedEntry() const; }; template <> struct consume { @@ -164,8 +161,8 @@ namespace winrt::impl template struct consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::StorageItemAccessList) FutureAccessList() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::StorageItemMostRecentlyUsedList) MostRecentlyUsedList() const; + [[nodiscard]] auto FutureAccessList() const; + [[nodiscard]] auto MostRecentlyUsedList() const; }; template <> struct consume { @@ -174,8 +171,8 @@ namespace winrt::impl template struct consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::StorageItemAccessList) GetFutureAccessListForUser(winrt::Windows::System::User const& user) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::StorageItemMostRecentlyUsedList) GetMostRecentlyUsedListForUser(winrt::Windows::System::User const& user) const; + auto GetFutureAccessListForUser(winrt::Windows::System::User const& user) const; + auto GetMostRecentlyUsedListForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -184,22 +181,22 @@ namespace winrt::impl template struct consume_Windows_Storage_AccessCache_IStorageItemAccessList { - WINRT_IMPL_AUTO(hstring) Add(winrt::Windows::Storage::IStorageItem const& file) const; - WINRT_IMPL_AUTO(hstring) Add(winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata) const; - WINRT_IMPL_AUTO(void) AddOrReplace(param::hstring const& token, winrt::Windows::Storage::IStorageItem const& file) const; - WINRT_IMPL_AUTO(void) AddOrReplace(param::hstring const& token, winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetItemAsync(param::hstring const& token) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFileAsync(param::hstring const& token) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFolderAsync(param::hstring const& token) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetItemAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFileAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFolderAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const; - WINRT_IMPL_AUTO(void) Remove(param::hstring const& token) const; - WINRT_IMPL_AUTO(bool) ContainsItem(param::hstring const& token) const; - WINRT_IMPL_AUTO(void) Clear() const; - WINRT_IMPL_AUTO(bool) CheckAccess(winrt::Windows::Storage::IStorageItem const& file) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::AccessListEntryView) Entries() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaximumItemsAllowed() const; + auto Add(winrt::Windows::Storage::IStorageItem const& file) const; + auto Add(winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata) const; + auto AddOrReplace(param::hstring const& token, winrt::Windows::Storage::IStorageItem const& file) const; + auto AddOrReplace(param::hstring const& token, winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata) const; + auto GetItemAsync(param::hstring const& token) const; + auto GetFileAsync(param::hstring const& token) const; + auto GetFolderAsync(param::hstring const& token) const; + auto GetItemAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const; + auto GetFileAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const; + auto GetFolderAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const; + auto Remove(param::hstring const& token) const; + auto ContainsItem(param::hstring const& token) const; + auto Clear() const; + auto CheckAccess(winrt::Windows::Storage::IStorageItem const& file) const; + [[nodiscard]] auto Entries() const; + [[nodiscard]] auto MaximumItemsAllowed() const; }; template <> struct consume { @@ -208,10 +205,10 @@ namespace winrt::impl template struct consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList { - WINRT_IMPL_AUTO(winrt::event_token) ItemRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ItemRemoved_revoker = impl::event_revoker::remove_ItemRemoved>; - [[nodiscard]] ItemRemoved_revoker ItemRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ItemRemoved(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto ItemRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemRemoved(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { @@ -220,8 +217,8 @@ namespace winrt::impl template struct consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList2 { - WINRT_IMPL_AUTO(hstring) Add(winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata, winrt::Windows::Storage::AccessCache::RecentStorageItemVisibility const& visibility) const; - WINRT_IMPL_AUTO(void) AddOrReplace(param::hstring const& token, winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata, winrt::Windows::Storage::AccessCache::RecentStorageItemVisibility const& visibility) const; + auto Add(winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata, winrt::Windows::Storage::AccessCache::RecentStorageItemVisibility const& visibility) const; + auto AddOrReplace(param::hstring const& token, winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata, winrt::Windows::Storage::AccessCache::RecentStorageItemVisibility const& visibility) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.1.h index e4c1ae11..702b0e68 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_AccessCache_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.2.h index 4e049f6d..b6611f51 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_AccessCache_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.0.h index a863d28b..8b63bbdc 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_BulkAccess_0_H @@ -6,13 +6,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Storage::FileProperties { struct BasicProperties; @@ -101,15 +96,15 @@ namespace winrt::impl template struct consume_Windows_Storage_BulkAccess_IFileInformationFactory { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetItemsAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetItemsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetFilesAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetFilesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetFoldersAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetFoldersAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetVirtualizedItemsVector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetVirtualizedFilesVector() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetVirtualizedFoldersVector() const; + auto GetItemsAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const; + auto GetItemsAsync() const; + auto GetFilesAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const; + auto GetFilesAsync() const; + auto GetFoldersAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const; + auto GetFoldersAsync() const; + auto GetVirtualizedItemsVector() const; + auto GetVirtualizedFilesVector() const; + auto GetVirtualizedFoldersVector() const; }; template <> struct consume { @@ -118,10 +113,10 @@ namespace winrt::impl template struct consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory { - WINRT_IMPL_AUTO(winrt::Windows::Storage::BulkAccess::FileInformationFactory) CreateWithMode(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::BulkAccess::FileInformationFactory) CreateWithModeAndSize(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedThumbnailSize) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::BulkAccess::FileInformationFactory) CreateWithModeAndSizeAndOptions(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedThumbnailSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& thumbnailOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::BulkAccess::FileInformationFactory) CreateWithModeAndSizeAndOptionsAndFlags(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedThumbnailSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& thumbnailOptions, bool delayLoad) const; + auto CreateWithMode(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const; + auto CreateWithModeAndSize(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedThumbnailSize) const; + auto CreateWithModeAndSizeAndOptions(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedThumbnailSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& thumbnailOptions) const; + auto CreateWithModeAndSizeAndOptionsAndFlags(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedThumbnailSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& thumbnailOptions, bool delayLoad) const; }; template <> struct consume { @@ -130,20 +125,20 @@ namespace winrt::impl template struct consume_Windows_Storage_BulkAccess_IStorageItemInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::MusicProperties) MusicProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::VideoProperties) VideoProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::ImageProperties) ImageProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::DocumentProperties) DocumentProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::BasicProperties) BasicProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::StorageItemThumbnail) Thumbnail() const; - WINRT_IMPL_AUTO(winrt::event_token) ThumbnailUpdated(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; + [[nodiscard]] auto MusicProperties() const; + [[nodiscard]] auto VideoProperties() const; + [[nodiscard]] auto ImageProperties() const; + [[nodiscard]] auto DocumentProperties() const; + [[nodiscard]] auto BasicProperties() const; + [[nodiscard]] auto Thumbnail() const; + auto ThumbnailUpdated(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; using ThumbnailUpdated_revoker = impl::event_revoker::remove_ThumbnailUpdated>; - [[nodiscard]] ThumbnailUpdated_revoker ThumbnailUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; - WINRT_IMPL_AUTO(void) ThumbnailUpdated(winrt::event_token const& eventCookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PropertiesUpdated(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; + [[nodiscard]] auto ThumbnailUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; + auto ThumbnailUpdated(winrt::event_token const& eventCookie) const noexcept; + auto PropertiesUpdated(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; using PropertiesUpdated_revoker = impl::event_revoker::remove_PropertiesUpdated>; - [[nodiscard]] PropertiesUpdated_revoker PropertiesUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; - WINRT_IMPL_AUTO(void) PropertiesUpdated(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] auto PropertiesUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; + auto PropertiesUpdated(winrt::event_token const& eventCookie) const noexcept; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.1.h index 90fab04f..084e3fc9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_BulkAccess_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.2.h index c5a359a9..a6698a18 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_BulkAccess_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.0.h index 8a5a061d..cdf94819 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.0.h @@ -1,12 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Compression_0_H #define WINRT_Windows_Storage_Compression_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IInputStream; @@ -85,8 +81,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Compression_ICompressor { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FinishAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) DetachStream() const; + auto FinishAsync() const; + auto DetachStream() const; }; template <> struct consume { @@ -95,8 +91,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Compression_ICompressorFactory { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Compression::Compressor) CreateCompressor(winrt::Windows::Storage::Streams::IOutputStream const& underlyingStream) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Compression::Compressor) CreateCompressorEx(winrt::Windows::Storage::Streams::IOutputStream const& underlyingStream, winrt::Windows::Storage::Compression::CompressAlgorithm const& algorithm, uint32_t blockSize) const; + auto CreateCompressor(winrt::Windows::Storage::Streams::IOutputStream const& underlyingStream) const; + auto CreateCompressorEx(winrt::Windows::Storage::Streams::IOutputStream const& underlyingStream, winrt::Windows::Storage::Compression::CompressAlgorithm const& algorithm, uint32_t blockSize) const; }; template <> struct consume { @@ -105,7 +101,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Compression_IDecompressor { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) DetachStream() const; + auto DetachStream() const; }; template <> struct consume { @@ -114,7 +110,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Compression_IDecompressorFactory { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Compression::Decompressor) CreateDecompressor(winrt::Windows::Storage::Streams::IInputStream const& underlyingStream) const; + auto CreateDecompressor(winrt::Windows::Storage::Streams::IInputStream const& underlyingStream) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.1.h index b1348b53..5db2c269 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Compression_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.2.h index e8095700..e71d8e24 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Compression_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.0.h index 7c23bfb0..b32dc55f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_FileProperties_0_H @@ -11,16 +11,11 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; template struct __declspec(empty_bases) IKeyValuePair; - template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Storage { @@ -306,9 +301,9 @@ namespace winrt::impl template struct consume_Windows_Storage_FileProperties_IBasicProperties { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) Size() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) DateModified() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) ItemDate() const; + [[nodiscard]] auto Size() const; + [[nodiscard]] auto DateModified() const; + [[nodiscard]] auto ItemDate() const; }; template <> struct consume { @@ -317,12 +312,12 @@ namespace winrt::impl template struct consume_Windows_Storage_FileProperties_IDocumentProperties { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Author() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Keywords() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Comment() const; - WINRT_IMPL_AUTO(void) Comment(param::hstring const& value) const; + [[nodiscard]] auto Author() const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Keywords() const; + [[nodiscard]] auto Comment() const; + auto Comment(param::hstring const& value) const; }; template <> struct consume { @@ -331,9 +326,9 @@ namespace winrt::impl template struct consume_Windows_Storage_FileProperties_IGeotagHelperStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetGeotagAsync(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetGeotagFromGeolocatorAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Devices::Geolocation::Geolocator const& geolocator) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetGeotagAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Devices::Geolocation::Geopoint const& geopoint) const; + auto GetGeotagAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto SetGeotagFromGeolocatorAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Devices::Geolocation::Geolocator const& geolocator) const; + auto SetGeotagAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Devices::Geolocation::Geopoint const& geopoint) const; }; template <> struct consume { @@ -342,23 +337,23 @@ namespace winrt::impl template struct consume_Windows_Storage_FileProperties_IImageProperties { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Rating() const; - WINRT_IMPL_AUTO(void) Rating(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Keywords() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) DateTaken() const; - WINRT_IMPL_AUTO(void) DateTaken(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Width() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Height() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Latitude() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Longitude() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CameraManufacturer() const; - WINRT_IMPL_AUTO(void) CameraManufacturer(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CameraModel() const; - WINRT_IMPL_AUTO(void) CameraModel(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::PhotoOrientation) Orientation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PeopleNames() const; + [[nodiscard]] auto Rating() const; + auto Rating(uint32_t value) const; + [[nodiscard]] auto Keywords() const; + [[nodiscard]] auto DateTaken() const; + auto DateTaken(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Latitude() const; + [[nodiscard]] auto Longitude() const; + [[nodiscard]] auto CameraManufacturer() const; + auto CameraManufacturer(param::hstring const& value) const; + [[nodiscard]] auto CameraModel() const; + auto CameraModel(param::hstring const& value) const; + [[nodiscard]] auto Orientation() const; + [[nodiscard]] auto PeopleNames() const; }; template <> struct consume { @@ -367,31 +362,31 @@ namespace winrt::impl template struct consume_Windows_Storage_FileProperties_IMusicProperties { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Album() const; - WINRT_IMPL_AUTO(void) Album(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Artist() const; - WINRT_IMPL_AUTO(void) Artist(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Genre() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TrackNumber() const; - WINRT_IMPL_AUTO(void) TrackNumber(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Rating() const; - WINRT_IMPL_AUTO(void) Rating(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Bitrate() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AlbumArtist() const; - WINRT_IMPL_AUTO(void) AlbumArtist(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Composers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Conductors() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subtitle() const; - WINRT_IMPL_AUTO(void) Subtitle(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Producers() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Publisher() const; - WINRT_IMPL_AUTO(void) Publisher(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Writers() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Year() const; - WINRT_IMPL_AUTO(void) Year(uint32_t value) const; + [[nodiscard]] auto Album() const; + auto Album(param::hstring const& value) const; + [[nodiscard]] auto Artist() const; + auto Artist(param::hstring const& value) const; + [[nodiscard]] auto Genre() const; + [[nodiscard]] auto TrackNumber() const; + auto TrackNumber(uint32_t value) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Rating() const; + auto Rating(uint32_t value) const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto Bitrate() const; + [[nodiscard]] auto AlbumArtist() const; + auto AlbumArtist(param::hstring const& value) const; + [[nodiscard]] auto Composers() const; + [[nodiscard]] auto Conductors() const; + [[nodiscard]] auto Subtitle() const; + auto Subtitle(param::hstring const& value) const; + [[nodiscard]] auto Producers() const; + [[nodiscard]] auto Publisher() const; + auto Publisher(param::hstring const& value) const; + [[nodiscard]] auto Writers() const; + [[nodiscard]] auto Year() const; + auto Year(uint32_t value) const; }; template <> struct consume { @@ -400,10 +395,10 @@ namespace winrt::impl template struct consume_Windows_Storage_FileProperties_IStorageItemContentProperties { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetMusicPropertiesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetVideoPropertiesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetImagePropertiesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDocumentPropertiesAsync() const; + auto GetMusicPropertiesAsync() const; + auto GetVideoPropertiesAsync() const; + auto GetImagePropertiesAsync() const; + auto GetDocumentPropertiesAsync() const; }; template <> struct consume { @@ -412,9 +407,9 @@ namespace winrt::impl template struct consume_Windows_Storage_FileProperties_IStorageItemExtraProperties { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) RetrievePropertiesAsync(param::async_iterable const& propertiesToRetrieve) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SavePropertiesAsync(param::async_iterable> const& propertiesToSave) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SavePropertiesAsync() const; + auto RetrievePropertiesAsync(param::async_iterable const& propertiesToRetrieve) const; + auto SavePropertiesAsync(param::async_iterable> const& propertiesToSave) const; + auto SavePropertiesAsync() const; }; template <> struct consume { @@ -423,10 +418,10 @@ namespace winrt::impl template struct consume_Windows_Storage_FileProperties_IThumbnailProperties { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) OriginalWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) OriginalHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ReturnedSmallerCachedSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::ThumbnailType) Type() const; + [[nodiscard]] auto OriginalWidth() const; + [[nodiscard]] auto OriginalHeight() const; + [[nodiscard]] auto ReturnedSmallerCachedSize() const; + [[nodiscard]] auto Type() const; }; template <> struct consume { @@ -435,27 +430,27 @@ namespace winrt::impl template struct consume_Windows_Storage_FileProperties_IVideoProperties { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Rating() const; - WINRT_IMPL_AUTO(void) Rating(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Keywords() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Width() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Height() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Latitude() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Longitude() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subtitle() const; - WINRT_IMPL_AUTO(void) Subtitle(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Producers() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Publisher() const; - WINRT_IMPL_AUTO(void) Publisher(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Writers() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Year() const; - WINRT_IMPL_AUTO(void) Year(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Bitrate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Directors() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::VideoOrientation) Orientation() const; + [[nodiscard]] auto Rating() const; + auto Rating(uint32_t value) const; + [[nodiscard]] auto Keywords() const; + [[nodiscard]] auto Width() const; + [[nodiscard]] auto Height() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto Latitude() const; + [[nodiscard]] auto Longitude() const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Subtitle() const; + auto Subtitle(param::hstring const& value) const; + [[nodiscard]] auto Producers() const; + [[nodiscard]] auto Publisher() const; + auto Publisher(param::hstring const& value) const; + [[nodiscard]] auto Writers() const; + [[nodiscard]] auto Year() const; + auto Year(uint32_t value) const; + [[nodiscard]] auto Bitrate() const; + [[nodiscard]] auto Directors() const; + [[nodiscard]] auto Orientation() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.1.h index ca1b3246..950bf32e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_FileProperties_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.2.h index cd5bd040..6bde9854 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_FileProperties_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.0.h index 4d64141c..b8ddd906 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.0.h @@ -1,12 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Pickers_0_H #define WINRT_Windows_Storage_Pickers_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IMap; @@ -17,7 +13,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections WINRT_EXPORT namespace winrt::Windows::Storage { struct StorageFile; - struct StorageFolder; } WINRT_EXPORT namespace winrt::Windows::System { @@ -279,17 +274,17 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_IFileOpenPicker { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::PickerViewMode) ViewMode() const; - WINRT_IMPL_AUTO(void) ViewMode(winrt::Windows::Storage::Pickers::PickerViewMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SettingsIdentifier() const; - WINRT_IMPL_AUTO(void) SettingsIdentifier(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::PickerLocationId) SuggestedStartLocation() const; - WINRT_IMPL_AUTO(void) SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CommitButtonText() const; - WINRT_IMPL_AUTO(void) CommitButtonText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FileTypeFilter() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PickSingleFileAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) PickMultipleFilesAsync() const; + [[nodiscard]] auto ViewMode() const; + auto ViewMode(winrt::Windows::Storage::Pickers::PickerViewMode const& value) const; + [[nodiscard]] auto SettingsIdentifier() const; + auto SettingsIdentifier(param::hstring const& value) const; + [[nodiscard]] auto SuggestedStartLocation() const; + auto SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const; + [[nodiscard]] auto CommitButtonText() const; + auto CommitButtonText(param::hstring const& value) const; + [[nodiscard]] auto FileTypeFilter() const; + auto PickSingleFileAsync() const; + auto PickMultipleFilesAsync() const; }; template <> struct consume { @@ -298,9 +293,9 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_IFileOpenPicker2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) ContinuationData() const; - WINRT_IMPL_AUTO(void) PickSingleFileAndContinue() const; - WINRT_IMPL_AUTO(void) PickMultipleFilesAndContinue() const; + [[nodiscard]] auto ContinuationData() const; + auto PickSingleFileAndContinue() const; + auto PickMultipleFilesAndContinue() const; }; template <> struct consume { @@ -309,7 +304,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_IFileOpenPicker3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -318,7 +313,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_IFileOpenPickerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ResumePickSingleFileAsync() const; + auto ResumePickSingleFileAsync() const; }; template <> struct consume { @@ -327,7 +322,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_IFileOpenPickerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::FileOpenPicker) CreateForUser(winrt::Windows::System::User const& user) const; + auto CreateForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -336,7 +331,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_IFileOpenPickerWithOperationId { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PickSingleFileAsync(param::hstring const& pickerOperationId) const; + auto PickSingleFileAsync(param::hstring const& pickerOperationId) const; }; template <> struct consume { @@ -345,20 +340,20 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_IFileSavePicker { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SettingsIdentifier() const; - WINRT_IMPL_AUTO(void) SettingsIdentifier(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::PickerLocationId) SuggestedStartLocation() const; - WINRT_IMPL_AUTO(void) SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CommitButtonText() const; - WINRT_IMPL_AUTO(void) CommitButtonText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap>) FileTypeChoices() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DefaultFileExtension() const; - WINRT_IMPL_AUTO(void) DefaultFileExtension(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) SuggestedSaveFile() const; - WINRT_IMPL_AUTO(void) SuggestedSaveFile(winrt::Windows::Storage::StorageFile const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SuggestedFileName() const; - WINRT_IMPL_AUTO(void) SuggestedFileName(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PickSaveFileAsync() const; + [[nodiscard]] auto SettingsIdentifier() const; + auto SettingsIdentifier(param::hstring const& value) const; + [[nodiscard]] auto SuggestedStartLocation() const; + auto SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const; + [[nodiscard]] auto CommitButtonText() const; + auto CommitButtonText(param::hstring const& value) const; + [[nodiscard]] auto FileTypeChoices() const; + [[nodiscard]] auto DefaultFileExtension() const; + auto DefaultFileExtension(param::hstring const& value) const; + [[nodiscard]] auto SuggestedSaveFile() const; + auto SuggestedSaveFile(winrt::Windows::Storage::StorageFile const& value) const; + [[nodiscard]] auto SuggestedFileName() const; + auto SuggestedFileName(param::hstring const& value) const; + auto PickSaveFileAsync() const; }; template <> struct consume { @@ -367,8 +362,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_IFileSavePicker2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) ContinuationData() const; - WINRT_IMPL_AUTO(void) PickSaveFileAndContinue() const; + [[nodiscard]] auto ContinuationData() const; + auto PickSaveFileAndContinue() const; }; template <> struct consume { @@ -377,8 +372,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_IFileSavePicker3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EnterpriseId() const; - WINRT_IMPL_AUTO(void) EnterpriseId(param::hstring const& value) const; + [[nodiscard]] auto EnterpriseId() const; + auto EnterpriseId(param::hstring const& value) const; }; template <> struct consume { @@ -387,7 +382,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_IFileSavePicker4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -396,7 +391,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_IFileSavePickerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::FileSavePicker) CreateForUser(winrt::Windows::System::User const& user) const; + auto CreateForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -405,16 +400,16 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_IFolderPicker { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::PickerViewMode) ViewMode() const; - WINRT_IMPL_AUTO(void) ViewMode(winrt::Windows::Storage::Pickers::PickerViewMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SettingsIdentifier() const; - WINRT_IMPL_AUTO(void) SettingsIdentifier(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::PickerLocationId) SuggestedStartLocation() const; - WINRT_IMPL_AUTO(void) SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CommitButtonText() const; - WINRT_IMPL_AUTO(void) CommitButtonText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FileTypeFilter() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PickSingleFolderAsync() const; + [[nodiscard]] auto ViewMode() const; + auto ViewMode(winrt::Windows::Storage::Pickers::PickerViewMode const& value) const; + [[nodiscard]] auto SettingsIdentifier() const; + auto SettingsIdentifier(param::hstring const& value) const; + [[nodiscard]] auto SuggestedStartLocation() const; + auto SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const; + [[nodiscard]] auto CommitButtonText() const; + auto CommitButtonText(param::hstring const& value) const; + [[nodiscard]] auto FileTypeFilter() const; + auto PickSingleFolderAsync() const; }; template <> struct consume { @@ -423,8 +418,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_IFolderPicker2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) ContinuationData() const; - WINRT_IMPL_AUTO(void) PickFolderAndContinue() const; + [[nodiscard]] auto ContinuationData() const; + auto PickFolderAndContinue() const; }; template <> struct consume { @@ -433,7 +428,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_IFolderPicker3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -442,7 +437,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_IFolderPickerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::FolderPicker) CreateForUser(winrt::Windows::System::User const& user) const; + auto CreateForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.1.h index a59fbf44..9147b31f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Pickers_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.2.h index 7ee462c0..9284e2f9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Pickers_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.0.h index 67b2a07c..3627a5a8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Pickers_Provider_0_H @@ -8,10 +8,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Storage { struct IStorageFile; @@ -208,23 +204,23 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::AddFileResult) AddFile(param::hstring const& id, winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(void) RemoveFile(param::hstring const& id) const; - WINRT_IMPL_AUTO(bool) ContainsFile(param::hstring const& id) const; - WINRT_IMPL_AUTO(bool) CanAddFile(winrt::Windows::Storage::IStorageFile const& file) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AllowedFileTypes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::FileSelectionMode) SelectionMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SettingsIdentifier() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) FileRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AddFile(param::hstring const& id, winrt::Windows::Storage::IStorageFile const& file) const; + auto RemoveFile(param::hstring const& id) const; + auto ContainsFile(param::hstring const& id) const; + auto CanAddFile(winrt::Windows::Storage::IStorageFile const& file) const; + [[nodiscard]] auto AllowedFileTypes() const; + [[nodiscard]] auto SelectionMode() const; + [[nodiscard]] auto SettingsIdentifier() const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + auto FileRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FileRemoved_revoker = impl::event_revoker::remove_FileRemoved>; - [[nodiscard]] FileRemoved_revoker FileRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FileRemoved(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto FileRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FileRemoved(winrt::event_token const& token) const noexcept; + auto Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closing_revoker = impl::event_revoker::remove_Closing>; - [[nodiscard]] Closing_revoker Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closing(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closing(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -233,7 +229,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_Provider_IFileRemovedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; + [[nodiscard]] auto Id() const; }; template <> struct consume { @@ -242,20 +238,20 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AllowedFileTypes() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SettingsIdentifier() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FileName() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::SetFileNameResult) TrySetFileName(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) FileNameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto AllowedFileTypes() const; + [[nodiscard]] auto SettingsIdentifier() const; + [[nodiscard]] auto FileName() const; + auto TrySetFileName(param::hstring const& value) const; + auto FileNameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FileNameChanged_revoker = impl::event_revoker::remove_FileNameChanged>; - [[nodiscard]] FileNameChanged_revoker FileNameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FileNameChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TargetFileRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto FileNameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FileNameChanged(winrt::event_token const& token) const noexcept; + auto TargetFileRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TargetFileRequested_revoker = impl::event_revoker::remove_TargetFileRequested>; - [[nodiscard]] TargetFileRequested_revoker TargetFileRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TargetFileRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TargetFileRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TargetFileRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -264,7 +260,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_Provider_IPickerClosingDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -273,8 +269,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_Provider_IPickerClosingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::PickerClosingOperation) ClosingOperation() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCanceled() const; + [[nodiscard]] auto ClosingOperation() const; + [[nodiscard]] auto IsCanceled() const; }; template <> struct consume { @@ -283,8 +279,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_Provider_IPickerClosingOperation { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::PickerClosingDeferral) GetDeferral() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Deadline() const; + auto GetDeferral() const; + [[nodiscard]] auto Deadline() const; }; template <> struct consume { @@ -293,9 +289,9 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_Provider_ITargetFileRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) TargetFile() const; - WINRT_IMPL_AUTO(void) TargetFile(winrt::Windows::Storage::IStorageFile const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::TargetFileRequestDeferral) GetDeferral() const; + [[nodiscard]] auto TargetFile() const; + auto TargetFile(winrt::Windows::Storage::IStorageFile const& value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -304,7 +300,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_Provider_ITargetFileRequestDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -313,7 +309,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Pickers_Provider_ITargetFileRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::TargetFileRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.1.h index a5e01371..29baa7b9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Pickers_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.2.h index 6db8a49e..b04356b6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Pickers_Provider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.0.h index e3320c9e..17195e9d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Provider_0_H @@ -13,8 +13,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Storage { @@ -636,7 +634,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_ICachedFileUpdaterStatics { - WINRT_IMPL_AUTO(void) SetUpdateInformation(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contentId, winrt::Windows::Storage::Provider::ReadActivationMode const& readMode, winrt::Windows::Storage::Provider::WriteActivationMode const& writeMode, winrt::Windows::Storage::Provider::CachedFileOptions const& options) const; + auto SetUpdateInformation(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contentId, winrt::Windows::Storage::Provider::ReadActivationMode const& readMode, winrt::Windows::Storage::Provider::WriteActivationMode const& writeMode, winrt::Windows::Storage::Provider::CachedFileOptions const& options) const; }; template <> struct consume { @@ -645,18 +643,18 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_ICachedFileUpdaterUI { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::CachedFileTarget) UpdateTarget() const; - WINRT_IMPL_AUTO(winrt::event_token) FileUpdateRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto UpdateTarget() const; + auto FileUpdateRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FileUpdateRequested_revoker = impl::event_revoker::remove_FileUpdateRequested>; - [[nodiscard]] FileUpdateRequested_revoker FileUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FileUpdateRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) UIRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto FileUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FileUpdateRequested(winrt::event_token const& token) const noexcept; + auto UIRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UIRequested_revoker = impl::event_revoker::remove_UIRequested>; - [[nodiscard]] UIRequested_revoker UIRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UIRequested(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::UIStatus) UIStatus() const; + [[nodiscard]] auto UIRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UIRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto UIStatus() const; }; template <> struct consume { @@ -665,8 +663,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_ICachedFileUpdaterUI2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateRequest) UpdateRequest() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateRequestDeferral) GetDeferral() const; + [[nodiscard]] auto UpdateRequest() const; + auto GetDeferral() const; }; template <> struct consume { @@ -675,12 +673,12 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IFileUpdateRequest { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) File() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateStatus) Status() const; - WINRT_IMPL_AUTO(void) Status(winrt::Windows::Storage::Provider::FileUpdateStatus const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateRequestDeferral) GetDeferral() const; - WINRT_IMPL_AUTO(void) UpdateLocalFile(winrt::Windows::Storage::IStorageFile const& value) const; + [[nodiscard]] auto ContentId() const; + [[nodiscard]] auto File() const; + [[nodiscard]] auto Status() const; + auto Status(winrt::Windows::Storage::Provider::FileUpdateStatus const& value) const; + auto GetDeferral() const; + auto UpdateLocalFile(winrt::Windows::Storage::IStorageFile const& value) const; }; template <> struct consume { @@ -689,8 +687,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IFileUpdateRequest2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserInputNeededMessage() const; - WINRT_IMPL_AUTO(void) UserInputNeededMessage(param::hstring const& value) const; + [[nodiscard]] auto UserInputNeededMessage() const; + auto UserInputNeededMessage(param::hstring const& value) const; }; template <> struct consume { @@ -699,7 +697,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IFileUpdateRequestDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -708,7 +706,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IFileUpdateRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -717,17 +715,17 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderError { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FilePath() const; - WINRT_IMPL_AUTO(void) FilePath(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) PrimaryAction() const; - WINRT_IMPL_AUTO(void) PrimaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) SecondaryAction() const; - WINRT_IMPL_AUTO(void) SecondaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) InformationalLink() const; - WINRT_IMPL_AUTO(void) InformationalLink(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Message() const; + [[nodiscard]] auto FilePath() const; + auto FilePath(param::hstring const& value) const; + [[nodiscard]] auto PrimaryAction() const; + auto PrimaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const; + [[nodiscard]] auto SecondaryAction() const; + auto SecondaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const; + [[nodiscard]] auto InformationalLink() const; + auto InformationalLink(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const; }; template <> struct consume { @@ -736,8 +734,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderErrorCommand { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ActionUri() const; + [[nodiscard]] auto Label() const; + [[nodiscard]] auto ActionUri() const; }; template <> struct consume { @@ -746,7 +744,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderErrorCommandFactory { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) CreateInstance(param::hstring const& label, winrt::Windows::Foundation::Uri const& actionUri) const; + auto CreateInstance(param::hstring const& label, winrt::Windows::Foundation::Uri const& actionUri) const; }; template <> struct consume { @@ -755,7 +753,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderErrorFactory { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderError) CreateInstance(param::hstring const& id, param::hstring const& title, param::hstring const& message) const; + auto CreateInstance(param::hstring const& id, param::hstring const& title, param::hstring const& message) const; }; template <> struct consume { @@ -764,8 +762,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderFileTypeInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FileExtension() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IconResource() const; + [[nodiscard]] auto FileExtension() const; + [[nodiscard]] auto IconResource() const; }; template <> struct consume { @@ -774,7 +772,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderFileTypeInfoFactory { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderFileTypeInfo) CreateInstance(param::hstring const& fileExtension, param::hstring const& iconResource) const; + auto CreateInstance(param::hstring const& fileExtension, param::hstring const& iconResource) const; }; template <> struct consume { @@ -783,12 +781,12 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus) Status() const; - WINRT_IMPL_AUTO(void) Status(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentUri() const; - WINRT_IMPL_AUTO(void) ContentUri(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentId() const; - WINRT_IMPL_AUTO(void) ContentId(param::hstring const& value) const; + [[nodiscard]] auto Status() const; + auto Status(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus const& value) const; + [[nodiscard]] auto ContentUri() const; + auto ContentUri(param::hstring const& value) const; + [[nodiscard]] auto ContentId() const; + auto ContentId(param::hstring const& value) const; }; template <> struct consume { @@ -797,10 +795,10 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus) Status() const; - WINRT_IMPL_AUTO(void) Status(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Path() const; - WINRT_IMPL_AUTO(void) Path(param::hstring const& value) const; + [[nodiscard]] auto Status() const; + auto Status(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus const& value) const; + [[nodiscard]] auto Path() const; + auto Path(param::hstring const& value) const; }; template <> struct consume { @@ -809,7 +807,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderHandlerFactory { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::IStorageProviderStatusSource) GetStatusSource(param::hstring const& syncRootId) const; + auto GetStatusSource(param::hstring const& syncRootId) const; }; template <> struct consume { @@ -818,7 +816,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderItemPropertiesStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetAsync(winrt::Windows::Storage::IStorageItem const& item, param::async_iterable const& itemProperties) const; + auto SetAsync(winrt::Windows::Storage::IStorageItem const& item, param::async_iterable const& itemProperties) const; }; template <> struct consume { @@ -827,12 +825,12 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderItemProperty { - WINRT_IMPL_AUTO(void) Id(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Id() const; - WINRT_IMPL_AUTO(void) Value(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; - WINRT_IMPL_AUTO(void) IconResource(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IconResource() const; + auto Id(int32_t value) const; + [[nodiscard]] auto Id() const; + auto Value(param::hstring const& value) const; + [[nodiscard]] auto Value() const; + auto IconResource(param::hstring const& value) const; + [[nodiscard]] auto IconResource() const; }; template <> struct consume { @@ -841,10 +839,10 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Id() const; - WINRT_IMPL_AUTO(void) Id(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayNameResource() const; - WINRT_IMPL_AUTO(void) DisplayNameResource(param::hstring const& value) const; + [[nodiscard]] auto Id() const; + auto Id(int32_t value) const; + [[nodiscard]] auto DisplayNameResource() const; + auto DisplayNameResource(param::hstring const& value) const; }; template <> struct consume { @@ -853,7 +851,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderItemPropertySource { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) GetItemProperties(param::hstring const& itemPath) const; + auto GetItemProperties(param::hstring const& itemPath) const; }; template <> struct consume { @@ -862,7 +860,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderPropertyCapabilities { - WINRT_IMPL_AUTO(bool) IsPropertySupported(param::hstring const& propertyCanonicalName) const; + auto IsPropertySupported(param::hstring const& propertyCanonicalName) const; }; template <> struct consume { @@ -871,9 +869,9 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderStatus { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ErrorMessages() const; + [[nodiscard]] auto Message() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto ErrorMessages() const; }; template <> struct consume { @@ -882,8 +880,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderStatusFactory { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) CreateInstance(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) CreateInstance2(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message, param::iterable const& errorMessages) const; + auto CreateInstance(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message) const; + auto CreateInstance2(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message, param::iterable const& errorMessages) const; }; template <> struct consume { @@ -892,11 +890,11 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderStatusSource { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) GetStatus() const; - WINRT_IMPL_AUTO(winrt::event_token) Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetStatus() const; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Changed_revoker = impl::event_revoker::remove_Changed>; - [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Changed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Changed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -905,37 +903,37 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(void) Id(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Context() const; - WINRT_IMPL_AUTO(void) Context(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFolder) Path() const; - WINRT_IMPL_AUTO(void) Path(winrt::Windows::Storage::IStorageFolder const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayNameResource() const; - WINRT_IMPL_AUTO(void) DisplayNameResource(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IconResource() const; - WINRT_IMPL_AUTO(void) IconResource(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicy) HydrationPolicy() const; - WINRT_IMPL_AUTO(void) HydrationPolicy(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicyModifier) HydrationPolicyModifier() const; - WINRT_IMPL_AUTO(void) HydrationPolicyModifier(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicyModifier const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderPopulationPolicy) PopulationPolicy() const; - WINRT_IMPL_AUTO(void) PopulationPolicy(winrt::Windows::Storage::Provider::StorageProviderPopulationPolicy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderInSyncPolicy) InSyncPolicy() const; - WINRT_IMPL_AUTO(void) InSyncPolicy(winrt::Windows::Storage::Provider::StorageProviderInSyncPolicy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderHardlinkPolicy) HardlinkPolicy() const; - WINRT_IMPL_AUTO(void) HardlinkPolicy(winrt::Windows::Storage::Provider::StorageProviderHardlinkPolicy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShowSiblingsAsGroup() const; - WINRT_IMPL_AUTO(void) ShowSiblingsAsGroup(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Version() const; - WINRT_IMPL_AUTO(void) Version(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderProtectionMode) ProtectionMode() const; - WINRT_IMPL_AUTO(void) ProtectionMode(winrt::Windows::Storage::Provider::StorageProviderProtectionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowPinning() const; - WINRT_IMPL_AUTO(void) AllowPinning(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) StorageProviderItemPropertyDefinitions() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) RecycleBinUri() const; - WINRT_IMPL_AUTO(void) RecycleBinUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Id() const; + auto Id(param::hstring const& value) const; + [[nodiscard]] auto Context() const; + auto Context(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto Path() const; + auto Path(winrt::Windows::Storage::IStorageFolder const& value) const; + [[nodiscard]] auto DisplayNameResource() const; + auto DisplayNameResource(param::hstring const& value) const; + [[nodiscard]] auto IconResource() const; + auto IconResource(param::hstring const& value) const; + [[nodiscard]] auto HydrationPolicy() const; + auto HydrationPolicy(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicy const& value) const; + [[nodiscard]] auto HydrationPolicyModifier() const; + auto HydrationPolicyModifier(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicyModifier const& value) const; + [[nodiscard]] auto PopulationPolicy() const; + auto PopulationPolicy(winrt::Windows::Storage::Provider::StorageProviderPopulationPolicy const& value) const; + [[nodiscard]] auto InSyncPolicy() const; + auto InSyncPolicy(winrt::Windows::Storage::Provider::StorageProviderInSyncPolicy const& value) const; + [[nodiscard]] auto HardlinkPolicy() const; + auto HardlinkPolicy(winrt::Windows::Storage::Provider::StorageProviderHardlinkPolicy const& value) const; + [[nodiscard]] auto ShowSiblingsAsGroup() const; + auto ShowSiblingsAsGroup(bool value) const; + [[nodiscard]] auto Version() const; + auto Version(param::hstring const& value) const; + [[nodiscard]] auto ProtectionMode() const; + auto ProtectionMode(winrt::Windows::Storage::Provider::StorageProviderProtectionMode const& value) const; + [[nodiscard]] auto AllowPinning() const; + auto AllowPinning(bool value) const; + [[nodiscard]] auto StorageProviderItemPropertyDefinitions() const; + [[nodiscard]] auto RecycleBinUri() const; + auto RecycleBinUri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -944,8 +942,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ProviderId() const; - WINRT_IMPL_AUTO(void) ProviderId(winrt::guid const& value) const; + [[nodiscard]] auto ProviderId() const; + auto ProviderId(winrt::guid const& value) const; }; template <> struct consume { @@ -954,7 +952,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FallbackFileTypeInfo() const; + [[nodiscard]] auto FallbackFileTypeInfo() const; }; template <> struct consume { @@ -963,11 +961,11 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics { - WINRT_IMPL_AUTO(void) Register(winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo const& syncRootInformation) const; - WINRT_IMPL_AUTO(void) Unregister(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo) GetSyncRootInformationForFolder(winrt::Windows::Storage::IStorageFolder const& folder) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo) GetSyncRootInformationForId(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetCurrentSyncRoots() const; + auto Register(winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo const& syncRootInformation) const; + auto Unregister(param::hstring const& id) const; + auto GetSyncRootInformationForFolder(winrt::Windows::Storage::IStorageFolder const& folder) const; + auto GetSyncRootInformationForId(param::hstring const& id) const; + auto GetCurrentSyncRoots() const; }; template <> struct consume { @@ -976,7 +974,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics2 { - WINRT_IMPL_AUTO(bool) IsSupported() const; + auto IsSupported() const; }; template <> struct consume { @@ -985,8 +983,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Provider_IStorageProviderUriSource { - WINRT_IMPL_AUTO(void) GetPathForContentUri(param::hstring const& contentUri, winrt::Windows::Storage::Provider::StorageProviderGetPathForContentUriResult const& result) const; - WINRT_IMPL_AUTO(void) GetContentInfoForPath(param::hstring const& path, winrt::Windows::Storage::Provider::StorageProviderGetContentInfoForPathResult const& result) const; + auto GetPathForContentUri(param::hstring const& contentUri, winrt::Windows::Storage::Provider::StorageProviderGetPathForContentUriResult const& result) const; + auto GetContentInfoForPath(param::hstring const& path, winrt::Windows::Storage::Provider::StorageProviderGetContentInfoForPathResult const& result) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.1.h index 10cbcf06..dc90bc48 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.2.h index b652a781..11468be6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Provider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.0.h index 6906378e..32264c92 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.0.h @@ -1,30 +1,21 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Search_0_H #define WINRT_Windows_Storage_Search_0_H -WINRT_EXPORT namespace winrt::Windows::Data::Text -{ - struct TextSegment; -} WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVectorView; template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Storage { - struct IStorageItem; struct StorageFile; struct StorageFolder; struct StorageLibraryChangeTracker; @@ -413,13 +404,13 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IContentIndexer { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AddAsync(winrt::Windows::Storage::Search::IIndexableContent const& indexableContent) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UpdateAsync(winrt::Windows::Storage::Search::IIndexableContent const& indexableContent) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync(param::hstring const& contentId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteMultipleAsync(param::async_iterable const& contentIds) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAllAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) RetrievePropertiesAsync(param::hstring const& contentId, param::async_iterable const& propertiesToRetrieve) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) Revision() const; + auto AddAsync(winrt::Windows::Storage::Search::IIndexableContent const& indexableContent) const; + auto UpdateAsync(winrt::Windows::Storage::Search::IIndexableContent const& indexableContent) const; + auto DeleteAsync(param::hstring const& contentId) const; + auto DeleteMultipleAsync(param::async_iterable const& contentIds) const; + auto DeleteAllAsync() const; + auto RetrievePropertiesAsync(param::hstring const& contentId, param::async_iterable const& propertiesToRetrieve) const; + [[nodiscard]] auto Revision() const; }; template <> struct consume { @@ -428,12 +419,12 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IContentIndexerQuery { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCountAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>>) GetPropertiesAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>>) GetPropertiesAsync(uint32_t startIndex, uint32_t maxItems) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetAsync(uint32_t startIndex, uint32_t maxItems) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) QueryFolder() const; + auto GetCountAsync() const; + auto GetPropertiesAsync() const; + auto GetPropertiesAsync(uint32_t startIndex, uint32_t maxItems) const; + auto GetAsync() const; + auto GetAsync(uint32_t startIndex, uint32_t maxItems) const; + [[nodiscard]] auto QueryFolder() const; }; template <> struct consume { @@ -442,9 +433,9 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IContentIndexerQueryOperations { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexerQuery) CreateQuery(param::hstring const& searchFilter, param::iterable const& propertiesToRetrieve, param::iterable const& sortOrder, param::hstring const& searchFilterLanguage) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexerQuery) CreateQuery(param::hstring const& searchFilter, param::iterable const& propertiesToRetrieve, param::iterable const& sortOrder) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexerQuery) CreateQuery(param::hstring const& searchFilter, param::iterable const& propertiesToRetrieve) const; + auto CreateQuery(param::hstring const& searchFilter, param::iterable const& propertiesToRetrieve, param::iterable const& sortOrder, param::hstring const& searchFilterLanguage) const; + auto CreateQuery(param::hstring const& searchFilter, param::iterable const& propertiesToRetrieve, param::iterable const& sortOrder) const; + auto CreateQuery(param::hstring const& searchFilter, param::iterable const& propertiesToRetrieve) const; }; template <> struct consume { @@ -453,8 +444,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IContentIndexerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexer) GetIndexer(param::hstring const& indexName) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexer) GetIndexer() const; + auto GetIndexer(param::hstring const& indexName) const; + auto GetIndexer() const; }; template <> struct consume { @@ -463,13 +454,13 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IIndexableContent { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(void) Id(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) Stream() const; - WINRT_IMPL_AUTO(void) Stream(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StreamContentType() const; - WINRT_IMPL_AUTO(void) StreamContentType(param::hstring const& value) const; + [[nodiscard]] auto Id() const; + auto Id(param::hstring const& value) const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto Stream() const; + auto Stream(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; + [[nodiscard]] auto StreamContentType() const; + auto StreamContentType(param::hstring const& value) const; }; template <> struct consume { @@ -478,24 +469,24 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IQueryOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) FileTypeFilter() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::FolderDepth) FolderDepth() const; - WINRT_IMPL_AUTO(void) FolderDepth(winrt::Windows::Storage::Search::FolderDepth const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ApplicationSearchFilter() const; - WINRT_IMPL_AUTO(void) ApplicationSearchFilter(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserSearchFilter() const; - WINRT_IMPL_AUTO(void) UserSearchFilter(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - WINRT_IMPL_AUTO(void) Language(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::IndexerOption) IndexerOption() const; - WINRT_IMPL_AUTO(void) IndexerOption(winrt::Windows::Storage::Search::IndexerOption const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SortOrder() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GroupPropertyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::DateStackOption) DateStackOption() const; - WINRT_IMPL_AUTO(hstring) SaveToString() const; - WINRT_IMPL_AUTO(void) LoadFromString(param::hstring const& value) const; - WINRT_IMPL_AUTO(void) SetThumbnailPrefetch(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& options) const; - WINRT_IMPL_AUTO(void) SetPropertyPrefetch(winrt::Windows::Storage::FileProperties::PropertyPrefetchOptions const& options, param::iterable const& propertiesToRetrieve) const; + [[nodiscard]] auto FileTypeFilter() const; + [[nodiscard]] auto FolderDepth() const; + auto FolderDepth(winrt::Windows::Storage::Search::FolderDepth const& value) const; + [[nodiscard]] auto ApplicationSearchFilter() const; + auto ApplicationSearchFilter(param::hstring const& value) const; + [[nodiscard]] auto UserSearchFilter() const; + auto UserSearchFilter(param::hstring const& value) const; + [[nodiscard]] auto Language() const; + auto Language(param::hstring const& value) const; + [[nodiscard]] auto IndexerOption() const; + auto IndexerOption(winrt::Windows::Storage::Search::IndexerOption const& value) const; + [[nodiscard]] auto SortOrder() const; + [[nodiscard]] auto GroupPropertyName() const; + [[nodiscard]] auto DateStackOption() const; + auto SaveToString() const; + auto LoadFromString(param::hstring const& value) const; + auto SetThumbnailPrefetch(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& options) const; + auto SetPropertyPrefetch(winrt::Windows::Storage::FileProperties::PropertyPrefetchOptions const& options, param::iterable const& propertiesToRetrieve) const; }; template <> struct consume { @@ -504,8 +495,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IQueryOptionsFactory { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::QueryOptions) CreateCommonFileQuery(winrt::Windows::Storage::Search::CommonFileQuery const& query, param::iterable const& fileTypeFilter) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::QueryOptions) CreateCommonFolderQuery(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const; + auto CreateCommonFileQuery(winrt::Windows::Storage::Search::CommonFileQuery const& query, param::iterable const& fileTypeFilter) const; + auto CreateCommonFolderQuery(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const; }; template <> struct consume { @@ -514,7 +505,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IQueryOptionsWithProviderFilter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) StorageProviderIdFilter() const; + [[nodiscard]] auto StorageProviderIdFilter() const; }; template <> struct consume { @@ -523,8 +514,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IStorageFileQueryResult { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetFilesAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetFilesAsync() const; + auto GetFilesAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const; + auto GetFilesAsync() const; }; template <> struct consume { @@ -533,7 +524,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IStorageFileQueryResult2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap>) GetMatchingPropertiesWithRanges(winrt::Windows::Storage::StorageFile const& file) const; + auto GetMatchingPropertiesWithRanges(winrt::Windows::Storage::StorageFile const& file) const; }; template <> struct consume { @@ -542,23 +533,23 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IStorageFolderQueryOperations { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetIndexedStateAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFileQueryResult) CreateFileQuery() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFileQueryResult) CreateFileQuery(winrt::Windows::Storage::Search::CommonFileQuery const& query) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFileQueryResult) CreateFileQueryWithOptions(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFolderQueryResult) CreateFolderQuery() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFolderQueryResult) CreateFolderQuery(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFolderQueryResult) CreateFolderQueryWithOptions(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageItemQueryResult) CreateItemQuery() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageItemQueryResult) CreateItemQueryWithOptions(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetFilesAsync(winrt::Windows::Storage::Search::CommonFileQuery const& query, uint32_t startIndex, uint32_t maxItemsToRetrieve) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetFilesAsync(winrt::Windows::Storage::Search::CommonFileQuery const& query) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetFoldersAsync(winrt::Windows::Storage::Search::CommonFolderQuery const& query, uint32_t startIndex, uint32_t maxItemsToRetrieve) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetFoldersAsync(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetItemsAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const; - WINRT_IMPL_AUTO(bool) AreQueryOptionsSupported(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const; - WINRT_IMPL_AUTO(bool) IsCommonFolderQuerySupported(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const; - WINRT_IMPL_AUTO(bool) IsCommonFileQuerySupported(winrt::Windows::Storage::Search::CommonFileQuery const& query) const; + auto GetIndexedStateAsync() const; + auto CreateFileQuery() const; + auto CreateFileQuery(winrt::Windows::Storage::Search::CommonFileQuery const& query) const; + auto CreateFileQueryWithOptions(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const; + auto CreateFolderQuery() const; + auto CreateFolderQuery(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const; + auto CreateFolderQueryWithOptions(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const; + auto CreateItemQuery() const; + auto CreateItemQueryWithOptions(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const; + auto GetFilesAsync(winrt::Windows::Storage::Search::CommonFileQuery const& query, uint32_t startIndex, uint32_t maxItemsToRetrieve) const; + auto GetFilesAsync(winrt::Windows::Storage::Search::CommonFileQuery const& query) const; + auto GetFoldersAsync(winrt::Windows::Storage::Search::CommonFolderQuery const& query, uint32_t startIndex, uint32_t maxItemsToRetrieve) const; + auto GetFoldersAsync(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const; + auto GetItemsAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const; + auto AreQueryOptionsSupported(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const; + auto IsCommonFolderQuerySupported(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const; + auto IsCommonFileQuerySupported(winrt::Windows::Storage::Search::CommonFileQuery const& query) const; }; template <> struct consume { @@ -567,8 +558,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IStorageFolderQueryResult { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetFoldersAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetFoldersAsync() const; + auto GetFoldersAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const; + auto GetFoldersAsync() const; }; template <> struct consume { @@ -577,8 +568,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IStorageItemQueryResult { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetItemsAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetItemsAsync() const; + auto GetItemsAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const; + auto GetItemsAsync() const; }; template <> struct consume { @@ -587,8 +578,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IStorageLibraryChangeTrackerTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) Folder() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeTracker) ChangeTracker() const; + [[nodiscard]] auto Folder() const; + [[nodiscard]] auto ChangeTracker() const; }; template <> struct consume { @@ -597,8 +588,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IStorageLibraryContentChangedTriggerDetails { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) Folder() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageItemQueryResult) CreateModifiedSinceQuery(winrt::Windows::Foundation::DateTime const& lastQueryTime) const; + [[nodiscard]] auto Folder() const; + auto CreateModifiedSinceQuery(winrt::Windows::Foundation::DateTime const& lastQueryTime) const; }; template <> struct consume { @@ -607,19 +598,19 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IStorageQueryResultBase { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetItemCountAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) Folder() const; - WINRT_IMPL_AUTO(winrt::event_token) ContentsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetItemCountAsync() const; + [[nodiscard]] auto Folder() const; + auto ContentsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ContentsChanged_revoker = impl::event_revoker::remove_ContentsChanged>; - [[nodiscard]] ContentsChanged_revoker ContentsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContentsChanged(winrt::event_token const& eventCookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) OptionsChanged(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; + [[nodiscard]] auto ContentsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ContentsChanged(winrt::event_token const& eventCookie) const noexcept; + auto OptionsChanged(winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; using OptionsChanged_revoker = impl::event_revoker::remove_OptionsChanged>; - [[nodiscard]] OptionsChanged_revoker OptionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; - WINRT_IMPL_AUTO(void) OptionsChanged(winrt::event_token const& eventCookie) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindStartIndexAsync(winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::QueryOptions) GetCurrentQueryOptions() const; - WINRT_IMPL_AUTO(void) ApplyNewQueryOptions(winrt::Windows::Storage::Search::QueryOptions const& newQueryOptions) const; + [[nodiscard]] auto OptionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& changedHandler) const; + auto OptionsChanged(winrt::event_token const& eventCookie) const noexcept; + auto FindStartIndexAsync(winrt::Windows::Foundation::IInspectable const& value) const; + auto GetCurrentQueryOptions() const; + auto ApplyNewQueryOptions(winrt::Windows::Storage::Search::QueryOptions const& newQueryOptions) const; }; template <> struct consume { @@ -628,10 +619,10 @@ namespace winrt::impl template struct consume_Windows_Storage_Search_IValueAndLanguage { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - WINRT_IMPL_AUTO(void) Language(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Value() const; - WINRT_IMPL_AUTO(void) Value(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto Language() const; + auto Language(param::hstring const& value) const; + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.1.h index d0603dd7..587d717a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Search_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.2.h index b70849c9..59a13092 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Search_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.0.h index a89ee652..0a639b7c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.0.h @@ -1,11 +1,10 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Streams_0_H #define WINRT_Windows_Storage_Streams_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperationWithProgress; template struct __declspec(empty_bases) IAsyncOperation; struct IMemoryBuffer; struct MemoryBuffer; @@ -16,7 +15,6 @@ WINRT_EXPORT namespace winrt::Windows::Storage enum class FileAccessMode : int32_t; struct IStorageFile; enum class StorageOpenOptions : uint32_t; - struct StorageStreamTransaction; } WINRT_EXPORT namespace winrt::Windows::System { @@ -389,9 +387,9 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IBuffer { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Capacity() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Length() const; - WINRT_IMPL_AUTO(void) Length(uint32_t value) const; + [[nodiscard]] auto Capacity() const; + [[nodiscard]] auto Length() const; + auto Length(uint32_t value) const; auto data() const { @@ -407,7 +405,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IBufferFactory { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::Buffer) Create(uint32_t capacity) const; + auto Create(uint32_t capacity) const; }; template <> struct consume { @@ -416,8 +414,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IBufferStatics { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::Buffer) CreateCopyFromMemoryBuffer(winrt::Windows::Foundation::IMemoryBuffer const& input) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::MemoryBuffer) CreateMemoryBufferOverIBuffer(winrt::Windows::Storage::Streams::IBuffer const& input) const; + auto CreateCopyFromMemoryBuffer(winrt::Windows::Foundation::IMemoryBuffer const& input) const; + auto CreateMemoryBufferOverIBuffer(winrt::Windows::Storage::Streams::IBuffer const& input) const; }; template <> struct consume { @@ -426,7 +424,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IContentTypeProvider { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentType() const; + [[nodiscard]] auto ContentType() const; }; template <> struct consume { @@ -435,32 +433,32 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IDataReader { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UnconsumedBufferLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::UnicodeEncoding) UnicodeEncoding() const; - WINRT_IMPL_AUTO(void) UnicodeEncoding(winrt::Windows::Storage::Streams::UnicodeEncoding const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::ByteOrder) ByteOrder() const; - WINRT_IMPL_AUTO(void) ByteOrder(winrt::Windows::Storage::Streams::ByteOrder const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::InputStreamOptions) InputStreamOptions() const; - WINRT_IMPL_AUTO(void) InputStreamOptions(winrt::Windows::Storage::Streams::InputStreamOptions const& value) const; - WINRT_IMPL_AUTO(uint8_t) ReadByte() const; - WINRT_IMPL_AUTO(void) ReadBytes(array_view value) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ReadBuffer(uint32_t length) const; - WINRT_IMPL_AUTO(bool) ReadBoolean() const; - WINRT_IMPL_AUTO(winrt::guid) ReadGuid() const; - WINRT_IMPL_AUTO(int16_t) ReadInt16() const; - WINRT_IMPL_AUTO(int32_t) ReadInt32() const; - WINRT_IMPL_AUTO(int64_t) ReadInt64() const; - WINRT_IMPL_AUTO(uint16_t) ReadUInt16() const; - WINRT_IMPL_AUTO(uint32_t) ReadUInt32() const; - WINRT_IMPL_AUTO(uint64_t) ReadUInt64() const; - WINRT_IMPL_AUTO(float) ReadSingle() const; - WINRT_IMPL_AUTO(double) ReadDouble() const; - WINRT_IMPL_AUTO(hstring) ReadString(uint32_t codeUnitCount) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) ReadDateTime() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) ReadTimeSpan() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataReaderLoadOperation) LoadAsync(uint32_t count) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) DetachBuffer() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) DetachStream() const; + [[nodiscard]] auto UnconsumedBufferLength() const; + [[nodiscard]] auto UnicodeEncoding() const; + auto UnicodeEncoding(winrt::Windows::Storage::Streams::UnicodeEncoding const& value) const; + [[nodiscard]] auto ByteOrder() const; + auto ByteOrder(winrt::Windows::Storage::Streams::ByteOrder const& value) const; + [[nodiscard]] auto InputStreamOptions() const; + auto InputStreamOptions(winrt::Windows::Storage::Streams::InputStreamOptions const& value) const; + auto ReadByte() const; + auto ReadBytes(array_view value) const; + auto ReadBuffer(uint32_t length) const; + auto ReadBoolean() const; + auto ReadGuid() const; + auto ReadInt16() const; + auto ReadInt32() const; + auto ReadInt64() const; + auto ReadUInt16() const; + auto ReadUInt32() const; + auto ReadUInt64() const; + auto ReadSingle() const; + auto ReadDouble() const; + auto ReadString(uint32_t codeUnitCount) const; + auto ReadDateTime() const; + auto ReadTimeSpan() const; + auto LoadAsync(uint32_t count) const; + auto DetachBuffer() const; + auto DetachStream() const; }; template <> struct consume { @@ -469,7 +467,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IDataReaderFactory { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataReader) CreateDataReader(winrt::Windows::Storage::Streams::IInputStream const& inputStream) const; + auto CreateDataReader(winrt::Windows::Storage::Streams::IInputStream const& inputStream) const; }; template <> struct consume { @@ -478,7 +476,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IDataReaderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataReader) FromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto FromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; }; template <> struct consume { @@ -487,33 +485,33 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IDataWriter { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UnstoredBufferLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::UnicodeEncoding) UnicodeEncoding() const; - WINRT_IMPL_AUTO(void) UnicodeEncoding(winrt::Windows::Storage::Streams::UnicodeEncoding const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::ByteOrder) ByteOrder() const; - WINRT_IMPL_AUTO(void) ByteOrder(winrt::Windows::Storage::Streams::ByteOrder const& value) const; - WINRT_IMPL_AUTO(void) WriteByte(uint8_t value) const; - WINRT_IMPL_AUTO(void) WriteBytes(array_view value) const; - WINRT_IMPL_AUTO(void) WriteBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; - WINRT_IMPL_AUTO(void) WriteBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, uint32_t start, uint32_t count) const; - WINRT_IMPL_AUTO(void) WriteBoolean(bool value) const; - WINRT_IMPL_AUTO(void) WriteGuid(winrt::guid const& value) const; - WINRT_IMPL_AUTO(void) WriteInt16(int16_t value) const; - WINRT_IMPL_AUTO(void) WriteInt32(int32_t value) const; - WINRT_IMPL_AUTO(void) WriteInt64(int64_t value) const; - WINRT_IMPL_AUTO(void) WriteUInt16(uint16_t value) const; - WINRT_IMPL_AUTO(void) WriteUInt32(uint32_t value) const; - WINRT_IMPL_AUTO(void) WriteUInt64(uint64_t value) const; - WINRT_IMPL_AUTO(void) WriteSingle(float value) const; - WINRT_IMPL_AUTO(void) WriteDouble(double value) const; - WINRT_IMPL_AUTO(void) WriteDateTime(winrt::Windows::Foundation::DateTime const& value) const; - WINRT_IMPL_AUTO(void) WriteTimeSpan(winrt::Windows::Foundation::TimeSpan const& value) const; - WINRT_IMPL_AUTO(uint32_t) WriteString(param::hstring const& value) const; - WINRT_IMPL_AUTO(uint32_t) MeasureString(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataWriterStoreOperation) StoreAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FlushAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) DetachBuffer() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) DetachStream() const; + [[nodiscard]] auto UnstoredBufferLength() const; + [[nodiscard]] auto UnicodeEncoding() const; + auto UnicodeEncoding(winrt::Windows::Storage::Streams::UnicodeEncoding const& value) const; + [[nodiscard]] auto ByteOrder() const; + auto ByteOrder(winrt::Windows::Storage::Streams::ByteOrder const& value) const; + auto WriteByte(uint8_t value) const; + auto WriteBytes(array_view value) const; + auto WriteBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto WriteBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, uint32_t start, uint32_t count) const; + auto WriteBoolean(bool value) const; + auto WriteGuid(winrt::guid const& value) const; + auto WriteInt16(int16_t value) const; + auto WriteInt32(int32_t value) const; + auto WriteInt64(int64_t value) const; + auto WriteUInt16(uint16_t value) const; + auto WriteUInt32(uint32_t value) const; + auto WriteUInt64(uint64_t value) const; + auto WriteSingle(float value) const; + auto WriteDouble(double value) const; + auto WriteDateTime(winrt::Windows::Foundation::DateTime const& value) const; + auto WriteTimeSpan(winrt::Windows::Foundation::TimeSpan const& value) const; + auto WriteString(param::hstring const& value) const; + auto MeasureString(param::hstring const& value) const; + auto StoreAsync() const; + auto FlushAsync() const; + auto DetachBuffer() const; + auto DetachStream() const; }; template <> struct consume { @@ -522,7 +520,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IDataWriterFactory { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataWriter) CreateDataWriter(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const; + auto CreateDataWriter(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const; }; template <> struct consume { @@ -531,14 +529,14 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenAsync(param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenAsync(param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode, winrt::Windows::Storage::StorageOpenOptions const& sharingOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenTransactedWriteAsync(param::hstring const& filePath) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenTransactedWriteAsync(param::hstring const& filePath, winrt::Windows::Storage::StorageOpenOptions const& openOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode, winrt::Windows::Storage::StorageOpenOptions const& sharingOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenTransactedWriteForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenTransactedWriteForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath, winrt::Windows::Storage::StorageOpenOptions const& openOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const; + auto OpenAsync(param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode) const; + auto OpenAsync(param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode, winrt::Windows::Storage::StorageOpenOptions const& sharingOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const; + auto OpenTransactedWriteAsync(param::hstring const& filePath) const; + auto OpenTransactedWriteAsync(param::hstring const& filePath, winrt::Windows::Storage::StorageOpenOptions const& openOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const; + auto OpenForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode) const; + auto OpenForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode, winrt::Windows::Storage::StorageOpenOptions const& sharingOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const; + auto OpenTransactedWriteForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath) const; + auto OpenTransactedWriteForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath, winrt::Windows::Storage::StorageOpenOptions const& openOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const; }; template <> struct consume { @@ -547,7 +545,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IInputStream { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) ReadAsync(winrt::Windows::Storage::Streams::IBuffer const& buffer, uint32_t count, winrt::Windows::Storage::Streams::InputStreamOptions const& options) const; + auto ReadAsync(winrt::Windows::Storage::Streams::IBuffer const& buffer, uint32_t count, winrt::Windows::Storage::Streams::InputStreamOptions const& options) const; }; template <> struct consume { @@ -556,7 +554,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IInputStreamReference { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenSequentialReadAsync() const; + auto OpenSequentialReadAsync() const; }; template <> struct consume { @@ -565,8 +563,8 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IOutputStream { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) WriteAsync(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FlushAsync() const; + auto WriteAsync(winrt::Windows::Storage::Streams::IBuffer const& buffer) const; + auto FlushAsync() const; }; template <> struct consume { @@ -575,15 +573,15 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IRandomAccessStream { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) Size() const; - WINRT_IMPL_AUTO(void) Size(uint64_t value) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) GetInputStreamAt(uint64_t position) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) GetOutputStreamAt(uint64_t position) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) Position() const; - WINRT_IMPL_AUTO(void) Seek(uint64_t position) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) CloneStream() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanRead() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanWrite() const; + [[nodiscard]] auto Size() const; + auto Size(uint64_t value) const; + auto GetInputStreamAt(uint64_t position) const; + auto GetOutputStreamAt(uint64_t position) const; + [[nodiscard]] auto Position() const; + auto Seek(uint64_t position) const; + auto CloneStream() const; + [[nodiscard]] auto CanRead() const; + [[nodiscard]] auto CanWrite() const; }; template <> struct consume { @@ -592,7 +590,7 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IRandomAccessStreamReference { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) OpenReadAsync() const; + auto OpenReadAsync() const; }; template <> struct consume { @@ -601,9 +599,9 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IRandomAccessStreamReferenceStatics { - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) CreateFromFile(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto CreateFromFile(winrt::Windows::Storage::IStorageFile const& file) const; + auto CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const; + auto CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; }; template <> struct consume { @@ -612,9 +610,9 @@ namespace winrt::impl template struct consume_Windows_Storage_Streams_IRandomAccessStreamStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) CopyAsync(winrt::Windows::Storage::Streams::IInputStream const& source, winrt::Windows::Storage::Streams::IOutputStream const& destination) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) CopyAsync(winrt::Windows::Storage::Streams::IInputStream const& source, winrt::Windows::Storage::Streams::IOutputStream const& destination, uint64_t bytesToCopy) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) CopyAndCloseAsync(winrt::Windows::Storage::Streams::IInputStream const& source, winrt::Windows::Storage::Streams::IOutputStream const& destination) const; + auto CopyAsync(winrt::Windows::Storage::Streams::IInputStream const& source, winrt::Windows::Storage::Streams::IOutputStream const& destination) const; + auto CopyAsync(winrt::Windows::Storage::Streams::IInputStream const& source, winrt::Windows::Storage::Streams::IOutputStream const& destination, uint64_t bytesToCopy) const; + auto CopyAndCloseAsync(winrt::Windows::Storage::Streams::IInputStream const& source, winrt::Windows::Storage::Streams::IOutputStream const& destination) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.1.h index fe6e871f..67a1ae7c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Streams_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.2.h index a083ba64..c133cb5a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Storage_Streams_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.0.h index aec55272..77830331 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_0_H @@ -14,7 +14,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; struct HResult; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; struct Point; struct Rect; @@ -24,16 +23,13 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - struct IPropertySet; template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; struct ValueSet; } WINRT_EXPORT namespace winrt::Windows::Storage { struct IStorageFile; struct IStorageFolder; - struct IStorageItem; struct StorageFile; } WINRT_EXPORT namespace winrt::Windows::Storage::Search @@ -44,11 +40,6 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IInputStream; struct IOutputStream; - struct IRandomAccessStreamReference; -} -WINRT_EXPORT namespace winrt::Windows::System::Diagnostics -{ - struct ProcessDiagnosticInfo; } WINRT_EXPORT namespace winrt::Windows::System::RemoteSystems { @@ -1639,8 +1630,8 @@ namespace winrt::impl template struct consume_Windows_System_IAppActivationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfo) AppResourceGroupInfo() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto AppResourceGroupInfo() const; }; template <> struct consume { @@ -1649,7 +1640,7 @@ namespace winrt::impl template struct consume_Windows_System_IAppDiagnosticInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) AppInfo() const; + [[nodiscard]] auto AppInfo() const; }; template <> struct consume { @@ -1658,8 +1649,8 @@ namespace winrt::impl template struct consume_Windows_System_IAppDiagnosticInfo2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetResourceGroups() const; - WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfoWatcher) CreateResourceGroupWatcher() const; + auto GetResourceGroups() const; + auto CreateResourceGroupWatcher() const; }; template <> struct consume { @@ -1668,7 +1659,7 @@ namespace winrt::impl template struct consume_Windows_System_IAppDiagnosticInfo3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchAsync() const; + auto LaunchAsync() const; }; template <> struct consume { @@ -1677,7 +1668,7 @@ namespace winrt::impl template struct consume_Windows_System_IAppDiagnosticInfoStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) RequestInfoAsync() const; + auto RequestInfoAsync() const; }; template <> struct consume { @@ -1686,11 +1677,11 @@ namespace winrt::impl template struct consume_Windows_System_IAppDiagnosticInfoStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::System::AppDiagnosticInfoWatcher) CreateWatcher() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) RequestInfoForPackageAsync(param::hstring const& packageFamilyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) RequestInfoForAppAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) RequestInfoForAppAsync(param::hstring const& appUserModelId) const; + auto CreateWatcher() const; + auto RequestAccessAsync() const; + auto RequestInfoForPackageAsync(param::hstring const& packageFamilyName) const; + auto RequestInfoForAppAsync() const; + auto RequestInfoForAppAsync(param::hstring const& appUserModelId) const; }; template <> struct consume { @@ -1699,25 +1690,25 @@ namespace winrt::impl template struct consume_Windows_System_IAppDiagnosticInfoWatcher { - WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Added_revoker = impl::event_revoker::remove_Added>; - [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Added(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Removed_revoker = impl::event_revoker::remove_Removed>; - [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Removed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Stopped(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::AppDiagnosticInfoWatcherStatus) Status() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; }; template <> struct consume { @@ -1726,7 +1717,7 @@ namespace winrt::impl template struct consume_Windows_System_IAppDiagnosticInfoWatcherEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::AppDiagnosticInfo) AppDiagnosticInfo() const; + [[nodiscard]] auto AppDiagnosticInfo() const; }; template <> struct consume { @@ -1735,7 +1726,7 @@ namespace winrt::impl template struct consume_Windows_System_IAppExecutionStateChangeResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -1744,10 +1735,10 @@ namespace winrt::impl template struct consume_Windows_System_IAppMemoryReport { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) PrivateCommitUsage() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) PeakPrivateCommitUsage() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) TotalCommitUsage() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) TotalCommitLimit() const; + [[nodiscard]] auto PrivateCommitUsage() const; + [[nodiscard]] auto PeakPrivateCommitUsage() const; + [[nodiscard]] auto TotalCommitUsage() const; + [[nodiscard]] auto TotalCommitLimit() const; }; template <> struct consume { @@ -1756,7 +1747,7 @@ namespace winrt::impl template struct consume_Windows_System_IAppMemoryReport2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) ExpectedTotalCommitLimit() const; + [[nodiscard]] auto ExpectedTotalCommitLimit() const; }; template <> struct consume { @@ -1765,8 +1756,8 @@ namespace winrt::impl template struct consume_Windows_System_IAppMemoryUsageLimitChangingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) OldLimit() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) NewLimit() const; + [[nodiscard]] auto OldLimit() const; + [[nodiscard]] auto NewLimit() const; }; template <> struct consume { @@ -1775,10 +1766,10 @@ namespace winrt::impl template struct consume_Windows_System_IAppResourceGroupBackgroundTaskReport { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) TaskId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Trigger() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EntryPoint() const; + [[nodiscard]] auto TaskId() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Trigger() const; + [[nodiscard]] auto EntryPoint() const; }; template <> struct consume { @@ -1787,12 +1778,12 @@ namespace winrt::impl template struct consume_Windows_System_IAppResourceGroupInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) InstanceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsShared() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetBackgroundTaskReports() const; - WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupMemoryReport) GetMemoryReport() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetProcessDiagnosticInfos() const; - WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupStateReport) GetStateReport() const; + [[nodiscard]] auto InstanceId() const; + [[nodiscard]] auto IsShared() const; + auto GetBackgroundTaskReports() const; + auto GetMemoryReport() const; + auto GetProcessDiagnosticInfos() const; + auto GetStateReport() const; }; template <> struct consume { @@ -1801,9 +1792,9 @@ namespace winrt::impl template struct consume_Windows_System_IAppResourceGroupInfo2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartSuspendAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartResumeAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartTerminateAsync() const; + auto StartSuspendAsync() const; + auto StartResumeAsync() const; + auto StartTerminateAsync() const; }; template <> struct consume { @@ -1812,29 +1803,29 @@ namespace winrt::impl template struct consume_Windows_System_IAppResourceGroupInfoWatcher { - WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Added_revoker = impl::event_revoker::remove_Added>; - [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Added(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Removed_revoker = impl::event_revoker::remove_Removed>; - [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Removed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Stopped(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ExecutionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + auto ExecutionStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ExecutionStateChanged_revoker = impl::event_revoker::remove_ExecutionStateChanged>; - [[nodiscard]] ExecutionStateChanged_revoker ExecutionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ExecutionStateChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfoWatcherStatus) Status() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto ExecutionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ExecutionStateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; }; template <> struct consume { @@ -1843,8 +1834,8 @@ namespace winrt::impl template struct consume_Windows_System_IAppResourceGroupInfoWatcherEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AppDiagnosticInfos() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfo) AppResourceGroupInfo() const; + [[nodiscard]] auto AppDiagnosticInfos() const; + [[nodiscard]] auto AppResourceGroupInfo() const; }; template <> struct consume { @@ -1853,8 +1844,8 @@ namespace winrt::impl template struct consume_Windows_System_IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AppDiagnosticInfos() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfo) AppResourceGroupInfo() const; + [[nodiscard]] auto AppDiagnosticInfos() const; + [[nodiscard]] auto AppResourceGroupInfo() const; }; template <> struct consume { @@ -1863,10 +1854,10 @@ namespace winrt::impl template struct consume_Windows_System_IAppResourceGroupMemoryReport { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) CommitUsageLimit() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::AppMemoryUsageLevel) CommitUsageLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) PrivateCommitUsage() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) TotalCommitUsage() const; + [[nodiscard]] auto CommitUsageLimit() const; + [[nodiscard]] auto CommitUsageLevel() const; + [[nodiscard]] auto PrivateCommitUsage() const; + [[nodiscard]] auto TotalCommitUsage() const; }; template <> struct consume { @@ -1875,8 +1866,8 @@ namespace winrt::impl template struct consume_Windows_System_IAppResourceGroupStateReport { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupExecutionState) ExecutionState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupEnergyQuotaState) EnergyQuotaState() const; + [[nodiscard]] auto ExecutionState() const; + [[nodiscard]] auto EnergyQuotaState() const; }; template <> struct consume { @@ -1885,8 +1876,8 @@ namespace winrt::impl template struct consume_Windows_System_IAppUriHandlerHost { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; }; template <> struct consume { @@ -1895,7 +1886,7 @@ namespace winrt::impl template struct consume_Windows_System_IAppUriHandlerHostFactory { - WINRT_IMPL_AUTO(winrt::Windows::System::AppUriHandlerHost) CreateInstance(param::hstring const& name) const; + auto CreateInstance(param::hstring const& name) const; }; template <> struct consume { @@ -1904,10 +1895,10 @@ namespace winrt::impl template struct consume_Windows_System_IAppUriHandlerRegistration { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetAppAddedHostsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetAppAddedHostsAsync(param::async_iterable const& hosts) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto User() const; + auto GetAppAddedHostsAsync() const; + auto SetAppAddedHostsAsync(param::async_iterable const& hosts) const; }; template <> struct consume { @@ -1916,8 +1907,8 @@ namespace winrt::impl template struct consume_Windows_System_IAppUriHandlerRegistrationManager { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; - WINRT_IMPL_AUTO(winrt::Windows::System::AppUriHandlerRegistration) TryGetRegistration(param::hstring const& name) const; + [[nodiscard]] auto User() const; + auto TryGetRegistration(param::hstring const& name) const; }; template <> struct consume { @@ -1926,8 +1917,8 @@ namespace winrt::impl template struct consume_Windows_System_IAppUriHandlerRegistrationManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::AppUriHandlerRegistrationManager) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::System::AppUriHandlerRegistrationManager) GetForUser(winrt::Windows::System::User const& user) const; + auto GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -1936,7 +1927,7 @@ namespace winrt::impl template struct consume_Windows_System_IDateTimeSettingsStatics { - WINRT_IMPL_AUTO(void) SetSystemDateTime(winrt::Windows::Foundation::DateTime const& utcDateTime) const; + auto SetSystemDateTime(winrt::Windows::Foundation::DateTime const& utcDateTime) const; }; template <> struct consume { @@ -1945,17 +1936,17 @@ namespace winrt::impl template struct consume_Windows_System_IDispatcherQueue { - WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueueTimer) CreateTimer() const; - WINRT_IMPL_AUTO(bool) TryEnqueue(winrt::Windows::System::DispatcherQueueHandler const& callback) const; - WINRT_IMPL_AUTO(bool) TryEnqueue(winrt::Windows::System::DispatcherQueuePriority const& priority, winrt::Windows::System::DispatcherQueueHandler const& callback) const; - WINRT_IMPL_AUTO(winrt::event_token) ShutdownStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CreateTimer() const; + auto TryEnqueue(winrt::Windows::System::DispatcherQueueHandler const& callback) const; + auto TryEnqueue(winrt::Windows::System::DispatcherQueuePriority const& priority, winrt::Windows::System::DispatcherQueueHandler const& callback) const; + auto ShutdownStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ShutdownStarting_revoker = impl::event_revoker::remove_ShutdownStarting>; - [[nodiscard]] ShutdownStarting_revoker ShutdownStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ShutdownStarting(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ShutdownCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ShutdownStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ShutdownStarting(winrt::event_token const& token) const noexcept; + auto ShutdownCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ShutdownCompleted_revoker = impl::event_revoker::remove_ShutdownCompleted>; - [[nodiscard]] ShutdownCompleted_revoker ShutdownCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ShutdownCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ShutdownCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ShutdownCompleted(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1964,7 +1955,7 @@ namespace winrt::impl template struct consume_Windows_System_IDispatcherQueue2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasThreadAccess() const; + [[nodiscard]] auto HasThreadAccess() const; }; template <> struct consume { @@ -1973,8 +1964,8 @@ namespace winrt::impl template struct consume_Windows_System_IDispatcherQueueController { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) DispatcherQueue() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShutdownQueueAsync() const; + [[nodiscard]] auto DispatcherQueue() const; + auto ShutdownQueueAsync() const; }; template <> struct consume { @@ -1983,7 +1974,7 @@ namespace winrt::impl template struct consume_Windows_System_IDispatcherQueueControllerStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueueController) CreateOnDedicatedThread() const; + auto CreateOnDedicatedThread() const; }; template <> struct consume { @@ -1992,7 +1983,7 @@ namespace winrt::impl template struct consume_Windows_System_IDispatcherQueueShutdownStartingEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -2001,7 +1992,7 @@ namespace winrt::impl template struct consume_Windows_System_IDispatcherQueueStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) GetForCurrentThread() const; + auto GetForCurrentThread() const; }; template <> struct consume { @@ -2010,17 +2001,17 @@ namespace winrt::impl template struct consume_Windows_System_IDispatcherQueueTimer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Interval() const; - WINRT_IMPL_AUTO(void) Interval(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRunning() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRepeating() const; - WINRT_IMPL_AUTO(void) IsRepeating(bool value) const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(winrt::event_token) Tick(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Interval() const; + auto Interval(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto IsRunning() const; + [[nodiscard]] auto IsRepeating() const; + auto IsRepeating(bool value) const; + auto Start() const; + auto Stop() const; + auto Tick(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Tick_revoker = impl::event_revoker::remove_Tick>; - [[nodiscard]] Tick_revoker Tick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Tick(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Tick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Tick(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2029,7 +2020,7 @@ namespace winrt::impl template struct consume_Windows_System_IFolderLauncherOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ItemsToSelect() const; + [[nodiscard]] auto ItemsToSelect() const; }; template <> struct consume { @@ -2038,15 +2029,15 @@ namespace winrt::impl template struct consume_Windows_System_IKnownUserPropertiesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FirstName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LastName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AccountName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GuestHost() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PrincipalName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DomainName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SessionInitiationProtocolUri() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto FirstName() const; + [[nodiscard]] auto LastName() const; + [[nodiscard]] auto ProviderName() const; + [[nodiscard]] auto AccountName() const; + [[nodiscard]] auto GuestHost() const; + [[nodiscard]] auto PrincipalName() const; + [[nodiscard]] auto DomainName() const; + [[nodiscard]] auto SessionInitiationProtocolUri() const; }; template <> struct consume { @@ -2055,8 +2046,8 @@ namespace winrt::impl template struct consume_Windows_System_ILaunchUriResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::LaunchUriStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Result() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Result() const; }; template <> struct consume { @@ -2065,19 +2056,19 @@ namespace winrt::impl template struct consume_Windows_System_ILauncherOptions { - [[nodiscard]] WINRT_IMPL_AUTO(bool) TreatAsUntrusted() const; - WINRT_IMPL_AUTO(void) TreatAsUntrusted(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DisplayApplicationPicker() const; - WINRT_IMPL_AUTO(void) DisplayApplicationPicker(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::LauncherUIOptions) UI() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PreferredApplicationPackageFamilyName() const; - WINRT_IMPL_AUTO(void) PreferredApplicationPackageFamilyName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PreferredApplicationDisplayName() const; - WINRT_IMPL_AUTO(void) PreferredApplicationDisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) FallbackUri() const; - WINRT_IMPL_AUTO(void) FallbackUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentType() const; - WINRT_IMPL_AUTO(void) ContentType(param::hstring const& value) const; + [[nodiscard]] auto TreatAsUntrusted() const; + auto TreatAsUntrusted(bool value) const; + [[nodiscard]] auto DisplayApplicationPicker() const; + auto DisplayApplicationPicker(bool value) const; + [[nodiscard]] auto UI() const; + [[nodiscard]] auto PreferredApplicationPackageFamilyName() const; + auto PreferredApplicationPackageFamilyName(param::hstring const& value) const; + [[nodiscard]] auto PreferredApplicationDisplayName() const; + auto PreferredApplicationDisplayName(param::hstring const& value) const; + [[nodiscard]] auto FallbackUri() const; + auto FallbackUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ContentType() const; + auto ContentType(param::hstring const& value) const; }; template <> struct consume { @@ -2086,10 +2077,10 @@ namespace winrt::impl template struct consume_Windows_System_ILauncherOptions2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TargetApplicationPackageFamilyName() const; - WINRT_IMPL_AUTO(void) TargetApplicationPackageFamilyName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFileQueryResult) NeighboringFilesQuery() const; - WINRT_IMPL_AUTO(void) NeighboringFilesQuery(winrt::Windows::Storage::Search::StorageFileQueryResult const& value) const; + [[nodiscard]] auto TargetApplicationPackageFamilyName() const; + auto TargetApplicationPackageFamilyName(param::hstring const& value) const; + [[nodiscard]] auto NeighboringFilesQuery() const; + auto NeighboringFilesQuery(winrt::Windows::Storage::Search::StorageFileQueryResult const& value) const; }; template <> struct consume { @@ -2098,8 +2089,8 @@ namespace winrt::impl template struct consume_Windows_System_ILauncherOptions3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IgnoreAppUriHandlers() const; - WINRT_IMPL_AUTO(void) IgnoreAppUriHandlers(bool value) const; + [[nodiscard]] auto IgnoreAppUriHandlers() const; + auto IgnoreAppUriHandlers(bool value) const; }; template <> struct consume { @@ -2108,8 +2099,8 @@ namespace winrt::impl template struct consume_Windows_System_ILauncherOptions4 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) LimitPickerToCurrentAppAndAppUriHandlers() const; - WINRT_IMPL_AUTO(void) LimitPickerToCurrentAppAndAppUriHandlers(bool value) const; + [[nodiscard]] auto LimitPickerToCurrentAppAndAppUriHandlers() const; + auto LimitPickerToCurrentAppAndAppUriHandlers(bool value) const; }; template <> struct consume { @@ -2118,10 +2109,10 @@ namespace winrt::impl template struct consume_Windows_System_ILauncherStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::System::LauncherOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchUriAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const; + auto LaunchFileAsync(winrt::Windows::Storage::IStorageFile const& file) const; + auto LaunchFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::System::LauncherOptions const& options) const; + auto LaunchUriAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto LaunchUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const; }; template <> struct consume { @@ -2130,16 +2121,16 @@ namespace winrt::impl template struct consume_Windows_System_ILauncherStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchUriForResultsAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchUriForResultsAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) QueryUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) QueryUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType, param::hstring const& packageFamilyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) QueryFileSupportAsync(winrt::Windows::Storage::StorageFile const& file) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) QueryFileSupportAsync(winrt::Windows::Storage::StorageFile const& file, param::hstring const& packageFamilyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindUriSchemeHandlersAsync(param::hstring const& scheme) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindUriSchemeHandlersAsync(param::hstring const& scheme, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindFileHandlersAsync(param::hstring const& extension) const; + auto LaunchUriForResultsAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const; + auto LaunchUriForResultsAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const; + auto LaunchUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const; + auto QueryUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType) const; + auto QueryUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType, param::hstring const& packageFamilyName) const; + auto QueryFileSupportAsync(winrt::Windows::Storage::StorageFile const& file) const; + auto QueryFileSupportAsync(winrt::Windows::Storage::StorageFile const& file, param::hstring const& packageFamilyName) const; + auto FindUriSchemeHandlersAsync(param::hstring const& scheme) const; + auto FindUriSchemeHandlersAsync(param::hstring const& scheme, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType) const; + auto FindFileHandlersAsync(param::hstring const& extension) const; }; template <> struct consume { @@ -2148,8 +2139,8 @@ namespace winrt::impl template struct consume_Windows_System_ILauncherStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchFolderAsync(winrt::Windows::Storage::IStorageFolder const& folder) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchFolderAsync(winrt::Windows::Storage::IStorageFolder const& folder, winrt::Windows::System::FolderLauncherOptions const& options) const; + auto LaunchFolderAsync(winrt::Windows::Storage::IStorageFolder const& folder) const; + auto LaunchFolderAsync(winrt::Windows::Storage::IStorageFolder const& folder, winrt::Windows::System::FolderLauncherOptions const& options) const; }; template <> struct consume { @@ -2158,14 +2149,14 @@ namespace winrt::impl template struct consume_Windows_System_ILauncherStatics4 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) QueryAppUriSupportAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) QueryAppUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& packageFamilyName) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAppUriHandlersAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchUriForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchUriForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchUriForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchUriForResultsForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchUriForResultsForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const; + auto QueryAppUriSupportAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto QueryAppUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& packageFamilyName) const; + auto FindAppUriHandlersAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto LaunchUriForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri) const; + auto LaunchUriForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const; + auto LaunchUriForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const; + auto LaunchUriForResultsForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const; + auto LaunchUriForResultsForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const; }; template <> struct consume { @@ -2174,10 +2165,10 @@ namespace winrt::impl template struct consume_Windows_System_ILauncherStatics5 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchFolderPathAsync(param::hstring const& path) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchFolderPathAsync(param::hstring const& path, winrt::Windows::System::FolderLauncherOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchFolderPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchFolderPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path, winrt::Windows::System::FolderLauncherOptions const& options) const; + auto LaunchFolderPathAsync(param::hstring const& path) const; + auto LaunchFolderPathAsync(param::hstring const& path, winrt::Windows::System::FolderLauncherOptions const& options) const; + auto LaunchFolderPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path) const; + auto LaunchFolderPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path, winrt::Windows::System::FolderLauncherOptions const& options) const; }; template <> struct consume { @@ -2186,12 +2177,12 @@ namespace winrt::impl template struct consume_Windows_System_ILauncherUIOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InvocationPoint() const; - WINRT_IMPL_AUTO(void) InvocationPoint(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SelectionRect() const; - WINRT_IMPL_AUTO(void) SelectionRect(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::Placement) PreferredPlacement() const; - WINRT_IMPL_AUTO(void) PreferredPlacement(winrt::Windows::UI::Popups::Placement const& value) const; + [[nodiscard]] auto InvocationPoint() const; + auto InvocationPoint(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto SelectionRect() const; + auto SelectionRect(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto PreferredPlacement() const; + auto PreferredPlacement(winrt::Windows::UI::Popups::Placement const& value) const; }; template <> struct consume { @@ -2200,8 +2191,8 @@ namespace winrt::impl template struct consume_Windows_System_ILauncherViewOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ViewSizePreference) DesiredRemainingView() const; - WINRT_IMPL_AUTO(void) DesiredRemainingView(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const; + [[nodiscard]] auto DesiredRemainingView() const; + auto DesiredRemainingView(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const; }; template <> struct consume { @@ -2210,21 +2201,21 @@ namespace winrt::impl template struct consume_Windows_System_IMemoryManagerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) AppMemoryUsage() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) AppMemoryUsageLimit() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::AppMemoryUsageLevel) AppMemoryUsageLevel() const; - WINRT_IMPL_AUTO(winrt::event_token) AppMemoryUsageIncreased(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto AppMemoryUsage() const; + [[nodiscard]] auto AppMemoryUsageLimit() const; + [[nodiscard]] auto AppMemoryUsageLevel() const; + auto AppMemoryUsageIncreased(winrt::Windows::Foundation::EventHandler const& handler) const; using AppMemoryUsageIncreased_revoker = impl::event_revoker::remove_AppMemoryUsageIncreased>; - [[nodiscard]] AppMemoryUsageIncreased_revoker AppMemoryUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AppMemoryUsageIncreased(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AppMemoryUsageDecreased(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto AppMemoryUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto AppMemoryUsageIncreased(winrt::event_token const& token) const noexcept; + auto AppMemoryUsageDecreased(winrt::Windows::Foundation::EventHandler const& handler) const; using AppMemoryUsageDecreased_revoker = impl::event_revoker::remove_AppMemoryUsageDecreased>; - [[nodiscard]] AppMemoryUsageDecreased_revoker AppMemoryUsageDecreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AppMemoryUsageDecreased(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AppMemoryUsageLimitChanging(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto AppMemoryUsageDecreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto AppMemoryUsageDecreased(winrt::event_token const& token) const noexcept; + auto AppMemoryUsageLimitChanging(winrt::Windows::Foundation::EventHandler const& handler) const; using AppMemoryUsageLimitChanging_revoker = impl::event_revoker::remove_AppMemoryUsageLimitChanging>; - [[nodiscard]] AppMemoryUsageLimitChanging_revoker AppMemoryUsageLimitChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AppMemoryUsageLimitChanging(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AppMemoryUsageLimitChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto AppMemoryUsageLimitChanging(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2233,8 +2224,8 @@ namespace winrt::impl template struct consume_Windows_System_IMemoryManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::System::AppMemoryReport) GetAppMemoryReport() const; - WINRT_IMPL_AUTO(winrt::Windows::System::ProcessMemoryReport) GetProcessMemoryReport() const; + auto GetAppMemoryReport() const; + auto GetProcessMemoryReport() const; }; template <> struct consume { @@ -2243,7 +2234,7 @@ namespace winrt::impl template struct consume_Windows_System_IMemoryManagerStatics3 { - WINRT_IMPL_AUTO(bool) TrySetAppMemoryUsageLimit(uint64_t value) const; + auto TrySetAppMemoryUsageLimit(uint64_t value) const; }; template <> struct consume { @@ -2252,7 +2243,7 @@ namespace winrt::impl template struct consume_Windows_System_IMemoryManagerStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) ExpectedAppMemoryUsageLimit() const; + [[nodiscard]] auto ExpectedAppMemoryUsageLimit() const; }; template <> struct consume { @@ -2261,14 +2252,14 @@ namespace winrt::impl template struct consume_Windows_System_IProcessLauncherOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) StandardInput() const; - WINRT_IMPL_AUTO(void) StandardInput(winrt::Windows::Storage::Streams::IInputStream const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) StandardOutput() const; - WINRT_IMPL_AUTO(void) StandardOutput(winrt::Windows::Storage::Streams::IOutputStream const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) StandardError() const; - WINRT_IMPL_AUTO(void) StandardError(winrt::Windows::Storage::Streams::IOutputStream const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WorkingDirectory() const; - WINRT_IMPL_AUTO(void) WorkingDirectory(param::hstring const& value) const; + [[nodiscard]] auto StandardInput() const; + auto StandardInput(winrt::Windows::Storage::Streams::IInputStream const& value) const; + [[nodiscard]] auto StandardOutput() const; + auto StandardOutput(winrt::Windows::Storage::Streams::IOutputStream const& value) const; + [[nodiscard]] auto StandardError() const; + auto StandardError(winrt::Windows::Storage::Streams::IOutputStream const& value) const; + [[nodiscard]] auto WorkingDirectory() const; + auto WorkingDirectory(param::hstring const& value) const; }; template <> struct consume { @@ -2277,7 +2268,7 @@ namespace winrt::impl template struct consume_Windows_System_IProcessLauncherResult { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExitCode() const; + [[nodiscard]] auto ExitCode() const; }; template <> struct consume { @@ -2286,8 +2277,8 @@ namespace winrt::impl template struct consume_Windows_System_IProcessLauncherStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RunToCompletionAsync(param::hstring const& fileName, param::hstring const& args) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RunToCompletionAsync(param::hstring const& fileName, param::hstring const& args, winrt::Windows::System::ProcessLauncherOptions const& options) const; + auto RunToCompletionAsync(param::hstring const& fileName, param::hstring const& args) const; + auto RunToCompletionAsync(param::hstring const& fileName, param::hstring const& args, winrt::Windows::System::ProcessLauncherOptions const& options) const; }; template <> struct consume { @@ -2296,8 +2287,8 @@ namespace winrt::impl template struct consume_Windows_System_IProcessMemoryReport { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) PrivateWorkingSetUsage() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) TotalWorkingSetUsage() const; + [[nodiscard]] auto PrivateWorkingSetUsage() const; + [[nodiscard]] auto TotalWorkingSetUsage() const; }; template <> struct consume { @@ -2306,7 +2297,7 @@ namespace winrt::impl template struct consume_Windows_System_IProtocolForResultsOperation { - WINRT_IMPL_AUTO(void) ReportCompleted(winrt::Windows::Foundation::Collections::ValueSet const& data) const; + auto ReportCompleted(winrt::Windows::Foundation::Collections::ValueSet const& data) const; }; template <> struct consume { @@ -2315,9 +2306,9 @@ namespace winrt::impl template struct consume_Windows_System_IRemoteLauncherOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) FallbackUri() const; - WINRT_IMPL_AUTO(void) FallbackUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) PreferredAppIds() const; + [[nodiscard]] auto FallbackUri() const; + auto FallbackUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto PreferredAppIds() const; }; template <> struct consume { @@ -2326,9 +2317,9 @@ namespace winrt::impl template struct consume_Windows_System_IRemoteLauncherStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchUriAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest, winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchUriAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::RemoteLauncherOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LaunchUriAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::RemoteLauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const; + auto LaunchUriAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest, winrt::Windows::Foundation::Uri const& uri) const; + auto LaunchUriAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::RemoteLauncherOptions const& options) const; + auto LaunchUriAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::RemoteLauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const; }; template <> struct consume { @@ -2337,8 +2328,8 @@ namespace winrt::impl template struct consume_Windows_System_IShutdownManagerStatics { - WINRT_IMPL_AUTO(void) BeginShutdown(winrt::Windows::System::ShutdownKind const& shutdownKind, winrt::Windows::Foundation::TimeSpan const& timeout) const; - WINRT_IMPL_AUTO(void) CancelShutdown() const; + auto BeginShutdown(winrt::Windows::System::ShutdownKind const& shutdownKind, winrt::Windows::Foundation::TimeSpan const& timeout) const; + auto CancelShutdown() const; }; template <> struct consume { @@ -2347,9 +2338,9 @@ namespace winrt::impl template struct consume_Windows_System_IShutdownManagerStatics2 { - WINRT_IMPL_AUTO(bool) IsPowerStateSupported(winrt::Windows::System::PowerState const& powerState) const; - WINRT_IMPL_AUTO(void) EnterPowerState(winrt::Windows::System::PowerState const& powerState) const; - WINRT_IMPL_AUTO(void) EnterPowerState(winrt::Windows::System::PowerState const& powerState, winrt::Windows::Foundation::TimeSpan const& wakeUpAfter) const; + auto IsPowerStateSupported(winrt::Windows::System::PowerState const& powerState) const; + auto EnterPowerState(winrt::Windows::System::PowerState const& powerState) const; + auto EnterPowerState(winrt::Windows::System::PowerState const& powerState, winrt::Windows::Foundation::TimeSpan const& wakeUpAfter) const; }; template <> struct consume { @@ -2358,10 +2349,10 @@ namespace winrt::impl template struct consume_Windows_System_ITimeZoneSettingsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CurrentTimeZoneDisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedTimeZoneDisplayNames() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanChangeTimeZone() const; - WINRT_IMPL_AUTO(void) ChangeTimeZoneByDisplayName(param::hstring const& timeZoneDisplayName) const; + [[nodiscard]] auto CurrentTimeZoneDisplayName() const; + [[nodiscard]] auto SupportedTimeZoneDisplayNames() const; + [[nodiscard]] auto CanChangeTimeZone() const; + auto ChangeTimeZoneByDisplayName(param::hstring const& timeZoneDisplayName) const; }; template <> struct consume { @@ -2370,7 +2361,7 @@ namespace winrt::impl template struct consume_Windows_System_ITimeZoneSettingsStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AutoUpdateTimeZoneAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const; + auto AutoUpdateTimeZoneAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const; }; template <> struct consume { @@ -2379,12 +2370,12 @@ namespace winrt::impl template struct consume_Windows_System_IUser { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NonRoamableId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::UserAuthenticationStatus) AuthenticationStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::UserType) Type() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPropertyAsync(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPropertiesAsync(param::async_vector_view const& values) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPictureAsync(winrt::Windows::System::UserPictureSize const& desiredSize) const; + [[nodiscard]] auto NonRoamableId() const; + [[nodiscard]] auto AuthenticationStatus() const; + [[nodiscard]] auto Type() const; + auto GetPropertyAsync(param::hstring const& value) const; + auto GetPropertiesAsync(param::async_vector_view const& values) const; + auto GetPictureAsync(winrt::Windows::System::UserPictureSize const& desiredSize) const; }; template <> struct consume { @@ -2393,7 +2384,7 @@ namespace winrt::impl template struct consume_Windows_System_IUserAuthenticationStatusChangeDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -2402,10 +2393,10 @@ namespace winrt::impl template struct consume_Windows_System_IUserAuthenticationStatusChangingEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::System::UserAuthenticationStatusChangeDeferral) GetDeferral() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::UserAuthenticationStatus) NewStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::UserAuthenticationStatus) CurrentStatus() const; + auto GetDeferral() const; + [[nodiscard]] auto User() const; + [[nodiscard]] auto NewStatus() const; + [[nodiscard]] auto CurrentStatus() const; }; template <> struct consume { @@ -2414,7 +2405,7 @@ namespace winrt::impl template struct consume_Windows_System_IUserChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -2423,7 +2414,7 @@ namespace winrt::impl template struct consume_Windows_System_IUserChangedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ChangedPropertyKinds() const; + [[nodiscard]] auto ChangedPropertyKinds() const; }; template <> struct consume { @@ -2432,9 +2423,9 @@ namespace winrt::impl template struct consume_Windows_System_IUserDeviceAssociationChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) NewUser() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) OldUser() const; + [[nodiscard]] auto DeviceId() const; + [[nodiscard]] auto NewUser() const; + [[nodiscard]] auto OldUser() const; }; template <> struct consume { @@ -2443,11 +2434,11 @@ namespace winrt::impl template struct consume_Windows_System_IUserDeviceAssociationStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::User) FindUserFromDeviceId(param::hstring const& deviceId) const; - WINRT_IMPL_AUTO(winrt::event_token) UserDeviceAssociationChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + auto FindUserFromDeviceId(param::hstring const& deviceId) const; + auto UserDeviceAssociationChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using UserDeviceAssociationChanged_revoker = impl::event_revoker::remove_UserDeviceAssociationChanged>; - [[nodiscard]] UserDeviceAssociationChanged_revoker UserDeviceAssociationChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UserDeviceAssociationChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto UserDeviceAssociationChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto UserDeviceAssociationChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2456,11 +2447,11 @@ namespace winrt::impl template struct consume_Windows_System_IUserPicker { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowGuestAccounts() const; - WINRT_IMPL_AUTO(void) AllowGuestAccounts(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) SuggestedSelectedUser() const; - WINRT_IMPL_AUTO(void) SuggestedSelectedUser(winrt::Windows::System::User const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PickSingleUserAsync() const; + [[nodiscard]] auto AllowGuestAccounts() const; + auto AllowGuestAccounts(bool value) const; + [[nodiscard]] auto SuggestedSelectedUser() const; + auto SuggestedSelectedUser(winrt::Windows::System::User const& value) const; + auto PickSingleUserAsync() const; }; template <> struct consume { @@ -2469,7 +2460,7 @@ namespace winrt::impl template struct consume_Windows_System_IUserPickerStatics { - WINRT_IMPL_AUTO(bool) IsSupported() const; + auto IsSupported() const; }; template <> struct consume { @@ -2478,11 +2469,11 @@ namespace winrt::impl template struct consume_Windows_System_IUserStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::UserWatcher) CreateWatcher() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAsync(winrt::Windows::System::UserType const& type) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAsync(winrt::Windows::System::UserType const& type, winrt::Windows::System::UserAuthenticationStatus const& status) const; - WINRT_IMPL_AUTO(winrt::Windows::System::User) GetFromId(param::hstring const& nonRoamableId) const; + auto CreateWatcher() const; + auto FindAllAsync() const; + auto FindAllAsync(winrt::Windows::System::UserType const& type) const; + auto FindAllAsync(winrt::Windows::System::UserType const& type, winrt::Windows::System::UserAuthenticationStatus const& status) const; + auto GetFromId(param::hstring const& nonRoamableId) const; }; template <> struct consume { @@ -2491,7 +2482,7 @@ namespace winrt::impl template struct consume_Windows_System_IUserStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::System::User) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -2500,37 +2491,37 @@ namespace winrt::impl template struct consume_Windows_System_IUserWatcher { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::UserWatcherStatus) Status() const; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Status() const; + auto Start() const; + auto Stop() const; + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Added_revoker = impl::event_revoker::remove_Added>; - [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Added(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Removed_revoker = impl::event_revoker::remove_Removed>; - [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Removed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Updated_revoker = impl::event_revoker::remove_Updated>; - [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Updated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AuthenticationStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto AuthenticationStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AuthenticationStatusChanged_revoker = impl::event_revoker::remove_AuthenticationStatusChanged>; - [[nodiscard]] AuthenticationStatusChanged_revoker AuthenticationStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AuthenticationStatusChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AuthenticationStatusChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AuthenticationStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AuthenticationStatusChanged(winrt::event_token const& token) const noexcept; + auto AuthenticationStatusChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AuthenticationStatusChanging_revoker = impl::event_revoker::remove_AuthenticationStatusChanging>; - [[nodiscard]] AuthenticationStatusChanging_revoker AuthenticationStatusChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AuthenticationStatusChanging(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AuthenticationStatusChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AuthenticationStatusChanging(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Stopped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.1.h index a1d77398..841cdbd9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.2.h index 582ae9e0..38e745d9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_2_H @@ -224,15 +224,15 @@ WINRT_EXPORT namespace winrt::Windows::System [[nodiscard]] static auto AppMemoryUsageLevel(); static auto AppMemoryUsageIncreased(winrt::Windows::Foundation::EventHandler const& handler); using AppMemoryUsageIncreased_revoker = impl::factory_event_revoker::remove_AppMemoryUsageIncreased>; - [[nodiscard]] static AppMemoryUsageIncreased_revoker AppMemoryUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto AppMemoryUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto AppMemoryUsageIncreased(winrt::event_token const& token); static auto AppMemoryUsageDecreased(winrt::Windows::Foundation::EventHandler const& handler); using AppMemoryUsageDecreased_revoker = impl::factory_event_revoker::remove_AppMemoryUsageDecreased>; - [[nodiscard]] static AppMemoryUsageDecreased_revoker AppMemoryUsageDecreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto AppMemoryUsageDecreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto AppMemoryUsageDecreased(winrt::event_token const& token); static auto AppMemoryUsageLimitChanging(winrt::Windows::Foundation::EventHandler const& handler); using AppMemoryUsageLimitChanging_revoker = impl::factory_event_revoker::remove_AppMemoryUsageLimitChanging>; - [[nodiscard]] static AppMemoryUsageLimitChanging_revoker AppMemoryUsageLimitChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto AppMemoryUsageLimitChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto AppMemoryUsageLimitChanging(winrt::event_token const& token); static auto GetAppMemoryReport(); static auto GetProcessMemoryReport(); @@ -330,7 +330,7 @@ WINRT_EXPORT namespace winrt::Windows::System static auto FindUserFromDeviceId(param::hstring const& deviceId); static auto UserDeviceAssociationChanged(winrt::Windows::Foundation::EventHandler const& handler); using UserDeviceAssociationChanged_revoker = impl::factory_event_revoker::remove_UserDeviceAssociationChanged>; - [[nodiscard]] static UserDeviceAssociationChanged_revoker UserDeviceAssociationChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto UserDeviceAssociationChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto UserDeviceAssociationChanged(winrt::event_token const& token); }; struct __declspec(empty_bases) UserDeviceAssociationChangedEventArgs : winrt::Windows::System::IUserDeviceAssociationChangedEventArgs diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.0.h index 6c4adaa6..a2e1b889 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Diagnostics_0_H @@ -10,17 +10,13 @@ WINRT_EXPORT namespace winrt::Windows::Data::Json WINRT_EXPORT namespace winrt::Windows::Foundation { struct HResult; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; struct ValueSet; } WINRT_EXPORT namespace winrt::Windows::System { - struct AppDiagnosticInfo; enum class ProcessorArchitecture : int32_t; struct User; } @@ -365,8 +361,8 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_IDiagnosticActionResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Results() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto Results() const; }; template <> struct consume { @@ -375,7 +371,7 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_IDiagnosticInvoker { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RunDiagnosticActionAsync(winrt::Windows::Data::Json::JsonObject const& context) const; + auto RunDiagnosticActionAsync(winrt::Windows::Data::Json::JsonObject const& context) const; }; template <> struct consume { @@ -384,7 +380,7 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_IDiagnosticInvoker2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RunDiagnosticActionFromStringAsync(param::hstring const& context) const; + auto RunDiagnosticActionFromStringAsync(param::hstring const& context) const; }; template <> struct consume { @@ -393,9 +389,9 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_IDiagnosticInvokerStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::DiagnosticInvoker) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::DiagnosticInvoker) GetForUser(winrt::Windows::System::User const& user) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const; + auto GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; + [[nodiscard]] auto IsSupported() const; }; template <> struct consume { @@ -404,7 +400,7 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_IProcessCpuUsage { - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessCpuUsageReport) GetReport() const; + auto GetReport() const; }; template <> struct consume { @@ -413,8 +409,8 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_IProcessCpuUsageReport { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) KernelTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) UserTime() const; + [[nodiscard]] auto KernelTime() const; + [[nodiscard]] auto UserTime() const; }; template <> struct consume { @@ -423,13 +419,13 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_IProcessDiagnosticInfo { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ProcessId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExecutableFileName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo) Parent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) ProcessStartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiskUsage) DiskUsage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessMemoryUsage) MemoryUsage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessCpuUsage) CpuUsage() const; + [[nodiscard]] auto ProcessId() const; + [[nodiscard]] auto ExecutableFileName() const; + [[nodiscard]] auto Parent() const; + [[nodiscard]] auto ProcessStartTime() const; + [[nodiscard]] auto DiskUsage() const; + [[nodiscard]] auto MemoryUsage() const; + [[nodiscard]] auto CpuUsage() const; }; template <> struct consume { @@ -438,8 +434,8 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_IProcessDiagnosticInfo2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetAppDiagnosticInfos() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPackaged() const; + auto GetAppDiagnosticInfos() const; + [[nodiscard]] auto IsPackaged() const; }; template <> struct consume { @@ -448,8 +444,8 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetForProcesses() const; - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo) GetForCurrentProcess() const; + auto GetForProcesses() const; + auto GetForCurrentProcess() const; }; template <> struct consume { @@ -458,7 +454,7 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo) TryGetForProcessId(uint32_t processId) const; + auto TryGetForProcessId(uint32_t processId) const; }; template <> struct consume { @@ -467,7 +463,7 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_IProcessDiskUsage { - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiskUsageReport) GetReport() const; + auto GetReport() const; }; template <> struct consume { @@ -476,12 +472,12 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_IProcessDiskUsageReport { - [[nodiscard]] WINRT_IMPL_AUTO(int64_t) ReadOperationCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int64_t) WriteOperationCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int64_t) OtherOperationCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int64_t) BytesReadCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int64_t) BytesWrittenCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int64_t) OtherBytesCount() const; + [[nodiscard]] auto ReadOperationCount() const; + [[nodiscard]] auto WriteOperationCount() const; + [[nodiscard]] auto OtherOperationCount() const; + [[nodiscard]] auto BytesReadCount() const; + [[nodiscard]] auto BytesWrittenCount() const; + [[nodiscard]] auto OtherBytesCount() const; }; template <> struct consume { @@ -490,7 +486,7 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_IProcessMemoryUsage { - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessMemoryUsageReport) GetReport() const; + auto GetReport() const; }; template <> struct consume { @@ -499,18 +495,18 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_IProcessMemoryUsageReport { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) NonPagedPoolSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PageFaultCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) PageFileSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) PagedPoolSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) PeakNonPagedPoolSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) PeakPageFileSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) PeakPagedPoolSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) PeakVirtualMemorySizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) PeakWorkingSetSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) PrivatePageCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) VirtualMemorySizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) WorkingSetSizeInBytes() const; + [[nodiscard]] auto NonPagedPoolSizeInBytes() const; + [[nodiscard]] auto PageFaultCount() const; + [[nodiscard]] auto PageFileSizeInBytes() const; + [[nodiscard]] auto PagedPoolSizeInBytes() const; + [[nodiscard]] auto PeakNonPagedPoolSizeInBytes() const; + [[nodiscard]] auto PeakPageFileSizeInBytes() const; + [[nodiscard]] auto PeakPagedPoolSizeInBytes() const; + [[nodiscard]] auto PeakVirtualMemorySizeInBytes() const; + [[nodiscard]] auto PeakWorkingSetSizeInBytes() const; + [[nodiscard]] auto PrivatePageCount() const; + [[nodiscard]] auto VirtualMemorySizeInBytes() const; + [[nodiscard]] auto WorkingSetSizeInBytes() const; }; template <> struct consume { @@ -519,7 +515,7 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_ISystemCpuUsage { - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemCpuUsageReport) GetReport() const; + auto GetReport() const; }; template <> struct consume { @@ -528,9 +524,9 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_ISystemCpuUsageReport { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) KernelTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) UserTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) IdleTime() const; + [[nodiscard]] auto KernelTime() const; + [[nodiscard]] auto UserTime() const; + [[nodiscard]] auto IdleTime() const; }; template <> struct consume { @@ -539,8 +535,8 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_ISystemDiagnosticInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemMemoryUsage) MemoryUsage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemCpuUsage) CpuUsage() const; + [[nodiscard]] auto MemoryUsage() const; + [[nodiscard]] auto CpuUsage() const; }; template <> struct consume { @@ -549,7 +545,7 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemDiagnosticInfo) GetForCurrentSystem() const; + auto GetForCurrentSystem() const; }; template <> struct consume { @@ -558,8 +554,8 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2 { - WINRT_IMPL_AUTO(bool) IsArchitectureSupported(winrt::Windows::System::ProcessorArchitecture const& type) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::ProcessorArchitecture) PreferredArchitecture() const; + auto IsArchitectureSupported(winrt::Windows::System::ProcessorArchitecture const& type) const; + [[nodiscard]] auto PreferredArchitecture() const; }; template <> struct consume { @@ -568,7 +564,7 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_ISystemMemoryUsage { - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemMemoryUsageReport) GetReport() const; + auto GetReport() const; }; template <> struct consume { @@ -577,9 +573,9 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_ISystemMemoryUsageReport { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) TotalPhysicalSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) AvailableSizeInBytes() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) CommittedSizeInBytes() const; + [[nodiscard]] auto TotalPhysicalSizeInBytes() const; + [[nodiscard]] auto AvailableSizeInBytes() const; + [[nodiscard]] auto CommittedSizeInBytes() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.1.h index 86703201..50c5c3f5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Diagnostics_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.2.h index 91036747..b221c09f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Diagnostics_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.0.h index 0b639bfd..ebb7724c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Diagnostics_DevicePortal_0_H @@ -13,10 +13,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Networking::Sockets { enum class MessageWebSocketReceiveMode : int32_t; @@ -136,14 +132,14 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection { - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RequestReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + auto RequestReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RequestReceived_revoker = impl::event_revoker::remove_RequestReceived>; - [[nodiscard]] RequestReceived_revoker RequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RequestReceived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RequestReceived(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -152,7 +148,7 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionClosedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedReason) Reason() const; + [[nodiscard]] auto Reason() const; }; template <> struct consume { @@ -161,8 +157,8 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionRequestReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) RequestMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) ResponseMessage() const; + [[nodiscard]] auto RequestMessage() const; + [[nodiscard]] auto ResponseMessage() const; }; template <> struct consume { @@ -171,7 +167,7 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection) GetForAppServiceConnection(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& appServiceConnection) const; + auto GetForAppServiceConnection(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& appServiceConnection) const; }; template <> struct consume { @@ -180,11 +176,11 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection { - WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerMessageWebSocket) GetServerMessageWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerMessageWebSocket) GetServerMessageWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Networking::Sockets::SocketMessageType const& messageType, param::hstring const& protocol) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerMessageWebSocket) GetServerMessageWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Networking::Sockets::SocketMessageType const& messageType, param::hstring const& protocol, uint32_t outboundBufferSizeInBytes, uint32_t maxMessageSize, winrt::Windows::Networking::Sockets::MessageWebSocketReceiveMode const& receiveMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerStreamWebSocket) GetServerStreamWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request) const; - WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerStreamWebSocket) GetServerStreamWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request, param::hstring const& protocol, uint32_t outboundBufferSizeInBytes, bool noDelay) const; + auto GetServerMessageWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request) const; + auto GetServerMessageWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Networking::Sockets::SocketMessageType const& messageType, param::hstring const& protocol) const; + auto GetServerMessageWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Networking::Sockets::SocketMessageType const& messageType, param::hstring const& protocol, uint32_t outboundBufferSizeInBytes, uint32_t maxMessageSize, winrt::Windows::Networking::Sockets::MessageWebSocketReceiveMode const& receiveMode) const; + auto GetServerStreamWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request) const; + auto GetServerStreamWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request, param::hstring const& protocol, uint32_t outboundBufferSizeInBytes, bool noDelay) const; }; template <> struct consume { @@ -193,9 +189,9 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnectionRequestReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsWebSocketUpgradeRequest() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) WebSocketProtocolsRequested() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto IsWebSocketUpgradeRequest() const; + [[nodiscard]] auto WebSocketProtocolsRequested() const; + auto GetDeferral() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.1.h index b8d46016..ad53c7d3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Diagnostics_DevicePortal_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.2.h index 31bc401a..6ea1190d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Diagnostics_DevicePortal_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.0.h index 53c50a39..1d0ad950 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Diagnostics_Telemetry_0_H @@ -67,8 +67,8 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryClientStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationResult) Register(param::hstring const& id) const; - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationResult) Register(param::hstring const& id, winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings const& settings) const; + auto Register(param::hstring const& id) const; + auto Register(param::hstring const& id, winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings const& settings) const; }; template <> struct consume { @@ -77,7 +77,7 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -86,10 +86,10 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) StorageSize() const; - WINRT_IMPL_AUTO(void) StorageSize(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UploadQuotaSize() const; - WINRT_IMPL_AUTO(void) UploadQuotaSize(uint32_t value) const; + [[nodiscard]] auto StorageSize() const; + auto StorageSize(uint32_t value) const; + [[nodiscard]] auto UploadQuotaSize() const; + auto UploadQuotaSize(uint32_t value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.1.h index dd0c35d8..15e0b101 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Diagnostics_Telemetry_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.2.h index 1c1fcc84..8a25b6a8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Diagnostics_Telemetry_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.0.h index fc70e386..be2aeab4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Diagnostics_TraceReporting_0_H @@ -6,7 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::System::Diagnostics::TraceReporting { @@ -119,14 +118,14 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics { - WINRT_IMPL_AUTO(bool) IsScenarioEnabled(winrt::guid const& scenarioId) const; - WINRT_IMPL_AUTO(bool) TryEscalateScenario(winrt::guid const& scenarioId, winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticEscalationType const& escalationType, param::hstring const& outputDirectory, bool timestampOutputDirectory, bool forceEscalationUpload, param::map_view const& triggers) const; - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticActionState) DownloadLatestSettingsForNamespace(param::hstring const& partner, param::hstring const& feature, bool isScenarioNamespace, bool downloadOverCostedNetwork, bool downloadOverBattery) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetActiveScenarioList() const; - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticActionState) ForceUpload(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticEventBufferLatencies const& latency, bool uploadOverCostedNetwork, bool uploadOverBattery) const; - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotState) IsTraceRunning(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotType const& slotType, winrt::guid const& scenarioId, uint64_t traceProfileHash) const; - WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceRuntimeInfo) GetActiveTraceRuntime(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotType const& slotType) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetKnownTraceList(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotType const& slotType) const; + auto IsScenarioEnabled(winrt::guid const& scenarioId) const; + auto TryEscalateScenario(winrt::guid const& scenarioId, winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticEscalationType const& escalationType, param::hstring const& outputDirectory, bool timestampOutputDirectory, bool forceEscalationUpload, param::map_view const& triggers) const; + auto DownloadLatestSettingsForNamespace(param::hstring const& partner, param::hstring const& feature, bool isScenarioNamespace, bool downloadOverCostedNetwork, bool downloadOverBattery) const; + auto GetActiveScenarioList() const; + auto ForceUpload(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticEventBufferLatencies const& latency, bool uploadOverCostedNetwork, bool uploadOverBattery) const; + auto IsTraceRunning(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotType const& slotType, winrt::guid const& scenarioId, uint64_t traceProfileHash) const; + auto GetActiveTraceRuntime(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotType const& slotType) const; + auto GetKnownTraceList(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotType const& slotType) const; }; template <> struct consume { @@ -135,12 +134,12 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ScenarioId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) ProfileHash() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsExclusive() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAutoLogger() const; - [[nodiscard]] WINRT_IMPL_AUTO(int64_t) MaxTraceDurationFileTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTracePriority) Priority() const; + [[nodiscard]] auto ScenarioId() const; + [[nodiscard]] auto ProfileHash() const; + [[nodiscard]] auto IsExclusive() const; + [[nodiscard]] auto IsAutoLogger() const; + [[nodiscard]] auto MaxTraceDurationFileTime() const; + [[nodiscard]] auto Priority() const; }; template <> struct consume { @@ -149,8 +148,8 @@ namespace winrt::impl template struct consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceRuntimeInfo { - [[nodiscard]] WINRT_IMPL_AUTO(int64_t) RuntimeFileTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(int64_t) EtwRuntimeFileTime() const; + [[nodiscard]] auto RuntimeFileTime() const; + [[nodiscard]] auto EtwRuntimeFileTime() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.1.h index f3cf014c..e96955dd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Diagnostics_TraceReporting_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.2.h index b2807256..33323b65 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Diagnostics_TraceReporting_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.0.h index dc0724b7..18f4523b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Display_0_H @@ -27,8 +27,8 @@ namespace winrt::impl template struct consume_Windows_System_Display_IDisplayRequest { - WINRT_IMPL_AUTO(void) RequestActive() const; - WINRT_IMPL_AUTO(void) RequestRelease() const; + auto RequestActive() const; + auto RequestRelease() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.1.h index 4deacdd3..ab1fd953 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Display_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.2.h index 56f6f90f..a39dd89a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Display_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.0.h index 9be1a62f..a9dea5ce 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Implementation_FileExplorer_0_H @@ -6,13 +6,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Web::Http { struct HttpRequestMessage; - struct HttpResponseMessage; } WINRT_EXPORT namespace winrt::Windows::System::Implementation::FileExplorer { @@ -83,7 +81,7 @@ namespace winrt::impl template struct consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Json() const; + [[nodiscard]] auto Json() const; }; template <> struct consume { @@ -92,7 +90,7 @@ namespace winrt::impl template struct consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventReceivedEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs) CreateInstance(param::hstring const& json) const; + auto CreateInstance(param::hstring const& json) const; }; template <> struct consume { @@ -101,10 +99,10 @@ namespace winrt::impl template struct consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource { - WINRT_IMPL_AUTO(winrt::event_token) EventReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EventReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EventReceived_revoker = impl::event_revoker::remove_EventReceived>; - [[nodiscard]] EventReceived_revoker EventReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EventReceived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto EventReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EventReceived(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -113,8 +111,8 @@ namespace winrt::impl template struct consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHandlerFactory { - WINRT_IMPL_AUTO(winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderHttpRequestProvider) GetHttpRequestProvider(param::hstring const& syncRootId) const; - WINRT_IMPL_AUTO(winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource) GetEventSource(param::hstring const& syncRootId, param::hstring const& eventName) const; + auto GetHttpRequestProvider(param::hstring const& syncRootId) const; + auto GetEventSource(param::hstring const& syncRootId, param::hstring const& eventName) const; }; template <> struct consume { @@ -123,7 +121,7 @@ namespace winrt::impl template struct consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHttpRequestProvider { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const; + auto SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.1.h index 6e5a0eb5..a28bf5a9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Implementation_FileExplorer_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.2.h index 0db98d25..9abdcd9b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Implementation_FileExplorer_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.0.h index adfa9684..5b978a2a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.0.h @@ -1,16 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Inventory_0_H #define WINRT_Windows_System_Inventory_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::System::Inventory { struct IInstalledDesktopApp; @@ -48,10 +40,10 @@ namespace winrt::impl template struct consume_Windows_System_Inventory_IInstalledDesktopApp { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Publisher() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayVersion() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Publisher() const; + [[nodiscard]] auto DisplayVersion() const; }; template <> struct consume { @@ -60,7 +52,7 @@ namespace winrt::impl template struct consume_Windows_System_Inventory_IInstalledDesktopAppStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetInventoryAsync() const; + auto GetInventoryAsync() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.1.h index ae65cd3b..6dbab616 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Inventory_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.2.h index d55b37e8..386d3c2e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Inventory_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.0.h index 96787778..d70b1407 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Power_0_H @@ -117,22 +117,22 @@ namespace winrt::impl template struct consume_Windows_System_Power_IBackgroundEnergyManagerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) LowUsageLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) NearMaxAcceptableUsageLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxAcceptableUsageLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExcessiveUsageLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) NearTerminationUsageLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TerminationUsageLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) RecentEnergyUsage() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) RecentEnergyUsageLevel() const; - WINRT_IMPL_AUTO(winrt::event_token) RecentEnergyUsageIncreased(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto LowUsageLevel() const; + [[nodiscard]] auto NearMaxAcceptableUsageLevel() const; + [[nodiscard]] auto MaxAcceptableUsageLevel() const; + [[nodiscard]] auto ExcessiveUsageLevel() const; + [[nodiscard]] auto NearTerminationUsageLevel() const; + [[nodiscard]] auto TerminationUsageLevel() const; + [[nodiscard]] auto RecentEnergyUsage() const; + [[nodiscard]] auto RecentEnergyUsageLevel() const; + auto RecentEnergyUsageIncreased(winrt::Windows::Foundation::EventHandler const& handler) const; using RecentEnergyUsageIncreased_revoker = impl::event_revoker::remove_RecentEnergyUsageIncreased>; - [[nodiscard]] RecentEnergyUsageIncreased_revoker RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RecentEnergyUsageIncreased(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto RecentEnergyUsageIncreased(winrt::event_token const& token) const noexcept; + auto RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler const& handler) const; using RecentEnergyUsageReturnedToLow_revoker = impl::event_revoker::remove_RecentEnergyUsageReturnedToLow>; - [[nodiscard]] RecentEnergyUsageReturnedToLow_revoker RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RecentEnergyUsageReturnedToLow(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto RecentEnergyUsageReturnedToLow(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -141,20 +141,20 @@ namespace winrt::impl template struct consume_Windows_System_Power_IForegroundEnergyManagerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) LowUsageLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) NearMaxAcceptableUsageLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxAcceptableUsageLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExcessiveUsageLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) RecentEnergyUsage() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) RecentEnergyUsageLevel() const; - WINRT_IMPL_AUTO(winrt::event_token) RecentEnergyUsageIncreased(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto LowUsageLevel() const; + [[nodiscard]] auto NearMaxAcceptableUsageLevel() const; + [[nodiscard]] auto MaxAcceptableUsageLevel() const; + [[nodiscard]] auto ExcessiveUsageLevel() const; + [[nodiscard]] auto RecentEnergyUsage() const; + [[nodiscard]] auto RecentEnergyUsageLevel() const; + auto RecentEnergyUsageIncreased(winrt::Windows::Foundation::EventHandler const& handler) const; using RecentEnergyUsageIncreased_revoker = impl::event_revoker::remove_RecentEnergyUsageIncreased>; - [[nodiscard]] RecentEnergyUsageIncreased_revoker RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RecentEnergyUsageIncreased(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto RecentEnergyUsageIncreased(winrt::event_token const& token) const noexcept; + auto RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler const& handler) const; using RecentEnergyUsageReturnedToLow_revoker = impl::event_revoker::remove_RecentEnergyUsageReturnedToLow>; - [[nodiscard]] RecentEnergyUsageReturnedToLow_revoker RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RecentEnergyUsageReturnedToLow(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto RecentEnergyUsageReturnedToLow(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -163,31 +163,31 @@ namespace winrt::impl template struct consume_Windows_System_Power_IPowerManagerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Power::EnergySaverStatus) EnergySaverStatus() const; - WINRT_IMPL_AUTO(winrt::event_token) EnergySaverStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto EnergySaverStatus() const; + auto EnergySaverStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using EnergySaverStatusChanged_revoker = impl::event_revoker::remove_EnergySaverStatusChanged>; - [[nodiscard]] EnergySaverStatusChanged_revoker EnergySaverStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnergySaverStatusChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Power::BatteryStatus) BatteryStatus() const; - WINRT_IMPL_AUTO(winrt::event_token) BatteryStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto EnergySaverStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto EnergySaverStatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto BatteryStatus() const; + auto BatteryStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using BatteryStatusChanged_revoker = impl::event_revoker::remove_BatteryStatusChanged>; - [[nodiscard]] BatteryStatusChanged_revoker BatteryStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BatteryStatusChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Power::PowerSupplyStatus) PowerSupplyStatus() const; - WINRT_IMPL_AUTO(winrt::event_token) PowerSupplyStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto BatteryStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto BatteryStatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PowerSupplyStatus() const; + auto PowerSupplyStatusChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using PowerSupplyStatusChanged_revoker = impl::event_revoker::remove_PowerSupplyStatusChanged>; - [[nodiscard]] PowerSupplyStatusChanged_revoker PowerSupplyStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PowerSupplyStatusChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RemainingChargePercent() const; - WINRT_IMPL_AUTO(winrt::event_token) RemainingChargePercentChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto PowerSupplyStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto PowerSupplyStatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RemainingChargePercent() const; + auto RemainingChargePercentChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using RemainingChargePercentChanged_revoker = impl::event_revoker::remove_RemainingChargePercentChanged>; - [[nodiscard]] RemainingChargePercentChanged_revoker RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RemainingChargePercentChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RemainingDischargeTime() const; - WINRT_IMPL_AUTO(winrt::event_token) RemainingDischargeTimeChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto RemainingChargePercentChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RemainingDischargeTime() const; + auto RemainingDischargeTimeChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using RemainingDischargeTimeChanged_revoker = impl::event_revoker::remove_RemainingDischargeTimeChanged>; - [[nodiscard]] RemainingDischargeTimeChanged_revoker RemainingDischargeTimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RemainingDischargeTimeChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RemainingDischargeTimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto RemainingDischargeTimeChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.1.h index 2c048cc5..86f45003 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Power_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.2.h index 465fdae9..cb1ca811 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Power_2_H @@ -20,11 +20,11 @@ WINRT_EXPORT namespace winrt::Windows::System::Power [[nodiscard]] static auto RecentEnergyUsageLevel(); static auto RecentEnergyUsageIncreased(winrt::Windows::Foundation::EventHandler const& handler); using RecentEnergyUsageIncreased_revoker = impl::factory_event_revoker::remove_RecentEnergyUsageIncreased>; - [[nodiscard]] static RecentEnergyUsageIncreased_revoker RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto RecentEnergyUsageIncreased(winrt::event_token const& token); static auto RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler const& handler); using RecentEnergyUsageReturnedToLow_revoker = impl::factory_event_revoker::remove_RecentEnergyUsageReturnedToLow>; - [[nodiscard]] static RecentEnergyUsageReturnedToLow_revoker RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto RecentEnergyUsageReturnedToLow(winrt::event_token const& token); }; struct ForegroundEnergyManager @@ -38,11 +38,11 @@ WINRT_EXPORT namespace winrt::Windows::System::Power [[nodiscard]] static auto RecentEnergyUsageLevel(); static auto RecentEnergyUsageIncreased(winrt::Windows::Foundation::EventHandler const& handler); using RecentEnergyUsageIncreased_revoker = impl::factory_event_revoker::remove_RecentEnergyUsageIncreased>; - [[nodiscard]] static RecentEnergyUsageIncreased_revoker RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto RecentEnergyUsageIncreased(winrt::event_token const& token); static auto RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler const& handler); using RecentEnergyUsageReturnedToLow_revoker = impl::factory_event_revoker::remove_RecentEnergyUsageReturnedToLow>; - [[nodiscard]] static RecentEnergyUsageReturnedToLow_revoker RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto RecentEnergyUsageReturnedToLow(winrt::event_token const& token); }; struct PowerManager @@ -51,27 +51,27 @@ WINRT_EXPORT namespace winrt::Windows::System::Power [[nodiscard]] static auto EnergySaverStatus(); static auto EnergySaverStatusChanged(winrt::Windows::Foundation::EventHandler const& handler); using EnergySaverStatusChanged_revoker = impl::factory_event_revoker::remove_EnergySaverStatusChanged>; - [[nodiscard]] static EnergySaverStatusChanged_revoker EnergySaverStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto EnergySaverStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto EnergySaverStatusChanged(winrt::event_token const& token); [[nodiscard]] static auto BatteryStatus(); static auto BatteryStatusChanged(winrt::Windows::Foundation::EventHandler const& handler); using BatteryStatusChanged_revoker = impl::factory_event_revoker::remove_BatteryStatusChanged>; - [[nodiscard]] static BatteryStatusChanged_revoker BatteryStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto BatteryStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto BatteryStatusChanged(winrt::event_token const& token); [[nodiscard]] static auto PowerSupplyStatus(); static auto PowerSupplyStatusChanged(winrt::Windows::Foundation::EventHandler const& handler); using PowerSupplyStatusChanged_revoker = impl::factory_event_revoker::remove_PowerSupplyStatusChanged>; - [[nodiscard]] static PowerSupplyStatusChanged_revoker PowerSupplyStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto PowerSupplyStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto PowerSupplyStatusChanged(winrt::event_token const& token); [[nodiscard]] static auto RemainingChargePercent(); static auto RemainingChargePercentChanged(winrt::Windows::Foundation::EventHandler const& handler); using RemainingChargePercentChanged_revoker = impl::factory_event_revoker::remove_RemainingChargePercentChanged>; - [[nodiscard]] static RemainingChargePercentChanged_revoker RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto RemainingChargePercentChanged(winrt::event_token const& token); [[nodiscard]] static auto RemainingDischargeTime(); static auto RemainingDischargeTimeChanged(winrt::Windows::Foundation::EventHandler const& handler); using RemainingDischargeTimeChanged_revoker = impl::factory_event_revoker::remove_RemainingDischargeTimeChanged>; - [[nodiscard]] static RemainingDischargeTimeChanged_revoker RemainingDischargeTimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto RemainingDischargeTimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto RemainingDischargeTimeChanged(winrt::event_token const& token); }; } diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.0.h index 605c0b6b..64ae491e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Power_Diagnostics_0_H @@ -43,9 +43,9 @@ namespace winrt::impl template struct consume_Windows_System_Power_Diagnostics_IBackgroundEnergyDiagnosticsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(double) DeviceSpecificConversionFactor() const; - WINRT_IMPL_AUTO(uint64_t) ComputeTotalEnergyUsage() const; - WINRT_IMPL_AUTO(void) ResetTotalEnergyUsage() const; + [[nodiscard]] auto DeviceSpecificConversionFactor() const; + auto ComputeTotalEnergyUsage() const; + auto ResetTotalEnergyUsage() const; }; template <> struct consume { @@ -54,9 +54,9 @@ namespace winrt::impl template struct consume_Windows_System_Power_Diagnostics_IForegroundEnergyDiagnosticsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(double) DeviceSpecificConversionFactor() const; - WINRT_IMPL_AUTO(uint64_t) ComputeTotalEnergyUsage() const; - WINRT_IMPL_AUTO(void) ResetTotalEnergyUsage() const; + [[nodiscard]] auto DeviceSpecificConversionFactor() const; + auto ComputeTotalEnergyUsage() const; + auto ResetTotalEnergyUsage() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.1.h index e5202868..39ef4aad 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Power_Diagnostics_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.2.h index d62b43c9..8c4915a5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Power_Diagnostics_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.0.h index 80351ab2..863415e7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Preview_0_H @@ -10,7 +10,6 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Sensors WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::System::Preview @@ -95,11 +94,11 @@ namespace winrt::impl template struct consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCurrentPostureAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) PostureChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentPostureAsync() const; + auto PostureChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PostureChanged_revoker = impl::event_revoker::remove_PostureChanged>; - [[nodiscard]] PostureChanged_revoker PostureChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PostureChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PostureChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PostureChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -108,12 +107,12 @@ namespace winrt::impl template struct consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Preview::HingeState) HingeState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientation) Panel1Orientation() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Panel1Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientation) Panel2Orientation() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Panel2Id() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto HingeState() const; + [[nodiscard]] auto Panel1Orientation() const; + [[nodiscard]] auto Panel1Id() const; + [[nodiscard]] auto Panel2Orientation() const; + [[nodiscard]] auto Panel2Id() const; }; template <> struct consume { @@ -122,7 +121,7 @@ namespace winrt::impl template struct consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReadingChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReading) Reading() const; + [[nodiscard]] auto Reading() const; }; template <> struct consume { @@ -131,7 +130,7 @@ namespace winrt::impl template struct consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDefaultAsync() const; + auto GetDefaultAsync() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.1.h index 837c443f..e43a5f39 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Preview_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.2.h index 505267c1..eff527e6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Preview_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.0.h index 33a825a5..00ab592a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Profile_0_H @@ -7,13 +7,10 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { @@ -350,8 +347,8 @@ namespace winrt::impl template struct consume_Windows_System_Profile_IAnalyticsInfoStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Profile::AnalyticsVersionInfo) VersionInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceForm() const; + [[nodiscard]] auto VersionInfo() const; + [[nodiscard]] auto DeviceForm() const; }; template <> struct consume { @@ -360,7 +357,7 @@ namespace winrt::impl template struct consume_Windows_System_Profile_IAnalyticsInfoStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetSystemPropertiesAsync(param::async_iterable const& attributeNames) const; + auto GetSystemPropertiesAsync(param::async_iterable const& attributeNames) const; }; template <> struct consume { @@ -369,8 +366,8 @@ namespace winrt::impl template struct consume_Windows_System_Profile_IAnalyticsVersionInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceFamily() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceFamilyVersion() const; + [[nodiscard]] auto DeviceFamily() const; + [[nodiscard]] auto DeviceFamilyVersion() const; }; template <> struct consume { @@ -379,7 +376,7 @@ namespace winrt::impl template struct consume_Windows_System_Profile_IAnalyticsVersionInfo2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProductName() const; + [[nodiscard]] auto ProductName() const; }; template <> struct consume { @@ -388,7 +385,7 @@ namespace winrt::impl template struct consume_Windows_System_Profile_IAppApplicabilityStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetUnsupportedAppRequirements(param::iterable const& capabilities) const; + auto GetUnsupportedAppRequirements(param::iterable const& capabilities) const; }; template <> struct consume { @@ -397,7 +394,7 @@ namespace winrt::impl template struct consume_Windows_System_Profile_IEducationSettingsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEducationEnvironment() const; + [[nodiscard]] auto IsEducationEnvironment() const; }; template <> struct consume { @@ -406,7 +403,7 @@ namespace winrt::impl template struct consume_Windows_System_Profile_IHardwareIdentificationStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::Profile::HardwareToken) GetPackageSpecificToken(winrt::Windows::Storage::Streams::IBuffer const& nonce) const; + auto GetPackageSpecificToken(winrt::Windows::Storage::Streams::IBuffer const& nonce) const; }; template <> struct consume { @@ -415,9 +412,9 @@ namespace winrt::impl template struct consume_Windows_System_Profile_IHardwareToken { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Signature() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Certificate() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Signature() const; + [[nodiscard]] auto Certificate() const; }; template <> struct consume { @@ -426,28 +423,28 @@ namespace winrt::impl template struct consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RetailAccessCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ManufacturerName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ModelName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayModelName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Price() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IsFeatured() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FormFactor() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ScreenSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Weight() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BatteryLifeDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProcessorDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Memory() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StorageDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GraphicsDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FrontCameraDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RearCameraDescription() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HasNfc() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HasSdSlot() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HasOpticalDrive() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IsOfficeInstalled() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WindowsEdition() const; + [[nodiscard]] auto RetailAccessCode() const; + [[nodiscard]] auto ManufacturerName() const; + [[nodiscard]] auto ModelName() const; + [[nodiscard]] auto DisplayModelName() const; + [[nodiscard]] auto Price() const; + [[nodiscard]] auto IsFeatured() const; + [[nodiscard]] auto FormFactor() const; + [[nodiscard]] auto ScreenSize() const; + [[nodiscard]] auto Weight() const; + [[nodiscard]] auto DisplayDescription() const; + [[nodiscard]] auto BatteryLifeDescription() const; + [[nodiscard]] auto ProcessorDescription() const; + [[nodiscard]] auto Memory() const; + [[nodiscard]] auto StorageDescription() const; + [[nodiscard]] auto GraphicsDescription() const; + [[nodiscard]] auto FrontCameraDescription() const; + [[nodiscard]] auto RearCameraDescription() const; + [[nodiscard]] auto HasNfc() const; + [[nodiscard]] auto HasSdSlot() const; + [[nodiscard]] auto HasOpticalDrive() const; + [[nodiscard]] auto IsOfficeInstalled() const; + [[nodiscard]] auto WindowsEdition() const; }; template <> struct consume { @@ -456,12 +453,12 @@ namespace winrt::impl template struct consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Profile::PlatformDataCollectionLevel) CollectionLevel() const; - WINRT_IMPL_AUTO(winrt::event_token) CollectionLevelChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto CollectionLevel() const; + auto CollectionLevelChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using CollectionLevelChanged_revoker = impl::event_revoker::remove_CollectionLevelChanged>; - [[nodiscard]] CollectionLevelChanged_revoker CollectionLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CollectionLevelChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(bool) CanCollectDiagnostics(winrt::Windows::System::Profile::PlatformDataCollectionLevel const& level) const; + [[nodiscard]] auto CollectionLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto CollectionLevelChanged(winrt::event_token const& token) const noexcept; + auto CanCollectDiagnostics(winrt::Windows::System::Profile::PlatformDataCollectionLevel const& level) const; }; template <> struct consume { @@ -470,8 +467,8 @@ namespace winrt::impl template struct consume_Windows_System_Profile_IRetailInfoStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDemoModeEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Properties() const; + [[nodiscard]] auto IsDemoModeEnabled() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -480,7 +477,7 @@ namespace winrt::impl template struct consume_Windows_System_Profile_ISharedModeSettingsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; + [[nodiscard]] auto IsEnabled() const; }; template <> struct consume { @@ -489,7 +486,7 @@ namespace winrt::impl template struct consume_Windows_System_Profile_ISharedModeSettingsStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldAvoidLocalStorage() const; + [[nodiscard]] auto ShouldAvoidLocalStorage() const; }; template <> struct consume { @@ -498,8 +495,8 @@ namespace winrt::impl template struct consume_Windows_System_Profile_ISystemIdentificationInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemIdentificationSource) Source() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Source() const; }; template <> struct consume { @@ -508,8 +505,8 @@ namespace winrt::impl template struct consume_Windows_System_Profile_ISystemIdentificationStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemIdentificationInfo) GetSystemIdForPublisher() const; - WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemIdentificationInfo) GetSystemIdForUser(winrt::Windows::System::User const& user) const; + auto GetSystemIdForPublisher() const; + auto GetSystemIdForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -518,11 +515,11 @@ namespace winrt::impl template struct consume_Windows_System_Profile_ISystemSetupInfoStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemOutOfBoxExperienceState) OutOfBoxExperienceState() const; - WINRT_IMPL_AUTO(winrt::event_token) OutOfBoxExperienceStateChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto OutOfBoxExperienceState() const; + auto OutOfBoxExperienceStateChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using OutOfBoxExperienceStateChanged_revoker = impl::event_revoker::remove_OutOfBoxExperienceStateChanged>; - [[nodiscard]] OutOfBoxExperienceStateChanged_revoker OutOfBoxExperienceStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) OutOfBoxExperienceStateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto OutOfBoxExperienceStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto OutOfBoxExperienceStateChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -531,8 +528,8 @@ namespace winrt::impl template struct consume_Windows_System_Profile_IUnsupportedAppRequirement { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Requirement() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Profile::UnsupportedAppRequirementReasons) Reasons() const; + [[nodiscard]] auto Requirement() const; + [[nodiscard]] auto Reasons() const; }; template <> struct consume { @@ -541,14 +538,14 @@ namespace winrt::impl template struct consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabledForTrial() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanDisable() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDisableSupported() const; - WINRT_IMPL_AUTO(winrt::event_token) PolicyChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto IsEnabled() const; + [[nodiscard]] auto IsEnabledForTrial() const; + [[nodiscard]] auto CanDisable() const; + [[nodiscard]] auto IsDisableSupported() const; + auto PolicyChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using PolicyChanged_revoker = impl::event_revoker::remove_PolicyChanged>; - [[nodiscard]] PolicyChanged_revoker PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PolicyChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto PolicyChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.1.h index 9434d2ee..1c534fdb 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Profile_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.2.h index 1fa1dadc..89da9505 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Profile_2_H @@ -75,7 +75,7 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile [[nodiscard]] static auto CollectionLevel(); static auto CollectionLevelChanged(winrt::Windows::Foundation::EventHandler const& handler); using CollectionLevelChanged_revoker = impl::factory_event_revoker::remove_CollectionLevelChanged>; - [[nodiscard]] static CollectionLevelChanged_revoker CollectionLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto CollectionLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto CollectionLevelChanged(winrt::event_token const& token); static auto CanCollectDiagnostics(winrt::Windows::System::Profile::PlatformDataCollectionLevel const& level); }; @@ -108,7 +108,7 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile [[nodiscard]] static auto OutOfBoxExperienceState(); static auto OutOfBoxExperienceStateChanged(winrt::Windows::Foundation::EventHandler const& handler); using OutOfBoxExperienceStateChanged_revoker = impl::factory_event_revoker::remove_OutOfBoxExperienceStateChanged>; - [[nodiscard]] static OutOfBoxExperienceStateChanged_revoker OutOfBoxExperienceStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto OutOfBoxExperienceStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto OutOfBoxExperienceStateChanged(winrt::event_token const& token); }; struct __declspec(empty_bases) UnsupportedAppRequirement : winrt::Windows::System::Profile::IUnsupportedAppRequirement @@ -125,7 +125,7 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile [[nodiscard]] static auto IsDisableSupported(); static auto PolicyChanged(winrt::Windows::Foundation::EventHandler const& handler); using PolicyChanged_revoker = impl::factory_event_revoker::remove_PolicyChanged>; - [[nodiscard]] static PolicyChanged_revoker PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto PolicyChanged(winrt::event_token const& token); }; } diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.0.h index 145020fc..d7be6509 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Profile_SystemManufacturers_0_H @@ -93,9 +93,9 @@ namespace winrt::impl template struct consume_Windows_System_Profile_SystemManufacturers_IOemSupportInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) SupportLink() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) SupportAppLink() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SupportProvider() const; + [[nodiscard]] auto SupportLink() const; + [[nodiscard]] auto SupportAppLink() const; + [[nodiscard]] auto SupportProvider() const; }; template <> struct consume { @@ -104,7 +104,7 @@ namespace winrt::impl template struct consume_Windows_System_Profile_SystemManufacturers_ISmbiosInformationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SerialNumber() const; + [[nodiscard]] auto SerialNumber() const; }; template <> struct consume { @@ -113,13 +113,13 @@ namespace winrt::impl template struct consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OperatingSystem() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FriendlyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SystemManufacturer() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SystemProductName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SystemSku() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SystemHardwareVersion() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SystemFirmwareVersion() const; + [[nodiscard]] auto OperatingSystem() const; + [[nodiscard]] auto FriendlyName() const; + [[nodiscard]] auto SystemManufacturer() const; + [[nodiscard]] auto SystemProductName() const; + [[nodiscard]] auto SystemSku() const; + [[nodiscard]] auto SystemHardwareVersion() const; + [[nodiscard]] auto SystemFirmwareVersion() const; }; template <> struct consume { @@ -128,8 +128,8 @@ namespace winrt::impl template struct consume_Windows_System_Profile_SystemManufacturers_ISystemSupportInfoStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LocalSystemEdition() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemManufacturers::OemSupportInfo) OemSupportInfo() const; + [[nodiscard]] auto LocalSystemEdition() const; + [[nodiscard]] auto OemSupportInfo() const; }; template <> struct consume { @@ -138,7 +138,7 @@ namespace winrt::impl template struct consume_Windows_System_Profile_SystemManufacturers_ISystemSupportInfoStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemManufacturers::SystemSupportDeviceInfo) LocalDeviceInfo() const; + [[nodiscard]] auto LocalDeviceInfo() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.1.h index 929d1831..84f22cfd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Profile_SystemManufacturers_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.2.h index 122511b6..87869bf9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Profile_SystemManufacturers_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.0.h index 7e81dbcd..3e2aaf1e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_RemoteDesktop_0_H @@ -25,7 +25,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteDesktop_IInteractiveSessionStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRemote() const; + [[nodiscard]] auto IsRemote() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.1.h index c598fc0c..9532e09a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_RemoteDesktop_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.2.h index 8aab60b1..a751b2d6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_RemoteDesktop_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.0.h index dfc0fc63..e94baa3a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_RemoteSystems_0_H @@ -11,15 +11,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVectorView; struct ValueSet; } WINRT_EXPORT namespace winrt::Windows::Networking @@ -1141,10 +1137,10 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppService() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LaunchUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteSession() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SpatialEntity() const; + [[nodiscard]] auto AppService() const; + [[nodiscard]] auto LaunchUri() const; + [[nodiscard]] auto RemoteSession() const; + [[nodiscard]] auto SpatialEntity() const; }; template <> struct consume { @@ -1153,11 +1149,11 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystem { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAvailableByProximity() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto IsAvailableByProximity() const; }; template <> struct consume { @@ -1166,8 +1162,8 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystem2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAvailableBySpatialProximity() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetCapabilitySupportedAsync(param::hstring const& capabilityName) const; + [[nodiscard]] auto IsAvailableBySpatialProximity() const; + auto GetCapabilitySupportedAsync(param::hstring const& capabilityName) const; }; template <> struct consume { @@ -1176,8 +1172,8 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystem3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ManufacturerDisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ModelDisplayName() const; + [[nodiscard]] auto ManufacturerDisplayName() const; + [[nodiscard]] auto ModelDisplayName() const; }; template <> struct consume { @@ -1186,7 +1182,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystem4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemPlatform) Platform() const; + [[nodiscard]] auto Platform() const; }; template <> struct consume { @@ -1195,7 +1191,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystem5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Apps() const; + [[nodiscard]] auto Apps() const; }; template <> struct consume { @@ -1204,7 +1200,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystem6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -1213,7 +1209,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemAddedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) RemoteSystem() const; + [[nodiscard]] auto RemoteSystem() const; }; template <> struct consume { @@ -1222,11 +1218,11 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemApp { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAvailableByProximity() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAvailableBySpatialProximity() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) Attributes() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto IsAvailableByProximity() const; + [[nodiscard]] auto IsAvailableBySpatialProximity() const; + [[nodiscard]] auto Attributes() const; }; template <> struct consume { @@ -1235,8 +1231,8 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemApp2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ConnectionToken() const; + [[nodiscard]] auto User() const; + [[nodiscard]] auto ConnectionToken() const; }; template <> struct consume { @@ -1245,9 +1241,9 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistration { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Attributes() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SaveAsync() const; + [[nodiscard]] auto User() const; + [[nodiscard]] auto Attributes() const; + auto SaveAsync() const; }; template <> struct consume { @@ -1256,8 +1252,8 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistrationStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemAppRegistration) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemAppRegistration) GetForUser(winrt::Windows::System::User const& user) const; + auto GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -1266,7 +1262,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemAuthorizationKindFilter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind) RemoteSystemAuthorizationKind() const; + [[nodiscard]] auto RemoteSystemAuthorizationKind() const; }; template <> struct consume { @@ -1275,7 +1271,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemAuthorizationKindFilterFactory { - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKindFilter) Create(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind const& remoteSystemAuthorizationKind) const; + auto Create(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind const& remoteSystemAuthorizationKind) const; }; template <> struct consume { @@ -1284,7 +1280,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemConnectionInfo { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsProximal() const; + [[nodiscard]] auto IsProximal() const; }; template <> struct consume { @@ -1293,7 +1289,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemConnectionInfoStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionInfo) TryCreateFromAppServiceConnection(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& connection) const; + auto TryCreateFromAppServiceConnection(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& connection) const; }; template <> struct consume { @@ -1302,7 +1298,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) RemoteSystem() const; + [[nodiscard]] auto RemoteSystem() const; }; template <> struct consume { @@ -1311,7 +1307,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemApp) RemoteSystemApp() const; + [[nodiscard]] auto RemoteSystemApp() const; }; template <> struct consume { @@ -1320,7 +1316,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ConnectionToken() const; + [[nodiscard]] auto ConnectionToken() const; }; template <> struct consume { @@ -1329,7 +1325,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestFactory { - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest) Create(winrt::Windows::System::RemoteSystems::RemoteSystem const& remoteSystem) const; + auto Create(winrt::Windows::System::RemoteSystems::RemoteSystem const& remoteSystem) const; }; template <> struct consume { @@ -1338,7 +1334,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest) CreateForApp(winrt::Windows::System::RemoteSystems::RemoteSystemApp const& remoteSystemApp) const; + auto CreateForApp(winrt::Windows::System::RemoteSystems::RemoteSystemApp const& remoteSystemApp) const; }; template <> struct consume { @@ -1347,8 +1343,8 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest) CreateFromConnectionToken(param::hstring const& connectionToken) const; - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest) CreateFromConnectionTokenForUser(winrt::Windows::System::User const& user, param::hstring const& connectionToken) const; + auto CreateFromConnectionToken(param::hstring const& connectionToken) const; + auto CreateFromConnectionTokenForUser(winrt::Windows::System::User const& user, param::hstring const& connectionToken) const; }; template <> struct consume { @@ -1357,7 +1353,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemDiscoveryTypeFilter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryType) RemoteSystemDiscoveryType() const; + [[nodiscard]] auto RemoteSystemDiscoveryType() const; }; template <> struct consume { @@ -1366,7 +1362,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemDiscoveryTypeFilterFactory { - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryTypeFilter) Create(winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryType const& discoveryType) const; + auto Create(winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryType const& discoveryType) const; }; template <> struct consume { @@ -1391,7 +1387,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemKindFilter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) RemoteSystemKinds() const; + [[nodiscard]] auto RemoteSystemKinds() const; }; template <> struct consume { @@ -1400,7 +1396,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemKindFilterFactory { - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemKindFilter) Create(param::iterable const& remoteSystemKinds) const; + auto Create(param::iterable const& remoteSystemKinds) const; }; template <> struct consume { @@ -1409,11 +1405,11 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Phone() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Hub() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Holographic() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Desktop() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Xbox() const; + [[nodiscard]] auto Phone() const; + [[nodiscard]] auto Hub() const; + [[nodiscard]] auto Holographic() const; + [[nodiscard]] auto Desktop() const; + [[nodiscard]] auto Xbox() const; }; template <> struct consume { @@ -1422,9 +1418,9 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Iot() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Tablet() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Laptop() const; + [[nodiscard]] auto Iot() const; + [[nodiscard]] auto Tablet() const; + [[nodiscard]] auto Laptop() const; }; template <> struct consume { @@ -1433,7 +1429,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemRemovedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteSystemId() const; + [[nodiscard]] auto RemoteSystemId() const; }; template <> struct consume { @@ -1442,15 +1438,15 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSession { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ControllerDisplayName() const; - WINRT_IMPL_AUTO(winrt::event_token) Disconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto ControllerDisplayName() const; + auto Disconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Disconnected_revoker = impl::event_revoker::remove_Disconnected>; - [[nodiscard]] Disconnected_revoker Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Disconnected(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher) CreateParticipantWatcher() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendInvitationAsync(winrt::Windows::System::RemoteSystems::RemoteSystem const& invitee) const; + [[nodiscard]] auto Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Disconnected(winrt::event_token const& token) const noexcept; + auto CreateParticipantWatcher() const; + auto SendInvitationAsync(winrt::Windows::System::RemoteSystems::RemoteSystem const& invitee) const; }; template <> struct consume { @@ -1459,7 +1455,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionAddedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo) SessionInfo() const; + [[nodiscard]] auto SessionInfo() const; }; template <> struct consume { @@ -1468,12 +1464,12 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionController { - WINRT_IMPL_AUTO(winrt::event_token) JoinRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto JoinRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using JoinRequested_revoker = impl::event_revoker::remove_JoinRequested>; - [[nodiscard]] JoinRequested_revoker JoinRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) JoinRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RemoveParticipantAsync(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant const& pParticipant) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateSessionAsync() const; + [[nodiscard]] auto JoinRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto JoinRequested(winrt::event_token const& token) const noexcept; + auto RemoveParticipantAsync(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant const& pParticipant) const; + auto CreateSessionAsync() const; }; template <> struct consume { @@ -1482,8 +1478,8 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionControllerFactory { - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionController) CreateController(param::hstring const& displayName) const; - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionController) CreateController(param::hstring const& displayName, winrt::Windows::System::RemoteSystems::RemoteSystemSessionOptions const& options) const; + auto CreateController(param::hstring const& displayName) const; + auto CreateController(param::hstring const& displayName, winrt::Windows::System::RemoteSystems::RemoteSystemSessionOptions const& options) const; }; template <> struct consume { @@ -1492,8 +1488,8 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionCreationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionCreationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSession) Session() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Session() const; }; template <> struct consume { @@ -1502,7 +1498,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionDisconnectedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionDisconnectedReason) Reason() const; + [[nodiscard]] auto Reason() const; }; template <> struct consume { @@ -1511,9 +1507,9 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ControllerDisplayName() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) JoinAsync() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto ControllerDisplayName() const; + auto JoinAsync() const; }; template <> struct consume { @@ -1522,8 +1518,8 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) Sender() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo) SessionInfo() const; + [[nodiscard]] auto Sender() const; + [[nodiscard]] auto SessionInfo() const; }; template <> struct consume { @@ -1532,10 +1528,10 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationListener { - WINRT_IMPL_AUTO(winrt::event_token) InvitationReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto InvitationReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using InvitationReceived_revoker = impl::event_revoker::remove_InvitationReceived>; - [[nodiscard]] InvitationReceived_revoker InvitationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) InvitationReceived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto InvitationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto InvitationReceived(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1544,7 +1540,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitation) Invitation() const; + [[nodiscard]] auto Invitation() const; }; template <> struct consume { @@ -1553,8 +1549,8 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant) Participant() const; - WINRT_IMPL_AUTO(void) Accept() const; + [[nodiscard]] auto Participant() const; + auto Accept() const; }; template <> struct consume { @@ -1563,8 +1559,8 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinRequest) JoinRequest() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto JoinRequest() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1573,8 +1569,8 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSession) Session() const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Session() const; }; template <> struct consume { @@ -1583,14 +1579,14 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSession) Session() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) BroadcastValueSetAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendValueSetAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant const& participant) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SendValueSetToParticipantsAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData, param::async_iterable const& participants) const; - WINRT_IMPL_AUTO(winrt::event_token) ValueSetReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Session() const; + auto BroadcastValueSetAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData) const; + auto SendValueSetAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant const& participant) const; + auto SendValueSetToParticipantsAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData, param::async_iterable const& participants) const; + auto ValueSetReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ValueSetReceived_revoker = impl::event_revoker::remove_ValueSetReceived>; - [[nodiscard]] ValueSetReceived_revoker ValueSetReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ValueSetReceived(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ValueSetReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ValueSetReceived(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1599,8 +1595,8 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannelFactory { - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel) Create(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session, param::hstring const& channelName) const; - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel) Create(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session, param::hstring const& channelName, winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannelReliability const& reliability) const; + auto Create(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session, param::hstring const& channelName) const; + auto Create(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session, param::hstring const& channelName, winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannelReliability const& reliability) const; }; template <> struct consume { @@ -1609,8 +1605,8 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionOptions { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInviteOnly() const; - WINRT_IMPL_AUTO(void) IsInviteOnly(bool value) const; + [[nodiscard]] auto IsInviteOnly() const; + auto IsInviteOnly(bool value) const; }; template <> struct consume { @@ -1619,8 +1615,8 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipant { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) RemoteSystem() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetHostNames() const; + [[nodiscard]] auto RemoteSystem() const; + auto GetHostNames() const; }; template <> struct consume { @@ -1629,7 +1625,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantAddedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant) Participant() const; + [[nodiscard]] auto Participant() const; }; template <> struct consume { @@ -1638,7 +1634,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantRemovedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant) Participant() const; + [[nodiscard]] auto Participant() const; }; template <> struct consume { @@ -1647,21 +1643,21 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher { - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcherStatus) Status() const; - WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Start() const; + auto Stop() const; + [[nodiscard]] auto Status() const; + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Added_revoker = impl::event_revoker::remove_Added>; - [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Added(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Removed_revoker = impl::event_revoker::remove_Removed>; - [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Removed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1670,7 +1666,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionRemovedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo) SessionInfo() const; + [[nodiscard]] auto SessionInfo() const; }; template <> struct consume { @@ -1679,7 +1675,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher) CreateWatcher() const; + auto CreateWatcher() const; }; template <> struct consume { @@ -1688,7 +1684,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionUpdatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo) SessionInfo() const; + [[nodiscard]] auto SessionInfo() const; }; template <> struct consume { @@ -1697,8 +1693,8 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionValueSetReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant) Sender() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Message() const; + [[nodiscard]] auto Sender() const; + [[nodiscard]] auto Message() const; }; template <> struct consume { @@ -1707,21 +1703,21 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher { - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcherStatus) Status() const; - WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Start() const; + auto Stop() const; + [[nodiscard]] auto Status() const; + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Added_revoker = impl::event_revoker::remove_Added>; - [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Added(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Updated_revoker = impl::event_revoker::remove_Updated>; - [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Updated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Removed_revoker = impl::event_revoker::remove_Removed>; - [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Removed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1730,10 +1726,10 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindByHostNameAsync(winrt::Windows::Networking::HostName const& hostName) const; - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWatcher) CreateWatcher() const; - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWatcher) CreateWatcher(param::iterable const& filters) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; + auto FindByHostNameAsync(winrt::Windows::Networking::HostName const& hostName) const; + auto CreateWatcher() const; + auto CreateWatcher(param::iterable const& filters) const; + auto RequestAccessAsync() const; }; template <> struct consume { @@ -1742,7 +1738,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemStatics2 { - WINRT_IMPL_AUTO(bool) IsAuthorizationKindEnabled(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind const& kind) const; + auto IsAuthorizationKindEnabled(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind const& kind) const; }; template <> struct consume { @@ -1751,8 +1747,8 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWatcher) CreateWatcherForUser(winrt::Windows::System::User const& user) const; - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWatcher) CreateWatcherForUser(winrt::Windows::System::User const& user, param::iterable const& filters) const; + auto CreateWatcherForUser(winrt::Windows::System::User const& user) const; + auto CreateWatcherForUser(winrt::Windows::System::User const& user, param::iterable const& filters) const; }; template <> struct consume { @@ -1761,7 +1757,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemStatusTypeFilter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemStatusType) RemoteSystemStatusType() const; + [[nodiscard]] auto RemoteSystemStatusType() const; }; template <> struct consume { @@ -1770,7 +1766,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemStatusTypeFilterFactory { - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemStatusTypeFilter) Create(winrt::Windows::System::RemoteSystems::RemoteSystemStatusType const& remoteSystemStatusType) const; + auto Create(winrt::Windows::System::RemoteSystems::RemoteSystemStatusType const& remoteSystemStatusType) const; }; template <> struct consume { @@ -1779,7 +1775,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemUpdatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) RemoteSystem() const; + [[nodiscard]] auto RemoteSystem() const; }; template <> struct consume { @@ -1788,20 +1784,20 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemWatcher { - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(winrt::event_token) RemoteSystemAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Start() const; + auto Stop() const; + auto RemoteSystemAdded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RemoteSystemAdded_revoker = impl::event_revoker::remove_RemoteSystemAdded>; - [[nodiscard]] RemoteSystemAdded_revoker RemoteSystemAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RemoteSystemAdded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RemoteSystemUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto RemoteSystemAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RemoteSystemAdded(winrt::event_token const& token) const noexcept; + auto RemoteSystemUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RemoteSystemUpdated_revoker = impl::event_revoker::remove_RemoteSystemUpdated>; - [[nodiscard]] RemoteSystemUpdated_revoker RemoteSystemUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RemoteSystemUpdated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RemoteSystemRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto RemoteSystemUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RemoteSystemUpdated(winrt::event_token const& token) const noexcept; + auto RemoteSystemRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RemoteSystemRemoved_revoker = impl::event_revoker::remove_RemoteSystemRemoved>; - [[nodiscard]] RemoteSystemRemoved_revoker RemoteSystemRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RemoteSystemRemoved(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RemoteSystemRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RemoteSystemRemoved(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1810,14 +1806,14 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2 { - WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnumerationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ErrorOccurred_revoker = impl::event_revoker::remove_ErrorOccurred>; - [[nodiscard]] ErrorOccurred_revoker ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ErrorOccurred(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ErrorOccurred(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1826,7 +1822,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemWatcher3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -1835,7 +1831,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemWatcherErrorOccurredEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWatcherError) Error() const; + [[nodiscard]] auto Error() const; }; template <> struct consume { @@ -1844,7 +1840,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemWebAccountFilter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) Account() const; + [[nodiscard]] auto Account() const; }; template <> struct consume { @@ -1853,7 +1849,7 @@ namespace winrt::impl template struct consume_Windows_System_RemoteSystems_IRemoteSystemWebAccountFilterFactory { - WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWebAccountFilter) Create(winrt::Windows::Security::Credentials::WebAccount const& account) const; + auto Create(winrt::Windows::Security::Credentials::WebAccount const& account) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.1.h index c2b83733..a54bc773 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_RemoteSystems_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.2.h index 85323f3d..ca0443ca 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_RemoteSystems_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.0.h index 68ab8dfd..ada2cd23 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Threading_0_H @@ -110,9 +110,9 @@ namespace winrt::impl template struct consume_Windows_System_Threading_IThreadPoolStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority, winrt::Windows::System::Threading::WorkItemOptions const& options) const; + auto RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler) const; + auto RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority) const; + auto RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority, winrt::Windows::System::Threading::WorkItemOptions const& options) const; }; template <> struct consume { @@ -121,9 +121,9 @@ namespace winrt::impl template struct consume_Windows_System_Threading_IThreadPoolTimer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Period() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Delay() const; - WINRT_IMPL_AUTO(void) Cancel() const; + [[nodiscard]] auto Period() const; + [[nodiscard]] auto Delay() const; + auto Cancel() const; }; template <> struct consume { @@ -132,10 +132,10 @@ namespace winrt::impl template struct consume_Windows_System_Threading_IThreadPoolTimerStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::Threading::ThreadPoolTimer) CreatePeriodicTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& period) const; - WINRT_IMPL_AUTO(winrt::Windows::System::Threading::ThreadPoolTimer) CreateTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& delay) const; - WINRT_IMPL_AUTO(winrt::Windows::System::Threading::ThreadPoolTimer) CreatePeriodicTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& period, winrt::Windows::System::Threading::TimerDestroyedHandler const& destroyed) const; - WINRT_IMPL_AUTO(winrt::Windows::System::Threading::ThreadPoolTimer) CreateTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& delay, winrt::Windows::System::Threading::TimerDestroyedHandler const& destroyed) const; + auto CreatePeriodicTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& period) const; + auto CreateTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& delay) const; + auto CreatePeriodicTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& period, winrt::Windows::System::Threading::TimerDestroyedHandler const& destroyed) const; + auto CreateTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& delay, winrt::Windows::System::Threading::TimerDestroyedHandler const& destroyed) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.1.h index 7f457d00..d12ee55a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Threading_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.2.h index 60cdce4a..42775eea 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Threading_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.0.h index 26dd9a16..0e2bc3c1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Threading_Core_0_H @@ -90,7 +90,7 @@ namespace winrt::impl template struct consume_Windows_System_Threading_Core_IPreallocatedWorkItem { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RunAsync() const; + auto RunAsync() const; }; template <> struct consume { @@ -99,9 +99,9 @@ namespace winrt::impl template struct consume_Windows_System_Threading_Core_IPreallocatedWorkItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::PreallocatedWorkItem) CreateWorkItem(winrt::Windows::System::Threading::WorkItemHandler const& handler) const; - WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::PreallocatedWorkItem) CreateWorkItemWithPriority(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority) const; - WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::PreallocatedWorkItem) CreateWorkItemWithPriorityAndOptions(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority, winrt::Windows::System::Threading::WorkItemOptions const& options) const; + auto CreateWorkItem(winrt::Windows::System::Threading::WorkItemHandler const& handler) const; + auto CreateWorkItemWithPriority(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority) const; + auto CreateWorkItemWithPriorityAndOptions(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority, winrt::Windows::System::Threading::WorkItemOptions const& options) const; }; template <> struct consume { @@ -110,8 +110,8 @@ namespace winrt::impl template struct consume_Windows_System_Threading_Core_ISignalNotifier { - WINRT_IMPL_AUTO(void) Enable() const; - WINRT_IMPL_AUTO(void) Terminate() const; + auto Enable() const; + auto Terminate() const; }; template <> struct consume { @@ -120,10 +120,10 @@ namespace winrt::impl template struct consume_Windows_System_Threading_Core_ISignalNotifierStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::SignalNotifier) AttachToEvent(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler) const; - WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::SignalNotifier) AttachToEvent(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler, winrt::Windows::Foundation::TimeSpan const& timeout) const; - WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::SignalNotifier) AttachToSemaphore(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler) const; - WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::SignalNotifier) AttachToSemaphore(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler, winrt::Windows::Foundation::TimeSpan const& timeout) const; + auto AttachToEvent(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler) const; + auto AttachToEvent(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler, winrt::Windows::Foundation::TimeSpan const& timeout) const; + auto AttachToSemaphore(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler) const; + auto AttachToSemaphore(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler, winrt::Windows::Foundation::TimeSpan const& timeout) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.1.h index ab5e792f..08c2de3b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Threading_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.2.h index 045fefec..5035768f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Threading_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.0.h index 0a4eb09c..06f44538 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Update_0_H @@ -8,11 +8,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; struct HResult; - template struct __declspec(empty_bases) IAsyncOperation; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::System::Update { @@ -146,14 +141,14 @@ namespace winrt::impl template struct consume_Windows_System_Update_ISystemUpdateItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Update::SystemUpdateItemState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Revision() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DownloadProgress() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) InstallProgress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Description() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Revision() const; + [[nodiscard]] auto DownloadProgress() const; + [[nodiscard]] auto InstallProgress() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -162,9 +157,9 @@ namespace winrt::impl template struct consume_Windows_System_Update_ISystemUpdateLastErrorInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Update::SystemUpdateManagerState) State() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInteractive() const; + [[nodiscard]] auto State() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto IsInteractive() const; }; template <> struct consume { @@ -173,32 +168,32 @@ namespace winrt::impl template struct consume_Windows_System_Update_ISystemUpdateManagerStatics { - WINRT_IMPL_AUTO(bool) IsSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Update::SystemUpdateManagerState) State() const; - WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + auto IsSupported() const; + [[nodiscard]] auto State() const; + auto StateChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; - [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StateChanged(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(double) DownloadProgress() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) InstallProgress() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) UserActiveHoursStart() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) UserActiveHoursEnd() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) UserActiveHoursMax() const; - WINRT_IMPL_AUTO(bool) TrySetUserActiveHours(winrt::Windows::Foundation::TimeSpan const& start, winrt::Windows::Foundation::TimeSpan const& end) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastUpdateCheckTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastUpdateInstallTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Update::SystemUpdateLastErrorInfo) LastErrorInfo() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetAutomaticRebootBlockIds() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) BlockAutomaticRebootAsync(param::hstring const& lockId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UnblockAutomaticRebootAsync(param::hstring const& lockId) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetUpdateItems() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Update::SystemUpdateAttentionRequiredReason) AttentionRequiredReason() const; - WINRT_IMPL_AUTO(bool) SetFlightRing(param::hstring const& flightRing) const; - WINRT_IMPL_AUTO(hstring) GetFlightRing() const; - WINRT_IMPL_AUTO(void) StartInstall(winrt::Windows::System::Update::SystemUpdateStartInstallAction const& action) const; - WINRT_IMPL_AUTO(void) RebootToCompleteInstall() const; - WINRT_IMPL_AUTO(void) StartCancelUpdates() const; + [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto StateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DownloadProgress() const; + [[nodiscard]] auto InstallProgress() const; + [[nodiscard]] auto UserActiveHoursStart() const; + [[nodiscard]] auto UserActiveHoursEnd() const; + [[nodiscard]] auto UserActiveHoursMax() const; + auto TrySetUserActiveHours(winrt::Windows::Foundation::TimeSpan const& start, winrt::Windows::Foundation::TimeSpan const& end) const; + [[nodiscard]] auto LastUpdateCheckTime() const; + [[nodiscard]] auto LastUpdateInstallTime() const; + [[nodiscard]] auto LastErrorInfo() const; + auto GetAutomaticRebootBlockIds() const; + auto BlockAutomaticRebootAsync(param::hstring const& lockId) const; + auto UnblockAutomaticRebootAsync(param::hstring const& lockId) const; + [[nodiscard]] auto ExtendedError() const; + auto GetUpdateItems() const; + [[nodiscard]] auto AttentionRequiredReason() const; + auto SetFlightRing(param::hstring const& flightRing) const; + auto GetFlightRing() const; + auto StartInstall(winrt::Windows::System::Update::SystemUpdateStartInstallAction const& action) const; + auto RebootToCompleteInstall() const; + auto StartCancelUpdates() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.1.h index e03bf32d..29d391e6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Update_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.2.h index ce580f71..ca64d2c6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_Update_2_H @@ -24,7 +24,7 @@ WINRT_EXPORT namespace winrt::Windows::System::Update [[nodiscard]] static auto State(); static auto StateChanged(winrt::Windows::Foundation::EventHandler const& handler); using StateChanged_revoker = impl::factory_event_revoker::remove_StateChanged>; - [[nodiscard]] static StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto StateChanged(winrt::event_token const& token); [[nodiscard]] static auto DownloadProgress(); [[nodiscard]] static auto InstallProgress(); diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.0.h index 7b8ab844..7bd5b788 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_UserProfile_0_H @@ -8,13 +8,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Globalization { @@ -339,8 +337,8 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_IAdvertisingManagerForUser { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AdvertisingId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto AdvertisingId() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -349,7 +347,7 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_IAdvertisingManagerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AdvertisingId() const; + [[nodiscard]] auto AdvertisingId() const; }; template <> struct consume { @@ -358,7 +356,7 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_IAdvertisingManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::AdvertisingManagerForUser) GetForUser(winrt::Windows::System::User const& user) const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -367,9 +365,9 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_IAssignedAccessSettings { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSingleAppKioskMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto IsEnabled() const; + [[nodiscard]] auto IsSingleAppKioskMode() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -378,8 +376,8 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_IAssignedAccessSettingsStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::AssignedAccessSettings) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::AssignedAccessSettings) GetForUser(winrt::Windows::System::User const& user) const; + auto GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -388,8 +386,8 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_IDiagnosticsSettings { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanUseDiagnosticsToTailorExperiences() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto CanUseDiagnosticsToTailorExperiences() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -398,8 +396,8 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_IDiagnosticsSettingsStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::DiagnosticsSettings) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::DiagnosticsSettings) GetForUser(winrt::Windows::System::User const& user) const; + auto GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -416,7 +414,7 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_IFirstSignInSettingsStatics { - WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::FirstSignInSettings) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -425,13 +423,13 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Calendars() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Clocks() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Currencies() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Languages() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HomeGeographicRegion() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) WeekStartsOn() const; + [[nodiscard]] auto User() const; + [[nodiscard]] auto Calendars() const; + [[nodiscard]] auto Clocks() const; + [[nodiscard]] auto Currencies() const; + [[nodiscard]] auto Languages() const; + [[nodiscard]] auto HomeGeographicRegion() const; + [[nodiscard]] auto WeekStartsOn() const; }; template <> struct consume { @@ -440,12 +438,12 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Calendars() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Clocks() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Currencies() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Languages() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HomeGeographicRegion() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) WeekStartsOn() const; + [[nodiscard]] auto Calendars() const; + [[nodiscard]] auto Clocks() const; + [[nodiscard]] auto Currencies() const; + [[nodiscard]] auto Languages() const; + [[nodiscard]] auto HomeGeographicRegion() const; + [[nodiscard]] auto WeekStartsOn() const; }; template <> struct consume { @@ -454,8 +452,8 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics2 { - WINRT_IMPL_AUTO(bool) TrySetHomeGeographicRegion(param::hstring const& region) const; - WINRT_IMPL_AUTO(bool) TrySetLanguages(param::iterable const& languageTags) const; + auto TrySetHomeGeographicRegion(param::hstring const& region) const; + auto TrySetLanguages(param::iterable const& languageTags) const; }; template <> struct consume { @@ -464,7 +462,7 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::GlobalizationPreferencesForUser) GetForUser(winrt::Windows::System::User const& user) const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -473,8 +471,8 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_ILockScreenImageFeedStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestSetImageFeedAsync(winrt::Windows::Foundation::Uri const& syndicationFeedUri) const; - WINRT_IMPL_AUTO(bool) TryRemoveImageFeed() const; + auto RequestSetImageFeedAsync(winrt::Windows::Foundation::Uri const& syndicationFeedUri) const; + auto TryRemoveImageFeed() const; }; template <> struct consume { @@ -483,10 +481,10 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_ILockScreenStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) OriginalImageFile() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) GetImageStream() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetImageFileAsync(winrt::Windows::Storage::IStorageFile const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetImageStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; + [[nodiscard]] auto OriginalImageFile() const; + auto GetImageStream() const; + auto SetImageFileAsync(winrt::Windows::Storage::IStorageFile const& value) const; + auto SetImageStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; }; template <> struct consume { @@ -495,23 +493,23 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_IUserInformationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AccountPictureChangeEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) NameAccessAllowed() const; - WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) GetAccountPicture(winrt::Windows::System::UserProfile::AccountPictureKind const& kind) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetAccountPictureAsync(winrt::Windows::Storage::IStorageFile const& image) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetAccountPicturesAsync(winrt::Windows::Storage::IStorageFile const& smallImage, winrt::Windows::Storage::IStorageFile const& largeImage, winrt::Windows::Storage::IStorageFile const& video) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetAccountPictureFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& image) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetAccountPicturesFromStreamsAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& smallImage, winrt::Windows::Storage::Streams::IRandomAccessStream const& largeImage, winrt::Windows::Storage::Streams::IRandomAccessStream const& video) const; - WINRT_IMPL_AUTO(winrt::event_token) AccountPictureChanged(winrt::Windows::Foundation::EventHandler const& changeHandler) const; + [[nodiscard]] auto AccountPictureChangeEnabled() const; + [[nodiscard]] auto NameAccessAllowed() const; + auto GetAccountPicture(winrt::Windows::System::UserProfile::AccountPictureKind const& kind) const; + auto SetAccountPictureAsync(winrt::Windows::Storage::IStorageFile const& image) const; + auto SetAccountPicturesAsync(winrt::Windows::Storage::IStorageFile const& smallImage, winrt::Windows::Storage::IStorageFile const& largeImage, winrt::Windows::Storage::IStorageFile const& video) const; + auto SetAccountPictureFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& image) const; + auto SetAccountPicturesFromStreamsAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& smallImage, winrt::Windows::Storage::Streams::IRandomAccessStream const& largeImage, winrt::Windows::Storage::Streams::IRandomAccessStream const& video) const; + auto AccountPictureChanged(winrt::Windows::Foundation::EventHandler const& changeHandler) const; using AccountPictureChanged_revoker = impl::event_revoker::remove_AccountPictureChanged>; - [[nodiscard]] AccountPictureChanged_revoker AccountPictureChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler) const; - WINRT_IMPL_AUTO(void) AccountPictureChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDisplayNameAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetFirstNameAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetLastNameAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPrincipalNameAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetSessionInitiationProtocolUriAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetDomainNameAsync() const; + [[nodiscard]] auto AccountPictureChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler) const; + auto AccountPictureChanged(winrt::event_token const& token) const noexcept; + auto GetDisplayNameAsync() const; + auto GetFirstNameAsync() const; + auto GetLastNameAsync() const; + auto GetPrincipalNameAsync() const; + auto GetSessionInitiationProtocolUriAsync() const; + auto GetDomainNameAsync() const; }; template <> struct consume { @@ -520,8 +518,8 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_IUserProfilePersonalizationSettings { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetLockScreenImageAsync(winrt::Windows::Storage::StorageFile const& imageFile) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetWallpaperImageAsync(winrt::Windows::Storage::StorageFile const& imageFile) const; + auto TrySetLockScreenImageAsync(winrt::Windows::Storage::StorageFile const& imageFile) const; + auto TrySetWallpaperImageAsync(winrt::Windows::Storage::StorageFile const& imageFile) const; }; template <> struct consume { @@ -530,8 +528,8 @@ namespace winrt::impl template struct consume_Windows_System_UserProfile_IUserProfilePersonalizationSettingsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::UserProfilePersonalizationSettings) Current() const; - WINRT_IMPL_AUTO(bool) IsSupported() const; + [[nodiscard]] auto Current() const; + auto IsSupported() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.1.h index 6731bbe5..c89f8b92 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_UserProfile_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.2.h index 9aab66e6..021c997d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_System_UserProfile_2_H @@ -82,7 +82,7 @@ WINRT_EXPORT namespace winrt::Windows::System::UserProfile static auto SetAccountPicturesFromStreamsAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& smallImage, winrt::Windows::Storage::Streams::IRandomAccessStream const& largeImage, winrt::Windows::Storage::Streams::IRandomAccessStream const& video); static auto AccountPictureChanged(winrt::Windows::Foundation::EventHandler const& changeHandler); using AccountPictureChanged_revoker = impl::factory_event_revoker::remove_AccountPictureChanged>; - [[nodiscard]] static AccountPictureChanged_revoker AccountPictureChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler); + [[nodiscard]] static auto AccountPictureChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& changeHandler); static auto AccountPictureChanged(winrt::event_token const& token); static auto GetDisplayNameAsync(); static auto GetFirstNameAsync(); diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.0.h index 56f2c054..6e0bddf8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_0_H @@ -255,7 +255,7 @@ namespace winrt::impl template struct consume_Windows_UI_IColorHelperStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Color) FromArgb(uint8_t a, uint8_t r, uint8_t g, uint8_t b) const; + auto FromArgb(uint8_t a, uint8_t r, uint8_t g, uint8_t b) const; }; template <> struct consume { @@ -264,7 +264,7 @@ namespace winrt::impl template struct consume_Windows_UI_IColorHelperStatics2 { - WINRT_IMPL_AUTO(hstring) ToDisplayName(winrt::Windows::UI::Color const& color) const; + auto ToDisplayName(winrt::Windows::UI::Color const& color) const; }; template <> struct consume { @@ -281,147 +281,147 @@ namespace winrt::impl template struct consume_Windows_UI_IColorsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) AliceBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) AntiqueWhite() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Aqua() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Aquamarine() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Azure() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Beige() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Bisque() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Black() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) BlanchedAlmond() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Blue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) BlueViolet() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Brown() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) BurlyWood() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) CadetBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Chartreuse() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Chocolate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Coral() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) CornflowerBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Cornsilk() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Crimson() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Cyan() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkCyan() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkGoldenrod() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkGray() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkGreen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkKhaki() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkMagenta() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkOliveGreen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkOrange() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkOrchid() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkRed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkSalmon() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkSeaGreen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkSlateBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkSlateGray() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkTurquoise() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DarkViolet() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DeepPink() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DeepSkyBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DimGray() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DodgerBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Firebrick() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) FloralWhite() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) ForestGreen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Fuchsia() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Gainsboro() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) GhostWhite() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Gold() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Goldenrod() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Gray() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Green() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) GreenYellow() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Honeydew() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) HotPink() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) IndianRed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Indigo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Ivory() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Khaki() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Lavender() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LavenderBlush() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LawnGreen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LemonChiffon() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LightBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LightCoral() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LightCyan() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LightGoldenrodYellow() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LightGreen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LightGray() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LightPink() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LightSalmon() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LightSeaGreen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LightSkyBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LightSlateGray() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LightSteelBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LightYellow() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Lime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) LimeGreen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Linen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Magenta() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Maroon() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) MediumAquamarine() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) MediumBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) MediumOrchid() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) MediumPurple() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) MediumSeaGreen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) MediumSlateBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) MediumSpringGreen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) MediumTurquoise() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) MediumVioletRed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) MidnightBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) MintCream() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) MistyRose() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Moccasin() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) NavajoWhite() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Navy() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) OldLace() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Olive() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) OliveDrab() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Orange() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) OrangeRed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Orchid() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) PaleGoldenrod() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) PaleGreen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) PaleTurquoise() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) PaleVioletRed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) PapayaWhip() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) PeachPuff() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Peru() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Pink() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Plum() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) PowderBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Purple() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Red() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) RosyBrown() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) RoyalBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) SaddleBrown() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Salmon() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) SandyBrown() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) SeaGreen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) SeaShell() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Sienna() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Silver() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) SkyBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) SlateBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) SlateGray() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Snow() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) SpringGreen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) SteelBlue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Tan() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Teal() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Thistle() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Tomato() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Transparent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Turquoise() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Violet() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Wheat() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) White() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) WhiteSmoke() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Yellow() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) YellowGreen() const; + [[nodiscard]] auto AliceBlue() const; + [[nodiscard]] auto AntiqueWhite() const; + [[nodiscard]] auto Aqua() const; + [[nodiscard]] auto Aquamarine() const; + [[nodiscard]] auto Azure() const; + [[nodiscard]] auto Beige() const; + [[nodiscard]] auto Bisque() const; + [[nodiscard]] auto Black() const; + [[nodiscard]] auto BlanchedAlmond() const; + [[nodiscard]] auto Blue() const; + [[nodiscard]] auto BlueViolet() const; + [[nodiscard]] auto Brown() const; + [[nodiscard]] auto BurlyWood() const; + [[nodiscard]] auto CadetBlue() const; + [[nodiscard]] auto Chartreuse() const; + [[nodiscard]] auto Chocolate() const; + [[nodiscard]] auto Coral() const; + [[nodiscard]] auto CornflowerBlue() const; + [[nodiscard]] auto Cornsilk() const; + [[nodiscard]] auto Crimson() const; + [[nodiscard]] auto Cyan() const; + [[nodiscard]] auto DarkBlue() const; + [[nodiscard]] auto DarkCyan() const; + [[nodiscard]] auto DarkGoldenrod() const; + [[nodiscard]] auto DarkGray() const; + [[nodiscard]] auto DarkGreen() const; + [[nodiscard]] auto DarkKhaki() const; + [[nodiscard]] auto DarkMagenta() const; + [[nodiscard]] auto DarkOliveGreen() const; + [[nodiscard]] auto DarkOrange() const; + [[nodiscard]] auto DarkOrchid() const; + [[nodiscard]] auto DarkRed() const; + [[nodiscard]] auto DarkSalmon() const; + [[nodiscard]] auto DarkSeaGreen() const; + [[nodiscard]] auto DarkSlateBlue() const; + [[nodiscard]] auto DarkSlateGray() const; + [[nodiscard]] auto DarkTurquoise() const; + [[nodiscard]] auto DarkViolet() const; + [[nodiscard]] auto DeepPink() const; + [[nodiscard]] auto DeepSkyBlue() const; + [[nodiscard]] auto DimGray() const; + [[nodiscard]] auto DodgerBlue() const; + [[nodiscard]] auto Firebrick() const; + [[nodiscard]] auto FloralWhite() const; + [[nodiscard]] auto ForestGreen() const; + [[nodiscard]] auto Fuchsia() const; + [[nodiscard]] auto Gainsboro() const; + [[nodiscard]] auto GhostWhite() const; + [[nodiscard]] auto Gold() const; + [[nodiscard]] auto Goldenrod() const; + [[nodiscard]] auto Gray() const; + [[nodiscard]] auto Green() const; + [[nodiscard]] auto GreenYellow() const; + [[nodiscard]] auto Honeydew() const; + [[nodiscard]] auto HotPink() const; + [[nodiscard]] auto IndianRed() const; + [[nodiscard]] auto Indigo() const; + [[nodiscard]] auto Ivory() const; + [[nodiscard]] auto Khaki() const; + [[nodiscard]] auto Lavender() const; + [[nodiscard]] auto LavenderBlush() const; + [[nodiscard]] auto LawnGreen() const; + [[nodiscard]] auto LemonChiffon() const; + [[nodiscard]] auto LightBlue() const; + [[nodiscard]] auto LightCoral() const; + [[nodiscard]] auto LightCyan() const; + [[nodiscard]] auto LightGoldenrodYellow() const; + [[nodiscard]] auto LightGreen() const; + [[nodiscard]] auto LightGray() const; + [[nodiscard]] auto LightPink() const; + [[nodiscard]] auto LightSalmon() const; + [[nodiscard]] auto LightSeaGreen() const; + [[nodiscard]] auto LightSkyBlue() const; + [[nodiscard]] auto LightSlateGray() const; + [[nodiscard]] auto LightSteelBlue() const; + [[nodiscard]] auto LightYellow() const; + [[nodiscard]] auto Lime() const; + [[nodiscard]] auto LimeGreen() const; + [[nodiscard]] auto Linen() const; + [[nodiscard]] auto Magenta() const; + [[nodiscard]] auto Maroon() const; + [[nodiscard]] auto MediumAquamarine() const; + [[nodiscard]] auto MediumBlue() const; + [[nodiscard]] auto MediumOrchid() const; + [[nodiscard]] auto MediumPurple() const; + [[nodiscard]] auto MediumSeaGreen() const; + [[nodiscard]] auto MediumSlateBlue() const; + [[nodiscard]] auto MediumSpringGreen() const; + [[nodiscard]] auto MediumTurquoise() const; + [[nodiscard]] auto MediumVioletRed() const; + [[nodiscard]] auto MidnightBlue() const; + [[nodiscard]] auto MintCream() const; + [[nodiscard]] auto MistyRose() const; + [[nodiscard]] auto Moccasin() const; + [[nodiscard]] auto NavajoWhite() const; + [[nodiscard]] auto Navy() const; + [[nodiscard]] auto OldLace() const; + [[nodiscard]] auto Olive() const; + [[nodiscard]] auto OliveDrab() const; + [[nodiscard]] auto Orange() const; + [[nodiscard]] auto OrangeRed() const; + [[nodiscard]] auto Orchid() const; + [[nodiscard]] auto PaleGoldenrod() const; + [[nodiscard]] auto PaleGreen() const; + [[nodiscard]] auto PaleTurquoise() const; + [[nodiscard]] auto PaleVioletRed() const; + [[nodiscard]] auto PapayaWhip() const; + [[nodiscard]] auto PeachPuff() const; + [[nodiscard]] auto Peru() const; + [[nodiscard]] auto Pink() const; + [[nodiscard]] auto Plum() const; + [[nodiscard]] auto PowderBlue() const; + [[nodiscard]] auto Purple() const; + [[nodiscard]] auto Red() const; + [[nodiscard]] auto RosyBrown() const; + [[nodiscard]] auto RoyalBlue() const; + [[nodiscard]] auto SaddleBrown() const; + [[nodiscard]] auto Salmon() const; + [[nodiscard]] auto SandyBrown() const; + [[nodiscard]] auto SeaGreen() const; + [[nodiscard]] auto SeaShell() const; + [[nodiscard]] auto Sienna() const; + [[nodiscard]] auto Silver() const; + [[nodiscard]] auto SkyBlue() const; + [[nodiscard]] auto SlateBlue() const; + [[nodiscard]] auto SlateGray() const; + [[nodiscard]] auto Snow() const; + [[nodiscard]] auto SpringGreen() const; + [[nodiscard]] auto SteelBlue() const; + [[nodiscard]] auto Tan() const; + [[nodiscard]] auto Teal() const; + [[nodiscard]] auto Thistle() const; + [[nodiscard]] auto Tomato() const; + [[nodiscard]] auto Transparent() const; + [[nodiscard]] auto Turquoise() const; + [[nodiscard]] auto Violet() const; + [[nodiscard]] auto Wheat() const; + [[nodiscard]] auto White() const; + [[nodiscard]] auto WhiteSmoke() const; + [[nodiscard]] auto Yellow() const; + [[nodiscard]] auto YellowGreen() const; }; template <> struct consume { @@ -430,7 +430,7 @@ namespace winrt::impl template struct consume_Windows_UI_IUIContentRoot { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) UIContext() const; + [[nodiscard]] auto UIContext() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.1.h index a605208f..181fa611 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.2.h index b549f9d3..e09e6c68 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.0.h index 7adb5d23..6e966b6e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Accessibility_0_H @@ -50,8 +50,8 @@ namespace winrt::impl template struct consume_Windows_UI_Accessibility_IScreenReaderPositionChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) ScreenPositionInRawPixels() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadingText() const; + [[nodiscard]] auto ScreenPositionInRawPixels() const; + [[nodiscard]] auto IsReadingText() const; }; template <> struct consume { @@ -60,11 +60,11 @@ namespace winrt::impl template struct consume_Windows_UI_Accessibility_IScreenReaderService { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Accessibility::ScreenReaderPositionChangedEventArgs) CurrentScreenReaderPosition() const; - WINRT_IMPL_AUTO(winrt::event_token) ScreenReaderPositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CurrentScreenReaderPosition() const; + auto ScreenReaderPositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ScreenReaderPositionChanged_revoker = impl::event_revoker::remove_ScreenReaderPositionChanged>; - [[nodiscard]] ScreenReaderPositionChanged_revoker ScreenReaderPositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ScreenReaderPositionChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ScreenReaderPositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ScreenReaderPositionChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.1.h index 01d11eb3..0a60d6e3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Accessibility_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.2.h index 5b0943db..1fa6a3c0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Accessibility_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.0.h index 2c8b3184..266cafcf 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_ApplicationSettings_0_H @@ -9,10 +9,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct IAsyncAction; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Security::Credentials { struct PasswordCredential; @@ -379,10 +375,10 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_IAccountsSettingsPane { - WINRT_IMPL_AUTO(winrt::event_token) AccountCommandsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccountCommandsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AccountCommandsRequested_revoker = impl::event_revoker::remove_AccountCommandsRequested>; - [[nodiscard]] AccountCommandsRequested_revoker AccountCommandsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AccountCommandsRequested(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto AccountCommandsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccountCommandsRequested(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -391,13 +387,13 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) WebAccountProviderCommands() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) WebAccountCommands() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) CredentialCommands() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Commands() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HeaderText() const; - WINRT_IMPL_AUTO(void) HeaderText(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::AccountsSettingsPaneEventDeferral) GetDeferral() const; + [[nodiscard]] auto WebAccountProviderCommands() const; + [[nodiscard]] auto WebAccountCommands() const; + [[nodiscard]] auto CredentialCommands() const; + [[nodiscard]] auto Commands() const; + [[nodiscard]] auto HeaderText() const; + auto HeaderText(param::hstring const& value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -406,7 +402,7 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -415,7 +411,7 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneEventDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -424,8 +420,8 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::AccountsSettingsPane) GetForCurrentView() const; - WINRT_IMPL_AUTO(void) Show() const; + auto GetForCurrentView() const; + auto Show() const; }; template <> struct consume { @@ -434,8 +430,8 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowManageAccountsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowAddAccountAsync() const; + auto ShowManageAccountsAsync() const; + auto ShowAddAccountAsync() const; }; template <> struct consume { @@ -444,8 +440,8 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowManageAccountsForUserAsync(winrt::Windows::System::User const& user) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowAddAccountForUserAsync(winrt::Windows::System::User const& user) const; + auto ShowManageAccountsForUserAsync(winrt::Windows::System::User const& user) const; + auto ShowAddAccountForUserAsync(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -454,8 +450,8 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_ICredentialCommand { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) PasswordCredential() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::CredentialCommandCredentialDeletedHandler) CredentialDeleted() const; + [[nodiscard]] auto PasswordCredential() const; + [[nodiscard]] auto CredentialDeleted() const; }; template <> struct consume { @@ -464,8 +460,8 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_ICredentialCommandFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::CredentialCommand) CreateCredentialCommand(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::CredentialCommand) CreateCredentialCommandWithHandler(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential, winrt::Windows::UI::ApplicationSettings::CredentialCommandCredentialDeletedHandler const& deleted) const; + auto CreateCredentialCommand(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const; + auto CreateCredentialCommandWithHandler(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential, winrt::Windows::UI::ApplicationSettings::CredentialCommandCredentialDeletedHandler const& deleted) const; }; template <> struct consume { @@ -474,7 +470,7 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_ISettingsCommandFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsCommand) CreateSettingsCommand(winrt::Windows::Foundation::IInspectable const& settingsCommandId, param::hstring const& label, winrt::Windows::UI::Popups::UICommandInvokedHandler const& handler) const; + auto CreateSettingsCommand(winrt::Windows::Foundation::IInspectable const& settingsCommandId, param::hstring const& label, winrt::Windows::UI::Popups::UICommandInvokedHandler const& handler) const; }; template <> struct consume { @@ -483,7 +479,7 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_ISettingsCommandStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsCommand) AccountsCommand() const; + [[nodiscard]] auto AccountsCommand() const; }; template <> struct consume { @@ -492,10 +488,10 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_ISettingsPane { - WINRT_IMPL_AUTO(winrt::event_token) CommandsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CommandsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CommandsRequested_revoker = impl::event_revoker::remove_CommandsRequested>; - [[nodiscard]] CommandsRequested_revoker CommandsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CommandsRequested(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto CommandsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CommandsRequested(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -504,7 +500,7 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_ISettingsPaneCommandsRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ApplicationCommands() const; + [[nodiscard]] auto ApplicationCommands() const; }; template <> struct consume { @@ -513,7 +509,7 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_ISettingsPaneCommandsRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsPaneCommandsRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -522,9 +518,9 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_ISettingsPaneStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsPane) GetForCurrentView() const; - WINRT_IMPL_AUTO(void) Show() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsEdgeLocation) Edge() const; + auto GetForCurrentView() const; + auto Show() const; + [[nodiscard]] auto Edge() const; }; template <> struct consume { @@ -533,9 +529,9 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_IWebAccountCommand { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) WebAccount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::WebAccountCommandInvokedHandler) Invoked() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SupportedWebAccountActions) Actions() const; + [[nodiscard]] auto WebAccount() const; + [[nodiscard]] auto Invoked() const; + [[nodiscard]] auto Actions() const; }; template <> struct consume { @@ -544,7 +540,7 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_IWebAccountCommandFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::WebAccountCommand) CreateWebAccountCommand(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::UI::ApplicationSettings::WebAccountCommandInvokedHandler const& invoked, winrt::Windows::UI::ApplicationSettings::SupportedWebAccountActions const& actions) const; + auto CreateWebAccountCommand(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::UI::ApplicationSettings::WebAccountCommandInvokedHandler const& invoked, winrt::Windows::UI::ApplicationSettings::SupportedWebAccountActions const& actions) const; }; template <> struct consume { @@ -553,7 +549,7 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_IWebAccountInvokedArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::WebAccountAction) Action() const; + [[nodiscard]] auto Action() const; }; template <> struct consume { @@ -562,8 +558,8 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_IWebAccountProviderCommand { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountProvider) WebAccountProvider() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::WebAccountProviderCommandInvokedHandler) Invoked() const; + [[nodiscard]] auto WebAccountProvider() const; + [[nodiscard]] auto Invoked() const; }; template <> struct consume { @@ -572,7 +568,7 @@ namespace winrt::impl template struct consume_Windows_UI_ApplicationSettings_IWebAccountProviderCommandFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::WebAccountProviderCommand) CreateWebAccountProviderCommand(winrt::Windows::Security::Credentials::WebAccountProvider const& webAccountProvider, winrt::Windows::UI::ApplicationSettings::WebAccountProviderCommandInvokedHandler const& invoked) const; + auto CreateWebAccountProviderCommand(winrt::Windows::Security::Credentials::WebAccountProvider const& webAccountProvider, winrt::Windows::UI::ApplicationSettings::WebAccountProviderCommandInvokedHandler const& invoked) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.1.h index 11e57822..0ffae31d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_ApplicationSettings_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.2.h index b66e0be9..6c88c754 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_ApplicationSettings_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.0.h index c08ae2c1..ae404c4d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_0_H @@ -8,7 +8,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; struct HResult; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; struct Point; struct Size; @@ -3152,8 +3151,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IAmbientLight { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; }; template <> struct consume { @@ -3162,8 +3161,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IAmbientLight2 { - [[nodiscard]] WINRT_IMPL_AUTO(float) Intensity() const; - WINRT_IMPL_AUTO(void) Intensity(float value) const; + [[nodiscard]] auto Intensity() const; + auto Intensity(float value) const; }; template <> struct consume { @@ -3172,14 +3171,14 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IAnimationController { - [[nodiscard]] WINRT_IMPL_AUTO(float) PlaybackRate() const; - WINRT_IMPL_AUTO(void) PlaybackRate(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Progress() const; - WINRT_IMPL_AUTO(void) Progress(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationControllerProgressBehavior) ProgressBehavior() const; - WINRT_IMPL_AUTO(void) ProgressBehavior(winrt::Windows::UI::Composition::AnimationControllerProgressBehavior const& value) const; - WINRT_IMPL_AUTO(void) Pause() const; - WINRT_IMPL_AUTO(void) Resume() const; + [[nodiscard]] auto PlaybackRate() const; + auto PlaybackRate(float value) const; + [[nodiscard]] auto Progress() const; + auto Progress(float value) const; + [[nodiscard]] auto ProgressBehavior() const; + auto ProgressBehavior(winrt::Windows::UI::Composition::AnimationControllerProgressBehavior const& value) const; + auto Pause() const; + auto Resume() const; }; template <> struct consume { @@ -3188,8 +3187,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IAnimationControllerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(float) MaxPlaybackRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MinPlaybackRate() const; + [[nodiscard]] auto MaxPlaybackRate() const; + [[nodiscard]] auto MinPlaybackRate() const; }; template <> struct consume { @@ -3198,7 +3197,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IAnimationObject { - WINRT_IMPL_AUTO(void) PopulatePropertyInfo(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& propertyInfo) const; + auto PopulatePropertyInfo(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& propertyInfo) const; }; template <> struct consume { @@ -3207,8 +3206,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IAnimationPropertyInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationPropertyAccessMode) AccessMode() const; - WINRT_IMPL_AUTO(void) AccessMode(winrt::Windows::UI::Composition::AnimationPropertyAccessMode const& value) const; + [[nodiscard]] auto AccessMode() const; + auto AccessMode(winrt::Windows::UI::Composition::AnimationPropertyAccessMode const& value) const; }; template <> struct consume { @@ -3217,8 +3216,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IAnimationPropertyInfo2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionObject) GetResolvedCompositionObject() const; - WINRT_IMPL_AUTO(hstring) GetResolvedCompositionObjectProperty() const; + auto GetResolvedCompositionObject() const; + auto GetResolvedCompositionObjectProperty() const; }; template <> struct consume { @@ -3227,8 +3226,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IBackEasingFunction { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) Mode() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Amplitude() const; + [[nodiscard]] auto Mode() const; + [[nodiscard]] auto Amplitude() const; }; template <> struct consume { @@ -3237,7 +3236,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IBooleanKeyFrameAnimation { - WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, bool value) const; + auto InsertKeyFrame(float normalizedProgressKey, bool value) const; }; template <> struct consume { @@ -3246,9 +3245,9 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IBounceEasingFunction { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) Mode() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Bounces() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Bounciness() const; + [[nodiscard]] auto Mode() const; + [[nodiscard]] auto Bounces() const; + [[nodiscard]] auto Bounciness() const; }; template <> struct consume { @@ -3257,10 +3256,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(float) Acceleration() const; - WINRT_IMPL_AUTO(void) Acceleration(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Restitution() const; - WINRT_IMPL_AUTO(void) Restitution(float value) const; + [[nodiscard]] auto Acceleration() const; + auto Acceleration(float value) const; + [[nodiscard]] auto Restitution() const; + auto Restitution(float value) const; }; template <> struct consume { @@ -3269,10 +3268,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(float) Acceleration() const; - WINRT_IMPL_AUTO(void) Acceleration(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Restitution() const; - WINRT_IMPL_AUTO(void) Restitution(float value) const; + [[nodiscard]] auto Acceleration() const; + auto Acceleration(float value) const; + [[nodiscard]] auto Restitution() const; + auto Restitution(float value) const; }; template <> struct consume { @@ -3281,10 +3280,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(float) Acceleration() const; - WINRT_IMPL_AUTO(void) Acceleration(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Restitution() const; - WINRT_IMPL_AUTO(void) Restitution(float value) const; + [[nodiscard]] auto Acceleration() const; + auto Acceleration(float value) const; + [[nodiscard]] auto Restitution() const; + auto Restitution(float value) const; }; template <> struct consume { @@ -3293,7 +3292,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICircleEasingFunction { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) Mode() const; + [[nodiscard]] auto Mode() const; }; template <> struct consume { @@ -3302,10 +3301,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IColorKeyFrameAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorSpace) InterpolationColorSpace() const; - WINRT_IMPL_AUTO(void) InterpolationColorSpace(winrt::Windows::UI::Composition::CompositionColorSpace const& value) const; - WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Color const& value) const; - WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Color const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const; + [[nodiscard]] auto InterpolationColorSpace() const; + auto InterpolationColorSpace(winrt::Windows::UI::Composition::CompositionColorSpace const& value) const; + auto InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Color const& value) const; + auto InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Color const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const; }; template <> struct consume { @@ -3314,17 +3313,17 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionAnimation { - WINRT_IMPL_AUTO(void) ClearAllParameters() const; - WINRT_IMPL_AUTO(void) ClearParameter(param::hstring const& key) const; - WINRT_IMPL_AUTO(void) SetColorParameter(param::hstring const& key, winrt::Windows::UI::Color const& value) const; - WINRT_IMPL_AUTO(void) SetMatrix3x2Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float3x2 const& value) const; - WINRT_IMPL_AUTO(void) SetMatrix4x4Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float4x4 const& value) const; - WINRT_IMPL_AUTO(void) SetQuaternionParameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::quaternion const& value) const; - WINRT_IMPL_AUTO(void) SetReferenceParameter(param::hstring const& key, winrt::Windows::UI::Composition::CompositionObject const& compositionObject) const; - WINRT_IMPL_AUTO(void) SetScalarParameter(param::hstring const& key, float value) const; - WINRT_IMPL_AUTO(void) SetVector2Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float2 const& value) const; - WINRT_IMPL_AUTO(void) SetVector3Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float3 const& value) const; - WINRT_IMPL_AUTO(void) SetVector4Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float4 const& value) const; + auto ClearAllParameters() const; + auto ClearParameter(param::hstring const& key) const; + auto SetColorParameter(param::hstring const& key, winrt::Windows::UI::Color const& value) const; + auto SetMatrix3x2Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float3x2 const& value) const; + auto SetMatrix4x4Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float4x4 const& value) const; + auto SetQuaternionParameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::quaternion const& value) const; + auto SetReferenceParameter(param::hstring const& key, winrt::Windows::UI::Composition::CompositionObject const& compositionObject) const; + auto SetScalarParameter(param::hstring const& key, float value) const; + auto SetVector2Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float2 const& value) const; + auto SetVector3Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float3 const& value) const; + auto SetVector4Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float4 const& value) const; }; template <> struct consume { @@ -3333,9 +3332,9 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionAnimation2 { - WINRT_IMPL_AUTO(void) SetBooleanParameter(param::hstring const& key, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Target() const; - WINRT_IMPL_AUTO(void) Target(param::hstring const& value) const; + auto SetBooleanParameter(param::hstring const& key, bool value) const; + [[nodiscard]] auto Target() const; + auto Target(param::hstring const& value) const; }; template <> struct consume { @@ -3344,7 +3343,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionAnimation3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::InitialValueExpressionCollection) InitialValueExpressions() const; + [[nodiscard]] auto InitialValueExpressions() const; }; template <> struct consume { @@ -3353,7 +3352,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionAnimation4 { - WINRT_IMPL_AUTO(void) SetExpressionReferenceParameter(param::hstring const& parameterName, winrt::Windows::UI::Composition::IAnimationObject const& source) const; + auto SetExpressionReferenceParameter(param::hstring const& parameterName, winrt::Windows::UI::Composition::IAnimationObject const& source) const; }; template <> struct consume { @@ -3378,10 +3377,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionAnimationGroup { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Count() const; - WINRT_IMPL_AUTO(void) Add(winrt::Windows::UI::Composition::CompositionAnimation const& value) const; - WINRT_IMPL_AUTO(void) Remove(winrt::Windows::UI::Composition::CompositionAnimation const& value) const; - WINRT_IMPL_AUTO(void) RemoveAll() const; + [[nodiscard]] auto Count() const; + auto Add(winrt::Windows::UI::Composition::CompositionAnimation const& value) const; + auto Remove(winrt::Windows::UI::Composition::CompositionAnimation const& value) const; + auto RemoveAll() const; }; template <> struct consume { @@ -3422,12 +3421,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionCapabilities { - WINRT_IMPL_AUTO(bool) AreEffectsSupported() const; - WINRT_IMPL_AUTO(bool) AreEffectsFast() const; - WINRT_IMPL_AUTO(winrt::event_token) Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AreEffectsSupported() const; + auto AreEffectsFast() const; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Changed_revoker = impl::event_revoker::remove_Changed>; - [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Changed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Changed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3436,7 +3435,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionCapabilitiesStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionCapabilities) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -3453,20 +3452,20 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionClip2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) AnchorPoint() const; - WINRT_IMPL_AUTO(void) AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) CenterPoint() const; - WINRT_IMPL_AUTO(void) CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Offset() const; - WINRT_IMPL_AUTO(void) Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RotationAngle() const; - WINRT_IMPL_AUTO(void) RotationAngle(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RotationAngleInDegrees() const; - WINRT_IMPL_AUTO(void) RotationAngleInDegrees(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Scale() const; - WINRT_IMPL_AUTO(void) Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) TransformMatrix() const; - WINRT_IMPL_AUTO(void) TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const; + [[nodiscard]] auto AnchorPoint() const; + auto AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto CenterPoint() const; + auto CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto Offset() const; + auto Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto RotationAngle() const; + auto RotationAngle(float value) const; + [[nodiscard]] auto RotationAngleInDegrees() const; + auto RotationAngleInDegrees(float value) const; + [[nodiscard]] auto Scale() const; + auto Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto TransformMatrix() const; + auto TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const; }; template <> struct consume { @@ -3483,8 +3482,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionColorBrush { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; }; template <> struct consume { @@ -3493,10 +3492,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionColorGradientStop { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Offset() const; - WINRT_IMPL_AUTO(void) Offset(float value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Offset() const; + auto Offset(float value) const; }; template <> struct consume { @@ -3513,12 +3512,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionCommitBatch { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsActive() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnded() const; - WINRT_IMPL_AUTO(winrt::event_token) Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsActive() const; + [[nodiscard]] auto IsEnded() const; + auto Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Completed_revoker = impl::event_revoker::remove_Completed>; - [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Completed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Completed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3527,7 +3526,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionContainerShape { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionShapeCollection) Shapes() const; + [[nodiscard]] auto Shapes() const; }; template <> struct consume { @@ -3536,9 +3535,9 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionDrawingSurface { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXAlphaMode) AlphaMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) PixelFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) Size() const; + [[nodiscard]] auto AlphaMode() const; + [[nodiscard]] auto PixelFormat() const; + [[nodiscard]] auto Size() const; }; template <> struct consume { @@ -3547,12 +3546,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionDrawingSurface2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) SizeInt32() const; - WINRT_IMPL_AUTO(void) Resize(winrt::Windows::Graphics::SizeInt32 const& sizePixels) const; - WINRT_IMPL_AUTO(void) Scroll(winrt::Windows::Graphics::PointInt32 const& offset) const; - WINRT_IMPL_AUTO(void) Scroll(winrt::Windows::Graphics::PointInt32 const& offset, winrt::Windows::Graphics::RectInt32 const& scrollRect) const; - WINRT_IMPL_AUTO(void) ScrollWithClip(winrt::Windows::Graphics::PointInt32 const& offset, winrt::Windows::Graphics::RectInt32 const& clipRect) const; - WINRT_IMPL_AUTO(void) ScrollWithClip(winrt::Windows::Graphics::PointInt32 const& offset, winrt::Windows::Graphics::RectInt32 const& clipRect, winrt::Windows::Graphics::RectInt32 const& scrollRect) const; + [[nodiscard]] auto SizeInt32() const; + auto Resize(winrt::Windows::Graphics::SizeInt32 const& sizePixels) const; + auto Scroll(winrt::Windows::Graphics::PointInt32 const& offset) const; + auto Scroll(winrt::Windows::Graphics::PointInt32 const& offset, winrt::Windows::Graphics::RectInt32 const& scrollRect) const; + auto ScrollWithClip(winrt::Windows::Graphics::PointInt32 const& offset, winrt::Windows::Graphics::RectInt32 const& clipRect) const; + auto ScrollWithClip(winrt::Windows::Graphics::PointInt32 const& offset, winrt::Windows::Graphics::RectInt32 const& clipRect, winrt::Windows::Graphics::RectInt32 const& scrollRect) const; }; template <> struct consume { @@ -3585,17 +3584,17 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionEasingFunctionStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CubicBezierEasingFunction) CreateCubicBezierEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::Foundation::Numerics::float2 const& controlPoint1, winrt::Windows::Foundation::Numerics::float2 const& controlPoint2) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::LinearEasingFunction) CreateLinearEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::StepEasingFunction) CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::StepEasingFunction) CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, int32_t stepCount) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BackEasingFunction) CreateBackEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float amplitude) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BounceEasingFunction) CreateBounceEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t bounces, float bounciness) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CircleEasingFunction) CreateCircleEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ElasticEasingFunction) CreateElasticEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t oscillations, float springiness) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExponentialEasingFunction) CreateExponentialEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float exponent) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::PowerEasingFunction) CreatePowerEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float power) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SineEasingFunction) CreateSineEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode) const; + auto CreateCubicBezierEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::Foundation::Numerics::float2 const& controlPoint1, winrt::Windows::Foundation::Numerics::float2 const& controlPoint2) const; + auto CreateLinearEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner) const; + auto CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner) const; + auto CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, int32_t stepCount) const; + auto CreateBackEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float amplitude) const; + auto CreateBounceEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t bounces, float bounciness) const; + auto CreateCircleEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode) const; + auto CreateElasticEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t oscillations, float springiness) const; + auto CreateExponentialEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float exponent) const; + auto CreatePowerEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float power) const; + auto CreateSineEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode) const; }; template <> struct consume { @@ -3604,8 +3603,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionEffectBrush { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) GetSourceParameter(param::hstring const& name) const; - WINRT_IMPL_AUTO(void) SetSourceParameter(param::hstring const& name, winrt::Windows::UI::Composition::CompositionBrush const& source) const; + auto GetSourceParameter(param::hstring const& name) const; + auto SetSourceParameter(param::hstring const& name, winrt::Windows::UI::Composition::CompositionBrush const& source) const; }; template <> struct consume { @@ -3614,9 +3613,9 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionEffectFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectBrush) CreateBrush() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectFactoryLoadStatus) LoadStatus() const; + auto CreateBrush() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto LoadStatus() const; }; template <> struct consume { @@ -3625,7 +3624,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionEffectSourceParameter { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; + [[nodiscard]] auto Name() const; }; template <> struct consume { @@ -3634,7 +3633,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionEffectSourceParameterFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectSourceParameter) Create(param::hstring const& name) const; + auto Create(param::hstring const& name) const; }; template <> struct consume { @@ -3643,10 +3642,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionEllipseGeometry { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Center() const; - WINRT_IMPL_AUTO(void) Center(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Radius() const; - WINRT_IMPL_AUTO(void) Radius(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto Center() const; + auto Center(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto Radius() const; + auto Radius(winrt::Windows::Foundation::Numerics::float2 const& value) const; }; template <> struct consume { @@ -3655,10 +3654,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionGeometricClip { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGeometry) Geometry() const; - WINRT_IMPL_AUTO(void) Geometry(winrt::Windows::UI::Composition::CompositionGeometry const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionViewBox) ViewBox() const; - WINRT_IMPL_AUTO(void) ViewBox(winrt::Windows::UI::Composition::CompositionViewBox const& value) const; + [[nodiscard]] auto Geometry() const; + auto Geometry(winrt::Windows::UI::Composition::CompositionGeometry const& value) const; + [[nodiscard]] auto ViewBox() const; + auto ViewBox(winrt::Windows::UI::Composition::CompositionViewBox const& value) const; }; template <> struct consume { @@ -3667,12 +3666,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionGeometry { - [[nodiscard]] WINRT_IMPL_AUTO(float) TrimEnd() const; - WINRT_IMPL_AUTO(void) TrimEnd(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) TrimOffset() const; - WINRT_IMPL_AUTO(void) TrimOffset(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) TrimStart() const; - WINRT_IMPL_AUTO(void) TrimStart(float value) const; + [[nodiscard]] auto TrimEnd() const; + auto TrimEnd(float value) const; + [[nodiscard]] auto TrimOffset() const; + auto TrimOffset(float value) const; + [[nodiscard]] auto TrimStart() const; + auto TrimStart(float value) const; }; template <> struct consume { @@ -3689,25 +3688,25 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionGradientBrush { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) AnchorPoint() const; - WINRT_IMPL_AUTO(void) AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) CenterPoint() const; - WINRT_IMPL_AUTO(void) CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorGradientStopCollection) ColorStops() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGradientExtendMode) ExtendMode() const; - WINRT_IMPL_AUTO(void) ExtendMode(winrt::Windows::UI::Composition::CompositionGradientExtendMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorSpace) InterpolationSpace() const; - WINRT_IMPL_AUTO(void) InterpolationSpace(winrt::Windows::UI::Composition::CompositionColorSpace const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Offset() const; - WINRT_IMPL_AUTO(void) Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RotationAngle() const; - WINRT_IMPL_AUTO(void) RotationAngle(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RotationAngleInDegrees() const; - WINRT_IMPL_AUTO(void) RotationAngleInDegrees(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Scale() const; - WINRT_IMPL_AUTO(void) Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) TransformMatrix() const; - WINRT_IMPL_AUTO(void) TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const; + [[nodiscard]] auto AnchorPoint() const; + auto AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto CenterPoint() const; + auto CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto ColorStops() const; + [[nodiscard]] auto ExtendMode() const; + auto ExtendMode(winrt::Windows::UI::Composition::CompositionGradientExtendMode const& value) const; + [[nodiscard]] auto InterpolationSpace() const; + auto InterpolationSpace(winrt::Windows::UI::Composition::CompositionColorSpace const& value) const; + [[nodiscard]] auto Offset() const; + auto Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto RotationAngle() const; + auto RotationAngle(float value) const; + [[nodiscard]] auto RotationAngleInDegrees() const; + auto RotationAngleInDegrees(float value) const; + [[nodiscard]] auto Scale() const; + auto Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto TransformMatrix() const; + auto TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const; }; template <> struct consume { @@ -3716,8 +3715,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionGradientBrush2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionMappingMode) MappingMode() const; - WINRT_IMPL_AUTO(void) MappingMode(winrt::Windows::UI::Composition::CompositionMappingMode const& value) const; + [[nodiscard]] auto MappingMode() const; + auto MappingMode(winrt::Windows::UI::Composition::CompositionMappingMode const& value) const; }; template <> struct consume { @@ -3734,11 +3733,11 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionGraphicsDevice { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionDrawingSurface) CreateDrawingSurface(winrt::Windows::Foundation::Size const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const; - WINRT_IMPL_AUTO(winrt::event_token) RenderingDeviceReplaced(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CreateDrawingSurface(winrt::Windows::Foundation::Size const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const; + auto RenderingDeviceReplaced(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RenderingDeviceReplaced_revoker = impl::event_revoker::remove_RenderingDeviceReplaced>; - [[nodiscard]] RenderingDeviceReplaced_revoker RenderingDeviceReplaced(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RenderingDeviceReplaced(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RenderingDeviceReplaced(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RenderingDeviceReplaced(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3747,8 +3746,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionGraphicsDevice2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionDrawingSurface) CreateDrawingSurface2(winrt::Windows::Graphics::SizeInt32 const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionVirtualDrawingSurface) CreateVirtualDrawingSurface(winrt::Windows::Graphics::SizeInt32 const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const; + auto CreateDrawingSurface2(winrt::Windows::Graphics::SizeInt32 const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const; + auto CreateVirtualDrawingSurface(winrt::Windows::Graphics::SizeInt32 const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const; }; template <> struct consume { @@ -3757,8 +3756,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionGraphicsDevice3 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionMipmapSurface) CreateMipmapSurface(winrt::Windows::Graphics::SizeInt32 const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const; - WINRT_IMPL_AUTO(void) Trim() const; + auto CreateMipmapSurface(winrt::Windows::Graphics::SizeInt32 const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const; + auto Trim() const; }; template <> struct consume { @@ -3767,7 +3766,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionGraphicsDevice4 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CaptureAsync(winrt::Windows::UI::Composition::Visual const& captureVisual, winrt::Windows::Graphics::SizeInt32 const& size, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode, float sdrBoost) const; + auto CaptureAsync(winrt::Windows::UI::Composition::Visual const& captureVisual, winrt::Windows::Graphics::SizeInt32 const& size, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode, float sdrBoost) const; }; template <> struct consume { @@ -3776,7 +3775,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionLight { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::VisualUnorderedCollection) Targets() const; + [[nodiscard]] auto Targets() const; }; template <> struct consume { @@ -3785,7 +3784,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionLight2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::VisualUnorderedCollection) ExclusionsFromTargets() const; + [[nodiscard]] auto ExclusionsFromTargets() const; }; template <> struct consume { @@ -3794,8 +3793,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionLight3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; }; template <> struct consume { @@ -3812,10 +3811,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionLineGeometry { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Start() const; - WINRT_IMPL_AUTO(void) Start(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) End() const; - WINRT_IMPL_AUTO(void) End(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto Start() const; + auto Start(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto End() const; + auto End(winrt::Windows::Foundation::Numerics::float2 const& value) const; }; template <> struct consume { @@ -3824,10 +3823,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionLinearGradientBrush { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) EndPoint() const; - WINRT_IMPL_AUTO(void) EndPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) StartPoint() const; - WINRT_IMPL_AUTO(void) StartPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto EndPoint() const; + auto EndPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto StartPoint() const; + auto StartPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; }; template <> struct consume { @@ -3836,10 +3835,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionMaskBrush { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) Mask() const; - WINRT_IMPL_AUTO(void) Mask(winrt::Windows::UI::Composition::CompositionBrush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::UI::Composition::CompositionBrush const& value) const; + [[nodiscard]] auto Mask() const; + auto Mask(winrt::Windows::UI::Composition::CompositionBrush const& value) const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::UI::Composition::CompositionBrush const& value) const; }; template <> struct consume { @@ -3848,11 +3847,11 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionMipmapSurface { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) LevelCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXAlphaMode) AlphaMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) PixelFormat() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) SizeInt32() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionDrawingSurface) GetDrawingSurfaceForLevel(uint32_t level) const; + [[nodiscard]] auto LevelCount() const; + [[nodiscard]] auto AlphaMode() const; + [[nodiscard]] auto PixelFormat() const; + [[nodiscard]] auto SizeInt32() const; + auto GetDrawingSurfaceForLevel(uint32_t level) const; }; template <> struct consume { @@ -3861,30 +3860,30 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionNineGridBrush { - [[nodiscard]] WINRT_IMPL_AUTO(float) BottomInset() const; - WINRT_IMPL_AUTO(void) BottomInset(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) BottomInsetScale() const; - WINRT_IMPL_AUTO(void) BottomInsetScale(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCenterHollow() const; - WINRT_IMPL_AUTO(void) IsCenterHollow(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) LeftInset() const; - WINRT_IMPL_AUTO(void) LeftInset(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) LeftInsetScale() const; - WINRT_IMPL_AUTO(void) LeftInsetScale(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RightInset() const; - WINRT_IMPL_AUTO(void) RightInset(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RightInsetScale() const; - WINRT_IMPL_AUTO(void) RightInsetScale(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::UI::Composition::CompositionBrush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) TopInset() const; - WINRT_IMPL_AUTO(void) TopInset(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) TopInsetScale() const; - WINRT_IMPL_AUTO(void) TopInsetScale(float value) const; - WINRT_IMPL_AUTO(void) SetInsets(float inset) const; - WINRT_IMPL_AUTO(void) SetInsets(float left, float top, float right, float bottom) const; - WINRT_IMPL_AUTO(void) SetInsetScales(float scale) const; - WINRT_IMPL_AUTO(void) SetInsetScales(float left, float top, float right, float bottom) const; + [[nodiscard]] auto BottomInset() const; + auto BottomInset(float value) const; + [[nodiscard]] auto BottomInsetScale() const; + auto BottomInsetScale(float value) const; + [[nodiscard]] auto IsCenterHollow() const; + auto IsCenterHollow(bool value) const; + [[nodiscard]] auto LeftInset() const; + auto LeftInset(float value) const; + [[nodiscard]] auto LeftInsetScale() const; + auto LeftInsetScale(float value) const; + [[nodiscard]] auto RightInset() const; + auto RightInset(float value) const; + [[nodiscard]] auto RightInsetScale() const; + auto RightInsetScale(float value) const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::UI::Composition::CompositionBrush const& value) const; + [[nodiscard]] auto TopInset() const; + auto TopInset(float value) const; + [[nodiscard]] auto TopInsetScale() const; + auto TopInsetScale(float value) const; + auto SetInsets(float inset) const; + auto SetInsets(float left, float top, float right, float bottom) const; + auto SetInsetScales(float scale) const; + auto SetInsetScales(float left, float top, float right, float bottom) const; }; template <> struct consume { @@ -3893,11 +3892,11 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionObject { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Compositor) Compositor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) Dispatcher() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPropertySet) Properties() const; - WINRT_IMPL_AUTO(void) StartAnimation(param::hstring const& propertyName, winrt::Windows::UI::Composition::CompositionAnimation const& animation) const; - WINRT_IMPL_AUTO(void) StopAnimation(param::hstring const& propertyName) const; + [[nodiscard]] auto Compositor() const; + [[nodiscard]] auto Dispatcher() const; + [[nodiscard]] auto Properties() const; + auto StartAnimation(param::hstring const& propertyName, winrt::Windows::UI::Composition::CompositionAnimation const& animation) const; + auto StopAnimation(param::hstring const& propertyName) const; }; template <> struct consume { @@ -3906,12 +3905,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionObject2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Comment() const; - WINRT_IMPL_AUTO(void) Comment(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ImplicitAnimationCollection) ImplicitAnimations() const; - WINRT_IMPL_AUTO(void) ImplicitAnimations(winrt::Windows::UI::Composition::ImplicitAnimationCollection const& value) const; - WINRT_IMPL_AUTO(void) StartAnimationGroup(winrt::Windows::UI::Composition::ICompositionAnimationBase const& value) const; - WINRT_IMPL_AUTO(void) StopAnimationGroup(winrt::Windows::UI::Composition::ICompositionAnimationBase const& value) const; + [[nodiscard]] auto Comment() const; + auto Comment(param::hstring const& value) const; + [[nodiscard]] auto ImplicitAnimations() const; + auto ImplicitAnimations(winrt::Windows::UI::Composition::ImplicitAnimationCollection const& value) const; + auto StartAnimationGroup(winrt::Windows::UI::Composition::ICompositionAnimationBase const& value) const; + auto StopAnimationGroup(winrt::Windows::UI::Composition::ICompositionAnimationBase const& value) const; }; template <> struct consume { @@ -3920,7 +3919,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionObject3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) DispatcherQueue() const; + [[nodiscard]] auto DispatcherQueue() const; }; template <> struct consume { @@ -3929,7 +3928,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionObject4 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationController) TryGetAnimationController(param::hstring const& propertyName) const; + auto TryGetAnimationController(param::hstring const& propertyName) const; }; template <> struct consume { @@ -3946,8 +3945,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionObjectStatics { - WINRT_IMPL_AUTO(void) StartAnimationWithIAnimationObject(winrt::Windows::UI::Composition::IAnimationObject const& target, param::hstring const& propertyName, winrt::Windows::UI::Composition::CompositionAnimation const& animation) const; - WINRT_IMPL_AUTO(void) StartAnimationGroupWithIAnimationObject(winrt::Windows::UI::Composition::IAnimationObject const& target, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const; + auto StartAnimationWithIAnimationObject(winrt::Windows::UI::Composition::IAnimationObject const& target, param::hstring const& propertyName, winrt::Windows::UI::Composition::CompositionAnimation const& animation) const; + auto StartAnimationGroupWithIAnimationObject(winrt::Windows::UI::Composition::IAnimationObject const& target, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const; }; template <> struct consume { @@ -3964,7 +3963,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionPathFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPath) Create(winrt::Windows::Graphics::IGeometrySource2D const& source) const; + auto Create(winrt::Windows::Graphics::IGeometrySource2D const& source) const; }; template <> struct consume { @@ -3973,8 +3972,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionPathGeometry { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPath) Path() const; - WINRT_IMPL_AUTO(void) Path(winrt::Windows::UI::Composition::CompositionPath const& value) const; + [[nodiscard]] auto Path() const; + auto Path(winrt::Windows::UI::Composition::CompositionPath const& value) const; }; template <> struct consume { @@ -3983,16 +3982,16 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionProjectedShadow { - [[nodiscard]] WINRT_IMPL_AUTO(float) BlurRadiusMultiplier() const; - WINRT_IMPL_AUTO(void) BlurRadiusMultiplier(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionProjectedShadowCasterCollection) Casters() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionLight) LightSource() const; - WINRT_IMPL_AUTO(void) LightSource(winrt::Windows::UI::Composition::CompositionLight const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MaxBlurRadius() const; - WINRT_IMPL_AUTO(void) MaxBlurRadius(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MinBlurRadius() const; - WINRT_IMPL_AUTO(void) MinBlurRadius(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiverUnorderedCollection) Receivers() const; + [[nodiscard]] auto BlurRadiusMultiplier() const; + auto BlurRadiusMultiplier(float value) const; + [[nodiscard]] auto Casters() const; + [[nodiscard]] auto LightSource() const; + auto LightSource(winrt::Windows::UI::Composition::CompositionLight const& value) const; + [[nodiscard]] auto MaxBlurRadius() const; + auto MaxBlurRadius(float value) const; + [[nodiscard]] auto MinBlurRadius() const; + auto MinBlurRadius(float value) const; + [[nodiscard]] auto Receivers() const; }; template <> struct consume { @@ -4001,10 +4000,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionProjectedShadowCaster { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) Brush() const; - WINRT_IMPL_AUTO(void) Brush(winrt::Windows::UI::Composition::CompositionBrush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) CastingVisual() const; - WINRT_IMPL_AUTO(void) CastingVisual(winrt::Windows::UI::Composition::Visual const& value) const; + [[nodiscard]] auto Brush() const; + auto Brush(winrt::Windows::UI::Composition::CompositionBrush const& value) const; + [[nodiscard]] auto CastingVisual() const; + auto CastingVisual(winrt::Windows::UI::Composition::Visual const& value) const; }; template <> struct consume { @@ -4013,13 +4012,13 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Count() const; - WINRT_IMPL_AUTO(void) InsertAbove(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster, winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& reference) const; - WINRT_IMPL_AUTO(void) InsertAtBottom(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster) const; - WINRT_IMPL_AUTO(void) InsertAtTop(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster) const; - WINRT_IMPL_AUTO(void) InsertBelow(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster, winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& reference) const; - WINRT_IMPL_AUTO(void) Remove(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& caster) const; - WINRT_IMPL_AUTO(void) RemoveAll() const; + [[nodiscard]] auto Count() const; + auto InsertAbove(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster, winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& reference) const; + auto InsertAtBottom(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster) const; + auto InsertAtTop(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster) const; + auto InsertBelow(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster, winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& reference) const; + auto Remove(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& caster) const; + auto RemoveAll() const; }; template <> struct consume { @@ -4028,7 +4027,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollectionStatics { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxRespectedCasters() const; + [[nodiscard]] auto MaxRespectedCasters() const; }; template <> struct consume { @@ -4037,8 +4036,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionProjectedShadowReceiver { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) ReceivingVisual() const; - WINRT_IMPL_AUTO(void) ReceivingVisual(winrt::Windows::UI::Composition::Visual const& value) const; + [[nodiscard]] auto ReceivingVisual() const; + auto ReceivingVisual(winrt::Windows::UI::Composition::Visual const& value) const; }; template <> struct consume { @@ -4047,10 +4046,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection { - WINRT_IMPL_AUTO(void) Add(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiver const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Count() const; - WINRT_IMPL_AUTO(void) Remove(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiver const& value) const; - WINRT_IMPL_AUTO(void) RemoveAll() const; + auto Add(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiver const& value) const; + [[nodiscard]] auto Count() const; + auto Remove(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiver const& value) const; + auto RemoveAll() const; }; template <> struct consume { @@ -4059,22 +4058,22 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionPropertySet { - WINRT_IMPL_AUTO(void) InsertColor(param::hstring const& propertyName, winrt::Windows::UI::Color const& value) const; - WINRT_IMPL_AUTO(void) InsertMatrix3x2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3x2 const& value) const; - WINRT_IMPL_AUTO(void) InsertMatrix4x4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4x4 const& value) const; - WINRT_IMPL_AUTO(void) InsertQuaternion(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::quaternion const& value) const; - WINRT_IMPL_AUTO(void) InsertScalar(param::hstring const& propertyName, float value) const; - WINRT_IMPL_AUTO(void) InsertVector2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float2 const& value) const; - WINRT_IMPL_AUTO(void) InsertVector3(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3 const& value) const; - WINRT_IMPL_AUTO(void) InsertVector4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4 const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) TryGetColor(param::hstring const& propertyName, winrt::Windows::UI::Color& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) TryGetMatrix3x2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3x2& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) TryGetMatrix4x4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4x4& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) TryGetQuaternion(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::quaternion& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) TryGetScalar(param::hstring const& propertyName, float& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) TryGetVector2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float2& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) TryGetVector3(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) TryGetVector4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4& value) const; + auto InsertColor(param::hstring const& propertyName, winrt::Windows::UI::Color const& value) const; + auto InsertMatrix3x2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3x2 const& value) const; + auto InsertMatrix4x4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4x4 const& value) const; + auto InsertQuaternion(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::quaternion const& value) const; + auto InsertScalar(param::hstring const& propertyName, float value) const; + auto InsertVector2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float2 const& value) const; + auto InsertVector3(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3 const& value) const; + auto InsertVector4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4 const& value) const; + auto TryGetColor(param::hstring const& propertyName, winrt::Windows::UI::Color& value) const; + auto TryGetMatrix3x2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3x2& value) const; + auto TryGetMatrix4x4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4x4& value) const; + auto TryGetQuaternion(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::quaternion& value) const; + auto TryGetScalar(param::hstring const& propertyName, float& value) const; + auto TryGetVector2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float2& value) const; + auto TryGetVector3(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3& value) const; + auto TryGetVector4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4& value) const; }; template <> struct consume { @@ -4083,8 +4082,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionPropertySet2 { - WINRT_IMPL_AUTO(void) InsertBoolean(param::hstring const& propertyName, bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) TryGetBoolean(param::hstring const& propertyName, bool& value) const; + auto InsertBoolean(param::hstring const& propertyName, bool value) const; + auto TryGetBoolean(param::hstring const& propertyName, bool& value) const; }; template <> struct consume { @@ -4093,12 +4092,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionRadialGradientBrush { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) EllipseCenter() const; - WINRT_IMPL_AUTO(void) EllipseCenter(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) EllipseRadius() const; - WINRT_IMPL_AUTO(void) EllipseRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) GradientOriginOffset() const; - WINRT_IMPL_AUTO(void) GradientOriginOffset(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto EllipseCenter() const; + auto EllipseCenter(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto EllipseRadius() const; + auto EllipseRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto GradientOriginOffset() const; + auto GradientOriginOffset(winrt::Windows::Foundation::Numerics::float2 const& value) const; }; template <> struct consume { @@ -4107,10 +4106,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionRectangleGeometry { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Offset() const; - WINRT_IMPL_AUTO(void) Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Size() const; - WINRT_IMPL_AUTO(void) Size(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto Offset() const; + auto Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto Size() const; + auto Size(winrt::Windows::Foundation::Numerics::float2 const& value) const; }; template <> struct consume { @@ -4119,12 +4118,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) CornerRadius() const; - WINRT_IMPL_AUTO(void) CornerRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Offset() const; - WINRT_IMPL_AUTO(void) Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Size() const; - WINRT_IMPL_AUTO(void) Size(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto CornerRadius() const; + auto CornerRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto Offset() const; + auto Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto Size() const; + auto Size(winrt::Windows::Foundation::Numerics::float2 const& value) const; }; template <> struct consume { @@ -4133,15 +4132,15 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionScopedBatch { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsActive() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnded() const; - WINRT_IMPL_AUTO(void) End() const; - WINRT_IMPL_AUTO(void) Resume() const; - WINRT_IMPL_AUTO(void) Suspend() const; - WINRT_IMPL_AUTO(winrt::event_token) Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsActive() const; + [[nodiscard]] auto IsEnded() const; + auto End() const; + auto Resume() const; + auto Suspend() const; + auto Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Completed_revoker = impl::event_revoker::remove_Completed>; - [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Completed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Completed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -4166,18 +4165,18 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionShape { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) CenterPoint() const; - WINRT_IMPL_AUTO(void) CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Offset() const; - WINRT_IMPL_AUTO(void) Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RotationAngle() const; - WINRT_IMPL_AUTO(void) RotationAngle(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RotationAngleInDegrees() const; - WINRT_IMPL_AUTO(void) RotationAngleInDegrees(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Scale() const; - WINRT_IMPL_AUTO(void) Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) TransformMatrix() const; - WINRT_IMPL_AUTO(void) TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const; + [[nodiscard]] auto CenterPoint() const; + auto CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto Offset() const; + auto Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto RotationAngle() const; + auto RotationAngle(float value) const; + [[nodiscard]] auto RotationAngleInDegrees() const; + auto RotationAngleInDegrees(float value) const; + [[nodiscard]] auto Scale() const; + auto Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto TransformMatrix() const; + auto TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const; }; template <> struct consume { @@ -4194,29 +4193,29 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionSpriteShape { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) FillBrush() const; - WINRT_IMPL_AUTO(void) FillBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGeometry) Geometry() const; - WINRT_IMPL_AUTO(void) Geometry(winrt::Windows::UI::Composition::CompositionGeometry const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStrokeNonScaling() const; - WINRT_IMPL_AUTO(void) IsStrokeNonScaling(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) StrokeBrush() const; - WINRT_IMPL_AUTO(void) StrokeBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStrokeDashArray) StrokeDashArray() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStrokeCap) StrokeDashCap() const; - WINRT_IMPL_AUTO(void) StrokeDashCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) StrokeDashOffset() const; - WINRT_IMPL_AUTO(void) StrokeDashOffset(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStrokeCap) StrokeEndCap() const; - WINRT_IMPL_AUTO(void) StrokeEndCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStrokeLineJoin) StrokeLineJoin() const; - WINRT_IMPL_AUTO(void) StrokeLineJoin(winrt::Windows::UI::Composition::CompositionStrokeLineJoin const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) StrokeMiterLimit() const; - WINRT_IMPL_AUTO(void) StrokeMiterLimit(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStrokeCap) StrokeStartCap() const; - WINRT_IMPL_AUTO(void) StrokeStartCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) StrokeThickness() const; - WINRT_IMPL_AUTO(void) StrokeThickness(float value) const; + [[nodiscard]] auto FillBrush() const; + auto FillBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const; + [[nodiscard]] auto Geometry() const; + auto Geometry(winrt::Windows::UI::Composition::CompositionGeometry const& value) const; + [[nodiscard]] auto IsStrokeNonScaling() const; + auto IsStrokeNonScaling(bool value) const; + [[nodiscard]] auto StrokeBrush() const; + auto StrokeBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const; + [[nodiscard]] auto StrokeDashArray() const; + [[nodiscard]] auto StrokeDashCap() const; + auto StrokeDashCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const; + [[nodiscard]] auto StrokeDashOffset() const; + auto StrokeDashOffset(float value) const; + [[nodiscard]] auto StrokeEndCap() const; + auto StrokeEndCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const; + [[nodiscard]] auto StrokeLineJoin() const; + auto StrokeLineJoin(winrt::Windows::UI::Composition::CompositionStrokeLineJoin const& value) const; + [[nodiscard]] auto StrokeMiterLimit() const; + auto StrokeMiterLimit(float value) const; + [[nodiscard]] auto StrokeStartCap() const; + auto StrokeStartCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const; + [[nodiscard]] auto StrokeThickness() const; + auto StrokeThickness(float value) const; }; template <> struct consume { @@ -4233,16 +4232,16 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionSurfaceBrush { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode) BitmapInterpolationMode() const; - WINRT_IMPL_AUTO(void) BitmapInterpolationMode(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) HorizontalAlignmentRatio() const; - WINRT_IMPL_AUTO(void) HorizontalAlignmentRatio(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStretch) Stretch() const; - WINRT_IMPL_AUTO(void) Stretch(winrt::Windows::UI::Composition::CompositionStretch const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ICompositionSurface) Surface() const; - WINRT_IMPL_AUTO(void) Surface(winrt::Windows::UI::Composition::ICompositionSurface const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) VerticalAlignmentRatio() const; - WINRT_IMPL_AUTO(void) VerticalAlignmentRatio(float value) const; + [[nodiscard]] auto BitmapInterpolationMode() const; + auto BitmapInterpolationMode(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode const& value) const; + [[nodiscard]] auto HorizontalAlignmentRatio() const; + auto HorizontalAlignmentRatio(float value) const; + [[nodiscard]] auto Stretch() const; + auto Stretch(winrt::Windows::UI::Composition::CompositionStretch const& value) const; + [[nodiscard]] auto Surface() const; + auto Surface(winrt::Windows::UI::Composition::ICompositionSurface const& value) const; + [[nodiscard]] auto VerticalAlignmentRatio() const; + auto VerticalAlignmentRatio(float value) const; }; template <> struct consume { @@ -4251,20 +4250,20 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionSurfaceBrush2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) AnchorPoint() const; - WINRT_IMPL_AUTO(void) AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) CenterPoint() const; - WINRT_IMPL_AUTO(void) CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Offset() const; - WINRT_IMPL_AUTO(void) Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RotationAngle() const; - WINRT_IMPL_AUTO(void) RotationAngle(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RotationAngleInDegrees() const; - WINRT_IMPL_AUTO(void) RotationAngleInDegrees(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Scale() const; - WINRT_IMPL_AUTO(void) Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) TransformMatrix() const; - WINRT_IMPL_AUTO(void) TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const; + [[nodiscard]] auto AnchorPoint() const; + auto AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto CenterPoint() const; + auto CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto Offset() const; + auto Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto RotationAngle() const; + auto RotationAngle(float value) const; + [[nodiscard]] auto RotationAngleInDegrees() const; + auto RotationAngleInDegrees(float value) const; + [[nodiscard]] auto Scale() const; + auto Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto TransformMatrix() const; + auto TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const; }; template <> struct consume { @@ -4273,8 +4272,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionSurfaceBrush3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) SnapToPixels() const; - WINRT_IMPL_AUTO(void) SnapToPixels(bool value) const; + [[nodiscard]] auto SnapToPixels() const; + auto SnapToPixels(bool value) const; }; template <> struct consume { @@ -4283,7 +4282,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionSurfaceFacade { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ICompositionSurface) GetRealSurface() const; + auto GetRealSurface() const; }; template <> struct consume { @@ -4292,8 +4291,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionTarget { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) Root() const; - WINRT_IMPL_AUTO(void) Root(winrt::Windows::UI::Composition::Visual const& value) const; + [[nodiscard]] auto Root() const; + auto Root(winrt::Windows::UI::Composition::Visual const& value) const; }; template <> struct consume { @@ -4326,16 +4325,16 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionViewBox { - [[nodiscard]] WINRT_IMPL_AUTO(float) HorizontalAlignmentRatio() const; - WINRT_IMPL_AUTO(void) HorizontalAlignmentRatio(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Offset() const; - WINRT_IMPL_AUTO(void) Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Size() const; - WINRT_IMPL_AUTO(void) Size(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStretch) Stretch() const; - WINRT_IMPL_AUTO(void) Stretch(winrt::Windows::UI::Composition::CompositionStretch const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) VerticalAlignmentRatio() const; - WINRT_IMPL_AUTO(void) VerticalAlignmentRatio(float value) const; + [[nodiscard]] auto HorizontalAlignmentRatio() const; + auto HorizontalAlignmentRatio(float value) const; + [[nodiscard]] auto Offset() const; + auto Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto Size() const; + auto Size(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto Stretch() const; + auto Stretch(winrt::Windows::UI::Composition::CompositionStretch const& value) const; + [[nodiscard]] auto VerticalAlignmentRatio() const; + auto VerticalAlignmentRatio(float value) const; }; template <> struct consume { @@ -4344,7 +4343,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionVirtualDrawingSurface { - WINRT_IMPL_AUTO(void) Trim(array_view rects) const; + auto Trim(array_view rects) const; }; template <> struct consume { @@ -4361,12 +4360,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositionVisualSurface { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) SourceVisual() const; - WINRT_IMPL_AUTO(void) SourceVisual(winrt::Windows::UI::Composition::Visual const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) SourceOffset() const; - WINRT_IMPL_AUTO(void) SourceOffset(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) SourceSize() const; - WINRT_IMPL_AUTO(void) SourceSize(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto SourceVisual() const; + auto SourceVisual(winrt::Windows::UI::Composition::Visual const& value) const; + [[nodiscard]] auto SourceOffset() const; + auto SourceOffset(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto SourceSize() const; + auto SourceSize(winrt::Windows::Foundation::Numerics::float2 const& value) const; }; template <> struct consume { @@ -4375,30 +4374,30 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositor { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ColorKeyFrameAnimation) CreateColorKeyFrameAnimation() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorBrush) CreateColorBrush() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorBrush) CreateColorBrush(winrt::Windows::UI::Color const& color) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ContainerVisual) CreateContainerVisual() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CubicBezierEasingFunction) CreateCubicBezierEasingFunction(winrt::Windows::Foundation::Numerics::float2 const& controlPoint1, winrt::Windows::Foundation::Numerics::float2 const& controlPoint2) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectFactory) CreateEffectFactory(winrt::Windows::Graphics::Effects::IGraphicsEffect const& graphicsEffect) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectFactory) CreateEffectFactory(winrt::Windows::Graphics::Effects::IGraphicsEffect const& graphicsEffect, param::iterable const& animatableProperties) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) CreateExpressionAnimation() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) CreateExpressionAnimation(param::hstring const& expression) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::InsetClip) CreateInsetClip() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::InsetClip) CreateInsetClip(float leftInset, float topInset, float rightInset, float bottomInset) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::LinearEasingFunction) CreateLinearEasingFunction() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPropertySet) CreatePropertySet() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::QuaternionKeyFrameAnimation) CreateQuaternionKeyFrameAnimation() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ScalarKeyFrameAnimation) CreateScalarKeyFrameAnimation() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionScopedBatch) CreateScopedBatch(winrt::Windows::UI::Composition::CompositionBatchTypes const& batchType) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SpriteVisual) CreateSpriteVisual() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionSurfaceBrush) CreateSurfaceBrush() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionSurfaceBrush) CreateSurfaceBrush(winrt::Windows::UI::Composition::ICompositionSurface const& surface) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionTarget) CreateTargetForCurrentView() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Vector2KeyFrameAnimation) CreateVector2KeyFrameAnimation() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Vector3KeyFrameAnimation) CreateVector3KeyFrameAnimation() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Vector4KeyFrameAnimation) CreateVector4KeyFrameAnimation() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionCommitBatch) GetCommitBatch(winrt::Windows::UI::Composition::CompositionBatchTypes const& batchType) const; + auto CreateColorKeyFrameAnimation() const; + auto CreateColorBrush() const; + auto CreateColorBrush(winrt::Windows::UI::Color const& color) const; + auto CreateContainerVisual() const; + auto CreateCubicBezierEasingFunction(winrt::Windows::Foundation::Numerics::float2 const& controlPoint1, winrt::Windows::Foundation::Numerics::float2 const& controlPoint2) const; + auto CreateEffectFactory(winrt::Windows::Graphics::Effects::IGraphicsEffect const& graphicsEffect) const; + auto CreateEffectFactory(winrt::Windows::Graphics::Effects::IGraphicsEffect const& graphicsEffect, param::iterable const& animatableProperties) const; + auto CreateExpressionAnimation() const; + auto CreateExpressionAnimation(param::hstring const& expression) const; + auto CreateInsetClip() const; + auto CreateInsetClip(float leftInset, float topInset, float rightInset, float bottomInset) const; + auto CreateLinearEasingFunction() const; + auto CreatePropertySet() const; + auto CreateQuaternionKeyFrameAnimation() const; + auto CreateScalarKeyFrameAnimation() const; + auto CreateScopedBatch(winrt::Windows::UI::Composition::CompositionBatchTypes const& batchType) const; + auto CreateSpriteVisual() const; + auto CreateSurfaceBrush() const; + auto CreateSurfaceBrush(winrt::Windows::UI::Composition::ICompositionSurface const& surface) const; + auto CreateTargetForCurrentView() const; + auto CreateVector2KeyFrameAnimation() const; + auto CreateVector3KeyFrameAnimation() const; + auto CreateVector4KeyFrameAnimation() const; + auto GetCommitBatch(winrt::Windows::UI::Composition::CompositionBatchTypes const& batchType) const; }; template <> struct consume { @@ -4407,19 +4406,19 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositor2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AmbientLight) CreateAmbientLight() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionAnimationGroup) CreateAnimationGroup() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBackdropBrush) CreateBackdropBrush() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::DistantLight) CreateDistantLight() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::DropShadow) CreateDropShadow() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ImplicitAnimationCollection) CreateImplicitAnimationCollection() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::LayerVisual) CreateLayerVisual() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionMaskBrush) CreateMaskBrush() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionNineGridBrush) CreateNineGridBrush() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::PointLight) CreatePointLight() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SpotLight) CreateSpotLight() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::StepEasingFunction) CreateStepEasingFunction() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::StepEasingFunction) CreateStepEasingFunction(int32_t stepCount) const; + auto CreateAmbientLight() const; + auto CreateAnimationGroup() const; + auto CreateBackdropBrush() const; + auto CreateDistantLight() const; + auto CreateDropShadow() const; + auto CreateImplicitAnimationCollection() const; + auto CreateLayerVisual() const; + auto CreateMaskBrush() const; + auto CreateNineGridBrush() const; + auto CreatePointLight() const; + auto CreateSpotLight() const; + auto CreateStepEasingFunction() const; + auto CreateStepEasingFunction(int32_t stepCount) const; }; template <> struct consume { @@ -4428,7 +4427,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositor3 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBackdropBrush) CreateHostBackdropBrush() const; + auto CreateHostBackdropBrush() const; }; template <> struct consume { @@ -4437,12 +4436,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositor4 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorGradientStop) CreateColorGradientStop() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorGradientStop) CreateColorGradientStop(float offset, winrt::Windows::UI::Color const& color) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionLinearGradientBrush) CreateLinearGradientBrush() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SpringScalarNaturalMotionAnimation) CreateSpringScalarAnimation() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SpringVector2NaturalMotionAnimation) CreateSpringVector2Animation() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SpringVector3NaturalMotionAnimation) CreateSpringVector3Animation() const; + auto CreateColorGradientStop() const; + auto CreateColorGradientStop(float offset, winrt::Windows::UI::Color const& color) const; + auto CreateLinearGradientBrush() const; + auto CreateSpringScalarAnimation() const; + auto CreateSpringVector2Animation() const; + auto CreateSpringVector3Animation() const; }; template <> struct consume { @@ -4451,26 +4450,26 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositor5 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Comment() const; - WINRT_IMPL_AUTO(void) Comment(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) GlobalPlaybackRate() const; - WINRT_IMPL_AUTO(void) GlobalPlaybackRate(float value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BounceScalarNaturalMotionAnimation) CreateBounceScalarAnimation() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BounceVector2NaturalMotionAnimation) CreateBounceVector2Animation() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BounceVector3NaturalMotionAnimation) CreateBounceVector3Animation() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionContainerShape) CreateContainerShape() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEllipseGeometry) CreateEllipseGeometry() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionLineGeometry) CreateLineGeometry() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPathGeometry) CreatePathGeometry() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPathGeometry) CreatePathGeometry(winrt::Windows::UI::Composition::CompositionPath const& path) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::PathKeyFrameAnimation) CreatePathKeyFrameAnimation() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionRectangleGeometry) CreateRectangleGeometry() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionRoundedRectangleGeometry) CreateRoundedRectangleGeometry() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ShapeVisual) CreateShapeVisual() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionSpriteShape) CreateSpriteShape() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionSpriteShape) CreateSpriteShape(winrt::Windows::UI::Composition::CompositionGeometry const& geometry) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionViewBox) CreateViewBox() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RequestCommitAsync() const; + [[nodiscard]] auto Comment() const; + auto Comment(param::hstring const& value) const; + [[nodiscard]] auto GlobalPlaybackRate() const; + auto GlobalPlaybackRate(float value) const; + auto CreateBounceScalarAnimation() const; + auto CreateBounceVector2Animation() const; + auto CreateBounceVector3Animation() const; + auto CreateContainerShape() const; + auto CreateEllipseGeometry() const; + auto CreateLineGeometry() const; + auto CreatePathGeometry() const; + auto CreatePathGeometry(winrt::Windows::UI::Composition::CompositionPath const& path) const; + auto CreatePathKeyFrameAnimation() const; + auto CreateRectangleGeometry() const; + auto CreateRoundedRectangleGeometry() const; + auto CreateShapeVisual() const; + auto CreateSpriteShape() const; + auto CreateSpriteShape(winrt::Windows::UI::Composition::CompositionGeometry const& geometry) const; + auto CreateViewBox() const; + auto RequestCommitAsync() const; }; template <> struct consume { @@ -4479,11 +4478,11 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositor6 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGeometricClip) CreateGeometricClip() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGeometricClip) CreateGeometricClip(winrt::Windows::UI::Composition::CompositionGeometry const& geometry) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RedirectVisual) CreateRedirectVisual() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RedirectVisual) CreateRedirectVisual(winrt::Windows::UI::Composition::Visual const& source) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BooleanKeyFrameAnimation) CreateBooleanKeyFrameAnimation() const; + auto CreateGeometricClip() const; + auto CreateGeometricClip(winrt::Windows::UI::Composition::CompositionGeometry const& geometry) const; + auto CreateRedirectVisual() const; + auto CreateRedirectVisual(winrt::Windows::UI::Composition::Visual const& source) const; + auto CreateBooleanKeyFrameAnimation() const; }; template <> struct consume { @@ -4492,11 +4491,11 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositor7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) DispatcherQueue() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationPropertyInfo) CreateAnimationPropertyInfo() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RectangleClip) CreateRectangleClip() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RectangleClip) CreateRectangleClip(float left, float top, float right, float bottom) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RectangleClip) CreateRectangleClip(float left, float top, float right, float bottom, winrt::Windows::Foundation::Numerics::float2 const& topLeftRadius, winrt::Windows::Foundation::Numerics::float2 const& topRightRadius, winrt::Windows::Foundation::Numerics::float2 const& bottomRightRadius, winrt::Windows::Foundation::Numerics::float2 const& bottomLeftRadius) const; + [[nodiscard]] auto DispatcherQueue() const; + auto CreateAnimationPropertyInfo() const; + auto CreateRectangleClip() const; + auto CreateRectangleClip(float left, float top, float right, float bottom) const; + auto CreateRectangleClip(float left, float top, float right, float bottom, winrt::Windows::Foundation::Numerics::float2 const& topLeftRadius, winrt::Windows::Foundation::Numerics::float2 const& topRightRadius, winrt::Windows::Foundation::Numerics::float2 const& bottomRightRadius, winrt::Windows::Foundation::Numerics::float2 const& bottomLeftRadius) const; }; template <> struct consume { @@ -4505,8 +4504,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositorStatics { - [[nodiscard]] WINRT_IMPL_AUTO(float) MaxGlobalPlaybackRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MinGlobalPlaybackRate() const; + [[nodiscard]] auto MaxGlobalPlaybackRate() const; + [[nodiscard]] auto MinGlobalPlaybackRate() const; }; template <> struct consume { @@ -4515,9 +4514,9 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositorWithProjectedShadow { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster) CreateProjectedShadowCaster() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionProjectedShadow) CreateProjectedShadow() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiver) CreateProjectedShadowReceiver() const; + auto CreateProjectedShadowCaster() const; + auto CreateProjectedShadow() const; + auto CreateProjectedShadowReceiver() const; }; template <> struct consume { @@ -4526,7 +4525,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositorWithRadialGradient { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionRadialGradientBrush) CreateRadialGradientBrush() const; + auto CreateRadialGradientBrush() const; }; template <> struct consume { @@ -4535,7 +4534,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICompositorWithVisualSurface { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionVisualSurface) CreateVisualSurface() const; + auto CreateVisualSurface() const; }; template <> struct consume { @@ -4544,7 +4543,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IContainerVisual { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::VisualCollection) Children() const; + [[nodiscard]] auto Children() const; }; template <> struct consume { @@ -4561,8 +4560,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ICubicBezierEasingFunction { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) ControlPoint1() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) ControlPoint2() const; + [[nodiscard]] auto ControlPoint1() const; + [[nodiscard]] auto ControlPoint2() const; }; template <> struct consume { @@ -4571,10 +4570,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IDelegatedInkTrailVisual { - WINRT_IMPL_AUTO(uint32_t) AddTrailPoints(array_view inkPoints) const; - WINRT_IMPL_AUTO(uint32_t) AddTrailPointsWithPrediction(array_view inkPoints, array_view predictedInkPoints) const; - WINRT_IMPL_AUTO(void) RemoveTrailPoints(uint32_t generationId) const; - WINRT_IMPL_AUTO(void) StartNewTrail(winrt::Windows::UI::Color const& color) const; + auto AddTrailPoints(array_view inkPoints) const; + auto AddTrailPointsWithPrediction(array_view inkPoints, array_view predictedInkPoints) const; + auto RemoveTrailPoints(uint32_t generationId) const; + auto StartNewTrail(winrt::Windows::UI::Color const& color) const; }; template <> struct consume { @@ -4583,8 +4582,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IDelegatedInkTrailVisualStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::DelegatedInkTrailVisual) Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::DelegatedInkTrailVisual) CreateForSwapChain(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::UI::Composition::ICompositionSurface const& swapChain) const; + auto Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; + auto CreateForSwapChain(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::UI::Composition::ICompositionSurface const& swapChain) const; }; template <> struct consume { @@ -4593,12 +4592,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IDistantLight { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) CoordinateSpace() const; - WINRT_IMPL_AUTO(void) CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Direction() const; - WINRT_IMPL_AUTO(void) Direction(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto CoordinateSpace() const; + auto CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const; + [[nodiscard]] auto Direction() const; + auto Direction(winrt::Windows::Foundation::Numerics::float3 const& value) const; }; template <> struct consume { @@ -4607,8 +4606,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IDistantLight2 { - [[nodiscard]] WINRT_IMPL_AUTO(float) Intensity() const; - WINRT_IMPL_AUTO(void) Intensity(float value) const; + [[nodiscard]] auto Intensity() const; + auto Intensity(float value) const; }; template <> struct consume { @@ -4617,16 +4616,16 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IDropShadow { - [[nodiscard]] WINRT_IMPL_AUTO(float) BlurRadius() const; - WINRT_IMPL_AUTO(void) BlurRadius(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) Mask() const; - WINRT_IMPL_AUTO(void) Mask(winrt::Windows::UI::Composition::CompositionBrush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Offset() const; - WINRT_IMPL_AUTO(void) Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Opacity() const; - WINRT_IMPL_AUTO(void) Opacity(float value) const; + [[nodiscard]] auto BlurRadius() const; + auto BlurRadius(float value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Mask() const; + auto Mask(winrt::Windows::UI::Composition::CompositionBrush const& value) const; + [[nodiscard]] auto Offset() const; + auto Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Opacity() const; + auto Opacity(float value) const; }; template <> struct consume { @@ -4635,8 +4634,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IDropShadow2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionDropShadowSourcePolicy) SourcePolicy() const; - WINRT_IMPL_AUTO(void) SourcePolicy(winrt::Windows::UI::Composition::CompositionDropShadowSourcePolicy const& value) const; + [[nodiscard]] auto SourcePolicy() const; + auto SourcePolicy(winrt::Windows::UI::Composition::CompositionDropShadowSourcePolicy const& value) const; }; template <> struct consume { @@ -4645,9 +4644,9 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IElasticEasingFunction { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) Mode() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Oscillations() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Springiness() const; + [[nodiscard]] auto Mode() const; + [[nodiscard]] auto Oscillations() const; + [[nodiscard]] auto Springiness() const; }; template <> struct consume { @@ -4656,8 +4655,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IExponentialEasingFunction { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) Mode() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Exponent() const; + [[nodiscard]] auto Mode() const; + [[nodiscard]] auto Exponent() const; }; template <> struct consume { @@ -4666,8 +4665,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IExpressionAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Expression() const; - WINRT_IMPL_AUTO(void) Expression(param::hstring const& value) const; + [[nodiscard]] auto Expression() const; + auto Expression(param::hstring const& value) const; }; template <> struct consume { @@ -4684,14 +4683,14 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IInsetClip { - [[nodiscard]] WINRT_IMPL_AUTO(float) BottomInset() const; - WINRT_IMPL_AUTO(void) BottomInset(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) LeftInset() const; - WINRT_IMPL_AUTO(void) LeftInset(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RightInset() const; - WINRT_IMPL_AUTO(void) RightInset(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) TopInset() const; - WINRT_IMPL_AUTO(void) TopInset(float value) const; + [[nodiscard]] auto BottomInset() const; + auto BottomInset(float value) const; + [[nodiscard]] auto LeftInset() const; + auto LeftInset(float value) const; + [[nodiscard]] auto RightInset() const; + auto RightInset(float value) const; + [[nodiscard]] auto TopInset() const; + auto TopInset(float value) const; }; template <> struct consume { @@ -4700,19 +4699,19 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IKeyFrameAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DelayTime() const; - WINRT_IMPL_AUTO(void) DelayTime(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationIterationBehavior) IterationBehavior() const; - WINRT_IMPL_AUTO(void) IterationBehavior(winrt::Windows::UI::Composition::AnimationIterationBehavior const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) IterationCount() const; - WINRT_IMPL_AUTO(void) IterationCount(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) KeyFrameCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationStopBehavior) StopBehavior() const; - WINRT_IMPL_AUTO(void) StopBehavior(winrt::Windows::UI::Composition::AnimationStopBehavior const& value) const; - WINRT_IMPL_AUTO(void) InsertExpressionKeyFrame(float normalizedProgressKey, param::hstring const& value) const; - WINRT_IMPL_AUTO(void) InsertExpressionKeyFrame(float normalizedProgressKey, param::hstring const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const; + [[nodiscard]] auto DelayTime() const; + auto DelayTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto IterationBehavior() const; + auto IterationBehavior(winrt::Windows::UI::Composition::AnimationIterationBehavior const& value) const; + [[nodiscard]] auto IterationCount() const; + auto IterationCount(int32_t value) const; + [[nodiscard]] auto KeyFrameCount() const; + [[nodiscard]] auto StopBehavior() const; + auto StopBehavior(winrt::Windows::UI::Composition::AnimationStopBehavior const& value) const; + auto InsertExpressionKeyFrame(float normalizedProgressKey, param::hstring const& value) const; + auto InsertExpressionKeyFrame(float normalizedProgressKey, param::hstring const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const; }; template <> struct consume { @@ -4721,8 +4720,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IKeyFrameAnimation2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationDirection) Direction() const; - WINRT_IMPL_AUTO(void) Direction(winrt::Windows::UI::Composition::AnimationDirection const& value) const; + [[nodiscard]] auto Direction() const; + auto Direction(winrt::Windows::UI::Composition::AnimationDirection const& value) const; }; template <> struct consume { @@ -4731,8 +4730,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IKeyFrameAnimation3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationDelayBehavior) DelayBehavior() const; - WINRT_IMPL_AUTO(void) DelayBehavior(winrt::Windows::UI::Composition::AnimationDelayBehavior const& value) const; + [[nodiscard]] auto DelayBehavior() const; + auto DelayBehavior(winrt::Windows::UI::Composition::AnimationDelayBehavior const& value) const; }; template <> struct consume { @@ -4749,8 +4748,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ILayerVisual { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectBrush) Effect() const; - WINRT_IMPL_AUTO(void) Effect(winrt::Windows::UI::Composition::CompositionEffectBrush const& value) const; + [[nodiscard]] auto Effect() const; + auto Effect(winrt::Windows::UI::Composition::CompositionEffectBrush const& value) const; }; template <> struct consume { @@ -4759,8 +4758,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ILayerVisual2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionShadow) Shadow() const; - WINRT_IMPL_AUTO(void) Shadow(winrt::Windows::UI::Composition::CompositionShadow const& value) const; + [[nodiscard]] auto Shadow() const; + auto Shadow(winrt::Windows::UI::Composition::CompositionShadow const& value) const; }; template <> struct consume { @@ -4777,12 +4776,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_INaturalMotionAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationDelayBehavior) DelayBehavior() const; - WINRT_IMPL_AUTO(void) DelayBehavior(winrt::Windows::UI::Composition::AnimationDelayBehavior const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DelayTime() const; - WINRT_IMPL_AUTO(void) DelayTime(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationStopBehavior) StopBehavior() const; - WINRT_IMPL_AUTO(void) StopBehavior(winrt::Windows::UI::Composition::AnimationStopBehavior const& value) const; + [[nodiscard]] auto DelayBehavior() const; + auto DelayBehavior(winrt::Windows::UI::Composition::AnimationDelayBehavior const& value) const; + [[nodiscard]] auto DelayTime() const; + auto DelayTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto StopBehavior() const; + auto StopBehavior(winrt::Windows::UI::Composition::AnimationStopBehavior const& value) const; }; template <> struct consume { @@ -4799,8 +4798,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IPathKeyFrameAnimation { - WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Composition::CompositionPath const& path) const; - WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Composition::CompositionPath const& path, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const; + auto InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Composition::CompositionPath const& path) const; + auto InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Composition::CompositionPath const& path, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const; }; template <> struct consume { @@ -4809,18 +4808,18 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IPointLight { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) ConstantAttenuation() const; - WINRT_IMPL_AUTO(void) ConstantAttenuation(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) CoordinateSpace() const; - WINRT_IMPL_AUTO(void) CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) LinearAttenuation() const; - WINRT_IMPL_AUTO(void) LinearAttenuation(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Offset() const; - WINRT_IMPL_AUTO(void) Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) QuadraticAttenuation() const; - WINRT_IMPL_AUTO(void) QuadraticAttenuation(float value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto ConstantAttenuation() const; + auto ConstantAttenuation(float value) const; + [[nodiscard]] auto CoordinateSpace() const; + auto CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const; + [[nodiscard]] auto LinearAttenuation() const; + auto LinearAttenuation(float value) const; + [[nodiscard]] auto Offset() const; + auto Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto QuadraticAttenuation() const; + auto QuadraticAttenuation(float value) const; }; template <> struct consume { @@ -4829,8 +4828,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IPointLight2 { - [[nodiscard]] WINRT_IMPL_AUTO(float) Intensity() const; - WINRT_IMPL_AUTO(void) Intensity(float value) const; + [[nodiscard]] auto Intensity() const; + auto Intensity(float value) const; }; template <> struct consume { @@ -4839,10 +4838,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IPointLight3 { - [[nodiscard]] WINRT_IMPL_AUTO(float) MinAttenuationCutoff() const; - WINRT_IMPL_AUTO(void) MinAttenuationCutoff(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MaxAttenuationCutoff() const; - WINRT_IMPL_AUTO(void) MaxAttenuationCutoff(float value) const; + [[nodiscard]] auto MinAttenuationCutoff() const; + auto MinAttenuationCutoff(float value) const; + [[nodiscard]] auto MaxAttenuationCutoff() const; + auto MaxAttenuationCutoff(float value) const; }; template <> struct consume { @@ -4851,8 +4850,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IPowerEasingFunction { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) Mode() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Power() const; + [[nodiscard]] auto Mode() const; + [[nodiscard]] auto Power() const; }; template <> struct consume { @@ -4861,8 +4860,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IQuaternionKeyFrameAnimation { - WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::quaternion const& value) const; - WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::quaternion const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const; + auto InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::quaternion const& value) const; + auto InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::quaternion const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const; }; template <> struct consume { @@ -4871,22 +4870,22 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IRectangleClip { - [[nodiscard]] WINRT_IMPL_AUTO(float) Bottom() const; - WINRT_IMPL_AUTO(void) Bottom(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) BottomLeftRadius() const; - WINRT_IMPL_AUTO(void) BottomLeftRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) BottomRightRadius() const; - WINRT_IMPL_AUTO(void) BottomRightRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Left() const; - WINRT_IMPL_AUTO(void) Left(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Right() const; - WINRT_IMPL_AUTO(void) Right(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Top() const; - WINRT_IMPL_AUTO(void) Top(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) TopLeftRadius() const; - WINRT_IMPL_AUTO(void) TopLeftRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) TopRightRadius() const; - WINRT_IMPL_AUTO(void) TopRightRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto Bottom() const; + auto Bottom(float value) const; + [[nodiscard]] auto BottomLeftRadius() const; + auto BottomLeftRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto BottomRightRadius() const; + auto BottomRightRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto Left() const; + auto Left(float value) const; + [[nodiscard]] auto Right() const; + auto Right(float value) const; + [[nodiscard]] auto Top() const; + auto Top(float value) const; + [[nodiscard]] auto TopLeftRadius() const; + auto TopLeftRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto TopRightRadius() const; + auto TopRightRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const; }; template <> struct consume { @@ -4895,8 +4894,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IRedirectVisual { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::UI::Composition::Visual const& value) const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::UI::Composition::Visual const& value) const; }; template <> struct consume { @@ -4905,7 +4904,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IRenderingDeviceReplacedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGraphicsDevice) GraphicsDevice() const; + [[nodiscard]] auto GraphicsDevice() const; }; template <> struct consume { @@ -4914,8 +4913,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IScalarKeyFrameAnimation { - WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, float value) const; - WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, float value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const; + auto InsertKeyFrame(float normalizedProgressKey, float value) const; + auto InsertKeyFrame(float normalizedProgressKey, float value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const; }; template <> struct consume { @@ -4924,12 +4923,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IScalarNaturalMotionAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) FinalValue() const; - WINRT_IMPL_AUTO(void) FinalValue(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InitialValue() const; - WINRT_IMPL_AUTO(void) InitialValue(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) InitialVelocity() const; - WINRT_IMPL_AUTO(void) InitialVelocity(float value) const; + [[nodiscard]] auto FinalValue() const; + auto FinalValue(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto InitialValue() const; + auto InitialValue(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto InitialVelocity() const; + auto InitialVelocity(float value) const; }; template <> struct consume { @@ -4946,9 +4945,9 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IShapeVisual { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionShapeCollection) Shapes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionViewBox) ViewBox() const; - WINRT_IMPL_AUTO(void) ViewBox(winrt::Windows::UI::Composition::CompositionViewBox const& value) const; + [[nodiscard]] auto Shapes() const; + [[nodiscard]] auto ViewBox() const; + auto ViewBox(winrt::Windows::UI::Composition::CompositionViewBox const& value) const; }; template <> struct consume { @@ -4957,7 +4956,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ISineEasingFunction { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) Mode() const; + [[nodiscard]] auto Mode() const; }; template <> struct consume { @@ -4966,30 +4965,30 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ISpotLight { - [[nodiscard]] WINRT_IMPL_AUTO(float) ConstantAttenuation() const; - WINRT_IMPL_AUTO(void) ConstantAttenuation(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) CoordinateSpace() const; - WINRT_IMPL_AUTO(void) CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Direction() const; - WINRT_IMPL_AUTO(void) Direction(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) InnerConeAngle() const; - WINRT_IMPL_AUTO(void) InnerConeAngle(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) InnerConeAngleInDegrees() const; - WINRT_IMPL_AUTO(void) InnerConeAngleInDegrees(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) InnerConeColor() const; - WINRT_IMPL_AUTO(void) InnerConeColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) LinearAttenuation() const; - WINRT_IMPL_AUTO(void) LinearAttenuation(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Offset() const; - WINRT_IMPL_AUTO(void) Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) OuterConeAngle() const; - WINRT_IMPL_AUTO(void) OuterConeAngle(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) OuterConeAngleInDegrees() const; - WINRT_IMPL_AUTO(void) OuterConeAngleInDegrees(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) OuterConeColor() const; - WINRT_IMPL_AUTO(void) OuterConeColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) QuadraticAttenuation() const; - WINRT_IMPL_AUTO(void) QuadraticAttenuation(float value) const; + [[nodiscard]] auto ConstantAttenuation() const; + auto ConstantAttenuation(float value) const; + [[nodiscard]] auto CoordinateSpace() const; + auto CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const; + [[nodiscard]] auto Direction() const; + auto Direction(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto InnerConeAngle() const; + auto InnerConeAngle(float value) const; + [[nodiscard]] auto InnerConeAngleInDegrees() const; + auto InnerConeAngleInDegrees(float value) const; + [[nodiscard]] auto InnerConeColor() const; + auto InnerConeColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto LinearAttenuation() const; + auto LinearAttenuation(float value) const; + [[nodiscard]] auto Offset() const; + auto Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto OuterConeAngle() const; + auto OuterConeAngle(float value) const; + [[nodiscard]] auto OuterConeAngleInDegrees() const; + auto OuterConeAngleInDegrees(float value) const; + [[nodiscard]] auto OuterConeColor() const; + auto OuterConeColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto QuadraticAttenuation() const; + auto QuadraticAttenuation(float value) const; }; template <> struct consume { @@ -4998,10 +4997,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ISpotLight2 { - [[nodiscard]] WINRT_IMPL_AUTO(float) InnerConeIntensity() const; - WINRT_IMPL_AUTO(void) InnerConeIntensity(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) OuterConeIntensity() const; - WINRT_IMPL_AUTO(void) OuterConeIntensity(float value) const; + [[nodiscard]] auto InnerConeIntensity() const; + auto InnerConeIntensity(float value) const; + [[nodiscard]] auto OuterConeIntensity() const; + auto OuterConeIntensity(float value) const; }; template <> struct consume { @@ -5010,10 +5009,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ISpotLight3 { - [[nodiscard]] WINRT_IMPL_AUTO(float) MinAttenuationCutoff() const; - WINRT_IMPL_AUTO(void) MinAttenuationCutoff(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MaxAttenuationCutoff() const; - WINRT_IMPL_AUTO(void) MaxAttenuationCutoff(float value) const; + [[nodiscard]] auto MinAttenuationCutoff() const; + auto MinAttenuationCutoff(float value) const; + [[nodiscard]] auto MaxAttenuationCutoff() const; + auto MaxAttenuationCutoff(float value) const; }; template <> struct consume { @@ -5022,10 +5021,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(float) DampingRatio() const; - WINRT_IMPL_AUTO(void) DampingRatio(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Period() const; - WINRT_IMPL_AUTO(void) Period(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto DampingRatio() const; + auto DampingRatio(float value) const; + [[nodiscard]] auto Period() const; + auto Period(winrt::Windows::Foundation::TimeSpan const& value) const; }; template <> struct consume { @@ -5034,10 +5033,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(float) DampingRatio() const; - WINRT_IMPL_AUTO(void) DampingRatio(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Period() const; - WINRT_IMPL_AUTO(void) Period(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto DampingRatio() const; + auto DampingRatio(float value) const; + [[nodiscard]] auto Period() const; + auto Period(winrt::Windows::Foundation::TimeSpan const& value) const; }; template <> struct consume { @@ -5046,10 +5045,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(float) DampingRatio() const; - WINRT_IMPL_AUTO(void) DampingRatio(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Period() const; - WINRT_IMPL_AUTO(void) Period(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto DampingRatio() const; + auto DampingRatio(float value) const; + [[nodiscard]] auto Period() const; + auto Period(winrt::Windows::Foundation::TimeSpan const& value) const; }; template <> struct consume { @@ -5058,8 +5057,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ISpriteVisual { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) Brush() const; - WINRT_IMPL_AUTO(void) Brush(winrt::Windows::UI::Composition::CompositionBrush const& value) const; + [[nodiscard]] auto Brush() const; + auto Brush(winrt::Windows::UI::Composition::CompositionBrush const& value) const; }; template <> struct consume { @@ -5068,8 +5067,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_ISpriteVisual2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionShadow) Shadow() const; - WINRT_IMPL_AUTO(void) Shadow(winrt::Windows::UI::Composition::CompositionShadow const& value) const; + [[nodiscard]] auto Shadow() const; + auto Shadow(winrt::Windows::UI::Composition::CompositionShadow const& value) const; }; template <> struct consume { @@ -5078,16 +5077,16 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IStepEasingFunction { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FinalStep() const; - WINRT_IMPL_AUTO(void) FinalStep(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) InitialStep() const; - WINRT_IMPL_AUTO(void) InitialStep(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFinalStepSingleFrame() const; - WINRT_IMPL_AUTO(void) IsFinalStepSingleFrame(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInitialStepSingleFrame() const; - WINRT_IMPL_AUTO(void) IsInitialStepSingleFrame(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) StepCount() const; - WINRT_IMPL_AUTO(void) StepCount(int32_t value) const; + [[nodiscard]] auto FinalStep() const; + auto FinalStep(int32_t value) const; + [[nodiscard]] auto InitialStep() const; + auto InitialStep(int32_t value) const; + [[nodiscard]] auto IsFinalStepSingleFrame() const; + auto IsFinalStepSingleFrame(bool value) const; + [[nodiscard]] auto IsInitialStepSingleFrame() const; + auto IsInitialStepSingleFrame(bool value) const; + [[nodiscard]] auto StepCount() const; + auto StepCount(int32_t value) const; }; template <> struct consume { @@ -5096,8 +5095,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IVector2KeyFrameAnimation { - WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float2 const& value) const; - WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float2 const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const; + auto InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float2 const& value) const; + auto InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float2 const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const; }; template <> struct consume { @@ -5106,12 +5105,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IVector2NaturalMotionAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) FinalValue() const; - WINRT_IMPL_AUTO(void) FinalValue(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InitialValue() const; - WINRT_IMPL_AUTO(void) InitialValue(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) InitialVelocity() const; - WINRT_IMPL_AUTO(void) InitialVelocity(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto FinalValue() const; + auto FinalValue(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto InitialValue() const; + auto InitialValue(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto InitialVelocity() const; + auto InitialVelocity(winrt::Windows::Foundation::Numerics::float2 const& value) const; }; template <> struct consume { @@ -5128,8 +5127,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IVector3KeyFrameAnimation { - WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float3 const& value) const; - WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float3 const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const; + auto InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float3 const& value) const; + auto InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float3 const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const; }; template <> struct consume { @@ -5138,12 +5137,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IVector3NaturalMotionAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) FinalValue() const; - WINRT_IMPL_AUTO(void) FinalValue(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InitialValue() const; - WINRT_IMPL_AUTO(void) InitialValue(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) InitialVelocity() const; - WINRT_IMPL_AUTO(void) InitialVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto FinalValue() const; + auto FinalValue(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto InitialValue() const; + auto InitialValue(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto InitialVelocity() const; + auto InitialVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const; }; template <> struct consume { @@ -5160,8 +5159,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IVector4KeyFrameAnimation { - WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float4 const& value) const; - WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float4 const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const; + auto InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float4 const& value) const; + auto InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float4 const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const; }; template <> struct consume { @@ -5170,39 +5169,39 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IVisual { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) AnchorPoint() const; - WINRT_IMPL_AUTO(void) AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBackfaceVisibility) BackfaceVisibility() const; - WINRT_IMPL_AUTO(void) BackfaceVisibility(winrt::Windows::UI::Composition::CompositionBackfaceVisibility const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBorderMode) BorderMode() const; - WINRT_IMPL_AUTO(void) BorderMode(winrt::Windows::UI::Composition::CompositionBorderMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) CenterPoint() const; - WINRT_IMPL_AUTO(void) CenterPoint(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionClip) Clip() const; - WINRT_IMPL_AUTO(void) Clip(winrt::Windows::UI::Composition::CompositionClip const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionCompositeMode) CompositeMode() const; - WINRT_IMPL_AUTO(void) CompositeMode(winrt::Windows::UI::Composition::CompositionCompositeMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVisible() const; - WINRT_IMPL_AUTO(void) IsVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Offset() const; - WINRT_IMPL_AUTO(void) Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Opacity() const; - WINRT_IMPL_AUTO(void) Opacity(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) Orientation() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ContainerVisual) Parent() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RotationAngle() const; - WINRT_IMPL_AUTO(void) RotationAngle(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RotationAngleInDegrees() const; - WINRT_IMPL_AUTO(void) RotationAngleInDegrees(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) RotationAxis() const; - WINRT_IMPL_AUTO(void) RotationAxis(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Scale() const; - WINRT_IMPL_AUTO(void) Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) Size() const; - WINRT_IMPL_AUTO(void) Size(winrt::Windows::Foundation::Numerics::float2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) TransformMatrix() const; - WINRT_IMPL_AUTO(void) TransformMatrix(winrt::Windows::Foundation::Numerics::float4x4 const& value) const; + [[nodiscard]] auto AnchorPoint() const; + auto AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto BackfaceVisibility() const; + auto BackfaceVisibility(winrt::Windows::UI::Composition::CompositionBackfaceVisibility const& value) const; + [[nodiscard]] auto BorderMode() const; + auto BorderMode(winrt::Windows::UI::Composition::CompositionBorderMode const& value) const; + [[nodiscard]] auto CenterPoint() const; + auto CenterPoint(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Clip() const; + auto Clip(winrt::Windows::UI::Composition::CompositionClip const& value) const; + [[nodiscard]] auto CompositeMode() const; + auto CompositeMode(winrt::Windows::UI::Composition::CompositionCompositeMode const& value) const; + [[nodiscard]] auto IsVisible() const; + auto IsVisible(bool value) const; + [[nodiscard]] auto Offset() const; + auto Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Opacity() const; + auto Opacity(float value) const; + [[nodiscard]] auto Orientation() const; + auto Orientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const; + [[nodiscard]] auto Parent() const; + [[nodiscard]] auto RotationAngle() const; + auto RotationAngle(float value) const; + [[nodiscard]] auto RotationAngleInDegrees() const; + auto RotationAngleInDegrees(float value) const; + [[nodiscard]] auto RotationAxis() const; + auto RotationAxis(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Scale() const; + auto Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Size() const; + auto Size(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto TransformMatrix() const; + auto TransformMatrix(winrt::Windows::Foundation::Numerics::float4x4 const& value) const; }; template <> struct consume { @@ -5211,12 +5210,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IVisual2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) ParentForTransform() const; - WINRT_IMPL_AUTO(void) ParentForTransform(winrt::Windows::UI::Composition::Visual const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) RelativeOffsetAdjustment() const; - WINRT_IMPL_AUTO(void) RelativeOffsetAdjustment(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) RelativeSizeAdjustment() const; - WINRT_IMPL_AUTO(void) RelativeSizeAdjustment(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] auto ParentForTransform() const; + auto ParentForTransform(winrt::Windows::UI::Composition::Visual const& value) const; + [[nodiscard]] auto RelativeOffsetAdjustment() const; + auto RelativeOffsetAdjustment(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto RelativeSizeAdjustment() const; + auto RelativeSizeAdjustment(winrt::Windows::Foundation::Numerics::float2 const& value) const; }; template <> struct consume { @@ -5225,8 +5224,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IVisual3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHitTestVisible() const; - WINRT_IMPL_AUTO(void) IsHitTestVisible(bool value) const; + [[nodiscard]] auto IsHitTestVisible() const; + auto IsHitTestVisible(bool value) const; }; template <> struct consume { @@ -5235,8 +5234,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IVisual4 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPixelSnappingEnabled() const; - WINRT_IMPL_AUTO(void) IsPixelSnappingEnabled(bool value) const; + [[nodiscard]] auto IsPixelSnappingEnabled() const; + auto IsPixelSnappingEnabled(bool value) const; }; template <> struct consume { @@ -5245,13 +5244,13 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IVisualCollection { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Count() const; - WINRT_IMPL_AUTO(void) InsertAbove(winrt::Windows::UI::Composition::Visual const& newChild, winrt::Windows::UI::Composition::Visual const& sibling) const; - WINRT_IMPL_AUTO(void) InsertAtBottom(winrt::Windows::UI::Composition::Visual const& newChild) const; - WINRT_IMPL_AUTO(void) InsertAtTop(winrt::Windows::UI::Composition::Visual const& newChild) const; - WINRT_IMPL_AUTO(void) InsertBelow(winrt::Windows::UI::Composition::Visual const& newChild, winrt::Windows::UI::Composition::Visual const& sibling) const; - WINRT_IMPL_AUTO(void) Remove(winrt::Windows::UI::Composition::Visual const& child) const; - WINRT_IMPL_AUTO(void) RemoveAll() const; + [[nodiscard]] auto Count() const; + auto InsertAbove(winrt::Windows::UI::Composition::Visual const& newChild, winrt::Windows::UI::Composition::Visual const& sibling) const; + auto InsertAtBottom(winrt::Windows::UI::Composition::Visual const& newChild) const; + auto InsertAtTop(winrt::Windows::UI::Composition::Visual const& newChild) const; + auto InsertBelow(winrt::Windows::UI::Composition::Visual const& newChild, winrt::Windows::UI::Composition::Visual const& sibling) const; + auto Remove(winrt::Windows::UI::Composition::Visual const& child) const; + auto RemoveAll() const; }; template <> struct consume { @@ -5268,7 +5267,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IVisualElement2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) GetVisualInternal() const; + auto GetVisualInternal() const; }; template <> struct consume { @@ -5285,10 +5284,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_IVisualUnorderedCollection { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Count() const; - WINRT_IMPL_AUTO(void) Add(winrt::Windows::UI::Composition::Visual const& newVisual) const; - WINRT_IMPL_AUTO(void) Remove(winrt::Windows::UI::Composition::Visual const& visual) const; - WINRT_IMPL_AUTO(void) RemoveAll() const; + [[nodiscard]] auto Count() const; + auto Add(winrt::Windows::UI::Composition::Visual const& newVisual) const; + auto Remove(winrt::Windows::UI::Composition::Visual const& visual) const; + auto RemoveAll() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.1.h index 26d655a9..fc8fcaf4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.2.h index 05e397a2..9ab77a93 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.0.h index 8bc83324..ed7314c7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Core_0_H @@ -40,13 +40,13 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Core_ICompositorController { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Compositor) Compositor() const; - WINRT_IMPL_AUTO(void) Commit() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) EnsurePreviousCommitCompletedAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) CommitNeeded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Compositor() const; + auto Commit() const; + auto EnsurePreviousCommitCompletedAsync() const; + auto CommitNeeded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CommitNeeded_revoker = impl::event_revoker::remove_CommitNeeded>; - [[nodiscard]] CommitNeeded_revoker CommitNeeded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CommitNeeded(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CommitNeeded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CommitNeeded(winrt::event_token const& token) const noexcept; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.1.h index 6da6e992..20ee3fee 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.2.h index 740f5ff0..11510f8f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.0.h index 47f2223c..88a5432d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Desktop_0_H @@ -26,7 +26,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Desktop_IDesktopWindowTarget { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTopmost() const; + [[nodiscard]] auto IsTopmost() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.1.h index bda5ec56..d8b5611e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Desktop_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.2.h index e8c29f3d..7898372f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Desktop_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.0.h index 117888ee..97aa2fcc 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Diagnostics_0_H @@ -74,10 +74,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps { - WINRT_IMPL_AUTO(void) Hide(winrt::Windows::UI::Composition::Visual const& subtree) const; - WINRT_IMPL_AUTO(void) ShowMemoryUsage(winrt::Windows::UI::Composition::Visual const& subtree) const; - WINRT_IMPL_AUTO(void) ShowOverdraw(winrt::Windows::UI::Composition::Visual const& subtree, winrt::Windows::UI::Composition::Diagnostics::CompositionDebugOverdrawContentKinds const& contentKinds) const; - WINRT_IMPL_AUTO(void) ShowRedraw(winrt::Windows::UI::Composition::Visual const& subtree) const; + auto Hide(winrt::Windows::UI::Composition::Visual const& subtree) const; + auto ShowMemoryUsage(winrt::Windows::UI::Composition::Visual const& subtree) const; + auto ShowOverdraw(winrt::Windows::UI::Composition::Visual const& subtree, winrt::Windows::UI::Composition::Diagnostics::CompositionDebugOverdrawContentKinds const& contentKinds) const; + auto ShowRedraw(winrt::Windows::UI::Composition::Visual const& subtree) const; }; template <> struct consume { @@ -86,7 +86,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Diagnostics_ICompositionDebugSettings { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Diagnostics::CompositionDebugHeatMaps) HeatMaps() const; + [[nodiscard]] auto HeatMaps() const; }; template <> struct consume { @@ -95,7 +95,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Diagnostics_ICompositionDebugSettingsStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Diagnostics::CompositionDebugSettings) TryGetSettings(winrt::Windows::UI::Composition::Compositor const& compositor) const; + auto TryGetSettings(winrt::Windows::UI::Composition::Compositor const& compositor) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.1.h index c41c0e99..bbc50b64 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Diagnostics_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.2.h index 9e8fb49c..fb039e36 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Diagnostics_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.0.h index 6f0e1e09..5028c574 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Effects_0_H @@ -58,16 +58,16 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Effects_ISceneLightingEffect { - [[nodiscard]] WINRT_IMPL_AUTO(float) AmbientAmount() const; - WINRT_IMPL_AUTO(void) AmbientAmount(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) DiffuseAmount() const; - WINRT_IMPL_AUTO(void) DiffuseAmount(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Effects::IGraphicsEffectSource) NormalMapSource() const; - WINRT_IMPL_AUTO(void) NormalMapSource(winrt::Windows::Graphics::Effects::IGraphicsEffectSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) SpecularAmount() const; - WINRT_IMPL_AUTO(void) SpecularAmount(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) SpecularShine() const; - WINRT_IMPL_AUTO(void) SpecularShine(float value) const; + [[nodiscard]] auto AmbientAmount() const; + auto AmbientAmount(float value) const; + [[nodiscard]] auto DiffuseAmount() const; + auto DiffuseAmount(float value) const; + [[nodiscard]] auto NormalMapSource() const; + auto NormalMapSource(winrt::Windows::Graphics::Effects::IGraphicsEffectSource const& value) const; + [[nodiscard]] auto SpecularAmount() const; + auto SpecularAmount(float value) const; + [[nodiscard]] auto SpecularShine() const; + auto SpecularShine(float value) const; }; template <> struct consume { @@ -76,8 +76,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Effects_ISceneLightingEffect2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Effects::SceneLightingEffectReflectanceModel) ReflectanceModel() const; - WINRT_IMPL_AUTO(void) ReflectanceModel(winrt::Windows::UI::Composition::Effects::SceneLightingEffectReflectanceModel const& value) const; + [[nodiscard]] auto ReflectanceModel() const; + auto ReflectanceModel(winrt::Windows::UI::Composition::Effects::SceneLightingEffectReflectanceModel const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.1.h index a885848d..b7ee0492 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Effects_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.2.h index 6a74b741..dc18dffa 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Effects_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.0.h index bad53961..055e291c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Interactions_0_H @@ -717,10 +717,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) Condition() const; - WINRT_IMPL_AUTO(void) Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) Value() const; - WINRT_IMPL_AUTO(void) Value(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const; + [[nodiscard]] auto Condition() const; + auto Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const; + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const; }; template <> struct consume { @@ -729,7 +729,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_ICompositionConditionalValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue) Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; + auto Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; }; template <> struct consume { @@ -746,10 +746,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Count() const; - WINRT_IMPL_AUTO(void) Add(winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSource const& value) const; - WINRT_IMPL_AUTO(void) Remove(winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSource const& value) const; - WINRT_IMPL_AUTO(void) RemoveAll() const; + [[nodiscard]] auto Count() const; + auto Add(winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSource const& value) const; + auto Remove(winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSource const& value) const; + auto RemoveAll() const; }; template <> struct consume { @@ -758,12 +758,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode) PositionXSourceMode() const; - WINRT_IMPL_AUTO(void) PositionXSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode) PositionYSourceMode() const; - WINRT_IMPL_AUTO(void) PositionYSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode) ScaleSourceMode() const; - WINRT_IMPL_AUTO(void) ScaleSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const; + [[nodiscard]] auto PositionXSourceMode() const; + auto PositionXSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const; + [[nodiscard]] auto PositionYSourceMode() const; + auto PositionYSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const; + [[nodiscard]] auto ScaleSourceMode() const; + auto ScaleSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const; }; template <> struct consume { @@ -772,39 +772,39 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTracker { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::CompositionInteractionSourceCollection) InteractionSources() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPositionRoundingSuggested() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) MaxPosition() const; - WINRT_IMPL_AUTO(void) MaxPosition(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MaxScale() const; - WINRT_IMPL_AUTO(void) MaxScale(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) MinPosition() const; - WINRT_IMPL_AUTO(void) MinPosition(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MinScale() const; - WINRT_IMPL_AUTO(void) MinScale(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) NaturalRestingPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) NaturalRestingScale() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerOwner) Owner() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PositionInertiaDecayRate() const; - WINRT_IMPL_AUTO(void) PositionInertiaDecayRate(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) PositionVelocityInPixelsPerSecond() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Scale() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ScaleInertiaDecayRate() const; - WINRT_IMPL_AUTO(void) ScaleInertiaDecayRate(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) ScaleVelocityInPercentPerSecond() const; - WINRT_IMPL_AUTO(void) AdjustPositionXIfGreaterThanThreshold(float adjustment, float positionThreshold) const; - WINRT_IMPL_AUTO(void) AdjustPositionYIfGreaterThanThreshold(float adjustment, float positionThreshold) const; - WINRT_IMPL_AUTO(void) ConfigurePositionXInertiaModifiers(param::iterable const& modifiers) const; - WINRT_IMPL_AUTO(void) ConfigurePositionYInertiaModifiers(param::iterable const& modifiers) const; - WINRT_IMPL_AUTO(void) ConfigureScaleInertiaModifiers(param::iterable const& modifiers) const; - WINRT_IMPL_AUTO(int32_t) TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value) const; - WINRT_IMPL_AUTO(int32_t) TryUpdatePositionBy(winrt::Windows::Foundation::Numerics::float3 const& amount) const; - WINRT_IMPL_AUTO(int32_t) TryUpdatePositionWithAnimation(winrt::Windows::UI::Composition::CompositionAnimation const& animation) const; - WINRT_IMPL_AUTO(int32_t) TryUpdatePositionWithAdditionalVelocity(winrt::Windows::Foundation::Numerics::float3 const& velocityInPixelsPerSecond) const; - WINRT_IMPL_AUTO(int32_t) TryUpdateScale(float value, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const; - WINRT_IMPL_AUTO(int32_t) TryUpdateScaleWithAnimation(winrt::Windows::UI::Composition::CompositionAnimation const& animation, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const; - WINRT_IMPL_AUTO(int32_t) TryUpdateScaleWithAdditionalVelocity(float velocityInPercentPerSecond, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const; + [[nodiscard]] auto InteractionSources() const; + [[nodiscard]] auto IsPositionRoundingSuggested() const; + [[nodiscard]] auto MaxPosition() const; + auto MaxPosition(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto MaxScale() const; + auto MaxScale(float value) const; + [[nodiscard]] auto MinPosition() const; + auto MinPosition(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto MinScale() const; + auto MinScale(float value) const; + [[nodiscard]] auto NaturalRestingPosition() const; + [[nodiscard]] auto NaturalRestingScale() const; + [[nodiscard]] auto Owner() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto PositionInertiaDecayRate() const; + auto PositionInertiaDecayRate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto PositionVelocityInPixelsPerSecond() const; + [[nodiscard]] auto Scale() const; + [[nodiscard]] auto ScaleInertiaDecayRate() const; + auto ScaleInertiaDecayRate(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ScaleVelocityInPercentPerSecond() const; + auto AdjustPositionXIfGreaterThanThreshold(float adjustment, float positionThreshold) const; + auto AdjustPositionYIfGreaterThanThreshold(float adjustment, float positionThreshold) const; + auto ConfigurePositionXInertiaModifiers(param::iterable const& modifiers) const; + auto ConfigurePositionYInertiaModifiers(param::iterable const& modifiers) const; + auto ConfigureScaleInertiaModifiers(param::iterable const& modifiers) const; + auto TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value) const; + auto TryUpdatePositionBy(winrt::Windows::Foundation::Numerics::float3 const& amount) const; + auto TryUpdatePositionWithAnimation(winrt::Windows::UI::Composition::CompositionAnimation const& animation) const; + auto TryUpdatePositionWithAdditionalVelocity(winrt::Windows::Foundation::Numerics::float3 const& velocityInPixelsPerSecond) const; + auto TryUpdateScale(float value, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const; + auto TryUpdateScaleWithAnimation(winrt::Windows::UI::Composition::CompositionAnimation const& animation, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const; + auto TryUpdateScaleWithAdditionalVelocity(float velocityInPercentPerSecond, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const; }; template <> struct consume { @@ -813,8 +813,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTracker2 { - WINRT_IMPL_AUTO(void) ConfigureCenterPointXInertiaModifiers(param::iterable const& conditionalValues) const; - WINRT_IMPL_AUTO(void) ConfigureCenterPointYInertiaModifiers(param::iterable const& conditionalValues) const; + auto ConfigureCenterPointXInertiaModifiers(param::iterable const& conditionalValues) const; + auto ConfigureCenterPointYInertiaModifiers(param::iterable const& conditionalValues) const; }; template <> struct consume { @@ -823,7 +823,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTracker3 { - WINRT_IMPL_AUTO(void) ConfigureVector2PositionInertiaModifiers(param::iterable const& modifiers) const; + auto ConfigureVector2PositionInertiaModifiers(param::iterable const& modifiers) const; }; template <> struct consume { @@ -832,9 +832,9 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTracker4 { - WINRT_IMPL_AUTO(int32_t) TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value, winrt::Windows::UI::Composition::Interactions::InteractionTrackerClampingOption const& option) const; - WINRT_IMPL_AUTO(int32_t) TryUpdatePositionBy(winrt::Windows::Foundation::Numerics::float3 const& amount, winrt::Windows::UI::Composition::Interactions::InteractionTrackerClampingOption const& option) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInertiaFromImpulse() const; + auto TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value, winrt::Windows::UI::Composition::Interactions::InteractionTrackerClampingOption const& option) const; + auto TryUpdatePositionBy(winrt::Windows::Foundation::Numerics::float3 const& amount, winrt::Windows::UI::Composition::Interactions::InteractionTrackerClampingOption const& option) const; + [[nodiscard]] auto IsInertiaFromImpulse() const; }; template <> struct consume { @@ -843,7 +843,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTracker5 { - WINRT_IMPL_AUTO(int32_t) TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value, winrt::Windows::UI::Composition::Interactions::InteractionTrackerClampingOption const& option, winrt::Windows::UI::Composition::Interactions::InteractionTrackerPositionUpdateOption const& posUpdateOption) const; + auto TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value, winrt::Windows::UI::Composition::Interactions::InteractionTrackerClampingOption const& option, winrt::Windows::UI::Composition::Interactions::InteractionTrackerPositionUpdateOption const& posUpdateOption) const; }; template <> struct consume { @@ -852,7 +852,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerCustomAnimationStateEnteredArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RequestId() const; + [[nodiscard]] auto RequestId() const; }; template <> struct consume { @@ -861,7 +861,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerCustomAnimationStateEnteredArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFromBinding() const; + [[nodiscard]] auto IsFromBinding() const; }; template <> struct consume { @@ -870,7 +870,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerIdleStateEnteredArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RequestId() const; + [[nodiscard]] auto RequestId() const; }; template <> struct consume { @@ -879,7 +879,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerIdleStateEnteredArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFromBinding() const; + [[nodiscard]] auto IsFromBinding() const; }; template <> struct consume { @@ -904,10 +904,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) Condition() const; - WINRT_IMPL_AUTO(void) Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) Motion() const; - WINRT_IMPL_AUTO(void) Motion(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const; + [[nodiscard]] auto Condition() const; + auto Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const; + [[nodiscard]] auto Motion() const; + auto Motion(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const; }; template <> struct consume { @@ -916,7 +916,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotionStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaMotion) Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; + auto Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; }; template <> struct consume { @@ -925,10 +925,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) Condition() const; - WINRT_IMPL_AUTO(void) Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ScalarNaturalMotionAnimation) NaturalMotion() const; - WINRT_IMPL_AUTO(void) NaturalMotion(winrt::Windows::UI::Composition::ScalarNaturalMotionAnimation const& value) const; + [[nodiscard]] auto Condition() const; + auto Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const; + [[nodiscard]] auto NaturalMotion() const; + auto NaturalMotion(winrt::Windows::UI::Composition::ScalarNaturalMotionAnimation const& value) const; }; template <> struct consume { @@ -937,7 +937,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotionStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaNaturalMotion) Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; + auto Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; }; template <> struct consume { @@ -946,10 +946,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) Condition() const; - WINRT_IMPL_AUTO(void) Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) RestingValue() const; - WINRT_IMPL_AUTO(void) RestingValue(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const; + [[nodiscard]] auto Condition() const; + auto Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const; + [[nodiscard]] auto RestingValue() const; + auto RestingValue(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const; }; template <> struct consume { @@ -958,7 +958,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaRestingValue) Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; + auto Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; }; template <> struct consume { @@ -967,13 +967,13 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ModifiedRestingPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ModifiedRestingScale() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) NaturalRestingPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) NaturalRestingScale() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) PositionVelocityInPixelsPerSecond() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RequestId() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) ScaleVelocityInPercentPerSecond() const; + [[nodiscard]] auto ModifiedRestingPosition() const; + [[nodiscard]] auto ModifiedRestingScale() const; + [[nodiscard]] auto NaturalRestingPosition() const; + [[nodiscard]] auto NaturalRestingScale() const; + [[nodiscard]] auto PositionVelocityInPixelsPerSecond() const; + [[nodiscard]] auto RequestId() const; + [[nodiscard]] auto ScaleVelocityInPercentPerSecond() const; }; template <> struct consume { @@ -982,7 +982,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInertiaFromImpulse() const; + [[nodiscard]] auto IsInertiaFromImpulse() const; }; template <> struct consume { @@ -991,7 +991,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFromBinding() const; + [[nodiscard]] auto IsFromBinding() const; }; template <> struct consume { @@ -1000,7 +1000,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerInteractingStateEnteredArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RequestId() const; + [[nodiscard]] auto RequestId() const; }; template <> struct consume { @@ -1009,7 +1009,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerInteractingStateEnteredArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFromBinding() const; + [[nodiscard]] auto IsFromBinding() const; }; template <> struct consume { @@ -1018,12 +1018,12 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner { - WINRT_IMPL_AUTO(void) CustomAnimationStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerCustomAnimationStateEnteredArgs const& args) const; - WINRT_IMPL_AUTO(void) IdleStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerIdleStateEnteredArgs const& args) const; - WINRT_IMPL_AUTO(void) InertiaStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaStateEnteredArgs const& args) const; - WINRT_IMPL_AUTO(void) InteractingStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerInteractingStateEnteredArgs const& args) const; - WINRT_IMPL_AUTO(void) RequestIgnored(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerRequestIgnoredArgs const& args) const; - WINRT_IMPL_AUTO(void) ValuesChanged(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerValuesChangedArgs const& args) const; + auto CustomAnimationStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerCustomAnimationStateEnteredArgs const& args) const; + auto IdleStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerIdleStateEnteredArgs const& args) const; + auto InertiaStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaStateEnteredArgs const& args) const; + auto InteractingStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerInteractingStateEnteredArgs const& args) const; + auto RequestIgnored(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerRequestIgnoredArgs const& args) const; + auto ValuesChanged(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerValuesChangedArgs const& args) const; }; template <> struct consume { @@ -1032,7 +1032,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerRequestIgnoredArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RequestId() const; + [[nodiscard]] auto RequestId() const; }; template <> struct consume { @@ -1041,8 +1041,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTracker) Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTracker) CreateWithOwner(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::UI::Composition::Interactions::IInteractionTrackerOwner const& owner) const; + auto Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; + auto CreateWithOwner(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::UI::Composition::Interactions::IInteractionTrackerOwner const& owner) const; }; template <> struct consume { @@ -1051,8 +1051,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics2 { - WINRT_IMPL_AUTO(void) SetBindingMode(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker1, winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker2, winrt::Windows::UI::Composition::Interactions::InteractionBindingAxisModes const& axisMode) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionBindingAxisModes) GetBindingMode(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker1, winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker2) const; + auto SetBindingMode(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker1, winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker2, winrt::Windows::UI::Composition::Interactions::InteractionBindingAxisModes const& axisMode) const; + auto GetBindingMode(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker1, winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker2) const; }; template <> struct consume { @@ -1061,9 +1061,9 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerValuesChangedArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RequestId() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Scale() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto RequestId() const; + [[nodiscard]] auto Scale() const; }; template <> struct consume { @@ -1088,10 +1088,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) Condition() const; - WINRT_IMPL_AUTO(void) Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Vector2NaturalMotionAnimation) NaturalMotion() const; - WINRT_IMPL_AUTO(void) NaturalMotion(winrt::Windows::UI::Composition::Vector2NaturalMotionAnimation const& value) const; + [[nodiscard]] auto Condition() const; + auto Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const; + [[nodiscard]] auto NaturalMotion() const; + auto NaturalMotion(winrt::Windows::UI::Composition::Vector2NaturalMotionAnimation const& value) const; }; template <> struct consume { @@ -1100,7 +1100,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotionStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTrackerVector2InertiaNaturalMotion) Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; + auto Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; }; template <> struct consume { @@ -1109,26 +1109,26 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IVisualInteractionSource { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPositionXRailsEnabled() const; - WINRT_IMPL_AUTO(void) IsPositionXRailsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPositionYRailsEnabled() const; - WINRT_IMPL_AUTO(void) IsPositionYRailsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::VisualInteractionSourceRedirectionMode) ManipulationRedirectionMode() const; - WINRT_IMPL_AUTO(void) ManipulationRedirectionMode(winrt::Windows::UI::Composition::Interactions::VisualInteractionSourceRedirectionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode) PositionXChainingMode() const; - WINRT_IMPL_AUTO(void) PositionXChainingMode(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode) PositionXSourceMode() const; - WINRT_IMPL_AUTO(void) PositionXSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode) PositionYChainingMode() const; - WINRT_IMPL_AUTO(void) PositionYChainingMode(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode) PositionYSourceMode() const; - WINRT_IMPL_AUTO(void) PositionYSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode) ScaleChainingMode() const; - WINRT_IMPL_AUTO(void) ScaleChainingMode(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode) ScaleSourceMode() const; - WINRT_IMPL_AUTO(void) ScaleSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) Source() const; - WINRT_IMPL_AUTO(void) TryRedirectForManipulation(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const; + [[nodiscard]] auto IsPositionXRailsEnabled() const; + auto IsPositionXRailsEnabled(bool value) const; + [[nodiscard]] auto IsPositionYRailsEnabled() const; + auto IsPositionYRailsEnabled(bool value) const; + [[nodiscard]] auto ManipulationRedirectionMode() const; + auto ManipulationRedirectionMode(winrt::Windows::UI::Composition::Interactions::VisualInteractionSourceRedirectionMode const& value) const; + [[nodiscard]] auto PositionXChainingMode() const; + auto PositionXChainingMode(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode const& value) const; + [[nodiscard]] auto PositionXSourceMode() const; + auto PositionXSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode const& value) const; + [[nodiscard]] auto PositionYChainingMode() const; + auto PositionYChainingMode(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode const& value) const; + [[nodiscard]] auto PositionYSourceMode() const; + auto PositionYSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode const& value) const; + [[nodiscard]] auto ScaleChainingMode() const; + auto ScaleChainingMode(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode const& value) const; + [[nodiscard]] auto ScaleSourceMode() const; + auto ScaleSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode const& value) const; + [[nodiscard]] auto Source() const; + auto TryRedirectForManipulation(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const; }; template <> struct consume { @@ -1137,17 +1137,17 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) DeltaPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) DeltaScale() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) PositionVelocity() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Scale() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) ScaleVelocity() const; - WINRT_IMPL_AUTO(void) ConfigureCenterPointXModifiers(param::iterable const& conditionalValues) const; - WINRT_IMPL_AUTO(void) ConfigureCenterPointYModifiers(param::iterable const& conditionalValues) const; - WINRT_IMPL_AUTO(void) ConfigureDeltaPositionXModifiers(param::iterable const& conditionalValues) const; - WINRT_IMPL_AUTO(void) ConfigureDeltaPositionYModifiers(param::iterable const& conditionalValues) const; - WINRT_IMPL_AUTO(void) ConfigureDeltaScaleModifiers(param::iterable const& conditionalValues) const; + [[nodiscard]] auto DeltaPosition() const; + [[nodiscard]] auto DeltaScale() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto PositionVelocity() const; + [[nodiscard]] auto Scale() const; + [[nodiscard]] auto ScaleVelocity() const; + auto ConfigureCenterPointXModifiers(param::iterable const& conditionalValues) const; + auto ConfigureCenterPointYModifiers(param::iterable const& conditionalValues) const; + auto ConfigureDeltaPositionXModifiers(param::iterable const& conditionalValues) const; + auto ConfigureDeltaPositionYModifiers(param::iterable const& conditionalValues) const; + auto ConfigureDeltaScaleModifiers(param::iterable const& conditionalValues) const; }; template <> struct consume { @@ -1156,7 +1156,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IVisualInteractionSource3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceConfiguration) PointerWheelConfig() const; + [[nodiscard]] auto PointerWheelConfig() const; }; template <> struct consume { @@ -1173,7 +1173,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IVisualInteractionSourceStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::VisualInteractionSource) Create(winrt::Windows::UI::Composition::Visual const& source) const; + auto Create(winrt::Windows::UI::Composition::Visual const& source) const; }; template <> struct consume { @@ -1182,7 +1182,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Interactions_IVisualInteractionSourceStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::VisualInteractionSource) CreateFromIVisualElement(winrt::Windows::UI::Composition::IVisualElement const& source) const; + auto CreateFromIVisualElement(winrt::Windows::UI::Composition::IVisualElement const& source) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.1.h index dd3570e8..c3a63f75 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Interactions_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.2.h index ffbcf631..7dbc4fe5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Interactions_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.0.h index 80a9741f..3a69bb48 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Scenes_0_H @@ -501,11 +501,11 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Scenes_ISceneBoundingBox { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Center() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Extents() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Max() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Min() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Size() const; + [[nodiscard]] auto Center() const; + [[nodiscard]] auto Extents() const; + [[nodiscard]] auto Max() const; + [[nodiscard]] auto Min() const; + [[nodiscard]] auto Size() const; }; template <> struct consume { @@ -514,7 +514,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Scenes_ISceneComponent { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneComponentType) ComponentType() const; + [[nodiscard]] auto ComponentType() const; }; template <> struct consume { @@ -571,10 +571,10 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Scenes_ISceneMesh { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneBoundingBox) Bounds() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPrimitiveTopology) PrimitiveTopology() const; - WINRT_IMPL_AUTO(void) PrimitiveTopology(winrt::Windows::Graphics::DirectX::DirectXPrimitiveTopology const& value) const; - WINRT_IMPL_AUTO(void) FillMeshAttribute(winrt::Windows::UI::Composition::Scenes::SceneAttributeSemantic const& semantic, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, winrt::Windows::Foundation::MemoryBuffer const& memory) const; + [[nodiscard]] auto Bounds() const; + [[nodiscard]] auto PrimitiveTopology() const; + auto PrimitiveTopology(winrt::Windows::Graphics::DirectX::DirectXPrimitiveTopology const& value) const; + auto FillMeshAttribute(winrt::Windows::UI::Composition::Scenes::SceneAttributeSemantic const& semantic, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, winrt::Windows::Foundation::MemoryBuffer const& memory) const; }; template <> struct consume { @@ -591,11 +591,11 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterial) Material() const; - WINRT_IMPL_AUTO(void) Material(winrt::Windows::UI::Composition::Scenes::SceneMaterial const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMesh) Mesh() const; - WINRT_IMPL_AUTO(void) Mesh(winrt::Windows::UI::Composition::Scenes::SceneMesh const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMeshMaterialAttributeMap) UVMappings() const; + [[nodiscard]] auto Material() const; + auto Material(winrt::Windows::UI::Composition::Scenes::SceneMaterial const& value) const; + [[nodiscard]] auto Mesh() const; + auto Mesh(winrt::Windows::UI::Composition::Scenes::SceneMesh const& value) const; + [[nodiscard]] auto UVMappings() const; }; template <> struct consume { @@ -604,7 +604,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponentStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMeshRendererComponent) Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; + auto Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; }; template <> struct consume { @@ -613,7 +613,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Scenes_ISceneMeshStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMesh) Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; + auto Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; }; template <> struct consume { @@ -622,16 +622,16 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput) BaseColorInput() const; - WINRT_IMPL_AUTO(void) BaseColorInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4) BaseColorFactor() const; - WINRT_IMPL_AUTO(void) BaseColorFactor(winrt::Windows::Foundation::Numerics::float4 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MetallicFactor() const; - WINRT_IMPL_AUTO(void) MetallicFactor(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput) MetallicRoughnessInput() const; - WINRT_IMPL_AUTO(void) MetallicRoughnessInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RoughnessFactor() const; - WINRT_IMPL_AUTO(void) RoughnessFactor(float value) const; + [[nodiscard]] auto BaseColorInput() const; + auto BaseColorInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const; + [[nodiscard]] auto BaseColorFactor() const; + auto BaseColorFactor(winrt::Windows::Foundation::Numerics::float4 const& value) const; + [[nodiscard]] auto MetallicFactor() const; + auto MetallicFactor(float value) const; + [[nodiscard]] auto MetallicRoughnessInput() const; + auto MetallicRoughnessInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const; + [[nodiscard]] auto RoughnessFactor() const; + auto RoughnessFactor(float value) const; }; template <> struct consume { @@ -640,7 +640,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterialStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMetallicRoughnessMaterial) Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; + auto Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; }; template <> struct consume { @@ -649,18 +649,18 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Scenes_ISceneModelTransform { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) Orientation() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RotationAngle() const; - WINRT_IMPL_AUTO(void) RotationAngle(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RotationAngleInDegrees() const; - WINRT_IMPL_AUTO(void) RotationAngleInDegrees(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) RotationAxis() const; - WINRT_IMPL_AUTO(void) RotationAxis(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Scale() const; - WINRT_IMPL_AUTO(void) Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Translation() const; - WINRT_IMPL_AUTO(void) Translation(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Orientation() const; + auto Orientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const; + [[nodiscard]] auto RotationAngle() const; + auto RotationAngle(float value) const; + [[nodiscard]] auto RotationAngleInDegrees() const; + auto RotationAngleInDegrees(float value) const; + [[nodiscard]] auto RotationAxis() const; + auto RotationAxis(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Scale() const; + auto Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Translation() const; + auto Translation(winrt::Windows::Foundation::Numerics::float3 const& value) const; }; template <> struct consume { @@ -669,11 +669,11 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Scenes_ISceneNode { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneNodeCollection) Children() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneComponentCollection) Components() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneNode) Parent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneModelTransform) Transform() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneComponent) FindFirstComponentOfType(winrt::Windows::UI::Composition::Scenes::SceneComponentType const& value) const; + [[nodiscard]] auto Children() const; + [[nodiscard]] auto Components() const; + [[nodiscard]] auto Parent() const; + [[nodiscard]] auto Transform() const; + auto FindFirstComponentOfType(winrt::Windows::UI::Composition::Scenes::SceneComponentType const& value) const; }; template <> struct consume { @@ -690,7 +690,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Scenes_ISceneNodeStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneNode) Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; + auto Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; }; template <> struct consume { @@ -715,24 +715,24 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Scenes_IScenePbrMaterial { - [[nodiscard]] WINRT_IMPL_AUTO(float) AlphaCutoff() const; - WINRT_IMPL_AUTO(void) AlphaCutoff(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneAlphaMode) AlphaMode() const; - WINRT_IMPL_AUTO(void) AlphaMode(winrt::Windows::UI::Composition::Scenes::SceneAlphaMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput) EmissiveInput() const; - WINRT_IMPL_AUTO(void) EmissiveInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) EmissiveFactor() const; - WINRT_IMPL_AUTO(void) EmissiveFactor(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDoubleSided() const; - WINRT_IMPL_AUTO(void) IsDoubleSided(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput) NormalInput() const; - WINRT_IMPL_AUTO(void) NormalInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) NormalScale() const; - WINRT_IMPL_AUTO(void) NormalScale(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput) OcclusionInput() const; - WINRT_IMPL_AUTO(void) OcclusionInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) OcclusionStrength() const; - WINRT_IMPL_AUTO(void) OcclusionStrength(float value) const; + [[nodiscard]] auto AlphaCutoff() const; + auto AlphaCutoff(float value) const; + [[nodiscard]] auto AlphaMode() const; + auto AlphaMode(winrt::Windows::UI::Composition::Scenes::SceneAlphaMode const& value) const; + [[nodiscard]] auto EmissiveInput() const; + auto EmissiveInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const; + [[nodiscard]] auto EmissiveFactor() const; + auto EmissiveFactor(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto IsDoubleSided() const; + auto IsDoubleSided(bool value) const; + [[nodiscard]] auto NormalInput() const; + auto NormalInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const; + [[nodiscard]] auto NormalScale() const; + auto NormalScale(float value) const; + [[nodiscard]] auto OcclusionInput() const; + auto OcclusionInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const; + [[nodiscard]] auto OcclusionStrength() const; + auto OcclusionStrength(float value) const; }; template <> struct consume { @@ -765,14 +765,14 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode) BitmapInterpolationMode() const; - WINRT_IMPL_AUTO(void) BitmapInterpolationMode(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ICompositionSurface) Surface() const; - WINRT_IMPL_AUTO(void) Surface(winrt::Windows::UI::Composition::ICompositionSurface const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneWrappingMode) WrappingUMode() const; - WINRT_IMPL_AUTO(void) WrappingUMode(winrt::Windows::UI::Composition::Scenes::SceneWrappingMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneWrappingMode) WrappingVMode() const; - WINRT_IMPL_AUTO(void) WrappingVMode(winrt::Windows::UI::Composition::Scenes::SceneWrappingMode const& value) const; + [[nodiscard]] auto BitmapInterpolationMode() const; + auto BitmapInterpolationMode(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode const& value) const; + [[nodiscard]] auto Surface() const; + auto Surface(winrt::Windows::UI::Composition::ICompositionSurface const& value) const; + [[nodiscard]] auto WrappingUMode() const; + auto WrappingUMode(winrt::Windows::UI::Composition::Scenes::SceneWrappingMode const& value) const; + [[nodiscard]] auto WrappingVMode() const; + auto WrappingVMode(winrt::Windows::UI::Composition::Scenes::SceneWrappingMode const& value) const; }; template <> struct consume { @@ -781,7 +781,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInputStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneSurfaceMaterialInput) Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; + auto Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; }; template <> struct consume { @@ -790,8 +790,8 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Scenes_ISceneVisual { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneNode) Root() const; - WINRT_IMPL_AUTO(void) Root(winrt::Windows::UI::Composition::Scenes::SceneNode const& value) const; + [[nodiscard]] auto Root() const; + auto Root(winrt::Windows::UI::Composition::Scenes::SceneNode const& value) const; }; template <> struct consume { @@ -800,7 +800,7 @@ namespace winrt::impl template struct consume_Windows_UI_Composition_Scenes_ISceneVisualStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneVisual) Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; + auto Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.1.h index 7397f841..d62c3f0d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Scenes_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.2.h index 975cc6ab..a648089f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Composition_Scenes_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.0.h index 4642e9bc..c8ebb847 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Core_0_H @@ -8,7 +8,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct Point; struct Rect; struct Size; @@ -17,7 +16,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { struct IPropertySet; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::System { @@ -35,7 +33,6 @@ WINRT_EXPORT namespace winrt::Windows::UI::Input } WINRT_EXPORT namespace winrt::Windows::UI::Popups { - struct IUICommand; struct UICommandInvokedHandler; } WINRT_EXPORT namespace winrt::Windows::UI::Core @@ -989,9 +986,9 @@ namespace winrt::impl template struct consume_Windows_UI_Core_IAcceleratorKeyEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreAcceleratorKeyEventType) EventType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) VirtualKey() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) KeyStatus() const; + [[nodiscard]] auto EventType() const; + [[nodiscard]] auto VirtualKey() const; + [[nodiscard]] auto KeyStatus() const; }; template <> struct consume { @@ -1000,7 +997,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_IAcceleratorKeyEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -1009,8 +1006,8 @@ namespace winrt::impl template struct consume_Windows_UI_Core_IAutomationProviderRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) AutomationProvider() const; - WINRT_IMPL_AUTO(void) AutomationProvider(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto AutomationProvider() const; + auto AutomationProvider(winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -1019,8 +1016,8 @@ namespace winrt::impl template struct consume_Windows_UI_Core_IBackRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -1029,8 +1026,8 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICharacterReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) KeyCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) KeyStatus() const; + [[nodiscard]] auto KeyCode() const; + [[nodiscard]] auto KeyStatus() const; }; template <> struct consume { @@ -1039,10 +1036,10 @@ namespace winrt::impl template struct consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) PointerPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) SearchBounds() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) ClosestInteractiveBounds() const; - WINRT_IMPL_AUTO(void) ClosestInteractiveBounds(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto PointerPosition() const; + [[nodiscard]] auto SearchBounds() const; + [[nodiscard]] auto ClosestInteractiveBounds() const; + auto ClosestInteractiveBounds(winrt::Windows::Foundation::Rect const& value) const; }; template <> struct consume { @@ -1051,10 +1048,10 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreAcceleratorKeys { - WINRT_IMPL_AUTO(winrt::event_token) AcceleratorKeyActivated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AcceleratorKeyActivated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AcceleratorKeyActivated_revoker = impl::event_revoker::remove_AcceleratorKeyActivated>; - [[nodiscard]] AcceleratorKeyActivated_revoker AcceleratorKeyActivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AcceleratorKeyActivated(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto AcceleratorKeyActivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AcceleratorKeyActivated(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -1063,10 +1060,10 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreClosestInteractiveBoundsRequested { - WINRT_IMPL_AUTO(winrt::event_token) ClosestInteractiveBoundsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ClosestInteractiveBoundsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ClosestInteractiveBoundsRequested_revoker = impl::event_revoker::remove_ClosestInteractiveBoundsRequested>; - [[nodiscard]] ClosestInteractiveBoundsRequested_revoker ClosestInteractiveBoundsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ClosestInteractiveBoundsRequested(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto ClosestInteractiveBoundsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ClosestInteractiveBoundsRequested(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -1075,15 +1072,15 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreComponentFocusable { - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasFocus() const; - WINRT_IMPL_AUTO(winrt::event_token) GotFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto HasFocus() const; + auto GotFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using GotFocus_revoker = impl::event_revoker::remove_GotFocus>; - [[nodiscard]] GotFocus_revoker GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GotFocus(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LostFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GotFocus(winrt::event_token const& cookie) const noexcept; + auto LostFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LostFocus_revoker = impl::event_revoker::remove_LostFocus>; - [[nodiscard]] LostFocus_revoker LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LostFocus(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LostFocus(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -1092,8 +1089,8 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreCursor { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreCursorType) Type() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Type() const; }; template <> struct consume { @@ -1102,7 +1099,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreCursorFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreCursor) CreateCursor(winrt::Windows::UI::Core::CoreCursorType const& type, uint32_t id) const; + auto CreateCursor(winrt::Windows::UI::Core::CoreCursorType const& type, uint32_t id) const; }; template <> struct consume { @@ -1111,10 +1108,10 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreDispatcher { - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasThreadAccess() const; - WINRT_IMPL_AUTO(void) ProcessEvents(winrt::Windows::UI::Core::CoreProcessEventsOption const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RunAsync(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority, winrt::Windows::UI::Core::DispatchedHandler const& agileCallback) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RunIdleAsync(winrt::Windows::UI::Core::IdleDispatchedHandler const& agileCallback) const; + [[nodiscard]] auto HasThreadAccess() const; + auto ProcessEvents(winrt::Windows::UI::Core::CoreProcessEventsOption const& options) const; + auto RunAsync(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority, winrt::Windows::UI::Core::DispatchedHandler const& agileCallback) const; + auto RunIdleAsync(winrt::Windows::UI::Core::IdleDispatchedHandler const& agileCallback) const; }; template <> struct consume { @@ -1123,8 +1120,8 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreDispatcher2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryRunAsync(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority, winrt::Windows::UI::Core::DispatchedHandler const& agileCallback) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryRunIdleAsync(winrt::Windows::UI::Core::IdleDispatchedHandler const& agileCallback) const; + auto TryRunAsync(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority, winrt::Windows::UI::Core::DispatchedHandler const& agileCallback) const; + auto TryRunIdleAsync(winrt::Windows::UI::Core::IdleDispatchedHandler const& agileCallback) const; }; template <> struct consume { @@ -1133,11 +1130,11 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcherPriority) CurrentPriority() const; - WINRT_IMPL_AUTO(void) CurrentPriority(winrt::Windows::UI::Core::CoreDispatcherPriority const& value) const; - WINRT_IMPL_AUTO(bool) ShouldYield() const; - WINRT_IMPL_AUTO(bool) ShouldYield(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority) const; - WINRT_IMPL_AUTO(void) StopProcessEvents() const; + [[nodiscard]] auto CurrentPriority() const; + auto CurrentPriority(winrt::Windows::UI::Core::CoreDispatcherPriority const& value) const; + auto ShouldYield() const; + auto ShouldYield(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority) const; + auto StopProcessEvents() const; }; template <> struct consume { @@ -1146,13 +1143,13 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreInputSourceBase { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) Dispatcher() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInputEnabled() const; - WINRT_IMPL_AUTO(void) IsInputEnabled(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) InputEnabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Dispatcher() const; + [[nodiscard]] auto IsInputEnabled() const; + auto IsInputEnabled(bool value) const; + auto InputEnabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using InputEnabled_revoker = impl::event_revoker::remove_InputEnabled>; - [[nodiscard]] InputEnabled_revoker InputEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) InputEnabled(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto InputEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto InputEnabled(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -1161,19 +1158,19 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreKeyboardInputSource { - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreVirtualKeyStates) GetCurrentKeyState(winrt::Windows::System::VirtualKey const& virtualKey) const; - WINRT_IMPL_AUTO(winrt::event_token) CharacterReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetCurrentKeyState(winrt::Windows::System::VirtualKey const& virtualKey) const; + auto CharacterReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CharacterReceived_revoker = impl::event_revoker::remove_CharacterReceived>; - [[nodiscard]] CharacterReceived_revoker CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CharacterReceived(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) KeyDown(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CharacterReceived(winrt::event_token const& cookie) const noexcept; + auto KeyDown(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using KeyDown_revoker = impl::event_revoker::remove_KeyDown>; - [[nodiscard]] KeyDown_revoker KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) KeyDown(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) KeyUp(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto KeyDown(winrt::event_token const& cookie) const noexcept; + auto KeyUp(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using KeyUp_revoker = impl::event_revoker::remove_KeyUp>; - [[nodiscard]] KeyUp_revoker KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) KeyUp(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto KeyUp(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -1182,7 +1179,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreKeyboardInputSource2 { - WINRT_IMPL_AUTO(hstring) GetCurrentKeyEventDeviceId() const; + auto GetCurrentKeyEventDeviceId() const; }; template <> struct consume { @@ -1191,40 +1188,40 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICorePointerInputSource { - WINRT_IMPL_AUTO(void) ReleasePointerCapture() const; - WINRT_IMPL_AUTO(void) SetPointerCapture() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasCapture() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) PointerPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreCursor) PointerCursor() const; - WINRT_IMPL_AUTO(void) PointerCursor(winrt::Windows::UI::Core::CoreCursor const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) PointerCaptureLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ReleasePointerCapture() const; + auto SetPointerCapture() const; + [[nodiscard]] auto HasCapture() const; + [[nodiscard]] auto PointerPosition() const; + [[nodiscard]] auto PointerCursor() const; + auto PointerCursor(winrt::Windows::UI::Core::CoreCursor const& value) const; + auto PointerCaptureLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerCaptureLost_revoker = impl::event_revoker::remove_PointerCaptureLost>; - [[nodiscard]] PointerCaptureLost_revoker PointerCaptureLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerCaptureLost(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerCaptureLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerCaptureLost(winrt::event_token const& cookie) const noexcept; + auto PointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerEntered_revoker = impl::event_revoker::remove_PointerEntered>; - [[nodiscard]] PointerEntered_revoker PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerEntered(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerEntered(winrt::event_token const& cookie) const noexcept; + auto PointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerExited_revoker = impl::event_revoker::remove_PointerExited>; - [[nodiscard]] PointerExited_revoker PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerExited(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerExited(winrt::event_token const& cookie) const noexcept; + auto PointerMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerMoved_revoker = impl::event_revoker::remove_PointerMoved>; - [[nodiscard]] PointerMoved_revoker PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerMoved(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerMoved(winrt::event_token const& cookie) const noexcept; + auto PointerPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerPressed_revoker = impl::event_revoker::remove_PointerPressed>; - [[nodiscard]] PointerPressed_revoker PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerPressed(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerPressed(winrt::event_token const& cookie) const noexcept; + auto PointerReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerReleased_revoker = impl::event_revoker::remove_PointerReleased>; - [[nodiscard]] PointerReleased_revoker PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerReleased(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerWheelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerReleased(winrt::event_token const& cookie) const noexcept; + auto PointerWheelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerWheelChanged_revoker = impl::event_revoker::remove_PointerWheelChanged>; - [[nodiscard]] PointerWheelChanged_revoker PointerWheelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerWheelChanged(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto PointerWheelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerWheelChanged(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -1233,7 +1230,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICorePointerInputSource2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) DispatcherQueue() const; + [[nodiscard]] auto DispatcherQueue() const; }; template <> struct consume { @@ -1242,18 +1239,18 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICorePointerRedirector { - WINRT_IMPL_AUTO(winrt::event_token) PointerRoutedAway(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerRoutedAway(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerRoutedAway_revoker = impl::event_revoker::remove_PointerRoutedAway>; - [[nodiscard]] PointerRoutedAway_revoker PointerRoutedAway(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerRoutedAway(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerRoutedTo(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerRoutedAway(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerRoutedAway(winrt::event_token const& cookie) const noexcept; + auto PointerRoutedTo(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerRoutedTo_revoker = impl::event_revoker::remove_PointerRoutedTo>; - [[nodiscard]] PointerRoutedTo_revoker PointerRoutedTo(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerRoutedTo(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerRoutedReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerRoutedTo(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerRoutedTo(winrt::event_token const& cookie) const noexcept; + auto PointerRoutedReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerRoutedReleased_revoker = impl::event_revoker::remove_PointerRoutedReleased>; - [[nodiscard]] PointerRoutedReleased_revoker PointerRoutedReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerRoutedReleased(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto PointerRoutedReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerRoutedReleased(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -1262,10 +1259,10 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreTouchHitTesting { - WINRT_IMPL_AUTO(winrt::event_token) TouchHitTesting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TouchHitTesting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TouchHitTesting_revoker = impl::event_revoker::remove_TouchHitTesting>; - [[nodiscard]] TouchHitTesting_revoker TouchHitTesting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TouchHitTesting(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto TouchHitTesting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TouchHitTesting(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -1274,92 +1271,92 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreWindow { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) AutomationHostProvider() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Bounds() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) CustomProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) Dispatcher() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowFlowDirection) FlowDirection() const; - WINRT_IMPL_AUTO(void) FlowDirection(winrt::Windows::UI::Core::CoreWindowFlowDirection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInputEnabled() const; - WINRT_IMPL_AUTO(void) IsInputEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreCursor) PointerCursor() const; - WINRT_IMPL_AUTO(void) PointerCursor(winrt::Windows::UI::Core::CoreCursor const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) PointerPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Visible() const; - WINRT_IMPL_AUTO(void) Activate() const; - WINRT_IMPL_AUTO(void) Close() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreVirtualKeyStates) GetAsyncKeyState(winrt::Windows::System::VirtualKey const& virtualKey) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreVirtualKeyStates) GetKeyState(winrt::Windows::System::VirtualKey const& virtualKey) const; - WINRT_IMPL_AUTO(void) ReleasePointerCapture() const; - WINRT_IMPL_AUTO(void) SetPointerCapture() const; - WINRT_IMPL_AUTO(winrt::event_token) Activated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AutomationHostProvider() const; + [[nodiscard]] auto Bounds() const; + [[nodiscard]] auto CustomProperties() const; + [[nodiscard]] auto Dispatcher() const; + [[nodiscard]] auto FlowDirection() const; + auto FlowDirection(winrt::Windows::UI::Core::CoreWindowFlowDirection const& value) const; + [[nodiscard]] auto IsInputEnabled() const; + auto IsInputEnabled(bool value) const; + [[nodiscard]] auto PointerCursor() const; + auto PointerCursor(winrt::Windows::UI::Core::CoreCursor const& value) const; + [[nodiscard]] auto PointerPosition() const; + [[nodiscard]] auto Visible() const; + auto Activate() const; + auto Close() const; + auto GetAsyncKeyState(winrt::Windows::System::VirtualKey const& virtualKey) const; + auto GetKeyState(winrt::Windows::System::VirtualKey const& virtualKey) const; + auto ReleasePointerCapture() const; + auto SetPointerCapture() const; + auto Activated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Activated_revoker = impl::event_revoker::remove_Activated>; - [[nodiscard]] Activated_revoker Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Activated(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AutomationProviderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Activated(winrt::event_token const& cookie) const noexcept; + auto AutomationProviderRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AutomationProviderRequested_revoker = impl::event_revoker::remove_AutomationProviderRequested>; - [[nodiscard]] AutomationProviderRequested_revoker AutomationProviderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AutomationProviderRequested(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CharacterReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AutomationProviderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AutomationProviderRequested(winrt::event_token const& cookie) const noexcept; + auto CharacterReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CharacterReceived_revoker = impl::event_revoker::remove_CharacterReceived>; - [[nodiscard]] CharacterReceived_revoker CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CharacterReceived(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CharacterReceived(winrt::event_token const& cookie) const noexcept; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) InputEnabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& cookie) const noexcept; + auto InputEnabled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using InputEnabled_revoker = impl::event_revoker::remove_InputEnabled>; - [[nodiscard]] InputEnabled_revoker InputEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) InputEnabled(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) KeyDown(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto InputEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto InputEnabled(winrt::event_token const& cookie) const noexcept; + auto KeyDown(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using KeyDown_revoker = impl::event_revoker::remove_KeyDown>; - [[nodiscard]] KeyDown_revoker KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) KeyDown(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) KeyUp(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto KeyDown(winrt::event_token const& cookie) const noexcept; + auto KeyUp(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using KeyUp_revoker = impl::event_revoker::remove_KeyUp>; - [[nodiscard]] KeyUp_revoker KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) KeyUp(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerCaptureLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto KeyUp(winrt::event_token const& cookie) const noexcept; + auto PointerCaptureLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerCaptureLost_revoker = impl::event_revoker::remove_PointerCaptureLost>; - [[nodiscard]] PointerCaptureLost_revoker PointerCaptureLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerCaptureLost(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerCaptureLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerCaptureLost(winrt::event_token const& cookie) const noexcept; + auto PointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerEntered_revoker = impl::event_revoker::remove_PointerEntered>; - [[nodiscard]] PointerEntered_revoker PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerEntered(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerEntered(winrt::event_token const& cookie) const noexcept; + auto PointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerExited_revoker = impl::event_revoker::remove_PointerExited>; - [[nodiscard]] PointerExited_revoker PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerExited(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerExited(winrt::event_token const& cookie) const noexcept; + auto PointerMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerMoved_revoker = impl::event_revoker::remove_PointerMoved>; - [[nodiscard]] PointerMoved_revoker PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerMoved(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerMoved(winrt::event_token const& cookie) const noexcept; + auto PointerPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerPressed_revoker = impl::event_revoker::remove_PointerPressed>; - [[nodiscard]] PointerPressed_revoker PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerPressed(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerPressed(winrt::event_token const& cookie) const noexcept; + auto PointerReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerReleased_revoker = impl::event_revoker::remove_PointerReleased>; - [[nodiscard]] PointerReleased_revoker PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerReleased(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TouchHitTesting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerReleased(winrt::event_token const& cookie) const noexcept; + auto TouchHitTesting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TouchHitTesting_revoker = impl::event_revoker::remove_TouchHitTesting>; - [[nodiscard]] TouchHitTesting_revoker TouchHitTesting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TouchHitTesting(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerWheelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TouchHitTesting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TouchHitTesting(winrt::event_token const& cookie) const noexcept; + auto PointerWheelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerWheelChanged_revoker = impl::event_revoker::remove_PointerWheelChanged>; - [[nodiscard]] PointerWheelChanged_revoker PointerWheelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerWheelChanged(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SizeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerWheelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerWheelChanged(winrt::event_token const& cookie) const noexcept; + auto SizeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SizeChanged_revoker = impl::event_revoker::remove_SizeChanged>; - [[nodiscard]] SizeChanged_revoker SizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SizeChanged(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) VisibilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SizeChanged(winrt::event_token const& cookie) const noexcept; + auto VisibilityChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using VisibilityChanged_revoker = impl::event_revoker::remove_VisibilityChanged>; - [[nodiscard]] VisibilityChanged_revoker VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VisibilityChanged(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VisibilityChanged(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -1368,7 +1365,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreWindow2 { - WINRT_IMPL_AUTO(void) PointerPosition(winrt::Windows::Foundation::Point const& value) const; + auto PointerPosition(winrt::Windows::Foundation::Point const& value) const; }; template <> struct consume { @@ -1377,11 +1374,11 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreWindow3 { - WINRT_IMPL_AUTO(winrt::event_token) ClosestInteractiveBoundsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ClosestInteractiveBoundsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ClosestInteractiveBoundsRequested_revoker = impl::event_revoker::remove_ClosestInteractiveBoundsRequested>; - [[nodiscard]] ClosestInteractiveBoundsRequested_revoker ClosestInteractiveBoundsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ClosestInteractiveBoundsRequested(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(hstring) GetCurrentKeyEventDeviceId() const; + [[nodiscard]] auto ClosestInteractiveBoundsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ClosestInteractiveBoundsRequested(winrt::event_token const& cookie) const noexcept; + auto GetCurrentKeyEventDeviceId() const; }; template <> struct consume { @@ -1390,14 +1387,14 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreWindow4 { - WINRT_IMPL_AUTO(winrt::event_token) ResizeStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ResizeStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ResizeStarted_revoker = impl::event_revoker::remove_ResizeStarted>; - [[nodiscard]] ResizeStarted_revoker ResizeStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ResizeStarted(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ResizeCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ResizeStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ResizeStarted(winrt::event_token const& cookie) const noexcept; + auto ResizeCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ResizeCompleted_revoker = impl::event_revoker::remove_ResizeCompleted>; - [[nodiscard]] ResizeCompleted_revoker ResizeCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ResizeCompleted(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto ResizeCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ResizeCompleted(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -1406,8 +1403,8 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreWindow5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) DispatcherQueue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowActivationMode) ActivationMode() const; + [[nodiscard]] auto DispatcherQueue() const; + [[nodiscard]] auto ActivationMode() const; }; template <> struct consume { @@ -1416,24 +1413,24 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreWindowDialog { - WINRT_IMPL_AUTO(winrt::event_token) Showing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Showing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Showing_revoker = impl::event_revoker::remove_Showing>; - [[nodiscard]] Showing_revoker Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Showing(winrt::event_token const& cookie) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) MaxSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) MinSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) IsInteractionDelayed() const; - WINRT_IMPL_AUTO(void) IsInteractionDelayed(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Commands() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DefaultCommandIndex() const; - WINRT_IMPL_AUTO(void) DefaultCommandIndex(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CancelCommandIndex() const; - WINRT_IMPL_AUTO(void) CancelCommandIndex(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommandInvokedHandler) BackButtonCommand() const; - WINRT_IMPL_AUTO(void) BackButtonCommand(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowAsync() const; + [[nodiscard]] auto Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Showing(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto MaxSize() const; + [[nodiscard]] auto MinSize() const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto IsInteractionDelayed() const; + auto IsInteractionDelayed(int32_t value) const; + [[nodiscard]] auto Commands() const; + [[nodiscard]] auto DefaultCommandIndex() const; + auto DefaultCommandIndex(uint32_t value) const; + [[nodiscard]] auto CancelCommandIndex() const; + auto CancelCommandIndex(uint32_t value) const; + [[nodiscard]] auto BackButtonCommand() const; + auto BackButtonCommand(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const; + auto ShowAsync() const; }; template <> struct consume { @@ -1442,7 +1439,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreWindowDialogFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowDialog) CreateWithTitle(param::hstring const& title) const; + auto CreateWithTitle(param::hstring const& title) const; }; template <> struct consume { @@ -1451,8 +1448,8 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreWindowEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -1461,22 +1458,22 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreWindowFlyout { - WINRT_IMPL_AUTO(winrt::event_token) Showing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Showing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Showing_revoker = impl::event_revoker::remove_Showing>; - [[nodiscard]] Showing_revoker Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Showing(winrt::event_token const& cookie) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) MaxSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) MinSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) IsInteractionDelayed() const; - WINRT_IMPL_AUTO(void) IsInteractionDelayed(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Commands() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DefaultCommandIndex() const; - WINRT_IMPL_AUTO(void) DefaultCommandIndex(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommandInvokedHandler) BackButtonCommand() const; - WINRT_IMPL_AUTO(void) BackButtonCommand(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowAsync() const; + [[nodiscard]] auto Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Showing(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto MaxSize() const; + [[nodiscard]] auto MinSize() const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto IsInteractionDelayed() const; + auto IsInteractionDelayed(int32_t value) const; + [[nodiscard]] auto Commands() const; + [[nodiscard]] auto DefaultCommandIndex() const; + auto DefaultCommandIndex(uint32_t value) const; + [[nodiscard]] auto BackButtonCommand() const; + auto BackButtonCommand(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const; + auto ShowAsync() const; }; template <> struct consume { @@ -1485,8 +1482,8 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreWindowFlyoutFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowFlyout) Create(winrt::Windows::Foundation::Point const& position) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowFlyout) CreateWithTitle(winrt::Windows::Foundation::Point const& position, param::hstring const& title) const; + auto Create(winrt::Windows::Foundation::Point const& position) const; + auto CreateWithTitle(winrt::Windows::Foundation::Point const& position, param::hstring const& title) const; }; template <> struct consume { @@ -1495,7 +1492,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreWindowPopupShowingEventArgs { - WINRT_IMPL_AUTO(void) SetDesiredSize(winrt::Windows::Foundation::Size const& value) const; + auto SetDesiredSize(winrt::Windows::Foundation::Size const& value) const; }; template <> struct consume { @@ -1504,7 +1501,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreWindowResizeManager { - WINRT_IMPL_AUTO(void) NotifyLayoutCompleted() const; + auto NotifyLayoutCompleted() const; }; template <> struct consume { @@ -1513,8 +1510,8 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreWindowResizeManagerLayoutCapability { - WINRT_IMPL_AUTO(void) ShouldWaitForLayoutCompletion(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldWaitForLayoutCompletion() const; + auto ShouldWaitForLayoutCompletion(bool value) const; + [[nodiscard]] auto ShouldWaitForLayoutCompletion() const; }; template <> struct consume { @@ -1523,7 +1520,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreWindowResizeManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowResizeManager) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -1532,7 +1529,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreWindowStatic { - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindow) GetForCurrentThread() const; + auto GetForCurrentThread() const; }; template <> struct consume { @@ -1541,7 +1538,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ICoreWindowWithContext { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) UIContext() const; + [[nodiscard]] auto UIContext() const; }; template <> struct consume { @@ -1550,7 +1547,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_IIdleDispatchedHandlerArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDispatcherIdle() const; + [[nodiscard]] auto IsDispatcherIdle() const; }; template <> struct consume { @@ -1559,7 +1556,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_IInitializeWithCoreWindow { - WINRT_IMPL_AUTO(void) Initialize(winrt::Windows::UI::Core::CoreWindow const& window) const; + auto Initialize(winrt::Windows::UI::Core::CoreWindow const& window) const; }; template <> struct consume { @@ -1568,7 +1565,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_IInputEnabledEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) InputEnabled() const; + [[nodiscard]] auto InputEnabled() const; }; template <> struct consume { @@ -1577,8 +1574,8 @@ namespace winrt::impl template struct consume_Windows_UI_Core_IKeyEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) VirtualKey() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) KeyStatus() const; + [[nodiscard]] auto VirtualKey() const; + [[nodiscard]] auto KeyStatus() const; }; template <> struct consume { @@ -1587,7 +1584,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_IKeyEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -1596,9 +1593,9 @@ namespace winrt::impl template struct consume_Windows_UI_Core_IPointerEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPoint) CurrentPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) KeyModifiers() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetIntermediatePoints() const; + [[nodiscard]] auto CurrentPoint() const; + [[nodiscard]] auto KeyModifiers() const; + auto GetIntermediatePoints() const; }; template <> struct consume { @@ -1607,10 +1604,10 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ISystemNavigationManager { - WINRT_IMPL_AUTO(winrt::event_token) BackRequested(winrt::Windows::Foundation::EventHandler const& handler) const; + auto BackRequested(winrt::Windows::Foundation::EventHandler const& handler) const; using BackRequested_revoker = impl::event_revoker::remove_BackRequested>; - [[nodiscard]] BackRequested_revoker BackRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BackRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto BackRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto BackRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1619,8 +1616,8 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ISystemNavigationManager2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::AppViewBackButtonVisibility) AppViewBackButtonVisibility() const; - WINRT_IMPL_AUTO(void) AppViewBackButtonVisibility(winrt::Windows::UI::Core::AppViewBackButtonVisibility const& value) const; + [[nodiscard]] auto AppViewBackButtonVisibility() const; + auto AppViewBackButtonVisibility(winrt::Windows::UI::Core::AppViewBackButtonVisibility const& value) const; }; template <> struct consume { @@ -1629,7 +1626,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ISystemNavigationManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::SystemNavigationManager) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -1638,12 +1635,12 @@ namespace winrt::impl template struct consume_Windows_UI_Core_ITouchHitTestingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreProximityEvaluation) ProximityEvaluation() const; - WINRT_IMPL_AUTO(void) ProximityEvaluation(winrt::Windows::UI::Core::CoreProximityEvaluation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Point() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) BoundingBox() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreProximityEvaluation) EvaluateProximity(winrt::Windows::Foundation::Rect const& controlBoundingBox) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreProximityEvaluation) EvaluateProximity(array_view controlVertices) const; + [[nodiscard]] auto ProximityEvaluation() const; + auto ProximityEvaluation(winrt::Windows::UI::Core::CoreProximityEvaluation const& value) const; + [[nodiscard]] auto Point() const; + [[nodiscard]] auto BoundingBox() const; + auto EvaluateProximity(winrt::Windows::Foundation::Rect const& controlBoundingBox) const; + auto EvaluateProximity(array_view controlVertices) const; }; template <> struct consume { @@ -1652,7 +1649,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_IVisibilityChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Visible() const; + [[nodiscard]] auto Visible() const; }; template <> struct consume { @@ -1661,7 +1658,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_IWindowActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowActivationState) WindowActivationState() const; + [[nodiscard]] auto WindowActivationState() const; }; template <> struct consume { @@ -1670,7 +1667,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_IWindowSizeChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) Size() const; + [[nodiscard]] auto Size() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.1.h index 1fb9f038..66f6f529 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.2.h index bda17cd9..f59d5118 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.0.h index d3fac529..be688927 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.0.h @@ -1,17 +1,12 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Core_AnimationMetrics_0_H #define WINRT_Windows_UI_Core_AnimationMetrics_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IReference; struct Point; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::UI::Core::AnimationMetrics { enum class AnimationEffect : int32_t @@ -182,11 +177,11 @@ namespace winrt::impl template struct consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Animations() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) StaggerDelay() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) StaggerDelayFactor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DelayLimit() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ZOrder() const; + [[nodiscard]] auto Animations() const; + [[nodiscard]] auto StaggerDelay() const; + [[nodiscard]] auto StaggerDelayFactor() const; + [[nodiscard]] auto DelayLimit() const; + [[nodiscard]] auto ZOrder() const; }; template <> struct consume { @@ -195,7 +190,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_AnimationMetrics_IAnimationDescriptionFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::AnimationMetrics::AnimationDescription) CreateInstance(winrt::Windows::UI::Core::AnimationMetrics::AnimationEffect const& effect, winrt::Windows::UI::Core::AnimationMetrics::AnimationEffectTarget const& target) const; + auto CreateInstance(winrt::Windows::UI::Core::AnimationMetrics::AnimationEffect const& effect, winrt::Windows::UI::Core::AnimationMetrics::AnimationEffectTarget const& target) const; }; template <> struct consume { @@ -204,8 +199,8 @@ namespace winrt::impl template struct consume_Windows_UI_Core_AnimationMetrics_IOpacityAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InitialOpacity() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) FinalOpacity() const; + [[nodiscard]] auto InitialOpacity() const; + [[nodiscard]] auto FinalOpacity() const; }; template <> struct consume { @@ -214,11 +209,11 @@ namespace winrt::impl template struct consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::AnimationMetrics::PropertyAnimationType) Type() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Delay() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Control1() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Control2() const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto Delay() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto Control1() const; + [[nodiscard]] auto Control2() const; }; template <> struct consume { @@ -227,11 +222,11 @@ namespace winrt::impl template struct consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InitialScaleX() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InitialScaleY() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) FinalScaleX() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) FinalScaleY() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) NormalizedOrigin() const; + [[nodiscard]] auto InitialScaleX() const; + [[nodiscard]] auto InitialScaleY() const; + [[nodiscard]] auto FinalScaleX() const; + [[nodiscard]] auto FinalScaleY() const; + [[nodiscard]] auto NormalizedOrigin() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.1.h index cd658f2c..5b55450a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Core_AnimationMetrics_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.2.h index 1fe193c5..2d0ddbf9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Core_AnimationMetrics_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.0.h index 98cf3ff1..f3049586 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Core_Preview_0_H @@ -98,7 +98,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_Preview_ICoreAppWindowPreviewStatics { - WINRT_IMPL_AUTO(int32_t) GetIdFromWindow(winrt::Windows::UI::WindowManagement::AppWindow const& window) const; + auto GetIdFromWindow(winrt::Windows::UI::WindowManagement::AppWindow const& window) const; }; template <> struct consume { @@ -107,9 +107,9 @@ namespace winrt::impl template struct consume_Windows_UI_Core_Preview_ISystemNavigationCloseRequestedPreviewEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -118,10 +118,10 @@ namespace winrt::impl template struct consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreview { - WINRT_IMPL_AUTO(winrt::event_token) CloseRequested(winrt::Windows::Foundation::EventHandler const& handler) const; + auto CloseRequested(winrt::Windows::Foundation::EventHandler const& handler) const; using CloseRequested_revoker = impl::event_revoker::remove_CloseRequested>; - [[nodiscard]] CloseRequested_revoker CloseRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CloseRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CloseRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto CloseRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -130,7 +130,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreviewStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::Preview::SystemNavigationManagerPreview) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.1.h index 79d9ee15..d892fe07 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Core_Preview_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.2.h index 4981c8ed..03efeb44 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Core_Preview_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.0.h index 019c27fd..89dcf0e3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Core_Preview_Communications_0_H @@ -201,7 +201,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_Preview_Communications_IPreviewTeamCleanupRequestedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -210,7 +210,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_Preview_Communications_IPreviewTeamCommandInvokedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::Preview::Communications::PreviewTeamViewCommand) Command() const; + [[nodiscard]] auto Command() const; }; template <> struct consume { @@ -219,9 +219,9 @@ namespace winrt::impl template struct consume_Windows_UI_Core_Preview_Communications_IPreviewTeamDeviceCredentials { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserPrincipalName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DomainUserName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Password() const; + [[nodiscard]] auto UserPrincipalName() const; + [[nodiscard]] auto DomainUserName() const; + [[nodiscard]] auto Password() const; }; template <> struct consume { @@ -230,7 +230,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_Preview_Communications_IPreviewTeamEndMeetingRequestedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -239,8 +239,8 @@ namespace winrt::impl template struct consume_Windows_UI_Core_Preview_Communications_IPreviewTeamJoinMeetingRequestedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) MeetingUri() const; + auto GetDeferral() const; + [[nodiscard]] auto MeetingUri() const; }; template <> struct consume { @@ -249,52 +249,52 @@ namespace winrt::impl template struct consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView { - WINRT_IMPL_AUTO(void) SetTitle(param::hstring const& title) const; - WINRT_IMPL_AUTO(void) EnterFullScreen() const; - WINRT_IMPL_AUTO(void) LeaveFullScreen() const; - WINRT_IMPL_AUTO(void) RequestForeground() const; - WINRT_IMPL_AUTO(void) StartSharingScreen() const; - WINRT_IMPL_AUTO(void) StopSharingScreen() const; - WINRT_IMPL_AUTO(void) NotifyMeetingEnded(winrt::Windows::UI::Core::Preview::Communications::PreviewTeamEndMeetingKind const& kind) const; - WINRT_IMPL_AUTO(void) JoinMeetingWithUri(winrt::Windows::Foundation::Uri const& meetingUri) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) MeetingUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) SharingScreenBounds() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsScreenSharing() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFullScreen() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::Preview::Communications::PreviewSystemState) SystemState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::Preview::Communications::PreviewMeetingInfoDisplayKind) MeetingInfoDisplayType() const; - WINRT_IMPL_AUTO(winrt::event_token) JoinMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SetTitle(param::hstring const& title) const; + auto EnterFullScreen() const; + auto LeaveFullScreen() const; + auto RequestForeground() const; + auto StartSharingScreen() const; + auto StopSharingScreen() const; + auto NotifyMeetingEnded(winrt::Windows::UI::Core::Preview::Communications::PreviewTeamEndMeetingKind const& kind) const; + auto JoinMeetingWithUri(winrt::Windows::Foundation::Uri const& meetingUri) const; + [[nodiscard]] auto MeetingUri() const; + [[nodiscard]] auto SharingScreenBounds() const; + [[nodiscard]] auto IsScreenSharing() const; + [[nodiscard]] auto IsFullScreen() const; + [[nodiscard]] auto SystemState() const; + [[nodiscard]] auto MeetingInfoDisplayType() const; + auto JoinMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using JoinMeetingRequested_revoker = impl::event_revoker::remove_JoinMeetingRequested>; - [[nodiscard]] JoinMeetingRequested_revoker JoinMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) JoinMeetingRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EndMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto JoinMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto JoinMeetingRequested(winrt::event_token const& token) const noexcept; + auto EndMeetingRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EndMeetingRequested_revoker = impl::event_revoker::remove_EndMeetingRequested>; - [[nodiscard]] EndMeetingRequested_revoker EndMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EndMeetingRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CleanupRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EndMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EndMeetingRequested(winrt::event_token const& token) const noexcept; + auto CleanupRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CleanupRequested_revoker = impl::event_revoker::remove_CleanupRequested>; - [[nodiscard]] CleanupRequested_revoker CleanupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CleanupRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SharingScreenBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CleanupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CleanupRequested(winrt::event_token const& token) const noexcept; + auto SharingScreenBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SharingScreenBoundsChanged_revoker = impl::event_revoker::remove_SharingScreenBoundsChanged>; - [[nodiscard]] SharingScreenBoundsChanged_revoker SharingScreenBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SharingScreenBoundsChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) IsScreenSharingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SharingScreenBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SharingScreenBoundsChanged(winrt::event_token const& token) const noexcept; + auto IsScreenSharingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsScreenSharingChanged_revoker = impl::event_revoker::remove_IsScreenSharingChanged>; - [[nodiscard]] IsScreenSharingChanged_revoker IsScreenSharingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsScreenSharingChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) IsFullScreenChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsScreenSharingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsScreenSharingChanged(winrt::event_token const& token) const noexcept; + auto IsFullScreenChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsFullScreenChanged_revoker = impl::event_revoker::remove_IsFullScreenChanged>; - [[nodiscard]] IsFullScreenChanged_revoker IsFullScreenChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsFullScreenChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CommandInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsFullScreenChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsFullScreenChanged(winrt::event_token const& token) const noexcept; + auto CommandInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CommandInvoked_revoker = impl::event_revoker::remove_CommandInvoked>; - [[nodiscard]] CommandInvoked_revoker CommandInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CommandInvoked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SystemStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CommandInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CommandInvoked(winrt::event_token const& token) const noexcept; + auto SystemStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SystemStateChanged_revoker = impl::event_revoker::remove_SystemStateChanged>; - [[nodiscard]] SystemStateChanged_revoker SystemStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SystemStateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SystemStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SystemStateChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -303,7 +303,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView2 { - WINRT_IMPL_AUTO(void) SetButtonLabel(param::hstring const& label) const; + auto SetButtonLabel(param::hstring const& label) const; }; template <> struct consume { @@ -312,7 +312,7 @@ namespace winrt::impl template struct consume_Windows_UI_Core_Preview_Communications_IPreviewTeamViewStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.1.h index 1bb6cec7..234267d2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Core_Preview_Communications_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.2.h index 0c6f59d3..cbd61e6d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Core_Preview_Communications_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.0.h index 036b0846..43ca7097 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_0_H @@ -15,7 +15,6 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Input WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IReference; struct Point; struct Rect; template struct __declspec(empty_bases) TypedEventHandler; @@ -1308,9 +1307,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_ICrossSlidingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::CrossSlidingState) CrossSlidingState() const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto CrossSlidingState() const; }; template <> struct consume { @@ -1319,7 +1318,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_ICrossSlidingEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ContactCount() const; + [[nodiscard]] auto ContactCount() const; }; template <> struct consume { @@ -1328,9 +1327,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IDraggingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::DraggingState) DraggingState() const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto DraggingState() const; }; template <> struct consume { @@ -1339,7 +1338,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IDraggingEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ContactCount() const; + [[nodiscard]] auto ContactCount() const; }; template <> struct consume { @@ -1348,18 +1347,18 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IEdgeGesture { - WINRT_IMPL_AUTO(winrt::event_token) Starting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Starting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Starting_revoker = impl::event_revoker::remove_Starting>; - [[nodiscard]] Starting_revoker Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Starting(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Starting(winrt::event_token const& token) const noexcept; + auto Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Completed_revoker = impl::event_revoker::remove_Completed>; - [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Completed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Canceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Completed(winrt::event_token const& token) const noexcept; + auto Canceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Canceled_revoker = impl::event_revoker::remove_Canceled>; - [[nodiscard]] Canceled_revoker Canceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Canceled(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Canceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Canceled(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1368,7 +1367,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IEdgeGestureEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::EdgeGestureKind) Kind() const; + [[nodiscard]] auto Kind() const; }; template <> struct consume { @@ -1377,7 +1376,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IEdgeGestureStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::EdgeGesture) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -1386,82 +1385,82 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IGestureRecognizer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::GestureSettings) GestureSettings() const; - WINRT_IMPL_AUTO(void) GestureSettings(winrt::Windows::UI::Input::GestureSettings const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInertial() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsActive() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShowGestureFeedback() const; - WINRT_IMPL_AUTO(void) ShowGestureFeedback(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) PivotCenter() const; - WINRT_IMPL_AUTO(void) PivotCenter(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) PivotRadius() const; - WINRT_IMPL_AUTO(void) PivotRadius(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) InertiaTranslationDeceleration() const; - WINRT_IMPL_AUTO(void) InertiaTranslationDeceleration(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) InertiaRotationDeceleration() const; - WINRT_IMPL_AUTO(void) InertiaRotationDeceleration(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) InertiaExpansionDeceleration() const; - WINRT_IMPL_AUTO(void) InertiaExpansionDeceleration(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) InertiaTranslationDisplacement() const; - WINRT_IMPL_AUTO(void) InertiaTranslationDisplacement(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) InertiaRotationAngle() const; - WINRT_IMPL_AUTO(void) InertiaRotationAngle(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) InertiaExpansion() const; - WINRT_IMPL_AUTO(void) InertiaExpansion(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ManipulationExact() const; - WINRT_IMPL_AUTO(void) ManipulationExact(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::CrossSlideThresholds) CrossSlideThresholds() const; - WINRT_IMPL_AUTO(void) CrossSlideThresholds(winrt::Windows::UI::Input::CrossSlideThresholds const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CrossSlideHorizontally() const; - WINRT_IMPL_AUTO(void) CrossSlideHorizontally(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CrossSlideExact() const; - WINRT_IMPL_AUTO(void) CrossSlideExact(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoProcessInertia() const; - WINRT_IMPL_AUTO(void) AutoProcessInertia(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::MouseWheelParameters) MouseWheelParameters() const; - WINRT_IMPL_AUTO(bool) CanBeDoubleTap(winrt::Windows::UI::Input::PointerPoint const& value) const; - WINRT_IMPL_AUTO(void) ProcessDownEvent(winrt::Windows::UI::Input::PointerPoint const& value) const; - WINRT_IMPL_AUTO(void) ProcessMoveEvents(param::vector const& value) const; - WINRT_IMPL_AUTO(void) ProcessUpEvent(winrt::Windows::UI::Input::PointerPoint const& value) const; - WINRT_IMPL_AUTO(void) ProcessMouseWheelEvent(winrt::Windows::UI::Input::PointerPoint const& value, bool isShiftKeyDown, bool isControlKeyDown) const; - WINRT_IMPL_AUTO(void) ProcessInertia() const; - WINRT_IMPL_AUTO(void) CompleteGesture() const; - WINRT_IMPL_AUTO(winrt::event_token) Tapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto GestureSettings() const; + auto GestureSettings(winrt::Windows::UI::Input::GestureSettings const& value) const; + [[nodiscard]] auto IsInertial() const; + [[nodiscard]] auto IsActive() const; + [[nodiscard]] auto ShowGestureFeedback() const; + auto ShowGestureFeedback(bool value) const; + [[nodiscard]] auto PivotCenter() const; + auto PivotCenter(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto PivotRadius() const; + auto PivotRadius(float value) const; + [[nodiscard]] auto InertiaTranslationDeceleration() const; + auto InertiaTranslationDeceleration(float value) const; + [[nodiscard]] auto InertiaRotationDeceleration() const; + auto InertiaRotationDeceleration(float value) const; + [[nodiscard]] auto InertiaExpansionDeceleration() const; + auto InertiaExpansionDeceleration(float value) const; + [[nodiscard]] auto InertiaTranslationDisplacement() const; + auto InertiaTranslationDisplacement(float value) const; + [[nodiscard]] auto InertiaRotationAngle() const; + auto InertiaRotationAngle(float value) const; + [[nodiscard]] auto InertiaExpansion() const; + auto InertiaExpansion(float value) const; + [[nodiscard]] auto ManipulationExact() const; + auto ManipulationExact(bool value) const; + [[nodiscard]] auto CrossSlideThresholds() const; + auto CrossSlideThresholds(winrt::Windows::UI::Input::CrossSlideThresholds const& value) const; + [[nodiscard]] auto CrossSlideHorizontally() const; + auto CrossSlideHorizontally(bool value) const; + [[nodiscard]] auto CrossSlideExact() const; + auto CrossSlideExact(bool value) const; + [[nodiscard]] auto AutoProcessInertia() const; + auto AutoProcessInertia(bool value) const; + [[nodiscard]] auto MouseWheelParameters() const; + auto CanBeDoubleTap(winrt::Windows::UI::Input::PointerPoint const& value) const; + auto ProcessDownEvent(winrt::Windows::UI::Input::PointerPoint const& value) const; + auto ProcessMoveEvents(param::vector const& value) const; + auto ProcessUpEvent(winrt::Windows::UI::Input::PointerPoint const& value) const; + auto ProcessMouseWheelEvent(winrt::Windows::UI::Input::PointerPoint const& value, bool isShiftKeyDown, bool isControlKeyDown) const; + auto ProcessInertia() const; + auto CompleteGesture() const; + auto Tapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Tapped_revoker = impl::event_revoker::remove_Tapped>; - [[nodiscard]] Tapped_revoker Tapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Tapped(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RightTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Tapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Tapped(winrt::event_token const& token) const noexcept; + auto RightTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RightTapped_revoker = impl::event_revoker::remove_RightTapped>; - [[nodiscard]] RightTapped_revoker RightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RightTapped(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Holding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto RightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RightTapped(winrt::event_token const& token) const noexcept; + auto Holding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Holding_revoker = impl::event_revoker::remove_Holding>; - [[nodiscard]] Holding_revoker Holding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Holding(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Dragging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Holding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Holding(winrt::event_token const& token) const noexcept; + auto Dragging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Dragging_revoker = impl::event_revoker::remove_Dragging>; - [[nodiscard]] Dragging_revoker Dragging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Dragging(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ManipulationStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Dragging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Dragging(winrt::event_token const& token) const noexcept; + auto ManipulationStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ManipulationStarted_revoker = impl::event_revoker::remove_ManipulationStarted>; - [[nodiscard]] ManipulationStarted_revoker ManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ManipulationStarted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ManipulationUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ManipulationStarted(winrt::event_token const& token) const noexcept; + auto ManipulationUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ManipulationUpdated_revoker = impl::event_revoker::remove_ManipulationUpdated>; - [[nodiscard]] ManipulationUpdated_revoker ManipulationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ManipulationUpdated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ManipulationInertiaStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ManipulationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ManipulationUpdated(winrt::event_token const& token) const noexcept; + auto ManipulationInertiaStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ManipulationInertiaStarting_revoker = impl::event_revoker::remove_ManipulationInertiaStarting>; - [[nodiscard]] ManipulationInertiaStarting_revoker ManipulationInertiaStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ManipulationInertiaStarting(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ManipulationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ManipulationInertiaStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ManipulationInertiaStarting(winrt::event_token const& token) const noexcept; + auto ManipulationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ManipulationCompleted_revoker = impl::event_revoker::remove_ManipulationCompleted>; - [[nodiscard]] ManipulationCompleted_revoker ManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ManipulationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CrossSliding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ManipulationCompleted(winrt::event_token const& token) const noexcept; + auto CrossSliding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CrossSliding_revoker = impl::event_revoker::remove_CrossSliding>; - [[nodiscard]] CrossSliding_revoker CrossSliding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CrossSliding(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CrossSliding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CrossSliding(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1470,22 +1469,22 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IGestureRecognizer2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TapMinContactCount() const; - WINRT_IMPL_AUTO(void) TapMinContactCount(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TapMaxContactCount() const; - WINRT_IMPL_AUTO(void) TapMaxContactCount(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) HoldMinContactCount() const; - WINRT_IMPL_AUTO(void) HoldMinContactCount(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) HoldMaxContactCount() const; - WINRT_IMPL_AUTO(void) HoldMaxContactCount(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) HoldRadius() const; - WINRT_IMPL_AUTO(void) HoldRadius(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) HoldStartDelay() const; - WINRT_IMPL_AUTO(void) HoldStartDelay(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TranslationMinContactCount() const; - WINRT_IMPL_AUTO(void) TranslationMinContactCount(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TranslationMaxContactCount() const; - WINRT_IMPL_AUTO(void) TranslationMaxContactCount(uint32_t value) const; + [[nodiscard]] auto TapMinContactCount() const; + auto TapMinContactCount(uint32_t value) const; + [[nodiscard]] auto TapMaxContactCount() const; + auto TapMaxContactCount(uint32_t value) const; + [[nodiscard]] auto HoldMinContactCount() const; + auto HoldMinContactCount(uint32_t value) const; + [[nodiscard]] auto HoldMaxContactCount() const; + auto HoldMaxContactCount(uint32_t value) const; + [[nodiscard]] auto HoldRadius() const; + auto HoldRadius(float value) const; + [[nodiscard]] auto HoldStartDelay() const; + auto HoldStartDelay(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto TranslationMinContactCount() const; + auto TranslationMinContactCount(uint32_t value) const; + [[nodiscard]] auto TranslationMaxContactCount() const; + auto TranslationMaxContactCount(uint32_t value) const; }; template <> struct consume { @@ -1494,9 +1493,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IHoldingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::HoldingState) HoldingState() const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto HoldingState() const; }; template <> struct consume { @@ -1505,8 +1504,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IHoldingEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ContactCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CurrentContactCount() const; + [[nodiscard]] auto ContactCount() const; + [[nodiscard]] auto CurrentContactCount() const; }; template <> struct consume { @@ -1515,11 +1514,11 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IInputActivationListener { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::InputActivationState) State() const; - WINRT_IMPL_AUTO(winrt::event_token) InputActivationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto State() const; + auto InputActivationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using InputActivationChanged_revoker = impl::event_revoker::remove_InputActivationChanged>; - [[nodiscard]] InputActivationChanged_revoker InputActivationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) InputActivationChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto InputActivationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto InputActivationChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1528,7 +1527,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IInputActivationListenerActivationChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::InputActivationState) State() const; + [[nodiscard]] auto State() const; }; template <> struct consume { @@ -1537,16 +1536,16 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IKeyboardDeliveryInterceptor { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInterceptionEnabledWhenInForeground() const; - WINRT_IMPL_AUTO(void) IsInterceptionEnabledWhenInForeground(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) KeyDown(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsInterceptionEnabledWhenInForeground() const; + auto IsInterceptionEnabledWhenInForeground(bool value) const; + auto KeyDown(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using KeyDown_revoker = impl::event_revoker::remove_KeyDown>; - [[nodiscard]] KeyDown_revoker KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) KeyDown(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) KeyUp(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto KeyDown(winrt::event_token const& token) const noexcept; + auto KeyUp(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using KeyUp_revoker = impl::event_revoker::remove_KeyUp>; - [[nodiscard]] KeyUp_revoker KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) KeyUp(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto KeyUp(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1555,7 +1554,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IKeyboardDeliveryInterceptorStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::KeyboardDeliveryInterceptor) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -1564,10 +1563,10 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IManipulationCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) Cumulative() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) Velocities() const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Cumulative() const; + [[nodiscard]] auto Velocities() const; }; template <> struct consume { @@ -1576,8 +1575,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IManipulationCompletedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ContactCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CurrentContactCount() const; + [[nodiscard]] auto ContactCount() const; + [[nodiscard]] auto CurrentContactCount() const; }; template <> struct consume { @@ -1586,11 +1585,11 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) Delta() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) Cumulative() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) Velocities() const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Delta() const; + [[nodiscard]] auto Cumulative() const; + [[nodiscard]] auto Velocities() const; }; template <> struct consume { @@ -1599,7 +1598,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ContactCount() const; + [[nodiscard]] auto ContactCount() const; }; template <> struct consume { @@ -1608,9 +1607,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IManipulationStartedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) Cumulative() const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Cumulative() const; }; template <> struct consume { @@ -1619,7 +1618,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IManipulationStartedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ContactCount() const; + [[nodiscard]] auto ContactCount() const; }; template <> struct consume { @@ -1628,11 +1627,11 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IManipulationUpdatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) Delta() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) Cumulative() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) Velocities() const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Delta() const; + [[nodiscard]] auto Cumulative() const; + [[nodiscard]] auto Velocities() const; }; template <> struct consume { @@ -1641,8 +1640,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IManipulationUpdatedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ContactCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CurrentContactCount() const; + [[nodiscard]] auto ContactCount() const; + [[nodiscard]] auto CurrentContactCount() const; }; template <> struct consume { @@ -1651,14 +1650,14 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IMouseWheelParameters { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) CharTranslation() const; - WINRT_IMPL_AUTO(void) CharTranslation(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) DeltaScale() const; - WINRT_IMPL_AUTO(void) DeltaScale(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) DeltaRotationAngle() const; - WINRT_IMPL_AUTO(void) DeltaRotationAngle(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) PageTranslation() const; - WINRT_IMPL_AUTO(void) PageTranslation(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto CharTranslation() const; + auto CharTranslation(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto DeltaScale() const; + auto DeltaScale(float value) const; + [[nodiscard]] auto DeltaRotationAngle() const; + auto DeltaRotationAngle(float value) const; + [[nodiscard]] auto PageTranslation() const; + auto PageTranslation(winrt::Windows::Foundation::Point const& value) const; }; template <> struct consume { @@ -1667,14 +1666,14 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IPointerPoint { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDevice) PointerDevice() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) RawPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PointerId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) FrameId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInContact() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPointProperties) Properties() const; + [[nodiscard]] auto PointerDevice() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto RawPosition() const; + [[nodiscard]] auto PointerId() const; + [[nodiscard]] auto FrameId() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto IsInContact() const; + [[nodiscard]] auto Properties() const; }; template <> struct consume { @@ -1683,30 +1682,30 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IPointerPointProperties { - [[nodiscard]] WINRT_IMPL_AUTO(float) Pressure() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInverted() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEraser() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Orientation() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) XTilt() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) YTilt() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Twist() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) ContactRect() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) ContactRectRaw() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) TouchConfidence() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLeftButtonPressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRightButtonPressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMiddleButtonPressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MouseWheelDelta() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHorizontalMouseWheel() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPrimary() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInRange() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCanceled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBarrelButtonPressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsXButton1Pressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsXButton2Pressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerUpdateKind) PointerUpdateKind() const; - WINRT_IMPL_AUTO(bool) HasUsage(uint32_t usagePage, uint32_t usageId) const; - WINRT_IMPL_AUTO(int32_t) GetUsageValue(uint32_t usagePage, uint32_t usageId) const; + [[nodiscard]] auto Pressure() const; + [[nodiscard]] auto IsInverted() const; + [[nodiscard]] auto IsEraser() const; + [[nodiscard]] auto Orientation() const; + [[nodiscard]] auto XTilt() const; + [[nodiscard]] auto YTilt() const; + [[nodiscard]] auto Twist() const; + [[nodiscard]] auto ContactRect() const; + [[nodiscard]] auto ContactRectRaw() const; + [[nodiscard]] auto TouchConfidence() const; + [[nodiscard]] auto IsLeftButtonPressed() const; + [[nodiscard]] auto IsRightButtonPressed() const; + [[nodiscard]] auto IsMiddleButtonPressed() const; + [[nodiscard]] auto MouseWheelDelta() const; + [[nodiscard]] auto IsHorizontalMouseWheel() const; + [[nodiscard]] auto IsPrimary() const; + [[nodiscard]] auto IsInRange() const; + [[nodiscard]] auto IsCanceled() const; + [[nodiscard]] auto IsBarrelButtonPressed() const; + [[nodiscard]] auto IsXButton1Pressed() const; + [[nodiscard]] auto IsXButton2Pressed() const; + [[nodiscard]] auto PointerUpdateKind() const; + auto HasUsage(uint32_t usagePage, uint32_t usageId) const; + auto GetUsageValue(uint32_t usagePage, uint32_t usageId) const; }; template <> struct consume { @@ -1715,7 +1714,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IPointerPointProperties2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ZDistance() const; + [[nodiscard]] auto ZDistance() const; }; template <> struct consume { @@ -1724,10 +1723,10 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IPointerPointStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPoint) GetCurrentPoint(uint32_t pointerId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetIntermediatePoints(uint32_t pointerId) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPoint) GetCurrentPoint(uint32_t pointerId, winrt::Windows::UI::Input::IPointerPointTransform const& transform) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetIntermediatePoints(uint32_t pointerId, winrt::Windows::UI::Input::IPointerPointTransform const& transform) const; + auto GetCurrentPoint(uint32_t pointerId) const; + auto GetIntermediatePoints(uint32_t pointerId) const; + auto GetCurrentPoint(uint32_t pointerId, winrt::Windows::UI::Input::IPointerPointTransform const& transform) const; + auto GetIntermediatePoints(uint32_t pointerId, winrt::Windows::UI::Input::IPointerPointTransform const& transform) const; }; template <> struct consume { @@ -1736,9 +1735,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IPointerPointTransform { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::IPointerPointTransform) Inverse() const; - WINRT_IMPL_AUTO(bool) TryTransform(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) TransformBounds(winrt::Windows::Foundation::Rect const& rect) const; + [[nodiscard]] auto Inverse() const; + auto TryTransform(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const; + auto TransformBounds(winrt::Windows::Foundation::Rect const& rect) const; }; template <> struct consume { @@ -1747,10 +1746,10 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IPointerVisualizationSettings { - WINRT_IMPL_AUTO(void) IsContactFeedbackEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsContactFeedbackEnabled() const; - WINRT_IMPL_AUTO(void) IsBarrelButtonFeedbackEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBarrelButtonFeedbackEnabled() const; + auto IsContactFeedbackEnabled(bool value) const; + [[nodiscard]] auto IsContactFeedbackEnabled() const; + auto IsBarrelButtonFeedbackEnabled(bool value) const; + [[nodiscard]] auto IsBarrelButtonFeedbackEnabled() const; }; template <> struct consume { @@ -1759,7 +1758,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IPointerVisualizationSettingsStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerVisualizationSettings) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -1768,39 +1767,39 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialController { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenu) Menu() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RotationResolutionInDegrees() const; - WINRT_IMPL_AUTO(void) RotationResolutionInDegrees(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) UseAutomaticHapticFeedback() const; - WINRT_IMPL_AUTO(void) UseAutomaticHapticFeedback(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) ScreenContactStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Menu() const; + [[nodiscard]] auto RotationResolutionInDegrees() const; + auto RotationResolutionInDegrees(double value) const; + [[nodiscard]] auto UseAutomaticHapticFeedback() const; + auto UseAutomaticHapticFeedback(bool value) const; + auto ScreenContactStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ScreenContactStarted_revoker = impl::event_revoker::remove_ScreenContactStarted>; - [[nodiscard]] ScreenContactStarted_revoker ScreenContactStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ScreenContactStarted(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ScreenContactEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ScreenContactStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ScreenContactStarted(winrt::event_token const& cookie) const noexcept; + auto ScreenContactEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ScreenContactEnded_revoker = impl::event_revoker::remove_ScreenContactEnded>; - [[nodiscard]] ScreenContactEnded_revoker ScreenContactEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ScreenContactEnded(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ScreenContactContinued(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ScreenContactEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ScreenContactEnded(winrt::event_token const& cookie) const noexcept; + auto ScreenContactContinued(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ScreenContactContinued_revoker = impl::event_revoker::remove_ScreenContactContinued>; - [[nodiscard]] ScreenContactContinued_revoker ScreenContactContinued(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ScreenContactContinued(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ControlLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ScreenContactContinued(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ScreenContactContinued(winrt::event_token const& cookie) const noexcept; + auto ControlLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ControlLost_revoker = impl::event_revoker::remove_ControlLost>; - [[nodiscard]] ControlLost_revoker ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ControlLost(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RotationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ControlLost(winrt::event_token const& cookie) const noexcept; + auto RotationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RotationChanged_revoker = impl::event_revoker::remove_RotationChanged>; - [[nodiscard]] RotationChanged_revoker RotationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RotationChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto RotationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RotationChanged(winrt::event_token const& token) const noexcept; + auto ButtonClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ButtonClicked_revoker = impl::event_revoker::remove_ButtonClicked>; - [[nodiscard]] ButtonClicked_revoker ButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ButtonClicked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ControlAcquired(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ButtonClicked(winrt::event_token const& token) const noexcept; + auto ControlAcquired(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ControlAcquired_revoker = impl::event_revoker::remove_ControlAcquired>; - [[nodiscard]] ControlAcquired_revoker ControlAcquired(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ControlAcquired(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto ControlAcquired(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ControlAcquired(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -1809,18 +1808,18 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialController2 { - WINRT_IMPL_AUTO(winrt::event_token) ButtonPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ButtonPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ButtonPressed_revoker = impl::event_revoker::remove_ButtonPressed>; - [[nodiscard]] ButtonPressed_revoker ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ButtonPressed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ButtonHolding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ButtonPressed(winrt::event_token const& token) const noexcept; + auto ButtonHolding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ButtonHolding_revoker = impl::event_revoker::remove_ButtonHolding>; - [[nodiscard]] ButtonHolding_revoker ButtonHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ButtonHolding(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ButtonReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ButtonHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ButtonHolding(winrt::event_token const& token) const noexcept; + auto ButtonReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ButtonReleased_revoker = impl::event_revoker::remove_ButtonReleased>; - [[nodiscard]] ButtonReleased_revoker ButtonReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ButtonReleased(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ButtonReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ButtonReleased(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1829,7 +1828,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerButtonClickedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) Contact() const; + [[nodiscard]] auto Contact() const; }; template <> struct consume { @@ -1838,7 +1837,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerButtonClickedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) SimpleHapticsController() const; + [[nodiscard]] auto SimpleHapticsController() const; }; template <> struct consume { @@ -1847,8 +1846,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerButtonHoldingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) Contact() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) SimpleHapticsController() const; + [[nodiscard]] auto Contact() const; + [[nodiscard]] auto SimpleHapticsController() const; }; template <> struct consume { @@ -1857,8 +1856,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerButtonPressedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) Contact() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) SimpleHapticsController() const; + [[nodiscard]] auto Contact() const; + [[nodiscard]] auto SimpleHapticsController() const; }; template <> struct consume { @@ -1867,8 +1866,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerButtonReleasedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) Contact() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) SimpleHapticsController() const; + [[nodiscard]] auto Contact() const; + [[nodiscard]] auto SimpleHapticsController() const; }; template <> struct consume { @@ -1877,9 +1876,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerConfiguration { - WINRT_IMPL_AUTO(void) SetDefaultMenuItems(param::iterable const& buttons) const; - WINRT_IMPL_AUTO(void) ResetToDefaultMenuItems() const; - WINRT_IMPL_AUTO(bool) TrySelectDefaultMenuItem(winrt::Windows::UI::Input::RadialControllerSystemMenuItemKind const& type) const; + auto SetDefaultMenuItems(param::iterable const& buttons) const; + auto ResetToDefaultMenuItems() const; + auto TrySelectDefaultMenuItem(winrt::Windows::UI::Input::RadialControllerSystemMenuItemKind const& type) const; }; template <> struct consume { @@ -1888,10 +1887,10 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerConfiguration2 { - WINRT_IMPL_AUTO(void) ActiveControllerWhenMenuIsSuppressed(winrt::Windows::UI::Input::RadialController const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialController) ActiveControllerWhenMenuIsSuppressed() const; - WINRT_IMPL_AUTO(void) IsMenuSuppressed(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMenuSuppressed() const; + auto ActiveControllerWhenMenuIsSuppressed(winrt::Windows::UI::Input::RadialController const& value) const; + [[nodiscard]] auto ActiveControllerWhenMenuIsSuppressed() const; + auto IsMenuSuppressed(bool value) const; + [[nodiscard]] auto IsMenuSuppressed() const; }; template <> struct consume { @@ -1900,7 +1899,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerConfigurationStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerConfiguration) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -1909,10 +1908,10 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerConfigurationStatics2 { - WINRT_IMPL_AUTO(void) AppController(winrt::Windows::UI::Input::RadialController const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialController) AppController() const; - WINRT_IMPL_AUTO(void) IsAppControllerEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAppControllerEnabled() const; + auto AppController(winrt::Windows::UI::Input::RadialController const& value) const; + [[nodiscard]] auto AppController() const; + auto IsAppControllerEnabled(bool value) const; + [[nodiscard]] auto IsAppControllerEnabled() const; }; template <> struct consume { @@ -1921,7 +1920,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerControlAcquiredEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) Contact() const; + [[nodiscard]] auto Contact() const; }; template <> struct consume { @@ -1930,8 +1929,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerControlAcquiredEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsButtonPressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) SimpleHapticsController() const; + [[nodiscard]] auto IsButtonPressed() const; + [[nodiscard]] auto SimpleHapticsController() const; }; template <> struct consume { @@ -1940,12 +1939,12 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerMenu { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Items() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenuItem) GetSelectedMenuItem() const; - WINRT_IMPL_AUTO(void) SelectMenuItem(winrt::Windows::UI::Input::RadialControllerMenuItem const& menuItem) const; - WINRT_IMPL_AUTO(bool) TrySelectPreviouslySelectedMenuItem() const; + [[nodiscard]] auto Items() const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + auto GetSelectedMenuItem() const; + auto SelectMenuItem(winrt::Windows::UI::Input::RadialControllerMenuItem const& menuItem) const; + auto TrySelectPreviouslySelectedMenuItem() const; }; template <> struct consume { @@ -1954,13 +1953,13 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerMenuItem { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayText() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Tag() const; - WINRT_IMPL_AUTO(void) Tag(winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DisplayText() const; + [[nodiscard]] auto Tag() const; + auto Tag(winrt::Windows::Foundation::IInspectable const& value) const; + auto Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Invoked_revoker = impl::event_revoker::remove_Invoked>; - [[nodiscard]] Invoked_revoker Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Invoked(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Invoked(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1969,8 +1968,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerMenuItemStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenuItem) CreateFromIcon(param::hstring const& displayText, winrt::Windows::Storage::Streams::RandomAccessStreamReference const& icon) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenuItem) CreateFromKnownIcon(param::hstring const& displayText, winrt::Windows::UI::Input::RadialControllerMenuKnownIcon const& value) const; + auto CreateFromIcon(param::hstring const& displayText, winrt::Windows::Storage::Streams::RandomAccessStreamReference const& icon) const; + auto CreateFromKnownIcon(param::hstring const& displayText, winrt::Windows::UI::Input::RadialControllerMenuKnownIcon const& value) const; }; template <> struct consume { @@ -1979,8 +1978,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerMenuItemStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenuItem) CreateFromFontGlyph(param::hstring const& displayText, param::hstring const& glyph, param::hstring const& fontFamily) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenuItem) CreateFromFontGlyph(param::hstring const& displayText, param::hstring const& glyph, param::hstring const& fontFamily, winrt::Windows::Foundation::Uri const& fontUri) const; + auto CreateFromFontGlyph(param::hstring const& displayText, param::hstring const& glyph, param::hstring const& fontFamily) const; + auto CreateFromFontGlyph(param::hstring const& displayText, param::hstring const& glyph, param::hstring const& fontFamily, winrt::Windows::Foundation::Uri const& fontUri) const; }; template <> struct consume { @@ -1989,8 +1988,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(double) RotationDeltaInDegrees() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) Contact() const; + [[nodiscard]] auto RotationDeltaInDegrees() const; + [[nodiscard]] auto Contact() const; }; template <> struct consume { @@ -1999,8 +1998,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsButtonPressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) SimpleHapticsController() const; + [[nodiscard]] auto IsButtonPressed() const; + [[nodiscard]] auto SimpleHapticsController() const; }; template <> struct consume { @@ -2009,8 +2008,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerScreenContact { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Bounds() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; + [[nodiscard]] auto Bounds() const; + [[nodiscard]] auto Position() const; }; template <> struct consume { @@ -2019,7 +2018,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerScreenContactContinuedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) Contact() const; + [[nodiscard]] auto Contact() const; }; template <> struct consume { @@ -2028,8 +2027,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerScreenContactContinuedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsButtonPressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) SimpleHapticsController() const; + [[nodiscard]] auto IsButtonPressed() const; + [[nodiscard]] auto SimpleHapticsController() const; }; template <> struct consume { @@ -2038,8 +2037,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerScreenContactEndedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsButtonPressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) SimpleHapticsController() const; + [[nodiscard]] auto IsButtonPressed() const; + [[nodiscard]] auto SimpleHapticsController() const; }; template <> struct consume { @@ -2048,7 +2047,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerScreenContactStartedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) Contact() const; + [[nodiscard]] auto Contact() const; }; template <> struct consume { @@ -2057,8 +2056,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerScreenContactStartedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsButtonPressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) SimpleHapticsController() const; + [[nodiscard]] auto IsButtonPressed() const; + [[nodiscard]] auto SimpleHapticsController() const; }; template <> struct consume { @@ -2067,8 +2066,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRadialControllerStatics { - WINRT_IMPL_AUTO(bool) IsSupported() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialController) CreateForCurrentView() const; + auto IsSupported() const; + auto CreateForCurrentView() const; }; template <> struct consume { @@ -2077,8 +2076,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRightTappedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto Position() const; }; template <> struct consume { @@ -2087,7 +2086,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_IRightTappedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ContactCount() const; + [[nodiscard]] auto ContactCount() const; }; template <> struct consume { @@ -2096,22 +2095,22 @@ namespace winrt::impl template struct consume_Windows_UI_Input_ISystemButtonEventController { - WINRT_IMPL_AUTO(winrt::event_token) SystemFunctionButtonPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SystemFunctionButtonPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SystemFunctionButtonPressed_revoker = impl::event_revoker::remove_SystemFunctionButtonPressed>; - [[nodiscard]] SystemFunctionButtonPressed_revoker SystemFunctionButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SystemFunctionButtonPressed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SystemFunctionButtonReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SystemFunctionButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SystemFunctionButtonPressed(winrt::event_token const& token) const noexcept; + auto SystemFunctionButtonReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SystemFunctionButtonReleased_revoker = impl::event_revoker::remove_SystemFunctionButtonReleased>; - [[nodiscard]] SystemFunctionButtonReleased_revoker SystemFunctionButtonReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SystemFunctionButtonReleased(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SystemFunctionLockChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SystemFunctionButtonReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SystemFunctionButtonReleased(winrt::event_token const& token) const noexcept; + auto SystemFunctionLockChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SystemFunctionLockChanged_revoker = impl::event_revoker::remove_SystemFunctionLockChanged>; - [[nodiscard]] SystemFunctionLockChanged_revoker SystemFunctionLockChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SystemFunctionLockChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SystemFunctionLockIndicatorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SystemFunctionLockChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SystemFunctionLockChanged(winrt::event_token const& token) const noexcept; + auto SystemFunctionLockIndicatorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SystemFunctionLockIndicatorChanged_revoker = impl::event_revoker::remove_SystemFunctionLockIndicatorChanged>; - [[nodiscard]] SystemFunctionLockIndicatorChanged_revoker SystemFunctionLockIndicatorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SystemFunctionLockIndicatorChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SystemFunctionLockIndicatorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SystemFunctionLockIndicatorChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2120,7 +2119,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_ISystemButtonEventControllerStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::SystemButtonEventController) CreateForDispatcherQueue(winrt::Windows::System::DispatcherQueue const& queue) const; + auto CreateForDispatcherQueue(winrt::Windows::System::DispatcherQueue const& queue) const; }; template <> struct consume { @@ -2129,9 +2128,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_ISystemFunctionButtonEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -2140,10 +2139,10 @@ namespace winrt::impl template struct consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLocked() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto IsLocked() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -2152,10 +2151,10 @@ namespace winrt::impl template struct consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsIndicatorOn() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto IsIndicatorOn() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -2164,9 +2163,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_ITappedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TapCount() const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto TapCount() const; }; template <> struct consume { @@ -2175,7 +2174,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_ITappedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ContactCount() const; + [[nodiscard]] auto ContactCount() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.1.h index 99e4b01a..3487a0d5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.2.h index e35a8423..25c92860 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.0.h index ca841edf..fc1ddd31 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Core_0_H @@ -65,8 +65,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialController) Controller() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) Dispatcher() const; + [[nodiscard]] auto Controller() const; + [[nodiscard]] auto Dispatcher() const; }; template <> struct consume { @@ -75,7 +75,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSource2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) DispatcherQueue() const; + [[nodiscard]] auto DispatcherQueue() const; }; template <> struct consume { @@ -84,7 +84,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSourceStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Core::RadialControllerIndependentInputSource) CreateForView(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const; + auto CreateForView(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.1.h index 2cb6f7e8..e5151496 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.2.h index 86632289..55e9513b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.0.h index 26ed5664..08cb2bba 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Inking_0_H @@ -6,9 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncActionWithProgress; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; struct Point; struct Rect; @@ -885,16 +882,16 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkDrawingAttributes { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::PenTipShape) PenTip() const; - WINRT_IMPL_AUTO(void) PenTip(winrt::Windows::UI::Input::Inking::PenTipShape const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) Size() const; - WINRT_IMPL_AUTO(void) Size(winrt::Windows::Foundation::Size const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IgnorePressure() const; - WINRT_IMPL_AUTO(void) IgnorePressure(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) FitToCurve() const; - WINRT_IMPL_AUTO(void) FitToCurve(bool value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto PenTip() const; + auto PenTip(winrt::Windows::UI::Input::Inking::PenTipShape const& value) const; + [[nodiscard]] auto Size() const; + auto Size(winrt::Windows::Foundation::Size const& value) const; + [[nodiscard]] auto IgnorePressure() const; + auto IgnorePressure(bool value) const; + [[nodiscard]] auto FitToCurve() const; + auto FitToCurve(bool value) const; }; template <> struct consume { @@ -903,10 +900,10 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkDrawingAttributes2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) PenTipTransform() const; - WINRT_IMPL_AUTO(void) PenTipTransform(winrt::Windows::Foundation::Numerics::float3x2 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DrawAsHighlighter() const; - WINRT_IMPL_AUTO(void) DrawAsHighlighter(bool value) const; + [[nodiscard]] auto PenTipTransform() const; + auto PenTipTransform(winrt::Windows::Foundation::Numerics::float3x2 const& value) const; + [[nodiscard]] auto DrawAsHighlighter() const; + auto DrawAsHighlighter(bool value) const; }; template <> struct consume { @@ -915,8 +912,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkDrawingAttributes3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributesKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributesPencilProperties) PencilProperties() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto PencilProperties() const; }; template <> struct consume { @@ -925,8 +922,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkDrawingAttributes4 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IgnoreTilt() const; - WINRT_IMPL_AUTO(void) IgnoreTilt(bool value) const; + [[nodiscard]] auto IgnoreTilt() const; + auto IgnoreTilt(bool value) const; }; template <> struct consume { @@ -935,7 +932,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkDrawingAttributes5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkModelerAttributes) ModelerAttributes() const; + [[nodiscard]] auto ModelerAttributes() const; }; template <> struct consume { @@ -944,8 +941,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkDrawingAttributesPencilProperties { - [[nodiscard]] WINRT_IMPL_AUTO(double) Opacity() const; - WINRT_IMPL_AUTO(void) Opacity(double value) const; + [[nodiscard]] auto Opacity() const; + auto Opacity(double value) const; }; template <> struct consume { @@ -954,7 +951,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkDrawingAttributesStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) CreateForPencil() const; + auto CreateForPencil() const; }; template <> struct consume { @@ -963,10 +960,10 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkInputConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPrimaryBarrelButtonInputEnabled() const; - WINRT_IMPL_AUTO(void) IsPrimaryBarrelButtonInputEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEraserInputEnabled() const; - WINRT_IMPL_AUTO(void) IsEraserInputEnabled(bool value) const; + [[nodiscard]] auto IsPrimaryBarrelButtonInputEnabled() const; + auto IsPrimaryBarrelButtonInputEnabled(bool value) const; + [[nodiscard]] auto IsEraserInputEnabled() const; + auto IsEraserInputEnabled(bool value) const; }; template <> struct consume { @@ -975,10 +972,10 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkInputProcessingMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::UI::Input::Inking::InkInputProcessingMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkInputRightDragAction) RightDragAction() const; - WINRT_IMPL_AUTO(void) RightDragAction(winrt::Windows::UI::Input::Inking::InkInputRightDragAction const& value) const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::UI::Input::Inking::InkInputProcessingMode const& value) const; + [[nodiscard]] auto RightDragAction() const; + auto RightDragAction(winrt::Windows::UI::Input::Inking::InkInputRightDragAction const& value) const; }; template <> struct consume { @@ -987,13 +984,13 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkManager { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkManipulationMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::UI::Input::Inking::InkManipulationMode const& value) const; - WINRT_IMPL_AUTO(void) ProcessPointerDown(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ProcessPointerUpdate(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) ProcessPointerUp(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const; - WINRT_IMPL_AUTO(void) SetDefaultDrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& drawingAttributes) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) RecognizeAsync(winrt::Windows::UI::Input::Inking::InkRecognitionTarget const& recognitionTarget) const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::UI::Input::Inking::InkManipulationMode const& value) const; + auto ProcessPointerDown(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const; + auto ProcessPointerUpdate(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const; + auto ProcessPointerUp(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const; + auto SetDefaultDrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& drawingAttributes) const; + auto RecognizeAsync(winrt::Windows::UI::Input::Inking::InkRecognitionTarget const& recognitionTarget) const; }; template <> struct consume { @@ -1002,10 +999,10 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkModelerAttributes { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) PredictionTime() const; - WINRT_IMPL_AUTO(void) PredictionTime(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) ScalingFactor() const; - WINRT_IMPL_AUTO(void) ScalingFactor(float value) const; + [[nodiscard]] auto PredictionTime() const; + auto PredictionTime(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto ScalingFactor() const; + auto ScalingFactor(float value) const; }; template <> struct consume { @@ -1014,8 +1011,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkModelerAttributes2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) UseVelocityBasedPressure() const; - WINRT_IMPL_AUTO(void) UseVelocityBasedPressure(bool value) const; + [[nodiscard]] auto UseVelocityBasedPressure() const; + auto UseVelocityBasedPressure(bool value) const; }; template <> struct consume { @@ -1024,8 +1021,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkPoint { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Pressure() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Pressure() const; }; template <> struct consume { @@ -1034,9 +1031,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkPoint2 { - [[nodiscard]] WINRT_IMPL_AUTO(float) TiltX() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) TiltY() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) Timestamp() const; + [[nodiscard]] auto TiltX() const; + [[nodiscard]] auto TiltY() const; + [[nodiscard]] auto Timestamp() const; }; template <> struct consume { @@ -1045,7 +1042,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkPointFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPoint) CreateInkPoint(winrt::Windows::Foundation::Point const& position, float pressure) const; + auto CreateInkPoint(winrt::Windows::Foundation::Point const& position, float pressure) const; }; template <> struct consume { @@ -1054,7 +1051,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkPointFactory2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPoint) CreateInkPointWithTiltAndTimestamp(winrt::Windows::Foundation::Point const& position, float pressure, float tiltX, float tiltY, uint64_t timestamp) const; + auto CreateInkPointWithTiltAndTimestamp(winrt::Windows::Foundation::Point const& position, float pressure, float tiltX, float tiltY, uint64_t timestamp) const; }; template <> struct consume { @@ -1063,27 +1060,27 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkPresenter { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInputEnabled() const; - WINRT_IMPL_AUTO(void) IsInputEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreInputDeviceTypes) InputDeviceTypes() const; - WINRT_IMPL_AUTO(void) InputDeviceTypes(winrt::Windows::UI::Core::CoreInputDeviceTypes const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkUnprocessedInput) UnprocessedInput() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStrokeInput) StrokeInput() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkInputProcessingConfiguration) InputProcessingConfiguration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStrokeContainer) StrokeContainer() const; - WINRT_IMPL_AUTO(void) StrokeContainer(winrt::Windows::UI::Input::Inking::InkStrokeContainer const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) CopyDefaultDrawingAttributes() const; - WINRT_IMPL_AUTO(void) UpdateDefaultDrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkSynchronizer) ActivateCustomDrying() const; - WINRT_IMPL_AUTO(void) SetPredefinedConfiguration(winrt::Windows::UI::Input::Inking::InkPresenterPredefinedConfiguration const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) StrokesCollected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsInputEnabled() const; + auto IsInputEnabled(bool value) const; + [[nodiscard]] auto InputDeviceTypes() const; + auto InputDeviceTypes(winrt::Windows::UI::Core::CoreInputDeviceTypes const& value) const; + [[nodiscard]] auto UnprocessedInput() const; + [[nodiscard]] auto StrokeInput() const; + [[nodiscard]] auto InputProcessingConfiguration() const; + [[nodiscard]] auto StrokeContainer() const; + auto StrokeContainer(winrt::Windows::UI::Input::Inking::InkStrokeContainer const& value) const; + auto CopyDefaultDrawingAttributes() const; + auto UpdateDefaultDrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& value) const; + auto ActivateCustomDrying() const; + auto SetPredefinedConfiguration(winrt::Windows::UI::Input::Inking::InkPresenterPredefinedConfiguration const& value) const; + auto StrokesCollected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StrokesCollected_revoker = impl::event_revoker::remove_StrokesCollected>; - [[nodiscard]] StrokesCollected_revoker StrokesCollected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StrokesCollected(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) StrokesErased(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto StrokesCollected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StrokesCollected(winrt::event_token const& cookie) const noexcept; + auto StrokesErased(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StrokesErased_revoker = impl::event_revoker::remove_StrokesErased>; - [[nodiscard]] StrokesErased_revoker StrokesErased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StrokesErased(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto StrokesErased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StrokesErased(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -1092,8 +1089,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkPresenter2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkHighContrastAdjustment) HighContrastAdjustment() const; - WINRT_IMPL_AUTO(void) HighContrastAdjustment(winrt::Windows::UI::Input::Inking::InkHighContrastAdjustment const& value) const; + [[nodiscard]] auto HighContrastAdjustment() const; + auto HighContrastAdjustment(winrt::Windows::UI::Input::Inking::InkHighContrastAdjustment const& value) const; }; template <> struct consume { @@ -1102,7 +1099,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkPresenter3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkInputConfiguration) InputConfiguration() const; + [[nodiscard]] auto InputConfiguration() const; }; template <> struct consume { @@ -1111,20 +1108,20 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkPresenterProtractor { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreTickMarksVisible() const; - WINRT_IMPL_AUTO(void) AreTickMarksVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreRaysVisible() const; - WINRT_IMPL_AUTO(void) AreRaysVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCenterMarkerVisible() const; - WINRT_IMPL_AUTO(void) IsCenterMarkerVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAngleReadoutVisible() const; - WINRT_IMPL_AUTO(void) IsAngleReadoutVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsResizable() const; - WINRT_IMPL_AUTO(void) IsResizable(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Radius() const; - WINRT_IMPL_AUTO(void) Radius(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) AccentColor() const; - WINRT_IMPL_AUTO(void) AccentColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto AreTickMarksVisible() const; + auto AreTickMarksVisible(bool value) const; + [[nodiscard]] auto AreRaysVisible() const; + auto AreRaysVisible(bool value) const; + [[nodiscard]] auto IsCenterMarkerVisible() const; + auto IsCenterMarkerVisible(bool value) const; + [[nodiscard]] auto IsAngleReadoutVisible() const; + auto IsAngleReadoutVisible(bool value) const; + [[nodiscard]] auto IsResizable() const; + auto IsResizable(bool value) const; + [[nodiscard]] auto Radius() const; + auto Radius(double value) const; + [[nodiscard]] auto AccentColor() const; + auto AccentColor(winrt::Windows::UI::Color const& value) const; }; template <> struct consume { @@ -1133,7 +1130,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkPresenterProtractorFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterProtractor) Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const; + auto Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const; }; template <> struct consume { @@ -1142,10 +1139,10 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkPresenterRuler { - [[nodiscard]] WINRT_IMPL_AUTO(double) Length() const; - WINRT_IMPL_AUTO(void) Length(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Width() const; - WINRT_IMPL_AUTO(void) Width(double value) const; + [[nodiscard]] auto Length() const; + auto Length(double value) const; + [[nodiscard]] auto Width() const; + auto Width(double value) const; }; template <> struct consume { @@ -1154,10 +1151,10 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkPresenterRuler2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreTickMarksVisible() const; - WINRT_IMPL_AUTO(void) AreTickMarksVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCompassVisible() const; - WINRT_IMPL_AUTO(void) IsCompassVisible(bool value) const; + [[nodiscard]] auto AreTickMarksVisible() const; + auto AreTickMarksVisible(bool value) const; + [[nodiscard]] auto IsCompassVisible() const; + auto IsCompassVisible(bool value) const; }; template <> struct consume { @@ -1166,7 +1163,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkPresenterRulerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterRuler) Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const; + auto Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const; }; template <> struct consume { @@ -1175,15 +1172,15 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkPresenterStencil { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterStencilKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVisible() const; - WINRT_IMPL_AUTO(void) IsVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) BackgroundColor() const; - WINRT_IMPL_AUTO(void) BackgroundColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) ForegroundColor() const; - WINRT_IMPL_AUTO(void) ForegroundColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) Transform() const; - WINRT_IMPL_AUTO(void) Transform(winrt::Windows::Foundation::Numerics::float3x2 const& value) const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto IsVisible() const; + auto IsVisible(bool value) const; + [[nodiscard]] auto BackgroundColor() const; + auto BackgroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto ForegroundColor() const; + auto ForegroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Transform() const; + auto Transform(winrt::Windows::Foundation::Numerics::float3x2 const& value) const; }; template <> struct consume { @@ -1192,9 +1189,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkRecognitionResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) BoundingRect() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetTextCandidates() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetStrokes() const; + [[nodiscard]] auto BoundingRect() const; + auto GetTextCandidates() const; + auto GetStrokes() const; }; template <> struct consume { @@ -1203,7 +1200,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkRecognizer { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; + [[nodiscard]] auto Name() const; }; template <> struct consume { @@ -1212,9 +1209,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkRecognizerContainer { - WINRT_IMPL_AUTO(void) SetDefaultRecognizer(winrt::Windows::UI::Input::Inking::InkRecognizer const& recognizer) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) RecognizeAsync(winrt::Windows::UI::Input::Inking::InkStrokeContainer const& strokeCollection, winrt::Windows::UI::Input::Inking::InkRecognitionTarget const& recognitionTarget) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetRecognizers() const; + auto SetDefaultRecognizer(winrt::Windows::UI::Input::Inking::InkRecognizer const& recognizer) const; + auto RecognizeAsync(winrt::Windows::UI::Input::Inking::InkStrokeContainer const& strokeCollection, winrt::Windows::UI::Input::Inking::InkRecognitionTarget const& recognitionTarget) const; + auto GetRecognizers() const; }; template <> struct consume { @@ -1223,14 +1220,14 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkStroke { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) DrawingAttributes() const; - WINRT_IMPL_AUTO(void) DrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) BoundingRect() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Selected() const; - WINRT_IMPL_AUTO(void) Selected(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Recognized() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetRenderingSegments() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) Clone() const; + [[nodiscard]] auto DrawingAttributes() const; + auto DrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& value) const; + [[nodiscard]] auto BoundingRect() const; + [[nodiscard]] auto Selected() const; + auto Selected(bool value) const; + [[nodiscard]] auto Recognized() const; + auto GetRenderingSegments() const; + auto Clone() const; }; template <> struct consume { @@ -1239,9 +1236,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkStroke2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) PointTransform() const; - WINRT_IMPL_AUTO(void) PointTransform(winrt::Windows::Foundation::Numerics::float3x2 const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetInkPoints() const; + [[nodiscard]] auto PointTransform() const; + auto PointTransform(winrt::Windows::Foundation::Numerics::float3x2 const& value) const; + auto GetInkPoints() const; }; template <> struct consume { @@ -1250,11 +1247,11 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkStroke3 { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) StrokeStartedTime() const; - WINRT_IMPL_AUTO(void) StrokeStartedTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) StrokeDuration() const; - WINRT_IMPL_AUTO(void) StrokeDuration(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto StrokeStartedTime() const; + auto StrokeStartedTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto StrokeDuration() const; + auto StrokeDuration(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -1263,11 +1260,11 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkStrokeBuilder { - WINRT_IMPL_AUTO(void) BeginStroke(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPoint) AppendToStroke(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) EndStroke(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) CreateStroke(param::iterable const& points) const; - WINRT_IMPL_AUTO(void) SetDefaultDrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& drawingAttributes) const; + auto BeginStroke(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const; + auto AppendToStroke(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const; + auto EndStroke(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const; + auto CreateStroke(param::iterable const& points) const; + auto SetDefaultDrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& drawingAttributes) const; }; template <> struct consume { @@ -1276,7 +1273,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkStrokeBuilder2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) CreateStrokeFromInkPoints(param::iterable const& inkPoints, winrt::Windows::Foundation::Numerics::float3x2 const& transform) const; + auto CreateStrokeFromInkPoints(param::iterable const& inkPoints, winrt::Windows::Foundation::Numerics::float3x2 const& transform) const; }; template <> struct consume { @@ -1285,7 +1282,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkStrokeBuilder3 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) CreateStrokeFromInkPoints(param::iterable const& inkPoints, winrt::Windows::Foundation::Numerics::float3x2 const& transform, winrt::Windows::Foundation::IReference const& strokeStartedTime, winrt::Windows::Foundation::IReference const& strokeDuration) const; + auto CreateStrokeFromInkPoints(param::iterable const& inkPoints, winrt::Windows::Foundation::Numerics::float3x2 const& transform, winrt::Windows::Foundation::IReference const& strokeStartedTime, winrt::Windows::Foundation::IReference const& strokeDuration) const; }; template <> struct consume { @@ -1294,20 +1291,20 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkStrokeContainer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) BoundingRect() const; - WINRT_IMPL_AUTO(void) AddStroke(winrt::Windows::UI::Input::Inking::InkStroke const& stroke) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) DeleteSelected() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) MoveSelected(winrt::Windows::Foundation::Point const& translation) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) SelectWithPolyLine(param::iterable const& polyline) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) SelectWithLine(winrt::Windows::Foundation::Point const& from, winrt::Windows::Foundation::Point const& to) const; - WINRT_IMPL_AUTO(void) CopySelectedToClipboard() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) PasteFromClipboard(winrt::Windows::Foundation::Point const& position) const; - WINRT_IMPL_AUTO(bool) CanPasteFromClipboard() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress) LoadAsync(winrt::Windows::Storage::Streams::IInputStream const& inputStream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) SaveAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const; - WINRT_IMPL_AUTO(void) UpdateRecognitionResults(param::vector_view const& recognitionResults) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetStrokes() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetRecognitionResults() const; + [[nodiscard]] auto BoundingRect() const; + auto AddStroke(winrt::Windows::UI::Input::Inking::InkStroke const& stroke) const; + auto DeleteSelected() const; + auto MoveSelected(winrt::Windows::Foundation::Point const& translation) const; + auto SelectWithPolyLine(param::iterable const& polyline) const; + auto SelectWithLine(winrt::Windows::Foundation::Point const& from, winrt::Windows::Foundation::Point const& to) const; + auto CopySelectedToClipboard() const; + auto PasteFromClipboard(winrt::Windows::Foundation::Point const& position) const; + auto CanPasteFromClipboard() const; + auto LoadAsync(winrt::Windows::Storage::Streams::IInputStream const& inputStream) const; + auto SaveAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const; + auto UpdateRecognitionResults(param::vector_view const& recognitionResults) const; + auto GetStrokes() const; + auto GetRecognitionResults() const; }; template <> struct consume { @@ -1316,8 +1313,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkStrokeContainer2 { - WINRT_IMPL_AUTO(void) AddStrokes(param::iterable const& strokes) const; - WINRT_IMPL_AUTO(void) Clear() const; + auto AddStrokes(param::iterable const& strokes) const; + auto Clear() const; }; template <> struct consume { @@ -1326,8 +1323,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkStrokeContainer3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) SaveAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream, winrt::Windows::UI::Input::Inking::InkPersistenceFormat const& inkPersistenceFormat) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) GetStrokeById(uint32_t id) const; + auto SaveAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream, winrt::Windows::UI::Input::Inking::InkPersistenceFormat const& inkPersistenceFormat) const; + auto GetStrokeById(uint32_t id) const; }; template <> struct consume { @@ -1336,23 +1333,23 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkStrokeInput { - WINRT_IMPL_AUTO(winrt::event_token) StrokeStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StrokeStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StrokeStarted_revoker = impl::event_revoker::remove_StrokeStarted>; - [[nodiscard]] StrokeStarted_revoker StrokeStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StrokeStarted(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) StrokeContinued(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto StrokeStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StrokeStarted(winrt::event_token const& cookie) const noexcept; + auto StrokeContinued(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StrokeContinued_revoker = impl::event_revoker::remove_StrokeContinued>; - [[nodiscard]] StrokeContinued_revoker StrokeContinued(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StrokeContinued(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) StrokeEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto StrokeContinued(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StrokeContinued(winrt::event_token const& cookie) const noexcept; + auto StrokeEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StrokeEnded_revoker = impl::event_revoker::remove_StrokeEnded>; - [[nodiscard]] StrokeEnded_revoker StrokeEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StrokeEnded(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) StrokeCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto StrokeEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StrokeEnded(winrt::event_token const& cookie) const noexcept; + auto StrokeCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using StrokeCanceled_revoker = impl::event_revoker::remove_StrokeCanceled>; - [[nodiscard]] StrokeCanceled_revoker StrokeCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) StrokeCanceled(winrt::event_token const& cookie) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) InkPresenter() const; + [[nodiscard]] auto StrokeCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StrokeCanceled(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto InkPresenter() const; }; template <> struct consume { @@ -1361,13 +1358,13 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) BezierControlPoint1() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) BezierControlPoint2() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Pressure() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) TiltX() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) TiltY() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Twist() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto BezierControlPoint1() const; + [[nodiscard]] auto BezierControlPoint2() const; + [[nodiscard]] auto Pressure() const; + [[nodiscard]] auto TiltX() const; + [[nodiscard]] auto TiltY() const; + [[nodiscard]] auto Twist() const; }; template <> struct consume { @@ -1376,7 +1373,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkStrokesCollectedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Strokes() const; + [[nodiscard]] auto Strokes() const; }; template <> struct consume { @@ -1385,7 +1382,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkStrokesErasedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Strokes() const; + [[nodiscard]] auto Strokes() const; }; template <> struct consume { @@ -1394,8 +1391,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkSynchronizer { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) BeginDry() const; - WINRT_IMPL_AUTO(void) EndDry() const; + auto BeginDry() const; + auto EndDry() const; }; template <> struct consume { @@ -1404,35 +1401,35 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IInkUnprocessedInput { - WINRT_IMPL_AUTO(winrt::event_token) PointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerEntered_revoker = impl::event_revoker::remove_PointerEntered>; - [[nodiscard]] PointerEntered_revoker PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerEntered(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerHovered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerEntered(winrt::event_token const& cookie) const noexcept; + auto PointerHovered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerHovered_revoker = impl::event_revoker::remove_PointerHovered>; - [[nodiscard]] PointerHovered_revoker PointerHovered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerHovered(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerHovered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerHovered(winrt::event_token const& cookie) const noexcept; + auto PointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerExited_revoker = impl::event_revoker::remove_PointerExited>; - [[nodiscard]] PointerExited_revoker PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerExited(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerExited(winrt::event_token const& cookie) const noexcept; + auto PointerPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerPressed_revoker = impl::event_revoker::remove_PointerPressed>; - [[nodiscard]] PointerPressed_revoker PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerPressed(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerPressed(winrt::event_token const& cookie) const noexcept; + auto PointerMoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerMoved_revoker = impl::event_revoker::remove_PointerMoved>; - [[nodiscard]] PointerMoved_revoker PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerMoved(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerMoved(winrt::event_token const& cookie) const noexcept; + auto PointerReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerReleased_revoker = impl::event_revoker::remove_PointerReleased>; - [[nodiscard]] PointerReleased_revoker PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerReleased(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerReleased(winrt::event_token const& cookie) const noexcept; + auto PointerLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerLost_revoker = impl::event_revoker::remove_PointerLost>; - [[nodiscard]] PointerLost_revoker PointerLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerLost(winrt::event_token const& cookie) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) InkPresenter() const; + [[nodiscard]] auto PointerLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerLost(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto InkPresenter() const; }; template <> struct consume { @@ -1441,12 +1438,12 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IPenAndInkSettings { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHandwritingDirectlyIntoTextFieldEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::PenHandedness) PenHandedness() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::HandwritingLineHeight) HandwritingLineHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FontFamilyName() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) UserConsentsToHandwritingTelemetryCollection() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTouchHandwritingEnabled() const; + [[nodiscard]] auto IsHandwritingDirectlyIntoTextFieldEnabled() const; + [[nodiscard]] auto PenHandedness() const; + [[nodiscard]] auto HandwritingLineHeight() const; + [[nodiscard]] auto FontFamilyName() const; + [[nodiscard]] auto UserConsentsToHandwritingTelemetryCollection() const; + [[nodiscard]] auto IsTouchHandwritingEnabled() const; }; template <> struct consume { @@ -1455,7 +1452,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IPenAndInkSettings2 { - WINRT_IMPL_AUTO(void) SetPenHandedness(winrt::Windows::UI::Input::Inking::PenHandedness const& value) const; + auto SetPenHandedness(winrt::Windows::UI::Input::Inking::PenHandedness const& value) const; }; template <> struct consume { @@ -1464,7 +1461,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_IPenAndInkSettingsStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::PenAndInkSettings) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.1.h index ce7ff79a..95c0afae 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Inking_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.2.h index 96190e3d..b44038d7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Inking_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.0.h index 5ad57bc9..de54672f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.0.h @@ -1,18 +1,16 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Inking_Analysis_0_H #define WINRT_Windows_UI_Input_Inking_Analysis_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; struct Point; struct Rect; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::UI::Input::Inking { @@ -271,7 +269,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkBullet { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RecognizedText() const; + [[nodiscard]] auto RecognizedText() const; }; template <> struct consume { @@ -280,9 +278,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkDrawing { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisDrawingKind) DrawingKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Center() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Points() const; + [[nodiscard]] auto DrawingKind() const; + [[nodiscard]] auto Center() const; + [[nodiscard]] auto Points() const; }; template <> struct consume { @@ -291,8 +289,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkWord { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RecognizedText() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) TextAlternates() const; + [[nodiscard]] auto RecognizedText() const; + [[nodiscard]] auto TextAlternates() const; }; template <> struct consume { @@ -301,8 +299,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisLine { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RecognizedText() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) IndentLevel() const; + [[nodiscard]] auto RecognizedText() const; + [[nodiscard]] auto IndentLevel() const; }; template <> struct consume { @@ -311,7 +309,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisListItem { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RecognizedText() const; + [[nodiscard]] auto RecognizedText() const; }; template <> struct consume { @@ -320,13 +318,13 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisNodeKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) BoundingRect() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) RotatedBoundingRect() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Children() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode) Parent() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetStrokeIds() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto BoundingRect() const; + [[nodiscard]] auto RotatedBoundingRect() const; + [[nodiscard]] auto Children() const; + [[nodiscard]] auto Parent() const; + auto GetStrokeIds() const; }; template <> struct consume { @@ -335,7 +333,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisParagraph { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RecognizedText() const; + [[nodiscard]] auto RecognizedText() const; }; template <> struct consume { @@ -344,7 +342,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -353,8 +351,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisRoot { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RecognizedText() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindNodes(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisNodeKind const& nodeKind) const; + [[nodiscard]] auto RecognizedText() const; + auto FindNodes(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisNodeKind const& nodeKind) const; }; template <> struct consume { @@ -363,7 +361,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisWritingRegion { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RecognizedText() const; + [[nodiscard]] auto RecognizedText() const; }; template <> struct consume { @@ -372,16 +370,16 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisRoot) AnalysisRoot() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAnalyzing() const; - WINRT_IMPL_AUTO(void) AddDataForStroke(winrt::Windows::UI::Input::Inking::InkStroke const& stroke) const; - WINRT_IMPL_AUTO(void) AddDataForStrokes(param::iterable const& strokes) const; - WINRT_IMPL_AUTO(void) ClearDataForAllStrokes() const; - WINRT_IMPL_AUTO(void) RemoveDataForStroke(uint32_t strokeId) const; - WINRT_IMPL_AUTO(void) RemoveDataForStrokes(param::iterable const& strokeIds) const; - WINRT_IMPL_AUTO(void) ReplaceDataForStroke(winrt::Windows::UI::Input::Inking::InkStroke const& stroke) const; - WINRT_IMPL_AUTO(void) SetStrokeDataKind(uint32_t strokeId, winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisStrokeKind const& strokeKind) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) AnalyzeAsync() const; + [[nodiscard]] auto AnalysisRoot() const; + [[nodiscard]] auto IsAnalyzing() const; + auto AddDataForStroke(winrt::Windows::UI::Input::Inking::InkStroke const& stroke) const; + auto AddDataForStrokes(param::iterable const& strokes) const; + auto ClearDataForAllStrokes() const; + auto RemoveDataForStroke(uint32_t strokeId) const; + auto RemoveDataForStrokes(param::iterable const& strokeIds) const; + auto ReplaceDataForStroke(winrt::Windows::UI::Input::Inking::InkStroke const& stroke) const; + auto SetStrokeDataKind(uint32_t strokeId, winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisStrokeKind const& strokeKind) const; + auto AnalyzeAsync() const; }; template <> struct consume { @@ -390,7 +388,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::InkAnalyzer) CreateAnalyzer() const; + auto CreateAnalyzer() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.1.h index 49890989..f4626f4d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Inking_Analysis_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.2.h index e31af7a4..5c54d9b0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Inking_Analysis_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.0.h index 561be0ca..ab1f9103 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Inking_Core_0_H @@ -12,7 +12,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics { @@ -189,11 +188,11 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) AppendInkPoints(param::iterable const& inkPoints) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) CreateInkStroke() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) DrawingAttributes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) PointTransform() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) BoundingRect() const; + auto AppendInkPoints(param::iterable const& inkPoints) const; + auto CreateInkStroke() const; + [[nodiscard]] auto DrawingAttributes() const; + [[nodiscard]] auto PointTransform() const; + [[nodiscard]] auto BoundingRect() const; }; template <> struct consume { @@ -202,7 +201,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStrokeFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Core::CoreIncrementalInkStroke) Create(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& drawingAttributes, winrt::Windows::Foundation::Numerics::float3x2 const& pointTransform) const; + auto Create(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& drawingAttributes, winrt::Windows::Foundation::Numerics::float3x2 const& pointTransform) const; }; template <> struct consume { @@ -211,35 +210,35 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource { - WINRT_IMPL_AUTO(winrt::event_token) PointerEntering(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerEntering(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerEntering_revoker = impl::event_revoker::remove_PointerEntering>; - [[nodiscard]] PointerEntering_revoker PointerEntering(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerEntering(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerHovering(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerEntering(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerEntering(winrt::event_token const& cookie) const noexcept; + auto PointerHovering(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerHovering_revoker = impl::event_revoker::remove_PointerHovering>; - [[nodiscard]] PointerHovering_revoker PointerHovering(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerHovering(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerExiting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerHovering(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerHovering(winrt::event_token const& cookie) const noexcept; + auto PointerExiting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerExiting_revoker = impl::event_revoker::remove_PointerExiting>; - [[nodiscard]] PointerExiting_revoker PointerExiting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerExiting(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerPressing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerExiting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerExiting(winrt::event_token const& cookie) const noexcept; + auto PointerPressing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerPressing_revoker = impl::event_revoker::remove_PointerPressing>; - [[nodiscard]] PointerPressing_revoker PointerPressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerPressing(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerMoving(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerPressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerPressing(winrt::event_token const& cookie) const noexcept; + auto PointerMoving(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerMoving_revoker = impl::event_revoker::remove_PointerMoving>; - [[nodiscard]] PointerMoving_revoker PointerMoving(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerMoving(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerReleasing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerMoving(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerMoving(winrt::event_token const& cookie) const noexcept; + auto PointerReleasing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerReleasing_revoker = impl::event_revoker::remove_PointerReleasing>; - [[nodiscard]] PointerReleasing_revoker PointerReleasing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerReleasing(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PointerReleasing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerReleasing(winrt::event_token const& cookie) const noexcept; + auto PointerLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PointerLost_revoker = impl::event_revoker::remove_PointerLost>; - [[nodiscard]] PointerLost_revoker PointerLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerLost(winrt::event_token const& cookie) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) InkPresenter() const; + [[nodiscard]] auto PointerLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PointerLost(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto InkPresenter() const; }; template <> struct consume { @@ -248,7 +247,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSourceStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource) Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const; + auto Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const; }; template <> struct consume { @@ -257,9 +256,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Core_ICoreInkPresenterHost { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) InkPresenter() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ContainerVisual) RootVisual() const; - WINRT_IMPL_AUTO(void) RootVisual(winrt::Windows::UI::Composition::ContainerVisual const& value) const; + [[nodiscard]] auto InkPresenter() const; + [[nodiscard]] auto RootVisual() const; + auto RootVisual(winrt::Windows::UI::Composition::ContainerVisual const& value) const; }; template <> struct consume { @@ -268,10 +267,10 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) NewInkPoints() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PointerId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeDisposition) Disposition() const; - WINRT_IMPL_AUTO(void) Disposition(winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeDisposition const& value) const; + [[nodiscard]] auto NewInkPoints() const; + [[nodiscard]] auto PointerId() const; + [[nodiscard]] auto Disposition() const; + auto Disposition(winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeDisposition const& value) const; }; template <> struct consume { @@ -280,27 +279,27 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource { - WINRT_IMPL_AUTO(winrt::event_token) WetStrokeStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto WetStrokeStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using WetStrokeStarting_revoker = impl::event_revoker::remove_WetStrokeStarting>; - [[nodiscard]] WetStrokeStarting_revoker WetStrokeStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) WetStrokeStarting(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) WetStrokeContinuing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto WetStrokeStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto WetStrokeStarting(winrt::event_token const& cookie) const noexcept; + auto WetStrokeContinuing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using WetStrokeContinuing_revoker = impl::event_revoker::remove_WetStrokeContinuing>; - [[nodiscard]] WetStrokeContinuing_revoker WetStrokeContinuing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) WetStrokeContinuing(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) WetStrokeStopping(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto WetStrokeContinuing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto WetStrokeContinuing(winrt::event_token const& cookie) const noexcept; + auto WetStrokeStopping(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using WetStrokeStopping_revoker = impl::event_revoker::remove_WetStrokeStopping>; - [[nodiscard]] WetStrokeStopping_revoker WetStrokeStopping(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) WetStrokeStopping(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) WetStrokeCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto WetStrokeStopping(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto WetStrokeStopping(winrt::event_token const& cookie) const noexcept; + auto WetStrokeCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using WetStrokeCompleted_revoker = impl::event_revoker::remove_WetStrokeCompleted>; - [[nodiscard]] WetStrokeCompleted_revoker WetStrokeCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) WetStrokeCompleted(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) WetStrokeCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto WetStrokeCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto WetStrokeCompleted(winrt::event_token const& cookie) const noexcept; + auto WetStrokeCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using WetStrokeCanceled_revoker = impl::event_revoker::remove_WetStrokeCanceled>; - [[nodiscard]] WetStrokeCanceled_revoker WetStrokeCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) WetStrokeCanceled(winrt::event_token const& cookie) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) InkPresenter() const; + [[nodiscard]] auto WetStrokeCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto WetStrokeCanceled(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto InkPresenter() const; }; template <> struct consume { @@ -309,7 +308,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSourceStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource) Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const; + auto Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.1.h index e03214d8..d54bd81c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Inking_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.2.h index d3d49952..04799c81 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Inking_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.0.h index 4df05611..93b2a2c7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Inking_Preview_0_H @@ -53,8 +53,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Inking_Preview_IPalmRejectionDelayZonePreviewStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Preview::PalmRejectionDelayZonePreview) CreateForVisual(winrt::Windows::UI::Composition::Visual const& inputPanelVisual, winrt::Windows::Foundation::Rect const& inputPanelRect) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Preview::PalmRejectionDelayZonePreview) CreateForVisual(winrt::Windows::UI::Composition::Visual const& inputPanelVisual, winrt::Windows::Foundation::Rect const& inputPanelRect, winrt::Windows::UI::Composition::Visual const& viewportVisual, winrt::Windows::Foundation::Rect const& viewportRect) const; + auto CreateForVisual(winrt::Windows::UI::Composition::Visual const& inputPanelVisual, winrt::Windows::Foundation::Rect const& inputPanelRect) const; + auto CreateForVisual(winrt::Windows::UI::Composition::Visual const& inputPanelVisual, winrt::Windows::Foundation::Rect const& inputPanelRect, winrt::Windows::UI::Composition::Visual const& viewportVisual, winrt::Windows::Foundation::Rect const& viewportRect) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.1.h index 77bb6164..342fa685 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Inking_Preview_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.2.h index 85256312..0f9d0338 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Inking_Preview_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.0.h index 1149f418..8c6ca2f3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Preview_0_H @@ -33,7 +33,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Preview_IInputActivationListenerPreviewStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::InputActivationListener) CreateForApplicationWindow(winrt::Windows::UI::WindowManagement::AppWindow const& window) const; + auto CreateForApplicationWindow(winrt::Windows::UI::WindowManagement::AppWindow const& window) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.1.h index eeaaa485..d6d393b5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Preview_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.2.h index 6213bbb4..007d24a7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Preview_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.0.h index 97294b59..37a56bc1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Preview_Injection_0_H @@ -330,20 +330,20 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GamepadButtons) Buttons() const; - WINRT_IMPL_AUTO(void) Buttons(winrt::Windows::Gaming::Input::GamepadButtons const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) LeftThumbstickX() const; - WINRT_IMPL_AUTO(void) LeftThumbstickX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) LeftThumbstickY() const; - WINRT_IMPL_AUTO(void) LeftThumbstickY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) LeftTrigger() const; - WINRT_IMPL_AUTO(void) LeftTrigger(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RightThumbstickX() const; - WINRT_IMPL_AUTO(void) RightThumbstickX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RightThumbstickY() const; - WINRT_IMPL_AUTO(void) RightThumbstickY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RightTrigger() const; - WINRT_IMPL_AUTO(void) RightTrigger(double value) const; + [[nodiscard]] auto Buttons() const; + auto Buttons(winrt::Windows::Gaming::Input::GamepadButtons const& value) const; + [[nodiscard]] auto LeftThumbstickX() const; + auto LeftThumbstickX(double value) const; + [[nodiscard]] auto LeftThumbstickY() const; + auto LeftThumbstickY(double value) const; + [[nodiscard]] auto LeftTrigger() const; + auto LeftTrigger(double value) const; + [[nodiscard]] auto RightThumbstickX() const; + auto RightThumbstickX(double value) const; + [[nodiscard]] auto RightThumbstickY() const; + auto RightThumbstickY(double value) const; + [[nodiscard]] auto RightTrigger() const; + auto RightTrigger(double value) const; }; template <> struct consume { @@ -352,7 +352,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfoFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputGamepadInfo) CreateInstance(winrt::Windows::Gaming::Input::GamepadReading const& reading) const; + auto CreateInstance(winrt::Windows::Gaming::Input::GamepadReading const& reading) const; }; template <> struct consume { @@ -361,12 +361,12 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputKeyOptions) KeyOptions() const; - WINRT_IMPL_AUTO(void) KeyOptions(winrt::Windows::UI::Input::Preview::Injection::InjectedInputKeyOptions const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) ScanCode() const; - WINRT_IMPL_AUTO(void) ScanCode(uint16_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) VirtualKey() const; - WINRT_IMPL_AUTO(void) VirtualKey(uint16_t value) const; + [[nodiscard]] auto KeyOptions() const; + auto KeyOptions(winrt::Windows::UI::Input::Preview::Injection::InjectedInputKeyOptions const& value) const; + [[nodiscard]] auto ScanCode() const; + auto ScanCode(uint16_t value) const; + [[nodiscard]] auto VirtualKey() const; + auto VirtualKey(uint16_t value) const; }; template <> struct consume { @@ -375,16 +375,16 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputMouseOptions) MouseOptions() const; - WINRT_IMPL_AUTO(void) MouseOptions(winrt::Windows::UI::Input::Preview::Injection::InjectedInputMouseOptions const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MouseData() const; - WINRT_IMPL_AUTO(void) MouseData(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DeltaY() const; - WINRT_IMPL_AUTO(void) DeltaY(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DeltaX() const; - WINRT_IMPL_AUTO(void) DeltaX(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TimeOffsetInMilliseconds() const; - WINRT_IMPL_AUTO(void) TimeOffsetInMilliseconds(uint32_t value) const; + [[nodiscard]] auto MouseOptions() const; + auto MouseOptions(winrt::Windows::UI::Input::Preview::Injection::InjectedInputMouseOptions const& value) const; + [[nodiscard]] auto MouseData() const; + auto MouseData(uint32_t value) const; + [[nodiscard]] auto DeltaY() const; + auto DeltaY(int32_t value) const; + [[nodiscard]] auto DeltaX() const; + auto DeltaX(int32_t value) const; + [[nodiscard]] auto TimeOffsetInMilliseconds() const; + auto TimeOffsetInMilliseconds(uint32_t value) const; }; template <> struct consume { @@ -393,20 +393,20 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo) PointerInfo() const; - WINRT_IMPL_AUTO(void) PointerInfo(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenButtons) PenButtons() const; - WINRT_IMPL_AUTO(void) PenButtons(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenButtons const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenParameters) PenParameters() const; - WINRT_IMPL_AUTO(void) PenParameters(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenParameters const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Pressure() const; - WINRT_IMPL_AUTO(void) Pressure(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Rotation() const; - WINRT_IMPL_AUTO(void) Rotation(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) TiltX() const; - WINRT_IMPL_AUTO(void) TiltX(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) TiltY() const; - WINRT_IMPL_AUTO(void) TiltY(int32_t value) const; + [[nodiscard]] auto PointerInfo() const; + auto PointerInfo(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo const& value) const; + [[nodiscard]] auto PenButtons() const; + auto PenButtons(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenButtons const& value) const; + [[nodiscard]] auto PenParameters() const; + auto PenParameters(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenParameters const& value) const; + [[nodiscard]] auto Pressure() const; + auto Pressure(double value) const; + [[nodiscard]] auto Rotation() const; + auto Rotation(double value) const; + [[nodiscard]] auto TiltX() const; + auto TiltX(int32_t value) const; + [[nodiscard]] auto TiltY() const; + auto TiltY(int32_t value) const; }; template <> struct consume { @@ -415,16 +415,16 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputRectangle) Contact() const; - WINRT_IMPL_AUTO(void) Contact(winrt::Windows::UI::Input::Preview::Injection::InjectedInputRectangle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Orientation() const; - WINRT_IMPL_AUTO(void) Orientation(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo) PointerInfo() const; - WINRT_IMPL_AUTO(void) PointerInfo(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Pressure() const; - WINRT_IMPL_AUTO(void) Pressure(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputTouchParameters) TouchParameters() const; - WINRT_IMPL_AUTO(void) TouchParameters(winrt::Windows::UI::Input::Preview::Injection::InjectedInputTouchParameters const& value) const; + [[nodiscard]] auto Contact() const; + auto Contact(winrt::Windows::UI::Input::Preview::Injection::InjectedInputRectangle const& value) const; + [[nodiscard]] auto Orientation() const; + auto Orientation(int32_t value) const; + [[nodiscard]] auto PointerInfo() const; + auto PointerInfo(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo const& value) const; + [[nodiscard]] auto Pressure() const; + auto Pressure(double value) const; + [[nodiscard]] auto TouchParameters() const; + auto TouchParameters(winrt::Windows::UI::Input::Preview::Injection::InjectedInputTouchParameters const& value) const; }; template <> struct consume { @@ -433,15 +433,15 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Preview_Injection_IInputInjector { - WINRT_IMPL_AUTO(void) InjectKeyboardInput(param::iterable const& input) const; - WINRT_IMPL_AUTO(void) InjectMouseInput(param::iterable const& input) const; - WINRT_IMPL_AUTO(void) InitializeTouchInjection(winrt::Windows::UI::Input::Preview::Injection::InjectedInputVisualizationMode const& visualMode) const; - WINRT_IMPL_AUTO(void) InjectTouchInput(param::iterable const& input) const; - WINRT_IMPL_AUTO(void) UninitializeTouchInjection() const; - WINRT_IMPL_AUTO(void) InitializePenInjection(winrt::Windows::UI::Input::Preview::Injection::InjectedInputVisualizationMode const& visualMode) const; - WINRT_IMPL_AUTO(void) InjectPenInput(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenInfo const& input) const; - WINRT_IMPL_AUTO(void) UninitializePenInjection() const; - WINRT_IMPL_AUTO(void) InjectShortcut(winrt::Windows::UI::Input::Preview::Injection::InjectedInputShortcut const& shortcut) const; + auto InjectKeyboardInput(param::iterable const& input) const; + auto InjectMouseInput(param::iterable const& input) const; + auto InitializeTouchInjection(winrt::Windows::UI::Input::Preview::Injection::InjectedInputVisualizationMode const& visualMode) const; + auto InjectTouchInput(param::iterable const& input) const; + auto UninitializeTouchInjection() const; + auto InitializePenInjection(winrt::Windows::UI::Input::Preview::Injection::InjectedInputVisualizationMode const& visualMode) const; + auto InjectPenInput(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenInfo const& input) const; + auto UninitializePenInjection() const; + auto InjectShortcut(winrt::Windows::UI::Input::Preview::Injection::InjectedInputShortcut const& shortcut) const; }; template <> struct consume { @@ -450,9 +450,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Preview_Injection_IInputInjector2 { - WINRT_IMPL_AUTO(void) InitializeGamepadInjection() const; - WINRT_IMPL_AUTO(void) InjectGamepadInput(winrt::Windows::UI::Input::Preview::Injection::InjectedInputGamepadInfo const& input) const; - WINRT_IMPL_AUTO(void) UninitializeGamepadInjection() const; + auto InitializeGamepadInjection() const; + auto InjectGamepadInput(winrt::Windows::UI::Input::Preview::Injection::InjectedInputGamepadInfo const& input) const; + auto UninitializeGamepadInjection() const; }; template <> struct consume { @@ -461,7 +461,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Preview_Injection_IInputInjectorStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InputInjector) TryCreate() const; + auto TryCreate() const; }; template <> struct consume { @@ -470,7 +470,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Preview_Injection_IInputInjectorStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InputInjector) TryCreateForAppBroadcastOnly() const; + auto TryCreateForAppBroadcastOnly() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.1.h index c5f12056..32b4663c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Preview_Injection_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.2.h index d1f8c779..71cbe1b8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Preview_Injection_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.0.h index a311c639..80655b5b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Spatial_0_H @@ -14,14 +14,8 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Power WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics { } @@ -40,10 +34,6 @@ WINRT_EXPORT namespace winrt::Windows::Perception::Spatial { struct SpatialCoordinateSystem; } -WINRT_EXPORT namespace winrt::Windows::Storage::Streams -{ - struct IRandomAccessStreamWithContentType; -} WINRT_EXPORT namespace winrt::Windows::UI::Input::Spatial { enum class SpatialGestureSettings : uint32_t @@ -815,66 +805,66 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer { - WINRT_IMPL_AUTO(winrt::event_token) RecognitionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RecognitionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RecognitionStarted_revoker = impl::event_revoker::remove_RecognitionStarted>; - [[nodiscard]] RecognitionStarted_revoker RecognitionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RecognitionStarted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RecognitionEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto RecognitionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RecognitionStarted(winrt::event_token const& token) const noexcept; + auto RecognitionEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RecognitionEnded_revoker = impl::event_revoker::remove_RecognitionEnded>; - [[nodiscard]] RecognitionEnded_revoker RecognitionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RecognitionEnded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Tapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto RecognitionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RecognitionEnded(winrt::event_token const& token) const noexcept; + auto Tapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Tapped_revoker = impl::event_revoker::remove_Tapped>; - [[nodiscard]] Tapped_revoker Tapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Tapped(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) HoldStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Tapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Tapped(winrt::event_token const& token) const noexcept; + auto HoldStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using HoldStarted_revoker = impl::event_revoker::remove_HoldStarted>; - [[nodiscard]] HoldStarted_revoker HoldStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) HoldStarted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) HoldCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto HoldStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto HoldStarted(winrt::event_token const& token) const noexcept; + auto HoldCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using HoldCompleted_revoker = impl::event_revoker::remove_HoldCompleted>; - [[nodiscard]] HoldCompleted_revoker HoldCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) HoldCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) HoldCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto HoldCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto HoldCompleted(winrt::event_token const& token) const noexcept; + auto HoldCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using HoldCanceled_revoker = impl::event_revoker::remove_HoldCanceled>; - [[nodiscard]] HoldCanceled_revoker HoldCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) HoldCanceled(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ManipulationStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto HoldCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto HoldCanceled(winrt::event_token const& token) const noexcept; + auto ManipulationStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ManipulationStarted_revoker = impl::event_revoker::remove_ManipulationStarted>; - [[nodiscard]] ManipulationStarted_revoker ManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ManipulationStarted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ManipulationUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ManipulationStarted(winrt::event_token const& token) const noexcept; + auto ManipulationUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ManipulationUpdated_revoker = impl::event_revoker::remove_ManipulationUpdated>; - [[nodiscard]] ManipulationUpdated_revoker ManipulationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ManipulationUpdated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ManipulationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ManipulationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ManipulationUpdated(winrt::event_token const& token) const noexcept; + auto ManipulationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ManipulationCompleted_revoker = impl::event_revoker::remove_ManipulationCompleted>; - [[nodiscard]] ManipulationCompleted_revoker ManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ManipulationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ManipulationCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ManipulationCompleted(winrt::event_token const& token) const noexcept; + auto ManipulationCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ManipulationCanceled_revoker = impl::event_revoker::remove_ManipulationCanceled>; - [[nodiscard]] ManipulationCanceled_revoker ManipulationCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ManipulationCanceled(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NavigationStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ManipulationCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ManipulationCanceled(winrt::event_token const& token) const noexcept; + auto NavigationStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NavigationStarted_revoker = impl::event_revoker::remove_NavigationStarted>; - [[nodiscard]] NavigationStarted_revoker NavigationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NavigationStarted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NavigationUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto NavigationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NavigationStarted(winrt::event_token const& token) const noexcept; + auto NavigationUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NavigationUpdated_revoker = impl::event_revoker::remove_NavigationUpdated>; - [[nodiscard]] NavigationUpdated_revoker NavigationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NavigationUpdated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto NavigationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NavigationUpdated(winrt::event_token const& token) const noexcept; + auto NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NavigationCompleted_revoker = impl::event_revoker::remove_NavigationCompleted>; - [[nodiscard]] NavigationCompleted_revoker NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NavigationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NavigationCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NavigationCompleted(winrt::event_token const& token) const noexcept; + auto NavigationCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NavigationCanceled_revoker = impl::event_revoker::remove_NavigationCanceled>; - [[nodiscard]] NavigationCanceled_revoker NavigationCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NavigationCanceled(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) CaptureInteraction(winrt::Windows::UI::Input::Spatial::SpatialInteraction const& interaction) const; - WINRT_IMPL_AUTO(void) CancelPendingGestures() const; - WINRT_IMPL_AUTO(bool) TrySetGestureSettings(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings const& settings) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings) GestureSettings() const; + [[nodiscard]] auto NavigationCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NavigationCanceled(winrt::event_token const& token) const noexcept; + auto CaptureInteraction(winrt::Windows::UI::Input::Spatial::SpatialInteraction const& interaction) const; + auto CancelPendingGestures() const; + auto TrySetGestureSettings(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings const& settings) const; + [[nodiscard]] auto GestureSettings() const; }; template <> struct consume { @@ -883,7 +873,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer) Create(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings const& settings) const; + auto Create(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings const& settings) const; }; template <> struct consume { @@ -892,7 +882,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialHoldCanceledEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) InteractionSourceKind() const; + [[nodiscard]] auto InteractionSourceKind() const; }; template <> struct consume { @@ -901,7 +891,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialHoldCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) InteractionSourceKind() const; + [[nodiscard]] auto InteractionSourceKind() const; }; template <> struct consume { @@ -910,8 +900,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialHoldStartedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) InteractionSourceKind() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + [[nodiscard]] auto InteractionSourceKind() const; + auto TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; }; template <> struct consume { @@ -920,7 +910,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteraction { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState) SourceState() const; + [[nodiscard]] auto SourceState() const; }; template <> struct consume { @@ -929,12 +919,12 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionController { - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasTouchpad() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasThumbstick() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) SimpleHapticsController() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) VendorId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) ProductId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Version() const; + [[nodiscard]] auto HasTouchpad() const; + [[nodiscard]] auto HasThumbstick() const; + [[nodiscard]] auto SimpleHapticsController() const; + [[nodiscard]] auto VendorId() const; + [[nodiscard]] auto ProductId() const; + [[nodiscard]] auto Version() const; }; template <> struct consume { @@ -943,7 +933,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionController2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryGetRenderableModelAsync() const; + auto TryGetRenderableModelAsync() const; }; template <> struct consume { @@ -952,7 +942,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionController3 { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Power::BatteryReport) TryGetBatteryReport() const; + auto TryGetBatteryReport() const; }; template <> struct consume { @@ -961,13 +951,13 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTouchpadTouched() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTouchpadPressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsThumbstickPressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ThumbstickX() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ThumbstickY() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) TouchpadX() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) TouchpadY() const; + [[nodiscard]] auto IsTouchpadTouched() const; + [[nodiscard]] auto IsTouchpadPressed() const; + [[nodiscard]] auto IsThumbstickPressed() const; + [[nodiscard]] auto ThumbstickX() const; + [[nodiscard]] auto ThumbstickY() const; + [[nodiscard]] auto TouchpadX() const; + [[nodiscard]] auto TouchpadY() const; }; template <> struct consume { @@ -976,9 +966,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) InteractionSourceKind() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteraction) Interaction() const; + [[nodiscard]] auto InteractionSourceKind() const; + auto TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + [[nodiscard]] auto Interaction() const; }; template <> struct consume { @@ -987,7 +977,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSource) InteractionSource() const; + [[nodiscard]] auto InteractionSource() const; }; template <> struct consume { @@ -996,31 +986,31 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionManager { - WINRT_IMPL_AUTO(winrt::event_token) SourceDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourceDetected_revoker = impl::event_revoker::remove_SourceDetected>; - [[nodiscard]] SourceDetected_revoker SourceDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourceDetected(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SourceLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SourceDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceDetected(winrt::event_token const& token) const noexcept; + auto SourceLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourceLost_revoker = impl::event_revoker::remove_SourceLost>; - [[nodiscard]] SourceLost_revoker SourceLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourceLost(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SourceUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SourceLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceLost(winrt::event_token const& token) const noexcept; + auto SourceUpdated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourceUpdated_revoker = impl::event_revoker::remove_SourceUpdated>; - [[nodiscard]] SourceUpdated_revoker SourceUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourceUpdated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SourcePressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SourceUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceUpdated(winrt::event_token const& token) const noexcept; + auto SourcePressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourcePressed_revoker = impl::event_revoker::remove_SourcePressed>; - [[nodiscard]] SourcePressed_revoker SourcePressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourcePressed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SourceReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SourcePressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourcePressed(winrt::event_token const& token) const noexcept; + auto SourceReleased(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SourceReleased_revoker = impl::event_revoker::remove_SourceReleased>; - [[nodiscard]] SourceReleased_revoker SourceReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SourceReleased(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) InteractionDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SourceReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SourceReleased(winrt::event_token const& token) const noexcept; + auto InteractionDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using InteractionDetected_revoker = impl::event_revoker::remove_InteractionDetected>; - [[nodiscard]] InteractionDetected_revoker InteractionDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) InteractionDetected(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetDetectedSourcesAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timeStamp) const; + [[nodiscard]] auto InteractionDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto InteractionDetected(winrt::event_token const& token) const noexcept; + auto GetDetectedSourcesAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timeStamp) const; }; template <> struct consume { @@ -1029,7 +1019,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionManager) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -1038,7 +1028,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionManagerStatics2 { - WINRT_IMPL_AUTO(bool) IsSourceKindSupported(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind const& kind) const; + auto IsSourceKindSupported(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind const& kind) const; }; template <> struct consume { @@ -1047,8 +1037,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSource { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) Kind() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Kind() const; }; template <> struct consume { @@ -1057,11 +1047,11 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPointingSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMenuSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGraspSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionController) Controller() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState) TryGetStateAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const; + [[nodiscard]] auto IsPointingSupported() const; + [[nodiscard]] auto IsMenuSupported() const; + [[nodiscard]] auto IsGraspSupported() const; + [[nodiscard]] auto Controller() const; + auto TryGetStateAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const; }; template <> struct consume { @@ -1070,7 +1060,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSource3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceHandedness) Handedness() const; + [[nodiscard]] auto Handedness() const; }; template <> struct consume { @@ -1079,8 +1069,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSource4 { - WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HandMeshObserver) TryCreateHandMeshObserver() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryCreateHandMeshObserverAsync() const; + auto TryCreateHandMeshObserver() const; + auto TryCreateHandMeshObserverAsync() const; }; template <> struct consume { @@ -1089,7 +1079,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState) State() const; + [[nodiscard]] auto State() const; }; template <> struct consume { @@ -1098,7 +1088,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionPressKind) PressKind() const; + [[nodiscard]] auto PressKind() const; }; template <> struct consume { @@ -1107,8 +1097,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Velocity() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Velocity() const; }; template <> struct consume { @@ -1117,7 +1107,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Orientation() const; + [[nodiscard]] auto Orientation() const; }; template <> struct consume { @@ -1126,9 +1116,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourcePositionAccuracy) PositionAccuracy() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AngularVelocity() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerInteractionSourcePose) SourcePointerPose() const; + [[nodiscard]] auto PositionAccuracy() const; + [[nodiscard]] auto AngularVelocity() const; + [[nodiscard]] auto SourcePointerPose() const; }; template <> struct consume { @@ -1137,9 +1127,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceProperties { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TryGetSourceLossMitigationDirection(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SourceLossRisk() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceLocation) TryGetLocation(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + auto TryGetSourceLossMitigationDirection(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + [[nodiscard]] auto SourceLossRisk() const; + auto TryGetLocation(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; }; template <> struct consume { @@ -1148,11 +1138,11 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSource) Source() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceProperties) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) Timestamp() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + [[nodiscard]] auto Source() const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto IsPressed() const; + [[nodiscard]] auto Timestamp() const; + auto TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; }; template <> struct consume { @@ -1161,11 +1151,11 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSelectPressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMenuPressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGrasped() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SelectPressedValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionControllerProperties) ControllerProperties() const; + [[nodiscard]] auto IsSelectPressed() const; + [[nodiscard]] auto IsMenuPressed() const; + [[nodiscard]] auto IsGrasped() const; + [[nodiscard]] auto SelectPressedValue() const; + [[nodiscard]] auto ControllerProperties() const; }; template <> struct consume { @@ -1174,7 +1164,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState3 { - WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HandPose) TryGetHandPose() const; + auto TryGetHandPose() const; }; template <> struct consume { @@ -1183,7 +1173,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialManipulationCanceledEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) InteractionSourceKind() const; + [[nodiscard]] auto InteractionSourceKind() const; }; template <> struct consume { @@ -1192,8 +1182,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialManipulationCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) InteractionSourceKind() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialManipulationDelta) TryGetCumulativeDelta(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + [[nodiscard]] auto InteractionSourceKind() const; + auto TryGetCumulativeDelta(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; }; template <> struct consume { @@ -1202,7 +1192,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialManipulationDelta { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Translation() const; + [[nodiscard]] auto Translation() const; }; template <> struct consume { @@ -1211,8 +1201,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialManipulationStartedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) InteractionSourceKind() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + [[nodiscard]] auto InteractionSourceKind() const; + auto TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; }; template <> struct consume { @@ -1221,8 +1211,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialManipulationUpdatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) InteractionSourceKind() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialManipulationDelta) TryGetCumulativeDelta(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + [[nodiscard]] auto InteractionSourceKind() const; + auto TryGetCumulativeDelta(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; }; template <> struct consume { @@ -1231,7 +1221,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialNavigationCanceledEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) InteractionSourceKind() const; + [[nodiscard]] auto InteractionSourceKind() const; }; template <> struct consume { @@ -1240,8 +1230,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialNavigationCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) InteractionSourceKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) NormalizedOffset() const; + [[nodiscard]] auto InteractionSourceKind() const; + [[nodiscard]] auto NormalizedOffset() const; }; template <> struct consume { @@ -1250,11 +1240,11 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) InteractionSourceKind() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsNavigatingX() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsNavigatingY() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsNavigatingZ() const; + [[nodiscard]] auto InteractionSourceKind() const; + auto TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + [[nodiscard]] auto IsNavigatingX() const; + [[nodiscard]] auto IsNavigatingY() const; + [[nodiscard]] auto IsNavigatingZ() const; }; template <> struct consume { @@ -1263,8 +1253,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialNavigationUpdatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) InteractionSourceKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) NormalizedOffset() const; + [[nodiscard]] auto InteractionSourceKind() const; + [[nodiscard]] auto NormalizedOffset() const; }; template <> struct consume { @@ -1273,9 +1263,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) ForwardDirection() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) UpDirection() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto ForwardDirection() const; + [[nodiscard]] auto UpDirection() const; }; template <> struct consume { @@ -1284,8 +1274,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) Orientation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourcePositionAccuracy) PositionAccuracy() const; + [[nodiscard]] auto Orientation() const; + [[nodiscard]] auto PositionAccuracy() const; }; template <> struct consume { @@ -1294,8 +1284,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialPointerPose { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HeadPose) Head() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto Head() const; }; template <> struct consume { @@ -1304,7 +1294,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialPointerPose2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerInteractionSourcePose) TryGetInteractionSourcePose(winrt::Windows::UI::Input::Spatial::SpatialInteractionSource const& source) const; + auto TryGetInteractionSourcePose(winrt::Windows::UI::Input::Spatial::SpatialInteractionSource const& source) const; }; template <> struct consume { @@ -1313,8 +1303,8 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialPointerPose3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::People::EyesPose) Eyes() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHeadCapturedBySystem() const; + [[nodiscard]] auto Eyes() const; + [[nodiscard]] auto IsHeadCapturedBySystem() const; }; template <> struct consume { @@ -1323,7 +1313,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialPointerPoseStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) TryGetAtTimestamp(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const; + auto TryGetAtTimestamp(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const; }; template <> struct consume { @@ -1332,7 +1322,7 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialRecognitionEndedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) InteractionSourceKind() const; + [[nodiscard]] auto InteractionSourceKind() const; }; template <> struct consume { @@ -1341,9 +1331,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialRecognitionStartedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) InteractionSourceKind() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; - WINRT_IMPL_AUTO(bool) IsGesturePossible(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings const& gesture) const; + [[nodiscard]] auto InteractionSourceKind() const; + auto TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + auto IsGesturePossible(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings const& gesture) const; }; template <> struct consume { @@ -1352,9 +1342,9 @@ namespace winrt::impl template struct consume_Windows_UI_Input_Spatial_ISpatialTappedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) InteractionSourceKind() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) TapCount() const; + [[nodiscard]] auto InteractionSourceKind() const; + auto TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const; + [[nodiscard]] auto TapCount() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.1.h index a85e4176..8791dc0c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Spatial_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.2.h index 0038dad9..46ebb2f1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Input_Spatial_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.0.h index 3cb80164..91473edb 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Notifications_0_H @@ -17,7 +17,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; struct HResult; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; @@ -26,9 +25,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; template struct __declspec(empty_bases) IKeyValuePair; - template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; struct ValueSet; } WINRT_EXPORT namespace winrt::Windows::System @@ -1306,8 +1302,8 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IAdaptiveNotificationContent { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::AdaptiveNotificationContentKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Hints() const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Hints() const; }; template <> struct consume { @@ -1316,10 +1312,10 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IAdaptiveNotificationText { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - WINRT_IMPL_AUTO(void) Language(param::hstring const& value) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto Language() const; + auto Language(param::hstring const& value) const; }; template <> struct consume { @@ -1328,9 +1324,9 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IBadgeNotification { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) Content() const; - WINRT_IMPL_AUTO(void) ExpirationTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ExpirationTime() const; + [[nodiscard]] auto Content() const; + auto ExpirationTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ExpirationTime() const; }; template <> struct consume { @@ -1339,7 +1335,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IBadgeNotificationFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeNotification) CreateBadgeNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const; + auto CreateBadgeNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const; }; template <> struct consume { @@ -1348,10 +1344,10 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) CreateBadgeUpdaterForApplication() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) CreateBadgeUpdaterForApplication(param::hstring const& applicationId) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) CreateBadgeUpdaterForSecondaryTile(param::hstring const& tileId) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + auto CreateBadgeUpdaterForApplication() const; + auto CreateBadgeUpdaterForApplication(param::hstring const& applicationId) const; + auto CreateBadgeUpdaterForSecondaryTile(param::hstring const& tileId) const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -1360,10 +1356,10 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) CreateBadgeUpdaterForApplication() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) CreateBadgeUpdaterForApplication(param::hstring const& applicationId) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) CreateBadgeUpdaterForSecondaryTile(param::hstring const& tileId) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) GetTemplateContent(winrt::Windows::UI::Notifications::BadgeTemplateType const& type) const; + auto CreateBadgeUpdaterForApplication() const; + auto CreateBadgeUpdaterForApplication(param::hstring const& applicationId) const; + auto CreateBadgeUpdaterForSecondaryTile(param::hstring const& tileId) const; + auto GetTemplateContent(winrt::Windows::UI::Notifications::BadgeTemplateType const& type) const; }; template <> struct consume { @@ -1372,7 +1368,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdateManagerForUser) GetForUser(winrt::Windows::System::User const& user) const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -1381,11 +1377,11 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IBadgeUpdater { - WINRT_IMPL_AUTO(void) Update(winrt::Windows::UI::Notifications::BadgeNotification const& notification) const; - WINRT_IMPL_AUTO(void) Clear() const; - WINRT_IMPL_AUTO(void) StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& badgeContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const; - WINRT_IMPL_AUTO(void) StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& badgeContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const; - WINRT_IMPL_AUTO(void) StopPeriodicUpdate() const; + auto Update(winrt::Windows::UI::Notifications::BadgeNotification const& notification) const; + auto Clear() const; + auto StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& badgeContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const; + auto StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& badgeContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const; + auto StopPeriodicUpdate() const; }; template <> struct consume { @@ -1394,12 +1390,12 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Style() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Wrap() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MaxLines() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MinLines() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TextStacking() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Align() const; + [[nodiscard]] auto Style() const; + [[nodiscard]] auto Wrap() const; + [[nodiscard]] auto MaxLines() const; + [[nodiscard]] auto MinLines() const; + [[nodiscard]] auto TextStacking() const; + [[nodiscard]] auto Align() const; }; template <> struct consume { @@ -1408,25 +1404,25 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Caption() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Body() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Base() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subtitle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subheader() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Header() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TitleNumeral() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SubheaderNumeral() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HeaderNumeral() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CaptionSubtle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BodySubtle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BaseSubtle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SubtitleSubtle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TitleSubtle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SubheaderSubtle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SubheaderNumeralSubtle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HeaderSubtle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HeaderNumeralSubtle() const; + [[nodiscard]] auto Caption() const; + [[nodiscard]] auto Body() const; + [[nodiscard]] auto Base() const; + [[nodiscard]] auto Subtitle() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Subheader() const; + [[nodiscard]] auto Header() const; + [[nodiscard]] auto TitleNumeral() const; + [[nodiscard]] auto SubheaderNumeral() const; + [[nodiscard]] auto HeaderNumeral() const; + [[nodiscard]] auto CaptionSubtle() const; + [[nodiscard]] auto BodySubtle() const; + [[nodiscard]] auto BaseSubtle() const; + [[nodiscard]] auto SubtitleSubtle() const; + [[nodiscard]] auto TitleSubtle() const; + [[nodiscard]] auto SubheaderSubtle() const; + [[nodiscard]] auto SubheaderNumeralSubtle() const; + [[nodiscard]] auto HeaderSubtle() const; + [[nodiscard]] auto HeaderNumeralSubtle() const; }; template <> struct consume { @@ -1435,7 +1431,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IKnownNotificationBindingsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ToastGeneric() const; + [[nodiscard]] auto ToastGeneric() const; }; template <> struct consume { @@ -1444,10 +1440,10 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_INotification { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ExpirationTime() const; - WINRT_IMPL_AUTO(void) ExpirationTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationVisual) Visual() const; - WINRT_IMPL_AUTO(void) Visual(winrt::Windows::UI::Notifications::NotificationVisual const& value) const; + [[nodiscard]] auto ExpirationTime() const; + auto ExpirationTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Visual() const; + auto Visual(winrt::Windows::UI::Notifications::NotificationVisual const& value) const; }; template <> struct consume { @@ -1456,12 +1452,12 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_INotificationBinding { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Template() const; - WINRT_IMPL_AUTO(void) Template(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - WINRT_IMPL_AUTO(void) Language(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Hints() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetTextElements() const; + [[nodiscard]] auto Template() const; + auto Template(param::hstring const& value) const; + [[nodiscard]] auto Language() const; + auto Language(param::hstring const& value) const; + [[nodiscard]] auto Hints() const; + auto GetTextElements() const; }; template <> struct consume { @@ -1470,9 +1466,9 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_INotificationData { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Values() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SequenceNumber() const; - WINRT_IMPL_AUTO(void) SequenceNumber(uint32_t value) const; + [[nodiscard]] auto Values() const; + [[nodiscard]] auto SequenceNumber() const; + auto SequenceNumber(uint32_t value) const; }; template <> struct consume { @@ -1481,8 +1477,8 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_INotificationDataFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationData) CreateNotificationData(param::iterable> const& initialValues, uint32_t sequenceNumber) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationData) CreateNotificationData(param::iterable> const& initialValues) const; + auto CreateNotificationData(param::iterable> const& initialValues, uint32_t sequenceNumber) const; + auto CreateNotificationData(param::iterable> const& initialValues) const; }; template <> struct consume { @@ -1491,10 +1487,10 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_INotificationVisual { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - WINRT_IMPL_AUTO(void) Language(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Bindings() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationBinding) GetBinding(param::hstring const& templateName) const; + [[nodiscard]] auto Language() const; + auto Language(param::hstring const& value) const; + [[nodiscard]] auto Bindings() const; + auto GetBinding(param::hstring const& templateName) const; }; template <> struct consume { @@ -1503,14 +1499,14 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IScheduledTileNotification { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) Content() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) DeliveryTime() const; - WINRT_IMPL_AUTO(void) ExpirationTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ExpirationTime() const; - WINRT_IMPL_AUTO(void) Tag(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Tag() const; - WINRT_IMPL_AUTO(void) Id(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; + [[nodiscard]] auto Content() const; + [[nodiscard]] auto DeliveryTime() const; + auto ExpirationTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ExpirationTime() const; + auto Tag(param::hstring const& value) const; + [[nodiscard]] auto Tag() const; + auto Id(param::hstring const& value) const; + [[nodiscard]] auto Id() const; }; template <> struct consume { @@ -1519,7 +1515,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IScheduledTileNotificationFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ScheduledTileNotification) CreateScheduledTileNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime) const; + auto CreateScheduledTileNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime) const; }; template <> struct consume { @@ -1528,12 +1524,12 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IScheduledToastNotification { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) Content() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) DeliveryTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SnoozeInterval() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaximumSnoozeCount() const; - WINRT_IMPL_AUTO(void) Id(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; + [[nodiscard]] auto Content() const; + [[nodiscard]] auto DeliveryTime() const; + [[nodiscard]] auto SnoozeInterval() const; + [[nodiscard]] auto MaximumSnoozeCount() const; + auto Id(param::hstring const& value) const; + [[nodiscard]] auto Id() const; }; template <> struct consume { @@ -1542,12 +1538,12 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IScheduledToastNotification2 { - WINRT_IMPL_AUTO(void) Tag(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Tag() const; - WINRT_IMPL_AUTO(void) Group(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Group() const; - WINRT_IMPL_AUTO(void) SuppressPopup(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SuppressPopup() const; + auto Tag(param::hstring const& value) const; + [[nodiscard]] auto Tag() const; + auto Group(param::hstring const& value) const; + [[nodiscard]] auto Group() const; + auto SuppressPopup(bool value) const; + [[nodiscard]] auto SuppressPopup() const; }; template <> struct consume { @@ -1556,10 +1552,10 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IScheduledToastNotification3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationMirroring) NotificationMirroring() const; - WINRT_IMPL_AUTO(void) NotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const; - WINRT_IMPL_AUTO(void) RemoteId(param::hstring const& value) const; + [[nodiscard]] auto NotificationMirroring() const; + auto NotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const; + [[nodiscard]] auto RemoteId() const; + auto RemoteId(param::hstring const& value) const; }; template <> struct consume { @@ -1568,8 +1564,8 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IScheduledToastNotification4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ExpirationTime() const; - WINRT_IMPL_AUTO(void) ExpirationTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ExpirationTime() const; + auto ExpirationTime(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -1578,8 +1574,8 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IScheduledToastNotificationFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ScheduledToastNotification) CreateScheduledToastNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ScheduledToastNotification) CreateScheduledToastNotificationRecurring(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime, winrt::Windows::Foundation::TimeSpan const& snoozeInterval, uint32_t maximumSnoozeCount) const; + auto CreateScheduledToastNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime) const; + auto CreateScheduledToastNotificationRecurring(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime, winrt::Windows::Foundation::TimeSpan const& snoozeInterval, uint32_t maximumSnoozeCount) const; }; template <> struct consume { @@ -1588,10 +1584,10 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ScheduledToastNotification) ScheduledToastNotification() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; + [[nodiscard]] auto ScheduledToastNotification() const; + auto GetDeferral() const; }; template <> struct consume { @@ -1600,7 +1596,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IShownTileNotification { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Arguments() const; + [[nodiscard]] auto Arguments() const; }; template <> struct consume { @@ -1609,9 +1605,9 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_ITileFlyoutNotification { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) Content() const; - WINRT_IMPL_AUTO(void) ExpirationTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ExpirationTime() const; + [[nodiscard]] auto Content() const; + auto ExpirationTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ExpirationTime() const; }; template <> struct consume { @@ -1620,7 +1616,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_ITileFlyoutNotificationFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileFlyoutNotification) CreateTileFlyoutNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const; + auto CreateTileFlyoutNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const; }; template <> struct consume { @@ -1629,10 +1625,10 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileFlyoutUpdater) CreateTileFlyoutUpdaterForApplication() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileFlyoutUpdater) CreateTileFlyoutUpdaterForApplication(param::hstring const& applicationId) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileFlyoutUpdater) CreateTileFlyoutUpdaterForSecondaryTile(param::hstring const& tileId) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) GetTemplateContent(winrt::Windows::UI::Notifications::TileFlyoutTemplateType const& type) const; + auto CreateTileFlyoutUpdaterForApplication() const; + auto CreateTileFlyoutUpdaterForApplication(param::hstring const& applicationId) const; + auto CreateTileFlyoutUpdaterForSecondaryTile(param::hstring const& tileId) const; + auto GetTemplateContent(winrt::Windows::UI::Notifications::TileFlyoutTemplateType const& type) const; }; template <> struct consume { @@ -1641,12 +1637,12 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_ITileFlyoutUpdater { - WINRT_IMPL_AUTO(void) Update(winrt::Windows::UI::Notifications::TileFlyoutNotification const& notification) const; - WINRT_IMPL_AUTO(void) Clear() const; - WINRT_IMPL_AUTO(void) StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileFlyoutContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const; - WINRT_IMPL_AUTO(void) StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileFlyoutContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const; - WINRT_IMPL_AUTO(void) StopPeriodicUpdate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationSetting) Setting() const; + auto Update(winrt::Windows::UI::Notifications::TileFlyoutNotification const& notification) const; + auto Clear() const; + auto StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileFlyoutContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const; + auto StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileFlyoutContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const; + auto StopPeriodicUpdate() const; + [[nodiscard]] auto Setting() const; }; template <> struct consume { @@ -1655,11 +1651,11 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_ITileNotification { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) Content() const; - WINRT_IMPL_AUTO(void) ExpirationTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ExpirationTime() const; - WINRT_IMPL_AUTO(void) Tag(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Tag() const; + [[nodiscard]] auto Content() const; + auto ExpirationTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ExpirationTime() const; + auto Tag(param::hstring const& value) const; + [[nodiscard]] auto Tag() const; }; template <> struct consume { @@ -1668,7 +1664,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_ITileNotificationFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) CreateTileNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const; + auto CreateTileNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const; }; template <> struct consume { @@ -1677,10 +1673,10 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_ITileUpdateManagerForUser { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) CreateTileUpdaterForApplicationForUser() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) CreateTileUpdaterForApplication(param::hstring const& applicationId) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) CreateTileUpdaterForSecondaryTile(param::hstring const& tileId) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + auto CreateTileUpdaterForApplicationForUser() const; + auto CreateTileUpdaterForApplication(param::hstring const& applicationId) const; + auto CreateTileUpdaterForSecondaryTile(param::hstring const& tileId) const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -1689,10 +1685,10 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_ITileUpdateManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) CreateTileUpdaterForApplication() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) CreateTileUpdaterForApplication(param::hstring const& applicationId) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) CreateTileUpdaterForSecondaryTile(param::hstring const& tileId) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) GetTemplateContent(winrt::Windows::UI::Notifications::TileTemplateType const& type) const; + auto CreateTileUpdaterForApplication() const; + auto CreateTileUpdaterForApplication(param::hstring const& applicationId) const; + auto CreateTileUpdaterForSecondaryTile(param::hstring const& tileId) const; + auto GetTemplateContent(winrt::Windows::UI::Notifications::TileTemplateType const& type) const; }; template <> struct consume { @@ -1701,7 +1697,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_ITileUpdateManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdateManagerForUser) GetForUser(winrt::Windows::System::User const& user) const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -1710,18 +1706,18 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_ITileUpdater { - WINRT_IMPL_AUTO(void) Update(winrt::Windows::UI::Notifications::TileNotification const& notification) const; - WINRT_IMPL_AUTO(void) Clear() const; - WINRT_IMPL_AUTO(void) EnableNotificationQueue(bool enable) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationSetting) Setting() const; - WINRT_IMPL_AUTO(void) AddToSchedule(winrt::Windows::UI::Notifications::ScheduledTileNotification const& scheduledTile) const; - WINRT_IMPL_AUTO(void) RemoveFromSchedule(winrt::Windows::UI::Notifications::ScheduledTileNotification const& scheduledTile) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetScheduledTileNotifications() const; - WINRT_IMPL_AUTO(void) StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const; - WINRT_IMPL_AUTO(void) StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const; - WINRT_IMPL_AUTO(void) StopPeriodicUpdate() const; - WINRT_IMPL_AUTO(void) StartPeriodicUpdateBatch(param::iterable const& tileContents, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const; - WINRT_IMPL_AUTO(void) StartPeriodicUpdateBatch(param::iterable const& tileContents, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const; + auto Update(winrt::Windows::UI::Notifications::TileNotification const& notification) const; + auto Clear() const; + auto EnableNotificationQueue(bool enable) const; + [[nodiscard]] auto Setting() const; + auto AddToSchedule(winrt::Windows::UI::Notifications::ScheduledTileNotification const& scheduledTile) const; + auto RemoveFromSchedule(winrt::Windows::UI::Notifications::ScheduledTileNotification const& scheduledTile) const; + auto GetScheduledTileNotifications() const; + auto StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const; + auto StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const; + auto StopPeriodicUpdate() const; + auto StartPeriodicUpdateBatch(param::iterable const& tileContents, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const; + auto StartPeriodicUpdateBatch(param::iterable const& tileContents, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const; }; template <> struct consume { @@ -1730,9 +1726,9 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_ITileUpdater2 { - WINRT_IMPL_AUTO(void) EnableNotificationQueueForSquare150x150(bool enable) const; - WINRT_IMPL_AUTO(void) EnableNotificationQueueForWide310x150(bool enable) const; - WINRT_IMPL_AUTO(void) EnableNotificationQueueForSquare310x310(bool enable) const; + auto EnableNotificationQueueForSquare150x150(bool enable) const; + auto EnableNotificationQueueForWide310x150(bool enable) const; + auto EnableNotificationQueueForSquare310x310(bool enable) const; }; template <> struct consume { @@ -1741,7 +1737,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastActivatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Arguments() const; + [[nodiscard]] auto Arguments() const; }; template <> struct consume { @@ -1750,7 +1746,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastActivatedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) UserInput() const; + [[nodiscard]] auto UserInput() const; }; template <> struct consume { @@ -1759,13 +1755,13 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastCollection { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LaunchArgs() const; - WINRT_IMPL_AUTO(void) LaunchArgs(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Icon() const; - WINRT_IMPL_AUTO(void) Icon(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto LaunchArgs() const; + auto LaunchArgs(param::hstring const& value) const; + [[nodiscard]] auto Icon() const; + auto Icon(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -1774,7 +1770,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastCollectionFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastCollection) CreateInstance(param::hstring const& collectionId, param::hstring const& displayName, param::hstring const& launchArgs, winrt::Windows::Foundation::Uri const& iconUri) const; + auto CreateInstance(param::hstring const& collectionId, param::hstring const& displayName, param::hstring const& launchArgs, winrt::Windows::Foundation::Uri const& iconUri) const; }; template <> struct consume { @@ -1783,13 +1779,13 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastCollectionManager { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveToastCollectionAsync(winrt::Windows::UI::Notifications::ToastCollection const& collection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllToastCollectionsAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetToastCollectionAsync(param::hstring const& collectionId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RemoveToastCollectionAsync(param::hstring const& collectionId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RemoveAllToastCollectionsAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppId() const; + auto SaveToastCollectionAsync(winrt::Windows::UI::Notifications::ToastCollection const& collection) const; + auto FindAllToastCollectionsAsync() const; + auto GetToastCollectionAsync(param::hstring const& collectionId) const; + auto RemoveToastCollectionAsync(param::hstring const& collectionId) const; + auto RemoveAllToastCollectionsAsync() const; + [[nodiscard]] auto User() const; + [[nodiscard]] auto AppId() const; }; template <> struct consume { @@ -1798,7 +1794,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastDismissedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastDismissalReason) Reason() const; + [[nodiscard]] auto Reason() const; }; template <> struct consume { @@ -1807,7 +1803,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastFailedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ErrorCode() const; + [[nodiscard]] auto ErrorCode() const; }; template <> struct consume { @@ -1816,21 +1812,21 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotification { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) Content() const; - WINRT_IMPL_AUTO(void) ExpirationTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ExpirationTime() const; - WINRT_IMPL_AUTO(winrt::event_token) Dismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Content() const; + auto ExpirationTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ExpirationTime() const; + auto Dismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Dismissed_revoker = impl::event_revoker::remove_Dismissed>; - [[nodiscard]] Dismissed_revoker Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Dismissed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Activated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Dismissed(winrt::event_token const& token) const noexcept; + auto Activated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Activated_revoker = impl::event_revoker::remove_Activated>; - [[nodiscard]] Activated_revoker Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Activated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Failed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Activated(winrt::event_token const& token) const noexcept; + auto Failed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Failed_revoker = impl::event_revoker::remove_Failed>; - [[nodiscard]] Failed_revoker Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Failed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Failed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1839,12 +1835,12 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotification2 { - WINRT_IMPL_AUTO(void) Tag(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Tag() const; - WINRT_IMPL_AUTO(void) Group(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Group() const; - WINRT_IMPL_AUTO(void) SuppressPopup(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SuppressPopup() const; + auto Tag(param::hstring const& value) const; + [[nodiscard]] auto Tag() const; + auto Group(param::hstring const& value) const; + [[nodiscard]] auto Group() const; + auto SuppressPopup(bool value) const; + [[nodiscard]] auto SuppressPopup() const; }; template <> struct consume { @@ -1853,10 +1849,10 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotification3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationMirroring) NotificationMirroring() const; - WINRT_IMPL_AUTO(void) NotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const; - WINRT_IMPL_AUTO(void) RemoteId(param::hstring const& value) const; + [[nodiscard]] auto NotificationMirroring() const; + auto NotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const; + [[nodiscard]] auto RemoteId() const; + auto RemoteId(param::hstring const& value) const; }; template <> struct consume { @@ -1865,10 +1861,10 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotification4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationData) Data() const; - WINRT_IMPL_AUTO(void) Data(winrt::Windows::UI::Notifications::NotificationData const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationPriority) Priority() const; - WINRT_IMPL_AUTO(void) Priority(winrt::Windows::UI::Notifications::ToastNotificationPriority const& value) const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::UI::Notifications::NotificationData const& value) const; + [[nodiscard]] auto Priority() const; + auto Priority(winrt::Windows::UI::Notifications::ToastNotificationPriority const& value) const; }; template <> struct consume { @@ -1877,8 +1873,8 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotification6 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ExpiresOnReboot() const; - WINRT_IMPL_AUTO(void) ExpiresOnReboot(bool value) const; + [[nodiscard]] auto ExpiresOnReboot() const; + auto ExpiresOnReboot(bool value) const; }; template <> struct consume { @@ -1887,8 +1883,8 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotificationActionTriggerDetail { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Argument() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) UserInput() const; + [[nodiscard]] auto Argument() const; + [[nodiscard]] auto UserInput() const; }; template <> struct consume { @@ -1897,7 +1893,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotificationFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) CreateToastNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const; + auto CreateToastNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const; }; template <> struct consume { @@ -1906,13 +1902,13 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotificationHistory { - WINRT_IMPL_AUTO(void) RemoveGroup(param::hstring const& group) const; - WINRT_IMPL_AUTO(void) RemoveGroup(param::hstring const& group, param::hstring const& applicationId) const; - WINRT_IMPL_AUTO(void) Remove(param::hstring const& tag, param::hstring const& group, param::hstring const& applicationId) const; - WINRT_IMPL_AUTO(void) Remove(param::hstring const& tag, param::hstring const& group) const; - WINRT_IMPL_AUTO(void) Remove(param::hstring const& tag) const; - WINRT_IMPL_AUTO(void) Clear() const; - WINRT_IMPL_AUTO(void) Clear(param::hstring const& applicationId) const; + auto RemoveGroup(param::hstring const& group) const; + auto RemoveGroup(param::hstring const& group, param::hstring const& applicationId) const; + auto Remove(param::hstring const& tag, param::hstring const& group, param::hstring const& applicationId) const; + auto Remove(param::hstring const& tag, param::hstring const& group) const; + auto Remove(param::hstring const& tag) const; + auto Clear() const; + auto Clear(param::hstring const& applicationId) const; }; template <> struct consume { @@ -1921,8 +1917,8 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotificationHistory2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetHistory() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetHistory(param::hstring const& applicationId) const; + auto GetHistory() const; + auto GetHistory(param::hstring const& applicationId) const; }; template <> struct consume { @@ -1931,7 +1927,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotificationHistoryChangedTriggerDetail { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastHistoryChangedType) ChangeType() const; + [[nodiscard]] auto ChangeType() const; }; template <> struct consume { @@ -1940,7 +1936,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotificationHistoryChangedTriggerDetail2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CollectionId() const; + [[nodiscard]] auto CollectionId() const; }; template <> struct consume { @@ -1949,10 +1945,10 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotificationManagerForUser { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) CreateToastNotifier() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) CreateToastNotifier(param::hstring const& applicationId) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationHistory) History() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + auto CreateToastNotifier() const; + auto CreateToastNotifier(param::hstring const& applicationId) const; + [[nodiscard]] auto History() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -1961,10 +1957,10 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotificationManagerForUser2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetToastNotifierForToastCollectionIdAsync(param::hstring const& collectionId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetHistoryForToastCollectionIdAsync(param::hstring const& collectionId) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastCollectionManager) GetToastCollectionManager() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastCollectionManager) GetToastCollectionManager(param::hstring const& appId) const; + auto GetToastNotifierForToastCollectionIdAsync(param::hstring const& collectionId) const; + auto GetHistoryForToastCollectionIdAsync(param::hstring const& collectionId) const; + auto GetToastCollectionManager() const; + auto GetToastCollectionManager(param::hstring const& appId) const; }; template <> struct consume { @@ -1973,9 +1969,9 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotificationManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) CreateToastNotifier() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) CreateToastNotifier(param::hstring const& applicationId) const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) GetTemplateContent(winrt::Windows::UI::Notifications::ToastTemplateType const& type) const; + auto CreateToastNotifier() const; + auto CreateToastNotifier(param::hstring const& applicationId) const; + auto GetTemplateContent(winrt::Windows::UI::Notifications::ToastTemplateType const& type) const; }; template <> struct consume { @@ -1984,7 +1980,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotificationManagerStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationHistory) History() const; + [[nodiscard]] auto History() const; }; template <> struct consume { @@ -1993,8 +1989,8 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotificationManagerStatics4 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationManagerForUser) GetForUser(winrt::Windows::System::User const& user) const; - WINRT_IMPL_AUTO(void) ConfigureNotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const; + auto GetForUser(winrt::Windows::System::User const& user) const; + auto ConfigureNotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const; }; template <> struct consume { @@ -2003,7 +1999,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotificationManagerStatics5 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationManagerForUser) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { @@ -2012,12 +2008,12 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotifier { - WINRT_IMPL_AUTO(void) Show(winrt::Windows::UI::Notifications::ToastNotification const& notification) const; - WINRT_IMPL_AUTO(void) Hide(winrt::Windows::UI::Notifications::ToastNotification const& notification) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationSetting) Setting() const; - WINRT_IMPL_AUTO(void) AddToSchedule(winrt::Windows::UI::Notifications::ScheduledToastNotification const& scheduledToast) const; - WINRT_IMPL_AUTO(void) RemoveFromSchedule(winrt::Windows::UI::Notifications::ScheduledToastNotification const& scheduledToast) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetScheduledToastNotifications() const; + auto Show(winrt::Windows::UI::Notifications::ToastNotification const& notification) const; + auto Hide(winrt::Windows::UI::Notifications::ToastNotification const& notification) const; + [[nodiscard]] auto Setting() const; + auto AddToSchedule(winrt::Windows::UI::Notifications::ScheduledToastNotification const& scheduledToast) const; + auto RemoveFromSchedule(winrt::Windows::UI::Notifications::ScheduledToastNotification const& scheduledToast) const; + auto GetScheduledToastNotifications() const; }; template <> struct consume { @@ -2026,8 +2022,8 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotifier2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationUpdateResult) Update(winrt::Windows::UI::Notifications::NotificationData const& data, param::hstring const& tag, param::hstring const& group) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationUpdateResult) Update(winrt::Windows::UI::Notifications::NotificationData const& data, param::hstring const& tag) const; + auto Update(winrt::Windows::UI::Notifications::NotificationData const& data, param::hstring const& tag, param::hstring const& group) const; + auto Update(winrt::Windows::UI::Notifications::NotificationData const& data, param::hstring const& tag) const; }; template <> struct consume { @@ -2036,10 +2032,10 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IToastNotifier3 { - WINRT_IMPL_AUTO(winrt::event_token) ScheduledToastNotificationShowing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ScheduledToastNotificationShowing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ScheduledToastNotificationShowing_revoker = impl::event_revoker::remove_ScheduledToastNotificationShowing>; - [[nodiscard]] ScheduledToastNotificationShowing_revoker ScheduledToastNotificationShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ScheduledToastNotificationShowing(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ScheduledToastNotificationShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ScheduledToastNotificationShowing(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2048,10 +2044,10 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IUserNotification { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::Notification) Notification() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) AppInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) CreationTime() const; + [[nodiscard]] auto Notification() const; + [[nodiscard]] auto AppInfo() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto CreationTime() const; }; template <> struct consume { @@ -2060,8 +2056,8 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_IUserNotificationChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::UserNotificationChangedKind) ChangeKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UserNotificationId() const; + [[nodiscard]] auto ChangeKind() const; + [[nodiscard]] auto UserNotificationId() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.1.h index ad8e2d7c..6047a36f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Notifications_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.2.h index 119cb224..0a08ddd0 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Notifications_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.0.h index 80451bbd..5fe54e34 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Notifications_Management_0_H @@ -6,13 +6,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::UI::Notifications { enum class NotificationKinds : uint32_t; @@ -68,16 +63,16 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_Management_IUserNotificationListener { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::Management::UserNotificationListenerAccessStatus) GetAccessStatus() const; - WINRT_IMPL_AUTO(winrt::event_token) NotificationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RequestAccessAsync() const; + auto GetAccessStatus() const; + auto NotificationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NotificationChanged_revoker = impl::event_revoker::remove_NotificationChanged>; - [[nodiscard]] NotificationChanged_revoker NotificationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NotificationChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetNotificationsAsync(winrt::Windows::UI::Notifications::NotificationKinds const& kinds) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::UserNotification) GetNotification(uint32_t notificationId) const; - WINRT_IMPL_AUTO(void) ClearNotifications() const; - WINRT_IMPL_AUTO(void) RemoveNotification(uint32_t notificationId) const; + [[nodiscard]] auto NotificationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NotificationChanged(winrt::event_token const& token) const noexcept; + auto GetNotificationsAsync(winrt::Windows::UI::Notifications::NotificationKinds const& kinds) const; + auto GetNotification(uint32_t notificationId) const; + auto ClearNotifications() const; + auto RemoveNotification(uint32_t notificationId) const; }; template <> struct consume { @@ -86,7 +81,7 @@ namespace winrt::impl template struct consume_Windows_UI_Notifications_Management_IUserNotificationListenerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::Management::UserNotificationListener) Current() const; + [[nodiscard]] auto Current() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.1.h index 8f62a504..9b47f097 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Notifications_Management_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.2.h index 7f0e6fcb..ff662d0c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Notifications_Management_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.0.h index 2d99e6cb..300049d5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.0.h @@ -1,18 +1,13 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Popups_0_H #define WINRT_Windows_UI_Popups_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; struct Point; struct Rect; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::UI::Popups { enum class MessageDialogOptions : uint32_t @@ -142,18 +137,18 @@ namespace winrt::impl template struct consume_Windows_UI_Popups_IMessageDialog { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Commands() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DefaultCommandIndex() const; - WINRT_IMPL_AUTO(void) DefaultCommandIndex(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CancelCommandIndex() const; - WINRT_IMPL_AUTO(void) CancelCommandIndex(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Content() const; - WINRT_IMPL_AUTO(void) Content(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::MessageDialogOptions) Options() const; - WINRT_IMPL_AUTO(void) Options(winrt::Windows::UI::Popups::MessageDialogOptions const& value) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Commands() const; + [[nodiscard]] auto DefaultCommandIndex() const; + auto DefaultCommandIndex(uint32_t value) const; + [[nodiscard]] auto CancelCommandIndex() const; + auto CancelCommandIndex(uint32_t value) const; + [[nodiscard]] auto Content() const; + auto Content(param::hstring const& value) const; + auto ShowAsync() const; + [[nodiscard]] auto Options() const; + auto Options(winrt::Windows::UI::Popups::MessageDialogOptions const& value) const; }; template <> struct consume { @@ -162,8 +157,8 @@ namespace winrt::impl template struct consume_Windows_UI_Popups_IMessageDialogFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::MessageDialog) Create(param::hstring const& content) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::MessageDialog) CreateWithTitle(param::hstring const& content, param::hstring const& title) const; + auto Create(param::hstring const& content) const; + auto CreateWithTitle(param::hstring const& content, param::hstring const& title) const; }; template <> struct consume { @@ -172,10 +167,10 @@ namespace winrt::impl template struct consume_Windows_UI_Popups_IPopupMenu { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Commands() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowAsync(winrt::Windows::Foundation::Point const& invocationPoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + [[nodiscard]] auto Commands() const; + auto ShowAsync(winrt::Windows::Foundation::Point const& invocationPoint) const; + auto ShowForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const; + auto ShowForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; }; template <> struct consume { @@ -184,12 +179,12 @@ namespace winrt::impl template struct consume_Windows_UI_Popups_IUICommand { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const; - WINRT_IMPL_AUTO(void) Label(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommandInvokedHandler) Invoked() const; - WINRT_IMPL_AUTO(void) Invoked(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Id() const; - WINRT_IMPL_AUTO(void) Id(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto Label() const; + auto Label(param::hstring const& value) const; + [[nodiscard]] auto Invoked() const; + auto Invoked(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const; + [[nodiscard]] auto Id() const; + auto Id(winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -198,9 +193,9 @@ namespace winrt::impl template struct consume_Windows_UI_Popups_IUICommandFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommand) Create(param::hstring const& label) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommand) CreateWithHandler(param::hstring const& label, winrt::Windows::UI::Popups::UICommandInvokedHandler const& action) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommand) CreateWithHandlerAndId(param::hstring const& label, winrt::Windows::UI::Popups::UICommandInvokedHandler const& action, winrt::Windows::Foundation::IInspectable const& commandId) const; + auto Create(param::hstring const& label) const; + auto CreateWithHandler(param::hstring const& label, winrt::Windows::UI::Popups::UICommandInvokedHandler const& action) const; + auto CreateWithHandlerAndId(param::hstring const& label, winrt::Windows::UI::Popups::UICommandInvokedHandler const& action, winrt::Windows::Foundation::IInspectable const& commandId) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.1.h index 40fc4d14..033f04c3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Popups_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.2.h index 69302e32..98dc9bc8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Popups_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.0.h index 9670de27..44545793 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Shell_0_H @@ -9,7 +9,6 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core } WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } WINRT_EXPORT namespace winrt::Windows::UI::StartScreen @@ -132,7 +131,7 @@ namespace winrt::impl template struct consume_Windows_UI_Shell_IAdaptiveCard { - WINRT_IMPL_AUTO(hstring) ToJson() const; + auto ToJson() const; }; template <> struct consume { @@ -141,7 +140,7 @@ namespace winrt::impl template struct consume_Windows_UI_Shell_IAdaptiveCardBuilderStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Shell::IAdaptiveCard) CreateAdaptiveCardFromJson(param::hstring const& value) const; + auto CreateAdaptiveCardFromJson(param::hstring const& value) const; }; template <> struct consume { @@ -150,9 +149,9 @@ namespace winrt::impl template struct consume_Windows_UI_Shell_ISecurityAppManager { - WINRT_IMPL_AUTO(winrt::guid) Register(winrt::Windows::UI::Shell::SecurityAppKind const& kind, param::hstring const& displayName, winrt::Windows::Foundation::Uri const& detailsUri, bool registerPerUser) const; - WINRT_IMPL_AUTO(void) Unregister(winrt::Windows::UI::Shell::SecurityAppKind const& kind, winrt::guid const& guidRegistration) const; - WINRT_IMPL_AUTO(void) UpdateState(winrt::Windows::UI::Shell::SecurityAppKind const& kind, winrt::guid const& guidRegistration, winrt::Windows::UI::Shell::SecurityAppState const& state, winrt::Windows::UI::Shell::SecurityAppSubstatus const& substatus, winrt::Windows::Foundation::Uri const& detailsUri) const; + auto Register(winrt::Windows::UI::Shell::SecurityAppKind const& kind, param::hstring const& displayName, winrt::Windows::Foundation::Uri const& detailsUri, bool registerPerUser) const; + auto Unregister(winrt::Windows::UI::Shell::SecurityAppKind const& kind, winrt::guid const& guidRegistration) const; + auto UpdateState(winrt::Windows::UI::Shell::SecurityAppKind const& kind, winrt::guid const& guidRegistration, winrt::Windows::UI::Shell::SecurityAppState const& state, winrt::Windows::UI::Shell::SecurityAppSubstatus const& substatus, winrt::Windows::Foundation::Uri const& detailsUri) const; }; template <> struct consume { @@ -161,12 +160,12 @@ namespace winrt::impl template struct consume_Windows_UI_Shell_ITaskbarManager { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPinningAllowed() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsCurrentAppPinnedAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsAppListEntryPinnedAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPinCurrentAppAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPinAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const; + [[nodiscard]] auto IsSupported() const; + [[nodiscard]] auto IsPinningAllowed() const; + auto IsCurrentAppPinnedAsync() const; + auto IsAppListEntryPinnedAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const; + auto RequestPinCurrentAppAsync() const; + auto RequestPinAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const; }; template <> struct consume { @@ -175,9 +174,9 @@ namespace winrt::impl template struct consume_Windows_UI_Shell_ITaskbarManager2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsSecondaryTilePinnedAsync(param::hstring const& tileId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPinSecondaryTileAsync(winrt::Windows::UI::StartScreen::SecondaryTile const& secondaryTile) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryUnpinSecondaryTileAsync(param::hstring const& tileId) const; + auto IsSecondaryTilePinnedAsync(param::hstring const& tileId) const; + auto RequestPinSecondaryTileAsync(winrt::Windows::UI::StartScreen::SecondaryTile const& secondaryTile) const; + auto TryUnpinSecondaryTileAsync(param::hstring const& tileId) const; }; template <> struct consume { @@ -186,7 +185,7 @@ namespace winrt::impl template struct consume_Windows_UI_Shell_ITaskbarManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Shell::TaskbarManager) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.1.h index 923f5b4c..26175c02 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Shell_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.2.h index 15ce0b9b..e7c18838 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Shell_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.0.h index 9079d4fd..98955af4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_StartScreen_0_H @@ -11,18 +11,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; struct Point; struct Rect; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Perception::Spatial { struct SpatialBoundingBox; @@ -456,10 +450,10 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_IJumpList { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Items() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::JumpListSystemGroupKind) SystemGroupKind() const; - WINRT_IMPL_AUTO(void) SystemGroupKind(winrt::Windows::UI::StartScreen::JumpListSystemGroupKind const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAsync() const; + [[nodiscard]] auto Items() const; + [[nodiscard]] auto SystemGroupKind() const; + auto SystemGroupKind(winrt::Windows::UI::StartScreen::JumpListSystemGroupKind const& value) const; + auto SaveAsync() const; }; template <> struct consume { @@ -468,17 +462,17 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_IJumpListItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::JumpListItemKind) Kind() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Arguments() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RemovedByUser() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GroupName() const; - WINRT_IMPL_AUTO(void) GroupName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Logo() const; - WINRT_IMPL_AUTO(void) Logo(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Kind() const; + [[nodiscard]] auto Arguments() const; + [[nodiscard]] auto RemovedByUser() const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto GroupName() const; + auto GroupName(param::hstring const& value) const; + [[nodiscard]] auto Logo() const; + auto Logo(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -487,8 +481,8 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_IJumpListItemStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::JumpListItem) CreateWithArguments(param::hstring const& arguments, param::hstring const& displayName) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::JumpListItem) CreateSeparator() const; + auto CreateWithArguments(param::hstring const& arguments, param::hstring const& displayName) const; + auto CreateSeparator() const; }; template <> struct consume { @@ -497,8 +491,8 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_IJumpListStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadCurrentAsync() const; - WINRT_IMPL_AUTO(bool) IsSupported() const; + auto LoadCurrentAsync() const; + auto IsSupported() const; }; template <> struct consume { @@ -507,39 +501,39 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_ISecondaryTile { - WINRT_IMPL_AUTO(void) TileId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TileId() const; - WINRT_IMPL_AUTO(void) Arguments(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Arguments() const; - WINRT_IMPL_AUTO(void) ShortName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ShortName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) Logo(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Logo() const; - WINRT_IMPL_AUTO(void) SmallLogo(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) SmallLogo() const; - WINRT_IMPL_AUTO(void) WideLogo(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) WideLogo() const; - WINRT_IMPL_AUTO(void) LockScreenBadgeLogo(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) LockScreenBadgeLogo() const; - WINRT_IMPL_AUTO(void) LockScreenDisplayBadgeAndTileText(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) LockScreenDisplayBadgeAndTileText() const; - WINRT_IMPL_AUTO(void) TileOptions(winrt::Windows::UI::StartScreen::TileOptions const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::TileOptions) TileOptions() const; - WINRT_IMPL_AUTO(void) ForegroundText(winrt::Windows::UI::StartScreen::ForegroundText const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::ForegroundText) ForegroundText() const; - WINRT_IMPL_AUTO(void) BackgroundColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) BackgroundColor() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestCreateAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestCreateAsync(winrt::Windows::Foundation::Point const& invocationPoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestCreateForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestCreateForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestDeleteAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestDeleteAsync(winrt::Windows::Foundation::Point const& invocationPoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestDeleteForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestDeleteForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UpdateAsync() const; + auto TileId(param::hstring const& value) const; + [[nodiscard]] auto TileId() const; + auto Arguments(param::hstring const& value) const; + [[nodiscard]] auto Arguments() const; + auto ShortName(param::hstring const& value) const; + [[nodiscard]] auto ShortName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto DisplayName() const; + auto Logo(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Logo() const; + auto SmallLogo(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto SmallLogo() const; + auto WideLogo(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto WideLogo() const; + auto LockScreenBadgeLogo(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto LockScreenBadgeLogo() const; + auto LockScreenDisplayBadgeAndTileText(bool value) const; + [[nodiscard]] auto LockScreenDisplayBadgeAndTileText() const; + auto TileOptions(winrt::Windows::UI::StartScreen::TileOptions const& value) const; + [[nodiscard]] auto TileOptions() const; + auto ForegroundText(winrt::Windows::UI::StartScreen::ForegroundText const& value) const; + [[nodiscard]] auto ForegroundText() const; + auto BackgroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto BackgroundColor() const; + auto RequestCreateAsync() const; + auto RequestCreateAsync(winrt::Windows::Foundation::Point const& invocationPoint) const; + auto RequestCreateForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const; + auto RequestCreateForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + auto RequestDeleteAsync() const; + auto RequestDeleteAsync(winrt::Windows::Foundation::Point const& invocationPoint) const; + auto RequestDeleteForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const; + auto RequestDeleteForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const; + auto UpdateAsync() const; }; template <> struct consume { @@ -548,15 +542,15 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_ISecondaryTile2 { - WINRT_IMPL_AUTO(void) PhoneticName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PhoneticName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTileVisualElements) VisualElements() const; - WINRT_IMPL_AUTO(void) RoamingEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RoamingEnabled() const; - WINRT_IMPL_AUTO(winrt::event_token) VisualElementsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PhoneticName(param::hstring const& value) const; + [[nodiscard]] auto PhoneticName() const; + [[nodiscard]] auto VisualElements() const; + auto RoamingEnabled(bool value) const; + [[nodiscard]] auto RoamingEnabled() const; + auto VisualElementsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using VisualElementsRequested_revoker = impl::event_revoker::remove_VisualElementsRequested>; - [[nodiscard]] VisualElementsRequested_revoker VisualElementsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VisualElementsRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto VisualElementsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VisualElementsRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -565,9 +559,9 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_ISecondaryTileFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTile) CreateTile(param::hstring const& tileId, param::hstring const& shortName, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::UI::StartScreen::TileOptions const& tileOptions, winrt::Windows::Foundation::Uri const& logoReference) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTile) CreateWideTile(param::hstring const& tileId, param::hstring const& shortName, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::UI::StartScreen::TileOptions const& tileOptions, winrt::Windows::Foundation::Uri const& logoReference, winrt::Windows::Foundation::Uri const& wideLogoReference) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTile) CreateWithId(param::hstring const& tileId) const; + auto CreateTile(param::hstring const& tileId, param::hstring const& shortName, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::UI::StartScreen::TileOptions const& tileOptions, winrt::Windows::Foundation::Uri const& logoReference) const; + auto CreateWideTile(param::hstring const& tileId, param::hstring const& shortName, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::UI::StartScreen::TileOptions const& tileOptions, winrt::Windows::Foundation::Uri const& logoReference, winrt::Windows::Foundation::Uri const& wideLogoReference) const; + auto CreateWithId(param::hstring const& tileId) const; }; template <> struct consume { @@ -576,7 +570,7 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_ISecondaryTileFactory2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTile) CreateMinimalTile(param::hstring const& tileId, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::Foundation::Uri const& square150x150Logo, winrt::Windows::UI::StartScreen::TileSize const& desiredSize) const; + auto CreateMinimalTile(param::hstring const& tileId, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::Foundation::Uri const& square150x150Logo, winrt::Windows::UI::StartScreen::TileSize const& desiredSize) const; }; template <> struct consume { @@ -585,10 +579,10 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_ISecondaryTileStatics { - WINRT_IMPL_AUTO(bool) Exists(param::hstring const& tileId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllAsync(param::hstring const& applicationId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) FindAllForPackageAsync() const; + auto Exists(param::hstring const& tileId) const; + auto FindAllAsync() const; + auto FindAllAsync(param::hstring const& applicationId) const; + auto FindAllForPackageAsync() const; }; template <> struct consume { @@ -597,26 +591,26 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_ISecondaryTileVisualElements { - WINRT_IMPL_AUTO(void) Square30x30Logo(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Square30x30Logo() const; - WINRT_IMPL_AUTO(void) Square70x70Logo(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Square70x70Logo() const; - WINRT_IMPL_AUTO(void) Square150x150Logo(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Square150x150Logo() const; - WINRT_IMPL_AUTO(void) Wide310x150Logo(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Wide310x150Logo() const; - WINRT_IMPL_AUTO(void) Square310x310Logo(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Square310x310Logo() const; - WINRT_IMPL_AUTO(void) ForegroundText(winrt::Windows::UI::StartScreen::ForegroundText const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::ForegroundText) ForegroundText() const; - WINRT_IMPL_AUTO(void) BackgroundColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) BackgroundColor() const; - WINRT_IMPL_AUTO(void) ShowNameOnSquare150x150Logo(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShowNameOnSquare150x150Logo() const; - WINRT_IMPL_AUTO(void) ShowNameOnWide310x150Logo(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShowNameOnWide310x150Logo() const; - WINRT_IMPL_AUTO(void) ShowNameOnSquare310x310Logo(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShowNameOnSquare310x310Logo() const; + auto Square30x30Logo(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Square30x30Logo() const; + auto Square70x70Logo(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Square70x70Logo() const; + auto Square150x150Logo(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Square150x150Logo() const; + auto Wide310x150Logo(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Wide310x150Logo() const; + auto Square310x310Logo(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Square310x310Logo() const; + auto ForegroundText(winrt::Windows::UI::StartScreen::ForegroundText const& value) const; + [[nodiscard]] auto ForegroundText() const; + auto BackgroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto BackgroundColor() const; + auto ShowNameOnSquare150x150Logo(bool value) const; + [[nodiscard]] auto ShowNameOnSquare150x150Logo() const; + auto ShowNameOnWide310x150Logo(bool value) const; + [[nodiscard]] auto ShowNameOnWide310x150Logo() const; + auto ShowNameOnSquare310x310Logo(bool value) const; + [[nodiscard]] auto ShowNameOnSquare310x310Logo() const; }; template <> struct consume { @@ -625,8 +619,8 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_ISecondaryTileVisualElements2 { - WINRT_IMPL_AUTO(void) Square71x71Logo(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Square71x71Logo() const; + auto Square71x71Logo(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Square71x71Logo() const; }; template <> struct consume { @@ -635,8 +629,8 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_ISecondaryTileVisualElements3 { - WINRT_IMPL_AUTO(void) Square44x44Logo(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Square44x44Logo() const; + auto Square44x44Logo(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Square44x44Logo() const; }; template <> struct consume { @@ -645,7 +639,7 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_ISecondaryTileVisualElements4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::TileMixedRealityModel) MixedRealityModel() const; + [[nodiscard]] auto MixedRealityModel() const; }; template <> struct consume { @@ -654,10 +648,10 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_IStartScreenManager { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; - WINRT_IMPL_AUTO(bool) SupportsAppListEntry(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ContainsAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAddAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const; + [[nodiscard]] auto User() const; + auto SupportsAppListEntry(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const; + auto ContainsAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const; + auto RequestAddAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const; }; template <> struct consume { @@ -666,8 +660,8 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_IStartScreenManager2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ContainsSecondaryTileAsync(param::hstring const& tileId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryRemoveSecondaryTileAsync(param::hstring const& tileId) const; + auto ContainsSecondaryTileAsync(param::hstring const& tileId) const; + auto TryRemoveSecondaryTileAsync(param::hstring const& tileId) const; }; template <> struct consume { @@ -676,8 +670,8 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_IStartScreenManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::StartScreenManager) GetDefault() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::StartScreenManager) GetForUser(winrt::Windows::System::User const& user) const; + auto GetDefault() const; + auto GetForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -686,10 +680,10 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_ITileMixedRealityModel { - WINRT_IMPL_AUTO(void) Uri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - WINRT_IMPL_AUTO(void) BoundingBox(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BoundingBox() const; + auto Uri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Uri() const; + auto BoundingBox(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto BoundingBox() const; }; template <> struct consume { @@ -698,8 +692,8 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_ITileMixedRealityModel2 { - WINRT_IMPL_AUTO(void) ActivationBehavior(winrt::Windows::UI::StartScreen::TileMixedRealityModelActivationBehavior const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::TileMixedRealityModelActivationBehavior) ActivationBehavior() const; + auto ActivationBehavior(winrt::Windows::UI::StartScreen::TileMixedRealityModelActivationBehavior const& value) const; + [[nodiscard]] auto ActivationBehavior() const; }; template <> struct consume { @@ -708,10 +702,10 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_IVisualElementsRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTileVisualElements) VisualElements() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AlternateVisualElements() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Deadline() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::VisualElementsRequestDeferral) GetDeferral() const; + [[nodiscard]] auto VisualElements() const; + [[nodiscard]] auto AlternateVisualElements() const; + [[nodiscard]] auto Deadline() const; + auto GetDeferral() const; }; template <> struct consume { @@ -720,7 +714,7 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_IVisualElementsRequestDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -729,7 +723,7 @@ namespace winrt::impl template struct consume_Windows_UI_StartScreen_IVisualElementsRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::VisualElementsRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.1.h index dbfabf62..4ffa4c1b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_StartScreen_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.2.h index 2ca89b95..744da249 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_StartScreen_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.0.h index 291a15b0..690a0f49 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Text_0_H @@ -815,16 +815,16 @@ namespace winrt::impl template struct consume_Windows_UI_Text_IContentLinkInfo { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - WINRT_IMPL_AUTO(void) Id(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayText() const; - WINRT_IMPL_AUTO(void) DisplayText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SecondaryText() const; - WINRT_IMPL_AUTO(void) SecondaryText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - WINRT_IMPL_AUTO(void) Uri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LinkContentKind() const; - WINRT_IMPL_AUTO(void) LinkContentKind(param::hstring const& value) const; + [[nodiscard]] auto Id() const; + auto Id(uint32_t value) const; + [[nodiscard]] auto DisplayText() const; + auto DisplayText(param::hstring const& value) const; + [[nodiscard]] auto SecondaryText() const; + auto SecondaryText(param::hstring const& value) const; + [[nodiscard]] auto Uri() const; + auto Uri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto LinkContentKind() const; + auto LinkContentKind(param::hstring const& value) const; }; template <> struct consume { @@ -841,17 +841,17 @@ namespace winrt::impl template struct consume_Windows_UI_Text_IFontWeightsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) Black() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) Bold() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) ExtraBlack() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) ExtraBold() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) ExtraLight() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) Light() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) Medium() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) Normal() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) SemiBold() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) SemiLight() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) Thin() const; + [[nodiscard]] auto Black() const; + [[nodiscard]] auto Bold() const; + [[nodiscard]] auto ExtraBlack() const; + [[nodiscard]] auto ExtraBold() const; + [[nodiscard]] auto ExtraLight() const; + [[nodiscard]] auto Light() const; + [[nodiscard]] auto Medium() const; + [[nodiscard]] auto Normal() const; + [[nodiscard]] auto SemiBold() const; + [[nodiscard]] auto SemiLight() const; + [[nodiscard]] auto Thin() const; }; template <> struct consume { @@ -860,8 +860,8 @@ namespace winrt::impl template struct consume_Windows_UI_Text_IRichEditTextRange { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ContentLinkInfo) ContentLinkInfo() const; - WINRT_IMPL_AUTO(void) ContentLinkInfo(winrt::Windows::UI::Text::ContentLinkInfo const& value) const; + [[nodiscard]] auto ContentLinkInfo() const; + auto ContentLinkInfo(winrt::Windows::UI::Text::ContentLinkInfo const& value) const; }; template <> struct consume { @@ -870,56 +870,56 @@ namespace winrt::impl template struct consume_Windows_UI_Text_ITextCharacterFormat { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) AllCaps() const; - WINRT_IMPL_AUTO(void) AllCaps(winrt::Windows::UI::Text::FormatEffect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) BackgroundColor() const; - WINRT_IMPL_AUTO(void) BackgroundColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) Bold() const; - WINRT_IMPL_AUTO(void) Bold(winrt::Windows::UI::Text::FormatEffect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) FontStretch() const; - WINRT_IMPL_AUTO(void) FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) FontStyle() const; - WINRT_IMPL_AUTO(void) FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) ForegroundColor() const; - WINRT_IMPL_AUTO(void) ForegroundColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) Hidden() const; - WINRT_IMPL_AUTO(void) Hidden(winrt::Windows::UI::Text::FormatEffect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) Italic() const; - WINRT_IMPL_AUTO(void) Italic(winrt::Windows::UI::Text::FormatEffect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Kerning() const; - WINRT_IMPL_AUTO(void) Kerning(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LanguageTag() const; - WINRT_IMPL_AUTO(void) LanguageTag(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::LinkType) LinkType() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) Outline() const; - WINRT_IMPL_AUTO(void) Outline(winrt::Windows::UI::Text::FormatEffect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Position() const; - WINRT_IMPL_AUTO(void) Position(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) ProtectedText() const; - WINRT_IMPL_AUTO(void) ProtectedText(winrt::Windows::UI::Text::FormatEffect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Size() const; - WINRT_IMPL_AUTO(void) Size(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) SmallCaps() const; - WINRT_IMPL_AUTO(void) SmallCaps(winrt::Windows::UI::Text::FormatEffect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Spacing() const; - WINRT_IMPL_AUTO(void) Spacing(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) Strikethrough() const; - WINRT_IMPL_AUTO(void) Strikethrough(winrt::Windows::UI::Text::FormatEffect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) Subscript() const; - WINRT_IMPL_AUTO(void) Subscript(winrt::Windows::UI::Text::FormatEffect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) Superscript() const; - WINRT_IMPL_AUTO(void) Superscript(winrt::Windows::UI::Text::FormatEffect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::TextScript) TextScript() const; - WINRT_IMPL_AUTO(void) TextScript(winrt::Windows::UI::Text::TextScript const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::UnderlineType) Underline() const; - WINRT_IMPL_AUTO(void) Underline(winrt::Windows::UI::Text::UnderlineType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Weight() const; - WINRT_IMPL_AUTO(void) Weight(int32_t value) const; - WINRT_IMPL_AUTO(void) SetClone(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextCharacterFormat) GetClone() const; - WINRT_IMPL_AUTO(bool) IsEqual(winrt::Windows::UI::Text::ITextCharacterFormat const& format) const; + [[nodiscard]] auto AllCaps() const; + auto AllCaps(winrt::Windows::UI::Text::FormatEffect const& value) const; + [[nodiscard]] auto BackgroundColor() const; + auto BackgroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Bold() const; + auto Bold(winrt::Windows::UI::Text::FormatEffect const& value) const; + [[nodiscard]] auto FontStretch() const; + auto FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const; + [[nodiscard]] auto FontStyle() const; + auto FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; + [[nodiscard]] auto ForegroundColor() const; + auto ForegroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Hidden() const; + auto Hidden(winrt::Windows::UI::Text::FormatEffect const& value) const; + [[nodiscard]] auto Italic() const; + auto Italic(winrt::Windows::UI::Text::FormatEffect const& value) const; + [[nodiscard]] auto Kerning() const; + auto Kerning(float value) const; + [[nodiscard]] auto LanguageTag() const; + auto LanguageTag(param::hstring const& value) const; + [[nodiscard]] auto LinkType() const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Outline() const; + auto Outline(winrt::Windows::UI::Text::FormatEffect const& value) const; + [[nodiscard]] auto Position() const; + auto Position(float value) const; + [[nodiscard]] auto ProtectedText() const; + auto ProtectedText(winrt::Windows::UI::Text::FormatEffect const& value) const; + [[nodiscard]] auto Size() const; + auto Size(float value) const; + [[nodiscard]] auto SmallCaps() const; + auto SmallCaps(winrt::Windows::UI::Text::FormatEffect const& value) const; + [[nodiscard]] auto Spacing() const; + auto Spacing(float value) const; + [[nodiscard]] auto Strikethrough() const; + auto Strikethrough(winrt::Windows::UI::Text::FormatEffect const& value) const; + [[nodiscard]] auto Subscript() const; + auto Subscript(winrt::Windows::UI::Text::FormatEffect const& value) const; + [[nodiscard]] auto Superscript() const; + auto Superscript(winrt::Windows::UI::Text::FormatEffect const& value) const; + [[nodiscard]] auto TextScript() const; + auto TextScript(winrt::Windows::UI::Text::TextScript const& value) const; + [[nodiscard]] auto Underline() const; + auto Underline(winrt::Windows::UI::Text::UnderlineType const& value) const; + [[nodiscard]] auto Weight() const; + auto Weight(int32_t value) const; + auto SetClone(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const; + auto GetClone() const; + auto IsEqual(winrt::Windows::UI::Text::ITextCharacterFormat const& format) const; }; template <> struct consume { @@ -928,14 +928,14 @@ namespace winrt::impl template struct consume_Windows_UI_Text_ITextConstantsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) AutoColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MinUnitCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxUnitCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) UndefinedColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) UndefinedFloatValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) UndefinedInt32Value() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) UndefinedFontStretch() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) UndefinedFontStyle() const; + [[nodiscard]] auto AutoColor() const; + [[nodiscard]] auto MinUnitCount() const; + [[nodiscard]] auto MaxUnitCount() const; + [[nodiscard]] auto UndefinedColor() const; + [[nodiscard]] auto UndefinedFloatValue() const; + [[nodiscard]] auto UndefinedInt32Value() const; + [[nodiscard]] auto UndefinedFontStretch() const; + [[nodiscard]] auto UndefinedFontStyle() const; }; template <> struct consume { @@ -944,33 +944,33 @@ namespace winrt::impl template struct consume_Windows_UI_Text_ITextDocument { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::CaretType) CaretType() const; - WINRT_IMPL_AUTO(void) CaretType(winrt::Windows::UI::Text::CaretType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) DefaultTabStop() const; - WINRT_IMPL_AUTO(void) DefaultTabStop(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextSelection) Selection() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UndoLimit() const; - WINRT_IMPL_AUTO(void) UndoLimit(uint32_t value) const; - WINRT_IMPL_AUTO(bool) CanCopy() const; - WINRT_IMPL_AUTO(bool) CanPaste() const; - WINRT_IMPL_AUTO(bool) CanRedo() const; - WINRT_IMPL_AUTO(bool) CanUndo() const; - WINRT_IMPL_AUTO(int32_t) ApplyDisplayUpdates() const; - WINRT_IMPL_AUTO(int32_t) BatchDisplayUpdates() const; - WINRT_IMPL_AUTO(void) BeginUndoGroup() const; - WINRT_IMPL_AUTO(void) EndUndoGroup() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextCharacterFormat) GetDefaultCharacterFormat() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextParagraphFormat) GetDefaultParagraphFormat() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextRange) GetRange(int32_t startPosition, int32_t endPosition) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextRange) GetRangeFromPoint(winrt::Windows::Foundation::Point const& point, winrt::Windows::UI::Text::PointOptions const& options) const; - WINRT_IMPL_AUTO(void) GetText(winrt::Windows::UI::Text::TextGetOptions const& options, hstring& value) const; - WINRT_IMPL_AUTO(void) LoadFromStream(winrt::Windows::UI::Text::TextSetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; - WINRT_IMPL_AUTO(void) Redo() const; - WINRT_IMPL_AUTO(void) SaveToStream(winrt::Windows::UI::Text::TextGetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; - WINRT_IMPL_AUTO(void) SetDefaultCharacterFormat(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const; - WINRT_IMPL_AUTO(void) SetDefaultParagraphFormat(winrt::Windows::UI::Text::ITextParagraphFormat const& value) const; - WINRT_IMPL_AUTO(void) SetText(winrt::Windows::UI::Text::TextSetOptions const& options, param::hstring const& value) const; - WINRT_IMPL_AUTO(void) Undo() const; + [[nodiscard]] auto CaretType() const; + auto CaretType(winrt::Windows::UI::Text::CaretType const& value) const; + [[nodiscard]] auto DefaultTabStop() const; + auto DefaultTabStop(float value) const; + [[nodiscard]] auto Selection() const; + [[nodiscard]] auto UndoLimit() const; + auto UndoLimit(uint32_t value) const; + auto CanCopy() const; + auto CanPaste() const; + auto CanRedo() const; + auto CanUndo() const; + auto ApplyDisplayUpdates() const; + auto BatchDisplayUpdates() const; + auto BeginUndoGroup() const; + auto EndUndoGroup() const; + auto GetDefaultCharacterFormat() const; + auto GetDefaultParagraphFormat() const; + auto GetRange(int32_t startPosition, int32_t endPosition) const; + auto GetRangeFromPoint(winrt::Windows::Foundation::Point const& point, winrt::Windows::UI::Text::PointOptions const& options) const; + auto GetText(winrt::Windows::UI::Text::TextGetOptions const& options, hstring& value) const; + auto LoadFromStream(winrt::Windows::UI::Text::TextSetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; + auto Redo() const; + auto SaveToStream(winrt::Windows::UI::Text::TextGetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; + auto SetDefaultCharacterFormat(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const; + auto SetDefaultParagraphFormat(winrt::Windows::UI::Text::ITextParagraphFormat const& value) const; + auto SetText(winrt::Windows::UI::Text::TextSetOptions const& options, param::hstring const& value) const; + auto Undo() const; }; template <> struct consume { @@ -979,10 +979,10 @@ namespace winrt::impl template struct consume_Windows_UI_Text_ITextDocument2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AlignmentIncludesTrailingWhitespace() const; - WINRT_IMPL_AUTO(void) AlignmentIncludesTrailingWhitespace(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IgnoreTrailingCharacterSpacing() const; - WINRT_IMPL_AUTO(void) IgnoreTrailingCharacterSpacing(bool value) const; + [[nodiscard]] auto AlignmentIncludesTrailingWhitespace() const; + auto AlignmentIncludesTrailingWhitespace(bool value) const; + [[nodiscard]] auto IgnoreTrailingCharacterSpacing() const; + auto IgnoreTrailingCharacterSpacing(bool value) const; }; template <> struct consume { @@ -991,7 +991,7 @@ namespace winrt::impl template struct consume_Windows_UI_Text_ITextDocument3 { - WINRT_IMPL_AUTO(void) ClearUndoRedoHistory() const; + auto ClearUndoRedoHistory() const; }; template <> struct consume { @@ -1000,9 +1000,9 @@ namespace winrt::impl template struct consume_Windows_UI_Text_ITextDocument4 { - WINRT_IMPL_AUTO(void) SetMath(param::hstring const& value) const; - WINRT_IMPL_AUTO(void) GetMath(hstring& value) const; - WINRT_IMPL_AUTO(void) SetMathMode(winrt::Windows::UI::Text::RichEditMathMode const& mode) const; + auto SetMath(param::hstring const& value) const; + auto GetMath(hstring& value) const; + auto SetMathMode(winrt::Windows::UI::Text::RichEditMathMode const& mode) const; }; template <> struct consume { @@ -1011,54 +1011,54 @@ namespace winrt::impl template struct consume_Windows_UI_Text_ITextParagraphFormat { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ParagraphAlignment) Alignment() const; - WINRT_IMPL_AUTO(void) Alignment(winrt::Windows::UI::Text::ParagraphAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) FirstLineIndent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) KeepTogether() const; - WINRT_IMPL_AUTO(void) KeepTogether(winrt::Windows::UI::Text::FormatEffect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) KeepWithNext() const; - WINRT_IMPL_AUTO(void) KeepWithNext(winrt::Windows::UI::Text::FormatEffect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) LeftIndent() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) LineSpacing() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::LineSpacingRule) LineSpacingRule() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::MarkerAlignment) ListAlignment() const; - WINRT_IMPL_AUTO(void) ListAlignment(winrt::Windows::UI::Text::MarkerAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ListLevelIndex() const; - WINRT_IMPL_AUTO(void) ListLevelIndex(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ListStart() const; - WINRT_IMPL_AUTO(void) ListStart(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::MarkerStyle) ListStyle() const; - WINRT_IMPL_AUTO(void) ListStyle(winrt::Windows::UI::Text::MarkerStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) ListTab() const; - WINRT_IMPL_AUTO(void) ListTab(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::MarkerType) ListType() const; - WINRT_IMPL_AUTO(void) ListType(winrt::Windows::UI::Text::MarkerType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) NoLineNumber() const; - WINRT_IMPL_AUTO(void) NoLineNumber(winrt::Windows::UI::Text::FormatEffect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) PageBreakBefore() const; - WINRT_IMPL_AUTO(void) PageBreakBefore(winrt::Windows::UI::Text::FormatEffect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RightIndent() const; - WINRT_IMPL_AUTO(void) RightIndent(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) RightToLeft() const; - WINRT_IMPL_AUTO(void) RightToLeft(winrt::Windows::UI::Text::FormatEffect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ParagraphStyle) Style() const; - WINRT_IMPL_AUTO(void) Style(winrt::Windows::UI::Text::ParagraphStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) SpaceAfter() const; - WINRT_IMPL_AUTO(void) SpaceAfter(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) SpaceBefore() const; - WINRT_IMPL_AUTO(void) SpaceBefore(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) WidowControl() const; - WINRT_IMPL_AUTO(void) WidowControl(winrt::Windows::UI::Text::FormatEffect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) TabCount() const; - WINRT_IMPL_AUTO(void) AddTab(float position, winrt::Windows::UI::Text::TabAlignment const& align, winrt::Windows::UI::Text::TabLeader const& leader) const; - WINRT_IMPL_AUTO(void) ClearAllTabs() const; - WINRT_IMPL_AUTO(void) DeleteTab(float position) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextParagraphFormat) GetClone() const; - WINRT_IMPL_AUTO(void) GetTab(int32_t index, float& position, winrt::Windows::UI::Text::TabAlignment& align, winrt::Windows::UI::Text::TabLeader& leader) const; - WINRT_IMPL_AUTO(bool) IsEqual(winrt::Windows::UI::Text::ITextParagraphFormat const& format) const; - WINRT_IMPL_AUTO(void) SetClone(winrt::Windows::UI::Text::ITextParagraphFormat const& format) const; - WINRT_IMPL_AUTO(void) SetIndents(float start, float left, float right) const; - WINRT_IMPL_AUTO(void) SetLineSpacing(winrt::Windows::UI::Text::LineSpacingRule const& rule, float spacing) const; + [[nodiscard]] auto Alignment() const; + auto Alignment(winrt::Windows::UI::Text::ParagraphAlignment const& value) const; + [[nodiscard]] auto FirstLineIndent() const; + [[nodiscard]] auto KeepTogether() const; + auto KeepTogether(winrt::Windows::UI::Text::FormatEffect const& value) const; + [[nodiscard]] auto KeepWithNext() const; + auto KeepWithNext(winrt::Windows::UI::Text::FormatEffect const& value) const; + [[nodiscard]] auto LeftIndent() const; + [[nodiscard]] auto LineSpacing() const; + [[nodiscard]] auto LineSpacingRule() const; + [[nodiscard]] auto ListAlignment() const; + auto ListAlignment(winrt::Windows::UI::Text::MarkerAlignment const& value) const; + [[nodiscard]] auto ListLevelIndex() const; + auto ListLevelIndex(int32_t value) const; + [[nodiscard]] auto ListStart() const; + auto ListStart(int32_t value) const; + [[nodiscard]] auto ListStyle() const; + auto ListStyle(winrt::Windows::UI::Text::MarkerStyle const& value) const; + [[nodiscard]] auto ListTab() const; + auto ListTab(float value) const; + [[nodiscard]] auto ListType() const; + auto ListType(winrt::Windows::UI::Text::MarkerType const& value) const; + [[nodiscard]] auto NoLineNumber() const; + auto NoLineNumber(winrt::Windows::UI::Text::FormatEffect const& value) const; + [[nodiscard]] auto PageBreakBefore() const; + auto PageBreakBefore(winrt::Windows::UI::Text::FormatEffect const& value) const; + [[nodiscard]] auto RightIndent() const; + auto RightIndent(float value) const; + [[nodiscard]] auto RightToLeft() const; + auto RightToLeft(winrt::Windows::UI::Text::FormatEffect const& value) const; + [[nodiscard]] auto Style() const; + auto Style(winrt::Windows::UI::Text::ParagraphStyle const& value) const; + [[nodiscard]] auto SpaceAfter() const; + auto SpaceAfter(float value) const; + [[nodiscard]] auto SpaceBefore() const; + auto SpaceBefore(float value) const; + [[nodiscard]] auto WidowControl() const; + auto WidowControl(winrt::Windows::UI::Text::FormatEffect const& value) const; + [[nodiscard]] auto TabCount() const; + auto AddTab(float position, winrt::Windows::UI::Text::TabAlignment const& align, winrt::Windows::UI::Text::TabLeader const& leader) const; + auto ClearAllTabs() const; + auto DeleteTab(float position) const; + auto GetClone() const; + auto GetTab(int32_t index, float& position, winrt::Windows::UI::Text::TabAlignment& align, winrt::Windows::UI::Text::TabLeader& leader) const; + auto IsEqual(winrt::Windows::UI::Text::ITextParagraphFormat const& format) const; + auto SetClone(winrt::Windows::UI::Text::ITextParagraphFormat const& format) const; + auto SetIndents(float start, float left, float right) const; + auto SetLineSpacing(winrt::Windows::UI::Text::LineSpacingRule const& rule, float spacing) const; }; template <> struct consume { @@ -1067,58 +1067,58 @@ namespace winrt::impl template struct consume_Windows_UI_Text_ITextRange { - [[nodiscard]] WINRT_IMPL_AUTO(char16_t) Character() const; - WINRT_IMPL_AUTO(void) Character(char16_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextCharacterFormat) CharacterFormat() const; - WINRT_IMPL_AUTO(void) CharacterFormat(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextRange) FormattedText() const; - WINRT_IMPL_AUTO(void) FormattedText(winrt::Windows::UI::Text::ITextRange const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) EndPosition() const; - WINRT_IMPL_AUTO(void) EndPosition(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::RangeGravity) Gravity() const; - WINRT_IMPL_AUTO(void) Gravity(winrt::Windows::UI::Text::RangeGravity const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Length() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Link() const; - WINRT_IMPL_AUTO(void) Link(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextParagraphFormat) ParagraphFormat() const; - WINRT_IMPL_AUTO(void) ParagraphFormat(winrt::Windows::UI::Text::ITextParagraphFormat const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) StartPosition() const; - WINRT_IMPL_AUTO(void) StartPosition(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) StoryLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - WINRT_IMPL_AUTO(bool) CanPaste(int32_t format) const; - WINRT_IMPL_AUTO(void) ChangeCase(winrt::Windows::UI::Text::LetterCase const& value) const; - WINRT_IMPL_AUTO(void) Collapse(bool value) const; - WINRT_IMPL_AUTO(void) Copy() const; - WINRT_IMPL_AUTO(void) Cut() const; - WINRT_IMPL_AUTO(int32_t) Delete(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const; - WINRT_IMPL_AUTO(int32_t) EndOf(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const; - WINRT_IMPL_AUTO(int32_t) Expand(winrt::Windows::UI::Text::TextRangeUnit const& unit) const; - WINRT_IMPL_AUTO(int32_t) FindText(param::hstring const& value, int32_t scanLength, winrt::Windows::UI::Text::FindOptions const& options) const; - WINRT_IMPL_AUTO(void) GetCharacterUtf32(uint32_t& value, int32_t offset) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextRange) GetClone() const; - WINRT_IMPL_AUTO(int32_t) GetIndex(winrt::Windows::UI::Text::TextRangeUnit const& unit) const; - WINRT_IMPL_AUTO(void) GetPoint(winrt::Windows::UI::Text::HorizontalCharacterAlignment const& horizontalAlign, winrt::Windows::UI::Text::VerticalCharacterAlignment const& verticalAlign, winrt::Windows::UI::Text::PointOptions const& options, winrt::Windows::Foundation::Point& point) const; - WINRT_IMPL_AUTO(void) GetRect(winrt::Windows::UI::Text::PointOptions const& options, winrt::Windows::Foundation::Rect& rect, int32_t& hit) const; - WINRT_IMPL_AUTO(void) GetText(winrt::Windows::UI::Text::TextGetOptions const& options, hstring& value) const; - WINRT_IMPL_AUTO(void) GetTextViaStream(winrt::Windows::UI::Text::TextGetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; - WINRT_IMPL_AUTO(bool) InRange(winrt::Windows::UI::Text::ITextRange const& range) const; - WINRT_IMPL_AUTO(void) InsertImage(int32_t width, int32_t height, int32_t ascent, winrt::Windows::UI::Text::VerticalCharacterAlignment const& verticalAlign, param::hstring const& alternateText, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; - WINRT_IMPL_AUTO(bool) InStory(winrt::Windows::UI::Text::ITextRange const& range) const; - WINRT_IMPL_AUTO(bool) IsEqual(winrt::Windows::UI::Text::ITextRange const& range) const; - WINRT_IMPL_AUTO(int32_t) Move(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const; - WINRT_IMPL_AUTO(int32_t) MoveEnd(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const; - WINRT_IMPL_AUTO(int32_t) MoveStart(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const; - WINRT_IMPL_AUTO(void) Paste(int32_t format) const; - WINRT_IMPL_AUTO(void) ScrollIntoView(winrt::Windows::UI::Text::PointOptions const& value) const; - WINRT_IMPL_AUTO(void) MatchSelection() const; - WINRT_IMPL_AUTO(void) SetIndex(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t index, bool extend) const; - WINRT_IMPL_AUTO(void) SetPoint(winrt::Windows::Foundation::Point const& point, winrt::Windows::UI::Text::PointOptions const& options, bool extend) const; - WINRT_IMPL_AUTO(void) SetRange(int32_t startPosition, int32_t endPosition) const; - WINRT_IMPL_AUTO(void) SetText(winrt::Windows::UI::Text::TextSetOptions const& options, param::hstring const& value) const; - WINRT_IMPL_AUTO(void) SetTextViaStream(winrt::Windows::UI::Text::TextSetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; - WINRT_IMPL_AUTO(int32_t) StartOf(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const; + [[nodiscard]] auto Character() const; + auto Character(char16_t value) const; + [[nodiscard]] auto CharacterFormat() const; + auto CharacterFormat(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const; + [[nodiscard]] auto FormattedText() const; + auto FormattedText(winrt::Windows::UI::Text::ITextRange const& value) const; + [[nodiscard]] auto EndPosition() const; + auto EndPosition(int32_t value) const; + [[nodiscard]] auto Gravity() const; + auto Gravity(winrt::Windows::UI::Text::RangeGravity const& value) const; + [[nodiscard]] auto Length() const; + [[nodiscard]] auto Link() const; + auto Link(param::hstring const& value) const; + [[nodiscard]] auto ParagraphFormat() const; + auto ParagraphFormat(winrt::Windows::UI::Text::ITextParagraphFormat const& value) const; + [[nodiscard]] auto StartPosition() const; + auto StartPosition(int32_t value) const; + [[nodiscard]] auto StoryLength() const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + auto CanPaste(int32_t format) const; + auto ChangeCase(winrt::Windows::UI::Text::LetterCase const& value) const; + auto Collapse(bool value) const; + auto Copy() const; + auto Cut() const; + auto Delete(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const; + auto EndOf(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const; + auto Expand(winrt::Windows::UI::Text::TextRangeUnit const& unit) const; + auto FindText(param::hstring const& value, int32_t scanLength, winrt::Windows::UI::Text::FindOptions const& options) const; + auto GetCharacterUtf32(uint32_t& value, int32_t offset) const; + auto GetClone() const; + auto GetIndex(winrt::Windows::UI::Text::TextRangeUnit const& unit) const; + auto GetPoint(winrt::Windows::UI::Text::HorizontalCharacterAlignment const& horizontalAlign, winrt::Windows::UI::Text::VerticalCharacterAlignment const& verticalAlign, winrt::Windows::UI::Text::PointOptions const& options, winrt::Windows::Foundation::Point& point) const; + auto GetRect(winrt::Windows::UI::Text::PointOptions const& options, winrt::Windows::Foundation::Rect& rect, int32_t& hit) const; + auto GetText(winrt::Windows::UI::Text::TextGetOptions const& options, hstring& value) const; + auto GetTextViaStream(winrt::Windows::UI::Text::TextGetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; + auto InRange(winrt::Windows::UI::Text::ITextRange const& range) const; + auto InsertImage(int32_t width, int32_t height, int32_t ascent, winrt::Windows::UI::Text::VerticalCharacterAlignment const& verticalAlign, param::hstring const& alternateText, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; + auto InStory(winrt::Windows::UI::Text::ITextRange const& range) const; + auto IsEqual(winrt::Windows::UI::Text::ITextRange const& range) const; + auto Move(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const; + auto MoveEnd(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const; + auto MoveStart(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const; + auto Paste(int32_t format) const; + auto ScrollIntoView(winrt::Windows::UI::Text::PointOptions const& value) const; + auto MatchSelection() const; + auto SetIndex(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t index, bool extend) const; + auto SetPoint(winrt::Windows::Foundation::Point const& point, winrt::Windows::UI::Text::PointOptions const& options, bool extend) const; + auto SetRange(int32_t startPosition, int32_t endPosition) const; + auto SetText(winrt::Windows::UI::Text::TextSetOptions const& options, param::hstring const& value) const; + auto SetTextViaStream(winrt::Windows::UI::Text::TextSetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const; + auto StartOf(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const; }; template <> struct consume { @@ -1127,16 +1127,16 @@ namespace winrt::impl template struct consume_Windows_UI_Text_ITextSelection { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::SelectionOptions) Options() const; - WINRT_IMPL_AUTO(void) Options(winrt::Windows::UI::Text::SelectionOptions const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::SelectionType) Type() const; - WINRT_IMPL_AUTO(int32_t) EndKey(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const; - WINRT_IMPL_AUTO(int32_t) HomeKey(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const; - WINRT_IMPL_AUTO(int32_t) MoveDown(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const; - WINRT_IMPL_AUTO(int32_t) MoveLeft(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const; - WINRT_IMPL_AUTO(int32_t) MoveRight(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const; - WINRT_IMPL_AUTO(int32_t) MoveUp(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const; - WINRT_IMPL_AUTO(void) TypeText(param::hstring const& value) const; + [[nodiscard]] auto Options() const; + auto Options(winrt::Windows::UI::Text::SelectionOptions const& value) const; + [[nodiscard]] auto Type() const; + auto EndKey(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const; + auto HomeKey(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const; + auto MoveDown(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const; + auto MoveLeft(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const; + auto MoveRight(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const; + auto MoveUp(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const; + auto TypeText(param::hstring const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.1.h index c1001360..b3c5ed48 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Text_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.2.h index 926e90bb..1d30ff74 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Text_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.0.h index 3df8b2a5..6a6bd9b9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Text_Core_0_H @@ -7,26 +7,13 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; - template struct __declspec(empty_bases) IReference; struct Rect; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Globalization { struct Language; } -WINRT_EXPORT namespace winrt::Windows::UI::Text -{ - enum class UnderlineType : int32_t; -} -WINRT_EXPORT namespace winrt::Windows::UI::ViewManagement -{ - enum class UIElementType : int32_t; -} WINRT_EXPORT namespace winrt::Windows::UI::Text::Core { enum class CoreTextFormatUpdatingReason : int32_t @@ -491,9 +478,9 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextCompositionCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCanceled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) CompositionSegments() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto IsCanceled() const; + [[nodiscard]] auto CompositionSegments() const; + auto GetDeferral() const; }; template <> struct consume { @@ -502,8 +489,8 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextCompositionSegment { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PreconversionString() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) Range() const; + [[nodiscard]] auto PreconversionString() const; + [[nodiscard]] auto Range() const; }; template <> struct consume { @@ -512,8 +499,8 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextCompositionStartedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCanceled() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto IsCanceled() const; + auto GetDeferral() const; }; template <> struct consume { @@ -522,55 +509,55 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextEditContext { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextInputScope) InputScope() const; - WINRT_IMPL_AUTO(void) InputScope(winrt::Windows::UI::Text::Core::CoreTextInputScope const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadOnly() const; - WINRT_IMPL_AUTO(void) IsReadOnly(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextInputPaneDisplayPolicy) InputPaneDisplayPolicy() const; - WINRT_IMPL_AUTO(void) InputPaneDisplayPolicy(winrt::Windows::UI::Text::Core::CoreTextInputPaneDisplayPolicy const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) TextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto InputScope() const; + auto InputScope(winrt::Windows::UI::Text::Core::CoreTextInputScope const& value) const; + [[nodiscard]] auto IsReadOnly() const; + auto IsReadOnly(bool value) const; + [[nodiscard]] auto InputPaneDisplayPolicy() const; + auto InputPaneDisplayPolicy(winrt::Windows::UI::Text::Core::CoreTextInputPaneDisplayPolicy const& value) const; + auto TextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TextRequested_revoker = impl::event_revoker::remove_TextRequested>; - [[nodiscard]] TextRequested_revoker TextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TextRequested(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SelectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextRequested(winrt::event_token const& cookie) const noexcept; + auto SelectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SelectionRequested_revoker = impl::event_revoker::remove_SelectionRequested>; - [[nodiscard]] SelectionRequested_revoker SelectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SelectionRequested(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LayoutRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SelectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SelectionRequested(winrt::event_token const& cookie) const noexcept; + auto LayoutRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LayoutRequested_revoker = impl::event_revoker::remove_LayoutRequested>; - [[nodiscard]] LayoutRequested_revoker LayoutRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LayoutRequested(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TextUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto LayoutRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LayoutRequested(winrt::event_token const& cookie) const noexcept; + auto TextUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TextUpdating_revoker = impl::event_revoker::remove_TextUpdating>; - [[nodiscard]] TextUpdating_revoker TextUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TextUpdating(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SelectionUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TextUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextUpdating(winrt::event_token const& cookie) const noexcept; + auto SelectionUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SelectionUpdating_revoker = impl::event_revoker::remove_SelectionUpdating>; - [[nodiscard]] SelectionUpdating_revoker SelectionUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SelectionUpdating(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) FormatUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SelectionUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SelectionUpdating(winrt::event_token const& cookie) const noexcept; + auto FormatUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FormatUpdating_revoker = impl::event_revoker::remove_FormatUpdating>; - [[nodiscard]] FormatUpdating_revoker FormatUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FormatUpdating(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CompositionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto FormatUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FormatUpdating(winrt::event_token const& cookie) const noexcept; + auto CompositionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CompositionStarted_revoker = impl::event_revoker::remove_CompositionStarted>; - [[nodiscard]] CompositionStarted_revoker CompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CompositionStarted(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CompositionCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CompositionStarted(winrt::event_token const& cookie) const noexcept; + auto CompositionCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CompositionCompleted_revoker = impl::event_revoker::remove_CompositionCompleted>; - [[nodiscard]] CompositionCompleted_revoker CompositionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CompositionCompleted(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) FocusRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CompositionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CompositionCompleted(winrt::event_token const& cookie) const noexcept; + auto FocusRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FocusRemoved_revoker = impl::event_revoker::remove_FocusRemoved>; - [[nodiscard]] FocusRemoved_revoker FocusRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FocusRemoved(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(void) NotifyFocusEnter() const; - WINRT_IMPL_AUTO(void) NotifyFocusLeave() const; - WINRT_IMPL_AUTO(void) NotifyTextChanged(winrt::Windows::UI::Text::Core::CoreTextRange const& modifiedRange, int32_t newLength, winrt::Windows::UI::Text::Core::CoreTextRange const& newSelection) const; - WINRT_IMPL_AUTO(void) NotifySelectionChanged(winrt::Windows::UI::Text::Core::CoreTextRange const& selection) const; - WINRT_IMPL_AUTO(void) NotifyLayoutChanged() const; + [[nodiscard]] auto FocusRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FocusRemoved(winrt::event_token const& cookie) const noexcept; + auto NotifyFocusEnter() const; + auto NotifyFocusLeave() const; + auto NotifyTextChanged(winrt::Windows::UI::Text::Core::CoreTextRange const& modifiedRange, int32_t newLength, winrt::Windows::UI::Text::Core::CoreTextRange const& newSelection) const; + auto NotifySelectionChanged(winrt::Windows::UI::Text::Core::CoreTextRange const& selection) const; + auto NotifyLayoutChanged() const; }; template <> struct consume { @@ -579,10 +566,10 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextEditContext2 { - WINRT_IMPL_AUTO(winrt::event_token) NotifyFocusLeaveCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NotifyFocusLeaveCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NotifyFocusLeaveCompleted_revoker = impl::event_revoker::remove_NotifyFocusLeaveCompleted>; - [[nodiscard]] NotifyFocusLeaveCompleted_revoker NotifyFocusLeaveCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NotifyFocusLeaveCompleted(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto NotifyFocusLeaveCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NotifyFocusLeaveCompleted(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -591,16 +578,16 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) Range() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TextColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BackgroundColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) UnderlineColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) UnderlineType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingReason) Reason() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingResult) Result() const; - WINRT_IMPL_AUTO(void) Result(winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingResult const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCanceled() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Range() const; + [[nodiscard]] auto TextColor() const; + [[nodiscard]] auto BackgroundColor() const; + [[nodiscard]] auto UnderlineColor() const; + [[nodiscard]] auto UnderlineType() const; + [[nodiscard]] auto Reason() const; + [[nodiscard]] auto Result() const; + auto Result(winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingResult const& value) const; + [[nodiscard]] auto IsCanceled() const; + auto GetDeferral() const; }; template <> struct consume { @@ -609,10 +596,10 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextLayoutBounds { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) TextBounds() const; - WINRT_IMPL_AUTO(void) TextBounds(winrt::Windows::Foundation::Rect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) ControlBounds() const; - WINRT_IMPL_AUTO(void) ControlBounds(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto TextBounds() const; + auto TextBounds(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto ControlBounds() const; + auto ControlBounds(winrt::Windows::Foundation::Rect const& value) const; }; template <> struct consume { @@ -621,10 +608,10 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextLayoutRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) Range() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextLayoutBounds) LayoutBounds() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCanceled() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Range() const; + [[nodiscard]] auto LayoutBounds() const; + [[nodiscard]] auto IsCanceled() const; + auto GetDeferral() const; }; template <> struct consume { @@ -633,7 +620,7 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextLayoutRequest2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextLayoutBounds) LayoutBoundsVisualPixels() const; + [[nodiscard]] auto LayoutBoundsVisualPixels() const; }; template <> struct consume { @@ -642,7 +629,7 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextLayoutRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextLayoutRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -651,10 +638,10 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextSelectionRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) Selection() const; - WINRT_IMPL_AUTO(void) Selection(winrt::Windows::UI::Text::Core::CoreTextRange const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCanceled() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Selection() const; + auto Selection(winrt::Windows::UI::Text::Core::CoreTextRange const& value) const; + [[nodiscard]] auto IsCanceled() const; + auto GetDeferral() const; }; template <> struct consume { @@ -663,7 +650,7 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextSelectionRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextSelectionRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -672,11 +659,11 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) Selection() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingResult) Result() const; - WINRT_IMPL_AUTO(void) Result(winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingResult const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCanceled() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Selection() const; + [[nodiscard]] auto Result() const; + auto Result(winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingResult const& value) const; + [[nodiscard]] auto IsCanceled() const; + auto GetDeferral() const; }; template <> struct consume { @@ -685,12 +672,12 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextServicesManager { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) InputLanguage() const; - WINRT_IMPL_AUTO(winrt::event_token) InputLanguageChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto InputLanguage() const; + auto InputLanguageChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using InputLanguageChanged_revoker = impl::event_revoker::remove_InputLanguageChanged>; - [[nodiscard]] InputLanguageChanged_revoker InputLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) InputLanguageChanged(winrt::event_token const& cookie) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextEditContext) CreateEditContext() const; + [[nodiscard]] auto InputLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto InputLanguageChanged(winrt::event_token const& cookie) const noexcept; + auto CreateEditContext() const; }; template <> struct consume { @@ -699,7 +686,7 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextServicesManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextServicesManager) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -708,7 +695,7 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextServicesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(char16_t) HiddenCharacter() const; + [[nodiscard]] auto HiddenCharacter() const; }; template <> struct consume { @@ -717,11 +704,11 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextTextRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) Range() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCanceled() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Range() const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto IsCanceled() const; + auto GetDeferral() const; }; template <> struct consume { @@ -730,7 +717,7 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextTextRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextTextRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -739,14 +726,14 @@ namespace winrt::impl template struct consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) Range() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) NewSelection() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) InputLanguage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextTextUpdatingResult) Result() const; - WINRT_IMPL_AUTO(void) Result(winrt::Windows::UI::Text::Core::CoreTextTextUpdatingResult const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCanceled() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Range() const; + [[nodiscard]] auto Text() const; + [[nodiscard]] auto NewSelection() const; + [[nodiscard]] auto InputLanguage() const; + [[nodiscard]] auto Result() const; + auto Result(winrt::Windows::UI::Text::Core::CoreTextTextUpdatingResult const& value) const; + [[nodiscard]] auto IsCanceled() const; + auto GetDeferral() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.1.h index 27f7fff9..174efeae 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Text_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.2.h index a5107061..8e1c07f1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Text_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.0.h index 72ff367b..f4ff84d7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_UIAutomation_0_H @@ -42,9 +42,9 @@ namespace winrt::impl template struct consume_Windows_UI_UIAutomation_IAutomationElement { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRemoteSystem() const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppUserModelId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExecutableFileName() const; + [[nodiscard]] auto IsRemoteSystem() const noexcept; + [[nodiscard]] auto AppUserModelId() const; + [[nodiscard]] auto ExecutableFileName() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.1.h index f9c34a6a..0432a387 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_UIAutomation_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.2.h index 1dd15e65..211dcdee 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_UIAutomation_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.0.h index f4c19314..2a642e36 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_UIAutomation_Core_0_H @@ -71,11 +71,11 @@ namespace winrt::impl template struct consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ErrorLocation() const; - WINRT_IMPL_AUTO(bool) HasOperand(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetOperand(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId) const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto ErrorLocation() const; + auto HasOperand(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId) const; + auto GetOperand(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId) const; }; template <> struct consume { @@ -84,11 +84,11 @@ namespace winrt::impl template struct consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation { - WINRT_IMPL_AUTO(bool) IsOpcodeSupported(uint32_t opcode) const; - WINRT_IMPL_AUTO(void) ImportElement(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId, winrt::Windows::UI::UIAutomation::AutomationElement const& element) const; - WINRT_IMPL_AUTO(void) ImportTextRange(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId, winrt::Windows::UI::UIAutomation::AutomationTextRange const& textRange) const; - WINRT_IMPL_AUTO(void) AddToResults(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationResult) Execute(array_view bytecodeBuffer) const; + auto IsOpcodeSupported(uint32_t opcode) const; + auto ImportElement(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId, winrt::Windows::UI::UIAutomation::AutomationElement const& element) const; + auto ImportTextRange(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId, winrt::Windows::UI::UIAutomation::AutomationTextRange const& textRange) const; + auto AddToResults(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId) const; + auto Execute(array_view bytecodeBuffer) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.1.h index 92ea1f6a..656b3a9e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_UIAutomation_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.2.h index 39152670..a40c375f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_UIAutomation_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.0.h index b7303117..caac6cef 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_ViewManagement_0_H @@ -12,16 +12,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; struct Rect; struct Size; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::UI { struct Color; @@ -37,7 +32,6 @@ WINRT_EXPORT namespace winrt::Windows::UI::Popups } WINRT_EXPORT namespace winrt::Windows::UI::WindowManagement { - struct DisplayRegion; struct WindowingEnvironment; } WINRT_EXPORT namespace winrt::Windows::UI::ViewManagement @@ -920,12 +914,12 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IAccessibilitySettings { - [[nodiscard]] WINRT_IMPL_AUTO(bool) HighContrast() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HighContrastScheme() const; - WINRT_IMPL_AUTO(winrt::event_token) HighContrastChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto HighContrast() const; + [[nodiscard]] auto HighContrastScheme() const; + auto HighContrastChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using HighContrastChanged_revoker = impl::event_revoker::remove_HighContrastChanged>; - [[nodiscard]] HighContrastChanged_revoker HighContrastChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) HighContrastChanged(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto HighContrastChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto HighContrastChanged(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -934,9 +928,9 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IActivationViewSwitcher { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowAsStandaloneAsync(int32_t viewId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowAsStandaloneAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& sizePreference) const; - WINRT_IMPL_AUTO(bool) IsViewPresentedOnActivationVirtualDesktop(int32_t viewId) const; + auto ShowAsStandaloneAsync(int32_t viewId) const; + auto ShowAsStandaloneAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& sizePreference) const; + auto IsViewPresentedOnActivationVirtualDesktop(int32_t viewId) const; }; template <> struct consume { @@ -945,20 +939,20 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationView { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewOrientation) Orientation() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AdjacentToLeftDisplayEdge() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AdjacentToRightDisplayEdge() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFullScreen() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOnLockScreen() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsScreenCaptureEnabled() const; - WINRT_IMPL_AUTO(void) IsScreenCaptureEnabled(bool value) const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Id() const; - WINRT_IMPL_AUTO(winrt::event_token) Consolidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Orientation() const; + [[nodiscard]] auto AdjacentToLeftDisplayEdge() const; + [[nodiscard]] auto AdjacentToRightDisplayEdge() const; + [[nodiscard]] auto IsFullScreen() const; + [[nodiscard]] auto IsOnLockScreen() const; + [[nodiscard]] auto IsScreenCaptureEnabled() const; + auto IsScreenCaptureEnabled(bool value) const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Id() const; + auto Consolidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Consolidated_revoker = impl::event_revoker::remove_Consolidated>; - [[nodiscard]] Consolidated_revoker Consolidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Consolidated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Consolidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Consolidated(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -967,15 +961,15 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationView2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) SuppressSystemOverlays() const; - WINRT_IMPL_AUTO(void) SuppressSystemOverlays(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) VisibleBounds() const; - WINRT_IMPL_AUTO(winrt::event_token) VisibleBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SuppressSystemOverlays() const; + auto SuppressSystemOverlays(bool value) const; + [[nodiscard]] auto VisibleBounds() const; + auto VisibleBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using VisibleBoundsChanged_revoker = impl::event_revoker::remove_VisibleBoundsChanged>; - [[nodiscard]] VisibleBoundsChanged_revoker VisibleBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VisibleBoundsChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(bool) SetDesiredBoundsMode(winrt::Windows::UI::ViewManagement::ApplicationViewBoundsMode const& boundsMode) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewBoundsMode) DesiredBoundsMode() const; + [[nodiscard]] auto VisibleBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto VisibleBoundsChanged(winrt::event_token const& token) const noexcept; + auto SetDesiredBoundsMode(winrt::Windows::UI::ViewManagement::ApplicationViewBoundsMode const& boundsMode) const; + [[nodiscard]] auto DesiredBoundsMode() const; }; template <> struct consume { @@ -984,15 +978,15 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationView3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewTitleBar) TitleBar() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::FullScreenSystemOverlayMode) FullScreenSystemOverlayMode() const; - WINRT_IMPL_AUTO(void) FullScreenSystemOverlayMode(winrt::Windows::UI::ViewManagement::FullScreenSystemOverlayMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFullScreenMode() const; - WINRT_IMPL_AUTO(bool) TryEnterFullScreenMode() const; - WINRT_IMPL_AUTO(void) ExitFullScreenMode() const; - WINRT_IMPL_AUTO(void) ShowStandardSystemOverlays() const; - WINRT_IMPL_AUTO(bool) TryResizeView(winrt::Windows::Foundation::Size const& value) const; - WINRT_IMPL_AUTO(void) SetPreferredMinSize(winrt::Windows::Foundation::Size const& minSize) const; + [[nodiscard]] auto TitleBar() const; + [[nodiscard]] auto FullScreenSystemOverlayMode() const; + auto FullScreenSystemOverlayMode(winrt::Windows::UI::ViewManagement::FullScreenSystemOverlayMode const& value) const; + [[nodiscard]] auto IsFullScreenMode() const; + auto TryEnterFullScreenMode() const; + auto ExitFullScreenMode() const; + auto ShowStandardSystemOverlays() const; + auto TryResizeView(winrt::Windows::Foundation::Size const& value) const; + auto SetPreferredMinSize(winrt::Windows::Foundation::Size const& minSize) const; }; template <> struct consume { @@ -1001,11 +995,11 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationView4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewMode) ViewMode() const; - WINRT_IMPL_AUTO(bool) IsViewModeSupported(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryEnterViewModeAsync(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryEnterViewModeAsync(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode, winrt::Windows::UI::ViewManagement::ViewModePreferences const& viewModePreferences) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryConsolidateAsync() const; + [[nodiscard]] auto ViewMode() const; + auto IsViewModeSupported(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const; + auto TryEnterViewModeAsync(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const; + auto TryEnterViewModeAsync(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode, winrt::Windows::UI::ViewManagement::ViewModePreferences const& viewModePreferences) const; + auto TryConsolidateAsync() const; }; template <> struct consume { @@ -1014,8 +1008,8 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationView7 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PersistedStateId() const; - WINRT_IMPL_AUTO(void) PersistedStateId(param::hstring const& value) const; + [[nodiscard]] auto PersistedStateId() const; + auto PersistedStateId(param::hstring const& value) const; }; template <> struct consume { @@ -1024,8 +1018,8 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationView9 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) WindowingEnvironment() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetDisplayRegions() const; + [[nodiscard]] auto WindowingEnvironment() const; + auto GetDisplayRegions() const; }; template <> struct consume { @@ -1034,7 +1028,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationViewConsolidatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsUserInitiated() const; + [[nodiscard]] auto IsUserInitiated() const; }; template <> struct consume { @@ -1043,7 +1037,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationViewConsolidatedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAppInitiated() const; + [[nodiscard]] auto IsAppInitiated() const; }; template <> struct consume { @@ -1052,7 +1046,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationViewFullscreenStatics { - WINRT_IMPL_AUTO(bool) TryUnsnapToFullscreen() const; + auto TryUnsnapToFullscreen() const; }; template <> struct consume { @@ -1061,7 +1055,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationViewInteropStatics { - WINRT_IMPL_AUTO(int32_t) GetApplicationViewIdForWindow(winrt::Windows::UI::Core::ICoreWindow const& window) const; + auto GetApplicationViewIdForWindow(winrt::Windows::UI::Core::ICoreWindow const& window) const; }; template <> struct consume { @@ -1078,8 +1072,8 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationViewScalingStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) DisableLayoutScaling() const; - WINRT_IMPL_AUTO(bool) TrySetDisableLayoutScaling(bool disableLayoutScaling) const; + [[nodiscard]] auto DisableLayoutScaling() const; + auto TrySetDisableLayoutScaling(bool disableLayoutScaling) const; }; template <> struct consume { @@ -1088,8 +1082,8 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationViewStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewState) Value() const; - WINRT_IMPL_AUTO(bool) TryUnsnap() const; + [[nodiscard]] auto Value() const; + auto TryUnsnap() const; }; template <> struct consume { @@ -1098,9 +1092,9 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationViewStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationView) GetForCurrentView() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) TerminateAppOnFinalViewClose() const; - WINRT_IMPL_AUTO(void) TerminateAppOnFinalViewClose(bool value) const; + auto GetForCurrentView() const; + [[nodiscard]] auto TerminateAppOnFinalViewClose() const; + auto TerminateAppOnFinalViewClose(bool value) const; }; template <> struct consume { @@ -1109,10 +1103,10 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationViewStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewWindowingMode) PreferredLaunchWindowingMode() const; - WINRT_IMPL_AUTO(void) PreferredLaunchWindowingMode(winrt::Windows::UI::ViewManagement::ApplicationViewWindowingMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) PreferredLaunchViewSize() const; - WINRT_IMPL_AUTO(void) PreferredLaunchViewSize(winrt::Windows::Foundation::Size const& value) const; + [[nodiscard]] auto PreferredLaunchWindowingMode() const; + auto PreferredLaunchWindowingMode(winrt::Windows::UI::ViewManagement::ApplicationViewWindowingMode const& value) const; + [[nodiscard]] auto PreferredLaunchViewSize() const; + auto PreferredLaunchViewSize(winrt::Windows::Foundation::Size const& value) const; }; template <> struct consume { @@ -1121,8 +1115,8 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationViewStatics4 { - WINRT_IMPL_AUTO(void) ClearAllPersistedState() const; - WINRT_IMPL_AUTO(void) ClearPersistedState(param::hstring const& key) const; + auto ClearAllPersistedState() const; + auto ClearPersistedState(param::hstring const& key) const; }; template <> struct consume { @@ -1131,14 +1125,14 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics { - WINRT_IMPL_AUTO(void) DisableShowingMainViewOnActivation() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryShowAsStandaloneAsync(int32_t viewId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryShowAsStandaloneAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& sizePreference) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryShowAsStandaloneAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& sizePreference, int32_t anchorViewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& anchorSizePreference) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SwitchAsync(int32_t viewId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SwitchAsync(int32_t toViewId, int32_t fromViewId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SwitchAsync(int32_t toViewId, int32_t fromViewId, winrt::Windows::UI::ViewManagement::ApplicationViewSwitchingOptions const& options) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PrepareForCustomAnimatedSwitchAsync(int32_t toViewId, int32_t fromViewId, winrt::Windows::UI::ViewManagement::ApplicationViewSwitchingOptions const& options) const; + auto DisableShowingMainViewOnActivation() const; + auto TryShowAsStandaloneAsync(int32_t viewId) const; + auto TryShowAsStandaloneAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& sizePreference) const; + auto TryShowAsStandaloneAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& sizePreference, int32_t anchorViewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& anchorSizePreference) const; + auto SwitchAsync(int32_t viewId) const; + auto SwitchAsync(int32_t toViewId, int32_t fromViewId) const; + auto SwitchAsync(int32_t toViewId, int32_t fromViewId, winrt::Windows::UI::ViewManagement::ApplicationViewSwitchingOptions const& options) const; + auto PrepareForCustomAnimatedSwitchAsync(int32_t toViewId, int32_t fromViewId, winrt::Windows::UI::ViewManagement::ApplicationViewSwitchingOptions const& options) const; }; template <> struct consume { @@ -1147,7 +1141,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics2 { - WINRT_IMPL_AUTO(void) DisableSystemViewActivationPolicy() const; + auto DisableSystemViewActivationPolicy() const; }; template <> struct consume { @@ -1156,8 +1150,8 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryShowAsViewModeAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryShowAsViewModeAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode, winrt::Windows::UI::ViewManagement::ViewModePreferences const& viewModePreferences) const; + auto TryShowAsViewModeAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const; + auto TryShowAsViewModeAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode, winrt::Windows::UI::ViewManagement::ViewModePreferences const& viewModePreferences) const; }; template <> struct consume { @@ -1166,30 +1160,30 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationViewTitleBar { - WINRT_IMPL_AUTO(void) ForegroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ForegroundColor() const; - WINRT_IMPL_AUTO(void) BackgroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BackgroundColor() const; - WINRT_IMPL_AUTO(void) ButtonForegroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ButtonForegroundColor() const; - WINRT_IMPL_AUTO(void) ButtonBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ButtonBackgroundColor() const; - WINRT_IMPL_AUTO(void) ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ButtonHoverForegroundColor() const; - WINRT_IMPL_AUTO(void) ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ButtonHoverBackgroundColor() const; - WINRT_IMPL_AUTO(void) ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ButtonPressedForegroundColor() const; - WINRT_IMPL_AUTO(void) ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ButtonPressedBackgroundColor() const; - WINRT_IMPL_AUTO(void) InactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InactiveForegroundColor() const; - WINRT_IMPL_AUTO(void) InactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InactiveBackgroundColor() const; - WINRT_IMPL_AUTO(void) ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ButtonInactiveForegroundColor() const; - WINRT_IMPL_AUTO(void) ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ButtonInactiveBackgroundColor() const; + auto ForegroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ForegroundColor() const; + auto BackgroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto BackgroundColor() const; + auto ButtonForegroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ButtonForegroundColor() const; + auto ButtonBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ButtonBackgroundColor() const; + auto ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ButtonHoverForegroundColor() const; + auto ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ButtonHoverBackgroundColor() const; + auto ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ButtonPressedForegroundColor() const; + auto ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ButtonPressedBackgroundColor() const; + auto InactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto InactiveForegroundColor() const; + auto InactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto InactiveBackgroundColor() const; + auto ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ButtonInactiveForegroundColor() const; + auto ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ButtonInactiveBackgroundColor() const; }; template <> struct consume { @@ -1198,8 +1192,8 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationViewTransferContext { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ViewId() const; - WINRT_IMPL_AUTO(void) ViewId(int32_t value) const; + [[nodiscard]] auto ViewId() const; + auto ViewId(int32_t value) const; }; template <> struct consume { @@ -1208,7 +1202,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationViewTransferContextStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DataPackageFormatId() const; + [[nodiscard]] auto DataPackageFormatId() const; }; template <> struct consume { @@ -1217,7 +1211,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IApplicationViewWithContext { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) UIContext() const; + [[nodiscard]] auto UIContext() const; }; template <> struct consume { @@ -1226,15 +1220,15 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IInputPane { - WINRT_IMPL_AUTO(winrt::event_token) Showing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Showing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Showing_revoker = impl::event_revoker::remove_Showing>; - [[nodiscard]] Showing_revoker Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Showing(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Hiding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Showing(winrt::event_token const& token) const noexcept; + auto Hiding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Hiding_revoker = impl::event_revoker::remove_Hiding>; - [[nodiscard]] Hiding_revoker Hiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Hiding(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) OccludedRect() const; + [[nodiscard]] auto Hiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Hiding(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto OccludedRect() const; }; template <> struct consume { @@ -1243,8 +1237,8 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IInputPane2 { - WINRT_IMPL_AUTO(bool) TryShow() const; - WINRT_IMPL_AUTO(bool) TryHide() const; + auto TryShow() const; + auto TryHide() const; }; template <> struct consume { @@ -1253,8 +1247,8 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IInputPaneControl { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Visible() const; - WINRT_IMPL_AUTO(void) Visible(bool value) const; + [[nodiscard]] auto Visible() const; + auto Visible(bool value) const; }; template <> struct consume { @@ -1263,7 +1257,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IInputPaneStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::InputPane) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -1272,7 +1266,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IInputPaneStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::InputPane) GetForUIContext(winrt::Windows::UI::UIContext const& context) const; + auto GetForUIContext(winrt::Windows::UI::UIContext const& context) const; }; template <> struct consume { @@ -1281,9 +1275,9 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IInputPaneVisibilityEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) OccludedRect() const; - WINRT_IMPL_AUTO(void) EnsuredFocusedElementInView(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) EnsuredFocusedElementInView() const; + [[nodiscard]] auto OccludedRect() const; + auto EnsuredFocusedElementInView(bool value) const; + [[nodiscard]] auto EnsuredFocusedElementInView() const; }; template <> struct consume { @@ -1292,14 +1286,14 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IProjectionManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SwapDisplaysForViewsAsync(int32_t projectionViewId, int32_t anchorViewId) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StopProjectingAsync(int32_t projectionViewId, int32_t anchorViewId) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ProjectionDisplayAvailable() const; - WINRT_IMPL_AUTO(winrt::event_token) ProjectionDisplayAvailableChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + auto StartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId) const; + auto SwapDisplaysForViewsAsync(int32_t projectionViewId, int32_t anchorViewId) const; + auto StopProjectingAsync(int32_t projectionViewId, int32_t anchorViewId) const; + [[nodiscard]] auto ProjectionDisplayAvailable() const; + auto ProjectionDisplayAvailableChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using ProjectionDisplayAvailableChanged_revoker = impl::event_revoker::remove_ProjectionDisplayAvailableChanged>; - [[nodiscard]] ProjectionDisplayAvailableChanged_revoker ProjectionDisplayAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ProjectionDisplayAvailableChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ProjectionDisplayAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ProjectionDisplayAvailableChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1308,10 +1302,10 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IProjectionManagerStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Devices::Enumeration::DeviceInformation const& displayDeviceInfo) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Foundation::Rect const& selection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestStartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& prefferedPlacement) const; - WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const; + auto StartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Devices::Enumeration::DeviceInformation const& displayDeviceInfo) const; + auto RequestStartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Foundation::Rect const& selection) const; + auto RequestStartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& prefferedPlacement) const; + auto GetDeviceSelector() const; }; template <> struct consume { @@ -1320,24 +1314,24 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IStatusBar { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) HideAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) BackgroundOpacity() const; - WINRT_IMPL_AUTO(void) BackgroundOpacity(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ForegroundColor() const; - WINRT_IMPL_AUTO(void) ForegroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BackgroundColor() const; - WINRT_IMPL_AUTO(void) BackgroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::StatusBarProgressIndicator) ProgressIndicator() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) OccludedRect() const; - WINRT_IMPL_AUTO(winrt::event_token) Showing(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto ShowAsync() const; + auto HideAsync() const; + [[nodiscard]] auto BackgroundOpacity() const; + auto BackgroundOpacity(double value) const; + [[nodiscard]] auto ForegroundColor() const; + auto ForegroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto BackgroundColor() const; + auto BackgroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ProgressIndicator() const; + [[nodiscard]] auto OccludedRect() const; + auto Showing(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using Showing_revoker = impl::event_revoker::remove_Showing>; - [[nodiscard]] Showing_revoker Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) Showing(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Hiding(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] auto Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Showing(winrt::event_token const& token) const noexcept; + auto Hiding(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; using Hiding_revoker = impl::event_revoker::remove_Hiding>; - [[nodiscard]] Hiding_revoker Hiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) Hiding(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Hiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + auto Hiding(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1346,12 +1340,12 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ShowAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) HideAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ProgressValue() const; - WINRT_IMPL_AUTO(void) ProgressValue(winrt::Windows::Foundation::IReference const& value) const; + auto ShowAsync() const; + auto HideAsync() const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto ProgressValue() const; + auto ProgressValue(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -1360,7 +1354,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IStatusBarStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::StatusBar) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -1369,19 +1363,19 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IUISettings { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::HandPreference) HandPreference() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) CursorSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) ScrollBarSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) ScrollBarArrowSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) ScrollBarThumbBoxSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MessageDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AnimationsEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CaretBrowsingEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CaretBlinkRate() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CaretWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DoubleClickTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MouseHoverTime() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Color) UIElementColor(winrt::Windows::UI::ViewManagement::UIElementType const& desiredElement) const; + [[nodiscard]] auto HandPreference() const; + [[nodiscard]] auto CursorSize() const; + [[nodiscard]] auto ScrollBarSize() const; + [[nodiscard]] auto ScrollBarArrowSize() const; + [[nodiscard]] auto ScrollBarThumbBoxSize() const; + [[nodiscard]] auto MessageDuration() const; + [[nodiscard]] auto AnimationsEnabled() const; + [[nodiscard]] auto CaretBrowsingEnabled() const; + [[nodiscard]] auto CaretBlinkRate() const; + [[nodiscard]] auto CaretWidth() const; + [[nodiscard]] auto DoubleClickTime() const; + [[nodiscard]] auto MouseHoverTime() const; + auto UIElementColor(winrt::Windows::UI::ViewManagement::UIElementType const& desiredElement) const; }; template <> struct consume { @@ -1390,11 +1384,11 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IUISettings2 { - [[nodiscard]] WINRT_IMPL_AUTO(double) TextScaleFactor() const; - WINRT_IMPL_AUTO(winrt::event_token) TextScaleFactorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TextScaleFactor() const; + auto TextScaleFactorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TextScaleFactorChanged_revoker = impl::event_revoker::remove_TextScaleFactorChanged>; - [[nodiscard]] TextScaleFactorChanged_revoker TextScaleFactorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TextScaleFactorChanged(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto TextScaleFactorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextScaleFactorChanged(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -1403,11 +1397,11 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IUISettings3 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Color) GetColorValue(winrt::Windows::UI::ViewManagement::UIColorType const& desiredColor) const; - WINRT_IMPL_AUTO(winrt::event_token) ColorValuesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GetColorValue(winrt::Windows::UI::ViewManagement::UIColorType const& desiredColor) const; + auto ColorValuesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ColorValuesChanged_revoker = impl::event_revoker::remove_ColorValuesChanged>; - [[nodiscard]] ColorValuesChanged_revoker ColorValuesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ColorValuesChanged(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto ColorValuesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ColorValuesChanged(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -1416,11 +1410,11 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IUISettings4 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AdvancedEffectsEnabled() const; - WINRT_IMPL_AUTO(winrt::event_token) AdvancedEffectsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AdvancedEffectsEnabled() const; + auto AdvancedEffectsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AdvancedEffectsEnabledChanged_revoker = impl::event_revoker::remove_AdvancedEffectsEnabledChanged>; - [[nodiscard]] AdvancedEffectsEnabledChanged_revoker AdvancedEffectsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AdvancedEffectsEnabledChanged(winrt::event_token const& cookie) const noexcept; + [[nodiscard]] auto AdvancedEffectsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AdvancedEffectsEnabledChanged(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { @@ -1429,11 +1423,11 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IUISettings5 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoHideScrollBars() const; - WINRT_IMPL_AUTO(winrt::event_token) AutoHideScrollBarsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AutoHideScrollBars() const; + auto AutoHideScrollBarsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AutoHideScrollBarsChanged_revoker = impl::event_revoker::remove_AutoHideScrollBarsChanged>; - [[nodiscard]] AutoHideScrollBarsChanged_revoker AutoHideScrollBarsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AutoHideScrollBarsChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AutoHideScrollBarsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AutoHideScrollBarsChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1442,14 +1436,14 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IUISettings6 { - WINRT_IMPL_AUTO(winrt::event_token) AnimationsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AnimationsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AnimationsEnabledChanged_revoker = impl::event_revoker::remove_AnimationsEnabledChanged>; - [[nodiscard]] AnimationsEnabledChanged_revoker AnimationsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AnimationsEnabledChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MessageDurationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AnimationsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AnimationsEnabledChanged(winrt::event_token const& token) const noexcept; + auto MessageDurationChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MessageDurationChanged_revoker = impl::event_revoker::remove_MessageDurationChanged>; - [[nodiscard]] MessageDurationChanged_revoker MessageDurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MessageDurationChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto MessageDurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MessageDurationChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1482,7 +1476,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IUIViewSettings { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::UserInteractionMode) UserInteractionMode() const; + [[nodiscard]] auto UserInteractionMode() const; }; template <> struct consume { @@ -1491,7 +1485,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IUIViewSettingsStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::UIViewSettings) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -1500,10 +1494,10 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IViewModePreferences { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ViewSizePreference) ViewSizePreference() const; - WINRT_IMPL_AUTO(void) ViewSizePreference(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) CustomSize() const; - WINRT_IMPL_AUTO(void) CustomSize(winrt::Windows::Foundation::Size const& value) const; + [[nodiscard]] auto ViewSizePreference() const; + auto ViewSizePreference(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const; + [[nodiscard]] auto CustomSize() const; + auto CustomSize(winrt::Windows::Foundation::Size const& value) const; }; template <> struct consume { @@ -1512,7 +1506,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_IViewModePreferencesStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ViewModePreferences) CreateDefault(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& mode) const; + auto CreateDefault(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& mode) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.1.h index e23d22e6..84b66d5f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_ViewManagement_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.2.h index b5e30d4b..c3919724 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_ViewManagement_2_H @@ -103,7 +103,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::ViewManagement [[nodiscard]] static auto ProjectionDisplayAvailable(); static auto ProjectionDisplayAvailableChanged(winrt::Windows::Foundation::EventHandler const& handler); using ProjectionDisplayAvailableChanged_revoker = impl::factory_event_revoker::remove_ProjectionDisplayAvailableChanged>; - [[nodiscard]] static ProjectionDisplayAvailableChanged_revoker ProjectionDisplayAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto ProjectionDisplayAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto ProjectionDisplayAvailableChanged(winrt::event_token const& token); static auto StartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Devices::Enumeration::DeviceInformation const& displayDeviceInfo); static auto RequestStartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Foundation::Rect const& selection); diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.0.h index 2fe7debf..4a9994df 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_ViewManagement_Core_0_H @@ -6,14 +6,9 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; struct Rect; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::UI { struct UIContext; @@ -250,13 +245,13 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_Core_ICoreInputView { - WINRT_IMPL_AUTO(winrt::event_token) OcclusionsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OcclusionsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using OcclusionsChanged_revoker = impl::event_revoker::remove_OcclusionsChanged>; - [[nodiscard]] OcclusionsChanged_revoker OcclusionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) OcclusionsChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetCoreInputViewOcclusions() const; - WINRT_IMPL_AUTO(bool) TryShowPrimaryView() const; - WINRT_IMPL_AUTO(bool) TryHidePrimaryView() const; + [[nodiscard]] auto OcclusionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OcclusionsChanged(winrt::event_token const& token) const noexcept; + auto GetCoreInputViewOcclusions() const; + auto TryShowPrimaryView() const; + auto TryHidePrimaryView() const; }; template <> struct consume { @@ -265,15 +260,15 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_Core_ICoreInputView2 { - WINRT_IMPL_AUTO(winrt::event_token) XYFocusTransferringFromPrimaryView(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto XYFocusTransferringFromPrimaryView(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using XYFocusTransferringFromPrimaryView_revoker = impl::event_revoker::remove_XYFocusTransferringFromPrimaryView>; - [[nodiscard]] XYFocusTransferringFromPrimaryView_revoker XYFocusTransferringFromPrimaryView(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) XYFocusTransferringFromPrimaryView(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) XYFocusTransferredToPrimaryView(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto XYFocusTransferringFromPrimaryView(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto XYFocusTransferringFromPrimaryView(winrt::event_token const& token) const noexcept; + auto XYFocusTransferredToPrimaryView(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using XYFocusTransferredToPrimaryView_revoker = impl::event_revoker::remove_XYFocusTransferredToPrimaryView>; - [[nodiscard]] XYFocusTransferredToPrimaryView_revoker XYFocusTransferredToPrimaryView(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) XYFocusTransferredToPrimaryView(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(bool) TryTransferXYFocusToPrimaryView(winrt::Windows::Foundation::Rect const& origin, winrt::Windows::UI::ViewManagement::Core::CoreInputViewXYFocusTransferDirection const& direction) const; + [[nodiscard]] auto XYFocusTransferredToPrimaryView(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto XYFocusTransferredToPrimaryView(winrt::event_token const& token) const noexcept; + auto TryTransferXYFocusToPrimaryView(winrt::Windows::Foundation::Rect const& origin, winrt::Windows::UI::ViewManagement::Core::CoreInputViewXYFocusTransferDirection const& direction) const; }; template <> struct consume { @@ -282,9 +277,9 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_Core_ICoreInputView3 { - WINRT_IMPL_AUTO(bool) TryShow() const; - WINRT_IMPL_AUTO(bool) TryShow(winrt::Windows::UI::ViewManagement::Core::CoreInputViewKind const& type) const; - WINRT_IMPL_AUTO(bool) TryHide() const; + auto TryShow() const; + auto TryShow(winrt::Windows::UI::ViewManagement::Core::CoreInputViewKind const& type) const; + auto TryHide() const; }; template <> struct consume { @@ -293,14 +288,14 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_Core_ICoreInputView4 { - WINRT_IMPL_AUTO(winrt::event_token) PrimaryViewShowing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PrimaryViewShowing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PrimaryViewShowing_revoker = impl::event_revoker::remove_PrimaryViewShowing>; - [[nodiscard]] PrimaryViewShowing_revoker PrimaryViewShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PrimaryViewShowing(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PrimaryViewHiding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PrimaryViewShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PrimaryViewShowing(winrt::event_token const& token) const noexcept; + auto PrimaryViewHiding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PrimaryViewHiding_revoker = impl::event_revoker::remove_PrimaryViewHiding>; - [[nodiscard]] PrimaryViewHiding_revoker PrimaryViewHiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PrimaryViewHiding(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PrimaryViewHiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PrimaryViewHiding(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -309,7 +304,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_Core_ICoreInputViewHidingEventArgs { - WINRT_IMPL_AUTO(bool) TryCancel() const; + auto TryCancel() const; }; template <> struct consume { @@ -318,8 +313,8 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusion { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) OccludingRect() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusionKind) OcclusionKind() const; + [[nodiscard]] auto OccludingRect() const; + [[nodiscard]] auto OcclusionKind() const; }; template <> struct consume { @@ -328,9 +323,9 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusionsChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Occlusions() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Occlusions() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -339,7 +334,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_Core_ICoreInputViewShowingEventArgs { - WINRT_IMPL_AUTO(bool) TryCancel() const; + auto TryCancel() const; }; template <> struct consume { @@ -348,7 +343,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_Core_ICoreInputViewStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::Core::CoreInputView) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -357,7 +352,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_Core_ICoreInputViewStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::Core::CoreInputView) GetForUIContext(winrt::Windows::UI::UIContext const& context) const; + auto GetForUIContext(winrt::Windows::UI::UIContext const& context) const; }; template <> struct consume { @@ -366,12 +361,12 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Origin() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::Core::CoreInputViewXYFocusTransferDirection) Direction() const; - WINRT_IMPL_AUTO(void) TransferHandled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) TransferHandled() const; - WINRT_IMPL_AUTO(void) KeepPrimaryViewVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) KeepPrimaryViewVisible() const; + [[nodiscard]] auto Origin() const; + [[nodiscard]] auto Direction() const; + auto TransferHandled(bool value) const; + [[nodiscard]] auto TransferHandled() const; + auto KeepPrimaryViewVisible(bool value) const; + [[nodiscard]] auto KeepPrimaryViewVisible() const; }; template <> struct consume { @@ -380,11 +375,11 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_Core_IUISettingsController { - WINRT_IMPL_AUTO(void) SetAdvancedEffectsEnabled(bool value) const; - WINRT_IMPL_AUTO(void) SetAnimationsEnabled(bool value) const; - WINRT_IMPL_AUTO(void) SetAutoHideScrollBars(bool value) const; - WINRT_IMPL_AUTO(void) SetMessageDuration(uint32_t value) const; - WINRT_IMPL_AUTO(void) SetTextScaleFactor(double value) const; + auto SetAdvancedEffectsEnabled(bool value) const; + auto SetAnimationsEnabled(bool value) const; + auto SetAutoHideScrollBars(bool value) const; + auto SetMessageDuration(uint32_t value) const; + auto SetTextScaleFactor(double value) const; }; template <> struct consume { @@ -393,7 +388,7 @@ namespace winrt::impl template struct consume_Windows_UI_ViewManagement_Core_IUISettingsControllerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestDefaultAsync() const; + auto RequestDefaultAsync() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.1.h index f94c83cf..e1558a24 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_ViewManagement_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.2.h index 003c0920..0e2bc257 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_ViewManagement_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.0.h index 217fdffb..fb818b6d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_WebUI_0_H @@ -58,16 +58,11 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Activation struct IWebAccountProviderActivatedEventArgs; struct IWebAuthenticationBrokerContinuationEventArgs; } -WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core -{ - enum class AppRestartFailureReason : int32_t; -} WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } @@ -630,7 +625,7 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_IActivatedDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -639,7 +634,7 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_IActivatedEventArgsDeferral { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::ActivatedOperation) ActivatedOperation() const; + [[nodiscard]] auto ActivatedOperation() const; }; template <> struct consume { @@ -648,7 +643,7 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_IActivatedOperation { - WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::ActivatedDeferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -657,24 +652,24 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_IHtmlPrintDocumentSource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::PrintContent) Content() const; - WINRT_IMPL_AUTO(void) Content(winrt::Windows::UI::WebUI::PrintContent const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) LeftMargin() const; - WINRT_IMPL_AUTO(void) LeftMargin(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) TopMargin() const; - WINRT_IMPL_AUTO(void) TopMargin(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) RightMargin() const; - WINRT_IMPL_AUTO(void) RightMargin(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) BottomMargin() const; - WINRT_IMPL_AUTO(void) BottomMargin(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) EnableHeaderFooter() const; - WINRT_IMPL_AUTO(void) EnableHeaderFooter(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShrinkToFit() const; - WINRT_IMPL_AUTO(void) ShrinkToFit(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) PercentScale() const; - WINRT_IMPL_AUTO(void) PercentScale(float scalePercent) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PageRange() const; - WINRT_IMPL_AUTO(bool) TrySetPageRange(param::hstring const& strPageRange) const; + [[nodiscard]] auto Content() const; + auto Content(winrt::Windows::UI::WebUI::PrintContent const& value) const; + [[nodiscard]] auto LeftMargin() const; + auto LeftMargin(float value) const; + [[nodiscard]] auto TopMargin() const; + auto TopMargin(float value) const; + [[nodiscard]] auto RightMargin() const; + auto RightMargin(float value) const; + [[nodiscard]] auto BottomMargin() const; + auto BottomMargin(float value) const; + [[nodiscard]] auto EnableHeaderFooter() const; + auto EnableHeaderFooter(bool value) const; + [[nodiscard]] auto ShrinkToFit() const; + auto ShrinkToFit(bool value) const; + [[nodiscard]] auto PercentScale() const; + auto PercentScale(float scalePercent) const; + [[nodiscard]] auto PageRange() const; + auto TrySetPageRange(param::hstring const& strPageRange) const; }; template <> struct consume { @@ -683,10 +678,10 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::WebUIView) WebUIView() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs) ActivatedEventArgs() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasPendingNavigate() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto WebUIView() const; + [[nodiscard]] auto ActivatedEventArgs() const; + [[nodiscard]] auto HasPendingNavigate() const; + auto GetDeferral() const; }; template <> struct consume { @@ -695,22 +690,22 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_IWebUIActivationStatics { - WINRT_IMPL_AUTO(winrt::event_token) Activated(winrt::Windows::UI::WebUI::ActivatedEventHandler const& handler) const; + auto Activated(winrt::Windows::UI::WebUI::ActivatedEventHandler const& handler) const; using Activated_revoker = impl::event_revoker::remove_Activated>; - [[nodiscard]] Activated_revoker Activated(auto_revoke_t, winrt::Windows::UI::WebUI::ActivatedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Activated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Suspending(winrt::Windows::UI::WebUI::SuspendingEventHandler const& handler) const; + [[nodiscard]] auto Activated(auto_revoke_t, winrt::Windows::UI::WebUI::ActivatedEventHandler const& handler) const; + auto Activated(winrt::event_token const& token) const noexcept; + auto Suspending(winrt::Windows::UI::WebUI::SuspendingEventHandler const& handler) const; using Suspending_revoker = impl::event_revoker::remove_Suspending>; - [[nodiscard]] Suspending_revoker Suspending(auto_revoke_t, winrt::Windows::UI::WebUI::SuspendingEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Suspending(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Resuming(winrt::Windows::UI::WebUI::ResumingEventHandler const& handler) const; + [[nodiscard]] auto Suspending(auto_revoke_t, winrt::Windows::UI::WebUI::SuspendingEventHandler const& handler) const; + auto Suspending(winrt::event_token const& token) const noexcept; + auto Resuming(winrt::Windows::UI::WebUI::ResumingEventHandler const& handler) const; using Resuming_revoker = impl::event_revoker::remove_Resuming>; - [[nodiscard]] Resuming_revoker Resuming(auto_revoke_t, winrt::Windows::UI::WebUI::ResumingEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Resuming(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Navigated(winrt::Windows::UI::WebUI::NavigatedEventHandler const& handler) const; + [[nodiscard]] auto Resuming(auto_revoke_t, winrt::Windows::UI::WebUI::ResumingEventHandler const& handler) const; + auto Resuming(winrt::event_token const& token) const noexcept; + auto Navigated(winrt::Windows::UI::WebUI::NavigatedEventHandler const& handler) const; using Navigated_revoker = impl::event_revoker::remove_Navigated>; - [[nodiscard]] Navigated_revoker Navigated(auto_revoke_t, winrt::Windows::UI::WebUI::NavigatedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Navigated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Navigated(auto_revoke_t, winrt::Windows::UI::WebUI::NavigatedEventHandler const& handler) const; + auto Navigated(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -719,15 +714,15 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_IWebUIActivationStatics2 { - WINRT_IMPL_AUTO(winrt::event_token) LeavingBackground(winrt::Windows::UI::WebUI::LeavingBackgroundEventHandler const& handler) const; + auto LeavingBackground(winrt::Windows::UI::WebUI::LeavingBackgroundEventHandler const& handler) const; using LeavingBackground_revoker = impl::event_revoker::remove_LeavingBackground>; - [[nodiscard]] LeavingBackground_revoker LeavingBackground(auto_revoke_t, winrt::Windows::UI::WebUI::LeavingBackgroundEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LeavingBackground(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnteredBackground(winrt::Windows::UI::WebUI::EnteredBackgroundEventHandler const& handler) const; + [[nodiscard]] auto LeavingBackground(auto_revoke_t, winrt::Windows::UI::WebUI::LeavingBackgroundEventHandler const& handler) const; + auto LeavingBackground(winrt::event_token const& token) const noexcept; + auto EnteredBackground(winrt::Windows::UI::WebUI::EnteredBackgroundEventHandler const& handler) const; using EnteredBackground_revoker = impl::event_revoker::remove_EnteredBackground>; - [[nodiscard]] EnteredBackground_revoker EnteredBackground(auto_revoke_t, winrt::Windows::UI::WebUI::EnteredBackgroundEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnteredBackground(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) EnablePrelaunch(bool value) const; + [[nodiscard]] auto EnteredBackground(auto_revoke_t, winrt::Windows::UI::WebUI::EnteredBackgroundEventHandler const& handler) const; + auto EnteredBackground(winrt::event_token const& token) const noexcept; + auto EnablePrelaunch(bool value) const; }; template <> struct consume { @@ -736,8 +731,8 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_IWebUIActivationStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestRestartAsync(param::hstring const& launchArguments) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestRestartForUserAsync(winrt::Windows::System::User const& user, param::hstring const& launchArguments) const; + auto RequestRestartAsync(param::hstring const& launchArguments) const; + auto RequestRestartForUserAsync(winrt::Windows::System::User const& user, param::hstring const& launchArguments) const; }; template <> struct consume { @@ -746,14 +741,14 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_IWebUIActivationStatics4 { - WINRT_IMPL_AUTO(winrt::event_token) NewWebUIViewCreated(winrt::Windows::Foundation::EventHandler const& handler) const; + auto NewWebUIViewCreated(winrt::Windows::Foundation::EventHandler const& handler) const; using NewWebUIViewCreated_revoker = impl::event_revoker::remove_NewWebUIViewCreated>; - [[nodiscard]] NewWebUIViewCreated_revoker NewWebUIViewCreated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NewWebUIViewCreated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BackgroundActivated(winrt::Windows::UI::WebUI::BackgroundActivatedEventHandler const& handler) const; + [[nodiscard]] auto NewWebUIViewCreated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto NewWebUIViewCreated(winrt::event_token const& token) const noexcept; + auto BackgroundActivated(winrt::Windows::UI::WebUI::BackgroundActivatedEventHandler const& handler) const; using BackgroundActivated_revoker = impl::event_revoker::remove_BackgroundActivated>; - [[nodiscard]] BackgroundActivated_revoker BackgroundActivated(auto_revoke_t, winrt::Windows::UI::WebUI::BackgroundActivatedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BackgroundActivated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto BackgroundActivated(auto_revoke_t, winrt::Windows::UI::WebUI::BackgroundActivatedEventHandler const& handler) const; + auto BackgroundActivated(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -762,8 +757,8 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_IWebUIBackgroundTaskInstance { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Succeeded() const; - WINRT_IMPL_AUTO(void) Succeeded(bool succeeded) const; + [[nodiscard]] auto Succeeded() const; + auto Succeeded(bool succeeded) const; }; template <> struct consume { @@ -772,7 +767,7 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_IWebUIBackgroundTaskInstanceStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::IWebUIBackgroundTaskInstance) Current() const; + [[nodiscard]] auto Current() const; }; template <> struct consume { @@ -781,7 +776,7 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_IWebUINavigatedDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -790,7 +785,7 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_IWebUINavigatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::WebUINavigatedOperation) NavigatedOperation() const; + [[nodiscard]] auto NavigatedOperation() const; }; template <> struct consume { @@ -799,7 +794,7 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_IWebUINavigatedOperation { - WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::WebUINavigatedDeferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -808,17 +803,17 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_IWebUIView { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ApplicationViewId() const; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ApplicationViewId() const; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Activated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + auto Activated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Activated_revoker = impl::event_revoker::remove_Activated>; - [[nodiscard]] Activated_revoker Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Activated(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IgnoreApplicationContentUriRulesNavigationRestrictions() const; - WINRT_IMPL_AUTO(void) IgnoreApplicationContentUriRulesNavigationRestrictions(bool value) const; + [[nodiscard]] auto Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Activated(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IgnoreApplicationContentUriRulesNavigationRestrictions() const; + auto IgnoreApplicationContentUriRulesNavigationRestrictions(bool value) const; }; template <> struct consume { @@ -827,8 +822,8 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_IWebUIViewStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto CreateAsync() const; + auto CreateAsync(winrt::Windows::Foundation::Uri const& uri) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.1.h index 75b3f14f..28b25040 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_WebUI_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.2.h index 081c9f4b..f7d87a1e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_WebUI_2_H @@ -146,38 +146,38 @@ WINRT_EXPORT namespace winrt::Windows::UI::WebUI WebUIApplication() = delete; static auto Activated(winrt::Windows::UI::WebUI::ActivatedEventHandler const& handler); using Activated_revoker = impl::factory_event_revoker::remove_Activated>; - [[nodiscard]] static Activated_revoker Activated(auto_revoke_t, winrt::Windows::UI::WebUI::ActivatedEventHandler const& handler); + [[nodiscard]] static auto Activated(auto_revoke_t, winrt::Windows::UI::WebUI::ActivatedEventHandler const& handler); static auto Activated(winrt::event_token const& token); static auto Suspending(winrt::Windows::UI::WebUI::SuspendingEventHandler const& handler); using Suspending_revoker = impl::factory_event_revoker::remove_Suspending>; - [[nodiscard]] static Suspending_revoker Suspending(auto_revoke_t, winrt::Windows::UI::WebUI::SuspendingEventHandler const& handler); + [[nodiscard]] static auto Suspending(auto_revoke_t, winrt::Windows::UI::WebUI::SuspendingEventHandler const& handler); static auto Suspending(winrt::event_token const& token); static auto Resuming(winrt::Windows::UI::WebUI::ResumingEventHandler const& handler); using Resuming_revoker = impl::factory_event_revoker::remove_Resuming>; - [[nodiscard]] static Resuming_revoker Resuming(auto_revoke_t, winrt::Windows::UI::WebUI::ResumingEventHandler const& handler); + [[nodiscard]] static auto Resuming(auto_revoke_t, winrt::Windows::UI::WebUI::ResumingEventHandler const& handler); static auto Resuming(winrt::event_token const& token); static auto Navigated(winrt::Windows::UI::WebUI::NavigatedEventHandler const& handler); using Navigated_revoker = impl::factory_event_revoker::remove_Navigated>; - [[nodiscard]] static Navigated_revoker Navigated(auto_revoke_t, winrt::Windows::UI::WebUI::NavigatedEventHandler const& handler); + [[nodiscard]] static auto Navigated(auto_revoke_t, winrt::Windows::UI::WebUI::NavigatedEventHandler const& handler); static auto Navigated(winrt::event_token const& token); static auto LeavingBackground(winrt::Windows::UI::WebUI::LeavingBackgroundEventHandler const& handler); using LeavingBackground_revoker = impl::factory_event_revoker::remove_LeavingBackground>; - [[nodiscard]] static LeavingBackground_revoker LeavingBackground(auto_revoke_t, winrt::Windows::UI::WebUI::LeavingBackgroundEventHandler const& handler); + [[nodiscard]] static auto LeavingBackground(auto_revoke_t, winrt::Windows::UI::WebUI::LeavingBackgroundEventHandler const& handler); static auto LeavingBackground(winrt::event_token const& token); static auto EnteredBackground(winrt::Windows::UI::WebUI::EnteredBackgroundEventHandler const& handler); using EnteredBackground_revoker = impl::factory_event_revoker::remove_EnteredBackground>; - [[nodiscard]] static EnteredBackground_revoker EnteredBackground(auto_revoke_t, winrt::Windows::UI::WebUI::EnteredBackgroundEventHandler const& handler); + [[nodiscard]] static auto EnteredBackground(auto_revoke_t, winrt::Windows::UI::WebUI::EnteredBackgroundEventHandler const& handler); static auto EnteredBackground(winrt::event_token const& token); static auto EnablePrelaunch(bool value); static auto RequestRestartAsync(param::hstring const& launchArguments); static auto RequestRestartForUserAsync(winrt::Windows::System::User const& user, param::hstring const& launchArguments); static auto NewWebUIViewCreated(winrt::Windows::Foundation::EventHandler const& handler); using NewWebUIViewCreated_revoker = impl::factory_event_revoker::remove_NewWebUIViewCreated>; - [[nodiscard]] static NewWebUIViewCreated_revoker NewWebUIViewCreated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto NewWebUIViewCreated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto NewWebUIViewCreated(winrt::event_token const& token); static auto BackgroundActivated(winrt::Windows::UI::WebUI::BackgroundActivatedEventHandler const& handler); using BackgroundActivated_revoker = impl::factory_event_revoker::remove_BackgroundActivated>; - [[nodiscard]] static BackgroundActivated_revoker BackgroundActivated(auto_revoke_t, winrt::Windows::UI::WebUI::BackgroundActivatedEventHandler const& handler); + [[nodiscard]] static auto BackgroundActivated(auto_revoke_t, winrt::Windows::UI::WebUI::BackgroundActivatedEventHandler const& handler); static auto BackgroundActivated(winrt::event_token const& token); }; struct __declspec(empty_bases) WebUIAppointmentsProviderAddAppointmentActivatedEventArgs : winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderAddAppointmentActivatedEventArgs, diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.0.h index a58636b9..a127ed66 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_WebUI_Core_0_H @@ -10,10 +10,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IObservableVector; -} WINRT_EXPORT namespace winrt::Windows::UI { struct Color; @@ -261,33 +257,33 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_Core_IWebUICommandBar { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Visible() const; - WINRT_IMPL_AUTO(void) Visible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Opacity() const; - WINRT_IMPL_AUTO(void) Opacity(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) ForegroundColor() const; - WINRT_IMPL_AUTO(void) ForegroundColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) BackgroundColor() const; - WINRT_IMPL_AUTO(void) BackgroundColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::Core::WebUICommandBarClosedDisplayMode) ClosedDisplayMode() const; - WINRT_IMPL_AUTO(void) ClosedDisplayMode(winrt::Windows::UI::WebUI::Core::WebUICommandBarClosedDisplayMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOpen() const; - WINRT_IMPL_AUTO(void) IsOpen(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) Size() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) PrimaryCommands() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) SecondaryCommands() const; - WINRT_IMPL_AUTO(winrt::event_token) MenuOpened(winrt::Windows::UI::WebUI::Core::MenuOpenedEventHandler const& handler) const; + [[nodiscard]] auto Visible() const; + auto Visible(bool value) const; + [[nodiscard]] auto Opacity() const; + auto Opacity(double value) const; + [[nodiscard]] auto ForegroundColor() const; + auto ForegroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto BackgroundColor() const; + auto BackgroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto ClosedDisplayMode() const; + auto ClosedDisplayMode(winrt::Windows::UI::WebUI::Core::WebUICommandBarClosedDisplayMode const& value) const; + [[nodiscard]] auto IsOpen() const; + auto IsOpen(bool value) const; + [[nodiscard]] auto Size() const; + [[nodiscard]] auto PrimaryCommands() const; + [[nodiscard]] auto SecondaryCommands() const; + auto MenuOpened(winrt::Windows::UI::WebUI::Core::MenuOpenedEventHandler const& handler) const; using MenuOpened_revoker = impl::event_revoker::remove_MenuOpened>; - [[nodiscard]] MenuOpened_revoker MenuOpened(auto_revoke_t, winrt::Windows::UI::WebUI::Core::MenuOpenedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MenuOpened(winrt::event_token const& value) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MenuClosed(winrt::Windows::UI::WebUI::Core::MenuClosedEventHandler const& handler) const; + [[nodiscard]] auto MenuOpened(auto_revoke_t, winrt::Windows::UI::WebUI::Core::MenuOpenedEventHandler const& handler) const; + auto MenuOpened(winrt::event_token const& value) const noexcept; + auto MenuClosed(winrt::Windows::UI::WebUI::Core::MenuClosedEventHandler const& handler) const; using MenuClosed_revoker = impl::event_revoker::remove_MenuClosed>; - [[nodiscard]] MenuClosed_revoker MenuClosed(auto_revoke_t, winrt::Windows::UI::WebUI::Core::MenuClosedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MenuClosed(winrt::event_token const& value) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SizeChanged(winrt::Windows::UI::WebUI::Core::SizeChangedEventHandler const& handler) const; + [[nodiscard]] auto MenuClosed(auto_revoke_t, winrt::Windows::UI::WebUI::Core::MenuClosedEventHandler const& handler) const; + auto MenuClosed(winrt::event_token const& value) const noexcept; + auto SizeChanged(winrt::Windows::UI::WebUI::Core::SizeChangedEventHandler const& handler) const; using SizeChanged_revoker = impl::event_revoker::remove_SizeChanged>; - [[nodiscard]] SizeChanged_revoker SizeChanged(auto_revoke_t, winrt::Windows::UI::WebUI::Core::SizeChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SizeChanged(winrt::event_token const& value) const noexcept; + [[nodiscard]] auto SizeChanged(auto_revoke_t, winrt::Windows::UI::WebUI::Core::SizeChangedEventHandler const& handler) const; + auto SizeChanged(winrt::event_token const& value) const noexcept; }; template <> struct consume { @@ -296,8 +292,8 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_Core_IWebUICommandBarBitmapIcon { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - WINRT_IMPL_AUTO(void) Uri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Uri() const; + auto Uri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -306,7 +302,7 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_Core_IWebUICommandBarBitmapIconFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::Core::WebUICommandBarBitmapIcon) Create(winrt::Windows::Foundation::Uri const& uri) const; + auto Create(winrt::Windows::Foundation::Uri const& uri) const; }; template <> struct consume { @@ -315,12 +311,12 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + auto ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ItemInvoked_revoker = impl::event_revoker::remove_ItemInvoked>; - [[nodiscard]] ItemInvoked_revoker ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ItemInvoked(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemInvoked(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -345,20 +341,20 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Enabled() const; - WINRT_IMPL_AUTO(void) Enabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const; - WINRT_IMPL_AUTO(void) Label(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsToggleButton() const; - WINRT_IMPL_AUTO(void) IsToggleButton(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsChecked() const; - WINRT_IMPL_AUTO(void) IsChecked(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIcon) Icon() const; - WINRT_IMPL_AUTO(void) Icon(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIcon const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Enabled() const; + auto Enabled(bool value) const; + [[nodiscard]] auto Label() const; + auto Label(param::hstring const& value) const; + [[nodiscard]] auto IsToggleButton() const; + auto IsToggleButton(bool value) const; + [[nodiscard]] auto IsChecked() const; + auto IsChecked(bool value) const; + [[nodiscard]] auto Icon() const; + auto Icon(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIcon const& value) const; + auto ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ItemInvoked_revoker = impl::event_revoker::remove_ItemInvoked>; - [[nodiscard]] ItemInvoked_revoker ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ItemInvoked(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemInvoked(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -367,7 +363,7 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_Core_IWebUICommandBarItemInvokedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPrimaryCommand() const; + [[nodiscard]] auto IsPrimaryCommand() const; }; template <> struct consume { @@ -376,7 +372,7 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_Core_IWebUICommandBarSizeChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) Size() const; + [[nodiscard]] auto Size() const; }; template <> struct consume { @@ -385,7 +381,7 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_Core_IWebUICommandBarStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::Core::WebUICommandBar) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -394,8 +390,8 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_Core_IWebUICommandBarSymbolIcon { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Symbol() const; - WINRT_IMPL_AUTO(void) Symbol(param::hstring const& value) const; + [[nodiscard]] auto Symbol() const; + auto Symbol(param::hstring const& value) const; }; template <> struct consume { @@ -404,7 +400,7 @@ namespace winrt::impl template struct consume_Windows_UI_WebUI_Core_IWebUICommandBarSymbolIconFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::Core::WebUICommandBarSymbolIcon) Create(param::hstring const& symbol) const; + auto Create(param::hstring const& symbol) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.1.h index 70d1581d..8596e879 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_WebUI_Core_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.2.h index 8c207af0..e69d47da 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_WebUI_Core_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.0.h index 5aa03cb6..2de6d396 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_WindowManagement_0_H @@ -8,18 +8,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct Deferral; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; struct Point; struct Rect; struct Size; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::System { struct DispatcherQueue; @@ -29,11 +23,6 @@ WINRT_EXPORT namespace winrt::Windows::UI struct Color; struct UIContentRoot; struct UIContext; - struct WindowId; -} -WINRT_EXPORT namespace winrt::Windows::UI::Composition -{ - struct IVisualElement; } WINRT_EXPORT namespace winrt::Windows::UI::WindowManagement { @@ -501,41 +490,41 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IAppWindow { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::UIContentRoot) Content() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) DispatcherQueue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowFrame) Frame() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVisible() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PersistedStateId() const; - WINRT_IMPL_AUTO(void) PersistedStateId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowPresenter) Presenter() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowTitleBar) TitleBar() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) UIContext() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) WindowingEnvironment() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CloseAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowPlacement) GetPlacement() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetDisplayRegions() const; - WINRT_IMPL_AUTO(void) RequestMoveToDisplayRegion(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const; - WINRT_IMPL_AUTO(void) RequestMoveAdjacentToCurrentView() const; - WINRT_IMPL_AUTO(void) RequestMoveAdjacentToWindow(winrt::Windows::UI::WindowManagement::AppWindow const& anchorWindow) const; - WINRT_IMPL_AUTO(void) RequestMoveRelativeToWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& anchorWindow, winrt::Windows::Foundation::Point const& contentOffset) const; - WINRT_IMPL_AUTO(void) RequestMoveRelativeToCurrentViewContent(winrt::Windows::Foundation::Point const& contentOffset) const; - WINRT_IMPL_AUTO(void) RequestMoveRelativeToDisplayRegion(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion, winrt::Windows::Foundation::Point const& displayRegionOffset) const; - WINRT_IMPL_AUTO(void) RequestSize(winrt::Windows::Foundation::Size const& frameSize) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryShowAsync() const; - WINRT_IMPL_AUTO(winrt::event_token) Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Content() const; + [[nodiscard]] auto DispatcherQueue() const; + [[nodiscard]] auto Frame() const; + [[nodiscard]] auto IsVisible() const; + [[nodiscard]] auto PersistedStateId() const; + auto PersistedStateId(param::hstring const& value) const; + [[nodiscard]] auto Presenter() const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto TitleBar() const; + [[nodiscard]] auto UIContext() const; + [[nodiscard]] auto WindowingEnvironment() const; + auto CloseAsync() const; + auto GetPlacement() const; + auto GetDisplayRegions() const; + auto RequestMoveToDisplayRegion(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const; + auto RequestMoveAdjacentToCurrentView() const; + auto RequestMoveAdjacentToWindow(winrt::Windows::UI::WindowManagement::AppWindow const& anchorWindow) const; + auto RequestMoveRelativeToWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& anchorWindow, winrt::Windows::Foundation::Point const& contentOffset) const; + auto RequestMoveRelativeToCurrentViewContent(winrt::Windows::Foundation::Point const& contentOffset) const; + auto RequestMoveRelativeToDisplayRegion(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion, winrt::Windows::Foundation::Point const& displayRegionOffset) const; + auto RequestSize(winrt::Windows::Foundation::Size const& frameSize) const; + auto TryShowAsync() const; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Changed_revoker = impl::event_revoker::remove_Changed>; - [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Changed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Changed(winrt::event_token const& token) const noexcept; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CloseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + auto CloseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CloseRequested_revoker = impl::event_revoker::remove_CloseRequested>; - [[nodiscard]] CloseRequested_revoker CloseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CloseRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CloseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CloseRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -544,14 +533,14 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) DidAvailableWindowPresentationsChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DidDisplayRegionsChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DidFrameChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DidSizeChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DidTitleBarChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DidVisibilityChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DidWindowingEnvironmentChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DidWindowPresentationChange() const; + [[nodiscard]] auto DidAvailableWindowPresentationsChange() const; + [[nodiscard]] auto DidDisplayRegionsChange() const; + [[nodiscard]] auto DidFrameChange() const; + [[nodiscard]] auto DidSizeChange() const; + [[nodiscard]] auto DidTitleBarChange() const; + [[nodiscard]] auto DidVisibilityChange() const; + [[nodiscard]] auto DidWindowingEnvironmentChange() const; + [[nodiscard]] auto DidWindowPresentationChange() const; }; template <> struct consume { @@ -560,9 +549,9 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IAppWindowCloseRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -571,7 +560,7 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IAppWindowClosedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowClosedReason) Reason() const; + [[nodiscard]] auto Reason() const; }; template <> struct consume { @@ -580,7 +569,7 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IAppWindowFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DragRegionVisuals() const; + [[nodiscard]] auto DragRegionVisuals() const; }; template <> struct consume { @@ -589,8 +578,8 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IAppWindowFrameStyle { - WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowFrameStyle) GetFrameStyle() const; - WINRT_IMPL_AUTO(void) SetFrameStyle(winrt::Windows::UI::WindowManagement::AppWindowFrameStyle const& frameStyle) const; + auto GetFrameStyle() const; + auto SetFrameStyle(winrt::Windows::UI::WindowManagement::AppWindowFrameStyle const& frameStyle) const; }; template <> struct consume { @@ -599,9 +588,9 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IAppWindowPlacement { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::DisplayRegion) DisplayRegion() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Offset() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) Size() const; + [[nodiscard]] auto DisplayRegion() const; + [[nodiscard]] auto Offset() const; + [[nodiscard]] auto Size() const; }; template <> struct consume { @@ -610,7 +599,7 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IAppWindowPresentationConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind) Kind() const; + [[nodiscard]] auto Kind() const; }; template <> struct consume { @@ -627,10 +616,10 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IAppWindowPresenter { - WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowPresentationConfiguration) GetConfiguration() const; - WINRT_IMPL_AUTO(bool) IsPresentationSupported(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind const& presentationKind) const; - WINRT_IMPL_AUTO(bool) RequestPresentation(winrt::Windows::UI::WindowManagement::AppWindowPresentationConfiguration const& configuration) const; - WINRT_IMPL_AUTO(bool) RequestPresentation(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind const& presentationKind) const; + auto GetConfiguration() const; + auto IsPresentationSupported(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind const& presentationKind) const; + auto RequestPresentation(winrt::Windows::UI::WindowManagement::AppWindowPresentationConfiguration const& configuration) const; + auto RequestPresentation(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind const& presentationKind) const; }; template <> struct consume { @@ -639,9 +628,9 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IAppWindowStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryCreateAsync() const; - WINRT_IMPL_AUTO(void) ClearAllPersistedState() const; - WINRT_IMPL_AUTO(void) ClearPersistedState(param::hstring const& key) const; + auto TryCreateAsync() const; + auto ClearAllPersistedState() const; + auto ClearPersistedState(param::hstring const& key) const; }; template <> struct consume { @@ -650,34 +639,34 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IAppWindowTitleBar { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BackgroundColor() const; - WINRT_IMPL_AUTO(void) BackgroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ButtonBackgroundColor() const; - WINRT_IMPL_AUTO(void) ButtonBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ButtonForegroundColor() const; - WINRT_IMPL_AUTO(void) ButtonForegroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ButtonHoverBackgroundColor() const; - WINRT_IMPL_AUTO(void) ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ButtonHoverForegroundColor() const; - WINRT_IMPL_AUTO(void) ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ButtonInactiveBackgroundColor() const; - WINRT_IMPL_AUTO(void) ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ButtonInactiveForegroundColor() const; - WINRT_IMPL_AUTO(void) ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ButtonPressedBackgroundColor() const; - WINRT_IMPL_AUTO(void) ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ButtonPressedForegroundColor() const; - WINRT_IMPL_AUTO(void) ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ExtendsContentIntoTitleBar() const; - WINRT_IMPL_AUTO(void) ExtendsContentIntoTitleBar(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ForegroundColor() const; - WINRT_IMPL_AUTO(void) ForegroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InactiveBackgroundColor() const; - WINRT_IMPL_AUTO(void) InactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) InactiveForegroundColor() const; - WINRT_IMPL_AUTO(void) InactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVisible() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetTitleBarOcclusions() const; + [[nodiscard]] auto BackgroundColor() const; + auto BackgroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ButtonBackgroundColor() const; + auto ButtonBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ButtonForegroundColor() const; + auto ButtonForegroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ButtonHoverBackgroundColor() const; + auto ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ButtonHoverForegroundColor() const; + auto ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ButtonInactiveBackgroundColor() const; + auto ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ButtonInactiveForegroundColor() const; + auto ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ButtonPressedBackgroundColor() const; + auto ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ButtonPressedForegroundColor() const; + auto ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ExtendsContentIntoTitleBar() const; + auto ExtendsContentIntoTitleBar(bool value) const; + [[nodiscard]] auto ForegroundColor() const; + auto ForegroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto InactiveBackgroundColor() const; + auto InactiveBackgroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto InactiveForegroundColor() const; + auto InactiveForegroundColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsVisible() const; + auto GetTitleBarOcclusions() const; }; template <> struct consume { @@ -686,7 +675,7 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IAppWindowTitleBarOcclusion { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) OccludingRect() const; + [[nodiscard]] auto OccludingRect() const; }; template <> struct consume { @@ -695,8 +684,8 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IAppWindowTitleBarVisibility { - WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowTitleBarVisibility) GetPreferredVisibility() const; - WINRT_IMPL_AUTO(void) SetPreferredVisibility(winrt::Windows::UI::WindowManagement::AppWindowTitleBarVisibility const& visibilityMode) const; + auto GetPreferredVisibility() const; + auto SetPreferredVisibility(winrt::Windows::UI::WindowManagement::AppWindowTitleBarVisibility const& visibilityMode) const; }; template <> struct consume { @@ -721,15 +710,15 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IDisplayRegion { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayMonitorDeviceId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVisible() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) WorkAreaOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) WorkAreaSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) WindowingEnvironment() const; - WINRT_IMPL_AUTO(winrt::event_token) Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DisplayMonitorDeviceId() const; + [[nodiscard]] auto IsVisible() const; + [[nodiscard]] auto WorkAreaOffset() const; + [[nodiscard]] auto WorkAreaSize() const; + [[nodiscard]] auto WindowingEnvironment() const; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Changed_revoker = impl::event_revoker::remove_Changed>; - [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Changed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Changed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -738,8 +727,8 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IFullScreenPresentationConfiguration { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsExclusive() const; - WINRT_IMPL_AUTO(void) IsExclusive(bool value) const; + [[nodiscard]] auto IsExclusive() const; + auto IsExclusive(bool value) const; }; template <> struct consume { @@ -748,7 +737,7 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IWindowServicesStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindAllTopLevelWindowIds() const; + auto FindAllTopLevelWindowIds() const; }; template <> struct consume { @@ -757,13 +746,13 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IWindowingEnvironment { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironmentKind) Kind() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetDisplayRegions() const; - WINRT_IMPL_AUTO(winrt::event_token) Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsEnabled() const; + [[nodiscard]] auto Kind() const; + auto GetDisplayRegions() const; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Changed_revoker = impl::event_revoker::remove_Changed>; - [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Changed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Changed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -772,7 +761,7 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IWindowingEnvironmentAddedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) WindowingEnvironment() const; + [[nodiscard]] auto WindowingEnvironment() const; }; template <> struct consume { @@ -789,7 +778,7 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IWindowingEnvironmentRemovedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) WindowingEnvironment() const; + [[nodiscard]] auto WindowingEnvironment() const; }; template <> struct consume { @@ -798,8 +787,8 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_IWindowingEnvironmentStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindAll() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindAll(winrt::Windows::UI::WindowManagement::WindowingEnvironmentKind const& kind) const; + auto FindAll() const; + auto FindAll(winrt::Windows::UI::WindowManagement::WindowingEnvironmentKind const& kind) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.1.h index 528963a9..81ad3e6a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_WindowManagement_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.2.h index c5dfddc8..ac837da9 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_WindowManagement_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.0.h index 557f5a39..dfc8c7cd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_WindowManagement_Preview_0_H @@ -52,7 +52,7 @@ namespace winrt::impl template struct consume_Windows_UI_WindowManagement_Preview_IWindowManagementPreviewStatics { - WINRT_IMPL_AUTO(void) SetPreferredMinSize(winrt::Windows::UI::WindowManagement::AppWindow const& window, winrt::Windows::Foundation::Size const& preferredFrameMinSize) const; + auto SetPreferredMinSize(winrt::Windows::UI::WindowManagement::AppWindow const& window, winrt::Windows::Foundation::Size const& preferredFrameMinSize) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.1.h index e99496b1..9ffd49ad 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_WindowManagement_Preview_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.2.h index f9f6c9c0..67a7a3f8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_WindowManagement_Preview_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.0.h index b1b15587..b4aa17da 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_0_H @@ -36,7 +36,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; struct HResult; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; struct Point; struct Rect; @@ -46,10 +45,7 @@ WINRT_EXPORT namespace winrt::Windows::Foundation } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { - template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMap; template struct __declspec(empty_bases) IObservableVector; - template struct __declspec(empty_bases) IVectorView; template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics @@ -114,7 +110,6 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Input struct HoldingEventHandler; struct KeyEventHandler; enum class KeyTipPlacementMode : int32_t; - struct KeyboardAccelerator; struct KeyboardAcceleratorInvokedEventArgs; enum class KeyboardAcceleratorPlacementMode : int32_t; enum class KeyboardNavigationMode : int32_t; @@ -148,7 +143,6 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media struct RectangleGeometry; struct Shadow; struct Transform; - struct XamlLight; } WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media::Animation { @@ -3557,10 +3551,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IAdaptiveTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(double) MinWindowWidth() const; - WINRT_IMPL_AUTO(void) MinWindowWidth(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinWindowHeight() const; - WINRT_IMPL_AUTO(void) MinWindowHeight(double value) const; + [[nodiscard]] auto MinWindowWidth() const; + auto MinWindowWidth(double value) const; + [[nodiscard]] auto MinWindowHeight() const; + auto MinWindowHeight(double value) const; }; template <> struct consume { @@ -3569,7 +3563,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IAdaptiveTriggerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::AdaptiveTrigger) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3578,8 +3572,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IAdaptiveTriggerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinWindowWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinWindowHeightProperty() const; + [[nodiscard]] auto MinWindowWidthProperty() const; + [[nodiscard]] auto MinWindowHeightProperty() const; }; template <> struct consume { @@ -3588,24 +3582,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IApplication { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ResourceDictionary) Resources() const; - WINRT_IMPL_AUTO(void) Resources(winrt::Windows::UI::Xaml::ResourceDictionary const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DebugSettings) DebugSettings() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ApplicationTheme) RequestedTheme() const; - WINRT_IMPL_AUTO(void) RequestedTheme(winrt::Windows::UI::Xaml::ApplicationTheme const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) UnhandledException(winrt::Windows::UI::Xaml::UnhandledExceptionEventHandler const& handler) const; + [[nodiscard]] auto Resources() const; + auto Resources(winrt::Windows::UI::Xaml::ResourceDictionary const& value) const; + [[nodiscard]] auto DebugSettings() const; + [[nodiscard]] auto RequestedTheme() const; + auto RequestedTheme(winrt::Windows::UI::Xaml::ApplicationTheme const& value) const; + auto UnhandledException(winrt::Windows::UI::Xaml::UnhandledExceptionEventHandler const& handler) const; using UnhandledException_revoker = impl::event_revoker::remove_UnhandledException>; - [[nodiscard]] UnhandledException_revoker UnhandledException(auto_revoke_t, winrt::Windows::UI::Xaml::UnhandledExceptionEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UnhandledException(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Suspending(winrt::Windows::UI::Xaml::SuspendingEventHandler const& handler) const; + [[nodiscard]] auto UnhandledException(auto_revoke_t, winrt::Windows::UI::Xaml::UnhandledExceptionEventHandler const& handler) const; + auto UnhandledException(winrt::event_token const& token) const noexcept; + auto Suspending(winrt::Windows::UI::Xaml::SuspendingEventHandler const& handler) const; using Suspending_revoker = impl::event_revoker::remove_Suspending>; - [[nodiscard]] Suspending_revoker Suspending(auto_revoke_t, winrt::Windows::UI::Xaml::SuspendingEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Suspending(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Resuming(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto Suspending(auto_revoke_t, winrt::Windows::UI::Xaml::SuspendingEventHandler const& handler) const; + auto Suspending(winrt::event_token const& token) const noexcept; + auto Resuming(winrt::Windows::Foundation::EventHandler const& handler) const; using Resuming_revoker = impl::event_revoker::remove_Resuming>; - [[nodiscard]] Resuming_revoker Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Resuming(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Exit() const; + [[nodiscard]] auto Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Resuming(winrt::event_token const& token) const noexcept; + auto Exit() const; }; template <> struct consume { @@ -3614,18 +3608,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IApplication2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusVisualKind) FocusVisualKind() const; - WINRT_IMPL_AUTO(void) FocusVisualKind(winrt::Windows::UI::Xaml::FocusVisualKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ApplicationRequiresPointerMode) RequiresPointerMode() const; - WINRT_IMPL_AUTO(void) RequiresPointerMode(winrt::Windows::UI::Xaml::ApplicationRequiresPointerMode const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) LeavingBackground(winrt::Windows::UI::Xaml::LeavingBackgroundEventHandler const& handler) const; + [[nodiscard]] auto FocusVisualKind() const; + auto FocusVisualKind(winrt::Windows::UI::Xaml::FocusVisualKind const& value) const; + [[nodiscard]] auto RequiresPointerMode() const; + auto RequiresPointerMode(winrt::Windows::UI::Xaml::ApplicationRequiresPointerMode const& value) const; + auto LeavingBackground(winrt::Windows::UI::Xaml::LeavingBackgroundEventHandler const& handler) const; using LeavingBackground_revoker = impl::event_revoker::remove_LeavingBackground>; - [[nodiscard]] LeavingBackground_revoker LeavingBackground(auto_revoke_t, winrt::Windows::UI::Xaml::LeavingBackgroundEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LeavingBackground(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EnteredBackground(winrt::Windows::UI::Xaml::EnteredBackgroundEventHandler const& handler) const; + [[nodiscard]] auto LeavingBackground(auto_revoke_t, winrt::Windows::UI::Xaml::LeavingBackgroundEventHandler const& handler) const; + auto LeavingBackground(winrt::event_token const& token) const noexcept; + auto EnteredBackground(winrt::Windows::UI::Xaml::EnteredBackgroundEventHandler const& handler) const; using EnteredBackground_revoker = impl::event_revoker::remove_EnteredBackground>; - [[nodiscard]] EnteredBackground_revoker EnteredBackground(auto_revoke_t, winrt::Windows::UI::Xaml::EnteredBackgroundEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EnteredBackground(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto EnteredBackground(auto_revoke_t, winrt::Windows::UI::Xaml::EnteredBackgroundEventHandler const& handler) const; + auto EnteredBackground(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3634,8 +3628,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IApplication3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ApplicationHighContrastAdjustment) HighContrastAdjustment() const; - WINRT_IMPL_AUTO(void) HighContrastAdjustment(winrt::Windows::UI::Xaml::ApplicationHighContrastAdjustment const& value) const; + [[nodiscard]] auto HighContrastAdjustment() const; + auto HighContrastAdjustment(winrt::Windows::UI::Xaml::ApplicationHighContrastAdjustment const& value) const; }; template <> struct consume { @@ -3644,7 +3638,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IApplicationFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Application) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3661,15 +3655,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IApplicationOverrides { - WINRT_IMPL_AUTO(void) OnActivated(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnLaunched(winrt::Windows::ApplicationModel::Activation::LaunchActivatedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnFileActivated(winrt::Windows::ApplicationModel::Activation::FileActivatedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnSearchActivated(winrt::Windows::ApplicationModel::Activation::SearchActivatedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnShareTargetActivated(winrt::Windows::ApplicationModel::Activation::ShareTargetActivatedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnFileOpenPickerActivated(winrt::Windows::ApplicationModel::Activation::FileOpenPickerActivatedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnFileSavePickerActivated(winrt::Windows::ApplicationModel::Activation::FileSavePickerActivatedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnCachedFileUpdaterActivated(winrt::Windows::ApplicationModel::Activation::CachedFileUpdaterActivatedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnWindowCreated(winrt::Windows::UI::Xaml::WindowCreatedEventArgs const& args) const; + auto OnActivated(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& args) const; + auto OnLaunched(winrt::Windows::ApplicationModel::Activation::LaunchActivatedEventArgs const& args) const; + auto OnFileActivated(winrt::Windows::ApplicationModel::Activation::FileActivatedEventArgs const& args) const; + auto OnSearchActivated(winrt::Windows::ApplicationModel::Activation::SearchActivatedEventArgs const& args) const; + auto OnShareTargetActivated(winrt::Windows::ApplicationModel::Activation::ShareTargetActivatedEventArgs const& args) const; + auto OnFileOpenPickerActivated(winrt::Windows::ApplicationModel::Activation::FileOpenPickerActivatedEventArgs const& args) const; + auto OnFileSavePickerActivated(winrt::Windows::ApplicationModel::Activation::FileSavePickerActivatedEventArgs const& args) const; + auto OnCachedFileUpdaterActivated(winrt::Windows::ApplicationModel::Activation::CachedFileUpdaterActivatedEventArgs const& args) const; + auto OnWindowCreated(winrt::Windows::UI::Xaml::WindowCreatedEventArgs const& args) const; }; template <> struct consume { @@ -3678,7 +3672,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IApplicationOverrides2 { - WINRT_IMPL_AUTO(void) OnBackgroundActivated(winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs const& args) const; + auto OnBackgroundActivated(winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs const& args) const; }; template <> struct consume { @@ -3687,10 +3681,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IApplicationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Application) Current() const; - WINRT_IMPL_AUTO(void) Start(winrt::Windows::UI::Xaml::ApplicationInitializationCallback const& callback) const; - WINRT_IMPL_AUTO(void) LoadComponent(winrt::Windows::Foundation::IInspectable const& component, winrt::Windows::Foundation::Uri const& resourceLocator) const; - WINRT_IMPL_AUTO(void) LoadComponent(winrt::Windows::Foundation::IInspectable const& component, winrt::Windows::Foundation::Uri const& resourceLocator, winrt::Windows::UI::Xaml::Controls::Primitives::ComponentResourceLocation const& componentResourceLocation) const; + [[nodiscard]] auto Current() const; + auto Start(winrt::Windows::UI::Xaml::ApplicationInitializationCallback const& callback) const; + auto LoadComponent(winrt::Windows::Foundation::IInspectable const& component, winrt::Windows::Foundation::Uri const& resourceLocator) const; + auto LoadComponent(winrt::Windows::Foundation::IInspectable const& component, winrt::Windows::Foundation::Uri const& resourceLocator, winrt::Windows::UI::Xaml::Controls::Primitives::ComponentResourceLocation const& componentResourceLocation) const; }; template <> struct consume { @@ -3699,7 +3693,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IBindingFailedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const; + [[nodiscard]] auto Message() const; }; template <> struct consume { @@ -3708,10 +3702,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IBringIntoViewOptions { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AnimationDesired() const; - WINRT_IMPL_AUTO(void) AnimationDesired(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TargetRect() const; - WINRT_IMPL_AUTO(void) TargetRect(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto AnimationDesired() const; + auto AnimationDesired(bool value) const; + [[nodiscard]] auto TargetRect() const; + auto TargetRect(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -3720,14 +3714,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IBringIntoViewOptions2 { - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalAlignmentRatio() const; - WINRT_IMPL_AUTO(void) HorizontalAlignmentRatio(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalAlignmentRatio() const; - WINRT_IMPL_AUTO(void) VerticalAlignmentRatio(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalOffset() const; - WINRT_IMPL_AUTO(void) HorizontalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalOffset() const; - WINRT_IMPL_AUTO(void) VerticalOffset(double value) const; + [[nodiscard]] auto HorizontalAlignmentRatio() const; + auto HorizontalAlignmentRatio(double value) const; + [[nodiscard]] auto VerticalAlignmentRatio() const; + auto VerticalAlignmentRatio(double value) const; + [[nodiscard]] auto HorizontalOffset() const; + auto HorizontalOffset(double value) const; + [[nodiscard]] auto VerticalOffset() const; + auto VerticalOffset(double value) const; }; template <> struct consume { @@ -3736,20 +3730,20 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) TargetElement() const; - WINRT_IMPL_AUTO(void) TargetElement(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AnimationDesired() const; - WINRT_IMPL_AUTO(void) AnimationDesired(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) TargetRect() const; - WINRT_IMPL_AUTO(void) TargetRect(winrt::Windows::Foundation::Rect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalAlignmentRatio() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalAlignmentRatio() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalOffset() const; - WINRT_IMPL_AUTO(void) HorizontalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalOffset() const; - WINRT_IMPL_AUTO(void) VerticalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto TargetElement() const; + auto TargetElement(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto AnimationDesired() const; + auto AnimationDesired(bool value) const; + [[nodiscard]] auto TargetRect() const; + auto TargetRect(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto HorizontalAlignmentRatio() const; + [[nodiscard]] auto VerticalAlignmentRatio() const; + [[nodiscard]] auto HorizontalOffset() const; + auto HorizontalOffset(double value) const; + [[nodiscard]] auto VerticalOffset() const; + auto VerticalOffset(double value) const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -3758,8 +3752,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IBrushTransition { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; }; template <> struct consume { @@ -3768,7 +3762,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IBrushTransitionFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::BrushTransition) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3777,60 +3771,60 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IColorPaletteResources { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AltHigh() const; - WINRT_IMPL_AUTO(void) AltHigh(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AltLow() const; - WINRT_IMPL_AUTO(void) AltLow(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AltMedium() const; - WINRT_IMPL_AUTO(void) AltMedium(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AltMediumHigh() const; - WINRT_IMPL_AUTO(void) AltMediumHigh(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AltMediumLow() const; - WINRT_IMPL_AUTO(void) AltMediumLow(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BaseHigh() const; - WINRT_IMPL_AUTO(void) BaseHigh(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BaseLow() const; - WINRT_IMPL_AUTO(void) BaseLow(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BaseMedium() const; - WINRT_IMPL_AUTO(void) BaseMedium(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BaseMediumHigh() const; - WINRT_IMPL_AUTO(void) BaseMediumHigh(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BaseMediumLow() const; - WINRT_IMPL_AUTO(void) BaseMediumLow(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChromeAltLow() const; - WINRT_IMPL_AUTO(void) ChromeAltLow(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChromeBlackHigh() const; - WINRT_IMPL_AUTO(void) ChromeBlackHigh(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChromeBlackLow() const; - WINRT_IMPL_AUTO(void) ChromeBlackLow(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChromeBlackMediumLow() const; - WINRT_IMPL_AUTO(void) ChromeBlackMediumLow(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChromeBlackMedium() const; - WINRT_IMPL_AUTO(void) ChromeBlackMedium(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChromeDisabledHigh() const; - WINRT_IMPL_AUTO(void) ChromeDisabledHigh(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChromeDisabledLow() const; - WINRT_IMPL_AUTO(void) ChromeDisabledLow(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChromeHigh() const; - WINRT_IMPL_AUTO(void) ChromeHigh(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChromeLow() const; - WINRT_IMPL_AUTO(void) ChromeLow(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChromeMedium() const; - WINRT_IMPL_AUTO(void) ChromeMedium(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChromeMediumLow() const; - WINRT_IMPL_AUTO(void) ChromeMediumLow(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChromeWhite() const; - WINRT_IMPL_AUTO(void) ChromeWhite(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChromeGray() const; - WINRT_IMPL_AUTO(void) ChromeGray(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ListLow() const; - WINRT_IMPL_AUTO(void) ListLow(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ListMedium() const; - WINRT_IMPL_AUTO(void) ListMedium(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ErrorText() const; - WINRT_IMPL_AUTO(void) ErrorText(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Accent() const; - WINRT_IMPL_AUTO(void) Accent(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto AltHigh() const; + auto AltHigh(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto AltLow() const; + auto AltLow(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto AltMedium() const; + auto AltMedium(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto AltMediumHigh() const; + auto AltMediumHigh(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto AltMediumLow() const; + auto AltMediumLow(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto BaseHigh() const; + auto BaseHigh(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto BaseLow() const; + auto BaseLow(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto BaseMedium() const; + auto BaseMedium(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto BaseMediumHigh() const; + auto BaseMediumHigh(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto BaseMediumLow() const; + auto BaseMediumLow(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ChromeAltLow() const; + auto ChromeAltLow(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ChromeBlackHigh() const; + auto ChromeBlackHigh(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ChromeBlackLow() const; + auto ChromeBlackLow(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ChromeBlackMediumLow() const; + auto ChromeBlackMediumLow(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ChromeBlackMedium() const; + auto ChromeBlackMedium(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ChromeDisabledHigh() const; + auto ChromeDisabledHigh(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ChromeDisabledLow() const; + auto ChromeDisabledLow(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ChromeHigh() const; + auto ChromeHigh(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ChromeLow() const; + auto ChromeLow(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ChromeMedium() const; + auto ChromeMedium(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ChromeMediumLow() const; + auto ChromeMediumLow(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ChromeWhite() const; + auto ChromeWhite(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ChromeGray() const; + auto ChromeGray(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ListLow() const; + auto ListLow(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ListMedium() const; + auto ListMedium(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ErrorText() const; + auto ErrorText(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Accent() const; + auto Accent(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -3839,7 +3833,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IColorPaletteResourcesFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ColorPaletteResources) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3856,8 +3850,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_ICornerRadiusHelperStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) FromRadii(double topLeft, double topRight, double bottomRight, double bottomLeft) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) FromUniformRadius(double uniformRadius) const; + auto FromRadii(double topLeft, double topRight, double bottomRight, double bottomLeft) const; + auto FromUniformRadius(double uniformRadius) const; }; template <> struct consume { @@ -3866,9 +3860,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDataContextChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) NewValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto NewValue() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -3877,7 +3871,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDataTemplate { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) LoadContent() const; + auto LoadContent() const; }; template <> struct consume { @@ -3886,9 +3880,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDataTemplateExtension { - WINRT_IMPL_AUTO(void) ResetTemplate() const; - WINRT_IMPL_AUTO(bool) ProcessBinding(uint32_t phase) const; - WINRT_IMPL_AUTO(int32_t) ProcessBindings(winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs const& arg) const; + auto ResetTemplate() const; + auto ProcessBinding(uint32_t phase) const; + auto ProcessBindings(winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs const& arg) const; }; template <> struct consume { @@ -3897,7 +3891,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDataTemplateFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3906,8 +3900,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDataTemplateKey { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) DataType() const; - WINRT_IMPL_AUTO(void) DataType(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto DataType() const; + auto DataType(winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -3916,8 +3910,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDataTemplateKeyFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplateKey) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplateKey) CreateInstanceWithType(winrt::Windows::Foundation::IInspectable const& dataType, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithType(winrt::Windows::Foundation::IInspectable const& dataType, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3926,9 +3920,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDataTemplateStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ExtensionInstanceProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::IDataTemplateExtension) GetExtensionInstance(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; - WINRT_IMPL_AUTO(void) SetExtensionInstance(winrt::Windows::UI::Xaml::FrameworkElement const& element, winrt::Windows::UI::Xaml::IDataTemplateExtension const& value) const; + [[nodiscard]] auto ExtensionInstanceProperty() const; + auto GetExtensionInstance(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; + auto SetExtensionInstance(winrt::Windows::UI::Xaml::FrameworkElement const& element, winrt::Windows::UI::Xaml::IDataTemplateExtension const& value) const; }; template <> struct consume { @@ -3937,16 +3931,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDebugSettings { - [[nodiscard]] WINRT_IMPL_AUTO(bool) EnableFrameRateCounter() const; - WINRT_IMPL_AUTO(void) EnableFrameRateCounter(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBindingTracingEnabled() const; - WINRT_IMPL_AUTO(void) IsBindingTracingEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOverdrawHeatMapEnabled() const; - WINRT_IMPL_AUTO(void) IsOverdrawHeatMapEnabled(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) BindingFailed(winrt::Windows::UI::Xaml::BindingFailedEventHandler const& handler) const; + [[nodiscard]] auto EnableFrameRateCounter() const; + auto EnableFrameRateCounter(bool value) const; + [[nodiscard]] auto IsBindingTracingEnabled() const; + auto IsBindingTracingEnabled(bool value) const; + [[nodiscard]] auto IsOverdrawHeatMapEnabled() const; + auto IsOverdrawHeatMapEnabled(bool value) const; + auto BindingFailed(winrt::Windows::UI::Xaml::BindingFailedEventHandler const& handler) const; using BindingFailed_revoker = impl::event_revoker::remove_BindingFailed>; - [[nodiscard]] BindingFailed_revoker BindingFailed(auto_revoke_t, winrt::Windows::UI::Xaml::BindingFailedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BindingFailed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto BindingFailed(auto_revoke_t, winrt::Windows::UI::Xaml::BindingFailedEventHandler const& handler) const; + auto BindingFailed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3955,8 +3949,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDebugSettings2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) EnableRedrawRegions() const; - WINRT_IMPL_AUTO(void) EnableRedrawRegions(bool value) const; + [[nodiscard]] auto EnableRedrawRegions() const; + auto EnableRedrawRegions(bool value) const; }; template <> struct consume { @@ -3965,8 +3959,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDebugSettings3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextPerformanceVisualizationEnabled() const; - WINRT_IMPL_AUTO(void) IsTextPerformanceVisualizationEnabled(bool value) const; + [[nodiscard]] auto IsTextPerformanceVisualizationEnabled() const; + auto IsTextPerformanceVisualizationEnabled(bool value) const; }; template <> struct consume { @@ -3975,8 +3969,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDebugSettings4 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) FailFastOnErrors() const; - WINRT_IMPL_AUTO(void) FailFastOnErrors(bool value) const; + [[nodiscard]] auto FailFastOnErrors() const; + auto FailFastOnErrors(bool value) const; }; template <> struct consume { @@ -3985,12 +3979,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDependencyObject { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const; - WINRT_IMPL_AUTO(void) SetValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(void) ClearValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ReadLocalValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetAnimationBaseValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) Dispatcher() const; + auto GetValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const; + auto SetValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::Foundation::IInspectable const& value) const; + auto ClearValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const; + auto ReadLocalValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const; + auto GetAnimationBaseValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const; + [[nodiscard]] auto Dispatcher() const; }; template <> struct consume { @@ -3999,8 +3993,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDependencyObject2 { - WINRT_IMPL_AUTO(int64_t) RegisterPropertyChangedCallback(winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::UI::Xaml::DependencyPropertyChangedCallback const& callback) const; - WINRT_IMPL_AUTO(void) UnregisterPropertyChangedCallback(winrt::Windows::UI::Xaml::DependencyProperty const& dp, int64_t token) const; + auto RegisterPropertyChangedCallback(winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::UI::Xaml::DependencyPropertyChangedCallback const& callback) const; + auto UnregisterPropertyChangedCallback(winrt::Windows::UI::Xaml::DependencyProperty const& dp, int64_t token) const; }; template <> struct consume { @@ -4009,7 +4003,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDependencyObjectCollectionFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObjectCollection) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4018,7 +4012,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDependencyObjectFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4027,7 +4021,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDependencyProperty { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) GetMetadata(winrt::Windows::UI::Xaml::Interop::TypeName const& forType) const; + auto GetMetadata(winrt::Windows::UI::Xaml::Interop::TypeName const& forType) const; }; template <> struct consume { @@ -4036,9 +4030,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDependencyPropertyChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Property() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) OldValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) NewValue() const; + [[nodiscard]] auto Property() const; + [[nodiscard]] auto OldValue() const; + [[nodiscard]] auto NewValue() const; }; template <> struct consume { @@ -4047,9 +4041,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDependencyPropertyStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) UnsetValue() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Register(param::hstring const& name, winrt::Windows::UI::Xaml::Interop::TypeName const& propertyType, winrt::Windows::UI::Xaml::Interop::TypeName const& ownerType, winrt::Windows::UI::Xaml::PropertyMetadata const& typeMetadata) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RegisterAttached(param::hstring const& name, winrt::Windows::UI::Xaml::Interop::TypeName const& propertyType, winrt::Windows::UI::Xaml::Interop::TypeName const& ownerType, winrt::Windows::UI::Xaml::PropertyMetadata const& defaultMetadata) const; + [[nodiscard]] auto UnsetValue() const; + auto Register(param::hstring const& name, winrt::Windows::UI::Xaml::Interop::TypeName const& propertyType, winrt::Windows::UI::Xaml::Interop::TypeName const& ownerType, winrt::Windows::UI::Xaml::PropertyMetadata const& typeMetadata) const; + auto RegisterAttached(param::hstring const& name, winrt::Windows::UI::Xaml::Interop::TypeName const& propertyType, winrt::Windows::UI::Xaml::Interop::TypeName const& ownerType, winrt::Windows::UI::Xaml::PropertyMetadata const& defaultMetadata) const; }; template <> struct consume { @@ -4058,15 +4052,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDispatcherTimer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Interval() const; - WINRT_IMPL_AUTO(void) Interval(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(winrt::event_token) Tick(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto Interval() const; + auto Interval(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto IsEnabled() const; + auto Tick(winrt::Windows::Foundation::EventHandler const& handler) const; using Tick_revoker = impl::event_revoker::remove_Tick>; - [[nodiscard]] Tick_revoker Tick(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Tick(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto Tick(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Tick(winrt::event_token const& token) const noexcept; + auto Start() const; + auto Stop() const; }; template <> struct consume { @@ -4075,7 +4069,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDispatcherTimerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DispatcherTimer) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4084,11 +4078,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDragEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) Data() const; - WINRT_IMPL_AUTO(void) Data(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& value) const; + auto GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const; }; template <> struct consume { @@ -4097,12 +4091,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDragEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) DataView() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DragUIOverride) DragUIOverride() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::DragDropModifiers) Modifiers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) AcceptedOperation() const; - WINRT_IMPL_AUTO(void) AcceptedOperation(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DragOperationDeferral) GetDeferral() const; + [[nodiscard]] auto DataView() const; + [[nodiscard]] auto DragUIOverride() const; + [[nodiscard]] auto Modifiers() const; + [[nodiscard]] auto AcceptedOperation() const; + auto AcceptedOperation(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -4111,7 +4105,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDragEventArgs3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) AllowedOperations() const; + [[nodiscard]] auto AllowedOperations() const; }; template <> struct consume { @@ -4120,7 +4114,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDragOperationDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -4129,12 +4123,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDragStartingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) Data() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DragUI) DragUI() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DragOperationDeferral) GetDeferral() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; + [[nodiscard]] auto Data() const; + [[nodiscard]] auto DragUI() const; + auto GetDeferral() const; + auto GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const; }; template <> struct consume { @@ -4143,8 +4137,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDragStartingEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) AllowedOperations() const; - WINRT_IMPL_AUTO(void) AllowedOperations(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const; + [[nodiscard]] auto AllowedOperations() const; + auto AllowedOperations(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const; }; template <> struct consume { @@ -4153,11 +4147,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDragUI { - WINRT_IMPL_AUTO(void) SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage) const; - WINRT_IMPL_AUTO(void) SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage, winrt::Windows::Foundation::Point const& anchorPoint) const; - WINRT_IMPL_AUTO(void) SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const; - WINRT_IMPL_AUTO(void) SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const; - WINRT_IMPL_AUTO(void) SetContentFromDataPackage() const; + auto SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage) const; + auto SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage, winrt::Windows::Foundation::Point const& anchorPoint) const; + auto SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const; + auto SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const; + auto SetContentFromDataPackage() const; }; template <> struct consume { @@ -4166,19 +4160,19 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDragUIOverride { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Caption() const; - WINRT_IMPL_AUTO(void) Caption(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsContentVisible() const; - WINRT_IMPL_AUTO(void) IsContentVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCaptionVisible() const; - WINRT_IMPL_AUTO(void) IsCaptionVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGlyphVisible() const; - WINRT_IMPL_AUTO(void) IsGlyphVisible(bool value) const; - WINRT_IMPL_AUTO(void) Clear() const; - WINRT_IMPL_AUTO(void) SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage) const; - WINRT_IMPL_AUTO(void) SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage, winrt::Windows::Foundation::Point const& anchorPoint) const; - WINRT_IMPL_AUTO(void) SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const; - WINRT_IMPL_AUTO(void) SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const; + [[nodiscard]] auto Caption() const; + auto Caption(param::hstring const& value) const; + [[nodiscard]] auto IsContentVisible() const; + auto IsContentVisible(bool value) const; + [[nodiscard]] auto IsCaptionVisible() const; + auto IsCaptionVisible(bool value) const; + [[nodiscard]] auto IsGlyphVisible() const; + auto IsGlyphVisible(bool value) const; + auto Clear() const; + auto SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage) const; + auto SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage, winrt::Windows::Foundation::Point const& anchorPoint) const; + auto SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const; + auto SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const; }; template <> struct consume { @@ -4187,7 +4181,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDropCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) DropResult() const; + [[nodiscard]] auto DropResult() const; }; template <> struct consume { @@ -4204,14 +4198,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IDurationHelperStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) Automatic() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) Forever() const; - WINRT_IMPL_AUTO(int32_t) Compare(winrt::Windows::UI::Xaml::Duration const& duration1, winrt::Windows::UI::Xaml::Duration const& duration2) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) FromTimeSpan(winrt::Windows::Foundation::TimeSpan const& timeSpan) const; - WINRT_IMPL_AUTO(bool) GetHasTimeSpan(winrt::Windows::UI::Xaml::Duration const& target) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) Add(winrt::Windows::UI::Xaml::Duration const& target, winrt::Windows::UI::Xaml::Duration const& duration) const; - WINRT_IMPL_AUTO(bool) Equals(winrt::Windows::UI::Xaml::Duration const& target, winrt::Windows::UI::Xaml::Duration const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) Subtract(winrt::Windows::UI::Xaml::Duration const& target, winrt::Windows::UI::Xaml::Duration const& duration) const; + [[nodiscard]] auto Automatic() const; + [[nodiscard]] auto Forever() const; + auto Compare(winrt::Windows::UI::Xaml::Duration const& duration1, winrt::Windows::UI::Xaml::Duration const& duration2) const; + auto FromTimeSpan(winrt::Windows::Foundation::TimeSpan const& timeSpan) const; + auto GetHasTimeSpan(winrt::Windows::UI::Xaml::Duration const& target) const; + auto Add(winrt::Windows::UI::Xaml::Duration const& target, winrt::Windows::UI::Xaml::Duration const& duration) const; + auto Equals(winrt::Windows::UI::Xaml::Duration const& target, winrt::Windows::UI::Xaml::Duration const& value) const; + auto Subtract(winrt::Windows::UI::Xaml::Duration const& target, winrt::Windows::UI::Xaml::Duration const& duration) const; }; template <> struct consume { @@ -4220,10 +4214,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) EffectiveViewport() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) MaxViewport() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) BringIntoViewDistanceX() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) BringIntoViewDistanceY() const; + [[nodiscard]] auto EffectiveViewport() const; + [[nodiscard]] auto MaxViewport() const; + [[nodiscard]] auto BringIntoViewDistanceX() const; + [[nodiscard]] auto BringIntoViewDistanceY() const; }; template <> struct consume { @@ -4232,8 +4226,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IElementFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) GetElement(winrt::Windows::UI::Xaml::ElementFactoryGetArgs const& args) const; - WINRT_IMPL_AUTO(void) RecycleElement(winrt::Windows::UI::Xaml::ElementFactoryRecycleArgs const& args) const; + auto GetElement(winrt::Windows::UI::Xaml::ElementFactoryGetArgs const& args) const; + auto RecycleElement(winrt::Windows::UI::Xaml::ElementFactoryRecycleArgs const& args) const; }; template <> struct consume { @@ -4242,10 +4236,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IElementFactoryGetArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Data() const; - WINRT_IMPL_AUTO(void) Data(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Parent() const; - WINRT_IMPL_AUTO(void) Parent(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto Parent() const; + auto Parent(winrt::Windows::UI::Xaml::UIElement const& value) const; }; template <> struct consume { @@ -4254,7 +4248,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IElementFactoryGetArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementFactoryGetArgs) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4263,10 +4257,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IElementFactoryRecycleArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Element() const; - WINRT_IMPL_AUTO(void) Element(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Parent() const; - WINRT_IMPL_AUTO(void) Parent(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto Element() const; + auto Element(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto Parent() const; + auto Parent(winrt::Windows::UI::Xaml::UIElement const& value) const; }; template <> struct consume { @@ -4275,7 +4269,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IElementFactoryRecycleArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementFactoryRecycleArgs) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4292,11 +4286,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IElementSoundPlayerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(double) Volume() const; - WINRT_IMPL_AUTO(void) Volume(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSoundPlayerState) State() const; - WINRT_IMPL_AUTO(void) State(winrt::Windows::UI::Xaml::ElementSoundPlayerState const& value) const; - WINRT_IMPL_AUTO(void) Play(winrt::Windows::UI::Xaml::ElementSoundKind const& sound) const; + [[nodiscard]] auto Volume() const; + auto Volume(double value) const; + [[nodiscard]] auto State() const; + auto State(winrt::Windows::UI::Xaml::ElementSoundPlayerState const& value) const; + auto Play(winrt::Windows::UI::Xaml::ElementSoundKind const& sound) const; }; template <> struct consume { @@ -4305,8 +4299,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IElementSoundPlayerStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSpatialAudioMode) SpatialAudioMode() const; - WINRT_IMPL_AUTO(void) SpatialAudioMode(winrt::Windows::UI::Xaml::ElementSpatialAudioMode const& value) const; + [[nodiscard]] auto SpatialAudioMode() const; + auto SpatialAudioMode(winrt::Windows::UI::Xaml::ElementSpatialAudioMode const& value) const; }; template <> struct consume { @@ -4315,9 +4309,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IEventTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) RoutedEvent() const; - WINRT_IMPL_AUTO(void) RoutedEvent(winrt::Windows::UI::Xaml::RoutedEvent const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TriggerActionCollection) Actions() const; + [[nodiscard]] auto RoutedEvent() const; + auto RoutedEvent(winrt::Windows::UI::Xaml::RoutedEvent const& value) const; + [[nodiscard]] auto Actions() const; }; template <> struct consume { @@ -4326,7 +4320,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IExceptionRoutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ErrorMessage() const; + [[nodiscard]] auto ErrorMessage() const; }; template <> struct consume { @@ -4343,61 +4337,61 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IFrameworkElement { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TriggerCollection) Triggers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ResourceDictionary) Resources() const; - WINRT_IMPL_AUTO(void) Resources(winrt::Windows::UI::Xaml::ResourceDictionary const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Tag() const; - WINRT_IMPL_AUTO(void) Tag(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - WINRT_IMPL_AUTO(void) Language(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ActualWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ActualHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Width() const; - WINRT_IMPL_AUTO(void) Width(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Height() const; - WINRT_IMPL_AUTO(void) Height(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinWidth() const; - WINRT_IMPL_AUTO(void) MinWidth(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxWidth() const; - WINRT_IMPL_AUTO(void) MaxWidth(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinHeight() const; - WINRT_IMPL_AUTO(void) MinHeight(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxHeight() const; - WINRT_IMPL_AUTO(void) MaxHeight(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) HorizontalAlignment() const; - WINRT_IMPL_AUTO(void) HorizontalAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) VerticalAlignment() const; - WINRT_IMPL_AUTO(void) VerticalAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) Margin() const; - WINRT_IMPL_AUTO(void) Margin(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) BaseUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) DataContext() const; - WINRT_IMPL_AUTO(void) DataContext(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) Style() const; - WINRT_IMPL_AUTO(void) Style(winrt::Windows::UI::Xaml::Style const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) Parent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FlowDirection) FlowDirection() const; - WINRT_IMPL_AUTO(void) FlowDirection(winrt::Windows::UI::Xaml::FlowDirection const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) Loaded(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto Triggers() const; + [[nodiscard]] auto Resources() const; + auto Resources(winrt::Windows::UI::Xaml::ResourceDictionary const& value) const; + [[nodiscard]] auto Tag() const; + auto Tag(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto Language() const; + auto Language(param::hstring const& value) const; + [[nodiscard]] auto ActualWidth() const; + [[nodiscard]] auto ActualHeight() const; + [[nodiscard]] auto Width() const; + auto Width(double value) const; + [[nodiscard]] auto Height() const; + auto Height(double value) const; + [[nodiscard]] auto MinWidth() const; + auto MinWidth(double value) const; + [[nodiscard]] auto MaxWidth() const; + auto MaxWidth(double value) const; + [[nodiscard]] auto MinHeight() const; + auto MinHeight(double value) const; + [[nodiscard]] auto MaxHeight() const; + auto MaxHeight(double value) const; + [[nodiscard]] auto HorizontalAlignment() const; + auto HorizontalAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; + [[nodiscard]] auto VerticalAlignment() const; + auto VerticalAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; + [[nodiscard]] auto Margin() const; + auto Margin(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto BaseUri() const; + [[nodiscard]] auto DataContext() const; + auto DataContext(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto Style() const; + auto Style(winrt::Windows::UI::Xaml::Style const& value) const; + [[nodiscard]] auto Parent() const; + [[nodiscard]] auto FlowDirection() const; + auto FlowDirection(winrt::Windows::UI::Xaml::FlowDirection const& value) const; + auto Loaded(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using Loaded_revoker = impl::event_revoker::remove_Loaded>; - [[nodiscard]] Loaded_revoker Loaded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Loaded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Unloaded(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto Loaded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto Loaded(winrt::event_token const& token) const noexcept; + auto Unloaded(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using Unloaded_revoker = impl::event_revoker::remove_Unloaded>; - [[nodiscard]] Unloaded_revoker Unloaded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Unloaded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SizeChanged(winrt::Windows::UI::Xaml::SizeChangedEventHandler const& handler) const; + [[nodiscard]] auto Unloaded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto Unloaded(winrt::event_token const& token) const noexcept; + auto SizeChanged(winrt::Windows::UI::Xaml::SizeChangedEventHandler const& handler) const; using SizeChanged_revoker = impl::event_revoker::remove_SizeChanged>; - [[nodiscard]] SizeChanged_revoker SizeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::SizeChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SizeChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LayoutUpdated(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto SizeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::SizeChangedEventHandler const& handler) const; + auto SizeChanged(winrt::event_token const& token) const noexcept; + auto LayoutUpdated(winrt::Windows::Foundation::EventHandler const& handler) const; using LayoutUpdated_revoker = impl::event_revoker::remove_LayoutUpdated>; - [[nodiscard]] LayoutUpdated_revoker LayoutUpdated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LayoutUpdated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) FindName(param::hstring const& name) const; - WINRT_IMPL_AUTO(void) SetBinding(winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::UI::Xaml::Data::BindingBase const& binding) const; + [[nodiscard]] auto LayoutUpdated(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto LayoutUpdated(winrt::event_token const& token) const noexcept; + auto FindName(param::hstring const& name) const; + auto SetBinding(winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::UI::Xaml::Data::BindingBase const& binding) const; }; template <> struct consume { @@ -4406,13 +4400,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IFrameworkElement2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementTheme) RequestedTheme() const; - WINRT_IMPL_AUTO(void) RequestedTheme(winrt::Windows::UI::Xaml::ElementTheme const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) DataContextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto RequestedTheme() const; + auto RequestedTheme(winrt::Windows::UI::Xaml::ElementTheme const& value) const; + auto DataContextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DataContextChanged_revoker = impl::event_revoker::remove_DataContextChanged>; - [[nodiscard]] DataContextChanged_revoker DataContextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DataContextChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::BindingExpression) GetBindingExpression(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const; + [[nodiscard]] auto DataContextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DataContextChanged(winrt::event_token const& token) const noexcept; + auto GetBindingExpression(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const; }; template <> struct consume { @@ -4421,10 +4415,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IFrameworkElement3 { - WINRT_IMPL_AUTO(winrt::event_token) Loading(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Loading(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Loading_revoker = impl::event_revoker::remove_Loading>; - [[nodiscard]] Loading_revoker Loading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Loading(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Loading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Loading(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -4433,20 +4427,20 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IFrameworkElement4 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowFocusOnInteraction() const; - WINRT_IMPL_AUTO(void) AllowFocusOnInteraction(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) FocusVisualMargin() const; - WINRT_IMPL_AUTO(void) FocusVisualMargin(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) FocusVisualSecondaryThickness() const; - WINRT_IMPL_AUTO(void) FocusVisualSecondaryThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) FocusVisualPrimaryThickness() const; - WINRT_IMPL_AUTO(void) FocusVisualPrimaryThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) FocusVisualSecondaryBrush() const; - WINRT_IMPL_AUTO(void) FocusVisualSecondaryBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) FocusVisualPrimaryBrush() const; - WINRT_IMPL_AUTO(void) FocusVisualPrimaryBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowFocusWhenDisabled() const; - WINRT_IMPL_AUTO(void) AllowFocusWhenDisabled(bool value) const; + [[nodiscard]] auto AllowFocusOnInteraction() const; + auto AllowFocusOnInteraction(bool value) const; + [[nodiscard]] auto FocusVisualMargin() const; + auto FocusVisualMargin(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto FocusVisualSecondaryThickness() const; + auto FocusVisualSecondaryThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto FocusVisualPrimaryThickness() const; + auto FocusVisualPrimaryThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto FocusVisualSecondaryBrush() const; + auto FocusVisualSecondaryBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto FocusVisualPrimaryBrush() const; + auto FocusVisualPrimaryBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto AllowFocusWhenDisabled() const; + auto AllowFocusWhenDisabled(bool value) const; }; template <> struct consume { @@ -4455,11 +4449,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IFrameworkElement6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementTheme) ActualTheme() const; - WINRT_IMPL_AUTO(winrt::event_token) ActualThemeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ActualTheme() const; + auto ActualThemeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ActualThemeChanged_revoker = impl::event_revoker::remove_ActualThemeChanged>; - [[nodiscard]] ActualThemeChanged_revoker ActualThemeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ActualThemeChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ActualThemeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ActualThemeChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -4468,11 +4462,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IFrameworkElement7 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLoaded() const; - WINRT_IMPL_AUTO(winrt::event_token) EffectiveViewportChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsLoaded() const; + auto EffectiveViewportChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EffectiveViewportChanged_revoker = impl::event_revoker::remove_EffectiveViewportChanged>; - [[nodiscard]] EffectiveViewportChanged_revoker EffectiveViewportChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EffectiveViewportChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto EffectiveViewportChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EffectiveViewportChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -4481,7 +4475,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IFrameworkElementFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FrameworkElement) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4490,9 +4484,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IFrameworkElementOverrides { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) MeasureOverride(winrt::Windows::Foundation::Size const& availableSize) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) ArrangeOverride(winrt::Windows::Foundation::Size const& finalSize) const; - WINRT_IMPL_AUTO(void) OnApplyTemplate() const; + auto MeasureOverride(winrt::Windows::Foundation::Size const& availableSize) const; + auto ArrangeOverride(winrt::Windows::Foundation::Size const& finalSize) const; + auto OnApplyTemplate() const; }; template <> struct consume { @@ -4501,7 +4495,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IFrameworkElementOverrides2 { - WINRT_IMPL_AUTO(bool) GoToElementStateCore(param::hstring const& stateName, bool useTransitions) const; + auto GoToElementStateCore(param::hstring const& stateName, bool useTransitions) const; }; template <> struct consume { @@ -4510,7 +4504,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IFrameworkElementProtected7 { - WINRT_IMPL_AUTO(void) InvalidateViewport() const; + auto InvalidateViewport() const; }; template <> struct consume { @@ -4519,23 +4513,23 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IFrameworkElementStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TagProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LanguageProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ActualWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ActualHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) WidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MarginProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) NameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DataContextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FlowDirectionProperty() const; + [[nodiscard]] auto TagProperty() const; + [[nodiscard]] auto LanguageProperty() const; + [[nodiscard]] auto ActualWidthProperty() const; + [[nodiscard]] auto ActualHeightProperty() const; + [[nodiscard]] auto WidthProperty() const; + [[nodiscard]] auto HeightProperty() const; + [[nodiscard]] auto MinWidthProperty() const; + [[nodiscard]] auto MaxWidthProperty() const; + [[nodiscard]] auto MinHeightProperty() const; + [[nodiscard]] auto MaxHeightProperty() const; + [[nodiscard]] auto HorizontalAlignmentProperty() const; + [[nodiscard]] auto VerticalAlignmentProperty() const; + [[nodiscard]] auto MarginProperty() const; + [[nodiscard]] auto NameProperty() const; + [[nodiscard]] auto DataContextProperty() const; + [[nodiscard]] auto StyleProperty() const; + [[nodiscard]] auto FlowDirectionProperty() const; }; template <> struct consume { @@ -4544,7 +4538,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IFrameworkElementStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RequestedThemeProperty() const; + [[nodiscard]] auto RequestedThemeProperty() const; }; template <> struct consume { @@ -4553,13 +4547,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IFrameworkElementStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AllowFocusOnInteractionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FocusVisualMarginProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FocusVisualSecondaryThicknessProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FocusVisualPrimaryThicknessProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FocusVisualSecondaryBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FocusVisualPrimaryBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AllowFocusWhenDisabledProperty() const; + [[nodiscard]] auto AllowFocusOnInteractionProperty() const; + [[nodiscard]] auto FocusVisualMarginProperty() const; + [[nodiscard]] auto FocusVisualSecondaryThicknessProperty() const; + [[nodiscard]] auto FocusVisualPrimaryThicknessProperty() const; + [[nodiscard]] auto FocusVisualSecondaryBrushProperty() const; + [[nodiscard]] auto FocusVisualPrimaryBrushProperty() const; + [[nodiscard]] auto AllowFocusWhenDisabledProperty() const; }; template <> struct consume { @@ -4568,7 +4562,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IFrameworkElementStatics5 { - WINRT_IMPL_AUTO(void) DeferTree(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto DeferTree(winrt::Windows::UI::Xaml::DependencyObject const& element) const; }; template <> struct consume { @@ -4577,7 +4571,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IFrameworkElementStatics6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ActualThemeProperty() const; + [[nodiscard]] auto ActualThemeProperty() const; }; template <> struct consume { @@ -4594,7 +4588,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IFrameworkTemplateFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FrameworkTemplate) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4627,13 +4621,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IGridLengthHelperStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) Auto() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) FromPixels(double pixels) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) FromValueAndType(double value, winrt::Windows::UI::Xaml::GridUnitType const& type) const; - WINRT_IMPL_AUTO(bool) GetIsAbsolute(winrt::Windows::UI::Xaml::GridLength const& target) const; - WINRT_IMPL_AUTO(bool) GetIsAuto(winrt::Windows::UI::Xaml::GridLength const& target) const; - WINRT_IMPL_AUTO(bool) GetIsStar(winrt::Windows::UI::Xaml::GridLength const& target) const; - WINRT_IMPL_AUTO(bool) Equals(winrt::Windows::UI::Xaml::GridLength const& target, winrt::Windows::UI::Xaml::GridLength const& value) const; + [[nodiscard]] auto Auto() const; + auto FromPixels(double pixels) const; + auto FromValueAndType(double value, winrt::Windows::UI::Xaml::GridUnitType const& type) const; + auto GetIsAbsolute(winrt::Windows::UI::Xaml::GridLength const& target) const; + auto GetIsAuto(winrt::Windows::UI::Xaml::GridLength const& target) const; + auto GetIsStar(winrt::Windows::UI::Xaml::GridLength const& target) const; + auto Equals(winrt::Windows::UI::Xaml::GridLength const& target, winrt::Windows::UI::Xaml::GridLength const& value) const; }; template <> struct consume { @@ -4642,7 +4636,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IMediaFailedRoutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ErrorTrace() const; + [[nodiscard]] auto ErrorTrace() const; }; template <> struct consume { @@ -4659,7 +4653,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IPointHelperStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) FromCoordinates(float x, float y) const; + auto FromCoordinates(float x, float y) const; }; template <> struct consume { @@ -4668,8 +4662,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IPropertyMetadata { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) DefaultValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CreateDefaultValueCallback) CreateDefaultValueCallback() const; + [[nodiscard]] auto DefaultValue() const; + [[nodiscard]] auto CreateDefaultValueCallback() const; }; template <> struct consume { @@ -4678,8 +4672,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IPropertyMetadataFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) CreateInstanceWithDefaultValue(winrt::Windows::Foundation::IInspectable const& defaultValue, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) CreateInstanceWithDefaultValueAndCallback(winrt::Windows::Foundation::IInspectable const& defaultValue, winrt::Windows::UI::Xaml::PropertyChangedCallback const& propertyChangedCallback, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithDefaultValue(winrt::Windows::Foundation::IInspectable const& defaultValue, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithDefaultValueAndCallback(winrt::Windows::Foundation::IInspectable const& defaultValue, winrt::Windows::UI::Xaml::PropertyChangedCallback const& propertyChangedCallback, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4688,10 +4682,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IPropertyMetadataStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) Create(winrt::Windows::Foundation::IInspectable const& defaultValue) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) Create(winrt::Windows::Foundation::IInspectable const& defaultValue, winrt::Windows::UI::Xaml::PropertyChangedCallback const& propertyChangedCallback) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) Create(winrt::Windows::UI::Xaml::CreateDefaultValueCallback const& createDefaultValueCallback) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) Create(winrt::Windows::UI::Xaml::CreateDefaultValueCallback const& createDefaultValueCallback, winrt::Windows::UI::Xaml::PropertyChangedCallback const& propertyChangedCallback) const; + auto Create(winrt::Windows::Foundation::IInspectable const& defaultValue) const; + auto Create(winrt::Windows::Foundation::IInspectable const& defaultValue, winrt::Windows::UI::Xaml::PropertyChangedCallback const& propertyChangedCallback) const; + auto Create(winrt::Windows::UI::Xaml::CreateDefaultValueCallback const& createDefaultValueCallback) const; + auto Create(winrt::Windows::UI::Xaml::CreateDefaultValueCallback const& createDefaultValueCallback, winrt::Windows::UI::Xaml::PropertyChangedCallback const& propertyChangedCallback) const; }; template <> struct consume { @@ -4700,7 +4694,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IPropertyPath { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Path() const; + [[nodiscard]] auto Path() const; }; template <> struct consume { @@ -4709,7 +4703,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IPropertyPathFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyPath) CreateInstance(param::hstring const& path) const; + auto CreateInstance(param::hstring const& path) const; }; template <> struct consume { @@ -4726,20 +4720,20 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IRectHelperStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Empty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) FromCoordinatesAndDimensions(float x, float y, float width, float height) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) FromPoints(winrt::Windows::Foundation::Point const& point1, winrt::Windows::Foundation::Point const& point2) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) FromLocationAndSize(winrt::Windows::Foundation::Point const& location, winrt::Windows::Foundation::Size const& size) const; - WINRT_IMPL_AUTO(bool) GetIsEmpty(winrt::Windows::Foundation::Rect const& target) const; - WINRT_IMPL_AUTO(float) GetBottom(winrt::Windows::Foundation::Rect const& target) const; - WINRT_IMPL_AUTO(float) GetLeft(winrt::Windows::Foundation::Rect const& target) const; - WINRT_IMPL_AUTO(float) GetRight(winrt::Windows::Foundation::Rect const& target) const; - WINRT_IMPL_AUTO(float) GetTop(winrt::Windows::Foundation::Rect const& target) const; - WINRT_IMPL_AUTO(bool) Contains(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Point const& point) const; - WINRT_IMPL_AUTO(bool) Equals(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Rect const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Intersect(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Rect const& rect) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Union(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Point const& point) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Union(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Rect const& rect) const; + [[nodiscard]] auto Empty() const; + auto FromCoordinatesAndDimensions(float x, float y, float width, float height) const; + auto FromPoints(winrt::Windows::Foundation::Point const& point1, winrt::Windows::Foundation::Point const& point2) const; + auto FromLocationAndSize(winrt::Windows::Foundation::Point const& location, winrt::Windows::Foundation::Size const& size) const; + auto GetIsEmpty(winrt::Windows::Foundation::Rect const& target) const; + auto GetBottom(winrt::Windows::Foundation::Rect const& target) const; + auto GetLeft(winrt::Windows::Foundation::Rect const& target) const; + auto GetRight(winrt::Windows::Foundation::Rect const& target) const; + auto GetTop(winrt::Windows::Foundation::Rect const& target) const; + auto Contains(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Point const& point) const; + auto Equals(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Rect const& value) const; + auto Intersect(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Rect const& rect) const; + auto Union(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Point const& point) const; + auto Union(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Rect const& rect) const; }; template <> struct consume { @@ -4748,10 +4742,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IResourceDictionary { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) MergedDictionaries() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) ThemeDictionaries() const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto MergedDictionaries() const; + [[nodiscard]] auto ThemeDictionaries() const; }; template <> struct consume { @@ -4760,7 +4754,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IResourceDictionaryFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ResourceDictionary) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4777,7 +4771,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IRoutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) OriginalSource() const; + [[nodiscard]] auto OriginalSource() const; }; template <> struct consume { @@ -4786,7 +4780,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IRoutedEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEventArgs) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4795,8 +4789,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IScalarTransition { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; }; template <> struct consume { @@ -4805,7 +4799,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IScalarTransitionFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ScalarTransition) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4814,10 +4808,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_ISetter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Property() const; - WINRT_IMPL_AUTO(void) Property(winrt::Windows::UI::Xaml::DependencyProperty const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Value() const; - WINRT_IMPL_AUTO(void) Value(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto Property() const; + auto Property(winrt::Windows::UI::Xaml::DependencyProperty const& value) const; + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -4826,8 +4820,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_ISetter2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TargetPropertyPath) Target() const; - WINRT_IMPL_AUTO(void) Target(winrt::Windows::UI::Xaml::TargetPropertyPath const& value) const; + [[nodiscard]] auto Target() const; + auto Target(winrt::Windows::UI::Xaml::TargetPropertyPath const& value) const; }; template <> struct consume { @@ -4836,7 +4830,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_ISetterBase { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSealed() const; + [[nodiscard]] auto IsSealed() const; }; template <> struct consume { @@ -4845,7 +4839,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_ISetterBaseCollection { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSealed() const; + [[nodiscard]] auto IsSealed() const; }; template <> struct consume { @@ -4862,7 +4856,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_ISetterFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Setter) CreateInstance(winrt::Windows::UI::Xaml::DependencyProperty const& targetProperty, winrt::Windows::Foundation::IInspectable const& value) const; + auto CreateInstance(winrt::Windows::UI::Xaml::DependencyProperty const& targetProperty, winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -4871,8 +4865,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_ISizeChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) PreviousSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) NewSize() const; + [[nodiscard]] auto PreviousSize() const; + [[nodiscard]] auto NewSize() const; }; template <> struct consume { @@ -4889,10 +4883,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_ISizeHelperStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) Empty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) FromDimensions(float width, float height) const; - WINRT_IMPL_AUTO(bool) GetIsEmpty(winrt::Windows::Foundation::Size const& target) const; - WINRT_IMPL_AUTO(bool) Equals(winrt::Windows::Foundation::Size const& target, winrt::Windows::Foundation::Size const& value) const; + [[nodiscard]] auto Empty() const; + auto FromDimensions(float width, float height) const; + auto GetIsEmpty(winrt::Windows::Foundation::Size const& target) const; + auto Equals(winrt::Windows::Foundation::Size const& target, winrt::Windows::Foundation::Size const& value) const; }; template <> struct consume { @@ -4901,8 +4895,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IStateTrigger { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsActive() const; - WINRT_IMPL_AUTO(void) IsActive(bool value) const; + [[nodiscard]] auto IsActive() const; + auto IsActive(bool value) const; }; template <> struct consume { @@ -4919,7 +4913,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IStateTriggerBaseFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::StateTriggerBase) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4928,7 +4922,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IStateTriggerBaseProtected { - WINRT_IMPL_AUTO(void) SetActive(bool IsActive) const; + auto SetActive(bool IsActive) const; }; template <> struct consume { @@ -4937,7 +4931,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IStateTriggerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsActiveProperty() const; + [[nodiscard]] auto IsActiveProperty() const; }; template <> struct consume { @@ -4946,13 +4940,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IStyle { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSealed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::SetterBaseCollection) Setters() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) TargetType() const; - WINRT_IMPL_AUTO(void) TargetType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) BasedOn() const; - WINRT_IMPL_AUTO(void) BasedOn(winrt::Windows::UI::Xaml::Style const& value) const; - WINRT_IMPL_AUTO(void) Seal() const; + [[nodiscard]] auto IsSealed() const; + [[nodiscard]] auto Setters() const; + [[nodiscard]] auto TargetType() const; + auto TargetType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const; + [[nodiscard]] auto BasedOn() const; + auto BasedOn(winrt::Windows::UI::Xaml::Style const& value) const; + auto Seal() const; }; template <> struct consume { @@ -4961,7 +4955,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IStyleFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) CreateInstance(winrt::Windows::UI::Xaml::Interop::TypeName const& targetType) const; + auto CreateInstance(winrt::Windows::UI::Xaml::Interop::TypeName const& targetType) const; }; template <> struct consume { @@ -4970,10 +4964,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_ITargetPropertyPath { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyPath) Path() const; - WINRT_IMPL_AUTO(void) Path(winrt::Windows::UI::Xaml::PropertyPath const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Target() const; - WINRT_IMPL_AUTO(void) Target(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto Path() const; + auto Path(winrt::Windows::UI::Xaml::PropertyPath const& value) const; + [[nodiscard]] auto Target() const; + auto Target(winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -4982,7 +4976,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_ITargetPropertyPathFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TargetPropertyPath) CreateInstance(winrt::Windows::UI::Xaml::DependencyProperty const& targetProperty) const; + auto CreateInstance(winrt::Windows::UI::Xaml::DependencyProperty const& targetProperty) const; }; template <> struct consume { @@ -4999,8 +4993,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IThicknessHelperStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) FromLengths(double left, double top, double right, double bottom) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) FromUniformLength(double uniformLength) const; + auto FromLengths(double left, double top, double right, double bottom) const; + auto FromUniformLength(double uniformLength) const; }; template <> struct consume { @@ -5041,152 +5035,152 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElement { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) DesiredSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowDrop() const; - WINRT_IMPL_AUTO(void) AllowDrop(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Opacity() const; - WINRT_IMPL_AUTO(void) Opacity(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::RectangleGeometry) Clip() const; - WINRT_IMPL_AUTO(void) Clip(winrt::Windows::UI::Xaml::Media::RectangleGeometry const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Transform) RenderTransform() const; - WINRT_IMPL_AUTO(void) RenderTransform(winrt::Windows::UI::Xaml::Media::Transform const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Projection) Projection() const; - WINRT_IMPL_AUTO(void) Projection(winrt::Windows::UI::Xaml::Media::Projection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) RenderTransformOrigin() const; - WINRT_IMPL_AUTO(void) RenderTransformOrigin(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHitTestVisible() const; - WINRT_IMPL_AUTO(void) IsHitTestVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) Visibility() const; - WINRT_IMPL_AUTO(void) Visibility(winrt::Windows::UI::Xaml::Visibility const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) RenderSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) UseLayoutRounding() const; - WINRT_IMPL_AUTO(void) UseLayoutRounding(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) Transitions() const; - WINRT_IMPL_AUTO(void) Transitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::CacheMode) CacheMode() const; - WINRT_IMPL_AUTO(void) CacheMode(winrt::Windows::UI::Xaml::Media::CacheMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTapEnabled() const; - WINRT_IMPL_AUTO(void) IsTapEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDoubleTapEnabled() const; - WINRT_IMPL_AUTO(void) IsDoubleTapEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRightTapEnabled() const; - WINRT_IMPL_AUTO(void) IsRightTapEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHoldingEnabled() const; - WINRT_IMPL_AUTO(void) IsHoldingEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ManipulationModes) ManipulationMode() const; - WINRT_IMPL_AUTO(void) ManipulationMode(winrt::Windows::UI::Xaml::Input::ManipulationModes const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) PointerCaptures() const; - WINRT_IMPL_AUTO(winrt::event_token) KeyUp(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const; + [[nodiscard]] auto DesiredSize() const; + [[nodiscard]] auto AllowDrop() const; + auto AllowDrop(bool value) const; + [[nodiscard]] auto Opacity() const; + auto Opacity(double value) const; + [[nodiscard]] auto Clip() const; + auto Clip(winrt::Windows::UI::Xaml::Media::RectangleGeometry const& value) const; + [[nodiscard]] auto RenderTransform() const; + auto RenderTransform(winrt::Windows::UI::Xaml::Media::Transform const& value) const; + [[nodiscard]] auto Projection() const; + auto Projection(winrt::Windows::UI::Xaml::Media::Projection const& value) const; + [[nodiscard]] auto RenderTransformOrigin() const; + auto RenderTransformOrigin(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto IsHitTestVisible() const; + auto IsHitTestVisible(bool value) const; + [[nodiscard]] auto Visibility() const; + auto Visibility(winrt::Windows::UI::Xaml::Visibility const& value) const; + [[nodiscard]] auto RenderSize() const; + [[nodiscard]] auto UseLayoutRounding() const; + auto UseLayoutRounding(bool value) const; + [[nodiscard]] auto Transitions() const; + auto Transitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; + [[nodiscard]] auto CacheMode() const; + auto CacheMode(winrt::Windows::UI::Xaml::Media::CacheMode const& value) const; + [[nodiscard]] auto IsTapEnabled() const; + auto IsTapEnabled(bool value) const; + [[nodiscard]] auto IsDoubleTapEnabled() const; + auto IsDoubleTapEnabled(bool value) const; + [[nodiscard]] auto IsRightTapEnabled() const; + auto IsRightTapEnabled(bool value) const; + [[nodiscard]] auto IsHoldingEnabled() const; + auto IsHoldingEnabled(bool value) const; + [[nodiscard]] auto ManipulationMode() const; + auto ManipulationMode(winrt::Windows::UI::Xaml::Input::ManipulationModes const& value) const; + [[nodiscard]] auto PointerCaptures() const; + auto KeyUp(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const; using KeyUp_revoker = impl::event_revoker::remove_KeyUp>; - [[nodiscard]] KeyUp_revoker KeyUp(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) KeyUp(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) KeyDown(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const; + [[nodiscard]] auto KeyUp(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const; + auto KeyUp(winrt::event_token const& token) const noexcept; + auto KeyDown(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const; using KeyDown_revoker = impl::event_revoker::remove_KeyDown>; - [[nodiscard]] KeyDown_revoker KeyDown(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) KeyDown(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) GotFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto KeyDown(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const; + auto KeyDown(winrt::event_token const& token) const noexcept; + auto GotFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using GotFocus_revoker = impl::event_revoker::remove_GotFocus>; - [[nodiscard]] GotFocus_revoker GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GotFocus(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LostFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto GotFocus(winrt::event_token const& token) const noexcept; + auto LostFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using LostFocus_revoker = impl::event_revoker::remove_LostFocus>; - [[nodiscard]] LostFocus_revoker LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LostFocus(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DragEnter(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const; + [[nodiscard]] auto LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto LostFocus(winrt::event_token const& token) const noexcept; + auto DragEnter(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const; using DragEnter_revoker = impl::event_revoker::remove_DragEnter>; - [[nodiscard]] DragEnter_revoker DragEnter(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DragEnter(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DragLeave(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const; + [[nodiscard]] auto DragEnter(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const; + auto DragEnter(winrt::event_token const& token) const noexcept; + auto DragLeave(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const; using DragLeave_revoker = impl::event_revoker::remove_DragLeave>; - [[nodiscard]] DragLeave_revoker DragLeave(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DragLeave(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DragOver(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const; + [[nodiscard]] auto DragLeave(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const; + auto DragLeave(winrt::event_token const& token) const noexcept; + auto DragOver(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const; using DragOver_revoker = impl::event_revoker::remove_DragOver>; - [[nodiscard]] DragOver_revoker DragOver(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DragOver(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Drop(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const; + [[nodiscard]] auto DragOver(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const; + auto DragOver(winrt::event_token const& token) const noexcept; + auto Drop(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const; using Drop_revoker = impl::event_revoker::remove_Drop>; - [[nodiscard]] Drop_revoker Drop(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Drop(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerPressed(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; + [[nodiscard]] auto Drop(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const; + auto Drop(winrt::event_token const& token) const noexcept; + auto PointerPressed(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; using PointerPressed_revoker = impl::event_revoker::remove_PointerPressed>; - [[nodiscard]] PointerPressed_revoker PointerPressed(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerPressed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerMoved(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; + [[nodiscard]] auto PointerPressed(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; + auto PointerPressed(winrt::event_token const& token) const noexcept; + auto PointerMoved(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; using PointerMoved_revoker = impl::event_revoker::remove_PointerMoved>; - [[nodiscard]] PointerMoved_revoker PointerMoved(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerMoved(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerReleased(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; + [[nodiscard]] auto PointerMoved(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; + auto PointerMoved(winrt::event_token const& token) const noexcept; + auto PointerReleased(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; using PointerReleased_revoker = impl::event_revoker::remove_PointerReleased>; - [[nodiscard]] PointerReleased_revoker PointerReleased(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerReleased(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerEntered(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; + [[nodiscard]] auto PointerReleased(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; + auto PointerReleased(winrt::event_token const& token) const noexcept; + auto PointerEntered(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; using PointerEntered_revoker = impl::event_revoker::remove_PointerEntered>; - [[nodiscard]] PointerEntered_revoker PointerEntered(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerEntered(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerExited(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; + [[nodiscard]] auto PointerEntered(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; + auto PointerEntered(winrt::event_token const& token) const noexcept; + auto PointerExited(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; using PointerExited_revoker = impl::event_revoker::remove_PointerExited>; - [[nodiscard]] PointerExited_revoker PointerExited(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerExited(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerCaptureLost(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; + [[nodiscard]] auto PointerExited(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; + auto PointerExited(winrt::event_token const& token) const noexcept; + auto PointerCaptureLost(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; using PointerCaptureLost_revoker = impl::event_revoker::remove_PointerCaptureLost>; - [[nodiscard]] PointerCaptureLost_revoker PointerCaptureLost(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerCaptureLost(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerCanceled(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; + [[nodiscard]] auto PointerCaptureLost(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; + auto PointerCaptureLost(winrt::event_token const& token) const noexcept; + auto PointerCanceled(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; using PointerCanceled_revoker = impl::event_revoker::remove_PointerCanceled>; - [[nodiscard]] PointerCanceled_revoker PointerCanceled(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerCanceled(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PointerWheelChanged(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; + [[nodiscard]] auto PointerCanceled(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; + auto PointerCanceled(winrt::event_token const& token) const noexcept; + auto PointerWheelChanged(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; using PointerWheelChanged_revoker = impl::event_revoker::remove_PointerWheelChanged>; - [[nodiscard]] PointerWheelChanged_revoker PointerWheelChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PointerWheelChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Tapped(winrt::Windows::UI::Xaml::Input::TappedEventHandler const& handler) const; + [[nodiscard]] auto PointerWheelChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const; + auto PointerWheelChanged(winrt::event_token const& token) const noexcept; + auto Tapped(winrt::Windows::UI::Xaml::Input::TappedEventHandler const& handler) const; using Tapped_revoker = impl::event_revoker::remove_Tapped>; - [[nodiscard]] Tapped_revoker Tapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::TappedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Tapped(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DoubleTapped(winrt::Windows::UI::Xaml::Input::DoubleTappedEventHandler const& handler) const; + [[nodiscard]] auto Tapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::TappedEventHandler const& handler) const; + auto Tapped(winrt::event_token const& token) const noexcept; + auto DoubleTapped(winrt::Windows::UI::Xaml::Input::DoubleTappedEventHandler const& handler) const; using DoubleTapped_revoker = impl::event_revoker::remove_DoubleTapped>; - [[nodiscard]] DoubleTapped_revoker DoubleTapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::DoubleTappedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DoubleTapped(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Holding(winrt::Windows::UI::Xaml::Input::HoldingEventHandler const& handler) const; + [[nodiscard]] auto DoubleTapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::DoubleTappedEventHandler const& handler) const; + auto DoubleTapped(winrt::event_token const& token) const noexcept; + auto Holding(winrt::Windows::UI::Xaml::Input::HoldingEventHandler const& handler) const; using Holding_revoker = impl::event_revoker::remove_Holding>; - [[nodiscard]] Holding_revoker Holding(auto_revoke_t, winrt::Windows::UI::Xaml::Input::HoldingEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Holding(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RightTapped(winrt::Windows::UI::Xaml::Input::RightTappedEventHandler const& handler) const; + [[nodiscard]] auto Holding(auto_revoke_t, winrt::Windows::UI::Xaml::Input::HoldingEventHandler const& handler) const; + auto Holding(winrt::event_token const& token) const noexcept; + auto RightTapped(winrt::Windows::UI::Xaml::Input::RightTappedEventHandler const& handler) const; using RightTapped_revoker = impl::event_revoker::remove_RightTapped>; - [[nodiscard]] RightTapped_revoker RightTapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::RightTappedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RightTapped(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ManipulationStarting(winrt::Windows::UI::Xaml::Input::ManipulationStartingEventHandler const& handler) const; + [[nodiscard]] auto RightTapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::RightTappedEventHandler const& handler) const; + auto RightTapped(winrt::event_token const& token) const noexcept; + auto ManipulationStarting(winrt::Windows::UI::Xaml::Input::ManipulationStartingEventHandler const& handler) const; using ManipulationStarting_revoker = impl::event_revoker::remove_ManipulationStarting>; - [[nodiscard]] ManipulationStarting_revoker ManipulationStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationStartingEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ManipulationStarting(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ManipulationInertiaStarting(winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingEventHandler const& handler) const; + [[nodiscard]] auto ManipulationStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationStartingEventHandler const& handler) const; + auto ManipulationStarting(winrt::event_token const& token) const noexcept; + auto ManipulationInertiaStarting(winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingEventHandler const& handler) const; using ManipulationInertiaStarting_revoker = impl::event_revoker::remove_ManipulationInertiaStarting>; - [[nodiscard]] ManipulationInertiaStarting_revoker ManipulationInertiaStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ManipulationInertiaStarting(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ManipulationStarted(winrt::Windows::UI::Xaml::Input::ManipulationStartedEventHandler const& handler) const; + [[nodiscard]] auto ManipulationInertiaStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingEventHandler const& handler) const; + auto ManipulationInertiaStarting(winrt::event_token const& token) const noexcept; + auto ManipulationStarted(winrt::Windows::UI::Xaml::Input::ManipulationStartedEventHandler const& handler) const; using ManipulationStarted_revoker = impl::event_revoker::remove_ManipulationStarted>; - [[nodiscard]] ManipulationStarted_revoker ManipulationStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationStartedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ManipulationStarted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ManipulationDelta(winrt::Windows::UI::Xaml::Input::ManipulationDeltaEventHandler const& handler) const; + [[nodiscard]] auto ManipulationStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationStartedEventHandler const& handler) const; + auto ManipulationStarted(winrt::event_token const& token) const noexcept; + auto ManipulationDelta(winrt::Windows::UI::Xaml::Input::ManipulationDeltaEventHandler const& handler) const; using ManipulationDelta_revoker = impl::event_revoker::remove_ManipulationDelta>; - [[nodiscard]] ManipulationDelta_revoker ManipulationDelta(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationDeltaEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ManipulationDelta(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ManipulationCompleted(winrt::Windows::UI::Xaml::Input::ManipulationCompletedEventHandler const& handler) const; + [[nodiscard]] auto ManipulationDelta(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationDeltaEventHandler const& handler) const; + auto ManipulationDelta(winrt::event_token const& token) const noexcept; + auto ManipulationCompleted(winrt::Windows::UI::Xaml::Input::ManipulationCompletedEventHandler const& handler) const; using ManipulationCompleted_revoker = impl::event_revoker::remove_ManipulationCompleted>; - [[nodiscard]] ManipulationCompleted_revoker ManipulationCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationCompletedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ManipulationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Measure(winrt::Windows::Foundation::Size const& availableSize) const; - WINRT_IMPL_AUTO(void) Arrange(winrt::Windows::Foundation::Rect const& finalRect) const; - WINRT_IMPL_AUTO(bool) CapturePointer(winrt::Windows::UI::Xaml::Input::Pointer const& value) const; - WINRT_IMPL_AUTO(void) ReleasePointerCapture(winrt::Windows::UI::Xaml::Input::Pointer const& value) const; - WINRT_IMPL_AUTO(void) ReleasePointerCaptures() const; - WINRT_IMPL_AUTO(void) AddHandler(winrt::Windows::UI::Xaml::RoutedEvent const& routedEvent, winrt::Windows::Foundation::IInspectable const& handler, bool handledEventsToo) const; - WINRT_IMPL_AUTO(void) RemoveHandler(winrt::Windows::UI::Xaml::RoutedEvent const& routedEvent, winrt::Windows::Foundation::IInspectable const& handler) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeneralTransform) TransformToVisual(winrt::Windows::UI::Xaml::UIElement const& visual) const; - WINRT_IMPL_AUTO(void) InvalidateMeasure() const; - WINRT_IMPL_AUTO(void) InvalidateArrange() const; - WINRT_IMPL_AUTO(void) UpdateLayout() const; + [[nodiscard]] auto ManipulationCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationCompletedEventHandler const& handler) const; + auto ManipulationCompleted(winrt::event_token const& token) const noexcept; + auto Measure(winrt::Windows::Foundation::Size const& availableSize) const; + auto Arrange(winrt::Windows::Foundation::Rect const& finalRect) const; + auto CapturePointer(winrt::Windows::UI::Xaml::Input::Pointer const& value) const; + auto ReleasePointerCapture(winrt::Windows::UI::Xaml::Input::Pointer const& value) const; + auto ReleasePointerCaptures() const; + auto AddHandler(winrt::Windows::UI::Xaml::RoutedEvent const& routedEvent, winrt::Windows::Foundation::IInspectable const& handler, bool handledEventsToo) const; + auto RemoveHandler(winrt::Windows::UI::Xaml::RoutedEvent const& routedEvent, winrt::Windows::Foundation::IInspectable const& handler) const; + auto TransformToVisual(winrt::Windows::UI::Xaml::UIElement const& visual) const; + auto InvalidateMeasure() const; + auto InvalidateArrange() const; + auto UpdateLayout() const; }; template <> struct consume { @@ -5195,13 +5189,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElement10 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) ActualOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) ActualSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::XamlRoot) XamlRoot() const; - WINRT_IMPL_AUTO(void) XamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) UIContext() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Shadow) Shadow() const; - WINRT_IMPL_AUTO(void) Shadow(winrt::Windows::UI::Xaml::Media::Shadow const& value) const; + [[nodiscard]] auto ActualOffset() const; + [[nodiscard]] auto ActualSize() const; + [[nodiscard]] auto XamlRoot() const; + auto XamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& value) const; + [[nodiscard]] auto UIContext() const; + [[nodiscard]] auto Shadow() const; + auto Shadow(winrt::Windows::UI::Xaml::Media::Shadow const& value) const; }; template <> struct consume { @@ -5210,9 +5204,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElement2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ElementCompositeMode) CompositeMode() const; - WINRT_IMPL_AUTO(void) CompositeMode(winrt::Windows::UI::Xaml::Media::ElementCompositeMode const& value) const; - WINRT_IMPL_AUTO(bool) CancelDirectManipulations() const; + [[nodiscard]] auto CompositeMode() const; + auto CompositeMode(winrt::Windows::UI::Xaml::Media::ElementCompositeMode const& value) const; + auto CancelDirectManipulations() const; }; template <> struct consume { @@ -5221,19 +5215,19 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElement3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Transform3D) Transform3D() const; - WINRT_IMPL_AUTO(void) Transform3D(winrt::Windows::UI::Xaml::Media::Media3D::Transform3D const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanDrag() const; - WINRT_IMPL_AUTO(void) CanDrag(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) DragStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Transform3D() const; + auto Transform3D(winrt::Windows::UI::Xaml::Media::Media3D::Transform3D const& value) const; + [[nodiscard]] auto CanDrag() const; + auto CanDrag(bool value) const; + auto DragStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DragStarting_revoker = impl::event_revoker::remove_DragStarting>; - [[nodiscard]] DragStarting_revoker DragStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DragStarting(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DropCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DragStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DragStarting(winrt::event_token const& token) const noexcept; + auto DropCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DropCompleted_revoker = impl::event_revoker::remove_DropCompleted>; - [[nodiscard]] DropCompleted_revoker DropCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DropCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) StartDragAsync(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const; + [[nodiscard]] auto DropCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DropCompleted(winrt::event_token const& token) const noexcept; + auto StartDragAsync(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const; }; template <> struct consume { @@ -5242,36 +5236,36 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElement4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) ContextFlyout() const; - WINRT_IMPL_AUTO(void) ContextFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ExitDisplayModeOnAccessKeyInvoked() const; - WINRT_IMPL_AUTO(void) ExitDisplayModeOnAccessKeyInvoked(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAccessKeyScope() const; - WINRT_IMPL_AUTO(void) IsAccessKeyScope(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) AccessKeyScopeOwner() const; - WINRT_IMPL_AUTO(void) AccessKeyScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AccessKey() const; - WINRT_IMPL_AUTO(void) AccessKey(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) ContextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ContextFlyout() const; + auto ContextFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; + [[nodiscard]] auto ExitDisplayModeOnAccessKeyInvoked() const; + auto ExitDisplayModeOnAccessKeyInvoked(bool value) const; + [[nodiscard]] auto IsAccessKeyScope() const; + auto IsAccessKeyScope(bool value) const; + [[nodiscard]] auto AccessKeyScopeOwner() const; + auto AccessKeyScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto AccessKey() const; + auto AccessKey(param::hstring const& value) const; + auto ContextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ContextRequested_revoker = impl::event_revoker::remove_ContextRequested>; - [[nodiscard]] ContextRequested_revoker ContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContextRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ContextCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ContextRequested(winrt::event_token const& token) const noexcept; + auto ContextCanceled(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ContextCanceled_revoker = impl::event_revoker::remove_ContextCanceled>; - [[nodiscard]] ContextCanceled_revoker ContextCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContextCanceled(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AccessKeyDisplayRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ContextCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ContextCanceled(winrt::event_token const& token) const noexcept; + auto AccessKeyDisplayRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AccessKeyDisplayRequested_revoker = impl::event_revoker::remove_AccessKeyDisplayRequested>; - [[nodiscard]] AccessKeyDisplayRequested_revoker AccessKeyDisplayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AccessKeyDisplayRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AccessKeyDisplayDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AccessKeyDisplayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccessKeyDisplayRequested(winrt::event_token const& token) const noexcept; + auto AccessKeyDisplayDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AccessKeyDisplayDismissed_revoker = impl::event_revoker::remove_AccessKeyDisplayDismissed>; - [[nodiscard]] AccessKeyDisplayDismissed_revoker AccessKeyDisplayDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AccessKeyDisplayDismissed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AccessKeyInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AccessKeyDisplayDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccessKeyDisplayDismissed(winrt::event_token const& token) const noexcept; + auto AccessKeyInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AccessKeyInvoked_revoker = impl::event_revoker::remove_AccessKeyInvoked>; - [[nodiscard]] AccessKeyInvoked_revoker AccessKeyInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AccessKeyInvoked(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AccessKeyInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccessKeyInvoked(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -5280,41 +5274,41 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElement5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Lights() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode) KeyTipPlacementMode() const; - WINRT_IMPL_AUTO(void) KeyTipPlacementMode(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) KeyTipHorizontalOffset() const; - WINRT_IMPL_AUTO(void) KeyTipHorizontalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) KeyTipVerticalOffset() const; - WINRT_IMPL_AUTO(void) KeyTipVerticalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusKeyboardNavigationMode) XYFocusKeyboardNavigation() const; - WINRT_IMPL_AUTO(void) XYFocusKeyboardNavigation(winrt::Windows::UI::Xaml::Input::XYFocusKeyboardNavigationMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) XYFocusUpNavigationStrategy() const; - WINRT_IMPL_AUTO(void) XYFocusUpNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) XYFocusDownNavigationStrategy() const; - WINRT_IMPL_AUTO(void) XYFocusDownNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) XYFocusLeftNavigationStrategy() const; - WINRT_IMPL_AUTO(void) XYFocusLeftNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) XYFocusRightNavigationStrategy() const; - WINRT_IMPL_AUTO(void) XYFocusRightNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementHighContrastAdjustment) HighContrastAdjustment() const; - WINRT_IMPL_AUTO(void) HighContrastAdjustment(winrt::Windows::UI::Xaml::ElementHighContrastAdjustment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode) TabFocusNavigation() const; - WINRT_IMPL_AUTO(void) TabFocusNavigation(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) GettingFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Lights() const; + [[nodiscard]] auto KeyTipPlacementMode() const; + auto KeyTipPlacementMode(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode const& value) const; + [[nodiscard]] auto KeyTipHorizontalOffset() const; + auto KeyTipHorizontalOffset(double value) const; + [[nodiscard]] auto KeyTipVerticalOffset() const; + auto KeyTipVerticalOffset(double value) const; + [[nodiscard]] auto XYFocusKeyboardNavigation() const; + auto XYFocusKeyboardNavigation(winrt::Windows::UI::Xaml::Input::XYFocusKeyboardNavigationMode const& value) const; + [[nodiscard]] auto XYFocusUpNavigationStrategy() const; + auto XYFocusUpNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; + [[nodiscard]] auto XYFocusDownNavigationStrategy() const; + auto XYFocusDownNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; + [[nodiscard]] auto XYFocusLeftNavigationStrategy() const; + auto XYFocusLeftNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; + [[nodiscard]] auto XYFocusRightNavigationStrategy() const; + auto XYFocusRightNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; + [[nodiscard]] auto HighContrastAdjustment() const; + auto HighContrastAdjustment(winrt::Windows::UI::Xaml::ElementHighContrastAdjustment const& value) const; + [[nodiscard]] auto TabFocusNavigation() const; + auto TabFocusNavigation(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode const& value) const; + auto GettingFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using GettingFocus_revoker = impl::event_revoker::remove_GettingFocus>; - [[nodiscard]] GettingFocus_revoker GettingFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GettingFocus(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LosingFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto GettingFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GettingFocus(winrt::event_token const& token) const noexcept; + auto LosingFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LosingFocus_revoker = impl::event_revoker::remove_LosingFocus>; - [[nodiscard]] LosingFocus_revoker LosingFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LosingFocus(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NoFocusCandidateFound(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto LosingFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LosingFocus(winrt::event_token const& token) const noexcept; + auto NoFocusCandidateFound(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NoFocusCandidateFound_revoker = impl::event_revoker::remove_NoFocusCandidateFound>; - [[nodiscard]] NoFocusCandidateFound_revoker NoFocusCandidateFound(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NoFocusCandidateFound(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) StartBringIntoView() const; - WINRT_IMPL_AUTO(void) StartBringIntoView(winrt::Windows::UI::Xaml::BringIntoViewOptions const& options) const; + [[nodiscard]] auto NoFocusCandidateFound(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NoFocusCandidateFound(winrt::event_token const& token) const noexcept; + auto StartBringIntoView() const; + auto StartBringIntoView(winrt::Windows::UI::Xaml::BringIntoViewOptions const& options) const; }; template <> struct consume { @@ -5323,24 +5317,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElement7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) KeyboardAccelerators() const; - WINRT_IMPL_AUTO(winrt::event_token) CharacterReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto KeyboardAccelerators() const; + auto CharacterReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CharacterReceived_revoker = impl::event_revoker::remove_CharacterReceived>; - [[nodiscard]] CharacterReceived_revoker CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CharacterReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ProcessKeyboardAccelerators(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CharacterReceived(winrt::event_token const& token) const noexcept; + auto ProcessKeyboardAccelerators(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ProcessKeyboardAccelerators_revoker = impl::event_revoker::remove_ProcessKeyboardAccelerators>; - [[nodiscard]] ProcessKeyboardAccelerators_revoker ProcessKeyboardAccelerators(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ProcessKeyboardAccelerators(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PreviewKeyDown(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const; + [[nodiscard]] auto ProcessKeyboardAccelerators(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ProcessKeyboardAccelerators(winrt::event_token const& token) const noexcept; + auto PreviewKeyDown(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const; using PreviewKeyDown_revoker = impl::event_revoker::remove_PreviewKeyDown>; - [[nodiscard]] PreviewKeyDown_revoker PreviewKeyDown(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PreviewKeyDown(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PreviewKeyUp(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const; + [[nodiscard]] auto PreviewKeyDown(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const; + auto PreviewKeyDown(winrt::event_token const& token) const noexcept; + auto PreviewKeyUp(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const; using PreviewKeyUp_revoker = impl::event_revoker::remove_PreviewKeyUp>; - [[nodiscard]] PreviewKeyUp_revoker PreviewKeyUp(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PreviewKeyUp(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) TryInvokeKeyboardAccelerator(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const; + [[nodiscard]] auto PreviewKeyUp(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const; + auto PreviewKeyUp(winrt::event_token const& token) const noexcept; + auto TryInvokeKeyboardAccelerator(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const; }; template <> struct consume { @@ -5349,16 +5343,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElement8 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) KeyTipTarget() const; - WINRT_IMPL_AUTO(void) KeyTipTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) KeyboardAcceleratorPlacementTarget() const; - WINRT_IMPL_AUTO(void) KeyboardAcceleratorPlacementTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorPlacementMode) KeyboardAcceleratorPlacementMode() const; - WINRT_IMPL_AUTO(void) KeyboardAcceleratorPlacementMode(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorPlacementMode const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) BringIntoViewRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto KeyTipTarget() const; + auto KeyTipTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto KeyboardAcceleratorPlacementTarget() const; + auto KeyboardAcceleratorPlacementTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto KeyboardAcceleratorPlacementMode() const; + auto KeyboardAcceleratorPlacementMode(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorPlacementMode const& value) const; + auto BringIntoViewRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using BringIntoViewRequested_revoker = impl::event_revoker::remove_BringIntoViewRequested>; - [[nodiscard]] BringIntoViewRequested_revoker BringIntoViewRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BringIntoViewRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto BringIntoViewRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BringIntoViewRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -5367,30 +5361,30 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElement9 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanBeScrollAnchor() const; - WINRT_IMPL_AUTO(void) CanBeScrollAnchor(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ScalarTransition) OpacityTransition() const; - WINRT_IMPL_AUTO(void) OpacityTransition(winrt::Windows::UI::Xaml::ScalarTransition const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Translation() const; - WINRT_IMPL_AUTO(void) Translation(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Vector3Transition) TranslationTransition() const; - WINRT_IMPL_AUTO(void) TranslationTransition(winrt::Windows::UI::Xaml::Vector3Transition const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) Rotation() const; - WINRT_IMPL_AUTO(void) Rotation(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ScalarTransition) RotationTransition() const; - WINRT_IMPL_AUTO(void) RotationTransition(winrt::Windows::UI::Xaml::ScalarTransition const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Scale() const; - WINRT_IMPL_AUTO(void) Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Vector3Transition) ScaleTransition() const; - WINRT_IMPL_AUTO(void) ScaleTransition(winrt::Windows::UI::Xaml::Vector3Transition const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) TransformMatrix() const; - WINRT_IMPL_AUTO(void) TransformMatrix(winrt::Windows::Foundation::Numerics::float4x4 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) CenterPoint() const; - WINRT_IMPL_AUTO(void) CenterPoint(winrt::Windows::Foundation::Numerics::float3 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) RotationAxis() const; - WINRT_IMPL_AUTO(void) RotationAxis(winrt::Windows::Foundation::Numerics::float3 const& value) const; - WINRT_IMPL_AUTO(void) StartAnimation(winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const; - WINRT_IMPL_AUTO(void) StopAnimation(winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const; + [[nodiscard]] auto CanBeScrollAnchor() const; + auto CanBeScrollAnchor(bool value) const; + [[nodiscard]] auto OpacityTransition() const; + auto OpacityTransition(winrt::Windows::UI::Xaml::ScalarTransition const& value) const; + [[nodiscard]] auto Translation() const; + auto Translation(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto TranslationTransition() const; + auto TranslationTransition(winrt::Windows::UI::Xaml::Vector3Transition const& value) const; + [[nodiscard]] auto Rotation() const; + auto Rotation(float value) const; + [[nodiscard]] auto RotationTransition() const; + auto RotationTransition(winrt::Windows::UI::Xaml::ScalarTransition const& value) const; + [[nodiscard]] auto Scale() const; + auto Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto ScaleTransition() const; + auto ScaleTransition(winrt::Windows::UI::Xaml::Vector3Transition const& value) const; + [[nodiscard]] auto TransformMatrix() const; + auto TransformMatrix(winrt::Windows::Foundation::Numerics::float4x4 const& value) const; + [[nodiscard]] auto CenterPoint() const; + auto CenterPoint(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto RotationAxis() const; + auto RotationAxis(winrt::Windows::Foundation::Numerics::float3 const& value) const; + auto StartAnimation(winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const; + auto StopAnimation(winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const; }; template <> struct consume { @@ -5407,9 +5401,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElementOverrides { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) OnCreateAutomationPeer() const; - WINRT_IMPL_AUTO(void) OnDisconnectVisualChildren() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable>) FindSubElementsForTouchTargeting(winrt::Windows::Foundation::Point const& point, winrt::Windows::Foundation::Rect const& boundingRect) const; + auto OnCreateAutomationPeer() const; + auto OnDisconnectVisualChildren() const; + auto FindSubElementsForTouchTargeting(winrt::Windows::Foundation::Point const& point, winrt::Windows::Foundation::Rect const& boundingRect) const; }; template <> struct consume { @@ -5418,8 +5412,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElementOverrides7 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) GetChildrenInTabFocusOrder() const; - WINRT_IMPL_AUTO(void) OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const; + auto GetChildrenInTabFocusOrder() const; + auto OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const; }; template <> struct consume { @@ -5428,8 +5422,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElementOverrides8 { - WINRT_IMPL_AUTO(void) OnKeyboardAcceleratorInvoked(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnBringIntoViewRequested(winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs const& e) const; + auto OnKeyboardAcceleratorInvoked(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs const& args) const; + auto OnBringIntoViewRequested(winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs const& e) const; }; template <> struct consume { @@ -5438,7 +5432,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElementOverrides9 { - WINRT_IMPL_AUTO(void) PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const; + auto PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const; }; template <> struct consume { @@ -5447,46 +5441,46 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElementStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) KeyDownEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) KeyUpEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) PointerEnteredEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) PointerPressedEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) PointerMovedEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) PointerReleasedEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) PointerExitedEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) PointerCaptureLostEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) PointerCanceledEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) PointerWheelChangedEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) TappedEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) DoubleTappedEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) HoldingEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) RightTappedEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) ManipulationStartingEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) ManipulationInertiaStartingEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) ManipulationStartedEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) ManipulationDeltaEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) ManipulationCompletedEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) DragEnterEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) DragLeaveEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) DragOverEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) DropEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AllowDropProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OpacityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ClipProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RenderTransformProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ProjectionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RenderTransformOriginProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsHitTestVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VisibilityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) UseLayoutRoundingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TransitionsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CacheModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTapEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsDoubleTapEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsRightTapEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsHoldingEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ManipulationModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointerCapturesProperty() const; + [[nodiscard]] auto KeyDownEvent() const; + [[nodiscard]] auto KeyUpEvent() const; + [[nodiscard]] auto PointerEnteredEvent() const; + [[nodiscard]] auto PointerPressedEvent() const; + [[nodiscard]] auto PointerMovedEvent() const; + [[nodiscard]] auto PointerReleasedEvent() const; + [[nodiscard]] auto PointerExitedEvent() const; + [[nodiscard]] auto PointerCaptureLostEvent() const; + [[nodiscard]] auto PointerCanceledEvent() const; + [[nodiscard]] auto PointerWheelChangedEvent() const; + [[nodiscard]] auto TappedEvent() const; + [[nodiscard]] auto DoubleTappedEvent() const; + [[nodiscard]] auto HoldingEvent() const; + [[nodiscard]] auto RightTappedEvent() const; + [[nodiscard]] auto ManipulationStartingEvent() const; + [[nodiscard]] auto ManipulationInertiaStartingEvent() const; + [[nodiscard]] auto ManipulationStartedEvent() const; + [[nodiscard]] auto ManipulationDeltaEvent() const; + [[nodiscard]] auto ManipulationCompletedEvent() const; + [[nodiscard]] auto DragEnterEvent() const; + [[nodiscard]] auto DragLeaveEvent() const; + [[nodiscard]] auto DragOverEvent() const; + [[nodiscard]] auto DropEvent() const; + [[nodiscard]] auto AllowDropProperty() const; + [[nodiscard]] auto OpacityProperty() const; + [[nodiscard]] auto ClipProperty() const; + [[nodiscard]] auto RenderTransformProperty() const; + [[nodiscard]] auto ProjectionProperty() const; + [[nodiscard]] auto RenderTransformOriginProperty() const; + [[nodiscard]] auto IsHitTestVisibleProperty() const; + [[nodiscard]] auto VisibilityProperty() const; + [[nodiscard]] auto UseLayoutRoundingProperty() const; + [[nodiscard]] auto TransitionsProperty() const; + [[nodiscard]] auto CacheModeProperty() const; + [[nodiscard]] auto IsTapEnabledProperty() const; + [[nodiscard]] auto IsDoubleTapEnabledProperty() const; + [[nodiscard]] auto IsRightTapEnabledProperty() const; + [[nodiscard]] auto IsHoldingEnabledProperty() const; + [[nodiscard]] auto ManipulationModeProperty() const; + [[nodiscard]] auto PointerCapturesProperty() const; }; template <> struct consume { @@ -5495,7 +5489,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElementStatics10 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ShadowProperty() const; + [[nodiscard]] auto ShadowProperty() const; }; template <> struct consume { @@ -5504,7 +5498,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElementStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CompositeModeProperty() const; + [[nodiscard]] auto CompositeModeProperty() const; }; template <> struct consume { @@ -5513,9 +5507,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElementStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Transform3DProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanDragProperty() const; - WINRT_IMPL_AUTO(bool) TryStartDirectManipulation(winrt::Windows::UI::Xaml::Input::Pointer const& value) const; + [[nodiscard]] auto Transform3DProperty() const; + [[nodiscard]] auto CanDragProperty() const; + auto TryStartDirectManipulation(winrt::Windows::UI::Xaml::Input::Pointer const& value) const; }; template <> struct consume { @@ -5524,11 +5518,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElementStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContextFlyoutProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ExitDisplayModeOnAccessKeyInvokedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsAccessKeyScopeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AccessKeyScopeOwnerProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AccessKeyProperty() const; + [[nodiscard]] auto ContextFlyoutProperty() const; + [[nodiscard]] auto ExitDisplayModeOnAccessKeyInvokedProperty() const; + [[nodiscard]] auto IsAccessKeyScopeProperty() const; + [[nodiscard]] auto AccessKeyScopeOwnerProperty() const; + [[nodiscard]] auto AccessKeyProperty() const; }; template <> struct consume { @@ -5537,17 +5531,17 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElementStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LightsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyTipPlacementModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyTipHorizontalOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyTipVerticalOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusKeyboardNavigationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusUpNavigationStrategyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusDownNavigationStrategyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusLeftNavigationStrategyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusRightNavigationStrategyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HighContrastAdjustmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TabFocusNavigationProperty() const; + [[nodiscard]] auto LightsProperty() const; + [[nodiscard]] auto KeyTipPlacementModeProperty() const; + [[nodiscard]] auto KeyTipHorizontalOffsetProperty() const; + [[nodiscard]] auto KeyTipVerticalOffsetProperty() const; + [[nodiscard]] auto XYFocusKeyboardNavigationProperty() const; + [[nodiscard]] auto XYFocusUpNavigationStrategyProperty() const; + [[nodiscard]] auto XYFocusDownNavigationStrategyProperty() const; + [[nodiscard]] auto XYFocusLeftNavigationStrategyProperty() const; + [[nodiscard]] auto XYFocusRightNavigationStrategyProperty() const; + [[nodiscard]] auto HighContrastAdjustmentProperty() const; + [[nodiscard]] auto TabFocusNavigationProperty() const; }; template <> struct consume { @@ -5556,9 +5550,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElementStatics6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) GettingFocusEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) LosingFocusEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) NoFocusCandidateFoundEvent() const; + [[nodiscard]] auto GettingFocusEvent() const; + [[nodiscard]] auto LosingFocusEvent() const; + [[nodiscard]] auto NoFocusCandidateFoundEvent() const; }; template <> struct consume { @@ -5567,9 +5561,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElementStatics7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) PreviewKeyDownEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) CharacterReceivedEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) PreviewKeyUpEvent() const; + [[nodiscard]] auto PreviewKeyDownEvent() const; + [[nodiscard]] auto CharacterReceivedEvent() const; + [[nodiscard]] auto PreviewKeyUpEvent() const; }; template <> struct consume { @@ -5578,12 +5572,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElementStatics8 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) BringIntoViewRequestedEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) ContextRequestedEvent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyTipTargetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyboardAcceleratorPlacementTargetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyboardAcceleratorPlacementModeProperty() const; - WINRT_IMPL_AUTO(void) RegisterAsScrollPort(winrt::Windows::UI::Xaml::UIElement const& element) const; + [[nodiscard]] auto BringIntoViewRequestedEvent() const; + [[nodiscard]] auto ContextRequestedEvent() const; + [[nodiscard]] auto KeyTipTargetProperty() const; + [[nodiscard]] auto KeyboardAcceleratorPlacementTargetProperty() const; + [[nodiscard]] auto KeyboardAcceleratorPlacementModeProperty() const; + auto RegisterAsScrollPort(winrt::Windows::UI::Xaml::UIElement const& element) const; }; template <> struct consume { @@ -5592,7 +5586,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElementStatics9 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanBeScrollAnchorProperty() const; + [[nodiscard]] auto CanBeScrollAnchorProperty() const; }; template <> struct consume { @@ -5609,7 +5603,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUIElementWeakCollectionFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElementWeakCollection) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -5618,10 +5612,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) Exception() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Exception() const; + [[nodiscard]] auto Message() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -5630,10 +5624,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IVector3Transition { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Vector3TransitionComponents) Components() const; - WINRT_IMPL_AUTO(void) Components(winrt::Windows::UI::Xaml::Vector3TransitionComponents const& value) const; + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Components() const; + auto Components(winrt::Windows::UI::Xaml::Vector3TransitionComponents const& value) const; }; template <> struct consume { @@ -5642,7 +5636,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IVector3TransitionFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Vector3Transition) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -5651,9 +5645,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IVisualState { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::Storyboard) Storyboard() const; - WINRT_IMPL_AUTO(void) Storyboard(winrt::Windows::UI::Xaml::Media::Animation::Storyboard const& value) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Storyboard() const; + auto Storyboard(winrt::Windows::UI::Xaml::Media::Animation::Storyboard const& value) const; }; template <> struct consume { @@ -5662,8 +5656,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IVisualState2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::SetterBaseCollection) Setters() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) StateTriggers() const; + [[nodiscard]] auto Setters() const; + [[nodiscard]] auto StateTriggers() const; }; template <> struct consume { @@ -5672,12 +5666,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IVisualStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualState) OldState() const; - WINRT_IMPL_AUTO(void) OldState(winrt::Windows::UI::Xaml::VisualState const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualState) NewState() const; - WINRT_IMPL_AUTO(void) NewState(winrt::Windows::UI::Xaml::VisualState const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Control) Control() const; - WINRT_IMPL_AUTO(void) Control(winrt::Windows::UI::Xaml::Controls::Control const& value) const; + [[nodiscard]] auto OldState() const; + auto OldState(winrt::Windows::UI::Xaml::VisualState const& value) const; + [[nodiscard]] auto NewState() const; + auto NewState(winrt::Windows::UI::Xaml::VisualState const& value) const; + [[nodiscard]] auto Control() const; + auto Control(winrt::Windows::UI::Xaml::Controls::Control const& value) const; }; template <> struct consume { @@ -5686,18 +5680,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IVisualStateGroup { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Transitions() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) States() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualState) CurrentState() const; - WINRT_IMPL_AUTO(winrt::event_token) CurrentStateChanged(winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Transitions() const; + [[nodiscard]] auto States() const; + [[nodiscard]] auto CurrentState() const; + auto CurrentStateChanged(winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const; using CurrentStateChanged_revoker = impl::event_revoker::remove_CurrentStateChanged>; - [[nodiscard]] CurrentStateChanged_revoker CurrentStateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CurrentStateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CurrentStateChanging(winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const; + [[nodiscard]] auto CurrentStateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const; + auto CurrentStateChanged(winrt::event_token const& token) const noexcept; + auto CurrentStateChanging(winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const; using CurrentStateChanging_revoker = impl::event_revoker::remove_CurrentStateChanging>; - [[nodiscard]] CurrentStateChanging_revoker CurrentStateChanging(auto_revoke_t, winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CurrentStateChanging(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CurrentStateChanging(auto_revoke_t, winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const; + auto CurrentStateChanging(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -5714,7 +5708,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IVisualStateManagerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualStateManager) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -5723,7 +5717,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IVisualStateManagerOverrides { - WINRT_IMPL_AUTO(bool) GoToStateCore(winrt::Windows::UI::Xaml::Controls::Control const& control, winrt::Windows::UI::Xaml::FrameworkElement const& templateRoot, param::hstring const& stateName, winrt::Windows::UI::Xaml::VisualStateGroup const& group, winrt::Windows::UI::Xaml::VisualState const& state, bool useTransitions) const; + auto GoToStateCore(winrt::Windows::UI::Xaml::Controls::Control const& control, winrt::Windows::UI::Xaml::FrameworkElement const& templateRoot, param::hstring const& stateName, winrt::Windows::UI::Xaml::VisualStateGroup const& group, winrt::Windows::UI::Xaml::VisualState const& state, bool useTransitions) const; }; template <> struct consume { @@ -5732,8 +5726,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IVisualStateManagerProtected { - WINRT_IMPL_AUTO(void) RaiseCurrentStateChanging(winrt::Windows::UI::Xaml::VisualStateGroup const& stateGroup, winrt::Windows::UI::Xaml::VisualState const& oldState, winrt::Windows::UI::Xaml::VisualState const& newState, winrt::Windows::UI::Xaml::Controls::Control const& control) const; - WINRT_IMPL_AUTO(void) RaiseCurrentStateChanged(winrt::Windows::UI::Xaml::VisualStateGroup const& stateGroup, winrt::Windows::UI::Xaml::VisualState const& oldState, winrt::Windows::UI::Xaml::VisualState const& newState, winrt::Windows::UI::Xaml::Controls::Control const& control) const; + auto RaiseCurrentStateChanging(winrt::Windows::UI::Xaml::VisualStateGroup const& stateGroup, winrt::Windows::UI::Xaml::VisualState const& oldState, winrt::Windows::UI::Xaml::VisualState const& newState, winrt::Windows::UI::Xaml::Controls::Control const& control) const; + auto RaiseCurrentStateChanged(winrt::Windows::UI::Xaml::VisualStateGroup const& stateGroup, winrt::Windows::UI::Xaml::VisualState const& oldState, winrt::Windows::UI::Xaml::VisualState const& newState, winrt::Windows::UI::Xaml::Controls::Control const& control) const; }; template <> struct consume { @@ -5742,11 +5736,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IVisualStateManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetVisualStateGroups(winrt::Windows::UI::Xaml::FrameworkElement const& obj) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CustomVisualStateManagerProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualStateManager) GetCustomVisualStateManager(winrt::Windows::UI::Xaml::FrameworkElement const& obj) const; - WINRT_IMPL_AUTO(void) SetCustomVisualStateManager(winrt::Windows::UI::Xaml::FrameworkElement const& obj, winrt::Windows::UI::Xaml::VisualStateManager const& value) const; - WINRT_IMPL_AUTO(bool) GoToState(winrt::Windows::UI::Xaml::Controls::Control const& control, param::hstring const& stateName, bool useTransitions) const; + auto GetVisualStateGroups(winrt::Windows::UI::Xaml::FrameworkElement const& obj) const; + [[nodiscard]] auto CustomVisualStateManagerProperty() const; + auto GetCustomVisualStateManager(winrt::Windows::UI::Xaml::FrameworkElement const& obj) const; + auto SetCustomVisualStateManager(winrt::Windows::UI::Xaml::FrameworkElement const& obj, winrt::Windows::UI::Xaml::VisualStateManager const& value) const; + auto GoToState(winrt::Windows::UI::Xaml::Controls::Control const& control, param::hstring const& stateName, bool useTransitions) const; }; template <> struct consume { @@ -5755,16 +5749,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IVisualTransition { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) GeneratedDuration() const; - WINRT_IMPL_AUTO(void) GeneratedDuration(winrt::Windows::UI::Xaml::Duration const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) GeneratedEasingFunction() const; - WINRT_IMPL_AUTO(void) GeneratedEasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) To() const; - WINRT_IMPL_AUTO(void) To(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) From() const; - WINRT_IMPL_AUTO(void) From(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::Storyboard) Storyboard() const; - WINRT_IMPL_AUTO(void) Storyboard(winrt::Windows::UI::Xaml::Media::Animation::Storyboard const& value) const; + [[nodiscard]] auto GeneratedDuration() const; + auto GeneratedDuration(winrt::Windows::UI::Xaml::Duration const& value) const; + [[nodiscard]] auto GeneratedEasingFunction() const; + auto GeneratedEasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const; + [[nodiscard]] auto To() const; + auto To(param::hstring const& value) const; + [[nodiscard]] auto From() const; + auto From(param::hstring const& value) const; + [[nodiscard]] auto Storyboard() const; + auto Storyboard(winrt::Windows::UI::Xaml::Media::Animation::Storyboard const& value) const; }; template <> struct consume { @@ -5773,7 +5767,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IVisualTransitionFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualTransition) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -5782,30 +5776,30 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IWindow { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Bounds() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Visible() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Content() const; - WINRT_IMPL_AUTO(void) Content(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindow) CoreWindow() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) Dispatcher() const; - WINRT_IMPL_AUTO(winrt::event_token) Activated(winrt::Windows::UI::Xaml::WindowActivatedEventHandler const& handler) const; + [[nodiscard]] auto Bounds() const; + [[nodiscard]] auto Visible() const; + [[nodiscard]] auto Content() const; + auto Content(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto CoreWindow() const; + [[nodiscard]] auto Dispatcher() const; + auto Activated(winrt::Windows::UI::Xaml::WindowActivatedEventHandler const& handler) const; using Activated_revoker = impl::event_revoker::remove_Activated>; - [[nodiscard]] Activated_revoker Activated(auto_revoke_t, winrt::Windows::UI::Xaml::WindowActivatedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Activated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::UI::Xaml::WindowClosedEventHandler const& handler) const; + [[nodiscard]] auto Activated(auto_revoke_t, winrt::Windows::UI::Xaml::WindowActivatedEventHandler const& handler) const; + auto Activated(winrt::event_token const& token) const noexcept; + auto Closed(winrt::Windows::UI::Xaml::WindowClosedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::UI::Xaml::WindowClosedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SizeChanged(winrt::Windows::UI::Xaml::WindowSizeChangedEventHandler const& handler) const; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::UI::Xaml::WindowClosedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + auto SizeChanged(winrt::Windows::UI::Xaml::WindowSizeChangedEventHandler const& handler) const; using SizeChanged_revoker = impl::event_revoker::remove_SizeChanged>; - [[nodiscard]] SizeChanged_revoker SizeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::WindowSizeChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SizeChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) VisibilityChanged(winrt::Windows::UI::Xaml::WindowVisibilityChangedEventHandler const& handler) const; + [[nodiscard]] auto SizeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::WindowSizeChangedEventHandler const& handler) const; + auto SizeChanged(winrt::event_token const& token) const noexcept; + auto VisibilityChanged(winrt::Windows::UI::Xaml::WindowVisibilityChangedEventHandler const& handler) const; using VisibilityChanged_revoker = impl::event_revoker::remove_VisibilityChanged>; - [[nodiscard]] VisibilityChanged_revoker VisibilityChanged(auto_revoke_t, winrt::Windows::UI::Xaml::WindowVisibilityChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VisibilityChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Activate() const; - WINRT_IMPL_AUTO(void) Close() const; + [[nodiscard]] auto VisibilityChanged(auto_revoke_t, winrt::Windows::UI::Xaml::WindowVisibilityChangedEventHandler const& handler) const; + auto VisibilityChanged(winrt::event_token const& token) const noexcept; + auto Activate() const; + auto Close() const; }; template <> struct consume { @@ -5814,7 +5808,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IWindow2 { - WINRT_IMPL_AUTO(void) SetTitleBar(winrt::Windows::UI::Xaml::UIElement const& value) const; + auto SetTitleBar(winrt::Windows::UI::Xaml::UIElement const& value) const; }; template <> struct consume { @@ -5823,7 +5817,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IWindow3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Compositor) Compositor() const; + [[nodiscard]] auto Compositor() const; }; template <> struct consume { @@ -5832,7 +5826,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IWindow4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) UIContext() const; + [[nodiscard]] auto UIContext() const; }; template <> struct consume { @@ -5841,7 +5835,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IWindowCreatedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Window) Window() const; + [[nodiscard]] auto Window() const; }; template <> struct consume { @@ -5850,7 +5844,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IWindowStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Window) Current() const; + [[nodiscard]] auto Current() const; }; template <> struct consume { @@ -5859,15 +5853,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_IXamlRoot { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Content() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) Size() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RasterizationScale() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHostVisible() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) UIContext() const; - WINRT_IMPL_AUTO(winrt::event_token) Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Content() const; + [[nodiscard]] auto Size() const; + [[nodiscard]] auto RasterizationScale() const; + [[nodiscard]] auto IsHostVisible() const; + [[nodiscard]] auto UIContext() const; + auto Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Changed_revoker = impl::event_revoker::remove_Changed>; - [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Changed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Changed(winrt::event_token const& token) const noexcept; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.1.h index b16fbb3b..38252ae8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.2.h index c248eab1..bb61b7c5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_2_H @@ -10,7 +10,6 @@ #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.UI.Composition.2.h" #include "winrt/impl/Windows.UI.Core.2.h" -#include "winrt/impl/Windows.UI.Xaml.Automation.Peers.2.h" #include "winrt/impl/Windows.UI.Xaml.Controls.2.h" #include "winrt/impl/Windows.UI.Xaml.Controls.Primitives.2.h" #include "winrt/impl/Windows.UI.Xaml.Input.2.h" @@ -921,15 +920,15 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml D const& shim() const noexcept { return *static_cast(this); } public: using IApplicationOverrides = winrt::Windows::UI::Xaml::IApplicationOverrides; - WINRT_IMPL_AUTO(void) OnActivated(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnLaunched(winrt::Windows::ApplicationModel::Activation::LaunchActivatedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnFileActivated(winrt::Windows::ApplicationModel::Activation::FileActivatedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnSearchActivated(winrt::Windows::ApplicationModel::Activation::SearchActivatedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnShareTargetActivated(winrt::Windows::ApplicationModel::Activation::ShareTargetActivatedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnFileOpenPickerActivated(winrt::Windows::ApplicationModel::Activation::FileOpenPickerActivatedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnFileSavePickerActivated(winrt::Windows::ApplicationModel::Activation::FileSavePickerActivatedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnCachedFileUpdaterActivated(winrt::Windows::ApplicationModel::Activation::CachedFileUpdaterActivatedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnWindowCreated(winrt::Windows::UI::Xaml::WindowCreatedEventArgs const& args) const; + auto OnActivated(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& args) const; + auto OnLaunched(winrt::Windows::ApplicationModel::Activation::LaunchActivatedEventArgs const& args) const; + auto OnFileActivated(winrt::Windows::ApplicationModel::Activation::FileActivatedEventArgs const& args) const; + auto OnSearchActivated(winrt::Windows::ApplicationModel::Activation::SearchActivatedEventArgs const& args) const; + auto OnShareTargetActivated(winrt::Windows::ApplicationModel::Activation::ShareTargetActivatedEventArgs const& args) const; + auto OnFileOpenPickerActivated(winrt::Windows::ApplicationModel::Activation::FileOpenPickerActivatedEventArgs const& args) const; + auto OnFileSavePickerActivated(winrt::Windows::ApplicationModel::Activation::FileSavePickerActivatedEventArgs const& args) const; + auto OnCachedFileUpdaterActivated(winrt::Windows::ApplicationModel::Activation::CachedFileUpdaterActivatedEventArgs const& args) const; + auto OnWindowCreated(winrt::Windows::UI::Xaml::WindowCreatedEventArgs const& args) const; }; template class IApplicationOverrides2T @@ -938,7 +937,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml D const& shim() const noexcept { return *static_cast(this); } public: using IApplicationOverrides2 = winrt::Windows::UI::Xaml::IApplicationOverrides2; - WINRT_IMPL_AUTO(void) OnBackgroundActivated(winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs const& args) const; + auto OnBackgroundActivated(winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs const& args) const; }; template class IFrameworkElementOverridesT @@ -947,9 +946,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml D const& shim() const noexcept { return *static_cast(this); } public: using IFrameworkElementOverrides = winrt::Windows::UI::Xaml::IFrameworkElementOverrides; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) MeasureOverride(winrt::Windows::Foundation::Size const& availableSize) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) ArrangeOverride(winrt::Windows::Foundation::Size const& finalSize) const; - WINRT_IMPL_AUTO(void) OnApplyTemplate() const; + auto MeasureOverride(winrt::Windows::Foundation::Size const& availableSize) const; + auto ArrangeOverride(winrt::Windows::Foundation::Size const& finalSize) const; + auto OnApplyTemplate() const; }; template class IFrameworkElementOverrides2T @@ -958,7 +957,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml D const& shim() const noexcept { return *static_cast(this); } public: using IFrameworkElementOverrides2 = winrt::Windows::UI::Xaml::IFrameworkElementOverrides2; - WINRT_IMPL_AUTO(bool) GoToElementStateCore(param::hstring const& stateName, bool useTransitions) const; + auto GoToElementStateCore(param::hstring const& stateName, bool useTransitions) const; }; template class IUIElementOverridesT @@ -967,9 +966,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml D const& shim() const noexcept { return *static_cast(this); } public: using IUIElementOverrides = winrt::Windows::UI::Xaml::IUIElementOverrides; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) OnCreateAutomationPeer() const; - WINRT_IMPL_AUTO(void) OnDisconnectVisualChildren() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable>) FindSubElementsForTouchTargeting(winrt::Windows::Foundation::Point const& point, winrt::Windows::Foundation::Rect const& boundingRect) const; + auto OnCreateAutomationPeer() const; + auto OnDisconnectVisualChildren() const; + auto FindSubElementsForTouchTargeting(winrt::Windows::Foundation::Point const& point, winrt::Windows::Foundation::Rect const& boundingRect) const; }; template class IUIElementOverrides7T @@ -978,8 +977,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml D const& shim() const noexcept { return *static_cast(this); } public: using IUIElementOverrides7 = winrt::Windows::UI::Xaml::IUIElementOverrides7; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) GetChildrenInTabFocusOrder() const; - WINRT_IMPL_AUTO(void) OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const; + auto GetChildrenInTabFocusOrder() const; + auto OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const; }; template class IUIElementOverrides8T @@ -988,8 +987,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml D const& shim() const noexcept { return *static_cast(this); } public: using IUIElementOverrides8 = winrt::Windows::UI::Xaml::IUIElementOverrides8; - WINRT_IMPL_AUTO(void) OnKeyboardAcceleratorInvoked(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnBringIntoViewRequested(winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs const& e) const; + auto OnKeyboardAcceleratorInvoked(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs const& args) const; + auto OnBringIntoViewRequested(winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs const& e) const; }; template class IUIElementOverrides9T @@ -998,7 +997,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml D const& shim() const noexcept { return *static_cast(this); } public: using IUIElementOverrides9 = winrt::Windows::UI::Xaml::IUIElementOverrides9; - WINRT_IMPL_AUTO(void) PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const; + auto PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const; }; template class IVisualStateManagerOverridesT @@ -1007,7 +1006,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml D const& shim() const noexcept { return *static_cast(this); } public: using IVisualStateManagerOverrides = winrt::Windows::UI::Xaml::IVisualStateManagerOverrides; - WINRT_IMPL_AUTO(bool) GoToStateCore(winrt::Windows::UI::Xaml::Controls::Control const& control, winrt::Windows::UI::Xaml::FrameworkElement const& templateRoot, param::hstring const& stateName, winrt::Windows::UI::Xaml::VisualStateGroup const& group, winrt::Windows::UI::Xaml::VisualState const& state, bool useTransitions) const; + auto GoToStateCore(winrt::Windows::UI::Xaml::Controls::Control const& control, winrt::Windows::UI::Xaml::FrameworkElement const& templateRoot, param::hstring const& stateName, winrt::Windows::UI::Xaml::VisualStateGroup const& group, winrt::Windows::UI::Xaml::VisualState const& state, bool useTransitions) const; }; } #endif diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.0.h index eaaf967f..dedea7d5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.0.h @@ -1,12 +1,8 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_0_H #define WINRT_Windows_UI_Xaml_Automation_0_H -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::UI::Xaml { struct DependencyObject; @@ -1212,11 +1208,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) AnnotationTypeIdProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) AnnotationTypeNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) AuthorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) DateTimeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) TargetProperty() const; + [[nodiscard]] auto AnnotationTypeIdProperty() const; + [[nodiscard]] auto AnnotationTypeNameProperty() const; + [[nodiscard]] auto AuthorProperty() const; + [[nodiscard]] auto DateTimeProperty() const; + [[nodiscard]] auto TargetProperty() const; }; template <> struct consume { @@ -1225,10 +1221,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationAnnotation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AnnotationType) Type() const; - WINRT_IMPL_AUTO(void) Type(winrt::Windows::UI::Xaml::Automation::AnnotationType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Element() const; - WINRT_IMPL_AUTO(void) Element(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto Type() const; + auto Type(winrt::Windows::UI::Xaml::Automation::AnnotationType const& value) const; + [[nodiscard]] auto Element() const; + auto Element(winrt::Windows::UI::Xaml::UIElement const& value) const; }; template <> struct consume { @@ -1237,8 +1233,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationAnnotationFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationAnnotation) CreateInstance(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationAnnotation) CreateWithElementParameter(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type, winrt::Windows::UI::Xaml::UIElement const& element) const; + auto CreateInstance(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type) const; + auto CreateWithElementParameter(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type, winrt::Windows::UI::Xaml::UIElement const& element) const; }; template <> struct consume { @@ -1247,8 +1243,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationAnnotationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TypeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ElementProperty() const; + [[nodiscard]] auto TypeProperty() const; + [[nodiscard]] auto ElementProperty() const; }; template <> struct consume { @@ -1265,29 +1261,29 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) AcceleratorKeyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) AccessKeyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) AutomationIdProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) BoundingRectangleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ClassNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ClickablePointProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ControlTypeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) HasKeyboardFocusProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) HelpTextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsContentElementProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsControlElementProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsKeyboardFocusableProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsOffscreenProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsPasswordProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsRequiredForFormProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ItemStatusProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ItemTypeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) LabeledByProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) LocalizedControlTypeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) NameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) OrientationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) LiveSettingProperty() const; + [[nodiscard]] auto AcceleratorKeyProperty() const; + [[nodiscard]] auto AccessKeyProperty() const; + [[nodiscard]] auto AutomationIdProperty() const; + [[nodiscard]] auto BoundingRectangleProperty() const; + [[nodiscard]] auto ClassNameProperty() const; + [[nodiscard]] auto ClickablePointProperty() const; + [[nodiscard]] auto ControlTypeProperty() const; + [[nodiscard]] auto HasKeyboardFocusProperty() const; + [[nodiscard]] auto HelpTextProperty() const; + [[nodiscard]] auto IsContentElementProperty() const; + [[nodiscard]] auto IsControlElementProperty() const; + [[nodiscard]] auto IsEnabledProperty() const; + [[nodiscard]] auto IsKeyboardFocusableProperty() const; + [[nodiscard]] auto IsOffscreenProperty() const; + [[nodiscard]] auto IsPasswordProperty() const; + [[nodiscard]] auto IsRequiredForFormProperty() const; + [[nodiscard]] auto ItemStatusProperty() const; + [[nodiscard]] auto ItemTypeProperty() const; + [[nodiscard]] auto LabeledByProperty() const; + [[nodiscard]] auto LocalizedControlTypeProperty() const; + [[nodiscard]] auto NameProperty() const; + [[nodiscard]] auto OrientationProperty() const; + [[nodiscard]] auto LiveSettingProperty() const; }; template <> struct consume { @@ -1296,7 +1292,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ControlledPeersProperty() const; + [[nodiscard]] auto ControlledPeersProperty() const; }; template <> struct consume { @@ -1305,10 +1301,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) PositionInSetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) SizeOfSetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) LevelProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) AnnotationsProperty() const; + [[nodiscard]] auto PositionInSetProperty() const; + [[nodiscard]] auto SizeOfSetProperty() const; + [[nodiscard]] auto LevelProperty() const; + [[nodiscard]] auto AnnotationsProperty() const; }; template <> struct consume { @@ -1317,8 +1313,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) LandmarkTypeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) LocalizedLandmarkTypeProperty() const; + [[nodiscard]] auto LandmarkTypeProperty() const; + [[nodiscard]] auto LocalizedLandmarkTypeProperty() const; }; template <> struct consume { @@ -1327,12 +1323,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsPeripheralProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsDataValidForFormProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) FullDescriptionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) DescribedByProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) FlowsToProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) FlowsFromProperty() const; + [[nodiscard]] auto IsPeripheralProperty() const; + [[nodiscard]] auto IsDataValidForFormProperty() const; + [[nodiscard]] auto FullDescriptionProperty() const; + [[nodiscard]] auto DescribedByProperty() const; + [[nodiscard]] auto FlowsToProperty() const; + [[nodiscard]] auto FlowsFromProperty() const; }; template <> struct consume { @@ -1341,7 +1337,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) CultureProperty() const; + [[nodiscard]] auto CultureProperty() const; }; template <> struct consume { @@ -1350,7 +1346,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) HeadingLevelProperty() const; + [[nodiscard]] auto HeadingLevelProperty() const; }; template <> struct consume { @@ -1359,7 +1355,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics8 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsDialogProperty() const; + [[nodiscard]] auto IsDialogProperty() const; }; template <> struct consume { @@ -1376,36 +1372,36 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AcceleratorKeyProperty() const; - WINRT_IMPL_AUTO(hstring) GetAcceleratorKey(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetAcceleratorKey(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AccessKeyProperty() const; - WINRT_IMPL_AUTO(hstring) GetAccessKey(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetAccessKey(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AutomationIdProperty() const; - WINRT_IMPL_AUTO(hstring) GetAutomationId(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetAutomationId(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HelpTextProperty() const; - WINRT_IMPL_AUTO(hstring) GetHelpText(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetHelpText(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsRequiredForFormProperty() const; - WINRT_IMPL_AUTO(bool) GetIsRequiredForForm(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetIsRequiredForForm(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemStatusProperty() const; - WINRT_IMPL_AUTO(hstring) GetItemStatus(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetItemStatus(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemTypeProperty() const; - WINRT_IMPL_AUTO(hstring) GetItemType(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetItemType(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LabeledByProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) GetLabeledBy(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetLabeledBy(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) NameProperty() const; - WINRT_IMPL_AUTO(hstring) GetName(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetName(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LiveSettingProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting) GetLiveSetting(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetLiveSetting(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting const& value) const; + [[nodiscard]] auto AcceleratorKeyProperty() const; + auto GetAcceleratorKey(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetAcceleratorKey(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; + [[nodiscard]] auto AccessKeyProperty() const; + auto GetAccessKey(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetAccessKey(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; + [[nodiscard]] auto AutomationIdProperty() const; + auto GetAutomationId(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetAutomationId(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; + [[nodiscard]] auto HelpTextProperty() const; + auto GetHelpText(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetHelpText(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; + [[nodiscard]] auto IsRequiredForFormProperty() const; + auto GetIsRequiredForForm(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetIsRequiredForForm(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto ItemStatusProperty() const; + auto GetItemStatus(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetItemStatus(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; + [[nodiscard]] auto ItemTypeProperty() const; + auto GetItemType(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetItemType(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; + [[nodiscard]] auto LabeledByProperty() const; + auto GetLabeledBy(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetLabeledBy(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto NameProperty() const; + auto GetName(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetName(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; + [[nodiscard]] auto LiveSettingProperty() const; + auto GetLiveSetting(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetLiveSetting(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting const& value) const; }; template <> struct consume { @@ -1414,11 +1410,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AccessibilityViewProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AccessibilityView) GetAccessibilityView(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetAccessibilityView(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AccessibilityView const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ControlledPeersProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetControlledPeers(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + [[nodiscard]] auto AccessibilityViewProperty() const; + auto GetAccessibilityView(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetAccessibilityView(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AccessibilityView const& value) const; + [[nodiscard]] auto ControlledPeersProperty() const; + auto GetControlledPeers(winrt::Windows::UI::Xaml::DependencyObject const& element) const; }; template <> struct consume { @@ -1427,17 +1423,17 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PositionInSetProperty() const; - WINRT_IMPL_AUTO(int32_t) GetPositionInSet(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetPositionInSet(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SizeOfSetProperty() const; - WINRT_IMPL_AUTO(int32_t) GetSizeOfSet(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetSizeOfSet(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LevelProperty() const; - WINRT_IMPL_AUTO(int32_t) GetLevel(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetLevel(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AnnotationsProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetAnnotations(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + [[nodiscard]] auto PositionInSetProperty() const; + auto GetPositionInSet(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetPositionInSet(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const; + [[nodiscard]] auto SizeOfSetProperty() const; + auto GetSizeOfSet(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetSizeOfSet(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const; + [[nodiscard]] auto LevelProperty() const; + auto GetLevel(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetLevel(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const; + [[nodiscard]] auto AnnotationsProperty() const; + auto GetAnnotations(winrt::Windows::UI::Xaml::DependencyObject const& element) const; }; template <> struct consume { @@ -1446,12 +1442,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LandmarkTypeProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType) GetLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LocalizedLandmarkTypeProperty() const; - WINRT_IMPL_AUTO(hstring) GetLocalizedLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetLocalizedLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; + [[nodiscard]] auto LandmarkTypeProperty() const; + auto GetLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType const& value) const; + [[nodiscard]] auto LocalizedLandmarkTypeProperty() const; + auto GetLocalizedLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetLocalizedLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; }; template <> struct consume { @@ -1460,24 +1456,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsPeripheralProperty() const; - WINRT_IMPL_AUTO(bool) GetIsPeripheral(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetIsPeripheral(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsDataValidForFormProperty() const; - WINRT_IMPL_AUTO(bool) GetIsDataValidForForm(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetIsDataValidForForm(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FullDescriptionProperty() const; - WINRT_IMPL_AUTO(hstring) GetFullDescription(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetFullDescription(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LocalizedControlTypeProperty() const; - WINRT_IMPL_AUTO(hstring) GetLocalizedControlType(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetLocalizedControlType(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DescribedByProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetDescribedBy(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FlowsToProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetFlowsTo(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FlowsFromProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetFlowsFrom(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + [[nodiscard]] auto IsPeripheralProperty() const; + auto GetIsPeripheral(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetIsPeripheral(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto IsDataValidForFormProperty() const; + auto GetIsDataValidForForm(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetIsDataValidForForm(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto FullDescriptionProperty() const; + auto GetFullDescription(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetFullDescription(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; + [[nodiscard]] auto LocalizedControlTypeProperty() const; + auto GetLocalizedControlType(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetLocalizedControlType(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; + [[nodiscard]] auto DescribedByProperty() const; + auto GetDescribedBy(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + [[nodiscard]] auto FlowsToProperty() const; + auto GetFlowsTo(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + [[nodiscard]] auto FlowsFromProperty() const; + auto GetFlowsFrom(winrt::Windows::UI::Xaml::DependencyObject const& element) const; }; template <> struct consume { @@ -1486,9 +1482,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CultureProperty() const; - WINRT_IMPL_AUTO(int32_t) GetCulture(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetCulture(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const; + [[nodiscard]] auto CultureProperty() const; + auto GetCulture(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetCulture(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const; }; template <> struct consume { @@ -1497,9 +1493,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeadingLevelProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel) GetHeadingLevel(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetHeadingLevel(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel const& value) const; + [[nodiscard]] auto HeadingLevelProperty() const; + auto GetHeadingLevel(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetHeadingLevel(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel const& value) const; }; template <> struct consume { @@ -1508,9 +1504,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics8 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsDialogProperty() const; - WINRT_IMPL_AUTO(bool) GetIsDialog(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetIsDialog(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto IsDialogProperty() const; + auto GetIsDialog(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetIsDialog(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; }; template <> struct consume { @@ -1535,7 +1531,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IDockPatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) DockPositionProperty() const; + [[nodiscard]] auto DockPositionProperty() const; }; template <> struct consume { @@ -1552,10 +1548,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) DropEffectProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) DropEffectsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) GrabbedItemsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsGrabbedProperty() const; + [[nodiscard]] auto DropEffectProperty() const; + [[nodiscard]] auto DropEffectsProperty() const; + [[nodiscard]] auto GrabbedItemsProperty() const; + [[nodiscard]] auto IsGrabbedProperty() const; }; template <> struct consume { @@ -1572,8 +1568,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IDropTargetPatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) DropTargetEffectProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) DropTargetEffectsProperty() const; + [[nodiscard]] auto DropTargetEffectProperty() const; + [[nodiscard]] auto DropTargetEffectsProperty() const; }; template <> struct consume { @@ -1590,7 +1586,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IExpandCollapsePatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ExpandCollapseStateProperty() const; + [[nodiscard]] auto ExpandCollapseStateProperty() const; }; template <> struct consume { @@ -1607,11 +1603,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ColumnProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ColumnSpanProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ContainingGridProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) RowProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) RowSpanProperty() const; + [[nodiscard]] auto ColumnProperty() const; + [[nodiscard]] auto ColumnSpanProperty() const; + [[nodiscard]] auto ContainingGridProperty() const; + [[nodiscard]] auto RowProperty() const; + [[nodiscard]] auto RowSpanProperty() const; }; template <> struct consume { @@ -1628,8 +1624,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IGridPatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ColumnCountProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) RowCountProperty() const; + [[nodiscard]] auto ColumnCountProperty() const; + [[nodiscard]] auto RowCountProperty() const; }; template <> struct consume { @@ -1646,8 +1642,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IMultipleViewPatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) CurrentViewProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) SupportedViewsProperty() const; + [[nodiscard]] auto CurrentViewProperty() const; + [[nodiscard]] auto SupportedViewsProperty() const; }; template <> struct consume { @@ -1664,12 +1660,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsReadOnlyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) LargeChangeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) MaximumProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) MinimumProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) SmallChangeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ValueProperty() const; + [[nodiscard]] auto IsReadOnlyProperty() const; + [[nodiscard]] auto LargeChangeProperty() const; + [[nodiscard]] auto MaximumProperty() const; + [[nodiscard]] auto MinimumProperty() const; + [[nodiscard]] auto SmallChangeProperty() const; + [[nodiscard]] auto ValueProperty() const; }; template <> struct consume { @@ -1686,13 +1682,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) HorizontallyScrollableProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) HorizontalScrollPercentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) HorizontalViewSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) NoScroll() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) VerticallyScrollableProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) VerticalScrollPercentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) VerticalViewSizeProperty() const; + [[nodiscard]] auto HorizontallyScrollableProperty() const; + [[nodiscard]] auto HorizontalScrollPercentProperty() const; + [[nodiscard]] auto HorizontalViewSizeProperty() const; + [[nodiscard]] auto NoScroll() const; + [[nodiscard]] auto VerticallyScrollableProperty() const; + [[nodiscard]] auto VerticalScrollPercentProperty() const; + [[nodiscard]] auto VerticalViewSizeProperty() const; }; template <> struct consume { @@ -1709,8 +1705,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_ISelectionItemPatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsSelectedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) SelectionContainerProperty() const; + [[nodiscard]] auto IsSelectedProperty() const; + [[nodiscard]] auto SelectionContainerProperty() const; }; template <> struct consume { @@ -1727,9 +1723,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_ISelectionPatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) CanSelectMultipleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsSelectionRequiredProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) SelectionProperty() const; + [[nodiscard]] auto CanSelectMultipleProperty() const; + [[nodiscard]] auto IsSelectionRequiredProperty() const; + [[nodiscard]] auto SelectionProperty() const; }; template <> struct consume { @@ -1746,7 +1742,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_ISpreadsheetItemPatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) FormulaProperty() const; + [[nodiscard]] auto FormulaProperty() const; }; template <> struct consume { @@ -1763,13 +1759,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ExtendedPropertiesProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) FillColorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) FillPatternColorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) FillPatternStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ShapeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) StyleIdProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) StyleNameProperty() const; + [[nodiscard]] auto ExtendedPropertiesProperty() const; + [[nodiscard]] auto FillColorProperty() const; + [[nodiscard]] auto FillPatternColorProperty() const; + [[nodiscard]] auto FillPatternStyleProperty() const; + [[nodiscard]] auto ShapeProperty() const; + [[nodiscard]] auto StyleIdProperty() const; + [[nodiscard]] auto StyleNameProperty() const; }; template <> struct consume { @@ -1786,8 +1782,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_ITableItemPatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ColumnHeaderItemsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) RowHeaderItemsProperty() const; + [[nodiscard]] auto ColumnHeaderItemsProperty() const; + [[nodiscard]] auto RowHeaderItemsProperty() const; }; template <> struct consume { @@ -1804,9 +1800,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_ITablePatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ColumnHeadersProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) RowHeadersProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) RowOrColumnMajorProperty() const; + [[nodiscard]] auto ColumnHeadersProperty() const; + [[nodiscard]] auto RowHeadersProperty() const; + [[nodiscard]] auto RowOrColumnMajorProperty() const; }; template <> struct consume { @@ -1823,7 +1819,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_ITogglePatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ToggleStateProperty() const; + [[nodiscard]] auto ToggleStateProperty() const; }; template <> struct consume { @@ -1840,10 +1836,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) CanZoomProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ZoomLevelProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) MaxZoomProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) MinZoomProperty() const; + [[nodiscard]] auto CanZoomProperty() const; + [[nodiscard]] auto ZoomLevelProperty() const; + [[nodiscard]] auto MaxZoomProperty() const; + [[nodiscard]] auto MinZoomProperty() const; }; template <> struct consume { @@ -1860,9 +1856,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_ITransformPatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) CanMoveProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) CanResizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) CanRotateProperty() const; + [[nodiscard]] auto CanMoveProperty() const; + [[nodiscard]] auto CanResizeProperty() const; + [[nodiscard]] auto CanRotateProperty() const; }; template <> struct consume { @@ -1879,8 +1875,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IValuePatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsReadOnlyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) ValueProperty() const; + [[nodiscard]] auto IsReadOnlyProperty() const; + [[nodiscard]] auto ValueProperty() const; }; template <> struct consume { @@ -1897,12 +1893,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) CanMaximizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) CanMinimizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsModalProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) IsTopmostProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) WindowInteractionStateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) WindowVisualStateProperty() const; + [[nodiscard]] auto CanMaximizeProperty() const; + [[nodiscard]] auto CanMinimizeProperty() const; + [[nodiscard]] auto IsModalProperty() const; + [[nodiscard]] auto IsTopmostProperty() const; + [[nodiscard]] auto WindowInteractionStateProperty() const; + [[nodiscard]] auto WindowVisualStateProperty() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.1.h index c606dea5..70c74c36 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.2.h index 2a7f5f0b..60014ab7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.0.h index 904d5e35..6d29f7d4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_Peers_0_H @@ -10,9 +10,7 @@ WINRT_EXPORT namespace winrt::Windows::Foundation } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { - template struct __declspec(empty_bases) IIterable; template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::UI::Xaml { @@ -2836,7 +2834,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAppBarAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AppBarAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AppBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AppBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2853,7 +2851,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAppBarButtonAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AppBarButtonAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AppBarButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AppBarButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2870,7 +2868,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAppBarToggleButtonAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AppBarToggleButtonAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AppBarToggleButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AppBarToggleButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2887,7 +2885,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutoSuggestBoxAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutoSuggestBoxAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox const& owner) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox const& owner) const; }; template <> struct consume { @@ -2896,39 +2894,39 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) EventsSource() const; - WINRT_IMPL_AUTO(void) EventsSource(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetPattern(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const; - WINRT_IMPL_AUTO(void) RaiseAutomationEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationEvents const& eventId) const; - WINRT_IMPL_AUTO(void) RaisePropertyChangedEvent(winrt::Windows::UI::Xaml::Automation::AutomationProperty const& automationProperty, winrt::Windows::Foundation::IInspectable const& oldValue, winrt::Windows::Foundation::IInspectable const& newValue) const; - WINRT_IMPL_AUTO(hstring) GetAcceleratorKey() const; - WINRT_IMPL_AUTO(hstring) GetAccessKey() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType) GetAutomationControlType() const; - WINRT_IMPL_AUTO(hstring) GetAutomationId() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) GetBoundingRectangle() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetChildren() const; - WINRT_IMPL_AUTO(hstring) GetClassName() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) GetClickablePoint() const; - WINRT_IMPL_AUTO(hstring) GetHelpText() const; - WINRT_IMPL_AUTO(hstring) GetItemStatus() const; - WINRT_IMPL_AUTO(hstring) GetItemType() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) GetLabeledBy() const; - WINRT_IMPL_AUTO(hstring) GetLocalizedControlType() const; - WINRT_IMPL_AUTO(hstring) GetName() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationOrientation) GetOrientation() const; - WINRT_IMPL_AUTO(bool) HasKeyboardFocus() const; - WINRT_IMPL_AUTO(bool) IsContentElement() const; - WINRT_IMPL_AUTO(bool) IsControlElement() const; - WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(bool) IsKeyboardFocusable() const; - WINRT_IMPL_AUTO(bool) IsOffscreen() const; - WINRT_IMPL_AUTO(bool) IsPassword() const; - WINRT_IMPL_AUTO(bool) IsRequiredForForm() const; - WINRT_IMPL_AUTO(void) SetFocus() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) GetParent() const; - WINRT_IMPL_AUTO(void) InvalidatePeer() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) GetPeerFromPoint(winrt::Windows::Foundation::Point const& point) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting) GetLiveSetting() const; + [[nodiscard]] auto EventsSource() const; + auto EventsSource(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& value) const; + auto GetPattern(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const; + auto RaiseAutomationEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationEvents const& eventId) const; + auto RaisePropertyChangedEvent(winrt::Windows::UI::Xaml::Automation::AutomationProperty const& automationProperty, winrt::Windows::Foundation::IInspectable const& oldValue, winrt::Windows::Foundation::IInspectable const& newValue) const; + auto GetAcceleratorKey() const; + auto GetAccessKey() const; + auto GetAutomationControlType() const; + auto GetAutomationId() const; + auto GetBoundingRectangle() const; + auto GetChildren() const; + auto GetClassName() const; + auto GetClickablePoint() const; + auto GetHelpText() const; + auto GetItemStatus() const; + auto GetItemType() const; + auto GetLabeledBy() const; + auto GetLocalizedControlType() const; + auto GetName() const; + auto GetOrientation() const; + auto HasKeyboardFocus() const; + auto IsContentElement() const; + auto IsControlElement() const; + auto IsEnabled() const; + auto IsKeyboardFocusable() const; + auto IsOffscreen() const; + auto IsPassword() const; + auto IsRequiredForForm() const; + auto SetFocus() const; + auto GetParent() const; + auto InvalidatePeer() const; + auto GetPeerFromPoint(winrt::Windows::Foundation::Point const& point) const; + auto GetLiveSetting() const; }; template <> struct consume { @@ -2945,18 +2943,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Navigate(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetElementFromPoint(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetFocusedElement() const; - WINRT_IMPL_AUTO(void) ShowContextMenu() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetControlledPeers() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetAnnotations() const; - WINRT_IMPL_AUTO(void) SetParent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const; - WINRT_IMPL_AUTO(void) RaiseTextEditTextChangedEvent(winrt::Windows::UI::Xaml::Automation::AutomationTextEditChangeType const& automationTextEditChangeType, param::vector_view const& changedData) const; - WINRT_IMPL_AUTO(int32_t) GetPositionInSet() const; - WINRT_IMPL_AUTO(int32_t) GetSizeOfSet() const; - WINRT_IMPL_AUTO(int32_t) GetLevel() const; - WINRT_IMPL_AUTO(void) RaiseStructureChangedEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationStructureChangeType const& structureChangeType, winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& child) const; + auto Navigate(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const; + auto GetElementFromPoint(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const; + auto GetFocusedElement() const; + auto ShowContextMenu() const; + auto GetControlledPeers() const; + auto GetAnnotations() const; + auto SetParent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const; + auto RaiseTextEditTextChangedEvent(winrt::Windows::UI::Xaml::Automation::AutomationTextEditChangeType const& automationTextEditChangeType, param::vector_view const& changedData) const; + auto GetPositionInSet() const; + auto GetSizeOfSet() const; + auto GetLevel() const; + auto RaiseStructureChangedEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationStructureChangeType const& structureChangeType, winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& child) const; }; template <> struct consume { @@ -2965,8 +2963,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer4 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType) GetLandmarkType() const; - WINRT_IMPL_AUTO(hstring) GetLocalizedLandmarkType() const; + auto GetLandmarkType() const; + auto GetLocalizedLandmarkType() const; }; template <> struct consume { @@ -2975,9 +2973,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer5 { - WINRT_IMPL_AUTO(bool) IsPeripheral() const; - WINRT_IMPL_AUTO(bool) IsDataValidForForm() const; - WINRT_IMPL_AUTO(hstring) GetFullDescription() const; + auto IsPeripheral() const; + auto IsDataValidForForm() const; + auto GetFullDescription() const; }; template <> struct consume { @@ -2986,7 +2984,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer6 { - WINRT_IMPL_AUTO(int32_t) GetCulture() const; + auto GetCulture() const; }; template <> struct consume { @@ -2995,7 +2993,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer7 { - WINRT_IMPL_AUTO(void) RaiseNotificationEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNotificationKind const& notificationKind, winrt::Windows::UI::Xaml::Automation::Peers::AutomationNotificationProcessing const& notificationProcessing, param::hstring const& displayString, param::hstring const& activityId) const; + auto RaiseNotificationEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNotificationKind const& notificationKind, winrt::Windows::UI::Xaml::Automation::Peers::AutomationNotificationProcessing const& notificationProcessing, param::hstring const& displayString, param::hstring const& activityId) const; }; template <> struct consume { @@ -3004,7 +3002,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer8 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel) GetHeadingLevel() const; + auto GetHeadingLevel() const; }; template <> struct consume { @@ -3013,7 +3011,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer9 { - WINRT_IMPL_AUTO(bool) IsDialog() const; + auto IsDialog() const; }; template <> struct consume { @@ -3022,10 +3020,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AnnotationType) Type() const; - WINRT_IMPL_AUTO(void) Type(winrt::Windows::UI::Xaml::Automation::AnnotationType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) Peer() const; - WINRT_IMPL_AUTO(void) Peer(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& value) const; + [[nodiscard]] auto Type() const; + auto Type(winrt::Windows::UI::Xaml::Automation::AnnotationType const& value) const; + [[nodiscard]] auto Peer() const; + auto Peer(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& value) const; }; template <> struct consume { @@ -3034,8 +3032,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation) CreateInstance(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation) CreateWithPeerParameter(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type, winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const; + auto CreateInstance(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type) const; + auto CreateWithPeerParameter(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type, winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const; }; template <> struct consume { @@ -3044,8 +3042,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TypeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PeerProperty() const; + [[nodiscard]] auto TypeProperty() const; + [[nodiscard]] auto PeerProperty() const; }; template <> struct consume { @@ -3054,7 +3052,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3063,33 +3061,33 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetPatternCore(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const; - WINRT_IMPL_AUTO(hstring) GetAcceleratorKeyCore() const; - WINRT_IMPL_AUTO(hstring) GetAccessKeyCore() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType) GetAutomationControlTypeCore() const; - WINRT_IMPL_AUTO(hstring) GetAutomationIdCore() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) GetBoundingRectangleCore() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetChildrenCore() const; - WINRT_IMPL_AUTO(hstring) GetClassNameCore() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) GetClickablePointCore() const; - WINRT_IMPL_AUTO(hstring) GetHelpTextCore() const; - WINRT_IMPL_AUTO(hstring) GetItemStatusCore() const; - WINRT_IMPL_AUTO(hstring) GetItemTypeCore() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) GetLabeledByCore() const; - WINRT_IMPL_AUTO(hstring) GetLocalizedControlTypeCore() const; - WINRT_IMPL_AUTO(hstring) GetNameCore() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationOrientation) GetOrientationCore() const; - WINRT_IMPL_AUTO(bool) HasKeyboardFocusCore() const; - WINRT_IMPL_AUTO(bool) IsContentElementCore() const; - WINRT_IMPL_AUTO(bool) IsControlElementCore() const; - WINRT_IMPL_AUTO(bool) IsEnabledCore() const; - WINRT_IMPL_AUTO(bool) IsKeyboardFocusableCore() const; - WINRT_IMPL_AUTO(bool) IsOffscreenCore() const; - WINRT_IMPL_AUTO(bool) IsPasswordCore() const; - WINRT_IMPL_AUTO(bool) IsRequiredForFormCore() const; - WINRT_IMPL_AUTO(void) SetFocusCore() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) GetPeerFromPointCore(winrt::Windows::Foundation::Point const& point) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting) GetLiveSettingCore() const; + auto GetPatternCore(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const; + auto GetAcceleratorKeyCore() const; + auto GetAccessKeyCore() const; + auto GetAutomationControlTypeCore() const; + auto GetAutomationIdCore() const; + auto GetBoundingRectangleCore() const; + auto GetChildrenCore() const; + auto GetClassNameCore() const; + auto GetClickablePointCore() const; + auto GetHelpTextCore() const; + auto GetItemStatusCore() const; + auto GetItemTypeCore() const; + auto GetLabeledByCore() const; + auto GetLocalizedControlTypeCore() const; + auto GetNameCore() const; + auto GetOrientationCore() const; + auto HasKeyboardFocusCore() const; + auto IsContentElementCore() const; + auto IsControlElementCore() const; + auto IsEnabledCore() const; + auto IsKeyboardFocusableCore() const; + auto IsOffscreenCore() const; + auto IsPasswordCore() const; + auto IsRequiredForFormCore() const; + auto SetFocusCore() const; + auto GetPeerFromPointCore(winrt::Windows::Foundation::Point const& point) const; + auto GetLiveSettingCore() const; }; template <> struct consume { @@ -3098,8 +3096,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides2 { - WINRT_IMPL_AUTO(void) ShowContextMenuCore() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetControlledPeersCore() const; + auto ShowContextMenuCore() const; + auto GetControlledPeersCore() const; }; template <> struct consume { @@ -3108,13 +3106,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) NavigateCore(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetElementFromPointCore(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetFocusedElementCore() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetAnnotationsCore() const; - WINRT_IMPL_AUTO(int32_t) GetPositionInSetCore() const; - WINRT_IMPL_AUTO(int32_t) GetSizeOfSetCore() const; - WINRT_IMPL_AUTO(int32_t) GetLevelCore() const; + auto NavigateCore(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const; + auto GetElementFromPointCore(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const; + auto GetFocusedElementCore() const; + auto GetAnnotationsCore() const; + auto GetPositionInSetCore() const; + auto GetSizeOfSetCore() const; + auto GetLevelCore() const; }; template <> struct consume { @@ -3123,8 +3121,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides4 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType) GetLandmarkTypeCore() const; - WINRT_IMPL_AUTO(hstring) GetLocalizedLandmarkTypeCore() const; + auto GetLandmarkTypeCore() const; + auto GetLocalizedLandmarkTypeCore() const; }; template <> struct consume { @@ -3133,12 +3131,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5 { - WINRT_IMPL_AUTO(bool) IsPeripheralCore() const; - WINRT_IMPL_AUTO(bool) IsDataValidForFormCore() const; - WINRT_IMPL_AUTO(hstring) GetFullDescriptionCore() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) GetDescribedByCore() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) GetFlowsToCore() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) GetFlowsFromCore() const; + auto IsPeripheralCore() const; + auto IsDataValidForFormCore() const; + auto GetFullDescriptionCore() const; + auto GetDescribedByCore() const; + auto GetFlowsToCore() const; + auto GetFlowsFromCore() const; }; template <> struct consume { @@ -3147,7 +3145,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides6 { - WINRT_IMPL_AUTO(int32_t) GetCultureCore() const; + auto GetCultureCore() const; }; template <> struct consume { @@ -3156,7 +3154,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides8 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel) GetHeadingLevelCore() const; + auto GetHeadingLevelCore() const; }; template <> struct consume { @@ -3165,7 +3163,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides9 { - WINRT_IMPL_AUTO(bool) IsDialogCore() const; + auto IsDialogCore() const; }; template <> struct consume { @@ -3174,8 +3172,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerProtected { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) PeerFromProvider(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& provider) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) ProviderFromPeer(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const; + auto PeerFromProvider(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& provider) const; + auto ProviderFromPeer(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const; }; template <> struct consume { @@ -3184,7 +3182,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerStatics { - WINRT_IMPL_AUTO(bool) ListenerExists(winrt::Windows::UI::Xaml::Automation::Peers::AutomationEvents const& eventId) const; + auto ListenerExists(winrt::Windows::UI::Xaml::Automation::Peers::AutomationEvents const& eventId) const; }; template <> struct consume { @@ -3193,7 +3191,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RawElementProviderRuntimeId) GenerateRawElementProviderRuntimeId() const; + auto GenerateRawElementProviderRuntimeId() const; }; template <> struct consume { @@ -3210,7 +3208,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IButtonAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ButtonAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Button const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Button const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3227,7 +3225,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IButtonBaseAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ButtonBaseAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ButtonBase const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ButtonBase const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3244,7 +3242,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_ICalendarDatePickerAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::CalendarDatePickerAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::CalendarDatePicker const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::CalendarDatePicker const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3261,7 +3259,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_ICaptureElementAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::CaptureElementAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::CaptureElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::CaptureElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3278,7 +3276,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_ICheckBoxAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::CheckBoxAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::CheckBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::CheckBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3295,7 +3293,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IColorPickerSliderAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ColorPickerSliderAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ColorPickerSlider const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ColorPickerSlider const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3312,7 +3310,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IColorSpectrumAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ColorSpectrumAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3329,7 +3327,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IComboBoxAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ComboBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ComboBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3346,7 +3344,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IComboBoxItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxItemAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ComboBoxItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ComboBoxItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3363,7 +3361,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IComboBoxItemDataAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxItemDataAutomationPeer) CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3380,7 +3378,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IDatePickerAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::DatePickerAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::DatePicker const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::DatePicker const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3405,7 +3403,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IFlipViewAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FlipViewAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::FlipView const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::FlipView const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3422,7 +3420,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IFlipViewItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FlipViewItemAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::FlipViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::FlipViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3439,7 +3437,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IFlipViewItemDataAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FlipViewItemDataAutomationPeer) CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::FlipViewAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::FlipViewAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3456,7 +3454,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IFlyoutPresenterAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FlyoutPresenterAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::FlyoutPresenter const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::FlyoutPresenter const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3465,7 +3463,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Owner() const; + [[nodiscard]] auto Owner() const; }; template <> struct consume { @@ -3474,7 +3472,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FrameworkElementAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::FrameworkElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::FrameworkElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3483,8 +3481,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) FromElement(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) CreatePeerForElement(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto FromElement(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto CreatePeerForElement(winrt::Windows::UI::Xaml::UIElement const& element) const; }; template <> struct consume { @@ -3501,7 +3499,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IGridViewAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GridViewAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GridView const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GridView const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3518,7 +3516,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IGridViewHeaderItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GridViewHeaderItemAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GridViewHeaderItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GridViewHeaderItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3535,7 +3533,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IGridViewItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GridViewItemAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GridViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GridViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3552,7 +3550,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IGridViewItemDataAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GridViewItemDataAutomationPeer) CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::GridViewAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::GridViewAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3569,7 +3567,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IGroupItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GroupItemAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GroupItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GroupItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3586,7 +3584,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IHubAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::HubAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Hub const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Hub const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3603,7 +3601,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IHubSectionAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::HubSectionAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::HubSection const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::HubSection const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3620,7 +3618,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IHyperlinkButtonAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::HyperlinkButtonAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::HyperlinkButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::HyperlinkButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3637,7 +3635,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IImageAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ImageAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Image const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Image const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3654,8 +3652,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Item() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer) ItemsControlAutomationPeer() const; + [[nodiscard]] auto Item() const; + [[nodiscard]] auto ItemsControlAutomationPeer() const; }; template <> struct consume { @@ -3664,7 +3662,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer) CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3681,7 +3679,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeer2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer) CreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const; + auto CreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const; }; template <> struct consume { @@ -3690,7 +3688,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ItemsControl const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ItemsControl const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3699,7 +3697,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeerOverrides2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer) OnCreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const; + auto OnCreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const; }; template <> struct consume { @@ -3716,7 +3714,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IListBoxAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListBoxAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3733,7 +3731,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IListBoxItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListBoxItemAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListBoxItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListBoxItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3750,7 +3748,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IListBoxItemDataAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListBoxItemDataAutomationPeer) CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::ListBoxAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::ListBoxAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3775,7 +3773,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IListViewAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListView const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListView const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3792,7 +3790,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IListViewBaseAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewBaseAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewBase const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewBase const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3809,7 +3807,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IListViewBaseHeaderItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewBaseHeaderItemAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewBaseHeaderItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewBaseHeaderItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3826,7 +3824,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IListViewHeaderItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewHeaderItemAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewHeaderItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewHeaderItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3843,7 +3841,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IListViewItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewItemAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3860,7 +3858,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IListViewItemDataAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewItemDataAutomationPeer) CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::ListViewBaseAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::ListViewBaseAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3909,7 +3907,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IMediaElementAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MediaElementAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MediaElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MediaElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3926,7 +3924,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IMediaPlayerElementAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MediaPlayerElementAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MediaPlayerElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MediaPlayerElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3943,7 +3941,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IMediaTransportControlsAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MediaTransportControlsAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MediaTransportControls const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MediaTransportControls const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3960,7 +3958,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IMenuBarAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MenuBarAutomationPeer) CreateInstance(winrt::Windows::UI::Xaml::Controls::MenuBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::UI::Xaml::Controls::MenuBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3977,7 +3975,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IMenuBarItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MenuBarItemAutomationPeer) CreateInstance(winrt::Windows::UI::Xaml::Controls::MenuBarItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::UI::Xaml::Controls::MenuBarItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3994,7 +3992,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IMenuFlyoutItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MenuFlyoutItemAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MenuFlyoutItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MenuFlyoutItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4011,7 +4009,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IMenuFlyoutPresenterAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MenuFlyoutPresenterAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MenuFlyoutPresenter const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MenuFlyoutPresenter const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4028,7 +4026,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_INavigationViewItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::NavigationViewItemAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::NavigationViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::NavigationViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4045,7 +4043,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IPasswordBoxAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PasswordBoxAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::PasswordBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::PasswordBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4062,7 +4060,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IPersonPictureAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PersonPictureAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::PersonPicture const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::PersonPicture const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4087,7 +4085,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IPivotAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PivotAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Pivot const& owner) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Pivot const& owner) const; }; template <> struct consume { @@ -4104,7 +4102,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IPivotItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PivotItemAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::PivotItem const& owner) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::PivotItem const& owner) const; }; template <> struct consume { @@ -4121,7 +4119,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IPivotItemDataAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PivotItemDataAutomationPeer) CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::PivotAutomationPeer const& parent) const; + auto CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::PivotAutomationPeer const& parent) const; }; template <> struct consume { @@ -4138,7 +4136,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IProgressBarAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ProgressBarAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ProgressBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ProgressBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4155,7 +4153,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IProgressRingAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ProgressRingAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ProgressRing const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ProgressRing const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4172,7 +4170,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IRadioButtonAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RadioButtonAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RadioButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RadioButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4189,7 +4187,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IRangeBaseAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RangeBaseAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::RangeBase const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::RangeBase const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4206,7 +4204,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IRatingControlAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RatingControlAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RatingControl const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RatingControl const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4223,7 +4221,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IRepeatButtonAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RepeatButtonAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::RepeatButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::RepeatButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4240,7 +4238,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IRichEditBoxAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RichEditBoxAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RichEditBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RichEditBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4257,7 +4255,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IRichTextBlockAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RichTextBlockAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RichTextBlock const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RichTextBlock const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4274,7 +4272,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IRichTextBlockOverflowAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RichTextBlockOverflowAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4291,7 +4289,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IScrollBarAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ScrollBarAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4308,7 +4306,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IScrollViewerAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ScrollViewerAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ScrollViewer const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ScrollViewer const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4325,7 +4323,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_ISearchBoxAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SearchBoxAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SearchBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SearchBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4342,7 +4340,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_ISelectorAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SelectorAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::Selector const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::Selector const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4359,7 +4357,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_ISelectorItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SelectorItemAutomationPeer) CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::SelectorAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::SelectorAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4376,7 +4374,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_ISemanticZoomAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SemanticZoomAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SemanticZoom const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SemanticZoom const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4393,7 +4391,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_ISettingsFlyoutAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SettingsFlyoutAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SettingsFlyout const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SettingsFlyout const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4410,7 +4408,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_ISliderAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SliderAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Slider const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Slider const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4427,7 +4425,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_ITextBlockAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TextBlockAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TextBlock const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TextBlock const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4444,7 +4442,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_ITextBoxAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TextBoxAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TextBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TextBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4461,7 +4459,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IThumbAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ThumbAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::Thumb const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::Thumb const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4478,7 +4476,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_ITimePickerAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TimePickerAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TimePicker const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TimePicker const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4503,7 +4501,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IToggleButtonAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ToggleButtonAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ToggleButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ToggleButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4520,7 +4518,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IToggleMenuFlyoutItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ToggleMenuFlyoutItemAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ToggleMenuFlyoutItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ToggleMenuFlyoutItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4537,7 +4535,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_IToggleSwitchAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ToggleSwitchAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ToggleSwitch const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ToggleSwitch const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4554,7 +4552,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_ITreeViewItemAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TreeViewItemAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TreeViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TreeViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4571,7 +4569,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Peers_ITreeViewListAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TreeViewListAutomationPeer) CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TreeViewList const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TreeViewList const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.1.h index 3d2d2de9..889ce5a8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_Peers_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.2.h index b6cc708e..6f8d8dfd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.2.h @@ -1,10 +1,9 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_Peers_2_H #define WINRT_Windows_UI_Xaml_Automation_Peers_2_H #include "winrt/impl/Windows.Foundation.1.h" -#include "winrt/impl/Windows.Foundation.Collections.1.h" #include "winrt/impl/Windows.UI.Xaml.1.h" #include "winrt/impl/Windows.UI.Xaml.Automation.1.h" #include "winrt/impl/Windows.UI.Xaml.Automation.Provider.1.h" @@ -763,33 +762,33 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers D const& shim() const noexcept { return *static_cast(this); } public: using IAutomationPeerOverrides = winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetPatternCore(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const; - WINRT_IMPL_AUTO(hstring) GetAcceleratorKeyCore() const; - WINRT_IMPL_AUTO(hstring) GetAccessKeyCore() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType) GetAutomationControlTypeCore() const; - WINRT_IMPL_AUTO(hstring) GetAutomationIdCore() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) GetBoundingRectangleCore() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetChildrenCore() const; - WINRT_IMPL_AUTO(hstring) GetClassNameCore() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) GetClickablePointCore() const; - WINRT_IMPL_AUTO(hstring) GetHelpTextCore() const; - WINRT_IMPL_AUTO(hstring) GetItemStatusCore() const; - WINRT_IMPL_AUTO(hstring) GetItemTypeCore() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) GetLabeledByCore() const; - WINRT_IMPL_AUTO(hstring) GetLocalizedControlTypeCore() const; - WINRT_IMPL_AUTO(hstring) GetNameCore() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationOrientation) GetOrientationCore() const; - WINRT_IMPL_AUTO(bool) HasKeyboardFocusCore() const; - WINRT_IMPL_AUTO(bool) IsContentElementCore() const; - WINRT_IMPL_AUTO(bool) IsControlElementCore() const; - WINRT_IMPL_AUTO(bool) IsEnabledCore() const; - WINRT_IMPL_AUTO(bool) IsKeyboardFocusableCore() const; - WINRT_IMPL_AUTO(bool) IsOffscreenCore() const; - WINRT_IMPL_AUTO(bool) IsPasswordCore() const; - WINRT_IMPL_AUTO(bool) IsRequiredForFormCore() const; - WINRT_IMPL_AUTO(void) SetFocusCore() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) GetPeerFromPointCore(winrt::Windows::Foundation::Point const& point) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting) GetLiveSettingCore() const; + auto GetPatternCore(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const; + auto GetAcceleratorKeyCore() const; + auto GetAccessKeyCore() const; + auto GetAutomationControlTypeCore() const; + auto GetAutomationIdCore() const; + auto GetBoundingRectangleCore() const; + auto GetChildrenCore() const; + auto GetClassNameCore() const; + auto GetClickablePointCore() const; + auto GetHelpTextCore() const; + auto GetItemStatusCore() const; + auto GetItemTypeCore() const; + auto GetLabeledByCore() const; + auto GetLocalizedControlTypeCore() const; + auto GetNameCore() const; + auto GetOrientationCore() const; + auto HasKeyboardFocusCore() const; + auto IsContentElementCore() const; + auto IsControlElementCore() const; + auto IsEnabledCore() const; + auto IsKeyboardFocusableCore() const; + auto IsOffscreenCore() const; + auto IsPasswordCore() const; + auto IsRequiredForFormCore() const; + auto SetFocusCore() const; + auto GetPeerFromPointCore(winrt::Windows::Foundation::Point const& point) const; + auto GetLiveSettingCore() const; }; template class IAutomationPeerOverrides2T @@ -798,8 +797,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers D const& shim() const noexcept { return *static_cast(this); } public: using IAutomationPeerOverrides2 = winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2; - WINRT_IMPL_AUTO(void) ShowContextMenuCore() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetControlledPeersCore() const; + auto ShowContextMenuCore() const; + auto GetControlledPeersCore() const; }; template class IAutomationPeerOverrides3T @@ -808,13 +807,13 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers D const& shim() const noexcept { return *static_cast(this); } public: using IAutomationPeerOverrides3 = winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) NavigateCore(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetElementFromPointCore(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetFocusedElementCore() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetAnnotationsCore() const; - WINRT_IMPL_AUTO(int32_t) GetPositionInSetCore() const; - WINRT_IMPL_AUTO(int32_t) GetSizeOfSetCore() const; - WINRT_IMPL_AUTO(int32_t) GetLevelCore() const; + auto NavigateCore(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const; + auto GetElementFromPointCore(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const; + auto GetFocusedElementCore() const; + auto GetAnnotationsCore() const; + auto GetPositionInSetCore() const; + auto GetSizeOfSetCore() const; + auto GetLevelCore() const; }; template class IAutomationPeerOverrides4T @@ -823,8 +822,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers D const& shim() const noexcept { return *static_cast(this); } public: using IAutomationPeerOverrides4 = winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType) GetLandmarkTypeCore() const; - WINRT_IMPL_AUTO(hstring) GetLocalizedLandmarkTypeCore() const; + auto GetLandmarkTypeCore() const; + auto GetLocalizedLandmarkTypeCore() const; }; template class IAutomationPeerOverrides5T @@ -833,12 +832,12 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers D const& shim() const noexcept { return *static_cast(this); } public: using IAutomationPeerOverrides5 = winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5; - WINRT_IMPL_AUTO(bool) IsPeripheralCore() const; - WINRT_IMPL_AUTO(bool) IsDataValidForFormCore() const; - WINRT_IMPL_AUTO(hstring) GetFullDescriptionCore() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) GetDescribedByCore() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) GetFlowsToCore() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) GetFlowsFromCore() const; + auto IsPeripheralCore() const; + auto IsDataValidForFormCore() const; + auto GetFullDescriptionCore() const; + auto GetDescribedByCore() const; + auto GetFlowsToCore() const; + auto GetFlowsFromCore() const; }; template class IAutomationPeerOverrides6T @@ -847,7 +846,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers D const& shim() const noexcept { return *static_cast(this); } public: using IAutomationPeerOverrides6 = winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6; - WINRT_IMPL_AUTO(int32_t) GetCultureCore() const; + auto GetCultureCore() const; }; template class IAutomationPeerOverrides8T @@ -856,7 +855,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers D const& shim() const noexcept { return *static_cast(this); } public: using IAutomationPeerOverrides8 = winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel) GetHeadingLevelCore() const; + auto GetHeadingLevelCore() const; }; template class IAutomationPeerOverrides9T @@ -865,7 +864,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers D const& shim() const noexcept { return *static_cast(this); } public: using IAutomationPeerOverrides9 = winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9; - WINRT_IMPL_AUTO(bool) IsDialogCore() const; + auto IsDialogCore() const; }; template class IItemsControlAutomationPeerOverrides2T @@ -874,7 +873,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers D const& shim() const noexcept { return *static_cast(this); } public: using IItemsControlAutomationPeerOverrides2 = winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverrides2; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer) OnCreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const; + auto OnCreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const; }; } #endif diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.0.h index c9ea3036..08161075 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_Provider_0_H @@ -539,11 +539,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) AnnotationTypeId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AnnotationTypeName() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Author() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DateTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) Target() const; + [[nodiscard]] auto AnnotationTypeId() const; + [[nodiscard]] auto AnnotationTypeName() const; + [[nodiscard]] auto Author() const; + [[nodiscard]] auto DateTime() const; + [[nodiscard]] auto Target() const; }; template <> struct consume { @@ -552,7 +552,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_ICustomNavigationProvider { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) NavigateCustom(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const; + auto NavigateCustom(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const; }; template <> struct consume { @@ -561,8 +561,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IDockProvider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::DockPosition) DockPosition() const; - WINRT_IMPL_AUTO(void) SetDockPosition(winrt::Windows::UI::Xaml::Automation::DockPosition const& dockPosition) const; + [[nodiscard]] auto DockPosition() const; + auto SetDockPosition(winrt::Windows::UI::Xaml::Automation::DockPosition const& dockPosition) const; }; template <> struct consume { @@ -571,10 +571,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IDragProvider { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGrabbed() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DropEffect() const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) DropEffects() const; - WINRT_IMPL_AUTO(com_array) GetGrabbedItems() const; + [[nodiscard]] auto IsGrabbed() const; + [[nodiscard]] auto DropEffect() const; + [[nodiscard]] auto DropEffects() const; + auto GetGrabbedItems() const; }; template <> struct consume { @@ -583,8 +583,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IDropTargetProvider { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DropEffect() const; - [[nodiscard]] WINRT_IMPL_AUTO(com_array) DropEffects() const; + [[nodiscard]] auto DropEffect() const; + [[nodiscard]] auto DropEffects() const; }; template <> struct consume { @@ -593,9 +593,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IExpandCollapseProvider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::ExpandCollapseState) ExpandCollapseState() const; - WINRT_IMPL_AUTO(void) Collapse() const; - WINRT_IMPL_AUTO(void) Expand() const; + [[nodiscard]] auto ExpandCollapseState() const; + auto Collapse() const; + auto Expand() const; }; template <> struct consume { @@ -604,11 +604,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Column() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ColumnSpan() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) ContainingGrid() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Row() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RowSpan() const; + [[nodiscard]] auto Column() const; + [[nodiscard]] auto ColumnSpan() const; + [[nodiscard]] auto ContainingGrid() const; + [[nodiscard]] auto Row() const; + [[nodiscard]] auto RowSpan() const; }; template <> struct consume { @@ -617,9 +617,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IGridProvider { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ColumnCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RowCount() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) GetItem(int32_t row, int32_t column) const; + [[nodiscard]] auto ColumnCount() const; + [[nodiscard]] auto RowCount() const; + auto GetItem(int32_t row, int32_t column) const; }; template <> struct consume { @@ -636,7 +636,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IInvokeProvider { - WINRT_IMPL_AUTO(void) Invoke() const; + auto Invoke() const; }; template <> struct consume { @@ -645,7 +645,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IItemContainerProvider { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) FindItemByProperty(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& startAfter, winrt::Windows::UI::Xaml::Automation::AutomationProperty const& automationProperty, winrt::Windows::Foundation::IInspectable const& value) const; + auto FindItemByProperty(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& startAfter, winrt::Windows::UI::Xaml::Automation::AutomationProperty const& automationProperty, winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -654,10 +654,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CurrentView() const; - WINRT_IMPL_AUTO(com_array) GetSupportedViews() const; - WINRT_IMPL_AUTO(hstring) GetViewName(int32_t viewId) const; - WINRT_IMPL_AUTO(void) SetCurrentView(int32_t viewId) const; + [[nodiscard]] auto CurrentView() const; + auto GetSupportedViews() const; + auto GetViewName(int32_t viewId) const; + auto SetCurrentView(int32_t viewId) const; }; template <> struct consume { @@ -666,7 +666,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IObjectModelProvider { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetUnderlyingObjectModel() const; + auto GetUnderlyingObjectModel() const; }; template <> struct consume { @@ -675,13 +675,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadOnly() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) LargeChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Maximum() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Minimum() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SmallChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Value() const; - WINRT_IMPL_AUTO(void) SetValue(double value) const; + [[nodiscard]] auto IsReadOnly() const; + [[nodiscard]] auto LargeChange() const; + [[nodiscard]] auto Maximum() const; + [[nodiscard]] auto Minimum() const; + [[nodiscard]] auto SmallChange() const; + [[nodiscard]] auto Value() const; + auto SetValue(double value) const; }; template <> struct consume { @@ -690,7 +690,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IScrollItemProvider { - WINRT_IMPL_AUTO(void) ScrollIntoView() const; + auto ScrollIntoView() const; }; template <> struct consume { @@ -699,14 +699,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider { - [[nodiscard]] WINRT_IMPL_AUTO(bool) HorizontallyScrollable() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalScrollPercent() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalViewSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) VerticallyScrollable() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalScrollPercent() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalViewSize() const; - WINRT_IMPL_AUTO(void) Scroll(winrt::Windows::UI::Xaml::Automation::ScrollAmount const& horizontalAmount, winrt::Windows::UI::Xaml::Automation::ScrollAmount const& verticalAmount) const; - WINRT_IMPL_AUTO(void) SetScrollPercent(double horizontalPercent, double verticalPercent) const; + [[nodiscard]] auto HorizontallyScrollable() const; + [[nodiscard]] auto HorizontalScrollPercent() const; + [[nodiscard]] auto HorizontalViewSize() const; + [[nodiscard]] auto VerticallyScrollable() const; + [[nodiscard]] auto VerticalScrollPercent() const; + [[nodiscard]] auto VerticalViewSize() const; + auto Scroll(winrt::Windows::UI::Xaml::Automation::ScrollAmount const& horizontalAmount, winrt::Windows::UI::Xaml::Automation::ScrollAmount const& verticalAmount) const; + auto SetScrollPercent(double horizontalPercent, double verticalPercent) const; }; template <> struct consume { @@ -715,11 +715,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSelected() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) SelectionContainer() const; - WINRT_IMPL_AUTO(void) AddToSelection() const; - WINRT_IMPL_AUTO(void) RemoveFromSelection() const; - WINRT_IMPL_AUTO(void) Select() const; + [[nodiscard]] auto IsSelected() const; + [[nodiscard]] auto SelectionContainer() const; + auto AddToSelection() const; + auto RemoveFromSelection() const; + auto Select() const; }; template <> struct consume { @@ -728,9 +728,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_ISelectionProvider { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanSelectMultiple() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSelectionRequired() const; - WINRT_IMPL_AUTO(com_array) GetSelection() const; + [[nodiscard]] auto CanSelectMultiple() const; + [[nodiscard]] auto IsSelectionRequired() const; + auto GetSelection() const; }; template <> struct consume { @@ -739,9 +739,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetItemProvider { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Formula() const; - WINRT_IMPL_AUTO(com_array) GetAnnotationObjects() const; - WINRT_IMPL_AUTO(com_array) GetAnnotationTypes() const; + [[nodiscard]] auto Formula() const; + auto GetAnnotationObjects() const; + auto GetAnnotationTypes() const; }; template <> struct consume { @@ -750,7 +750,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetProvider { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) GetItemByName(param::hstring const& name) const; + auto GetItemByName(param::hstring const& name) const; }; template <> struct consume { @@ -759,13 +759,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExtendedProperties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) FillColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) FillPatternColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FillPatternStyle() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Shape() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) StyleId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) StyleName() const; + [[nodiscard]] auto ExtendedProperties() const; + [[nodiscard]] auto FillColor() const; + [[nodiscard]] auto FillPatternColor() const; + [[nodiscard]] auto FillPatternStyle() const; + [[nodiscard]] auto Shape() const; + [[nodiscard]] auto StyleId() const; + [[nodiscard]] auto StyleName() const; }; template <> struct consume { @@ -774,8 +774,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_ISynchronizedInputProvider { - WINRT_IMPL_AUTO(void) Cancel() const; - WINRT_IMPL_AUTO(void) StartListening(winrt::Windows::UI::Xaml::Automation::SynchronizedInputType const& inputType) const; + auto Cancel() const; + auto StartListening(winrt::Windows::UI::Xaml::Automation::SynchronizedInputType const& inputType) const; }; template <> struct consume { @@ -784,8 +784,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_ITableItemProvider { - WINRT_IMPL_AUTO(com_array) GetColumnHeaderItems() const; - WINRT_IMPL_AUTO(com_array) GetRowHeaderItems() const; + auto GetColumnHeaderItems() const; + auto GetRowHeaderItems() const; }; template <> struct consume { @@ -794,9 +794,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_ITableProvider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::RowOrColumnMajor) RowOrColumnMajor() const; - WINRT_IMPL_AUTO(com_array) GetColumnHeaders() const; - WINRT_IMPL_AUTO(com_array) GetRowHeaders() const; + [[nodiscard]] auto RowOrColumnMajor() const; + auto GetColumnHeaders() const; + auto GetRowHeaders() const; }; template <> struct consume { @@ -805,8 +805,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_ITextChildProvider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) TextContainer() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) TextRange() const; + [[nodiscard]] auto TextContainer() const; + [[nodiscard]] auto TextRange() const; }; template <> struct consume { @@ -815,8 +815,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_ITextEditProvider { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) GetActiveComposition() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) GetConversionTarget() const; + auto GetActiveComposition() const; + auto GetConversionTarget() const; }; template <> struct consume { @@ -825,12 +825,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_ITextProvider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) DocumentRange() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::SupportedTextSelection) SupportedTextSelection() const; - WINRT_IMPL_AUTO(com_array) GetSelection() const; - WINRT_IMPL_AUTO(com_array) GetVisibleRanges() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) RangeFromChild(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& childElement) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) RangeFromPoint(winrt::Windows::Foundation::Point const& screenLocation) const; + [[nodiscard]] auto DocumentRange() const; + [[nodiscard]] auto SupportedTextSelection() const; + auto GetSelection() const; + auto GetVisibleRanges() const; + auto RangeFromChild(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& childElement) const; + auto RangeFromPoint(winrt::Windows::Foundation::Point const& screenLocation) const; }; template <> struct consume { @@ -839,8 +839,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_ITextProvider2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) RangeFromAnnotation(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& annotationElement) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) GetCaretRange(bool& isActive) const; + auto RangeFromAnnotation(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& annotationElement) const; + auto GetCaretRange(bool& isActive) const; }; template <> struct consume { @@ -849,24 +849,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) Clone() const; - WINRT_IMPL_AUTO(bool) Compare(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider const& textRangeProvider) const; - WINRT_IMPL_AUTO(int32_t) CompareEndpoints(winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& endpoint, winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider const& textRangeProvider, winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& targetEndpoint) const; - WINRT_IMPL_AUTO(void) ExpandToEnclosingUnit(winrt::Windows::UI::Xaml::Automation::Text::TextUnit const& unit) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) FindAttribute(int32_t attributeId, winrt::Windows::Foundation::IInspectable const& value, bool backward) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) FindText(param::hstring const& text, bool backward, bool ignoreCase) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetAttributeValue(int32_t attributeId) const; - WINRT_IMPL_AUTO(void) GetBoundingRectangles(com_array& returnValue) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) GetEnclosingElement() const; - WINRT_IMPL_AUTO(hstring) GetText(int32_t maxLength) const; - WINRT_IMPL_AUTO(int32_t) Move(winrt::Windows::UI::Xaml::Automation::Text::TextUnit const& unit, int32_t count) const; - WINRT_IMPL_AUTO(int32_t) MoveEndpointByUnit(winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& endpoint, winrt::Windows::UI::Xaml::Automation::Text::TextUnit const& unit, int32_t count) const; - WINRT_IMPL_AUTO(void) MoveEndpointByRange(winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& endpoint, winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider const& textRangeProvider, winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& targetEndpoint) const; - WINRT_IMPL_AUTO(void) Select() const; - WINRT_IMPL_AUTO(void) AddToSelection() const; - WINRT_IMPL_AUTO(void) RemoveFromSelection() const; - WINRT_IMPL_AUTO(void) ScrollIntoView(bool alignToTop) const; - WINRT_IMPL_AUTO(com_array) GetChildren() const; + auto Clone() const; + auto Compare(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider const& textRangeProvider) const; + auto CompareEndpoints(winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& endpoint, winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider const& textRangeProvider, winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& targetEndpoint) const; + auto ExpandToEnclosingUnit(winrt::Windows::UI::Xaml::Automation::Text::TextUnit const& unit) const; + auto FindAttribute(int32_t attributeId, winrt::Windows::Foundation::IInspectable const& value, bool backward) const; + auto FindText(param::hstring const& text, bool backward, bool ignoreCase) const; + auto GetAttributeValue(int32_t attributeId) const; + auto GetBoundingRectangles(com_array& returnValue) const; + auto GetEnclosingElement() const; + auto GetText(int32_t maxLength) const; + auto Move(winrt::Windows::UI::Xaml::Automation::Text::TextUnit const& unit, int32_t count) const; + auto MoveEndpointByUnit(winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& endpoint, winrt::Windows::UI::Xaml::Automation::Text::TextUnit const& unit, int32_t count) const; + auto MoveEndpointByRange(winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& endpoint, winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider const& textRangeProvider, winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& targetEndpoint) const; + auto Select() const; + auto AddToSelection() const; + auto RemoveFromSelection() const; + auto ScrollIntoView(bool alignToTop) const; + auto GetChildren() const; }; template <> struct consume { @@ -875,7 +875,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider2 { - WINRT_IMPL_AUTO(void) ShowContextMenu() const; + auto ShowContextMenu() const; }; template <> struct consume { @@ -884,8 +884,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IToggleProvider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::ToggleState) ToggleState() const; - WINRT_IMPL_AUTO(void) Toggle() const; + [[nodiscard]] auto ToggleState() const; + auto Toggle() const; }; template <> struct consume { @@ -894,12 +894,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanMove() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanResize() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanRotate() const; - WINRT_IMPL_AUTO(void) Move(double x, double y) const; - WINRT_IMPL_AUTO(void) Resize(double width, double height) const; - WINRT_IMPL_AUTO(void) Rotate(double degrees) const; + [[nodiscard]] auto CanMove() const; + [[nodiscard]] auto CanResize() const; + [[nodiscard]] auto CanRotate() const; + auto Move(double x, double y) const; + auto Resize(double width, double height) const; + auto Rotate(double degrees) const; }; template <> struct consume { @@ -908,12 +908,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanZoom() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ZoomLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxZoom() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinZoom() const; - WINRT_IMPL_AUTO(void) Zoom(double zoom) const; - WINRT_IMPL_AUTO(void) ZoomByUnit(winrt::Windows::UI::Xaml::Automation::ZoomUnit const& zoomUnit) const; + [[nodiscard]] auto CanZoom() const; + [[nodiscard]] auto ZoomLevel() const; + [[nodiscard]] auto MaxZoom() const; + [[nodiscard]] auto MinZoom() const; + auto Zoom(double zoom) const; + auto ZoomByUnit(winrt::Windows::UI::Xaml::Automation::ZoomUnit const& zoomUnit) const; }; template <> struct consume { @@ -922,9 +922,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IValueProvider { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadOnly() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; - WINRT_IMPL_AUTO(void) SetValue(param::hstring const& value) const; + [[nodiscard]] auto IsReadOnly() const; + [[nodiscard]] auto Value() const; + auto SetValue(param::hstring const& value) const; }; template <> struct consume { @@ -933,7 +933,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IVirtualizedItemProvider { - WINRT_IMPL_AUTO(void) Realize() const; + auto Realize() const; }; template <> struct consume { @@ -942,15 +942,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsModal() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTopmost() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Maximizable() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Minimizable() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::WindowInteractionState) InteractionState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::WindowVisualState) VisualState() const; - WINRT_IMPL_AUTO(void) Close() const; - WINRT_IMPL_AUTO(void) SetVisualState(winrt::Windows::UI::Xaml::Automation::WindowVisualState const& state) const; - WINRT_IMPL_AUTO(bool) WaitForInputIdle(int32_t milliseconds) const; + [[nodiscard]] auto IsModal() const; + [[nodiscard]] auto IsTopmost() const; + [[nodiscard]] auto Maximizable() const; + [[nodiscard]] auto Minimizable() const; + [[nodiscard]] auto InteractionState() const; + [[nodiscard]] auto VisualState() const; + auto Close() const; + auto SetVisualState(winrt::Windows::UI::Xaml::Automation::WindowVisualState const& state) const; + auto WaitForInputIdle(int32_t milliseconds) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.1.h index 49a2bab6..660168ac 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_Provider_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.2.h index e815ed15..4278cc37 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_Provider_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.0.h index 38707b60..7b2708cf 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_Text_0_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.1.h index d644892f..0a348f39 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_Text_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.2.h index 78a49947..039285c1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_Text_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.0.h index 2b6ccc91..26d5ee32 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Controls_0_H @@ -24,7 +24,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; struct Point; struct Rect; @@ -36,7 +35,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections template struct __declspec(empty_bases) IIterable; template struct __declspec(empty_bases) IObservableVector; struct IPropertySet; - template struct __declspec(empty_bases) IVectorView; template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Globalization @@ -172,7 +170,6 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Data { struct IValueConverter; struct ItemIndexRange; - struct LoadMoreItemsResult; } WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Documents { @@ -180,7 +177,6 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Documents struct ContentLinkInvokedEventArgs; struct ContentLinkProviderCollection; struct InlineCollection; - struct TextHighlighter; struct TextPointer; struct TextRange; } @@ -244,7 +240,6 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Navigation struct NavigationEventArgs; struct NavigationFailedEventHandler; struct NavigationStoppedEventHandler; - struct PageStackEntry; } WINRT_EXPORT namespace winrt::Windows::Web { @@ -14899,9 +14894,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAnchorRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Anchor() const; - WINRT_IMPL_AUTO(void) Anchor(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) AnchorCandidates() const; + [[nodiscard]] auto Anchor() const; + auto Anchor(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto AnchorCandidates() const; }; template <> struct consume { @@ -14910,18 +14905,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBar { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOpen() const; - WINRT_IMPL_AUTO(void) IsOpen(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSticky() const; - WINRT_IMPL_AUTO(void) IsSticky(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) Opened(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto IsOpen() const; + auto IsOpen(bool value) const; + [[nodiscard]] auto IsSticky() const; + auto IsSticky(bool value) const; + auto Opened(winrt::Windows::Foundation::EventHandler const& handler) const; using Opened_revoker = impl::event_revoker::remove_Opened>; - [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Opened(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Opened(winrt::event_token const& token) const noexcept; + auto Closed(winrt::Windows::Foundation::EventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -14930,8 +14925,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBar2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBarClosedDisplayMode) ClosedDisplayMode() const; - WINRT_IMPL_AUTO(void) ClosedDisplayMode(winrt::Windows::UI::Xaml::Controls::AppBarClosedDisplayMode const& value) const; + [[nodiscard]] auto ClosedDisplayMode() const; + auto ClosedDisplayMode(winrt::Windows::UI::Xaml::Controls::AppBarClosedDisplayMode const& value) const; }; template <> struct consume { @@ -14940,15 +14935,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBar3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AppBarTemplateSettings) TemplateSettings() const; - WINRT_IMPL_AUTO(winrt::event_token) Opening(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto TemplateSettings() const; + auto Opening(winrt::Windows::Foundation::EventHandler const& handler) const; using Opening_revoker = impl::event_revoker::remove_Opening>; - [[nodiscard]] Opening_revoker Opening(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Opening(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Closing(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto Opening(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Opening(winrt::event_token const& token) const noexcept; + auto Closing(winrt::Windows::Foundation::EventHandler const& handler) const; using Closing_revoker = impl::event_revoker::remove_Closing>; - [[nodiscard]] Closing_revoker Closing(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closing(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Closing(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Closing(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -14957,8 +14952,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBar4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) LightDismissOverlayMode() const; - WINRT_IMPL_AUTO(void) LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; + [[nodiscard]] auto LightDismissOverlayMode() const; + auto LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; }; template <> struct consume { @@ -14967,10 +14962,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarButton { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const; - WINRT_IMPL_AUTO(void) Label(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) Icon() const; - WINRT_IMPL_AUTO(void) Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const; + [[nodiscard]] auto Label() const; + auto Label(param::hstring const& value) const; + [[nodiscard]] auto Icon() const; + auto Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const; }; template <> struct consume { @@ -14979,8 +14974,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarButton3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition) LabelPosition() const; - WINRT_IMPL_AUTO(void) LabelPosition(winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition const& value) const; + [[nodiscard]] auto LabelPosition() const; + auto LabelPosition(winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition const& value) const; }; template <> struct consume { @@ -14989,8 +14984,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarButton4 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KeyboardAcceleratorTextOverride() const; - WINRT_IMPL_AUTO(void) KeyboardAcceleratorTextOverride(param::hstring const& value) const; + [[nodiscard]] auto KeyboardAcceleratorTextOverride() const; + auto KeyboardAcceleratorTextOverride(param::hstring const& value) const; }; template <> struct consume { @@ -14999,7 +14994,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarButton5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AppBarButtonTemplateSettings) TemplateSettings() const; + [[nodiscard]] auto TemplateSettings() const; }; template <> struct consume { @@ -15008,7 +15003,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBarButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -15017,9 +15012,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LabelProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IconProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsCompactProperty() const; + [[nodiscard]] auto LabelProperty() const; + [[nodiscard]] auto IconProperty() const; + [[nodiscard]] auto IsCompactProperty() const; }; template <> struct consume { @@ -15028,9 +15023,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LabelPositionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsInOverflowProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DynamicOverflowOrderProperty() const; + [[nodiscard]] auto LabelPositionProperty() const; + [[nodiscard]] auto IsInOverflowProperty() const; + [[nodiscard]] auto DynamicOverflowOrderProperty() const; }; template <> struct consume { @@ -15039,7 +15034,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyboardAcceleratorTextOverrideProperty() const; + [[nodiscard]] auto KeyboardAcceleratorTextOverrideProperty() const; }; template <> struct consume { @@ -15056,7 +15051,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarElementContainerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBarElementContainer) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -15065,9 +15060,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarElementContainerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsCompactProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsInOverflowProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DynamicOverflowOrderProperty() const; + [[nodiscard]] auto IsCompactProperty() const; + [[nodiscard]] auto IsInOverflowProperty() const; + [[nodiscard]] auto DynamicOverflowOrderProperty() const; }; template <> struct consume { @@ -15076,7 +15071,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBar) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -15085,8 +15080,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarOverrides { - WINRT_IMPL_AUTO(void) OnClosed(winrt::Windows::Foundation::IInspectable const& e) const; - WINRT_IMPL_AUTO(void) OnOpened(winrt::Windows::Foundation::IInspectable const& e) const; + auto OnClosed(winrt::Windows::Foundation::IInspectable const& e) const; + auto OnOpened(winrt::Windows::Foundation::IInspectable const& e) const; }; template <> struct consume { @@ -15095,8 +15090,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarOverrides3 { - WINRT_IMPL_AUTO(void) OnClosing(winrt::Windows::Foundation::IInspectable const& e) const; - WINRT_IMPL_AUTO(void) OnOpening(winrt::Windows::Foundation::IInspectable const& e) const; + auto OnClosing(winrt::Windows::Foundation::IInspectable const& e) const; + auto OnOpening(winrt::Windows::Foundation::IInspectable const& e) const; }; template <> struct consume { @@ -15113,7 +15108,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarSeparatorFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBarSeparator) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -15122,7 +15117,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarSeparatorStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsCompactProperty() const; + [[nodiscard]] auto IsCompactProperty() const; }; template <> struct consume { @@ -15131,8 +15126,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarSeparatorStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsInOverflowProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DynamicOverflowOrderProperty() const; + [[nodiscard]] auto IsInOverflowProperty() const; + [[nodiscard]] auto DynamicOverflowOrderProperty() const; }; template <> struct consume { @@ -15141,8 +15136,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsOpenProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsStickyProperty() const; + [[nodiscard]] auto IsOpenProperty() const; + [[nodiscard]] auto IsStickyProperty() const; }; template <> struct consume { @@ -15151,7 +15146,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ClosedDisplayModeProperty() const; + [[nodiscard]] auto ClosedDisplayModeProperty() const; }; template <> struct consume { @@ -15160,7 +15155,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LightDismissOverlayModeProperty() const; + [[nodiscard]] auto LightDismissOverlayModeProperty() const; }; template <> struct consume { @@ -15169,10 +15164,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarToggleButton { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const; - WINRT_IMPL_AUTO(void) Label(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) Icon() const; - WINRT_IMPL_AUTO(void) Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const; + [[nodiscard]] auto Label() const; + auto Label(param::hstring const& value) const; + [[nodiscard]] auto Icon() const; + auto Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const; }; template <> struct consume { @@ -15181,8 +15176,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarToggleButton3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition) LabelPosition() const; - WINRT_IMPL_AUTO(void) LabelPosition(winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition const& value) const; + [[nodiscard]] auto LabelPosition() const; + auto LabelPosition(winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition const& value) const; }; template <> struct consume { @@ -15191,8 +15186,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarToggleButton4 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KeyboardAcceleratorTextOverride() const; - WINRT_IMPL_AUTO(void) KeyboardAcceleratorTextOverride(param::hstring const& value) const; + [[nodiscard]] auto KeyboardAcceleratorTextOverride() const; + auto KeyboardAcceleratorTextOverride(param::hstring const& value) const; }; template <> struct consume { @@ -15201,7 +15196,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarToggleButton5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AppBarToggleButtonTemplateSettings) TemplateSettings() const; + [[nodiscard]] auto TemplateSettings() const; }; template <> struct consume { @@ -15210,7 +15205,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBarToggleButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -15219,9 +15214,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LabelProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IconProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsCompactProperty() const; + [[nodiscard]] auto LabelProperty() const; + [[nodiscard]] auto IconProperty() const; + [[nodiscard]] auto IsCompactProperty() const; }; template <> struct consume { @@ -15230,9 +15225,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LabelPositionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsInOverflowProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DynamicOverflowOrderProperty() const; + [[nodiscard]] auto LabelPositionProperty() const; + [[nodiscard]] auto IsInOverflowProperty() const; + [[nodiscard]] auto DynamicOverflowOrderProperty() const; }; template <> struct consume { @@ -15241,7 +15236,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyboardAcceleratorTextOverrideProperty() const; + [[nodiscard]] auto KeyboardAcceleratorTextOverrideProperty() const; }; template <> struct consume { @@ -15250,32 +15245,32 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAutoSuggestBox { - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxSuggestionListHeight() const; - WINRT_IMPL_AUTO(void) MaxSuggestionListHeight(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSuggestionListOpen() const; - WINRT_IMPL_AUTO(void) IsSuggestionListOpen(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TextMemberPath() const; - WINRT_IMPL_AUTO(void) TextMemberPath(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) UpdateTextOnSelect() const; - WINRT_IMPL_AUTO(void) UpdateTextOnSelect(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PlaceholderText() const; - WINRT_IMPL_AUTO(void) PlaceholderText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; - WINRT_IMPL_AUTO(void) Header(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoMaximizeSuggestionArea() const; - WINRT_IMPL_AUTO(void) AutoMaximizeSuggestionArea(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) TextBoxStyle() const; - WINRT_IMPL_AUTO(void) TextBoxStyle(winrt::Windows::UI::Xaml::Style const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) SuggestionChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MaxSuggestionListHeight() const; + auto MaxSuggestionListHeight(double value) const; + [[nodiscard]] auto IsSuggestionListOpen() const; + auto IsSuggestionListOpen(bool value) const; + [[nodiscard]] auto TextMemberPath() const; + auto TextMemberPath(param::hstring const& value) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto UpdateTextOnSelect() const; + auto UpdateTextOnSelect(bool value) const; + [[nodiscard]] auto PlaceholderText() const; + auto PlaceholderText(param::hstring const& value) const; + [[nodiscard]] auto Header() const; + auto Header(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto AutoMaximizeSuggestionArea() const; + auto AutoMaximizeSuggestionArea(bool value) const; + [[nodiscard]] auto TextBoxStyle() const; + auto TextBoxStyle(winrt::Windows::UI::Xaml::Style const& value) const; + auto SuggestionChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SuggestionChosen_revoker = impl::event_revoker::remove_SuggestionChosen>; - [[nodiscard]] SuggestionChosen_revoker SuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SuggestionChosen(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SuggestionChosen(winrt::event_token const& token) const noexcept; + auto TextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TextChanged_revoker = impl::event_revoker::remove_TextChanged>; - [[nodiscard]] TextChanged_revoker TextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TextChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -15284,12 +15279,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) QueryIcon() const; - WINRT_IMPL_AUTO(void) QueryIcon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto QueryIcon() const; + auto QueryIcon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const; + auto QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using QuerySubmitted_revoker = impl::event_revoker::remove_QuerySubmitted>; - [[nodiscard]] QuerySubmitted_revoker QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) QuerySubmitted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto QuerySubmitted(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -15298,8 +15293,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAutoSuggestBox3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) LightDismissOverlayMode() const; - WINRT_IMPL_AUTO(void) LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; + [[nodiscard]] auto LightDismissOverlayMode() const; + auto LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; }; template <> struct consume { @@ -15308,8 +15303,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAutoSuggestBox4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Description() const; - WINRT_IMPL_AUTO(void) Description(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto Description() const; + auto Description(winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -15318,8 +15313,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxQuerySubmittedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) QueryText() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ChosenSuggestion() const; + [[nodiscard]] auto QueryText() const; + [[nodiscard]] auto ChosenSuggestion() const; }; template <> struct consume { @@ -15328,15 +15323,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxSuggestionListHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSuggestionListOpenProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextMemberPathProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) UpdateTextOnSelectProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlaceholderTextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AutoMaximizeSuggestionAreaProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextBoxStyleProperty() const; + [[nodiscard]] auto MaxSuggestionListHeightProperty() const; + [[nodiscard]] auto IsSuggestionListOpenProperty() const; + [[nodiscard]] auto TextMemberPathProperty() const; + [[nodiscard]] auto TextProperty() const; + [[nodiscard]] auto UpdateTextOnSelectProperty() const; + [[nodiscard]] auto PlaceholderTextProperty() const; + [[nodiscard]] auto HeaderProperty() const; + [[nodiscard]] auto AutoMaximizeSuggestionAreaProperty() const; + [[nodiscard]] auto TextBoxStyleProperty() const; }; template <> struct consume { @@ -15345,7 +15340,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) QueryIconProperty() const; + [[nodiscard]] auto QueryIconProperty() const; }; template <> struct consume { @@ -15354,7 +15349,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LightDismissOverlayModeProperty() const; + [[nodiscard]] auto LightDismissOverlayModeProperty() const; }; template <> struct consume { @@ -15363,7 +15358,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DescriptionProperty() const; + [[nodiscard]] auto DescriptionProperty() const; }; template <> struct consume { @@ -15372,7 +15367,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxSuggestionChosenEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SelectedItem() const; + [[nodiscard]] auto SelectedItem() const; }; template <> struct consume { @@ -15381,9 +15376,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AutoSuggestionBoxTextChangeReason) Reason() const; - WINRT_IMPL_AUTO(void) Reason(winrt::Windows::UI::Xaml::Controls::AutoSuggestionBoxTextChangeReason const& value) const; - WINRT_IMPL_AUTO(bool) CheckCurrent() const; + [[nodiscard]] auto Reason() const; + auto Reason(winrt::Windows::UI::Xaml::Controls::AutoSuggestionBoxTextChangeReason const& value) const; + auto CheckCurrent() const; }; template <> struct consume { @@ -15392,7 +15387,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ReasonProperty() const; + [[nodiscard]] auto ReasonProperty() const; }; template <> struct consume { @@ -15401,8 +15396,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IBackClickEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -15411,8 +15406,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IBitmapIcon { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) UriSource() const; - WINRT_IMPL_AUTO(void) UriSource(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto UriSource() const; + auto UriSource(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -15421,8 +15416,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IBitmapIcon2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShowAsMonochrome() const; - WINRT_IMPL_AUTO(void) ShowAsMonochrome(bool value) const; + [[nodiscard]] auto ShowAsMonochrome() const; + auto ShowAsMonochrome(bool value) const; }; template <> struct consume { @@ -15431,7 +15426,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IBitmapIconFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BitmapIcon) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -15440,10 +15435,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IBitmapIconSource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) UriSource() const; - WINRT_IMPL_AUTO(void) UriSource(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShowAsMonochrome() const; - WINRT_IMPL_AUTO(void) ShowAsMonochrome(bool value) const; + [[nodiscard]] auto UriSource() const; + auto UriSource(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ShowAsMonochrome() const; + auto ShowAsMonochrome(bool value) const; }; template <> struct consume { @@ -15452,7 +15447,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IBitmapIconSourceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BitmapIconSource) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -15461,8 +15456,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IBitmapIconSourceStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) UriSourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ShowAsMonochromeProperty() const; + [[nodiscard]] auto UriSourceProperty() const; + [[nodiscard]] auto ShowAsMonochromeProperty() const; }; template <> struct consume { @@ -15471,7 +15466,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IBitmapIconStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) UriSourceProperty() const; + [[nodiscard]] auto UriSourceProperty() const; }; template <> struct consume { @@ -15480,7 +15475,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IBitmapIconStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ShowAsMonochromeProperty() const; + [[nodiscard]] auto ShowAsMonochromeProperty() const; }; template <> struct consume { @@ -15489,20 +15484,20 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IBorder { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) BorderBrush() const; - WINRT_IMPL_AUTO(void) BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) BorderThickness() const; - WINRT_IMPL_AUTO(void) BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Background() const; - WINRT_IMPL_AUTO(void) Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) CornerRadius() const; - WINRT_IMPL_AUTO(void) CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) Padding() const; - WINRT_IMPL_AUTO(void) Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Child() const; - WINRT_IMPL_AUTO(void) Child(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) ChildTransitions() const; - WINRT_IMPL_AUTO(void) ChildTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; + [[nodiscard]] auto BorderBrush() const; + auto BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto BorderThickness() const; + auto BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto Background() const; + auto Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto CornerRadius() const; + auto CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const; + [[nodiscard]] auto Padding() const; + auto Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto Child() const; + auto Child(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto ChildTransitions() const; + auto ChildTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; }; template <> struct consume { @@ -15511,10 +15506,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IBorder2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) BackgroundSizing() const; - WINRT_IMPL_AUTO(void) BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::BrushTransition) BackgroundTransition() const; - WINRT_IMPL_AUTO(void) BackgroundTransition(winrt::Windows::UI::Xaml::BrushTransition const& value) const; + [[nodiscard]] auto BackgroundSizing() const; + auto BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const; + [[nodiscard]] auto BackgroundTransition() const; + auto BackgroundTransition(winrt::Windows::UI::Xaml::BrushTransition const& value) const; }; template <> struct consume { @@ -15523,12 +15518,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IBorderStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BorderThicknessProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CornerRadiusProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaddingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ChildTransitionsProperty() const; + [[nodiscard]] auto BorderBrushProperty() const; + [[nodiscard]] auto BorderThicknessProperty() const; + [[nodiscard]] auto BackgroundProperty() const; + [[nodiscard]] auto CornerRadiusProperty() const; + [[nodiscard]] auto PaddingProperty() const; + [[nodiscard]] auto ChildTransitionsProperty() const; }; template <> struct consume { @@ -15537,7 +15532,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IBorderStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackgroundSizingProperty() const; + [[nodiscard]] auto BackgroundSizingProperty() const; }; template <> struct consume { @@ -15554,7 +15549,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Button) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -15563,7 +15558,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IButtonStaticsWithFlyout { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FlyoutProperty() const; + [[nodiscard]] auto FlyoutProperty() const; }; template <> struct consume { @@ -15572,8 +15567,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IButtonWithFlyout { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) Flyout() const; - WINRT_IMPL_AUTO(void) Flyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; + [[nodiscard]] auto Flyout() const; + auto Flyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; }; template <> struct consume { @@ -15582,56 +15577,56 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICalendarDatePicker { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Date() const; - WINRT_IMPL_AUTO(void) Date(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCalendarOpen() const; - WINRT_IMPL_AUTO(void) IsCalendarOpen(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DateFormat() const; - WINRT_IMPL_AUTO(void) DateFormat(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PlaceholderText() const; - WINRT_IMPL_AUTO(void) PlaceholderText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; - WINRT_IMPL_AUTO(void) Header(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) HeaderTemplate() const; - WINRT_IMPL_AUTO(void) HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) CalendarViewStyle() const; - WINRT_IMPL_AUTO(void) CalendarViewStyle(winrt::Windows::UI::Xaml::Style const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) MinDate() const; - WINRT_IMPL_AUTO(void) MinDate(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) MaxDate() const; - WINRT_IMPL_AUTO(void) MaxDate(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTodayHighlighted() const; - WINRT_IMPL_AUTO(void) IsTodayHighlighted(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode) DisplayMode() const; - WINRT_IMPL_AUTO(void) DisplayMode(winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) FirstDayOfWeek() const; - WINRT_IMPL_AUTO(void) FirstDayOfWeek(winrt::Windows::Globalization::DayOfWeek const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DayOfWeekFormat() const; - WINRT_IMPL_AUTO(void) DayOfWeekFormat(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CalendarIdentifier() const; - WINRT_IMPL_AUTO(void) CalendarIdentifier(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOutOfScopeEnabled() const; - WINRT_IMPL_AUTO(void) IsOutOfScopeEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGroupLabelVisible() const; - WINRT_IMPL_AUTO(void) IsGroupLabelVisible(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) CalendarViewDayItemChanging(winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventHandler const& handler) const; + [[nodiscard]] auto Date() const; + auto Date(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsCalendarOpen() const; + auto IsCalendarOpen(bool value) const; + [[nodiscard]] auto DateFormat() const; + auto DateFormat(param::hstring const& value) const; + [[nodiscard]] auto PlaceholderText() const; + auto PlaceholderText(param::hstring const& value) const; + [[nodiscard]] auto Header() const; + auto Header(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto HeaderTemplate() const; + auto HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto CalendarViewStyle() const; + auto CalendarViewStyle(winrt::Windows::UI::Xaml::Style const& value) const; + [[nodiscard]] auto MinDate() const; + auto MinDate(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto MaxDate() const; + auto MaxDate(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto IsTodayHighlighted() const; + auto IsTodayHighlighted(bool value) const; + [[nodiscard]] auto DisplayMode() const; + auto DisplayMode(winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode const& value) const; + [[nodiscard]] auto FirstDayOfWeek() const; + auto FirstDayOfWeek(winrt::Windows::Globalization::DayOfWeek const& value) const; + [[nodiscard]] auto DayOfWeekFormat() const; + auto DayOfWeekFormat(param::hstring const& value) const; + [[nodiscard]] auto CalendarIdentifier() const; + auto CalendarIdentifier(param::hstring const& value) const; + [[nodiscard]] auto IsOutOfScopeEnabled() const; + auto IsOutOfScopeEnabled(bool value) const; + [[nodiscard]] auto IsGroupLabelVisible() const; + auto IsGroupLabelVisible(bool value) const; + auto CalendarViewDayItemChanging(winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventHandler const& handler) const; using CalendarViewDayItemChanging_revoker = impl::event_revoker::remove_CalendarViewDayItemChanging>; - [[nodiscard]] CalendarViewDayItemChanging_revoker CalendarViewDayItemChanging(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CalendarViewDayItemChanging(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CalendarViewDayItemChanging(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventHandler const& handler) const; + auto CalendarViewDayItemChanging(winrt::event_token const& token) const noexcept; + auto DateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DateChanged_revoker = impl::event_revoker::remove_DateChanged>; - [[nodiscard]] DateChanged_revoker DateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Opened(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto DateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DateChanged(winrt::event_token const& token) const noexcept; + auto Opened(winrt::Windows::Foundation::EventHandler const& handler) const; using Opened_revoker = impl::event_revoker::remove_Opened>; - [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Opened(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Opened(winrt::event_token const& token) const noexcept; + auto Closed(winrt::Windows::Foundation::EventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SetDisplayDate(winrt::Windows::Foundation::DateTime const& date) const; - WINRT_IMPL_AUTO(void) SetYearDecadeDisplayDimensions(int32_t columns, int32_t rows) const; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + auto SetDisplayDate(winrt::Windows::Foundation::DateTime const& date) const; + auto SetYearDecadeDisplayDimensions(int32_t columns, int32_t rows) const; }; template <> struct consume { @@ -15640,8 +15635,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICalendarDatePicker2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) LightDismissOverlayMode() const; - WINRT_IMPL_AUTO(void) LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; + [[nodiscard]] auto LightDismissOverlayMode() const; + auto LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; }; template <> struct consume { @@ -15650,8 +15645,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICalendarDatePicker3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Description() const; - WINRT_IMPL_AUTO(void) Description(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto Description() const; + auto Description(winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -15660,8 +15655,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICalendarDatePickerDateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) NewDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) OldDate() const; + [[nodiscard]] auto NewDate() const; + [[nodiscard]] auto OldDate() const; }; template <> struct consume { @@ -15670,7 +15665,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICalendarDatePickerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarDatePicker) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -15679,22 +15674,22 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsCalendarOpenProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DateFormatProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlaceholderTextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CalendarViewStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinDateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxDateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTodayHighlightedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DisplayModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FirstDayOfWeekProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DayOfWeekFormatProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CalendarIdentifierProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsOutOfScopeEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsGroupLabelVisibleProperty() const; + [[nodiscard]] auto DateProperty() const; + [[nodiscard]] auto IsCalendarOpenProperty() const; + [[nodiscard]] auto DateFormatProperty() const; + [[nodiscard]] auto PlaceholderTextProperty() const; + [[nodiscard]] auto HeaderProperty() const; + [[nodiscard]] auto HeaderTemplateProperty() const; + [[nodiscard]] auto CalendarViewStyleProperty() const; + [[nodiscard]] auto MinDateProperty() const; + [[nodiscard]] auto MaxDateProperty() const; + [[nodiscard]] auto IsTodayHighlightedProperty() const; + [[nodiscard]] auto DisplayModeProperty() const; + [[nodiscard]] auto FirstDayOfWeekProperty() const; + [[nodiscard]] auto DayOfWeekFormatProperty() const; + [[nodiscard]] auto CalendarIdentifierProperty() const; + [[nodiscard]] auto IsOutOfScopeEnabledProperty() const; + [[nodiscard]] auto IsGroupLabelVisibleProperty() const; }; template <> struct consume { @@ -15703,7 +15698,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LightDismissOverlayModeProperty() const; + [[nodiscard]] auto LightDismissOverlayModeProperty() const; }; template <> struct consume { @@ -15712,7 +15707,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DescriptionProperty() const; + [[nodiscard]] auto DescriptionProperty() const; }; template <> struct consume { @@ -15721,116 +15716,116 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICalendarView { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CalendarIdentifier() const; - WINRT_IMPL_AUTO(void) CalendarIdentifier(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DayOfWeekFormat() const; - WINRT_IMPL_AUTO(void) DayOfWeekFormat(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGroupLabelVisible() const; - WINRT_IMPL_AUTO(void) IsGroupLabelVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode) DisplayMode() const; - WINRT_IMPL_AUTO(void) DisplayMode(winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) FirstDayOfWeek() const; - WINRT_IMPL_AUTO(void) FirstDayOfWeek(winrt::Windows::Globalization::DayOfWeek const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOutOfScopeEnabled() const; - WINRT_IMPL_AUTO(void) IsOutOfScopeEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTodayHighlighted() const; - WINRT_IMPL_AUTO(void) IsTodayHighlighted(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) MaxDate() const; - WINRT_IMPL_AUTO(void) MaxDate(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) MinDate() const; - WINRT_IMPL_AUTO(void) MinDate(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) NumberOfWeeksInView() const; - WINRT_IMPL_AUTO(void) NumberOfWeeksInView(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SelectedDates() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarViewSelectionMode) SelectionMode() const; - WINRT_IMPL_AUTO(void) SelectionMode(winrt::Windows::UI::Xaml::Controls::CalendarViewSelectionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::CalendarViewTemplateSettings) TemplateSettings() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) FocusBorderBrush() const; - WINRT_IMPL_AUTO(void) FocusBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) SelectedHoverBorderBrush() const; - WINRT_IMPL_AUTO(void) SelectedHoverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) SelectedPressedBorderBrush() const; - WINRT_IMPL_AUTO(void) SelectedPressedBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) SelectedBorderBrush() const; - WINRT_IMPL_AUTO(void) SelectedBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) HoverBorderBrush() const; - WINRT_IMPL_AUTO(void) HoverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) PressedBorderBrush() const; - WINRT_IMPL_AUTO(void) PressedBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) CalendarItemBorderBrush() const; - WINRT_IMPL_AUTO(void) CalendarItemBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) OutOfScopeBackground() const; - WINRT_IMPL_AUTO(void) OutOfScopeBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) CalendarItemBackground() const; - WINRT_IMPL_AUTO(void) CalendarItemBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) PressedForeground() const; - WINRT_IMPL_AUTO(void) PressedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) TodayForeground() const; - WINRT_IMPL_AUTO(void) TodayForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) BlackoutForeground() const; - WINRT_IMPL_AUTO(void) BlackoutForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) SelectedForeground() const; - WINRT_IMPL_AUTO(void) SelectedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) OutOfScopeForeground() const; - WINRT_IMPL_AUTO(void) OutOfScopeForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) CalendarItemForeground() const; - WINRT_IMPL_AUTO(void) CalendarItemForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) DayItemFontFamily() const; - WINRT_IMPL_AUTO(void) DayItemFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DayItemFontSize() const; - WINRT_IMPL_AUTO(void) DayItemFontSize(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) DayItemFontStyle() const; - WINRT_IMPL_AUTO(void) DayItemFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) DayItemFontWeight() const; - WINRT_IMPL_AUTO(void) DayItemFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) TodayFontWeight() const; - WINRT_IMPL_AUTO(void) TodayFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) FirstOfMonthLabelFontFamily() const; - WINRT_IMPL_AUTO(void) FirstOfMonthLabelFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FirstOfMonthLabelFontSize() const; - WINRT_IMPL_AUTO(void) FirstOfMonthLabelFontSize(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) FirstOfMonthLabelFontStyle() const; - WINRT_IMPL_AUTO(void) FirstOfMonthLabelFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) FirstOfMonthLabelFontWeight() const; - WINRT_IMPL_AUTO(void) FirstOfMonthLabelFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) MonthYearItemFontFamily() const; - WINRT_IMPL_AUTO(void) MonthYearItemFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MonthYearItemFontSize() const; - WINRT_IMPL_AUTO(void) MonthYearItemFontSize(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) MonthYearItemFontStyle() const; - WINRT_IMPL_AUTO(void) MonthYearItemFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) MonthYearItemFontWeight() const; - WINRT_IMPL_AUTO(void) MonthYearItemFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) FirstOfYearDecadeLabelFontFamily() const; - WINRT_IMPL_AUTO(void) FirstOfYearDecadeLabelFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FirstOfYearDecadeLabelFontSize() const; - WINRT_IMPL_AUTO(void) FirstOfYearDecadeLabelFontSize(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) FirstOfYearDecadeLabelFontStyle() const; - WINRT_IMPL_AUTO(void) FirstOfYearDecadeLabelFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) FirstOfYearDecadeLabelFontWeight() const; - WINRT_IMPL_AUTO(void) FirstOfYearDecadeLabelFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) HorizontalDayItemAlignment() const; - WINRT_IMPL_AUTO(void) HorizontalDayItemAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) VerticalDayItemAlignment() const; - WINRT_IMPL_AUTO(void) VerticalDayItemAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) HorizontalFirstOfMonthLabelAlignment() const; - WINRT_IMPL_AUTO(void) HorizontalFirstOfMonthLabelAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) VerticalFirstOfMonthLabelAlignment() const; - WINRT_IMPL_AUTO(void) VerticalFirstOfMonthLabelAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) CalendarItemBorderThickness() const; - WINRT_IMPL_AUTO(void) CalendarItemBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) CalendarViewDayItemStyle() const; - WINRT_IMPL_AUTO(void) CalendarViewDayItemStyle(winrt::Windows::UI::Xaml::Style const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) CalendarViewDayItemChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CalendarIdentifier() const; + auto CalendarIdentifier(param::hstring const& value) const; + [[nodiscard]] auto DayOfWeekFormat() const; + auto DayOfWeekFormat(param::hstring const& value) const; + [[nodiscard]] auto IsGroupLabelVisible() const; + auto IsGroupLabelVisible(bool value) const; + [[nodiscard]] auto DisplayMode() const; + auto DisplayMode(winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode const& value) const; + [[nodiscard]] auto FirstDayOfWeek() const; + auto FirstDayOfWeek(winrt::Windows::Globalization::DayOfWeek const& value) const; + [[nodiscard]] auto IsOutOfScopeEnabled() const; + auto IsOutOfScopeEnabled(bool value) const; + [[nodiscard]] auto IsTodayHighlighted() const; + auto IsTodayHighlighted(bool value) const; + [[nodiscard]] auto MaxDate() const; + auto MaxDate(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto MinDate() const; + auto MinDate(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto NumberOfWeeksInView() const; + auto NumberOfWeeksInView(int32_t value) const; + [[nodiscard]] auto SelectedDates() const; + [[nodiscard]] auto SelectionMode() const; + auto SelectionMode(winrt::Windows::UI::Xaml::Controls::CalendarViewSelectionMode const& value) const; + [[nodiscard]] auto TemplateSettings() const; + [[nodiscard]] auto FocusBorderBrush() const; + auto FocusBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto SelectedHoverBorderBrush() const; + auto SelectedHoverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto SelectedPressedBorderBrush() const; + auto SelectedPressedBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto SelectedBorderBrush() const; + auto SelectedBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto HoverBorderBrush() const; + auto HoverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto PressedBorderBrush() const; + auto PressedBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto CalendarItemBorderBrush() const; + auto CalendarItemBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto OutOfScopeBackground() const; + auto OutOfScopeBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto CalendarItemBackground() const; + auto CalendarItemBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto PressedForeground() const; + auto PressedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto TodayForeground() const; + auto TodayForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto BlackoutForeground() const; + auto BlackoutForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto SelectedForeground() const; + auto SelectedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto OutOfScopeForeground() const; + auto OutOfScopeForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto CalendarItemForeground() const; + auto CalendarItemForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto DayItemFontFamily() const; + auto DayItemFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; + [[nodiscard]] auto DayItemFontSize() const; + auto DayItemFontSize(double value) const; + [[nodiscard]] auto DayItemFontStyle() const; + auto DayItemFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; + [[nodiscard]] auto DayItemFontWeight() const; + auto DayItemFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; + [[nodiscard]] auto TodayFontWeight() const; + auto TodayFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; + [[nodiscard]] auto FirstOfMonthLabelFontFamily() const; + auto FirstOfMonthLabelFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; + [[nodiscard]] auto FirstOfMonthLabelFontSize() const; + auto FirstOfMonthLabelFontSize(double value) const; + [[nodiscard]] auto FirstOfMonthLabelFontStyle() const; + auto FirstOfMonthLabelFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; + [[nodiscard]] auto FirstOfMonthLabelFontWeight() const; + auto FirstOfMonthLabelFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; + [[nodiscard]] auto MonthYearItemFontFamily() const; + auto MonthYearItemFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; + [[nodiscard]] auto MonthYearItemFontSize() const; + auto MonthYearItemFontSize(double value) const; + [[nodiscard]] auto MonthYearItemFontStyle() const; + auto MonthYearItemFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; + [[nodiscard]] auto MonthYearItemFontWeight() const; + auto MonthYearItemFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; + [[nodiscard]] auto FirstOfYearDecadeLabelFontFamily() const; + auto FirstOfYearDecadeLabelFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; + [[nodiscard]] auto FirstOfYearDecadeLabelFontSize() const; + auto FirstOfYearDecadeLabelFontSize(double value) const; + [[nodiscard]] auto FirstOfYearDecadeLabelFontStyle() const; + auto FirstOfYearDecadeLabelFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; + [[nodiscard]] auto FirstOfYearDecadeLabelFontWeight() const; + auto FirstOfYearDecadeLabelFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; + [[nodiscard]] auto HorizontalDayItemAlignment() const; + auto HorizontalDayItemAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; + [[nodiscard]] auto VerticalDayItemAlignment() const; + auto VerticalDayItemAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; + [[nodiscard]] auto HorizontalFirstOfMonthLabelAlignment() const; + auto HorizontalFirstOfMonthLabelAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; + [[nodiscard]] auto VerticalFirstOfMonthLabelAlignment() const; + auto VerticalFirstOfMonthLabelAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; + [[nodiscard]] auto CalendarItemBorderThickness() const; + auto CalendarItemBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto CalendarViewDayItemStyle() const; + auto CalendarViewDayItemStyle(winrt::Windows::UI::Xaml::Style const& value) const; + auto CalendarViewDayItemChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CalendarViewDayItemChanging_revoker = impl::event_revoker::remove_CalendarViewDayItemChanging>; - [[nodiscard]] CalendarViewDayItemChanging_revoker CalendarViewDayItemChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CalendarViewDayItemChanging(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SelectedDatesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CalendarViewDayItemChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CalendarViewDayItemChanging(winrt::event_token const& token) const noexcept; + auto SelectedDatesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SelectedDatesChanged_revoker = impl::event_revoker::remove_SelectedDatesChanged>; - [[nodiscard]] SelectedDatesChanged_revoker SelectedDatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SelectedDatesChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SetDisplayDate(winrt::Windows::Foundation::DateTime const& date) const; - WINRT_IMPL_AUTO(void) SetYearDecadeDisplayDimensions(int32_t columns, int32_t rows) const; + [[nodiscard]] auto SelectedDatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SelectedDatesChanged(winrt::event_token const& token) const noexcept; + auto SetDisplayDate(winrt::Windows::Foundation::DateTime const& date) const; + auto SetYearDecadeDisplayDimensions(int32_t columns, int32_t rows) const; }; template <> struct consume { @@ -15839,10 +15834,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBlackout() const; - WINRT_IMPL_AUTO(void) IsBlackout(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Date() const; - WINRT_IMPL_AUTO(void) SetDensityColors(param::iterable const& colors) const; + [[nodiscard]] auto IsBlackout() const; + auto IsBlackout(bool value) const; + [[nodiscard]] auto Date() const; + auto SetDensityColors(param::iterable const& colors) const; }; template <> struct consume { @@ -15851,11 +15846,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) InRecycleQueue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarViewDayItem) Item() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Phase() const; - WINRT_IMPL_AUTO(void) RegisterUpdateCallback(winrt::Windows::Foundation::TypedEventHandler const& callback) const; - WINRT_IMPL_AUTO(void) RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler const& callback) const; + [[nodiscard]] auto InRecycleQueue() const; + [[nodiscard]] auto Item() const; + [[nodiscard]] auto Phase() const; + auto RegisterUpdateCallback(winrt::Windows::Foundation::TypedEventHandler const& callback) const; + auto RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler const& callback) const; }; template <> struct consume { @@ -15864,7 +15859,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarViewDayItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -15873,8 +15868,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsBlackoutProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DateProperty() const; + [[nodiscard]] auto IsBlackoutProperty() const; + [[nodiscard]] auto DateProperty() const; }; template <> struct consume { @@ -15883,7 +15878,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICalendarViewFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarView) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -15892,8 +15887,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICalendarViewSelectedDatesChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) AddedDates() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) RemovedDates() const; + [[nodiscard]] auto AddedDates() const; + [[nodiscard]] auto RemovedDates() const; }; template <> struct consume { @@ -15902,57 +15897,57 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICalendarViewStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CalendarIdentifierProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DayOfWeekFormatProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsGroupLabelVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DisplayModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FirstDayOfWeekProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsOutOfScopeEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTodayHighlightedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxDateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinDateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) NumberOfWeeksInViewProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedDatesProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TemplateSettingsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FocusBorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedHoverBorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedPressedBorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedBorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HoverBorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PressedBorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CalendarItemBorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OutOfScopeBackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CalendarItemBackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PressedForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TodayForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BlackoutForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OutOfScopeForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CalendarItemForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DayItemFontFamilyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DayItemFontSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DayItemFontStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DayItemFontWeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TodayFontWeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FirstOfMonthLabelFontFamilyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FirstOfMonthLabelFontSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FirstOfMonthLabelFontStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FirstOfMonthLabelFontWeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MonthYearItemFontFamilyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MonthYearItemFontSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MonthYearItemFontStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MonthYearItemFontWeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FirstOfYearDecadeLabelFontFamilyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FirstOfYearDecadeLabelFontSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FirstOfYearDecadeLabelFontStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FirstOfYearDecadeLabelFontWeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalDayItemAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalDayItemAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalFirstOfMonthLabelAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalFirstOfMonthLabelAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CalendarItemBorderThicknessProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CalendarViewDayItemStyleProperty() const; + [[nodiscard]] auto CalendarIdentifierProperty() const; + [[nodiscard]] auto DayOfWeekFormatProperty() const; + [[nodiscard]] auto IsGroupLabelVisibleProperty() const; + [[nodiscard]] auto DisplayModeProperty() const; + [[nodiscard]] auto FirstDayOfWeekProperty() const; + [[nodiscard]] auto IsOutOfScopeEnabledProperty() const; + [[nodiscard]] auto IsTodayHighlightedProperty() const; + [[nodiscard]] auto MaxDateProperty() const; + [[nodiscard]] auto MinDateProperty() const; + [[nodiscard]] auto NumberOfWeeksInViewProperty() const; + [[nodiscard]] auto SelectedDatesProperty() const; + [[nodiscard]] auto SelectionModeProperty() const; + [[nodiscard]] auto TemplateSettingsProperty() const; + [[nodiscard]] auto FocusBorderBrushProperty() const; + [[nodiscard]] auto SelectedHoverBorderBrushProperty() const; + [[nodiscard]] auto SelectedPressedBorderBrushProperty() const; + [[nodiscard]] auto SelectedBorderBrushProperty() const; + [[nodiscard]] auto HoverBorderBrushProperty() const; + [[nodiscard]] auto PressedBorderBrushProperty() const; + [[nodiscard]] auto CalendarItemBorderBrushProperty() const; + [[nodiscard]] auto OutOfScopeBackgroundProperty() const; + [[nodiscard]] auto CalendarItemBackgroundProperty() const; + [[nodiscard]] auto PressedForegroundProperty() const; + [[nodiscard]] auto TodayForegroundProperty() const; + [[nodiscard]] auto BlackoutForegroundProperty() const; + [[nodiscard]] auto SelectedForegroundProperty() const; + [[nodiscard]] auto OutOfScopeForegroundProperty() const; + [[nodiscard]] auto CalendarItemForegroundProperty() const; + [[nodiscard]] auto DayItemFontFamilyProperty() const; + [[nodiscard]] auto DayItemFontSizeProperty() const; + [[nodiscard]] auto DayItemFontStyleProperty() const; + [[nodiscard]] auto DayItemFontWeightProperty() const; + [[nodiscard]] auto TodayFontWeightProperty() const; + [[nodiscard]] auto FirstOfMonthLabelFontFamilyProperty() const; + [[nodiscard]] auto FirstOfMonthLabelFontSizeProperty() const; + [[nodiscard]] auto FirstOfMonthLabelFontStyleProperty() const; + [[nodiscard]] auto FirstOfMonthLabelFontWeightProperty() const; + [[nodiscard]] auto MonthYearItemFontFamilyProperty() const; + [[nodiscard]] auto MonthYearItemFontSizeProperty() const; + [[nodiscard]] auto MonthYearItemFontStyleProperty() const; + [[nodiscard]] auto MonthYearItemFontWeightProperty() const; + [[nodiscard]] auto FirstOfYearDecadeLabelFontFamilyProperty() const; + [[nodiscard]] auto FirstOfYearDecadeLabelFontSizeProperty() const; + [[nodiscard]] auto FirstOfYearDecadeLabelFontStyleProperty() const; + [[nodiscard]] auto FirstOfYearDecadeLabelFontWeightProperty() const; + [[nodiscard]] auto HorizontalDayItemAlignmentProperty() const; + [[nodiscard]] auto VerticalDayItemAlignmentProperty() const; + [[nodiscard]] auto HorizontalFirstOfMonthLabelAlignmentProperty() const; + [[nodiscard]] auto VerticalFirstOfMonthLabelAlignmentProperty() const; + [[nodiscard]] auto CalendarItemBorderThicknessProperty() const; + [[nodiscard]] auto CalendarViewDayItemStyleProperty() const; }; template <> struct consume { @@ -15961,7 +15956,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICandidateWindowBoundsChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Bounds() const; + [[nodiscard]] auto Bounds() const; }; template <> struct consume { @@ -15978,7 +15973,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICanvasFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Canvas) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -15987,15 +15982,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICanvasStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LeftProperty() const; - WINRT_IMPL_AUTO(double) GetLeft(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetLeft(winrt::Windows::UI::Xaml::UIElement const& element, double length) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TopProperty() const; - WINRT_IMPL_AUTO(double) GetTop(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetTop(winrt::Windows::UI::Xaml::UIElement const& element, double length) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ZIndexProperty() const; - WINRT_IMPL_AUTO(int32_t) GetZIndex(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetZIndex(winrt::Windows::UI::Xaml::UIElement const& element, int32_t value) const; + [[nodiscard]] auto LeftProperty() const; + auto GetLeft(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetLeft(winrt::Windows::UI::Xaml::UIElement const& element, double length) const; + [[nodiscard]] auto TopProperty() const; + auto GetTop(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetTop(winrt::Windows::UI::Xaml::UIElement const& element, double length) const; + [[nodiscard]] auto ZIndexProperty() const; + auto GetZIndex(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetZIndex(winrt::Windows::UI::Xaml::UIElement const& element, int32_t value) const; }; template <> struct consume { @@ -16004,10 +15999,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICaptureElement { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCapture) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::Media::Capture::MediaCapture const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) Stretch() const; - WINRT_IMPL_AUTO(void) Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::Media::Capture::MediaCapture const& value) const; + [[nodiscard]] auto Stretch() const; + auto Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const; }; template <> struct consume { @@ -16016,8 +16011,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICaptureElementStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StretchProperty() const; + [[nodiscard]] auto SourceProperty() const; + [[nodiscard]] auto StretchProperty() const; }; template <> struct consume { @@ -16034,7 +16029,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICheckBoxFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CheckBox) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -16043,10 +16038,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewBaseHeaderItem) GroupHeaderContainer() const; - WINRT_IMPL_AUTO(void) GroupHeaderContainer(winrt::Windows::UI::Xaml::Controls::ListViewBaseHeaderItem const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) GroupIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Group() const; + [[nodiscard]] auto GroupHeaderContainer() const; + auto GroupHeaderContainer(winrt::Windows::UI::Xaml::Controls::ListViewBaseHeaderItem const& value) const; + [[nodiscard]] auto GroupIndex() const; + [[nodiscard]] auto Group() const; }; template <> struct consume { @@ -16055,12 +16050,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ItemIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Item() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem) ItemContainer() const; - WINRT_IMPL_AUTO(void) ItemContainer(winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsContainerPrepared() const; - WINRT_IMPL_AUTO(void) IsContainerPrepared(bool value) const; + [[nodiscard]] auto ItemIndex() const; + [[nodiscard]] auto Item() const; + [[nodiscard]] auto ItemContainer() const; + auto ItemContainer(winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem const& value) const; + [[nodiscard]] auto IsContainerPrepared() const; + auto IsContainerPrepared(bool value) const; }; template <> struct consume { @@ -16069,10 +16064,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Value() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) UIElement() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; + [[nodiscard]] auto Value() const; + [[nodiscard]] auto UIElement() const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; }; template <> struct consume { @@ -16081,8 +16076,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IColorChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) OldColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) NewColor() const; + [[nodiscard]] auto OldColor() const; + [[nodiscard]] auto NewColor() const; }; template <> struct consume { @@ -16091,48 +16086,48 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IColorPicker { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PreviousColor() const; - WINRT_IMPL_AUTO(void) PreviousColor(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAlphaEnabled() const; - WINRT_IMPL_AUTO(void) IsAlphaEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsColorSpectrumVisible() const; - WINRT_IMPL_AUTO(void) IsColorSpectrumVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsColorPreviewVisible() const; - WINRT_IMPL_AUTO(void) IsColorPreviewVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsColorSliderVisible() const; - WINRT_IMPL_AUTO(void) IsColorSliderVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAlphaSliderVisible() const; - WINRT_IMPL_AUTO(void) IsAlphaSliderVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMoreButtonVisible() const; - WINRT_IMPL_AUTO(void) IsMoreButtonVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsColorChannelTextInputVisible() const; - WINRT_IMPL_AUTO(void) IsColorChannelTextInputVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAlphaTextInputVisible() const; - WINRT_IMPL_AUTO(void) IsAlphaTextInputVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHexInputVisible() const; - WINRT_IMPL_AUTO(void) IsHexInputVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MinHue() const; - WINRT_IMPL_AUTO(void) MinHue(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxHue() const; - WINRT_IMPL_AUTO(void) MaxHue(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MinSaturation() const; - WINRT_IMPL_AUTO(void) MinSaturation(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxSaturation() const; - WINRT_IMPL_AUTO(void) MaxSaturation(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MinValue() const; - WINRT_IMPL_AUTO(void) MinValue(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxValue() const; - WINRT_IMPL_AUTO(void) MaxValue(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape) ColorSpectrumShape() const; - WINRT_IMPL_AUTO(void) ColorSpectrumShape(winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents) ColorSpectrumComponents() const; - WINRT_IMPL_AUTO(void) ColorSpectrumComponents(winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) ColorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto PreviousColor() const; + auto PreviousColor(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsAlphaEnabled() const; + auto IsAlphaEnabled(bool value) const; + [[nodiscard]] auto IsColorSpectrumVisible() const; + auto IsColorSpectrumVisible(bool value) const; + [[nodiscard]] auto IsColorPreviewVisible() const; + auto IsColorPreviewVisible(bool value) const; + [[nodiscard]] auto IsColorSliderVisible() const; + auto IsColorSliderVisible(bool value) const; + [[nodiscard]] auto IsAlphaSliderVisible() const; + auto IsAlphaSliderVisible(bool value) const; + [[nodiscard]] auto IsMoreButtonVisible() const; + auto IsMoreButtonVisible(bool value) const; + [[nodiscard]] auto IsColorChannelTextInputVisible() const; + auto IsColorChannelTextInputVisible(bool value) const; + [[nodiscard]] auto IsAlphaTextInputVisible() const; + auto IsAlphaTextInputVisible(bool value) const; + [[nodiscard]] auto IsHexInputVisible() const; + auto IsHexInputVisible(bool value) const; + [[nodiscard]] auto MinHue() const; + auto MinHue(int32_t value) const; + [[nodiscard]] auto MaxHue() const; + auto MaxHue(int32_t value) const; + [[nodiscard]] auto MinSaturation() const; + auto MinSaturation(int32_t value) const; + [[nodiscard]] auto MaxSaturation() const; + auto MaxSaturation(int32_t value) const; + [[nodiscard]] auto MinValue() const; + auto MinValue(int32_t value) const; + [[nodiscard]] auto MaxValue() const; + auto MaxValue(int32_t value) const; + [[nodiscard]] auto ColorSpectrumShape() const; + auto ColorSpectrumShape(winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape const& value) const; + [[nodiscard]] auto ColorSpectrumComponents() const; + auto ColorSpectrumComponents(winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents const& value) const; + auto ColorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ColorChanged_revoker = impl::event_revoker::remove_ColorChanged>; - [[nodiscard]] ColorChanged_revoker ColorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ColorChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ColorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ColorChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -16141,7 +16136,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IColorPickerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorPicker) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -16150,25 +16145,25 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IColorPickerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ColorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PreviousColorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsAlphaEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsColorSpectrumVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsColorPreviewVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsColorSliderVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsAlphaSliderVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsMoreButtonVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsColorChannelTextInputVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsAlphaTextInputVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsHexInputVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinHueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxHueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinSaturationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxSaturationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinValueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxValueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ColorSpectrumShapeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ColorSpectrumComponentsProperty() const; + [[nodiscard]] auto ColorProperty() const; + [[nodiscard]] auto PreviousColorProperty() const; + [[nodiscard]] auto IsAlphaEnabledProperty() const; + [[nodiscard]] auto IsColorSpectrumVisibleProperty() const; + [[nodiscard]] auto IsColorPreviewVisibleProperty() const; + [[nodiscard]] auto IsColorSliderVisibleProperty() const; + [[nodiscard]] auto IsAlphaSliderVisibleProperty() const; + [[nodiscard]] auto IsMoreButtonVisibleProperty() const; + [[nodiscard]] auto IsColorChannelTextInputVisibleProperty() const; + [[nodiscard]] auto IsAlphaTextInputVisibleProperty() const; + [[nodiscard]] auto IsHexInputVisibleProperty() const; + [[nodiscard]] auto MinHueProperty() const; + [[nodiscard]] auto MaxHueProperty() const; + [[nodiscard]] auto MinSaturationProperty() const; + [[nodiscard]] auto MaxSaturationProperty() const; + [[nodiscard]] auto MinValueProperty() const; + [[nodiscard]] auto MaxValueProperty() const; + [[nodiscard]] auto ColorSpectrumShapeProperty() const; + [[nodiscard]] auto ColorSpectrumComponentsProperty() const; }; template <> struct consume { @@ -16177,13 +16172,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IColumnDefinition { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) Width() const; - WINRT_IMPL_AUTO(void) Width(winrt::Windows::UI::Xaml::GridLength const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxWidth() const; - WINRT_IMPL_AUTO(void) MaxWidth(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinWidth() const; - WINRT_IMPL_AUTO(void) MinWidth(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ActualWidth() const; + [[nodiscard]] auto Width() const; + auto Width(winrt::Windows::UI::Xaml::GridLength const& value) const; + [[nodiscard]] auto MaxWidth() const; + auto MaxWidth(double value) const; + [[nodiscard]] auto MinWidth() const; + auto MinWidth(double value) const; + [[nodiscard]] auto ActualWidth() const; }; template <> struct consume { @@ -16192,9 +16187,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IColumnDefinitionStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) WidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinWidthProperty() const; + [[nodiscard]] auto WidthProperty() const; + [[nodiscard]] auto MaxWidthProperty() const; + [[nodiscard]] auto MinWidthProperty() const; }; template <> struct consume { @@ -16203,23 +16198,23 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IComboBox { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDropDownOpen() const; - WINRT_IMPL_AUTO(void) IsDropDownOpen(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEditable() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSelectionBoxHighlighted() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxDropDownHeight() const; - WINRT_IMPL_AUTO(void) MaxDropDownHeight(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SelectionBoxItem() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) SelectionBoxItemTemplate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ComboBoxTemplateSettings) TemplateSettings() const; - WINRT_IMPL_AUTO(winrt::event_token) DropDownClosed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto IsDropDownOpen() const; + auto IsDropDownOpen(bool value) const; + [[nodiscard]] auto IsEditable() const; + [[nodiscard]] auto IsSelectionBoxHighlighted() const; + [[nodiscard]] auto MaxDropDownHeight() const; + auto MaxDropDownHeight(double value) const; + [[nodiscard]] auto SelectionBoxItem() const; + [[nodiscard]] auto SelectionBoxItemTemplate() const; + [[nodiscard]] auto TemplateSettings() const; + auto DropDownClosed(winrt::Windows::Foundation::EventHandler const& handler) const; using DropDownClosed_revoker = impl::event_revoker::remove_DropDownClosed>; - [[nodiscard]] DropDownClosed_revoker DropDownClosed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DropDownClosed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DropDownOpened(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto DropDownClosed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto DropDownClosed(winrt::event_token const& token) const noexcept; + auto DropDownOpened(winrt::Windows::Foundation::EventHandler const& handler) const; using DropDownOpened_revoker = impl::event_revoker::remove_DropDownOpened>; - [[nodiscard]] DropDownOpened_revoker DropDownOpened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DropDownOpened(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DropDownOpened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto DropDownOpened(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -16228,12 +16223,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IComboBox2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; - WINRT_IMPL_AUTO(void) Header(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) HeaderTemplate() const; - WINRT_IMPL_AUTO(void) HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PlaceholderText() const; - WINRT_IMPL_AUTO(void) PlaceholderText(param::hstring const& value) const; + [[nodiscard]] auto Header() const; + auto Header(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto HeaderTemplate() const; + auto HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto PlaceholderText() const; + auto PlaceholderText(param::hstring const& value) const; }; template <> struct consume { @@ -16242,10 +16237,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IComboBox3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) LightDismissOverlayMode() const; - WINRT_IMPL_AUTO(void) LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextSearchEnabled() const; - WINRT_IMPL_AUTO(void) IsTextSearchEnabled(bool value) const; + [[nodiscard]] auto LightDismissOverlayMode() const; + auto LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; + [[nodiscard]] auto IsTextSearchEnabled() const; + auto IsTextSearchEnabled(bool value) const; }; template <> struct consume { @@ -16254,8 +16249,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IComboBox4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ComboBoxSelectionChangedTrigger) SelectionChangedTrigger() const; - WINRT_IMPL_AUTO(void) SelectionChangedTrigger(winrt::Windows::UI::Xaml::Controls::ComboBoxSelectionChangedTrigger const& value) const; + [[nodiscard]] auto SelectionChangedTrigger() const; + auto SelectionChangedTrigger(winrt::Windows::UI::Xaml::Controls::ComboBoxSelectionChangedTrigger const& value) const; }; template <> struct consume { @@ -16264,8 +16259,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IComboBox5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) PlaceholderForeground() const; - WINRT_IMPL_AUTO(void) PlaceholderForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto PlaceholderForeground() const; + auto PlaceholderForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; }; template <> struct consume { @@ -16274,17 +16269,17 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IComboBox6 { - WINRT_IMPL_AUTO(void) IsEditable(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) TextBoxStyle() const; - WINRT_IMPL_AUTO(void) TextBoxStyle(winrt::Windows::UI::Xaml::Style const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Description() const; - WINRT_IMPL_AUTO(void) Description(winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) TextSubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsEditable(bool value) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto TextBoxStyle() const; + auto TextBoxStyle(winrt::Windows::UI::Xaml::Style const& value) const; + [[nodiscard]] auto Description() const; + auto Description(winrt::Windows::Foundation::IInspectable const& value) const; + auto TextSubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TextSubmitted_revoker = impl::event_revoker::remove_TextSubmitted>; - [[nodiscard]] TextSubmitted_revoker TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TextSubmitted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextSubmitted(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -16293,7 +16288,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IComboBoxFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ComboBox) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -16310,7 +16305,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IComboBoxItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ComboBoxItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -16319,8 +16314,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IComboBoxOverrides { - WINRT_IMPL_AUTO(void) OnDropDownClosed(winrt::Windows::Foundation::IInspectable const& e) const; - WINRT_IMPL_AUTO(void) OnDropDownOpened(winrt::Windows::Foundation::IInspectable const& e) const; + auto OnDropDownClosed(winrt::Windows::Foundation::IInspectable const& e) const; + auto OnDropDownOpened(winrt::Windows::Foundation::IInspectable const& e) const; }; template <> struct consume { @@ -16329,8 +16324,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IComboBoxStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsDropDownOpenProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxDropDownHeightProperty() const; + [[nodiscard]] auto IsDropDownOpenProperty() const; + [[nodiscard]] auto MaxDropDownHeightProperty() const; }; template <> struct consume { @@ -16339,9 +16334,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IComboBoxStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlaceholderTextProperty() const; + [[nodiscard]] auto HeaderProperty() const; + [[nodiscard]] auto HeaderTemplateProperty() const; + [[nodiscard]] auto PlaceholderTextProperty() const; }; template <> struct consume { @@ -16350,8 +16345,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IComboBoxStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LightDismissOverlayModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTextSearchEnabledProperty() const; + [[nodiscard]] auto LightDismissOverlayModeProperty() const; + [[nodiscard]] auto IsTextSearchEnabledProperty() const; }; template <> struct consume { @@ -16360,7 +16355,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IComboBoxStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionChangedTriggerProperty() const; + [[nodiscard]] auto SelectionChangedTriggerProperty() const; }; template <> struct consume { @@ -16369,7 +16364,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IComboBoxStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlaceholderForegroundProperty() const; + [[nodiscard]] auto PlaceholderForegroundProperty() const; }; template <> struct consume { @@ -16378,10 +16373,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IComboBoxStatics6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsEditableProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextBoxStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DescriptionProperty() const; + [[nodiscard]] auto IsEditableProperty() const; + [[nodiscard]] auto TextProperty() const; + [[nodiscard]] auto TextBoxStyleProperty() const; + [[nodiscard]] auto DescriptionProperty() const; }; template <> struct consume { @@ -16390,9 +16385,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IComboBoxTextSubmittedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Text() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -16401,8 +16396,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICommandBar { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) PrimaryCommands() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) SecondaryCommands() const; + [[nodiscard]] auto PrimaryCommands() const; + [[nodiscard]] auto SecondaryCommands() const; }; template <> struct consume { @@ -16411,9 +16406,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICommandBar2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) CommandBarOverflowPresenterStyle() const; - WINRT_IMPL_AUTO(void) CommandBarOverflowPresenterStyle(winrt::Windows::UI::Xaml::Style const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::CommandBarTemplateSettings) CommandBarTemplateSettings() const; + [[nodiscard]] auto CommandBarOverflowPresenterStyle() const; + auto CommandBarOverflowPresenterStyle(winrt::Windows::UI::Xaml::Style const& value) const; + [[nodiscard]] auto CommandBarTemplateSettings() const; }; template <> struct consume { @@ -16422,16 +16417,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICommandBar3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarDefaultLabelPosition) DefaultLabelPosition() const; - WINRT_IMPL_AUTO(void) DefaultLabelPosition(winrt::Windows::UI::Xaml::Controls::CommandBarDefaultLabelPosition const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarOverflowButtonVisibility) OverflowButtonVisibility() const; - WINRT_IMPL_AUTO(void) OverflowButtonVisibility(winrt::Windows::UI::Xaml::Controls::CommandBarOverflowButtonVisibility const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDynamicOverflowEnabled() const; - WINRT_IMPL_AUTO(void) IsDynamicOverflowEnabled(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) DynamicOverflowItemsChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DefaultLabelPosition() const; + auto DefaultLabelPosition(winrt::Windows::UI::Xaml::Controls::CommandBarDefaultLabelPosition const& value) const; + [[nodiscard]] auto OverflowButtonVisibility() const; + auto OverflowButtonVisibility(winrt::Windows::UI::Xaml::Controls::CommandBarOverflowButtonVisibility const& value) const; + [[nodiscard]] auto IsDynamicOverflowEnabled() const; + auto IsDynamicOverflowEnabled(bool value) const; + auto DynamicOverflowItemsChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DynamicOverflowItemsChanging_revoker = impl::event_revoker::remove_DynamicOverflowItemsChanging>; - [[nodiscard]] DynamicOverflowItemsChanging_revoker DynamicOverflowItemsChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DynamicOverflowItemsChanging(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DynamicOverflowItemsChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DynamicOverflowItemsChanging(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -16440,8 +16435,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICommandBarElement { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCompact() const; - WINRT_IMPL_AUTO(void) IsCompact(bool value) const; + [[nodiscard]] auto IsCompact() const; + auto IsCompact(bool value) const; }; template <> struct consume { @@ -16450,9 +16445,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICommandBarElement2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInOverflow() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DynamicOverflowOrder() const; - WINRT_IMPL_AUTO(void) DynamicOverflowOrder(int32_t value) const; + [[nodiscard]] auto IsInOverflow() const; + [[nodiscard]] auto DynamicOverflowOrder() const; + auto DynamicOverflowOrder(int32_t value) const; }; template <> struct consume { @@ -16461,7 +16456,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICommandBarFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBar) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -16470,8 +16465,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICommandBarFlyout { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) PrimaryCommands() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) SecondaryCommands() const; + [[nodiscard]] auto PrimaryCommands() const; + [[nodiscard]] auto SecondaryCommands() const; }; template <> struct consume { @@ -16480,7 +16475,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICommandBarFlyoutFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarFlyout) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -16497,7 +16492,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICommandBarOverflowPresenterFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarOverflowPresenter) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -16506,8 +16501,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICommandBarStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PrimaryCommandsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SecondaryCommandsProperty() const; + [[nodiscard]] auto PrimaryCommandsProperty() const; + [[nodiscard]] auto SecondaryCommandsProperty() const; }; template <> struct consume { @@ -16516,7 +16511,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICommandBarStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CommandBarOverflowPresenterStyleProperty() const; + [[nodiscard]] auto CommandBarOverflowPresenterStyleProperty() const; }; template <> struct consume { @@ -16525,9 +16520,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ICommandBarStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DefaultLabelPositionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OverflowButtonVisibilityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsDynamicOverflowEnabledProperty() const; + [[nodiscard]] auto DefaultLabelPositionProperty() const; + [[nodiscard]] auto OverflowButtonVisibilityProperty() const; + [[nodiscard]] auto IsDynamicOverflowEnabledProperty() const; }; template <> struct consume { @@ -16536,15 +16531,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem) ItemContainer() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) InRecycleQueue() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ItemIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Item() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Phase() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(void) RegisterUpdateCallback(winrt::Windows::Foundation::TypedEventHandler const& callback) const; - WINRT_IMPL_AUTO(void) RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler const& callback) const; + [[nodiscard]] auto ItemContainer() const; + [[nodiscard]] auto InRecycleQueue() const; + [[nodiscard]] auto ItemIndex() const; + [[nodiscard]] auto Item() const; + [[nodiscard]] auto Phase() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto RegisterUpdateCallback(winrt::Windows::Foundation::TypedEventHandler const& callback) const; + auto RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler const& callback) const; }; template <> struct consume { @@ -16553,14 +16548,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Content() const; - WINRT_IMPL_AUTO(void) Content(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) ContentTemplate() const; - WINRT_IMPL_AUTO(void) ContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) ContentTemplateSelector() const; - WINRT_IMPL_AUTO(void) ContentTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) ContentTransitions() const; - WINRT_IMPL_AUTO(void) ContentTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; + [[nodiscard]] auto Content() const; + auto Content(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto ContentTemplate() const; + auto ContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto ContentTemplateSelector() const; + auto ContentTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const; + [[nodiscard]] auto ContentTransitions() const; + auto ContentTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; }; template <> struct consume { @@ -16569,7 +16564,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentControl2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) ContentTemplateRoot() const; + [[nodiscard]] auto ContentTemplateRoot() const; }; template <> struct consume { @@ -16578,7 +16573,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentControlFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentControl) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -16587,9 +16582,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentControlOverrides { - WINRT_IMPL_AUTO(void) OnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const; - WINRT_IMPL_AUTO(void) OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const; - WINRT_IMPL_AUTO(void) OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const; + auto OnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const; + auto OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const; + auto OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const; }; template <> struct consume { @@ -16598,10 +16593,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentControlStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentTemplateSelectorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentTransitionsProperty() const; + [[nodiscard]] auto ContentProperty() const; + [[nodiscard]] auto ContentTemplateProperty() const; + [[nodiscard]] auto ContentTemplateSelectorProperty() const; + [[nodiscard]] auto ContentTransitionsProperty() const; }; template <> struct consume { @@ -16610,50 +16605,50 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentDialog { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Title() const; - WINRT_IMPL_AUTO(void) Title(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) TitleTemplate() const; - WINRT_IMPL_AUTO(void) TitleTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) FullSizeDesired() const; - WINRT_IMPL_AUTO(void) FullSizeDesired(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PrimaryButtonText() const; - WINRT_IMPL_AUTO(void) PrimaryButtonText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SecondaryButtonText() const; - WINRT_IMPL_AUTO(void) SecondaryButtonText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) PrimaryButtonCommand() const; - WINRT_IMPL_AUTO(void) PrimaryButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) SecondaryButtonCommand() const; - WINRT_IMPL_AUTO(void) SecondaryButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) PrimaryButtonCommandParameter() const; - WINRT_IMPL_AUTO(void) PrimaryButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SecondaryButtonCommandParameter() const; - WINRT_IMPL_AUTO(void) SecondaryButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPrimaryButtonEnabled() const; - WINRT_IMPL_AUTO(void) IsPrimaryButtonEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSecondaryButtonEnabled() const; - WINRT_IMPL_AUTO(void) IsSecondaryButtonEnabled(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Title() const; + auto Title(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto TitleTemplate() const; + auto TitleTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto FullSizeDesired() const; + auto FullSizeDesired(bool value) const; + [[nodiscard]] auto PrimaryButtonText() const; + auto PrimaryButtonText(param::hstring const& value) const; + [[nodiscard]] auto SecondaryButtonText() const; + auto SecondaryButtonText(param::hstring const& value) const; + [[nodiscard]] auto PrimaryButtonCommand() const; + auto PrimaryButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const; + [[nodiscard]] auto SecondaryButtonCommand() const; + auto SecondaryButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const; + [[nodiscard]] auto PrimaryButtonCommandParameter() const; + auto PrimaryButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto SecondaryButtonCommandParameter() const; + auto SecondaryButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto IsPrimaryButtonEnabled() const; + auto IsPrimaryButtonEnabled(bool value) const; + [[nodiscard]] auto IsSecondaryButtonEnabled() const; + auto IsSecondaryButtonEnabled(bool value) const; + auto Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closing_revoker = impl::event_revoker::remove_Closing>; - [[nodiscard]] Closing_revoker Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closing(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closing(winrt::event_token const& token) const noexcept; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + auto Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Opened_revoker = impl::event_revoker::remove_Opened>; - [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Opened(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PrimaryButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Opened(winrt::event_token const& token) const noexcept; + auto PrimaryButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PrimaryButtonClick_revoker = impl::event_revoker::remove_PrimaryButtonClick>; - [[nodiscard]] PrimaryButtonClick_revoker PrimaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PrimaryButtonClick(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SecondaryButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PrimaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PrimaryButtonClick(winrt::event_token const& token) const noexcept; + auto SecondaryButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SecondaryButtonClick_revoker = impl::event_revoker::remove_SecondaryButtonClick>; - [[nodiscard]] SecondaryButtonClick_revoker SecondaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SecondaryButtonClick(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Hide() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowAsync() const; + [[nodiscard]] auto SecondaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SecondaryButtonClick(winrt::event_token const& token) const noexcept; + auto Hide() const; + auto ShowAsync() const; }; template <> struct consume { @@ -16662,24 +16657,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentDialog2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CloseButtonText() const; - WINRT_IMPL_AUTO(void) CloseButtonText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) CloseButtonCommand() const; - WINRT_IMPL_AUTO(void) CloseButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CloseButtonCommandParameter() const; - WINRT_IMPL_AUTO(void) CloseButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) PrimaryButtonStyle() const; - WINRT_IMPL_AUTO(void) PrimaryButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) SecondaryButtonStyle() const; - WINRT_IMPL_AUTO(void) SecondaryButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) CloseButtonStyle() const; - WINRT_IMPL_AUTO(void) CloseButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialogButton) DefaultButton() const; - WINRT_IMPL_AUTO(void) DefaultButton(winrt::Windows::UI::Xaml::Controls::ContentDialogButton const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) CloseButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CloseButtonText() const; + auto CloseButtonText(param::hstring const& value) const; + [[nodiscard]] auto CloseButtonCommand() const; + auto CloseButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const; + [[nodiscard]] auto CloseButtonCommandParameter() const; + auto CloseButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto PrimaryButtonStyle() const; + auto PrimaryButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const; + [[nodiscard]] auto SecondaryButtonStyle() const; + auto SecondaryButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const; + [[nodiscard]] auto CloseButtonStyle() const; + auto CloseButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const; + [[nodiscard]] auto DefaultButton() const; + auto DefaultButton(winrt::Windows::UI::Xaml::Controls::ContentDialogButton const& value) const; + auto CloseButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CloseButtonClick_revoker = impl::event_revoker::remove_CloseButtonClick>; - [[nodiscard]] CloseButtonClick_revoker CloseButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CloseButtonClick(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CloseButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CloseButtonClick(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -16688,7 +16683,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentDialog3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowAsync(winrt::Windows::UI::Xaml::Controls::ContentDialogPlacement const& placement) const; + auto ShowAsync(winrt::Windows::UI::Xaml::Controls::ContentDialogPlacement const& placement) const; }; template <> struct consume { @@ -16697,7 +16692,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -16706,9 +16701,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickDeferral) GetDeferral() const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -16717,7 +16712,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentDialogClosedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialogResult) Result() const; + [[nodiscard]] auto Result() const; }; template <> struct consume { @@ -16726,7 +16721,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentDialogClosingDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -16735,10 +16730,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialogResult) Result() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialogClosingDeferral) GetDeferral() const; + [[nodiscard]] auto Result() const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -16747,7 +16742,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentDialogFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialog) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -16764,17 +16759,17 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentDialogStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TitleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TitleTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FullSizeDesiredProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PrimaryButtonTextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SecondaryButtonTextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PrimaryButtonCommandProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SecondaryButtonCommandProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PrimaryButtonCommandParameterProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SecondaryButtonCommandParameterProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsPrimaryButtonEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSecondaryButtonEnabledProperty() const; + [[nodiscard]] auto TitleProperty() const; + [[nodiscard]] auto TitleTemplateProperty() const; + [[nodiscard]] auto FullSizeDesiredProperty() const; + [[nodiscard]] auto PrimaryButtonTextProperty() const; + [[nodiscard]] auto SecondaryButtonTextProperty() const; + [[nodiscard]] auto PrimaryButtonCommandProperty() const; + [[nodiscard]] auto SecondaryButtonCommandProperty() const; + [[nodiscard]] auto PrimaryButtonCommandParameterProperty() const; + [[nodiscard]] auto SecondaryButtonCommandParameterProperty() const; + [[nodiscard]] auto IsPrimaryButtonEnabledProperty() const; + [[nodiscard]] auto IsSecondaryButtonEnabledProperty() const; }; template <> struct consume { @@ -16783,13 +16778,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentDialogStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CloseButtonTextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CloseButtonCommandProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CloseButtonCommandParameterProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PrimaryButtonStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SecondaryButtonStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CloseButtonStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DefaultButtonProperty() const; + [[nodiscard]] auto CloseButtonTextProperty() const; + [[nodiscard]] auto CloseButtonCommandProperty() const; + [[nodiscard]] auto CloseButtonCommandParameterProperty() const; + [[nodiscard]] auto PrimaryButtonStyleProperty() const; + [[nodiscard]] auto SecondaryButtonStyleProperty() const; + [[nodiscard]] auto CloseButtonStyleProperty() const; + [[nodiscard]] auto DefaultButtonProperty() const; }; template <> struct consume { @@ -16798,9 +16793,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentLinkChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentLinkChangeKind) ChangeKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ContentLinkInfo) ContentLinkInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextRange) TextRange() const; + [[nodiscard]] auto ChangeKind() const; + [[nodiscard]] auto ContentLinkInfo() const; + [[nodiscard]] auto TextRange() const; }; template <> struct consume { @@ -16809,28 +16804,28 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentPresenter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Content() const; - WINRT_IMPL_AUTO(void) Content(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) ContentTemplate() const; - WINRT_IMPL_AUTO(void) ContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) ContentTemplateSelector() const; - WINRT_IMPL_AUTO(void) ContentTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) ContentTransitions() const; - WINRT_IMPL_AUTO(void) ContentTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FontSize() const; - WINRT_IMPL_AUTO(void) FontSize(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) FontFamily() const; - WINRT_IMPL_AUTO(void) FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) FontWeight() const; - WINRT_IMPL_AUTO(void) FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) FontStyle() const; - WINRT_IMPL_AUTO(void) FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) FontStretch() const; - WINRT_IMPL_AUTO(void) FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CharacterSpacing() const; - WINRT_IMPL_AUTO(void) CharacterSpacing(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Foreground() const; - WINRT_IMPL_AUTO(void) Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto Content() const; + auto Content(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto ContentTemplate() const; + auto ContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto ContentTemplateSelector() const; + auto ContentTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const; + [[nodiscard]] auto ContentTransitions() const; + auto ContentTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; + [[nodiscard]] auto FontSize() const; + auto FontSize(double value) const; + [[nodiscard]] auto FontFamily() const; + auto FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; + [[nodiscard]] auto FontWeight() const; + auto FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; + [[nodiscard]] auto FontStyle() const; + auto FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; + [[nodiscard]] auto FontStretch() const; + auto FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const; + [[nodiscard]] auto CharacterSpacing() const; + auto CharacterSpacing(int32_t value) const; + [[nodiscard]] auto Foreground() const; + auto Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; }; template <> struct consume { @@ -16839,10 +16834,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentPresenter2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::OpticalMarginAlignment) OpticalMarginAlignment() const; - WINRT_IMPL_AUTO(void) OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextLineBounds) TextLineBounds() const; - WINRT_IMPL_AUTO(void) TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const; + [[nodiscard]] auto OpticalMarginAlignment() const; + auto OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const; + [[nodiscard]] auto TextLineBounds() const; + auto TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const; }; template <> struct consume { @@ -16851,8 +16846,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentPresenter3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextScaleFactorEnabled() const; - WINRT_IMPL_AUTO(void) IsTextScaleFactorEnabled(bool value) const; + [[nodiscard]] auto IsTextScaleFactorEnabled() const; + auto IsTextScaleFactorEnabled(bool value) const; }; template <> struct consume { @@ -16861,28 +16856,28 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentPresenter4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextWrapping) TextWrapping() const; - WINRT_IMPL_AUTO(void) TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxLines() const; - WINRT_IMPL_AUTO(void) MaxLines(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::LineStackingStrategy) LineStackingStrategy() const; - WINRT_IMPL_AUTO(void) LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) LineHeight() const; - WINRT_IMPL_AUTO(void) LineHeight(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) BorderBrush() const; - WINRT_IMPL_AUTO(void) BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) BorderThickness() const; - WINRT_IMPL_AUTO(void) BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) CornerRadius() const; - WINRT_IMPL_AUTO(void) CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) Padding() const; - WINRT_IMPL_AUTO(void) Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Background() const; - WINRT_IMPL_AUTO(void) Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) HorizontalContentAlignment() const; - WINRT_IMPL_AUTO(void) HorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) VerticalContentAlignment() const; - WINRT_IMPL_AUTO(void) VerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; + [[nodiscard]] auto TextWrapping() const; + auto TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const; + [[nodiscard]] auto MaxLines() const; + auto MaxLines(int32_t value) const; + [[nodiscard]] auto LineStackingStrategy() const; + auto LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const; + [[nodiscard]] auto LineHeight() const; + auto LineHeight(double value) const; + [[nodiscard]] auto BorderBrush() const; + auto BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto BorderThickness() const; + auto BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto CornerRadius() const; + auto CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const; + [[nodiscard]] auto Padding() const; + auto Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto Background() const; + auto Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto HorizontalContentAlignment() const; + auto HorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; + [[nodiscard]] auto VerticalContentAlignment() const; + auto VerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; }; template <> struct consume { @@ -16891,10 +16886,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentPresenter5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::BrushTransition) BackgroundTransition() const; - WINRT_IMPL_AUTO(void) BackgroundTransition(winrt::Windows::UI::Xaml::BrushTransition const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) BackgroundSizing() const; - WINRT_IMPL_AUTO(void) BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const; + [[nodiscard]] auto BackgroundTransition() const; + auto BackgroundTransition(winrt::Windows::UI::Xaml::BrushTransition const& value) const; + [[nodiscard]] auto BackgroundSizing() const; + auto BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const; }; template <> struct consume { @@ -16903,7 +16898,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentPresenterFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentPresenter) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -16912,8 +16907,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentPresenterOverrides { - WINRT_IMPL_AUTO(void) OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const; - WINRT_IMPL_AUTO(void) OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const; + auto OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const; + auto OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const; }; template <> struct consume { @@ -16922,17 +16917,17 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentPresenterStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentTemplateSelectorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentTransitionsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontFamilyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontWeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontStretchProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CharacterSpacingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ForegroundProperty() const; + [[nodiscard]] auto ContentProperty() const; + [[nodiscard]] auto ContentTemplateProperty() const; + [[nodiscard]] auto ContentTemplateSelectorProperty() const; + [[nodiscard]] auto ContentTransitionsProperty() const; + [[nodiscard]] auto FontSizeProperty() const; + [[nodiscard]] auto FontFamilyProperty() const; + [[nodiscard]] auto FontWeightProperty() const; + [[nodiscard]] auto FontStyleProperty() const; + [[nodiscard]] auto FontStretchProperty() const; + [[nodiscard]] auto CharacterSpacingProperty() const; + [[nodiscard]] auto ForegroundProperty() const; }; template <> struct consume { @@ -16941,8 +16936,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentPresenterStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OpticalMarginAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextLineBoundsProperty() const; + [[nodiscard]] auto OpticalMarginAlignmentProperty() const; + [[nodiscard]] auto TextLineBoundsProperty() const; }; template <> struct consume { @@ -16951,7 +16946,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentPresenterStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTextScaleFactorEnabledProperty() const; + [[nodiscard]] auto IsTextScaleFactorEnabledProperty() const; }; template <> struct consume { @@ -16960,17 +16955,17 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextWrappingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxLinesProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LineStackingStrategyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LineHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BorderThicknessProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CornerRadiusProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaddingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalContentAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalContentAlignmentProperty() const; + [[nodiscard]] auto TextWrappingProperty() const; + [[nodiscard]] auto MaxLinesProperty() const; + [[nodiscard]] auto LineStackingStrategyProperty() const; + [[nodiscard]] auto LineHeightProperty() const; + [[nodiscard]] auto BorderBrushProperty() const; + [[nodiscard]] auto BorderThicknessProperty() const; + [[nodiscard]] auto CornerRadiusProperty() const; + [[nodiscard]] auto PaddingProperty() const; + [[nodiscard]] auto BackgroundProperty() const; + [[nodiscard]] auto HorizontalContentAlignmentProperty() const; + [[nodiscard]] auto VerticalContentAlignmentProperty() const; }; template <> struct consume { @@ -16979,7 +16974,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContentPresenterStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackgroundSizingProperty() const; + [[nodiscard]] auto BackgroundSizingProperty() const; }; template <> struct consume { @@ -16988,10 +16983,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CursorLeft() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CursorTop() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto CursorLeft() const; + [[nodiscard]] auto CursorTop() const; }; template <> struct consume { @@ -17000,49 +16995,49 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControl { - [[nodiscard]] WINRT_IMPL_AUTO(double) FontSize() const; - WINRT_IMPL_AUTO(void) FontSize(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) FontFamily() const; - WINRT_IMPL_AUTO(void) FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) FontWeight() const; - WINRT_IMPL_AUTO(void) FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) FontStyle() const; - WINRT_IMPL_AUTO(void) FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) FontStretch() const; - WINRT_IMPL_AUTO(void) FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CharacterSpacing() const; - WINRT_IMPL_AUTO(void) CharacterSpacing(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Foreground() const; - WINRT_IMPL_AUTO(void) Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTabStop() const; - WINRT_IMPL_AUTO(void) IsTabStop(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) TabIndex() const; - WINRT_IMPL_AUTO(void) TabIndex(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode) TabNavigation() const; - WINRT_IMPL_AUTO(void) TabNavigation(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ControlTemplate) Template() const; - WINRT_IMPL_AUTO(void) Template(winrt::Windows::UI::Xaml::Controls::ControlTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) Padding() const; - WINRT_IMPL_AUTO(void) Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) HorizontalContentAlignment() const; - WINRT_IMPL_AUTO(void) HorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) VerticalContentAlignment() const; - WINRT_IMPL_AUTO(void) VerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Background() const; - WINRT_IMPL_AUTO(void) Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) BorderThickness() const; - WINRT_IMPL_AUTO(void) BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) BorderBrush() const; - WINRT_IMPL_AUTO(void) BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusState) FocusState() const; - WINRT_IMPL_AUTO(winrt::event_token) IsEnabledChanged(winrt::Windows::UI::Xaml::DependencyPropertyChangedEventHandler const& handler) const; + [[nodiscard]] auto FontSize() const; + auto FontSize(double value) const; + [[nodiscard]] auto FontFamily() const; + auto FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; + [[nodiscard]] auto FontWeight() const; + auto FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; + [[nodiscard]] auto FontStyle() const; + auto FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; + [[nodiscard]] auto FontStretch() const; + auto FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const; + [[nodiscard]] auto CharacterSpacing() const; + auto CharacterSpacing(int32_t value) const; + [[nodiscard]] auto Foreground() const; + auto Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto IsTabStop() const; + auto IsTabStop(bool value) const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto TabIndex() const; + auto TabIndex(int32_t value) const; + [[nodiscard]] auto TabNavigation() const; + auto TabNavigation(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode const& value) const; + [[nodiscard]] auto Template() const; + auto Template(winrt::Windows::UI::Xaml::Controls::ControlTemplate const& value) const; + [[nodiscard]] auto Padding() const; + auto Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto HorizontalContentAlignment() const; + auto HorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; + [[nodiscard]] auto VerticalContentAlignment() const; + auto VerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; + [[nodiscard]] auto Background() const; + auto Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto BorderThickness() const; + auto BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto BorderBrush() const; + auto BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto FocusState() const; + auto IsEnabledChanged(winrt::Windows::UI::Xaml::DependencyPropertyChangedEventHandler const& handler) const; using IsEnabledChanged_revoker = impl::event_revoker::remove_IsEnabledChanged>; - [[nodiscard]] IsEnabledChanged_revoker IsEnabledChanged(auto_revoke_t, winrt::Windows::UI::Xaml::DependencyPropertyChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsEnabledChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(bool) ApplyTemplate() const; - WINRT_IMPL_AUTO(bool) Focus(winrt::Windows::UI::Xaml::FocusState const& value) const; + [[nodiscard]] auto IsEnabledChanged(auto_revoke_t, winrt::Windows::UI::Xaml::DependencyPropertyChangedEventHandler const& handler) const; + auto IsEnabledChanged(winrt::event_token const& token) const noexcept; + auto ApplyTemplate() const; + auto Focus(winrt::Windows::UI::Xaml::FocusState const& value) const; }; template <> struct consume { @@ -17051,8 +17046,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControl2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextScaleFactorEnabled() const; - WINRT_IMPL_AUTO(void) IsTextScaleFactorEnabled(bool value) const; + [[nodiscard]] auto IsTextScaleFactorEnabled() const; + auto IsTextScaleFactorEnabled(bool value) const; }; template <> struct consume { @@ -17061,8 +17056,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControl3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) UseSystemFocusVisuals() const; - WINRT_IMPL_AUTO(void) UseSystemFocusVisuals(bool value) const; + [[nodiscard]] auto UseSystemFocusVisuals() const; + auto UseSystemFocusVisuals(bool value) const; }; template <> struct consume { @@ -17071,31 +17066,31 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControl4 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFocusEngagementEnabled() const; - WINRT_IMPL_AUTO(void) IsFocusEngagementEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFocusEngaged() const; - WINRT_IMPL_AUTO(void) IsFocusEngaged(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RequiresPointer) RequiresPointer() const; - WINRT_IMPL_AUTO(void) RequiresPointer(winrt::Windows::UI::Xaml::Controls::RequiresPointer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) XYFocusLeft() const; - WINRT_IMPL_AUTO(void) XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) XYFocusRight() const; - WINRT_IMPL_AUTO(void) XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) XYFocusUp() const; - WINRT_IMPL_AUTO(void) XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) XYFocusDown() const; - WINRT_IMPL_AUTO(void) XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSoundMode) ElementSoundMode() const; - WINRT_IMPL_AUTO(void) ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) FocusEngaged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsFocusEngagementEnabled() const; + auto IsFocusEngagementEnabled(bool value) const; + [[nodiscard]] auto IsFocusEngaged() const; + auto IsFocusEngaged(bool value) const; + [[nodiscard]] auto RequiresPointer() const; + auto RequiresPointer(winrt::Windows::UI::Xaml::Controls::RequiresPointer const& value) const; + [[nodiscard]] auto XYFocusLeft() const; + auto XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto XYFocusRight() const; + auto XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto XYFocusUp() const; + auto XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto XYFocusDown() const; + auto XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto ElementSoundMode() const; + auto ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const; + auto FocusEngaged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FocusEngaged_revoker = impl::event_revoker::remove_FocusEngaged>; - [[nodiscard]] FocusEngaged_revoker FocusEngaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FocusEngaged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) FocusDisengaged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto FocusEngaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FocusEngaged(winrt::event_token const& token) const noexcept; + auto FocusDisengaged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FocusDisengaged_revoker = impl::event_revoker::remove_FocusDisengaged>; - [[nodiscard]] FocusDisengaged_revoker FocusDisengaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FocusDisengaged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) RemoveFocusEngagement() const; + [[nodiscard]] auto FocusDisengaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FocusDisengaged(winrt::event_token const& token) const noexcept; + auto RemoveFocusEngagement() const; }; template <> struct consume { @@ -17104,8 +17099,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControl5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) DefaultStyleResourceUri() const; - WINRT_IMPL_AUTO(void) DefaultStyleResourceUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto DefaultStyleResourceUri() const; + auto DefaultStyleResourceUri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -17114,10 +17109,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControl7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) BackgroundSizing() const; - WINRT_IMPL_AUTO(void) BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) CornerRadius() const; - WINRT_IMPL_AUTO(void) CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const; + [[nodiscard]] auto BackgroundSizing() const; + auto BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const; + [[nodiscard]] auto CornerRadius() const; + auto CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const; }; template <> struct consume { @@ -17126,7 +17121,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControlFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Control) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -17135,31 +17130,31 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControlOverrides { - WINRT_IMPL_AUTO(void) OnPointerEntered(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnPointerPressed(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnPointerMoved(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnPointerReleased(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnPointerExited(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnPointerCaptureLost(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnPointerCanceled(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnPointerWheelChanged(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnTapped(winrt::Windows::UI::Xaml::Input::TappedRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnDoubleTapped(winrt::Windows::UI::Xaml::Input::DoubleTappedRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnHolding(winrt::Windows::UI::Xaml::Input::HoldingRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnRightTapped(winrt::Windows::UI::Xaml::Input::RightTappedRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnManipulationStarting(winrt::Windows::UI::Xaml::Input::ManipulationStartingRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnManipulationInertiaStarting(winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnManipulationStarted(winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnManipulationDelta(winrt::Windows::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnManipulationCompleted(winrt::Windows::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnGotFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnLostFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnDragEnter(winrt::Windows::UI::Xaml::DragEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnDragLeave(winrt::Windows::UI::Xaml::DragEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnDragOver(winrt::Windows::UI::Xaml::DragEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnDrop(winrt::Windows::UI::Xaml::DragEventArgs const& e) const; + auto OnPointerEntered(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; + auto OnPointerPressed(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; + auto OnPointerMoved(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; + auto OnPointerReleased(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; + auto OnPointerExited(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; + auto OnPointerCaptureLost(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; + auto OnPointerCanceled(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; + auto OnPointerWheelChanged(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; + auto OnTapped(winrt::Windows::UI::Xaml::Input::TappedRoutedEventArgs const& e) const; + auto OnDoubleTapped(winrt::Windows::UI::Xaml::Input::DoubleTappedRoutedEventArgs const& e) const; + auto OnHolding(winrt::Windows::UI::Xaml::Input::HoldingRoutedEventArgs const& e) const; + auto OnRightTapped(winrt::Windows::UI::Xaml::Input::RightTappedRoutedEventArgs const& e) const; + auto OnManipulationStarting(winrt::Windows::UI::Xaml::Input::ManipulationStartingRoutedEventArgs const& e) const; + auto OnManipulationInertiaStarting(winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingRoutedEventArgs const& e) const; + auto OnManipulationStarted(winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs const& e) const; + auto OnManipulationDelta(winrt::Windows::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs const& e) const; + auto OnManipulationCompleted(winrt::Windows::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs const& e) const; + auto OnKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const; + auto OnKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const; + auto OnGotFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const; + auto OnLostFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const; + auto OnDragEnter(winrt::Windows::UI::Xaml::DragEventArgs const& e) const; + auto OnDragLeave(winrt::Windows::UI::Xaml::DragEventArgs const& e) const; + auto OnDragOver(winrt::Windows::UI::Xaml::DragEventArgs const& e) const; + auto OnDrop(winrt::Windows::UI::Xaml::DragEventArgs const& e) const; }; template <> struct consume { @@ -17168,9 +17163,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControlOverrides6 { - WINRT_IMPL_AUTO(void) OnPreviewKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnPreviewKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnCharacterReceived(winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs const& e) const; + auto OnPreviewKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const; + auto OnPreviewKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const; + auto OnCharacterReceived(winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs const& e) const; }; template <> struct consume { @@ -17179,9 +17174,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControlProtected { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) DefaultStyleKey() const; - WINRT_IMPL_AUTO(void) DefaultStyleKey(winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) GetTemplateChild(param::hstring const& childName) const; + [[nodiscard]] auto DefaultStyleKey() const; + auto DefaultStyleKey(winrt::Windows::Foundation::IInspectable const& value) const; + auto GetTemplateChild(param::hstring const& childName) const; }; template <> struct consume { @@ -17190,26 +17185,26 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControlStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontFamilyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontWeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontStretchProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CharacterSpacingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTabStopProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TabIndexProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TabNavigationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaddingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalContentAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalContentAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BorderThicknessProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DefaultStyleKeyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FocusStateProperty() const; + [[nodiscard]] auto FontSizeProperty() const; + [[nodiscard]] auto FontFamilyProperty() const; + [[nodiscard]] auto FontWeightProperty() const; + [[nodiscard]] auto FontStyleProperty() const; + [[nodiscard]] auto FontStretchProperty() const; + [[nodiscard]] auto CharacterSpacingProperty() const; + [[nodiscard]] auto ForegroundProperty() const; + [[nodiscard]] auto IsTabStopProperty() const; + [[nodiscard]] auto IsEnabledProperty() const; + [[nodiscard]] auto TabIndexProperty() const; + [[nodiscard]] auto TabNavigationProperty() const; + [[nodiscard]] auto TemplateProperty() const; + [[nodiscard]] auto PaddingProperty() const; + [[nodiscard]] auto HorizontalContentAlignmentProperty() const; + [[nodiscard]] auto VerticalContentAlignmentProperty() const; + [[nodiscard]] auto BackgroundProperty() const; + [[nodiscard]] auto BorderThicknessProperty() const; + [[nodiscard]] auto BorderBrushProperty() const; + [[nodiscard]] auto DefaultStyleKeyProperty() const; + [[nodiscard]] auto FocusStateProperty() const; }; template <> struct consume { @@ -17218,7 +17213,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControlStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTextScaleFactorEnabledProperty() const; + [[nodiscard]] auto IsTextScaleFactorEnabledProperty() const; }; template <> struct consume { @@ -17227,10 +17222,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControlStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) UseSystemFocusVisualsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTemplateFocusTargetProperty() const; - WINRT_IMPL_AUTO(bool) GetIsTemplateFocusTarget(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; - WINRT_IMPL_AUTO(void) SetIsTemplateFocusTarget(winrt::Windows::UI::Xaml::FrameworkElement const& element, bool value) const; + [[nodiscard]] auto UseSystemFocusVisualsProperty() const; + [[nodiscard]] auto IsTemplateFocusTargetProperty() const; + auto GetIsTemplateFocusTarget(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; + auto SetIsTemplateFocusTarget(winrt::Windows::UI::Xaml::FrameworkElement const& element, bool value) const; }; template <> struct consume { @@ -17239,14 +17234,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControlStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsFocusEngagementEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsFocusEngagedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RequiresPointerProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusLeftProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusRightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusUpProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusDownProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ElementSoundModeProperty() const; + [[nodiscard]] auto IsFocusEngagementEnabledProperty() const; + [[nodiscard]] auto IsFocusEngagedProperty() const; + [[nodiscard]] auto RequiresPointerProperty() const; + [[nodiscard]] auto XYFocusLeftProperty() const; + [[nodiscard]] auto XYFocusRightProperty() const; + [[nodiscard]] auto XYFocusUpProperty() const; + [[nodiscard]] auto XYFocusDownProperty() const; + [[nodiscard]] auto ElementSoundModeProperty() const; }; template <> struct consume { @@ -17255,10 +17250,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControlStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DefaultStyleResourceUriProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTemplateKeyTipTargetProperty() const; - WINRT_IMPL_AUTO(bool) GetIsTemplateKeyTipTarget(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetIsTemplateKeyTipTarget(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto DefaultStyleResourceUriProperty() const; + [[nodiscard]] auto IsTemplateKeyTipTargetProperty() const; + auto GetIsTemplateKeyTipTarget(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetIsTemplateKeyTipTarget(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; }; template <> struct consume { @@ -17267,8 +17262,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControlStatics7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackgroundSizingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CornerRadiusProperty() const; + [[nodiscard]] auto BackgroundSizingProperty() const; + [[nodiscard]] auto CornerRadiusProperty() const; }; template <> struct consume { @@ -17277,8 +17272,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IControlTemplate { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) TargetType() const; - WINRT_IMPL_AUTO(void) TargetType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const; + [[nodiscard]] auto TargetType() const; + auto TargetType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const; }; template <> struct consume { @@ -17287,7 +17282,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDataTemplateSelector { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) SelectTemplate(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const; + auto SelectTemplate(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const; }; template <> struct consume { @@ -17296,7 +17291,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDataTemplateSelector2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) SelectTemplate(winrt::Windows::Foundation::IInspectable const& item) const; + auto SelectTemplate(winrt::Windows::Foundation::IInspectable const& item) const; }; template <> struct consume { @@ -17305,7 +17300,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDataTemplateSelectorFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -17314,7 +17309,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDataTemplateSelectorOverrides { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const; + auto SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const; }; template <> struct consume { @@ -17323,7 +17318,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDataTemplateSelectorOverrides2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item) const; + auto SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item) const; }; template <> struct consume { @@ -17332,8 +17327,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePickedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) OldDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) NewDate() const; + [[nodiscard]] auto OldDate() const; + [[nodiscard]] auto NewDate() const; }; template <> struct consume { @@ -17342,36 +17337,36 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePicker { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; - WINRT_IMPL_AUTO(void) Header(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) HeaderTemplate() const; - WINRT_IMPL_AUTO(void) HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CalendarIdentifier() const; - WINRT_IMPL_AUTO(void) CalendarIdentifier(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Date() const; - WINRT_IMPL_AUTO(void) Date(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DayVisible() const; - WINRT_IMPL_AUTO(void) DayVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) MonthVisible() const; - WINRT_IMPL_AUTO(void) MonthVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) YearVisible() const; - WINRT_IMPL_AUTO(void) YearVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DayFormat() const; - WINRT_IMPL_AUTO(void) DayFormat(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MonthFormat() const; - WINRT_IMPL_AUTO(void) MonthFormat(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) YearFormat() const; - WINRT_IMPL_AUTO(void) YearFormat(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) MinYear() const; - WINRT_IMPL_AUTO(void) MinYear(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) MaxYear() const; - WINRT_IMPL_AUTO(void) MaxYear(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) Orientation() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) DateChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto Header() const; + auto Header(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto HeaderTemplate() const; + auto HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto CalendarIdentifier() const; + auto CalendarIdentifier(param::hstring const& value) const; + [[nodiscard]] auto Date() const; + auto Date(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto DayVisible() const; + auto DayVisible(bool value) const; + [[nodiscard]] auto MonthVisible() const; + auto MonthVisible(bool value) const; + [[nodiscard]] auto YearVisible() const; + auto YearVisible(bool value) const; + [[nodiscard]] auto DayFormat() const; + auto DayFormat(param::hstring const& value) const; + [[nodiscard]] auto MonthFormat() const; + auto MonthFormat(param::hstring const& value) const; + [[nodiscard]] auto YearFormat() const; + auto YearFormat(param::hstring const& value) const; + [[nodiscard]] auto MinYear() const; + auto MinYear(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto MaxYear() const; + auto MaxYear(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto Orientation() const; + auto Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; + auto DateChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using DateChanged_revoker = impl::event_revoker::remove_DateChanged>; - [[nodiscard]] DateChanged_revoker DateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto DateChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -17380,8 +17375,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePicker2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) LightDismissOverlayMode() const; - WINRT_IMPL_AUTO(void) LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; + [[nodiscard]] auto LightDismissOverlayMode() const; + auto LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; }; template <> struct consume { @@ -17390,12 +17385,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePicker3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SelectedDate() const; - WINRT_IMPL_AUTO(void) SelectedDate(winrt::Windows::Foundation::IReference const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) SelectedDateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SelectedDate() const; + auto SelectedDate(winrt::Windows::Foundation::IReference const& value) const; + auto SelectedDateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SelectedDateChanged_revoker = impl::event_revoker::remove_SelectedDateChanged>; - [[nodiscard]] SelectedDateChanged_revoker SelectedDateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SelectedDateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SelectedDateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SelectedDateChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -17404,7 +17399,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePickerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DatePicker) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -17413,25 +17408,25 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePickerFlyout { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CalendarIdentifier() const; - WINRT_IMPL_AUTO(void) CalendarIdentifier(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Date() const; - WINRT_IMPL_AUTO(void) Date(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) DayVisible() const; - WINRT_IMPL_AUTO(void) DayVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) MonthVisible() const; - WINRT_IMPL_AUTO(void) MonthVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) YearVisible() const; - WINRT_IMPL_AUTO(void) YearVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) MinYear() const; - WINRT_IMPL_AUTO(void) MinYear(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) MaxYear() const; - WINRT_IMPL_AUTO(void) MaxYear(winrt::Windows::Foundation::DateTime const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) DatePicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CalendarIdentifier() const; + auto CalendarIdentifier(param::hstring const& value) const; + [[nodiscard]] auto Date() const; + auto Date(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto DayVisible() const; + auto DayVisible(bool value) const; + [[nodiscard]] auto MonthVisible() const; + auto MonthVisible(bool value) const; + [[nodiscard]] auto YearVisible() const; + auto YearVisible(bool value) const; + [[nodiscard]] auto MinYear() const; + auto MinYear(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto MaxYear() const; + auto MaxYear(winrt::Windows::Foundation::DateTime const& value) const; + auto DatePicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DatePicked_revoker = impl::event_revoker::remove_DatePicked>; - [[nodiscard]] DatePicked_revoker DatePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DatePicked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const; + [[nodiscard]] auto DatePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DatePicked(winrt::event_token const& token) const noexcept; + auto ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const; }; template <> struct consume { @@ -17440,12 +17435,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DayFormat() const; - WINRT_IMPL_AUTO(void) DayFormat(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MonthFormat() const; - WINRT_IMPL_AUTO(void) MonthFormat(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) YearFormat() const; - WINRT_IMPL_AUTO(void) YearFormat(param::hstring const& value) const; + [[nodiscard]] auto DayFormat() const; + auto DayFormat(param::hstring const& value) const; + [[nodiscard]] auto MonthFormat() const; + auto MonthFormat(param::hstring const& value) const; + [[nodiscard]] auto YearFormat() const; + auto YearFormat(param::hstring const& value) const; }; template <> struct consume { @@ -17454,10 +17449,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PrimaryText() const; - WINRT_IMPL_AUTO(void) PrimaryText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SecondaryText() const; - WINRT_IMPL_AUTO(void) SecondaryText(param::hstring const& value) const; + [[nodiscard]] auto PrimaryText() const; + auto PrimaryText(param::hstring const& value) const; + [[nodiscard]] auto SecondaryText() const; + auto SecondaryText(param::hstring const& value) const; }; template <> struct consume { @@ -17466,8 +17461,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItemStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PrimaryTextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SecondaryTextProperty() const; + [[nodiscard]] auto PrimaryTextProperty() const; + [[nodiscard]] auto SecondaryTextProperty() const; }; template <> struct consume { @@ -17484,8 +17479,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutPresenter2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDefaultShadowEnabled() const; - WINRT_IMPL_AUTO(void) IsDefaultShadowEnabled(bool value) const; + [[nodiscard]] auto IsDefaultShadowEnabled() const; + auto IsDefaultShadowEnabled(bool value) const; }; template <> struct consume { @@ -17494,7 +17489,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutPresenterStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsDefaultShadowEnabledProperty() const; + [[nodiscard]] auto IsDefaultShadowEnabledProperty() const; }; template <> struct consume { @@ -17503,13 +17498,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CalendarIdentifierProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DayVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MonthVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) YearVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinYearProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxYearProperty() const; + [[nodiscard]] auto CalendarIdentifierProperty() const; + [[nodiscard]] auto DateProperty() const; + [[nodiscard]] auto DayVisibleProperty() const; + [[nodiscard]] auto MonthVisibleProperty() const; + [[nodiscard]] auto YearVisibleProperty() const; + [[nodiscard]] auto MinYearProperty() const; + [[nodiscard]] auto MaxYearProperty() const; }; template <> struct consume { @@ -17518,9 +17513,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DayFormatProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MonthFormatProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) YearFormatProperty() const; + [[nodiscard]] auto DayFormatProperty() const; + [[nodiscard]] auto MonthFormatProperty() const; + [[nodiscard]] auto YearFormatProperty() const; }; template <> struct consume { @@ -17529,8 +17524,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePickerSelectedValueChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) OldDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) NewDate() const; + [[nodiscard]] auto OldDate() const; + [[nodiscard]] auto NewDate() const; }; template <> struct consume { @@ -17539,19 +17534,19 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePickerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CalendarIdentifierProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DayVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MonthVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) YearVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DayFormatProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MonthFormatProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) YearFormatProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinYearProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxYearProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OrientationProperty() const; + [[nodiscard]] auto HeaderProperty() const; + [[nodiscard]] auto HeaderTemplateProperty() const; + [[nodiscard]] auto CalendarIdentifierProperty() const; + [[nodiscard]] auto DateProperty() const; + [[nodiscard]] auto DayVisibleProperty() const; + [[nodiscard]] auto MonthVisibleProperty() const; + [[nodiscard]] auto YearVisibleProperty() const; + [[nodiscard]] auto DayFormatProperty() const; + [[nodiscard]] auto MonthFormatProperty() const; + [[nodiscard]] auto YearFormatProperty() const; + [[nodiscard]] auto MinYearProperty() const; + [[nodiscard]] auto MaxYearProperty() const; + [[nodiscard]] auto OrientationProperty() const; }; template <> struct consume { @@ -17560,7 +17555,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePickerStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LightDismissOverlayModeProperty() const; + [[nodiscard]] auto LightDismissOverlayModeProperty() const; }; template <> struct consume { @@ -17569,7 +17564,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePickerStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedDateProperty() const; + [[nodiscard]] auto SelectedDateProperty() const; }; template <> struct consume { @@ -17578,8 +17573,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDatePickerValueChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) OldDate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) NewDate() const; + [[nodiscard]] auto OldDate() const; + [[nodiscard]] auto NewDate() const; }; template <> struct consume { @@ -17588,8 +17583,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDragItemsCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Items() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) DropResult() const; + [[nodiscard]] auto Items() const; + [[nodiscard]] auto DropResult() const; }; template <> struct consume { @@ -17598,10 +17593,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Items() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) Data() const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; + [[nodiscard]] auto Items() const; + [[nodiscard]] auto Data() const; }; template <> struct consume { @@ -17626,7 +17621,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDropDownButtonAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DropDownButtonAutomationPeer) CreateInstance(winrt::Windows::UI::Xaml::Controls::DropDownButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::UI::Xaml::Controls::DropDownButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -17635,7 +17630,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDropDownButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DropDownButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -17644,7 +17639,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IDynamicOverflowItemsChangingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarDynamicOverflowAction) Action() const; + [[nodiscard]] auto Action() const; }; template <> struct consume { @@ -17661,8 +17656,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFlipView2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) UseTouchAnimationsForAllNavigation() const; - WINRT_IMPL_AUTO(void) UseTouchAnimationsForAllNavigation(bool value) const; + [[nodiscard]] auto UseTouchAnimationsForAllNavigation() const; + auto UseTouchAnimationsForAllNavigation(bool value) const; }; template <> struct consume { @@ -17671,7 +17666,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFlipViewFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::FlipView) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -17688,7 +17683,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFlipViewItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::FlipViewItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -17697,7 +17692,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFlipViewStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) UseTouchAnimationsForAllNavigationProperty() const; + [[nodiscard]] auto UseTouchAnimationsForAllNavigationProperty() const; }; template <> struct consume { @@ -17706,10 +17701,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFlyout { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Content() const; - WINRT_IMPL_AUTO(void) Content(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) FlyoutPresenterStyle() const; - WINRT_IMPL_AUTO(void) FlyoutPresenterStyle(winrt::Windows::UI::Xaml::Style const& value) const; + [[nodiscard]] auto Content() const; + auto Content(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto FlyoutPresenterStyle() const; + auto FlyoutPresenterStyle(winrt::Windows::UI::Xaml::Style const& value) const; }; template <> struct consume { @@ -17718,7 +17713,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFlyoutFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Flyout) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -17735,8 +17730,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFlyoutPresenter2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDefaultShadowEnabled() const; - WINRT_IMPL_AUTO(void) IsDefaultShadowEnabled(bool value) const; + [[nodiscard]] auto IsDefaultShadowEnabled() const; + auto IsDefaultShadowEnabled(bool value) const; }; template <> struct consume { @@ -17745,7 +17740,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFlyoutPresenterFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::FlyoutPresenter) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -17754,7 +17749,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFlyoutPresenterStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsDefaultShadowEnabledProperty() const; + [[nodiscard]] auto IsDefaultShadowEnabledProperty() const; }; template <> struct consume { @@ -17763,8 +17758,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFlyoutStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FlyoutPresenterStyleProperty() const; + [[nodiscard]] auto ContentProperty() const; + [[nodiscard]] auto FlyoutPresenterStyleProperty() const; }; template <> struct consume { @@ -17789,8 +17784,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFocusEngagedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -17799,16 +17794,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFontIcon { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Glyph() const; - WINRT_IMPL_AUTO(void) Glyph(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FontSize() const; - WINRT_IMPL_AUTO(void) FontSize(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) FontFamily() const; - WINRT_IMPL_AUTO(void) FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) FontWeight() const; - WINRT_IMPL_AUTO(void) FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) FontStyle() const; - WINRT_IMPL_AUTO(void) FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; + [[nodiscard]] auto Glyph() const; + auto Glyph(param::hstring const& value) const; + [[nodiscard]] auto FontSize() const; + auto FontSize(double value) const; + [[nodiscard]] auto FontFamily() const; + auto FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; + [[nodiscard]] auto FontWeight() const; + auto FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; + [[nodiscard]] auto FontStyle() const; + auto FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; }; template <> struct consume { @@ -17817,8 +17812,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFontIcon2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextScaleFactorEnabled() const; - WINRT_IMPL_AUTO(void) IsTextScaleFactorEnabled(bool value) const; + [[nodiscard]] auto IsTextScaleFactorEnabled() const; + auto IsTextScaleFactorEnabled(bool value) const; }; template <> struct consume { @@ -17827,8 +17822,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFontIcon3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) MirroredWhenRightToLeft() const; - WINRT_IMPL_AUTO(void) MirroredWhenRightToLeft(bool value) const; + [[nodiscard]] auto MirroredWhenRightToLeft() const; + auto MirroredWhenRightToLeft(bool value) const; }; template <> struct consume { @@ -17837,7 +17832,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFontIconFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::FontIcon) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -17846,20 +17841,20 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFontIconSource { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Glyph() const; - WINRT_IMPL_AUTO(void) Glyph(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FontSize() const; - WINRT_IMPL_AUTO(void) FontSize(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) FontFamily() const; - WINRT_IMPL_AUTO(void) FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) FontWeight() const; - WINRT_IMPL_AUTO(void) FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) FontStyle() const; - WINRT_IMPL_AUTO(void) FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextScaleFactorEnabled() const; - WINRT_IMPL_AUTO(void) IsTextScaleFactorEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) MirroredWhenRightToLeft() const; - WINRT_IMPL_AUTO(void) MirroredWhenRightToLeft(bool value) const; + [[nodiscard]] auto Glyph() const; + auto Glyph(param::hstring const& value) const; + [[nodiscard]] auto FontSize() const; + auto FontSize(double value) const; + [[nodiscard]] auto FontFamily() const; + auto FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; + [[nodiscard]] auto FontWeight() const; + auto FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; + [[nodiscard]] auto FontStyle() const; + auto FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; + [[nodiscard]] auto IsTextScaleFactorEnabled() const; + auto IsTextScaleFactorEnabled(bool value) const; + [[nodiscard]] auto MirroredWhenRightToLeft() const; + auto MirroredWhenRightToLeft(bool value) const; }; template <> struct consume { @@ -17868,7 +17863,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFontIconSourceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::FontIconSource) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -17877,13 +17872,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GlyphProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontFamilyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontWeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTextScaleFactorEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MirroredWhenRightToLeftProperty() const; + [[nodiscard]] auto GlyphProperty() const; + [[nodiscard]] auto FontSizeProperty() const; + [[nodiscard]] auto FontFamilyProperty() const; + [[nodiscard]] auto FontWeightProperty() const; + [[nodiscard]] auto FontStyleProperty() const; + [[nodiscard]] auto IsTextScaleFactorEnabledProperty() const; + [[nodiscard]] auto MirroredWhenRightToLeftProperty() const; }; template <> struct consume { @@ -17892,11 +17887,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFontIconStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GlyphProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontFamilyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontWeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontStyleProperty() const; + [[nodiscard]] auto GlyphProperty() const; + [[nodiscard]] auto FontSizeProperty() const; + [[nodiscard]] auto FontFamilyProperty() const; + [[nodiscard]] auto FontWeightProperty() const; + [[nodiscard]] auto FontStyleProperty() const; }; template <> struct consume { @@ -17905,7 +17900,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFontIconStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTextScaleFactorEnabledProperty() const; + [[nodiscard]] auto IsTextScaleFactorEnabledProperty() const; }; template <> struct consume { @@ -17914,7 +17909,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFontIconStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MirroredWhenRightToLeftProperty() const; + [[nodiscard]] auto MirroredWhenRightToLeftProperty() const; }; template <> struct consume { @@ -17923,35 +17918,35 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFrame { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CacheSize() const; - WINRT_IMPL_AUTO(void) CacheSize(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanGoBack() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanGoForward() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) CurrentSourcePageType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) SourcePageType() const; - WINRT_IMPL_AUTO(void) SourcePageType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) BackStackDepth() const; - WINRT_IMPL_AUTO(winrt::event_token) Navigated(winrt::Windows::UI::Xaml::Navigation::NavigatedEventHandler const& handler) const; + [[nodiscard]] auto CacheSize() const; + auto CacheSize(int32_t value) const; + [[nodiscard]] auto CanGoBack() const; + [[nodiscard]] auto CanGoForward() const; + [[nodiscard]] auto CurrentSourcePageType() const; + [[nodiscard]] auto SourcePageType() const; + auto SourcePageType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const; + [[nodiscard]] auto BackStackDepth() const; + auto Navigated(winrt::Windows::UI::Xaml::Navigation::NavigatedEventHandler const& handler) const; using Navigated_revoker = impl::event_revoker::remove_Navigated>; - [[nodiscard]] Navigated_revoker Navigated(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigatedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Navigated(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Navigating(winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventHandler const& handler) const; + [[nodiscard]] auto Navigated(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigatedEventHandler const& handler) const; + auto Navigated(winrt::event_token const& token) const noexcept; + auto Navigating(winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventHandler const& handler) const; using Navigating_revoker = impl::event_revoker::remove_Navigating>; - [[nodiscard]] Navigating_revoker Navigating(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Navigating(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NavigationFailed(winrt::Windows::UI::Xaml::Navigation::NavigationFailedEventHandler const& handler) const; + [[nodiscard]] auto Navigating(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventHandler const& handler) const; + auto Navigating(winrt::event_token const& token) const noexcept; + auto NavigationFailed(winrt::Windows::UI::Xaml::Navigation::NavigationFailedEventHandler const& handler) const; using NavigationFailed_revoker = impl::event_revoker::remove_NavigationFailed>; - [[nodiscard]] NavigationFailed_revoker NavigationFailed(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigationFailedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NavigationFailed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NavigationStopped(winrt::Windows::UI::Xaml::Navigation::NavigationStoppedEventHandler const& handler) const; + [[nodiscard]] auto NavigationFailed(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigationFailedEventHandler const& handler) const; + auto NavigationFailed(winrt::event_token const& token) const noexcept; + auto NavigationStopped(winrt::Windows::UI::Xaml::Navigation::NavigationStoppedEventHandler const& handler) const; using NavigationStopped_revoker = impl::event_revoker::remove_NavigationStopped>; - [[nodiscard]] NavigationStopped_revoker NavigationStopped(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigationStoppedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NavigationStopped(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) GoBack() const; - WINRT_IMPL_AUTO(void) GoForward() const; - WINRT_IMPL_AUTO(bool) Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter) const; - WINRT_IMPL_AUTO(hstring) GetNavigationState() const; - WINRT_IMPL_AUTO(void) SetNavigationState(param::hstring const& navigationState) const; + [[nodiscard]] auto NavigationStopped(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigationStoppedEventHandler const& handler) const; + auto NavigationStopped(winrt::event_token const& token) const noexcept; + auto GoBack() const; + auto GoForward() const; + auto Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter) const; + auto GetNavigationState() const; + auto SetNavigationState(param::hstring const& navigationState) const; }; template <> struct consume { @@ -17960,9 +17955,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFrame2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) BackStack() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ForwardStack() const; - WINRT_IMPL_AUTO(bool) Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter, winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& infoOverride) const; + [[nodiscard]] auto BackStack() const; + [[nodiscard]] auto ForwardStack() const; + auto Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter, winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& infoOverride) const; }; template <> struct consume { @@ -17971,7 +17966,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFrame3 { - WINRT_IMPL_AUTO(void) GoBack(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& transitionInfoOverride) const; + auto GoBack(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& transitionInfoOverride) const; }; template <> struct consume { @@ -17980,7 +17975,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFrame4 { - WINRT_IMPL_AUTO(void) SetNavigationState(param::hstring const& navigationState, bool suppressNavigate) const; + auto SetNavigationState(param::hstring const& navigationState, bool suppressNavigate) const; }; template <> struct consume { @@ -17989,9 +17984,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFrame5 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsNavigationStackEnabled() const; - WINRT_IMPL_AUTO(void) IsNavigationStackEnabled(bool value) const; - WINRT_IMPL_AUTO(bool) NavigateToType(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter, winrt::Windows::UI::Xaml::Navigation::FrameNavigationOptions const& navigationOptions) const; + [[nodiscard]] auto IsNavigationStackEnabled() const; + auto IsNavigationStackEnabled(bool value) const; + auto NavigateToType(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter, winrt::Windows::UI::Xaml::Navigation::FrameNavigationOptions const& navigationOptions) const; }; template <> struct consume { @@ -18000,7 +17995,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFrameFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Frame) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18009,12 +18004,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFrameStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CacheSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanGoBackProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanGoForwardProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CurrentSourcePageTypeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SourcePageTypeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackStackDepthProperty() const; + [[nodiscard]] auto CacheSizeProperty() const; + [[nodiscard]] auto CanGoBackProperty() const; + [[nodiscard]] auto CanGoForwardProperty() const; + [[nodiscard]] auto CurrentSourcePageTypeProperty() const; + [[nodiscard]] auto SourcePageTypeProperty() const; + [[nodiscard]] auto BackStackDepthProperty() const; }; template <> struct consume { @@ -18023,8 +18018,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFrameStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackStackProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ForwardStackProperty() const; + [[nodiscard]] auto BackStackProperty() const; + [[nodiscard]] auto ForwardStackProperty() const; }; template <> struct consume { @@ -18033,7 +18028,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IFrameStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsNavigationStackEnabledProperty() const; + [[nodiscard]] auto IsNavigationStackEnabledProperty() const; }; template <> struct consume { @@ -18042,8 +18037,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGrid { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RowDefinitionCollection) RowDefinitions() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColumnDefinitionCollection) ColumnDefinitions() const; + [[nodiscard]] auto RowDefinitions() const; + [[nodiscard]] auto ColumnDefinitions() const; }; template <> struct consume { @@ -18052,14 +18047,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGrid2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) BorderBrush() const; - WINRT_IMPL_AUTO(void) BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) BorderThickness() const; - WINRT_IMPL_AUTO(void) BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) CornerRadius() const; - WINRT_IMPL_AUTO(void) CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) Padding() const; - WINRT_IMPL_AUTO(void) Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto BorderBrush() const; + auto BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto BorderThickness() const; + auto BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto CornerRadius() const; + auto CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const; + [[nodiscard]] auto Padding() const; + auto Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; }; template <> struct consume { @@ -18068,10 +18063,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGrid3 { - [[nodiscard]] WINRT_IMPL_AUTO(double) RowSpacing() const; - WINRT_IMPL_AUTO(void) RowSpacing(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ColumnSpacing() const; - WINRT_IMPL_AUTO(void) ColumnSpacing(double value) const; + [[nodiscard]] auto RowSpacing() const; + auto RowSpacing(double value) const; + [[nodiscard]] auto ColumnSpacing() const; + auto ColumnSpacing(double value) const; }; template <> struct consume { @@ -18080,8 +18075,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGrid4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) BackgroundSizing() const; - WINRT_IMPL_AUTO(void) BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const; + [[nodiscard]] auto BackgroundSizing() const; + auto BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const; }; template <> struct consume { @@ -18090,7 +18085,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGridFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Grid) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18099,18 +18094,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGridStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RowProperty() const; - WINRT_IMPL_AUTO(int32_t) GetRow(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; - WINRT_IMPL_AUTO(void) SetRow(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ColumnProperty() const; - WINRT_IMPL_AUTO(int32_t) GetColumn(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; - WINRT_IMPL_AUTO(void) SetColumn(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RowSpanProperty() const; - WINRT_IMPL_AUTO(int32_t) GetRowSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; - WINRT_IMPL_AUTO(void) SetRowSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ColumnSpanProperty() const; - WINRT_IMPL_AUTO(int32_t) GetColumnSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; - WINRT_IMPL_AUTO(void) SetColumnSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const; + [[nodiscard]] auto RowProperty() const; + auto GetRow(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; + auto SetRow(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const; + [[nodiscard]] auto ColumnProperty() const; + auto GetColumn(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; + auto SetColumn(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const; + [[nodiscard]] auto RowSpanProperty() const; + auto GetRowSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; + auto SetRowSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const; + [[nodiscard]] auto ColumnSpanProperty() const; + auto GetColumnSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; + auto SetColumnSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const; }; template <> struct consume { @@ -18119,10 +18114,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGridStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BorderThicknessProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CornerRadiusProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaddingProperty() const; + [[nodiscard]] auto BorderBrushProperty() const; + [[nodiscard]] auto BorderThicknessProperty() const; + [[nodiscard]] auto CornerRadiusProperty() const; + [[nodiscard]] auto PaddingProperty() const; }; template <> struct consume { @@ -18131,8 +18126,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGridStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RowSpacingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ColumnSpacingProperty() const; + [[nodiscard]] auto RowSpacingProperty() const; + [[nodiscard]] auto ColumnSpacingProperty() const; }; template <> struct consume { @@ -18141,7 +18136,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGridStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackgroundSizingProperty() const; + [[nodiscard]] auto BackgroundSizingProperty() const; }; template <> struct consume { @@ -18158,7 +18153,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGridViewFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GridView) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18175,7 +18170,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGridViewHeaderItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GridViewHeaderItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18184,7 +18179,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGridViewItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GridViewItemTemplateSettings) TemplateSettings() const; + [[nodiscard]] auto TemplateSettings() const; }; template <> struct consume { @@ -18193,7 +18188,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGridViewItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GridViewItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18210,7 +18205,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGroupItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18219,18 +18214,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGroupStyle { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate) Panel() const; - WINRT_IMPL_AUTO(void) Panel(winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) ContainerStyle() const; - WINRT_IMPL_AUTO(void) ContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StyleSelector) ContainerStyleSelector() const; - WINRT_IMPL_AUTO(void) ContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) HeaderTemplate() const; - WINRT_IMPL_AUTO(void) HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) HeaderTemplateSelector() const; - WINRT_IMPL_AUTO(void) HeaderTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HidesIfEmpty() const; - WINRT_IMPL_AUTO(void) HidesIfEmpty(bool value) const; + [[nodiscard]] auto Panel() const; + auto Panel(winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate const& value) const; + [[nodiscard]] auto ContainerStyle() const; + auto ContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const; + [[nodiscard]] auto ContainerStyleSelector() const; + auto ContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const; + [[nodiscard]] auto HeaderTemplate() const; + auto HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto HeaderTemplateSelector() const; + auto HeaderTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const; + [[nodiscard]] auto HidesIfEmpty() const; + auto HidesIfEmpty(bool value) const; }; template <> struct consume { @@ -18239,8 +18234,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGroupStyle2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) HeaderContainerStyle() const; - WINRT_IMPL_AUTO(void) HeaderContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const; + [[nodiscard]] auto HeaderContainerStyle() const; + auto HeaderContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const; }; template <> struct consume { @@ -18249,7 +18244,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGroupStyleFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyle) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18258,7 +18253,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGroupStyleSelector { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyle) SelectGroupStyle(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const; + auto SelectGroupStyle(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const; }; template <> struct consume { @@ -18267,7 +18262,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGroupStyleSelectorFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18276,7 +18271,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IGroupStyleSelectorOverrides { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyle) SelectGroupStyleCore(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const; + auto SelectGroupStyleCore(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const; }; template <> struct consume { @@ -18301,23 +18296,23 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IHandwritingView { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) PlacementTarget() const; - WINRT_IMPL_AUTO(void) PlacementTarget(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HandwritingPanelPlacementAlignment) PlacementAlignment() const; - WINRT_IMPL_AUTO(void) PlacementAlignment(winrt::Windows::UI::Xaml::Controls::HandwritingPanelPlacementAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOpen() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreCandidatesEnabled() const; - WINRT_IMPL_AUTO(void) AreCandidatesEnabled(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PlacementTarget() const; + auto PlacementTarget(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto PlacementAlignment() const; + auto PlacementAlignment(winrt::Windows::UI::Xaml::Controls::HandwritingPanelPlacementAlignment const& value) const; + [[nodiscard]] auto IsOpen() const; + [[nodiscard]] auto AreCandidatesEnabled() const; + auto AreCandidatesEnabled(bool value) const; + auto Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Opened_revoker = impl::event_revoker::remove_Opened>; - [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Opened(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Opened(winrt::event_token const& token) const noexcept; + auto Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(bool) TryClose() const; - WINRT_IMPL_AUTO(bool) TryOpen() const; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + auto TryClose() const; + auto TryOpen() const; }; template <> struct consume { @@ -18326,22 +18321,22 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IHandwritingView2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSwitchToKeyboardEnabled() const; - WINRT_IMPL_AUTO(void) IsSwitchToKeyboardEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCommandBarOpen() const; - WINRT_IMPL_AUTO(void) IsCommandBarOpen(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreInputDeviceTypes) InputDeviceTypes() const; - WINRT_IMPL_AUTO(void) InputDeviceTypes(winrt::Windows::UI::Core::CoreInputDeviceTypes const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) CandidatesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsSwitchToKeyboardEnabled() const; + auto IsSwitchToKeyboardEnabled(bool value) const; + [[nodiscard]] auto IsCommandBarOpen() const; + auto IsCommandBarOpen(bool value) const; + [[nodiscard]] auto InputDeviceTypes() const; + auto InputDeviceTypes(winrt::Windows::UI::Core::CoreInputDeviceTypes const& value) const; + auto CandidatesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CandidatesChanged_revoker = impl::event_revoker::remove_CandidatesChanged>; - [[nodiscard]] CandidatesChanged_revoker CandidatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CandidatesChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TextSubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CandidatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CandidatesChanged(winrt::event_token const& token) const noexcept; + auto TextSubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TextSubmitted_revoker = impl::event_revoker::remove_TextSubmitted>; - [[nodiscard]] TextSubmitted_revoker TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TextSubmitted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetCandidates(uint32_t candidatesSessionId) const; - WINRT_IMPL_AUTO(void) SelectCandidate(uint32_t candidatesSessionId, uint32_t selectedCandidateIndex) const; + [[nodiscard]] auto TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextSubmitted(winrt::event_token const& token) const noexcept; + auto GetCandidates(uint32_t candidatesSessionId) const; + auto SelectCandidate(uint32_t candidatesSessionId, uint32_t selectedCandidateIndex) const; }; template <> struct consume { @@ -18350,7 +18345,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IHandwritingViewCandidatesChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CandidatesSessionId() const; + [[nodiscard]] auto CandidatesSessionId() const; }; template <> struct consume { @@ -18359,7 +18354,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IHandwritingViewFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HandwritingView) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18368,10 +18363,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlacementTargetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlacementAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsOpenProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AreCandidatesEnabledProperty() const; + [[nodiscard]] auto PlacementTargetProperty() const; + [[nodiscard]] auto PlacementAlignmentProperty() const; + [[nodiscard]] auto IsOpenProperty() const; + [[nodiscard]] auto AreCandidatesEnabledProperty() const; }; template <> struct consume { @@ -18380,8 +18375,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSwitchToKeyboardEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsCommandBarOpenProperty() const; + [[nodiscard]] auto IsSwitchToKeyboardEnabledProperty() const; + [[nodiscard]] auto IsCommandBarOpenProperty() const; }; template <> struct consume { @@ -18398,26 +18393,26 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IHub { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; - WINRT_IMPL_AUTO(void) Header(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) HeaderTemplate() const; - WINRT_IMPL_AUTO(void) HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) Orientation() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DefaultSectionIndex() const; - WINRT_IMPL_AUTO(void) DefaultSectionIndex(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Sections() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SectionsInView() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) SectionHeaders() const; - WINRT_IMPL_AUTO(winrt::event_token) SectionHeaderClick(winrt::Windows::UI::Xaml::Controls::HubSectionHeaderClickEventHandler const& handler) const; + [[nodiscard]] auto Header() const; + auto Header(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto HeaderTemplate() const; + auto HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto Orientation() const; + auto Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; + [[nodiscard]] auto DefaultSectionIndex() const; + auto DefaultSectionIndex(int32_t value) const; + [[nodiscard]] auto Sections() const; + [[nodiscard]] auto SectionsInView() const; + [[nodiscard]] auto SectionHeaders() const; + auto SectionHeaderClick(winrt::Windows::UI::Xaml::Controls::HubSectionHeaderClickEventHandler const& handler) const; using SectionHeaderClick_revoker = impl::event_revoker::remove_SectionHeaderClick>; - [[nodiscard]] SectionHeaderClick_revoker SectionHeaderClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::HubSectionHeaderClickEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SectionHeaderClick(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SectionsInViewChanged(winrt::Windows::UI::Xaml::Controls::SectionsInViewChangedEventHandler const& handler) const; + [[nodiscard]] auto SectionHeaderClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::HubSectionHeaderClickEventHandler const& handler) const; + auto SectionHeaderClick(winrt::event_token const& token) const noexcept; + auto SectionsInViewChanged(winrt::Windows::UI::Xaml::Controls::SectionsInViewChangedEventHandler const& handler) const; using SectionsInViewChanged_revoker = impl::event_revoker::remove_SectionsInViewChanged>; - [[nodiscard]] SectionsInViewChanged_revoker SectionsInViewChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SectionsInViewChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SectionsInViewChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) ScrollToSection(winrt::Windows::UI::Xaml::Controls::HubSection const& section) const; + [[nodiscard]] auto SectionsInViewChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SectionsInViewChangedEventHandler const& handler) const; + auto SectionsInViewChanged(winrt::event_token const& token) const noexcept; + auto ScrollToSection(winrt::Windows::UI::Xaml::Controls::HubSection const& section) const; }; template <> struct consume { @@ -18426,7 +18421,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IHubFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Hub) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18435,14 +18430,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IHubSection { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; - WINRT_IMPL_AUTO(void) Header(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) HeaderTemplate() const; - WINRT_IMPL_AUTO(void) HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) ContentTemplate() const; - WINRT_IMPL_AUTO(void) ContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHeaderInteractive() const; - WINRT_IMPL_AUTO(void) IsHeaderInteractive(bool value) const; + [[nodiscard]] auto Header() const; + auto Header(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto HeaderTemplate() const; + auto HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto ContentTemplate() const; + auto ContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto IsHeaderInteractive() const; + auto IsHeaderInteractive(bool value) const; }; template <> struct consume { @@ -18451,7 +18446,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IHubSectionFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HubSection) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18460,7 +18455,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IHubSectionHeaderClickEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HubSection) Section() const; + [[nodiscard]] auto Section() const; }; template <> struct consume { @@ -18469,10 +18464,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IHubSectionStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsHeaderInteractiveProperty() const; + [[nodiscard]] auto HeaderProperty() const; + [[nodiscard]] auto HeaderTemplateProperty() const; + [[nodiscard]] auto ContentTemplateProperty() const; + [[nodiscard]] auto IsHeaderInteractiveProperty() const; }; template <> struct consume { @@ -18481,13 +18476,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IHubStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OrientationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DefaultSectionIndexProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SemanticZoomOwnerProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsActiveViewProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsZoomedInViewProperty() const; + [[nodiscard]] auto HeaderProperty() const; + [[nodiscard]] auto HeaderTemplateProperty() const; + [[nodiscard]] auto OrientationProperty() const; + [[nodiscard]] auto DefaultSectionIndexProperty() const; + [[nodiscard]] auto SemanticZoomOwnerProperty() const; + [[nodiscard]] auto IsActiveViewProperty() const; + [[nodiscard]] auto IsZoomedInViewProperty() const; }; template <> struct consume { @@ -18496,8 +18491,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IHyperlinkButton { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) NavigateUri() const; - WINRT_IMPL_AUTO(void) NavigateUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto NavigateUri() const; + auto NavigateUri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -18506,7 +18501,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IHyperlinkButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HyperlinkButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18515,7 +18510,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IHyperlinkButtonStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) NavigateUriProperty() const; + [[nodiscard]] auto NavigateUriProperty() const; }; template <> struct consume { @@ -18524,8 +18519,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IIconElement { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Foreground() const; - WINRT_IMPL_AUTO(void) Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto Foreground() const; + auto Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; }; template <> struct consume { @@ -18542,7 +18537,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IIconElementStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ForegroundProperty() const; + [[nodiscard]] auto ForegroundProperty() const; }; template <> struct consume { @@ -18551,8 +18546,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IIconSource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Foreground() const; - WINRT_IMPL_AUTO(void) Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto Foreground() const; + auto Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; }; template <> struct consume { @@ -18561,8 +18556,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IIconSourceElement { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconSource) IconSource() const; - WINRT_IMPL_AUTO(void) IconSource(winrt::Windows::UI::Xaml::Controls::IconSource const& value) const; + [[nodiscard]] auto IconSource() const; + auto IconSource(winrt::Windows::UI::Xaml::Controls::IconSource const& value) const; }; template <> struct consume { @@ -18571,7 +18566,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IIconSourceElementFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconSourceElement) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18580,7 +18575,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IIconSourceElementStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IconSourceProperty() const; + [[nodiscard]] auto IconSourceProperty() const; }; template <> struct consume { @@ -18597,7 +18592,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IIconSourceStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ForegroundProperty() const; + [[nodiscard]] auto ForegroundProperty() const; }; template <> struct consume { @@ -18606,21 +18601,21 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IImage { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) Stretch() const; - WINRT_IMPL_AUTO(void) Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) NineGrid() const; - WINRT_IMPL_AUTO(void) NineGrid(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSource) PlayToSource() const; - WINRT_IMPL_AUTO(winrt::event_token) ImageFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; + [[nodiscard]] auto Stretch() const; + auto Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const; + [[nodiscard]] auto NineGrid() const; + auto NineGrid(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto PlayToSource() const; + auto ImageFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const; using ImageFailed_revoker = impl::event_revoker::remove_ImageFailed>; - [[nodiscard]] ImageFailed_revoker ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ImageFailed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ImageOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const; + auto ImageFailed(winrt::event_token const& token) const noexcept; + auto ImageOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using ImageOpened_revoker = impl::event_revoker::remove_ImageOpened>; - [[nodiscard]] ImageOpened_revoker ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ImageOpened(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto ImageOpened(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -18629,7 +18624,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IImage2 { - WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingSource) GetAsCastingSource() const; + auto GetAsCastingSource() const; }; template <> struct consume { @@ -18638,7 +18633,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IImage3 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) GetAlphaMask() const; + auto GetAlphaMask() const; }; template <> struct consume { @@ -18647,10 +18642,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IImageStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StretchProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) NineGridProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlayToSourceProperty() const; + [[nodiscard]] auto SourceProperty() const; + [[nodiscard]] auto StretchProperty() const; + [[nodiscard]] auto NineGridProperty() const; + [[nodiscard]] auto PlayToSourceProperty() const; }; template <> struct consume { @@ -18659,7 +18654,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkCanvas { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) InkPresenter() const; + [[nodiscard]] auto InkPresenter() const; }; template <> struct consume { @@ -18668,7 +18663,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkCanvasFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkCanvas) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18677,34 +18672,34 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbar { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarInitialControls) InitialControls() const; - WINRT_IMPL_AUTO(void) InitialControls(winrt::Windows::UI::Xaml::Controls::InkToolbarInitialControls const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObjectCollection) Children() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarToolButton) ActiveTool() const; - WINRT_IMPL_AUTO(void) ActiveTool(winrt::Windows::UI::Xaml::Controls::InkToolbarToolButton const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) InkDrawingAttributes() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRulerButtonChecked() const; - WINRT_IMPL_AUTO(void) IsRulerButtonChecked(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkCanvas) TargetInkCanvas() const; - WINRT_IMPL_AUTO(void) TargetInkCanvas(winrt::Windows::UI::Xaml::Controls::InkCanvas const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) ActiveToolChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto InitialControls() const; + auto InitialControls(winrt::Windows::UI::Xaml::Controls::InkToolbarInitialControls const& value) const; + [[nodiscard]] auto Children() const; + [[nodiscard]] auto ActiveTool() const; + auto ActiveTool(winrt::Windows::UI::Xaml::Controls::InkToolbarToolButton const& value) const; + [[nodiscard]] auto InkDrawingAttributes() const; + [[nodiscard]] auto IsRulerButtonChecked() const; + auto IsRulerButtonChecked(bool value) const; + [[nodiscard]] auto TargetInkCanvas() const; + auto TargetInkCanvas(winrt::Windows::UI::Xaml::Controls::InkCanvas const& value) const; + auto ActiveToolChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ActiveToolChanged_revoker = impl::event_revoker::remove_ActiveToolChanged>; - [[nodiscard]] ActiveToolChanged_revoker ActiveToolChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ActiveToolChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) InkDrawingAttributesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ActiveToolChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ActiveToolChanged(winrt::event_token const& token) const noexcept; + auto InkDrawingAttributesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using InkDrawingAttributesChanged_revoker = impl::event_revoker::remove_InkDrawingAttributesChanged>; - [[nodiscard]] InkDrawingAttributesChanged_revoker InkDrawingAttributesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) InkDrawingAttributesChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) EraseAllClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto InkDrawingAttributesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto InkDrawingAttributesChanged(winrt::event_token const& token) const noexcept; + auto EraseAllClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using EraseAllClicked_revoker = impl::event_revoker::remove_EraseAllClicked>; - [[nodiscard]] EraseAllClicked_revoker EraseAllClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) EraseAllClicked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) IsRulerButtonCheckedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto EraseAllClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EraseAllClicked(winrt::event_token const& token) const noexcept; + auto IsRulerButtonCheckedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsRulerButtonCheckedChanged_revoker = impl::event_revoker::remove_IsRulerButtonCheckedChanged>; - [[nodiscard]] IsRulerButtonCheckedChanged_revoker IsRulerButtonCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsRulerButtonCheckedChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarToolButton) GetToolButton(winrt::Windows::UI::Xaml::Controls::InkToolbarTool const& tool) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarToggleButton) GetToggleButton(winrt::Windows::UI::Xaml::Controls::InkToolbarToggle const& tool) const; + [[nodiscard]] auto IsRulerButtonCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsRulerButtonCheckedChanged(winrt::event_token const& token) const noexcept; + auto GetToolButton(winrt::Windows::UI::Xaml::Controls::InkToolbarTool const& tool) const; + auto GetToggleButton(winrt::Windows::UI::Xaml::Controls::InkToolbarToggle const& tool) const; }; template <> struct consume { @@ -18713,17 +18708,17 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbar2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStencilButtonChecked() const; - WINRT_IMPL_AUTO(void) IsStencilButtonChecked(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarButtonFlyoutPlacement) ButtonFlyoutPlacement() const; - WINRT_IMPL_AUTO(void) ButtonFlyoutPlacement(winrt::Windows::UI::Xaml::Controls::InkToolbarButtonFlyoutPlacement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) Orientation() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) IsStencilButtonCheckedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsStencilButtonChecked() const; + auto IsStencilButtonChecked(bool value) const; + [[nodiscard]] auto ButtonFlyoutPlacement() const; + auto ButtonFlyoutPlacement(winrt::Windows::UI::Xaml::Controls::InkToolbarButtonFlyoutPlacement const& value) const; + [[nodiscard]] auto Orientation() const; + auto Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; + auto IsStencilButtonCheckedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsStencilButtonCheckedChanged_revoker = impl::event_revoker::remove_IsStencilButtonCheckedChanged>; - [[nodiscard]] IsStencilButtonCheckedChanged_revoker IsStencilButtonCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsStencilButtonCheckedChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarMenuButton) GetMenuButton(winrt::Windows::UI::Xaml::Controls::InkToolbarMenuKind const& menu) const; + [[nodiscard]] auto IsStencilButtonCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsStencilButtonCheckedChanged(winrt::event_token const& token) const noexcept; + auto GetMenuButton(winrt::Windows::UI::Xaml::Controls::InkToolbarMenuKind const& menu) const; }; template <> struct consume { @@ -18732,8 +18727,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbar3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) TargetInkPresenter() const; - WINRT_IMPL_AUTO(void) TargetInkPresenter(winrt::Windows::UI::Input::Inking::InkPresenter const& value) const; + [[nodiscard]] auto TargetInkPresenter() const; + auto TargetInkPresenter(winrt::Windows::UI::Input::Inking::InkPresenter const& value) const; }; template <> struct consume { @@ -18750,7 +18745,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarBallpointPenButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarBallpointPenButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18759,7 +18754,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPen { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) CreateInkDrawingAttributes(winrt::Windows::UI::Xaml::Media::Brush const& brush, double strokeWidth) const; + auto CreateInkDrawingAttributes(winrt::Windows::UI::Xaml::Media::Brush const& brush, double strokeWidth) const; }; template <> struct consume { @@ -18768,10 +18763,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPen) CustomPen() const; - WINRT_IMPL_AUTO(void) CustomPen(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPen const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) ConfigurationContent() const; - WINRT_IMPL_AUTO(void) ConfigurationContent(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto CustomPen() const; + auto CustomPen(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPen const& value) const; + [[nodiscard]] auto ConfigurationContent() const; + auto ConfigurationContent(winrt::Windows::UI::Xaml::UIElement const& value) const; }; template <> struct consume { @@ -18780,7 +18775,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPenButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18789,8 +18784,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButtonStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CustomPenProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ConfigurationContentProperty() const; + [[nodiscard]] auto CustomPenProperty() const; + [[nodiscard]] auto ConfigurationContentProperty() const; }; template <> struct consume { @@ -18799,7 +18794,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPen) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18808,7 +18803,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenOverrides { - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) CreateInkDrawingAttributesCore(winrt::Windows::UI::Xaml::Media::Brush const& brush, double strokeWidth) const; + auto CreateInkDrawingAttributesCore(winrt::Windows::UI::Xaml::Media::Brush const& brush, double strokeWidth) const; }; template <> struct consume { @@ -18825,7 +18820,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToggleButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomToggleButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18834,8 +18829,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButton { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) ConfigurationContent() const; - WINRT_IMPL_AUTO(void) ConfigurationContent(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto ConfigurationContent() const; + auto ConfigurationContent(winrt::Windows::UI::Xaml::UIElement const& value) const; }; template <> struct consume { @@ -18844,7 +18839,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomToolButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18853,7 +18848,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButtonStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ConfigurationContentProperty() const; + [[nodiscard]] auto ConfigurationContentProperty() const; }; template <> struct consume { @@ -18870,8 +18865,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButton2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsClearAllVisible() const; - WINRT_IMPL_AUTO(void) IsClearAllVisible(bool value) const; + [[nodiscard]] auto IsClearAllVisible() const; + auto IsClearAllVisible(bool value) const; }; template <> struct consume { @@ -18880,7 +18875,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarEraserButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18889,7 +18884,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButtonStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsClearAllVisibleProperty() const; + [[nodiscard]] auto IsClearAllVisibleProperty() const; }; template <> struct consume { @@ -18898,7 +18893,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbar) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18907,18 +18902,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItemKind) Kind() const; - WINRT_IMPL_AUTO(void) Kind(winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItemKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsChecked() const; - WINRT_IMPL_AUTO(void) IsChecked(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) Checked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Kind() const; + auto Kind(winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItemKind const& value) const; + [[nodiscard]] auto IsChecked() const; + auto IsChecked(bool value) const; + auto Checked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Checked_revoker = impl::event_revoker::remove_Checked>; - [[nodiscard]] Checked_revoker Checked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Checked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Unchecked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Checked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Checked(winrt::event_token const& token) const noexcept; + auto Unchecked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Unchecked_revoker = impl::event_revoker::remove_Unchecked>; - [[nodiscard]] Unchecked_revoker Unchecked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Unchecked(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Unchecked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Unchecked(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -18927,7 +18922,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18936,8 +18931,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItemStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KindProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsCheckedProperty() const; + [[nodiscard]] auto KindProperty() const; + [[nodiscard]] auto IsCheckedProperty() const; }; template <> struct consume { @@ -18954,7 +18949,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarHighlighterButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarHighlighterButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -18963,8 +18958,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarIsStencilButtonCheckedChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilButton) StencilButton() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilKind) StencilKind() const; + [[nodiscard]] auto StencilButton() const; + [[nodiscard]] auto StencilKind() const; }; template <> struct consume { @@ -18973,9 +18968,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButton { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarMenuKind) MenuKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsExtensionGlyphShown() const; - WINRT_IMPL_AUTO(void) IsExtensionGlyphShown(bool value) const; + [[nodiscard]] auto MenuKind() const; + [[nodiscard]] auto IsExtensionGlyphShown() const; + auto IsExtensionGlyphShown(bool value) const; }; template <> struct consume { @@ -18992,7 +18987,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButtonStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsExtensionGlyphShownProperty() const; + [[nodiscard]] auto IsExtensionGlyphShownProperty() const; }; template <> struct consume { @@ -19001,17 +18996,17 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Palette() const; - WINRT_IMPL_AUTO(void) Palette(param::vector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinStrokeWidth() const; - WINRT_IMPL_AUTO(void) MinStrokeWidth(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxStrokeWidth() const; - WINRT_IMPL_AUTO(void) MaxStrokeWidth(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) SelectedBrush() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SelectedBrushIndex() const; - WINRT_IMPL_AUTO(void) SelectedBrushIndex(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SelectedStrokeWidth() const; - WINRT_IMPL_AUTO(void) SelectedStrokeWidth(double value) const; + [[nodiscard]] auto Palette() const; + auto Palette(param::vector const& value) const; + [[nodiscard]] auto MinStrokeWidth() const; + auto MinStrokeWidth(double value) const; + [[nodiscard]] auto MaxStrokeWidth() const; + auto MaxStrokeWidth(double value) const; + [[nodiscard]] auto SelectedBrush() const; + [[nodiscard]] auto SelectedBrushIndex() const; + auto SelectedBrushIndex(int32_t value) const; + [[nodiscard]] auto SelectedStrokeWidth() const; + auto SelectedStrokeWidth(double value) const; }; template <> struct consume { @@ -19028,12 +19023,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaletteProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinStrokeWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxStrokeWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedBrushIndexProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedStrokeWidthProperty() const; + [[nodiscard]] auto PaletteProperty() const; + [[nodiscard]] auto MinStrokeWidthProperty() const; + [[nodiscard]] auto MaxStrokeWidthProperty() const; + [[nodiscard]] auto SelectedBrushProperty() const; + [[nodiscard]] auto SelectedBrushIndexProperty() const; + [[nodiscard]] auto SelectedStrokeWidthProperty() const; }; template <> struct consume { @@ -19042,7 +19037,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarPenConfigurationControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarPenButton) PenButton() const; + [[nodiscard]] auto PenButton() const; }; template <> struct consume { @@ -19051,7 +19046,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarPenConfigurationControlFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarPenConfigurationControl) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -19060,7 +19055,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarPenConfigurationControlStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PenButtonProperty() const; + [[nodiscard]] auto PenButtonProperty() const; }; template <> struct consume { @@ -19077,7 +19072,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarPencilButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarPencilButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -19086,7 +19081,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarRulerButton { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterRuler) Ruler() const; + [[nodiscard]] auto Ruler() const; }; template <> struct consume { @@ -19095,7 +19090,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarRulerButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarRulerButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -19104,7 +19099,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarRulerButtonStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RulerProperty() const; + [[nodiscard]] auto RulerProperty() const; }; template <> struct consume { @@ -19113,12 +19108,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) InitialControlsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ChildrenProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ActiveToolProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) InkDrawingAttributesProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsRulerButtonCheckedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetInkCanvasProperty() const; + [[nodiscard]] auto InitialControlsProperty() const; + [[nodiscard]] auto ChildrenProperty() const; + [[nodiscard]] auto ActiveToolProperty() const; + [[nodiscard]] auto InkDrawingAttributesProperty() const; + [[nodiscard]] auto IsRulerButtonCheckedProperty() const; + [[nodiscard]] auto TargetInkCanvasProperty() const; }; template <> struct consume { @@ -19127,9 +19122,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsStencilButtonCheckedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ButtonFlyoutPlacementProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OrientationProperty() const; + [[nodiscard]] auto IsStencilButtonCheckedProperty() const; + [[nodiscard]] auto ButtonFlyoutPlacementProperty() const; + [[nodiscard]] auto OrientationProperty() const; }; template <> struct consume { @@ -19138,7 +19133,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetInkPresenterProperty() const; + [[nodiscard]] auto TargetInkPresenterProperty() const; }; template <> struct consume { @@ -19147,14 +19142,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterRuler) Ruler() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterProtractor) Protractor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilKind) SelectedStencil() const; - WINRT_IMPL_AUTO(void) SelectedStencil(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRulerItemVisible() const; - WINRT_IMPL_AUTO(void) IsRulerItemVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsProtractorItemVisible() const; - WINRT_IMPL_AUTO(void) IsProtractorItemVisible(bool value) const; + [[nodiscard]] auto Ruler() const; + [[nodiscard]] auto Protractor() const; + [[nodiscard]] auto SelectedStencil() const; + auto SelectedStencil(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilKind const& value) const; + [[nodiscard]] auto IsRulerItemVisible() const; + auto IsRulerItemVisible(bool value) const; + [[nodiscard]] auto IsProtractorItemVisible() const; + auto IsProtractorItemVisible(bool value) const; }; template <> struct consume { @@ -19163,7 +19158,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -19172,11 +19167,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RulerProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ProtractorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedStencilProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsRulerItemVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsProtractorItemVisibleProperty() const; + [[nodiscard]] auto RulerProperty() const; + [[nodiscard]] auto ProtractorProperty() const; + [[nodiscard]] auto SelectedStencilProperty() const; + [[nodiscard]] auto IsRulerItemVisibleProperty() const; + [[nodiscard]] auto IsProtractorItemVisibleProperty() const; }; template <> struct consume { @@ -19185,7 +19180,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarToggleButton { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarToggle) ToggleKind() const; + [[nodiscard]] auto ToggleKind() const; }; template <> struct consume { @@ -19202,9 +19197,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarToolButton { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarTool) ToolKind() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsExtensionGlyphShown() const; - WINRT_IMPL_AUTO(void) IsExtensionGlyphShown(bool value) const; + [[nodiscard]] auto ToolKind() const; + [[nodiscard]] auto IsExtensionGlyphShown() const; + auto IsExtensionGlyphShown(bool value) const; }; template <> struct consume { @@ -19221,7 +19216,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInkToolbarToolButtonStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsExtensionGlyphShownProperty() const; + [[nodiscard]] auto IsExtensionGlyphShownProperty() const; }; template <> struct consume { @@ -19230,7 +19225,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IInsertionPanel { - WINRT_IMPL_AUTO(void) GetInsertionIndexes(winrt::Windows::Foundation::Point const& position, int32_t& first, int32_t& second) const; + auto GetInsertionIndexes(winrt::Windows::Foundation::Point const& position, int32_t& first, int32_t& second) const; }; template <> struct consume { @@ -19247,7 +19242,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemClickEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ClickedItem() const; + [[nodiscard]] auto ClickedItem() const; }; template <> struct consume { @@ -19256,24 +19251,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemContainerGenerator { - WINRT_IMPL_AUTO(winrt::event_token) ItemsChanged(winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventHandler const& handler) const; + auto ItemsChanged(winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventHandler const& handler) const; using ItemsChanged_revoker = impl::event_revoker::remove_ItemsChanged>; - [[nodiscard]] ItemsChanged_revoker ItemsChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ItemsChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const; - WINRT_IMPL_AUTO(int32_t) IndexFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) ContainerFromIndex(int32_t index) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemContainerGenerator) GetItemContainerGeneratorForPanel(winrt::Windows::UI::Xaml::Controls::Panel const& panel) const; - WINRT_IMPL_AUTO(void) StartAt(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorDirection const& direction, bool allowStartAtRealizedItem) const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) GenerateNext(bool& isNewlyRealized) const; - WINRT_IMPL_AUTO(void) PrepareItemContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; - WINRT_IMPL_AUTO(void) RemoveAll() const; - WINRT_IMPL_AUTO(void) Remove(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, int32_t count) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition) GeneratorPositionFromIndex(int32_t itemIndex) const; - WINRT_IMPL_AUTO(int32_t) IndexFromGeneratorPosition(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position) const; - WINRT_IMPL_AUTO(void) Recycle(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, int32_t count) const; + [[nodiscard]] auto ItemsChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventHandler const& handler) const; + auto ItemsChanged(winrt::event_token const& token) const noexcept; + auto ItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; + auto ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const; + auto IndexFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; + auto ContainerFromIndex(int32_t index) const; + auto GetItemContainerGeneratorForPanel(winrt::Windows::UI::Xaml::Controls::Panel const& panel) const; + auto StartAt(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorDirection const& direction, bool allowStartAtRealizedItem) const; + auto Stop() const; + auto GenerateNext(bool& isNewlyRealized) const; + auto PrepareItemContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; + auto RemoveAll() const; + auto Remove(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, int32_t count) const; + auto GeneratorPositionFromIndex(int32_t itemIndex) const; + auto IndexFromGeneratorPosition(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position) const; + auto Recycle(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, int32_t count) const; }; template <> struct consume { @@ -19282,10 +19277,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemContainerMapping { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const; - WINRT_IMPL_AUTO(int32_t) IndexFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) ContainerFromIndex(int32_t index) const; + auto ItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; + auto ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const; + auto IndexFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; + auto ContainerFromIndex(int32_t index) const; }; template <> struct consume { @@ -19294,28 +19289,28 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ItemsSource() const; - WINRT_IMPL_AUTO(void) ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemCollection) Items() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) ItemTemplate() const; - WINRT_IMPL_AUTO(void) ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) ItemTemplateSelector() const; - WINRT_IMPL_AUTO(void) ItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate) ItemsPanel() const; - WINRT_IMPL_AUTO(void) ItemsPanel(winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayMemberPath() const; - WINRT_IMPL_AUTO(void) DisplayMemberPath(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) ItemContainerStyle() const; - WINRT_IMPL_AUTO(void) ItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StyleSelector) ItemContainerStyleSelector() const; - WINRT_IMPL_AUTO(void) ItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemContainerGenerator) ItemContainerGenerator() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) ItemContainerTransitions() const; - WINRT_IMPL_AUTO(void) ItemContainerTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) GroupStyle() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector) GroupStyleSelector() const; - WINRT_IMPL_AUTO(void) GroupStyleSelector(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGrouping() const; + [[nodiscard]] auto ItemsSource() const; + auto ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto Items() const; + [[nodiscard]] auto ItemTemplate() const; + auto ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto ItemTemplateSelector() const; + auto ItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const; + [[nodiscard]] auto ItemsPanel() const; + auto ItemsPanel(winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate const& value) const; + [[nodiscard]] auto DisplayMemberPath() const; + auto DisplayMemberPath(param::hstring const& value) const; + [[nodiscard]] auto ItemContainerStyle() const; + auto ItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const; + [[nodiscard]] auto ItemContainerStyleSelector() const; + auto ItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const; + [[nodiscard]] auto ItemContainerGenerator() const; + [[nodiscard]] auto ItemContainerTransitions() const; + auto ItemContainerTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; + [[nodiscard]] auto GroupStyle() const; + [[nodiscard]] auto GroupStyleSelector() const; + auto GroupStyleSelector(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& value) const; + [[nodiscard]] auto IsGrouping() const; }; template <> struct consume { @@ -19324,7 +19319,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsControl2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Panel) ItemsPanelRoot() const; + [[nodiscard]] auto ItemsPanelRoot() const; }; template <> struct consume { @@ -19333,7 +19328,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsControl3 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) GroupHeaderContainerFromItemContainer(winrt::Windows::UI::Xaml::DependencyObject const& itemContainer) const; + auto GroupHeaderContainerFromItemContainer(winrt::Windows::UI::Xaml::DependencyObject const& itemContainer) const; }; template <> struct consume { @@ -19342,7 +19337,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsControlFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsControl) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -19351,16 +19346,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsControlOverrides { - WINRT_IMPL_AUTO(bool) IsItemItsOwnContainerOverride(winrt::Windows::Foundation::IInspectable const& item) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) GetContainerForItemOverride() const; - WINRT_IMPL_AUTO(void) ClearContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const; - WINRT_IMPL_AUTO(void) PrepareContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const; - WINRT_IMPL_AUTO(void) OnItemsChanged(winrt::Windows::Foundation::IInspectable const& e) const; - WINRT_IMPL_AUTO(void) OnItemContainerStyleChanged(winrt::Windows::UI::Xaml::Style const& oldItemContainerStyle, winrt::Windows::UI::Xaml::Style const& newItemContainerStyle) const; - WINRT_IMPL_AUTO(void) OnItemContainerStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::StyleSelector const& oldItemContainerStyleSelector, winrt::Windows::UI::Xaml::Controls::StyleSelector const& newItemContainerStyleSelector) const; - WINRT_IMPL_AUTO(void) OnItemTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldItemTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newItemTemplate) const; - WINRT_IMPL_AUTO(void) OnItemTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldItemTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newItemTemplateSelector) const; - WINRT_IMPL_AUTO(void) OnGroupStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& oldGroupStyleSelector, winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& newGroupStyleSelector) const; + auto IsItemItsOwnContainerOverride(winrt::Windows::Foundation::IInspectable const& item) const; + auto GetContainerForItemOverride() const; + auto ClearContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const; + auto PrepareContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const; + auto OnItemsChanged(winrt::Windows::Foundation::IInspectable const& e) const; + auto OnItemContainerStyleChanged(winrt::Windows::UI::Xaml::Style const& oldItemContainerStyle, winrt::Windows::UI::Xaml::Style const& newItemContainerStyle) const; + auto OnItemContainerStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::StyleSelector const& oldItemContainerStyleSelector, winrt::Windows::UI::Xaml::Controls::StyleSelector const& newItemContainerStyleSelector) const; + auto OnItemTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldItemTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newItemTemplate) const; + auto OnItemTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldItemTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newItemTemplateSelector) const; + auto OnGroupStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& oldGroupStyleSelector, winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& newGroupStyleSelector) const; }; template <> struct consume { @@ -19369,18 +19364,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsControlStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemsSourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemTemplateSelectorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemsPanelProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DisplayMemberPathProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemContainerStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemContainerStyleSelectorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemContainerTransitionsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GroupStyleSelectorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsGroupingProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsControl) GetItemsOwner(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsControl) ItemsControlFromItemContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; + [[nodiscard]] auto ItemsSourceProperty() const; + [[nodiscard]] auto ItemTemplateProperty() const; + [[nodiscard]] auto ItemTemplateSelectorProperty() const; + [[nodiscard]] auto ItemsPanelProperty() const; + [[nodiscard]] auto DisplayMemberPathProperty() const; + [[nodiscard]] auto ItemContainerStyleProperty() const; + [[nodiscard]] auto ItemContainerStyleSelectorProperty() const; + [[nodiscard]] auto ItemContainerTransitionsProperty() const; + [[nodiscard]] auto GroupStyleSelectorProperty() const; + [[nodiscard]] auto IsGroupingProperty() const; + auto GetItemsOwner(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto ItemsControlFromItemContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; }; template <> struct consume { @@ -19397,8 +19392,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsPickedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) AddedItems() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) RemovedItems() const; + [[nodiscard]] auto AddedItems() const; + [[nodiscard]] auto RemovedItems() const; }; template <> struct consume { @@ -19407,14 +19402,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsPresenter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; - WINRT_IMPL_AUTO(void) Header(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) HeaderTemplate() const; - WINRT_IMPL_AUTO(void) HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) HeaderTransitions() const; - WINRT_IMPL_AUTO(void) HeaderTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) Padding() const; - WINRT_IMPL_AUTO(void) Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto Header() const; + auto Header(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto HeaderTemplate() const; + auto HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto HeaderTransitions() const; + auto HeaderTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; + [[nodiscard]] auto Padding() const; + auto Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; }; template <> struct consume { @@ -19423,12 +19418,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsPresenter2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Footer() const; - WINRT_IMPL_AUTO(void) Footer(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) FooterTemplate() const; - WINRT_IMPL_AUTO(void) FooterTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) FooterTransitions() const; - WINRT_IMPL_AUTO(void) FooterTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; + [[nodiscard]] auto Footer() const; + auto Footer(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto FooterTemplate() const; + auto FooterTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto FooterTransitions() const; + auto FooterTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; }; template <> struct consume { @@ -19437,10 +19432,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTransitionsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaddingProperty() const; + [[nodiscard]] auto HeaderProperty() const; + [[nodiscard]] auto HeaderTemplateProperty() const; + [[nodiscard]] auto HeaderTransitionsProperty() const; + [[nodiscard]] auto PaddingProperty() const; }; template <> struct consume { @@ -19449,9 +19444,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FooterProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FooterTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FooterTransitionsProperty() const; + [[nodiscard]] auto FooterProperty() const; + [[nodiscard]] auto FooterTemplateProperty() const; + [[nodiscard]] auto FooterTransitionsProperty() const; }; template <> struct consume { @@ -19460,21 +19455,21 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsStackPanel { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) GroupPadding() const; - WINRT_IMPL_AUTO(void) GroupPadding(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) Orientation() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FirstCacheIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FirstVisibleIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LastVisibleIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LastCacheIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PanelScrollingDirection) ScrollingDirection() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement) GroupHeaderPlacement() const; - WINRT_IMPL_AUTO(void) GroupHeaderPlacement(winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsUpdatingScrollMode) ItemsUpdatingScrollMode() const; - WINRT_IMPL_AUTO(void) ItemsUpdatingScrollMode(winrt::Windows::UI::Xaml::Controls::ItemsUpdatingScrollMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CacheLength() const; - WINRT_IMPL_AUTO(void) CacheLength(double value) const; + [[nodiscard]] auto GroupPadding() const; + auto GroupPadding(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto Orientation() const; + auto Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; + [[nodiscard]] auto FirstCacheIndex() const; + [[nodiscard]] auto FirstVisibleIndex() const; + [[nodiscard]] auto LastVisibleIndex() const; + [[nodiscard]] auto LastCacheIndex() const; + [[nodiscard]] auto ScrollingDirection() const; + [[nodiscard]] auto GroupHeaderPlacement() const; + auto GroupHeaderPlacement(winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement const& value) const; + [[nodiscard]] auto ItemsUpdatingScrollMode() const; + auto ItemsUpdatingScrollMode(winrt::Windows::UI::Xaml::Controls::ItemsUpdatingScrollMode const& value) const; + [[nodiscard]] auto CacheLength() const; + auto CacheLength(double value) const; }; template <> struct consume { @@ -19483,8 +19478,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsStackPanel2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreStickyGroupHeadersEnabled() const; - WINRT_IMPL_AUTO(void) AreStickyGroupHeadersEnabled(bool value) const; + [[nodiscard]] auto AreStickyGroupHeadersEnabled() const; + auto AreStickyGroupHeadersEnabled(bool value) const; }; template <> struct consume { @@ -19493,10 +19488,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GroupPaddingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OrientationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GroupHeaderPlacementProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CacheLengthProperty() const; + [[nodiscard]] auto GroupPaddingProperty() const; + [[nodiscard]] auto OrientationProperty() const; + [[nodiscard]] auto GroupHeaderPlacementProperty() const; + [[nodiscard]] auto CacheLengthProperty() const; }; template <> struct consume { @@ -19505,7 +19500,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AreStickyGroupHeadersEnabledProperty() const; + [[nodiscard]] auto AreStickyGroupHeadersEnabledProperty() const; }; template <> struct consume { @@ -19514,25 +19509,25 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsWrapGrid { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) GroupPadding() const; - WINRT_IMPL_AUTO(void) GroupPadding(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) Orientation() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaximumRowsOrColumns() const; - WINRT_IMPL_AUTO(void) MaximumRowsOrColumns(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ItemWidth() const; - WINRT_IMPL_AUTO(void) ItemWidth(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ItemHeight() const; - WINRT_IMPL_AUTO(void) ItemHeight(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FirstCacheIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FirstVisibleIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LastVisibleIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LastCacheIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PanelScrollingDirection) ScrollingDirection() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement) GroupHeaderPlacement() const; - WINRT_IMPL_AUTO(void) GroupHeaderPlacement(winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CacheLength() const; - WINRT_IMPL_AUTO(void) CacheLength(double value) const; + [[nodiscard]] auto GroupPadding() const; + auto GroupPadding(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto Orientation() const; + auto Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; + [[nodiscard]] auto MaximumRowsOrColumns() const; + auto MaximumRowsOrColumns(int32_t value) const; + [[nodiscard]] auto ItemWidth() const; + auto ItemWidth(double value) const; + [[nodiscard]] auto ItemHeight() const; + auto ItemHeight(double value) const; + [[nodiscard]] auto FirstCacheIndex() const; + [[nodiscard]] auto FirstVisibleIndex() const; + [[nodiscard]] auto LastVisibleIndex() const; + [[nodiscard]] auto LastCacheIndex() const; + [[nodiscard]] auto ScrollingDirection() const; + [[nodiscard]] auto GroupHeaderPlacement() const; + auto GroupHeaderPlacement(winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement const& value) const; + [[nodiscard]] auto CacheLength() const; + auto CacheLength(double value) const; }; template <> struct consume { @@ -19541,8 +19536,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsWrapGrid2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreStickyGroupHeadersEnabled() const; - WINRT_IMPL_AUTO(void) AreStickyGroupHeadersEnabled(bool value) const; + [[nodiscard]] auto AreStickyGroupHeadersEnabled() const; + auto AreStickyGroupHeadersEnabled(bool value) const; }; template <> struct consume { @@ -19551,13 +19546,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GroupPaddingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OrientationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaximumRowsOrColumnsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GroupHeaderPlacementProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CacheLengthProperty() const; + [[nodiscard]] auto GroupPaddingProperty() const; + [[nodiscard]] auto OrientationProperty() const; + [[nodiscard]] auto MaximumRowsOrColumnsProperty() const; + [[nodiscard]] auto ItemWidthProperty() const; + [[nodiscard]] auto ItemHeightProperty() const; + [[nodiscard]] auto GroupHeaderPlacementProperty() const; + [[nodiscard]] auto CacheLengthProperty() const; }; template <> struct consume { @@ -19566,7 +19561,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AreStickyGroupHeadersEnabledProperty() const; + [[nodiscard]] auto AreStickyGroupHeadersEnabledProperty() const; }; template <> struct consume { @@ -19575,11 +19570,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListBox { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SelectedItems() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SelectionMode) SelectionMode() const; - WINRT_IMPL_AUTO(void) SelectionMode(winrt::Windows::UI::Xaml::Controls::SelectionMode const& value) const; - WINRT_IMPL_AUTO(void) ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item) const; - WINRT_IMPL_AUTO(void) SelectAll() const; + [[nodiscard]] auto SelectedItems() const; + [[nodiscard]] auto SelectionMode() const; + auto SelectionMode(winrt::Windows::UI::Xaml::Controls::SelectionMode const& value) const; + auto ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item) const; + auto SelectAll() const; }; template <> struct consume { @@ -19588,8 +19583,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListBox2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) SingleSelectionFollowsFocus() const; - WINRT_IMPL_AUTO(void) SingleSelectionFollowsFocus(bool value) const; + [[nodiscard]] auto SingleSelectionFollowsFocus() const; + auto SingleSelectionFollowsFocus(bool value) const; }; template <> struct consume { @@ -19598,7 +19593,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListBoxFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListBox) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -19615,7 +19610,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListBoxItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListBoxItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -19624,7 +19619,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListBoxStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionModeProperty() const; + [[nodiscard]] auto SelectionModeProperty() const; }; template <> struct consume { @@ -19633,7 +19628,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListBoxStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SingleSelectionFollowsFocusProperty() const; + [[nodiscard]] auto SingleSelectionFollowsFocusProperty() const; }; template <> struct consume { @@ -19642,28 +19637,28 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListPickerFlyout { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ItemsSource() const; - WINRT_IMPL_AUTO(void) ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) ItemTemplate() const; - WINRT_IMPL_AUTO(void) ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayMemberPath() const; - WINRT_IMPL_AUTO(void) DisplayMemberPath(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListPickerFlyoutSelectionMode) SelectionMode() const; - WINRT_IMPL_AUTO(void) SelectionMode(winrt::Windows::UI::Xaml::Controls::ListPickerFlyoutSelectionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SelectedIndex() const; - WINRT_IMPL_AUTO(void) SelectedIndex(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SelectedItem() const; - WINRT_IMPL_AUTO(void) SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SelectedValue() const; - WINRT_IMPL_AUTO(void) SelectedValue(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SelectedValuePath() const; - WINRT_IMPL_AUTO(void) SelectedValuePath(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SelectedItems() const; - WINRT_IMPL_AUTO(winrt::event_token) ItemsPicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ItemsSource() const; + auto ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto ItemTemplate() const; + auto ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto DisplayMemberPath() const; + auto DisplayMemberPath(param::hstring const& value) const; + [[nodiscard]] auto SelectionMode() const; + auto SelectionMode(winrt::Windows::UI::Xaml::Controls::ListPickerFlyoutSelectionMode const& value) const; + [[nodiscard]] auto SelectedIndex() const; + auto SelectedIndex(int32_t value) const; + [[nodiscard]] auto SelectedItem() const; + auto SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto SelectedValue() const; + auto SelectedValue(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto SelectedValuePath() const; + auto SelectedValuePath(param::hstring const& value) const; + [[nodiscard]] auto SelectedItems() const; + auto ItemsPicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ItemsPicked_revoker = impl::event_revoker::remove_ItemsPicked>; - [[nodiscard]] ItemsPicked_revoker ItemsPicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ItemsPicked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const; + [[nodiscard]] auto ItemsPicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemsPicked(winrt::event_token const& token) const noexcept; + auto ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const; }; template <> struct consume { @@ -19680,14 +19675,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemsSourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DisplayMemberPathProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedIndexProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedItemProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedValueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedValuePathProperty() const; + [[nodiscard]] auto ItemsSourceProperty() const; + [[nodiscard]] auto ItemTemplateProperty() const; + [[nodiscard]] auto DisplayMemberPathProperty() const; + [[nodiscard]] auto SelectionModeProperty() const; + [[nodiscard]] auto SelectedIndexProperty() const; + [[nodiscard]] auto SelectedItemProperty() const; + [[nodiscard]] auto SelectedValueProperty() const; + [[nodiscard]] auto SelectedValuePathProperty() const; }; template <> struct consume { @@ -19704,41 +19699,41 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewBase { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SelectedItems() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewSelectionMode) SelectionMode() const; - WINRT_IMPL_AUTO(void) SelectionMode(winrt::Windows::UI::Xaml::Controls::ListViewSelectionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSwipeEnabled() const; - WINRT_IMPL_AUTO(void) IsSwipeEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanDragItems() const; - WINRT_IMPL_AUTO(void) CanDragItems(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanReorderItems() const; - WINRT_IMPL_AUTO(void) CanReorderItems(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsItemClickEnabled() const; - WINRT_IMPL_AUTO(void) IsItemClickEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DataFetchSize() const; - WINRT_IMPL_AUTO(void) DataFetchSize(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) IncrementalLoadingThreshold() const; - WINRT_IMPL_AUTO(void) IncrementalLoadingThreshold(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IncrementalLoadingTrigger) IncrementalLoadingTrigger() const; - WINRT_IMPL_AUTO(void) IncrementalLoadingTrigger(winrt::Windows::UI::Xaml::Controls::IncrementalLoadingTrigger const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) ItemClick(winrt::Windows::UI::Xaml::Controls::ItemClickEventHandler const& handler) const; + [[nodiscard]] auto SelectedItems() const; + [[nodiscard]] auto SelectionMode() const; + auto SelectionMode(winrt::Windows::UI::Xaml::Controls::ListViewSelectionMode const& value) const; + [[nodiscard]] auto IsSwipeEnabled() const; + auto IsSwipeEnabled(bool value) const; + [[nodiscard]] auto CanDragItems() const; + auto CanDragItems(bool value) const; + [[nodiscard]] auto CanReorderItems() const; + auto CanReorderItems(bool value) const; + [[nodiscard]] auto IsItemClickEnabled() const; + auto IsItemClickEnabled(bool value) const; + [[nodiscard]] auto DataFetchSize() const; + auto DataFetchSize(double value) const; + [[nodiscard]] auto IncrementalLoadingThreshold() const; + auto IncrementalLoadingThreshold(double value) const; + [[nodiscard]] auto IncrementalLoadingTrigger() const; + auto IncrementalLoadingTrigger(winrt::Windows::UI::Xaml::Controls::IncrementalLoadingTrigger const& value) const; + auto ItemClick(winrt::Windows::UI::Xaml::Controls::ItemClickEventHandler const& handler) const; using ItemClick_revoker = impl::event_revoker::remove_ItemClick>; - [[nodiscard]] ItemClick_revoker ItemClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ItemClickEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ItemClick(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DragItemsStarting(winrt::Windows::UI::Xaml::Controls::DragItemsStartingEventHandler const& handler) const; + [[nodiscard]] auto ItemClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ItemClickEventHandler const& handler) const; + auto ItemClick(winrt::event_token const& token) const noexcept; + auto DragItemsStarting(winrt::Windows::UI::Xaml::Controls::DragItemsStartingEventHandler const& handler) const; using DragItemsStarting_revoker = impl::event_revoker::remove_DragItemsStarting>; - [[nodiscard]] DragItemsStarting_revoker DragItemsStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::DragItemsStartingEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DragItemsStarting(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item) const; - WINRT_IMPL_AUTO(void) SelectAll() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadMoreItemsAsync() const; - WINRT_IMPL_AUTO(void) ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Controls::ScrollIntoViewAlignment const& alignment) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; - WINRT_IMPL_AUTO(void) Header(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) HeaderTemplate() const; - WINRT_IMPL_AUTO(void) HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) HeaderTransitions() const; - WINRT_IMPL_AUTO(void) HeaderTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; + [[nodiscard]] auto DragItemsStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::DragItemsStartingEventHandler const& handler) const; + auto DragItemsStarting(winrt::event_token const& token) const noexcept; + auto ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item) const; + auto SelectAll() const; + auto LoadMoreItemsAsync() const; + auto ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Controls::ScrollIntoViewAlignment const& alignment) const; + [[nodiscard]] auto Header() const; + auto Header(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto HeaderTemplate() const; + auto HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto HeaderTransitions() const; + auto HeaderTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; }; template <> struct consume { @@ -19747,19 +19742,19 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewBase2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShowsScrollingPlaceholders() const; - WINRT_IMPL_AUTO(void) ShowsScrollingPlaceholders(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) ContainerContentChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ShowsScrollingPlaceholders() const; + auto ShowsScrollingPlaceholders(bool value) const; + auto ContainerContentChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ContainerContentChanging_revoker = impl::event_revoker::remove_ContainerContentChanging>; - [[nodiscard]] ContainerContentChanging_revoker ContainerContentChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContainerContentChanging(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SetDesiredContainerUpdateDuration(winrt::Windows::Foundation::TimeSpan const& duration) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Footer() const; - WINRT_IMPL_AUTO(void) Footer(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) FooterTemplate() const; - WINRT_IMPL_AUTO(void) FooterTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) FooterTransitions() const; - WINRT_IMPL_AUTO(void) FooterTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; + [[nodiscard]] auto ContainerContentChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ContainerContentChanging(winrt::event_token const& token) const noexcept; + auto SetDesiredContainerUpdateDuration(winrt::Windows::Foundation::TimeSpan const& duration) const; + [[nodiscard]] auto Footer() const; + auto Footer(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto FooterTemplate() const; + auto FooterTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto FooterTransitions() const; + auto FooterTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; }; template <> struct consume { @@ -19768,8 +19763,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewBase3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewReorderMode) ReorderMode() const; - WINRT_IMPL_AUTO(void) ReorderMode(winrt::Windows::UI::Xaml::Controls::ListViewReorderMode const& value) const; + [[nodiscard]] auto ReorderMode() const; + auto ReorderMode(winrt::Windows::UI::Xaml::Controls::ListViewReorderMode const& value) const; }; template <> struct consume { @@ -19778,23 +19773,23 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewBase4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SelectedRanges() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMultiSelectCheckBoxEnabled() const; - WINRT_IMPL_AUTO(void) IsMultiSelectCheckBoxEnabled(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) DragItemsCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SelectedRanges() const; + [[nodiscard]] auto IsMultiSelectCheckBoxEnabled() const; + auto IsMultiSelectCheckBoxEnabled(bool value) const; + auto DragItemsCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DragItemsCompleted_revoker = impl::event_revoker::remove_DragItemsCompleted>; - [[nodiscard]] DragItemsCompleted_revoker DragItemsCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DragItemsCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ChoosingItemContainer(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DragItemsCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DragItemsCompleted(winrt::event_token const& token) const noexcept; + auto ChoosingItemContainer(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ChoosingItemContainer_revoker = impl::event_revoker::remove_ChoosingItemContainer>; - [[nodiscard]] ChoosingItemContainer_revoker ChoosingItemContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ChoosingItemContainer(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ChoosingGroupHeaderContainer(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ChoosingItemContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ChoosingItemContainer(winrt::event_token const& token) const noexcept; + auto ChoosingGroupHeaderContainer(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ChoosingGroupHeaderContainer_revoker = impl::event_revoker::remove_ChoosingGroupHeaderContainer>; - [[nodiscard]] ChoosingGroupHeaderContainer_revoker ChoosingGroupHeaderContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ChoosingGroupHeaderContainer(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SelectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const; - WINRT_IMPL_AUTO(void) DeselectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const; + [[nodiscard]] auto ChoosingGroupHeaderContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ChoosingGroupHeaderContainer(winrt::event_token const& token) const noexcept; + auto SelectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const; + auto DeselectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const; }; template <> struct consume { @@ -19803,9 +19798,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewBase5 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) SingleSelectionFollowsFocus() const; - WINRT_IMPL_AUTO(void) SingleSelectionFollowsFocus(bool value) const; - WINRT_IMPL_AUTO(bool) IsDragSource() const; + [[nodiscard]] auto SingleSelectionFollowsFocus() const; + auto SingleSelectionFollowsFocus(bool value) const; + auto IsDragSource() const; }; template <> struct consume { @@ -19814,8 +19809,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewBase6 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryStartConnectedAnimationAsync(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation const& animation, winrt::Windows::Foundation::IInspectable const& item, param::hstring const& elementName) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation) PrepareConnectedAnimation(param::hstring const& key, winrt::Windows::Foundation::IInspectable const& item, param::hstring const& elementName) const; + auto TryStartConnectedAnimationAsync(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation const& animation, winrt::Windows::Foundation::IInspectable const& item, param::hstring const& elementName) const; + auto PrepareConnectedAnimation(param::hstring const& key, winrt::Windows::Foundation::IInspectable const& item, param::hstring const& elementName) const; }; template <> struct consume { @@ -19824,7 +19819,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewBaseFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewBase) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -19849,20 +19844,20 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewBaseStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSwipeEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanDragItemsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanReorderItemsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsItemClickEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DataFetchSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IncrementalLoadingThresholdProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IncrementalLoadingTriggerProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SemanticZoomOwnerProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsActiveViewProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsZoomedInViewProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTransitionsProperty() const; + [[nodiscard]] auto SelectionModeProperty() const; + [[nodiscard]] auto IsSwipeEnabledProperty() const; + [[nodiscard]] auto CanDragItemsProperty() const; + [[nodiscard]] auto CanReorderItemsProperty() const; + [[nodiscard]] auto IsItemClickEnabledProperty() const; + [[nodiscard]] auto DataFetchSizeProperty() const; + [[nodiscard]] auto IncrementalLoadingThresholdProperty() const; + [[nodiscard]] auto IncrementalLoadingTriggerProperty() const; + [[nodiscard]] auto SemanticZoomOwnerProperty() const; + [[nodiscard]] auto IsActiveViewProperty() const; + [[nodiscard]] auto IsZoomedInViewProperty() const; + [[nodiscard]] auto HeaderProperty() const; + [[nodiscard]] auto HeaderTemplateProperty() const; + [[nodiscard]] auto HeaderTransitionsProperty() const; }; template <> struct consume { @@ -19871,10 +19866,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ShowsScrollingPlaceholdersProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FooterProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FooterTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FooterTransitionsProperty() const; + [[nodiscard]] auto ShowsScrollingPlaceholdersProperty() const; + [[nodiscard]] auto FooterProperty() const; + [[nodiscard]] auto FooterTemplateProperty() const; + [[nodiscard]] auto FooterTransitionsProperty() const; }; template <> struct consume { @@ -19883,7 +19878,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewBaseStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ReorderModeProperty() const; + [[nodiscard]] auto ReorderModeProperty() const; }; template <> struct consume { @@ -19892,7 +19887,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewBaseStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsMultiSelectCheckBoxEnabledProperty() const; + [[nodiscard]] auto IsMultiSelectCheckBoxEnabledProperty() const; }; template <> struct consume { @@ -19901,7 +19896,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewBaseStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SingleSelectionFollowsFocusProperty() const; + [[nodiscard]] auto SingleSelectionFollowsFocusProperty() const; }; template <> struct consume { @@ -19910,7 +19905,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListView) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -19927,7 +19922,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewHeaderItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewHeaderItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -19936,7 +19931,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemTemplateSettings) TemplateSettings() const; + [[nodiscard]] auto TemplateSettings() const; }; template <> struct consume { @@ -19945,7 +19940,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -19962,8 +19957,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IListViewPersistenceHelperStatics { - WINRT_IMPL_AUTO(hstring) GetRelativeScrollPosition(winrt::Windows::UI::Xaml::Controls::ListViewBase const& listViewBase, winrt::Windows::UI::Xaml::Controls::ListViewItemToKeyHandler const& itemToKeyHandler) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetRelativeScrollPositionAsync(winrt::Windows::UI::Xaml::Controls::ListViewBase const& listViewBase, param::hstring const& relativeScrollPosition, winrt::Windows::UI::Xaml::Controls::ListViewKeyToItemHandler const& keyToItemHandler) const; + auto GetRelativeScrollPosition(winrt::Windows::UI::Xaml::Controls::ListViewBase const& listViewBase, winrt::Windows::UI::Xaml::Controls::ListViewItemToKeyHandler const& itemToKeyHandler) const; + auto SetRelativeScrollPositionAsync(winrt::Windows::UI::Xaml::Controls::ListViewBase const& listViewBase, param::hstring const& relativeScrollPosition, winrt::Windows::UI::Xaml::Controls::ListViewKeyToItemHandler const& keyToItemHandler) const; }; template <> struct consume { @@ -19972,106 +19967,106 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaElement { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) PosterSource() const; - WINRT_IMPL_AUTO(void) PosterSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMuted() const; - WINRT_IMPL_AUTO(void) IsMuted(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAudioOnly() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoPlay() const; - WINRT_IMPL_AUTO(void) AutoPlay(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Volume() const; - WINRT_IMPL_AUTO(void) Volume(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Balance() const; - WINRT_IMPL_AUTO(void) Balance(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) NaturalVideoHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) NaturalVideoWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) NaturalDuration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Position() const; - WINRT_IMPL_AUTO(void) Position(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DownloadProgress() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) BufferingProgress() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DownloadProgressOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::MediaElementState) CurrentState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::TimelineMarkerCollection) Markers() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanSeek() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanPause() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) AudioStreamCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) AudioStreamIndex() const; - WINRT_IMPL_AUTO(void) AudioStreamIndex(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) PlaybackRate() const; - WINRT_IMPL_AUTO(void) PlaybackRate(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLooping() const; - WINRT_IMPL_AUTO(void) IsLooping(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSource) PlayToSource() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DefaultPlaybackRate() const; - WINRT_IMPL_AUTO(void) DefaultPlaybackRate(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) AspectRatioWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) AspectRatioHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RealTimePlayback() const; - WINRT_IMPL_AUTO(void) RealTimePlayback(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AudioCategory) AudioCategory() const; - WINRT_IMPL_AUTO(void) AudioCategory(winrt::Windows::UI::Xaml::Media::AudioCategory const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AudioDeviceType) AudioDeviceType() const; - WINRT_IMPL_AUTO(void) AudioDeviceType(winrt::Windows::UI::Xaml::Media::AudioDeviceType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionManager) ProtectionManager() const; - WINRT_IMPL_AUTO(void) ProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stereo3DVideoPackingMode) Stereo3DVideoPackingMode() const; - WINRT_IMPL_AUTO(void) Stereo3DVideoPackingMode(winrt::Windows::UI::Xaml::Media::Stereo3DVideoPackingMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stereo3DVideoRenderMode) Stereo3DVideoRenderMode() const; - WINRT_IMPL_AUTO(void) Stereo3DVideoRenderMode(winrt::Windows::UI::Xaml::Media::Stereo3DVideoRenderMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStereo3DVideo() const; - WINRT_IMPL_AUTO(winrt::event_token) MediaOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto PosterSource() const; + auto PosterSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto IsMuted() const; + auto IsMuted(bool value) const; + [[nodiscard]] auto IsAudioOnly() const; + [[nodiscard]] auto AutoPlay() const; + auto AutoPlay(bool value) const; + [[nodiscard]] auto Volume() const; + auto Volume(double value) const; + [[nodiscard]] auto Balance() const; + auto Balance(double value) const; + [[nodiscard]] auto NaturalVideoHeight() const; + [[nodiscard]] auto NaturalVideoWidth() const; + [[nodiscard]] auto NaturalDuration() const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto DownloadProgress() const; + [[nodiscard]] auto BufferingProgress() const; + [[nodiscard]] auto DownloadProgressOffset() const; + [[nodiscard]] auto CurrentState() const; + [[nodiscard]] auto Markers() const; + [[nodiscard]] auto CanSeek() const; + [[nodiscard]] auto CanPause() const; + [[nodiscard]] auto AudioStreamCount() const; + [[nodiscard]] auto AudioStreamIndex() const; + auto AudioStreamIndex(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto PlaybackRate() const; + auto PlaybackRate(double value) const; + [[nodiscard]] auto IsLooping() const; + auto IsLooping(bool value) const; + [[nodiscard]] auto PlayToSource() const; + [[nodiscard]] auto DefaultPlaybackRate() const; + auto DefaultPlaybackRate(double value) const; + [[nodiscard]] auto AspectRatioWidth() const; + [[nodiscard]] auto AspectRatioHeight() const; + [[nodiscard]] auto RealTimePlayback() const; + auto RealTimePlayback(bool value) const; + [[nodiscard]] auto AudioCategory() const; + auto AudioCategory(winrt::Windows::UI::Xaml::Media::AudioCategory const& value) const; + [[nodiscard]] auto AudioDeviceType() const; + auto AudioDeviceType(winrt::Windows::UI::Xaml::Media::AudioDeviceType const& value) const; + [[nodiscard]] auto ProtectionManager() const; + auto ProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const; + [[nodiscard]] auto Stereo3DVideoPackingMode() const; + auto Stereo3DVideoPackingMode(winrt::Windows::UI::Xaml::Media::Stereo3DVideoPackingMode const& value) const; + [[nodiscard]] auto Stereo3DVideoRenderMode() const; + auto Stereo3DVideoRenderMode(winrt::Windows::UI::Xaml::Media::Stereo3DVideoRenderMode const& value) const; + [[nodiscard]] auto IsStereo3DVideo() const; + auto MediaOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using MediaOpened_revoker = impl::event_revoker::remove_MediaOpened>; - [[nodiscard]] MediaOpened_revoker MediaOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MediaOpened(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MediaEnded(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto MediaOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto MediaOpened(winrt::event_token const& token) const noexcept; + auto MediaEnded(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using MediaEnded_revoker = impl::event_revoker::remove_MediaEnded>; - [[nodiscard]] MediaEnded_revoker MediaEnded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MediaEnded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MediaFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const; + [[nodiscard]] auto MediaEnded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto MediaEnded(winrt::event_token const& token) const noexcept; + auto MediaFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const; using MediaFailed_revoker = impl::event_revoker::remove_MediaFailed>; - [[nodiscard]] MediaFailed_revoker MediaFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MediaFailed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DownloadProgressChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto MediaFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const; + auto MediaFailed(winrt::event_token const& token) const noexcept; + auto DownloadProgressChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using DownloadProgressChanged_revoker = impl::event_revoker::remove_DownloadProgressChanged>; - [[nodiscard]] DownloadProgressChanged_revoker DownloadProgressChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DownloadProgressChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BufferingProgressChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto DownloadProgressChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto DownloadProgressChanged(winrt::event_token const& token) const noexcept; + auto BufferingProgressChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using BufferingProgressChanged_revoker = impl::event_revoker::remove_BufferingProgressChanged>; - [[nodiscard]] BufferingProgressChanged_revoker BufferingProgressChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BufferingProgressChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CurrentStateChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto BufferingProgressChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto BufferingProgressChanged(winrt::event_token const& token) const noexcept; + auto CurrentStateChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using CurrentStateChanged_revoker = impl::event_revoker::remove_CurrentStateChanged>; - [[nodiscard]] CurrentStateChanged_revoker CurrentStateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CurrentStateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MarkerReached(winrt::Windows::UI::Xaml::Media::TimelineMarkerRoutedEventHandler const& handler) const; + [[nodiscard]] auto CurrentStateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto CurrentStateChanged(winrt::event_token const& token) const noexcept; + auto MarkerReached(winrt::Windows::UI::Xaml::Media::TimelineMarkerRoutedEventHandler const& handler) const; using MarkerReached_revoker = impl::event_revoker::remove_MarkerReached>; - [[nodiscard]] MarkerReached_revoker MarkerReached(auto_revoke_t, winrt::Windows::UI::Xaml::Media::TimelineMarkerRoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MarkerReached(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RateChanged(winrt::Windows::UI::Xaml::Media::RateChangedRoutedEventHandler const& handler) const; + [[nodiscard]] auto MarkerReached(auto_revoke_t, winrt::Windows::UI::Xaml::Media::TimelineMarkerRoutedEventHandler const& handler) const; + auto MarkerReached(winrt::event_token const& token) const noexcept; + auto RateChanged(winrt::Windows::UI::Xaml::Media::RateChangedRoutedEventHandler const& handler) const; using RateChanged_revoker = impl::event_revoker::remove_RateChanged>; - [[nodiscard]] RateChanged_revoker RateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Media::RateChangedRoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) VolumeChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto RateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Media::RateChangedRoutedEventHandler const& handler) const; + auto RateChanged(winrt::event_token const& token) const noexcept; + auto VolumeChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using VolumeChanged_revoker = impl::event_revoker::remove_VolumeChanged>; - [[nodiscard]] VolumeChanged_revoker VolumeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VolumeChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SeekCompleted(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto VolumeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto VolumeChanged(winrt::event_token const& token) const noexcept; + auto SeekCompleted(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using SeekCompleted_revoker = impl::event_revoker::remove_SeekCompleted>; - [[nodiscard]] SeekCompleted_revoker SeekCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SeekCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(void) Play() const; - WINRT_IMPL_AUTO(void) Pause() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::MediaCanPlayResponse) CanPlayType(param::hstring const& type) const; - WINRT_IMPL_AUTO(void) SetSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& mimeType) const; - WINRT_IMPL_AUTO(hstring) GetAudioStreamLanguage(winrt::Windows::Foundation::IReference const& index) const; - WINRT_IMPL_AUTO(void) AddAudioEffect(param::hstring const& effectID, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& effectConfiguration) const; - WINRT_IMPL_AUTO(void) AddVideoEffect(param::hstring const& effectID, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& effectConfiguration) const; - WINRT_IMPL_AUTO(void) RemoveAllEffects() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stereo3DVideoPackingMode) ActualStereo3DVideoPackingMode() const; + [[nodiscard]] auto SeekCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto SeekCompleted(winrt::event_token const& token) const noexcept; + auto Stop() const; + auto Play() const; + auto Pause() const; + auto CanPlayType(param::hstring const& type) const; + auto SetSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& mimeType) const; + auto GetAudioStreamLanguage(winrt::Windows::Foundation::IReference const& index) const; + auto AddAudioEffect(param::hstring const& effectID, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& effectConfiguration) const; + auto AddVideoEffect(param::hstring const& effectID, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& effectConfiguration) const; + auto RemoveAllEffects() const; + [[nodiscard]] auto ActualStereo3DVideoPackingMode() const; }; template <> struct consume { @@ -20080,15 +20075,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaElement2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreTransportControlsEnabled() const; - WINRT_IMPL_AUTO(void) AreTransportControlsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) Stretch() const; - WINRT_IMPL_AUTO(void) Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFullWindow() const; - WINRT_IMPL_AUTO(void) IsFullWindow(bool value) const; - WINRT_IMPL_AUTO(void) SetMediaStreamSource(winrt::Windows::Media::Core::IMediaSource const& source) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) PlayToPreferredSourceUri() const; - WINRT_IMPL_AUTO(void) PlayToPreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto AreTransportControlsEnabled() const; + auto AreTransportControlsEnabled(bool value) const; + [[nodiscard]] auto Stretch() const; + auto Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const; + [[nodiscard]] auto IsFullWindow() const; + auto IsFullWindow(bool value) const; + auto SetMediaStreamSource(winrt::Windows::Media::Core::IMediaSource const& source) const; + [[nodiscard]] auto PlayToPreferredSourceUri() const; + auto PlayToPreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -20097,14 +20092,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaElement3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MediaTransportControls) TransportControls() const; - WINRT_IMPL_AUTO(void) TransportControls(winrt::Windows::UI::Xaml::Controls::MediaTransportControls const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) PartialMediaFailureDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TransportControls() const; + auto TransportControls(winrt::Windows::UI::Xaml::Controls::MediaTransportControls const& value) const; + auto PartialMediaFailureDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PartialMediaFailureDetected_revoker = impl::event_revoker::remove_PartialMediaFailureDetected>; - [[nodiscard]] PartialMediaFailureDetected_revoker PartialMediaFailureDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PartialMediaFailureDetected(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SetPlaybackSource(winrt::Windows::Media::Playback::IMediaPlaybackSource const& source) const; - WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingSource) GetAsCastingSource() const; + [[nodiscard]] auto PartialMediaFailureDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PartialMediaFailureDetected(winrt::event_token const& token) const noexcept; + auto SetPlaybackSource(winrt::Windows::Media::Playback::IMediaPlaybackSource const& source) const; + auto GetAsCastingSource() const; }; template <> struct consume { @@ -20113,39 +20108,39 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaElementStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PosterSourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsMutedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsAudioOnlyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AutoPlayProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VolumeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BalanceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) NaturalVideoHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) NaturalVideoWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) NaturalDurationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PositionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DownloadProgressProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BufferingProgressProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DownloadProgressOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CurrentStateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanSeekProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanPauseProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AudioStreamCountProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AudioStreamIndexProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlaybackRateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsLoopingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlayToSourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DefaultPlaybackRateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AspectRatioWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AspectRatioHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RealTimePlaybackProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AudioCategoryProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AudioDeviceTypeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ProtectionManagerProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Stereo3DVideoPackingModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Stereo3DVideoRenderModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsStereo3DVideoProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ActualStereo3DVideoPackingModeProperty() const; + [[nodiscard]] auto PosterSourceProperty() const; + [[nodiscard]] auto SourceProperty() const; + [[nodiscard]] auto IsMutedProperty() const; + [[nodiscard]] auto IsAudioOnlyProperty() const; + [[nodiscard]] auto AutoPlayProperty() const; + [[nodiscard]] auto VolumeProperty() const; + [[nodiscard]] auto BalanceProperty() const; + [[nodiscard]] auto NaturalVideoHeightProperty() const; + [[nodiscard]] auto NaturalVideoWidthProperty() const; + [[nodiscard]] auto NaturalDurationProperty() const; + [[nodiscard]] auto PositionProperty() const; + [[nodiscard]] auto DownloadProgressProperty() const; + [[nodiscard]] auto BufferingProgressProperty() const; + [[nodiscard]] auto DownloadProgressOffsetProperty() const; + [[nodiscard]] auto CurrentStateProperty() const; + [[nodiscard]] auto CanSeekProperty() const; + [[nodiscard]] auto CanPauseProperty() const; + [[nodiscard]] auto AudioStreamCountProperty() const; + [[nodiscard]] auto AudioStreamIndexProperty() const; + [[nodiscard]] auto PlaybackRateProperty() const; + [[nodiscard]] auto IsLoopingProperty() const; + [[nodiscard]] auto PlayToSourceProperty() const; + [[nodiscard]] auto DefaultPlaybackRateProperty() const; + [[nodiscard]] auto AspectRatioWidthProperty() const; + [[nodiscard]] auto AspectRatioHeightProperty() const; + [[nodiscard]] auto RealTimePlaybackProperty() const; + [[nodiscard]] auto AudioCategoryProperty() const; + [[nodiscard]] auto AudioDeviceTypeProperty() const; + [[nodiscard]] auto ProtectionManagerProperty() const; + [[nodiscard]] auto Stereo3DVideoPackingModeProperty() const; + [[nodiscard]] auto Stereo3DVideoRenderModeProperty() const; + [[nodiscard]] auto IsStereo3DVideoProperty() const; + [[nodiscard]] auto ActualStereo3DVideoPackingModeProperty() const; }; template <> struct consume { @@ -20154,10 +20149,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaElementStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AreTransportControlsEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StretchProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsFullWindowProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlayToPreferredSourceUriProperty() const; + [[nodiscard]] auto AreTransportControlsEnabledProperty() const; + [[nodiscard]] auto StretchProperty() const; + [[nodiscard]] auto IsFullWindowProperty() const; + [[nodiscard]] auto PlayToPreferredSourceUriProperty() const; }; template <> struct consume { @@ -20166,22 +20161,22 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaPlayerElement { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::IMediaPlaybackSource) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::Media::Playback::IMediaPlaybackSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MediaTransportControls) TransportControls() const; - WINRT_IMPL_AUTO(void) TransportControls(winrt::Windows::UI::Xaml::Controls::MediaTransportControls const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreTransportControlsEnabled() const; - WINRT_IMPL_AUTO(void) AreTransportControlsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) PosterSource() const; - WINRT_IMPL_AUTO(void) PosterSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) Stretch() const; - WINRT_IMPL_AUTO(void) Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoPlay() const; - WINRT_IMPL_AUTO(void) AutoPlay(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFullWindow() const; - WINRT_IMPL_AUTO(void) IsFullWindow(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) MediaPlayer() const; - WINRT_IMPL_AUTO(void) SetMediaPlayer(winrt::Windows::Media::Playback::MediaPlayer const& mediaPlayer) const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::Media::Playback::IMediaPlaybackSource const& value) const; + [[nodiscard]] auto TransportControls() const; + auto TransportControls(winrt::Windows::UI::Xaml::Controls::MediaTransportControls const& value) const; + [[nodiscard]] auto AreTransportControlsEnabled() const; + auto AreTransportControlsEnabled(bool value) const; + [[nodiscard]] auto PosterSource() const; + auto PosterSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; + [[nodiscard]] auto Stretch() const; + auto Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const; + [[nodiscard]] auto AutoPlay() const; + auto AutoPlay(bool value) const; + [[nodiscard]] auto IsFullWindow() const; + auto IsFullWindow(bool value) const; + [[nodiscard]] auto MediaPlayer() const; + auto SetMediaPlayer(winrt::Windows::Media::Playback::MediaPlayer const& mediaPlayer) const; }; template <> struct consume { @@ -20190,7 +20185,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaPlayerElementFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MediaPlayerElement) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -20199,13 +20194,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AreTransportControlsEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PosterSourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StretchProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AutoPlayProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsFullWindowProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MediaPlayerProperty() const; + [[nodiscard]] auto SourceProperty() const; + [[nodiscard]] auto AreTransportControlsEnabledProperty() const; + [[nodiscard]] auto PosterSourceProperty() const; + [[nodiscard]] auto StretchProperty() const; + [[nodiscard]] auto AutoPlayProperty() const; + [[nodiscard]] auto IsFullWindowProperty() const; + [[nodiscard]] auto MediaPlayerProperty() const; }; template <> struct consume { @@ -20214,12 +20209,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) MediaPlayer() const; - WINRT_IMPL_AUTO(void) MediaPlayer(winrt::Windows::Media::Playback::MediaPlayer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) Stretch() const; - WINRT_IMPL_AUTO(void) Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFullWindow() const; - WINRT_IMPL_AUTO(void) IsFullWindow(bool value) const; + [[nodiscard]] auto MediaPlayer() const; + auto MediaPlayer(winrt::Windows::Media::Playback::MediaPlayer const& value) const; + [[nodiscard]] auto Stretch() const; + auto Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const; + [[nodiscard]] auto IsFullWindow() const; + auto IsFullWindow(bool value) const; }; template <> struct consume { @@ -20228,7 +20223,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MediaPlayerPresenter) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -20237,9 +20232,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MediaPlayerProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StretchProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsFullWindowProperty() const; + [[nodiscard]] auto MediaPlayerProperty() const; + [[nodiscard]] auto StretchProperty() const; + [[nodiscard]] auto IsFullWindowProperty() const; }; template <> struct consume { @@ -20248,40 +20243,40 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaTransportControls { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFullWindowButtonVisible() const; - WINRT_IMPL_AUTO(void) IsFullWindowButtonVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFullWindowEnabled() const; - WINRT_IMPL_AUTO(void) IsFullWindowEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsZoomButtonVisible() const; - WINRT_IMPL_AUTO(void) IsZoomButtonVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsZoomEnabled() const; - WINRT_IMPL_AUTO(void) IsZoomEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFastForwardButtonVisible() const; - WINRT_IMPL_AUTO(void) IsFastForwardButtonVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFastForwardEnabled() const; - WINRT_IMPL_AUTO(void) IsFastForwardEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFastRewindButtonVisible() const; - WINRT_IMPL_AUTO(void) IsFastRewindButtonVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFastRewindEnabled() const; - WINRT_IMPL_AUTO(void) IsFastRewindEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStopButtonVisible() const; - WINRT_IMPL_AUTO(void) IsStopButtonVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStopEnabled() const; - WINRT_IMPL_AUTO(void) IsStopEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVolumeButtonVisible() const; - WINRT_IMPL_AUTO(void) IsVolumeButtonVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVolumeEnabled() const; - WINRT_IMPL_AUTO(void) IsVolumeEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPlaybackRateButtonVisible() const; - WINRT_IMPL_AUTO(void) IsPlaybackRateButtonVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPlaybackRateEnabled() const; - WINRT_IMPL_AUTO(void) IsPlaybackRateEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSeekBarVisible() const; - WINRT_IMPL_AUTO(void) IsSeekBarVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSeekEnabled() const; - WINRT_IMPL_AUTO(void) IsSeekEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCompact() const; - WINRT_IMPL_AUTO(void) IsCompact(bool value) const; + [[nodiscard]] auto IsFullWindowButtonVisible() const; + auto IsFullWindowButtonVisible(bool value) const; + [[nodiscard]] auto IsFullWindowEnabled() const; + auto IsFullWindowEnabled(bool value) const; + [[nodiscard]] auto IsZoomButtonVisible() const; + auto IsZoomButtonVisible(bool value) const; + [[nodiscard]] auto IsZoomEnabled() const; + auto IsZoomEnabled(bool value) const; + [[nodiscard]] auto IsFastForwardButtonVisible() const; + auto IsFastForwardButtonVisible(bool value) const; + [[nodiscard]] auto IsFastForwardEnabled() const; + auto IsFastForwardEnabled(bool value) const; + [[nodiscard]] auto IsFastRewindButtonVisible() const; + auto IsFastRewindButtonVisible(bool value) const; + [[nodiscard]] auto IsFastRewindEnabled() const; + auto IsFastRewindEnabled(bool value) const; + [[nodiscard]] auto IsStopButtonVisible() const; + auto IsStopButtonVisible(bool value) const; + [[nodiscard]] auto IsStopEnabled() const; + auto IsStopEnabled(bool value) const; + [[nodiscard]] auto IsVolumeButtonVisible() const; + auto IsVolumeButtonVisible(bool value) const; + [[nodiscard]] auto IsVolumeEnabled() const; + auto IsVolumeEnabled(bool value) const; + [[nodiscard]] auto IsPlaybackRateButtonVisible() const; + auto IsPlaybackRateButtonVisible(bool value) const; + [[nodiscard]] auto IsPlaybackRateEnabled() const; + auto IsPlaybackRateEnabled(bool value) const; + [[nodiscard]] auto IsSeekBarVisible() const; + auto IsSeekBarVisible(bool value) const; + [[nodiscard]] auto IsSeekEnabled() const; + auto IsSeekEnabled(bool value) const; + [[nodiscard]] auto IsCompact() const; + auto IsCompact(bool value) const; }; template <> struct consume { @@ -20290,24 +20285,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaTransportControls2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSkipForwardButtonVisible() const; - WINRT_IMPL_AUTO(void) IsSkipForwardButtonVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSkipForwardEnabled() const; - WINRT_IMPL_AUTO(void) IsSkipForwardEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSkipBackwardButtonVisible() const; - WINRT_IMPL_AUTO(void) IsSkipBackwardButtonVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSkipBackwardEnabled() const; - WINRT_IMPL_AUTO(void) IsSkipBackwardEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsNextTrackButtonVisible() const; - WINRT_IMPL_AUTO(void) IsNextTrackButtonVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPreviousTrackButtonVisible() const; - WINRT_IMPL_AUTO(void) IsPreviousTrackButtonVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FastPlayFallbackBehaviour) FastPlayFallbackBehaviour() const; - WINRT_IMPL_AUTO(void) FastPlayFallbackBehaviour(winrt::Windows::UI::Xaml::Media::FastPlayFallbackBehaviour const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) ThumbnailRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsSkipForwardButtonVisible() const; + auto IsSkipForwardButtonVisible(bool value) const; + [[nodiscard]] auto IsSkipForwardEnabled() const; + auto IsSkipForwardEnabled(bool value) const; + [[nodiscard]] auto IsSkipBackwardButtonVisible() const; + auto IsSkipBackwardButtonVisible(bool value) const; + [[nodiscard]] auto IsSkipBackwardEnabled() const; + auto IsSkipBackwardEnabled(bool value) const; + [[nodiscard]] auto IsNextTrackButtonVisible() const; + auto IsNextTrackButtonVisible(bool value) const; + [[nodiscard]] auto IsPreviousTrackButtonVisible() const; + auto IsPreviousTrackButtonVisible(bool value) const; + [[nodiscard]] auto FastPlayFallbackBehaviour() const; + auto FastPlayFallbackBehaviour(winrt::Windows::UI::Xaml::Media::FastPlayFallbackBehaviour const& value) const; + auto ThumbnailRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ThumbnailRequested_revoker = impl::event_revoker::remove_ThumbnailRequested>; - [[nodiscard]] ThumbnailRequested_revoker ThumbnailRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ThumbnailRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ThumbnailRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ThumbnailRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -20316,14 +20311,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaTransportControls3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShowAndHideAutomatically() const; - WINRT_IMPL_AUTO(void) ShowAndHideAutomatically(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRepeatEnabled() const; - WINRT_IMPL_AUTO(void) IsRepeatEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRepeatButtonVisible() const; - WINRT_IMPL_AUTO(void) IsRepeatButtonVisible(bool value) const; - WINRT_IMPL_AUTO(void) Show() const; - WINRT_IMPL_AUTO(void) Hide() const; + [[nodiscard]] auto ShowAndHideAutomatically() const; + auto ShowAndHideAutomatically(bool value) const; + [[nodiscard]] auto IsRepeatEnabled() const; + auto IsRepeatEnabled(bool value) const; + [[nodiscard]] auto IsRepeatButtonVisible() const; + auto IsRepeatButtonVisible(bool value) const; + auto Show() const; + auto Hide() const; }; template <> struct consume { @@ -20332,10 +20327,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaTransportControls4 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCompactOverlayButtonVisible() const; - WINRT_IMPL_AUTO(void) IsCompactOverlayButtonVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCompactOverlayEnabled() const; - WINRT_IMPL_AUTO(void) IsCompactOverlayEnabled(bool value) const; + [[nodiscard]] auto IsCompactOverlayButtonVisible() const; + auto IsCompactOverlayButtonVisible(bool value) const; + [[nodiscard]] auto IsCompactOverlayEnabled() const; + auto IsCompactOverlayEnabled(bool value) const; }; template <> struct consume { @@ -20344,7 +20339,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaTransportControlsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MediaTransportControls) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -20361,9 +20356,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaTransportControlsHelperStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DropoutOrderProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) GetDropoutOrder(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetDropoutOrder(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto DropoutOrderProperty() const; + auto GetDropoutOrder(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetDropoutOrder(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -20372,23 +20367,23 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsFullWindowButtonVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsFullWindowEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsZoomButtonVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsZoomEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsFastForwardButtonVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsFastForwardEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsFastRewindButtonVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsFastRewindEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsStopButtonVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsStopEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsVolumeButtonVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsVolumeEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsPlaybackRateButtonVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsPlaybackRateEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSeekBarVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSeekEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsCompactProperty() const; + [[nodiscard]] auto IsFullWindowButtonVisibleProperty() const; + [[nodiscard]] auto IsFullWindowEnabledProperty() const; + [[nodiscard]] auto IsZoomButtonVisibleProperty() const; + [[nodiscard]] auto IsZoomEnabledProperty() const; + [[nodiscard]] auto IsFastForwardButtonVisibleProperty() const; + [[nodiscard]] auto IsFastForwardEnabledProperty() const; + [[nodiscard]] auto IsFastRewindButtonVisibleProperty() const; + [[nodiscard]] auto IsFastRewindEnabledProperty() const; + [[nodiscard]] auto IsStopButtonVisibleProperty() const; + [[nodiscard]] auto IsStopEnabledProperty() const; + [[nodiscard]] auto IsVolumeButtonVisibleProperty() const; + [[nodiscard]] auto IsVolumeEnabledProperty() const; + [[nodiscard]] auto IsPlaybackRateButtonVisibleProperty() const; + [[nodiscard]] auto IsPlaybackRateEnabledProperty() const; + [[nodiscard]] auto IsSeekBarVisibleProperty() const; + [[nodiscard]] auto IsSeekEnabledProperty() const; + [[nodiscard]] auto IsCompactProperty() const; }; template <> struct consume { @@ -20397,13 +20392,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSkipForwardButtonVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSkipForwardEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSkipBackwardButtonVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSkipBackwardEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsNextTrackButtonVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsPreviousTrackButtonVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FastPlayFallbackBehaviourProperty() const; + [[nodiscard]] auto IsSkipForwardButtonVisibleProperty() const; + [[nodiscard]] auto IsSkipForwardEnabledProperty() const; + [[nodiscard]] auto IsSkipBackwardButtonVisibleProperty() const; + [[nodiscard]] auto IsSkipBackwardEnabledProperty() const; + [[nodiscard]] auto IsNextTrackButtonVisibleProperty() const; + [[nodiscard]] auto IsPreviousTrackButtonVisibleProperty() const; + [[nodiscard]] auto FastPlayFallbackBehaviourProperty() const; }; template <> struct consume { @@ -20412,9 +20407,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ShowAndHideAutomaticallyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsRepeatEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsRepeatButtonVisibleProperty() const; + [[nodiscard]] auto ShowAndHideAutomaticallyProperty() const; + [[nodiscard]] auto IsRepeatEnabledProperty() const; + [[nodiscard]] auto IsRepeatButtonVisibleProperty() const; }; template <> struct consume { @@ -20423,8 +20418,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsCompactOverlayButtonVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsCompactOverlayEnabledProperty() const; + [[nodiscard]] auto IsCompactOverlayButtonVisibleProperty() const; + [[nodiscard]] auto IsCompactOverlayEnabledProperty() const; }; template <> struct consume { @@ -20433,7 +20428,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuBar { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Items() const; + [[nodiscard]] auto Items() const; }; template <> struct consume { @@ -20442,7 +20437,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuBarFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuBar) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -20451,9 +20446,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuBarItem { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Items() const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Items() const; }; template <> struct consume { @@ -20462,7 +20457,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuBarItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuBarItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -20479,7 +20474,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuBarItemFlyoutFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuBarItemFlyout) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -20488,8 +20483,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuBarItemStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TitleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemsProperty() const; + [[nodiscard]] auto TitleProperty() const; + [[nodiscard]] auto ItemsProperty() const; }; template <> struct consume { @@ -20498,7 +20493,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuBarStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemsProperty() const; + [[nodiscard]] auto ItemsProperty() const; }; template <> struct consume { @@ -20507,9 +20502,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyout { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Items() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) MenuFlyoutPresenterStyle() const; - WINRT_IMPL_AUTO(void) MenuFlyoutPresenterStyle(winrt::Windows::UI::Xaml::Style const& value) const; + [[nodiscard]] auto Items() const; + [[nodiscard]] auto MenuFlyoutPresenterStyle() const; + auto MenuFlyoutPresenterStyle(winrt::Windows::UI::Xaml::Style const& value) const; }; template <> struct consume { @@ -20518,7 +20513,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyout2 { - WINRT_IMPL_AUTO(void) ShowAt(winrt::Windows::UI::Xaml::UIElement const& targetElement, winrt::Windows::Foundation::Point const& point) const; + auto ShowAt(winrt::Windows::UI::Xaml::UIElement const& targetElement, winrt::Windows::Foundation::Point const& point) const; }; template <> struct consume { @@ -20527,7 +20522,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuFlyout) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -20536,16 +20531,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) Command() const; - WINRT_IMPL_AUTO(void) Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CommandParameter() const; - WINRT_IMPL_AUTO(void) CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) Click(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto Command() const; + auto Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const; + [[nodiscard]] auto CommandParameter() const; + auto CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const; + auto Click(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using Click_revoker = impl::event_revoker::remove_Click>; - [[nodiscard]] Click_revoker Click(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Click(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Click(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto Click(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -20554,8 +20549,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) Icon() const; - WINRT_IMPL_AUTO(void) Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const; + [[nodiscard]] auto Icon() const; + auto Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const; }; template <> struct consume { @@ -20564,9 +20559,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) KeyboardAcceleratorTextOverride() const; - WINRT_IMPL_AUTO(void) KeyboardAcceleratorTextOverride(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::MenuFlyoutItemTemplateSettings) TemplateSettings() const; + [[nodiscard]] auto KeyboardAcceleratorTextOverride() const; + auto KeyboardAcceleratorTextOverride(param::hstring const& value) const; + [[nodiscard]] auto TemplateSettings() const; }; template <> struct consume { @@ -20591,7 +20586,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuFlyoutItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -20600,9 +20595,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CommandProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CommandParameterProperty() const; + [[nodiscard]] auto TextProperty() const; + [[nodiscard]] auto CommandProperty() const; + [[nodiscard]] auto CommandParameterProperty() const; }; template <> struct consume { @@ -20611,7 +20606,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IconProperty() const; + [[nodiscard]] auto IconProperty() const; }; template <> struct consume { @@ -20620,7 +20615,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyboardAcceleratorTextOverrideProperty() const; + [[nodiscard]] auto KeyboardAcceleratorTextOverrideProperty() const; }; template <> struct consume { @@ -20637,7 +20632,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenter2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::MenuFlyoutPresenterTemplateSettings) TemplateSettings() const; + [[nodiscard]] auto TemplateSettings() const; }; template <> struct consume { @@ -20646,8 +20641,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenter3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDefaultShadowEnabled() const; - WINRT_IMPL_AUTO(void) IsDefaultShadowEnabled(bool value) const; + [[nodiscard]] auto IsDefaultShadowEnabled() const; + auto IsDefaultShadowEnabled(bool value) const; }; template <> struct consume { @@ -20656,7 +20651,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenterFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuFlyoutPresenter) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -20665,7 +20660,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenterStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsDefaultShadowEnabledProperty() const; + [[nodiscard]] auto IsDefaultShadowEnabledProperty() const; }; template <> struct consume { @@ -20682,7 +20677,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutSeparatorFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuFlyoutSeparator) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -20691,7 +20686,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MenuFlyoutPresenterStyleProperty() const; + [[nodiscard]] auto MenuFlyoutPresenterStyleProperty() const; }; template <> struct consume { @@ -20700,9 +20695,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Items() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; + [[nodiscard]] auto Items() const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; }; template <> struct consume { @@ -20711,8 +20706,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) Icon() const; - WINRT_IMPL_AUTO(void) Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const; + [[nodiscard]] auto Icon() const; + auto Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const; }; template <> struct consume { @@ -20721,7 +20716,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItemStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextProperty() const; + [[nodiscard]] auto TextProperty() const; }; template <> struct consume { @@ -20730,7 +20725,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItemStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IconProperty() const; + [[nodiscard]] auto IconProperty() const; }; template <> struct consume { @@ -20739,7 +20734,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigate { - WINRT_IMPL_AUTO(bool) Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType) const; + auto Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType) const; }; template <> struct consume { @@ -20748,61 +20743,61 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationView { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPaneOpen() const; - WINRT_IMPL_AUTO(void) IsPaneOpen(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CompactModeThresholdWidth() const; - WINRT_IMPL_AUTO(void) CompactModeThresholdWidth(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExpandedModeThresholdWidth() const; - WINRT_IMPL_AUTO(void) ExpandedModeThresholdWidth(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) PaneFooter() const; - WINRT_IMPL_AUTO(void) PaneFooter(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; - WINRT_IMPL_AUTO(void) Header(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) HeaderTemplate() const; - WINRT_IMPL_AUTO(void) HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayMode) DisplayMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSettingsVisible() const; - WINRT_IMPL_AUTO(void) IsSettingsVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPaneToggleButtonVisible() const; - WINRT_IMPL_AUTO(void) IsPaneToggleButtonVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AlwaysShowHeader() const; - WINRT_IMPL_AUTO(void) AlwaysShowHeader(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CompactPaneLength() const; - WINRT_IMPL_AUTO(void) CompactPaneLength(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OpenPaneLength() const; - WINRT_IMPL_AUTO(void) OpenPaneLength(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) PaneToggleButtonStyle() const; - WINRT_IMPL_AUTO(void) PaneToggleButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SelectedItem() const; - WINRT_IMPL_AUTO(void) SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) MenuItems() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) MenuItemsSource() const; - WINRT_IMPL_AUTO(void) MenuItemsSource(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SettingsItem() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox) AutoSuggestBox() const; - WINRT_IMPL_AUTO(void) AutoSuggestBox(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) MenuItemTemplate() const; - WINRT_IMPL_AUTO(void) MenuItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) MenuItemTemplateSelector() const; - WINRT_IMPL_AUTO(void) MenuItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) MenuItemContainerStyle() const; - WINRT_IMPL_AUTO(void) MenuItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StyleSelector) MenuItemContainerStyleSelector() const; - WINRT_IMPL_AUTO(void) MenuItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) MenuItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) ContainerFromMenuItem(winrt::Windows::Foundation::IInspectable const& item) const; - WINRT_IMPL_AUTO(winrt::event_token) SelectionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsPaneOpen() const; + auto IsPaneOpen(bool value) const; + [[nodiscard]] auto CompactModeThresholdWidth() const; + auto CompactModeThresholdWidth(double value) const; + [[nodiscard]] auto ExpandedModeThresholdWidth() const; + auto ExpandedModeThresholdWidth(double value) const; + [[nodiscard]] auto PaneFooter() const; + auto PaneFooter(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto Header() const; + auto Header(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto HeaderTemplate() const; + auto HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto DisplayMode() const; + [[nodiscard]] auto IsSettingsVisible() const; + auto IsSettingsVisible(bool value) const; + [[nodiscard]] auto IsPaneToggleButtonVisible() const; + auto IsPaneToggleButtonVisible(bool value) const; + [[nodiscard]] auto AlwaysShowHeader() const; + auto AlwaysShowHeader(bool value) const; + [[nodiscard]] auto CompactPaneLength() const; + auto CompactPaneLength(double value) const; + [[nodiscard]] auto OpenPaneLength() const; + auto OpenPaneLength(double value) const; + [[nodiscard]] auto PaneToggleButtonStyle() const; + auto PaneToggleButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const; + [[nodiscard]] auto SelectedItem() const; + auto SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto MenuItems() const; + [[nodiscard]] auto MenuItemsSource() const; + auto MenuItemsSource(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto SettingsItem() const; + [[nodiscard]] auto AutoSuggestBox() const; + auto AutoSuggestBox(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox const& value) const; + [[nodiscard]] auto MenuItemTemplate() const; + auto MenuItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto MenuItemTemplateSelector() const; + auto MenuItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const; + [[nodiscard]] auto MenuItemContainerStyle() const; + auto MenuItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const; + [[nodiscard]] auto MenuItemContainerStyleSelector() const; + auto MenuItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const; + auto MenuItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; + auto ContainerFromMenuItem(winrt::Windows::Foundation::IInspectable const& item) const; + auto SelectionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SelectionChanged_revoker = impl::event_revoker::remove_SelectionChanged>; - [[nodiscard]] SelectionChanged_revoker SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SelectionChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SelectionChanged(winrt::event_token const& token) const noexcept; + auto ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ItemInvoked_revoker = impl::event_revoker::remove_ItemInvoked>; - [[nodiscard]] ItemInvoked_revoker ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ItemInvoked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DisplayModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemInvoked(winrt::event_token const& token) const noexcept; + auto DisplayModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DisplayModeChanged_revoker = impl::event_revoker::remove_DisplayModeChanged>; - [[nodiscard]] DisplayModeChanged_revoker DisplayModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DisplayModeChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DisplayModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DisplayModeChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -20811,32 +20806,32 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationView2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewBackButtonVisible) IsBackButtonVisible() const; - WINRT_IMPL_AUTO(void) IsBackButtonVisible(winrt::Windows::UI::Xaml::Controls::NavigationViewBackButtonVisible const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBackEnabled() const; - WINRT_IMPL_AUTO(void) IsBackEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PaneTitle() const; - WINRT_IMPL_AUTO(void) PaneTitle(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) BackRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsBackButtonVisible() const; + auto IsBackButtonVisible(winrt::Windows::UI::Xaml::Controls::NavigationViewBackButtonVisible const& value) const; + [[nodiscard]] auto IsBackEnabled() const; + auto IsBackEnabled(bool value) const; + [[nodiscard]] auto PaneTitle() const; + auto PaneTitle(param::hstring const& value) const; + auto BackRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using BackRequested_revoker = impl::event_revoker::remove_BackRequested>; - [[nodiscard]] BackRequested_revoker BackRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BackRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PaneClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto BackRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BackRequested(winrt::event_token const& token) const noexcept; + auto PaneClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PaneClosed_revoker = impl::event_revoker::remove_PaneClosed>; - [[nodiscard]] PaneClosed_revoker PaneClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PaneClosed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PaneClosing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PaneClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PaneClosed(winrt::event_token const& token) const noexcept; + auto PaneClosing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PaneClosing_revoker = impl::event_revoker::remove_PaneClosing>; - [[nodiscard]] PaneClosing_revoker PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PaneClosing(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PaneOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PaneClosing(winrt::event_token const& token) const noexcept; + auto PaneOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PaneOpened_revoker = impl::event_revoker::remove_PaneOpened>; - [[nodiscard]] PaneOpened_revoker PaneOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PaneOpened(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PaneOpening(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PaneOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PaneOpened(winrt::event_token const& token) const noexcept; + auto PaneOpening(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PaneOpening_revoker = impl::event_revoker::remove_PaneOpening>; - [[nodiscard]] PaneOpening_revoker PaneOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PaneOpening(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PaneOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PaneOpening(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -20845,23 +20840,23 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationView3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewPaneDisplayMode) PaneDisplayMode() const; - WINRT_IMPL_AUTO(void) PaneDisplayMode(winrt::Windows::UI::Xaml::Controls::NavigationViewPaneDisplayMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) PaneHeader() const; - WINRT_IMPL_AUTO(void) PaneHeader(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) PaneCustomContent() const; - WINRT_IMPL_AUTO(void) PaneCustomContent(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) ContentOverlay() const; - WINRT_IMPL_AUTO(void) ContentOverlay(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPaneVisible() const; - WINRT_IMPL_AUTO(void) IsPaneVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionFollowsFocus) SelectionFollowsFocus() const; - WINRT_IMPL_AUTO(void) SelectionFollowsFocus(winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionFollowsFocus const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewTemplateSettings) TemplateSettings() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewShoulderNavigationEnabled) ShoulderNavigationEnabled() const; - WINRT_IMPL_AUTO(void) ShoulderNavigationEnabled(winrt::Windows::UI::Xaml::Controls::NavigationViewShoulderNavigationEnabled const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewOverflowLabelMode) OverflowLabelMode() const; - WINRT_IMPL_AUTO(void) OverflowLabelMode(winrt::Windows::UI::Xaml::Controls::NavigationViewOverflowLabelMode const& value) const; + [[nodiscard]] auto PaneDisplayMode() const; + auto PaneDisplayMode(winrt::Windows::UI::Xaml::Controls::NavigationViewPaneDisplayMode const& value) const; + [[nodiscard]] auto PaneHeader() const; + auto PaneHeader(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto PaneCustomContent() const; + auto PaneCustomContent(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto ContentOverlay() const; + auto ContentOverlay(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto IsPaneVisible() const; + auto IsPaneVisible(bool value) const; + [[nodiscard]] auto SelectionFollowsFocus() const; + auto SelectionFollowsFocus(winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionFollowsFocus const& value) const; + [[nodiscard]] auto TemplateSettings() const; + [[nodiscard]] auto ShoulderNavigationEnabled() const; + auto ShoulderNavigationEnabled(winrt::Windows::UI::Xaml::Controls::NavigationViewShoulderNavigationEnabled const& value) const; + [[nodiscard]] auto OverflowLabelMode() const; + auto OverflowLabelMode(winrt::Windows::UI::Xaml::Controls::NavigationViewOverflowLabelMode const& value) const; }; template <> struct consume { @@ -20878,7 +20873,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewDisplayModeChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayMode) DisplayMode() const; + [[nodiscard]] auto DisplayMode() const; }; template <> struct consume { @@ -20887,7 +20882,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationView) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -20896,9 +20891,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) Icon() const; - WINRT_IMPL_AUTO(void) Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CompactPaneLength() const; + [[nodiscard]] auto Icon() const; + auto Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const; + [[nodiscard]] auto CompactPaneLength() const; }; template <> struct consume { @@ -20907,8 +20902,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewItem2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) SelectsOnInvoked() const; - WINRT_IMPL_AUTO(void) SelectsOnInvoked(bool value) const; + [[nodiscard]] auto SelectsOnInvoked() const; + auto SelectsOnInvoked(bool value) const; }; template <> struct consume { @@ -20933,7 +20928,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -20950,7 +20945,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewItemHeaderFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewItemHeader) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -20959,8 +20954,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) InvokedItem() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSettingsInvoked() const; + [[nodiscard]] auto InvokedItem() const; + [[nodiscard]] auto IsSettingsInvoked() const; }; template <> struct consume { @@ -20969,8 +20964,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewItemBase) InvokedItemContainer() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) RecommendedNavigationTransitionInfo() const; + [[nodiscard]] auto InvokedItemContainer() const; + [[nodiscard]] auto RecommendedNavigationTransitionInfo() const; }; template <> struct consume { @@ -20987,7 +20982,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewItemSeparatorFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewItemSeparator) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -20996,8 +20991,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewItemStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IconProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CompactPaneLengthProperty() const; + [[nodiscard]] auto IconProperty() const; + [[nodiscard]] auto CompactPaneLengthProperty() const; }; template <> struct consume { @@ -21006,7 +21001,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewItemStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectsOnInvokedProperty() const; + [[nodiscard]] auto SelectsOnInvokedProperty() const; }; template <> struct consume { @@ -21023,7 +21018,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewListFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewList) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -21032,8 +21027,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewPaneClosingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; }; template <> struct consume { @@ -21042,8 +21037,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SelectedItem() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSettingsSelected() const; + [[nodiscard]] auto SelectedItem() const; + [[nodiscard]] auto IsSettingsSelected() const; }; template <> struct consume { @@ -21052,8 +21047,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewItemBase) SelectedItemContainer() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) RecommendedNavigationTransitionInfo() const; + [[nodiscard]] auto SelectedItemContainer() const; + [[nodiscard]] auto RecommendedNavigationTransitionInfo() const; }; template <> struct consume { @@ -21062,28 +21057,28 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsPaneOpenProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CompactModeThresholdWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ExpandedModeThresholdWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaneFooterProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DisplayModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSettingsVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsPaneToggleButtonVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlwaysShowHeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CompactPaneLengthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OpenPaneLengthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaneToggleButtonStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MenuItemsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MenuItemsSourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedItemProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SettingsItemProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AutoSuggestBoxProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MenuItemTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MenuItemTemplateSelectorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MenuItemContainerStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MenuItemContainerStyleSelectorProperty() const; + [[nodiscard]] auto IsPaneOpenProperty() const; + [[nodiscard]] auto CompactModeThresholdWidthProperty() const; + [[nodiscard]] auto ExpandedModeThresholdWidthProperty() const; + [[nodiscard]] auto PaneFooterProperty() const; + [[nodiscard]] auto HeaderProperty() const; + [[nodiscard]] auto HeaderTemplateProperty() const; + [[nodiscard]] auto DisplayModeProperty() const; + [[nodiscard]] auto IsSettingsVisibleProperty() const; + [[nodiscard]] auto IsPaneToggleButtonVisibleProperty() const; + [[nodiscard]] auto AlwaysShowHeaderProperty() const; + [[nodiscard]] auto CompactPaneLengthProperty() const; + [[nodiscard]] auto OpenPaneLengthProperty() const; + [[nodiscard]] auto PaneToggleButtonStyleProperty() const; + [[nodiscard]] auto MenuItemsProperty() const; + [[nodiscard]] auto MenuItemsSourceProperty() const; + [[nodiscard]] auto SelectedItemProperty() const; + [[nodiscard]] auto SettingsItemProperty() const; + [[nodiscard]] auto AutoSuggestBoxProperty() const; + [[nodiscard]] auto MenuItemTemplateProperty() const; + [[nodiscard]] auto MenuItemTemplateSelectorProperty() const; + [[nodiscard]] auto MenuItemContainerStyleProperty() const; + [[nodiscard]] auto MenuItemContainerStyleSelectorProperty() const; }; template <> struct consume { @@ -21092,9 +21087,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsBackButtonVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsBackEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaneTitleProperty() const; + [[nodiscard]] auto IsBackButtonVisibleProperty() const; + [[nodiscard]] auto IsBackEnabledProperty() const; + [[nodiscard]] auto PaneTitleProperty() const; }; template <> struct consume { @@ -21103,15 +21098,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaneDisplayModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaneHeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaneCustomContentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentOverlayProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsPaneVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionFollowsFocusProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TemplateSettingsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ShoulderNavigationEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OverflowLabelModeProperty() const; + [[nodiscard]] auto PaneDisplayModeProperty() const; + [[nodiscard]] auto PaneHeaderProperty() const; + [[nodiscard]] auto PaneCustomContentProperty() const; + [[nodiscard]] auto ContentOverlayProperty() const; + [[nodiscard]] auto IsPaneVisibleProperty() const; + [[nodiscard]] auto SelectionFollowsFocusProperty() const; + [[nodiscard]] auto TemplateSettingsProperty() const; + [[nodiscard]] auto ShoulderNavigationEnabledProperty() const; + [[nodiscard]] auto OverflowLabelModeProperty() const; }; template <> struct consume { @@ -21120,13 +21115,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(double) TopPadding() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) OverflowButtonVisibility() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) PaneToggleButtonVisibility() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) BackButtonVisibility() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) TopPaneVisibility() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) LeftPaneVisibility() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SingleSelectionFollowsFocus() const; + [[nodiscard]] auto TopPadding() const; + [[nodiscard]] auto OverflowButtonVisibility() const; + [[nodiscard]] auto PaneToggleButtonVisibility() const; + [[nodiscard]] auto BackButtonVisibility() const; + [[nodiscard]] auto TopPaneVisibility() const; + [[nodiscard]] auto LeftPaneVisibility() const; + [[nodiscard]] auto SingleSelectionFollowsFocus() const; }; template <> struct consume { @@ -21135,7 +21130,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewTemplateSettings) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -21144,13 +21139,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TopPaddingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OverflowButtonVisibilityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaneToggleButtonVisibilityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackButtonVisibilityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TopPaneVisibilityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LeftPaneVisibilityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SingleSelectionFollowsFocusProperty() const; + [[nodiscard]] auto TopPaddingProperty() const; + [[nodiscard]] auto OverflowButtonVisibilityProperty() const; + [[nodiscard]] auto PaneToggleButtonVisibilityProperty() const; + [[nodiscard]] auto BackButtonVisibilityProperty() const; + [[nodiscard]] auto TopPaneVisibilityProperty() const; + [[nodiscard]] auto LeftPaneVisibilityProperty() const; + [[nodiscard]] auto SingleSelectionFollowsFocusProperty() const; }; template <> struct consume { @@ -21159,7 +21154,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INotifyEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -21168,7 +21163,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_INotifyEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) CallingUri() const; + [[nodiscard]] auto CallingUri() const; }; template <> struct consume { @@ -21177,13 +21172,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPage { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Frame) Frame() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Navigation::NavigationCacheMode) NavigationCacheMode() const; - WINRT_IMPL_AUTO(void) NavigationCacheMode(winrt::Windows::UI::Xaml::Navigation::NavigationCacheMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBar) TopAppBar() const; - WINRT_IMPL_AUTO(void) TopAppBar(winrt::Windows::UI::Xaml::Controls::AppBar const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBar) BottomAppBar() const; - WINRT_IMPL_AUTO(void) BottomAppBar(winrt::Windows::UI::Xaml::Controls::AppBar const& value) const; + [[nodiscard]] auto Frame() const; + [[nodiscard]] auto NavigationCacheMode() const; + auto NavigationCacheMode(winrt::Windows::UI::Xaml::Navigation::NavigationCacheMode const& value) const; + [[nodiscard]] auto TopAppBar() const; + auto TopAppBar(winrt::Windows::UI::Xaml::Controls::AppBar const& value) const; + [[nodiscard]] auto BottomAppBar() const; + auto BottomAppBar(winrt::Windows::UI::Xaml::Controls::AppBar const& value) const; }; template <> struct consume { @@ -21192,7 +21187,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPageFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Page) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -21201,9 +21196,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPageOverrides { - WINRT_IMPL_AUTO(void) OnNavigatedFrom(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnNavigatedTo(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnNavigatingFrom(winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventArgs const& e) const; + auto OnNavigatedFrom(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const; + auto OnNavigatedTo(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const; + auto OnNavigatingFrom(winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventArgs const& e) const; }; template <> struct consume { @@ -21212,9 +21207,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPageStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FrameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TopAppBarProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BottomAppBarProperty() const; + [[nodiscard]] auto FrameProperty() const; + [[nodiscard]] auto TopAppBarProperty() const; + [[nodiscard]] auto BottomAppBarProperty() const; }; template <> struct consume { @@ -21223,12 +21218,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPanel { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::UIElementCollection) Children() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Background() const; - WINRT_IMPL_AUTO(void) Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsItemsHost() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) ChildrenTransitions() const; - WINRT_IMPL_AUTO(void) ChildrenTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; + [[nodiscard]] auto Children() const; + [[nodiscard]] auto Background() const; + auto Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto IsItemsHost() const; + [[nodiscard]] auto ChildrenTransitions() const; + auto ChildrenTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; }; template <> struct consume { @@ -21237,8 +21232,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPanel2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::BrushTransition) BackgroundTransition() const; - WINRT_IMPL_AUTO(void) BackgroundTransition(winrt::Windows::UI::Xaml::BrushTransition const& value) const; + [[nodiscard]] auto BackgroundTransition() const; + auto BackgroundTransition(winrt::Windows::UI::Xaml::BrushTransition const& value) const; }; template <> struct consume { @@ -21247,7 +21242,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPanelFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Panel) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -21256,9 +21251,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPanelStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsItemsHostProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ChildrenTransitionsProperty() const; + [[nodiscard]] auto BackgroundProperty() const; + [[nodiscard]] auto IsItemsHostProperty() const; + [[nodiscard]] auto ChildrenTransitionsProperty() const; }; template <> struct consume { @@ -21267,36 +21262,36 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IParallaxView { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Child() const; - WINRT_IMPL_AUTO(void) Child(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalShift() const; - WINRT_IMPL_AUTO(void) HorizontalShift(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalSourceEndOffset() const; - WINRT_IMPL_AUTO(void) HorizontalSourceEndOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind) HorizontalSourceOffsetKind() const; - WINRT_IMPL_AUTO(void) HorizontalSourceOffsetKind(winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalSourceStartOffset() const; - WINRT_IMPL_AUTO(void) HorizontalSourceStartOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHorizontalShiftClamped() const; - WINRT_IMPL_AUTO(void) IsHorizontalShiftClamped(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVerticalShiftClamped() const; - WINRT_IMPL_AUTO(void) IsVerticalShiftClamped(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxHorizontalShiftRatio() const; - WINRT_IMPL_AUTO(void) MaxHorizontalShiftRatio(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxVerticalShiftRatio() const; - WINRT_IMPL_AUTO(void) MaxVerticalShiftRatio(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalShift() const; - WINRT_IMPL_AUTO(void) VerticalShift(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalSourceEndOffset() const; - WINRT_IMPL_AUTO(void) VerticalSourceEndOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind) VerticalSourceOffsetKind() const; - WINRT_IMPL_AUTO(void) VerticalSourceOffsetKind(winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalSourceStartOffset() const; - WINRT_IMPL_AUTO(void) VerticalSourceStartOffset(double value) const; - WINRT_IMPL_AUTO(void) RefreshAutomaticHorizontalOffsets() const; - WINRT_IMPL_AUTO(void) RefreshAutomaticVerticalOffsets() const; + [[nodiscard]] auto Child() const; + auto Child(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto HorizontalShift() const; + auto HorizontalShift(double value) const; + [[nodiscard]] auto HorizontalSourceEndOffset() const; + auto HorizontalSourceEndOffset(double value) const; + [[nodiscard]] auto HorizontalSourceOffsetKind() const; + auto HorizontalSourceOffsetKind(winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind const& value) const; + [[nodiscard]] auto HorizontalSourceStartOffset() const; + auto HorizontalSourceStartOffset(double value) const; + [[nodiscard]] auto IsHorizontalShiftClamped() const; + auto IsHorizontalShiftClamped(bool value) const; + [[nodiscard]] auto IsVerticalShiftClamped() const; + auto IsVerticalShiftClamped(bool value) const; + [[nodiscard]] auto MaxHorizontalShiftRatio() const; + auto MaxHorizontalShiftRatio(double value) const; + [[nodiscard]] auto MaxVerticalShiftRatio() const; + auto MaxVerticalShiftRatio(double value) const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto VerticalShift() const; + auto VerticalShift(double value) const; + [[nodiscard]] auto VerticalSourceEndOffset() const; + auto VerticalSourceEndOffset(double value) const; + [[nodiscard]] auto VerticalSourceOffsetKind() const; + auto VerticalSourceOffsetKind(winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind const& value) const; + [[nodiscard]] auto VerticalSourceStartOffset() const; + auto VerticalSourceStartOffset(double value) const; + auto RefreshAutomaticHorizontalOffsets() const; + auto RefreshAutomaticVerticalOffsets() const; }; template <> struct consume { @@ -21305,7 +21300,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IParallaxViewFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ParallaxView) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -21314,20 +21309,20 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IParallaxViewStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ChildProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalSourceEndOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalSourceOffsetKindProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalSourceStartOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxHorizontalShiftRatioProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalShiftProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsHorizontalShiftClampedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsVerticalShiftClampedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalSourceEndOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalSourceOffsetKindProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalSourceStartOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxVerticalShiftRatioProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalShiftProperty() const; + [[nodiscard]] auto ChildProperty() const; + [[nodiscard]] auto HorizontalSourceEndOffsetProperty() const; + [[nodiscard]] auto HorizontalSourceOffsetKindProperty() const; + [[nodiscard]] auto HorizontalSourceStartOffsetProperty() const; + [[nodiscard]] auto MaxHorizontalShiftRatioProperty() const; + [[nodiscard]] auto HorizontalShiftProperty() const; + [[nodiscard]] auto IsHorizontalShiftClampedProperty() const; + [[nodiscard]] auto IsVerticalShiftClampedProperty() const; + [[nodiscard]] auto SourceProperty() const; + [[nodiscard]] auto VerticalSourceEndOffsetProperty() const; + [[nodiscard]] auto VerticalSourceOffsetKindProperty() const; + [[nodiscard]] auto VerticalSourceStartOffsetProperty() const; + [[nodiscard]] auto MaxVerticalShiftRatioProperty() const; + [[nodiscard]] auto VerticalShiftProperty() const; }; template <> struct consume { @@ -21336,23 +21331,23 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPasswordBox { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Password() const; - WINRT_IMPL_AUTO(void) Password(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PasswordChar() const; - WINRT_IMPL_AUTO(void) PasswordChar(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPasswordRevealButtonEnabled() const; - WINRT_IMPL_AUTO(void) IsPasswordRevealButtonEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxLength() const; - WINRT_IMPL_AUTO(void) MaxLength(int32_t value) const; - WINRT_IMPL_AUTO(winrt::event_token) PasswordChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto Password() const; + auto Password(param::hstring const& value) const; + [[nodiscard]] auto PasswordChar() const; + auto PasswordChar(param::hstring const& value) const; + [[nodiscard]] auto IsPasswordRevealButtonEnabled() const; + auto IsPasswordRevealButtonEnabled(bool value) const; + [[nodiscard]] auto MaxLength() const; + auto MaxLength(int32_t value) const; + auto PasswordChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using PasswordChanged_revoker = impl::event_revoker::remove_PasswordChanged>; - [[nodiscard]] PasswordChanged_revoker PasswordChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PasswordChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; + [[nodiscard]] auto PasswordChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto PasswordChanged(winrt::event_token const& token) const noexcept; + auto ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; using ContextMenuOpening_revoker = impl::event_revoker::remove_ContextMenuOpening>; - [[nodiscard]] ContextMenuOpening_revoker ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContextMenuOpening(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SelectAll() const; + [[nodiscard]] auto ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; + auto ContextMenuOpening(winrt::event_token const& token) const noexcept; + auto SelectAll() const; }; template <> struct consume { @@ -21361,20 +21356,20 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPasswordBox2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; - WINRT_IMPL_AUTO(void) Header(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) HeaderTemplate() const; - WINRT_IMPL_AUTO(void) HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PlaceholderText() const; - WINRT_IMPL_AUTO(void) PlaceholderText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) SelectionHighlightColor() const; - WINRT_IMPL_AUTO(void) SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PreventKeyboardDisplayOnProgrammaticFocus() const; - WINRT_IMPL_AUTO(void) PreventKeyboardDisplayOnProgrammaticFocus(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) Paste(winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const; + [[nodiscard]] auto Header() const; + auto Header(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto HeaderTemplate() const; + auto HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto PlaceholderText() const; + auto PlaceholderText(param::hstring const& value) const; + [[nodiscard]] auto SelectionHighlightColor() const; + auto SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; + [[nodiscard]] auto PreventKeyboardDisplayOnProgrammaticFocus() const; + auto PreventKeyboardDisplayOnProgrammaticFocus(bool value) const; + auto Paste(winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const; using Paste_revoker = impl::event_revoker::remove_Paste>; - [[nodiscard]] Paste_revoker Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Paste(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const; + auto Paste(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -21383,12 +21378,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPasswordBox3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PasswordRevealMode) PasswordRevealMode() const; - WINRT_IMPL_AUTO(void) PasswordRevealMode(winrt::Windows::UI::Xaml::Controls::PasswordRevealMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextReadingOrder) TextReadingOrder() const; - WINRT_IMPL_AUTO(void) TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InputScope) InputScope() const; - WINRT_IMPL_AUTO(void) InputScope(winrt::Windows::UI::Xaml::Input::InputScope const& value) const; + [[nodiscard]] auto PasswordRevealMode() const; + auto PasswordRevealMode(winrt::Windows::UI::Xaml::Controls::PasswordRevealMode const& value) const; + [[nodiscard]] auto TextReadingOrder() const; + auto TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const; + [[nodiscard]] auto InputScope() const; + auto InputScope(winrt::Windows::UI::Xaml::Input::InputScope const& value) const; }; template <> struct consume { @@ -21397,10 +21392,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPasswordBox4 { - WINRT_IMPL_AUTO(winrt::event_token) PasswordChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PasswordChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PasswordChanging_revoker = impl::event_revoker::remove_PasswordChanging>; - [[nodiscard]] PasswordChanging_revoker PasswordChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PasswordChanging(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PasswordChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PasswordChanging(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -21409,12 +21404,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPasswordBox5 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanPasteClipboardContent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) SelectionFlyout() const; - WINRT_IMPL_AUTO(void) SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Description() const; - WINRT_IMPL_AUTO(void) Description(winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(void) PasteFromClipboard() const; + [[nodiscard]] auto CanPasteClipboardContent() const; + [[nodiscard]] auto SelectionFlyout() const; + auto SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; + [[nodiscard]] auto Description() const; + auto Description(winrt::Windows::Foundation::IInspectable const& value) const; + auto PasteFromClipboard() const; }; template <> struct consume { @@ -21423,7 +21418,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPasswordBoxPasswordChangingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsContentChanging() const; + [[nodiscard]] auto IsContentChanging() const; }; template <> struct consume { @@ -21432,10 +21427,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PasswordProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PasswordCharProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsPasswordRevealButtonEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxLengthProperty() const; + [[nodiscard]] auto PasswordProperty() const; + [[nodiscard]] auto PasswordCharProperty() const; + [[nodiscard]] auto IsPasswordRevealButtonEnabledProperty() const; + [[nodiscard]] auto MaxLengthProperty() const; }; template <> struct consume { @@ -21444,11 +21439,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlaceholderTextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionHighlightColorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PreventKeyboardDisplayOnProgrammaticFocusProperty() const; + [[nodiscard]] auto HeaderProperty() const; + [[nodiscard]] auto HeaderTemplateProperty() const; + [[nodiscard]] auto PlaceholderTextProperty() const; + [[nodiscard]] auto SelectionHighlightColorProperty() const; + [[nodiscard]] auto PreventKeyboardDisplayOnProgrammaticFocusProperty() const; }; template <> struct consume { @@ -21457,9 +21452,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PasswordRevealModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextReadingOrderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) InputScopeProperty() const; + [[nodiscard]] auto PasswordRevealModeProperty() const; + [[nodiscard]] auto TextReadingOrderProperty() const; + [[nodiscard]] auto InputScopeProperty() const; }; template <> struct consume { @@ -21468,9 +21463,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanPasteClipboardContentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionFlyoutProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DescriptionProperty() const; + [[nodiscard]] auto CanPasteClipboardContentProperty() const; + [[nodiscard]] auto SelectionFlyoutProperty() const; + [[nodiscard]] auto DescriptionProperty() const; }; template <> struct consume { @@ -21479,8 +21474,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPathIcon { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Geometry) Data() const; - WINRT_IMPL_AUTO(void) Data(winrt::Windows::UI::Xaml::Media::Geometry const& value) const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::UI::Xaml::Media::Geometry const& value) const; }; template <> struct consume { @@ -21489,7 +21484,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPathIconFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PathIcon) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -21498,8 +21493,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPathIconSource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Geometry) Data() const; - WINRT_IMPL_AUTO(void) Data(winrt::Windows::UI::Xaml::Media::Geometry const& value) const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::UI::Xaml::Media::Geometry const& value) const; }; template <> struct consume { @@ -21508,7 +21503,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPathIconSourceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PathIconSource) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -21517,7 +21512,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPathIconSourceStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DataProperty() const; + [[nodiscard]] auto DataProperty() const; }; template <> struct consume { @@ -21526,7 +21521,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPathIconStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DataProperty() const; + [[nodiscard]] auto DataProperty() const; }; template <> struct consume { @@ -21535,26 +21530,26 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPersonPicture { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) BadgeNumber() const; - WINRT_IMPL_AUTO(void) BadgeNumber(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BadgeGlyph() const; - WINRT_IMPL_AUTO(void) BadgeGlyph(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) BadgeImageSource() const; - WINRT_IMPL_AUTO(void) BadgeImageSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) BadgeText() const; - WINRT_IMPL_AUTO(void) BadgeText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGroup() const; - WINRT_IMPL_AUTO(void) IsGroup(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) Contact() const; - WINRT_IMPL_AUTO(void) Contact(winrt::Windows::ApplicationModel::Contacts::Contact const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Initials() const; - WINRT_IMPL_AUTO(void) Initials(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PreferSmallImage() const; - WINRT_IMPL_AUTO(void) PreferSmallImage(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) ProfilePicture() const; - WINRT_IMPL_AUTO(void) ProfilePicture(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; + [[nodiscard]] auto BadgeNumber() const; + auto BadgeNumber(int32_t value) const; + [[nodiscard]] auto BadgeGlyph() const; + auto BadgeGlyph(param::hstring const& value) const; + [[nodiscard]] auto BadgeImageSource() const; + auto BadgeImageSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; + [[nodiscard]] auto BadgeText() const; + auto BadgeText(param::hstring const& value) const; + [[nodiscard]] auto IsGroup() const; + auto IsGroup(bool value) const; + [[nodiscard]] auto Contact() const; + auto Contact(winrt::Windows::ApplicationModel::Contacts::Contact const& value) const; + [[nodiscard]] auto DisplayName() const; + auto DisplayName(param::hstring const& value) const; + [[nodiscard]] auto Initials() const; + auto Initials(param::hstring const& value) const; + [[nodiscard]] auto PreferSmallImage() const; + auto PreferSmallImage(bool value) const; + [[nodiscard]] auto ProfilePicture() const; + auto ProfilePicture(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; }; template <> struct consume { @@ -21563,7 +21558,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPersonPictureFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PersonPicture) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -21572,16 +21567,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPersonPictureStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BadgeNumberProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BadgeGlyphProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BadgeImageSourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BadgeTextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsGroupProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContactProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DisplayNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) InitialsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PreferSmallImageProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ProfilePictureProperty() const; + [[nodiscard]] auto BadgeNumberProperty() const; + [[nodiscard]] auto BadgeGlyphProperty() const; + [[nodiscard]] auto BadgeImageSourceProperty() const; + [[nodiscard]] auto BadgeTextProperty() const; + [[nodiscard]] auto IsGroupProperty() const; + [[nodiscard]] auto ContactProperty() const; + [[nodiscard]] auto DisplayNameProperty() const; + [[nodiscard]] auto InitialsProperty() const; + [[nodiscard]] auto PreferSmallImageProperty() const; + [[nodiscard]] auto ProfilePictureProperty() const; }; template <> struct consume { @@ -21598,15 +21593,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPickerFlyout { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Content() const; - WINRT_IMPL_AUTO(void) Content(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ConfirmationButtonsVisible() const; - WINRT_IMPL_AUTO(void) ConfirmationButtonsVisible(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) Confirmed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Content() const; + auto Content(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto ConfirmationButtonsVisible() const; + auto ConfirmationButtonsVisible(bool value) const; + auto Confirmed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Confirmed_revoker = impl::event_revoker::remove_Confirmed>; - [[nodiscard]] Confirmed_revoker Confirmed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Confirmed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const; + [[nodiscard]] auto Confirmed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Confirmed(winrt::event_token const& token) const noexcept; + auto ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const; }; template <> struct consume { @@ -21623,8 +21618,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPickerFlyoutStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ConfirmationButtonsVisibleProperty() const; + [[nodiscard]] auto ContentProperty() const; + [[nodiscard]] auto ConfirmationButtonsVisibleProperty() const; }; template <> struct consume { @@ -21633,38 +21628,38 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPivot { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Title() const; - WINRT_IMPL_AUTO(void) Title(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) TitleTemplate() const; - WINRT_IMPL_AUTO(void) TitleTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) HeaderTemplate() const; - WINRT_IMPL_AUTO(void) HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SelectedIndex() const; - WINRT_IMPL_AUTO(void) SelectedIndex(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SelectedItem() const; - WINRT_IMPL_AUTO(void) SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLocked() const; - WINRT_IMPL_AUTO(void) IsLocked(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const; + [[nodiscard]] auto Title() const; + auto Title(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto TitleTemplate() const; + auto TitleTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto HeaderTemplate() const; + auto HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto SelectedIndex() const; + auto SelectedIndex(int32_t value) const; + [[nodiscard]] auto SelectedItem() const; + auto SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto IsLocked() const; + auto IsLocked(bool value) const; + auto SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const; using SelectionChanged_revoker = impl::event_revoker::remove_SelectionChanged>; - [[nodiscard]] SelectionChanged_revoker SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SelectionChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PivotItemLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const; + auto SelectionChanged(winrt::event_token const& token) const noexcept; + auto PivotItemLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PivotItemLoading_revoker = impl::event_revoker::remove_PivotItemLoading>; - [[nodiscard]] PivotItemLoading_revoker PivotItemLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PivotItemLoading(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PivotItemLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PivotItemLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PivotItemLoading(winrt::event_token const& token) const noexcept; + auto PivotItemLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PivotItemLoaded_revoker = impl::event_revoker::remove_PivotItemLoaded>; - [[nodiscard]] PivotItemLoaded_revoker PivotItemLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PivotItemLoaded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PivotItemUnloading(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PivotItemLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PivotItemLoaded(winrt::event_token const& token) const noexcept; + auto PivotItemUnloading(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PivotItemUnloading_revoker = impl::event_revoker::remove_PivotItemUnloading>; - [[nodiscard]] PivotItemUnloading_revoker PivotItemUnloading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PivotItemUnloading(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PivotItemUnloaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PivotItemUnloading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PivotItemUnloading(winrt::event_token const& token) const noexcept; + auto PivotItemUnloaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PivotItemUnloaded_revoker = impl::event_revoker::remove_PivotItemUnloaded>; - [[nodiscard]] PivotItemUnloaded_revoker PivotItemUnloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PivotItemUnloaded(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PivotItemUnloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PivotItemUnloaded(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -21673,14 +21668,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPivot2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) LeftHeader() const; - WINRT_IMPL_AUTO(void) LeftHeader(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) LeftHeaderTemplate() const; - WINRT_IMPL_AUTO(void) LeftHeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) RightHeader() const; - WINRT_IMPL_AUTO(void) RightHeader(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) RightHeaderTemplate() const; - WINRT_IMPL_AUTO(void) RightHeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto LeftHeader() const; + auto LeftHeader(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto LeftHeaderTemplate() const; + auto LeftHeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto RightHeader() const; + auto RightHeader(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto RightHeaderTemplate() const; + auto RightHeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; }; template <> struct consume { @@ -21689,10 +21684,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPivot3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PivotHeaderFocusVisualPlacement) HeaderFocusVisualPlacement() const; - WINRT_IMPL_AUTO(void) HeaderFocusVisualPlacement(winrt::Windows::UI::Xaml::Controls::PivotHeaderFocusVisualPlacement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHeaderItemsCarouselEnabled() const; - WINRT_IMPL_AUTO(void) IsHeaderItemsCarouselEnabled(bool value) const; + [[nodiscard]] auto HeaderFocusVisualPlacement() const; + auto HeaderFocusVisualPlacement(winrt::Windows::UI::Xaml::Controls::PivotHeaderFocusVisualPlacement const& value) const; + [[nodiscard]] auto IsHeaderItemsCarouselEnabled() const; + auto IsHeaderItemsCarouselEnabled(bool value) const; }; template <> struct consume { @@ -21701,7 +21696,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPivotFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Pivot) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -21710,8 +21705,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPivotItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; - WINRT_IMPL_AUTO(void) Header(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto Header() const; + auto Header(winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -21720,8 +21715,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPivotItemEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PivotItem) Item() const; - WINRT_IMPL_AUTO(void) Item(winrt::Windows::UI::Xaml::Controls::PivotItem const& value) const; + [[nodiscard]] auto Item() const; + auto Item(winrt::Windows::UI::Xaml::Controls::PivotItem const& value) const; }; template <> struct consume { @@ -21730,7 +21725,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPivotItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PivotItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -21739,7 +21734,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPivotItemStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderProperty() const; + [[nodiscard]] auto HeaderProperty() const; }; template <> struct consume { @@ -21748,15 +21743,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPivotStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TitleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TitleTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedIndexProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedItemProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsLockedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SlideInAnimationGroupProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PivotSlideInAnimationGroup) GetSlideInAnimationGroup(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; - WINRT_IMPL_AUTO(void) SetSlideInAnimationGroup(winrt::Windows::UI::Xaml::FrameworkElement const& element, winrt::Windows::UI::Xaml::Controls::PivotSlideInAnimationGroup const& value) const; + [[nodiscard]] auto TitleProperty() const; + [[nodiscard]] auto TitleTemplateProperty() const; + [[nodiscard]] auto HeaderTemplateProperty() const; + [[nodiscard]] auto SelectedIndexProperty() const; + [[nodiscard]] auto SelectedItemProperty() const; + [[nodiscard]] auto IsLockedProperty() const; + [[nodiscard]] auto SlideInAnimationGroupProperty() const; + auto GetSlideInAnimationGroup(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; + auto SetSlideInAnimationGroup(winrt::Windows::UI::Xaml::FrameworkElement const& element, winrt::Windows::UI::Xaml::Controls::PivotSlideInAnimationGroup const& value) const; }; template <> struct consume { @@ -21765,10 +21760,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPivotStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LeftHeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LeftHeaderTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RightHeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RightHeaderTemplateProperty() const; + [[nodiscard]] auto LeftHeaderProperty() const; + [[nodiscard]] auto LeftHeaderTemplateProperty() const; + [[nodiscard]] auto RightHeaderProperty() const; + [[nodiscard]] auto RightHeaderTemplateProperty() const; }; template <> struct consume { @@ -21777,8 +21772,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IPivotStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderFocusVisualPlacementProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsHeaderItemsCarouselEnabledProperty() const; + [[nodiscard]] auto HeaderFocusVisualPlacementProperty() const; + [[nodiscard]] auto IsHeaderItemsCarouselEnabledProperty() const; }; template <> struct consume { @@ -21787,13 +21782,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IProgressBar { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsIndeterminate() const; - WINRT_IMPL_AUTO(void) IsIndeterminate(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShowError() const; - WINRT_IMPL_AUTO(void) ShowError(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShowPaused() const; - WINRT_IMPL_AUTO(void) ShowPaused(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ProgressBarTemplateSettings) TemplateSettings() const; + [[nodiscard]] auto IsIndeterminate() const; + auto IsIndeterminate(bool value) const; + [[nodiscard]] auto ShowError() const; + auto ShowError(bool value) const; + [[nodiscard]] auto ShowPaused() const; + auto ShowPaused(bool value) const; + [[nodiscard]] auto TemplateSettings() const; }; template <> struct consume { @@ -21802,7 +21797,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IProgressBarFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ProgressBar) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -21811,9 +21806,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IProgressBarStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsIndeterminateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ShowErrorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ShowPausedProperty() const; + [[nodiscard]] auto IsIndeterminateProperty() const; + [[nodiscard]] auto ShowErrorProperty() const; + [[nodiscard]] auto ShowPausedProperty() const; }; template <> struct consume { @@ -21822,9 +21817,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IProgressRing { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsActive() const; - WINRT_IMPL_AUTO(void) IsActive(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ProgressRingTemplateSettings) TemplateSettings() const; + [[nodiscard]] auto IsActive() const; + auto IsActive(bool value) const; + [[nodiscard]] auto TemplateSettings() const; }; template <> struct consume { @@ -21833,7 +21828,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IProgressRingStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsActiveProperty() const; + [[nodiscard]] auto IsActiveProperty() const; }; template <> struct consume { @@ -21842,8 +21837,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRadioButton { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GroupName() const; - WINRT_IMPL_AUTO(void) GroupName(param::hstring const& value) const; + [[nodiscard]] auto GroupName() const; + auto GroupName(param::hstring const& value) const; }; template <> struct consume { @@ -21852,7 +21847,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRadioButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RadioButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -21861,7 +21856,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRadioButtonStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GroupNameProperty() const; + [[nodiscard]] auto GroupNameProperty() const; }; template <> struct consume { @@ -21870,26 +21865,26 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRatingControl { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Caption() const; - WINRT_IMPL_AUTO(void) Caption(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) InitialSetValue() const; - WINRT_IMPL_AUTO(void) InitialSetValue(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsClearEnabled() const; - WINRT_IMPL_AUTO(void) IsClearEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadOnly() const; - WINRT_IMPL_AUTO(void) IsReadOnly(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxRating() const; - WINRT_IMPL_AUTO(void) MaxRating(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) PlaceholderValue() const; - WINRT_IMPL_AUTO(void) PlaceholderValue(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RatingItemInfo) ItemInfo() const; - WINRT_IMPL_AUTO(void) ItemInfo(winrt::Windows::UI::Xaml::Controls::RatingItemInfo const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Value() const; - WINRT_IMPL_AUTO(void) Value(double value) const; - WINRT_IMPL_AUTO(winrt::event_token) ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Caption() const; + auto Caption(param::hstring const& value) const; + [[nodiscard]] auto InitialSetValue() const; + auto InitialSetValue(int32_t value) const; + [[nodiscard]] auto IsClearEnabled() const; + auto IsClearEnabled(bool value) const; + [[nodiscard]] auto IsReadOnly() const; + auto IsReadOnly(bool value) const; + [[nodiscard]] auto MaxRating() const; + auto MaxRating(int32_t value) const; + [[nodiscard]] auto PlaceholderValue() const; + auto PlaceholderValue(double value) const; + [[nodiscard]] auto ItemInfo() const; + auto ItemInfo(winrt::Windows::UI::Xaml::Controls::RatingItemInfo const& value) const; + [[nodiscard]] auto Value() const; + auto Value(double value) const; + auto ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ValueChanged_revoker = impl::event_revoker::remove_ValueChanged>; - [[nodiscard]] ValueChanged_revoker ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ValueChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ValueChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -21898,7 +21893,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRatingControlFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RatingControl) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -21907,14 +21902,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRatingControlStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CaptionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) InitialSetValueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsClearEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsReadOnlyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxRatingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlaceholderValueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemInfoProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ValueProperty() const; + [[nodiscard]] auto CaptionProperty() const; + [[nodiscard]] auto InitialSetValueProperty() const; + [[nodiscard]] auto IsClearEnabledProperty() const; + [[nodiscard]] auto IsReadOnlyProperty() const; + [[nodiscard]] auto MaxRatingProperty() const; + [[nodiscard]] auto PlaceholderValueProperty() const; + [[nodiscard]] auto ItemInfoProperty() const; + [[nodiscard]] auto ValueProperty() const; }; template <> struct consume { @@ -21923,18 +21918,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisabledGlyph() const; - WINRT_IMPL_AUTO(void) DisabledGlyph(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Glyph() const; - WINRT_IMPL_AUTO(void) Glyph(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PointerOverGlyph() const; - WINRT_IMPL_AUTO(void) PointerOverGlyph(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PointerOverPlaceholderGlyph() const; - WINRT_IMPL_AUTO(void) PointerOverPlaceholderGlyph(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PlaceholderGlyph() const; - WINRT_IMPL_AUTO(void) PlaceholderGlyph(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UnsetGlyph() const; - WINRT_IMPL_AUTO(void) UnsetGlyph(param::hstring const& value) const; + [[nodiscard]] auto DisabledGlyph() const; + auto DisabledGlyph(param::hstring const& value) const; + [[nodiscard]] auto Glyph() const; + auto Glyph(param::hstring const& value) const; + [[nodiscard]] auto PointerOverGlyph() const; + auto PointerOverGlyph(param::hstring const& value) const; + [[nodiscard]] auto PointerOverPlaceholderGlyph() const; + auto PointerOverPlaceholderGlyph(param::hstring const& value) const; + [[nodiscard]] auto PlaceholderGlyph() const; + auto PlaceholderGlyph(param::hstring const& value) const; + [[nodiscard]] auto UnsetGlyph() const; + auto UnsetGlyph(param::hstring const& value) const; }; template <> struct consume { @@ -21943,7 +21938,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RatingItemFontInfo) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -21952,12 +21947,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DisabledGlyphProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GlyphProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlaceholderGlyphProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointerOverGlyphProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointerOverPlaceholderGlyphProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) UnsetGlyphProperty() const; + [[nodiscard]] auto DisabledGlyphProperty() const; + [[nodiscard]] auto GlyphProperty() const; + [[nodiscard]] auto PlaceholderGlyphProperty() const; + [[nodiscard]] auto PointerOverGlyphProperty() const; + [[nodiscard]] auto PointerOverPlaceholderGlyphProperty() const; + [[nodiscard]] auto UnsetGlyphProperty() const; }; template <> struct consume { @@ -21966,18 +21961,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) DisabledImage() const; - WINRT_IMPL_AUTO(void) DisabledImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) Image() const; - WINRT_IMPL_AUTO(void) Image(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) PlaceholderImage() const; - WINRT_IMPL_AUTO(void) PlaceholderImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) PointerOverImage() const; - WINRT_IMPL_AUTO(void) PointerOverImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) PointerOverPlaceholderImage() const; - WINRT_IMPL_AUTO(void) PointerOverPlaceholderImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) UnsetImage() const; - WINRT_IMPL_AUTO(void) UnsetImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; + [[nodiscard]] auto DisabledImage() const; + auto DisabledImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; + [[nodiscard]] auto Image() const; + auto Image(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; + [[nodiscard]] auto PlaceholderImage() const; + auto PlaceholderImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; + [[nodiscard]] auto PointerOverImage() const; + auto PointerOverImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; + [[nodiscard]] auto PointerOverPlaceholderImage() const; + auto PointerOverPlaceholderImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; + [[nodiscard]] auto UnsetImage() const; + auto UnsetImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; }; template <> struct consume { @@ -21986,7 +21981,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RatingItemImageInfo) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -21995,12 +21990,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DisabledImageProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ImageProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlaceholderImageProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointerOverImageProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointerOverPlaceholderImageProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) UnsetImageProperty() const; + [[nodiscard]] auto DisabledImageProperty() const; + [[nodiscard]] auto ImageProperty() const; + [[nodiscard]] auto PlaceholderImageProperty() const; + [[nodiscard]] auto PointerOverImageProperty() const; + [[nodiscard]] auto PointerOverPlaceholderImageProperty() const; + [[nodiscard]] auto UnsetImageProperty() const; }; template <> struct consume { @@ -22017,7 +22012,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRatingItemInfoFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RatingItemInfo) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -22026,15 +22021,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRefreshContainer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizer) Visualizer() const; - WINRT_IMPL_AUTO(void) Visualizer(winrt::Windows::UI::Xaml::Controls::RefreshVisualizer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshPullDirection) PullDirection() const; - WINRT_IMPL_AUTO(void) PullDirection(winrt::Windows::UI::Xaml::Controls::RefreshPullDirection const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) RefreshRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Visualizer() const; + auto Visualizer(winrt::Windows::UI::Xaml::Controls::RefreshVisualizer const& value) const; + [[nodiscard]] auto PullDirection() const; + auto PullDirection(winrt::Windows::UI::Xaml::Controls::RefreshPullDirection const& value) const; + auto RefreshRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RefreshRequested_revoker = impl::event_revoker::remove_RefreshRequested>; - [[nodiscard]] RefreshRequested_revoker RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RefreshRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) RequestRefresh() const; + [[nodiscard]] auto RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RefreshRequested(winrt::event_token const& token) const noexcept; + auto RequestRefresh() const; }; template <> struct consume { @@ -22043,7 +22038,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRefreshContainerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshContainer) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -22052,8 +22047,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRefreshContainerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VisualizerProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PullDirectionProperty() const; + [[nodiscard]] auto VisualizerProperty() const; + [[nodiscard]] auto PullDirectionProperty() const; }; template <> struct consume { @@ -22062,7 +22057,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRefreshInteractionRatioChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(double) InteractionRatio() const; + [[nodiscard]] auto InteractionRatio() const; }; template <> struct consume { @@ -22071,7 +22066,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRefreshRequestedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + auto GetDeferral() const; }; template <> struct consume { @@ -22080,8 +22075,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRefreshStateChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerState) OldState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerState) NewState() const; + [[nodiscard]] auto OldState() const; + [[nodiscard]] auto NewState() const; }; template <> struct consume { @@ -22090,20 +22085,20 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRefreshVisualizer { - WINRT_IMPL_AUTO(void) RequestRefresh() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerOrientation) Orientation() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerOrientation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Content() const; - WINRT_IMPL_AUTO(void) Content(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerState) State() const; - WINRT_IMPL_AUTO(winrt::event_token) RefreshRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RequestRefresh() const; + [[nodiscard]] auto Orientation() const; + auto Orientation(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerOrientation const& value) const; + [[nodiscard]] auto Content() const; + auto Content(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto State() const; + auto RefreshRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RefreshRequested_revoker = impl::event_revoker::remove_RefreshRequested>; - [[nodiscard]] RefreshRequested_revoker RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RefreshRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RefreshStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RefreshRequested(winrt::event_token const& token) const noexcept; + auto RefreshStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RefreshStateChanged_revoker = impl::event_revoker::remove_RefreshStateChanged>; - [[nodiscard]] RefreshStateChanged_revoker RefreshStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RefreshStateChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RefreshStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RefreshStateChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -22112,7 +22107,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRefreshVisualizerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizer) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -22121,10 +22116,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) InfoProviderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OrientationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StateProperty() const; + [[nodiscard]] auto InfoProviderProperty() const; + [[nodiscard]] auto OrientationProperty() const; + [[nodiscard]] auto ContentProperty() const; + [[nodiscard]] auto StateProperty() const; }; template <> struct consume { @@ -22133,14 +22128,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRelativePanel { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) BorderBrush() const; - WINRT_IMPL_AUTO(void) BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) BorderThickness() const; - WINRT_IMPL_AUTO(void) BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) CornerRadius() const; - WINRT_IMPL_AUTO(void) CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) Padding() const; - WINRT_IMPL_AUTO(void) Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto BorderBrush() const; + auto BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto BorderThickness() const; + auto BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto CornerRadius() const; + auto CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const; + [[nodiscard]] auto Padding() const; + auto Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; }; template <> struct consume { @@ -22149,8 +22144,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRelativePanel2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) BackgroundSizing() const; - WINRT_IMPL_AUTO(void) BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const; + [[nodiscard]] auto BackgroundSizing() const; + auto BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const; }; template <> struct consume { @@ -22159,7 +22154,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRelativePanelFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RelativePanel) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -22168,58 +22163,58 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRelativePanelStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LeftOfProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetLeftOf(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetLeftOf(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AboveProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetAbove(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetAbove(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RightOfProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetRightOf(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetRightOf(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BelowProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetBelow(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetBelow(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlignHorizontalCenterWithProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetAlignHorizontalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetAlignHorizontalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlignVerticalCenterWithProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetAlignVerticalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetAlignVerticalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlignLeftWithProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetAlignLeftWith(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetAlignLeftWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlignTopWithProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetAlignTopWith(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetAlignTopWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlignRightWithProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetAlignRightWith(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetAlignRightWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlignBottomWithProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetAlignBottomWith(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetAlignBottomWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlignLeftWithPanelProperty() const; - WINRT_IMPL_AUTO(bool) GetAlignLeftWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetAlignLeftWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlignTopWithPanelProperty() const; - WINRT_IMPL_AUTO(bool) GetAlignTopWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetAlignTopWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlignRightWithPanelProperty() const; - WINRT_IMPL_AUTO(bool) GetAlignRightWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetAlignRightWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlignBottomWithPanelProperty() const; - WINRT_IMPL_AUTO(bool) GetAlignBottomWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetAlignBottomWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlignHorizontalCenterWithPanelProperty() const; - WINRT_IMPL_AUTO(bool) GetAlignHorizontalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetAlignHorizontalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlignVerticalCenterWithPanelProperty() const; - WINRT_IMPL_AUTO(bool) GetAlignVerticalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetAlignVerticalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BorderThicknessProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CornerRadiusProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaddingProperty() const; + [[nodiscard]] auto LeftOfProperty() const; + auto GetLeftOf(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetLeftOf(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto AboveProperty() const; + auto GetAbove(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetAbove(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto RightOfProperty() const; + auto GetRightOf(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetRightOf(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto BelowProperty() const; + auto GetBelow(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetBelow(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto AlignHorizontalCenterWithProperty() const; + auto GetAlignHorizontalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetAlignHorizontalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto AlignVerticalCenterWithProperty() const; + auto GetAlignVerticalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetAlignVerticalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto AlignLeftWithProperty() const; + auto GetAlignLeftWith(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetAlignLeftWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto AlignTopWithProperty() const; + auto GetAlignTopWith(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetAlignTopWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto AlignRightWithProperty() const; + auto GetAlignRightWith(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetAlignRightWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto AlignBottomWithProperty() const; + auto GetAlignBottomWith(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetAlignBottomWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto AlignLeftWithPanelProperty() const; + auto GetAlignLeftWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetAlignLeftWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; + [[nodiscard]] auto AlignTopWithPanelProperty() const; + auto GetAlignTopWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetAlignTopWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; + [[nodiscard]] auto AlignRightWithPanelProperty() const; + auto GetAlignRightWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetAlignRightWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; + [[nodiscard]] auto AlignBottomWithPanelProperty() const; + auto GetAlignBottomWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetAlignBottomWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; + [[nodiscard]] auto AlignHorizontalCenterWithPanelProperty() const; + auto GetAlignHorizontalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetAlignHorizontalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; + [[nodiscard]] auto AlignVerticalCenterWithPanelProperty() const; + auto GetAlignVerticalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetAlignVerticalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; + [[nodiscard]] auto BorderBrushProperty() const; + [[nodiscard]] auto BorderThicknessProperty() const; + [[nodiscard]] auto CornerRadiusProperty() const; + [[nodiscard]] auto PaddingProperty() const; }; template <> struct consume { @@ -22228,7 +22223,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRelativePanelStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackgroundSizingProperty() const; + [[nodiscard]] auto BackgroundSizingProperty() const; }; template <> struct consume { @@ -22237,33 +22232,33 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBox { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadOnly() const; - WINRT_IMPL_AUTO(void) IsReadOnly(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AcceptsReturn() const; - WINRT_IMPL_AUTO(void) AcceptsReturn(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) TextAlignment() const; - WINRT_IMPL_AUTO(void) TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextWrapping) TextWrapping() const; - WINRT_IMPL_AUTO(void) TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSpellCheckEnabled() const; - WINRT_IMPL_AUTO(void) IsSpellCheckEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextPredictionEnabled() const; - WINRT_IMPL_AUTO(void) IsTextPredictionEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextDocument) Document() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InputScope) InputScope() const; - WINRT_IMPL_AUTO(void) InputScope(winrt::Windows::UI::Xaml::Input::InputScope const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) TextChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto IsReadOnly() const; + auto IsReadOnly(bool value) const; + [[nodiscard]] auto AcceptsReturn() const; + auto AcceptsReturn(bool value) const; + [[nodiscard]] auto TextAlignment() const; + auto TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; + [[nodiscard]] auto TextWrapping() const; + auto TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const; + [[nodiscard]] auto IsSpellCheckEnabled() const; + auto IsSpellCheckEnabled(bool value) const; + [[nodiscard]] auto IsTextPredictionEnabled() const; + auto IsTextPredictionEnabled(bool value) const; + [[nodiscard]] auto Document() const; + [[nodiscard]] auto InputScope() const; + auto InputScope(winrt::Windows::UI::Xaml::Input::InputScope const& value) const; + auto TextChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using TextChanged_revoker = impl::event_revoker::remove_TextChanged>; - [[nodiscard]] TextChanged_revoker TextChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TextChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto TextChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto TextChanged(winrt::event_token const& token) const noexcept; + auto SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using SelectionChanged_revoker = impl::event_revoker::remove_SelectionChanged>; - [[nodiscard]] SelectionChanged_revoker SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SelectionChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; + [[nodiscard]] auto SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto SelectionChanged(winrt::event_token const& token) const noexcept; + auto ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; using ContextMenuOpening_revoker = impl::event_revoker::remove_ContextMenuOpening>; - [[nodiscard]] ContextMenuOpening_revoker ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContextMenuOpening(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; + auto ContextMenuOpening(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -22272,22 +22267,22 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBox2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; - WINRT_IMPL_AUTO(void) Header(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) HeaderTemplate() const; - WINRT_IMPL_AUTO(void) HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PlaceholderText() const; - WINRT_IMPL_AUTO(void) PlaceholderText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) SelectionHighlightColor() const; - WINRT_IMPL_AUTO(void) SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PreventKeyboardDisplayOnProgrammaticFocus() const; - WINRT_IMPL_AUTO(void) PreventKeyboardDisplayOnProgrammaticFocus(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsColorFontEnabled() const; - WINRT_IMPL_AUTO(void) IsColorFontEnabled(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) Paste(winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const; + [[nodiscard]] auto Header() const; + auto Header(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto HeaderTemplate() const; + auto HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto PlaceholderText() const; + auto PlaceholderText(param::hstring const& value) const; + [[nodiscard]] auto SelectionHighlightColor() const; + auto SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; + [[nodiscard]] auto PreventKeyboardDisplayOnProgrammaticFocus() const; + auto PreventKeyboardDisplayOnProgrammaticFocus(bool value) const; + [[nodiscard]] auto IsColorFontEnabled() const; + auto IsColorFontEnabled(bool value) const; + auto Paste(winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const; using Paste_revoker = impl::event_revoker::remove_Paste>; - [[nodiscard]] Paste_revoker Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Paste(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const; + auto Paste(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -22296,30 +22291,30 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBox3 { - WINRT_IMPL_AUTO(winrt::event_token) TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TextCompositionStarted_revoker = impl::event_revoker::remove_TextCompositionStarted>; - [[nodiscard]] TextCompositionStarted_revoker TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TextCompositionStarted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TextCompositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextCompositionStarted(winrt::event_token const& token) const noexcept; + auto TextCompositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TextCompositionChanged_revoker = impl::event_revoker::remove_TextCompositionChanged>; - [[nodiscard]] TextCompositionChanged_revoker TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TextCompositionChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TextCompositionEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextCompositionChanged(winrt::event_token const& token) const noexcept; + auto TextCompositionEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TextCompositionEnded_revoker = impl::event_revoker::remove_TextCompositionEnded>; - [[nodiscard]] TextCompositionEnded_revoker TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TextCompositionEnded(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextReadingOrder) TextReadingOrder() const; - WINRT_IMPL_AUTO(void) TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment) DesiredCandidateWindowAlignment() const; - WINRT_IMPL_AUTO(void) DesiredCandidateWindowAlignment(winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) CandidateWindowBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextCompositionEnded(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TextReadingOrder() const; + auto TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const; + [[nodiscard]] auto DesiredCandidateWindowAlignment() const; + auto DesiredCandidateWindowAlignment(winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment const& value) const; + auto CandidateWindowBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CandidateWindowBoundsChanged_revoker = impl::event_revoker::remove_CandidateWindowBoundsChanged>; - [[nodiscard]] CandidateWindowBoundsChanged_revoker CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CandidateWindowBoundsChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TextChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CandidateWindowBoundsChanged(winrt::event_token const& token) const noexcept; + auto TextChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TextChanging_revoker = impl::event_revoker::remove_TextChanging>; - [[nodiscard]] TextChanging_revoker TextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TextChanging(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextChanging(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -22328,9 +22323,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBox4 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetLinguisticAlternativesAsync() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RichEditClipboardFormat) ClipboardCopyFormat() const; - WINRT_IMPL_AUTO(void) ClipboardCopyFormat(winrt::Windows::UI::Xaml::Controls::RichEditClipboardFormat const& value) const; + auto GetLinguisticAlternativesAsync() const; + [[nodiscard]] auto ClipboardCopyFormat() const; + auto ClipboardCopyFormat(winrt::Windows::UI::Xaml::Controls::RichEditClipboardFormat const& value) const; }; template <> struct consume { @@ -22339,10 +22334,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBox5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) SelectionHighlightColorWhenNotFocused() const; - WINRT_IMPL_AUTO(void) SelectionHighlightColorWhenNotFocused(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxLength() const; - WINRT_IMPL_AUTO(void) MaxLength(int32_t value) const; + [[nodiscard]] auto SelectionHighlightColorWhenNotFocused() const; + auto SelectionHighlightColorWhenNotFocused(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; + [[nodiscard]] auto MaxLength() const; + auto MaxLength(int32_t value) const; }; template <> struct consume { @@ -22351,20 +22346,20 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBox6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) HorizontalTextAlignment() const; - WINRT_IMPL_AUTO(void) HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CharacterCasing) CharacterCasing() const; - WINRT_IMPL_AUTO(void) CharacterCasing(winrt::Windows::UI::Xaml::Controls::CharacterCasing const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DisabledFormattingAccelerators) DisabledFormattingAccelerators() const; - WINRT_IMPL_AUTO(void) DisabledFormattingAccelerators(winrt::Windows::UI::Xaml::Controls::DisabledFormattingAccelerators const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) CopyingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto HorizontalTextAlignment() const; + auto HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; + [[nodiscard]] auto CharacterCasing() const; + auto CharacterCasing(winrt::Windows::UI::Xaml::Controls::CharacterCasing const& value) const; + [[nodiscard]] auto DisabledFormattingAccelerators() const; + auto DisabledFormattingAccelerators(winrt::Windows::UI::Xaml::Controls::DisabledFormattingAccelerators const& value) const; + auto CopyingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CopyingToClipboard_revoker = impl::event_revoker::remove_CopyingToClipboard>; - [[nodiscard]] CopyingToClipboard_revoker CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CopyingToClipboard(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CuttingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CopyingToClipboard(winrt::event_token const& token) const noexcept; + auto CuttingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CuttingToClipboard_revoker = impl::event_revoker::remove_CuttingToClipboard>; - [[nodiscard]] CuttingToClipboard_revoker CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CuttingToClipboard(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CuttingToClipboard(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -22373,24 +22368,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBox7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) ContentLinkForegroundColor() const; - WINRT_IMPL_AUTO(void) ContentLinkForegroundColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) ContentLinkBackgroundColor() const; - WINRT_IMPL_AUTO(void) ContentLinkBackgroundColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::ContentLinkProviderCollection) ContentLinkProviders() const; - WINRT_IMPL_AUTO(void) ContentLinkProviders(winrt::Windows::UI::Xaml::Documents::ContentLinkProviderCollection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HandwritingView) HandwritingView() const; - WINRT_IMPL_AUTO(void) HandwritingView(winrt::Windows::UI::Xaml::Controls::HandwritingView const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHandwritingViewEnabled() const; - WINRT_IMPL_AUTO(void) IsHandwritingViewEnabled(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) ContentLinkChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ContentLinkForegroundColor() const; + auto ContentLinkForegroundColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; + [[nodiscard]] auto ContentLinkBackgroundColor() const; + auto ContentLinkBackgroundColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; + [[nodiscard]] auto ContentLinkProviders() const; + auto ContentLinkProviders(winrt::Windows::UI::Xaml::Documents::ContentLinkProviderCollection const& value) const; + [[nodiscard]] auto HandwritingView() const; + auto HandwritingView(winrt::Windows::UI::Xaml::Controls::HandwritingView const& value) const; + [[nodiscard]] auto IsHandwritingViewEnabled() const; + auto IsHandwritingViewEnabled(bool value) const; + auto ContentLinkChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ContentLinkChanged_revoker = impl::event_revoker::remove_ContentLinkChanged>; - [[nodiscard]] ContentLinkChanged_revoker ContentLinkChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContentLinkChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ContentLinkInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ContentLinkChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ContentLinkChanged(winrt::event_token const& token) const noexcept; + auto ContentLinkInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ContentLinkInvoked_revoker = impl::event_revoker::remove_ContentLinkInvoked>; - [[nodiscard]] ContentLinkInvoked_revoker ContentLinkInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContentLinkInvoked(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ContentLinkInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ContentLinkInvoked(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -22399,16 +22394,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBox8 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::RichEditTextDocument) TextDocument() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) SelectionFlyout() const; - WINRT_IMPL_AUTO(void) SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) ProofingMenuFlyout() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Description() const; - WINRT_IMPL_AUTO(void) Description(winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) SelectionChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TextDocument() const; + [[nodiscard]] auto SelectionFlyout() const; + auto SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; + [[nodiscard]] auto ProofingMenuFlyout() const; + [[nodiscard]] auto Description() const; + auto Description(winrt::Windows::Foundation::IInspectable const& value) const; + auto SelectionChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SelectionChanging_revoker = impl::event_revoker::remove_SelectionChanging>; - [[nodiscard]] SelectionChanging_revoker SelectionChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SelectionChanging(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SelectionChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SelectionChanging(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -22417,7 +22412,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBoxFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RichEditBox) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -22426,10 +22421,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SelectionStart() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SelectionLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; + [[nodiscard]] auto SelectionStart() const; + [[nodiscard]] auto SelectionLength() const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; }; template <> struct consume { @@ -22438,13 +22433,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsReadOnlyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AcceptsReturnProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextWrappingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSpellCheckEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTextPredictionEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) InputScopeProperty() const; + [[nodiscard]] auto IsReadOnlyProperty() const; + [[nodiscard]] auto AcceptsReturnProperty() const; + [[nodiscard]] auto TextAlignmentProperty() const; + [[nodiscard]] auto TextWrappingProperty() const; + [[nodiscard]] auto IsSpellCheckEnabledProperty() const; + [[nodiscard]] auto IsTextPredictionEnabledProperty() const; + [[nodiscard]] auto InputScopeProperty() const; }; template <> struct consume { @@ -22453,12 +22448,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlaceholderTextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionHighlightColorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PreventKeyboardDisplayOnProgrammaticFocusProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsColorFontEnabledProperty() const; + [[nodiscard]] auto HeaderProperty() const; + [[nodiscard]] auto HeaderTemplateProperty() const; + [[nodiscard]] auto PlaceholderTextProperty() const; + [[nodiscard]] auto SelectionHighlightColorProperty() const; + [[nodiscard]] auto PreventKeyboardDisplayOnProgrammaticFocusProperty() const; + [[nodiscard]] auto IsColorFontEnabledProperty() const; }; template <> struct consume { @@ -22467,8 +22462,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DesiredCandidateWindowAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextReadingOrderProperty() const; + [[nodiscard]] auto DesiredCandidateWindowAlignmentProperty() const; + [[nodiscard]] auto TextReadingOrderProperty() const; }; template <> struct consume { @@ -22477,7 +22472,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ClipboardCopyFormatProperty() const; + [[nodiscard]] auto ClipboardCopyFormatProperty() const; }; template <> struct consume { @@ -22486,8 +22481,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionHighlightColorWhenNotFocusedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxLengthProperty() const; + [[nodiscard]] auto SelectionHighlightColorWhenNotFocusedProperty() const; + [[nodiscard]] auto MaxLengthProperty() const; }; template <> struct consume { @@ -22496,9 +22491,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalTextAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CharacterCasingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DisabledFormattingAcceleratorsProperty() const; + [[nodiscard]] auto HorizontalTextAlignmentProperty() const; + [[nodiscard]] auto CharacterCasingProperty() const; + [[nodiscard]] auto DisabledFormattingAcceleratorsProperty() const; }; template <> struct consume { @@ -22507,11 +22502,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentLinkForegroundColorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentLinkBackgroundColorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentLinkProvidersProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HandwritingViewProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsHandwritingViewEnabledProperty() const; + [[nodiscard]] auto ContentLinkForegroundColorProperty() const; + [[nodiscard]] auto ContentLinkBackgroundColorProperty() const; + [[nodiscard]] auto ContentLinkProvidersProperty() const; + [[nodiscard]] auto HandwritingViewProperty() const; + [[nodiscard]] auto IsHandwritingViewEnabledProperty() const; }; template <> struct consume { @@ -22520,9 +22515,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics8 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionFlyoutProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ProofingMenuFlyoutProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DescriptionProperty() const; + [[nodiscard]] auto SelectionFlyoutProperty() const; + [[nodiscard]] auto ProofingMenuFlyoutProperty() const; + [[nodiscard]] auto DescriptionProperty() const; }; template <> struct consume { @@ -22539,7 +22534,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichEditBoxTextChangingEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsContentChanging() const; + [[nodiscard]] auto IsContentChanging() const; }; template <> struct consume { @@ -22548,58 +22543,58 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlock { - [[nodiscard]] WINRT_IMPL_AUTO(double) FontSize() const; - WINRT_IMPL_AUTO(void) FontSize(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) FontFamily() const; - WINRT_IMPL_AUTO(void) FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) FontWeight() const; - WINRT_IMPL_AUTO(void) FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) FontStyle() const; - WINRT_IMPL_AUTO(void) FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) FontStretch() const; - WINRT_IMPL_AUTO(void) FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Foreground() const; - WINRT_IMPL_AUTO(void) Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextWrapping) TextWrapping() const; - WINRT_IMPL_AUTO(void) TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextTrimming) TextTrimming() const; - WINRT_IMPL_AUTO(void) TextTrimming(winrt::Windows::UI::Xaml::TextTrimming const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) TextAlignment() const; - WINRT_IMPL_AUTO(void) TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::BlockCollection) Blocks() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) Padding() const; - WINRT_IMPL_AUTO(void) Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) LineHeight() const; - WINRT_IMPL_AUTO(void) LineHeight(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::LineStackingStrategy) LineStackingStrategy() const; - WINRT_IMPL_AUTO(void) LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CharacterSpacing() const; - WINRT_IMPL_AUTO(void) CharacterSpacing(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow) OverflowContentTarget() const; - WINRT_IMPL_AUTO(void) OverflowContentTarget(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextSelectionEnabled() const; - WINRT_IMPL_AUTO(void) IsTextSelectionEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasOverflowContent() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SelectedText() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) ContentStart() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) ContentEnd() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) SelectionStart() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) SelectionEnd() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) BaselineOffset() const; - WINRT_IMPL_AUTO(winrt::event_token) SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto FontSize() const; + auto FontSize(double value) const; + [[nodiscard]] auto FontFamily() const; + auto FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; + [[nodiscard]] auto FontWeight() const; + auto FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; + [[nodiscard]] auto FontStyle() const; + auto FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; + [[nodiscard]] auto FontStretch() const; + auto FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const; + [[nodiscard]] auto Foreground() const; + auto Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto TextWrapping() const; + auto TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const; + [[nodiscard]] auto TextTrimming() const; + auto TextTrimming(winrt::Windows::UI::Xaml::TextTrimming const& value) const; + [[nodiscard]] auto TextAlignment() const; + auto TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; + [[nodiscard]] auto Blocks() const; + [[nodiscard]] auto Padding() const; + auto Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto LineHeight() const; + auto LineHeight(double value) const; + [[nodiscard]] auto LineStackingStrategy() const; + auto LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const; + [[nodiscard]] auto CharacterSpacing() const; + auto CharacterSpacing(int32_t value) const; + [[nodiscard]] auto OverflowContentTarget() const; + auto OverflowContentTarget(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow const& value) const; + [[nodiscard]] auto IsTextSelectionEnabled() const; + auto IsTextSelectionEnabled(bool value) const; + [[nodiscard]] auto HasOverflowContent() const; + [[nodiscard]] auto SelectedText() const; + [[nodiscard]] auto ContentStart() const; + [[nodiscard]] auto ContentEnd() const; + [[nodiscard]] auto SelectionStart() const; + [[nodiscard]] auto SelectionEnd() const; + [[nodiscard]] auto BaselineOffset() const; + auto SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using SelectionChanged_revoker = impl::event_revoker::remove_SelectionChanged>; - [[nodiscard]] SelectionChanged_revoker SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SelectionChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; + [[nodiscard]] auto SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto SelectionChanged(winrt::event_token const& token) const noexcept; + auto ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; using ContextMenuOpening_revoker = impl::event_revoker::remove_ContextMenuOpening>; - [[nodiscard]] ContextMenuOpening_revoker ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContextMenuOpening(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SelectAll() const; - WINRT_IMPL_AUTO(void) Select(winrt::Windows::UI::Xaml::Documents::TextPointer const& start, winrt::Windows::UI::Xaml::Documents::TextPointer const& end) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) GetPositionFromPoint(winrt::Windows::Foundation::Point const& point) const; - WINRT_IMPL_AUTO(bool) Focus(winrt::Windows::UI::Xaml::FocusState const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) TextIndent() const; - WINRT_IMPL_AUTO(void) TextIndent(double value) const; + [[nodiscard]] auto ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; + auto ContextMenuOpening(winrt::event_token const& token) const noexcept; + auto SelectAll() const; + auto Select(winrt::Windows::UI::Xaml::Documents::TextPointer const& start, winrt::Windows::UI::Xaml::Documents::TextPointer const& end) const; + auto GetPositionFromPoint(winrt::Windows::Foundation::Point const& point) const; + auto Focus(winrt::Windows::UI::Xaml::FocusState const& value) const; + [[nodiscard]] auto TextIndent() const; + auto TextIndent(double value) const; }; template <> struct consume { @@ -22608,18 +22603,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlock2 { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxLines() const; - WINRT_IMPL_AUTO(void) MaxLines(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextLineBounds) TextLineBounds() const; - WINRT_IMPL_AUTO(void) TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) SelectionHighlightColor() const; - WINRT_IMPL_AUTO(void) SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::OpticalMarginAlignment) OpticalMarginAlignment() const; - WINRT_IMPL_AUTO(void) OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsColorFontEnabled() const; - WINRT_IMPL_AUTO(void) IsColorFontEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextReadingOrder) TextReadingOrder() const; - WINRT_IMPL_AUTO(void) TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const; + [[nodiscard]] auto MaxLines() const; + auto MaxLines(int32_t value) const; + [[nodiscard]] auto TextLineBounds() const; + auto TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const; + [[nodiscard]] auto SelectionHighlightColor() const; + auto SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; + [[nodiscard]] auto OpticalMarginAlignment() const; + auto OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const; + [[nodiscard]] auto IsColorFontEnabled() const; + auto IsColorFontEnabled(bool value) const; + [[nodiscard]] auto TextReadingOrder() const; + auto TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const; }; template <> struct consume { @@ -22628,8 +22623,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlock3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextScaleFactorEnabled() const; - WINRT_IMPL_AUTO(void) IsTextScaleFactorEnabled(bool value) const; + [[nodiscard]] auto IsTextScaleFactorEnabled() const; + auto IsTextScaleFactorEnabled(bool value) const; }; template <> struct consume { @@ -22638,8 +22633,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlock4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::TextDecorations) TextDecorations() const; - WINRT_IMPL_AUTO(void) TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const; + [[nodiscard]] auto TextDecorations() const; + auto TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const; }; template <> struct consume { @@ -22648,14 +22643,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlock5 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextTrimmed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) HorizontalTextAlignment() const; - WINRT_IMPL_AUTO(void) HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) TextHighlighters() const; - WINRT_IMPL_AUTO(winrt::event_token) IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsTextTrimmed() const; + [[nodiscard]] auto HorizontalTextAlignment() const; + auto HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; + [[nodiscard]] auto TextHighlighters() const; + auto IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsTextTrimmedChanged_revoker = impl::event_revoker::remove_IsTextTrimmedChanged>; - [[nodiscard]] IsTextTrimmedChanged_revoker IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsTextTrimmedChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsTextTrimmedChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -22664,9 +22659,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlock6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) SelectionFlyout() const; - WINRT_IMPL_AUTO(void) SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; - WINRT_IMPL_AUTO(void) CopySelectionToClipboard() const; + [[nodiscard]] auto SelectionFlyout() const; + auto SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; + auto CopySelectionToClipboard() const; }; template <> struct consume { @@ -22675,17 +22670,17 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow) OverflowContentTarget() const; - WINRT_IMPL_AUTO(void) OverflowContentTarget(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) Padding() const; - WINRT_IMPL_AUTO(void) Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RichTextBlock) ContentSource() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasOverflowContent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) ContentStart() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) ContentEnd() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) BaselineOffset() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) GetPositionFromPoint(winrt::Windows::Foundation::Point const& point) const; - WINRT_IMPL_AUTO(bool) Focus(winrt::Windows::UI::Xaml::FocusState const& value) const; + [[nodiscard]] auto OverflowContentTarget() const; + auto OverflowContentTarget(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow const& value) const; + [[nodiscard]] auto Padding() const; + auto Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto ContentSource() const; + [[nodiscard]] auto HasOverflowContent() const; + [[nodiscard]] auto ContentStart() const; + [[nodiscard]] auto ContentEnd() const; + [[nodiscard]] auto BaselineOffset() const; + auto GetPositionFromPoint(winrt::Windows::Foundation::Point const& point) const; + auto Focus(winrt::Windows::UI::Xaml::FocusState const& value) const; }; template <> struct consume { @@ -22694,8 +22689,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow2 { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxLines() const; - WINRT_IMPL_AUTO(void) MaxLines(int32_t value) const; + [[nodiscard]] auto MaxLines() const; + auto MaxLines(int32_t value) const; }; template <> struct consume { @@ -22704,11 +22699,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextTrimmed() const; - WINRT_IMPL_AUTO(winrt::event_token) IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsTextTrimmed() const; + auto IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsTextTrimmedChanged_revoker = impl::event_revoker::remove_IsTextTrimmedChanged>; - [[nodiscard]] IsTextTrimmedChanged_revoker IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsTextTrimmedChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsTextTrimmedChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -22717,9 +22712,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OverflowContentTargetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaddingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HasOverflowContentProperty() const; + [[nodiscard]] auto OverflowContentTargetProperty() const; + [[nodiscard]] auto PaddingProperty() const; + [[nodiscard]] auto HasOverflowContentProperty() const; }; template <> struct consume { @@ -22728,7 +22723,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxLinesProperty() const; + [[nodiscard]] auto MaxLinesProperty() const; }; template <> struct consume { @@ -22737,7 +22732,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTextTrimmedProperty() const; + [[nodiscard]] auto IsTextTrimmedProperty() const; }; template <> struct consume { @@ -22746,24 +22741,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontFamilyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontWeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontStretchProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextWrappingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextTrimmingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaddingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LineHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LineStackingStrategyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CharacterSpacingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OverflowContentTargetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTextSelectionEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HasOverflowContentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedTextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextIndentProperty() const; + [[nodiscard]] auto FontSizeProperty() const; + [[nodiscard]] auto FontFamilyProperty() const; + [[nodiscard]] auto FontWeightProperty() const; + [[nodiscard]] auto FontStyleProperty() const; + [[nodiscard]] auto FontStretchProperty() const; + [[nodiscard]] auto ForegroundProperty() const; + [[nodiscard]] auto TextWrappingProperty() const; + [[nodiscard]] auto TextTrimmingProperty() const; + [[nodiscard]] auto TextAlignmentProperty() const; + [[nodiscard]] auto PaddingProperty() const; + [[nodiscard]] auto LineHeightProperty() const; + [[nodiscard]] auto LineStackingStrategyProperty() const; + [[nodiscard]] auto CharacterSpacingProperty() const; + [[nodiscard]] auto OverflowContentTargetProperty() const; + [[nodiscard]] auto IsTextSelectionEnabledProperty() const; + [[nodiscard]] auto HasOverflowContentProperty() const; + [[nodiscard]] auto SelectedTextProperty() const; + [[nodiscard]] auto TextIndentProperty() const; }; template <> struct consume { @@ -22772,12 +22767,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxLinesProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextLineBoundsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionHighlightColorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OpticalMarginAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsColorFontEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextReadingOrderProperty() const; + [[nodiscard]] auto MaxLinesProperty() const; + [[nodiscard]] auto TextLineBoundsProperty() const; + [[nodiscard]] auto SelectionHighlightColorProperty() const; + [[nodiscard]] auto OpticalMarginAlignmentProperty() const; + [[nodiscard]] auto IsColorFontEnabledProperty() const; + [[nodiscard]] auto TextReadingOrderProperty() const; }; template <> struct consume { @@ -22786,7 +22781,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTextScaleFactorEnabledProperty() const; + [[nodiscard]] auto IsTextScaleFactorEnabledProperty() const; }; template <> struct consume { @@ -22795,7 +22790,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextDecorationsProperty() const; + [[nodiscard]] auto TextDecorationsProperty() const; }; template <> struct consume { @@ -22804,8 +22799,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTextTrimmedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalTextAlignmentProperty() const; + [[nodiscard]] auto IsTextTrimmedProperty() const; + [[nodiscard]] auto HorizontalTextAlignmentProperty() const; }; template <> struct consume { @@ -22814,7 +22809,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionFlyoutProperty() const; + [[nodiscard]] auto SelectionFlyoutProperty() const; }; template <> struct consume { @@ -22823,13 +22818,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRowDefinition { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) Height() const; - WINRT_IMPL_AUTO(void) Height(winrt::Windows::UI::Xaml::GridLength const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxHeight() const; - WINRT_IMPL_AUTO(void) MaxHeight(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinHeight() const; - WINRT_IMPL_AUTO(void) MinHeight(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ActualHeight() const; + [[nodiscard]] auto Height() const; + auto Height(winrt::Windows::UI::Xaml::GridLength const& value) const; + [[nodiscard]] auto MaxHeight() const; + auto MaxHeight(double value) const; + [[nodiscard]] auto MinHeight() const; + auto MinHeight(double value) const; + [[nodiscard]] auto ActualHeight() const; }; template <> struct consume { @@ -22838,9 +22833,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IRowDefinitionStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinHeightProperty() const; + [[nodiscard]] auto HeightProperty() const; + [[nodiscard]] auto MaxHeightProperty() const; + [[nodiscard]] auto MinHeightProperty() const; }; template <> struct consume { @@ -22849,9 +22844,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IScrollAnchorProvider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) CurrentAnchor() const; - WINRT_IMPL_AUTO(void) RegisterAnchorCandidate(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) UnregisterAnchorCandidate(winrt::Windows::UI::Xaml::UIElement const& element) const; + [[nodiscard]] auto CurrentAnchor() const; + auto RegisterAnchorCandidate(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto UnregisterAnchorCandidate(winrt::Windows::UI::Xaml::UIElement const& element) const; }; template <> struct consume { @@ -22860,33 +22855,33 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IScrollContentPresenter { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanVerticallyScroll() const; - WINRT_IMPL_AUTO(void) CanVerticallyScroll(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanHorizontallyScroll() const; - WINRT_IMPL_AUTO(void) CanHorizontallyScroll(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExtentWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExtentHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ViewportWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ViewportHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ScrollOwner() const; - WINRT_IMPL_AUTO(void) ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(void) LineUp() const; - WINRT_IMPL_AUTO(void) LineDown() const; - WINRT_IMPL_AUTO(void) LineLeft() const; - WINRT_IMPL_AUTO(void) LineRight() const; - WINRT_IMPL_AUTO(void) PageUp() const; - WINRT_IMPL_AUTO(void) PageDown() const; - WINRT_IMPL_AUTO(void) PageLeft() const; - WINRT_IMPL_AUTO(void) PageRight() const; - WINRT_IMPL_AUTO(void) MouseWheelUp() const; - WINRT_IMPL_AUTO(void) MouseWheelDown() const; - WINRT_IMPL_AUTO(void) MouseWheelLeft() const; - WINRT_IMPL_AUTO(void) MouseWheelRight() const; - WINRT_IMPL_AUTO(void) SetHorizontalOffset(double offset) const; - WINRT_IMPL_AUTO(void) SetVerticalOffset(double offset) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) MakeVisible(winrt::Windows::UI::Xaml::UIElement const& visual, winrt::Windows::Foundation::Rect const& rectangle) const; + [[nodiscard]] auto CanVerticallyScroll() const; + auto CanVerticallyScroll(bool value) const; + [[nodiscard]] auto CanHorizontallyScroll() const; + auto CanHorizontallyScroll(bool value) const; + [[nodiscard]] auto ExtentWidth() const; + [[nodiscard]] auto ExtentHeight() const; + [[nodiscard]] auto ViewportWidth() const; + [[nodiscard]] auto ViewportHeight() const; + [[nodiscard]] auto HorizontalOffset() const; + [[nodiscard]] auto VerticalOffset() const; + [[nodiscard]] auto ScrollOwner() const; + auto ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const; + auto LineUp() const; + auto LineDown() const; + auto LineLeft() const; + auto LineRight() const; + auto PageUp() const; + auto PageDown() const; + auto PageLeft() const; + auto PageRight() const; + auto MouseWheelUp() const; + auto MouseWheelDown() const; + auto MouseWheelLeft() const; + auto MouseWheelRight() const; + auto SetHorizontalOffset(double offset) const; + auto SetVerticalOffset(double offset) const; + auto MakeVisible(winrt::Windows::UI::Xaml::UIElement const& visual, winrt::Windows::Foundation::Rect const& rectangle) const; }; template <> struct consume { @@ -22895,10 +22890,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanContentRenderOutsideBounds() const; - WINRT_IMPL_AUTO(void) CanContentRenderOutsideBounds(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SizesContentToTemplatedParent() const; - WINRT_IMPL_AUTO(void) SizesContentToTemplatedParent(bool value) const; + [[nodiscard]] auto CanContentRenderOutsideBounds() const; + auto CanContentRenderOutsideBounds(bool value) const; + [[nodiscard]] auto SizesContentToTemplatedParent() const; + auto SizesContentToTemplatedParent(bool value) const; }; template <> struct consume { @@ -22907,8 +22902,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IScrollContentPresenterStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanContentRenderOutsideBoundsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SizesContentToTemplatedParentProperty() const; + [[nodiscard]] auto CanContentRenderOutsideBoundsProperty() const; + [[nodiscard]] auto SizesContentToTemplatedParentProperty() const; }; template <> struct consume { @@ -22917,68 +22912,68 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IScrollViewer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility) HorizontalScrollBarVisibility() const; - WINRT_IMPL_AUTO(void) HorizontalScrollBarVisibility(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility) VerticalScrollBarVisibility() const; - WINRT_IMPL_AUTO(void) VerticalScrollBarVisibility(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHorizontalRailEnabled() const; - WINRT_IMPL_AUTO(void) IsHorizontalRailEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVerticalRailEnabled() const; - WINRT_IMPL_AUTO(void) IsVerticalRailEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHorizontalScrollChainingEnabled() const; - WINRT_IMPL_AUTO(void) IsHorizontalScrollChainingEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVerticalScrollChainingEnabled() const; - WINRT_IMPL_AUTO(void) IsVerticalScrollChainingEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsZoomChainingEnabled() const; - WINRT_IMPL_AUTO(void) IsZoomChainingEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsScrollInertiaEnabled() const; - WINRT_IMPL_AUTO(void) IsScrollInertiaEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsZoomInertiaEnabled() const; - WINRT_IMPL_AUTO(void) IsZoomInertiaEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollMode) HorizontalScrollMode() const; - WINRT_IMPL_AUTO(void) HorizontalScrollMode(winrt::Windows::UI::Xaml::Controls::ScrollMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollMode) VerticalScrollMode() const; - WINRT_IMPL_AUTO(void) VerticalScrollMode(winrt::Windows::UI::Xaml::Controls::ScrollMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ZoomMode) ZoomMode() const; - WINRT_IMPL_AUTO(void) ZoomMode(winrt::Windows::UI::Xaml::Controls::ZoomMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment) HorizontalSnapPointsAlignment() const; - WINRT_IMPL_AUTO(void) HorizontalSnapPointsAlignment(winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment) VerticalSnapPointsAlignment() const; - WINRT_IMPL_AUTO(void) VerticalSnapPointsAlignment(winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SnapPointsType) HorizontalSnapPointsType() const; - WINRT_IMPL_AUTO(void) HorizontalSnapPointsType(winrt::Windows::UI::Xaml::Controls::SnapPointsType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SnapPointsType) VerticalSnapPointsType() const; - WINRT_IMPL_AUTO(void) VerticalSnapPointsType(winrt::Windows::UI::Xaml::Controls::SnapPointsType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SnapPointsType) ZoomSnapPointsType() const; - WINRT_IMPL_AUTO(void) ZoomSnapPointsType(winrt::Windows::UI::Xaml::Controls::SnapPointsType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ViewportWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ScrollableWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) ComputedHorizontalScrollBarVisibility() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExtentWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ViewportHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ScrollableHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) ComputedVerticalScrollBarVisibility() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExtentHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MinZoomFactor() const; - WINRT_IMPL_AUTO(void) MinZoomFactor(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) MaxZoomFactor() const; - WINRT_IMPL_AUTO(void) MaxZoomFactor(float value) const; - [[nodiscard]] WINRT_IMPL_AUTO(float) ZoomFactor() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ZoomSnapPoints() const; - WINRT_IMPL_AUTO(winrt::event_token) ViewChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto HorizontalScrollBarVisibility() const; + auto HorizontalScrollBarVisibility(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& value) const; + [[nodiscard]] auto VerticalScrollBarVisibility() const; + auto VerticalScrollBarVisibility(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& value) const; + [[nodiscard]] auto IsHorizontalRailEnabled() const; + auto IsHorizontalRailEnabled(bool value) const; + [[nodiscard]] auto IsVerticalRailEnabled() const; + auto IsVerticalRailEnabled(bool value) const; + [[nodiscard]] auto IsHorizontalScrollChainingEnabled() const; + auto IsHorizontalScrollChainingEnabled(bool value) const; + [[nodiscard]] auto IsVerticalScrollChainingEnabled() const; + auto IsVerticalScrollChainingEnabled(bool value) const; + [[nodiscard]] auto IsZoomChainingEnabled() const; + auto IsZoomChainingEnabled(bool value) const; + [[nodiscard]] auto IsScrollInertiaEnabled() const; + auto IsScrollInertiaEnabled(bool value) const; + [[nodiscard]] auto IsZoomInertiaEnabled() const; + auto IsZoomInertiaEnabled(bool value) const; + [[nodiscard]] auto HorizontalScrollMode() const; + auto HorizontalScrollMode(winrt::Windows::UI::Xaml::Controls::ScrollMode const& value) const; + [[nodiscard]] auto VerticalScrollMode() const; + auto VerticalScrollMode(winrt::Windows::UI::Xaml::Controls::ScrollMode const& value) const; + [[nodiscard]] auto ZoomMode() const; + auto ZoomMode(winrt::Windows::UI::Xaml::Controls::ZoomMode const& value) const; + [[nodiscard]] auto HorizontalSnapPointsAlignment() const; + auto HorizontalSnapPointsAlignment(winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& value) const; + [[nodiscard]] auto VerticalSnapPointsAlignment() const; + auto VerticalSnapPointsAlignment(winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& value) const; + [[nodiscard]] auto HorizontalSnapPointsType() const; + auto HorizontalSnapPointsType(winrt::Windows::UI::Xaml::Controls::SnapPointsType const& value) const; + [[nodiscard]] auto VerticalSnapPointsType() const; + auto VerticalSnapPointsType(winrt::Windows::UI::Xaml::Controls::SnapPointsType const& value) const; + [[nodiscard]] auto ZoomSnapPointsType() const; + auto ZoomSnapPointsType(winrt::Windows::UI::Xaml::Controls::SnapPointsType const& value) const; + [[nodiscard]] auto HorizontalOffset() const; + [[nodiscard]] auto ViewportWidth() const; + [[nodiscard]] auto ScrollableWidth() const; + [[nodiscard]] auto ComputedHorizontalScrollBarVisibility() const; + [[nodiscard]] auto ExtentWidth() const; + [[nodiscard]] auto VerticalOffset() const; + [[nodiscard]] auto ViewportHeight() const; + [[nodiscard]] auto ScrollableHeight() const; + [[nodiscard]] auto ComputedVerticalScrollBarVisibility() const; + [[nodiscard]] auto ExtentHeight() const; + [[nodiscard]] auto MinZoomFactor() const; + auto MinZoomFactor(float value) const; + [[nodiscard]] auto MaxZoomFactor() const; + auto MaxZoomFactor(float value) const; + [[nodiscard]] auto ZoomFactor() const; + [[nodiscard]] auto ZoomSnapPoints() const; + auto ViewChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using ViewChanged_revoker = impl::event_revoker::remove_ViewChanged>; - [[nodiscard]] ViewChanged_revoker ViewChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ViewChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) ScrollToHorizontalOffset(double offset) const; - WINRT_IMPL_AUTO(void) ScrollToVerticalOffset(double offset) const; - WINRT_IMPL_AUTO(void) ZoomToFactor(float factor) const; - WINRT_IMPL_AUTO(void) InvalidateScrollInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDeferredScrollingEnabled() const; - WINRT_IMPL_AUTO(void) IsDeferredScrollingEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) BringIntoViewOnFocusChange() const; - WINRT_IMPL_AUTO(void) BringIntoViewOnFocusChange(bool value) const; + [[nodiscard]] auto ViewChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ViewChanged(winrt::event_token const& token) const noexcept; + auto ScrollToHorizontalOffset(double offset) const; + auto ScrollToVerticalOffset(double offset) const; + auto ZoomToFactor(float factor) const; + auto InvalidateScrollInfo() const; + [[nodiscard]] auto IsDeferredScrollingEnabled() const; + auto IsDeferredScrollingEnabled(bool value) const; + [[nodiscard]] auto BringIntoViewOnFocusChange() const; + auto BringIntoViewOnFocusChange(bool value) const; }; template <> struct consume { @@ -22987,18 +22982,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IScrollViewer2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) TopLeftHeader() const; - WINRT_IMPL_AUTO(void) TopLeftHeader(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) LeftHeader() const; - WINRT_IMPL_AUTO(void) LeftHeader(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) TopHeader() const; - WINRT_IMPL_AUTO(void) TopHeader(winrt::Windows::UI::Xaml::UIElement const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) ViewChanging(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto TopLeftHeader() const; + auto TopLeftHeader(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto LeftHeader() const; + auto LeftHeader(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto TopHeader() const; + auto TopHeader(winrt::Windows::UI::Xaml::UIElement const& value) const; + auto ViewChanging(winrt::Windows::Foundation::EventHandler const& handler) const; using ViewChanging_revoker = impl::event_revoker::remove_ViewChanging>; - [[nodiscard]] ViewChanging_revoker ViewChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ViewChanging(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(bool) ChangeView(winrt::Windows::Foundation::IReference const& horizontalOffset, winrt::Windows::Foundation::IReference const& verticalOffset, winrt::Windows::Foundation::IReference const& zoomFactor) const; - WINRT_IMPL_AUTO(bool) ChangeView(winrt::Windows::Foundation::IReference const& horizontalOffset, winrt::Windows::Foundation::IReference const& verticalOffset, winrt::Windows::Foundation::IReference const& zoomFactor, bool disableAnimation) const; + [[nodiscard]] auto ViewChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto ViewChanging(winrt::event_token const& token) const noexcept; + auto ChangeView(winrt::Windows::Foundation::IReference const& horizontalOffset, winrt::Windows::Foundation::IReference const& verticalOffset, winrt::Windows::Foundation::IReference const& zoomFactor) const; + auto ChangeView(winrt::Windows::Foundation::IReference const& horizontalOffset, winrt::Windows::Foundation::IReference const& verticalOffset, winrt::Windows::Foundation::IReference const& zoomFactor, bool disableAnimation) const; }; template <> struct consume { @@ -23007,14 +23002,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IScrollViewer3 { - WINRT_IMPL_AUTO(winrt::event_token) DirectManipulationStarted(winrt::Windows::Foundation::EventHandler const& handler) const; + auto DirectManipulationStarted(winrt::Windows::Foundation::EventHandler const& handler) const; using DirectManipulationStarted_revoker = impl::event_revoker::remove_DirectManipulationStarted>; - [[nodiscard]] DirectManipulationStarted_revoker DirectManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DirectManipulationStarted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DirectManipulationCompleted(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto DirectManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto DirectManipulationStarted(winrt::event_token const& token) const noexcept; + auto DirectManipulationCompleted(winrt::Windows::Foundation::EventHandler const& handler) const; using DirectManipulationCompleted_revoker = impl::event_revoker::remove_DirectManipulationCompleted>; - [[nodiscard]] DirectManipulationCompleted_revoker DirectManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DirectManipulationCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DirectManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto DirectManipulationCompleted(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -23023,18 +23018,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IScrollViewer4 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ReduceViewportForCoreInputViewOcclusions() const; - WINRT_IMPL_AUTO(void) ReduceViewportForCoreInputViewOcclusions(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalAnchorRatio() const; - WINRT_IMPL_AUTO(void) HorizontalAnchorRatio(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalAnchorRatio() const; - WINRT_IMPL_AUTO(void) VerticalAnchorRatio(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanContentRenderOutsideBounds() const; - WINRT_IMPL_AUTO(void) CanContentRenderOutsideBounds(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) AnchorRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ReduceViewportForCoreInputViewOcclusions() const; + auto ReduceViewportForCoreInputViewOcclusions(bool value) const; + [[nodiscard]] auto HorizontalAnchorRatio() const; + auto HorizontalAnchorRatio(double value) const; + [[nodiscard]] auto VerticalAnchorRatio() const; + auto VerticalAnchorRatio(double value) const; + [[nodiscard]] auto CanContentRenderOutsideBounds() const; + auto CanContentRenderOutsideBounds(bool value) const; + auto AnchorRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AnchorRequested_revoker = impl::event_revoker::remove_AnchorRequested>; - [[nodiscard]] AnchorRequested_revoker AnchorRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AnchorRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AnchorRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AnchorRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -23043,67 +23038,67 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IScrollViewerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalSnapPointsAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalSnapPointsAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalSnapPointsTypeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalSnapPointsTypeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ZoomSnapPointsTypeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ViewportWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ScrollableWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ComputedHorizontalScrollBarVisibilityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ExtentWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ViewportHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ScrollableHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ComputedVerticalScrollBarVisibilityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ExtentHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinZoomFactorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxZoomFactorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ZoomFactorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ZoomSnapPointsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalScrollBarVisibilityProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility) GetHorizontalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetHorizontalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& horizontalScrollBarVisibility) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalScrollBarVisibilityProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility) GetVerticalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetVerticalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& verticalScrollBarVisibility) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsHorizontalRailEnabledProperty() const; - WINRT_IMPL_AUTO(bool) GetIsHorizontalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetIsHorizontalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isHorizontalRailEnabled) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsVerticalRailEnabledProperty() const; - WINRT_IMPL_AUTO(bool) GetIsVerticalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetIsVerticalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isVerticalRailEnabled) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsHorizontalScrollChainingEnabledProperty() const; - WINRT_IMPL_AUTO(bool) GetIsHorizontalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetIsHorizontalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isHorizontalScrollChainingEnabled) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsVerticalScrollChainingEnabledProperty() const; - WINRT_IMPL_AUTO(bool) GetIsVerticalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetIsVerticalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isVerticalScrollChainingEnabled) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsZoomChainingEnabledProperty() const; - WINRT_IMPL_AUTO(bool) GetIsZoomChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetIsZoomChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isZoomChainingEnabled) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsScrollInertiaEnabledProperty() const; - WINRT_IMPL_AUTO(bool) GetIsScrollInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetIsScrollInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isScrollInertiaEnabled) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsZoomInertiaEnabledProperty() const; - WINRT_IMPL_AUTO(bool) GetIsZoomInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetIsZoomInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isZoomInertiaEnabled) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalScrollModeProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollMode) GetHorizontalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetHorizontalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollMode const& horizontalScrollMode) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalScrollModeProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollMode) GetVerticalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetVerticalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollMode const& verticalScrollMode) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ZoomModeProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ZoomMode) GetZoomMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetZoomMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ZoomMode const& zoomMode) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsDeferredScrollingEnabledProperty() const; - WINRT_IMPL_AUTO(bool) GetIsDeferredScrollingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetIsDeferredScrollingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isDeferredScrollingEnabled) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BringIntoViewOnFocusChangeProperty() const; - WINRT_IMPL_AUTO(bool) GetBringIntoViewOnFocusChange(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetBringIntoViewOnFocusChange(winrt::Windows::UI::Xaml::DependencyObject const& element, bool bringIntoViewOnFocusChange) const; + [[nodiscard]] auto HorizontalSnapPointsAlignmentProperty() const; + [[nodiscard]] auto VerticalSnapPointsAlignmentProperty() const; + [[nodiscard]] auto HorizontalSnapPointsTypeProperty() const; + [[nodiscard]] auto VerticalSnapPointsTypeProperty() const; + [[nodiscard]] auto ZoomSnapPointsTypeProperty() const; + [[nodiscard]] auto HorizontalOffsetProperty() const; + [[nodiscard]] auto ViewportWidthProperty() const; + [[nodiscard]] auto ScrollableWidthProperty() const; + [[nodiscard]] auto ComputedHorizontalScrollBarVisibilityProperty() const; + [[nodiscard]] auto ExtentWidthProperty() const; + [[nodiscard]] auto VerticalOffsetProperty() const; + [[nodiscard]] auto ViewportHeightProperty() const; + [[nodiscard]] auto ScrollableHeightProperty() const; + [[nodiscard]] auto ComputedVerticalScrollBarVisibilityProperty() const; + [[nodiscard]] auto ExtentHeightProperty() const; + [[nodiscard]] auto MinZoomFactorProperty() const; + [[nodiscard]] auto MaxZoomFactorProperty() const; + [[nodiscard]] auto ZoomFactorProperty() const; + [[nodiscard]] auto ZoomSnapPointsProperty() const; + [[nodiscard]] auto HorizontalScrollBarVisibilityProperty() const; + auto GetHorizontalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetHorizontalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& horizontalScrollBarVisibility) const; + [[nodiscard]] auto VerticalScrollBarVisibilityProperty() const; + auto GetVerticalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetVerticalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& verticalScrollBarVisibility) const; + [[nodiscard]] auto IsHorizontalRailEnabledProperty() const; + auto GetIsHorizontalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetIsHorizontalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isHorizontalRailEnabled) const; + [[nodiscard]] auto IsVerticalRailEnabledProperty() const; + auto GetIsVerticalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetIsVerticalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isVerticalRailEnabled) const; + [[nodiscard]] auto IsHorizontalScrollChainingEnabledProperty() const; + auto GetIsHorizontalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetIsHorizontalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isHorizontalScrollChainingEnabled) const; + [[nodiscard]] auto IsVerticalScrollChainingEnabledProperty() const; + auto GetIsVerticalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetIsVerticalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isVerticalScrollChainingEnabled) const; + [[nodiscard]] auto IsZoomChainingEnabledProperty() const; + auto GetIsZoomChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetIsZoomChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isZoomChainingEnabled) const; + [[nodiscard]] auto IsScrollInertiaEnabledProperty() const; + auto GetIsScrollInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetIsScrollInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isScrollInertiaEnabled) const; + [[nodiscard]] auto IsZoomInertiaEnabledProperty() const; + auto GetIsZoomInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetIsZoomInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isZoomInertiaEnabled) const; + [[nodiscard]] auto HorizontalScrollModeProperty() const; + auto GetHorizontalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetHorizontalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollMode const& horizontalScrollMode) const; + [[nodiscard]] auto VerticalScrollModeProperty() const; + auto GetVerticalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetVerticalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollMode const& verticalScrollMode) const; + [[nodiscard]] auto ZoomModeProperty() const; + auto GetZoomMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetZoomMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ZoomMode const& zoomMode) const; + [[nodiscard]] auto IsDeferredScrollingEnabledProperty() const; + auto GetIsDeferredScrollingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetIsDeferredScrollingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isDeferredScrollingEnabled) const; + [[nodiscard]] auto BringIntoViewOnFocusChangeProperty() const; + auto GetBringIntoViewOnFocusChange(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetBringIntoViewOnFocusChange(winrt::Windows::UI::Xaml::DependencyObject const& element, bool bringIntoViewOnFocusChange) const; }; template <> struct consume { @@ -23112,9 +23107,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IScrollViewerStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TopLeftHeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LeftHeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TopHeaderProperty() const; + [[nodiscard]] auto TopLeftHeaderProperty() const; + [[nodiscard]] auto LeftHeaderProperty() const; + [[nodiscard]] auto TopHeaderProperty() const; }; template <> struct consume { @@ -23123,12 +23118,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ReduceViewportForCoreInputViewOcclusionsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalAnchorRatioProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalAnchorRatioProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanContentRenderOutsideBoundsProperty() const; - WINRT_IMPL_AUTO(bool) GetCanContentRenderOutsideBounds(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetCanContentRenderOutsideBounds(winrt::Windows::UI::Xaml::DependencyObject const& element, bool canContentRenderOutsideBounds) const; + [[nodiscard]] auto ReduceViewportForCoreInputViewOcclusionsProperty() const; + [[nodiscard]] auto HorizontalAnchorRatioProperty() const; + [[nodiscard]] auto VerticalAnchorRatioProperty() const; + [[nodiscard]] auto CanContentRenderOutsideBoundsProperty() const; + auto GetCanContentRenderOutsideBounds(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetCanContentRenderOutsideBounds(winrt::Windows::UI::Xaml::DependencyObject const& element, bool canContentRenderOutsideBounds) const; }; template <> struct consume { @@ -23137,9 +23132,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IScrollViewerView { - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) ZoomFactor() const; + [[nodiscard]] auto HorizontalOffset() const; + [[nodiscard]] auto VerticalOffset() const; + [[nodiscard]] auto ZoomFactor() const; }; template <> struct consume { @@ -23148,7 +23143,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsIntermediate() const; + [[nodiscard]] auto IsIntermediate() const; }; template <> struct consume { @@ -23157,9 +23152,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollViewerView) NextView() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollViewerView) FinalView() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInertial() const; + [[nodiscard]] auto NextView() const; + [[nodiscard]] auto FinalView() const; + [[nodiscard]] auto IsInertial() const; }; template <> struct consume { @@ -23168,39 +23163,39 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISearchBox { - [[nodiscard]] WINRT_IMPL_AUTO(bool) SearchHistoryEnabled() const; - WINRT_IMPL_AUTO(void) SearchHistoryEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SearchHistoryContext() const; - WINRT_IMPL_AUTO(void) SearchHistoryContext(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PlaceholderText() const; - WINRT_IMPL_AUTO(void) PlaceholderText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) QueryText() const; - WINRT_IMPL_AUTO(void) QueryText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) FocusOnKeyboardInput() const; - WINRT_IMPL_AUTO(void) FocusOnKeyboardInput(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ChooseSuggestionOnEnter() const; - WINRT_IMPL_AUTO(void) ChooseSuggestionOnEnter(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) QueryChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SearchHistoryEnabled() const; + auto SearchHistoryEnabled(bool value) const; + [[nodiscard]] auto SearchHistoryContext() const; + auto SearchHistoryContext(param::hstring const& value) const; + [[nodiscard]] auto PlaceholderText() const; + auto PlaceholderText(param::hstring const& value) const; + [[nodiscard]] auto QueryText() const; + auto QueryText(param::hstring const& value) const; + [[nodiscard]] auto FocusOnKeyboardInput() const; + auto FocusOnKeyboardInput(bool value) const; + [[nodiscard]] auto ChooseSuggestionOnEnter() const; + auto ChooseSuggestionOnEnter(bool value) const; + auto QueryChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using QueryChanged_revoker = impl::event_revoker::remove_QueryChanged>; - [[nodiscard]] QueryChanged_revoker QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) QueryChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto QueryChanged(winrt::event_token const& token) const noexcept; + auto SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SuggestionsRequested_revoker = impl::event_revoker::remove_SuggestionsRequested>; - [[nodiscard]] SuggestionsRequested_revoker SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SuggestionsRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SuggestionsRequested(winrt::event_token const& token) const noexcept; + auto QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using QuerySubmitted_revoker = impl::event_revoker::remove_QuerySubmitted>; - [[nodiscard]] QuerySubmitted_revoker QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) QuerySubmitted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ResultSuggestionChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto QuerySubmitted(winrt::event_token const& token) const noexcept; + auto ResultSuggestionChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ResultSuggestionChosen_revoker = impl::event_revoker::remove_ResultSuggestionChosen>; - [[nodiscard]] ResultSuggestionChosen_revoker ResultSuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ResultSuggestionChosen(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PrepareForFocusOnKeyboardInput(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ResultSuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ResultSuggestionChosen(winrt::event_token const& token) const noexcept; + auto PrepareForFocusOnKeyboardInput(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PrepareForFocusOnKeyboardInput_revoker = impl::event_revoker::remove_PrepareForFocusOnKeyboardInput>; - [[nodiscard]] PrepareForFocusOnKeyboardInput_revoker PrepareForFocusOnKeyboardInput(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PrepareForFocusOnKeyboardInput(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const; + [[nodiscard]] auto PrepareForFocusOnKeyboardInput(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PrepareForFocusOnKeyboardInput(winrt::event_token const& token) const noexcept; + auto SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const; }; template <> struct consume { @@ -23209,7 +23204,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISearchBoxFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SearchBox) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -23218,9 +23213,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISearchBoxQueryChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) QueryText() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails) LinguisticDetails() const; + [[nodiscard]] auto QueryText() const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto LinguisticDetails() const; }; template <> struct consume { @@ -23229,10 +23224,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) QueryText() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails) LinguisticDetails() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) KeyModifiers() const; + [[nodiscard]] auto QueryText() const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto LinguisticDetails() const; + [[nodiscard]] auto KeyModifiers() const; }; template <> struct consume { @@ -23241,8 +23236,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISearchBoxResultSuggestionChosenEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Tag() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) KeyModifiers() const; + [[nodiscard]] auto Tag() const; + [[nodiscard]] auto KeyModifiers() const; }; template <> struct consume { @@ -23251,12 +23246,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISearchBoxStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SearchHistoryEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SearchHistoryContextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlaceholderTextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) QueryTextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FocusOnKeyboardInputProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ChooseSuggestionOnEnterProperty() const; + [[nodiscard]] auto SearchHistoryEnabledProperty() const; + [[nodiscard]] auto SearchHistoryContextProperty() const; + [[nodiscard]] auto PlaceholderTextProperty() const; + [[nodiscard]] auto QueryTextProperty() const; + [[nodiscard]] auto FocusOnKeyboardInputProperty() const; + [[nodiscard]] auto ChooseSuggestionOnEnterProperty() const; }; template <> struct consume { @@ -23265,10 +23260,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) QueryText() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails) LinguisticDetails() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchSuggestionsRequest) Request() const; + [[nodiscard]] auto QueryText() const; + [[nodiscard]] auto Language() const; + [[nodiscard]] auto LinguisticDetails() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -23277,8 +23272,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISectionsInViewChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) AddedSections() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) RemovedSections() const; + [[nodiscard]] auto AddedSections() const; + [[nodiscard]] auto RemovedSections() const; }; template <> struct consume { @@ -23295,8 +23290,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISelectionChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) AddedItems() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) RemovedItems() const; + [[nodiscard]] auto AddedItems() const; + [[nodiscard]] auto RemovedItems() const; }; template <> struct consume { @@ -23305,7 +23300,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISelectionChangedEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventArgs) CreateInstanceWithRemovedItemsAndAddedItems(param::vector const& removedItems, param::vector const& addedItems, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithRemovedItemsAndAddedItems(param::vector const& removedItems, param::vector const& addedItems, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -23314,25 +23309,25 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISemanticZoom { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation) ZoomedInView() const; - WINRT_IMPL_AUTO(void) ZoomedInView(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation) ZoomedOutView() const; - WINRT_IMPL_AUTO(void) ZoomedOutView(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsZoomedInViewActive() const; - WINRT_IMPL_AUTO(void) IsZoomedInViewActive(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanChangeViews() const; - WINRT_IMPL_AUTO(void) CanChangeViews(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) ViewChangeStarted(winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const; + [[nodiscard]] auto ZoomedInView() const; + auto ZoomedInView(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation const& value) const; + [[nodiscard]] auto ZoomedOutView() const; + auto ZoomedOutView(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation const& value) const; + [[nodiscard]] auto IsZoomedInViewActive() const; + auto IsZoomedInViewActive(bool value) const; + [[nodiscard]] auto CanChangeViews() const; + auto CanChangeViews(bool value) const; + auto ViewChangeStarted(winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const; using ViewChangeStarted_revoker = impl::event_revoker::remove_ViewChangeStarted>; - [[nodiscard]] ViewChangeStarted_revoker ViewChangeStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ViewChangeStarted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ViewChangeCompleted(winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const; + [[nodiscard]] auto ViewChangeStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const; + auto ViewChangeStarted(winrt::event_token const& token) const noexcept; + auto ViewChangeCompleted(winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const; using ViewChangeCompleted_revoker = impl::event_revoker::remove_ViewChangeCompleted>; - [[nodiscard]] ViewChangeCompleted_revoker ViewChangeCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ViewChangeCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) ToggleActiveView() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsZoomOutButtonEnabled() const; - WINRT_IMPL_AUTO(void) IsZoomOutButtonEnabled(bool value) const; + [[nodiscard]] auto ViewChangeCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const; + auto ViewChangeCompleted(winrt::event_token const& token) const noexcept; + auto ToggleActiveView() const; + [[nodiscard]] auto IsZoomOutButtonEnabled() const; + auto IsZoomOutButtonEnabled(bool value) const; }; template <> struct consume { @@ -23341,19 +23336,19 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SemanticZoom) SemanticZoomOwner() const; - WINRT_IMPL_AUTO(void) SemanticZoomOwner(winrt::Windows::UI::Xaml::Controls::SemanticZoom const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsActiveView() const; - WINRT_IMPL_AUTO(void) IsActiveView(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsZoomedInView() const; - WINRT_IMPL_AUTO(void) IsZoomedInView(bool value) const; - WINRT_IMPL_AUTO(void) InitializeViewChange() const; - WINRT_IMPL_AUTO(void) CompleteViewChange() const; - WINRT_IMPL_AUTO(void) MakeVisible(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& item) const; - WINRT_IMPL_AUTO(void) StartViewChangeFrom(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const; - WINRT_IMPL_AUTO(void) StartViewChangeTo(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const; - WINRT_IMPL_AUTO(void) CompleteViewChangeFrom(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const; - WINRT_IMPL_AUTO(void) CompleteViewChangeTo(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const; + [[nodiscard]] auto SemanticZoomOwner() const; + auto SemanticZoomOwner(winrt::Windows::UI::Xaml::Controls::SemanticZoom const& value) const; + [[nodiscard]] auto IsActiveView() const; + auto IsActiveView(bool value) const; + [[nodiscard]] auto IsZoomedInView() const; + auto IsZoomedInView(bool value) const; + auto InitializeViewChange() const; + auto CompleteViewChange() const; + auto MakeVisible(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& item) const; + auto StartViewChangeFrom(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const; + auto StartViewChangeTo(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const; + auto CompleteViewChangeFrom(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const; + auto CompleteViewChangeTo(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const; }; template <> struct consume { @@ -23362,10 +23357,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Item() const; - WINRT_IMPL_AUTO(void) Item(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Bounds() const; - WINRT_IMPL_AUTO(void) Bounds(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto Item() const; + auto Item(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto Bounds() const; + auto Bounds(winrt::Windows::Foundation::Rect const& value) const; }; template <> struct consume { @@ -23374,11 +23369,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ZoomedInViewProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ZoomedOutViewProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsZoomedInViewActiveProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanChangeViewsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsZoomOutButtonEnabledProperty() const; + [[nodiscard]] auto ZoomedInViewProperty() const; + [[nodiscard]] auto ZoomedOutViewProperty() const; + [[nodiscard]] auto IsZoomedInViewActiveProperty() const; + [[nodiscard]] auto CanChangeViewsProperty() const; + [[nodiscard]] auto IsZoomOutButtonEnabledProperty() const; }; template <> struct consume { @@ -23387,12 +23382,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSourceZoomedInView() const; - WINRT_IMPL_AUTO(void) IsSourceZoomedInView(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation) SourceItem() const; - WINRT_IMPL_AUTO(void) SourceItem(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation) DestinationItem() const; - WINRT_IMPL_AUTO(void) DestinationItem(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& value) const; + [[nodiscard]] auto IsSourceZoomedInView() const; + auto IsSourceZoomedInView(bool value) const; + [[nodiscard]] auto SourceItem() const; + auto SourceItem(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& value) const; + [[nodiscard]] auto DestinationItem() const; + auto DestinationItem(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& value) const; }; template <> struct consume { @@ -23401,22 +23396,22 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISettingsFlyout { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) HeaderBackground() const; - WINRT_IMPL_AUTO(void) HeaderBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) HeaderForeground() const; - WINRT_IMPL_AUTO(void) HeaderForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) IconSource() const; - WINRT_IMPL_AUTO(void) IconSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SettingsFlyoutTemplateSettings) TemplateSettings() const; - WINRT_IMPL_AUTO(winrt::event_token) BackClick(winrt::Windows::UI::Xaml::Controls::BackClickEventHandler const& handler) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto HeaderBackground() const; + auto HeaderBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto HeaderForeground() const; + auto HeaderForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto IconSource() const; + auto IconSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; + [[nodiscard]] auto TemplateSettings() const; + auto BackClick(winrt::Windows::UI::Xaml::Controls::BackClickEventHandler const& handler) const; using BackClick_revoker = impl::event_revoker::remove_BackClick>; - [[nodiscard]] BackClick_revoker BackClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::BackClickEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BackClick(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Show() const; - WINRT_IMPL_AUTO(void) ShowIndependent() const; - WINRT_IMPL_AUTO(void) Hide() const; + [[nodiscard]] auto BackClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::BackClickEventHandler const& handler) const; + auto BackClick(winrt::event_token const& token) const noexcept; + auto Show() const; + auto ShowIndependent() const; + auto Hide() const; }; template <> struct consume { @@ -23425,7 +23420,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISettingsFlyoutFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SettingsFlyout) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -23434,10 +23429,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TitleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderBackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IconSourceProperty() const; + [[nodiscard]] auto TitleProperty() const; + [[nodiscard]] auto HeaderBackgroundProperty() const; + [[nodiscard]] auto HeaderForegroundProperty() const; + [[nodiscard]] auto IconSourceProperty() const; }; template <> struct consume { @@ -23446,24 +23441,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISlider { - [[nodiscard]] WINRT_IMPL_AUTO(double) IntermediateValue() const; - WINRT_IMPL_AUTO(void) IntermediateValue(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) StepFrequency() const; - WINRT_IMPL_AUTO(void) StepFrequency(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SliderSnapsTo) SnapsTo() const; - WINRT_IMPL_AUTO(void) SnapsTo(winrt::Windows::UI::Xaml::Controls::Primitives::SliderSnapsTo const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) TickFrequency() const; - WINRT_IMPL_AUTO(void) TickFrequency(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::TickPlacement) TickPlacement() const; - WINRT_IMPL_AUTO(void) TickPlacement(winrt::Windows::UI::Xaml::Controls::Primitives::TickPlacement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) Orientation() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDirectionReversed() const; - WINRT_IMPL_AUTO(void) IsDirectionReversed(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsThumbToolTipEnabled() const; - WINRT_IMPL_AUTO(void) IsThumbToolTipEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::IValueConverter) ThumbToolTipValueConverter() const; - WINRT_IMPL_AUTO(void) ThumbToolTipValueConverter(winrt::Windows::UI::Xaml::Data::IValueConverter const& value) const; + [[nodiscard]] auto IntermediateValue() const; + auto IntermediateValue(double value) const; + [[nodiscard]] auto StepFrequency() const; + auto StepFrequency(double value) const; + [[nodiscard]] auto SnapsTo() const; + auto SnapsTo(winrt::Windows::UI::Xaml::Controls::Primitives::SliderSnapsTo const& value) const; + [[nodiscard]] auto TickFrequency() const; + auto TickFrequency(double value) const; + [[nodiscard]] auto TickPlacement() const; + auto TickPlacement(winrt::Windows::UI::Xaml::Controls::Primitives::TickPlacement const& value) const; + [[nodiscard]] auto Orientation() const; + auto Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; + [[nodiscard]] auto IsDirectionReversed() const; + auto IsDirectionReversed(bool value) const; + [[nodiscard]] auto IsThumbToolTipEnabled() const; + auto IsThumbToolTipEnabled(bool value) const; + [[nodiscard]] auto ThumbToolTipValueConverter() const; + auto ThumbToolTipValueConverter(winrt::Windows::UI::Xaml::Data::IValueConverter const& value) const; }; template <> struct consume { @@ -23472,10 +23467,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISlider2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; - WINRT_IMPL_AUTO(void) Header(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) HeaderTemplate() const; - WINRT_IMPL_AUTO(void) HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto Header() const; + auto Header(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto HeaderTemplate() const; + auto HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; }; template <> struct consume { @@ -23484,7 +23479,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISliderFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Slider) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -23493,15 +23488,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISliderStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IntermediateValueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StepFrequencyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SnapsToProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TickFrequencyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TickPlacementProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OrientationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsDirectionReversedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsThumbToolTipEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ThumbToolTipValueConverterProperty() const; + [[nodiscard]] auto IntermediateValueProperty() const; + [[nodiscard]] auto StepFrequencyProperty() const; + [[nodiscard]] auto SnapsToProperty() const; + [[nodiscard]] auto TickFrequencyProperty() const; + [[nodiscard]] auto TickPlacementProperty() const; + [[nodiscard]] auto OrientationProperty() const; + [[nodiscard]] auto IsDirectionReversedProperty() const; + [[nodiscard]] auto IsThumbToolTipEnabledProperty() const; + [[nodiscard]] auto ThumbToolTipValueConverterProperty() const; }; template <> struct consume { @@ -23510,8 +23505,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISliderStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTemplateProperty() const; + [[nodiscard]] auto HeaderProperty() const; + [[nodiscard]] auto HeaderTemplateProperty() const; }; template <> struct consume { @@ -23520,16 +23515,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISplitButton { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) Flyout() const; - WINRT_IMPL_AUTO(void) Flyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) Command() const; - WINRT_IMPL_AUTO(void) Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CommandParameter() const; - WINRT_IMPL_AUTO(void) CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) Click(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Flyout() const; + auto Flyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; + [[nodiscard]] auto Command() const; + auto Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const; + [[nodiscard]] auto CommandParameter() const; + auto CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const; + auto Click(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Click_revoker = impl::event_revoker::remove_Click>; - [[nodiscard]] Click_revoker Click(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Click(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Click(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Click(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -23546,7 +23541,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISplitButtonAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SplitButtonAutomationPeer) CreateInstance(winrt::Windows::UI::Xaml::Controls::SplitButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::UI::Xaml::Controls::SplitButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -23563,7 +23558,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISplitButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SplitButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -23572,9 +23567,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISplitButtonStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FlyoutProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CommandProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CommandParameterProperty() const; + [[nodiscard]] auto FlyoutProperty() const; + [[nodiscard]] auto CommandProperty() const; + [[nodiscard]] auto CommandParameterProperty() const; }; template <> struct consume { @@ -23583,31 +23578,31 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISplitView { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Content() const; - WINRT_IMPL_AUTO(void) Content(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Pane() const; - WINRT_IMPL_AUTO(void) Pane(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPaneOpen() const; - WINRT_IMPL_AUTO(void) IsPaneOpen(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OpenPaneLength() const; - WINRT_IMPL_AUTO(void) OpenPaneLength(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CompactPaneLength() const; - WINRT_IMPL_AUTO(void) CompactPaneLength(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SplitViewPanePlacement) PanePlacement() const; - WINRT_IMPL_AUTO(void) PanePlacement(winrt::Windows::UI::Xaml::Controls::SplitViewPanePlacement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SplitViewDisplayMode) DisplayMode() const; - WINRT_IMPL_AUTO(void) DisplayMode(winrt::Windows::UI::Xaml::Controls::SplitViewDisplayMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SplitViewTemplateSettings) TemplateSettings() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) PaneBackground() const; - WINRT_IMPL_AUTO(void) PaneBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) PaneClosing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Content() const; + auto Content(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto Pane() const; + auto Pane(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto IsPaneOpen() const; + auto IsPaneOpen(bool value) const; + [[nodiscard]] auto OpenPaneLength() const; + auto OpenPaneLength(double value) const; + [[nodiscard]] auto CompactPaneLength() const; + auto CompactPaneLength(double value) const; + [[nodiscard]] auto PanePlacement() const; + auto PanePlacement(winrt::Windows::UI::Xaml::Controls::SplitViewPanePlacement const& value) const; + [[nodiscard]] auto DisplayMode() const; + auto DisplayMode(winrt::Windows::UI::Xaml::Controls::SplitViewDisplayMode const& value) const; + [[nodiscard]] auto TemplateSettings() const; + [[nodiscard]] auto PaneBackground() const; + auto PaneBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + auto PaneClosing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PaneClosing_revoker = impl::event_revoker::remove_PaneClosing>; - [[nodiscard]] PaneClosing_revoker PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PaneClosing(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PaneClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PaneClosing(winrt::event_token const& token) const noexcept; + auto PaneClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PaneClosed_revoker = impl::event_revoker::remove_PaneClosed>; - [[nodiscard]] PaneClosed_revoker PaneClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PaneClosed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PaneClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PaneClosed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -23616,8 +23611,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISplitView2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) LightDismissOverlayMode() const; - WINRT_IMPL_AUTO(void) LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; + [[nodiscard]] auto LightDismissOverlayMode() const; + auto LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; }; template <> struct consume { @@ -23626,14 +23621,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISplitView3 { - WINRT_IMPL_AUTO(winrt::event_token) PaneOpening(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PaneOpening(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PaneOpening_revoker = impl::event_revoker::remove_PaneOpening>; - [[nodiscard]] PaneOpening_revoker PaneOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PaneOpening(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PaneOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PaneOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PaneOpening(winrt::event_token const& token) const noexcept; + auto PaneOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PaneOpened_revoker = impl::event_revoker::remove_PaneOpened>; - [[nodiscard]] PaneOpened_revoker PaneOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PaneOpened(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PaneOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PaneOpened(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -23642,7 +23637,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISplitViewFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SplitView) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -23651,8 +23646,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISplitViewPaneClosingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; }; template <> struct consume { @@ -23661,15 +23656,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISplitViewStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaneProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsPaneOpenProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OpenPaneLengthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CompactPaneLengthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PanePlacementProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DisplayModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TemplateSettingsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaneBackgroundProperty() const; + [[nodiscard]] auto ContentProperty() const; + [[nodiscard]] auto PaneProperty() const; + [[nodiscard]] auto IsPaneOpenProperty() const; + [[nodiscard]] auto OpenPaneLengthProperty() const; + [[nodiscard]] auto CompactPaneLengthProperty() const; + [[nodiscard]] auto PanePlacementProperty() const; + [[nodiscard]] auto DisplayModeProperty() const; + [[nodiscard]] auto TemplateSettingsProperty() const; + [[nodiscard]] auto PaneBackgroundProperty() const; }; template <> struct consume { @@ -23678,7 +23673,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISplitViewStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LightDismissOverlayModeProperty() const; + [[nodiscard]] auto LightDismissOverlayModeProperty() const; }; template <> struct consume { @@ -23687,10 +23682,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IStackPanel { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreScrollSnapPointsRegular() const; - WINRT_IMPL_AUTO(void) AreScrollSnapPointsRegular(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) Orientation() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; + [[nodiscard]] auto AreScrollSnapPointsRegular() const; + auto AreScrollSnapPointsRegular(bool value) const; + [[nodiscard]] auto Orientation() const; + auto Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; }; template <> struct consume { @@ -23699,14 +23694,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IStackPanel2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) BorderBrush() const; - WINRT_IMPL_AUTO(void) BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) BorderThickness() const; - WINRT_IMPL_AUTO(void) BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) CornerRadius() const; - WINRT_IMPL_AUTO(void) CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) Padding() const; - WINRT_IMPL_AUTO(void) Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto BorderBrush() const; + auto BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto BorderThickness() const; + auto BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto CornerRadius() const; + auto CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const; + [[nodiscard]] auto Padding() const; + auto Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; }; template <> struct consume { @@ -23715,8 +23710,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IStackPanel4 { - [[nodiscard]] WINRT_IMPL_AUTO(double) Spacing() const; - WINRT_IMPL_AUTO(void) Spacing(double value) const; + [[nodiscard]] auto Spacing() const; + auto Spacing(double value) const; }; template <> struct consume { @@ -23725,8 +23720,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IStackPanel5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) BackgroundSizing() const; - WINRT_IMPL_AUTO(void) BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const; + [[nodiscard]] auto BackgroundSizing() const; + auto BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const; }; template <> struct consume { @@ -23735,7 +23730,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IStackPanelFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StackPanel) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -23744,8 +23739,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IStackPanelStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AreScrollSnapPointsRegularProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OrientationProperty() const; + [[nodiscard]] auto AreScrollSnapPointsRegularProperty() const; + [[nodiscard]] auto OrientationProperty() const; }; template <> struct consume { @@ -23754,10 +23749,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IStackPanelStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BorderThicknessProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CornerRadiusProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaddingProperty() const; + [[nodiscard]] auto BorderBrushProperty() const; + [[nodiscard]] auto BorderThicknessProperty() const; + [[nodiscard]] auto CornerRadiusProperty() const; + [[nodiscard]] auto PaddingProperty() const; }; template <> struct consume { @@ -23766,7 +23761,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IStackPanelStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SpacingProperty() const; + [[nodiscard]] auto SpacingProperty() const; }; template <> struct consume { @@ -23775,7 +23770,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IStackPanelStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackgroundSizingProperty() const; + [[nodiscard]] auto BackgroundSizingProperty() const; }; template <> struct consume { @@ -23784,7 +23779,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IStyleSelector { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) SelectStyle(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const; + auto SelectStyle(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const; }; template <> struct consume { @@ -23793,7 +23788,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IStyleSelectorFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StyleSelector) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -23802,7 +23797,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IStyleSelectorOverrides { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) SelectStyleCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const; + auto SelectStyleCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const; }; template <> struct consume { @@ -23819,7 +23814,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISwapChainBackgroundPanel2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreIndependentInputSource) CreateCoreIndependentInputSource(winrt::Windows::UI::Core::CoreInputDeviceTypes const& deviceTypes) const; + auto CreateCoreIndependentInputSource(winrt::Windows::UI::Core::CoreInputDeviceTypes const& deviceTypes) const; }; template <> struct consume { @@ -23828,7 +23823,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISwapChainBackgroundPanelFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwapChainBackgroundPanel) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -23837,13 +23832,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISwapChainPanel { - [[nodiscard]] WINRT_IMPL_AUTO(float) CompositionScaleX() const; - [[nodiscard]] WINRT_IMPL_AUTO(float) CompositionScaleY() const; - WINRT_IMPL_AUTO(winrt::event_token) CompositionScaleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CompositionScaleX() const; + [[nodiscard]] auto CompositionScaleY() const; + auto CompositionScaleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CompositionScaleChanged_revoker = impl::event_revoker::remove_CompositionScaleChanged>; - [[nodiscard]] CompositionScaleChanged_revoker CompositionScaleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CompositionScaleChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreIndependentInputSource) CreateCoreIndependentInputSource(winrt::Windows::UI::Core::CoreInputDeviceTypes const& deviceTypes) const; + [[nodiscard]] auto CompositionScaleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CompositionScaleChanged(winrt::event_token const& token) const noexcept; + auto CreateCoreIndependentInputSource(winrt::Windows::UI::Core::CoreInputDeviceTypes const& deviceTypes) const; }; template <> struct consume { @@ -23852,7 +23847,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISwapChainPanelFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwapChainPanel) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -23861,8 +23856,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISwapChainPanelStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CompositionScaleXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CompositionScaleYProperty() const; + [[nodiscard]] auto CompositionScaleXProperty() const; + [[nodiscard]] auto CompositionScaleYProperty() const; }; template <> struct consume { @@ -23871,15 +23866,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISwipeControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItems) LeftItems() const; - WINRT_IMPL_AUTO(void) LeftItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItems) RightItems() const; - WINRT_IMPL_AUTO(void) RightItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItems) TopItems() const; - WINRT_IMPL_AUTO(void) TopItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItems) BottomItems() const; - WINRT_IMPL_AUTO(void) BottomItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const; - WINRT_IMPL_AUTO(void) Close() const; + [[nodiscard]] auto LeftItems() const; + auto LeftItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const; + [[nodiscard]] auto RightItems() const; + auto RightItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const; + [[nodiscard]] auto TopItems() const; + auto TopItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const; + [[nodiscard]] auto BottomItems() const; + auto BottomItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const; + auto Close() const; }; template <> struct consume { @@ -23888,7 +23883,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISwipeControlFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeControl) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -23897,10 +23892,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISwipeControlStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LeftItemsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RightItemsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TopItemsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BottomItemsProperty() const; + [[nodiscard]] auto LeftItemsProperty() const; + [[nodiscard]] auto RightItemsProperty() const; + [[nodiscard]] auto TopItemsProperty() const; + [[nodiscard]] auto BottomItemsProperty() const; }; template <> struct consume { @@ -23909,24 +23904,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISwipeItem { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconSource) IconSource() const; - WINRT_IMPL_AUTO(void) IconSource(winrt::Windows::UI::Xaml::Controls::IconSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Background() const; - WINRT_IMPL_AUTO(void) Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Foreground() const; - WINRT_IMPL_AUTO(void) Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) Command() const; - WINRT_IMPL_AUTO(void) Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CommandParameter() const; - WINRT_IMPL_AUTO(void) CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeBehaviorOnInvoked) BehaviorOnInvoked() const; - WINRT_IMPL_AUTO(void) BehaviorOnInvoked(winrt::Windows::UI::Xaml::Controls::SwipeBehaviorOnInvoked const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto IconSource() const; + auto IconSource(winrt::Windows::UI::Xaml::Controls::IconSource const& value) const; + [[nodiscard]] auto Background() const; + auto Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto Foreground() const; + auto Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto Command() const; + auto Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const; + [[nodiscard]] auto CommandParameter() const; + auto CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto BehaviorOnInvoked() const; + auto BehaviorOnInvoked(winrt::Windows::UI::Xaml::Controls::SwipeBehaviorOnInvoked const& value) const; + auto Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Invoked_revoker = impl::event_revoker::remove_Invoked>; - [[nodiscard]] Invoked_revoker Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Invoked(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Invoked(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -23935,7 +23930,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISwipeItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -23944,7 +23939,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISwipeItemInvokedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeControl) SwipeControl() const; + [[nodiscard]] auto SwipeControl() const; }; template <> struct consume { @@ -23953,13 +23948,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISwipeItemStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IconSourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CommandProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CommandParameterProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BehaviorOnInvokedProperty() const; + [[nodiscard]] auto IconSourceProperty() const; + [[nodiscard]] auto TextProperty() const; + [[nodiscard]] auto BackgroundProperty() const; + [[nodiscard]] auto ForegroundProperty() const; + [[nodiscard]] auto CommandProperty() const; + [[nodiscard]] auto CommandParameterProperty() const; + [[nodiscard]] auto BehaviorOnInvokedProperty() const; }; template <> struct consume { @@ -23968,8 +23963,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISwipeItems { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::UI::Xaml::Controls::SwipeMode const& value) const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::UI::Xaml::Controls::SwipeMode const& value) const; }; template <> struct consume { @@ -23978,7 +23973,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISwipeItemsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItems) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -23987,7 +23982,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISwipeItemsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ModeProperty() const; + [[nodiscard]] auto ModeProperty() const; }; template <> struct consume { @@ -23996,8 +23991,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISymbolIcon { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Symbol) Symbol() const; - WINRT_IMPL_AUTO(void) Symbol(winrt::Windows::UI::Xaml::Controls::Symbol const& value) const; + [[nodiscard]] auto Symbol() const; + auto Symbol(winrt::Windows::UI::Xaml::Controls::Symbol const& value) const; }; template <> struct consume { @@ -24006,7 +24001,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISymbolIconFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SymbolIcon) CreateInstanceWithSymbol(winrt::Windows::UI::Xaml::Controls::Symbol const& symbol) const; + auto CreateInstanceWithSymbol(winrt::Windows::UI::Xaml::Controls::Symbol const& symbol) const; }; template <> struct consume { @@ -24015,8 +24010,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISymbolIconSource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Symbol) Symbol() const; - WINRT_IMPL_AUTO(void) Symbol(winrt::Windows::UI::Xaml::Controls::Symbol const& value) const; + [[nodiscard]] auto Symbol() const; + auto Symbol(winrt::Windows::UI::Xaml::Controls::Symbol const& value) const; }; template <> struct consume { @@ -24025,7 +24020,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISymbolIconSourceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SymbolIconSource) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -24034,7 +24029,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISymbolIconSourceStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SymbolProperty() const; + [[nodiscard]] auto SymbolProperty() const; }; template <> struct consume { @@ -24043,7 +24038,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ISymbolIconStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SymbolProperty() const; + [[nodiscard]] auto SymbolProperty() const; }; template <> struct consume { @@ -24052,54 +24047,54 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBlock { - [[nodiscard]] WINRT_IMPL_AUTO(double) FontSize() const; - WINRT_IMPL_AUTO(void) FontSize(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) FontFamily() const; - WINRT_IMPL_AUTO(void) FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) FontWeight() const; - WINRT_IMPL_AUTO(void) FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) FontStyle() const; - WINRT_IMPL_AUTO(void) FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) FontStretch() const; - WINRT_IMPL_AUTO(void) FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CharacterSpacing() const; - WINRT_IMPL_AUTO(void) CharacterSpacing(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Foreground() const; - WINRT_IMPL_AUTO(void) Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextWrapping) TextWrapping() const; - WINRT_IMPL_AUTO(void) TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextTrimming) TextTrimming() const; - WINRT_IMPL_AUTO(void) TextTrimming(winrt::Windows::UI::Xaml::TextTrimming const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) TextAlignment() const; - WINRT_IMPL_AUTO(void) TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::InlineCollection) Inlines() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) Padding() const; - WINRT_IMPL_AUTO(void) Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) LineHeight() const; - WINRT_IMPL_AUTO(void) LineHeight(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::LineStackingStrategy) LineStackingStrategy() const; - WINRT_IMPL_AUTO(void) LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextSelectionEnabled() const; - WINRT_IMPL_AUTO(void) IsTextSelectionEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SelectedText() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) ContentStart() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) ContentEnd() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) SelectionStart() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) SelectionEnd() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) BaselineOffset() const; - WINRT_IMPL_AUTO(winrt::event_token) SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto FontSize() const; + auto FontSize(double value) const; + [[nodiscard]] auto FontFamily() const; + auto FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; + [[nodiscard]] auto FontWeight() const; + auto FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; + [[nodiscard]] auto FontStyle() const; + auto FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; + [[nodiscard]] auto FontStretch() const; + auto FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const; + [[nodiscard]] auto CharacterSpacing() const; + auto CharacterSpacing(int32_t value) const; + [[nodiscard]] auto Foreground() const; + auto Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto TextWrapping() const; + auto TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const; + [[nodiscard]] auto TextTrimming() const; + auto TextTrimming(winrt::Windows::UI::Xaml::TextTrimming const& value) const; + [[nodiscard]] auto TextAlignment() const; + auto TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto Inlines() const; + [[nodiscard]] auto Padding() const; + auto Padding(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto LineHeight() const; + auto LineHeight(double value) const; + [[nodiscard]] auto LineStackingStrategy() const; + auto LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const; + [[nodiscard]] auto IsTextSelectionEnabled() const; + auto IsTextSelectionEnabled(bool value) const; + [[nodiscard]] auto SelectedText() const; + [[nodiscard]] auto ContentStart() const; + [[nodiscard]] auto ContentEnd() const; + [[nodiscard]] auto SelectionStart() const; + [[nodiscard]] auto SelectionEnd() const; + [[nodiscard]] auto BaselineOffset() const; + auto SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using SelectionChanged_revoker = impl::event_revoker::remove_SelectionChanged>; - [[nodiscard]] SelectionChanged_revoker SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SelectionChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; + [[nodiscard]] auto SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto SelectionChanged(winrt::event_token const& token) const noexcept; + auto ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; using ContextMenuOpening_revoker = impl::event_revoker::remove_ContextMenuOpening>; - [[nodiscard]] ContextMenuOpening_revoker ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContextMenuOpening(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) SelectAll() const; - WINRT_IMPL_AUTO(void) Select(winrt::Windows::UI::Xaml::Documents::TextPointer const& start, winrt::Windows::UI::Xaml::Documents::TextPointer const& end) const; - WINRT_IMPL_AUTO(bool) Focus(winrt::Windows::UI::Xaml::FocusState const& value) const; + [[nodiscard]] auto ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; + auto ContextMenuOpening(winrt::event_token const& token) const noexcept; + auto SelectAll() const; + auto Select(winrt::Windows::UI::Xaml::Documents::TextPointer const& start, winrt::Windows::UI::Xaml::Documents::TextPointer const& end) const; + auto Focus(winrt::Windows::UI::Xaml::FocusState const& value) const; }; template <> struct consume { @@ -24108,18 +24103,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBlock2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) SelectionHighlightColor() const; - WINRT_IMPL_AUTO(void) SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxLines() const; - WINRT_IMPL_AUTO(void) MaxLines(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextLineBounds) TextLineBounds() const; - WINRT_IMPL_AUTO(void) TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::OpticalMarginAlignment) OpticalMarginAlignment() const; - WINRT_IMPL_AUTO(void) OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsColorFontEnabled() const; - WINRT_IMPL_AUTO(void) IsColorFontEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextReadingOrder) TextReadingOrder() const; - WINRT_IMPL_AUTO(void) TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const; + [[nodiscard]] auto SelectionHighlightColor() const; + auto SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; + [[nodiscard]] auto MaxLines() const; + auto MaxLines(int32_t value) const; + [[nodiscard]] auto TextLineBounds() const; + auto TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const; + [[nodiscard]] auto OpticalMarginAlignment() const; + auto OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const; + [[nodiscard]] auto IsColorFontEnabled() const; + auto IsColorFontEnabled(bool value) const; + [[nodiscard]] auto TextReadingOrder() const; + auto TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const; }; template <> struct consume { @@ -24128,8 +24123,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBlock3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextScaleFactorEnabled() const; - WINRT_IMPL_AUTO(void) IsTextScaleFactorEnabled(bool value) const; + [[nodiscard]] auto IsTextScaleFactorEnabled() const; + auto IsTextScaleFactorEnabled(bool value) const; }; template <> struct consume { @@ -24138,7 +24133,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBlock4 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) GetAlphaMask() const; + auto GetAlphaMask() const; }; template <> struct consume { @@ -24147,8 +24142,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBlock5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::TextDecorations) TextDecorations() const; - WINRT_IMPL_AUTO(void) TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const; + [[nodiscard]] auto TextDecorations() const; + auto TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const; }; template <> struct consume { @@ -24157,14 +24152,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBlock6 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextTrimmed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) HorizontalTextAlignment() const; - WINRT_IMPL_AUTO(void) HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) TextHighlighters() const; - WINRT_IMPL_AUTO(winrt::event_token) IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsTextTrimmed() const; + [[nodiscard]] auto HorizontalTextAlignment() const; + auto HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; + [[nodiscard]] auto TextHighlighters() const; + auto IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsTextTrimmedChanged_revoker = impl::event_revoker::remove_IsTextTrimmedChanged>; - [[nodiscard]] IsTextTrimmedChanged_revoker IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsTextTrimmedChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsTextTrimmedChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -24173,9 +24168,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBlock7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) SelectionFlyout() const; - WINRT_IMPL_AUTO(void) SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; - WINRT_IMPL_AUTO(void) CopySelectionToClipboard() const; + [[nodiscard]] auto SelectionFlyout() const; + auto SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; + auto CopySelectionToClipboard() const; }; template <> struct consume { @@ -24184,22 +24179,22 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBlockStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontFamilyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontWeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontStretchProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CharacterSpacingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextWrappingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextTrimmingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PaddingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LineHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LineStackingStrategyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTextSelectionEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedTextProperty() const; + [[nodiscard]] auto FontSizeProperty() const; + [[nodiscard]] auto FontFamilyProperty() const; + [[nodiscard]] auto FontWeightProperty() const; + [[nodiscard]] auto FontStyleProperty() const; + [[nodiscard]] auto FontStretchProperty() const; + [[nodiscard]] auto CharacterSpacingProperty() const; + [[nodiscard]] auto ForegroundProperty() const; + [[nodiscard]] auto TextWrappingProperty() const; + [[nodiscard]] auto TextTrimmingProperty() const; + [[nodiscard]] auto TextAlignmentProperty() const; + [[nodiscard]] auto TextProperty() const; + [[nodiscard]] auto PaddingProperty() const; + [[nodiscard]] auto LineHeightProperty() const; + [[nodiscard]] auto LineStackingStrategyProperty() const; + [[nodiscard]] auto IsTextSelectionEnabledProperty() const; + [[nodiscard]] auto SelectedTextProperty() const; }; template <> struct consume { @@ -24208,12 +24203,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBlockStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionHighlightColorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxLinesProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextLineBoundsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OpticalMarginAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsColorFontEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextReadingOrderProperty() const; + [[nodiscard]] auto SelectionHighlightColorProperty() const; + [[nodiscard]] auto MaxLinesProperty() const; + [[nodiscard]] auto TextLineBoundsProperty() const; + [[nodiscard]] auto OpticalMarginAlignmentProperty() const; + [[nodiscard]] auto IsColorFontEnabledProperty() const; + [[nodiscard]] auto TextReadingOrderProperty() const; }; template <> struct consume { @@ -24222,7 +24217,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBlockStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTextScaleFactorEnabledProperty() const; + [[nodiscard]] auto IsTextScaleFactorEnabledProperty() const; }; template <> struct consume { @@ -24231,7 +24226,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBlockStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextDecorationsProperty() const; + [[nodiscard]] auto TextDecorationsProperty() const; }; template <> struct consume { @@ -24240,8 +24235,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBlockStatics6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTextTrimmedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalTextAlignmentProperty() const; + [[nodiscard]] auto IsTextTrimmedProperty() const; + [[nodiscard]] auto HorizontalTextAlignmentProperty() const; }; template <> struct consume { @@ -24250,7 +24245,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBlockStatics7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionFlyoutProperty() const; + [[nodiscard]] auto SelectionFlyoutProperty() const; }; template <> struct consume { @@ -24259,45 +24254,45 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBox { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SelectedText() const; - WINRT_IMPL_AUTO(void) SelectedText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SelectionLength() const; - WINRT_IMPL_AUTO(void) SelectionLength(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SelectionStart() const; - WINRT_IMPL_AUTO(void) SelectionStart(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxLength() const; - WINRT_IMPL_AUTO(void) MaxLength(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadOnly() const; - WINRT_IMPL_AUTO(void) IsReadOnly(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AcceptsReturn() const; - WINRT_IMPL_AUTO(void) AcceptsReturn(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) TextAlignment() const; - WINRT_IMPL_AUTO(void) TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextWrapping) TextWrapping() const; - WINRT_IMPL_AUTO(void) TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSpellCheckEnabled() const; - WINRT_IMPL_AUTO(void) IsSpellCheckEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextPredictionEnabled() const; - WINRT_IMPL_AUTO(void) IsTextPredictionEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InputScope) InputScope() const; - WINRT_IMPL_AUTO(void) InputScope(winrt::Windows::UI::Xaml::Input::InputScope const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) TextChanged(winrt::Windows::UI::Xaml::Controls::TextChangedEventHandler const& handler) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto SelectedText() const; + auto SelectedText(param::hstring const& value) const; + [[nodiscard]] auto SelectionLength() const; + auto SelectionLength(int32_t value) const; + [[nodiscard]] auto SelectionStart() const; + auto SelectionStart(int32_t value) const; + [[nodiscard]] auto MaxLength() const; + auto MaxLength(int32_t value) const; + [[nodiscard]] auto IsReadOnly() const; + auto IsReadOnly(bool value) const; + [[nodiscard]] auto AcceptsReturn() const; + auto AcceptsReturn(bool value) const; + [[nodiscard]] auto TextAlignment() const; + auto TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; + [[nodiscard]] auto TextWrapping() const; + auto TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const; + [[nodiscard]] auto IsSpellCheckEnabled() const; + auto IsSpellCheckEnabled(bool value) const; + [[nodiscard]] auto IsTextPredictionEnabled() const; + auto IsTextPredictionEnabled(bool value) const; + [[nodiscard]] auto InputScope() const; + auto InputScope(winrt::Windows::UI::Xaml::Input::InputScope const& value) const; + auto TextChanged(winrt::Windows::UI::Xaml::Controls::TextChangedEventHandler const& handler) const; using TextChanged_revoker = impl::event_revoker::remove_TextChanged>; - [[nodiscard]] TextChanged_revoker TextChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TextChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto TextChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextChangedEventHandler const& handler) const; + auto TextChanged(winrt::event_token const& token) const noexcept; + auto SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using SelectionChanged_revoker = impl::event_revoker::remove_SelectionChanged>; - [[nodiscard]] SelectionChanged_revoker SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SelectionChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; + [[nodiscard]] auto SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto SelectionChanged(winrt::event_token const& token) const noexcept; + auto ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; using ContextMenuOpening_revoker = impl::event_revoker::remove_ContextMenuOpening>; - [[nodiscard]] ContextMenuOpening_revoker ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContextMenuOpening(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Select(int32_t start, int32_t length) const; - WINRT_IMPL_AUTO(void) SelectAll() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) GetRectFromCharacterIndex(int32_t charIndex, bool trailingEdge) const; + [[nodiscard]] auto ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const; + auto ContextMenuOpening(winrt::event_token const& token) const noexcept; + auto Select(int32_t start, int32_t length) const; + auto SelectAll() const; + auto GetRectFromCharacterIndex(int32_t charIndex, bool trailingEdge) const; }; template <> struct consume { @@ -24306,22 +24301,22 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBox2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; - WINRT_IMPL_AUTO(void) Header(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) HeaderTemplate() const; - WINRT_IMPL_AUTO(void) HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PlaceholderText() const; - WINRT_IMPL_AUTO(void) PlaceholderText(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) SelectionHighlightColor() const; - WINRT_IMPL_AUTO(void) SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PreventKeyboardDisplayOnProgrammaticFocus() const; - WINRT_IMPL_AUTO(void) PreventKeyboardDisplayOnProgrammaticFocus(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsColorFontEnabled() const; - WINRT_IMPL_AUTO(void) IsColorFontEnabled(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) Paste(winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const; + [[nodiscard]] auto Header() const; + auto Header(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto HeaderTemplate() const; + auto HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto PlaceholderText() const; + auto PlaceholderText(param::hstring const& value) const; + [[nodiscard]] auto SelectionHighlightColor() const; + auto SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; + [[nodiscard]] auto PreventKeyboardDisplayOnProgrammaticFocus() const; + auto PreventKeyboardDisplayOnProgrammaticFocus(bool value) const; + [[nodiscard]] auto IsColorFontEnabled() const; + auto IsColorFontEnabled(bool value) const; + auto Paste(winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const; using Paste_revoker = impl::event_revoker::remove_Paste>; - [[nodiscard]] Paste_revoker Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Paste(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const; + auto Paste(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -24330,30 +24325,30 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBox3 { - WINRT_IMPL_AUTO(winrt::event_token) TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TextCompositionStarted_revoker = impl::event_revoker::remove_TextCompositionStarted>; - [[nodiscard]] TextCompositionStarted_revoker TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TextCompositionStarted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TextCompositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextCompositionStarted(winrt::event_token const& token) const noexcept; + auto TextCompositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TextCompositionChanged_revoker = impl::event_revoker::remove_TextCompositionChanged>; - [[nodiscard]] TextCompositionChanged_revoker TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TextCompositionChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TextCompositionEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextCompositionChanged(winrt::event_token const& token) const noexcept; + auto TextCompositionEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TextCompositionEnded_revoker = impl::event_revoker::remove_TextCompositionEnded>; - [[nodiscard]] TextCompositionEnded_revoker TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TextCompositionEnded(winrt::event_token const& token) const noexcept; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextReadingOrder) TextReadingOrder() const; - WINRT_IMPL_AUTO(void) TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment) DesiredCandidateWindowAlignment() const; - WINRT_IMPL_AUTO(void) DesiredCandidateWindowAlignment(winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) CandidateWindowBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextCompositionEnded(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TextReadingOrder() const; + auto TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const; + [[nodiscard]] auto DesiredCandidateWindowAlignment() const; + auto DesiredCandidateWindowAlignment(winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment const& value) const; + auto CandidateWindowBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CandidateWindowBoundsChanged_revoker = impl::event_revoker::remove_CandidateWindowBoundsChanged>; - [[nodiscard]] CandidateWindowBoundsChanged_revoker CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CandidateWindowBoundsChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TextChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CandidateWindowBoundsChanged(winrt::event_token const& token) const noexcept; + auto TextChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TextChanging_revoker = impl::event_revoker::remove_TextChanging>; - [[nodiscard]] TextChanging_revoker TextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TextChanging(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TextChanging(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -24362,7 +24357,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBox4 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) GetLinguisticAlternativesAsync() const; + auto GetLinguisticAlternativesAsync() const; }; template <> struct consume { @@ -24371,8 +24366,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBox5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) SelectionHighlightColorWhenNotFocused() const; - WINRT_IMPL_AUTO(void) SelectionHighlightColorWhenNotFocused(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; + [[nodiscard]] auto SelectionHighlightColorWhenNotFocused() const; + auto SelectionHighlightColorWhenNotFocused(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const; }; template <> struct consume { @@ -24381,24 +24376,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBox6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) HorizontalTextAlignment() const; - WINRT_IMPL_AUTO(void) HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CharacterCasing) CharacterCasing() const; - WINRT_IMPL_AUTO(void) CharacterCasing(winrt::Windows::UI::Xaml::Controls::CharacterCasing const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) PlaceholderForeground() const; - WINRT_IMPL_AUTO(void) PlaceholderForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) CopyingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto HorizontalTextAlignment() const; + auto HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; + [[nodiscard]] auto CharacterCasing() const; + auto CharacterCasing(winrt::Windows::UI::Xaml::Controls::CharacterCasing const& value) const; + [[nodiscard]] auto PlaceholderForeground() const; + auto PlaceholderForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + auto CopyingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CopyingToClipboard_revoker = impl::event_revoker::remove_CopyingToClipboard>; - [[nodiscard]] CopyingToClipboard_revoker CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CopyingToClipboard(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CuttingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CopyingToClipboard(winrt::event_token const& token) const noexcept; + auto CuttingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CuttingToClipboard_revoker = impl::event_revoker::remove_CuttingToClipboard>; - [[nodiscard]] CuttingToClipboard_revoker CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CuttingToClipboard(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BeforeTextChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CuttingToClipboard(winrt::event_token const& token) const noexcept; + auto BeforeTextChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using BeforeTextChanging_revoker = impl::event_revoker::remove_BeforeTextChanging>; - [[nodiscard]] BeforeTextChanging_revoker BeforeTextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BeforeTextChanging(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto BeforeTextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BeforeTextChanging(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -24407,10 +24402,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBox7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HandwritingView) HandwritingView() const; - WINRT_IMPL_AUTO(void) HandwritingView(winrt::Windows::UI::Xaml::Controls::HandwritingView const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsHandwritingViewEnabled() const; - WINRT_IMPL_AUTO(void) IsHandwritingViewEnabled(bool value) const; + [[nodiscard]] auto HandwritingView() const; + auto HandwritingView(winrt::Windows::UI::Xaml::Controls::HandwritingView const& value) const; + [[nodiscard]] auto IsHandwritingViewEnabled() const; + auto IsHandwritingViewEnabled(bool value) const; }; template <> struct consume { @@ -24419,24 +24414,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBox8 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanPasteClipboardContent() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanUndo() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanRedo() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) SelectionFlyout() const; - WINRT_IMPL_AUTO(void) SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) ProofingMenuFlyout() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Description() const; - WINRT_IMPL_AUTO(void) Description(winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) SelectionChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CanPasteClipboardContent() const; + [[nodiscard]] auto CanUndo() const; + [[nodiscard]] auto CanRedo() const; + [[nodiscard]] auto SelectionFlyout() const; + auto SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; + [[nodiscard]] auto ProofingMenuFlyout() const; + [[nodiscard]] auto Description() const; + auto Description(winrt::Windows::Foundation::IInspectable const& value) const; + auto SelectionChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SelectionChanging_revoker = impl::event_revoker::remove_SelectionChanging>; - [[nodiscard]] SelectionChanging_revoker SelectionChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SelectionChanging(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) Undo() const; - WINRT_IMPL_AUTO(void) Redo() const; - WINRT_IMPL_AUTO(void) PasteFromClipboard() const; - WINRT_IMPL_AUTO(void) CopySelectionToClipboard() const; - WINRT_IMPL_AUTO(void) CutSelectionToClipboard() const; - WINRT_IMPL_AUTO(void) ClearUndoRedoHistory() const; + [[nodiscard]] auto SelectionChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SelectionChanging(winrt::event_token const& token) const noexcept; + auto Undo() const; + auto Redo() const; + auto PasteFromClipboard() const; + auto CopySelectionToClipboard() const; + auto CutSelectionToClipboard() const; + auto ClearUndoRedoHistory() const; }; template <> struct consume { @@ -24445,9 +24440,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBoxBeforeTextChangingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NewText() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; + [[nodiscard]] auto NewText() const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; }; template <> struct consume { @@ -24456,7 +24451,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBoxFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TextBox) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -24465,10 +24460,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SelectionStart() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SelectionLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; + [[nodiscard]] auto SelectionStart() const; + [[nodiscard]] auto SelectionLength() const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; }; template <> struct consume { @@ -24477,15 +24472,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBoxStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxLengthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsReadOnlyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AcceptsReturnProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextWrappingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSpellCheckEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTextPredictionEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) InputScopeProperty() const; + [[nodiscard]] auto TextProperty() const; + [[nodiscard]] auto MaxLengthProperty() const; + [[nodiscard]] auto IsReadOnlyProperty() const; + [[nodiscard]] auto AcceptsReturnProperty() const; + [[nodiscard]] auto TextAlignmentProperty() const; + [[nodiscard]] auto TextWrappingProperty() const; + [[nodiscard]] auto IsSpellCheckEnabledProperty() const; + [[nodiscard]] auto IsTextPredictionEnabledProperty() const; + [[nodiscard]] auto InputScopeProperty() const; }; template <> struct consume { @@ -24494,12 +24489,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBoxStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlaceholderTextProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionHighlightColorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PreventKeyboardDisplayOnProgrammaticFocusProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsColorFontEnabledProperty() const; + [[nodiscard]] auto HeaderProperty() const; + [[nodiscard]] auto HeaderTemplateProperty() const; + [[nodiscard]] auto PlaceholderTextProperty() const; + [[nodiscard]] auto SelectionHighlightColorProperty() const; + [[nodiscard]] auto PreventKeyboardDisplayOnProgrammaticFocusProperty() const; + [[nodiscard]] auto IsColorFontEnabledProperty() const; }; template <> struct consume { @@ -24508,8 +24503,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBoxStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DesiredCandidateWindowAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextReadingOrderProperty() const; + [[nodiscard]] auto DesiredCandidateWindowAlignmentProperty() const; + [[nodiscard]] auto TextReadingOrderProperty() const; }; template <> struct consume { @@ -24518,7 +24513,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBoxStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionHighlightColorWhenNotFocusedProperty() const; + [[nodiscard]] auto SelectionHighlightColorWhenNotFocusedProperty() const; }; template <> struct consume { @@ -24527,9 +24522,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBoxStatics6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalTextAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CharacterCasingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlaceholderForegroundProperty() const; + [[nodiscard]] auto HorizontalTextAlignmentProperty() const; + [[nodiscard]] auto CharacterCasingProperty() const; + [[nodiscard]] auto PlaceholderForegroundProperty() const; }; template <> struct consume { @@ -24538,8 +24533,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBoxStatics7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HandwritingViewProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsHandwritingViewEnabledProperty() const; + [[nodiscard]] auto HandwritingViewProperty() const; + [[nodiscard]] auto IsHandwritingViewEnabledProperty() const; }; template <> struct consume { @@ -24548,12 +24543,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBoxStatics8 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanPasteClipboardContentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanUndoProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanRedoProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionFlyoutProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ProofingMenuFlyoutProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DescriptionProperty() const; + [[nodiscard]] auto CanPasteClipboardContentProperty() const; + [[nodiscard]] auto CanUndoProperty() const; + [[nodiscard]] auto CanRedoProperty() const; + [[nodiscard]] auto SelectionFlyoutProperty() const; + [[nodiscard]] auto ProofingMenuFlyoutProperty() const; + [[nodiscard]] auto DescriptionProperty() const; }; template <> struct consume { @@ -24570,7 +24565,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextBoxTextChangingEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsContentChanging() const; + [[nodiscard]] auto IsContentChanging() const; }; template <> struct consume { @@ -24595,7 +24590,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextCommandBarFlyoutFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TextCommandBarFlyout) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -24604,8 +24599,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextCompositionChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) StartIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Length() const; + [[nodiscard]] auto StartIndex() const; + [[nodiscard]] auto Length() const; }; template <> struct consume { @@ -24614,8 +24609,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextCompositionEndedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) StartIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Length() const; + [[nodiscard]] auto StartIndex() const; + [[nodiscard]] auto Length() const; }; template <> struct consume { @@ -24624,8 +24619,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextCompositionStartedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) StartIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Length() const; + [[nodiscard]] auto StartIndex() const; + [[nodiscard]] auto Length() const; }; template <> struct consume { @@ -24634,8 +24629,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextControlCopyingToClipboardEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -24644,8 +24639,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextControlCuttingToClipboardEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -24654,8 +24649,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITextControlPasteEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -24664,8 +24659,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITimePickedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) OldTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) NewTime() const; + [[nodiscard]] auto OldTime() const; + [[nodiscard]] auto NewTime() const; }; template <> struct consume { @@ -24674,20 +24669,20 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITimePicker { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; - WINRT_IMPL_AUTO(void) Header(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) HeaderTemplate() const; - WINRT_IMPL_AUTO(void) HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ClockIdentifier() const; - WINRT_IMPL_AUTO(void) ClockIdentifier(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MinuteIncrement() const; - WINRT_IMPL_AUTO(void) MinuteIncrement(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Time() const; - WINRT_IMPL_AUTO(void) Time(winrt::Windows::Foundation::TimeSpan const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) TimeChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto Header() const; + auto Header(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto HeaderTemplate() const; + auto HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto ClockIdentifier() const; + auto ClockIdentifier(param::hstring const& value) const; + [[nodiscard]] auto MinuteIncrement() const; + auto MinuteIncrement(int32_t value) const; + [[nodiscard]] auto Time() const; + auto Time(winrt::Windows::Foundation::TimeSpan const& value) const; + auto TimeChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using TimeChanged_revoker = impl::event_revoker::remove_TimeChanged>; - [[nodiscard]] TimeChanged_revoker TimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TimeChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto TimeChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -24696,8 +24691,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITimePicker2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) LightDismissOverlayMode() const; - WINRT_IMPL_AUTO(void) LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; + [[nodiscard]] auto LightDismissOverlayMode() const; + auto LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; }; template <> struct consume { @@ -24706,12 +24701,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITimePicker3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SelectedTime() const; - WINRT_IMPL_AUTO(void) SelectedTime(winrt::Windows::Foundation::IReference const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) SelectedTimeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto SelectedTime() const; + auto SelectedTime(winrt::Windows::Foundation::IReference const& value) const; + auto SelectedTimeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SelectedTimeChanged_revoker = impl::event_revoker::remove_SelectedTimeChanged>; - [[nodiscard]] SelectedTimeChanged_revoker SelectedTimeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SelectedTimeChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SelectedTimeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SelectedTimeChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -24720,7 +24715,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITimePickerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TimePicker) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -24729,17 +24724,17 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITimePickerFlyout { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ClockIdentifier() const; - WINRT_IMPL_AUTO(void) ClockIdentifier(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Time() const; - WINRT_IMPL_AUTO(void) Time(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MinuteIncrement() const; - WINRT_IMPL_AUTO(void) MinuteIncrement(int32_t value) const; - WINRT_IMPL_AUTO(winrt::event_token) TimePicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ClockIdentifier() const; + auto ClockIdentifier(param::hstring const& value) const; + [[nodiscard]] auto Time() const; + auto Time(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto MinuteIncrement() const; + auto MinuteIncrement(int32_t value) const; + auto TimePicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TimePicked_revoker = impl::event_revoker::remove_TimePicked>; - [[nodiscard]] TimePicked_revoker TimePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TimePicked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation>) ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const; + [[nodiscard]] auto TimePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TimePicked(winrt::event_token const& token) const noexcept; + auto ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const; }; template <> struct consume { @@ -24756,8 +24751,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutPresenter2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDefaultShadowEnabled() const; - WINRT_IMPL_AUTO(void) IsDefaultShadowEnabled(bool value) const; + [[nodiscard]] auto IsDefaultShadowEnabled() const; + auto IsDefaultShadowEnabled(bool value) const; }; template <> struct consume { @@ -24766,7 +24761,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutPresenterStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsDefaultShadowEnabledProperty() const; + [[nodiscard]] auto IsDefaultShadowEnabledProperty() const; }; template <> struct consume { @@ -24775,9 +24770,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ClockIdentifierProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TimeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinuteIncrementProperty() const; + [[nodiscard]] auto ClockIdentifierProperty() const; + [[nodiscard]] auto TimeProperty() const; + [[nodiscard]] auto MinuteIncrementProperty() const; }; template <> struct consume { @@ -24786,8 +24781,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITimePickerSelectedValueChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) OldTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) NewTime() const; + [[nodiscard]] auto OldTime() const; + [[nodiscard]] auto NewTime() const; }; template <> struct consume { @@ -24796,11 +24791,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITimePickerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ClockIdentifierProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinuteIncrementProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TimeProperty() const; + [[nodiscard]] auto HeaderProperty() const; + [[nodiscard]] auto HeaderTemplateProperty() const; + [[nodiscard]] auto ClockIdentifierProperty() const; + [[nodiscard]] auto MinuteIncrementProperty() const; + [[nodiscard]] auto TimeProperty() const; }; template <> struct consume { @@ -24809,7 +24804,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITimePickerStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LightDismissOverlayModeProperty() const; + [[nodiscard]] auto LightDismissOverlayModeProperty() const; }; template <> struct consume { @@ -24818,7 +24813,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITimePickerStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedTimeProperty() const; + [[nodiscard]] auto SelectedTimeProperty() const; }; template <> struct consume { @@ -24827,8 +24822,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITimePickerValueChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) OldTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) NewTime() const; + [[nodiscard]] auto OldTime() const; + [[nodiscard]] auto NewTime() const; }; template <> struct consume { @@ -24837,8 +24832,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItem { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsChecked() const; - WINRT_IMPL_AUTO(void) IsChecked(bool value) const; + [[nodiscard]] auto IsChecked() const; + auto IsChecked(bool value) const; }; template <> struct consume { @@ -24847,7 +24842,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ToggleMenuFlyoutItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -24856,7 +24851,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItemStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsCheckedProperty() const; + [[nodiscard]] auto IsCheckedProperty() const; }; template <> struct consume { @@ -24865,12 +24860,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IToggleSplitButton { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsChecked() const; - WINRT_IMPL_AUTO(void) IsChecked(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) IsCheckedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsChecked() const; + auto IsChecked(bool value) const; + auto IsCheckedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsCheckedChanged_revoker = impl::event_revoker::remove_IsCheckedChanged>; - [[nodiscard]] IsCheckedChanged_revoker IsCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsCheckedChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto IsCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsCheckedChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -24887,7 +24882,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IToggleSplitButtonAutomationPeerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ToggleSplitButtonAutomationPeer) CreateInstance(winrt::Windows::UI::Xaml::Controls::ToggleSplitButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::UI::Xaml::Controls::ToggleSplitButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -24896,7 +24891,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IToggleSplitButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ToggleSplitButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -24913,25 +24908,25 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IToggleSwitch { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOn() const; - WINRT_IMPL_AUTO(void) IsOn(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; - WINRT_IMPL_AUTO(void) Header(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) HeaderTemplate() const; - WINRT_IMPL_AUTO(void) HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) OnContent() const; - WINRT_IMPL_AUTO(void) OnContent(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) OnContentTemplate() const; - WINRT_IMPL_AUTO(void) OnContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) OffContent() const; - WINRT_IMPL_AUTO(void) OffContent(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) OffContentTemplate() const; - WINRT_IMPL_AUTO(void) OffContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ToggleSwitchTemplateSettings) TemplateSettings() const; - WINRT_IMPL_AUTO(winrt::event_token) Toggled(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto IsOn() const; + auto IsOn(bool value) const; + [[nodiscard]] auto Header() const; + auto Header(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto HeaderTemplate() const; + auto HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto OnContent() const; + auto OnContent(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto OnContentTemplate() const; + auto OnContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto OffContent() const; + auto OffContent(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto OffContentTemplate() const; + auto OffContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto TemplateSettings() const; + auto Toggled(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using Toggled_revoker = impl::event_revoker::remove_Toggled>; - [[nodiscard]] Toggled_revoker Toggled(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Toggled(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Toggled(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto Toggled(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -24940,10 +24935,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides { - WINRT_IMPL_AUTO(void) OnToggled() const; - WINRT_IMPL_AUTO(void) OnOnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const; - WINRT_IMPL_AUTO(void) OnOffContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const; - WINRT_IMPL_AUTO(void) OnHeaderChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const; + auto OnToggled() const; + auto OnOnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const; + auto OnOffContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const; + auto OnHeaderChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const; }; template <> struct consume { @@ -24952,13 +24947,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsOnProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeaderTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OnContentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OnContentTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OffContentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OffContentTemplateProperty() const; + [[nodiscard]] auto IsOnProperty() const; + [[nodiscard]] auto HeaderProperty() const; + [[nodiscard]] auto HeaderTemplateProperty() const; + [[nodiscard]] auto OnContentProperty() const; + [[nodiscard]] auto OnContentTemplateProperty() const; + [[nodiscard]] auto OffContentProperty() const; + [[nodiscard]] auto OffContentTemplateProperty() const; }; template <> struct consume { @@ -24967,25 +24962,25 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IToolTip { - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalOffset() const; - WINRT_IMPL_AUTO(void) HorizontalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOpen() const; - WINRT_IMPL_AUTO(void) IsOpen(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode) Placement() const; - WINRT_IMPL_AUTO(void) Placement(winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) PlacementTarget() const; - WINRT_IMPL_AUTO(void) PlacementTarget(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalOffset() const; - WINRT_IMPL_AUTO(void) VerticalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ToolTipTemplateSettings) TemplateSettings() const; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto HorizontalOffset() const; + auto HorizontalOffset(double value) const; + [[nodiscard]] auto IsOpen() const; + auto IsOpen(bool value) const; + [[nodiscard]] auto Placement() const; + auto Placement(winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode const& value) const; + [[nodiscard]] auto PlacementTarget() const; + auto PlacementTarget(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto VerticalOffset() const; + auto VerticalOffset(double value) const; + [[nodiscard]] auto TemplateSettings() const; + auto Closed(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Opened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + auto Opened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using Opened_revoker = impl::event_revoker::remove_Opened>; - [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Opened(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto Opened(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -24994,8 +24989,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IToolTip2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PlacementRect() const; - WINRT_IMPL_AUTO(void) PlacementRect(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto PlacementRect() const; + auto PlacementRect(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -25004,7 +24999,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IToolTipFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ToolTip) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -25021,15 +25016,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlacementProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode) GetPlacement(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetPlacement(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlacementTargetProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) GetPlacementTarget(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetPlacementTarget(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ToolTipProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetToolTip(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetToolTip(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto PlacementProperty() const; + auto GetPlacement(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetPlacement(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode const& value) const; + [[nodiscard]] auto PlacementTargetProperty() const; + auto GetPlacementTarget(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetPlacementTarget(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto ToolTipProperty() const; + auto GetToolTip(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetToolTip(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -25038,11 +25033,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IToolTipStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsOpenProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlacementProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlacementTargetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalOffsetProperty() const; + [[nodiscard]] auto HorizontalOffsetProperty() const; + [[nodiscard]] auto IsOpenProperty() const; + [[nodiscard]] auto PlacementProperty() const; + [[nodiscard]] auto PlacementTargetProperty() const; + [[nodiscard]] auto VerticalOffsetProperty() const; }; template <> struct consume { @@ -25051,7 +25046,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IToolTipStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlacementRectProperty() const; + [[nodiscard]] auto PlacementRectProperty() const; }; template <> struct consume { @@ -25060,25 +25055,25 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeView { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) RootNodes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewSelectionMode) SelectionMode() const; - WINRT_IMPL_AUTO(void) SelectionMode(winrt::Windows::UI::Xaml::Controls::TreeViewSelectionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) SelectedNodes() const; - WINRT_IMPL_AUTO(void) Expand(winrt::Windows::UI::Xaml::Controls::TreeViewNode const& value) const; - WINRT_IMPL_AUTO(void) Collapse(winrt::Windows::UI::Xaml::Controls::TreeViewNode const& value) const; - WINRT_IMPL_AUTO(void) SelectAll() const; - WINRT_IMPL_AUTO(winrt::event_token) ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto RootNodes() const; + [[nodiscard]] auto SelectionMode() const; + auto SelectionMode(winrt::Windows::UI::Xaml::Controls::TreeViewSelectionMode const& value) const; + [[nodiscard]] auto SelectedNodes() const; + auto Expand(winrt::Windows::UI::Xaml::Controls::TreeViewNode const& value) const; + auto Collapse(winrt::Windows::UI::Xaml::Controls::TreeViewNode const& value) const; + auto SelectAll() const; + auto ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ItemInvoked_revoker = impl::event_revoker::remove_ItemInvoked>; - [[nodiscard]] ItemInvoked_revoker ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ItemInvoked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Expanding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ItemInvoked(winrt::event_token const& token) const noexcept; + auto Expanding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Expanding_revoker = impl::event_revoker::remove_Expanding>; - [[nodiscard]] Expanding_revoker Expanding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Expanding(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Collapsed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Expanding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Expanding(winrt::event_token const& token) const noexcept; + auto Collapsed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Collapsed_revoker = impl::event_revoker::remove_Collapsed>; - [[nodiscard]] Collapsed_revoker Collapsed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Collapsed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Collapsed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Collapsed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -25087,34 +25082,34 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeView2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewNode) NodeFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) ContainerFromNode(winrt::Windows::UI::Xaml::Controls::TreeViewNode const& node) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanDragItems() const; - WINRT_IMPL_AUTO(void) CanDragItems(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanReorderItems() const; - WINRT_IMPL_AUTO(void) CanReorderItems(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) ItemTemplate() const; - WINRT_IMPL_AUTO(void) ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) ItemTemplateSelector() const; - WINRT_IMPL_AUTO(void) ItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) ItemContainerStyle() const; - WINRT_IMPL_AUTO(void) ItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StyleSelector) ItemContainerStyleSelector() const; - WINRT_IMPL_AUTO(void) ItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) ItemContainerTransitions() const; - WINRT_IMPL_AUTO(void) ItemContainerTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ItemsSource() const; - WINRT_IMPL_AUTO(void) ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) DragItemsStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NodeFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; + auto ContainerFromNode(winrt::Windows::UI::Xaml::Controls::TreeViewNode const& node) const; + auto ItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const; + auto ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const; + [[nodiscard]] auto CanDragItems() const; + auto CanDragItems(bool value) const; + [[nodiscard]] auto CanReorderItems() const; + auto CanReorderItems(bool value) const; + [[nodiscard]] auto ItemTemplate() const; + auto ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto ItemTemplateSelector() const; + auto ItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const; + [[nodiscard]] auto ItemContainerStyle() const; + auto ItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const; + [[nodiscard]] auto ItemContainerStyleSelector() const; + auto ItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const; + [[nodiscard]] auto ItemContainerTransitions() const; + auto ItemContainerTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; + [[nodiscard]] auto ItemsSource() const; + auto ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const; + auto DragItemsStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DragItemsStarting_revoker = impl::event_revoker::remove_DragItemsStarting>; - [[nodiscard]] DragItemsStarting_revoker DragItemsStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DragItemsStarting(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DragItemsCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DragItemsStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DragItemsStarting(winrt::event_token const& token) const noexcept; + auto DragItemsCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DragItemsCompleted_revoker = impl::event_revoker::remove_DragItemsCompleted>; - [[nodiscard]] DragItemsCompleted_revoker DragItemsCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DragItemsCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto DragItemsCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DragItemsCompleted(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -25123,7 +25118,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewCollapsedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewNode) Node() const; + [[nodiscard]] auto Node() const; }; template <> struct consume { @@ -25132,7 +25127,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewCollapsedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Item() const; + [[nodiscard]] auto Item() const; }; template <> struct consume { @@ -25141,8 +25136,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) DropResult() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Items() const; + [[nodiscard]] auto DropResult() const; + [[nodiscard]] auto Items() const; }; template <> struct consume { @@ -25151,10 +25146,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) Data() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Items() const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; + [[nodiscard]] auto Data() const; + [[nodiscard]] auto Items() const; }; template <> struct consume { @@ -25163,7 +25158,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewExpandingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewNode) Node() const; + [[nodiscard]] auto Node() const; }; template <> struct consume { @@ -25172,7 +25167,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewExpandingEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Item() const; + [[nodiscard]] auto Item() const; }; template <> struct consume { @@ -25181,7 +25176,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeView) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -25190,19 +25185,19 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewItem { - [[nodiscard]] WINRT_IMPL_AUTO(double) GlyphOpacity() const; - WINRT_IMPL_AUTO(void) GlyphOpacity(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) GlyphBrush() const; - WINRT_IMPL_AUTO(void) GlyphBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExpandedGlyph() const; - WINRT_IMPL_AUTO(void) ExpandedGlyph(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CollapsedGlyph() const; - WINRT_IMPL_AUTO(void) CollapsedGlyph(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) GlyphSize() const; - WINRT_IMPL_AUTO(void) GlyphSize(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsExpanded() const; - WINRT_IMPL_AUTO(void) IsExpanded(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewItemTemplateSettings) TreeViewItemTemplateSettings() const; + [[nodiscard]] auto GlyphOpacity() const; + auto GlyphOpacity(double value) const; + [[nodiscard]] auto GlyphBrush() const; + auto GlyphBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto ExpandedGlyph() const; + auto ExpandedGlyph(param::hstring const& value) const; + [[nodiscard]] auto CollapsedGlyph() const; + auto CollapsedGlyph(param::hstring const& value) const; + [[nodiscard]] auto GlyphSize() const; + auto GlyphSize(double value) const; + [[nodiscard]] auto IsExpanded() const; + auto IsExpanded(bool value) const; + [[nodiscard]] auto TreeViewItemTemplateSettings() const; }; template <> struct consume { @@ -25211,10 +25206,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewItem2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasUnrealizedChildren() const; - WINRT_IMPL_AUTO(void) HasUnrealizedChildren(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ItemsSource() const; - WINRT_IMPL_AUTO(void) ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto HasUnrealizedChildren() const; + auto HasUnrealizedChildren(bool value) const; + [[nodiscard]] auto ItemsSource() const; + auto ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -25223,7 +25218,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -25232,9 +25227,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewItemInvokedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) InvokedItem() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; + [[nodiscard]] auto InvokedItem() const; + auto Handled(bool value) const; + [[nodiscard]] auto Handled() const; }; template <> struct consume { @@ -25243,13 +25238,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GlyphOpacityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GlyphBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ExpandedGlyphProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CollapsedGlyphProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GlyphSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsExpandedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TreeViewItemTemplateSettingsProperty() const; + [[nodiscard]] auto GlyphOpacityProperty() const; + [[nodiscard]] auto GlyphBrushProperty() const; + [[nodiscard]] auto ExpandedGlyphProperty() const; + [[nodiscard]] auto CollapsedGlyphProperty() const; + [[nodiscard]] auto GlyphSizeProperty() const; + [[nodiscard]] auto IsExpandedProperty() const; + [[nodiscard]] auto TreeViewItemTemplateSettingsProperty() const; }; template <> struct consume { @@ -25258,8 +25253,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HasUnrealizedChildrenProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemsSourceProperty() const; + [[nodiscard]] auto HasUnrealizedChildrenProperty() const; + [[nodiscard]] auto ItemsSourceProperty() const; }; template <> struct consume { @@ -25268,10 +25263,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) ExpandedGlyphVisibility() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) CollapsedGlyphVisibility() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) Indentation() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DragItemsCount() const; + [[nodiscard]] auto ExpandedGlyphVisibility() const; + [[nodiscard]] auto CollapsedGlyphVisibility() const; + [[nodiscard]] auto Indentation() const; + [[nodiscard]] auto DragItemsCount() const; }; template <> struct consume { @@ -25280,7 +25275,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewItemTemplateSettings) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -25289,10 +25284,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ExpandedGlyphVisibilityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CollapsedGlyphVisibilityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IndentationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DragItemsCountProperty() const; + [[nodiscard]] auto ExpandedGlyphVisibilityProperty() const; + [[nodiscard]] auto CollapsedGlyphVisibilityProperty() const; + [[nodiscard]] auto IndentationProperty() const; + [[nodiscard]] auto DragItemsCountProperty() const; }; template <> struct consume { @@ -25309,7 +25304,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewListFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewList) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -25318,16 +25313,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewNode { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Content() const; - WINRT_IMPL_AUTO(void) Content(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewNode) Parent() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsExpanded() const; - WINRT_IMPL_AUTO(void) IsExpanded(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasChildren() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Depth() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasUnrealizedChildren() const; - WINRT_IMPL_AUTO(void) HasUnrealizedChildren(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Children() const; + [[nodiscard]] auto Content() const; + auto Content(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto Parent() const; + [[nodiscard]] auto IsExpanded() const; + auto IsExpanded(bool value) const; + [[nodiscard]] auto HasChildren() const; + [[nodiscard]] auto Depth() const; + [[nodiscard]] auto HasUnrealizedChildren() const; + auto HasUnrealizedChildren(bool value) const; + [[nodiscard]] auto Children() const; }; template <> struct consume { @@ -25336,7 +25331,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewNodeFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewNode) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -25345,10 +25340,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DepthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsExpandedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HasChildrenProperty() const; + [[nodiscard]] auto ContentProperty() const; + [[nodiscard]] auto DepthProperty() const; + [[nodiscard]] auto IsExpandedProperty() const; + [[nodiscard]] auto HasChildrenProperty() const; }; template <> struct consume { @@ -25357,7 +25352,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionModeProperty() const; + [[nodiscard]] auto SelectionModeProperty() const; }; template <> struct consume { @@ -25366,14 +25361,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITreeViewStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanDragItemsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanReorderItemsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemTemplateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemTemplateSelectorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemContainerStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemContainerStyleSelectorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemContainerTransitionsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemsSourceProperty() const; + [[nodiscard]] auto CanDragItemsProperty() const; + [[nodiscard]] auto CanReorderItemsProperty() const; + [[nodiscard]] auto ItemTemplateProperty() const; + [[nodiscard]] auto ItemTemplateSelectorProperty() const; + [[nodiscard]] auto ItemContainerStyleProperty() const; + [[nodiscard]] auto ItemContainerStyleSelectorProperty() const; + [[nodiscard]] auto ItemContainerTransitionsProperty() const; + [[nodiscard]] auto ItemsSourceProperty() const; }; template <> struct consume { @@ -25382,29 +25377,29 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITwoPaneView { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Pane1() const; - WINRT_IMPL_AUTO(void) Pane1(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Pane2() const; - WINRT_IMPL_AUTO(void) Pane2(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) Pane1Length() const; - WINRT_IMPL_AUTO(void) Pane1Length(winrt::Windows::UI::Xaml::GridLength const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) Pane2Length() const; - WINRT_IMPL_AUTO(void) Pane2Length(winrt::Windows::UI::Xaml::GridLength const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TwoPaneViewPriority) PanePriority() const; - WINRT_IMPL_AUTO(void) PanePriority(winrt::Windows::UI::Xaml::Controls::TwoPaneViewPriority const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TwoPaneViewMode) Mode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TwoPaneViewWideModeConfiguration) WideModeConfiguration() const; - WINRT_IMPL_AUTO(void) WideModeConfiguration(winrt::Windows::UI::Xaml::Controls::TwoPaneViewWideModeConfiguration const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TwoPaneViewTallModeConfiguration) TallModeConfiguration() const; - WINRT_IMPL_AUTO(void) TallModeConfiguration(winrt::Windows::UI::Xaml::Controls::TwoPaneViewTallModeConfiguration const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinWideModeWidth() const; - WINRT_IMPL_AUTO(void) MinWideModeWidth(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinTallModeHeight() const; - WINRT_IMPL_AUTO(void) MinTallModeHeight(double value) const; - WINRT_IMPL_AUTO(winrt::event_token) ModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Pane1() const; + auto Pane1(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto Pane2() const; + auto Pane2(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto Pane1Length() const; + auto Pane1Length(winrt::Windows::UI::Xaml::GridLength const& value) const; + [[nodiscard]] auto Pane2Length() const; + auto Pane2Length(winrt::Windows::UI::Xaml::GridLength const& value) const; + [[nodiscard]] auto PanePriority() const; + auto PanePriority(winrt::Windows::UI::Xaml::Controls::TwoPaneViewPriority const& value) const; + [[nodiscard]] auto Mode() const; + [[nodiscard]] auto WideModeConfiguration() const; + auto WideModeConfiguration(winrt::Windows::UI::Xaml::Controls::TwoPaneViewWideModeConfiguration const& value) const; + [[nodiscard]] auto TallModeConfiguration() const; + auto TallModeConfiguration(winrt::Windows::UI::Xaml::Controls::TwoPaneViewTallModeConfiguration const& value) const; + [[nodiscard]] auto MinWideModeWidth() const; + auto MinWideModeWidth(double value) const; + [[nodiscard]] auto MinTallModeHeight() const; + auto MinTallModeHeight(double value) const; + auto ModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ModeChanged_revoker = impl::event_revoker::remove_ModeChanged>; - [[nodiscard]] ModeChanged_revoker ModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ModeChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ModeChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -25413,7 +25408,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITwoPaneViewFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TwoPaneView) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -25422,16 +25417,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Pane1Property() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Pane2Property() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Pane1LengthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Pane2LengthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PanePriorityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) WideModeConfigurationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TallModeConfigurationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinWideModeWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinTallModeHeightProperty() const; + [[nodiscard]] auto Pane1Property() const; + [[nodiscard]] auto Pane2Property() const; + [[nodiscard]] auto Pane1LengthProperty() const; + [[nodiscard]] auto Pane2LengthProperty() const; + [[nodiscard]] auto PanePriorityProperty() const; + [[nodiscard]] auto ModeProperty() const; + [[nodiscard]] auto WideModeConfigurationProperty() const; + [[nodiscard]] auto TallModeConfigurationProperty() const; + [[nodiscard]] auto MinWideModeWidthProperty() const; + [[nodiscard]] auto MinTallModeHeightProperty() const; }; template <> struct consume { @@ -25440,7 +25435,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IUIElementCollection { - WINRT_IMPL_AUTO(void) Move(uint32_t oldIndex, uint32_t newIndex) const; + auto Move(uint32_t oldIndex, uint32_t newIndex) const; }; template <> struct consume { @@ -25449,8 +25444,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IUserControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Content() const; - WINRT_IMPL_AUTO(void) Content(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto Content() const; + auto Content(winrt::Windows::UI::Xaml::UIElement const& value) const; }; template <> struct consume { @@ -25459,7 +25454,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IUserControlFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::UserControl) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -25468,7 +25463,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IUserControlStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentProperty() const; + [[nodiscard]] auto ContentProperty() const; }; template <> struct consume { @@ -25477,18 +25472,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid { - [[nodiscard]] WINRT_IMPL_AUTO(double) ItemHeight() const; - WINRT_IMPL_AUTO(void) ItemHeight(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ItemWidth() const; - WINRT_IMPL_AUTO(void) ItemWidth(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) Orientation() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) HorizontalChildrenAlignment() const; - WINRT_IMPL_AUTO(void) HorizontalChildrenAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) VerticalChildrenAlignment() const; - WINRT_IMPL_AUTO(void) VerticalChildrenAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaximumRowsOrColumns() const; - WINRT_IMPL_AUTO(void) MaximumRowsOrColumns(int32_t value) const; + [[nodiscard]] auto ItemHeight() const; + auto ItemHeight(double value) const; + [[nodiscard]] auto ItemWidth() const; + auto ItemWidth(double value) const; + [[nodiscard]] auto Orientation() const; + auto Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; + [[nodiscard]] auto HorizontalChildrenAlignment() const; + auto HorizontalChildrenAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; + [[nodiscard]] auto VerticalChildrenAlignment() const; + auto VerticalChildrenAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; + [[nodiscard]] auto MaximumRowsOrColumns() const; + auto MaximumRowsOrColumns(int32_t value) const; }; template <> struct consume { @@ -25497,18 +25492,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OrientationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalChildrenAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalChildrenAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaximumRowsOrColumnsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RowSpanProperty() const; - WINRT_IMPL_AUTO(int32_t) GetRowSpan(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetRowSpan(winrt::Windows::UI::Xaml::UIElement const& element, int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ColumnSpanProperty() const; - WINRT_IMPL_AUTO(int32_t) GetColumnSpan(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetColumnSpan(winrt::Windows::UI::Xaml::UIElement const& element, int32_t value) const; + [[nodiscard]] auto ItemHeightProperty() const; + [[nodiscard]] auto ItemWidthProperty() const; + [[nodiscard]] auto OrientationProperty() const; + [[nodiscard]] auto HorizontalChildrenAlignmentProperty() const; + [[nodiscard]] auto VerticalChildrenAlignmentProperty() const; + [[nodiscard]] auto MaximumRowsOrColumnsProperty() const; + [[nodiscard]] auto RowSpanProperty() const; + auto GetRowSpan(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetRowSpan(winrt::Windows::UI::Xaml::UIElement const& element, int32_t value) const; + [[nodiscard]] auto ColumnSpanProperty() const; + auto GetColumnSpan(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetColumnSpan(winrt::Windows::UI::Xaml::UIElement const& element, int32_t value) const; }; template <> struct consume { @@ -25517,12 +25512,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IViewbox { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Child() const; - WINRT_IMPL_AUTO(void) Child(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) Stretch() const; - WINRT_IMPL_AUTO(void) Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StretchDirection) StretchDirection() const; - WINRT_IMPL_AUTO(void) StretchDirection(winrt::Windows::UI::Xaml::Controls::StretchDirection const& value) const; + [[nodiscard]] auto Child() const; + auto Child(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto Stretch() const; + auto Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const; + [[nodiscard]] auto StretchDirection() const; + auto StretchDirection(winrt::Windows::UI::Xaml::Controls::StretchDirection const& value) const; }; template <> struct consume { @@ -25531,8 +25526,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IViewboxStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StretchProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StretchDirectionProperty() const; + [[nodiscard]] auto StretchProperty() const; + [[nodiscard]] auto StretchDirectionProperty() const; }; template <> struct consume { @@ -25541,7 +25536,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IVirtualizingPanel { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemContainerGenerator) ItemContainerGenerator() const; + [[nodiscard]] auto ItemContainerGenerator() const; }; template <> struct consume { @@ -25558,9 +25553,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IVirtualizingPanelOverrides { - WINRT_IMPL_AUTO(void) OnItemsChanged(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnClearChildren() const; - WINRT_IMPL_AUTO(void) BringIndexIntoView(int32_t index) const; + auto OnItemsChanged(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventArgs const& args) const; + auto OnClearChildren() const; + auto BringIndexIntoView(int32_t index) const; }; template <> struct consume { @@ -25569,9 +25564,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IVirtualizingPanelProtected { - WINRT_IMPL_AUTO(void) AddInternalChild(winrt::Windows::UI::Xaml::UIElement const& child) const; - WINRT_IMPL_AUTO(void) InsertInternalChild(int32_t index, winrt::Windows::UI::Xaml::UIElement const& child) const; - WINRT_IMPL_AUTO(void) RemoveInternalChildRange(int32_t index, int32_t range) const; + auto AddInternalChild(winrt::Windows::UI::Xaml::UIElement const& child) const; + auto InsertInternalChild(int32_t index, winrt::Windows::UI::Xaml::UIElement const& child) const; + auto RemoveInternalChildRange(int32_t index, int32_t range) const; }; template <> struct consume { @@ -25580,14 +25575,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreScrollSnapPointsRegular() const; - WINRT_IMPL_AUTO(void) AreScrollSnapPointsRegular(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) Orientation() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) CleanUpVirtualizedItemEvent(winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventHandler const& handler) const; + [[nodiscard]] auto AreScrollSnapPointsRegular() const; + auto AreScrollSnapPointsRegular(bool value) const; + [[nodiscard]] auto Orientation() const; + auto Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; + auto CleanUpVirtualizedItemEvent(winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventHandler const& handler) const; using CleanUpVirtualizedItemEvent_revoker = impl::event_revoker::remove_CleanUpVirtualizedItemEvent>; - [[nodiscard]] CleanUpVirtualizedItemEvent_revoker CleanUpVirtualizedItemEvent(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CleanUpVirtualizedItemEvent(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CleanUpVirtualizedItemEvent(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventHandler const& handler) const; + auto CleanUpVirtualizedItemEvent(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -25596,7 +25591,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelOverrides { - WINRT_IMPL_AUTO(void) OnCleanUpVirtualizedItem(winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventArgs const& e) const; + auto OnCleanUpVirtualizedItem(winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventArgs const& e) const; }; template <> struct consume { @@ -25605,13 +25600,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AreScrollSnapPointsRegularProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OrientationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VirtualizationModeProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::VirtualizationMode) GetVirtualizationMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetVirtualizationMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::VirtualizationMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsVirtualizingProperty() const; - WINRT_IMPL_AUTO(bool) GetIsVirtualizing(winrt::Windows::UI::Xaml::DependencyObject const& o) const; + [[nodiscard]] auto AreScrollSnapPointsRegularProperty() const; + [[nodiscard]] auto OrientationProperty() const; + [[nodiscard]] auto VirtualizationModeProperty() const; + auto GetVirtualizationMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetVirtualizationMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::VirtualizationMode const& value) const; + [[nodiscard]] auto IsVirtualizingProperty() const; + auto GetIsVirtualizing(winrt::Windows::UI::Xaml::DependencyObject const& o) const; }; template <> struct consume { @@ -25620,26 +25615,26 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebView { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) AllowedScriptNotifyUris() const; - WINRT_IMPL_AUTO(void) AllowedScriptNotifyUris(param::vector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) DataTransferPackage() const; - WINRT_IMPL_AUTO(winrt::event_token) LoadCompleted(winrt::Windows::UI::Xaml::Navigation::LoadCompletedEventHandler const& handler) const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto AllowedScriptNotifyUris() const; + auto AllowedScriptNotifyUris(param::vector const& value) const; + [[nodiscard]] auto DataTransferPackage() const; + auto LoadCompleted(winrt::Windows::UI::Xaml::Navigation::LoadCompletedEventHandler const& handler) const; using LoadCompleted_revoker = impl::event_revoker::remove_LoadCompleted>; - [[nodiscard]] LoadCompleted_revoker LoadCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::LoadCompletedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LoadCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ScriptNotify(winrt::Windows::UI::Xaml::Controls::NotifyEventHandler const& handler) const; + [[nodiscard]] auto LoadCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::LoadCompletedEventHandler const& handler) const; + auto LoadCompleted(winrt::event_token const& token) const noexcept; + auto ScriptNotify(winrt::Windows::UI::Xaml::Controls::NotifyEventHandler const& handler) const; using ScriptNotify_revoker = impl::event_revoker::remove_ScriptNotify>; - [[nodiscard]] ScriptNotify_revoker ScriptNotify(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::NotifyEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ScriptNotify(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NavigationFailed(winrt::Windows::UI::Xaml::Controls::WebViewNavigationFailedEventHandler const& handler) const; + [[nodiscard]] auto ScriptNotify(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::NotifyEventHandler const& handler) const; + auto ScriptNotify(winrt::event_token const& token) const noexcept; + auto NavigationFailed(winrt::Windows::UI::Xaml::Controls::WebViewNavigationFailedEventHandler const& handler) const; using NavigationFailed_revoker = impl::event_revoker::remove_NavigationFailed>; - [[nodiscard]] NavigationFailed_revoker NavigationFailed(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::WebViewNavigationFailedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NavigationFailed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(hstring) InvokeScript(param::hstring const& scriptName, array_view arguments) const; - WINRT_IMPL_AUTO(void) Navigate(winrt::Windows::Foundation::Uri const& source) const; - WINRT_IMPL_AUTO(void) NavigateToString(param::hstring const& text) const; + [[nodiscard]] auto NavigationFailed(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::WebViewNavigationFailedEventHandler const& handler) const; + auto NavigationFailed(winrt::event_token const& token) const noexcept; + auto InvokeScript(param::hstring const& scriptName, array_view arguments) const; + auto Navigate(winrt::Windows::Foundation::Uri const& source) const; + auto NavigateToString(param::hstring const& text) const; }; template <> struct consume { @@ -25648,66 +25643,66 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebView2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanGoBack() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanGoForward() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DocumentTitle() const; - WINRT_IMPL_AUTO(winrt::event_token) NavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CanGoBack() const; + [[nodiscard]] auto CanGoForward() const; + [[nodiscard]] auto DocumentTitle() const; + auto NavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NavigationStarting_revoker = impl::event_revoker::remove_NavigationStarting>; - [[nodiscard]] NavigationStarting_revoker NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NavigationStarting(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NavigationStarting(winrt::event_token const& token) const noexcept; + auto ContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ContentLoading_revoker = impl::event_revoker::remove_ContentLoading>; - [[nodiscard]] ContentLoading_revoker ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContentLoading(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ContentLoading(winrt::event_token const& token) const noexcept; + auto DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DOMContentLoaded_revoker = impl::event_revoker::remove_DOMContentLoaded>; - [[nodiscard]] DOMContentLoaded_revoker DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DOMContentLoaded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) GoForward() const; - WINRT_IMPL_AUTO(void) GoBack() const; - WINRT_IMPL_AUTO(void) Refresh() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CapturePreviewToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) InvokeScriptAsync(param::hstring const& scriptName, param::async_iterable const& arguments) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CaptureSelectedContentToDataPackageAsync() const; - WINRT_IMPL_AUTO(void) NavigateToLocalStreamUri(winrt::Windows::Foundation::Uri const& source, winrt::Windows::Web::IUriToStreamResolver const& streamResolver) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) BuildLocalStreamUri(param::hstring const& contentIdentifier, param::hstring const& relativePath) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DefaultBackgroundColor() const; - WINRT_IMPL_AUTO(void) DefaultBackgroundColor(winrt::Windows::UI::Color const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DOMContentLoaded(winrt::event_token const& token) const noexcept; + auto GoForward() const; + auto GoBack() const; + auto Refresh() const; + auto Stop() const; + auto CapturePreviewToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto InvokeScriptAsync(param::hstring const& scriptName, param::async_iterable const& arguments) const; + auto CaptureSelectedContentToDataPackageAsync() const; + auto NavigateToLocalStreamUri(winrt::Windows::Foundation::Uri const& source, winrt::Windows::Web::IUriToStreamResolver const& streamResolver) const; + auto BuildLocalStreamUri(param::hstring const& contentIdentifier, param::hstring const& relativePath) const; + [[nodiscard]] auto DefaultBackgroundColor() const; + auto DefaultBackgroundColor(winrt::Windows::UI::Color const& value) const; + auto NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NavigationCompleted_revoker = impl::event_revoker::remove_NavigationCompleted>; - [[nodiscard]] NavigationCompleted_revoker NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NavigationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) FrameNavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NavigationCompleted(winrt::event_token const& token) const noexcept; + auto FrameNavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FrameNavigationStarting_revoker = impl::event_revoker::remove_FrameNavigationStarting>; - [[nodiscard]] FrameNavigationStarting_revoker FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FrameNavigationStarting(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) FrameContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameNavigationStarting(winrt::event_token const& token) const noexcept; + auto FrameContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FrameContentLoading_revoker = impl::event_revoker::remove_FrameContentLoading>; - [[nodiscard]] FrameContentLoading_revoker FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FrameContentLoading(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) FrameDOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameContentLoading(winrt::event_token const& token) const noexcept; + auto FrameDOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FrameDOMContentLoaded_revoker = impl::event_revoker::remove_FrameDOMContentLoaded>; - [[nodiscard]] FrameDOMContentLoaded_revoker FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FrameDOMContentLoaded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) FrameNavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameDOMContentLoaded(winrt::event_token const& token) const noexcept; + auto FrameNavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FrameNavigationCompleted_revoker = impl::event_revoker::remove_FrameNavigationCompleted>; - [[nodiscard]] FrameNavigationCompleted_revoker FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FrameNavigationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LongRunningScriptDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameNavigationCompleted(winrt::event_token const& token) const noexcept; + auto LongRunningScriptDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LongRunningScriptDetected_revoker = impl::event_revoker::remove_LongRunningScriptDetected>; - [[nodiscard]] LongRunningScriptDetected_revoker LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LongRunningScriptDetected(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) UnsafeContentWarningDisplaying(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LongRunningScriptDetected(winrt::event_token const& token) const noexcept; + auto UnsafeContentWarningDisplaying(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UnsafeContentWarningDisplaying_revoker = impl::event_revoker::remove_UnsafeContentWarningDisplaying>; - [[nodiscard]] UnsafeContentWarningDisplaying_revoker UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UnsafeContentWarningDisplaying(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) UnviewableContentIdentified(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UnsafeContentWarningDisplaying(winrt::event_token const& token) const noexcept; + auto UnviewableContentIdentified(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UnviewableContentIdentified_revoker = impl::event_revoker::remove_UnviewableContentIdentified>; - [[nodiscard]] UnviewableContentIdentified_revoker UnviewableContentIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UnviewableContentIdentified(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) NavigateWithHttpRequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& requestMessage) const; - WINRT_IMPL_AUTO(bool) Focus(winrt::Windows::UI::Xaml::FocusState const& value) const; + [[nodiscard]] auto UnviewableContentIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UnviewableContentIdentified(winrt::event_token const& token) const noexcept; + auto NavigateWithHttpRequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& requestMessage) const; + auto Focus(winrt::Windows::UI::Xaml::FocusState const& value) const; }; template <> struct consume { @@ -25716,11 +25711,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebView3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ContainsFullScreenElement() const; - WINRT_IMPL_AUTO(winrt::event_token) ContainsFullScreenElementChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ContainsFullScreenElement() const; + auto ContainsFullScreenElementChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ContainsFullScreenElementChanged_revoker = impl::event_revoker::remove_ContainsFullScreenElementChanged>; - [[nodiscard]] ContainsFullScreenElementChanged_revoker ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContainsFullScreenElementChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ContainsFullScreenElementChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -25729,23 +25724,23 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebView4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewExecutionMode) ExecutionMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) DeferredPermissionRequests() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewSettings) Settings() const; - WINRT_IMPL_AUTO(winrt::event_token) UnsupportedUriSchemeIdentified(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ExecutionMode() const; + [[nodiscard]] auto DeferredPermissionRequests() const; + [[nodiscard]] auto Settings() const; + auto UnsupportedUriSchemeIdentified(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UnsupportedUriSchemeIdentified_revoker = impl::event_revoker::remove_UnsupportedUriSchemeIdentified>; - [[nodiscard]] UnsupportedUriSchemeIdentified_revoker UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UnsupportedUriSchemeIdentified(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NewWindowRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UnsupportedUriSchemeIdentified(winrt::event_token const& token) const noexcept; + auto NewWindowRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NewWindowRequested_revoker = impl::event_revoker::remove_NewWindowRequested>; - [[nodiscard]] NewWindowRequested_revoker NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NewWindowRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PermissionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NewWindowRequested(winrt::event_token const& token) const noexcept; + auto PermissionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PermissionRequested_revoker = impl::event_revoker::remove_PermissionRequested>; - [[nodiscard]] PermissionRequested_revoker PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PermissionRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) AddWebAllowedObject(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& pObject) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewDeferredPermissionRequest) DeferredPermissionRequestById(uint32_t id) const; + [[nodiscard]] auto PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PermissionRequested(winrt::event_token const& token) const noexcept; + auto AddWebAllowedObject(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& pObject) const; + auto DeferredPermissionRequestById(uint32_t id) const; }; template <> struct consume { @@ -25754,14 +25749,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebView5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) XYFocusLeft() const; - WINRT_IMPL_AUTO(void) XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) XYFocusRight() const; - WINRT_IMPL_AUTO(void) XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) XYFocusUp() const; - WINRT_IMPL_AUTO(void) XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) XYFocusDown() const; - WINRT_IMPL_AUTO(void) XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto XYFocusLeft() const; + auto XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto XYFocusRight() const; + auto XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto XYFocusUp() const; + auto XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto XYFocusDown() const; + auto XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const; }; template <> struct consume { @@ -25770,10 +25765,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebView6 { - WINRT_IMPL_AUTO(winrt::event_token) SeparateProcessLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SeparateProcessLost(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SeparateProcessLost_revoker = impl::event_revoker::remove_SeparateProcessLost>; - [[nodiscard]] SeparateProcessLost_revoker SeparateProcessLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SeparateProcessLost(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SeparateProcessLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto SeparateProcessLost(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -25782,10 +25777,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebView7 { - WINRT_IMPL_AUTO(winrt::event_token) WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using WebResourceRequested_revoker = impl::event_revoker::remove_WebResourceRequested>; - [[nodiscard]] WebResourceRequested_revoker WebResourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) WebResourceRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto WebResourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto WebResourceRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -25794,10 +25789,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewBrush { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SourceName() const; - WINRT_IMPL_AUTO(void) SourceName(param::hstring const& value) const; - WINRT_IMPL_AUTO(void) Redraw() const; - WINRT_IMPL_AUTO(void) SetSource(winrt::Windows::UI::Xaml::Controls::WebView const& source) const; + [[nodiscard]] auto SourceName() const; + auto SourceName(param::hstring const& value) const; + auto Redraw() const; + auto SetSource(winrt::Windows::UI::Xaml::Controls::WebView const& source) const; }; template <> struct consume { @@ -25806,7 +25801,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewBrushStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SourceNameProperty() const; + [[nodiscard]] auto SourceNameProperty() const; }; template <> struct consume { @@ -25815,7 +25810,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewContentLoadingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; + [[nodiscard]] auto Uri() const; }; template <> struct consume { @@ -25824,7 +25819,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewDOMContentLoadedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; + [[nodiscard]] auto Uri() const; }; template <> struct consume { @@ -25833,11 +25828,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewPermissionType) PermissionType() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - WINRT_IMPL_AUTO(void) Allow() const; - WINRT_IMPL_AUTO(void) Deny() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto PermissionType() const; + [[nodiscard]] auto Id() const; + auto Allow() const; + auto Deny() const; }; template <> struct consume { @@ -25846,7 +25841,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewFactory4 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebView) CreateInstanceWithExecutionMode(winrt::Windows::UI::Xaml::Controls::WebViewExecutionMode const& executionMode) const; + auto CreateInstanceWithExecutionMode(winrt::Windows::UI::Xaml::Controls::WebViewExecutionMode const& executionMode) const; }; template <> struct consume { @@ -25855,9 +25850,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewLongRunningScriptDetectedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) ExecutionTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) StopPageScriptExecution() const; - WINRT_IMPL_AUTO(void) StopPageScriptExecution(bool value) const; + [[nodiscard]] auto ExecutionTime() const; + [[nodiscard]] auto StopPageScriptExecution() const; + auto StopPageScriptExecution(bool value) const; }; template <> struct consume { @@ -25866,9 +25861,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewNavigationCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSuccess() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) WebErrorStatus() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto IsSuccess() const; + [[nodiscard]] auto WebErrorStatus() const; }; template <> struct consume { @@ -25877,8 +25872,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewNavigationFailedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) WebErrorStatus() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto WebErrorStatus() const; }; template <> struct consume { @@ -25887,9 +25882,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewNavigationStartingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; }; template <> struct consume { @@ -25898,10 +25893,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Referrer() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Referrer() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -25910,13 +25905,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewPermissionType) PermissionType() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewPermissionState) State() const; - WINRT_IMPL_AUTO(void) Defer() const; - WINRT_IMPL_AUTO(void) Allow() const; - WINRT_IMPL_AUTO(void) Deny() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto PermissionType() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto State() const; + auto Defer() const; + auto Allow() const; + auto Deny() const; }; template <> struct consume { @@ -25925,7 +25920,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewPermissionRequest) PermissionRequest() const; + [[nodiscard]] auto PermissionRequest() const; }; template <> struct consume { @@ -25942,10 +25937,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewSettings { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsJavaScriptEnabled() const; - WINRT_IMPL_AUTO(void) IsJavaScriptEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsIndexedDBEnabled() const; - WINRT_IMPL_AUTO(void) IsIndexedDBEnabled(bool value) const; + [[nodiscard]] auto IsJavaScriptEnabled() const; + auto IsJavaScriptEnabled(bool value) const; + [[nodiscard]] auto IsIndexedDBEnabled() const; + auto IsIndexedDBEnabled(bool value) const; }; template <> struct consume { @@ -25954,10 +25949,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) AnyScriptNotifyUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AllowedScriptNotifyUrisProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DataTransferPackageProperty() const; + [[nodiscard]] auto AnyScriptNotifyUri() const; + [[nodiscard]] auto SourceProperty() const; + [[nodiscard]] auto AllowedScriptNotifyUrisProperty() const; + [[nodiscard]] auto DataTransferPackageProperty() const; }; template <> struct consume { @@ -25966,10 +25961,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanGoBackProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanGoForwardProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DocumentTitleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DefaultBackgroundColorProperty() const; + [[nodiscard]] auto CanGoBackProperty() const; + [[nodiscard]] auto CanGoForwardProperty() const; + [[nodiscard]] auto DocumentTitleProperty() const; + [[nodiscard]] auto DefaultBackgroundColorProperty() const; }; template <> struct consume { @@ -25978,7 +25973,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContainsFullScreenElementProperty() const; + [[nodiscard]] auto ContainsFullScreenElementProperty() const; }; template <> struct consume { @@ -25987,8 +25982,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewExecutionMode) DefaultExecutionMode() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ClearTemporaryWebDataAsync() const; + [[nodiscard]] auto DefaultExecutionMode() const; + auto ClearTemporaryWebDataAsync() const; }; template <> struct consume { @@ -25997,10 +25992,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusLeftProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusRightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusUpProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusDownProperty() const; + [[nodiscard]] auto XYFocusLeftProperty() const; + [[nodiscard]] auto XYFocusRightProperty() const; + [[nodiscard]] auto XYFocusUpProperty() const; + [[nodiscard]] auto XYFocusDownProperty() const; }; template <> struct consume { @@ -26009,9 +26004,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewUnsupportedUriSchemeIdentifiedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -26020,8 +26015,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewUnviewableContentIdentifiedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Referrer() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Referrer() const; }; template <> struct consume { @@ -26030,7 +26025,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewUnviewableContentIdentifiedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MediaType() const; + [[nodiscard]] auto MediaType() const; }; template <> struct consume { @@ -26039,10 +26034,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) Request() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) Response() const; - WINRT_IMPL_AUTO(void) Response(winrt::Windows::Web::Http::HttpResponseMessage const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto Request() const; + [[nodiscard]] auto Response() const; + auto Response(winrt::Windows::Web::Http::HttpResponseMessage const& value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -26051,18 +26046,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWrapGrid { - [[nodiscard]] WINRT_IMPL_AUTO(double) ItemWidth() const; - WINRT_IMPL_AUTO(void) ItemWidth(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ItemHeight() const; - WINRT_IMPL_AUTO(void) ItemHeight(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) Orientation() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) HorizontalChildrenAlignment() const; - WINRT_IMPL_AUTO(void) HorizontalChildrenAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) VerticalChildrenAlignment() const; - WINRT_IMPL_AUTO(void) VerticalChildrenAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaximumRowsOrColumns() const; - WINRT_IMPL_AUTO(void) MaximumRowsOrColumns(int32_t value) const; + [[nodiscard]] auto ItemWidth() const; + auto ItemWidth(double value) const; + [[nodiscard]] auto ItemHeight() const; + auto ItemHeight(double value) const; + [[nodiscard]] auto Orientation() const; + auto Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; + [[nodiscard]] auto HorizontalChildrenAlignment() const; + auto HorizontalChildrenAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; + [[nodiscard]] auto VerticalChildrenAlignment() const; + auto VerticalChildrenAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; + [[nodiscard]] auto MaximumRowsOrColumns() const; + auto MaximumRowsOrColumns(int32_t value) const; }; template <> struct consume { @@ -26071,12 +26066,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_IWrapGridStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OrientationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalChildrenAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalChildrenAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaximumRowsOrColumnsProperty() const; + [[nodiscard]] auto ItemWidthProperty() const; + [[nodiscard]] auto ItemHeightProperty() const; + [[nodiscard]] auto OrientationProperty() const; + [[nodiscard]] auto HorizontalChildrenAlignmentProperty() const; + [[nodiscard]] auto VerticalChildrenAlignmentProperty() const; + [[nodiscard]] auto MaximumRowsOrColumnsProperty() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.1.h index 5a6e4b1b..8c4b25e3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Controls_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.2.h index f4d43e3f..332687f2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Controls_2_H @@ -6,7 +6,6 @@ #include "winrt/impl/Windows.Foundation.1.h" #include "winrt/impl/Windows.Foundation.Collections.1.h" #include "winrt/impl/Windows.UI.Composition.1.h" -#include "winrt/impl/Windows.UI.Input.Inking.1.h" #include "winrt/impl/Windows.UI.Xaml.1.h" #include "winrt/impl/Windows.UI.Xaml.Automation.Peers.1.h" #include "winrt/impl/Windows.UI.Xaml.Automation.Provider.1.h" @@ -3355,8 +3354,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IAppBarOverrides = winrt::Windows::UI::Xaml::Controls::IAppBarOverrides; - WINRT_IMPL_AUTO(void) OnClosed(winrt::Windows::Foundation::IInspectable const& e) const; - WINRT_IMPL_AUTO(void) OnOpened(winrt::Windows::Foundation::IInspectable const& e) const; + auto OnClosed(winrt::Windows::Foundation::IInspectable const& e) const; + auto OnOpened(winrt::Windows::Foundation::IInspectable const& e) const; }; template class IAppBarOverrides3T @@ -3365,8 +3364,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IAppBarOverrides3 = winrt::Windows::UI::Xaml::Controls::IAppBarOverrides3; - WINRT_IMPL_AUTO(void) OnClosing(winrt::Windows::Foundation::IInspectable const& e) const; - WINRT_IMPL_AUTO(void) OnOpening(winrt::Windows::Foundation::IInspectable const& e) const; + auto OnClosing(winrt::Windows::Foundation::IInspectable const& e) const; + auto OnOpening(winrt::Windows::Foundation::IInspectable const& e) const; }; template class IComboBoxOverridesT @@ -3375,8 +3374,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IComboBoxOverrides = winrt::Windows::UI::Xaml::Controls::IComboBoxOverrides; - WINRT_IMPL_AUTO(void) OnDropDownClosed(winrt::Windows::Foundation::IInspectable const& e) const; - WINRT_IMPL_AUTO(void) OnDropDownOpened(winrt::Windows::Foundation::IInspectable const& e) const; + auto OnDropDownClosed(winrt::Windows::Foundation::IInspectable const& e) const; + auto OnDropDownOpened(winrt::Windows::Foundation::IInspectable const& e) const; }; template class IContentControlOverridesT @@ -3385,9 +3384,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IContentControlOverrides = winrt::Windows::UI::Xaml::Controls::IContentControlOverrides; - WINRT_IMPL_AUTO(void) OnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const; - WINRT_IMPL_AUTO(void) OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const; - WINRT_IMPL_AUTO(void) OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const; + auto OnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const; + auto OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const; + auto OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const; }; template class IContentPresenterOverridesT @@ -3396,8 +3395,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IContentPresenterOverrides = winrt::Windows::UI::Xaml::Controls::IContentPresenterOverrides; - WINRT_IMPL_AUTO(void) OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const; - WINRT_IMPL_AUTO(void) OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const; + auto OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const; + auto OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const; }; template class IControlOverridesT @@ -3406,31 +3405,31 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IControlOverrides = winrt::Windows::UI::Xaml::Controls::IControlOverrides; - WINRT_IMPL_AUTO(void) OnPointerEntered(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnPointerPressed(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnPointerMoved(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnPointerReleased(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnPointerExited(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnPointerCaptureLost(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnPointerCanceled(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnPointerWheelChanged(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnTapped(winrt::Windows::UI::Xaml::Input::TappedRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnDoubleTapped(winrt::Windows::UI::Xaml::Input::DoubleTappedRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnHolding(winrt::Windows::UI::Xaml::Input::HoldingRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnRightTapped(winrt::Windows::UI::Xaml::Input::RightTappedRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnManipulationStarting(winrt::Windows::UI::Xaml::Input::ManipulationStartingRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnManipulationInertiaStarting(winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnManipulationStarted(winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnManipulationDelta(winrt::Windows::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnManipulationCompleted(winrt::Windows::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnGotFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnLostFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnDragEnter(winrt::Windows::UI::Xaml::DragEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnDragLeave(winrt::Windows::UI::Xaml::DragEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnDragOver(winrt::Windows::UI::Xaml::DragEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnDrop(winrt::Windows::UI::Xaml::DragEventArgs const& e) const; + auto OnPointerEntered(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; + auto OnPointerPressed(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; + auto OnPointerMoved(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; + auto OnPointerReleased(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; + auto OnPointerExited(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; + auto OnPointerCaptureLost(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; + auto OnPointerCanceled(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; + auto OnPointerWheelChanged(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const; + auto OnTapped(winrt::Windows::UI::Xaml::Input::TappedRoutedEventArgs const& e) const; + auto OnDoubleTapped(winrt::Windows::UI::Xaml::Input::DoubleTappedRoutedEventArgs const& e) const; + auto OnHolding(winrt::Windows::UI::Xaml::Input::HoldingRoutedEventArgs const& e) const; + auto OnRightTapped(winrt::Windows::UI::Xaml::Input::RightTappedRoutedEventArgs const& e) const; + auto OnManipulationStarting(winrt::Windows::UI::Xaml::Input::ManipulationStartingRoutedEventArgs const& e) const; + auto OnManipulationInertiaStarting(winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingRoutedEventArgs const& e) const; + auto OnManipulationStarted(winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs const& e) const; + auto OnManipulationDelta(winrt::Windows::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs const& e) const; + auto OnManipulationCompleted(winrt::Windows::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs const& e) const; + auto OnKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const; + auto OnKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const; + auto OnGotFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const; + auto OnLostFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const; + auto OnDragEnter(winrt::Windows::UI::Xaml::DragEventArgs const& e) const; + auto OnDragLeave(winrt::Windows::UI::Xaml::DragEventArgs const& e) const; + auto OnDragOver(winrt::Windows::UI::Xaml::DragEventArgs const& e) const; + auto OnDrop(winrt::Windows::UI::Xaml::DragEventArgs const& e) const; }; template class IControlOverrides6T @@ -3439,9 +3438,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IControlOverrides6 = winrt::Windows::UI::Xaml::Controls::IControlOverrides6; - WINRT_IMPL_AUTO(void) OnPreviewKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnPreviewKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnCharacterReceived(winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs const& e) const; + auto OnPreviewKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const; + auto OnPreviewKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const; + auto OnCharacterReceived(winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs const& e) const; }; template class IDataTemplateSelectorOverridesT @@ -3450,7 +3449,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IDataTemplateSelectorOverrides = winrt::Windows::UI::Xaml::Controls::IDataTemplateSelectorOverrides; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const; + auto SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const; }; template class IDataTemplateSelectorOverrides2T @@ -3459,7 +3458,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IDataTemplateSelectorOverrides2 = winrt::Windows::UI::Xaml::Controls::IDataTemplateSelectorOverrides2; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item) const; + auto SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item) const; }; template class IGroupStyleSelectorOverridesT @@ -3468,7 +3467,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IGroupStyleSelectorOverrides = winrt::Windows::UI::Xaml::Controls::IGroupStyleSelectorOverrides; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyle) SelectGroupStyleCore(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const; + auto SelectGroupStyleCore(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const; }; template class IInkToolbarCustomPenOverridesT @@ -3477,7 +3476,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IInkToolbarCustomPenOverrides = winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPenOverrides; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) CreateInkDrawingAttributesCore(winrt::Windows::UI::Xaml::Media::Brush const& brush, double strokeWidth) const; + auto CreateInkDrawingAttributesCore(winrt::Windows::UI::Xaml::Media::Brush const& brush, double strokeWidth) const; }; template class IItemsControlOverridesT @@ -3486,16 +3485,16 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IItemsControlOverrides = winrt::Windows::UI::Xaml::Controls::IItemsControlOverrides; - WINRT_IMPL_AUTO(bool) IsItemItsOwnContainerOverride(winrt::Windows::Foundation::IInspectable const& item) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) GetContainerForItemOverride() const; - WINRT_IMPL_AUTO(void) ClearContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const; - WINRT_IMPL_AUTO(void) PrepareContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const; - WINRT_IMPL_AUTO(void) OnItemsChanged(winrt::Windows::Foundation::IInspectable const& e) const; - WINRT_IMPL_AUTO(void) OnItemContainerStyleChanged(winrt::Windows::UI::Xaml::Style const& oldItemContainerStyle, winrt::Windows::UI::Xaml::Style const& newItemContainerStyle) const; - WINRT_IMPL_AUTO(void) OnItemContainerStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::StyleSelector const& oldItemContainerStyleSelector, winrt::Windows::UI::Xaml::Controls::StyleSelector const& newItemContainerStyleSelector) const; - WINRT_IMPL_AUTO(void) OnItemTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldItemTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newItemTemplate) const; - WINRT_IMPL_AUTO(void) OnItemTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldItemTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newItemTemplateSelector) const; - WINRT_IMPL_AUTO(void) OnGroupStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& oldGroupStyleSelector, winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& newGroupStyleSelector) const; + auto IsItemItsOwnContainerOverride(winrt::Windows::Foundation::IInspectable const& item) const; + auto GetContainerForItemOverride() const; + auto ClearContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const; + auto PrepareContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const; + auto OnItemsChanged(winrt::Windows::Foundation::IInspectable const& e) const; + auto OnItemContainerStyleChanged(winrt::Windows::UI::Xaml::Style const& oldItemContainerStyle, winrt::Windows::UI::Xaml::Style const& newItemContainerStyle) const; + auto OnItemContainerStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::StyleSelector const& oldItemContainerStyleSelector, winrt::Windows::UI::Xaml::Controls::StyleSelector const& newItemContainerStyleSelector) const; + auto OnItemTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldItemTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newItemTemplate) const; + auto OnItemTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldItemTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newItemTemplateSelector) const; + auto OnGroupStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& oldGroupStyleSelector, winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& newGroupStyleSelector) const; }; template class IPageOverridesT @@ -3504,9 +3503,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IPageOverrides = winrt::Windows::UI::Xaml::Controls::IPageOverrides; - WINRT_IMPL_AUTO(void) OnNavigatedFrom(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnNavigatedTo(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const; - WINRT_IMPL_AUTO(void) OnNavigatingFrom(winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventArgs const& e) const; + auto OnNavigatedFrom(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const; + auto OnNavigatedTo(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const; + auto OnNavigatingFrom(winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventArgs const& e) const; }; template class IStyleSelectorOverridesT @@ -3515,7 +3514,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IStyleSelectorOverrides = winrt::Windows::UI::Xaml::Controls::IStyleSelectorOverrides; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) SelectStyleCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const; + auto SelectStyleCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const; }; template class IToggleSwitchOverridesT @@ -3524,10 +3523,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IToggleSwitchOverrides = winrt::Windows::UI::Xaml::Controls::IToggleSwitchOverrides; - WINRT_IMPL_AUTO(void) OnToggled() const; - WINRT_IMPL_AUTO(void) OnOnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const; - WINRT_IMPL_AUTO(void) OnOffContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const; - WINRT_IMPL_AUTO(void) OnHeaderChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const; + auto OnToggled() const; + auto OnOnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const; + auto OnOffContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const; + auto OnHeaderChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const; }; template class IVirtualizingPanelOverridesT @@ -3536,9 +3535,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IVirtualizingPanelOverrides = winrt::Windows::UI::Xaml::Controls::IVirtualizingPanelOverrides; - WINRT_IMPL_AUTO(void) OnItemsChanged(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventArgs const& args) const; - WINRT_IMPL_AUTO(void) OnClearChildren() const; - WINRT_IMPL_AUTO(void) BringIndexIntoView(int32_t index) const; + auto OnItemsChanged(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventArgs const& args) const; + auto OnClearChildren() const; + auto BringIndexIntoView(int32_t index) const; }; template class IVirtualizingStackPanelOverridesT @@ -3547,7 +3546,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls D const& shim() const noexcept { return *static_cast(this); } public: using IVirtualizingStackPanelOverrides = winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanelOverrides; - WINRT_IMPL_AUTO(void) OnCleanUpVirtualizedItem(winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventArgs const& e) const; + auto OnCleanUpVirtualizedItem(winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventArgs const& e) const; }; } #endif diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.0.h index d2f87e8d..f520ae6b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Controls_Maps_0_H @@ -13,7 +13,6 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; struct Point; template struct __declspec(empty_bases) TypedEventHandler; @@ -22,9 +21,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IMapView; - template struct __declspec(empty_bases) IMap; - template struct __declspec(empty_bases) IVectorView; template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics @@ -34,10 +30,6 @@ WINRT_EXPORT namespace winrt::Windows::Services::Maps { struct MapRoute; } -WINRT_EXPORT namespace winrt::Windows::Services::Maps::LocalSearch -{ - struct LocalLocation; -} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IRandomAccessStreamReference; @@ -2126,10 +2118,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource { - WINRT_IMPL_AUTO(winrt::event_token) BitmapRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BitmapRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using BitmapRequested_revoker = impl::event_revoker::remove_BitmapRequested>; - [[nodiscard]] BitmapRequested_revoker BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) BitmapRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto BitmapRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2138,7 +2130,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSourceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::CustomMapTileDataSource) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2147,15 +2139,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UriFormatString() const; - WINRT_IMPL_AUTO(void) UriFormatString(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) AdditionalRequestHeaders() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowCaching() const; - WINRT_IMPL_AUTO(void) AllowCaching(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) UriRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto UriFormatString() const; + auto UriFormatString(param::hstring const& value) const; + [[nodiscard]] auto AdditionalRequestHeaders() const; + [[nodiscard]] auto AllowCaching() const; + auto AllowCaching(bool value) const; + auto UriRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UriRequested_revoker = impl::event_revoker::remove_UriRequested>; - [[nodiscard]] UriRequested_revoker UriRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UriRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto UriRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UriRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2164,8 +2156,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSourceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource) CreateInstanceWithUriFormatString(param::hstring const& uriFormatString, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithUriFormatString(param::hstring const& uriFormatString, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2174,12 +2166,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UriFormatString() const; - WINRT_IMPL_AUTO(void) UriFormatString(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) UriRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto UriFormatString() const; + auto UriFormatString(param::hstring const& value) const; + auto UriRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UriRequested_revoker = impl::event_revoker::remove_UriRequested>; - [[nodiscard]] UriRequested_revoker UriRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UriRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto UriRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UriRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2188,8 +2180,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSourceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource) CreateInstanceWithUriFormatString(param::hstring const& uriFormatString, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithUriFormatString(param::hstring const& uriFormatString, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2198,7 +2190,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) Camera() const; + [[nodiscard]] auto Camera() const; }; template <> struct consume { @@ -2207,7 +2199,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCameraChangeReason) ChangeReason() const; + [[nodiscard]] auto ChangeReason() const; }; template <> struct consume { @@ -2216,7 +2208,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) Camera() const; + [[nodiscard]] auto Camera() const; }; template <> struct consume { @@ -2225,7 +2217,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangingEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCameraChangeReason) ChangeReason() const; + [[nodiscard]] auto ChangeReason() const; }; template <> struct consume { @@ -2234,15 +2226,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - WINRT_IMPL_AUTO(void) Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) NormalizedAnchorPoint() const; - WINRT_IMPL_AUTO(void) NormalizedAnchorPoint(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Image() const; - WINRT_IMPL_AUTO(void) Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior) CollisionBehaviorDesired() const; - WINRT_IMPL_AUTO(void) CollisionBehaviorDesired(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) ReferenceCamera() const; + [[nodiscard]] auto Location() const; + auto Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const; + [[nodiscard]] auto NormalizedAnchorPoint() const; + auto NormalizedAnchorPoint(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto Image() const; + auto Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto CollisionBehaviorDesired() const; + auto CollisionBehaviorDesired(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior const& value) const; + [[nodiscard]] auto ReferenceCamera() const; }; template <> struct consume { @@ -2251,7 +2243,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapBillboard) CreateInstanceFromCamera(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera const& camera) const; + auto CreateInstanceFromCamera(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera const& camera) const; }; template <> struct consume { @@ -2260,9 +2252,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LocationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) NormalizedAnchorPointProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CollisionBehaviorDesiredProperty() const; + [[nodiscard]] auto LocationProperty() const; + [[nodiscard]] auto NormalizedAnchorPointProperty() const; + [[nodiscard]] auto CollisionBehaviorDesiredProperty() const; }; template <> struct consume { @@ -2271,16 +2263,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapCamera { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - WINRT_IMPL_AUTO(void) Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Heading() const; - WINRT_IMPL_AUTO(void) Heading(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Pitch() const; - WINRT_IMPL_AUTO(void) Pitch(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Roll() const; - WINRT_IMPL_AUTO(void) Roll(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FieldOfView() const; - WINRT_IMPL_AUTO(void) FieldOfView(double value) const; + [[nodiscard]] auto Location() const; + auto Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const; + [[nodiscard]] auto Heading() const; + auto Heading(double value) const; + [[nodiscard]] auto Pitch() const; + auto Pitch(double value) const; + [[nodiscard]] auto Roll() const; + auto Roll(double value) const; + [[nodiscard]] auto FieldOfView() const; + auto FieldOfView(double value) const; }; template <> struct consume { @@ -2289,10 +2281,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) CreateInstanceWithLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) CreateInstanceWithLocationAndHeading(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) CreateInstanceWithLocationHeadingAndPitch(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) CreateInstanceWithLocationHeadingPitchRollAndFieldOfView(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees, double rollInDegrees, double fieldOfViewInDegrees) const; + auto CreateInstanceWithLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location) const; + auto CreateInstanceWithLocationAndHeading(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees) const; + auto CreateInstanceWithLocationHeadingAndPitch(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees) const; + auto CreateInstanceWithLocationHeadingPitchRollAndFieldOfView(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees, double rollInDegrees, double fieldOfViewInDegrees) const; }; template <> struct consume { @@ -2301,9 +2293,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapContextRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) MapElements() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Location() const; + [[nodiscard]] auto MapElements() const; }; template <> struct consume { @@ -2312,83 +2304,83 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Center() const; - WINRT_IMPL_AUTO(void) Center(winrt::Windows::Devices::Geolocation::Geopoint const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Children() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapColorScheme) ColorScheme() const; - WINRT_IMPL_AUTO(void) ColorScheme(winrt::Windows::UI::Xaml::Controls::Maps::MapColorScheme const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DesiredPitch() const; - WINRT_IMPL_AUTO(void) DesiredPitch(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Heading() const; - WINRT_IMPL_AUTO(void) Heading(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) LandmarksVisible() const; - WINRT_IMPL_AUTO(void) LandmarksVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapLoadingStatus) LoadingStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MapServiceToken() const; - WINRT_IMPL_AUTO(void) MapServiceToken(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxZoomLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinZoomLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) PedestrianFeaturesVisible() const; - WINRT_IMPL_AUTO(void) PedestrianFeaturesVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Pitch() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyle) Style() const; - WINRT_IMPL_AUTO(void) Style(winrt::Windows::UI::Xaml::Controls::Maps::MapStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) TrafficFlowVisible() const; - WINRT_IMPL_AUTO(void) TrafficFlowVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) TransformOrigin() const; - WINRT_IMPL_AUTO(void) TransformOrigin(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapWatermarkMode) WatermarkMode() const; - WINRT_IMPL_AUTO(void) WatermarkMode(winrt::Windows::UI::Xaml::Controls::Maps::MapWatermarkMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ZoomLevel() const; - WINRT_IMPL_AUTO(void) ZoomLevel(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) MapElements() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Routes() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) TileSources() const; - WINRT_IMPL_AUTO(winrt::event_token) CenterChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Center() const; + auto Center(winrt::Windows::Devices::Geolocation::Geopoint const& value) const; + [[nodiscard]] auto Children() const; + [[nodiscard]] auto ColorScheme() const; + auto ColorScheme(winrt::Windows::UI::Xaml::Controls::Maps::MapColorScheme const& value) const; + [[nodiscard]] auto DesiredPitch() const; + auto DesiredPitch(double value) const; + [[nodiscard]] auto Heading() const; + auto Heading(double value) const; + [[nodiscard]] auto LandmarksVisible() const; + auto LandmarksVisible(bool value) const; + [[nodiscard]] auto LoadingStatus() const; + [[nodiscard]] auto MapServiceToken() const; + auto MapServiceToken(param::hstring const& value) const; + [[nodiscard]] auto MaxZoomLevel() const; + [[nodiscard]] auto MinZoomLevel() const; + [[nodiscard]] auto PedestrianFeaturesVisible() const; + auto PedestrianFeaturesVisible(bool value) const; + [[nodiscard]] auto Pitch() const; + [[nodiscard]] auto Style() const; + auto Style(winrt::Windows::UI::Xaml::Controls::Maps::MapStyle const& value) const; + [[nodiscard]] auto TrafficFlowVisible() const; + auto TrafficFlowVisible(bool value) const; + [[nodiscard]] auto TransformOrigin() const; + auto TransformOrigin(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto WatermarkMode() const; + auto WatermarkMode(winrt::Windows::UI::Xaml::Controls::Maps::MapWatermarkMode const& value) const; + [[nodiscard]] auto ZoomLevel() const; + auto ZoomLevel(double value) const; + [[nodiscard]] auto MapElements() const; + [[nodiscard]] auto Routes() const; + [[nodiscard]] auto TileSources() const; + auto CenterChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CenterChanged_revoker = impl::event_revoker::remove_CenterChanged>; - [[nodiscard]] CenterChanged_revoker CenterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CenterChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) HeadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto CenterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CenterChanged(winrt::event_token const& token) const noexcept; + auto HeadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using HeadingChanged_revoker = impl::event_revoker::remove_HeadingChanged>; - [[nodiscard]] HeadingChanged_revoker HeadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) HeadingChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LoadingStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto HeadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto HeadingChanged(winrt::event_token const& token) const noexcept; + auto LoadingStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LoadingStatusChanged_revoker = impl::event_revoker::remove_LoadingStatusChanged>; - [[nodiscard]] LoadingStatusChanged_revoker LoadingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LoadingStatusChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MapDoubleTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto LoadingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LoadingStatusChanged(winrt::event_token const& token) const noexcept; + auto MapDoubleTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MapDoubleTapped_revoker = impl::event_revoker::remove_MapDoubleTapped>; - [[nodiscard]] MapDoubleTapped_revoker MapDoubleTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MapDoubleTapped(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MapHolding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MapDoubleTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MapDoubleTapped(winrt::event_token const& token) const noexcept; + auto MapHolding(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MapHolding_revoker = impl::event_revoker::remove_MapHolding>; - [[nodiscard]] MapHolding_revoker MapHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MapHolding(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MapTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MapHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MapHolding(winrt::event_token const& token) const noexcept; + auto MapTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MapTapped_revoker = impl::event_revoker::remove_MapTapped>; - [[nodiscard]] MapTapped_revoker MapTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MapTapped(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PitchChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MapTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MapTapped(winrt::event_token const& token) const noexcept; + auto PitchChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PitchChanged_revoker = impl::event_revoker::remove_PitchChanged>; - [[nodiscard]] PitchChanged_revoker PitchChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PitchChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TransformOriginChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PitchChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PitchChanged(winrt::event_token const& token) const noexcept; + auto TransformOriginChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TransformOriginChanged_revoker = impl::event_revoker::remove_TransformOriginChanged>; - [[nodiscard]] TransformOriginChanged_revoker TransformOriginChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TransformOriginChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ZoomLevelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TransformOriginChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TransformOriginChanged(winrt::event_token const& token) const noexcept; + auto ZoomLevelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ZoomLevelChanged_revoker = impl::event_revoker::remove_ZoomLevelChanged>; - [[nodiscard]] ZoomLevelChanged_revoker ZoomLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ZoomLevelChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindMapElementsAtOffset(winrt::Windows::Foundation::Point const& offset) const; - WINRT_IMPL_AUTO(void) GetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::Geopoint& location) const; - WINRT_IMPL_AUTO(void) GetOffsetFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location, winrt::Windows::Foundation::Point& offset) const; - WINRT_IMPL_AUTO(void) IsLocationInView(winrt::Windows::Devices::Geolocation::Geopoint const& location, bool& isInView) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetViewBoundsAsync(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, winrt::Windows::Foundation::IReference const& margin, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animation) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference const& zoomLevel) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference const& zoomLevel, winrt::Windows::Foundation::IReference const& heading, winrt::Windows::Foundation::IReference const& desiredPitch) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference const& zoomLevel, winrt::Windows::Foundation::IReference const& heading, winrt::Windows::Foundation::IReference const& desiredPitch, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animation) const; + [[nodiscard]] auto ZoomLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ZoomLevelChanged(winrt::event_token const& token) const noexcept; + auto FindMapElementsAtOffset(winrt::Windows::Foundation::Point const& offset) const; + auto GetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::Geopoint& location) const; + auto GetOffsetFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location, winrt::Windows::Foundation::Point& offset) const; + auto IsLocationInView(winrt::Windows::Devices::Geolocation::Geopoint const& location, bool& isInView) const; + auto TrySetViewBoundsAsync(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, winrt::Windows::Foundation::IReference const& margin, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animation) const; + auto TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center) const; + auto TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference const& zoomLevel) const; + auto TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference const& zoomLevel, winrt::Windows::Foundation::IReference const& heading, winrt::Windows::Foundation::IReference const& desiredPitch) const; + auto TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference const& zoomLevel, winrt::Windows::Foundation::IReference const& heading, winrt::Windows::Foundation::IReference const& desiredPitch, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animation) const; }; template <> struct consume { @@ -2397,69 +2389,69 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControl2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) BusinessLandmarksVisible() const; - WINRT_IMPL_AUTO(void) BusinessLandmarksVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) TransitFeaturesVisible() const; - WINRT_IMPL_AUTO(void) TransitFeaturesVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapPanInteractionMode) PanInteractionMode() const; - WINRT_IMPL_AUTO(void) PanInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapPanInteractionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode) RotateInteractionMode() const; - WINRT_IMPL_AUTO(void) RotateInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode) TiltInteractionMode() const; - WINRT_IMPL_AUTO(void) TiltInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode) ZoomInteractionMode() const; - WINRT_IMPL_AUTO(void) ZoomInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Is3DSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStreetsideSupported() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) Scene() const; - WINRT_IMPL_AUTO(void) Scene(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) ActualCamera() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) TargetCamera() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperience) CustomExperience() const; - WINRT_IMPL_AUTO(void) CustomExperience(winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperience const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) MapElementClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto BusinessLandmarksVisible() const; + auto BusinessLandmarksVisible(bool value) const; + [[nodiscard]] auto TransitFeaturesVisible() const; + auto TransitFeaturesVisible(bool value) const; + [[nodiscard]] auto PanInteractionMode() const; + auto PanInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapPanInteractionMode const& value) const; + [[nodiscard]] auto RotateInteractionMode() const; + auto RotateInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const; + [[nodiscard]] auto TiltInteractionMode() const; + auto TiltInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const; + [[nodiscard]] auto ZoomInteractionMode() const; + auto ZoomInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const; + [[nodiscard]] auto Is3DSupported() const; + [[nodiscard]] auto IsStreetsideSupported() const; + [[nodiscard]] auto Scene() const; + auto Scene(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& value) const; + [[nodiscard]] auto ActualCamera() const; + [[nodiscard]] auto TargetCamera() const; + [[nodiscard]] auto CustomExperience() const; + auto CustomExperience(winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperience const& value) const; + auto MapElementClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MapElementClick_revoker = impl::event_revoker::remove_MapElementClick>; - [[nodiscard]] MapElementClick_revoker MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MapElementClick(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MapElementPointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MapElementClick(winrt::event_token const& token) const noexcept; + auto MapElementPointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MapElementPointerEntered_revoker = impl::event_revoker::remove_MapElementPointerEntered>; - [[nodiscard]] MapElementPointerEntered_revoker MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MapElementPointerEntered(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MapElementPointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MapElementPointerEntered(winrt::event_token const& token) const noexcept; + auto MapElementPointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MapElementPointerExited_revoker = impl::event_revoker::remove_MapElementPointerExited>; - [[nodiscard]] MapElementPointerExited_revoker MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MapElementPointerExited(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ActualCameraChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MapElementPointerExited(winrt::event_token const& token) const noexcept; + auto ActualCameraChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ActualCameraChanged_revoker = impl::event_revoker::remove_ActualCameraChanged>; - [[nodiscard]] ActualCameraChanged_revoker ActualCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ActualCameraChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ActualCameraChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ActualCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ActualCameraChanged(winrt::event_token const& token) const noexcept; + auto ActualCameraChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ActualCameraChanging_revoker = impl::event_revoker::remove_ActualCameraChanging>; - [[nodiscard]] ActualCameraChanging_revoker ActualCameraChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ActualCameraChanging(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TargetCameraChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ActualCameraChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ActualCameraChanging(winrt::event_token const& token) const noexcept; + auto TargetCameraChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TargetCameraChanged_revoker = impl::event_revoker::remove_TargetCameraChanged>; - [[nodiscard]] TargetCameraChanged_revoker TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TargetCameraChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CustomExperienceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TargetCameraChanged(winrt::event_token const& token) const noexcept; + auto CustomExperienceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CustomExperienceChanged_revoker = impl::event_revoker::remove_CustomExperienceChanged>; - [[nodiscard]] CustomExperienceChanged_revoker CustomExperienceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CustomExperienceChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) StartContinuousRotate(double rateInDegreesPerSecond) const; - WINRT_IMPL_AUTO(void) StopContinuousRotate() const; - WINRT_IMPL_AUTO(void) StartContinuousTilt(double rateInDegreesPerSecond) const; - WINRT_IMPL_AUTO(void) StopContinuousTilt() const; - WINRT_IMPL_AUTO(void) StartContinuousZoom(double rateOfChangePerSecond) const; - WINRT_IMPL_AUTO(void) StopContinuousZoom() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryRotateAsync(double degrees) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryRotateToAsync(double angleInDegrees) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryTiltAsync(double degrees) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryTiltToAsync(double angleInDegrees) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryZoomInAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryZoomOutAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryZoomToAsync(double zoomLevel) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetSceneAsync(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& scene) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TrySetSceneAsync(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& scene, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animationKind) const; + [[nodiscard]] auto CustomExperienceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CustomExperienceChanged(winrt::event_token const& token) const noexcept; + auto StartContinuousRotate(double rateInDegreesPerSecond) const; + auto StopContinuousRotate() const; + auto StartContinuousTilt(double rateInDegreesPerSecond) const; + auto StopContinuousTilt() const; + auto StartContinuousZoom(double rateOfChangePerSecond) const; + auto StopContinuousZoom() const; + auto TryRotateAsync(double degrees) const; + auto TryRotateToAsync(double angleInDegrees) const; + auto TryTiltAsync(double degrees) const; + auto TryTiltToAsync(double angleInDegrees) const; + auto TryZoomInAsync() const; + auto TryZoomOutAsync() const; + auto TryZoomToAsync(double zoomLevel) const; + auto TrySetSceneAsync(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& scene) const; + auto TrySetSceneAsync(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& scene, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animationKind) const; }; template <> struct consume { @@ -2468,10 +2460,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControl3 { - WINRT_IMPL_AUTO(winrt::event_token) MapRightTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MapRightTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MapRightTapped_revoker = impl::event_revoker::remove_MapRightTapped>; - [[nodiscard]] MapRightTapped_revoker MapRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MapRightTapped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto MapRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MapRightTapped(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2480,11 +2472,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControl4 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) BusinessLandmarksEnabled() const; - WINRT_IMPL_AUTO(void) BusinessLandmarksEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) TransitFeaturesEnabled() const; - WINRT_IMPL_AUTO(void) TransitFeaturesEnabled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) GetVisibleRegion(winrt::Windows::UI::Xaml::Controls::Maps::MapVisibleRegionKind const& region) const; + [[nodiscard]] auto BusinessLandmarksEnabled() const; + auto BusinessLandmarksEnabled(bool value) const; + [[nodiscard]] auto TransitFeaturesEnabled() const; + auto TransitFeaturesEnabled(bool value) const; + auto GetVisibleRegion(winrt::Windows::UI::Xaml::Controls::Maps::MapVisibleRegionKind const& region) const; }; template <> struct consume { @@ -2493,22 +2485,22 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControl5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapProjection) MapProjection() const; - WINRT_IMPL_AUTO(void) MapProjection(winrt::Windows::UI::Xaml::Controls::Maps::MapProjection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) StyleSheet() const; - WINRT_IMPL_AUTO(void) StyleSheet(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) ViewPadding() const; - WINRT_IMPL_AUTO(void) ViewPadding(winrt::Windows::UI::Xaml::Thickness const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) MapContextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MapProjection() const; + auto MapProjection(winrt::Windows::UI::Xaml::Controls::Maps::MapProjection const& value) const; + [[nodiscard]] auto StyleSheet() const; + auto StyleSheet(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet const& value) const; + [[nodiscard]] auto ViewPadding() const; + auto ViewPadding(winrt::Windows::UI::Xaml::Thickness const& value) const; + auto MapContextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MapContextRequested_revoker = impl::event_revoker::remove_MapContextRequested>; - [[nodiscard]] MapContextRequested_revoker MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MapContextRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindMapElementsAtOffset(winrt::Windows::Foundation::Point const& offset, double radius) const; - WINRT_IMPL_AUTO(void) GetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& desiredReferenceSystem, winrt::Windows::Devices::Geolocation::Geopoint& location) const; - WINRT_IMPL_AUTO(void) StartContinuousPan(double horizontalPixelsPerSecond, double verticalPixelsPerSecond) const; - WINRT_IMPL_AUTO(void) StopContinuousPan() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryPanAsync(double horizontalPixels, double verticalPixels) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryPanToAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location) const; + [[nodiscard]] auto MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MapContextRequested(winrt::event_token const& token) const noexcept; + auto FindMapElementsAtOffset(winrt::Windows::Foundation::Point const& offset, double radius) const; + auto GetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& desiredReferenceSystem, winrt::Windows::Devices::Geolocation::Geopoint& location) const; + auto StartContinuousPan(double horizontalPixelsPerSecond, double verticalPixelsPerSecond) const; + auto StopContinuousPan() const; + auto TryPanAsync(double horizontalPixels, double verticalPixels) const; + auto TryPanToAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location) const; }; template <> struct consume { @@ -2517,10 +2509,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControl6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Layers() const; - WINRT_IMPL_AUTO(void) Layers(param::vector const& value) const; - WINRT_IMPL_AUTO(bool) TryGetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::Geopoint& location) const; - WINRT_IMPL_AUTO(bool) TryGetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& desiredReferenceSystem, winrt::Windows::Devices::Geolocation::Geopoint& location) const; + [[nodiscard]] auto Layers() const; + auto Layers(param::vector const& value) const; + auto TryGetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::Geopoint& location) const; + auto TryGetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& desiredReferenceSystem, winrt::Windows::Devices::Geolocation::Geopoint& location) const; }; template <> struct consume { @@ -2529,8 +2521,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControl7 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Region() const; - WINRT_IMPL_AUTO(void) Region(param::hstring const& value) const; + [[nodiscard]] auto Region() const; + auto Region(param::hstring const& value) const; }; template <> struct consume { @@ -2539,10 +2531,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControl8 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanTiltDown() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanTiltUp() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanZoomIn() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanZoomOut() const; + [[nodiscard]] auto CanTiltDown() const; + [[nodiscard]] auto CanTiltUp() const; + [[nodiscard]] auto CanZoomIn() const; + [[nodiscard]] auto CanZoomOut() const; }; template <> struct consume { @@ -2551,7 +2543,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkClickEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) LocalLocations() const; + [[nodiscard]] auto LocalLocations() const; }; template <> struct consume { @@ -2560,7 +2552,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkPointerEnteredEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) LocalLocations() const; + [[nodiscard]] auto LocalLocations() const; }; template <> struct consume { @@ -2569,7 +2561,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkPointerExitedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) LocalLocations() const; + [[nodiscard]] auto LocalLocations() const; }; template <> struct consume { @@ -2578,7 +2570,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkRightTappedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) LocalLocations() const; + [[nodiscard]] auto LocalLocations() const; }; template <> struct consume { @@ -2587,22 +2579,22 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper { - WINRT_IMPL_AUTO(winrt::event_token) BusinessLandmarkClick(winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BusinessLandmarkClick(winrt::Windows::Foundation::TypedEventHandler const& value) const; using BusinessLandmarkClick_revoker = impl::event_revoker::remove_BusinessLandmarkClick>; - [[nodiscard]] BusinessLandmarkClick_revoker BusinessLandmarkClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) BusinessLandmarkClick(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TransitFeatureClick(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto BusinessLandmarkClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BusinessLandmarkClick(winrt::event_token const& token) const noexcept; + auto TransitFeatureClick(winrt::Windows::Foundation::TypedEventHandler const& value) const; using TransitFeatureClick_revoker = impl::event_revoker::remove_TransitFeatureClick>; - [[nodiscard]] TransitFeatureClick_revoker TransitFeatureClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) TransitFeatureClick(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BusinessLandmarkRightTapped(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto TransitFeatureClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto TransitFeatureClick(winrt::event_token const& token) const noexcept; + auto BusinessLandmarkRightTapped(winrt::Windows::Foundation::TypedEventHandler const& value) const; using BusinessLandmarkRightTapped_revoker = impl::event_revoker::remove_BusinessLandmarkRightTapped>; - [[nodiscard]] BusinessLandmarkRightTapped_revoker BusinessLandmarkRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) BusinessLandmarkRightTapped(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TransitFeatureRightTapped(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto BusinessLandmarkRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BusinessLandmarkRightTapped(winrt::event_token const& token) const noexcept; + auto TransitFeatureRightTapped(winrt::Windows::Foundation::TypedEventHandler const& value) const; using TransitFeatureRightTapped_revoker = impl::event_revoker::remove_TransitFeatureRightTapped>; - [[nodiscard]] TransitFeatureRightTapped_revoker TransitFeatureRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) TransitFeatureRightTapped(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TransitFeatureRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto TransitFeatureRightTapped(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2611,22 +2603,22 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2 { - WINRT_IMPL_AUTO(winrt::event_token) BusinessLandmarkPointerEntered(winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BusinessLandmarkPointerEntered(winrt::Windows::Foundation::TypedEventHandler const& value) const; using BusinessLandmarkPointerEntered_revoker = impl::event_revoker::remove_BusinessLandmarkPointerEntered>; - [[nodiscard]] BusinessLandmarkPointerEntered_revoker BusinessLandmarkPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) BusinessLandmarkPointerEntered(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TransitFeaturePointerEntered(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto BusinessLandmarkPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BusinessLandmarkPointerEntered(winrt::event_token const& token) const noexcept; + auto TransitFeaturePointerEntered(winrt::Windows::Foundation::TypedEventHandler const& value) const; using TransitFeaturePointerEntered_revoker = impl::event_revoker::remove_TransitFeaturePointerEntered>; - [[nodiscard]] TransitFeaturePointerEntered_revoker TransitFeaturePointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) TransitFeaturePointerEntered(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) BusinessLandmarkPointerExited(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto TransitFeaturePointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto TransitFeaturePointerEntered(winrt::event_token const& token) const noexcept; + auto BusinessLandmarkPointerExited(winrt::Windows::Foundation::TypedEventHandler const& value) const; using BusinessLandmarkPointerExited_revoker = impl::event_revoker::remove_BusinessLandmarkPointerExited>; - [[nodiscard]] BusinessLandmarkPointerExited_revoker BusinessLandmarkPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) BusinessLandmarkPointerExited(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TransitFeaturePointerExited(winrt::Windows::Foundation::TypedEventHandler const& value) const; + [[nodiscard]] auto BusinessLandmarkPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto BusinessLandmarkPointerExited(winrt::event_token const& token) const noexcept; + auto TransitFeaturePointerExited(winrt::Windows::Foundation::TypedEventHandler const& value) const; using TransitFeaturePointerExited_revoker = impl::event_revoker::remove_TransitFeaturePointerExited>; - [[nodiscard]] TransitFeaturePointerExited_revoker TransitFeaturePointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; - WINRT_IMPL_AUTO(void) TransitFeaturePointerExited(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TransitFeaturePointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; + auto TransitFeaturePointerExited(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2635,7 +2627,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelperFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapControlDataHelper) CreateInstance(winrt::Windows::UI::Xaml::Controls::Maps::MapControl const& map) const; + auto CreateInstance(winrt::Windows::UI::Xaml::Controls::Maps::MapControl const& map) const; }; template <> struct consume { @@ -2644,7 +2636,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelperStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapControl) CreateMapControl(bool rasterRenderMode) const; + auto CreateMapControl(bool rasterRenderMode) const; }; template <> struct consume { @@ -2653,30 +2645,30 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CenterProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ChildrenProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ColorSchemeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DesiredPitchProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeadingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LandmarksVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LoadingStatusProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MapServiceTokenProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PedestrianFeaturesVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PitchProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TrafficFlowVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TransformOriginProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) WatermarkModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ZoomLevelProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MapElementsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RoutesProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TileSourcesProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LocationProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) GetLocation(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetLocation(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Devices::Geolocation::Geopoint const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) NormalizedAnchorPointProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) GetNormalizedAnchorPoint(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetNormalizedAnchorPoint(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto CenterProperty() const; + [[nodiscard]] auto ChildrenProperty() const; + [[nodiscard]] auto ColorSchemeProperty() const; + [[nodiscard]] auto DesiredPitchProperty() const; + [[nodiscard]] auto HeadingProperty() const; + [[nodiscard]] auto LandmarksVisibleProperty() const; + [[nodiscard]] auto LoadingStatusProperty() const; + [[nodiscard]] auto MapServiceTokenProperty() const; + [[nodiscard]] auto PedestrianFeaturesVisibleProperty() const; + [[nodiscard]] auto PitchProperty() const; + [[nodiscard]] auto StyleProperty() const; + [[nodiscard]] auto TrafficFlowVisibleProperty() const; + [[nodiscard]] auto TransformOriginProperty() const; + [[nodiscard]] auto WatermarkModeProperty() const; + [[nodiscard]] auto ZoomLevelProperty() const; + [[nodiscard]] auto MapElementsProperty() const; + [[nodiscard]] auto RoutesProperty() const; + [[nodiscard]] auto TileSourcesProperty() const; + [[nodiscard]] auto LocationProperty() const; + auto GetLocation(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetLocation(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Devices::Geolocation::Geopoint const& value) const; + [[nodiscard]] auto NormalizedAnchorPointProperty() const; + auto GetNormalizedAnchorPoint(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetNormalizedAnchorPoint(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::Point const& value) const; }; template <> struct consume { @@ -2685,15 +2677,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BusinessLandmarksVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TransitFeaturesVisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PanInteractionModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RotateInteractionModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TiltInteractionModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ZoomInteractionModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Is3DSupportedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsStreetsideSupportedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SceneProperty() const; + [[nodiscard]] auto BusinessLandmarksVisibleProperty() const; + [[nodiscard]] auto TransitFeaturesVisibleProperty() const; + [[nodiscard]] auto PanInteractionModeProperty() const; + [[nodiscard]] auto RotateInteractionModeProperty() const; + [[nodiscard]] auto TiltInteractionModeProperty() const; + [[nodiscard]] auto ZoomInteractionModeProperty() const; + [[nodiscard]] auto Is3DSupportedProperty() const; + [[nodiscard]] auto IsStreetsideSupportedProperty() const; + [[nodiscard]] auto SceneProperty() const; }; template <> struct consume { @@ -2702,8 +2694,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BusinessLandmarksEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TransitFeaturesEnabledProperty() const; + [[nodiscard]] auto BusinessLandmarksEnabledProperty() const; + [[nodiscard]] auto TransitFeaturesEnabledProperty() const; }; template <> struct consume { @@ -2712,9 +2704,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MapProjectionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StyleSheetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ViewPaddingProperty() const; + [[nodiscard]] auto MapProjectionProperty() const; + [[nodiscard]] auto StyleSheetProperty() const; + [[nodiscard]] auto ViewPaddingProperty() const; }; template <> struct consume { @@ -2723,7 +2715,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LayersProperty() const; + [[nodiscard]] auto LayersProperty() const; }; template <> struct consume { @@ -2732,7 +2724,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics7 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RegionProperty() const; + [[nodiscard]] auto RegionProperty() const; }; template <> struct consume { @@ -2741,10 +2733,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanTiltDownProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanTiltUpProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanZoomInProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanZoomOutProperty() const; + [[nodiscard]] auto CanTiltDownProperty() const; + [[nodiscard]] auto CanTiltUpProperty() const; + [[nodiscard]] auto CanZoomInProperty() const; + [[nodiscard]] auto CanZoomOutProperty() const; }; template <> struct consume { @@ -2753,9 +2745,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureClickEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) TransitProperties() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Location() const; + [[nodiscard]] auto TransitProperties() const; }; template <> struct consume { @@ -2764,9 +2756,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerEnteredEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) TransitProperties() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Location() const; + [[nodiscard]] auto TransitProperties() const; }; template <> struct consume { @@ -2775,9 +2767,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerExitedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) TransitProperties() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Location() const; + [[nodiscard]] auto TransitProperties() const; }; template <> struct consume { @@ -2786,9 +2778,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureRightTappedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView) TransitProperties() const; + [[nodiscard]] auto DisplayName() const; + [[nodiscard]] auto Location() const; + [[nodiscard]] auto TransitProperties() const; }; template <> struct consume { @@ -2813,7 +2805,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapCustomExperienceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperience) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2822,10 +2814,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElement { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ZIndex() const; - WINRT_IMPL_AUTO(void) ZIndex(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Visible() const; - WINRT_IMPL_AUTO(void) Visible(bool value) const; + [[nodiscard]] auto ZIndex() const; + auto ZIndex(int32_t value) const; + [[nodiscard]] auto Visible() const; + auto Visible(bool value) const; }; template <> struct consume { @@ -2834,8 +2826,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElement2 { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MapTabIndex() const; - WINRT_IMPL_AUTO(void) MapTabIndex(int32_t value) const; + [[nodiscard]] auto MapTabIndex() const; + auto MapTabIndex(int32_t value) const; }; template <> struct consume { @@ -2844,12 +2836,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElement3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MapStyleSheetEntry() const; - WINRT_IMPL_AUTO(void) MapStyleSheetEntry(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MapStyleSheetEntryState() const; - WINRT_IMPL_AUTO(void) MapStyleSheetEntryState(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Tag() const; - WINRT_IMPL_AUTO(void) Tag(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto MapStyleSheetEntry() const; + auto MapStyleSheetEntry(param::hstring const& value) const; + [[nodiscard]] auto MapStyleSheetEntryState() const; + auto MapStyleSheetEntryState(param::hstring const& value) const; + [[nodiscard]] auto Tag() const; + auto Tag(winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -2858,18 +2850,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - WINRT_IMPL_AUTO(void) Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D) Model() const; - WINRT_IMPL_AUTO(void) Model(winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Heading() const; - WINRT_IMPL_AUTO(void) Heading(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Pitch() const; - WINRT_IMPL_AUTO(void) Pitch(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Roll() const; - WINRT_IMPL_AUTO(void) Roll(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) Scale() const; - WINRT_IMPL_AUTO(void) Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const; + [[nodiscard]] auto Location() const; + auto Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const; + [[nodiscard]] auto Model() const; + auto Model(winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D const& value) const; + [[nodiscard]] auto Heading() const; + auto Heading(double value) const; + [[nodiscard]] auto Pitch() const; + auto Pitch(double value) const; + [[nodiscard]] auto Roll() const; + auto Roll(double value) const; + [[nodiscard]] auto Scale() const; + auto Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const; }; template <> struct consume { @@ -2878,11 +2870,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LocationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HeadingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PitchProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RollProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ScaleProperty() const; + [[nodiscard]] auto LocationProperty() const; + [[nodiscard]] auto HeadingProperty() const; + [[nodiscard]] auto PitchProperty() const; + [[nodiscard]] auto RollProperty() const; + [[nodiscard]] auto ScaleProperty() const; }; template <> struct consume { @@ -2891,8 +2883,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElement4 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; }; template <> struct consume { @@ -2901,9 +2893,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElementClickEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) MapElements() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Location() const; + [[nodiscard]] auto MapElements() const; }; template <> struct consume { @@ -2912,7 +2904,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElementFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElement) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2921,9 +2913,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerEnteredEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElement) MapElement() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Location() const; + [[nodiscard]] auto MapElement() const; }; template <> struct consume { @@ -2932,9 +2924,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerExitedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElement) MapElement() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Location() const; + [[nodiscard]] auto MapElement() const; }; template <> struct consume { @@ -2943,8 +2935,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ZIndexProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VisibleProperty() const; + [[nodiscard]] auto ZIndexProperty() const; + [[nodiscard]] auto VisibleProperty() const; }; template <> struct consume { @@ -2953,7 +2945,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MapTabIndexProperty() const; + [[nodiscard]] auto MapTabIndexProperty() const; }; template <> struct consume { @@ -2962,9 +2954,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MapStyleSheetEntryProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MapStyleSheetEntryStateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TagProperty() const; + [[nodiscard]] auto MapStyleSheetEntryProperty() const; + [[nodiscard]] auto MapStyleSheetEntryStateProperty() const; + [[nodiscard]] auto TagProperty() const; }; template <> struct consume { @@ -2973,7 +2965,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsEnabledProperty() const; + [[nodiscard]] auto IsEnabledProperty() const; }; template <> struct consume { @@ -2982,24 +2974,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) MapElements() const; - WINRT_IMPL_AUTO(void) MapElements(param::vector const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) MapElementClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MapElements() const; + auto MapElements(param::vector const& value) const; + auto MapElementClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MapElementClick_revoker = impl::event_revoker::remove_MapElementClick>; - [[nodiscard]] MapElementClick_revoker MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MapElementClick(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MapElementPointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MapElementClick(winrt::event_token const& token) const noexcept; + auto MapElementPointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MapElementPointerEntered_revoker = impl::event_revoker::remove_MapElementPointerEntered>; - [[nodiscard]] MapElementPointerEntered_revoker MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MapElementPointerEntered(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MapElementPointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MapElementPointerEntered(winrt::event_token const& token) const noexcept; + auto MapElementPointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MapElementPointerExited_revoker = impl::event_revoker::remove_MapElementPointerExited>; - [[nodiscard]] MapElementPointerExited_revoker MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MapElementPointerExited(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) MapContextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MapElementPointerExited(winrt::event_token const& token) const noexcept; + auto MapContextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MapContextRequested_revoker = impl::event_revoker::remove_MapContextRequested>; - [[nodiscard]] MapContextRequested_revoker MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MapContextRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MapContextRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3008,9 +3000,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerClickEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) MapElements() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Location() const; + [[nodiscard]] auto MapElements() const; }; template <> struct consume { @@ -3019,9 +3011,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerContextRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) MapElements() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Location() const; + [[nodiscard]] auto MapElements() const; }; template <> struct consume { @@ -3030,9 +3022,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerEnteredEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElement) MapElement() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Location() const; + [[nodiscard]] auto MapElement() const; }; template <> struct consume { @@ -3041,9 +3033,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerExitedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElement) MapElement() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Location() const; + [[nodiscard]] auto MapElement() const; }; template <> struct consume { @@ -3052,7 +3044,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MapElementsProperty() const; + [[nodiscard]] auto MapElementsProperty() const; }; template <> struct consume { @@ -3061,14 +3053,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapIcon { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; - WINRT_IMPL_AUTO(void) Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) NormalizedAnchorPoint() const; - WINRT_IMPL_AUTO(void) NormalizedAnchorPoint(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Image() const; - WINRT_IMPL_AUTO(void) Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + [[nodiscard]] auto Location() const; + auto Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto NormalizedAnchorPoint() const; + auto NormalizedAnchorPoint(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto Image() const; + auto Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; }; template <> struct consume { @@ -3077,8 +3069,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapIcon2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior) CollisionBehaviorDesired() const; - WINRT_IMPL_AUTO(void) CollisionBehaviorDesired(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior const& value) const; + [[nodiscard]] auto CollisionBehaviorDesired() const; + auto CollisionBehaviorDesired(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior const& value) const; }; template <> struct consume { @@ -3087,9 +3079,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LocationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TitleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) NormalizedAnchorPointProperty() const; + [[nodiscard]] auto LocationProperty() const; + [[nodiscard]] auto TitleProperty() const; + [[nodiscard]] auto NormalizedAnchorPointProperty() const; }; template <> struct consume { @@ -3098,7 +3090,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CollisionBehaviorDesiredProperty() const; + [[nodiscard]] auto CollisionBehaviorDesiredProperty() const; }; template <> struct consume { @@ -3107,8 +3099,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapInputEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Location() const; }; template <> struct consume { @@ -3117,11 +3109,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ItemsSource() const; - WINRT_IMPL_AUTO(void) ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Items() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) ItemTemplate() const; - WINRT_IMPL_AUTO(void) ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + [[nodiscard]] auto ItemsSource() const; + auto ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto Items() const; + [[nodiscard]] auto ItemTemplate() const; + auto ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; }; template <> struct consume { @@ -3130,9 +3122,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControlStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemsSourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemTemplateProperty() const; + [[nodiscard]] auto ItemsSourceProperty() const; + [[nodiscard]] auto ItemsProperty() const; + [[nodiscard]] auto ItemTemplateProperty() const; }; template <> struct consume { @@ -3141,12 +3133,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapLayer { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MapTabIndex() const; - WINRT_IMPL_AUTO(void) MapTabIndex(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Visible() const; - WINRT_IMPL_AUTO(void) Visible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ZIndex() const; - WINRT_IMPL_AUTO(void) ZIndex(int32_t value) const; + [[nodiscard]] auto MapTabIndex() const; + auto MapTabIndex(int32_t value) const; + [[nodiscard]] auto Visible() const; + auto Visible(bool value) const; + [[nodiscard]] auto ZIndex() const; + auto ZIndex(int32_t value) const; }; template <> struct consume { @@ -3155,7 +3147,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapLayerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapLayer) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3164,9 +3156,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapLayerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MapTabIndexProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VisibleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ZIndexProperty() const; + [[nodiscard]] auto MapTabIndexProperty() const; + [[nodiscard]] auto VisibleProperty() const; + [[nodiscard]] auto ZIndexProperty() const; }; template <> struct consume { @@ -3183,7 +3175,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3192,8 +3184,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source, winrt::Windows::UI::Xaml::Controls::Maps::MapModel3DShadingOption const& shadingOption) const; + auto CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source) const; + auto CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source, winrt::Windows::UI::Xaml::Controls::Maps::MapModel3DShadingOption const& shadingOption) const; }; template <> struct consume { @@ -3202,16 +3194,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) Path() const; - WINRT_IMPL_AUTO(void) Path(winrt::Windows::Devices::Geolocation::Geopath const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) StrokeColor() const; - WINRT_IMPL_AUTO(void) StrokeColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) StrokeThickness() const; - WINRT_IMPL_AUTO(void) StrokeThickness(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) StrokeDashed() const; - WINRT_IMPL_AUTO(void) StrokeDashed(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) FillColor() const; - WINRT_IMPL_AUTO(void) FillColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Path() const; + auto Path(winrt::Windows::Devices::Geolocation::Geopath const& value) const; + [[nodiscard]] auto StrokeColor() const; + auto StrokeColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto StrokeThickness() const; + auto StrokeThickness(double value) const; + [[nodiscard]] auto StrokeDashed() const; + auto StrokeDashed(bool value) const; + [[nodiscard]] auto FillColor() const; + auto FillColor(winrt::Windows::UI::Color const& value) const; }; template <> struct consume { @@ -3220,7 +3212,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Paths() const; + [[nodiscard]] auto Paths() const; }; template <> struct consume { @@ -3229,9 +3221,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapPolygonStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PathProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StrokeThicknessProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StrokeDashedProperty() const; + [[nodiscard]] auto PathProperty() const; + [[nodiscard]] auto StrokeThicknessProperty() const; + [[nodiscard]] auto StrokeDashedProperty() const; }; template <> struct consume { @@ -3240,14 +3232,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) Path() const; - WINRT_IMPL_AUTO(void) Path(winrt::Windows::Devices::Geolocation::Geopath const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) StrokeColor() const; - WINRT_IMPL_AUTO(void) StrokeColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) StrokeThickness() const; - WINRT_IMPL_AUTO(void) StrokeThickness(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) StrokeDashed() const; - WINRT_IMPL_AUTO(void) StrokeDashed(bool value) const; + [[nodiscard]] auto Path() const; + auto Path(winrt::Windows::Devices::Geolocation::Geopath const& value) const; + [[nodiscard]] auto StrokeColor() const; + auto StrokeColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto StrokeThickness() const; + auto StrokeThickness(double value) const; + [[nodiscard]] auto StrokeDashed() const; + auto StrokeDashed(bool value) const; }; template <> struct consume { @@ -3256,8 +3248,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapPolylineStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PathProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StrokeDashedProperty() const; + [[nodiscard]] auto PathProperty() const; + [[nodiscard]] auto StrokeDashedProperty() const; }; template <> struct consume { @@ -3266,8 +3258,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapRightTappedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Location() const; }; template <> struct consume { @@ -3276,11 +3268,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) RouteColor() const; - WINRT_IMPL_AUTO(void) RouteColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) OutlineColor() const; - WINRT_IMPL_AUTO(void) OutlineColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRoute) Route() const; + [[nodiscard]] auto RouteColor() const; + auto RouteColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto OutlineColor() const; + auto OutlineColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Route() const; }; template <> struct consume { @@ -3289,7 +3281,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapRouteViewFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapRouteView) CreateInstanceWithMapRoute(winrt::Windows::Services::Maps::MapRoute const& route, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithMapRoute(winrt::Windows::Services::Maps::MapRoute const& route, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3298,11 +3290,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapScene { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) TargetCamera() const; - WINRT_IMPL_AUTO(winrt::event_token) TargetCameraChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TargetCamera() const; + auto TargetCameraChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TargetCameraChanged_revoker = impl::event_revoker::remove_TargetCameraChanged>; - [[nodiscard]] TargetCameraChanged_revoker TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TargetCameraChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TargetCameraChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3311,15 +3303,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) CreateFromBoundingBox(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) CreateFromBoundingBox(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, double headingInDegrees, double pitchInDegrees) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) CreateFromCamera(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera const& camera) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) CreateFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) CreateFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) CreateFromLocationAndRadius(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) CreateFromLocationAndRadius(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters, double headingInDegrees, double pitchInDegrees) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) CreateFromLocations(param::iterable const& locations) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) CreateFromLocations(param::iterable const& locations, double headingInDegrees, double pitchInDegrees) const; + auto CreateFromBoundingBox(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds) const; + auto CreateFromBoundingBox(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, double headingInDegrees, double pitchInDegrees) const; + auto CreateFromCamera(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera const& camera) const; + auto CreateFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location) const; + auto CreateFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees) const; + auto CreateFromLocationAndRadius(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters) const; + auto CreateFromLocationAndRadius(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters, double headingInDegrees, double pitchInDegrees) const; + auto CreateFromLocations(param::iterable const& locations) const; + auto CreateFromLocations(param::iterable const& locations, double headingInDegrees, double pitchInDegrees) const; }; template <> struct consume { @@ -3336,70 +3328,70 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Area() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Airport() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Cemetery() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Continent() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Education() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) IndigenousPeoplesReserve() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Island() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Medical() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Military() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Nautical() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Neighborhood() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Runway() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Sand() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ShoppingCenter() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Stadium() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Vegetation() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Forest() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) GolfCourse() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Park() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PlayingField() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Reserve() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Point() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NaturalPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Peak() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) VolcanicPeak() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WaterPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PointOfInterest() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Business() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FoodPoint() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PopulatedPlace() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Capital() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AdminDistrictCapital() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CountryRegionCapital() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RoadShield() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RoadExit() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Transit() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Political() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CountryRegion() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AdminDistrict() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) District() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Structure() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Building() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EducationBuilding() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MedicalBuilding() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TransitBuilding() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Transportation() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Road() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ControlledAccessHighway() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HighSpeedRamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Highway() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MajorRoad() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ArterialRoad() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Street() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Ramp() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UnpavedStreet() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TollRoad() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Railway() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Trail() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WaterRoute() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Water() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) River() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) RouteLine() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WalkingRoute() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DrivingRoute() const; + [[nodiscard]] auto Area() const; + [[nodiscard]] auto Airport() const; + [[nodiscard]] auto Cemetery() const; + [[nodiscard]] auto Continent() const; + [[nodiscard]] auto Education() const; + [[nodiscard]] auto IndigenousPeoplesReserve() const; + [[nodiscard]] auto Island() const; + [[nodiscard]] auto Medical() const; + [[nodiscard]] auto Military() const; + [[nodiscard]] auto Nautical() const; + [[nodiscard]] auto Neighborhood() const; + [[nodiscard]] auto Runway() const; + [[nodiscard]] auto Sand() const; + [[nodiscard]] auto ShoppingCenter() const; + [[nodiscard]] auto Stadium() const; + [[nodiscard]] auto Vegetation() const; + [[nodiscard]] auto Forest() const; + [[nodiscard]] auto GolfCourse() const; + [[nodiscard]] auto Park() const; + [[nodiscard]] auto PlayingField() const; + [[nodiscard]] auto Reserve() const; + [[nodiscard]] auto Point() const; + [[nodiscard]] auto NaturalPoint() const; + [[nodiscard]] auto Peak() const; + [[nodiscard]] auto VolcanicPeak() const; + [[nodiscard]] auto WaterPoint() const; + [[nodiscard]] auto PointOfInterest() const; + [[nodiscard]] auto Business() const; + [[nodiscard]] auto FoodPoint() const; + [[nodiscard]] auto PopulatedPlace() const; + [[nodiscard]] auto Capital() const; + [[nodiscard]] auto AdminDistrictCapital() const; + [[nodiscard]] auto CountryRegionCapital() const; + [[nodiscard]] auto RoadShield() const; + [[nodiscard]] auto RoadExit() const; + [[nodiscard]] auto Transit() const; + [[nodiscard]] auto Political() const; + [[nodiscard]] auto CountryRegion() const; + [[nodiscard]] auto AdminDistrict() const; + [[nodiscard]] auto District() const; + [[nodiscard]] auto Structure() const; + [[nodiscard]] auto Building() const; + [[nodiscard]] auto EducationBuilding() const; + [[nodiscard]] auto MedicalBuilding() const; + [[nodiscard]] auto TransitBuilding() const; + [[nodiscard]] auto Transportation() const; + [[nodiscard]] auto Road() const; + [[nodiscard]] auto ControlledAccessHighway() const; + [[nodiscard]] auto HighSpeedRamp() const; + [[nodiscard]] auto Highway() const; + [[nodiscard]] auto MajorRoad() const; + [[nodiscard]] auto ArterialRoad() const; + [[nodiscard]] auto Street() const; + [[nodiscard]] auto Ramp() const; + [[nodiscard]] auto UnpavedStreet() const; + [[nodiscard]] auto TollRoad() const; + [[nodiscard]] auto Railway() const; + [[nodiscard]] auto Trail() const; + [[nodiscard]] auto WaterRoute() const; + [[nodiscard]] auto Water() const; + [[nodiscard]] auto River() const; + [[nodiscard]] auto RouteLine() const; + [[nodiscard]] auto WalkingRoute() const; + [[nodiscard]] auto DrivingRoute() const; }; template <> struct consume { @@ -3408,9 +3400,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntryStatesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Disabled() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Hover() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Selected() const; + [[nodiscard]] auto Disabled() const; + [[nodiscard]] auto Hover() const; + [[nodiscard]] auto Selected() const; }; template <> struct consume { @@ -3419,15 +3411,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) Aerial() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) AerialWithOverlay() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) RoadLight() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) RoadDark() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) RoadHighContrastLight() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) RoadHighContrastDark() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) Combine(param::iterable const& styleSheets) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) ParseFromJson(param::hstring const& styleAsJson) const; - WINRT_IMPL_AUTO(bool) TryParseFromJson(param::hstring const& styleAsJson, winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet& styleSheet) const; + auto Aerial() const; + auto AerialWithOverlay() const; + auto RoadLight() const; + auto RoadDark() const; + auto RoadHighContrastLight() const; + auto RoadHighContrastDark() const; + auto Combine(param::iterable const& styleSheets) const; + auto ParseFromJson(param::hstring const& styleAsJson) const; + auto TryParseFromJson(param::hstring const& styleAsJson, winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet& styleSheet) const; }; template <> struct consume { @@ -3436,7 +3428,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapTargetCameraChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) Camera() const; + [[nodiscard]] auto Camera() const; }; template <> struct consume { @@ -3445,7 +3437,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapTargetCameraChangedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCameraChangeReason) ChangeReason() const; + [[nodiscard]] auto ChangeReason() const; }; template <> struct consume { @@ -3454,9 +3446,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) PixelData() const; - WINRT_IMPL_AUTO(void) PixelData(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequestDeferral) GetDeferral() const; + [[nodiscard]] auto PixelData() const; + auto PixelData(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -3465,7 +3457,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -3474,10 +3466,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) X() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Y() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ZoomLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequest) Request() const; + [[nodiscard]] auto X() const; + [[nodiscard]] auto Y() const; + [[nodiscard]] auto ZoomLevel() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -3486,7 +3478,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FrameIndex() const; + [[nodiscard]] auto FrameIndex() const; }; template <> struct consume { @@ -3503,7 +3495,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileDataSourceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3512,28 +3504,28 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource) DataSource() const; - WINRT_IMPL_AUTO(void) DataSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileLayer) Layer() const; - WINRT_IMPL_AUTO(void) Layer(winrt::Windows::UI::Xaml::Controls::Maps::MapTileLayer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange) ZoomLevelRange() const; - WINRT_IMPL_AUTO(void) ZoomLevelRange(winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) Bounds() const; - WINRT_IMPL_AUTO(void) Bounds(winrt::Windows::Devices::Geolocation::GeoboundingBox const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowOverstretch() const; - WINRT_IMPL_AUTO(void) AllowOverstretch(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFadingEnabled() const; - WINRT_IMPL_AUTO(void) IsFadingEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTransparencyEnabled() const; - WINRT_IMPL_AUTO(void) IsTransparencyEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRetryEnabled() const; - WINRT_IMPL_AUTO(void) IsRetryEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ZIndex() const; - WINRT_IMPL_AUTO(void) ZIndex(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) TilePixelSize() const; - WINRT_IMPL_AUTO(void) TilePixelSize(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Visible() const; - WINRT_IMPL_AUTO(void) Visible(bool value) const; + [[nodiscard]] auto DataSource() const; + auto DataSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& value) const; + [[nodiscard]] auto Layer() const; + auto Layer(winrt::Windows::UI::Xaml::Controls::Maps::MapTileLayer const& value) const; + [[nodiscard]] auto ZoomLevelRange() const; + auto ZoomLevelRange(winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& value) const; + [[nodiscard]] auto Bounds() const; + auto Bounds(winrt::Windows::Devices::Geolocation::GeoboundingBox const& value) const; + [[nodiscard]] auto AllowOverstretch() const; + auto AllowOverstretch(bool value) const; + [[nodiscard]] auto IsFadingEnabled() const; + auto IsFadingEnabled(bool value) const; + [[nodiscard]] auto IsTransparencyEnabled() const; + auto IsTransparencyEnabled(bool value) const; + [[nodiscard]] auto IsRetryEnabled() const; + auto IsRetryEnabled(bool value) const; + [[nodiscard]] auto ZIndex() const; + auto ZIndex(int32_t value) const; + [[nodiscard]] auto TilePixelSize() const; + auto TilePixelSize(int32_t value) const; + [[nodiscard]] auto Visible() const; + auto Visible(bool value) const; }; template <> struct consume { @@ -3542,16 +3534,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileAnimationState) AnimationState() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoPlay() const; - WINRT_IMPL_AUTO(void) AutoPlay(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FrameCount() const; - WINRT_IMPL_AUTO(void) FrameCount(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) FrameDuration() const; - WINRT_IMPL_AUTO(void) FrameDuration(winrt::Windows::Foundation::TimeSpan const& value) const; - WINRT_IMPL_AUTO(void) Pause() const; - WINRT_IMPL_AUTO(void) Play() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto AnimationState() const; + [[nodiscard]] auto AutoPlay() const; + auto AutoPlay(bool value) const; + [[nodiscard]] auto FrameCount() const; + auto FrameCount(int32_t value) const; + [[nodiscard]] auto FrameDuration() const; + auto FrameDuration(winrt::Windows::Foundation::TimeSpan const& value) const; + auto Pause() const; + auto Play() const; + auto Stop() const; }; template <> struct consume { @@ -3560,11 +3552,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource) CreateInstanceWithDataSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource) CreateInstanceWithDataSourceAndZoomRange(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource) CreateInstanceWithDataSourceZoomRangeAndBounds(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource) CreateInstanceWithDataSourceZoomRangeBoundsAndTileSize(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, int32_t tileSizeInPixels, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithDataSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithDataSourceAndZoomRange(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithDataSourceZoomRangeAndBounds(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithDataSourceZoomRangeBoundsAndTileSize(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, int32_t tileSizeInPixels, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3573,17 +3565,17 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DataSourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LayerProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ZoomLevelRangeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BoundsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AllowOverstretchProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsFadingEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTransparencyEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsRetryEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ZIndexProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TilePixelSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VisibleProperty() const; + [[nodiscard]] auto DataSourceProperty() const; + [[nodiscard]] auto LayerProperty() const; + [[nodiscard]] auto ZoomLevelRangeProperty() const; + [[nodiscard]] auto BoundsProperty() const; + [[nodiscard]] auto AllowOverstretchProperty() const; + [[nodiscard]] auto IsFadingEnabledProperty() const; + [[nodiscard]] auto IsTransparencyEnabledProperty() const; + [[nodiscard]] auto IsRetryEnabledProperty() const; + [[nodiscard]] auto ZIndexProperty() const; + [[nodiscard]] auto TilePixelSizeProperty() const; + [[nodiscard]] auto VisibleProperty() const; }; template <> struct consume { @@ -3592,10 +3584,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AnimationStateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AutoPlayProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FrameCountProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FrameDurationProperty() const; + [[nodiscard]] auto AnimationStateProperty() const; + [[nodiscard]] auto AutoPlayProperty() const; + [[nodiscard]] auto FrameCountProperty() const; + [[nodiscard]] auto FrameDurationProperty() const; }; template <> struct consume { @@ -3604,9 +3596,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - WINRT_IMPL_AUTO(void) Uri(winrt::Windows::Foundation::Uri const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestDeferral) GetDeferral() const; + [[nodiscard]] auto Uri() const; + auto Uri(winrt::Windows::Foundation::Uri const& value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -3615,7 +3607,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestDeferral { - WINRT_IMPL_AUTO(void) Complete() const; + auto Complete() const; }; template <> struct consume { @@ -3624,10 +3616,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) X() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Y() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ZoomLevel() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequest) Request() const; + [[nodiscard]] auto X() const; + [[nodiscard]] auto Y() const; + [[nodiscard]] auto ZoomLevel() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -3636,7 +3628,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FrameIndex() const; + [[nodiscard]] auto FrameIndex() const; }; template <> struct consume { @@ -3645,18 +3637,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AddressTextVisible() const; - WINRT_IMPL_AUTO(void) AddressTextVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CursorVisible() const; - WINRT_IMPL_AUTO(void) CursorVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) OverviewMapVisible() const; - WINRT_IMPL_AUTO(void) OverviewMapVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) StreetLabelsVisible() const; - WINRT_IMPL_AUTO(void) StreetLabelsVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ExitButtonVisible() const; - WINRT_IMPL_AUTO(void) ExitButtonVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ZoomButtonsVisible() const; - WINRT_IMPL_AUTO(void) ZoomButtonsVisible(bool value) const; + [[nodiscard]] auto AddressTextVisible() const; + auto AddressTextVisible(bool value) const; + [[nodiscard]] auto CursorVisible() const; + auto CursorVisible(bool value) const; + [[nodiscard]] auto OverviewMapVisible() const; + auto OverviewMapVisible(bool value) const; + [[nodiscard]] auto StreetLabelsVisible() const; + auto StreetLabelsVisible(bool value) const; + [[nodiscard]] auto ExitButtonVisible() const; + auto ExitButtonVisible(bool value) const; + [[nodiscard]] auto ZoomButtonsVisible() const; + auto ZoomButtonsVisible(bool value) const; }; template <> struct consume { @@ -3665,8 +3657,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperienceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::StreetsideExperience) CreateInstanceWithPanorama(winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama const& panorama) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::StreetsideExperience) CreateInstanceWithPanoramaHeadingPitchAndFieldOfView(winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama const& panorama, double headingInDegrees, double pitchInDegrees, double fieldOfViewInDegrees) const; + auto CreateInstanceWithPanorama(winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama const& panorama) const; + auto CreateInstanceWithPanoramaHeadingPitchAndFieldOfView(winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama const& panorama, double headingInDegrees, double pitchInDegrees, double fieldOfViewInDegrees) const; }; template <> struct consume { @@ -3675,7 +3667,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanorama { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Location() const; + [[nodiscard]] auto Location() const; }; template <> struct consume { @@ -3684,8 +3676,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanoramaStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters) const; + auto FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location) const; + auto FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.1.h index 1829c36a..01789924 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Controls_Maps_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.2.h index 4f5ca92b..20e5ce12 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Controls_Maps_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.0.h index 3031f421..3ed0329a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Controls_Primitives_0_H @@ -15,7 +15,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { - template struct __declspec(empty_bases) IVectorView; template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics @@ -2402,7 +2401,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IAppBarButtonTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(double) KeyboardAcceleratorTextMinWidth() const; + [[nodiscard]] auto KeyboardAcceleratorTextMinWidth() const; }; template <> struct consume { @@ -2411,13 +2410,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) ClipRect() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CompactVerticalDelta() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) CompactRootMargin() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MinimalVerticalDelta() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) MinimalRootMargin() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HiddenVerticalDelta() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) HiddenRootMargin() const; + [[nodiscard]] auto ClipRect() const; + [[nodiscard]] auto CompactVerticalDelta() const; + [[nodiscard]] auto CompactRootMargin() const; + [[nodiscard]] auto MinimalVerticalDelta() const; + [[nodiscard]] auto MinimalRootMargin() const; + [[nodiscard]] auto HiddenVerticalDelta() const; + [[nodiscard]] auto HiddenRootMargin() const; }; template <> struct consume { @@ -2426,9 +2425,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings2 { - [[nodiscard]] WINRT_IMPL_AUTO(double) NegativeCompactVerticalDelta() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) NegativeMinimalVerticalDelta() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) NegativeHiddenVerticalDelta() const; + [[nodiscard]] auto NegativeCompactVerticalDelta() const; + [[nodiscard]] auto NegativeMinimalVerticalDelta() const; + [[nodiscard]] auto NegativeHiddenVerticalDelta() const; }; template <> struct consume { @@ -2437,7 +2436,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IAppBarToggleButtonTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(double) KeyboardAcceleratorTextMinWidth() const; + [[nodiscard]] auto KeyboardAcceleratorTextMinWidth() const; }; template <> struct consume { @@ -2446,18 +2445,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ClickMode) ClickMode() const; - WINRT_IMPL_AUTO(void) ClickMode(winrt::Windows::UI::Xaml::Controls::ClickMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPointerOver() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPressed() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) Command() const; - WINRT_IMPL_AUTO(void) Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CommandParameter() const; - WINRT_IMPL_AUTO(void) CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) Click(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto ClickMode() const; + auto ClickMode(winrt::Windows::UI::Xaml::Controls::ClickMode const& value) const; + [[nodiscard]] auto IsPointerOver() const; + [[nodiscard]] auto IsPressed() const; + [[nodiscard]] auto Command() const; + auto Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const; + [[nodiscard]] auto CommandParameter() const; + auto CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const; + auto Click(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using Click_revoker = impl::event_revoker::remove_Click>; - [[nodiscard]] Click_revoker Click(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Click(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Click(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto Click(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2466,7 +2465,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ButtonBase) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2475,11 +2474,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ClickModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsPointerOverProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsPressedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CommandProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CommandParameterProperty() const; + [[nodiscard]] auto ClickModeProperty() const; + [[nodiscard]] auto IsPointerOverProperty() const; + [[nodiscard]] auto IsPressedProperty() const; + [[nodiscard]] auto CommandProperty() const; + [[nodiscard]] auto CommandParameterProperty() const; }; template <> struct consume { @@ -2496,21 +2495,21 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(double) MinViewWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) HeaderText() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WeekDay1() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WeekDay2() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WeekDay3() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WeekDay4() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WeekDay5() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WeekDay6() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) WeekDay7() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasMoreContentAfter() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasMoreContentBefore() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasMoreViews() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) ClipRect() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CenterX() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CenterY() const; + [[nodiscard]] auto MinViewWidth() const; + [[nodiscard]] auto HeaderText() const; + [[nodiscard]] auto WeekDay1() const; + [[nodiscard]] auto WeekDay2() const; + [[nodiscard]] auto WeekDay3() const; + [[nodiscard]] auto WeekDay4() const; + [[nodiscard]] auto WeekDay5() const; + [[nodiscard]] auto WeekDay6() const; + [[nodiscard]] auto WeekDay7() const; + [[nodiscard]] auto HasMoreContentAfter() const; + [[nodiscard]] auto HasMoreContentBefore() const; + [[nodiscard]] auto HasMoreViews() const; + [[nodiscard]] auto ClipRect() const; + [[nodiscard]] auto CenterX() const; + [[nodiscard]] auto CenterY() const; }; template <> struct consume { @@ -2519,33 +2518,33 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanVerticallyScroll() const; - WINRT_IMPL_AUTO(void) CanVerticallyScroll(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanHorizontallyScroll() const; - WINRT_IMPL_AUTO(void) CanHorizontallyScroll(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExtentWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExtentHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ViewportWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ViewportHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ScrollOwner() const; - WINRT_IMPL_AUTO(void) ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(void) LineUp() const; - WINRT_IMPL_AUTO(void) LineDown() const; - WINRT_IMPL_AUTO(void) LineLeft() const; - WINRT_IMPL_AUTO(void) LineRight() const; - WINRT_IMPL_AUTO(void) PageUp() const; - WINRT_IMPL_AUTO(void) PageDown() const; - WINRT_IMPL_AUTO(void) PageLeft() const; - WINRT_IMPL_AUTO(void) PageRight() const; - WINRT_IMPL_AUTO(void) MouseWheelUp() const; - WINRT_IMPL_AUTO(void) MouseWheelDown() const; - WINRT_IMPL_AUTO(void) MouseWheelLeft() const; - WINRT_IMPL_AUTO(void) MouseWheelRight() const; - WINRT_IMPL_AUTO(void) SetHorizontalOffset(double offset) const; - WINRT_IMPL_AUTO(void) SetVerticalOffset(double offset) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) MakeVisible(winrt::Windows::UI::Xaml::UIElement const& visual, winrt::Windows::Foundation::Rect const& rectangle) const; + [[nodiscard]] auto CanVerticallyScroll() const; + auto CanVerticallyScroll(bool value) const; + [[nodiscard]] auto CanHorizontallyScroll() const; + auto CanHorizontallyScroll(bool value) const; + [[nodiscard]] auto ExtentWidth() const; + [[nodiscard]] auto ExtentHeight() const; + [[nodiscard]] auto ViewportWidth() const; + [[nodiscard]] auto ViewportHeight() const; + [[nodiscard]] auto HorizontalOffset() const; + [[nodiscard]] auto VerticalOffset() const; + [[nodiscard]] auto ScrollOwner() const; + auto ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const; + auto LineUp() const; + auto LineDown() const; + auto LineLeft() const; + auto LineRight() const; + auto PageUp() const; + auto PageDown() const; + auto PageLeft() const; + auto PageRight() const; + auto MouseWheelUp() const; + auto MouseWheelDown() const; + auto MouseWheelLeft() const; + auto MouseWheelRight() const; + auto SetHorizontalOffset(double offset) const; + auto SetVerticalOffset(double offset) const; + auto MakeVisible(winrt::Windows::UI::Xaml::UIElement const& visual, winrt::Windows::Foundation::Rect const& rectangle) const; }; template <> struct consume { @@ -2554,7 +2553,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanelFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::CarouselPanel) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2563,8 +2562,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSlider { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorPickerHsvChannel) ColorChannel() const; - WINRT_IMPL_AUTO(void) ColorChannel(winrt::Windows::UI::Xaml::Controls::ColorPickerHsvChannel const& value) const; + [[nodiscard]] auto ColorChannel() const; + auto ColorChannel(winrt::Windows::UI::Xaml::Controls::ColorPickerHsvChannel const& value) const; }; template <> struct consume { @@ -2573,7 +2572,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSliderFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ColorPickerSlider) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2582,7 +2581,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSliderStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ColorChannelProperty() const; + [[nodiscard]] auto ColorChannelProperty() const; }; template <> struct consume { @@ -2591,30 +2590,30 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4) HsvColor() const; - WINRT_IMPL_AUTO(void) HsvColor(winrt::Windows::Foundation::Numerics::float4 const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MinHue() const; - WINRT_IMPL_AUTO(void) MinHue(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxHue() const; - WINRT_IMPL_AUTO(void) MaxHue(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MinSaturation() const; - WINRT_IMPL_AUTO(void) MinSaturation(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxSaturation() const; - WINRT_IMPL_AUTO(void) MaxSaturation(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MinValue() const; - WINRT_IMPL_AUTO(void) MinValue(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxValue() const; - WINRT_IMPL_AUTO(void) MaxValue(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape) Shape() const; - WINRT_IMPL_AUTO(void) Shape(winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents) Components() const; - WINRT_IMPL_AUTO(void) Components(winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) ColorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto HsvColor() const; + auto HsvColor(winrt::Windows::Foundation::Numerics::float4 const& value) const; + [[nodiscard]] auto MinHue() const; + auto MinHue(int32_t value) const; + [[nodiscard]] auto MaxHue() const; + auto MaxHue(int32_t value) const; + [[nodiscard]] auto MinSaturation() const; + auto MinSaturation(int32_t value) const; + [[nodiscard]] auto MaxSaturation() const; + auto MaxSaturation(int32_t value) const; + [[nodiscard]] auto MinValue() const; + auto MinValue(int32_t value) const; + [[nodiscard]] auto MaxValue() const; + auto MaxValue(int32_t value) const; + [[nodiscard]] auto Shape() const; + auto Shape(winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape const& value) const; + [[nodiscard]] auto Components() const; + auto Components(winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents const& value) const; + auto ColorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ColorChanged_revoker = impl::event_revoker::remove_ColorChanged>; - [[nodiscard]] ColorChanged_revoker ColorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ColorChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ColorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ColorChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2623,7 +2622,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2632,16 +2631,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ColorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HsvColorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinHueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxHueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinSaturationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxSaturationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinValueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaxValueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ShapeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ComponentsProperty() const; + [[nodiscard]] auto ColorProperty() const; + [[nodiscard]] auto HsvColorProperty() const; + [[nodiscard]] auto MinHueProperty() const; + [[nodiscard]] auto MaxHueProperty() const; + [[nodiscard]] auto MinSaturationProperty() const; + [[nodiscard]] auto MaxSaturationProperty() const; + [[nodiscard]] auto MinValueProperty() const; + [[nodiscard]] auto MaxValueProperty() const; + [[nodiscard]] auto ShapeProperty() const; + [[nodiscard]] auto ComponentsProperty() const; }; template <> struct consume { @@ -2650,10 +2649,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(double) DropDownOpenedHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DropDownClosedHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DropDownOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection) SelectedItemDirection() const; + [[nodiscard]] auto DropDownOpenedHeight() const; + [[nodiscard]] auto DropDownClosedHeight() const; + [[nodiscard]] auto DropDownOffset() const; + [[nodiscard]] auto SelectedItemDirection() const; }; template <> struct consume { @@ -2662,7 +2661,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings2 { - [[nodiscard]] WINRT_IMPL_AUTO(double) DropDownContentMinWidth() const; + [[nodiscard]] auto DropDownContentMinWidth() const; }; template <> struct consume { @@ -2671,7 +2670,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBar { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::CommandBarFlyoutCommandBarTemplateSettings) FlyoutTemplateSettings() const; + [[nodiscard]] auto FlyoutTemplateSettings() const; }; template <> struct consume { @@ -2680,7 +2679,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::CommandBarFlyoutCommandBar) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2689,26 +2688,26 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(double) OpenAnimationStartPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OpenAnimationEndPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CloseAnimationEndPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CurrentWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExpandedWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) WidthExpansionDelta() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) WidthExpansionAnimationStartPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) WidthExpansionAnimationEndPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) WidthExpansionMoreButtonAnimationStartPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) WidthExpansionMoreButtonAnimationEndPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExpandUpOverflowVerticalPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExpandDownOverflowVerticalPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExpandUpAnimationStartPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExpandUpAnimationEndPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExpandUpAnimationHoldPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExpandDownAnimationStartPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExpandDownAnimationEndPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExpandDownAnimationHoldPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) ContentClipRect() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) OverflowContentClipRect() const; + [[nodiscard]] auto OpenAnimationStartPosition() const; + [[nodiscard]] auto OpenAnimationEndPosition() const; + [[nodiscard]] auto CloseAnimationEndPosition() const; + [[nodiscard]] auto CurrentWidth() const; + [[nodiscard]] auto ExpandedWidth() const; + [[nodiscard]] auto WidthExpansionDelta() const; + [[nodiscard]] auto WidthExpansionAnimationStartPosition() const; + [[nodiscard]] auto WidthExpansionAnimationEndPosition() const; + [[nodiscard]] auto WidthExpansionMoreButtonAnimationStartPosition() const; + [[nodiscard]] auto WidthExpansionMoreButtonAnimationEndPosition() const; + [[nodiscard]] auto ExpandUpOverflowVerticalPosition() const; + [[nodiscard]] auto ExpandDownOverflowVerticalPosition() const; + [[nodiscard]] auto ExpandUpAnimationStartPosition() const; + [[nodiscard]] auto ExpandUpAnimationEndPosition() const; + [[nodiscard]] auto ExpandUpAnimationHoldPosition() const; + [[nodiscard]] auto ExpandDownAnimationStartPosition() const; + [[nodiscard]] auto ExpandDownAnimationEndPosition() const; + [[nodiscard]] auto ExpandDownAnimationHoldPosition() const; + [[nodiscard]] auto ContentClipRect() const; + [[nodiscard]] auto OverflowContentClipRect() const; }; template <> struct consume { @@ -2717,13 +2716,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(double) ContentHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) OverflowContentClipRect() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OverflowContentMinWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OverflowContentMaxHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OverflowContentHorizontalOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OverflowContentHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) NegativeOverflowContentHeight() const; + [[nodiscard]] auto ContentHeight() const; + [[nodiscard]] auto OverflowContentClipRect() const; + [[nodiscard]] auto OverflowContentMinWidth() const; + [[nodiscard]] auto OverflowContentMaxHeight() const; + [[nodiscard]] auto OverflowContentHorizontalOffset() const; + [[nodiscard]] auto OverflowContentHeight() const; + [[nodiscard]] auto NegativeOverflowContentHeight() const; }; template <> struct consume { @@ -2732,7 +2731,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings2 { - [[nodiscard]] WINRT_IMPL_AUTO(double) OverflowContentMaxWidth() const; + [[nodiscard]] auto OverflowContentMaxWidth() const; }; template <> struct consume { @@ -2741,7 +2740,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) EffectiveOverflowButtonVisibility() const; + [[nodiscard]] auto EffectiveOverflowButtonVisibility() const; }; template <> struct consume { @@ -2750,9 +2749,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings4 { - [[nodiscard]] WINRT_IMPL_AUTO(double) OverflowContentCompactYTranslation() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OverflowContentMinimalYTranslation() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OverflowContentHiddenYTranslation() const; + [[nodiscard]] auto OverflowContentCompactYTranslation() const; + [[nodiscard]] auto OverflowContentMinimalYTranslation() const; + [[nodiscard]] auto OverflowContentHiddenYTranslation() const; }; template <> struct consume { @@ -2761,9 +2760,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Canceled() const; + [[nodiscard]] auto HorizontalChange() const; + [[nodiscard]] auto VerticalChange() const; + [[nodiscard]] auto Canceled() const; }; template <> struct consume { @@ -2772,7 +2771,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::DragCompletedEventArgs) CreateInstanceWithHorizontalChangeVerticalChangeAndCanceled(double horizontalChange, double verticalChange, bool canceled, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithHorizontalChangeVerticalChangeAndCanceled(double horizontalChange, double verticalChange, bool canceled, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2781,8 +2780,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IDragDeltaEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalChange() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalChange() const; + [[nodiscard]] auto HorizontalChange() const; + [[nodiscard]] auto VerticalChange() const; }; template <> struct consume { @@ -2791,7 +2790,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IDragDeltaEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::DragDeltaEventArgs) CreateInstanceWithHorizontalChangeAndVerticalChange(double horizontalChange, double verticalChange, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithHorizontalChangeAndVerticalChange(double horizontalChange, double verticalChange, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2800,8 +2799,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IDragStartedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalOffset() const; + [[nodiscard]] auto HorizontalOffset() const; + [[nodiscard]] auto VerticalOffset() const; }; template <> struct consume { @@ -2810,7 +2809,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IDragStartedEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::DragStartedEventArgs) CreateInstanceWithHorizontalOffsetAndVerticalOffset(double horizontalOffset, double verticalOffset, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithHorizontalOffsetAndVerticalOffset(double horizontalOffset, double verticalOffset, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2819,22 +2818,22 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode) Placement() const; - WINRT_IMPL_AUTO(void) Placement(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) Opened(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto Placement() const; + auto Placement(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& value) const; + auto Opened(winrt::Windows::Foundation::EventHandler const& handler) const; using Opened_revoker = impl::event_revoker::remove_Opened>; - [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Opened(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Opened(winrt::event_token const& token) const noexcept; + auto Closed(winrt::Windows::Foundation::EventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Opening(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; + auto Opening(winrt::Windows::Foundation::EventHandler const& handler) const; using Opening_revoker = impl::event_revoker::remove_Opening>; - [[nodiscard]] Opening_revoker Opening(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Opening(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) ShowAt(winrt::Windows::UI::Xaml::FrameworkElement const& placementTarget) const; - WINRT_IMPL_AUTO(void) Hide() const; + [[nodiscard]] auto Opening(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Opening(winrt::event_token const& token) const noexcept; + auto ShowAt(winrt::Windows::UI::Xaml::FrameworkElement const& placementTarget) const; + auto Hide() const; }; template <> struct consume { @@ -2843,19 +2842,19 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FrameworkElement) Target() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowFocusOnInteraction() const; - WINRT_IMPL_AUTO(void) AllowFocusOnInteraction(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) LightDismissOverlayMode() const; - WINRT_IMPL_AUTO(void) LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowFocusWhenDisabled() const; - WINRT_IMPL_AUTO(void) AllowFocusWhenDisabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSoundMode) ElementSoundMode() const; - WINRT_IMPL_AUTO(void) ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Target() const; + [[nodiscard]] auto AllowFocusOnInteraction() const; + auto AllowFocusOnInteraction(bool value) const; + [[nodiscard]] auto LightDismissOverlayMode() const; + auto LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; + [[nodiscard]] auto AllowFocusWhenDisabled() const; + auto AllowFocusWhenDisabled(bool value) const; + [[nodiscard]] auto ElementSoundMode() const; + auto ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const; + auto Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Closing_revoker = impl::event_revoker::remove_Closing>; - [[nodiscard]] Closing_revoker Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closing(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Closing(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2864,8 +2863,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) OverlayInputPassThroughElement() const; - WINRT_IMPL_AUTO(void) OverlayInputPassThroughElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto OverlayInputPassThroughElement() const; + auto OverlayInputPassThroughElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const; }; template <> struct consume { @@ -2874,7 +2873,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase4 { - WINRT_IMPL_AUTO(void) TryInvokeKeyboardAccelerator(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const; + auto TryInvokeKeyboardAccelerator(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const; }; template <> struct consume { @@ -2883,13 +2882,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode) ShowMode() const; - WINRT_IMPL_AUTO(void) ShowMode(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) InputDevicePrefersPrimaryCommands() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreOpenCloseAnimationsEnabled() const; - WINRT_IMPL_AUTO(void) AreOpenCloseAnimationsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOpen() const; - WINRT_IMPL_AUTO(void) ShowAt(winrt::Windows::UI::Xaml::DependencyObject const& placementTarget, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowOptions const& showOptions) const; + [[nodiscard]] auto ShowMode() const; + auto ShowMode(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode const& value) const; + [[nodiscard]] auto InputDevicePrefersPrimaryCommands() const; + [[nodiscard]] auto AreOpenCloseAnimationsEnabled() const; + auto AreOpenCloseAnimationsEnabled(bool value) const; + [[nodiscard]] auto IsOpen() const; + auto ShowAt(winrt::Windows::UI::Xaml::DependencyObject const& placementTarget, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowOptions const& showOptions) const; }; template <> struct consume { @@ -2898,11 +2897,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldConstrainToRootBounds() const; - WINRT_IMPL_AUTO(void) ShouldConstrainToRootBounds(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConstrainedToRootBounds() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::XamlRoot) XamlRoot() const; - WINRT_IMPL_AUTO(void) XamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& value) const; + [[nodiscard]] auto ShouldConstrainToRootBounds() const; + auto ShouldConstrainToRootBounds(bool value) const; + [[nodiscard]] auto IsConstrainedToRootBounds() const; + [[nodiscard]] auto XamlRoot() const; + auto XamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& value) const; }; template <> struct consume { @@ -2911,8 +2910,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseClosingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; }; template <> struct consume { @@ -2921,7 +2920,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2930,7 +2929,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseOverrides { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Control) CreatePresenter() const; + auto CreatePresenter() const; }; template <> struct consume { @@ -2939,7 +2938,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseOverrides4 { - WINRT_IMPL_AUTO(void) OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const; + auto OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const; }; template <> struct consume { @@ -2948,11 +2947,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlacementProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AttachedFlyoutProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) GetAttachedFlyout(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; - WINRT_IMPL_AUTO(void) SetAttachedFlyout(winrt::Windows::UI::Xaml::FrameworkElement const& element, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; - WINRT_IMPL_AUTO(void) ShowAttachedFlyout(winrt::Windows::UI::Xaml::FrameworkElement const& flyoutOwner) const; + [[nodiscard]] auto PlacementProperty() const; + [[nodiscard]] auto AttachedFlyoutProperty() const; + auto GetAttachedFlyout(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; + auto SetAttachedFlyout(winrt::Windows::UI::Xaml::FrameworkElement const& element, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const; + auto ShowAttachedFlyout(winrt::Windows::UI::Xaml::FrameworkElement const& flyoutOwner) const; }; template <> struct consume { @@ -2961,10 +2960,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AllowFocusOnInteractionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LightDismissOverlayModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AllowFocusWhenDisabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ElementSoundModeProperty() const; + [[nodiscard]] auto AllowFocusOnInteractionProperty() const; + [[nodiscard]] auto LightDismissOverlayModeProperty() const; + [[nodiscard]] auto AllowFocusWhenDisabledProperty() const; + [[nodiscard]] auto ElementSoundModeProperty() const; }; template <> struct consume { @@ -2973,7 +2972,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OverlayInputPassThroughElementProperty() const; + [[nodiscard]] auto OverlayInputPassThroughElementProperty() const; }; template <> struct consume { @@ -2982,11 +2981,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ShowModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) InputDevicePrefersPrimaryCommandsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AreOpenCloseAnimationsEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsOpenProperty() const; + [[nodiscard]] auto TargetProperty() const; + [[nodiscard]] auto ShowModeProperty() const; + [[nodiscard]] auto InputDevicePrefersPrimaryCommandsProperty() const; + [[nodiscard]] auto AreOpenCloseAnimationsEnabledProperty() const; + [[nodiscard]] auto IsOpenProperty() const; }; template <> struct consume { @@ -2995,7 +2994,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics6 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ShouldConstrainToRootBoundsProperty() const; + [[nodiscard]] auto ShouldConstrainToRootBoundsProperty() const; }; template <> struct consume { @@ -3004,14 +3003,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Position() const; - WINRT_IMPL_AUTO(void) Position(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ExclusionRect() const; - WINRT_IMPL_AUTO(void) ExclusionRect(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode) ShowMode() const; - WINRT_IMPL_AUTO(void) ShowMode(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode) Placement() const; - WINRT_IMPL_AUTO(void) Placement(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& value) const; + [[nodiscard]] auto Position() const; + auto Position(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ExclusionRect() const; + auto ExclusionRect(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ShowMode() const; + auto ShowMode(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode const& value) const; + [[nodiscard]] auto Placement() const; + auto Placement(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& value) const; }; template <> struct consume { @@ -3020,7 +3019,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptionsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowOptions) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3037,7 +3036,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IGeneratorPositionHelperStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition) FromIndexAndOffset(int32_t index, int32_t offset) const; + auto FromIndexAndOffset(int32_t index, int32_t offset) const; }; template <> struct consume { @@ -3046,50 +3045,50 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter { - [[nodiscard]] WINRT_IMPL_AUTO(bool) SelectionCheckMarkVisualEnabled() const; - WINRT_IMPL_AUTO(void) SelectionCheckMarkVisualEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) CheckHintBrush() const; - WINRT_IMPL_AUTO(void) CheckHintBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) CheckSelectingBrush() const; - WINRT_IMPL_AUTO(void) CheckSelectingBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) CheckBrush() const; - WINRT_IMPL_AUTO(void) CheckBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) DragBackground() const; - WINRT_IMPL_AUTO(void) DragBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) DragForeground() const; - WINRT_IMPL_AUTO(void) DragForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) FocusBorderBrush() const; - WINRT_IMPL_AUTO(void) FocusBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) PlaceholderBackground() const; - WINRT_IMPL_AUTO(void) PlaceholderBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) PointerOverBackground() const; - WINRT_IMPL_AUTO(void) PointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) SelectedBackground() const; - WINRT_IMPL_AUTO(void) SelectedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) SelectedForeground() const; - WINRT_IMPL_AUTO(void) SelectedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) SelectedPointerOverBackground() const; - WINRT_IMPL_AUTO(void) SelectedPointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) SelectedPointerOverBorderBrush() const; - WINRT_IMPL_AUTO(void) SelectedPointerOverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) SelectedBorderThickness() const; - WINRT_IMPL_AUTO(void) SelectedBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DisabledOpacity() const; - WINRT_IMPL_AUTO(void) DisabledOpacity(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DragOpacity() const; - WINRT_IMPL_AUTO(void) DragOpacity(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ReorderHintOffset() const; - WINRT_IMPL_AUTO(void) ReorderHintOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) GridViewItemPresenterHorizontalContentAlignment() const; - WINRT_IMPL_AUTO(void) GridViewItemPresenterHorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) GridViewItemPresenterVerticalContentAlignment() const; - WINRT_IMPL_AUTO(void) GridViewItemPresenterVerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) GridViewItemPresenterPadding() const; - WINRT_IMPL_AUTO(void) GridViewItemPresenterPadding(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) PointerOverBackgroundMargin() const; - WINRT_IMPL_AUTO(void) PointerOverBackgroundMargin(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) ContentMargin() const; - WINRT_IMPL_AUTO(void) ContentMargin(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto SelectionCheckMarkVisualEnabled() const; + auto SelectionCheckMarkVisualEnabled(bool value) const; + [[nodiscard]] auto CheckHintBrush() const; + auto CheckHintBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto CheckSelectingBrush() const; + auto CheckSelectingBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto CheckBrush() const; + auto CheckBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto DragBackground() const; + auto DragBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto DragForeground() const; + auto DragForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto FocusBorderBrush() const; + auto FocusBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto PlaceholderBackground() const; + auto PlaceholderBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto PointerOverBackground() const; + auto PointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto SelectedBackground() const; + auto SelectedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto SelectedForeground() const; + auto SelectedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto SelectedPointerOverBackground() const; + auto SelectedPointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto SelectedPointerOverBorderBrush() const; + auto SelectedPointerOverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto SelectedBorderThickness() const; + auto SelectedBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto DisabledOpacity() const; + auto DisabledOpacity(double value) const; + [[nodiscard]] auto DragOpacity() const; + auto DragOpacity(double value) const; + [[nodiscard]] auto ReorderHintOffset() const; + auto ReorderHintOffset(double value) const; + [[nodiscard]] auto GridViewItemPresenterHorizontalContentAlignment() const; + auto GridViewItemPresenterHorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; + [[nodiscard]] auto GridViewItemPresenterVerticalContentAlignment() const; + auto GridViewItemPresenterVerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; + [[nodiscard]] auto GridViewItemPresenterPadding() const; + auto GridViewItemPresenterPadding(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto PointerOverBackgroundMargin() const; + auto PointerOverBackgroundMargin(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto ContentMargin() const; + auto ContentMargin(winrt::Windows::UI::Xaml::Thickness const& value) const; }; template <> struct consume { @@ -3098,7 +3097,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GridViewItemPresenter) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3107,28 +3106,28 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionCheckMarkVisualEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CheckHintBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CheckSelectingBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CheckBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DragBackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DragForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FocusBorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlaceholderBackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointerOverBackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedBackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedPointerOverBackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedPointerOverBorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedBorderThicknessProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DisabledOpacityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DragOpacityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ReorderHintOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GridViewItemPresenterHorizontalContentAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GridViewItemPresenterVerticalContentAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GridViewItemPresenterPaddingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointerOverBackgroundMarginProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentMarginProperty() const; + [[nodiscard]] auto SelectionCheckMarkVisualEnabledProperty() const; + [[nodiscard]] auto CheckHintBrushProperty() const; + [[nodiscard]] auto CheckSelectingBrushProperty() const; + [[nodiscard]] auto CheckBrushProperty() const; + [[nodiscard]] auto DragBackgroundProperty() const; + [[nodiscard]] auto DragForegroundProperty() const; + [[nodiscard]] auto FocusBorderBrushProperty() const; + [[nodiscard]] auto PlaceholderBackgroundProperty() const; + [[nodiscard]] auto PointerOverBackgroundProperty() const; + [[nodiscard]] auto SelectedBackgroundProperty() const; + [[nodiscard]] auto SelectedForegroundProperty() const; + [[nodiscard]] auto SelectedPointerOverBackgroundProperty() const; + [[nodiscard]] auto SelectedPointerOverBorderBrushProperty() const; + [[nodiscard]] auto SelectedBorderThicknessProperty() const; + [[nodiscard]] auto DisabledOpacityProperty() const; + [[nodiscard]] auto DragOpacityProperty() const; + [[nodiscard]] auto ReorderHintOffsetProperty() const; + [[nodiscard]] auto GridViewItemPresenterHorizontalContentAlignmentProperty() const; + [[nodiscard]] auto GridViewItemPresenterVerticalContentAlignmentProperty() const; + [[nodiscard]] auto GridViewItemPresenterPaddingProperty() const; + [[nodiscard]] auto PointerOverBackgroundMarginProperty() const; + [[nodiscard]] auto ContentMarginProperty() const; }; template <> struct consume { @@ -3137,7 +3136,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DragItemsCount() const; + [[nodiscard]] auto DragItemsCount() const; }; template <> struct consume { @@ -3146,11 +3145,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Action() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition) OldPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ItemCount() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ItemUICount() const; + [[nodiscard]] auto Action() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto OldPosition() const; + [[nodiscard]] auto ItemCount() const; + [[nodiscard]] auto ItemUICount() const; }; template <> struct consume { @@ -3159,10 +3158,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Enabled() const; - WINRT_IMPL_AUTO(void) Enabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Disabled() const; - WINRT_IMPL_AUTO(void) Disabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto Enabled() const; + auto Enabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto Disabled() const; + auto Disabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const; }; template <> struct consume { @@ -3171,8 +3170,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverterStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DisabledProperty() const; + [[nodiscard]] auto EnabledProperty() const; + [[nodiscard]] auto DisabledProperty() const; }; template <> struct consume { @@ -3181,10 +3180,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Enabled() const; - WINRT_IMPL_AUTO(void) Enabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Disabled() const; - WINRT_IMPL_AUTO(void) Disabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto Enabled() const; + auto Enabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto Disabled() const; + auto Disabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const; }; template <> struct consume { @@ -3193,8 +3192,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverterStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DisabledProperty() const; + [[nodiscard]] auto EnabledProperty() const; + [[nodiscard]] auto DisabledProperty() const; }; template <> struct consume { @@ -3211,8 +3210,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ILayoutInformationStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) GetLayoutExceptionElement(winrt::Windows::Foundation::IInspectable const& dispatcher) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) GetLayoutSlot(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; + auto GetLayoutExceptionElement(winrt::Windows::Foundation::IInspectable const& dispatcher) const; + auto GetLayoutSlot(winrt::Windows::UI::Xaml::FrameworkElement const& element) const; }; template <> struct consume { @@ -3221,7 +3220,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ILayoutInformationStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) GetAvailableSize(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto GetAvailableSize(winrt::Windows::UI::Xaml::UIElement const& element) const; }; template <> struct consume { @@ -3230,50 +3229,50 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter { - [[nodiscard]] WINRT_IMPL_AUTO(bool) SelectionCheckMarkVisualEnabled() const; - WINRT_IMPL_AUTO(void) SelectionCheckMarkVisualEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) CheckHintBrush() const; - WINRT_IMPL_AUTO(void) CheckHintBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) CheckSelectingBrush() const; - WINRT_IMPL_AUTO(void) CheckSelectingBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) CheckBrush() const; - WINRT_IMPL_AUTO(void) CheckBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) DragBackground() const; - WINRT_IMPL_AUTO(void) DragBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) DragForeground() const; - WINRT_IMPL_AUTO(void) DragForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) FocusBorderBrush() const; - WINRT_IMPL_AUTO(void) FocusBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) PlaceholderBackground() const; - WINRT_IMPL_AUTO(void) PlaceholderBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) PointerOverBackground() const; - WINRT_IMPL_AUTO(void) PointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) SelectedBackground() const; - WINRT_IMPL_AUTO(void) SelectedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) SelectedForeground() const; - WINRT_IMPL_AUTO(void) SelectedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) SelectedPointerOverBackground() const; - WINRT_IMPL_AUTO(void) SelectedPointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) SelectedPointerOverBorderBrush() const; - WINRT_IMPL_AUTO(void) SelectedPointerOverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) SelectedBorderThickness() const; - WINRT_IMPL_AUTO(void) SelectedBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DisabledOpacity() const; - WINRT_IMPL_AUTO(void) DisabledOpacity(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DragOpacity() const; - WINRT_IMPL_AUTO(void) DragOpacity(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ReorderHintOffset() const; - WINRT_IMPL_AUTO(void) ReorderHintOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) ListViewItemPresenterHorizontalContentAlignment() const; - WINRT_IMPL_AUTO(void) ListViewItemPresenterHorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) ListViewItemPresenterVerticalContentAlignment() const; - WINRT_IMPL_AUTO(void) ListViewItemPresenterVerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) ListViewItemPresenterPadding() const; - WINRT_IMPL_AUTO(void) ListViewItemPresenterPadding(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) PointerOverBackgroundMargin() const; - WINRT_IMPL_AUTO(void) PointerOverBackgroundMargin(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) ContentMargin() const; - WINRT_IMPL_AUTO(void) ContentMargin(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto SelectionCheckMarkVisualEnabled() const; + auto SelectionCheckMarkVisualEnabled(bool value) const; + [[nodiscard]] auto CheckHintBrush() const; + auto CheckHintBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto CheckSelectingBrush() const; + auto CheckSelectingBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto CheckBrush() const; + auto CheckBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto DragBackground() const; + auto DragBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto DragForeground() const; + auto DragForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto FocusBorderBrush() const; + auto FocusBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto PlaceholderBackground() const; + auto PlaceholderBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto PointerOverBackground() const; + auto PointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto SelectedBackground() const; + auto SelectedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto SelectedForeground() const; + auto SelectedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto SelectedPointerOverBackground() const; + auto SelectedPointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto SelectedPointerOverBorderBrush() const; + auto SelectedPointerOverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto SelectedBorderThickness() const; + auto SelectedBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto DisabledOpacity() const; + auto DisabledOpacity(double value) const; + [[nodiscard]] auto DragOpacity() const; + auto DragOpacity(double value) const; + [[nodiscard]] auto ReorderHintOffset() const; + auto ReorderHintOffset(double value) const; + [[nodiscard]] auto ListViewItemPresenterHorizontalContentAlignment() const; + auto ListViewItemPresenterHorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const; + [[nodiscard]] auto ListViewItemPresenterVerticalContentAlignment() const; + auto ListViewItemPresenterVerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const; + [[nodiscard]] auto ListViewItemPresenterPadding() const; + auto ListViewItemPresenterPadding(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto PointerOverBackgroundMargin() const; + auto PointerOverBackgroundMargin(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto ContentMargin() const; + auto ContentMargin(winrt::Windows::UI::Xaml::Thickness const& value) const; }; template <> struct consume { @@ -3282,18 +3281,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) SelectedPressedBackground() const; - WINRT_IMPL_AUTO(void) SelectedPressedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) PressedBackground() const; - WINRT_IMPL_AUTO(void) PressedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) CheckBoxBrush() const; - WINRT_IMPL_AUTO(void) CheckBoxBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) FocusSecondaryBorderBrush() const; - WINRT_IMPL_AUTO(void) FocusSecondaryBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemPresenterCheckMode) CheckMode() const; - WINRT_IMPL_AUTO(void) CheckMode(winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemPresenterCheckMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) PointerOverForeground() const; - WINRT_IMPL_AUTO(void) PointerOverForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto SelectedPressedBackground() const; + auto SelectedPressedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto PressedBackground() const; + auto PressedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto CheckBoxBrush() const; + auto CheckBoxBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto FocusSecondaryBorderBrush() const; + auto FocusSecondaryBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto CheckMode() const; + auto CheckMode(winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemPresenterCheckMode const& value) const; + [[nodiscard]] auto PointerOverForeground() const; + auto PointerOverForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; }; template <> struct consume { @@ -3302,14 +3301,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) RevealBackground() const; - WINRT_IMPL_AUTO(void) RevealBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) RevealBorderBrush() const; - WINRT_IMPL_AUTO(void) RevealBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) RevealBorderThickness() const; - WINRT_IMPL_AUTO(void) RevealBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) RevealBackgroundShowsAboveContent() const; - WINRT_IMPL_AUTO(void) RevealBackgroundShowsAboveContent(bool value) const; + [[nodiscard]] auto RevealBackground() const; + auto RevealBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto RevealBorderBrush() const; + auto RevealBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto RevealBorderThickness() const; + auto RevealBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto RevealBackgroundShowsAboveContent() const; + auto RevealBackgroundShowsAboveContent(bool value) const; }; template <> struct consume { @@ -3318,7 +3317,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemPresenter) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3327,28 +3326,28 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectionCheckMarkVisualEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CheckHintBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CheckSelectingBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CheckBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DragBackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DragForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FocusBorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PlaceholderBackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointerOverBackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedBackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedPointerOverBackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedPointerOverBorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedBorderThicknessProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DisabledOpacityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DragOpacityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ReorderHintOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ListViewItemPresenterHorizontalContentAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ListViewItemPresenterVerticalContentAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ListViewItemPresenterPaddingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointerOverBackgroundMarginProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentMarginProperty() const; + [[nodiscard]] auto SelectionCheckMarkVisualEnabledProperty() const; + [[nodiscard]] auto CheckHintBrushProperty() const; + [[nodiscard]] auto CheckSelectingBrushProperty() const; + [[nodiscard]] auto CheckBrushProperty() const; + [[nodiscard]] auto DragBackgroundProperty() const; + [[nodiscard]] auto DragForegroundProperty() const; + [[nodiscard]] auto FocusBorderBrushProperty() const; + [[nodiscard]] auto PlaceholderBackgroundProperty() const; + [[nodiscard]] auto PointerOverBackgroundProperty() const; + [[nodiscard]] auto SelectedBackgroundProperty() const; + [[nodiscard]] auto SelectedForegroundProperty() const; + [[nodiscard]] auto SelectedPointerOverBackgroundProperty() const; + [[nodiscard]] auto SelectedPointerOverBorderBrushProperty() const; + [[nodiscard]] auto SelectedBorderThicknessProperty() const; + [[nodiscard]] auto DisabledOpacityProperty() const; + [[nodiscard]] auto DragOpacityProperty() const; + [[nodiscard]] auto ReorderHintOffsetProperty() const; + [[nodiscard]] auto ListViewItemPresenterHorizontalContentAlignmentProperty() const; + [[nodiscard]] auto ListViewItemPresenterVerticalContentAlignmentProperty() const; + [[nodiscard]] auto ListViewItemPresenterPaddingProperty() const; + [[nodiscard]] auto PointerOverBackgroundMarginProperty() const; + [[nodiscard]] auto ContentMarginProperty() const; }; template <> struct consume { @@ -3357,12 +3356,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedPressedBackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PressedBackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CheckBoxBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FocusSecondaryBorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CheckModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointerOverForegroundProperty() const; + [[nodiscard]] auto SelectedPressedBackgroundProperty() const; + [[nodiscard]] auto PressedBackgroundProperty() const; + [[nodiscard]] auto CheckBoxBrushProperty() const; + [[nodiscard]] auto FocusSecondaryBorderBrushProperty() const; + [[nodiscard]] auto CheckModeProperty() const; + [[nodiscard]] auto PointerOverForegroundProperty() const; }; template <> struct consume { @@ -3371,10 +3370,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RevealBackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RevealBorderBrushProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RevealBorderThicknessProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RevealBackgroundShowsAboveContentProperty() const; + [[nodiscard]] auto RevealBackgroundProperty() const; + [[nodiscard]] auto RevealBorderBrushProperty() const; + [[nodiscard]] auto RevealBorderThicknessProperty() const; + [[nodiscard]] auto RevealBackgroundShowsAboveContentProperty() const; }; template <> struct consume { @@ -3383,7 +3382,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DragItemsCount() const; + [[nodiscard]] auto DragItemsCount() const; }; template <> struct consume { @@ -3392,24 +3391,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldLoop() const; - WINRT_IMPL_AUTO(void) ShouldLoop(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Items() const; - WINRT_IMPL_AUTO(void) Items(param::vector const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SelectedIndex() const; - WINRT_IMPL_AUTO(void) SelectedIndex(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SelectedItem() const; - WINRT_IMPL_AUTO(void) SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ItemWidth() const; - WINRT_IMPL_AUTO(void) ItemWidth(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ItemHeight() const; - WINRT_IMPL_AUTO(void) ItemHeight(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) ItemTemplate() const; - WINRT_IMPL_AUTO(void) ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const; + [[nodiscard]] auto ShouldLoop() const; + auto ShouldLoop(bool value) const; + [[nodiscard]] auto Items() const; + auto Items(param::vector const& value) const; + [[nodiscard]] auto SelectedIndex() const; + auto SelectedIndex(int32_t value) const; + [[nodiscard]] auto SelectedItem() const; + auto SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto ItemWidth() const; + auto ItemWidth(int32_t value) const; + [[nodiscard]] auto ItemHeight() const; + auto ItemHeight(int32_t value) const; + [[nodiscard]] auto ItemTemplate() const; + auto ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const; + auto SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const; using SelectionChanged_revoker = impl::event_revoker::remove_SelectionChanged>; - [[nodiscard]] SelectionChanged_revoker SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SelectionChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const; + auto SelectionChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3434,13 +3433,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ShouldLoopProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedIndexProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedItemProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemTemplateProperty() const; + [[nodiscard]] auto ShouldLoopProperty() const; + [[nodiscard]] auto ItemsProperty() const; + [[nodiscard]] auto SelectedIndexProperty() const; + [[nodiscard]] auto SelectedItemProperty() const; + [[nodiscard]] auto ItemWidthProperty() const; + [[nodiscard]] auto ItemHeightProperty() const; + [[nodiscard]] auto ItemTemplateProperty() const; }; template <> struct consume { @@ -3449,7 +3448,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IMenuFlyoutItemTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(double) KeyboardAcceleratorTextMinWidth() const; + [[nodiscard]] auto KeyboardAcceleratorTextMinWidth() const; }; template <> struct consume { @@ -3458,7 +3457,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IMenuFlyoutPresenterTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(double) FlyoutContentMinWidth() const; + [[nodiscard]] auto FlyoutContentMinWidth() const; }; template <> struct consume { @@ -3467,8 +3466,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) Icon() const; - WINRT_IMPL_AUTO(void) Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const; + [[nodiscard]] auto Icon() const; + auto Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const; }; template <> struct consume { @@ -3477,7 +3476,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::NavigationViewItemPresenter) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3486,7 +3485,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IconProperty() const; + [[nodiscard]] auto IconProperty() const; }; template <> struct consume { @@ -3495,33 +3494,33 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanVerticallyScroll() const; - WINRT_IMPL_AUTO(void) CanVerticallyScroll(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanHorizontallyScroll() const; - WINRT_IMPL_AUTO(void) CanHorizontallyScroll(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExtentWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ExtentHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ViewportWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ViewportHeight() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ScrollOwner() const; - WINRT_IMPL_AUTO(void) ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(void) LineUp() const; - WINRT_IMPL_AUTO(void) LineDown() const; - WINRT_IMPL_AUTO(void) LineLeft() const; - WINRT_IMPL_AUTO(void) LineRight() const; - WINRT_IMPL_AUTO(void) PageUp() const; - WINRT_IMPL_AUTO(void) PageDown() const; - WINRT_IMPL_AUTO(void) PageLeft() const; - WINRT_IMPL_AUTO(void) PageRight() const; - WINRT_IMPL_AUTO(void) MouseWheelUp() const; - WINRT_IMPL_AUTO(void) MouseWheelDown() const; - WINRT_IMPL_AUTO(void) MouseWheelLeft() const; - WINRT_IMPL_AUTO(void) MouseWheelRight() const; - WINRT_IMPL_AUTO(void) SetHorizontalOffset(double offset) const; - WINRT_IMPL_AUTO(void) SetVerticalOffset(double offset) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) MakeVisible(winrt::Windows::UI::Xaml::UIElement const& visual, winrt::Windows::Foundation::Rect const& rectangle) const; + [[nodiscard]] auto CanVerticallyScroll() const; + auto CanVerticallyScroll(bool value) const; + [[nodiscard]] auto CanHorizontallyScroll() const; + auto CanHorizontallyScroll(bool value) const; + [[nodiscard]] auto ExtentWidth() const; + [[nodiscard]] auto ExtentHeight() const; + [[nodiscard]] auto ViewportWidth() const; + [[nodiscard]] auto ViewportHeight() const; + [[nodiscard]] auto HorizontalOffset() const; + [[nodiscard]] auto VerticalOffset() const; + [[nodiscard]] auto ScrollOwner() const; + auto ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const; + auto LineUp() const; + auto LineDown() const; + auto LineLeft() const; + auto LineRight() const; + auto PageUp() const; + auto PageDown() const; + auto PageLeft() const; + auto PageRight() const; + auto MouseWheelUp() const; + auto MouseWheelDown() const; + auto MouseWheelLeft() const; + auto MouseWheelRight() const; + auto SetHorizontalOffset(double offset) const; + auto SetVerticalOffset(double offset) const; + auto MakeVisible(winrt::Windows::UI::Xaml::UIElement const& visual, winrt::Windows::Foundation::Rect const& rectangle) const; }; template <> struct consume { @@ -3546,7 +3545,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::PickerFlyoutBase) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3555,8 +3554,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseOverrides { - WINRT_IMPL_AUTO(void) OnConfirmed() const; - WINRT_IMPL_AUTO(bool) ShouldShowConfirmationButtons() const; + auto OnConfirmed() const; + auto ShouldShowConfirmationButtons() const; }; template <> struct consume { @@ -3565,9 +3564,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TitleProperty() const; - WINRT_IMPL_AUTO(hstring) GetTitle(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetTitle(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; + [[nodiscard]] auto TitleProperty() const; + auto GetTitle(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetTitle(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const; }; template <> struct consume { @@ -3584,7 +3583,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IPivotHeaderItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::PivotHeaderItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3609,26 +3608,26 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IPopup { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Child() const; - WINRT_IMPL_AUTO(void) Child(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOpen() const; - WINRT_IMPL_AUTO(void) IsOpen(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalOffset() const; - WINRT_IMPL_AUTO(void) HorizontalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalOffset() const; - WINRT_IMPL_AUTO(void) VerticalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) ChildTransitions() const; - WINRT_IMPL_AUTO(void) ChildTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLightDismissEnabled() const; - WINRT_IMPL_AUTO(void) IsLightDismissEnabled(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) Opened(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto Child() const; + auto Child(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto IsOpen() const; + auto IsOpen(bool value) const; + [[nodiscard]] auto HorizontalOffset() const; + auto HorizontalOffset(double value) const; + [[nodiscard]] auto VerticalOffset() const; + auto VerticalOffset(double value) const; + [[nodiscard]] auto ChildTransitions() const; + auto ChildTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const; + [[nodiscard]] auto IsLightDismissEnabled() const; + auto IsLightDismissEnabled(bool value) const; + auto Opened(winrt::Windows::Foundation::EventHandler const& handler) const; using Opened_revoker = impl::event_revoker::remove_Opened>; - [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Opened(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Opened(winrt::event_token const& token) const noexcept; + auto Closed(winrt::Windows::Foundation::EventHandler const& handler) const; using Closed_revoker = impl::event_revoker::remove_Closed>; - [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Closed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Closed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3637,8 +3636,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IPopup2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) LightDismissOverlayMode() const; - WINRT_IMPL_AUTO(void) LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; + [[nodiscard]] auto LightDismissOverlayMode() const; + auto LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const; }; template <> struct consume { @@ -3647,9 +3646,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IPopup3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldConstrainToRootBounds() const; - WINRT_IMPL_AUTO(void) ShouldConstrainToRootBounds(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConstrainedToRootBounds() const; + [[nodiscard]] auto ShouldConstrainToRootBounds() const; + auto ShouldConstrainToRootBounds(bool value) const; + [[nodiscard]] auto IsConstrainedToRootBounds() const; }; template <> struct consume { @@ -3658,12 +3657,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ChildProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsOpenProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ChildTransitionsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsLightDismissEnabledProperty() const; + [[nodiscard]] auto ChildProperty() const; + [[nodiscard]] auto IsOpenProperty() const; + [[nodiscard]] auto HorizontalOffsetProperty() const; + [[nodiscard]] auto VerticalOffsetProperty() const; + [[nodiscard]] auto ChildTransitionsProperty() const; + [[nodiscard]] auto IsLightDismissEnabledProperty() const; }; template <> struct consume { @@ -3672,7 +3671,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LightDismissOverlayModeProperty() const; + [[nodiscard]] auto LightDismissOverlayModeProperty() const; }; template <> struct consume { @@ -3681,7 +3680,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ShouldConstrainToRootBoundsProperty() const; + [[nodiscard]] auto ShouldConstrainToRootBoundsProperty() const; }; template <> struct consume { @@ -3690,13 +3689,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(double) EllipseDiameter() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) EllipseOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) EllipseAnimationWellPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) EllipseAnimationEndPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ContainerAnimationStartPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ContainerAnimationEndPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) IndicatorLengthDelta() const; + [[nodiscard]] auto EllipseDiameter() const; + [[nodiscard]] auto EllipseOffset() const; + [[nodiscard]] auto EllipseAnimationWellPosition() const; + [[nodiscard]] auto EllipseAnimationEndPosition() const; + [[nodiscard]] auto ContainerAnimationStartPosition() const; + [[nodiscard]] auto ContainerAnimationEndPosition() const; + [[nodiscard]] auto IndicatorLengthDelta() const; }; template <> struct consume { @@ -3705,9 +3704,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IProgressRingTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(double) EllipseDiameter() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) EllipseOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) MaxSideLength() const; + [[nodiscard]] auto EllipseDiameter() const; + [[nodiscard]] auto EllipseOffset() const; + [[nodiscard]] auto MaxSideLength() const; }; template <> struct consume { @@ -3716,20 +3715,20 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase { - [[nodiscard]] WINRT_IMPL_AUTO(double) Minimum() const; - WINRT_IMPL_AUTO(void) Minimum(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Maximum() const; - WINRT_IMPL_AUTO(void) Maximum(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SmallChange() const; - WINRT_IMPL_AUTO(void) SmallChange(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) LargeChange() const; - WINRT_IMPL_AUTO(void) LargeChange(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Value() const; - WINRT_IMPL_AUTO(void) Value(double value) const; - WINRT_IMPL_AUTO(winrt::event_token) ValueChanged(winrt::Windows::UI::Xaml::Controls::Primitives::RangeBaseValueChangedEventHandler const& handler) const; + [[nodiscard]] auto Minimum() const; + auto Minimum(double value) const; + [[nodiscard]] auto Maximum() const; + auto Maximum(double value) const; + [[nodiscard]] auto SmallChange() const; + auto SmallChange(double value) const; + [[nodiscard]] auto LargeChange() const; + auto LargeChange(double value) const; + [[nodiscard]] auto Value() const; + auto Value(double value) const; + auto ValueChanged(winrt::Windows::UI::Xaml::Controls::Primitives::RangeBaseValueChangedEventHandler const& handler) const; using ValueChanged_revoker = impl::event_revoker::remove_ValueChanged>; - [[nodiscard]] ValueChanged_revoker ValueChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::RangeBaseValueChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ValueChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ValueChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::RangeBaseValueChangedEventHandler const& handler) const; + auto ValueChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3738,7 +3737,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::RangeBase) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3747,9 +3746,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseOverrides { - WINRT_IMPL_AUTO(void) OnMinimumChanged(double oldMinimum, double newMinimum) const; - WINRT_IMPL_AUTO(void) OnMaximumChanged(double oldMaximum, double newMaximum) const; - WINRT_IMPL_AUTO(void) OnValueChanged(double oldValue, double newValue) const; + auto OnMinimumChanged(double oldMinimum, double newMinimum) const; + auto OnMaximumChanged(double oldMaximum, double newMaximum) const; + auto OnValueChanged(double oldValue, double newValue) const; }; template <> struct consume { @@ -3758,11 +3757,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MinimumProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MaximumProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SmallChangeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LargeChangeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ValueProperty() const; + [[nodiscard]] auto MinimumProperty() const; + [[nodiscard]] auto MaximumProperty() const; + [[nodiscard]] auto SmallChangeProperty() const; + [[nodiscard]] auto LargeChangeProperty() const; + [[nodiscard]] auto ValueProperty() const; }; template <> struct consume { @@ -3771,8 +3770,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseValueChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(double) OldValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) NewValue() const; + [[nodiscard]] auto OldValue() const; + [[nodiscard]] auto NewValue() const; }; template <> struct consume { @@ -3781,10 +3780,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Delay() const; - WINRT_IMPL_AUTO(void) Delay(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Interval() const; - WINRT_IMPL_AUTO(void) Interval(int32_t value) const; + [[nodiscard]] auto Delay() const; + auto Delay(int32_t value) const; + [[nodiscard]] auto Interval() const; + auto Interval(int32_t value) const; }; template <> struct consume { @@ -3793,8 +3792,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButtonStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DelayProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IntervalProperty() const; + [[nodiscard]] auto DelayProperty() const; + [[nodiscard]] auto IntervalProperty() const; }; template <> struct consume { @@ -3803,16 +3802,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) Orientation() const; - WINRT_IMPL_AUTO(void) Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ViewportSize() const; - WINRT_IMPL_AUTO(void) ViewportSize(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollingIndicatorMode) IndicatorMode() const; - WINRT_IMPL_AUTO(void) IndicatorMode(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollingIndicatorMode const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) Scroll(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollEventHandler const& handler) const; + [[nodiscard]] auto Orientation() const; + auto Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const; + [[nodiscard]] auto ViewportSize() const; + auto ViewportSize(double value) const; + [[nodiscard]] auto IndicatorMode() const; + auto IndicatorMode(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollingIndicatorMode const& value) const; + auto Scroll(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollEventHandler const& handler) const; using Scroll_revoker = impl::event_revoker::remove_Scroll>; - [[nodiscard]] Scroll_revoker Scroll(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::ScrollEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Scroll(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Scroll(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::ScrollEventHandler const& handler) const; + auto Scroll(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3821,9 +3820,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IScrollBarStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OrientationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ViewportSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IndicatorModeProperty() const; + [[nodiscard]] auto OrientationProperty() const; + [[nodiscard]] auto ViewportSizeProperty() const; + [[nodiscard]] auto IndicatorModeProperty() const; }; template <> struct consume { @@ -3832,8 +3831,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IScrollEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(double) NewValue() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollEventType) ScrollEventType() const; + [[nodiscard]] auto NewValue() const; + [[nodiscard]] auto ScrollEventType() const; }; template <> struct consume { @@ -3842,18 +3841,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreHorizontalSnapPointsRegular() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreVerticalSnapPointsRegular() const; - WINRT_IMPL_AUTO(winrt::event_token) HorizontalSnapPointsChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto AreHorizontalSnapPointsRegular() const; + [[nodiscard]] auto AreVerticalSnapPointsRegular() const; + auto HorizontalSnapPointsChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using HorizontalSnapPointsChanged_revoker = impl::event_revoker::remove_HorizontalSnapPointsChanged>; - [[nodiscard]] HorizontalSnapPointsChanged_revoker HorizontalSnapPointsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) HorizontalSnapPointsChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) VerticalSnapPointsChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto HorizontalSnapPointsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto HorizontalSnapPointsChanged(winrt::event_token const& token) const noexcept; + auto VerticalSnapPointsChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using VerticalSnapPointsChanged_revoker = impl::event_revoker::remove_VerticalSnapPointsChanged>; - [[nodiscard]] VerticalSnapPointsChanged_revoker VerticalSnapPointsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VerticalSnapPointsChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetIrregularSnapPoints(winrt::Windows::UI::Xaml::Controls::Orientation const& orientation, winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& alignment) const; - WINRT_IMPL_AUTO(float) GetRegularSnapPoints(winrt::Windows::UI::Xaml::Controls::Orientation const& orientation, winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& alignment, float& offset) const; + [[nodiscard]] auto VerticalSnapPointsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto VerticalSnapPointsChanged(winrt::event_token const& token) const noexcept; + auto GetIrregularSnapPoints(winrt::Windows::UI::Xaml::Controls::Orientation const& orientation, winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& alignment) const; + auto GetRegularSnapPoints(winrt::Windows::UI::Xaml::Controls::Orientation const& orientation, winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& alignment, float& offset) const; }; template <> struct consume { @@ -3862,20 +3861,20 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ISelector { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) SelectedIndex() const; - WINRT_IMPL_AUTO(void) SelectedIndex(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SelectedItem() const; - WINRT_IMPL_AUTO(void) SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SelectedValue() const; - WINRT_IMPL_AUTO(void) SelectedValue(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) SelectedValuePath() const; - WINRT_IMPL_AUTO(void) SelectedValuePath(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) IsSynchronizedWithCurrentItem() const; - WINRT_IMPL_AUTO(void) IsSynchronizedWithCurrentItem(winrt::Windows::Foundation::IReference const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const; + [[nodiscard]] auto SelectedIndex() const; + auto SelectedIndex(int32_t value) const; + [[nodiscard]] auto SelectedItem() const; + auto SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto SelectedValue() const; + auto SelectedValue(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto SelectedValuePath() const; + auto SelectedValuePath(param::hstring const& value) const; + [[nodiscard]] auto IsSynchronizedWithCurrentItem() const; + auto IsSynchronizedWithCurrentItem(winrt::Windows::Foundation::IReference const& value) const; + auto SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const; using SelectionChanged_revoker = impl::event_revoker::remove_SelectionChanged>; - [[nodiscard]] SelectionChanged_revoker SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SelectionChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const; + auto SelectionChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -3892,8 +3891,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItem { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSelected() const; - WINRT_IMPL_AUTO(void) IsSelected(bool value) const; + [[nodiscard]] auto IsSelected() const; + auto IsSelected(bool value) const; }; template <> struct consume { @@ -3902,7 +3901,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3911,7 +3910,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItemStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSelectedProperty() const; + [[nodiscard]] auto IsSelectedProperty() const; }; template <> struct consume { @@ -3920,12 +3919,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedIndexProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedItemProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedValueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SelectedValuePathProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSynchronizedWithCurrentItemProperty() const; - WINRT_IMPL_AUTO(bool) GetIsSelectionActive(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + [[nodiscard]] auto SelectedIndexProperty() const; + [[nodiscard]] auto SelectedItemProperty() const; + [[nodiscard]] auto SelectedValueProperty() const; + [[nodiscard]] auto SelectedValuePathProperty() const; + [[nodiscard]] auto IsSynchronizedWithCurrentItemProperty() const; + auto GetIsSelectionActive(winrt::Windows::UI::Xaml::DependencyObject const& element) const; }; template <> struct consume { @@ -3934,12 +3933,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) HeaderBackground() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) HeaderForeground() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) BorderBrush() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) BorderThickness() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) IconSource() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) ContentTransitions() const; + [[nodiscard]] auto HeaderBackground() const; + [[nodiscard]] auto HeaderForeground() const; + [[nodiscard]] auto BorderBrush() const; + [[nodiscard]] auto BorderThickness() const; + [[nodiscard]] auto IconSource() const; + [[nodiscard]] auto ContentTransitions() const; }; template <> struct consume { @@ -3948,12 +3947,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(double) OpenPaneLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) NegativeOpenPaneLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OpenPaneLengthMinusCompactLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) NegativeOpenPaneLengthMinusCompactLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) OpenPaneGridLength() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) CompactPaneGridLength() const; + [[nodiscard]] auto OpenPaneLength() const; + [[nodiscard]] auto NegativeOpenPaneLength() const; + [[nodiscard]] auto OpenPaneLengthMinusCompactLength() const; + [[nodiscard]] auto NegativeOpenPaneLengthMinusCompactLength() const; + [[nodiscard]] auto OpenPaneGridLength() const; + [[nodiscard]] auto CompactPaneGridLength() const; }; template <> struct consume { @@ -3962,20 +3961,20 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IThumb { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDragging() const; - WINRT_IMPL_AUTO(winrt::event_token) DragStarted(winrt::Windows::UI::Xaml::Controls::Primitives::DragStartedEventHandler const& handler) const; + [[nodiscard]] auto IsDragging() const; + auto DragStarted(winrt::Windows::UI::Xaml::Controls::Primitives::DragStartedEventHandler const& handler) const; using DragStarted_revoker = impl::event_revoker::remove_DragStarted>; - [[nodiscard]] DragStarted_revoker DragStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragStartedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DragStarted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DragDelta(winrt::Windows::UI::Xaml::Controls::Primitives::DragDeltaEventHandler const& handler) const; + [[nodiscard]] auto DragStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragStartedEventHandler const& handler) const; + auto DragStarted(winrt::event_token const& token) const noexcept; + auto DragDelta(winrt::Windows::UI::Xaml::Controls::Primitives::DragDeltaEventHandler const& handler) const; using DragDelta_revoker = impl::event_revoker::remove_DragDelta>; - [[nodiscard]] DragDelta_revoker DragDelta(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragDeltaEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DragDelta(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DragCompleted(winrt::Windows::UI::Xaml::Controls::Primitives::DragCompletedEventHandler const& handler) const; + [[nodiscard]] auto DragDelta(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragDeltaEventHandler const& handler) const; + auto DragDelta(winrt::event_token const& token) const noexcept; + auto DragCompleted(winrt::Windows::UI::Xaml::Controls::Primitives::DragCompletedEventHandler const& handler) const; using DragCompleted_revoker = impl::event_revoker::remove_DragCompleted>; - [[nodiscard]] DragCompleted_revoker DragCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragCompletedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DragCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) CancelDrag() const; + [[nodiscard]] auto DragCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragCompletedEventHandler const& handler) const; + auto DragCompleted(winrt::event_token const& token) const noexcept; + auto CancelDrag() const; }; template <> struct consume { @@ -3984,7 +3983,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IThumbStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsDraggingProperty() const; + [[nodiscard]] auto IsDraggingProperty() const; }; template <> struct consume { @@ -3993,8 +3992,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ITickBar { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Fill() const; - WINRT_IMPL_AUTO(void) Fill(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto Fill() const; + auto Fill(winrt::Windows::UI::Xaml::Media::Brush const& value) const; }; template <> struct consume { @@ -4003,7 +4002,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_ITickBarStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FillProperty() const; + [[nodiscard]] auto FillProperty() const; }; template <> struct consume { @@ -4012,22 +4011,22 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) IsChecked() const; - WINRT_IMPL_AUTO(void) IsChecked(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsThreeState() const; - WINRT_IMPL_AUTO(void) IsThreeState(bool value) const; - WINRT_IMPL_AUTO(winrt::event_token) Checked(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto IsChecked() const; + auto IsChecked(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IsThreeState() const; + auto IsThreeState(bool value) const; + auto Checked(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using Checked_revoker = impl::event_revoker::remove_Checked>; - [[nodiscard]] Checked_revoker Checked(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Checked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Unchecked(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto Checked(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto Checked(winrt::event_token const& token) const noexcept; + auto Unchecked(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using Unchecked_revoker = impl::event_revoker::remove_Unchecked>; - [[nodiscard]] Unchecked_revoker Unchecked(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Unchecked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) Indeterminate(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto Unchecked(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto Unchecked(winrt::event_token const& token) const noexcept; + auto Indeterminate(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using Indeterminate_revoker = impl::event_revoker::remove_Indeterminate>; - [[nodiscard]] Indeterminate_revoker Indeterminate(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Indeterminate(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Indeterminate(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto Indeterminate(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -4036,7 +4035,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ToggleButton) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4045,7 +4044,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonOverrides { - WINRT_IMPL_AUTO(void) OnToggle() const; + auto OnToggle() const; }; template <> struct consume { @@ -4054,8 +4053,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsCheckedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsThreeStateProperty() const; + [[nodiscard]] auto IsCheckedProperty() const; + [[nodiscard]] auto IsThreeStateProperty() const; }; template <> struct consume { @@ -4064,14 +4063,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(double) KnobCurrentToOnOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) KnobCurrentToOffOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) KnobOnToOffOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) KnobOffToOnOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CurtainCurrentToOnOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CurtainCurrentToOffOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CurtainOnToOffOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CurtainOffToOnOffset() const; + [[nodiscard]] auto KnobCurrentToOnOffset() const; + [[nodiscard]] auto KnobCurrentToOffOffset() const; + [[nodiscard]] auto KnobOnToOffOffset() const; + [[nodiscard]] auto KnobOffToOnOffset() const; + [[nodiscard]] auto CurtainCurrentToOnOffset() const; + [[nodiscard]] auto CurtainCurrentToOffOffset() const; + [[nodiscard]] auto CurtainOnToOffOffset() const; + [[nodiscard]] auto CurtainOffToOnOffset() const; }; template <> struct consume { @@ -4080,8 +4079,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Controls_Primitives_IToolTipTemplateSettings { - [[nodiscard]] WINRT_IMPL_AUTO(double) FromHorizontalOffset() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FromVerticalOffset() const; + [[nodiscard]] auto FromHorizontalOffset() const; + [[nodiscard]] auto FromVerticalOffset() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.1.h index 40c53080..80d5738c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Controls_Primitives_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.2.h index 37bd8ca3..fe59cc6e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Controls_Primitives_2_H @@ -641,7 +641,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls::Primitives D const& shim() const noexcept { return *static_cast(this); } public: using IFlyoutBaseOverrides = winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseOverrides; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Control) CreatePresenter() const; + auto CreatePresenter() const; }; template class IFlyoutBaseOverrides4T @@ -650,7 +650,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls::Primitives D const& shim() const noexcept { return *static_cast(this); } public: using IFlyoutBaseOverrides4 = winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseOverrides4; - WINRT_IMPL_AUTO(void) OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const; + auto OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const; }; template class IPickerFlyoutBaseOverridesT @@ -659,8 +659,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls::Primitives D const& shim() const noexcept { return *static_cast(this); } public: using IPickerFlyoutBaseOverrides = winrt::Windows::UI::Xaml::Controls::Primitives::IPickerFlyoutBaseOverrides; - WINRT_IMPL_AUTO(void) OnConfirmed() const; - WINRT_IMPL_AUTO(bool) ShouldShowConfirmationButtons() const; + auto OnConfirmed() const; + auto ShouldShowConfirmationButtons() const; }; template class IRangeBaseOverridesT @@ -669,9 +669,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls::Primitives D const& shim() const noexcept { return *static_cast(this); } public: using IRangeBaseOverrides = winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseOverrides; - WINRT_IMPL_AUTO(void) OnMinimumChanged(double oldMinimum, double newMinimum) const; - WINRT_IMPL_AUTO(void) OnMaximumChanged(double oldMaximum, double newMaximum) const; - WINRT_IMPL_AUTO(void) OnValueChanged(double oldValue, double newValue) const; + auto OnMinimumChanged(double oldMinimum, double newMinimum) const; + auto OnMaximumChanged(double oldMaximum, double newMaximum) const; + auto OnValueChanged(double oldValue, double newValue) const; }; template class IToggleButtonOverridesT @@ -680,7 +680,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls::Primitives D const& shim() const noexcept { return *static_cast(this); } public: using IToggleButtonOverrides = winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButtonOverrides; - WINRT_IMPL_AUTO(void) OnToggle() const; + auto OnToggle() const; }; } #endif diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.0.h index dbbf2fc4..58d9b1b2 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Core_Direct_0_H @@ -2140,58 +2140,58 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Core_Direct_IXamlDirect { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetObject(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject) GetXamlDirectObject(winrt::Windows::Foundation::IInspectable const& object) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject) CreateInstance(winrt::Windows::UI::Xaml::Core::Direct::XamlTypeIndex const& typeIndex) const; - WINRT_IMPL_AUTO(void) SetObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(void) SetXamlDirectObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const; - WINRT_IMPL_AUTO(void) SetBooleanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, bool value) const; - WINRT_IMPL_AUTO(void) SetDoubleProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, double value) const; - WINRT_IMPL_AUTO(void) SetInt32Property(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, int32_t value) const; - WINRT_IMPL_AUTO(void) SetStringProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, param::hstring const& value) const; - WINRT_IMPL_AUTO(void) SetDateTimeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::DateTime const& value) const; - WINRT_IMPL_AUTO(void) SetPointProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::Point const& value) const; - WINRT_IMPL_AUTO(void) SetRectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::Rect const& value) const; - WINRT_IMPL_AUTO(void) SetSizeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::Size const& value) const; - WINRT_IMPL_AUTO(void) SetTimeSpanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::TimeSpan const& value) const; - WINRT_IMPL_AUTO(void) SetColorProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Color const& value) const; - WINRT_IMPL_AUTO(void) SetCornerRadiusProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::CornerRadius const& value) const; - WINRT_IMPL_AUTO(void) SetDurationProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Duration const& value) const; - WINRT_IMPL_AUTO(void) SetGridLengthProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::GridLength const& value) const; - WINRT_IMPL_AUTO(void) SetThicknessProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Thickness const& value) const; - WINRT_IMPL_AUTO(void) SetMatrixProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Media::Matrix const& value) const; - WINRT_IMPL_AUTO(void) SetMatrix3DProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& value) const; - WINRT_IMPL_AUTO(void) SetEnumProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, uint32_t value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject) GetXamlDirectObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(bool) GetBooleanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(double) GetDoubleProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(int32_t) GetInt32Property(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(hstring) GetStringProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) GetDateTimeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) GetPointProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) GetRectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) GetSizeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) GetTimeSpanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Color) GetColorProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) GetCornerRadiusProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) GetDurationProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) GetGridLengthProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) GetThicknessProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Matrix) GetMatrixProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) GetMatrix3DProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(uint32_t) GetEnumProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(void) ClearProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; - WINRT_IMPL_AUTO(uint32_t) GetCollectionCount(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject) GetXamlDirectObjectFromCollectionAt(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, uint32_t index) const; - WINRT_IMPL_AUTO(void) AddToCollection(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const; - WINRT_IMPL_AUTO(void) InsertIntoCollectionAt(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, uint32_t index, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const; - WINRT_IMPL_AUTO(bool) RemoveFromCollection(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const; - WINRT_IMPL_AUTO(void) RemoveFromCollectionAt(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, uint32_t index) const; - WINRT_IMPL_AUTO(void) ClearCollection(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject) const; - WINRT_IMPL_AUTO(void) AddEventHandler(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlEventIndex const& eventIndex, winrt::Windows::Foundation::IInspectable const& handler) const; - WINRT_IMPL_AUTO(void) AddEventHandler(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlEventIndex const& eventIndex, winrt::Windows::Foundation::IInspectable const& handler, bool handledEventsToo) const; - WINRT_IMPL_AUTO(void) RemoveEventHandler(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlEventIndex const& eventIndex, winrt::Windows::Foundation::IInspectable const& handler) const; + auto GetObject(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject) const; + auto GetXamlDirectObject(winrt::Windows::Foundation::IInspectable const& object) const; + auto CreateInstance(winrt::Windows::UI::Xaml::Core::Direct::XamlTypeIndex const& typeIndex) const; + auto SetObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::IInspectable const& value) const; + auto SetXamlDirectObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const; + auto SetBooleanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, bool value) const; + auto SetDoubleProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, double value) const; + auto SetInt32Property(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, int32_t value) const; + auto SetStringProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, param::hstring const& value) const; + auto SetDateTimeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::DateTime const& value) const; + auto SetPointProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::Point const& value) const; + auto SetRectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::Rect const& value) const; + auto SetSizeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::Size const& value) const; + auto SetTimeSpanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::Foundation::TimeSpan const& value) const; + auto SetColorProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Color const& value) const; + auto SetCornerRadiusProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::CornerRadius const& value) const; + auto SetDurationProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Duration const& value) const; + auto SetGridLengthProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::GridLength const& value) const; + auto SetThicknessProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Thickness const& value) const; + auto SetMatrixProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Media::Matrix const& value) const; + auto SetMatrix3DProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& value) const; + auto SetEnumProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, uint32_t value) const; + auto GetObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetXamlDirectObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetBooleanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetDoubleProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetInt32Property(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetStringProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetDateTimeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetPointProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetRectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetSizeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetTimeSpanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetColorProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetCornerRadiusProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetDurationProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetGridLengthProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetThicknessProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetMatrixProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetMatrix3DProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetEnumProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto ClearProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const; + auto GetCollectionCount(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject) const; + auto GetXamlDirectObjectFromCollectionAt(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, uint32_t index) const; + auto AddToCollection(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const; + auto InsertIntoCollectionAt(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, uint32_t index, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const; + auto RemoveFromCollection(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const; + auto RemoveFromCollectionAt(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, uint32_t index) const; + auto ClearCollection(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject) const; + auto AddEventHandler(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlEventIndex const& eventIndex, winrt::Windows::Foundation::IInspectable const& handler) const; + auto AddEventHandler(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlEventIndex const& eventIndex, winrt::Windows::Foundation::IInspectable const& handler, bool handledEventsToo) const; + auto RemoveEventHandler(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlEventIndex const& eventIndex, winrt::Windows::Foundation::IInspectable const& handler) const; }; template <> struct consume { @@ -2208,7 +2208,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Core_Direct_IXamlDirectStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Core::Direct::XamlDirect) GetDefault() const; + auto GetDefault() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.1.h index 20c16216..d4315b3a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Core_Direct_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.2.h index 88ba4c01..cfce8e92 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Core_Direct_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.0.h index 476da260..f8f330e7 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Data_0_H @@ -7,11 +7,9 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { - template struct __declspec(empty_bases) IObservableVector; template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::UI::Xaml @@ -528,22 +526,22 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_IBinding { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyPath) Path() const; - WINRT_IMPL_AUTO(void) Path(winrt::Windows::UI::Xaml::PropertyPath const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::BindingMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::UI::Xaml::Data::BindingMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::RelativeSource) RelativeSource() const; - WINRT_IMPL_AUTO(void) RelativeSource(winrt::Windows::UI::Xaml::Data::RelativeSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ElementName() const; - WINRT_IMPL_AUTO(void) ElementName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::IValueConverter) Converter() const; - WINRT_IMPL_AUTO(void) Converter(winrt::Windows::UI::Xaml::Data::IValueConverter const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ConverterParameter() const; - WINRT_IMPL_AUTO(void) ConverterParameter(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ConverterLanguage() const; - WINRT_IMPL_AUTO(void) ConverterLanguage(param::hstring const& value) const; + [[nodiscard]] auto Path() const; + auto Path(winrt::Windows::UI::Xaml::PropertyPath const& value) const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::UI::Xaml::Data::BindingMode const& value) const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto RelativeSource() const; + auto RelativeSource(winrt::Windows::UI::Xaml::Data::RelativeSource const& value) const; + [[nodiscard]] auto ElementName() const; + auto ElementName(param::hstring const& value) const; + [[nodiscard]] auto Converter() const; + auto Converter(winrt::Windows::UI::Xaml::Data::IValueConverter const& value) const; + [[nodiscard]] auto ConverterParameter() const; + auto ConverterParameter(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto ConverterLanguage() const; + auto ConverterLanguage(param::hstring const& value) const; }; template <> struct consume { @@ -552,12 +550,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_IBinding2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) FallbackValue() const; - WINRT_IMPL_AUTO(void) FallbackValue(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) TargetNullValue() const; - WINRT_IMPL_AUTO(void) TargetNullValue(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::UpdateSourceTrigger) UpdateSourceTrigger() const; - WINRT_IMPL_AUTO(void) UpdateSourceTrigger(winrt::Windows::UI::Xaml::Data::UpdateSourceTrigger const& value) const; + [[nodiscard]] auto FallbackValue() const; + auto FallbackValue(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto TargetNullValue() const; + auto TargetNullValue(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto UpdateSourceTrigger() const; + auto UpdateSourceTrigger(winrt::Windows::UI::Xaml::Data::UpdateSourceTrigger const& value) const; }; template <> struct consume { @@ -574,7 +572,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_IBindingBaseFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::BindingBase) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -583,9 +581,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_IBindingExpression { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) DataItem() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::Binding) ParentBinding() const; - WINRT_IMPL_AUTO(void) UpdateSource() const; + [[nodiscard]] auto DataItem() const; + [[nodiscard]] auto ParentBinding() const; + auto UpdateSource() const; }; template <> struct consume { @@ -618,7 +616,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_IBindingFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::Binding) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -635,7 +633,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_IBindingOperationsStatics { - WINRT_IMPL_AUTO(void) SetBinding(winrt::Windows::UI::Xaml::DependencyObject const& target, winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::UI::Xaml::Data::BindingBase const& binding) const; + auto SetBinding(winrt::Windows::UI::Xaml::DependencyObject const& target, winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::UI::Xaml::Data::BindingBase const& binding) const; }; template <> struct consume { @@ -644,27 +642,27 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_ICollectionView { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CurrentItem() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CurrentPosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCurrentAfterLast() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCurrentBeforeFirst() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) CollectionGroups() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasMoreItems() const; - WINRT_IMPL_AUTO(winrt::event_token) CurrentChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto CurrentItem() const; + [[nodiscard]] auto CurrentPosition() const; + [[nodiscard]] auto IsCurrentAfterLast() const; + [[nodiscard]] auto IsCurrentBeforeFirst() const; + [[nodiscard]] auto CollectionGroups() const; + [[nodiscard]] auto HasMoreItems() const; + auto CurrentChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using CurrentChanged_revoker = impl::event_revoker::remove_CurrentChanged>; - [[nodiscard]] CurrentChanged_revoker CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CurrentChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CurrentChanging(winrt::Windows::UI::Xaml::Data::CurrentChangingEventHandler const& handler) const; + [[nodiscard]] auto CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto CurrentChanged(winrt::event_token const& token) const noexcept; + auto CurrentChanging(winrt::Windows::UI::Xaml::Data::CurrentChangingEventHandler const& handler) const; using CurrentChanging_revoker = impl::event_revoker::remove_CurrentChanging>; - [[nodiscard]] CurrentChanging_revoker CurrentChanging(auto_revoke_t, winrt::Windows::UI::Xaml::Data::CurrentChangingEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CurrentChanging(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(bool) MoveCurrentTo(winrt::Windows::Foundation::IInspectable const& item) const; - WINRT_IMPL_AUTO(bool) MoveCurrentToPosition(int32_t index) const; - WINRT_IMPL_AUTO(bool) MoveCurrentToFirst() const; - WINRT_IMPL_AUTO(bool) MoveCurrentToLast() const; - WINRT_IMPL_AUTO(bool) MoveCurrentToNext() const; - WINRT_IMPL_AUTO(bool) MoveCurrentToPrevious() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadMoreItemsAsync(uint32_t count) const; + [[nodiscard]] auto CurrentChanging(auto_revoke_t, winrt::Windows::UI::Xaml::Data::CurrentChangingEventHandler const& handler) const; + auto CurrentChanging(winrt::event_token const& token) const noexcept; + auto MoveCurrentTo(winrt::Windows::Foundation::IInspectable const& item) const; + auto MoveCurrentToPosition(int32_t index) const; + auto MoveCurrentToFirst() const; + auto MoveCurrentToLast() const; + auto MoveCurrentToNext() const; + auto MoveCurrentToPrevious() const; + auto LoadMoreItemsAsync(uint32_t count) const; }; template <> struct consume { @@ -673,7 +671,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_ICollectionViewFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::ICollectionView) CreateView() const; + auto CreateView() const; }; template <> struct consume { @@ -682,8 +680,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_ICollectionViewGroup { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Group() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector) GroupItems() const; + [[nodiscard]] auto Group() const; + [[nodiscard]] auto GroupItems() const; }; template <> struct consume { @@ -692,13 +690,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_ICollectionViewSource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::ICollectionView) View() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSourceGrouped() const; - WINRT_IMPL_AUTO(void) IsSourceGrouped(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyPath) ItemsPath() const; - WINRT_IMPL_AUTO(void) ItemsPath(winrt::Windows::UI::Xaml::PropertyPath const& value) const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto View() const; + [[nodiscard]] auto IsSourceGrouped() const; + auto IsSourceGrouped(bool value) const; + [[nodiscard]] auto ItemsPath() const; + auto ItemsPath(winrt::Windows::UI::Xaml::PropertyPath const& value) const; }; template <> struct consume { @@ -707,10 +705,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ViewProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSourceGroupedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ItemsPathProperty() const; + [[nodiscard]] auto SourceProperty() const; + [[nodiscard]] auto ViewProperty() const; + [[nodiscard]] auto IsSourceGroupedProperty() const; + [[nodiscard]] auto ItemsPathProperty() const; }; template <> struct consume { @@ -719,9 +717,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCancelable() const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; + [[nodiscard]] auto IsCancelable() const; }; template <> struct consume { @@ -730,8 +728,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::CurrentChangingEventArgs) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::CurrentChangingEventArgs) CreateWithCancelableParameter(bool isCancelable, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateWithCancelableParameter(bool isCancelable, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -740,14 +738,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_ICustomProperty { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) Type() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetValue(winrt::Windows::Foundation::IInspectable const& target) const; - WINRT_IMPL_AUTO(void) SetValue(winrt::Windows::Foundation::IInspectable const& target, winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetIndexedValue(winrt::Windows::Foundation::IInspectable const& target, winrt::Windows::Foundation::IInspectable const& index) const; - WINRT_IMPL_AUTO(void) SetIndexedValue(winrt::Windows::Foundation::IInspectable const& target, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::IInspectable const& index) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanWrite() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanRead() const; + [[nodiscard]] auto Type() const; + [[nodiscard]] auto Name() const; + auto GetValue(winrt::Windows::Foundation::IInspectable const& target) const; + auto SetValue(winrt::Windows::Foundation::IInspectable const& target, winrt::Windows::Foundation::IInspectable const& value) const; + auto GetIndexedValue(winrt::Windows::Foundation::IInspectable const& target, winrt::Windows::Foundation::IInspectable const& index) const; + auto SetIndexedValue(winrt::Windows::Foundation::IInspectable const& target, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::IInspectable const& index) const; + [[nodiscard]] auto CanWrite() const; + [[nodiscard]] auto CanRead() const; }; template <> struct consume { @@ -756,10 +754,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_ICustomPropertyProvider { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::ICustomProperty) GetCustomProperty(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::ICustomProperty) GetIndexedProperty(param::hstring const& name, winrt::Windows::UI::Xaml::Interop::TypeName const& type) const; - WINRT_IMPL_AUTO(hstring) GetStringRepresentation() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) Type() const; + auto GetCustomProperty(param::hstring const& name) const; + auto GetIndexedProperty(param::hstring const& name, winrt::Windows::UI::Xaml::Interop::TypeName const& type) const; + auto GetStringRepresentation() const; + [[nodiscard]] auto Type() const; }; template <> struct consume { @@ -768,9 +766,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_IItemIndexRange { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FirstIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Length() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) LastIndex() const; + [[nodiscard]] auto FirstIndex() const; + [[nodiscard]] auto Length() const; + [[nodiscard]] auto LastIndex() const; }; template <> struct consume { @@ -779,7 +777,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_IItemIndexRangeFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::ItemIndexRange) CreateInstance(int32_t firstIndex, uint32_t length, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(int32_t firstIndex, uint32_t length, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -788,7 +786,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_IItemsRangeInfo { - WINRT_IMPL_AUTO(void) RangesChanged(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& visibleRange, param::vector_view const& trackedItems) const; + auto RangesChanged(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& visibleRange, param::vector_view const& trackedItems) const; }; template <> struct consume { @@ -797,10 +795,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_INotifyPropertyChanged { - WINRT_IMPL_AUTO(winrt::event_token) PropertyChanged(winrt::Windows::UI::Xaml::Data::PropertyChangedEventHandler const& handler) const; + auto PropertyChanged(winrt::Windows::UI::Xaml::Data::PropertyChangedEventHandler const& handler) const; using PropertyChanged_revoker = impl::event_revoker::remove_PropertyChanged>; - [[nodiscard]] PropertyChanged_revoker PropertyChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Data::PropertyChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PropertyChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto PropertyChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Data::PropertyChangedEventHandler const& handler) const; + auto PropertyChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -809,7 +807,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_IPropertyChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PropertyName() const; + [[nodiscard]] auto PropertyName() const; }; template <> struct consume { @@ -818,7 +816,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_IPropertyChangedEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::PropertyChangedEventArgs) CreateInstance(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -827,8 +825,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_IRelativeSource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::RelativeSourceMode) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::UI::Xaml::Data::RelativeSourceMode const& value) const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::UI::Xaml::Data::RelativeSourceMode const& value) const; }; template <> struct consume { @@ -837,7 +835,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_IRelativeSourceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::RelativeSource) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -846,10 +844,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_ISelectionInfo { - WINRT_IMPL_AUTO(void) SelectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const; - WINRT_IMPL_AUTO(void) DeselectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const; - WINRT_IMPL_AUTO(bool) IsSelected(int32_t index) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetSelectedRanges() const; + auto SelectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const; + auto DeselectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const; + auto IsSelected(int32_t index) const; + auto GetSelectedRanges() const; }; template <> struct consume { @@ -858,8 +856,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_ISupportIncrementalLoading { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadMoreItemsAsync(uint32_t count) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasMoreItems() const; + auto LoadMoreItemsAsync(uint32_t count) const; + [[nodiscard]] auto HasMoreItems() const; }; template <> struct consume { @@ -868,8 +866,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Data_IValueConverter { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Convert(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::UI::Xaml::Interop::TypeName const& targetType, winrt::Windows::Foundation::IInspectable const& parameter, param::hstring const& language) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ConvertBack(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::UI::Xaml::Interop::TypeName const& targetType, winrt::Windows::Foundation::IInspectable const& parameter, param::hstring const& language) const; + auto Convert(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::UI::Xaml::Interop::TypeName const& targetType, winrt::Windows::Foundation::IInspectable const& parameter, param::hstring const& language) const; + auto ConvertBack(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::UI::Xaml::Interop::TypeName const& targetType, winrt::Windows::Foundation::IInspectable const& parameter, param::hstring const& language) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.1.h index fb46a2e7..2dc67b05 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Data_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.2.h index d7b72b05..e07fa224 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Data_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.0.h index 65e054ef..a2d61a87 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Documents_0_H @@ -1166,14 +1166,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IBlock { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) TextAlignment() const; - WINRT_IMPL_AUTO(void) TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) LineHeight() const; - WINRT_IMPL_AUTO(void) LineHeight(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::LineStackingStrategy) LineStackingStrategy() const; - WINRT_IMPL_AUTO(void) LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) Margin() const; - WINRT_IMPL_AUTO(void) Margin(winrt::Windows::UI::Xaml::Thickness const& value) const; + [[nodiscard]] auto TextAlignment() const; + auto TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; + [[nodiscard]] auto LineHeight() const; + auto LineHeight(double value) const; + [[nodiscard]] auto LineStackingStrategy() const; + auto LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const; + [[nodiscard]] auto Margin() const; + auto Margin(winrt::Windows::UI::Xaml::Thickness const& value) const; }; template <> struct consume { @@ -1182,8 +1182,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IBlock2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) HorizontalTextAlignment() const; - WINRT_IMPL_AUTO(void) HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; + [[nodiscard]] auto HorizontalTextAlignment() const; + auto HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const; }; template <> struct consume { @@ -1192,7 +1192,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IBlockFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::Block) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -1201,10 +1201,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IBlockStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextAlignmentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LineHeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LineStackingStrategyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MarginProperty() const; + [[nodiscard]] auto TextAlignmentProperty() const; + [[nodiscard]] auto LineHeightProperty() const; + [[nodiscard]] auto LineStackingStrategyProperty() const; + [[nodiscard]] auto MarginProperty() const; }; template <> struct consume { @@ -1213,7 +1213,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IBlockStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalTextAlignmentProperty() const; + [[nodiscard]] auto HorizontalTextAlignmentProperty() const; }; template <> struct consume { @@ -1238,48 +1238,48 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IContentLink { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ContentLinkInfo) Info() const; - WINRT_IMPL_AUTO(void) Info(winrt::Windows::UI::Text::ContentLinkInfo const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Background() const; - WINRT_IMPL_AUTO(void) Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreCursorType) Cursor() const; - WINRT_IMPL_AUTO(void) Cursor(winrt::Windows::UI::Core::CoreCursorType const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) XYFocusLeft() const; - WINRT_IMPL_AUTO(void) XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) XYFocusRight() const; - WINRT_IMPL_AUTO(void) XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) XYFocusUp() const; - WINRT_IMPL_AUTO(void) XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) XYFocusDown() const; - WINRT_IMPL_AUTO(void) XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSoundMode) ElementSoundMode() const; - WINRT_IMPL_AUTO(void) ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusState) FocusState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) XYFocusUpNavigationStrategy() const; - WINRT_IMPL_AUTO(void) XYFocusUpNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) XYFocusDownNavigationStrategy() const; - WINRT_IMPL_AUTO(void) XYFocusDownNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) XYFocusLeftNavigationStrategy() const; - WINRT_IMPL_AUTO(void) XYFocusLeftNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) XYFocusRightNavigationStrategy() const; - WINRT_IMPL_AUTO(void) XYFocusRightNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTabStop() const; - WINRT_IMPL_AUTO(void) IsTabStop(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) TabIndex() const; - WINRT_IMPL_AUTO(void) TabIndex(int32_t value) const; - WINRT_IMPL_AUTO(winrt::event_token) Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Info() const; + auto Info(winrt::Windows::UI::Text::ContentLinkInfo const& value) const; + [[nodiscard]] auto Background() const; + auto Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto Cursor() const; + auto Cursor(winrt::Windows::UI::Core::CoreCursorType const& value) const; + [[nodiscard]] auto XYFocusLeft() const; + auto XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto XYFocusRight() const; + auto XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto XYFocusUp() const; + auto XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto XYFocusDown() const; + auto XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto ElementSoundMode() const; + auto ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const; + [[nodiscard]] auto FocusState() const; + [[nodiscard]] auto XYFocusUpNavigationStrategy() const; + auto XYFocusUpNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; + [[nodiscard]] auto XYFocusDownNavigationStrategy() const; + auto XYFocusDownNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; + [[nodiscard]] auto XYFocusLeftNavigationStrategy() const; + auto XYFocusLeftNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; + [[nodiscard]] auto XYFocusRightNavigationStrategy() const; + auto XYFocusRightNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; + [[nodiscard]] auto IsTabStop() const; + auto IsTabStop(bool value) const; + [[nodiscard]] auto TabIndex() const; + auto TabIndex(int32_t value) const; + auto Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Invoked_revoker = impl::event_revoker::remove_Invoked>; - [[nodiscard]] Invoked_revoker Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Invoked(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) GotFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Invoked(winrt::event_token const& token) const noexcept; + auto GotFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using GotFocus_revoker = impl::event_revoker::remove_GotFocus>; - [[nodiscard]] GotFocus_revoker GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GotFocus(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LostFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto GotFocus(winrt::event_token const& token) const noexcept; + auto LostFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using LostFocus_revoker = impl::event_revoker::remove_LostFocus>; - [[nodiscard]] LostFocus_revoker LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LostFocus(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(bool) Focus(winrt::Windows::UI::Xaml::FocusState const& value) const; + [[nodiscard]] auto LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto LostFocus(winrt::event_token const& token) const noexcept; + auto Focus(winrt::Windows::UI::Xaml::FocusState const& value) const; }; template <> struct consume { @@ -1288,9 +1288,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IContentLinkInvokedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ContentLinkInfo) ContentLinkInfo() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto ContentLinkInfo() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -1315,7 +1315,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IContentLinkProviderFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::ContentLinkProvider) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -1324,20 +1324,20 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IContentLinkStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackgroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CursorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusLeftProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusRightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusUpProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusDownProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ElementSoundModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FocusStateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusUpNavigationStrategyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusDownNavigationStrategyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusLeftNavigationStrategyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusRightNavigationStrategyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTabStopProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TabIndexProperty() const; + [[nodiscard]] auto BackgroundProperty() const; + [[nodiscard]] auto CursorProperty() const; + [[nodiscard]] auto XYFocusLeftProperty() const; + [[nodiscard]] auto XYFocusRightProperty() const; + [[nodiscard]] auto XYFocusUpProperty() const; + [[nodiscard]] auto XYFocusDownProperty() const; + [[nodiscard]] auto ElementSoundModeProperty() const; + [[nodiscard]] auto FocusStateProperty() const; + [[nodiscard]] auto XYFocusUpNavigationStrategyProperty() const; + [[nodiscard]] auto XYFocusDownNavigationStrategyProperty() const; + [[nodiscard]] auto XYFocusLeftNavigationStrategyProperty() const; + [[nodiscard]] auto XYFocusRightNavigationStrategyProperty() const; + [[nodiscard]] auto IsTabStopProperty() const; + [[nodiscard]] auto TabIndexProperty() const; }; template <> struct consume { @@ -1346,22 +1346,22 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IGlyphs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) UnicodeString() const; - WINRT_IMPL_AUTO(void) UnicodeString(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Indices() const; - WINRT_IMPL_AUTO(void) Indices(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) FontUri() const; - WINRT_IMPL_AUTO(void) FontUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::StyleSimulations) StyleSimulations() const; - WINRT_IMPL_AUTO(void) StyleSimulations(winrt::Windows::UI::Xaml::Media::StyleSimulations const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FontRenderingEmSize() const; - WINRT_IMPL_AUTO(void) FontRenderingEmSize(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OriginX() const; - WINRT_IMPL_AUTO(void) OriginX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OriginY() const; - WINRT_IMPL_AUTO(void) OriginY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Fill() const; - WINRT_IMPL_AUTO(void) Fill(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto UnicodeString() const; + auto UnicodeString(param::hstring const& value) const; + [[nodiscard]] auto Indices() const; + auto Indices(param::hstring const& value) const; + [[nodiscard]] auto FontUri() const; + auto FontUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto StyleSimulations() const; + auto StyleSimulations(winrt::Windows::UI::Xaml::Media::StyleSimulations const& value) const; + [[nodiscard]] auto FontRenderingEmSize() const; + auto FontRenderingEmSize(double value) const; + [[nodiscard]] auto OriginX() const; + auto OriginX(double value) const; + [[nodiscard]] auto OriginY() const; + auto OriginY(double value) const; + [[nodiscard]] auto Fill() const; + auto Fill(winrt::Windows::UI::Xaml::Media::Brush const& value) const; }; template <> struct consume { @@ -1370,10 +1370,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IGlyphs2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsColorFontEnabled() const; - WINRT_IMPL_AUTO(void) IsColorFontEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ColorFontPaletteIndex() const; - WINRT_IMPL_AUTO(void) ColorFontPaletteIndex(int32_t value) const; + [[nodiscard]] auto IsColorFontEnabled() const; + auto IsColorFontEnabled(bool value) const; + [[nodiscard]] auto ColorFontPaletteIndex() const; + auto ColorFontPaletteIndex(int32_t value) const; }; template <> struct consume { @@ -1382,14 +1382,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IGlyphsStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) UnicodeStringProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IndicesProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontUriProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StyleSimulationsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontRenderingEmSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OriginXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OriginYProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FillProperty() const; + [[nodiscard]] auto UnicodeStringProperty() const; + [[nodiscard]] auto IndicesProperty() const; + [[nodiscard]] auto FontUriProperty() const; + [[nodiscard]] auto StyleSimulationsProperty() const; + [[nodiscard]] auto FontRenderingEmSizeProperty() const; + [[nodiscard]] auto OriginXProperty() const; + [[nodiscard]] auto OriginYProperty() const; + [[nodiscard]] auto FillProperty() const; }; template <> struct consume { @@ -1398,8 +1398,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IGlyphsStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsColorFontEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ColorFontPaletteIndexProperty() const; + [[nodiscard]] auto IsColorFontEnabledProperty() const; + [[nodiscard]] auto ColorFontPaletteIndexProperty() const; }; template <> struct consume { @@ -1408,12 +1408,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IHyperlink { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) NavigateUri() const; - WINRT_IMPL_AUTO(void) NavigateUri(winrt::Windows::Foundation::Uri const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) Click(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto NavigateUri() const; + auto NavigateUri(winrt::Windows::Foundation::Uri const& value) const; + auto Click(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Click_revoker = impl::event_revoker::remove_Click>; - [[nodiscard]] Click_revoker Click(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Click(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Click(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Click(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1422,8 +1422,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IHyperlink2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::UnderlineStyle) UnderlineStyle() const; - WINRT_IMPL_AUTO(void) UnderlineStyle(winrt::Windows::UI::Xaml::Documents::UnderlineStyle const& value) const; + [[nodiscard]] auto UnderlineStyle() const; + auto UnderlineStyle(winrt::Windows::UI::Xaml::Documents::UnderlineStyle const& value) const; }; template <> struct consume { @@ -1432,16 +1432,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IHyperlink3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) XYFocusLeft() const; - WINRT_IMPL_AUTO(void) XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) XYFocusRight() const; - WINRT_IMPL_AUTO(void) XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) XYFocusUp() const; - WINRT_IMPL_AUTO(void) XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) XYFocusDown() const; - WINRT_IMPL_AUTO(void) XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSoundMode) ElementSoundMode() const; - WINRT_IMPL_AUTO(void) ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const; + [[nodiscard]] auto XYFocusLeft() const; + auto XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto XYFocusRight() const; + auto XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto XYFocusUp() const; + auto XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto XYFocusDown() const; + auto XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto ElementSoundMode() const; + auto ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const; }; template <> struct consume { @@ -1450,24 +1450,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IHyperlink4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusState) FocusState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) XYFocusUpNavigationStrategy() const; - WINRT_IMPL_AUTO(void) XYFocusUpNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) XYFocusDownNavigationStrategy() const; - WINRT_IMPL_AUTO(void) XYFocusDownNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) XYFocusLeftNavigationStrategy() const; - WINRT_IMPL_AUTO(void) XYFocusLeftNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) XYFocusRightNavigationStrategy() const; - WINRT_IMPL_AUTO(void) XYFocusRightNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) GotFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto FocusState() const; + [[nodiscard]] auto XYFocusUpNavigationStrategy() const; + auto XYFocusUpNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; + [[nodiscard]] auto XYFocusDownNavigationStrategy() const; + auto XYFocusDownNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; + [[nodiscard]] auto XYFocusLeftNavigationStrategy() const; + auto XYFocusLeftNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; + [[nodiscard]] auto XYFocusRightNavigationStrategy() const; + auto XYFocusRightNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const; + auto GotFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using GotFocus_revoker = impl::event_revoker::remove_GotFocus>; - [[nodiscard]] GotFocus_revoker GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GotFocus(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LostFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto GotFocus(winrt::event_token const& token) const noexcept; + auto LostFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using LostFocus_revoker = impl::event_revoker::remove_LostFocus>; - [[nodiscard]] LostFocus_revoker LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LostFocus(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(bool) Focus(winrt::Windows::UI::Xaml::FocusState const& value) const; + [[nodiscard]] auto LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto LostFocus(winrt::event_token const& token) const noexcept; + auto Focus(winrt::Windows::UI::Xaml::FocusState const& value) const; }; template <> struct consume { @@ -1476,10 +1476,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IHyperlink5 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTabStop() const; - WINRT_IMPL_AUTO(void) IsTabStop(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) TabIndex() const; - WINRT_IMPL_AUTO(void) TabIndex(int32_t value) const; + [[nodiscard]] auto IsTabStop() const; + auto IsTabStop(bool value) const; + [[nodiscard]] auto TabIndex() const; + auto TabIndex(int32_t value) const; }; template <> struct consume { @@ -1496,7 +1496,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IHyperlinkStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) NavigateUriProperty() const; + [[nodiscard]] auto NavigateUriProperty() const; }; template <> struct consume { @@ -1505,7 +1505,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IHyperlinkStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) UnderlineStyleProperty() const; + [[nodiscard]] auto UnderlineStyleProperty() const; }; template <> struct consume { @@ -1514,11 +1514,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusLeftProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusRightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusUpProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusDownProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ElementSoundModeProperty() const; + [[nodiscard]] auto XYFocusLeftProperty() const; + [[nodiscard]] auto XYFocusRightProperty() const; + [[nodiscard]] auto XYFocusUpProperty() const; + [[nodiscard]] auto XYFocusDownProperty() const; + [[nodiscard]] auto ElementSoundModeProperty() const; }; template <> struct consume { @@ -1527,11 +1527,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FocusStateProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusUpNavigationStrategyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusDownNavigationStrategyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusLeftNavigationStrategyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XYFocusRightNavigationStrategyProperty() const; + [[nodiscard]] auto FocusStateProperty() const; + [[nodiscard]] auto XYFocusUpNavigationStrategyProperty() const; + [[nodiscard]] auto XYFocusDownNavigationStrategyProperty() const; + [[nodiscard]] auto XYFocusLeftNavigationStrategyProperty() const; + [[nodiscard]] auto XYFocusRightNavigationStrategyProperty() const; }; template <> struct consume { @@ -1540,8 +1540,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IHyperlinkStatics5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTabStopProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TabIndexProperty() const; + [[nodiscard]] auto IsTabStopProperty() const; + [[nodiscard]] auto TabIndexProperty() const; }; template <> struct consume { @@ -1558,7 +1558,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IInlineFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::Inline) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -1567,8 +1567,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IInlineUIContainer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Child() const; - WINRT_IMPL_AUTO(void) Child(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto Child() const; + auto Child(winrt::Windows::UI::Xaml::UIElement const& value) const; }; template <> struct consume { @@ -1593,9 +1593,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IParagraph { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::InlineCollection) Inlines() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) TextIndent() const; - WINRT_IMPL_AUTO(void) TextIndent(double value) const; + [[nodiscard]] auto Inlines() const; + [[nodiscard]] auto TextIndent() const; + auto TextIndent(double value) const; }; template <> struct consume { @@ -1604,7 +1604,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IParagraphStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextIndentProperty() const; + [[nodiscard]] auto TextIndentProperty() const; }; template <> struct consume { @@ -1621,10 +1621,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IRun { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FlowDirection) FlowDirection() const; - WINRT_IMPL_AUTO(void) FlowDirection(winrt::Windows::UI::Xaml::FlowDirection const& value) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto FlowDirection() const; + auto FlowDirection(winrt::Windows::UI::Xaml::FlowDirection const& value) const; }; template <> struct consume { @@ -1633,7 +1633,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_IRunStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FlowDirectionProperty() const; + [[nodiscard]] auto FlowDirectionProperty() const; }; template <> struct consume { @@ -1642,8 +1642,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ISpan { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::InlineCollection) Inlines() const; - WINRT_IMPL_AUTO(void) Inlines(winrt::Windows::UI::Xaml::Documents::InlineCollection const& value) const; + [[nodiscard]] auto Inlines() const; + auto Inlines(winrt::Windows::UI::Xaml::Documents::InlineCollection const& value) const; }; template <> struct consume { @@ -1652,7 +1652,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ISpanFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::Span) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -1661,28 +1661,28 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ITextElement { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FontSize() const; - WINRT_IMPL_AUTO(void) FontSize(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) FontFamily() const; - WINRT_IMPL_AUTO(void) FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) FontWeight() const; - WINRT_IMPL_AUTO(void) FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) FontStyle() const; - WINRT_IMPL_AUTO(void) FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) FontStretch() const; - WINRT_IMPL_AUTO(void) FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CharacterSpacing() const; - WINRT_IMPL_AUTO(void) CharacterSpacing(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Foreground() const; - WINRT_IMPL_AUTO(void) Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - WINRT_IMPL_AUTO(void) Language(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) ContentStart() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) ContentEnd() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) ElementStart() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) ElementEnd() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) FindName(param::hstring const& name) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto FontSize() const; + auto FontSize(double value) const; + [[nodiscard]] auto FontFamily() const; + auto FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const; + [[nodiscard]] auto FontWeight() const; + auto FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const; + [[nodiscard]] auto FontStyle() const; + auto FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const; + [[nodiscard]] auto FontStretch() const; + auto FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const; + [[nodiscard]] auto CharacterSpacing() const; + auto CharacterSpacing(int32_t value) const; + [[nodiscard]] auto Foreground() const; + auto Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto Language() const; + auto Language(param::hstring const& value) const; + [[nodiscard]] auto ContentStart() const; + [[nodiscard]] auto ContentEnd() const; + [[nodiscard]] auto ElementStart() const; + [[nodiscard]] auto ElementEnd() const; + auto FindName(param::hstring const& name) const; }; template <> struct consume { @@ -1691,8 +1691,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ITextElement2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextScaleFactorEnabled() const; - WINRT_IMPL_AUTO(void) IsTextScaleFactorEnabled(bool value) const; + [[nodiscard]] auto IsTextScaleFactorEnabled() const; + auto IsTextScaleFactorEnabled(bool value) const; }; template <> struct consume { @@ -1701,12 +1701,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ITextElement3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowFocusOnInteraction() const; - WINRT_IMPL_AUTO(void) AllowFocusOnInteraction(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AccessKey() const; - WINRT_IMPL_AUTO(void) AccessKey(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ExitDisplayModeOnAccessKeyInvoked() const; - WINRT_IMPL_AUTO(void) ExitDisplayModeOnAccessKeyInvoked(bool value) const; + [[nodiscard]] auto AllowFocusOnInteraction() const; + auto AllowFocusOnInteraction(bool value) const; + [[nodiscard]] auto AccessKey() const; + auto AccessKey(param::hstring const& value) const; + [[nodiscard]] auto ExitDisplayModeOnAccessKeyInvoked() const; + auto ExitDisplayModeOnAccessKeyInvoked(bool value) const; }; template <> struct consume { @@ -1715,30 +1715,30 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ITextElement4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Text::TextDecorations) TextDecorations() const; - WINRT_IMPL_AUTO(void) TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAccessKeyScope() const; - WINRT_IMPL_AUTO(void) IsAccessKeyScope(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) AccessKeyScopeOwner() const; - WINRT_IMPL_AUTO(void) AccessKeyScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode) KeyTipPlacementMode() const; - WINRT_IMPL_AUTO(void) KeyTipPlacementMode(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) KeyTipHorizontalOffset() const; - WINRT_IMPL_AUTO(void) KeyTipHorizontalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) KeyTipVerticalOffset() const; - WINRT_IMPL_AUTO(void) KeyTipVerticalOffset(double value) const; - WINRT_IMPL_AUTO(winrt::event_token) AccessKeyDisplayRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TextDecorations() const; + auto TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const; + [[nodiscard]] auto IsAccessKeyScope() const; + auto IsAccessKeyScope(bool value) const; + [[nodiscard]] auto AccessKeyScopeOwner() const; + auto AccessKeyScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto KeyTipPlacementMode() const; + auto KeyTipPlacementMode(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode const& value) const; + [[nodiscard]] auto KeyTipHorizontalOffset() const; + auto KeyTipHorizontalOffset(double value) const; + [[nodiscard]] auto KeyTipVerticalOffset() const; + auto KeyTipVerticalOffset(double value) const; + auto AccessKeyDisplayRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AccessKeyDisplayRequested_revoker = impl::event_revoker::remove_AccessKeyDisplayRequested>; - [[nodiscard]] AccessKeyDisplayRequested_revoker AccessKeyDisplayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AccessKeyDisplayRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AccessKeyDisplayDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AccessKeyDisplayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccessKeyDisplayRequested(winrt::event_token const& token) const noexcept; + auto AccessKeyDisplayDismissed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AccessKeyDisplayDismissed_revoker = impl::event_revoker::remove_AccessKeyDisplayDismissed>; - [[nodiscard]] AccessKeyDisplayDismissed_revoker AccessKeyDisplayDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AccessKeyDisplayDismissed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AccessKeyInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AccessKeyDisplayDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccessKeyDisplayDismissed(winrt::event_token const& token) const noexcept; + auto AccessKeyInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AccessKeyInvoked_revoker = impl::event_revoker::remove_AccessKeyInvoked>; - [[nodiscard]] AccessKeyInvoked_revoker AccessKeyInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AccessKeyInvoked(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AccessKeyInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AccessKeyInvoked(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1747,8 +1747,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ITextElement5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::XamlRoot) XamlRoot() const; - WINRT_IMPL_AUTO(void) XamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& value) const; + [[nodiscard]] auto XamlRoot() const; + auto XamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& value) const; }; template <> struct consume { @@ -1765,7 +1765,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ITextElementOverrides { - WINRT_IMPL_AUTO(void) OnDisconnectVisualChildren() const; + auto OnDisconnectVisualChildren() const; }; template <> struct consume { @@ -1774,14 +1774,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ITextElementStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontSizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontFamilyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontWeightProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontStyleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FontStretchProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CharacterSpacingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LanguageProperty() const; + [[nodiscard]] auto FontSizeProperty() const; + [[nodiscard]] auto FontFamilyProperty() const; + [[nodiscard]] auto FontWeightProperty() const; + [[nodiscard]] auto FontStyleProperty() const; + [[nodiscard]] auto FontStretchProperty() const; + [[nodiscard]] auto CharacterSpacingProperty() const; + [[nodiscard]] auto ForegroundProperty() const; + [[nodiscard]] auto LanguageProperty() const; }; template <> struct consume { @@ -1790,7 +1790,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ITextElementStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTextScaleFactorEnabledProperty() const; + [[nodiscard]] auto IsTextScaleFactorEnabledProperty() const; }; template <> struct consume { @@ -1799,9 +1799,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ITextElementStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AllowFocusOnInteractionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AccessKeyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ExitDisplayModeOnAccessKeyInvokedProperty() const; + [[nodiscard]] auto AllowFocusOnInteractionProperty() const; + [[nodiscard]] auto AccessKeyProperty() const; + [[nodiscard]] auto ExitDisplayModeOnAccessKeyInvokedProperty() const; }; template <> struct consume { @@ -1810,12 +1810,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ITextElementStatics4 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextDecorationsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsAccessKeyScopeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AccessKeyScopeOwnerProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyTipPlacementModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyTipHorizontalOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyTipVerticalOffsetProperty() const; + [[nodiscard]] auto TextDecorationsProperty() const; + [[nodiscard]] auto IsAccessKeyScopeProperty() const; + [[nodiscard]] auto AccessKeyScopeOwnerProperty() const; + [[nodiscard]] auto KeyTipPlacementModeProperty() const; + [[nodiscard]] auto KeyTipHorizontalOffsetProperty() const; + [[nodiscard]] auto KeyTipVerticalOffsetProperty() const; }; template <> struct consume { @@ -1824,11 +1824,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ITextHighlighter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Ranges() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Foreground() const; - WINRT_IMPL_AUTO(void) Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Background() const; - WINRT_IMPL_AUTO(void) Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto Ranges() const; + [[nodiscard]] auto Foreground() const; + auto Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto Background() const; + auto Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const; }; template <> struct consume { @@ -1853,7 +1853,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ITextHighlighterFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextHighlighter) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -1862,8 +1862,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ITextHighlighterStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ForegroundProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackgroundProperty() const; + [[nodiscard]] auto ForegroundProperty() const; + [[nodiscard]] auto BackgroundProperty() const; }; template <> struct consume { @@ -1872,12 +1872,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ITextPointer { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) Parent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FrameworkElement) VisualParent() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::LogicalDirection) LogicalDirection() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Offset() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) GetCharacterRect(winrt::Windows::UI::Xaml::Documents::LogicalDirection const& direction) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) GetPositionAtOffset(int32_t offset, winrt::Windows::UI::Xaml::Documents::LogicalDirection const& direction) const; + [[nodiscard]] auto Parent() const; + [[nodiscard]] auto VisualParent() const; + [[nodiscard]] auto LogicalDirection() const; + [[nodiscard]] auto Offset() const; + auto GetCharacterRect(winrt::Windows::UI::Xaml::Documents::LogicalDirection const& direction) const; + auto GetPositionAtOffset(int32_t offset, winrt::Windows::UI::Xaml::Documents::LogicalDirection const& direction) const; }; template <> struct consume { @@ -1894,135 +1894,135 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Documents_ITypographyStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AnnotationAlternatesProperty() const; - WINRT_IMPL_AUTO(int32_t) GetAnnotationAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetAnnotationAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EastAsianExpertFormsProperty() const; - WINRT_IMPL_AUTO(bool) GetEastAsianExpertForms(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetEastAsianExpertForms(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EastAsianLanguageProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontEastAsianLanguage) GetEastAsianLanguage(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetEastAsianLanguage(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontEastAsianLanguage const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EastAsianWidthsProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontEastAsianWidths) GetEastAsianWidths(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetEastAsianWidths(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontEastAsianWidths const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StandardLigaturesProperty() const; - WINRT_IMPL_AUTO(bool) GetStandardLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStandardLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContextualLigaturesProperty() const; - WINRT_IMPL_AUTO(bool) GetContextualLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetContextualLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DiscretionaryLigaturesProperty() const; - WINRT_IMPL_AUTO(bool) GetDiscretionaryLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetDiscretionaryLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HistoricalLigaturesProperty() const; - WINRT_IMPL_AUTO(bool) GetHistoricalLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetHistoricalLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StandardSwashesProperty() const; - WINRT_IMPL_AUTO(int32_t) GetStandardSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStandardSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContextualSwashesProperty() const; - WINRT_IMPL_AUTO(int32_t) GetContextualSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetContextualSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContextualAlternatesProperty() const; - WINRT_IMPL_AUTO(bool) GetContextualAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetContextualAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticAlternatesProperty() const; - WINRT_IMPL_AUTO(int32_t) GetStylisticAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet1Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet1(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet1(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet2Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet2(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet2(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet3Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet3(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet3(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet4Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet4(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet4(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet5Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet5(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet5(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet6Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet6(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet6(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet7Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet7(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet7(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet8Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet8(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet8(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet9Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet9(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet9(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet10Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet10(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet10(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet11Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet11(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet11(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet12Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet12(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet12(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet13Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet13(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet13(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet14Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet14(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet14(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet15Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet15(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet15(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet16Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet16(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet16(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet17Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet17(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet17(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet18Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet18(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet18(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet19Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet19(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet19(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StylisticSet20Property() const; - WINRT_IMPL_AUTO(bool) GetStylisticSet20(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetStylisticSet20(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CapitalsProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontCapitals) GetCapitals(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetCapitals(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontCapitals const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CapitalSpacingProperty() const; - WINRT_IMPL_AUTO(bool) GetCapitalSpacing(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetCapitalSpacing(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KerningProperty() const; - WINRT_IMPL_AUTO(bool) GetKerning(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetKerning(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CaseSensitiveFormsProperty() const; - WINRT_IMPL_AUTO(bool) GetCaseSensitiveForms(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetCaseSensitiveForms(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HistoricalFormsProperty() const; - WINRT_IMPL_AUTO(bool) GetHistoricalForms(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetHistoricalForms(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FractionProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontFraction) GetFraction(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetFraction(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontFraction const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) NumeralStyleProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontNumeralStyle) GetNumeralStyle(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetNumeralStyle(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontNumeralStyle const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) NumeralAlignmentProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontNumeralAlignment) GetNumeralAlignment(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetNumeralAlignment(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontNumeralAlignment const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SlashedZeroProperty() const; - WINRT_IMPL_AUTO(bool) GetSlashedZero(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetSlashedZero(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MathematicalGreekProperty() const; - WINRT_IMPL_AUTO(bool) GetMathematicalGreek(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetMathematicalGreek(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VariantsProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontVariants) GetVariants(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetVariants(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontVariants const& value) const; + [[nodiscard]] auto AnnotationAlternatesProperty() const; + auto GetAnnotationAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetAnnotationAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const; + [[nodiscard]] auto EastAsianExpertFormsProperty() const; + auto GetEastAsianExpertForms(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetEastAsianExpertForms(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto EastAsianLanguageProperty() const; + auto GetEastAsianLanguage(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetEastAsianLanguage(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontEastAsianLanguage const& value) const; + [[nodiscard]] auto EastAsianWidthsProperty() const; + auto GetEastAsianWidths(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetEastAsianWidths(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontEastAsianWidths const& value) const; + [[nodiscard]] auto StandardLigaturesProperty() const; + auto GetStandardLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStandardLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto ContextualLigaturesProperty() const; + auto GetContextualLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetContextualLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto DiscretionaryLigaturesProperty() const; + auto GetDiscretionaryLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetDiscretionaryLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto HistoricalLigaturesProperty() const; + auto GetHistoricalLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetHistoricalLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StandardSwashesProperty() const; + auto GetStandardSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStandardSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const; + [[nodiscard]] auto ContextualSwashesProperty() const; + auto GetContextualSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetContextualSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const; + [[nodiscard]] auto ContextualAlternatesProperty() const; + auto GetContextualAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetContextualAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticAlternatesProperty() const; + auto GetStylisticAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const; + [[nodiscard]] auto StylisticSet1Property() const; + auto GetStylisticSet1(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet1(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet2Property() const; + auto GetStylisticSet2(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet2(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet3Property() const; + auto GetStylisticSet3(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet3(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet4Property() const; + auto GetStylisticSet4(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet4(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet5Property() const; + auto GetStylisticSet5(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet5(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet6Property() const; + auto GetStylisticSet6(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet6(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet7Property() const; + auto GetStylisticSet7(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet7(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet8Property() const; + auto GetStylisticSet8(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet8(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet9Property() const; + auto GetStylisticSet9(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet9(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet10Property() const; + auto GetStylisticSet10(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet10(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet11Property() const; + auto GetStylisticSet11(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet11(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet12Property() const; + auto GetStylisticSet12(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet12(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet13Property() const; + auto GetStylisticSet13(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet13(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet14Property() const; + auto GetStylisticSet14(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet14(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet15Property() const; + auto GetStylisticSet15(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet15(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet16Property() const; + auto GetStylisticSet16(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet16(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet17Property() const; + auto GetStylisticSet17(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet17(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet18Property() const; + auto GetStylisticSet18(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet18(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet19Property() const; + auto GetStylisticSet19(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet19(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto StylisticSet20Property() const; + auto GetStylisticSet20(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetStylisticSet20(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto CapitalsProperty() const; + auto GetCapitals(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetCapitals(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontCapitals const& value) const; + [[nodiscard]] auto CapitalSpacingProperty() const; + auto GetCapitalSpacing(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetCapitalSpacing(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto KerningProperty() const; + auto GetKerning(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetKerning(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto CaseSensitiveFormsProperty() const; + auto GetCaseSensitiveForms(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetCaseSensitiveForms(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto HistoricalFormsProperty() const; + auto GetHistoricalForms(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetHistoricalForms(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto FractionProperty() const; + auto GetFraction(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetFraction(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontFraction const& value) const; + [[nodiscard]] auto NumeralStyleProperty() const; + auto GetNumeralStyle(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetNumeralStyle(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontNumeralStyle const& value) const; + [[nodiscard]] auto NumeralAlignmentProperty() const; + auto GetNumeralAlignment(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetNumeralAlignment(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontNumeralAlignment const& value) const; + [[nodiscard]] auto SlashedZeroProperty() const; + auto GetSlashedZero(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetSlashedZero(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto MathematicalGreekProperty() const; + auto GetMathematicalGreek(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetMathematicalGreek(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const; + [[nodiscard]] auto VariantsProperty() const; + auto GetVariants(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetVariants(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontVariants const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.1.h index f574c935..cd0a7fa1 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Documents_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.2.h index 8568b88f..caf2f125 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Documents_2_H @@ -407,7 +407,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Documents D const& shim() const noexcept { return *static_cast(this); } public: using ITextElementOverrides = winrt::Windows::UI::Xaml::Documents::ITextElementOverrides; - WINRT_IMPL_AUTO(void) OnDisconnectVisualChildren() const; + auto OnDisconnectVisualChildren() const; }; } #endif diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.0.h index 553a8af4..1f6abb63 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Hosting_0_H @@ -7,7 +7,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; struct Rect; struct Size; template struct __declspec(empty_bases) TypedEventHandler; @@ -408,7 +407,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IDesignerAppExitedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExitCode() const; + [[nodiscard]] auto ExitCode() const; }; template <> struct consume { @@ -417,13 +416,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IDesignerAppManager { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppUserModelId() const; - WINRT_IMPL_AUTO(winrt::event_token) DesignerAppExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto AppUserModelId() const; + auto DesignerAppExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DesignerAppExited_revoker = impl::event_revoker::remove_DesignerAppExited>; - [[nodiscard]] DesignerAppExited_revoker DesignerAppExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DesignerAppExited(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateNewViewAsync(winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState const& initialViewState, winrt::Windows::Foundation::Size const& initialViewSize) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) LoadObjectIntoAppAsync(param::hstring const& dllName, winrt::guid const& classId, param::hstring const& initializationData) const; + [[nodiscard]] auto DesignerAppExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DesignerAppExited(winrt::event_token const& token) const noexcept; + auto CreateNewViewAsync(winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState const& initialViewState, winrt::Windows::Foundation::Size const& initialViewSize) const; + auto LoadObjectIntoAppAsync(param::hstring const& dllName, winrt::guid const& classId, param::hstring const& initializationData) const; }; template <> struct consume { @@ -432,7 +431,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IDesignerAppManagerFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::DesignerAppManager) Create(param::hstring const& appUserModelId) const; + auto Create(param::hstring const& appUserModelId) const; }; template <> struct consume { @@ -441,11 +440,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IDesignerAppView { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ApplicationViewId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppUserModelId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState) ViewState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) ViewSize() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UpdateViewAsync(winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState const& viewState, winrt::Windows::Foundation::Size const& viewSize) const; + [[nodiscard]] auto ApplicationViewId() const; + [[nodiscard]] auto AppUserModelId() const; + [[nodiscard]] auto ViewState() const; + [[nodiscard]] auto ViewSize() const; + auto UpdateViewAsync(winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState const& viewState, winrt::Windows::Foundation::Size const& viewSize) const; }; template <> struct consume { @@ -454,18 +453,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Content() const; - WINRT_IMPL_AUTO(void) Content(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasFocus() const; - WINRT_IMPL_AUTO(winrt::event_token) TakeFocusRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Content() const; + auto Content(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto HasFocus() const; + auto TakeFocusRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TakeFocusRequested_revoker = impl::event_revoker::remove_TakeFocusRequested>; - [[nodiscard]] TakeFocusRequested_revoker TakeFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) TakeFocusRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) GotFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto TakeFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto TakeFocusRequested(winrt::event_token const& token) const noexcept; + auto GotFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using GotFocus_revoker = impl::event_revoker::remove_GotFocus>; - [[nodiscard]] GotFocus_revoker GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GotFocus(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationResult) NavigateFocus(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest const& request) const; + [[nodiscard]] auto GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GotFocus(winrt::event_token const& token) const noexcept; + auto NavigateFocus(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest const& request) const; }; template <> struct consume { @@ -474,7 +473,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -483,7 +482,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceGotFocusEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -492,7 +491,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceTakeFocusRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest) Request() const; + [[nodiscard]] auto Request() const; }; template <> struct consume { @@ -509,10 +508,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) GetElementVisual(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) GetElementChildVisual(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetElementChildVisual(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::Visual const& visual) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPropertySet) GetScrollViewerManipulationPropertySet(winrt::Windows::UI::Xaml::Controls::ScrollViewer const& scrollViewer) const; + auto GetElementVisual(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto GetElementChildVisual(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetElementChildVisual(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::Visual const& visual) const; + auto GetScrollViewerManipulationPropertySet(winrt::Windows::UI::Xaml::Controls::ScrollViewer const& scrollViewer) const; }; template <> struct consume { @@ -521,10 +520,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2 { - WINRT_IMPL_AUTO(void) SetImplicitShowAnimation(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const; - WINRT_IMPL_AUTO(void) SetImplicitHideAnimation(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const; - WINRT_IMPL_AUTO(void) SetIsTranslationEnabled(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPropertySet) GetPointerPositionPropertySet(winrt::Windows::UI::Xaml::UIElement const& targetElement) const; + auto SetImplicitShowAnimation(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const; + auto SetImplicitHideAnimation(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const; + auto SetIsTranslationEnabled(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; + auto GetPointerPositionPropertySet(winrt::Windows::UI::Xaml::UIElement const& targetElement) const; }; template <> struct consume { @@ -533,8 +532,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics3 { - WINRT_IMPL_AUTO(void) SetAppWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& appWindow, winrt::Windows::UI::Xaml::UIElement const& xamlContent) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) GetAppWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& appWindow) const; + auto SetAppWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& appWindow, winrt::Windows::UI::Xaml::UIElement const& xamlContent) const; + auto GetAppWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& appWindow) const; }; template <> struct consume { @@ -551,7 +550,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IWindowsXamlManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::WindowsXamlManager) InitializeForCurrentThread() const; + auto InitializeForCurrentThread() const; }; template <> struct consume { @@ -560,9 +559,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequest { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason) Reason() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) HintRect() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CorrelationId() const; + [[nodiscard]] auto Reason() const; + [[nodiscard]] auto HintRect() const; + [[nodiscard]] auto CorrelationId() const; }; template <> struct consume { @@ -571,9 +570,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequestFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest) CreateInstance(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest) CreateInstanceWithHintRect(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason, winrt::Windows::Foundation::Rect const& hintRect) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest) CreateInstanceWithHintRectAndCorrelationId(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason, winrt::Windows::Foundation::Rect const& hintRect, winrt::guid const& correlationId) const; + auto CreateInstance(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason) const; + auto CreateInstanceWithHintRect(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason, winrt::Windows::Foundation::Rect const& hintRect) const; + auto CreateInstanceWithHintRectAndCorrelationId(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason, winrt::Windows::Foundation::Rect const& hintRect, winrt::guid const& correlationId) const; }; template <> struct consume { @@ -582,7 +581,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationResult { - [[nodiscard]] WINRT_IMPL_AUTO(bool) WasFocusMoved() const; + [[nodiscard]] auto WasFocusMoved() const; }; template <> struct consume { @@ -591,7 +590,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationResultFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationResult) CreateInstance(bool focusMoved) const; + auto CreateInstance(bool focusMoved) const; }; template <> struct consume { @@ -600,15 +599,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) RootElement() const; - WINRT_IMPL_AUTO(void) RootElement(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ThemeKey() const; - WINRT_IMPL_AUTO(void) ThemeKey(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ThemeResourcesXaml() const; - WINRT_IMPL_AUTO(void) ThemeResourcesXaml(param::hstring const& value) const; - WINRT_IMPL_AUTO(void) SetSize(int32_t width, int32_t height) const; - WINRT_IMPL_AUTO(void) Render() const; - WINRT_IMPL_AUTO(void) Present() const; + [[nodiscard]] auto RootElement() const; + auto RootElement(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto ThemeKey() const; + auto ThemeKey(param::hstring const& value) const; + [[nodiscard]] auto ThemeResourcesXaml() const; + auto ThemeResourcesXaml(param::hstring const& value) const; + auto SetSize(int32_t width, int32_t height) const; + auto Render() const; + auto Present() const; }; template <> struct consume { @@ -617,7 +616,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost { - WINRT_IMPL_AUTO(hstring) ResolveFileResource(param::hstring const& path) const; + auto ResolveFileResource(param::hstring const& path) const; }; template <> struct consume { @@ -626,7 +625,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost2 { - WINRT_IMPL_AUTO(hstring) GetGenericXamlFilePath() const; + auto GetGenericXamlFilePath() const; }; template <> struct consume { @@ -635,7 +634,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ResolveDictionaryResource(winrt::Windows::UI::Xaml::ResourceDictionary const& dictionary, winrt::Windows::Foundation::IInspectable const& dictionaryKey, winrt::Windows::Foundation::IInspectable const& suggestedValue) const; + auto ResolveDictionaryResource(winrt::Windows::UI::Xaml::ResourceDictionary const& dictionary, winrt::Windows::Foundation::IInspectable const& dictionaryKey, winrt::Windows::Foundation::IInspectable const& suggestedValue) const; }; template <> struct consume { @@ -644,10 +643,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) CompleteTimelinesAutomatically() const; - WINRT_IMPL_AUTO(void) CompleteTimelinesAutomatically(bool value) const; - WINRT_IMPL_AUTO(void) SetHost(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterHost const& host) const; - WINRT_IMPL_AUTO(void) NotifyWindowSizeChanged() const; + [[nodiscard]] auto CompleteTimelinesAutomatically() const; + auto CompleteTimelinesAutomatically(bool value) const; + auto SetHost(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterHost const& host) const; + auto NotifyWindowSizeChanged() const; }; template <> struct consume { @@ -656,8 +655,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) GetFlyoutPlacementTargetInfo(winrt::Windows::UI::Xaml::FrameworkElement const& placementTarget, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& preferredPlacement, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode& targetPreferredPlacement, bool& allowFallbacks) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) GetFlyoutPlacement(winrt::Windows::Foundation::Rect const& placementTargetBounds, winrt::Windows::Foundation::Size const& controlSize, winrt::Windows::Foundation::Size const& minControlSize, winrt::Windows::Foundation::Rect const& containerRect, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& targetPreferredPlacement, bool allowFallbacks, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode& chosenPlacement) const; + auto GetFlyoutPlacementTargetInfo(winrt::Windows::UI::Xaml::FrameworkElement const& placementTarget, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& preferredPlacement, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode& targetPreferredPlacement, bool& allowFallbacks) const; + auto GetFlyoutPlacement(winrt::Windows::Foundation::Rect const& placementTargetBounds, winrt::Windows::Foundation::Size const& controlSize, winrt::Windows::Foundation::Size const& minControlSize, winrt::Windows::Foundation::Rect const& containerRect, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& targetPreferredPlacement, bool allowFallbacks, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode& chosenPlacement) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.1.h index 74f4d02a..accedd44 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Hosting_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.2.h index 9f814bbf..16ddc7d6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Hosting_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.0.h index b0f97c27..651c1bba 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Input_0_H @@ -11,15 +11,10 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { template struct __declspec(empty_bases) EventHandler; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; struct Point; struct Rect; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::System { enum class VirtualKey : int32_t; @@ -1417,7 +1412,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IAccessKeyDisplayRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) PressedKeys() const; + [[nodiscard]] auto PressedKeys() const; }; template <> struct consume { @@ -1426,8 +1421,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IAccessKeyInvokedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -1444,12 +1439,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDisplayModeEnabled() const; - WINRT_IMPL_AUTO(winrt::event_token) IsDisplayModeEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto IsDisplayModeEnabled() const; + auto IsDisplayModeEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using IsDisplayModeEnabledChanged_revoker = impl::event_revoker::remove_IsDisplayModeEnabledChanged>; - [[nodiscard]] IsDisplayModeEnabledChanged_revoker IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) IsDisplayModeEnabledChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) ExitDisplayMode() const; + [[nodiscard]] auto IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto IsDisplayModeEnabledChanged(winrt::event_token const& token) const noexcept; + auto ExitDisplayMode() const; }; template <> struct consume { @@ -1458,8 +1453,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AreKeyTipsEnabled() const; - WINRT_IMPL_AUTO(void) AreKeyTipsEnabled(bool value) const; + [[nodiscard]] auto AreKeyTipsEnabled() const; + auto AreKeyTipsEnabled(bool value) const; }; template <> struct consume { @@ -1468,9 +1463,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_ICanExecuteRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Parameter() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanExecute() const; - WINRT_IMPL_AUTO(void) CanExecute(bool value) const; + [[nodiscard]] auto Parameter() const; + [[nodiscard]] auto CanExecute() const; + auto CanExecute(bool value) const; }; template <> struct consume { @@ -1479,10 +1474,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(char16_t) Character() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) KeyStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Character() const; + [[nodiscard]] auto KeyStatus() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -1491,12 +1486,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_ICommand { - WINRT_IMPL_AUTO(winrt::event_token) CanExecuteChanged(winrt::Windows::Foundation::EventHandler const& handler) const; + auto CanExecuteChanged(winrt::Windows::Foundation::EventHandler const& handler) const; using CanExecuteChanged_revoker = impl::event_revoker::remove_CanExecuteChanged>; - [[nodiscard]] CanExecuteChanged_revoker CanExecuteChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CanExecuteChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(bool) CanExecute(winrt::Windows::Foundation::IInspectable const& parameter) const; - WINRT_IMPL_AUTO(void) Execute(winrt::Windows::Foundation::IInspectable const& parameter) const; + [[nodiscard]] auto CanExecuteChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto CanExecuteChanged(winrt::event_token const& token) const noexcept; + auto CanExecute(winrt::Windows::Foundation::IInspectable const& parameter) const; + auto Execute(winrt::Windows::Foundation::IInspectable const& parameter) const; }; template <> struct consume { @@ -1505,9 +1500,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IContextRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(bool) TryGetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo, winrt::Windows::Foundation::Point& point) const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto TryGetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo, winrt::Windows::Foundation::Point& point) const; }; template <> struct consume { @@ -1516,10 +1511,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const; }; template <> struct consume { @@ -1528,7 +1523,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IExecuteRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Parameter() const; + [[nodiscard]] auto Parameter() const; }; template <> struct consume { @@ -1537,14 +1532,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IFindNextElementOptions { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) SearchRoot() const; - WINRT_IMPL_AUTO(void) SearchRoot(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) ExclusionRect() const; - WINRT_IMPL_AUTO(void) ExclusionRect(winrt::Windows::Foundation::Rect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) HintRect() const; - WINRT_IMPL_AUTO(void) HintRect(winrt::Windows::Foundation::Rect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategyOverride) XYFocusNavigationStrategyOverride() const; - WINRT_IMPL_AUTO(void) XYFocusNavigationStrategyOverride(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategyOverride const& value) const; + [[nodiscard]] auto SearchRoot() const; + auto SearchRoot(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto ExclusionRect() const; + auto ExclusionRect(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto HintRect() const; + auto HintRect(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto XYFocusNavigationStrategyOverride() const; + auto XYFocusNavigationStrategyOverride(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategyOverride const& value) const; }; template <> struct consume { @@ -1561,8 +1556,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IFocusManagerGotFocusEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) NewFocusedElement() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CorrelationId() const; + [[nodiscard]] auto NewFocusedElement() const; + [[nodiscard]] auto CorrelationId() const; }; template <> struct consume { @@ -1571,8 +1566,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IFocusManagerLostFocusEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) OldFocusedElement() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CorrelationId() const; + [[nodiscard]] auto OldFocusedElement() const; + [[nodiscard]] auto CorrelationId() const; }; template <> struct consume { @@ -1581,7 +1576,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IFocusManagerStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetFocusedElement() const; + auto GetFocusedElement() const; }; template <> struct consume { @@ -1590,7 +1585,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IFocusManagerStatics2 { - WINRT_IMPL_AUTO(bool) TryMoveFocus(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const; + auto TryMoveFocus(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const; }; template <> struct consume { @@ -1599,8 +1594,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IFocusManagerStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) FindNextFocusableElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) FindNextFocusableElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::Foundation::Rect const& hintRect) const; + auto FindNextFocusableElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const; + auto FindNextFocusableElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::Foundation::Rect const& hintRect) const; }; template <> struct consume { @@ -1609,11 +1604,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IFocusManagerStatics4 { - WINRT_IMPL_AUTO(bool) TryMoveFocus(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) FindNextElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) FindFirstFocusableElement(winrt::Windows::UI::Xaml::DependencyObject const& searchScope) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) FindLastFocusableElement(winrt::Windows::UI::Xaml::DependencyObject const& searchScope) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) FindNextElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const; + auto TryMoveFocus(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const; + auto FindNextElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const; + auto FindFirstFocusableElement(winrt::Windows::UI::Xaml::DependencyObject const& searchScope) const; + auto FindLastFocusableElement(winrt::Windows::UI::Xaml::DependencyObject const& searchScope) const; + auto FindNextElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const; }; template <> struct consume { @@ -1622,9 +1617,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IFocusManagerStatics5 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryFocusAsync(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FocusState const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryMoveFocusAsync(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryMoveFocusAsync(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const; + auto TryFocusAsync(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FocusState const& value) const; + auto TryMoveFocusAsync(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const; + auto TryMoveFocusAsync(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const; }; template <> struct consume { @@ -1633,22 +1628,22 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IFocusManagerStatics6 { - WINRT_IMPL_AUTO(winrt::event_token) GotFocus(winrt::Windows::Foundation::EventHandler const& handler) const; + auto GotFocus(winrt::Windows::Foundation::EventHandler const& handler) const; using GotFocus_revoker = impl::event_revoker::remove_GotFocus>; - [[nodiscard]] GotFocus_revoker GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GotFocus(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LostFocus(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto GotFocus(winrt::event_token const& token) const noexcept; + auto LostFocus(winrt::Windows::Foundation::EventHandler const& handler) const; using LostFocus_revoker = impl::event_revoker::remove_LostFocus>; - [[nodiscard]] LostFocus_revoker LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LostFocus(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) GettingFocus(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto LostFocus(winrt::event_token const& token) const noexcept; + auto GettingFocus(winrt::Windows::Foundation::EventHandler const& handler) const; using GettingFocus_revoker = impl::event_revoker::remove_GettingFocus>; - [[nodiscard]] GettingFocus_revoker GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GettingFocus(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LosingFocus(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto GettingFocus(winrt::event_token const& token) const noexcept; + auto LosingFocus(winrt::Windows::Foundation::EventHandler const& handler) const; using LosingFocus_revoker = impl::event_revoker::remove_LosingFocus>; - [[nodiscard]] LosingFocus_revoker LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LosingFocus(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto LosingFocus(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1657,7 +1652,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IFocusManagerStatics7 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetFocusedElement(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot) const; + auto GetFocusedElement(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot) const; }; template <> struct consume { @@ -1666,7 +1661,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IFocusMovementResult { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Succeeded() const; + [[nodiscard]] auto Succeeded() const; }; template <> struct consume { @@ -1675,16 +1670,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) OldFocusedElement() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) NewFocusedElement() const; - WINRT_IMPL_AUTO(void) NewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusState) FocusState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection) Direction() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind) InputDevice() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; + [[nodiscard]] auto OldFocusedElement() const; + [[nodiscard]] auto NewFocusedElement() const; + auto NewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto FocusState() const; + [[nodiscard]] auto Direction() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto InputDevice() const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; }; template <> struct consume { @@ -1693,8 +1688,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs2 { - WINRT_IMPL_AUTO(bool) TryCancel() const; - WINRT_IMPL_AUTO(bool) TrySetNewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto TryCancel() const; + auto TrySetNewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& element) const; }; template <> struct consume { @@ -1703,7 +1698,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CorrelationId() const; + [[nodiscard]] auto CorrelationId() const; }; template <> struct consume { @@ -1712,11 +1707,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::HoldingState) HoldingState() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto HoldingState() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const; }; template <> struct consume { @@ -1725,10 +1720,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior { - [[nodiscard]] WINRT_IMPL_AUTO(double) DesiredDeceleration() const; - WINRT_IMPL_AUTO(void) DesiredDeceleration(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DesiredExpansion() const; - WINRT_IMPL_AUTO(void) DesiredExpansion(double value) const; + [[nodiscard]] auto DesiredDeceleration() const; + auto DesiredDeceleration(double value) const; + [[nodiscard]] auto DesiredExpansion() const; + auto DesiredExpansion(double value) const; }; template <> struct consume { @@ -1737,10 +1732,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior { - [[nodiscard]] WINRT_IMPL_AUTO(double) DesiredDeceleration() const; - WINRT_IMPL_AUTO(void) DesiredDeceleration(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DesiredRotation() const; - WINRT_IMPL_AUTO(void) DesiredRotation(double value) const; + [[nodiscard]] auto DesiredDeceleration() const; + auto DesiredDeceleration(double value) const; + [[nodiscard]] auto DesiredRotation() const; + auto DesiredRotation(double value) const; }; template <> struct consume { @@ -1749,10 +1744,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior { - [[nodiscard]] WINRT_IMPL_AUTO(double) DesiredDeceleration() const; - WINRT_IMPL_AUTO(void) DesiredDeceleration(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) DesiredDisplacement() const; - WINRT_IMPL_AUTO(void) DesiredDisplacement(double value) const; + [[nodiscard]] auto DesiredDeceleration() const; + auto DesiredDeceleration(double value) const; + [[nodiscard]] auto DesiredDisplacement() const; + auto DesiredDisplacement(double value) const; }; template <> struct consume { @@ -1761,7 +1756,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IInputScope { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Names() const; + [[nodiscard]] auto Names() const; }; template <> struct consume { @@ -1770,8 +1765,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IInputScopeName { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InputScopeNameValue) NameValue() const; - WINRT_IMPL_AUTO(void) NameValue(winrt::Windows::UI::Xaml::Input::InputScopeNameValue const& value) const; + [[nodiscard]] auto NameValue() const; + auto NameValue(winrt::Windows::UI::Xaml::Input::InputScopeNameValue const& value) const; }; template <> struct consume { @@ -1780,7 +1775,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IInputScopeNameFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InputScopeName) CreateInstance(winrt::Windows::UI::Xaml::Input::InputScopeNameValue const& nameValue) const; + auto CreateInstance(winrt::Windows::UI::Xaml::Input::InputScopeNameValue const& nameValue) const; }; template <> struct consume { @@ -1789,10 +1784,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) Key() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) KeyStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Key() const; + [[nodiscard]] auto KeyStatus() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -1801,7 +1796,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) OriginalKey() const; + [[nodiscard]] auto OriginalKey() const; }; template <> struct consume { @@ -1810,7 +1805,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs3 { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const; + [[nodiscard]] auto DeviceId() const; }; template <> struct consume { @@ -1819,18 +1814,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IKeyboardAccelerator { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) Key() const; - WINRT_IMPL_AUTO(void) Key(winrt::Windows::System::VirtualKey const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) Modifiers() const; - WINRT_IMPL_AUTO(void) Modifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; - WINRT_IMPL_AUTO(void) IsEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) ScopeOwner() const; - WINRT_IMPL_AUTO(void) ScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Key() const; + auto Key(winrt::Windows::System::VirtualKey const& value) const; + [[nodiscard]] auto Modifiers() const; + auto Modifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + [[nodiscard]] auto ScopeOwner() const; + auto ScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + auto Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Invoked_revoker = impl::event_revoker::remove_Invoked>; - [[nodiscard]] Invoked_revoker Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Invoked(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Invoked(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -1839,7 +1834,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyboardAccelerator) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -1848,9 +1843,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) Element() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto Element() const; }; template <> struct consume { @@ -1859,7 +1854,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyboardAccelerator) KeyboardAccelerator() const; + [[nodiscard]] auto KeyboardAccelerator() const; }; template <> struct consume { @@ -1868,10 +1863,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ModifiersProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ScopeOwnerProperty() const; + [[nodiscard]] auto KeyProperty() const; + [[nodiscard]] auto ModifiersProperty() const; + [[nodiscard]] auto IsEnabledProperty() const; + [[nodiscard]] auto ScopeOwnerProperty() const; }; template <> struct consume { @@ -1880,16 +1875,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) OldFocusedElement() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) NewFocusedElement() const; - WINRT_IMPL_AUTO(void) NewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusState) FocusState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection) Direction() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind) InputDevice() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; + [[nodiscard]] auto OldFocusedElement() const; + [[nodiscard]] auto NewFocusedElement() const; + auto NewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto FocusState() const; + [[nodiscard]] auto Direction() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto InputDevice() const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; }; template <> struct consume { @@ -1898,8 +1893,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs2 { - WINRT_IMPL_AUTO(bool) TryCancel() const; - WINRT_IMPL_AUTO(bool) TrySetNewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto TryCancel() const; + auto TrySetNewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& element) const; }; template <> struct consume { @@ -1908,7 +1903,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CorrelationId() const; + [[nodiscard]] auto CorrelationId() const; }; template <> struct consume { @@ -1917,14 +1912,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Container() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInertial() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) Cumulative() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) Velocities() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; + [[nodiscard]] auto Container() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto IsInertial() const; + [[nodiscard]] auto Cumulative() const; + [[nodiscard]] auto Velocities() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto PointerDeviceType() const; }; template <> struct consume { @@ -1933,16 +1928,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Container() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInertial() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) Delta() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) Cumulative() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) Velocities() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - WINRT_IMPL_AUTO(void) Complete() const; + [[nodiscard]] auto Container() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto IsInertial() const; + [[nodiscard]] auto Delta() const; + [[nodiscard]] auto Cumulative() const; + [[nodiscard]] auto Velocities() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto PointerDeviceType() const; + auto Complete() const; }; template <> struct consume { @@ -1951,19 +1946,19 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Container() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InertiaExpansionBehavior) ExpansionBehavior() const; - WINRT_IMPL_AUTO(void) ExpansionBehavior(winrt::Windows::UI::Xaml::Input::InertiaExpansionBehavior const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InertiaRotationBehavior) RotationBehavior() const; - WINRT_IMPL_AUTO(void) RotationBehavior(winrt::Windows::UI::Xaml::Input::InertiaRotationBehavior const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InertiaTranslationBehavior) TranslationBehavior() const; - WINRT_IMPL_AUTO(void) TranslationBehavior(winrt::Windows::UI::Xaml::Input::InertiaTranslationBehavior const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) Delta() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) Cumulative() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) Velocities() const; + [[nodiscard]] auto Container() const; + [[nodiscard]] auto ExpansionBehavior() const; + auto ExpansionBehavior(winrt::Windows::UI::Xaml::Input::InertiaExpansionBehavior const& value) const; + [[nodiscard]] auto RotationBehavior() const; + auto RotationBehavior(winrt::Windows::UI::Xaml::Input::InertiaRotationBehavior const& value) const; + [[nodiscard]] auto TranslationBehavior() const; + auto TranslationBehavior(winrt::Windows::UI::Xaml::Input::InertiaTranslationBehavior const& value) const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto Delta() const; + [[nodiscard]] auto Cumulative() const; + [[nodiscard]] auto Velocities() const; }; template <> struct consume { @@ -1972,10 +1967,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IManipulationPivot { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Center() const; - WINRT_IMPL_AUTO(void) Center(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Radius() const; - WINRT_IMPL_AUTO(void) Radius(double value) const; + [[nodiscard]] auto Center() const; + auto Center(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto Radius() const; + auto Radius(double value) const; }; template <> struct consume { @@ -1984,7 +1979,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IManipulationPivotFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ManipulationPivot) CreateInstanceWithCenterAndRadius(winrt::Windows::Foundation::Point const& center, double radius) const; + auto CreateInstanceWithCenterAndRadius(winrt::Windows::Foundation::Point const& center, double radius) const; }; template <> struct consume { @@ -1993,13 +1988,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Container() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Position() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) Cumulative() const; - WINRT_IMPL_AUTO(void) Complete() const; + [[nodiscard]] auto Container() const; + [[nodiscard]] auto Position() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto Cumulative() const; + auto Complete() const; }; template <> struct consume { @@ -2008,7 +2003,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2017,14 +2012,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ManipulationModes) Mode() const; - WINRT_IMPL_AUTO(void) Mode(winrt::Windows::UI::Xaml::Input::ManipulationModes const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) Container() const; - WINRT_IMPL_AUTO(void) Container(winrt::Windows::UI::Xaml::UIElement const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ManipulationPivot) Pivot() const; - WINRT_IMPL_AUTO(void) Pivot(winrt::Windows::UI::Xaml::Input::ManipulationPivot const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Mode() const; + auto Mode(winrt::Windows::UI::Xaml::Input::ManipulationModes const& value) const; + [[nodiscard]] auto Container() const; + auto Container(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto Pivot() const; + auto Pivot(winrt::Windows::UI::Xaml::Input::ManipulationPivot const& value) const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -2033,10 +2028,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection) Direction() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind) InputDevice() const; + [[nodiscard]] auto Direction() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto InputDevice() const; }; template <> struct consume { @@ -2045,10 +2040,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IPointer { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PointerId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInContact() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInRange() const; + [[nodiscard]] auto PointerId() const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto IsInContact() const; + [[nodiscard]] auto IsInRange() const; }; template <> struct consume { @@ -2057,12 +2052,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::Pointer) Pointer() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) KeyModifiers() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPoint) GetCurrentPoint(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) GetIntermediatePoints(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const; + [[nodiscard]] auto Pointer() const; + [[nodiscard]] auto KeyModifiers() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetCurrentPoint(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const; + auto GetIntermediatePoints(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const; }; template <> struct consume { @@ -2071,7 +2066,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGenerated() const; + [[nodiscard]] auto IsGenerated() const; }; template <> struct consume { @@ -2080,10 +2075,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) Key() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) Modifiers() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Key() const; + [[nodiscard]] auto Modifiers() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -2092,10 +2087,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const; }; template <> struct consume { @@ -2104,7 +2099,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IStandardUICommand { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::StandardUICommandKind) Kind() const; + [[nodiscard]] auto Kind() const; }; template <> struct consume { @@ -2113,7 +2108,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IStandardUICommand2 { - WINRT_IMPL_AUTO(void) Kind(winrt::Windows::UI::Xaml::Input::StandardUICommandKind const& value) const; + auto Kind(winrt::Windows::UI::Xaml::Input::StandardUICommandKind const& value) const; }; template <> struct consume { @@ -2122,8 +2117,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IStandardUICommandFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::StandardUICommand) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::StandardUICommand) CreateInstanceWithKind(winrt::Windows::UI::Xaml::Input::StandardUICommandKind const& kind, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithKind(winrt::Windows::UI::Xaml::Input::StandardUICommandKind const& kind, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2132,7 +2127,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IStandardUICommandStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KindProperty() const; + [[nodiscard]] auto KindProperty() const; }; template <> struct consume { @@ -2141,10 +2136,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) PointerDeviceType() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const; + [[nodiscard]] auto PointerDeviceType() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + auto GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const; }; template <> struct consume { @@ -2153,26 +2148,26 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IXamlUICommand { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const; - WINRT_IMPL_AUTO(void) Label(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconSource) IconSource() const; - WINRT_IMPL_AUTO(void) IconSource(winrt::Windows::UI::Xaml::Controls::IconSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) KeyboardAccelerators() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) AccessKey() const; - WINRT_IMPL_AUTO(void) AccessKey(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const; - WINRT_IMPL_AUTO(void) Description(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) Command() const; - WINRT_IMPL_AUTO(void) Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) ExecuteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Label() const; + auto Label(param::hstring const& value) const; + [[nodiscard]] auto IconSource() const; + auto IconSource(winrt::Windows::UI::Xaml::Controls::IconSource const& value) const; + [[nodiscard]] auto KeyboardAccelerators() const; + [[nodiscard]] auto AccessKey() const; + auto AccessKey(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Command() const; + auto Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const; + auto ExecuteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ExecuteRequested_revoker = impl::event_revoker::remove_ExecuteRequested>; - [[nodiscard]] ExecuteRequested_revoker ExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ExecuteRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) CanExecuteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ExecuteRequested(winrt::event_token const& token) const noexcept; + auto CanExecuteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CanExecuteRequested_revoker = impl::event_revoker::remove_CanExecuteRequested>; - [[nodiscard]] CanExecuteRequested_revoker CanExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CanExecuteRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) NotifyCanExecuteChanged() const; + [[nodiscard]] auto CanExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto CanExecuteRequested(winrt::event_token const& token) const noexcept; + auto NotifyCanExecuteChanged() const; }; template <> struct consume { @@ -2181,7 +2176,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IXamlUICommandFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XamlUICommand) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2190,12 +2185,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Input_IXamlUICommandStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LabelProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IconSourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyboardAcceleratorsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AccessKeyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DescriptionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CommandProperty() const; + [[nodiscard]] auto LabelProperty() const; + [[nodiscard]] auto IconSourceProperty() const; + [[nodiscard]] auto KeyboardAcceleratorsProperty() const; + [[nodiscard]] auto AccessKeyProperty() const; + [[nodiscard]] auto DescriptionProperty() const; + [[nodiscard]] auto CommandProperty() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.1.h index b78bed38..6ddf1548 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Input_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.2.h index 5fe5da8f..23dc076d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Input_2_H @@ -154,7 +154,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Input [[nodiscard]] static auto IsDisplayModeEnabled(); static auto IsDisplayModeEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler); using IsDisplayModeEnabledChanged_revoker = impl::factory_event_revoker::remove_IsDisplayModeEnabledChanged>; - [[nodiscard]] static IsDisplayModeEnabledChanged_revoker IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); + [[nodiscard]] static auto IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler); static auto IsDisplayModeEnabledChanged(winrt::event_token const& token); static auto ExitDisplayMode(); [[nodiscard]] static auto AreKeyTipsEnabled(); @@ -217,19 +217,19 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Input static auto TryMoveFocusAsync(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions); static auto GotFocus(winrt::Windows::Foundation::EventHandler const& handler); using GotFocus_revoker = impl::factory_event_revoker::remove_GotFocus>; - [[nodiscard]] static GotFocus_revoker GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto GotFocus(winrt::event_token const& token); static auto LostFocus(winrt::Windows::Foundation::EventHandler const& handler); using LostFocus_revoker = impl::factory_event_revoker::remove_LostFocus>; - [[nodiscard]] static LostFocus_revoker LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto LostFocus(winrt::event_token const& token); static auto GettingFocus(winrt::Windows::Foundation::EventHandler const& handler); using GettingFocus_revoker = impl::factory_event_revoker::remove_GettingFocus>; - [[nodiscard]] static GettingFocus_revoker GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto GettingFocus(winrt::event_token const& token); static auto LosingFocus(winrt::Windows::Foundation::EventHandler const& handler); using LosingFocus_revoker = impl::factory_event_revoker::remove_LosingFocus>; - [[nodiscard]] static LosingFocus_revoker LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto LosingFocus(winrt::event_token const& token); static auto GetFocusedElement(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot); }; diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.0.h index 0a7d59f2..ea521b47 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Interop_0_H @@ -169,7 +169,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Interop_IBindableIterable { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::IBindableIterator) First() const; + auto First() const; auto begin() const; auto end() const; @@ -181,9 +181,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Interop_IBindableIterator { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Current() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HasCurrent() const; - WINRT_IMPL_AUTO(bool) MoveNext() const; + [[nodiscard]] auto Current() const; + [[nodiscard]] auto HasCurrent() const; + auto MoveNext() const; auto& operator++() { @@ -212,10 +212,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Interop_IBindableObservableVector { - WINRT_IMPL_AUTO(winrt::event_token) VectorChanged(winrt::Windows::UI::Xaml::Interop::BindableVectorChangedEventHandler const& handler) const; + auto VectorChanged(winrt::Windows::UI::Xaml::Interop::BindableVectorChangedEventHandler const& handler) const; using VectorChanged_revoker = impl::event_revoker::remove_VectorChanged>; - [[nodiscard]] VectorChanged_revoker VectorChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Interop::BindableVectorChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) VectorChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto VectorChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Interop::BindableVectorChangedEventHandler const& handler) const; + auto VectorChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -224,16 +224,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Interop_IBindableVector { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetAt(uint32_t index) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Size() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::IBindableVectorView) GetView() const; - WINRT_IMPL_AUTO(bool) IndexOf(winrt::Windows::Foundation::IInspectable const& value, uint32_t& index) const; - WINRT_IMPL_AUTO(void) SetAt(uint32_t index, winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(void) InsertAt(uint32_t index, winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(void) RemoveAt(uint32_t index) const; - WINRT_IMPL_AUTO(void) Append(winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(void) RemoveAtEnd() const; - WINRT_IMPL_AUTO(void) Clear() const; + auto GetAt(uint32_t index) const; + [[nodiscard]] auto Size() const; + auto GetView() const; + auto IndexOf(winrt::Windows::Foundation::IInspectable const& value, uint32_t& index) const; + auto SetAt(uint32_t index, winrt::Windows::Foundation::IInspectable const& value) const; + auto InsertAt(uint32_t index, winrt::Windows::Foundation::IInspectable const& value) const; + auto RemoveAt(uint32_t index) const; + auto Append(winrt::Windows::Foundation::IInspectable const& value) const; + auto RemoveAtEnd() const; + auto Clear() const; }; template <> struct consume { @@ -242,9 +242,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Interop_IBindableVectorView { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetAt(uint32_t index) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Size() const; - WINRT_IMPL_AUTO(bool) IndexOf(winrt::Windows::Foundation::IInspectable const& value, uint32_t& index) const; + auto GetAt(uint32_t index) const; + [[nodiscard]] auto Size() const; + auto IndexOf(winrt::Windows::Foundation::IInspectable const& value, uint32_t& index) const; }; template <> struct consume { @@ -253,10 +253,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Interop_INotifyCollectionChanged { - WINRT_IMPL_AUTO(winrt::event_token) CollectionChanged(winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventHandler const& handler) const; + auto CollectionChanged(winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventHandler const& handler) const; using CollectionChanged_revoker = impl::event_revoker::remove_CollectionChanged>; - [[nodiscard]] CollectionChanged_revoker CollectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) CollectionChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto CollectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventHandler const& handler) const; + auto CollectionChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -265,11 +265,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedAction) Action() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::IBindableVector) NewItems() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::IBindableVector) OldItems() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) NewStartingIndex() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) OldStartingIndex() const; + [[nodiscard]] auto Action() const; + [[nodiscard]] auto NewItems() const; + [[nodiscard]] auto OldItems() const; + [[nodiscard]] auto NewStartingIndex() const; + [[nodiscard]] auto OldStartingIndex() const; }; template <> struct consume { @@ -278,7 +278,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventArgs) CreateInstanceWithAllParameters(winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedAction const& action, winrt::Windows::UI::Xaml::Interop::IBindableVector const& newItems, winrt::Windows::UI::Xaml::Interop::IBindableVector const& oldItems, int32_t newIndex, int32_t oldIndex, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithAllParameters(winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedAction const& action, winrt::Windows::UI::Xaml::Interop::IBindableVector const& newItems, winrt::Windows::UI::Xaml::Interop::IBindableVector const& oldItems, int32_t newIndex, int32_t oldIndex, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.1.h index bbf5528a..389f144b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Interop_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.2.h index 888e48da..4c04b766 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Interop_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.0.h index 2f058cb6..ebf6ea63 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Markup_0_H @@ -316,7 +316,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Markup_IComponentConnector { - WINRT_IMPL_AUTO(void) Connect(int32_t connectionId, winrt::Windows::Foundation::IInspectable const& target) const; + auto Connect(int32_t connectionId, winrt::Windows::Foundation::IInspectable const& target) const; }; template <> struct consume { @@ -325,7 +325,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Markup_IComponentConnector2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IComponentConnector) GetBindingConnector(int32_t connectionId, winrt::Windows::Foundation::IInspectable const& target) const; + auto GetBindingConnector(int32_t connectionId, winrt::Windows::Foundation::IInspectable const& target) const; }; template <> struct consume { @@ -334,8 +334,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Markup_IDataTemplateComponent { - WINRT_IMPL_AUTO(void) Recycle() const; - WINRT_IMPL_AUTO(void) ProcessBindings(winrt::Windows::Foundation::IInspectable const& item, int32_t itemIndex, int32_t phase, int32_t& nextPhase) const; + auto Recycle() const; + auto ProcessBindings(winrt::Windows::Foundation::IInspectable const& item, int32_t itemIndex, int32_t phase, int32_t& nextPhase) const; }; template <> struct consume { @@ -352,7 +352,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Markup_IMarkupExtensionFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::MarkupExtension) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -361,7 +361,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Markup_IMarkupExtensionOverrides { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ProvideValue() const; + auto ProvideValue() const; }; template <> struct consume { @@ -378,7 +378,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Markup_IXamlBinaryWriterStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::XamlBinaryWriterErrorInformation) Write(param::vector const& inputStreams, param::vector const& outputStreams, winrt::Windows::UI::Xaml::Markup::IXamlMetadataProvider const& xamlMetadataProvider) const; + auto Write(param::vector const& inputStreams, param::vector const& outputStreams, winrt::Windows::UI::Xaml::Markup::IXamlMetadataProvider const& xamlMetadataProvider) const; }; template <> struct consume { @@ -387,7 +387,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Markup_IXamlBindScopeDiagnostics { - WINRT_IMPL_AUTO(void) Disable(int32_t lineNumber, int32_t columnNumber) const; + auto Disable(int32_t lineNumber, int32_t columnNumber) const; }; template <> struct consume { @@ -404,29 +404,29 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DataTemplateComponentProperty() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IDataTemplateComponent) GetDataTemplateComponent(winrt::Windows::UI::Xaml::DependencyObject const& element) const; - WINRT_IMPL_AUTO(void) SetDataTemplateComponent(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Markup::IDataTemplateComponent const& value) const; - WINRT_IMPL_AUTO(void) SuspendRendering(winrt::Windows::UI::Xaml::UIElement const& target) const; - WINRT_IMPL_AUTO(void) ResumeRendering(winrt::Windows::UI::Xaml::UIElement const& target) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ConvertValue(winrt::Windows::UI::Xaml::Interop::TypeName const& type, winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromString(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, param::hstring const& value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromBoolean(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, bool value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromChar16(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, char16_t value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromDateTime(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::DateTime const& value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromDouble(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, double value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromInt32(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, int32_t value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromUInt32(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, uint32_t value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromInt64(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, int64_t value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromUInt64(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, uint64_t value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromSingle(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, float value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromPoint(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Point const& value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromRect(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Rect const& value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromSize(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Size const& value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromTimeSpan(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::TimeSpan const& value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromByte(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, uint8_t value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromUri(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Uri const& value) const; - WINRT_IMPL_AUTO(void) SetPropertyFromObject(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto DataTemplateComponentProperty() const; + auto GetDataTemplateComponent(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto SetDataTemplateComponent(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Markup::IDataTemplateComponent const& value) const; + auto SuspendRendering(winrt::Windows::UI::Xaml::UIElement const& target) const; + auto ResumeRendering(winrt::Windows::UI::Xaml::UIElement const& target) const; + auto ConvertValue(winrt::Windows::UI::Xaml::Interop::TypeName const& type, winrt::Windows::Foundation::IInspectable const& value) const; + auto SetPropertyFromString(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, param::hstring const& value) const; + auto SetPropertyFromBoolean(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, bool value) const; + auto SetPropertyFromChar16(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, char16_t value) const; + auto SetPropertyFromDateTime(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::DateTime const& value) const; + auto SetPropertyFromDouble(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, double value) const; + auto SetPropertyFromInt32(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, int32_t value) const; + auto SetPropertyFromUInt32(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, uint32_t value) const; + auto SetPropertyFromInt64(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, int64_t value) const; + auto SetPropertyFromUInt64(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, uint64_t value) const; + auto SetPropertyFromSingle(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, float value) const; + auto SetPropertyFromPoint(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Point const& value) const; + auto SetPropertyFromRect(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Rect const& value) const; + auto SetPropertyFromSize(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Size const& value) const; + auto SetPropertyFromTimeSpan(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::TimeSpan const& value) const; + auto SetPropertyFromByte(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, uint8_t value) const; + auto SetPropertyFromUri(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Uri const& value) const; + auto SetPropertyFromObject(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -443,7 +443,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Markup_IXamlMarkupHelperStatics { - WINRT_IMPL_AUTO(void) UnloadObject(winrt::Windows::UI::Xaml::DependencyObject const& element) const; + auto UnloadObject(winrt::Windows::UI::Xaml::DependencyObject const& element) const; }; template <> struct consume { @@ -452,14 +452,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Markup_IXamlMember { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAttachable() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDependencyProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadOnly() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) TargetType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) Type() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetValue(winrt::Windows::Foundation::IInspectable const& instance) const; - WINRT_IMPL_AUTO(void) SetValue(winrt::Windows::Foundation::IInspectable const& instance, winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto IsAttachable() const; + [[nodiscard]] auto IsDependencyProperty() const; + [[nodiscard]] auto IsReadOnly() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto TargetType() const; + [[nodiscard]] auto Type() const; + auto GetValue(winrt::Windows::Foundation::IInspectable const& instance) const; + auto SetValue(winrt::Windows::Foundation::IInspectable const& instance, winrt::Windows::Foundation::IInspectable const& value) const; }; template <> struct consume { @@ -468,9 +468,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Markup_IXamlMetadataProvider { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) GetXamlType(winrt::Windows::UI::Xaml::Interop::TypeName const& type) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) GetXamlType(param::hstring const& fullName) const; - WINRT_IMPL_AUTO(com_array) GetXmlnsDefinitions() const; + auto GetXamlType(winrt::Windows::UI::Xaml::Interop::TypeName const& type) const; + auto GetXamlType(param::hstring const& fullName) const; + auto GetXmlnsDefinitions() const; }; template <> struct consume { @@ -487,8 +487,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Markup_IXamlReaderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Load(param::hstring const& xaml) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) LoadWithInitialTemplateValidation(param::hstring const& xaml) const; + auto Load(param::hstring const& xaml) const; + auto LoadWithInitialTemplateValidation(param::hstring const& xaml) const; }; template <> struct consume { @@ -497,24 +497,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Markup_IXamlType { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) BaseType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlMember) ContentProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FullName() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsArray() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCollection() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConstructible() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDictionary() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMarkupExtension() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBindable() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) ItemType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) KeyType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) UnderlyingType() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ActivateInstance() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateFromString(param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlMember) GetMember(param::hstring const& name) const; - WINRT_IMPL_AUTO(void) AddToVector(winrt::Windows::Foundation::IInspectable const& instance, winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(void) AddToMap(winrt::Windows::Foundation::IInspectable const& instance, winrt::Windows::Foundation::IInspectable const& key, winrt::Windows::Foundation::IInspectable const& value) const; - WINRT_IMPL_AUTO(void) RunInitializer() const; + [[nodiscard]] auto BaseType() const; + [[nodiscard]] auto ContentProperty() const; + [[nodiscard]] auto FullName() const; + [[nodiscard]] auto IsArray() const; + [[nodiscard]] auto IsCollection() const; + [[nodiscard]] auto IsConstructible() const; + [[nodiscard]] auto IsDictionary() const; + [[nodiscard]] auto IsMarkupExtension() const; + [[nodiscard]] auto IsBindable() const; + [[nodiscard]] auto ItemType() const; + [[nodiscard]] auto KeyType() const; + [[nodiscard]] auto UnderlyingType() const; + auto ActivateInstance() const; + auto CreateFromString(param::hstring const& value) const; + auto GetMember(param::hstring const& name) const; + auto AddToVector(winrt::Windows::Foundation::IInspectable const& instance, winrt::Windows::Foundation::IInspectable const& value) const; + auto AddToMap(winrt::Windows::Foundation::IInspectable const& instance, winrt::Windows::Foundation::IInspectable const& key, winrt::Windows::Foundation::IInspectable const& value) const; + auto RunInitializer() const; }; template <> struct consume { @@ -523,7 +523,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Markup_IXamlType2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) BoxedType() const; + [[nodiscard]] auto BoxedType() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.1.h index 8a41e43e..040f52b5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Markup_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.2.h index f2e20647..52a45f7b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Markup_2_H @@ -99,7 +99,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Markup D const& shim() const noexcept { return *static_cast(this); } public: using IMarkupExtensionOverrides = winrt::Windows::UI::Xaml::Markup::IMarkupExtensionOverrides; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ProvideValue() const; + auto ProvideValue() const; }; } #endif diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.0.h index 80541253..c96246dd 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_0_H @@ -18,8 +18,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { - template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; template struct __declspec(empty_bases) IVector; } WINRT_EXPORT namespace winrt::Windows::Media::Playback @@ -53,10 +51,6 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml struct Window; struct XamlRoot; } -WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls::Primitives -{ - struct Popup; -} WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media::Media3D { struct Matrix3D; @@ -2234,16 +2228,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IAcrylicBrush { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AcrylicBackgroundSource) BackgroundSource() const; - WINRT_IMPL_AUTO(void) BackgroundSource(winrt::Windows::UI::Xaml::Media::AcrylicBackgroundSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) TintColor() const; - WINRT_IMPL_AUTO(void) TintColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) TintOpacity() const; - WINRT_IMPL_AUTO(void) TintOpacity(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) TintTransitionDuration() const; - WINRT_IMPL_AUTO(void) TintTransitionDuration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AlwaysUseFallback() const; - WINRT_IMPL_AUTO(void) AlwaysUseFallback(bool value) const; + [[nodiscard]] auto BackgroundSource() const; + auto BackgroundSource(winrt::Windows::UI::Xaml::Media::AcrylicBackgroundSource const& value) const; + [[nodiscard]] auto TintColor() const; + auto TintColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto TintOpacity() const; + auto TintOpacity(double value) const; + [[nodiscard]] auto TintTransitionDuration() const; + auto TintTransitionDuration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto AlwaysUseFallback() const; + auto AlwaysUseFallback(bool value) const; }; template <> struct consume { @@ -2252,8 +2246,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IAcrylicBrush2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TintLuminosityOpacity() const; - WINRT_IMPL_AUTO(void) TintLuminosityOpacity(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto TintLuminosityOpacity() const; + auto TintLuminosityOpacity(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -2262,7 +2256,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IAcrylicBrushFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AcrylicBrush) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2271,11 +2265,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BackgroundSourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TintColorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TintOpacityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TintTransitionDurationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlwaysUseFallbackProperty() const; + [[nodiscard]] auto BackgroundSourceProperty() const; + [[nodiscard]] auto TintColorProperty() const; + [[nodiscard]] auto TintOpacityProperty() const; + [[nodiscard]] auto TintTransitionDurationProperty() const; + [[nodiscard]] auto AlwaysUseFallbackProperty() const; }; template <> struct consume { @@ -2284,7 +2278,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TintLuminosityOpacityProperty() const; + [[nodiscard]] auto TintLuminosityOpacityProperty() const; }; template <> struct consume { @@ -2293,16 +2287,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IArcSegment { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Point() const; - WINRT_IMPL_AUTO(void) Point(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) Size() const; - WINRT_IMPL_AUTO(void) Size(winrt::Windows::Foundation::Size const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RotationAngle() const; - WINRT_IMPL_AUTO(void) RotationAngle(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLargeArc() const; - WINRT_IMPL_AUTO(void) IsLargeArc(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SweepDirection) SweepDirection() const; - WINRT_IMPL_AUTO(void) SweepDirection(winrt::Windows::UI::Xaml::Media::SweepDirection const& value) const; + [[nodiscard]] auto Point() const; + auto Point(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto Size() const; + auto Size(winrt::Windows::Foundation::Size const& value) const; + [[nodiscard]] auto RotationAngle() const; + auto RotationAngle(double value) const; + [[nodiscard]] auto IsLargeArc() const; + auto IsLargeArc(bool value) const; + [[nodiscard]] auto SweepDirection() const; + auto SweepDirection(winrt::Windows::UI::Xaml::Media::SweepDirection const& value) const; }; template <> struct consume { @@ -2311,11 +2305,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IArcSegmentStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SizeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RotationAngleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsLargeArcProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SweepDirectionProperty() const; + [[nodiscard]] auto PointProperty() const; + [[nodiscard]] auto SizeProperty() const; + [[nodiscard]] auto RotationAngleProperty() const; + [[nodiscard]] auto IsLargeArcProperty() const; + [[nodiscard]] auto SweepDirectionProperty() const; }; template <> struct consume { @@ -2324,12 +2318,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IBezierSegment { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Point1() const; - WINRT_IMPL_AUTO(void) Point1(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Point2() const; - WINRT_IMPL_AUTO(void) Point2(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Point3() const; - WINRT_IMPL_AUTO(void) Point3(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto Point1() const; + auto Point1(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto Point2() const; + auto Point2(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto Point3() const; + auto Point3(winrt::Windows::Foundation::Point const& value) const; }; template <> struct consume { @@ -2338,9 +2332,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IBezierSegmentStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Point1Property() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Point2Property() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Point3Property() const; + [[nodiscard]] auto Point1Property() const; + [[nodiscard]] auto Point2Property() const; + [[nodiscard]] auto Point3Property() const; }; template <> struct consume { @@ -2357,12 +2351,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IBrush { - [[nodiscard]] WINRT_IMPL_AUTO(double) Opacity() const; - WINRT_IMPL_AUTO(void) Opacity(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Transform) Transform() const; - WINRT_IMPL_AUTO(void) Transform(winrt::Windows::UI::Xaml::Media::Transform const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Transform) RelativeTransform() const; - WINRT_IMPL_AUTO(void) RelativeTransform(winrt::Windows::UI::Xaml::Media::Transform const& value) const; + [[nodiscard]] auto Opacity() const; + auto Opacity(double value) const; + [[nodiscard]] auto Transform() const; + auto Transform(winrt::Windows::UI::Xaml::Media::Transform const& value) const; + [[nodiscard]] auto RelativeTransform() const; + auto RelativeTransform(winrt::Windows::UI::Xaml::Media::Transform const& value) const; }; template <> struct consume { @@ -2371,7 +2365,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IBrushFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2380,7 +2374,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IBrushOverrides2 { - WINRT_IMPL_AUTO(void) PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const; + auto PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const; }; template <> struct consume { @@ -2389,9 +2383,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IBrushStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OpacityProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TransformProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RelativeTransformProperty() const; + [[nodiscard]] auto OpacityProperty() const; + [[nodiscard]] auto TransformProperty() const; + [[nodiscard]] auto RelativeTransformProperty() const; }; template <> struct consume { @@ -2408,7 +2402,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ICacheModeFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::CacheMode) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2417,24 +2411,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ICompositeTransform { - [[nodiscard]] WINRT_IMPL_AUTO(double) CenterX() const; - WINRT_IMPL_AUTO(void) CenterX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CenterY() const; - WINRT_IMPL_AUTO(void) CenterY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ScaleX() const; - WINRT_IMPL_AUTO(void) ScaleX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ScaleY() const; - WINRT_IMPL_AUTO(void) ScaleY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SkewX() const; - WINRT_IMPL_AUTO(void) SkewX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SkewY() const; - WINRT_IMPL_AUTO(void) SkewY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Rotation() const; - WINRT_IMPL_AUTO(void) Rotation(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) TranslateX() const; - WINRT_IMPL_AUTO(void) TranslateX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) TranslateY() const; - WINRT_IMPL_AUTO(void) TranslateY(double value) const; + [[nodiscard]] auto CenterX() const; + auto CenterX(double value) const; + [[nodiscard]] auto CenterY() const; + auto CenterY(double value) const; + [[nodiscard]] auto ScaleX() const; + auto ScaleX(double value) const; + [[nodiscard]] auto ScaleY() const; + auto ScaleY(double value) const; + [[nodiscard]] auto SkewX() const; + auto SkewX(double value) const; + [[nodiscard]] auto SkewY() const; + auto SkewY(double value) const; + [[nodiscard]] auto Rotation() const; + auto Rotation(double value) const; + [[nodiscard]] auto TranslateX() const; + auto TranslateX(double value) const; + [[nodiscard]] auto TranslateY() const; + auto TranslateY(double value) const; }; template <> struct consume { @@ -2443,15 +2437,15 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ICompositeTransformStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CenterXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CenterYProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ScaleXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ScaleYProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SkewXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SkewYProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RotationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TranslateXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TranslateYProperty() const; + [[nodiscard]] auto CenterXProperty() const; + [[nodiscard]] auto CenterYProperty() const; + [[nodiscard]] auto ScaleXProperty() const; + [[nodiscard]] auto ScaleYProperty() const; + [[nodiscard]] auto SkewXProperty() const; + [[nodiscard]] auto SkewYProperty() const; + [[nodiscard]] auto RotationProperty() const; + [[nodiscard]] auto TranslateXProperty() const; + [[nodiscard]] auto TranslateYProperty() const; }; template <> struct consume { @@ -2468,14 +2462,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ICompositionTargetStatics { - WINRT_IMPL_AUTO(winrt::event_token) Rendering(winrt::Windows::Foundation::EventHandler const& handler) const; + auto Rendering(winrt::Windows::Foundation::EventHandler const& handler) const; using Rendering_revoker = impl::event_revoker::remove_Rendering>; - [[nodiscard]] Rendering_revoker Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Rendering(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) SurfaceContentsLost(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Rendering(winrt::event_token const& token) const noexcept; + auto SurfaceContentsLost(winrt::Windows::Foundation::EventHandler const& handler) const; using SurfaceContentsLost_revoker = impl::event_revoker::remove_SurfaceContentsLost>; - [[nodiscard]] SurfaceContentsLost_revoker SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) SurfaceContentsLost(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto SurfaceContentsLost(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2484,10 +2478,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3 { - WINRT_IMPL_AUTO(winrt::event_token) Rendered(winrt::Windows::Foundation::EventHandler const& handler) const; + auto Rendered(winrt::Windows::Foundation::EventHandler const& handler) const; using Rendered_revoker = impl::event_revoker::remove_Rendered>; - [[nodiscard]] Rendered_revoker Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Rendered(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Rendered(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2496,12 +2490,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IEllipseGeometry { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Center() const; - WINRT_IMPL_AUTO(void) Center(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RadiusX() const; - WINRT_IMPL_AUTO(void) RadiusX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RadiusY() const; - WINRT_IMPL_AUTO(void) RadiusY(double value) const; + [[nodiscard]] auto Center() const; + auto Center(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto RadiusX() const; + auto RadiusX(double value) const; + [[nodiscard]] auto RadiusY() const; + auto RadiusY(double value) const; }; template <> struct consume { @@ -2510,9 +2504,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IEllipseGeometryStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CenterProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RadiusXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RadiusYProperty() const; + [[nodiscard]] auto CenterProperty() const; + [[nodiscard]] auto RadiusXProperty() const; + [[nodiscard]] auto RadiusYProperty() const; }; template <> struct consume { @@ -2521,7 +2515,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IFontFamily { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Source() const; + [[nodiscard]] auto Source() const; }; template <> struct consume { @@ -2530,7 +2524,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IFontFamilyFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) CreateInstanceWithName(param::hstring const& familyName, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithName(param::hstring const& familyName, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2539,7 +2533,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IFontFamilyStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) XamlAutoFontFamily() const; + [[nodiscard]] auto XamlAutoFontFamily() const; }; template <> struct consume { @@ -2548,10 +2542,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IGeneralTransform { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeneralTransform) Inverse() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) TransformPoint(winrt::Windows::Foundation::Point const& point) const; - WINRT_IMPL_AUTO(bool) TryTransform(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) TransformBounds(winrt::Windows::Foundation::Rect const& rect) const; + [[nodiscard]] auto Inverse() const; + auto TransformPoint(winrt::Windows::Foundation::Point const& point) const; + auto TryTransform(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const; + auto TransformBounds(winrt::Windows::Foundation::Rect const& rect) const; }; template <> struct consume { @@ -2560,7 +2554,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IGeneralTransformFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeneralTransform) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2569,9 +2563,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IGeneralTransformOverrides { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeneralTransform) InverseCore() const; - WINRT_IMPL_AUTO(bool) TryTransformCore(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) TransformBoundsCore(winrt::Windows::Foundation::Rect const& rect) const; + [[nodiscard]] auto InverseCore() const; + auto TryTransformCore(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const; + auto TransformBoundsCore(winrt::Windows::Foundation::Rect const& rect) const; }; template <> struct consume { @@ -2580,9 +2574,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IGeometry { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Transform) Transform() const; - WINRT_IMPL_AUTO(void) Transform(winrt::Windows::UI::Xaml::Media::Transform const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Bounds() const; + [[nodiscard]] auto Transform() const; + auto Transform(winrt::Windows::UI::Xaml::Media::Transform const& value) const; + [[nodiscard]] auto Bounds() const; }; template <> struct consume { @@ -2599,10 +2593,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IGeometryGroup { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FillRule) FillRule() const; - WINRT_IMPL_AUTO(void) FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeometryCollection) Children() const; - WINRT_IMPL_AUTO(void) Children(winrt::Windows::UI::Xaml::Media::GeometryCollection const& value) const; + [[nodiscard]] auto FillRule() const; + auto FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const; + [[nodiscard]] auto Children() const; + auto Children(winrt::Windows::UI::Xaml::Media::GeometryCollection const& value) const; }; template <> struct consume { @@ -2611,8 +2605,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IGeometryGroupStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FillRuleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ChildrenProperty() const; + [[nodiscard]] auto FillRuleProperty() const; + [[nodiscard]] auto ChildrenProperty() const; }; template <> struct consume { @@ -2621,9 +2615,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IGeometryStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Geometry) Empty() const; - [[nodiscard]] WINRT_IMPL_AUTO(double) StandardFlatteningTolerance() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TransformProperty() const; + [[nodiscard]] auto Empty() const; + [[nodiscard]] auto StandardFlatteningTolerance() const; + [[nodiscard]] auto TransformProperty() const; }; template <> struct consume { @@ -2632,14 +2626,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IGradientBrush { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GradientSpreadMethod) SpreadMethod() const; - WINRT_IMPL_AUTO(void) SpreadMethod(winrt::Windows::UI::Xaml::Media::GradientSpreadMethod const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::BrushMappingMode) MappingMode() const; - WINRT_IMPL_AUTO(void) MappingMode(winrt::Windows::UI::Xaml::Media::BrushMappingMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ColorInterpolationMode) ColorInterpolationMode() const; - WINRT_IMPL_AUTO(void) ColorInterpolationMode(winrt::Windows::UI::Xaml::Media::ColorInterpolationMode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GradientStopCollection) GradientStops() const; - WINRT_IMPL_AUTO(void) GradientStops(winrt::Windows::UI::Xaml::Media::GradientStopCollection const& value) const; + [[nodiscard]] auto SpreadMethod() const; + auto SpreadMethod(winrt::Windows::UI::Xaml::Media::GradientSpreadMethod const& value) const; + [[nodiscard]] auto MappingMode() const; + auto MappingMode(winrt::Windows::UI::Xaml::Media::BrushMappingMode const& value) const; + [[nodiscard]] auto ColorInterpolationMode() const; + auto ColorInterpolationMode(winrt::Windows::UI::Xaml::Media::ColorInterpolationMode const& value) const; + [[nodiscard]] auto GradientStops() const; + auto GradientStops(winrt::Windows::UI::Xaml::Media::GradientStopCollection const& value) const; }; template <> struct consume { @@ -2648,7 +2642,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IGradientBrushFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GradientBrush) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2657,10 +2651,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IGradientBrushStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SpreadMethodProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MappingModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ColorInterpolationModeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GradientStopsProperty() const; + [[nodiscard]] auto SpreadMethodProperty() const; + [[nodiscard]] auto MappingModeProperty() const; + [[nodiscard]] auto ColorInterpolationModeProperty() const; + [[nodiscard]] auto GradientStopsProperty() const; }; template <> struct consume { @@ -2669,10 +2663,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IGradientStop { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Offset() const; - WINRT_IMPL_AUTO(void) Offset(double value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Offset() const; + auto Offset(double value) const; }; template <> struct consume { @@ -2681,8 +2675,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IGradientStopStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ColorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OffsetProperty() const; + [[nodiscard]] auto ColorProperty() const; + [[nodiscard]] auto OffsetProperty() const; }; template <> struct consume { @@ -2691,16 +2685,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IImageBrush { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) ImageSource() const; - WINRT_IMPL_AUTO(void) ImageSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) ImageFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const; + [[nodiscard]] auto ImageSource() const; + auto ImageSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const; + auto ImageFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const; using ImageFailed_revoker = impl::event_revoker::remove_ImageFailed>; - [[nodiscard]] ImageFailed_revoker ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ImageFailed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ImageOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const; + auto ImageFailed(winrt::event_token const& token) const noexcept; + auto ImageOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using ImageOpened_revoker = impl::event_revoker::remove_ImageOpened>; - [[nodiscard]] ImageOpened_revoker ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ImageOpened(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto ImageOpened(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2709,7 +2703,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IImageBrushStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ImageSourceProperty() const; + [[nodiscard]] auto ImageSourceProperty() const; }; template <> struct consume { @@ -2734,10 +2728,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ILineGeometry { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) StartPoint() const; - WINRT_IMPL_AUTO(void) StartPoint(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) EndPoint() const; - WINRT_IMPL_AUTO(void) EndPoint(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto StartPoint() const; + auto StartPoint(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto EndPoint() const; + auto EndPoint(winrt::Windows::Foundation::Point const& value) const; }; template <> struct consume { @@ -2746,8 +2740,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ILineGeometryStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StartPointProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EndPointProperty() const; + [[nodiscard]] auto StartPointProperty() const; + [[nodiscard]] auto EndPointProperty() const; }; template <> struct consume { @@ -2756,8 +2750,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ILineSegment { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Point() const; - WINRT_IMPL_AUTO(void) Point(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto Point() const; + auto Point(winrt::Windows::Foundation::Point const& value) const; }; template <> struct consume { @@ -2766,7 +2760,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ILineSegmentStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointProperty() const; + [[nodiscard]] auto PointProperty() const; }; template <> struct consume { @@ -2775,10 +2769,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ILinearGradientBrush { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) StartPoint() const; - WINRT_IMPL_AUTO(void) StartPoint(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) EndPoint() const; - WINRT_IMPL_AUTO(void) EndPoint(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto StartPoint() const; + auto StartPoint(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto EndPoint() const; + auto EndPoint(winrt::Windows::Foundation::Point const& value) const; }; template <> struct consume { @@ -2787,7 +2781,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ILinearGradientBrushFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LinearGradientBrush) CreateInstanceWithGradientStopCollectionAndAngle(winrt::Windows::UI::Xaml::Media::GradientStopCollection const& gradientStopCollection, double angle) const; + auto CreateInstanceWithGradientStopCollectionAndAngle(winrt::Windows::UI::Xaml::Media::GradientStopCollection const& gradientStopCollection, double angle) const; }; template <> struct consume { @@ -2796,8 +2790,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ILinearGradientBrushStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StartPointProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EndPointProperty() const; + [[nodiscard]] auto StartPointProperty() const; + [[nodiscard]] auto EndPointProperty() const; }; template <> struct consume { @@ -2806,7 +2800,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ILoadedImageSourceLoadCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LoadedImageSourceLoadStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -2815,13 +2809,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ILoadedImageSurface { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) DecodedPhysicalSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) DecodedSize() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) NaturalSize() const; - WINRT_IMPL_AUTO(winrt::event_token) LoadCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DecodedPhysicalSize() const; + [[nodiscard]] auto DecodedSize() const; + [[nodiscard]] auto NaturalSize() const; + auto LoadCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LoadCompleted_revoker = impl::event_revoker::remove_LoadCompleted>; - [[nodiscard]] LoadCompleted_revoker LoadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LoadCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto LoadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LoadCompleted(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -2830,10 +2824,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LoadedImageSurface) StartLoadFromUri(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Size const& desiredMaxSize) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LoadedImageSurface) StartLoadFromUri(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LoadedImageSurface) StartLoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Foundation::Size const& desiredMaxSize) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LoadedImageSurface) StartLoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto StartLoadFromUri(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Size const& desiredMaxSize) const; + auto StartLoadFromUri(winrt::Windows::Foundation::Uri const& uri) const; + auto StartLoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Foundation::Size const& desiredMaxSize) const; + auto StartLoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; }; template <> struct consume { @@ -2842,8 +2836,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IMatrix3DProjection { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) ProjectionMatrix() const; - WINRT_IMPL_AUTO(void) ProjectionMatrix(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& value) const; + [[nodiscard]] auto ProjectionMatrix() const; + auto ProjectionMatrix(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& value) const; }; template <> struct consume { @@ -2852,7 +2846,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IMatrix3DProjectionStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ProjectionMatrixProperty() const; + [[nodiscard]] auto ProjectionMatrixProperty() const; }; template <> struct consume { @@ -2869,10 +2863,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IMatrixHelperStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Matrix) Identity() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Matrix) FromElements(double m11, double m12, double m21, double m22, double offsetX, double offsetY) const; - WINRT_IMPL_AUTO(bool) GetIsIdentity(winrt::Windows::UI::Xaml::Media::Matrix const& target) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Transform(winrt::Windows::UI::Xaml::Media::Matrix const& target, winrt::Windows::Foundation::Point const& point) const; + [[nodiscard]] auto Identity() const; + auto FromElements(double m11, double m12, double m21, double m22, double offsetX, double offsetY) const; + auto GetIsIdentity(winrt::Windows::UI::Xaml::Media::Matrix const& target) const; + auto Transform(winrt::Windows::UI::Xaml::Media::Matrix const& target, winrt::Windows::Foundation::Point const& point) const; }; template <> struct consume { @@ -2881,8 +2875,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IMatrixTransform { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Matrix) Matrix() const; - WINRT_IMPL_AUTO(void) Matrix(winrt::Windows::UI::Xaml::Media::Matrix const& value) const; + [[nodiscard]] auto Matrix() const; + auto Matrix(winrt::Windows::UI::Xaml::Media::Matrix const& value) const; }; template <> struct consume { @@ -2891,7 +2885,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IMatrixTransformStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) MatrixProperty() const; + [[nodiscard]] auto MatrixProperty() const; }; template <> struct consume { @@ -2900,8 +2894,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IMediaTransportControlsThumbnailRequestedEventArgs { - WINRT_IMPL_AUTO(void) SetThumbnailImage(winrt::Windows::Storage::Streams::IInputStream const& source) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + auto SetThumbnailImage(winrt::Windows::Storage::Streams::IInputStream const& source) const; + auto GetDeferral() const; }; template <> struct consume { @@ -2910,7 +2904,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IPartialMediaFailureDetectedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::FailedMediaStreamKind) StreamKind() const; + [[nodiscard]] auto StreamKind() const; }; template <> struct consume { @@ -2919,7 +2913,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IPartialMediaFailureDetectedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { @@ -2928,14 +2922,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IPathFigure { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PathSegmentCollection) Segments() const; - WINRT_IMPL_AUTO(void) Segments(winrt::Windows::UI::Xaml::Media::PathSegmentCollection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) StartPoint() const; - WINRT_IMPL_AUTO(void) StartPoint(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsClosed() const; - WINRT_IMPL_AUTO(void) IsClosed(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFilled() const; - WINRT_IMPL_AUTO(void) IsFilled(bool value) const; + [[nodiscard]] auto Segments() const; + auto Segments(winrt::Windows::UI::Xaml::Media::PathSegmentCollection const& value) const; + [[nodiscard]] auto StartPoint() const; + auto StartPoint(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto IsClosed() const; + auto IsClosed(bool value) const; + [[nodiscard]] auto IsFilled() const; + auto IsFilled(bool value) const; }; template <> struct consume { @@ -2944,10 +2938,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IPathFigureStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SegmentsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StartPointProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsClosedProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsFilledProperty() const; + [[nodiscard]] auto SegmentsProperty() const; + [[nodiscard]] auto StartPointProperty() const; + [[nodiscard]] auto IsClosedProperty() const; + [[nodiscard]] auto IsFilledProperty() const; }; template <> struct consume { @@ -2956,10 +2950,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IPathGeometry { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FillRule) FillRule() const; - WINRT_IMPL_AUTO(void) FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PathFigureCollection) Figures() const; - WINRT_IMPL_AUTO(void) Figures(winrt::Windows::UI::Xaml::Media::PathFigureCollection const& value) const; + [[nodiscard]] auto FillRule() const; + auto FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const; + [[nodiscard]] auto Figures() const; + auto Figures(winrt::Windows::UI::Xaml::Media::PathFigureCollection const& value) const; }; template <> struct consume { @@ -2968,8 +2962,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IPathGeometryStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FillRuleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FiguresProperty() const; + [[nodiscard]] auto FillRuleProperty() const; + [[nodiscard]] auto FiguresProperty() const; }; template <> struct consume { @@ -2994,31 +2988,31 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IPlaneProjection { - [[nodiscard]] WINRT_IMPL_AUTO(double) LocalOffsetX() const; - WINRT_IMPL_AUTO(void) LocalOffsetX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) LocalOffsetY() const; - WINRT_IMPL_AUTO(void) LocalOffsetY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) LocalOffsetZ() const; - WINRT_IMPL_AUTO(void) LocalOffsetZ(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RotationX() const; - WINRT_IMPL_AUTO(void) RotationX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RotationY() const; - WINRT_IMPL_AUTO(void) RotationY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RotationZ() const; - WINRT_IMPL_AUTO(void) RotationZ(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CenterOfRotationX() const; - WINRT_IMPL_AUTO(void) CenterOfRotationX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CenterOfRotationY() const; - WINRT_IMPL_AUTO(void) CenterOfRotationY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CenterOfRotationZ() const; - WINRT_IMPL_AUTO(void) CenterOfRotationZ(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) GlobalOffsetX() const; - WINRT_IMPL_AUTO(void) GlobalOffsetX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) GlobalOffsetY() const; - WINRT_IMPL_AUTO(void) GlobalOffsetY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) GlobalOffsetZ() const; - WINRT_IMPL_AUTO(void) GlobalOffsetZ(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) ProjectionMatrix() const; + [[nodiscard]] auto LocalOffsetX() const; + auto LocalOffsetX(double value) const; + [[nodiscard]] auto LocalOffsetY() const; + auto LocalOffsetY(double value) const; + [[nodiscard]] auto LocalOffsetZ() const; + auto LocalOffsetZ(double value) const; + [[nodiscard]] auto RotationX() const; + auto RotationX(double value) const; + [[nodiscard]] auto RotationY() const; + auto RotationY(double value) const; + [[nodiscard]] auto RotationZ() const; + auto RotationZ(double value) const; + [[nodiscard]] auto CenterOfRotationX() const; + auto CenterOfRotationX(double value) const; + [[nodiscard]] auto CenterOfRotationY() const; + auto CenterOfRotationY(double value) const; + [[nodiscard]] auto CenterOfRotationZ() const; + auto CenterOfRotationZ(double value) const; + [[nodiscard]] auto GlobalOffsetX() const; + auto GlobalOffsetX(double value) const; + [[nodiscard]] auto GlobalOffsetY() const; + auto GlobalOffsetY(double value) const; + [[nodiscard]] auto GlobalOffsetZ() const; + auto GlobalOffsetZ(double value) const; + [[nodiscard]] auto ProjectionMatrix() const; }; template <> struct consume { @@ -3027,19 +3021,19 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LocalOffsetXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LocalOffsetYProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) LocalOffsetZProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RotationXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RotationYProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RotationZProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CenterOfRotationXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CenterOfRotationYProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CenterOfRotationZProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GlobalOffsetXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GlobalOffsetYProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) GlobalOffsetZProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ProjectionMatrixProperty() const; + [[nodiscard]] auto LocalOffsetXProperty() const; + [[nodiscard]] auto LocalOffsetYProperty() const; + [[nodiscard]] auto LocalOffsetZProperty() const; + [[nodiscard]] auto RotationXProperty() const; + [[nodiscard]] auto RotationYProperty() const; + [[nodiscard]] auto RotationZProperty() const; + [[nodiscard]] auto CenterOfRotationXProperty() const; + [[nodiscard]] auto CenterOfRotationYProperty() const; + [[nodiscard]] auto CenterOfRotationZProperty() const; + [[nodiscard]] auto GlobalOffsetXProperty() const; + [[nodiscard]] auto GlobalOffsetYProperty() const; + [[nodiscard]] auto GlobalOffsetZProperty() const; + [[nodiscard]] auto ProjectionMatrixProperty() const; }; template <> struct consume { @@ -3048,8 +3042,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IPolyBezierSegment { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PointCollection) Points() const; - WINRT_IMPL_AUTO(void) Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const; + [[nodiscard]] auto Points() const; + auto Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const; }; template <> struct consume { @@ -3058,7 +3052,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IPolyBezierSegmentStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointsProperty() const; + [[nodiscard]] auto PointsProperty() const; }; template <> struct consume { @@ -3067,8 +3061,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IPolyLineSegment { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PointCollection) Points() const; - WINRT_IMPL_AUTO(void) Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const; + [[nodiscard]] auto Points() const; + auto Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const; }; template <> struct consume { @@ -3077,7 +3071,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IPolyLineSegmentStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointsProperty() const; + [[nodiscard]] auto PointsProperty() const; }; template <> struct consume { @@ -3086,8 +3080,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegment { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PointCollection) Points() const; - WINRT_IMPL_AUTO(void) Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const; + [[nodiscard]] auto Points() const; + auto Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const; }; template <> struct consume { @@ -3096,7 +3090,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegmentStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointsProperty() const; + [[nodiscard]] auto PointsProperty() const; }; template <> struct consume { @@ -3113,7 +3107,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IProjectionFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Projection) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3122,10 +3116,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Point1() const; - WINRT_IMPL_AUTO(void) Point1(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Point2() const; - WINRT_IMPL_AUTO(void) Point2(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto Point1() const; + auto Point1(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto Point2() const; + auto Point2(winrt::Windows::Foundation::Point const& value) const; }; template <> struct consume { @@ -3134,8 +3128,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IQuadraticBezierSegmentStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Point1Property() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Point2Property() const; + [[nodiscard]] auto Point1Property() const; + [[nodiscard]] auto Point2Property() const; }; template <> struct consume { @@ -3152,8 +3146,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IRectangleGeometry { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Rect() const; - WINRT_IMPL_AUTO(void) Rect(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto Rect() const; + auto Rect(winrt::Windows::Foundation::Rect const& value) const; }; template <> struct consume { @@ -3162,7 +3156,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IRectangleGeometryStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RectProperty() const; + [[nodiscard]] auto RectProperty() const; }; template <> struct consume { @@ -3171,7 +3165,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IRenderedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) FrameDuration() const; + [[nodiscard]] auto FrameDuration() const; }; template <> struct consume { @@ -3180,7 +3174,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IRenderingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RenderingTime() const; + [[nodiscard]] auto RenderingTime() const; }; template <> struct consume { @@ -3197,7 +3191,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IRevealBackgroundBrushFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::RevealBackgroundBrush) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3214,7 +3208,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IRevealBorderBrushFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::RevealBorderBrush) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3223,12 +3217,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IRevealBrush { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ApplicationTheme) TargetTheme() const; - WINRT_IMPL_AUTO(void) TargetTheme(winrt::Windows::UI::Xaml::ApplicationTheme const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AlwaysUseFallback() const; - WINRT_IMPL_AUTO(void) AlwaysUseFallback(bool value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto TargetTheme() const; + auto TargetTheme(winrt::Windows::UI::Xaml::ApplicationTheme const& value) const; + [[nodiscard]] auto AlwaysUseFallback() const; + auto AlwaysUseFallback(bool value) const; }; template <> struct consume { @@ -3237,7 +3231,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IRevealBrushFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::RevealBrush) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3246,12 +3240,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IRevealBrushStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ColorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetThemeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlwaysUseFallbackProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StateProperty() const; - WINRT_IMPL_AUTO(void) SetState(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Xaml::Media::RevealBrushState const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::RevealBrushState) GetState(winrt::Windows::UI::Xaml::UIElement const& element) const; + [[nodiscard]] auto ColorProperty() const; + [[nodiscard]] auto TargetThemeProperty() const; + [[nodiscard]] auto AlwaysUseFallbackProperty() const; + [[nodiscard]] auto StateProperty() const; + auto SetState(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Xaml::Media::RevealBrushState const& value) const; + auto GetState(winrt::Windows::UI::Xaml::UIElement const& element) const; }; template <> struct consume { @@ -3260,12 +3254,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IRotateTransform { - [[nodiscard]] WINRT_IMPL_AUTO(double) CenterX() const; - WINRT_IMPL_AUTO(void) CenterX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CenterY() const; - WINRT_IMPL_AUTO(void) CenterY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Angle() const; - WINRT_IMPL_AUTO(void) Angle(double value) const; + [[nodiscard]] auto CenterX() const; + auto CenterX(double value) const; + [[nodiscard]] auto CenterY() const; + auto CenterY(double value) const; + [[nodiscard]] auto Angle() const; + auto Angle(double value) const; }; template <> struct consume { @@ -3274,9 +3268,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IRotateTransformStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CenterXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CenterYProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AngleProperty() const; + [[nodiscard]] auto CenterXProperty() const; + [[nodiscard]] auto CenterYProperty() const; + [[nodiscard]] auto AngleProperty() const; }; template <> struct consume { @@ -3285,14 +3279,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IScaleTransform { - [[nodiscard]] WINRT_IMPL_AUTO(double) CenterX() const; - WINRT_IMPL_AUTO(void) CenterX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CenterY() const; - WINRT_IMPL_AUTO(void) CenterY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ScaleX() const; - WINRT_IMPL_AUTO(void) ScaleX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ScaleY() const; - WINRT_IMPL_AUTO(void) ScaleY(double value) const; + [[nodiscard]] auto CenterX() const; + auto CenterX(double value) const; + [[nodiscard]] auto CenterY() const; + auto CenterY(double value) const; + [[nodiscard]] auto ScaleX() const; + auto ScaleX(double value) const; + [[nodiscard]] auto ScaleY() const; + auto ScaleY(double value) const; }; template <> struct consume { @@ -3301,10 +3295,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IScaleTransformStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CenterXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CenterYProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ScaleXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ScaleYProperty() const; + [[nodiscard]] auto CenterXProperty() const; + [[nodiscard]] auto CenterYProperty() const; + [[nodiscard]] auto ScaleXProperty() const; + [[nodiscard]] auto ScaleYProperty() const; }; template <> struct consume { @@ -3329,14 +3323,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ISkewTransform { - [[nodiscard]] WINRT_IMPL_AUTO(double) CenterX() const; - WINRT_IMPL_AUTO(void) CenterX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CenterY() const; - WINRT_IMPL_AUTO(void) CenterY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) AngleX() const; - WINRT_IMPL_AUTO(void) AngleX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) AngleY() const; - WINRT_IMPL_AUTO(void) AngleY(double value) const; + [[nodiscard]] auto CenterX() const; + auto CenterX(double value) const; + [[nodiscard]] auto CenterY() const; + auto CenterY(double value) const; + [[nodiscard]] auto AngleX() const; + auto AngleX(double value) const; + [[nodiscard]] auto AngleY() const; + auto AngleY(double value) const; }; template <> struct consume { @@ -3345,10 +3339,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ISkewTransformStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CenterXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CenterYProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AngleXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AngleYProperty() const; + [[nodiscard]] auto CenterXProperty() const; + [[nodiscard]] auto CenterYProperty() const; + [[nodiscard]] auto AngleXProperty() const; + [[nodiscard]] auto AngleYProperty() const; }; template <> struct consume { @@ -3357,8 +3351,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ISolidColorBrush { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; - WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto Color() const; + auto Color(winrt::Windows::UI::Color const& value) const; }; template <> struct consume { @@ -3367,7 +3361,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ISolidColorBrushFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) CreateInstanceWithColor(winrt::Windows::UI::Color const& color) const; + auto CreateInstanceWithColor(winrt::Windows::UI::Color const& color) const; }; template <> struct consume { @@ -3376,7 +3370,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ISolidColorBrushStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ColorProperty() const; + [[nodiscard]] auto ColorProperty() const; }; template <> struct consume { @@ -3385,7 +3379,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IThemeShadow { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElementWeakCollection) Receivers() const; + [[nodiscard]] auto Receivers() const; }; template <> struct consume { @@ -3394,7 +3388,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IThemeShadowFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ThemeShadow) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3403,12 +3397,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ITileBrush { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AlignmentX) AlignmentX() const; - WINRT_IMPL_AUTO(void) AlignmentX(winrt::Windows::UI::Xaml::Media::AlignmentX const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AlignmentY) AlignmentY() const; - WINRT_IMPL_AUTO(void) AlignmentY(winrt::Windows::UI::Xaml::Media::AlignmentY const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) Stretch() const; - WINRT_IMPL_AUTO(void) Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const; + [[nodiscard]] auto AlignmentX() const; + auto AlignmentX(winrt::Windows::UI::Xaml::Media::AlignmentX const& value) const; + [[nodiscard]] auto AlignmentY() const; + auto AlignmentY(winrt::Windows::UI::Xaml::Media::AlignmentY const& value) const; + [[nodiscard]] auto Stretch() const; + auto Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const; }; template <> struct consume { @@ -3417,7 +3411,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ITileBrushFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::TileBrush) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3426,9 +3420,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ITileBrushStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlignmentXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AlignmentYProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StretchProperty() const; + [[nodiscard]] auto AlignmentXProperty() const; + [[nodiscard]] auto AlignmentYProperty() const; + [[nodiscard]] auto StretchProperty() const; }; template <> struct consume { @@ -3437,12 +3431,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ITimelineMarker { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Time() const; - WINRT_IMPL_AUTO(void) Time(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Type() const; - WINRT_IMPL_AUTO(void) Type(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; + [[nodiscard]] auto Time() const; + auto Time(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto Type() const; + auto Type(param::hstring const& value) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; }; template <> struct consume { @@ -3451,8 +3445,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ITimelineMarkerRoutedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::TimelineMarker) Marker() const; - WINRT_IMPL_AUTO(void) Marker(winrt::Windows::UI::Xaml::Media::TimelineMarker const& value) const; + [[nodiscard]] auto Marker() const; + auto Marker(winrt::Windows::UI::Xaml::Media::TimelineMarker const& value) const; }; template <> struct consume { @@ -3461,9 +3455,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ITimelineMarkerStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TimeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TypeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TextProperty() const; + [[nodiscard]] auto TimeProperty() const; + [[nodiscard]] auto TypeProperty() const; + [[nodiscard]] auto TextProperty() const; }; template <> struct consume { @@ -3488,9 +3482,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ITransformGroup { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::TransformCollection) Children() const; - WINRT_IMPL_AUTO(void) Children(winrt::Windows::UI::Xaml::Media::TransformCollection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Matrix) Value() const; + [[nodiscard]] auto Children() const; + auto Children(winrt::Windows::UI::Xaml::Media::TransformCollection const& value) const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -3499,7 +3493,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ITransformGroupStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ChildrenProperty() const; + [[nodiscard]] auto ChildrenProperty() const; }; template <> struct consume { @@ -3508,10 +3502,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ITranslateTransform { - [[nodiscard]] WINRT_IMPL_AUTO(double) X() const; - WINRT_IMPL_AUTO(void) X(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Y() const; - WINRT_IMPL_AUTO(void) Y(double value) const; + [[nodiscard]] auto X() const; + auto X(double value) const; + [[nodiscard]] auto Y() const; + auto Y(double value) const; }; template <> struct consume { @@ -3520,8 +3514,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_ITranslateTransformStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) XProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) YProperty() const; + [[nodiscard]] auto XProperty() const; + [[nodiscard]] auto YProperty() const; }; template <> struct consume { @@ -3538,14 +3532,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindElementsInHostCoordinates(winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Windows::UI::Xaml::UIElement const& subtree) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindElementsInHostCoordinates(winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Windows::UI::Xaml::UIElement const& subtree) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindElementsInHostCoordinates(winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Windows::UI::Xaml::UIElement const& subtree, bool includeAllElements) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) FindElementsInHostCoordinates(winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Windows::UI::Xaml::UIElement const& subtree, bool includeAllElements) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) GetChild(winrt::Windows::UI::Xaml::DependencyObject const& reference, int32_t childIndex) const; - WINRT_IMPL_AUTO(int32_t) GetChildrenCount(winrt::Windows::UI::Xaml::DependencyObject const& reference) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) GetParent(winrt::Windows::UI::Xaml::DependencyObject const& reference) const; - WINRT_IMPL_AUTO(void) DisconnectChildrenRecursive(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto FindElementsInHostCoordinates(winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Windows::UI::Xaml::UIElement const& subtree) const; + auto FindElementsInHostCoordinates(winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Windows::UI::Xaml::UIElement const& subtree) const; + auto FindElementsInHostCoordinates(winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Windows::UI::Xaml::UIElement const& subtree, bool includeAllElements) const; + auto FindElementsInHostCoordinates(winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Windows::UI::Xaml::UIElement const& subtree, bool includeAllElements) const; + auto GetChild(winrt::Windows::UI::Xaml::DependencyObject const& reference, int32_t childIndex) const; + auto GetChildrenCount(winrt::Windows::UI::Xaml::DependencyObject const& reference) const; + auto GetParent(winrt::Windows::UI::Xaml::DependencyObject const& reference) const; + auto DisconnectChildrenRecursive(winrt::Windows::UI::Xaml::UIElement const& element) const; }; template <> struct consume { @@ -3554,7 +3548,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetOpenPopups(winrt::Windows::UI::Xaml::Window const& window) const; + auto GetOpenPopups(winrt::Windows::UI::Xaml::Window const& window) const; }; template <> struct consume { @@ -3563,7 +3557,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics3 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetOpenPopupsForXamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot) const; + auto GetOpenPopupsForXamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot) const; }; template <> struct consume { @@ -3572,8 +3566,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBase { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) FallbackColor() const; - WINRT_IMPL_AUTO(void) FallbackColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto FallbackColor() const; + auto FallbackColor(winrt::Windows::UI::Color const& value) const; }; template <> struct consume { @@ -3582,7 +3576,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::XamlCompositionBrushBase) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3591,8 +3585,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseOverrides { - WINRT_IMPL_AUTO(void) OnConnected() const; - WINRT_IMPL_AUTO(void) OnDisconnected() const; + auto OnConnected() const; + auto OnDisconnected() const; }; template <> struct consume { @@ -3601,8 +3595,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseProtected { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) CompositionBrush() const; - WINRT_IMPL_AUTO(void) CompositionBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const; + [[nodiscard]] auto CompositionBrush() const; + auto CompositionBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const; }; template <> struct consume { @@ -3611,7 +3605,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FallbackColorProperty() const; + [[nodiscard]] auto FallbackColorProperty() const; }; template <> struct consume { @@ -3628,7 +3622,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IXamlLightFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::XamlLight) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3637,9 +3631,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IXamlLightOverrides { - WINRT_IMPL_AUTO(hstring) GetId() const; - WINRT_IMPL_AUTO(void) OnConnected(winrt::Windows::UI::Xaml::UIElement const& newElement) const; - WINRT_IMPL_AUTO(void) OnDisconnected(winrt::Windows::UI::Xaml::UIElement const& oldElement) const; + auto GetId() const; + auto OnConnected(winrt::Windows::UI::Xaml::UIElement const& newElement) const; + auto OnDisconnected(winrt::Windows::UI::Xaml::UIElement const& oldElement) const; }; template <> struct consume { @@ -3648,8 +3642,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IXamlLightProtected { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionLight) CompositionLight() const; - WINRT_IMPL_AUTO(void) CompositionLight(winrt::Windows::UI::Composition::CompositionLight const& value) const; + [[nodiscard]] auto CompositionLight() const; + auto CompositionLight(winrt::Windows::UI::Composition::CompositionLight const& value) const; }; template <> struct consume { @@ -3658,10 +3652,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_IXamlLightStatics { - WINRT_IMPL_AUTO(void) AddTargetElement(param::hstring const& lightId, winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) RemoveTargetElement(param::hstring const& lightId, winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) AddTargetBrush(param::hstring const& lightId, winrt::Windows::UI::Xaml::Media::Brush const& brush) const; - WINRT_IMPL_AUTO(void) RemoveTargetBrush(param::hstring const& lightId, winrt::Windows::UI::Xaml::Media::Brush const& brush) const; + auto AddTargetElement(param::hstring const& lightId, winrt::Windows::UI::Xaml::UIElement const& element) const; + auto RemoveTargetElement(param::hstring const& lightId, winrt::Windows::UI::Xaml::UIElement const& element) const; + auto AddTargetBrush(param::hstring const& lightId, winrt::Windows::UI::Xaml::Media::Brush const& brush) const; + auto RemoveTargetBrush(param::hstring const& lightId, winrt::Windows::UI::Xaml::Media::Brush const& brush) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.1.h index 7556e820..0101fed6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.2.h index 714fa2bc..6ab9bba5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_2_H @@ -143,15 +143,15 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media CompositionTarget(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Media::ICompositionTarget(ptr, take_ownership_from_abi) {} static auto Rendering(winrt::Windows::Foundation::EventHandler const& handler); using Rendering_revoker = impl::factory_event_revoker::remove_Rendering>; - [[nodiscard]] static Rendering_revoker Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto Rendering(winrt::event_token const& token); static auto SurfaceContentsLost(winrt::Windows::Foundation::EventHandler const& handler); using SurfaceContentsLost_revoker = impl::factory_event_revoker::remove_SurfaceContentsLost>; - [[nodiscard]] static SurfaceContentsLost_revoker SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto SurfaceContentsLost(winrt::event_token const& token); static auto Rendered(winrt::Windows::Foundation::EventHandler const& handler); using Rendered_revoker = impl::factory_event_revoker::remove_Rendered>; - [[nodiscard]] static Rendered_revoker Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); + [[nodiscard]] static auto Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto Rendered(winrt::event_token const& token); }; struct __declspec(empty_bases) DoubleCollection : winrt::Windows::Foundation::Collections::IVector @@ -675,7 +675,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media D const& shim() const noexcept { return *static_cast(this); } public: using IBrushOverrides2 = winrt::Windows::UI::Xaml::Media::IBrushOverrides2; - WINRT_IMPL_AUTO(void) PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const; + auto PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const; }; template class IGeneralTransformOverridesT @@ -684,9 +684,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media D const& shim() const noexcept { return *static_cast(this); } public: using IGeneralTransformOverrides = winrt::Windows::UI::Xaml::Media::IGeneralTransformOverrides; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeneralTransform) InverseCore() const; - WINRT_IMPL_AUTO(bool) TryTransformCore(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) TransformBoundsCore(winrt::Windows::Foundation::Rect const& rect) const; + [[nodiscard]] auto InverseCore() const; + auto TryTransformCore(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const; + auto TransformBoundsCore(winrt::Windows::Foundation::Rect const& rect) const; }; template class IXamlCompositionBrushBaseOverridesT @@ -695,8 +695,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media D const& shim() const noexcept { return *static_cast(this); } public: using IXamlCompositionBrushBaseOverrides = winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseOverrides; - WINRT_IMPL_AUTO(void) OnConnected() const; - WINRT_IMPL_AUTO(void) OnDisconnected() const; + auto OnConnected() const; + auto OnDisconnected() const; }; template class IXamlLightOverridesT @@ -705,9 +705,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media D const& shim() const noexcept { return *static_cast(this); } public: using IXamlLightOverrides = winrt::Windows::UI::Xaml::Media::IXamlLightOverrides; - WINRT_IMPL_AUTO(hstring) GetId() const; - WINRT_IMPL_AUTO(void) OnConnected(winrt::Windows::UI::Xaml::UIElement const& newElement) const; - WINRT_IMPL_AUTO(void) OnDisconnected(winrt::Windows::UI::Xaml::UIElement const& oldElement) const; + auto GetId() const; + auto OnConnected(winrt::Windows::UI::Xaml::UIElement const& newElement) const; + auto OnDisconnected(winrt::Windows::UI::Xaml::UIElement const& oldElement) const; }; } #endif diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.0.h index 1ef2163a..541992b8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_Animation_0_H @@ -2433,8 +2433,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IBackEase { - [[nodiscard]] WINRT_IMPL_AUTO(double) Amplitude() const; - WINRT_IMPL_AUTO(void) Amplitude(double value) const; + [[nodiscard]] auto Amplitude() const; + auto Amplitude(double value) const; }; template <> struct consume { @@ -2443,7 +2443,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IBackEaseStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AmplitudeProperty() const; + [[nodiscard]] auto AmplitudeProperty() const; }; template <> struct consume { @@ -2460,7 +2460,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IBasicConnectedAnimationConfigurationFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::BasicConnectedAnimationConfiguration) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2469,8 +2469,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IBeginStoryboard { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::Storyboard) Storyboard() const; - WINRT_IMPL_AUTO(void) Storyboard(winrt::Windows::UI::Xaml::Media::Animation::Storyboard const& value) const; + [[nodiscard]] auto Storyboard() const; + auto Storyboard(winrt::Windows::UI::Xaml::Media::Animation::Storyboard const& value) const; }; template <> struct consume { @@ -2479,7 +2479,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IBeginStoryboardStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StoryboardProperty() const; + [[nodiscard]] auto StoryboardProperty() const; }; template <> struct consume { @@ -2488,10 +2488,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IBounceEase { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Bounces() const; - WINRT_IMPL_AUTO(void) Bounces(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Bounciness() const; - WINRT_IMPL_AUTO(void) Bounciness(double value) const; + [[nodiscard]] auto Bounces() const; + auto Bounces(int32_t value) const; + [[nodiscard]] auto Bounciness() const; + auto Bounciness(double value) const; }; template <> struct consume { @@ -2500,8 +2500,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IBounceEaseStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BouncesProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BouncinessProperty() const; + [[nodiscard]] auto BouncesProperty() const; + [[nodiscard]] auto BouncinessProperty() const; }; template <> struct consume { @@ -2518,16 +2518,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IColorAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) From() const; - WINRT_IMPL_AUTO(void) From(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) To() const; - WINRT_IMPL_AUTO(void) To(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) By() const; - WINRT_IMPL_AUTO(void) By(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) EasingFunction() const; - WINRT_IMPL_AUTO(void) EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) EnableDependentAnimation() const; - WINRT_IMPL_AUTO(void) EnableDependentAnimation(bool value) const; + [[nodiscard]] auto From() const; + auto From(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto To() const; + auto To(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto By() const; + auto By(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto EasingFunction() const; + auto EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const; + [[nodiscard]] auto EnableDependentAnimation() const; + auto EnableDependentAnimation(bool value) const; }; template <> struct consume { @@ -2536,11 +2536,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FromProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ToProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ByProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EasingFunctionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EnableDependentAnimationProperty() const; + [[nodiscard]] auto FromProperty() const; + [[nodiscard]] auto ToProperty() const; + [[nodiscard]] auto ByProperty() const; + [[nodiscard]] auto EasingFunctionProperty() const; + [[nodiscard]] auto EnableDependentAnimationProperty() const; }; template <> struct consume { @@ -2549,9 +2549,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFrames { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ColorKeyFrameCollection) KeyFrames() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) EnableDependentAnimation() const; - WINRT_IMPL_AUTO(void) EnableDependentAnimation(bool value) const; + [[nodiscard]] auto KeyFrames() const; + [[nodiscard]] auto EnableDependentAnimation() const; + auto EnableDependentAnimation(bool value) const; }; template <> struct consume { @@ -2560,7 +2560,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFramesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EnableDependentAnimationProperty() const; + [[nodiscard]] auto EnableDependentAnimationProperty() const; }; template <> struct consume { @@ -2569,10 +2569,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Value() const; - WINRT_IMPL_AUTO(void) Value(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeyTime) KeyTime() const; - WINRT_IMPL_AUTO(void) KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const; + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto KeyTime() const; + auto KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const; }; template <> struct consume { @@ -2581,7 +2581,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrameFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ColorKeyFrame) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2590,8 +2590,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrameStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ValueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyTimeProperty() const; + [[nodiscard]] auto ValueProperty() const; + [[nodiscard]] auto KeyTimeProperty() const; }; template <> struct consume { @@ -2600,8 +2600,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfo { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStaggeringEnabled() const; - WINRT_IMPL_AUTO(void) IsStaggeringEnabled(bool value) const; + [[nodiscard]] auto IsStaggeringEnabled() const; + auto IsStaggeringEnabled(bool value) const; }; template <> struct consume { @@ -2610,10 +2610,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsStaggeringEnabledProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsStaggerElementProperty() const; - WINRT_IMPL_AUTO(bool) GetIsStaggerElement(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetIsStaggerElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; + [[nodiscard]] auto IsStaggeringEnabledProperty() const; + [[nodiscard]] auto IsStaggerElementProperty() const; + auto GetIsStaggerElement(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetIsStaggerElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; }; template <> struct consume { @@ -2622,12 +2622,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation { - WINRT_IMPL_AUTO(winrt::event_token) Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Completed_revoker = impl::event_revoker::remove_Completed>; - [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Completed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(bool) TryStart(winrt::Windows::UI::Xaml::UIElement const& destination) const; - WINRT_IMPL_AUTO(void) Cancel() const; + [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Completed(winrt::event_token const& token) const noexcept; + auto TryStart(winrt::Windows::UI::Xaml::UIElement const& destination) const; + auto Cancel() const; }; template <> struct consume { @@ -2636,10 +2636,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsScaleAnimationEnabled() const; - WINRT_IMPL_AUTO(void) IsScaleAnimationEnabled(bool value) const; - WINRT_IMPL_AUTO(bool) TryStart(winrt::Windows::UI::Xaml::UIElement const& destination, param::iterable const& coordinatedElements) const; - WINRT_IMPL_AUTO(void) SetAnimationComponent(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationComponent const& component, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const; + [[nodiscard]] auto IsScaleAnimationEnabled() const; + auto IsScaleAnimationEnabled(bool value) const; + auto TryStart(winrt::Windows::UI::Xaml::UIElement const& destination, param::iterable const& coordinatedElements) const; + auto SetAnimationComponent(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationComponent const& component, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const; }; template <> struct consume { @@ -2648,8 +2648,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationConfiguration) Configuration() const; - WINRT_IMPL_AUTO(void) Configuration(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationConfiguration const& value) const; + [[nodiscard]] auto Configuration() const; + auto Configuration(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationConfiguration const& value) const; }; template <> struct consume { @@ -2674,12 +2674,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DefaultDuration() const; - WINRT_IMPL_AUTO(void) DefaultDuration(winrt::Windows::Foundation::TimeSpan const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunction) DefaultEasingFunction() const; - WINRT_IMPL_AUTO(void) DefaultEasingFunction(winrt::Windows::UI::Composition::CompositionEasingFunction const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation) PrepareToAnimate(param::hstring const& key, winrt::Windows::UI::Xaml::UIElement const& source) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation) GetAnimation(param::hstring const& key) const; + [[nodiscard]] auto DefaultDuration() const; + auto DefaultDuration(winrt::Windows::Foundation::TimeSpan const& value) const; + [[nodiscard]] auto DefaultEasingFunction() const; + auto DefaultEasingFunction(winrt::Windows::UI::Composition::CompositionEasingFunction const& value) const; + auto PrepareToAnimate(param::hstring const& key, winrt::Windows::UI::Xaml::UIElement const& source) const; + auto GetAnimation(param::hstring const& key) const; }; template <> struct consume { @@ -2688,7 +2688,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationServiceStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationService) GetForCurrentView() const; + auto GetForCurrentView() const; }; template <> struct consume { @@ -2697,10 +2697,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition { - [[nodiscard]] WINRT_IMPL_AUTO(double) HorizontalOffset() const; - WINRT_IMPL_AUTO(void) HorizontalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) VerticalOffset() const; - WINRT_IMPL_AUTO(void) VerticalOffset(double value) const; + [[nodiscard]] auto HorizontalOffset() const; + auto HorizontalOffset(double value) const; + [[nodiscard]] auto VerticalOffset() const; + auto VerticalOffset(double value) const; }; template <> struct consume { @@ -2709,8 +2709,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransitionStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) HorizontalOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) VerticalOffsetProperty() const; + [[nodiscard]] auto HorizontalOffsetProperty() const; + [[nodiscard]] auto VerticalOffsetProperty() const; }; template <> struct consume { @@ -2719,8 +2719,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfo { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) ExitElement() const; - WINRT_IMPL_AUTO(void) ExitElement(winrt::Windows::UI::Xaml::UIElement const& value) const; + [[nodiscard]] auto ExitElement() const; + auto ExitElement(winrt::Windows::UI::Xaml::UIElement const& value) const; }; template <> struct consume { @@ -2729,16 +2729,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ExitElementProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsEntranceElementProperty() const; - WINRT_IMPL_AUTO(bool) GetIsEntranceElement(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetIsEntranceElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsExitElementProperty() const; - WINRT_IMPL_AUTO(bool) GetIsExitElement(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetIsExitElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ExitElementContainerProperty() const; - WINRT_IMPL_AUTO(bool) GetExitElementContainer(winrt::Windows::UI::Xaml::Controls::ListViewBase const& element) const; - WINRT_IMPL_AUTO(void) SetExitElementContainer(winrt::Windows::UI::Xaml::Controls::ListViewBase const& element, bool value) const; + [[nodiscard]] auto ExitElementProperty() const; + [[nodiscard]] auto IsEntranceElementProperty() const; + auto GetIsEntranceElement(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetIsEntranceElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; + [[nodiscard]] auto IsExitElementProperty() const; + auto GetIsExitElement(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetIsExitElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; + [[nodiscard]] auto ExitElementContainerProperty() const; + auto GetExitElementContainer(winrt::Windows::UI::Xaml::Controls::ListViewBase const& element) const; + auto SetExitElementContainer(winrt::Windows::UI::Xaml::Controls::ListViewBase const& element, bool value) const; }; template <> struct consume { @@ -2763,7 +2763,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDirectConnectedAnimationConfigurationFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::DirectConnectedAnimationConfiguration) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2804,16 +2804,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) From() const; - WINRT_IMPL_AUTO(void) From(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) To() const; - WINRT_IMPL_AUTO(void) To(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) By() const; - WINRT_IMPL_AUTO(void) By(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) EasingFunction() const; - WINRT_IMPL_AUTO(void) EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) EnableDependentAnimation() const; - WINRT_IMPL_AUTO(void) EnableDependentAnimation(bool value) const; + [[nodiscard]] auto From() const; + auto From(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto To() const; + auto To(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto By() const; + auto By(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto EasingFunction() const; + auto EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const; + [[nodiscard]] auto EnableDependentAnimation() const; + auto EnableDependentAnimation(bool value) const; }; template <> struct consume { @@ -2822,11 +2822,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FromProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ToProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ByProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EasingFunctionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EnableDependentAnimationProperty() const; + [[nodiscard]] auto FromProperty() const; + [[nodiscard]] auto ToProperty() const; + [[nodiscard]] auto ByProperty() const; + [[nodiscard]] auto EasingFunctionProperty() const; + [[nodiscard]] auto EnableDependentAnimationProperty() const; }; template <> struct consume { @@ -2835,9 +2835,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFrames { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::DoubleKeyFrameCollection) KeyFrames() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) EnableDependentAnimation() const; - WINRT_IMPL_AUTO(void) EnableDependentAnimation(bool value) const; + [[nodiscard]] auto KeyFrames() const; + [[nodiscard]] auto EnableDependentAnimation() const; + auto EnableDependentAnimation(bool value) const; }; template <> struct consume { @@ -2846,7 +2846,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFramesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EnableDependentAnimationProperty() const; + [[nodiscard]] auto EnableDependentAnimationProperty() const; }; template <> struct consume { @@ -2855,10 +2855,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame { - [[nodiscard]] WINRT_IMPL_AUTO(double) Value() const; - WINRT_IMPL_AUTO(void) Value(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeyTime) KeyTime() const; - WINRT_IMPL_AUTO(void) KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const; + [[nodiscard]] auto Value() const; + auto Value(double value) const; + [[nodiscard]] auto KeyTime() const; + auto KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const; }; template <> struct consume { @@ -2867,7 +2867,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrameFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::DoubleKeyFrame) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -2876,8 +2876,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrameStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ValueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyTimeProperty() const; + [[nodiscard]] auto ValueProperty() const; + [[nodiscard]] auto KeyTimeProperty() const; }; template <> struct consume { @@ -2886,8 +2886,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDragItemThemeAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TargetName() const; - WINRT_IMPL_AUTO(void) TargetName(param::hstring const& value) const; + [[nodiscard]] auto TargetName() const; + auto TargetName(param::hstring const& value) const; }; template <> struct consume { @@ -2896,7 +2896,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDragItemThemeAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetNameProperty() const; + [[nodiscard]] auto TargetNameProperty() const; }; template <> struct consume { @@ -2905,12 +2905,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TargetName() const; - WINRT_IMPL_AUTO(void) TargetName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ToOffset() const; - WINRT_IMPL_AUTO(void) ToOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection) Direction() const; - WINRT_IMPL_AUTO(void) Direction(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection const& value) const; + [[nodiscard]] auto TargetName() const; + auto TargetName(param::hstring const& value) const; + [[nodiscard]] auto ToOffset() const; + auto ToOffset(double value) const; + [[nodiscard]] auto Direction() const; + auto Direction(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection const& value) const; }; template <> struct consume { @@ -2919,9 +2919,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ToOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DirectionProperty() const; + [[nodiscard]] auto TargetNameProperty() const; + [[nodiscard]] auto ToOffsetProperty() const; + [[nodiscard]] auto DirectionProperty() const; }; template <> struct consume { @@ -2938,14 +2938,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EntranceTargetName() const; - WINRT_IMPL_AUTO(void) EntranceTargetName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) EntranceTarget() const; - WINRT_IMPL_AUTO(void) EntranceTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExitTargetName() const; - WINRT_IMPL_AUTO(void) ExitTargetName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) ExitTarget() const; - WINRT_IMPL_AUTO(void) ExitTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto EntranceTargetName() const; + auto EntranceTargetName(param::hstring const& value) const; + [[nodiscard]] auto EntranceTarget() const; + auto EntranceTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto ExitTargetName() const; + auto ExitTargetName(param::hstring const& value) const; + [[nodiscard]] auto ExitTarget() const; + auto ExitTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; }; template <> struct consume { @@ -2954,10 +2954,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EntranceTargetNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EntranceTargetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ExitTargetNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ExitTargetProperty() const; + [[nodiscard]] auto EntranceTargetNameProperty() const; + [[nodiscard]] auto EntranceTargetProperty() const; + [[nodiscard]] auto ExitTargetNameProperty() const; + [[nodiscard]] auto ExitTargetProperty() const; }; template <> struct consume { @@ -2966,14 +2966,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EntranceTargetName() const; - WINRT_IMPL_AUTO(void) EntranceTargetName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) EntranceTarget() const; - WINRT_IMPL_AUTO(void) EntranceTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ExitTargetName() const; - WINRT_IMPL_AUTO(void) ExitTargetName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) ExitTarget() const; - WINRT_IMPL_AUTO(void) ExitTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto EntranceTargetName() const; + auto EntranceTargetName(param::hstring const& value) const; + [[nodiscard]] auto EntranceTarget() const; + auto EntranceTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto ExitTargetName() const; + auto ExitTargetName(param::hstring const& value) const; + [[nodiscard]] auto ExitTarget() const; + auto ExitTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; }; template <> struct consume { @@ -2982,10 +2982,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EntranceTargetNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EntranceTargetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ExitTargetNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ExitTargetProperty() const; + [[nodiscard]] auto EntranceTargetNameProperty() const; + [[nodiscard]] auto EntranceTargetProperty() const; + [[nodiscard]] auto ExitTargetNameProperty() const; + [[nodiscard]] auto ExitTargetProperty() const; }; template <> struct consume { @@ -2994,8 +2994,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TargetName() const; - WINRT_IMPL_AUTO(void) TargetName(param::hstring const& value) const; + [[nodiscard]] auto TargetName() const; + auto TargetName(param::hstring const& value) const; }; template <> struct consume { @@ -3004,7 +3004,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetNameProperty() const; + [[nodiscard]] auto TargetNameProperty() const; }; template <> struct consume { @@ -3013,8 +3013,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IEasingColorKeyFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) EasingFunction() const; - WINRT_IMPL_AUTO(void) EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const; + [[nodiscard]] auto EasingFunction() const; + auto EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const; }; template <> struct consume { @@ -3023,7 +3023,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IEasingColorKeyFrameStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EasingFunctionProperty() const; + [[nodiscard]] auto EasingFunctionProperty() const; }; template <> struct consume { @@ -3032,8 +3032,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IEasingDoubleKeyFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) EasingFunction() const; - WINRT_IMPL_AUTO(void) EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const; + [[nodiscard]] auto EasingFunction() const; + auto EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const; }; template <> struct consume { @@ -3042,7 +3042,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IEasingDoubleKeyFrameStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EasingFunctionProperty() const; + [[nodiscard]] auto EasingFunctionProperty() const; }; template <> struct consume { @@ -3051,9 +3051,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBase { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingMode) EasingMode() const; - WINRT_IMPL_AUTO(void) EasingMode(winrt::Windows::UI::Xaml::Media::Animation::EasingMode const& value) const; - WINRT_IMPL_AUTO(double) Ease(double normalizedTime) const; + [[nodiscard]] auto EasingMode() const; + auto EasingMode(winrt::Windows::UI::Xaml::Media::Animation::EasingMode const& value) const; + auto Ease(double normalizedTime) const; }; template <> struct consume { @@ -3070,7 +3070,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBaseStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EasingModeProperty() const; + [[nodiscard]] auto EasingModeProperty() const; }; template <> struct consume { @@ -3079,8 +3079,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IEasingPointKeyFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) EasingFunction() const; - WINRT_IMPL_AUTO(void) EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const; + [[nodiscard]] auto EasingFunction() const; + auto EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const; }; template <> struct consume { @@ -3089,7 +3089,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IEasingPointKeyFrameStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EasingFunctionProperty() const; + [[nodiscard]] auto EasingFunctionProperty() const; }; template <> struct consume { @@ -3098,8 +3098,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IEdgeUIThemeTransition { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation) Edge() const; - WINRT_IMPL_AUTO(void) Edge(winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation const& value) const; + [[nodiscard]] auto Edge() const; + auto Edge(winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation const& value) const; }; template <> struct consume { @@ -3108,7 +3108,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IEdgeUIThemeTransitionStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EdgeProperty() const; + [[nodiscard]] auto EdgeProperty() const; }; template <> struct consume { @@ -3117,10 +3117,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IElasticEase { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Oscillations() const; - WINRT_IMPL_AUTO(void) Oscillations(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Springiness() const; - WINRT_IMPL_AUTO(void) Springiness(double value) const; + [[nodiscard]] auto Oscillations() const; + auto Oscillations(int32_t value) const; + [[nodiscard]] auto Springiness() const; + auto Springiness(double value) const; }; template <> struct consume { @@ -3129,8 +3129,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IElasticEaseStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OscillationsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SpringinessProperty() const; + [[nodiscard]] auto OscillationsProperty() const; + [[nodiscard]] auto SpringinessProperty() const; }; template <> struct consume { @@ -3147,9 +3147,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IEntranceNavigationTransitionInfoStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsTargetElementProperty() const; - WINRT_IMPL_AUTO(bool) GetIsTargetElement(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(void) SetIsTargetElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; + [[nodiscard]] auto IsTargetElementProperty() const; + auto GetIsTargetElement(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto SetIsTargetElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const; }; template <> struct consume { @@ -3158,12 +3158,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition { - [[nodiscard]] WINRT_IMPL_AUTO(double) FromHorizontalOffset() const; - WINRT_IMPL_AUTO(void) FromHorizontalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FromVerticalOffset() const; - WINRT_IMPL_AUTO(void) FromVerticalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStaggeringEnabled() const; - WINRT_IMPL_AUTO(void) IsStaggeringEnabled(bool value) const; + [[nodiscard]] auto FromHorizontalOffset() const; + auto FromHorizontalOffset(double value) const; + [[nodiscard]] auto FromVerticalOffset() const; + auto FromVerticalOffset(double value) const; + [[nodiscard]] auto IsStaggeringEnabled() const; + auto IsStaggeringEnabled(bool value) const; }; template <> struct consume { @@ -3172,9 +3172,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransitionStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FromHorizontalOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FromVerticalOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsStaggeringEnabledProperty() const; + [[nodiscard]] auto FromHorizontalOffsetProperty() const; + [[nodiscard]] auto FromVerticalOffsetProperty() const; + [[nodiscard]] auto IsStaggeringEnabledProperty() const; }; template <> struct consume { @@ -3183,8 +3183,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IExponentialEase { - [[nodiscard]] WINRT_IMPL_AUTO(double) Exponent() const; - WINRT_IMPL_AUTO(void) Exponent(double value) const; + [[nodiscard]] auto Exponent() const; + auto Exponent(double value) const; }; template <> struct consume { @@ -3193,7 +3193,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IExponentialEaseStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ExponentProperty() const; + [[nodiscard]] auto ExponentProperty() const; }; template <> struct consume { @@ -3202,8 +3202,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IFadeInThemeAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TargetName() const; - WINRT_IMPL_AUTO(void) TargetName(param::hstring const& value) const; + [[nodiscard]] auto TargetName() const; + auto TargetName(param::hstring const& value) const; }; template <> struct consume { @@ -3212,7 +3212,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IFadeInThemeAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetNameProperty() const; + [[nodiscard]] auto TargetNameProperty() const; }; template <> struct consume { @@ -3221,8 +3221,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IFadeOutThemeAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TargetName() const; - WINRT_IMPL_AUTO(void) TargetName(param::hstring const& value) const; + [[nodiscard]] auto TargetName() const; + auto TargetName(param::hstring const& value) const; }; template <> struct consume { @@ -3231,7 +3231,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IFadeOutThemeAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetNameProperty() const; + [[nodiscard]] auto TargetNameProperty() const; }; template <> struct consume { @@ -3248,8 +3248,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfiguration2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsShadowEnabled() const; - WINRT_IMPL_AUTO(void) IsShadowEnabled(bool value) const; + [[nodiscard]] auto IsShadowEnabled() const; + auto IsShadowEnabled(bool value) const; }; template <> struct consume { @@ -3258,7 +3258,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfigurationFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::GravityConnectedAnimationConfiguration) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3267,10 +3267,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IKeySpline { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) ControlPoint1() const; - WINRT_IMPL_AUTO(void) ControlPoint1(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) ControlPoint2() const; - WINRT_IMPL_AUTO(void) ControlPoint2(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto ControlPoint1() const; + auto ControlPoint1(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto ControlPoint2() const; + auto ControlPoint2(winrt::Windows::Foundation::Point const& value) const; }; template <> struct consume { @@ -3287,7 +3287,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IKeyTimeHelperStatics { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeyTime) FromTimeSpan(winrt::Windows::Foundation::TimeSpan const& timeSpan) const; + auto FromTimeSpan(winrt::Windows::Foundation::TimeSpan const& timeSpan) const; }; template <> struct consume { @@ -3320,8 +3320,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_INavigationThemeTransition { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) DefaultNavigationTransitionInfo() const; - WINRT_IMPL_AUTO(void) DefaultNavigationTransitionInfo(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& value) const; + [[nodiscard]] auto DefaultNavigationTransitionInfo() const; + auto DefaultNavigationTransitionInfo(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& value) const; }; template <> struct consume { @@ -3330,7 +3330,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_INavigationThemeTransitionStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DefaultNavigationTransitionInfoProperty() const; + [[nodiscard]] auto DefaultNavigationTransitionInfoProperty() const; }; template <> struct consume { @@ -3347,7 +3347,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_INavigationTransitionInfoFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3356,8 +3356,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_INavigationTransitionInfoOverrides { - WINRT_IMPL_AUTO(hstring) GetNavigationStateCore() const; - WINRT_IMPL_AUTO(void) SetNavigationStateCore(param::hstring const& navigationState) const; + auto GetNavigationStateCore() const; + auto SetNavigationStateCore(param::hstring const& navigationState) const; }; template <> struct consume { @@ -3366,9 +3366,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFrames { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ObjectKeyFrameCollection) KeyFrames() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) EnableDependentAnimation() const; - WINRT_IMPL_AUTO(void) EnableDependentAnimation(bool value) const; + [[nodiscard]] auto KeyFrames() const; + [[nodiscard]] auto EnableDependentAnimation() const; + auto EnableDependentAnimation(bool value) const; }; template <> struct consume { @@ -3377,7 +3377,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFramesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EnableDependentAnimationProperty() const; + [[nodiscard]] auto EnableDependentAnimationProperty() const; }; template <> struct consume { @@ -3386,10 +3386,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Value() const; - WINRT_IMPL_AUTO(void) Value(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeyTime) KeyTime() const; - WINRT_IMPL_AUTO(void) KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const; + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto KeyTime() const; + auto KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const; }; template <> struct consume { @@ -3398,7 +3398,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrameFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ObjectKeyFrame) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3407,8 +3407,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrameStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ValueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyTimeProperty() const; + [[nodiscard]] auto ValueProperty() const; + [[nodiscard]] auto KeyTimeProperty() const; }; template <> struct consume { @@ -3417,8 +3417,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPaneThemeTransition { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation) Edge() const; - WINRT_IMPL_AUTO(void) Edge(winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation const& value) const; + [[nodiscard]] auto Edge() const; + auto Edge(winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation const& value) const; }; template <> struct consume { @@ -3427,7 +3427,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPaneThemeTransitionStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EdgeProperty() const; + [[nodiscard]] auto EdgeProperty() const; }; template <> struct consume { @@ -3436,16 +3436,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPointAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) From() const; - WINRT_IMPL_AUTO(void) From(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) To() const; - WINRT_IMPL_AUTO(void) To(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) By() const; - WINRT_IMPL_AUTO(void) By(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) EasingFunction() const; - WINRT_IMPL_AUTO(void) EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) EnableDependentAnimation() const; - WINRT_IMPL_AUTO(void) EnableDependentAnimation(bool value) const; + [[nodiscard]] auto From() const; + auto From(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto To() const; + auto To(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto By() const; + auto By(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto EasingFunction() const; + auto EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const; + [[nodiscard]] auto EnableDependentAnimation() const; + auto EnableDependentAnimation(bool value) const; }; template <> struct consume { @@ -3454,11 +3454,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FromProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ToProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ByProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EasingFunctionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EnableDependentAnimationProperty() const; + [[nodiscard]] auto FromProperty() const; + [[nodiscard]] auto ToProperty() const; + [[nodiscard]] auto ByProperty() const; + [[nodiscard]] auto EasingFunctionProperty() const; + [[nodiscard]] auto EnableDependentAnimationProperty() const; }; template <> struct consume { @@ -3467,9 +3467,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFrames { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::PointKeyFrameCollection) KeyFrames() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) EnableDependentAnimation() const; - WINRT_IMPL_AUTO(void) EnableDependentAnimation(bool value) const; + [[nodiscard]] auto KeyFrames() const; + [[nodiscard]] auto EnableDependentAnimation() const; + auto EnableDependentAnimation(bool value) const; }; template <> struct consume { @@ -3478,7 +3478,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFramesStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EnableDependentAnimationProperty() const; + [[nodiscard]] auto EnableDependentAnimationProperty() const; }; template <> struct consume { @@ -3487,10 +3487,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) Value() const; - WINRT_IMPL_AUTO(void) Value(winrt::Windows::Foundation::Point const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeyTime) KeyTime() const; - WINRT_IMPL_AUTO(void) KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const; + [[nodiscard]] auto Value() const; + auto Value(winrt::Windows::Foundation::Point const& value) const; + [[nodiscard]] auto KeyTime() const; + auto KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const; }; template <> struct consume { @@ -3499,7 +3499,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrameFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::PointKeyFrame) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -3508,8 +3508,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrameStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ValueProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeyTimeProperty() const; + [[nodiscard]] auto ValueProperty() const; + [[nodiscard]] auto KeyTimeProperty() const; }; template <> struct consume { @@ -3518,8 +3518,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPointerDownThemeAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TargetName() const; - WINRT_IMPL_AUTO(void) TargetName(param::hstring const& value) const; + [[nodiscard]] auto TargetName() const; + auto TargetName(param::hstring const& value) const; }; template <> struct consume { @@ -3528,7 +3528,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPointerDownThemeAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetNameProperty() const; + [[nodiscard]] auto TargetNameProperty() const; }; template <> struct consume { @@ -3537,8 +3537,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPointerUpThemeAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TargetName() const; - WINRT_IMPL_AUTO(void) TargetName(param::hstring const& value) const; + [[nodiscard]] auto TargetName() const; + auto TargetName(param::hstring const& value) const; }; template <> struct consume { @@ -3547,7 +3547,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPointerUpThemeAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetNameProperty() const; + [[nodiscard]] auto TargetNameProperty() const; }; template <> struct consume { @@ -3556,12 +3556,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TargetName() const; - WINRT_IMPL_AUTO(void) TargetName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FromHorizontalOffset() const; - WINRT_IMPL_AUTO(void) FromHorizontalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FromVerticalOffset() const; - WINRT_IMPL_AUTO(void) FromVerticalOffset(double value) const; + [[nodiscard]] auto TargetName() const; + auto TargetName(param::hstring const& value) const; + [[nodiscard]] auto FromHorizontalOffset() const; + auto FromHorizontalOffset(double value) const; + [[nodiscard]] auto FromVerticalOffset() const; + auto FromVerticalOffset(double value) const; }; template <> struct consume { @@ -3570,9 +3570,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FromHorizontalOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FromVerticalOffsetProperty() const; + [[nodiscard]] auto TargetNameProperty() const; + [[nodiscard]] auto FromHorizontalOffsetProperty() const; + [[nodiscard]] auto FromVerticalOffsetProperty() const; }; template <> struct consume { @@ -3581,8 +3581,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPopOutThemeAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TargetName() const; - WINRT_IMPL_AUTO(void) TargetName(param::hstring const& value) const; + [[nodiscard]] auto TargetName() const; + auto TargetName(param::hstring const& value) const; }; template <> struct consume { @@ -3591,7 +3591,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPopOutThemeAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetNameProperty() const; + [[nodiscard]] auto TargetNameProperty() const; }; template <> struct consume { @@ -3600,10 +3600,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition { - [[nodiscard]] WINRT_IMPL_AUTO(double) FromHorizontalOffset() const; - WINRT_IMPL_AUTO(void) FromHorizontalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FromVerticalOffset() const; - WINRT_IMPL_AUTO(void) FromVerticalOffset(double value) const; + [[nodiscard]] auto FromHorizontalOffset() const; + auto FromHorizontalOffset(double value) const; + [[nodiscard]] auto FromVerticalOffset() const; + auto FromVerticalOffset(double value) const; }; template <> struct consume { @@ -3612,8 +3612,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransitionStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FromHorizontalOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FromVerticalOffsetProperty() const; + [[nodiscard]] auto FromHorizontalOffsetProperty() const; + [[nodiscard]] auto FromVerticalOffsetProperty() const; }; template <> struct consume { @@ -3622,8 +3622,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPowerEase { - [[nodiscard]] WINRT_IMPL_AUTO(double) Power() const; - WINRT_IMPL_AUTO(void) Power(double value) const; + [[nodiscard]] auto Power() const; + auto Power(double value) const; }; template <> struct consume { @@ -3632,7 +3632,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IPowerEaseStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PowerProperty() const; + [[nodiscard]] auto PowerProperty() const; }; template <> struct consume { @@ -3681,12 +3681,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior) Forever() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior) FromCount(double count) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior) FromDuration(winrt::Windows::Foundation::TimeSpan const& duration) const; - WINRT_IMPL_AUTO(bool) GetHasCount(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& target) const; - WINRT_IMPL_AUTO(bool) GetHasDuration(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& target) const; - WINRT_IMPL_AUTO(bool) Equals(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& target, winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& value) const; + [[nodiscard]] auto Forever() const; + auto FromCount(double count) const; + auto FromDuration(winrt::Windows::Foundation::TimeSpan const& duration) const; + auto GetHasCount(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& target) const; + auto GetHasDuration(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& target) const; + auto Equals(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& target, winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& value) const; }; template <> struct consume { @@ -3695,12 +3695,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TargetName() const; - WINRT_IMPL_AUTO(void) TargetName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FromHorizontalOffset() const; - WINRT_IMPL_AUTO(void) FromHorizontalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FromVerticalOffset() const; - WINRT_IMPL_AUTO(void) FromVerticalOffset(double value) const; + [[nodiscard]] auto TargetName() const; + auto TargetName(param::hstring const& value) const; + [[nodiscard]] auto FromHorizontalOffset() const; + auto FromHorizontalOffset(double value) const; + [[nodiscard]] auto FromVerticalOffset() const; + auto FromVerticalOffset(double value) const; }; template <> struct consume { @@ -3709,9 +3709,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FromHorizontalOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FromVerticalOffsetProperty() const; + [[nodiscard]] auto TargetNameProperty() const; + [[nodiscard]] auto FromHorizontalOffsetProperty() const; + [[nodiscard]] auto FromVerticalOffsetProperty() const; }; template <> struct consume { @@ -3728,8 +3728,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeTransition2 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStaggeringEnabled() const; - WINRT_IMPL_AUTO(void) IsStaggeringEnabled(bool value) const; + [[nodiscard]] auto IsStaggeringEnabled() const; + auto IsStaggeringEnabled(bool value) const; }; template <> struct consume { @@ -3738,7 +3738,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeTransitionStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsStaggeringEnabledProperty() const; + [[nodiscard]] auto IsStaggeringEnabledProperty() const; }; template <> struct consume { @@ -3763,8 +3763,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfo2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::SlideNavigationTransitionEffect) Effect() const; - WINRT_IMPL_AUTO(void) Effect(winrt::Windows::UI::Xaml::Media::Animation::SlideNavigationTransitionEffect const& value) const; + [[nodiscard]] auto Effect() const; + auto Effect(winrt::Windows::UI::Xaml::Media::Animation::SlideNavigationTransitionEffect const& value) const; }; template <> struct consume { @@ -3773,7 +3773,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfoStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) EffectProperty() const; + [[nodiscard]] auto EffectProperty() const; }; template <> struct consume { @@ -3782,8 +3782,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ISplineColorKeyFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeySpline) KeySpline() const; - WINRT_IMPL_AUTO(void) KeySpline(winrt::Windows::UI::Xaml::Media::Animation::KeySpline const& value) const; + [[nodiscard]] auto KeySpline() const; + auto KeySpline(winrt::Windows::UI::Xaml::Media::Animation::KeySpline const& value) const; }; template <> struct consume { @@ -3792,7 +3792,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ISplineColorKeyFrameStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeySplineProperty() const; + [[nodiscard]] auto KeySplineProperty() const; }; template <> struct consume { @@ -3801,8 +3801,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ISplineDoubleKeyFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeySpline) KeySpline() const; - WINRT_IMPL_AUTO(void) KeySpline(winrt::Windows::UI::Xaml::Media::Animation::KeySpline const& value) const; + [[nodiscard]] auto KeySpline() const; + auto KeySpline(winrt::Windows::UI::Xaml::Media::Animation::KeySpline const& value) const; }; template <> struct consume { @@ -3811,7 +3811,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ISplineDoubleKeyFrameStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeySplineProperty() const; + [[nodiscard]] auto KeySplineProperty() const; }; template <> struct consume { @@ -3820,8 +3820,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ISplinePointKeyFrame { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeySpline) KeySpline() const; - WINRT_IMPL_AUTO(void) KeySpline(winrt::Windows::UI::Xaml::Media::Animation::KeySpline const& value) const; + [[nodiscard]] auto KeySpline() const; + auto KeySpline(winrt::Windows::UI::Xaml::Media::Animation::KeySpline const& value) const; }; template <> struct consume { @@ -3830,7 +3830,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ISplinePointKeyFrameStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) KeySplineProperty() const; + [[nodiscard]] auto KeySplineProperty() const; }; template <> struct consume { @@ -3839,28 +3839,28 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OpenedTargetName() const; - WINRT_IMPL_AUTO(void) OpenedTargetName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) OpenedTarget() const; - WINRT_IMPL_AUTO(void) OpenedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ClosedTargetName() const; - WINRT_IMPL_AUTO(void) ClosedTargetName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) ClosedTarget() const; - WINRT_IMPL_AUTO(void) ClosedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentTargetName() const; - WINRT_IMPL_AUTO(void) ContentTargetName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) ContentTarget() const; - WINRT_IMPL_AUTO(void) ContentTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OpenedLength() const; - WINRT_IMPL_AUTO(void) OpenedLength(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ClosedLength() const; - WINRT_IMPL_AUTO(void) ClosedLength(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OffsetFromCenter() const; - WINRT_IMPL_AUTO(void) OffsetFromCenter(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection) ContentTranslationDirection() const; - WINRT_IMPL_AUTO(void) ContentTranslationDirection(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ContentTranslationOffset() const; - WINRT_IMPL_AUTO(void) ContentTranslationOffset(double value) const; + [[nodiscard]] auto OpenedTargetName() const; + auto OpenedTargetName(param::hstring const& value) const; + [[nodiscard]] auto OpenedTarget() const; + auto OpenedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto ClosedTargetName() const; + auto ClosedTargetName(param::hstring const& value) const; + [[nodiscard]] auto ClosedTarget() const; + auto ClosedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto ContentTargetName() const; + auto ContentTargetName(param::hstring const& value) const; + [[nodiscard]] auto ContentTarget() const; + auto ContentTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto OpenedLength() const; + auto OpenedLength(double value) const; + [[nodiscard]] auto ClosedLength() const; + auto ClosedLength(double value) const; + [[nodiscard]] auto OffsetFromCenter() const; + auto OffsetFromCenter(double value) const; + [[nodiscard]] auto ContentTranslationDirection() const; + auto ContentTranslationDirection(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection const& value) const; + [[nodiscard]] auto ContentTranslationOffset() const; + auto ContentTranslationOffset(double value) const; }; template <> struct consume { @@ -3869,17 +3869,17 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OpenedTargetNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OpenedTargetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ClosedTargetNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ClosedTargetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentTargetNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentTargetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OpenedLengthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ClosedLengthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OffsetFromCenterProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentTranslationDirectionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentTranslationOffsetProperty() const; + [[nodiscard]] auto OpenedTargetNameProperty() const; + [[nodiscard]] auto OpenedTargetProperty() const; + [[nodiscard]] auto ClosedTargetNameProperty() const; + [[nodiscard]] auto ClosedTargetProperty() const; + [[nodiscard]] auto ContentTargetNameProperty() const; + [[nodiscard]] auto ContentTargetProperty() const; + [[nodiscard]] auto OpenedLengthProperty() const; + [[nodiscard]] auto ClosedLengthProperty() const; + [[nodiscard]] auto OffsetFromCenterProperty() const; + [[nodiscard]] auto ContentTranslationDirectionProperty() const; + [[nodiscard]] auto ContentTranslationOffsetProperty() const; }; template <> struct consume { @@ -3888,28 +3888,28 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) OpenedTargetName() const; - WINRT_IMPL_AUTO(void) OpenedTargetName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) OpenedTarget() const; - WINRT_IMPL_AUTO(void) OpenedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ClosedTargetName() const; - WINRT_IMPL_AUTO(void) ClosedTargetName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) ClosedTarget() const; - WINRT_IMPL_AUTO(void) ClosedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentTargetName() const; - WINRT_IMPL_AUTO(void) ContentTargetName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) ContentTarget() const; - WINRT_IMPL_AUTO(void) ContentTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OpenedLength() const; - WINRT_IMPL_AUTO(void) OpenedLength(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ClosedLength() const; - WINRT_IMPL_AUTO(void) ClosedLength(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OffsetFromCenter() const; - WINRT_IMPL_AUTO(void) OffsetFromCenter(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection) ContentTranslationDirection() const; - WINRT_IMPL_AUTO(void) ContentTranslationDirection(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ContentTranslationOffset() const; - WINRT_IMPL_AUTO(void) ContentTranslationOffset(double value) const; + [[nodiscard]] auto OpenedTargetName() const; + auto OpenedTargetName(param::hstring const& value) const; + [[nodiscard]] auto OpenedTarget() const; + auto OpenedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto ClosedTargetName() const; + auto ClosedTargetName(param::hstring const& value) const; + [[nodiscard]] auto ClosedTarget() const; + auto ClosedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto ContentTargetName() const; + auto ContentTargetName(param::hstring const& value) const; + [[nodiscard]] auto ContentTarget() const; + auto ContentTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const; + [[nodiscard]] auto OpenedLength() const; + auto OpenedLength(double value) const; + [[nodiscard]] auto ClosedLength() const; + auto ClosedLength(double value) const; + [[nodiscard]] auto OffsetFromCenter() const; + auto OffsetFromCenter(double value) const; + [[nodiscard]] auto ContentTranslationDirection() const; + auto ContentTranslationDirection(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection const& value) const; + [[nodiscard]] auto ContentTranslationOffset() const; + auto ContentTranslationOffset(double value) const; }; template <> struct consume { @@ -3918,17 +3918,17 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OpenedTargetNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OpenedTargetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ClosedTargetNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ClosedTargetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentTargetNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentTargetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OpenedLengthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ClosedLengthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OffsetFromCenterProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentTranslationDirectionProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ContentTranslationOffsetProperty() const; + [[nodiscard]] auto OpenedTargetNameProperty() const; + [[nodiscard]] auto OpenedTargetProperty() const; + [[nodiscard]] auto ClosedTargetNameProperty() const; + [[nodiscard]] auto ClosedTargetProperty() const; + [[nodiscard]] auto ContentTargetNameProperty() const; + [[nodiscard]] auto ContentTargetProperty() const; + [[nodiscard]] auto OpenedLengthProperty() const; + [[nodiscard]] auto ClosedLengthProperty() const; + [[nodiscard]] auto OffsetFromCenterProperty() const; + [[nodiscard]] auto ContentTranslationDirectionProperty() const; + [[nodiscard]] auto ContentTranslationOffsetProperty() const; }; template <> struct consume { @@ -3937,16 +3937,16 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IStoryboard { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TimelineCollection) Children() const; - WINRT_IMPL_AUTO(void) Seek(winrt::Windows::Foundation::TimeSpan const& offset) const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(void) Begin() const; - WINRT_IMPL_AUTO(void) Pause() const; - WINRT_IMPL_AUTO(void) Resume() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ClockState) GetCurrentState() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) GetCurrentTime() const; - WINRT_IMPL_AUTO(void) SeekAlignedToLastTick(winrt::Windows::Foundation::TimeSpan const& offset) const; - WINRT_IMPL_AUTO(void) SkipToFill() const; + [[nodiscard]] auto Children() const; + auto Seek(winrt::Windows::Foundation::TimeSpan const& offset) const; + auto Stop() const; + auto Begin() const; + auto Pause() const; + auto Resume() const; + auto GetCurrentState() const; + auto GetCurrentTime() const; + auto SeekAlignedToLastTick(winrt::Windows::Foundation::TimeSpan const& offset) const; + auto SkipToFill() const; }; template <> struct consume { @@ -3955,13 +3955,13 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetPropertyProperty() const; - WINRT_IMPL_AUTO(hstring) GetTargetProperty(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element) const; - WINRT_IMPL_AUTO(void) SetTargetProperty(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element, param::hstring const& path) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetNameProperty() const; - WINRT_IMPL_AUTO(hstring) GetTargetName(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element) const; - WINRT_IMPL_AUTO(void) SetTargetName(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element, param::hstring const& name) const; - WINRT_IMPL_AUTO(void) SetTarget(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& timeline, winrt::Windows::UI::Xaml::DependencyObject const& target) const; + [[nodiscard]] auto TargetPropertyProperty() const; + auto GetTargetProperty(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element) const; + auto SetTargetProperty(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element, param::hstring const& path) const; + [[nodiscard]] auto TargetNameProperty() const; + auto GetTargetName(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element) const; + auto SetTargetName(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element, param::hstring const& name) const; + auto SetTarget(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& timeline, winrt::Windows::UI::Xaml::DependencyObject const& target) const; }; template <> struct consume { @@ -3978,12 +3978,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TargetName() const; - WINRT_IMPL_AUTO(void) TargetName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FromHorizontalOffset() const; - WINRT_IMPL_AUTO(void) FromHorizontalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) FromVerticalOffset() const; - WINRT_IMPL_AUTO(void) FromVerticalOffset(double value) const; + [[nodiscard]] auto TargetName() const; + auto TargetName(param::hstring const& value) const; + [[nodiscard]] auto FromHorizontalOffset() const; + auto FromHorizontalOffset(double value) const; + [[nodiscard]] auto FromVerticalOffset() const; + auto FromVerticalOffset(double value) const; }; template <> struct consume { @@ -3992,9 +3992,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FromHorizontalOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FromVerticalOffsetProperty() const; + [[nodiscard]] auto TargetNameProperty() const; + [[nodiscard]] auto FromHorizontalOffsetProperty() const; + [[nodiscard]] auto FromVerticalOffsetProperty() const; }; template <> struct consume { @@ -4003,12 +4003,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) TargetName() const; - WINRT_IMPL_AUTO(void) TargetName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ToHorizontalOffset() const; - WINRT_IMPL_AUTO(void) ToHorizontalOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ToVerticalOffset() const; - WINRT_IMPL_AUTO(void) ToVerticalOffset(double value) const; + [[nodiscard]] auto TargetName() const; + auto TargetName(param::hstring const& value) const; + [[nodiscard]] auto ToHorizontalOffset() const; + auto ToHorizontalOffset(double value) const; + [[nodiscard]] auto ToVerticalOffset() const; + auto ToVerticalOffset(double value) const; }; template <> struct consume { @@ -4017,9 +4017,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimationStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TargetNameProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ToHorizontalOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ToVerticalOffsetProperty() const; + [[nodiscard]] auto TargetNameProperty() const; + [[nodiscard]] auto ToHorizontalOffsetProperty() const; + [[nodiscard]] auto ToVerticalOffsetProperty() const; }; template <> struct consume { @@ -4028,22 +4028,22 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ITimeline { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoReverse() const; - WINRT_IMPL_AUTO(void) AutoReverse(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) BeginTime() const; - WINRT_IMPL_AUTO(void) BeginTime(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) Duration() const; - WINRT_IMPL_AUTO(void) Duration(winrt::Windows::UI::Xaml::Duration const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) SpeedRatio() const; - WINRT_IMPL_AUTO(void) SpeedRatio(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::FillBehavior) FillBehavior() const; - WINRT_IMPL_AUTO(void) FillBehavior(winrt::Windows::UI::Xaml::Media::Animation::FillBehavior const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior) RepeatBehavior() const; - WINRT_IMPL_AUTO(void) RepeatBehavior(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& value) const; - WINRT_IMPL_AUTO(winrt::event_token) Completed(winrt::Windows::Foundation::EventHandler const& handler) const; + [[nodiscard]] auto AutoReverse() const; + auto AutoReverse(bool value) const; + [[nodiscard]] auto BeginTime() const; + auto BeginTime(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Duration() const; + auto Duration(winrt::Windows::UI::Xaml::Duration const& value) const; + [[nodiscard]] auto SpeedRatio() const; + auto SpeedRatio(double value) const; + [[nodiscard]] auto FillBehavior() const; + auto FillBehavior(winrt::Windows::UI::Xaml::Media::Animation::FillBehavior const& value) const; + [[nodiscard]] auto RepeatBehavior() const; + auto RepeatBehavior(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& value) const; + auto Completed(winrt::Windows::Foundation::EventHandler const& handler) const; using Completed_revoker = impl::event_revoker::remove_Completed>; - [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Completed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; + auto Completed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -4052,7 +4052,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ITimelineFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::Timeline) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -4061,14 +4061,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowDependentAnimations() const; - WINRT_IMPL_AUTO(void) AllowDependentAnimations(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AutoReverseProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) BeginTimeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DurationProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SpeedRatioProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FillBehaviorProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RepeatBehaviorProperty() const; + [[nodiscard]] auto AllowDependentAnimations() const; + auto AllowDependentAnimations(bool value) const; + [[nodiscard]] auto AutoReverseProperty() const; + [[nodiscard]] auto BeginTimeProperty() const; + [[nodiscard]] auto DurationProperty() const; + [[nodiscard]] auto SpeedRatioProperty() const; + [[nodiscard]] auto FillBehaviorProperty() const; + [[nodiscard]] auto RepeatBehaviorProperty() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.1.h index 02013ca0..c6ee6927 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_Animation_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.2.h index 2abef3a7..74410fde 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_Animation_2_H @@ -853,8 +853,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media::Animation D const& shim() const noexcept { return *static_cast(this); } public: using INavigationTransitionInfoOverrides = winrt::Windows::UI::Xaml::Media::Animation::INavigationTransitionInfoOverrides; - WINRT_IMPL_AUTO(hstring) GetNavigationStateCore() const; - WINRT_IMPL_AUTO(void) SetNavigationStateCore(param::hstring const& navigationState) const; + auto GetNavigationStateCore() const; + auto SetNavigationStateCore(param::hstring const& navigationState) const; }; } #endif diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.0.h index bdc24e9d..7eea2f2f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_Imaging_0_H @@ -11,7 +11,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } @@ -475,26 +474,26 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::BitmapCreateOptions) CreateOptions() const; - WINRT_IMPL_AUTO(void) CreateOptions(winrt::Windows::UI::Xaml::Media::Imaging::BitmapCreateOptions const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) UriSource() const; - WINRT_IMPL_AUTO(void) UriSource(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DecodePixelWidth() const; - WINRT_IMPL_AUTO(void) DecodePixelWidth(int32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DecodePixelHeight() const; - WINRT_IMPL_AUTO(void) DecodePixelHeight(int32_t value) const; - WINRT_IMPL_AUTO(winrt::event_token) DownloadProgress(winrt::Windows::UI::Xaml::Media::Imaging::DownloadProgressEventHandler const& handler) const; + [[nodiscard]] auto CreateOptions() const; + auto CreateOptions(winrt::Windows::UI::Xaml::Media::Imaging::BitmapCreateOptions const& value) const; + [[nodiscard]] auto UriSource() const; + auto UriSource(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto DecodePixelWidth() const; + auto DecodePixelWidth(int32_t value) const; + [[nodiscard]] auto DecodePixelHeight() const; + auto DecodePixelHeight(int32_t value) const; + auto DownloadProgress(winrt::Windows::UI::Xaml::Media::Imaging::DownloadProgressEventHandler const& handler) const; using DownloadProgress_revoker = impl::event_revoker::remove_DownloadProgress>; - [[nodiscard]] DownloadProgress_revoker DownloadProgress(auto_revoke_t, winrt::Windows::UI::Xaml::Media::Imaging::DownloadProgressEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DownloadProgress(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ImageOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + [[nodiscard]] auto DownloadProgress(auto_revoke_t, winrt::Windows::UI::Xaml::Media::Imaging::DownloadProgressEventHandler const& handler) const; + auto DownloadProgress(winrt::event_token const& token) const noexcept; + auto ImageOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; using ImageOpened_revoker = impl::event_revoker::remove_ImageOpened>; - [[nodiscard]] ImageOpened_revoker ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ImageOpened(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ImageFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const; + [[nodiscard]] auto ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const; + auto ImageOpened(winrt::event_token const& token) const noexcept; + auto ImageFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const; using ImageFailed_revoker = impl::event_revoker::remove_ImageFailed>; - [[nodiscard]] ImageFailed_revoker ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ImageFailed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const; + auto ImageFailed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -503,8 +502,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::DecodePixelType) DecodePixelType() const; - WINRT_IMPL_AUTO(void) DecodePixelType(winrt::Windows::UI::Xaml::Media::Imaging::DecodePixelType const& value) const; + [[nodiscard]] auto DecodePixelType() const; + auto DecodePixelType(winrt::Windows::UI::Xaml::Media::Imaging::DecodePixelType const& value) const; }; template <> struct consume { @@ -513,12 +512,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3 { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAnimatedBitmap() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPlaying() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoPlay() const; - WINRT_IMPL_AUTO(void) AutoPlay(bool value) const; - WINRT_IMPL_AUTO(void) Play() const; - WINRT_IMPL_AUTO(void) Stop() const; + [[nodiscard]] auto IsAnimatedBitmap() const; + [[nodiscard]] auto IsPlaying() const; + [[nodiscard]] auto AutoPlay() const; + auto AutoPlay(bool value) const; + auto Play() const; + auto Stop() const; }; template <> struct consume { @@ -527,7 +526,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage) CreateInstanceWithUriSource(winrt::Windows::Foundation::Uri const& uriSource) const; + auto CreateInstanceWithUriSource(winrt::Windows::Foundation::Uri const& uriSource) const; }; template <> struct consume { @@ -536,10 +535,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CreateOptionsProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) UriSourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DecodePixelWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DecodePixelHeightProperty() const; + [[nodiscard]] auto CreateOptionsProperty() const; + [[nodiscard]] auto UriSourceProperty() const; + [[nodiscard]] auto DecodePixelWidthProperty() const; + [[nodiscard]] auto DecodePixelHeightProperty() const; }; template <> struct consume { @@ -548,7 +547,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DecodePixelTypeProperty() const; + [[nodiscard]] auto DecodePixelTypeProperty() const; }; template <> struct consume { @@ -557,9 +556,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsAnimatedBitmapProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsPlayingProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) AutoPlayProperty() const; + [[nodiscard]] auto IsAnimatedBitmapProperty() const; + [[nodiscard]] auto IsPlayingProperty() const; + [[nodiscard]] auto AutoPlayProperty() const; }; template <> struct consume { @@ -568,10 +567,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PixelWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PixelHeight() const; - WINRT_IMPL_AUTO(void) SetSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& streamSource) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetSourceAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& streamSource) const; + [[nodiscard]] auto PixelWidth() const; + [[nodiscard]] auto PixelHeight() const; + auto SetSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& streamSource) const; + auto SetSourceAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& streamSource) const; }; template <> struct consume { @@ -580,7 +579,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IBitmapSourceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::BitmapSource) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -589,8 +588,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IBitmapSourceStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PixelWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PixelHeightProperty() const; + [[nodiscard]] auto PixelWidthProperty() const; + [[nodiscard]] auto PixelHeightProperty() const; }; template <> struct consume { @@ -599,8 +598,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IDownloadProgressEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Progress() const; - WINRT_IMPL_AUTO(void) Progress(int32_t value) const; + [[nodiscard]] auto Progress() const; + auto Progress(int32_t value) const; }; template <> struct consume { @@ -609,11 +608,11 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PixelWidth() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PixelHeight() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RenderAsync(winrt::Windows::UI::Xaml::UIElement const& element) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RenderAsync(winrt::Windows::UI::Xaml::UIElement const& element, int32_t scaledWidth, int32_t scaledHeight) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetPixelsAsync() const; + [[nodiscard]] auto PixelWidth() const; + [[nodiscard]] auto PixelHeight() const; + auto RenderAsync(winrt::Windows::UI::Xaml::UIElement const& element) const; + auto RenderAsync(winrt::Windows::UI::Xaml::UIElement const& element, int32_t scaledWidth, int32_t scaledHeight) const; + auto GetPixelsAsync() const; }; template <> struct consume { @@ -622,8 +621,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmapStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PixelWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PixelHeightProperty() const; + [[nodiscard]] auto PixelWidthProperty() const; + [[nodiscard]] auto PixelHeightProperty() const; }; template <> struct consume { @@ -632,7 +631,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_ISoftwareBitmapSource { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetBitmapAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const; + auto SetBitmapAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const; }; template <> struct consume { @@ -649,8 +648,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_ISurfaceImageSourceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::SurfaceImageSource) CreateInstanceWithDimensions(int32_t pixelWidth, int32_t pixelHeight, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::SurfaceImageSource) CreateInstanceWithDimensionsAndOpacity(int32_t pixelWidth, int32_t pixelHeight, bool isOpaque, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithDimensions(int32_t pixelWidth, int32_t pixelHeight, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithDimensionsAndOpacity(int32_t pixelWidth, int32_t pixelHeight, bool isOpaque, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -659,21 +658,21 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) UriSource() const; - WINRT_IMPL_AUTO(void) UriSource(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RasterizePixelWidth() const; - WINRT_IMPL_AUTO(void) RasterizePixelWidth(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RasterizePixelHeight() const; - WINRT_IMPL_AUTO(void) RasterizePixelHeight(double value) const; - WINRT_IMPL_AUTO(winrt::event_token) Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto UriSource() const; + auto UriSource(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto RasterizePixelWidth() const; + auto RasterizePixelWidth(double value) const; + [[nodiscard]] auto RasterizePixelHeight() const; + auto RasterizePixelHeight(double value) const; + auto Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using Opened_revoker = impl::event_revoker::remove_Opened>; - [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Opened(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) OpenFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Opened(winrt::event_token const& token) const noexcept; + auto OpenFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using OpenFailed_revoker = impl::event_revoker::remove_OpenFailed>; - [[nodiscard]] OpenFailed_revoker OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) OpenFailed(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetSourceAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& streamSource) const; + [[nodiscard]] auto OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto OpenFailed(winrt::event_token const& token) const noexcept; + auto SetSourceAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& streamSource) const; }; template <> struct consume { @@ -682,8 +681,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource) CreateInstanceWithUriSource(winrt::Windows::Foundation::Uri const& uriSource, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstanceWithUriSource(winrt::Windows::Foundation::Uri const& uriSource, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -692,7 +691,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceFailedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceLoadStatus) Status() const; + [[nodiscard]] auto Status() const; }; template <> struct consume { @@ -709,9 +708,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) UriSourceProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RasterizePixelWidthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RasterizePixelHeightProperty() const; + [[nodiscard]] auto UriSourceProperty() const; + [[nodiscard]] auto RasterizePixelWidthProperty() const; + [[nodiscard]] auto RasterizePixelHeightProperty() const; }; template <> struct consume { @@ -728,8 +727,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IVirtualSurfaceImageSourceFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::VirtualSurfaceImageSource) CreateInstanceWithDimensions(int32_t pixelWidth, int32_t pixelHeight) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::VirtualSurfaceImageSource) CreateInstanceWithDimensionsAndOpacity(int32_t pixelWidth, int32_t pixelHeight, bool isOpaque) const; + auto CreateInstanceWithDimensions(int32_t pixelWidth, int32_t pixelHeight) const; + auto CreateInstanceWithDimensionsAndOpacity(int32_t pixelWidth, int32_t pixelHeight, bool isOpaque) const; }; template <> struct consume { @@ -738,8 +737,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IWriteableBitmap { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) PixelBuffer() const; - WINRT_IMPL_AUTO(void) Invalidate() const; + [[nodiscard]] auto PixelBuffer() const; + auto Invalidate() const; }; template <> struct consume { @@ -748,7 +747,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IWriteableBitmapFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::WriteableBitmap) CreateInstanceWithDimensions(int32_t pixelWidth, int32_t pixelHeight) const; + auto CreateInstanceWithDimensions(int32_t pixelWidth, int32_t pixelHeight) const; }; template <> struct consume { @@ -765,7 +764,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IXamlRenderingBackgroundTaskFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::XamlRenderingBackgroundTask) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -774,7 +773,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Imaging_IXamlRenderingBackgroundTaskOverrides { - WINRT_IMPL_AUTO(void) OnRun(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const; + auto OnRun(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.1.h index 62399e1f..ad89e2d5 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_Imaging_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.2.h index 14ce9935..3d328c9c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_Imaging_2_H @@ -131,7 +131,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media::Imaging D const& shim() const noexcept { return *static_cast(this); } public: using IXamlRenderingBackgroundTaskOverrides = winrt::Windows::UI::Xaml::Media::Imaging::IXamlRenderingBackgroundTaskOverrides; - WINRT_IMPL_AUTO(void) OnRun(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const; + auto OnRun(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const; }; } #endif diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.0.h index ddbb1c3d..ecf1c253 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_Media3D_0_H @@ -166,30 +166,30 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D { - [[nodiscard]] WINRT_IMPL_AUTO(double) CenterX() const; - WINRT_IMPL_AUTO(void) CenterX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CenterY() const; - WINRT_IMPL_AUTO(void) CenterY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) CenterZ() const; - WINRT_IMPL_AUTO(void) CenterZ(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RotationX() const; - WINRT_IMPL_AUTO(void) RotationX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RotationY() const; - WINRT_IMPL_AUTO(void) RotationY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RotationZ() const; - WINRT_IMPL_AUTO(void) RotationZ(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ScaleX() const; - WINRT_IMPL_AUTO(void) ScaleX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ScaleY() const; - WINRT_IMPL_AUTO(void) ScaleY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) ScaleZ() const; - WINRT_IMPL_AUTO(void) ScaleZ(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) TranslateX() const; - WINRT_IMPL_AUTO(void) TranslateX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) TranslateY() const; - WINRT_IMPL_AUTO(void) TranslateY(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) TranslateZ() const; - WINRT_IMPL_AUTO(void) TranslateZ(double value) const; + [[nodiscard]] auto CenterX() const; + auto CenterX(double value) const; + [[nodiscard]] auto CenterY() const; + auto CenterY(double value) const; + [[nodiscard]] auto CenterZ() const; + auto CenterZ(double value) const; + [[nodiscard]] auto RotationX() const; + auto RotationX(double value) const; + [[nodiscard]] auto RotationY() const; + auto RotationY(double value) const; + [[nodiscard]] auto RotationZ() const; + auto RotationZ(double value) const; + [[nodiscard]] auto ScaleX() const; + auto ScaleX(double value) const; + [[nodiscard]] auto ScaleY() const; + auto ScaleY(double value) const; + [[nodiscard]] auto ScaleZ() const; + auto ScaleZ(double value) const; + [[nodiscard]] auto TranslateX() const; + auto TranslateX(double value) const; + [[nodiscard]] auto TranslateY() const; + auto TranslateY(double value) const; + [[nodiscard]] auto TranslateZ() const; + auto TranslateZ(double value) const; }; template <> struct consume { @@ -198,18 +198,18 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CenterXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CenterYProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CenterZProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RotationXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RotationYProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RotationZProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ScaleXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ScaleYProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ScaleZProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TranslateXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TranslateYProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) TranslateZProperty() const; + [[nodiscard]] auto CenterXProperty() const; + [[nodiscard]] auto CenterYProperty() const; + [[nodiscard]] auto CenterZProperty() const; + [[nodiscard]] auto RotationXProperty() const; + [[nodiscard]] auto RotationYProperty() const; + [[nodiscard]] auto RotationZProperty() const; + [[nodiscard]] auto ScaleXProperty() const; + [[nodiscard]] auto ScaleYProperty() const; + [[nodiscard]] auto ScaleZProperty() const; + [[nodiscard]] auto TranslateXProperty() const; + [[nodiscard]] auto TranslateYProperty() const; + [[nodiscard]] auto TranslateZProperty() const; }; template <> struct consume { @@ -226,12 +226,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) Identity() const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) Multiply(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& matrix1, winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& matrix2) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) FromElements(double m11, double m12, double m13, double m14, double m21, double m22, double m23, double m24, double m31, double m32, double m33, double m34, double offsetX, double offsetY, double offsetZ, double m44) const; - WINRT_IMPL_AUTO(bool) GetHasInverse(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& target) const; - WINRT_IMPL_AUTO(bool) GetIsIdentity(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& target) const; - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) Invert(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& target) const; + [[nodiscard]] auto Identity() const; + auto Multiply(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& matrix1, winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& matrix2) const; + auto FromElements(double m11, double m12, double m13, double m14, double m21, double m22, double m23, double m24, double m31, double m32, double m33, double m34, double offsetX, double offsetY, double offsetZ, double m44) const; + auto GetHasInverse(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& target) const; + auto GetIsIdentity(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& target) const; + auto Invert(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& target) const; }; template <> struct consume { @@ -240,12 +240,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D { - [[nodiscard]] WINRT_IMPL_AUTO(double) Depth() const; - WINRT_IMPL_AUTO(void) Depth(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OffsetX() const; - WINRT_IMPL_AUTO(void) OffsetX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) OffsetY() const; - WINRT_IMPL_AUTO(void) OffsetY(double value) const; + [[nodiscard]] auto Depth() const; + auto Depth(double value) const; + [[nodiscard]] auto OffsetX() const; + auto OffsetX(double value) const; + [[nodiscard]] auto OffsetY() const; + auto OffsetY(double value) const; }; template <> struct consume { @@ -254,9 +254,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3DStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DepthProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OffsetXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) OffsetYProperty() const; + [[nodiscard]] auto DepthProperty() const; + [[nodiscard]] auto OffsetXProperty() const; + [[nodiscard]] auto OffsetYProperty() const; }; template <> struct consume { @@ -273,7 +273,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Media_Media3D_ITransform3DFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Transform3D) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.1.h index 95a10061..78e66876 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_Media3D_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.2.h index 35808240..17c431ee 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_Media3D_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.0.h index 2ce67679..3392a375 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Navigation_0_H @@ -247,10 +247,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions { - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsNavigationStackEnabled() const; - WINRT_IMPL_AUTO(void) IsNavigationStackEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) TransitionInfoOverride() const; - WINRT_IMPL_AUTO(void) TransitionInfoOverride(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& value) const; + [[nodiscard]] auto IsNavigationStackEnabled() const; + auto IsNavigationStackEnabled(bool value) const; + [[nodiscard]] auto TransitionInfoOverride() const; + auto TransitionInfoOverride(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& value) const; }; template <> struct consume { @@ -259,7 +259,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptionsFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Navigation::FrameNavigationOptions) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -268,10 +268,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Navigation::NavigationMode) NavigationMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) SourcePageType() const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; + [[nodiscard]] auto NavigationMode() const; + [[nodiscard]] auto SourcePageType() const; }; template <> struct consume { @@ -280,8 +280,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Parameter() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) NavigationTransitionInfo() const; + [[nodiscard]] auto Parameter() const; + [[nodiscard]] auto NavigationTransitionInfo() const; }; template <> struct consume { @@ -290,12 +290,12 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Navigation_INavigationEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Content() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Parameter() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) SourcePageType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Navigation::NavigationMode) NavigationMode() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - WINRT_IMPL_AUTO(void) Uri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Content() const; + [[nodiscard]] auto Parameter() const; + [[nodiscard]] auto SourcePageType() const; + [[nodiscard]] auto NavigationMode() const; + [[nodiscard]] auto Uri() const; + auto Uri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -304,7 +304,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Navigation_INavigationEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) NavigationTransitionInfo() const; + [[nodiscard]] auto NavigationTransitionInfo() const; }; template <> struct consume { @@ -313,10 +313,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) Exception() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) SourcePageType() const; + [[nodiscard]] auto Exception() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; + [[nodiscard]] auto SourcePageType() const; }; template <> struct consume { @@ -325,9 +325,9 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Navigation_IPageStackEntry { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) SourcePageType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Parameter() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) NavigationTransitionInfo() const; + [[nodiscard]] auto SourcePageType() const; + [[nodiscard]] auto Parameter() const; + [[nodiscard]] auto NavigationTransitionInfo() const; }; template <> struct consume { @@ -336,7 +336,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Navigation_IPageStackEntryFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Navigation::PageStackEntry) CreateInstance(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter, winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& navigationTransitionInfo) const; + auto CreateInstance(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter, winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& navigationTransitionInfo) const; }; template <> struct consume { @@ -345,7 +345,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Navigation_IPageStackEntryStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) SourcePageTypeProperty() const; + [[nodiscard]] auto SourcePageTypeProperty() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.1.h index 66027aa7..cc57315b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Navigation_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.2.h index b3852c07..0ba97e47 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Navigation_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.0.h index 16a7145a..4a70139d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Printing_0_H @@ -159,7 +159,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Printing_IAddPagesEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskOptions) PrintTaskOptions() const; + [[nodiscard]] auto PrintTaskOptions() const; }; template <> struct consume { @@ -168,7 +168,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Printing_IGetPreviewPageEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PageNumber() const; + [[nodiscard]] auto PageNumber() const; }; template <> struct consume { @@ -177,8 +177,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Printing_IPaginateEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskOptions) PrintTaskOptions() const; - [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CurrentPreviewPageNumber() const; + [[nodiscard]] auto PrintTaskOptions() const; + [[nodiscard]] auto CurrentPreviewPageNumber() const; }; template <> struct consume { @@ -187,24 +187,24 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Printing_IPrintDocument { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::IPrintDocumentSource) DocumentSource() const; - WINRT_IMPL_AUTO(winrt::event_token) Paginate(winrt::Windows::UI::Xaml::Printing::PaginateEventHandler const& handler) const; + [[nodiscard]] auto DocumentSource() const; + auto Paginate(winrt::Windows::UI::Xaml::Printing::PaginateEventHandler const& handler) const; using Paginate_revoker = impl::event_revoker::remove_Paginate>; - [[nodiscard]] Paginate_revoker Paginate(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::PaginateEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) Paginate(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) GetPreviewPage(winrt::Windows::UI::Xaml::Printing::GetPreviewPageEventHandler const& handler) const; + [[nodiscard]] auto Paginate(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::PaginateEventHandler const& handler) const; + auto Paginate(winrt::event_token const& token) const noexcept; + auto GetPreviewPage(winrt::Windows::UI::Xaml::Printing::GetPreviewPageEventHandler const& handler) const; using GetPreviewPage_revoker = impl::event_revoker::remove_GetPreviewPage>; - [[nodiscard]] GetPreviewPage_revoker GetPreviewPage(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::GetPreviewPageEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GetPreviewPage(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AddPages(winrt::Windows::UI::Xaml::Printing::AddPagesEventHandler const& handler) const; + [[nodiscard]] auto GetPreviewPage(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::GetPreviewPageEventHandler const& handler) const; + auto GetPreviewPage(winrt::event_token const& token) const noexcept; + auto AddPages(winrt::Windows::UI::Xaml::Printing::AddPagesEventHandler const& handler) const; using AddPages_revoker = impl::event_revoker::remove_AddPages>; - [[nodiscard]] AddPages_revoker AddPages(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::AddPagesEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AddPages(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) AddPage(winrt::Windows::UI::Xaml::UIElement const& pageVisual) const; - WINRT_IMPL_AUTO(void) AddPagesComplete() const; - WINRT_IMPL_AUTO(void) SetPreviewPageCount(int32_t count, winrt::Windows::UI::Xaml::Printing::PreviewPageCountType const& type) const; - WINRT_IMPL_AUTO(void) SetPreviewPage(int32_t pageNumber, winrt::Windows::UI::Xaml::UIElement const& pageVisual) const; - WINRT_IMPL_AUTO(void) InvalidatePreview() const; + [[nodiscard]] auto AddPages(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::AddPagesEventHandler const& handler) const; + auto AddPages(winrt::event_token const& token) const noexcept; + auto AddPage(winrt::Windows::UI::Xaml::UIElement const& pageVisual) const; + auto AddPagesComplete() const; + auto SetPreviewPageCount(int32_t count, winrt::Windows::UI::Xaml::Printing::PreviewPageCountType const& type) const; + auto SetPreviewPage(int32_t pageNumber, winrt::Windows::UI::Xaml::UIElement const& pageVisual) const; + auto InvalidatePreview() const; }; template <> struct consume { @@ -213,7 +213,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Printing_IPrintDocumentFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Printing::PrintDocument) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -222,7 +222,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Printing_IPrintDocumentStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DocumentSourceProperty() const; + [[nodiscard]] auto DocumentSourceProperty() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.1.h index 51bf273c..a920689a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Printing_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.2.h index 30ae41e0..10439108 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Printing_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.0.h index 1fb67985..bcd3e1d6 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Resources_0_H @@ -67,7 +67,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Resources::CustomXamlResourceLoader) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -76,7 +76,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderOverrides { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetResource(param::hstring const& resourceId, param::hstring const& objectType, param::hstring const& propertyName, param::hstring const& propertyType) const; + auto GetResource(param::hstring const& resourceId, param::hstring const& objectType, param::hstring const& propertyName, param::hstring const& propertyType) const; }; template <> struct consume { @@ -85,8 +85,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Resources::CustomXamlResourceLoader) Current() const; - WINRT_IMPL_AUTO(void) Current(winrt::Windows::UI::Xaml::Resources::CustomXamlResourceLoader const& value) const; + [[nodiscard]] auto Current() const; + auto Current(winrt::Windows::UI::Xaml::Resources::CustomXamlResourceLoader const& value) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.1.h index a796648c..5a4642af 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Resources_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.2.h index c1ba2928..525a55c3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Resources_2_H @@ -22,7 +22,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Resources D const& shim() const noexcept { return *static_cast(this); } public: using ICustomXamlResourceLoaderOverrides = winrt::Windows::UI::Xaml::Resources::ICustomXamlResourceLoaderOverrides; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetResource(param::hstring const& resourceId, param::hstring const& objectType, param::hstring const& propertyName, param::hstring const& propertyType) const; + auto GetResource(param::hstring const& resourceId, param::hstring const& objectType, param::hstring const& propertyName, param::hstring const& propertyType) const; }; } #endif diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.0.h index bf8fb675..52306141 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Shapes_0_H @@ -297,14 +297,14 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Shapes_ILine { - [[nodiscard]] WINRT_IMPL_AUTO(double) X1() const; - WINRT_IMPL_AUTO(void) X1(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Y1() const; - WINRT_IMPL_AUTO(void) Y1(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) X2() const; - WINRT_IMPL_AUTO(void) X2(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Y2() const; - WINRT_IMPL_AUTO(void) Y2(double value) const; + [[nodiscard]] auto X1() const; + auto X1(double value) const; + [[nodiscard]] auto Y1() const; + auto Y1(double value) const; + [[nodiscard]] auto X2() const; + auto X2(double value) const; + [[nodiscard]] auto Y2() const; + auto Y2(double value) const; }; template <> struct consume { @@ -313,10 +313,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Shapes_ILineStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) X1Property() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Y1Property() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) X2Property() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) Y2Property() const; + [[nodiscard]] auto X1Property() const; + [[nodiscard]] auto Y1Property() const; + [[nodiscard]] auto X2Property() const; + [[nodiscard]] auto Y2Property() const; }; template <> struct consume { @@ -325,8 +325,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Shapes_IPath { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Geometry) Data() const; - WINRT_IMPL_AUTO(void) Data(winrt::Windows::UI::Xaml::Media::Geometry const& value) const; + [[nodiscard]] auto Data() const; + auto Data(winrt::Windows::UI::Xaml::Media::Geometry const& value) const; }; template <> struct consume { @@ -335,7 +335,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Shapes_IPathFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Shapes::Path) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -344,7 +344,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Shapes_IPathStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) DataProperty() const; + [[nodiscard]] auto DataProperty() const; }; template <> struct consume { @@ -353,10 +353,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Shapes_IPolygon { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FillRule) FillRule() const; - WINRT_IMPL_AUTO(void) FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PointCollection) Points() const; - WINRT_IMPL_AUTO(void) Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const; + [[nodiscard]] auto FillRule() const; + auto FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const; + [[nodiscard]] auto Points() const; + auto Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const; }; template <> struct consume { @@ -365,8 +365,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Shapes_IPolygonStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FillRuleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointsProperty() const; + [[nodiscard]] auto FillRuleProperty() const; + [[nodiscard]] auto PointsProperty() const; }; template <> struct consume { @@ -375,10 +375,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Shapes_IPolyline { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FillRule) FillRule() const; - WINRT_IMPL_AUTO(void) FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PointCollection) Points() const; - WINRT_IMPL_AUTO(void) Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const; + [[nodiscard]] auto FillRule() const; + auto FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const; + [[nodiscard]] auto Points() const; + auto Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const; }; template <> struct consume { @@ -387,8 +387,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Shapes_IPolylineStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FillRuleProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) PointsProperty() const; + [[nodiscard]] auto FillRuleProperty() const; + [[nodiscard]] auto PointsProperty() const; }; template <> struct consume { @@ -397,10 +397,10 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Shapes_IRectangle { - [[nodiscard]] WINRT_IMPL_AUTO(double) RadiusX() const; - WINRT_IMPL_AUTO(void) RadiusX(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) RadiusY() const; - WINRT_IMPL_AUTO(void) RadiusY(double value) const; + [[nodiscard]] auto RadiusX() const; + auto RadiusX(double value) const; + [[nodiscard]] auto RadiusY() const; + auto RadiusY(double value) const; }; template <> struct consume { @@ -409,8 +409,8 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Shapes_IRectangleStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RadiusXProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RadiusYProperty() const; + [[nodiscard]] auto RadiusXProperty() const; + [[nodiscard]] auto RadiusYProperty() const; }; template <> struct consume { @@ -419,29 +419,29 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Shapes_IShape { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Fill() const; - WINRT_IMPL_AUTO(void) Fill(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) Stroke() const; - WINRT_IMPL_AUTO(void) Stroke(winrt::Windows::UI::Xaml::Media::Brush const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) StrokeMiterLimit() const; - WINRT_IMPL_AUTO(void) StrokeMiterLimit(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) StrokeThickness() const; - WINRT_IMPL_AUTO(void) StrokeThickness(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PenLineCap) StrokeStartLineCap() const; - WINRT_IMPL_AUTO(void) StrokeStartLineCap(winrt::Windows::UI::Xaml::Media::PenLineCap const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PenLineCap) StrokeEndLineCap() const; - WINRT_IMPL_AUTO(void) StrokeEndLineCap(winrt::Windows::UI::Xaml::Media::PenLineCap const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PenLineJoin) StrokeLineJoin() const; - WINRT_IMPL_AUTO(void) StrokeLineJoin(winrt::Windows::UI::Xaml::Media::PenLineJoin const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) StrokeDashOffset() const; - WINRT_IMPL_AUTO(void) StrokeDashOffset(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PenLineCap) StrokeDashCap() const; - WINRT_IMPL_AUTO(void) StrokeDashCap(winrt::Windows::UI::Xaml::Media::PenLineCap const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::DoubleCollection) StrokeDashArray() const; - WINRT_IMPL_AUTO(void) StrokeDashArray(winrt::Windows::UI::Xaml::Media::DoubleCollection const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) Stretch() const; - WINRT_IMPL_AUTO(void) Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Transform) GeometryTransform() const; + [[nodiscard]] auto Fill() const; + auto Fill(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto Stroke() const; + auto Stroke(winrt::Windows::UI::Xaml::Media::Brush const& value) const; + [[nodiscard]] auto StrokeMiterLimit() const; + auto StrokeMiterLimit(double value) const; + [[nodiscard]] auto StrokeThickness() const; + auto StrokeThickness(double value) const; + [[nodiscard]] auto StrokeStartLineCap() const; + auto StrokeStartLineCap(winrt::Windows::UI::Xaml::Media::PenLineCap const& value) const; + [[nodiscard]] auto StrokeEndLineCap() const; + auto StrokeEndLineCap(winrt::Windows::UI::Xaml::Media::PenLineCap const& value) const; + [[nodiscard]] auto StrokeLineJoin() const; + auto StrokeLineJoin(winrt::Windows::UI::Xaml::Media::PenLineJoin const& value) const; + [[nodiscard]] auto StrokeDashOffset() const; + auto StrokeDashOffset(double value) const; + [[nodiscard]] auto StrokeDashCap() const; + auto StrokeDashCap(winrt::Windows::UI::Xaml::Media::PenLineCap const& value) const; + [[nodiscard]] auto StrokeDashArray() const; + auto StrokeDashArray(winrt::Windows::UI::Xaml::Media::DoubleCollection const& value) const; + [[nodiscard]] auto Stretch() const; + auto Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const; + [[nodiscard]] auto GeometryTransform() const; }; template <> struct consume { @@ -450,7 +450,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Shapes_IShape2 { - WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) GetAlphaMask() const; + auto GetAlphaMask() const; }; template <> struct consume { @@ -459,7 +459,7 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Shapes_IShapeFactory { - WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Shapes::Shape) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; }; template <> struct consume { @@ -468,17 +468,17 @@ namespace winrt::impl template struct consume_Windows_UI_Xaml_Shapes_IShapeStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) FillProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StrokeProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StrokeMiterLimitProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StrokeThicknessProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StrokeStartLineCapProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StrokeEndLineCapProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StrokeLineJoinProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StrokeDashOffsetProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StrokeDashCapProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StrokeDashArrayProperty() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) StretchProperty() const; + [[nodiscard]] auto FillProperty() const; + [[nodiscard]] auto StrokeProperty() const; + [[nodiscard]] auto StrokeMiterLimitProperty() const; + [[nodiscard]] auto StrokeThicknessProperty() const; + [[nodiscard]] auto StrokeStartLineCapProperty() const; + [[nodiscard]] auto StrokeEndLineCapProperty() const; + [[nodiscard]] auto StrokeLineJoinProperty() const; + [[nodiscard]] auto StrokeDashOffsetProperty() const; + [[nodiscard]] auto StrokeDashCapProperty() const; + [[nodiscard]] auto StrokeDashArrayProperty() const; + [[nodiscard]] auto StretchProperty() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.1.h index 0aa2ece0..e37f35b4 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Shapes_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.2.h index db679e9a..8dc279d3 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_UI_Xaml_Shapes_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.0.h index 7e281fc0..a245632e 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.0.h @@ -1,17 +1,12 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_0_H #define WINRT_Windows_Web_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } -WINRT_EXPORT namespace winrt::Windows::Storage::Streams -{ - struct IInputStream; -} WINRT_EXPORT namespace winrt::Windows::Web { enum class WebErrorStatus : int32_t @@ -105,7 +100,7 @@ namespace winrt::impl template struct consume_Windows_Web_IUriToStreamResolver { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) UriToStreamAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto UriToStreamAsync(winrt::Windows::Foundation::Uri const& uri) const; }; template <> struct consume { @@ -114,7 +109,7 @@ namespace winrt::impl template struct consume_Windows_Web_IWebErrorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) GetStatus(int32_t hresult) const; + auto GetStatus(int32_t hresult) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.1.h index 221f2b77..ec3c9b06 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.2.h index 1cc1a6da..0d2fc576 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.0.h index 2584af8b..02fc2d0c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.0.h @@ -1,18 +1,12 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_AtomPub_0_H #define WINRT_Windows_Web_AtomPub_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncActionWithProgress; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; struct Uri; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::Security::Credentials { struct PasswordCredential; @@ -24,10 +18,7 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Streams WINRT_EXPORT namespace winrt::Windows::Web::Syndication { struct ISyndicationText; - struct RetrievalProgress; - struct SyndicationCategory; struct SyndicationItem; - struct TransferProgress; } WINRT_EXPORT namespace winrt::Windows::Web::AtomPub { @@ -122,17 +113,17 @@ namespace winrt::impl template struct consume_Windows_Web_AtomPub_IAtomPubClient { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RetrieveServiceDocumentAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RetrieveMediaResourceAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RetrieveResourceAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) CreateResourceAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& description, winrt::Windows::Web::Syndication::SyndicationItem const& item) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) CreateMediaResourceAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& mediaType, param::hstring const& description, winrt::Windows::Storage::Streams::IInputStream const& mediaStream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress) UpdateMediaResourceAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& mediaType, winrt::Windows::Storage::Streams::IInputStream const& mediaStream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress) UpdateResourceAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Syndication::SyndicationItem const& item) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress) UpdateResourceItemAsync(winrt::Windows::Web::Syndication::SyndicationItem const& item) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress) DeleteResourceAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress) DeleteResourceItemAsync(winrt::Windows::Web::Syndication::SyndicationItem const& item) const; - WINRT_IMPL_AUTO(void) CancelAsyncOperations() const; + auto RetrieveServiceDocumentAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto RetrieveMediaResourceAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto RetrieveResourceAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto CreateResourceAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& description, winrt::Windows::Web::Syndication::SyndicationItem const& item) const; + auto CreateMediaResourceAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& mediaType, param::hstring const& description, winrt::Windows::Storage::Streams::IInputStream const& mediaStream) const; + auto UpdateMediaResourceAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& mediaType, winrt::Windows::Storage::Streams::IInputStream const& mediaStream) const; + auto UpdateResourceAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Syndication::SyndicationItem const& item) const; + auto UpdateResourceItemAsync(winrt::Windows::Web::Syndication::SyndicationItem const& item) const; + auto DeleteResourceAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto DeleteResourceItemAsync(winrt::Windows::Web::Syndication::SyndicationItem const& item) const; + auto CancelAsyncOperations() const; }; template <> struct consume { @@ -141,7 +132,7 @@ namespace winrt::impl template struct consume_Windows_Web_AtomPub_IAtomPubClientFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::AtomPub::AtomPubClient) CreateAtomPubClientWithCredentials(winrt::Windows::Security::Credentials::PasswordCredential const& serverCredential) const; + auto CreateAtomPubClientWithCredentials(winrt::Windows::Security::Credentials::PasswordCredential const& serverCredential) const; }; template <> struct consume { @@ -150,10 +141,10 @@ namespace winrt::impl template struct consume_Windows_Web_AtomPub_IResourceCollection { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Categories() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Accepts() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Categories() const; + [[nodiscard]] auto Accepts() const; }; template <> struct consume { @@ -162,7 +153,7 @@ namespace winrt::impl template struct consume_Windows_Web_AtomPub_IServiceDocument { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Workspaces() const; + [[nodiscard]] auto Workspaces() const; }; template <> struct consume { @@ -171,8 +162,8 @@ namespace winrt::impl template struct consume_Windows_Web_AtomPub_IWorkspace { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) Title() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) Collections() const; + [[nodiscard]] auto Title() const; + [[nodiscard]] auto Collections() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.1.h index 21cd15c5..40b5b865 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_AtomPub_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.2.h index 1eba4a20..50888719 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_AtomPub_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.0.h index 94709627..6087878f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Http_0_H @@ -6,7 +6,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct HResult; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; template struct __declspec(empty_bases) IReference; struct Uri; } @@ -14,7 +13,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; template struct __declspec(empty_bases) IKeyValuePair; - template struct __declspec(empty_bases) IMap; template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Networking::Sockets @@ -24,7 +22,6 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Sockets WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Certificates { struct Certificate; - enum class ChainValidationResult : int32_t; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { @@ -615,8 +612,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpBufferContentFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpBufferContent) CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& content) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpBufferContent) CreateFromBufferWithOffset(winrt::Windows::Storage::Streams::IBuffer const& content, uint32_t offset, uint32_t count) const; + auto CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& content) const; + auto CreateFromBufferWithOffset(winrt::Windows::Storage::Streams::IBuffer const& content, uint32_t offset, uint32_t count) const; }; template <> struct consume { @@ -625,17 +622,17 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpClient { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) DeleteAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) GetAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) GetAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) GetBufferAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) GetInputStreamAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) GetStringAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) PostAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) PutAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpRequestHeaderCollection) DefaultRequestHeaders() const; + auto DeleteAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto GetAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto GetAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const; + auto GetBufferAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto GetInputStreamAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto GetStringAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto PostAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const; + auto PutAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const; + auto SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const; + auto SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const; + [[nodiscard]] auto DefaultRequestHeaders() const; }; template <> struct consume { @@ -644,16 +641,16 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpClient2 { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) TryDeleteAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) TryGetAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) TryGetAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) TryGetBufferAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) TryGetInputStreamAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) TryGetStringAsync(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) TryPostAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) TryPutAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) TrySendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) TrySendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const; + auto TryDeleteAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto TryGetAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto TryGetAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const; + auto TryGetBufferAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto TryGetInputStreamAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto TryGetStringAsync(winrt::Windows::Foundation::Uri const& uri) const; + auto TryPostAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const; + auto TryPutAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const; + auto TrySendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const; + auto TrySendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const; }; template <> struct consume { @@ -662,7 +659,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpClientFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpClient) Create(winrt::Windows::Web::Http::Filters::IHttpFilter const& filter) const; + auto Create(winrt::Windows::Web::Http::Filters::IHttpFilter const& filter) const; }; template <> struct consume { @@ -671,13 +668,13 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpContent { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentHeaderCollection) Headers() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) BufferAllAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) ReadAsBufferAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) ReadAsInputStreamAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) ReadAsStringAsync() const; - WINRT_IMPL_AUTO(bool) TryComputeLength(uint64_t& length) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) WriteToStreamAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const; + [[nodiscard]] auto Headers() const; + auto BufferAllAsync() const; + auto ReadAsBufferAsync() const; + auto ReadAsInputStreamAsync() const; + auto ReadAsStringAsync() const; + auto TryComputeLength(uint64_t& length) const; + auto WriteToStreamAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const; }; template <> struct consume { @@ -686,17 +683,17 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpCookie { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Domain() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Path() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Expires() const; - WINRT_IMPL_AUTO(void) Expires(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) HttpOnly() const; - WINRT_IMPL_AUTO(void) HttpOnly(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Secure() const; - WINRT_IMPL_AUTO(void) Secure(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; - WINRT_IMPL_AUTO(void) Value(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Domain() const; + [[nodiscard]] auto Path() const; + [[nodiscard]] auto Expires() const; + auto Expires(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto HttpOnly() const; + auto HttpOnly(bool value) const; + [[nodiscard]] auto Secure() const; + auto Secure(bool value) const; + [[nodiscard]] auto Value() const; + auto Value(param::hstring const& value) const; }; template <> struct consume { @@ -705,7 +702,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpCookieFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpCookie) Create(param::hstring const& name, param::hstring const& domain, param::hstring const& path) const; + auto Create(param::hstring const& name, param::hstring const& domain, param::hstring const& path) const; }; template <> struct consume { @@ -714,10 +711,10 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpCookieManager { - WINRT_IMPL_AUTO(bool) SetCookie(winrt::Windows::Web::Http::HttpCookie const& cookie) const; - WINRT_IMPL_AUTO(bool) SetCookie(winrt::Windows::Web::Http::HttpCookie const& cookie, bool thirdParty) const; - WINRT_IMPL_AUTO(void) DeleteCookie(winrt::Windows::Web::Http::HttpCookie const& cookie) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpCookieCollection) GetCookies(winrt::Windows::Foundation::Uri const& uri) const; + auto SetCookie(winrt::Windows::Web::Http::HttpCookie const& cookie) const; + auto SetCookie(winrt::Windows::Web::Http::HttpCookie const& cookie, bool thirdParty) const; + auto DeleteCookie(winrt::Windows::Web::Http::HttpCookie const& cookie) const; + auto GetCookies(winrt::Windows::Foundation::Uri const& uri) const; }; template <> struct consume { @@ -726,7 +723,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpFormUrlEncodedContentFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpFormUrlEncodedContent) Create(param::iterable> const& content) const; + auto Create(param::iterable> const& content) const; }; template <> struct consume { @@ -735,11 +732,11 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpGetBufferResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) RequestMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) ResponseMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Succeeded() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Value() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto RequestMessage() const; + [[nodiscard]] auto ResponseMessage() const; + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -748,11 +745,11 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpGetInputStreamResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) RequestMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) ResponseMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Succeeded() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) Value() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto RequestMessage() const; + [[nodiscard]] auto ResponseMessage() const; + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -761,11 +758,11 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpGetStringResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) RequestMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) ResponseMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Succeeded() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto RequestMessage() const; + [[nodiscard]] auto ResponseMessage() const; + [[nodiscard]] auto Succeeded() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -774,7 +771,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpMethod { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Method() const; + [[nodiscard]] auto Method() const; }; template <> struct consume { @@ -783,7 +780,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpMethodFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) Create(param::hstring const& method) const; + auto Create(param::hstring const& method) const; }; template <> struct consume { @@ -792,13 +789,13 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpMethodStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) Delete() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) Get() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) Head() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) Options() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) Patch() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) Post() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) Put() const; + [[nodiscard]] auto Delete() const; + [[nodiscard]] auto Get() const; + [[nodiscard]] auto Head() const; + [[nodiscard]] auto Options() const; + [[nodiscard]] auto Patch() const; + [[nodiscard]] auto Post() const; + [[nodiscard]] auto Put() const; }; template <> struct consume { @@ -807,7 +804,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpMultipartContent { - WINRT_IMPL_AUTO(void) Add(winrt::Windows::Web::Http::IHttpContent const& content) const; + auto Add(winrt::Windows::Web::Http::IHttpContent const& content) const; }; template <> struct consume { @@ -816,8 +813,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpMultipartContentFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMultipartContent) CreateWithSubtype(param::hstring const& subtype) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMultipartContent) CreateWithSubtypeAndBoundary(param::hstring const& subtype, param::hstring const& boundary) const; + auto CreateWithSubtype(param::hstring const& subtype) const; + auto CreateWithSubtypeAndBoundary(param::hstring const& subtype, param::hstring const& boundary) const; }; template <> struct consume { @@ -826,9 +823,9 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpMultipartFormDataContent { - WINRT_IMPL_AUTO(void) Add(winrt::Windows::Web::Http::IHttpContent const& content) const; - WINRT_IMPL_AUTO(void) Add(winrt::Windows::Web::Http::IHttpContent const& content, param::hstring const& name) const; - WINRT_IMPL_AUTO(void) Add(winrt::Windows::Web::Http::IHttpContent const& content, param::hstring const& name, param::hstring const& fileName) const; + auto Add(winrt::Windows::Web::Http::IHttpContent const& content) const; + auto Add(winrt::Windows::Web::Http::IHttpContent const& content, param::hstring const& name) const; + auto Add(winrt::Windows::Web::Http::IHttpContent const& content, param::hstring const& name, param::hstring const& fileName) const; }; template <> struct consume { @@ -837,7 +834,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpMultipartFormDataContentFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMultipartFormDataContent) CreateWithBoundary(param::hstring const& boundary) const; + auto CreateWithBoundary(param::hstring const& boundary) const; }; template <> struct consume { @@ -846,15 +843,15 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpRequestMessage { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::IHttpContent) Content() const; - WINRT_IMPL_AUTO(void) Content(winrt::Windows::Web::Http::IHttpContent const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpRequestHeaderCollection) Headers() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) Method() const; - WINRT_IMPL_AUTO(void) Method(winrt::Windows::Web::Http::HttpMethod const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap) Properties() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) RequestUri() const; - WINRT_IMPL_AUTO(void) RequestUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpTransportInformation) TransportInformation() const; + [[nodiscard]] auto Content() const; + auto Content(winrt::Windows::Web::Http::IHttpContent const& value) const; + [[nodiscard]] auto Headers() const; + [[nodiscard]] auto Method() const; + auto Method(winrt::Windows::Web::Http::HttpMethod const& value) const; + [[nodiscard]] auto Properties() const; + [[nodiscard]] auto RequestUri() const; + auto RequestUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto TransportInformation() const; }; template <> struct consume { @@ -863,7 +860,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpRequestMessageFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) Create(winrt::Windows::Web::Http::HttpMethod const& method, winrt::Windows::Foundation::Uri const& uri) const; + auto Create(winrt::Windows::Web::Http::HttpMethod const& method, winrt::Windows::Foundation::Uri const& uri) const; }; template <> struct consume { @@ -872,10 +869,10 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpRequestResult { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) RequestMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) ResponseMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Succeeded() const; + [[nodiscard]] auto ExtendedError() const; + [[nodiscard]] auto RequestMessage() const; + [[nodiscard]] auto ResponseMessage() const; + [[nodiscard]] auto Succeeded() const; }; template <> struct consume { @@ -884,21 +881,21 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpResponseMessage { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::IHttpContent) Content() const; - WINRT_IMPL_AUTO(void) Content(winrt::Windows::Web::Http::IHttpContent const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpResponseHeaderCollection) Headers() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSuccessStatusCode() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ReasonPhrase() const; - WINRT_IMPL_AUTO(void) ReasonPhrase(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) RequestMessage() const; - WINRT_IMPL_AUTO(void) RequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessageSource) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::Web::Http::HttpResponseMessageSource const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStatusCode) StatusCode() const; - WINRT_IMPL_AUTO(void) StatusCode(winrt::Windows::Web::Http::HttpStatusCode const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpVersion) Version() const; - WINRT_IMPL_AUTO(void) Version(winrt::Windows::Web::Http::HttpVersion const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) EnsureSuccessStatusCode() const; + [[nodiscard]] auto Content() const; + auto Content(winrt::Windows::Web::Http::IHttpContent const& value) const; + [[nodiscard]] auto Headers() const; + [[nodiscard]] auto IsSuccessStatusCode() const; + [[nodiscard]] auto ReasonPhrase() const; + auto ReasonPhrase(param::hstring const& value) const; + [[nodiscard]] auto RequestMessage() const; + auto RequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& value) const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::Web::Http::HttpResponseMessageSource const& value) const; + [[nodiscard]] auto StatusCode() const; + auto StatusCode(winrt::Windows::Web::Http::HttpStatusCode const& value) const; + [[nodiscard]] auto Version() const; + auto Version(winrt::Windows::Web::Http::HttpVersion const& value) const; + auto EnsureSuccessStatusCode() const; }; template <> struct consume { @@ -907,7 +904,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpResponseMessageFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) Create(winrt::Windows::Web::Http::HttpStatusCode const& statusCode) const; + auto Create(winrt::Windows::Web::Http::HttpStatusCode const& statusCode) const; }; template <> struct consume { @@ -916,7 +913,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpStreamContentFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStreamContent) CreateFromInputStream(winrt::Windows::Storage::Streams::IInputStream const& content) const; + auto CreateFromInputStream(winrt::Windows::Storage::Streams::IInputStream const& content) const; }; template <> struct consume { @@ -925,9 +922,9 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpStringContentFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStringContent) CreateFromString(param::hstring const& content) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStringContent) CreateFromStringWithEncoding(param::hstring const& content, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStringContent) CreateFromStringWithEncodingAndMediaType(param::hstring const& content, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding, param::hstring const& mediaType) const; + auto CreateFromString(param::hstring const& content) const; + auto CreateFromStringWithEncoding(param::hstring const& content, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const; + auto CreateFromStringWithEncodingAndMediaType(param::hstring const& content, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding, param::hstring const& mediaType) const; }; template <> struct consume { @@ -936,10 +933,10 @@ namespace winrt::impl template struct consume_Windows_Web_Http_IHttpTransportInformation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) ServerCertificate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) ServerCertificateErrorSeverity() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServerCertificateErrors() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServerIntermediateCertificates() const; + [[nodiscard]] auto ServerCertificate() const; + [[nodiscard]] auto ServerCertificateErrorSeverity() const; + [[nodiscard]] auto ServerCertificateErrors() const; + [[nodiscard]] auto ServerIntermediateCertificates() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.1.h index 2077992c..fbc27f99 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Http_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.2.h index 7df20d72..fc035d93 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Http_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.0.h index 0e7a1605..5b00eb44 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Http_Diagnostics_0_H @@ -6,14 +6,9 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IReference; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::System::Diagnostics { struct ProcessDiagnosticInfo; @@ -181,20 +176,20 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider { - WINRT_IMPL_AUTO(void) Start() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(winrt::event_token) RequestSent(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Start() const; + auto Stop() const; + auto RequestSent(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RequestSent_revoker = impl::event_revoker::remove_RequestSent>; - [[nodiscard]] RequestSent_revoker RequestSent(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RequestSent(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ResponseReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto RequestSent(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RequestSent(winrt::event_token const& token) const noexcept; + auto ResponseReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ResponseReceived_revoker = impl::event_revoker::remove_ResponseReceived>; - [[nodiscard]] ResponseReceived_revoker ResponseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ResponseReceived(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) RequestResponseCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ResponseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ResponseReceived(winrt::event_token const& token) const noexcept; + auto RequestResponseCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using RequestResponseCompleted_revoker = impl::event_revoker::remove_RequestResponseCompleted>; - [[nodiscard]] RequestResponseCompleted_revoker RequestResponseCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) RequestResponseCompleted(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto RequestResponseCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto RequestResponseCompleted(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -203,13 +198,13 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ActivityId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseTimestamps) Timestamps() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) RequestedUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ProcessId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ThreadId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticRequestInitiator) Initiator() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SourceLocations() const; + [[nodiscard]] auto ActivityId() const; + [[nodiscard]] auto Timestamps() const; + [[nodiscard]] auto RequestedUri() const; + [[nodiscard]] auto ProcessId() const; + [[nodiscard]] auto ThreadId() const; + [[nodiscard]] auto Initiator() const; + [[nodiscard]] auto SourceLocations() const; }; template <> struct consume { @@ -218,15 +213,15 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) CacheCheckedTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ConnectionInitiatedTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) NameResolvedTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SslNegotiatedTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ConnectionCompletedTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) RequestSentTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) RequestCompletedTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResponseReceivedTimestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ResponseCompletedTimestamp() const; + [[nodiscard]] auto CacheCheckedTimestamp() const; + [[nodiscard]] auto ConnectionInitiatedTimestamp() const; + [[nodiscard]] auto NameResolvedTimestamp() const; + [[nodiscard]] auto SslNegotiatedTimestamp() const; + [[nodiscard]] auto ConnectionCompletedTimestamp() const; + [[nodiscard]] auto RequestSentTimestamp() const; + [[nodiscard]] auto RequestCompletedTimestamp() const; + [[nodiscard]] auto ResponseReceivedTimestamp() const; + [[nodiscard]] auto ResponseCompletedTimestamp() const; }; template <> struct consume { @@ -235,13 +230,13 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ActivityId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) Message() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ProcessId() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ThreadId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticRequestInitiator) Initiator() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SourceLocations() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto ActivityId() const; + [[nodiscard]] auto Message() const; + [[nodiscard]] auto ProcessId() const; + [[nodiscard]] auto ThreadId() const; + [[nodiscard]] auto Initiator() const; + [[nodiscard]] auto SourceLocations() const; }; template <> struct consume { @@ -250,9 +245,9 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderResponseReceivedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ActivityId() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) Message() const; + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto ActivityId() const; + [[nodiscard]] auto Message() const; }; template <> struct consume { @@ -261,7 +256,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider) CreateFromProcessDiagnosticInfo(winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo const& processDiagnosticInfo) const; + auto CreateFromProcessDiagnosticInfo(winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo const& processDiagnosticInfo) const; }; template <> struct consume { @@ -270,9 +265,9 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticSourceLocation { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) SourceUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) LineNumber() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) ColumnNumber() const; + [[nodiscard]] auto SourceUri() const; + [[nodiscard]] auto LineNumber() const; + [[nodiscard]] auto ColumnNumber() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.1.h index 7047f5a3..0082451a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Http_Diagnostics_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.2.h index 19991b29..55402538 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Http_Diagnostics_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.0.h index 0653baaf..aecfeaae 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Http_Filters_0_H @@ -7,14 +7,8 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperationWithProgress; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Networking::Sockets { enum class SocketSslErrorSeverity : int32_t; @@ -26,7 +20,6 @@ WINRT_EXPORT namespace winrt::Windows::Security::Credentials WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Certificates { struct Certificate; - enum class ChainValidationResult : int32_t; } WINRT_EXPORT namespace winrt::Windows::System { @@ -35,9 +28,7 @@ WINRT_EXPORT namespace winrt::Windows::System WINRT_EXPORT namespace winrt::Windows::Web::Http { struct HttpCookieManager; - struct HttpProgress; struct HttpRequestMessage; - struct HttpResponseMessage; enum class HttpVersion : int32_t; } WINRT_EXPORT namespace winrt::Windows::Web::Http::Filters @@ -213,25 +204,25 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter { - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowAutoRedirect() const; - WINRT_IMPL_AUTO(void) AllowAutoRedirect(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowUI() const; - WINRT_IMPL_AUTO(void) AllowUI(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) AutomaticDecompression() const; - WINRT_IMPL_AUTO(void) AutomaticDecompression(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Filters::HttpCacheControl) CacheControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpCookieManager) CookieManager() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) ClientCertificate() const; - WINRT_IMPL_AUTO(void) ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) IgnorableServerCertificateErrors() const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxConnectionsPerServer() const; - WINRT_IMPL_AUTO(void) MaxConnectionsPerServer(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) ProxyCredential() const; - WINRT_IMPL_AUTO(void) ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) ServerCredential() const; - WINRT_IMPL_AUTO(void) ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) UseProxy() const; - WINRT_IMPL_AUTO(void) UseProxy(bool value) const; + [[nodiscard]] auto AllowAutoRedirect() const; + auto AllowAutoRedirect(bool value) const; + [[nodiscard]] auto AllowUI() const; + auto AllowUI(bool value) const; + [[nodiscard]] auto AutomaticDecompression() const; + auto AutomaticDecompression(bool value) const; + [[nodiscard]] auto CacheControl() const; + [[nodiscard]] auto CookieManager() const; + [[nodiscard]] auto ClientCertificate() const; + auto ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const; + [[nodiscard]] auto IgnorableServerCertificateErrors() const; + [[nodiscard]] auto MaxConnectionsPerServer() const; + auto MaxConnectionsPerServer(uint32_t value) const; + [[nodiscard]] auto ProxyCredential() const; + auto ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + [[nodiscard]] auto ServerCredential() const; + auto ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + [[nodiscard]] auto UseProxy() const; + auto UseProxy(bool value) const; }; template <> struct consume { @@ -240,8 +231,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpVersion) MaxVersion() const; - WINRT_IMPL_AUTO(void) MaxVersion(winrt::Windows::Web::Http::HttpVersion const& value) const; + [[nodiscard]] auto MaxVersion() const; + auto MaxVersion(winrt::Windows::Web::Http::HttpVersion const& value) const; }; template <> struct consume { @@ -250,8 +241,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter3 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Filters::HttpCookieUsageBehavior) CookieUsageBehavior() const; - WINRT_IMPL_AUTO(void) CookieUsageBehavior(winrt::Windows::Web::Http::Filters::HttpCookieUsageBehavior const& value) const; + [[nodiscard]] auto CookieUsageBehavior() const; + auto CookieUsageBehavior(winrt::Windows::Web::Http::Filters::HttpCookieUsageBehavior const& value) const; }; template <> struct consume { @@ -260,11 +251,11 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4 { - WINRT_IMPL_AUTO(winrt::event_token) ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ServerCustomValidationRequested_revoker = impl::event_revoker::remove_ServerCustomValidationRequested>; - [[nodiscard]] ServerCustomValidationRequested_revoker ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ServerCustomValidationRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(void) ClearAuthenticationCache() const; + [[nodiscard]] auto ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ServerCustomValidationRequested(winrt::event_token const& token) const noexcept; + auto ClearAuthenticationCache() const; }; template <> struct consume { @@ -273,7 +264,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter5 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const; + [[nodiscard]] auto User() const; }; template <> struct consume { @@ -282,7 +273,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilterStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Filters::HttpBaseProtocolFilter) CreateForUser(winrt::Windows::System::User const& user) const; + auto CreateForUser(winrt::Windows::System::User const& user) const; }; template <> struct consume { @@ -291,10 +282,10 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Filters_IHttpCacheControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Filters::HttpCacheReadBehavior) ReadBehavior() const; - WINRT_IMPL_AUTO(void) ReadBehavior(winrt::Windows::Web::Http::Filters::HttpCacheReadBehavior const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Filters::HttpCacheWriteBehavior) WriteBehavior() const; - WINRT_IMPL_AUTO(void) WriteBehavior(winrt::Windows::Web::Http::Filters::HttpCacheWriteBehavior const& value) const; + [[nodiscard]] auto ReadBehavior() const; + auto ReadBehavior(winrt::Windows::Web::Http::Filters::HttpCacheReadBehavior const& value) const; + [[nodiscard]] auto WriteBehavior() const; + auto WriteBehavior(winrt::Windows::Web::Http::Filters::HttpCacheWriteBehavior const& value) const; }; template <> struct consume { @@ -303,7 +294,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Filters_IHttpFilter { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const; + auto SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const; }; template <> struct consume { @@ -312,13 +303,13 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) RequestMessage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) ServerCertificate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) ServerCertificateErrorSeverity() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServerCertificateErrors() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServerIntermediateCertificates() const; - WINRT_IMPL_AUTO(void) Reject() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto RequestMessage() const; + [[nodiscard]] auto ServerCertificate() const; + [[nodiscard]] auto ServerCertificateErrorSeverity() const; + [[nodiscard]] auto ServerCertificateErrors() const; + [[nodiscard]] auto ServerIntermediateCertificates() const; + auto Reject() const; + auto GetDeferral() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.1.h index 7756e1f6..49bdaf5c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Http_Filters_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.2.h index 0a322b94..7d05d73f 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Http_Filters_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.0.h index b7c1c28f..16e0fe4a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Http_Headers_0_H @@ -8,10 +8,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation template struct __declspec(empty_bases) IReference; struct Uri; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Networking { struct HostName; @@ -1039,16 +1035,16 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxAge() const; - WINRT_IMPL_AUTO(void) MaxAge(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxStale() const; - WINRT_IMPL_AUTO(void) MaxStale(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MinFresh() const; - WINRT_IMPL_AUTO(void) MinFresh(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SharedMaxAge() const; - WINRT_IMPL_AUTO(void) SharedMaxAge(winrt::Windows::Foundation::IReference const& value) const; - WINRT_IMPL_AUTO(void) ParseAdd(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParseAdd(param::hstring const& input) const; + [[nodiscard]] auto MaxAge() const; + auto MaxAge(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxStale() const; + auto MaxStale(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MinFresh() const; + auto MinFresh(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto SharedMaxAge() const; + auto SharedMaxAge(winrt::Windows::Foundation::IReference const& value) const; + auto ParseAdd(param::hstring const& input) const; + auto TryParseAdd(param::hstring const& input) const; }; template <> struct consume { @@ -1057,9 +1053,9 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Parameters() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Scheme() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Token() const; + [[nodiscard]] auto Parameters() const; + [[nodiscard]] auto Scheme() const; + [[nodiscard]] auto Token() const; }; template <> struct consume { @@ -1068,8 +1064,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueCollection { - WINRT_IMPL_AUTO(void) ParseAdd(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParseAdd(param::hstring const& input) const; + auto ParseAdd(param::hstring const& input) const; + auto TryParseAdd(param::hstring const& input) const; }; template <> struct consume { @@ -1078,8 +1074,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue) CreateFromScheme(param::hstring const& scheme) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue) CreateFromSchemeWithToken(param::hstring const& scheme, param::hstring const& token) const; + auto CreateFromScheme(param::hstring const& scheme) const; + auto CreateFromSchemeWithToken(param::hstring const& scheme, param::hstring const& token) const; }; template <> struct consume { @@ -1088,8 +1084,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue& challengeHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue& challengeHeaderValue) const; }; template <> struct consume { @@ -1098,7 +1094,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Token() const; + [[nodiscard]] auto Token() const; }; template <> struct consume { @@ -1107,8 +1103,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueCollection { - WINRT_IMPL_AUTO(void) ParseAdd(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParseAdd(param::hstring const& input) const; + auto ParseAdd(param::hstring const& input) const; + auto TryParseAdd(param::hstring const& input) const; }; template <> struct consume { @@ -1117,7 +1113,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue) Create(param::hstring const& token) const; + auto Create(param::hstring const& token) const; }; template <> struct consume { @@ -1126,8 +1122,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue& connectionOptionHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue& connectionOptionHeaderValue) const; }; template <> struct consume { @@ -1136,7 +1132,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentCoding() const; + [[nodiscard]] auto ContentCoding() const; }; template <> struct consume { @@ -1145,8 +1141,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueCollection { - WINRT_IMPL_AUTO(void) ParseAdd(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParseAdd(param::hstring const& input) const; + auto ParseAdd(param::hstring const& input) const; + auto TryParseAdd(param::hstring const& input) const; }; template <> struct consume { @@ -1155,7 +1151,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue) Create(param::hstring const& contentCoding) const; + auto Create(param::hstring const& contentCoding) const; }; template <> struct consume { @@ -1164,8 +1160,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue& contentCodingHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue& contentCodingHeaderValue) const; }; template <> struct consume { @@ -1174,8 +1170,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentCoding() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Quality() const; + [[nodiscard]] auto ContentCoding() const; + [[nodiscard]] auto Quality() const; }; template <> struct consume { @@ -1184,8 +1180,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueCollection { - WINRT_IMPL_AUTO(void) ParseAdd(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParseAdd(param::hstring const& input) const; + auto ParseAdd(param::hstring const& input) const; + auto TryParseAdd(param::hstring const& input) const; }; template <> struct consume { @@ -1194,8 +1190,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue) CreateFromValue(param::hstring const& contentCoding) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue) CreateFromValueWithQuality(param::hstring const& contentCoding, double quality) const; + auto CreateFromValue(param::hstring const& contentCoding) const; + auto CreateFromValueWithQuality(param::hstring const& contentCoding, double quality) const; }; template <> struct consume { @@ -1204,8 +1200,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue& contentCodingWithQualityHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue& contentCodingWithQualityHeaderValue) const; }; template <> struct consume { @@ -1214,17 +1210,17 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DispositionType() const; - WINRT_IMPL_AUTO(void) DispositionType(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FileName() const; - WINRT_IMPL_AUTO(void) FileName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) FileNameStar() const; - WINRT_IMPL_AUTO(void) FileNameStar(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Parameters() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Size() const; - WINRT_IMPL_AUTO(void) Size(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto DispositionType() const; + auto DispositionType(param::hstring const& value) const; + [[nodiscard]] auto FileName() const; + auto FileName(param::hstring const& value) const; + [[nodiscard]] auto FileNameStar() const; + auto FileNameStar(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Parameters() const; + [[nodiscard]] auto Size() const; + auto Size(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -1233,7 +1229,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue) Create(param::hstring const& dispositionType) const; + auto Create(param::hstring const& dispositionType) const; }; template <> struct consume { @@ -1242,8 +1238,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue& contentDispositionHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue& contentDispositionHeaderValue) const; }; template <> struct consume { @@ -1252,26 +1248,26 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue) ContentDisposition() const; - WINRT_IMPL_AUTO(void) ContentDisposition(winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValueCollection) ContentEncoding() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpLanguageHeaderValueCollection) ContentLanguage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ContentLength() const; - WINRT_IMPL_AUTO(void) ContentLength(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ContentLocation() const; - WINRT_IMPL_AUTO(void) ContentLocation(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ContentMD5() const; - WINRT_IMPL_AUTO(void) ContentMD5(winrt::Windows::Storage::Streams::IBuffer const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue) ContentRange() const; - WINRT_IMPL_AUTO(void) ContentRange(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue) ContentType() const; - WINRT_IMPL_AUTO(void) ContentType(winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Expires() const; - WINRT_IMPL_AUTO(void) Expires(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) LastModified() const; - WINRT_IMPL_AUTO(void) LastModified(winrt::Windows::Foundation::IReference const& value) const; - WINRT_IMPL_AUTO(void) Append(param::hstring const& name, param::hstring const& value) const; - WINRT_IMPL_AUTO(bool) TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const; + [[nodiscard]] auto ContentDisposition() const; + auto ContentDisposition(winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue const& value) const; + [[nodiscard]] auto ContentEncoding() const; + [[nodiscard]] auto ContentLanguage() const; + [[nodiscard]] auto ContentLength() const; + auto ContentLength(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ContentLocation() const; + auto ContentLocation(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ContentMD5() const; + auto ContentMD5(winrt::Windows::Storage::Streams::IBuffer const& value) const; + [[nodiscard]] auto ContentRange() const; + auto ContentRange(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue const& value) const; + [[nodiscard]] auto ContentType() const; + auto ContentType(winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue const& value) const; + [[nodiscard]] auto Expires() const; + auto Expires(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto LastModified() const; + auto LastModified(winrt::Windows::Foundation::IReference const& value) const; + auto Append(param::hstring const& name, param::hstring const& value) const; + auto TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const; }; template <> struct consume { @@ -1280,11 +1276,11 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) FirstBytePosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) LastBytePosition() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Length() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Unit() const; - WINRT_IMPL_AUTO(void) Unit(param::hstring const& value) const; + [[nodiscard]] auto FirstBytePosition() const; + [[nodiscard]] auto LastBytePosition() const; + [[nodiscard]] auto Length() const; + [[nodiscard]] auto Unit() const; + auto Unit(param::hstring const& value) const; }; template <> struct consume { @@ -1293,9 +1289,9 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue) CreateFromLength(uint64_t length) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue) CreateFromRange(uint64_t from, uint64_t to) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue) CreateFromRangeWithLength(uint64_t from, uint64_t to, uint64_t length) const; + auto CreateFromLength(uint64_t length) const; + auto CreateFromRange(uint64_t from, uint64_t to) const; + auto CreateFromRangeWithLength(uint64_t from, uint64_t to, uint64_t length) const; }; template <> struct consume { @@ -1304,8 +1300,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue& contentRangeHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue& contentRangeHeaderValue) const; }; template <> struct consume { @@ -1314,9 +1310,9 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; - WINRT_IMPL_AUTO(void) Value(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Value() const; + auto Value(param::hstring const& value) const; }; template <> struct consume { @@ -1325,8 +1321,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueCollection { - WINRT_IMPL_AUTO(void) ParseAdd(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParseAdd(param::hstring const& input) const; + auto ParseAdd(param::hstring const& input) const; + auto TryParseAdd(param::hstring const& input) const; }; template <> struct consume { @@ -1335,8 +1331,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue) CreateFromName(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue) CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const; + auto CreateFromName(param::hstring const& name) const; + auto CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const; }; template <> struct consume { @@ -1345,8 +1341,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue& cookiePairHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue& cookiePairHeaderValue) const; }; template <> struct consume { @@ -1355,9 +1351,9 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Parameters() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Scheme() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Token() const; + [[nodiscard]] auto Parameters() const; + [[nodiscard]] auto Scheme() const; + [[nodiscard]] auto Token() const; }; template <> struct consume { @@ -1366,8 +1362,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue) CreateFromScheme(param::hstring const& scheme) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue) CreateFromSchemeWithToken(param::hstring const& scheme, param::hstring const& token) const; + auto CreateFromScheme(param::hstring const& scheme) const; + auto CreateFromSchemeWithToken(param::hstring const& scheme, param::hstring const& token) const; }; template <> struct consume { @@ -1376,8 +1372,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue& credentialsHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue& credentialsHeaderValue) const; }; template <> struct consume { @@ -1386,8 +1382,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Date() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Delta() const; + [[nodiscard]] auto Date() const; + [[nodiscard]] auto Delta() const; }; template <> struct consume { @@ -1396,8 +1392,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue& dateOrDeltaHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue& dateOrDeltaHeaderValue) const; }; template <> struct consume { @@ -1406,10 +1402,10 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; - WINRT_IMPL_AUTO(void) Value(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Parameters() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Value() const; + auto Value(param::hstring const& value) const; + [[nodiscard]] auto Parameters() const; }; template <> struct consume { @@ -1418,8 +1414,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueCollection { - WINRT_IMPL_AUTO(void) ParseAdd(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParseAdd(param::hstring const& input) const; + auto ParseAdd(param::hstring const& input) const; + auto TryParseAdd(param::hstring const& input) const; }; template <> struct consume { @@ -1428,8 +1424,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue) CreateFromName(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue) CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const; + auto CreateFromName(param::hstring const& name) const; + auto CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const; }; template <> struct consume { @@ -1438,8 +1434,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue& expectationHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue& expectationHeaderValue) const; }; template <> struct consume { @@ -1448,8 +1444,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpLanguageHeaderValueCollection { - WINRT_IMPL_AUTO(void) ParseAdd(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParseAdd(param::hstring const& input) const; + auto ParseAdd(param::hstring const& input) const; + auto TryParseAdd(param::hstring const& input) const; }; template <> struct consume { @@ -1458,8 +1454,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) LanguageRange() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Quality() const; + [[nodiscard]] auto LanguageRange() const; + [[nodiscard]] auto Quality() const; }; template <> struct consume { @@ -1468,8 +1464,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueCollection { - WINRT_IMPL_AUTO(void) ParseAdd(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParseAdd(param::hstring const& input) const; + auto ParseAdd(param::hstring const& input) const; + auto TryParseAdd(param::hstring const& input) const; }; template <> struct consume { @@ -1478,8 +1474,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue) CreateFromLanguageRange(param::hstring const& languageRange) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue) CreateFromLanguageRangeWithQuality(param::hstring const& languageRange, double quality) const; + auto CreateFromLanguageRange(param::hstring const& languageRange) const; + auto CreateFromLanguageRangeWithQuality(param::hstring const& languageRange, double quality) const; }; template <> struct consume { @@ -1488,8 +1484,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue& languageRangeWithQualityHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue& languageRangeWithQualityHeaderValue) const; }; template <> struct consume { @@ -1498,11 +1494,11 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CharSet() const; - WINRT_IMPL_AUTO(void) CharSet(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MediaType() const; - WINRT_IMPL_AUTO(void) MediaType(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Parameters() const; + [[nodiscard]] auto CharSet() const; + auto CharSet(param::hstring const& value) const; + [[nodiscard]] auto MediaType() const; + auto MediaType(param::hstring const& value) const; + [[nodiscard]] auto Parameters() const; }; template <> struct consume { @@ -1511,7 +1507,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue) Create(param::hstring const& mediaType) const; + auto Create(param::hstring const& mediaType) const; }; template <> struct consume { @@ -1520,8 +1516,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue& mediaTypeHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue& mediaTypeHeaderValue) const; }; template <> struct consume { @@ -1530,13 +1526,13 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) CharSet() const; - WINRT_IMPL_AUTO(void) CharSet(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MediaType() const; - WINRT_IMPL_AUTO(void) MediaType(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Parameters() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Quality() const; - WINRT_IMPL_AUTO(void) Quality(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto CharSet() const; + auto CharSet(param::hstring const& value) const; + [[nodiscard]] auto MediaType() const; + auto MediaType(param::hstring const& value) const; + [[nodiscard]] auto Parameters() const; + [[nodiscard]] auto Quality() const; + auto Quality(winrt::Windows::Foundation::IReference const& value) const; }; template <> struct consume { @@ -1545,8 +1541,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueCollection { - WINRT_IMPL_AUTO(void) ParseAdd(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParseAdd(param::hstring const& input) const; + auto ParseAdd(param::hstring const& input) const; + auto TryParseAdd(param::hstring const& input) const; }; template <> struct consume { @@ -1555,8 +1551,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue) CreateFromMediaType(param::hstring const& mediaType) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue) CreateFromMediaTypeWithQuality(param::hstring const& mediaType, double quality) const; + auto CreateFromMediaType(param::hstring const& mediaType) const; + auto CreateFromMediaTypeWithQuality(param::hstring const& mediaType, double quality) const; }; template <> struct consume { @@ -1565,8 +1561,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue& mediaTypeWithQualityHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue& mediaTypeWithQualityHeaderValue) const; }; template <> struct consume { @@ -1575,8 +1571,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpMethodHeaderValueCollection { - WINRT_IMPL_AUTO(void) ParseAdd(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParseAdd(param::hstring const& input) const; + auto ParseAdd(param::hstring const& input) const; + auto TryParseAdd(param::hstring const& input) const; }; template <> struct consume { @@ -1585,9 +1581,9 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; - WINRT_IMPL_AUTO(void) Value(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Value() const; + auto Value(param::hstring const& value) const; }; template <> struct consume { @@ -1596,8 +1592,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue) CreateFromName(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue) CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const; + auto CreateFromName(param::hstring const& name) const; + auto CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const; }; template <> struct consume { @@ -1606,8 +1602,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue& nameValueHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue& nameValueHeaderValue) const; }; template <> struct consume { @@ -1616,8 +1612,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpProductHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Version() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Version() const; }; template <> struct consume { @@ -1626,8 +1622,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpProductHeaderValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductHeaderValue) CreateFromName(param::hstring const& productName) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductHeaderValue) CreateFromNameWithVersion(param::hstring const& productName, param::hstring const& productVersion) const; + auto CreateFromName(param::hstring const& productName) const; + auto CreateFromNameWithVersion(param::hstring const& productName, param::hstring const& productVersion) const; }; template <> struct consume { @@ -1636,8 +1632,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpProductHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpProductHeaderValue& productHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpProductHeaderValue& productHeaderValue) const; }; template <> struct consume { @@ -1646,8 +1642,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductHeaderValue) Product() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Comment() const; + [[nodiscard]] auto Product() const; + [[nodiscard]] auto Comment() const; }; template <> struct consume { @@ -1656,8 +1652,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueCollection { - WINRT_IMPL_AUTO(void) ParseAdd(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParseAdd(param::hstring const& input) const; + auto ParseAdd(param::hstring const& input) const; + auto TryParseAdd(param::hstring const& input) const; }; template <> struct consume { @@ -1666,8 +1662,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue) CreateFromComment(param::hstring const& productComment) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue) CreateFromNameWithVersion(param::hstring const& productName, param::hstring const& productVersion) const; + auto CreateFromComment(param::hstring const& productComment) const; + auto CreateFromNameWithVersion(param::hstring const& productName, param::hstring const& productVersion) const; }; template <> struct consume { @@ -1676,8 +1672,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue& productInfoHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue& productInfoHeaderValue) const; }; template <> struct consume { @@ -1686,35 +1682,35 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValueCollection) Accept() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValueCollection) AcceptEncoding() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValueCollection) AcceptLanguage() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue) Authorization() const; - WINRT_IMPL_AUTO(void) Authorization(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCacheDirectiveHeaderValueCollection) CacheControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValueCollection) Connection() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValueCollection) Cookie() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Date() const; - WINRT_IMPL_AUTO(void) Date(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValueCollection) Expect() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) From() const; - WINRT_IMPL_AUTO(void) From(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) Host() const; - WINRT_IMPL_AUTO(void) Host(winrt::Windows::Networking::HostName const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) IfModifiedSince() const; - WINRT_IMPL_AUTO(void) IfModifiedSince(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) IfUnmodifiedSince() const; - WINRT_IMPL_AUTO(void) IfUnmodifiedSince(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) MaxForwards() const; - WINRT_IMPL_AUTO(void) MaxForwards(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue) ProxyAuthorization() const; - WINRT_IMPL_AUTO(void) ProxyAuthorization(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Referer() const; - WINRT_IMPL_AUTO(void) Referer(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValueCollection) TransferEncoding() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValueCollection) UserAgent() const; - WINRT_IMPL_AUTO(void) Append(param::hstring const& name, param::hstring const& value) const; - WINRT_IMPL_AUTO(bool) TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const; + [[nodiscard]] auto Accept() const; + [[nodiscard]] auto AcceptEncoding() const; + [[nodiscard]] auto AcceptLanguage() const; + [[nodiscard]] auto Authorization() const; + auto Authorization(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue const& value) const; + [[nodiscard]] auto CacheControl() const; + [[nodiscard]] auto Connection() const; + [[nodiscard]] auto Cookie() const; + [[nodiscard]] auto Date() const; + auto Date(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Expect() const; + [[nodiscard]] auto From() const; + auto From(param::hstring const& value) const; + [[nodiscard]] auto Host() const; + auto Host(winrt::Windows::Networking::HostName const& value) const; + [[nodiscard]] auto IfModifiedSince() const; + auto IfModifiedSince(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto IfUnmodifiedSince() const; + auto IfUnmodifiedSince(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto MaxForwards() const; + auto MaxForwards(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto ProxyAuthorization() const; + auto ProxyAuthorization(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue const& value) const; + [[nodiscard]] auto Referer() const; + auto Referer(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto TransferEncoding() const; + [[nodiscard]] auto UserAgent() const; + auto Append(param::hstring const& name, param::hstring const& value) const; + auto TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const; }; template <> struct consume { @@ -1723,22 +1719,22 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Age() const; - WINRT_IMPL_AUTO(void) Age(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMethodHeaderValueCollection) Allow() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCacheDirectiveHeaderValueCollection) CacheControl() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValueCollection) Connection() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) Date() const; - WINRT_IMPL_AUTO(void) Date(winrt::Windows::Foundation::IReference const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Location() const; - WINRT_IMPL_AUTO(void) Location(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValueCollection) ProxyAuthenticate() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue) RetryAfter() const; - WINRT_IMPL_AUTO(void) RetryAfter(winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValueCollection) TransferEncoding() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValueCollection) WwwAuthenticate() const; - WINRT_IMPL_AUTO(void) Append(param::hstring const& name, param::hstring const& value) const; - WINRT_IMPL_AUTO(bool) TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const; + [[nodiscard]] auto Age() const; + auto Age(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Allow() const; + [[nodiscard]] auto CacheControl() const; + [[nodiscard]] auto Connection() const; + [[nodiscard]] auto Date() const; + auto Date(winrt::Windows::Foundation::IReference const& value) const; + [[nodiscard]] auto Location() const; + auto Location(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ProxyAuthenticate() const; + [[nodiscard]] auto RetryAfter() const; + auto RetryAfter(winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue const& value) const; + [[nodiscard]] auto TransferEncoding() const; + [[nodiscard]] auto WwwAuthenticate() const; + auto Append(param::hstring const& name, param::hstring const& value) const; + auto TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const; }; template <> struct consume { @@ -1747,8 +1743,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValue { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Parameters() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; + [[nodiscard]] auto Parameters() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -1757,8 +1753,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueCollection { - WINRT_IMPL_AUTO(void) ParseAdd(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParseAdd(param::hstring const& input) const; + auto ParseAdd(param::hstring const& input) const; + auto TryParseAdd(param::hstring const& input) const; }; template <> struct consume { @@ -1767,7 +1763,7 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue) Create(param::hstring const& input) const; + auto Create(param::hstring const& input) const; }; template <> struct consume { @@ -1776,8 +1772,8 @@ namespace winrt::impl template struct consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue) Parse(param::hstring const& input) const; - WINRT_IMPL_AUTO(bool) TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue& transferCodingHeaderValue) const; + auto Parse(param::hstring const& input) const; + auto TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue& transferCodingHeaderValue) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.1.h index a75e017f..15a511d8 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Http_Headers_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.2.h index 3029b993..9b66d97c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Http_Headers_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.0.h index 919e5181..b4baaa39 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Syndication_0_H @@ -9,13 +9,8 @@ WINRT_EXPORT namespace winrt::Windows::Data::Xml::Dom } WINRT_EXPORT namespace winrt::Windows::Foundation { - template struct __declspec(empty_bases) IAsyncOperationWithProgress; struct Uri; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Security::Credentials { struct PasswordCredential; @@ -483,12 +478,12 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationAttribute { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Namespace() const; - WINRT_IMPL_AUTO(void) Namespace(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; - WINRT_IMPL_AUTO(void) Value(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Namespace() const; + auto Namespace(param::hstring const& value) const; + [[nodiscard]] auto Value() const; + auto Value(param::hstring const& value) const; }; template <> struct consume { @@ -497,7 +492,7 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationAttributeFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationAttribute) CreateSyndicationAttribute(param::hstring const& attributeName, param::hstring const& attributeNamespace, param::hstring const& attributeValue) const; + auto CreateSyndicationAttribute(param::hstring const& attributeName, param::hstring const& attributeNamespace, param::hstring const& attributeValue) const; }; template <> struct consume { @@ -506,12 +501,12 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationCategory { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const; - WINRT_IMPL_AUTO(void) Label(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Scheme() const; - WINRT_IMPL_AUTO(void) Scheme(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Term() const; - WINRT_IMPL_AUTO(void) Term(param::hstring const& value) const; + [[nodiscard]] auto Label() const; + auto Label(param::hstring const& value) const; + [[nodiscard]] auto Scheme() const; + auto Scheme(param::hstring const& value) const; + [[nodiscard]] auto Term() const; + auto Term(param::hstring const& value) const; }; template <> struct consume { @@ -520,8 +515,8 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationCategoryFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationCategory) CreateSyndicationCategory(param::hstring const& term) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationCategory) CreateSyndicationCategoryEx(param::hstring const& term, param::hstring const& scheme, param::hstring const& label) const; + auto CreateSyndicationCategory(param::hstring const& term) const; + auto CreateSyndicationCategoryEx(param::hstring const& term, param::hstring const& scheme, param::hstring const& label) const; }; template <> struct consume { @@ -530,18 +525,18 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationClient { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) ServerCredential() const; - WINRT_IMPL_AUTO(void) ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) ProxyCredential() const; - WINRT_IMPL_AUTO(void) ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxResponseBufferSize() const; - WINRT_IMPL_AUTO(void) MaxResponseBufferSize(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Timeout() const; - WINRT_IMPL_AUTO(void) Timeout(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) BypassCacheOnRetrieve() const; - WINRT_IMPL_AUTO(void) BypassCacheOnRetrieve(bool value) const; - WINRT_IMPL_AUTO(void) SetRequestHeader(param::hstring const& name, param::hstring const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress) RetrieveFeedAsync(winrt::Windows::Foundation::Uri const& uri) const; + [[nodiscard]] auto ServerCredential() const; + auto ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + [[nodiscard]] auto ProxyCredential() const; + auto ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const; + [[nodiscard]] auto MaxResponseBufferSize() const; + auto MaxResponseBufferSize(uint32_t value) const; + [[nodiscard]] auto Timeout() const; + auto Timeout(uint32_t value) const; + [[nodiscard]] auto BypassCacheOnRetrieve() const; + auto BypassCacheOnRetrieve(bool value) const; + auto SetRequestHeader(param::hstring const& name, param::hstring const& value) const; + auto RetrieveFeedAsync(winrt::Windows::Foundation::Uri const& uri) const; }; template <> struct consume { @@ -550,7 +545,7 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationClientFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationClient) CreateSyndicationClient(winrt::Windows::Security::Credentials::PasswordCredential const& serverCredential) const; + auto CreateSyndicationClient(winrt::Windows::Security::Credentials::PasswordCredential const& serverCredential) const; }; template <> struct consume { @@ -559,8 +554,8 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationContent { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) SourceUri() const; - WINRT_IMPL_AUTO(void) SourceUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto SourceUri() const; + auto SourceUri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -569,8 +564,8 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationContentFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationContent) CreateSyndicationContent(param::hstring const& text, winrt::Windows::Web::Syndication::SyndicationTextType const& type) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationContent) CreateSyndicationContentWithSourceUri(winrt::Windows::Foundation::Uri const& sourceUri) const; + auto CreateSyndicationContent(param::hstring const& text, winrt::Windows::Web::Syndication::SyndicationTextType const& type) const; + auto CreateSyndicationContentWithSourceUri(winrt::Windows::Foundation::Uri const& sourceUri) const; }; template <> struct consume { @@ -579,7 +574,7 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationErrorStatics { - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationErrorStatus) GetStatus(int32_t hresult) const; + auto GetStatus(int32_t hresult) const; }; template <> struct consume { @@ -588,34 +583,34 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationFeed { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Authors() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Categories() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Contributors() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationGenerator) Generator() const; - WINRT_IMPL_AUTO(void) Generator(winrt::Windows::Web::Syndication::SyndicationGenerator const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) IconUri() const; - WINRT_IMPL_AUTO(void) IconUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(void) Id(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Items() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastUpdatedTime() const; - WINRT_IMPL_AUTO(void) LastUpdatedTime(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Links() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ImageUri() const; - WINRT_IMPL_AUTO(void) ImageUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) Rights() const; - WINRT_IMPL_AUTO(void) Rights(winrt::Windows::Web::Syndication::ISyndicationText const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) Subtitle() const; - WINRT_IMPL_AUTO(void) Subtitle(winrt::Windows::Web::Syndication::ISyndicationText const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) Title() const; - WINRT_IMPL_AUTO(void) Title(winrt::Windows::Web::Syndication::ISyndicationText const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) FirstUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) LastUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) NextUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) PreviousUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationFormat) SourceFormat() const; - WINRT_IMPL_AUTO(void) Load(param::hstring const& feed) const; - WINRT_IMPL_AUTO(void) LoadFromXml(winrt::Windows::Data::Xml::Dom::XmlDocument const& feedDocument) const; + [[nodiscard]] auto Authors() const; + [[nodiscard]] auto Categories() const; + [[nodiscard]] auto Contributors() const; + [[nodiscard]] auto Generator() const; + auto Generator(winrt::Windows::Web::Syndication::SyndicationGenerator const& value) const; + [[nodiscard]] auto IconUri() const; + auto IconUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Id() const; + auto Id(param::hstring const& value) const; + [[nodiscard]] auto Items() const; + [[nodiscard]] auto LastUpdatedTime() const; + auto LastUpdatedTime(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto Links() const; + [[nodiscard]] auto ImageUri() const; + auto ImageUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Rights() const; + auto Rights(winrt::Windows::Web::Syndication::ISyndicationText const& value) const; + [[nodiscard]] auto Subtitle() const; + auto Subtitle(winrt::Windows::Web::Syndication::ISyndicationText const& value) const; + [[nodiscard]] auto Title() const; + auto Title(winrt::Windows::Web::Syndication::ISyndicationText const& value) const; + [[nodiscard]] auto FirstUri() const; + [[nodiscard]] auto LastUri() const; + [[nodiscard]] auto NextUri() const; + [[nodiscard]] auto PreviousUri() const; + [[nodiscard]] auto SourceFormat() const; + auto Load(param::hstring const& feed) const; + auto LoadFromXml(winrt::Windows::Data::Xml::Dom::XmlDocument const& feedDocument) const; }; template <> struct consume { @@ -624,7 +619,7 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationFeedFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationFeed) CreateSyndicationFeed(param::hstring const& title, param::hstring const& subtitle, winrt::Windows::Foundation::Uri const& uri) const; + auto CreateSyndicationFeed(param::hstring const& title, param::hstring const& subtitle, winrt::Windows::Foundation::Uri const& uri) const; }; template <> struct consume { @@ -633,12 +628,12 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationGenerator { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - WINRT_IMPL_AUTO(void) Uri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Version() const; - WINRT_IMPL_AUTO(void) Version(param::hstring const& value) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto Uri() const; + auto Uri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Version() const; + auto Version(param::hstring const& value) const; }; template <> struct consume { @@ -647,7 +642,7 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationGeneratorFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationGenerator) CreateSyndicationGenerator(param::hstring const& text) const; + auto CreateSyndicationGenerator(param::hstring const& text) const; }; template <> struct consume { @@ -656,34 +651,34 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationItem { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Authors() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Categories() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Contributors() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationContent) Content() const; - WINRT_IMPL_AUTO(void) Content(winrt::Windows::Web::Syndication::SyndicationContent const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - WINRT_IMPL_AUTO(void) Id(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) LastUpdatedTime() const; - WINRT_IMPL_AUTO(void) LastUpdatedTime(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) Links() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) PublishedDate() const; - WINRT_IMPL_AUTO(void) PublishedDate(winrt::Windows::Foundation::DateTime const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) Rights() const; - WINRT_IMPL_AUTO(void) Rights(winrt::Windows::Web::Syndication::ISyndicationText const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationFeed) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::Web::Syndication::SyndicationFeed const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) Summary() const; - WINRT_IMPL_AUTO(void) Summary(winrt::Windows::Web::Syndication::ISyndicationText const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) Title() const; - WINRT_IMPL_AUTO(void) Title(winrt::Windows::Web::Syndication::ISyndicationText const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) CommentsUri() const; - WINRT_IMPL_AUTO(void) CommentsUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) EditUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) EditMediaUri() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ETag() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ItemUri() const; - WINRT_IMPL_AUTO(void) Load(param::hstring const& item) const; - WINRT_IMPL_AUTO(void) LoadFromXml(winrt::Windows::Data::Xml::Dom::XmlDocument const& itemDocument) const; + [[nodiscard]] auto Authors() const; + [[nodiscard]] auto Categories() const; + [[nodiscard]] auto Contributors() const; + [[nodiscard]] auto Content() const; + auto Content(winrt::Windows::Web::Syndication::SyndicationContent const& value) const; + [[nodiscard]] auto Id() const; + auto Id(param::hstring const& value) const; + [[nodiscard]] auto LastUpdatedTime() const; + auto LastUpdatedTime(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto Links() const; + [[nodiscard]] auto PublishedDate() const; + auto PublishedDate(winrt::Windows::Foundation::DateTime const& value) const; + [[nodiscard]] auto Rights() const; + auto Rights(winrt::Windows::Web::Syndication::ISyndicationText const& value) const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::Web::Syndication::SyndicationFeed const& value) const; + [[nodiscard]] auto Summary() const; + auto Summary(winrt::Windows::Web::Syndication::ISyndicationText const& value) const; + [[nodiscard]] auto Title() const; + auto Title(winrt::Windows::Web::Syndication::ISyndicationText const& value) const; + [[nodiscard]] auto CommentsUri() const; + auto CommentsUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto EditUri() const; + [[nodiscard]] auto EditMediaUri() const; + [[nodiscard]] auto ETag() const; + [[nodiscard]] auto ItemUri() const; + auto Load(param::hstring const& item) const; + auto LoadFromXml(winrt::Windows::Data::Xml::Dom::XmlDocument const& itemDocument) const; }; template <> struct consume { @@ -692,7 +687,7 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationItemFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationItem) CreateSyndicationItem(param::hstring const& title, winrt::Windows::Web::Syndication::SyndicationContent const& content, winrt::Windows::Foundation::Uri const& uri) const; + auto CreateSyndicationItem(param::hstring const& title, winrt::Windows::Web::Syndication::SyndicationContent const& content, winrt::Windows::Foundation::Uri const& uri) const; }; template <> struct consume { @@ -701,18 +696,18 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationLink { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Length() const; - WINRT_IMPL_AUTO(void) Length(uint32_t value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MediaType() const; - WINRT_IMPL_AUTO(void) MediaType(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Relationship() const; - WINRT_IMPL_AUTO(void) Relationship(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; - WINRT_IMPL_AUTO(void) Title(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - WINRT_IMPL_AUTO(void) Uri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResourceLanguage() const; - WINRT_IMPL_AUTO(void) ResourceLanguage(param::hstring const& value) const; + [[nodiscard]] auto Length() const; + auto Length(uint32_t value) const; + [[nodiscard]] auto MediaType() const; + auto MediaType(param::hstring const& value) const; + [[nodiscard]] auto Relationship() const; + auto Relationship(param::hstring const& value) const; + [[nodiscard]] auto Title() const; + auto Title(param::hstring const& value) const; + [[nodiscard]] auto Uri() const; + auto Uri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto ResourceLanguage() const; + auto ResourceLanguage(param::hstring const& value) const; }; template <> struct consume { @@ -721,8 +716,8 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationLinkFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationLink) CreateSyndicationLink(winrt::Windows::Foundation::Uri const& uri) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationLink) CreateSyndicationLinkEx(winrt::Windows::Foundation::Uri const& uri, param::hstring const& relationship, param::hstring const& title, param::hstring const& mediaType, uint32_t length) const; + auto CreateSyndicationLink(winrt::Windows::Foundation::Uri const& uri) const; + auto CreateSyndicationLinkEx(winrt::Windows::Foundation::Uri const& uri, param::hstring const& relationship, param::hstring const& title, param::hstring const& mediaType, uint32_t length) const; }; template <> struct consume { @@ -731,19 +726,19 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationNode { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NodeName() const; - WINRT_IMPL_AUTO(void) NodeName(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NodeNamespace() const; - WINRT_IMPL_AUTO(void) NodeNamespace(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) NodeValue() const; - WINRT_IMPL_AUTO(void) NodeValue(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const; - WINRT_IMPL_AUTO(void) Language(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) BaseUri() const; - WINRT_IMPL_AUTO(void) BaseUri(winrt::Windows::Foundation::Uri const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) AttributeExtensions() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ElementExtensions() const; - WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) GetXmlDocument(winrt::Windows::Web::Syndication::SyndicationFormat const& format) const; + [[nodiscard]] auto NodeName() const; + auto NodeName(param::hstring const& value) const; + [[nodiscard]] auto NodeNamespace() const; + auto NodeNamespace(param::hstring const& value) const; + [[nodiscard]] auto NodeValue() const; + auto NodeValue(param::hstring const& value) const; + [[nodiscard]] auto Language() const; + auto Language(param::hstring const& value) const; + [[nodiscard]] auto BaseUri() const; + auto BaseUri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto AttributeExtensions() const; + [[nodiscard]] auto ElementExtensions() const; + auto GetXmlDocument(winrt::Windows::Web::Syndication::SyndicationFormat const& format) const; }; template <> struct consume { @@ -752,7 +747,7 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationNodeFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationNode) CreateSyndicationNode(param::hstring const& nodeName, param::hstring const& nodeNamespace, param::hstring const& nodeValue) const; + auto CreateSyndicationNode(param::hstring const& nodeName, param::hstring const& nodeNamespace, param::hstring const& nodeValue) const; }; template <> struct consume { @@ -761,12 +756,12 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationPerson { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Email() const; - WINRT_IMPL_AUTO(void) Email(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const; - WINRT_IMPL_AUTO(void) Name(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - WINRT_IMPL_AUTO(void) Uri(winrt::Windows::Foundation::Uri const& value) const; + [[nodiscard]] auto Email() const; + auto Email(param::hstring const& value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Uri() const; + auto Uri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { @@ -775,8 +770,8 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationPersonFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationPerson) CreateSyndicationPerson(param::hstring const& name) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationPerson) CreateSyndicationPersonEx(param::hstring const& name, param::hstring const& email, winrt::Windows::Foundation::Uri const& uri) const; + auto CreateSyndicationPerson(param::hstring const& name) const; + auto CreateSyndicationPersonEx(param::hstring const& name, param::hstring const& email, winrt::Windows::Foundation::Uri const& uri) const; }; template <> struct consume { @@ -785,12 +780,12 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationText { - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; - WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Type() const; - WINRT_IMPL_AUTO(void) Type(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) Xml() const; - WINRT_IMPL_AUTO(void) Xml(winrt::Windows::Data::Xml::Dom::XmlDocument const& value) const; + [[nodiscard]] auto Text() const; + auto Text(param::hstring const& value) const; + [[nodiscard]] auto Type() const; + auto Type(param::hstring const& value) const; + [[nodiscard]] auto Xml() const; + auto Xml(winrt::Windows::Data::Xml::Dom::XmlDocument const& value) const; }; template <> struct consume { @@ -799,8 +794,8 @@ namespace winrt::impl template struct consume_Windows_Web_Syndication_ISyndicationTextFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationText) CreateSyndicationText(param::hstring const& text) const; - WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationText) CreateSyndicationTextEx(param::hstring const& text, winrt::Windows::Web::Syndication::SyndicationTextType const& type) const; + auto CreateSyndicationText(param::hstring const& text) const; + auto CreateSyndicationTextEx(param::hstring const& text, winrt::Windows::Web::Syndication::SyndicationTextType const& type) const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.1.h index e4b12a4f..30f5b15b 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Syndication_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.2.h index 7e73831d..bb9ce636 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_Syndication_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.0.h index 7a2d435e..aabd8742 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.0.h @@ -1,25 +1,19 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_UI_0_H #define WINRT_Windows_Web_UI_0_H -WINRT_EXPORT namespace winrt::Windows::ApplicationModel::DataTransfer -{ - struct DataPackage; -} WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; struct IAsyncAction; - template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) TypedEventHandler; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IIterable; - template struct __declspec(empty_bases) IVectorView; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { @@ -401,97 +395,97 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControl { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Source() const; - WINRT_IMPL_AUTO(void) Source(winrt::Windows::Foundation::Uri const& source) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) DocumentTitle() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanGoBack() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) CanGoForward() const; - WINRT_IMPL_AUTO(void) DefaultBackgroundColor(winrt::Windows::UI::Color const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) DefaultBackgroundColor() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) ContainsFullScreenElement() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::UI::WebViewControlSettings) Settings() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) DeferredPermissionRequests() const; - WINRT_IMPL_AUTO(void) GoForward() const; - WINRT_IMPL_AUTO(void) GoBack() const; - WINRT_IMPL_AUTO(void) Refresh() const; - WINRT_IMPL_AUTO(void) Stop() const; - WINRT_IMPL_AUTO(void) Navigate(winrt::Windows::Foundation::Uri const& source) const; - WINRT_IMPL_AUTO(void) NavigateToString(param::hstring const& text) const; - WINRT_IMPL_AUTO(void) NavigateToLocalStreamUri(winrt::Windows::Foundation::Uri const& source, winrt::Windows::Web::IUriToStreamResolver const& streamResolver) const; - WINRT_IMPL_AUTO(void) NavigateWithHttpRequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& requestMessage) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) InvokeScriptAsync(param::hstring const& scriptName, param::async_iterable const& arguments) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CapturePreviewToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CaptureSelectedContentToDataPackageAsync() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) BuildLocalStreamUri(param::hstring const& contentIdentifier, param::hstring const& relativePath) const; - WINRT_IMPL_AUTO(void) GetDeferredPermissionRequestById(uint32_t id, winrt::Windows::Web::UI::WebViewControlDeferredPermissionRequest& result) const; - WINRT_IMPL_AUTO(winrt::event_token) NavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Source() const; + auto Source(winrt::Windows::Foundation::Uri const& source) const; + [[nodiscard]] auto DocumentTitle() const; + [[nodiscard]] auto CanGoBack() const; + [[nodiscard]] auto CanGoForward() const; + auto DefaultBackgroundColor(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] auto DefaultBackgroundColor() const; + [[nodiscard]] auto ContainsFullScreenElement() const; + [[nodiscard]] auto Settings() const; + [[nodiscard]] auto DeferredPermissionRequests() const; + auto GoForward() const; + auto GoBack() const; + auto Refresh() const; + auto Stop() const; + auto Navigate(winrt::Windows::Foundation::Uri const& source) const; + auto NavigateToString(param::hstring const& text) const; + auto NavigateToLocalStreamUri(winrt::Windows::Foundation::Uri const& source, winrt::Windows::Web::IUriToStreamResolver const& streamResolver) const; + auto NavigateWithHttpRequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& requestMessage) const; + auto InvokeScriptAsync(param::hstring const& scriptName, param::async_iterable const& arguments) const; + auto CapturePreviewToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const; + auto CaptureSelectedContentToDataPackageAsync() const; + auto BuildLocalStreamUri(param::hstring const& contentIdentifier, param::hstring const& relativePath) const; + auto GetDeferredPermissionRequestById(uint32_t id, winrt::Windows::Web::UI::WebViewControlDeferredPermissionRequest& result) const; + auto NavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NavigationStarting_revoker = impl::event_revoker::remove_NavigationStarting>; - [[nodiscard]] NavigationStarting_revoker NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NavigationStarting(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NavigationStarting(winrt::event_token const& token) const noexcept; + auto ContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ContentLoading_revoker = impl::event_revoker::remove_ContentLoading>; - [[nodiscard]] ContentLoading_revoker ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContentLoading(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ContentLoading(winrt::event_token const& token) const noexcept; + auto DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DOMContentLoaded_revoker = impl::event_revoker::remove_DOMContentLoaded>; - [[nodiscard]] DOMContentLoaded_revoker DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) DOMContentLoaded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto DOMContentLoaded(winrt::event_token const& token) const noexcept; + auto NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NavigationCompleted_revoker = impl::event_revoker::remove_NavigationCompleted>; - [[nodiscard]] NavigationCompleted_revoker NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NavigationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) FrameNavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NavigationCompleted(winrt::event_token const& token) const noexcept; + auto FrameNavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FrameNavigationStarting_revoker = impl::event_revoker::remove_FrameNavigationStarting>; - [[nodiscard]] FrameNavigationStarting_revoker FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FrameNavigationStarting(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) FrameContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameNavigationStarting(winrt::event_token const& token) const noexcept; + auto FrameContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FrameContentLoading_revoker = impl::event_revoker::remove_FrameContentLoading>; - [[nodiscard]] FrameContentLoading_revoker FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FrameContentLoading(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) FrameDOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameContentLoading(winrt::event_token const& token) const noexcept; + auto FrameDOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FrameDOMContentLoaded_revoker = impl::event_revoker::remove_FrameDOMContentLoaded>; - [[nodiscard]] FrameDOMContentLoaded_revoker FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FrameDOMContentLoaded(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) FrameNavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameDOMContentLoaded(winrt::event_token const& token) const noexcept; + auto FrameNavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FrameNavigationCompleted_revoker = impl::event_revoker::remove_FrameNavigationCompleted>; - [[nodiscard]] FrameNavigationCompleted_revoker FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) FrameNavigationCompleted(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ScriptNotify(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto FrameNavigationCompleted(winrt::event_token const& token) const noexcept; + auto ScriptNotify(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ScriptNotify_revoker = impl::event_revoker::remove_ScriptNotify>; - [[nodiscard]] ScriptNotify_revoker ScriptNotify(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ScriptNotify(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LongRunningScriptDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ScriptNotify(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ScriptNotify(winrt::event_token const& token) const noexcept; + auto LongRunningScriptDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LongRunningScriptDetected_revoker = impl::event_revoker::remove_LongRunningScriptDetected>; - [[nodiscard]] LongRunningScriptDetected_revoker LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LongRunningScriptDetected(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) UnsafeContentWarningDisplaying(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LongRunningScriptDetected(winrt::event_token const& token) const noexcept; + auto UnsafeContentWarningDisplaying(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UnsafeContentWarningDisplaying_revoker = impl::event_revoker::remove_UnsafeContentWarningDisplaying>; - [[nodiscard]] UnsafeContentWarningDisplaying_revoker UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UnsafeContentWarningDisplaying(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) UnviewableContentIdentified(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UnsafeContentWarningDisplaying(winrt::event_token const& token) const noexcept; + auto UnviewableContentIdentified(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UnviewableContentIdentified_revoker = impl::event_revoker::remove_UnviewableContentIdentified>; - [[nodiscard]] UnviewableContentIdentified_revoker UnviewableContentIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UnviewableContentIdentified(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) PermissionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto UnviewableContentIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UnviewableContentIdentified(winrt::event_token const& token) const noexcept; + auto PermissionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using PermissionRequested_revoker = impl::event_revoker::remove_PermissionRequested>; - [[nodiscard]] PermissionRequested_revoker PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) PermissionRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) UnsupportedUriSchemeIdentified(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto PermissionRequested(winrt::event_token const& token) const noexcept; + auto UnsupportedUriSchemeIdentified(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using UnsupportedUriSchemeIdentified_revoker = impl::event_revoker::remove_UnsupportedUriSchemeIdentified>; - [[nodiscard]] UnsupportedUriSchemeIdentified_revoker UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) UnsupportedUriSchemeIdentified(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) NewWindowRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto UnsupportedUriSchemeIdentified(winrt::event_token const& token) const noexcept; + auto NewWindowRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NewWindowRequested_revoker = impl::event_revoker::remove_NewWindowRequested>; - [[nodiscard]] NewWindowRequested_revoker NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) NewWindowRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) ContainsFullScreenElementChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto NewWindowRequested(winrt::event_token const& token) const noexcept; + auto ContainsFullScreenElementChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ContainsFullScreenElementChanged_revoker = impl::event_revoker::remove_ContainsFullScreenElementChanged>; - [[nodiscard]] ContainsFullScreenElementChanged_revoker ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ContainsFullScreenElementChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ContainsFullScreenElementChanged(winrt::event_token const& token) const noexcept; + auto WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using WebResourceRequested_revoker = impl::event_revoker::remove_WebResourceRequested>; - [[nodiscard]] WebResourceRequested_revoker WebResourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) WebResourceRequested(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto WebResourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto WebResourceRequested(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -500,7 +494,7 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControl2 { - WINRT_IMPL_AUTO(void) AddInitializeScript(param::hstring const& script) const; + auto AddInitializeScript(param::hstring const& script) const; }; template <> struct consume { @@ -509,7 +503,7 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControlContentLoadingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; + [[nodiscard]] auto Uri() const; }; template <> struct consume { @@ -518,7 +512,7 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControlDOMContentLoadedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; + [[nodiscard]] auto Uri() const; }; template <> struct consume { @@ -527,11 +521,11 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::UI::WebViewControlPermissionType) PermissionType() const; - WINRT_IMPL_AUTO(void) Allow() const; - WINRT_IMPL_AUTO(void) Deny() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto PermissionType() const; + auto Allow() const; + auto Deny() const; }; template <> struct consume { @@ -540,9 +534,9 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControlLongRunningScriptDetectedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) ExecutionTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) StopPageScriptExecution() const; - WINRT_IMPL_AUTO(void) StopPageScriptExecution(bool value) const; + [[nodiscard]] auto ExecutionTime() const; + [[nodiscard]] auto StopPageScriptExecution() const; + auto StopPageScriptExecution(bool value) const; }; template <> struct consume { @@ -551,9 +545,9 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControlNavigationCompletedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSuccess() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) WebErrorStatus() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto IsSuccess() const; + [[nodiscard]] auto WebErrorStatus() const; }; template <> struct consume { @@ -562,9 +556,9 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControlNavigationStartingEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const; - WINRT_IMPL_AUTO(void) Cancel(bool value) const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Cancel() const; + auto Cancel(bool value) const; }; template <> struct consume { @@ -573,10 +567,10 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Referrer() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Referrer() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -585,9 +579,9 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs2 { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::UI::IWebViewControl) NewWindow() const; - WINRT_IMPL_AUTO(void) NewWindow(winrt::Windows::Web::UI::IWebViewControl const& value) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; + [[nodiscard]] auto NewWindow() const; + auto NewWindow(winrt::Windows::Web::UI::IWebViewControl const& value) const; + auto GetDeferral() const; }; template <> struct consume { @@ -596,13 +590,13 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControlPermissionRequest { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::UI::WebViewControlPermissionType) PermissionType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::UI::WebViewControlPermissionState) State() const; - WINRT_IMPL_AUTO(void) Defer() const; - WINRT_IMPL_AUTO(void) Allow() const; - WINRT_IMPL_AUTO(void) Deny() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto PermissionType() const; + [[nodiscard]] auto State() const; + auto Defer() const; + auto Allow() const; + auto Deny() const; }; template <> struct consume { @@ -611,7 +605,7 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControlPermissionRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::UI::WebViewControlPermissionRequest) PermissionRequest() const; + [[nodiscard]] auto PermissionRequest() const; }; template <> struct consume { @@ -620,8 +614,8 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControlScriptNotifyEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Value() const; }; template <> struct consume { @@ -630,12 +624,12 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControlSettings { - WINRT_IMPL_AUTO(void) IsJavaScriptEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsJavaScriptEnabled() const; - WINRT_IMPL_AUTO(void) IsIndexedDBEnabled(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsIndexedDBEnabled() const; - WINRT_IMPL_AUTO(void) IsScriptNotifyAllowed(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsScriptNotifyAllowed() const; + auto IsJavaScriptEnabled(bool value) const; + [[nodiscard]] auto IsJavaScriptEnabled() const; + auto IsIndexedDBEnabled(bool value) const; + [[nodiscard]] auto IsIndexedDBEnabled() const; + auto IsScriptNotifyAllowed(bool value) const; + [[nodiscard]] auto IsScriptNotifyAllowed() const; }; template <> struct consume { @@ -644,9 +638,9 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -655,9 +649,9 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControlUnviewableContentIdentifiedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Referrer() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) MediaType() const; + [[nodiscard]] auto Uri() const; + [[nodiscard]] auto Referrer() const; + [[nodiscard]] auto MediaType() const; }; template <> struct consume { @@ -666,10 +660,10 @@ namespace winrt::impl template struct consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs { - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) Request() const; - WINRT_IMPL_AUTO(void) Response(winrt::Windows::Web::Http::HttpResponseMessage const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) Response() const; + auto GetDeferral() const; + [[nodiscard]] auto Request() const; + auto Response(winrt::Windows::Web::Http::HttpResponseMessage const& value) const; + [[nodiscard]] auto Response() const; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.1.h index 2ec7dea6..ea042c04 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_UI_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.2.h index 4777d0f4..0212ba6c 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_UI_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.0.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.0.h index e5acfcb3..4232b78d 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.0.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.0.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_UI_Interop_0_H @@ -6,14 +6,9 @@ WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; - template struct __declspec(empty_bases) IAsyncOperation; struct Rect; template struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct __declspec(empty_bases) IVectorView; -} WINRT_EXPORT namespace winrt::Windows::System { enum class VirtualKey : int32_t; @@ -185,12 +180,12 @@ namespace winrt::impl template struct consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreAcceleratorKeyEventType) EventType() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) VirtualKey() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) KeyStatus() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyRoutingStage) RoutingStage() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const; - WINRT_IMPL_AUTO(void) Handled(bool value) const; + [[nodiscard]] auto EventType() const; + [[nodiscard]] auto VirtualKey() const; + [[nodiscard]] auto KeyStatus() const; + [[nodiscard]] auto RoutingStage() const; + [[nodiscard]] auto Handled() const; + auto Handled(bool value) const; }; template <> struct consume { @@ -199,7 +194,7 @@ namespace winrt::impl template struct consume_Windows_Web_UI_Interop_IWebViewControlMoveFocusRequestedEventArgs { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusReason) Reason() const; + [[nodiscard]] auto Reason() const; }; template <> struct consume { @@ -208,16 +203,16 @@ namespace winrt::impl template struct consume_Windows_Web_UI_Interop_IWebViewControlProcess { - [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ProcessId() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EnterpriseId() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPrivateNetworkClientServerCapabilityEnabled() const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CreateWebViewControlAsync(int64_t hostWindowHandle, winrt::Windows::Foundation::Rect const& bounds) const; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetWebViewControls() const; - WINRT_IMPL_AUTO(void) Terminate() const; - WINRT_IMPL_AUTO(winrt::event_token) ProcessExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto ProcessId() const; + [[nodiscard]] auto EnterpriseId() const; + [[nodiscard]] auto IsPrivateNetworkClientServerCapabilityEnabled() const; + auto CreateWebViewControlAsync(int64_t hostWindowHandle, winrt::Windows::Foundation::Rect const& bounds) const; + auto GetWebViewControls() const; + auto Terminate() const; + auto ProcessExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ProcessExited_revoker = impl::event_revoker::remove_ProcessExited>; - [[nodiscard]] ProcessExited_revoker ProcessExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) ProcessExited(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto ProcessExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto ProcessExited(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -226,7 +221,7 @@ namespace winrt::impl template struct consume_Windows_Web_UI_Interop_IWebViewControlProcessFactory { - WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlProcess) CreateWithOptions(winrt::Windows::Web::UI::Interop::WebViewControlProcessOptions const& processOptions) const; + auto CreateWithOptions(winrt::Windows::Web::UI::Interop::WebViewControlProcessOptions const& processOptions) const; }; template <> struct consume { @@ -235,10 +230,10 @@ namespace winrt::impl template struct consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions { - WINRT_IMPL_AUTO(void) EnterpriseId(param::hstring const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) EnterpriseId() const; - WINRT_IMPL_AUTO(void) PrivateNetworkClientServerCapability(winrt::Windows::Web::UI::Interop::WebViewControlProcessCapabilityState const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlProcessCapabilityState) PrivateNetworkClientServerCapability() const; + auto EnterpriseId(param::hstring const& value) const; + [[nodiscard]] auto EnterpriseId() const; + auto PrivateNetworkClientServerCapability(winrt::Windows::Web::UI::Interop::WebViewControlProcessCapabilityState const& value) const; + [[nodiscard]] auto PrivateNetworkClientServerCapability() const; }; template <> struct consume { @@ -247,23 +242,23 @@ namespace winrt::impl template struct consume_Windows_Web_UI_Interop_IWebViewControlSite { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlProcess) Process() const; - WINRT_IMPL_AUTO(void) Scale(double value) const; - [[nodiscard]] WINRT_IMPL_AUTO(double) Scale() const; - WINRT_IMPL_AUTO(void) Bounds(winrt::Windows::Foundation::Rect const& value) const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Bounds() const; - WINRT_IMPL_AUTO(void) IsVisible(bool value) const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVisible() const; - WINRT_IMPL_AUTO(void) Close() const; - WINRT_IMPL_AUTO(void) MoveFocus(winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusReason const& reason) const; - WINRT_IMPL_AUTO(winrt::event_token) MoveFocusRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto Process() const; + auto Scale(double value) const; + [[nodiscard]] auto Scale() const; + auto Bounds(winrt::Windows::Foundation::Rect const& value) const; + [[nodiscard]] auto Bounds() const; + auto IsVisible(bool value) const; + [[nodiscard]] auto IsVisible() const; + auto Close() const; + auto MoveFocus(winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusReason const& reason) const; + auto MoveFocusRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using MoveFocusRequested_revoker = impl::event_revoker::remove_MoveFocusRequested>; - [[nodiscard]] MoveFocusRequested_revoker MoveFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) MoveFocusRequested(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) AcceleratorKeyPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto MoveFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MoveFocusRequested(winrt::event_token const& token) const noexcept; + auto AcceleratorKeyPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using AcceleratorKeyPressed_revoker = impl::event_revoker::remove_AcceleratorKeyPressed>; - [[nodiscard]] AcceleratorKeyPressed_revoker AcceleratorKeyPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) AcceleratorKeyPressed(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto AcceleratorKeyPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto AcceleratorKeyPressed(winrt::event_token const& token) const noexcept; }; template <> struct consume { @@ -272,14 +267,14 @@ namespace winrt::impl template struct consume_Windows_Web_UI_Interop_IWebViewControlSite2 { - WINRT_IMPL_AUTO(winrt::event_token) GotFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GotFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using GotFocus_revoker = impl::event_revoker::remove_GotFocus>; - [[nodiscard]] GotFocus_revoker GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) GotFocus(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) LostFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + [[nodiscard]] auto GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto GotFocus(winrt::event_token const& token) const noexcept; + auto LostFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LostFocus_revoker = impl::event_revoker::remove_LostFocus>; - [[nodiscard]] LostFocus_revoker LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - WINRT_IMPL_AUTO(void) LostFocus(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto LostFocus(winrt::event_token const& token) const noexcept; }; template <> struct consume { diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.1.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.1.h index d361b238..270abc3a 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.1.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.1.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_UI_Interop_1_H diff --git a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.2.h b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.2.h index 2f174083..e00e9543 100644 --- a/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.2.h +++ b/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.2.h @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_Web_UI_Interop_2_H diff --git a/internal/platform/implementation/windows/generated/winrt/winrt.ixx b/internal/platform/implementation/windows/generated/winrt/winrt.ixx index 7bc10ceb..9d7fee68 100644 --- a/internal/platform/implementation/windows/generated/winrt/winrt.ixx +++ b/internal/platform/implementation/windows/generated/winrt/winrt.ixx @@ -1,4 +1,4 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 module;